LineageOS 20.0 (Android 13) for GT-N8000 GT-N8005 GT-N8010 GT-N8013 GT-N8020 ALPHA

Search This thread

zeke6688

Member
Jun 21, 2018
5
0
Hello,

Is this suitable for Samsung Galaxy Note 10.1 (2014) or also know as SM-p605 model ?
If not , can anybody let me know if there is any newer version for this device beside this one ?
"

[ROM][SM-P605][10.0] Unofficial LineageOS 17.1 for lt03lte (20.03.2021) [BETA]​

"

Thank you in advance.
 

Lop3

Senior Member
Jun 1, 2013
51
12
Hi, thanks for your donation :),
the 3.4 kernel is still experimental and it could be, that LineageOS 16.0 doesn't deep sleep with it,
but it's untested by myself.
I guess that the force closings have a different nature, but it's hard to tell without testing it by my own.
But I will continue my work on the kernel and LineageOS 20 whenever I have the time for this.
Thanks for the info!

I tested your N8000 3.4 kernel. Currently I'm not able to run Debian 11 Bullseye's openssh-server on the kernel, as I can on my Galaxy S5 G900F which has a stock 3.4 kernel.

The specific error given by openssh-server when login is attempted, is:
error: sys_get_rdomain: cannot determine VRF for fd=4 : Protocol not available
Apparently the kernel needs to be built with
Which the kernel is not currently built with, looking at this config:

I've built kernels for Ubuntu x86_64, RaspberryPi, Orange Pi (Armbian), but I've never built a Kernel for Android.

I wouldn't want to just ask you to rebuild the kernel with CONFIG_NET_VRF=y because there might be other options required for openssh-server that are missing, and also I might want to enable a USB NIC or whatever in future. :)

How can I build the n8000 Kernel myself and package it into a zImage?
-------------------------------------------------

If you're interested in running Debian in a chroot on Android

First choose which Debian Release based on what your Kernel can handle.

Old Kernel < 3.2, eg: Kernel 3.0
You must run Debian 8 Jessie (due to libc requiring newer kernels in newer versions of debian) it works, but you get warnings when installing software with apt due to the GPG keys for Debian Jessie having all expired in 2022.

New Kernel >= 3.2, eg Kernel 3.4
You can install Debian 11 Bullseye (currently called stable) directly with Linux Deploy. (in the future it will be called oldstable)

You can upgrade from Debian 11 Bullseye to Debian 12 Bookworm (currently called testing), but you cannot install Debian 12 Bookworm directly or you will run into this issue. https://github.com/meefik/linuxdeploy/issues/1349

There are rootless ways to run Linux on Android, and other ways to install it, but this is how I do it:

How to install Debian on Android
1. Root your Android device
2. Install BusyBox (from F-Droid) (the meefik one seems to only work on new kernels and 1-click seems to work on old kernels)
2. Install Linux Deploy app (available on Google Play or https://github.com/meefik/linuxdeploy/releases/latest )
3. Ensure you can access /data/data
adb shell
su
ls -la /data/data
4. If you don't see /data/data/ru.meefik.linuxdeploy there (new versions of Android), then you need to run this:
adb shell cmd appops set ru.meefik.linuxdeploy android:legacy_storage allow
and maybe reboot.

5. In Linux Deploy app click (configuration icon)
Distribution: Debian
Architecture: armhf
Distribution suite: (see above)
Source path: https://ftp.debian.org/debian/
Installation type: Directory
Installation path: /data/data/ru.meefik.linuxdeploy/files/debian
Username: root
Init system: Enable
Init system: sysv

6. In Linux Deploy, click (= menu icon) > Settings > Environment > Update ENV
7. In Linux Deploy, click (... menu icon) > Install
8. Install openssh-server

adb shell
su
/data/data/ru.meefik.linuxdeploy/files/bin/linuxdeploy shell -u root
echo foo > /etc/hostname; hostname -F /etc/hostname
cp /etc/hostname /proc/sys/kernel/hostname # I added this to an init script previously, can't remember where
exit
/data/data/ru.meefik.linuxdeploy/files/bin/linuxdeploy shell -u root
# now you should see your shell says [email protected] $:
apt update && apt upgrade -y && apt install -y openssh-server
nano /etc/ssh/sshd_config
service ssh restart

9. Optional: add your SSH keys
mkdir /root/.ssh
chmod 500 /root/.ssh
echo 'YOUR SSH PUB KEY GOES HERE' > /root/.ssh/authorized_keys
chmod 400 /root/.ssh/authorized_keys
10. SSH into your Debian on Android.

Once you've got everything working you can add mounts to mount your internal and external storage into the Debian chroot.

Extra tips:
If you want to `rm -rf` your debian directory, first confirm that debian/dev debian/proc debian/sys aren't mounted.
Sometimes clicking `Stop container` in Linux Deploy doesn't work. Sometimes after a reboot it automatically mounts it. To prevent that, if I'm going to delete it, I first click the (configuration icon) then Change Installation path to debian2. Then reboot.Then `rm -rf` then make debian directory again. Then correct Installation path from debian2 back to debian.
 
Last edited:
  • Like
Reactions: html6405

html6405

Recognized Developer
Apparently the kernel needs to be built with
Which the kernel is not currently built with, looking at this config:
https://github.com/html6405/android....1/arch/arm/configs/lineageos_n8000_defconfig
VRF does only exist in 4.3–4.20, 5.0–5.19, 6.0–6.1, 6.2-rc, ... kernel versions.
How can I build the n8000 Kernel myself and package it into a zImage?
You can use the make_coffe script adapted for the n8000 by myself with:

make-koffee.sh -j16 -S p4noterf -d lineageos_n8000_defconfig

I'm curious, were you able to run Jessie at all on this device?
 

n8000linux

New member
Jan 27, 2023
3
2
VRF does only exist in 4.3–4.20, 5.0–5.19, 6.0–6.1, 6.2-rc, ... kernel versions.

You can use the make_coffe script adapted for the n8000 by myself with:

make-koffee.sh -j16 -S p4noterf -d lineageos_n8000_defconfig

I'm curious, were you able to run Jessie at all on this device?
Hi, first of all, thanks for your great efforts,

Normally I don't have an xda account but opened this to say thanks and inform you about running linux in our device.

About running Debian Jessie, I successfully booted it up, it can also run Ubuntu up to 14.10 i guess, 14.04 was working fine too.

I used this guide mostly to build up system and made some tweaks:

It was stable and fast but only problem was as Jessie is an old version, most of the current programs were not supported (spotify, flatpak etc). I think if @Don Carnage succeeds building their mainline kernel, we can run Debian or maybe Arch on it.

I was going to try dualbooting (was possible with https://forum.xda-developers.com/t/ubuntu-for-n80xx.2554959/), but as i don't have enough information about kernel building, I gave up.
 
Last edited:
  • Like
Reactions: html6405

SteelK

Senior Member
Jan 30, 2015
54
12
26
it can also run Ubuntu up to 14.10 i guess, 14.04 was working fine too.
Thank you for your work, it looks incredible!

Seems better to create a separate thread for this, so your post doesn't get lost in the LineageOS discussion.

Also, you might want to take a look at the postmarketOS guys' project. They ran the mainline kernel + Alpine on our device. There's something to strive for there too, but this project is no longer dependent on the old N80** kernel.
 

n8000linux

New member
Jan 27, 2023
3
2
Thank you for your work, it looks incredible!

Seems better to create a separate thread for this, so your post doesn't get lost in the LineageOS discussion.

Also, you might want to take a look at the postmarketOS guys' project. They ran the mainline kernel + Alpine on our device. There's something to strive for there too, but this project is no longer dependent on the old N80** kernel.
I tried postmarketOS too but sadly failed flashing it
 

sashasim

Member
Mar 6, 2021
9
3
Hello. I have n 8000. Does GPS work stably in this firmware ? Does it catch a lot of satellites? And then in the 18 and 16 firmware, my GPS practically does not work.
 

G4stavoM1ster

Member
Feb 21, 2022
12
2
Hey @html6405, I just installed this ROM for my GT-N8000, but it keeps sending me to the TWRP after reboot even with the ROM installed without problems, what I should do?
 

Mart2023

New member
Feb 10, 2023
2
0
Please can you help me out. On my n8000
Code:
/*
* Your warranty is now void.
*
* 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, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/

Hi,

here you can find my version of LineageOS 20 for our Samsung Galaxy Note 10.1 devices.
At first I want to thank @rINanDO and @ChronoMonochrome for all your work which helped me a lot.

This is a ALPHA build, also on the LineageOS side, so don't install it if you want a complete and stable rom and don't report my already listed bugs!

Here you can see how far everything is working for now.

N8000, N8010, N8013, N8020:
  • Boot
  • Bluetooth
  • Audio
  • Graphics
  • Cameras
  • Sensors
  • GPS
  • Wifi
  • USB
  • Video playback (HW/SW)
  • Tethering via USB, WIFI and Bluetooth
  • consumerir transmitter
  • Stylus with gestures and hovering icon
  • RIL
  • sec_keyboard docking station
  • much more...
  • Random reboots
  • Long screenshot
  • SD-Card can't be formatted as internal storage, this will cause a bootloop
If you don't like it, reboot into recovery and type the following command:
I would recommend to use microG instead of BitGapps,
here you can find the installation instructions:
  1. Download Magisk 24.1 and flash it via TWRP (yes, flash the APK file), reboot
  2. Open Magisk and update the App (and do a reboot if it's asking)
  3. Enable Zygisk in Magisk
  4. Download and install microG installer in the Magisk manager, reboot
  5. Download and install safetynet-fix in the Magisk manager, reboot
  6. Check with a safetynet checker app and you should pass :)

If you plan to use a sim card in your device, I would recommend to disable the pin code before with another device.
In some cases the sim card becomes unusable while typing in the code.

Do you like my work?
Than you can simply hit the thanks button and consider to spend me a coffee or a beer,
I'm doing this in my free time and it also costs a lot of money to buy hardware.

donate

Wanna improve your sound configs?
Now you can use my app to access all boeffla sound configurations.

XDA:DevDB Information
[ROM][13.x][N8000/N801x/N8020][BETA] LineageOS 20.0, ROM for the Samsung Galaxy Note 10.1

Contributors

html6405
Source Code: https://github.com/html6405

ROM OS Version: 13.x T
ROM Kernel: Linux 3.x
ROM Firmware Required: TWRP 3.5.2
Based On: LineageOS
Selinux: permissive, this only makes sense as soon the ROM is stable.

Version Information
Status:
Alpha

Created 2022-11-02
Last Updated 2022-11-02
Please can you help me out. I installed lineage os 18.1 (android 11) on my Samsung galaxy note 10.1 n8000. But I can't find a compatible gapps to install and my speech functions/microphone does not work. Please out. Thanks
 

Mart2023

New member
Feb 10, 2023
2
0
Please can you help me out. On my n8000
Code:
/*
* Your warranty is now void.
*
* 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, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/

Hi,

here you can find my version of LineageOS 20 for our Samsung Galaxy Note 10.1 devices.
At first I want to thank @rINanDO and @ChronoMonochrome for all your work which helped me a lot.

This is a ALPHA build, also on the LineageOS side, so don't install it if you want a complete and stable rom and don't report my already listed bugs!

Here you can see how far everything is working for now.

N8000, N8010, N8013, N8020:
  • Boot
  • Bluetooth
  • Audio
  • Graphics
  • Cameras
  • Sensors
  • GPS
  • Wifi
  • USB
  • Video playback (HW/SW)
  • Tethering via USB, WIFI and Bluetooth
  • consumerir transmitter
  • Stylus with gestures and hovering icon
  • RIL
  • sec_keyboard docking station
  • much more...
  • Random reboots
  • Long screenshot
  • SD-Card can't be formatted as internal storage, this will cause a bootloop
If you don't like it, reboot into recovery and type the following command:
I would recommend to use microG instead of BitGapps,
here you can find the installation instructions:
  1. Download Magisk 24.1 and flash it via TWRP (yes, flash the APK file), reboot
  2. Open Magisk and update the App (and do a reboot if it's asking)
  3. Enable Zygisk in Magisk
  4. Download and install microG installer in the Magisk manager, reboot
  5. Download and install safetynet-fix in the Magisk manager, reboot
  6. Check with a safetynet checker app and you should pass :)

If you plan to use a sim card in your device, I would recommend to disable the pin code before with another device.
In some cases the sim card becomes unusable while typing in the code.

Do you like my work?
Than you can simply hit the thanks button and consider to spend me a coffee or a beer,
I'm doing this in my free time and it also costs a lot of money to buy hardware.

donate

Wanna improve your sound configs?
Now you can use my app to access all boeffla sound configurations.

XDA:DevDB Information
[ROM][13.x][N8000/N801x/N8020][BETA] LineageOS 20.0, ROM for the Samsung Galaxy Note 10.1

Contributors

html6405
Source Code: https://github.com/html6405

ROM OS Version: 13.x T
ROM Kernel: Linux 3.x
ROM Firmware Required: TWRP 3.5.2
Based On: LineageOS
Selinux: permissive, this only makes sense as soon the ROM is stable.

Version Information
Status:
Alpha

Created 2022-11-02
Last Updated 2022-11-02
Please can you help me out. I installed lineage os 18.1 (android 11) on my Samsung galaxy note 10.1 n8000. But I can't find a compatible gapps to install and my speech functions/microphone does not work. Please out. Thanks
 

sashasim

Member
Mar 6, 2021
9
3
Hello, something almost nothing works for me. Programs are installed, but when they are opened, they are immediately closed. What could be the problem?
 

Top Liked Posts

  • 5
    Update 06.03.2023:
    • Synced with LineageOS sources from February
    2
    Update 06.03.2023:
    • Synced with LineageOS sources from February
    Hello my friend, it's good to know that you haven't abandoned us, it's been a long time without you speaking here on the forum, I hope all is well with you.
    Any updates from you?
    Is there any improvement?
    1
    Hello my friend, it's good to know that you haven't abandoned us, it's been a long time without you speaking here on the forum, I hope all is well with you.
    Any updates from you?
    Is there any improvement?
    I've tried to fix:

    Code:
    03-09 16:34:18.385  1415  1415 F DEBUG   :       #00 pc 000059f4  /vendor/lib/hw/gralloc.exynos4.so (gralloc_perform(gralloc_module_t const*, int, ...)+192) (BuildId: 9103597dfaf8e3bcbd30e2affc18327b)
    03-09 16:34:18.385  1415  1415 F DEBUG   :       #01 pc 00008991  /vendor/lib/hw/gralloc.exynos4.so (android::hardware::Gralloc1On0Adapter::retain(native_handle const*)+336) (BuildId: 9103597dfaf8e3bcbd30e2affc18327b)

    But I had no time to test enough to see if it's fixed now.

    Everything is fine, I just have to work 8 - 12 hours per day and I'm struggling to find some time for android, but I try find one day per week.
    I installed the LineageOS 20 rom and MicroG in my GT-N8000 and everything works well. I like the Aurora Store but just out of curiosity, is it possible to install the Google Play Store as well?.
    Yes, the patched PlayStore still should work with microG (but untested by myself) and I'm using NikGapps on one of my devices without any problem.
    Would it be possible for you to provide a .zip to resize the system partition so we can install gapps on this rom?
    That's a good idea, I will add it to the list.
    Newer packages need to much space, I'm using an older and smaller one (NikGapps).
    Can't seem to set a wallpaper
    Hmm just tested it, it seems to work fine here, whats exactly happening?
  • 21
    Code:
    /*
    * Your warranty is now void.
    *
    * 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, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    *
    */

    Hi,

    here you can find my version of LineageOS 20 for our Samsung Galaxy Note 10.1 devices.
    At first I want to thank @rINanDO and @ChronoMonochrome for all your work which helped me a lot.

    This is a ALPHA build, also on the LineageOS side, so don't install it if you want a complete and stable rom and don't report my already listed bugs!

    Here you can see how far everything is working for now.

    N8000, N8010, N8013, N8020:
    • Boot
    • Bluetooth
    • Audio
    • Graphics
    • Cameras
    • Sensors
    • GPS
    • Wifi
    • USB
    • Video playback (HW/SW)
    • Tethering via USB, WIFI and Bluetooth
    • consumerir transmitter
    • Stylus with gestures and hovering icon
    • RIL
    • sec_keyboard docking station
    • much more...
    • Random reboots
    • Long screenshot
    • SD-Card can't be formatted as internal storage, this will cause a bootloop
    • Network monitoring because of missing eBPF support
    If you don't like it, reboot into recovery and type the following command:
    I would recommend to use microG instead of BitGapps,
    here you can find the installation instructions:
    1. Download Magisk 24.1 and flash it via TWRP (yes, flash the APK file), reboot
    2. Open Magisk and update the App (and do a reboot if it's asking)
    3. Enable Zygisk in Magisk
    4. Download and install microG installer in the Magisk manager, reboot
    5. Download and install safetynet-fix in the Magisk manager, reboot
    6. Check with a safetynet checker app and you should pass :)

    If you plan to use a sim card in your device, I would recommend to disable the pin code before with another device.
    In some cases the sim card becomes unusable while typing in the code.

    Do you like my work?
    Than you can simply hit the thanks button and consider to spend me a coffee or a beer,
    I'm doing this in my free time and it also costs a lot of money to buy hardware.

    donate

    Wanna improve your sound configs?
    Now you can use my app to access all boeffla sound configurations.

    XDA:DevDB Information
    [ROM][13.x][N8000/N801x/N8020][BETA] LineageOS 20.0, ROM for the Samsung Galaxy Note 10.1

    Contributors

    html6405
    Source Code: https://github.com/html6405

    ROM OS Version: 13.x T
    ROM Kernel: Linux 3.x
    ROM Firmware Required: TWRP 3.5.2
    Based On: LineageOS
    Selinux: permissive, this only makes sense as soon the ROM is stable.

    Version Information
    Status:
    Alpha

    Created 2022-11-02
    Last Updated 2023-03-06
    7
    Update 15.01.2023:
    • Synced with latest LineageOS sources
    • Set swappiness back to 100
    • Fixed SamsungDoze
    • Fixed stylus gestures
    • Moved to 3.4 kernel for n8000 and n8010
    • Fixed dock / undock behavior for docking stations
    5
    Update 06.03.2023:
    • Synced with LineageOS sources from February
    4
    everything working fine at my end.
    I'm using LOS20 + Magisk+BigGapps Magisk module. the setup quite stable and performance is usable.
    3
    Finally fixed the wake up problem in kernel, it took some time to figure out which driver was faulty.
    Only for N8000 and N8010 at the moment.

    Attention: this is only a test kernel at the moment, if you want to try it, there still could be other issues.