yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] jonstanley2:
recovery.log

EDIT: found log in recovery options. I wasnt being intentionally thick.

My problem is it wont let me backup nandroid+ext..

heres the log..

Starting recovery on Wed Feb 17 07:54:19 2010

can't open /dev/tty0: No such file or directory

framebuffer: fd 3 (320 x 480)

Build : RA-sapphire-v1.5.2G

Fixing execute permissions for /cache

I:Set boot command "boot-recovery"

Command: "/sbin/recovery"

ro.secure=0

ro.allow.mock.location=0

ro.debuggable=0

persist.service.adb.enable=1

ro.build.id=CRB43

ro.build.display.id=CRB43

ro.build.version.incremental=148830

ro.build.version.sdk=3

ro.build.version.release=1.5

ro.build.date=Wed May 13 20:24:21 PDT 2009

ro.build.date.utc=1242271461

ro.build.type=user

ro.build.user=android-build

ro.build.host=apa6.mtv.corp.google.com

ro.build.tags=test-keys

ro.product.model=Google Ion

ro.product.brand=google_ion

ro.product.name=google_ion

ro.product.device=sapphire

ro.product.board=sapphire

ro.product.manufacturer=HTC

ro.product.locale.language=en

ro.product.locale.region=US

ro.board.platform=msm7k

ro.build.product=sapphire

ro.build.description=google_ion-user 1.5 CRB43 148830 adp,test-keys

ro.build.fingerprint=google_ion/google_ion/sapphire/sapphire:1.5/CRB43/148830:user/adp,test-keys

rild.libpath=/system/lib/libhtc_ril.so

wifi.interface=tiwlan0

wifi.supplicant_scan_interval=45

ro.sf.lcd_density=160

ro.config.notification_sound=F1_New_SMS.ogg

ro.com.google.locationfeatures=1

ro.com.android.wifi-watchlist=GoogleGuest

ro.com.android.dateformat=MM-dd-yyyy

ro.com.android.dataroaming=true

ro.com.google.clientidbase=google

ro.ril.hsxpa=1

ro.ril.gprsclass=10

ro.setupwizard.mode=OPTIONAL

ro.url.legal=http://www.google.com/intl/%s/mobile/android/android-dev-phone-legal.html

ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/android-dev-phone-privacy.html

keyguard.no_require_sim=true

ro.config.sync=yes

net.bt.name=Android

net.change=net.bt.name

dalvik.vm.stack-trace-file=/data/anr/traces.txt

ro.modversion=RA-sapphire-v1.5.2G

ro.factorytest=0

ro.serialno=HT96DP305235

ro.bootmode=recovery_manual

ro.baseband=2.22.19.26I

ro.carrier=TMUS

ro.bootloader=1.33.0006

ro.hardware=sapphire

ro.revision=128

init.svc.recovery=running

init.svc.adbd=running

I:Set boot command ""

I:Set boot command ""

Create Nandroid + ext backup?

Press HOME to confirm,

any other key to abort.

Performing backup : .

nandroid-mobile v2.2.1

Using G1 keyboard, enter a prefix substring and then <CR>

or just <CR> to accept default: Accepting default.

Using - prefix to create a backup folder

mounting system and data read-only, sdcard read-write

checking free space on sdcard

.Error: not enough free space available on sdcard (need 130mb), aborting.

.

Error : Run 'nandroid-mobile.sh' via adb!

I:Set boot command ""

I:Set boot command ""

I:Set boot command ""

Move recovery.log to SD

Press HOME to confirm,

any other key to abort.

Moving : .

SECOND EDIT: I saw that it said not enough space on sd in the log, so I deleted old nandroid backups and it works now. Thanks for your attempt of help tho brotha
[myTouch 3G, Magic Android Development] ski309:
Thanks for this great recovery image Amon_Ra.

I have a request; would it be possible to make an option that allows me to select and run a .sh script from the sdcard's root folder?
[myTouch 3G, Magic Android Development] kikius:
i have same problem, the message dissapears when i connect the usb cable, suppose it uses the android sdk
[myTouch 3G, Magic Android Development] onholee:
data question

My phone doesn't have a /data folder. I made one and put the file in it and nothing happened. I am using a G3 My Touch. I actually went through several permutations of problem solving without success.
[myTouch 3G, Magic Android Development] alo_tongdaiday:
hi all

my phone :

sapphire pvt 32b eng soff h

hboot- 1.33.2010 ( sapp**** )

cpld-11

radio-3.22.20.17

jun 2 2009,17:27:03

i can flash rom 32a / 32b ???????????????
[myTouch 3G, Magic Android Development] lucskyywalker:
So I have tried and tried and tried to get this to work with the "simple" re-boot method. Still have 1.2.3 and cannot get it to upgrade. I have a MT3G with a brand new class 6 card. I am using Cyanogen 4.2.15.

I didn't have a data folder so I created one.

Changed the name to recovery.img

put the file into the new data folder

rebooted all the way thru to the home screen

rebooted to recovery STILL 1.2.3!

What am I doing wrong?
[myTouch 3G, Magic Android Development] bunu:
or how about you rename the recovery file to something simple like recovery.img (not recovery.img.img that is a common mistake) put it on the root of your sd card, go to terminal and type:

$su

#flash_image recovery /sdcard/recovery.img

Anyway us magic users want some carebear love too!
[myTouch 3G, Magic Android Development] bunu:
I am double posting for a reason.

I tweeted Amon_RA about updating the magic recovery (a.k.a this one) so we can get some carebear love and he replied he will try to this weekend so a release should be around this weekend or next week.
[myTouch 3G, Magic Android Development] revengineer:
Excellent. I have been checking this thread daily for an update after seeing that the recovery rom for other devices have been updated. standing by...

rev
[myTouch 3G, Magic Android Development] martin0285:
Hey everyone, having problems using nand and bart backup options on my GFs mytouch. Was flashing the latest CM tonight and could not create backup. It would abort as soon as it started. Couldn't flash new CM thru recovery (again aborted instantly). Re-flashed recovery and still couldn't. Finally tried to update thru CMUpdater and was successful (all be it without a nand :p). After successfully flashing the new CM i again tried to boot into recovery and create a nand, again it would abort right away. I have plenty of space on her SD card, so anyone have any ideas? Please?

EDIT: Pulled manually and it worked!! Still cant backup/restore from recovery tho.... Any ideas? Thanks to #cyanogenmod on freenode for the help!!
[myTouch 3G, Magic Android Development] Amon_RA:
Updated to v1.6.2

Change-log :

v1.6.2

- Added power off menu item
- New unyaffs binary patched by Koushik Dutta and Packetlss to fix the "losing root"-issue and incorrect file-time after a Nandroid restore
- New dump_image binary (by Brainaid) patched by Packetlss to fix the "bad blocks"- Nandroid restore issue.
[COLOR="Red"][B](This will not fix old corrupted Nandroid backups! Please make new backups!!)[/B][/COLOR]
- New mkyaffs2image binary
- New flash_image binary
- Updated busybox to v1.5.3
- Nandroid menu options will NOT backup or restore recovery, cache, misc, splash1+2 (to avoid issues)
- Fixed wipe option not wiping when ext was not present
- Created carebear versions after the idea of packetlss
- Switched the Nexus logo to a Green Carebear with Nexus One logo (Thanks Montalbert!)
[myTouch 3G, Magic Android Development] FHL09:
Download

ALWAYS check the md5sum to make sure the zip isn't corrupted.

Click on the Mirror-link if you don't like rapidshare

Use the H/G version if your Magic is HTC branded (PVT 32A board)/Google branded (PVT 32B board).

Latest :

recovery-RA-sapphire-v1.6.2G.img (Click here to download from a Mirror) - MD5Sum: f73a18f9426cf26c2dd87d5389b55d1c

recovery-RA-sapphire-v1.6.2H.img (Click here to download from a Mirror) - MD5Sum: edcc5f0fa0a5c325763fe3c3d28ea3bf

recovery-RA-sapphire-v1.6.2G-blue.img (Click here to download from a Mirror) - MD5Sum: ec0b7c820bc9d5e0e89a41666a0cc995

recovery-RA-sapphire-v1.6.2H-blue.img (Click here to download from a Mirror) - MD5Sum: 6c536a0297c3def061630b51e442ea07

