yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] j_wiley68:
Seemed to work fine till my first sysem reboot

I'm new to this, so please be kind.....

My Phone:

AT&T-branded HTC One (HTCDev unlocked) --- M7_UL PVT SHIP S-0N RH

HBOOT-1.61.0000 --- RADIO-4T.35.3218.16 (T-Mob) --- OpenDSP-v35.120.274.0718

OS- eMMC-boot 2048MB --- Apr 14 2016,23:32:50.0

Android 5.0.2 --- Sense 6.0 --- Software -7.23.502.9 --- SDK API level 6.55

Kernel: 3.4.10-gfe9c241 and@AABM #1 SMP PREEMPT

Baseband: 4T.35.3218.16_10.33Q.1718.01L --- Build #: 7.23.502.9 CL502785 release-keys

Recovery: TWRP 3.1.0-0 w/ SuperSU binary

-------------------------------------------------------------------------------------------------------------------

I love my M7, but HATE AT&T, and their deeply-embedded Hotspot block. So I BYOD to TMO. I finally did my first ever ROOT on this phone last week, flashed the TMO radio, then my first ROM (Viper 9.0.0+Fix) that same night; last Tuesday. That ROM seems fine, but it was a little overwhelming for me (a newbie not used to all that control), plus it still didnt release my Hotspot.

I've been following this thread the last couple of weeks, and decided to give this one a try. I flashed NIGHTLY 4.27 on Saturday evening, and started going through all the settings, trying to familiarize myself, and make a few adjustments along the way. After about 10 mins and about 10-12 permissions and some "fu-fu" tweaks, during which time I got several ANR pop-ups about either Google or HTC apps, I rebooted.

Here's where the fun starts; roughly 10-15 secs after the home screen comes up after reboot, an ANR pop-up hits me with "HTC Backup has stopped", then the phone freezes, auto reboots, then gets locked into that cycle (?bootloop?). This went on for maybe 15 minutes the first time (while I was trying to read up on whether or not I just killed my favorite phone). I rebooted into recovery, and used my TWRP to wipe and re-install my stock back-up. Everything back to normal. Then I did some more reading, then got brave enough to try again a couple hours later. I did all the steps (backup, full wipe, flash the zip, reboot). Went a little slower through things to try not to screw it up again. Sure enough, once I did a system reboot, same results.

From what I did see of the ROM, I think I'm gonna love it, and it DID unblock my Hotspot quite well. I'm just gonna need a little help, please.
[One (M7) Android Development] alial04:
Did u make a clean flash?
[One (M7) Android Development] icxj1:
[MENTION=8009741]j_wiley68[/MENTION]

Boot that bad boy into recovery, backup viper 1, wipe that ?(factory reset), then select wipe- advanced wipe & select system. Flash aicp & gapps . Reboot & wait. When it boots up restart phone & set up. See if you have any luck.
[One (M7) Android Development] j_wiley68:
Like I said, I'm new to this stuff, but I did the normal wipe, then the advanced wipe via TWRP....is that sufficiently clean?

That's my plan this evening. I already Have 4/30.zip, and Gapps mini (which I didn't have the other day). I went back o stock ROM, so I have no Viper backup. Am I better off coming from Viper to AICP, than from stock? Also, the fact I have SuperSU with my TWRP, will that conflict with Magisk?
[One (M7) Android Development] icxj1:
Your fine with stock. Just make a backup. No need for SU Will cause problems. It's built into​ Magisk.

I flash everyday with nothing more then factory reset wipe. Never a bit of problems. But first time do clean, wipe system.

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

20170501 is up. if you got good internet download & flash it.
[One (M7) Android Development] j_wiley68:
I'm very grateful for the guidance, guys. Will post my outcome tomorrow. It's dinner time.

Have a Blessed one....
[One (M7) Android Development] j_wiley68:
Update:

Installed 20170430 + Gapps mini late last night. Seems to be all good. No issues with ANRs AT ALL. I'm so used to 4.4 and 5.0, these newer ROM displays remind me of Jellybeans and gumdrops....lmao. My "necessary" google apps seem to be functioning properly. My hotspot works great, I'm on it via my laptop as I type this. Even my TMO radio upgrade seems to work better now. The only minor bug that emerges occasionally is my speaker phone. Doesn't always seem to connect.

9.5 out of 10 **** Great work guys!!! (Sorry, but aint nothin perfect)

My next check is gonna be bluetooth, then OTA update, I'll try it this evening. Thank you again for the great work, and the tech support, my m7 loves it, and so do I.
[One (M7) Android Development] icxj1:
[MENTION=5944557]alial04[/MENTION] baby! :good:
[One (M7) Android Development] enricod75:
Thank you for your answer.

I updated, but I still have the same problems as before the update.
[One (M7) Android Development] icxj1:
If your getting random reboot and speaker noise your gonna have to wipe system and reinstall. Use 05/01 or wait till tonight for 02. Speaker phone and Bluetooth are bugs that come and go on the builds. I had problem on 04/30 but 05/01 was fine.

All part of it . That's why we call it user- debug.

I flash every nightly and test but I'm a Flash-0-halic.

Best thing to do is clean install now and then flash OTA nightly till you get a build that works for you, then stay on it and back it up if you decide to update.

---------- Post added at 09:06 PM ---------- Previous post was at 08:35 PM ----------

Bluetooth problem seems to fix itself on some (not all)of the nightlys after a couple pair ups & reboots.
[One (M7) Android Development] gehess:
Pardon my ignorance here, but what should I look for specifically in the change log to know when the latest security patches have been added?
[One (M7) Android Development] icxj1:
Good ??? For [MENTION=5944557]alial04[/MENTION] !
[One (M7) Android Development] gehess:
Addendum to my previous question: If there is nothing specific in the change log regarding the latest security patches, when are the security updates usually added to AICP? They're the main reason I update and I'm guessing I'm not alone in that.
[One (M7) Android Development] alial04:
They are being added when los merge them. Usually 4-8th :)
[One (M7) Android Development] zukers:
Gaps reinstallation is needed after every OTA?
[One (M7) Android Development] alial04:
if u have opengapps then no if something else maybe :)
[One (M7) Android Development] camambeou:
After flashed build 20170506, my device's got heat but this can be fixed by installed UMP. On this build, the toggle compass is not worked as expected.
[One (M7) Android Development] ★Michaelo★:
What's UMP? Is that an app or something? I don't have any problems with heating even while playing games

Wysłane z mojego One przy użyciu Tapatalka
[One (M7) Android Development] camambeou:
All about UMP, please read this thread: https://xdaforums.com/android/software-hacking/mod-ultimate-performence-blazing-fast-t3482317
[One (M7) Android Development] Alexiron:
Can't figure out how to install this. I had problems with TWRP and I am trying to fix them all day. Any kind soul that can help me out? My phone is unusable atm.
[One (M7) Android Development] ★Michaelo★:
What type of problem does you have?

Wysłane z mojego One przy użyciu Tapatalka
[One (M7) Android Development] Alexiron:
My device is MI4C.

I can always use MiFlash and get the MIUI8 Stable China so I have this as a backup plan.

I want to get the aicp nougat 7.1 installed but after countless tries with TWRP I just can't.

The problem at the moment is that after flashing the ROM and GApps I can't boot into the system -> TWRP boots into itself and the rom/gapps flash is undone.
[One (M7) Android Development] ★Michaelo★:
As you can see this is m7 rom thread not mi4c. Go to your sections to find a help or ask on Google+

Wysłane z mojego One przy użyciu Tapatalka
[One (M7) Android Development] camambeou:
It seems you used m7 rom for your mi4c, :D
[One (M7) Android Development] Alexiron:
I used the right rom but I couldn't find the official MI4C Thread and I think this (bug) happens regardless of the phone's architecture.
[One (M7) Android Development] gehess:
Considering the number of people here that have no problems flashing AICP and GApps, perhaps try the official site (http://aicp-rom.com/) or find a different thread that can help you. :good:
[One (M7) Android Development] FeelThePoveR:
Quick question does our device ROM/kernel have sdcardfs commits merged?
[One (M7) Android Development] icxj1:
File manager, root/config/sdcardfs. Might help, not sure.
[One (M7) Android Development] camambeou:
Update to 20170509, my device lost root. What is a solution for that?
[One (M7) Android Development] ★Michaelo★:
Turn off magisk hide and reboot your phone

Wysłane z mojego One przy użyciu Tapatalka
[One (M7) Android Development] camambeou:
Done, i reflashed magisk
[One (M7) Android Development] Pintagrinta:
Hi,

i've a problem with the dialer of the last nightly (is my first install, so i can't say if is a new problem):

