Fastboot flashing - Samsung Galaxy Nexus

Ok, back in my HTC Desire HD days I could rename a prepared radio zip file to PD98IMG.zip, move the file to my SD-card root, then go to fastboot and the file was immediately recognized as flashable and I could choose to flash it, without going through adb.
Is there any similar method in Gnex?
For instance, I would like to flash a ClockworkMod Recovery update file straight from fastboot, without adb commands (i.e. a PC).
Thanks.

no. HTC phones use hboot which is their own bootloader written to look for that file name.

Thanks!:good:

In the Nexus, you flash raw images through fastboot.
'fastboot flash <partition_name> filename.img'
Partition names available: system, boot, recovery, userdata, logo.bin
Edit: read the stickies
http://forum.xda-developers.com/showthread.php?t=1812959
Sent from my i9250

Related

[Q] insertcoin data plus V3 help

i have installed insertcoin dataplus v3 with partition of fat32 =6.40gb
and ext3=1gb ...still the internal memory appears low all the time ...can any1 help me with this .....
Thanx
Are you S-off? Did you flashed the CM7 HBoot partition table?
YES M S-OFF ..... I DIDNT FLASH CM7 HBoot partition table ...WHAT IS IT ???
Next time READ!!!
from the Insertcoin data++ thread:
1st things 1st, you need to flash Bravo CM7 Hboot. either from fastboot or from hboot.- goto alpharev.nl site - is there together with all the info how to flash it
Click to expand...
Click to collapse
From alpharev.nl (here you can find also the required files).
If you are already S-OFF, you can get our newest patched HBOOTs from here. (without going through the entire procedure again).
Please read the entire table and pick the partition table with the correct sizes for your ROM. One easy way to switch partition tables, is to nandroid backup,
and verify that the sizes of your backup are indeed the ones listed in the table (or smaller), and restore after flashing hboot.
1) Nandroid backup in recovery.
1a) Download This file.
2) Verify the MD5SUM of the file you downloaded against the one in the table.
3) Flash HBOOT with your phone in fastboot mode (Back+POWER) -> 'fastboot flash hboot bravo_alphaspl.img' (change into the correct filename for the HBOOT you downloaded)
4) 'fastboot reboot-bootloader'
5) 'fastboot erase cache'
6) Boot recovery, wipe everything and restore.
Click to expand...
Click to collapse
More detailed instructions here:
http://forum.xda-developers.com/showpost.php?p=12699557&postcount=8
thanx davebugyi
gawwd .....i still cant get it still didnt understand the procedure wanted to use data++
1.Download the .img file from Alpharev's site. The BRAVO_CM7 one.
2. Download android SDK from official site, and run SDK Manager. When it is running, then install the platform-tools (revision 3 ATM), too.
3. Copy the CM7 file (.img) you downloaded into the android SDK folder, where fastboot.exe is located.
4. Reboot your phone into fastboot (holding down BACK+POWER keys when the phone is switched off) - it should show FASTBOOT USB.
4a. Make sure you have the USB drivers installed (for me HTC sync is not needed, i used the UNREVOKED USB drivers instead)
5. Fastboot flash. navigate to your android SDK directory in Command Promt (CMD.EXE) then run these commands:
a, fastboot flash hboot bravo_alphaspl.img (or whatever is the name of the file)
b, fastboot reboot-bootloader
c, fastboot erase cache
6. You have now the Partition table.
7. Just in case, go to the recovery, wipe EVERYTHING and Re-flash the ROM.
Alternative solution here: Did not try it myself, so don't ask, how to
http://forum.xda-developers.com/showthread.php?t=794638
finally did it .....
thanx alot davebugyi

[Q] how to update with stock full rom

Hi, i just bought my galaxy nexus 2 days ago..
and after update via OTA, my device was updated from ICS to JB (4.1.1)
but after waiting 2 days, i am eager to update to 4.1.2..
at first i tried with incremental update from 4.1.1 to 4.1.2.. and failed with status 7, installation aborted..
confused with it, then i proceed with full stock ROM..
but when i download the 4.1.2 full rom (Factory Images "yakju" for Galaxy Nexus "maguro" ) from "https://developers.google.com/android/nexus/images"
i confused..
i received a tgz file where inside of it is unformatted file..
i made a hunch and rename it with .zip and i can open the file..
however, the structure of the file is significantly different than nexus s' ICS full rom..
where from nexus s' ICS full rom, when i open the zip, i directly find files such as (META-INF, recovery, system, boot.img, bootloader.img, radio.img)
meanwhile from galaxy nexus 4.1.2 full rom, when i open it, it shows only a file titled "yakju-jzo54k". and inside the file there are files such as :
image-yakju-jzo54k.zip
bootloader-maguro-primelc03.img
flash-all.bat
flash-all.sh
flash-base.sh
radio-maguro-i9250xxlf1.img
then what should i do to install 4.1.2 full rom?
i am a noob, please help.
thank you
Flash them in fastboot
Mach3.2 said:
Flash them in fastboot
Click to expand...
Click to collapse
so i should flash the first zip that only has a folder?
the contents are inside folder
The correct fastboot commands are in the "flash-all.bat" script just open it in a text editor.
It should go something like:
"fastboot flash radio radio-maguro-i9250xxlf1.img"(updates radio)
"fastboot reboot-bootloader"
"fastboot flash bootloader bootloader-maguro-primelc03.img"(updates bootloader)
"fastboot reboot-bootloader"
"fastboot update image-yakju-jzo54k.zip"(this will update the recovery and system with files found inside the second zip file(image-yakju-jzo54k.zip))
"fastboot reboot"
So you flash all the files individually(or if you know what you are doing and have fastboot set up correctly, you just run the .bat script)
mortenmhp said:
The correct fastboot commands are in the "flash-all.bat" script just open it in a text editor.
It should go something like:
"fastboot flash radio radio-maguro-i9250xxlf1.img"(updates radio)
"fastboot reboot-bootloader"
"fastboot flash bootloader bootloader-maguro-primelc03.img"(updates bootloader)
"fastboot reboot-bootloader"
"fastboot update image-yakju-jzo54k.zip"(this will update the recovery and system with files found inside the second zip file(image-yakju-jzo54k.zip))
"fastboot reboot"
So you flash all the files individually(or if you know what you are doing and have fastboot set up correctly, you just run the .bat script)
Click to expand...
Click to collapse
yeah i succeeded already..
but thanks anyway..
but can u provide the script tu run the script?
i would like to know
It's included in the stock image, flash-all.bat or you could make your own.

[q] htc one x restore - need help with fastboot commands

I am seeking your help to clear up some of my confusion in solving a problem with my HTC ONE X. I tried flashing a custom ROM on my HTC Android phone but all the files and partitions got messed up that every time it boots up, it is on a bootloop. I know the cause to this is due to a mixture of inconsistent (boot, recovery)partitions libraries that I have on the phone.
Therefore, I want to FULLY WIPE OF ALL the data on the phone's storage and reinstall a clean set of libraries and stock rom. However, before I wipe off all data and install the new stock rom, I want to know all the commands that I can issue to correct this problem but the problem I have is that the stock zip has a boot.img, hboot.img and recovery.img along with a set of folders (System and Meta-inf folders) and I don't know the command that I can issue to push the folders I mentioned in the right partition, "/system" partition. Moreover, I cannot boot into any recovery modes (CWM or TWRP) so everything has to be done via fastboot commands, I think.
I know I can execute the following commands if everything(all the partitions) were an .img file but for the folders I do not know how to push them onto my phones storage.
For example to push the boot content on the boot partition, I issue the following command to flash the device
fastboot erase boot
fastboot flash boot boot.img
and the following for the rest of the partitions:-
fastboot erase recovery
fastboot flash recovery recovery.img
and so on..
So what would be the solution to push those folders that are non img format related onto the right partitions? Flash it as a zip file?
Lastly, the phone is unlocked, CID: 11111111, Hboot: 1.09 and can only boot into fastboot mode for now. I also tried running the automatic RUU files via zip and exe formats but always fail due to signature or some other missing file error.
totti_09 said:
I am seeking your help to clear up some of my confusion in solving a problem with my HTC ONE X. I tried flashing a custom ROM on my HTC Android phone but all the files and partitions got messed up that every time it boots up, it is on a bootloop. I know the cause to this is due to a mixture of inconsistent (boot, recovery)partitions libraries that I have on the phone.
Therefore, I want to FULLY WIPE OF ALL the data on the phone's storage and reinstall a clean set of libraries and stock rom. However, before I wipe off all data and install the new stock rom, I want to know all the commands that I can issue to correct this problem but the problem I have is that the stock zip has a boot.img, hboot.img and recovery.img along with a set of folders (System and Meta-inf folders) and I don't know the command that I can issue to push the folders I mentioned in the right partition, "/system" partition. Moreover, I cannot boot into any recovery modes (CWM or TWRP) so everything has to be done via fastboot commands, I think.
I know I can execute the following commands if everything(all the partitions) were an .img file but for the folders I do not know how to push them onto my phones storage.
For example to push the boot content on the boot partition, I issue the following command to flash the device
fastboot erase boot
fastboot flash boot boot.img
and the following for the rest of the partitions:-
fastboot erase recovery
fastboot flash recovery recovery.img
and so on..
So what would be the solution to push those folders that are non img format related onto the right partitions? Flash it as a zip file?
Lastly, the phone is unlocked, CID: 11111111, Hboot: 1.09 and can only boot into fastboot mode for now. I also tried running the automatic RUU files via zip and exe formats but always fail due to signature or some other missing file error.
Click to expand...
Click to collapse
if you flash that recovery it will go back to stock lol you need to flash a firmware.zip...for more information please read the guides to how to flash it...all what you need to know and need to flash is stated in those guides
Hboot 1.09 that's not a endevour HTC one X ! .....what does the top of the bootloader say ?
And second.....questions do not belong in the general section !!!
And give the outcome of :
Fastboot getvar version-main

[Q] Boot loop and can't find appropriate boot.img

Hi
I've been given a One X (he bought an M8) and I thought I'd easily put on KK 4.4.4, but I have hit a brick wall.
It was running ViperX 2.6.0 with Hboot 0.95, and it's S-ON.
Well 4.4.4 needs a Hboot above 1.28, so the flashing failed.
So I did my homework and got the CID (it's HTC-023) to install the firmware so that I could update the Hboot via OTA.
So I installed the boot.img for the HTC-023 firmware and that (of course) was a an error as I didn't have a copy of the boot.img for the ViperX 2.6.0.
Then the firmware was a .rar file and didn't install anyrate.
So now it's in bootloop.
I have not been able to find a copy of ViperX 2.6.0 to extract the required boot.img
I've got TWRP with Sideloader installed, and ADB works fine.
So I am stuck (like my One X really) so any advice would be appreciated.
Thanks
Solution
I thought I should post the solution.
The essential problem was to get a Hboot 1.28 or higher so that a new version of Cyanogenmod could be installed.
On this page http://forum.xda-developers.com/showthread.php?t=1957376&page=189 is the following from ClydeB1
To flash you need to run the following commands: (It is advised to take a backup of your data and important files on your sd card)
1. Lock bootloader - fastboot oem lock
2. Boot to RUU mode - fastboot oem rebootRUU
3. Flash firmware - fastboot flash zip firmware.zip (if you get an error then rerun this command)
Note: The firmware will flash the new hboot, as well as a new stock boot.img and stock recovery.img.
To flash a custom rom you then need to do the following:
4. Unlock bootloader - fastboot flash unlocktoken Unlock_code.bin (you can use the same unlock_code file as you used previously, check your emails if you can't find it, or else reapply at htcdev.com)
5. Flash custom recovery - fastboot flash recovery nameofrecoveryfile.img
Note: If the unlock process wiped your sd card you may need to boot to recovery and mount usb storage to copy the rom file across again. If your phone won't boot into recovery then run command - fastboot erase cache and try again.
If you then wish to flash a JB custom rom:
6. Flash new boot.img from rom - fastboot flash boot boot.img
7. For good measure - fastboot erase cache
8. Boot to recovery and flash rom
I followed these steps exactly and it worked perfectly. I did need to use CWM as with TWRP the touch screen did not work.
and have more ease way to do this. You are with too low HBOOT and you can run RUU and then update the phone to latest JB because are you know witch HBoot you install to your phone

How to update to latest OTA firmware (MRA58V) when rooted?

SO, i'm trying to ADB sideload the latest firmware (MRA58V), but when I go to the google developers website, it downloads in a .TGZ file.
https://developers.google.com/android/nexus/images
I've tried changing it to .ZIP, then flashing, but it fails invalid signature.
What am I doing wrong?
Thanks,
Thread moved to proper forum
Simply flash the .img files inside the zip with fastboot. Takes 2-3 minutes.
Since only boot and system changed that's all you need to flash.
The commands I used today for 6.0.1:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot format cache
fastboot reboot
That's it, doesn't wipe anything.
yosmokinman said:
Simply flash the .img files inside the zip with fastboot. Takes 2-3 minutes.
Since only boot and system changed that's all you need to flash.
The commands I used today for 6.0.1:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot format cache
fastboot reboot
That's it, doesn't wipe anything.
Click to expand...
Click to collapse
Thanks worked perfect.
Sent from my SM-G920T using XDA Free mobile app

Categories

Resources