yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] blackice168:
I recently installed cyanogen 2.4.2 on my sapphire 32B. I installed the cyanogen updater on my phone and noticed there's a new update (2.5.2) It downloads and restarts my phone in recovery but It can't mount the SD card so I can't update.

I've tried mutliple SD cards formatted on the phone and on my computer (both mac and pc) and nothing seems to work. Any help would be appreciated. Thanks
[G1 Android Development] shoemeistah:
great work! thanks a bunch
[G1 Android Development] Kiid415:
Am i doing this right. so when i put it on my sdcard.

i go to recovery. then console. or do i just the update from zip. or whatever. because when i do it on the console the error: error opening /sdcard/cm-recovery-1.4.img: no such file or directory . i need help because my phone wont load its just stuck on the g1 logo screen. but its still goes to the recovery screen. it just wont load up whats wrongggg !!!! help me

thankssss.
[G1 Android Development] duckythekiller:
I followed the guide untill reverting to RC29, at which point I copied the file over, and held camera button while powering on phone. I get to a Red, Green, Blue, and white screen that says the following line for line

DREA100 PVT 32B

HBOOT-0.95.0000

CPLD-4

RADIO-1.22.12.29

Sep 2 2008

Serial0

------------------END

And I hit the poer as suggesting nothing happens. Any tips?
[G1 Android Development] jessevsm:
seem to have a bit of a problem getting things to load. I'm running JF 1.5. And I was trying to use the Terminal Emulator to install the cm-recovery-1.4.img file. the first post tells me to type this in: flash_image recovery /sdcard/cm-recovery-1.4.img

But it just tells me 'permission denied'. Can anyone tell me how to fix this problem?

EDIT: well, it seems I didn't have the Terminal set to superuser. Lets see if that fixes the problem...
[G1 Android Development] Wackycheese:
Can not enter recovery mode

Can anyone help me

Just followed the instruction to flash the cm-recovery-1.4.img as follows,

(copy cm-recovery-1.4.img into sdcard root directory)

su

cd /sdcard

flash_image recovery cm-recovery-1.4.img

