[P600][XXUDOJ3][5.1.1][Kernel] Permissiv Kernel - Galaxy Note 10.1 (2014 Edition) Original Android D

Introduction
This is a permissiv Kernel for the SM-P600, that is based on the stock Kernel of (XXUDOJ3) Samsungs Android 5.1.1 ROM.
With this kernel you're able to use Linux Deploy for example.
The main changes are the following:
Do not always enforce SELinux, thus it can be disabled (su && setenforce 0 )
Disable some Samsung security features that for example prohibit the usage of sudo inside a chroot environment (Linux Deploy)
After flashing this Kernel, your Wifi password will not survive device restarts. To solve the issue please look at this.
Installation instructions
Make a backup of you're current kernel!
Download one of the images or build it on you're own
Flashing with ODIN: Select boot.tar as PDA file
Flashing with heimdall run
Code:
heimdall flash --BOOT heimdall_boot.img
Download
GitHub: link
[email protected]
For heimdall:Download
For ODIN:Download
XDA:DevDB Information
[P600][XXUDOJ3][5.1.1][Kernel] Permissiv Kernel, Kernel for the Samsung Galaxy Note 10.1 (2014 Edition)
Contributors
0ptr, 0ptr
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2016-10-06
Created 2016-10-06
Last Updated 2018-02-09

Related

(help wanted) build and flash RR for Redmi3(ido) successfully but /system was empty

I've met this problem since I started learning to build by myself.As the title said,
I build RR following the Lineage OS wiki and Github Repo ResurrectionRemix/platform_manifest/readme.mkdn.
Env : Ubuntu 16.04 LTS on Linode (DC: Dallas)
Build scriptsNewbies, don't mind) https://bitbucket.org/kmahyyg/android-build-env
BTW, the envvar-copyonly.sh is used to set the variable of the environment.
The sequence is : 1k-*.sh -> vendor.sh -> clone.sh
It noticed me that Build successfully.I also successfully flashed in TWRP.But the /system was even empty!
Device: Xiaomi Redmi3 (ido)
Device tree: RR Default
All the logs and files I compiled and saved that you might need can be found here : https://drive.google.com/open?id=0B6lq-lTh_iSXeE43SEJNWVdwN0k
Emergency!Same problem with LineageOS.

sh: sh partition.sh: not found