recovery-RA-sapphire-v1.6.2G-green.img (Click here to download from a Mirror) - MD5Sum: 924b617567343b745a1598e1dc18a6aa

recovery-RA-sapphire-v1.6.2H-green.img (Click here to download from a Mirror) - MD5Sum: 6f46681b4e7d2b82e0fa54d068e13cc0

recovery-RA-sapphire-v1.6.2G-pink.img (Click here to download from a Mirror) - MD5Sum: 67e21e4a5f162047cd7c90fed9685255

recovery-RA-sapphire-v1.6.2H-pink.img (Click here to download from a Mirror) - MD5Sum: 1f4d0d0a5ce3f7c6f6b9d389573df352

Change-log :

v1.6.2

- Added power off menu item
- New unyaffs binary patched by Koushik Dutta and Packetlss to fix the "losing root"-issue and incorrect file-time after a Nandroid restore
- New dump_image binary (by Brainaid) patched by Packetlss to fix the "bad blocks"- Nandroid restore issue.
[COLOR="Red"][B](This will not fix old corrupted Nandroid backups! Please make new backups!!)[/B][/COLOR]
- New mkyaffs2image binary
- New flash_image binary
- Updated busybox to v1.5.3
- Nandroid menu options will NOT backup or restore recovery, cache, misc, splash1+2 (to avoid issues)
- Fixed wipe option not wiping when ext was not present
- Created carebear versions after the idea of packetlss
- Switched the Nexus logo to a Green Carebear with Nexus One logo (Thanks Montalbert!)

Special thanks to :

packetlss for all the hours of support and awesome coding skills, THANKS man ^^, donate to Haiti

Koushik Dutta for the unyaffs binary code fix and help ^^

pensive for adding awesome features to Nandroid :)

Bkmo for his utility script!

Devsk for his switchrom script!

51dusty for his sdparted script!

k4str0 for his fix_permissions v2.03 update.

Devsk, Dumfuq, Overground for creating BART :D

Androidappcritics for the reboot idea in BART :p

rikupw for the ideas and toggle_ums script.

MLIGN for the idea to port my recovery to the Dream.

http://www.androidspin.com for hosting ^^

http://theunlockr.com for all the awesome video’s ^^

Cyanogen for his dedicated work! , buy him a beer!

JesusFreke for his awesome JFv1.43's recovery , donate

[/QUOTE]

Thank you, flashing now, I know its gonna be good question is carebear or no carebear...hmm decisions, decisions...
[myTouch 3G, Magic Android Development] martin0285:
Hello, just upgraded to pink-carebears and still can't make a nand backup from the menu in recovery. I still need to adb shell, backup-mobile.sh -b LALALA. Was wondering if anyone had any ideas? Thanks

EDIT: Also, it aborts installations when trying to flash any zip from SD card ect. I have to do everything in recovery manually. Any help greatly appreciated.
[myTouch 3G, Magic Android Development] camus_dvd:
- Nandroid menu options will NOT backup or restore recovery, cache, misc, splash1+2 (to avoid issues)

Thanks Amon, for your awesome works. and a small Q, what does this change mean? Is that means that we can't use Nandroid option to backup the whole data like before? It works perfectly in the previous version.
[myTouch 3G, Magic Android Development] Amon_RA:
See first post : Please post the recovery.log so we analyse the problem and help you. Without a log we don't know what is going wrong at your side.

You can just use nandroid the way you used it before, all your data will still be back-upped. The only difference is that it will not update stuff you don't really need to have a backup of.
[myTouch 3G, Magic Android Development] martin0285:
My apologizes....pastebin here http://pastebin.com/J3L7HqRa as you'll be able to tell I updated to CM.15.1 from CMUpdater, once the update was finished again tried nand, nand+ext,Bart ect. Thanks for all your work!!

EDIT: OMG I am a complete idiot. I'm so used to my nexus1 that when messing with the GFs mytouch, *SIGH*, i've been making the rediculous error of hitting TRACKBALL, thus *SIGH*, aborting the nand backup, installation ect.. I'm just happy I realized this myself and it didn't take someone posting a reply....WOW I feel real dumb....lol
[myTouch 3G, Magic Android Development] march83:
Feature request for the next release, would out be possible to have a shut down option as well as restart? I occasionally have cause to shutdown from recovery to access fastboot or whatever but at the moment the only way to do this is to pull the battery which is far from ideal.
[myTouch 3G, Magic Android Development] kencix:
I have the latest cursors custom recovery made by you..

shall I remove that, and flash with the latest hero 1.6.2 recovery?
[myTouch 3G, Magic Android Development] arthofer:
got a stupid problem...

if i try to flash it via adb (with 1.5.2 amon RA recovery), i get an "erase error (0x082something)

if i try to flash it via fastboot, i get a "failed Checking info signature"

but if i erase recovery by using "fastboot erase recovery" and then use the adb thingy, it works if i try the adb flash thing about 1-5 times

PVT 32A SHIP S-ON 1.33.009 SPL & 3.22.20.17 Radio
[myTouch 3G, Magic Android Development] Amon_RA:
I never made a cursors custom recovery... so yes you should flash the latest hero recovery.
[myTouch 3G, Magic Android Development] kencix:
No you didn't, but he did made custom recovery.. from ur recovery :).. That's what I mean ;)
[myTouch 3G, Magic Android Development] JoelOFH:
This is strange.

When I did... Wipe Rotate > Wipe Battery > Full Wipe, the blue care bear went away and was replaced with the HTC symbol. :/
[myTouch 3G, Magic Android Development] leave:
I think that the red big row for 32A and new radio users should change to "Custom Recovery RA-Magic32A-6.35-v1.5.2" in this thread http://xdaforums.com/showthread.php?t=592856 by cursordroid. Maybe there will be Custom Recovery RA-Magic32A-6.35-v1.6.2 based on your new work.
[myTouch 3G, Magic Android Development] Amon_RA:
Why?? My Hero recovery works fine on that radio...
[myTouch 3G, Magic Android Development] leave:
:D Somone says that the hero recovery loading sd items not fast on HTC Magic..

Does the new recovery restore the nandroid backup by the old recovery perfectly?
[myTouch 3G, Magic Android Development] Amon_RA:
I advice you to upgrade to 1.6.2 and not use any older recovery because some binaries contain bugs that will bork your backups.

Yes it will restore old nandroid backups (if they don't contain any bad blocks).
[myTouch 3G, Magic Android Development] Nereida77:
Love the pink one :D

thanks, is nice to have sense of humor too and dont keep in the seriosly things ;)
[myTouch 3G, Magic Android Development] funbacon:
Sory, but I sent an email to tell about my case (special MT3G with 5 button). Does new recovery use CALL button to confirm ?
[myTouch 3G, Magic Android Development] Amon_RA:
I forgot your request, sorry.

I will make you a special version... DM me if I forget again ;)
[myTouch 3G, Magic Android Development] BrandoHD:
tried flashing via terminal but absolutely nothing happens

what can be the problem???
[myTouch 3G, Magic Android Development] BrandoHD:
tried all the methods of flashing this new recovery except putting the recovery into the data folder and rebooting, all have failed, can some one please assist me in trying the first method, i don't know how to put the image in the data folder

EDIT: i have tried all methods of flashing this new recovery, help please, its a rogers magic with SPL 2010 S-OFF running SuperD 1.9.3 Port 1.3
[myTouch 3G, Magic Android Development] domenukk:
I've successfully flashed the green carebear version. Veeeerry nice :)

(Magic 32b Google Branded whatsoever)

I love it :P

Plus I finally got rid of my perfected spl. Never wanted to touch this after I've bricked my first magic but now that I'm through with it, my phone feels less crippled :)
[myTouch 3G, Magic Android Development] noroses:
Freeze Problems!

Hi,

I'm coming from a stock 1.5 ROM. Flashed the RA-sapphire-v1.6.2H recovery using fashrec. I can enter recovery mode but after a few seconds the phone freezes and then reboots. I've tried flashing using adb but got the same result. Tried the Pink version...saw the care bear (funny idea btw!), moved up and down in options but after a while got the same result once again (freeze folowed by a reboot after a few minutes). Could not find the recovery.log, where is it?

Here is my SPL and radio:

SAPPHIRE PVT 32A SHIPS-ON H

HBOOT-1.33.0009 (SAPP10000)

CPLD-12

RADIO-3.22.20.17

May 8 2009,21:02:32

Can't figure out the problem...

Thanks in advance! ;)
[myTouch 3G, Magic Android Development] Ceba:
Hi, dunno whether i bricked my phone or not just now but..

Ive had the myhero-rom for a couple of months, but after messing around last night trying a different rom using flashrec I cant update it (due a "No signature, Verification failed"-error message".

Using the TheUnlockr UnRooting-guide:

loading up the sappimg.nbh in fastboot..I get the error message: Model ID incorrect.

This is my SPL and radio:

SAPPHIRE PVT 32A SHIPS-ON H

HBOOT-1.33.0009 (SAPP10000)

CPLD-12

RADIO-3.22.20.17

May 8 2009,21:02:32

Anyone know what to do? Please :/
[myTouch 3G, Magic Android Development] k4r1m:
adb get-state -- double check if its connected

adb kill-server

then adb -start-server

and then check state again after a few seconds
[myTouch 3G, Magic Android Development] rgbc:
Thanks for the update Amon_RA.

Has anyone running the HTC Hero ROM for Magic been able to push this recovery image to the device, I have tried a couple of times & receive the following error:

adb push recovery-RAv1.1H.img /system/recovery.img

failed to copy 'recovery-RAv1.1H.img' to '/system/recovery.img': No space left on device

Thanks,

Rob
[myTouch 3G, Magic Android Development] k4r1m:
i have a rogers magic too... i just skip that step and go ahead with pushing it to the sdcard and then go ahead and use the flash_image command in the next step and it works fine...
[myTouch 3G, Magic Android Development] fridlack:
+1 it's necessary to copy recovery image to system folder?
[myTouch 3G, Magic Android Development] Gimpeh:
BTW I have a ION, if that makes any difference.
[myTouch 3G, Magic Android Development] skittleguy:
If you can confirm it works through fastboot, then you can also do this:

fastboot flash recovery recovery-RAv1.1(G or H, depending on your version).img

This will flash it to your phone. Note that you'll need an engineering SPL for this.
[myTouch 3G, Magic Android Development] BrumBrum74:
Flashed successfully. Nice with this.

If I have 2 Nandroid backups and want to choose one of them. Is that possible? Wich backup will be chosen if not? There's 2 folders with backup on the sdcard.
[myTouch 3G, Magic Android Development] rgbc:
Just tested & it restores the last backup automatically, no option to choose from multiple backups, very handy.
[myTouch 3G, Magic Android Development] dubsat:
Can Amon_RA confirm that he is using binary from 1.3.1?

as cyanogen said on his twitter http://twitter.com/cyanogen

Quote --> @Amon_RA make sure you are using the unyaffs binary from 1.3.1, the 1.3 version has a little bug that kills setuid.
[myTouch 3G, Magic Android Development] Gimpeh:
I cannot get this to install for the life of me. You enter the fastboot commands from Recovery (Home+Power) or from the HBOOT (Back+Power)? ADB recognizes my Device in recovery but not in HBOOT. I need a bit of help.
[myTouch 3G, Magic Android Development] skittleguy:
Hboot. If "fastboot devices" returns your device than you can use it.
[myTouch 3G, Magic Android Development] BrumBrum74:
If killing setuid means killing superuser then it has the bug. Restored from Nandroid and superuser rights was gone. didn't check rights before that.
[myTouch 3G, Magic Android Development] MontAlbert:
there is a fix for it in the meantime- checkout out the pimped out recovery thread in the dream section.

i flashed the dream recovery just by going to a terminal, to use it in Sapphire copy recovery to root directory of sd card and type:

flash_image recovery /sdcard/recovery-RAv1.1
[myTouch 3G, Magic Android Development] neodoxy:
can anybody tell me why must copy the img file into /system/ ?
[myTouch 3G, Magic Android Development] BrumBrum74:
Isn't that recovery for the G1? Wont work on Sapphire?
[myTouch 3G, Magic Android Development] MontAlbert:
no i was just saying that that is how i did my G1 recovery. Substitute RA recovery for cm.

**EDit** fixed post for sapphire users.
[myTouch 3G, Magic Android Development] Amon_RA:
Updated to RAv1.1.1

Updated to RAv1.1.1 : Used the unyaffs binary from cm-recovery v1.3.1 which fixes the little bug that kills setuid.
[myTouch 3G, Magic Android Development] Amon_RA:
For non customized ROMs the recovery image located in /system is flashed each time you boot your Magic.

The following is executed from your init.rc :

service flash_recovery /system/bin/flash_image recovery /system/recovery.img

oneshot

Hope this clarifies step 3 : $adb push recovery-RAv1.1.1H.img /system/recovery.img
[myTouch 3G, Magic Android Development] Gimpeh:
Amon_RA would copying the recovery.img and putting it in the system folder (not SD card) work using the tool linked below?

http://xdaforums.com/showthread.php?t=530271
[myTouch 3G, Magic Android Development] MaxH75:
Just tried RAv1.1.1G on my black vodafone magic, but it states "Error performing nandroid backup. Backup not performed." whey i try and do a backup. Is it just me?

edit: flashed back to RAv1.0G.img becuase of this, i get same message there now. Im pretty (but not totally) sure that it worked in 1.0 before :S

Edit: Solved. it had to do with space free on the SD-card, or more specific, lack thereof. (a better error message would be great tho :P) :)
[myTouch 3G, Magic Android Development] MarcLister:
Have been trying to flash this recovery over my old one. I'm running Cyanogen's latest mod.

I've tried the simple reboot method. The recovery.img file is in /data but when I do a reboot and then a recovery reboot I still see the old recovery GUI.

I can't get the terminal method to work. I do "su" followed by "mount -a" but when I run "mount -a" I get an error message saying something doesn't exist.

I haven't tried the ADB method yet; I assume that needs the Android SDK installing?

Before I try the ADB method does anyone have any ideas why the simple reboot method isn't working? I've compared the screenshot of the Amon Ra recovery in the first post to what I see on the phone and there's no similarity at all.
[myTouch 3G, Magic Android Development] sindrefyrn:
Ignore the error from mount -a.
[myTouch 3G, Magic Android Development] exe127:
please help me:

I am using Engineering SPL 1.33.2010

RA-sapphire-1.5.2H

when I flash 1.6.2H under 1.5.2H(flash zip from sdcard)

it shows:

E: No signature(1 files)

E: Verification failed

Installation aborted!

and I try in recovery flasher:

it say unable to backup the img.

how can I fix this problem and update to 1.6.2H ? Thanks in advance
[myTouch 3G, Magic Android Development] ryanoption:
Could someone please help!I followed the Unlockr's instructions on how to root mytouch 1.2 and I have no touch screen to get the phone going.Which recovery image should I use?WTF should I do in general.Am I screwed??
[myTouch 3G, Magic Android Development] Pfeffernuss:
Maybe I missed it somewhere in this thread (but I do read it every day ;)) but why does this recovery backup less than the previous one? Using 1.5.2 a lot more stuff get's backed up.

Yesterday after an unsuccesfull JIT attempt I tried to restore a 1.6.2 backup but that failed. Using 1.6.2 to restore a 1.5.2 backup worked. Looking in the respective folders I saw that the 1.5.2 folder contained more files.

Maybe a "full" backup is also possible using scripts but I find just selecting Nandroid Backup on the phone itself much easier. Maybe for this reason I will go back to 1.5.2, or am I missing something here!? :confused:
[myTouch 3G, Magic Android Development] kohler:
Do u have problem accessing the recovery menu if u press the Home+power button when u boot up the phone .

When i tried your method , i got a lot of read errors . Now i can't access the recovery menu when i boot up . U have this problem ?

C:\android_1.5_R2\tools>adb shell flash_image recovery /sdcard/recovery.img

mtd: read error at 0x00000000 (Out of memory)

mtd: read error at 0x00020000 (Out of memory)

mtd: read error at 0x00040000 (Out of memory)

mtd: read error at 0x00060000 (Out of memory)

mtd: read error at 0x00080000 (Out of memory)

mtd: read error at 0x000a0000 (Out of memory)

mtd: read error at 0x000c0000 (Out of memory)

.

.

.

.

mtd: verification error at 0x00180000 (Out of memory)

mtd: wrote block after 1 retries

error writing recovery: No space left on device