Related
Just a lil' heads up:
Code:
#include
/*
* I am not responsible for bricked devices, or any problems
* that you might run into when you do these mods.
* Point your finger at me if you goof up and I'll smack you
* over the internet with my handy tennis racket.
*/
SOURCES
Kernel - Here
GPS Fix - Here
Device Tree - Here
Proprietary vendor files can be found linked in the README.md file in the device tree.
Make sure to have an unlocked boot loader before doing any of this: unlockbootloader.sonymobile.com
I've built KitKat for the Xperia L once again, this time with updated sources and a few much-awaited fixes. Most of the procedures remain the same.
I'm going to keep this thread clean and simple. Just follow the instructions and you shouldn't run into any problems.
The GPS fix may not be "complete", so please don't spam the thread with crazy insults, death threats, etc.
DOWNLOADS
boot.img - Download.
userdata.img - Download.
system.img - Download.
GAPPS - Download.
If you want the CRT lock animation, download this and flash with CWM or TWRP -
Download.
INSTRUCTIONS
cd to the directory which contains the downloaded files [ex: cd ~/Downloads] and execute the following commands (assuming you have fastboot and adb set up in your command line.) -
Code:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
COOL STUFF AND NOT-SO-COOL STUFF
What's working?
Code:
- Wi-Fi
- GPS {kinda}
- NFC
- Camera
- Deep Sleep
- Other essentials
What's still smoked?
Code:
- Bluetooth
- Internal storage shows up as 2GB and not 4GB
CREDITS -
@raffaele88 - For the CRT Lock Animation Toggle
@Shivam Kuchhal - For the kernel
Reserved
Reserved.
Reserved
Reserved, yet again.
Does this Rom include the latest fix from Brinly? Is GPS fully working or just via WiFi and mobile network?
And some screenshots would be good.
Good to see a new rom!
what difference is there from other aosp roms ????
freakzapster said:
what difference is there from other aosp roms ????
Click to expand...
Click to collapse
It based on latest AOSP maybe (Android 4.4.2_r2)
Sent from my C2105 using XDA Premium 4 mobile app
Provide proper kernel and device tree sources and not just Sony AOSP ones so that others can see how you fixed GPS.
Also, are you sure GPS works? Brinly's fixes were incomplete, does turn by turn navigation works?
Signal Keeps resetting ???????????
Edit
I found that somethings wrong with my phone
Shivam Kuchhal said:
Provide proper kernel and device tree sources and not just Sony AOSP ones so that others can see how you fixed GPS.
Also, are you sure GPS works? Brinly's fixes were incomplete, does turn by turn navigation works?
Click to expand...
Click to collapse
Brinly's GitHub has the fixes. I am yet to test the turn-by-turn nav. I'll keep updating the OP with the latest info.
kinetic_soul said:
Brinly's GitHub has the fixes. I am yet to test the turn-by-turn nav. I'll keep updating the OP with the latest info.
Click to expand...
Click to collapse
Did you use this fix?
It's working but it's using the wifi/data to locate your location
kinetic_soul said:
Brinly's GitHub has the fixes. I am yet to test the turn-by-turn nav. I'll keep updating the OP with the latest info.
Click to expand...
Click to collapse
Do you understand that you're breaking GPL right now? Brinly's github doesn't have "sources", they're just incomplete docs for fixing GPS and if you used those fixes then I guess GPS is still broken and mobile is using WiFi and mobile network to detect location. I advise you to upload proper and latest sources on "your" git before some MOD takes some action against you.
That's true mate, You shouldn't say that this is a GPS fix because it isn't
Sent from my C2105 using xda app-developers app
All of you calm down. I've updated the OP with the details required.
Shivam Kuchhal said:
Do you understand that you're breaking GPL right now?
Click to expand...
Click to collapse
Sorry for the off-topic, but I don't think he's breaking something.
Android kernel is under GPL, but software is under Apache —meaning the developer chooses whether he/she makes the sources public.
It is just preferred in the custom ROM world that sources are out so others can modify or reuse them.
Or at least that's what I understand from here, correct me if I'm wrong.
nicholas said:
Sorry for the off-topic, but I don't think he's breaking something.
Android kernel is under GPL, but software is under Apache —meaning the developer chooses whether he/she makes the sources public.
It is just preferred in the custom ROM world that sources are out so others can modify or reuse them.
Or at least that's what I understand from here, correct me if I'm wrong.
Click to expand...
Click to collapse
Yes you're right that kernel is covered under GPL but here at xda, a developer needs to provide both kernel source and device tree and that's how power of open source prevails. You can look into any original ROM thread and you'll obviously find a proper source given there and contradictory to my advice, OP still chose not to provide any kernel source and device tree. Anyways, I am no MOD so better let a authorized person deal with this stuff.
Shivam Kuchhal said:
Yes you're right that kernel is covered under GPL but here at xda, a developer needs to provide both kernel source and device tree and that's how power of open source prevails. You can look into any original ROM thread and you'll obviously find a proper source given there and contradictory to my advice, OP still chose not to provide any kernel source and device tree. Anyways, I am no MOD so better let a authorized person deal with this stuff.
Click to expand...
Click to collapse
Nope, I need to correct you there. XDA only requires you to publish the kernel sources due to the GPL. The device tree, however, can ofc be closed source. But you also are kinda right, even though we do allow closed source stuff, we sure encourage people to make their stuff open source so other people can help bug fixing, tweaking, but also use it (if allowed).
As I can see kernel sources are provided in the OP, so there's nothing to do for me anymore, except moving it into Android Development, as this doesn't yet qualify as original dev
Cheers
Link for download removed..:/
Raj joshi said:
Link for download removed..:/
Click to expand...
Click to collapse
Fixed. Sorry about that.
The links for Google drive not work
kinetic_soul said:
Fixed. Sorry about that.
Click to expand...
Click to collapse
is a bit mess there , on first link i got boot.img, second link userdata.img say the file has been removed....nothing, the third link say system.img but you download userdata.img...and the Gapps as well say is been removed...is any chance to fix this?
watch here 1 minute to understand what i am talking about
https://www.youtube.com/watch?v=1EyN9qoEikA
FOR DEVS ONLY
THIS IS A DEVELOPMENT THREAD FOR PORTING THE LINUX 3.10 KERNEL TO THE HTC ONE S (VILLE) S4 EDITION
MODERATORS PLEASE DELETE ANY POSTS THAT ARE NOT RELATED TO THE DEVELOPMENT OF THE KERNEL (OTHER THAN THESE FIRST POSTS USED TO CREATE SOME DOCUMENTATION)
XDA:DevDB Information
3.10 Kernel for the HTC One S, Kernel for the HTC One S
Contributors
javelinanddart
Kernel Special Features:
Version Information
Status: Testing
Created 2015-01-15
Last Updated 2015-01-15
This thread is a development thread for porting the Linux 3.10 Kernel to the HTC One S
All Devs are welcome to step forward
https://github.com/javelinanddart/android_kernel_3.10_ville
This will be done from the CM 12 Source Code
This IS NOT an easy task, it will take a lot of time and lot of things will need to be changed
CyanogenMod might have to be rebuilt from source to have this work properly
Look at the mergeconflicts.txt to look for things to fix, look at the fixedconflicts.txt for things that are fixed
Advantages:
-Officially Supported (3.10 is what the Nexus 6 & 9 and Android Wear Devices are Using)
-Future Android Compatibility (Android Framework and Kernel are Decoupled but Still Matters)
-Better Performance (Somewhat)
-Bragging Rights (xD this is a joke)
-Better and Newer Drivers
-More Features
-More Optimized
-Longer Support Date (Most Likely)
-Most Future Devices will Run 3.10 Kernel (Keeps our Device Current)
-Lower RAM Usage
-Support for F2FS (a faster file system for nand flash storage devices)
Contributor List
@intervigil (Ethan Chen)
@AKToronto
@mikronac.ns (Mikronac)
FAQ
Why?
Because I can (lol)
Check the Advantages list
Changelog
Initial Upload of Source
Merge tag v3.10
Resources
http://elinux.org/Kernel_3.4_to_3.10_porting_guide
A lot of the Kconfigs I fixed I just used the 3.10 ones and they're missing a lot of drivers it seems. We might have to readd those Kconfig Options. Also the defconfig will be a pain in the ass to maintain until we have a final product
javelinanddart said:
A lot of the Kconfigs I fixed I just used the 3.10 ones and they're missing a lot of drivers it seems. We might have to readd those Kconfig Options. Also the defconfig will be a pain in the ass to maintain until we have a final product
Click to expand...
Click to collapse
yeah, I am just looking in it...
mikronac.ns said:
yeah, I am just looking in it...
Click to expand...
Click to collapse
1 sec then, I'm merging with the aosp source rather than mainline linux because it includes some android specific changes
Look at the mergeconflicts.txt or try compiling it.....
My god... never seen THAT many errors in the Kconfigs
wow @javelinanddart nice, hope to port this to the m7 soon in time for lollipop, If you are having problems with drivers try taking a look at the evita kernel source, due to its similar hardware
dd98 said:
wow @javelinanddart nice, hope to port this to the m7 soon in time for lollipop, If you are having problems with drivers try taking a look at the evita kernel source, due to its similar hardware
Click to expand...
Click to collapse
Sounds good, but does Evita have a 3.10 kernel? Hopefully HTC will do that because usually they're pretty OK at updating their kernels (if not android versions)
Also @dd98, this is from the Cm12 source so if you want to help, it can possibly be compatible with the M7 @phoenixita if you'd like to help that'd be great too
javelinanddart said:
Sounds good, but does Evita have a 3.10 kernel? Hopefully HTC will do that because usually they're pretty OK at updating their kernels (if not android versions)
Also @dd98, this is from the Cm12 source so if you want to help, it can possibly be compatible with the M7 @phoenixita if you'd like to help that'd be great too
Click to expand...
Click to collapse
I'll gladly help but still only getting there on the kernel development, hope I have some free time
dd98 said:
I'll gladly help but still only getting there on the kernel development, hope I have some free time
Click to expand...
Click to collapse
What's your github username? I'll add you as a collaborator rather than pull requests. It works faster
@javelinanddart F2Fs already works on Ville I already ported it [emoji1]
Flashalot said:
@javelinanddart F2Fs already works on Ville I already ported it [emoji1]
Click to expand...
Click to collapse
I know but this is meant to be like a CM kernel (i.e. no backported features unless absolutely necessary
On a completely unrelated note, how can I build a rom and recovery with f2fs support?
javelinanddart said:
I know but this is meant to be like a CM kernel (i.e. no backported features unless absolutely necessary
On a completely unrelated note, how can I build a rom and recovery with f2fs support?
Click to expand...
Click to collapse
Ahh I see my bad also if I told you I would have to kill you [emoji88]
Jk
I'll be making a thread some time this weekend with full documentation on how to do so especially recovery since we have 3 different types just on twrp
Flashalot said:
Ahh I see my bad also if I told you I would have to kill you [emoji88]
Jk
I'll be making a thread some time this weekend with full documentation on how to do so especially recovery since we have 3 different types just on twrp
Click to expand...
Click to collapse
Thanks. If we can switch to F2FS and use a Universal TWRP, developers will have a better time on source-based ROMs. It will also help speed up the file system actions. I tried compiling twrp but I couldn't figure it out
What source are you editing the 3.4 kernel source or the 3.10 kernel source ?
Wahaj.47 said:
What source are you editing the 3.4 kernel source or the 3.10 kernel source ?
Click to expand...
Click to collapse
"3.10 porting"
Complete Kernel Source Code is essential for building rom from scratch
what lenovo did it give us incomplete Code missing the important files and directories and hide the essential part
Lenovo should release kernel source in full, so we can look after our self
Kernel development doesn't take place unless we get the device's schematics and its corresponding defconfig.
Lenovo has hidden the caf tag inside the firmware. there is matching qcom caf kernel tag for the same chipset. But without the schematics of the device, we couldn't proceed in developing
until now the official source is incomplete
but some developers trying to fill the gaps from similar devices you can find these builds on github
here is the last source kernel from lenovo and github
Downloads:
kerenel source from github by Flour_Mo :
here
kerenel source from github by ramsudharsan updated 20/8/2015 :
Here
kerenel source from Lenovo updated 7/8/2015:
Here
XDA:DevDB Information
Towards a Complete Kernel Source Code For Lenovo A6000 / Plus, ROM for the Android General
Contributors
ED300
ROM OS Version: 5.1.1. Lollipop
Version Information
Status: Testing
Created 2015-08-24
Last Updated 2015-08-24
When u develop your own kernel?
sourav8434 said:
When u develop your own kernel?
Click to expand...
Click to collapse
when i have a complete source kernel
what are you making
For which rom you are working now and when u will release kernel for lenovo a6000
check this out please
check this link please if it is complete or not
xttp://lenovo-forums.ru/topic/11326-lenovo-a6000-%D0%B8%D1%81%D1%85%D0%BE%D0%B4%D0%BD%D1%8B%D0%B9-%D0%BA%D0%BE%D0%B4-%D1%8F%D0%B4%D1%80%D0%B0/?hl=%2Ba6000+%2Bplus
change x to h
SIMBIOS said:
check this link please if it is complete or not
xttp://lenovo-forums.ru/topic/11326-lenovo-a6000-%D0%B8%D1%81%D1%85%D0%BE%D0%B4%D0%BD%D1%8B%D0%B9-%D0%BA%D0%BE%D0%B4-%D1%8F%D0%B4%D1%80%D0%B0/?hl=%2Ba6000+%2Bplus
change x to h
Click to expand...
Click to collapse
this is the same incomplete lenovo source
sourav8434 said:
For which rom you are working now and when u will release kernel for lenovo a6000
Click to expand...
Click to collapse
don't worry good news coming in the way
what news
ED300 said:
don't worry good news coming in the way
Click to expand...
Click to collapse
Whats that news ed3000
bad news
ED300 said:
don't worry good news coming in the way
Click to expand...
Click to collapse
hey i just checked lenovo site now lollipop update is in september
whats the good news?
SIMBIOS said:
hey i just checked lenovo site now lollipop update is in september
whats the good news?
Click to expand...
Click to collapse
i can't confirm any thing now ,
but i think the coming days we will make progress to solve sim bug completely on CM12.1
missing things
Hi,
I find following things missing from stock kernel
1. whole kernel directory all together
2. Def-config (altough i managed to extract it from boot.img)
Do you what are other things that are missing?
I'm able to compile the kernel with some fixes from cm kernel, but now able to generate the dtb file. Any help will be appreciated.
Thanks
Chhapil
yay
ED300 said:
i can't confirm any thing now ,
but i think the coming days we will make progress to solve sim bug completely on CM12.1
Click to expand...
Click to collapse
good luck hope you fix it praying for u
Hello how can i fix my phone lenovo A6000 it always pop up please input puk code.. How can i remove it? Thanks
Penggot said:
Hello how can i fix my phone lenovo A6000 it always pop up please input puk code.. How can i remove it? Thanks
Click to expand...
Click to collapse
i think the problem on the sim try different sim and see what happen
chhapil said:
Hi,
I find following things missing from stock kernel
1. whole kernel directory all together
2. Def-config (altough i managed to extract it from boot.img)
Do you what are other things that are missing?
I'm able to compile the kernel with some fixes from cm kernel, but now able to generate the dtb file. Any help will be appreciated.
Thanks
Chhapil
Click to expand...
Click to collapse
good job chhapil
i gave links to kernel source from github it should be completed
you will find also at github the source for cynogenmod 12.1 if you want compile it
Here is the latest update from my side.
I'm able to create zimage from kernel, dtb from source. But the kernel fails to boot.
If I flash my kernel the phone restarts with blank screen and it mounts all the partitions when connected to pc.
I'm not very sure what's going wrong.
Sent from my GT-I9100 using XDA Free mobile app
chhapil said:
Here is the latest update from my side.
I'm able to create zimage from kernel, dtb from source. But the kernel fails to boot.
If I flash my kernel the phone restarts with blank screen and it mounts all the partitions when connected to pc.
I'm not very sure what's going wrong.
Sent from my GT-I9100 using XDA Free mobile app
Click to expand...
Click to collapse
try this link :
https://github.com/Silentlys/Cyanogenmod_device_lenovo_Kraft_T/tree/cm12.1
copy from kernel folder to kernel source and compile
you will find also zimage ready
kernel for lenovo a6000
chhapil said:
Here is the latest update from my side.
I'm able to create zimage from kernel, dtb from source. But the kernel fails to boot.
If I flash my kernel the phone restarts with blank screen and it mounts all the partitions when connected to pc.
I'm not very sure what's going wrong.
Sent from my GT-I9100 using XDA Free mobile app[/QUOTE.
Hey. Chhapil. When will you release kernel for lenovo a6000/plus?
Have u made if you made then post please
We will be thankful
Click to expand...
Click to collapse
There is no point releasing non working kernel.
Let's wait till ED300 posts a working build or Lenovo themselves.
Sent from my GT-I9100 using XDA Free mobile app
kernel boot issue
Hi,
Here is the issue i'm facing.
I created a new image from the KK stock kernel + the missing parts , repacked it the boot.img from the stock rom.
When i do
fastboot boot new-boot.img
the phone reboots and mounts the system partition and couple of other internal partitions with no display.
Do you know these symptoms?
Any Idea what could be going wrong here?
On the other note,
the LP source code compile good without any issues at all, but I'm using stock KK so there is NO room for to make tries with it.
Hello guys,
This is a project I was working on for a kernel for our SGY.
I made it with a few things in mind:
>Improve it's performance
>Be universally compatible (after I nearly given up on trying to get a snappier CM11 and after the need for a snappier SGY, I decided to go back to GB. However, BML is terrible, and it is annoying to come back to. I decided to build a MTD kernel for Gingerbread then, and it works!)
>Experiment and upgrade as much as I can (thanks @robcore!!!!)
But since I lost my device, I cannot continue developing it. I am then releasing the source code (sorry, no flashable stuff, I deleted it long ago ) for any of you to continue(?) my work if your heart so desires.
If I ever get myself another SGY (or another BCM21553 device), I will gladly continue development (and support whoever does it too), but before I lose all my data and the kernel code alongside it, I am making it available.
This kernel features:
-OC up to 1040MHz (It's questionable even today if the bcm21553 OCs really work, but I tried hacking a way that works very similarly to MarocOS's one, maybe even better. Be warned though, the source around it is messy)
-GPU hacks for performance (Again, even I don't know if they do work, probably the values are just there to be seen, I'm not sure. I do know though that increasing the CPU speed will much likely increase the speed of V3D too)
-DVFS disabled (I found out DVFS is mostly the culpirit in the "832MHz crisis" where the kernel would forcefully scale itself to 832MHz, so I eliminated any reference to it in kernel code. Apparently DVFS on the processor is only available under the bcm21553 governor, but it is present on the other drivers as well. The idea for disabling DVFS came from my friend @robcore)
-A few additional governors and a buggy interactive governor (which is the default xd)
-MTD support for Gingerbread (Thanks Samsung Epic 4G! Although it only works on TouchWiz (I tried it with SL v2 and v2.1 and it works, but under NougatME(CM7) I got no success and loads of segfaults), it works ALMOST perfectly. See bugs for details )
-Some scraped source code from Samsung's FSR I found on the internet (barely compilable, though)
Bugs:
>Gingerbread version:
-IMEI won't appear in the Status screen, I also faced problems with non-working radio for calls. Data works just fine, but calling and receiving calls is unavailable. I believe it is EFS-related. My suggestion is backing up the EFS partition's file structure, then converting it to MTD, then restoring the backup.
-TWRP will crash and panic when exiting, a workaround is force rebooting
>ICS version:
-TWRP will crash and panic when exiting (I believe fixing it here will fix the bug above too)
>KitKat version:
-Flashing images fail randomly, you may also be unable to reboot normally if you do so. I tried addressing this but I couldn't get anywhere.
DOWNLOAD THE SOURCE: Here!
Thanks to:
@robcore - his development on the Snapdragon S4 breathes life on my dev soul!
@zman0900 - I saw his thread on an MTD TW kernel for the Samsung Epic 4G, which led me to believe MTD on GB is possible.
nice kernel
It sound nice. I'm a newbie developer, I'm building a kernel to fix audio bug on cm9, hope it work. And thank you for the source
vdhero said:
It sound nice. I'm a newbie developer, I'm building a kernel to fix audio bug on cm9, hope it work. And thank you for the source
Click to expand...
Click to collapse
Have you gathered enough info on it? I would like to fix it too, but I couldn't get any info on whether if the audio bug is a kernel-side issue or an OS -side issue.
Best of luck for you
Building and fixing
sonickles9 said:
Have you gathered enough info on it? I would like to fix it too, but I couldn't get any info on whether if the audio bug is a kernel-side issue or an OS -side issue.
Best of luck for you
Click to expand...
Click to collapse
I don't sure so I decided to build a kernel from your source and another cm9 version from Mohamad.Afaneh's source and I'll merge the audio on both of them for the best think to fix the bug.Thank you .
Link for kernel?
(img files...)(stock/cm9/cm11)
TheRealModder said:
Link for kernel?
(img files...)(stock/cm9/cm11)
Click to expand...
Click to collapse
Compile one for yourself,man. It only takes like 15-25 mins
vdhero said:
Compile one for yourself,man. It only takes like 15-25 mins
Click to expand...
Click to collapse
I don't know how to compile....
TheRealModder said:
I don't know how to compile....
Click to expand...
Click to collapse
He wrote a script already, just add your toolchain and run the script. There's a guide in the readme
vdhero said:
He wrote a script already, just add your toolchain and run the script. There's a guide in the readme
Click to expand...
Click to collapse
Ok. The watson-kernel-bcm21553-src is used with other files?
Because i want to make cm9 mohhamad afaneh optimized version
TheRealModder said:
Ok. The watson-kernel-bcm21553-src is used with other files?
Because i want to make cm9 mohhamad afaneh optimized version
Click to expand...
Click to collapse
To make it, you have to sync the cm9 source code then add the files from his github to your localmanifest. This thing is not in anyway related to that except the MTD. This one is a kernel-compile only source
Oh man, i give up. I can't build a kernel from source, but i can modify a kernel.
Can someone give me the zimage for ics Please....
Sent from my Zenfone 2 Laser using XDA Labs
TheRealModder said:
Oh man, i give up. I can't build a kernel from source, but i can modify a kernel.
Can someone give me the zimage for ics Please....
Click to expand...
Click to collapse
zlimage? We don't have that here, we only have boot.img for kernel
vdhero said:
zlimage? We don't have that here, we only have boot.img for kernel
Click to expand...
Click to collapse
Or you can give me the extracted boot.img files. (ICS/KK)
I will rebuild it using dsixda's android kitchen.
Sent from my Zenfone 2 Laser using XDA Labs
TheRealModder said:
Or you can give me the extracted boot.img files. (ICS/KK)
I will rebuild it using dsixda's android kitchen.
Sent from my Zenfone 2 Laser using XDA Labs
Click to expand...
Click to collapse
Sorry but I can't because I'm bored of making ROMs so I switched back to Windows. I'm planning on making a ROM, I'll compile the kernel for you once I get linux installed
vdhero said:
Sorry but I can't because I'm bored of making ROMs so I switched back to Windows. I'm planning on making a ROM, I'll compile the kernel for you once I get linux installed
Click to expand...
Click to collapse
Ok. If you want to install linux i recommend using ubuntu or linux mint.
Ubuntu official website:https://www.ubuntu.com/
Linux mint official website:https://linuxmint.com/
Sent from my Zenfone 2 Laser using XDA Labs
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
vdhero said:
To make it, you have to sync the cm9 source code then add the files from his github to your localmanifest. This thing is not in anyway related to that except the MTD. This one is a kernel-compile only source
Click to expand...
Click to collapse
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
Assabtigle said:
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
Click to expand...
Click to collapse
Sorry but I can't since my sgy is dead for a long time ago. I'll try to make one if I can find one. I've heard that there are some places that sell sgy for about 5 bucks, i'll find one ì possible
Be fast bro!!
vdhero said:
Sorry but I can't since my sgy is dead for a long time ago. I'll try to make one if I can find one. I've heard that there are some places that sell sgy for about 5 bucks, i'll find one ì possible
Click to expand...
Click to collapse
BE fast BRO Love U and Your WORK!!
All Your DEVELOPMENT are Faster than The ORIGINAL one Please Buy a NEW one!
and Yeah install the Stock Rom in your Phone by ODIN it will be fine!:laugh:
Coconut Kernel for HAVOC OS - With Nethunter Support
Code:
***I'm not responsible for any problems that might occur flashing this kernel or what you do with the kernel support***
This kernel is tested on HAVOC OS 2.2 - 2.4 PIE. This is built from HolyDragon Source with added nethunter support/USB Wifi Adapter Drivers and monitor mode/packet injection
The kernel should also work on every ROM that Holydragon kernel supports.
Requirements
Oxygen OS 5.0.8 firmware is required. The wifi adapter wont work on older firmwares. Those who are using Havoc OS would most probably be on 5.0.8 firmware so this is just a remainder for others and/or anyone who have trouble making this work.
How to install
Make sure that you are rooted with magisk/supersu/any superuser
Download kernel from attachment and flash in TWRP Recovery
Reboot and download any terminal app like Termux
Plugin the USB Wifi card and open Termux
Type the command su
Then type ifconfig wlan1 up
This is how you can test whether it works or not
The kernel works fine with Nethunter as well as other chroot applications like Linux Deploy.
Note:- This kernel does not need any module to be inserted as all wifi drivers are compiled inline. So no need to insmod/modprobe
Credits
@HolyAngel for HolyDragon Kernel Source
Source
https://gitlab.com/HolyAngel/OP3
Thanks sir, this weekend, I test and i say you if I have a problem, but surely not, at this moment it is the kernel that I have but without the controller. I want to learn to compile the kernel on my own so that, in case HolyAngel updates the kernel, it dosn't depend on your work.
Victroid said:
Thanks sir, this weekend, I test and i say you if I have a problem, but surely not, at this moment it is the kernel that I have but without the controller. I want to learn to compile the kernel on my own so that, in case HolyAngel updates the kernel, it dosn't depend on your work.
Click to expand...
Click to collapse
https://forum.xda-developers.com/an...erence-how-to-compile-android-kernel-t3627297
Follow the tutorial above for kernel building.
@fredrickz
Any future build for stock oos pie like your Oreo one, it was perfect man thank you for your efforts regard to the community.?
DoN LoUhI said:
@fredrickz
Any future build for stock oos pie like your Oreo one, it was perfect man thank you for your efforts regard to the community.
Click to expand...
Click to collapse
Stock oos pie source isn't available yet man. I can build pie version from holydragon sources. I'll compile one when stock sources arw available too.
fredrickz said:
Stock oos pie source isn't available yet man. I can build pie version from holydragon sources. I'll compile one when stock sources arw available too.
Click to expand...
Click to collapse
Fair enough, thank YOU:laugh::good:
You explicitly mention this:
This is built from HolyDragon Source with added nethunter support/USB Wifi Adapter Drivers and monitor mode/packet injection
Click to expand...
Click to collapse
And the kernel source points to:
https://gitlab.com/HolyAngel/OP3
Click to expand...
Click to collapse
This can only mean 2 things:
1) you've merely taken holydragon kernel source and renamed it as your own or
2) you're actually breaking the GPL here by not releasing your changes
So which one is it?
And this leaves me no doubt that the second is very likely the case:
Note:- This kernel does not need any module to be inserted as all wifi drivers are compiled inline. So no need to insmod/modprobe
Click to expand...
Click to collapse
@Fredricks
It would be more than appreciated if you could add support for HID brother. Thanks:crying:
anupritaisno1 said:
You explicitly mention this:
And the kernel source points to:
This can only mean 2 things:
1) you've merely taken holydragon kernel source and renamed it as your own or
2) you're actually breaking the GPL here by not releasing your changes
So which one is it?
And this leaves me no doubt that the second is very likely the case:
Click to expand...
Click to collapse
I dont want to break any gpl.. the thing is that all my changes are local. Im not used to github. This kernel and all others i posted werr just for my own use. I have been using @ZaneZam kernel for oneplus3. But the Oreo kernel wasnt working fine. Thats the reason i tried to compile one my own. I shared it with a friend of mine some time ago and he insisted that i should post it so that others may also benefit. The kernel i posted doesn't have tonnes of feature list because i mostly stick to stock. I just added the wifi drivers and was using them. My friend asked me to add support for DriveDroid and i just did that. I don't know much about git and didnt have time to learn.
If this is against the rules then maybe ill post the source later. Im currently out of town.
for now if you want to know what changes i did,
1. Prepare the kernel for standalone build (except holydragon kernel)
2. Added just the wifi drivers mentioned in the nethunter wiki. I didnt add support for usb Bluetooth or sdr.
3. Added support for DriveDroid from official post in xda making changes to adapt the code to 3.18 kernel.
4. Added a fancy name to the kernel.
5. Published it.
DoN LoUhI said:
@Fredricks
It would be more than appreciated if you could add support for HID brother. Thanks:crying:
Click to expand...
Click to collapse
Im out of town bro. Ill add it when i reach home.
fredrickz said:
Im out of town bro. Ill add it when i reach home.
Click to expand...
Click to collapse
Very thankful, have a good time..:good: