New linux kernel 4.9 for Snapdragon 625 and kernel and HAL source code - Lenovo P2 Guides, News, & Discussion

Great news fron Weibo, thanks for Mokee's developer XiNGRZ's share.
New linux kernel 4.9 for Qualcomm Snapdragon 625 and kernel and HAL source code of Android 9
http://caf.mokeedev.com/?version=9
https://wx1.sinaimg.cn/large/4b263fe4gy1futf5hw8wmj21hs0a2gt0.jpg
https://m.weibo.cn/status/4279258651583321
I don't know how to upload the picture, so only can give you the website's hyperlink

Yes! Looking in the CAF sources page (https://wiki.codeaurora.org/xwiki/bin/QAEP/release) you can see that kernel 4.9 for msm8953 and msm8953pro exists since Oreo ( LA.UM.6.6.2.r1-04200-89xx.0 is yet based on kernel 4.9 and CAF released it in 19/07/2018) and it was based on Linux 4.9.82, now with Android 9 it's based on Linux 4.9.112.
So, long life to all these devices that has this SoC!
But, for Pie there are 2 tags and one is still based on kernel 3.18 (to be more precise, 3.18.115, LA.UM.7.6.r1-02000-89xx.0 ) and the other one is at kernel 4.9 (4.9.112, LA.UM.7.6.2.r1-03000-89xx.0 ). I think we can see some ROMs with kernel 4.9 in the next months, but for now we stay on 3.18 while waiting they make perfectly working 4.9.

matteo0026 said:
Yes! Looking in the CAF sources page (https://wiki.codeaurora.org/xwiki/bin/QAEP/release) you can see that kernel 4.9 for msm8953 and msm8953pro exists since Oreo ( LA.UM.6.6.2.r1-04200-89xx.0 is yet based on kernel 4.9 and CAF released it in 19/07/2018) and it was based on Linux 4.9.82, now with Android 9 it's based on Linux 4.9.112.
So, long life to all these devices that has this SoC!
But, for Pie there are 2 tags and one is still based on kernel 3.18 (to be more precise, 3.18.115, LA.UM.7.6.r1-02000-89xx.0 ) and the other one is at kernel 4.9 (4.9.112, LA.UM.7.6.2.r1-03000-89xx.0 ). I think we can see some ROMs with kernel 4.9 in the next months, but for now we stay on 3.18 while waiting they make perfectly working 4.9.
Click to expand...
Click to collapse
Nice ! I love my sd625 device, good to know it's not left behind with an old Kernel.
Do you think this Kernel could improve performance and battery life ? Maybe make this chip even more efficient

Redmi4power said:
Nice ! I love my sd625 device, good to know it's not left behind with an old Kernel.
Do you think this Kernel could improve performance and battery life ? Maybe make this chip even more efficient
Click to expand...
Click to collapse
No, I think it just improves security. But it's yet a big step for sd625

matteo0026 said:
No, I think it just improves security. But it's yet a big step for sd625
Click to expand...
Click to collapse
It does improve performance and battery life. Main thing, amongst other things like improved security and way newer drivers, is the EAS.
Our devs are already working on 4.9 kernel for Mi A1, already testing it and recently released experimental builds and even now it's no comparison to 3.18 in it's current state, it's not even fair to compare.

airidosas252 said:
It does improve performance and battery life. Main thing, amongst other things like improved security and way newer drivers, is the EAS.
Our devs are already working on 4.9 kernel for Mi A1, already testing it and recently released experimental builds and even now it's no comparison to 3.18 in it's current state, it's not even fair to compare.
Click to expand...
Click to collapse
I saw that thread on Mi A1, devs are doing a good work. And do you think that EAS could be usable on our SoC too? If yes, I know that improves much the battery life

matteo0026 said:
I saw that thread on Mi A1, devs are doing a good work. And do you think that EAS could be usable on our SoC too? If yes, I know that improves much the battery life
Click to expand...
Click to collapse
Of course, EAS is impremented by Qcom itself on 4.9, so it is properly optimized and calibrated. Even now I don't need to adjust anything, just left it as it is.
What's more interesting is what OEM is going to do - be with 3.18 or move on to 4.9. Knowing Xiaomi, I'm guessing they'll stay on 3.18.

airidosas252 said:
Of course, EAS is impremented by Qcom itself on 4.9, so it is properly optimized and calibrated. Even now I don't need to adjust anything, just left it as it is.
What's more interesting is what OEM is going to do - be with 3.18 or move on to 4.9. Knowing Xiaomi, I'm guessing they'll stay on 3.18.
Click to expand...
Click to collapse
Ehm, yes I they stay on 3.18 because there are 3.18 tags based on Pie for msm8953_64. I'm thinking to do 4.9 for p2, but... I don't know what I have to do... I haven't knowledges, but I want to give a try.

matteo0026 said:
Ehm, yes I they stay on 3.18 because there are 3.18 tags based on Pie for msm8953_64. I'm thinking to do 4.9 for p2, but... I don't know what I have to do... I haven't knowledges, but I want to give a try.
Click to expand...
Click to collapse
Some crucial stuff might need backporting for sure, you should ask around other people. They might help you out. I'm out of development game, too busy doing other things in my life, so can't comment on this much more.

matteo0026 said:
Ehm, yes I they stay on 3.18 because there are 3.18 tags based on Pie for msm8953_64. I'm thinking to do 4.9 for p2, but... I don't know what I have to do... I haven't knowledges, but I want to give a try.
Click to expand...
Click to collapse
p2 community is with you. we can help you with testing. go ahead ???

Any update?

There will be advantage ?
Is it easy to port ?

Can not download source code for msm8953_64

Ask in tissot forum may be they'll know something

when its coming?
so excited:fingers-crossed:

ZJ_CN said:
Great news fron Weibo, thanks for Mokee's developer XiNGRZ's share.
New linux kernel 4.9 for Qualcomm Snapdragon 625 and kernel and HAL source code of Android 9
http://caf.mokeedev.com/?version=9
https://wx1.sinaimg.cn/large/4b263fe4gy1futf5hw8wmj21hs0a2gt0.jpg
https://m.weibo.cn/status/4279258651583321
I don't know how to upload the picture, so only can give you the website's hyperlink
Click to expand...
Click to collapse
any update ?
SD625 kernel 4.9

Hello, please help me find the kernel sources CAF for msm8953_64 3.18.71-74, thanks in advance
---------- Post added at 02:28 PM ---------- Previous post was at 02:21 PM ----------
Hello, please help me find the kernel sources CAF for msm8953_64 3.18.71-74, i have compile kernel for device billion capture +, thanks in advance

Would like to breath new life into my Lenovo P2, but I guess 4.9 will remain a dream?

Related

Release Of Kernel Sources & Custom Rom Development ?

Will Xiaomi release kernel sources fully for this smartphone & therefore able to have active rom development (including Android M 6.0 roms) in the near future ?
(Kernel sources for the Xiaomi Mi3 & Mi4 were released very late and not in full and are the reason I believe that many Lollipop roms for these devices are not stable).
I think it depends on whether the device goes international. They were quick to release the sources for the Mi4i, and that is the only phone they officially sell internationally. That said, at least it uses the most common SOC of 2015.
Does it help that it has the same soc as the nexus 5x?
ermacwins said:
Does it help that it has the same soc as the nexus 5x?
Click to expand...
Click to collapse
It helps a little bit maybe, but the problem is all the other stuff inside the phone is different. You still need proper sources from Xiaomi.
M.
Do Xiaomi devices have root "built-in" ?
I'm interested in ROM development, too, but for the first months having root would be enough.
Giocarro said:
Do Xiaomi devices have root "built-in" ?
I'm interested in ROM development, too, but for the first months having root would be enough.
Click to expand...
Click to collapse
I have seen a guide on MIUI forum: "How to flash TWRP Recovery and Super Su(Root) on Xiaomi Mi4C"
Having access to kernel will also mean ir blaster will work on custom roms?
ermacwins said:
Having access to kernel will also mean ir blaster will work on custom roms?
Click to expand...
Click to collapse
Don't count on that. Many device that have kernel source and ir blasters still don't work on aosp based roms. Due to all the drivers for the hardware being closed sourced.
zelendel said:
Don't count on that. Many device that have kernel source and ir blasters still don't work on aosp based roms. Due to all the drivers for the hardware being closed sourced.
Click to expand...
Click to collapse
When we say kernel source, is that pertaining to the soc?
ermacwins said:
When we say kernel source, is that pertaining to the soc?
Click to expand...
Click to collapse
The kernel covers all aspects of the device in one form or another.
zelendel said:
The kernel covers all aspects of the device in one form or another.
Click to expand...
Click to collapse
Let's say xiaomi is taking long to release their kernel source but the source for nexus 5x soc is out, would that be enough for aosp rom?
ermacwins said:
Let's say xiaomi is taking long to release their kernel source but the source for nexus 5x soc is out, would that be enough for aosp rom?
Click to expand...
Click to collapse
No it won't. You will also need the device tree for this device. It's not how long it takes for them to release it that I would be worried about. It's if the source is complete and not broken like they are known to release. They have a habit of release broken source to force users to use miui. If you look at other devices from this OEM it takes months some times a year before they release it and when they do it is broken and devs have to take weeks to get it even remotely working. Then there are still bugs that are never fixed.
zelendel said:
No it won't. You will also need the device tree for this device. It's not how long it takes for them to release it that I would be worried about. It's if the source is complete and not broken like they are known to release. They have a habit of release broken source to force users to use miui. If you look at other devices from this OEM it takes months some times a year before they release it and when they do it is broken and devs have to take weeks to get it even remotely working. Then there are still bugs that are never fixed.
Click to expand...
Click to collapse
So having an aosp based rom as a daily driver is out of the question?
ermacwins said:
So having an aosp based rom as a daily driver is out of the question?
Click to expand...
Click to collapse
isn't the Broken OS ROM by TS Team AOSP based ?
Of interest:
[News] Mi 3/4/Note Kernel Source Code Released! Next to Be, Mi Note PRO, Mi 4c/S:
http://en.miui.com/thread-235127-1-1.html
Don't sceptical, I reconstruct Redmi 2 kernel source without any help from Xiaomi. They released Redmi 2 kernel source for KitKat when my device already run "fully open source" and almost bug free Marshmallow :laugh:

Q : Pure AOSP + Caf rom is possible?

Hello Everyone. I'm just N5 nomal user during 2years and I had question so write this text.
I googled about AOSP / Caf and understood like this.
AOSP was handling by google, have some feature.
Caf was handling by qualcomm, more performand and seek stabilization.
Question is, Pure AOSP+Caf rom is possible?
Developers offfer to us CM-Based Caf (hammerhead-caf) but I didn't heard about AOSP + Caf.
Did I have wrong thinking?
As I told, I'm just commly n5 user Please expain easily.
Have a nice day.
kwjhgjh said:
Hello Everyone. I'm just N5 nomal user during 2years and I had question so write this text.
I googled about AOSP / Caf and understood like this.
AOSP was handling by google, have some feature.
Caf was handling by qualcomm, more performand and seek stabilization.
Question is, Pure AOSP+Caf rom is possible?
Developers offfer to us CM-Based Caf (hammerhead-caf) but I didn't heard about AOSP + Caf.
Did I have wrong thinking?
As I told, I'm just commly n5 user Please expain easily.
Have a nice day.
Click to expand...
Click to collapse
I think we cannot. CAF and AOSP are in two different line. If they can be combined, there must be a version of android like that now
Moto g 2014 has an aosp caf http://forum.xda-developers.com/moto-g-2014/development/aosp-caf-6-0-t3284309
muitenphale said:
I think we cannot. CAF and AOSP are in two different line. If they can be combined, there must be a version of android like that now
Click to expand...
Click to collapse
But we already use CAF lines rom, like CM-Caf.
Dev. said, Basement is AOSP-CM and put in CAF source to it.
I had more curious why Dev. are don't use AOSP, just connect with cm
CataHd said:
Moto g 2014 has an aosp caf http://forum.xda-developers.com/moto-g-2014/development/aosp-caf-6-0-t3284309
Click to expand...
Click to collapse
oh... Already annouced in MOTO G! thread . Even they have a little bug, impressive.
If I have 1 excellent computer, maybe try to build...refer other people's post T_T
Anyway THX for your link

Kernel source availability for The Nokia 3 and other models ?

When is Nokia going to release the kernel source for the Nokia 3 ?
It would be of much help if Nokia will give out the sources for aftermarket development.
If u by any means get hands on it, please kindly share.
iykeDROID™ said:
Why is Nokia going to release the kernel source for the Nokia 3 ?
It would be of much help if Nokia will give out the sources for aftermarket development.
If u by any means get hands on it, please kindly share.
Click to expand...
Click to collapse
Nokia mostly don't give a **** about customers, so no kernel source
SkaboXD said:
Nokia mostly don't give a **** about customers, so no kernel source
Click to expand...
Click to collapse
Yeah I know but it would be good enough to ask them.
I was previously on a Motorola device(Moto E4-woods) the mtk variant, which we had to ask for kernel source before the released it.
Am currently trying to work on custom Roms for Nokia 3, but going with stock kernel isn't enough.
iykeDROID™ said:
Yeah I know but it would be good enough to ask them.
I was previously on a Motorola device(Moto E4-woods) the mtk variant, which we had to ask for kernel source before the released it.
Am currently trying to work on custom Roms for Nokia 3, but going with stock kernel isn't enough.
Click to expand...
Click to collapse
we can still port roms without kernel source, but we need to find rom with same cpu, gpu and same kernel version.
iykeDROID™ said:
Yeah I know but it would be good enough to ask them.
I was previously on a Motorola device(Moto E4-woods) the mtk variant, which we had to ask for kernel source before the released it.
Am currently trying to work on custom Roms for Nokia 3, but going with stock kernel isn't enough.
Click to expand...
Click to collapse
LMAO
Ok, i waited a bit and Support responded, here is a full chat
Okay, let's wait and see how it goes

[KERNEL] Major Linux Updates

Hello, I decided to come up with a project that aims to port higher Linux versions. When I say higher Linux versions, I mean those that are Linux 3.5 and up. The goal is to port Linux major updates as high as I can, but the main priorities are one that are LTS like Linux 3.10, 3.14 or even 3.18.
Only Android 7 will work on non-LTS versions. Oreo/pie and Android 10 support will be added only on LTS versions to lessen the conflicts when merging non-LTS versions.
What works:
Boots
Battery
Charger
Touchscreen
Display
USB
Sound
Buttons
Deep sleep
Camera
Video playback
Fingerprint
The rest of the sensors
WiFi
Bluetooth (works on Linux 3.7 and up)
Internet connection
Anything else I can't mention
What doesn't work:
You tell me
Drivers that can't be updated (yet) due to them being heavily modified by CAF and Samsung:
USB
Sound
MMC
Newer versions are more stable than the other due to the fact that I fix more bugs with every update.
The highest version as of now is Linux 3.8. I can only merge major updates during weekends due to my work.
Sources:
Linux 3.5
Linux 3.6
Linux 3.7
Linux 3.8
Linux 3.9
Feel free to open up issues and submit pull requests
It is highly recommended to delete mpdecision from /system/bin/ before flashing
Reserved
i don't understand what is this, is there some wiki i can read?
saikyom said:
i don't understand what is this, is there some wiki i can read?
Click to expand...
Click to collapse
These are kernel updates. Our device comes with Linux 3.4, but I've managed to update that up to 3.8
darrendude1 said:
These are kernel updates. Our device comes with Linux 3.4, but I've managed to update that up to 3.8
what are the benefits of updated kernel..cheers
Sent from my Unknown unknown using XDA Labs
Click to expand...
Click to collapse
Read these:
https://kernelnewbies.org/Linux_3.5
https://kernelnewbies.org/Linux_3.6
https://kernelnewbies.org/Linux_3.7
https://kernelnewbies.org/Linux_3.8
@pascua28
What a Huge Task! As Well as a Pain on the Ares!
Now, I do Have a few Q's for you.
1 IS this "Kernel Patch" Just for your beloved Galaxy S5's ?
2 Will this be for the "Basic" Kernel in an OS (e.g. LineageOS) ?
3 Wouldn't this hurt some of the "Custom Kernels" that we currently have and use?
And of course I must ask, how far do you intend to take this (e.g up and coming 5.7 ) ?
That Said, I am in! I have downloaded all the Kernels . Mostly to compare your changes. Have also saved your GitHub page.
Am wondering though, With some of these "Custom" Kernels..... Wouldn't we see much faster , smoother , and hopefully more Darn Battery with some of the Tweaks that we have with them? Or at least with some kernel manager?
Or, would these break those Kernels (now thinking about it)?
Certainly will be watching this!
Again , this is a huge task to undertake! Sure would love to see 4.1 and above for our phones. Maybe with Your updated Kernel, we could really see some major changes with our phones.... Plus, hopefully easier to Port into the likes of Android 10! ... or Of course jumping a bit here, and a bit positive, but Android 11 !
Good luck sir
godofsalt said:
@pascua28
What a Huge Task! As Well as a Pain on the Ares!
Now, I do Have a few Q's for you.
1 IS this "Kernel Patch" Just for your beloved Galaxy S5's ?
2 Will this be for the "Basic" Kernel in an OS (e.g. LineageOS) ?
3 Wouldn't this hurt some of the "Custom Kernels" that we currently have and use?
And of course I must ask, how far do you intend to take this (e.g up and coming 5.7 ) ?
That Said, I am in! I have downloaded all the Kernels . Mostly to compare your changes. Have also saved your GitHub page.
Am wondering though, With some of these "Custom" Kernels..... Wouldn't we see much faster , smoother , and hopefully more Darn Battery with some of the Tweaks that we have with them? Or at least with some kernel manager?
Or, would these break those Kernels (now thinking about it)?
Certainly will be watching this!
Again , this is a huge task to undertake! Sure would love to see 4.1 and above for our phones. Maybe with Your updated Kernel, we could really see some major changes with our phones.... Plus, hopefully easier to Port into the likes of Android 10! ... or Of course jumping a bit here, and a bit positive, but Android 11 !
Good luck sir
Click to expand...
Click to collapse
1. This is a full Linux upgrade. Nobody has ever done that to our beloved S5 cause it's a truckload of work
2. Uhm, I don't know. LineageOS is very strict on what kernel base to use, but I may propose to use this as a base when I reach 3.10
3. This project might be a good base for custom kernels since it is more updated and I will use this base too for my future custom kernels
4. As far as I can and as long as it works. Of course, I don't wanna die yet by not going too far.
Certainly, it won't break any kernel managers. You can even clone the latest source and add some custom features. It's up to you, but right now, in the process of upgrading, I won't be adding any custom features
Regards
pascua28 said:
1. This is a full Linux upgrade. Nobody has ever done that to our beloved S5 cause it's a truckload of work
2. Uhm, I don't know. LineageOS is very strict on what kernel base to use, but I may propose to use this as a base when I reach 3.10
3. This project might be a good base for custom kernels since it is more updated and I will use this base too for my future custom kernels
4. As far as I can and as long as it works. Of course, I don't wanna die yet by not going too far.
Certainly, it won't break any kernel managers. You can even clone the latest source and add some custom features. It's up to you, but right now, in the process of upgrading, I won't be adding any custom features
Regards
Click to expand...
Click to collapse
Well, Thank You. for the reply, as well as, all the information.
YES your project is a HUGE amount of work. Good guess, IS , you seem to want to take on this challenge! Good for you...
Yes, I do intend to really follow your project. Really looking forward to the great results that I hope we (you) can achieve !
Awesome...
Thanks
Hi guys! Linux 3.9 is up!
this is amazing work!
thank you very much for it.. I bet it's ugly as hell, but you learn a lot..
I'm patiently waiting for 3.10.0 since that's required by docker (running debian using Linux Deploy)
shmizan said:
this is amazing work!
thank you very much for it.. I bet it's ugly as hell, but you learn a lot..
I'm patiently waiting for 3.10.0 since that's required by docker (running debian using Linux Deploy)
Click to expand...
Click to collapse
Yeah, very tedious and requires a lot of skill
This is huge. Thank you for doing this, I will definitely be following this
pascua28 said:
Yeah, very tedious and requires a lot of skill
Click to expand...
Click to collapse
Yes, as well as time, the correct machine and layout....
Plus I believe it requires most patience than what I have!
BTW... This is great work, have not seen any issues on my S5..... (yet, but don't think that will happen though)
Thank you!
Sent from my Galaxy S5 using XDA Labs
Is this working on 5+ (katcc6)?
robla1000 said:
Is this working on 5+ (katcc6)?
Click to expand...
Click to collapse
Nope, S5 only. And at this point klte only until @pascua28 is finished bringing the kernel up to 3.10
Only working properly is klte, for now. Other variants might work but with bugs. Will fix for other variants when we get to 3.10
3.5 to 3.9 didn't work for me,I have klte
didn't work?
I ran 3.8 for weeks without any issues.. what exactly does not work?
many reboot ,i couldn't use
vlad3647 said:
many reboot ,i couldn't use
Click to expand...
Click to collapse
It's not for higher Android version.. If you have Android 9 or 10 then wait for version 3.10

Question Anyone want to collaborate to port LineageOS to Tab P11 Plus?

It's a mediatek processor and supports SPFlash byapss in case we screw up we can still recover...
Lenovo posted the 4.14 kernel, I tried building it and it seems to compile without any errors. Just need help getting the proprietary blobs and to build a device tree.
What's the model number of this?
I have a P11 TB-J606F
I am a developer, but I have no knowledge of how to extra the blobs ?
Can you post a link to the kernel sources ?
RogerClark said:
What's the model number of this?
I have a P11 TB-J606F
I am a developer, but I have no knowledge of how to extra the blobs ?
Can you post a link to the kernel sources ?
Click to expand...
Click to collapse
That is the snapdragon variant, likely much easier to develop a custom rom for...
I am talking about the mediatek one which is the cheaper model (although they call it "plus")
RogerClark said:
What's the model number of this?
I have a P11 TB-J606F
I am a developer, but I have no knowledge of how to extra the blobs ?
Can you post a link to the kernel sources ?
Click to expand...
Click to collapse
You can get the source from lenevo's open source website and search for your model...
There are scripts floating around that can help you extract the blobs from your running device or a system image.
You'll have to make a device tree though
Ah. OK
I noticed something on github about Levono not releasing the latest kernel sources in a reasonable period of time.
Current kernel sources for Lenovo P11 (TB-J606F, TB-J606L) · Issue #1 · lenovo/gplcc
Hello, The kernel sources you (Lenovo) have posted in your support portal (https://support.lenovo.com/us/en/solutions/ht511330-lenovo-open-source-portal) for the P11 tablet are outdated (kernel ver...
github.com
And people just having kernel panic's after trying to use the old kernel, which appears to be over a year old
:-(
RogerClark said:
Ah. OK
I noticed something on github about Levono not releasing the latest kernel sources in a reasonable period of time.
Current kernel sources for Lenovo P11 (TB-J606F, TB-J606L) · Issue #1 · lenovo/gplcc
Hello, The kernel sources you (Lenovo) have posted in your support portal (https://support.lenovo.com/us/en/solutions/ht511330-lenovo-open-source-portal) for the P11 tablet are outdated (kernel ver...
github.com
And people just having kernel panic's after trying to use the old kernel, which appears to be over a year old
:-(
Click to expand...
Click to collapse
You might have a lot of work to do then. You can compare with other tablets with the same SOC. Snapdragon is very common and they release their own source as well and can rebuild the kenrnel.
You can use that guys kernel and see what the panic is to figure out what he is missing. It's def possible!
nexuspb said:
You might have a lot of work to do then. You can compare with other tablets with the same SOC. Snapdragon is very common and they release their own source as well and can rebuild the kenrnel.
You can use that guys kernel and see what the panic is to figure out what he is missing. It's def possible!
Click to expand...
Click to collapse
Yep. Probably a year old kernel should be fine, and the other guy's kernel probably has a miss configuration
anyone out there to test custom rom for P11 plus? I have compiled it but I haven't received the bootloader unlock email reply so cant test myself
Is LineageOS working on this tablet? I recently bought the tablet for my son (on a whim, without doing much research) obviously a fault on my part but i was hoping someone smarter than me got it working. I don't mean to come off rude demanding anything, just hoping someone has it working.
Can I use tb- j607 f android ROM on tb-j606f the only difference is the chipset ..snapdragon 775 and 662..the hardware the same ..please help
Cannot get android 13 for tb-606f please help

Categories

Resources