summaryrefslogtreecommitdiffstats
path: root/etc/init.rc (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-18support "sideload over ADB" modeDoug Zongker1-7/+9
Rather than depending on the existence of some place to store a file that is accessible to users on an an unbootable device (eg, a physical sdcard, external USB drive, etc.), add support for sideloading packages sent to the device with adb. This change adds a "minimal adbd" which supports nothing but receiving a package over adb (with the "adb sideload" command) and storing it to a fixed filename in the /tmp ramdisk, from where it can be verified and sideloaded in the usual way. This should be leave available even on locked user-build devices. The user can select "apply package from ADB" from the recovery menu, which starts minimal-adb mode (shutting down any real adbd that may be running). Once minimal-adb has received a package it exits (restarting real adbd if appropriate) and then verification and installation of the received package proceeds. always initialize usb product, vendor, etc. for adb in recovery Set these values even on non-debuggable builds, so that the mini-adb now in recovery can work.
2011-07-07Add missing commands to recovery init.rcMichael Ward1-0/+3
Wrote some missing items in recovery, most notably the serial number so that it shows up correctly on adb. Change-Id: If430c0b78191c8d77f781aa605b5081571451775
2011-06-29init.rc: Simplify logic for starting adbd in recoveryMike Lockwood1-25/+6
Always start adbd if ro.debuggable=1 rather than basing it on user preference in persistent system properties. Use new D001 product ID, which I just allocated for "android recovery mode" Change-Id: I6f1eac5257eaad2e538c0a8dd549ad89219efa3e Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-24fix adb root in recoveryDoug Zongker1-0/+4
recovery's init.rc was missing lines that made adb root work. Change-Id: I300e6997e3b5cb9c7b542b2012eed61deb2550f1
2011-06-19Fix starting adb in recovery modeMike Lockwood1-3/+27
Change-Id: I8444f44d3194ff16ce54121633d5b255231393f5 Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-06-28Set adbd to be disabled by default in recoveryKenny Root1-0/+1
Change-Id: I74fa6edc4b001247b20be52e8301d18407fede2c
2010-05-14recovery: Add ueventd serviceColin Cross1-0/+4
Change-Id: Iad448bc1608f88c5db2108475f35b88ea2877b07
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project1-0/+33
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project1-33/+0