yashsingh1/xdaforums huggingface dataset:
[One (M9) Android Development] lithophone:
Did some poking around and found the problem. The main apps I would want it for don't offer the "display above other apps" option--BlueMail, Hangouts, and Messages. You'd think that the communication apps would allow that option. Guess I'll just have to stick with my workaround solution of using Glimpse Notifications to turn the screen on when any notification comes in. Thanks a lot for the suggestions.
[One (M9) Android Development] tony_kemboi:
I'll give it a try
[One (M9) Android Development] Navarro1978:
Thank you for this ROM! Android 10 on my M9 Man! Flashed yesterday and everything working

like a charm! There is so many options, nice look and feel!
[One (M9) Android Development] tony_kemboi:
I hope this is the right place to post this but anyone who has the last released Android version 9 or even just a working one..... 10 is just making it hard for me??

A link maybe, i would really appreciate.
[One (M9) Android Development] MirrorMan3D:
Hello Tony,

my reply is slightly off-topic because I couldn't find a AICP14-Build, but on the codebucket mirror of Claymore there are LineageOS16-Roms:

https://mirror.codebucket.de/claymore1297/LineageOS/16.0/

Maybe someone else did backup an old AICP14-ROM..

Best regards, Jochen
[One (M9) Android Development] tony_kemboi:
I hope i get the AICP 14 build coz this one is just messing me up,right now it can't boot,and in the past the System UI has been crashing.:crying:
[One (M9) Android Development] MirrorMan3D:
Hi Tony,

I searched on my disk and found an old AICP14 build: "aicp_himaul_p-14.0-WEEKLY-20190307.zip". No promises about the quality of this build, I don't know and I can not verify anything. If you're interested and no one has anything better I will upload on a OCH.

Best regards, Jochen
[One (M9) Android Development] tony_kemboi:
I will surely appreciate.

Its better than nothing, the least i found is aicp_himaul_p-14.0-UNOFFICIAL-20190208 on android filehost.
[One (M9) Android Development] MirrorMan3D:
So here's the link - I hope setting the link will work, please tell me when you're done, because I will remove the link afterwards:

Link removed - please text me if anyone still needs it

TIA, Jochen
[One (M9) Android Development] tony_kemboi:
Alright then.
[One (M9) Android Development] tony_kemboi:
Am good now.....thanks alot
[One (M9) Android Development] MirrorMan3D:
Ok, I will remove the link now.. just keep the file on the hoster for a few days.. I hope all will work fine for you!

Best regards, Jochen
[One (M9) Android Development] tony_kemboi:
Thanks alot man......i have surely learnt it the hard way, again thanks alot.

I hope it was a stable build,AICP 15 is a later for now.
[One (M9) Android Development] manishblitz:
Thanks developers android 10 does perform well. Avfew hiccups on WiFi drop , unavailability of transfer content from another phone in settings likefor HTC transfer tool and MOST important regular disconnection of SD card in restart. Please give it some mind. I am still loving custom ROM in my AT T machine.
[One (M9) Android Development] Navarro1978:
So the first problems appeared. During a call, the other person hears himself twice on the phone and the camera stops working. I don't really need the camera that much, but even using the messenger app, people on the other side are hearing themselves twice and this is really annoying. I would be very grateful for some solution
[One (M9) Android Development] mohawahba:
Laggy

Hi,

I flashed the latest rom with nano gapps but the phone is very laggy. Any idea why?

I tried a second Clean flash but it is certainly laggy.

Update: first time i installed it without gapps, it ran smoothly. Once I installed gapps nano it became laggy. So then I formatted the phone all everything entirely and flashed the rom itself alone, the phone remained laggy (i didn't install gapps that time).
[One (M9) Android Development] OGdroidster:
What privder do you have and what is your firmware?
[One (M9) Android Development] mohawahba:
I was on latest build of hima stock nougat before flashing aicp.

I noticed that there is a dedicated TWRP for flashing after posting here.

I'm using official TWRP for hima directly from the website. Could it be the problem?

Also, should I go for TWRP SAR or normal one?

-- my phone is verizon but it used to work smoothly before with aicp. For some reason, I had to return to stock rom and now when I returned to AICP, I started getting laggy performance.

Thanks
[One (M9) Android Development] Claymore1297:
android 10 = SAR
[One (M9) Android Development] ayoobelmasry:
HELP!!!!

I lost the IMEI number of my phone, when I check it in setting, it says UNKNOWN...I guess that is why I do not connect to Vodafone.

I have browsed the xda threads on this subject but could not find anything adequate for HTC M9. I tried some utilities to restore the IMEI but it crashed on my phone. Luckily I still have the phone box where the number is hard written. I am trying to avoid buying new phone. Please help if possible.
[One (M9) Android Development] platinumthis:
Just Reflash Orginal Firmware if you dont know what is happen
[One (M9) Android Development] OGdroidster:
Use sar for android 10
[One (M9) Android Development] ayoobelmasry:
Thank you very much, it did work, I reflashed the original stock ROM and got back the IMEI. I can not think of any reason why it was lost.

Thanks again:svetius::)
[One (M9) Android Development] tiratored:
Yeah, my daughter and I have the same phones and the same firmware, and we both have this problem. I have already written about ther more than once, and not only me. There is no echo on the stock firmware. :p
[One (M9) Android Development] Xdavenezuela:
Será buena está ROM?
[One (M9) Android Development] timkelly0810:
I'm not positive which update did it, but my wifi is much more stable now. I haven't noticed any disconnects in a week or so.
[One (M9) Android Development] Kenneth_1989:
La mejor ROM hermano. EL desarrollador es excelente en su trabajo.
[One (M9) Android Development] lithophone:
Unfortunately I cannot report the same. I have not noticed any improvements with any of the recent weeklies.
[One (M9) Android Development] manishblitz:
WiFi drops are gone since last 4-5 days. Amazing. No issue on SD card also. Last update has nailed them.
[One (M9) Android Development] lithophone:
Congrats to you and timkelly for having your issues resolved. This is not to knock Claymore as I appreciate everything he's done for such an old device, but my WiFi issues continue with no noticeable improvements. Otherwise, the device is very usable with minimal problems.
[One (M9) Android Development] Xdavenezuela:
Amigo usted por casualidad tiene un HTC ONE M9? Yo tengo uno pero tengo el siguiente problema solo me agarra E 2G, como hago para solucionar lo? Escribe me si puedes o tienes alguna solución para mi +584129381476
[One (M9) Android Development] lithophone:
Does 16 GB sound about right for System storage space under Settings > Storage > Internal shared storage? Are there any old, unused files that are classified as System that might be able to be deleted? Old updates or anything of the sort? All of a sudden I'm getting notifications that I'm low on internal space. Sure I have a lot of apps, but there's no extraneous files, media, or photos on the internal storage.
[One (M9) Android Development] OGdroidster:
32gb
[One (M9) Android Development] lithophone:
Sorry, maybe I wasn't clear in my question. I know the internal storage size is 32 GB, but as for the allocation to System resources, I am seeing 16 GB of the 32 being used by the system. The rest of mine is tied up mostly by apps. When I got the notification today for low storage, I was surprised to see that 16 of the 32 GB was being used by the System itself. Is that what other people are seeing under Settings > Storage > Internal shared storage?
[One (M9) Android Development] ayoobelmasry:
[QUOTE=lithophone;83472801

I see 7.7 GB used by system, but I deleted some of the system apps.
[One (M9) Android Development] shadowalker2014:
I see 9.3 GB without removing any system files and apps
[One (M9) Android Development] lithophone:
Does anybody happen to have any idea as to why mine is showing 16 GB? What files might be contributing to the large size? And of course if you click on System, it doesn't list any files--you just get a pop-up that says it's files used to run Android 10.
[One (M9) Android Development] ayoobelmasry:
There is an app. in google store called Revo Uninstaller, it can remove user apps not system apps, but it does give you a list of all system apps. This may give you an idea about how system apps are contributing in taking up memory.
[One (M9) Android Development] lithophone:
Thanks for that suggestion, ayoobelmasry. I'm still curious though as to why my usage is 16 GB, while shadowalker2014 is only using 9.3 GB, with neither of us having removed any system apps. We should all have the same space being used by ONLY system apps. There must be other files somewhere being classified as System, and I would like to find out what they are. I'm wondering if there are old update files somewhere, but I haven't been able to locate anything manually. Anyone else with suggestions?
[One (M9) Android Development] OGdroidster:
Put a pic
[One (M9) Android Development] lithophone:
A pic wouldn't really show anything useful, but I was actually able to hunt down the extra files. There were backup files from another app that were supposed to have been deleted, but apparently weren't. I'm currently down to only 10 GB used by System.
[One (M9) Android Development] shadowalker2014:
You can use disk usage app from okay store for scan for storage
[One (M9) Android Development] ayoobelmasry:
Hello Julian,

Is it the time yet to try your first build of Android-11 on our htc one M9?

Waiting anxiously we remain.
[One (M9) Android Development] Claymore1297:
not startet with bringup
[One (M9) Android Development] Claymore1297:
just dropping this here .. the story continues ...
[One (M9) Android Development] MirrorMan3D:
Just WWWOOOWWW!!! :cool:
[One (M9) Android Development] imknown:
Can we download the these alpha builds? M9 is not my daily-driven phone. I can accept all the bugs if OS boots.

:laugh::laugh::laugh:
[One (M9) Android Development] Claymore1297:
Is this an ETA?:laugh:

... I think will make an xda thread next Week. ;)

RIL has to be fixed... Rest seems working so far.
[One (M9) Android Development] Claymore1297:
the story continues here:

https://xdaforums.com/one-m9/orig-development/rom-android-ice-cold-project-16-0-t4175459

Enjoy!
[One (M9) Android Development] tiratored:
I keep getting an error:

time: 1600446241009 msg: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter intent stacktrace: java.lang.RuntimeException: Unable to start service com.aicp.device.HtcGestureService@39c508 with null: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter intent	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4105)	at android.app.ActivityThread.access$1800(ActivityThread.java:219)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1891)	at android.os.Handler.dispatchMessage(Handler.java:107)	at android.os.Looper.loop(Looper.java:214)	at android.app.ActivityThread.main(ActivityThread.java:7356)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940) Caused by: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter intent	at com.aicp.device.HtcGestureService.onStartCommand(Unknown Source:2)	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4087)	... 8 more
[One (M9) Android Development] OGdroidster:
Is it the alpha build?
[One (M9) Android Development] tiratored:
No, this is the freshest AICP15. I shot the log on an older firmware, but sometimes on a fresh one a window pops up about a failure in some settings there.
[One (M9) Android Development] OGdroidster:
You can turn on the switch in settings so it doesn't show
[One (M9) Android Development] xcvz1215:
wi-fi calling

hello on this rom i can install EE Wi-Fi CALLING ? in the original rom i wasn't have it
[One (M9) Android Development] kinpump:
I tested "Ausweisapp2" with my new German IdCard with M9 no luck. Since HTC M7 and M9 are official marked as working at the "Ausweisapp2" homepage I did some further tests with my old M7.

Lineage and AICP didn't work but the original HTC Sence Firmware worked!

I tried to enable "Extended Length" support for NFC but by appending the following line to /system/vendor/etc/libnfc-nci.conf:

###############################################################################

# Set max transceive length for IsoDep frames

# Standard 0x105 (261)

# Extended 0xFEFF (65279)

ISO_DEP_MAX_TRANSCEIVE=0xFEFF

I don't know whether this is enough to make the M9 compatible to "Ausweisapp2" but there may other differences between open source and HTC proprietary firmware.

EDIT: just managed it to replace libnfc-nci.conf but didn't work either.
[One (M9) Android Development] lithophone:
I have been having location auto-update issues in the last few weeklies, similar to the problem being reported in the AICP 16 thread. The Weather Channel app widget does not update automatically anymore and usually displays "Weather data not available" unless I open the app. At that point, the widget will display SOME weather data, but not necessarily for the location I am currently in.
[One (M9) Android Development] k4y0z:
Are you sure, you tested that correctly?

Adding the option to /vendor/etc/libnfc-nci.conf and then rebooting,

causes the APP to give me a different error, saying that the function is disabled on the ID-card (which is true), instead of complaining about extended length.
[One (M9) Android Development] kinpump:
[MENTION=7104332]k4y0z[/MENTION]: many thanks for checking this!

Don't know what happened yesterday. NFC was disabled after reboot and switch on of NFC was impossible. A few minutes ago I tested again and Ausweisapp2 doesn't complains regarding missing "Extended Length" feature anymore. Nevertheless the app is still not working because reading data from Idcard always stops with the message "Schwacher NFC Empfang" (weak NFC signal). I guess there are some more changes regarding NFC in the original HTC Sense firmware.
[One (M9) Android Development] k4y0z:
I suppose you already tried the typical things such as removing any cases etc.

Maybe that app just doesn't like to be run on custom rom/rooted firmware?

You could try using Magisk Hide on the app.

As for me, it just says the function is disabled on the ID card, I can't do any further testing regarding this.

If you provide logs I will take a look.
[One (M9) Android Development] kinpump:
Yes, I enabled Magisk hide and tried to disable "batterie optimisation" for NFC service with no luck. The only thing I haven't tested so far is with deinstalled Magisk.

Please see attached log running on aicp from 22/10/2020 with modified libnfc-nci.conf. Thanks!
[One (M9) Android Development] k4y0z:
Just took a quick look, it may be selinux related.

Can you please try with selinux disabled?

Also grab another log, with selinux disabled.
[One (M9) Android Development] kinpump:
That was quick! I switched Selinux to moderate in system settings but behavior is still unchanged. Still "weak NFC signal" and sometimes NFC-read-error popup from Android.
[One (M9) Android Development] kinpump:
Here's a second Log.
[One (M9) Android Development] k4y0z:
Seems to work fine until a certain point and then just times out:

10-28 20:39:01.991 3932 4620 E libnfc_nci: [ERROR:NativeNfcTag.cpp(958)] nativeNfcTag_doTransceive: wait response timeout
10-28 20:39:01.993 14654 14704 W System.err: android.nfc.TagLostException: Tag was lost.
10-28 20:39:01.993 14654 14704 W System.err: at android.nfc.TransceiveResult.getResponseOrThrow(TransceiveResult.java:48)
10-28 20:39:01.994 14654 14704 W System.err: at android.nfc.tech.BasicTagTechnology.transceive(BasicTagTechnology.java:151)
10-28 20:39:01.994 14654 14704 W System.err: at android.nfc.tech.IsoDep.transceive(IsoDep.java:172)
10-28 20:39:01.996 14654 14704 W AusweisApp2: card_nfc : Invalid response received
10-28 20:39:01.997 14654 14704 E AusweisApp2: card : General authentication data seems invalid because of StatusCode: EMPTY

You can try playing with the TIMEOUT values in /vendor/etc/libnfc-nxp.conf

Specifically try setting

NXP_SWP_RD_TAG_OP_TIMEOUT=0xFF
[One (M9) Android Development] kinpump:
Unfortunately no effect . It takes max. 1 sec until problem occurs no matter what timeout is set.

In the FAQ of Ausweisapp2 is stated that the power for the NFC chip generated by the phone by induction is properly to low. But I didn't find any setting in libnfc-nxe.conf and libnfc.nci.conf which might increase the signal strength.
[One (M9) Android Development] k4y0z:
I don't believe it's a power issue, since it seems to work fine until a certain point and then just loses connection to the card.

One more thing you can try is setting:

NFA_HCI_DEFAULT_DEST_GATE=0x04

in /vendor/etc/libnfc-nci.conf

Other than that I'm out of ideas, since I can't really test this myself.

Also in the hopes of getting more data in the logs, you could set:

NFC_DEBUG_ENABLED=0x01

in /vendor/etc/libnfc-nci.conf

and

NXPLOG_EXTNS_LOGLEVEL=0x03
NXPLOG_NCIHAL_LOGLEVEL=0x03
NXPLOG_NCIX_LOGLEVEL=0x03
NXPLOG_NCIR_LOGLEVEL=0x03
NXPLOG_FWDNLD_LOGLEVEL=0x03
NXPLOG_TML_LOGLEVEL=0x03

in /vendor/etc/libnfc-nxp.conf
[One (M9) Android Development] kinpump:
I did another test with

NFA_HCI_DEFAULT_DEST_GATE=0x04

and there was not effect.

Then I decided to flashHTC stock firmware and the Ausweisapp2 doesn't work! Exact the same behavior as with AICP 15. Conclusion: My M9 has a piece of bad hardware regarding NFC.

In case the extended length feature can be included in future AICP build perhaps there is another M9 owner who can test if Ausweisweisapp2 is working correctly whith only this one modification? Thnak you!
[One (M9) Android Development] Marcolo88:
Hi [MENTION=8276284]Claymore1297[/MENTION], for a bit or time i didn't use my device (i own another phone but i still use the M9 at home), but now there are some problem because it make bootloop all time.

I can access to twrp (TWRP 3.3.1-1) and i tried to format all partitions and copy the latest zip of rom.

I tried also to install only the rom without the gapps, but without success!

It install successful the rom but when phone boot, after the green "HTC", it make dark screen and after a bit it reboot.

what i can do for make it working again?

Last time it worked

Thank you very much

Marco
[One (M9) Android Development] OGdroidster:
Are you using the latest version of android?
[One (M9) Android Development] Marcolo88:
Yes, is the latest version.

Years ago i upgraded htc stock and after i flashed the custom rom.

Latest AICP working it was the version of april. After i didn't upgraded, and now nothing work :(
[One (M9) Android Development] OGdroidster:
Download the latest ROM. It comes out every Thursday once a week. Then put it in a sdcard for your HTC. Then go into twrp and go to where you normally wipe but this time click on format data and then type yes and then click check mark on your keypad and when the wipe completes click the home button and flash ROM you just downloaded from your SD card. Good luck and let me know what happens
[One (M9) Android Development] OGdroidster:
Try ruu but with last version of firmware. Put a pic of the firmware from your bootloader so I can see if your running the correct firmware. If you are just ruu it with the same. If not I'll give you the link to the correct firmware.
[One (M9) Android Development] Marcolo88:
Is strange that i need to do this but ok, i think there isnt' another choice.

fastboot getvar cid:

cid: HTC__102

I attached the photo of system info in dowload mode

Thanks very much
[One (M9) Android Development] The_Walking_Playground:
Hi,

Have you tried it? Does it work?

TWP
[One (M9) Android Development] MC_Ohr:
I did not install android 10 on my m9 yet. But now I think I will give it a try

Gesendet von meinem HTC U11 life mit Tapatalk
[One (M9) Android Development] Biggie_still:
It works but I think safety net didn't..you tell me
[One (M9) Android Development] The_Walking_Playground:
Hi,

CTS Profile failing usually means the fingerprint being used in the ROM isn't approved. But there could be other reasons too. That has nothing to do with root working, though.

TWP
[One (M9) Android Development] Biggie_still:
I have actually try literally everything to get rid of the stock boot animation but I couldn't...root manager keep pulling error.. can't delete, rename or copy anything to system..
[One (M9) Android Development] The_Walking_Playground:
Hi,

You're not supposed to be able to modify system directly. Android 10 no longer allows it, afaik. You have to create Magisk modules to do that.

TWP
[One (M9) Android Development] Biggie_still:
Well there's a magisk module called PIXELARITY V3 but when I flash it phone stuck on splash screen.
[One (M9) Android Development] emprazol:
Is there any way to use round icons ?
[One (M9) Android Development] Claymore1297:
not now. I personally use Squircle, which I like a bit more :p
[One (M9) Android Development] k4y0z:
CTS profile failing is probably due to the fact, that this ROM is still "selinux permissive" though that will change in the future.
[One (M9) Android Development] The_Walking_Playground:
Hi,

Magisk hides that by default when MagiskHide is enabled, so that shouldn't be the issue. Typically, SELinux permissive would cause Basic Integrity to fail, not CTS profile (if not hidden by Magisk). Like I said previously, the issue is likely fingerprint related.

TWP
[One (M9) Android Development] Claymore1297:
#### New build is up!! ####

the build is containing mainly the following:

-alarm clock issue fixed

-warn-message on boot fixed

-CTS failure fixed

-minor fixes

AICP features added:

-cpuinfo widget

-added various tiles

-improved dialer settings

-batterybar (but colorized feature is missing right now)

-some notification customizations

-extended chargeinfo on lockscreen

-unlock pin scramble

Enjoy!
[One (M9) Android Development] shadowalker2014:
Thanks ?
[One (M9) Android Development] alptrek:
Thank you. I'm sorry to see the post late.
[One (M9) Android Development] luizedu:
Is there any way to use gesture navigation with non standard launchers?
[One (M9) Android Development] Biggie_still:
Please Developer, can you please remove the present launcher and give us pixel q launcher that has the search bar at the bottom instead of been at the top.. who still leave search bar at the top those days anymore??? At the glance is supposed to be at the top.. thanks on advance.
[One (M9) Android Development] tombbb:
you can try ruthless launcher, it meets your need.
[One (M9) Android Development] ayoobelmasry:
Is there a way to get rid of the search bar from the Home Screen?, I think it is useless in addition to taking a big piece of the screen area.
[One (M9) Android Development] Claymore1297:
no - pixel-lauchner will not be included in this rom. There will be 100% customizations on launcher, but not for now.
[One (M9) Android Development] ayoobelmasry:
Google Chrome hangs moments after starting
[One (M9) Android Development] OGdroidster:
your service provider is different than mine. I think your one version down from what you need to run custom on the m9 but your service provider is different from mine. Who is your service provider so I don't give the wrong firmware? You have the HTC M9u is that correct?