[GUIDE][NOOB PROOF]How to Flash Custom Roms with S-ON - HTC Sensation

Hello everyone! in this guide i'll show you how to flash custom roms which requires s-off when your device is not.
For example for the people who have unlocked the sensation through HTCdev.com, don't have s-off and want to flash custom roms :good:
ok so you will need at least:
Unlocked Bootloader
Rooted Device
PC with Android SDK Installed (ADB, Fastboot)
Custom Rom (to be installed)
Ok you if you have these things you're half way to flash a custom rom, Now what s-off devices can do is to flash the rom's boot.img
So this is really simple, we need to flash ourselves the boot.img, which our s-on devices can't do by itself
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Step 1.
First you need to extract the rom.zip and inside of it you'll find a folder named Kernel (most of the rom's boot.img are in that folder, if it is not there find it out in the other folders)
Step 2.
Now that you have your boot.img you need to copy that file into your Android-sdk/tools folder
Step 3.
Next we need to flash that file onto our Sensation so reboot your device in fastboot mode, open the cmd and type:
Code:
fastboot flash boot boot.img
at this point the cmd will proceed to flash the boot.img file and when it's done type:
Code:
fastboot reboot recovery
Step 4.
Ok, now that we have flashed the most important file we need simply to flash the rom through recovery
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Reboot and it's done you have flashed the rom correctly :good::victory:
NOTE: YOU NEED TO FLASH THE BOOT.IMG FILE EVERY TIME YOU WANT TO FLASH A CUSTOM ROM, IF YOU DON'T YOUR DEVICE WON'T BOOT

sorry to butt in but ..this was already covered here

ganeshp said:
sorry to butt in but ..this was already covered here
Click to expand...
Click to collapse
yep, i've seen that after doing this, however this is an easier method and it is different....

matt95 said:
yep, i've seen that after doing this, however this is an easier method and it is different....
Click to expand...
Click to collapse
Thanks for the effort but as ganeshp already pointed out this has been covered in great detail already in the guide he linked. Also I do not see how this is easier, for one this method is covered in the guide, and two how can it be easier than enabling smart flash in 4EXT Recovery. When you do this you do not even have to connect your device to a computer via USB to flash the boot.img, it is all done on the device itself. No extracting the boot.img, which is not in a folder named kernel normally, only with Aroma do you have that. As I said thanks for your effort, your heart is in the right place, but this was just not needed.

T-Macgnolia said:
Thanks for the effort but as ganeshp already pointed out this has been covered in great detail already in the guide he linked. Also I do not see how this is easier, for one this method is covered in the guide, and two how can it be easier than enabling smart flash in 4EXT Recovery. When you do this you do not even have to connect your device to a computer via USB to flash the boot.img, it is all done on the device itself. No extracting the boot.img, which is not in a folder named kernel normally, only with Aroma do you have that. As I said thanks for your effort, your heart is in the right place, but this was just not needed.
Click to expand...
Click to collapse
yeah, maybe it is not easier than the other method but i did it cause my friend wasn't able to star the 4ext application and he couldn't flash the recovery properly, even in fastboot. So i decided to make this guide to help people who have such problems, more guides/different methods = more possibility to have success

Related

[Q] [Solved] Noob Root Questions - Seeking Guidance

Hello all,
I know everyone hates people who post without searching the forums first, but I did and I am still very lost on what all I need to do to root my device and get going flashing ROMs with the new 2.20 Root Method.
I have used this thread to get me started (http://forum.xda-developers.com/showthread.php?t=1684382&highlight=root+guide) and I have already downloaded Android SDK from google + Platform-tools + Google USB Driver but I don't want to get going on root because in the instructions from 2.20 Root it states:
10. After unlocking the bootloader, you can flash a custom recovery partition via fastboot, boot into recovery mode, and use a recovery ADB shell or install from an update.zip to install Superuser and su (I do not provide support for custom recoveries, but this is a straightforward process that other people can help with).
I have searched the above linked thread and cannot determine how to generate a custom recovery partition (unless I did when I used the command "adb -backup all" in the platform-tools folder of the Android SDK..Furthermore, I do not know what "Superuser and su" is referencing.
If anyone could point me in the right direction, I dont mind doing the reading myself but I have gotten bogged down in the details. Basically, I want to save all of you the trouble of another noob who has bricked their phone because they didn't do their homework. Thanks all for your help!
TheEmpyre said:
Hello all,
I know everyone hates people who post without searching the forums first, but I did and I am still very lost on what all I need to do to root my device and get going flashing ROMs with the new 2.20 Root Method.
I have used this thread to get me started (http://forum.xda-developers.com/showthread.php?t=1684382&highlight=root+guide) and I have already downloaded Android SDK from google + Platform-tools + Google USB Driver but I don't want to get going on root because in the instructions from 2.20 Root it states:
10. After unlocking the bootloader, you can flash a custom recovery partition via fastboot, boot into recovery mode, and use a recovery ADB shell or install from an update.zip to install Superuser and su (I do not provide support for custom recoveries, but this is a straightforward process that other people can help with).
I have searched the above linked thread and cannot determine how to generate a custom recovery partition (unless I did when I used the command "adb -backup all" in the platform-tools folder of the Android SDK..Furthermore, I do not know what "Superuser and su" is referencing.
If anyone could point me in the right direction, I dont mind doing the reading myself but I have gotten bogged down in the details. Basically, I want to save all of you the trouble of another noob who has bricked their phone because they didn't do their homework. Thanks all for your help!
Click to expand...
Click to collapse
I second this request. I feel like there are loads of helpful threads but after searching for a long time I don't see anything that leads someone new to Android rooting from stock 2.2 to having something like CM10 on their device. All of the write-ups I've found assume more experience than I have. Is there a general guide somewhere that I'm missing? Maybe something that explains rooting, backing up, flashing, etc. from start to finish where we can replace "this is where you root your device" with the new rooting method? I'm assuming it's out there but I can't seem to find it anywhere.
TheEmpyre said:
I have searched the above linked thread and cannot determine how to generate a custom recovery partition
Click to expand...
Click to collapse
You don't need to "generate" anything, not sure where you got that terminology from. Just install Goomanager from the Play Store and use that to install TWRP recovery.
---------- Post added at 09:20 AM ---------- Previous post was at 09:12 AM ----------
TheEmpyre said:
Furthermore, I do not know what "Superuser and su" is referencing.
Click to expand...
Click to collapse
In plain terms a superuser = a root user. But when discussed here, it usually references the app that manages what other apps have root access.
Superuser is required to perform root functions.
You can obtain the app various ways, all discussed here: http://forum.xda-developers.com/showthread.php?t=1954361
TheEmpyre said:
Hello all,
I know everyone hates people who post without searching the forums first, but I did and I am still very lost on what all I need to do to root my device and get going flashing ROMs with the new 2.20 Root Method.
I have used this thread to get me started (http://forum.xda-developers.com/showthread.php?t=1684382&highlight=root+guide) and I have already downloaded Android SDK from google + Platform-tools + Google USB Driver but I don't want to get going on root because in the instructions from 2.20 Root it states:
10. After unlocking the bootloader, you can flash a custom recovery partition via fastboot, boot into recovery mode, and use a recovery ADB shell or install from an update.zip to install Superuser and su (I do not provide support for custom recoveries, but this is a straightforward process that other people can help with).
I have searched the above linked thread and cannot determine how to generate a custom recovery partition (unless I did when I used the command "adb -backup all" in the platform-tools folder of the Android SDK..Furthermore, I do not know what "Superuser and su" is referencing.
If anyone could point me in the right direction, I dont mind doing the reading myself but I have gotten bogged down in the details. Basically, I want to save all of you the trouble of another noob who has bricked their phone because they didn't do their homework. Thanks all for your help!
Click to expand...
Click to collapse
ctennenh said:
I second this request. I feel like there are loads of helpful threads but after searching for a long time I don't see anything that leads someone new to Android rooting from stock 2.2 to having something like CM10 on their device. All of the write-ups I've found assume more experience than I have. Is there a general guide somewhere that I'm missing? Maybe something that explains rooting, backing up, flashing, etc. from start to finish where we can replace "this is where you root your device" with the new rooting method? I'm assuming it's out there but I can't seem to find it anywhere.
Click to expand...
Click to collapse
They are many simple tutorials for rooting but do not know why you guys having hard time. Ok here is
1) You got Android SDK from google + Platform-tools + Google USB Driver -
2) Only for windows - Download htc sync ( It will install necessary htc drivers) - Link
3) Just to check if htc drivers installed properly , open "C:\android-sdk\platform-tools" ( Or folder where adb and fastboot exists) then "Press shift + right click and select "Open command window here" ( open command prompt and cd "folder where adb and fastboot exists).
4) In command window type " adb devices" and see output - If you get output then htc drivers installed properly.
You can skip step 3 and step 4 - These steps are only for verification
5) Goto [ROOT] HTC One X AT&T 2.20 Firmware - X-Factor root exploit and follow the instructions there.
6) Once you successfully root your device using above exploit then goto - [How To] Flash Custom recovery and ROMS after 2.20 root complete the steps to flash custom recovery and if you want to flash ROMS
7) To unlock BOOT LOADER use this link - [INDEX] AT&T/ROGERS One X Resources Compilation Roll-Up , follow the instructions under " BOOTLOADER UNLOCK, SUPER CID, AND S-OFF"
You can also goto this link - [ROOT][2.20] One XL Bootloader unlock & Root guide By XsMagical - Very nice tutorial, if you find above links difficult to follow
Note* : During exploit or flashing recovery they talk about using fastboot commands, In order to execute them you need goto C:\android-sdk\platform-tools" ( Or folder where adb and fastboot exists) then "Press shift + right click and select "Open command window here" ( open command prompt and cd "folder where adb and fastboot exists) and then execute the commands ..
Advice - Do not flash any roms apart from xda
Thank you, abhipati. I haven't seen any simple tutorials that are complete. Everything seems to assume the user knows how to do something mentioned in another thread, which in turn seems to assume something else. Your post seems like a very clear start-to-finish explanation. Maybe it should be made into a stickie in Q&A. I can surely handle step 1 but maybe that could be explained (or at least a link added to an appropriate thread).
If all this is out there somewhere already then I certainly didn't know where to find it. I appreciate your help.
ctennenh said:
Thank you, abhipati. I haven't seen any simple tutorials that are complete. Everything seems to assume the user knows how to do something mentioned in another thread, which in turn seems to assume something else. Your post seems like a very clear start-to-finish explanation. Maybe it should be made into a stickie in Q&A. I can surely handle step 1 but maybe that could be explained (or at least a link added to an appropriate thread).
If all this is out there somewhere already then I certainly didn't know where to find it. I appreciate your help.
Click to expand...
Click to collapse
No problem.
Regarding step 1)
1) Download Android SDK from here {For Windows}
2) Download java you need it - here
Thank you all for helping gather some resources for me that I know are up to date etc. - Thankfully I do know a few unix commands so that I can navigate the command prompt aspects...I'm sure these threads get annoying so thank you very much for getting a new-to-root user up and running. I'll try this all later this evening and throw an update to let you all know how it goes -- hopefully no "bricked my phone" thread in the future
Excellent I have successfully unlocked my bootloader and achieved perm-root! Now on to flashing roms and I have some questions:
1) I have read GuyIncognito's instructions here (http://forum.xda-developers.com/showthread.php?t=1952076) on Flashing ROMs and how to go about doing that and i fully understand the process but I want to confirm (Yes I Have TWRP recovery installed and running) I only need to extract the boot.img out of the winRAR file of the ROM that I downloaded? (CM10 seems to be popular so I'm starting with that as my first ROM) There are so many other files in the package and I'm wondering why do you only need the boot.img file to be present with your adb and fastboot files from the google dev SDK -- the boot.img is only 5 MB and I can hardly believe that it constitutes the whole OS?
2) How do I go about installing gapps after I have flashed my ROM? I have downloaded Gapps so I have the file...do I place it in my SD Card and then enter recovery to install it? or Do have to use adb to flash it
Edit: I also have Superuser app on my stock ROM right now
Any further help is much appreciated, thank you very much.
Boot.img is technically just the kernel, it's the heart of the OS you are installing. Once extracted, rezip rom. Flash boot.img first using fastboot command prompt. Then flash the Rom itself that you rezipped through twrp
You can easily just flash gapps through twrp.
Sent from my HTC One XL using xda premium
InflatedTitan said:
Boot.img is technically just the kernel, it's the heart of the OS you are installing. Once extracted, rezip rom. Flash boot.img first using fastboot command prompt. Then flash the Rom itself that you rezipped through twrp
You can easily just flash gapps through twrp.
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Thanks for the reply, the community on XDA kicks a$$, doing some additional reading just plz tell me if I understand this correctly...
1) Copy CM10 zip and Gapps zip into phone storage
2) Follow GuyIncognito's instructions on flashing boot.img
3) Boot into recovery AFTER Flashing boot.img
4) Select "Install" in TWRP
5) Install CM10 zip First
6) Install Gapps zip next
7) Reboot
8) profit?
TheEmpyre said:
Excellent I have successfully unlocked my bootloader and achieved perm-root! Now on to flashing roms and I have some questions:
1) I have read GuyIncognito's instructions here (http://forum.xda-developers.com/showthread.php?t=1952076) on Flashing ROMs and how to go about doing that and i fully understand the process but I want to confirm (Yes I Have TWRP recovery installed and running) I only need to extract the boot.img out of the winRAR file of the ROM that I downloaded? (CM10 seems to be popular so I'm starting with that as my first ROM) There are so many other files in the package and I'm wondering why do you only need the boot.img file to be present with your adb and fastboot files from the google dev SDK -- the boot.img is only 5 MB and I can hardly believe that it constitutes the whole OS?
2) How do I go about installing gapps after I have flashed my ROM? I have downloaded Gapps so I have the file...do I place it in my SD Card and then enter recovery to install it? or Do have to use adb to flash it
Edit: I also have Superuser app on my stock ROM right now
Any further help is much appreciated, thank you very much.
Click to expand...
Click to collapse
follow his instructions and you'll be fine
flash the boot.img in flashboot, reboot in recovery, flash your nameofrom.zip, flash your gapps pkg just like the rom (on your sd card), enjoy...
---------- Post added at 08:48 PM ---------- Previous post was at 08:45 PM ----------
TheEmpyre said:
Thanks for the reply, the community on XDA kicks a$$, doing some additional reading just plz tell me if I understand this correctly...
1) Copy CM10 zip and Gapps zip into phone storage
2) Follow GuyIncognito's instructions on flashing boot.img
3) Boot into recovery AFTER Flashing boot.img
4) Select "Install" in TWRP
5) Install CM10 zip First
6) Install Gapps zip next
7) Reboot
8) profit?
Click to expand...
Click to collapse
yes that;s correct you may wanna backup your sd card 1st as well and do a full wipe before flashing the rom.
Just in case your not familiar with fastboot, the command is fastboot flash boot boot.img
Sent from my HTC One XL using xda premium
Crappyvate said:
follow his instructions and you'll be fine
flash the boot.img in flashboot, reboot in recovery, flash your nameofrom.zip, flash your gapps pkg just like the rom (on your sd card), enjoy...
Click to expand...
Click to collapse
By Flash do you mean using TWRP recovery "install" feature and selecting the CM10.zip I have in my SD Card, and gapps? Just making sure I dont have to do it via command prompt cuz then I may have to do some additional reading
Edit: Just saw you all beat me to it, thanks all, will get back to you after I am running a ROM *crossfingers*
TheEmpyre said:
By Flash do you mean using TWRP recovery "install" feature and selecting the CM10.zip I have in my SD Card, and gapps? Just making sure I dont have to do it via command prompt cuz then I may have to do some additional reading
Click to expand...
Click to collapse
yes install. you dont need to do it from command prompt, additional reading is always good
even though it was put together a while back this http://forum.xda-developers.com/showthread.php?t=1678308 is a very good guide and covers a lot of things of course you should absolutely start here in redpoint indispensable guide to all the resources available to one xl http://forum.xda-developers.com/showthread.php?t=1671237
happy flashing
Alright Looks like I successfully flashed CM10! I flashed gapps with it at the same time but I have run into a problem -- It keeps telling me that all these gapps processes have failed and I have no access to a keyboard! Do I have to reflash gapps?
Hmm ok I think I messed up here....
My phone was essentially non-functional with CM10 -- Nothing worked and it took me a while to navigate to enable USB Debugging on the given mod. One I enabled USB Debugging in CM10 I ran the following:
adb reboot recovery
Once I was in recovery, I Restored a backup of my device that I made BEFORE I obtained permanent root via the toolkit as it was recommended during this time to make a recovery.
Recovery worked successfully, now after reboot it hangs on the HTC screen and then goes black, then reboots again, and again, and again...
I haven't been able to use the volume down + power button to even get back into the bootloader.....hopefully I am not screwed here...Any suggestions?
TheEmpyre said:
Hmm ok I think I messed up here....
My phone was essentially non-functional with CM10 -- Nothing worked and it took me a while to navigate to enable USB Debugging on the given mod. One I enabled USB Debugging in CM10 I ran the following:
adb reboot recovery
Once I was in recovery, I Restored a backup of my device that I made BEFORE I obtained permanent root via the toolkit as it was recommended during this time to make a recovery.
Recovery worked successfully, now after reboot it hangs on the HTC screen and then goes black, then reboots again, and again, and again...
I haven't been able to use the volume down + power button to even get back into the bootloader.....hopefully I am not screwed here...Any suggestions?
Click to expand...
Click to collapse
I think u need to flash that backups boot IMG
omario8484 said:
I think u need to flash that backups boot IMG
Click to expand...
Click to collapse
Yes that would make sense, but the problem is A) How do I access that backup's .img file? B) How can I enter bootloader again? It won't let me using Power+Vol Down, no matter how long I hold it for --- unless I need to hold it longer?
You have to hold it till the buttons flash and goes black... Hold for about 2-3 more seconds and release the power button, but keep the volume down held until you get to a white hboot screen. (it'll have three skating droids)
Sent from my HTC One XL using xda premium
InflatedTitan said:
You have to hold it till the buttons flash and goes black... Hold for about 2-3 more seconds and release the power button, but keep the volume down held until you get to a white hboot screen. (it'll have three skating droids)
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Ok got it, did a factory reset then re-flashed CM10 boot.img...Flashed CM10 BY ITSELF this time, without doing gapps at the same time, rebooted into recovery after CM10 rolled up, then flashed gapps alone, everything is working smoothly! Now, time to restore my apps
Panicked momentarily, but now I'm back at it.
THANK YOU EVERYONE! Huge ups to all of you for helping a noob find his way

[Q] Is flashing a kernel as easy as going to recovery and installing it?

Hi i'm new to the att htc one x, just rooted, and installed twrp... then flash cleanrom5. I also noticed clean has a kernel, i did not see an install guide, but i've installed kernels before on my captivate. So what i'm wondering if it's as easy as....
1. place kernel on phone storage
2. reboot into recovery
3. install kernel from recovery
4. reboot
If there anything i am missing or if i am completely off could someone please help me out with this?
Thank you :good:
If you are on the 1.14 hboot (rooted on 2.20 firmware) you can't flash kernels from recovery. You have to do it using fastboot.
redpoint73 said:
If you are on the 1.14 hboot (rooted on 2.20 firmware) you can't flash kernels from recovery. You have to do it using fastboot.
Click to expand...
Click to collapse
Would you mind walking me through that process?
Unless this makes any difference "CleanROM V is based on the latest Asian 2.29 RUU which is Android 4.0.4, Sense 4.1 and is ODEXED!"
not sure if that means i am on 2.29 rooted.
cannon19932006 said:
Would you mind walking me through that process?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1957193
http://forum.xda-developers.com/showpost.php?p=33493959&postcount=2
Sent from my HTC One XL
absolutelygrim said:
http://forum.xda-developers.com/showthread.php?t=1957193
http://forum.xda-developers.com/showpost.php?p=33493959&postcount=2
Sent from my HTC One XL
Click to expand...
Click to collapse
I don't see anything about flashing kernels in that thread.
cannon19932006 said:
I don't see anything about flashing kernels in that thread.
Click to expand...
Click to collapse
the boot.img has the kernel in it, it has to be flashed from fastboot.
heres the kernel. dl.dropbox.com/u/31360541/CleanKERNEL/CleanKERNEL 1.1 - HOX.zip
flash the boot.img from fastboot, then flash the zip from recovery. fastboot flash method http://forum.xda-developers.com/showpost.php?p=33493959&postcount=2
edit: btw, what exploit did you use to achieve root? Was it the x-factor exploit?
cannon19932006 said:
Unless this makes any difference "CleanROM V is based on the latest Asian 2.29 RUU which is Android 4.0.4, Sense 4.1 and is ODEXED!"
not sure if that means i am on 2.29 rooted.
Click to expand...
Click to collapse
Not the firmware you are on now. The firmware you originally achieved root on. More importantly, what version is your hboot (go to hboot, and the version number is listed)?
If your phone was purchased with 2.20 firmware, and you rooted using the new X-factor exploit method, you have the 1.14 hboot.
Hboot 1.14 plugged the hole by which flashing kernels from recovery was possible. So it can only be done by fastboot.
redpoint73 said:
Not the firmware you are on now. The firmware you originally achieved root on. More importantly, what version is your hboot (go to hboot, and the version number is listed)?
If your phone was purchased with 2.20 firmware, and you rooted using the new X-factor exploit method, you have the 1.14 hboot.
Hboot 1.14 plugged the hole by which flashing kernels from recovery was possible. So it can only be done by fastboot.
Click to expand...
Click to collapse
i used x-factor yes, and yes it's 1.14, thank you both for the help.
cannon19932006 said:
i used x-factor yes, and yes it's 1.14, thank you both for the help.
Click to expand...
Click to collapse
Ok, since you used x-factor, make sure to flash your boot.img before flashing the ROM
Same with a kernel. Flash boot.img then the kernel zip
absolutelygrim said:
Ok, since you used x-factor, make sure to flash your boot.img before flashing the ROM
Same with a kernel. Flash boot.img then the kernel zip
Click to expand...
Click to collapse
I already flashed the rom, just not the kernel, i don't remember flashing the boot.img, just following the instructions on the rom's page here
http://forum.xda-developers.com/showthread.php?t=1655011
"Must have twrp Recovery installed with unlocked bootloader! CWM Recovery will cause serious issues!!!
Copy ROM to storage
Reboot to Recovery
Wipe data / Factory Reset in Recovery!
Install ROM and Aroma installer will start.
Choose Options
Let install complete
Reboot to System"
That's how i flashed this rom anyway.
That's funny your in schertz, i live like 5 miles from there in Universal city lol.
cannon19932006 said:
I already flashed the rom, just not the kernel, i don't remember flashing the boot.img, just following the instructions on the rom's page here
http://forum.xda-developers.com/showthread.php?t=1655011
"Must have twrp Recovery installed with unlocked bootloader! CWM Recovery will cause serious issues!!!
Copy ROM to storage
Reboot to Recovery
Wipe data / Factory Reset in Recovery!
Install ROM and Aroma installer will start.
Choose Options
Let install complete
Reboot to System"
That's how i flashed this rom anyway.
That's funny your in schertz, i live like 5 miles from there in Universal city lol.
Click to expand...
Click to collapse
Well, If cleanROM is using the same Kernel as stock, then you got lucky. If they use the same kernel, no need to flash boot.img.
If they are different kernels and you dont flash boot.img, you are now in a bootloop
lol Universal City
not bad
Sorry for so many questions lol, just making sure i do this right.
okay so basically i want to download the kernel and the fastboot drivers posted in your post.
Extract the fastboot drivers, and then unzip the kernel, taking the boot.img from it and placing it into the fastboot directory that i just unzipped.
I then want to boot my phone into hboot and select fastboot
open the command prompt and take it to where the fastboot.exe is.
then type fastboot flash boot boot.img into the command prompt
After all this is done i want to go into recovery and flash the zip of the kernel?
Is that all right?
cannon19932006 said:
Sorry for so many questions lol, just making sure i do this right.
okay so basically i want to download the kernel and the fastboot drivers posted in your post.
Extract the fastboot drivers, and then unzip the kernel, taking the boot.img from it and placing it into the fastboot directory that i just unzipped.
I then want to boot my phone into hboot and select fastboot
open the command prompt and take it to where the fastboot.exe is.
then type fastboot flash boot boot.img into the command prompt
After all this is done i want to go into recovery and flash the zip of the kernel?
Is that all right?
Click to expand...
Click to collapse
Yeap. Don't "extract" the zip, just drag the boot.img out of the zip
absolutelygrim said:
Yeap. Don't "extract" the zip, just drag the boot.img out of the zip
Click to expand...
Click to collapse
Success, THANKS!
absolutelygrim said:
the boot.img has the kernel in it, it has to be flashed from fastboot.
heres the kernel. dl.dropbox.com/u/31360541/CleanKERNEL/CleanKERNEL 1.1 - HOX.zip
flash the boot.img from fastboot, then flash the zip from recovery.
Click to expand...
Click to collapse
Why do you say to flash the boot.img and then zip if boot.img has the kernel in it?
Thank you. R
cimenta said:
Why do you say to flash the boot.img and then zip if boot.img has the kernel in it?
Thank you. R
Click to expand...
Click to collapse
Because the new hboot makes it to where you cant flash kernels through recovery. only fasboot
So why the second flash if the boot.img was flashed via fastboot?
I am just lost in these. Could you recommend any reading except this forum for me to get more understanding? So I don't do anything to my phone?
cimenta said:
So why the second flash if the boot.img was flashed via fastboot?
I am just lost in these. Could you recommend any reading except this forum for me to get more understanding? So I don't do anything to my phone?
Click to expand...
Click to collapse
It wasn't.
boot.img can't be flashed from recovery, it skips it.
Thats why you flash boot.img from fastboot then the ROM from recovery
http://forum.xda-developers.com/showthread.php?t=1963896
absolutelygrim said:
It wasn't.
boot.img can't be flashed from recovery, it skips it.
Thats why you flash boot.img from fastboot then the ROM from recovery
http://forum.xda-developers.com/showthread.php?t=1963896
Click to expand...
Click to collapse
So although ROM zip file contains boot.img when flashing boot.img won't be flashed? That's why we need to flash is separately? Is it important to flash it before flashing ROM?
Thank you.R
I'm also, learning as I go. From reading and multiple failed attempts at flashing ROMs and kernels, I have found the correct way with 1.14 Hboot.
-dl the rom/kernel
-extract only the boot.img file
- save both .zip and boot to your desired folder.
-go into recovery and mount sd card to pc
-transfer .zip file to your phones sd card
-get back into fastboot on your phone
-transfer boot.img to fastboot folder
-from fastboot cmd prompt(if you have win7, open your folder with fastboot in it hold shift+right click and open cmd)
-type "fastboot boot boot.img" without quotes
-go back into recovery and clean cache/delvik
-then install .zip that you copied to the sd card
You should be good to go from there.
If I have left anything out, please feel free to correct.
Sent from my HTC One X using xda app-developers app

Installing another Kernel (Zip not .img) on a S-ON device

I can't find any guides about how to install a different (but compatible) kernel, zipped, on a S-ON device. I know I need the kernel to be in .img form and not .zip. Can anyone lead me to a guide, or give me some advices on how do I actually do it?
So you want .zip or .img?
At title it says ''Zip not .img'' And later it says ''to be in .img form and not .zip''
Anyways, with the .img one; you need to find a correct boot.img, then follow this;
http://forum.xda-developers.com/showthread.php?t=1631861
Scroll down, find the ''Extra 1: Flashing "boot.img"''
If this is what you're looking for..
Someone smarter should correct me if I was wrong.
each kernel in development section comes with zip format
There's a mess in my head right now and I can't explain exactly what I want. I apologize.
I have a S-ON HTC Sensation, that means when I want to install a new rom I need to enter bootloader and fastboot the boot.img. Then enter Recovery and flash the rom in zip form.
What if I want to install a new Kernel (a compatible one, as i said) but which is in zip form as the rom. How do I get the boot.img out of it so I can flash the zip afterwards? Because I understand that zipping it normally without any boot.img might get me some errors.
rareshutzu said:
There's a mess in my head right now and I can't explain exactly what I want. I apologize.
I have a S-ON HTC Sensation, that means when I want to install a new rom I need to enter bootloader and fastboot the boot.img. Then enter Recovery and flash the rom in zip form.
What if I want to install a new Kernel (a compatible one, as i said) but which is in zip form as the rom. How do I get the boot.img out of it so I can flash the zip afterwards? Because I understand that zipping it normally without any boot.img might get me some errors.
Click to expand...
Click to collapse
i think i know what are you talking about
do you have 4ext recovery installed?
if not then install 4ext and before flashing any rom or even a kernel enable smartflash from it
you just avoid the step for flashing the boot.img manually
with smartflash feature you don't need to flash any boot.img
rzr86 said:
i think i know what are you talking about
do you have 4ext recovery installed?
if not then install 4ext and before flashing any rom or even a kernel enable smartflash from it
you just avoid the step for flashing the boot.img manually
with smartflash feature you don't need to flash any boot.img
Click to expand...
Click to collapse
Great. That's exactly what I wanted. To not flash boot.img anymore. I'll try and let you know
rareshutzu said:
Great. That's exactly what I wanted. To not flash boot.img anymore. I'll try and let you know
Click to expand...
Click to collapse
FYi, Boot.img comes with every kernel. Open the zip on your pc look around and extract it.
JAM THAT THANKS BUTTON.
Happy to help.

Screen went blank after flashing boot.img

Meaning to install CyanogenMod I followed CyanogenMod wiki instructions (can't post link here)
Only that I have TWRP instead of CWM.
When I got to installing "CyanogenMod from recovery" I got a message saying that the pushing had failed because permissions did not allow it.
So I tried a solution they suggested for a similar message which did not work, and then I read the note at the bottom that says the kernel should be flashed via fastboot, I flashed it but now it's just blank (I guess because it has an alien kernel and the rest is the same)
I dont have a copy of my previous boot.img
Not enough information provided, please provide the following:
-Your bootloader details
-Your current TWRP version
-The exact filename of the ROM zip you flashed
-Is the phone powering on at all
Sent from my Evita
timmaaa said:
Not enough information provided, please provide the following:
-Your bootloader details HBOOT 2.15.0000 S-OFF
-Your current TWRP version 2.6.3
-The exact filename of the ROM zip you flashedcm-10.2.1-evita.zip I tried to flash it but couldnt do it on adb only flash the boot.img
-Is the phone powering on at all yes it is, it goes through the start screen and when it would show the icons it's just black with the backlight on
Sent from my Evita
Click to expand...
Click to collapse
Answers
What do you mean you couldn't do it on adb? Do what on adb? You don't use adb to flash a ROM.
Sent from my Evita
timmaaa said:
What do you mean you couldn't do it on adb? Do what on adb? You don't use adb to flash a ROM.
Sent from my Evita
Click to expand...
Click to collapse
I mean to push the rom on the root of the sdcard: look at the instructions I followed:
Place the CyanogenMod rom .zip file on the root of the SD card using adb:
Transfer your file(s): adb push YOURROMZIP.zip /sdcard/
If you boot directly to recovery and have an internal sdcard, you may need to run adb shell mount /sdcard or mount data through the recovery menu before transferring.
If you see "error: device not found" there is likely a driver issue on the PC.
If you see "error: insufficient permissions for device", try "adb kill-server" and then run "adb devices" to see if the device is attached.
On some devices, the zip file can be copied to the device using standard USB Mass Storage or MTP support. Boot the device normally and transfer the file to it.
Optional: Place any supplemental packages (e.g. Google Apps[1] or kernel) .zip file(s) on the root of the SD card.
Boot to recovery mode on the device by holding With the device powered down, hold the Volume Down and Power buttons until HBOOT appears, then release the buttons. Navigate using the volume keys and select RECOVERY using the Power key..
Once the device boots into the ClockworkMod Recovery, use the physical volume buttons to move up and down. On most devices, the power button is used to confirm your selection, although for some devices the power button is used as a "back" button to go up one level, in which case the home button is used to confirm the selection.
Optional/Recommended: Select backup and restore to create a backup of the current installation on the device. If this option is missing, it's likely because the stock ROM has overwritten your custom recovery on boot.
Select the option to wipe data/factory reset.
Select install zip from sdcard.
Select choose zip from sdcard.
Select the CyanogenMod file you placed on the sdcard. You will then need to then confirm that you do wish to flash this file.
Optional: Install any additional packages you wish using the same method.
Once the installation has finished, return back to the main menu, and select the reboot system now option. The device should now boot into CyanogenMod.
Click to expand...
Click to collapse
And the note I mentioned:
Note:
This device, if unlocked with HTC Dev Unlock, MUST have its kernel flashed via fastboot! Extract the boot.img from the rom zip and flash using fastboot flash boot boot.img
Click to expand...
Click to collapse
dvdmrn said:
I mean to push the rom on the root of the sdcard: look at the instructions I followed:
Click to expand...
Click to collapse
So you never actually flashed the ROM but you flashed the boot.img from the ROM zip anyway? No wonder it isn't working, you've flashed an incompatible boot.img onto whatever ROM you previously had installed (which is still installed by the way because flashing a boot.img does not flash a ROM).
All you needed to do was mount your sd card using TWRP (menu/mount/mount usb storage) and copy the ROM zip across, then install it. You have s-off so you don't ever need to flash the boot.img separately.
I really think you need to do some research, it seems you lack even a basic understanding of what you're doing. You don't know what a boot.img is or what it does or how or why you would need to flash it. You don't seem to know how to use your custom recovery. You don't seem to know how to install a ROM.
A lack of knowledge is almost always what leads to somebody bricking their phone, which I'm sure you don't want to happen. Do yourself a favour and spend the next couple of days reading up so you have a better understanding of modified devices. A great place to start would be my Evita FAQ thread and my How-To Guide For Beginners thread, you'll find both in my signature.
Sent from my Evita
---------- Post added at 06:17 AM ---------- Previous post was at 06:14 AM ----------
dvdmrn said:
And the note I mentioned:
Click to expand...
Click to collapse
I'm not sure where you found that note but it isn't entirely correct. Only Evitas with s-on and a hboot greater than 1.09 need to flash the boot.img via fastboot.
Sent from my Evita
timmaaa said:
So you never actually flashed the ROM but you flashed the boot.img from the ROM zip anyway? No wonder it isn't working, you've flashed an incompatible boot.img onto whatever ROM you previously had installed (which is still installed by the way because flashing a boot.img does not flash a ROM).
All you needed to do was mount your sd card using TWRP (menu/mount/mount usb storage) and copy the ROM zip across, then install it. You have s-off so you don't ever need to flash the boot.img separately.
I really think you need to do some research, it seems you lack even a basic understanding of what you're doing. You don't know what a boot.img is or what it does or how or why you would need to flash it. You don't seem to know how to use your custom recovery. You don't seem to know how to install a ROM.
A lack of knowledge is almost always what leads to somebody bricking their phone, which I'm sure you don't want to happen. Do yourself a favour and spend the next couple of days reading up so you have a better understanding of modified devices. A great place to start would be my Evita FAQ thread and my How-To Guide For Beginners thread, you'll find both in my signature.
Sent from my Evita
---------- Post added at 06:17 AM ---------- Previous post was at 06:14 AM ----------
I'm not sure where you found that note but it isn't entirely correct. Only Evitas with s-on and a hboot greater than 1.09 need to flash the boot.img via fastboot.
Sent from my Evita
Click to expand...
Click to collapse
This is where it's from
wiki cyanogenmod org / w / Install_CM_for_evita
I'm sorry for having hurried and done that but I couldn't flash the ROM and there were no more instructions, I've been reading for the last months, and even though I thought replacing the kernel could not be the best idea, it was the only idea I could get from those instructions and I thought maybe the kernel would have to be moved first for some reason. Anyway, thank you very much for your patience, I have to do it today because I have to travel and at&t limitations on the network -since it forces 4G- won't allow me to use my current carrier. I tried just moving the ROM by mounting and it worked. Thanks man

Question Root Asus Rog 5 ZS673KS :(

Good Morning.
I've spent a lot of days, read guides and make other but i'm not able to root my asus. Generally i've understand the process, but i don't know why every guide, near the end, have a problem.
Someone please can help me? I've also follow the guide in this forum but in the last part of termux the program don't work.
There is a very good herlp guide?
I have FW: 18.0840.2109.176
Thanks
Were you able to unlock bootloader?
If you have done that rooting is fairly simple.
jhosharath said:
Were you able to unlock bootloader?
If you have done that rooting is fairly simple.
Click to expand...
Click to collapse
Bootloader is already unlocked.
If root this phone is really simple like you say, probably the problem it's me
Simo90 said:
Bootloader is already unlocked.
If root this phone is really simple like you say, probably the problem it's me
Click to expand...
Click to collapse
Easy method : 1) Either flash the magisk patched boot.img through fastboot. Make sure you flash the right firmware boot.img matching yours.
OR
2)Have magisk.apk in your internal storage. Boot using twrp recovery from fastboot or if you have permanently replaced to twrp (well and good) you can just flash the apk file directly.
Harder method : Those described in the forum's when there was no twrp recovery.
PS: ALWAYS USE THE SIDE USB PORT OF THE PHONE TO EXECUTE FASTBOOT COMMANDS.
jhosharath said:
Easy method : 1) Either flash the magisk patched boot.img through fastboot. Make sure you flash the right firmware boot.img matching yours.
OR
2)Have magisk.apk in your internal storage. Boot using twrp recovery from fastboot or if you have permanently replaced to twrp (well and good) you can just flash the apk file directly.
Harder method : Those described in the forum's when there was no twrp recovery.
PS: ALWAYS USE THE SIDE USB PORT OF THE PHONE TO EXECUTE FASTBOOT COMMANDS.
Click to expand...
Click to collapse
Thanks for the answer.
There is a detailed guide for the number 2 method? Sorry i'm a novice >.<
Simo90 said:
Thanks for the answer.
There is a detailed guide for the number 2 method? Sorry i'm a novice >.<
Click to expand...
Click to collapse
Edit. Sorry i didnt see that you asked for detailed guide.
1)Download magisk.apk from GitHub. Keep in your internal storage of your phone.
2)Download that twrp recovery .img file in your pc and execute the command in your pc with your phone in fastboot as mentioned in that thread i posted below.
3)Your phone will boot into twrp recovery. Go to install and in that choose magisk.apk file which you downloaded and flash it. Thats all your phone will be rooted.
About the recovery (temporary or permanent) there is a thread under development tag mentioning TWRP. Process will be very simple you can do it in under a minute or two. Please refer to it. Just booting twrp is enough to flash magisk. Or if you want permanent twrp recovery also it's upto you.
[RECOVERY][OFFICIAL] TWRP for ASUS ROG Phone 5 & ROG Phone 5S
*** Disclaimer *** All flashing is done at your own risk! While nothing from this thread should break your device, don't come back here blaming anyone if it does! Introduction Team Win Recovery Project 3.x, or twrp3 for short, is a custom...
forum.xda-developers.com
Use this thread to boot into twrp

Categories

Resources