yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] flexnix:
Still on my G1 and using Pimped Out Recovery 1.4, I will be getting a MT3G this Thursday. I had a question, I don't see "Goto console" option on there, anyway that will be available anytime soon? Nice job by the way on it with the auto parted. :) Does it know what size your SD is and partition it to your liking? Is there a screen after clicking on that option?
[myTouch 3G, Magic Android Development] Roy Jovero:
Does this allow for superuser? I want my tethering back. Almost makes me wish I didn't sell my ADP1. Almost.
[myTouch 3G, Magic Android Development] Amon_RA:
The Ion recovery image on the HTC site indeed contains a G1 RLE...

I recompiled the recovery myself and added the green HTC logo :D , so no it didn't came that way.
[myTouch 3G, Magic Android Development] sangeet.003:
Ya the Rooted Magic Build may include SU access + Busybox flash it & use ur magic like adp with su access...
[myTouch 3G, Magic Android Development] kirbyn:
Nice work ;) installed on Vodafone Spain Magic :D
[myTouch 3G, Magic Android Development] Roy Jovero:
So is SU confirmed in this recovery image? And will I be able to use WiFi Tether for Root again, or will I need SU Whitelist?
[myTouch 3G, Magic Android Development] arcenik:
Hello,

I have a small problem (PVT 32A board).

- I do the "Try it out WITHOUT making changes to your device (NO flashing):" and all works fine.

- I flash my SPL with de 32A file. No problem.

After that I reboot on fastboot mode and do the step for "Flash it permanently"

1. Boot the device in fastboot mode. (OK)

2. Connect the device to your machine over USB. (OK)

3. $fastboot boot recovery-RAv1.0H.img (OK)

Wait for a minute or two.. (OK)

$adb shell mount -a (OK)

Ignore the failed mounts... (OK)

$adb push recovery-RAv1.0H.img /system/recovery.img (OK)

$adb push recovery-RAv1.0H.img /sd-card/recovery-RAv1.0H.img (OK)

$adb shell flash_image recovery /sd-card/recovery-RAv1.0H.img (NOT OK)

I receive in return "/sbin/sh: flash_image: not found"

Anyone can Help me please ?

Thanks a lot,

Arcenik

PS: Sorry for my bad english .
[myTouch 3G, Magic Android Development] Amon_RA:
Oops, it's sdcard and not sd-card ! Thanks for noticing!

Try this :

$adb push recovery-RAv1.0H.img /sdcard/recovery-RAv1.0H.img

$adb shell flash_image recovery /sdcard/recovery-RAv1.0H.img
[myTouch 3G, Magic Android Development] johnowa636:
Is there a way to ($fastboot pull /system/recovery.img) ?

I need to be able to unroot this Mytouch 3G before I return it and put back the original recovery.img
[myTouch 3G, Magic Android Development] arcenik:
@ Amon_ra I have always the same problem.

$ adb shell flash_image recovery /sdcard/recovery-RAv1.0H.img

/sbin/sh: flash_image: not found

SO, it's not a problem with the sd-card to sdcard. :(

thanks
[myTouch 3G, Magic Android Development] Amon_RA:
Can you try this and list the output :

1. Boot the device in fastboot mode.

2. Connect the device to your machine over USB.

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

Wait for a minute or two..

$adb shell mount -a

Ignore the failed mounts...

$adb push recovery-RAv1.0H.img /system/recovery.img

$adb push recovery-RAv1.0H.img /sdcard/recovery-RAv1.0H.img

$adb shell

#cd /sdcard

#ls -l

See if you can see recovery-RAv1.0H.img on your sdcard.

If you see it then :

#flash_image recovery /sdcard/recovery-RAv1.0H.img
[myTouch 3G, Magic Android Development] phoboulinos@gmail.com:
Weird....

I have a 32A board and I just flash the recovery img mentioned here. Works fine but I do a ./adb shell and then a cat /proc/meminfo and I get this:

MemTotal: 197144 kB

Shouldnt this be 288mb ?

EDIT: ok found the post about this
[myTouch 3G, Magic Android Development] Gormanimal:
I can get it to do all of these steps but they don't seem to stay applied. I did have to use some extra steps to get su access:

./adb push ./bin/su /system/xbin/su

./adb shell mount -a

./adb shell chmod 4755 /system/xbin/su

but once I've done that I can definitely access flash_image but upon reboot it still goes to the standard recovery boot screen. Is there some sort of commit or sync command I'm missing?

Edit 1:

According to this wiki 'Note: You must place the recovery image at /system/recovery.img. the init.rc boot script automatically flashes the recovery partition with that file every time you boot up the phone.'

So do I need to replace /system/recovery.img with recovery-RAv1.0H.img (obviously renamed)?
[myTouch 3G, Magic Android Development] Jan Rune:
I did manage to flash the recovery to my phone. I had to update to SPL HBOOT-1.33.2005 (SAPP10000). That went well, you made me look like a pro :D

But im not getting root access via "adb root"...
[myTouch 3G, Magic Android Development] Amon_RA:
Correct, be aware that some custom ROMs might have changed this location (Like JF releases)... What's your current ROM and Magic model?

That's what you do in this step :

$adb push recovery-RAv1.0H.img /system/recovery.img
[myTouch 3G, Magic Android Development] Amon_RA:
root access in recovery mode or once your mobile is booted?
[myTouch 3G, Magic Android Development] Gormanimal:
Oh, I didn't know that. I looked in the init.rc file but didn't see anything obvious (but I'm not sure of what I'd be looking for anyways). Right now I'm running nk02's ION Multi5 v4 repack. I've flashed my Rogers Magic SPL to the Engineering SPL HBOOT-1.33.2005. It was previously the following:

SAPPHIRE PVT 32A SHIP S-ON H

HBOOT-1.33.0009 (SAPP50000)

CPLD-12

RADIO-3.22.20.17

MAY 8 2009, 21:02:32

so now it reads:

SAPPHIRE UNKNOWN 32A ENG S-OFF H

HBOOT-1.33.2005 (SAPP50000)

CPLD-12

RADIO-3.22.20.17

Apr 20, 2009, 15:30:43

Of course, I should have noticed that.

It's not the end of the world that it's not working. I can still get the ROM loaded, and I can still get root access. But it would be more convenient :)

Thanks for all the work you've done, and I appreciate the reply.
[myTouch 3G, Magic Android Development] Jan Rune:
In recovery mode. All i get from ADB root is "Error:Closed"

X:\Android\android-sdk-windows-1.5_r2\tools>adb devices
List of devices attached
HT95WKF08185 recovery

X:\Android\android-sdk-windows-1.5_r2\tools>adb root
error: closed

X:\Android\android-sdk-windows-1.5_r2\tools>
[myTouch 3G, Magic Android Development] Jan Rune:
Okey "adb shell reboot" does reboot my phone. Then i have root right?
[myTouch 3G, Magic Android Development] Amon_RA:
Just do "adb shell" and you will see the # root sign.

This recovery does NOT give your root when you fully boot your device, it's just a tool to make you backup your device via Nandroid.

If you want to have root on your device you'll need to enable root in your boot.img nandroid backup and reflash it.
[myTouch 3G, Magic Android Development] Jan Rune:
Okey thanks Amon_Ra, do you have any pointers to get me there? How can i enable root in my boot.img? Or is this a big operation?
[myTouch 3G, Magic Android Development] MontAlbert:
see me reply to your post in other thread.

all pimped out featured, including sdparted can be accessed via adb when in recovery. see sdparted thread for more details but essentially it can be partitioned however you want. tbh i dont think its required for the magic as we have a truckload more memory than the G1 (my magic runs so much faster than my G1)
[myTouch 3G, Magic Android Development] flexnix:
I was looking over the One-Click root method and noticed them using your RAv1.2.0G. Then I noticed on the top of your post #1 of this thread that you require for the Engineerings SPL to be installed before this. Is this the case for 1.2.1G or 1.2.0G as well? It didn't seem he flashed it with the SPL you require.

http://www.youtube.com/watch?v=7kPgfyGRDHQ
[myTouch 3G, Magic Android Development] Amon_RA:
This thread was created long before the one-click method was used (so before the security hole in the kernel was found). If you don't use the one-click method you'll need to have an SPL that allows you to flash (or fastboot) a boot image. Most stock SPL's will not allow you to flash or even fastboot a boot image (perfected SPL's will give the error fastboot not allowed).

The SPL is of no importance when you use the oneclick-version, it also doesn't matter which version of recovery you use, they will all work with one-click.

Hope this clarifies things...
[myTouch 3G, Magic Android Development] flexnix:
Thanks. :D

I really like your recovery menu. I remember seeing it last month on YouTube and though, wow. Recovery menu's keep growing with great options.
[myTouch 3G, Magic Android Development] flexnix:
Also, I forgot to mention.. how does the "Fomat SD: fat32+ext2+swap" option work, is there another screen after that which lets you pick the size of your SD card and it'll partition it?
[myTouch 3G, Magic Android Development] Amon_RA:
There's no other screen which lets you pick the size of your SD card, it will automatically detect the SD card size and will partition 500MB Ext2, 32MB Swap, remaining Fat32.
[myTouch 3G, Magic Android Development] Visti:
I was having some trouble earlier with restoring a nandroid boot. I did format the sdcard, but I put the backed up backup in /sdcard/nandroid/originalbackupname/

That should be correct, right? It kept asking me to run nandroid-mobile.sh restore, which I did then did to no avail. That kept saying 'backup not found'. Now, I got it working through just manually doing 'fastboot flash * *.img' commands, but for future reference, what was I doing wrong?
[myTouch 3G, Magic Android Development] Drizzy Drake Rogers:
can you add terminal option back in please!
[myTouch 3G, Magic Android Development] DOHCtor:
update this thread Enom :D

http://developer.htc.com/google-io-device.html
[myTouch 3G, Magic Android Development] looktall:
if you're trying to right click and save target as, it won't work.

you have to single click the link normally like you would any other link.
[myTouch 3G, Magic Android Development] Malza:
Hello Amon_RA I have a really quick but important question (important in regards to myself that is!). I made a nandroid backup, then I wiped my phone, then i partitioned my SD card. Now I'm just curious... do the nandroid backsup sit on my SD card? If so did i just screw myself over? LOL
[myTouch 3G, Magic Android Development] Malza:
I am having this EXACT problem, can you please tell me how to restore my back up, because I have no clue how to get past this problem.
[myTouch 3G, Magic Android Development] MontAlbert:
sorry mate but you just screwed yourself badly..... you wiped your sd card and thus lost your nandroid once you partitioned your card....

it is a good idea to backup nandroids every now and again on your pc.
[myTouch 3G, Magic Android Development] Malza:
Ahh, oh its fine really just didnt want to go through the hassle of doing things the long way. Hofo rom is nice and all, but i wanted to see what the big deal of cyanogens rom was, its alright :) I'm enjoying cyanogens, more options!
[myTouch 3G, Magic Android Development] jokeyrhyme:
Firstly, thanks so much for providing us with this. Having such a fully-featured and stable recovery image to fall back upon makes me feel so much safer playing with different ROMs.

Any chance we can get the full filename we are about to flash displayed on that final "press SEND to confirm" screen? The finicky nature of that stupid trackball makes me sometimes wonder which file I actually had selected when I managed to press it in. When I click to choose the file, I've noticed sometimes that I can't help but move the selection up or down accidentally.
[myTouch 3G, Magic Android Development] Unimaginative:
Hi all, was wondering if I could get some assistance with making a Nandroid backup. I've never been able to make one successfully, always ending up with 'Backup not performed!' Seems everyone else who's had this was just due to lack of space, but I've so far tried;

* Eng SPLs .2004 and .2010

* 2 microSDs (both with >2Gb free)

* Different recovery versions

* Different ROMs

Anyone got any other suggestions? Not a big deal but it's been bothering me for yonks.
[myTouch 3G, Magic Android Development] jokeyrhyme:
@Unimaginative: have you tried re-inserting the microSD card while in the recovery mode? I had an issue a while ago where the card wasn't being recognised properly unless I tried that. Might be best to start with it out, and plug it in once recovery has booted up.
[myTouch 3G, Magic Android Development] NguyenHuu:
when will you update your recovery for the magic 32a? i noticed you already got it up for Hero and Dream.
[myTouch 3G, Magic Android Development] Unimaginative:
You wouldn't believe it; tried it out and the process went further along than usual then died again! Cheers anyway mate. Trust me to cop the weird happenings.
[myTouch 3G, Magic Android Development] rossmoore81:
Not sure if it was mentioned. Used cyan 4.1.11.1 to flash amons 1.2.2 dream recovery on my mt3g and works flawlessly. so i assume will flash to all 32b devices. Not sure about 32a. Just thought id toss it out there havent seen it elsewhere.
[myTouch 3G, Magic Android Development] drewX2:
Recovery will not boot/load

My Rogers HTC Magic will not boot this recovery. I had a fully functional magic for several months using lots of different roms, however I developed a problem with one of the roms and after trying to install a new one, I can no longer boot any rom.

I can only boot into the fastboot screen, which says the following:

SAPPHIRE UNKNOWN 32A ENG S-OFF H

HBOOT-1.33.2005 (SAPP50000)

CPLD-12

RADIO-2.22.19.26I

Apr 20 2009,15:30:43

Everytime I try to either boot ANY (old, new, cyan versions) recovery from either fastboot or flashing it, it does not wont to start up.

What should I do next?
[myTouch 3G, Magic Android Development] hetaldp:
I am awaiting for 1.2.2 on HTC Magic 32A Board

Please Release it

i love 512 mb Ext and 96 mb Swap

I already have Sandisk Mobile Ultra 8gb with 18mbps Speed Class 4 Card
[myTouch 3G, Magic Android Development] MontAlbert:
you can do that already using adb and sdparted that is included in recovery:

adb remount
adb shell
sdparted -es 512M -ss 96M creates 96MB swap ext2=512M fat32=remaining free space

i think- please correct me if i am wrong
[myTouch 3G, Magic Android Development] tmobilewinguser:
whenever i format my sdcard threw recovery when my phone starts up it says my sd card is blank am i doing something wrong this happens when i use the format sd card to fat32,ext2,swap as well
[myTouch 3G, Magic Android Development] kchau:
im in "HBOOT" under fastboot, and ive been stuckon this for the past 5 minutes or so

K:\>fastboot boot recovery-RAv1.2.1G.img

downloading 'boot.img'...

this is what happens under "fastboot"

K:\>fastboot boot recovery-RAv1.2.1G.img

downloading 'boot.img'... FAILED (remote: not allow)

K:\>fastboot flash recovery recovery-RAv1.2.1G.img

sending 'recovery' (3094 KB)... FAILED (remote: not allow)

i have spl 1.33.0006 (SAPP30000)
[myTouch 3G, Magic Android Development] depraved:
I did the same and it works great but the 1.2.2 Dream recovery taunts me with all kind of wondrous options that aren't usable by the keyboard impaired amongst us. Does anyone know if the Hero 1.2.2 recovery will work in a 32b???
[myTouch 3G, Magic Android Development] kchau:
if you have a perfected spl, but still have a nandroid of your factory rom, nandroid back to it, and then just use recovery flasher to do it.

i didnt want to goof around with flashing spl's so i just did that and it works.

however, if you nandroid back, then you get the first recovery back..

so i found another way:

adb shell

#flash_image recovery /location/blah.img

this works on perfected spl.
[myTouch 3G, Magic Android Development] KingJaffe:
i have a magic 32a. and when i click on backup image backup recovery image in linda the device resets. i have also used the hidden button trick to just type the recovery in and the device still restarts. the recovery image i am using is recovery-RAv1.2.1H.img. can anyone help?
[myTouch 3G, Magic Android Development] :No-Frost::
Any release date for the 1.2.2 version of the recovery but for the 32A sapphire???
[myTouch 3G, Magic Android Development] Super Jamie:
Thankyou very much Amon_RA, many phones would not be rooted or backed up without your efforts, donation made!

May I make a suggestion? Add an option to view Hardware, SPL, Radio versions like the stock fastboot does.
[myTouch 3G, Magic Android Development] Johnny Blaze:
shouldnt your radio be 3.22.20.17?
[myTouch 3G, Magic Android Development] :No-Frost::
Amon_Ra... I've seen that the hero recovery was updated to 1.2.2 but no news about the recovery for the Magic...

I don't want to hurry you up on this so it's more just a question if is there a release date for the 1.2.2 for magic???
[myTouch 3G, Magic Android Development] DopyG:
Is what you have to type in adb to remove permanent recovery image? If not what should i use to remove it??
[myTouch 3G, Magic Android Development] kkannan1982:
Unable to boot my HTC magic

Hi Amon,

I have installed the Amon_RA on my HTC magic,

Then I have try to update the radio image ota-radio-2_22_19_26I.zip, after installing i could not able to Boot My HTC... either Fast boot, recovery mode doesn't work. Any help would be of great help...
[myTouch 3G, Magic Android Development] Amon_RA:
Upgraded to v1.2.3

Change-log :

v1.2.3

Aligned the Magic version with the Dream version.

Recompiled 32A kernel to support squashfs

added squashfs to fstab (should fix issues accessing system and xbin for people using Cyanogen's ROM)

Replaced the GREEN-key by the HOME-key for confirmation

Removed the menu title to create more space

Added Wipe SD:Dalvik-cache

Added Rotate fix

Removed "Move apps to SD" because it's automatically implemented by most ROMs already.

Added confirmation before performing a nandroid backup

Set swap back to 32MB instead of 96MB when doing an auto partition SD-card from the menu

Upgraded fix_permissions to v1.31-R3

Added BART v0.9.2

Fixed many bugs (mostly in scripts)
[myTouch 3G, Magic Android Development] hetaldp:
I am unhappy with 32MB on Swap Partition

Major People want 96 mb SWAP Partitions

???????? Any Specific Reason for Coming Back 32 MB from 96mb ?????
[myTouch 3G, Magic Android Development] Amon_RA:
True, I need to optimize the code so it loads faster...

Are you good in C ? The menu needs to be re-written ;)
[myTouch 3G, Magic Android Development] Amon_RA:
Use sdparted from adb and define 96MD swap if you are unhappy.

I write things so everyone can use them, not everyone has a rom that uses a 96MB swap... and 96MB was giving issues on some ROMs
[myTouch 3G, Magic Android Development] Cheesebaron:
My C is on a hello world level, though I will have some short lessons at the end of the semester :P

I could look at it though but I'm a lot better at Java than C :P
[myTouch 3G, Magic Android Development] jokeyrhyme:
1.2.3 working well for me. Thanks for making the confirmation screen more informative. The GREEN confirm button was working fine for me in previous versions, but I suppose the HOME button is safer and more universally understood.

PS. Sorry for pestering you on Twitter. :P
[myTouch 3G, Magic Android Development] hypmatize:
im getting this error when im in recovery using adb:

mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: No such file or directory

any thoughts on why im getting this?

using rav1.2.1G currently...
[myTouch 3G, Magic Android Development] NguyenHuu:
i tried the adb way but i get that error too, so i did fastboot way and it worked fine. try fastboot instead, same thing really nothing difficult with either technique.
[myTouch 3G, Magic Android Development] Tony_M:
Ru

What spl are you running? Im asuming yours is a 32A.
[myTouch 3G, Magic Android Development] hypmatize:
I would but i don't have an engineering spl.... :/

can't i use terminal on my phone instead?
[myTouch 3G, Magic Android Development] DOHCtor:
Yes, copy the recovery.img to your sdcard. Boot up your phone, open up better terminal and type

$su
#flash_image recovery /sdcard/recovery-RA-magic-v1.2.3G.img

or if you have 32A device

#flash_image recovery /sdcard/recovery-RA-magic-v1.2.3H.img
[myTouch 3G, Magic Android Development] regunus:
well, the opossite for me. fastboot didn't work and adb worked fine :cool:
[myTouch 3G, Magic Android Development] str4vag:
i get that too when trying to upgrade. just continue with the next step and it still works. on 1.2.3H now already.

on another note :

Do i still need the ext3 partition when i want to use the switchrom script from this recovery?
[myTouch 3G, Magic Android Development] typedink:
I am thinking of updating but I had an issue that might affect me updating, I posted it in another thread but did not get a reply back.

I changed my SPL to a engineering one that someone suggested I used since they too had a MyTouch. I changed the spl and this is what it says.

SAPPHIRE PVT 32B ENG S-OFF H

HBOOT-1.33.2005 (SAPP30000)

CPLD-10

RADIO-2.22.19.26I

So although it is a google branded one MyTouch3G I am not sure what to use anymore since there is a H at the end of S-OFF H, before I changed the SPL it did say G.

Phone is running fine so far but now I am not sure what I should be installing and what I should not. Should I try the G or the H version of the new Recovery?
[myTouch 3G, Magic Android Development] str4vag:
i think you still go for the G version of the recovery as your board is still a 32B.
[myTouch 3G, Magic Android Development] Wysie:
hypmatize: I read somewhere (in this thread I think) before that the error is normal, just proceed on :D, as str4vag has stated. I personally did the fastboot way for this release though.
[myTouch 3G, Magic Android Development] tazz9690:
Hey Amon, quick question. I have a 16 GB class 6 transcend sd card. When I use parted using your recovery, I always get 202 MB of swap. Any ideas as to why it's so big?
[myTouch 3G, Magic Android Development] hypmatize:
Thanks for the info wysie ill try that method next update. as for fastboot i can't really use it unless i change my spl... the terminal method worked perfectly tho. :D
[myTouch 3G, Magic Android Development] str4vag:
just a question to confirm an issue

anyone else not getting any responce from their accelerometer after updating the recovery?

i know recovery has nothing to do with the accelerometer. but just curious. mine stopped working. i noticed it a few hours after updating recovery.

So i thought i might give it a shot and ask here since i have not done any other updates since the recovery.
[myTouch 3G, Magic Android Development] Wysie:
str4vag: No issues here. The recovery happens to have a auto-rotate fix though. Haha, the irony :P.
[myTouch 3G, Magic Android Development] marc_hav:
I am basically in the same situation as you are (see signature).

I am planning to upgrade my recovery tonight, I am going to take the G version, worked for me for 1.2.1.
[myTouch 3G, Magic Android Development] DOHCtor:
It doesn't matter what it says at the end.

32B = G

32A = H
[myTouch 3G, Magic Android Development] str4vag:
hmm..that might work..i totally missed that..lol..

thanks for pointing it out :)

will update if it actually fixes my problem.

nope, still does not rotate.

things that are borken because of the issues are :

1. abduction: World Attack (my poor jumping cow)

2. compass app

3. Gps Status

edit 2:

wipe, reflash and still not working.
[myTouch 3G, Magic Android Development] Wysie:
str4vag: Could it actually be a hardware problem? Have you tried other ROMs? If you suspect it's the recovery (which I seriously doubt...), have you tried flashing it? Hope you get it fixed soon!
[myTouch 3G, Magic Android Development] hetaldp:
Thanks for Knowledge I though Bigger is Better
[myTouch 3G, Magic Android Development] guinnes.s:
USING fastboot TO FLASH THE NEW RECOVERY.

but i get this error

"failed remote:signature verify fail"

any idea????
[myTouch 3G, Magic Android Development] Wysie:
guinnes.s: do you have an engineering spl installed? if no, "fastboot boot" it first, then flash an engineering spl... :) after that you can try to fastboot flash it again. or just try the other method without fastboot ^^.