summaryrefslogtreecommitdiffstats
path: root/etc (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-27correctly mount tmpfs as /tmp in recoveryDoug Zongker1-2/+2
The syntax of init's mount command changed in April 2008 but recovery's init.rc was never updated, so recovery's /tmp has been on the root fs all this time. Fix. Also add /system/bin to the PATH in recovery, which is handy for debugging. Change-Id: I9e60d18803906bc75c263f12c8863cfd6a14147b
2014-01-21Enable UMS mounting of storage drivesJason Riordan1-0/+10
Change-Id: I4c369222cf16cb5bd87f007c3b172cd787d20fb1
2013-10-23Clean up init.rcDees Troy2-73/+0
2013-10-18Clean up init.rcDees Troy2-73/+0
2013-09-11fix secure adb in recoveryDoug Zongker1-0/+1
Recovery's init.rc was missing a line (added to the main system's init.rc in change Ic97fd464440ff4a29fc9da7ad15949ac5215ade3) is required for secure adb to work. Change-Id: Id79b94d2abb4cbe3cca7cabeb4bc5faf7205e56b
2013-08-30recovery: fix rebootingDoug Zongker1-0/+3
Change I84c0513acb549720cb0e8c9fcbda0050f5c396f5 moved reboot functionality into init but did not update the recovery partition; so "adb reboot" and /system/bin/reboot in recovery are both broken. Change-Id: Ie2d14627a686ffb5064256b6c399723636dff116
2013-06-19start healthd in recoveryTodd Poynor1-0/+4
Change-Id: I16e3e0ddb8ca062431deb4be83c5be5eb786d76f
2013-06-09Update init.rc to fix sideloadDees_Troy1-2/+2
2013-02-17Allow init.rc inheritance and bring init.rc closer to CM recovery sourceMatt Mower1-10/+24
2012-09-21Add init.htc.rc and modify ADB sideload messagesDees_Troy1-0/+65
2012-09-10Improve storage size code, mount, unmountDees_Troy1-1/+0
Add flag parsing from recovery.fstab
2012-09-05TWRP-ify AOSP codeDees_Troy1-15/+13
Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere
2012-08-08recovery: import init.recovery.${ro.hardware}.rcColin Cross1-0/+2
Some devices need hardware specific services started in recovery, for example watchdogd. Import init.recovery.${ro.hardware}.rc from the recovery init.rc. Bug: 6953625 Change-Id: I4a4cee210238150ffaabe774a44340ec3c8ff78c
2012-03-20run minadbd as shell user, remove unused codeDoug Zongker1-0/+3
Make minadbd drop its root privileges after initializing. We need to make the /tmp directory writable by the shell group so that it can drop the sideloaded file there.
2012-03-20run minadbd as shell userDoug Zongker1-0/+3
Make minadbd drop its root privileges after initializing. We need to make the /tmp directory writable by the shell group so that it can drop the sideloaded file there. Change-Id: I67b292cf769383f0f67fb934e5a80d408a4c131d
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.
2012-01-10always initialize usb product, vendor, etc. for adb in recoveryDoug Zongker1-7/+9
Set these values even on non-debuggable builds, so that the mini-adb now in recovery can work. Change-Id: If4c915403e6f43bfe922aa347e350a8982443106
2012-01-10recovery: convert all usages of $prop to ${prop}Dima Zavin1-3/+3
Change-Id: I9451b8350d33806097598fb9e575b28fd8b292ad Signed-off-by: Dima Zavin <dima@android.com>
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-20Fix starting adb in recovery modeMike Lockwood1-3/+27
Change-Id: I8444f44d3194ff16ce54121633d5b255231393f5 Signed-off-by: Mike Lockwood <lockwood@android.com>
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 Project2-0/+41
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project2-41/+0