Any kernel developement? - Huawei P9 Lite Questions & Answers

I was wondering why there is no kernel developement for this great phone. It could still use some tweaks

+1

Anyone has the time/skill to implement kernel features as cpu/gpu speeds + alt gouvernors ?
The battery could also be faster charged in theory as its softwarelocked in kernel.
If anyone feels interested just bump this thread

+1. RAM management, overclocking, and charging times could be tuned. That would be awesome.

I also hope someone can make a custom kernel for us

jody2k said:
Anyone has the time/skill to implement kernel features as cpu/gpu speeds + alt gouvernors ?
The battery could also be faster charged in theory as its softwarelocked in kernel.
If anyone feels interested just bump this thread
Click to expand...
Click to collapse
The charging rate is not softwarelocked...The P9 lite does not have the required hardware to support fast charging or to even increase the charging rate.

It has never been tested if we unlock the rate in kernel it will charge faster. So you cant know for sure

jody2k said:
It has never been tested if we unlock the rate in kernel it will charge faster. So you cant know for sure
Click to expand...
Click to collapse
Well, perhaps we could try. No harm.

LiaquateRahiman said:
Well, perhaps we could try. No harm.
Click to expand...
Click to collapse
I bet that's what they thought in Samsung when they were designing the Note 7 batteries

Klorec said:
I bet that's what they thought in Samsung when they were designing the Note 7 batteries
Click to expand...
Click to collapse
Well.. we can say that they fired up their batteries then.. :laugh:

Bump ! :silly:

Here I found some voltage regulator driver for linux 3.18, for hi655x . Is that also for our hi655 hi6250?
https://android.googlesource.com/ke...aro-3.18/drivers/regulator/hi655x-regulator.c
Would be a nice one to implement. I don't know where to start but this seems like a vital piece of code.
How hard would it be to patch this Hikey Linaro kernel to support the 6250 completely, or would it already?

+1

The Problem is we only have the kernel source you provided @twicejr, today i tried to merge it with Linux 4.9 kernel but it cannot be done. And with the upcomming Release of Android 7.0 its unlikely anyone will build a 3.1x kernel. B336 already has 4.1 but still lags the Kernel Source.
We have to wait -.-

Deleted

Related

[KERNEL][ROM] G3MOD Feedback

Hello Everyone,
I see there are over 5000 downloads for G3Mod Kernel, but very few people are posting feedback...I believe no one else is getting any problems
OK, so this thread is for everyone who dont have that many posts for posting in development section...
POST YOUR FEEDBACK, PROBLEMS, REVIEWS, ETC. over here
DONT EXPECT QUICK REPLIES IN THIS THREAD
EVEN IF YOU HAVE SEEN YOUR SAME PROBLEM REPORTED, THEN ALSO REPORT IT HERE
IT WILL HELP ME TO KEEP THE KERNEL STABLE AND BETTER
Well firstly, thank you dharam for making this excellent kernel. But ofcourse everyone knows the sound click bug, if that gets solved this will be the best kernel I've used so far.
Sent from my GT-I5800 using XDA App
Awesome Work !
Thank you! for providing such an awesome kernel
My personal favorite Is g3Mod 1.3.1 Performance Max=Min=950Mhz
No batter drain problem.
I got freeze problems with OC over 1000mhz
190MHz - 950MHz
I just flashed g3mod 190MHz - 950MHz to DDJ2 Original FW. Its working fine without any problem. And used set cpu to set to 950MHz. But i do not fee much different in performance. how i can test this?
dilzo said:
Well firstly, thank you dharam for making this excellent kernel. But ofcourse everyone knows the sound click bug, if that gets solved this will be the best kernel I've used so far.
Sent from my GT-I5800 using XDA App
Click to expand...
Click to collapse
trying hard...
criminal_007 said:
Thank you! for providing such an awesome kernel
My personal favorite Is g3Mod 1.3.1 Performance Max=Min=950Mhz
No batter drain problem.
I got freeze problems with OC over 1000mhz
Click to expand...
Click to collapse
if performance works then try out ultimate, go in steps...maybe you can go over 1000mhz...
sreerajpsin said:
I just flashed g3mod 190MHz - 950MHz to DDJ2 Original FW. Its working fine without any problem. And used set cpu to set to 950MHz. But i do not fee much different in performance. how i can test this?
Click to expand...
Click to collapse
try playing games, well, smoothness shows the improvement in kernel...
try out ultimate version...
Grat buddy... Thanks..
dharamg3 said:
try playing games, well, smoothness shows the improvement in kernel...
try out ultimate version...
Click to expand...
Click to collapse
Yes, even if not playing i can feel the difference ! Thanks...! Is it heating up little faster ! Can you tell me the operational heat range on heavy usage ?
Hello, i'm new on xda forum .
Thanx for your Kernel, i think you can improve it by looking about this Kernel Fully Optimised and take some idea !
...forum.samdroid.net/f53/development-kernel-horse-power-4973/
His Github : ...github.com/spica234/I5700-kernel-2.6.32.9
I think it can be easy to port some feature from i5700 to our i580X
well the overclock thing works fine.
1st on installing the kernel it shows 1366MHz of overclock in setcpu.
but upon restarting it shows 930MHz. is is in my case only or what?
1.3.2 feedback
Hi,
Testing 1.3.2 Ultimate ...
Sygic and Navigon seem to work fine. (They crashed with 1.3.1 and fugumod alpha15)
DoodleJump is totally unplayable, it was working better with the original samsung kernel.
Best regards,
i m facing screen flikering problem in 1.3.2 ultimate and extreme with opera mini. is anyone have same problem. going back to 1.3.1
http://forum.xda-developers.com/showpost.php?p=15915863&postcount=6383
sound bug while playing music!! minus this the kernal rocks..!! PS: tried performance governor too didnt help
Testing 1.3.3 Ultimate ...
Sygic and Navigon seem to work fine. (They crashed with 1.3.1 and fugumod alpha15)
DoodleJump is more playable than with 1.3.2, little lags bug playable.
Antutu Score benchmark increased :
* 1.3.2 : 1183
* 1.3.3 : 1421
Poil44 said:
Hi,
Testing 1.3.2 Ultimate ...
Sygic and Navigon seem to work fine. (They crashed with 1.3.1 and fugumod alpha15)
DoodleJump is totally unplayable, it was working better with the original samsung kernel.
Best regards,
Click to expand...
Click to collapse
Just tried G3Mod 1.3.3 lite, it's the best experience ever. Seems it's very economy since it did not drain my battery too fast and slower than before. Its performance is great though no overclocking. Everything just go fine, response quickly and it does not halt anymore.
From my Kyrillos v6.1 non-oc i5801
is the cracking sound bug fixed in the v1.3.3 Ultimate kernel? please reply cause it's a very annoying problem!
gamerprithvi said:
is the cracking sound bug fixed in the v1.3.3 Ultimate kernel? please reply cause it's a very annoying problem!
Click to expand...
Click to collapse
Ya its fixed.,
Hey Dharam,
Great effort on sharing your knowledge, (referring to your Tutorial on Kernel dev).
I have one doubt on Sourcery tool chain, in their webpage it says the tool chain cannot be used for compiling Linux kernels, why is that? and you are using it for kernel building? Pls refer to the datasheet on their page at codesourcery.com/sgpp/lite/arm/portal/[email protected]=datasheet
Thanks for the Tutorial
gvsriks said:
Hey Dharam,
Great effort on sharing your knowledge, (referring to your Tutorial on Kernel dev).
I have one doubt on Sourcery tool chain, in their webpage it says the tool chain cannot be used for compiling Linux kernels, why is that? and you are using it for kernel building? Pls refer to the datasheet on their page at codesourcery.com/sgpp/lite/arm/portal/[email protected]=datasheet
Thanks for the Tutorial
Click to expand...
Click to collapse
I dunno why they have mentioned like that...this is the compiler which we use for kernel building..
dharamg3 said:
I dunno why they have mentioned like that...this is the compiler which we use for kernel building..
Click to expand...
Click to collapse
They are the developers of the toolchain and there must be some reason that they have put that warning, not to use it for Linux Kernels. But it is working in our case for building kernels.
May be the code generated by the compiler is not optimised enough to be used for kernels or there would some performance related issues.
Are there any alternative compilers which we can use? May be it would improve our phone's kernel performance? Just a thought.
gvsriks said:
They are the developers of the toolchain and there must be some reason that they have put that warning, not to use it for Linux Kernels. But it is working in our case for building kernels.
May be the code generated by the compiler is not optimised enough to be used for kernels or there would some performance related issues.
Are there any alternative compilers which we can use? May be it would improve our phone's kernel performance? Just a thought.
Click to expand...
Click to collapse
i dunno of any...

Anyone tried overclocking?

I tried to compile overclocked kernel from stock. compiled error free... but i cant seem to overclock the device moreover it seems clock rate suddenly drops causing lag
hmmm.... Seems there is power issue i would have to check voltage profile of nexus 5. anyone know of a good overclocking kernel for nexus 5?
is there any way to govern voltage dynamically instead of compiling every time i make a small change?
dhirajranger said:
hmmm.... Seems there is power issue i would have to check voltage profile of nexus 5. anyone know of a good overclocking kernel for nexus 5?
is there any way to govern voltage dynamically instead of compiling every time i make a small change?
Click to expand...
Click to collapse
how did you compiled?
lemme have a look on the kernel
yasirmujtaba said:
how did you compiled?
lemme have a look on the kernel
Click to expand...
Click to collapse
doesnt matter seems that we have a locked bootloader and i was thrown back to stock kernal

What's Your Reason for Not Using the Stock Kernel...

I see a lot of people are quick to flash AK, Franco, Tyr, etc before they even give the kernel that comes with the ROM a try.
From my personal experience, the kernel that comes with a ROM is always faster & snappier than aftermarket kernels (no overclocking).
Also, correct me if I'm wrong, but the kernel that comes with the ROM is optimized to perform best with the ROM. Optimization is the main reason why Android is one step behind of iPhones. I don't know about you guys, but I want my phone to be fully optimized which is why I stick with the stock kernel most of the time.
I guess I'm also one of these people who are quick to flash a aftermarket kernel.
But I think the aftermarket ones are the more optimized ones.
Anyway I never had problems with the stock kernels.
I love the extra work devs like Franco and AK do. Sometimes I get some reboots with Franco but overall its a good experience. I just have some Franco loyalty from when I used his kernel on nexus 4 lol best kernel ive ever used. Not sure if I'd say the same about his one plus kernel but if there's any issues I'd blame cm not him
Klobal said:
I guess I'm also one of these people who are quick to flash a aftermarket kernel.
But I think the aftermarket ones are the more optimized ones.
Anyway I never had problems with the stock kernels.
Click to expand...
Click to collapse
I used to be the same way on my older android devices.
It seems like now flashing a kernel is no longer need to improve performance (sorta)
The hardware on the oneplus one is beast & android has come a long way in terms of software.
Because I love the sound control in AK Kernel
jousa11 said:
Because I love the sound control in AK Kernel
Click to expand...
Click to collapse
Better than Viper or DSP?
OmegaBlaze said:
Better than Viper or DSP?
Click to expand...
Click to collapse
I use viper as the audio processor AK's kernel just gives good audio gain without any distortion
OmegaBlaze said:
I used to be the same way on my older android devices.
It seems like now flashing a kernel is no longer need to improve performance (sorta)
The hardware on the oneplus one is beast & android has come a long way in terms of software.
Click to expand...
Click to collapse
I believe the same. I get most battery savings from deleting bloat off the phone.
NJGSII said:
I believe the same. I get most battery savings from deleting bloat off the phone.
Click to expand...
Click to collapse
I do the exact same thing. I try and delete all of the unnecessary google play stuff as well as apps I don't use often. And use greenify as well.
jousa11 said:
I use viper as the audio processor AK's kernel just gives good audio gain without any distortion
Click to expand...
Click to collapse
I definitely have to try that out. I usually always skip pass it lol..
I use franco kernel because I get better battery with his kernel (compared to stock), and it's always up-to-date with most of the patches, while with stock you'll have to wait until the next OTA to get some patches.
NJGSII said:
I believe the same. I get most battery savings from deleting bloat off the phone.
Click to expand...
Click to collapse
Can you please name bloat stuff which still comes with Cyanogenmod what should be deleted? Would be helpful for me to get my phone as clean as possible/neccessary.
m4soN said:
Can you please name bloat stuff which still comes with Cyanogenmod what should be deleted? Would be helpful for me to get my phone as clean as possible/neccessary.
Click to expand...
Click to collapse
Meant that with other phones I have
So, there is no stuff which still comes with systems like cyanogenmod which i can delete without getting any trouble? If yes, how do i know which stuff this can be?
Purchased Franco Kernel Updater and if I didn't use a custom kernel (or Franco Kernel) then I spent money on something I'm no longer using.
Also because I'm not a fan of mpdecision.
zephiK said:
Purchased Franco Kernel Updater and if I didn't use a custom kernel (or Franco Kernel) then I spent money on something I'm no longer using.
Also because I'm not a fan of mpdecision.
Click to expand...
Click to collapse
Same here switching between AK and Franco.
Both are a good choice.
But as mentioned before, the hardware of our phone is :good: so no need to flash a aftermarket kernel to gain more performance.
zephiK said:
Purchased Franco Kernel Updater and if I didn't use a custom kernel (or Franco Kernel) then I spent money on something I'm no longer using.
Also because I'm not a fan of mpdecision.
Click to expand...
Click to collapse
Why not? Intelliplug?
OmegaBlaze said:
Why not? Intelliplug?
Click to expand...
Click to collapse
Anything other than mpdecision, I personally prefer Franco's hotplug algorithm which is his own implementation of powering on/off cores.
Mpdecision is Qualcomm's implementation of powering on/off cores.
I personally am not a fan of Intelliplug,
3 - Don't even bring intelliplug on this. With all due respect to faux, that driver is a butchered solution to control the cores. The code is a mess and, in my opinion, just doesn't make any sense. I've worked on my Hotplug driver for years and it works as simple as need be, with appropriate userspace tunables for users to tinker with.
http://forum.xda-developers.com/showpost.php?p=55667033&postcount=3981
Click to expand...
Click to collapse
http://www.reddit.com/r/nexus4/related/158t1i/custom_kernels_a_guide_on_what_you_need_to_know/ has a great reading on mpdecision and why it is not good in their opinion.
--mpdecision--
All Qualcomm based phones have Qualcomm prorprietary userspace binary called "mpdecision" aka m(ake)p(oor)decision. Instead of letting the kernel itself to decide what frequencies and how many cores to run, this "mpdecsion" binary polls the kernel run queue statistics and decides for the whole system the "optimal" frequency and the "optimal" number of cores to use. The concept is fine, except the decision making is done in userspace and it's 100% closed source so there's no way to tweak it and there's a latency (because all userspace binaries needs to "poll" the kernel for the latest information which is slightly delayed). - faux123
ELI5: mpdecision is a proprietary Qualcomm daemon that makes calls to the SoC (the entire chip your phone uses) to manage the cores. The OS (PowerHAL) makes a request to mpdecision and then mpdecision makes a request to the first two cores to ramp them up. - _motley
Click to expand...
Click to collapse
I like to mess with my phone. Simply because I need a kernel fully optimised kernel for the device. Not to say that the developers aren't doing a good job, but in my case, a user sometimes knows better than the creator themselves.
Unless the custom kernels do not satisfy me, I'll revert back to stock.
m4soN said:
So, there is no stuff which still comes with systems like cyanogenmod which i can delete without getting any trouble? If yes, how do i know which stuff this can be?
Click to expand...
Click to collapse
This phone is fairly clean out of the box. About the only stuff worth freezing or deleting would be some of the google play apps if you don't use them. For example Google play books, news stand, or games.

Kernel/ROM etc.... features that we need

this thread is meant for everyone thats making a kernel or ROM so you know what features that everyone wants
The things we need
ROOT duh
ALL-F2FS FS support
NTFS FS support
CPU Governors
GPU Governors
GPU overclocking
CPU overclocking
RAM overclocking if we can
Dual boot ROM/Kernels and 64bit Ubuntu
any more ideas?
MultiBoot! Kexec?
joshuabg said:
MultiBoot! Kexec?
Click to expand...
Click to collapse
I have that one listed
Under voltage's battery's current 6700mah to say 6200 for extended battery life!
Under volatage CPU/GPU
Aroma?
Sweep2wake
Sweep2sleep
This is alot to ask, but good luck!
Multiwindow
MRobbo80 said:
Under voltage's battery's current 6700mah to say 6200 for extended battery life!
Under volatage CPU/GPU
Aroma?
Sweep2wake
Sweep2sleep
This is alot to ask, but good luck!
Click to expand...
Click to collapse
Haha well ty
I don't even like s2w and s2s lol
USBhost said:
Haha well ty
I don't even like s2w and s2s lol
Click to expand...
Click to collapse
Tuff luck! Its what others like :good:
PIE control
Most important one.. Stability. Needs to be stable, and have a few minor tweaks, it all depends on how the stock kernel is though.. HTC Stock kernels tend to be pretty sweet anyway and just need a few features added IMO.
Have been told that the CPU is way under clocked @2.3,GHz and could handle 3.00ghz easy! Note that this is a rumour, but if true wow!
Really looking forward to it now!
Um everything you listed is stuff that is the norm for custom kernels. Wonder if well see Franco or faux or flar here...im still really on the fence.
Sent from my Nexus 5 using Tapatalk
Jonnyredcorn said:
Um everything you listed is stuff that is the norm for custom kernels. Wonder if well see Franco or faux or flar here...im still really on the fence.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Im sure some of the big boys will come
USBhost said:
Im sure some of the big boys will come
Click to expand...
Click to collapse
At the price probably only if the device is donated. I'm sure the size is off putting for them.
USB-OTG and USB-Audio support would be stellar (if not included as standard)
:good:
I would love to see the GPU and CPU overclocking as well as over/under volt for both for maximum tuning capability. The other things I would like to see though are RAM and bus overclocking access since with so many GPU cores if we get to overclocking we may need some more in those areas too so we can take full advantage of the higher core MHz
EniGmA1987 said:
I would love to see the GPU and CPU overclocking as well as over/under volt for both for maximum tuning capability. The other things I would like to see though are RAM and bus overclocking access since with so many GPU cores if we get to overclocking we may need some more in those areas too so we can take full advantage of the higher core MHz
Click to expand...
Click to collapse
Yep your so right
Will the LTE version have more or less ROM/kernel support?
tyvar1 said:
Will the LTE version have more or less ROM/kernel support?
Click to expand...
Click to collapse
Hmm
i would think it wont be as much as the wifi only version
Lets hope the kernel is the same but with just some extra drivers
Jonnyredcorn said:
Um everything you listed is stuff that is the norm for custom kernels. Wonder if well see Franco or faux or flar here...im still really on the fence.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I'm 99.9% sure we will see a lot of big boys!! See what they can do with the k1
MRobbo80 said:
I'm 99.9% sure we will see a lot of big boys!! See what they can do with the k1
Click to expand...
Click to collapse
But i do have my doubts
because what happened to the shield tablet

overclocking, modifying the kernel

I want to learn how I can modify kernel to adjust clock speeds. wt88047 redmi 2 . If anyone can detail the steps it would be great
Thank you
jsidney96 said:
I want to learn how I can modify kernel to adjust clock speeds. wt88047 redmi 2 . If anyone can detail the steps it would be great
Thank you
Click to expand...
Click to collapse
Overclock dont work on redmi 2, all overclocks are fake
NaassomDourado said:
Overclock dont work on redmi 2, all overclocks are fake
Click to expand...
Click to collapse
Yep, except GPU overclock by me and Ashish94, the true 620mhz and the TurboClock 465T increase ~35% the gaming performance, games like asphalt 8 will run at 8 or 9 fps higher with the Overclock
TecnoTailsPlays said:
Yep, except GPU overclock by me and Ashish94, the true 620mhz and the TurboClock 465T increase ~35% the gaming performance, games like asphalt 8 will run at 8 or 9 fps higher with the Overclock
Click to expand...
Click to collapse
You can select upto 1.8ghz on the zetsubo kernel , thats fake??
It feels smoother once overclocked.........
jsidney96 said:
You can select upto 1.8ghz on the zetsubo kernel , thats fake??
Click to expand...
Click to collapse
Fake
TecnoTailsPlays said:
Fake
Click to expand...
Click to collapse
I dont believe it, atleast tell me the fake steps
Those kernels heats up and locks up if i set too high cpu clk..... I know it can be overclocked..
jsidney96 said:
I want to learn how I can modify kernel to adjust clock speeds. wt88047 redmi 2 . If anyone can detail the steps it would be great
Thank you
Click to expand...
Click to collapse
i'd suggest you to try lateautumn kernel, it boosts your CPU freq to 1.8ghz and it seems like it worked for me, battery drained so fast tho...
rufuskid said:
i'd suggest you to try lateautumn kernel, it boosts your CPU freq to 1.8ghz and it seems like it worked for me, battery drained so fast tho...
Click to expand...
Click to collapse
I want to learn how to do it....
jsidney96 said:
I dont believe it, atleast tell me the fake steps
Those kernels heats up and locks up if i set too high cpu clk..... I know it can be overclocked..
Click to expand...
Click to collapse
Look, I'm tired from explaining that CPU overcloks are fake, just freaking search about snapdragon 410, the processor is LOCKED, PLL overclock is not possible without external source file help, only Moto g3 osprey have this file, when somebody port's that file to our source, I will be wrong
Also if you don't even know how to overclock a device, how can you say that I'm wrong?
jsidney96 said:
I want to learn how to do it....
Click to expand...
Click to collapse
download kernel adiutor and you will have the option there (with the custom kernel applied)
TecnoTailsPlays said:
Look, I'm tired from explaining that CPU overcloks are fake, just freaking search about snapdragon 410, the processor is LOCKED, PLL overclock is not possible without external source file help, only Moto g3 osprey have this file, when somebody port's that file to our source, I will be wrong
Also if you don't even know how to overclock a device, how can you say that I'm wrong?
Click to expand...
Click to collapse
I am sorry . Its just i couldnt believe it .... I will try to do something useful
jsidney96 said:
I am sorry . Its just i couldnt believe it .... I will try to do something useful
Click to expand...
Click to collapse
Something useful? Why don't you try arm64 aosp caf by pirej and see how the rom is? we need more people to log some bugs like wifi 10m off, etc
TecnoTailsPlays said:
Something useful? Why don't you try arm64 aosp caf by pirej and see how the rom is? we need more people to log some bugs like wifi 10m off, etc
Click to expand...
Click to collapse
saw this.....
https://forum.xda-developers.com/redmi-2/help/compiling-kernel-development-overclock-t3538273
I am having exams now..... i will jumb right back in once exams are over..... i am already running pirej's rom on 2014818....
i am still learning
jsidney96 said:
saw this.....
https://forum.xda-developers.com/redmi-2/help/compiling-kernel-development-overclock-t3538273
I am having exams now..... i will jumb right back in once exams are over..... i am already running pirej's rom on 2014818....
i am still learning
Click to expand...
Click to collapse
At that time I din't know anything about this phone, becouse I just had buyed it, then I started spending 8hrs in the computer to study kernels, redmi 2, and all related to source, android, etc. Then I started making overclocks, and after 2 weeks of testing I completed my results and overclock was fake.
It's like school or college, you need to study to understand
Which ROM is best to be used with late autumn kernel. When I install late autumn kernel on any ROM ,the camera stops working.
LuanHalaiko said:
Look, I'm tired from explaining that CPU overcloks are fake, just freaking search about snapdragon 410, the processor is LOCKED, PLL overclock is not possible without external source file help, only Moto g3 osprey have this file, when somebody port's that file to our source, I will be wrong
Also if you don't even know how to overclock a device, how can you say that I'm wrong?
Click to expand...
Click to collapse
Sounds like a stage I'm currently going through, are there any recommended resources for learning?
The main direction is to reverse the kernel code for the purpose of changing system settings

Categories

Resources