yashsingh1/xdaforums huggingface dataset:
[HTC One X] goochy:
Thanks [MENTION=618483]Thunder07[/MENTION]. Latest version seems to work a treat!! It did take me quite some time to debug a few things mind:

1) I had un-rooted my phone via Voodoo OTA RootKeeper (to get banking app to work). When I tried to flash a new kernel via the app it didn't complain/error about not having root privs and everything appeared to flash OK. Is this something you can add to the code?

2) Once I got around the first problem...I hit an issue with the modules not being flashed correctly and therefore having no phone signal etc. The cause of this was because /system was not mounted R/W. After mounting it R/W and re-flashing, everything worked :) Is this something that can be added to the app code to throw an exception as well?

Thanks,

Chris
[HTC One X] neverdie007:
Thanks alot for the new updates Thunder07,

It's working very smoothly for me now, but I'm wondering are you still planing to achieve dualboot?
[HTC One X] TouchscreenLover1:
Thank you thunder!:)

Gesendet von meinem A210 mit Tapatalk 4
[HTC One X] Thunder07:
Ill have a look.

while i want to get it working, i just dont have the time,

as it stands i dont plan on even trying to get anything working until christmas break.
[HTC One X] dragonesdenano:
You are an amazing dev and an excellent person Thunder:thumbup::)
[HTC One X] Sebby:
oke tryed the new version

started the app choose system/boot ..not working..also no boot dir in system

tryed data/boot that one is working

why is the system/boot not working ..a little bug maybe

checked R/W in viper x tweaks ,so system is writable

edit: sdcard/boot also not working ....but it flashes the boot dir to the sdcard
[HTC One X] Thunder07:
ummmm...

dunno, it's working fine here, try reinstaling and maybe updating your busybox??

anyone else can confirm this??
[HTC One X] vlaf:
Yes, system/boot not working.
[HTC One X] paulh1978:
Loving your kernel flasher works like a charm. Could do with a bit of clarification on options in new app. Is the only difference between them the partition where the kernel boots from using the zeus.img. hope this isn't a silly question.
[HTC One X] Sebby:
when i select the system/boot and it is done flashing ,there is also no boot dir in system

when i select sdcard/boot there is a boot dir on sdcard ,but it does not work after reboot

so what busybox do you have thunder

i try it with a new busybox

i will report back...

---------- Post added at 03:26 PM ---------- Previous post was at 03:03 PM ----------

nope still not working

new busybox

system writable

still no system/boot dir

viperx 4.0.2
[HTC One X] DeeZZ_NuuZZ:
same for me :/
[HTC One X] Thunder07:
ummm, that's odd :/

i updated my busybox to 1.21 if im not mistaken through playstore app.

im currently re-working the apps design, ill release it, once that's done,

i might have somehow uploaded an incorrect version.
[HTC One X] Sebby:
did the same thing yesterday

installed newest busybox ,with busybox installer pro

system writable

checked other things

reboot

tryed it 3 times still no luck
[HTC One X] cappuccina:
Hi thunder,

I really like your work but I have problems using it properly on cm 10.2.

On sense I don't have problems creating flashable zips and flashing them. but on cm 10.2 somehow I cannot create them. and I cannot flash kernel and modules of rom.zips

zip creating fails and when I select a zip it says not a valid zip.

I can flash the zips I created before (when I was on sense) and your provided zips.

I don't know what I'm doing wrong. or maybe there is something missing on cm.

does anybody have same problems?

Gesendet von meinem HTC One X now Free
[HTC One X] gianborrello:
Awesome work! Now we don't need s-off anymore!!!

A beer for you! 91A97237U5441662J
[HTC One X] Sebby:
hope thunder release the new version soon

where the system/boot is fixed
[HTC One X] smeejaytee:
Finally got this working and I wanted to say thanks this app is great no more fastboot wa-hay

Sent from my HTC One X
[HTC One X] Thunder07:
Thanks

anyone??

could be a problem with busybox version, try updating it through apps available on the play store.

you can just use the old version and install to data/boot and use these commands through terminal or adb

