yashsingh1/xdaforums huggingface dataset:
[Desire 816 Android Development] rumpleduskin:
OK here goes the report I hope will help you make the next release even better.

In wiped my internal, the dalvik cache, the cache, system and data to insure a clean install. Once that was done I ran the phone for a few days, the only problem having to do with the data. Seems like if I change the settings it allows me to change I lose my data. But for a test, I set it home, and turned off the roaming and restarted. In the top, I finally saw the 3g symbol but data was horribly slow. I have maxed out my net for the month/so I have slow speeds from this point on, but it was slower then I have ever saw it. I reset the settings and restarted and it fixed the problem. I haven't flashed any of the fixes yet because at the moment the google errors seem more important. As long as I have net for now I'm happy. This is after all a beta.

Now for the google errors. Which seem to happen not near as much sense I installed the gapps package, rebooted cleaned cache, cleaned delvik cache, and restarted. I then went directly to apps and checked all allow buttons in google services, google play, and google install. Basically, anything I could think of to do with google, I clicked allow all. I then rebooted, cleaned cache, cleaned delvik, and restarted. The errors seem to not pop up near as much now.

I then began adding back programs, and when the errors began to seem to strategy happening more and more, I reboot clean the same as before, restart and that limits the errors again. It seems now that I mostly see errors when starting chrome, and any time I plug in the phone. They still happen time to time every now and then but much less often.

So, the cameras working well, sometimes it wont start, reboot fixes that. And I have mentioned the internet problems still persist. I have included loggat files for google services and google play individually. The system logcat is to large, so I uploaded it to a free site and post the link.

I can't figure out how to post the main logcat, its too large for the forum and I tried zipping it, but the zip seems corrupt. At least these two will help till I figure out how to upload the main one. I think its important, its full of errors I think you'd like to see it.

If you need me to try anything let me know. My next project is to change SD card to internal, but then I run into titanium backup problem. But will see, I'll post results and logcats.
[Desire 816 Android Development] bigsupersquid:
log mostly location services at the end. May be useful there.

Can't do much with gapps errors since they're closed source.

Did you try the flashing instructions from post 3? If gapps give problems sometimes it's best to flash ROM clean (no gapps), boot it, wait 15 min, boot recovery, wipe dalvik, flash gapps, reboot.
[Desire 816 Android Development] ajones23:
This ROM is really great,no problems really. Better than CM12.1,even V4a works. [MENTION=2980661]bigsupersquid[/MENTION] big Thanks to you for this ROM. Daily Driver Yes...
[Desire 816 Android Development] rumpleduskin:
View attachment 3681025

I have tried just about every way possible to flash gapps. Everything works, its just really annoying with the pop ups. I think there's a way to shut em off, haven't found it yet. I was guessing gapps was outta your hands I'll go take a quick log file and add it here on system, see if that will be of any use. I'll have to keep it small, forum limits are killing me.

Hope this ones more help. Should I send gapps logs to developers over there, or do they just wrap up the programs?

Is there any way to take logs on data for you? See what's going on there. I have it set on debug, figured that would be best. Getting a lot of thermanager warnings and error, don't have a clue what that is.
[Desire 816 Android Development] bigsupersquid:
remove your log, gapps apparently log email in plaintext.

gapps are just wrapped in a zip. they come from nexus devices ota's I believe. nobody can fix em but google, and something is going on with your system since there aren't common complaints about the issue.

thermanager can be fixed by pushing thermanager.xml from this post to /etc and chmod 644.
[Desire 816 Android Development] GreyCelt:
Has anyone figured out how to flash zips from recovery after you've formatted your SD Card as internal?

Is there someplace specific that I can put the zips so they show-up in TWRP?

I tried using a USB-OTG and TWRP didn't even recognize that I had it plugged-in.
[Desire 816 Android Development] sahil.bhardwaj:
You can keep an extra sd card for flashable items and switch the cards when needed.
[Desire 816 Android Development] steppinthrax:
Have you tried partitioning a SD card then putting it in the phone to see how it takes it. I remember we were talking about this before (you and I). I just never did the partiionting thing. I don't have a microsd card adaptor to put it in my computer.
[Desire 816 Android Development] thoctor:
I thought TWRP 3.0 added support to be able to read the encrypted ext SD card when formatted as internal in MM? Is that incorrect ?
[Desire 816 Android Development] bigsupersquid:
maybe the official release for a5 is old. the 3.0.0-0 had issues with aroma but that was fixed in 3.0.0-1

I should build a new one and see.
[Desire 816 Android Development] tarkzim:
[MENTION=2980661]bigsupersquid[/MENTION] , its working after edited update-script for a5ul, no major bug for now,

really thanks for all you done for us, but MTP still not work on Recovery even i flash official TWRP-2.8.7.0 :(
[Desire 816 Android Development] bigsupersquid:
mtp doesn't work for me in any official twrp I've tried for a5.

I still haven't fixed up an omnirom friendly device tree yet, to send a pull request to teamwin for the mtp.

just curious, since you're experiencing what I'd consider weird bugs, are you running on lollipop firmware?
[Desire 816 Android Development] tarkzim:
i think so, clean flash CM13 over stock LP 5.0.2.

and hope you will get the correct fix on TWRP soon :)
[Desire 816 Android Development] phamtlsoft:
[MENTION=2980661]bigsupersquid[/MENTION] : I was hear you have great news for dual sim variant user .How about this ? . Thanks for your support.
[Desire 816 Android Development] bigsupersquid:
curious where you heard that, I have no new news today.

old news, I did find dual sim ril java code, but haven't implemented it yet... still fixing back up my lost device tree.
[Desire 816 Android Development] GreyCelt:
OK, so I'm not crazy and TWRP 3.0.0-0 is supposed to support SD as internal but the a5 one is broken.

Well, alrighty... patiently waiting...☺️

[MENTION=2980661]bigsupersquid[/MENTION] thanks again for all your amazing work on this!
[Desire 816 Android Development] rumpleduskin:
OK this is very strange, I thought the text and calls from virgin Mobil was strange, but this takes the cake. I'm basically asking before I call VM, because I don't know if there is a way they can tell what version I'm on if they want to troubleshoot.

The problem, though I actually think its kinda cool, I get a message saying my acount has been credited 35 dollers and my month has been restarted. This money did not come from my card on file, because this card is over drawn. Plus I checked the bank and there is no charges. Plus my personal information on VM site was changed to different address, a po box and a different state and zip. My password is the same, so no ones changed it. None of this has to do with me constantly reinstalling over and over. I see no choice but to call them guess I'm just worried how much info they'll get from my phone. Because I know its got zip to do with the mod, just hesitant to call.
[Desire 816 Android Development] bigsupersquid:
I'd call em.

Anytime there's troubleshooting from a service provider you have to have stock installed. Always. They'll ask you to enter dialer codes and read things from the menus.

Rooting is against TOS, and custom rom requires root, so basically if you're calling them and tell them you have unsupported software installed, they could even disconnect you if they felt like it.

You're right, it's not ROM though.

Virgin mobile has a lame top up system that doesn't verify your password to top up a number, I've often been worried about entering the wrong number by a digit and losing my money for a week while it gets sorted out.
[Desire 816 Android Development] exProphecy:
[MENTION=2980661]bigsupersquid[/MENTION] by the way, I just wanted to let you know I've loved you since the optimus v/s days ��:fingers-crossed::cyclops::p;) Just thought you'd appreciate some love for kicks and GUYgles
[Desire 816 Android Development] bigsupersquid:
I've been neglecting the poor little V for quite a while.... really, since lollipop killed its updateability with armv7 art.

I should take HardLight's updates and give it a maintenance release but I've forgotten just where I was at in its device tree manipulation. I do know more now than when I was working on it before at least.

Been tempted this month since VM gifted me a free month service on my V's $25 plan number though.

This a5 is so much easier to build for it's not even funny.
[Desire 816 Android Development] steppinthrax:
Just curious on any updates in terms of the unstable bluetooth and cellular issues. I noticed the last version is from 2/16. This was the one I installed. No push/request, just curious where we are. I'm using the virgin mobile single sim. 816
[Desire 816 Android Development] bigsupersquid:
Still trying to recover lost device and vendor tree.

And other than people with kitkat firmware haven't seen many reports of malfunctioning Bluetooth. As far as debugging goes, mine works fine (system turns off bt connections if they're idle long enough but that's all I've noticed myself.)

Network issues are up and down, and with service in my area being all intermittent, telephony is difficult to debug.
[Desire 816 Android Development] steppinthrax:
Sorry, what do you mean by ppls with KitKat firmware? I'm running insertcoin 5.02.
[Desire 816 Android Development] bigsupersquid:
the rom itself doesn't usually include firmware unless it is a stock ruu. insertcoin, afaik, is a port of stock from m8, so it's not a5 stock. [MENTION=5729420]xXminiWHOOPERxX[/MENTION] is really good at porting so you have working BT in that rom.

I'm hacky and experimental and always learning, so when things work on my personal device that's often as far as I can debug them. Most open-source leaning devs, me included, release things just in the spirit of sharing something we made for ourselves, rather than trying to make a production version of some software we're never going to get paid for being a production version.

Even if you have a non-stock rom that includes firmware in its zip, not sure that twrp will flash firmware anyway; most likely need stock recovery and hboot for that.

anyway, after all that, my question is, has your phone ever been updated to lollipop either OTA or with a ruu? If not, you're probably still running with kitkat firmware.

my lollipop 5.0.2 hboot version is 3.19.0.0000

if yours isn't you should update with the htc official stock to get your internal device driver firmware up to date for lollipop. Apparently the chl isn't going to get official MM, so we're SOL on MM firmware.

also, for reference, if I got real, over-the-table-job income level money for software development, you can bet I'd be all over refining issues and buying alternate devices with service to test on (for instance the whole family of a5's.) That'd actually be my dream job. I've heard of people who were happy working, but think that's generally a myth for most.

Unfortunately, since I have to fill my days out making more money for someone else than I make from them for working, I can't afford the full-time job of development, or maybe I'd add extra rom tweaks like hacking kitkat drivers into a separate kernel for people with old firmware.
[Desire 816 Android Development] steppinthrax:
Thanks, recently I installed stock HTC ruu on this phone and let it run for a few days. I do remember when checking for updates, nothing came.

I then loaded this ROM or xxminiwhooperxx's ROM (can't remember exactly). No change.

I thought a5 is supposed to get mm?

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

OK I did reboot into recovery and it is hboot 3.19.00000000
[Desire 816 Android Development] bigsupersquid:
ok then, firmware isn't it.

you might have posted a log of the bt when my pc was down, can you point me to it again?
[Desire 816 Android Development] steppinthrax:
No, never posted a bt log, nor do I know how I could log BT. I think my most major issues were....

1. BT would keep cutting in/out at some certain point. Only way to fix it was to reboot the whole phone etc....

2. I had to use the apn fix to get the data working. It was inconsistent, it would cut out after a few minutes of not using data. This was something that was bothersome, I was kind of thinking maybe the "radio driver" from insert coin could be somehow installed into this rom.
[Desire 816 Android Development] bigsupersquid:
Insertcoin is based on a HTC rom and that has no source. So you can decompile framework and such to port it, but not I.
[Desire 816 Android Development] GreyCelt:
Just chiming-in here...

I also have the same problem with Bluetooth cutting in & out at random times. This happens when listening to BT audio thru my car stereo.

Most of the time it works great but sometimes, for no apparent reason, when I turn it on and it connects to my car, the audio will start to cut in & out and the only way to fix it is a total reboot of the phone.

I do not have a problem with my data signal other than having to toggle airplane mode to get it to kick-in sometimes.

I've tried to do logs in the past for other phones and I could never figure out how to do it. If you could tell me how to get one I'd be happy to try it and see if I can get one for you the next time the Bluetooth does it.

And, AFAIK, I'm on LP firmware because I upgraded it back when I went through the process of flashing the Insert Coin ROM. I'll have to look at my bootloader to confirm but I'm 99% sure I'm on LP firmware.

---------- Post added at 21:00 ---------- Previous post was at 20:59 ----------

Oh, and where did you hear that VirginMobile USA isn't upgrading the a5_chl to MM? I hadn't heard anything saying either yes or no.
[Desire 816 Android Development] steppinthrax:
Thanks, It's reassuring that I'm not the only person experiencing this. I'm waiting for the other upgrade alternative that whopper is working on, but it has absolutely no DATA. I think at some point I'm going to have to just break down and get another phone. Because I'm sure as hell know no one is going to work on the next version of Android after Marshmellow for 816....
[Desire 816 Android Development] bigsupersquid:
for logging:

adb root

adb logcat -df log.txt
[Desire 816 Android Development] GreyCelt:
Do I type that in terminal on the phone when it happens?
[Desire 816 Android Development] rumpleduskin:
Without having to do commands, I use logcat extreme, it works great. It produce large readouts though, you would have to ask bigsquid if the logs are as good as the adb commands. Its free and on the play store, very easy to use.
[Desire 816 Android Development] bigsupersquid:
that's on pc.

on phone, in terminal,

su -c "logcat -df /sdcard/log.txt"

that should work fine.

chainfire's live boot logging is good for pre-boot logs, too. works out of the box with cm13 but didn't seem to want to work in cm12.
[Desire 816 Android Development] GreyCelt:
Great! That'll work. Next time my BT screws-up I'll grab a log and post it.

Should I grab the log as it's happening or after a reboot?
[Desire 816 Android Development] bigsupersquid:
As.

Offhand forget the format for log of previous boot.
[Desire 816 Android Development] nareshnani142:
Can u plz provide me stock ruu for HTC a5 dwg
[Desire 816 Android Development] steppinthrax:
I obtained the RUU from the HTC website. I went to their website and they provided the stock RUU for download. I don't know if they do for a5_dwg though.
[Desire 816 Android Development] yabsoud:
I was just looking for it yesterday. I couldn't find one for any a5 though.
[Desire 816 Android Development] steppinthrax:
Well, if it isn't there, then it's not there, you will have to find someone who downloaded the rom.
[Desire 816 Android Development] bigsupersquid:
i have to search mine on Google by "virgin mobile htc desire 816 software update" to locate the official ruu for a5_chl.
[Desire 816 Android Development] GreyCelt:
deleted...
[Desire 816 Android Development] pickandrew:
Hello, I thank you very much for ROM but...

There are many versions of HTC Desire 816 and I wanted to understand which model indicates the codename "a5"

Desire 816 (D816n)

Desire 816 (D816t)

Desire 816 Dual SIM (D816d)

Desire 816 Dual SIM (D816w)

Desire 816 (Sprint)

Which of these? Thanks!

Edit: I think they are all compatible because they are the "family" a5 ;)

The Desire 816 Dual SIM (D816d) has codename "a5dwg" and

The Desire 816 (Sprint) has codename "a5chl" ????
[Desire 816 Android Development] ajones23:
[MENTION=2980661]bigsupersquid[/MENTION],your opinion my son has the same phone as me. This ROM runs great,I have no problems. Thinking of flashing this on my sons phone what do you think. He is 17,your CM12.1 is on it now.
[Desire 816 Android Development] bigsupersquid:
well, the only time i don't daily driver this myself is when I've restored stock to mess with network or check for a chl update.

seems stable. I'd probably do it.
[Desire 816 Android Development] ajones23:
Thanks,I knew you'd say that. Just being safe,he is smart but he knows nothing about modding. Thanks.
[Desire 816 Android Development] phamtlsoft:
Hope we will have good news for dual sim variants user http://review.cyanogenmod.org/#/q/extphone+branch:cm-13.0
[Desire 816 Android Development] 7alizani:
I found working official Facebook and Messenger app. Older versions but fully working.

[YOUTUBE]YgChu-QoSjM[/YOUTUBE]

Download links are in description on YouTube.
[Desire 816 Android Development] re2ore:
Caution Before Downloading

I downloaded and flashed this rom today and there are two issues with this rom:

1) You will not be able to connect to Cellular Networks unless you download and flash the latest Virgin Mobile Apn Fix R2. As this rom was tailored for VM I would have expected it to already have been applied but oh well, no worries.

2) This rom has a serious battery drain issue, even after updating apps, wiping the app cache & following the Marshmallow Battery Drain Fix instructions. It's fine while resting, virtually no battery drain, however when I'm using the phone, the battery percentage ticks down about 1% every two minutes, that's really bad. I suspect it's something at the kernel level, this is something I've only experienced when using custom built roms, never with the official CM or HTC roms.
[Desire 816 Android Development] ajones23:
I see your concerns with the ROM. But this is still Unofficial 13. In the OP 3rd post down,do recommended fixes. For me I save everything that is in internal and wipe internal storage. I don't seem to be having any battery drains,and I have a lot of apps installed. I've had minor problems aside from fb there is a fix. Try flashing instructions in third post. Some things are going to be wonky.
[Desire 816 Android Development] bigsupersquid:
it's a beta. htc hasn't even kicked down anything official to play with as a base except for ul which isn't virgin mobile anyway. so of course it's not a perfect work or up to official cm standards.

the network fix is required for some people but not everyone... i don't need it so couldn't anticipate it.

battery drain isn't inherent to the rom, try it for a couple days without any extra apps (and that means gapps especially)

mine takes about two days to drain the battery using it a fair bit for browsing texting and watching video.
[Desire 816 Android Development] pickandrew:
Hello, I thank you very much for ROM but...

There are many versions of HTC Desire 816 and I wanted to understand which model indicates the codename "a5"

Desire 816 (D816n)

Desire 816 (D816t)

Desire 816 Dual SIM (D816d)

Desire 816 Dual SIM (D816w)

Desire 816 (Sprint)

Which of these?

...I think they are all compatible because they are the "family" a5

The Desire 816 Dual SIM (D816d) has codename "a5dwg" and

The Desire 816 (Sprint) has codename "a5chl" ???? Thanks for your help
[Desire 816 Android Development] ajones23:
Yes, they are all of a5 family,chl,ul,dwg. HTC is weird.
[Desire 816 Android Development] GreyCelt:
You posted this a couple days ago and I don't think anyone understands what information you're looking for.

All HTC Desire 816's are a5. The phone is very widely distributed throughout the world and depending on what part of the world you bought the phone for and what carrier it was programed for determines the "_chl" or "_ul" or "_dwg".

I don't know which one is for what because there are so many versions.

This specific ROM from this thread was developed by someone with the a5_chl version which is a single SIM version specifically for Virgin Mobile USA.

If you read the thread you will see that other people have had varying success flashing this ROM on other versions including dual-SIM versions.

Does that answer your question. If not, please try to be a little more specific with what information you want.

Sent from my HTC Desire 816 a5_chl for VirginMobile USA on unofficial CM13
[Desire 816 Android Development] ajones23:
Hey [MENTION=4022811]GreyCelt[/MENTION] did you get V4A to work on ur phone.
[Desire 816 Android Development] GreyCelt:
I PM'd you. Did you get it?

Sent from my HTC Desire 816 a5_chl for VirginMobile USA on unofficial CM13
[Desire 816 Android Development] ajones23:
No ,don't see any messages. What was it.
[Desire 816 Android Development] exProphecy:
I've personally found the best way to stop battery drain is to use an app like Z Speed and prevent certain apps from autostarting (even pre-installed apps like hangouts etc). Might not work for everyone but so far battery drain hasn't been too bad since I started using that.
[Desire 816 Android Development] bigsupersquid:
You google apps users can maybe try a fix for battery drain.

Click thanks over there if you feel appreciative.

http://xdaforums.com/lg-g2/general/guide-reducing-google-play-services-t3139032

Also on the topic of drain,

The gps-related data drain, I had to relocate while fixing source. Turns out removing all the gps xtra servers from /etc/gps.conf is adequate to fix the data flow problem.

there's most likely a prop or other system setting that's freaking out the gps blob and making it ping GiB of data... but since I can't find that directly, I'm using the workaround of removing the xtra servers the blob talks with, instead.

This gps.conf is nice and quick. Adapted from http://xdaforums.com/lg-g2/general/fix-gps-agps-best-performance-config-t3098819

# the time server, replace the "ro"
# with your country code.
# One ntp is all we need.
NTP_SERVER=north-america.pool.ntp.org

# enable the agps parsing
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_USER_PLANE=TRUE
DEFAULT_SSL_ENABLE=FALSE

# the modem capabilities, using 3G,
# using Glonass via 3G,
# using standalone LG method
CAPABILITIES=0x37
LPP_PROFILE=0
A_GLONASS_POS_PROTOCOL_SELECT=0x2
LGE_GPS_POSITION_MODE=0

# for super fast preliminary locking without major errors
INTERMEDIATE_POS=1
ACCURACY_THRES=3000

# we declare the quality we need
QOS_ACCURACY=50
QOS_TIME_OUT_AGPS=95
QOS_TIME_OUT_STANDALONE=80
QosVerticalThreshold=500
QosHorizontalThreshold=1000

# better and faster aGPS
AssistMethodType=1
AgpsUse=1
AgpsServerType=1
AgpsServerIp=3232235555
AgpsMtConf=0
AgpsMtResponseType=1

# we replace the not working supl.google.com
# with the more geo-friendly nokia
SUPL_HOST=supl.nokia.com
SUPL_PORT=7275
SUPL_NO_SECURE_PORT=3425
SUPL_TLS_HOST=supl.nokia.com
SUPL_SECURE_PORT=7275
SUPL_TLS_CERT=/etc/SuplRootCert
REPORT_POSITION_USE_SUPL_REFLOC=1

#indoor
QUIPC_ENABLED=1

# NMEA provider
NMEA_PROVIDER=1

#general
PHONE_TYPE=CDMA
CURRENT_CARRIER=common