[YES OR NO] boot.img same for all CID's? - HTC Desire X

Is boot.img file same for all CID's of same API level of same device
like i have 2.22.707.6 nand with CID HTC__044
but no boot.img
so can i use any other Stock ROM's boot.img Like (2.20.401.5) the one Uploaded by the @ckpv5 ????

yes

ankahuja said:
Is boot.img file same for all CID's of same API level of same device
like i have 2.22.707.6 nand with CID HTC__044
but no boot.img
so can i use any other Stock ROM's boot.img Like (2.20.401.5) the one Uploaded by the @ckpv5 ????
Click to expand...
Click to collapse
i dont really know, but HTCdev.com has several kernel sources for each region. If there was no difference then they wouldnt go through all that pain.
However, i do think the changes are Insignificant and probably wont affect any part of booting or running any rom. Maybe just some identifier flags are different.

ankahuja said:
Is boot.img file same for all CID's of same API level of same device
like i have 2.22.707.6 nand with CID HTC__044
but no boot.img
so can i use any other Stock ROM's boot.img Like (2.20.401.5) the one Uploaded by the @ckpv5 ????
Click to expand...
Click to collapse
When you have your nand 2.22.707.6 you should have backup the boot.img too...
just check it is not boot.img but is named as boot.emmc.win
So instead of fastboot flash boot boot.img
you do fastboot flash boot boot.emmc.win
Why do you need the boot.img for 2.20.401.5 when there is one for 2.22.707.6 here : http://forum.xda-developers.com/showthread.php?t=2324815

ckpv5 said:
When you have your nand 2.22.707.6 you should have backup the boot.img too...
just check it is not boot.img but is named as boot.emmc.win
So instead of fastboot flash boot boot.img
you do fastboot flash boot boot.emmc.win
Why do you need the boot.img for 2.20.401.5 when there is one for 2.22.707.6 here : http://forum.xda-developers.com/showthread.php?t=2324815
Click to expand...
Click to collapse
Thanks,
one more Ques.
nands are directly flashable via Fastboot? like of recovery and boot image?

No... use the restore function on TWRP.
Only boot and recovery can be fastboot flash.

Related

[Q] S-off Flashing just new Radio

Now that we're S-Off we can flash new radios without having to relock and install the OTA. Does anyone know if extracting just the firmware.zip from the OTA and flashing it in fastboot will work?
Maybe something like this:
Code:
adb reboot bootloader
Code:
fastboot oem rebootRUU
Code:
fastboot flash zip firmware.zip
Code:
fastboot reboot bootloader
Code:
fastboot flash recovery recovery.img
Code:
fastboot reboot
Here's the instructions... worked for me
http://forum.xda-developers.com/showpost.php?p=38179885&postcount=2446
Got this to work; just had to flash a custom recovery afterwards.
Nowak4G said:
Got this to work; just had to flash a custom recovery afterwards.
Click to expand...
Click to collapse
so all i do is boot into rebootRUU and flash firmware.zip? i dont need to extract the radio.img files?
then reflash recovery to replace the stock recovery from firmware?
two_cents said:
so all i do is boot into rebootRUU and flash firmware.zip? i dont need to extract the radio.img files?
then reflash recovery to replace the stock recovery from firmware?
Click to expand...
Click to collapse
And re-flash your boot.img if you have a custom kernel.
Sent from my HTC6435LVW using xda app-developers app
Do you guys have the engineering hboot?
orangechoochoo said:
Do you guys have the engineering hboot?
Click to expand...
Click to collapse
All I did was unzip the OTA firmware then unzip the firmware.zip located within that folder... I then put radio.img and android info txt file in a zip called radio.zip
then reboot bootloader
fastboot oem rebootRUU
fastboot flash zip radio.zip
Radios updated without the ENG HBOOT
lazarus2297 said:
All I did was unzip the OTA firmware then unzip the firmware.zip located within that folder... I then put radio.img and android info txt file in a zip called radio.zip
then reboot bootloader
fastboot oem rebootRUU
fastboot flash zip radio.zip
Radios updated without the ENG HBOOT
Click to expand...
Click to collapse
can you share this radio zip? i cant extract the firmware.zip to get the img files ... it says its invalid for me
sure here ya go... this is just the new radio
http://dl.dropbox.com/u/30538029/radio.zip
lazarus2297 said:
sure here ya go... this is just the new radio
http://dl.dropbox.com/u/30538029/radio.zip
Click to expand...
Click to collapse
Worked great thank you... I compiled a guide... gave you credit for the ZIp and used your link I hope thats not a problem... http://forum.xda-developers.com/showthread.php?p=38197525#post38197525
two_cents said:
Worked great thank you... I compiled a guide... gave you credit for the ZIp and used your link I hope thats not a problem... http://forum.xda-developers.com/showthread.php?p=38197525#post38197525
Click to expand...
Click to collapse
No problem at all.
Just glad you told me so I leave the file on my dropbox acct.
Sent from my HTC6435LVW using xda app-developers app

boot file and kernel???

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:

Does anyone have a ph98img?

I used to have one but I lost it and I don't know if you have tried but its really hard to find one.
what are you looking to do
most people refer to the RUU. but PH98IMG.zip can be alot of different things
http://www.androidpolice.com/2012/0...ull-ruu-build-4-03-605-2-for-the-htc-rezound/
if your not looking to get back to stock than don't flash the zip from the link above
bunchies said:
what are you looking to do
most people refer to the RUU. but PH98IMG.zip can be alot of different things
http://www.androidpolice.com/2012/0...ull-ruu-build-4-03-605-2-for-the-htc-rezound/
if your not looking to get back to stock than don't flash the zip from the link above
Click to expand...
Click to collapse
Well basically I need the txt file in the boot img. my phone is s-on and I always have to flash the ph
are you sure your not getting that confused?
if flashing a rom.
1.Flash ROM zip in recovery
2.Take the boot.img out of the ROM zip you just flashed
3.Reboot to Fastboot and flash the boot.img through ADB with the command: Fastboot flash boot boot.img
i don't see why anyone would need to flash the boot.img from an RUU. and if you did flash a boot.img from an RUU after you installed a ROM than i dont think the ROM would work at all
just clearing that up if you don't know or new to ROMing :good:
Or just "fastboot boot recovery.zip" and flash normally, if you are S-ON and BOOT recovery via fastboot, you can flash the ROM normally and not have to manually flash the boot.img in Fastboot like you do if you flash the ROM from an installed recovery.
bunchies said:
are you sure your not getting that confused?
if flashing a rom.
1.Flash ROM zip in recovery
2.Take the boot.img out of the ROM zip you just flashed
3.Reboot to Fastboot and flash the boot.img through ADB with the command: Fastboot flash boot boot.img
i don't see why anyone would need to flash the boot.img from an RUU. and if you did flash a boot.img from an RUU after you installed a ROM than i dont think the ROM would work at all
just clearing that up if you don't know or new to ROMing :good:
Click to expand...
Click to collapse
As a mac user I tried this. With adb all set up on the mac to use terminal (the whole folder and everything was set up long ago when unlocking). I have to use the command ./fastboot instead of just fastboot with terminal. Anyway, when ./fastboot flash boot boot.img it never works. It seems like it works, but then the phone just goes into the white HTC screen and is stuck there. It never boots.

Do i need to flash boot.img after backup-restore?

Do i need to flash the boot.img after the backup restore?
clitoridys said:
Do i need to flash the boot.img after the backup restore?
Click to expand...
Click to collapse
Yes you must flash boot.img in fastboot. S-ON devices aren't allowed to flash boot.img in recovery, no matter if you install or restore a rom.

TWRP-3.4.1B-0427-REALME_X50PRO_rmx2071 CN

link unlock boot
https://drive.google.com/file/d/1OiHVtskih8J2Miul_IKk_IuI1c1-qqia/view
recovery twrp
{Mod edit: Link removed}
thank you link
anandlal
credit recovery
wzsx150
Is there any source to this or info on who is working on that?
ransagy said:
Is there any source to this or info on who is working on that?
Click to expand...
Click to collapse
For the unlock link. I pulled that app off the realmebbs from China. I've used it to unlock the CN version and someone else reported that it worked on the non-CN version.
Not sure about the TWRP, I'll probably give it a test now that my BL is unlocked.
Twrp confirm use device 2071
kinglight123 said:
Twrp confirm use device 2071
Click to expand...
Click to collapse
Did you flash it? I tried using the fastboot boot command just to boot the img file but I kept getting FAILED unknown command error.
I want to boot into TWRP and pull my stock recovery image first before actually flashing this.
Extract file flash img
after flash twrp fastboot unlock device (format)
anandlal said:
Did you flash it? I tried using the fastboot boot command just to boot the img file but I kept getting FAILED unknown command error.
I want to boot into TWRP and pull my stock recovery image first before actually flashing this.
Click to expand...
Click to collapse
kinglight123 said:
Extract file flash img
after flash twrp fastboot unlock device (format)
Click to expand...
Click to collapse
I want to backup my stock recovery before flashing this file.
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
kinglight123 said:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Click to expand...
Click to collapse
Where did you get the vbmeta.img file?
anandlal said:
Where did you get the vbmeta.img file?
Click to expand...
Click to collapse
https://drive.google.com/file/d/1Wu1aJtsQyQZC8TQ4d_Lq_duNq78PRZLy/view?usp=sharing
sorry bro
vbmeta.img rename misc.img
fastboot flash misc.img
kinglight123 said:
https://drive.google.com/file/d/1Wu1aJtsQyQZC8TQ4d_Lq_duNq78PRZLy/view?usp=sharing
sorry bro
vbmeta.img rename misc.img
fastboot flash misc.img
Click to expand...
Click to collapse
Once this is done. Can I flash the global rom on my Chinese version?
anandlal said:
Where did you get the vbmeta.img file?
Click to expand...
Click to collapse
you can get vbmeta.img in rom.zip (not .ozip) this link
https://bit.ly/2Xsjum4
anandlal said:
I want to backup my stock recovery before flashing this file.
Click to expand...
Click to collapse
root it. by magisk and patch boot.img , you can dump recovery by Official TWRP App. see rom.zip this link. for get boot.img
https://bit.ly/2Xsjum4
kinglight123 said:
https://drive.google.com/file/d/1Wu1aJtsQyQZC8TQ4d_Lq_duNq78PRZLy/view?usp=sharing
sorry bro
vbmeta.img rename misc.img
fastboot flash misc.img
Click to expand...
Click to collapse
link not file name misc.img. it file type *.bin
pppwaung said:
you can get vbmeta.img in rom.zip (not .ozip) this link
https://bit.ly/2Xsjum4
root it. by magisk and patch boot.img , you can dump recovery by Official TWRP App. see rom.zip this link. for get boot.img
https://bit.ly/2Xsjum4
link not file name misc.img. it file type *.bin
Click to expand...
Click to collapse
Once this is done, I can install the IN ROM on my CN variant?
anandlal said:
Once this is done, I can install the IN ROM on my CN variant?
Click to expand...
Click to collapse
Not sure bro ?
pppwaung said:
you can get vbmeta.img in rom.zip (not .ozip) this link
https://bit.ly/2Xsjum4
root it. by magisk and patch boot.img , you can dump recovery by Official TWRP App. see rom.zip this link. for get boot.img
https://bit.ly/2Xsjum4
link not file name misc.img. it file type *.bin
Click to expand...
Click to collapse
ใช่คนไทยไหมครับ รบกวนทักมาหน่อยในไลน์ kinglight_dark

Categories

Resources