[AOSP/CM][LOLLIPOP][ANYKERNEL][29/05/15] Phantom Kernel r4

tjluvu

Member
Jun 7, 2014
21
7
0
Phone Hanging occassionaly

Hello people....
This kernel is totally awesome nd full of features...
But the only problem i had with it was..after undervolting. My phone freezes almost aroung once in or twice in a day.. Nd den i had to hard reboot my phone by pressing the power button for 10 secs..
Is this because of the undervolting or something esle.. ??
 

Shivam Kuchhal

Senior Member
Dec 1, 2012
942
1,704
0
New Delhi
Hello people....
This kernel is totally awesome nd full of features...
But the only problem i had with it was..after undervolting. My phone freezes almost aroung once in or twice in a day.. Nd den i had to hard reboot my phone by pressing the power button for 10 secs..
Is this because of the undervolting or something esle.. ??
Do not undervolt below -50mV and it should be fine.

BTW guys check the double tap to wake post now, fixed the video link. :)
 

tjluvu

Member
Jun 7, 2014
21
7
0
Do not undervolt below -50mV and it should be fine.

BTW guys check the double tap to wake post now, fixed the video link. :)
I did the same.. Undervolted it by - 50mV... But still... Whats the problem... Why its Hanging occassionaly... Plzzz check the screenshot nd tell me if everything isnalright... Also i noticed something more.. Its not showing the voltage for all the frequencies...
 

Attachments

Shivam Kuchhal

Senior Member
Dec 1, 2012
942
1,704
0
New Delhi
Phantom Kernel r3

New release is here finally!

Changelog:
Add support for Ivan's AOSP, nearly all features of CM kernel are there in AOSP kernel except for a few
Remove power efficient workqueues and replace them with backported better workqueues
Squashed task adj rbtree optimization from Motorola
Hotplug thread infrastructure
Stripped debugging
memcpy, memmove optimization from Motorola
Reverted unstable stuff
Added filter to disable some common wakelocks
Updated exFat driver
Added LCD notifier
Sound and asoc fixes
More cpufreq, tick and PM patches
Disabled CRC check(boosts performance)
Switch to lz4 for kernel compression(faster bootup) :D
Add overall CPU status to view frequency details for all 4 cores
More cpufreq patches

More info here- https://github.com/shivamk11/android_kernel_xiaomi_cancro/commits/mr2

From now on there'll be two zips, one for CM based ROMs and AOSP based ROMs. Don't get confused AOSP zip is only and only for Ivan's AOSP ROM and not any other ROM

Easy to notice features not present in AOSP kernel-
Voltage control
Thermal control(AOSP kernel already has it)

Also in case you're wondering this release doesn't have double tap to wake functionality as displayed above. It is buggy and needs work.

Downloads available in dev-db as usual.
 

bahblo

Senior Member
Apr 20, 2011
133
27
0
Bandung
Thx to give my request in your kernel... Try this if it can be implemented in our mi3 or not... :good:

Thx to give us best kernel for our mi3

Request again ... one by one :D
-Simple GPU Algorithm
 
Last edited:

nealgosalia

Senior Member
Feb 13, 2015
127
400
0
25
Mumbai
New release is here finally!

Changelog:
Add support for Ivan's AOSP, nearly all features of CM kernel are there in AOSP kernel except for a few
Remove power efficient workqueues and replace them with backported better workqueues
Squashed task adj rbtree optimization from Motorola
Hotplug thread infrastructure
Stripped debugging
memcpy, memmove optimization from Motorola
Reverted unstable stuff
Added filter to disable some common wakelocks
Updated exFat driver
Added LCD notifier
Sound and asoc fixes
More cpufreq, tick and PM patches
Disabled CRC check(boosts performance)
Switch to lz4 for kernel compression(faster bootup) :D
Add overall CPU status to view frequency details for all 4 cores
More cpufreq patches

More info here- https://github.com/shivamk11/android_kernel_xiaomi_cancro/commits/mr2

From now on there'll be two zips, one for CM based ROMs and AOSP based ROMs. Don't get confused AOSP zip is only and only for Ivan's AOSP ROM and not any other ROM

Easy to notice features not present in AOSP kernel-
Voltage control
Thermal control(AOSP kernel already has it)

Also in case you're wondering this release doesn't have double tap to wake functionality as displayed above. It is buggy and needs work.

Downloads available in dev-db as usual.
Please release a test version of the dt2w kernel :p
 

rajib4

Senior Member
Jan 24, 2011
505
382
0
Kolkata
I did the same.. Undervolted it by - 50mV... But still... Whats the problem... Why its Hanging occassionaly... Plzzz check the screenshot nd tell me if everything isnalright... Also i noticed something more.. Its not showing the voltage for all the frequencies...
@tjluvu The last 2 (729 MHz and 883 MHz) seems to be problematic. IMHO with -50mV it should be 735mV and 755mV respectively. Rest looks fine.

Change these 2 and try it out.
 
Last edited:

codeVerine

Senior Member
Aug 19, 2013
85
30
0
Use Kernel Adiutor app for making all changes.

CPU:
Governor- Interactive(for balance) or elementalx(for performance)
Multicore Power Saving- Aggressive
Rest untouched.

CPU Voltage:
-50mV all frequencies

CPU Hotplug:
Turn MP Decision off if it isn't already and turn msm_hotplug on. You can leave tunables as it is or make your required changes.
I keep 1036Mhz as maximum screen off frequency

GPU:
GPU Governor- simple_ondemand

Screen:
Do whatever suits you best
I keep saturation at somewhere between 50 and 60. And screen value and contrast at 130.

Sound:
Use FauxSound app for making changes, our version of sound control is old and buggy.

Battery:
Force Fast Charge- on

I/O Scheduler:
Scheduler- bfq/row/sio
Whichever you find best

Misc Controls:
TCP Congestion Algorithm- westwood
Awesome work bro. Can you provide best settings for latest r_3 build ?
 

lethalchronus

Senior Member
Apr 27, 2015
115
63
0
New release is here finally!

Changelog:
Add support for Ivan's AOSP, nearly all features of CM kernel are there in AOSP kernel except for a few
Remove power efficient workqueues and replace them with backported better workqueues
Squashed task adj rbtree optimization from Motorola
Hotplug thread infrastructure
Stripped debugging
memcpy, memmove optimization from Motorola
Reverted unstable stuff
Added filter to disable some common wakelocks
Updated exFat driver
Added LCD notifier
Sound and asoc fixes
More cpufreq, tick and PM patches
Disabled CRC check(boosts performance)
Switch to lz4 for kernel compression(faster bootup) :D
Add overall CPU status to view frequency details for all 4 cores
More cpufreq patches

More info here- https://github.com/shivamk11/android_kernel_xiaomi_cancro/commits/mr2

From now on there'll be two zips, one for CM based ROMs and AOSP based ROMs. Don't get confused AOSP zip is only and only for Ivan's AOSP ROM and not any other ROM

Easy to notice features not present in AOSP kernel-
Voltage control
Thermal control(AOSP kernel already has it)

Also in case you're wondering this release doesn't have double tap to wake functionality as displayed above. It is buggy and needs work.

Downloads available in dev-db as usual.
Thanks for bringing us this, for us AOSP users! you're awesome! thank you very much. :D

ah @Shivam Kuchhal by the way may I ask one more thing, I am currently on 5.5.20 Ivan's ROM, does updating via OTA (next future ivan's build) affects your kernel? do we need to flash the kernel of yours everytime we OTA update?
 

Shyam Lohar

Member
Mar 6, 2013
26
5
0
Thanks for bringing us this, for us AOSP users! you're awesome! thank you very much. :D

ah @Shivam Kuchhal by the way may I ask one more thing, I am currently on 5.5.20 Ivan's ROM, does updating via OTA (next future ivan's build) affects your kernel? do we need to flash the kernel of yours everytime we OTA update?
most probably you won't be able to use ota :) & if ur able to & kernel is updated then you have to reflash kernel :)
 

Shivam Kuchhal

Senior Member
Dec 1, 2012
942
1,704
0
New Delhi
Thanks for bringing us this, for us AOSP users! you're awesome! thank you very much. :D

ah @Shivam Kuchhal by the way may I ask one more thing, I am currently on 5.5.20 Ivan's ROM, does updating via OTA (next future ivan's build) affects your kernel? do we need to flash the kernel of yours everytime we OTA update?
Its better if you reflash my kernel after update. :)
Did anyone try r3 on Ivan's ROM? Works without bugs?
Yes it does. If it didn't then won't have been released. :p
Awesome work bro. Can you provide best settings for latest r_3 build ?
Same as r2
I'm also having some problem when under volt by -75 mv. This value works fine for r2.
As I said -50 is the safe spot, don't go beyond that.
 
  • Like
Reactions: vishal24387

zincro3

Member
Jul 24, 2010
34
1
0
i use latest mokee rom with phantom r3, but i got problem, afte screen off, my phone cant wake again. must turn on again.
is any one has same problem?
 

lethalchronus

Senior Member
Apr 27, 2015
115
63
0
Its better if you reflash my kernel after update. :)

Yes it does. If it didn't then won't have been released. :p

Same as r2


As I said -50 is the safe spot, don't go beyond that.
Ah that being said but here's another question, where's the fast charge function on Kernel Adiutor? (AOSP Version of Phantom has already been installed) by the way thank you so much for this awesome kernel! :)
 

Shivam Kuchhal

Senior Member
Dec 1, 2012
942
1,704
0
New Delhi
i use latest mokee rom with phantom r3, but i got problem, afte screen off, my phone cant wake again. must turn on again.
is any one has same problem?
You must have undervolted way too much or messed up with some settings.
Ah that being said but here's another question, where's the fast charge function on Kernel Adiutor? (AOSP Version of Phantom has already been installed) by the way thank you so much for this awesome kernel! :)
It's not there in AOSP kernel, it was having conflicts. It might come in future though.
 

Jhayzt

Senior Member
Nov 1, 2011
856
284
0
Urdaneta
Alrighty! Here's my initial impression on r3:

Firstly, I just flashed ivan's latest AOSP yesterday and its been awhile since I used his ROM. My primary ROM is sir @audahadi 's XenonHD. So I flashed and tried the AOSP version on ivan's ROM, changed to my preferred settings and to my liking then let it sat for 5 mins to get things stable. After that, I did some game testing and it was, as always, veeerrry smooth. :) Although the fun shattered when suddenly, the phone heats up and then it freezed; dead lock. My only choice was to force restart it. I did not do any undervolts and stuff. All I did was changed the governor and I/O together with the read ahead. So, I panicked and restored my XenonHD backup. This made me confused though. I flashed the AOSP version on my XenonHD back up because I know that XenonHD is AOSP based aaaannnd it didn't boot. So I tried flashing the CM version and it worked. I haven't tried repeating my issue yet. Hopefully it doesn't freeze. By the way, thanks for the r3 update! Amazing as always dev @shivam kucchal. :)
 
Last edited: