yashsingh1/xdaforums huggingface dataset:
[HTC One A9] kall3:
Details of the "calling issue"

On my HTC ONE A9 I have installed LOS 14.1 hiaeuhl 20180510 some time ago. Currently I have no calling issues with that version. But... I can confirm that when I started installing LOS on that phone using the newest LOS 15.1 hiae, I've had the calling issue as well.

I would like to add a more precise error description of that issue according to my observations:

After booting the phone, I was able to initiate or receive calls until the phone went into automatic locking screen for the first time. After unlocking the phone calling was no more possible.

After rebooting the phone I was again able to do phone calls until next automatic locking.

IMHO the modem (device or driver) "goes asleep" by the phone's automatic locking on LOS 15.1 hiae.
[HTC One A9] :
That's exactly my observation with LOS 15.1. Have you tried contacting the developer? Ethan Chen <intervigil@gmail.com>
[HTC One A9] itsabrick:
Am I wrong here or is it old news?
[HTC One A9] kall3:
No news, just detailled error description

As far as I can see, the details of the so called "calling error" were not described in earlier posts. So I added the details for the developer because he wrote, he was not be able to reproduce the issue.
[HTC One A9] Dragonkind:
Try MindTheGApps, not OpenGApps, you will get longer time of normal call function, though it is just longer. I don't think it is related to deep-sleep, coz I had tested it, making my phone standby for an hour, with Wi-Fi turned on and without any GApps. As MindTheGApps lighter than OpenGApps (nano) but heavier than no GApps (or safe mode), I guess it may be a memory tweak issue, something about Dialer/Telephony/InCall-UI isn't set as "keeping in memory" or wakelock. It causes us can't interact with our carrier, so there's no call duration time, also isn't able to receive incoming call, call status change (ex: hanged up by the end), and hang up.

Btw, if anyone wants to go back to LOS 14.1 temporally, but worries about the broken hand-free mode in VoIP call, just paste the attached file to the path "/system/etc". It is the same as this change on LOS 15.1:

https://review.lineageos.org/c/LineageOS/android_device_htc_hiae/+/217995
[HTC One A9] AFq44:
How can I downgrade to 14.1 from 15.1 ?

Bootloader unlocked, S-On

2.17.401.2 Firmware

HTC Europe

modelid: 2PQ910000

cidnum: HTC__M27

Edit: also, TWRP installed
[HTC One A9] Dragonkind:
You can only do clean install for downgrading.

And here's the old package of 14.1:

https://xdaforums.com/showpost.php?p=77133506&postcount=1467

BTW, I've been trying to build a new unofficial build of 14.1 for hiaeul.

We have no update for a few months.

But every time I compiling, it's always corrupted, I can't do anything except trying…
[HTC One A9] AFq44:
Thank you so much, but I just flashed stock rom. Lineage was worst :|
[HTC One A9] Dragonkind:
You're welcome. Stock rom is always a more stable choice.

In fact 15.1 is awesome enough, except the trouble of phone call.

If some day our God Dev proves and fixes it, I will recommend you to try the relived 15.1.
[HTC One A9] AFq44:
Yes, UI was awesome to be honest, but dialer issue ruins everything as you said. I've sent an e-mail to lineage os dev about this situation, no answer yet :)
[HTC One A9] Xtaner:
Any updates about the Situation?

Has someone successfully build a new nightly on his own?

If there's no update till the end of the year, I think I will get back to stock.
[HTC One A9] Dragonkind:
I did, but it's for hiaeul not hiaeuhl. If you want, I can try compiling which is for hiaeuhl.

https://xdaforums.com/one-a9/development/unofficial-lineageos-14-1-t3827916
[HTC One A9] Saad. Mk:
Hi,

Has anyone been able to find a solution for the calling issue? I think the ROM is actually very good and very stable too other than the calling issue...
[HTC One A9] Xtaner:
Thx, but never mind. I'm stuck on 14.1-20180510-NIGHTLY-hiaeuhl.

I think the 15.1 nigthly for HTC One A9 is dead because the build was removed from list. Correct me if I'm wrong.
[HTC One A9] itsabrick:
As far as I know, the Dev might return to the build, if there is a solution for the dialbug.
[HTC One A9] Xtaner:
https://review.lineageos.org/#/c/LineageOS/hudson/+/218574/

No updates since 27 Jun. 2018.
[HTC One A9] itsabrick:
He wont continue the LOS 14 builds. But might go on with the LOS 15 builds, if the dialbug is cleared.

But he wont look for a solution for that.
[HTC One A9] kall3:
LOS 16

Today there is some first activity on Lineage 16.0 hiae :)

See: https://review.lineageos.org/#/q/project:LineageOS/android_device_htc_hiae
[HTC One A9] Saad. Mk:
FINALLYY
[HTC One A9] :
Looks like LineageOS 16.0 is getting a lot of love for our A9 lately :)
[HTC One A9] Dragonkind:
https://www.reddit.com/r/LineageOS/comments/618nbi/phone_call_staying_active/

Hey guys, I've found this Reddit thread, it may be an inspiration for our dead LOS 15.1 and coming LOS 16. :highfive:

It mentioned about that its was a baseband issue, it was the only discussion which pointed out the issue clearly and solved it.

Also, with LOS 16 of OnePlus 6, they seem to share the same bug with us.

Its call duration time also doesn't show when the bug appears.

https://youtu.be/0wd-WvfK7A4?t=8m
[HTC One A9] AceNik:
Hi All,

I'm running LOS 14.1 tried to use the google phone app on play store as a beta tester. Guess this is exactly what affects the calling bug on LOS 15. Even on LOS 14.1 with this google phone dialer being only one enabled n earlier LOS 14.1 phone app disabled, my incoming calls stop to show up on display. No way to receive calls.

I like the app compared to what comes installed on our phone.

Installed package name: com.android.dialer

Version: 3.00.0

Google phone beta package name: com.google.android.dialer

Version: 23.0.208561757

Hope this helps.
[HTC One A9] Xtaner:
Any updates about the situation?
[HTC One A9] Saad. Mk:
Any eta on LOS 16?
[HTC One A9] AceNik:
Seems to be no updates after 1st October for our device.
[HTC One A9] Xtaner:
I will wait until January.

If there will be no news about a new lineage release for HTC ONE A9 I will switch the phone and sell the old one.
[HTC One A9] AceNik:
Finally some resumed activity yesterday on 16.0, love the devs for their persistence & support
[HTC One A9] seser111:
any update?
[HTC One A9] MrVovans:
I has successfully installed Lineageos 15.1 on my hiaeuhl device. Cellular networks working, calls, SMS. The only bugs I have detected - airplane mode doesn't work. You also can't turn off power to cellular module. Only powering off the device. If you will eject a Sim card, when your phone is powered on, and then you will put it back, then phone won't see it. Fix - rebooting. If you will try to power off cellular module, it will cause the calling problem. Fix - reboot. If ROM developer read this, please, contact me. I will help you with reproducing the problem. vovakozlouskiy@gmail.com

---------- Post added at 12:18 AM ---------- Previous post was at 12:13 AM ----------

There are some screenshots, if you don't believe me.

https://photos.app.goo.gl/3y4gznHoZd7FYGqKA

https://photos.app.goo.gl/NWKpq34zPR4viZta6

https://photos.app.goo.gl/j1zRXaxtv2ofNGDc9

https://photos.app.goo.gl/ns8hHpA5GATRUdBv5

https://photos.app.goo.gl/o2WGEaNBbGqHnbs18

https://photos.app.goo.gl/84NhoWXApTWrg24a9
[HTC One A9] Saad. Mk:
How did you manage to fix the dialbug issue?
[HTC One A9] AceNik:
Whoa, thanks for the reply, can you please confirm if you receive incoming calls after leaving phone for 15 mins on standby with screen off. The main issue is that there is no incoming call notification showing up after the phone goes into deep sleep.

---------- Post added at 08:04 AM ---------- Previous post was at 07:51 AM ----------

Does anyone know what's happening about this? Is lineage OS 16 actually in progress?
[HTC One A9] MrVovans:
Wiped everything in the TWRP two times. Then turned off the phone and turn on again. I eject Sim card at first boot and set up everything without it. Then power off the device and insert the Sim card. Turn it on. Enter Sim code. Now everything working. ;)

---------- Post added at 10:12 AM ---------- Previous post was at 10:07 AM ----------

Yeah, I will check it today. But I really don't have any problems with calls. There is no progress with our device. Dev do it only for enthusiasts, who will try to build it themselves. Our device is slowly dying. :crying:
[HTC One A9] MrVovans:
Ok. I'm still testing it and I found a horrible thing. If you won't connect to cellular data, then you will able to receive calls and call anyone you want. If you will turn it on, then you will be able to call, but you won't receive calls. The only fix is rebooting. Holy ****. I remember, than Dev can't find the reproducing steps, so, I found them. So the bugs are: airplane mode doesn't work, can't receive calls while connected to cellular data. And if you will turn on cellular data and turn it off you will also won't be able to receive calls. Android shows, that you are disconnected from cellular data, but you still. Hope Dev will fix it. Can anyone send him this information? I couldn't find any contact address. I will continue to test. Stay tuned! (Sorry for such bad English, I'm from Belarus and my main language is Russian).
[HTC One A9] :
intervigil@gmail.com
[HTC One A9] AceNik:
Glad you finally got the issue, whatever you try, confirm if after leaving phone for 15 mins in standby mode without data, can you still receive incoming calls?
[HTC One A9] MrVovans:
Yes I can. But not now. I do something and calling bug is reproducing every time I reboot my phone. Now I can only receive calls. I send information to the dev and hope he will fix that. Now I will back on 14.1.
[HTC One A9] MrVovans:
Reinstalled 15.1 with MindTheGApps and now everything is working. Strange :/
[HTC One A9] AceNik:
Have you also installed magisk? Also please confirm again Ruth magisk if after phone boots and waiting 10 - 15 minutes, do you still get incoming call notification?

Would appreciate if you can explain your steps one by one for others to follow and confirm the same.

Thank You
[HTC One A9] MrVovans:
Found only one issue - you can't hang up while do outgoing call. Everything else is fine.

---------- Post added at 07:11 AM ---------- Previous post was at 07:09 AM ----------

Nope. I only installed telegram, pixel launcher. No root/magisk/gravitybox/Xposed/substratum/etc.

I have all calling notifications with stock lineage dialer. Have no idea what this problems caused by.
[HTC One A9] AceNik:
OK that I guess can be solved install the Google phone app from play store and make that your default.

But then if you haven't installed magisk then how will you enable root features?

The two things you did differently from others is:

1. You haven't installed magisk

2. You used another gapps package not opengapps
[HTC One A9] :
I have tested Lineage-15.1 with lineage-15.1-20180618-nightly-hiae-signed, addonsu-15.1-arm64-signed, MindTheGapps-8.1.0-arm64-20180808_153856 and the Boot Patcher, directly after i set up clean i have the bug with incoming calls, there where no deep sleep and other things. It won't work for me. Only wanted to tell you this.
[HTC One A9] MrVovans:
Installed lineageos 15.1 20180625-nightly-hiae. Cleaned everything in TWRP, installed system and mindthegapps through adb sideload and made the first boot without sim card. When I set up everything I rebooted my phone and while rebooting installed sim card. Everything is working for me. Right now I am writing this using my A9 and 3G network.
[HTC One A9] :
First Boot without Simcard did the Trick, i installed everything from zip's in twrp. But one thing doesn't work, if i call someone and then try to hung up it doesn't do this. And after i tried that one time i have to reboot to call again.

Now trying to install opengapps aroma version and use the Standard dialer, tell later if it works. *EDIT* It didn't work, it don't hung up, too. Now i go back to 14.1.
[HTC One A9] AceNik:
Can someone give the link to download the ROM?

I can't find it anywhere, or can you upload 15.1 lineageos hiae
[HTC One A9] AceNik:
Ok I see that as of Dec 3rd all the latest updates showing here have changed to status merged which is a good thing, our device and devs are patiently making it happen for us

https://review.lineageos.org/q/project:LineageOS/android_device_htc_hiae
[HTC One A9] MrVovans:
https://photos.app.goo.gl/e1CCYJUMiLccmiBE6
[HTC One A9] Xtaner:
Source?
[HTC One A9] MrVovans:
https://wiki.lineageos.org/devices/hiae

I hope someone will try to create Pie ROM by himself. I want to be the one, who will, but I have very slow connection and I can't download Lineage repo.
[HTC One A9] :
I have downloaded it and even breakfast hiae works fine, but when i start the build it complains about different java versions and the build fails. Even installing the same openjdk version doesn't help. But you can checkout it fine :)
[HTC One A9] MrVovans:
For build it you will need to install openjdk 8 only. Uninstall jdk 7.
[HTC One A9] :
No that doesn't help i have installed icedtea-3.9.0, it complains about different java versions, LineageOS 16.0 uses jdk-9 but even when i install oracle-jdk-9 it still complains about different java versions. I can't build it at the moment.
[HTC One A9] AceNik:
If you using Ubuntu,

Check first you need to update-alternatives & choose the right java version you want.

Java --version which tell you which one is active
[HTC One A9] :
I am using Gentoo, and i know how to set the active Java Version, like i said it won't help using different versions.
[HTC One A9] MrVovans:
Try to build it at Ubuntu. I know, that Android development and rom building is Ubuntu-friendly. And I also read, that lineageos 16 require jdk 8.

I have tried Ubuntu 18.04 WSL. But downloading repo 7 days is too long.
[HTC One A9] :
/home/ollilein/android/lineage/out/build-lineage_hiae-cleanspec.ninja is missing, regenerating...

/home/ollilein/android/lineage/out/soong/make_vars-lineage_hiae.mk:644: warning: JAVAC does not match between Make and Soong:

/home/ollilein/android/lineage/out/soong/make_vars-lineage_hiae.mk:644: warning: Make : /etc/java-config-2/current-system-vm/bin/javac

/home/ollilein/android/lineage/out/soong/make_vars-lineage_hiae.mk:644: warning: Soong: prebuilts/jdk/jdk9/linux-x86/bin/javac

/home/ollilein/android/lineage/out/soong/make_vars-lineage_hiae.mk:1041: error: Soong variable check failed.

and

prebuilts/jdk/jdk9/linux-x86/bin/javac --version

javac 9

This is the error message, and like i said even when i use oracle-jdk-9 the same message comes.
[HTC One A9] Saad. Mk:
Have you tired completely uninstalling all jdk files and reinstalling jdk 9? Like manually deleting all jdk related files?
[HTC One A9] :
I recompiled icedtea and i installed oracle-jdk-9 like i said it doesn't resolves the error, /etc/java-config-2/current-system-vm is a Symlink to the used java-vm if i change it to oracle-jdk-9 it doesn't resolve the error. I tried everything i could do, no change, so for me it's not bad since i can wait for official builds, i only wanted to say that there is development for LineagOS 16.0 on the htc one a9, so when it comes out we probably will become official builds for it.
[HTC One A9] MrVovans:
Join «LineageOS Group» on Telegram: https://t.me/Lineageos_group

Try to ask there. Maybe they know the solution.
[HTC One A9] Dragonkind:
Well, about the major bugs on LineageOS 15.1, I'd like to make some notes here...

1. Can't hang up outgoing calls. Can't receive any incoming calls, the other side would keep waiting till timeout and turn to voicemail.

2. SMS isn't affected. And the phone call bug won't be there with rebooting into safe mode.

3. Call bug seems to be existing on "hiaeuhl" (including those who change CID to "hiaeul"), but not "hiaeul".

Some people using other devices had also got this bug, but they were on LineageOS 14.1.

As their discussion, it was probably related to "default apps" setting.

Coz our bug can be solved in safe mode (all 3rd-part apps disabled), it might be the same bug with these examples.

https://xdaforums.com/ascend-g7/help/hang-calls-g760-l03-flashing-lineageos-t3571074

https://www.reddit.com/r/LineageOS/comments/6179tr/problem_on_calls_help_fast_please/

But on another device, they reported as baseband issue.

HTC One A9 was devided to "hiaeuhl" and "hiaeul" on 14.1, and got unified into "hiae" on 15.1.

As [MENTION=1815755]intervigil[/MENTION] said, he couldn't reproduce the bug on his "hiaeul" with AT&T SIM, thus baseband could be another reason.

https://www.reddit.com/r/LineageOS/comments/618nbi/phone_call_staying_active/

However, my phone is "hiaeul" which was converted from "hiaeuhl", it works all fine on 14.1 with "hiaeul" builds.

4. Network sometimes wouldn't select access points automatically. It's an abstractive issue, most happens when I come from a strong-signal area (LTE+/LTE) to a weak-signal area (H+/3G).

In fact, LineageOS 14.1 is almost forgot by many advanced devs, its little issues will never be fixed probably.

I decide to start unofficial 15.1 before we getting nightly 16, though this may not come too soon.
[HTC One A9] Saad. Mk:
My phone also is a hiaeul (not converted) but I still experience the dialbug on LOS 15.1
[HTC One A9] Dragonkind:
Well, then it may be related to other reason(s), not baseband.

Intervigil had mentioned that he used a custom GApps setup that was built as part of his personal builds, he didn't use recovery flashable files.

And I'm sure about that it's normal when there's no GApps or booting into safe mode. (It means only the built-in dialer available.)

Maybe something included by OpenGApps and MindTheGApps interfere the setting of "default phone app".

But I haven't heard about any other devices getting this bug on LineageOS 15.1, only us.
[HTC One A9] Saad. Mk:
I'm going to try and flash the rom without gapps, and see if that works then I'll try the magisk module that flashes gapps

---------- Post added at 11:37 AM ---------- Previous post was at 11:00 AM ----------

Edit I flashed the ROM without Gapps still with no luck, the phones's completely stuck now:eek::eek:
[HTC One A9] Dragonkind:
Did you mean unable to boot up or the problem still exist?

I could boot without GApps before.

If you boot up successfully, and still get the problem.

Could you test "default phone app" in "Settings > Apps > (up-right gear icon)"?
[HTC One A9] Saad. Mk:
I could boot and yes I already tried using the stock dialer, the first call was successful however after a few mins I tried sending a sms, wouldn't send and then tried calling and couldn't hang up followed by endless call sounds ie viocemail.
[HTC One A9] Dragonkind:
Then when it stucked on "hanging up" screen, could you go to "default phone app" setting, reselect built-in dialer as default, and see if it's able to hang up?

It's interesting that it can't send SMS, what I just know is it can receive SMS...

If it's not working at all, please check it with safe mode (power menu > (long-press) reboot).

Maybe we can dig it out what causes the bug.
[HTC One A9] Saad. Mk:
Well on the hang up screen, it eventually turned black while still showing the status bar icons and was stuck there pressing the home lock volume buttons did nothing so I had to force shutdown and rebooted to safe mode adn oddly enough networking wouldn't work at all no cellular reception, nothing.
[HTC One A9] Dragonkind:
Strange, if you even get no cellular connection in safe mode, it seems to be related to RIL.

On my phone, it works almost fine in safe mode.

I'll also do more tests in my free time, and see if it can be solved.

For sure, hope we can get a daily-usable LineageOS 16 from Intervigil soon...
[HTC One A9] Saad. Mk:
Found a website where you can download the previous LOS 15.1 builds... Yk for testing purposes

https://logs.lineagedownloader.com/lineage-15.1/hiae
[HTC One A9] kaster.momo:
lineage-15.1-20180625-nightly-hiae-signed.zip

https://www.multiup.org/847d563a61adaea859954e6618b19bcb

call problem not solved
[HTC One A9] Saad. Mk:
DELETED
[HTC One A9] Tommmii:
truth.
[HTC One A9] r_amse_s:
any chance actually to get android 8.1 or higher on A9?
[HTC One A9] sp@rco88:
can anyone reupload linageos 15.1 for a9? all links is dead(((
[HTC One A9] solved:
https://xdaforums.com/one-a9/general/lineageos-rom-15-1-20180625-t3945507

Is there really someone using this ROM? I mean i've got it installed, and it is running (well .. cam not working like always) but couldn't test any calls yet.

someone else using it and could share some infos?
[HTC One A9] kaster.momo:
https://download.lineage.microg.org/hiae/lineage-15.1-20180625-microG-hiae.zip
[HTC One A9] Dragonkind:
I've made an unofficial 15.1 build, still no luck.

But if anyone wants to try, just see this:

https://xdaforums.com/showpost.php?p=79952184&postcount=168
[HTC One A9] kaster.momo:
I found the problem

After installing Google framework service , have problems
[HTC One A9] onlime1:
As a Google hater, I still have the problem with no GApps. I think it's not it :p
[HTC One A9] kaster.momo:
I'm sure because I tested it and it's 100 percent problem with Google Firmware Service;)
[HTC One A9] Quelquunmaisqui:
Fork of LineageOS called /e/ unofficialy built by unknownanonymous for pie: https://androidfilehost.com/?fid=1899786940962595987

and Oreo:

https://androidfilehost.com/?fid=1899786940962595986

I can't test it but if it works, it could help to solve LineageOS 15 call problems.
[HTC One A9] Taskin144:
Thanks for the build. It seems that /e/ has brought some noticable changes one of which is iOS-styled launcher and toggle-buttons. The whole thing looks kind of off. They even rebranded a lot of apps and some of those apps I don't want can't even be disabled without root access!
[HTC One A9] Dragonkind:
The old bugs are still there? If not, maybe I can download the real LineageOS 16.0 from intervigil's work, making unofficial builds for all of us.
[HTC One A9] solved:
so i've tried it and .. yeah . :/ incoming calls doesn't go through and you can't hang up on outgoing calls ..
[HTC One A9] AestusAI:
It is someone reading this today? As I say in [MENTION=4776747]Dragonkind[/MENTION] thread, I can call and recive calls normaly in his rom of linage 15.1 (Only Google Services do not work)... I think it is related to the audio mods that I have installed with magisk. Anyone still interested in this phone?
[HTC One A9] Taskin144:
Would you please share the mods' names?
[HTC One A9] AestusAI:
Sure, but I have to say something first, I understand that the problem was that in the call you couldn't hear anything right?, if so, then that problem is definitely fixed? But, I found a mistake that I didn't realize until about 5 days ago, it seems that the calls don't hang up properly; rather, they just don't hang up, so you can't even call someone again, or receive other calls... Still, I think it's an easier bug to fix, but I don't really know...

I have it installed:

- Ainur Narsil

- JamesDSP (I have to clarify that it doesn't work, it doesn't install any APK, but I still wanted to mention it)

- Audio Modification Library

- ... others with no apparent relationship? (I can tell you, but I don't currently remember them and I don't have my cell phone near me)
[HTC One A9] The_scam:
Did hspa+ work?
[HTC One A9] eliah94:
No cellular data connection at all.

Just to make sure, I reproduced the bug again.

Flashed todays build, first boot everything is fine.

Second boot (now the phone is encrypted) it's gone and I didn't find a way to make it work.

Flashed todays build again, now with the boot image patch.

Everything works as expected, no matter how many times I reboot.
[HTC One A9] The_scam:
Very strange, what's ur carrier?
[HTC One A9] InTheNorth:
Got the same problem.

The fix for me is to disable the password screen at the boot of the device (i.e. before the PIN code screen, when the phone IS bootING).

When you set up the password, you have the choice of a prompt just before the end of the boot ("Secure boot") or not. Choose "not". Finish the password setup then reboot.

Hope it's clear... :)
[HTC One A9] eliah94:
o2 Germany
[HTC One A9] The_scam:
Yes, they might be restrictive when it comes to Roms. Just roll with no encryption ???