[KERNEL] Linux Kernel 4.9.y for Redmi S2 - Xiaomi Redmi S2 ROMs, Kernels, Recoveries, & Other

Kernel 4.9 for Redmi S2/Y2​
After hours of working and porting, I present to the community stable linux kernel 4.9.
This is the LTS msm-4.9 linux kernel maintained by Codeaurora Forum ported for our device from the base 3.18 kernel.​
what works?
Boots
Touch
Wifi
RIL (calling, mobile data etc)
Sound
Fingerprint (FPC And Goodix)
Front Flash
Torch
Camera
Vibrator
IR Sensor
Bugs:
You tell me!
A big thanks to @lostark13 for bug fixing and @33bca for his amazing work on 4.9.y for Daisy​
You can find the source here!​
XDA:DevDB Information
Linux Kernel 4.9, Kernel for the Xiaomi Redmi S2
Contributors
m_vaisakh, lostark13, 33bca
Source Code: https://github.com/mvaisakh/android_kernel_xiaomi_msm8953
Kernel Special Features:
Version Information
Status: Stable
Created 2020-04-20
Last Updated 2020-04-27

PERU

Awesome work by peru's team ?

Awesome man!

great job... :good:

Awesome ?

Noice

Can we use it on miui rom?

Mr.smmm said:
Can we use it on miui rom?
Click to expand...
Click to collapse
It is a 64 Bits kernel I think ... so .... no ?

xNiux said:
It is a 64 Bits kernel I think ... so .... no ?
Click to expand...
Click to collapse
Or maybe yes ... Because it is only source and no binary ... So maybe we can compile Both : 32 and 64 bits ....
But how compile it ? I can try, but I don't know the command line ... Just ... make ?

xNiux said:
It is a 64 Bits kernel I think ... so .... no ?
Click to expand...
Click to collapse
Yes it's 64bit only kernel.

xNiux said:
Or maybe yes ... Because it is only source and no binary ... So maybe we can compile Both : 32 and 64 bits ....
But how compile it ? I can try, but I don't know the command line ... Just ... make ?
Click to expand...
Click to collapse
You can't compile 32bit, it was never my intention to create 32bit.
I can give more than 10 reasons why 64bit is just better than 32bit

m_vaisakh said:
You can't compile 32bit, it was never my intention to create 32bit.
I can give more than 10 reasons why 64bit is just better than 32bit
Click to expand...
Click to collapse
Understand and aggre with you ! ^^
Could you give us the the compiled img please ? or help me to compile it ?

xNiux said:
Understand and aggre with you ! ^^
Could you give us the the compiled img please ? or help me to compile it ?
Click to expand...
Click to collapse
for the sake of god don't try now to compile 4.9
some bugs are possible to fix only with on device tree " and this is private only " like fingerprint , video , internal storage error message , etc
so your only option is to wait a rom with 4.9 as prebuillt "will come soon "

Its_Vixano said:
for the sake of god don't try now to compile 4.9
some bugs are possible to fix only with on device tree " and this is private only " like fingerprint , video , internal storage error message , etc
so your only option is to wait a rom with 4.9 as prebuillt "will come soon "
Click to expand...
Click to collapse
Ok ! Thanks !

how to install?

Sadik283 said:
how to install?
Click to expand...
Click to collapse
Install a rom which is use it (HavocOS 3.5 for example)

How to download? Link?

peru work by peru men

bro how did u port like this??did u take linux kernel 4.9 and added device specific drivers to it from 3.18 that's it or something more ??

Related

Open Source Bootloader for Redmi 1S

