yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] BDogg718:
Ok guys this build marks the end of Android N RR. This will be the final build. I have updated OP and OTA. I have also updated M8d for those that want it. This final build has EVERYTHING we've been holding back merged in and all latest LOS source merged in also. PA color engine prolly being the biggest addition to RR. This build is completely rootless and made with all the latest 100% stock LOS sources including kernel. I feel it's best to let you, the users, decide which kernel you want to use and whether or not you need/want root and which one you want.

I want to thank those of you that have sent me donations for my friends family. I received one a recently as Sunday. It means more to me than you guys can possibly know!! Thank you from the bottom of my heart!!

So, the burning question Im sure all of you want to ask. "Will M8 get Android O?" The best answer I can give you now is that Ive been tracking LOS progress. Ive got it to successfully build but not flash. So, having said that..it would be my guess that..YES the M8 will at some point(maybe soon, maybe not) get to join in on the O fun.

For now, I hope you guys enjoy this build..and as always....Thanx for supporting RR!!!!
[One (M8) Android Development] msrowley:
Thank you very much for everything. Does the final build have the latest security patch for blueborne?

Thanks again!!
[One (M8) Android Development] navcar:
Bad news, I just

dirty

flashed 5.8.5 and got unknown baseband / imei !!!!

Maybe do a full backup before flashing.

Good news, fastboot getvar all shows that the imei is still there, well I am S-ON :) I'm going to try go back to 5.8.4. At least with Dual Boot Patcher I still have a working ROM to call with which is neat.

Update: Radio works fine after dirty flashing 5.8.4.
[One (M8) Android Development] vispa70:
Is this the newest kernel? AA_m8-Nougat-20170630.zip
[One (M8) Android Development] navcar:
Has anyone flashed 5.8.5 with radio working?

I think that is mihranz7's latest unofficial team-m8 kernel. The stock LOS kernel of this ROM would be even newer though.
[One (M8) Android Development] vispa70:
On the LOS screen wakeup does not work.

Newer AA_m8-Nougat-20170630.zip unofficial does not exist?
[One (M8) Android Development] navcar:
Try ask on the Android 7 Nougat thread: https://xdaforums.com/htc-one-m8/general/discussion-android-7-nougat-t3505252

However I think that screen wakeup does work on LOS
[One (M8) Android Development] KasunHerath97:
All works here. Flashed as secondary ROM with dual boot patcher. No bugs till now.
[One (M8) Android Development] BADA 187:
Anyone got AGPS working with this final build? Its not working for me.
[One (M8) Android Development] BADA 187:
Yes its newer, but the version from mihran has a lot more available tweaks with KA. I hope mihran will make a newer version. :)
[One (M8) Android Development] Abd121:
Thanks for fixing the Gmaps Uberlag, still, does anyone know how to tone down the aggressive multitasking? I hate it when apps and web pages closes 2 seconds into turning away from them.
[One (M8) Android Development] DahakePL:
DT2W works?
[One (M8) Android Development] osidacarlo:
Working fine. All stock, clean flashed.
[One (M8) Android Development] DahakePL:
Great, thanks
[One (M8) Android Development] FLampard:
Can someone help, because the update is rootless, do we flash Magisk first then ROM or flash ROM first then Magisk to root it? Thanks.
[One (M8) Android Development] DahakePL:
Flash su addon from lineageos site then flash magisk
[One (M8) Android Development] ahmed.ismael:
flash the rom and gapps then flash magisk

why flash su addon before another root method/option (( magisk )) ??

isn't one of them is enough as a su manager option ??

AFAIK magisk script will remove the existed su or fail to flash
[One (M8) Android Development] DahakePL:
I came across an error before (no root access at all) by flashing only magisk so I do this method and all works fine (as well as safetynet)

1. flash rom, gapps

2. flash su addon

3. flash magisk

4. magisk uninstaller

5. magisk again

Maybe that's just me but it's known to work :silly: :silly:
[One (M8) Android Development] ahmed.ismael:
ohhh

think i'm lucky then

i only flash rom,gapps and magisk-and everything is working fine (( on all roms ))

safteynet and root is just fine
[One (M8) Android Development] binhminhluc9h:
My phone has been rebooted many times after update (dirty flash) from 5.8.4, now I'm trying to clean flash again. Hoping everything will be fine
[One (M8) Android Development] osidacarlo:
Want to find answers to this as well
[One (M8) Android Development] binhminhluc9h:
Does someone have to face with "No Sim dectected" after reset phone like me??
[One (M8) Android Development] osidacarlo:
What's with the "Current data sim" with a pulldown arrow but doesn't do a thing? It's on the data tile on the quick settings..
[One (M8) Android Development] vispa70:
No
[One (M8) Android Development] vispa70:
On version 5.8.5, frequent, arbitrary reboots
[One (M8) Android Development] DahakePL:
Not happening here, stock lineage kernel
[One (M8) Android Development] vispa70:
The kernel left by default (LOS), but .... reboot. I returned to 5.8.4 and everything is fine !!! Can the kernel Team M8 install?
[One (M8) Android Development] msrowley:
Just to clarify, RR has lineage kernel by default or team m8 one??

Thanks.
[One (M8) Android Development] DahakePL:
Latest LOS kernel
[One (M8) Android Development] v.con121:
Thank you for this. Dirty flashed over 5.8.4 and everything is perfect. All working, no glitches
[One (M8) Android Development] binhminhluc9h:
When I update lastest build from 5.8.4 (dirty or clean flash), it seems not stable, sometimes reboots itselft and even "No sim card error". I tried to roll back MM and clean flash again 5.8.5, it works properly till now.

So, if someone get trouble with new build, try to do it.

Good luck :)
[One (M8) Android Development] jason28260:
Thanks for all

Thank you for all! I like this Rom and hope it will be adapted with Android O ! Slim, convenient ... thanks !
[One (M8) Android Development] OOmngT:
It's great ..! Thank you gods.

It's great ..! Thank you gods. I am a new amateur player. From Thailand . Rom RR v.5.8.5 is perfect for me.:angel: thank you.
[One (M8) Android Development] SKATEMA7IA:
I love RR thanks

I always go back to RR I like very much how it's customizable, and I love putting the XBOX logo on the status bar along with my GT, my friends are surprised to see the GT there, the only thing a little bad is the battery life of the latest versions, I hope that with this final version I get at least 4 hours of the screen, thank you very much indeed, and I really want to see soon RR android 8.0

Thank you for your work, I do not speak or write English very well, but I still want to thank you, I hope you understand what I'm trying to say.

Saludos desde Acapulco Mèxico UwU
[One (M8) Android Development] heyChristo:
BEST ROM! Dirty flashed. Reflashed some stock google apps so they keep their theme. my newest apps is LawnChair customizable google launcher and icon themer without running a different launcher, (well-kinda!). And of course the tether works which did not on O for the M8whl.
[One (M8) Android Development] moonstar_paddy:
Like many others even I have reboot issues...switched back to 5.8.4
[One (M8) Android Development] binhminhluc9h:
I had the same issue, but I rolled back to MM, then flash 5.8.5 again, now it works well
[One (M8) Android Development] heyChristo:
BEWARE: Just flashed new MAGISK update and black screened phone!
[One (M8) Android Development] GoodDude82:
Can I flash kernel team m8 (20170630) on 5.8.5, I think team m8 is better than LOS kernel, at least in my case, much free RAM
[One (M8) Android Development] vispa70:
I installed it twice with a full wipe. The default kernel is LOS. And both times had a sudden reboot?
[One (M8) Android Development] BADA 187:
For people having, reboot/bootloop or similar boot issues,

Revert to previous rom you were using,

Boot to TWRP (make sure you have latest 3.1.1-0)

Backup DATA partition.

Swipe for factory reset

Flash new rom 5.8.5

Flash magisk 14.0

Flash gapps

Restore DATA partition

Wipe Dalvik/Cache

Reboot.

---------- Post added at 03:15 AM ---------- Previous post was at 03:13 AM ----------

Yes its possible :)
[One (M8) Android Development] GoodDude82:
And Agps works properly, right? I use map and Uber daily. Thanks
[One (M8) Android Development] vispa70:
Strange instructions. I never installed it that way. Restore DATA partition? What for?
[One (M8) Android Development] BADA 187:
Its like a dirty flash but then reversed, instead of flashing new rom over current data,

You wipe system (so all data and apps are removed) flash rom, then restore your apps and settings wich is located in DATA partition
[One (M8) Android Development] binhminhluc9h:
I guess that's another way of dirty flash but cleaner :D
[One (M8) Android Development] BADA 187:
It should work yeah if the patch has been applied to RR. Havnt really fully tested agps yet. Just had a quick look.
[One (M8) Android Development] GoodDude82:
In LOS kernel I 've got trouble with GPU in Kernel Auditor, when I switched to simple_ondemand, my phone hang up and rebooted later.

BTW, thank you, and I'll try to flash team m8
[One (M8) Android Development] BADA 187:
Backup your boot partition in twrp before you r gonna play around with kernels. It will save you from bootloops.
[One (M8) Android Development] vispa70:
If the kernel LOS, change to Team M8. Will this save you from rebooting? And install ROM with a full wipe?
[One (M8) Android Development] vispa70:
It worked!!! Thank you!!! ;)
[One (M8) Android Development] bluehunter9:
Yes, A-GPS works properly
[One (M8) Android Development] vispa70:
Reboot again :eek:

I will install kernel AA_m8-Nougat-20170630. Waiting for result...
[One (M8) Android Development] altetaube:
I tried..

It will break bluetooth...:crying:
[One (M8) Android Development] vispa70:
Two days, wasted !!! I'm leaving at 5.8.4 there everything is fine !!!
[One (M8) Android Development] binhminhluc9h:
Does someone test ubs-otg function yet? I don't have otg cable right now but I'm sure it's an issue in 5.8.4
[One (M8) Android Development] GoodDude82:
I have no bootloop issues again, Do you update to lastest firmware (RUU)?
[One (M8) Android Development] BADA 187:
Usb-otg all working fine here :)
[One (M8) Android Development] Wi-f:
Guys I have issues with the online apps like facebook, telegram and so on, i start them, they stay for like a minute or 2 with black screen, then they crash. What can be the problem in?
[One (M8) Android Development] BADA 187:
Do you have a theme engine like substratum?
[One (M8) Android Development] Wi-f:
No, i have the standard theme on the phone ...
[One (M8) Android Development] BADA 187:
Make backup of applications with titanium backup.

Then go to settings>applications. Then wipe cache from apps with errors. If the errors continues wipe data from applications. And try again
[One (M8) Android Development] vdhero:
Installation

Can I install this on verizon htc one m8, I would like to install this one my m8 :confused::confused::confused:
[One (M8) Android Development] DahakePL:
ram is a big problem on LOS kernel, you can try team m8 but expect DT2W to stop working
[One (M8) Android Development] binhminhluc9h:
It still doesn't work for me :crying:. Maybe by cable (?). But I remember it working fine in MM before :eek:
[One (M8) Android Development] ToxxMe:
Clean flashed new version with TeamM8-Kernel and ALL works perfectly for me! Thanks! :good:
[One (M8) Android Development] vdhero:
good rom

It even smoothier than my mi mix running Resurrection remix. Nice:good::good::good:
[One (M8) Android Development] DahakePL:
DT2W doesn't work at all for me on teamm8 kernel which version are you using?
[One (M8) Android Development] ahmed.ismael:
it's working for me on any team-m8 build ( last time i was on 30/06 build )
[One (M8) Android Development] DahakePL:
Doesn't work at all, using 30/06
[One (M8) Android Development] BADA 187:
It does "work" on team m8. But need to keep phone straight up or flat down. Or else it will be buggy.
[One (M8) Android Development] DahakePL:
No I mean it doesn't work, at all.

It's like turned off or something, kernel adiutor doesn't even have the wake tab shown

I just reflashed rom and the kernel right after and it still doesnt work
[One (M8) Android Development] msrowley:
Can you please post a link to the latest team m8 kernel, because on their thread it has a link from 2016.

Thanks
[One (M8) Android Development] DahakePL:
Look on mihranz android filehost
[One (M8) Android Development] BADA 187:
Does your bluetooth work correctly and agps with 5.8.5 and team m8 0630?
[One (M8) Android Development] DahakePL:
Anyone has any idea what can I do regarding the lack of DT2W?

---------- Post added at 09:51 PM ---------- Previous post was at 09:49 PM ----------

Nope, Bluetooth is broken

---------- Post added at 09:53 PM ---------- Previous post was at 09:51 PM ----------

So in conclusion ,

LOS kernel is "usable" but lacks features and ram management is horrible, Nova launcher redraws constantly.

Team m8 kernel breaks Bluetooth and at least for me it brakes DT2W too.

Kind of a bad situation because of the kernels
[One (M8) Android Development] BADA 187:
Test your gyro or recalibrate it, for DT2W.

It has always worked for me with team m8. (Just yo mad it breaks bluetooth and i use a BT headset a lot)

Also might want to try a sensor test, to see if everything is working as it should. (Just test all of them)

Also try DT2W apps on the store. To see if it maybe works trough there
[One (M8) Android Development] binhminhluc9h:
LOS Kernel could be controlled by Kernel Auditor but lacks of many features, so I offer to use L-speed instead. It's simple and better and better
[One (M8) Android Development] vispa70:
5.8.5 I do not work at all, restart all the time, went to 5.8.4. Unsuccessful Final. Long used RR, it has always been excellent, but here .. It's a pity ..
[One (M8) Android Development] binhminhluc9h:
Hey guy, you should come back to stock Marshmallow first, check again firmware in Bootloader to ensure lastest version, then come up to RR 5.8.5. It should work properly.
[One (M8) Android Development] vispa70:
It is a pity that in the Finals these dances with a tambourine are needed ... I'll stay at 5.8.4 and wait for Android O. RR best ROM !!! Many thanks to the author for the work !!!
[One (M8) Android Development] keysersozer:
No Problems here. All works smooth and fine. With los Kernel.

I flashed as bada said a few posts earlier.

I Was on rr 5.8.3 - nandroid backup

Wiped System, data, etc.

Flashed 5.8.5

Restored Data

Flashed gappa

Flashed magisk.

No Problems. No lags. No reboots and battery life is great too.

LOS Kernel Auditor settings: (Badas old settings too [emoji28])

Spoiler content hidden.

Gesendet von meinem m8 mit Tapatalk
[One (M8) Android Development] vispa70:
Did so, did not help, restart sometimes
[One (M8) Android Development] keysersozer:
Try Kernel settings.

Edited my Post above

Gesendet von meinem m8 mit Tapatalk
[One (M8) Android Development] vispa70:
Thank you!!! I'll try

---------- Post added at 11:34 ---------- Previous post was at 11:13 ----------

Installation according to the instructions from the message?
[One (M8) Android Development] keysersozer:
Yep

Gesendet von meinem m8 mit Tapatalk
[One (M8) Android Development] GoodDude82:
Does anyone know about apps or tweaks that could make "swipe to wakeup" device? Please help, I think DT2W sometimes doesn't work because it depends on Gyroscope.
[One (M8) Android Development] DahakePL:
What about the ram?

Launcher redraws constantly

Also, when battery saver is turned on the screen flickers a lot
[One (M8) Android Development] keysersozer:
I have no Problems with that.

I use nova launcher and there was since Flash New Version no launcher redraw.. [emoji28]

Screen flickering no Problems too. All fine here..

Maybe a Firmware Problem? Im on Sense Firmware

Gesendet von meinem m8 mit Tapatalk
[One (M8) Android Development] binhminhluc9h:
After booting, my phone free about 1 gb ram.

I use Nova launcher with no issues

Battery Saver is turned on the screen flicker alot: yes, but when you switch to main screen, it backs to normal (Hix, I've no ideas)
[One (M8) Android Development] DahakePL:
I came back to previous version and all is good
[One (M8) Android Development] binhminhluc9h:
But in 5.8.5 a-gps make locked faster and more accuracy
[One (M8) Android Development] vdhero:
Bug

The rom is pretty nice and fast but there's a big bug that when I turn on the pie, it makes the systemUI force close :(
[One (M8) Android Development] naveediftikhar:
link to the latest team m8 kernel plz.
[One (M8) Android Development] DahakePL:
I've no idea how latest teamm8 kernel doesn't brake bluetooth for you guys.

Are you lucky or something?
[One (M8) Android Development] BADA 187:
Another bug i just found. Pc does nog recognize phone when connecting with usb (MTP).

anyone else to?

---------- Post added at 03:29 PM ---------- Previous post was at 03:27 PM ----------

I have the same problem with BT. :(

Btw have you tried the modded version of kernel aduitor for DT2W? Since the modded version is more advanced.
[One (M8) Android Development] DahakePL:
Yup I tried, but I won't bother with teamm8 kernel since BT is broken anyway
[One (M8) Android Development] BADA 187:
True yeah, im in the same boat BT not working with team m8 and 5.8.5 combi. Lets hope mihran will make a new one based off the new LOS kernel.
[One (M8) Android Development] binhminhluc9h:
No, it works properly for me, but usb-otg doesn't recognize usb flash or mouse.. :confused:
[One (M8) Android Development] jasio2k:
MTP is working just enable USB Debbuging.

Bluetooth is working with kernel AA_m8-Nougat-20170630

Sometime you need a little bit of work to get it work :)

Download RR-N-v5.8.4-20170809-m8-Official.zip extract system.new.dat

and get this files from 5.8.4 and replce in 5.8.5

app/Bluetooth

app/BluetoothExt

app/BluetoothMidiService

etc/permissions/android.hardware.bluetooth_le.xml

etc/android.hardware.bluetooth_le.xml

etc/Bluetooth_cal_recovery.acdb

etc/bt_did.conf

etc/bt_stack.conf

lib/libbluetooth_jni.so

lib/hw/bluetooth.default.so

/vendor/lib/libuiblur.so

works for me.

To save you time link to zip with files to replace, extract and replace files in recovery. done

https://drive.google.com/file/d/0B2SG1vOm1yHmVmtEUXNkdEhOejg/view?usp=sharing
[One (M8) Android Development] BADA 187:
i have usb debugging on but still no luck,

Thanks ill do this later today and upload it if anyone wants to run 5.8.5 with team m8.

Credits goes to you sir:)
[One (M8) Android Development] Ramzh:
Kudos to you if you upload it!

I would like to try. Currently I'm running the released version everything works fine except fee case of DT2W and a very weird screen glitch that messed up every thing once. And ofc the pc doesn't recognize the phone when connected
[One (M8) Android Development] BADA 187:
Could you redirect me to the tool to extract system.new.dat for nougat? I only see them for MM and L

EDIT Scrap that up there. I found it. Im doing it right now and upload when done.
[One (M8) Android Development] binhminhluc9h:
How about usb-otg, does it work for you?
[One (M8) Android Development] jasio2k:
I don't check :( I not use it
[One (M8) Android Development] Xhemal1325:
Hi, which is the latest version of teamm8 kernel ?
[One (M8) Android Development] jasio2k:
Any way Bluetooth is working, but data connection not working for me now. Any way going back to 5.8.4
[One (M8) Android Development] nunclud:
I enabled dev option and then USB debugging and PC now connects phone in MTP

---------- Post added at 11:39 PM ---------- Previous post was at 11:33 PM ----------

So far everything is working perfectly well. I did a clean install+gapp aroma the Magisk after first reboot.

Can someone remind me how to uninstall system apps. I guess i used this in before on RR or LOS 14.1. Not quite sure

---------- Post added at 11:46 PM ---------- Previous post was at 11:39 PM ----------

OTG is fine.
[One (M8) Android Development] BADA 187:
Damn, i had a few flashable zips ready to post untill i saw your post and noticed indeed that data does not work.. I was so happy to use team m8 again with full functional phone... Ah well.. Some day

NOTE:

If someone still wants me to upload the flashable zips let me know , maybe one of you guys will be ablte to get data to work with team m8 an bt fix

---------- Post added at 01:30 AM ---------- Previous post was at 01:28 AM ----------

Unofficial team-m8 1.5 from 0630 by mihranz
[One (M8) Android Development] binhminhluc9h:
Hi guys,

I've got trouble with OTG and I believe that due to the firmware (my phone is Verizon, so I flashed m8MfirmwareTWRP3_0_0_1.zip from fastboot). It works well excepted OTG.

Could anyone give me some advices, thank you so much!
[One (M8) Android Development] BADA 187:
You shou flash the 3.1.1-0 (latest version)

And there are more reports of not working OTG.

For me im not able to use cable to pc (MTP).

Even with dev mode on and usb debugging.

Edit: did you say you flashed the M8m version? Isn't that for the M8mini? Or was it called M8s?
[One (M8) Android Development] binhminhluc9h:
No, I did not.

Last week, my phone was 1.12.xxx (base_band of LL), it worked well with MM's rom but when I updated to android N (RR and CypherOS), it had been rebooting very frequently. So I had to flash MM's firmware, it worked, but issue with otg (not like you, my device works well with cable to PC).

I tried to roll back MM's rom, it was stilI issue, so I guess that's due to MM's firmware (my current baseband is 1.14.xxx). Do you think that?
[One (M8) Android Development] nunclud:
Never mind, I found the system app remover in configuration, misc. Thanks
[One (M8) Android Development] jasio2k:
Mobile data working now

Just download AA_m8-Nougat-20170630_fix (Team8 kernel with fixed init.qcom.rc)

https://drive.google.com/file/d/0B2SG1vOm1yHmbkV5RldmWnpMT2s/view?usp=sharing

Edit1: One more thing first boot take a long time just wait, after boot install kernel auditor and setup hotplug, boot take loge because it is a race between three hotplug they try to run in the same time, so just choice with one you like and disable rest of them.

Bluetooth just need replace two files in, not like I write before.

download extract replace in recovery.

/system/lib/hw/bluetooth.default.so

/system/lib/libbluetooth_jni.so

https://drive.google.com/file/d/0B2SG1vOm1yHmNEktZ2E0VnR5NTA/view?usp=sharing
[One (M8) Android Development] BADA 187:
Im on baseband 1.29.xxx youbshould try upgrading.

If you reboot to bootloader what OS version do you have? Im on 6.12.401.4
[One (M8) Android Development] binhminhluc9h:
My OS is 6.21.605.3.

I think Radio (or baseband) depends on vendor of M8, my vendor is Verizon and this radio is the latest.
[One (M8) Android Development] BADA 187:
Hi, first of all thanks for your work.

To make it a bit easier a created a flashable zip for the files to replace to fix BT here is the link (full credit goes to you, you'll see when you flash the zip):

https://drive.google.com/open?id=0BwQ483KdH3rlaFlZdVJCbTFuTzQ

I also created a flashable zip for the stock kernel provided with RR 5.8.5 for the people that want to swap back if they come across any issues, here is the link:

https://drive.google.com/open?id=0BwQ483KdH3rlUjJQNWVwUm1YUnM

Forgot to mention, when reverting to stock kernel make sure you revoke root permission in magisk to Kernel Aduitor or any other kernel tweaker (uninstalling also works)

Finally we can use Team-M8 kernel again without any issues thanks to [MENTION=1197886]jasio2k[/MENTION] thank him for that!