boot.img? - HTC One S

Hey guys,
so right now I am trying to flash a new rom (currently on trickdroid) and was considering axiom but one of the steps is to flash the boot.img but i am having trouble figuring out how to flash the boot.img through fastboot. I have installed the sdk manager and htc sync according to the how to in the development thread. But i don't know where to get the file for the boot.img and what to do after that I have watched the video and read through the how to several times. Is there an easier way to go about flashing roms, or do I have to use the boot.img process?

If you flash via TWRP, you won't have to flash boot.img.
boot.img is found in the .zip package that you flash. It should be one of the first items you see when you open the zip. This is the .zip that you install when you're in CWM. Extract that boot.img for the fastboot method, but like I said, with TWRP you won't have to flash it.
Some people have said that their boot.img's didn't flash on TWRP, but worse comes to worst is you get stuck in a boot loop and you just flash the boot.img in fastboot or restore your phone in CWM.

ShensMobile said:
If you flash via TWRP, you won't have to flash boot.img.
boot.img is found in the .zip package that you flash. It should be one of the first items you see when you open the zip. This is the .zip that you install when you're in CWM. Extract that boot.img for the fastboot method, but like I said, with TWRP you won't have to flash it.
Some people have said that their boot.img's didn't flash on TWRP, but worse comes to worst is you get stuck in a boot loop and you just flash the boot.img in fastboot or restore your phone in CWM.
Click to expand...
Click to collapse
Okay perfect this is exactly what I was looking for, thank you!

Related

[Q] stuck at boot screen

When i flash a new rom any Aokp or Cm Rom i get stuck in the boot screen. Right now im running the Viper Rom and want to try a new one any help?
Have you forgot the boot.img? Viper doesn't require to flash them desperately....
Extract rom, pull out the boot.img, and drop it in the folder where you have adb and fastboot...rezip rom WITHOUT that boot.img... transfer to sdcard
Boot phone into bootloader, make sure it says fastboot usb
right click on that folder that you dropped the boot img, and choose "open command prompt here", once fired up, type fastboot flash boot boot.img
good
Now flash the rezipped rom and respective gapps IN RECOVERY!!
Enjoy that shiz lol
Sent from my One X using Tapatalk 2
Also don't forget to wipe user data (factory reset) in TWRP (not in hboot), as well as wipe cache and Dalvik.
Also, I think one or more of the CM10 nightlies have a kernel issue, causing people to get stuck on the bootscreen. You will need to pull the boot.img from an older nightly, than flash it using fastboot. Don't know if AOKP has had this same problem (doubt it).
this may be a little noobish but im all lost tryed to remove the boot.img and then reziped it and tried recover it an could not find the file =/
jordan.gendreau said:
this may be a little noobish but im all lost tryed to remove the boot.img and then reziped it and tried recover it an could not find the file =/
Click to expand...
Click to collapse
You don't need to rezip anything. Just use Winzip or other unzipping program to extract boot.img. Then put boot.img in the same folder as fastboot.exe.
jordan.gendreau said:
this may be a little noobish but im all lost tryed to remove the boot.img and then reziped it and tried recover it an could not find the file =/
Click to expand...
Click to collapse
open the .zip file
extract the boot.img(ONLY)
place the .zip on the sdcard
place boot.img file in fastboot folder
reboot to fastboot
fastboot flash boot boot.img
reboot to recovery
wipe cache/delvik
factory reset
install zip.
Myrder said:
open the .zip file
extract the boot.img(ONLY)
place the .zip on the sdcard
place boot.img file in fastboot folder
reboot to fastboot
fastboot flash boot boot.img
reboot to recovery
wipe cache/delvik
factory reset
install zip.
Click to expand...
Click to collapse
Think my problem is that i cant find my fastboot folder anywhere can i make a new folder?
jordan.gendreau said:
Think my problem is that i cant find my fastboot folder anywhere can i make a new folder?
Click to expand...
Click to collapse
Sure. But you still need the fastboot files in the new folder. You can get them here: http://forum.xda-developers.com/showthread.php?t=1754018
deleted, redpoint beat me to it.

I can't flash a custom rom

I am using TWRP recovery, and I have tried flashing Miui and Cyanogen mod, however for both of them I am stuck at the boot logo for ever.
I factory reset the phone, wiped the cache and did everything I was supposed to do. For both of them this is the first boot, and it is not working.
Try flashing your boot.img
Sent from my HTC One XL using Tapatalk 2
I'm thinking you have hboot ver 1.14.
Flash your boot.img.
Steps:
download rom
extract boot.img
place boot.img in fastboot folder
place rom .zip on sd card
clean flash the .zip
boot to fastboot
connect to pc
type "fastboot flash boot boot.img"
/dance
Before deciding to flash anything, you really need to watch this informative video: http://www.youtube.com/watch?hl=en&...ture=player_embedded&v=wwleOote5M0&nomobile=1

How to get the original ROM back?

Well I need to send in the Chacha because of some Hardware issues, so I'd like to restore the original ROM.
What's the easiest way getting it back (maybe with the option not having to root it again afterwards, or restoring the Clockwork-Backup)?
The best way is to download RUU, extract from it rom.zip and from that zip extract system.img, boot.img and recovery.img. Then flash those three via fastboot using these commands:
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
And reboot your phone and you will have stock rom with stock recovery on it. Then you can use OTA update if available.

Verizon pixel rooted on 7.1 looking to upgrade to 7.1.1

What's up all. So I have a Verizon pixel rooted on 7.1. I want to sideload 7.1.1 but don't want lose the ability to re root etc. Just wanna make sure I have he steps down.
-flash back to stock boot image
-sideload 7.1.1 ota
-flash twrp
-flash root
Am I missing anything??
You could also flash back to stock boot image, boot up and take the OTA actually over the air.
Also, don't flash TWRP initially, just boot TWRP, flash twrp from inside twrp, reboot into recovery, then finally flash root (make sure to read the twrp rc1 thread, post #2) reboot to let root finish, and done. (unless you want a custom Kernel, then do this very last.
After doing a twrp backup and backing up the entire device, I used this method to update with twrp and root installed. I did not lose data.
Afterwards you will need to install TWRP and root.
mruno said:
After doing a twrp backup and backing up the entire device, I used this method to update with twrp and root installed. I did not lose data.
Afterwards you will need to install TWRP and root.
Click to expand...
Click to collapse
Ok that looks easy enough. What is the command you typed to flash the file after its modified?
computercarl said:
You could also flash back to stock boot image, boot up and take the OTA actually over the air.
Also, don't flash TWRP initially, just boot TWRP, flash twrp from inside twrp, reboot into recovery, then finally flash root (make sure to read the twrp rc1 thread, post #2) reboot to let root finish, and done. (unless you want a custom Kernel, then do this very last.
Click to expand...
Click to collapse
This sounds like the easiest way. Where do i get the stock boot image from? Do i extract it from the factory image zip file? And then once I get it what is the command I'd use to flash it?
https://www.androidfilehost.com/?fid=529152257862669140 is nde63p's boot.img. If you are on something else, you can extract it's boot.img from the factory image, there's a boot file in there. Fastboot boot <img file name> will boot it, then you can take the ota, reboot because the ota needs to finish. copy twrp.zip on to sd card, (were going to need it in a minute!) then fastboot boot twrp3020rc1.img the same way. From twrp, flash the zip. tell twrp to reboot into recovery. it will reboot into twrp, from the recovery (Or dont flash the zip, you dont have to, some prefer to remain on stock recovery) and then flash SU SR5 (How to install SuperSU SR5 on TWRP RC1: Before flashing the zip, in TWRP tap on Advanced -> File Manager and scroll to and select the fstab.marlin or fstab.sailfish file and then delete it. ) then finally flash a kernel. If you are going to flash root, might as well flash ElementalX 1.01 kernel from twrp. Hope that is a bit more breakdown.
computercarl said:
https://www.androidfilehost.com/?fid=529152257862669140 is nde63p's boot.img. If you are on something else, you can extract it's boot.img from the factory image, there's a boot file in there. Fastboot boot <img file name> will boot it, then you can take the ota, reboot because the ota needs to finish. copy twrp.zip on to sd card, (were going to need it in a minute!) then fastboot boot twrp3020rc1.img the same way. From twrp, flash the zip. tell twrp to reboot into recovery. it will reboot into twrp, from the recovery (Or dont flash the zip, you dont have to, some prefer to remain on stock recovery) and then flash SU SR5 (How to install SuperSU SR5 on TWRP RC1: Before flashing the zip, in TWRP tap on Advanced -> File Manager and scroll to and select the fstab.marlin or fstab.sailfish file and then delete it. ) then finally flash a kernel. If you are going to flash root, might as well flash ElementalX 1.01 kernel from twrp. Hope that is a bit more breakdown.
Click to expand...
Click to collapse
I extracted the boot.img and put in in my fastboot folder, but when I go to flash it it's saying file not found?? I named it boot.img and am typing fastboot flash boot boot.img. I've also tried fastboot boot boot.img and get the same message.
What am i doing wrong? Could I have the wrong boot image??
mpetruzz said:
Ok that looks easy enough. What is the command you typed to flash the file after its modified?
Click to expand...
Click to collapse
just double click the .bat file and it will perform all of the commands. the first boot afterwards will take a few mins.

How To Guide Xiaomi 12S Ultra TWRP(unofficial)

12S Ultra unofficial TWRP - link MEGA
Credit - UnofficialTWRP
They released TWRP under 12S Pro, but the code name is Thor which stands for 12S Ultra, and after flashing, I do confirm this is for 12S Ultra.
now they have a proper 12S Ultra section!
Download the image and rename as recovery.img for simplicity.
fastboot boot recovery.img (or full file name)
in TWRP, go to "Advanced" and "flash this twrp."
edit: the recovery image file is too large to be flashed directly via fastboot, so you need to boot first then flash using twrp!
edit2: backup and restore function may not be working properly on this version of twrp! I get boot loops everytime I do a full system backup and full restore after bricking the device, especially on the data partition. Clean installing rom then restoring data only still get boot loops. so use it with caution.
I suggest you to use 3rd party backup apps to do backups on apps and data, and stick to the flashing and other functions only for twrp.
original source unofficialtwrp.com
Nabicook said:
12S Ultra unofficial TWRP - link MEGA
Credit - UnofficialTWRP
They released TWRP under 12S Pro, but the code name is Thor which stands for 12S Ultra, and after flashing, I do confirm this is for 12S Ultra.
Download the image and rename as recovery.img for simplicity.
fastboot boot recovery.img (or full file name)
in TWRP, go to Advanced and flash this twrp.
original source unofficialtwrp.com
Click to expand...
Click to collapse
Awesome thanks. But why not Fastboot flash recovery recovery.img?
No. You must type fastboot flash boot recovey. img
dungnghien said:
No. You must type fastboot flash boot recovey. img
Click to expand...
Click to collapse
No I'm pretty sure it's:
fastboot flash recovery twrp.img
However my question was why the method outlined by @Nabicook vs this method. Is it because of the dual partition?
GodKingKnight said:
Awesome thanks. But why not Fastboot flash recovery recovery.img?
Click to expand...
Click to collapse
Because not only it is the method unofficialtwrp suggested, but also the size of the recovery img file is too large to be flashed via fastboot.
I already tried
fastboot flash recovery recovery.img
fastboot flash recovery_a recovery.img
and so on, but all failed.
only way to properly install this version of twrp is to boot first then let twrp to install itself to both a/b partitions.
Hi!
I'm following your guide...and after uploading recovery nothing happens
rebooting into recovery through ADB or just using buttons...still sends me into fastboot mode
What can I do?
joiliko said:
Hi!
I'm following your guide...and after uploading recovery nothing happens
rebooting into recovery through ADB or just using buttons...still sends me into fastboot mode
What can I do?
Click to expand...
Click to collapse
are you sure you did
fastboot boot (your recovery file name).img
it should automatically boot into twrp without touching anything from fastboot mode.
then install twrp through the advanced option in twrp
Nabicook said:
are you sure you did
fastboot boot (your recovery file name).img
Click to expand...
Click to collapse
Great many thanks! I was actually doing flash boot
Nabicook said:
then install twrp through the advanced option in twrp
Click to expand...
Click to collapse
Still having issues:
After flashing twrp + magisk, reboot sends me into fastboot mode ..
As I get it, previously I've messed up with boot image, flashing recovery into that partition
So question is:
Do I need to reflash stock boot.img (need help with getting it, stock recovery rom is packed into .bin and I'm unable to extract boot image
Or can I simply reflash stock ROM (in recovery or fastboot mode?)
*my phone is unlocked already
joiliko said:
Still having issues:
After flashing twrp + magisk, reboot sends me into fastboot mode ..
As I get it, previously I've messed up with boot image, flashing recovery into that partition
So question is:
Do I need to reflash stock boot.img (need help with getting it, stock recovery rom is packed into .bin and I'm unable to extract boot image
Or can I simply reflash stock ROM (in recovery or fastboot mode?)
*my phone is unlocked already
Click to expand...
Click to collapse
yeah you can try flashing stock boot img, and if that doesnt work, you can download fastboot rom and flash stock rom using flash all without wiping data(there is .bat file that says something like install without formatting).
That will fix any kind of brick issues of xiaomi device, and you just redo the twrp part.
joiliko said:
Still having issues:
After flashing twrp + magisk, reboot sends me into fastboot mode ..
As I get it, previously I've messed up with boot image, flashing recovery into that partition
So question is:
Do I need to reflash stock boot.img (need help with getting it, stock recovery rom is packed into .bin and I'm unable to extract boot image
Or can I simply reflash stock ROM (in recovery or fastboot mode?)
*my phone is unlocked already
Click to expand...
Click to collapse
How to Extract payload.bin and get stock boot image file
To extract the payload.bin file from Android stock firmware and get stock boot image file, you should refer to the instructions given in here.
www.droidwin.com
My idea worked!
I used the method above to extract boot.img & flashed it successfully
Can someone tell me why wipe data and settings dosent work on my 12s ultra every time reboots the twrp after i press the icon... Im try at 7.5 version the same and on 7.2

Categories

Resources