yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] xilapa:
[MENTION=5736790]kingkaminari[/MENTION] Any chance for a AOSP version of your kernel?
[Moto G Android Development] :
The CM version should work fine with AOSP.
[Moto G Android Development] xilapa:
Tried, but it didn't let me install
[Moto G Android Development] :
I edited that, I said above by accident. I meant in the other thread. The above kernel is for CM12. I thought I tried the CM13 based kernel on an AOSP based ROM a few days ago and it flashed fine.
[Moto G Android Development] DoctorStrange96:
Here's version 1.4.1. The sole major change is that the dancedance governor is back.

This version DOES NOT WORK on any rom which isn't stock 5.1/idcrisis 5. So don't bother trying to flash this on idcrisis 6/cm12/13/whatever.

https://www.androidfilehost.com/?fid=24459283995314589
[Moto G Android Development] :
On v1.4.1 with dancedance gov, CPU freq is stuck at 1190mhz.
[Moto G Android Development] DoctorStrange96:
I know about it. Thats why i removed dancedance in the earlier builds. I suggest you avoid using it then
[Moto G Android Development] gemtin92:
Hi, I would like to flash "Kaminari SuperLite"

In first post you said "Place the zip at the root of your phone's internal storage" - what does it mean? I cant see such folder.

Edit:

nvm I am stupid, on root browser i can see this folder, havent seen it when browsing via pc :)

Edit2:

after copying files to root folder i cant see them in twrp.. any idea?
[Moto G Android Development] adinkwok:
Have you tried navigating through folders with TWRP? If you select install zip, at the top you should see a folder with two periods like ".." which is the option to move up/back a subfolder.
[Moto G Android Development] DoctorStrange96:
"Root of your phone's internal storage" means /sdcard.
[Moto G Android Development] sebastiandg7:
Hi man, thanks for keepong this project up! Just a question: I have never being able to use s2w or s2s... can you guide me to use it?
[Moto G Android Development] :
All you need to do is activate s2w/s2s with Kernel Adiutor, and it should work fine. I recommend using dt2w though because the lock screen shortcuts get in the way of s2w/s2s, and you end up opening the dialer or camera. After a reboot, you'll need to turn the screen on with the power button the first time because for some reason dt2w won't work until you do.
[Moto G Android Development] sebastiandg7:
I hace tried but had no luck... Thanks anyway
[Moto G Android Development] ka4o_pi4a:
I'm trying to go from last kaminari kernel to stock 5.1 kernel but have no luck. My Moto G stay on boot logo Android. Any sugestions ?
[Moto G Android Development] :
Flash the attached zip, wipe dalvik/cache and reflash SuperSu. Always works fine for me.

https://mega.nz/#!RxoCySYI!0m7a9mR4BdAn0Tu7HHyrf7j0YyVrYB-1bgmnDiGGs6Y
[Moto G Android Development] ka4o_pi4a:
Thanks, but my moto is xt1032... can I flash xt1031 kernel ?
[Moto G Android Development] :
Yes, I forgot to mention it's the same kernel.

Edit: actually, I'm wrong. I forgot there is a slight difference. Flash this one:

https://mega.nz/#!51BQCBQY!2hApdFdPgY6AHFzE7IkbQeNKtuPPWnyOe98rFFBbA54
[Moto G Android Development] ka4o_pi4a:
Nothing hapened. The boot loop continues. When flash the kaminari 1.4.1 the system boots, but the luncher and other apps keeps stop working and keep restarting. Is there a pure stock 5.1 for xt1032 ?
[Moto G Android Development] :
That's strange, you must have done something wrong. Here's all the stock ROMs:

http://xdaforums.com/moto-g/development/rom-stock-motorola-lollipop-rom-t3017510
[Moto G Android Development] ka4o_pi4a:
Do I need to do some ext4 to f2fs format or.... Please halp me. I try flashing XT1032_Retail_EU_51_Untouched over Custom Recovery, it flash the zip, then reboot and nothing stay on Google logo with unlocked icon. I want to go back to stock 5.1..... how to do it from GPE 5.1 ?
[Moto G Android Development] :
If you were running GPE 5.1 it should have been ext4 data format, so yes, you will need to format /data to f2fs.
[Moto G Android Development] ka4o_pi4a:
I formated everything and can't boot to system. I have only CWM recovery. How to install the stock 5.1 rom - it was deleted by format... I'm going to smash my moto in the wall....

EDIT: Just manage to install TWRP, the phone then appear in the windows, copy the new ROM and it's working now.

I will never again install GPE !
[Moto G Android Development] Debangshu:
I installed this kernel kaminari2.0 latest on my Motorola moto G 5.1 stock with twrp 3 which lead to a condition where I could not go beyond the bootloader unlocked warning screen. Could not enter twrp as well. However using the fast boot combination for 2 minutes got me into recovery. I flashed 1.4.6 version of kaminari and it works good
[Moto G Android Development] DoctorStrange96:
Errr... Version 2.0 doesn't work on anything that isn't that ported titan stock 6.0. I said that on its thread.
[Moto G Android Development] Mister Muscle:
i need this for cm 12.1 :(
[Moto G Android Development] DoctorStrange96:
There's a cm12.1 test version here. Check the previous pages.
[Moto G Android Development] gabling23:
I don't know if it's me but the donwload links are not working
[Moto G Android Development] :
I almost forgot, here are a couple init.d scripts to activate dt2w and s2w. Just rename and delete the .txt extention and put which ever you want or both, in /system/etc/init.d, then set permissions to 0755 and reboot. If 0755 doesn't work, set it to 0777. I noticed the problem I mentioned with dt2w is gone using these instead of activating them with an app. It should work for you.
[Moto G Android Development] maurit43:
Hello, I´m using 5.1 stock optimzed by Lost101. Is this kernel the best option to change the stock? and wich version i should to flash ?

thanks !
[Moto G Android Development] DoctorStrange96:
You can flash the latest version from this thread (1.4.1).
[Moto G Android Development] DoctorStrange96:
Kernel updated to version 1.4.2!

Download

Changes:

- Linux version 3.4.112

- BusyBox version 1.24.2-Stericson (The flashable zip will update your existing busybox)

- Re-added bioshock & lionheart governors

- Reverted to -O3 optimization to decrease image size

- Init.d script: Reverted to stock minfree values & changed cpu-boost settings
[Moto G Android Development] cichy1173:
Usb fast charge? Snapdragon 400 isn't going with quick charge so how it's work? It is good?

Moto G & Tapatalk
[Moto G Android Development] :
Just wondering if you planned on or could make an OC version. If was getting better performance with the last OC build than the non-OC builds.
[Moto G Android Development] DoctorStrange96:
An overclock-ready build will be coming soon
[Moto G Android Development] DoctorStrange96:
For those of you who like some overclocking, here's another v1.4.2 zip for you.

https://www.androidfilehost.com/?fid=24545065934258445
[Moto G Android Development] DoctorStrange96:
Kernel updated to v1.4.3 Beta 1!

This is available only as an overclock-ready build. If you don't want CPU overclock, stay on 1.4.2.

Changes:

- Disabled mpdecision (both system- and kernel-side)

- Replaced thermald with intellithermal (as thermald was causing any frequency > 1.2GHz to not work)

- The BusyBox binary will only be replaced if it's out of date (this zip comes with version 1.24.2 by Stericson)

Download
[Moto G Android Development] Ouenz:
:good: :D

work for my xt1033

good job bro
[Moto G Android Development] DoctorStrange96:
I got to the conclusion that its not very wise to remove mpdecision here. So uh, beta 2 brings it back.

https://www.androidfilehost.com/?fid=24545070682210662
[Moto G Android Development] Gabriele_Treglia:
Is there gonna be a new version of the optimized stock kernel? I always found it the best one

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G Android Development] DoctorStrange96:
Positive.
[Moto G Android Development] DoctorStrange96:
Kernel updated to v1.4.3!

Changes:

- Compiled using Fedora 23 & generic Linaro 5.3 toolchain (I'm done with the *buntu systems... at least for now)

- BusyBox will only be updated if it's really outdated (duh) (this kernel includes version 1.24.2)

Since AFH is down (-.-) i'll have to upload the zips as attachments here. Have fun.
[Moto G Android Development] Lollauser:
Hail to the king :)

On my XT1032 i'm on stock 5.1, root access, and your lite kernel which i don't remeber the version but in phone info is called 3.4.110-something Jan 9 2015

I would like to move on Identity Crisys to give MM a try ;) can i directly flash new rom or have i to flash stock kernel and then the rom? (second choice, i suppose...). Of course wiping everything before and after.

Thank you again for your excellent work :good:
[Moto G Android Development] DoctorStrange96:
Before flashing the rom, factory resetting & wiping /system should suffice. And the rom already comes with a stock-ish kernel, the only thing you've gotta do is flashing the custom kernel.
[Moto G Android Development] DoctorStrange96:
The 1.4.3 zips are now available on AFH too. The OP links have also been updated.
[Moto G Android Development] DoctorStrange96:
Kernel updated to version 1.4.4!

Changes:

- Replaced Msm Hotplug with AutoSMP (thanks [MENTION=4723408]hurtsky[/MENTION] for the original autosmp implementation)

- Added Zzmoove governor (ditto)

- Removed overclocking from non-OC builds (That was due to a merge derp)

- Compiled with new optimization flags (thanks [MENTION=5284595]YoshiShaPow[/MENTION])

- Added frandom support (ditto)

Downloads are at the OP.
[Moto G Android Development] DoctorStrange96:
Here's an untested (read again: untested!!!) SuperLite build.

https://www.androidfilehost.com/?fid=24572369360126092
[Moto G Android Development] knoober:
I know it is kind of silly to ask, but write protection is removed right? Thats basically all I was after but the rest looked nice as well :) Gapps are reinstalling themselves on reboot is why I ask -- that is incidently why I went looking for a new kernel. I assumed write protection was causing that, but am not so sure anymore.

As I said though it seems like everything else is working as it should , so thanks for the hard work
[Moto G Android Development] DoctorStrange96:
Afaik there's no write protection. Unless you're unlucky enough to have a Verizon variant - but thats a different story, bud. And i dont even know if vzw moto Gs have this write protection bull****.
[Moto G Android Development] DoctorStrange96:
Quick note.

Some of you may notice that /system is mounted r/w at boot time. Thats due to a modification i made to the fstab in order to try to get my phone to accept writes to the system partition whilst Android is running.

My phone got a motherboard replacement and Im thinking that they (mistakenly?) put in an engineering/developer board, which came with a different eMMC chip (Samsung, whilst most models use SanDisk) and bootloader unlocked by default. And now the phone simply discards any writes made to /system except when its in recovery mode.

Ive got two hypotheses: 1. This eMMC chip is fried; 2. There's some other kind of write protection enabled in the bootloader.

This still needs further investigation.

I'll put up v1.4.4_r1 which reverts this fstab mod. In a few hrs.

P.S. it turns out that my quick note wasnt so quick. My bad. And sorry for going OT with all that mobo/emmc stuff but it had to be done.
[Moto G Android Development] DoctorStrange96:
It happens that 1.4.4_r1 became 1.4.5.

Apart from reverting that fstab, i also had to fix a lil problem with autosmp. Therefore it should work properly now. Zzmoove also had to say goodbye.

Links at the OP.
[Moto G Android Development] Gabriele_Treglia:
I've tried both the 1.4.5 and the new super lite kernel. The super lite took a lot of time to boot (the app optimization) and was pretty laggy. The 1.4.5 seems pretty good but I don't think it is as fast or smooth as the the optimized stock from January (at the moment my "go to" kernel).

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G Android Development] DoctorStrange96:
Public Service Announcement!!!

From now on, KaminariKernel for Lollipop will use the same thread as KaminariKernel for Marshmallow. I believe this makes more sense since both are for stock ROMs anyway.

I'll contact a mod to get this thread closed. Meanwhile I'll be preparing new builds for both L and M.

Thanks in advance.

Edit: Disregard that. What truly happens is that I decided to, let's say... reset the development of this kernel. So from now on, the kernel will use a Rx naming scheme, where x is a release number (so it'll be R1, R2, R2.1 for an eventual emergency revision or sth, and so on).

The LP and M versions will each have their separate thread, as it has always been. The "pre-reset" builds (v1.x.y) will still be available.

But enough of that. Enter KaminariKernel R1. Our first "post-reset" build.

Changes:

- Built from scratch (cherry-picked almost everything again)

- No more Linux version bumps (maybe our device wasn't truly made to work with any version > 3.4.42 :p )

- Added a simplified msm-thermal driver by [MENTION=5284595]kwoktopus[/MENTION] (which is based on [MENTION=3292224]franciscofranco[/MENTION]'s one - kudos to both!)

- Wakelock controls have been removed

- Almost all other features from the pre-reset builds have been kept

Download!!!

Overclock-ready build coming soon. Maybe tomorrow or Sunday. (Internet connection having issues. Had to use some tethering here.)
[Moto G Android Development] DoctorStrange96:
Here's the overclock-ready build.

https://www.androidfilehost.com/?fid=24588232905720056
[Moto G Android Development] miguelrivas:
30th June? I waiting for overclock version bro, thank you for your work.
[Moto G Android Development] :
Check the post before your last. It was up 3 hrs ago bro.
[Moto G Android Development] sabotendar:
Good kernel
[Moto G Android Development] Dr. Brawler:
June 30 build is for 6.0?
[Moto G Android Development] koshikas:
no, kernel in this thread is for stock/GPE lollipop 5.1. there were two 6.0 kamineri kernel threads for AOSP/CM and identity crisis 6.0
[Moto G Android Development] DoctorStrange96:
Kernel updated to R3!

Downloads:

Regular

Overclock Ready

Changes:

- Interactive's parameters have been tweaked

- FauxSound's "Quality" preset is now applied by default

- Faux Sound Control driver updated to v3.5

Note: Beginning with this release, this kernel will no longer include BusyBox. You will have to install it separately (either via Play Store or via flashable zip - I recommend you install the zip from this thread).

Note 2: If you come from R1, you should reinstall the stock kernel first, because I (improperly) messed up with some ramdisk stuff which broke the low memory killer. Installing the stock kernel should fix that by restoring the original ramdisk. You can install R3 fine after that.
[Moto G Android Development] miguelrivas:
Hi, I have R1 installed, so I need to install stock kernel you recommend from your post #1 or from lost101s post? My rom is Retail EU optimized.
[Moto G Android Development] anzhaki:
SuperLite version has a bug: cpu frequencies are locked to 384 so after flashing, optimizing application time was really slow and I had to put to normal cpu frequencies
[Moto G Android Development] Mchasard:
Thanks WiFi works fine with this new version.... I'm using identity crisis rom

Envoyé de mon XT1039 en utilisant Tapatalk
[Moto G Android Development] PanchoPonceN:
I've using this kernel without an issue, including the newest version. Of course, there's still the issue with the cores online all the time (according to Kernel Adiutor) which causes major battery drain. I will continue using it regardless, but If you can fix that, this kernel would be great!
[Moto G Android Development] jonas210678:
No Problem for me here. Try an other gouverner. Smartmax and bioshock are working fine. Only one or two kernels are online
[Moto G Android Development] PanchoPonceN:
I am using smartmax. But I tried other governors and is still the same. :rolleyes:

I think kingkaminari did acknowledge the problem on this post.
[Moto G Android Development] DoctorStrange96:
I have no such problem here. All cores go online and offline as intended, with all governors. I use dancedance and yankactive.
[Moto G Android Development] PanchoPonceN:
Is it a problem that I'm using lost101's GPE 5.1? I will do a clean install of his newest ROM version plus your newest kernerl version and will inform again.
[Moto G Android Development] DoctorStrange96:
Using a gpe rom shouldnt be a problem. And yeah, try a clean flash of his rom + my kernel (remember to use version 1.00a1 - its the latest one!) and report later
[Moto G Android Development] abeloman:
[MENTION=5736790]kingkaminari[/MENTION] any chances of implementing undervolt? Like aero kernel by blechdose? I would like to move the values and get some extra juice

Thanks for your work!
[Moto G Android Development] DoctorStrange96:
I'll try that. As long as i don't get any build errors and it works fine with me, then maybe i'll include it in the next build
[Moto G Android Development] taadow1030:
Do the new versions have the kexec patch? When flashed ID Crisis, it would not boot and showed the error log.
[Moto G Android Development] DoctorStrange96:
Yes i've got that patch merged. And enabled of course. But i don't use multirom at the moment. And is IDCrisis itself multirom compatible?
[Moto G Android Development] :
ID Crisis is a stock based rom, and will not boot as secondary if your trying to install it as a secondary rom.
[Moto G Android Development] taadow1030:
I was seeking to test drive ID Crisis in the secondary slot while keeping stock in the Primary. Will try again. Thanks to you both!
[Moto G Android Development] :
[MENTION=5736790]kingkaminari[/MENTION] I just found that power hal is not in the same location stock as in CM. It's in /system/lib/hw, not /system/vendor/lib/hw. So, it's not actually being disabled.
[Moto G Android Development] DoctorStrange96:
Will be fixed in the next version.
[Moto G Android Development] DoctorStrange96:
Simple_ondemand is already present.
[Moto G Android Development] Akshay7273:
Ohh sorry...actually 1 build ago i tried that nd it just gave me a soft reboot
[Moto G Android Development] :
Use an init.d script to change settings that cause a force clos.

Edit: I meant soft reboot not fc.
[Moto G Android Development] Akshay7273:
Can u explain a bit...plz
[Moto G Android Development] :
Place the attached file in /system/etc/init.d, remove the .txt from the file name, and set permissions to 0755. Reboot and it should be set to simple_ondemand. You can also add any other settings that the kernel supports, and they will be applied at boot a bit sooner than Kernel Adiutor will apply them.

Edit:View attachment gpu_settings_init.d_script.txt
[Moto G Android Development] Akshay7273:
Thanks bro...trying it
[Moto G Android Development] DoctorStrange96:
Damn, i forgot to cherry-pick the commits which fix that. Don't worry, the next version will have them.
[Moto G Android Development] DoctorStrange96:
New version building right now. This time it's the second alpha of version 1.00.

Changes:

- Removed dt2w and s2w as both were buggy

- Removed headset high-performance mode

- Added two new governors: pegasusq and zzmoove

- Fixed simple_ondemand crashes

- New adbd binary which is "insecure" by default (thanks to [MENTION=631273]Chainfire[/MENTION] - I actually extracted it from his app)

I'll post the links here later.

Edit: Download it from here.
[Moto G Android Development] Mchasard:
I didn't note that dt2w doesn't work pity that you remove it from the last version

Envoyé de mon XT1039 en utilisant Tapatalk
[Moto G Android Development] DoctorStrange96:
It was partially broken, so i decided to remove it. And idk why it was broken with my kernel (maybe incompatibility with stock kernels? It worked fine on optimus - which is an aosp/cm kernel)
[Moto G Android Development] abeloman:
I didn't suffer any kind of problems with dt2w... So I think I'm gonna stick with previous version :)

I'm anxious about voltage control to be honest
[Moto G Android Development] DoctorStrange96:
I tried to cherry-pick the voltage control commit from aero kernel but it ended up in a conflict, and i dont know how to code in C (at least not that much), so i couldnt resolve the conflict
[Moto G Android Development] jayc137:
Does this fix the black screen bug which is found on all stock Motorola ROMs? (not gpe ones for some reason though)

That bug renders your phone useless you reflash it after factory resetting your phone.
[Moto G Android Development] DoctorStrange96:
Which bug is that? I have never had it
[Moto G Android Development] DoctorStrange96:
New version coming up! We're now going to the third alpha.

Changes:

- Added back DT2W and S2W

- Added back headset high-perf mode

- A few cpufreq tweaks

- Added CPU underclocking (up to 96MHz)

Note: For those wanting cpu undervolting, sorry guys but its not gonna happen. I've merged it, the kernel built fine, but it wouldn't boot (went into a red screen saying "watchdog reset" right after the Motorola logo). So i had to revert my commit. Adding underclocking is all i can do to help you get some extra juice. Again, sorry about that.

Download link coming soon.Edit: Download from here.
[Moto G Android Development] droider007:
plz add intelliplug bro
[Moto G Android Development] Akshay7273:
[MENTION=5736790]kingkaminari[/MENTION] bro...so we almost got everything...can we get some better hotplugs too?? Like the one hurtsky uses in his kernel(sry cant remember the name) ... And yeah thanks a lot for all your work
[Moto G Android Development] abeloman:
AutoSMP hotplug
[Moto G Android Development] DoctorStrange96:
[MENTION=5622560]Akshay7273[/MENTION] and [MENTION=4618329]abeloman[/MENTION]: Adding a custom hotplug would require too many changes to the cpufreq and cpu-boost drivers (and maybe even the schedulers) - since we're working with a stock-based kernel - and my past experience with these wasnt good at all. In almost all cases the kernel didnt even build. I'd have to jettison my current source and start everything again, from scratch, and only then merge those commits. And this would take a damn lot of time. But i'll try to do that nonetheless
[Moto G Android Development] abeloman:
I'm satisfied with your current work, I think mpdecision is the best choice... I was just answering the name of the hotplug :)
[Moto G Android Development] PanchoPonceN:
Clean install of lost101's GPE 1.3 Optimized ROM and your newest kernel got rid of the "all cores online all the time" problem. Let's how this work now and on. Thanks! :D
[Moto G Android Development] DoctorStrange96:
Nevertheless, it was best to explain why its difficult to add a custom hotplug right now ;) and i also think that mpdecision is the best choice
[Moto G Android Development] Bert98:
I can't flash either version of the kernel on lost101's latest optimized GPE. It keeps telling me "checking device... Failed

Unsupported device. Abort" and it won't flash. I haven't touched my build.prop at all, it's the ROM's stock one. Can somebody help me?
[Moto G Android Development] :
Unzip it, and open the anykernel.sh with a text editor and change the 1 after device check to 0, rezip it and it should flash.
[Moto G Android Development] abeloman:
Suffer some random reboots on last build... Get back to alpha1 and everything is working fine...

I was using smartmax, 192 mhz, fiops, simple algorithm gpu, double tap activated... I suspect last build was the culprit
[Moto G Android Development] DoctorStrange96:
I'm using almost the same setup as you but with a few differences: yankactive instead of smartmax, and zen instead of fiops. And i swear i havent had a single random reboot. But feel free to use an older version if you're having trouble with this one
[Moto G Android Development] Bert98:
Awesome, it worked :D
[Moto G Android Development] abeloman:
Haha, in any case I'll stick with your kernel :D
[Moto G Android Development] Akshay7273:
Well i am happy with current builds...that was my greediness..haha(kiddingg)
[Moto G Android Development] abeloman:
Two days and with this setup everything is working like a charm :D

Just to be sure, is your kernel compatible with multirom?