How do I complete an automatic SD card upgrade with adb command?

Source: Internet
Author: User

How do I complete an automatic SD card upgrade with adb command? Original September 09, 2014 10:50:57
    • 2746
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?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.