Hey folks! :highfive:
Source code of bootloader has been reversed, and released to github! :victory:
To install it, you have to build the source, the flash the emmc_appsboot.mbn to aboot via fastboot.
Github repo: https://github.com/redmi1s-dev/lk
XDA:DevDB Information
LittleKernel - Bootloader, Device Specific App for the Xiaomi Redmi 1S
Contributors
balika01, m11kkaa
Version Information
Status: Stable
Current Stable Version: 1.0
Created 2014-10-26
Last Updated 2014-10-27
What's the purpose of this?
sinnerz2000 said:
What's the purpose of this?
Click to expand...
Click to collapse
I think you can achieve dual boot with this. Not sure tho.
Syssx said:
I think you can achieve dual boot with this. Not sure tho.
Click to expand...
Click to collapse
If you really want, you can boot WinRT too.
hi OP,
you forgot to add links in first post...
Anyways, do we see GRUB being ported in the near future? I can see some armani related changes here: https://github.com/grub4android/lk/commits/master
where is the sources?
thewisenerd said:
hi OP,
you forgot to add links in first post...
Anyways, do we see GRUB being ported in the near future? I can see some armani related changes here: https://github.com/grub4android/lk/commits/master
Click to expand...
Click to collapse
pgreed said:
where is the sources?
Click to expand...
Click to collapse
Take a look at Downloads tab.
Grub is already ported, and working. :angel:
balika01 said:
Hey folks! :highfive:
Soruce code of bootloader has been reversed, and released to github! :victory:
To install it, you have to build the source, the flash the emmc_appsboot.mbn to aboot via fastboot.
XDA:DevDB Information
LittleKernel - Bootloader, Device Specific App for the Xiaomi Redmi 1S
Contributors
balika01, m11kkaa
Version Information
Status: Stable
Current Stable Version: 1.0
Created 2014-10-26
Last Updated 2014-10-26
Click to expand...
Click to collapse
if anyhow you could make dual boot possible id be very very thankfull:good:
this is the only thing i was waiting for
balika01 said:
Take a look at Downloads tab.
Grub is already ported, and working. :angel:
Click to expand...
Click to collapse
There ain't no 'downloads' tab :|
rohit choudhary said:
if anyhow you could make dual boot possible id be very very thankfull:good:
this is the only thing i was waiting for
Click to expand...
Click to collapse
You can make it, but you have to repart your nand. This is dangerous, and you can easily make a brick.
Reversed? How you reverse engineered on Bootloader?
Forever Alone said:
Reversed? How you reverse engineered on Bootloader?
Click to expand...
Click to collapse
I bought IDA Pro + x86 and ARM Hex-Rays decomplier, then i just reversed the changes between CAF jb's lk and Mi's bin.
balika01 said:
I bought IDA Pro + x86 and ARM Hex-Rays decomplier, then i just reversed the changes between CAF jb's lk and Mi's bin.
Click to expand...
Click to collapse
can you do it with kernel too bro????
Hey.. can someone fetch me link of working build of grub? Caz I got some multiboot stuff coming up for our armani.
Multiboot isn't really that useful on our phones since we'll be flashing android anyway, if we had say Ubuntu and android dual boot then that would be something
We got grub workin on our device.... Ubuntu ain't no impossible-thing I guess... mate... Just to kick things off.. android dual boot would do.
device with Same configuration exists with kernel source out
Kernel source for RedMI 1S might not be available but a device with same configuration is there and kernel source exist for it. I think this may help the developers
http://forum.xda-developers.com/showpost.php?p=56057091&postcount=76
http://www.xolo.in/q1100
Rohitdahiya said:
Kernel source for RedMI 1S might not be available but a device with same configuration is there and kernel source exist for it. I think this may help the developers
http://forum.xda-developers.com/showpost.php?p=56057091&postcount=76
http://www.xolo.in/q1100
Click to expand...
Click to collapse
Belive me it's not that simple.
Rohitdahiya said:
Kernel source for RedMI 1S might not be available but a device with same configuration is there and kernel source exist for it. I think this may help the developers
http://forum.xda-developers.com/showpost.php?p=56057091&postcount=76
http://www.xolo.in/q1100
Click to expand...
Click to collapse
Source for msm8226 has been released by qcom. When i try to boot it, it just crash whitout last_kmsg. (I think stg free it, before lk starts running. F*ck xiaomi.)
(In code msm8228 same as msm8226, thats why cpuz says msm8226.)
Most Apps reads from what data are given in the system files.
Lets say, the build.prop itself says msm8226, and if you dig around in the / (root) folders, almost all files are for msm8226 cpus.
I still dont get, why the hell did XIAOMI implemented msm8226 drivers and other details for msm8228 cpu.!!!!!!

[KERNEL]Test Kitkat Kernel Files

So here are the Kitkat zImage and Modules for Q1000
PS. these are not appended with mediatek headers so they are currently not useful
Headers have been appended to the kernel and my Git repo is also up to date now.
I have tried to make a boot.img but it seems that windows doesnt like me, or our device :/
Installed ubuntu to do this extra work xD ( Building of kernel was done in fedora )
PS These files were uploaded as popular request to support developement
I AM NOT LIABLE FOR ANY KIND OF CONTRAPTIONS YOU CREATE USING THIS KERNEL ( UNLESS THE GOOD ONES xD )
This zImage needs to be Appended and then packed in boot.img to be used
But it is highly unrecommended to do stuff that may brick your devices. Just fool around with the kernel and you'll be good to go
Test builds of CWM 6.0.4.8 will be uploaded soon !!!
LINK :
https://github.com/paltrickontpb/q1000_testkernel
also hit like
XDA:DevDB Information
q1000kitkatkern, Kernel for the Lava Xolo Q1000
Contributors
protox 109
Source Code: https://github.com/paltrickontpb/aquaris-5HD
Kernel Special Features: New Schedulers, SElinux support ( All assumed until it boots up )
Version Information
Status: Testing
Created 2014-11-11
Last Updated 2014-11-11
Nice work sir
Its amazing to see a man cooking kernals for xolo q1000. I feel bad because of not able to help you. I am not aware of this. Hope you will succeed.:good:
I appreciate the gesture @hotchapmanu
New Edit : It seems that the wlan module is broken. will be uploading the working one in my github soon. The kernel still is stubborn enough not to accept mtk header files but i did find new ways to proceed. Will take me around a couple of days but i will be doing it ASAP
i also wanna help u but i dont knw how .. can u suggest me guide or tutorial so that i can help you guys .. awesome work
@ABHISHEK KHANDELWAL
Yes mate sure enough but it is just a google Search away
NEW EDIT :
HEADER FILES HAVE BEEN APPENDED TO THE KERNEL.. BUT CHANCES ARE SLIM THAT IT MAY WORK PERFECTLY..
WILL BE OPENING A SPECIAL POST WHERE I SHALL UPLOAD NEW FILES FOR USERS TO TEST AND TELL ME.. AS I KINDA AM NOT ABLE TO USE MY DEVICE CURRENTLY ( RELATED TO LOW MARKS IN SCHOOL TESTS xD )
how to install it bro .. please give me the steps
ABHISHEK KHANDELWAL said:
how to install it bro .. please give me the steps
Click to expand...
Click to collapse
These are half built files.. I will upload usable boot.img in other thread..
good work
protox 109 said:
These are half built files.. I will upload usable boot.img in other thread..
Click to expand...
Click to collapse
great work bro .. waiting for release :laugh:
any fix rear cam?
is their already a fix rear camera in kitkat update in xolo1000 and cherry mobile hd2
Help
ajay434434 said:
great work bro .. waiting for release :laugh:
Click to expand...
Click to collapse
I don;t know exactly if it is a kernal that makes Kitkat in Q1000 or what.
I want some upgrade in my Q1000.
Please give me steps to install this.
& please inform if any bug is there.
Iy

[DEV][3.4.x/3.10.40][msm8226/8] CAF kernel | LA.BF-03110 | LA.BF.2.1

