yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 8.0 (Tablet) Android Development] wiwekdabozz:
I got this ROM and I'm quite happy with it

Though I would prefer more theme and icon customizations

I heard that the cm roms had a theme engine and I'm looking forward for lineage to also get it

This is the first time I installed a custom rom
[Galaxy Note 8.0 (Tablet) Android Development] transfer1992:
I also have this. I have experienced it since CM builds. Interestingly there is no pattern I could solve. On some builds this freeze on wake up is happening constantly and on some builds it is not. I even had a situation few times, that after some time the freeze disappeared on a build it was present before.
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Bluetooth enabled? Have a look on cm13 thread for more info.
[Galaxy Note 8.0 (Tablet) Android Development] satwik9aari:
Does anyone have a ROM for n5110 with a security patch before March 2017? Please help me if you do
[Galaxy Note 8.0 (Tablet) Android Development] ASHLEY117:
There should be cm themes built in but not in the latest nightly? Where has it gone?
[Galaxy Note 8.0 (Tablet) Android Development] transfer1992:
Thank you! The mystery solved :D
[Galaxy Note 8.0 (Tablet) Android Development] pdscoelho:
What did you find out?
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
CM themes were dropped for cm/Los 14.x.

I'm not sure if substratum will work on 14 (as it does not have OMS commits), possibly in fall-back mode only.

---------- Post added at 00:15 ---------- Previous post was at 00:14 ----------

This bug from cm13 days has probably come back again...

---------- Post added at 00:55 ---------- Previous post was at 00:15 ----------

[MENTION=382340]walter79[/MENTION] - from memory I think it may be this needing to be added to the kona-common version of init.target.rc

# Permissions for gpio_keys
chown radio system /sys/class/sec/sec_key/wakeup_keys
[Galaxy Note 8.0 (Tablet) Android Development] ASHLEY117:
No luck with substratum either but thanks for the reply
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Ah, oh well.

CM themes = CM13 based rom (CM13, RR 5.74).

Substratum = CM14.1 based rom + OMS commits (RR 5.85)
[Galaxy Note 8.0 (Tablet) Android Development] ASHLEY117:
On the latest 14.1 nightly but substratum doesn't play ball lol so unfortunately I'll stick to stock theme
[Galaxy Note 8.0 (Tablet) Android Development] messi2050:
Hello [MENTION=6171753]rgib[/MENTION]

Thanks for your awesome work on the note 8, do you have any plans to work on lineage 15 for it
[Galaxy Note 8.0 (Tablet) Android Development] fuzijacz:
Hi.

Thanks for the great work you are doing with this ROM for such an old device (N5100).

I have installed the ROM, couple of days ago, and it runs quite smooth, so here are some observations from my side:

- Microsoft Powerpoint not working on this ROM, starts opening, fetching files and it just closes.

- Microsoft Word not working on this ROM, starts opening, fetching files and it just closes.

- Microsoft Excel works just fine :D (odd)

- Teamviewer remote host. When you start connecting to tablet, the notification comes that device is sharing screen but then the app crashes.

- MTP crash keeps nagging, but nothing new

- Screen is sometimes unresponsive to touches (device is fine, because I used 4.4.2 before LineageOS).

- Root works fine with systemless supersu. Just need to reroot after ROM update, but no biggie.

- Xpossed framework and app work just fine

- The sound is a bit low, my device on 4.4.2 was quite loud and clear. Tried to play a bit with AudioFX app, but didn't help much.

- Battery drops from 40% to 1% in a matter of 1 minute, but it could be my device's battery fault, I have the device ever since it came out on a market.

- Gravitybox (N) works just great on the ROM.

- I have updated ROM to latest 250118 release today, didn't resolve any of the issues above, which is fine, just saying it.

That's all so far. Overall, very good ROM for such an old device it runs smooth.

Thank you once again.
[Galaxy Note 8.0 (Tablet) Android Development] sibali:
Thank you
[Galaxy Note 8.0 (Tablet) Android Development] vortechs2000:
Hey all - still having OTG issues on the GT-N5110. I grabbed the 20180125 nightly, and the otg connection is still bouncing up and down.

What I mean is this: the device comes up and is recognized for a second or two. I can even open up the USB flash drive and see the contents, or type a few characters on a usb keyboard. Then, after a second or two, the device disappears. For the usb drive it says "ejecting" in notification. Then after a second or two the process repeats.

I'm a software developer that has done a lot of linux work, but don't have a lot of Android experience. If there are logs or other information I can provide that would help diagnose this, let me know and I can provide them.

Thanks!
[Galaxy Note 8.0 (Tablet) Android Development] xdaCyborg:
Open-GApps folder cannot be deleted, any tipe?
[Galaxy Note 8.0 (Tablet) Android Development] mielletseed:
what exactly do you want to do?
[Galaxy Note 8.0 (Tablet) Android Development] xdaCyborg:
I just want to delete it in ES File Explorer, it's in the internal storage and can't be deleted for some reason.

BTW any new developement for the Note 8.0?
[Galaxy Note 8.0 (Tablet) Android Development] Raghav10330:
You can delete open-Gapps since you installed a custom Rom your device must be rooted that makes it easier, just Google how to uninstall "build-in apps" and you will find many ways
[Galaxy Note 8.0 (Tablet) Android Development] nvlicious:
I kinda experienced that too, wear out battery til automatically die, detach battery pin from socket for about few minutes, some people keep it unplugged for few hours, then full charge. My battery become normal again. Google it for tutorial, some people try that too and it's worked.
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
Test to fix MTP host error.

Can someone test this:

Delete /system/priv-app/MtpDocumentsProvider

reboot.

For me this fix the mtp host error.
[Galaxy Note 8.0 (Tablet) Android Development] 4u4a:
cant install gapps

Resolve this problem. fail was with wrong 3.0.2 twrp. Reinstall twrp and problem gone
[Galaxy Note 8.0 (Tablet) Android Development] Igorperrotta:
Hey there, does the pen works?
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
Can someone test latest unofficial build? Does MTP force close?
[Galaxy Note 8.0 (Tablet) Android Development] shikharxtreme:
Still new updates are having the problem, where spen button cannot register (or registers at times with glitches) presses inside note taking apps like squid, one note etc. after the November update. I used my note 5100, or regular note taking, but this is seriously affected because of inability to use eraser with spen button press. Many like me are also experiencing the same problem, I researched everywhere and every corner but could not find a solution. I raised my concern here in earlier posts, but seems being a new junior member, you are never taken seriously, though you make point to a serious glitch. I know it is after gesture implementations were added in November update. But No help received and no hint if it is being looked into, though new updates are released every weekend... Its been months...seems will have to give up notemaking, or raise this issue sometimes later when I have had the privilege of boasting of some 100+, posts....For now I can do nothing but give up... :(
[Galaxy Note 8.0 (Tablet) Android Development] wave8500:
s pen work?
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
MTP works now well.

This patch is included now.

Thanks to [MENTION=6043081]mickybart[/MENTION]
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
Can you make a video of your problem?
[Galaxy Note 8.0 (Tablet) Android Development] rollinrollinrollin:
It's simple: If I press the button of the S Pen it starts the music player with the original tune of Samsung "Over the horizon". Nice joke from rgib? ;- )
[Galaxy Note 8.0 (Tablet) Android Development] rollinrollinrollin:
see above
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
Do you have a working lineage build (nov 2017) ? If yes can you upload it?
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
It is not a joke.

https://github.com/LineageOS/androi...mmit/42c33648436f64e77c7c1b8453d4b207b4e38053

You can disable it. check gesture settings.
[Galaxy Note 8.0 (Tablet) Android Development] rollinrollinrollin:
[MENTION=382340]walter79[/MENTION]

Yes, 23.11 for N5110. Helpful?

Starting the music player with spen and Samsung hymn? In my eyes it must be a joke...

Thanks for the gesture hint, but not possible to set it to a useful ( in old build used value)

Addendum: Changed action to nothing for long press but still music player is starting, even after reboot
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
n5110 build is ok. Can you upload the cmparts.apk and the complete build? Can you replace the cmparts.apk in newer build? Use the one from 23.11.
[Galaxy Note 8.0 (Tablet) Android Development] rollinrollinrollin:
First here ist the link to the N5110 which should work with spen:

http://www.mediafire.com/file/usu092a3odid735/lineage-14.1-20171123-nightly-n5110-signed.zip

Please verify the build:

https://wiki.lineageos.org/verifying-builds.html
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
Yes it works flawlessy on n5120 with lineage-14.1-20180303-nightly-n5120 build

:laugh::laugh: Really funny!!!

[MENTION=6171753]rgib[/MENTION] Sim network doesn't work. When you will have time can you update boot.img to fix this issue?
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
If you have the fix i can add it to my builds.
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
Ok,I forgot there was a boot.img

I just flashed boot.img from post #199.

Now it works

Best regards
[Galaxy Note 8.0 (Tablet) Android Development] gabripranzo:
So now are you developing LineageOS for Note 8?

I haven't seen MTP fix in official changelog https://download.lineageos.org/n5100/changes/
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
Can you try with normal boot.img and switch selinux to permissive?

Edit:

Can you try this boot image ?

http://buildyourownandroid.selfhost.eu/smartphone/boot-n5120-selinux-permissive_20180305-1924.img
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
There is no official fix.

Check this patch. https://github.com/walter79/android...b/cm-14.1/patch/note-8-nougat-mtp-crash.patch

Maybe there is a way to get MTP working without this patch.
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
Thanks for the help but your img file doesn't work.

I switched to selinux permissive with original boot.img and it works.

[MENTION=6171753]rgib[/MENTION] I just switched to selinux permissive and it works with original boot.img
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
can you test this?

http://buildyourownandroid.selfhost...-governor-lineageos-14.1-unofficial-n5120.img

defconfig with selinux permissive
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
Yes It works!

Now I have selinux permissive and working sim network
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
Can you upload logs with selinux enforced and permissive ?

Edit:

I added a selinux rule for n5120. Maybe it help. Not tested yet.

2017.03.06 build should have this patch included.

https://review.lineageos.org/#/c/194250/
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
Here my logs
[Galaxy Note 8.0 (Tablet) Android Development] walter79:
New Build for n5120 is up.

http://buildyourownandroid.selfhost...ds/lineage-14.1-20180306-UNOFFICIAL-n5120.zip

Can someone test it please? LTE working?
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
Not working
[Galaxy Note 8.0 (Tablet) Android Development] Igorperrotta:
Hey there, how do i root?
[Galaxy Note 8.0 (Tablet) Android Development] rollinrollinrollin:
[MENTION=7402024]Igorperrotta[/MENTION]

Seems here no one ever heard of...something new?
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
[MENTION=6171753]rgib[/MENTION]

JUst installed latest build

lineage-14.1-20180310-nightly-n5120-signed.zip

If I want to record a video, camera crashes

model n5120

Here my log.

I hope this will help you :)

Edit: I forgot to use 3rd party app.With snap camera or open camera works.So sorry.
[Galaxy Note 8.0 (Tablet) Android Development] celticchrys:
I also have this problem, which is pretty hilarious. I use OneNote, primarily.

---------- Post added at 12:23 PM ---------- Previous post was at 12:20 PM ----------

On the latest build, when I look at the gesture settings, there isn't a setting there for the S-Pen button at all, so no, I can't disable it.
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Although you seem to have followed the blobs instructions correctly, nobody really does it that way. Add the following repo to your roomservice:

https://github.com/TheMuppets/proprietary_vendor_samsung

I'm not sure about not finding the make file, see what happens after you change the blobs. I have compiled cm14 before, but a long time back so I'm working from memory...
[Galaxy Note 8.0 (Tablet) Android Development] tallcoolone:
Everything works great except the MHL/HDMI output. Any help appreciated.

I am hoping I am posting this correctly. :eek: If not, please tell me where to do so correctly.

I have 2 identical gt-n5110 (Note 8 tablet WiFi only) tablets on 4.4.2 stock ROMS unaltered in any way other than normal use and both were still locked and MHL/HDMI output works fine on both on stock ROM.

I unlocked them both

Flashed TWRP, and backed up both stock ROMs

Installed CM13 and LineageOS 14.1 going through all the nightlies/weeklies that I can find over the last month or so and testing the MHL/HDMI output. It fails, does nothing/does not send anything apparently to HDMI screen. I tried this with the Root Access set to all the differing modes from Disabled to Apps and ADB with no change.

Cleared all caches and etc., and formatted data.

Restored stock ROM (tried each of the two backups interchanging folder names as need to allow recognition.

MHL/HDMI again works with stock ROM

Cleared all caches and etc., and formatted data

Installed Lineage OS nightly/weekly (apparently the title of the download is nightly yet the page is for weeklies) for Thu Feb 22 20:39:42 CET 2018 again

MHL/HDMI fails to work again

NOTE: There are occasional errors that the MTP Host has stopped which I hope will point you to the issue(s).

I am happy to test to help but need to have an updated version with a fix/patch (if possible) to test.
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
MHL has never worked and from memory, looking at what was required a long time ago, it's not just a bug but lack of implementation.

If you need working MHL you need to be using stock-based ROMs.
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
Thank you so so much for the tip! I finally got it to work! I am sharing my mistakes here for the benefits of others.

If one follows the LineageOS instruction, this roomservice.xml file does not exist yet when running the repo sync command. The LineageOS instruction would produce this file after running ./extract-files.sh ~/android/system_dump/. Their assumption is all proprietary files can be pulled off an installable zip. I wouldn't have posted if it did! To fix the problem I had to manually create the roomservice.xml file before running repo sync to pull all necessary files. As a result, it is not necessary to run ./extract-files.sh ~/android/system_dump/.

<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github"/> is definitely needed in addition to the default statements. The default ones won't find files like kona-vendor.mk, for example.

I also made two other mistakes. Rather than inserting

<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github"/>,

I had the following instead.

<project name="TheMuppets/proprietary_vendor_samsung_n5120_proprietary_system/" path="vendor/samsung/n5120/proprietary/system/" remote="github"/>

<project name="TheMuppets/proprietary_vendor_samsung_kona-common_proprietary_system/" path="vendor/samsung/kona-common/proprietary/system/" remote="github"/>

I thought I had to be more specific so that I wouldn't pull everything from the Samsung empire. Bad idea!

---------- Post added at 08:07 AM ---------- Previous post was at 07:47 AM ----------

@Buff99,

My final goal is to modify the N5120 ROM to run on an SGH-I467M. Both are variants of Note 8.0. The difference is N5120 has international LTE bands while SGH-I467M is North American. N5120 also has an ear piece, a proximity sensor and 2 MICs while I467M has no ear piece, no proximity sensor and with only one MIC.

The result of running N5120 ROM on I467M is, as expected, SIM not detected, ambient light sensing and MIC not working.

Can you please point me in the right direction where I should look to fix these problems? I assume it's somewhere in the kernel. Thank you again!
[Galaxy Note 8.0 (Tablet) Android Development] xdaCyborg:
Is there any plans for Lineage OS 15 development for the Note 8.0?
[Galaxy Note 8.0 (Tablet) Android Development] rtjonatas:
The S Pen button still does not work even after you turn off gestures

Although I have disabled all the gestures with the spen, the button no longer works in the notes application I use: Squid.

:(

ROM Installed: 17/03/18
[Galaxy Note 8.0 (Tablet) Android Development] lohtse:
Can we use Xposed mod??? if so which files etc(links if pos) do we require to get it working?

thank you
[Galaxy Note 8.0 (Tablet) Android Development] drbxda:
MTP host has stopped

"MTP Host has stopped" error when using Files application.

Go on device and put in developer mode, find and give root access.

On your workstation with adb software installed.

adb shell

su

mount -o rw,remount /system

rm -rf /system/priv-app/MtpDocumentsProvider

reboot

I haven't seen the MTP error since I have done this fix.
[Galaxy Note 8.0 (Tablet) Android Development] pdscoelho:
Anyone else keep getting a clock stopped working error?
[Galaxy Note 8.0 (Tablet) Android Development] lohtse:
never mind found the info
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
For those of you who have installed LineageOS 14.1 on N5120, does Bluetooth work? I don't have N5120 actually. I am porting it to SGH-I467M, the Canadian version.

If it works with N5120, then it's a porting issue. If it doesn't work with N5120 to begin with, then Bluetooth is simply broken with 14.1 for Note 8.0.

The problem I have on SGH-I467M is that it often doesn't pair. Even if I get it to pair after repeated trials, BT will turn off within seconds after the connection is established.

If it's a porting issue, I welcome all suggestions on where to look. N5120 and SGH-I467M are variations of the same tablets, but BT is not one of these variations as far as I can tell. Thank you
[Galaxy Note 8.0 (Tablet) Android Development] pillarama:
Hi luckysoul777, yes I have an N5120 and have run LineageOS on it for >6months. The Bluetooth has always done this for me - turn it on and it will turn off then on again after ~10s and usually fail to pair but if persistent sometimes I can succeed in pairing. but pairing is pointless as the problem still persists after pairing. I've spent many many hours researching the problem I believe it's a bluetooth+wifi co-existance issue (both bt & wifi are provided by the same Broadcom BCM4334 chip). What this means, if I understand correctly is that essentially the commands to control the bluetooth are being sent at times when that one chip is not ready (probably processing wifi related tasks) therefore the command times out and eventually Android resets the bluetooth due to the timeouts. For me this seems to be confirmed as I can get the bluetooth stable by turning wifi off.

In attempt to fix a could of problems I was seeing (including no LTE data) I set up a build environment and started building my own images - I managed to fix the LTE but for bluetooth my builds do the same thing and I've run out of talent trying to fix it.

Unfortunately I submitted my LTE patch to Lineage but couldn't push it into the builds as I'm not an approved developer. After quite along time waiting I managed to get a response from the maintainer and he just said something to the effect that lots of changes would be needed when a new modem update was integrated an he didn't approve or reject the change - it's still sitting there like that now. Unfortunately I think he's lost momentum on the project as I've seen very virtually no GT-N5120 specific patches while I've been running lineage.... it's a shame as I won't make much use of my N5120 without working bluetooth but I also won't run the Samsung ROM which is now affected by Krack, Bluebourne and other grave vulnerabilities.. I'd love to help but I don't know what else to try now. Perhaps if we worked together we could solve it? I still have my build server - I'm building an updated build at the moment just incase a fix was pushed in the last 2 months that I missed...
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
Thank you for your comment. Bluetooth not working is a major bug. LineageOS can ignore me because I'm running I467M. However, to ignore all the N5120 owners as well really surprises me.

Unfortunately, I am not a developer at all. So far I managed to fix one "bug" after someone suggested to me to look into the audio_hw.c file. N5120 has 2 MIC, but I467M has only one. I modified the C code to re-assign all the built-in MIC to the back MIC. This fix wouldn't be useful for you though since you do have 2 MICs. The other obstacle I have overcome is SIM detect. Changing the Selinux from enforced to permissive by installing an app takes care of it. The camera app comes with LineageOS doesn't work for video recording. The solution is using Google Camera app instead.

I still have several other bugs to fix, e.g. Bluetooth, wired headset MIC and light sensor (I467M does not have a proximity sensor and thus breaks the logic from N5120). I have tried to import files, such as those from the drivers directory in the kernel, from the I467M to the N5120 build environment, but it won't compile in this case.

Right now I have no idea what to do next. If I come across something, I'll definitely share.
[Galaxy Note 8.0 (Tablet) Android Development] lohtse:
Just update via ota and now keep getting messages from lineagos which then direct me to there site... Have tried stopping the messages etc but still they persist..

why and how do we actually stop them?
[Galaxy Note 8.0 (Tablet) Android Development] lohtse:
Anyone else having reboot issues???

I never get a random reboot whilst in use.. Yet after about 5 minutes of NO use at all(tablet a sleep) I start getting reboots every 5-10minutes!!!

Anyone else having this issue? And if so did you find a solution?
[Galaxy Note 8.0 (Tablet) Android Development] lohtse:
so know one else has the issue or any ideas?
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
No one has any ideas as you haven't posted logs. Post a last_kmsg captured immediately on the next boot after the problem occurs.

But I'm gonna guess it's kernel and suggest you try Zane's Boeffla kernel.
[Galaxy Note 8.0 (Tablet) Android Development] lohtse:
same regardless of which kernel. will post log asap
[Galaxy Note 8.0 (Tablet) Android Development] lohtse:
and heres the very latest one(log)
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
the function crashing is in this file

https://github.com/LineageOS/androi...14.1/arch/arm/mach-exynos/subsystem_restart.c

so it's modem

and it's undoubtedly this change where the modem is changed for the one from note10.1

https://github.com/LineageOS/androi...33fad55#diff-003e208c8a0c10b68a0b463f8082eab5

What to do about it though? Look at 10.1 source to see if further fixes were applied at that side; failing that revert commit and re-compile kernel probably...
[Galaxy Note 8.0 (Tablet) Android Development] lohtse:
oh ok so basically I buggered!!!!!!!!!

Have no idea how to do as you suggested and I use 4g on the tablet......

What are my actual options here!?