[APP][4.0.3+][XPOSED] HandleExternalStorage - Xposed Framework Modules

Enables read and write access to the external storage for all apps.
More infos about the problem:
at AndroidPolice.com: External Blues: Google Has Brought Big Changes To SD Cards In KitKat
at XDA portal: Fix External Storage Handling with Xposed Module
at sammobile.com: Android 4.3 on Galaxy S4 Google Edition breaks SD card writing for apps...
This app has no user interface. Enable it in Xposed - reboot - done.
What does this app?
It adds the group media_rw to WRITE_EXTERNAL_STORAGE. This is done at runtime, the file platform.xml itself will not be changed. So /system has to not be writable
IMPORTANT
Xposed needs root access for installation and requires Android 4.0.3 and up
Website: http://tinyurl.com/nq32zze
Play Store: http://tinyurl.com/nnajr7f
Xposed Repository: http://tinyurl.com/ptgjr53
APK download: http://tinyurl.com/mzert7f
Why this app? Editing platform.xml and add media_rw to WRITE_EXTERNAL_STORAGE is boring.

defim said:
Enables read and write access to the external storage for all apps.
More infos @AndroidPolice: External Blues: Google Has Brought Big Changes To SD Cards In KitKat
This app has no user interface. Enable it in Xposed - reboot - done.
IMPORTANT
Xposed needs root access for installation and requires Android 4.0.3 and up
Website: http://tinyurl.com/nq32zze
Play Store: http://tinyurl.com/nnajr7f
Xposed Repository: http://tinyurl.com/ptgjr53
Why this app? Editing platform.xml and add media_rw to WRITE_MEDIA_STORAGE is boring.
Click to expand...
Click to collapse
Thanks for your effort!
I am on HTC One Max with stock root 4.4.2. However, this module doesn't seem to work. for Example, Titanium backup still cannot access the ext_sd for back up. Although ES File explorer can write to the ext_sd (even before I install your module), but before and after this module installed, I still cannot "move" file between directories INSIDE the ext_sd
Just let me know if anything I can help to get this working. It's not an option for HTC One Max to modify the Permission file, since after I modifying it, after reboot, all GAPP and some system process will FC on me. Once FC happened, only restoring of Permission file AND /data (from NAND backup) will get back (simple reboot/clear cache/Davlik won't work)
Thanks a lot!

lssong99 said:
Thanks for your effort!
I am on HTC One Max with stock root 4.4.2. However, this module doesn't seem to work. for Example, Titanium backup still cannot access the ext_sd for back up. Although ES File explorer can write to the ext_sd (even before I install your module), but before and after this module installed, I still cannot "move" file between directories INSIDE the ext_sd
Just let me know if anything I can help to get this working. It's not an option for HTC One Max to modify the Permission file, since after I modifying it, after reboot, all GAPP and some system process will FC on me. Once FC happened, only restoring of Permission file AND /data (from NAND backup) will get back (simple reboot/clear cache/Davlik won't work)
Thanks a lot!
Click to expand...
Click to collapse
Can you see any error messages by this module in the Xposed log? I've attached a version with debug output. The count of the gids should be first 0, then a bigger value X and later X+1.
Btw, I don't know if this module works for your device! In fact it hooks the permissions reading and simply add the group at runtime - so maybe you will have also the FCs too

Im sorry but im not seeing the purpose of this app. Is there something im not thinking or or missing? Does it allow moving apps to the sd for those of us on the gs4 rooted without updating? Or if not, what?
Thanks

good question, i'm also not quite sure about the exact purpose of the app - a description of possible uses would be nice.
considering the linked article and the posts above, it's probably related to that new sdcard behavior of android, where apps are not allowed to access content anymore that they have not created themselves; so if an app can't access the storage, this might help.

defim said:
Can you see any error messages by this module in the Xposed log? I've attached a version with debug output. The count of the gids should be first 0, then a bigger value X and later X+1.
Btw, I don't know if this module works for your device! In fact it hooks the permissions reading and simply add the group at runtime - so maybe you will have also the FCs too
Click to expand...
Click to collapse
Thanks for the debug version, however, I didn't see anything related to HandleExternalStorage. (The log is long...). Anything I should note?

@bobstone & @Dunkel85
If all your non-system apps could write to the sd-card you dont need it. The new "protection" is not active for all devices. You also need this only if you don't want to modify platform.xml
lssong99 said:
Thanks for the debug version, however, I didn't see anything related to HandleExternalStorage. (The log is long...). Anything I should note?
Click to expand...
Click to collapse
All messages are very early after system start, you could "grep HandleExternalStorage"

Thanks for the app. Looking for something like this since upgrading to 4.4.2

defim said:
@bobstone & @Dunkel85
If all your non-system apps could write to the sd-card you dont need it. The new "protection" is not active for all devices. You also need this only if you don't want to modify platform.xml
All messages are very early after system start, you could "grep HandleExternalStorage"
Click to expand...
Click to collapse
I found out that TB was actually FC due to th UnToaster module I using, not related to your module. I disabled the UnToaster module and now everything works just fine! TB is backing up to the ext_sd and I didn't get any of the FC's on GApp or anything else.
Thanks for your great help and module!

lssong99 said:
I found out that TB was actually FC due to th UnToaster module I using, not related to your module. I disabled the UnToaster module and now everything works just fine! TB is backing up to the ext_sd and I didn't get any of the FC's on GApp or anything else.
Thanks for your great help and module!
Click to expand...
Click to collapse
Maybe my other module "EnhancedToast" for handling toasts works better

Thanks for your work.
Work great with LG G Pad V50018a.

thanks!!!

lssong99 said:
I found out that TB was actually FC due to th UnToaster module I using, not related to your module. I disabled the UnToaster module and now everything works just fine! TB is backing up to the ext_sd and I didn't get any of the FC's on GApp or anything else.
Thanks for your great help and module!
Click to expand...
Click to collapse
thx for this great help. I went crazy cause TB didn´t find the backup folder on extSD. Since i uninstalled UnToaster module everything is fine. :good:

Hi friends,
Forgive my ignorance, but will this module enable, say, exfat support on a rom that doesn't support it natively? Thanks for any and all feedback

blankingblank said:
Hi friends,
Forgive my ignorance, but will this module enable, say, exfat support on a rom that doesn't support it natively? Thanks for any and all feedback
Click to expand...
Click to collapse
No, no file system drivers are changed. This gives your apps only the permission to write to the extern storage

defim said:
No, no file system drivers are changed. This gives your apps only the permission to write to the extern storage
Click to expand...
Click to collapse
Thanks for the answer friend. So if I understand correctly, then the camera or gallery app could save pics to the ext SD using this module? The module pictures2sd does this already but sounds like this one could do that and more no?

blankingblank said:
Thanks for the answer friend. So if I understand correctly, then the camera or gallery app could save pics to the ext SD using this module? The module pictures2sd does this already but sounds like this one could do that and more no?
Click to expand...
Click to collapse
That's another thing. The link in the OP shows you more informations

defim said:
That's another thing. The link in the OP shows you more informations
Click to expand...
Click to collapse
Oh, got it thx

Congrats!!!
Simple and brilliant! Hats off buddy!!!
And you've made the news!!!

got any difference with NextApp SDFix?
https://play.google.com/store/apps/details?id=nextapp.sdfix
http://forum.xda-developers.com/showthread.php?t=2684188

Related

Modified CM Gapps for Nook Color running Honeycomb. V003 *Updated 2/15/11*

I modified the CM7 gapps file with some of the available fixes for those running Honeycomb on their Nook Colors.
Here's what's inside
- Installs the su files Chhaggerty posted found here to provide root access for apps like Root Explorer.
- Pushes the Cicada's wpa_supplicant fix that allows AdHoc Wifi support
- Install both "/system/framework/com.google.android.maps.jar" and "/system/etc/permissions/com.google.android.maps.xml." Both are needed to install the Twitter app for Android.
-Fixed FC Gallery.
Download: Latest copy: V003. http://www.mediafire.com/?mgo39i53n164x9z
- Changes: Reinstalls both Gmail and Google Maps 4.5.1
-Bugs: Unable to update to Maps 5.1. It installs, but FCs when opened.
Old Copies
V002. http://www.mediafire.com/?b2aa646k6he6h01
changes-Market fix.
Bugs:
-Uninstalls both Gmail and Google Maps.
Don't use. Missing a lot of appshttp://www.mediafire.com/?bj70u5zqp01blvy
Flash with zip file with Clockwork Recovery
Is a file link going to be part of this soon?
goldenu said:
Is a file link going to be part of this soon?
Click to expand...
Click to collapse
Opps. Sorry about that.
Oh sweet, im going to try this as son as i get home to my recovery sd....i still cannot get clockwork to function properly.
Ran this and it wiped google maps from my nook and now its not visible on the market
so this is for running HC on emmc not an sd card, yes?
pjree said:
I modified the CM7 gapps file with some of the available fixes for those running Honeycomb on their Nook Colors.
Here's what's inside
- Installs the su files Chhaggerty posted found here to provide root access for apps like Root Explorer.
- Pushes the Cicada's wpa_supplicant fix that allows AdHoc Wifi support
- Install both "/system/framework/com.google.android.maps.jar" and "/system/etc/permissions/com.google.android.maps.xml." Both are needed to install the Twitter app for Android.
-Fixed FC Gallery.
Dowload: http://www.mediafire.com/?bj70u5zqp01blvy
Flash with zip file with Clockwork Recovery
Click to expand...
Click to collapse
Thanks a million for this one, I have my r/w permissions back in Root Explorer!! As I'm still a noob at all this I haven't been able to get adb working so this is a huge help with the HC build.
Thanks again!!
P.S. This also completely removed my gmaps as one other comment mentioned. I haven't checked to see if I can find it on the market however. As far as I'm concerned it's worth the trade though!!
18.4009 said:
Ran this and it wiped google maps from my nook and now its not visible on the market
Click to expand...
Click to collapse
Comfirmed. I just made a fix.
http://www.mediafire.com/?b2aa646k6he6h01
Thanks
pjree said:
Comfirmed. I just made a fix.
http://www.mediafire.com/?b2aa646k6he6h01
Thanks
Click to expand...
Click to collapse
In my post above I hadn't really spent much time with the nook after installing your file and wanted to report that it also removed gmail and borked the market. I tried to clear the cache, etc. with no luck so I just wiped the nook and went back to a clean install of the hc emmc v4.
Would you be able to put a version of this up that just has the scripts for the root access and the adhoc wifi? It would be greatly appreciated!!
Thanks again.
Is anyone able to get Google Maps to locate via Wifi using these files?
cabbieBot said:
so this is for running HC on emmc not an sd card, yes?
Click to expand...
Click to collapse
Is there an installer script that can be used for those of us running HC v4 on uSD Card?
pjree said:
Comfirmed. I just made a fix.
http://www.mediafire.com/?b2aa646k6he6h01
Thanks
Click to expand...
Click to collapse
Does this fix gmail too?
Edit: Yup, gmail still broken from v1 and maps just FCs as well. If you flashed the first file you will have to wipe and start over.
TY
This is really great news! Thanks for the hard work. I used your gallery apk a few days ago. Fantastic!
ShadowDrake said:
Does this fix gmail too?
Edit: Yup, gmail still broken from v1 and maps just FCs as well. If you flashed the first file you will have to wipe and start over.
Click to expand...
Click to collapse
Confirmed. I tried to download a copy from market and it just FCs. Sorry about that. I was able to get gmail working by pushing a back up copy of the gmail.apk into my /system/app folder. I try to work on a fix tonight.
Not sure all the permissions are 100% correct, but if you put all the files in a single location, this is the script I've been using to install them on SDCard based installs of Honeycomb v4.
EDIT: Removed script, new one is on Page 3.
so i already had maps installed and it doesn't work now. honestly don't know if it worked before. LOL. i didn't install it myself, so i never fired it up. anyway, tested it out and i get the following FC:
(process com.google.android.apps.maps) has stopped unexpectedly. Please try again.
Click to expand...
Click to collapse
any ideas?
My google search on the top right seems to be missing now.
edit: never mind i switched from landscape to portrait and it's there now but does not function
The wpa_supplicant file was causing an error for me. My wifi wouldn't turn on at all.
I deleted it and repushed it and it worked.
epyon_avenger said:
Not sure all the permissions are 100% correct, but if you put all the files in a single location, this is the script I've been using to install them on SDCard based installs of Honeycomb v4.
Click to expand...
Click to collapse
This worked great. The script ran with no errors or other problems. Gmail, talk and gallery all look good, but Maps is nowhere to be found, either on the Nook or in the market.
Any idea how I can pick it up? There's no maps APK that I can see anywhere on the device.
Like this, and appreciate the work, but out of my greedyness I shall ask for more; any chance that a modified build.prop or fix for not seeing apps (angrybirds,xplane,etc) could be included in an update?

[ROOT[ root for Omni ROM

Hey guys!
I have been using Omni ROM for a while. And yes, its a pretty stable KitKat ROM! Almost everything works fine without any issue. But the thing that bugged me was root. There wasn't root permission in the the ROM. So no link2sd and no other script works for expanding storage.
So basically, the only major problem in the ROM was ROOT.
So I worked it out and present before you an easy method.
Prerequisites:
Omni ROM
Root flashable zip
Method:
Download the required packages
Install Omni ROM (Refer installation from this)
Reboot
Now go back to recovery and flash root.zip
Reboot
Enjoy
NOTE:
You need to have atleast 3mb in /system
This zip is only for ARM based devices and won't work with x86 based devices
P.S. Personally this is the best ROM to use as daily driver
rhar**** said:
Hey guys!
I have been using Omni ROM for a while. And yes, its a pretty stable KitKat ROM! Almost everything works fine without any issue. But the thing that bugged me was root. There wasn't root permission in the the ROM. So no link2sd and no other script works for expanding storage.
So basically, the only major problem in the ROM was ROOT.
So I worked it out and present before you an easy method.
P.S. Personally this is the best ROM to use as daily driver
Click to expand...
Click to collapse
Congrats! Downloading and will give a try
Looks very much like a normal superuser or superSU install.
Very good that will work on other devices as well. I mean, ours would not have all the google apps on system. No room for one of them
The su binary is much smaller than cm-11's.
Comment, should probably go on xbin, be symlinked to bin.
Normally, superuser.apk is installed as a user app and would be updated as such from play. But may try it this way!
Great work.
Dovidhalevi said:
Looks very much like a normal superuser or superSU install.
Very good that will work on other devices as well. I mean, ours would not have all the google apps on system. No room for one of them
The su binary is much smaller than cm-11's.
Comment, should probably go on xbin, be symlinked to bin.
Normally, superuser.apk is installed as a user app and would be updated as such from play. But may try it this way!
Great work.
Click to expand...
Click to collapse
We can have Google apps on our phone as well. I have managed to do so, at least the important ones.
Gonna upload that too soon
rhar**** said:
We can have Google apps on our phone as well. I have managed to do so, at least the important ones.
Gonna upload that too soon
Click to expand...
Click to collapse
They should NOT be on system/app, especially on our phones. Install from Play as user apps, let link2sd symlink them.
Anyway, flash worked like a charm! Neatly got rid of CWM's superuser, installed superSU which I will leave as a system app for now.
Note that it behaves like what I tried, spawns multiple instances of su and daemonsu (should daemonsu be symlinked to su--why have two copies?).
Link2sd played immediately. Tasker took some time. Xposed almost did not make it. Finally, after a blank screen freeze, reboot, a few attempts, got the dialog! Talking a good ten minutes or aggrivation. What is unique about how this asks for root?
Dovidhalevi said:
They should NOT be on system/app, especially on our phones. Install from Play as user apps, let link2sd symlink them.
Anyway, flash worked like a charm! Neatly got rid of CWM's superuser, installed superSU which I will leave as a system app for now.
Note that it behaves like what I tried, spawns multiple instances of su and daemonsu (should daemonsu be symlinked to su--why have two copies?).
Link2sd played immediately. Tasker took some time. Xposed almost did not make it. Finally, after a blank screen freeze, reboot, a few attempts, got the dialog! Talking a good ten minutes or aggrivation. What is unique about how this asks for root?
Click to expand...
Click to collapse
Yes, it takes a bit of time sometimes. It's slow and can't help it .
So here's my suggestion, in settings, set default access to 'grant'. It's a bit faster this way
Sent from my LG-P500 using XDA Premium 4 mobile app
rhar**** said:
Yes, it takes a bit of time sometimes. It's slow and can't help it .
So here's my suggestion, in settings, set default access to 'grant'
Click to expand...
Click to collapse
The problem is unique to Xposed. Everything else comes either immediately to quickly enough. I will post to that dev thread about this.
Dovidhalevi said:
The problem is unique to Xposed. Everything else comes either immediately to quickly enough. I will post to that dev thread about this.
Click to expand...
Click to collapse
Worked fine for me.
Try again by giving root permissions by default
ROM is good.
However, after flash GAPPSLight. Root have gone. It should be not enough space in /system
z1022 said:
ROM is good.
However, after flash GAPPSLight. Root have gone. It should be not enough space in /system
Click to expand...
Click to collapse
Shouldn't happen if the OTA survival mode is present. But ya, the only problem may be the space in /system
z1022 said:
ROM is good.
However, after flash GAPPSLight. Root have gone. It should be not enough space in /system
Click to expand...
Click to collapse
MUST trim the ROM. Omni is no different here, maybe even bigger.
The superSU installation wil temporarily move some stuff to make room for the root install, then move it back. However, none of that stuff belongs on system. There is not enough room for even one of those gapps. GAPPSLight is trivial and should not fill you up. In other words, trim the ROM first.
---------- Post added at 12:36 AM ---------- Previous post was at 12:30 AM ----------
rhar**** said:
Yes, it takes a bit of time sometimes. It's slow and can't help it .
So here's my suggestion, in settings, set default access to 'grant'. It's a bit faster this way
Click to expand...
Click to collapse
First thing I tried (with my simple daemon start method). Never came up. But up and running now, all's well that ends well.
Question: SuperSU offers to make a backup script first time the UI is exercised. Promises to survive further flashes. Does this indeed work (and ... how)?
I will copy files and edit a version of the setup script from this zip and have them available on my sdcard just in case
Modded Omni Rom
@rhar****,
I have a request 4 u. Please make a modded OMNI rom 4 us. Yesterday I flashed the Jenkins 10th march version. I can't use for more than a while, 'cause i can't install any file manager or any .apk, moreover things went wrong after i flash gapps.. But I loved it and want to hav it as a daily driver. So, if u don't hv any project / busy schedule then pls.try. Anyway 2day i will flash this build.
sumansur2008 said:
@rhar****,
I have a request 4 u. Please make a modded OMNI rom 4 us. Yesterday I flashed the Jenkins 10th march version. I can't use for more than a while, 'cause i can't install any file manager or any .apk, moreover things went wrong after i flash gapps.. But I loved it and want to hav it as a daily driver. So, if u don't hv any project / busy schedule then pls.try. Anyway 2day i will flash this build.
Click to expand...
Click to collapse
Smell a rat! Trim that ROM first.
Omni has it own file manager called "Documents." The CMFileManage can be installed as a user app.
BUGs on Omni -- I still am using a daily driver, though:
1. Clock FC's. Widgets appear fine (I use Chronus) but no alarms, stopwatch, wordclocks, etc.
2. GPS apparently not functioning, though location services seem to work. Some apps dependent on GPS FC.
3. Long widget, background process startup times but much better than cm-11
4. About 10 meg worth of apps symlinked by link2sd will be un-symlinked (more probably dereferenced) on start up. Easily cleaned up every few starts. Make sure to recreate link2sd build scripts freshly, reboot after new flash or internal storage mishaps worse than this.
5. Will usually get a wait message on system on startup. Everything works anyway, just open home screen and dismiss.
Those dl builds are genuine "nightlies," scheduled, regardless of whether or not any changes made that will be noticed.
Dovidhalevi said:
Smell a rat! Trim that ROM first.
Omni has it own file manager called "Documents." The CMFileManage can be installed as a user app.
BUGs on Omni -- I still am using a daily driver, though:
1. Clock FC's. Widgets appear fine (I use Chronus) but no alarms, stopwatch, wordclocks, etc.
2. GPS apparently not functioning, though location services seem to work. Some apps dependent on GPS FC.
3. Long widget, background process startup times but much better than cm-11
4. About 10 meg worth of apps symlinked by link2sd will be un-symlinked (more probably dereferenced) on start up. Easily cleaned up every few starts. Make sure to recreate link2sd build scripts freshly, reboot after new flash or internal storage mishaps worse than this.
5. Will usually get a wait message on system on startup. Everything works anyway, just open home screen and dismiss.
Those dl builds are genuine "nightlies," scheduled, regardless of whether or not any changes made that will be noticed.
Click to expand...
Click to collapse
I saw a file manager namely"Documents", but i couldn't install any .apk from there, it said " the file can't be opened" or such that. I flash a file explorer but can't enter enter any subfolder in sdcard. But i will have a another go 2day.
sumansur2008 said:
@rhar****,
I have a request 4 u. Please make a modded OMNI rom 4 us. Yesterday I flashed the Jenkins 10th march version. I can't use for more than a while, 'cause i can't install any file manager or any .apk, moreover things went wrong after i flash gapps.. But I loved it and want to hav it as a daily driver. So, if u don't hv any project / busy schedule then pls.try. Anyway 2day i will flash this build.
Click to expand...
Click to collapse
Yea, I'll try to make a Trimmed ROM soon
sumansur2008 said:
I saw a file manager namely"Documents", but i couldn't install any .apk from there, it said " the file can't be opened" or such that. I flash a file explorer but can't enter enter any subfolder in sdcard. But i will have a another go 2day.
Click to expand...
Click to collapse
For time being, to install any apk, get a file manager. If you cant, then from Documents, navigate to the apk and hold on it. It will be highlighted. Now copy it and from documents' side panel (swipe from left) go to Downloads and paste it there. Now go to Downloads from app drawer and install from there.
The root is working pretty fine. I tried a lot of times. Sorry to say it now when maybe a week passed, but I forgot to comment. Omni seems to be a good project. And this is the first taste of omni and kit kat, so doble pleasure.
chalo99 said:
The root is working pretty fine. I tried a lot of times. Sorry to say it now when maybe a week passed, but I forgot to comment. Omni seems to be a good project. And this is the first taste of omni and kit kat, so doble pleasure.
Click to expand...
Click to collapse
Yeah. I too use it as a daily driver, and so am thinking of mading it a bit. Like Halo))) or multiwindow
But, unfortunately, not anytime soon
rhar**** said:
Yeah. I too use it as a daily driver, and so am thinking of mading it a bit. Like Halo))) or multiwindow
But, unfortunately, not anytime soon
Click to expand...
Click to collapse
Xposed Xhalo will work in cm-11 but not in omni! Omni takes the window's flag for ... its own multiwindow. So ... where is that?
Xposed multiwindow (its own UI) might work in omni or alongside halo or xhalo ... uses a different flag to avoid the conflict.
In any event, Xposed might be the best way to get these things.
Dovidhalevi said:
Xposed Xhalo will work in cm-11 but not in omni! Omni takes the window's flag for ... its own multiwindow. So ... where is that?
Xposed multiwindow (its own UI) might work in omni or alongside halo or xhalo ... uses a different flag to avoid the conflict.
In any event, Xposed might be the best way to get these things.
Click to expand...
Click to collapse
Yea, I was also wondering about multi-window
And never noticed the thing about HALO. Will try to get something done.
Hi rhar****,
I sucessfully flashed the root.zip into my device(Samsung Galaxy Tab2 10.1 GT-P5110, OMNI6.0.1 based on Android 6), but the SuperUser couldn’t work without a binary file.
The screenshot is in Chinese, it said that ‘The SU Binary file is not installed, and it can’t be downloaded and installed via SuperUser. If you just upgraded to Android 4.3, go to the forum and download the binary file, then install it manually. ’
Can you please offer me the binary file? Or give me an URL?

[MOD] Disable writeProtection on Sense (STOCK) 5.0.2

Disable HTC's write Protection for HTC Desire 816 Lollipop Stock 5.0.2
LOLLIPOP Only ! For KitKat visit xXminiWHOOPERxX's thread.
If you guys feel your Desire 816 is a little boring cause you gained no S-OFF and your System is still write Protected, then here ya go.
This Flashable ZIP will disable the write Protection.​
Notes:
I've noticed that install_recovery.sh doesnt work on Desire 816 5.0.2 Kernel.
This ZIP will install the Universal init.D App which enables init.d Support.
The ZIP also include SELinux Mode Change, so it sets SELinux to Permissive (needed for Example for Viper4Android)
How To:
Recomended!
Rooted Desire 816 running Stock 5.0.2 Sense 6 with SuperSU v2.46! (Latest Stable i think)
1.Install ZIP via Recovery
2.Reboot and run Universal Initd App
3.Give root Access for App & Tick the Switch from OFF to ON.
4.Reboot again...Done.
Credits:
Flar2 for Kernel
and all others i've forgot,
sorry i cant remember all names
Thats your fault then cause mostly everbody here got a weird name ;D
XDA:DevDB Information
LollipopSense6 WP/SELinux/INITD, Tool/Utility for the HTC Desire 816
Contributors
CaptainTiiti
Version Information
Status: Testing
Created 2015-04-24
Last Updated 2015-04-24
mine
again
Thanks a ton !!!!
Thanks.
init.d is what was troubling me with stock lollipop. I had spent most of the day after updating attempting to install the resources needed to get Viper4Android working. I can't do without Viper. Busybox on Rails from google play did give me busybox though that alone didn't fix Viper. This seems like it would do it as it includes SELinux changer.
I couldn't get SeLinux mode changer on Google Play but it luckily it's listed in XDA DevDB downloads. I will be testing this zip in A while.
Also just in case people are having trouble with writing to externel storage locations (SD, USB) in lollipop, the KitKat SD fix app by NextApp worked (in CyanogenMod at least) when writing to usb failed in two file explorer apps.
As A side question, has anyone touched the two HTC WP files that appear on the root of ext_sd after update?
CrazyJ36 said:
Thanks.
init.d is what was troubling me with stock lollipop. I had spent most of the day after updating attempting to install the resources needed to get Viper4Android working. I can't do without Viper. Busybox on Rails from google play did give me busybox though that alone didn't fix Viper. This seems like it would do it as it includes SELinux changer.
I couldn't get SeLinux mode changer on Google Play but it luckily it's listed in XDA DevDB downloads. I will be testing this zip in A while.
Also just in case people are having trouble with writing to externel storage locations (SD, USB) in lollipop, the KitKat SD fix app by NextApp worked when writing to usb failed in two file explorer apps.
As A side question, has anyone touched the two HTC WP files that appear on the root of ext_sd after update?
Click to expand...
Click to collapse
Thats right
init.d Support is not given through install_recovery.sh and for me the easyiest way was just an init.d appwhere you canhandle every script.
Viper4Android... seems to work only on Permissive SELinux mode else your music gonna stop/crash and i know how essential it is for most thats why i added the SELinux script.
In Developer options you also have to disable NUPlayer for V4A to run, i didnt made any changes on that as i thought thats your option.
Anyway glad you like it, youre always welcome.
Double-Post. Please delete because I can't seem to. Sorry.
CrazyJ36 said:
... Also just in case people are having trouble with writing to externel storage locations (SD, USB) in lollipop, the KitKat SD fix app by NextApp worked when writing to usb failed in two file explorer apps.
Click to expand...
Click to collapse
SDFix hasn't worked very well for me. It either fails or doesn't give full read/write to all apps. After flashing this mod, running SDFix or editing /system/etc/permissions/platform.xml should re-enable full SD write permissions right? Losing the ability to do this is one of the few things I regret about upgrading.
*edited that* I was in CyanogenMod when SD Fix worked.
gumbyx84 said:
SDFix hasn't worked very well for me. It either fails or doesn't give full read/write to all apps. After flashing this mod, running SDFix or editing /system/etc/permissions/platform.xml should re-enable full SD write permissions right? Losing the ability to do this is one of the few things I regret about upgrading.
Click to expand...
Click to collapse
Sry didnt thought about it when i created the ZIP.
I add this now for next update.
Stay Frosty.
thank you for the zip but it didn't work on my device (a5_dug), couldn't disable w/p and all my apps started crashing. but after trying all day long i found this this http://forum.xda-developers.com/desi...el-vm-t2987126 and it finally disabled w/p
CaptainTiiti said:
Sry didnt thought about it when i created the ZIP.
I add this now for next update.
Stay Frosty.
Click to expand...
Click to collapse
Thanks for responding. I'll patiently await the update. Two quick question: Will we still need to run SDFix for write protection be unlocked for the sdcard or are you adding that to the zip? If your adding it, will SDFix work properly with this mod flashed as it is now?
Sent from my HTC Desire 816 using XDA Free mobile app
gumbyx84 said:
Thanks for responding. I'll patiently await the update. Two quick question: Will we still need to run SDFix for write protection be unlocked for the sdcard or are you adding that to the zip? If your adding it, will SDFix work properly with this mod flashed as it is now?
Sent from my HTC Desire 816 using XDA Free mobile app
Click to expand...
Click to collapse
I make a flashable zip like the first one just install and reboot nothing more to do, but im still at work i do when i have time.
CaptainTiiti said:
I make a flashable zip like the first one just install and reboot nothing more to do, but im still at work i do when i have time.
Click to expand...
Click to collapse
Ok ty.
Sent from my HTC Desire 816 using XDA Free mobile app
saikat1198 said:
thank you for the zip but it didn't work on my device (a5_dug), couldn't disable w/p and all my apps started crashing. but after trying all day long i found this this http://forum.xda-developers.com/desi...el-vm-t2987126 and it finally disabled w/p
Click to expand...
Click to collapse
404 not found.. The link still working for you?
It is for me
Sent from my HTC Desire 816 using XDA Free mobile app
Link2Sd is not working with this!!!
CrazyJ36 said:
404 not found.. The link still working for you?
Click to expand...
Click to collapse
http://forum.xda-developers.com/desire-816/development/mod-enable-init-d-stock-kernel-vm-t2987126
I got it from the [stock back up] a5_DUG lollipop 5.0.2 thread
saikat1198 said:
http://forum.xda-developers.com/desire-816/development/mod-enable-init-d-stock-kernel-vm-t2987126
I got it from the [stock back up] a5_DUG lollipop 5.0.2 thread
Click to expand...
Click to collapse
the link you provided is the one for KitKat...
This one is for Lollipop.
if that worked for you, i asume youre not really on Lollipop.
btw the FIle Manager that HTC provide has no problems with writing on SD.
that worked but not fully (I didn't have to restart apps like adway & TB backup folder didn't say folder not writable, but I couldn't delete gapps like books etc, , then I flashed your zip again and finnaly w/p is disbled , THANK YOU SOO MUCH, (the only thing not working now is foldermount) anyways THANX FOR THE ZIP ?

Official CM13 - External SD write fix for Apps

Hi, is there any fix for CM13 Marshmallow for External SD writing of apps such as ADM for example not being able to save under any directory on External SD? Thanks.
Sent from my GT-I9300 using XDA Free mobile app
I have the same issue. Old methods don't work anymore. I tried sdcardfix from market as well as manually editing the permissions platform.xml . The permissions must have changed under Android 6.0. There is no entry for WRITE_EXTERNAL_STORAGE anymore. There is a similar entry with WRITE_MEDIA_STORAGE. I tried to insert WRITE_EXTERNAL_STORAGE: no luck. I tried to edit WRITE_MEDIA_STORAGE: no luck. It has no effect on Titanium backup being not able to write to external sd.
The strange thing is, that ES file explorer has no problems writing to any folder.
I have exactly the same problem. Es FileExplorer has permission to write on external sd card. But other Apps not. With PowerAMP i can listen to mp3s on exernal SD, but when i want to to edit id3tags, it says "no permission to write". And my Camera App cant save photos on external SD Card.
And MyPhoneExplorer has the same problem.
Galaxy S3, CM13
Same Problem here: Navigon cannot download any maps to SD Card and replies enter SD Card, every app which wants to use the external sd Card just uses the intern Memory, others where you cannot Change Location just hang up... sad...
Sadly same problem for me. I'm a bit surprised, though, that some people claim to not have this problem even tough it looks like a permission issue which should be the same for anyone.
External SD card is read only for me for most Apps.
CM File Manager is able to write on it with Root access.
For Navigon to install maps you have to create a folder on internal card named Navigon.
After maps installation you can move that folder to the external card.
Move it back to internal for any additional map.
That's the only way to get it working for Navigon.
But for many other Apps I'm just as lost as you.
I guess we have to wait for Apps to be updated and working with CM 13
I'm using different Custom ROM with Marshmallow 6.0.1,. and I have the same problem, ES File explorer writes on my external microsd, Snap Camera same also to external sdcard, but my backup app App Backup & Restore can't backup to microsd even if I did that in Kitkat and Lollipop.
I did also that, like in Kitkat
Edit the file at:
system/etc/permissions/platform.xml
to add <group gid="media_rw" /> in the following location like so:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
Click to expand...
Click to collapse
... but no success
Simply send the developing team of apps an mail to update their apps to make it compatible with Android 6
I got some responses that many knows about the problem and working on it.
Small teams or developers needs a little more time, so be patient.
Or search for an alternative app that will work with Android 6
It's not a problem from the developer, I think it is a problem with MarshMallow 6... Even if I tried to delete photos stored on external sdcard, the stock Gallery app didn't delete them... The only app which deteled them was ES File Explorer
Hey Guys,
Any news? I become insane because of this F***KING write management!
And can't ask 40+ app developer for fixing googles mistake.
Cheers in advance
There is no work around. It is hardcoded to the os. Xposed mods might be able to do something about it but xposed is dodgy.
Sent from my HTC One M9 using Tapatalk
shivadow said:
There is no work around. It is hardcoded to the os. Xposed mods might be able to do something about it but xposed is dodgy.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
I don't mind using xposed to fix it, because It's a very annoying bug, at least, there could be a module to force apps to use the CM file manager to grant permissions to write on the sd (the method used by apps like ES file explorer, cinema FV5 camera, etc...)
ES-Explorer has been mentioned several times here as 'working', but try to edit&save a file on external sdcard...
Wrote it to the autors yet, but no reaction so far.
Tig3rch3n said:
Hey Guys,
Any news? I become insane because of this F***KING write management!
And can't ask 40+ app developer for fixing googles mistake.
Cheers in advance
Click to expand...
Click to collapse
i have the same problem under my sony z3c concept rom. google search hase not a helpful answer.
mm is a good os, but with this crappy sdcard showstopper....no!
google! i need asap a fix for this!
Hi, cant solve all your problems but the titanium backup fix is here:
http://forum.xda-developers.com/showpost.php?p=64281772&postcount=2
I have found an app called "apps2sd" by vicky 'something or other, cant remember'. It has a light blue icon. It does folder mounting and works ok for me so far. Root is required.
The proper foldermount app no longer works on 6.0. It might not do exactly what you want but it should help a lot.
Sent from my HTC One M9 using Tapatalk
Hi,
gazzacbr said:
Hi, cant solve all your problems but the titanium backup fix is here:
http://forum.xda-developers.com/showpost.php?p=64281772&postcount=2
Click to expand...
Click to collapse
Yes !! thank you very much gazzacbr !! :good:
Finally, it works !
Thanks again for this tip with Titanium Backup : I can now save and write on the SD card again.
I never found that setting in Titanium Backup before... nice find !
I change the directory to TB, but when you create a backup task is aborted ...
Smus_man said:
I change the directory to TB, but when you create a backup task is aborted ...
Click to expand...
Click to collapse
Just convert/install TB as a system app and you can backup to external SD.
How about to other apps? What is the solution?

[Patch][MM 6.0] [Stock] Deodex patch for firmware .163

Hi. At last, deodex patch appeared for our Z4 tablet too!
Download links!!!
Android 6.0
For SGP771
https://yadi.sk/d/utGkXKPIq7hmX
For SGP712
Android 5.0.2
For SGP771
https://yadi.sk/d/c3nzIj1XoqpJD
For SGP712
Add the link when someone creates it on his own
Please do a backup first!!!!!!
HOW is it created?
Use this tool
http://forum.xda-developers.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025
First you need these folders and 1 file:
root/system/app
root/system/priv-app
root/system/framework
root/system/vendor/app
root/system/build.prop
copy them to your pc folder named system
Move the content of root/system/vendor/app (the app folders) and the semgeneric folder from root/system/framework to the root/system/app or priv-app
start the deodex tool; tick the 3 folders and let it do the work
After finishing without errors , move the folders you copied from /system/vendor/app and semcgeneric back to their respective locations and you have the deodex folder which contained
app
priv-app
framework
vendor/app
create the flashable zip(replace the folder(system folder) in the the zip with yours and test it )
How to install:
-you may need this do first as patch is done when my tablet already had deodexed camera and album apps. http://forum.xda-developers.com/crossdevice-dev/sony/z4-z5-z5c-fix-camera-fc-installing-t3246962
-Flash in the recovery
-wipe cache and dalvik-cache
Bugs:
I haven't noticed them yet
What about reboots?
As long as I tested it. No random reboots being noticed. However, permanent reboots remained: after wiping dalvick cash[after "optimizing apps"](with xposed installed) and with xmod 2.1.1 for clash of clans. The tablet work as fast as before. I think reboot problem connected to the kernel. Now I think it is easier to delete unnecessary system apps with deodexed stock rom. And it's better for using some xposed tweaks.
Specials thanks to:
lordriguez huge thanks for his precious help!!!
svadev for his deodex tool
auras76 for his updater script
svadev for his deodex tool
AndroPlus and [NUT] for creating working TWRP!
Wow, very nice. I had this on my list to investigate myself, but you were first
Any chance for a SGP712 version?
alex009988 said:
What about reboots?
As long as I tested it. No random reboots being noticed. However, permanent reboots remained: after wiping dalvick cash(with xposed installed) and with xmod 2.1.1 for clash of clans. The tablet work as fast as before. I think reboot problem connected to the kernel. Now I think it is easier to delete unnecessary system apps with deodexed stock rom. And it's better for using some xposed tweaks.
Click to expand...
Click to collapse
Can you elaborate on this? I only know about random reboots and a reboot right after the 'Optimizing apps' stage with Xposed installed, after wiping Dalvik/Cache.
jelbo said:
Wow, very nice. I had this on my list to investigate myself, but you were first
Any chance for a SGP712 version?
Click to expand...
Click to collapse
Hi. I think you can make the patch on your own. Please take a look "how is it created". There is nothing hard! And if it is successful, upload zip for other people who have sgp712
jelbo said:
Can you elaborate on this? I only know about random reboots and a reboot right after the 'Optimizing apps' stage with Xposed installed, after wiping Dalvik/Cache.
Click to expand...
Click to collapse
I faced no random reboots for the time being. Year, I meant permanent reboot goes as usual after optimizing apps.
Guys. I think I know why we still have random reboots even with deodex patch.
http://forum.xda-developers.com/xperia-z5/development/patch-deodex-patch-firmware-200-t3301572
Z5 users have the same situation with reboots(with their patch too)
Please take a look at this https://yadi.sk/d/cieOb3GXouhXwfiles it's root explorer search *.odex .
Once upon a time (today), One man told me if you want system without reboots. There should be no odex files at all. If there is at least one odex file, there could be a problem.
In the system priv app I have only one odex file called phonesky.without any apk.(After the patch of course). And what is pbonesky?, it's absent on the list of system files
And there are so many odex files in other parts of the system.
Seems we should transform all odex files, not only in the /root/system.
So please, tell me your thoughts on it.
Look forward to your response!!!
I still have random reboots too after flashing your patch. phonesky.apk is google play store
wonghyf said:
I still have random reboots too after flashing your patch. phonesky.apk is google play store
Click to expand...
Click to collapse
Year. The point is I have no apk in phoneshy folder, only odex file. That,s a bit strange. Do you have the same?
Edit 1 Ok. Our goal, to pull off all odex files. Now I'm thinking how. Auras advices to use SuperR kitchen with linux
yes, mine is empty too.
After reading your post, I uninstalled google play store with titanium backup. And then copied phonesky.apk to system/priv-app/phonesky and changed its permission. Then deleted the odex file and reboot. google play seems to be working fine.
Edit: I found out your patch actually doesn't have phonesky.apk.
Well. Overall, deodex remained odex files is not a problem. But someone should help us to write a new script for a flashable zip. That's a problem
I'm really sorry, it turn out that I forgot to delete my backup of the original odex system apps, that is why root explorer was finding so many odex files. After I delete my backup and Phonesky folder as it only had one odex file without apk. It found only two odex files..They belong to Google play services. How do you think maybe they are the reason of reboots with xposed?
So the patch works excellent. But two odex files from Google play services remained.
—-----------------
But take into consideration I have patched play store and some other users might have it too.If you have original play store, my patch will not affect phonesky(play store/market).
So is it better to reupload my patch with phonesky deodex patch, or user can patch it separately beforehand on his own, by lucky patcher or deodex tool?
I did a little research. Two odex files of Google play services are on absolutely any android system, even on full deodex cyanogenmod. So no need to deodex them, they are not system apps. They are not the cause of reboots.
In summary, we have 100% full deodex stock system, but the reboots after optimization aps with xposed and some others, it doesn't solve.
I hope that android 6.0 will be better
alex009988 said:
I did a little research. Two odex files of Google play services are on absolutely any android system, even on full deodex cyanogenmod. So no need to deodex them, they are not system apps. They are not the cause of reboots.
In summary, we have 100% full deodex stock system, but the reboots after optimization aps with xposed and some others, it doesn't solve.
I hope that android 6.0 will be better
Click to expand...
Click to collapse
This post explains something about the chimera odex files.
dl12345 said:
An examination of the filesystem showed that com.google.android.gms (Google Play Services) installs an apk and an odex file in /data/data/com.google.android.gms/app_chimera/chimera-module-root/module-b4902ed544a9b2fc3415a9fb64fb048759fc2157. The long hashed folder name changes, as you can imagine with a name like "chimera".
Click to expand...
Click to collapse
Thanks for your efforts and finding out deodexing doesn't fix random reboots.
Hi everyone! It's time to talk about deodexing marshmallow.
First of all, no random reboot after optimization apps on odex system. No need to patch camera and album apps. It works stable.
What I noticed.
After installing via flashtool and recovering apps from accounts , there were 17 gb out of 22. I got twrp backup, erased internal storage, restore my backup, and as I result it freed 10 Gb.
After deodexing system, everything works well. The size of app, framework, priv-app, vendor/app becomes around 1,6 Gb. The odex one is around 3.2.
There is a little nuance, if you want patched market on deodex system, you need to do it before this patch, do dump of the system stuff of your tablet and deodex it.
And what I've noticed too, that there are much more odex files remains in the data/app folder. In the lolipup we had only two odex files remained whereas you'll find more in the marshmallow. It means as far as I understand android install apps in odex fashion from the market.
So, at first glance, the patch seems is not so necessary, but if you want to customize android, it's better to have deodexed romtoo in theory.
So, look forward to your responses
alex009988 said:
Hi everyone! It's time to talk about deodexing marshmallow.
First of all, no random reboot after optimization apps on odex system. No need to patch camera and album apps. It works stable.
What I noticed.
After installing via flashtool and recovering apps from accounts , there were 17 gb out of 22. I got twrp backup, erased internal storage, restore my backup, and as I result it freed 10 Gb.
After deodexing system, everything works well. The size of app, framework, priv-app, vendor/app becomes around 1,6 Gb. The odex one is around 3.2.
There is a little nuance, if you want patched market on deodex system, you need to do it before this patch, do dump of the system stuff of your tablet and deodex it.
And what I've noticed too, that there are much more odex files remains in the data/app folder. In the lolipup we had only two odex files remained whereas you'll find more in the marshmallow. It means as far as I understand android install apps in odex fashion from the market.
So, at first glance, the patch seems is not so necessary, but if you want to customize android, it's better to have deodexed romtoo in theory.
So, look forward to your responses
Click to expand...
Click to collapse
Hi,
You use Xposed v80 ?
killdozer56 said:
Hi,
You use Xposed v80 ?
Click to expand...
Click to collapse
Yep, by the way, we can also try alternative version of xposed by romracer
I am not able to mount my sd internal and external with usb after installing.. Hmm
asl0501 said:
I am not able to mount my sd internal and external with usb after installing.. Hmm
Click to expand...
Click to collapse
You speak about mounting USB in TWRP ?
 @AndroPlus said USB Mounting does not work in TWRP with Kernel v20
killdozer56 said:
You speak about mounting USB in TWRP ?
@AndroPlus said USB Mounting does not work in TWRP with Kernel v20
Click to expand...
Click to collapse
I have a bootloop with xposed xposed-v80-sdk23-arm64.zip I suppose deodex is mandatory, isn't it?
My tablet does not recognize the simcard anymore after flashing this file.
asemi said:
My tablet does not recognize the simcard anymore after flashing this file.
Click to expand...
Click to collapse
Hi,
I have a SGP771 and no problem with the sim card after flashing the new firmware
what firmware you have just flashed ?
You have followed this guide: http://www.xperiablog.net/2016/03/12/install-xperia-marshmallow-using-flashtool-and-xperifirm-guide/

Categories

Resources