yashsingh1/xdaforums huggingface dataset:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] qasim799:
CM13 is the stablest mm rom I've ever found .
[MENTION=7112923]p.a.n[/MENTION] can you update the rom I think you should check the cm source it is updated to mm release 22. Aicp has been updated to r22. R22 will be more stable and buggless.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Trafalgar Square:
via Imgflip Meme Maker
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] shakee93:
[MENTION=548027]zilia[/MENTION] [MENTION=6878259]ThomasOMalley77[/MENTION] i have restored 12.1 AICP and seems gps working fine. ill give it a try again
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] ArnoutVos:
I have had the same problem, BUT I did have also Google Drive backup enabled. First try WA did hung on the restore, after killing WA via Task Manager and resetting the app (wipe data for WA) the restore started again and this time local restore failed, but Google Drive restore worked...

So please enable WA Google Drive backup AND perform backup before flashing this ROM.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] siewsteven:
On WA: Seems there is an issue with the restore. Did you try killing the app and restarting it again when the backup hung?

As for camera, it did have issues in low light. The camera screen is totally dark but strangely I could still take pictures.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
Very interesting, thanks.

Everything still perfect for me now.

Bye-bye CM12.1 (but thanks a million winxuser for your awesome work there). :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] portmoon:
Screen rotation in CM 13

Hello,

I am a complete beginner so please be kind!

I am using CM 13.0-20160225-UNOFFICIAL-i9305 which is working really great but my screen stops autorotating shortly after a reboot. Does anyone know if there is a solution to this?

Many thanks in advance!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Trafalgar Square:
Hi,

there is no fix. Unfortunately.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] portmoon:
Thanks for letting me know. I can live with it. It's a great build otherwise. :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
The new experimental version whit f2fs us working fine.

Maybe is a CM source problem and they fix it whit new update.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Trafalgar Square:
Oh yes sorry. Its a CM problem.

:D
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] portmoon:
thanks

Many thanks. Can you send me a link to the latest f2fs version? Is it Android 6? Do all the other features work like wifi and GPS etc?

Thanks again!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] zilia:
As I said before - backup did not hung. It goes to 100% and then reports that it was impossible to restore local backup.

Here is my sexual exercises with WA:

First of all now I have no Goole Drive backup because it is just more than 1Gb with multimedia content. And i don't want to exclude media files from backup. But I had it before and it also failed to restore. Killing WA and even put the decrypted msgstore.db file to backup folder instead of all other were unsuccessfull too. Some other perversions also failed.

Finally I've found the way to restore but it looks crazy:

I've installed WA, passed through failed restore and initialisation. Got just my contact list and my groupchats list with no messages inside. Then killed the app and put the decrypted with Whatsapp Viewer msgstore.db file directly to /data/data/com.whatsapp/databases overwriting the small existing one. After that WA filnally got all the messages on right places including internal links to my media files.

BUT I really don't like this situation because:

1) It is not clear why. Is it MM or CM or WA bug.

2) Who knows will it be possible to restore this way later with next WA release.

3) WA can create new backup with all my stuff restored that way but still can not restore it back after reinstallation or data cleanup.

Please [MENTION=7112923]p.a.n[/MENTION] or even [MENTION=4613083]rodman01[/MENTION] can you please advice where should forward my logcat regarding this bug because i'm getting this on every CM13 Rom. I've tried all possible MM ROMs on XDA already (most of them are [MENTION=4613083]rodman01[/MENTION] 's buils ).

Also CM13 FileManager FC bug also present in every CM13 based ROM. So here is the FM FC logcat again. May be you know who maintains the file manager app in CM?

As I see this is absolutely normal camera behavior in the darkness for this device...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] siewsteven:
When I was on CM11, there was no such issue.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
Damn. Dead RIL again. It wasn't the SIM card after all. Bye-bye CM13, hello CM12.1 :crying:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] siewsteven:
Perhaps you can try other ROM
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mop09737:
2502 Rom

Hi,

I have the 2502 rom installed since the 6 of March with no problems at all except the consum of battery.

I'm using the 2502 rom with mini opengaps version and everything is OK for me.

Thank you very much for this rom., again. :):good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] evilracer123:
Sorry for borrowing your thread [MENTION=7112923]p.a.n[/MENTION], but I made new build of CM13 and I am asking for testers. In this build, RIL works without chroot ;)

https://mega.nz/#!2Vhk0L6Q!vfNLa8-HxfDOf2E65zKWHoXKnCxlfLkUEILT2KUQQuY
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] forkbomb444:
Hi, apparently you're having some trouble with autorotation.

Android 6.0 has switched from expecting CLOCK_MONOTONIC for sensor event timestamps to CLOCK_BOOTTIME.

You either need to make this change

or

you can make sure your kernel has this and this change, and replace your (proprietary) system/lib/hw/sensors.smdk4x12.so with i9300's open source sensors.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] hexisg:
tell us more about the build...about RIL? maybe more would like to test
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
No problem :) I`ve been busy lately. It is fine that building cm for i9305 in not only up to me :) I have also solution for RIL without chroot, I mentioned it some time ago on this thread (search ks crash solution), but I wanted to provide more options in one build and the chroot is a good way to do it. How did you solve it?

BTW. I also almost have new build, just need some more time.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] woodman:
I remember you on good old days using Community ROM for i9305 :)

Glad to see you around. :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
I know that now is not the time but could some one make a fix for the camera. After a short period of using it say that it can connect to tbe camera

Rebooting the phone fix it but for a short period of time. In some other forum i was read for a command in terminal emulator ( i forgat were a looking for it )that restart the camera whitout the need of rebooting the phone(tested by me). Im using smart face lock and i have to reboot my phone atleast 5 time per day.

Thank you.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Pafzedog:
Did you try this app? http://xdaforums.com/showthread.php?t=2552255

I remember that it was helpful on an other rom with same "can't connect to the camera" problem.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] evilracer123:
I just used your device repo (cm-13.0-tm branch) and smdk4412 branches from github.com/PoisonNinja.

The chroot just scares me a bit, so I wanted to make a build without it :p

Those were good times :p Still rocking I9305! :D
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
[MENTION=415687]Pan[/MENTION] will add it to the next build.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
Hi, I've been using this all day, no issues yet. I should point out that, to avoid having to reinstall everything, I dirty-flashed over pan's build rather than do a clean install. 2g and 3g work (I don't have 4g network), GPS, calls. Not tried bluetooth as I don't use it. :good:

NB: SELinux is permissive, so Viper4Android works.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] evilracer123:
Thanks very much for testing :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Hi,

after longer timer there is a new build in OP. It supports f2fs, but is build with standard cm recovery, so AGNi should work. FileManager should work correctly with Russian language, but I didn`t test it, I had problems with even locating Russian in language list :) But it is still a good idea to report to CM (or FM) team, this problem is probably in all CM 13 builds. I`ll take a look at this sensor fix during next week (hopefully), but it will up to you to test it, I didn`t notice any problem with rotating.

I also mentioned [MENTION=5197763]evilracer123[/MENTION] build in OP.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
How many time i have to say you ?

You are N1 ! :victory::laugh::p

So data and cashe only paired to f2fs whit agni kernel.

Everything work fast and smooth and battery friendly.

Everything except the f.....g rotation. It just never end.

Thank you pan for your hardest work.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
I didn't notice any rotation issues on pan build, but now trying the evilracer123 build and rotation is broken. :crying:

Edit: sorry I realise it's a CM issue, so I guess it's because it's a newer build that the one I was using.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Aminewolf:
https://play.google.com/store/apps/details?id=com.rrr.android.mediaserverkiller&hl=en

works everytime

.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] evilracer123:
New build with fixed rotation is up ;)

https://mega.nz/#!GdxyhaaA!fv8wwum5JpLJKgOrY9_S7Kf9cAogilbW3LA8BYwaqN8
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] zilia:
[MENTION=7112923]p.a.n[/MENTION] [MENTION=5197763]evilracer123[/MENTION] Could you please explain the "RIL without chroot" pros and contras?

As I see now nobody with CM13 roms of any kind reported problems with RIL except [MENTION=5361494]Glenn2[/MENTION].

Can we forget the "ks crash" history forever since now?

So may be this option to choose RIL is not needed anymore and [MENTION=7112923]p.a.n[/MENTION] can return back to chrootless version?

If yes, then what will be the difference between your builds?

May be you have to cooperate here and become a team working together on this rom build?

[MENTION=5239465]Sectorian[/MENTION], Why are you so sure? ;)

I'd love to try F2FS. Please, could you describe in OP more definite prerequesties to start it?
[MENTION=7112923]p.a.n[/MENTION] 's build 20160318 worked for me this way:

I just flashed the rom and gapps, then changed filesystem on /data and /cache to f2fs with official TWRP 3.0.0.0 recovery which is recommended here. Was it correct?

What does it mean "but is build with standard cm recovery"? It did not change recovery after flashing, is it mandatory to use CM recovery it or I can stay with TWRP?

And how "so AGNi should work" is connected with it? Which AGNi kernel exactly do people love so much here and why?

Russian is "Русский" in the list :)

I tried to report at CM official forum abot the FileManager, and they report FM FC as fixed and not replayable. But actually it still crashes on [MENTION=7112923]p.a.n[/MENTION] 's build BUT NOT on [MENTION=5197763]evilracer123[/MENTION] 's.

What could it be?

Here is the story of [MENTION=5361494]Glenn2[/MENTION]:

So It seems that he is absolutely happy now :) Thanks [MENTION=5197763]evilracer123[/MENTION] ;)

BTW with [MENTION=7112923]p.a.n[/MENTION] 's build 20160318 i've got "no sim card" message at first boot. But second reboot fixed this forever.

An yeah, both builds have no problems with screen rotation at all.

Feeling myself totally similar to [MENTION=5361494]Glenn2[/MENTION] but with my WhatsApp coolstory :)

The problem still stay here with me on all MM roms.

But I've found myself not so lonely with this thing, and it seems to be very old crap mentioned already in 2012 on XDA, but nobody still knows why.

So I will leave it as is, may be WA update will fix it some day. And I have to think about prefer another messenger in general.

One more question: Since we have an Adopt Storage option for external_sd in Android 6, so can we somehow rePIT the device to make our f2fs /data partition as big as possible and use only one big adopted external SD card for media? And forget forever this mess with different sdcards?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
Thanks, installed and rotation confirmed working. :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Great, which solution did you use? I planning to try the one with opensource drivers.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Uri0550:
http://xdaforums.com/showpost.php?p=65925445&postcount=618 :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] evilracer123:
I used this: http://review.cyanogenmod.org/#/c/136683/1/overlay/frameworks/base/core/res/res/values/config.xml
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] zilia:
Actully there are two options, thats why [MENTION=7112923]p.a.n[/MENTION] asked.

Nice to see that we have two devs here (and they go different ways making a thing complete).

Why not to implement both, since they are not excluding each other?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mop09737:
Test 1803 rom

Hi,

I've flashed yesterday with TWRP and everything is working, including rotation.

Thanks.:good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
[MENTION=7112923]p.a.n[/MENTION] is there a way this(https://www.google.bg/url?sa=t&sour...-10pMuv8BkN0zqPzQ&sig2=35zuwGuaoUnQI3sisKKdNA) future to be add to the rom whitout needing to be download.

Is for the camera and is working but it will be nice if is integreated to the rom for purfect camera.

Thank you.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Trafalgar Square:
[MENTION=5239465]Sectorian[/MENTION]

If we would have the GitHub source for this App, it would be easy.

otherwise he can only add it prebuilt.

But what's the problem with installing it one time?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
In every rom on any samsung it have problem whit the camera. Only stock rom work whitout bugs.

Like i say it will be nice for all users.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
I notice, on latest evilracer123 build, that when I apply a theme the icons do not get pulled in. I'm using Nova launcher.

I guess it's a CM bug. I also noticed that the Themes icon is different in the app drawer anyway, so presumably they have a new version of the theme engine. (The icon is now a painter's pallette rather than a paint pot).
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] daviidbarco:
I have some problems to install apk , let me not press " install ' :(
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] woodman:
Are you using a screen filtering app or other screen-related apps? In your screenshot, I can see a notification that makes me think this.

I also had similar problem a long time ago with another ROM and it was because of a "screen-related" third party app which was causing this "unavailable install button" issue.

Just uninstall those kind of apps and try again :)

I think this "problem" appears because of Android security policy. Maybe to avoid installation of malicious apps...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] evilracer123:
No, I didn't do any changes, just built straight from https://github.com/CyanogenMod/andr...mmit/b53e1ccfe2019d301b0d4f98fbee28aa1930fe1b
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] portmoon:
Sorry if this is a dumb question (I'm a beginner).

Is there a way I can flash this onto my phone without having to re-install everything?

If so, could you give me an idiots step-by-step guide please?

Many thanks in advance!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Trafalgar Square:
Hello [MENTION=3195603]portmoon[/MENTION],

Download the ROM

Move it to your phone

Wipe cache and dalvik-cache

Flash the ZIP

Reboot

Have fun.

Regards
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] evilracer123:
What rom are you on now? If you are on samsung stock rom or other than cm13 then do just as Trafalgar Square said. If you are currently running CM13, you can skip wiping data&cache and you wont lose your apps or anything. ;)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] daviidbarco:
wuau . You just saved me life !!

the problem was the application of light control

Thank you bro! :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] woodman:
You're welcome.

Saved your life is maybe a bit exagerated :p but I'm glad :) :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] portmoon:
worked a treat many thanks - were there any other bug fixes in this new version?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Hi,