adb shell cp /data/boot/* /system/boot/

i will once i get a chance to breath :/

sorry guys for being superslow but there is very little i can do about that... VERY VERY busy.
[HTC One X] Sebby:
then i have to change the two files also...

then if i want to do data/boot then i have to do the same thing

i think it is better to stay with data/boot

if people do a wipe on system to restore the rom again then they dont loose anything

so better to stay on data/boot

and make the new app the same as the 0.3b

and not a selection on system or sdcard
[HTC One X] cappuccina:
ok I will try.

hmm might the problem be that I am using system/boot?

cause it is working for me (at least with a sense rom) when I am on sense I choose system /boot and create flashable zips.

and every time when I change to a different rom I flash that zip afterwards. cause when I full wipe it's wiped also right?

Gesendet von meinem HTC One X now Free
[HTC One X] furius:
[MENTION=618483]Thunder07[/MENTION]

thanks for your great work! I haven't tried it yet because I usually have a computer at my fingertips to flash boot image, but this is a real great step forward for development on our beloved device. :good:

I just have some curiosity: on post #3 you are speaking about a phase 2 related to multi-boot ... this would be awesome ... do you think we could ever have a sort of Modaco switch to multi-boot between a Sense ROM and an AOSP ROM, sharing data applications? Am I dreaming?? :cool: :p
[HTC One X] kfasheldon:
Hi Thunder

Any chance of updating app to allow img only flash , from img that is not in a flashable zip, just raw extracted img file.

Thanks
[HTC One X] smeejaytee:
+1

Sent from my HTC One X
[HTC One X] MacSeoin:
this would be a lot less head ache
[HTC One X] Thunder07:
im avoiding this for now...

as i know for a fact... people will forget the modules and come report broken camera, BT, WIFI, signal, NFC.

like it's really not that hard to add,

ill add it once i get the new UI to work.
[HTC One X] kfasheldon:
Thanks Thunder , I only ask as Alex added a small img update earlier today , and well no pc on the bus ! Though I could prob just flash but no , and fiddling with zip files extract , change boot.img etc not fun on phone.

But I guess there are a few too many idiots who would just flash boot.img and then complain .... So would be grateful to see added in later , with a big warning ... In your own time , this is great work in any case.

Thanks
[HTC One X] and313:
Jp flashing the boot.img directly would be the best thing since we got s-off from htc... Not

I find that the best app for making zips is total commander
[HTC One X] paulh1978:
Hi thunder, I was just wondering if you had any idea how to get your app to work on miui rom
[HTC One X] Thunder07:
Sorry guys for being ever soooo slow, I've been extremely busy.

Christmas break is not too far off,

hopefully I'll be able to make up for it then.

the same instructions apply to any ROM,

if MIUI is based on ASOP uses the ASOP kernels,

if MIUI is based on Sense uses the Sense kernels.
[HTC One X] DeeZZ_NuuZZ:
greeeaaat :)
[HTC One X] ljjehl:
KitKat question

Regarding Post 1:

Does this mean I can simply flash a Boot.img/Modules from a KitKat Rom to have it booting up properly in kexec (via kernelighter)??
[HTC One X] DeeZZ_NuuZZ:
if the aosp modules and boot.img are working in kitkat it could boot...but there are also no kernels which could work with kitkat i think...or what exactly do you mean?
[HTC One X] ljjehl:
Well, I'm not familiar with how the boot.img piggybacks off the Kexec-Boot.img (boot.img originally flashed via fastboot) What I mean is keep the fastboot flashed kernel, then use the kitKat boot.img to flash via kernelighter. Are you saying I just need to flash the rom only if kernel is ready to flash (updater script setup for flashing via recovery), since the kexec kernel is already there for the secondary kernel to piggyback off of?
[HTC One X] DeeZZ_NuuZZ:
at first you need the kexec kernel flashed through fastboot...it would be the updated one which is now named zeus.img then to use kexec you need to go to recovery and flash the zip for aosp/cm/aokp etc the aosp zip and for sense the sense.zip ...but we don't know if the modules from 4.2.2 are working with kitkat so if you flashed a kitkat rom which is not really ready yet you should better flash the boot.img from kitkat rom through fastboot and flash the kitkat rom via recovery...and if there are custom kernels which are working with kitkat you can flash zeus.img in fastboot and in recovery the updated aosp zip for kitkat...but atm we even can't really use a kitkat rom so you should wait until all is ready and yea...

i hope i understood you right...:D
[HTC One X] ljjehl:
Well, I was wanting to use the kernel that the Rom built. If you have a second boootup after original, that's where I want to insert that kitkat from compiled Rom plus modules..which is already in Rom anyway.
[HTC One X] DeeZZ_NuuZZ:
sorry i don't really understand what you exactly mean :/
[HTC One X] Thant:
From what I read I understand you want DUAL BOOT am I right?
[HTC One X] Thunder07:
[MENTION=921816]ljjehl[/MENTION]

let say you want to install kitkat (i don't know if the ASOP kernel in the main page would work.... but let say it wont!),

there are few ways around this..

before installing kitkat

1) Place the kitkat zip in /sdcard/modules

2) Through the App choose Create Flashable Zip

3) flash rom through Recovery

4) flash the newly created zip through recovery

or let say you're me!! just have to complicate thing!!

You've installed Kitkat but it wont boot, because there is no guest kernel(guest kernel is the kernel flashed through the app)(because they're deleted during rom flash)

anyway!

You've have a non-working/bootlooping Kitkat OR it boots ALWAYS to the recovery

1) flash the stock boot.img through flashboot

2) boot into rom & open the KL App

3) create a flashable zip OR flash Kernel(then flash this through recovery) & Ramdisk & Modules from the kitkat zip

4) now you can reflash Zeus.img through fastboot
[HTC One X] ljjehl:
Thunder....at this point, not sure I understand.....BUT....I will try this step by step...I will also check out the app to understand what happens when I do what you ask me to do. Hopefully I understand the logic...if not...please don't bite when I noob it again, hehehe.
[HTC One X] lenthele:
[MENTION=618483]Thunder07[/MENTION] :

I installed everything like you said. Went step by step and i could boot the ROM successfully. But I wanted to make a backup of my ROM so i booted into the recovery, backed everything up and rebooted the system. Now all what's happening is, that my phone boots and at a certain point (still showing the htc logo) the screen goes blank (off)... tried several reboots, always the same :( What went wrong?

EDIT: reflashed the kernel (kl-zeus.img) and now it seems to work again... strange...???
[HTC One X] davitox87:
Sometimes it doesn't properly boot and when it does that you just need to hold the power button till the phone restarts. It may take a few tried. One time I had to do it 3 times before it would boot.
[HTC One X] cappuccina:
Hey,

I have a question, how would I have to proceed if I want to flash a repacked kernel?

flashing kernel and modules and then ramdisk (the option that says repacked, so I thought that would be it) I always end up in bootloop.

I tried to put the repacked kernel inside a kernel.zip and flash this but it didn't work...

Or missed I something really important :what: :confused:

Thanks

Gesendet von meinem HTC One X
[HTC One X] DeeZZ_NuuZZ:
for which rom? for aosp/cm ? if for sense you don't need to repack
[HTC One X] cappuccina:
Yes I know, its for aosp/cm cause I like to use xm Kernel.
[HTC One X] cappuccina:
Ok, I got it to work.

I just put the repacked kernel inside the rom.zip, made a flashable ZIP. Flashed this through the app and the modules afterwards via recovery.

I've already tried that before but it would not even allow me to create a zip. Thought that it would not work.

But I have issues with Cm and creating those zip files, sooo..

It did work eventually. :)

Thanks [MENTION=618483]Thunder07[/MENTION] for making this awesome app/kernel!

Really hope you can still work on it when you have the chance and time. :thumbup:

Gesendet von meinem EndeavorU
[HTC One X] kfasheldon:
.. Wonder if this works with cm11 ? ... Will play later as need to be by PC in case of error ...
[HTC One X] ljjehl:
Works with a lot of things. I already had a version of kitkat booting to homescreen......
[HTC One X] cappuccina:
Have you created a flashable zip file or how did you proceed? Because i have problems creating one from the rom.zip.

Running KitKat atm but with custom kernel as for the kernel i could create a zip.

Gesendet von meinem HTC One X
[HTC One X] ljjehl:
Yes. I simply make sure the boot.img is in root of the zip, then create a flashable zip.

Sent from my HTC One X using DroiDevs Premium Plus
[HTC One X] cappuccina:
Yes isn't that always the case?

I don't know why but aosp I always have trouble. With sense it works almost everytime.

Have you made one for cm11?

Gesendet von meinem HTC One X
[HTC One X] Thunder07:
It's OS independent, it would work even with donut, Ubuntu, and almost any future Android update... Except if they change the format of kernel... Which is unlikely as it would be due to Linux.

It doesn't really matter, it should work even if it's 20 folders in.

Send From My HTC One X
[HTC One X] ljjehl:
Glad to hear that...I won't have to do extra work for this then.
[HTC One X] cappuccina:
Do you mind sharing your zip file? Is it for CM11?
[HTC One X] ljjehl:
Atm I am devving a different KitKat source. If I do CM today, I'll send you a link to the KL zip.

Sent from my HTC One X using DroiDevs Premium Plus
[HTC One X] cappuccina:
Thanks. Thats nice.

I didn't had the time to flash Sense, then I could make one myself.

Really not sure why it does not work on aosp.
[HTC One X] kfasheldon:
Would you please be so kind as to post a link here, I seem not to be able to get a working CM11 booting from KL.img and EP1 ASOP Kernal flashed from KL Lighter - no idea why it just wont boot, freezez at start of boot with white screen.

Thanks
[HTC One X] cappuccina:
Have you rebooted several times? Sometimes it needs 5 attempts until it finally boots twice and starts to work.

I have a kl-next-aosp-ep1.zip if you like? But not sure if it works with cm11 without repack...

I think that n3o kernel works without repack. So you could try that also with a kl flashable.zip

Gesendet von meinem HTC One X
[HTC One X] DeeZZ_NuuZZ:
neo's new kernel is made for cm11 ;)
[HTC One X] Thunder07:
Updated KL Android App V0.5

-ReAdded /system /sdcard support

-Fixed Creating Recovery Zip

-Re-did the GUI

Get it in the 1st post or here

Seening how kernel development is back on the rise...

it's only Fair i joined the fun as well no.
[HTC One X] cappuccina:
Hey so, welcome back to the fun! ;)

Downloading already...

So that meens it should fix the problem of creating flashable zip files?

Edit: Hmm I get force close after installing.

Anybody else?

I'm on SlimKat with kl.img

Gesendet von meinem HTC One X
[HTC One X] Thant:
What happend with the Philz recovery way are you lave the project with Philz?
[HTC One X] Thunder07:
your modules folder must either be empty or non existing,

create a folder on your sdcard called modules.

Ill add a check in the next update.

ill get back to it when i get a chance..

i though this app was long due for an update.
[HTC One X] cappuccina:
Actually i have a folder named modules in root of my sdcard. and its full of flashable zip files. :what:

Just a question is it intented to habe a new name? KernelFlasherRebooted.

Its installed as a new app and not as update for kl flasher.
[HTC One X] ljjehl:
I liked that setup in prior that had the option to delete the kernel in modules. Hopefully you can continue to use it.

Sent from my HTC One X using DroiDevs Premium Plus
[HTC One X] Thunder07:
Ya.....

Since i didn't work on this for a while.... it's now Rebooted...

Plus i managed to someone how screw the entire code up.... so i restarted from scratch... Thus (again) Rebooted :)

Also, you'll have to forgive me until I get home (haven't been home in 2 days).. to work on this.

As i told cappuccina in the above reply,

I've started from scratch, so ill re-add that into the next release.

Also, I take it that the app works for you?

Edit:

I've added a clean up code... and it seems to be removing the new kernel at all times... (instead of just the old one... thus the phone will fail to boot)

and that code is executed whenever you flash a a kernel through the app,

use the create recovery zip for now
[HTC One X] audahadi:
[MENTION=618483]Thunder07[/MENTION] I see commit in some nexus 7 kernel about support for kexec-hardboot. Would this patch benefit your app? If so I want to apply that patch.

https://github.com/franciscofranco/Grouper-3.1.10/commit/79c61c91ea3361694938b7a561f09098c71bcee9
[HTC One X] Thunder07:
That's the same one I'm using :)

Send From My HTC One X
[HTC One X] ljjehl:
My main interest atm was trying to boot AOSP correctly I also used CM11. So far all boots to homescreen, but I have other issues that I wont continue here.

I've always had no issues booting up with the older release, since I used the /data/boot option before I used Create Recovery Flashable Zip option. The new version confused me though, as I was able to go straight through to creating zip without deciding what my Flash location should be. Does it matter? Is this the location of the modules in the kernel zip? Please elaborate, since I think I missed some info here...thanks!
[HTC One X] Thunder07:
have you not noticed the /system dropmenu??

the location to flash the kernel & create a zip are determined by it...

if it's set to /data.. it will show you what ramdisk/kernel are used on /data

it will flash whatever kernel you choose to /data and will create a zip that will flash to /data

hope that's clear :)
[HTC One X] ljjehl:
Lmao. I never noticed that dropmenu....very funny. Must be getting old....and thanks for that one...will test that also.

Sent from my HTC One X
[HTC One X] Thunder07:
Updated KL Android App V0.5A

-Fixed The Cleanup Code (Regular Flashing Through The App Works Correctly)

-Re-Added The Context Menu (right click!)

Get it in the 1st post or here
[HTC One X] ljjehl:
For some reason it won't let me delete the zip I made...

But if I go back into older version, it deletes with no issues.
[HTC One X] cappuccina:
OK I'm sorry but I still can't get it to work. I can't open it, it instantly closes. No root permission question, just fc.

I have modules folder on SD.

I just set up my system again after full wipe.

What else could I miss? Or what do I need to do to wipe this app completely away to start new?

I'm not running Zeus.img atm but thats not it,right? I should still be able to install the apk...:(

sent from my slimmed Kitty Kat
[HTC One X] myheroduane:
Same here, just fc once opened.
[HTC One X] ljjehl:
What type of system are you using, sense or aosp?

Thinking that maybe you guys need to go into developer options and setup your root options to both apps and adb.

Sent from my HTC One X
[HTC One X] cappuccina:
Well, yeah I'm on aosp. Changed to apps and adb but unfortunately didn't help....
[HTC One X] ljjehl:
Do you know if your SuperUser is working?
[HTC One X] Thunder07:
Updated KL Android App V0.5B

-ReAdded Permissions (Fxing Delete & FC Issue)

Get it in the 1st post or here

forgot to re-add permission which is needed to delete files

no the app will run even without the Zeus.img...

though its useless...

actually... for the 1st time use....

i recommend you actually install the app , flash the kernel( through the app) then flash Zues.img through Fastboot

anyway.. the problem was as i said... that you had no modules folder on the sdcard....

and am not talking about modules on the sd... but a folder called modules on the sdcard.... (/sdcard/modules)...

anyway that is also fixed with permissions.

just aswell.. it works just the same with ASOP.

read above.
[HTC One X] cappuccina:
Yes sure i've already apps installed that require root permission.

Might the rom be incompatible in a way? :confused:
[HTC One X] Thunder07:
read 1 page back.
[HTC One X] cappuccina:
That was the thing that bothered me. I DO have a folder named liked that on the sd card.

But nevermind its working now. :thumbup:

And took me straight to my zip files. ;)

Thanks for the update.

I really like to use your kernel flasher. As I like to flash a lot and switch also from aosp to sense...

Really appreciate your efforts. BIG Thanks....

sent from my slimmed Kitty Kat
[HTC One X] makes2068:
Need help.

Can not download AOSP 10.2 kernel.

could you please attache the file here?

---------- Post added at 02:08 PM ---------- Previous post was at 02:07 PM ----------

Need help.

Can not download AOSP 10.2 kernel.

could you please attache the file here?
[HTC One X] Thunder07:
ill see if i have the time when i get home tonight...

but the process is rather simple...

Download CM11 Rom.zip

Place on sdcard

run the android app.... click browse

search for the Zip

Click create Recovery Zip

Just heads up,

My exams start in 3 weeks, so once im finished, ill try to get through the recovery update i was planning.
[HTC One X] cappuccina:
Great to hear that.

Just wanted to say thanks again for making this possible.

I'm using it since months and never had to flash a kernel through fastboot anymore. Hhh

Also being able to combine different kernel and ramdisks is so great :thumbup:

It's working just fine for me now.

I wasn't able to make recovery zips with the app using the original rom.zip, so I started to make zips with just the modules folder and boot.img + META-INF folder inside.

I just took a zip file someone posted to flash the modules.

Now I can easily make recovery zips through the app without issues.

Don't know if anybody else has the same issue, but I have a folder on Dropbox with those zips, so I will just share it here.

I only make zips from roms I flash, so no major variety.

https://www.dropbox.com/sh/831bzcm7f1dc42u/F-oDetdTM7

Those are NOT KL recovery zips!!!

But one can just make them with the app.

They would only be useful to flash the modules in recovery, without flashing the whole rom. (e.g. After flashing custom kernel.)

Maybe someone finds it useful ;)

Edit: [MENTION=4250471]RohinZaraki[/MENTION]

I've added a KL recovery zip for cm11 snapshot m5 just in case.... ;)

Maybe I will add more, they will all have 'KL' in the beginning.

sent from my slimmed Kitty Kat
[HTC One X] Thunder07:
Cheers,

I've just tried that there and it failed... I've a fair idea what might be the problem... but I can't do much about it, until after the exams...

But personally, I'm never on stock kernel... so i don't bother much with them...

just make sure you have KL-Custom kernel and you're set.
[HTC One X] cappuccina:
Yeah I've always plenty of different kernels on my SD. I tend to switch too often ;) but always want to see how the stock kernel behaves, too.

That said I just like to point out that making recovery zips from custom kernel zips always worked. Like lyapotas or faux... Nothing to change there.

Just rom.zips don't work.

Take your time and concentrate on your exams.

It's also working great as is. :thumbup:

sent from my slimmed Kitty Kat