g4 plus kernel upgrade - Moto G4 Plus Questions & Answers

why does the g4 plus is using a older kernel ? any idea guys
even many custom rom developersare not a latest versionof kernel like min of 3.18 version kernel.
i have seen phones like redmi 3s phones are using more latest kernels than that of us.. i.e
redmi 3s --> 3.18 kernel
g4 plus --> 3.10 kernel.
Even in the recently released lineage os 15 nightly they have used a recent kernel version such as 4.4 instead they are using 3.10
so my question is why they are using a older kernel version ?
Thanks for reading

They plan to, if I'm not mistaken, slowly upgrade, taking into consideration performance of the kernel as they move up.

Don't know why did Moto choose the 3.10 kernel while manufacturing the phone ( 3.10 is almost reaching its EOL) when a newer kernel version was available, for example the 3.18 kernel. Secondly changing versions isn't practically possible for the people here at XDA (the respective devs) because You would need to grab that kernel version and add in all your OEM specific drivers and device tree blobs, often times which have to be reworked for the new version. And in our case our OEM didn't update the kernel , neither did they upstream it with the Security Patch OTAs we got. At the OEM level changing versions might be possible but at the Android Community , I don't think anyone will try it (SultanXDA did it for bacon I guess ). Additionally, you can also blame Moto for not releasing 64 bit firmware and its kernel source.
And on LineageOS 15, things will progress in the right direction soon. The maintainers will upstream the kernel for sure.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

tywinlannister7 said:
Don't know why did Moto choose the 3.10 kernel while manufacturing the phone ( 3.10 is almost reaching its EOL) when a newer kernel version was available, for example the 3.18 kernel. Secondly changing versions isn't practically possible for the people here at XDA (the respective devs) because You would need to grab that kernel version and add in all your OEM specific drivers and device tree blobs, often times which have to be reworked for the new version. And in our case our OEM didn't update the kernel , neither did they upstream it with the Security Patch OTAs we got. At the OEM level changing versions might be possible but at the Android Community , I don't think anyone will try it (SultanXDA did it for bacon I guess ). Additionally, you can also blame Moto for not releasing 64 bit firmware and its kernel source.
And on LineageOS 15, things will progress in the right direction soon. The maintainers will upstream the kernel for sure.
Click to expand...
Click to collapse
that meme ???

Related

(Secure Kernel) AnikOS Droid Kernel

Hi! I'm the head of the AnikOS community that is devoted to Linux Security Solution developing. For some time already we are porting some of our patches for linux kernel (especially GRSecurity-based) to 3.1.10 android kernel for some devices.
Some time later I'd like to introduce you the first working ALPHA version of this kernel named AnikOS Droid Kernel 1.0 Alpha01 for Nexus S GSM.
You can also read some useful information about AnikOS project here.
If you have any suggessions that need to be applied in our kernel so you are welcome with advices ;-)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
here are some of the top kernel threads in my opinion with best features if that helps
http://forum.xda-developers.com/showthread.php?t=1036996
http://forum.xda-developers.com/showthread.php?t=1469842
http://forum.xda-developers.com/showthread.php?t=1427352
http://forum.xda-developers.com/showthread.php?t=1361477
maybe you could add some features of these kernels in yours
here is some good info from bedalus on all the kernel features http://forum.xda-developers.com/showpost.php?p=21322946&postcount=3
I would suggest getting the project you are working on to actually work first. Kind of silly IMHO to be looking to add in stuff in other kernels when your kernel project is not even in a alpha stage yet.
sean1984 said:
here are some of the top kernel threads in my opinion with best features if that helps
http://forum.xda-developers.com/showthread.php?t=1036996
http://forum.xda-developers.com/showthread.php?t=1469842
http://forum.xda-developers.com/showthread.php?t=1427352
http://forum.xda-developers.com/showthread.php?t=1361477
maybe you could add some features of these kernels in yours
Click to expand...
Click to collapse
Ok, thanks!
I've already added the latest Voodoo Colors and Sound patches, the most popular IO and CPU frequency schedulers, BLN and BLD patches, GRSecurity 2.2.2 and some other patches.
Kernel has the Diffferent Security models feature enabled and uses full audit and policy enforcement GRSecurity features.
albundy2010 said:
I would suggest getting the project you are working on to actually work first. Kind of silly IMHO to be looking to add in stuff in other kernels when your kernel project is not even in a alpha stage yet.
Click to expand...
Click to collapse
Thanks! Hope it will be so

[DEVELOPMENT] Android 5.1 discussion

Hey guys,
we all use and work on different ROMs, be it OmniROM, CyanogenMod or AOSPA. However we all use very similar (if not the same) device trees and for that reason, I have decided to create this thread. Anyone can post test builds, logs, experiences, commits or whatever here without having to clutter other threads or open new ones.
My kernel should be good to go (it is pretty much up to date with the latest CAF upstream of the A-family, which means none of the kernel commits on cm gerrit (android_kernel_sony_apq8064) are required.) I'll be pushing everything I commit here: android_kernel_sony_apq8064.
Looking forward to a successful/effective collaboration guys.
Sounds good to me
Gave SlimLP a go - it boots. Although I didn't test it for long, I did notice that RIL is broken. Everything else should be working. I've used the kernel mentioned in the OP to get it compiled. I'll probably continue working on this on the next weekend.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Olivier said:
Gave SlimLP a go - it boots. Although I didn't test it for long, I did notice that RIL is broken. Everything else should be working. I've used the kernel mentioned in the OP to get it compiled. I'll probably continue working on this on the next weekend.
Click to expand...
Click to collapse
Yeah RIL is broken due to old sepolicies, I haven't had a chance to update them for Lollipop yet. Should be pretty easy though, using either pabx's policies or mako's for reference.
SuperHanss said:
I haven't had a chance to update them for Lollipop yet.
Click to expand...
Click to collapse
Yea me neither, I just went for permissive SELinux and disabled our policies (in fusion3-common) as they were breaking the build. We'll see...
I have updated the kernel to LA.AF.1.1-01310-8064.0. More CAF upstream coming soon...
Bump (and this goes to everyone using any 5.1 ROM) - just out of curiosity; what kind of random reboots do you guys experience? Hard reboots? Soft reboots? Or something else?
Describe the issues as precise as possible and upload logcat, dmesg and last_kmsg (and mention what ROM build you use)
I use pabx lollipop 5.1 aosp as daily driver.
Absolutely great working rom, no issues, no reboots no freezes. I feel like i have a nexus
Guys the reboot issue has been solved for me after update and it only happened when phone was in charge any idea why I have a lot apps crashing specially on Google chrome

BTV-DL09, BTV-W09 Open Source?

I am trying to build an unofficial LineageOS for my BTV-W09. Thus, I find open source project(like kernel or android sources) from huawei web site. (XDA prevents outside links for noobs, you can google with 'huawei open source')
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I download kernel codes for BTV-W09, so that I think I can build from a scratch (like cm-13 or cm-14 branch from lineageos repository).
I found a porting wiki thread from CM internet archive, but I need more porting tips for huawei devices (modem setting etc.)
If you guys give me that sources, I will read for that.
Thanks.
sysexits said:
I am trying to build an unofficial LineageOS for my BTV-W09. Thus, I find open source project(like kernel or android sources) from huawei web site. (XDA prevents outside links for noobs, you can google with 'huawei open source')
I download kernel codes for BTV-W09, so that I think I can build from a scratch (like cm-13 or cm-14 branch from lineageos repository).
I found a porting wiki thread from CM internet archive, but I need more porting tips for huawei devices (modem setting etc.)
If you guys give me that sources, I will read for that.
Thanks.
Click to expand...
Click to collapse
It's not an easy task to build CM for a completely new device, moreover a non-Qualcomm device which lacks sources, developement and similarities with other devices.
You can use the kernel sources to create your own kernel, for rom you will also need a device tree and vendor blobs as well.
I might also participate in custom rom developement for MediaPad M3, but currently I'm satisfied with stock, I'm also looking forward the EMIU 5.0 builds.
sysexits said:
I am trying to build an unofficial LineageOS for my BTV-W09. Thus, I find open source project(like kernel or android sources) from huawei web site. (XDA prevents outside links for noobs, you can google with 'huawei open source')
I download kernel codes for BTV-W09, so that I think I can build from a scratch (like cm-13 or cm-14 branch from lineageos repository).
I found a porting wiki thread from CM internet archive, but I need more porting tips for huawei devices (modem setting etc.)
If you guys give me that sources, I will read for that.
Thanks.
Click to expand...
Click to collapse
Any chance that you'd make your tree public (e.g. github)?
If not can you merely upload the sourcr file sent from Huawei on Mega?
I'm thinking of trying my luck with Linux in this tablet. And for that I'll very probably need sources (I !at need to turn on kernel options and recompile).
is the topic still up to date? I'm looking for a custom rom for the btv-w09.
Gesendet von iPhone mit Tapatalk
It of course is not. It is from 2017.
Not sent from an iPhone using Tapatalk.
I'm looking for a custom rom for the btv-w09.
is there anything there?
Response BTV-W09
irieart said:
I'm looking for a custom rom for the btv-w09.
is there anything there?
Click to expand...
Click to collapse
I found this and am waiting for someone with a stronger background to comment.
https://gearallnews.com/how-to-install-lineage-os-17-on-huawei-mediapad-m3/

[DEV] [LINUX 4.4 KERNEL] Porting upstream 4.4 Linux kernel to x2

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello,
I have been started to work on LeMax2 for two weeks (switched to lemax2 development for the hardware).
However i started to work on it, and i really wonder "upstream linux kernel 4.4 can be ported to LeMax2? and why not?" after i saw CAF added msm8996 (our device's chipset family) support into Linux 4.4 kernel
Warning: For the moment the installation of the Kernel is not recommended, because it is still in the process of instability so you may experience errors of which we do not take the slightest responsibility.
At the moment it is recommended the vision you have developer.
As you already know our main kernel version is 3.18 right now,
Whats the benefit of 4.4 kernel:
-Nearly thousands of changes which some of them are bugfixes and some of them are new sweaty kernel features
-Better power management
-Better memory management
-More secure (vulnerability fixes)
- And so on
So i started to work to port CAF 4.4 into LeMax2
- i just forked CAF pure,vanilla 4.4 kernel which support msm8996
and started to add LeEco Le Max 2 drivers + device specific changes
its very very WIP stage right now
TODOS:
- Merge all x2 drivers and device specific codes into kernel
- Fix all merge conflicts
- Update driver kernel API calls into 4.4 APIs (that is the hardest thing)
- Fix all compilation errors
- And hope for boot / Stay in!!!
İf anyone has an ability to contribute/help etc. and/or interested in this project , it would be really appreciated
Kernel Version: Linux 4.x
Based On: Gemini Porting of Simondred
Contributors
Simondred
Source Code: ]https://github.com/YosemiteDev/Kernel_LA.HB.1.1.5_CAF-4.4
Version Information
Status: For developer
@GalaticStryder Any thoughts on this?
Oh, nice Leeco max 2 Telegram chat: https://t.me/lemax2xda
That's awesome work!
GO ON DUDE
Thanks

[ROM][UNOFFICIAL] LineageOS 16.0 for HTC One M8_Eye

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.
Working:
WiFi
Bluetooth
Camera (including video recording)
FM Radio
Telephony (Calls, MMS/SMS and Mobile data)
Audio (Record and Playback)
Video Playback
Sensors
GPS
Broken / not yet supported:
Nothing so far
Downloads:
Download here
Installation:
Reboot to recovery (Only use TWRP by @HarshDB) - Direct link
Wipe /system, /data and /cache
Install LineageOS zip package
Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)
Donate:
Liked my work? Give me a beer
Contributors
HarshDB
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.4.113
ROM Firmware Required: M firmware
Version Information
Status: Unofficial
Created: 13-04-2020
This a legend <3 btw can you port the offical one m8 eye camera to this rom please, that would be great
"ROM Firmware Required: M firmware"
What's that ROM?
raisonier said:
"ROM Firmware Required: M firmware"
What's that ROM?
Click to expand...
Click to collapse
That means you should have your m8_Eye updated to Android M stock firmware before installing this ROM.
HarshDB said:
That means you should have your m8_Eye updated to Android M stock firmware before installing this ROM.
Click to expand...
Click to collapse
you there any further update bro
this rom is full of bugs . dont install . i tried pixel experience unofficial rom too but neither . for example this rom fails to install some apks that are actually for my architecture arm v7a
and overheats so many times ,, stucks lag . hangs . some times accidentaly restarts itself . i dont know but i thank you harsh for you to devoting your time to make us experience pie on our old phone . i used this rom for 2 months and now im going to rollback stock

Categories

Resources