yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Current version changelog

View attachment 4323277

Latest changelist

n5110

Release-4-RR-N-v5.8.5-20180325-n5110-Final.zip

md5sum - c607f136bad8500a1a8fe498f67b1fcf

n5100

Release-4-RR-N-v5.8.5-20180325-n5100-Final.zip

md5sum - 9da48c4f6d38a77cd7a6551024e23b3d

n5120

Release-4-RR-N-v5.8.5-20180325-n5120-Final.zip

md5sum - ca1fe273e484ded0169c25f73d431526​

Release 4

n5100 and n5120 hardware lights fixed ??

Webview updated

ovelay: use systemclock for rotation

ovelay: disable wideband speech

Bump security patch level to 2018-03-05

Buffcore kernel 0.15:

added charging interface, so user can tune power for charging, USB charge raised to 1000mA.

mach-exynos: Support for current CPU temperature reading from Exynos4 TMU driver

power defaults - tune

RR and LOS data grabbed at 11:00 GMT, Sunday 25th March 2018

Android 7.1.2_r36 - March Security updates.

Resurrection Remix Final 5.8.5.

Release 3

PegasusQ set as default governor and tuned for more effective hotplugging.

Sync usb settings to same as Lineage.

Implement Snap camera and fixes camera issues.

Remove BLN attempt - fix HW LEDs.

MTP host crash fixed <thanks @mikeybart and @walter79>.

Add AptX codec support.

Touchscreen gestures disabled. Hate them.

Buffcore kernel 0.13:

Enable PRPF filter in case anyone tethers.

Updated mali driver <zanezam>.

GPU control interface <zanezam>. Not yet utilised.

Disable pegasusqboost.

Make sure spen gesture support disabled.

Reduce some wakelocks.

Mountnamespace support <Magisk>.

CPU undervolting support.

Doze screen off helper.

BFQ I/O scheduler.

Add LulzactiveQ and intelliactive governors and improve PegasusQ.

bug fixes, crypto fixes, optimisations.

RR and LOS data grabbed at 08:53 GMT, Friday 9th March 2018.

Android 7.1.2_r26 - February 2018 security fixes.

Resurrection Remix Final 5.8.5.

Release 2

Lots changed since release 1.

Buffcore kernel 0.04:

re-added interactive, conservative & adaptive governors;

PegasusQ set as default governor and PegasusQ boost enabled;

Readahead cache set to 1024k;

Add TCP congestion options, set westwood as default;

Lots of stability and crypto fixes.

RR and LOS data grabbed at 03:33 GMT, Friday 3rd November 2017.

Android 7.1.2_r29 - October Security updates + fixes for Krack.

Resurrection Remix Final 5.8.5.
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Previous Changelists

View attachment 4323288

Reserved​
[Galaxy Note 8.0 (Tablet) Android Development] pvsgh:
Failed to flash with Error 7, verified the hash and file is ok.
[Galaxy Note 8.0 (Tablet) Android Development] gfmoore:
Its a bit scary, but the upgrade (dirty flash) from an earlier beta has worked well.! Phew.

For others, could you perhaps add the link to gapps on your downloads section please.

Ta very much :)
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Hi [MENTION=4342818]pvsgh[/MENTION],

You do have an n5110 model (wifi only)?

couple of thoughts:

did you do a full wipe before attempting the install?

can you let me know your system partition size (have seen error 7 due to non-standard partition sizes)

go to wipe > advanced wipe > select system > repair or change file system > check size.
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Hi [MENTION=1159643]gmoore[/MENTION], glad you got there...

dirty flash can be a bit scary for the first few hundred times, after a couple of thousand though it's like water off a ducks back :p

Will add gapps link, thanks for the feedback

Buff<
[Galaxy Note 8.0 (Tablet) Android Development] pvsgh:
Yes, 5110 model, did a full wipe. I might have a modified partition structure, did that a long time back so have to check again for confirmation. Although, LOS14.1 installs fine.

EDIT: System partition size is 1511MB, so it should not be the space issue. I also compared the LOS14.1 update-script with update-scrpipt from your ROM and there is no difference except some ui_print commands.

This is the step where it is failing:

block_image_update("/dev/block/platform/dw_mmc/by-name/SYSTEM", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") ||

abort("E1001: Failed to update system image.");

EDIT2: Checked the recovery logs, and it does seem it is expecting some particular size for system partition, will try reverting back the partition sizes to stock and see if that works.

here is a some information from recovery log:
[Galaxy Note 8.0 (Tablet) Android Development] Duckman5:
USBOTG I can probably live without, but I use MHL a lot when we travel to play movies on the hotel TV. Is this something that's a temporary upstream glitch? Something that you just need time for? Or is it something that is likely a permanent limitation of the ROM? I appreciate the work you're putting in to revive this relatively ancient device (Thank you!). I'm just trying to figure out if this is a ROM I can use as a daily driver in my personal use case.
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
No CM based note 8.0 ROM has had it to date, as far as I'm aware. It would depend on if RGIB had the time to implement in LOS / CM14.1 as it's one of the most involved systems to port and bring up to date.

If you must have MHL then it's touchwiz based rom for you ATM I'm afraid...

It IS however doable as the S4 RR nougat port i also maintain has working MHL ?
[Galaxy Note 8.0 (Tablet) Android Development] Duckman5:
Thanks for the quick response and explanation. That makes me sad. I may still make the jump anyway and just bring an old phone along with me for movie watching. I'm so sick of being stuck on an ancient (likely exploit ridden) version of Kit-Kat because Samsung couldn't be bothered to update this otherwise capable device.
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Yeah totally agree. Hardware is remarkable still able and Nougat gets better performance out of it than Sammy ever could with KK.

As a rom it's still evolving and the niggles will eventually get ironed out.

I myself would love MHL as we have 2 note8.0s at home, mine obviously is one I develop on and is bleeding edge.

My wife's is still on KK as it's primary use is as a media player through MHL and she won't let me update it until MHL works...
[Galaxy Note 8.0 (Tablet) Android Development] pvsgh:
partition structure restored, still the same issue.

This particular line from system.transfer.list causing the installation to fail:

erase 30,66050,97792,131586,163328,197122,228864,262658,294400,295587,327168,328194,359936,360962,392704,393730,425472,426498,458240,459266,491008,492034,523776,524802,556544,557570,589312,590338,622080,623106,655360
[Galaxy Note 8.0 (Tablet) Android Development] Duckman5:
OK...so I decided to give it a try. Installed the linked TWRP, made nandroid, updated the baseband (I think I did this correctly) with Odin, and installed ROM with nano GAPPS. Wifi isn't working now. I can see networks, I can enter the password, but it doesn't connect. It just says "connecting" for a moment, then stops trying and just says "saved" under the network name. Kind of a problem for me for a wifi only tablet. :( I like the look and speed of the ROM, though, so I would like to at least try it for a bit. What am I doing wrong? Any thoughts?
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Yes, a slight problem.

Probably it's the region code needs set, or the router channel changed. Channels 12 and 13 are out of band (and illegal) in some areas of the world. Check the channels your router broadcasts on and the region code in WiFi settings. If you need to access all 13 channels set region to Europe.
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
I'm not familiar with system transfer lists, but I'm sure i know what the problem is, it's just how we go about curing it for you.

I found on making Roms for another system a lot of slack system space, so increased the system partition to full volume size. I have also applied this to note 8 on this ROM, so instead of a system partition of 1.5gb we now have the full size of the volume, 2.5gb.

We need to check you have space to create a 2.5gb partition on the system volume - need to check the exact size when i get home.

In the meantime, you may find format / repair / resize partition in TWRP is enough to cure this...
[Galaxy Note 8.0 (Tablet) Android Development] Duckman5:
I'm in the US and my router broadcasts on channel 11. I set the tablet to US region as one of the first steps when it was not working. ? I really want this to work. So much less lag than TouchWiz. Could I have messed up the baseband flash? What are the correct steps to do it?
[Galaxy Note 8.0 (Tablet) Android Development] Duckman5:
So...I went ahead and set up a 2.4 gHz only guest network and I'm now able to connect to that network only. Is there an issue with 5 gHz networking?
[Galaxy Note 8.0 (Tablet) Android Development] pvsgh:
Yes, I had 2.5 gb system partition, after I repartitioned it, this is what my partition size looked like (identical to stock)

8 92.3MB 1703MB 1611MB ext4 CACHE

9 1703MB 4387MB 2684MB ext4 SYSTEM

10 4387MB 4974MB 587MB ext4 HIDDEN

11 4974MB 4983MB 8389kB OTA

12 4983MB 15.8GB 10.8GB ext4 USERDATA

and before restoring it to stock, i had around 1.5gb for system:

8 92.3MB 193MB 101MB ext4 CACHE

9 193MB 1805MB 1612MB ext4 SYSTEM

10 1805MB 1820MB 15.0MB ext4 HIDDEN

11 1820MB 1828MB 8000kB OTA

12 1828MB 15.8GB 13.9GB ext4 USERDATA

I just feel like 2.5gb for system partition is a waste of space.

Also, I tried to extract this rom and convert it to old style format (system directory) but it failed to install due to some missing symlinks. Have to spend some more time fixing those :)
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
post#2 is changelog. :good:
[Galaxy Note 8.0 (Tablet) Android Development] gabripranzo:
Oops... sorry! Well, I hope for n5100 release too!

Great work, thanks!
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
Sorry, but the link with the fix provided by walter79 is offline :(

if you need something else, I'm here:)
[Galaxy Note 8.0 (Tablet) Android Development] Newcostumer:
Hey buff I found this, so probably you can do it by the kernel to have a switch in kernel auditor.

[IMG="Kernel Auditor fast charge"]http://uploads.tapatalk-cdn.com/20160502/b42b980896d32d7c98926de6cb0cb6cd.jpg[/IMG]

Right now I charged it full and I lost in 1:30 hours 60% so well with the 5.8.2 build it works fine. Hopefully you can do something with that new build. Would be nice thanks. I have a one amp charger I will try it and also reset the battery stats.
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
[MENTION=1711160]Buff99[/MENTION]

It seems there is a problem with the camera

read post #651 on rgib thread

Best regards
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
As far as i can tell default camera has always crashed on cm-14.1. Can't you use a 3rd party app, e.g. Open Camera?

For release 3 of RR I fixed default camera by using a different app (Snap) as default.
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
Oh my, I just forgot to use 3rd party app.With snap camera or open camera works.Sorry again.
[Galaxy Note 8.0 (Tablet) Android Development] Newcostumer:
Back again to 5.8.2 there is the slow charge running and my device has now for me normal battery drain. Normal using internet surfing between 15 - 20% one hour. For my old battery it is very good.

The new build I repeat yes I don't know why only I have this problem, but with the fast charge mode I have the suggestion it doesn't work well because my battery drain is much more higher in two hours it is over. Well maybe with the boeffla kernel I could adjust it with boeffla config app, but I don't know if it really helps. If I would replace the battery I think I would have nearly 6-8 hours battery power. But at the moment 4 hours are still enough and not really necessary to replace the battery.

So hopefully you can set the battery charging on slow charge in this new build I like some new features of kernel adjusting and magisk root. But I don't need it immediately I'm comfortable without magisk at the moment.

I also tried some tuning with kernel auditor, governor conservative, scheduler sio and undervolting -25 the battery was still melting like snow in the sun.

So that are my important state thanks buff ?
[Galaxy Note 8.0 (Tablet) Android Development] derekk75j:
I'm on 4.2.2 stock rom. I've already installed twrp 3.1. Do I have to install firmware Lollipop as well before flashing rom and gapps?
[Galaxy Note 8.0 (Tablet) Android Development] Newcostumer:
You installed twrp 3.1? I only found 3.0.2 on the website. You can flash nougat directly, not necessarily to flash lollipop or marshmallow unless you want to have a look on it. Some people still like marshmallow for me the best build of nougat is the 5.8.2 at the moment, it has the better battery state.
[Galaxy Note 8.0 (Tablet) Android Development] derekk75j:
Yes, twrp 3.1. I've flashed the ROM, all went fine. So far it seems flawlessly :):) thanks bro for helping me
[Galaxy Note 8.0 (Tablet) Android Development] Newcostumer:
Where did you find twrp 3.1.1 for gt-n5110? On the side is only 3.0.2 for download
[Galaxy Note 8.0 (Tablet) Android Development] gabripranzo:
How is usb otg in latest release? I wonder if mtp fix could make it work. Thanks (I'm waiting for n5100 release so I can't try it by myself).

Inviato dal mio GT-N5100 utilizzando Tapatalk
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Never gonna work. But you can verify it yourself...
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Linked in post #1 of this thread.....

here
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Release 3 is now downloadable for n5100 and n5120

Changelog uploaded for release 3 to post#2

n5110 release 3 enabled in OTA app (will wait for confirmation on n5100 and n5120 before enabling them).

As I don't have an n5100 or n5120, they are untested and there is a slim chance they don't boot. Make a full nandroid backup in case you need to revert!

Although I included [MENTION=382340]walter79[/MENTION]'s last phone change in n5120, I'm sure that phone / LTE will not work unless you enable Permissive SELinux.
[Galaxy Note 8.0 (Tablet) Android Development] gabripranzo:
See post #151 a user said otg worked fine, even if he had some mtp error message. I was hoping there is some chance...

Inviato dal mio GT-N5100 utilizzando Tapatalk
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
I took it that he meant mtp and not otg...

Just tested an OTG stick here on my rolling build and still keeps connecting and disconnecting BUT I don't trust this rolling install for USB and can't be bothered to do a clean install to verify it. :D

Can someone who cares about OTG:

Do a clean install of release 3; no / minimum apps installed (no gapps if poss.), will need root to collect logs;

Install syslog app

Boot phone

Once settled, take 1st set of syslogs (filter private data)

Insert OTG stick and try accessing a few times

Take second set of syslogs.

Upload both syslogs to a file sharing site and send me links.

thanks
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
[MENTION=1711160]Buff99[/MENTION]

On N5120

these are the problems I've encountered:

1)the led lights of menu and back do not work

2)connection with sim card as you know (but I can use phone and send sms)

everything works included otg. Bluetooth seems to be more stable than the previous version

everything is much improved. So much fluidity and speed of execution.

this version si really wonderful! Congratulations and thanks again for your support and for what you do! :)
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
[MENTION=1711160]Buff99[/MENTION]

I installed latest build of rgib (lineage-14.1-20180317-nightly-n5120-signed.zip) and both menu and back lights work.

Is it possible that on your rom they are disabled by default?
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
well, not really.... I had attempted to setup both BLN and adjustable brightness on them. BLN uses them as a type of notification light. I haven't been able to get BLN or variable brightness to work yet however.

The lights do work (on/off when pressed) on n5110 so it's either my changes haven't been properly synced to n5100 and n5120 <likely> or the devices use different variables to set the same things <unlikely>.

(btw. interface to change them is horrible, you have to OK every change rather than assume backing up applies, which isn't the same on other interfaces)

Knowing they work in lineage is however useful to know., thanks.
[Galaxy Note 8.0 (Tablet) Android Development] TibReg:
I can confirm the behavior on a n5100. Backlight of keys are working on Lineage OS, but not working on Resurrection. Besides that a fantastic rom and this time I could also install it on an encrypted device. Good job :good:
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
- n5100 and n5120 added to OTA app
[Galaxy Note 8.0 (Tablet) Android Development] GaryTG:
Uninstall all Substratum overlays?

A semi-newbie here....

I'm currently using RR 5.8.5 20171104 on N5120 that I put on a couple of months ago. It worked well but is now starting to crash every 2-3 mins (related to MTP Host crashes?). I want to do a dirty flash to latest March Rev 3 version.

First step instruction is "Uninstall all Substratum overlays". Can some kind soul explain how I would do this? I don't know if I have any. Were they installed as part of my original RR 5.8.5? Or how do I identify Substratum overlays in order to uninstall them?

Sorry to ask but "Substratum" is new to me.

Thanks
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
Anyone knows how to set multiwidows?

I'm not able to find in the settings.
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Substratum is a third party theme engine that you can install.

If you are asking what it is then you won't have it, so just ignore this bit!

And if you are crashing this often, try going into twrp and wiping dalvik cache initially.
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
You do it from your recent screen. Not sure about other recents, I use Slim.

For me I long press an app, it gives a multi icon which splits the screen with current app and one you just long pressed.

Like attached shot..
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Release 4 is now available for n5110, n5100 and n5120

- download links in post #1.

- March security updates

- n5100 & n5120 HW lights both reported as fixed! <thanx [MENTION=5964868]Giowi[/MENTION] & [MENTION=5558589]Emaulana[/MENTION]>

- charging interface added so user can tune charging power used

- USB charging power increased to 1000mA (e.g. from a computer usb port, if port can supply higher than default).

To change charging power, use a root enabled file browser, go to to sys/kernel/charge_levels folder.

"charge_info" tells you what is currently set.

"charge_level_ac" is normal charging, default is set at 1800.

Edit the file and change 1800 to e.g. 1200 then save.

This setting is NOT persistent, so needs set on every boot.

Power cable needs pulled and re-inserted for edits to take.
​

Recommended: use app like Kernel Adiutor and setup a custom control with this applied at every boot.
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
[/COLOR]

[MENTION=1711160]Buff99[/MENTION]

HW lights works on n5120!!! :D:good:
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Great! Thanks for confirming!
[Galaxy Note 8.0 (Tablet) Android Development] Emaulana:
HW lights works in n5100 too. Thanks mr.Buff, may the force always be with u :)
[Galaxy Note 8.0 (Tablet) Android Development] Newcostumer:
Hey Buff how can I adjust the charging mode on Kernel Adiutor and save it for reboot?
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Dunno, never tried it in KA,

EX kernel manager can do custom controls much easier, just point it to the file and then give it value you want to change to, then set it to apply on boot.
[Galaxy Note 8.0 (Tablet) Android Development] Newcostumer:
Okay thanks I tested an apk from that Ex Kernel Manager and I will buy it. It is also possible to do it in Kernel Adiutor_mod app.

Should I adjust both charge_info & charge_level_ac or is charge level enough?

And the default charging power of stock was 900 mA I think right?

Edit: okay it is enough to adjust the "charge_level_ac" the charge mod I have set between 700-800 mA. It needs 4 hours for full charging that's I had on the build from one year ago. The battery drain I will have a look it gives new kernel settings for me, so I can more adjust and some new governors are now available.

I can't switch the selinux on permissive because magisk safety net check will fail, but it doesn't matter I thought I need it for viper4arise and it seems it works without.

So what happening next we will see, thanks very much for your work.

[IMG="Kernel Adiutor charge settings"]https://dl.xda-developers.com/4/4/5/8/2/1/1/Screenshot_20180326-154738.png?key=u1eNefbbaVdWqSNwE6MnJg&ts=1522074063[/IMG]
[Galaxy Note 8.0 (Tablet) Android Development] TibReg:
I can confirm that for the 5100. The Rom has a very favorable battery consumption.
[Galaxy Note 8.0 (Tablet) Android Development] GaryTG:
N5120 working on Rev 4

Thanks Buff for the help.....and the ROM!

Wiping dalvik didn't help this time but was worth a try.

Got through dirty install. Really struggled to get root but Magisk did the trick (after I'd tried all the usual suspects).

Rev 4 seems fine...no more MTP Host crashes.....so far. :)
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Every dirty install replaces your magisk / SuperSU patched kernel with a new unpatched version, so you need to flash your root solution afresh as part of the dirty flash process.
[Galaxy Note 8.0 (Tablet) Android Development] Lucho3412:
Does HDMI work? More specifically the Samsung dock?
[Galaxy Note 8.0 (Tablet) Android Development] Newcostumer:
Well I still testing on n5110 at the moment it seems okay with kernel settings and a bit undervolting.

Still boeffla kernel is the best for less battery drain and balanced power, with a new battery normal using & internet surfing you coming over 10 hours that's really awesome.
[Galaxy Note 8.0 (Tablet) Android Development] Vlakvark1964:
[ROM] Resurrection Remix 5.8.5 FINAL Rel 4

I hope you can provide some help. I'm new at this and need some further info. I'm desperate to upgrade my N5110 for work.

How do I load these files onto my N5100? (GUI software required?)

Is the sequence important?

Are there any subsequent steps to follow after the installation of each?

Regards

John
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
Follow the instructions on the first page.

that's all
[Galaxy Note 8.0 (Tablet) Android Development] cshnz:
thanks buff for your hardwork :D

i was tested with n5100..the performance and battery life are good...but the main issue is i can't transfer file from computer using usb connection... :cool:

Edited...

After flashing the brand new boeffla kernel with enabling usb debugging connection, booom the mtp working so good...even with set sdcard as internal...they are working..they are mounting to the pc explorer....So i can copying the all of my book collection

The usb otg are working with 3rd party apps called usb otg helper...

If i find another issue or fix i will edit this post
[Galaxy Note 8.0 (Tablet) Android Development] Newcostumer:
Easy watch this video and follow step by step the instructions.

https://youtu.be/sA11NEg2TTo

---------- Post added at 10:43 AM ---------- Previous post was at 10:35 AM ----------

Hey cool yeah boeffla is great you will also have a great battery life with it.

May I ask you do you have a Bluetooth gaming controller which you could test the Bluetooth connection with your device? I just asking because this is the only issue I have with the boeffla kernel no connection. But only the gaming controller doesn't work with all other connections I haven't any problems.
[Galaxy Note 8.0 (Tablet) Android Development] cshnz:
[MENTION=7703042]newcustomer[/MENTION] sorry i dont have the controller...so i can't check

did u check the microphone on this rom? mine not working...so sad :crying: