aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ADB sideload command not workreplicant-4.2-0004replicant-4.2-0003replicant-4.2-0002replicant-4.2Da Zhou2014-05-033-11/+358
| | | | | | | | | | | | | | | In kernel(3.10) USB ADB gadget driver is removed. Using Functionfs for USB adb gadget. Android recovery uses a stripped down version of adb command for sideload only. It's missing the ffs function support, so add the ffs support to allow sideload command to work b/12608946 Change-Id: I4ad024723dfc5bdb544548391f99637c390b171e Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
* v6036Koushik Dutta2013-08-131-1/+1
| | | | Change-Id: I7e70d0e2e367f703fe420d4300eb5fecdc247099
* Shrink cidKoushik Dutta2013-08-131-0/+0
| | | | Change-Id: I00556341b746f186f424ebe46c94fd02f10e6536
* Merge "Add sdparted option to partition in ext4 fstype" into cm-10.1Koushik Dutta2013-08-051-1/+11
|\
| * Add sdparted option to partition in ext4 fstypephilz-cwm62013-07-141-1/+11
| | | | | | | | | | | | | | | | Taken from PhilZ Touch recovery Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: I079617fc32f8ad0aea754a60898cd4f9cc482524
* | Merge "Update wipe data option confirmation" into cm-10.1Koushik Dutta2013-08-051-29/+2
|\ \
| * | Update wipe data option confirmationMichael Bestas2013-07-141-29/+2
| |/ | | | | | | | | | | | | | | | | This commit allows the wipe data/factory reset option to recognize the .one_confirm or .no_confirm files in the clockworkmod folder. Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: Ib0f82b4448e3b9df95a5e59a49428f3e9da58578
* | unset immutable bit on install-recovery.shKoushik Dutta2013-07-311-6/+7
| | | | | | | | Change-Id: Ie7e8bfea57bed207c3c2d57bf3cd23daf6cd4c20
* | 4.3 detection fixKoushik Dutta2013-07-291-1/+4
| | | | | | | | Change-Id: Ib5e3df51fa7a383f3699968e899e06d579480564
* | add su daemon runnerKoushik Dutta2013-07-292-3/+9
| | | | | | | | Change-Id: Ibb9be9e764d0ccb842a26a0795a0bb6cb6113b58
* | 6035Koushik Dutta2013-07-291-1/+1
| | | | | | | | Change-Id: Iab792171fdbe62fe85ac3084f49cbd38cb172fba
* | su installation and detection updates for 4.3Koushik Dutta2013-07-293-9/+45
| | | | | | | | Change-Id: Idce9a6d4ca18ddc9b49029024c26bc114f6d3c15
* | Fixes for SuperuserKoushik Dutta2013-07-291-1/+1
| | | | | | | | Change-Id: I86a280088ee8767e02ba51b72f4d011cf4658f6f
* | Add power off & reboot to bootloader mode in advanced menuMichael Bestas2013-07-243-16/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: Cleanup leftovers from previous poweroff option Always ensure a clean reboot (Thanks to PhilZ for his implementation) Bootloader option defaults to "bootloader" (fastboot mode), it can be overriden by defining "ro.bootloader.mode=download" prop for samsung download mode We leave reboot to bootloader option always enabled, that way we can override the get_filtered_menu_selection bug that breaks the order of the options when NULLifying menu options. Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: I6d674b37ab41ab342b105993719277360b4707e4
* | Remove "fix permissions" optionMichael Bestas2013-07-243-505/+5
| | | | | | | | | | | | | | | | | | | | | | Original discussion here: http://review.cyanogenmod.org/45559 Patchset 2: really remove the option Patchset 3: fix options that I broke on ps2 Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: I54877a24444c24a296c8c044efd977f30cc66de4
* | more headless fixesKoushik Dutta2013-07-232-4/+18
| | | | | | | | Change-Id: I25243f67b8bcbef41867497b442d1b7f38f638dd
* | Merge "add --headless mode" into cm-10.1Koushik Dutta2013-07-194-1/+11
|\ \
| * | add --headless modeKoushik Dutta2013-07-194-1/+11
| |/ | | | | | | Change-Id: I6338ed1d093a8db20250bd060cf97896db268976
* | SELinux: don't suppress the "no file_contexts" message on the UIChirayu Desai2013-07-181-1/+1
|/ | | | Change-Id: I1456e7e2d2a1f3e143c084e1410dd31c505793ad
* Update for zlib changesArne Coucheron2013-07-031-1/+1
| | | | | | Depends on http://review.cyanogenmod.org/#/c/37912/ Change-Id: I7d541813f520c3a3187f6c193e47b201cd220957
* Bump to 6.0.3.3Nathan Grebowiec2013-07-011-1/+1
| | | | Change-Id: I089fad25002a28cc5b368288c5bb34c37f9752bc
* Fix usage of stat vs statfsKoushik Dutta2013-06-191-7/+8
| | | | | | | Change-Id: Id59b79f079c587630f5f6ed0418a45f2b8cd99ff Conflicts: nandroid.c
* fix stat usageKoushik Dutta2013-06-181-1/+1
| | | | Change-Id: Iab3290adca1602a23fc407d2b3f50b9aeac60389
* Merge "recovery: use just the mount point instead of the full path" into cm-10.1Koushik Dutta2013-06-081-1/+1
|\
| * recovery: use just the mount point instead of the full pathEmilio López2013-06-081-1/+1
| | | | | | | | | | | | | | | | When resorting to using mount because a block device uses 'auto' filesystem, we should use the mount point and not the full path. This fixes an issue with nandroid to external sd on yuga. Change-Id: Idbff944ea6d5af9112644c2ed46e23ea0a33e5ee
* | Fix the potential segmentation faultJin Feng2013-06-081-1/+7
|/ | | | | | | | | | Extral newline can trigger recovery segmentation fault Test case: host$ adb shell 'echo -en "--update_package=ota_update.zip\n--show_text\n\n" > /cache/recovery/command' host$ adb reboot recovery Change-Id: If1781c1f5ad94a273f1cb122b67cedd9fb562433 Signed-off-by: Jin Feng <jin88.feng@gmail.com>
* move "install zip from sideload" to installation submenujt11342013-06-074-20/+21
| | | | | | | | | | | | | | | | | * Also includes the below commit: fix installation from internal sdcard bug introduced in previous commit Change-Id: If41d409801e9a58df9515ac783bf503f80909d3e * I've done some minor changes to the original commit, which includes but is not limited to moving the "install zip from sideload" above "/sdcard/update.zip". Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org> Change-Id: I27a763a0d41085719a6c7d9c3b8a20fbcae4b072
* Merge "Fix compiler warning: redefinition in extendedcommands.c" into cm-10.1Nathan Grebowiec2013-06-061-2/+2
|\
| * Fix compiler warning: redefinition in extendedcommands.cMatt Mower2013-05-241-2/+2
| | | | | | | | | | | | | | | | | | ITEM_APPLY_SDCARD is already defined in recovery_ui.h, fortunately also as 1. This suggestion comes from Phil3759. Change-Id: I9ac370ca9640d61b6b96f60954d35f7aa458d75b
* | Merge "Remove (un)mount option for datamedia partitions" into cm-10.1Nathan Grebowiec2013-06-051-4/+6
|\ \
| * | Remove (un)mount option for datamedia partitionsMatt Mower2013-05-241-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | When /sdcard is /data/media, it can be formatted but it cannot be mounted/unmounted independently of /data (aside from creating or destrying the symlink). This removes /sdcard from the mountable volumes list, but leaves it as a formattable partition. Change-Id: If59e4516a12da4589ffb0dbd19702f219260370e
* | | Merge "recovery: Fix adb backup" into cm-10.1Koushik Dutta2013-06-031-1/+3
|\ \ \
| * | | recovery: Fix adb backupThiago Vinícius Freire de Araújo Ribeiro2013-05-211-1/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using http://goo.gl/6AQ3u might fail. The resulting backup consists of a tarball of the filesystem being backed up, but it might end up truncated, for reasons yet unknown. Issuing adb backup data, for instance, causes recovery to call tar, streaming it's stdout <a> through a socket <b>. The adb client reads from <b> and copies what it to the final backup file. Somehow, sometimes, not all the content generated at <a> is read at the adb client, which causes a truncated tar file to result. I'm unsure why this happens: Doesn't <a> get flushed before <b> is closed? Or is it that <b> is closed with outstanding data in its buffers, which never make it to the other side? Either calling sync() or sleep() seems to remedy the issue, but I'm not sure if sync() has any effect on sockets or pipes. I also understand that sleeping for some time is not the best solution to a race condition. Therefore, I'm adding calls to sync() and sleep() and waiting for reviews from someone who knows better how these calls work. Patch set 2: Remove sync() call Change-Id: If4733066fdad809eb73e87c670f37acc4debe82d
* | | support version 2 (2048-bit e=65537) keys in recoveryDoug Zongker2013-05-253-10/+72
| |/ |/| | | | | | | Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org> Change-Id: I9849c69777d513bb12926c8c622d1c12d2da568a
* | Fix recovery filesystem table output to logMatt Mower2013-05-241-4/+4
|/ | | | | | Use fprintf when printing to a specified stream. Change-Id: I863e3b570e3cf560deec9e8bb39cb339f40ae94c
* add getpropKoushik Dutta2013-05-134-20/+73
| | | | Change-Id: Id7a87626d2351d49750e9982d6f81d2646d9d36d
* revert mmcutils. cleanups and fixes.henry j. mason2013-05-096-36/+217
| | | | Change-Id: I2b0c3918528e5f7e6f4d2f8df1592c55f98317d3
* Rename prebuilt recovery su to su.recovery, so it does not interfere with ↵Koushik Dutta2013-05-072-2/+2
| | | | | | devices that have a shared recovery/boot. Change-Id: Id542215a31c4617e230474b65ecf54bbc8117d4e
* Delete sideloaded file once installedsconosciuto2013-05-061-0/+2
| | | | | | | If not deleted, it will be unexpectedly re-installed in case the user starts and then cancels adb sideload. Change-Id: Idfea3b5d5c95ab29fd946cd404d1255105105ce3
* Merge "recovery: fix sideload cancel" into cm-10.1Koushik Dutta2013-05-051-1/+1
|\
| * recovery: fix sideload cancelMarcel Bokhorst2013-05-021-1/+1
| | | | | | | | Change-Id: I76fcea55cc38edc713211742890b00acf8de4117
* | 6032Koushik Dutta2013-05-021-1/+1
| | | | | | | | Change-Id: Ieb03cb1b06e3a9a2eaab61ac3d6c2e02922cea4c
* | Reverse kang Wil Wheaton Recovery enhancements.Koushik Dutta2013-05-026-3/+56
|/ | | | Change-Id: Ia9eace0ff0826801515b335ac6543c1271948612
* Bump version to 6.0.3.1Nathan Grebowiec2013-04-131-1/+1
| | | | Change-Id: I01f94f18e240bf9580f118c6cb30ad702fb37e80
* allow sideload to be triggered via /cache/recovery command for eatKoushik Dutta2013-04-111-0/+10
| | | | Change-Id: I36996ceea831160830815c1b267328f307bbd906
* Allow cancelation of adb sideload.Koushik Dutta2013-04-104-17/+54
| | | | Change-Id: I1cc5a6719c3fe547afe944a94e134519c2c45fc6
* Merge "minui: add extended courier font" into cm-10.1Koushik Dutta2013-04-031-0/+536
|\
| * minui: add extended courier fontCEnnis912013-02-271-0/+536
| | | | | | | | Change-Id: Ic796b7b6892f6de26436015044a0b1a9cdc78fab
* | nandroid: backup: save recovery logChirayu Desai2013-03-241-1/+4
| | | | | | | | Change-Id: Id9e73317a6b46ddc0ec0c3005bfc9ef55cf7bf0d
* | minadbd: remove unnecessary header files.Nick Kralevich2013-03-231-2/+0
| | | | | | | | Change-Id: Iff2b53d9e63b279d0262cd2e9cfb11e0ca4d6b42