yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] Nanashikun:
Got it working again by going back to stock and starting from the beginning.

Phone/Sim function is broken thoo in the new version as Rootliker said.
[One (M8) Android Development] Claymore1297:
SIM-card is detected here. Anyone else having this?
[One (M8) Android Development] old.splatterhand:
I have tested the latest build from weekend with a clean/fresh install and my Sim card is recognised and i was able to do a call.

So long, i would say Sim card works here.
[One (M8) Android Development] jfiestas:
Dear, you can try MagicGAppshttps://xdaforums.com/apps/magisk/module-systemless-beansgapps-mini-7-1-x-t3611362, it's a Magisk module.

I use MicroG.
[One (M8) Android Development] OGdroidster:
I know that I was answering a question to some one else. I know all the ways to get gapps.
[One (M8) Android Development] atom_cz:
Same to me
[One (M8) Android Development] Edo2013:
First of all thanks for this wonderful rom. Using it as a daily driver and it really functions very well.

The instructions in this thread are very clear. Resizing the partition to flash gapps was no problem at all.

There is however one thing I cannot get to work.It's definitely no show stopper but more of a convenience.

Apparently (from what I've read on other threads) many custom roms don't have HCE (Host Card Emulation) integrated.

This in combination with NFC would make mobile payments possible. Currently I cannot set it up in my banking app (the option is simply not there)

With stock roms this used to work just fine. Hope this can be fixed :) But again...not a showstopper. This ROM is great!
[One (M8) Android Development] Nanashikun:
So how exactly did you guys do a clean install, because I can't get the sim working, no matter what I try? It works fine with the older version.
[One (M8) Android Development] OGdroidster:
Back your rom up then wipe everything and reflash that's it. I added build prop to help me with that but it was for CDMA Verizon. Are you running CDMA or gsm? Just want to know so I can give the maintainer some possible prop fixes.
[One (M8) Android Development] Nanashikun:
Hi,

I'm using LTE.

Sorry if I seem dense but what exactly did you wipe? I usually only wipe system, data and dalvik when I install a new rom. Maybe that's not enough. Is your phone S-OFF ?
[One (M8) Android Development] Edo2013:
Hi,

I have no problems with the simcard. It shows LTE and works fine.

I followed the instructions on page 1: wipe system,data, dalvik cache, then installed the new ROM. after that I resized the system partition to make GAPPS fit, installed GAPPS and rebooted. All ok. I didn't install TWRP, just reboot.

Is it possible that perhaps it has something to do with your radio version?

My phone gives the following info when powered up holding the VOL down pressed

*** UNLOCKED ***

M8_UL PVT SHIP S-ON

HBOOT-3.19.0.0000

RADIO-1.29.214500021.12G

OpenDSP-v51.2.2-00593-M8974_FO.1015

OS-

eMMC-boot 2048MB

Dec 17 2015,14:15:48.0

So as you can see my phone is S-ON and this rom works fine so I don't believe S-OFF is necessary.
[One (M8) Android Development] Nanashikun:
Hi,

my phone is exactly the same

weird
[One (M8) Android Development] jerryspring:
which roms are cross compatible with the tmobile htc one m8? device name tmous. thanks
[One (M8) Android Development] Hashim Ali Awan:
The latest build includes a fix for a long time know issue. The brightness slider bug which didn't work for almost 60% of the bar now it works! Thanks Clay!

Enjoy!
[One (M8) Android Development] Pori12:
Hi Friends,

Some of you may have tried more PIE ROMs for M8.

Could you please recommend the best one which is fluid and bug free for daily usage? (Working SIM, camera, bluetooth, etc.)

Your help is highly appreciated!
[One (M8) Android Development] Claymore1297:
If I'm not wrong, there are only 2 Pie-ROMs.

LineageOS and AICP.

They should be more or less the same, because our device-config is based on LOS. Also kernel is the same.
[One (M8) Android Development] OGdroidster:
You also have xennon hd
[One (M8) Android Development] Leroy_Sparks:
I, too, am experiencing the SIM issue. If I use the AICP update function the phone loses connectivity and says no SIM is installed.

I don't understand the backup, wipe, and reflash suggestion (sorry). Isn't that just a fresh install?

BTW, I am running a Verizon (cdma) variant.
[One (M8) Android Development] OGdroidster:
Back up first in case you get more problems
[One (M8) Android Development] kessaras:
What's going on around here ?

I had my p20 pro fried when I tried to create an unlock tool because Huawei doesn't allow unlock and I ordered now a m8 until I get my hands on pixel 4.

