[Q] Kernel help - HTC One X

Maybe i missed the kernel lesson, but i can'd find it in this forum.
My problem is : when you install a new rom, first you flash the boot.img from rom. When you want to flash another kernel, you flash the kernel.img and if existe, the modules. Why am i getting no network or wifi ? ex: Viper x, and XM kernel.
flashed viperx bot img from rom zip, instaled 3.4.0, first boot, everything is ok. My battery drained like in 30 min, so i decided to flash another kernel. I've gone reading, and the XM looks the best in battery life, and see in other post that is compatible. I flashed XM, and now i have wifi error and no network.
Please help me.

SupremE MaDDoX said:
Maybe i missed the kernel lesson, but i can'd find it in this forum.
My problem is : when you install a new rom, first you flash the boot.img from rom. When you want to flash another kernel, you flash the kernel.img and if existe, the modules. Why am i getting no network or wifi ? ex: Viper x, and XM kernel.
flashed viperx bot img from rom zip, instaled 3.4.0, first boot, everything is ok. My battery drained like in 30 min, so i decided to flash another kernel. I've gone reading, and the XM looks the best in battery life, and see in other post that is compatible. I flashed XM, and now i have wifi error and no network.
Please help me.
Click to expand...
Click to collapse
Did you do the fastboot erase cache?
Which boot.img did you flash? The one from kernel.zip?
Please provide more details...

[email protected]|-|oR said:
Did you do the fastboot erase cache?
Which boot.img did you flash? The one from kernel.zip?
Please provide more details...
Click to expand...
Click to collapse
ok, i will write the steps
1. flashed boot.img from viper x (with viperx kernel flasher, that does fastboot erase cache)
2. flashed rom viper x 3.4.0
3. boot to see if is ok, is ok, all works, but the battery life is so poor
4. download xm kernel, and with the kernel flasher tool flashed it
5. no wifi and network signal

SupremE MaDDoX said:
ok, i will write the steps
1. flashed boot.img from viper x (with viperx kernel flasher, that does fastboot erase cache)
2. flashed rom viper x 3.4.0
3. boot to see if is ok, is ok, all works, but the battery life is so poor
4. download xm kernel, and with the kernel flasher tool flashed it
5. no wifi and network signal
Click to expand...
Click to collapse
From this steps I don't see that you flashed xm modules. that's why you don't have signal.
Sent from my HTC One X

NITRO_100 said:
From this steps I don't see that you flashed xm modules. that's why you don't have signal.
Sent from my HTC One X
Click to expand...
Click to collapse
i flashed xm kernel who has modules in zip.. tell me by stept so i can never ask stupid questions

SupremE MaDDoX said:
i flashed xm kernel who has modules in zip.. tell me by stept so i can never ask stupid questions
Click to expand...
Click to collapse
If you used One X One click, it should have flashed everything properly...
Still, here are the steps:
- place the kernel.zip to your sd card root
- place boot.img from kernel.zip to your fastboot folder on your pc
- reboot in bootloader
- fastboot erase cache
- fastboot flash boot boot.img
- fastboot erase cache
- reboot in recovery
- wipe cache/dalvik
- flash kernel.zip
- wipe cache/dalvik
- reboot
This works for me every time, even though I duplicate wiping (not necessary).

[email protected]|-|oR said:
If you used One X One click, it should have flashed everything properly...
Still, here are the steps:
- place the kernel.zip to your sd card root
- place boot.img from kernel.zip to your fastboot folder on your pc
- reboot in bootloader
- fastboot erase cache
- fastboot flash boot boot.img
- fastboot erase cache
- reboot in recovery
- wipe cache/dalvik
- flash kernel.zip
- wipe cache/dalvik
- reboot
This works for me every time, even though I duplicate wiping (not necessary).
Click to expand...
Click to collapse
Thank you, it was all i needed !

Related

[Q] My HOX (HTC One X) wont install sense roms

Hello,
I have recently bought a second-hand HTC One X. When i bought the HOX it was rooted running the viper x 2.0.0 rom. I decided to change the rom to cyanogen 10 nightly. It was working fine but then i decided to install slim bean 3.0.0 and this was working fine too (this is what i have on my HOX right now).What i would like to do is install viper x 2.0.0 again or another sense-based rom. However i tried doing this and it does not boot. When i install it, it just loads the htc logo and then reboots again back into clockworkmod recovery?
I have tried various sense-based roms and none of then work? Also i know viper x 2.0.0 works because it was on there when i bought it.
Please can someone give me instuctions on how to do it.
Thanks in advance
P.S When i try to install the viper x or other sense-based rom i flash the boot.img using 'fastboot flash boot boot.img'
I have just fixed it i installed the latest version and worked the one i was installing must have been a ota update? anyway if u are stuck like me read this
after flashing the boot.img try "fastboot erase cache" it should work
erase cache always
Thanks for reply
Iacopo91 said:
after flashing the boot.img try "fastboot erase cache" it should work
Click to expand...
Click to collapse
Yes i have tried doing this many times and still isn't installing any sense roms?
Please could u give me a instruction to how to install a sense-based rom or viperx (step by step)
Thanks
He is what is says:
The5alodi said:
erase cache always
Click to expand...
Click to collapse
View attachment 1568226
Are you flashing the correct boot.img from the viperx rom.zip
Sent from my HTC One X
Viperx
TToivanen said:
Are you flashing the correct boot.img from the viperx rom.zip
Sent from my HTC One X
Click to expand...
Click to collapse
Yes, i know this because i use winrar to extract the boot.img from the viperx.zip
What do u think i should do to make it work?
I was thinking do i need to flash a kernel that works for the viperx to work or does the viperx.zip already have a kernel inside the file?
At the moment i have : 2.6.39.4-cyanogenmod because i have slimbean installed which is based on cm10
Full wipe, that's all I can think of.
Sent from my HTC One X
This is one of the ways i have done it:
TToivanen said:
Full wipe, that's all I can think of.
Sent from my HTC One X
Click to expand...
Click to collapse
1. go to bootloader and hit fastboot option
2. fastboot erase cache
3. fastboot flash boot boot.img (boot.img from the viperx.zip)
4. fastboot erase cache
5. disconect the phone from USB and go to the recovery
6. wipe data/factory reset
7. wipe cache
8. mounts & storage format system , data , cache
9. go to advanced and wipe dalvic cache
10. flash the rom
11. I rebooted the HOX in the aroma installer
12. and then it just boots on htc logo then back into recovery?!?
Also the weird thing is only sense-based roms don't work? And all the sense-based roms i have tried use aroma installer, maybe this could be to do with it?
First install rom then boot.img.
Sent from my HTC One X
did u full wipe inside aroma + what rom ver you are using maybe you are flashing an update or what hboot you are on ?
Ok will try now...
TToivanen said:
First install rom then boot.img.
Sent from my HTC One X
Click to expand...
Click to collapse
Ok i will try now and report back my results.
Thanks for possible anwser
i used to install ROM before flashing the boot.img and erasing cache... if i flash boot.img before sometimes i'm stuck in bootloop...
the boot.img has to be extracted from the rom itself... also try to flash other different roms
It is...
The5alodi said:
did u full wipe inside aroma + what rom ver you are using maybe you are flashing an update or what hboot you are on ?
Click to expand...
Click to collapse
I will try now a full wipe and it is not a update as far as i am aware of. the file is called: ViperX_v2.0.0
And my hboot is:
HBOOT-1.12.0000
I have done this...
Iacopo91 said:
i used to install ROM before flashing the boot.img and erasing cache... if i flash boot.img before sometimes i'm stuck in bootloop...
the boot.img has to be extracted from the rom itself... also try to flash other different roms
Click to expand...
Click to collapse
I have done this?!?
try the latest i think its 2.7 or check ARHD because your problem is weird
ok i willl
The5alodi said:
try the latest i think its 2.7 or check ARHD because your problem is weird
Click to expand...
Click to collapse
Ok i will have to download it and its 647mb which will take me 1hr to 1hr and 30mins so will report back when i try to install it.
ok i am going to watch real Madrid match so P.M me i will help dont worry
ok thanks very much!!!!!!!!
The5alodi said:
ok i am going to watch real Madrid match so P.M me i will help dont worry
Click to expand...
Click to collapse
Ok i will do
Its working now!!!
Everyone thanks for helping i think i was instally a update not the actual rom !?! silly me !!!
Thanks again!

How to flash a custom kernel

Hi guys, I am stock rooted and want to flash latest xm kernel 115 on my phone. I downloaded the repacked boot image for my Rom but don't know what to do now, can someone guide me through the process
Can someone also tell me what the smartmax govenor does and how it compares to interactive, which is better for gaming and which for battery life. Finally I presume deadline is the best schedular for perfomance, am I right?
Sent from my HTC One X using xda premium
For flash the kernel:
1) Copy the modules into sd card
2) reboot in recovery
3) Flash modules
4) Return on recovery home
5) With prompt write: "adb reboot bootloader"
6) Erase cache: "fastboot erase cache"
7) Flash the kernel "fastboot flash boot name_of_kernel.img
8) Erase cache
9) Use "fastboot reboot"
10) Enjoy
Smartmax is the best governor for battery life.
Performance for gaming
Thanks mate. I assume the modules are the kernel zip folder. What do I so with the boot Img that is already in the zip folder thanks for your help
Sent from my HTC One X using xda premium
Nitin985 said:
Thanks mate. I assume the modules are the kernel zip folder. What do I so with the boot Img that is already in the zip folder thanks for your help
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Mate,
That's Ok since we don't have S-OFF the boot.img in Kernel zip will not flash through recovery it will only flash the modules. So you can flash the repacked boot.img then reboot to recovery and flash the Kernal.zip. Then wipe cache and reboot.
ShyamSasi said:
Mate,
That's Ok since we don't have S-OFF the boot.img in Kernel zip will not flash through recovery it will only flash the modules. So you can flash the repacked boot.img then reboot to recovery and flash the Kernal.zip. Then wipe cache and reboot.
Click to expand...
Click to collapse
So do i flash modules first or kernel img
Sent from my Nexus 7 using xda premium
Actually it doesnt matter, but i always prefer to flash the boot.img first and then i install the modules .....dont ask me why
Mr Hofs said:
Actually it doesnt matter, but i always prefer to flash the boot.img first and then i install the modules .....dont ask me why
Click to expand...
Click to collapse
And I do the opposite
If you use CWM, it makes sense to flash boot first 'cause hboot has direct linking to recovery. If you flashed modules first, you would have to boot to bootloader the "hard" way.
TToivanen said:
If you use CWM, it makes sense to flash boot first 'cause hboot has direct linking to recovery. If you flashed modules first, you would have to boot to bootloader the "hard" way.
Click to expand...
Click to collapse
It makes me feel safer to know that
Fastboot erase cache
is the last command i use before rebooting the phone.
And step 6 is not required.
Well either way....it works. And its not so difficult when you install the modules first....then open the fastboot command window and type
Adb reboot bootloader
Then flash the boot.img and reboot
TT did you ment with the hard way by holding the buttons ? If so....its not needed
Edit : like guich said already ....
Thanks for you helps guys, I may do it do boot img first just as it seems simpler
Sent from my HTC One X using xda premium
eyosen said:
And I do the opposite
Click to expand...
Click to collapse
same here, thats how i un bootlooped my hox+

Ordroid 14.0 & XM-Kernel WiFi not working

Hi guys, i have a problem with Ordroid 14.0 & XM-Kernel #283, the WiFi not work, only put "authenticating", anyone know what could be wrong?
Thanks, and sorry my bad english
You flashed the boot.img, did you install the modules in the recovery ?
Yes, i follow the steps with says in the post
Install modules from recovery (Install the zip)
Wipe dalvik cache. Yes, it's important, the versions could have some binary level differencies (from different compiler options) which can lead to unknown behaviour with old dalvik code.
Erase fastboot cache
Flash kernel image with fastboot
If you have problems with some functions not working on your ROM, then repack. Otherwise it's not needed.
Click to expand...
Click to collapse
And did you used the repacked one that's posted in the thread ? If so i would try the pure one from the XM kernel thread
I tried with both, and tried with 4 versions, and not work :s
Try it once more the other way around, boot to the bootloader and flash the new xm boot.img
Fastboot erase cache
Fastboot flash boot boot.img
Fastboot erase cache
Enter the recovery and install the modules.zip
The same, not work, I think I'll leave it with the stock kernel
Yeah i guess, if you tried the normal and the repacked one then there is not much to play around with anymore !
Did you try 274 too, i see that its been used without repacking ....
Yeah i think so, thanks very much for your help n.n
Link http://d-h.st/XfJ
You are using the sense based kernels right ?
Yes, i already test that version xD
Then im out of options !

[Q] Wifi & Bluetooth issues

I all, I've recently been having issues with my HTC One X and the Wifi and Bluetooth connectivity/range.
I've found that my wireless headphone need to be almost on top of the phone to connect, and the wifi drops to only just connected whilst other phones can sit just beside with full signal.
This has not always been the case, it may have been related to flashing the XM Kernal, but cannot be certain.
Since I have flashed CM10.2 nightly and understand it flashes it's own kernal, but I'm still experiencing these issues.
Can someone help?
Thanks, Joss.
Crazynutt said:
I all, I've recently been having issues with my HTC One X and the Wifi and Bluetooth connectivity/range.
I've found that my wireless headphone need to be almost on top of the phone to connect, and the wifi drops to only just connected whilst other phones can sit just beside with full signal.
This has not always been the case, it may have been related to flashing the XM Kernal, but cannot be certain.
Since I have flashed CM10.2 nightly and understand it flashes it's own kernal, but I'm still experiencing these issues.
Can someone help?
Thanks, Joss.
Click to expand...
Click to collapse
did you flash the modules to go with the kernel?
nogotaclue said:
did you flash the modules to go with the kernel?
Click to expand...
Click to collapse
Ahh, I assume no because I'm not sure that modules are.
I assumed I would simply need to flash the rom file and boot.img & it would do the rest.
Crazynutt said:
Ahh, I assume no because I'm not sure that modules are.
I assumed I would simply need to flash the rom file and boot.img & it would do the rest.
Click to expand...
Click to collapse
I made the same mistake when I first flashed a custom kernel. copy the zip file, that you extracted the boot image from, to your sdcard and install it via recovery
nogotaclue said:
I made the same mistake when I first flashed a custom kernel. copy the zip file, that you extracted the boot image from, to your sdcard and install it via recovery
Click to expand...
Click to collapse
The steps I've taken so far is to flash the boot.img via fastboot.
Installed the CM10.2 .zip via CWM Recovery.
And the appropriate clearing of cache and data etc.
The rom is booting just fine and works a treat, except for the low quality wifi and bluetooth.
Have I missed something else?
Crazynutt said:
The steps I've taken so far is to flash the boot.img via fastboot.
Installed the CM10.2 .zip via CWM Recovery.
And the appropriate clearing of cache and data etc.
The rom is booting just fine and works a treat, except for the low quality wifi and bluetooth.
Have I missed something else?
Click to expand...
Click to collapse
Yes you missed something, as I said above, the zip file that you downloaded from xm, the one you got the boot image from, needs to be installed in recovery as well as the rom zip
Where are the cakes?
nogotaclue said:
Yes you missed something, as I said above, the zip file that you downloaded from xm, the one you got the boot image from, needs to be installed in recovery as well as the rom zip
Where are the cakes?
Click to expand...
Click to collapse
I had XM installed, I thought by flashing CM though I would go back to it's default kernel.
I assume that would be a better setup...doesn't it automatically override XM when I flash the CM rom?
My current kernel version is 3.1.10-cyanogenmod+ [email protected] #1 Wed Aug 21 00:21:13 PDT 2013
Is your one x s-off ?
Where are the cakes?
---------- Post added at 09:47 AM ---------- Previous post was at 09:27 AM ----------
ok I'll assume your phone is s-off. either way do this:- if you have the rom installed already, flash the XM boot.img via fastboot, then reboot into recovery and mount usb storage and copy the entire original XM zip file(not just the boot .img) onto your card. now install the XM zip while in recovery and reboot
nogotaclue said:
Is your one x s-off ?
Where are the cakes?
---------- Post added at 09:47 AM ---------- Previous post was at 09:27 AM ----------
ok I'll assume your phone is s-off. either way do this:- if you have the rom installed already, flash the XM boot.img via fastboot, then reboot into recovery and mount usb storage and copy the entire original XM zip file(not just the boot .img) onto your card. now install the XM zip while in recovery and reboot
Click to expand...
Click to collapse
Phone is s-on...not sure what you mean by cakes.
Can I do the above with s-on or do I need to get s-off first?
Crazynutt said:
Phone is s-on...not sure what you mean by cakes.
Can I do the above with s-on or do I need to get s-off first?
Click to expand...
Click to collapse
sorry it took a while to reply I couldn't type properly for laughing, don't be offended but "where are the cakes" is my signature lol. and yes you can do that with s-on also, although if you are s-on and flash the xm boot image via fastboot installing the rom afterwards should not overwrite the xm boot.img. anyway do what i said, with installed rom, flash xm boot, then install modules in recovery(the xm zip file)
nogotaclue said:
sorry it took a while to reply I couldn't type properly for laughing, don't be offended but "where are the cakes" is my signature lol. and yes you can do that with s-on also, although if you are s-on and flash the xm boot image via fastboot installing the rom afterwards should not overwrite the xm boot.img. anyway do what i said, with installed rom, flash xm boot, then install modules in recovery(the xm zip file)
Click to expand...
Click to collapse
How is that your signature...it's only on some of your replies?
Anyway, I'm pretty sure I followed your instructions correctly, but now CM won't boot...whenever this happened previously, it was because I had not re-flashed the CM boot.img.
Should I have done this, or are you trying to leave the XM boot.img there?
Did u flashed the cm version of xm kernel or the sense version?
Sent from my HTC One X using xda premium
Crazynutt said:
How is that your signature...it's only on some of your replies?
Anyway, I'm pretty sure I followed your instructions correctly, but now CM won't boot...whenever this happened previously, it was because I had not re-flashed the CM boot.img.
Should I have done this, or are you trying to leave the XM boot.img there?
Click to expand...
Click to collapse
its only my sig on phone but not pc.
yes you have to leave the xm, that is the point of flashing the custom kernel, it replaces the cm one. and convictmoody asked a relevant question, did you get the correct xm kernel, the aosp one?
convict_moody said:
Did u flashed the cm version of xm kernel or the sense version?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
This time I did the CM version - previously I've had sense on it.
nogotaclue said:
its only my sig on phone but not pc.
yes you have to leave the xm, that is the point of flashing the custom kernel, it replaces the cm one. and convictmoody asked a relevant question, did you get the correct xm kernel, the aosp one?
Click to expand...
Click to collapse
Okay, got it now
And...I'm still stuck - not passing the CM boot screen.
Crazynutt said:
This time I did the CM version - previously I've had sense on it.
Okay, got it now
And...I'm still stuck - not passing the CM boot screen.
Click to expand...
Click to collapse
ok what recovery are you using?
ClockworkMod Recovery v5.8.4.0
Crazynutt said:
ClockworkMod Recovery v5.8.4.0
Click to expand...
Click to collapse
ok from the beginning, download Xm kernel aosp version, copy the boot image from the downloaded zip into your fastboot folder.
next go into recovery and format these four, system, data, cache and sdcard.
now mount usb storage and copy the the cm rom.zip onto sdcard and then the whole xm zip file that you downloaded.
now boot into boot loader and do these exactly without the quotes, and when you press enter after each command make sure it says "okay" so you know it actually worked. "fastboot erase cache" then "fastboot flash boot boot.img" then again "fastboot erase cache".
now reboot recovery and install the rom but DO NOT REBOOT.
now clear dalvik
next, while still in recovery, install the xm zip file that you copied over with the rom.
again clear dalvik and then reboot.
nogotaclue said:
ok from the beginning, download Xm kernel aosp version, copy the boot image from the downloaded zip into your fastboot folder.
next go into recovery and format these four, system, data, cache and sdcard.
now mount usb storage and copy the the cm rom.zip onto sdcard and then the whole xm zip file that you downloaded.
now boot into boot loader and do these exactly without the quotes, and when you press enter after each command make sure it says "okay" so you know it actually worked. "fastboot erase cache" then "fastboot flash boot boot.img" then again "fastboot erase cache".
now reboot recovery and install the rom but DO NOT REBOOT.
now clear dalvik
next, while still in recovery, install the xm zip file that you copied over with the rom.
again clear dalvik and then reboot.
Click to expand...
Click to collapse
Alright, did all that...word for word.
Still stuck on CM boot screen.
Crazynutt said:
Alright, did all that...word for word.
Still stuck on CM boot screen.
Click to expand...
Click to collapse
you do know it takes a few minutes on first boot, sometimes 5 or 6 minutes?
nogotaclue said:
you do know it takes a few minutes on first boot, sometimes 5 or 6 minutes?
Click to expand...
Click to collapse
Okay, I've been waiting about 5 mins, but I'll wait patiently for a bit more
Thanks for your help by the way.

wifi and network not turning on

hey guys
after my phone started doeing weird, I reflashed viper x and alex v (full wipe)
but now my wifi wont turn on network won't connect and when starting the phone after the venom boot animation an htc logo appears and stays for a couple of minutes could someone help me please?
Hboot 1.72
viper 4.0.6
alex v 2.7 3
btw I will buy you a bear if you help me out
suljo94 said:
hey guys
after my phone started doeing weird, I reflashed viper x and alex v (full wipe)
but now my wifi wont turn on network won't connect and when starting the phone after the venom boot animation an htc logo appears and stays for a couple of minutes could someone help me please?
Hboot 1.72
viper 4.0.6
alex v 2.7 3
btw I will buy you a bear if you help me out
Click to expand...
Click to collapse
You need to flash boot.img, after flashing erase cache and your phone will be fully functional again
command is fastboot flash boot boot.img
And yeah, better try alex v 2.6 pa3 kernel, that kernel will give you best battery
First install i always recommend to flash the delivered boot.img and rom. Change kernel afterwards.
Like been said above, flash the Alex kernel AND install the .zip via the recovery. Modules needs to be installed too
Mr Hofs said:
First install i always recommend to flash the delivered boot.img and rom. Change kernel afterwards.
Like been said above, flash the Alex kernel AND install the .zip via the recovery. Modules needs to be installed too
Click to expand...
Click to collapse
He said that he allready flashed alex-v (zip), so i told him just to flash boot.img
I'm not correcting. Just giving full info, the terms flashing and installing gets confusing for some. In my opinion flashing is what you do via fastboot and installing via recovery
no guys tried it both. but yesterday I got it fixed it was a problem with the latest philz not supporting aroma properly (says aroma file missing) so now it works like a charm
Good !
CASE CLOSED !
nikola016 said:
You need to flash boot.img, after flashing erase cache and your phone will be fully functional again
command is fastboot flash boot boot.img
And yeah, better try alex v 2.6 pa3 kernel, that kernel will give you best battery
Click to expand...
Click to collapse
I am now on 2.6v3 thanks for the tip

Categories

Resources