yashsingh1/xdaforums huggingface dataset:
[One (M9) Original Android Development] Claymore1297:
#### New build is up!! ####

the build is containing mainly the following:

-minor fixes

AICP features:

-themes feature almost completed

-Slim recents

-Batterybar

-Statusbar Logo

-CPU info

-Screen Off animations

-System UI tuner

-System app remover (root only)

-Changelog

-ROMstat feature

-Log it (root only)

-AE Settings

-OTA App **

** you will/can receive future updates with the buildin OTA-app

Enjoy!
[One (M9) Original Android Development] ayoobelmasry:
Thanks for the new build.

I can now send you a log of the fault when I try to invoke BBC Mobile Weather, where it hangs while it is trying to get the device location. I think it uses the WiFi provider info, rather than the GPS data as any app. that depend on the GPS device sensor works without any problem. Here is the log file:
[One (M9) Original Android Development] Claymore1297:
So LogIt in AE seems to work ;)

Expect another build today...
[One (M9) Original Android Development] Claymore1297:
Uploaded another build - can you try with this one and report inkl. logs.

You can install it with OTA-app. :)
[One (M9) Original Android Development] ayoobelmasry:
1 No OTA-app. exists in this new build.

2 Fault of Auto-location still exists.

3 AICP Logit does not work in this build, it even crashes AICP Extras. Also other log acquisition options do not work.

Hope this helps.
[One (M9) Original Android Development] Claymore1297:
OTA-app is in AE.

Well without logs we can't anything, but have no time next days...
[One (M9) Original Android Development] ayoobelmasry:
It is not there, I checked several times.
[One (M9) Original Android Development] tombbb:
I wiped all, clean installed build 1104, no OTA.

But it is ok, I'll wait next build.
[One (M9) Original Android Development] ayoobelmasry:
I have done it again the way tombbb suggested:

Clean install with today's build downloaded the usual way, flashed it. Now the AE Logit is working.

Still bbc.mobile.weather hangs > log file is attached
[One (M9) Original Android Development] Claymore1297:
thanks for the logs ... the crash is vanished here, so this helpful tho! :)

but I see some lowmemorykiller errors, which we are not using strange ... :confused:
[One (M9) Original Android Development] ayoobelmasry:
Sorry for the misunderstanding, the Auto-location is still not working for all programs that need it by using the WiFi provider info.
[One (M9) Original Android Development] Claymore1297:
#### New build is up!! ####

the build is containing mainly the following:

-minor fixes

-november ASB

AICP features:

-tons of features added - check out by yourself ;)

Enjoy!
[One (M9) Original Android Development] ayoobelmasry:
Thanks for your continued and tireless efforts to get Android-11 to HTC One M9, that is great of you and your team.

Unfortunately, the Auto-Location problem does still exist in that new build, please see log:
[One (M9) Original Android Development] Claymore1297:
seems to me a permisson issue. Are you sure, you gave this app the needed perms?
[One (M9) Original Android Development] ayoobelmasry:
It asked for it and was granted for (All The Time). It is not the only application that got that problem. If you need me to send a log for a different app. that has the same problem, I will do.

In builds of Android-10, all those apps work without any problem at all.
[One (M9) Original Android Development] Claymore1297:
well it is possible, that those apps are not compatible with android11
[One (M9) Original Android Development] ayoobelmasry:
I don't know, this is for you to make an educated judgment, it is your area of expertise :)
[One (M9) Original Android Development] gera.aldo:
I experience sudden shutdowns while my battery power is high and also when the phone gets hot, it takes forever to boot.
[One (M9) Original Android Development] Claymore1297:
### New build is up!! ####

the build is containing mainly the following:

-much more AICP stuff...

Enjoy!
[One (M9) Original Android Development] tombbb:
Just FYI, no OTA in AE in latest build.

Full wiped and clean installed.
[One (M9) Original Android Development] ayoobelmasry:
With regard to the Auto-location issue, I found out something which is a bit strange:

I had a TWRP data backup from when my phone was running aicp rom-15 (android 10) with apps requireing auto-location were running very well. Then I flashed aicp rom-16 (android 11) without flashing the NickGapps, but instead I restored the TWRP data backup, then Bingo!! every thing works very well espicially the auto-location apps.

Only one snag that is Youtube app does not work at all, re-installed it several times but to no avail.
[One (M9) Original Android Development] Claymore1297:
good to know, so maybe more some gapps-issue or something, but not a ROM issue. Youtube works fine here - will push a new build maybe today...
[One (M9) Original Android Development] ayoobelmasry:
Is there an OpenGapp version for android 11?
[One (M9) Original Android Development] wartomato:
OpenGapps are in a very early stage. Still figuring out glitches and permission issues, but...

https://sourceforge.net/projects/opengapps/files/arm64/test/
[One (M9) Original Android Development] ayoobelmasry:
Thank you very much.

I have installed the pico test version onto the AICP-16 ROM. It solved the issue with the Auto-location immediately, but unfortunately, the standard Youtube still does not work. I tried, as well, the micro version and it yields the same results. Since the outcomes are the same as those of Android-10 Gapps, so I decided to keep that test version and will be ready to carry on tests for any improved versions of Gapps.
[One (M9) Original Android Development] Claymore1297:
### New build is up!! ####

the build is containing mainly the following:

-SELinux enforce *

-performance related UI improvements

-improvements in Gallery App

-added back OTA-App

-much more AICP stuff...

Enjoy!

* if you get some weird issues - it could be SELinux related, so just shoot us out a log, and we could maybe fix this very easily
[One (M9) Original Android Development] boredherobrine13:
Just wanted to let everyone know that I have YouTube working and all other Gapps by using NikGapps. I'll probably switch back to OpenGapps when they're ready, but for now it's working well. You can find the forum post for NikGapps here.
[One (M9) Original Android Development] ayoobelmasry:
The phone goes to power off (not reboot) even battery level is at 55%, this happens quite often and at different battery levels. It can not switched back on unless I attach the charger.
[One (M9) Original Android Development] Claymore1297:
sounds like a battery issue to me...
[One (M9) Original Android Development] ayoobelmasry:
But why battery level is high enough (55%), it should be less than 15% when it switch itself off and after giving a warning of low battery.,also this does not happen concistantly, as sometimes it is less than 30% and the phone works normally.
[One (M9) Original Android Development] Bu'dge:
@Claymore1297 . good day sir, i too have been having this issue since my update to aicp 16(android 11), on 15 with the weeklies i didnt have any issue and my battery if farely new, a couple months old, i experience shut off, unsightly restarts, black outs, and when the blackouts happen, if not for the display on on plugin feature, the phone is useless.

Other issues are, sound distortions especially playing voicenotes with my ring setting on normal (ring) there are constant pings, frequent system ui crashes, i wont make mention of the applications because not all application are compatible with android 11, otherwise so far its seemless,
[One (M9) Original Android Development] Claymore1297:
oh guys, please report such things earlier ... ;-)

We will check it out and a log would be great...

and @Bu'dge no need to call me sir ;)
[One (M9) Original Android Development] Bu'dge:
Here are some logs taken with logit! hopefully it captured all the necessary information needed to do something about the issues
[One (M9) Original Android Development] Claymore1297:
### New build is up!! ####

can you check if those issues still appear...

Enjoy!
[One (M9) Original Android Development] Bu'dge:
just installed and running right now, give you the results later
[One (M9) Original Android Development] Bu'dge:
@Claymore1297 . Top of the morning to you.....so after a little over 24 hours of normal usage, i had maybe three shut offs and the sound error remains the same. have some more logs also for your perusal.
[One (M9) Original Android Development] Claymore1297:
so you are telling me, that the system only runs 8 hours and then shutdown?

My test device here runs von about 50 h without issues... strange.

EDIT: how can I reproduce the audio issue?
[One (M9) Original Android Development] Bu'dge:
Yes, thats the time it runs for, i am working in an area in which the network signal is mostly poor, so i guess that drains the battery faster, along with the age of the phone, 7 years running is alot, and it you who had given it new life along with a few new parts.

The Audio: I mostly keep my phone on vibrate, whenever i set it to ring, and playing vnotes in whatsapp i get the constant pinging sound whilst playing, however i now realize that it is only happening in whatsapp so i guess its that program's fault.
[One (M9) Original Android Development] ayoobelmasry:
Hello,

The device has gone to power off 2 times so far, once at battery level 67% and another one at 43%. I have taken 2 logcat files just after I plugged in the charger and switched the device back on. I do not know if these 2 files are valid ones to show the fault. It is not possible to predict the occurrence of the fault before hand in order to start the logcat recording.
[One (M9) Original Android Development] tombbb:
Just FYI, no battery issue on my m9 with latest build or previous one. I had my battery replaced 1 year ago.
[One (M9) Original Android Development] Claymore1297:
#### New build is up!! ####

the build is containing mainly the following:

-upgrade to AICP 16.1 -> downloadlink has changed now!!

-minor fixes

-december ASB

AICP features:

-pulse

-snap cam-app

-new gallery-app

Enjoy!
[One (M9) Original Android Development] boredherobrine13:
Hey @Claymore1297

Keep up the good work. I've been using the latest build and NikGaps Stock. Unsure if related to Gapps or not, but not sure how it would be, but I am experiencing repetitive crashes. Every time the "JamesDSP" thing launches and gives the little push notification, the phone immediately freezes and crashes, then attempts to reboot. Any thoughts on what might cause this?

Edit 1: I'll try to get you some logging if I can but it's very hard since the thing launches a few minutes into the phone being turned on max, sometimes far less.
[One (M9) Original Android Development] Claymore1297:
Logs please. Works fine here. Did you install/changed any audio related things?
[One (M9) Original Android Development] boredherobrine13:
Not that I'm aware of but I'm gonna try a clean install tomorrow with a smaller gapps package. Also, here are two logs which were taken via adb logcat for the ~30 seconds the phone is on and logging and then I try to open an app or settings or something and it crashes. The first one (log.txt) is with Warnings and above, the second (log2.txt) is unfiltered. Let me know what else I can do or if you see any app there you think may be causing it.

Edit: Discovered I can't upload .txt files, so here's a google drive link to the log.txt files
[One (M9) Original Android Development] Claymore1297:
Where are the log files?
[One (M9) Original Android Development] boredherobrine13:
I realized that it let met select them but not upload them for some reason. Had to put em on google drive. The original post is updated with the link now, sorry.
[One (M9) Original Android Development] Claymore1297:
sorry, I can't find any crash in your logs...
[One (M9) Original Android Development] boredherobrine13:
Here is a video of the behavior that corresponds with those logs. By the way, while I tapped the chrome icon in the video, this crash also occurs randomly when tapping around settings, the news feed, or basically anywhere else.

With that said, I suspect this may actually be a gapps issue and will try with different gapps to see if the problem reoccurs.
[One (M9) Original Android Development] oneofthekaramosowbrothers:
Maybe it is your external SD card just in case you have one. My SD card was corrupted and led to frequent crashes of the phone.
[One (M9) Original Android Development] boredherobrine13:
Now that you mention it, I do actually have an external sd card in there. Hm. Maybe I should try again with the NikGapps package and see if the issue still occurs or not.

EDIT: I tried removing my SD card, clean install with same version and same NikGapps + Addons, no issues so far! I think it was the SD card causing this issue. Thanks so much for the pointer!
[One (M9) Original Android Development] David _J_D:
How would it run without gapps, as I use F-Droid as my main (open) source for apps.
[One (M9) Original Android Development] Claymore1297:
I see no issues here...
[One (M9) Original Android Development] symetrk:
Hi, new here... (though not completely new to custom ROMs, so some experience with flashing etc). Have been using Lineage for a while now but the echo issue (mentioned also elsewhere in this thread) is really problematic.

I've tried a few versions of this AICP ROM because it seemed, from other comments, that it might be fixed, but each version - I tried multiple builds - screwed up my microphone somehow such that it was unusable - impossibly low volume and constant scratching / noise / distortion.

I haven't seen anyone else mention this so it may be a problem specific to my device, but I thought I'd mention it since the microphone works fine in Lineage (though with the echo problem for the other party on the call). And no, my thumb was not over the microphone... I checked :cool:.

It does work with wired headphones, but it's kind of important that the on-device microphone works, as I don't always have headphones with me or plugged in.

Has anyone else had this problem? Is there a solution? I'd be happy to use AICP if I can get it fixed (and the echo problem is also fixed), as seems to be a great platform.

Thanks in advance, much appreciated! Awesome work in general!
[One (M9) Original Android Development] Douranji:
Hi @Claymore1297,

first of all let my thank you for your great work. I just installed AICP 16.1 (build from 23.12.2020) on my M9 and I love it! (y)

However, I ran into the same problems that @Bu'dge reported and saw repeated crashed. When looking at the files in /data/tombstone and comparing it to the logs @Bu'dge sent, it seems that the reason is the same:

