Flash kernals without PC - HTC One X

Is it possible to flash kernals,boot.img without a PC?
Sent from my HTC One X using xda app-developers app

No, only with s-off devices. So custom kernels will be flashed from the recovery, custom roms probably won't flash the boot.img because most devs took out the script

Mr Hofs said:
No, only with s-off devices. So custom kernels will be flashed from the recovery, custom roms probably won't flash the boot.img because most devs took out the script
Click to expand...
Click to collapse
Mine is s off..so I just can flash a kernal in recovery?
Sent from my HTC One X using xda app-developers app

Yes custom kernels like XM for instance should be fully installable via recovery. But If the phone has no signal or WiFi after install you must flash the boot.img manually

Related

Going back to stock?

Hi there!
My HTC One X is running ARHD 7.2.1 and I'm planing of installing Faux custom kernel. My question is, how do I switch back to stock kernel and stock Rom? I did a nandroid backup before I installed my first custom Rom on this mobile if that matters? And an extra question, when installing a custom kernel you just flash the boot.img and install the zip using CWM, right?
Sent from my HTC One X
If you flashed a different boot.IMG then you'll need to download stock one searching is your friend.
If you didn't then just boot into cwm and restore.
If you want 100% stock then you can flash stock recovery also available on the forums.
Sent from my HTC One X using xda app-developers app
Ok, thanks. But what about the kernel, is the stock kernel included in a stock recovery?
Sent from my HTC One X
Tingelholm said:
Ok, thanks. But what about the kernel, is the stock kernel included in a stock recovery?
Sent from my HTC One X
Click to expand...
Click to collapse
No it isnt. But there is a thread in dev section where you can find stock kernels. At the worst case, find a matching ruu and extract the boot.img from there.
Sent from my HTC One X using xda premium

Question about flahing backups and custom roms

Hi,
I have viperx running on my HOX, I plan to back this up and try other roms.
The question is do I need to flash the boot.img in fastboot before I install a backup version of viperx or can I simply restore without flashing the boot.img.
I assume that if the boot.img is the same you can do this...
I was kinda hoping I could do what I did with the desire and have several roms backed up for whenever I need them.
Your backups will also have boot images in their folders. And unless you flash the exact same rom, you must flash the backup boot. Img from fastboot.
Sent from my HTC One X using xda premium
eyosen said:
Your backups will also have boot images in their folders. And unless you flash the exact same rom, you must flash the backup boot. Img from fastboot.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
So if I flash the the boot .img for the Coredroid rom then flash coreDroid would I be then able to restore with cwm recovery the viperx rom without having to flash the boot.img for the viperx rom.
If both use the same kernel yes, otherwise you have to flash ViperX boot. Img in your backup directory from your pc using fastboot.
Sent from my HTC One X using xda premium
Ahhh I see, thanks, I really wanted to avoid using fastboot but never mind thanks all the same
Sent from my HTC One X using xda app-developers app
Ok last question I promise, is tha boot.IMG the kernel, if so if I use the faux kernel will that suit most roms coredroid in particular
Sent from my HTC One X using xda app-developers app
faux kernel is compatible with almost all the roms.
Give it a try and find out for your self. you can always return back to stock kernel.

[Q] Quick question about flashing custom firmwares.

Hi guys,
I'm reading about custom roms for one x and in installation sections usually are infos about flashing new firmware packages before installing custom ROM from SD. Now I have stock JB with 3.16.69.3 firmware. For example I'm going to flash Android Revolution HD where is older one: 3.14.401.31. Do I have to flash this package via adb or just downlaod the rom .zip file and flash in recovery? What I should do? Thanks
First ... you make a nandroid backup of the stock rom and store it somewhere safe !
Then you download the rom.zip file and copy the boot.img file from within the rom.zip to the fastboot folder, and the rom.zip to the sdcard of the phone
Flash the boot.img file, enter recovery and perform a full wipe. Then install the rom.zip via the recovery menu
And if you are on stock recovery you have to flash a custom recovery first !
The firmware update is needed for jellybean ROMs that have HTC sense 4.0+.
As you already have stock jellybean on your device.
You already have a high enough firmware to flash the custom variants so you don't need to worry about updating firmwares
Sent from my HTC One X using xda app-developers app
Odp: [Q] Quick question about flashing custom firmwares.
Thank you for quick reply!
I already have custom recovery ok. Do I think correctly that boot.img is modded kernel image? It is safe to "downgrade"? And last question, what about hboot; I have 1.36.0000 one, it is good?
Sent from my HTC One X using xda app-developers app
Ah yes ..... that's what i forgot
Odp: [Q] Quick question about flashing custom firmwares.
bagofcrap24 said:
The firmware update is needed for jellybean ROMs that have HTC sense 4.0+.
As you already have stock jellybean on your device.
You already have a high enough firmware to flash the custom variants so you don't need to worry about updating firmwares
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Good news for me. Thank you.
Sent from my HTC One X using xda app-developers app
You have nothing to worry about, all s fine to flash any rom in here. And its not really a downgrade. The software number is a bit different but its all JB
Odp: [Q] Quick question about flashing custom firmwares.
Thank you so much, guys now i have to charge battery and i'll flash arhd
Sent from my HTC One X using xda app-developers app
And if you flashed the rom with the correct boot.img and your radio signal/WiFi doesn't work ... Check this thread
http://forum.xda-developers.com/showthread.php?t=2112946
You have the same software number. That's why the nandroid backup is important

How to update

I'm currently on stock 3.14 and got a update notification for 3.20, the only mod if done is a custom kernel. Is it safe for me to install the update, I've also got clockworkmod recovery
Sent from my HTC One X using xda premium
You need to have stock rom(boot.img) + stock recovery to install updates...
vin4yak said:
You need to have stock rom(boot.img) + stock recovery to install updates...
Click to expand...
Click to collapse
Can I just reflash them both?
Sent from my HTC One X using xda premium
Yes... You can.. But make sure your using the correct boot and recovery files to flash...
Edit: since ur on stock rom... U just need the correct recovery file... Thats it..
Sent from my HTC One X using xda app-developers app
Not if he flashed a custom kernel too (as stated in the OP) Then he needs the stock boot.img and also the stock modules !
What's the main version number
Fastboot getvar version-main
I can make you a flashable zip for the modules. That we way you can safe yourself from restoring a full backup

[Q] Need Help

I Am Using Viper Rom On My Desire HD...
I Have Bootloader unlocked by htc dev method.
Now i want to flash a custom kernel.
I want to know how to flash kernel.zip in an unlocked bootloader...s-on
And Can I use Any Kernel With My rom?
And Will Flashing Kernel Format Data?
Plz Help...
Thanks In Advance.
Nope sorry, you can't flash kernel seperatly with s-on and unlocked bootloader. If you make s-off you can.
Sent from my HTC Desire HD using xda app-developers app
Lavi26jan said:
I Am Using Viper Rom On My Desire HD...
I Have Bootloader unlocked by htc dev method.
Now i want to flash a custom kernel.
I want to know how to flash kernel.zip in an unlocked bootloader...s-on
And Can I use Any Kernel With My rom?
And Will Flashing Kernel Format Data?
Plz Help...
Thanks In Advance.
Click to expand...
Click to collapse
The kernel must be compatible with the ROM. Usually, Sense version and Android version need to match.
ranger4740 said:
Nope sorry, you can't flash kernel seperatly with s-on and unlocked bootloader. If you make s-off you can.
Sent from my HTC Desire HD using xda app-developers app
Click to expand...
Click to collapse
Er, why not?
bananagranola said:
The kernel must be compatible with the ROM. Usually, Sense version and Android version need to match.
Er, why not?
Click to expand...
Click to collapse
I'm sorry, is it actually possible to flash a kernel with unlocked bootloader and s-on? Before I s-offed, I could not flash New kernel via recovery, is there a way to do it other than via recovery?
Edit: I suppose if the new kernel was in boot.IMG format, then you could flash it in fastboot.
Sent from my HTC Desire HD using xda app-developers app
ranger4740 said:
I'm sorry, is it actually possible to flash a kernel with unlocked bootloader and s-on? Before I s-offed, I could not flash New kernel via recovery, is there a way to do it other than via recovery?
Sent from my HTC Desire HD using xda app-developers app
Click to expand...
Click to collapse
boot.img using fastboot?
bananagranola said:
boot.img using fastboot?
Click to expand...
Click to collapse
Lol yes just edited my op..
But can you flash the raw kernel that is not in image format?
Sent from my HTC Desire HD using xda app-developers app
ranger4740 said:
Lol yes just edited my op..
But can you flash the raw kernel that is not in image format?
Sent from my HTC Desire HD using xda app-developers app
Click to expand...
Click to collapse
Not that I'm aware of.
ranger4740 said:
Lol yes just edited my op..
But can you flash the raw kernel that is not in image format?
Sent from my HTC Desire HD using xda app-developers app
Click to expand...
Click to collapse
yes The Kernel In the .zip format can be flashed in two steps.
First Flash The Zip File In Recovery
Then Flash Boot.img via Fastboot,fastboot flash boot boot.img
Lavi26jan said:
yes The Kernel In the .zip format can be flashed in two steps.
First Flash The Zip File In Recovery
Then Flash Boot.img via Fastboot,fastboot flash boot boot.img
Click to expand...
Click to collapse
What's the first step for?
I think the whole point of this thread was the op wants to try different kernel with existing Rom on the phone using a kernel.zip .
My original answer was if your s-on you can't flash a new kernel.
What I didn't however include is you can't do it via recovery, using a downloaded kernel.zip which was my mistake. But I would have thought that was obvious, because that was the original question.
Sent from my HTC Desire HD using xda app-developers app
But...what does flashing the zip do that flashing the image doesn't? Am I missing something?
bananagranola said:
But...what does flashing the zip do that flashing the image doesn't? Am I missing something?
Click to expand...
Click to collapse
According to me,The Flash Zip is required to place the files in the system directories...
It would be the same reason you have to flash the boot.IMG manually after flashing a Rom from recovery (cwm, 4ext etc) because it doesn't get flashed to the boot, same reason kernel doesn't flash via recovery. HTC unlock but still s-on doesn't allow you to mess with kernel directly or via recovery except using fastboot.
Atleast that's my understanding.
May I also add my own personal experience, I went straight to htcdev to unlock my phone, my experience with my HTC legend gave me the knowledge to do it without issue except the boot.img which through me a little. Long story short after flashing Rom and boot.img I wanted to try new kernel but it wouldn't work then I used google and found out via a different forum site the reason, which is HTC'S official unlock does not allow access to kernel with s-on....
Sent from my HTC Desire HD using xda app-developers app

Categories

Resources