yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] R1ghtC:
RR 5.8.5

Resurrection Remix v5.8.5 for m7 is released!

This build may be unstable(?), please send me bug report(adb bugreport) if You find any bug.

tathanhlam66 has removed his repos with the source code of the kernel, so LineageOS kernel is included in the build.

Magisk root method is bundled in.

Download Link: RR-N-v5.8.5-20171213-m7-Unofficial.zip(md5sum)

Recommended firmware: 6.04.1700.13 GPE

Recommended recovery: TWRP.me (3.0.0 and newer)

GApps:

Open GApps (7.1 - arm - nano)

Sources:

https://github.com/r1ghty/android_device_htc_m7

https://github.com/r1ghty/android_device_htc_m7-common

https://github.com/r1ghty/android_kernel_htc_msm8960

https://github.com/TheMuppets/proprietary_vendor_htc
[One (M7) Android Development] KingofTA:
you guys are awesome.
[One (M7) Android Development] ysnakkblt:
Deleted*
[One (M7) Android Development] R1ghtC:
[MENTION=8434761]ysnakkblt[/MENTION], Any bugs?
[One (M7) Android Development] ysnakkblt:
no, i did not encounter any problems
[One (M7) Android Development] R1ghtC:
Okay, thanks!

[MENTION=5876178]apknl[/MENTION] [MENTION=6897887]todogamer[/MENTION] [MENTION=5452544]elgreco29[/MENTION] [MENTION=1759876]n0j0e[/MENTION], can you test latest build, please?
[One (M7) Android Development] n0j0e:
sure! [emoji3][emoji106]

Send with much love & Android.
[One (M7) Android Development] n0j0e:
Ok, dirty flashed v5.8.5 over last v.5.8.4. Is running fine after completely recompile my Dark Infusion Substratum theme!

Without recompile i get an instant reboot when it try to open the extended reboot menu with long press on/off.

Now we need someone who build us with this kernel included in v.5.8.5 a dt2w kernel ^^

I know we can use Erfans kernel but i think it is better to stay on with this included kernel for security reason/fixes.

Edit: Erfan told me no kernel changes after ErfanKernel_v0.1. So flashed on rr5.8.5 and works.
[One (M7) Android Development] shadowalker2014:
Pls what the battery usage with this rom compare to aicp
[One (M7) Android Development] n0j0e:
Ok, after one week with v.5.8.5 and some spontaneous reboots after flashing Erfans Kernel v.0.1 i can say this is a daily driver for me! [emoji106]

Some bugs from 5.8.4 are fixed now eg LED options..

Send with much love & Android.
[One (M7) Android Development] todogamer:
I'm downloading the files, to try, I had not had time, the firmware is not necessary if I'm in the previous version of this RR rom true, I just need to flash the new update and the gapps and go?
[One (M7) Android Development] R1ghtC:
Yes, you can dirty flash this build.
[One (M7) Android Development] todogamer:
ready I've already installed it, I'll be trying to see how it looks ... very good and stable as a first impression..
[One (M7) Android Development] Winstarshl:
Can make for sprint?
[One (M7) Android Development] Sh4d0w_W4lk3r:
I've installed this build, everything works perfectly.

But sometimes the phone reboots randomly and when it does the battery dies.

What can we do??
[One (M7) Android Development] n0j0e:
Wait some days, i gettin also some reboots after flashing but now after 1 week no more reboots! Also shutdown phone when battery is low and charge it fully. Then start it and use it normally. I prefer to charge fully when battery is 40%.

Send with much love & Android.
[One (M7) Android Development] todogamer:
After a few days, the small bug I've seen is in the optimization of the battery, the last two builds are spent a little faster, another thing that was also present in the previous build is a small bug when activating the bluethoot which stays stuck and I have to restart the phone to activate it again
[One (M7) Android Development] gemmu:
Kernel panic with Spotify>incoming call>speaker phone

Installed the 5.8.5 ROM without Gapps or the firmware, with Trebuche as home app.

Phone crashes when setting a current phone call to speaker.

Ways to reproduce:

* Set Spotify to play music

* From another phone call to M7 playing the music

* Answer the call

* With home-button switch to home screen from Spotify

* Switch to current call by clicking the phone icon

* Set call to speaker phone from speaker icon

What happens:

The phone makes a beep sound and then reboots

What was expected:

Hear the call from speaker.

The error log shows about same as here: in https://xdaforums.com/showpost.php?p=74373228&postcount=709

[ 9603.173217] lpass_8960 lpass_fatal_fn: Watchdog bite received from Q6!
[ 9603.173248] lpass_8960: subsystem failure reason: SFR Init: wdog or kernel error suspected.
[ 9603.173278] Kernel panic - not syncing: lpass_8960: Resetting the SoC
[One (M7) Android Development] R1ghtC:
[MENTION=8820589]gemmu[/MENTION], thanks for the report, I'll try to fix it soon.
[One (M7) Android Development] fullmetal_nell:
[MENTION=7186186]R1ghtC[/MENTION] Thank you for this!
[One (M7) Android Development] Ghurch:
Dual or single sim??
[One (M7) Android Development] R1ghtC:
Single sim variant.
[One (M7) Android Development] R1ghtC:
[MENTION=8820589]gemmu[/MENTION], I compiled boot.img with a small patch maybe the error will disappear. Flash this file using TWRP.
[One (M7) Android Development] todogamer:
try to improve the battery a bit in the next, and apologize for the inconvenience
[One (M7) Android Development] gemmu:
Thank you for you efforts, but the fix didn't help. To reiterate:

* TWPR: Wiped absolutely everything

* Install RR-N-v5.8.5-20171213-m7-Unofficial.zip

* Install image boot.img

* Reboot

* Download and install F-Droid (f-droid.org)

* F-Droid install Yalp-store

* Yalp-store install Spotify

* Run Spotify and play some nice song

* Call from another phone

* Answer the call from popup on m7

* Activate the ongoing call window (from pull down menu)

* Select speaker

crash and reboot

For what it's worth: I also tried the Android Ice Cold Project ROM available on forums and a self-built Lineage OS. With all of these I'm able to reproduce the reboot problem.

You do recommend firmware: 6.04.1700.13 GPE. I'm no sure whether I have that or not, and is it even possible to install on a scandinavian or EU version. I may try that next.

EDIT: I installed the recommended firmware image + the above again and the problem is still there. This may very well be a problem with all the android 7 versions on m7.
[One (M7) Android Development] tohh:
[MENTION=7186186]R1ghtC[/MENTION] Thanks for the update.

I have been running it for a week now. No issues but a couple of reboots. I tried to dirty flash it, totally not working on original firmware. I tried the firmware update in the post but ran into CID problem so I used the no red firmware linked to earlier in this thread. Now it works like a charm. I don't know if its the firmware update or the new build but I got rid of the call bug that required cumbersome ways of answering call.
[One (M7) Android Development] the-blind-bandit:
I'm not having as many reboots as older versions. Thanks a lot man ? If I wasn't skint I would donate.
[One (M7) Android Development] R1ghtC:
OMG, maybe first github commits for official RR Oreo is here!
[One (M7) Android Development] n0j0e:
Sweet!

Send with much love & Android.
[One (M7) Android Development] occtec:
Does that mean there's an update around the corner, lol :D
[One (M7) Android Development] todogamer:
I have a problem when using the option of debugging usb android, although this is activated the computer does not recognize me, I have installed several drivers and I have tried different cables, someone who can help me, I am using the latest version of this ROM resurection remix
[One (M7) Android Development] todogamer:
Already solved
[One (M7) Android Development] ShawnLukeLee:
finally dowload success
[One (M7) Android Development] todogamer:
I must say that although the rom is very good and stable, sometimes I'm having random reboots, also sometimes if I try to listen to an audio whatsapp and accidentally plug the sensor and then uncover it when I want to play the audio again this does not allow me and the cell enters a small bug until it restarts. Thank you.
[One (M7) Android Development] tohh:
Bluetooth

I've never used Bluetooth a lot but now I have got a speed control device in my car that connects to an app. I now see periodically that it can't connect. I try to disable/enable Bluetooth but it happens that the Bluetooth switch in settings is on but if I look at the Bluetooth icon in the notification area it is off...and the app can't find the device claiming Bluetooth is off. The app ask for permission to turn Bluetooth on but then it just hangs, never actually completing turning Bluetooth.

As I said it is periodically and normally solved with a reboot or two.
[One (M7) Android Development] Hopie:
recommend firmware only 500kb ?
[One (M7) Android Development] R1ghtC:
Hello, I compiled Resurrection Remix Oreo for HTC One m7. I do not know about the operability of this system because I do not have this phone. Test, please, and send me bug reports. Thanks for [MENTION=3970640]tathanhlam66[/MENTION] and [MENTION=5944557]alial04[/MENTION] for working on Android O for HTC One m7.

ROM: https://www.androidfilehost.com/?fid=962187416754461963

md5sum: https://www.androidfilehost.com/?fid=962187416754461964
[One (M7) Android Development] vulturoi:
Remain stuck on boot..... nothing else

Any ideea how to stop it and to go again in recovery.?... or I must stay untiil battery will be over?
[One (M7) Android Development] R1ghtC:
Hold power button
[One (M7) Android Development] R1ghtC:
Also you can help me. During the boot process, connect the phone to the computer and using adb execute "adb bugreport" command. This will help me to define the error and fix it.
[One (M7) Android Development] saturday_night:
Hey, you shouldnt use the source from tathanhlam66 anymore he doesnt own the device and didnt work on O long. Also the source from alial04 is an old one he dont own the device anymore too. You should ask icxj1 if you can use his source, he started where alial04 stopped and is working on it for 2-3 months now and he made huge progress, there are only a few bugs left an he is working every day on it.
[One (M7) Android Development] R1ghtC:
[MENTION=7715118]saturday_night[/MENTION]

Do not worry about this, I now need the system to boot to continue working on errors. I take corrections from many developers and icxj1 will be among them. Perhaps later I will purchase this phone and it will be easier for me to work on Resurrection Remix.
[One (M7) Android Development] saturday_night:
Sorry that i tried to help, but just take stuff from others isnt a nice and gentle way.
[One (M7) Android Development] R1ghtC:
Your post helped me to know about icxj1, I know that it's not very good to take things from others, but I just do not know about m7 bugs and I take fixes from others.
[One (M7) Android Development] the-blind-bandit:
I'll give it a shot as soon it's I've backed up. Will adb bugreport output in terminal so it's just a copy paste job? Also flashing this won't encrypt my internal storage will it, it'll just take me a lot longer to get around to it if it does ? BTW what phone are you using at the moment?
[One (M7) Android Development] R1ghtC:
Thanks, adb bugreport will create zip archive on your PC. Now I'm using OnePlus 3T.
[One (M7) Android Development] the-blind-bandit:
Same. I still always have my m7 with me as well, it helps with 2 step verification a lot when switching ROMs ?

Do you know if Oreo will encrypt my internal storage though, I've had this happen before and it can really make a mess of everything?
[One (M7) Android Development] R1ghtC:
Internal storage should not become encrypted, but it's better to transfer ALL data to PC.
[One (M7) Android Development] samhhmobil:
[MENTION=7186186]R1ghtC[/MENTION]

I did so, but that didn't work. The system seems to boot correctly, boot animation is working, but "adb bugreport" is only -waiting for device-. And then boot animation stops (the four colored jumping balls are stopping) and the system is rebooting.

No adb access until this time is possible.

Hope, this information is helpful for you.

samhhmobil
[One (M7) Android Development] the-blind-bandit:
Guess I'll get copying then, I'll just copy twrp and TB backups it it will take forever. Back soon

---------- Post added at 08:11 PM ---------- Previous post was at 07:30 PM ----------

I've got the same problem as sammobil but isn't that because you have to allow usb debugging, if it is how can we do this without being able to boot?
[One (M7) Android Development] peter1120:
Uhh . Me too here stock on boot .recovery twrp 3.2.1.0 & didn't flash gapp I'll try after flashing rom & flash gapp
[One (M7) Android Development] saturday_night:
It is good, if you asked him for using his stuff, and now its nearly bug free. He is still working on it daily to get the last few bugs out of there but the first (unofficial) AICP Oreo build which is ready as a daily driver is out since yesterday evening.
[One (M7) Android Development] oxz1692:
where can i download this rom?
[One (M7) Android Development] R1ghtC:
https://xdaforums.com/htc-one/general/oreo-roms-international-htc-one-m7-t3666965
[One (M7) Android Development] Mastacheata:
I just unretired my HTC One while my HTC 10 is going into repair for a few days.

First of all, thanks for still maintaining a ROM for a 3 year old phone. I'm sure there are more exciting devices around where one could invest their capabilities.

Why I'm here is to report about a strange phenomenon with the NFC function in your RR-N-v5.8.5-20171213 build.

