[Recovery] RA Revamped for Iconia HC&ICS

Search This thread

pimpmaneaton

Inactive Recognized Contributor
Np. It only took me about 30 test builds to get the touch stuff working the way I wanted :p

Im glad you are enjoying it.

Yeah I'm about 28 builds so far getting TWRP 2.0 up and going, but has been really slow lately, dev on TWRP side is really caught up getting touch driver working properly for HP touchpad and CM7.
 

internetpilot

Senior Member
Jan 26, 2011
898
276
Ponte Vedra, FL
It works I developed and tested this on my own a500 I just got a few days ago. The beta restore CWM backup option only works for a true sdcard not the usb_drive. The amon ra backup & restore options will work with both usb_drive and sdcard fyi.

Awesome! Thanks a TON for this. Really, it's nice to finally have a recovery that can be discussed or even...gulp!...on XDA! Very slick and very nice!

I like RA better than CWM anyway -- it's what I've used on my HTC EVO 4G from the very beginning.

And sorry, I didn't mean to imply that a restore wouldn't work, it's just that was a problem with several previous CWM offerings for the A500, and no one had posted that they had tried a restore with your recovery yet. But I'll take your word for it, and no offense was meant!

Thanks again for all your hard work!
 

themono

Senior Member
Sep 15, 2010
281
51
Fantastic job, thanks for your hard work. Recovery working wonderfully here, installed via kjy's flashable zip (also thanks to you!).

As an aside - is it recommended to upgrade the EXT3 FS to EXT4 on the iconia?
 

drellisdee

Inactive Recognized Developer
Jan 22, 2008
625
823
East Coast
Fantastic job, thanks for your hard work. Recovery working wonderfully here, installed via kjy's flashable zip (also thanks to you!).

As an aside - is it recommended to upgrade the EXT3 FS to EXT4 on the iconia?

Its ext4 by default. There is another namless recovery that seems to mess up cache when wiped by formatting cache as ext3 with data writeback when it should be be ext4 and data ordered by default. If you want to repair it force the the full format to ext3 option on cache in this recovery then pick the upgrade to ext4 on cache. Use ext4 if possible. To check if your cache is set ext3 incorrectly from wiping in cwm do "adb shell mount" in recovery and see.
 
Last edited:
K

kjy2010

Guest
Its ext4 by default. There is another namless recovery that seems to mess up cache when wiped by formatting cache as ext3 with data writeback when it should be be ext4 and data ordered by default. If you want to repair it force the the full format to ext3 option on cache in this recovery then pick the upgrade to ext4 on cache. Use ext4 if possible. To check if your cache is set ext3 incorrectly from wiping in cwm do "adb shell mount" in recovery and see.

edit: nvm...fixed it ;) ty
 
Last edited:

dincdoes.me

Senior Member
May 8, 2011
1,548
248
Detroit
So do can we expect rom manager anytime soon?

I only ask so we can get themes kernels and roms in one location from other forum sites?

Sent from my A500 using Tapatalk
 

joe9002

Senior Member
Jan 16, 2011
130
22
Its ext4 by default. There is another namless recovery that seems to mess up cache when wiped by formatting cache as ext3 with data writeback when it should be be ext4 and data ordered by default. If you want to repair it force the the full format to ext3 option on cache in this recovery then pick the upgrade to ext4 on cache. Use ext4 if possible. To check if your cache is set ext3 incorrectly from wiping in cwm do "adb shell mount" in recovery and see.

Um very important information to no i think is this the same in the latest? Doesn't matter now any way we have a way of installing ROMs that is not breaking laws.
Thank you for the hard work.
 

Moscow Desire

Retired Senior Moderator
Thanks for the good work. It seems to have fixed my issue which has bothered me for a few days (inability to flash 70% of roms), I can only guess old data was not getting cleaned properly.

However;

1) touch buttons go crazy on occassion. Random inputs not assigned. I saw this on Thor's recovery also.

2) where is the option to wipe/format Flexrom? I don;t see it in the Wipes menu,

3) In the Wipes Menu;
(Data/factory Reset)
(Data)
(cache)
Dalvak)

I chose only data,cache, Dalvak
Then Format all to EXT3
Then Update to EXT4

Flashed rom, rebooted. All ok

Above procedures correct? Or did I miss something?

4) In the "messages" after formatting, it stated I can flash a rom, or restore a nand Backup. Then it mentioned to do a "manual /data wipe" after restoring??

What exactly do you mean?

5) Now that things are formatted, when we flash new roms, should we repeat the above steps again? Or will the 3 wipes work ok. Would be nice to know.

Thanks for the great work!
 
Last edited:

spoupard

Member
Apr 6, 2011
39
10
Help Needed! I tried to reformat my /data partition to EXT4. Now, no matter what I do, /data will not mount. if I try to mount /data or wipe /data or format /data, I get an error message that says "E:Can't mount /dev/block/mmcblk0p8 (File exits)."

I have tried rebooting with no luck. If I let it boot, it asks for a password. I tried a hard reset with no luck. I tried reflashing my ROM (using Epiphany) with no luck.

Anyone have any suggestions?
 

Moscow Desire

Retired Senior Moderator
Help Needed! I tried to reformat my /data partition to EXT4. Now, no matter what I do, /data will not mount. if I try to mount /data or wipe /data or format /data, I get an error message that says "E:Can't mount /dev/block/mmcblk0p8 (File exits)."

I have tried rebooting with no luck. If I let it boot, it asks for a password. I tried a hard reset with no luck. I tried reflashing my ROM (using Epiphany) with no luck.

Anyone have any suggestions?

Not sure I can help. but I noticed, if you follow the steps for the FIRST TIME install, (wipes as I listed below, Format all to EXT3, then Upgrade to EXT 4

Then after flashing a rom, you boot to recovery, and try to do a format EXT 3 or 4 on any item, it gives you that same message repeatedly, no matter what other option you chose. (it went crazy )

I rebooted back to recovery, then just did Wipes

Factory Data/reset
Data
Cache
Dalvak
Sd card/android secure
System

Then flashed my rom and all was ok

It seems, that once you do the initial procedure, you do not need to go back and format. So far the wipes above seem to work.

The reason you get a password, is that you do not have an operating system more than likely.
 
Last edited:

drellisdee

Inactive Recognized Developer
Jan 22, 2008
625
823
East Coast
Thanks for the good work. It seems to have fixed my issue which has bothered me for a few days (inability to flash 70% of roms), I can only guess old data was not getting cleaned properly.

However;

1) touch buttons go crazy on occassion. Random inputs not assigned. I saw this on Thor's recovery also.

2) where is the option to wipe/format Flexrom? I don;t see it in the Wipes menu,

3) In the Wipes Menu;
(Data/factory Reset)
(Data)
(cache)
Dalvak)

I chose only data,cache, Dalvak
Then Format all to EXT3
Then Update to EXT4

Flashed rom, rebooted. All ok

Above procedures correct? Or did I miss something?

4) In the "messages" after formatting, it stated I can flash a rom, or restore a nand Backup. Then it mentioned to do a "manual /data wipe" after restoring??

What exactly do you mean?

5) Now that things are formatted, when we flash new roms, should we repeat the above steps again? Or will the 3 wipes work ok. Would be nice to know.

Thanks for the great work!

1) Its the best I can do for now. You can always use the physical keys if you don't like the touch ones.

2) I left out wipe flexrom by accident I'll add it soon

3) To flash a rom you only need to wipe data and cache. Dalvik is contained inside of /data and is wiped when data is wiped. Normally you would NOT use the ext3|4 format menu as thats only there for advanced partitioning and is NOT needed to wipe at all.

4) you formatted /data, /cache & /system and your device will not boot up untill you restore a /system from a nandroid or flash a rom.

5) only needed item is wipe all for most setups as it will wipe data and cache and dalvik as it (dalvik) is contained inside of data. By default this is a quick rm -rf wipe that removes the contents of the file system but does not destroy the file system and recreate it. To enable a full destruction and reformat of a partition select the full ext wipe toggle option to on (beware as this will casue the loss of the contents of /data/media which is your internal sdcard.)

Help Needed! I tried to reformat my /data partition to EXT4. Now, no matter what I do, /data will not mount. if I try to mount /data or wipe /data or format /data, I get an error message that says "E:Can't mount /dev/block/mmcblk0p8 (File exits)."

I have tried rebooting with no luck. If I let it boot, it asks for a password. I tried a hard reset with no luck. I tried reflashing my ROM (using Epiphany) with no luck.

Anyone have any suggestions?

Those are advanced options that most users shouldn't have a need for and shouldn't normally use. Your data should have already been ext4 and you tried to reupgrade it to ext4 and looks like you corrupted your /data partition. For reference the 1st page has a description of the menu items. Dont just go selecting every option if you dont know what it does.

To fix your blunder you will need to boot into my recovery and open adb shell.
This will cause loss of all data contained on /data which will lose your /data/media.

From adb shell
Code:
mount (this is to check data isn't mounted) if mounted use "umount data"

mke2fs -j -b 4096 /dev/block/mmcblk0p8
tune2fs -O extents,uninit_bg,dir_index -C 1 /dev/block/mmcblk0p8
e2fsck -fy /dev/block/mmcblk0p8

After this is done your file system on /data will be fixed.
 
Last edited:
  • Like
Reactions: hatefuel19

spoupard

Member
Apr 6, 2011
39
10
Not sure I can help. but I noticed, if you follow the steps for the FIRST TIME install, (wipes as I listed below, Format all to EXT3, then Upgrade to EXT 4

Then after flashing a rom, you boot to recovery, and try to do a format EXT 3 or 4 on any item, it gives you that same message repeatedly, no matter what other option you chose. (it went crazy )

I rebooted back to recovery, then just did Wipes

Factory Data/reset
Data
Cache
Dalvak
Sd card/android secure
System

Then flashed my rom and all was ok

It seems, that once you do the initial procedure, you do not need to go back and format. So far the wipes above seem to work.

The reason you get a password, is that you do not have an operating system more than likely.

Thanks for your help, but my problem now is that the /data partion is gone and I cannot seem to get it back. I have tried to repartition the sdcard and that doesn't help. No matter what I try to do, I always get a message saying "E:Cant mount /dev/block/mmcblk0p8 (File exists) Error mounting /data!"

---------- Post added at 12:28 PM ---------- Previous post was at 12:24 PM ----------

Not sure I can help. but I noticed, if you follow the steps for the FIRST TIME install, (wipes as I listed below, Format all to EXT3, then Upgrade to EXT 4

Then after flashing a rom, you boot to recovery, and try to do a format EXT 3 or 4 on any item, it gives you that same message repeatedly, no matter what other option you chose. (it went crazy )

I rebooted back to recovery, then just did Wipes

Factory Data/reset
Data
Cache
Dalvak
Sd card/android secure
System

Then flashed my rom and all was ok

It seems, that once you do the initial procedure, you do not need to go back and format. So far the wipes above seem to work.

The reason you get a password, is that you do not have an operating system more than likely.

2) I left out wipe flexrom by accident I'll add it soon

3) To flash a rom you only need to wipe data and cache. Dalvik is contained inside of /data and is wiped when data is wiped. Normally you would NOT use the ext3|4 format menu as thats only there for advanced partitioning and is NOT needed to wipe at all.

4) you formatted /data, /cache & /system and your device will not boot up untill you restore a /system from a nandroid or flash a rom.

5) only needed item is wipe all for most setups as it will wipe data and cache and dalvik as it (dalvik) is contained inside of data. By default this is a quick rm -rf wipe that removes the contents of the file system but does not destroy the file system and recreate it. To enable a full destruction and reformat of a partition select the full ext wipe toggle option to on (beware as this will casue the loss of the contents of /data/media which is your internal sdcard.)



Those are advanced options that most users shouldn't have a need for and shouldn't use. Your data should have already been ext4 and you tried to reupgrade it to ext4. There is an option in recovery to check the fs and it will tell you what it is. For reference the 1st page has a description of the menu items. Dont just go selecting every option if you dont know what it does.

To fix your blunder you will need to boot into my recovery and open adb shell.
This will cause loss of all data contained on /data which will lose your /data/media.

From adb shell
Code:
mount (this is to check data isn't mounted) if mounted use "umount data"

mke2fs -j -b 4096 /dev/block/mmcblk0p8
tune2fs -O extents,uninit_bg,dir_index -C 1 /dev/block/mmcblk0p8
e2fsck -fy /dev/block/mmcblk0p8

After this is done your file system on /data will be fixed.

Thanks. I'll give this a try. I'll have to download and install ADB first. Just to clarify, though, the reason I was trying to upgrade /data to EXT3 was because FS info showed that it was an EXT3 fs.
 

drellisdee

Inactive Recognized Developer
Jan 22, 2008
625
823
East Coast
Thanks. I'll give this a try. I'll have to download and install ADB first. Just to clarify, though, the reason I was trying to upgrade /data to EXT3 was because FS info showed that it was an EXT3 fs.

There is a option under ext3|ext4 menu to check the fs (1st option). If you have to change the format use the restore to ext3 option on the partition 1st then use the upgrade to ext4 option on that partition. Be warned those as it will erase all data contained on that partition in the process.

The error you got on upgrading was most like by having a data-writeback set on the partition. I'm positive cwm set my cache as ext3 and data-writeback after wiping it. Data-writeback flag causes a delayed write of the journal and will/can cause loss of data if a power loss occurs (reboot/freeze, call reboot from terminal etc). This is not ideal at all for a phone/tablet and the small performance gains you can get from it are at the expense of the integrity of your data.
 
Last edited:

Moscow Desire

Retired Senior Moderator
Thanks for your reply. Sorry it was a long post.

Not sure if it's an issue or not, but, I've been flashing about 9 times so far tonight. (stripping apps from the 3.2.1)

Mostly it goes ok, but sometimes. I hit animationloop. (twice)

Both times I checked formatting in EXT3-EXT4, and it shows cache at EXT3, which is ok, but my System is EXT3 also. I upgrade it back to EXT4, and flashes normally. Not sure if it's my rom, although I haven't modified anything that would effect it.

Otherwise, I'm learning the tricks.

Good work.
 

drellisdee

Inactive Recognized Developer
Jan 22, 2008
625
823
East Coast
Thanks for your reply. Sorry it was a long post.

Not sure if it's an issue or not, but, I've been flashing about 9 times so far tonight. (stripping apps from the 3.2.1)

Mostly it goes ok, but sometimes. I hit animationloop. (twice)

Both times I checked formatting in EXT3-EXT4, and it shows cache at EXT3, which is ok, but my System is EXT3 also. I upgrade it back to EXT4, and flashes normally. Not sure if it's my rom, although I haven't modified anything that would effect it.

Otherwise, I'm learning the tricks.

Good work.

On the anim loops while looping what does adb logcat tell you? Also when booted do adb pull /proc/config.gz and unzip the config.gz file it pulls and see if your rom kernel has rhe kernel config option of USE_EXT4_AS_EXT3 or something similar as I cant remember the wording. Also are you using any init.d scripts to alter the filesystems?
 

Moscow Desire

Retired Senior Moderator
On the anim loops while looping what does adb logcat tell you? Also when booted do adb pull /proc/config.gz and unzip the config.gz file it pulls and see if your rom kernel has rhe kernel config option of USE_EXT4_AS_EXT3 or something similar as I cant remember the wording. Also are you using any init.d scripts to alter the filesystems?

Wasn't running adb at the time and really didn't think about it, But considering it's a factory rooted acer rom complete with factory flexrom, I'm tending to agree with you about the format. Seems 3.2.1 changes system to EXT3 then installs normally. But when you install the next version of the same rom, it loops. Setting it back to EXT4 results in a normal install.

Running no scripts. Stock 3.2.1 kernel.

If I get it to replicate again, I'll pull a logcat. This is what happened with Thors version, but I didn't have the option to fix it through recovery if I remember.

Never had this issue with 3.2 roms. Only after going to 3.2.1
 

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    Note 3.16 and below are for HoneyComb bootloader 3.17 & up are for ICS patched bootloader.

    This is built from my forked Amon Ra recovery source.

    WARNING UNLESS YOU ARE VERY FAMILIAR AND COMFORTABLE USING COMMANDLINE/TERMINAL DO NOT MESS WITH THE EXT3|EXT4 MENU. MESSING WITH THE PARTITION FORMATS CAN LEAVE YOUR ICONIA IN A STATE THAT IS UNABLE TO BOOT NORMALLY AND REQUIRES FIXING VIA COMMANDLINE. Fix for ignoring this warning is done by running "iconia_repair.sh help" from command line in recovery.

    Full source for both Apache licensed recovery and GPL licensed kernel & busybox are here

    Recovery Features:

    Special features for acer iconia :
    Touch enabled UI
    Can use usb flash drive or normal sdcard as sdcard to flash roms and to use in nandroid backup/restore.
    Automatically runs itsmagic on boot
    External sdcard mass storage works on iconia
    Automatically backs up usb serial (uuid) and the start of mmcblk0 in nandroid backup.
    Will not remove /data/media unless full ext wipe option is selected (off by default)

    ADB as root user

    USB-MS Toggle :mounts sdcard as mass storage

    Backup/Restore:
    Nand Backup : Select Items to backup with the [X]
    Nand Restore : browse to and select nandroid backup items with [X] to restore
    Nand Restore Clockwork : browse to and restore cwm backup

    Flash Zip From Sdcard: Update.zip must be in root of sdcard or you can directory browse.
    Toggle Signature Verify : Toggle on/off signature checking on flashing zips

    Wipe Menu:
    Wipe data/factory reset: wipes all (data, cache, android_secure & dalvik if outside of /data)
    Wipe cache
    Wipe Dalvik cache : Wipes Dalvik cache in all possible locations if moved by apps2sd
    Wipe SD:ext : Wipes Apps2sd ext partition
    Wipe Battery Stats
    Wipe rotate settings
    Wipe data only
    Wipe system
    Wipe sdcard
    Wipe .android secure : Wipes froyo+ native .android_secure on sdcard
    Toggle full ext wipe: Toggles full or quick wipe of ext partitions

    Partition Sdcard:
    Partition SD: Partition's sdcard for apps2sd (this formats card so all non backed-up data is lost)
    Repair Sd:ext
    SD:ext2 to ext3 : coverts apps2sd ext2 partition to ext3
    SD:ext3 to ext4 : same as above but ext3 to ext4 (

    Mounts:
    Gui mounts to avoid typing in terminal to mount system, data, cache, sd-ext (if exists), sdcard

    Other:
    Fix Permissions
    Move recovery log to SD
    Key Test : Output keycodes for debugging recovery
    Check Battery Lvl

    Ext3|4 menu: Formatting and re-formatting of partitions

    Developer menu:
    Make and flash boot from zImage : This makes a mkboot folder on sdcard and mounts sdcard as mass storage then you copy a zImage and kernel modules into this folder and it will create a new boot like anykernel and flash it.
    Install su & superuser: Installs or fixes su & superuser install (removes old if exists)
    Install eng (unguarded) su: Installs engineering su that doesn't use superuser (removes old su & superuser if exists)
    Reboot to bootloader: reboots to bootloader/hboot
    Reboot recovery : reboots phone back into recovery

    Trouble Shooting:
    Use option under Other menu to move recovery log to sd. Mount your sdcard to pc and read that file called recovery.log which will be on your external sdcard. It should have detailed cause of error if its not self-explainatory upload it here as an attachment and then post details about the error. Posts without the log are a complete waste of my time and will be ignored as there is no usable info to assist me in troubleshooting it. You will also be told to go visit /dev/null.


    Special Thanks:
    Thanks to :
    Amon Ra
    Koush
    Sc2k for itsmagic and getuid.ko
    Gweedo767 & CEnnis91 for the touch ui
    Skrilax_CZ for patched ICS bootloader & setbootmode
    6
    Download Section:

    To flash on HC bootloader(requires root):

    run itsmagic then

    Code:
    adb push recovery-ra-iconia-3.13-gnm.img /sdcard
    adb shell
    su
    dd if=/sdcard/recovery-ra-iconia-3.13-gnm.img of=/dev/block/mmcblk0p1
    sync
    reboot recovery

    To flash on ICS Patched Bootloader:
    fastboot flash recovery nameofrecovery.img

    V3.17 Recovery flashable zip : recovery-ra-iconia-3.17-gnm.zip

    ICS recovery-ra-iconia-3.17-gnm.img
    md5sum e74dd63395baed6d00c724024ab2d5cc recovery-ra-iconia-3.17-gnm.img

    recovery-ra-iconia-3.16-gnm.img
    md5sum 357a7033171585005db89d505b6b7c65 recovery-ra-iconia-3.16-gnm.img

    recovery-ra-iconia-3.15-gnm.img
    md5sum f40fc8fe8708df75583338d09be33ea0 recovery-ra-iconia-3.15-gnm.img

    recovery-ra-iconia-3.14-gnm.img
    md5sum d69390b62dd914a440ca2ae90ff95a0a recovery-ra-iconia-3.14-gnm.img

    recovery-ra-iconia-3.13-gnm.img
    md5sum 292d0a37cc7971baab2b32d6dae0d74c recovery-ra-iconia-3.13-gnm.img

    Flashable zip for 3.13 is here http://xdaforums.com/showpost.php?p=21727826&postcount=13


    Changelog 3.14 :
    Added menu option to wipe flexrom and also included it in the default wipe all
    Added option to flash a zip from internal storage
    Added warnings on using the ext3|4 menu
    Added recovery shell script called iconia_repair.sh for users that ignore the above warning and have corrupted their partitions. To use call "iconia_repair.sh help" from adb shell in recovery.

    Changelog 3.15
    Fixed wipe boot option on emmc devices
    Fixed ext3|ext4 format menu for iconia & updated the iconia_repair.sh script to match (still may error 1st time if users used this option on 3.13 or 3.14 to format use script to repair and it will work properly from there out)
    Itsmagic is now built into recovery binary
    Sdcard is now unmounted after flashing a zip from it.

    Changelog 3.16
    Fixed nandroid restore from usb stick
    Added ability to nandroid restore a cwm backup from usb stick

    Changelog 3.17
    Updated for ICS patched bootloader
    Removed auto run of itsmagic (still there from cmd line)
    Updated Mass storage in recovery to 2.6.39 kernel
    Compiled setbootmode into recovery -- call setbootmode from cmd line to use
    Default quick wipe and nandroid backup skips /data/linux directory if present -- toggling full ext wipe will still remove and reformat 100% of /data
    Note: nandroid backup folder is changed from nvmem=* to your devices serial # so you may need to manually move old RA backups into new folder.
    Updated su & superuser.apk to current
    4
    When you push ideas like this you give more ammunition to the likes of Apple who say we are simply not capable of maintaining our computers and should not be allowed to run unsigned code. Running single commands in the terminal is not difficult compared to the other *real* hacking that goes on here. So more fastboot, not less, please.

    p.s you can use dd or maybe flash_image, which is here if you don't have it.

    FYI flash_image won't work for Iconia but dd works well. My thoughts exactly : If you are going to be hacking your devices - shouldn't you have just minimal experience with the tools to save your butt (and have them already installed and working) when you mess things up? Its enevitable that you will mess up at some point as we all do. It is this reason alone I typically do not release a non-cmd line version of stuff. It doesn't take rocket science to use just a little reading and setup to use these great android tools. Anyways lets leave this thread on point with recovery not on easy/intermediate lvl ways to flash it.


    Below attached is a flashable zip of v3.17 for ICS patched bootloader
    4
    thanks for the update man. Since I had a little time while getting loaded I put it in a flashable .zip for those like me that are having adb issues with our tablets.
    4
    Any possibility of updating the flashable zip to the latest version?
    Here it is. I have just replaced an .img in the old zip and re-signed the package.