Linux Kernel Version 4.9 - Moto G5S ROMs, Kernels, Recoveries, & Other Devel

Linux Kernel 4.9 for Moto G5s​
As you guys already know, our Moto G5s has an ancient linux kernel (3.18.x) which is now EOL (end of life) from support from actual Linux Foundation. It's pretty much stuck there with no probable updates to it (can use the android 3.18 for updates, but I think that's pretty much soon to be deprecated).
I have been working on this kernel since the past months and finally managed to boot it on our Montana!​
WARNING: THIS KERNEL IS STILL ALPHA AND SOME BUGS HAVE STILL NOT BEEN FIXED.​
I just wanted to share this kernel with the community!
What works:
Boots
Display
Touch
Storage
Charger
Battery Indication
USB
NFC
Sensors
Data transmission
WiFi
Bluetooth
Tethering
Fingerprint
Fast charging
Bugs:
Audio
Vibrations
Camera
Flashlight
Led diode
SDcard
Want to try for yourself?
lineage-16.0-20200330-UNOFFICIAL-montana_49.zip
Required clean flash. First boot hang at black screen for ~5 min. Later start to work normal.​
Huge Thanks to @m_vaisakh for helping me out with bugs and congratulations to him for booting 4.9 on Cedric
Leave a thanks if you like my work!
Buy me a Cup of Coffee or Beer here​
XDA:DevDB Information
Linux Kernel Version 4.9, Kernel for the Moto G5S
Contributors
wiktorek140, m_vaisakh
Source Code: https://github.com/wiktorek140/msm-4.9
Kernel Special Features: Linux 4.9 kernel
Version Information
Status: Alpha
Created 2020-03-30
Last Updated 2020-03-30

Reserved

Reserved to changelog

Link for testing rom is now avaiable

"kernel special features: 4.9 kernel"
Very creative, is this required?

Some random said:
"kernel special features: 4.9 kernel"
Very creative, is this required?
Click to expand...
Click to collapse
That kernel is embedded with the zip image provided.
The OS image is tied to the compiled modules of this rom.
So, yes, you need this kernel that is provided with the OS zip to make it work. Don't try to zip another kernel over this zip image.

jhonnyx said:
That kernel is embedded with the zip image provided.
The OS image is tied to the compiled modules of this rom.
So, yes, you need this kernel that is provided with the OS zip to make it work. Don't try to zip another kernel over this zip image.
Click to expand...
Click to collapse
Yes, kernel is tied to this specyfic build. Its caused some API changes in 4.9 that conflict with regular builds

jhonnyx said:
That kernel is embedded with the zip image provided.
The OS image is tied to the compiled modules of this rom.
So, yes, you need this kernel that is provided with the OS zip to make it work. Don't try to zip another kernel over this zip image.
Click to expand...
Click to collapse
Nah I meant in the description of the rom/custom kernel

Related

[Q] Building Kernel for 4.2

Ok I have my 4.2 sources and jackpot 3.0 master kernel,
android1234567 stated, "
I don't think I made a 4.2 kernel with the radio driver included. The kernel on my GitHub (sultan-kernel-jackpot-3.0) can be used with Android 4.2.X as long as it is built with the Android 4.2 sources/ramdisk (I used CM10.1 sources to build it). The way the kernel is packaged for this device is that the kernel source is built and generates a kernel image, then the kernel image is packaged with the ramdisk and recovery to create a boot.img (which can be flashed to the device). The reason why the current kernel isn't compatible with Android 4.2 is because the ramdisk and other parts of the boot.img (besides the kernel image) are built for Android 4.3 and don't work with 4.2. That means that the kernel source on my GitHub is fully compatible with Android 4.2 but it just needs to be put together with the proper Android 4.2 sources."
I need to turn jackpots 3.0 master kernel into a bootable kernel for slimbean 4.2 to get the FM radio driver working.
https://github.com/sultanxda/sultan-kernel-jackpot-3.0
If someone could point me in the right direction on what to do Id be very happy. I'm using Sultan Kernel r5 now but it doesnt have the FM driver. I want to add this into slimbean 4.2, Any advice would be most welcome.
mrshane88 said:
Ok I have my 4.2 sources and jackpot 3.0 master kernel,
android1234567 stated, "
I don't think I made a 4.2 kernel with the radio driver included. The kernel on my GitHub (sultan-kernel-jackpot-3.0) can be used with Android 4.2.X as long as it is built with the Android 4.2 sources/ramdisk (I used CM10.1 sources to build it). The way the kernel is packaged for this device is that the kernel source is built and generates a kernel image, then the kernel image is packaged with the ramdisk and recovery to create a boot.img (which can be flashed to the device). The reason why the current kernel isn't compatible with Android 4.2 is because the ramdisk and other parts of the boot.img (besides the kernel image) are built for Android 4.3 and don't work with 4.2. That means that the kernel source on my GitHub is fully compatible with Android 4.2 but it just needs to be put together with the proper Android 4.2 sources."
I need to turn jackpots 3.0 master kernel into a bootable kernel for slimbean 4.2 to get the FM radio driver working.
https://github.com/sultanxda/sultan-kernel-jackpot-3.0
If someone could point me in the right direction on what to do Id be very happy. I'm using Sultan Kernel r5 now but it doesnt have the FM driver. I want to add this into slimbean 4.2, Any advice would be most welcome.
Click to expand...
Click to collapse
Read here: http://wiki.cyanogenmod.org/w/Development?setlang=en
Meticulus said:
Read here: http://wiki.cyanogenmod.org/w/Development?setlang=en
Click to expand...
Click to collapse
Thank you, this is a viable source that will help me learn coding and development. I will study and work on building using this guide. :good:
mrshane88 said:
Thank you, this is a viable source that will help me learn coding and development. I will study and work on building using this guide. :good:
Click to expand...
Click to collapse
If you have any more specific questions. Let me know, I'll do my best...

[Kernel] Starship Kernel 06/29/2015 (Stock/AOSP_5.1.1|CM-12.1|)

Starship Kernel is being developed in conjunction with the not yet posted Starship Rom. Like I had done with the KK incarnation of the Starship Rom I am also posting the Kernel separately for anyone who may not like the Rom's Theme. Though unlikely as that may sound because I have spent much time and effort with the Kernel am posting the Kernel separately so it can be used with other Roms and not just Starship.
If you are looking for new features to play with this will not be the Kernel for you. It is designed to improve the overall experience as if it was not there. At this point and probably never you wont find over clocking or voltage controls to play with but rather just a more efficient overall experience.
Each Kernel Download section contains a link to the commit list for both the purpose of following rules about posting links to Kernel Sources as well as serving as a change log. You will find in the main branch all Linux Kernel Increment Updates are grouped into one commit. This is to easily distinguish what commits have been made as part of the Linux Kernel Increment Updates from other additions/optimizations that are not part of the Linux Version Updates. You can find descriptions of each change made as part of the Increment Updates in the staging branch. In other words the second link below the download links will give a description off the changes made in the Linux Version Updates .
Downloads
AOSP/Stock (Android Version 5.1.1)
AOSP/Stock Kernel is compiles using Google's GCC 4.8 toolchain and tested tested on the Stock 5.1.1 Rom as well as AOSP compiled Rom using unmodified pure 5.1.1 Source code. The Kernel may or may not work on custom Roms based on 5.1.1 depending on what changes have been made by the Roms developer and how far the Rom has strayed from the original source code. In most cases if the Rom is AOSP based the Kernel will work but provide no guarantee as am not testing with every ROM available. If you do find a Rom the Kernel does not work with feel free to comment but please include what Kernel was used that did not work as I may be able to shed light on reasons why and provide a workaround if possible. Most of incompatibility will find that the Kernel is not the issue rather what is included inside the boot.img like Ramdisk iinit.rc files that set permissions and create the Rom file-system.
Starship-lollipop-5.1_Kernel-3.4.91_r1
https://www.androidfilehost.com/?fid=24052804347767806
Starship-lollipop-5.1_Kernel-3.4.88_r1
https://www.androidfilehost.com/?fid=24052804347766347
Starship-lollipop-5.1_Kernel-3.4.86_r1
https://www.androidfilehost.com/?fid=24052804347760505
Starship-lollipop-5.1_Kernel-3.4.83_r1
https://www.androidfilehost.com/?fid=24052804347756685
Source / Change-log
https://github.com/Starship-Android/android_kernel_lge_hammerhead-starship/commits/lollipop
Including individual explanation of changes included as part of Linux version increment update patches.
https://github.com/Starship-Android/android_kernel_lge_hammerhead-starship/commits/lollipop_staging
CM-12.1
CM-12.1 Kernels may be updated more frequently without posting a new date so don’t be surprised to see multiple release number increments. In most cases there has been no change in the Kernel itself but update frequently as development is fast moving. Because of this some of the files that get packaged into the boot.img along with the Kernel may change and cause issues. Because of this will update as frequently as I can to insure everything packaged into the boot.img is up to date.
Starship-CM-12.1_Kernel-3.4.88_r1
https://www.androidfilehost.com/?fid=24052804347766796
Starship-CM-12.1_Kernel-3.4.86_r1
https://www.androidfilehost.com/?fid=24052804347760507
Starship-CM-12.1_Kernel-3.4.80_r1
https://www.androidfilehost.com/?fid=23991606952613802
Source / Change-log
https://github.com/Starship-Android/android_kernel_lge_hammerhead-starship/commits/cm-12.1_staging
Donations
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MMEVCWUX83SXJ
I am not responsible for any effect using the downloads from this forum my have on any device and you download and use at your own risk.
Just decided to include the CM-11 Kernel for anyone who may be using CM-11. Is a nice Kernel and gave me an extra hour or two battery so recompiling with a few new commits I have been using in both CM-12 & AOSP. Will post in a few. Checking nothing else may have changed on the CM side with the rest of the boot.img and will post in a bit.
I will try out the AOSP kernel tonight or tomorrow, we are under blizzard conditions right now and can't mess with phone because of work (boss & I texting back and fourth)
Thanks for your work
Sent from my rooted RCT6203W46 using xda-dev app
Downloading now!
Sent from my Nexus 5 using XDA Free mobile app
rickballs said:
Downloading now!
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Sorry about this then but have uploaded an update. I had intended on holding off until reaching Linux version 3.4.40 as it is the version I had left off with for Kit-Kat and have just been modifying each version increment patch from the Kit-Kat 3.4 Kernel for Lollipop. Anyhow last night before bed had used my Bluetooth Headset with the current version and sounded like I had gone out and bought a brand new higher end set so decided to post the update now. Found in the past Android can have a completely different experience when it comes to different BT devices like for example the same headset had become completely unusable on my N7 with constant skips and pauses on 4.4.4 after working beautifully on 4.4.3 so hope others can hear the same boost in overall audio quality including BT headsets.
Updated Kernels with a few new optimizations and 3.4.36 version update
Ok will try it
Can't download from devhost. Anyone else is having problema?
gengi said:
Can't download from devhost. Anyone else is having problema?
Click to expand...
Click to collapse
Looks to be up and running. Can try direct links though.
updated so links are no longer current.
Well it feels like with all the side track projects been talking Starship L long enogh maybe some of those who have sent PM's asking about the lollipop update are starting to become doubters so decided to post up a few screen shots. Was going to finish a few things then go over the theme image by image and color by color but think instead after finishing up a few things will post and then start going over each apk over again for touching up, fixing and adding missed optimizations including Kernel updating along the way. Once again not for everyone so haters can hate and I just keep doing it because its what I like doing.
Made new boot.img for Stock / AOSP 5.1.0 as old image used in 5.0 - 5.0.2 caused boot loops.
The MultiROM not work with this kernel? :-O
dado70 said:
The MultiROM not work with this kernel? :-O
Click to expand...
Click to collapse
Honestly have been meaning but have not tried MultiROM. Looked over at the thread and see allot of mention about the boot.img and modifications. If I had to guess with the limited knowledge I have would say if not working is not so much the Kernel but the boot.img in the same way that both the Stock / AOSP zips posted are the same exact Kernel inside but changes made to files like the init.rc inside the 5.1.0 boot.img that creates the file system and sets permissions among a score of other things caused 5.1.0 from booting properly after updating and flashing the boot.img. As developers we use the name Kernel but there is much more inside than the actual Kernel. In some cases can be more than a dozen other scripts and other files inside. Will need to try and learn a bit about MultiROM. Out of curiosity was it Stock or CM giving you issues?
Little more reading and looks like not everyone including CM has updated to include new bootloader version checks to include new bootloader from the 5..1.0 update. So for example I needed to change the bootloader version in CM source or nightly builds will not flash in TWRP without errors.
Maybe an update on this if flashing CM version, seems latest CM12 is receiving errors flashing with some recovery versions and must be installed via adb / fastboot. Article was not specific on the reason but may be the cause.
Added updates to version 3.4.42 for both 5.1.0 and under. The 5.0.2 zip should work for all stock and AOSP Roms from 5.0 - 5.0.2. Because of changes in 5.1.0 boot.img 5.1.0 will not boot when used with a lower Android Version.
Slightly disappointed as today had planned on posting full Starship Rom but now updating for 5.1.0 so maybe another week maybe two
So any details on what this kernel does? Or is our just close to stock?
CM12 Kernel is on hold until 5.1.0 version update. No reason testing anything new until can confirm everything will still work next week. Also figures the same week I had planned on posting the full Starship Rom the 5.1.0 update hit so now am back in testing optimizing phase for a bit longer.
3.30.2015 update
Linux version has been updated to version 3.4.55
All MR1 changes added to the 5.1.0 AOSP Kernel have been merged into the Kernel
https://github.com/Starship-Android...mmit/8ed8c47ff15f1c5fdd6707f7a52f76110aed6cbf
4.6.2015 update
Not much on the AOSP/Stock side. Wanted to post a cm12 update so decided to post the AOSP/Stock kernel earlier than I would normally with a few Linux version update patches. With that said updating the Kernel only takes a minute or so and not like asking to flash a new Rom. Kernels are easy and these days faster to flash than g-apps. Also used the 5.1.0_r3 source to compile the boot image for 5.1 instead of 5.1.0_r1 source I had been using. Honestly though did not check if anything changed that is packed into the boot.img along with the Kernel between r1 & r3 so may or may not make any difference what so ever.
Forgot, marked the cm-12.1 kernel as beta just because cm-12.1 is pretty much beta. Otherwise the Starship 12.1 Kernel is the Starship CM12 Kernel merged with the Cyanogen 12.1 Kernel . Not that the two had been far apart to start but the 12.1 CM Kernel merged into the Starship cm12 kernel clean as a whistle with 0 conflicts. Was pretty happy about that so going foreword will just be working on the 12.1 Kernel with the Starship cm-12 Kernel soon going the way of the 5.0 - 5.0.2 Stock/AOSP Starship Kernels.
Now finally since the actual Starship Rom I have been working on since the darn preview release ending as mostly caf based with CM-12.1 coming together can start updating from 5.0.2 into 5.1 as had just finished going over the first draft and was about to post when the 5.1 update hit. Otherwise wanted to post the first draft and then go over the entire Rom a second time looking over the theme images, features and optimizations with a magnifying glass.
Have updated both Stock / AOSP and cm-12.1 Kernels up to Linux 3.4.65 with a few other additions and weeding. Has and been running pretty sweet on both so far.
Stock / AOSP 3.4.65 Kernel boot.img has been compiled using the 5.1.1 AOSP Source and tested on both 5.1.0 & 5.1.1 with no issue and as mentioned above running pretty sweet.
I cant install on aicp 5.1.1
Sent from my Nexus 5 using XDA Premium HD app

