yashsingh1/xdaforums huggingface dataset:
[Desire 816 Android Development] jonsama585:
I am trying to figure out how to mount the sd card as internal storage because the rom does not suggest it when I do a clean install

Edit: Nevermind I just figured it out but I now have a second question has anyone tried partitioning the sd card after the fact to see if you could use that second partition as a flashable sd card?
[Desire 816 Android Development] vinaymysore777:
When the apps can be moved to SD after formatting as internal storage why you want to make partition on SD card
[Desire 816 Android Development] jonsama585:
Because if I partition it afterward I can still flash the flashable stuff where as I heard there was a glitch with the flashable stuff such as roms when it was formatted to internal storage... thoughts are greatly appreciated. At the same time I am wondering if you partition it you wind up undoing the formatting to internal storage.
[Desire 816 Android Development] bigsupersquid:
haven't tested sd as internal except to make sure it worked at all.

the flashing glitches are because twrp isn't fully up to date, that should've gotten fixed by now in the twrp source. but it needs a new build to test that, don't think the official version has been updated.

i doubt partitioning the card would change anything, the system makes the whole card a single partition when it encrypts it and marks it as internal.

doesn't hurt to try it and report your results if you want though.
[Desire 816 Android Development] rumpleduskin:
Sense I have been wanting to learn how to relock my phone, I've gotten pretty good at backing up and installing ROMs. Lots of practice there. And seeing how bigsupersquid and GreyCelt are both running the same phone as me, after I get everything nice and tidy and everything updated, think it would solve those nutty gapps errors I get on this ROM. Seeing as neither if you have the gapps errors. Im running 12.1 now, with no problems. I can't see why any errors would rollover when I do a clean install, but they do. I was just wanting your opinion on whether this could make a difference, or should I just stick 12.1 back on here. Like I said, going to put everything back because, well if we do get the update I will need to anyway. Plus I love learning new things on my phone.

I already have the ruu, and have pulled the stock IMG from the ruu, just debating on which route to take when I root again.
[Desire 816 Android Development] bigsupersquid:
12.1 is more stable, 13 cutting edge but potentially glitchy.

My flashing process with gapps:

twrp

wipe>advanced wipe>system cache data (without wiping /data/media)

install

rom.zip gapps.zip

reboot system

sign in to Google (preferably with wifi on)

sync everything, then wait about 15 min for things to settle on first boot

while you're killing that quarter hour, put all your settings menu items like you want em.

reboot

then you can start installing other stuff. TiBu is known to occasionally bring over settings and such that break things, by the way.
[Desire 816 Android Development] rumpleduskin:
Thanks for the info, I appreciate it. I have zero problem with glitchy, like the having to toggle the airplane mode on or off every so often, or using different text programs, things like that. I think it gives it a sorta of unique character.

But the gapps problem with the constant pop ups about services not working makes it unusable. Its fun to try and figure some of it out. I'm new to the whole phone as a computer idea, used to be the goto guy on computers. Which us why it drives me nuts I can't put a finger on it.

It just seems strange that no one else with the exact same phone has the issues with gapps.. Like I said, it drives me nuts when I can't solve a technical problem. I think the problem may be TB, I use it to restore everything, the only thing is, as soon as I install gapps, on reboot it instantly starts complaining about installer service, then goes from that to worse.

The problem is its something you can't fix because its an issue with gapps. I may just have to throw in the towel, but I don't see that happening. Lol
[Desire 816 Android Development] bigsupersquid:
[MENTION=7073808]rumpleduskin[/MENTION]

either a truly clean install with no tibu,

or tibu restore apps but not app data

or tibu restore one app and app data at a time until you find the bad Apple.
[Desire 816 Android Development] GreyCelt:
[MENTION=7073808]rumpleduskin[/MENTION]

I never use TiBu to restore any Google apps. Most of the info for Gapps is stored in the cloud anyway so I restore apps and data for most of my non-google apps & then go to the Play Store and download any Google apps that weren't included in the Gapps package that I flashed.

Does that make sense?

Sent from my HTC Desire 816 a5_chl for VirginMobile USA on unofficial CM13
[Desire 816 Android Development] rumpleduskin:
Makes perfect sense. And I appreciate you and bigsupersquid taking the time to help. I have a feeling you two are quite busy with other projects.

Sense rooting my phone, I have found that it gives you complete control, and to me I love the challenge of getting it to work the way i want it too. I know something is somehow getting carried over to my install, or everyone would have the same problems. So this next round I'll do it as you two have suggested and take it one app at a time.

The thing that is giving me the most trouble, is after I do a clean installation, wipe data, and caches, as soon as I install gapps and reboot, it goes too updating apps, and then once phone boots, it goes straight into google setup wizard has stopped, or just setup wizard not sure which, and that's where I have to click on the x, and then try and get into apps while clicking the x. Its quite the process.

But, I'm determined to get this too work, so this time around I'll do as you two suggested, and this time I'll take screen shots and write down all errors that pop up. Plus, sense I now know how to get logs, I can get them as well. Crossing my fingers that doing a complete clean install will eliminate the problems.

Might be a day or two before I get time to try it, I'll let you all know how it goes.
[Desire 816 Android Development] GreyCelt:
[MENTION=7073808]rumpleduskin[/MENTION]

Another thing you could try, if you haven't already or if it wasn't already mentioned, is wipe the internal storage as well. Make sure you have everything off of the internal storage that you want to keep like pictures or music/sound files or document files...etc, and wipe cache, dalvik/art cache, system, data, and

internal storage

.

If there is something that is carrying over that is causing problems it may be on your internal storage.

I don't know if doing the "Factory reset" in TWRP wipes Internal Storage.

When I'm trying to do a clean install I always tap "Advanced Wipe" and check the boxes next to all of those that I mentioned above.

JUST MAKE SURE that you

don't

check the box next to SD Card or External Storage (I can't remember which one it's called in TWRP) or else you'll erase your SD Card including your files that you need to flash.

I don't know if that will help but I think it might be worth a try if you haven't already. :D
[Desire 816 Android Development] GreyCelt:
By the way, the new TWRP 3.0.1-0 update did not fix the problem of not being able to access the SD card if it is formatted as Internal Storage. :(
[Desire 816 Android Development] GreyCelt:
[MENTION=2980661]bigsupersquid[/MENTION]

Something I've noticed for the past few weeks while being on this ROM, it seems some of the settings or default app behavior resets itself after a reboot.

I don't quite know how to explain it but sometimes I will open an app and it's reset as if I've just downloaded it from the Play Store and never opened it before. All the "Hey, you've never used this app before" tips & tricks pop up.

Also, after every reboot I have to set the Google App as my default Assist & Voice Input app in order to get Google Now On Tap to work.

I thought I'd bring it up because I wasn't sure if it was a known problem or if anyone else was having similar issues.

Sent from my HTC Desire 816 a5_chl for VirginMobile USA on unofficial CM13
[Desire 816 Android Development] rumpleduskin:
Finally, I found a solution to my gapps problem. I tried everything that was suggested, nothing seem to work. The whole time its been here on the boards, and it was so simple.

These are basically the same steps bigsupersquid posted, but for some strange reason i needed that last wipe in there.

1.	Ensure that you have all required files (CM13 Zip and Open GAPP Zip) saved to your*phone*(internal or*SD card)

2.	In my*case, I used TWRP, so ensure you have the latest one

3.	Boot into TWRP recovery

4.	Using ‘WIPE’ option, select ‘Advance’ and choose: Data, Dalvik, Cache, System(this part I added because of suggestion made to me, I wiped my internal just to be safe. So make sure all your files are on sd card)

5.	Using ‘INSTALL’ option, Install CM13 via TWRP

6.	DO NOT BOOT UP*PHONE*JUST YET

7.	Perform a Cache and Dalvik wipe

8.	Using ‘INSTALL’ option, Install GAPP Zip via TWRP (I used GAPP mini due to space) I myself used nano, don't think it matters which one.

9.	Now you may reboot the*phone.

The solved the ‘Setup not working’ issue for me and my phone*is now working like a charm with CM13 and google apps! I have a*HTC One M8*FYI

Thanks to Kevish for this solution. Maybe it can help someone else. Other fixes in this thread.

http://xdaforums.com/google-nexus-5/help/problems-gapps-cm13-t3258915

Finally running marshmallow, knew I couldn't stop till I fixed it. :)
[Desire 816 Android Development] GreyCelt:
Another thing I've found to go along with my previous post, apps that I have previously given root access via SuperSU lose access and I have to approve again.

Sent from my HTC Desire 816 a5_chl for VirginMobile USA on unofficial CM13
[Desire 816 Android Development] bigsupersquid:
do you have any kind of cache cleaner installed?

i think some of those settings live in the dalek cache.

that isn't happening to mine but I mostly keep running from the same backup so it's hard to replicate.

thanks for info.
[Desire 816 Android Development] GreyCelt:
I have the same cache cleaner that I've used on every device & ROM that I've had for years & I don't remember it resetting things like that.

I have cleared dalvik cache in recovery a few times but no more than I've had to do on other ROMs and, again, I don't remember clearing dalvic resetting things like that.

Oh well, no worries. Not complaining, just curious if others have seen similar behavior.

I'm still loving the ROM and have been using it as my daily driver for weeks now ever since you got the extreme data usage thingy fixed. Thank you!

??

Sent from my HTC Desire 816 a5_chl for VirginMobile USA on unofficial CM13
[Desire 816 Android Development] rumpleduskin:
Well 24 hours an absolutely no problems. This rom is running great so far. Now that my gapps problem is outta the way I can use this as a daily driver.

Has anyone tried the updated Xposed for marshmallow? At the moment I'm extremely happy to have finally got this ROM to work correctly, so I thought I'd ask first before trying it and breaking it again. Of course I instantly made a backup after getting gapps to work in case I do break it again. I just haven't seen any post about Xposed on here.

Also, when the phone boots I see init.d is already installed, plus superuser as well I imagine. Can init.d that's on these boards be installed over it so that I can easily manage any scripts, or would that cause a conflict? Also, I don't see any way to access superuser, again can this be installed to gain easy access to see what programs have root and such.

Now that this is my daily, I'll keep an eye out GreyCelt for any programs seeming to reset themselves, and post if I come across any.

Thanks again for all your hard work bigsupersquid, very nice job.
[Desire 816 Android Development] GreyCelt:
[MENTION=7073808]rumpleduskin[/MENTION]

I am running Xposed & have been since day one on this ROM and haven't had any problems.

Also, glad you got your Gapps issues figured out. ?

Sent from my HTC Desire 816 a5_chl for VirginMobile USA on unofficial CM13
[Desire 816 Android Development] rumpleduskin:
Thanks, there for awhile, I thought I was going to be outta luck. And sense people can't seem to quit asking mini for ETA's I thought I'd never get it. Not much faith in Virgin rolling out the update, so this is our marshmallow. :)
[Desire 816 Android Development] bigsupersquid:
/etc/init.d, just put scripts there, start their name w 2digit number, rwxrxrx permission, owner/group root.

su is built in with cm permission prompt, install chain fire supersu if you want
[Desire 816 Android Development] molebrain:
I have a dumb. Question. What is the difference between a5chl and a5dwg?
[Desire 816 Android Development] bigsupersquid:
chl is single sim virgin mobile or sprint.

ul and tl are single sim different carriers.

dwg/dug are dual sim models, carrier varies.

all are desire 816 a5... go htc.
[Desire 816 Android Development] rumpleduskin:
Deleted
[Desire 816 Android Development] molebrain:
Ah! Thanks. Got it. Well, I justed dirty flashed CM13 and Gapps stock 6 on my wife's A5. Wow, it was quick, and no issues. Probably the quickest upgrade ever for me. I had major issues with APN, MMS, etc with 12.1 on that thing, with 13 it is like a new phone.
[Desire 816 Android Development] rumpleduskin:
Just a quick question, since installing Xposed, when I reboot every once in a while my system will hang on the blue guy. I just hold power and up and then it reboots. You have anything like that? Doesn't seem to effect anything, it more of a nuisance then anything.
[Desire 816 Android Development] GreyCelt:
I'm assuming "the blue guy" is your boot animation because I have a different boot animation so I don't have a blue guy.

Anyway, don't recall that happening to me or, at least if it did, it's not doing it anymore.

Sorry, I'm not much help. ????
[Desire 816 Android Development] bigsupersquid:
check your xposed logs after a crash to see why. or you can post one. they're available somewhere in the xposed control app.
[Desire 816 Android Development] TrUE BlUE:
the android security patch is up for april with a lot of vulnerabilities fixed. [MENTION=2980661]bigsupersquid[/MENTION] if u cud update it in this rom it would be awesome.

thanks!
[Desire 816 Android Development] bigsupersquid:
no can do, device tree still wanked, camera broken again, PC in storage while I sort out my sorry excuse for existence over here again.
[Desire 816 Android Development] rumpleduskin:
Hang in there bigsupersquid, what you have accomplished so far is greatly appreciated. At least we can run MM while Virgin scratches their heads trying to figure out whether their releasing it or not. Try not to let it overwhelm you. I think with what you had to work with, this is a pretty steady release to say the least.
[Desire 816 Android Development] rumpleduskin:
Hope this double post is allowed, didn't know how to attach file in an edit. Went through the logs, only thing I could find that looked like it may be a problems was this...

04-06 01:20:08.150 E/Xposed ( 825):	... 19 more

04-06 01:20:08.150 E/Xposed ( 825):	Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

Of course I have no idea what I'm looking for. Its not really a big deal, but I suppose the more stuff I add the worse it can get. Log enclosed.
[Desire 816 Android Development] bigsupersquid:
it seems to crash opening tw.fatminmin.xposed.minminguard.Main

loads several modules previous to that.

the actual error, Google finds a few, but the devs didn't respond to that part of any of those posts.
[Desire 816 Android Development] rumpleduskin:
Thanks for looking it over. Seems like i can remove it if need be, or head over to their forum and find out what's up with it. Appreciate you taking the time to look, like i said, not really and issue, easily fixed by holding down the right buttons. Tell you the truth, I don't think that module is working for me anyways. That may be why.
[Desire 816 Android Development] davidw.roggenkamp:
Hi; I downloaded this rom, but I end up with a five minute boot time. Did I miss something?
[Desire 816 Android Development] bigsupersquid:
first boot is particularly slow. after everything eventually settles in, when it's had cycles of run for a while and reboot it or power it down, it gets decently quick about starting up.

if it's stuck in the cm bootlogo (pulsing blue alien android or whatever it is) and never actually starts up, it probably needs "factory reset" in twrp and reflashed (check the file md5sum against the download page, too), then try again.
[Desire 816 Android Development] sahil.bhardwaj:
[MENTION=2980661]bigsupersquid[/MENTION],

Just tried Grarak rom for dual sim. Camera and app FC issues are resolved in his tree, dunno with new blobs or some code changes fixed that.

He isnt building for single sim but maybe merging your device tree with him may help you gain your lost source.

Another thing, GPS still leaks (you can help in that) and still network mode can't be changed (no comments).
[Desire 816 Android Development] bigsupersquid:
for GPS issue remove all XTRA and NTP servers (or comment them out) in /etc/gps.conf not the most elegant fix but it stops the GPS network access.

the network selection commit (first of the two if I remember right) you posted a while ago does work, at least on single sim. you might check out the m8d for dual sim ril tweaks too

thanks for info, I'll check the tree again once enough stupidity has settled out of my living environment to break out my PC from storage.
[Desire 816 Android Development] steppinthrax:
What app can be used to keep the connection alive? I guess something that sends out a few bits every second.
[Desire 816 Android Development] sorensenbill:
Thanks for a great ROM

Half a decade of lurking later I'm posting for the first time to show thanks for such a great ROM, it's made my year old VM 816 like a new phone again. Using the following process I had a perfect CM13 install with working Link2SD:

1) Factory Reset/ Wipe cache from within TWRP

2) Flash the CM13 ROM linked in the first post

3) Flash gapps from the link in the first post (NOTE: If you choose anything larger than nano the Google Now Launcher will obliterate CM13's trebuchet launcher with no way to go back, costing you a bunch of cool CM13 features - be careful!)

4) Flash Univeral VM-APN fix listed in the third post.

5) Reboot phone, I didn't have any strangely long boot times.

6) When prompted don't setup your SD card as internal storage, it's not needed with Link2SD.

7) Fixed Facebook force close problem using the fix linked in the third post

8)At this point I was getting force closes from Facebook Messenger which I fixed by deleting a similar file to the Facebook fixed that was listed in the force close stack trace: /data/data/com.facebook.orca/lib-xzv/libsslx.so - Messenger force close problem solved.

9)To get Link2SD working there's a problem with the app and the way Marshmallow mounts the SDcard, download "Apps2SD: All in One Tool[ROOT]" and let it create your mount script with init.d support. Reboot your phone and Link2SD will be working normally, it's then ok to uninstall Apps2SD.

10) Donate to the author! I did and everyone else should too.
[Desire 816 Android Development] bigsupersquid:
[MENTION=7406594]sorensenbill[/MENTION]

thanks again for your contribution.

added donators list to OP now.
[Desire 816 Android Development] ajones23:
I've been running this ROM since it came out. And still haven't encountered many problems,that I can't fix. This has changed the performance of my phone. Its set up just to my liking. Thanks [MENTION=3228718]bigsu[/MENTION]persqiud for all your had work,I know I've said that many times. For anyone installing this for the first time. Follow the instructions in the 3rd post,it helps.
[Desire 816 Android Development] bigsupersquid:
VM eri.xml flashable zip for marshmallow

https://www.androidfilehost.com/?fid=24499762635999681

flash after APN fix.

I'll add to post 3.
[Desire 816 Android Development] steppinthrax:
---------- Post added at 04:27 PM ---------- Previous post was at 04:27 PM ----------

[/COLOR]

Thanks, what does this actually do. I just flashed on my phone not noticing anything.
[Desire 816 Android Development] ajones23:
Could just flash it by it self. Or do you have to clean flash.
[Desire 816 Android Development] bigsupersquid:
it adds the carrier label for virgin mobile (if it wasn't working, the status says digital roaming instead) and shows 3g/1x instead of R.

by itself is fine. it'll overwrite the eri.xml from the APN fix or just save it if it's not already there.
[Desire 816 Android Development] GreyCelt:
I found a work-around for not being able to flash zip files in TWRP if your SD card is formatted as Internal Storage. The app Flashify from the Google Play Store will do the job. ?

You do, however, have to pay $3.99 for the app if you want to flash more than 3 zip files per day.

Sent from my HTC Desire 816 a5_chl for VirginMobile USA on unofficial CM13
[Desire 816 Android Development] bigsupersquid:
added to post 3
[Desire 816 Android Development] clydeml:
MMS download

Hi, I hope someone can help me. I am having an issue with MMS sending and receiving photos and attachments . When I receive a photo it says "Couldn't download". When I try to send it it says "Not sent". I also noticed in Cellular network settings when I click "Carrier settings" I get the message "Unfortunately, the process com.android.phone has stooped".

These are the steps I followed:

Factory Reset/ Wipe cache from within TWRP

Flash the CM13 ROM

Flash gapps nano 6.0

Flash Univeral VM-APN fix

Flash MM VM eri Fix

Reboot phone

When I tried to install busybox My phone said it was not rooted so I ran:

SuperSU zip file in recovery.

I installed Link2SD using an ext4 partition.

Everything else seems to work fine
[Desire 816 Android Development] ajones23:
Sounds like you did everything right. But I noticed you did factory reset. I usually do Advanced Wipe,and check them off and wipe flash. Could be a problem,been on this build since February. With no major issues. Maybe follow my flashing advice in 3rd post.
[Desire 816 Android Development] bigsupersquid:
try again but without the APN fix. some localities don't seem to need it, and MMS failure is probably APN related.
[Desire 816 Android Development] clydeml:
Thank you for the help. I tried the steps you outlined. Installing ROM letting phone set and then installing gapps. Still had the same issue.
[Desire 816 Android Development] steppinthrax:
Just a little update. I had to take this ROM off after a few weeks. I gave it a try again. Back on insertcoin.

1. Having to constantly reset the data.

2. Bluetooth instability issues.
[Desire 816 Android Development] clydeml:
Thanks for the reply. I tried it without the APN fix, however when I do that I cannot access any data through the network. Not sure why this is happening. I can sent text messages , just not any with attachments. I have tried multiple combinations of installing the rom, in different orders and tried following some of the installation suggestions from others on this tread, but I have had no luck.
[Desire 816 Android Development] bigsupersquid:
[MENTION=3505814]clydeml[/MENTION]

you should leave in the APN fix then.

when I get the "downloading" message it's sometimes from a bad data connection. maybe toggling your data on and off or airplane mode on and off could prod it into functioning.

you can send me a radio log if you want me to look further into it

logcat -db radio > /sdcard/log.txt

or

adb logcat -db radio > log.txt

the root thing, you have to turn on root access in developer settings to not use supersu (but that should be fine too)

another thing:

just for giggles, you might try sending yourself a MMS without gapps installed (I've only tried the pico package)