yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Q&A, Help & Troubleshooting] maulw:
Hi.

I have a few questions about the Devil Kernel - http://xdaforums.com/galaxy-s3/orig-development/kernel-devil2-2-3-2-omni-cm-samsung-t2528624/page188 - but I just can't post it in there because of my newbie status on the forum (well, and I'm kinda newbie).

Does this kernel works with the stock 4.3 that has just been released this month? (I use a locked GT-I9300 intl from Brazil)

Also, does this kernel works on CM11? I'd say yes as I saw something like this on one of the first posts on that thread.

Regarding dual boot, does this kernel works with the stock 4.3 + CM11?

Just as I said, some newbie questions :)

Thanks.
[Galaxy S III Q&A, Help & Troubleshooting] coolhof:
Yes it works with 4.3 and cm11.

Just read the treat carefully.

Send From A Devil3 - f2fs - Dualboot Powered Machine
[Galaxy S III Q&A, Help & Troubleshooting] maulw:
So, basically I can flash my stock back, flash the new kernel and maybe even create a dual boot with CM11?

I am not sure yet if I really want the stock back, but it does have some things I miss - like multi-window. But I do find interesting this dual boot idea - always did, since I used to run both windows and linux on the same machine ;)
[Galaxy S III Q&A, Help & Troubleshooting] SnowPluralism:
Yes its like that but please make sure to understand how this works :)

Read all steps :)

Because dual boot Android is far different from dual booting windows and Android :)

And if u like multiwindow go for omni ROM its based on kitkat and has similar feature

Enviado do meu GT-I9300 através de Tapatalk
[Galaxy S III Q&A, Help & Troubleshooting] maulw:
I've read the steps, I'm comfortable with proceeding if this is the direction I decide to go to. I did flash other phones before and have some knowledge about it, so my questions now are

- If something goes wrong, I can flash another rom (sotck or custom)?

- When you say that dual boot is dfferent, how different is that? I can assume there is no "grub" menu to chose system, how is it done?

Thanks!
[Galaxy S III Q&A, Help & Troubleshooting] coolhof:
Search the devil2 treat for the DEVIL3 kernel.

And flash also the recovery if you want dualboot.

I also have a stock 4.3 and cm11 dualboot.

Read a lot and have fun with dualboot setup.

Send From A Devil3 - f2fs - Dualboot Powered Machine
[Galaxy S III Q&A, Help & Troubleshooting] maulw:
Hi - I have downloaded the files from your signature - Devil3.4_0.1.4-i9300-DUAL...something and the recovery one and the DevilTools-1.1.2.

Just not sure about reintalling the stock, I'm enjoying CM11. May give Omni rom a shot on dual boot :)

So, now the question is, can I install the kernel, recovery and tools even if i'm not going to use dual boot? As per the original thread, it seems there are lots of advantages. Do you guys recommend it?

Thanks again!
[Galaxy S III Q&A, Help & Troubleshooting] coolhof:
Yes, you can use it also without dualboot.

If you are a noob in this stuff I recommend NOT to format to f2fs.

Leave you're partitions to ex4.

To delete a second rom partition you only have to remove the .secondrom from system/data/media.

(Always flash the kernel after installing a new rom)

Send From A Devil3 - f2fs - Dualboot Powered Machine
[Galaxy S III Q&A, Help & Troubleshooting] maulw:
Thank you all for your answers so far.

A new question is - does this kernel also works with s4? Both stock and / or custom ROM (CM or Omni)?
[Galaxy S III Q&A, Help & Troubleshooting] coolhof:
No it doesn't work on the s4.

Don't even try.

You can brick you're phone.

Send From A Devil3 - f2fs - Dualboot Powered Machine
[Galaxy S III Q&A, Help & Troubleshooting] maulw:
Is there a custom kernel with dualboot function that you recommend for the s4?

Thank you.
[Galaxy S III Q&A, Help & Troubleshooting] coolhof:
I don't know for the s4.

Don't own a s4 so I can't help you with that.

Send From A Devil3 - f2fs - Dualboot Powered Machine
[Xperia SP Q&A, Help & Troubleshooting] selmane24:
HI,

i have an xperia sp i have updated to 4.3 (12.0.A.1.266).Lags,Slow,Restart daily...

i will waiting for a correctif update (12.1.A.1.192) .. If no I will Downgrade to 4.1.2 but which one ?

which is the best Rom for Xperia Sp PLease i need help !!
[Xperia SP Q&A, Help & Troubleshooting] sourabhp:
well, everyone is waiting for certified bug fixing update but as usual sony has tendency to keep the customers waiting just like they did it for 4.3 first release.

4.1.2 is still best. you can revert to it using flashtool. or you can try roms like Ultimate XSP, eXistenZ etc
[LG Optimus G (International)] seba2121:
1.Post your CPU BIND

2.Your UV table

3.Add ROM and kernel info

My settings

CM11, Solid Cyano v.6

CPU bind 4 fastest

CPU frequencies

1026-1728mhz

Wysłane z mojego LG-E975 przy użyciu Tapatalka
[LG Optimus G (International)] nch26:
The last frequencies you can UV more than that.

I have the same as you but with 12+ in all frequencies to make it safe but from 1512000 to 1836000 i have -50Uv more or less.

I dont know why in Stock ruby kernel on stock ROM 384000 mhz i cant UV more than 750UV.
[LG Optimus G (International)] seba2121:
For me 3 last frequencies with lower voltage is very unstable restart, freezes .

Wysłane z mojego LG-E975 przy użyciu Tapatalka
[LG Optimus G (International)] nch26:
I have

1512 mhz 1000

1620 mhz 1037.500

1728 mhz 1087.500

1836 mhz 1137.500

Especially your 1836mhz Im pretty sure you can -UV more.
[LG Optimus G (International)] ag.kgb:
1.Post your CPU BIND

What to type in terminal emulator to check this ?

i'm on carbon rom with in-built kernel

EDIT: found it ..."(Command dmesg | grep PVS should be run as soon as possible after reboot, also you need to su before)"
[Moto G Original Android Development] Blechd0se:
Hello guys,

let me present to you my Moto G Kernel. Its based upon the stock Moto G kernel source and was build for the stock ROM.

The main goal for this kernel is to improve battery life while keeping up a reasonable performance.

Features;

Added my own hotplug-driver (disabled mpdecision)

Improved and updated interactive governor with touchboost

Simple ondemand GPU governor

Vibrator control with additions from me

Real Voltage Control

It just works and is stable (on all devices for stock ROM)

Many small improvements e.g. updated subsystems and fixed memory leaks

I tried to keep this kernel as clean as possible with useful features. Always make a backup before installing and if you are coming from

a different kernel keep in mind that you'll need to reflash the stock modules (if changed). This kernel should work for all stock roms (dual sim as well as GPE).

How-To-Install;

be sure to make a backup first

via fastboot; fastboot flash boot /path/to/boot.img or fastboot boot /path/to/boot.img (if you just want to try it without flashing)

via zip; install zip in your favorite recovery

Keep in mind that /system/lib/hw/power.msm8226.so should be renamed or deleted if flashed via fastboot (zip does it automatically).

Download

Changelog

Looking for the CM-Kernel? Head over to this thread!

If you want to tweak it, you can also do with my own app.

If you like this work and want to donate something;

Enjoy!

How-To-Build:

Go to my Github (kernel as well as ramdisk source are available).

git clone https://github.com/Blechd0se/kernel-moto-g.git
cd kernel-moto-g
git checkout kitkat-mr2-release-falcon
export CROSS_COMPILE=/path/to/your/toolchains/arm-eabi-4.7/bin/arm-eabi-
export ARCH=arm
make msm8226_defconfig
make -j64

I use googles default 4.7 toolchain as well as 64 jobs, you might change this value depending on your system.

Once build, you'll need to repack the ramdisk.

For repacking the boot.img i use the following;

mkbootimg --pagesize 2048 --base 0x10000000 --cmdline 'console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 vmalloc=400M utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags' --kernel kernel-moto-g/arch/arm/boot/zImage-dtb --ramdisk kernel-moto-g/ramdisk/ramdisk.cpio.gz -o /output/boot.img
[Moto G Original Android Development] Blechd0se:
How does the hotplug driver work here?

My hotplug driver is based upon [MENTION=3292224]franciscofranco[/MENTION] idea to keep minimum two cores online while the screen is on.

In addition to this there are load counters on both of those cpus. If they reach a certain threshold another core gets onlined.

So cpu0 is bound to cpu2 and cpu1 is bound to cpu3 in terms of onlining. If onlined, cpus stay a certain amount of time

online before they consider to eventually go down again. Since hotplugging is kind of an intensive and expensive operation and threads

might be migrated my algorithm always offlines the lowest load core.

If screen is off, there is only one core online.

Here is a quick overview about the hotplug driver tunables;

.

Why do i have to rename/delete this lib?

Because it interferes with my changes to the interactive governor. You can keep it, but it might produce very strange issue. You can just

rename the file if you want to restore it later.

Can i tweak this kernel or do i have to?

Of course you can. You can use any of your favorite kernel tweaker app. I have also made one if you might want to use it, here is the

play store link.

You don't have to tweak it. It ships with well tested values and is already preconfigured.

As always, just enjoy your device.

How can i control the vibrator strength?

This option is not yet available in my kernel app. The actual sys path is; /sys/devices/virtual/timed_output/vibrator/vtg_level

The default value should be 18, the maximum is 31 and the my lowered minimum is 10.

e.g. echo 10 > /sys/devices/virtual/timed_output/vibrator/vtg_level

Coming from a different kernel?

If you come from a different kernel its likely that your modules are overridden. This kernel uses stock modules. You can

use this flashable zip by [MENTION=5188092]justjr[/MENTION] to restore your modules.

How to use color control?

Use the following in your terminal; echo 255 230 210 > /sys/devices/platform/kcal_ctrl.0/kcal

First value are reds, second value are greens and last value are blues.

Turn your display off -> on and profit :)
[Moto G Original Android Development] Bec de Xorbin:
Very nice! Competition is always welcomed. I'll follow this development. Seems promising so far.
[Moto G Original Android Development] denzel09:
Good to see a second kernel for stock rom.

;)
[Moto G Original Android Development] jman1234:
The vibrator control alone is making me want to switch.
[Moto G Original Android Development] Bleak3993:
Oh man!, great, it's awesome to have you here developing for Moto G, I'm gonna test your kernel right away, I have a question though, I'm coming from faux kernel, what would be the safe procedure then? You recommend me to re flash the stock images of kernel and system or just install your kernel via recovery it's enough?
[Moto G Original Android Development] fl4m3y:
[*]Vibrator control with additions from me

Does this mean that we're able to adjust the vibration intensity? If so you're my hero :P

Nice to see another stock rom kernel xda! I will have an eye to this topic and your development...

Bye Flamey

Gesendet von meinem XT1032 mit Tapatalk
[Moto G Original Android Development] guapinoy:
I just did this. Hope you did a nandroid backup so you can restore boot and system. Then install this this kernel.
[Moto G Original Android Development] Bleak3993:
I have a backup of stock boot and system already, so, is there any problems of installing over faux kernel?
[Moto G Original Android Development] guapinoy:
Should be no problems.
[Moto G Original Android Development] kevincaja:
Sorry for the question but will this kernel work on GPE Moto G or just the stock from Motorola?
[Moto G Original Android Development] Cameron581:
how the heck did you do 64 jobs??? that should of totally blown up your computer and only one i know of that could take that is cyanfox's server. over at drdevs we max out at 32 for one person thats crazy abuse of your computer.
[Moto G Original Android Development] Bleak3993:
Well, I had to use the backup to recover the wifi modules, then I installed the kernel, and now is everything working perfect. Now, can I configure the vibration vibrator control?

Edit: will there be an OC version?
[Moto G Original Android Development] abhifx:
Hey! Welcome to the club.

I would really like to know

1) which model does it supports (i have xt1033, quarx should be having tge same)

2) which rom does it supports (stock ot aosp)
[Moto G Original Android Development] justjr:
Very good blech, nice to see you developing for the Moto G.

Would like to try the kernel, but unsure wich .imgs I should flash to get stock kernel and wifi modules back, coming from faux, as nobody has provided any wifi modules files yet (not in faux kernel thread). I don't have a backup with stock stuff, my bkps also have faux modules on it.
[Moto G Original Android Development] denzel09:
Stock
[Moto G Original Android Development] ovme:
cool

Thank you for this kernel, does not have choice for the stock, now have a choice, the other custom kernel for stock having problems autonomy at the moment, so I'll test it :)

And not pay to be able to control the kernel is really appreciable, thank you
[Moto G Original Android Development] bunnahabhain:
So... I know it kinda has been answered already, but can anybody give a step by step guide how to flash this most effectively over faux kernel?

Do I just have to flash stock modules and kernel via mfastboot before fishing the zip file for this kernel via TWRP?

Where can I find those files?

I am on stock German version btw...

Gesendet von meinem XT1032 mit Tapatalk
[Moto G Original Android Development] abhifx:
confirmed not working on dual sim XT1033.

have to wait for a kernel which works on stock XT1033
[Moto G Original Android Development] Blechd0se:
The sys path is; /sys/devices/virtual/timed_output/vibrator/vtg_level

Default value should be 18, the maximum is 31 and my lowered minimum is 10. I'll add this later to the startpost :)

About OC; not sure yet, i dont feel its necessary, have to experiment with it.

I always use -j64, linux can handle it pretty nicely. It wont slow down the whole system, SSDs help a lot :)

Could you explain this a little bit more? As far as i know kernel is the same for all devices. The only difference could be in ramdisk which is easily fixable.

Are you using motos stock rom?

Gesendet von meinem Nexus 7 mit Tapatalk
[Moto G Original Android Development] ldiomedi:
You quoted the wrong post.. [emoji6]

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Original Android Development] SickBeast:
My phone got extremely hot and had a massive battery drain while I was using the gps. I don't know if it is related to the kernel but I have never had that problem before.
[Moto G Original Android Development] padhu1989:
Is any one facing the below issue?

After flashing this kernel, whenever I press the power button, it take few seconds to wake up my phone.. I havent face this issue with Stock kernel...
[Moto G Original Android Development] Lemagex:
I have neither issues listed here.
[Moto G Original Android Development] suhridkhan:
For the best combination of performance and battery life, (from my personal experience) do not change anything !!!
[Moto G Original Android Development] jaspreet997:
Does this kernel supports d2w and the feature comes with a time out?
[Moto G Original Android Development] Nandeh:
Not at the moment...
[Moto G Original Android Development] adinkwok:
Remove
[Moto G Original Android Development] Nandeh:
Bump!

I'm using this with a slim version of Stock, and the combo rocks!! Smoother than stock kernel and 1or 2 screen on hours more...

Waiting for the UV version...

Thanks!!!
[Moto G Original Android Development] Lemagex:
So aero kernel and stock ROM did this
[Moto G Original Android Development] xheon:
Yep, this kernel + stock rom totally kills cm11 and cm11 based roms.
[Moto G Original Android Development] Dev Null:
no wifi

After flashing this kernel, cannot switch the WiFi on.

Didn't find any similar among recent posts, did I miss anything?

ROM is stock/hungarian language pack/root/supersu/twrp/busybox. Works flowless with stock/faux kernels.
[Moto G Original Android Development] Rumpel78:
You need to flash the stock modules for this kernel, after using faux kernel. They can be found reading the first few posts...

Gesendet von meinem XT1032 mit Tapatalk
[Moto G Original Android Development] Dev Null:
Thx!

It really is in post #2, but meanwhile I restored system and boot from my latest twrp backup, and that also did the trick!
[Moto G Original Android Development] Blechd0se:
Hello guys,

i am still in the middle of my exams, but couldn't resist to finish the undervolting interface. Its working perfectly fine now,

evaluated with a big undervolt -> system freezed. So i take that as its working, not like overclocking where we have no

proof that its working at all.

However i could need your help. Our moto g sets the voltage automatically for each frequency at boot and also tries to find

the lowest possible. Since there is probably no "real" stock voltage i am curious what voltages you got on your device.

Please open your terminal and run this command and post the output somewhere where i can find it;

dmesg | grep cpr_voltage_plan_init

The output on my device looks like this;

It doesn't matter which kernel you are running on. So i am just curious which values i should set for the default ones :)
[Moto G Original Android Development] Tenroc:
[MENTION=4855459]Blechd0se[/MENTION] running your kernel:

u0_a126@falcon_umts:/ $ su

root@falcon_umts:/ # dmesg | grep cpr_voltage_plan_init

<6>[ 0.225158,0] cpr_voltage_plan_init: ACC fuse not blown.

<6>[ 0.225514,0] cpr_voltage_plan_init: [1] [1140000 1150000 1280000] uV

<6>[ 0.225632,0] cpr_voltage_plan_init: [2] [1140000 1140000 1200000] uV

<6>[ 0.225837,0] cpr_voltage_plan_init: [3] [1140000 1140000 1140000] uV
[Moto G Original Android Development] ldiomedi:
[MENTION=221788]Blechdose[/MENTION] I'm running your kernel and I haven't output for that command.

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Original Android Development] SickBeast:
Yup same here, the terminal app hangs when I input that command.
[Moto G Original Android Development] Blechd0se:
I am assuming that you have a really long uptime?

The kernel log is not that big and since this information is logged nearly at the beginning its probably overridden.

Just reboot your device and try again,

you'll should get a similiar output.

If not let me know, because then we might have a problem.

Gesendet von meinem Nexus 4 mit Tapatalk
[Moto G Original Android Development] ldiomedi:
Not long time. Just 26 hours of uptime. Rebooting did the trick.

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Original Android Development] obvious:
Nothing in dmesg after a reboot here. Running latest aero kernel
[Moto G Original Android Development] chowy993:
I get the following

root@falcon_umts:/ # dmesg | grep cpr_voltage_plan_init

<6>[ 0.498802,0] cpr_voltage_plan_init: [1] [1140000 1150000 1280000] uV

<6>[ 0.499020,0] cpr_voltage_plan_init: [2] [1140000 1140000 1200000] uV

<6>[ 0.499139,0] cpr_voltage_plan_init: [3] [1140000 1140000 1140000] uV

EDIT: I just remembered I am using stock kernel. I will post values for Aero Kernel when I get home

EDIT2: Aero Kernel Values (second screenshot):

root@falcon_umts:/ # dmesg | grep cpr_voltage_plan_init

<6>[ 0.486513,0] cpr_voltage_plan_init: ACC fuse not blown.

<6>[ 0.486868,0] cpr_voltage_plan_init: [1] [1140000 1150000 1280000] uV

<6>[ 0.487073,0] cpr_voltage_plan_init: [2] [1140000 1140000 1200000] uV

<6>[ 0.487191,0] cpr_voltage_plan_init: [3] [1140000 1140000 1140000] uV
[Moto G Original Android Development] ItzzAce:
Fauxsound

Please add fauxsound control.
[Moto G Original Android Development] jimgustafson74:
So i just rooted my boost mobile MOTO G (XT1031) and installed the version for stock rom, my phone was never activated but now when i reboot it says. 'Unfortunately Sprint installer has stopped' and it keeps popping up...any fix or ideas? This is a link to the version i installed, i chose STOCK.

---------- Post added at 03:21 AM ---------- Previous post was at 03:14 AM ----------

http://androidforums.com/cdma-moto-...very-kernels-roms-boostmobile-03-11-14-a.html
[Moto G Original Android Development] ItzzAce:
What do you mean with activated? Do you mean you habe never turned. Your phone in before flashing Aero kernel? I dont have Sprint mobile and dont know thos issue, but maybe you should restore you stock Firmware with stock kernel and so in ( completely stock) then reboot and See if everything works fine. Sprint installer sounds to me like it will install sth and nothing further, so i would let it install whatever it wants and then flash Aero kernel again and See if this fixed the issue.

Or maybe you dont need sprint installer and as i think you are rooted, you can just uninstall this ( make a backup oft the applications before) then you also dont habe to restore stock.

Maybe there are also other ways to fix but i dont know about any. Maybe you should ask in the thread which you posted, as they all habe boost mobile and maybe know how to fix?
[Moto G Original Android Development] MrTomLegit:
I have the same issue. I noticed that if you keep pressing OK to get through the errors, eventually the PRL update will complete allowing you to get to your home screen. Once you are at the home screen sprint installer may crash a few more times, but once you are past the activation screen the phone should work fine.
[Moto G Original Android Development] cutay:
hi i have moto g xt1031 and use this kernel on stock, for sprint installer just freeze or delete with titanium backup so you will not find crash or FC anymore

for bypass hands free activaton, go to system/priv-app find sprintOMAD2.apk and sprintOMAD2.odex, use with root explore, and rename following apk

sprintOMAD2.apk

to

sprintOMAD2.apk.bak

sprintOMAD2.odex

to

sprintOMAD2.odex.bak

or simple delete them

thx....
[Moto G Original Android Development] MrTomLegit:
With ART enabled sprint installer doesn't crash. For the moment at least.
[Moto G Original Android Development] fermasia:
How can I backup my stock kernel in case I need to restore it later? I'm on stock rom, rooted, Phil'z recovery. Thanks.

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Original Android Development] AgentChaos:
in CWM Recovery, Advanced Backup. Make sure you back up the system as well.
[Moto G Original Android Development] fermasia:
Thanks, but I'm on Philz, so there's no Advanced Backup Option, but a complete backup. I'd be interested in restoring the kernel only... or to be more accurate, reverting this kernel's install if necessary.

Are there any specific files I could pick to make a flashable Zip?
[Moto G Original Android Development] AgentChaos:
There is advanced backup option. you can select what you want to back up. i think the libs directory needs to be backed up.
[Moto G Original Android Development] alonsoch:
In the op you will find a .zip that include the libs and the kernel for stock 4.2.2 is a flashable zip so don't worry....

And buddy sometimes is better read the op... Because you don't know if that info could save your device..

:)

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Original Android Development] fabus:
Please use "Custom backup" in philz, you need to uncheck everything except boot.

Cheers.

Wysłane z mojego XT1032 przy użyciu Tapatalka
[Moto G Original Android Development] leonardoroza:
Thanks

Enviado de meu Moto G usando Tapatalk