yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
Quoted from the forum post.

.
[APP]SELinuxModeChanger
Every time you reboot your device app will execute the script to change SELinux to the mode you've selected. Simple and stupid.
.

^ no what that app does is run 'setenforce 0 / 1 ' which will disable / enable selinux after bootup, why I modified the boot.img is so it is set permissive before bootup, for example when init.d and Off-Charge is initiated, afaik no app is able to modify the kernel boot command line.

But really if you don't care about

init.d

or using

off-charge

mode then you can disable selinux with an app or type setenforce 0 as the root user which is ok..

I just wanted people to have an option to use off-charge mode (power tablet off + charge) or use init.d without the use of 3rd party apps, perhaps solve some other bugs in the short term, it might also help crpalmer or other cm13 devs to identify and fix the problem with selinux blocking the charging daemon (off-charge), and init.d
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] loperdwb:
ExtSD Access

I did a factory wipe in TWRP 2.8.7.0, from usb-otg installed cm-13.0-20160114 nightly and open_gapps-arm-6.0-nano-20160114. Signed into google account, no restore of apps. Enabled developer option root for adb and apps. CM file manager shows only internal and secure storage. ExtSd and USB-OTG show in notification pulldown and settings/storage as portable storage. I can browse USB-OTG from there but not ExtSd. It just flashes a window. After installing the boot.img from post 383 I can browse ExtSd from settings, but it still doesn't show in CM file manager. My ExtSD is ext4. Does ExtSd access depend on apps being changed or will it be fixed in the rom?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] luisflorit:
ExtSdCard support is badly broken on these CM13 releases. If ext4, even worse.

We should be patient for it to mature, and if ExtSdCard is important to you maybe it is better to flash other ROM until CM13 is stable for the Tab 8.4.

L.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
I have been happy on the latest snapshot 12.1 for many months now… smooth as a baby's bottom!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] the Doctor:
Still no go on the SD card. Today I did this:

1. Downloaded the latest nightly (1/15), did full wipes (cache/dalvik/system/data) in TWRP and flashed the nightly and Open Gapps pico in TWRP.

2. With no SD card, I booted the ROM, logged into Google, and shut the tablet down. Then I inserted the SD card and booted TWRP, reformatted the SD card as exfat and rebooted the tablet.

3. Still no option to adopt it as internal or removable storage. ES File explorer can see it under /mnt/expand and acts like it can copy files to it and shows the files, but apps can't use them (mp3, mp4, etc.). I plugged the SD card into my computer and it was instantly recognized, but no files despite ES File Explorer showing them. The card works normally with the computer and everything else I have. FYI, it's a Sandisk Ultra 32GB HC I.

8. I took a log immediately after trying to access a file on the SD card and getting a failure (attached).
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Ichijoe:
By Radio(s), I take it you mean the 2G/3G & LTE Ones, and not the Wi-Fi or?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
/mnt/expand has nothing to do with the sdcard :p

anyways you have 3 options to get sdcard working

1. sm set-force-adoptable true (from what I understand it will format your card and make it look like internal storage, I don't like this option)

2. see post #310 (only works with exfat currently), this is what I use and I really haven't had any issues

http://xdaforums.com/showpost.php?p=64618509&postcount=310

3. wait for cm13 bugfixes (or use root to browse /mnt/media_rw)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] the Doctor:
Not disagreeing, but that's the only place under /mnt that ES File Explorer shows the files after I've moved them to the card and put the card in the slot.

I've been following the thread and know the workarounds. Please refer to the post by the dev I quoted above.

I just reported a problem and gave him a recent log.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] JaylanPHNX:
Is there something I'm doing wrong for the tab to not boot whenever I flash the SuperSU zip? I know the built in Superuser works, but I'm used to SuperSU. And also curious as to why it won't work for me.

It's baconnn!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] george stamatos:
Just install 2.66 as an app. Don't flash it, work's for me
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] mark_83:
who can merge this import fix to the build? It will solve our SD Card issue.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] jrc2:
I ran the script and got the following error:

setenforce: Invalid state: 0
/storage/emulated/0/scripts/00exfat.sh[8]: : not found
/storage/emulated/0/scripts/00exfat.sh[9]: syntax error: 'if' unmatched
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] ChemaPG:
Ok.... I don't know WTF is happening again with auto rotation. If I start the tablet, it works, but if I use an app in vertical mode then there is no way of going to landscape mode unless I reboot the tablet. It's so annoying
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] menaceinc:
Yes, I had the same problem. Now I am back on 14th nightly.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] the Doctor:
Check out the next nightly, which will contain this commit:

http://review.cyanogenmod.org/#/c/128966/
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] JaylanPHNX:
I have a small question: I've adopted an SD card as internal storage (had to use the terminal command mentioned previously, thank you to those who provided it), but I'm a bit concerned how this may affect or be affected by future ROM updates. Has anyone who's using adopted storage run into any pitfalls updating your ROM?

Edit: Well, it may be a moot point now. I was updating apps and went into an unending boot loop. TWRP doesn't see any files on internal storage. [emoji90] *sigh*

From my SlimTab Pro 8.4
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] the Doctor:
Why continue pursuing a hack when there's a commit ready to fix the issue in tonight's nightly?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] JaylanPHNX:
I used that "hack" last Saturday, when no such commit existed.

It's baconnn!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] the Doctor:
The commit in the 1/20 nightly worked, so I can now mount and use the SD card, and MX Player can see and play files off of it. My computer also recognizes both internal storage and the SD card.

Unfortunately, the quick settings tiles are gone as in other CM13 ROMs :/

Edit: Uhhhh, quick setting tiles just mysteriously started working again.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
Wait so are you saying the sd card issue which has had everyone scrambling has finally been fixed? Can I now wipe my 12.1 and move to this? what other issues are there on it we should be aware of before moving to 13?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] jrc2:
Yep, it has been fixed. When you first boot, the quick settings will be all messed up. What fixed it for me was applying the system CM theme instead of the custom one I was using and then rebooting. After you reapply the system theme and reboot, you can then apply whatever theme you were using and the quick settings tiles still work. If you were already using the default system theme, force stopping systemui and restarting might work or applying a theme from the play Store and going back to system theme could also work.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
Can I dirty flash this rom straight from the latest 12.1 snapshot or do I have to do a clean install?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] jrc2:
I haven't tried dirty flashing over 12.1. The op says to wipe data and cache if coming from 12.1. I did dirty flash 13 over 12.1 on my phone and it worked fine. For the tablet, I used titanium backup to backup what I cared about and then restored it on 13. You can also use adb to backup and restore app data.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
i find titanium backup does a good job but it doesn't do well on restoring email accounts, WiFi access points, bluetooth devices.

i feel this is the only place where aple is better - you can restore your whole device in one place
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] KarlDag:
Will be (should be) the same with Marshmallow, so once you're on cm13 once you should be set.

Dirty flash should work if you wipe cache/dalvik
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
thats great - one last question - i am currently using TWRP to backup my 12.1 - if i dirty flash to 13 (after wiping cache), will i be able to restore straight back to it if i am not happy with 13?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] arrrghhh:
Yes, this is the point of taking a full backup!

Please let's try to keep development stuff in this thread. There should be a sister thread for this in Q&A...
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
well i have taken full backups before and they have not restored properly after moving to a later rom....thats why i asked.

is there a sister site for q&a?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] arrrghhh:
Oh, hm. Well the QABot used to autogenerate threads - see this from CM11.

[Q&A] [SM-T320] CyanogenMod 11.0 Nightlies for the Tab Pro 8.4 Wifi (mondrianwifi)

No big deal I guess, just a lot of clutter it seems. If your backups don't restore, perhaps there is something wrong with the backup then? Not sure. A full TWRP backup should be able to restore over any other existing OS. Our tablets shouldn't have issues to worry about like different modems etc...
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
Just to let you guys know , I did dirty flash from 12.1 (after wiping the caches). All went well, but there was no play store. So I flashed the latest pico gapps for cm 13 and then eveey time I booted it gave me the message "setup wizard has stopped" .

Thereafter, every time I clicked to cancel it, it would keep coming back.

So I have reverted to the twrp backup I made of 12.1 and all is normal again.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] gewin:
sd card working now

Interesting. I had a different experience with dirty flash from 12.1. I started with 12.1 (20151123) and open_gapps-arm5.1 stock. After doing a backup of my sdcard to my computer and doing a TWRP backup of system and data. I wiped caches and formated the sd card in TWRP. I then installed the 2 zips cm-13.0-20160120... and open_gapps-arm-6.0 stock. After booting and going through its setup it said new sdcard I selected it and selected use as portable storage. I then restored my data from the computer to the sdcard and everything seems to be working properly. external sd card is seen as 00C4-12E7. All apps seem to be able to access files on the external sd.

I will continue testing but compared to the problems I had with earlier version of cm13.0 this is a huge advance. Thanks to all who contributed to fixing the sd problems.

I am not sure whether the different versions of gapps I used was the reason for a different result or the fact that I formatted the sdcard. Just sharing my experiences.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] redpoint73:
TWRP backup just fail sometimes. But its probably still a more reliable way to revert then dirty flashing (or at least less likely to cause issues).
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] micl9:
Only time I have had a TWRP backup fail was caused by different version of TRWP - ie Backup made with "rev A", tried to restore using "rev C".

Going back to rev A allowed me to restore the backup.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] redpoint73:
I've had backups fail for no reason I can tell (made and tried to restore with same TWRP version), several times on this device, and also several times on my HTC M8. TWRP was rock solid back on my One X, never a single failed restore that I can remember. Not sure what's happened since.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] the Doctor:
Old Lolipop gapps are not compatible with Marshmallow. The proper way to upgrade from 12.1 to 13 is to flash the nightly then immediately flash Marshmallow-compatible gapps. I'd also wipe cache & dalvik/art cache before restarting. If done right, it should have no problems upgrading.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
but i used the link for CM 13 gapps? Has anyone got the link for the recommended gapps?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] george stamatos:
Opengapps, use pico
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
well thats the one i said i used!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] george stamatos:
I didnt see, worked for me but flashed imediatelly after rom install, no reboot, and clean flash only
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
ok George - i am trying it your way now - i will keep you updated
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
When using adoptable sd, the internal memory is lost from the file manager. Visible only to my MicroSD 59gb. So it should be?

And Swiftkey crash on startup tablet but continues to operate
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
ok great - i have used this method and all has worked well - apart from one thing.

when i open super su (chainfire) it tells me it will attempt to install the SU binary and it fails every time - i have tried a reboot - still fails
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] luisflorit:
ExtSdCard support seems partially fixed only in nightly 22:

1. /mnt/media_rw still not accessible.

2. Only link that I found to extSdCard is /storage/3BC2-1415, that is, name depends on card.

3. /storage/3BC2-1415 is world readable but still only root writable. Maybe need to fix permission xml system file?

L.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
permission.xml not help. Try script http://xdaforums.com/showpost.php?p=64618509&postcount=310
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] luisflorit:
I tried your script before without luck (as some others), although didn't try this init.d thing....

Thanks,

L.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] the Doctor:
I can't help you there. I personally see zero reason to use SuperSU with CM.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
One of my apps needs that version of super su…its called folder mount
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] StillTrying57:
FolderMount does not work after installing super su . It can not patch the system.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
Gone back to my backup of 12.1 again LoL…. Not really sure why I wanted to go to 13 anyway… 12.1 is gorgeous!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] menaceinc:
Do you guys still have the problem of "auto rotate"? In some apps like IP Camera, it just didn't go to landscape.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Armeniandave:
Latest nightly fixed the auto rotate for me.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] dante`afk:
just updated from an old build from november that I had.

currently seeing the 'unfortunately Google play services has stopped'. continuously popping up - I figure i need to update gapps right?

If i plug the tab to the PC, the SM-T320 shows empty in the explorer.

any help please?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] jcsogo:
I had to add sideload the gapps when it happened to me.

You may try to change the USB settings from the notification that appears when you connect the USB cable, but the pop-up may interfere.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] menaceinc:
It only works after the 1st reboot, then it won't. I'm on 24th nightly and can't go back to 14th or 16th .... => boot loops
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Armeniandave:
Just rebooted mine four times and still works fine. Sounds like you have another issue. Are you clean flashing or using delta updates? I'm using cyandelta.

Edit: Well rebooted the fifth time and now it won't auto rotate. So yea still an issue apparently. Damn I was excited that they fixed it! Ooh well
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] dante`afk:
still the same. there is no folder structure if i open up the sm t320 in windows explorer. just empty.

/edit - pretty odd. I had to re-add the MTP in the dev tools ( select usb configuration ) it was already set to MTP. but after I tapped again on it, it showed up.

---------- Post added at 12:21 PM ---------- Previous post was at 12:07 PM ----------

hmm okay. I`ve installed the open_gapps-arm-6.0-full-20160124 for CM13 now, and like all google services have stopped error. mail, google+, setup wizzard, chrome etc.

continuous popups

were these the wrong gapps to install?

/edit2 - welp, I installed open_gapps-arm-6.0-pico-20160124 and still setup wizzard has stopped working all the time error.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] menaceinc:
Thanks for your info!

I use the stock updater.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] JaylanPHNX:
Marshmallow seems to require that you select MTP from the notification shade to view files, even if MTP is selected in developer settings. I think I read this is only if you have a secure lockscreen (and smart lock doesn't count apparently). A bit annoying.

It's baconnn!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] AliMusa:
Two questions:

1. How is the stability and battery life on CM 13?

2. I'm currently on CM 12. What's the best way to upgrade without worrying about any issues?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] azadaK:
Don't upgrade now! I used the nightly versions and faced trouble. Better to wait for the final release.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] KarlDag:
It's been more stable for me than 12.1, and performance is light years ahead. I had all sorts of random slowdowns on cm12.1, especially when waking after sleep... Nothing like that on 13. Battery life on standby is amazing, because doze basically does what greenify offers, system wide. Might be a tad lower when in actual use, but it's fine. I streamed a 45 mins episode today and lost about 8%... That's screen on, decoding a h265 fils and Wi-Fi streaming. Pretty good!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] AliMusa:
What kind of problems did you face and how exactly did you upgrade, with a full factory reset?

This is good news to hear, although it seems the person above you hasn't had the same luck, lol. How did you move from 12.1 to 13?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] KarlDag:
Dirty flash + Gapps, then dalvik + cache wipe to be sure.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] AliMusa:
Glad to hear that a dirty flashing isn't giving you any problems. I'm honestly surprised you said dirty flash. If you don't mind me asking, what gapps did you install?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] KarlDag:
It's been a while, sorry. Pretty sure it was an Open Gapps package, but which one? Don't know.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] StilleWaesser:
Can I use this mondrianwifi version also for my tablet with LTE?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] arrrghhh:
At the very least you'd lose LTE. I'm not sure if it'll flash tho due to assert mismatch.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] azadaK:
Hi Guys:

I used the nightly version of CM13 flash through TWRP with SD card with openGapps 6. Issues are posted in my earlier posts:

1. No external SD card identification.

2. No battery charge icon when charging in power off mode.

These issues are well known please see other people's post on it.

CM13 might be better but my personal suggestion with till the stable release version comes out.

Thanks.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] KarlDag:
My sdcard works without issue.

Don't know about the charge icon, I never turn the tablet off, but... Is that really a reason not to use a superior, more recent OS?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] azadaK:
The external SD card was not detected by CM13 folder browser/ES file explorer. Yes, the battery icon never shows up so you never know it is fully charged or not in power off mode in those CM13 nightlies. I used the CM 13 nightlies of Dec 2015 later I moved back gain in CM12. Probably they have fixed the issues.

Of course it is better to use the CM13 if it runs smoothly, no doubt for any users and his own personal preference.

Best.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] KarlDag:
But why won't you just charge it while it's on/deep sleep?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] loperdwb:
My extsd would not work formatted to ext4. Formatted as fat32 and selected as portable it works fine. Seen by es file explorer other apps and pc. The charging animation hangs in power off, but the tablet still charges.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] elcomm:
I tried CM13 last night, the big issue I didn't know about is Foldermount doesn't work with MM yet, that's a show stopper for me, hopefully it's fixed soon as the way Google adopts sdcards as internal storage is just garbage, guaranteed to cause headaches.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] the Doctor:
For those having problems with the SD card, this was posted by the dev two pages back in the thread:

About foldermount:

This has come up a couple times recently. It's a problem with Foldermount, not this ROM or Android. The OP of the foldermount thread clearly states that it supports Android 2.3 - 5.1. The way Android utilizes SD cards is not garbage, and there are reasons for the change in implementation. There is always the option of staying on <5.1 of you don't agree with their rational or implementation. But don't expect Android or CyanogenMod to be adapted to an app. Discussion of foldermount issues should take place in its thread, not here.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] elcomm:
I didn't say it's a ROM issue, and I didn't say I expect MM or CM to adapt to Foldermount. In response to the discussion about whether to move to 13 or not I just said the show stopper for me is that Foldermount doesn't work with it.

And yes I have the option of staying on 5.1, that's great thanks, but I'm looking forward to updating to MM once foldermount is fixed.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] t_riikonen:
I have had a problem already for a long time with built-in Clock application (com.android.deskclock). Every time I try to launch the application it immediately exits with message "Clock has stopped". Do you face similar problem? Everything else is working very nice.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] daveysands:
Updated to CM13 on 1\20. Overall its pretty solid. The only issue I seem to be having is connecting to certain Bluetooth devices. Some work fine but not others. I know its not the device; I'm able to connect to them with my other phones and tablets.

I tried clearing app cache and data for Bluetooth Extensions, Bluetooth Midi Service, and Bluetooth Share. Also made sure both the device and my tablet are fully charged. No dice.

Any thoughts or advice would be appreciated.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] arrrghhh:
Clean flash?

Same question.

Folks, always try a clean flash before reporting issues - and of course if you've done this, say so! :)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] luisflorit:
Is it world-writable??

Mine is not, only world-readable, but I am on Jan 22 nightly.

L.