yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] tect:
i have a HTC Magic from Malaysia

Sapphire PVT 32A SHIP S-ON H

HBOOT-1.33.0010 (SAPP10000)

i have sdk installed and when i try the following steps,

Try it out WITHOUT making changes to your device (NO flashing):

1. Boot the device in fastboot mode.

2. Connect the device to your machine over USB.

3. $fastboot boot recovery-RAv1.1.1H.img

i got a reply of

'fastboot' is not recognized as an internal or external command, operable program or batch file.

can any 1 assist me on my problem?

thanks
[myTouch 3G, Magic Android Development] MontAlbert:
does this have a terminal in it that we can drop into to run commands (eg. replace system files) as cyanogens 1.3.1 does?

Also, i dont want to flash it permanently yet, is there a way to boot into it from terminal on the phone? eg. in terminal on G1 you type reboot recovery and it reboots into recovery....is there a command to direct the phone to boot up the recovery?
[myTouch 3G, Magic Android Development] zelrikriando:
Stupid question : Do you have fastboot installed?
[myTouch 3G, Magic Android Development] Amon_RA:
The recovery menu is only in English, I've not seen a multilingual one yet ^^

Maybe I'll implement one in the future, I think it's a cool idea :)
[myTouch 3G, Magic Android Development] Amon_RA:
Make sure the tools directory is correctly defined in your PATH.
[myTouch 3G, Magic Android Development] Amon_RA:
There is no keyboard on the Magic so a terminal in recovery mode would require a virtual keyboard on screen, implementing that is not so simple but I'll look into it...

I'm not aware of a method to boot the recovery from a terminal.
[myTouch 3G, Magic Android Development] Dayzee:
YOU STARs!!! This was absolutely trouble free to install. :)

I did it via my laptop, using C Prompt and I had trouble at first until I realised I didn't need to type the dollar sign at the start.... LOL

The success of getting the image to load and make a nandroid backup spurred me to flash the recovery image permanently :)

And the success of THAT spurred me on to take the plung and load a rooted Rom from the SDCard (I've got the Ion Multi on now!!)

So now I've got root too - once again YOU STARS!!

Daisy xx
[myTouch 3G, Magic Android Development] Draxter:
Got 1.1.1G running properly :) nice implementation of nandroid!
[myTouch 3G, Magic Android Development] Leviathon:
Thanks very much for this, I thought I'd give this a go, but after following the steps (32b) I just get an exclamation mark next to a phone when trying to go into it? I did try without flashing first and it worked perfectly. The rest of the phone also works fine. If anyones able to help would be appreciated. I'm on SPL 2005, cheers.
[myTouch 3G, Magic Android Development] zetsurin:
This looks great, I just have a newbie question:

I currently have a Vodafone UK Magic with stock SPL and ROM. What I am interested in doing is restoring jmaurice's Japanese nandroid backup (http://xdaforums.com/showthread.php?t=526085) on my device, but if possible I would like to keep my stock SPL in-place, just in case I have a warranty issue. Since the Japanese nandroid backup is a stock standard unmodified ROM (which would pass signature checks I assume, correct me if I am wrong), would it be possible - at least in theory - for me to use this recovery (using the 'temporary' method) to restore the nandroid backup while leaving my SPL as-is?
[myTouch 3G, Magic Android Development] chris4500uk:
I don't know if this is needed, but will this be updated to CRC1 ?
[myTouch 3G, Magic Android Development] computerdan:
I flashed the recovery utility permanently to my phone, but now I have to return the phone to Rogers due to some burnt pixels. Every time I press Home+Power, the utility still comes up - this is after flashing to original ROM and using Wipe data/factory reset function in the utility.

How do I get rid of the boot utility partition? :confused:

UPDATE: Please disregard. I figured it out. I ran a nandroid restore from a previously backed up copy (phew!) and it wrote over boot.img (I assume).
[myTouch 3G, Magic Android Development] james_d:
I tried this as it is my first attempt at rooting my Magic (Vodafone UK). I believe I flashed it to the phone and it began a restart and just stuck on the Vodafone boot image.

Took the battery out and booted as normal. Tried it twice and same thing happened. Any ideas?

Thanks.
[myTouch 3G, Magic Android Development] barry07:
thanks daehl! this is the answer i was looking for - thought the recovery flash was supposed to be permanent too. Have CM 6.0.0 on HTC Magic 32b now (Vodafone Australia can kiss my ass ;-))
[myTouch 3G, Magic Android Development] bunnybag:
your current custom recovery (boot while holding HOME)

Connect your G1 via usb to your pc/mac/...

adb shell

#mount -a (this can give back an error if you don't have an ext partition, don't worry about it and just proceed)

#flash_image recovery /sdcard/recovery-RA-sapphire-v1.7.0G.img

Alright so just a quick question. So I've been following this:

Copy recovery-RA-sapphire-v1.7.0G.img to the root of your sdcard

Boot into your current custom recovery (boot while holding HOME)

Connect your G1 via usb to your pc/mac/...

adb shell

#mount -a (this can give back an error if you don't have an ext partition, don't worry about it and just proceed)

#flash_image recovery /sdcard/recovery-RA-sapphire-v1.7.0G.img

But when I enter #mount -a it comes up with an error that the file/directory doesn't exist.

However I do have an ext partition ( I think) so is this something I should ignore and just continue on?
[myTouch 3G, Magic Android Development] clownberg:
amon ra 1.8

I have amon-ra 1.8 installed-I can get to recovery screen-however when I go to install zip from sdcard none of the custom rom zips show up just MAME zips show up ?
[myTouch 3G, Magic Android Development] Pfeffernuss:
Version 1.8 for Sapphire? Nice! :D
[myTouch 3G, Magic Android Development] renedlog:
i still wait for the 1.7 version for my magic 32A ;)
[myTouch 3G, Magic Android Development] shoemeistah:
Thanks! Will there be an option to disable signature check?
[myTouch 3G, Magic Android Development] aZzz.bZzz:
is it possible to flash this recovery to mt3g 1.2 ?

32a, spl 1.33.0013 and radio 2.22.23.02
[myTouch 3G, Magic Android Development] camapghe:
1 quick questions: I'm using MyTouch 3G 32B. If I fail flashing this Recovery due to "Not enough memory" error, will I be bricked?

Personally I guess no. But I still want to listen to the pro's advices.
[myTouch 3G, Magic Android Development] putnum:
I am trying to replace clockwork recovery on a EVO what is the best way to do this? Do I need to just flash the recovery and that's it?
[myTouch 3G, Magic Android Development] pfaisalkhan:
Please Help me

saphire 32A ship S-on H

HBOOT-1.33.0010(SAPP10000)

CPLD -12

Radio-3.22.20.17

jun 2 2009

HTC Magic Mytouch MG with Andoid 1.

It was My Previous Phone.

Based on your instruction in the post I upgraded my Radi to Radio_HTC_PVT_32A_6.35.10.18.img

And spl to hboot-1.76.2007.img

Exactly like this

fastboot flash radio Radio_HTC_PVT_32A_6.35.10.18.img

fastboot flash hboot hboot-1.76.2007.img

fastboot flash recovery recovery-RA-hero-v1.5.2.img

fastboot erase system -w

fastboot reboot-bootloader

But after this. I went for a reboot and I got stuck with the Etisalat logo on boot screen no further progress.

Again I went for a down gradation to my previous stage using the following command

fastboot flash radio Radio_HTC_PVT_32A_3.22.20.17.img

fastboot flash hboot hboot-1.33.2010.img

fastboot flash recovery recovery-RA-sapphire-v1.5.2H.img

fastboot erase system -w

fastboot reboot-bootloader

Again same screen. And I am totally struck with this stage.

What is the best way to rest my phone is a working way

Right now o have in my fastboot screnn these things

SAPPHIRE PVT 32A ENG S-OFF H

HBOOT-1.33.0010(SAPP10000)

CPLD -12

Radio-3.22.20.17

jun 2 2009

Please help me
[myTouch 3G, Magic Android Development] Phateless:
Does this mean that a partitioned sd card with an ext partition is MANDATORY for this recovery? If I don't plan to use swap or apps2sd should I just stick with version 1.6.2?
[myTouch 3G, Magic Android Development] wjsturgis3:
Two questions: 1, is your HBOOT 1.33.2010 or 0010? you must have 2010 for this to work and 2, have you tried booting into recovery?
[myTouch 3G, Magic Android Development] renedlog:
32A users with SPL 1.76.x should flash the Hero version! (Will be updated to v1.7.0 soon!!)

and whats meaning soon? i wait a long time and there isnt already a new version. :D
[myTouch 3G, Magic Android Development] Phateless:
Anyone? I know this is a noobie question.
[myTouch 3G, Magic Android Development] Pfeffernuss:
No, it isn't mandatory... How you partition the SD-Card is up to you completely ;)
[myTouch 3G, Magic Android Development] Phateless:
Ok cool. I wasn't sure if some ROMs or recoveries relied on that during flashing.
[myTouch 3G, Magic Android Development] obliquefx:
I broke my recovery

