1.å¦ä½å°åºç¨å®è£
å°/system/appä¸
å¦ä½å°åºç¨å®è£ å°/system/appä¸
å¨ Android ä¸ï¼å¦æè¦ä½¿ç¨ç³»ç»éå¶çæéï¼æ¯å¦ android.permission.WRITE_SECURE_SETTINGSï¼ï¼æ们éè¦æç¨åºå®è£ å° /system/app/ ä¸ã
ä¸é¢ä»¥ SecureSetting.apk 为ä¾ï¼æ¼ç¤ºè¿ä¸ªæä½ãéè¦åå¤ä¸å°å·²ç»è·å¾ Root æéçææºã
1ãéè¿ USB è¿æ¥ææºåçµèã
2ãä½¿ç¨ adb æ§å¶ææºã
æºç æå°ï¼
1. $ adb push SecureSetting.apk /sdcard/ // ä¸ä¼ è¦å®è£ çæ件ï¼ä¸ºå®è£ ååå¤ã
2. $ adb shell
3. $ su // åæ¢å° root ç¨æ·ãå¦æ没æè·å¾ Root æéï¼è¿ä¸æ¥ä¸ä¼æåã
4. # mount -o remount,大话2怀旧版源码rw -t yaffs2 /dev/block/mtdblock3 /system // 让ååºå¯åã
5. # cat /sdcard/SecureSetting.apk > /system/app/SecureSetting.apk // è¿ä¸æ¥å¯ä»¥ç¨ cp å®ç°ï¼ä½ä¸è¬è®¾å¤ä¸æ²¡æå å«è¯¥å½ä»¤ãå¦æä½¿ç¨ mv ä¼åºç°é误ï¼failed on '/sdcard/NetWork.apk' - Cross-device linkã
6. # mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system // è¿åååºå±æ§ï¼åªè¯»ã
7. # exit
8. $ exit
$ adb push SecureSetting.apk /sdcard/ // ä¸ä¼ è¦å®è£ çæ件ï¼ä¸ºå®è£ ååå¤ã
$ adb shell
$ su // åæ¢å° root ç¨æ·ãå¦æ没æè·å¾ Root æéï¼è¿ä¸æ¥ä¸ä¼æåã
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system // 让ååºå¯åã
# cat /sdcard/SecureSetting.apk > /system/app/SecureSetting.apk // è¿ä¸æ¥å¯ä»¥ç¨ cp å®ç°ï¼ä½ä¸è¬è®¾å¤ä¸æ²¡æå å«è¯¥å½ä»¤ãå¦æä½¿ç¨ mv ä¼åºç°é误ï¼failed on '/sdcard/NetWork.apk' - Cross-device linkã
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system // è¿åååºå±æ§ï¼åªè¯»ã
# exit
$ exit
éå¯ï¼å¯ä»¥çå° SecureSetting å·²ç»å®è£ 好ã
2024-12-22 11:50
2024-12-22 11:42
2024-12-22 10:49
2024-12-22 10:45
2024-12-22 10:31
2024-12-22 10:13