yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 8.0 (Tablet) Android Development] WolfAyron:
Hi html6405,

I just installed your ROM last night.

Honestly, for some minutes I could not say a word. I was just staring at my old Note 8.0 seeing running an Android 9 system. It's unbelievable! It has died with Android 4 many years ago, and now a 5 gen newer system is running on it. It's a miracle!

Before that it was running the 7.1.2 Lineage OS for some months, but it was way too slow, laggy, and ate the battery really quick.

I followed your instructions exactly (including the wipes and factory reset in TWRP), installed the ROM and is running smooth.

Installed and flashed magisk so it is rooted also.

Installed microG via the YouTube Vanced Manager. For some reason, after I logged in to my gmail account in YouTube Vanced via MicroG the main page (or any page) won't load in the app. So actually I cannot use it to watch videos yet. I don't know what can be the problem.

Bluetooth is working in my case. At least what I could test is to stream some music to a BT speaker and it is working.

Main camera is also working.

What I noticed and consider it as a bug is that for some reason when I tap/select an option in the settings, or in a reader app I tap on a specific part of the text, the white background remains white, but the rest of the white panels became a bit greyed/tinted. I can still tap on those parts and then they become white and the other parts on the screen become lightly greyed. I will try to record the issue and show it to you.

So far, after 1 day this is the only thing I bumped into.

Thank you very much for all the effort you put in this piece of Pie of miracle!

I will get you a drink or beer! ;)
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Have you been working with the pen? Because there is a "highlight" thing,

this is in the android framework and was solved on android 11.

If you mean this, maybe I can hack it oneday.

Have you tried to set it up as a root user? Because this did not work in my case,

now I'm using it without any problems, maybe it needs a retry.

Thanks :).
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
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.
[Galaxy Note 8.0 (Tablet) Android Development] Mynacol:
After fighting for a couple of days, my n5110 is now running Lineage OS 16 as well. Thanks a lot, @html6405

I came from Lineage OS 14.1 and had TWRP 3.3.1-0. When I installed this ROM, it rolled the Lineage OS boot animation but would never finish. I then found the TWRP 3.5.0_9 in the OP and tried again with the same result. No matter what TWRP and install steps I chose, the device never booted up fully.

Today, I downloaded the latest stock ROM for my country (Android 4.4), flashed it with Odin. Then I flashed the TWRP 3.5.0_9 in the OP with Odin and finally flashed the ROM inside of TWRP. No two minutes later my tablet booted into Android 9.

Thanks a lot, @html6405, for supporting this old device.
[Galaxy Note 8.0 (Tablet) Android Development] WolfAyron:
Yeah, maybe that will be the cause of the problem, though I haven't heard of this yet.

I attached some screenshots of the problem.

First I opened the app drawer with my finger, then with the pen.

Thank you. Now I did it with the root method, and both Vanced and Music are working.

One more thing to mention. When I charge the tablet while it is turned off, first it shows the battery charging animation. But after the screen turns off, I cannot make it to see again at what percentage is the charging. I tried pressing Home button and Power button but neither of them turns on the screen again. If I press the Power button twice waiting some seconds in between them, the device just turns on and boot up the system.

By the way I forgot to mention that I have the N5110 model.
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Ah yes ok, this is known, never had time to fix this, but i can verify that the tablet will charge completely normaly.
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Yes I think this is the problem,

it's on some old nougat roms also present, others doesnt have this.

It's the same behaviour like if you would press a key on your keyboard (the handle of an input event).

LOS 16.0 is handling this also this way when it gets an input event of a pointer.

LOS 18.1 doesnt have this... But I'm sure that we can hack this, if there's time for it.
[Galaxy Note 8.0 (Tablet) Android Development] SavitarA:
Thank you so much.I can't believe that a 7 year old tablet received an android pie update.Just one question ⁉️ I can't find the download links for n5100 ROM😁
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Because I didn't build this yet, I have to buy a n5100 before (hope for some donations,

got about 5 dollar and paid 55 for a n5110 :D).
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Update 19.02.2020:

Fixed all sensors for n5120, partly n5110, this was the hardest part till now, I had to overwork every sensor HAL completely.

Overclocked up to 1600 MHz for a better performance.

Updated Magisk manager

Some other small fixes

Only via OTA and thx @WolfAyron for your donation :).
[Galaxy Note 8.0 (Tablet) Android Development] nCoV:
Finally tested this ROM for N5110 and have something to say.

First of all I want to thank you for all this work, because it's really wonderful.

I've used TWRP 3.3.1 to install it after flashing official 4.4.2, no errors or stucking on bootanimation, everything installed normally.

Spoiler content hidden.

After installing OTA I've noticed that screen can be rotated, which makes device totally usable. Overclocking helped not completely, but experience became much better, UI is not laggy at all comparing to Android 7.1.2. Internet browsing is really comfortable, but in terms of gaming (tested only Brawl Stars so far) it's obviously a bit worse than stock 4.4.2. Some stutters appear, but less often than on LineageOS 14.1 or RRR 5.8.5, and it's totally fine.

One serious bug is 1-3 seconds to unlock screen initially, which is really strange, because if you lock it and unlock at once it would be very fast. I suppose that CPU clocks are too low when screen is locked, that's why you have to wait so much.

There were some others, but after installing OTA update they were all gone, for example in Telegram I couldn't choose images to send, gallery was loading forever, and photos from in-app camera also couldn't be sent. Now everything is perfect.

Thanks a lot for keeping old and great devices alive and fresh!
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Do you mean when the device was already in deep sleep? Than it could be,

but 3 seconds are really long... Never had such a long waiting time,

but my devices get pretty stressed.

There will be another n5110 update today with full sensor functionality :love: .
[Galaxy Note 8.0 (Tablet) Android Development] Mynacol:
Some of my observations as well:

(generally before the OTA update)

- SELinux is not enforcing, reducing system security. For development/alpha this is fine, but I hope this gets fixed.

- The ROM is signed with userdebug keys. This severely reduces security as well, allowing anyone to replace (update) system apps.

- 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"

- 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. For the camera I understand the inclusion of Open Camera. To be as close to vanilla Lineage as possible, this app should be removed/replaced as well.

- Like others have written I noticed this 3-second delay after standby. While no deal braker, I would focus on this phenomenon as well.

Lineage 18.0 / Android 11 ETA wen?

JK I am very grateful for the work so far, but still wondering how Android 11 would be.
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
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.

We only can sign it as user build, when we have all selinux rules written, so it depends on point one ;).

Yes this could be, but I know how to fix this, made this already for the Note 10.1 devices working.

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.

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.

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.
[Galaxy Note 8.0 (Tablet) Android Development] pvsgh:
great to see support for this very old device. Congrats!!
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Update 20.02.2020:

Fixed all sensors for N5110 & N5120 (But GPS is still not working)

Enabled fast charging up to 1,6A for all of them

Security patch update 05.02.2021

Initial build for n5100, again I've built this blind with my biggest efforts
[Galaxy Note 8.0 (Tablet) Android Development] SOLLERHOLLER/SOULBLADE:
Hey man Just been testing this on my n5110 just wandering if it is possible to add opengles 3.0 or 3.1 support so we can play the later games?
[Galaxy Note 8.0 (Tablet) Android Development] XdaFoxygen:
html6405 Hello, the kernel does not start on the n5100, I tried it with the kernel from n5110.

(the following errors are not imei, screen rotation does not work)

(If you install the n5100 kernel, then it throws it into the Bootloader)
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Thx for your report, I will fix this today and will upload a new ROM.
[Galaxy Note 8.0 (Tablet) Android Development] erkh n5100:
I was having some fun with `/dev/input/event*`s recently and I noticed some weird EV_ABS max values for the s_pen.

Here is a link to what I could extract using `getevent` on adb:

Code. Here you can see that especially EV_ABS_X and EV_ABS_Y have really weird max values.
[Galaxy Note 8.0 (Tablet) Android Development] dovshan:
Thank you for new update! :love:

I found that when screen is off, and I want to turn it on, backlight turn on and off with black screen quickly and then screen turns on normaly!

In a dark location you can see this.
[Galaxy Note 8.0 (Tablet) Android Development] digixmax:
What is the lowest version of TWRP required for this ROM?

TIA.
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
I'm asking myself for what do you need a lower TWRP?

But with 3.3 you should be fine.
[Galaxy Note 8.0 (Tablet) Android Development] digixmax:
Thanks for the reply.

I was not able to upgrade from 3.0.2-0-n5110 to 3.3.1-n5110, so I went for 3.5.0_9-0-n5110 instead and was able to flash your LN16 ROM from there.

But now my Win10 Explorer no longer sees the tablet when it's connected to the PC via USB. (I do have the USB option set to "Data Transfer").

FWIW -- the first two attached screen-cap images show the Win10 Device Manager's properties page for the tablet -- compared to the next two images for my second GT-N5110 tablet still running LN14.1 and having no issue with USB connectivity & data-transfer. Note the difference in PIDs: 0x685C for first 5100 tablet with LN16 vs. 0x6860 for the second 5110 tablet with LN14.
[Galaxy Note 8.0 (Tablet) Android Development] digixmax:
@html6405 --

As an experiment, I restored my first 5110 tablet running LN16 back to LN14 and my issue with USB connectivity & data-transfer to my Win10 PC went away. Attached are screen-cap images showing the Win10 Device Manager's properties page for the tablet. Note that with LN14 the PID is reverted back to 0x6860.

Looking up the two sets of VID/PID used by LN14 and LN16 yields:

USB ID Database

Database of USB devices and their Vendor and Product ID's

the-sz.com

USB ID Database

Database of USB devices and their Vendor and Product ID's

the-sz.com

As such I am inclined to suspect that the USB connectivity & data transfer issue is likely due to the wrong PID (0x685C) is being used for the GT-N5110.
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Hmm strange thing, you're right, I never tried MTP without usb-debugging enabled, thanks for your report.

If you're enabling it, it should work again, I will create a fix in the next update for this.
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Yes, the driver now works with fb_notifier callbacks instead of early suspend.

This fixes the suspend in power off charging mode and somehow produces this sideffect,

maybe I will find a solution for this and if not, I don't care much about yet.
[Galaxy Note 8.0 (Tablet) Android Development] digixmax:
My Reddit app (version 2000.8.2) which works on LN14 but now is not able to log in -- the error message is "wrong password" (even though the password is valid).

It can reach Reddit web just fine, but without being able to log in it can't access my subscription profile.
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Update 07.10.2021:

Fixed MTP connection for Windows.
[Galaxy Note 8.0 (Tablet) Android Development] digixmax:
Thanks, the MTP connection now works without having to enable ADB.
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Thanks for your report, I didn't recognized this issue because I'm using Linux.
[Galaxy Note 8.0 (Tablet) Android Development] retiredtab:
Another possible bug? I'm running Lubuntu 20.04. If I plug in microusb, select usb preferences and change from no data transfer to file transfer, the file transfer text and all options below get greyed out and nothing every happens on my PC. My dmesg shows it's plugged in, but I can't see the tablet via MTP.

This is the same working microusb cable, port and OS that works with fine doing adb logcat messages in the previous post.

[16340.527245] usb 2-1.6: new high-speed USB device number 21 using ehci-pci
[16340.637634] usb 2-1.6: New USB device found, idVendor=18d1, idProduct=4ee7, bcdDevice= 2.26
[16340.637636] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[16340.637638] usb 2-1.6: Product: SGH-I467M
[16340.637639] usb 2-1.6: Manufacturer: samsung
[16340.637640] usb 2-1.6: SerialNumber: xxxxxxxxxxxx <--- I xx'd out my serial number
[16345.936846] usb 2-1.6: USB disconnect, device number 21
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Could you share a complete log and tell me your device model?

Is your baseband working correctly by the way?

I've never recognized this problem with the phone app on my n5120, but I will check this.

Hmm I will test this on my n5120 tomorrow, are you using the most recent version and did it work before?
[Galaxy Note 8.0 (Tablet) Android Development] retiredtab:
Device model is SGH-I467M. I'll send you a full log via PM a bit later on.

This I don't know. I bought this N5120 used and I don't have a sim card to test it. If it works on your device, then there's a possibility that my used one has a failure that wasn't disclosed to me when I bought it.

The MTP problem is with lineage-16.0-20211007-HTML6405-n5120.zip. I can try older versions sometime in the next day or two to see if the older versions work or not. There's NO RUSH. I understand you build many roms and that your time is limited. Thank you.
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
That would be great,

Ok but is your baseband and IMEI known in the settings?

The last update was a MTP fix, so maybe this broke something for the n5120, I will check it also with my own device today.
[Galaxy Note 8.0 (Tablet) Android Development] digixmax:
Are you using the same USB PID value for all N51xx models?

If your previous build (before introduction of the PID fix for the N5110) worked for the N5120, then I'd suspect that N5110 and N5120 use different PID values and 0x685C is the value for the N5120.
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
I'm using them for all exynos4 devices and it's working great.

I've tested the n5120 on Windows and Linux, there are no problems.

USB ID Database

Database of USB devices and their Vendor and Product ID's

the-sz.com

It doesn't make's a big difference, as long the driver fits.

Maybe this is device specific, but what I know it should also work there.

I've checked my n5120 and there doesn't appear this ANR.
[Galaxy Note 8.0 (Tablet) Android Development] retiredtab:
@html6405, I haven't forgotten about this, but when I try to recreate the ANR problem with another fresh clean install, it doesn't occur this time. I will attempt to find a 100% reproducible ANR cause. I know how hard it is to fix something when it's intermittent or not easily reproducible or without logs.

I also realize since I bought this N5120 used, there may be hardware problems with it that are causing ANR and MTP problems since you cannot reproduce it. Maybe it has water damage or internal motherboard problems?

Thanks for checking on your own N5120. I appreciate it.
[Galaxy Note 8.0 (Tablet) Android Development] dovshan:
Hi,

In System settings > Gestures >Touchscreen gestures in the list of Gesture action there is a "Toggle the flashlight"

as you know GT-N51XX Tablets don't have flash light.

It can remove from list or replace with Screenshot that is very useful.

Thanks.
[Galaxy Note 8.0 (Tablet) Android Development] psychlist:
Can I install this ROM from Jellybean firmware, or do I need to upgrade to Kitkat before installing the ROM? Apologies if (a) the info is already in the thread (I have looked and couldn't see it, but after a few pages I was going cross-eyed) and (b) if this post appears in the wrong place - I'm not sure I remember how to post (not been around for a while).
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
N5120 with android 4.4.2 original

Wipe Cache and Data

Flash TWRP and your rom

Lost my IMEI

TY

:mad:
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
But other devices I'm building for are having a flashlight. But a screenshot gesture would be very useful, maybe I'm doing this sometime.

I would recommend to update at least the bootloader and modem to the most recent version.

Hmm ok, theoretically should the ROM be compatible with every 4.4.2 modem, is the baseband unknown in the settings?

If you're flashing back to stock, is the IMEI back again?
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
@html6405 I have baseband. Imei is unknown. I flashed back to stock but imei is 0. I can use sim card, I have 4g but I cannot use the tablet to make phone calls.
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Hmm ok, this means that the modem boots up fine, maybe one of the 3 m9kefs* partitions is damaged,

do you have any backup?

BTW, the ROM doesn't touch these partitions in any way, they just get read when the modem boots up.

Sometimes people overwrite them with dd or format the wrong partitions, there were also eMMC problems which leaded to IMEI loss in the past.

You could recreate your IMEI with z3x software for example, but this isn't legal in every country...
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
@html6405 I have efs,m9kefs backups. I did them with wanam backup app. I tried to restore them but nothing to do. I have a backup of efs folder but it failed.

I tried with z3x but nothing to do. It seems that your rom has completely irreparably damaged my tablet. I knew what I was getting into.never mind
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
I don't think that this happened, I could repair your device if you would send it to me, doing these things as a professional.
[Galaxy Note 8.0 (Tablet) Android Development] Amiro_:
@html6405

In N5100

Clean wipe

Flash latest version of rom and Gapps

after boot up and start error android setup has stopped

i try latest version rom and old version Gapps and it solved..

But now i couldn't access to internal storage(can't add new folder or download with browser ) but can install app from playstore..

Anyway to fix it ?

Sorry for my bad English.

I try to install chrome and Samsung internet browser but i couldn't.
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
I would boot into TWRP and format data (ext4),

seems that there is no space or no access on data/media.
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
@html6405

Where should I ship it? Can you give me directions on how to fix imei? I have a backup made with "wanam partition backup", imei backup with twrp and a copy of the efs folder. All this before flashing your rom.
[Galaxy Note 8.0 (Tablet) Android Development] dovshan:
Hi..

I use Hotspot and only one laptop is connected to tablet(n5100)

I Don't know why it's showing 35 Devices connected!

Is this a Bug?!
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Hmm ok :D,

I have to check this, but in my previous tests it showed one device to me (one mobile phone was connected for testing).
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
Austria,

If you have valid img backup files, it's absolutely no problem, 4 commands and all efs / IMEI related is restored to the original state.
[Galaxy Note 8.0 (Tablet) Android Development] ASAG2017:
I have a little Problem with Updating the linage OS. If I want to install the downloaded zip file manually in twrp, I will get error 7 (I modifed the installation Script in the original installation, because i had eror 7 too). Can someone help me?
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
This could mean that you aren't running my TWRP from the start post, are you sure that you've installed the most recent TWRP and chose both files (TWRP + ROM) for the correct device?
[Galaxy Note 8.0 (Tablet) Android Development] ASAG2017:
So, I installed your TWRP now, and everything is working fine (18.1 too). Thank you for your great work!😊
[Galaxy Note 8.0 (Tablet) Android Development] Lekkris:
Hello

I haven't been to xda for a long time.

Samsung n5100 install lineage16 quite good

Watch YouTube connect bluetooth speaker ok

but app zoom cloud meetings connect bluetooth speaker no sound

Will there be a solution?
[Galaxy Note 8.0 (Tablet) Android Development] souzafl:
friends, I am not able to use the otg cable and charge the tablet at the same time (type Y cable). is there any setting or kernel to enable this function?
[Galaxy Note 8.0 (Tablet) Android Development] html6405:
I'm sorry for this, there won't be a solution from my side.

OTG is integrated in the Kernel and was working fine on my device.

Your charging port or cable could be faulty.
[Galaxy Note 8.0 (Tablet) Android Development] souzafl:
thank you for answering....I just tested it with 2 Y-cables, and mounted another one, but when I put it on the tablet, only the pendrive is recognized, but it doesn't load when connected to the power supply. is there any configuration I should do?