call fastboot flash boot boot.img
Click to expand...
Click to collapse
this command flashes kernel
then what would be the command to flash boot file?
ankahuja said:
this command flashes kernel
then what would be the command to flash boot file?
Click to expand...
Click to collapse
boot file ? :-o
boot.img is the kernel image.
Regards,
navmad
navmad said:
boot file ? :-o
boot.img is the kernel image.
Regards,
navmad
Click to expand...
Click to collapse
A little Correction: boot.img is the image of boot partition, containing kernel (zImage) AND ramdisk
Sent from my HTC Desire X using xda app-developers app
neXus PRIME said:
A little Correction: boot.img is the image of boot partition, containing kernel (zImage) AND ramdisk
Click to expand...
Click to collapse
When installing a jb Rom on ics hboot...we flash boot.img...someone said me that's not kernel...that's boot file....
Sent from my HTC Desire X using xda premium
neXus PRIME said:
neXus PRIME
Click to expand...
Click to collapse
Please reply...
Sent from my HTC Desire X using xda premium
ankahuja said:
When installing a jb Rom on ics hboot...we flash boot.img...someone said me that's not kernel...that's boot file....
Sent from my HTC Desire X using xda premium
Click to expand...
Click to collapse
That person thinks they're a smartass.
Sent from my Nexus 7 using Tapatalk HD
Stereo8 said:
That person thinks they're a smartass.
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
Part 3 - Installing boot.img and booting your DX
7. Open the ICShboot_Toolkit folder and run the Install Boot.img.bat
here boot.img.bat with code
call fastboot flash recovery boot.img
Click to expand...
Click to collapse
MEANS THAT THERE US NOTHING LIKE BOOT FILE...WE'RE JUST INSTALLING A KERNEL IN RECOVERY PARTITION??right?
And what's boot file ? Never heard such thing as boot file.
As explain by neXus PRIME - boot.img is the image of boot partition, containing kernel (zImage) AND ramdisk
Part 3 - Installing boot.img and booting your DX
Installing boot.img - as per item no.7 (JB boot.img on ICS hboot - we flash the boot.img to recovery partition)
booting your DX - as per item no. 8 (Press Power once to go to hboot and select Recovery to boot your device)
So... what's the problem actually ??
ckpv5 said:
boot.img is the image of boot partition, containing kernel (zImage) AND ramdisk
Click to expand...
Click to collapse
that means boot.img CONTAINS kernel....ok i got it
call fastboot flash boot boot.img
Click to expand...
Click to collapse
then what does ↑ this code do?
here then it is image of boot partition (not the kernel ONLY) ???
______________________________________________________
also on JB on ICS HBOOT
what image is there on the boot partition????
if there is ;image of boot partition;
then we have 2 ;image of boot partition;
1 on boot partition and 2nd on recovery partition
?????
:crying: :crying: :crying: THIS IS VERY VERY CONFUSING :crying: :crying: :crying:
THANKS IF YOU COULD DEVOTE SOME TIME FOR ME... :laugh: :good:
ckpv5 said:
ckpv5
Click to expand...
Click to collapse
please reply ckpv5..... :fingers-crossed:
Yes, you have boot image on boot and recovery partition.
Now when you boot normally, it uses boot from boot partition to start Rom, and when you reboot to recovery, it uses boot from recovery partition to start rom.
Sent from my HTC Desire X using xda app-developers app
@ankahuja
call fastboot flash boot boot.img
then what does ↑ this code do?
Click to expand...
Click to collapse
call fastboot flash | boot | boot.img
part 1: call fastboot flash : flashing in fastboot mode
part 2: boot - flash to which partition ? for this command - to boot partition
part 3 : boot.img - flash what ? for this command - the boot.img
also on JB on ICS HBOOT
what image is there on the boot partition????
Click to expand...
Click to collapse
the ICS boot.img - so you don't need to reflash boot.img when restoring your previous ICS ROM
if there is ;image of boot partition;
then we have 2 ;image of boot partition;
1 on boot partition and 2nd on recovery partition
?????
Click to expand...
Click to collapse
boot.img on boot partition - for ICS ROM
boot.img on recovery partition - for JB ROM
That's why for JB ROM on ICS hboot, you need to reflash recovery.img any time that you need to get back to recovery to do flashable zip installation... and reflash the boot.img to recovery partition again to boot your system
ckpv5 said:
@ankahuja
call fastboot flash | boot | boot.img
part 1: call fastboot flash : flashing in fastboot mode
part 2: boot - flash to which partition ? for this command - to boot partition
part 3 : boot.img - flash what ? for this command - the boot.img
the ICS boot.img - so you don't need to reflash boot.img when restoring your previous ICS ROM
boot.img on boot partition - for ICS ROM
boot.img on recovery partition - for JB ROM
That's why for JB ROM on ICS hboot, you need to reflash recovery.img any time that you need to get back to recovery to do flashable zip installation... and reflash the boot.img to recovery partition again to boot your system
Click to expand...
Click to collapse
Thanks now I got it completely :good: :good:
Related
Hello,
I can't flash zips file in fastboot mode, can somebody help?
when i type:
fastboot flash zip filename.zip i have:
...
remote: partition zip not found
...
why this happen? i'm rooted, bootloader unlocked - stock ics rom
lahcim13 said:
...
remote: partition zip not found
Click to expand...
Click to collapse
This is because you're commanding it to flash it on the zip partition, which does Not exist. Like for kernel you type Fastboot flash Boot xxxxx where the kernel is flashed to the boot partition. The command you're using is wrong. What does the zip contain?
Tapatalked !
Rapier07 said:
This is because you're commanding it to flash it on the zip partition, which does Not exist. Like for kernel you type Fastboot flash Boot xxxxx where the kernel is flashed to the boot partition. The command you're using is wrong. What does the zip contain?
Tapatalked !
Click to expand...
Click to collapse
the zip file is: boot+touch.cwm_for_6.1.1.B.1.10.zip
from this thread:
http://forum.xda-developers.com/showthread.php?t=1922029
lahcim13 said:
the zip file is: boot+touch.cwm_for_6.1.1.B.1.10.zip
from this thread:
http://forum.xda-developers.com/showthread.php?t=1922029
Click to expand...
Click to collapse
you cant flash zip file on fastboot.. extract the zip file first. you will get file 'boot.img'. place this file in the fastboot folder, then run command:
fastboot flash boot boot.img
anyway there is v2 cwm file.. download that..
Please post in appropriate section.
Moved to Q&A
Sent from my Nocturnalized One XL using Forum Runner
Hi guys.
I'm on JB STOCK, Stock recovery and Stock boot.
I want to create a backup of Stock recovery before i flash my TWRP-JB to take Stock NAND backup.
I searched and found a command to run recovery without flashing it to recovery partition.
fastboot boot recovery recovery.img <- my custom recovery. Then use either ADB or recovery itself to take a backup.
Will it work??
Regards
Yasir
neXus PRIME said:
Hi guys.
I'm on JB STOCK, Stock recovery and Stock boot.
I want to create a backup of Stock recovery before i flash my TWRP-JB to take Stock NAND backup.
I searched and found a command to run recovery without flashing it to recovery partition.
fastboot boot recovery recovery.img <- my custom recovery. Then use either ADB or recovery itself to take a backup.
Will it work??
Regards
Yasir
Click to expand...
Click to collapse
But the method that extracts kernel from partition and makes img file doesn't work also with recovery partition?
I mean the dd command from adb.
xpirt
This worked.
fastboot boot twrp.img
I made a nand backup of every partition.
Regards
Yasir
Sent from my HTC Desire X using xda app-developers app
neXus PRIME said:
This worked.
fastboot boot twrp.img
I made a nand backup of every partition.
Regards
Yasir
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Good to know but not really needed. The stock Boot.img and Recovery.img come together with the OTA
Attached here the JB Stock Recovery.img if you want it.
ckpv5 said:
Good to know but not really needed. The stock Boot.img and Recovery.img come together with the OTA
Attached here the JB Stock Recovery.img if you want it.
Click to expand...
Click to collapse
How did you get this recovery ?
Sent from my HTC Desire X using xda app-developers app
neXus PRIME said:
How did you get this recovery ?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
It comes together with the OTA. (Save the OTA before installing).
Both stock boot.img and recovery.img are inside firmware.zip
Hey... I too have the update zip... To flash to stock jb.. I first need to flash stock recovery then stock boot then I wud be installing the stock Rom right? I am confused for the correct procedure to reinstall stock. Also how does one open firmware.zip... Its access denied for me every time...
Sent from my HTC Desire X using xda app-developers app
prtksxa_ind said:
Hey... I too have the update zip... To flash to stock jb.. I first need to flash stock recovery then stock boot then I wud be installing the stock Rom right? I am confused for the correct procedure to reinstall stock. Also how does one open firmware.zip... Its access denied for me every time...
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
-flash custom recovery/restore/flash stock boot.img+stock recovery.
-drop it to your pc and use "7zip".
ckpv5 said:
Good to know but not really needed. The stock Boot.img and Recovery.img come together with the OTA
Attached here the JB Stock Recovery.img if you want it.
Click to expand...
Click to collapse
Can you attach the OTA Zip file?
Droid.Anoop said:
Can you attach the OTA Zip file?
Click to expand...
Click to collapse
Do you have CID__044 ?? if not, then why do you need it?
Droid.Anoop said:
Can you attach the OTA Zip file?
Click to expand...
Click to collapse
You mean the firmware zip?
navmad
---------- Post added at 04:08 PM ---------- Previous post was at 04:06 PM ----------
neXus PRIME said:
Do you have CID__044 ?? if not, then why do you need it?
Click to expand...
Click to collapse
The firmware zip in 405 OTA was not protected. It could be opened.
For us ( HTC__038) it doesn't open. May be thats why he needs it.
navmad
Can someone plz upload JB stock kernel...
neXus PRIME said:
Do you have CID__044 ?? if not, then why do you need it?
Click to expand...
Click to collapse
Ohh,I forgot about the CID!
neXus PRIME said:
This worked.
fastboot boot twrp.img
I made a nand backup of every partition.
Regards
Yasir
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Bro, to take backup of the stock recovery.. u just booted the custom recovery using 'fastboot boot customrecovery.img' & took a nandroid? or any other command? specifically for backingup the stock recovery..?
That command boots the phone with the selected img , without actually flashing the img , by temporarely downloading the img into the phone memory and booting it from there .
This way , you could boot the phone into a custom recovery while having the stock recovery flashed , and then backup the unharmed stock recovery from that custom recovery .
TWRP can backup both the boot and the recovery partitions if I'm not mistaking . Just choose "Backup" and you'll be prompted with a list of partitions you can backup
neXus PRIME said:
This worked.
fastboot boot twrp.img
I made a nand backup of every partition.
Regards
Yasir
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
would you please describe how you are done the nand backup? it is witout rooting.is n't?
insalen said:
would you please describe how you are done the nand backup? it is witout rooting.is n't?
Click to expand...
Click to collapse
Question 1: did you unlock your phone?
Lots of info over here, to read for yourself. For a backup: install a recovery. After that: push the button 'backup'
unfortunately I flashed my one max with wrong kernel
my max is:
-international
-bootloader unlocked
-CWM Recovery
and I can go to recovery
what is the steps needed to fix this stupid mistake
mostafa0007 said:
unfortunately I flashed my one max with wrong kernel
my max is:
-international
-bootloader unlocked
-CWM Recovery
and I can go to recovery
what is the steps needed to fix this stupid mistake
Click to expand...
Click to collapse
Flash the correct one. Either get the flashable zip and flash through recovery or get the boot.img and place in your working Fastboot directory. Then boot phone into Fastboot mode and do a "Fastboot flash boot (name of img) "
dottat said:
Flash the correct one. Either get the flashable zip and flash through recovery or get the boot.img and place in your working Fastboot directory. Then boot phone into Fastboot mode and do a "Fastboot flash boot (name of img) "
Click to expand...
Click to collapse
thank you for replay
I cant find a stock kernel
I tried lunar and fly and phone still stuck on the splash screen
mostafa0007 said:
thank you for replay
I cant find a stock kernel
I tried lunar and fly and phone still stuck on the splash screen
Click to expand...
Click to collapse
Do you have the original Rom zip that you installed? The boot.img should be inside that
dottat said:
Do you have the original Rom zip that you installed? The boot.img should be inside that
Click to expand...
Click to collapse
I didn't install any roms until now so I haven't it
should I try to set up a custom rom ?
I just flashed a Custom rom and the phone works again
Thanks...............
Hi,
I have the problem with kernel, I'am using ViMiRo rom with dediacated kernel by mikhei777, but each time after phone reboot the old one kernel (nexus prime) is restored. So, each time after reboot I need to instal new kernel. I am doing that via fastboot.
What can be the reason, what to do?
Maybe wrong fastboot command ??
use - fastboot flash boot boot.img
don't use - fastboot boot boot.img
ckpv5 said:
Maybe wrong fastboot command ??
use - fastboot flash boot boot.img
don't use - fastboot boot boot.img
Click to expand...
Click to collapse
It's working!!!!!!
Many thanks!
MARCIN2M said:
It's working!!!!!!
Many thanks!
Click to expand...
Click to collapse
Just press the thanks button instead of telling him..
Google just released the M preview for the Nexus 6 and I see some guys having some issues with flashing the preview, So what I did is just modify on the kernel not to encrypt the device during the first boot
and here is the simplest way to flash the preview
1-Download the preview factory image http://developer.android.com/preview/download.html
2-download this modified version of the stock M boot img https://goo.gl/SFWpMO
3-unpack the M preview .tgz file in your fastboot/adb folder and you will get the radio file and the bootloader file and the image-shamu-MPZ44Q.zip file
4-go to TWRP backup your ROM then wipe cache/dalvic/data/system ( watch out don't wipe the internal storage)
5-boot into bootloader and flash the bootloader : fastboot flash bootloader bootloader-shamu-moto-apq8084-71.11.img
6-fastboot reboot-bootloader
7-flash the radio file : fastboot flash radio radio-shamu-D4.01-9625-05.16+FSG-9625-02.94.img
8-fastboot reboot-bootloader
9-Unpack the image-shamu-MPZ44Q.zip file
10-you need just system.img from this file
11-flash the system : fastboot flash system system.img
12-flash the modified boot img that you downloaded in step 2 : fastboot flash boot boot-noencryption.img/B]
13-fastboot reboot
You also use NRT for flashing the M Preview if you prefer but flash the noencrption boot img instead of the stock img in order to avoid encrypting your device
It won't take time to boot but it's really important to wipe from twrp before flashing and as always try this on your own risk
Can't wait to flash thanks!!
Can we use wugs toolkit to flash this stuff?
Sent from my Nexus 6 using Tapatalk
kenbrownstone said:
Can we use wugs toolkit to flash this stuff?
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
I don't know you can try
Thanks, worked great!
rsohne said:
Thanks, worked great!
Click to expand...
Click to collapse
First impressions of M? Looks and feels just like Lollipop?
wrong topic :/ Thought this was Wug's Topic.
Anyone who is going to brave flashing the new radio with a Verizon Nexus 6, let me know how it is
D3VI0US said:
I don't know you can try
Click to expand...
Click to collapse
Wug stated how you van use his toolkit to android M
What exactly do we wipe in twrp? Just data and system?
Thanks in advance.
ANDR01DN00B said:
What exactly do we wipe in twrp? Just data and system?
Thanks in advance.
Click to expand...
Click to collapse
It's in OP..
Everything but internal data
yes..
kenbrownstone said:
Can we use wugs toolkit to flash this stuff?
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
yes you can..I am just lazy to do it old school so I used NRT easiest way..
What is the modified boot.img? Why is it modified?
tucstwo said:
What is the modified boot.img? Why is it modified?
Click to expand...
Click to collapse
Did you even read anything at all?
He has modified so it does not force encrypt for those who have unencrypted internal SD cards.
antiochasylum said:
Did you even read anything at all?
He has modified so it does not force encrypt for those who have unencrypted internal SD cards.
Click to expand...
Click to collapse
I missed it. No need to be nasty.
tucstwo said:
What is the modified boot.img? Why is it modified?
Click to expand...
Click to collapse
To prevent forced encryption
tucstwo said:
I missed it. No need to be nasty.
Click to expand...
Click to collapse
How can you take tone in a text? Was it all caps? Did I call you a name?
It was simply a question. Nothing more, nothing less.
And then I explained it for you.
Not sure where the nasty part was.
Will I lose root?
D3VI0US said:
Google just released the M preview for the Nexus 6 and I see some guys having some issues with flashing the preview, So what I did is just modify on the kernel not to encrypt the device during the first boot
and here is the simplest way to flash the preview
1-Download the preview factory image http://developer.android.com/preview/download.html
2-download this modified version of the stock M boot img https://goo.gl/SFWpMO
3-unpack the M preview .tgz file in your fastboot/adb folder and you will get the radio file and the bootloader file and the image-shamu-MPZ44Q.zip file
4-go to TWRP backup your ROM then wipe cache/dalvic/data/system ( watch out don't wipe the internal storage)
5-boot into bootloader and flash the bootloader : fastboot flash bootloader bootloader-shamu-moto-apq8084-71.11.img
6-fastboot reboot-bootloader
7-flash the radio file : fastboot flash radio radio-shamu-D4.01-9625-05.16+FSG-9625-02.94.img
8-fastboot reboot-bootloader
9-Unpack the image-shamu-MPZ44Q.zip file
10-you need just system.img from this file
11-flash the system : fastboot flash system system.img
12-flash the modified boot img that you downloaded in step 2 : fastboot flash boot boot-noencryption.img/B]
13-fastboot reboot
It won't take time to boot but it's really important to wipe from twrp before flashing and as always try this on your own risk
Click to expand...
Click to collapse
Good guide, Flashed w/o ANY problem. Thanks a bunch
Why do I keep getting hung up at "writing system"
keeps saying sending sparse system but then cannot complete the flashing of the system.img...not sure why.