I`ve been analyzing the problem with writing to external sdcard. First of all - it is problem of the application (e.g. ES File Explorer writes to external sdcard without any problem), but it probably requires some special code for Android 6 api (there is some special dialog after the first attempt to write to sdcard). Beside this, applications (with proper permission) can write to its own directory on the sdcard in Android/data/app_name (e.g. /storage/1867-7AB9/Android/data/net.osmand.plus/) and read from anywhere from the card. There are also other special rules for directories like Android/obb, pictures, etc.

I`ve created a simple fix for vold, which allows also old applications write to external sdcard - e.g. I can have osmand data in /storage/1867-7AB9/Osmand. The patched version of vold (I had to gzip it to be allowed upload it here) and the patch itself are attached. Put the (ungzipped) vold into /system/bin/vold (be sure to keep all attributes of this file, like owner, permissions and selinux label, or you can end up with ugly bootloops or something like that). To enable the write access set property persist.world_writable_sdcard to true and keep in mind that this is a hack which violates Android security system.

I am planning to add this to my next build, so don`t worry if you don`t know to do it:)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] yisss:
In winxuser's lollipop rom, there is a problem with uploading videos to snapchat and Instagram. Is this problem in this rom as well?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Trafalgar Square:
Yes, all CyanogenMod ROMs for SMDK4412 devices.

Gesendet von meinem GT-N7100 mit Tapatalk
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
Ah, I think it's an incompatibility between the new theme engine and Nova launcher because theme icons are fine in Trebuchet. Maybe the Nova dev will update the app.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
Damn. My first dead RIL on evilracer123 build. :crying:

Note signal strength is 0dBm. I'm not sitting on the cell tower, so I guess that's just what its says when the radio has crashed.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] xVitja:
[MENTION=7112923]p.a.n[/MENTION] any chance that this rom will get some optimizations ?

Sry if it's already asked and answered.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Mrxyzl:
I'm still new to android, so I want to ask if this patch will work on any marshmallow rom?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] JD. A:
P.a.n said he wouldn't do that a couple of pages back but then he made the ROM f2fs compatible. So I don't know anymore. I hope he will try it. [emoji1]
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
So it was probably some misunderstanding. I am experimenting with lots of stuff, but I don`t want to promise anything, because I don`t know if I can keep those promises. So I usually answer to questions like this - don`t expect it. But it doesn`t mean I won`t try it :) So far I`ve tried sabermod, but it didn`t convince me. The difference was so small, that I wasn`t even sure, that it was because of sabermod.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
I don`t know, the patch (the code change) probably yes, the attached vold my not work at all. It is worth trying, but be prepared for boot failures and have a backup.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
Better to invesrigate the f2fs for system partition. From there we can take the boost for the MM.

Maybe this will help --> http://xdaforums.com/galaxy-note-3/development/how-to-convert-rom-to-f2fs-format-t2904291
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Trafalgar Square:
No.

System is read only and F2FS can't change something on performance.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] xVitja:
[MENTION=7112923]p.a.n[/MENTION] So wouldn't archi optimizations be a good choice ? :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] hideo86:
uber kernel gcc 5.3 optimizations in roadmans vrtoxin experimental build really made difference . It's fastest/ smoothest and with probably best battery life rom I tested on this device. So good that I refuse to flash another rom despite camera currently not working. :D I can definitely recommend this direction.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] xVitja:
Do you got a working link for the vrtoxic optimized build ? I would like to test it how battery life is :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] hideo86:
Looks like all links are currently down and thread is closed. Maybe we should ( not ) ask. ;)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
This optimizations are not good for CM13. Vrtoxin are AOSP base rom so like always CM13 will be more faster whit the leatest update's. There a chance this optimization to make the rom unstable after time of period.

The F2FS is is quite enough.

This is my opinion.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Trafalgar Square:
Yes for Data and Cache
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] rodman01:
This optimizations are, if I remember right, initially and originally developed with and for cm12 and i9300 and brought definitely an improvement. In general they are called: [COMMIT] [AOSP] JustArchi's ArchiDroid Optimizations V4.1 - Unleash the power!. Whether the additions, changes, workarounds, made from others and not justarchi, to get them to work with M are doing the same thing, is not yet verified by the dev. Visit and read justarchis thread for more information, if you are interested in
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] JD. A:
I've been running this ROM for a couple of days now, and it consumes a lot of battery. If you compare to stock or that optimised VRtoxin.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] hideo86:
Ohh ok if you say so, you learn something everyday. Perhaps you know is there any article targeted at non programmers presenting differences , dependencies beetween rom scene sources forks etc? I admit I didn't search hard enough yet.

Looking at that link , I admit that when using your experimental buld there were situations where after few days of usage without reboot it looked like memory is little low. In recent apps panel there was 100MB of ram left , looked like memory leak or low memory killer forgot to work. Other than that blazing fast smooth and stable and great battery.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] rdsu:
Hi,

Can I install this ROM over CyanogenMod 12.1 UNOFFICAL?

Cheers
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Trafalgar Square:
Hi,

clean install.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Mrxyzl:
I've copy the vold file to system/bin but how can I set property persist.world_writable_sdcard to true ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] evilracer123:
Run these commands from adb shell or terminal:

su

setprop persist.world_writable_sdcard true