yashsingh1/xdaforums huggingface dataset:
[Desire 816 Android Development] Clarkie_955i:
12.1 build is working like a charm for me. Set it up a few weeks ago but never really used it. Just restored my backup and all seems to be fine on that build. Having a play with it now.
[Desire 816 Android Development] bigsupersquid:
Enjoying fresh build with everything seeming to work except the camera.

Thanks to [MENTION=4443334]Grarak[/MENTION] for pointing out his device folders.

Much appreciated. Always standing on the shoulders of giants, my development attempts seem to be.

I did have to use my own device tree and patch in parts of his to get mine working, since I couldn't seem to manage it the other way around yet.

With luck I can verify it's working and upload by morning.
[Desire 816 Android Development] Clarkie_955i:
Will give it a test. Cant wait..
[Desire 816 Android Development] bigsupersquid:
New build uploaded.

Camera still no-go at all but I couldn't find anything else nonfunctional (yet.)

I don't test everything by any stretch of the imaginations, though, so report breakages with logcats if you want improvements.

Nicest change I noticed from last build (aside from working WiFi, BT, and GPS) is that now browser asks for sdcard permission instead of crashing on download.

Unless I really need the camera I can't justify going back to 12.1 now, the mobile data is just too much more of a solid connection with this.
[Desire 816 Android Development] Bandit Development:
Anything I can do to help get the camera working?
[Desire 816 Android Development] vip1327:
Bro pls provide link of gapps for cm 13
[Desire 816 Android Development] bigsupersquid:
Experiment I suppose.

http://opengapps.org/

Use the ARM/6.0 versions.

I'll add the gapps link to OP. I don't always use them myself so didn't consider it essential.
[Desire 816 Android Development] drummer1839:
My mistake it's 31 build. I have a5_ul single SIM . Carrier is t mobile
[Desire 816 Android Development] vip1327:
Have installed the latest one other then camera everything is just work fine but there is slight touch issue. Request you to look into the issue

I am using pa gapps which is working good

Hope soon we will be able to get any fix for camera also, eagerly waiting for perfect rom like cm 12.1 of yours

Thanks bro for your effort it was only you did to whom we are able to taste marshmallow in this device.
[Desire 816 Android Development] bigsupersquid:
do you have lollipop firmware? I mean updated to official HTC lollipop before custom ROM? KitKat firmware now shown more than once to cause touch issues with lollipop, marshmallow code isn't too different from lollipop.

Otherwise I've noticed having to click twice in the browser a lot, but that's always been an issue for me since ice cream sandwich on most of my devices.

Pastebin logcat/dmesg from while having touch issues for hard data or I can't do much.
[Desire 816 Android Development] bigsupersquid:
See, here in cm12.1 thread,

http://xdaforums.com/showpost.php?p=64718825&postcount=158

[MENTION=4535162]tatono[/MENTION] pointed out that missing blobs and a different apns-conf.xml fixed his similar issue on an UL.

You guys may be able to use his files he posted, though you may need your specific apns-conf for your carrier. There's usually some floating around on XDA.
[Desire 816 Android Development] GreyCelt:
So far, so good! No touch issues here as I updated my firmware to Lollipop firmware back several months ago when I updated to Lollipop.

Regarding the camera...

I thought maybe the camera app needed to be installed as a system app so after I downloaded the Google Camera app I converted it to a system app and it disappeared from the app drawer. The other camera app that came with the ROM is also missing from the app drawer.

I don't know if that means anything or helps at all but I thought I'd mention it.

Sent from my HTC Desire 816 a5_chl running Unofficial CM 12.1 ? on Virgin Mobile USA
[Desire 816 Android Development] bigsupersquid:
you can see the camera of your choice crash if you'd like.

from the lockscreen, swipe the camera icon towards the center.

after all the prompts it'll squawk about can't connect to camera.

I've gotten it past the totally missing hardware error up to "can't find front camera can't find back camera" in the logcat with test builds so far.

time will tell. I'm amazed how much works so far, actually.
[Desire 816 Android Development] ajones23:
This seems to be very stable,really I don't use camera much. I might give it a try, and report back with issues. Thanks for all ur hard work.
[Desire 816 Android Development] Clarkie_955i:
Not picking up sd card or internal storage. Can see the device in computer but no internal storage or sd card

USB debugging on file transfer on. Rebooted both. Re flashed rom.

Detected with other roms. Unless i am missing something pretty new to CM based roms.
[Desire 816 Android Development] bigsupersquid:
toggle adb in developer settings, when mtp glitches. this build seems tweaky about mounting mass storage. there's a developer setting for default mode when usb connected too.
[Desire 816 Android Development] Clarkie_955i:
I tried that. Apps optimising loaded then got stuck on the boot screen. Turned it off restarted and the same thing.
[Desire 816 Android Development] bigsupersquid:
Be sure permissions are set right on everything. Chmod 644(rw r r), owned by root, user root.
[Desire 816 Android Development] bigsupersquid:
and you tried it on a completely clean install with no other apps, too?

one interesting thing is you're the only one who's reported full second sim function, i wonder if what's allowing that is causing your wakelock.

still trying to get to your log, my pc is... inaccessible... at the moment.

//edit: OK, got through it.

i see this repeating:

03-05 09:07:01.016 276 552 E RILC : unsupported unsolicited response code 4262

03-05 09:07:01.018 1371 1480 D RilRequest: [3938]< RIL_REQUEST_IMS_REGISTRATION_STATE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE ret=

03-05 09:07:01.018 1371 1371 E RIL_ImsSms: IMS State query failed with exp com.android.internal.telephony.CommandException: GENERIC_FAILURE

03-05 09:07:01.019 1371 1480 D RilRequest: [3939]< RIL_REQUEST_IMS_REGISTRATION_STATE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE ret=

and it keeps re-registering your network connection over and over.
[Desire 816 Android Development] Darshan50283:
Hey sahil bhardwaj can you make a sim patch like cm13 for marshmallow Rom of (xxminiwhooperxx)??.
[Desire 816 Android Development] ultimatealien111:
Can I install it for daily use?

I'm no developer :( and I have a straight forward question. can I use this ROM for daily use? :confused: like for using various themes,calling etc. Please answer :) BTW I'm using desire 816 dual sim

And I'm from india
[Desire 816 Android Development] :
I flashed the firmware zip .It gave me following errror.
[Desire 816 Android Development] sahil.bhardwaj:
You need to extract the zip and flash the files using fastboot. Leave hboot.

---------- Post added at 09:31 AM ---------- Previous post was at 09:29 AM ----------

i don't think so because there is no ROM fully functional for dual sim available yet and i have not tried here ROM yet.
[Desire 816 Android Development] :
Can you give me detailed procedure?

At least step wise
[Desire 816 Android Development] sahil.bhardwaj:
You can use it

1. If you use only single sim in your phone as second sim is having some issue.

2. if you don't use loudspeaker while making calls, as mic sensor doesn't perform better when loudspeaker is on in call.

---------- Post added at 09:37 AM ---------- Previous post was at 09:33 AM ----------

1. Turn on your phone in Fastboot mode (Power + vol down) or "adb reboot fastboot"

2. Extract the zip and navigate to that directory

3. Execute fastboot flash boot boot.img

4. Done

Basically this process is exactly like flashing recovery

Don't reboot, Go to recovery and flash this rom (and gapps if you are using) and then reboot.
[Desire 816 Android Development] ultimatealien111:
Thank you.I'll try it out :)

[MENTION=460116]sahil[/MENTION] thank u very much.I am using only 1 sim so I think I will go for it :) I'm using cm 12.1 nightly now and can't use loudspeaker in it too because it causes a resound
[Desire 816 Android Development] :
[MENTION=6251082]sahil.bhardwaj[/MENTION]

---------- Post added at 09:37 AM ---------- Previous post was at 09:33 AM ----------

[/COLOR]

1. Turn on your phone in Fastboot mode (Power + vol down) or "adb reboot fastboot"

2. Extract the zip and navigate to that directory

3. Execute fastboot flash boot boot.img

4. Done

Basically this process is exactly like flashing recovery

Don't reboot, Go to recovery and flash this rom (and gapps if you are using) and then reboot.[/QUOTE]

Tried that. No changes in WiFi behavior. Should I flash hboot.img .You have that in your firmware. Zip
[Desire 816 Android Development] sahil.bhardwaj:
Tried that. No changes in WiFi behavior. Should I flash hboot.img .You have that in your firmware. Zip[/QUOTE]

No, that won't help. In this case you need to install whole rom.
[Desire 816 Android Development] :
No, that won't help. In this case you need to install whole rom.[/QUOTE]

Whole ROM as in the stock ROM which is of 1.29 GB?
[Desire 816 Android Development] sahil.bhardwaj:
Whole ROM as in the stock ROM which is of 1.29 GB?[/QUOTE]

Yes, that one, btw, what are the issues you are facing?
[Desire 816 Android Development] :
Yes, that one, btw, what are the issues you are facing?[/QUOTE]

WiFi and bluetooth is not stable. Rest is fine.
[Desire 816 Android Development] sahil.bhardwaj:
WiFi and bluetooth is not stable. Rest is fine.[/QUOTE]

Wifi gets disconnected after some time? Or when phone is locked?
[Desire 816 Android Development] :
Wifi gets disconnected after some time? Or when phone is locked?[/QUOTE]

Wi-Fi gets connected (shows Connected, no Internet).... 5 seconds later....WiFi disconnected!... It doesnt matter if screen is ON or OFF. It connects and disconnects
[Desire 816 Android Development] bigsupersquid:
in the device and vendor tree is firmware, and there's kitkat cm source...

somewhere i saw the system symlinks from the wncss partition, maybe you could manually place the correct firmware for kitkat and remove wncss from fstab?
[Desire 816 Android Development] :
:confused:

Leave it. I didn't understand anything. Anyways that looks like a lot of work.
[Desire 816 Android Development] TrUE BlUE:
[MENTION=2980661]bigsupersquid[/MENTION] any fix for the RILJ wakelock?:confused:

[MENTION=6251082]sahil.bhardwaj[/MENTION] any idea how to resolve this?
[Desire 816 Android Development] sahil.bhardwaj:
Do you use two sim cards?
[Desire 816 Android Development] TrUE BlUE:
i dont use two sim cards.
[Desire 816 Android Development] :
What does it mean? What I have to do?
[Desire 816 Android Development] exProphecy:
Just wondering (sorry if this was already brought up), I just installed 20160216-a5chl without installing the Universal APN fixer. I don't seem to be getting any data connection. Did I need to install the apn fixer or did I do something wrong? I tried going into "Carrier settings" but it gives me an error "com.android.phone has stopped." Then, when I reenter the cellular network settings I can briefly see Access Point names but it disappears.

EDIT: I am using TWRP 3.0.0.0 if someone thinks that was the issue.
[Desire 816 Android Development] tarkzim:
just clean flashed 20160109 with gapps and boot.img that extracted from zip on my a5,

-first, MTP is not wroking on TWRP 3.0 and CM13 when i plugged USB cable to my PC,

-second, the camera app is missing and when i flashed Snap camera, its just say "cannot connect camera", and whatever i install any camera its just got same thing happended. :(

-third, i can't receive any MMS, but LTE signal is fine and i can make calls.

is that all known issue?

or i did something wrong?

and thanks for your hard work, the ROM is really smooth except the issues above.
[Desire 816 Android Development] :
Stock rom zip

[MENTION=2980661]bigsupersquid[/MENTION]

should I flash the stock rom zip before relocking the bootloader or after

?
[Desire 816 Android Development] sahil.bhardwaj:
1. You installed first alpha version, use cm-13.0-20160216-UNOFFICIAL-a5chl.zip

2. MTP works, you need to select MTP from notification drawer after connecting to pc

3. You do not need to flash boot.img separately, Its already in zip

---------- Post added at 06:41 PM ---------- Previous post was at 06:35 PM ----------

Which stock version you were using previously?
[Desire 816 Android Development] :
I quit this ****.
[Desire 816 Android Development] tarkzim:
1. I'm using International version (a5) not a5chl and come from Stock 5.0.2 :(

2. yes, i know that is the change on MM and i tried but not work.

3. i used to flash boot.img manualy on S-on device, it doesn't matter right? :)
[Desire 816 Android Development] bigsupersquid:
ok, I found you a guide with files.

http://xdaforums.com/desire-816/general/ruu-lollipop-a5dug-firmware-to-fix-wifi-t3126905

another for dug, with more instructions if you need details maybe

http://xdaforums.com/desire-816/general/ruu-lollipop-a5dug-firmware-to-fix-wifi-t3126905

you have to use my build from the thread in development for mtp. it says 2.8.7 but I apparently built a 3.0.0 version before the version number was changed in the source code.

I don't officially maintain anything but still should push some changes up to teamwin gerrit for the a5, for the official builds to get mtp online.
[Desire 816 Android Development] bigsupersquid:
1) it has been reported to work anyway. init detects the chl, ul and tl models and sets their telephony props.

2) see my previous post, official twrp has broken mtp. the rom, first release, mtp works but twitchy. use the latest one. if you still have issues, set usb mode in developer settings.

3) you're fine flashing it manually. I'm s-on too, and have no issues with flashing boot.img in recovery though. S-on only seems to block flashing old hboot, unsigned firmware, and fastboot flashing anything but ruu, boot, or recovery.
[Desire 816 Android Development] bigsupersquid:
I'd try the fix zip. Worked for me after updating my profile in stock rom killed my data entirely in cm13.

Working on getting it together right in the build now.

I found this nifty device, the m8d is the dual sim m8.

https://github.com/CyanogenMod/android_device_htc_m8d/tree/cm-13.0

from which I'm pulling ril/init/props to test out (once I this together enough for a ul build to see my sim card again.)

thought you might like the link to play with. As a reference, the device_htc_a5 single-sim ril is almost a carbon copy of the device_htc_m8.
[Desire 816 Android Development] exProphecy:
oh I'm having an issue with titanium backup. It says my SD card path is not writable. How do I fix this?

I tried editing etc/permissions/platform.xml to add

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >

<group gid="sdcard_rw" />

<group gid="media_rw" />

</permission>

but it didn't fix it :/
[Desire 816 Android Development] bigsupersquid:
you can click the little arrow in the post quote to go to it and download the zip.
[MENTION=4544860]osm0sis[/MENTION] does a lot of great work and this is just one of the little pieces of it that I've stumbled across.

make sure and click thanks over there if it works for you (it did for me and I forgot to mention it. I'll add the link to that post to the OP.)
[Desire 816 Android Development] exProphecy:
Just tried it and it didn't work :( hmm maybe there's an issue elsewhere I haven't found. Editing that platform.xml should've done the same thing as the script anyways (I think).

Is there a reason the SD card is named 0000-0000? maybe that's a clue XD detective work begins nows
[Desire 816 Android Development] TrUE BlUE:
I was on 5.0.2 lollipop stock for dwg. i then flashed pac rom 5.1.1 lollipop. im using this rom as my daily driver.
[Desire 816 Android Development] yabsoud:
Sorry if this was already covered. Is there any reliable way to get this ROM to work on my dual sim? I honestly have no idea whether I have the dwg or the dug. I tried flashing the 23rd version and the a5 to a5dwg fix but still SIM not detected. I use only one SIM card.
[Desire 816 Android Development] bigsupersquid:
there's some instructions you can try in the first post.

power into hboot to see your model
[Desire 816 Android Development] TrUE BlUE:
[MENTION=6251082]sahil.bhardwaj[/MENTION]... any update on the fix for the RILJ wakelock?
[Desire 816 Android Development] sahil.bhardwaj:
Was looking at your logs, RILJ logs a lot about network status, Do you get proper data and calls working in this rom??
[Desire 816 Android Development] TrUE BlUE:
yep. data (3g and 2g) and calls are fine. no problem here.
[Desire 816 Android Development] sahil.bhardwaj:
Is incoming call waiting works for you?
[Desire 816 Android Development] TrUE BlUE:
yes
[Desire 816 Android Development] TrUE BlUE:
[MENTION=2980661]bigsupersquid[/MENTION] [MENTION=6251082]sahil.bhardwaj[/MENTION]

i may have found the problem as to why RILJ wakelock occurs for me. After rebooting, the RILJ wakelock is very much active. I then inserted a second sim and left it in the second sim slot for a while. I noticed that the phone immediately enters deep sleep and the wakelock breaks.

Now this points out that after reboot, telephony keeps searching for the network in the second sim leading to a RILJ wakelock.

Can you make the second sim inactive in the dwg variant if at first boot its unable to detect a sim card?? this can be a possible solution.

EDIT: added log
[Desire 816 Android Development] bigsupersquid:
thanks. i found updated dial sim ril for the m8d which might fix a lot of reported a5 dual sim issues including yours.

once I've got my device tree stable again I'll make a build for dual sim to test.
[Desire 816 Android Development] bigsupersquid:
the network thinks you have visual voicemail (after all you're not supposed to root and that is the only way to disable or remove it.)

Not sure how to disable it bu [MENTION=6766129]steppinthrax[/MENTION] posted the apk in this thread.

http://xdaforums.com/desire-816/development/rom-t3282978/post65533572#post65533572
[Desire 816 Android Development] exProphecy:
Just an update on the app writing to SD card issue, I saw this thread concerning this issue.

http://xdaforums.com/galaxy-s3/help/official-cm13-external-sd-write-fix-apps-t3275394

Seems to be a CM13 issue yet to be resolved.

But thankfully, there is at least a fix for TitaniumBackup. TitaniumBackup as of now can restore backups but if you try to create a backup (whilst using your external SD location), it will fail with an "insufficient storage space" error. Here is the fix (make sure to thank him if it helped you): http://xdaforums.com/showpost.php?p=59278548&postcount=4
[Desire 816 Android Development] rumpleduskin:
Thank you, I was concerned they could somehow mess with the phone by discovering I was running marshmallow sense it doesn't exist for this phone.

404 error on link?
[Desire 816 Android Development] bigsupersquid:
http://xdaforums.com/desire-816/development/rom-t3282978/post65533572#post65533572 ?

thread search for visual voicemail.
[Desire 816 Android Development] yabsoud:
Thank you. I checked the model, I have the a5dug. I downloaded the 21st build instead of the 23rd, updated to TWRP 3.0, downloaded stock GApps and now my phone is working perfectly with my 1 sim card and I don't see any problems so far. I just had a little question. Some of the settings disappeared after I flashed the GApps. Like the Horizontal/Vertical display option for the app drawer for example or the ability to add search to the soft buttons. They were available on this same ROM but after flashing the GApps they vanished. Any explanation would be great. Thanks.
[Desire 816 Android Development] bigsupersquid:
can't explain gapps, they're closed source. maybe it's got the Google launcher in the package you installed, that'd potentially change settings.
[Desire 816 Android Development] swampfag:
I'm having a problem with this rom. I'm on the a5_chl virgin mobile network and I did a clean flash. The phone seems to think that i'm roaming and isn't showing lte or cdma and instead shows an R for roaming. There is also a persistent "roaming indicator on". Is this normal? Has anyone experienced this? I'd really like to use this as my daily driver. I've tried flashing "Universal_vmu_ApnFix-v.R2.zip" but that didn't fix this. Please help.
[Desire 816 Android Development] bigsupersquid:
unless i build in the eri.xml the network readout is wrong.

mine shows digital roaming while also showing lte, and an R for either 3g or no data.

while my lte was down for most of a month i never saw anything but the R.

no lte even with the apns fix, you might need to verify you have lte on stock rom (and make sure the network setting is for lte instead of cdma only before you try cm13 again.)

if you don't see lte with stock, try going into the stock settings and update profile and prl.
[Desire 816 Android Development] exProphecy:
Did you try turning on/off airplane mode cuz I had that issue for a bit too ✈ ✈ ✈
[Desire 816 Android Development] swampfag:
i tried resetting airplane mode a few times. data is working, it just is constantly saying that I'm roaming. is that normal? Does it say "virgin mobile" on other people's phones?
[Desire 816 Android Development] yabsoud:
I just discovered an issue which I didn't see mentioned before. Any app that tries to open the front camera crashes. WhatsApp, Instagram, Snapchat.. But the camera app works perfectly both front and back. If there's any fix it would be appreciated. a5dug running the Feb21 build. Thank you.
[Desire 816 Android Development] bigsupersquid:
need logcat as root after crash. i dont use any apps like that.
[Desire 816 Android Development] exProphecy:
Says digital roaming for me too but I still got LTE so it's fine.