I got the recommended firmware, then installed the "stable" build linked from the first post, matching Gapps from 2018-03-01 and Magisk v16 and waited for a whole 15 minutes to do the first boot. (I didn't remember it took that long to do a first boot after wiping everything)

Now the NFC function was disabled in settings and turning it on only greyed the option out for a few minutes without any success. That seemed strange and I couldn't find any reports about that happening with that build.

Via some logcat magic and searching for random hopefully unique parts of the output concerning the NFC problem I was able to find this blog post by someone who tried updating from CM12.1 to CM13.

In the blogpost the person reported that the CM12.1 build reported a missing firmware library, but could enable and work with the NFC module anyways, whereas the CM13 build had that exact firmware library installed but could not do NFC.

After removing the firmware library his NFC worked again and the same thing worked for me.

The path has once more changed in LOS14.1 or maybe he reported the changed path wrongly, but if you remove or rename /system/vendor/lib/firmware/libpn544_fw.so and then perform a reboot, NFC works just fine.

Maybe that's worth a try for your Oreo build as well.

No idea why noone else has complained about that or found this problem at all.

Why would the NFC firmware try to update itself if it's lying in the system partition anyways? Could the normal Android system even modify that path or wouldn't that rather require a full system update since well, the system partition is usually read-only.

My Logcat output (only relevant parts): https://gist.github.com/mastacheata/ef619babeece40f7d92271330ddf7a8a

The blog post that had my solution (minus the correct path): https://blog.tuxinaut.de/2016/12/01/fix-nfc-for-htc-m7-under-cyanogenmod-13/
[One (M7) Android Development] the-blind-bandit:
Isn't it 5 years old now?
[One (M7) Android Development] Mastacheata:
Right. Even better. (no idea what I mixed up there, I own that phone for at least 4 of that 5 years myself.)
[One (M7) Android Development] wOrHeR SvK:
Hey guys,

I would like to completely remove superuser binary because of mobile pay app. Hiding through magisk won't work, uninstalling through magisk didn't work, installing supersu through recovery and then complete unroot in SuperSU app did not work also. Any ideas how to completely get rid of root or make the app work anyway with root? Btw. it's this app

Thanks for any advice,

Cheers
[One (M7) Android Development] Mastacheata:
Have you tried the Magisk Uninstaller?

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 (look for the attachments on the first post)
[One (M7) Android Development] peter1120:
R1ghtC. Just let you know still many people waiting for your RR 6.0.0 rom .cause we don't have S-off device so can't use 8.1rom based on ASOP it Will very buggy like others said.thanks very much for your work
[One (M7) Android Development] Umbabaraumba:
How to overclock cpu? SetCPU.apk not working...
[One (M7) Android Development] slow_speed@att.net:
Error executing updater binary in zip

I'm using TWRP. Went to Install, selected rom zip and got the following:

Warning: No file_contexts

E3004: This package is for device: m7, m7att,m7tm0,m7ul; this device is .

E:unknown command [log]

E:Error executing updater binary in zip '/sdcard/RR-0-v6.0.0-20180220-m7-Unofficial.zip'

Error flashing zip '/sdcard/RR-0-v6.0.0-20180220-m7-Unofficial.zip'

Updating partition details...

...done

Then I get a TWRP menu message:

Failed

Don't know if it makes any difference, but mine used to be the Sprint model.

Thanks.
[One (M7) Android Development] Freekolo:
Hello R1ghtC,

Thank you for your job! Personnaly I cannot finalise the installation, because of a bootloop . A nice boot animation of four jumping balls, thats all for now.

Many tries, erased all files could get wrong install...

I hope you'll solve this problem and remix a new build.:o

Last mind: Would it be needed to flash RUU before new attempt ?
[One (M7) Android Development] M7er4life:
Same problem here :crying:

And you got dam right funny jumping balls:laugh:
[One (M7) Android Development] Nuroxy:
Sorry I am new here. Can I use this rom for my device ? S-On, unlocked, eu device, installed twrp. 1.41.401.8
[One (M7) Android Development] tarx1000:
I assume you guys are S-ON? If so, you need to flash the kernel (boot.img from the zip) trought fastboot.
[One (M7) Android Development] Bahnt:
I have just replicated your error by trying to install the ROM from /sdcard/ . When I installed the ROM from /sdcard/Download/ installs without error but does reboot after a second. The second reboot I had about 2 minutes of the 4 bouncing spheres. I tried a few more time but got different lengths of time before rebooting.

I also tried to factory reset in TWRP after install but there was no change.

I have gone back to the ViperOne ROM I had for the M9 that works with only a few bugs. I believe I found it here:

https://xdaforums.com/showthread.php?t=2334294

I would recommend updating TWRP to a newer version. I am currently on V 3.2.1-0 found here.

https://dl.twrp.me/m7/twrp-3.2.1-0-m7.img.html

Oops. Just noticed I've been using RR-O-v6.0.0-20180220-m7-Unofficial. Just downloading V5.8.5 to test.

(EDIT) Also can someone explain what "S-ON" means from the previous post? All I found was something to do with the HTC Sensation.
[One (M7) Android Development] R1ghtC:
[MENTION=6422707]Bahnt[/MENTION] S-ON is a security flag that prevents writing to a hidden section of the phone’s memory. With S-ON, you cannot replace the firmware with the version from m7 GPE.
[One (M7) Android Development] lucyr03:
Just in case anybody needs ResurrectionRemix Nougat with latest security patch, check my signature.
[One (M7) Android Development] manolis cha:
I use this rom (RR-N-v5.8.5-20171213-m7-Unofficial). It is awsome but I have a problem with the Bluetooth. When I restart the phone the Bluetooth works well but after some minutes it stops and I can not switch on/off. An another bug is that sometimes the phone restarts without triggering from me. [MENTION=7186186]R1ghtC[/MENTION]
[One (M7) Android Development] serenityx888:
Hello R1ghtC! I have S-ON and I flashed boot.img from zip file through fastboot like you said but still bootloop (RR Oreo)
[One (M7) Android Development] VenomB13:
Nice ROM bro

Thank you for publishing ! Only problem i had was with installation ( error 7 in twrp ) and i had to change the script, simple tutorial here : https://youtu.be/VCqROwIGLLE

After that everything installed, I also updated magisk to latest version because current was very unstable...
[One (M7) Android Development] Mark._.1234:
這在 HTC m7 802d 上有效嗎？
[One (M7) Android Development] ironman76:
great Rom!!!!
[One (M7) Android Development] fdgd1998:
Can you make the htc stock camera to work? I could be awesome if you can port it with slow motion working. As thw stock gallery app and editor...
[One (M7) Android Development] ddrulze:
Rom is running great and smooth but the kernal is not optimized. Its consuming too much power . Does anybody have a custom kernal for this rom built ?
[One (M7) Android Development] apknl:
[MENTION=7186186]R1ghtC[/MENTION]

Can you please add in your device config android_device_htc_m7-common/m7-common.mk to enable Google Assistant for your next release build?

# Enable Google Assistant

PRODUCT_PROPERTY_OVERRIDES += \

ro.opa.eligible_device=true

ro.product.model=Pixel XL (this may be avoided and changed manually in build.prop after flashing also)...

Please check at your end also in case do you think the above will help to enable google assistant by default otherwise the current way is to tweak the build.prop manually to get the feature of google assistant.
[One (M7) Android Development] lazareth1:
YouTube crash

[MENTION=7186186]R1ghtC[/MENTION]

Logs attached right after my phone crashed when starting to play a video on YouTube app.
[One (M7) Android Development] lazareth1:
Random crash

[MENTION=7186186]R1ghtC[/MENTION]

Logs attached for when phone randomly rebooted when screen was off and user was not using phone. You might have to scroll back about 1 and a half hours from the end of the file to find it.
[One (M7) Android Development] archioptrics:
hi i am about to try this rom which gapps do i use for my developer edition arm 7.1 ?
[One (M7) Android Development] apknl:
Random Crash-Error Logs Attached

[MENTION=7186186]R1ghtC[/MENTION]

Please find the error logs for Random Crash. Device gets shutdown automatically and when it reboots after automatic shutdown, then weather in lock screen and status bar does not show up until one restart systemui...Hope this gets fixed in next releases..
[One (M7) Android Development] R1ghtC:
New build 10-12-2016

Check out this new build: RR N v5.8.0 - 10-12-2016(md5sum)

Changelog in first post.
[One (M7) Android Development] isouzz:
what's the bug in tihs rom please ?
[One (M7) Android Development] brabusbg:
Do you think anybody could tell 3 hours after release time ☺️
[One (M7) Android Development] R1ghtC:
Antutu Benchmark, RR v5.8.0 10-12-2016
[One (M7) Android Development] KS1VA:
Can I Dirtyflash new version?
[One (M7) Android Development] TudorBledea:
Flashing the newest version right now, will come back with a reply if I encounter any problems.

BTW : in the changelog you said you added OTA, does that mean that I'll be able to update from the settings without flashing or something like that ? I'm new to flashing, sorry if this is a newbie question.
[One (M7) Android Development] archioptrics:
for some reason i cannot hear when i make a call or receive one is there a solution to this
[One (M7) Android Development] R1ghtC:
Set selinux to permissive
[One (M7) Android Development] apknl:
[MENTION=7186186]R1ghtC[/MENTION] -- By applying substratum theme with substratum Legacy App , if I trigger any action for the function- Power Menu (by using long press power button or through single tap or double tap through hardware buttons or through Fling actions) and function - Kill foreground app through hardware button , device gets rebooted and eventually unable to use Power Menu and kill foreground app until and unless restored to system theme.

Hopefully this device gets eventually RR-N OMS unofficial support as already lots of other devices are getting RR-NN-OMS releases-

https://androidfilehost.com/?w=search&s=ResurrectionRemix-N-OMS&type=files

https://github.com/ResurrectionRemixOMS7

Thanks again :good: for your work and support to this device and hopefully next release will have OMS commits:)
[One (M7) Android Development] R1ghtC:
Soon...