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

Search This thread
html6405, [N5100] The firmware started, the bug with the screen rotation disappeared.
Bugs: Remained, imei, the microphone is quiet,Windows 10 sees it as n5110 when connected to pc.

bug, the problem is in the brightness slider, you have to twist it by 50℅ Maybe this is not a bug, I just compare it with android 7 .

The battery does not hold, there is no hold as in RR 5.8.5.
Screenshot_20210221-232829_Settings.png
Screenshot_20210221-232819_Settings.png
Screenshot_20210221-232758_Settings.png
 
Last edited:

html6405

Recognized Developer
Jan 15, 2016
781
687
Bugs: Remained, imei, the microphone is quiet,Windows 10 sees it as n5110 when connected to pc.
Thanks,
microphone should work now, RIL is hard to test for me because I don't own this device.
I've made a change where I think that a problem could have been.
I have no idea why the camera is pink in your case, if I test this rom on a n5110 it's working fine.

Please just update via OTA and test the mic and ril again.
If the baseband is still unknown, please provide me a modem log (just use the syslog app)
that I can try to debug it.
 

WolfAyron

Senior Member
Nov 13, 2012
60
19
Budapest
Yes I think this is the problem,
I'm sure that we can hack this, if there's time for it.
Okay, thank you. I hope so. :)
thx @WolfAyron for your donation :).
Your welcome! ;)
the problem is in the brightness slider, you have to twist it by 50℅ Maybe this is not a bug, I just compare it with android 7 .
If I understand correctly what you said, then I also noticed this. If I use the brightness slider in the pull down notification panel, the 50% does not equal to the 50% that I set on the notification bar. Setting the brightness by sliding my finger on the notification bar to the half of the screen, it sets the Brightness in Settings or in notification panel to apprx. 86%.

The battery does not hold, there is no hold as in RR 5.8.5.
I also noticed, that the battery runs out pretty fast. I charged the device to 100%, unplugged, went to sleep and in the morning the battery was at 87%!
Perhaps something does keep the CPU running in background?
I installed BetterBatteryStats, so hopefully I'll be able to provide some useful information.

And one more thing I also experience the 2-3 sec screen wake delay. It was also present in Lineage Android 7.1.2.
 
Last edited:
  • Like
Reactions: XdaFoxygen

html6405

Recognized Developer
Jan 15, 2016
781
687
bug, the problem is in the brightness slider, you have to twist it by 50℅ Maybe this is not a bug, I just compare it with android 7 .

The battery does not hold, there is no hold as in RR 5.8.5.
I can improve the auto brightness, just have to define a new array for this,
many things run different than in android 7.
The battery could suffer under a the randomly restarting ril deamon.
 
  • Like
Reactions: XdaFoxygen
html6405, [N5100] Hello, I think we still need to work on optimizing the battery, for example, look at the n5100 core on RR 5.8.5, the microphone is quiet and differs from the drain.
Unfortunately, there is no time to send a log.
Bugs: Does not see imei, GPS, Bug with Open Gaps arm / nano writes "error sending voice analysis" I think it will be necessary to change the battery, in rr5.8.5 it holds a charge. :unsure:
 
Feb 21, 2021
4
4
html6405, [N5100] Hello, I think we still need to work on optimizing the battery, for example, look at the n5100 core on RR 5.8.5, the microphone is quiet and differs from the drain.
Unfortunately, there is no time to send a log.
Bugs: Does not see imei, GPS, Bug with Open Gaps arm / nano writes "error sending voice analysis" I think it will be necessary to change the battery, in rr5.8.5 it holds a charge. :unsure:
There is slight problem even with latest update today when you end apps they not actually ending but still in advance task killer. You will see every thing is still running even if you end them.
 
  • Like
Reactions: XdaFoxygen

html6405

Recognized Developer
Jan 15, 2016
781
687
for example, look at the n5100 core on RR 5.8.5
What do you you mean should I look? RR5.8.5 bases on LOS14.1 and is different.
the microphone is quiet and differs from the drain.
Isnt it working with the last update?
Does not see imei
WIth the recent version? Actually it will get hard to get this running without any logs or a n5100,
and the frequently starting ril deamon will consumer much more battery,
so we could disable it for the moment or one of you has to provide me with logs.
The best solutions would be some donations, then I will buy a n5100 for my own and could better work on it..
 
Last edited:
  • Like
Reactions: XdaFoxygen

html6405

Recognized Developer
Jan 15, 2016
781
687
Update 24.02.2021:
  • Fixed front camera and videorecording for it, had to make changes in Kernel and camera hal.
  • You have to set the front camera resolution to SD 480P!
  • Fixed GPS for N5110 and N5100, maybe RIL is also now fixed, I can't test it.
  • Fixed some Selinux issues.
  • Removed open camera because someone complained about it, included gCam.
  • Improved battery performance through some optimizations (for example wifi)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Update 07.04.2021:
    • brought back BOARD_CANT_REALLOCATE_OMX_BUFFERS, this avoids for example Youtube Kids crash.
    • security bulletin 05.03.2021
    Via OTA and AFH.
    3
    Update 24.03.2021:
    • N5100 & n5110 Selinux enforcing! Please test your devices very well, it could be that there are some rules missing. It was a real big thing to reach this level, without any neverallows.
    Via AFH & OTA, you can find the links at the start post.
    3
    Update 14.04.2021:
    • Fixed video decoding problem with recent Netflix versions.
    Only via OTA.
    2
    Thanks to dev for an amazing ROM. yesterday installed this LOS 16 for my GT-N5100 and it works very well. However, I noticed that now my Tab is not recognising the Sim Card and it always shows "No SIM Card". Can anyone please help me with this?
    Try to flash my modem, maybe your's is too old.


    copy the modem bin into your internal memory and with:

    adb shell
    su
    dd if=/sdcard/modem.bin of=/dev/block/mmcblk0p7

    you can flash it directly.

    Afterwards just do a simple reboot and your baseband should be there again.
    2
    Is there a way to remap the s pen button? Now it's set up as back and this makes it unusable with note taking apps cause instead of activating the action I set it up for on the app it just goes back or closes it :LOL:
    Sorry, not yet, because I've programmed this event directly into the kernel and included the short press gesture option much later.

    Because I like the back event for testing purposes, I didn't removed it, but maybe I will soon.
  • 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 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 deconding 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][BETA] 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:
    Beta

    Created 2021-02-09
    Last Updated 2021-04-07
    8
    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.
    5
    Thousand thanks to @cngbrick, he donated a n5100 to facilitate my development on the 3G version! :love:
    4
    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.
    4
    Now I've bought a n5110 by myself (about 55€...), hopefully there will be some donations so that I can also buy a n5100 to support 3G in future.
    These devices are very rare to buy and some people still want 100€ for a n5100,
    but we will see if I can find something cheap.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone