[Q] How to create a flashable zip of the boot.img - HTC One X

I have a super CID S-OFF Tegra 3 One X, and have been flashing many ROMs on it. Everytime while flashing a new ROM I have flash boot.img through command prompt for which I need to be with the laptop always. Just wondering if anyone knows how to create a flashable zip of the boot.img which I can flash in recovery. I heard that for super CID with S-OFF devices we can flash boot.img in the recovery.
I googled for the solution and all I noted is I need to have a Linux Operating system. I have Windows Xp and SDK installed in it. Is there any luck I can drink coffee while flashing boot.img along with new custom ROMs?

Wut? Just flash the rom.zip, it flashes the boot.img without any tinkering necessary.

Yeah ...and making a Flashable zip will take probably the same time as flashing it directly with fastboot

If your phone is S-OFF you do not need to flash boot.img separately.

D0GuKaN said:
If your phone is S-OFF you do not need to flash boot.img separately.
Click to expand...
Click to collapse
TToivanen said:
Wut? Just flash the rom.zip, it flashes the boot.img without any tinkering necessary.
Click to expand...
Click to collapse
Even I thought the same. But the same is not happening. Even checked in recovery while flashing there is no command run for boot flash. I remember while flashing ROMs in DHD it use to show flashing boot same like flashing system and data. Is it because in the custom ROMs script's are missing for boot flash?

You are right.
I just examined a couple of scripts and the results are following:
boot.img is flashed:
Stock ROM
ARHD
CM10.1
AOKP
boot.img is not flashed:
ViperX
Chefs probably pull the support for flashing boot.img because the probability of having a S-OFF phone is very slim.

TToivanen said:
You are right.
I just examined a couple of scripts and the results are following:
boot.img is flashed:
Stock ROM
ARHD
CM10.1
AOKP
boot.img is not flashed:
ViperX
Chefs probably pull the support for flashing boot.img because the probability of having a S-OFF phone is very slim.
Click to expand...
Click to collapse
Oh..okay. I think I'll ask the chef's by PM if they could help me on this.. Is there anyway I can add scripts with SDK installed in Windows?

Nah you don't need any SDK.
Only WinRAR and a text editor.
Extract updater-script from /META-INF/com/google/android/ and add the following line:
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p4");
Add it somewhere in the end, however before it unmounts /system/
Save and quit, then delete the original updater-script from the zip and add the new one.

TToivanen said:
Nah you don't need any SDK.
Only WinRAR and a text editor.
Extract updater-script from /META-INF/com/google/android/ and add the following line:
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p4");
Add it somewhere in the end, however before it unmounts /system/
Save and quit, then delete the original updater-script from the zip and add the new one.
Click to expand...
Click to collapse
Awesome.. :good: Thank you so much

Did it work?

TToivanen said:
Did it work?
Click to expand...
Click to collapse
Nope.. It didn't.. I tried on insertcoin ROM... I figured it out for sense ROMs it's quite different from AOSP by comparing Lord's ICJ script and ARHD script..or I might have done some mistake in the script.. I asked baad if he can insert this script next time..
Sent from my HTC One X using xda app-developers app

Related

Both CM9/CM10 hangs at boot.

My procedure in chronological order:
Flashed recovery TWRP 2.3
Wiped everything possible in the wipe-tab
Installed CM9/10 from zip on SD-card (zip contains META-INF, system and boot.img)
Flashed boot.img from the zip file CM9/10
Issued the command fastboot erase cache
Unplugged cable and reboot
What happens is that I am stuck at the HTC booting screen. I have been here for about 30-40 minutes. If I try any adb shell command I receive this error: - exec '/system/bin/sh' failed: No such file or directory (2) -. Clearly, something is not right here. I will not speculate because I lack the knowledge to do so. Any help is appreciated because I have been phone-less for a day now and it is getting irritating. Thanks!
Seems you did everything correctly.
Try to flash via ClockWorkMod recovery.
Sent from my HTC One X
TToivanen said:
Seems you did everything correctly.
Try to flash via ClockWorkMod recovery.
Click to expand...
Click to collapse
I just did the same procedure as before but with clockworkmod instead. Still hung at booting screen. I get the same error as before. Is root access a must? I have not done any exploit, only thing I have done is unlocked my boot loader at HTCDev.
zettez said:
I just did the same procedure as before but with clockworkmod instead. Still hung at booting screen. I get the same error as before. Is root access a must? I have not done any exploit, only thing I have done is unlocked my boot loader at HTCDev.
Click to expand...
Click to collapse
Root should not be needed since most roms are rooted by default.
Did you flash gapps?
TToivanen said:
Root should not be needed since most roms are rooted by default.
Did you flash gapps?
Click to expand...
Click to collapse
No, I have not. Maybe I should give it a try? Or is it not required? Should I not be able to start the phone without any gapps?
Do you by chance have any ROM you can recommend that works so I could try it out and exclude problems? Would very like to know if it is my phone or ROM that is buggy.
It should boot without them, but better to give it a try.
Ironically, I've been using CM10 for more than a month now and never had any problems booting.
Sent from my HTC One X
If you have an hboot newer than 1.12 you need a different boot.img, check the bottom if the ROM OP.
TToivanen said:
It should boot without them, but better to give it a try.
Ironically, I've been using CM10 for more than a month now and never had any problems booting.
Click to expand...
Click to collapse
Would you mind telling me which CM10 build you are using and which boot.img you flashed?
BenPope said:
If you have an hboot newer than 1.12 you need a different boot.img, check the bottom if the ROM OP.
Click to expand...
Click to collapse
I have hboot 1.3 or something I think. I downloaded the different builds at get.cm. Where can I get the boot.img if not the one in the zip file? Do you mean whichever thread that CM have posted themselves here on xda? Would you mind sending a link to where I can find the boot.img?
zettez said:
I have hboot 1.3 or something I think. I downloaded the different builds at get.cm. Where can I get the boot.img if not the one in the zip file? Do you mean whichever thread that CM have posted themselves here on xda? Would you mind sending a link to where I can find the boot.img?
Click to expand...
Click to collapse
Normally it would be found in the bottom of CM10 threads OP but the link is down.
Here you go:
http://forum.xda-developers.com/showpost.php?p=34829297&postcount=9173
Remember to repack it with the one found in zip. Repack tool stickied on android development forum.
Sent from my HTC One X
TToivanen said:
Normally it would be found in the bottom of CM10 threads OP but the link is down.
Here you go:
http://forum.xda-developers.com/showpost.php?p=34829297&postcount=9173
Remember to repack it with the one found in zip. Repack tool stickied on android development forum.
Click to expand...
Click to collapse
Thanks, but still a no go. What I did was take the modified boot from your link and the boot.img from the zip file, do the online converter as stickied on the forum, then did the procedure all again but this time I flashed the new boot.img I got from combining the old and the new boot.img. Still hangs at boot. Very annoying. I am currently using a modified stock ROM and I dislike it very much.
Hey,
I have exactly the same issue. I've unlocked my bootloader using the method as specified by htcdev.com. Then I flashed the newest CWM recovery. But if I flash any ROM, I'm stuck at its boot animation. However if I then unzip the boot.img from the ROM, and flash that (fastboot flash boot boot.img), my phone won't boot past HTC screen. Even erasing the cache didn't help (fastboot erase cache).
I've restored the stock ROM using the RUU, however during the process something went wrong and it formatted my sd-card. So I'm stuck with the stock ROM, without any applications or data.
Can anybody help me flash CM10?
My Hboot version is 1.36.0000
And I'm trying to flash the cm-10-20121210-NIGHTLY-endeavoru.zip ROM.
Thanks in advance
Han
irundaia said:
Hey,
I have exactly the same issue. I've unlocked my bootloader using the method as specified by htcdev.com. Then I flashed the newest CWM recovery. But if I flash any ROM, I'm stuck at its boot animation. However if I then unzip the boot.img from the ROM, and flash that (fastboot flash boot boot.img), my phone won't boot past HTC screen. Even erasing the cache didn't help (fastboot erase cache).
I've restored the stock ROM using the RUU, however during the process something went wrong and it formatted my sd-card. So I'm stuck with the stock ROM, without any applications or data.
Can anybody help me flash CM10?
My Hboot version is 1.36.0000
And I'm trying to flash the cm-10-20121210-NIGHTLY-endeavoru.zip ROM.
Thanks in advance
Han
Click to expand...
Click to collapse
You cannot use the boot.img that comes with the zip out of the box if you have Hboot 1.36. What you have to do is repack it, taking the boot.img from the zip file and then a modified boot.img here http://forum.xda-developers.com/show...postcount=9173 (thanks TToivanen), then as I understood it, repack it for instance here http://forum.xda-developers.com/showthread.php?t=1815607, download the repacked boot.img and flash that.
With that said, I could not get it running but it might be something wrong with my phone. Please try this out and tell me if it works or not so I may start to conclude where the error lies.
zettez said:
Thanks, but still a no go. What I did was take the modified boot from your link and the boot.img from the zip file, do the online converter as stickied on the forum, then did the procedure all again but this time I flashed the new boot.img I got from combining the old and the new boot.img. Still hangs at boot. Very annoying. I am currently using a modified stock ROM and I dislike it very much.
Click to expand...
Click to collapse
Sorry, but all I can say is that you did a mistake at some point.
Try installing again with full wipe and remember to wipe cache and dalvik.
You are referring to the official CM10 and not Trip's or any other builds right?
TToivanen said:
Sorry, but all I can say is that you did a mistake at some point.
Try installing again with full wipe and remember to wipe cache and dalvik.
You are referring to the official CM10 and not Trip's or any other builds right?
Click to expand...
Click to collapse
Will try again. I got the latest build from http://get.cm/?device=endeavoru. Will try cm-10-20121213-NIGHTLY-endeavoru.zip as it came out today.
zettez said:
You cannot use the boot.img that comes with the zip out of the box if you have Hboot 1.36. What you have to do is repack it, taking the boot.img from the zip file and then a modified boot.img here http://forum.xda-developers.com/show...postcount=9173 (thanks TToivanen), then as I understood it, repack it for instance here http://forum.xda-developers.com/showthread.php?t=1815607, download the repacked boot.img and flash that.
With that said, I could not get it running but it might be something wrong with my phone. Please try this out and tell me if it works or not so I may start to conclude where the error lies.
Click to expand...
Click to collapse
I did that and now my phone is still stuck on the HTC screen. Trying to restore my backup of the stock ROM atm.
---------- Post added at 04:35 PM ---------- Previous post was at 04:30 PM ----------
hmm the backup was useless... Off to the RUU it is....
irundaia said:
[/COLOR]hmm the backup was useless... Off to the RUU it is....
Click to expand...
Click to collapse
You flashed the stock boot.img before restoring?
irundaia said:
I did that and now my phone is still stuck on the HTC screen. Trying to restore my backup of the stock ROM atm.
Click to expand...
Click to collapse
I see, then it is not only I who have this problem.
And a heads up, if the backup would go wrong, I currently use this ROM and it works pretty good if you want stock or cannot be arsed to get a root exploit for the stock ROM. http://forum.xda-developers.com/showthread.php?t=2035203.
Would be great if anyone has any ideas why irundaia and I cannot make CM10 work?
TToivanen said:
You flashed the stock boot.img before restoring?
Click to expand...
Click to collapse
You're right, I forgot to do that. I does boot now, still at a loss though. Can't we downgrade our Hboot to a version in which we know that CM can be flashed?
Kinda out of ideas here...
Can you confirm that the boot.img flashes ok? (should say OKAY)
Also confirm that you have endeavoru and not evita.

Stuck on boot

Hey again..
I was hoping my first custom ROM flashing would be successful considering I've read plenty of threads on how to do it and were pretty careful, but that's not the case.
I tried to give Slim Bean a shot, downloaded Slim-endeavoru-3.1.0-OFFICIAL from their page, and Slim_Gapps along with it.
HBOOT is 1.39, CWM is 5.8.4.0
So I did just as instructed, booted into recovery, wiped data, formatted /system, and then flashed Slim Bean, and Gapps after that was done. When I reboot I just get stuck in the Slim Bean loading screen for a while without anything happening. Tried rebooting and re-flashing a couple of times doing the same procedure - but nothing. Can anyone help me out?
do u flash the boot.img
beanbean50 said:
do u flash the boot.img
Click to expand...
Click to collapse
boot.img is in the Slim-endeavoru-3.1.0-OFFICIAL.zip file already so I thought if I flashed the whole zip it would flash the boot.img along with it, no?
No, you should flash boot.img via your computer.
Search in this forum how to do it.
Unfortunately in developer's tread for the ROM you choose it is not good explained...
Sent from my HTC One X using xda premium
BlueSingA said:
boot.img is in the Slim-endeavoru-3.1.0-OFFICIAL.zip file already so I thought if I flashed the whole zip it would flash the boot.img along with it, no?
Click to expand...
Click to collapse
Someone tell me if I am wrong but the reason you have to flash the boot.img separately is because we have not achieved S-OFF with the HTC One X which gives us unbridled access to everything.
Take the boot.img out of the rom '.zip' and put your phone into fastboot mode. Using the command line and fastboot type 'fastboot flash boot boot.img' obviously for this exact command to work the boot.img needs to be in the same folder as fastboot.exe. Otherwise just type the exact location of it.
Your phone should boot if everything else has been done perfectly.
I'll try that right away.
BlueSingA said:
I'll try that right away.
Click to expand...
Click to collapse
and:
fastboot erase cache
fastboot reboot
beanbean50 said:
and:
fastboot erase cache
fastboot reboot
Click to expand...
Click to collapse
Thanks, I always forget to do that myself haha
leonforthewin said:
Someone tell me if I am wrong but the reason you have to flash the boot.img separately is because we have not achieved S-OFF with the HTC One X which gives us unbridled access to everything.
Click to expand...
Click to collapse
correct...!
Okay so I went into fastboot mode, shift-right click on where the fastboot folder on my PC is, opened command prompt (previously pasted the boot.img from Slim Bean to that folder), typed in fastboot flash boot boot.img, fastboot erase cache and fastboot reboot. After reboot I went straight into recovery, flashed the ROM and Gapps, rebooted and now it's stuck HTC's boot screen. :/
With what unzip program you extracted the boot.img?
Try with 7zip...
One more thing- if I remember correct you need to use special boot.img for using 4.1 or 4.2 roms, because they do not work with latest hboots 1.31-39.
Search for such boot.img.
Sent from my HTC One X using xda premium
WinRAR. Okay, gonna try with 7zip.. Also, by extracting the boot.img from the zip you guys mean just to extract it or taking it out of the zip completely? Because I removed it from the zip entirely and flashed it via fastboot only.
WinRAR. Okay, gonna try with 7zip.. Also, by extracting the boot.img from the zip you guys mean just to extract it or taking it out of the zip completely? Because I removed it from the zip entirely and flashed it via fastboot only.
Click to expand...
Click to collapse
You'll be fine with WinRAR. Check back on the forum thread page of the rom you downloaded and look for a md5 sum/number. Google MD5 checker or something to that effect and check whether the MD5 checks up. Could be that a few 1's and 0's are out of place.
My other concern is the rom you have flashed. SlimBean – not tried it, I'm guessing it's a light weight Jelly Bean yeah? Are you sure that you have the correct hboot version for Jelly Bean yet? You can't force update all HOX's to Jelly Bean yet.
EDIT: Missed a bit of your post – I'm not aware of the implications but I and many others have always just copied the boot.img not cut. Obviously if you cut it and it gets zipped back up the MD5 will definitely not match. Save yourself a the head ache and download the rom again to be 100%. Delete the old.
Please see here:
theDroidfanatic said:
Here you go,
It is the NCX AOSP Kernel v13 (Latest) repacked with Seadersn's ramdisk for the new hboots, and has AMAZING Battery life. Download from here and flash in fastboot. Dont forget to flash modules from here
Click to expand...
Click to collapse
Hope this helps you.
Sent from my HTC One X using xda premium
Okay, checked the MD5 sums and they indeed didn't match.. redownloaded again, and it matched since I didn't cut out the boot.img. I'll try again.
@jorjino can you just give me a really short insight (since I bugged you enough, lol) on what is that kernel supposed to do? And do I flash those modules from fastboot as well?
You have to download the newhboot.img from my previous post, rename it to boot.img and flash it via fastboot and cmd menu your PC. That's all. No more downloads or steps.
Sent from my HTC One X using xda premium
Now I'm in a bootloop with the new boot.img... think I'm going to try a different ROM.
jorjino2000 said:
You have to download the newhboot.img from my previous post, rename it to boot.img and flash it via fastboot and cmd menu your PC. That's all. No more downloads or steps.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I don't wish to be rude but did you ignore the fact that the MD5's didn't match?
Last try with this download:
poggus said:
I confirm NCX 217 v13 run very well on Jelly Bam Rom (no need to repack, except for newer hboot you have to repack with this kernel source before flash : http://forum.xda-developers.com/attachment.php?attachmentid=1523418&d=1354254249</p> )
Click to expand...
Click to collapse
Do not forget to rename the file to boot.img.
Sent from my HTC One X using xda premium
BlueSingA said:
Now I'm in a bootloop with the new boot.img... think I'm going to try a different ROM.
Click to expand...
Click to collapse
Can you post me the link to the rom you downloaded? I'm looking on their site and there are no current files in the Jelly Bean HTC One X category. They have old unsupported roms for the HTC One X here.. http://www.slimroms.net/index.php/downloads/all/viewcategory/144-endeavoru.

[Q] fastboot/recovery/kernel files confussion

I needed fastboot files so i did a little research to find to different files.
1 had only 3 files in the folder(ckpv5's tutorial)
& the other had 6 files(cybervibin's tutorial) so i dont want to mess up flashing kernel.
Since these are important files.
Someone plz help me chose between which fastboot i must copy to c drive
The one with most files just run the fast boot.exe
Sent from my One V using xda app-developers app
---------- Post added at 02:31 AM ---------- Previous post was at 02:30 AM ----------
Doesn't have to be on c: drive can be desktop
Sent from my One V using xda app-developers app
u mean i dnt have to cmd/ fastboot flash boot boot.img.
wer do i copy the boot.img i want to flash?
I know 1 way.
Open cmd type fastboot flash boot boot.img(u have too copy its exact location)
then fastboot reboot.
Is that right?
I read somewhere u have to copy boot.img to fastboot folder.
That made me confused like hell.
I found the soltn thread closed.
Why do you need to be confused
The extra files are HTC Driver and TWRP image... those are not part of fastboot
When you want to run fastboot flash boot boot.img - the boot.img file must be in fastboot folder
When you run fastboot flash boot [folder path]/boot.img - the boot.img can be at any folder and put the right path ... but why do you want to do the hard way
ckpv5 said:
Why do you need to be confused
The extra files are HTC Driver and TWRP image... those are not part of fastboot
When you want to run fastboot flash boot boot.img - the boot.img file must be in fastboot folder
When you run fastboot flash boot [folder path]/boot.img - the boot.img can be at any folder and put the right path ... but why do you want to do the hard way
Click to expand...
Click to collapse
No other developer is as calm as you ckpv5.
So flashing kernel is the big deal for me.
As i am doing it for the 1st time.
I wanted to flash some AOSP Roms.
So i was just curious wether i should do it or not.
Nishblueweapon said:
I wanted to flash some AOSP Roms.
So i was just curious wether i should do it or not.
Click to expand...
Click to collapse
Flashing any ROM either Sense ROM or AOSP ROM, you need to flash the boot.img as mentioned on OP. The ROM thread will tell you what kind of kernel/boot.img that you need. Some is on CM9 kernel, some on CM10 kernel and some is using the stock kernel or TK kernel. For CM10 they have two different kernel if I'm not mistaken, so read carefully.
Most basic thing is to flash a boot.img that is meant for that ROM.
ckpv5 said:
Flashing any ROM either Sense ROM or AOSP ROM, you need to flash the boot.img as mentioned on OP. The ROM thread will tell you what kind of kernel/boot.img that you need. Some is on CM9 kernel, some on CM10 kernel and some is using the stock kernel or TK kernel. For CM10 they have two different kernel if I'm not mistaken, so read carefully.
Most basic thing is to flash a boot.img that is meant for that ROM.
Click to expand...
Click to collapse
Thanks ck for your support.
Before flashing Rom i tried back up from recovery but it had some error.
That's too general.
You need to tell what kind of error, what is written for the error then only someone can tell you whether that's an error or something normal
ckpv5 said:
That's too general.
You need to tell what kind of error, what is written for the error then only someone can tell you whether that's an error or something normal
Click to expand...
Click to collapse
It said something failed to create image.
It ocurred during backing up process.The process was completed 50 %(not accurate) & then the error.
Change your CWM to a better version or use TWRP as most people do.
ckpv5 said:
Change your CWM to a better version or use TWRP as most people do.
Click to expand...
Click to collapse
i have the same version u mentioned in your thread how to unlock bootloader.
where do i search for the latest cwm/twrp?
i ll chose after reading reviews
Read again http://forum.xda-developers.com/showthread.php?t=1996665 and follow the links under Recovery Images[PRIMO U/GSM]
When you first started this thread you were confused why he has more files for fastboot and I mentioned he has TWRP there.
I personally use TWRP 2.4.3.0
Gotta go now .... if there is anything further, I'll check later when I'm home
ckpv5 said:
Read again http://forum.xda-developers.com/showthread.php?t=1996665 and follow the links under Recovery Images[PRIMO U/GSM]
When you first started this thread you were confused why he has more files for fastboot and I mentioned he has TWRP there.
I personally use TWRP 2.4.3.0
Gotta go now .... if there is anything further, I'll check later when I'm home
Click to expand...
Click to collapse
the latest is twrp 2.5.0.0 on their main site. can u try & let me know.
how do i uninstall cwm before installing this.
Nishblueweapon said:
the latest is twrp 2.5.0.0 on their main site. can u try & let me know.
how do i uninstall cwm before installing this.[/QUOTE
http://forum.xda-developers.com/showthread.php?t=1721749
I found this on one v orginal development since it is an official twrp recovery it should not have any
Problem...u can also find steps to install it on that thread...so give it a try...
But I personally use cwm no problem so far ....
Don't know about twrp but cwm installing was quite easy...
If u want I can provide u with my recovery.img ..but give twrp a try..
Click to expand...
Click to collapse
Just use the All In One Toolkit for One V
kernel flashing is made so much simpler and easier:good::good:
Never flashed a kernel via ADB(or whatever its called,dunno coz i never used it )
I dont need to remove CWM before installing TWRP through Toolkit right?
Nishblueweapon said:
I dont need to remove CWM before installing TWRP through Toolkit right?
Click to expand...
Click to collapse
dont think so
but to be sure, ask someone with more experienced
Seraz007 said:
dont think so
but to be sure, ask someone with more experienced
Click to expand...
Click to collapse
some1 plz confirm this

[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.

[Q] flashing the kernel seperate?

Im am the only one or have other phones the same problems?
I use an HTC one x and have to flash the kernel seperate. is there anyone with the same isue?
any tipps for flashing without an PC only with recovery?
cyrok said:
Im am the only one or have other phones the same problems?
I use an HTC one x and have to flash the kernel seperate. is there anyone with the same isue?
any tipps for flashing without an PC only with recovery?
Click to expand...
Click to collapse
My last HTC device was a Desire HD, but I imagine that the newer devices have the same approach. To flash a kernel, you need to use both recovery and a PC, first to flash the boot.img with fastboot from the PC, and then flash the .zip from the recovery.
cyrok said:
Im am the only one or have other phones the same problems?
I use an HTC one x and have to flash the kernel seperate. is there anyone with the same isue?
any tipps for flashing without an PC only with recovery?
Click to expand...
Click to collapse
Yes use kernel lighter from original android section by @Thunder07 thanks to him we don't need S-OFF:victory:
Thant said:
Yes use kernel lighter from original android section by @Thunder07 thanks to him we don't need S-OFF:victory:
Click to expand...
Click to collapse
what did the s-off mean? i saw it in the original recovery, but dont understand the sense
sorry for my bad english
cyrok said:
what did the s-off mean? i saw it in the original recovery, but dont understand the sense
sorry for my bad english
Click to expand...
Click to collapse
S-OFF give you possibility to flash boot.img withoet PC, the boot.img is includet in the module.zip with script to flash it from recovery, and many other things
Thant said:
S-OFF give you possibility to flash boot.img withoet PC, the boot.img is includet in the module.zip with script to flash it from recovery, and many other things
Click to expand...
Click to collapse
means i can flash a zip (wich contains the boot.img) without a PC?
cyrok said:
means i can flash a zip (wich contains the boot.img) without a PC?
Click to expand...
Click to collapse
yes and roms too but no S-OFF for HOX. Are you read for the kernel lighter?
Thant said:
yes and roms too but no S-OFF for HOX. Are you read for the kernel lighter?
Click to expand...
Click to collapse
how did you mean that?
cyrok said:
how did you mean that?
Click to expand...
Click to collapse
what what I mean??? I mean you can flash roms and kernels with kernel lighter withowt PC only one time you must to flash the KLboot.img and other things read in the thread for kernel lighter
I use an android phone with twrp custom recovery and when i flashed a rom before i restarted my phone i wipe cache and dalvik cache then i flash the kernel zip separately from the rom and then restart phone. Make a nandroid backup before doing any thing like this and you can backup your stock kernel if you haven't changed it yet. Flashify for root users, app can backup your current kernel and current recovery. I only flash roms and kernels through recovery. I have used that app to flash my recovery but some people have bricked their devices using it. Soft bricked i think
ryan012 said:
I use an android phone with twrp custom recovery and when i flashed a rom before i restarted my phone i wipe cache and dalvik cache then i flash the kernel zip sererately from the rom and then restart phone. Make a nandroid backup before doing any thing like this and you can backup your stock kernel if you haven't changed it yet. Flashify for root users, app can backup your current kernel and current recovery. I only flash roms and kernels through recovery. I have used that app to flash my recovery but some people have bricked their devices using it. Soft bricked i think
Click to expand...
Click to collapse
thats my rom ;P
http://forum.pac-rom.com/Thread-ROM-UNOFFICIAL-KitKat-4-4-4-ENDEAVORU-PAC-ROM-KK-RC-3
i think i do it on the classic way, like you say think that wasnt a onetime flashing so i like to be on the safe side
cyrok said:
thats my rom ;P
http://forum.pac-rom.com/Thread-ROM-UNOFFICIAL-KitKat-4-4-4-ENDEAVORU-PAC-ROM-KK-RC-3
i think i do it on the classic way, like you say think that wasnt a onetime flashing so i like to be on the safe side
Click to expand...
Click to collapse
What is it you were doing ? Were you trying to flash them both at same time from a computer instead of on the recovery ?
ryan012 said:
What is it you were doing ? Were you trying to flash them both at same time from a computer instead of on the recovery ?
Click to expand...
Click to collapse
naaa... first flash the extractet boot.img with his tool http://forum.xda-developers.com/showthread.php?t=1952426
and then i flash the full zip with my recovery. i use philz touch 6 recovery for the hox.
i had made a flashable zip with all my apps. made with ZIPme https://play.google.com/store/apps/details?id=zip.me&hl=de
works great ^^
i think its easyer than make the whole s-off thing
cyrok said:
naaa... first flash the extractet boot.img with his tool http://forum.xda-developers.com/showthread.php?t=1952426
and then i flash the full zip with my recovery. i use philz touch 6 recovery for the hox.
i had made a flashable zip with all my apps. made with ZIPme https://play.google.com/store/apps/details?id=zip.me&hl=de
works great ^^
i think its easyer than make the whole s-off thing
Click to expand...
Click to collapse
with Kernel lighter you install one time the KLZeusBeta8.img with the pc then when you go in recovery just go to flash zip from file choice Flash AromaFM-KL.zip then choice your rom and will be installed on the end choice the boot.img from rom.zip the apps will ask you to choice the boot.img and give you automatik the boot.img in the rom.zip and you are ready to go you can change your rom every thime when you want and flash kernels any time without PC
Thank you. I give it a try you description is easyer than the one from the thread
Thant said:
S-OFF give you possibility to flash boot.img withoet PC, the boot.img is includet in the module.zip with script to flash it from recovery, and many other things
Click to expand...
Click to collapse
cyrok said:
how did you mean that?
Click to expand...
Click to collapse
just keep in mind that there is a small bug in KL-Aroma which ill fix in a week, after my exams.
but you can bypass it by running this commands with adb
Code:
adb remount
adb shell mkdir /system/boot/
adb shell mkdir /data/boot/
adb shell mkdir /sdcard/boot/

Categories

Resources