when i receive a phone call I can't answer because no window appear.. also if i click on a contact the call start , i can hear the person, but no windows .. i can't hang up..

i've installed the gapps after a clean flash..

thank you
[One (M7) Android Development] ★Michaelo★:
Try a Google dialer and look if it will work

Wysłane z mojego One przy użyciu Tapatalka
[One (M7) Android Development] icxj1:
If you install a gapps with Google voice or dialer, I think you have to set one to default or disable one. Not 100% sure, just seems I've seen that pop up notice somewhere.

---------- Post added at 05:36 PM ---------- Previous post was at 05:23 PM ----------

Small gapps always works better on install. Way less bugs!!! Install the rest from library or flash big gapps after setup.
[One (M7) Android Development] Pintagrinta:
Thanks.. tried, but still not working..

Solved with a full wipe, clean install and installed "stock" gapps.

---------- Post added at 12:33 PM ---------- Previous post was at 12:19 PM ----------

Thanks.. tried, but still not working..

Solved with a full wipe, clean install and installed "stock" gapps.
[One (M7) Android Development] icxj1:
Haha, full wipe, clean install fixes 95% of any bugs reported on this ROM. Bcuz there aren't any. :)
[One (M7) Android Development] RoachPapa:
i can agree here, the latest versions work really great. My battery life increased also again, so it's better useable over a day :)
[One (M7) Android Development] camambeou:
The new browser, jelly, is forced close if i try to open a link in the new tab. How can i fix that?
[One (M7) Android Development] arhncmh:
Minor bugs to report

First time poster. Clean install with full wipe followed immediately by GApps Nano. My M7 GSM was AT&T prior to flashing. It's my daily driver and generally works fine. New behaviors to report are as follows :

1. Brief clicking or static sound when sending text while connected to my car's hands free bluetooth.

2. Wifi disconnects frequently, reporting as disconnected or disabled. Sometimes reconnects on its own. Have to reconnect manually.

3. Chrome browser sometimes won't initiate refresh when a new URL is selected. Need to refresh manually to initiate browsing.

4. Battery life is not very impressive, but then again this is a fairly old device.

Excellent ROM. Thanks for continuing support. :good:
[One (M7) Android Development] ★Michaelo★:
2. That's actually firmware related as far i remember

3. Blame Chrome for that. I never had this problem on Tuga, SWE Browser or Opera
[One (M7) Android Development] arhncmh:
Thank you for the quick response. Can you offer any suggestions for improvement? I'd definitely like to know how to make things even better.
[One (M7) Android Development] icxj1:
Battery optimization takes awhile, unless you have batt problem, life should improve. Bluetooth is also a little buggy to start. OTA flash the nightlys for a few days it'll straighten​ out. Mine has been smooth I don't even wipe cache&dalvik anymore.

And check the firmware main version, make sure it is the latest you can get. fastboot getvar all
[One (M7) Android Development] arhncmh:
Ok pulled the device info through fastboot as suggested. Here's what I've got (IMEI & Serial No. redacted):

C:\>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.61.0000

(bootloader) version-baseband: 4M.32.3218.06

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: (REDACTED FOR SECURITY)

(bootloader) imei: (REDACTED FOR SECURITY)

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0712000

(bootloader) cidnum: CWS__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 4028mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-0e2a13e5

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.142s

How do I know whether my phone's firmware is current, can be improved from this?
[One (M7) Android Development] icxj1:
Looks good. Main version disappear once on custom ROM. But it's probably ok because your bootloader and baseband are up to date.
[One (M7) Android Development] Pintagrinta:
Hi everyone.. my device reboot randomly about 2-3 times a day.. I've installed 3 different nightly OTA update, but still reboot..

After some casual reboot (not every reboot) the BT doesn't work ..

How can I check a system log file to try find a problem?

Thank you
[One (M7) Android Development] camambeou:
Use log that sh*t function in menu of aicp app
[One (M7) Android Development] icxj1:
if you get random reboot, you need to do a clean flash.
[One (M7) Android Development] camambeou:
Toggle srceenshot doesn't work, it just shows 'Partial screen ×××'
[One (M7) Android Development] icxj1:
Mine is working gr8.
[One (M7) Android Development] ckpv5:
Clean install ? It's working fine for me ...

Full screenshot toggle

Partial screenshot toggle

