FORUMS

[FIX][ExtSD] ExtSD Fix (v2.9b - 2016-06-09)

182 posts
Thanks Meter: 319
 
By rufus.wilson, Senior Member on 18th January 2016, 08:26 PM
Post Reply Email Thread
Announcement from rufus.wilson: This project allows to fix the problem with the external SD card in KitKat, Lollipop and Marshmallow
Disclaimer: I am not responsible for anything bad that may occur from the use of this zip, but I will take all the credit you can give if it works for you.


Logo
ExtSD Fix





In KitKat, Lollipop and Marshmallow, policies on writing permissions for external SD cards have been changed. This flashable recovery file automatically appends the correct permissions to the file as explained in many tutorials on the web (here or here) or as what many apps do (here).


Advantages
The advantage of this flashable zip over the other methods is that:
  • you don't need to install any apps,
  • you can revert by reflashing (not tested for marshmallow),
  • it does not require you to have root (needs to be confirmed),
  • you don't need a custom recovery (needs to be confirmed).


Installation
It can insert and remove the permission to write on the external sdcard. To install follow these steps:
  1. Turn off phone,
  2. Boot into recovery,
  3. Backup your system and data partition,
  4. Flash this zip file once,
  5. Reboot phone normally.
To revert the changes, follow the same steps again. This means that flashing it twice will have no effect.

Marshmallow is not supported yet, implementation is in progress.

Note: On Marshmallow, busybox will be installed if not already present. It can also be installed as a standalone app. You should an also add init.d support to your phone if not already available using an app.


How to report a bug
  • Check if someone else reported that it did/didn't work,
  • Backup, clean flash, reinstall all apps and then flash ExtSD Fix,
  • Submit a bug report here with both the original and modified packages.xml and the recovery log file as suggested here.



Changelog
  • v2.9b - 2016-06-09
    • Added double flashing revert for MM.
  • v2.8b - 2016-06-09
    • Added more logging to:
      • during flashing: /data/ExtSD_Fix_RW_inst.log
      • during boot: /data/ExtSD_Fix_RW_initd.log
  • v2.7b - 2016-06-08
    • Renamed script,
    • Changed permissions.
  • v2.6b - 2016-06-07
    • Changed permissions.
  • v2.5b - 2016-06-07
    • Changed permissions,
    • Added support for limited backup files.
  • v2.4b - 2016-06-05
    • Corrected bugs.
  • v2.3b - 2016-06-02
    • Included debug messages.
  • v2.2b - 2016-06-02
    • Corrected bugs. "ERROR:2" should be fixed.
  • V2.1b - 2016-05-19
    • Implemented solution from here and here.
  • V1.9b - 2016-05-04
    • Implemented solution from here. PLEASE TEST AND REPORT.
  • V1.8b - 2016-02-04
    • Corrected bug for Marshmallow.
  • V1.7b - 2016-02-02
    • Added support for Marshmallow.
  • V1.6b - 2016-01-27
    • Added revert on second run.
  • V1.5b - 2016-01-26
    • Corrected bug in check for API version.
  • V1.4b - 2016-01-26
    • Changed format of backed up filename.
    • Added check for API version ( 19<= API <= 22 ).
  • V1.3b - 2016-01-22
    • Backed up file is renamed with time and date.
  • V1.2b - 2016-01-21
    • Moved code into update-binary.
  • V1.1b - 2016-01-19
    • Removed testing commands.
  • V1.0b - 2016-01-18
    • Initial submission


XDA:DevDB Information
ExtSD Fix, Tool/Utility for all devices (see above for details)

Contributors
rufus.wilson

Version Information
Status: Testing
Current Beta Version: v2.9b
Beta Release Date: 2016-06-09

Created 2016-01-18
Last Updated 2016-06-15
The Following 171 Users Say Thank You to rufus.wilson For This Useful Post: [ View ] Gift rufus.wilson Ad-Free
18th January 2016, 08:26 PM |#2  
OP Senior Member
Thanks Meter: 319
 
More
Tested devices and systems
When you have tested it could you report your experience with the device model and the android version you used.

I will summarize here the success and failures.


Success
  • OnePlus X - CM 12.1
  • N4 w/TW 6.0.1 MM
  • sony z3c concept rom(mm)
  • Samsung Galaxy Express 2 with CM13
  • Xperia M with CM13
  • Sony Z3 .570 stock
  • asus zenfone 2
  • Asus ZenFone 4 - Stock v7.4.4 (Lollipop) (all opened apps had FC on reboot)
  • asus zenfone 5 XOSP rom
  • Sony Xperia Z3 (Sometimes is overwritten)
  • SM-G910F Rom ALEXNDR COJ3 Deodexed
  • Samsung galaxy s5 g900f stock marshmallow
  • z3c with rom slimm 1.5
  • Galaxy S7 SM-G930FD 6.0.1 Rooted Xposed
  • Xiaomi Redmi 1S RR 5.6.8 which is a CM13(R28)
  • Sony Z3 D6653 running on RXSW Marshmallow Edition [3.0.0] [12/04/16] [6.0.1]
  • LG L90 D415
  • Redmi 1s using OctOS M ROM
  • xt907 JBBL- cm13, 01-05-2016
  • Redmi 2, CM 13.1-20160417-SNAPSHOT
  • z3 570 rxsw
  • LG G3 VS985 variant running CM 13 6.0.1 nightlies. Using 777 Kernel & TWRP 3.0.2
  • z3 dual d6633 running marshmallow 6.0.1 official
  • Oppo find 7a x9006 on 6.0.1 rooted with twrp 3.0


Failure
  • LG D855 32 Gb with CM13 2016-05-10 and TWRP 3.0.0.0 recovery
  • Sony z3 MM
  • g900f blisspop 6.01
  • Samsung N7105T, unofficial wilson3q cm 13
The Following 26 Users Say Thank You to rufus.wilson For This Useful Post: [ View ] Gift rufus.wilson Ad-Free
21st January 2016, 02:53 PM |#4  
Senior Member
Flag Hanoi
Thanks Meter: 296
 
Donate to Me
More
not work with my device
zenfone 4
here is my recovery log
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2016-01-21-20-50-10.jpg
Views:	11020
Size:	218.6 KB
ID:	3617525  
The Following 2 Users Say Thank You to hiimpig1 For This Useful Post: [ View ] Gift hiimpig1 Ad-Free
21st January 2016, 02:57 PM |#5  
OP Senior Member
Thanks Meter: 319
 
More
Quote:
Originally Posted by hiimpig1

not work with my device
zenfone 4
here is my recovery log

Thank you for coming back to me.

Do you have CWM recovery or TWRP?
The Following User Says Thank You to rufus.wilson For This Useful Post: [ View ] Gift rufus.wilson Ad-Free
21st January 2016, 03:06 PM |#6  
Senior Member
Flag Hanoi
Thanks Meter: 296
 
Donate to Me
More
Quote:
Originally Posted by rufus.wilson

Thank you for coming back to me.

Do you have CWM recovery or TWRP?

im using twrp 2.8.7.0
21st January 2016, 06:21 PM |#7  
OP Senior Member
Thanks Meter: 319
 
More
Quote:
Originally Posted by hiimpig1

im using twrp 2.8.7.0

I have uploaded a new version. Could you test that one?
22nd January 2016, 03:41 PM |#8  
Senior Member
Flag Hanoi
Thanks Meter: 296
 
Donate to Me
More
Quote:
Originally Posted by rufus.wilson

I have uploaded a new version. Could you test that one?

i flashed, after that all my apps got FC
but its worked
22nd January 2016, 05:32 PM |#9  
Senior Member
Thanks Meter: 262
 
More
I have a proble with titanium backup: no space, but i have more than enough

Is this also working?
Galaxy s5, cm13 (MM)
22nd January 2016, 06:29 PM |#10  
OP Senior Member
Thanks Meter: 319
 
More
Quote:
Originally Posted by hiimpig1

i flashed, after that all my apps got FC
but its worked

Was a reboot enough to solve the problem?
The Following User Says Thank You to rufus.wilson For This Useful Post: [ View ] Gift rufus.wilson Ad-Free
22nd January 2016, 06:47 PM |#11  
OP Senior Member
Thanks Meter: 319
 
More
Quote:
Originally Posted by phoberus

I have a proble with titanium backup: no space, but i have more than enough

Is this also working?
Galaxy s5, cm13 (MM)

It should be working. You can always go back by copying back the file in a rooted shell command with the system partition mounted:
Code:
cd /system/etc/permissions
cp platform.xml-201*.bak platform.xml
chmod 0644 platform.xml
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes