yashsingh1/xdaforums huggingface dataset:
[Desire 816 Android Development] YmerejO42:
OK, did that. I'm used to needing it with CM12, so I figured better safe than sorry. I just rebooted, and I have service, including data, but still no icon showing my signal.
[Desire 816 Android Development] steppinthrax:
Oh hot damn I got it thanks. I have like 40 gigs of internal memory :)

Has anyone worked on partitioning a large SD card so that only one partition can be formatted as internal while the rest is usable. I remember we were brainstorming this at one time.

So now, it seems this rom has a "little more" done in terms of connection beyond the apn fix. Before with the older rom I tried the apn and eri fix and i was still getting data drops. So far I've been sitting at my desk for several hours now, no drops!!!

So going back, I thought we could never get MM on this older 816 VM chl because VM or someone needs to create several software pieces for MM to work. There was even a petition put out on change.org (that I signed) to fix this.
[Desire 816 Android Development] bigsupersquid:
but the adopted storage shows up in mtp, and in the newer TWRP (here) I built recently anyway.

and, I thought the chl needed new ril blobs from HTC as well since nobody was able to get data working on the official ul MM. But somehow the changes Grarak made to the build (not building ril, for one, and importing only most of the ril blobs from MM, for another) allow it to work on chl without new blobs. I was really surprised.

Now with all the hardware seeming to work (except maybe hdmi?) I feel like, have a raised finger HTC, for not releasing MM on our specific variant, when I've had it mostly operational since late last year. I even told them I'm running an unofficial marshmallow build when I harassed them about if they were ever going to release an offical chl version.

Oh gasp that's not covered by warranty and we can't support it. Well, duh. Like I expect much support from HTC beyond kernel source anyway.

Look at how well the petitions work on them, say for example requesting the 3d driver source for the evo 3d? Not at all. Just about anything I've owned, if you want something done with it, you've either got to take care of it yourself or be lucky enough to have some other developer using the device who wants it upgraded.

you mean the triangular signal strength icon? that's really weird. do you have anything else installed? and you just about had to have wiped userdata after installing stock or the results wouldn't be very pretty.
[Desire 816 Android Development] YmerejO42:
Oh, I wiped everything but the SD card... I've been installing ROMs for a while, and accidentally forgot to do that a couple of times. NEVER again! lol

Nothing else that should effect the signal icon... That's why it has me confused.
[Desire 816 Android Development] bigsupersquid:
that is strange. never seen that happen before, hard to diagnose. does it do it on first boot with nothing else installed at all?
[Desire 816 Android Development] YmerejO42:
Honestly, I'm not sure. I think it did, but I wasn't paying attention, because it was around 4am when I got to that point. lol
[Desire 816 Android Development] bigsupersquid:
if you've got space on sdcard, an easy test is to reboot into recovery, backup /data, advanced wipe data (not internal sdcard), reboot, test, reboot into recovery and restore data. nothing lost but time that way.
[Desire 816 Android Development] aftertzf:
Facebook crash due to me installing the XDA labs beta version and failing to remember that I did just that.

Major sorry for making you chase a problem that wasn't.

:D
[Desire 816 Android Development] bigsupersquid:
yours was one of many reports of it crashing, and I was tired of seeing it. No biggie. They can absorb my test account too.
[Desire 816 Android Development] steppinthrax:
OK I think I see, when I plugin the phone to a computer (usb), I see one drive "Samsung SD card", not sure if I saw that before. I do see an external drive inside of TWRP, I guess If I put a zip file on the drive within windows and reboot to recovery I will see the file there?

These phones have HDMI?
[Desire 816 Android Development] bigsupersquid:
should work that way i believe.

hdmi via mhl cable. looks like micro usb, same port, but needs an interface box. haven't tested it since i bought a cable.
[Desire 816 Android Development] steppinthrax:
What's wrong with miracast. Never knew there was a special cable. Lol
[Desire 816 Android Development] bigsupersquid:
cable's faster. i get lag and stop frames streaming through my wifi hdmi dongle, and the native screencast doesn't recognize it anyway.
[Desire 816 Android Development] bigsupersquid:
big thanks to [MENTION=3683432]aftertzf[/MENTION] for a sweet donation!
[Desire 816 Android Development] YmerejO42:
OK, that's weird... When I wiped data, the icon showed. After the restore, it was gone again. But I don't have any apps installed that are new. As in, I had them all on CM12.
[Desire 816 Android Development] steppinthrax:
So what doesn't work on this new build. I haven't fully tested Bluetooth yet but it seems good so far.
[Desire 816 Android Development] davidw.roggenkamp:
Okay, after some dirty searching and finding the process for stock and RUU and whatnot I'm finally able to use your unofficial rom without issue. This was at least the one before your most recent update on the seventh. For some reason using the latest results in the tab menu (settings) not pulling down and preventing access to the settings menu. I'm not sure if this applies to the one released on the fourth. This is NOT on a dirty flash - I do a normal wipe before installs.

As for the Facebook issue, I don't think it is unique to your rom variant. It would seem Facebook has issues on different devices regarding Cyanogenmod 13, so it seems to be a problem on there end. I've resorted to using Facebook in Chrome without incident.

Have you considered enabling the 'quickboot' feature that is native to HTC devices and was available in Cyanogenmod 12? Thanks again for all of the hardwork for your rom.
[Desire 816 Android Development] bigsupersquid:
you can find out what is doing it by installing your apps one by one until it borks the indicator.

I don't know of anything broken with this one yet that I've tested.

Not sure if a normal wipe in twrp erases all of userdata or just the dalek-cache and cache. I manually erase the whole shebang except internal sd, myself, in wipe-advanced wipe in twrp..

There's a new release from the 11th now that I'm happier with overall anyway, if you want to try it.

I also added to the updater-script lines that erase dalvik-cache and telephony database for people dirty flashing to cut some of the errors down. but that won't stop app settings and data from carrying through, which can cause some crashes and glitches.

I'll browse for the quickboot commit, but if you could locate it and point me to it it'd help.

cm gerrit is pretty dense and hard for me to search effectively.
[Desire 816 Android Development] davidw.roggenkamp:
http://xdaforums.com/android/software/universal-quickboot-cyanogenmod-12-0-12-t3082041
[Desire 816 Android Development] bigsupersquid:
that one is prebuilt blob, I'd need a link to source code.
[Desire 816 Android Development] davidw.roggenkamp:
I'm not sure it exists to be honest. I ran across the zip (link) while searching for ways to better my boot times.
[Desire 816 Android Development] bigsupersquid:
I'm not seeing anything. according to the link you'd get basically the same results by turning on airplane mode and clearing the recent apps menu.

rather than a quick boot it just doesn't ever power down the device. makes it look like a fast startup but it's more like wake from deep sleep instead.
[Desire 816 Android Development] steppinthrax:
So I am getting an issue. I have a pioneer mvh 381bt Bluetooth receiver. It connects well to the receiver and can play music, but there are some instabilities. The audio occasionally clips. Then sometimes the unit will throw an Error 10. The only way to fix it is to cut power to the pioneer and reconnect Bluetooth. I did some research on this online and Apple were having similar issues. In that situation the new BT driver on the phone was not backwards compatible with older Bluetooth.

So I guess what is special about this BT. I know insertcoin BT works perfect. Is there a way to cut that driver out and incorporate it into this ROM.
[Desire 816 Android Development] YmerejO42:
I feel like such an idiot...

See the switch labeled "Cellular data"? I turned it off... lol
[Desire 816 Android Development] steppinthrax:
OK, I'm getting a new issue. I travel between subway to home etc. I also have full wifi at the house. If the phone stays disconnected too long from LTE service it seems to fail to reconnect. I tried airplane mode/reboot etc. I keep playing around with the settings. Eventually it seems to connect. This has happened twice so far. Once yesterday just after I left the subway tunnel and a 2nd time (this morning) after I had my phone charging all night connected to home wifi.

This morning while I was getting this issue I removed the SD card and weirdly enough I started getting 3G service w/o the SD card. Then I reinstalled the SD card. The phone briefly disconnected from 3g then reconnected to 3g. After several minutes of just 3g I started getting LTE????

Any ideas???
[Desire 816 Android Development] bigsupersquid:
that's just weird. no offense... just weird glitches.

a few settings get stored on the card but i didn't think any telephony ones.

wish i could test the lte but mine really only worked during my first release and since then lte service here has been spotty or nonexistent, even with stock rom i don't get it.

can't count on it enough to test with.

i remember that lte was very very picky about the apns, but that wouldn't really explain yours cutting in and out.

when you flip it into airplane mode, leave it for at least ten seconds before turning the service back on. plus you can now use the lte/3g/1x toggle in the cellular data>more settings page, and it seems to force network scans too. maybe try that out.

sorry i can't help more with it.
[Desire 816 Android Development] steppinthrax:
Thanks,

All the issues relate to LTE (data), cellular service seems unaffected. What areas or ways could I debug this. I remember you indicated logcat.
[Desire 816 Android Development] bigsupersquid:
yeah, you could send me a radio log.

su -c "logcat -db radio > /sdcard/radio.log" in terminal. you can use the built in terminal if you turn it on in developer settings.

I'm discreet and won't share your imei or whatever numbers may pop up in it, they're no use to me.. or you can clobber those yourself and fearlessly post it on pastebin.com instead.

either way, you can pm me a link to the log, or just post a pastebin link, and I'll look at it. whether or not i can fix it.... dunno.
[Desire 816 Android Development] icy_gt:
So i did the adoptable storage thing. And i dont know what happened but when i was putting everything back on the sd from the computer the phone restarted and the sd became corrupted. Adoptable Storage encrypts the sd card too so now im stuck with a corrupted encrypted sd card that even the phone or pc cant format.
[Desire 816 Android Development] bigsupersquid:
have you tried repair filesystem in twrp? or format it in twrp? those may or may not work.

if you're running window$ and have a card reader you can try this

http://www.ehow.com/how_12288309_format-encrypted-microsd-card.html
[Desire 816 Android Development] bigsupersquid:
I can't find anything specific in the log, like mine, it looks like it has some lte connection info but connects to evdo or ehrpd instead
[Desire 816 Android Development] icy_gt:
Wow I've been trying to fix it for an hour and TWRP did it in a minute.. Thanks. ???
[Desire 816 Android Development] bigsupersquid:
two things to try seperately

Try switching on Keep cellular data active in developer settings.

Maybe pull out and reinsert sim in good LTE area.
[Desire 816 Android Development] frank9184:
Yep,I have the same problem. Sometimes LTE didn't work ,but I resented sim card .LTE worked !! I had the same problem since early July! I think it's not a bug,but it really bothers me.:fingers-crossed::fingers-crossed:
[Desire 816 Android Development] rklatte:
Fantastic Build!

I just flashed the 7-11 build a couple days ago and have been running it ever since. So far so good! I held off for a long time due to some of the reported issues with CM but so far everything has been really good. And I'm amazed how smooth this phone is now - it's a big difference versus stock Lollipop.

For those who had issues with bluetooth audio cutting out in previous versions of CM, I haven't had that trouble AT ALL!!! That was one of my concerns.

Another concern was MMS (group messaging and pictures). So far that seems fine too!

I also wondered how the camera app would compare with stock. I think it's actually better than the stock camera app, which was really slow and didn't take very good quality shots.

The Root Essentials app mentioned in this thread does allow you to configure a microSD card to have both internal and portable storage with the option to set a percentage allocation for each in the process. The Play Store description just mentions "Adoptable Storage" but it does indeed have the option to use both...which is fantastic!

I had similar connectivity problems yesterday as have just been mentioned. It seems that it takes longer than stock to reconnect LTE or 3G data once it's been in an area with no/low data coverage. Good tip about the "Keep Cellular Data Active" - I'll try that if this happens again.

For those having trouble with root, you may need to enable the root option in Developer Settings (is this new for Marshmallow - don't remember seeing that one before??) before SuperSu will work.

Only other small issue I noticed was the infamous distorted audio at higher volumes that many CM builds seem to have. This was with the phone speaker at full volume (using Google Maps Navigation), not the headphones. It's not a deal-breaker by any means, the workaround is just to lower the volume a bit.

Anyway, **really** happy with this ROM. It makes my phone feel like it's brand new again (minus the scratches, ha ha!).

Thanks for your hard work, [MENTION=2980661]bigsupersquid[/MENTION]!!
[Desire 816 Android Development] bigsupersquid:
soooo.. sim settings... you were running grarak's cm13 and had intermittent lte?

really?

if so, i will definitely have to look into that. any extra information you've got, other zips flashed with the rom, tweaks you applied in settings... anything you can report could be useful.

when i ran a build from dwg by accident once, the sim settings were pretty interesting, and there's nothing like that lit up in the settings for the chl or probably ul.

plus it working partly, makes sense in a way, because the ril blobs are the same now.

I'm curious.
[Desire 816 Android Development] steppinthrax:
To add to this it seems if I keep it on 3g I get constant data. It's only when I put it on LTE that I get problems. So I don't know if this helps.
[Desire 816 Android Development] icy_gt:
Well i thought it worked but my 32 gig class 10 Samsung sd card is encrypted and corrupted.. Can't format it any way. It worked once but i only got 7 gigs.
[Desire 816 Android Development] bigsupersquid:
did you try the windows cmd link from the post i mentioned twrp in? that might work differently.

still, corrupted cards are beastly. apologies.

I've been using a cheap counterfeit sandisk 8GB for testing adopted internal and it's been working OK since the last build... it did whine about the card being slow when formatted but that's the worst I've gotten from it so far.
[Desire 816 Android Development] rklatte:
Now that I'm paying attention to it, I get similar results. 3G is more stable. I'll keep paying attention to it and see if I can learn anything else.
[Desire 816 Android Development] bigsupersquid:
um, you have to repo init the cm13 before the rest.
[Desire 816 Android Development] :
How can i help you?
[Desire 816 Android Development] bigsupersquid:
I couldn't find device source links for that ROM. the a5 isn't pac official, so they don't have device source. I would need (possibly including) kernel changes and (source/device/htc/a5 and source/vendor/htc/a5) changes.

Pull the the /system/etc/apns-conf.xml, /system/build.prop, and /default.prop from your working install of PAC for starters, and the output of 'getprop' from terminal or adb copied to a text file, and zip them up for me. With luck those may have useful data.

Same four files for anyone else having sim/service problems. Pull them from your last working ROM, and zip them up for me.

I might also need the output from 'logcat -d -b radio' in terminal or adb, captured after your service and mobile data is completely connected, and after phone has made and received a phone call (and sent/received an MMS if things want to be really annoying).

That's so I can get your active MCC/MNC pair and what your working rom says are the service settings, including which APN is being used.

pm me about that file until i figure out how to grep the lines i need from it. contains phone numbers.
[Desire 816 Android Development] Bandit Development:
Ah, OK. Sorry, another stupid question, but how do I select cm 12.1 vs 13 when I build each time. Do I need to set up a new folder for cm 13?
[Desire 816 Android Development] bigsupersquid:
that's what I do. There may be a better way but I haven't found it yet.

the cm13 repo will still need the stlport entry in roomservice most likely.

I don't think there are any dumb questions about building, it's not the standard pastime for most people and you have to learn by doing, searching, and asking.

Asking the right question can save you hours of digging and trial-and-error sometimes.
[Desire 816 Android Development] :
I have sent you the zip. I don't know how to do the kernel part which you want.Rest 4 I zipped it and have sent you.
[Desire 816 Android Development] bigsupersquid:
Thanks. You can attach the zip with those four files to a post, pm didn't show up. There's nothing personal in those files.

that logcat output I mention at the end of the post, anyone needing radio support, pm me. that file will have phone number(s).
[Desire 816 Android Development] bigsupersquid:
ok.

try this in recovery.

backup first, possible bootloop.

maybe it'll work, maybe not.

has your apns (vodafon IN) and modifies build.prop to set your mccmnc and other carrier props.

no personal info;)
[Desire 816 Android Development] :
Tried this zip. No bootloop. But still no sim card detected. :(
[Desire 816 Android Development] bigsupersquid:
getprop from this rom to compare, maybe.
[Desire 816 Android Development] Bandit Development:
I got this after I synced, and .build/envsetup.sh and lunch:

Default revision cm-13.0 not found in android_device_htc_a5. Bailing.
Branches found:
cm-11.0
cm-12.0
cm-12.1
stable/cm-11.0
stable/cm-12.0-YNG3C
stable/cm-12.0-YNG4N
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_a5". Stop.

** Don't have a product spec for: 'cm_a5'
** Do you have the right repo manifest?

Should I try to modify the config.mk file or did I miss something else?
[Desire 816 Android Development] bigsupersquid:
make sure your roomservice has bigsupersquid for the a5 project?

I've definitely got that branch.

note that grarak has updated his tree again with camera and ril commits, you could check out building from it, too.
[Desire 816 Android Development] Bandit Development:
Here it is:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" />
<project name="bigsupersquid/android_device_htc_a5" path="device/htc/
5" remote="github" revision="cm-13.0" />
<project name="CyanogenMod/android_kernel_htc_msm8974" path="kernel/h
c/msm8974" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/q
om/common" remote="github" />
<project name="bigsupersquid/android_packages_apps_SnapdragonCamera"
ath="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" />
</manifest>

It appears that something got messed up when I copied your roomservice. I'll try to edit it the best I can. The last character on each line is missing.

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

So I tried to build with grarak's a5 project, but he didn't have all the files needed, so I merged in your files that he was missing. I got this: http://pastebin.com/HL0kumKN.

Maybe I should just stick to your a5 folder, but I'd like to try his camera patch if possible.

Here is my new roomservice by the way:

<?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" 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" />
</manifest>

Thanks for your help :)

[MENTION=4443334]Grarak[/MENTION] do you have any suggestions for building with your changes? Also, I assume you don't mind me using your files, I should have asked ahead of time.
[Desire 816 Android Development] GreyCelt:
Weird question...

Has anyone that is running this CM13 on Virgin Mobile USA had any excessive data usage issues? I just restarted my month on Jan 5th and yesterday I got the notice that I used my entire 2.5GB limit plus the 1GB data pack that I bought extra.

I've never gone thru my data that fast and I've been running this ROM for 2 days now since the 9th.

I don't know if this could even be related to the ROM unless, for instance, if WiFi wasn't really working even though it looked like it was on. Or if there is one of the system apps that is constantly using data.

IDK, I'm grasping at straws here.

I have VM Customer Care looking into it but I don't know how well they're going to help considering I'm rooted with a custom ROM and most of time they know less than I do.

Just wondering if anyone else on VM has hit their data limit since using this ROM.

Sent from my HTC Desire 816 a5_chl running Unofficial CM 12.1 ? on Virgin Mobile USA
[Desire 816 Android Development] ajones23:
No,I haven't had any issues like that. I've had a ROM on my phone since day one. I never let them know anything,probably just a glitch.
[Desire 816 Android Development] GreyCelt:
My data usage in settings shows "Android OS" using almost 2GB of data since I flashed this on Friday... weird...

Sent from my HTC Desire 816 a5_chl running Unofficial CM13 on Virgin Mobile USA
[Desire 816 Android Development] bigsupersquid:
are you using gapps? that's the only possible culprit I can think of. But that usage is totally excessive.

I went through my data allotment near the end of the month, but I usually do.

I reflash to often so don't get good stats.
[Desire 816 Android Development] bigsupersquid:
<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" />

you need the a5ul device. lunch cm_a5ul-userdebug

Cyanogenmod kernel throwing me errors on recent sync so testing grarak's fork.