NOTE: If you don't know what this thing is DO NOT POST
What is CAF kernel and why is it important
CAF is a project focusing on widespreading the use of msm chipsets, including a repository where qcom developers maintain code for various platforms, android and linux included
ok i got you! but why it is important for our device?
CAF kernel brings us upstream enhacements needed to make our device future proof for next android versions
you can find Code aurora releases here : https://www.codeaurora.org/xwiki/bin/QAEP/release
This is effort to keep armani updated wit Latest code aurora stuiff
Kernel for armani can be found here : https://github.com/rebelos/kernel_msm
For 3.4.x
Kernel Based on LA.BF.1.1.2-03110-8x26.0 with Camera Stack From LNX.LA.3.5.1-10610-8x26.0
why camera stack from KK tag [?]
For 3.10.40
Kernel is based of LA.BF.2.1
Answer is sinple to make it compatible with our JB kernel drivers
Current Status
- Most of stuff i can test is Working
Patches and sugesstions are welcome
XDA:DevDB Information
[DEVELOPMENT][armani] CAF Kernel, Kernel for the Xiaomi Redmi 1S
Contributors
rebelos, Kra1o5 , jsevi83, thewisenerd , Elominus
Source Code: https://github.com/rebelos/kernel_msm/tree/armani/master-3.4
Kernel Special Features:
Version Information
Status: Testing
Created 2015-04-28
Last Updated 2015-05-01
Thanks to @Luffy.d for helping with some tests and @dexter93
Awesome Work @rebelos and Armani Devs .
Speechless .
Hell yeah !
LA.BF.1.1.2-03110-8x26.0 - True Lollipop Kernel .
God Bless You Guys !!
Wait a minute, just a little offtopic question if you guys dont mind.
>> https://github.com/SlimRoms/kernel_xiaomi_armani
Does this mean that we are getting official SlimRom with this kernel? If yes than this will be awesome! Thanks guys for your hard work.
source update
1. Kernel now Shifted to https://github.com/rebelos/kernel_msm under Branch = armani/master-3.4 Branch
2. Fixed a bug with AutoFocus on Previous Downgrade
3. Suspicous Size increase is Fixed Thanks to @thewisenerd and @jsevi83
Kernel Bump : msm-3.10
The code for msm-3.10 [Linux version = 3.10.40] has been pushed https://github.com/rebelos/kernel_msm-3.10
kernel is based off " LA.BF.2.1_RB1.05.00.00.173.012" msm8084
Keeping in mind this is *highly Experimental*
and i'd consider it unusable for now!
rebelos said:
Kernel Bump : msm-3.10
The code for msm-3.10 [Linux version = 3.10.40] has been pushed https://github.com/rebelos/kernel_msm-3.10
kernel is based off " LA.BF.2.1_RB1.05.00.00.173.012" msm8084
Keeping in mind this is *highly Experimental*
and i'd consider it unusable for now!
Click to expand...
Click to collapse
Wow man you are grt !!
@rebelos Wow...This is incredible - 3.10.y for armani?
You are awesome man ! I just can't believe my eyes
I wonder if Camera is the most outdated part of the kernel?
How to download this kernel?
where to download from?
dixan43 said:
where to download from?
Click to expand...
Click to collapse
Motorola patches,Faux sound patches.
chauhansonu104 said:
How to download this kernel?
Click to expand...
Click to collapse
dixan43 said:
where to download from?
Click to expand...
Click to collapse
See the [DEV] tag in title?
And "Do not post unless you know" in OP?
chauhansonu104 said:
Motorola patches,Faux sound patches.
Click to expand...
Click to collapse
What do you mean?
SH3H1 said:
See the [DEV] tag in title?
And "Do not post unless you know" in OP?
What do you mean?
Click to expand...
Click to collapse
​
Ok,I got it.
And that Motorola and faux sound patches was a suggestion,mistakenly posted on Someone else's comment instead of OP
Thread closed at OP's request.

Xiaomi has released the Mi Pad's kernel source code!!!

Finally!!!
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/mocha-kk-oss
Finally, now xda can see some updates/threads for mipad
Kage Yume said:
Finally!!!
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/mocha-kk-oss
Click to expand...
Click to collapse
What a good news!. I Hope someone will already working in a newer ROM for Mi Pad ...
Hello,
This is a good news!!!
Hope some developers start playing with it.
Kind regards.
nah, this monster did not survive. let it be. no one care mi pad already. release sources 2 and a half years is rubbish. forget about it.
ChooiWC said:
nah, this monster did not survive. let it be. no one care mi pad already. release sources 2 and a half years is rubbish. forget about it.
Click to expand...
Click to collapse
I agree you.**** Off Xiaomi.
Sent using XDA One
The important question is.. how broken is it?
Had to make these changes to build it. Yet not boot-able.
Makefile
-Werror-implicit-function-declaration
Drivers/tspdrv/tspdrv.c
43 #include "tspdrv.h"
52 "ImmVibeSPI.c"
93 "tspdrvOutputDataHandler.c"
95 "VibeOSkernelLinuxHRTime.c"
Drivers/staging/ozwpan/ozeventtrace.h
219 #include" trace/define_trace.h"
216 . - > /home/android/mocha/k/drivers/staging/ozwpan
Drivers/tspdrv/makefile
33 EXTRA_CFLAGS += - I$(M) -> -I$(shell pwd)
Used 4.7 Google toolchain.
Sudeep Duhoon said:
Had to make these changes to build it. Yet not boot-able.
Makefile
-Werror-implicit-function-declaration
Drivers/tspdrv/tspdrv.c
43 #include "tspdrv.h"
52 "ImmVibeSPI.c"
93 "tspdrvOutputDataHandler.c"
95 "VibeOSkernelLinuxHRTime.c"
Drivers/staging/ozwpan/ozeventtrace.h
219 #include" trace/define_trace.h"
216 . - > /home/android/mocha/k/drivers/staging/ozwpan
Drivers/tspdrv/makefile
33 EXTRA_CFLAGS += - I$(M) -> -I$(shell pwd)
Used 4.7 Google toolchain.
Click to expand...
Click to collapse
What are you trying to boot it with? MIUI?
Xiaomi have a bad habit of not using kernel base compatible with newer proprietary firmware blobs.
Harrynowl said:
What are you trying to boot it with? MIUI?
Xiaomi have a bad habit of not using kernel base compatible with newer proprietary firmware blobs.
Click to expand...
Click to collapse
Miui cn dev 6.10.13 (version can vary from 6.9.x-6.11.3, I don't remember, will update tomorrow)
Will update the build here so anyone can test it.
Based on which Android version? I'm hoping in a MIUI 8 based on Android Marshmallow for now, and future upgrade to Nougat. It will remain a dream?
Sudeep Duhoon said:
Miui cn dev 6.10.13 (version can vary from 6.9.x-6.11.3, I don't remember, will update tomorrow)
Will update the build here so anyone can test it.
Click to expand...
Click to collapse
Hello,
Is possible to build CM with this kernel?
Regards.
jlazkano said:
Hello,
Is possible to build CM with this kernel?
Regards.
Click to expand...
Click to collapse
Don't know. Never built rom.
In best of my knowledge, to build cm with this kernel, it would be difficult as we don't have device tree.
Android version upgrade is more difficult.
It boots with firmware blobs used in miui7. Works as well (nice change)
Harrynowl said:
It boots with firmware blobs used in miui7. Works as well (nice change)
Click to expand...
Click to collapse
Is this screenshoot a CM version of Mi Pad1?
Kind regards.
jlazkano said:
Is this screenshoot a CM version of Mi Pad1?
Kind regards.
Click to expand...
Click to collapse
Boots on CM11 also, if this is what you're asking
Harrynowl said:
Boots on CM11 also, if this is what you're asking
Click to expand...
Click to collapse
That is great!
If you upload the image, I could help testing it.
Best regards.
jlazkano said:
That is great!
If you upload the image, I could help testing it.
Best regards.
Click to expand...
Click to collapse
You can find my source here:
https://github.com/harrynowl/MiPad
This is only fixup so it compiles using 4.9 GCC
Sudeep Duhoon said:
Had to make these changes to build it. Yet not boot-able.
Makefile
-Werror-implicit-function-declaration
Drivers/tspdrv/tspdrv.c
43 #include "tspdrv.h"
52 "ImmVibeSPI.c"
93 "tspdrvOutputDataHandler.c"
95 "VibeOSkernelLinuxHRTime.c"
Drivers/staging/ozwpan/ozeventtrace.h
219 #include" trace/define_trace.h"
216 . - > /home/android/mocha/k/drivers/staging/ozwpan
Drivers/tspdrv/makefile
33 EXTRA_CFLAGS += - I$(M) -> -I$(shell pwd)
Used 4.7 Google toolchain.
Click to expand...
Click to collapse
Yep. I too tried the same. I built CM13 from this kernel but not booting.
https://github.com/Nihhaar/android_kernel_xiaomi_mocha/
I know xiaomi source is broken.
Hi !
Harrynowl said:
You can find my source here:
https://github.com/harrynowl/MiPad
This is only fixup so it compiles using 4.9 GCC
Click to expand...
Click to collapse
1. Could you explain whether this would allow use of the kernel with later versions of Android like Marshmallow or Nougat ?
2. If not, what would be required for it to work ?
3. As someone who is adept at compiling and editing kernels, could you recommend a few links related to compiling and editing kernels ? It would be of great help to new learners like myself.
Thanks !
Thank you !

Port for Kali.Nethunter kernel

Thread closed.
For new thread , go to this link.
https://forum.xda-developers.com/le...t/kernel-kali-nethunter-t3813746/post77016833
I request out developers to pls port the kali nethunter kernel for our device z2 plus. U can use mostly oreo roms as base for kernel since its much optimized and this device is best for pen testing pls pls developers spare ur lil time and make history!
Atharva Ambre[AT said:
;76155798]I request out developers to pls port the kali nethunter kernel for our device z2 plus. U can use mostly oreo roms as base for kernel since its much optimized and this device is best for pen testing pls pls developers spare ur lil time and make history!
Click to expand...
Click to collapse
Update I have created the changes for the kernel but I'm getting this error while compiling ...pls do suggest me the fix den the nethunter kernel is ready
Atharva Ambre[AT] said:
Update I have created the changes for the kernel but I'm getting this error while compiling ...pls do suggest me the fix den the nethunter kernel is ready
Click to expand...
Click to collapse
Wrong architecture maybe? Z2 is arm64.
JashanjotSidhu said:
Wrong architecture maybe? Z2 is arm64.
Click to expand...
Click to collapse
Thanks for the reply but nope I have ported rightly for z2 plus 64 bit defconfig file so I don't think its an arch issue since Kali nethunter kernel is for both arch 32 and 64 bit its something else.....thanks for ur try
Atharva Ambre[AT] said:
Thanks for the reply but nope I have ported rightly for z2 plus 64 bit defconfig file so I don't think its an arch issue since Kali nethunter kernel is for both arch 32 and 64 bit its something else.....thanks for ur try
Click to expand...
Click to collapse
Yeah my bad that was Linux x86....
Can you share include/linux/cpufreq.h file?
JashanjotSidhu said:
Yeah my bad that was Linux x86....
Can you share include/linux/cpufreq.h file?
Click to expand...
Click to collapse
Ya sure
Note the major errors are in proc.c
Atharva Ambre[AT] said:
Ya sure
Note the major errors are in proc.c
Click to expand...
Click to collapse
You uploaded cpu.h bro... I asked for the cpufreq.h...
Proc.c errors point to the above file as per your screenshot.
JashanjotSidhu said:
You uploaded cpu.h bro... I asked for the cpufreq.h...
Proc.c errors point to the above file as per your screenshot.
Click to expand...
Click to collapse
Oh I'm sorry my bad here's the right file
Atharva Ambre[AT said:
;76282414]Oh I'm sorry my bad here's the right file
Click to expand...
Click to collapse
Sorry again same wait take this
Atharva Ambre[AT] said:
Sorry again same wait take this
Click to expand...
Click to collapse
Try deleting the 657th and 658th line of cpufreq.h and then make again....
From where did you get the kernel sources? I couldn't find any 820chipset kernel sources with those lines.
Here's Z2 plus's file.
JashanjotSidhu said:
Try deleting the 657th and 658th line of cpufreq.h and then make again....
From where did you get the kernel sources? I couldn't find any 820chipset kernel sources with those lines.
Here's Z2 plus's file.
Click to expand...
Click to collapse
Will try and I got it from github its the open sources kernel , its available on most of the ROM first page , I got it from aex intro page on XDA
U won't find it bcoz the CPU freq file is inside Linux/include/CPU so its not android based file it's the main working of Linux so u won't find any specific chip based also it won't mention sd820 bcoz its open source u can port it as long as u are able to get it right without bugs its an open source so its open for many devices and many chipsets.
Update :
I tried again from start I think its the problem with the compiler of ndk will download older version and try out tomorrow...still getting many other errors while compiling from the source kernel
Pls provide me the link of latest stable ROM with it sources updated!thank you!
Update:
I'm gonna switch to Ubuntu distro it maybe can be distro problem.....have been trying to compile on Kali Linux..but failed despite many tries ,also re downloaded latest sources of kernel
Atharva Ambre[AT] said:
Update:
I'm gonna switch to Ubuntu distro it maybe can be distro problem.....have been trying to compile on Kali Linux..but failed despite many tries ,also re downloaded latest sources of kernel
Click to expand...
Click to collapse
I don't think linux distro could be a problem... maybe kernel version isn't compatible? Try using a different source.
JashanjotSidhu said:
I don't think linux distro could be a problem... maybe kernel version isn't compatible? Try using a different source.
Click to expand...
Click to collapse
Idk I have just right now running Ubuntu on VM I m downloading the files I don't think so that the problem is associated with kernel version bcos the thing is many new Android devices like one plus 3 and other many update android version devices like nexus have official nethunter support so latest android means the kernel will be upgraded to more newer version such as 3.18.xx and all so is our z2 plus to the same version ....anyways gonna give a try in Ubuntu or else have to wait till I get a proper source for kernel.
Can u suggest any good source for this project ?
I'm currently using the Oreo ROM and the source of the kernel is DDrb0h kernel which is the branch of lineage 15.1.
Also I have identified the major error which is in CROSS COMPILE step for android ndk idk why but in Kali Linux I'm not able to get CROSS COMPILE so kinda in lil problem...
JashanjotSidhu said:
I don't think linux distro could be a problem... maybe kernel version isn't compatible? Try using a different source.
Click to expand...
Click to collapse
I think the problem is associated with the kernel sources same error on ubuntu
Update
Tried my best to compile yet ran into another error
Changed the sources to latest treble one
I got new error with arm-linux-androideabi- gcc error some command is invalid ....I require a little guidance here . So kernel developers pls show me which version of ndk shld I use and sources shld I refer and what extra commands shld I run?
@Ayush Rathore.. Could you help this guy in solving his problem.. I think it's a interesting project..
SteelBodyX said:
@Ayush Rathore.. Could you help this guy in solving his problem.. I think it's a interesting project..
Click to expand...
Click to collapse
Thank you for ur suggestion. Ya I haved pm him already but didn't receive any update from him and also the work is done.I have made the changes for the project just one step I'm lagging is compiling it......then its free for distribution here.

Categories

Resources