yashsingh1/xdaforums huggingface dataset:
[Desire 816 Android Development] vinaymysore777:
Hi

I initially had problems in connecting but now its working,only issue is mobile data not working,i formatted my 64gb card to use as internal memory,

Please confirm any file is there to flash for mobile data

Regards

---------- Post added at 08:43 PM ---------- Previous post was at 08:39 PM ----------

some times i get error in wifi , ERR name not resolved
[Desire 816 Android Development] sahil.bhardwaj:
Currently there is no zip for this.

Try it on sim 2 as both sims works as gsm, and can you confirm calls are working on both sim?
[Desire 816 Android Development] bigsupersquid:
I just looked and according to meld, only libril-qc-qmi-1.so is different in grarak's vendor tree from ul to dwg.

nice.

here is the gps blob prereq list, now that my pc is back up

gps

vendor/htc/a5/proprietary/lib/libgps.utils.so:system/lib/libgps.utils.so

vendor/htc/a5/proprietary/lib/libloc_core.so:system/lib/libloc_core.so

vendor/htc/a5/proprietary/lib/libloc_api_v02.so:system/lib/libloc_api_v02.so

vendor/htc/a5/proprietary/lib/libloc_ds_api.so:system/lib/libloc_ds_api.so

vendor/htc/a5/proprietary/vendor/lib/libdsi_netctrl.so:system/vendor/lib/libdsi_netctrl.so

vendor/htc/a5/proprietary/vendor/lib/libdiag.so:system/vendor/lib/libdiag.so

vendor/htc/a5/proprietary/vendor/lib/libdsnetutils.so:system/vendor/lib/libdsnetutils.so

vendor/htc/a5/proprietary/vendor/lib/libdsutils.so:system/vendor/lib/libdsutils.so

vendor/htc/a5/proprietary/vendor/lib/libnetmgr.so:system/vendor/lib/libnetmgr.so

vendor/htc/a5/proprietary/vendor/lib/libqdi.so:system/vendor/lib/libqdi.so

vendor/htc/a5/proprietary/vendor/lib/libqmi.so:system/vendor/lib/libqmi.so

vendor/htc/a5/proprietary/vendor/lib/libidl.so:system/vendor/lib/libidl.so

vendor/htc/a5/proprietary/vendor/lib/libqmi_client_qmux.so:system/vendor/lib/libqmi_client_qmux.so

vendor/htc/a5/proprietary/vendor/lib/libqmiservices.so:system/vendor/lib/libqmiservices.so

vendor/htc/a5/proprietary/vendor/lib/libqmi_cci.so:system/vendor/lib/libqmi_cci.so

vendor/htc/a5/proprietary/vendor/lib/libqmi_encdec.so:system/vendor/lib/libqmi_encdec.so

vendor/htc/a5/proprietary/vendor/lib/libqmi_common_so.so:system/vendor/lib/libqmi_common_so.so

vendor/htc/a5/proprietary/vendor/lib/libqmi_csi.so:system/vendor/lib/libqmi_csi.so

warning: blob file libloc_api-rpc-qc.so missing or broken

vendor/htc/a5/proprietary/vendor/lib/liblbs_core.so:system/vendor/lib/liblbs_core.so

vendor/htc/a5/proprietary/vendor/lib/libizat_core.so:system/vendor/lib/libizat_core.so

warning: blob file libizat_api_pds.so missing or broken

vendor/htc/a5/proprietary/lib/libloc_eng.so:system/lib/libloc_eng.so

vendor/htc/a5/proprietary/vendor/lib/libgeofence.so:system/vendor/lib/libgeofence.so

vendor/htc/a5/proprietary/lib/hw/gps.default.so:system/lib/hw/gps.default.so

some of those libs overlap with the ril, but the rest of the ril is already in the vendor tree.

uploading dwg zip for testing now.
[Desire 816 Android Development] sahil.bhardwaj:
For Dual sim users, Flash this for mobile data.

http://xdaforums.com/showpost.php?p=65431443&postcount=186

---------- Post added at 09:38 PM ---------- Previous post was at 09:34 PM ----------

Logcat looks dead slow now :D

Need to do something with this one now

libc : page record for 0xb6ed808c was not found (block_size=64)
[Desire 816 Android Development] bigsupersquid:
yeah, there's a couple of those addresses that show up. not more than three I think.

I see you got the boot.img in the fix, for init. cool.

we'll see how the dedicated dwg build works soon. it's currently 30% up. I'm sure there'll be no shortage of testers considering the dwg is kinda the odd man out for development around here lately.
[Desire 816 Android Development] ajones23:
I flashed the current ROM and got no data. I tried many times switching to airplane mode and still no mobile data. I'm am a VM User,tried other ways still no mobile data. Setup went smooth,so I reverted back to my 12.1 backup. Any suggestions.
[Desire 816 Android Development] sahil.bhardwaj:
Right, There are some items in Board config for dual sim which are needed for audio on sim 2 as right now there is no sound on sim 2 and can't fix it with a patch too.
[Desire 816 Android Development] bigsupersquid:
odd.

can you try, in the mobile network settings (longpress network indicator in quicksettings dropdown)

change system select to automatic, toggle airplane mode

and if that doesn't work, try turning on the data roaming toggle on the top of that settings page.

I've not had any issues from those two settings and when my data service was really poor (when my lte was messed up) the automatic/dataroaming sometimes got my data on.

sometimes.

If you can capture me a radio log it'll give me more usable details

adb root
adb logcat -c

toggle airplane mode a couple times, wait a minute or two

adb logcat -db radio main > log.txt
[Desire 816 Android Development] ajones23:
Yeah sure I give those a try. I'll clean flash in a while after battery is charged. Maybe I will try flashing just rom first.
[Desire 816 Android Development] bigsupersquid:
dwg/dug test build uploaded
[Desire 816 Android Development] bigsupersquid:
also, you dirty flashed? need to delete /data/data/com.android.providers.telephony/databases/telephony*
[Desire 816 Android Development] ajones23:
Sorry something happened earlier. Was'nt able to get a logcat,so you say wipe internal storage.

---------- Post added at 07:25 PM ---------- Previous post was at 07:20 PM ----------

Some how i erased my entire sdcard,with my 12.1 backup.
[Desire 816 Android Development] bigsupersquid:
ugh. I did that too.

had to get the ruu to get stock back.

wipe data = bad. wipe>advanced wipe>data ok.

one nasty thing with twrp is that it offers that wipe data so easily.
[Desire 816 Android Development] ajones23:
No worries,i can recover. Just getting some munchies,i will try deleting that line. Thanks.

---------- Post added at 08:36 PM ---------- Previous post was at 07:43 PM ----------

Flashed your 12.1 build and LTE and data work. IDK what is wrong,i deleted that line and nothing changed. I will try tomorrow,and i have all week off for vacation.
[Desire 816 Android Development] ajeshmanu:
Deleted

---------- Post added at 08:25 AM ---------- Previous post was at 08:19 AM ----------

So the internal memory will b show as 64 gb or else?
[Desire 816 Android Development] sahil.bhardwaj:
Will test today.
[Desire 816 Android Development] bigsupersquid:
what little google shows about that is it's a linker problem.
[Desire 816 Android Development] vinaymysore777:
Hi

Sim no 2 calls are not working ,im on reliance cdma network data on sim no 1,any suggestion to solve this issue

---------- Post added at 06:18 AM ---------- Previous post was at 06:17 AM ----------

Sim no 2 calls are not working ,Mobile data not working ,im on reliance cdma network data on sim no 1,any suggestion to solve this issue

---------- Post added at 06:31 AM ---------- Previous post was at 06:18 AM ----------

im Downloading DWG Build will install & will let you know Sahil bharadwaj
[Desire 816 Android Development] vinaymysore777:
Hi Sahil Baradwaj,

Since i need to attend an ISD call i resinstalled S rom ,Have you installed this CM13 DWG version ,

1. Whether all the calls are working

2.whether CDMA EVDO data is working on Sim slot 1

3.Facebook is working

4.Wifi is working

Please confirm hen you are comfortable

Regards

Vinay
[Desire 816 Android Development] shantanu223:
Thanks to both [MENTION=2980661]bigsupersquid[/MENTION] [MENTION=7131777]sahilbhardwaj[/MENTION] thanks for all the efforts...I have installed the DWG build from AFH link and finally Cm13 works with DWG verision. SIM 1 - Data Voice both working. Several apps working fine. But found Facebook app crashes while in login page.
[Desire 816 Android Development] vinaymysore777:
Hi Shantanu,

Will you clarify this Please

1.Sim no1 is cdma or GSM

2.Whether both sims are working because i faced problems while recieving the incoming calls

3.Whether Wifi is working

Any other issues Please reply asap
[Desire 816 Android Development] shantanu223:
1.Sim no1 is cdma or GSM - Am using IDEA GSM sim on SIM 1

2.Whether both sims are working because i faced problems while recieving the incoming calls - SIM 2 not tested.

3.Whether Wifi is working - Wifi working

Any other issues Please reply asap

SIM 1 is registerring only 3G signal. Hence, if 3G signal is not found there will be no network. *#*#4636#*#* menu shows network mode to be WCDMA Preferred but 2G signal is not getting registered. Network mode cannot be changed as well. am @ work so could not take logcat

Facebook app will crash.
[Desire 816 Android Development] sahil.bhardwaj:
This way you can make Facebook work but fb calls wont work.

---------- Post added at 09:10 AM ---------- Previous post was at 09:08 AM ----------

1. Call is working on sim 1, sim 2 is not tested

2. I don't have cdma sim, so no idea

3. Facebook will work with the fix above.

4. Wifi works perfectly
[Desire 816 Android Development] sahil.bhardwaj:
Rom is smooth,everything is working as a5ul.

1. No FC/reboots

2. No network drop

3. Call quality is good

4. Cannot change network type. Logcat says

02-22 14:43:03.688 3290 3290 D NetworkSettings: onPreferenceChange
02-22 14:43:03.690 3290 3290 D NetworkSettings: buttonNetworkMode: 0
02-22 14:43:03.709 3290 3290 D NetworkSettings: handleSetPreferredNetworkTypeResponse: exception in setting network mode.
02-22 14:43:03.722 3290 3290 D NetworkSettings: updatePreferredNetworkUIFromDb: settingsNetworkMode = 7

Network mode 7 is default for dwg as per init file

5. Network type toggle popup cant show selected network type (refer screenshot) and logcat says

02-22 14:46:36.704 3290 3290 D GsmUmtsOptions: preferenceTreeClick: return false

5. Mobile data to be tested tomorrow as i am out of quota and tomorrow is renewable date.

Rest everything is working incl Camera, GPS (no leakage), I will look into these issues as well but i need to know if these issues aren't in a5ul.

Thanks

Sahil
[Desire 816 Android Development] vinaymysore777:
Hi Sahil bharadwaj,

I installed it dwg version,at present im facing this issue

1. Sim no 2 Calls are not audible

2.wifi is not connecting

Id checked mobile data on sim no1 is working perfectly im using cdma sim from reliance,Any idea to work sim no 2 calls

Please confirm

---------- Post added at 10:45 AM ---------- Previous post was at 10:43 AM ----------

Hi sahil bharadwaj

Please pm me With your number i will call you

---------- Post added at 10:56 AM ---------- Previous post was at 10:45 AM ----------

Hi Sahil bharadwaj,

Id checked mobile data on sim no1 is working perfectly im using cdma sim from reliance,sim no 1 CDMA EVDO data works fine ,Any idea to work sim no 2 calls

these issues are to be addressed

1. Sim no 2 Calls are not audible,In the previous build i could not able to receive calls from sim no 2

2. wifi is connecting but disconnects automatically every five minutes

Any idea to work sim no 2 calls,otherwise everything works fine it seems

Please confirm
[Desire 816 Android Development] sahil.bhardwaj:
[MENTION=2980661]bigsupersquid[/MENTION]

I guess you need to implement getRadioCapability method in RIL class

http://review.cyanogenmod.org/#/q/getRadioCapability

and this

http://review.cyanogenmod.org/#/c/124378/

for Preferred network issues in dwg
[Desire 816 Android Development] vinaymysore777:
Hi Sahil.

I cant understand this will you elabaorate or explain in brief

the issues are

1. Sim no 1 CDMA reliance with mobile data EVDO working fine ,But wont recognises GSM SIM on slot no 1

2.Sim no Slot 2 it works only with GSM in stock rom,But CM13 dwg build cant able to make or recieve calls means sound is not audible via speaker or loud speaker

3.Wifi every five minutes disconnects

Regards
[Desire 816 Android Development] phamtlsoft:
Thanks .I flashed on GSM dual sim version . Sim 1 (gsm) and every thing work fine (Wifi, FB, GPS ...) , but no sound in Sim 2

Keep going we just have one problem. :)
[Desire 816 Android Development] bigsupersquid:
nice. maybe that'll fix the network settings issues.

those should be easy to implement.
[Desire 816 Android Development] vinaymysore777:
Hi Supersquid

Any zip file is available to flash this issue,please confirm
[Desire 816 Android Development] bigsupersquid:
patience.

there'll be a notification post when there's a new build.

I'd rather not try to make patches.
[Desire 816 Android Development] sahil.bhardwaj:
You can send me only libril.so or whatever file gets generated during build to test in my dwg instead the whole build.

---------- Post added at 03:58 PM ---------- Previous post was at 03:52 PM ----------

1. Sim no 1 CDMA reliance with mobile data EVDO working fine ,But wont recognises GSM SIM on slot no 1 - GSM should work, I am using right now too

2.Sim no Slot 2 it works only with GSM in stock rom,But CM13 dwg build cant able to make or recieve calls means sound is not audible via speaker or loud speaker Needs to be fixed

3.Wifi every five minutes disconnects Please verify as it not reported by anyone else. Make sure you are not sitting far from router
[Desire 816 Android Development] bigsupersquid:
i can guess, but i haven't got output space for both chl and dwg so I've been flipping back and forth. won't be sure exactly what gets built from the changes.

init changes too though.
[Desire 816 Android Development] bigsupersquid:
i know i said i wasn't going to make patches, but here's a flashable zip to test for dwg with the ril commit. //edit: didn'twork, removed

the kernel is also patched for the uid_cputime logcat error and maybe even those libc linker errors (but maybe not those.)

there's a definite possibility hat there's some of the new code in framework too but i didn't include that.
[Desire 816 Android Development] sahil.bhardwaj:
The flash has boot.img too, Do i need to flash that as well?

---------- Post added at 06:13 PM ---------- Previous post was at 06:10 PM ----------

Assert failed while flashing boot, I will try using fastboot.
[Desire 816 Android Development] khanjunaid:
Thanks to all the developers for their effort,just a small request to fix sound quality/distortion on loud speaker or to lower the volume to optimum level, because that the only thing that makes me go back to stock rom...
[Desire 816 Android Development] sahil.bhardwaj:
Fastboot flashing worked, Going to push .so files in /system/lib and restart.
[Desire 816 Android Development] bigsupersquid:
try this, not flashable

//edit: I tried pushing telephony jar myself after rebuilding for chl, and it couldn't find the A5SprRIL says the log. then I flashed whole zip, still not in there. need cleaner build I suspect. and that'll take many hours.
[Desire 816 Android Development] GreyCelt:
I am on the Virgin Mobile a5_chl and when I flashed this to my phone a few days ago I also was not getting any data via LTE or 3G. I toggled airplane mode, rebooted, etc, etc.

Then I flashed my good 'ol Universal_vmu_ApnFix-v.R2.zip from years ago and, by golly, it worked! Now I'm getting great LTE.

Sometimes I still have to toggle airplane mode to get it to kick-in but then it works just fine.

Here's a link to mine if you don't have one already.

https://drive.google.com/file/d/0B4GKv7gYcUJaZzVkSlZURklGUHc/view?usp=docslist_api

Now remember, this is for Virgin Mobile USA a5_chl ONLY!

Sent from my HTC Desire 816 a5_chl running Unofficial CM 13 on Virgin Mobile USA
[Desire 816 Android Development] bigsupersquid:
thanks [MENTION=4022811]GreyCelt[/MENTION]

I'll integrate that, since mine wasn't working I'd tried a different way.

//edit: now that's just weird, flashing this breaks my mobile data entirely.

I think it is the same zip I had around (I actually have two versions, one mccmnc 311490 (vm) one 310120 (sprint)) but neither of those cut it for me this time.

I'll see what I can do with it.

//edit edit: odder and odder. sets a slightly different .prop

telephony.slteOnCdmaDevice=1

instead of telephony.lteOnCdmaDevice=1 (source code shows this one but not the previous.)

sets mccmnc to vm (311490), but apns in xml file are 310120.

how dat work?

well, I added the 310120 VM apns to my xml and it's working.

can you unzip this, backup your /data, advanced wipe it in recovery, mount /system,

adb push apns-conf.xml /system/etc/

reboot

and check your data for me?
[Desire 816 Android Development] ajones23:
Hey supersquid,lastnite I clean flashed and got LTE and mobile data to work. Seems pretty smooth. Thanks for great rom.
[Desire 816 Android Development] vinaymysore777:
hi whether sim no2 call voice clarity is rectified
[Desire 816 Android Development] bigsupersquid:
chl isn't dual sim.

clean build still isn't finished yet. building marshmallow on a ten year old pc which maxes at 3.2 Gb RAM isn't a very quick proposition anyway, then rebuilding for another device than the one i can actually test on adds more time.

patience, I'll eventually have another test build up or at least a couple files to test with once the chl registers the carrier settings from the new commit.
[Desire 816 Android Development] GreyCelt:
Unfortunately, I am 1000 miles away from home tending to ill & aging parents so I am not able to hook-up to a computer. I can test this later in the week when I'm back home.

Do you want me to take down that link for the APN fix .zip or leave it in case others want to try it?

Sent from my HTC Desire 816 a5_chl running Unofficial CM 13 on Virgin Mobile USA
[Desire 816 Android Development] bigsupersquid:
go ahead and leave it, if it breaks anything for anyone they should either have a backup or just clean flash again anyway.

options are good.
[Desire 816 Android Development] bigsupersquid:
sooo, http://xdaforums.com/desire-816/general/htc-desire-816-a5ul-android-6-0-t3321008

official MM for fresh blobs and probably firmware, yay

and the chl build finished, I still have data and now the lte/3g/1x/global settings work.

on to dwg.
[Desire 816 Android Development] GreyCelt:
I got an invalid thread when clicking that link. Is this for a5ul only and not the a5_chl?

Sent from my HTC Desire 816 a5_chl running Unofficial CM 13 on Virgin Mobile USA
[Desire 816 Android Development] bigsupersquid:
hm, link works for me.

I'm gonna reflash stock and check for an update.
[Desire 816 Android Development] sahil.bhardwaj:
I guess this fixes "libc : page record for 0x... was not found (block_size=16)" error

http://review.cyanogenmod.org/#/c/119774/

http://review.cyanogenmod.org/#/c/119857/
[Desire 816 Android Development] GreyCelt:
Deleted
[Desire 816 Android Development] sahil.bhardwaj:
Can't detect SIM anymore and i found only this in logs

TelecomManager: Telecom Service not found.

---------- Post added at 06:17 PM ---------- Previous post was at 06:10 PM ----------

IS there any sound on sim 2?
[Desire 816 Android Development] bigsupersquid:
I will plug in those commits and check.

You're quite good at ferreting out solutions for the logcat errors, I appreciate the help.

New dwg is building now, I'll put it up as soon as it's done (uploading now). (Minus the fix you just posted.) Telephony/ril patches seem like they're working on chl, at least the settings work better now..

I've found more missing blobs, for qseecomd this time. Gets rid of a few more errors.

Not in vendor yet. (are now, building chl again.)

I'm gonna have a big old upload to github when I stabilize what all is current.
[Desire 816 Android Development] bigsupersquid:
new dwg build with telephony patches

somebody eat some download bandwidth and give it a spin for me.

//edit: not working. it's in the cm13 archive folder if you want to play with it.
[Desire 816 Android Development] sahil.bhardwaj:
This build is not detecting sim on dwg and "more" under settings is crashing. I will send you the logs
[Desire 816 Android Development] sahil.bhardwaj:
PFA, The logs. One more thing, Exact same issues i used to face whenever i was using a5ul rom with a5dwg proprietary blobs so probably there is some issue in build, If you suggest we can arrange a ubuntu VPS for building a5dwg or both as you don't need local debugging for a5dwg.
[Desire 816 Android Development] bigsupersquid:
Build flags change because of dualsim in BoardConfig (like you said), and so I think it requires clobber.

Sorry. Did for chl, or I got sim settings for dual.

Working today thru Friday, busy, but will try to get github updated this evening. Maybe I can get a clean dwg build going before work.
[Desire 816 Android Development] sahil.bhardwaj:
BTW, previous build works perfect as i am using as daily driver now, so preferred network fix can be provided with next build later and you can focus on some other major item.
[Desire 816 Android Development] bigsupersquid:
so I did oops the java telephony patches, trying to deal with two at the same time. chl finally finished building so I see locked to lte mode again, check code, go aha. rebuilding.

repatched dwg java, building again.

I really want the telephony controls working on mine, and your dual-sims as well if possible.

two selinux issues, akmd and mm-qcamerad prevent enforcing mode or no camera (akmd just errors but still works, camera stays blackscreen and does not.)

//edit:

cm13/external/selinux/prebuilts/bin$ adb shell su -c dmesg | ./audit2allow -p ~/out/cm13/target/product/a5chl/root/sepolicy

#============= akmd ==============
allow akmd system_data_file:dir write;

#============= mm-qcamerad ==============
allow mm-qcamerad default_prop:property_service set;

sepolicy pitches a hissy over the mm-qcamerad line, had to patch external/sepolicy/domain.te as mentioned in http://xdaforums.com/showpost.php?p=64479757&postcount=585

and it built that, so hopefully no more selinux errors and can switch to enforcing.
[Desire 816 Android Development] iamramprabu:
Is it Works on HTC DEsire 816 Dual Sim (a5dwg) ??? and is it work both sims???
[Desire 816 Android Development] bigsupersquid:
Right now it is working mostly one sim.
[Desire 816 Android Development] iamramprabu:
Give a Link...

Please give a link for perfect rom (lollipop) with working dual sim and wifi??? for htc desire 816 dual sim (a5dwg)
[Desire 816 Android Development] bigsupersquid:
Use stock.

Search the thread, there's links to a custom ROM, info on what date cm official stopped working on dwg, and a link to a ruu.

Search is your friend, or in a pinch, read the thread.
[Desire 816 Android Development] vinaymysore777:
S rom 1.28 works fine, ramprabhu,I'm also waiting for cm13,super squid I working on it ,so wait if you need cm13
[Desire 816 Android Development] steppinthrax:
Just installed this on my phone. I followed the link to bigsupersquid's github (https://github.com/bigsupersquid/android_device_htc_a5). I then installed the pico version of gaaps (arm 6.0) few things and questions. (have virgin mobile a5 single sim usa version)

1. Is the data usage problem fixed, earlier I noticed that the app will eat data.

2. I had to apply the Universal APN fix, I noticed it worked but I had to disconnect reconn via airplane, is this going to be fixed soon?

3. I have no access to VM and I'm not getting VM notifications. When I try to hit "1" it sends me directly to virgin mobile!!! LOL.

Just curious how the new andoird deals with data. I have a 32gb samsung (high speed) sd card. I did the format to "blend" with storage, seemed I could no longer use it as it became part of the internal storage? What do you guys do?