Related
Well, the home button on my unlocked G1 stopped working about a week or so ago. No big deal, but the problem I now face is that I am unable to install any new roms.
I am able to boot into recovery mode (cyanogen v1.4) using ADB, however once there, I am unable to install a new rom since my home button does not work.
Is there any way around this either using the phone or through my computer (I am using MAC OS 10.5). Any help would be GREATLY appreciated.
- Thomas
fastboot.
10char
evilkorn said:
fastboot.
10char
Click to expand...
Click to collapse
For the life of me, I cannot seem to get fastboot to work for me on my mac. Maybe it is just me and I am unable to follow directions, but for some reason I cannot get it to work under Mac OS10.5 and I have no Window PC to try it out there.
You could try everything from adb shell. I don't know why fastboot wouldn't work if adb is working as they go hand-in-hand. I don't have the shell commands to flash, but I'm sure they are around here somewhere.
http://developer.htc.com/google-io-device.html
They have the fastboot binary if you wanted to try that instead what you have.
evilkorn said:
You could try everything from adb shell. I don't know why fastboot wouldn't work if adb is working as they go hand-in-hand. I don't have the shell commands to flash, but I'm sure they are around here somewhere.
Click to expand...
Click to collapse
Decided to remove and reinstall adb again. For some reason now, fastboot does work even though I did the exact same things as before.
Thanks for the help evilkorn
Less than an hour after you posted... I'd say it's a pretty fast solution. =p
As stated, got flashboot to work, I now have another problem. When I try to install the rom using flashboot, I get this error;
Dell:tools szuba$ fastboot update jacheroski2.2a.zip
archive does not contain 'android-info.txt'
archive does not contain 'android-product.txt'
error: update package has no android-info.txt or android-product.txt
Dell:tools szuba$
Any way around this?
New solution. Flash amon ra's 1.2.2 recovery, that version had verify with send, instead of home. The link in my sig has the download for the current and past version.
dude you can still boot into recovery. go into terminal emultaor and type su then reboot recovery
pistol4413 said:
dude you can still boot into recovery. go into terminal emultaor and type su then reboot recovery
Click to expand...
Click to collapse
Read his first post... The problem is the home key to OK the flash.
szuba said:
Well, the home button on my unlocked G1 stopped working about a week or so ago. No big deal, but the problem I now face is that I am unable to install any new roms.
I am able to boot into recovery mode (cyanogen v1.4) using ADB, however once there, I am unable to install a new rom since my home button does not work.
Is there any way around this either using the phone or through my computer (I am using MAC OS 10.5). Any help would be GREATLY appreciated.
- Thomas
Click to expand...
Click to collapse
One of Amon's recovery versions using the green "call" button to confirm actions (rather than the home button).
Must be my luck... installed Amon's previous recovery img but now my green (send/call) button doesn't seem to be working either.
For some reason, both my green (send/call) and home buttons do not work so both methods do not work for me. The only option that I can think of is to someone create a boot.img, data.img, and system.img from a rom and do a fastboot nandroid backup from those. Now if only I can find away to do that... anyother ideas?
And thanks for the help so far
Do the alt+ commands ask you to verify the update with home?
evilkorn said:
Do the alt+ commands ask you to verify the update with home?
Click to expand...
Click to collapse
Yes, the alt+ commands still requires you to verify with the home (or green) key.
Any chance there is away to do it through the console with code? Tried to do a search, but didn't come up with anything in regards to that.
Totally lost for ideas now... but the help is greatly appreciated evilkorn
--update_package=SDCARD:update.zip" > /cache/recovery/command
Try that
B-man007 said:
--update_package=SDCARD:update.zip" > /cache/recovery/command
Try that
Click to expand...
Click to collapse
Where exactly do I try that?
When I enter;
--update_package=SDCARD:update.zip" > /cache/recovery/command
in the recovery console, nothing happens, just goes to the next line.
alright so i rooted my phone a couple of months ago but never installed amon ra's recovery because i never intended to put any roms on it. however when i got the froyo update and lost my root access i decided that i wanted some roms.
unfortunatly i cant seem to get amon ra to flash because my Mac OSX 10.6.4 wont recognize the "fastboot devices" (ya i know rooting and android on a mac)
Timur-Dakhis-MacBook-Pro:~ rumitg2$ cd desktop/android/tools
Timur-Dakhis-MacBook-Pro:tools rumitg2$ fastboot devices
-bash: fastboot: command not found
Timur-Dakhis-MacBook-Pro:tools rumitg2
i have the SDK unzipped and extracted but i cant seem to get it to work.
there are hardly any guides to rooting on a mac and most of them arent helpful to noobs like me.
can anyone help me fix this?
First some history with my G1:
I used the normal unrooted G1 for about a ear after i decided to root it. I rooted it succesfully to 5.something (old, because there wasnt ADW launcher yet). Soon after i wanted to go 2.2 or cyanogen 6.0.3. That too was a succes, but after short use it turned out quite slow. I did some research and found out that 5.0.8 is the way to go for a fast G1 phone ith use of apps. Short install but a few trial and errors (lots of factory resets etc.) i got it running smooth. I installed all my apps once again and thought to myself "i should do a Nandroid back-up before i have to wipe it all again...". So i remembered ROM Manager from 6.0.3 and installed it from market. I did a backup via there, but as i clicked i saw a message for a milisecond. It seemed like an error message, but after a split second my phone just rebooted.... Only this time it got stuck at the G1 boot logo....
After getting familiar with Cyanogen this was very new to me. I tried going into recovery obviousley, but that didnt boot. Only thing that did boot was Fast Boot. No idea what i can do there so i didnt touch it.
More research came i decided that i phone maybe bricked... I found out that you can try Terminal or something in fast boot to reflash something... This still isnt clear to me, and i was wondering if there is any guide that i couldnt find that gives me a noobie guide on how to use terminal on your computer to flash something on your phone?
Thanks very much in advanced!
Summary of things i use/did:
Computer: Macbook 1.0.6 OSX
Phone: G1 rooted to 5.0.8 Cyanogen (stable)
Possible cause: Using ROM Manager to make a Nandroid backup
Uh, did you remove the back cover and remove/replace the battery?
Glycerin50 said:
First some history with my G1:
I used the normal unrooted G1 for about a ear after i decided to root it. I rooted it succesfully to 5.something (old, because there wasnt ADW launcher yet). Soon after i wanted to go 2.2 or cyanogen 6.0.3. That too was a succes, but after short use it turned out quite slow. I did some research and found out that 5.0.8 is the way to go for a fast G1 phone ith use of apps. Short install but a few trial and errors (lots of factory resets etc.) i got it running smooth. I installed all my apps once again and thought to myself "i should do a Nandroid back-up before i have to wipe it all again...". So i remembered ROM Manager from 6.0.3 and installed it from market. I did a backup via there, but as i clicked i saw a message for a milisecond. It seemed like an error message, but after a split second my phone just rebooted.... Only this time it got stuck at the G1 boot logo....
After getting familiar with Cyanogen this was very new to me. I tried going into recovery obviousley, but that didnt boot. Only thing that did boot was Fast Boot. No idea what i can do there so i didnt touch it.
More research came i decided that i phone maybe bricked... I found out that you can try Terminal or something in fast boot to reflash something... This still isnt clear to me, and i was wondering if there is any guide that i couldnt find that gives me a noobie guide on how to use terminal on your computer to flash something on your phone?
Thanks very much in advanced!
Summary of things i use/did:
Computer: Macbook 1.0.6 OSX
Phone: G1 rooted to 5.0.8 Cyanogen (stable)
Possible cause: Using ROM Manager to make a Nandroid backup
Click to expand...
Click to collapse
Rom manager has a habit of breaking recoveries. If you can get into fastboot you can flash a new recovery from there. If you have an engineering spl that is. Need your info from fastboot. Do you have danger spl? Amonra has guides on how to flash from fastboot. Get his 1.7.0 and fastboot flash it. You dont sound bricked.
http://forum.xda-developers.com/showpost.php?p=4647751&postcount=1
Ok been a while ,sorry! I am still "bricked" (or at least i think i am). Yes i have taken out the battery and putting it back in.
@Johnson: Yes so i have read! A little to late, My info from fastboot:
DREAM PVT 32B ENG S-OFF
HBOOT-1.33.2005 (DREA11000)
CPLD-4
RADIO-2.22.19.26I
Apr 20 2009, 15:30:43
I'll go to that tutorial ,see if i can figure it out. Thanks for the help!
EDIT: So, ive read it... But its not clear to me. Do i need to open a terminal like program on my mac and just type in:
fastboot devices (to make sure that fastboot "sees" your device)
fastboot flash recovery recovery-RA-dream-v1.7.0.img
Or do i need to connect with my phone somehow (besides USB)
Yes, boot in to the SPl (you might need to enable fastboot in there, just poke stuff), then fire up Terminal.app, cd to the /tools directory where the SDK is installed, then issue the commands.
I havent heard of SPL boot yet, how do i do this? Or is this Camer+power on/off?
Also the part about Terminal.app is total abracadabra to mee, haha. ill try and figure it out using the tutorial and maybe some common sense. If i did figure it out, i'll let you guys know!
Otherwise, if u read this and feel like helping... Much appreciated! I can use all the help you can offer!
Thanks!
Tobias
Boot to fastboot mode. Should tell u how on amonra's page. Put recovery in tools folder of your sdk. Then open command prompt on PC and type: fastboot devices hit enter. Should get a serial number. CD to tools folder and type fastboot flash image command in thread
Sent from my HTC Magic SparksMod using XDA App
Glycerin50 said:
I havent heard of SPL boot yet, how do i do this? Or is this Camer+power on/off?
Also the part about Terminal.app is total abracadabra to mee, haha. ill try and figure it out using the tutorial and maybe some common sense. If i did figure it out, i'll let you guys know!
Otherwise, if u read this and feel like helping... Much appreciated! I can use all the help you can offer!
Thanks!
Tobias
Click to expand...
Click to collapse
Yes, the SPL is the bootloader (camera+power). To open the terminal, got to Applications > Utilities > Terminal.
ok, this is getting more and more understandable to me
Just where is this tools SDK folder. Will this apear on my pc when i plug my phone while i bootloader? or do i need to download some more stuff for this all to work on my pc...
U will need to look up how to install sdk on your computer. Its another program u need to control your phone with the PC. Called adb. Android debugging bridge
Sent from my HTC Magic SparksMod using XDA App
I don't think that fastboot comes with the SDK. There is fastboot-mac zip file somewhere out there... I can't remember where I got mine from, but there is one here http://developer.htc.com/adp.html
Put the file somewhere on your mac and use the terminal program in your applications/utilites folder to access it. You should be a little familiar with Linux to use it If you want to get fancy, put it in /usr/sbin or somewhere in your $path.
The SDK kit is good too, especially adb.
EDIT:
Here are a few good threads to get you headed down the path to flash-a-rama. Most of the commands are the same, regardless of platform, but the installation procedure will vary, i.e., fastboot erase system -w does the same thing on any platform.
http://forum.xda-developers.com/showthread.php?t=517874
http://forum.xda-developers.com/showthread.php?t=532719
Lastly this thread should be required reading... http://forum.xda-developers.com/showthread.php?t=655097
SUCCES! YEAH!!! Thank you guys so much! While reading your posts and all the guides i decided to get into bootcamp (windows on mac) and do it all there.
It was way easy to install and ive setup adb and SDK easy and used fastboot to flash Amon Ra's recovery!
It installed within seconds and from recovery i did a fresh wipe and installed my 5.0.8 cyanogen.
Right now it booting up for the first time as i typ and i think its going to boot.... Yes, it takes a long time the first time.
Yes, it works!
Thank you guys again!
Tobias
i think i screwed up my phone it stars up goes past the g1 screen and goes to cyanogen mod screen and keeps reloading tht screen over and over again can anybody help me fix it plz i cant get to the recovery screen but i can get to the fastboot screen
Flash recovery from fastboot and then flash rom from there
Or let us know if there is any other issues with recovery
Sent from my HTC Dream using XDA App
hi thnxs for the advice
can u tell me exactly how to do tht and what recovery and rom i need to flash and exactly how to do it cause im kind of a beginner at this this is my first g1 ive had and it came rooted when i got it and i needed to do a factory reset to get the old owners gmail account off of it but i screwed it up when i went to take it back to the dremimg.nbh file so can u help me plz like a step by step walkthrough for iddiots
any help would be appreciated cause i love my g1 other than it can be slow at times
heres what it says on the fastboot screen
DREAM PVT 32B ENG S-OFF
HBOOT-1. 33 . 2003 (DREA10000)
CLPD-4
RADIO-2.22.19.261
Mar 26 2009,23:25:49
Good your hboot is fastboot compatible, so are you not able to boot into recovery or what error you are getting in recovery
Do you have fastboot setup on your pc. If not setup fastboot, there is a pinned thread in q&a section
cool and no i dont think i have fastboot on my pc
cool and no i dont think i have fastboot on my pc can u give me the link for it i have downloades android sdk for windows
cjwarren4dcivics said:
cool and no i dont think i have fastboot on my pc can u give me the link for it i have downloades android sdk for windows
Click to expand...
Click to collapse
ok, check the thread Fastboot
If you have the SDK installed then you just have to connect the phone to PC in fastboot mode install the USB driver and copy the fastboot exe in tools folder, check the above thread for more detail...
once you have the fastboot working, you can flash the recovery from the fastboot
command is "fastboot flash recovery 'path to recovert in windows folder'"
You have to copy the recovery on the PC...if you are not sure about the recovery then you can go to Aman RA 1.7.0 Recovery
Once you have the working recovery, then wipe everything from the menu and reinstall the ROM....
ok thanks now i got it back to stock
now its at the touch the android screen but i cant get my apn settings right so it will sync my gmail account is there any way i can skip tht or make to do tht so i can hook up 2 my wi-fi network
cjwarren4dcivics said:
now its at the touch the android screen but i cant get my apn settings right so it will sync my gmail account is there any way i can skip tht or make to do tht so i can hook up 2 my wi-fi network
Click to expand...
Click to collapse
Which version of android you have installed, all the latest version have an option to skip the login...
no i installed rc29
i installed the stock rom can u give me an iddiots guide to go from the stock rom to the newest good working android version and also i cant get it past the sign in with gmail account page so i just really am new at this and am slowly getting the hang of it and also when i try to find my device by doing the adb devices it doesnt say ny thing other than list of devices attached and no devices r there
Okay dude try this. Open the keyboard and type:
[Enter] setprop persist.service.adb.enable 1 [Enter]
(Where it says "[Enter]," that is where you should press the Enter key on your keyboard.)
Now go back to the command prompt and type 'adb devices'.
If it shows your device, copy and paste this into the command prompt:
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings
If for some reason your device was not shown, try again.
Sent from my T-Mobile myTouch 3G using XDA App
Tried to install Cyanogen 6.1... It failed.
From there the device booted up normally on a fresh start, but I tried to recover my backup and that is where everything got all messed up.
Im stuck on the G1 screen.
Ive gotten it to the fastboot mode and Im downloading what I think I need to get my phone working again. Ive downloaded the Andriod 1.6 image from the HTC website. Do I need the recovery? I just want 1.6 until I have time to try and get Cyanogen installed.
Im currently installing JDK for the Andriod SDK.
Am I headed in the right direction?
I was using ROM Manager with Clockwork Mod. My old ROM was Super E... Not sure what version, but it was Andriod 2.1
What radio/spl do u have?
johnson8cyl said:
What radio/spl do u have?
Click to expand...
Click to collapse
2.22.19.26I
Tbry said:
2.22.19.26I
Click to expand...
Click to collapse
And spl? Do u have and eng spl? (S-off). If so u could fastboot erase your system and try to flash the rom through recovery. And fastboot flash a recovery of your choice first. Have u tried going on ezterry's thread with the new radio/spl and going that route?
Not sure what the version of the SPL is, but I know it is off. I'll check his thread out and give it a try. I might end up finding someone who actually knows what they are doing, or buying the Nexus S.
Ok. If u follow his thread exactly and fastboot flash the radio/recovery/spl u should end up with everything as described in the thread and be able to move on with cm6 with appropriate kernel. Alternatively u could boot into fastboot and open up your terminal on your computer and type in code to fastboot recovery of your choice (after it's download and put in sdk/tools folder on your PC) he has amonra link in his thread for download . Then type fastboot erase system -w (hit enter). When it's done type fastboot erase boot (hit enter). Then power down. Power back into recovery with the rom on your sdcard and flash away.
That is actually what I'm trying to do. Its just about my only option at this point.
Im having problems getting everything set up correctly though.
What are u having problems setting up?
I installed Andriod SDK, seems to be working.
Downloaded the drivers, which seems to have stopped my computer from seeing the phone.
I downloaded the Fastboot.exe, tried to run it but it cannot find ADB.dll ( Pretty sure thats what it was.)
I was basically following the steps on the cyanogen wiki.
When I have some time, I will try the Fastboot for noobs guide.
I think I followed a guide in androiddevelopers.com or something like that. If I find it again ill post a link. I don't think I ran a fastboot exe file though. Just have it in my androidsdk/tools folder. Added the variable to my paths and was good to go. Not at my PC currently though.
Edit: developer.android.com/sdk/
I believe is what I followed
http://forum.xda-developers.com/showthread.php?t=532719
Following this for fastboot.
I cannot update anything. Home + power doesnt do anything.
Only thing I can access is fastboot mode.
Fortunately my radio is up to date, so I assume my SPL is as well.
Going to attempt to try the fastboot step, once I can get the SDK working correctly
edit: I knew if I spent enough time working at it that I'd get it working.
Only problem now is getting my device to be listed.
Edit2: at first when I entered fastboot mode, I would get the "Add new hardware" for the device "Andriod 1.0"
It now says "andriod bootloader interface"
I feel like I'm so close. I'm going to keep playing with it, but what can I do to get my device listed when I type the command "Fastboot devices"?
Edit 3: Awesome. I got fastboot to work and my phone is recognized. Only problem now is getting my SD card reader to work so I can put the proper files on
Final edit: MY phone is killing SD cards for some reason. Don't know what to do
Got the SD cards to work, for some reason though, some of the commands are not working. When I type fastboot shell, I just get the usage doc.
When I do fastboot update, I get the following: error: failed to load 'update.zip'
What are u trying to do in fastboot?
Sent from my T-Mobile myTouch 3G using XDA App
Well, I fixed my phone. Back to its original state.
I guess my only question at this point my only question is if I switch to Cyanogen 6.1, will it be less buggy than my Super E ROM?
For anyone wondering, Holding home + end for about 25 seconds is what I did. From there I just went to nandriod and tried to recover the same backup that gave me the problem.
I would say no. It will not be less buggy. U can always flash and try different roms though for experiment sake. Glad u got it back up
Sent from my T-Mobile myTouch 3G using XDA App