yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Russiamen:
Asus zenfone 2 working.Thanks;)
[Android Software Development] :No-Frost::
Would this allow the Xposed module XinternalSD to work?

It's mainly the only reason why I haven't updated to MM yet.

Thanks a lot mate :D
[Android Software Development] rufus.wilson:
I don't know... Sorry
[Android Software Development] karrouma:
Not working,i test the method on my z5 dual MM .

If you edit package.xml manual you have unfirtunately systemui has stopped.

Flashed via recover no change

Till now not any methode work

---------- Post added at 04:39 PM ---------- Previous post was at 04:38 PM ----------

Please for persons who v1.9 worked with thwm in MM let us know how to flash system or how to flash the file
[Android Software Development] rocker00:
thanks a lot it works like a charm on z2 mm you are the hero of the mm now :D
[Android Software Development] vacs03:
how long does it take to boot after flashing? idk if i'm stuck in a boot loop ot is it normal to take this long...i'm on a lg g3 official cm13 with xposed
[Android Software Development] nirmal471:
Not working, tested in Xperia M official cm13 may 4 build,, so sad :(
[Android Software Development] artlov:
Sony Xperia Z3, Android 6.0.1 - working!
[Android Software Development] abhatia1435:
[MENTION=5472193]65536[/MENTION] [MENTION=6935794]rufus.wilson[/MENTION] Thanks so much guys! Finally it works :highfive: Confirmed on Xperia M with CM13 latest nightly. :)
[MENTION=6341742]nirmal471[/MENTION] It does work on XM. Screenshots of ADM attached.
[Android Software Development] nirmal471:
But in Titanium backup can't set backup folder location in SD card
[Android Software Development] FuTChY:
HI,

Tried latest version (V1.9b - 2016-05-04) but it's not working on Note 2 running RR [ROM][6.0.1][n7100]RESURRECTION REMIX 5.6.x[CM13]

Only the rom and gapps installed.
[Android Software Development] Simosmart92:
XOSP 5.4 [6.0.1] for zenfone 2 ( ZE551ML) not working :crying:
[Android Software Development] xfire:
It works perfectly on Sony Z3 .570 stock. Thank's for your job.:good::good:
[Android Software Development] rufus.wilson:
What is the content of this file?

/data/system/packages.xml
[Android Software Development] rufus.wilson:
Did you install TB after flashing the zip? If yes, please try to flash it..
[Android Software Development] rufus.wilson:
Maybe cleaning flash and dalvik could help?
[Android Software Development] FuTChY:
I'm sorry, I forgot to tell you it caused a bootloop.

I had to restore a nandroid backup to use the mobile again.

Do you still need the file content? If so I can re-install the rom now and get it for you if it helps you.

thanks for ur time.
[Android Software Development] rufus.wilson:
If it is the same ROM than the one you tried on, you can send the one you currently have.
[Android Software Development] FuTChY:
No :) thats why I asked if you still want it.

but thats not a problem at all. I can install it now just to get you the file if thats gonna help you out.

plz give me 15 min.

Im currently on Stock 4.4.2
[Android Software Development] 2russell:
Worked on z3 dual d6633 running marshmallow 6.0.1 official.

Just would you tel us what u did exactly?
[Android Software Development] Simosmart92:
Hi rufus, In attached are the packages.xml. My smartphone is zenfone 2 ( ZE551ML ) my rom is xsop 5.4 ( android 6.0.1). Sorry for my bad english
[Android Software Development] DemonDroid_97:
Hi

Thank-you so much for this! Works like a charm on my Oppo find 7a x9006 on 6.0.1 rooted with twrp 3.0. Almost all apps can now write to sd. You rock :D
[Android Software Development] rufus.wilson:
I don't see any problems with the file syntax. The problem must be somewhere else however I don't know where you can look to fix it.

If you find a solution, please keep me posted.
[Android Software Development] rufus.wilson:
I have the feeling that the problem lies somewhere else by looking at other files. If you find a solution, please keep me posted.
[Android Software Development] FuTChY:
Ok :rolleyes:

Do you suggest trying another MM rom or this might be a problem with the while Note 2 ?
[Android Software Development] IaKnightHawke:
Thank you for this! It seems to be working on my LG G3 VS985 variant running CM 13 6.0.1 nightlies. Using 777 Kernel & TWRP 3.0.2
[Android Software Development] bruxef:
Working flawless in Redmi 2, CM 13.1-20160417-SNAPSHOT.

Combining with Xinternalsd module (which changes the path of the internal storage), it is working more beautifully!

Thanks!
[Android Software Development] nirmal471:
Yes I installed TB after flashed zip, can't set backup path in sd card
[Android Software Development] murti52:
Sadly not working for me as well.. only rom and gapps installed... Samsung N7105T, unofficial wilson3q cm 13 :(
[Android Software Development] rufus.wilson:
You can try another one.
[Android Software Development] rufus.wilson:
You should flash after installing all the apps
[Android Software Development] rufus.wilson:
Did you flash this zip after a full boot? If no , please try.
[Android Software Development] murti52:
I tried in two ways.. 1. the rom was already working and everything was fine... i flashed the zip and ended in bootloop

2. Clean flashed everything (rom+gapps+zip) and again went in bootloop...

do you have any other way i should give it a try?? :)
[Android Software Development] AnnDy01:
Seriously? Am on cm13 by kumajaya... and its awsm rom but just tell me snapshot bttr or kumajaya onld 13 one.. and i tried XinternalSD and it went bootloop.. so pls provide me the links pls... it'll b a grt hlp T_T
[Android Software Development] AlAneed:
Have anyone tried it with Samsung MM TouchWiz Rom?

Edit: I just read it's working on Note 4 MM TW ?
[Android Software Development] jesrani:
Guys, how do you all exactly check if this patch works or not?
[Android Software Development] DemonDroid_97:
For me, I tried some apps that could not let me write to sd before flashing this script (eg poweramp and whataspp). After flashing almost all of them allowed to write flawlessly. Maybe you can try testing with the apps that give you writing to sd problems as well.
[Android Software Development] rocknegi:
Working fine on armani

Exodus ROM :3

With xinternSD
[Android Software Development] rufus.wilson:
OK. Could you try to clean flash, full boot, flash the zip and then format cache and dalvik?
[Android Software Development] rocknegi:
How to make WhatsApp write on ext SD

Used xinternal SD but can't download any Media from WhatsApp

BTW zip works for me
[Android Software Development] dontbelive:
Works on z3 570 rxsw rom thx for this mod ?
[Android Software Development] Simosmart92:
to solve the problem of micro sd install the Xposed module XinternalSD and configure as photos. I hope I was helpfu
[Android Software Development] rocknegi:
I tied this but I can't download any photo or video via WhatsApp ;_;
[Android Software Development] bruxef:
Well, a snapshot ROM was build by emfox working very well for me.

I used the last version of xposed (v84-sdk23-arm), with Material Xposed and Xinternalsd

Make a backup, flash the zips in recovery: Xposed and ExtSD, reboot, install Material Xposed (or another apk xposed) and Xinternalsd, check the module and reboot again.

Discovery with a file manager the strange name of your sd card (I use the X-plore for this) and copy the name. Open Xinternalsd, check enable all apps and paste the name in path to internal sd.

Example:

7B1F-0BE4 -> Name of my SD

/storage/7B1F-0BE4 -> New path in the module

Reboot and enjoy! :cool:

PS: Do not worry if you paste the path and not appear immediately. Restart and see the result.He did not bootloop me, but if it happens to you again before installing a ROM, download the Xposed uninstaller and flash. Scrennshots available.
[Android Software Development] Simosmart92:
what do you mean? I with this app I solved the problem of photo (now saves them directly in the micro sd ) . same with ogyoutube (video and mp3 saved directly to the micro sd )
[Android Software Development] rocknegi:
I used xinternalsd now everything directly stores in ext SD but I can't download anything from WhatsApp have to disable the setting for WhatsApp to work properly so I can't save WhatsApp media on ext SD
[Android Software Development] Simosmart92:
Ok now I understand . probably with WhatsApp it does not work . you should look for in a specific way , surely someone will have the solution to your problem
[Android Software Development] AlAneed:
You may compare the format type of your ext. SD I remember there were issues with exFat while FAT32 was OK. Check with others who do not have issues.
[Android Software Development] DemonDroid_97:
I don't know 'exactly' how I made whatsapp to write to sd other than this script itself. But if its any help then you can try playing with xinternalsd. See my screenshot below for configuration. Enable "include system apps" setting. After that I individually selected different apps in the list. Try selecting the downloads and download manager. Other than that I have selected external storage, media storage, system ui, whatsapp, xinteranlsd and also gallery. Btw my sd card is FAT32.

I don't know if any of this helps you or not maybe because we probably have different phones and different roms but still give it a try.
[Android Software Development] murti52:
Yes.. i tried that as well... couldn't get it to boot :(
[Android Software Development] vacs03:
tried both suggestions and still boot loops...
[Android Software Development] rocknegi:
This method is working fine just one problem after updating apps the apps get fc and when I again flash the zip then all the updated apps get uninstalled .. Iam on 6.0.1 mm any help?
[Android Software Development] Sharjeel.Khan:
thank you .

1.9B worked like charm to me. no FC, no boot loop or anything.

I'm on xt907 JBBL- cm13, 01-05-2016 port by ilichva
[Android Software Development] jean_pulbere:
Phone S4 GT-I9515 /ROM - Resurection remix mm cm 13 /... fresh install , flash youre zip ... and BANG .. bootlop !! :((((
[Android Software Development] FuTChY:
Yeah. RR cm13 caused a bootloop for me 2. Im on Note 2.
[Android Software Development] vhick:
Same for me. What I do is clean flash ROM and gapps, and other zip files. Booted and install all my user app using titanium backup, reboot to recovery, make twrp backup and flash this zip. Then it works.

Working on Redmi 1s using OctOS M ROM.
[Android Software Development] :No-Frost::
It does work :laugh:
[Android Software Development] more_than_hater:
There is some problem:

https://www.dropbox.com/s/1epd7tmqp9p5c1z/Screenshot_20160508-065148.png?dl=0

Any idea?

Xiaomi redmi 1s
[Android Software Development] FuTChY:
Hi again,

I knew the bootloop root cause. And here is how I reproduced it:

1- Installed the RR cm13 rom on Note 2 N7100.

2- Installed Gapps

3- Booted successfully.

4- Installed ES FileBrowser.

5- Booted into recovery and installed [FIX][ExtSD] ExtSD Fix (v1.9b - 2016-05-04)

6- rebooted, and went into a bootloop.

7- rebooted into recovery, then navigated to /data/system. and Changed the newly created file by ExtSD fix to packages.xml.fx

and also renamed the backedup file to the original one's name which is packages.xml

8- The device booted successfully.

9- I went to check the file created by ExtSD and I found its size to be 0B and the file is totally empty.

Hope that would help help you fixing it for all Sammy devices.
[Android Software Development] tanthuyhoang:
Is this also working?

V1.9b. Galaxy Note 4 N910C MM6.01
[Android Software Development] rocknegi:
I also have redmi 1s on exodus ROM

This script works but when I update the app like whatsapp then all the media doesn't show on whatapp and some updated apps stops working ..any help?
[Android Software Development] vhick:
May I see your settings with xinternalsd?
[Android Software Development] rocknegi:
Everything works fine until I update apps
[Android Software Development] rufus.wilson:
Could you send me the original file compressed or as attachment?
[Android Software Development] FuTChY:
Here it is.

Btw, I used "find and replace" feature in the editor and added the write permission manually to the apps and it worked very nice.

But I'm sure your script would be much generic for all devices and versions.
[Android Software Development] vhick:
Unchecked enable for all apps.

---------- Post added at 10:48 PM ---------- Previous post was at 10:41 PM ----------

Unchecked enable for all apps.
[Android Software Development] rocknegi:
Bro problem arises when I update apps try this update apps from play store like whatapp or any other then see if they can access ext SD card
[Android Software Development] yitk:
thanks a lot for the solution to fix the bootloop. but pay attention that the problem with rr rom for note 2 still exist, and that solution is only a way out from the bootloop.
[Android Software Development] FuTChY:
Thank you :)

I know that the problem is still there, but I there is a workaround you can do to enable all apps to right to external SD just by adding the "write to external permission" manually as suggested by someone here (http://xdaforums.com/showpost.php?p=66554730&postcount=27)

I have done it by searching and replace for all my apps and I dont have any problems so far even with XinternalSD

but the the most annoying thing is that you have to do it for every new app if it needed the write permission.
[Android Software Development] abdieari:
work on zenfone 5 rom RR 6.0.1

Thank's work in my zenfone 5 ROM OS Version: 6.0.x Marshmallow
[Android Software Development] vd69:
Blisspop 6.01 G900F doesnt work(doesnt start after install).
[Android Software Development] FuTChY:
Can you save pictures from facebook ??
[Android Software Development] yitk:
thank you for the idea. can you tell me how exactly you did the "search and replace" - on which editor, and what did you write in the "search" to look for ? . i'm a littlebit nooby....:p
[Android Software Development] FuTChY:
Yes, sure. Here is what I did:

I used the linux GEdit text editor to replace the following code with the other one wrote down.

I think that it might be a good idea to create an init.d script to replace that text in each boot because permissions per app are being reset in case the app has been installed, so putting a shell script in the startup that could do it with every boot would make sure enforcing these two permissions for every app even after being updated.

Search for

<perms>

And replace it with

<perms>
<item name="android.permission.WRITE_MEDIA_STORAGE" granted="true" flags="0" />
<item name="android.permission.WRITE_EXTERNAL_STORAGE" granted="true" flags="0" />

Please backup ur /data/system/packages.xml first in case something went rong.
[Android Software Development] NotesOfReality:
It works good on Xiaomi Redmi 1S RR 5.6.8 which is a CM13(R28) based rom,sir [MENTION=6935794]rufus.wilson[/MENTION] can you please add to OP a simple advice about MM roms? I mean "To flash after setting ext sd as portable storage",can you please?
[Android Software Development] :No-Frost::
Confirmed on Sony Z3 D6653 running on RXSW Marshmallow Edition [3.0.0] [12/04/16] [6.0.1] by [MENTION=2822871]Wolfbreak[/MENTION]

I know it has been posted previously, but I wanted to update the info about this rom.

Thanks a lot for this fix!
[Android Software Development] yitk:
thanks again for tht quick answer,:good:

is it possible to do the change through the device? if not, how do i do it with the computer? I have win 10 and not linux.
[Android Software Development] FuTChY:
I actually don't know about about the mobile, I never used a text editor rather than that one built in es file browser.

As far as I know there is a GEdit editor for windows, I suppose it would have the same functionality as it is on linux.

Check that http://gedit.en.softonic.com/
[Android Software Development] pendor24:
hello , thank you for the work

I find no change after zip flashing. may be using the authorization of my files Application

this application can write about all storage >>> name = . . . . . . . . . . . authorization. PERSONAL MEDIA

It 's just an idea
[Android Software Development] yitk:
Tks a lot

Should i use adb for that?
[Android Software Development] FuTChY:
Yes you can use it or es file explorer to replace the file manually.
[Android Software Development] v3r3:
In LG L90 D415 works perfectly so far. Thanks
[Android Software Development] yitk:
i did it! :laugh:

you r the best
[Android Software Development] FuTChY:
Glad u did it ?

but remember that you need to do that in case of any app update because looks like android resets the xml permissions again :eek:
[Android Software Development] madhero:
Hi rufus. Thanks for this great piece of work.

Tested on Galaxy S7 SM-G930FD

6.0.1

Rooted

Xposed

Working like a charm. ACR, TubeMate and PDF Scanner Pro are all able to select SD card as storage. Before this flash, it was a no-go.
[Android Software Development] vd69:
Here are my packages.xml

I dont know why after install dosent boot.I am on blisspop 6.01 g900f

Any help would be appreciated
[Android Software Development] Dxue:
It works on z3c with rom slimm 1.5

It however breaks xposed. It says it is installed but not active. I will revert back to the backup.

Root explorer has no problem writing to the sd card. It did ask for root rights before it worked.
[Android Software Development] ahmedsafa91:
Tested on galaxy s5 g900f running stock marshmallow and its fully working.

Thanx
[Android Software Development] Faraco80:
It's working fine in my S4 I9505 running CM13 official last nightly. I combined [MENTION=5472193]65536[/MENTION] solution with xposed's module XinternalSD.

I only had a problem with whatsapp. It's saving direct in the external SD fine but when i close the app and open again i cant open the images, videos and audios, its says "cant find in SD Card" but when i explore the external SD with ES Explorer i can find everything (audios, videos and images) there...

Someone know how to solve this?

I update my CM13 NIGHTLY room every day and want to know if have problem to flash the [MENTION=6935794]rufus.wilson[/MENTION]'s zip? I didnt flashed it yet because its working fine with [MENTION=5472193]65536[/MENTION] solution, but i'm afraid its stop working when i update a app for exemple.

Can i flash [MENTION=6935794]rufus.wilson[/MENTION]'s zip in my S4 I9505 running CM13 last nightly?

Sorry my bad english...
[Android Software Development] Lunoru:
Hello there, I've flashed the install from the first page on my rooted samsung galaxy s5 G900F. How can I easily check if it's working?
[Android Software Development] dacorsa:
Thanks

Inviato dal mio SM-G910F con Rom ALEXNDR COJ3 Deodexed
[Android Software Development] :No-Frost::
I've noticed that from time to time, the patch stops working and I have to flash it again... Not sure if the file is overwritten with the original one or what, but it's a random situation.
[Android Software Development] mustafa_1994emad:
Is this is normal it's empty or I just don't get it????
[One (M8) Q&A, Help & Troubleshooting] M4C00kie:
Hey guys

I know there are similar posts out there but none who describe my exact problem^^

It's like this: Earlier today, I wanted to go back to stock, fully. Which means I downloaded the stock backup and put it on my phone with TWRP. Then, I changed to stock recovery by using the HTC ONE M8 toolkit from hasoon2000.

As far, as good, everything worked just fine. And to have it completely back to stock (except for the still unlocked bootloader) I came up with the glorious idea of restoring to factory settings using the options in the phone's settings... aaaand now I'm stuck in the bootloop.

I meanwhile figured out how to enter the bootloader (volume up + power til screen turns fully black, then volume down) and I'm also able to access stock recovery through that... I of course tried factory resetting it through the bootloader and the recovery, I also took the sim card out as somewhere was suggested... but ultimately, it always goes back to the bootloop.

When connecting to the PC I hear the connecting sound... but that's it. It doesn't show up and thus I also can't access it through fastboot/adb

I ran out of ideas myself, do you have any?^^

Thanks!
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Why you would you the toolkit for that? The toolkit is woefully obsolete (hasn't been updated in over a year, going on 2 years) and therefore causes more problems than it solves. Flashing stock recovery is really easy, its a single fastboot command. Don't over-complicate it.

Are you sure you are in bootloader-fastboot mode when you try fastboot commands (this is required)?

adb requires being in OS or recovery (and I'm not sure if stock recovery supports adb). And for the most part, fastboot is what you need to recover.

Need more info to help further. What CID version of the phone? If OS version number is shown on hboot screen, post it here. What are the version numbers or the stock nandroid, and the stock recovery you installed? If you can get fastboot work, do fastboot getvar all, and post the output.
[One (M8) Q&A, Help & Troubleshooting] M4C00kie:
That's because I was using an older guide... good to know^^

That's what's strange... on the phone, it's showing FASTBOOT USB and it even makes this sound when connecting... fastboot commands still don't work though: "error: device not found"

the CID number is HTC__102, he version number of the stock nandroid and recovery was 4.16.401.10

regarding the OS number: on the hboot screen there's just written OS- <- is this the place where it's supposed to be?

thanks a lot for helping! :)
[One (M8) Q&A, Help & Troubleshooting] M4C00kie:
OK. fastboot commands ARE working (adb aren't, as predicted by you^^)

C:\Users\aaron_000\fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.000

(bootloader) version-baseband: 1.25.2145000

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__102

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 3aa067db

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

Update: as it was suggested to me on another thread, I downloaded an RUU (https://www.androidfilehost.com/?w=...c00ca09c7539be86640965d7bb19a1ad4a4f68918d819)

my version & radio number are matching the ones in this RUU

so...

what now?^^ before I flash the RUU, I have to relock my bootloader, have I? and is this possible with S-ON?

oh, and would doing this even help in my current situation?

Thanks for helping
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Did you do anything different to get it working?

Does this mean you are hopping around in other threads? Or you just read it elsewhere?

The above is not linking me to any specific file. Might be the same link as the on the following thread:

http://xdaforums.com/showthread.php?t=2701376

Relocking the bootloader is not just possible with s-on, its an absolute

requirement

to RUU.

Simple fastboot command: fastboot oem lock

Most likely, yet. I'd say almost certainly.

Also, you should delete your IMEI and serial number from your getvar info, as these are personal data. I should have mentioned that, but I didn't know you'd get fastboot working so quickly!
[One (M8) Q&A, Help & Troubleshooting] M4C00kie:
I might have confused adb and fastboot... :o pretty sure it was working all along

I initially posted this on another forum... realised too late that this one here was more appropriate and posted it here xD

fixed, should link to the correct one now... have a look again :)

(this is it: https://www.androidfilehost.com/?w=...c00ca09c7539be86640965d7bb19a1ad4a4f68918d819)

done.

deleted it. thanks for all your help so far! :D