[ROM][Unofficial][CM12.1][BETA][Indonesia Developer ROM][9/30/15]

I DO NOT OWN THE ROM.
The developer of this rom is kumajaya on MIUI forum and thanks to him for his work.
MISSION:
Embarrass Xiaomi because refuse to release Redmi 2 kernel source
BUG:
Before you install this ROM, check your device magnetic sensor. Currently YAS537 not supported!
Still under development, built from sources, no hidden sources, not a binary dirty hack ROM
The following will not be supported in this thread:
- Custom Kernels
- Mods, including CPU management mod or any strawberry mod
- Modified system files
- Xposed
If you reuse even a part of my work here, a proper credit is a must, keep it open source also a must
Download:
Cyanogen and TWRP recovery: https://goo.gl/cDJQXI
CyanogenMod 12.1 ROM: https://goo.gl/zhGZjQ and https://goo.gl/5sqZGp
For better Google experience, install TK GApps Nano: http://forum.xda-developers.com/android/software/tk-gapps-t3116347
Don't create any mirror without a permission!
Cyanogen recovery above just like a standard AOSP recovery without a lot of features compared to TWRP, but you can temporary boot it using "fastboot boot cyanogen-recovery-wt88047.img" command to check if CyanogenMod 12.1 ROM possibly working on your device variant.
Don't even try this ROM on Redmi 2A variant!
Sources:
CyanogenMod source tree: [url]https://github.com/CyanogenMod[/URL]
Kernel source: https://github.com/kumajaya/android_kernel_cyanogen_msm8916
Device specific source: https://github.com/kumajaya/android_device_wingtech_wt88047
Vendor binaries: https://github.com/kumajaya/proprietary_vendor_wingtech
Changelog:
Device specific source: https://github.com/kumajaya/android_device_wingtech_wt88047/commits/cm-12.1
Kernel source: https://github.com/kumajaya/android_kernel_cyanogen_msm8916/commits/cm-12.1-amss-1.0.2-wt88047
Vendor binaries: https://github.com/kumajaya/proprietary_vendor_wingtech/commits/cm-12.1
Credits:
Google, AOSP, Cyanogen, CyanogenMod community, Qualcomm's CodeAurora @balika011, @zwliew, @Flour_Mo
Introducing me: XDA Recognized Developer, CyanogenMod contributor
My wife, she always believed I could restore back her device in minutes
Some tools: Kate (text editor), Kompare (diff viewer and generator), qgit (git GUI)
Smarfren Indonesia for Andromax Q source code
Micromax India for Yuphoria and Yureka source code
Current status:
Boot to Android, this is my first ROM that really boot on the first try
Touchscreen works, all hardware button mapped correctly
No screen flicker, fluid graphics
Voice call and SMS works, data over WiFi and GSM works (radio config in build.prop fix previous GSM issue)
Vibration and screen rotation works
All sensors seem works including GPS and compass but light sensor still need a fine tuning
Both camera working, the author found a super clean solution
No boot animation (fixed, kernel issue) Disable splash screen break Android boot animation but if I enable it, Cyanogen recovery covered by Tux the penguin logo in the center. The workaround solution, move Tux to the top right of the screen
No sound (fixed, kernel and user space issue) This also fix slow boot because of logcat flooding. BUG: Speaker output ignore headset jack insertion, sound out from both speaker and headset
Bluetooth file transfer fail (~42MB zip, failed at 17%) WiFi file transfer way faster
FM radio works
WiFi hotspot works
YouTube and local video 720p works
LED driver working great, multi color and blink
Remember, no contribution from Xiaomi yet. That's the reason why I try to avoid "Xiaomi" string in my source as possible but Wingtech.
I use CyanogenMod resources as much as possible, including common MSM8916 device tree and kernel. Maintain device source tree and leave common part to CyanogenMod community. I'll strictly follow CyanogenMod coding style and source structure. This is about source code quality.
AGAIN, I DO NOT OWN THE ROM.
Will try it soon. And I hope Xiaomi will release the kernel like Redmi 1s.
kumajaya and zwliew are the most stable CM12.1 roms for our phone. I hope they reach 100% full working version in near future.
Thank you both!
Can you upload the changelog for the latest [30/09/15] build. Also is the YAS537 supported
How about some screenshots?
What is the point of this thread when the original poster already has one on XDA?
Sent from my Nexus 7 using Tapatalk
crzlloid said:
Can you upload the changelog for the latest [30/09/15] build. Also is the YAS537 supported
Click to expand...
Click to collapse
There is a link in my post about the changelog and the YAS537 is still not yet supported.
zwliew said:
What is the point of this thread when the original poster already has one on XDA?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Sorry, but I have already talk to kumajaya about it. Then he ask me to help him on requesting an official sub-forum for our device. Anyways, if anyone here oppose me about posting this thread, then maybe I should delete this.
wow, using this in 2020, 5 years later.

