sony-dpt获得root权限
https://github.com/HappyZ/dpt-tools/wiki/The-Ultimate-Rooting-Guide
测试连接是否成功 python3 dpt-tools.py
===========
DPT Tools
===========
Thanks for using DPT Tools. Type `help` to show this message.
Supported commands:
fw -- update firmware
diagnosis -- enter diagnosis mode (to gain adb, su, etc.)
exit/quit -- leave the tool
[info] Please make sure you have charged your battery before this action.
>>> Please enter the pkg file path: /Users/huweilun/FILES/test/sonydpt获取root权限/dpt-tools/fw_updater_packer_by_shankerzhiwu/pkg_example/hack_basics/fw.pkg
>>> Pleae confirm /Users/huweilun/FILES/test/sonydpt获取root权限/dpt-tools/fw_updater_packer_by_shankerzhiwu/pkg_example/hack_basics/fw.pkg is the pkg file to use [yes/no]: yes
>>>
获取adb权限
===========
DPT Tools
===========
Thanks for using DPT Tools. Type `help` to show this message.
Supported commands:
fw -- update firmware
diagnosis -- enter diagnosis mode (to gain adb, su, etc.)
exit/quit -- leave the tool
>>> fw
[info] Please make sure you have charged your battery before this action.
>>> Please enter the pkg file path: /Users/huweilun/FILES/test/sonydpt获取root权限/dpt-tools/fw_updater_packer_unpacker/pkg_example/flashable_mod_boot_img_1.6.02.06240/FwUpdater.pkg
>>> Pleae confirm /Users/huweilun/FILES/test/sonydpt获取root权限/dpt-tools/fw_updater_packer_unpacker/pkg_example/flashable_mod_boot_img_1.6.02.06240/FwUpdater.pkg is the pkg file to use [yes/no]: yes
[info] fw updating in progress.. do NOT press anything..
[info] Success!
>>>
>>>
获取root权限后可以安装一个启动器 https://github.com/HappyZ/dpt-tools/wiki/Suggested-Launcher-Mod
adb install -r E-Ink-Launcher_0.1.4.apk
下载 launcher_mod.tar.gz 在电脑终端里,输入
adb push launcher_mod.tar.gz /sdcard/launcher_mod.tar.gz
adb shell//进入设备
mount -o rw,remount /system
rm -rf /etc/dp_extensions
busybox tar -xvzf /sdcard/launcher_mod.tar.gz -C /
chown -R root:root /etc/dp_extensions
chown system:system /data/system/ExtMgr.db
chmod 0660 /data/system/ExtMgr.db
chown system:system /data/system/ExtMgr.db-journal
chmod 0600 /data/system/ExtMgr.db-journal
koreader安装
android-arm-linux-androideabi