flash-image returns very quickly (doesn't feel right since the image file is about 4MB) without any feedback, and then I could not enter the recovery mode anymore.

However, I can still boot into regular mode and use the phone. What is wrong? Thanks in advance for your help.
[G1 Android Development] senaia:
try using fastboot method, you will require fastboot to be setup on your system and the correct drivers installed for your SPL. you can find all the information using search. the fastboot instructions are located in the first post of this thread
[G1 Android Development] lp894:
this is pissin me off. i keep getting "flash_image not found" the image is definitely there. I've mounted via usb and triple checked, i even went into the terminal and typed

su

cd /sdcard

ls

and thar it be.....cm-recovery-1.4.img and this is seriously pissin me off

$ su

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

flash_image: not found
[G1 Android Development] rfairburn:
It means that it does not see the flash_image binary in your path. It does NOT mean that /sdcard/cm-recovery-1.4.img is not found.

try '/system/bin/flash_image /sdcard/cm-recovery-1.4.img' once su to root.
[G1 Android Development] :
Hi folks,

Just done a flash of the new recovery image and looks fantastic but I'm having a small problem with backup, both Nanadroid and Bart.

Nandroid just keeps running and running filling the screen with dots, after two hours I finally gave up figuring it wasn't working correctly :(

So decided to try a Bart backup.

Bart runs for a minute or two then pops up 'Error : Run Bart via Console'

Any help would be great please. I'm afraid I am new to all this, have no linux knowledge and can't get SDK to run on my computer so anything I need to do needs to be done in console in recovery.

Sorry :D
[G1 Android Development] mackster248:
I'm assuming this is Amon_Ra's latest?
[G1 Android Development] gbgbg:
Switching from JF to Cyanogen, and other problems...

Hello,

I am having trouble switching my G1 from a JF mod to cyanogen.

So far, I have been trying to follow these instructions:

http://wiki.cyanogenmod.com/index.php/Full_Update_Guide_-_G1/Dream_Firmware_to_CyanogenMod

I tried to replace the standard recovery image with the cyanogen one:

(flash_image recovery /sdcard/cm-recovery-1.4.img) through telnet, nothing really happened.

I tried to go on with the installation, but after I put the Android 1.6 recovery image, and CyanogenMOD rom on the SDcard, I cannot enter recovery mode by pressing the Home+Power. I just go to the screen with the three Skateboard Android things. What does this mean?

What do I do? Should I try to start from fresh (downgrade to RC29, etc), or is there another way?

Sorry if these are trivial questions, but I am a n00b to this...
[G1 Android Development] mackster248:
so you're on JF 1.5 right now? how did you get the JF mod without being able to get into recovery?
[G1 Android Development] KonstantinDK:
Oh, god, you wouldn'e believe what I went through trying to install CyanogenMod on ADP1. After finally figuring out that I need to download usb drivers separately, and installing XP virtual machine on my windows 7, I'm now stuck at flashing cm-recovery-1.4.img

When I type fastboot flash recovery cm-recovery-1.4.img

it says error cannot load cm-recovery-1.4.img

Can someone plz tell me what might be wrong?

P.S. Yes, it's on sd card. Although I put it there in internet explorer, not with adb push/

And yes, I tried sdcard/cm-recovery-1.4.img

P.P.S. I also understand there's second way. To type somewhere flash_image recovery /sdcard/cm-recovery-1.4.img

But I can't understand where. I downloaded terminal programs, but it says I got no rights. And when I press Home Off, there's an image on the screen and I can't seem able to type anything.
[G1 Android Development] sturmeh:
All the drivers work fine in Windows 7, even 64bit, well at least they do here anyway.

You need to type "su" in the terminal before trying to flash the recovery image "flash_image recovery /sdcard/cm-recovery-1.4.img" by typing su you are escalating the terminals privileges to maximum, or root.

It should return nothing, and without error, then reboot and hold HOME to see if you have cm recovery.

Once you get CM recovery to boot you will want to flash the CM rom which is fairly straight forward, put the zip on your SD and flash it in recovery.

You should be fine then.

( Take note of the special installation instructions for first timers going to Cyanogemod. )

PS. Go on irc.freenode.net #cyanogenmod if you need help!
[G1 Android Development] joespin:
JESUSFREKIN _lol_ AMAZING

DUDE, YOUR WORK AND THAT OF JF HAVE CREATED SOMETHING AMAZING!. after not being able to install google maps update. i spent several hrs yesterday attempting to downgrade, get update and return to your mod. needles to say, i wiped data and SD many times. when formating sd i noticed it only showed fat 32 part and assumed that the other was gone but not visable to pc. after finaly getting phn top get update, get root,flash boot image,instal adp1 and then yours.... what do i find?

ALL MY STUFF IS RIGHT WHERE I LEFT IT !

i was expecting another hour or so redownloading andgetting settings back but your "AUTO-MAGIC' apps to s2 is incredible YOU GUYS ARE DA BOMB. look for a little sumtin sumtin in your pay pal from me.

I have the most pimped out phn ive seen. thanks for all your work. I think its time i learned the android software and start writing . Im an old writer of fortran,cobol and pl1 so i think i can get creative on android.

KEEP THE COMMUNITY OPEN!
[G1 Android Development] Arich0908:
Some one help me

Here is what my Pc says .

Ive tryed loading this in Telnet. Flash recovery.

No luck I have Rc29

Adb & Sdk are installed on my phone properly and when I boot up after the image instal it shows the stock pickture of a Big ass Triangle and my phone on the side of it.
[G1 Android Development] theartar:
Follow these instructions: http://wiki.cyanogenmod.com/index.php/Full_Update_Guide_-_G1/Dream_Firmware_to_CyanogenMod

That should help.
[G1 Android Development] Arich0908:
I did Everyhting on there in that order.

It dosent not work. Thats were I first started.

I used TelNet When I power it off and turn it on it never flashed even though it says it did.
[G1 Android Development] Arich0908:
I did it again for 100th time here is a screen shot just taken.

Telnet flash

after the reboot
[G1 Android Development] Arich0908:
What would happen if I try loaded Cyanogen in there the same way I put Rc29?

This is frustrating , I know its something stupid.
[G1 Android Development] DirectMatrix:
You need root permissions first. Your first screen shot says that permission was denied when you typed su at the $ prompt. You can't flash anything except official builds unless you have root permission. You need a # prompt when you type su and hit enter at the $ prompt. Try following all the directions again.
[G1 Android Development] Arich0908:
Thanks for taking the time out to help me God knows I need it.

It wont give me root no matter what....

Post # 1647 is what the directions told me to do.

See the to pics of Telnet and Boot recovery .

I followed em exactly.

Format w/ Fat32

load the 2 zip files plus the CMrecovery.Img

<enter> <enter> TelnetD<enter>

Open Telnet

Type

flash_image recovery /sdcard/cm-recovery-1.4.img [enter]

I get ## as you see I did it correctly I then type reboot and hold the home key.

See what I get It never goes into the new flash recovery program.

Ive even tryed the one click root method.

They dont work either, I even tryed reinstalling Rc29 build. Almost bricked my phone .

Nothing.

I did it and followed these directions.

http://www.youtube.com/watch?v=7kPgfyGRDHQ

I Laoded it from Sd card with the Cm Build
[G1 Android Development] arefin:
!!can not flash the recovery image!!

Hi, tried the following:

-open Terminal Emulator>type su[enter]

-opted 'allow always' from the pop-up

-obtained # sign with prompt :-)

-typed: flash_image recovery /sdcard/cm-recovery-1.4.img [enter]

-got this error: flash_image: not found

...what to do now?I think I need the executable called "flash_image". I downloaded the executable from the WIKI page but dont know what to do with that file!

Please suggest!!

thanks,

arefin
[G1 Android Development] chevycowboyusa:
spelling counts

Make sure you have the cm-recovery.1.4.img in root of your sdcard, and rename it recovery.img if you want to so less for spelling errors.

Should work! Flash_image is with all software.
[G1 Android Development] jomtones:
Hi I'm trying this upgrade from 1.3 - when I try the

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

but it says "cm-recovery-1.4.img not found"!

I tried 'cd' to sdcard and 'ls' - it shows empty, which is odd as there is loads of stuff in the sdcard, just rebooted and checked from Windows...

do I need to enable sdcard access somehow from console?
[G1 Android Development] linuxluver:
You do the "flash_image" from a terminal after entering "su" while booted to the full phone. At least, that's what I do on my HTC Magic. I use Better Terminal Emulator (paid version with full shell).

How are you doing it? If you do it via adb, you must not access the sdcard from the recovery first. You have to boot the recovery, then, without changing from the menu screen, enter your adb shell. If you leave the recovery menu, it "owns" all the files. At least this is how I explain it to myself when I noticed the same thing.

I now use Amon-RA's 1.5.2G (for Magic 32B) recovery. It's much better than CM's (at this point).
[G1 Android Development] JAguirre1231:
Do "mount -a" first, nothing is mounted- therefore it has no access to many files
[G1 Android Development] jomtones:
Awesome, thanks to you both! ;)
[G1 Android Development] waiting89:
great nvm i did a mistake lol
[G1 Android Development] dudeusmc:
How do i flash once i have already installed Cyanogen mod 4.2.11.1

I have already flashed the newest update of cyanogen and had done the DR image that was in the steps. now i am trying to flash the 1.4 recovery and when i go to the flash screen i guess you can say it does not let me type in numbers after typing su and prompting it to continue.. how would i flash this recovery? thanks guys.
[G1 Android Development] turtlesmank4:
switchrom

does the reecovery image have switchrom script
[G1 Android Development] JAguirre1231:
No, but you can do it the old fashion way and get the switchrom script yourself
[G1 Android Development] princ3ofd3sis:
Having a lot of issues with my G1

Hey guys I know this may seem old now, but I'm having a lot of problems with my G1 and any help would be much appreciated.

Here's the details on what exactly happened.

I bought my G1 and decided to root it to cyanogen 1.4. All was well until recently when I decided to input a theme. The theme was RC33 or whatever (although I'm not entirely sure that the theme fit the parameters of the phone) and I loaded it onto my sd card and rebooted the phone. When I clicked install the theme, it didn't work the first time. I got scared and quickly pressed the option that reverts back to the last known safe configuration. The next time I tried, I accidentally created a new backup, which I'm sure replaced the old backup. Also, I deleted the contents of the sd card. Bad idea, I'm sure, but before I did it, I made a copy of it onto my computer, and then transferred that data to a 8gb sd card. So perhaps the old data is still there?

So now what happens is that the white g1 sign comes up, I am able to hold down the home key and the end call key to access the menu, but if I let the phone boot on its own, after the white g1 sign NOTHING else comes up. The screen stays blank.

I read on page 112 of this thread and tried applying it to myself, but I couldn't do it. I took help from this website, and it didn't do much either:

h t t p : / / a n d r o i d c o m m u n i t y . c o m / f o r u ms/f28/nandroid-v2-0-full-nand-backup-and-restore-tool-9336/

I would really like my G1 back to normal, even if that means removing the cyanogen 1.4 OS.

This is the theme I tried applying:

h t t p : / / f o r u m. x d a- develop ers.c o m/showthread. php?t=4 7 8 1 8 3

If anyone can help, I'll be glad to follow along. My AOL Instant Messenger screenname is Princ3ofD3siS.

Thanks a lot!
[G1 Android Development] akapoor:
Let me clarify some things for you.

Cyanogen 1.4 is a Recovery Console. This is the menu you can access when you turn on your phone with Home + Power. This is NOT an OS.

The OS is Android. Specifically, this depends on what you are running. You, from what I am assuming, were at one point running a CyanogenMod ROM (4.2.x or less). THIS is your OS.

As long as you can still access the Recovery console (Home + Power), your phone is fine. If you wish to install the latest CyanogenMod, I'd recommend you take a look at the Wiki on his page. It'll tell you step by step how to upgrade to the latest ROMs.
[G1 Android Development] chyen:
I have tried flash cm 1.4 recovery image through cmd, terminal but still i cant access to the recovery mode.

My screen stuck at HTC MAGIC boot screen afrer home+power button.

Nothing appears right after I run flash_image recovery /sdcard/cm-recovery-1.4.img. I thought this is normal as what I flashed Amon Hero recovery image.
[G1 Android Development] akapoor:
After you run flash_image, your screen should look something like below:

# flash_image recovery /sdcard/cm-recovery-1.4.img
<blank space>
#

If you do NOT get the above, there is something wrong. Post what error messages you get, if any.

For now, I'd recommend that you re-download the file and put it back on the sdcard and delete the original one you had.
[G1 Android Development] lostboylos:
i have put it in my sd card but i cant open it for some reason . can u show me exactly how to do it. i dont understand how to install thethe To install image: copy it to your sdcard and run:

Code:

flash_image recovery /sdcard/cm-recovery-1.4.imgIf you have problems with a "no space on device" error, try using fastboot and erasing first:

Code:

fastboot erase recovery

fastboot flash recovery cm-recovery-1.4.img
[G1 Android Development] lostboylos:
i dont know how to put in the code

how do i put in the code??? plz help me

To install image: copy it to your sdcard and run:

Code:

flash_image recovery /sdcard/cm-recovery-1.4.imgIf you have problems with a "no space on device" error, try using fastboot and erasing first:

Code:

fastboot erase recovery

fastboot flash recovery cm-recovery-1.4.img
[G1 Android Development] gastrake:
is this a linux tut or win tut ? ( works it also with win 7 ???) need help because i cant instal anything ( rc29 (bootloader says not allow) , an other firmware , says e: no signature ???? what to dooooo :( and wwhen i wanne go in the phone ( to menu ) then first i must pas a google screen and set up a google account but i dont works for me beccause you must internet for it ??? i installed the apn but still dont work :(

please help me i'm desperat
[G1 Android Development] americanxo:
thanks for sharing
[G1 Android Development] Zak Jones!:
I would like to first say: If you don't know how/where to do this, you probably shouldn't be flashing anything to your phone.

Is your phone rooted? It doesn't sound like it is to me. You run the listed commands in a terminal on your phone (unless I'm retarded.), with the image on your SD card.

Also, that Google screen is fairly important, and yes, you must internet for it. :p

Good luck.
[G1 Android Development] AndreArrington:
Please help!

Can someone tell me how to run the image?

I put the CMD in the terminal emulator but came up with a error message.

Frankly,

I am stumped.
[G1 Android Development] Houka420:
http://xdaforums.com/showthread.php?t=566669

Use this recovery instead. It's an updated version. Make sure to read the OP depending on your phone.
[G1 Android Development] cyanogen:
Mods, can you close this please? This stuff is totally unmaintained now and people should be using Clockwork or Amon_RA recovery.
[G1 Android Development] JadedTech:
Problem is there aren't many places where you get as good as help as such a thread like this.

I am running into the exact same issuse with trying to flash a recovery because Clockwork isn't working at all for me....zip, zilch, nada. Can't boot into it. The ROM boots fine, can even get into the 'fastboot' (power+camera....don't recall the name at the moment) menu.

I read these posts (http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=523558&page=146) but their solution is not working for me.

On every IRC channel that has 'android' in it I either get ignored or made fun of because I have a G1. Your specific IRC is famous for simply ignoring a well formed, intelligent question.

Here is the exact question I posted "Greetings all, getting "mtd: read all-zero block at 0x00000000; skipping" when trying "adb shell flash_image recovery /sdcard/cm-recovery-1.4.img" on my G1. Any solutions to this?" and not a single reply. Not even a suggestion as to 'google it' (which I've been doing FOR 3 DAYS and still haven't found anything except that the proposed "flash_image recovery /sdcard/cm-recovery-1.4.img" is rumoured not work with Apps2SD. Only saw that mentioned once but that was about the ONLY useful bit of information I have found that could possible explain why I can't fix my phone.

This all, of course, happens at the worst time as when I am out at a client's site, I NEED DATA ACCESS, but because of some sort of broken piece of software, I can't get into my settings to add an APN or WiFi. FCs everytime. ANd no, 'fix permissions' from the OS terminal doesn't fix that.

Rant? Yes. Need help? Yes. Perhaps this is the biggest issue of all when they mean 'fractured android market'? Help seems to be nigh-impossible at times for what seems to be a common enough problem.
[G1 Android Development] Firerat:
on pc

fastboot flash recovery C:\recovery.img

assuming you put the recovery.img at C:\recovery.img

just search fastboot
[G1 Android Development] JadedTech:
OH I found the nice little wiki that explains it quite well. Problem is the device will NOT respond to fastboot commands. It sits there with "FASTBOOT USB" on the white screen but seems to igore anything sent via USB.

BTW, using Ubuntu. Tried the same commands again.....

fastboot flash recovery recovery-RA-dream-v1.7.0.img
< waiting for device >

It'll sit there forever waiting.....

Since this seems to be a rather unique problem, despite sounding like 1000s of others, I started it's own thread:

http://xdaforums.com/showthread.php?p=7017747#post7017747
[G1 Android Development] Firerat:
have you tried pressing the trackball?
[G1 Android Development] JadedTech:
Nope....got it to flash recovery using a Samsung tip....see new thread. Still broken ROM install....ugh...
[G1 Android Development] kingklick:
./adb kill-server

./adb start-server
[G1 Android Development] JAguirre1231:
I ahd this problem as well, my friend @garok89 told me to proceed the first fastboot command with "sudo bash". This worked for me.

sudo bash

<password>

fastboot devices
[G1 Android Development] halifaxbadboy:
thanks helped a lot
[G1 Android Development] abdoooou:
where plz tell me how do that
[G1 Android Development] skvalle:
nice one all greate flash now
[G1 Android Development] oqh6610:
Gracias porel.aporte
[G1 Android Development] evereste:
imight be blind, i'm definitely stupid, but where's the link for download?
[G1 Android Development] stellarman:
+1 on this. A nandroid restore would be the coolest thing ever.

Also, how about an option to mount the sdcard so that we can get in and move update.zip files (for theme), etc. I tried doing that from terminal and could cd to /sdcard, but ls brought up exactly nothing.
[G1 Android Development] laloch:
You have to mount the card first:

mount /sdcard

or

mount -a
[G1 Android Development] Chahk:
This is probably the wrong place to request something like this, but I would love to have nandroid backup not only the contents of NAND flash, but also the SD card's ext2/3 partition into its own .img file. The reason for that is of course Apps to SD support. I'd love to be able to do a reformat of my SD card, and still retain apps and cache between restores.

I'm just gonna go ahead and post this in the Nandroid 2.0 thread :)
[G1 Android Development] teh_lorax:
After searching this thread, it appears this didn't get answered. Where is fix_perms located?

edit: Found the script - the command is 'sh /sbin/fix_permissions.sh'

However, I get the following error:

mount: mounting /dev/block/mtdblock5 on /system/intmem failed: No such file or directory

(also get a couple other errors, but I'm guessing the first one is the most important)
[G1 Android Development] Thibale:
+1 for a nandroid restore feature!

Great tool BTW :D Thanks!
[G1 Android Development] cyanogen:
There are a couple of issues with that script in the recovery image. I'll fix them for the next version.
[G1 Android Development] obijohn:
Two other things you might want to look at. I noticed that if the sd card has only a fat partition (no ext2/3 partition) you can't mount it in the recovery console. The "mount -a" command exits with errors; "mount /sdcard" doesn't throw an error but doesn't actually mount the card either (the contents of /sdcard is empy).

Also, this one is not a big deal, but entering "shutdown" in the console evidently is trying to do some things it can't. The phone does shut down, but there are about 4 or 5 errors which come and go so fast I can't tell what they are.

Anyway, your work is awesome, keep it up!
[G1 Android Development] texanman:
wow .... your recovery is really REALLY nice!
[G1 Android Development] southsko:
I'm getting errors running fsck from the recovery screen. Says to run manually. Whats the exact command from the terminal? fsck -? /dev/?. And can that string be put in the error message?

TY
[G1 Android Development] Seoulboy1:
Tytyty! This is awesome :D
[G1 Android Development] cyanogen:
/sbin/e2fsck /dev/block/mmcblk0p2