[ROM][UNOFFICIAL][6.0.1][SGP712/SGP771] CyanogenMod 13 for Xperia Z4 Tablet [Alpha]

CyanogenMod 13 for Sony Xperia Z4 Tablet Wifi and LTE (SGP712/SGP771)​
Code:
Your warranty may be voided ! I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it! YOU are choosing to make these modifications.
Issues:
- Back camera focus: image is blurred and color problem (waiting for new AOSP blobs from Sony)
- Minor bug with led while charging
- No FM radio
- Tell me what you find !
How to install
- Unlock your bootloader (you can save your TA partition before)
- Update your firmware to the last Marshmallow version (needed to update the bootloader, kernel will not boot if you use the Lollipop bootloader)
- Install AndroPlus kernel and TWRP
- Make a backup
- Push the rom’s zip to the SD card (optionnaly with gapps)
- Wipe System, Data, Cache, Dalvik cache
- Install the rom (and gapps if you want)
- Reboot
- Enjoy, and give me a feedback
Advice: You can use TWRP from Androplus before installing the rom. But it will not work with cyanogenmod kernel.
So, after installing the rom, you can use TWRP made for CM kernel (see the link bellow) and press vol+ at boot, or keep AndroPlus TWRP and use "fastboot boot boot.img", were boot.img is AndroPlus kernel.
Edit : my TWRP for CM seem to has a bug with touchscreem randomly not working, you can reboot the tablet with Power-Vol+ until the touchscreen works (it doesn't stop working after boot, it just works well or not at all), or use the fastboot method with AndroPlus Kernel.
I will solve this problem when I'll have the time.
Thanks
@CTXz and @zacharias.maladroit for all the work with the Z5 serie and the kitakami platform
To all people who helped them: @oshmoun, @moonbutt74, @sub77, @Joeisgood99, @bazhip, @alphatact1cs, @auras76, @Myself5
@AndroPlus for his great kernel and recovery
Sony’s AOSP team for providing sources for AOSP
CyanogenMod team, they are provinding a great android distribution
Google for Android
All the people I don’t explicitly thanks (You can ask if you think you should be on this list, I will add you with pleasure)
Downloads
Cyanogenmod unofficial rom for karin windy (Z4 tablet wifi only)
https://www.androidfilehost.com/?w=files&flid=67714
Cyanogenmod unofficial rom for karin (Z4 tablet LTE)
https://www.androidfilehost.com/?w=files&flid=86526
Gapps
http://opengapps.org/
Select ARM64, android 6,0, and choose the variant you want (I recommand pico)
TWRP for CM kernel (both Z4 tablet wifi and LTE)
https://www.androidfilehost.com/?w=files&flid=114592
Questions
- Please, avoid asking things like: how to flash this rom, what is fastboot, …
There is enough documentation on XDA and others websites. You also probably should not use this rom if you don’t know how to recover a bricked device with fastboot and flashtool.
- I’m not a professional devlopper, I don’t receive payement for this, so don’t ask for ETA, for make a rom for an other devices, …
- I only have a wifi only Z4 tablet, I make a LTE version, but since I don’t own this tablet it’s not possible for me to debug like on my wifi tablet.
Reporting a bug
- Explain what happen with the more details you can: how does this bug happen, when, …
- Share a log if you can
Source code:
Device
https://github.com/andralex8/android_device_sony_karin_windy
https://github.com/andralex8/android_device_sony_karin
https://github.com/andralex8/android_device_sony_kitakami
https://github.com/andralex8/android_device_sony_common
Kernel
https://github.com/andralex8/android_kernel_sony_kitakami
Vendor
https://github.com/andralex8/android_vendor_sony
https://github.com/andralex8/android_vendor_qcom
The remaining source code for the kitakami platform can be obtainde from here:
https://github.com/Sony-Kitakami
https://github.com/andralex8
CyanogenMod source code:
https://github.com/CyanogenMod
TWRP source code:
https://github.com/omnirom/android_bootable_recovery
Changelog
Code:
2016/11/25
- Increase max speaker volume
- Allow to set lower minimum brightness
- Sync last CyanogenMod sources (stable/cm-13.0-ZNH0E branch)
2016/11/13
- Sync last CyanogenMod sources (stable/cm-13.0-ZNH0E branch)
2016/09/18
(- Use cm libbt again)
2016/09/17
- Sync last CyanogenMod sources (stable/cm-13.0-ZNH0E branch)
2016/08/21
- Fix USB OTG (disable switch on boot)
2016/08/20
- Sync last CyanogenMod sources (stable/cm-13.0-ZNH0E branch)
2016/08/07
- Partially fix USB OTG (fix kernel usb driver)
- Use Adreno stock blobs (32.1.A.1.185)
- Sync last CyanogenMod sources (stable/cm-13.0-ZNH0E branch)
2016/07/29
- CyanogenMod for SGP771 karin released
2016/07/10
- Update qcom blobs (SW_binaries_for_Xperia_AOSP_M_v05a)
- Cpuquiet and rqbalance improvements (cherry-picking from sonyxperiadev)
- Sync last CyanogenMod source (stable/cm-13.0-ZNH0E branch)
2016/06/15
- Fix sensors
2016/06/14
- Fix bluetooth (use broadcom libbt from AOSP instead of CM)
2016/06/05
- Fix audio (add acdb and audio config from stock 32.1.A.1.185)
- Sync last CyanogenMod sources (stable/cm-13.0-ZNH0E branch)
2016/05/29
- CyanogenMod for SGP712 karin_windy released
- Use cm stable/cm-13.0-ZNH0E branch
XDA:DevDB Information
CyanogenMod 13 for Xperia Z4 Tablet, ROM for the Sony Xperia Z4 Tablet
Contributors
andralex8, and a lot more (see thanks section)
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod
Version Information
Status: Alpha
Created 2016-07-23
Last Updated 2016-11-25
File is uploading, should be online in a few minutes
Edit : link temporary changed to google drive, I have problems to upload to androidfilehost. The link should work now
Well done! Many thanks for getting this ROM started and sharing it.
Sent from my SGP712 using XDA-Developers mobile app
Good to know that at last cyanogenmod was released for our tablet, hope it will be the same for SGP771 soon.
Audio fixed, now the tablet should have sound working properly
Great work! Hanging on for recovery code to be integrated after some foibles with fastboot on the sgp612.
Sent from my A0001 using XDA-Developers mobile app
belrik said:
Great work! Hanging on for recovery code to be integrated after some foibles with fastboot on the sgp612.
Sent from my A0001 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thank you!
In fact the current kernel/ramdisk can launch a recovery by pressing the vol+ when the led turn pink, but it cannot load the currently available TWRP recovery that need Androplus kernel.
I'm currently making a recovery that work with this kernel (it seem that it work with Androplus kernel too). It actually kinda work, it can wipe system and flash Cyanogenmod (not trying backup and restore yet). But the updater crash when trying to install Gapps, I need to fix this and it should be ok .
Awesome work, thanks! It's running pretty smooth. No problem booting TWRP manually from fastboot. Good luck hammering out the small things
TWRP is now working with the rom ! And without the need of the fastboot trick .
It's build to work with the kernel I used for cyanogenmod. (It work partialy with Androplus kernel too but with some limitations like adb is not working, ...)
This is the link: https://www.androidfilehost.com/?w=files&flid=67717
I forgot, but touchscreen may not work at first TWRP's boot. Just reboot the recovery and it should work again.
Recovery works great, no touchscreen issues after flashing it. :good:
andralex8 said:
- I only have a wifi only Z4 tablet, I could make a LTE version if nobody else make it, but since I don’t own this tablet it’s not possible for me to debug…
Click to expand...
Click to collapse
I would be willing to test an SGP771 version, if you can compile one?
Also, are the install instructions still correct?
andralex8 said:
How to install
- Unlock your bootloader (you can save your TA partition before)
- Update your firmware to the last Marshmallow version (needed to update the bootloader, kernel will not boot if you use the Lollipop bootloader)
- Install AndroPlus kernel and TWRP
- Make a backup
- Push the rom’s zip on the SD card (optionnaly with gapps)
- Wipe System, Data, Cache, Dalvik cache
- Install the rom (and gapps if you want)
- Reboot
- Enjoy, and report bugs
Click to expand...
Click to collapse
Should it not be the TWRP version you have built that should be used, as opposed to the AndroPlus version?
HotBlack77 said:
I would be willing to test an SGP771 version, if you can compile one?
Click to expand...
Click to collapse
I will check this week-end if I have the time . But I must make a cm device repo from Sony's AOSP repo before being able to compile anything. So I don't promise anything, I will see.
HotBlack77 said:
Also, are the install instructions still correct?
Should it not be the TWRP version you have built that should be used, as opposed to the AndroPlus version?
Click to expand...
Click to collapse
You first need to have a working recovery to flash CyanogenMod. And for the Z4 tablet (and almost all Xperia), the recovery use the same kernel as the system because the recovery is not lauched by the bootloader, but after, by using the FOTAKernel partition as a recovery partition.
It's the reason for what when coming from stock I advise to use Androplus kernel and TWRP. After flashing CyanogenMod, the kernel is cm's one, then TWRP from Androplus will not work and you will need to switch for TWRP for cm kernel.
You can try to use TWRP for cm kernel with Androplus kernel. I tried and it seem to work, but since it's not compiled with this kernel it may not work properly. I didn't make an extensive testing for this configuration (Androplus kernel + cm TWRP), so I can't advise people to use it but maybe it's not a problem.
Bluetooth should be fixed, the annoying bug with the keyboard is gone .
Using broadcom libbt from AOSP seem to fix the problem (thanks again to Sony Kitakami Platform Developer Organization)
Sensors fixed !
Now automatic rotation work (and other sensors too).
Is sgp771 going to be supported?
Enviado de meu SM-N920G usando Tapatalk
calj17 said:
Is sgp771 going to be supported?
Click to expand...
Click to collapse
This is what I already said a few post ago:
andralex8 said:
I will check this week-end if I have the time . But I must make a cm device repo from Sony's AOSP repo before being able to compile anything. So I don't promise anything, I will see.
Click to expand...
Click to collapse
So, you will tell me that yourself if it work or not when I'll make a test rom for SGP771 .
I already take a look and it have most of the device tree common with the SPG712, so I think it should not be too difficult to have a working rom for the sgp772 because it's working on the sgp712.
andralex8 said:
This is what I already said a few post ago:
So, you will tell me that yourself if it work or not when I'll make a test rom for SGP771 .
I already take a look and it have most of the device tree common with the SPG712, so I think it should not be too difficult to have a working rom for the sgp772 because it's working on the sgp712.
Click to expand...
Click to collapse
Great to hear that. The only difference is modem blobs between sgp712 and sgp771
Enviado do meu iPad usando Tapatalk
All fresh from this night, this is a rom for the SGP771 (Karin) :
https://www.androidfilehost.com/?fid=24591000424940766
I didn't test this rom because I only have a SGP712. Then, if someone can give me a feedback if the rom install and lauch correctly it would be great .
andralex8 said:
All fresh from this night, this is a rom for the SGP771 (Karin) :
https://www.androidfilehost.com/?fid=24591000424940766
I didn't test this rom because I only have a SGP712. Then, if someone can give me a feedback if the rom install and lauch correctly it would be great .
Click to expand...
Click to collapse
I have the 771 LTE version with recovery installed. I just need to flash the ROM and google apps?
Thanks
Sent from my Nexus 6P using Tapatalk

**Unofficial** Howto Kali Nethunter LG K20 Plus (MP260) [Modified Kernel]

Instructions on installing Kali NetHunter for the LG K20 Plus. (MP260)
This is a modified LineageOS 14.1 arm64 Kernel modified for use with the Nethunter although its should work for any ROM.
I am going to assume that your device is rooted and has TWRP installed. Also since this is an arm64 kernel, you will most likely need to have a custom ROM installed. I am using AICP "aicp_lv517_n-12.1-UNOFFICIAL-20180216". You can download it from this thread https://forum.xda-developers.com/note-4/snapdragon-dev/rom-aicp-12-1-t3592312.
Once you have that done, Make sure you download the nethunter-generic-arm64-kalifs-full-rolling-3.15.4-20170211-0304.zip and then download the kernel I compiled from my github.
https://github.com/robnew/NetHunter_K20plus_Kernel
Flash them both from TWRP and you should be good to go.
THE KERNEL
The NetHunter kernel for the LG K20 Plus is based on the LineageOS 14.1 [LV517] kernel sources.
•SELinux enforcing, switches to permissive when requested by NetHunter app
•Enabled USB (OTG) Atheros, Ralink, and Realtek WiFi drivers
•FIOPS IO scheduler as default IO scheduler, SIO available
•DriveDroid compatibility
•USB HID Gadget keyboard & mouse support (HID Attacks, Duckhunter HID Attacks)
•mac80211 packet injection support
•Additional drivers built in for the full Kali NetHunter experience
•Data partition encryption optional (may not be supported by custom kernels - encrypt at your own risk)
•Kernel module support, insert your own modules! (modprobe available in Kali chroot)
•CIFS, NFS available through included kernel modules
Enjoy.
Hello
Hey I am pretty root savvy but just got a phone able to have nethunter kernal I mainly want it for hid keyboard but I can figure out what build to download I can't find any that say lv517 they say Shamu and hammerhead etc. So I was wondering if you could help me find the kernal or a hid kernal I am using the LG mp260 I am on lineage 15.1 I have twrp. I downloaded master zip at GitHub but when I tried flashing it said md5 checksum error if I am leaving out any info I apologize any help would be greatly appreciated
---------- Post added at 11:41 AM ---------- Previous post was at 11:31 AM ----------
Sorry 14.1 I ment 7.1.2 is my version my model is LG k20 plus lineage version 14.1 lv517 20180114 (weird that's my bday lol) hope to here back
Bigjohnvancil said:
Hey I am pretty root savvy but just got a phone able to have nethunter kernal I mainly want it for hid keyboard but I can figure out what build to download I can't find any that say lv517 they say Shamu and hammerhead etc. So I was wondering if you could help me find the kernal or a hid kernal I am using the LG mp260 I am on lineage 15.1 I have twrp. I downloaded master zip at GitHub but when I tried flashing it said md5 checksum error if I am leaving out any info I apologize any help would be greatly appreciated
---------- Post added at 11:41 AM ---------- Previous post was at 11:31 AM ----------
Sorry 14.1 I ment 7.1.2 is my version my model is LG k20 plus lineage version 14.1 lv517 20180114 (weird that's my bday lol) hope to here back
Click to expand...
Click to collapse
Make sure you download the nethunter-generic-arm64-kalifs-full-rolling-3.15.4-20170211-0304.zip from the Nethunter Repository and then download the kernel I compiled from my github. github.com/robnew/NetHunter_K20plus_arm64_Kernel. Flash them both from TWRP and you should be good to go. Make sure you are running 64bit Rom. Good luck. Let me know if you have any issues.
Awesome work. I will have to give it a try.
Hey this kernel does not support postgresql in nethunter there is an error about memory segmentation fault. Is there a way to fix this?
Colt5775 said:
Hey this kernel does not support postgresql in nethunter there is an error about memory segmentation fault. Is there a way to fix this?
Click to expand...
Click to collapse
Postgresql works fine for me. I am running it as the back end for MetaSploit. What Rom are you running?
buggy kernel
I've managed to get nethunter pretty much all set up but it seemed like every time I flashed the kernel I would be stuck in a boot loop. anyone got anything on this?
64Bit
Make sure your using a 64bit ROM like RR or AICP. There are both 32 and 64 versions of these. I have uploaded a newer kernel to GITHUB with support for more wifi cards. Let me know if this helps you. Also what is the model number you are using?
robnew said:
make sure your using a 64bit rom like rr or aicp. There are both 32 and 64 versions of these. I have uploaded a newer kernel to github with support for more wifi cards. Let me know if this helps you. Also what is the model number you are using?
Click to expand...
Click to collapse
lg k20 tp260
64 bit pbrp , 64 bit lineageos 15.1
I just tried out the Unofficial LineageOS 15 and the Kernel is not working for me either. I know it works fine on all the 7.1 ROMS. I will work on a new kernel designed for Android 8.1. Not really sure what is different yet.
robnew said:
I just tried out the Unofficial LineageOS 15 and the Kernel is not working for me either. I know it works fine on all the 7.1 ROMS. I will work on a new kernel designed for Android 8.1. Not really sure what is different yet.
Click to expand...
Click to collapse
Thank you I look forward to trying it out asap
Wich zip file from GitHub do we download?
robnew said:
I just tried out the Unofficial LineageOS 15 and the Kernel is not working for me either. I know it works fine on all the 7.1 ROMS. I will work on a new kernel designed for Android 8.1. Not really sure what is different yet.
Click to expand...
Click to collapse
Base it on my 9.0 kernel on github
Thanks for the work I'm going to try noe
Hi thanks for continuous hard appreciated work.
Question did you get this working with the lineage Os 15.1 ROM the kernel part I mean?
Last question is the ROM you have posted here better than lineage one I'm using for this phone like in options or speed ,mods ,etc..
Please everyone do not take anything in wrong terms. All of everyone's work done I respect and appreciate and thank them all including XDA
USB storage device not mounting with this kernel... No devices detected. I've tried stickmount and still the same thing... Can anyone please help? I've already ordered the WiFi adapter and I hope its going to work...
GXDA3 said:
USB storage device not mounting with this kernel... No devices detected. I've tried stickmount and still the same thing... Can anyone please help? I've already ordered the WiFi adapter and I hope its going to work...
Click to expand...
Click to collapse
Does this kernel not support native usb otg? I can't get it to read my usb flash drive with an otg cable it wont even read it... no option to mount?
llib01 said:
Hi thanks for continuous hard appreciated work.
Question did you get this working with the lineage Os 15.1 ROM the kernel part I mean?
Last question is the ROM you have posted here better than lineage one I'm using for this phone like in options or speed ,mods ,etc..
Please everyone do not take anything in wrong terms. All of everyone's work done I respect and appreciate and thank them all including XDA
Click to expand...
Click to collapse
The kernel is a modified lineageOS 14.1 kernel. The only difference is that mine supports the nethunter tools like HID attacks and external USB WiFi cards.
No rtl88xxau kernel modules
robnew said:
Instructions on installing Kali NetHunter for the LG K20 Plus. (MP260)
This is a modified LineageOS 14.1 arm64 Kernel modified for use with the Nethunter although its should work for any ROM.
I am going to assume that your device is rooted and has TWRP installed. Also since this is an arm64 kernel, you will most likely need to have a custom ROM installed. I am using AICP "aicp_lv517_n-12.1-UNOFFICIAL-20180216". You can download it from this thread https://forum.xda-developers.com/note-4/snapdragon-dev/rom-aicp-12-1-t3592312.
Once you have that done, Make sure you download the nethunter-generic-arm64-kalifs-full-rolling-3.15.4-20170211-0304.zip and then download the kernel I compiled from my github.
https://github.com/robnew/NetHunter_K20plus_Kernel
Flash them both from TWRP and you should be good to go.
THE KERNEL
The NetHunter kernel for the LG K20 Plus is based on the LineageOS 14.1 [LV517] kernel sources.
•SELinux enforcing, switches to permissive when requested by NetHunter app
•Enabled USB (OTG) Atheros, Ralink, and Realtek WiFi drivers
•FIOPS IO scheduler as default IO scheduler, SIO available
•DriveDroid compatibility
•USB HID Gadget keyboard & mouse support (HID Attacks, Duckhunter HID Attacks)
•mac80211 packet injection support
•Additional drivers built in for the full Kali NetHunter experience
•Data partition encryption optional (may not be supported by custom kernels - encrypt at your own risk)
•Kernel module support, insert your own modules! (modprobe available in Kali chroot)
•CIFS, NFS available through included kernel modules
Enjoy.
Click to expand...
Click to collapse
I have used all the methods and yours was the last method and I am telling you it does not work for the rtl88xxau. I am trying to have this build within the kernel and I have done anything so far but not successful. The modules you have compiled are the ralink which you describe. I am having trouble building a kernel. I am trying to build a kernel with the drivers or rtl88xxau available but I am getting stuck at some point. Can you please tell me what version of linux os have you used to compile the kernel. I am trying to compile the kernel for the cm 14.1 with the rtl88xxau. thank you.
Small world.
​
robnew said:
Instructions on installing Kali NetHunter for the LG K20 Plus. (MP260)
This is a modified LineageOS 14.1 arm64 Kernel modified for use with the Nethunter although its should work for any ROM.
I am going to assume that your device is rooted and has TWRP installed. Also since this is an arm64 kernel, you will most likely need to have a custom ROM installed. I am using AICP "aicp_lv517_n-12.1-UNOFFICIAL-20180216". You can download it from this thread https://forum.xda-developers.com/note-4/snapdragon-dev/rom-aicp-12-1-t3592312.
Once you have that done, Make sure you download the nethunter-generic-arm64-kalifs-full-rolling-3.15.4-20170211-0304.zip and then download the kernel I compiled from my github.
https://github.com/robnew/NetHunter_K20plus_Kernel
Flash them both from TWRP and you should be good to go.
THE KERNEL
The NetHunter kernel for the LG K20 Plus is based on the LineageOS 14.1 [LV517] kernel sources.
•SELinux enforcing, switches to permissive when requested by NetHunter app
•Enabled USB (OTG) Atheros, Ralink, and Realtek WiFi drivers
•FIOPS IO scheduler as default IO scheduler, SIO available
•DriveDroid compatibility
•USB HID Gadget keyboard & mouse support (HID Attacks, Duckhunter HID Attacks)
•mac80211 packet injection support
•Additional drivers built in for the full Kali NetHunter experience
•Data partition encryption optional (may not be supported by custom kernels - encrypt at your own risk)
•Kernel module support, insert your own modules! (modprobe available in Kali chroot)
•CIFS, NFS available through included kernel modules
Enjoy.
Click to expand...
Click to collapse
Thanks so much for this. I was trying to figure out if I was gonna need to get to learn how to build a kernel, or if I was gonna need to try and edit one? I dunno what I'm doing, and even though I like the process of reversing that, I'm just a little tight on time right, now.

Categories

Resources