Or do you mean the label ? As it doesn't show Partial Screenshot but showing as Partial Screen-
[One (M7) Android Development] maciclazar:
Do you use htc dialer and htc messaging apps? If you do how did you get them to work?
[One (M7) Android Development] arhncmh:
Performed update via OTA last night and now I can't connect to any WiFi whatsoever. :(

Recharging my battery and giving this freaking thing a massive enema tonight.
[One (M7) Android Development] camambeou:
Yeah, that is. And it doesnot take a sreen shot
[One (M7) Android Development] icxj1:
Yes, give it a good clean flash. Seems to usually cure all. :)
[One (M7) Android Development] jur7.radi:
To take screen shot you must not just tab the screenshot icon..must hold it for 1-1.5seconds..try it..
[One (M7) Android Development] camambeou:
Thanks, exactly!!!!
[One (M7) Android Development] ckpv5:
No, they are icon theme
[One (M7) Android Development] arhncmh:
Looks like the enema worked. Now I'm going to be too scared to update again.:eek:
[One (M7) Android Development] icxj1:
Make backup before next OTA. If everything is working then uncheck wipe cache/delvik in OTA expand menu. Been working for me on 14 nightlys now.

And if you have problem go back to backup.
[One (M7) Android Development] camambeou:
The pre-build weather app doesnot locate exactly, on my phone, it always showed a location far from my current location and not locate new location
[One (M7) Android Development] RoachPapa:
sadly my battery life is lower again on version 15.05.2017. The best one so far was 10.05.2017, there i reached nearly HTC Sense times. I hope it will improve in the next again. What's weird, while trying to lower the CPU frequenzy it's always rebooting and the energy save mode wont lower the frequenzy too.
[One (M7) Android Development] ★Michaelo★:
Are you using high accuracy?

Wysłane z mojego One przy użyciu Tapatalka
[One (M7) Android Development] camambeou:
Of course

---------- Post added at 11:19 AM ---------- Previous post was at 10:42 AM ----------

I found the solution, set weather provider to 'Yahoo'. Openweather provider maybe has bugs
[One (M7) Android Development] icxj1:
They both have bugs at times but I have better luck with Yahoo also.
[One (M7) Android Development] arhncmh:
Will create a Nandroid for sure, but instead of OTA, my next approach to updating will be to simply download and flash the newest AICP Nightly and GApps through TWRP.
[One (M7) Android Development] arhncmh:
Update: Well, it seems at least some of the weirdness has returned. Yesterday I was having issues connecting to my Fitbit and car via Bluetooth. I couldn't even get Bluetooth to switch to enabled in settings. After clearing Davlik and Cache, I was able to get Bluetooth back. Strangely, it seems Bluetooth and WiFi want to cancel each other out. You can watch the icons in the notification area turn on and off in alternating fashion, only one working at a time, but not both. I haven't performed any updates.

Thoughts?
[One (M7) Android Development] icxj1:
Turn on BT, open file manager root/sepolicy and add permission. Turn BT off and back on & reboot. Then try. May have to reboot again leaving BT on. Next OTA leave BT on and don't wipe cache/dalvik.
[One (M7) Android Development] icxj1:
It's ✓ by default
[One (M7) Android Development] ninormalen:
I have problem with microphone. Other people can't hear me. Any one same problem?
[One (M7) Android Development] alial04:
Hi everyone could anyone that have experienced microphone bug in aicp and los grab a logcat i want to fix it but need logs.

Have a nice day and hit the like button if u like my work :)
[One (M7) Android Development] ckpv5:
No such problem here. I made/received about 16 calls yesterday.

BTW I'm still on May 17th build.
[One (M7) Android Development] alial04:
can u try to make a call and end with speaker and then try another call after and do a logcat
[One (M7) Android Development] ckpv5:
I see .. the problem is when using speaker ... hopefully this helps.

Remove zip extension after download.
[One (M7) Android Development] arhncmh:
I'm sorry but I don't understand what you meant by this. Could you please explain?
[One (M7) Android Development] camambeou:
Maybe he meant you should check permission of file sepolicy as below:
[One (M7) Android Development] Robertjm:
I agree with the previous post. The top location "/" is the root of your drive so root/sepolicy would simply be written as /sepolicy
[One (M7) Android Development] icxj1:
No need permission do not stick after rebooting.
[One (M7) Android Development] arhncmh:
I checked anyway and found that the read/write permission to this file was enabled.

My problem persists.

To date, the original unrooted OS had no issues with maintaining stable WiFi. Only after I chose to pursue unlocking the bootloader and installing custom ROMs has the issue started.

The only custom ROM I've found to have consistent WiFi signal-holding capabilities was one for Marshmallow, maintained by 9Lukas5 on this same HTC One M7 Android Development Forum. Maybe he could be consulted?

It may sound like I'm trying to have my cake and eat it too, and I am. I'd like to continue using my old phone as long as possible for sure. Maintaining the current OS is a key component of that.

I really appreciate the support that has been provided by this Forum. Without it,I would have been forced to buy a new phone years ago, something I'd like to put off as long as possible so my limited financial resources can be used elsewhere.
[One (M7) Android Development] icxj1:
Are you up to 2017.05.23 nightly yet?
[One (M7) Android Development] arhncmh:
I never got to the Google Drive file you suggested. My daughter's car A/C died so my cell phone had to wait.

What was special about that file you wanted me to flash?

I can just flash the latest AICP Nightly as you ask, but was it important for me to flash the other file first?
[One (M7) Android Development] icxj1:
Nothing special, just one I compiled. And Know there was no WiFi issues. I took it down bcuz this is [MENTION=5944557]alial04[/MENTION] page and I don't want him pissed at me. :)

No one else seems to b having the same problem, so just flash latest with standard wipe. No advanced option.
[One (M7) Android Development] gehess:
OK, I gotta ask, what does "Let the king reign alone" mean in the latest change log? :D
[One (M7) Android Development] saturday_night:
Here is my log where i reproduced the call speaker bug twice in a row and solved it twice in a row. Running todays rls (24.05.17 with microG instead of GApps) using "log that ****" option in aicp extras. The bug only happens if you end a call with speaker active so problem can be easily solved if you end a call without speaker, the next calls will have sound. I deleted the logcat until the point where i started the first call, calls where just 2-3 seconds to my mailbox and i also provided dmsg and kmsg. Hope this will help you to solve this bug.
[One (M7) Android Development] alial04:
hahaha Erwan Leboucher changed maintainer for axon 7 :D:D
[One (M7) Android Development] saturday_night:
Thanks for your fast test release with sig. spoofing [MENTION=5944557]alial04[/MENTION] going to test now.

So the result is... it´s working after some tries... I still needed to flash the signature spoofing patch for getting all microG services fully functional. So the git thing what you build in just enables the system security for support but doesnt enable it full. Toke me some time to figure that out haha. But now as you can see everything is working perfect. Thank you for your work. Again!
[One (M7) Android Development] wartomato:
Yup, the implemented the patch from MicroG and a switch to enable it...

As I read the MicroG site, even on crDroid you must enable the App setting yourself. We cannot do this, lol...
[One (M7) Android Development] saturday_night:
Hmm,thats not what i mean. To make it a little bit more clear, look at the pictures in this post here now. Second picture shows how it is just with the usual AICP Rom (without new git stuff) everything is working except that the System itself has no control over this and in the first picture you can see the unofficial aicp rom from today (with new git patch). You can see the system has ability to spoof signature and grant permission for it, but does NOT spoof the signature. I only got both to work while flashing the signature spoofing patch on top of unofficial from today. So maybe its not working like it should?
[One (M7) Android Development] wartomato:
Afaik Davor made a switch in AE you got to enable ...

Have you looked in there?
[One (M7) Android Development] saturday_night:
loool nope... going to now, didnt know that there is an extra switch hidden haha

Perfect, works without additional patch. Thanks for that tip ;p
[One (M7) Android Development] wartomato:
Well, we tried to make it similar to crDroid... (at least we hope so, haha)
[One (M7) Android Development] saturday_night:
Well i never used crdoid and i think there was only one single unoffical release for m7 in the last months so never did even know that they support sig. spoofing. But now its working in aicp so i´m happy haha
[One (M7) Android Development] AnierinB:
That's odd.. but i may be misinterpreting what you're saying so.. You still need to flash the patcher still? or just Micro G the magisk module?

Micro-G Nano Mod is the Open source lib's used to replace Google Services

Micro-G patcher uses Dexpatcher to open up Framework and Patch System to support Sig spoofing without Permission system
[One (M7) Android Development] saturday_night:
No, no patcher needed. I just didnt know that there was an additional switch to enable it in AICP Extras. Everything works like it should without patching the System. And if i understood it correct it will be in tomorrows official release.