[RECOVERY] AmonRA 2.2.1 for GT540 version 2- .asec, USB-MS AND NANDROID BACKUP FIXED!

Search This thread

effortless.

Senior Member
Jul 11, 2011
364
216
This is Amon RA recovery 2.2.1 for GT540. This version also accepts edify and non-signed update.zip files.

Screenshots:
recoverymain.png
sig.png
partitionsd.png
wipe.png
poweroff.png


How to 'get around':
Menu (Touch button) Select
Back (Touch button) Go back
Volume up/down- Menu up/down

Known Issues:
.android_secure will backup, but not restore.
I also think there is a sd-ext backup issue too. Cannot test this myself as I have no ext partition.


Download ver. 2-asecfix:
http://adf.ly/2MX0q

^PLEASE DO NOT CREATE MIRRORS! Thanks ;)

Changelog:

ver. 2-asecfix
  • Possible .android_secure backup fix (which didn't work)

ver. 2:
  • Fixed nandroid backup
  • Fixed USB Storage toggle

ver 1.
  • Initial Release.

Enjoy!

Don't forget to say
thanksbutton.png
:D
 
Last edited:

despotovski01

Inactive Recognized Developer
Jan 1, 2011
1,522
2,133
Skopje

fishears

Inactive Recognized Developer
Dec 15, 2010
2,870
3,126
github.com
Nice looking recovery. I'd like to use it but it doesn't support the hooks from ROM Manager and I always use that for making my backups because its easier.

Any chance you could add in support for ROM Manager hooks? Now that would be something ;)
 

effortless.

Senior Member
Jul 11, 2011
364
216
Yes I did make it, sort of. The original image was from P500, but I converted it for use with GT540. Didn't take long, all I did was replace the zImage with a GT540 one and edited a couple of files in the ramdisk and changed Kernel's command line and offset. And I don't think that Amon RA supports ROM Manager hooks at all. I'll have to look that up but ROM Manager only specialises in Koush's recovery (Clockwork)
 
  • Like
Reactions: despotovski01

effortless.

Senior Member
Jul 11, 2011
364
216
Added screen shots! Also, I have found a bug with USB-MS Toggle not working. I guess mount points are in-correct for MS toggle.
 

effortless.

Senior Member
Jul 11, 2011
364
216
Nice looking recovery. I'd like to use it but it doesn't support the hooks from ROM Manager and I always use that for making my backups because its easier.

Any chance you could add in support for ROM Manager hooks? Now that would be something ;)

How did you get the ROM Manager hooks on your clockwork mod (ie. So it actually works with ROM Manager)
 

fishears

Inactive Recognized Developer
Dec 15, 2010
2,870
3,126
github.com
Hook support is built in but we can only use ROM Manager to backup/restore roms & apply update zips. BTW I have a feeling Mur4ik is going to provide updates through ROM Manager/CM soon...

Sent from my GT540 using XDA Premium App
 

Quinny899

Recognized Developer / Recognized Contributor
Jan 26, 2011
9,428
8,754
26
Salford, Greater Manchester, UK
quinny898.co.uk
Hook support is built in but we can only use ROM Manager to backup/restore roms & apply update zips. BTW I have a feeling Mur4ik is going to provide updates through ROM Manager/CM soon...

Sent from my GT540 using XDA Premium App

One of his updates said ota in the file name <whatever>_ota.zip, so maybe we'll get them OTA

Sent from my jv02 using XDA App
 

effortless.

Senior Member
Jul 11, 2011
364
216
New version coming soon:

Hopes to fix Backup/Restore issues, also fix USB-MS toggle.

Stay tuned. Also download from the AdF.ly links to support my work. :D

EDIT: I think I need to change some of the paths in init.rc to mount asec, fixed version should be up later
 
Last edited:

effortless.

Senior Member
Jul 11, 2011
364
216
New version up!

New version up with fixed USB-MS Toggle and Nandroid backup now working!

Download:
http://adf.ly/2MFEY

PLEASE DO NOT CREATE MIRRORS!

If your wondering how I fixed it, in the ramdisk\etc folder, edit fstab and replace all lines with:

Code:
/dev/block/mtdblock4	/system	yaffs2	rw
/dev/block/mtdblock1	/cache	yaffs2	rw
/dev/block/mtdblock6	/data	yaffs2	rw
/dev/block/mmcblk0p1	/sdcard	vfat	rw
/dev/block/mmcblk0p2	/sd-ext auto    rw

I also used some binaries from the old RA 1.7 which I think helped with USB-MS.

Enjoy!
 

nutterbg

Senior Member
Nov 9, 2009
320
56
Tested the new version. Fails to backup .android_secure. Otherwise, cool!

Sent from my GT540
 

nutterbg

Senior Member
Nov 9, 2009
320
56
New version is up with possible .android_secure backup fix. I have not tested so please test and report back!

Download:
http://adf.ly/2MX0q

Nope, still same thing. I haven't trieda full backup though, but rather only of asec and sd-ext. The ext part ended up in a tar, which I can't say if was written, or not, because my second partition is empty. I noticed again, however that whatever letter is supposed to appear in the backup name for ASEC("A"?) is still missing(e.g. the first backup i ever did had "BDERS" prefix). Very strange..
 

effortless.

Senior Member
Jul 11, 2011
364
216
Nope, still same thing. I haven't trieda full backup though, but rather only of asec and sd-ext. The ext part ended up in a tar, which I can't say if was written, or not, because my second partition is empty. I noticed again, however that whatever letter is supposed to appear in the backup name for ASEC("A"?) is still missing(e.g. the first backup i ever did had "BDERS" prefix). Very strange..

Hmmm, strange, may be an issue in nandroid-mobile.sh or backuptool.sh, I will fix tomorrow.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    This is Amon RA recovery 2.2.1 for GT540. This version also accepts edify and non-signed update.zip files.

    Screenshots:
    recoverymain.png
    sig.png
    partitionsd.png
    wipe.png
    poweroff.png


    How to 'get around':
    Menu (Touch button) Select
    Back (Touch button) Go back
    Volume up/down- Menu up/down

    Known Issues:
    .android_secure will backup, but not restore.
    I also think there is a sd-ext backup issue too. Cannot test this myself as I have no ext partition.


    Download ver. 2-asecfix:
    http://adf.ly/2MX0q

    ^PLEASE DO NOT CREATE MIRRORS! Thanks ;)

    Changelog:

    ver. 2-asecfix
    • Possible .android_secure backup fix (which didn't work)

    ver. 2:
    • Fixed nandroid backup
    • Fixed USB Storage toggle

    ver 1.
    • Initial Release.

    Enjoy!

    Don't forget to say
    thanksbutton.png
    :D
    1
    Yes I did make it, sort of. The original image was from P500, but I converted it for use with GT540. Didn't take long, all I did was replace the zImage with a GT540 one and edited a couple of files in the ramdisk and changed Kernel's command line and offset. And I don't think that Amon RA supports ROM Manager hooks at all. I'll have to look that up but ROM Manager only specialises in Koush's recovery (Clockwork)
    1
    Turns out I had accidentally replaced the newer version of nandroid in 2.2.1 with the old version from 1.7.0.1. Thought I was onto a fix, but didn't work. Sorry guys! :(

    Below is the text from recovery.log. There are no errors. I tested with Facebook & Titanium Backup. Also, when mounting SDCard in windows, the two .asec files are in /sdcard/.android_secure but then going into launcher or application settings, they dont show up. May be permissions error, but when checking .asec after booting in root explorer, the two files are gone but both files are there still there when sdcard is mounted in Windows.

    Starting recovery on Wed Aug 17 00:27:07 2011
    framebuffer: fd 4 (320 x 480)
    Build : RA-2.2.1-swift-effortless-ver3
    I:Set boot command "boot-recovery"
    Command: "/sbin/recovery"

    ro.secure=0
    ro.allow.mock.location=0
    ro.debuggable=1
    persist.service.adb.enable=1
    ro.ril.disable.fd.plmn.prefix=23402,23410,23411
    ro.ril.enable.sdr=0
    ro.com.google.clientidbase=android-htc
    ro.build.id=ERE27
    ro.build.display.id=ERE27
    ro.build.version.incremental=205671
    ro.build.version.sdk=7
    ro.build.version.codename=REL
    ro.build.version.release=2.1-update1
    ro.build.date=Wed Jul 7 18:54:20 CST 2010
    ro.build.date.utc=1278500060
    ro.build.type=user
    ro.build.user=
    ro.build.host=HPA002
    ro.build.tags=release-keys
    ro.product.model=GT540
    ro.product.brand=LG
    ro.product.name=LG_GT540
    ro.product.device=swift
    ro.product.board=swift
    ro.product.cpu.abi=armeabi
    ro.product.manufacturer=Lge
    ro.product.locale.language=mdpi
    ro.product.locale.region=
    ro.wifi.channels=
    ro.board.platform=msm7k
    ro.build.product=swift
    ro.build.description=3.39.710.1 CL205671 release-keys
    ro.build.changelist=205671
    ro.product.ua=
    ro.build.fingerprint=lg_gt540/swift/swift/swift:2.1-update1/ERE27/205671:user/release-keys
    ro.product.version=3.39.710.1
    keyguard.no_require_sim=1
    rild.libpath=/system/lib/libhtc_ril.so
    wifi.interface=tiwlan0
    wifi.supplicant_scan_interval=15
    ro.sf.lcd_density=160
    ro.telephony.default_network=0
    ro.ril.def.agps.mode=2
    ro.phone_storage=0
    ro.ril.hsupa.category=5
    ro.media.enc.file.format=3gp,mp4
    ro.media.enc.vid.codec=m4v,h263
    ro.media.enc.vid.h263.width=176,352
    ro.media.enc.vid.h263.height=144,288
    ro.media.enc.vid.h263.bps=64000,800000
    ro.media.enc.vid.h263.fps=1,30
    ro.media.enc.vid.m4v.width=176,352
    ro.media.enc.vid.m4v.height=144,288
    ro.media.enc.vid.m4v.bps=64000,800000
    ro.media.enc.vid.m4v.fps=1,30
    ro.htc.checkin.url=http://andchin.htc.com/android/checkin
    ro.htc.checkin.crashurl=http://andchin.htc.com/android/crash
    ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
    ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
    ro.com.google.networklocation=1
    ro.setupwizard.mode=DISABLED
    ro.config.ringtone=Innovation.mp3
    ro.config.notification_sound=Color.mp3
    ro.config.alarm_alert=Light.mp3
    ro.config.cal_notification=Vector.mp3
    ro.config.msg_notification=Ascend.mp3
    ro.com.google.gmsversion=2.1_r6
    dalvik.vm.dexopt-flags=m=y
    net.bt.name=Android
    net.change=net.bt.name
    ro.config.sync=yes
    dalvik.vm.stack-trace-file=/data/anr/traces.txt
    ro.modversion=RA-2.2.1-swift-effortless-ver3
    ro.factorytest=0
    ro.serialno=
    ro.bootmode=unknown
    ro.baseband=unknown
    ro.carrier=unknown
    ro.bootloader=unknown
    ro.hardware=swift
    ro.revision=0
    ro.emmc=0
    ro.hiddenreset=0
    init.svc.recovery=running
    init.svc.adbd=running

    I:Set boot command ""
    I:Set boot command ""


    *** WARNING ***
    Nandroid backups require minimum
    300mb SDcard space and may take a few
    minutes to back up!


    Use Other/recoverylog2sd for errors.

    I:Set boot command ""
    I:Set boot command ""
    I:Set boot command ""
    I:Set boot command ""

    Restore A-20110817-0010 ?
    Press Menu to confirm,
    any other key to abort.

    Restoring : .
    nandroid-mobile v2.2.1

    Searching for backup directories, matching A-20110817-0010, to delete or restore
    or compress


    Looking for the latest backup, will display other choices!


    Default backup is the latest: /sdcard/nandroid/mem=214M/A-20110817-0010

    Other available backups are:


    Using G1 keyboard, enter a unique name substring to change it and <CR>
    or just <CR> to accept: Accepting default.

    Restore path: /sdcard/nandroid/mem=214M/A-20110817-0010

    Verifying backup images...

    Not flashing boot image!


    Not flashing recovery image!


    Not restoring data image!


    Not restoring system image!

    ../.android_secure/
    ./.android_secure/com.keramidas.TitaniumBackup-1.asec
    ./.android_secure/com.facebook.katana-1.asec
    .Restore done


    Restore complete!

    I:Set boot command ""
    I:Set boot command ""
    I:Set boot command ""

    Move recovery.log to SD
    Press Menu to confirm,
    any other key to abort.

    Moving : .unmounting /system
    unmounting /sdcard
    unmounting /data
    1
    I need some help, I'm currently on data2system mod for 2.3.4 Soft-mod SwiftDroid 2.0-M6 by Mur4ik and just flashed your recovery but I can't get to recovery via reboot recovery, is this function available? or should I use some key sequence to get to recovery mode?

    Reboot recovery should work fine, also HOME+POWER works.