yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] garsim:
:) solved :)
[G1 Android Development] legaleye2005:
Can anyone point me in the direction of the original recovery image? I'm trying to go back to regular T-Mobile US rom and the recovery rom is not reading any update.zip file from my sdcard...
[G1 Android Development] mrcrs:
google

http://www.htc.com/www/support/android/adp.html
[G1 Android Development] legaleye2005:
PLEASE HELP: Recovery console will not read ANY update.zip ! It says "verification failed. No signature. Installation aborted."

1. Was running recovery 1.2 with SuperHero beta 2.

2. Then wiped.

3. Then flashed original spl.

4. Then flashed original recovery console

Now, the recovery console will not read any update.zip 's ! PLEASE PLEASE HELP. Thank you.
[G1 Android Development] mikedmeyer:
Looks like you un-rooted your phone. Start over. (RC29 dreamimg.nbh, etc.)
[G1 Android Development] dixxa:
Since many roms don't work for the magic,

I'd like to know if this recovery could work for the HTC magic ?

I'm currently tweaking a friend's of mine phone.
[G1 Android Development] EpedemicOptikz:
Hey bro, whenever you get the chance, on your to-do list, it would be cool to see a move apps back to internal memory feature. Although the super-wipe is just as good.

If anyone can help me though, I have my partition in ext3 right now, and I everytime I wipe, I have left over apps on my SD that always come up and I get a bunch of force close options. I want to get rid of the apps on my SD card or atleast move them back to internal memory but my partition is in ext3. Anyone know a way on how to do this?
[G1 Android Development] Mysticales:
Whew. Nice indeed just flashed to it. Very nice. =) I see you have it built in for the apps to SD. What about other options like the cache or somehow tie lucids script in there?

Imagine if it had format sd card and so in there too. Otherwise this is pretty darn nice. =D
[G1 Android Development] tribalb:
I got the same error when running fix permissions. Anything to resolve this. So far i have tune wiki and weatherbug that force closes on me. Any input as to why fix permission is not working for me would be greatly appreciated. Im not that great with coding. Thanks in advance
[G1 Android Development] robbie725:
Legal Eye why did you wipe? why would you flash original spl? and why would you flash original recovery console to flash this image? I don't get it and am confused as to what you did... if you flashed all your originals you might have unrooted your phone... all you had to do was copy the file to your SD card and go to terminal and type this "flash_image recovery /sdcard/cm-recovery-1.2.img" (without the quotes of course)... I don't understand why you did all that...?????:confused:
[G1 Android Development] ebadevil:
can I just flash this and have things as is or will I have to wipe and redo all the roots and stuff?
[G1 Android Development] robbie725:
ebadevil...

don't wipe... just do the following...

download the image from the 1st post...

copy it to your SD Card...

go into terminal emulator...

type su

type flash_image recovery /sdcard/cm-recovery-1.2.img

power off...

press and hold home and power...

enjoy your new recovery image...

there you go!

peace
[G1 Android Development] superhansel:
Excellent stuff.

Huge thanks to Cyanogen for making it so easy for me to get Apps2SD and Nandroid working.
[G1 Android Development] ebadevil:
thank you very much, worked like a charm!
[G1 Android Development] Lou2serious:
I followed all the steps and it says "flash_image not found" grrrrrrr

dont know what else to do
[G1 Android Development] sacredsoul:
I did upgrade_fs and it apparently didnt work so tried to "e2fsck /dev/block/mmcblk0p2" and then upgrade_fs. The first upgrade when with me pressing "y" to fix a few errors. The 2nd upgrade went smooth but apparently, Im still in ext2. And ideas why? Thanks!
[G1 Android Development] robbie725:
Lou,

If thats the error message you are getting, then it can only be one of 2 things... 1. The image is not on the SD card... use USB cable, mount the card and check to see that the file is in fact on the SD card or 2. You mis-typed the commands when you were in the terminal emulator!

peace
[G1 Android Development] Rafase282:
It would be cool if we have an option to restore a nandroid back up.
[G1 Android Development] jdwash11:
+1 on this issue

how can we "un-do" apps2sd from the recovery screen?

I'd like a fresh start (without formatting my sd card) but this causes problems after performing a wipe
[G1 Android Development] alritewhadeva:
Do it in recovery...Boot into recovery->console->upgrade_fs->reboot

