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.
I flashed a new ROM to the phone and rebooted. At reboot, when the first "android" screen comes up it gets stuck there.
If I reboot in to the recovery screen it will go there but I can't do ANYTHING! Can't scroll to a command, can't "Alt+" any command.
At the very bottom of the screen it says:
Build : RA-dream-v1.7.0
E:Error in CACHE:recovery/log
(No space left on device)
HELP?!? Did I finally manage to find a way to brick my phone?
I do not expect that you bricked your phone. What SPL do you have installed? If you have 1.33.2003 or 1.33.2005 installed, you have always he possiblity to go to fastboot mode and flash a new recovery.
AndDiSa said:
I do not expect that you bricked your phone. What SPL do you have installed? If you have 1.33.2003 or 1.33.2005 installed, you have always he possiblity to go to fastboot mode and flash a new recovery.
Click to expand...
Click to collapse
I AM able to get it in to fastboot. I'm still a bit of a newbie though, so I'm not sure what SPL I have...? Possibly Danger? How do I flash a new recovery?
AndDiSa said:
I do not expect that you bricked your phone. What SPL do you have installed? If you have 1.33.2003 or 1.33.2005 installed, you have always he possiblity to go to fastboot mode and flash a new recovery.
Click to expand...
Click to collapse
Oh! I see in fastboot that I do have 1.33.2005. So how do I flash a recovery? Thanks!
Nevermind, I Got it!! Thanks for the suggestion/help!
1.33.21005 is DangerSPL, so you have the possibility to use fastboot. There is a tutorial here in the forum to setup adb and fastboot. Unfortunately I do not have the link at the moment.
If you have setup your fastboot environment, you should be able to flash a new recovery with the following command:
fastboot flash recovery recovery.img
Send from my G1 with HTCClay's UNOFFICIAL Superfly 1.5 D/S ADS using XDA App
Excellent
AndDiSa said:
1.33.21005 is DangerSPL, so you have the possibility to use fastboot. There is a tutorial here in the forum to setup adb and fastboot. Unfortunately I do not have the link at the moment.
If you have setup your fastboot environment, you should be able to flash a new recovery with the following command:
fastboot flash recovery recovery.img
Send from my G1 with HTCClay's UNOFFICIAL Superfly 1.5 D/S ADS using XDA App
Click to expand...
Click to collapse
I had the exact same issue and this worked from me...using Amon_RA's method:
"via fastboot :
* Requires engineerings SPL!
Code:
Copy recovery-RA-dream-v1.7.0.img to a location where fastboot can find it.
Boot your G1 into fastboot mode (boot while holding BACK)
Connect your G1 via usb to your pc/mac/...
fastboot devices (to make sure that fastboot "sees" your device)
fastboot flash recovery recovery-RA-dream-v1.7.0.img
"
I just saved recovery-RA-dream-v1.7.0.img to the "tools" folder of the android-sdk and ran cmd from there (Hold shift + Right-click in win7).
Rebooted holding home and I was in RA-dream-v1.7.0 without the error.
Click the recovery image link in my sig for more info.
Thanks!!
To all of you that have suggested things, I figured it out thanks to your suggestions!! I appreciate all of your help on this issue!!
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.
I got a old g1 today it looks like it may need a new battery will have to get one before I flash.
It has CM 5 on it. It looks like before I flash any new roms I may need to update the hboot or radio ?
hboot
1.33.2005
cpld-4
radio
2.22.23.02
that's what there at now thanks. All the roms I looked at dont support 1.33.205 or am I wrong I would like to go to cm 7 what do I need to do?
All ways safe to double check before I start flashing thanks much
i flashed recovery 2.5.07
I tryed a rom that side it would support my hboot
it just got stuck at g1 screen did not make it to spash used recovery to flash back to cm 5 any suggestions
id suggest using amonra's recovery for the g1, in my opinion its the best to date. also consider upgrading your radio/spl. the extra 14mb of ram is huge for the g1 and most new roms require it. all the info to do this can be found in the forum, but if you need further help feel free to ask.
demkantor said:
id suggest using amonra's recovery for the g1, in my opinion its the best to date. also consider upgrading your radio/spl. the extra 14mb of ram is huge for the g1 and most new roms require it. all the info to do this can be found in the forum, but if you need further help feel free to ask.
Click to expand...
Click to collapse
Ok i figured I just use fastboot? I have a little fear of bricking it. Can you link a good guide flashing radio and hboot I have seen 3 or 4
well im in the process of writing a fastboot guide for the vision in another forumHERE although it is not finished.
the commands are the same just dont use the links to get the recovery, radio etc from that thread :good:
get the recovery image from amonra
and follow my 4ext recovery instructions
next will be flashing the radio and spl
this is a .zip and and you will need to extract the images
once you have everything ready to roar here are the fastboot commands:
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
you can just copy and paste each line one after another in cmd
and for more info go HERE
good luck, between my guide and ezterys you should have more than enough info, of course feel free to ask more questions
demkantor said:
well im in the process of writing a fastboot guide for the vision in another forumHERE although it is not finished.
the commands are the same just dont use the links to get the recovery, radio etc from that thread :good:
get the recovery image from amonra
and follow my 4ext recovery instructions
next will be flashing the radio and spl
this is a .zip and and you will need to extract the images
once you have everything ready to roar here are the fastboot commands:
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
you can just copy and paste each line one after another in cmd
and for more info go HERE
good luck, between my guide and ezterys you should have more than enough info, of course feel free to ask more questions
Click to expand...
Click to collapse
thanks much dont need a guild as I have fastboot set up all ready in a dir just looking for files to flash the links and guids were very old dating from 2009-2011 I was lost thanks much
great, then all the files needed are in my last post. just be sure to flash in that order as the .13d spl is not compatible with your current radio, and as a heads up once you change to this hboot you will no longer be able to use most fastboot commands as this is a hacked bootloader and isn't perfect in that sense. erasing partitions will still work just fine though
Sent from my HTC Vision using xda premium
All is well now thanks much thats why I love fast boot.