From Dev to original, please help!!! - G1 Q&A, Help & Troubleshooting

So I just got into this stuff last week and have learned quite a bit. I tried various types of images. Accidentally I happened to load the Android 1.6 dev image to my regular G1. Now it wont let me flash anything! It wont let me flash images or even the spl! Please help me!!! How do I get back to cupcake now?

You mean the stock ADP1v1.6 image from developer.htc.com?
First off, you do NOT want to be flashing the SPL. The first thing you should have done is to write the ENGINEERING SPL (ADP1 stock SPL), and then NEVER touch the SPL again.
Now since you managed to write the stock ADP1v1.6 image, I suspect that you already have this (or the uselessly different hack of it called HARDSPL), which means that you have a mode called FASTBOOT (which can be used to write ANY image (in image format, not in update format) to the device. I suggest flashing the RECOVERY partition with cyanogen's recovery image. You can use fastboot to do this. The fastboot binary and instructions on getting into fastboot mode is available at developer.htc.com/adp.html -- the command to use would be "fastboot flash recovery recovery.img".
Note: With a stock ADP1v1.1 or newer, root access is available (yes, stock root), but only via ADB -- this is a SECURITY precaution to prevent malicious apps from hijacking root. If you want to su to root, just need to go in via ADB. So in other words, if somehow you have a stock tmobile SPL that lacks fastboot, then you DO have root access, so you can go in and flash the recovery partition over ADB. What you would do here is copy the recovery.img onto the root of your sdcard and use the flash_image command... i.e. "flash_image recovery /sdcard/recovery.img".

Related

Question about which SPL

I rooted my phone only end of last week and am pleased with it, as working fine.
I used SPLHard and engineer recovery testkeys, and because I used jf1.5 i also updated the radio for 1.5 so this is now 2.22.19.26i.
I'm now trying to backup the phone, but can't find the options Alt+B when go into recovery mode to do this
So have I installed the correct stuff or should I be using the engineering SPL and not the Hard SPL, and if so would it have issues seeing I'm running the latest radio stuff
camera+power shows
DREA110 PVT 32B
HSPL10.95.3000
CPLD-4
RADIO-2.22.19.26I
Oct 20 2008
using home+power shows
Android system recovery utility
Using test keys
E:Can't open /cache/recovery/command
Home+Back = reboot
Alt+L = log text
Alt+S = install update
Alt-W = wipe
Now from what others have said there should be Alt+B to perform a Nandroid backup, but I can't find this option anywhere.
The only other thing I've done since rooting the phone is to change bootloader and install Buuf theme.
I also tried settin up the sdcard for Ext2 but again can't find apps2sd, so in the process of putting card back to normal
You need to boot off the modified recovery image. And then, alt-b are buttons on the keyboard, so there is nothing to "find".
lbcoder said:
You need to boot off the modified recovery image. And then, alt-b are buttons on the keyboard, so there is nothing to "find".
Click to expand...
Click to collapse
i've tried doing it both camera+power and home+power
then press alt+b and nothing
so how do i know if the nandroid backup is on the build i have?
walkerx said:
i've tried doing it both camera+power and home+power
then press alt+b and nothing
so how do i know if the nandroid backup is on the build i have?
Click to expand...
Click to collapse
Nandroid is part of the modified recovery image, not an SPL. JesusFreke did not package the modified recovery image with the 1.5 and 1.51 firmwares. Get it here and you'll get your nandroid backup.
mikedmeyer said:
Nandroid is part of the modified recovery image, not an SPL. JesusFreke did not package the modified recovery image with the 1.5 and 1.51 firmwares. Get it here and you'll get your nandroid backup.
Click to expand...
Click to collapse
thanks
downloaded and transfered to phone and installed, rebooted back into recovery, a load of info came up then got the recovery menu with Alt+B and Alt+X, performed backup which said completed
So thanks again
You're welcome. Nandroid puts *.img files in the "Nandroid" subdirectory of your SDCard. You might want to copy them somewhere safe (onto your PC). The important ones are: system.img, data.img, and boot.img. If you ever need to restore them you'll need them on your PC anyway, and you'll need to get fastboot running on that PC.
Once you get fastboot running you can recover from *almost* any firmware flashing disaster. As long as you can boot the phone into fastboot by powering up with the camera button held down, you can restore these backups and bring your phone back to the state it was in when you backed up. Just connect to PC USB and type
fastboot flash system system.img
fastboot flash userdata data.img
fastboot flash boot boot.img
in the PC command prompt. (Obviously you need to be in the same directory as fastboot.exe and the img files, or they need to be in your path)
Where to get fastboot?
http://forum.xda-developers.com/showpost.php?p=3083753&postcount=1
There was no need to write the recovery image. You can put your phone into fastboot and boot off *any* recovery image using "fastboot boot recovery.img" from your regular computer.
lbcoder said:
There was no need to write the recovery image. You can put your phone into fastboot and boot off *any* recovery image using "fastboot boot recovery.img" from your regular computer.
Click to expand...
Click to collapse
There was no need to write it to restore, however to simplify making a nandroid backup there is a need.

I've installed the HTC recovery 1.6, what should I do?

Now I can't install any rom...
I can tell you what you should've done. Post your questions in the Q&A section. Also if you flashed this because you wanted the newest CM then you didn't follow the directions correctly and now you lost root congrats.
question and answer section is where this belongs....and i don't know what you were trying to do but you need to re read the instructions to do so......
You cannot install any rom because you have loose your root as when flashing HTC Recovery Image 1.6 only you will lose root. So you need to root again before installing any other rom
Before we can help you, we need to know what exactly you flashed, and how you flashed it. I am assuming that you downloaded the ADP1 images of 1.6 from HTC's site. Here are a few questions that will help others guide you to an answer:
Did you download the package to be used through the recovery tool (booting with HOME+POWER) or through the fastboot tool (booting into the SPL with CAMERA+POWER)?
If you used the fastboot method, did you follow HTC's directions and flash all of their images, or did you manually flash each partition?
If you manually flashed the partitions, did you also flash over the recovery image?
Because of the way that HTC limited their ROM, if you did not retain your recovery partition, you will most likely need to start from scratch. (If you flashed HTC's ROM using recovery mode by booting with HOME+POWER held down, or if you used the fastboot method, but did not manually flash the partitions preserving your existing recovery partition, then you need to start from scratch.) Thankfully, it is now easier than ever to do this. Here are the steps you need to perform:
Download RC29 image (DREAIMG.NBH). You can find links to this file on the forum.
Download cyanogen's recovery image (1.4).
Copy both the DREAIMG.NBH file and the cm-recovery-1.4.img file to the root of your SD card. You can do this easily by mounting the SD card, and just copying it over from your computer.
Boot into your phone's SPL by starting up while holding both CAMERA+POWER.
When the SPL finds the DREAIMG.NBH file on your SD card, it will automatically prompt you to install the image. Follow the prompts. This will leave your phone with the first shipped version of Android (1.0).
After the install has finished, reboot the phone by pressing CALL+MENU+POWER at the same time. This will boot you into an old version of Android.
In order to proceed any further, you must re-register your phone. Just enter you Google Account information once the phone is booted.
Change your phone's settings to allow you install non-Market applications. Do this by going to Settings > Applications > Unknown sources.
Open the Browser application, and navigate to http://code.google.com/p/flashrec/. From there, download the current version of flashrec.
Lauch flashrec. First you must backup your current recovery image. Then, tell it to flash "/sdcard/cm-recovery-1.4.img".
Now you have a recovery partition that will allow you to flash any image you want—problem solved.
However, please remember this is development forum, and not the Q&A. Please do post your questions in the Q&A forum. Also, please use the search function, as this type of question has been answer MANY times before.
see post 11- and below
http://forum.xda-developers.com/showthread.php?t=568171
Oh~ thank you very much.
I'm in this situation because I'm not using the CM recovery 1.4 and I flashed the HTC recovery image 1.6.
I've rerooted my phone.

[Q] CM5 install prob- not booting into custom recovery?!

Hi,
I've owned and ROM'd two Android phones, but not a G1 and wanted to help out a friend to get her stock 1.6 G1 to CM5. We ran into problems which led me to not want to continue before they are sorted out. I looked for answers to this but couldn't find any, so please don't flame me if I overlooked any. I tried to go by the instructions in the CM wiki.
This is what we did:
- We installed ClockWorkMod Recovery through the ROM Manager app
- We rebooted into that recovery and via adb flashed AmonRA recovery
- we rebooted into the AmonRA recovery which worked (I *think* just regularly holding Home while powering on)
- we flashed the appropriate radio update for her US TMo G1
- the documentation said "phone will reboot during update". I think it did, but it seemed stuck on "formatting cache" in recovery.
- when holding Home on reboot after that, it did from there on NOT reboot into the custom recovery
- instead, it rebooted into what looks like "bootloader" mode on my Moto Milestone, a screen with a phone and an exclamation point. We could get into stock recovery with Alt-L, but I don't think that is what we wanted.
At this point, it seemed to not reliably boot into custom recovery, so I didn't want to continue the process. I assume I could have gone down the same of flashing a custom recovery, but I wasn't sure what would happen with/after installation of the DangerSPL if booting into recovery wouldn't work.
So - is the "booting into bootloader instead of recovery" a known issue? Am I too much of a noob on the G1 and did totally miss something? Could or should we proceed to the DangerSPL / CM5 installation with this going on?
Any help would be much appreciated!
W0nk0
Flashing a new recovery from CM5 or CM6 is not working well. Try flashing the recovery image / radio image / ... from fastboot and you should be fine.
Edit: I did not read well the first time. Now I notice, that you are still on stock SPL, sorry. But re-reading well I've got a question: Are you sure you flashed already successfully a new recovery? For me it seems you are still on a plain stock G1.
Sent from my Htcclay's Superfly G1 using XDA App
Thanks a lot for your help!
We _were_ on a custom recovery twice, after flashing it from ROM manager (Clockworkmod then) and on the AmonRA recovery after that. As the recoveries clearly had non-stock things like nandroid I'm quite positive.
The problem seems to be that they didn't "stick" - we flashed the radio ROM upgrade from Amonra recovery, but after a reboot with Home pressed landed in the exclamation point screen again (which seems to indicate stock recovery as you can get to that with Alt-L from there).
If fastboot is indeed the way to go, where do I get the drivers for the windows/pc side of it? The noob guide I found had no help there :/.
Thanks again,
W0nk0
Sent from my Dell Streak using Tapatalk
Few things;
1) if you have the OEM system image, then, indeed, the recovery will be overwritten by the OEM recovery image upon reboot into the system.
2) You say that you've written a RADIO image.... ***WHAT*** radio image did you write? You should have written a radio with a version number that starts with a "2".
3) Have you written a new SPL? The SPL you should write is 1.33.2003. DO NOT install deathSPL, no matter how many RETARDS suggest it. There is ABSOLUTELY NO USE in it. 1.33.2003 is SAFE to install (unlike 1.33.2005), and the ONLY benefit of 1.33.2005 has been GREATLY EXCEEDED, making that "benefit" entirely pointless.
Note that with the stock SPL (0.95.0000), there IS NO FASTBOOT. 1.33.2003 has a very strong fastboot capable of writing ALL partitions, including the radio image. Fastboot is the safest way to write the radio and SPL, but prior to installing an SPL with a strong fastboot mode, obviously you can't use this feature.
Steps:
1) Reinstall custom recovery,
2) reboot into recovery and write 1.33.2003 SPL.
3) DO NOT let it boot into regular system prior to installing 1.33.2003 SPL, or it will overwrite that custom recovery.
4) After installing the good SPL, it would still overwrite the custom recovery by booting into the regular system, but by this time, you will have FASTBOOT, so it doesn't matter.
5) Now do what you want... but once you have a 2.x radio and 1.33.2003, do NOT write any other radio or SPL, and for F SAKES DO NOT RUN ANY NBH FILES EVER NO MATTER WHAT!!!

[Solved]G1 stuck on recovery

My G1 is stuck on Amon RA recovery....I tried to use firerat's method and after i flashed foroyo rom its stuck in the recovery...but it doesnt show any options...
Just
Build : RA-dream-v1.7.0
thats it i cant do anything....
i know i didnt brick my phone...please help...
[Solved]
solution : install fastboot and you can erase the system...
C:\\ .......android-sdk-windows\tools\fastboot devices
C:\\ .......android-sdk-windows\tools\fastboot -w
C:\\ .......android-sdk-windows\tools\fastboot flash recovery [recovery path with ".img"]
walla your recovery is overridden by the new one...
Most likely you did not completely follow the instructions how to install mtd, but nevertheless what SPL do you have installed? If you have 1.33.2003 I suggest to flash recovery again using fastboot and you are rescued.
Otherwise ... I don't know. Even if you are able to connect via adb I do not expect you can flash a new recovery while beeing in recovery. For sure you are able to go into bootloader install dreamimg.nbh, etc. but this would mean to do the hole rooting process again.
AndDiSa said:
Most likely you did not completely follow the instructions how to install mtd, but nevertheless what SPL do you have installed? If you have 1.33.2003 I suggest to flash recovery again using fastboot and you are rescued.
Otherwise ... I don't know. Even if you are able to connect via adb I do not expect you can flash a new recovery while beeing in recovery. For sure you are able to go into bootloader install dreamimg.nbh, etc. but this would mean to do the hole rooting process again.
Click to expand...
Click to collapse
thankx man for replying....i kinda fixed it ...i followed this step
http://forum.xda-developers.com/showthread.php?t=807183&page=13
post number 160
but afte i Flash FR-recovery-v1.5.3-CustomMTD_S.zip and reboot to recovery my amon recovery goes blank...kinda funny....
actually you can do anything with fastboot...erase system...flash recovery...i couldnt flash a rom..but was able to override the recovery....that all i needed...

