How do I complete an automatic SD card upgrade with adb command? Original September 09, 2014 10:50:57
By means of the ADB command, the inconvenience of pressing powerkey+volumeup into menu select and Recovery mode is waived. You can put the command in the. bat file. As long as the package path is set correctly, you can implement one-click Upgrade on PC.
Data used in local upgrade
=================================
Properties mechanism for Android 2.3.4 (e.g. Ctl.start)
The Android system uses a number of attributes to record system settings and process communication. Properties are globally visible throughout the system. Each process can get/set properties. When the system is initialized, Android assigns a shared memory area to store the properties. This is done by the Init process (see SYSTEM/CORE/INIT/INIT.C): After executing the system boot process, the init daemon becomes a background service for property management and receives administrative requests for attributes from other processes.
================================================
Use ADB to open an Android character terminal, where you can use the following commands:
SetProp Ctl.start $SERVICE _name #启动某个服务
SetProp ctl.stop $SERVICE _name #停止某个服务
Agent mode proxy for Android design mode
http://blog.csdn.net/l2show/article/details/46992495
View logs during upgrade
Logcat-v Time-b Radio | grep proxy_
Learn about the agent model in Android development:
Agent mode in Android development
http://blog.csdn.net/chenkai19920410/article/details/54629479
[Inital]
1. Insert the SD card with the OTA package, the following OTA packet to NECA as an example;
[Step]
1. Normal boot mode: The phone is connected to USB successfully.
2. Enter ADB cmd:adb shell "echo \"--update_package=/sdcard/update.zip\ ">/cache/recovery/command"
Android's recovery mechanism
http://blog.csdn.net/fengying765/article/details/38301895
Android Recovery Upgrade principle
http://blog.csdn.net/luzhenrong45/article/details/60968458
Upgrade process of Android--recovery module
http://blog.csdn.net/kitty_landon/article/details/46552903
Android System Recovery Working principle use Update.zip upgrade process analysis (vi)---recovery service process details
http://blog.csdn.net/mu0206mu/article/details/7465439
Http://blog.chinaunix.net/uid-25847519-id-4383680.html
How do I complete an automatic SD card upgrade with adb command?