sharing system.img dump with good stuffs #37
Labels
No Label
Customized PKG
Dup
Enhancement
Help Needed
Invalid
Official PKG
Question
Script Bug
Taobao PKG
Wont Fix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: happyz/dpt-tools#37
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
How to Use
This system.img (or if you prefer, download smaller-sized systemimg.tgz and unarchive) can be applied by dpt-tools.py
restore-systemimgin diagnosis mode, after you applied all the HappyZ's dpt-tools hacks.Just putting it here as a milestone or snapshot of current state, so that more people can involve in and make improvements.
Feel free to test it. It would not brick your DPT-RP1 anyway :)
'
GoogleDrive Folder
You may encounter AppLauncher/Settings not working problem, please try "
step 5inLauncher appsection under0x4 Other Tips" and also make sure to grant su access in the SuperSu prompt. See posts below for details or leave your question.For CHINESE users: after boot normally, press menu button, choose "Eink settings" then "Launguage", then you can select "中文”. Go back once (using Button Savior) and choose "setup IME" you can enable Google Pinyin (it's minimal, e-ink optimized and power-saving) and disable all the other 3 IMEs.
How did we make this
It is based on Sony's official firware 1.4.0.1, with some files copied from the system.img of kdroid.club dpt1-user 1211 update:
app/{Eink.apk,PinyinIME.apk,applauncher.apk,buttonsavior.apk,filemanager.apk,Superuser.apk,Bluetooth/} etc/dp_extensions/ bin/adb vendor/recv.bin xbin build.prop lib/{libjnidemo.so,libwebviewchromium.so,libskia.so}What do you get?
Kudos for @HappyZ @p4s2wd who helped getting to here step-by-step; I only follow orders :D . They know what's working in this and where to go next:)
what's not working (and need your help to develop)
Misc.
I can share a repo of working e-inkified or minimalist apks for this, including e-inkified RE explorer, reading apps like ALReader, e-ink App Market, Greenify and IceBox for power saving, screen rotation setter, ssh server and X-plor, and some Xposed modules verifiedly working with this later. Or you can explore hi-pda.com e-ink bbs (in Chinese).
Edit: tips on Bluetooth Keyboard.
Please do use Google Pinyin Keyboard -- I found the other 3 either cashing or not able to use for Chinese Pinyin Input.
Use 1,2,..,9 to choose the character you want;
or use Left/Right Arrow to navigate, Up/Down Arrow for next/last page of candidates (instead of PageUp/PageDown);
and Space to choose the highlighted character.
--- you are welcome to share your findings and thoughts!
See also Work In Progress: #32 #36 #28 #38
I would like to test, but can you explain this"by dd in diagnosis mode"? I can't find dd in the diagnosis mode. Thanks.
@nyanadassana you should be able to run
restore-systemimgin the tool (in diagnosis mode) and follow the instruction to flash. When it asks if your system.img is a sparse image, sayno.ATTENTION: if you come from somewhere else, the official
system.imgis actually a sparse image, do sayyesif you use the official system image! Do NOT answernohere. If you did, do NOT turn off the device. Reformat your system partition and restore the system image.Try step 5 in
Launcher appsection under0x4 Other Tipstried, Permission denied
it's seems SuperSU controls the root permission now?
After I give permission to shell in SuperSU, works now!
is there anything I can help with testing?
hi is any thirdparty bluetooth app works for file transfer?
thx but why port libjnidemo.so,libwebviewchromium.so,libskia.so, do they have any influence to functionality?
That would be a question for the guru @p4s2wd
These libs were added by Taobao's seller.
@ziegfeld nice work!
after i flash the system.img , the applauncher stoped when DPT-RP1 started.
following log is from logcat :
W/BroadcastQueue( 2136): Unable to launch app com.sony.apps.applauncher/10014 for broadcast Intent { act=com.sony.infras.DPExtensions.MenuKeyHandler.MENU_KEY_PUSHED flg=0x10 }: process is bad
D/PowerManagerService( 2136): [INTENT] ACTION_SCREEN_ON_FROM_SNOOZE
@sh-miller do what happyZ mentioned above.
thanks for you help, i use adb shell login DPT-RP1, mount system,
use 'su' switch to root user, and grant all permission to /etc/dp_extensions folder,
chmod -R 777 /etc/dp_extensions, how do you solve the problem ?
you should do this:
Remove the database (cache) from the Extension Manager and allow it to rebuid the database:
cd /data/system
mv ExtMgr.db ExtMgr.db_bak
mv ExtMgr.db-journal ExtMgr.db-journal_bak
reboot
What @nyanadassana said is the right way.
I GUESS I did not meet this because that I did factory_reset FIRST BEFORE flashing this system.img.
In diagnosis mode, do a "factory_reset" to clear all your data ( just like android phone factory reset, clearing all your downloaded apps, prefs and files):
/usr/local/bin/factory_reset.sh
@nyanadassana thanks, it works!
@ziegfeld thanks, now it works, i had installed some app in applauncher before I flash the system.img that your shared. I GUESS flash system.img will reset the app setting or other data. so not do this:
mv ExtMgr.db ExtMgr.db_bak
mv ExtMgr.db-journal ExtMgr.db-journal_bak
yea, It's my fault。
here is a episode. in diagnosis mode, exec cmd "restore-systemimg", copy the system.img to the mass_storage in MacOX( not pc), then delete the system.img in MacOX after, the disk space is not release,
if “ ls /mnt/sdtmp ” , the folder is emtpy, but the deleted system.img is in folder "/mnt/sdtmp/.Trashes/501# ", rm it , then the disk space will real release.
thanks ,My device DPT-CP1 has use this firmware but I found a problem, the device can't connect the digital paper app, I Guess I use the mass_storage setting because when I connect the device to mac ,I found the mac mount a storage named Unitted in desktop. how can I close the setting. or How can i use the digital pager app ?
@iuyo5678 via wifi, or bluetooth
usb cable , and I found use the NFC my phone can connect to the device. but use usb cable the mac can't
@HappyZ thanks I fixed this problem ,in the diag mode /usr/local/bin/factory_reset.sh and restore_boot.img and restore system.img
@ziegfeld: Could you please do so?
And have you (or somebody else for that matter) been succesful at installing VNC viewer on the DPT-RP1? I want to use DPT as a monitor for my mac and so far VNC crashes after installing it.
@tartakis you can try teamviewer and iDisplay here
http://182.254.232.41/apptest/SONY/
CP1 use this img Bluetooth will crash and always show the pop,I guess this is because the img you posted is rp1‘s, so can you provide the cp1 file? thank you.
For other people who may want to try it, the package name for TeamViewer is
com.teamviewer.teamviewer.market.mobileand the Android app intent name iscom.teamviewer.teamviewer.market.mobile/com.teamviewer.remotecontrollib.activity.MainActivity.You can launch it from adb shell using
am start -n com.teamviewer.teamviewer.market.mobile/com.teamviewer.remotecontrollib.activity.MainActivityI'd love to see a crash report from logcat to see what the real problem is.
I'm sorry , I don't know how to find the crash report. Don't flash the taobao's img would not have the problem.
I have cracked three cp1s and will crash Bluetooth. I am sure that this is a common problem, not a case.
@ziegfeld hello,Are you interested in making a new sisytem.img? If so, please contact me. Sisyphose@gmail.com
I am afraid not really, friend.. Been busy recently.
You may try to do it yourself with the instructions and ask questions here, if any.
@ziegfeld What's the IME in your system.img? It's fantastic!
@infinitestudy not my credit. Kudos to hipda eink pals. Well it’s part of the taobao image and a prebuilt modified google pinyin. Super light I know.
Is this dump system image work for CP1 as well? or alternative method to obtain the useful apks and install one-by-one manually?
Thanks for this great stuff! I was able to install it, but Kindle doesn't seem to work. It's shown in the app launcher, but nothing happens after I click it.
If I copy the Kindle apk to the storage, and use File Manager to install it, and click "Open" after it's successfully installed, it can be launched and works perfectly. However, if I switch to other app, I can never use the Kindle icon in the app launch to switch back to it. I noticed the Kindle_extention.xml actually uses the UpgradePage as the intent. Is this expected? How can I figure out the correct intent name?
given the inexperienced users trying this with lots of failures with my script, I would prefer to close this issue. I have published PKGs and guides that achieve almost every thing they had.
@HappyZ sure! I am stopping the GDrive sharing then.