LineageOS Version: '-20201223_131653-'
Build fingerprint: 'htc/himauhl_htc_europe/htc_himauhl:7.0/NRD90M/869604.3:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2021-01-05 18:27:49+0100
pid: 11910, tid: 11933, name: netd >>> /system/bin/netd <<<
uid: 0
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'Scudo ERROR: invalid chunk state when deallocating address 0x00799ee1d8f0

backtrace:
#00 pc 000000000004e4e4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: 7d383e687cc90e8abdb93ac81c34f80e)
#01 pc 00000000000429e0 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::die()+8) (BuildId: 7d383e687cc90e8abdb93ac81c34f80e)
#02 pc 0000000000043088 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::ScopedErrorReport::~ScopedErrorReport()+32) (BuildId: 7d383e687cc90e8abdb93ac81c34f80e)
#03 pc 00000000000432c4 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::reportInvalidChunkState(scudo::AllocatorAction, void*)+76) (BuildId: 7d383e687cc90e8abdb93ac81c34f80e)
#04 pc 00000000000446fc /apex/com.android.runtime/lib64/bionic/libc.so (scudo::Allocator<scudo::AndroidConfig, &(scudo_malloc_postinit)>::deallocate(void*, scudo::Chunk::Origin, unsigned long, unsigned long)+340) (BuildId: 7d383e687cc90e8abdb93ac81c34f80e)
#05 pc 00000000000a1ea4 /apex/com.android.resolv/lib64/libnetd_resolv.so (SocketClient::decRef()+132) (BuildId: 5ea1daf2f990c1d8dbb4239680eecc82)
#06 pc 00000000000a0020 /apex/com.android.resolv/lib64/libnetd_resolv.so (SocketListener::runListener()+1696) (BuildId: 5ea1daf2f990c1d8dbb4239680eecc82)
#07 pc 000000000009f970 /apex/com.android.resolv/lib64/libnetd_resolv.so (SocketListener::threadStart(void*) (.cfi)+120) (BuildId: 5ea1daf2f990c1d8dbb4239680eecc82)
#08 pc 00000000000b1fe8 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 7d383e687cc90e8abdb93ac81c34f80e)
#09 pc 0000000000050540 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 7d383e687cc90e8abdb93ac81c34f80e)

I've installed Magisk and AFWall+ which could be related somehow. Any idea what could cause that?

Thanks!
[One (M9) Original Android Development] symetrk:
Well, I don't know what was up with this. Ran into some other issues with Lineage and ended up giving the latest build here a spin and lo and behold, it works perfectly! No echo problem either. Brilliant! AICP for the win!
[One (M9) Original Android Development] Claymore1297:
#### New build is up!! ####

the build is containing mainly the following:

-minor fixes

-january ASB

-speaker protection option in additional device settings

AICP features:

-phonograph music-app

Enjoy!
[One (M9) Original Android Development] ayoobelmasry:
Hello forum,

Can any one of us tell me how long does a new replacement battery take to drain from 100% charge to 15%, with an average use of the device?

Thanks
[One (M9) Original Android Development] XxROMxX:
meant to post this in lineage thread

Hello,

NFC is said to be working but i cannot get it to work at all, i cannot even android beam, i want to use it for google pay but it does not work, and i have not broken safetynet, plz help,

p.s. also does anyone know how i could change the lineageos boot animation to a stock htc boot animation? thanks.
[One (M9) Original Android Development] Bu'dge:
whats the default Gallery app, mine is replaced by google photos when nikkgapps omni is installed
[One (M9) Original Android Development] wartomato:
Gallery2. Typical "feature" of the omni package...🤷
[One (M9) Original Android Development] platinumthis:
Good Saturday Claymore!
[One (M9) Original Android Development] symetrk:
Have not updated to latest build yet, but a quick question - is the OTA update working for anyone? It fails immediately here... everything else seems to work perfectly, but not that - so updating pretty much means re-flashing and re-installing from backup. Which is fine, but... OTA would be better I guess? In theory?
[One (M9) Original Android Development] ayoobelmasry:
Yes, it did fail asking for reliable wifi connection.
[One (M9) Original Android Development] Claymore1297:
can I get the full log please.
[One (M9) Original Android Development] Douranji:
I'm afraid I don't have them anymore. My apologies.

Strangely, the reboots have not happened since my initial post anymore. Since then I've flashed the January build and reinstalled the NikGapps. This seems to have helped somehow.

How are you're experiences @Bu'dge ?

The only issue that remains is that the phone turns off even though the battery still has 30% or more. This seems to happen especially if my phone gets really cold, e.g. when using it outdoors. I haven't had this behavior with Android 7 (LineageOS) which I was using before I flashed this ROM in december.

Nevertheless, this could of course just be the result of a five year old battery. Do you know if voltage level is handeled more restrictive in AICP @Claymore1297 ?

Thanks a lot for keeping the phone up to date!
[One (M9) Original Android Development] ayoobelmasry:
Regarding the switching off:

I had same experience, I think it is resolved by replacing the battery. The issue is not related to the battery voltage, rather it is related to the current that the battery can provide, i.e. you can have the right voltage but the provided current is not enough.

No one on the forum wants to advise by how long a fully charged new battery can stay operational? Is there an answer out there?
[One (M9) Original Android Development] symetrk:
I have the cold shutdowns here as well... also around 30%... but when the phone is warm it can keep running down to low single digits. Since I don't think I will bother replacing the battery in this handset I figure the solution is to keep the battery a bit more full, and/or carry a powerbank.

Otherwise this ROM is pretty much everything I need. I haven't tried the January update yet, but I will try to find time in the next few days.
[One (M9) Original Android Development] Bu'dge:
I haven't gotten any random restarts, but the shut offs are prevalent, mine keeps going at 50 %, 45 % etc and my battery is about a year old.

@Claymore1297 , i will post some logs later today
[One (M9) Original Android Development] pinckston:
Regarding the battery shutdown issue, I can confirm it is a battery issue, I've just last week had this handset off my missus and changed the battery immediately. No more issues. She was having hell with it, dodgy port too which didn't help but changed that too - now all is well, fast charge works ~1950mA, and not one reboot.

Your battery being only a year old is probably a red herring too, I bought a replacement for my old s4 a few months ago and had to return it after a week as it started failing. Replacement batteries are often not genuine and will fail early - this example is extreme but failing after a year is, unfortunately, entirely likely.
[One (M9) Original Android Development] pinckston:
Hi, just had a WiFi drop, no scan result, had to reboot. Log attached, seems to be at 04:25.23.
[One (M9) Original Android Development] Bu'dge:
@Claymore1297 . Good evening gents, logs attached
[One (M9) Original Android Development] mateiutzz:
Any idea why the phone gets stuck in a boot loop after flashing the rom ?
[One (M9) Original Android Development] pinckston:
Have you formatted data? I didn't the first time and it booted but about a day later it wouldn't take my pin so I had to reflash after format data. Not had an issue since other than the WiFi drop detailed above. Otherwise check your handset version, some roms don't work with some (US?) variants.

Best I've got.
[One (M9) Original Android Development] mateiutzz:
Ofc I formatted, cant imagine why this is happening since I tried new some new roms last year and they worked, its so lame that I had to update twrp to the latest version and now I cant install the original rom (7.1.2) without it saying that my phone is encrypted
[One (M9) Original Android Development] pinckston:
Ahh! If you're encrypted you haven't formatted data - it is different to a wipe.

In twrp, go to wipe; advanced and at the bottom right is the 'format data' button. This completely formats the whole data partition to a fresh ext4 partition, thus removing the encryption. Unfortunately you will also lose all of your data! If you can't restore a nandroid backup to backup your data you may have to kiss goodbye to it all I'm afraid. If you HAVE done this format then you'll have to reflash your software using a PC (I've only had this phone just over a week so search this forum for instructions). Best of luck!!
[One (M9) Original Android Development] pinckston:
Just in case:

https://xdaforums.com/t/hima-ruu-stock-rom-collection-for-htc-one-m9.3095746/
[One (M9) Original Android Development] pinckston:
Small update: vibrate doesn't work for me but may be hardware (I replaced my battery!), tap to wake isn't working, Google assistant hot word is greyed out (common in older handsets I assume as my s4 had the same issue with higher android versions), lock screen shortcuts not taking hold. Hope the feedback helps 🙂🙂
[One (M9) Original Android Development] Claymore1297:
Vibrator is working here. Please check additional device settings. Tap to wake is not supported
[One (M9) Original Android Development] pinckston:
I do suspect it to be hardware, I probably dislodged the connection when I changed my battery and charge port. Can't be arsed to open it up again tbh!