If that doesn't work, just go into a partition manager and format it to ext3 rather than ext2 :)
[G1 Android Development] g1201:
did that now im stuck on the g1 screen
[G1 Android Development] marshallladd:
Second that. Great work though. Love the trackball support especially.
[G1 Android Development] Denkai:
can you restore an nandroid backup through recovery, or do you have to do it through fastboot? I've been doing it through fastboot. right now fastboot would still be quicker cause I don't want to have to rename everything.

Am I doing something wrong in my nandroid restore or does nandroid not backup /system/sd and /data/app, etc.
[G1 Android Development] robbie725:
Are you still stuck at the G1 screen? And do you know how to use fastboot?

EDIT: I see you posted your own thread... http://xdaforums.com/showthread.php?t=528148 are you still stuck?
[G1 Android Development] mhsbrian:
This is my expirience as well, I'm having issues with NFS STALE errors and I was hoping the ext2 file system checker could do something for me before I formated my ext2 completely using my PC.
[G1 Android Development] spyler03:
I got this working and i love it!! I almost forgot that when using terminal i have to type su first.

anyways thanks!!
[G1 Android Development] mikedmeyer:
You have to use fastboot. Nandroid backs up everything in /data (data.img); it does not back up /system/sd.
[G1 Android Development] MoB-HeArT:
ahhh i dont kno why people dont post how to do these thing i dont know wat im doin wrong but i tried it in terminal and it said access denied......someone tell me how to do this
[G1 Android Development] g1201:
is there a way to take this off bcuz it got me stuck on the g1 screen so if thhere is way 2 go baq to the j.f recovery
[G1 Android Development] xidominicanoix:
in fastboot mode do: fastboot flash recovery NAME_OF_RECOVERY.img

where NAME_OF_RECOVERY is whatever you named your recovery image.

you can grab it from your nandroid backup (assuming you made one) or from wherever else its posted
[G1 Android Development] g1201:
k thanx bro u r da best
[G1 Android Development] Mr. Moe:
Ok, I grabbed this recovery. Like the ability to use it without opening the keyboard. BUT here's a problem that I have been able to reproduce everytime..

I am runing JAC 1.71 and 1.72 ROM (one on each of my G1's)

Here's the problem.

I Download the ROM to SD, rename to update and flash accordingly.

RESULTS: All works fine. I get the icon saying low on memory so I decide to use the Recovery image's apps to sd (ALT+F) to see how well it works.

SOOOOOOOOOOOOOOO;

I Go back to recovery and select Move apps to sdcard.

RESULTS: Both phones sit there at the first boot screen..

I go back to recovery, go to console and type reboot.

RESULTS: Infinite HTC bootloop.

I go Back to recovery and re-flash ROM

RESULTS: All back to normal, but still no apps to SD
[G1 Android Development] Mysticales:
For the poster above, if you have issues with the recovery app to sd, Try running Lucids from the terminal to map them. See if that works fine, shouldnt need to do much other then relink them. lucid -a -ls I think was the command after you installed the script.

Tho it should work with the recovery, but I think the recovery one only moves them from the internal to sd from the 1st run, if the folder is already there on the SD card, it might not work. I know lucids says youd need to delete the app and app-private or rename them if you run a script that says move internal app to SD.
[G1 Android Development] cyanogen:
The menu option tries to run e2fsck with "-y", but in some cases this isn't enough and you need to run it interactively.

Drop to console (alt-x) and run:

e2fsck /dev/block/mmcblk0p2

You'll need to say yes to everything manually. After doing this, I would recommend upgrading your filesystem to ext3, if you run a ROM that supports it. EXT3 doesn't become corrupt like this.
[G1 Android Development] White Emperor:
How can i install it?

I've never done it...
[G1 Android Development] kevo:
Lol, wat??
[G1 Android Development] White Emperor:
Nothing, I wanted to install the cyanogen recovery image, but I did it. lol
[G1 Android Development] madunix:
whats the benefit from going from ext2 to ext3? and also when i convert it from ext2 to ext3 does it format it before converting? or do i need to format my ext2 partition before i go ahead with the ext3? any quick response is greatly appreciated, i tried the search feature but it just keeps on throwing me around places that don't relate to my search.
[G1 Android Development] cyanogen:
You need to run a ROM that supports EXT3 for it to be useful.

EXT3 uses journaling, so it doesn't need a filesystem check after an unclean shutdown. The only ROM that actually shuts the system down cleanly (instead of just killing the power) is mine, but power loss is still an issue. You should stick with EXT2 if you have a crappy SD card, though. EXT3 should only be used with cards that do wear leveling, which is almost all newer cards.
[G1 Android Development] madunix:
i c... cool beans, thanks for the quick response, i have a 8GB SDHC Class 6 card, so my sdcard should be fine, and i believe i am currently running your ROM, you'd assume i know what ROM i'm running but i ran into a lil trouble with somebody elses ROM that required the new SPL and i didn't know, so i got stuck doing a factory wipe with a update.zip that didn't work but had a backup in my sdcard somewhere so i used the console to delete the bad update.zip, moved the other .zip n renamed it n it installed just fine, it's a great ROM and it's extremely fast compared to what i've used before, but i havn't given this rosie thing a try yet. also any information on the formatting issue from going from ext2 to ext3? i don't have my usb cable with me so that's why i ask. idk how to format my ext2 without my usb cable hooked up to my computer.
[G1 Android Development] jbomxda:
Apps2SD question

Cyanogen, I have a question. In your CyanogenMod ROM thread you stated the following:

Originally Posted by cyanogen

Ok guys I've been testing stuff all morning and I am quite pissed right now

I can cause the phone to crap out by playing iMeem and loading the main xda-developers forum page (the HUGE one). This is with AUFS enabled. If I disable AUFS and use symlinks or a bind mount, it DOES NOT HAPPEN. I also tried patching in the older UnionFS, and it has the same problem as AUFS. So something does not like this union-mount. When I see the problem occurring, the IO wait is insane on the device (> 80%) and the lowmem killer is going crazy.

We are seeing this happen more and more often now that people are running memory-hungry home replacement apps and widgets.

So, here is my proposed solution:

FORGET THE UNIONFS/AUFS FOR APPS2SD!

I keep thinking about it, and we aren't gaining anything (other than seeing a huge "internal memory" size in "Phone Storage") by using a union-mount. I think a well written startup script that sets up bind mounts on startup (probably copying anything off of internal memory app/app-private before) would work 1000x better.

Does the Apps2SD in your recovery image uses UNIONFS/AUFS method? If it does, can it be changed per your proposal so it uses symlinks? That way we will always get the best Apps2SD method when we use your already awesome recovery image.

I've been trying to keep up with both Cyanogen's threads as well as others, and I apologize in advance if I've missed this being asked already. Just had a thought that could probably benefit all of us in the future! :)
[G1 Android Development] hiroots:
lol thats what i said.
[G1 Android Development] jdwash11:
BUMP

<10 char>
[G1 Android Development] cyanogen:
Drop to console and run this:

mount /system/sd
rm -rf /system/sd/*

This will erase everything on your ext partition.
[G1 Android Development] B-man007:
Does this require the HardSPL, DevSPL, or Haykuros special SPL, or will it work fine on the stock Google SPL? I know Nandroid requires Dev or Hard SPL, but I don't wanna risk bricking my phone cause I got it off eBay :P

(I did search this thread)
[G1 Android Development] mrsirpantsalot:
Ok, so i have successfully flashed this recovery image and used it to flash an update.zip file however, this recovery image seems to disappear. After the second restart of the phone the original recovery image is back and cyanogens recovery flash is gone.... idk if anyone else has found this.

I did search the thread and found nothing, so i thought id post!

What program do you use to run the commands?

Ive also tried this

* mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

* cd sdcard

* flash_image recovery recovery.img

* cat recovery.img > /system/recovery.img

but it results in an error no space left on device
[G1 Android Development] cyanogen:
Some ROMs have a service that automatically reflashes the recovery image on boot if it's on the system partition. I don't know of any custom ROMs that actually include it there, though. If you see a file /system/recovery.img, delete it.
[G1 Android Development] mrsirpantsalot:
I'm on RC29 with HardSPL and Radio 2_22_19_26I, and its killing me. I would like to flash this recovery before I flash to JACHero.

How would you recommend this for me?
[G1 Android Development] cyanogen:
Don't run this last command. And run "rm /system/recovery.img" too.
[G1 Android Development] mrsirpantsalot:
thx so much! :) good thing its working cuz i just bricked flashing to the Special SPL
[G1 Android Development] SRT102JZ:
i just went from JFv1.5 to CM3.4 and i just installed recovery 1.2. about how much free internal memory should i have? its showing only 72mb, i thought people we getting over 1,000mb with this mod? what am i doing wrong
[G1 Android Development] mrcrs:
this has nothing to do with the recovery rom. fyi

other people are getting those numbers because they are using apps2sd.
[G1 Android Development] temporizer:
Can you add this to your recovery.img?
[G1 Android Development] Proxin:
I'll keep an eye on this, once Nandroid restore option is available I'm definitely giving it a go :)

Thanks for your hard work.
[G1 Android Development] cboy007:
can you make it so that in your recovery utility when we select "apply sdcard:update.zip", have it go to another screen where we choose which ZIP file to install?

or make another option in the list that's install THEME which would then look for a file update-theme.zip (i like this idea more!)
[G1 Android Development] tbgreen:
thanks work great

just recovered back my cranky accelerometer issue.

Thanks!
[G1 Android Development] padgettim:
I have been trying to install the new 1.2 image recovery and hit alt x and type in as shown flash_image recovery /sdcard/cm-recovery-1.2.img and all i get is flash image: not found. The neew image is on my sd card also.
[G1 Android Development] ScottGood:
remove "/sdcard/" so its just "flash_image recovery cm-recovery-1.2.img" just remove the Quotes
[G1 Android Development] temporizer:
if it's on his sd card doesn't he have to type

flash_image recovery sdcard/cm-recovery-1.2.img
[G1 Android Development] ScottGood:
This code is correct if you ate in terminal or using ADB, but if you are in the recovery console you do not have to tell it the location.

This happened to me

See posts 28 and 73
[G1 Android Development] padgettim:
Thanks guys I figured it out but know when i try to install ap2sd with the knew recovery image it says is your sd card partitioned.I used paragone 9 to partition but i must have done something wrong any suggestions. I am really a noobe
[G1 Android Development] thainess:
tryed in recovery "flash_image recovery cm-recovery-1.2.img" (without quotes)

this one tells me that image cannot be found

tryed in terminal "flash_image recovery sdcard/cm-recovery-1.2.img" AND "flash_image recovery /sdcard/cm-recovery-1.2.img"

this one tells me: permission denied

i have copyed and pasted the file cm-recovery-1.2.img file to my sdcard
[G1 Android Development] cyanogen:
When I make 1.3, I'll do an update.zip version of it to simplify things.
[G1 Android Development] xidominicanoix:
is the file on the root of your sdcard and named "cm-recovery-1.2.img"?

if not then thats your problem

you could also flash it thru fastboot

fastboot flash recovery cm-recovery-1.2.img
[G1 Android Development] thainess:
yes it is in my root

could you explain to my what fastboot is?
[G1 Android Development] mjb337:
Right on Bro this worked out just fine for me i tried all the other directions but none of them worked but as soon as i saw/read this post i went straight to Terminal Emulator on my G1 and typed it in and it worked now i have me a new pimped out recovery...Thankz
[G1 Android Development] NeoBlade:
Fastboot = Turn off/reboot your mobile then turn it back on whilst holding down the CAMERA button. You will then boot into the SPL. Plug in your USB cable, press the BACK button and you'll be in Fastboot mode.
[G1 Android Development] thainess:
sorry im kinda new at this what do i do after i am in fastboot mode?
[G1 Android Development] ScottGood:
On PC - start - run- CMD- enter

Then Enter

fastboot flash recovery (your filename IE: C:\recovery\cm_recovery_1.2.img)

if you get an error see http://xdaforums.com/showthread.php?t=459830 Post 2 for getting Fastboot setup just skip flashing the stuff it says to flash
[G1 Android Development] Four Fourty Four:
did you type "su" in terminal before the flash command?
[G1 Android Development] skeeedup:
cyanogen=awesome

dude can i just tell you how awesome this is. thanks so much man
[G1 Android Development] :
everytime i hit the link from the first post, i don't get a downlood just goes to a page with a whole lot of numbers and letters, how i am supposed download this
[G1 Android Development] JazzMac251:
ran into a bug while trying to upgrade to Haykuro's 2005 SPL. The Cyanogen 1.2 recovery is somehow blocking the flash of the SPL. had to go back to JF's 1.43 to flash successfully.

more info here: http://xdaforums.com/showthread.php?t=517593&page=34
[G1 Android Development] cyanogen:
Right click, save as.

I have no idea why this would be true. I didn't modify any of the actual "flash" code, it's just newer stuff from AOSP that I patched the new features into.

I'm staying away from that SPL anyway, so I won't be testing it anytime soon :)
[G1 Android Development] temporizer:
Why are you staying away from it? Is there ne thing wrong with it?
[G1 Android Development] gahigg:
how do i check and find out what img i am on

i did the install img like your instruction there was some errors during the install now i try again it coming back nothing

what command that i should to find out what img is in my g1

thanks

i amrunning cm-3.4.6 rom
[G1 Android Development] :
worked

right clicked as you said and worked perfectly. now with your new image along with your 3.5 rom, my phone is super fast, no coma and a breeze to use. Can't wait till your next recovery with a list of different update.zips so i don't have to keep a backup sd card with a good zip in case of boot loops
[G1 Android Development] alritewhadeva:
Yes there is. There's a chance it will brick your phone. Has already happened alot and has already happened to cyanogen himself. Check out his twitter :cool:
[G1 Android Development] airiyon:
hmm Im running JF1.5 + JF 1.43 recovery image and after downloading this recovery image and typing in the code in the terminal emulator nothing happens. Im pretty new to this so any feedback is appreciated.
[G1 Android Development] advil0:
Is there a way to format my EXT2 partition from this recovery console? My build won't boot unless I do, it won't let me upgrade to EXT2, and I don't have access to my MicroSD > SD adapter so I can't install another build.
[G1 Android Development] ScottGood:
Cyan,

Could you please give us all an ETA of your next update to the recovery image?

just an FYI I for one would like a background image that is a little easier on the eyes but if you keep it as is, its cool.
[G1 Android Development] b.mann:
I have tried all of the methods from the Nandroid sticky to the terminal inputs here, and always get "file not found" error in the terminal and a "flashboot is not a recognized command" in my CMD prompt. What am I doing wrong?
[G1 Android Development] kkrace:
that is true, confirmed cm1.2 recovery is not working when flash new SPL.. when i back to JF 1.43 recovery everthing works fine.
[G1 Android Development] temporizer:
I have the new spl and cyan recovery 1.2 and I am having no problems whatsoever.
[G1 Android Development] nicholasbithell:
Cyanogen take a look at

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

Is this something you could implement into your recovery?
[G1 Android Development] mikedmeyer:
I think they're saying they can't flash the new spl from cyan recovery 1.2, not that you can't have both installed; i.e. I installed the new spl a long time ago, then some time after that I installed cyan recovery 1.2 and like you I'm having no issues. They're saying you can't do it the other way around.
[G1 Android Development] temporizer:
I did it that way. I've had cyan 1.2 for a while then just recently flashed the new spl with no problem.
[G1 Android Development] Denkai:
another feature Idea for 1.3 is the ability to exit out of console and back to recovery without a reboot.
[G1 Android Development] cyanogen:
Just type "recovery" and it will take you back.
[G1 Android Development] temporizer:
You think of everything, don't you?
[G1 Android Development] mikedmeyer:
They must have something else going wrong then.
[G1 Android Development] obijohn:
This only works once tho. If you type "recovery" and go back (to apply an update, say), then want to get back to the console (to copy a theme to apply, say), the console is unusable and you have to do a 3-finger-salute. To get around this, I usually type "reboot recovery" instead, which takes a little longer since the phone has to reboot.
[G1 Android Development] cyanogen:
Whoever is saying that you can't flash DangerSPL with this recovery image is on crack. I just flashed it, and it works fine.
[G1 Android Development] Denkai:
that's BS, how do you have hero 1.3?

Will this be released with all versions of CM?
[G1 Android Development] bkmo:
how do I flash it?

If I flash from the jf recovery terminal I get flash_image not found. If I try the commands from the terminal emulator in the rom I get "can't find recover partition" . So what am I doing wrong. The instructions were not very precise.

Thanks
[G1 Android Development] manup456:
Where can i enter that command besides the CMD because i'm not at my p.c?

Can it be done in terminal?
[G1 Android Development] fleshdeep:
I did it in better terminal emulator on my phone.
[G1 Android Development] spikus:
search

...look at the first 2 threads, and you will find all the knowledge.
[G1 Android Development] tubaking182:
of course it can be done in the terminal, it's just like flashing the JF recovery image when we rooted our phone(except we don't need telnet this time)
[G1 Android Development] sir*mez:
alt-x doesnt work. its still great work!!
[G1 Android Development] tubaking182:
well if the phone gave you the error EXACTLY as you typed it here then you have a typo. it should be flash_image recovery recovery.img

your error says it can't find the recover partition which makes sense as it doesn't exist
[G1 Android Development] manup456:
well i did su and that command and nothing ill try better terminal but dought that will make a difference.
[G1 Android Development] cyanogen:
Working on fixing ALT-X (console)
[G1 Android Development] manup456:
Ahh.... restarted the phone and it worked first shot great work.