CVE-2016-5195 linux Bug - Remix Ultratablet General

I would like to know if Remix engineers will be releasing a kernel patch to fix the CVE-2016-5195 linux bug? More information can be found here http://arstechnica.com/security/201...-escalation-bug-ever-is-under-active-exploit/ . Yes it affects android!

Related

(Secure Kernel) AnikOS Droid Kernel

Hi! I'm the head of the AnikOS community that is devoted to Linux Security Solution developing. For some time already we are porting some of our patches for linux kernel (especially GRSecurity-based) to 3.1.10 android kernel for some devices.
Some time later I'd like to introduce you the first working ALPHA version of this kernel named AnikOS Droid Kernel for TF101.
You can also read some useful information about AnikOS project here.
If you have any suggessions that need to be applied in our kernel so you are welcome with advices ;-)

[Solved][help] from custom kernel developers

Regarding this thread https://forum.xda-developers.com/moto-g4-plus/development/kalilinux-nethunter-t3639411
The OP tywinlannister did not patch the kernel source code with Android USB HID PATCH To use the Android device as keyboard or mouse..This should be applied for nethunter ROM, But he didn't..
And I asked resurrection remix ROM maintainer Jleeblanch for Athene to look at this issue he did it , after applying the patch it didn't successfully compile ,there were errors..By seeing the error he said that the official kernel is partially patched already,so it is causing those errors..
If anybody looks into the problem it would be appreciated just in your free time only ...
The link to kernel source of Jleeblanch is the "Kali branch" https://github.com/Jleeblanch/android_kernel_motorola_msm8952
Any problem or suggestions regarding to this can be discussed here itself , that others can address the issue..
I too have been waiting for a working kernel so I am going to attempt to compile a working kernel with hid with my limited kernel development knowledge. I think it probably won't work as two far better devs than me have yet been unable however I will try anyway
Any help from fellow devs would be greatly appreciated
Dougleplex said:
I too have been waiting for a working kernel so I am going to attempt to compile a working kernel with hid with my limited kernel development knowledge. I think it probably won't work as two far better devs than me have yet been unable however I will try anyway
Any help from fellow devs would be greatly appreciated
Click to expand...
Click to collapse
I am also a newbie to kernel development but I manually patched the hid sources to kernel source..
But when we complied it all those errors.
First I think we should delete all those hid patches all applied to the stock kernel source. Then compile it and then apply the patch by pelya...
My ROM s kernel developer say MM kernel will be easy but it is also partially patch
You may give it a try
Dhanush-raj said:
I am also a newbie to kernel development but I manually patched the hid sources to kernel source..
But when we complied it all those errors.
First I think we should delete all those hid patches all applied to the stock kernel source. Then compile it and then apply the patch by pelya...
Click to expand...
Click to collapse
I'm going to attempt to patch jleeblanch's rr kernel and then work backwards depending on the errors as last time I did something like this (s7 edge nethunter kernel) the error was a corrupted source and could easily have been fixed by finding a different repository rather than starting from scratch (what we did). I'm unsure as to what will happen after that however your idea is just as valid and I will try straight after (if you haven't already)
Test this kernel
Note that this is the Invicta kernel. You need a revert before the actual patch. Both commits are available on my gitlab.
Merged both into a single commit. Note that Invicta kernel is still 3.10.84. Upstream kernels may need additional changes. Test and let me know.
If you want to apply the patch to your kernel, you can use the attached patch file or use the commands below. ( using lineage kernel as example )
Code:
git clone https://github.com/LineageOS/android_kernel_motorola_msm8952.git
cd android_kernel_motorola_msm8952
git checkout cm-14.1
git remote add invicta https://gitlab.com/sileshn/android_kernel_motorola_athene.git
git fetch invicta
git cherry-pick 04aa0b10521b76e57226b2d1633e2b91cfa40263
If you don't get errors, you are good to go. If it errors, it needs more changes.
Silesh.Nair said:
Note that this is the Invicta kernel. You need a revert before the actual patch. Both commits are available on my gitlab.
Merged both into a single commit. Note that Invicta kernel is still 3.10.84. Upstream kernels may need additional changes. Test and let me know.
If you want to apply the patch to your kernel, you can use the attached patch file or use the commands below. ( using lineage kernel as example )
Code:
git clone https://github.com/LineageOS/android_kernel_motorola_msm8952.git
cd android_kernel_motorola_msm8952
git checkout cm-14.1
git remote add invicta https://gitlab.com/sileshn/android_kernel_motorola_athene.git
git fetch invicta
git cherry-pick 04aa0b10521b76e57226b2d1633e2b91cfa40263
If you don't get errors, you are good to go. If it errors, it needs more changes.
Click to expand...
Click to collapse
Kernel version 3.10.105 was initially the kernel I tried patching. I was easily able to merge the patch, but compiling it was a different story. According the errors I got, a lot of thing we're duplicated. I told the guy above that the MM based kernel (3.10.84 - which is the same version for MM thru Nougat on stock) would probably be the best bet. Looks like you had little trouble at all with merging into your Invicta Kernel (which is also kernel version 3.10.84).
Good job and thank you [emoji41]
Silesh.Nair said:
Note that this is the Invicta kernel. You need a revert before the actual patch. Both commits are available on my gitlab.
Merged both into a single commit. Note that Invicta kernel is still 3.10.84. Upstream kernels may need additional changes. Test and let me know.
If you want to apply the patch to your kernel, you can use the attached patch file or use the commands below. ( using lineage kernel as example )
If you don't get errors, you are good to go. If it errors, it needs more changes.
Click to expand...
Click to collapse
Thanks @Silesh.Nair I have been waiting long time for this patch. Once again thank you sir...
The patch is working perfectly in 3.10.105 i.e jleeblanch kernel source..
Linux version 3.10.107-lineageOS ([email protected]) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #1 SMP PREEMPT Sat Aug 5 04:20:04 PDT 2017
And thank you @Jleeblanch Also
boot tool
Silesh.Nair said:
Note that this is the Invicta kernel. You need a revert before the actual patch. Both commits are available on my gitlab.
Merged both into a single commit. Note that Invicta kernel is still 3.10.84. Upstream kernels may need additional changes. Test and let me know.
If you want to apply the patch to your kernel, you can use the attached patch file or use the commands below. ( using lineage kernel as example )
Code:
git clone https://github.com/LineageOS/android_kernel_motorola_msm8952.git
cd android_kernel_motorola_msm8952
git checkout cm-14.1
git remote add invicta https://gitlab.com/sileshn/android_kernel_motorola_athene.git
git fetch invicta
git cherry-pick 04aa0b10521b76e57226b2d1633e2b91cfa40263
If you don't get errors, you are good to go. If it errors, it needs more changes.
Click to expand...
Click to collapse
Hey which tool did you used to make boot.img.
Marella ram_youtubr said:
Note that this is the Invicta kernel. You need a revert before the actual patch. Both commits are available on my gitlab.
Merged both into a single commit. Note that Invicta kernel is still 3.10.84. Upstream kernels may need additional changes. Test and let me know.
If you want to apply the patch to your kernel, you can use the attached patch file or use the commands below. ( using lineage kernel as example )
Hey which tool did you used to make boot.img.
Click to expand...
Click to collapse
I am using lazyflasher
https://github.com/jcadduono/lazyflasher
Just clone this repo and place the zimage in there and type make, you will get a zip file. Just flash it through twrp recovery. Because only the kernel is changed , so i am just replacing the zimage. No need of unpacking and repacking of boot image.:good:
i have compiled a zimage from kali_defconfig from above source.but when i flased it to phone the phone is not booting.
I NEED A FIX FOR THIS
Marella ram_youtubr said:
i have compiled a zimage from kali_defconfig from above source.but when i flased it to phone the phone is not booting.
I NEED A FIX FOR THIS
Click to expand...
Click to collapse
Which toolchian did you use, and what kernel source and rom you are using .
Give me as detailed information as possible!
Dhanush-raj said:
Which toolchian did you use, and what kernel source and rom you are using .
Give me as detailed information as possible!
Click to expand...
Click to collapse
Kernel Source:-https://github.com/Jleeblanch/android_kernel_motorola_msm8952/tree/kali-nougat
toolchain:- https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8 nougat-release
rom:- lineage 14.1 official
Marella ram_youtubr said:
Kernel Source:-https://github.com/Jleeblanch/android_kernel_motorola_msm8952/tree/kali-nougat
toolchain:- https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8 nougat-release
rom:- lineage 14.1 official
Click to expand...
Click to collapse
Don't use that source it isn't patched correctly, although i said mr. Jleeblanch to try , so he created it. The hid patch is merged into his resurrected kernel, but for mac injection i dont remember. So you better start from the first.
Use lineage kernel source and apply the patch from this thread #6th post, and see what toolchain is used to build lineage 14 kernel and use it. And additionally you have to make some changes in the defconfig, which is explained in the kali-nethunter github page.
Dhanush-raj said:
Don't use that source it isn't patched correctly, although i said mr. Jleeblanch to try , so he created it. The hid patch is merged into his resurrected kernel, but for mac injection i dont remember. So you better start from the first.
Use lineage kernel source and apply the patch from this thread #6th post, and see what toolchain is used to build lineage 14 kernel and use it. And additionally you have to make some changes in the defconfig, which is explained in the kali-nethunter github page.
Click to expand...
Click to collapse
thanks buddy
Dhanush-raj said:
Don't use that source it isn't patched correctly, although i said mr. Jleeblanch to try , so he created it. The hid patch is merged into his resurrected kernel, but for mac injection i dont remember. So you better start from the first.
Use lineage kernel source and apply the patch from this thread #6th post, and see what toolchain is used to build lineage 14 kernel and use it. And additionally you have to make some changes in the defconfig, which is explained in the kali-nethunter github page.
Click to expand...
Click to collapse
sileshn has removed his source
Marella ram_youtubr said:
sileshn has removed his source
Click to expand...
Click to collapse
https://forum.xda-developers.com/mo...ustom-kernel-developers-t3641363/post73257121
Dhanush-raj said:
https://forum.xda-developers.com/mo...ustom-kernel-developers-t3641363/post73257121
Click to expand...
Click to collapse
He had deleted his repo from gitlab
Marella ram_youtubr said:
He had deleted his repo from gitlab
Click to expand...
Click to collapse
use this bro...
Dhanush-raj said:
use this bro...
Click to expand...
Click to collapse
Actually my orginal phone is honor 6x.I love portable hacking.Like with nethunter.I tried to build nethunter kernel for honor 6x.But i failed at HID.So i took by brothers old phone That is moto g4 plus.later i found that moto g4 plus at android 7 is 32 bit.As there is no nethunter for 32 bit i have decided that atleast i should use linux deploy.But later i suck at wifi drivers.When i enable wifi drivers in kernel then phone doenst boot.
The final thing is can anyone help me in fixing this so that i can build a complete usable kernel with Net Hunter support

[PETITION] Open source Phoenix OS kernel - let us help improve hardware support!

It's time for Phoenix OS to finally have an open sourced kernel.
Only this way we can really have influence on better hardware support - the key aspect of a usable operating system.
Please sign read, sign and share the petition - let's show Chaozhuo - Phoenix Team that it's necessary!
UPDATE:
SUCCESS!
Phoenix OS kernel source is already open!
Now we're verifying wheter it's THE source or just a copy of Android-x86 with no custom Phoenix modifications.
I'll keep you posted on the results.
UPDATE2:
Victory!https://www.change.org/p/phoenix-os...phoenix-os-android-linux-desktopui/u/21239650
Thanks,
Vioner​
Any news on custom builds? 2.2.0 has a BT and headphone jack issue (severl users reported this here on xda an in phoenix os forum).
thx
pOpY

[ALPHA] Lineage 15.x Builds [Z00A/8]

As we all know the Oreo is something that is quite distant for our device.
We need testers for Oreo Builds who can report bugs with accuracy, provide the logs required and have basic experience in software testing.
Be aware that the current & later releases are unstable & cannot be used as daily drivers.
Downloads & Issue Tracker:
GDRIVE
Instructions to Boot the ROM:
1) Install Latest TWRP from twrp.me
2) Wipe All Partitions Including Internal SDCard
3) Format system & data partitions to ext4
4) Load The Zips & image onto external sdcard
5) Flash the Lineage zip
6) Reboot
BUGS
LED dead
Double tap to wake dead
Sensors dead
Camera dead
RIL dead
GPS dead (on "device only")
Sound dead
Freezes still here
Videos on Instagram still not loading
Microphone dead
Sepolicy Dead
Telegram Group for Testers & Any ROM Compilers Who Want to Help
https://t.me/Oreo_Z00A_8
Sources:
Lineage: https://github.com/LineageOS
Device ( Tree, Kernel, Deps ): https:/github.com/nutcasev15​
XDA:DevDB Information
[WIP] Oreo Testing & Bug Fixing (Z00A/8), ROM for the Asus ZenFone 2
Contributors
nutcasev1.5, GiaSen, bernardobas, mauro128
Source Code: github.com/nutcasev15
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
ROM Firmware Required: MM BL, EXT4, Logic, Brain
Based On: Lineage
Version Information
Status: Alpha
Current Stable Version: None
Current Beta Version: None
Created 2018-06-19
Last Updated 2018-06-24
Reserved
Initial Builds <24-06-2018> (A/8)
Please build it for Z008 as well so that I will also test it
Fixed Download Links. Compiling 8.0 Now. Since the 15.1 builds are broken & old.
dnishchhal said:
Please build it for Z008 as well so that I will also test it
Click to expand...
Click to collapse
in that first moment the initial focus is on Z00a. the test results showing the evolution will be gradual for your model.
Sim card
The Sim card Doesn't work
Install instructions updated. No need to flash the boot img. It will cause a boot loop.
Thanks for working on this deserted device. I will try to help anywhere I can. Love you guyz
Is there a remote chance that this might become official in the future in case everything goes right ?
Sent from my ASUS_Z00A using XDA Labs
PedroCaseiro said:
Is there a remote chance that this might become official in the future in case everything goes right ?
Click to expand...
Click to collapse
Unlikely. Even if we get stable 8.1, they have a strict requirements to become official. Plus our repos are non mergable, so even if we go official, we can use some of the repos for compiling.
It's possible but not idea if it can really happen.
link my phone z008?
Awzil_deaf said:
link my phone z008?
Click to expand...
Click to collapse
Not available
Sent from my ASUS_Z00A using XDA Labs
Nice, very nice. This phone's hardware deserves a recent version of android.
Help fix some bugs
https://forum.xda-developers.com/an...-bug-fixing-bugs-porting-custom-roms-t2909599
Hey guys! I want to help fix some bug from this rom
Can be solved right if we try to change file from custom rom?
Sorry if I wrong... because that is only just for MTK devices.
---------- Post added at 10:35 AM ---------- Previous post was at 10:24 AM ----------
Awzil_deaf said:
link my phone ?
Click to expand...
Click to collapse
They work only for Z00A.The link of Z008 will come soon after Z00A project done.
Why you dont think if z00a and z008 have a same boot.img? '-'
Sent from my ASUS_Z00A using XDA Labs
Z008 (Z00A 20180623 build bootloops) 8.0 builds uploaded
Possible Fixes in the Source are:
Audio
Selinux Permissive
RIL
Doze
Hardware Overlays
Download links updated
Thanks for work
Pl.stable lineage rom
Tankkkks
nutcasev1.5 said:
As we all know the Oreo is something that is quite distant for our device.
We need testers for Oreo Builds who can report bugs with accuracy, provide the logs required and have basic experience in software testing.
Be aware that the current & later releases are unstable & cannot be used as daily drivers.
Downloads & Issue Tracker:
GDRIVE
Instructions to Boot the ROM:
1) Install Latest TWRP from twrp.me
2) Wipe All Partitions Including Internal SDCard
3) Format system & data partitions to ext4
4) Load The Zips & image onto external sdcard
5) Flash the Lineage zip
6) Reboot
BUGS
LED dead
Double tap to wake dead
Sensors dead
Camera dead
RIL dead
GPS dead (on "device only")
Sound dead
Freezes still here
Videos on Instagram still not loading
Microphone dead
Sepolicy Dead
Telegram Group for Testers & Any ROM Compilers Who Want to Help
https://t.me/Oreo_Z00A_8
Sources:
Lineage: https://github.com/LineageOS
Device ( Tree, Kernel, Deps ): https:/github.com/nutcasev15​
XDA:DevDB Information
[WIP] Oreo Testing & Bug Fixing (Z00A/8), ROM for the Asus ZenFone 2
Contributors
nutcasev1.5, GiaSen, bernardobas, mauro128
Source Code: github.com/nutcasev15
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
ROM Firmware Required: MM BL, EXT4, Logic, Brain
Based On: Lineage
Version Information
Status: Alpha
Current Stable Version: None
Current Beta Version: None
Created 2018-06-19
Last Updated 2018-06-24
Click to expand...
Click to collapse
If it can help, for me LED is working…
[/COLOR]
EmilioDallaTorre said:
If it can help, for me LED is working…
Click to expand...
Click to collapse
it's good to know that...
Well, the group is on the telegram, come in and share your projects and we can develop the project better.
we stand by you
EmilioDallaTorre said:
If it can help, for me LED is working…
Click to expand...
Click to collapse
It works on the 8.0 builds. Known issue on 8.1

How to build the linux kernel provide by Lenovo for the TB8704F?

I have tried the tutorials that are available on XDA, but it looks like this kernel is unable to be built outside of an Android project, but maybe I am doing something wrong.
How does one actually build the kernel that is provide by Lenovo. Is it possible to build the kernel by itself using the source provided by Lenovo?
.
The kernel source is here:
https://pcsupport.lenovo.com/us/en/...ntent=20190613_20190613184825&linkId=68972849

Categories

Resources