Being of a little experience I've tried to install three Android releases on a Samsung S8530 with the same result - not being able to prepare /system and /data partitions and the message on the Terminal Command screen
sh: sh partition.sh: not found
The releases I've worked were:
[GearCM][NAND|S85xx][4.4.4] Optimized CyanogenMod 11 for Samsung Wave I/II [20151129]
[ROM][WIP][NAND] Omni 4.4 - 26.01.2016
[ROM[PORT][6.0.1][07/02/16][UNOFFICIAL]OmniROM 6.0
All of the three follow the same procedure path:
Flash BOOTFILES, "start" kernel and FOTA using Multiloader.
After reboot it will open android recovery
Advanced -> Terminal Command -> Select -> Type "sh partition.sh"
All of the three use the same BOOTFILES and FOTA.
And of course I've used the same phone but two different Bada 2.0 releases:
S4 Style TurkoCFW V10.1 S8530 by hero355&Frager
S5 Style TurkoCFW V10.2 S8530 by hero355&Frager
Can someone help me with that?
Thanks,
Respectfully.
A success with CarbonRom
My fourth attempt with [ROM][4.4.4] CarbonRom: Wave & Wave II was successful.
Many thanks to the developer.

Help build kernel module for MiBox 1S

So long story short, I wanted to build the ftdi_sio.ko module for the linux kernel of android based MiBox 1S. I was able to build the module but once I run "insmod" via adb, the system crashes and reboots (I couldn't see any error message because of this). Please could anyone suggest how to find where the problem is or whether what I wanted to do is even possible?
The device is running system version 1.3.88 rooted by the Chinese 360 root app. Kernel version follows:
Code:
adb shell cat /proc/version
Linux version 3.10.33 ([email protected]) (gcc version 4.7.3 20130205 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.02-01-20130221 - Linaro GCC 2013.02) ) #1 SMP PREEMPT Tue Jun 16 00:38:26 CST 2015
As Xiaomi doesn't have kernel source release for MiBox (afaik), I went to look for the Amlogic kernel source for AML8726-MX (M6).
The closet kernel source I could find was from Stane1983's github repo amlogic-m6_m8. I'm using the earliest commit for 3.10.33 kernel version.
For the building of the kernel module, I pretty much followed a github document named 'Android-Build-Kernel-Modules-HOWTO.txt' by marco-pratesi. I downloaded the toolchain from the archive of linaro releases 13.02 which shows the same version of the android kernel above. I copied the .config from arch/arm/configs/meson6_deconfig and use 'make menuconfig' to add OTG_support and USB FTDI Single Port Serial Driver. Make the module by "make M=drivers/usb/serial/". And then adb push the generated ftdi_sio.ko file to /mnt/sdcard.
For loading the module, I run
Code:
adb shell
su
insmod /mnt/sdcard/ftdi_sio.ko
Then the box freezes for 10 seconds and reboots...
So my questions are:
1. Is there a way to find some logs of insmod to know what's gone wrong? As the system freezes and reboots, I can't use the dmesg method normally suggested, can I?
2. As the kernel source is from Amlogic, could it be that Xiaomi created their own kernel that is very different from this one to cause this problem?
3. Even if Xiaomi used exactly the same source code, as i'm using the meason6_defconfig file from the repo, it is likely to be different from the one Xiaomi was using. Would it matter for just building a module?
4. Is it possible to recover the config file from the prebuild kernel? I counld't find /proc/config.gz. And modprobe has error "can't open 'modules.dep': No such file or directory. "
5. What else I can try?
Sorry for the long post. I'm very new to this type of work and this forum as well. So any comments would be appreciated.

Help with install driver wifi

Hi finally i can install Chrome Os in my laptop...
Now i try install my wifi driver but the only problem is the kernel... this not have headers for compiling..
when i try to compile the code:
[email protected]:~/rtl8821ce$ sudo ./dkms-install.sh
Show me this error
Error! DKMS tree already contains: rtl8821ce-v5.5.2_34066.20200325 (The driver is install previously but not are activable)
You cannot add the same module/version combo more than once.
Error! Your kernel headers for kernel 4.19.87-07826-g55ab70aff690 cannot be found.
Please install the linux-headers-4.19.87-07826-g55ab70aff690 package,
or use the --kernelsourcedir option to tell DKMS where it's located
Error! Your kernel headers for kernel 4.19.87-07826-g55ab70aff690 cannot be found.
Please install the linux-headers-4.19.87-07826-g55ab70aff690 package,
or use the --kernelsourcedir option to tell DKMS where it's located
Finished running dkms install steps.
i try install the headers but this kernel version not have headerrrss!!! jajaja...
Well i try upgrade the linux and i can... my distr is Debian 10.3 now... and them i proced to upgrade the kernel... ok all fine upgrade the kernel but when i check the information of kernel with the code
uname -a
Linux penguin 4.19.87-07826-g55ab70aff690 #1 SMP PREEMPT Tue Feb 4 17:29:42 PST 2020 x86_64 GNU/Linux(show me the old kernel but is the install actually)
show me the new kernel in the older kernerls with the command
dpkg --list | grep linux-image
ii linux-image-5.5.0-0.bpo.2-cloud-amd64-dbg 5.5.17-1~bpo10+1 amd64 Debug symbols for linux-image-5.5.0-0.bpo.2-cloud-amd64
Any can help me? to update the kernel and the headers?
My specs:
HP-15-db0081wm
Cpu: AMD Dual-Core E2-9000e
Gpu: AMD Radeon™ R2 Graphics
Ram: 4GB
Q. How i install chrome os?
A. with this video ( https://www.youtube.com/watch?v=4gZYV0RWJQ8 )
SRY FOR MY BAD ENGLISH
If i

Matching a kernel's config for compatible kernel modules

(I'm cross-posting from "General Discussion", I think I picked the wrong forum. Sorry!)
I have:
Downloaded the exact kernel version running on my device from an AOSP mirror (4.9.170) (https://github.com/aosp-mirror/kernel_common.git)
Downloaded the exact compiler used to compile the kernel from my device:
Ran `cat /proc/version`, which returns "Linaro GCC 5.3-2016.05", which I downloaded from https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/aarch64-linux-gnu/
Took the kernel configuration from `/proc/config.gz`, copied it to the kernel source directory `kernel_common` as `.config`
Ran `make ARCH=arm64 CROSS_COMPILE=xxx oldconfig`
What I'm seeing:
First, the downloaded kernel source for 4.9.170 seems to think that my `config` is incomplete, since it will prompt me to answer ~15 extra configuration questions.
Second, this old Linaro compiled doesn't appear to support `-fstack-protector-strong` despite it being explicitly enabled in the `/proc/config.gz` file. So I end up disabling it with `./scripts/config --disable CONFIG_CC_STACKPROTECTOR_STRONG`
Finally, after successfully compiling, I take `net/ipv4/tcp_westwood.ko`, just as a test module, and try to load it on my Android device, and it fails:
`insmod: failed to load tcp_westwood_5.ko: Exec format error`
And in dmesg output: `tcp_westwood: disagrees about version of symbol module_layout`
My questions:
Can I assume that the `/proc/config.gz` file is not the actual file used to compile the running kernel, considering it doesn't completely configure the 4.9.170 kernel?
Am I on the right path to getting a kernel module that my kernel will load?
Background information:
I'm hoping this isn't very relevant, but just to head off some questions
This is a T95 Android TV device running what appears to be, to this newbie's eyes, a very Frankenstein'd Android 10 install (See https://www.cnx-software.com/2020/0...-comes-with-mali-g31-gpu-supports-android-10/)
I can't find any official - or unofficial - source for this device, which is why I'm going to all the trouble above.
I really appreciate any help, thank you!

Categories

Resources