I have an myTouch 3G and I tried to upgrade an older Amon_RA recovery ( I think I had 1.2 or something) to this one...I was using the terminal app to install it. When I tried to install it I got errors saying out of memory...

And then when I tried to restart my phone in recovery mode and it just freezes at the myTouch splash screen. I cannot get into recovery at all

:(

This is the information for my phone:

SAPPHIRE PVT 32B SHIPS S-ON G

HBOOT-1.33.0006 (SAPP30000)

CPLD-10

RADIO-2.22.19.26I

It IS already rooted and I am running htcclay's superbad1.7

I looked around the forum a bit and tried the following things, also I have a perfected SPL

I tried to fix my spl using these instructions:

http://xdaforums.com/showthread.php?t=548218

(yes I did create a goldcard using these instructions http://theunlockr.com/2010/03/10/how-to-create-a-goldcard/)

I chose this file

ROM v2.53.707.2 (Engineerings SPL v1.33.2010) and when I tried to apply it I got the following errors

SD Checking...

Loading...[SAPPDIAG.zip]

No image!

Loading...[SAPPDIAG.nbh]

No image or wrong image!

Loading...[SAPPIMG.zip]

No image!

Loading...[SAPPIMG.nbh]

No image or wrong image!

I just want to have a working recovery! Anyone's help is greatly appreciated.
[myTouch 3G, Magic Android Development] fbifbi:
Guys,

I'm having a problem with my friend's G1. Trying to flash the recovery via fastboot.

Once I type the flash command:

fastboot flash recovery recovery.img

it's stuck on sending recovery (4718kb)... and the cursor is blinking.

It's like this for last 5mins, any idea what's going on?

Btw. I'm upgrading from CM1.4 recovery. Phone is rooted.

I tried upgrading via the command console in recovery mode as well as adb. But both methods gave me 'no such file or directory' method.

Can anyone help?

EDIT:

I managed to solve it. The problem was related to drivers of ADB decvice, which Windows assigned to mass storage device type.

Manual chage of the drivers for solved the issue.
[myTouch 3G, Magic Android Development] uzi18:
Amon_RA: we are waiting for psfreedom integrated into recovery for 32a
[myTouch 3G, Magic Android Development] delyorik:
Looked around a bit before posting... no joy, so here goes.

Any idea why a Nandroid backup would take entirely too long and have to be aborted via battery pull? I've tried a backup a few times now, even after reformatting the sd card, and it still generates over triple the normal backup size.
[myTouch 3G, Magic Android Development] Amon_RA:
It's probably trying to mount something that can't be mounted and hence it stays in a loop that you can only abort from via a battery pull.

Could you please check the recovery log and paste the output here? (see first post for more details on how to check the recovery log)
[myTouch 3G, Magic Android Development] delyorik:
Will do - running a +ext backup now. Will edit this post with the forthcoming log.

Cheers,

Jeff

Edit: So, I did the +ext which terminated normally. Then I did a plain nandroid, which kept going. So I deleted the whole nandroid directory and tried the +ext again, which REALLY kept going. This is the log from that final attempt:

Starting recovery on Sun Oct 3 19:06:57 2010

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

framebuffer: fd 3 (320 x 480)

Build : RA-sapphire-v1.7.0G

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.7.0G

ro.factorytest=0

ro.serialno=SH96LP301002

ro.bootmode=recovery_manual

ro.baseband=2.22.19.26I

ro.carrier=TMUS

ro.bootloader=1.33.2005

ro.hardware=sapphire

ro.revision=128

init.svc.recovery=running

init.svc.adbd=running

I:Set boot command ""

Enabling USB-MS : .USB Mass Storage enabled

USB-MS enabled!

Press HOME to disable,

and return to menu

Disabling USB-MS : .USB Mass Storage disabled

USB-MS disabled!

I:Set boot command ""

I:Set boot command ""

Move recovery.log to SD

Press HOME to confirm,

any other key to abort.

Moving : .

***********************
[myTouch 3G, Magic Android Development] Amon_RA:
That's the log after you rebooted, it doesn't show anything of the nandroid you tried... Please do a cat of the log while the nandroid is stuck (use adb).

Make sure your battery is +30% , unplug any usb cables + chargers, pull the battery, place the battery and boot directly into recovery, wait a few seconds, perform the nandroid backup.
[myTouch 3G, Magic Android Development] 02xda1:
..........anybody?
[myTouch 3G, Magic Android Development] delyorik:
I did both "cat" instructions from the 1st post. This morning's attempt generated 3.4 GB during its loop, heh.

In all seriousness, though, I appreciate the help.
[myTouch 3G, Magic Android Development] nlakes:
When I type the command in bold in, I get the following error message:

flash_image: not found

I am using terminal emulator on a 32B HTC Magic.

Can someone please help me flash the recovery, I've tried so many techniques and none of them are working for me.

Thank you.
[myTouch 3G, Magic Android Development] Amon_RA:
flash_image: not found means you don't have the flash_image binary on your phone... get hold of a flash_image binary, copy it to your phone, make sure it has executable rights and can be found in your PATH.
[myTouch 3G, Magic Android Development] phppro:
Where could I get this/these file(s)?
[myTouch 3G, Magic Android Development] djy:
Amon_RA,

I could not find a thread for it...Would you be willing to update psfreedom with the latest payload? The source is available here:

hxxp://psgroove.com/?p=1369

Thank you for all your hard work. I've been following you and cyanogen daily since the mytouch 3g was released.
[myTouch 3G, Magic Android Development] typeadam:
OK, I'm somewhat confused by this. I'm trying to help out a friend and this is his first Android phone.

HTC MyTouch 3G (T-Mobile)

Sapphire PVT 32A SHIP S-ON G

HBOOT-1.33.0013 (SAPP31000)

CPLD-13

RADIO-2.22.23.02

The phone is running 1.6 and my friend already did the 1-file root from theunlockr.com using sappimg.zip

From all the posts and wikis I read through, I concluded he needs this *recovery-RA-sapphire-v1.7.0G.img*

However, none of the 3 install methods sound applicable - 1. I'm not sure what 'engineering SPLs' are to do via fastboot, 2. Not sure what 'test keys' are for via adb, and 3. there is no terminal app installed.

I've already been sitting w/ this for 2 days reading and reading and honestly the more I read the more confused I get.

I really don't want to re-learn a whole new phone not on my own network.

I don't remember it being this complicated when I did my Hero or EVO...

There's got to be a step I'm missing or overlooking and I'm stumped right now. :confused:
[myTouch 3G, Magic Android Development] dancer2:
Hi everybody, I need help

I have HTC Magic Voadafone

SAPPHIRE PVT 32B SHIP S-ON G

HBOOT-1.33.0004 (SAPP10000)

CPLD-10

RADIO-2.22.19.26I

APR 9 2009, 23:30:40

I flashed SPL 1.33.2010 and first 1 rows changed to

SAPPHIRE PVT 32B ENG S-OFF H

HBOOT-1.33.2010 (SAPP10000)

I try to flash recovery-RA-sapphire-v1.7.0G.img

1. first try fastboot devices just for check

2. fastboot flash recovery recovery-RA-sapphire-v1.7.0G.img

but nothing happens? What should I do?

And changing from G to H confuses me.

fastboot boot recovery-RA-sapphire-v1.7.0G.img is working and I got into recovery, but flash is not working!

If I want to try second option with adb shell etc. can I boot like this

fastboot boot recovery-RA-sapphire-v1.7.0G.img

and then go

adb shell

#mount -a

#flash_image recovery /sdcard/recovery-RA-sapphire-v1.7.0G.img

because I can just boot into it, not flash it?

Thanks in advance
[myTouch 3G, Magic Android Development] typeadam:
Anyone have any input or how should I proceed?
[myTouch 3G, Magic Android Development] wjsturgis3:
You can install a terminal app from the market or you can use flash_recovery from adb shell.
[myTouch 3G, Magic Android Development] GammaPaladin:
Hi, I have a MyTouch 3G 1.2, and I was looking at using this to make a NANDroid backup. The OP says that the in-phone terminal method of installation doesn't worth with CM5.0.7, but is that fixed in CM6.0? Because that's what I'd be looking to install later.

I guess it doesn't really matter, since I'm just wanting to make the backup for the moment.

Fastboot info, in case it matters:

SAPPHIRE PVT 32A SHIP S-ON G

HBOOT-1.33.0013

CPLD-13

RADIO-2.22.23.02

Oct 21 2009,22:33:27

EDIT: Ok, I just used UniversalAndRoot to get root access (Which worked nicely), and attempted the in-phone terminal method described (After issuing the su command, naturally), but the phone says flash_image not found. Am I supposed to get this from somewhere first?
[myTouch 3G, Magic Android Development] dancer2:
I just wanted to add, maybe I didn't give enough info. Here is exactly what I write in the command prompt:

C:\android-sdk-windows\tools>fastboot flash recovery recovery-RA-sapphire-v1.7.0G.img

sending 'recovery' (4520 KB)... OKAY [ 1.693s]

writing 'recovery'... OKAY [ 2.460s]

finished. total time: 4.154s

So it transfers everything fine without error, but nothing happens then.

On the page 112 I found the same problem and something about radio, but I already have original radio so I have no idea what to do now.

Tried also through terminal emulator but got error: flash_image:not found

Please, if anybody have any idea please tell me.
[myTouch 3G, Magic Android Development] kwapiu:
Change from Google -> to HTC

White vs black, googlish vs HTC stock.

Did you root your phone? Have you added sdk to PATH? Try different recovery (ClockworkMod) ?

I recommend to read carefully Cyanogenwiki. Go step by step, read carefully and all shall be fine:)
[myTouch 3G, Magic Android Development] dancer2:
Thanks kwapiu for responese.

I did everything by the book, but I'm stuck there where I wrote.

I rooted the phone and Titanium backup is working fine. Everything wirh the paths is OK.

I would like AmonRa recovery, not ClockworkMod :(
[myTouch 3G, Magic Android Development] dancer2:
Additional info abut my problem.

Please look posts before for more details.

Maaged to copy flash_image to /system/bin/

and then entered the same command from the 1.st post from Amon Ra (recovery image copied to root of sdcard), it waits 2 seconds, shows again # and that's it.

This has been done from terminal emulator on phone

The same old recovery after phone reset with 3 androids, not Amon Ra :(
[myTouch 3G, Magic Android Development] kwapiu:
I am not any expert or so. My advise migth not be the best but...

Most probably your SPL (HBOOT) does not allows recovery flashing.

Reflash SPL to engineerings one, then try to flash recovery.

Sorry, I got 32A so am not fammiliar with your phone's type spls.

In order to flash recovery on my phone had to change spl twice.

As for adb flashing option:

Make sure recovery image is on your SDcard root (

adb push C:\recovery-RA-sapphire-v1.x.xX.img /sdcard/recovery.img

) - not any /system/bin/ or whatsoever - SDCARD MAIN CATALOGUE

you are supposed to reboot into phone's own recovery (reboot, home + pwr button) and only then flash

adb shell flash_image recovery /sdcard/recovery.img

.
[myTouch 3G, Magic Android Development] dancer2:
Hi kwapiu,

thanks again for the answer.

My SPL is allready engineering 1.33.2010

SAPPHIRE PVT 32B ENG S-OFF H

HBOOT-1.33.2010 (SAPP10000)

and it's rooted.

recovery image is in the root of the sdcard and everything I have done until now is OK.

in /system/bin/ I put the flash_image because I didn't have one.

While I'm in my original recovery, only fastboot is working, not adb.

Adb is working fine while I'm in OS.

Interesting about changing SPL twice. I will try to do that once again.
[myTouch 3G, Magic Android Development] kwapiu:
Try to give it a bit time.

I just rechecked - adb devices or any adb commend works within a minute or so from recover loaded.

Perhaps reinstalation of proper USB drivers will help? Wipe them completly and run android.bat from sdk tools or search this forum, there was somewhere good post about cleaning drivers and reinstalling them.
[myTouch 3G, Magic Android Development] dancer2:
But in a first post Amon_RA says that this can be done only from custom recovery, not original recovery (with adb, 2. method)? That is reason I didn't tried to flash recovery.

And I was waiting for 5 minutes, and adb finds no device, only fastboot.

Methods 1 and 3 have gave no results.

Drivers are fine and working great, thay are not causing any problems, I'm sure about that.
[myTouch 3G, Magic Android Development] kwapiu:
Sorry I can not help you then any further.

Check your recovery.log for clues what goes wrong.
[myTouch 3G, Magic Android Development] dancer2:
No problem at all.

Thanks a lot kwapiu for trying! ;)
[myTouch 3G, Magic Android Development] obliquefx:
what rom do you have on there? Is it CM5 or CM6 based?
[myTouch 3G, Magic Android Development] dancer2:
If you are asking me, then the answer is none of them. I have original 1.6 android on my device. If you were not asking me, sorry for answering :)