• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

LineageOS 16.0 Android 9 for GT-N5100 GT-N5110 GT-N5120 STABLE

Search This thread

html6405

Recognized Developer
Jan 15, 2016
1,243
1,159
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 for the n5120 on LineageOS 16.0.
At first I want to thank @forkbomb444, @rINanDO, @ChronoMonochrome and all the others who are working on the exynos 4 devices, also big thanks to @prkfsz for donating me a n5120 and also the shipping cost.
Also big thx to @cngbrick for donating a n5100.

It already took me a few hundred hours and it will become more and more to support you with great updates.
it's mostly based on my work on for the Samsung Galaxy Note 10.1 (GT-N80XX) devices.


Here you can see how far everything is working:

Boot
Audio
Bluetooth
Graphics
Main camera
Wifi
USB
Video playback (HW/SW)
OTA Updates
RIL
GPS, not sure if completely
Tethering via USB, WIFI and Bluetooth
consumerir transmitter
Sensors
  • Bluetooth headset in a mobile call
  • Some apps because of decoding issues
  • GPS fix, but navigating is working fine
  • Maybe more
If you are going to use Gapps,
I recommend to use the pico package!
https://opengapps.org/
For the others, you can use microG if you want, I've enabled signature spoofing.

If you want to pass the safety net check, root your device with magisk.

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

You could use a gps.conf from https://app.box.com/s/w57s1v1n3hie7l5lk28i for your location and replace /system/etc/gps.conf.
Or you try GPS Server Optimizer app for a faster 3D fix.
For both methods you need root rights.
If you plan to encrypt your device, the first step is to backup all your important stuff.

Reboot into recovery and choose:

Wipe->Advanced Wipe->Data (check)
Choose "Repair or Change File System" and afterwards "Resize File System".
After this step, choose Reboot System and you can start to encrypt your drive.
If you can't find this option in the settings by your own, use the search function and type "encryption" and you can start.
XDA:DevDB Information
[ROM][9.x][N5100/N5110/N5120][STABLE] LineageOS 16.0, ROM for the Samsung Galaxy Note 8.0

Contributors

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

ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
ROM Firmware Required: TWRP 3.3.0
Based On: LineageOS

Version Information
Status:
Stable

Created 2021-02-09
Last Updated 2021-09-08
 
Last edited:
D

Deleted member 9635294

Guest
XDA DevDB Information
[ROM][9.x][N5100/N5110/N5120][STABLE] LineageOS 16.0, ROM for the Samsung Galaxy Note 8.0

Version Information
Status:
Alpha
Created 2021-02-09
Last Updated 2021-02-09

Why devdb information says stable and version information shows alpha?
 

html6405

Recognized Developer
Jan 15, 2016
1,243
1,159
XDA DevDB Information
[ROM][9.x][N5100/N5110/N5120][STABLE] LineageOS 16.0, ROM for the Samsung Galaxy Note 8.0

Version Information
Status:
Alpha
Created 2021-02-09
Last Updated 2021-02-09

Why devdb information says stable and version information shows alpha?
Sorry, copy paste error....
It is alpha, the first test version.
 
  • Like
Reactions: prkfsz

html6405

Recognized Developer
Jan 15, 2016
1,243
1,159
Thanks for your ROM. Tried to install it on N5110, but nothing worked, have you built it for this version? If not yet, than may I be able to change updater-script somehow? Want to test it very much, thanks.
This version is for the n5120, but just wait a little bit,
i will try to build a version for the n5110,
I dont own this device.
 
Last edited:

Mynacol

Senior Member
Sep 9, 2016
315
208
Hi @html6405,

First thanks for working on this device.

I am rocking a n5110 and just flashed the new build (in TWRP 3.3.1-0). I formatted all filesystems (cache, system and data) (not just wiping) as ext4.
Unfortunately, my device is bootlooping at first startup.
I just flashed the ROM, nothing else.

As doing an adb logcat does not work during startup, I tried flashing this zip and retried getting a logcat, to no avail. The device is still bootlooping for 10+ minutes.

Maybe you can instruct me to help you better.
 

Mynacol

Senior Member
Sep 9, 2016
315
208
I will create a adb enabled kernel for tomorrow and then I hope you can provide me a logcat.
Nice. Waiting for it.

Some further observations/clarifications:
The kernel is probably fine. When booting normally, the Lineage boot animation is running. When connecting the tablet to a charger, it goes in this "charging" mode just fine.
The tablet is not bootlooping, but rather stuck in the booting process. It just stays at the Lineage boot animation. No restarts.
 

html6405

Recognized Developer
Jan 15, 2016
1,243
1,159
Nice. Waiting for it.

Some further observations/clarifications:
The kernel is probably fine. When booting normally, the Lineage boot animation is running. When connecting the tablet to a charger, it goes in this "charging" mode just fine.
The tablet is not bootlooping, but rather stuck in the booting process. It just stays at the Lineage boot animation. No restarts.
Hmm I was able to boot it up on my n5120. But it is very complicated this way, I think I will need a own device...
 

prkfsz

Senior Member
Jun 16, 2020
110
43
Have had time to play a little with rom for 5120. Looks nice overall, nice work pal @html6405!

I couldn't make some things work tho:

(I am sorry, i am not a 'pro' as a tester. I don't know how to provide logs. If there is some crash course in testing i might try, but time is scarce nowadays.)


ROM with MicroG = NO boot. Gets stuck in the first loop, after a while aborts and restarts to TWRP.
(Haven't really tested with gapps, don't use that)

ROM alone = BOOT.
Clean flashed, haven't tried anything else.
Blutooth: Tried to connect to a keyboard that works ok with everything else. Finds it but loses connection very quickly. Hard to reconnect. Seems very unstable.
Wifi: works. Seems stable.
Mobile calls: work, after two reboots.
SMS: work
MMS: don't work directly, but that usually is a matter of finding the right settings for your provider.
Mobile data: not working.
Autorotate: Not working. When you start the camera it flips the autorotate once but you can't turn it back. Goes away with rebooting but the same thing then.
Cameras don't work. Video does tho.

That's all i had time for tonight. Hope it helps in some way!

Thanx for all the work! Looking forward to next versions! (y)
 

html6405

Recognized Developer
Jan 15, 2016
1,243
1,159
ROM with MicroG = NO boot.
Hmm microG should actually work, I've set the permissions and enabled signature spoofing.
How have you installed it?
Blutooth: Tried to connect to a keyboard that works ok with everything else. Finds it but loses connection very quickly. Hard to reconnect. Seems very unstable.
Hmm ok, I will test one of mine.
MMS: don't work directly, but that usually is a matter of finding the right settings for your provider.
Mobile data: not working.
Yep, I'm struggling with this the last days...
Autorotate: Not working. When you start the camera it flips the autorotate once but you can't turn it back. Goes away with rebooting but the same thing then.
Yes, the sensor isnt working yet, I have to overwork the whole hal. It was already a big fight to get the light, proximity and magnetic sensor working.
You could disable auto rotation.
Cameras don't work. Video does tho.
Main camera should work fine, doesn't it?
 

prkfsz

Senior Member
Jun 16, 2020
110
43
Hmm microG should actually work, I've set the permissions and enabled signature spoofing.
How have you installed it?

Hmm ok, I will test one of mine.

Yep, I'm struggling with this the last days...

Yes, the sensor isnt working yet, I have to overwork the whole hal. It was already a big fight to get the light, proximity and magnetic sensor working.
You could disable auto rotation.

Main camera should work fine, doesn't it?

I installed microG in TWRP, directly after the rom, without booting the rom in between. As i always do with microG. I just didn't run the patcher since you said you enabled the signature spoofing. First time I chose factory reset between flashing and booting, and the other time without it. Same result.

I didn't get any of the cameras to work. The app opens, i can press the shutterbutton but no shots are made. Same for both cameras. But the videos are made and they lay obediently in the gallery.
 

[email protected]

New member
Oct 3, 2014
4
2
Today i'm flash your rom for gt-n5110
and...this working! (i not install gapps)
in all the little time of testing, I found the following things:
Screenshot_20210216-232033_.png
Screenshot_20210216-232344_Trebuchet.png
  1. Camera
  2. Wifi (internet)
  3. Keyboard! I'm really surprised, because in lineage 14.1 the keyboard did not work and I thought it was a problem with the bluetooth adapter (keyboard: vontar)
  4. Works connected to a bluetooth speaker with feedback
  5. Recorder (sound and screen)
  6. Root worked after install zip :)
  7. SPen, using spencommand 1.2.30* (root)
  8. IR port working, using galaxy s4 universal remote
  9. audioFX
  1. Memory permission strange working, first time all apps give error and not work, but now working
  2. Root is not installed initially, i think you want make it, because app magisk installed
  3. when the device starts, in the middle of the setup there is a page about the mobile network, which is not on the tablet
  4. have flashlight button in upper spoiler

This is a very good test firmware for me(y). I also want (if possible) that there was a setting of the vibration strength as on lineage 14.1, otherwise it is quite strong and unpleasant)
 
Last edited:

afro972

Senior Member
Jul 5, 2007
111
12
Paris
empiredubuzz.fr
Today i'm flash your rom for gt-n5110
and...this working! (i not install gapps)
in all the little time of testing, I found the following things:
  1. Camera
  2. Wifi (internet)
  3. Keyboard! I'm really surprised, because in lineage 14.1 the keyboard did not work and I thought it was a problem with the bluetooth adapter (keyboard: vontar)
  4. Works connected to a bluetooth speaker with feedback
  5. Recorder (sound and screen)
  6. Root worked after install zip :)
  7. SPen, using spencommand (root)
  8. IR port working, using galaxy s4 universal remote
  9. audioFX
  1. Memory permission strange working, first time all apps give error and not work, but now working
  2. Root is not installed initially, i think you want make it, because app magisk installed
  3. when the device starts, in the middle of the setup there is a page about the mobile network, which is not on the tablet

This is a very good test firmware for me(y). I also want (if possible) that there was a setting of the vibration strength as on lineage 14.1, otherwise it is quite strong and unpleasant)


I try to install it on my N5110 i have an error, how did you do ?

EDIT: i have update TWRP and now it's ok
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Update 08.09.2021:
    • Synced with LineageOS sources
    • Some Kernel work
    • Fixed aptX
    • Updated the boot picture, if you don't like it, reboot into recovery and type the following command:
      • adb shell (or use TWRP's terminal)
      • . /data/param_restore.sh
      • reboot
    • Uploaded a prepared package to build your own boot picture
    3
    Update 26.08.2021:
    • Implemented device description for SHW-M500W
    • Introduce a SN fix, to fix google login.
    2
    Attention:

    In my last n5110 update, I've already published a thing I did not plan to do so early, but because of the demand to support the SHW-M500W, I did so.
    This update will change your boot screen, if you don't like this, stay at the version from the 10.08.2021.
    (Also for the other device users)

    My plan is to upload a prepared package to build your own param.bin with your own bootimage, if you wan't to customize it!
    1
    Nvm it just boot back on. I hope the stable version is on the works and be release soon, it just that when i click the power button it would boot off and some game wont install in google play with some error
    It's maybe better to stay on LOS 16.0 until we hopefully reach a stable state of LOS 18.1.
    1
    I mean it makes no difference whether the S-Pen is plugged in or not while using the tablet. The original rom has a configuration to shut it off while its plugged in...
    Where should this configuration be?
    We're using the original Kernel, it's just overworked to be compatible with Android 9.
    I bet if I use the original ROM and take a second pen, it will work if the original pen is sticked in.
    I only know the disable function from newer devices, but anyway, it's not supported to disable the pen.
  • 31
    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 for the n5120 on LineageOS 16.0.
    At first I want to thank @forkbomb444, @rINanDO, @ChronoMonochrome and all the others who are working on the exynos 4 devices, also big thanks to @prkfsz for donating me a n5120 and also the shipping cost.
    Also big thx to @cngbrick for donating a n5100.

    It already took me a few hundred hours and it will become more and more to support you with great updates.
    it's mostly based on my work on for the Samsung Galaxy Note 10.1 (GT-N80XX) devices.


    Here you can see how far everything is working:

    Boot
    Audio
    Bluetooth
    Graphics
    Main camera
    Wifi
    USB
    Video playback (HW/SW)
    OTA Updates
    RIL
    GPS, not sure if completely
    Tethering via USB, WIFI and Bluetooth
    consumerir transmitter
    Sensors
    • Bluetooth headset in a mobile call
    • Some apps because of decoding issues
    • GPS fix, but navigating is working fine
    • Maybe more
    If you are going to use Gapps,
    I recommend to use the pico package!
    https://opengapps.org/
    For the others, you can use microG if you want, I've enabled signature spoofing.

    If you want to pass the safety net check, root your device with magisk.

    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

    You could use a gps.conf from https://app.box.com/s/w57s1v1n3hie7l5lk28i for your location and replace /system/etc/gps.conf.
    Or you try GPS Server Optimizer app for a faster 3D fix.
    For both methods you need root rights.
    If you plan to encrypt your device, the first step is to backup all your important stuff.

    Reboot into recovery and choose:

    Wipe->Advanced Wipe->Data (check)
    Choose "Repair or Change File System" and afterwards "Resize File System".
    After this step, choose Reboot System and you can start to encrypt your drive.
    If you can't find this option in the settings by your own, use the search function and type "encryption" and you can start.
    XDA:DevDB Information
    [ROM][9.x][N5100/N5110/N5120][STABLE] LineageOS 16.0, ROM for the Samsung Galaxy Note 8.0

    Contributors

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

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 3.x
    ROM Firmware Required: TWRP 3.3.0
    Based On: LineageOS

    Version Information
    Status:
    Stable

    Created 2021-02-09
    Last Updated 2021-09-08
    9
    but I hope this gets fixed.
    I won't promise this, because it's really much work to write down all rules and test everything,
    but we will see.

    Like on my other android 9 roms the people wanted as fast as possible android 11, so it also depends on what all people want to have.
    - The ROM is signed with userdebug keys. This severely reduces security as well, allowing anyone to replace (update) system apps.
    We only can sign it as user build, when we have all selinux rules written, so it depends on point one ;).
    - Encryption did not work for me. The logcat says something along the lines "no space for crypto footer". This is a known problem and I am unsure if the ROM developer can do something about it. Would be nice if it " just works"
    Yes this could be, but I know how to fix this, made this already for the Note 10.1 devices working.
    - I dislike the inclusion of several non-lineage apps in the system. The inclusion of Magisk Manager is not useful, as you still have to flash the install zip, which will install Magisk Manager already. I distrust this "Via" web browser and see it as redundant, as the Lineage browser is included as well
    Magisk Manger is included, because we need Magisk root to pass the safetynet check, it's more as a pointer to show the people how to root.
    (There were hundred questions how to root on my other roms, they dont read the initial post...)

    If we will have selinux enforcing once, I will remove it.

    Via is included because of many complaints of the surfing speed with the jelly browser, maybe I will remove it, I will think about it.

    OpenCamera is included because the gCam (lineage camera) is crashing sometimes, there are still problems with the camera hal, had to overwork it completely to even get the main camera working.
    While no deal braker, I would focus on this phenomenon as well.
    Hmm ok, we could play around with the cpu govenour, but this will influence the battery time as well, but at first I have to fix many other problems.
    Lineage 18.0 / Android 11 ETA wen?
    Haha I know that very soon many people will ask.
    You all will make the choice if i should concentrate on security things or bring android 11 up,
    I exactly know how it runs because I've brought it already to the Samsung Galaxy Note 10.1 devices ;) (same chipset...).
    The firmware makes real fun, but believe me, LOS16.0 runs much more smooth.
    Anyway, I will bring it up sooner or later, for me is more important to provide you a stable LOS16.0.
    6
    Thousand thanks to @cngbrick, he donated a n5100 to facilitate my development on the 3G version! :love:
    6
    Update 10.08.2021:
    • Fixed some more selinux denials
    • Security bulletin 05.08.2021
    5
    Update 22.04.2021:
    • Implemented logic to show the correct SN of the device
    • Security patch level 05.04.2021 update
    Via OTA and AFH.