You have same bugs with Los ?

Which and if possible I'd love a tg nickname of someone willing to enlighten me so I can get the bugs fixed when I have the phone at my hands
[One (M8) Android Development] wartomato:
"Camcorder" is the magic word. ;)
[One (M8) Android Development] _Jeff_:
SIM-card issue

I had same issue with SIM-card after OTA-update from aicp_m8_p-14.0-WEEKLY-20190608 to 20190629.

In settings " network / mobile network " i got only a black screen with high cpu load

i reflashed "aicp_m8_p-14.0-WEEKLY-20190629" dirty. After three bootloops my sim card was detected, but all google apps and root were broken.

I did the same steps like after my clean flash:

-resize system partiton

-install magisk (v19.3)

-install open gapps 9.0 nano (20190620)

-(re)install youtube and maps from playstore

now i have no serious problem, just...

-restart while taking photos with Snapdragon Camera and after that bootloops until i delete cache in recovery. (the restart problem i had also before OTA and also with LineageOS 15.1, but without bootloops)

camcorder works fine and taking photos with other apps also works fine, so this is no problem for me
[One (M8) Android Development] Hashim Ali Awan:
Try the footej Camera application. You won't experience any reboot then because of the camera.
[One (M8) Android Development] Pori12:
Thanks! I tested both by now. Both worth nothing.

I'm back on Viper.
[One (M8) Android Development] wederr:
When headphones are connected, sound continues to play through the phone’s speakers.

If you leave the headphones connected and reboot the phone, the sound will go to the headphones, but only until they are pulled out

Is this just my problem or do you have the same?

There is a solution?

sorry google translation
[One (M8) Android Development] Leroy_Sparks:
This is the issue I tried to post about - no longer detecting SIM after attempting to update. I also experienced the blank screen when attempting to enter the Network & Internet seetings page. I got the same problem whenever I used OTA or dirty flashing over a working (previous released) version. The only way to get a current version to work was to full wipe & fresh install - while that works, it requires reloading apps and setting them up. The issue I see is that any try to update breaks the mobile connectivity.

Curious if this is related to being a CDMA phone (Verizon, US).
[One (M8) Android Development] yellowhornet13:
Which GApps should I use, for android 9 or 6 ?
[One (M8) Android Development] old.splatterhand:
Of course for this rom for Android 9.
[One (M8) Android Development] yellowhornet13:
I thought so. thx.
[One (M8) Android Development] old.splatterhand:
Resize system partition before you flash gapps.

You'll find in this thread how to.
[One (M8) Android Development] yellowhornet13:
Yes, I did, but didn't restart TWRP. Problem solved. THX.

waiting for the first launch :)
[One (M8) Android Development] yellowhornet13:
so far so good, thank you.
[One (M8) Android Development] yellowhornet13:
I did the update which shows up today, and have lost the provider signal. The phone doesn't see the sim card?

Any one could help something?
[One (M8) Android Development] OGdroidster:
Shut device off then take sim card out then boot up device then when its booted put sim back in then reboot
[One (M8) Android Development] yellowhornet13:
It doesn't work. I did the system instalation once again with the 14 version and It works.

I'm thinking what kind of update it was (OTA)?
[One (M8) Android Development] Hashim Ali Awan:
Clean Install

If you're having issues with dirty flash then try clean install. Wipe dalvik, cache, system and data. Flash latest zip file, resize partition and then install gapps. It should work.
[One (M8) Android Development] yellowhornet13:
This is exsactly what I did. So far works.
[One (M8) Android Development] Timei:
Hello to all. I have a big problem with Adguard with DNS TLS enabled.

When I connect the charging, the charge practically does not go and the phone is very hot. I tried a lot of variants, and it seems that this is due to some configuration in the system or aicp extras. Adguard cannot be used at this time.
[One (M8) Android Development] Leroy_Sparks:
Yes, that works. But what's the use in having updates if you have to wipe, install, then reload and configure all of your apps? Doing a simple dirty flash or OTA update should be simple and painless - but it's not for some of us. Dirty flashing new builds used to work for me (and I think the earlier OTA did too) but for some reason it doesn't any longer. (?)
[One (M8) Android Development] Hashim Ali Awan:
I never had this problem, once a new weekly is available dirty flash again and then let me know if the problem persists this time around.
[One (M8) Android Development] jerryspring:
Will this ROM work on T-Mobile variant?
[One (M8) Android Development] yellowhornet13:
Yes it works on Tmobile.

But I got somethimes camera crashes and system reebots.
[One (M8) Android Development] wederr:
Do all headphones work?

sorry google translation
[One (M8) Android Development] Phalangioides:
I don't see a reason why they wouldn't.
[One (M8) Android Development] AsrielDash:
Yes
[One (M8) Android Development] Leroy_Sparks:
Finally got a chance to try an upgrade. Working 29 June build was successfully upgraded by OTA to 6 July build. I don't know what might account for it (but not complaining). The working system (pre-update) had far fewer apps loaded, in fact it was a google-free setup I was trying out. I may restore a much older working build and see if it can OTA update to the latest build.

Follow Up: Restore working install (190605) and tried to OTA update to the most recent (190706) version - once again resulted in SIM not detected and no cellular service. During the install in recovery it showed "assert failed: run_program("/tmp/install/bin/variant_script.sh") == 0" fault. My phone has a PagePlus (verizon) SIM - CDMA operation.

I'm curious if those who've experienced this issue also have CDMA phones/SIMS ?
[One (M8) Android Development] ColdFire InOx:
Solved, ignore this post.
[One (M8) Android Development] Claymore1297:
builtin Camera-app

next WEEKLY will include the Lineage Snap instead of current CAF SnapDragonCamera.

Enjoy!
[One (M8) Android Development] jerryspring:
Did you do a deep wipe? And what build are you referring to? This info is pertinent.
[One (M8) Android Development] AsrielDash:
Did you enabled HDR? It causes the crash sometimes
[One (M8) Android Development] jerryspring:
Do u have issues flashing gapps? In TWRP it says not enough space! I even wiped internal storage. Any advice?
[One (M8) Android Development] AsrielDash:
Resize/Repair System partition before flashing Gapps.
[One (M8) Android Development] jerryspring:
Yes.. but what size and format type? I don't have these issues with other ROMs...even the other ROMs are much bigger and it don't prompt me to have to fix error code 70.

---------- Post added at 06:32 PM ---------- Previous post was at 06:22 PM ----------

Got link?
[One (M8) Android Development] yellowhornet13:
Just tick resize button, you don't choose.
[One (M8) Android Development] AsrielDash:
Just simply click resize.

This is a bug of this ROM, I've tested various different ROMs and only this needs to resize sys partition to flash gapps
[One (M8) Android Development] PeaceLock:
M8d boot loop

Hi!

I have tried nearly every build for M8d on the website, but all lead to a boot loop after the appearance of AICP logo screen

Other android 9 builds like LineageOs 16 works fine but I dont know why there's a problem with AICP, would appreciate a little help here! :)
[One (M8) Android Development] OGdroidster:
Did you download the correct build just for the m8d?
[One (M8) Android Development] PeaceLock:
Yea, I've tried this "aicp_m8d_p-14.0-WEEKLY-20190713.zip" and all the previous builds before it.

update: I have made dirty installation on LineageOs 16 then Installed Magisk 19.3 and it worked after a 2nd restart but with no network. Ill try to do a clean flashing with Magisk and Gapps and see what I get.
[One (M8) Android Development] saiyansection:
Updated to recent version....today suddenly phone rebooted itself and stucked on white htc logo.

Unable to access recovery too... Flashed several recovery images through fastboot.. Nothing is working..

If I wait some more time on htc logo.. Device comes up with AICP logo and it gets bootlooping..

I think phone is bricked.. But what would be the fault?

Recovery launching after 20 minutes.... Now it's showing internal storage as 0mb.

I tried to format everything even tried to repair.. Nothing is working.

Please help
[One (M8) Android Development] jerryspring:
It asks for a format dude. Which format?
[One (M8) Android Development] AsrielDash:
Just use the default format(ext4)
[One (M8) Android Development] OGdroidster:
When you were in recovery did you try restoring a previous back up

---------- Post added at 04:41 AM ---------- Previous post was at 04:35 AM ----------

Back up your apps and internal SD, wipe everything including internal and flash https://dwnld.aicp-rom.com/device/m8d/WEEKLY/aicp_m8d_p-14.0-WEEKLY-20190720.zip
[One (M8) Android Development] jerryspring:
It is on ext4 already. That's the point I'm trying to make.
[One (M8) Android Development] jerryspring:
You can't mount data because your phone has a different file system and somehow you managed to encrypt it. I had this issue before and I had to return to stock and rerooot all over again
[One (M8) Android Development] saiyansection:
Unable to get oem lock.. Check this screenshots below

You have poorly read the previous threads...

Just go through images and I am posting the output from terminal when I try to lock the bootloader

Jerry one cannot say surely that if internal storage is 0mb then it's encrypted.. Maybe my device is facing hardware emmc issues.. Just go through that " image src" from bootloader.
[One (M8) Android Development] saiyansection:
fastboot oem lock

...

(bootloader) [PGFS] partition_update_pgfs: pg1fs_security

(bootloader) TZ_HTC_SVC_ENC ret = 0

(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery

(bootloader) Lock successfully...

(bootloader) deinit_lcd

(bootloader) mipi display off

(bootloader) mdp_clock_off

(bootloader) turn off fd8c2308 failed 1 times. Try again...

(bootloader) disable_mmss_clk done

(bootloader) pll1_disable done

(bootloader) TZ_HTC_SVC_DISABLE ret = -1610744452 (0x9FFDFD7C)

(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error

(bootloader) = 4

(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error

(bootloader) = 4

(bootloader) [ERR] Cannot halt SPMI arbiter!!

(bootloader) [INFO] Rebooting device

Now you tell me about this situation... Device gets rebooted after executing above mentioned command, but it stuck on a htc logo, then device goes into infinite boot loop.. Bootloader status is still unlocked..

Show your proness now.... This is not a child's play dude.. ?
[One (M8) Android Development] jerryspring:
You have issues. Your bootloader has been relocked. Read the output! Flash ruu with .exe or put a ROM zip on a SD card. You can flash ROM zip with Fastboot oem reboot ruu.... Then issue command Fastboot flash zip "zip name".

I suggest you boot to Fastboot and let phone see the ROM zip on the SD card (rename the ROM zip to update.zip)

---------- Post added at 02:06 AM ---------- Previous post was at 01:57 AM ----------

https://m.youtube.com/watch?v=ybu7fZa41so&feature=youtu.be

---------- Post added at 02:09 AM ---------- Previous post was at 02:06 AM ----------

[youtube]-Su9jj-MjIo[/youtube]

Same thing applies to the m8. Most Htc are done this way
[One (M8) Android Development] jerryhou85:
Dear all,

I have removed some off topic posts from this thread. Please remember our rules and be civil to each other during discussion.

When sharing your knowledge and communicate, always consider your audience. Thanks.

Jerry

Forum Moderator
[One (M8) Android Development] beeewell:
Invalid zip file format

I'm using TWRP ver 3.2.3-1, and on the last several versions attempts to install, I get error message Invalid zip file format. Anyone else?
[One (M8) Android Development] OGdroidster:
What error message is it? You should put what the output is. There's different errors. For instance error 6 or error 7.
[One (M8) Android Development] beeewell:
Thanks for your reply OGroidster. No specific error # - see attached.
[One (M8) Android Development] OGdroidster:
The zip you are flashing is not for the m8 it is for the mata. What version of the m8 are you running? That is the version you need to download and install. https://dwnld.aicp-rom.com/#htc
[One (M8) Android Development] Claymore1297:
You try to install a mata Rom, Please download m8 Rom
[One (M8) Android Development] beeewell:
Ahh...Thank you so much !!
[One (M8) Android Development] OGdroidster:
Your welcome
[One (M8) Android Development] Ayoseun:
Why

Update always lock my Sprint device to cdma Everytime and I will then have to unlock it over to again
[One (M8) Android Development] djlukas1983:
Could you add to installer a script to restore a system partition large size?
[One (M8) Android Development] OGdroidster:
You mean resize
[One (M8) Android Development] djlukas1983:
Yes
[One (M8) Android Development] OGdroidster:
you have add certain things or you can just format system either one
[One (M8) Android Development] Pustoy:
boomsound

Could you tell me please, in this firmware there is boomsound and standard htc camera?
[One (M8) Android Development] Timei:
no
[One (M8) Android Development] OGdroidster:
wipe system only then flash rom then gapps then magisk. to flash gapps resize partition.
[One (M8) Android Development] DanGeorges:
Edit - figured it out.

Not sure what I'm doing wrong, but when I initially tried to install this ROM, the AICP animated logo starts, and then the device reboots. The logo starts again, but reboots. This happened about 5 times, and the phone never got past that point.

I wiped as directed.

BTW - I've been installing custom ROMs for years on android phones, so I'm not a newbie at this.
[One (M8) Android Development] Hashim Ali Awan:
Okay so after a few hours of use, my device keeps rebooting randomly all of a sudden. open a few apps and keeping them in memory will cause a random reboot.
[One (M8) Android Development] old.splatterhand:
What are a few apps for you? I opened now up to 20 apps and my phone is still running.I also have tested now a handful (early) builds without a single random reboot.

What about your battery, how old is it, still the first?
[One (M8) Android Development] OGdroidster:
Constant reboots during music playback
[One (M8) Android Development] Claymore1297:
please be more precisely and provide a log. Otherwise I can't fix anything.
[One (M8) Android Development] Hashim Ali Awan:
Reboot

Okay it reboots for me whenever I try to cast and whenever I Try to backup apps using titanium Backup. For me it never rebooted while music playback only when I do the things above.
[One (M8) Android Development] Leroy_Sparks:
First off I want to thank the developer and team for giving us this ROM. It runs pretty well with only a few issues. The screen rotation is probably the one that impacts me the most, but this problem is common to another Lineage based Pie build.

I can confirm that the advanced reboot options are now working, however if using an app (like Magisk Manager or "Reboot") the phone won't reboot to recovery, rather just a normal system reboot.

Thanks for continuing support for the M8.
[One (M8) Android Development] Claymore1297:
screen rotation is broken - like on LOS - but since AICP 14.0 we are not Lineage based any more ;)
[One (M8) Android Development] OGdroidster:
I didn't do a log because I wanted to tinker to see what would happen. When I added two build prop lines and changed locked screen from 5 seconds to immediately i no longer got any reboots during any music play back :). The two build prop lines that I added was pm.sleep_mode=1 and ro.ril.disable.power.collapse=1. But still have some kind of ram problem when switching between certain things in music player and viper. I think it has to do with virtual memory. Im going to download kernel auditor so I can toy around with it a bit without having to unpack the image. I will let you know my findings when I have the time to tinker with it.
[One (M8) Android Development] Claymore1297:
do you need both props? maybe we can figure that out.

Next build will include this http://gerrit.aicp-rom.com/c/AICP/device_htc_msm8974-common/+/83339 maybe it solves our issue here. As on LOS, we have ZRAM disabled, maybe we can re-enable it, if needed.
[One (M8) Android Development] OGdroidster:
I just took a peek at your gerrit. That might work. As far as enabling zram it could be a test just to see what happens you could always disable it again. As far as the two lines of code in the build prop file yes I had to use both but maybe after next build they might not have to be used. If you want I can test your builds before you put them for download and test them and see what fixes that their needs be.
[One (M8) Android Development] Claymore1297:
New build is up!!

the build is containing mainly the following:

- clock positions

- lockscreen clock improvements

- perfomance related improvements, all credits goes to [MENTION=7108123]OGdroidster[/MENTION]

Enjoy!
[One (M8) Android Development] OGdroidster:
If anyone has a reboot for any reason like during video play back and casting and etc just change your lock screen from 5 seconds to immediately. I found three different occasions when reboot occurs but when changing setting as mentioned above for some reason no more reboots during these occasions.
[One (M8) Android Development] Zubeplanet:
cant install the rom, it gives me the error. "E3004: This package is for device: htc_m8, htc_m8whl ... ; this device is ."
[One (M8) Android Development] old.splatterhand:
There is one build for single Sim and one for dual Sim on afh. Sure you grabbed the right one for your model?
[One (M8) Android Development] felineko:
I'm having reboots when playing videos on NewPipe and when I play music with Musicolet.

I'm guessing it's because I installed Ainur Sauron and Ainur JamesDSP.

I've attached the logcat.

Cheers!
[One (M8) Android Development] OGdroidster:
This is known. Thanks for log cat. Just change the lock screen time from 5 seconds to immediately and it wont reboot during playback.

---------- Post added at 01:23 AM ---------- Previous post was at 01:20 AM ----------

Hey guys for some reason most of the performance tweaks didnt take affect but if you change the SElinux from enforcing to permissive most them take affect accept for one. There were some denials in the logcat. For now change the Selinux permissions. For those that dont know how to do that from terminal you can just use an app called SElinux switch here on XDA or a module from Magisk if you have magisk for root. If anyone gets confused on this just hit me I will explain it to you.
[One (M8) Android Development] felineko:
I tried changing the lockscreen time but I'm still having reboots. I hope my logcat helps
[One (M8) Android Development] Claymore1297:
no, it seems to be a partial log. Please make a complete log. And a logcat after a boot is useless (just saying).

Can you explain, what you changed in lockscreen?

And I can reproduce the issue, but I haven't installed any additional software

EDIT: you don't need to install JamesDSP, it is already there ;)