Please Don't Quote This Post,
It's Just way too big and would make any comment look stupid,
Thanks
Just When You Thought Your Favourite Dev Is Out Of Ideas... He Comes Up With This
ok so alot are complaining how we can't flash kernel away from the pc among other things (which ill get to later ), (mostly @One-X-master)
so i looked for a way to get around this and found Kexec as the answer.
Wiki said:
In computing, kexec (kernel execution) is a mechanism of the Linux kernel that allows "live" booting of a new kernel "over" the currently running kernel. kexec skips the bootloader stage (hardware initialization phase by the firmware or BIOS) and directly loads the new kernel into memory, where it starts executing immediately. This avoids the long times associated with a full reboot,and can help systems to meet high-availability requirements by minimizing downtime.
Click to expand...
Click to collapse
however, with that comes managing online hardware which is somewhat problematic,
thus that prompted few people to come up with an ingenious solution called Kexec-hardboot.
Kexec-hardboot:This works by loading the kernel into memory and force restarting the phone with new kernel.
All of that with some ramdisk tweak allowed me to set a kernel at boot and restart to it,
avoiding having to flash it in the 1st place
Updating the kernel is called flashing..
A Flash is also what precedes Thunder
its also refered to as Lightning, Thus I came up with the name Kernel Lighter
Lighter= To Set Things On Fire/To Ignite (The Kernel)
Thus this is a kernel igniter
I Know, i've got to much time on my hand.
If you have a smart name, please do suggest.
Special Thanks: @Tasssadar: For His N7 Port, which made this port a breeze and for his help in debugging.
@Alex-V: Currently using his kernel as Base Kexec Kernel.
@Androguide.fr: For his recovery-less flash method.
@amarullz: For His AromaFM Source Code.
@LlabTooFeR: For His Stock Kernel.
@faux123: For His Kernel Source.
@mkasick: For The Original Port.
Sources:Alex-V 1.7 Kernel
Hardboot Patch
Faux Kitkat Kernel
AromaFM KL
Download Link In Post Below
Always have a backup.
Attachement & How-TO
ALL THE STEPS MUST BE FOLLOWED.
Requirements
S-off/Unlocked Bootloader
Android App & Recovery App
Fastboot flash boot Zeus.img
For ZeusKL.v10.img (New Layout) You must first switch to the new layout
Flashing Kernels Though Recovery
Boot Into Recovery
Flash AromaFM-KL.zip
Select Kernel Zip To Flash
Choose Flash Location
Choose Boot.img
Yes/No To Flash Zip (useful for flashing modules)
Reboot
Flashing Kernels Though Android(deprecated)
Start KL Android App
Choose Kernel Zip*
Kernel & Ramdisk
Reboot To Recovery --> Flash Modules
Reboot
* For zips to be listed, they must be placed in /sdcard/modules/
* otherwise click browse and happy hunting
Something Went Wrong:
Let say the phone wouldnt boot during kernel update after using the app,
the best solution would be to go back to stock kernel, look at the recovery flashable zips in Extras section,
If none seem to fit, try another custom kernel
if you still had no luck booting, you should try flashing that kernel through fastboot and see if it makes any difference.
Warning!!
Note: All the zips provided are flashable through both The App & Recovery... but I recommend recovery
BUT DON'T FLASH THE KEXEC (KL.Zeus.img) KERNEL THROUGH THE APP or Recovery,
as it will continuously boot itself over and over and over again.
Download Link In Post Below
Downloads
Kexec Kernel: KL.Zeus.img(CM12 Based)(V10)(Old Layout Only)
Kexec Kernel: KL.Zeus.img(CM12 Based)(v11)(New Layout Only)
Android App: KernelLighter.apk(No longer in active development, use the Recovery App instead)
Recovery App: AromaFM-KL Flasher(v4.1)(ZeusKL v9- only)
Recovery App: AromaFM-KL Flasher(4.6)(ZeusKL v10+ only)
Extras(deprecated)
Sense 5 Stock Kernel(Works on Sense 4+)(courtesy of LlabTooFeR) flash via recovery
ASOP/CM10.1(Android 4.1.2/4.2.2) flash via recovery
ASOP/CM10.2(Android 4.3) flash via recovery
Archieve
Multirom
ZeusKL
Thunder07 said:
& Another One.
Click to expand...
Click to collapse
Can't wait to try, sound incredible
Awesome! Looking forward to try it.
Sent from my Nexus 7 using Tapatalk 4
Someone tried it?
Never again without Sense 5! *~* <3
This i call development, thanks for that solution.
TouchscreenLover1 said:
Someone tried it?
Never again without Sense 5! *~* <3
Click to expand...
Click to collapse
i made a small typo in one of the files..
after flashing zip
do this
adb shell
mount /data -o rw
echo /data/boot/Kernels/Stock/boot.img-zImage>/data/boot/kernel
echo /data/boot/Kernels/Stock/boot.img-ramdisk.gz>/data/boot/ramdisk
Will Fix Zip soon
Edit: FIXED
Dexxmor said:
This i call development, thanks for that solution.
Click to expand...
Click to collapse
Anyone a Sense 5 Kernel.zip? Kexec boots a descriptet, will try this solution.
Dexxmor said:
Anyone a Sense 5 Kernel.zip? Kexec boots a descriptet, will try this solution.
Click to expand...
Click to collapse
this works on both sense 5 and 4+
i had this running for almost a week now on sense 4+
and just moved to sense 5 and thought it will be a good time to release this.
The Stock kernel comes from sense 5 ROM
I know, but back to 4.1.1 is not a solution for me (Sense 5 is the dealbreaker with AOSP ROMs )
Another Question, if i change to AOSP, it will work too? or must we flash (an not realeased) Kexec AOSP kernel? (i ask not for me, i ask for everyone on AOSP with ORD xD )
Dexxmor said:
I know, but back to 4.1.1 is not a solution for me (Sense 5 is the dealbreaker with AOSP ROMs )
Another Question, if i change to AOSP, it will work too? or must we flash (an not realeased) Kexec AOSP kernel? (i ask not for me, i ask for everyone on AOSP with ORD xD )
Click to expand...
Click to collapse
you dont have to go back to 4.1.1, this will work with sense 5 rom
if you want to use AOSP you must follow the custom kernel guide.
Ahh, (my english is bad..) i think we misunderstand each other, i asked for an Sense 5 kernel.zip to try your "Flash kernel in Recovery" Solution, it exists not so many Kernel.zip with the "Flash Kernel Script" to flash the kernel in recovery... I hope its clear what i mean
this wiil be work on maximus 21 ?
Yes
Dexxmor said:
Ahh, (my english is bad..) i think we misunderstand each other, i asked for an Sense 5 kernel.zip to try your "Flash kernel in Recovery" Solution, it exists not so many Kernel.zip with the "Flash Kernel Script" to flash the kernel in recovery... I hope its clear what i mean
Click to expand...
Click to collapse
im not 100% sure, but if you're looking for the zip, its in the 2nd post
the 1st time you must flash the kernel through fastboot AND zip through recovery,
later i will make an app that will work to replace kernels.
but even that all will require 1 flash through fastboot.
NOTE:
the zip contains to kernel, one that you flash in fastboot
one that will be copied to /data/boot/
the 1st is kexec which will boot the one in /data/boot/
Not clear enough xD, this (the kernel.zip) was not a request to you, it was an request to somebody to make me a flashable kernel zip, as an example repacked Alex-V kernel for Sense 5, to test this.
Its late here, so my explanation will suffer, sorry for that.
Dexxmor said:
Not clear enough xD, this (the kernel.zip) was not a request to you, it was an request to somebody to make me a flashable kernel zip, as an example repacked Alex-V kernel for Sense 5, to test this.
Its late here, so my explanation will suffer, sorry for that.
Click to expand...
Click to collapse
ok that was clear enough,
so far as far as i hear,
only trips kernel work with sense 5
Thanks, sorry for my poor english.
---------- Post added at 11:31 PM ---------- Previous post was at 11:18 PM ----------
EDIT: Now we can flash kernel without a PC, testet and it worked.
So, we can flash kernels through the rom itself by replacing boot.img in data/boot and reboot, can't we ?
Related
I'm not updating the scripts anymore, only use it for private ease-of-use. Feel free to use the scripts, copy / modify, if you have any ideas or want to work with it. Thanks for the support, but there are more (better) tools available at the time now.
Cheers, Maseo!
==========================================
Hello Folks!
So you're running Android Revolution HD and you want to try a differtent kernel ey?
But you don't know how to flash a kernel, which modules you need or you're just plain lazy (like me ) and want to have it done for you.
I present to you, my Multi kernel installer!
*Works on Windows XP, Vista, and Seven, Linux (Ubuntu tested), Possibly Mac (need testers..)
Want to see a working demo?
Windows:
Linux/Mac:
How does it work?
It's a batch file that uses ADB and fastboot for pushing modules and kernels to your HOX. I've added an option to select different kernels and it will push the matching modules pack as well if neccessary.
The script pushes the modules to your phone, so you dont have to CWM flash them, and writes the kernel through fastboot for you! You only have to run the script!
How to use the file:
If you have dropbox, sync this folder, to your dropbox account. This way you'll be up to date when i add more kernels and/or options.
1.B If you don't have Dropbox, register for a free dropbox here. It's the easiest way to keep the files in sync for updates, plus you'll get free 500mb of extra storage.
1.C Or if you use Google Drive: click on this link
Make sure your phone is on, USB debugging is enabled, and you're on ARHD 7.x
ONLY FOR WINDOWS USERS: Run RUN_ME_WINDOWS.bat, Follow the steps. If done right ADB will push the modules (if necessary) to your phone, reboot, and install the selected kernel.
ONLY FOR LINUX/MAC USERS: Open the MAC folder and run linux_test.sh in terminal, Follow the steps. If done right ADB will push the modules (if necessary) to your phone, reboot, and install the selected kernel.
Done!
If you have any questions, just leave a comment in the thread and i'll try to get to you as quick as possible!
Any tips, remarks or feedback is highly appreciated.:good:
Happy flashing!
Special thanks to:
Mike1986 for making his amazing Rom!
GuyAdams for repacking all the kernels and moduls, tips and feedback.
Maseo
Which kernels are available?
ARHD7:
EternityProject_V0.92b
EternityProject_3.4v0.23
EternityProject_3.4v0.24
Faux 004b3 (with modified governer), and 004b34
Franco_R11
Franco_R12
Android Revolution HD Stock
ARHD9:
Faux 007 VF
Franco R16
NCX 080 OC
Eternity 3.4 0.38 OC
ARHD Stock
Updates:
[23-06-2012] Released the first working multi-batch file with some kernels
[23-06-2012] Added Franco's R11, EternityProjects3.4 V0.22, Faux's 003b9
[24-06-2012] Repacked RAR-File, Removed bugged Faux 003b9, replaced with 003b10.
[24-06-2012] Added a RUN_ME_WINDOWS-NT-ONLY bat file, 'choice' isn't a command on windows 2K and XP. Replaced code.
[25-06-2012] Removed RUN_ME.bat and replaced with general working RUN_ME_WINDOWS.bat, removed Faux 003b7 (old), added Eternity V0.23 and Default ARHD stock kernel.
[25-06-2012] Added demo video.
[02-07-2012] Added Linux Demo video, Franco R12, Faux 4b1
[03-07-2012] Finished Linux-script!!!
[04-07-2012] Added Faux 4b3
[06-07-2012] Added Faux 4b4 and Eternity V0.24 - Debug mode for windows added
reserved three
its arhd i think!
kryptoner said:
its arhd i think!
Click to expand...
Click to collapse
Sharp eye.. Im still a bit drunk from last night i guess. Edited the title! :silly:
at 1.b, it says error creating link...
batch file dies after choosing 2 (eternity 3.x kernel)
'choice' is not recognize as a command
Press any key to continue...
cYbOrG5 said:
at 1.b, it says error creating link...
batch file dies after choosing 2 (eternity 3.x kernel)
'choice' is not recognize as a command
Press any key to continue...
Click to expand...
Click to collapse
I'll get right on it. Seems the Rar-file is borked. Should be fixed now.
Which windows version are you running on? It works fine on vista and 7, but could fail on 2K and XP due to 'choice' being left out.
Try running: RUN_ME_WINDOWS-NT-ONLY.bat
- Removed Faux's 003B9 because of the bug in the Kernel replaced it with 003b10
Great work mate, I'll update the kernels thread OP with details.
GuyAdams said:
Great work mate, I'll update the kernels thread OP with details.
Click to expand...
Click to collapse
Great to see you've seen it! I'll update the script tomorrow morning with Eternity_V0.23.
I'll see what else I can do to improve or expand the script. Any ideas?
Sent from my HTC One X using XDA
- Removed RUN_ME.bat and replaced with general working RUN_ME_WINDOWS.bat.
- removed Faux 003b7 (old), added Eternity V0.23 and Default ARHD stock kernel.
- updated the rar file.
- added demo-video.
after kernel flash, why not reboot to recovery and cwm flash modules if required...so that the user will not manually flash it..just a thought
cYbOrG5 said:
after kernel flash, why not reboot to recovery and cwm flash modules if required...so that the user will not manually flash it..just a thought
Click to expand...
Click to collapse
The script already flashes the modules through ADB when you're running it, and flash the kernel after. No need to manually flash the modules
grrrr..... just ignore
thunder07 said:
grrrr..... just ignore
Click to expand...
Click to collapse
I assume you've got it worked out ...
Hi, I'm always on the HOX forum everyday, I read all the threads but I have a noob question..!!!
Whats is Kernel? and What it does and the difference between stock Kernel and Faux or Franco R11, etc...
Cheers and sorry for the noob question..!!
limx said:
Hi, I'm always on the HOX forum everyday, I read all the threads but I have a noob question..!!!
Whats is Kernel? and What it does and the difference between stock Kernel and Faux or Franco R11, etc...
Cheers and sorry for the noob question..!!
Click to expand...
Click to collapse
See it like this: your phone is a car. Your ROM and default kernel present the engine.
A different kernels updates and tweak the engine. Giving it more features, possibly better (battery) performance, a smoother experience. Etc.
The good thing is you can always go back to the default kernel by re-flashing your ROM or selecting the default stock Kernel from my installer.
Sent from my HTC One X using XDA
My humble requests:
- Google Drive instead/too
- MAC support
Thank you for your effort ! Really a time saver
---------- Post added at 10:01 AM ---------- Previous post was at 09:51 AM ----------
And now I'll try it
Just a question:
On ARHD 7.1 the Franco_R11 (which I see is 7.0.0) will be fine ?
In case of issues, I just flash over it the stock 7.x , right ?
Thanks
chareos12 said:
My humble requests:
- Google Drive instead/too
- MAC support
Thank you for your effort ! Really a time saver
---------- Post added at 10:01 AM ---------- Previous post was at 09:51 AM ----------
And now I'll try it
Just a question:
On ARHD 7.1 the Franco_R11 (which I see is 7.0.0) will be fine ?
In case of issues, I just flash over it the stock 7.x , right ?
Thanks
Click to expand...
Click to collapse
I'll see if i can add a google-drive upload too (i don't use it personally..), ill try to figure out how to run in on a mac.
Regarding the kernel, yes. The kernels are made for 7.x, so that works fine.:good:
trying to download the rar-file,
Error Creating Link
There was an error creating your link. Please try again.
Of course, trying again brings no joy.
Advanced Stock ICS Kernel for Xperia SHere is a kernel based on the Stock ICS kernel with some features which come from DoomLord's GB kernel.
Features
autorooting
CWM recovery (with reboot recovery support)
init.d support (thanks DoomLord)
TUN/TAP driver
Download links
Build 17 (Fastboot)
Build 17 (CWM)
Build 16 (Fastboot)
Build 16 (CWM)
Prerequisites
An unlocked bootloader: Tuto here.
A stock ICS ROM (6.1.A.0.452 to 6.1.A.2.55). Don't expect this kernel to work with CM9/10.
How to flash
For elf files :
Read DoomLord's guide
You just have to replace kernel.elf by the name of the downloaded kernel in the flash command (eg : ics4.elf)
For zip files:
Flash the zip file from the recovery
Changelogs
Build 17 (08/12/12) :
Merge 6.1.A.2.55 kernel sources
Autodetect rom version in default.prop based on build.prop
Updated recovery, adbd and busybox (JB version)
Build 16 (01/11/12) :
Random reboot issue probably fixed (patch from CM10 kernel, thanks Kali)
Rom version increased to 6.1.A.2.50
Updated recovery, adbd and busybox (JB version)
SD card mounted by default in recovery
Vibration at boot removed, only led and backlight now
Build 15 (05/09/12) : Increase ROM version in default.prop from 6.1.A.0.452 to 6.1.A.2.45
Build 14 :
New MMC driver (from codeaurora) : it fixes issue while formatting partitions in CWM
Wifi module built from source (in the ramdisk)
Updated recovery
Disable again hardware clock
Build 13 :
Backup / Restore fixed with dedupe
Backlight enabled in CWM
Better "reboot recovery" handling in adbd / busybox and recovery
Build 12 :
Updated recovery
Hardware clock correctly saved (from CM9 kernel)
Build 11 : Go back to GCC 4.4 (fix artifacts with camera preview)
Build 10 :
Kernel built with GCC 4.6
Several autoroot fixes (Superuser app pushed just once and correctly removed in /data)
Working reboot recovery command (with adb too)
Updated su (3.1.1) and Superuser (3.1.3)
A bunch of new command included in the new busybox (ifconfig, wget, vi, and many more !)
Build 9 :
Kernel built from sources
TUN/TAP driver included (for VPN)
Build 8 : Fix mass storage in CWM
Build 7 : Fix MTP
Build 6 : Key mapping in CWM fixed
Build 5 :
New recovery built from latest CM9 sources
Fixed generation of md5sum with nandroid
Increased font size in CWM
Boot partition backup and restore
New adbd built from CM9 sources (fixed an issue with hardcoded sh path in /system)
Build 4 :
Correct su binary
Don't wait 3 sec if /cache/recovery/boot exists
Build 3 :
Leds and vibrator at startup fixed
Sources
Ramdisk sources
Kernel sources
Credits
DoomLord : many thanks to him for its kernel and all his scripts.
championswimmer and sminki for their help
FreeXperia team for their work on CM
makes it perfectly start does not make any errors
greetings and thanks
yes it boots!
(maybe you can help with my Question here )
Hey, I also have tested several times to include recovery, but withut succes, didn't get any further then a booting kernel without recovery or vibration and LED on to enter recovery but no entering recovery and kernel that doesn't boot.
Please pm me if you want to work together, I saw your kernel is from ICX team? I know nick very well so I'd would be a pleasure to work with you too
sminki said:
yes it boots!
(maybe you can help with my Question here )
Click to expand...
Click to collapse
for this question and any other other question similar to this
head here
http://forum.xda-developers.com/showthread.php?t=1659584
it has menu driven process to extract and repack kernel.elf (ramdisk also can be extracted and packed )
Welcome Champ, good to see you mate.
I will leave the thread here as knowing you, you will have a kernel ready for us in a few hours.:fingers-crossed:
thanks for the test guys... so now i'm diving into including recovery....
good to know i could pull off kernel.elf editing in my first attempt lol
@colossus if not in hours, then definitely within 1 or 2 days
EDIT :
can someone send me the kernel.elf from FXP122 cm9 ??
will save me the time to download the whole ROM
This is sweet, good job!!
john9 said:
This is sweet, good job!!
Click to expand...
Click to collapse
Only a few files to edit now
We'll keep you updated
Sent from my LT26i using XDA
championswimmer said:
btw if anyone wishes to do this before me,
this diffstats should help you
https://github.com/championswimmer/xps-ramdisk/commit/a61969aefca00ce3a6e4e112e97403fb6f0c79e9
it shows how doomlord added recovery to gb kernel..
Click to expand...
Click to collapse
cool.. well that's a hell of a lot easier than the manual route I was taking. This was my goal, but for personal rather than pseudo "xda glory" as I'm working with DooM's stuff I didn't feel right posting it without his permission, but he's probably too busy to care
go for it championswimmer :victory:
Excuse my noob-ish question, but... what's the difference between a 'stock' kernel with recovery and a completely custom kernel like DoomLord's? Is it to do with core frequencies/governors?
fNOOB said:
Excuse my noob-ish question, but... what's the difference between a 'stock' kernel with recovery and a completely custom kernel like DoomLord's? Is it to do with core frequencies/governors?
Click to expand...
Click to collapse
Frequencies and governors are one possible customicing for kernels, for the most users the most important thing. also Kernel modifing can allows you init.d support, undervoltscripts and also allows (or denies) MSC support... and, for shure, clean out some tings, make things more efficiently and and and... a dev is nearly totaly free to create a very customiced kernel with or without special Driver support or so
noob.fl said:
Frequencies and governors are one possible customicing for kernels, for the most users the most important thing. also Kernel modifing can allows you init.d support, undervoltscripts and also allows (or denies) MSC support... and, for shure, clean out some tings, make things more efficiently and and and... a dev is nearly totaly free to create a very customiced kernel with or without special Driver support or so
Click to expand...
Click to collapse
Cheers mate
sminki said:
cool.. well that's a hell of a lot easier than the manual route I was taking. This was my goal, but for personal rather than pseudo "xda glory" as I'm working with DooM's stuff I didn't feel right posting it without his permission, but he's probably too busy to care
go for it championswimmer :victory:
Click to expand...
Click to collapse
using someone's work just because 'he's too busy to care' is not the aim which we at xda strive for ...
i've already talked with Doomlord regarding using his recovery... and as long as I clearly mention it's his work and provide links back to his thread, he has no issues with anyone else using it...
(and i'll surely do that ^^ when i release a kernel containing his recovery, if i ever do that)
championswimmer said:
using someone's work just because 'he's too busy to care' is not the aim which we at xda strive for ...
i've already talked with Doomlord regarding using his recovery... and as long as I clearly mention it's his work and provide links back to his thread, he has no issues with anyone else using it...
(and i'll surely do that ^^ when i release a kernel containing his recovery, if i ever do that)
Click to expand...
Click to collapse
cool, i was only making a bad joke, we all know DooM cares
sminki said:
cool, i was only making a bad joke, we all know DooM cares
Click to expand...
Click to collapse
lol.. ok
and i'll bring you some unicorns soon
championswimmer said:
lol.. ok
and i'll bring you some unicorns soon
Click to expand...
Click to collapse
I can't wait! :victory:
so this kernel has the ro.secure property in default.prop set to 0??
Tnaks mate for your job!
tested right now the test version and the sony logo fades and reboots
can you plug it into a pc and run a logcat from command prompt and give me the output of any comes??
Hi All,
I would like to install the custom rom of HTCdroid 2.4 to my HTC One V.
Currently the HTCdroid 1.2 rom is already installed on my phone, but I suspect I'm not using the correct kernel. The opening post of the topic explains how to install the rom:
1. Download HTCdroid_vX.X.zip from the link above.
2. Flash HTCdroid_vX.X.zip
3. Boot into bootloader and select fastboot, and flash the latest CharmKISS kernel.
4. Reboot.
5. You're done =P
I have a question regarding flashing the latest CharmKISS kernel. Where can I find the download link for this kernel. Or is the included boot.img (in the HTCdroid_vX.X.zip file) the CharmKISS kernel to flash? Or do I just need to flash the HTCdroid_vX.X.zip, and the kernel is automatically recognized?
The openrecovery-twrp-2.6.3.0-primou is already installed.
Can someone please explain me how to get the CharmKISS kernel, and if I need to flash this manually, so it's not included in the HTCdroid_vX.X.zip file?
Thanks for your help!
duckstad said:
Hi All,
I would like to install the custom rom of HTCdroid 2.4 to my HTC One V.
Currently the HTCdroid 1.2 rom is already installed on my phone, but I suspect I'm not using the correct kernel. The opening post of the topic explains how to install the rom:
1. Download HTCdroid_vX.X.zip from the link above.
2. Flash HTCdroid_vX.X.zip
3. Boot into bootloader and select fastboot, and flash the latest CharmKISS kernel.
4. Reboot.
5. You're done =P
I have a question regarding flashing the latest CharmKISS kernel. Where can I find the download link for this kernel. Or is the included boot.img (in the HTCdroid_vX.X.zip file) the CharmKISS kernel to flash? Or do I just need to flash the HTCdroid_vX.X.zip, and the kernel is automatically recognized?
The openrecovery-twrp-2.6.3.0-primou is already installed.
Can someone please explain me how to get the CharmKISS kernel, and if I need to flash this manually, so it's not included in the HTCdroid_vX.X.zip file?
Thanks for your help!
Click to expand...
Click to collapse
May I ask you what kernel are you using right now? Imho it is really not necessary to use exactly CharmKiss kernel. Some of us (including me) prefer other kernels compatible with a stock ROM (e.g. Titanium Kiss). I think TK kernel is a bit more stable but this may vary case by case and depends on a user experience. You may try both to get your own experience.
Oh yes, here is the link to Charm Kiss kernel if you will decide to flash it:
http://forum.xda-developers.com/showthread.php?t=2487113
Look inside the Sense folder. Stable or advanced is your own choice. =)
---------- Post added at 01:29 PM ---------- Previous post was at 01:15 PM ----------
If your phone is S-On (by default): you have to flash kernel using adb command through a usb cable.
If your phone is S-Off (it's not necessary but you can make it): the kernel (boot.img) included within a ROM package will be flashed together with the ROM itself. No extra step is needed to flash the kernel.
By the way, you can use some utilities to flash kernel, ROM, etc..
In example, WinDroid Universal HTC Toolkit or OneV All-In-One Kit.
kvestas said:
May I ask you what kernel are you using right now? Imho it is really not necessary to use exactly CharmKiss kernel. Some of us (including me) prefer other kernels compatible with a stock ROM (e.g. Titanium Kiss). I think TK kernel is a bit more stable but this may vary case by case and depends on a user experience. You may try both to get your own experience.
Oh yes, here is the link to Charm Kiss kernel if you will decide to flash it:
http://forum.xda-developers.com/showthread.php?t=2487113
Look inside the Sense folder. Stable or advanced is your own choice. =)
---------- Post added at 01:29 PM ---------- Previous post was at 01:15 PM ----------
If your phone is S-On (by default): you have to flash kernel using adb command through a usb cable.
If your phone is S-Off (it's not necessary but you can make it): the kernel (boot.img) included within a ROM package will be flashed together with the ROM itself. No extra step is needed to flash the kernel.
By the way, you can use some utilities to flash kernel, ROM, etc..
In example, WinDroid Universal HTC Toolkit or OneV All-In-One Kit.
Click to expand...
Click to collapse
It seems the current one is already a CharmKiss, but sometimes this one is unstable.
The current kernel is:
3.0.100-Charm-Kiss-Advanced
[email protected]) )
null
I will give it a try with the Charm-Kiss-20131020-stable-3.0.16.img kernel, or do I need the OC variant of it?
Hopefully the stable variant is more stable than the advanced one :laugh:
duckstad said:
It seems the current one is already a CharmKiss, but sometimes this one is unstable.
The current kernel is:
3.0.100-Charm-Kiss-Advanced
[email protected]) )
null
I will give it a try with the Charm-Kiss-20131020-stable-3.0.16.img kernel, or do I need the OC variant of it?
Hopefully the stable variant is more stable than the advanced one :laugh:
Click to expand...
Click to collapse
It's up to you. If you are looking for stability, choose stable versions. OC (overclocked) might be stable as well but there is a higher risk that something will go wrong.
And if you will not get a full satisfaction with CharmKiss you may try TitaniumKiss Kernel (http://forum.xda-developers.com/showthread.php?t=1765687) as well.
Not sure if im posting in correct area,
If Posted in wrong area, my Bad..
Ever since MultiRom come out for D851, People have been experiencing Kernel panics with the latest updates from the CM Sources. (Not everyone, But Most)
The method I used below has worked with no problems with me. I cant say it will work with everyone. But it worked for me..
I know installing a Full Kernel ZIP file on secondary rom can either take 45 mins or longer, or not even work at all. (My Experience.)
But the method listed below, only took 5 secs and worked perfectly..
Now I just wanted to post a work around for the people that are experiencing Kernel Panics when using MultiRom..
Example: you install CM-12 as a secondary rom, Reboot and it crashes with Kernel Panic,
Work around: This awesome Kernel: Optimized SM-4.9.3 Kernel V2.2 for D855/D851/D850/LS990 http://forum.xda-developers.com/lg-g3/development/kernel-optimized-sm-4-9-3-kernel-t2976049
Take that kernel and unzip file. Then in Multi rom settings in TWRP-MultiRom goto list roms.. Pick the Rom with the kernel panic and Then remove Boot image..
click on the add boot image now.. and then goto the unziped kernel from above, Find the boot.img and click on it.. it will add it.. takes only a few secs.
Reboot.. Kernel panic is now gone..... (Becides, that Kernel works great)..
Note: that above example is for Lollipop only.. I havent tested it with any other kernels.. Most kernels that I unziped had that bump stuff listed for the locked bootloaders.
and no correctly listed boot.img So.. it wouldnt work...
You can also Make a Backup of your current working boot image and then flash that into it, Havent testing it like that, but should work the same.
The other work around I heard posted is:
Install to primary ROM then move to secondary rom.
Thank you for this. I have been flashing RIN kernel after any cm12 I've installed since installing MultiROM. Seems to work too, but the hour long wait to flash a 7mb kernel really bugs me.
Next time I flash a cm12 as secondary I'll give this a go.
Eliminater74 said:
Not sure if im posting in correct area,
If Posted in wrong area, my Bad..
Ever since MultiRom come out for D851, People have been experiencing Kernel panics with the latest updates from the CM Sources. (Not everyone, But Most)
The method I used below has worked with no problems with me. I cant say it will work with everyone. But it worked for me..
I know installing a Full Kernel ZIP file on secondary rom can either take 45 mins or longer, or not even work at all. (My Experience.)
But the method listed below, only took 5 secs and worked perfectly..
Now I just wanted to post a work around for the people that are experiencing Kernel Panics when using MultiRom..
Example: you install CM-12 as a secondary rom, Reboot and it crashes with Kernel Panic,
Work around: This awesome Kernel: Optimized SM-4.9.3 Kernel V2.2 for D855/D851/D850/LS990 http://forum.xda-developers.com/lg-g3/development/kernel-optimized-sm-4-9-3-kernel-t2976049
Take that kernel and unzip file. Then in Multi rom settings in TWRP-MultiRom goto list roms.. Pick the Rom with the kernel panic and Then remove Boot image..
click on the add boot image now.. and then goto the unziped kernel from above, Find the boot.img and click on it.. it will add it.. takes only a few secs.
Reboot.. Kernel panic is now gone..... (Becides, that Kernel works great)..
Note: that above example is for Lollipop only.. I havent tested it with any other kernels.. Most kernels that I unziped had that bump stuff listed for the locked bootloaders.
and no correctly listed boot.img So.. it wouldnt work...
You can also Make a Backup of your current working boot image and then flash that into it, Havent testing it like that, but should work the same.
The other work around I heard posted is:
Install to primary ROM then move to secondary rom.
Click to expand...
Click to collapse
Or you can try the tootsie-pop test kernel. I implemented the multirom patch into it tonight. If everything works fine it'll be been bumped into the stable kernel and be included with bliss pop and Resurrection remix ROMs.
aclegg2011 said:
Or you can try the tootsie-pop test kernel. I implemented the multirom patch into it tonight. If everything works fine it'll be been bumped into the stable kernel and be included with bliss pop and Resurrection remix ROMs.
Click to expand...
Click to collapse
Yes from what I have tested it works with any Compatible flashable Kernel that unzips and has a boot.img..
The above kernel that I listed on post #1 is Stable but is overclockable, If you dont want that.. Then dont use that one, It was only listed as an Example.
I use that kernel with no problems.. I dont OC my phone, but its nice to have the option to do so.
Ill test out the tootie-pop kernel the next time I feel like messing with my phone.
Now isnt a good time, Im sick, and I have already messed up my linux system and my windows system (windows 10 Enterprise build 9926).. Had to do a fresh install on windows.. my linux doesnt want to let me mount my own drives in gnome.. Says I dont have access do to some error, But I am running Ubuntu Vivid 15.04.. so thats to be expected..
So touching my phone isnt a good idea right now.. I might just end up blowing it up the way my luck is going.
Thanks to the OP. This was a quick and simple fix to a frustrating issue.
Sent from my LG-D851
After doing a little research, and finding out that the MultiRom is pretty much dead. I decided to delete it all together and stick with the one rom that seemed
very stable and likable for me. I wont say what rom that was as to respect all developers on this forum.. So I stopped all testing and experiments dealing with MultiRom..
If the Developer once again decides to post updates and fixes. I will again. try it.. but for now.. I will no longer post any workarounds or help with this MultiRom section anymore...
As you know that thread was closed in the ROM Development section..
Q&A for [kernel][stock][D85520P][init.d][bumped]Stock EXperience (for) You -- SEXY
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [kernel][stock][D85520P][init.d][bumped]Stock EXperience (for) You -- SEXY. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Sexy kernel question
Hello . Is it possible to create a version of the set selinux permissive . Alternatively, if there is any init.d script that is changing. Greetings
mnkowalski said:
Hello . Is it possible to create a version of the set selinux permissive . Alternatively, if there is any init.d script that is changing. Greetings
Click to expand...
Click to collapse
Hello,
I did it and i can share if you want but you better use init.d to do this:
Create a file named 07setpermissive in /etc/init.d folder with inside this simple code, and give 755 permission to this file (with a root explorer).
Code:
#!/system/sh
setenforce 0
Reboot, and it's done (SELinux is set to "permissive"). If you want to disable it, you can tape in a terminal emulator;
Code:
su
setenforce 1
If you really need, i can share the same thing done in ramdisk.
I would be grateful for it
For many people this will be useful . I would appreciate it if he had se linux kernel permessive
mnkowalski said:
For many people this will be useful . I would appreciate it if he had se linux kernel permessive
Click to expand...
Click to collapse
Done, links are in original thread OP http://forum.xda-developers.com/lg-g3/development/kernel-stock-experience-sexy-t3120751
or
http://forum.xda-developers.com/showpost.php?p=61061948&postcount=8
You can hit thank's if it helps
Maybe I'm doing something wrong but the scripts in the init.d do not work, so it just me . I created a script to test init.di was not a log file . When installed with supermarket universal program init.d script then she began to move. I installed both kernels and nothing
mnkowalski said:
Maybe I'm doing something wrong but the scripts in the init.d do not work, so it just me . I created a script to test init.di was not a log file . When installed with supermarket universal program init.d script then she began to move. I installed both kernels and nothing
Click to expand...
Click to collapse
Did you give the right permissions to your script?
What does this script (code)?
permission is ok
Script :
#!/system/bin/sh
echo init.d is working >> / storange /emulated/0/initdsupport.txt
Using the program -> script starts , uninstall the program and stops working script
Sorry for bad english
mnkowalski said:
permission is ok
Script :
#!/system/bin/sh
echo init.d is working >> / storange /emulated/0/initdsupport.txt
Using the program -> script starts , uninstall the program and stops working script
Sorry for bad english
Click to expand...
Click to collapse
Try to write in /data, it should work
echo "init.d is working" >> /data/initdsupport.txt
None of this after the change does not work still , but with the application from google play test log appears and init.d works. I give up. If I ask for a hint
https://play.google.com/store/apps/details?id=com.androguide.universal.init.d&hl=pl
with this application works
mnkowalski said:
None of this after the change does not work still , but with the application from google play test log appears and init.d works. I give up. If I ask for a hint
https://play.google.com/store/apps/details?id=com.androguide.universal.init.d&hl=pl
with this application works
Click to expand...
Click to collapse
It didn't work because the path of sdcard is not good in your script.
If you want to write log in sdcard (internal storage) the code must be
Code:
#!/system/bin/sh
echo "init.d is working" >> /mnt/sdcard/initdsupport.txt
instead of your
Code:
#!/system/bin/sh
echo "init.d is working" >> /storage/emulated/0/initdsupport.txt
I just tested it, and it works well with my moded 20p ramdisk, without need of another system mod.
You just have to use /mnt/sdcard instead of /storage/emulated/0
App you are talking about is an emulation of init.d (not real init.d, as ramdisk supports), it uses install-recovery.sh.
http://forum.xda-developers.com/showthread.php?t=1933849
Can I install any of these kernels over one of your previous 5.x ROMs ( such as Androidnow HD). Or do I need to install the entire new ROM ?
If I can install just the kernel then do I need to root it ?
Many thx
soupratt said:
Can I install any of these kernels over one of your previous 5.x ROMs ( such as Androidnow HD). Or do I need to install the entire new ROM ?
If I can install just the kernel then do I need to root it ?
Many thx
Click to expand...
Click to collapse
Hi,
I don't know if i understand well your questions.
I didn't test all possibles combos (all possibles shared stock or based stock) roms with these kernels (ramdisks) moded, i think you can understand that
You can easily test it and report the result if you want, I (we) 'll be interested to read this.
For that, you need to know how to flash a kernel (custom recovery is the best solution), how to backup the one you used before, how to boot on custom recovery with hard key for eventually restoring this one you backuped before, how to quit a secure boot error screen (removing battery) that you can meet with a bad kernel, and, of course, that root is really needed for doing all of that.
Posted without using google translation, sorry for my english
6ril1 said:
Hi,
I don't know if i understand well your questions.
I didn't test all possibles combos (all possibles shared stock or based stock) roms with these kernels (ramdisks) moded, i think you can understand that
You can easily test it and report the result if you want, I (we) 'll be interested to read this.
For that, you need to know how to flash a kernel (custom recovery is the best solution), how to backup the one you used before, how to boot on custom recovery with hard key for eventually restoring this one you backuped before, how to quit a secure boot error screen (removing battery) that you can meet with a bad kernel, and, of course, that root is really needed for doing all of that.
Posted without using google translation, sorry for my english
Click to expand...
Click to collapse
Hi 6ril1 and thank you for your response.
I probably wasn't very clear. What I wanted to know is whether I can install just the 20p kernel on phone which has a rom with an earlier kernel (like 20i or similar). Would the 20p kernel have any issues with a ROM designed for an earlier kernel. Up to know I used Seven's Androidnow HD ROM but unfortunately he has pull out support for newer ROMs due to some asshat distributing his ROMs without consent. The last ROM he had was 14 but it wasn't fully optimised. I am using his earlier 10.3 Androidnow HD ROM. So I was wondering if your 20p kernel will work ok with having to install a whole new ROM.
Cheers
soupratt said:
Hi 6ril1 and thank you for your response.
I probably wasn't very clear. What I wanted to know is whether I can install just the 20p kernel on phone which has a rom with an earlier kernel (like 20i or similar). Would the 20p kernel have any issues with a ROM designed for an earlier kernel. Up to know I used Seven's Androidnow HD ROM but unfortunately he has pull out support for newer ROMs due to some asshat distributing his ROMs without consent. The last ROM he had was 14 but it wasn't fully optimised. I am using his earlier 10.3 Androidnow HD ROM. So I was wondering if your 20p kernel will work ok with having to install a whole new ROM.
Cheers
Click to expand...
Click to collapse
Hi,
Just try it, after the usual precautions (Make kernel backup before in custom recovery. It means backup boot partition)
Flash kernel, and if it doesn't work on your rom, restore the last one you backuped, that's all
I tried it with an older lp stock with succes (these moded boot worked with older stock firmware).
As i answered you before, if you have a security error screen (following by a black screen without any possible acces) on boot with the new kernel, remove battery, reboot in custom recovery with hard key combo (=> buttons power + volume down, release when logo appears, and again power + vol down, until custom recovery acces appears), and restore your previous kernel that worked. As simple like that
Of course, prerequisite is that you have twrp installed.
Hi
Im using zenfone 4 a400cg stock rom with android lollipop.i need help to enable init.d on my device as i have done all method found on the internet but still no result...please some 1 help x.x
Sent from my ASUS_T00I using XDA Free mobile app