yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Wotta:
Thank you for that. It didn't work for me, but has forced me to learn a LOT more about the Android command shell. A few questions and points...

It looks like I had to change permissions on the file to +x

Toybox isn't a found directory. In theory, much of the toybox functionality is in Marshmallow already, including mount. Are those paths really correct? Do I need to install toybox explicitly?

This is for exFat; I changed it to -t vfat for my FAT32 card; is that correct?

CM13, or at least mine, came with a 00banner script, which possibly collides with the 00exfat.sh order you gave... does one or the other need renaming?

Even with all this, the mount point is under /mnt, and doesn't seem visible to other apps. I can see the files at /mnt/extSdCard, but how do I map that to something under /storage or to /extSdCard? At this point, it's about the same as the Marshmallow mount of /mnt/media_rw/####-#### directory; visible to some file managers, but not reachable by much else.

Thank you for the source. If we can get from under /mnt to being visible under /storage, it will be very useful.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] luisflorit:
That script does nothing for me, even playing with the devices/partitions/mountpoints/filesystem types.

L.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
since you are trying to mount a filesystem already supported (fat32), you will need to umount the filesystem first otherwise the system will just block the mounting process

go to settings -> storage and press the eject button

then you can mount with the script, also here is an updated version of the script,

as for mounting to other directory's you can try modifying the path(s) in the script, if testing you might want to comment out these lines first.

if [ ! -d /mnt/extSdCard/ ];

then

(..and the last )

'fi'

CM13 has broken init.d support (last I checked) so you will need to install something like "Universal Init.d " from the playstore to enable init.d support

toybox is a binary that contains a bunch of applets like mount, if you type ls -al /system/bin you will see /system/bin/mount (most files in /system/bin) are actually just a symbolic links to toybox---.

toybox has replaced busybox and is used by default in cm13 now so unless you are tying to run the script with cm12 or older it should work fine...

reboot your device first then run the script.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
All cm13 is not working init.d Or only sm-t320?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] pduke7:
Today's nightlie

Is this the answer.....?

external/exfat

•*9d909ba Merge tag 'v1.2.3' into HEAD
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
Where? i dont see http://review.cyanogenmod.org/#/q/status:merged
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] pduke7:
Updates in tablets settings. Clicked on the last update
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
U testet, exfat work?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] llapao:
Maybe I can mention that my camera is very slow specially during auto focus. Is anyone else experiencing slow camera operation?

Thanks
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] jrc2:
Yeah, it works. It mounts the SD card to /mnt/media_rw/(CODE FOR YOUR SD)

It can be symlinked to wherever you like.

Edit: I take that back. Because the permissions cannot be changed, applications cannot see the data on it. The card appears in a notification with an "explore" option that does allow viewing of the files and it can be accessed with a file manager at mnt/media_rw, but permissions cannot be changed on it.

I did manage to link it to /storage/extSdCard

---------- Post added at 04:26 PM ---------- Previous post was at 03:26 PM ----------

Update:

This appears to have something to do with /proc/mounts file. See following:

root@mondrianwifi:/ # mount -o remount, rm /mnt/media_rw/CB76-12F8/
mount: '/mnt/media_rw/CB76-12F8/' not in /proc/mounts
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
I install cm-13.0-20151225-NIGHTLY-mondrianwifi.zip. exFAT not work for me(Sandisk 64gb)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
Too many posts about exfat not working. We know it doesnt work so please stop posting about it not working unless you have workarounds or solutions.

There are workarounds which have worked for some users, just read previous posts in this thread and you shall find them
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] KarlDag:
I've stopped posting because it just caused trouble, but I agree with you 100%. This thread is all pollution, "exfat not working?" "is exist working"? "*insert github reference* could this be the solution to exfat"?

We know it's broken, we should stop posting about it until there's a change in that fact... But that's not happening

Alexey71 spammed the cm12.1 thread for weeks if not months uselessly about HW+ decode not working in MxPlayer... Merely doing the same thing now about exfat. As if cmpalmer wasn't aware enough yet...

Not going to change until a mod decides to stop it.

/rant
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
Incidentally, hw+ not work 1 year passed :D. But when cut off support for AC3 and hw is not working properly)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
remember there is a bug report section on the forums too (it seems to be overlooked a lot though )

(see top of thread where it says Discussion - Reviews - Feature Requests - Bug Report)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] maximome123:
Guys, anyone has launched Google Now on Tap or search assistant?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] jcsogo:
Yes, I have. Just open a webpage for example and press and hold the home button for a while. A dialog asking for enabling Google on tap will appear.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] jrc2:
You may have to go into button settings and tell it long press on home = launch search assistant.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] maximome123:
Yes, I've set long press home button and additionally checked Google Now settings, but there is no reaction, just nothing. Same thing with on-screen nav bar.

Thanks for your replies!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] smknutson:
Tried to disable the Google App as it's been reported to fix Xposed boot-looping, but as of 12/27 build it still bootloops while repeatedly rebuilding app cache. :(

Since 6.0 compatible Xposed is working elsewhere on CM13, anybody put any sort of time into this yet or have any thoughts?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] rcook55:
Anyone use a PIN code on the lock screen? I thought that on CM12.1 there was the option to have it unlock upon correct entry of the PIN, I'm not finding that option in CM13, is that me or the ROM at this point?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Sicily98IT:
setting -> lock screen -> screen lock -> PIN
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] johnp357:
any ideas as how to make you PC see the external SD card in CM13? this is the only thing that would make this usable for me.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] sacto7:
Had read on one of the forums that you have to "reset" the usb connection by changing it to charge then back to the "default" mtp even if mtp is displayed as the usb connection. It is a bug since a mtp connection is being displayed in CM13 as installed.

Had to do the "reset" after each power down on CM13 for the Nook HD+; hadn't checked it after a reboot tho. My PC showed the external card but no files/folders & doing the "reset" fixed it & was able to download a new rom (the old Nook doesn't have much memory, 1 gig).
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] azadaK:
CM13 nightlies issues: Battery charging and SD card

Hi,

I am using MondrianWiFi (SM-T320) CM 13 latest nightly release, TWRP recovery. When I plugged the unit for charging in power off mode it shows only the battery icon without showing the charging percentage. So I could never see when the charging is finished. Another issue after unplugged the charger the unit does not power off automatically. I have to shut down the unit otherwise it stays on with the battery icon.

The SD card content is not visible in File Manager or with any other File management apps.

Thanks.

Azad
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] johnp357:
bummer... that didn't work... oh well.. still waiting I guess..
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] rcook55:
Yes, I know how to enable the PIN lock but what I'm saying is that in 12.1 there was an option to instantly unlock upon correct entry without having to press the checkmarl. I cant find that setting now.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] HaloTechnology:
Any news on SDcard exFat
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] the Doctor:
This is the very latest news on the matter.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] xpdragon:
My exFat SDcard seems working fine with 20160101 build. The only issue is I need to reinsert the SDcard after rebooting the tablet.

---------- Post added at 07:19 AM ---------- Previous post was at 06:48 AM ----------

With the latest build, I don't need to reinsert the exFat SDcard after rebooting the device.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
Build 20160102 EXFAT work. Only the applications can not access it, such as titanium backup, ttorrent...
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] laxor:
That's just how external storage is supposed to work in Marshmallow. If you really want to use it in every app, you have to format as internal storage.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
The script stops working. Any ideas?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
if you flashed to a new cm13 build you will need to copy the script over again to /etc/init.d (since that directory gets reset on each flash), and you will have to re-toggle off / on init.d in the universal init.d app then reboot for the script to activate (or you can run it manually from cmd)

anyways I made some changes to the script, to allow better permission handling.

see attached file.

Edit:

oh didn't see that exfat is working now in the latest nightly, in that case you will need to eject the sdcard from settings -> Storage & USB and then run the script.

(you can probably do it via script, but you need to find the mount point and then run the umount command) - I can't test right now unfortunately

in this case remove the script from init.d - boot up the system eject it from settings -> Storage & USB , then manually run the script... I will try to find more workarounds when I get some free time :)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
Ok. thx. i wait)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] nk33:
Well its a step forward….. Still a bit pointless for most but at least right direction.

I use folder mount to install all my games to sd card and forward obb folders there. 16gb just doesnt cut it these days for gaming
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] laxor:
Just installed the latest nightly and I still can't format my SD card as internal storage. Other CM13 devices seem to have this option, so I'm wondering why it doesn't work on our tablet.

edit: You can actually force this with adb shell sm set-force-adoptable true

Going to test with my card now.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
sm set-force-adoptable true - work hm. Cool, is now 64 GB). Just do not understand where the internal memory now(12gb)?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] menaceinc:
Do you type this in Shell? "sm set-force-adoptable true"?

Thanks
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
http://xdaforums.com/showpost.php?p=64270287&postcount=92
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] laxor:
Ok, so I formatted my Sandisk Class 10 SD card as adopted internal storage. After about 60% the formatting screen disappeared and a Java error was displayed. Pretty sure it still worked, so I rebooted and then went into settings > storage > migrate. After about 10 minutes it had 5 GB of my data migrated to the SD card. During the process I had several force closes of apps like Swiftkey, but that shouldn't be a problem. I rebooted again and was greeted with force close messages from several apps (probably happens because the SD card isn't mounted fast enough), but after that everything seems to be smooth.

What works:

- Formatting as internal storage despite error message

- Moving data from internal storage to SD card

- Apps like Spotify or Amazon Video actually download to the adopted storage now

- Plugging tablet into computer and copying files via MTP

What doesn't work:

- Several apps force close at boot

- Can't manually move apps back to internal storage (there should be an option for this, but it says that there are no apps on my SD card, so there's nothing to move back - probably a CM13 bug)

- Storage space is displayed incorrectly in file managers like Solid Explorer (only SD card and not SD card + internal storage)

How's Wifi for you guys? I got several disconnects in the last couple of hours.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] menaceinc:
Thanks a lot! It works beautifully.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] AndyYan:
Same, disconnects now and then, especially when I put it to sleep.

Sent from Google Nexus 6P @ CM13

[WARNING: XDA One have not implemented "mark forum as read" - do not use]
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] t_riikonen:
Just FYI: Official CM13 appeared for Samsung Galaxy S4 on Dec 30. The first nightly build there contained external SD support. It is possible to format ext SD as internal or portable storage. Also at least some applications, like ES File Manager can see and access portable storage normally. So much more mature functionality than in SM-T320.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
I returned back to the memory card. Not convenient when it is formatted in the internal. And when on the map 40 GB, and you try to move the data back, it is necessary to first on the PC copy. It's a long time. I did format microsd, through twrp. Now titanium backup began to see my backups on microsd.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] seilogeo:
I have just installed the latest nightly seems solid. My only problem is that mx player 1.8.1 refuses to play videos on hw or hw+ mode. I can understand that this is not rom's fault but mxplayer's. Do anyone know a player that supports this modes in 6.0.1.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] _dsouza_:
I have this problem with the latest 12.1 snapshot. However mxplayer works fine in HW+ mode in my LG G4 with stock 6.0 ROM.

HW+ also works fine with CM 12.1 on my Nexus 10.

So I believe it's a ROM issue then...
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] pduke7:
Same here, 2-3 random disconnects after wake up during a full discharge
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] seilogeo:
On cm 12.1 I could only use hw but not hw+. Now I can only use sw which is very battery comsuming, I tried vls player but I havent tested the battery drain yet.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] laxor:
I think there was a discussion about HW+ mode in the CM12.1 thread. That feature is broken for a while now.

One more thing about the SD card problems: Before I adopted my card as internal storage I was actually able to see and use it in SolidExplorer as external storage just like in Lollipop. Does this work for everyone now or was this a side effect of playing around with my card?

I unfortunately still get really bad standby time on wifi due to event0-xxx wakelocks. I already had them on Lollipop and hoped that maybe they would go away when Doze kicks in - nope.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
I had some free time, made some major modifications to my init.d exfat script, now it will do the following features

1. not interfere with default OS mount points so the system will still see the sdcard mounted and have it's media_rw directory.

2. allow everyone to access the media_rw directory and sdcard

3. create another mountpoint to /mnt/extSdCard

USB flash drives might interfere with the script if you leave them plugged in on boot.

currently only works for exfat only & if your card is detected by cm13.

to use

place the 00exfat.sh script in /etc/init.d/, then install "Universal Init.d" from the playstore, toggle on init.d support, reboot OR you can select 00exfat.sh in the Universal Init.d GUI and at the top right select Execute without needing to reboot..

you should then be good to go.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Ichijoe:
At the risk of being off topic, will there be a mondrianlte (T325), version in the works?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
The script does not work for some reason. Tried to manually start, error
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
try enabling the cm13 terminal and type su, typ sh <location of script>/00exfat.sh , it's mainly meant to be run with init.d though
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] johnp357:
this didn't work for me either... bummer.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
The script just does not start. I do not understand what's the matter
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] luisflorit:
That script is broken also for me, with the same errors.

I wonder if it also works for vfat, replacing /system/bin/mount.exfat by /system/bin/mount. If it worked, that is.

L.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
maybe, once the exfat one is stable, ill try to adjust it for fat

strange, works here, my cm13 is clean installed though..

looking at the errors it seems to be failing at setenforce, try this one
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] luisflorit:
Still does not work (clean cm13 from Jan 3):

root@mondrianwifi:/ # sh /sdcard/exfat.sh

setenforce: Invalid state: 0

/dev/block/vold/public:179_65

/mnt/media_rw/3BC2-1415

: not foundat.sh[8]:

/sdcard/exfat.sh[9]: syntax error: 'if' unmatched
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
Work. Can do script that without any additional mounting. For /storage/xxxx-xxxx issued all the permissions to read and write?

Hh, and previous script work...
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
the media_rw one should already be read / writable -

I will look into the storage one, yea I can remove the extsdcard mountpoint
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Alexey71:
Delete mount /mnt/media_rw. Mounting /mnt/extSdCard save. And need full access /storage/5F6E-4DAA

At the end of the script to write /system/bin/toybox setenforce 1

Hm, seteforce 1 is not full access to the /mnt/extSdCard. I had to return 0...
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] smach31:
just a question when i press the home button its take 3 sec to wake up the screen its is normal or there something to do to resolve this
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
takes around 1 1/2 - 2 seconds,

did you install some deep sleep or battery savor app? since apps like that can limit cpu frequency when screen is off (slowing the wakeup)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] seilogeo:
Just to report for those interested hw acceleration works with vlc player just fine.

Two hours and forty minutes of a movie consumed only 20 percent of the battery.

With brightness on 6%.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] marc206:
Can someone please tell me if the recovery for every rom has to be installed with the rom. I have noticed this is only with the cm13 roms.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] AndyYan:
Of course not. CM Recovery is simply cr@p compared to TWRP and I wonder why CM decided to make it available. Just keep using TWRP.

Sent from Google Nexus 6P @ CM13

[WARNING: XDA One have not implemented "mark forum as read" - do not use]
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
Just wondering how everyone else's wifi is working (transfer rates, I'm not concerned with disconnects or signal), since doing a few iperf tests to local network and ftp transfers I am stuck right around 3 megabytes /s or 30ish mbit on both AC and N bands (5 gHz) which is horrible :) - If i recall correctly the stock firmware gave around 20-31 Megs / sec with iperf on the ac network...

It might just be my router who knows - that's why I'm asking
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] smach31:
no nothing strict minimal i use just for my kid netflix or youtube kid i dont remember if the stock rom do that
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] smknutson:
Can confirm xposed v79 working on 20160104 build, with no modifications needed to get it to boot or work.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] razholio:
Currently on cm12.1 and getting at least 60mbs on n on 2.4ghz. I could try 5ghz AC if you would like.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
sure why not, might help to better understand if something is wrong with cm13 wifi drivers.

Here are my results in CM13, using 5Ghz , wireless AC I am only getting 24-33 Mbit (roughly 3 Megabytes a second), for my tests I have used both Iperf and "Wifi Speed Test", they both use a client & server as this is the only way to get accurate testing (my test is SM-T320 as wifi client, PC (linux) as server connected to LAN (both Iperf and Wifi Speed Test give the same result so either is good to use)

This is not Internet transfer speed but Lan (local)

I will try 2 Ghz / N and see what happens.

2Ghz is even worse then the 5 Ghz 9~ 14 mbit.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Tagtag123:
^ To add to otyg's post.

I tried WiFi speed test app.

Here are the results.

Nexus 5 as a 5ghz hotspot(I don't have a 5ghz router).

Connected Galaxy S6 and Tab Pro 8.4 (latest CM12.1)

Tab Pro 8.4 did 90mbps DOWN and 67mbps UP with the Galaxy S6 as server

Using my ultra crap 2.4ghz 'G' router it maxed out the router like every other device at 20mbps UP/DOWN, LAN speed tests (not internet).

5GHz hotspot from Nexus 5

Tab Pro 8.4 can supebeam back and forth at about 150-180mbps, rarely breaching 200mbps mark.

5GHz galaxy S6 superbeam adhoc, the Tab Pro 8.4 does 150-190mbps, rarely reaching 216mbps.

My Tab Pro 8.4 (CM12.1) does easy 20mbps internet at work with many walls on all 'a' 'b' 'g' 'n' standard settings.

Updated once to CM13, but weird memory card situation made me go back. Although it was butter smooth.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
Thanks for testing,

After some testing and even downgrading to CM12.1, I ended up with same speeds so I finally I narrowed it down to my router (or ddwrt) causing the slow speeds, apparently updating ddwrt regularly it has over time messed up the settings, after doing a "factory reset" with ddwrt speeds are back to normal (even in CM13) :)

respectively

240 Mbit (up) / 138 Mbit (down)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] Tagtag123:
[MENTION=5207466]otyg[/MENTION]

These speeds are pretty great.

So, right now only the sdcard mess up is there in CM13. Rest is all good, right?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] otyg:
sdcard still has some issues but overall it can detect exfat now, accessing the sdcard as a normal non root user requires some manual work (see my script a few pages back)

offcharge mode is still broken so if you power off the tablet with it plugged in it will freeze up (and possible not charge properly)

battery can also be iffy sometimes when charging but that's the norm for this tablet :)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] WorkingOnWise:
Does this script allow using an SD card as "adoptable storage" also, or only a removable SD card as in previous versions of android?