[Q] Is Fastboot the answer to my woes?

I want to flash a new radio and kernel to my G1 that is running CM6. My signal is atrocious and I get a few random oddities each day.
I have tried the recovery flash for the radio at least 6 times now in various ways following various guides and every time I do it it crashes my phone and I end up flashing the image, rooting, etc, to get back to CM6. it takes me over an hour to get back to normal and it just plain sucks!
So my question is..... Can I use fastboot flash to flash the image files for the radio and the kernel without being on the special Hboot 1.33.0013d and such?
I was planning to use the instructions from the ezterry kernel page and just want to check that I wont bork up my phone. I seem to recall that the fastboot flash bypasses all the need for FR-remove and such but want a second opinion before I take the dive this way.
Not trying to drive you away from CM 6, but have you tested other ROM to see if it has the same problem or similar.
I personally myself could not get CM6 to work properly on my G1 back when I was trying to use it.
I couldn't get the radio to recovery flash even on the stock ROM after rooting.
I guess I could try a different ROM.
I just now have proven to myself that i cant flash the EzTerry kernel from Rom Manager and clockwork recovery as I am in the midst of yet another image flash, re-root, and such after it wouldn't go past the reboot screen afterwards
This phone is just an extra toy but I am determined to figure it out.
I suppose I will just try the radio.img flash from fastboot tonight when I get home.
As long as I dont brick it I can always start over from scratch.
so I copied the image I want to flash onto the root of my sd card
did the camera+power boot
pressed the back key and I am at the screen with the red fastboot usb box
I plug into the computer (adb already installed and working fine) and go to the command prompt and type
fastboot flash hboot hboot-1.33.0013d.img
the screen says error: cannot load 'hboot-1.33.0013d.img'
Did I put the image file in the wrong place?
Edit: I put it in the root of the computers c: drive and typed
fastboot flash hboot c:\hboot-1.33.0013d.img
seems to have worked.
FireRaider said:
so I copied the image I want to flash onto the root of my sd card
did the camera+power boot
pressed the back key and I am at the screen with the red fastboot usb box
I plug into the computer (adb already installed and working fine) and go to the command prompt and type
fastboot flash hboot hboot-1.33.0013d.img
the screen says error: cannot load 'hboot-1.33.0013d.img'
Did I put the image file in the wrong place?
Edit: I put it in the root of the computers c: drive and typed
fastboot flash hboot c:\hboot-1.33.0013d.img
seems to have worked.
Click to expand...
Click to collapse
do the same thing with the radio and recovery
maximo360 said:
do the same thing with the radio and recovery
Click to expand...
Click to collapse
I got the recoveryand the hboot to flash but damned if I can get any radio to flash.
I get
writing 'radio'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
this is with both version of the radio downloaded from the links in the EzTerry thread
What in the world am I doing wrong that I cannot flash a new radio?
installed the spoofSPL... didnt help
edit: Started over again from scratch, rooted, flashed RA recovery, dangerSPL, then fastbooted and managed to install the hboot and the new radio. I guess CM6 hates the newer radios.
edit: Pretty sure CM6 does hate the radio because now its hung up on the install screen.
off to do more research.
People ... you should read before flashing around.
Ok, let me try to help.
1) As long as you have a fastboot enabled SPL, there is no need to 're-root'. Boot into hboot and flash the things you want.
2) Going to 1.33.0013d you *lose* most of your fastboot capabilities, e.g. flashing a new SPL/radio/recovery is no longer working. The only chance is to flash a signed nbh-file (e.g. fully signed rom)
I suggest you to read Terry' thread carefully (a link is in my signature) and then to retry ...
Btw: If you have installed the "new" radio/spl combo you need an adopted kernel, too, otherwise you will get bootloops.
Sent from my Gingerbread on Dream using XDA App
AndDiSa said:
People ... you should read before flashing around.
Ok, let me try to help.
1) As long as you have a fastboot enabled SPL, there is no need to 're-root'. Boot into hboot and flash the things you want.
2) Going to 1.33.0013d you *lose* most of your fastboot capabilities, e.g. flashing a new SPL/radio/recovery is no longer working. The only chance is to flash a signed nbh-file (e.g. fully signed rom)
I suggest you to read Terry' thread carefully (a link is in my signature) and then to retry ...
Btw: If you have installed the "new" radio/spl combo you need an adopted kernel, too, otherwise you will get bootloops.
Sent from my Gingerbread on Dream using XDA App
Click to expand...
Click to collapse
I managed to get everything work and am running CM6.1+2708 and 0013d with the .27 radio.
Why do we go to the 0013d if it screws up the fastboot? I notice in your signature you are running it also?
And say I want to flash a different rom now? I can only do it from RA recovery, Correct?
But as it stands now I ought to be able to experiment around with the other radio and other roms using recovery without any more issues? Or do they need to have certain parameters?
Once rooted, (to my knowledge) you do not required to re-root it again.
You can use RA Recovery to flash other ROMs with out having to re-root. (as to what I was told) And I recommend RA Recovery instead of ROM Manager/ClockMod Recovery (bad experience with it personnaly).
So as long as the ROM that you want to try is compatible with your current SPL/radio. You should be fine.

Categories

Resources