I read recently that to flash the danger spl with the least amount of risk it should be done using fastboot. I have fastboot up and running but I am a little confused on using the commands. Can anyone help explain this to me?
You need to boot the phone into the bootloader (spl), open a command prompt on your computer, and cd to where the fastboot binary is.
From here the commands all start with "fastboot." So to erase a partition from the spl, you would enter "fastboot erase recovery" and substitute recovery for whatever you wanna erase. The partitions on the Dream are: system, boot, cache, misc, userdata, and recovery.
To flash a partition you would enter "fastboot flash [partition] [.img file name]"
The .img file has to be in the same folder as the fastboot binary.
Example: "fastboot flash recovery recovery-AmonRa-1.6.2.img"
This is, of course, just about fastboot itself. I have no idea how to flash the spl from fastboot; I didn't even think it could be done. I would suggest using fastboot to flash a custom recovery, and using the recovery partition to flash the spl zip file.
Interesting
Thanks for the reply, that definitely helps me understand fastboot a little more. I was reading in this thread forum.xda-developers.com/showthread.php?t=655097 (sorry no link) that any radio is compatible with any spl as long as you use fastboot to flash the radio and spl, but im having trouble finding any info on how exactly to do it.
Could it possibly be "fastboot flash hboot dangerspl.zip"?
Jaylen said:
Thanks for the reply, that definitely helps me understand fastboot a little more. I was reading in this thread forum.xda-developers.com/showthread.php?t=655097 (sorry no link) that any radio is compatible with any spl as long as you use fastboot to flash the radio and spl, but im having trouble finding any info on how exactly to do it.
Could it possibly be "fastboot flash hboot dangerspl.zip"?
Click to expand...
Click to collapse
You don't flash zip files through fastboot, extract it and flash the .img file directly, but yes, that command is correct.
fastboot flash radio yourfile.img
fastboot flash hboot yourfile.img
then reboot with:
fastboot reboot-bootloader
You'll probably want a recovery .img handy as well, in case you can't get into recovery after flashing. You can flash that with (predictably):
fastboot flash recovery yourfile.img
If anything goes wrong during the radio or hboot flash, DO NOT POWER OFF OR RESTART!! Come back here and get advice. If you reboot the phone without a valid radio or hboot, you will brick.
Remember there's always a risk involved with flashing these sensitive parts of the system.. if you brick it, I was never here
Sweet thanks for helping me understand. One last thing though, I know for sure I have the 2.22.19.26I radio installed already. Should I flash the new 2.22.23.02 radio first then the spl, or the spl and then the new radio?
The new radio is your choice really.. It's not made a lot of difference to me and you shouldn't have any problems just flashing the spl on top of 26i.
Jaylen said:
Sweet thanks for helping me understand. One last thing though, I know for sure I have the 2.22.19.26I radio installed already. Should I flash the new 2.22.23.02 radio first then the spl, or the spl and then the new radio?
Click to expand...
Click to collapse
The order of flashing radio and SPL, in general, is irrelevant. The exception is that the FIRST thing you should ALWAYS flash is an engineering SPL that MATCHES the consumer SPL that you HAVE installed. After that, order makes NO difference. ALWAYS flash radio or spl using FASTBOOT with the exception of the FIRST ENGINEERING SPL (since there IS no fastboot at this point).
Once an engineering SPL is installed, NEVER install a consumer SPL and NEVER use an NBH file.
lbcoder said:
The order of flashing radio and SPL, in general, is irrelevant. The exception is that the FIRST thing you should ALWAYS flash is an engineering SPL that MATCHES the consumer SPL that you HAVE installed. After that, order makes NO difference. ALWAYS flash radio or spl using FASTBOOT with the exception of the FIRST ENGINEERING SPL (since there IS no fastboot at this point).
Once an engineering SPL is installed, NEVER install a consumer SPL and NEVER use an NBH file.
Click to expand...
Click to collapse
Thats what I thought. After reading your thread I flashed the engineering SPL using recovery and now I plan on using fastboot to install the danger SPL. Is it alright to reboot and use recovery to flash a ROM after the SPL is finished or should I just keep using fastboot?
hmmm, just tried to flash with the command "fastboot flash hboot hboot.img" and I got an error, <remote: partition does not exist>. Any ideas?
1) Make sure you have the right radio on your G1.
2) Download the .zip format of the DeathSPL. If you don't have the right radio, download that, too.
3) Boot into recovery mode.
4) If you don't have the right radio on your phone and you had to follow both sentences of step 2, flash the radio.
5) Nandroid backup.
6) Save the Nandroid backup to your computer.
7) WIPE EVERYTHING.
8) Flash the DeathSPL.
9) Boot your phone normally.
10) Reboot your phone into the SPL to make sure that works.
11) Put the Nandroid backup back in the appropriate folder on your card.
12) Flash the Nandroid backup.
blackknightavalon said:
1) Make sure you have the right radio on your G1.
2) Download the .zip format of the DeathSPL. If you don't have the right radio, download that, too.
3) Boot into recovery mode.
4) If you don't have the right radio on your phone and you had to follow both sentences of step 2, flash the radio.
5) Nandroid backup.
6) Save the Nandroid backup to your computer.
7) WIPE EVERYTHING.
8) Flash the DeathSPL.
9) Boot your phone normally.
10) Reboot your phone into the SPL to make sure that works.
11) Put the Nandroid backup back in the appropriate folder on your card.
12) Flash the Nandroid backup.
Click to expand...
Click to collapse
Have you read anything in this thread or any of the awesome work by ezterry over the past few weeks? FLASHING THE SPL THROUGH RECOVERY CAUSED ALL THE BRICKS.
Anyone looking at this thread for help should ignore this and use the fastboot method detailed above.
Jaylen said:
hmmm, just tried to flash with the command "fastboot flash hboot hboot.img" and I got an error, <remote: partition does not exist>. Any ideas?
Click to expand...
Click to collapse
Er.. I've not come across that one before..
Yeah I just put it on hold for the night. It seems that fastboot only flashes to these partitions, system, boot, cache, misc, userdata, and recovery. I'm wondering if the SPL is stored in one of these. I found an ancient JesusFreke thread where he was talking about it being in misc, but I wasn't just gonna go flashing away at random partitions lol...
Ok, I was looking at the commands in fastboot by typing "fastboot ?" in the command prompt and I notice that it says you can flash update.zip files from fastboot. I'm wondering if I rename the original Danger SPL zip file to update.zip and try to flash it this way through fastboot if it will work. Kind of nervous to try it though, what do you guys think?
Yeah that's why I didn't list "hboot" as an available partition. I've had problems with that too. But I've only ever flashed my spl the one time so I didn't even need it.
I would say it's a bad idea to try to flash the spl while in the spl. That may possibly not turn out so nice. I don't know for certain, mind you, but it just sounds dangerous.
FaJu said:
Yeah that's why I didn't list "hboot" as an available partition. I've had problems with that too. But I've only ever flashed my spl the one time so I didn't even need it.
I would say it's a bad idea to try to flash the spl while in the spl. That may possibly not turn out so nice. I don't know for certain, mind you, but it just sounds dangerous.
Click to expand...
Click to collapse
The running spl is in RAM. No need to worry about this.
@Jaylen: That's an interesting one about the partition not being available. I'll look into that -- it could potentially throw a wrench into things.
I don't think its fastboot error or anything, I'm a little bit new at this but I'm pretty sure I set it up correctly. I can see my device in the command prompt, could I have missed a step? @ lbcoder What do you think about flashing the SPL as an update.zip package through fastboot?
Sent from my T-Mobile G1 using the XDA mobile application powered by Tapatalk
hey all, i'm searching around for a general issue i'm having with getting fastboot up and running. i believe i have everything installed, but when i try to run fastboot.exe, it tells me that another file, AdbWinApi.dll, is missing from my comp. but this file is located in another folder in the SDK, platform-tools.... so the file is there and installed, but is there something i need to do with my PATH in my environment variables or something? any help would be amazingly appreciated... i'm trying to get fastboot up and running so i can run some test builds for developers. i'm running 64-bit Windows 7. thx
yogi2010 said:
hey all, i'm searching around for a general issue i'm having with getting fastboot up and running. i believe i have everything installed, but when i try to run fastboot.exe, it tells me that another file, AdbWinApi.dll, is missing from my comp. but this file is located in another folder in the SDK, platform-tools.... so the file is there and installed, but is there something i need to do with my PATH in my environment variables or something? any help would be amazingly appreciated... i'm trying to get fastboot up and running so i can run some test builds for developers. i'm running 64-bit Windows 7. thx
Click to expand...
Click to collapse
You'll need that file to run in ADB mode.
Has anyone who has a CDMA Hero been able to flash a recovery image through fastboot? I have never been able to and I either flash it with the OS running or when booted into recovery.
unCoRrUpTeD said:
Has anyone who has a CDMA Hero been able to flash a recovery image through fastboot? I have never been able to and I either flash it with the OS running or when booted into recovery.
Click to expand...
Click to collapse
I have done it on my g1 but you'll need the eng spl to unlock the fastboot flash commands. So yes it is possible.
ASimmons said:
I have done it on my g1 but you'll need the eng spl to unlock the fastboot flash commands. So yes it is possible.
Click to expand...
Click to collapse
I knew it had to be something because on the G1 you can do fastboot shell and a whole lot of other stuff that we can't do.
unCoRrUpTeD said:
I knew it had to be something because on the G1 you can do fastboot shell and a whole lot of other stuff that we can't do.
Click to expand...
Click to collapse
If you flash the eng spl with s-off that floating around here you'll have all the fastboot commands unlocked. this will allow you to flash stuff from fastboot... and as far as I've heard pretty much makes your phone un-brickable (save flashing a bad radio since this boots even before the spl) basically you can only soft brick your phone... so you just go to the fastboot and fastboot flash a new recovery, rom, kernel.... yadda and your back.
This seems to be where you see people say that there stuck on fastboot but can't do anything, if you have the eng spl your golden if not your in trouble.
The rooting for the g1, as a remember it made you flash the danger spl which I think was similar to the eng spl. Its been a while so I could be wrong on that but thats how I remember it.
I was trying to improve the speed and battery life on my HTC Dream. I am using cyanogen recovery 1.7.0R. I changed the radio from 2..22.23.02 to 2.22.28.25. I also upgraded the Hboot from 1.33.2005 to 1.33.13d. After making this change the phone hangs at the boot screen and will not enter recovery mode. I am able to get into fastboot however when I try to flash a new recovery, radio or hboot I get signature verify fail. Is there hope for my phone or is it finished?
jmc7895 said:
I was trying to improve the speed and battery life on my HTC Dream. I am using cyanogen recovery 1.7.0R. I changed the radio from 2..22.23.02 to 2.22.28.25. I also upgraded the Hboot from 1.33.2005 to 1.33.13d. After making this change the phone hangs at the boot screen and will not enter recovery mode. I am able to get into fastboot however when I try to flash a new recovery, radio or hboot I get signature verify fail. Is there hope for my phone or is it finished?
Click to expand...
Click to collapse
Most likely you did not flash recovery and your "old" one is corrupted. Your should have read here how to update, but nevertheless because you are able to go into fastboot, now you have to start over.
1. Read the OP of ezTerry's thread carefully
2. Check the type your phone to identify the nbh-file you have to flash to recover from your current situation (most likely you will need the orange-xxx.nbh)
3. Flash that nbh file using fastboot
Now you have an engineering SPL and you can flash recovery, radio and the 1.33.0013d SPL again.
AndDiSa said:
Most likely you did not flash recovery and your "old" one is corrupted. Your should have read here how to update, but nevertheless because you are able to go into fastboot, now you have to start over.
1. Read the OP of ezTerry's thread carefully
2. Check the type your phone to identify the nbh-file you have to flash to recover from your current situation (most likely you will need the orange-xxx.nbh)
3. Flash that nbh file using fastboot
Now you have an engineering SPL and you can flash recovery, radio and the 1.33.0013d SPL again.
Click to expand...
Click to collapse
Thank you for your help. I followed the link and was able to use the orange.nbh to get the phone to boot then used fastboot to reload a recovery image. Thanks again.
i have the latest radio and hboot for G1 (check sig) and in fastboot mode it says S-on.. now im having trouble flashing a custom splash screen via fastboot and i read somewhere that the S-on may be why.. do i need to downgrade to engineering spl to use fastboot flash method? I keep getting a... <bootloader> checking signature failed! in cmd... but i do have fastboot enabled and working properly..
Did you follow ezterry's on how to install the spl and radio:http://forum.xda-developers.com/showthread.php?t=831139? did u follow these steps for installing the spl?
== Installing ==
(Note: Please Do read the information on the SPL below before actually installing)
1) Take a nandroid backup of your current rom (mandatory if you are trying to move the current rom to the new radio/SPL) to simplify things put any update.zips you expect to need on the SD card now
2) enter fastboot mode
3) flash the files and other operations via fastboot
Code:
fastboot flash recovery recovery-RA-dream-v1.7.0-cyan.img
fastboot flash radio radio-2.22.27.08.img
fastboot flash hboot hboot-1.33.0013d.img
fastboot reboot-bootloader
now you will see you have an s-on boot loader with 1.33.0013d as its version
Code:
fastboot erase system -w
fastboot erase boot
please remember while fastboot erase works; fastboot flash does not so be careful *not* to remove the recovery
4) Boot into recovery
5) install a system from backup or as a fresh rom some options are:
Click to expand...
Click to collapse
ldrifta said:
i have the latest radio and hboot for G1 (check sig) and in fastboot mode it says S-on.. now im having trouble flashing a custom splash screen via fastboot and i read somewhere that the S-on may be why.. do i need to downgrade to engineering spl to use fastboot flash method? I keep getting a... <bootloader> checking signature failed! in cmd... but i do have fastboot enabled and working properly..
Click to expand...
Click to collapse
You have a perfected SPL installed on your phone (0013d), so you do not have full fastboot support and you are not able to flash a custom splash screen.
If you want to downgrade, flash the orange-xxx.nbh file from Terry's thread (can be found in my signature) and after that you will have an engineering SPL. With this you should be able to flash a custom splash screen. After that you can go back to 1.33.0013d/2.22.28.25 ... everything can be done using fastboot, so your risks to brick your phone are very(?) limited ...
yeah i figured it out thanks guys!! had to temp flash the engineering spl to do what i wanted.. than jus re flashed 0013d everything is all set thank you guys though!!!
I accidentally removed the recovery... and still having same issues with S-ON with HBOOT-1.33.0013d.... need help getting recovery back on my phone. have new radio too.
hubby0925 said:
I accidentally removed the recovery... and still having same issues with S-ON with HBOOT-1.33.0013d.... need help getting recovery back on my phone. have new radio too.
Click to expand...
Click to collapse
You (as I see was indicated in the thread before) go to the 2708+ kernel/SPL/Radio thread:
http://forum.xda-developers.com/showthread.php?t=831139
This has all the information on the use of 2708/2835 radios and the 1.33.0013d SPL including a section on what to do if you loose access to both the system and recovery in the '== Important Information about 1.33.0013d ==' section [Its important to read that section anyway if you are using 1.33.0013d]
If you still have access to boot, just use flash_image or rom manager to restore your recovery image.
hi
i am quite desperate after aborting a neverending nandroid backup (created a 2.4gb file Oo) my g1 won't boot anymore. it just stays at the tmobile bootscreen (reboot with red-green-menu still works). even worse when i boot to recovery it instantly freezes there too with the error message :
E: Can't open CACHE:recovery/log
Click to expand...
Click to collapse
the only thing a can do is boot into fastboot. however there i neither flash the recovery:
FAILED (remote: signature verify fail)
Click to expand...
Click to collapse
nor boot recovery through fastboot:
downloading 'boot.img' ...
OKAY [ 1.738s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 764.998s
Click to expand...
Click to collapse
actually i did not want to spend days on this... but did i finally manage to brick the g1? i really started thinking it would not happen. maybe it did not like that a talked about getting a new phone today. anyway your help would be appreciated a lot.
thanks
-fleity
phone stats:
Rom:[2.2.2 AOSP] DREAMteam Froyo v1.9.2
recovery: AmonRA 1.7.0
hboot 1.33.0013d
radio 2.22.28.25
You'll need to restore the phone with the orange nbh, then reflash recovery, spl, and radio.
Download this: https://rs766tl2.rapidshare.com/files/422717980/orange-1.58.73.2.nbh
Then flash it through fastboot with "fastboot flash nbh orange-1.58.73.2.nbh"
make sure you don't interrupt it
Reboot into fastboot and reflash recovery, radio, and spl following instructions in here: http://forum.xda-developers.com/showthread.php?t=831139
That thread also has instructions for fixing things if you find yourself without recovery
It's what I just posted. Flash orange nbh and reflash the stuff.
if you still have hboot there is no worries, at least no brick
you cant flash anything with the spl you have but as frankdrey just stated you can flash a .nbh through hboot!
just like the old dreaming.nbh that you more than likely used to root your phone, simply load it onto sd card then turn on phone while holding camera, say yes to update, wait ~5min and bam you have an engineering spl ready to flash amon_ra and pop in a new rom, and when your done go back to the latest radio\spl.
and if you wait a bit you may be able to flash the 1.33.0014d spl - not sure how much better this will be as a whole, but it sounds as if you would get the perks of the 1.33.0013d spl and as an added bonus be able to fastboot flash so no need for the orange.nbh any more... well maybe, soon we should know, going to try it now!
actually fastboot erase system -w already did the trick. thanks a lot for your answers
Unable to use recovery.
This sounds similar to my current difficulty. I have a stock, (supposedly) unlocked? ? Htc G1 with 1.0 firmware RC29.. Can't seem to load anything! Loaded FlashRecs 1.2, 1.4 or Amon Ra's 1.7, and it seems I cannot utilize them. Rooting guied with Dreaming.nbh changes nothing..
Casper Young said:
This sounds similar to my current difficulty. I have a stock, (supposedly) unlocked? ? Htc G1 with 1.0 firmware RC29.. Can't seem to load anything! Loaded FlashRecs 1.2, 1.4 or Amon Ra's 1.7, and it seems I cannot utilize them. Rooting guied with Dreaming.nbh changes nothing..
Click to expand...
Click to collapse
Let's start from the start.
Go to your homescreen and press the enter key on the keyboard, type reboot and press enter again
Sent from my HTC Dream using xda app-developers app