yashsingh1/xdaforums huggingface dataset:
[Desire 816 Android Development] Bandit Development:
Mine synced alright, although it hung on qcom_audio for awhile. I built with a5ul, but I got this: http://pastebin.com/pifEBW3x.

Here is my updated roomservice. Maybe I'm still missing something.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" />
<project name="Grarak/android_device_htc_a5-common" path="device/htc/a5-common" remote="github" revision="cm-13.0" />
<project name="Grarak/android_device_htc_a5ul" path="device/htc/a5ul" remote="github" revision="cm-13.0" />
<project name="CyanogenMod/android_kernel_htc_msm8974" path="kernel/htc/msm8974" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="bigsupersquid/android_packages_apps_SnapdragonCamera" path="packages/apps/SnapdragonCamera" remote="github" revision="cm-13.0-caf" />
<project name="TheMuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="cm-13.0" />
<project name="CyanogenMod/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" />
<project name="CyanogenMod/android_hardware_sony_thermanager" path="hardware/sony/thermanager" remote="github" />
</manifest>
[Desire 816 Android Development] :
Mailed you that.
[Desire 816 Android Development] steppinthrax:
Another thing I notice. I'm sure somewhere we discussed this, but I can't receive images via MSs
[Desire 816 Android Development] bigsupersquid:
try deleting /data/data/com.android.providers.telephony directory and rebooting. it will rebuild your apns list among other things (removes stored messages too.) I noticed when mms failed after a while that removing that whole directory fixed mms while only removing the two files for rebuilding the apns list (/data/data/com.android.providers.telephony/databases/telephony*) did not fix mms which had eventually bugged after working on a clean install.

plus I found another apn to test.

http://buzzmobile.us/virgin-mobile-apn-settings-usa/

little different and the 310 00 mcc mnc matches what show up in my logs as home network.
[Desire 816 Android Development] disturbed1117:
I had the Open Gapps Stock ROM and the Universal APN installed. Is there a better camera app? All my pictures are really grainy, and I don't think I'm getting the full 20MP out of my camera.
[Desire 816 Android Development] bigsupersquid:
hardware 13MP.

maybe try other camera apps like Google camera or htc camera off play store.
[Desire 816 Android Development] icy_gt:
It might be my own fault that it got corrupted but i just got a new one and its working fine. Only problem im having is the lte doesn't work at all . I have it on 3g only . Even stock was like that though
[Desire 816 Android Development] bigsupersquid:
I messed up my test card by reinstalling the rom and wiping data.

maybe twrp will restore it but right now...

I'm dealing with the 'optimizing x of 200' from reinstalling stock so I can talk to Virgin Mobile about my no LTE yet again.

I need lte working at least sometimes so I can test it. Well, it'd be nice, anyway. And I just bought the bigger data pack at the 4GB unchoked for $40 plan, so it'd be cool to be able to use it up faster then 3g and still run out at the end of the month.

Last time my lte was working it allowed me to lose 2GB really fast because of the gps data leak... it works that often here.
[Desire 816 Android Development] icy_gt:
I also lose my 3g sometimes and have to restart. If i toggle airplane mode or the data toggle i don't get it back until i restart. It flickers on and off...
[Desire 816 Android Development] bigsupersquid:
you might try using the file manager (or the one in twrp) to delete /data/data/com.android.providers.telephony, reboot, and let it rebuild its databases.

I've been experimenting with apns and mcc/mnc.

in cm13 I can set the mccmnc to several different numbers and as long as the apns match those codes, I can use mms and (3g) data.

interestingly, cm13 sees my sim card as Sprint 310120, while stock lollipop says it's Virgin Mobile 311490.

both operating systems only get 3g right now. I stumped both a tier 1 and tier 2 phone rep yesterday over the course of an hour talking to them.

I got a ticket number ( oh joy ) and escalated to the networking department to supposedly hear back today.

maybe they'll get my lte running again, supposedly it's working fine in my municipality. then I can get a better handle on why it's cutting out.
[Desire 816 Android Development] steppinthrax:
I just deleted that directory and rebooted, it pretty much reset my phone settings. I got LTE for a brief second then it cut out. I waiting for several minutes with no connection. I switched to 3g and got an instant connection. The 3g seems good, but 4g/lte is non working. It sometimes will connected on LTE, but rarely, so I've been using strictly 3g. Now the URL you sent me dosen't resolve to anything, it goes to the buzzfeed etc. Also what tool are you using to change the APN?

Thanks
[Desire 816 Android Development] bigsupersquid:
I'm manually entering the apn into /etc/apns-conf.xml :silly:

also, *#*#4636#*#* engineering menu in dialer, I turned on lte only setting and lost every bit of radio function. no signal. wcdma only the same.

both stock Rom and cm, no lte is not my fault on my phone :angel:

cdma+lte/evdo auto is stock setting.

the linked apn didn't work anyway.

does your phone get lte on stock?

if not, you'll have to hassle through virgin customer service like I'm in the process of doing.

I'm pretty sure from the symptoms there's something wrong with the sim programming.

you can get 3g without the sim in at all...
[Desire 816 Android Development] steppinthrax:
OK thanks, so you do this on the phone directly. How did the buzz APN settings work?
[Desire 816 Android Development] bigsupersquid:
Didn't.

They'll make calls and sms, 3g data, no mms.

and the system only picked them up without the sim inserted
[Desire 816 Android Development] steppinthrax:
Just a question here how would APN settings differ from this OS to the original OS. My thinking is APN settings should stay relatively they same and are more/less static from os to os for the SAME phone. Would this seem more/less like a Radio driver issue. I imagine there is some file that dictates how the radio chip is utilized (like a driver). I'm also assuming that the one used for kit kat 4.4 or Lollipop was in no way compatible!
[Desire 816 Android Development] bigsupersquid:
the apns could be the same. first release of this they were at least the same mccmnc. sometime later the 311490 wasn't getting me data or mms or something so I changed it to Sprint 310120 like the sim read out in the log. then it worked again.

the new mm radio drivers (ril blobs, I'm s-on so stuck with lollipop radio firmware) are actually working better in cm13 than stock lollipop did for me. I get cid sid nid for cdma towers in cm but in stock they're all null data. eci pci tid fail to read both in stock and cm13 (gsm tower data)

like I mentioned, I'm pretty sure my lte problem is with the sim card programming rather than operating system. or stock would get lte...
[Desire 816 Android Development] steppinthrax:
OK, I thought the SIM card is pretty much like a "key" used to identify the phone to it's respective carrier. More/less it just has a bunch of numbers and identifiable information about that phone so it can communicate with the carrier. I have a Sprint sim card, didn't realize that sim cards were programmable. So could my lack of 4g problem be due to a sim card programming issue?
[Desire 816 Android Development] bigsupersquid:
maybe once virgin sorts out my lte I'll have better information.

one thing about mine, the used phone came without a sim. virgin sent one, and it wouldn't work out of the box. there was some sort of ota programming by tier 2 tech support for mine to work.

and they did NOT want to listen to me saying check the sim, it didn't come with the phone, until every other possible hoop had been jumped through.

when they finally transfer your call from the first layer of customer service to a tech because your problem is not able to be resolved with airplane mode, update prl, or update profile, it's tier 2. when they can't deal, it's tier 3. I'm up to tier 3 now for my lte service. running stock over a day now and hating it because it has to be stock to talk with customer service.

so there's things they can do ota to the sim. mine was fabulous solid lte service after that first two days of tech support calls.

then I missed an on time payment and my lte just went away. a week of tech support later, spotty lte that was gone within a week. hasn't worked since.

I think the automated computer system messed up my service programming, but I could be totally delusional about that too.
[Desire 816 Android Development] steppinthrax:
My phone worked perfectly on stock rom. It also worked great when I had to go back using the RUU. The 4g also worked great when I was using insert coin for some time now.

In terms of virgin mobile, I do remember that I bought my phone used from ebay (cracked screen). It never came with a sim. I called VM and told them that I lost my sim, they sent me a new one. Afterwards, I had to call them and give them the sim number, then I started to get data. But that was so long ago, and since then I've never had data issues with stock nor insert coin.
[Desire 816 Android Development] frank9184:
[MENTION=2980661]bigsupersquid[/MENTION] Excuse me!I downloaded source from http://xdaforums.com/android/software/sources-android-sources-highly-t3231109

Which is meaning I can build without repo syncing ,but I don't know how to download device tree with it.Can you teach me how to do it?

BTY ,these device tree will work on cm11?Will you build a MiUi for 816?I want to try new features in MiUi since there is no build worked on 816.:silly:

Thanks again for CM13,the music will be louder when you press the song ~~((Is the music app buggy?
[Desire 816 Android Development] jimmybuttons:
thanx for the great rom, definitely breathes new life into a much-deserving device!

everything worked great, and had MMS for the first day, then it just quit working. now i only get notifications for an MMS and if i try to download a pic from MMS, i get a pop-up that says "you may be able to download after inserting SIM." i've tried re-seating my SIM several times, tried different network settings, etc. even tried flashing the APN fix.

came to this rom from lollipop on VM. any advice would be fantastic! thanx again for your hard work on this, definitely keeping it on as my daily driver!
[Desire 816 Android Development] bigsupersquid:
In your build directory where you did unpack the sources

git clone https://github.com/bigsupersquid/android_kernel_htc_msm8974 kernel/htc/msm8974 -b cm-13.0

git clone https://github.com/bigsuperprojects/android_device_htc_a5ul device/htc/a5ul -b cm-13.0

git clone https://github.com/Grarak/android_device_htc_a5-common device/htc/a5-common -b cm-13.0

git clone https://github.com/bigsuperprojects/proprietary_vendor_htc vendor/htc -b cm-13.0

git clone https://github.com/CyanogenMod/android_external_stlport external/stlport -b cm-13.0

Then

. build/envsetup.sh

lunch cm_a5ul-userdebug

mka bacon

If it's missing device/qcom you'll have to get that too. Use my room service.xml for the list of what you need and where it is on github if anything is missing.
[Desire 816 Android Development] sabetta:
I can't get my contacts to sync. Google accounts signed in, clean flashed everything else seems great! LTE, data, MMS, pic messages everything I've tried is working great but can't get my contacts. Any ideas?
[Desire 816 Android Development] VinniePB:
Just loaded the ROM and had the same problem. An earlier post said you need to export the contacts from another device to a VCF file, then import them into the new device. I transferred it with Drive, seemed the simplest way. If there's a better solution later in the thread, I haven't seen it.

Doesn't look like new contacts will be backed up, or at least that's what the phone said when I tried to add one. Some more info on that would be of use.

Otherwise very impressed so far. Always miss getting to use HTC's elegant clock app, but that's a small price to pay.
[Desire 816 Android Development] steppinthrax:
Any updates on the 4g/lte?
[Desire 816 Android Development] VinniePB:
Can / should I load all the HTC apps?

After doing a restore of the phone's apps, it downloaded all the various HTC services and apps as well. HTC Service pack kept crashing - I deleted it, and it didn't seem to harm the phone's functionality at all.

So that begs the question of which if any of the HTC apps does the phone need now? I have the HTC clock app, but I don't see a way to use its widget, which I prefer (indeed, just tried opening the interface and it crashed, which may answer the question)
[Desire 816 Android Development] frank9184:
Wait...Are you meaning the application downloaded from Google Play?NO These applications from Google Play won't work ,so you should get the apk and install from XDA .

Worked for me
[Desire 816 Android Development] aftertzf:
I have weird cellular crashes every 2/3 days. Nothing special running on phone each time.

Seems more linked to change of location and WiFi/4g swapping.

Sim card not detected and needs a full reboot.

I have logcat if that can help.
[Desire 816 Android Development] aftertzf:
Voil?*
[Desire 816 Android Development] sabetta:
Re: contacts not syncing

seems to be the Gapps. I flashed with gapps 6.0 pico= no contacts. Fresh clean flash with Gapps 6.0 nano= contacts synced. I don't know but it worked!

But now Titanium Backup Pro doesn't seem to work to restore apps?
[Desire 816 Android Development] bigsupersquid:
Here, for everyone having firmware issues on chl, I spent all day uploading the zip RUU.

Make sure your phone is charged first. Very bad juju for it to die during firmware flashes.

I'm not sure if it needs stock recovery installed to use it or not. May not install without it and that'd be a hassle. Follow the instructions linked in OP for installing stock recovery if you're wanting to play it safe.

Definitely

fastboot oem lock

before putting the 0P9CIMG.zip on external SD and rebooting into HBOOT. Or it won't flash.

Then remove the sd card after it is finally done. It'll take a few reboots to finish.
[Desire 816 Android Development] icy_gt:
That is the stock Lollipop RUU right ?
[Desire 816 Android Development] bigsupersquid:
yes, extracted from the exe.
[Desire 816 Android Development] chaosreaper95:
[MENTION=2980661]bigsupersquid[/MENTION]

I have some info regarding the LTE not working every now and again and not turning back on. The story is like this I left for work this morning and when i shut off my WiFi my LTE wouldn't turn on. I tried the many quick fixes I have used to remedy the issue (engineering mode, force stopping com.android. phone through Carrier settings, rebooting both soft and normal, clearing dalvik and cache, etc.) To no avail. I remembered seeing something about deleting telephony.db and figured well it doesn't work now if I make it worse I'll just resinstall as planned. Tried deleting telephony.db and reboot and nothing happened. Went a step farther and deleted telephony.db and telephony.db-journal same as before. Then I tried deleting telephony.db telephony.db-journal and also preferred-apn.XML in the shared-prefs folder in same directory as telephony.db and it worked perfectly after a reboot my LTE was back on as it was switching between 3g and LTE fine without issue. I don't know what it did exactly I'm sure you do better than I but I discovered that today and to my knowledge no data was lost my phone has been running fine since then and I had it cut out twice today on me and tried the same trick over and worked both times so seems to be reliable fix. Possibly a permenant one for us VM users.... Anyway I wanted to let you know what I found out today. On a side note I ran the ROM fine for about 2 weeks without the LTE issue until today. Hope that helps!
[Desire 816 Android Development] bigsupersquid:
[MENTION=5404846]chaosreaper95[/MENTION]

thanks for the breakdown.

the lte issues do seem like apn problems, your experiment helps add weight to that.

it'd be easy enough to make a flashable zip for recovery to erase those, which would make it easier to do.

nothing so easy to fix my lte, still broken on stock. now virgin claims tower upgrades in my area, credited me a month service after over a week with their tech support unable to figure out my no lte.

anyone with no lte on stock either, should hassle virgin with their phone running a stock unrooted backup to try to get it fixed. or am I the only one with no lte on stock or cm?
[Desire 816 Android Development] chaosreaper95:
I personally have not switched to stock since I went to custom. But I have had multiple different ROMs and LTE has always worked fine for me. Most hassle was with earlier CM13 versions and flashing the APN fix with newer version. I could always get it to work someway though... Have never had an issue with it so bad I've had to call customer support though.
[Desire 816 Android Development] bigsupersquid:
funny. I'm on my second service ticket this year for a month+ (or several months this time) solid no lte. sure would like to figure it out.
[Desire 816 Android Development] chaosreaper95:
Have you tried sim in a different phone at all? maybe the phone is being picky about communicating with the SIM... I'm no expert but just a thought..
[Desire 816 Android Development] bigsupersquid:
don't have another cdma phone that takes a sim. one gsm lge p500 and a gsm 2g only watch. optimus v, evo v 3d both cdma simless.

good thought. I've been telling virgin my opinion is a sim problem... doesn't matter whether it's in the phone or not as far as service goes. except for it whining about no sim that is.
[Desire 816 Android Development] ajones23:
Well the short time I was on stock I never had a problem with LTE. Was always on,even after root and CM it was on lte. But I do have the same problem turning WiFi off,and lte doesn't connect. I just leave it on and and leave home turn WiFi off and it connects. Down here in south tx,near SA, I get great lte and 3g. Still no other issues or problems.
[Desire 816 Android Development] rklatte:
I've been bouncing between this ROM and stock, but I'm determined to make cm13 work! My biggest problem so far has been the unexplained LTE working, then not working, issue. MMS works initially too, then stops. Anyway, on a clean flash a couple days ago, LTE and MMS were fine. Then yesterday I started to get the "MMS not Downloaded!" messages. At work I don't have LTE coverage, even with stock, so after work, when I was back in LTE coverage I confirmed that LTE was not working. Switching to 3G only did restore mobile data, but MMS still wouldn't download.

So, when I had a minute, I tried this ^^ suggestion from [MENTION=2980661]bigsupersquid[/MENTION] and it worked! After a reboot, LTE was restored and later on I was able to download the MMS that I was notified about. As noted, this does delete all text messages (SMS and MMS). I had made a backup, just in case.

Next time I'll try this ^^ approach from [MENTION=5404846]chaosreaper95[/MENTION]. Maybe I can away with not losing text messages as part of process and remove the need to backup them up ahead of time.

One more note about my phone - the sim card slot has a broken spring (I think) so it won't stay in place. The case I'm using did a good job forcing the sim card to stay in the slot, I just added in a little foam tape to shim it in. On the stock ROM this was fine. But on CM13, this wasn't good enough. For some weird reason, I need to force the sim card in just a little bit farther (I guess where it's supposed to be?) to ensure I get LTE on CM13. My technique is using a toothpick jammed into the small clearance next to the sim - not great but good enough for now. But the discovery (?) for me was that the stock ROM seems to deal with the sim card not in all the way down and still get LTE while CM13 does not.
[Desire 816 Android Development] frank9184:
I wonder why after I reboot my 816,lte won't work.

If resend sim card,work again~~

Why?too interesting!!
[Desire 816 Android Development] steppinthrax:
I tired your technique and I'm getting solid 3g while my preferences show LTE. I tried going outside to see maybe I might connect to LTE, but I'm still connected to 3G. It's a little different than what happens before where I connect nowhere while set on 3g. I will continue to check but I should be getting LTE while at my desk. There is service.

---------- Post added at 07:24 PM ---------- Previous post was at 06:56 PM ----------

OK, no I'm getting LTE, I'm going to "wait and see what happens" my suspicion is as soon as I go home and disconnect from WiFi the next morning my lte will be gone.
[Desire 816 Android Development] jimmybuttons:
MMS just started working again without doing anything
[Desire 816 Android Development] chaosreaper95:
After that mishap I turned on always keep cell data on in developer settings helps with the wifi issue and doesnt use data while connected to with

fi from my observation and i t has cut out once also I stopped having issues with being stuck when I flashed just ROm WITHOUT the VM fix and didn't have to mess with anything else until it cut out

---------- Post added at 09:08 PM ---------- Previous post was at 09:04 PM ----------

Also did you delete all three files (telephony.db telephony-journal.db and preferred-apn.XML? I do all three and haven't had an issue when it stops working for me
[Desire 816 Android Development] steppinthrax:
I first deleted the entire telephony directory, upon reboot I had no LTE/3G. I had to swtich over to 3g and I got constant 3g. I then tried deleting those 3 files and deleting the preferred-apn file and now it's working a bit differently. I got 3g constantly (while set on lte) and eventually for some reason it started connecting to LTE, so I guess it's an improvement, but time will tell...

I remember when I flashed this rom up front I was getting LTE, then it went away after I was connected to my home wifi overnight.
[Desire 816 Android Development] rklatte:
Another data point:

Lost LTE overnight, at home. Strange. Is there a ROM setting to turn off data after a period of time?

Anyway, this time I only deleted the preferred-apn.xml file, then rebooted, and LTE was restored.

FWIW.
[Desire 816 Android Development] steppinthrax:
[MENTION=2980661]bigsupersquid[/MENTION] and [MENTION=5404846]chaosreaper95[/MENTION]. So this is pretty interesting. It works all the way up until this morning. Then I lost data completely. I afterwards tried all different reboots and other things. I then went into my settings and choose 3g. It started working, but I was back to square one where the phone only works in 3 g. Anyway I put it back in LTE and I would occasionally get connected to data at LTE BUT I had no Cellular service. This was also the same as before. So I just rebooted phone into recovery and deleted JUST the single preferred _apn.xml file and rebooted. Immediately I got LTE again and have Cellular. So I guess what may be going on is thia preferred APN settings are getting ****ed over time. You have to keep wiping the file. So I guess I need someone to explain or point me as to how this file is being built and what's causing it to go stale? It seems that the quick and dirty way is to make the file unwritable or delete it every so often.