yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] JKshowman:
Help pleaseeeee

ok, i got all the fastboot stuff down, and installed everything, but on command prompt, i type in "fastboot devices", and nothing pops out!!!! also (if this helps any) in device manager (for windows xp) under adb interfaces it is listed as

"htc bootloader". isnt it suppose to be "htc dream"?
[G1 Android Development] the_faith01:
this really isn't working for me now for some reason.

Using HTC ADP 1.6 DRC83 + v1.8.4.5- Expansion-Pack

Typing in terminal app

su
flash_image recovery /sdcard/cm-recovery-1.4.img

but I get:

flash_image: file not found

tried mounting the sdcard but i get:

Usage: mount [-r] [-w]..... device directory

and mount -o rw,remount /system does the same thing.

Anyone know what's wrong?

Thanks
[G1 Android Development] free-sidux:
try using adb with fastboot, as explained in the post.
[G1 Android Development] the_faith01:
explained in which post?

I'm not familiar with adb.

And the download link is blocked for me...
[G1 Android Development] akapoor:
The most basic thng youre going to want to make sure is that the recovery file is named cm-recovery-1.4.img and that is on the ROOT of your sdcard (no folders)

If the problem still persists ,try redownloading the image and try to flash again.
[G1 Android Development] the_faith01:
thanks but i've tried that

I even renamed the file and flashed them too.... :(
[G1 Android Development] ei8htohms:
Does that ROM or "expansion pack" have busybox?

I didn't read that whole thread, but it wasn't obvious to me from the OP.
[G1 Android Development] jroid:
or u could of lost your root, like what happened to me. back up nd running again. im stayin on 4.1.11.1 for now, runs perfect for me.
[G1 Android Development] the.snks:
Moved. Mods please delete this post.
[G1 Android Development] sleepy_sanchez:
Okay I messed up by not doing research on this. I was trying to install cyan's almost stable 4.1.99 image. After flashing. Htc's 1.6adp image on cyan's recovery mode 1.2. I couldn't figure out how to flash cyan's image. I then got confused, and. Started getting a picture in recovery mode. Some kind of problem picture. The recovery mode now has less options, no command prompt option for example. I tried to fastboot install recovery image 1.4 and encountered no problems during the flashing of recovery. But recovery mode still doesn't work. How do I get this recovery mode working, so I can install cyan's rom
[G1 Android Development] tdurd3n1:
i kind of had the same issue, i jumped the gun and installed the official t-mobile 1.6 update, i lost root and everything..ofc...

to get the cm-recovery back i had to flash it from inside the terminal on the phone...so just save the cm-recovery image to root of sdcard, and get root inside terminal app on the phone, and flash it that way...use this code:

flash_image recovery /sdcard/cm-recovery-1.4.img
[G1 Android Development] sleepy_sanchez:
so do I have to root my phone again? I tried using adb shell and was able to run as root. but I get flash_image: not found when I try to flash cm-recovery

Right now I have the ADP rom working.
[G1 Android Development] Rurouni Requiem:
I'm getting permission denied when trying to use terminal, and when I use ADB, I get flash_image: not found.
[G1 Android Development] icreative:
Thnx Cyagen
[G1 Android Development] cclowlow:
ok very new to this and a lil confused with this right now with things not working right i .. i have a g1 just update it to 1.6 i what to flash it and root it but really do not no where to start. so can some one help me out
[G1 Android Development] prince.siraj:
http://android-dls.com/wiki/index.php?title=Quick_Root

Follow this Guide. it's the simplest one
[G1 Android Development] spikus:
haha...you know i was thinking the same thing, because in the web browser when i click items that are too close to each other the trackball always seems to roll just as i am about to click and it is a pain in the ass.
[G1 Android Development] robpet2:
worked like a charm !!!
[G1 Android Development] m0nst3rr:
when i type the command i get

flash_image:not found

and when i try using su i get

sh : su : not found

or something along those lines
[G1 Android Development] mrpandainc:
Okay I'm high doing this and the whole thing looks 3d when im selecting option with the trackball. Crazy **** man. I love the ROMS and Builds.
[G1 Android Development] namsir:
will you add the option to mount sdcard to pc to view files using the below command to the next version?
[G1 Android Development] DreamcastDC:
Make sure you change 1.0 to 1.1, because 1.1 is the new version.
[G1 Android Development] teflon252:
The most complete recovery image.....keep up the excellent work
[G1 Android Development] RainCrow:
Fantastic man! Thanks for this : )
[G1 Android Development] maxisma:
With flash_image..

Could we restore nandroid backups with it?

E.g. flash_image system system.img

If yes, cm, please include this as a nandroid restore script :-)

And please, include promt before wipe.

Thanks for your great work!
[G1 Android Development] prash:
For anyone that wants to do it right from their phone, open up terminal and:

su

cd sdcard

wget http://n0rp.chemlab.org/android/cm-recovery-1.1.img

flash_image recovery cm-recovery-1.1.img

you can 'reboot' to reboot normally or 'reboot recovery' to check the new recovery rom after that.
[G1 Android Development] andonnguyen:
I also agree with the idea of the option to mount the sdcard in recovery mode (just in case people can't get past the recovery screen, and have no card reader)
[G1 Android Development] Sheldonjace:
We need to rename JesusFreke "God" (Creator of all that is ROOT) and Cyanogen "Jesus" (Gods son of course for just making God's **** rock).

Without these two developers...our lives (phones) would be average.

Donations will definitely be sent after bills are paid haha.
[G1 Android Development] kizer:
What exactly does the apps2sd do?

Meaning if we already have a partion with our apps on it does it create the symlink as well as copy over the apps? If the apps are already there does it just create the symlink?

I guess I'm beating around the bush does are apps stand a chance of getting lost. :)
[G1 Android Development] kizer:
Intalled great. I gave the sdcard a check and it said there where errors, but well don't know which ones. ;) I know I have that stale NFS error from earlier that I never got around to fixing.
[G1 Android Development] DOHCtor:
I love this pimped out recovery image a lot. Thank you CM!
[G1 Android Development] carlitozway57:
Worked fine. Greatly appreciated!

One piece of constructive criticism though. It is ridiculously easy now to mess up and do something you don't want to do (like wipe) since you just have to press one button once and its a sensitive button. Perhaps theres a way to deal with this (e.g. you have to press the trackball twice)? Thanks.
[G1 Android Development] jmon777:
i have seen stuff like this a lot and no offense but why dont you guys use the keyboard instead the track ball? i mean i guess i donT care if i wipe by mistake i mean i have apps to sd and everything nothing import on my phone so yeah.
[G1 Android Development] heaintsheit:
Recovery.img not working

ignore last post, found errors myself - problem fixed
[G1 Android Development] nolageek:
I just used the keyboard the third time. :)
[G1 Android Development] bmanwithab:
ok, I have the JAC Hero 1.4 build, latest SPL and had JF 1.43 for the boot image. I tryed this mod and now it just hangs on the G1 screen. I used the Terminal the first time and entered the command. No problem. Rebooted using Home+Power, just hangs at the G1 screen. Pulled the battery started normally and it booted up to Hero. This time I used ADB and did the flashing again. Everything appeared normal. Rebooted using Home+Power, hangs on the G1 screen.

Am I doing something wrong? How do I get back to where I can use the boot screen again?

Thanks.
[G1 Android Development] furrystone:
Quick Question

I have been away from the XDA forums for some time just to find out that Jesus Freak is old news. Now I have some questions. Below is what I have

DREA100 PVT 32B

HSPL10.95.3000

CPLD-4

Radio-2.22.19.26I

Is it safe to flash this recovery image? :confused:

Whats the best way to update the recovery image by renaming it Update.zip or just use terminal emulator. Thanks for the heads up I just don't want a brick
[G1 Android Development] digital_1:
flash_image is gone. According to a post over on http://code.google.com/p/android-wifi-tether/wiki/ADP16KernelUpdate You need to pull it from another image and copy it back over.

So I got the flash_image binary from CyanogenMod? 4.0.3.1.

Unzip the file

update-cm-4.0.3.1-signed.zip

go to system/bin/ You'll find the flash_image binary here.

type

adb root adb remount adb push flash_image /system/bin/flash_image adb shell chmod 4755 /system/bin/flash_image - (4755 might be a bit much. It gives that binary superuser privileges when run. I did it just to make sure everything worked.)

Now, go download http://n0rp.chemlab.org/android/cm-recovery-1.4.img

adb push cm-recovery-1.4.img /system/recovery.img adb shell flash_image recovery /system/bin/recovery.img

That worked for me, but proceed at your own risk!
[G1 Android Development] tantrix:
How was this issue fixed? I'm getting the same problem
[G1 Android Development] mplspatch:
help...

ok...i have a jf recovery image.

i downloaded this one.

when i enter command in terminal emulator, it says flash_image: not found

thoughts?
[G1 Android Development] pathia:
Still never got this working. Here's the rundown.

I flash the recovery image with recovery_testkeys.img. That works fine, 100% fine.

I flash with ANY OTHER RECOVERY IMAGE, it won't work. It displays what looks like the SPL screen instead

DREA100 PV 32B

HSPL10.95.3000

CPLD-4

Radio-2.22.19.26I

Oct 20 2008

Serial 0

Keep in mind testkeys *WORKS* So it's not something like the camera button being stuck. Something else is going on, anyone have any idea?

I've done this with ADB and through the console in the phone itself, NO dice.
[G1 Android Development] KapiToL B:
Can i terminal command the lines after downloadin the 4.0.3.1. file on my PC?

or is it strictly through ADB? sorry if it seems like a dumb question
[G1 Android Development] bhilgeman:
EXT4

I've seen this asked multiple times in here and no one seems to know or doesn't want to answer.

How do you use the e2fsprogs script to convert ext3 to ext4 without losing the data on that partition?
[G1 Android Development] pensive:
Just backup the ext partition.

Go to page 154, download the new version of nandroid, do a backup with -e

turned on, do your thing and then do a restore.
[G1 Android Development] no6969el:
can i flash hero roms with this

I was wonderign if i can flash hero roms on this, i remember reading somewhere that you cant and I just want to make sure what i read was correct, so far 3 hero builds no luck...
[G1 Android Development] spazoid:
HELP

I can't figure out how to do this.... You cant use the flash.apk if you have 1.6. I keep getting backup failed. So I cant move on from there....anyone wanna help. I have searched and searched and I keep getting mixed answeres
[G1 Android Development] pensive:
The most blatant attempt to insert an advertisment.

One and only post from this ID ever, with zero informational content, referring to

no specific post and a lengthy commercial web link (redacted). What is the current policy on this forum for posting ads?
[G1 Android Development] richardrahl:
I just installed the HTC 1.6 image. and did something stupid which seems to have wiped out my pimped out recovery image. now when I try to follow the recovery image installation notes I keep running into an error which says that "access is denied".

any help would be appreciated.

Thank you
[G1 Android Development] houseonfire:
Hey. I love the recovery menu.

Is there a way to create the swap memory (ext4, etc) using this menu? Or is there another process I can go through?
[G1 Android Development] ibila:
Like this recoverysoftware for installing new custom roms.

But i ran in to a problem trying to restore my latest backup.

When its finished restoring my g1 resets and gets to the G1 splash screen. After that it goes black. My G1 just shuts off, after powering up again..same thing over and over again.

All i can do is reflash the g1 with the custom rom again and start from scratch.

Can someone help me?
[G1 Android Development] houseonfire:
You might need to restore to 1.5 and re root and reflash.

It might not come to that, but you try to wipe, and follow the steps for installing 4.1.999

Unrooting/flashing to 1.5 guide

http://theunlockr.com/2009/08/22/how-to-unroot-your-mytouch-3g/
[G1 Android Development] pathia:
mtd: write error at 0x001c0000 (I/O error)

mtd: re-read error at 0x001c0000 (I/O error)

mtd: write error at 0x001c0000 (I/O error)

mtd: re-read error at 0x001c0000 (I/O error)

mtd: skipping write block at 0x001c0000

mtd: write error at 0x00200000 (I/O error)

mtd: re-read error at 0x00200000 (I/O error)

mtd: write error at 0x00200000 (I/O error)

mtd: re-read error at 0x00200000 (I/O error)

This is what I get when I try to flash it.
[G1 Android Development] Skatturbrain:
Just wondering my nandroid backed up my stuff twice and I was able to recover from backup once. Now when I try to run a backup it fails and then I try to restore from backup and now that fails... Anyone have any ideas?
[G1 Android Development] hardlynoticable:
I tried entering "su", and I get another "permission denied"

Is there something I have to do to get root first?
[G1 Android Development] GchildT:
adb root

This will start ADB as root, or notify if it is already running as root.

adb remount

This will mount the system partition (/system) as writable, allowing the following

adb push flash_image /system/bin

This will send the flash_image script into the /system/bin, so we can use it from within the shell

adb shell chmod 0755 /system/bin/flash_image

Finally, change the permissions of the script to allow it to perform the desired action.

* Now that the script is installed, we are ready to proceed with flashing the custom recovery, saved on the root of the SD card earlier:

adb shell flash_image recovery /sdcard/recovery.img

if you recieved an error, join us in the IRC channel, irc.freenode.net, #cyanogenmod

* If all is well, reboot into the recovery you just flashed, by holding Home and Power. Wipe. If you don't wipe after having booted into 1.6 dev image, you'll run into errors with cyanogenmod 4.1.99+ like apps not being fully functional.

This is from the CYAN wiki. I had the exact same problem and it worked for me. Great if you ran nandroid backup before the process.
[G1 Android Development] wensterretje:
[QUOTE = cyaan; 3915123] Ik heb wat werk met terugwinning JF imago, nieuwe dingen van AÖSp 1.5r3, patches van anderen, en voegde een aantal van mijn eigen spullen.

Dit herstel afbeelding bevat:

* Nandroid met 2,2 RESTORE!

* E2fsprogs met ext4 ondersteuning

* GNU Parted (command line versie)

* Fsck voor ext bestandssystemen uit het menu

* Diverse scripts, upgrade_fs (converteren naar ext3), fix_permissions (set app en gegevens machtigingen tot wat packages.xml verwacht)

Kernel uit CyanogenMod-3,9

Download afbeelding (rechts-klik, opslaan als): http://n0rp.chemlab.org/android/cm...mission denied.:confused::confused::confused:
[G1 Android Development] chdrummerdude:
I'm coming from 4.0.4 to 4.2.1 and every time i try to flash the htc recovery image i get the status 7 installation aborted message. someone help me please. I'd love to check this out but cant get it to flash the recovery img.
[G1 Android Development] Chahk:
Have you tried reading the first post in the CyanogenMod thread?
[G1 Android Development] serpico2142:
I think I bricked it!!!

I have a G! and tried to do my update through CM Updater. When i chose to reboot my phone, it is stuck at the GI screen you see when it comes on. Does the reboot take a while or??? Please any suggestions!!!:confused:
[G1 Android Development] a2000rick:
Is there any way to get recovery 1.4 to work on a Roger's Dream? I think I need it to install cyanogenmod 4.2.2. So far all I can get to work is recovery 1.2. 1.4 just sits at the roger's screen.

---------------------------------------------------------------

EDIT: To install recovery 1.4 make sure to install the lateset version ( v20090909 ) of flash rec from here: http://zenthought.org/content/project/flashrec

I was using an older one from august, and the recovery 1.4 version it installed wouldn't work.

I think it will only work if you have Android 1.5, which I think all rogers dream's do. Mine did anyway, and now I can boot to 1.4 recovery.
[G1 Android Development] UberYoshi:
Yah, Im running into the same problem but the funny part is I could have sworn I've done this befor when I rooted my phone. I think it might be because we're running on cupcake?

Can anyone help? Would be greatly appreciated.
[G1 Android Development] psm321:
I apologize if this is a stupid question... I'm new to android modding. I just flashed my MyTouch 3G to Cyanogen using the instructions here: http://wiki.cyanogenmod.com/index.php/Full_Update_Guide_-_MT3G/Magic_Firmware_to_CyanogenMod

and it seems to have worked fine. Now I'm trying to get Apps2SD going, by following the instructions here: http://wiki.cyanogenmod.com/index.php/Apps2SD_On_CyanogenMod

My problem is that when I go into the console from the recovery ("Build: CyanogenMod v1.4 + JF") mode, it says "Press <enter>" but then the screen starts filling up with dots, right to left, top to bottom. I tried holding down the menu button but I don't get a keyboard. Nothing I press seems to do anything but change the pattern of the dots.

Suggestions? Sorry if I missed something obvious

Also, I've already tried reflashing cm-recovery-1.4.img, with no change
[G1 Android Development] psm321:
I found another thread with the same problem as me: http://xdaforums.com/showthread.php?t=558296

Could the SPL really be the problem? The only instructions I followed were the ones on the wiki link I posted in my earlier post. I don't think they update the SPL. If that's what I need to do, could someone point me to a guide?
[G1 Android Development] JAguirre1231:
For the mytouch to be able to use the recovery console you need adb. The recovery console requires a keyboard, and adb will be able to start a shell where it can make your pc the keyboard. So you'd have to get adb running, then go to console and connect your phone to the pc, and then you type "adb shell", that will connect you to the phone and allow you to type the commands
[G1 Android Development] pinetreehater:
This is gonna sound odd, but I have been through the wringer with losing root. Finally got things up and running.

I acquired somewhere along the route a fantastic recovery tool that had many more options than CM 1.4. It had things like wipe ext3, wipe linuxswap, convert from ext2 to ext3...just all kinds of cool stuff

I thought it was a CM recovery, but it is not. I flashed the 1.4 hoping it would simply update what I had....oh, noes...

Now I have 1.4 but sorely miss the (in my opinion more functional) old recovery...does anyone know what I might have had...and how I can get it back?
[G1 Android Development] JAguirre1231:
Your looking for Amon_ra's recovery

http://xdaforums.com/showthread.php?t=530492
[G1 Android Development] pinetreehater:
Yes JAguirre1231 I am speaking of that one...I was just coming back to correct my post when I saw your comment. Thank you.

Why doesn't this Recovery tool include all the stuff the other author's does? I wonder if there is some kind of drawback...I love your work Cyanogen, but Amon's appears a little sweeter...
[G1 Android Development] JAguirre1231:
Amon_Ra's is this one just remodeled. This one came before amon_ra's did
[G1 Android Development] cyanogen:
I've been slacking on the recovery stuff. Amon_RA is doing a really great job, especially if you have a keyboardless device.
[G1 Android Development] JAguirre1231:
I don't think your slacking, just giving the people more of an incentive to learn the commands. You don't give it to them, they have to learn. In fact I've learned all of the commands since I got this recovery =D
[G1 Android Development] Shellite:
....... Deleted due to human multitasking failure
[G1 Android Development] tr.slate:
I have tried flashing this for days now with no luck. Keep getting the flash_image: not found, both with adb and terminal. Ive also read most of this thread too looking for an answer but dont seem to see one.

Also, when i go into recovery, I get an error, "E: Can't open /cache/recovery/command". I imagine this has something to do with it but I'm unsure.

I do have root, and right now am running rooted version of t-mo 1.6, and just rooted this, my second g1 phone (first is rooted and has recovery with no problems). Is this maybe a problem because of the rom i am using? Maybe i should go back to cupcake or something earlier. When first rooting I used telnet to flash a new recovery afaik, per the instructions in the **informative links** rooting thread.

Any help is appreciated. Thx.
[G1 Android Development] nervana1:
Unable to do flash. I type SU and then I get # but whenever I type flash_image, I get flash_image not found, can someone please help?

I do not have a pc at home so I cannot do adb and I would really like to have this recovery image please help!

I get $

then I do

$su

#flash_image recovery recovery /sdcard/cm-recovery-1.4.img

flash_image:not found

I am running TMO OTA DRC83 - US

-- Rooted-Base

----- v2.1.2- Expansion-Pack - (10/29/2009)

please help! I want to do it as update.zip but I get no sign unable to flash.
[G1 Android Development] lordofsilence:
Did you make sure the file is on the SDcard instead of in any folder?
[G1 Android Development] jf4888:
your typing the wrong code

its flash_image recovery /sdcard/cm-recovery-1.4.img

NOT flash_image recovery recovery /sdcard/cm-recovery-14.img
[G1 Android Development] nervana1:
I'm sorry, it was

flash_image recovery /sdcard/cm-recovery-14.img

then I get flash_image: not found
[G1 Android Development] gtrplr71:
flash_image recovery /sdcard/cm-recovery-1.4.img

you can do it from the console of your current recovery I have had to do that in the past
[G1 Android Development] justjimjpc:
You are still mistyping it ! :cool:
[G1 Android Development] stevedawg85:
Can sum1 plz help me out, will this .img help me with the following problem:

When in Recovery mode, I do not have the option to "ALT+A" to choose the .zip to apply. I only have "ALT+S" which is to apply "update.zip"

The top of the Recovery screen reads JF v1.42. My friends rooted G1 can also use the trackball to scroll up/down, not me.

Will this "update" the recovery screen to give me the option to "Alt+A" and use the trackball
[G1 Android Development] mackster248:
Your friend has Amon_ra's, that's why. Get Amon_Ra's 1.3.2 recovery image and you will have all of those options.
[G1 Android Development] JAguirre1231:
It also doesn't help that he's using an older recovery image
[G1 Android Development] tempix:
I have just received an HTC Magic (from Vodafone). And I have been playing with it for few days. I Have noticed the following problem after gaining root access.

When I power on the phone everything works perfectly. But when the screen goes into power saving mode and I reactivate it the screen is blurred. It looks like some pixels are being displaced.

I have not been able to figure out this happens and it only happens when I am the root user.

I substituted

SAPDHIRE PVT 32B ship S-on G

HBOOT-1.33.0006 (SAPP10000)

CPLD-10

RADIO-2.22.19.26I

May 27 2009,,19:06:41

for

SAPDHIRE PVT 32B ship S-off G

HBOOT 1.33.2005

using flashrec-20090815.apk

Does anybody know what the issue might be?

Thanks in advance
[G1 Android Development] max_frustration:
restore android contacts tables only

Apparently pull-ing the /data directory off my G1

before upgrading it was not enough to secure the contacts

database. But, I have a backup image from cm-backup 1.4 which

contains data.img. Does anyone know how to disassemble these files?

I expect I can dump it out as text and use sqlite copy to stuff in the

values.

Thanks,

Max