[FIX][LEAKED 4.4]External Sdcard Mount Perms fix - Galaxy S 4 General

Okay, so one of the issues currently with the leaked firmware is that some apps (e.g titanium backup, file explorers, etc) cannot save files to the extsdcard due to a incorrect parameter in the platforms.xml
So here is the fix:
Method 1
1.) Download the extsdcardfix-flashable.zip below and save to sdcard
2.) Reboot to recovery (CWM/TWRP)
3.) Flash the zip
4.) Reboot
Method 2
1.) Download the platform.xml.zip attatchment and extract
2.) Navigate to ~/system/etc/permissions
3.) Replace the platforms.xml with this one
4.) Set permissions as RW-R--R-- (644)
5.) Reboot and test if apps now have access to external storage
And NOTE this may or may not work so do so at your own risk!

deathnotice01 said:
Okay, so one of the issues currently with the leaked firmware is that some apps (e.g titanium backup, file explorers, etc) cannot save files to the extsdcard due to a incorrect parameter in the platforms.xml
So here is the fix:
1.) Download the attatchment and extract
2.) Navigate to ~/system/etc/permissions
3.) Replace the platforms.xml with this one
4.) Set permissions as RW-R--R-- (777)
5.) Reboot and test if apps now have access to external storage
And NOTE this may or may not work so do so at your own risk!
Click to expand...
Click to collapse
Great ! It works. My Titanium and even Sygic 13.4.1 (starting from SD Card) is working again on my S4!

deathnotice01 said:
4.) Set permissions as RW-R--R-- (777)
Click to expand...
Click to collapse
Eh? those permissions not equivalent. Which should it be ?
rwxrwxrwx == 777
rw-r--r-- == 644

I set permission as the original file was...
rw-r--r-- == 644

sdunne said:
Eh? those permissions not equivalent. Which should it be ?
rwxrwxrwx == 777
rw-r--r-- == 644
Click to expand...
Click to collapse
votapero said:
I set permission as the original file was...
rw-r--r-- == 644
Click to expand...
Click to collapse
Sorry, thanks for that.
I'll update the OP
[A gorilla dies for every smartphone.
Stop using gorilla glass and save planet earth]

What root explorer You use to set permissions?

seba84_2005 said:
What root explorer You use to set permissions?
Click to expand...
Click to collapse
Yes
[A gorilla dies for every smartphone.
Stop using gorilla glass and save planet earth]

seba84_2005 said:
What root explorer You use to set permissions?
Click to expand...
Click to collapse
I use "ES File Explorer". The best Tool for Filemanipulation (copy, paste, delete) I know.

Can You upload me original platform.xml? I change file and i have error...

after i replaced file i missed that permissions changed... then i had to reset default to get everything working :/ bluetooth stopped working and i had terrible glitches and freezes.. even when i changed to 644... so secont time i just added media_rw line by editing permissions.xml and now it worked flawlessly
I noticed that even now when i have rw acces to sdcard not everything is working as in 4.3 - for example solid explorer does not see by default external sdcard :/ but it is only beta so i can live with it

Works like a charm!
Thx for this

Works. thank you so much
Sent from my GT-I9505 using Tapatalk

Yes...it works!!!!
I had problem before with Sygic, now, everything works just fine..
Thank you very much!!!

Works perfect! This is what I needed to really give CM a try.
I was able to get my Go Backup file and restore my apps.

Sorry,
But how can I do the step 4?
I changed the file, but I don't know how change these permissions...
Could someone explain it to me, please?
Ps.: sorry for bad english.

rodrigoger said:
Sorry,
But how can I do the step 4?
I changed the file, but I don't know how change these permissions...
Could someone explain it to me, please?
Ps.: sorry for bad english.
Click to expand...
Click to collapse
What explorer are you using? On most of them you just have to long press the file and it will display the menu option (copy, move, delete, PERMISSIONS).
Click on permissions and you will find where to check the option you need to make RW-R-R.
I use Root Explorer by the way.

Ok,
So I change only the permissions of platforms.xml file?
Is that right?

Deleted
Sent from my GT-I9505 using XDA Premium 4 mobile app

rodrigoger said:
Ok,
So I change only the permissions of platforms.xml file?
Is that right?
Click to expand...
Click to collapse
Yes.

Works perfectly on Echoe13!! Thanks a lot!!

Related

[Q] A question about "libxt_native.so" permissions

Hello
I was going through the system folder (stock deodexed UCLF6) in root explorer and came across this file :
/system/lib/libxt_native.so
What caught my attention is that ALL the permissions for other files in this directory are set to "rw-r--r--" exept this one ... which has the full permissions rwrrwwrww "or such"
Can somebody check the permissions for this file in their ROM ?
Is it normal for this lib file to have all pemissions ?
Thanks
mahanddeem said:
Hello
I was going through the system folder (stock deodexed UCLF6) in root explorer and came across this file :
/system/lib/libxt_native.so
What caught my attention is that ALL the permissions for other files in this directory are set to "rw-r--r--" exept this one ... which has the full permissions rwrrwwrww "or such"
Can somebody check the permissions for this file in their ROM ?
Is it normal for this lib file to have all pemissions ?
Thanks
Click to expand...
Click to collapse
here is a screenshot of mine it on the 5th line starting from the top. dont know s normal about the permission and im running embryo 5.1
att Skyrocket XDA premium
Be kind hit thanks where it apply
Thanks brother ... The permissions were right in my device ... This file has all the possible permissions ...

Install Asus Keyboard on CM10

Hi guys, I wanted to ask you if someone can help me installing the Asus Keyboard app on my TF300T with CM10. I have the Keyboard.apk , but it gives an error when installing... Any help?
Did you have the odex files too? And you need to manual place into /system/app. Normall install will not work.
Sent from my GALAXY Cooper
geldebanho said:
Hi guys, I wanted to ask you if someone can help me installing the Asus Keyboard app on my TF300T with CM10. I have the Keyboard.apk , but it gives an error when installing... Any help?
Click to expand...
Click to collapse
You will find the Asus Keyboard apk and odex file in the zip file
Just push it on /system/app
Ok, I'll try it later. Thanks!
It didn't work... Any ideas? :s
geldebanho said:
It didn't work... Any ideas? :s
Click to expand...
Click to collapse
Describe? It didn't work.
After placing each file in /system/apps ( I always set permissions as well 644). Reboot. you went to settings/Language & Input, placed a check beside it/Clicked Default and selected it.
If you pushed it with adb permissions may be correct already.
geldebanho said:
It didn't work... Any ideas? :s
Click to expand...
Click to collapse
It's the native keyboard from Asus with Odex file.
You have 2 solutions for push these files on your system, but you need root rights:
- 1st: by ADB
adb push XXX YYY : copy the file XXXX from your PC on to your system/app YYY of your phone
- 2nd: by an APK as Root explorer, Es File Explorer etc (with root rights)
just copy and paste thes 2 files to your SDcard and copy and paste again to the system/app folder.
After don't forget to reboot your device.
And finally you went to settings/Language and Input, placed a check beside it/Clicked Default and selected it.
philos64 said:
It's the native keyboard from Asus with Odex file.
You have 2 solutions for push these files on your system, but you need root rights:
- 1st: by ADB
adb push XXX YYY : copy the file XXXX from your PC on to your system/app YYY of your phone
- 2nd: by an APK as Root explorer, Es File Explorer etc (with root rights)
just copy and paste thes 2 files to your SDcard and copy and paste again to the system/app folder.
After don't forget to reboot your device.
And finally you went to settings/Language and Input, placed a check beside it/Clicked Default and selected it.
Click to expand...
Click to collapse
+1
philos64 said:
It's the native keyboard from Asus with Odex file.
You have 2 solutions for push these files on your system, but you need root rights:
- 1st: by ADB
adb push XXX YYY : copy the file XXXX from your PC on to your system/app YYY of your phone
- 2nd: by an APK as Root explorer, Es File Explorer etc (with root rights)
just copy and paste thes 2 files to your SDcard and copy and paste again to the system/app folder.
After don't forget to reboot your device.
And finally you went to settings/Language and Input, placed a check beside it/Clicked Default and selected it.
Click to expand...
Click to collapse
I did the 2nd method right from the beginning - I even set permissions for the files. The problem is that the settings thing stops responding when I try to open it with the files inside system/apps ...
geldebanho said:
I did the 2nd method right from the beginning - I even set permissions for the files. The problem is that the settings thing stops responding when I try to open it with the files inside system/apps ...
Click to expand...
Click to collapse
Just reboot when your copy/paste is done
No good... I did everything, copied the files to system/app with root explorer, rebooted, and the keyboard isn't even listed on the settings page...
geldebanho said:
No good... I did everything, copied the files to system/app with root explorer, rebooted, and the keyboard isn't even listed on the settings page...
Click to expand...
Click to collapse
OK I'll try to duplicate your issue and report back. Which cm10 rom are you using?
I chose cm10 nightlies and I can't get a proper install either, I'm looking into why.
I'm using the 09-11 nightly.
geldebanho said:
I'm using the 09-11 nightly.
Click to expand...
Click to collapse
Thanks I am working on it.
I deodexed and that failed to show installed.
Made a flash zip and that failed to show installed.
Now I'm really curious.
I need to flash stock rom and play a little then come back to cm10.
I'll report when I have more info.
I can't make it work no matter what I try, I'm sorry. If I think of anything else I'll reply here.
Maybe they are some missing librares they are in /system/lib/ ? Check the logcat, it should what is missing.
Wysyłane z mojego ASUS Transformer Pad TF300T za pomocą Tapatalk 2
Thanks I'm looking into that now. I'll reflash stock and try to get a better idea what might be missing. I see where it fails and why but haven't been able to relate that to a lib or config yet.
Thanks for the help!
When I do something like this I don't always get it fixed but I certainly learn new things as I go.
I'm not making any progress on this problem, sorry but I'm finished unless something else turns up soon.
Maybe someone else can lend a hand.
I will flash CM next days, as I already unlocked bootloader. Myabe I can find out what is missing, but try to add all the apks from this screen, it from stock.
Sent from my unlocked ASUS TF300T

[Q]

accidentally deleted system UI. on rooted tranformer tf700 4.2.1 I'm missing the status bars and home key etc... I assume I need to re-install the apk. Can someone post or send it to me... I would greatly appreciate it. I have a keyboard so I have limited functions... probably enough to get it installed.
thx!
Which version are you on, 10.6.1.??
Also stock Asus?
sbdags said:
Which version are you on, 10.6.1.??
Also stock Asus?
Click to expand...
Click to collapse
Running 10.6.1.8 all stock only rooted
ottsrx7 said:
Running 10.6.1.8 all stock only rooted
Click to expand...
Click to collapse
10.6.1.14.4, 10.6.1.14.8 or 10.6.1.14.10?
Oh and are you WW or US?
I can send you the correct file to install
sbda. said:
10.6.1.14.4, 10.6.1.14.8 or 10.6.1.14.10?
I can send you the correct file to install
Click to expand...
Click to collapse
10.6.1.14.8 thx so much
ottsrx7 said:
10.6.1.14.8 thx so much
Click to expand...
Click to collapse
OK in the attached zip you need to extract it to your sd and then copy the 2 files SystemUI.apk and SystemUI.odex into the /system/app folder and then set the permissions as 644 or rw-r--r--
Good luck!
sbdags said:
OK in the attached zip you need to extract it to your sd and then copy the 2 files SystemUI.apk and SystemUI.odex into the /system/app folder and then set the permissions as 644 or rw-r--r--
Good luck!
Click to expand...
Click to collapse
I tried moving files into the folder above using ES explorer and it say permission denied.... What am I doing wrong?
Thanks again!
ottsrx7 said:
I tried moving files into the folder above using ES explorer and it say permission denied.... What am I doing wrong?
Thanks again!
Click to expand...
Click to collapse
You need to make sure you give esfile explorer root permissions. First turn on root explorer in tools on the left and then hit the word root explorer and set everything to RW - it'll work then.
ottsrx7 said:
I tried moving files into the folder above using ES explorer and it say permission denied.... What am I doing wrong?
Thanks again!
Click to expand...
Click to collapse
Update
I was able to get the files moved with ROM toolbox and get the permissions set but it will still not install? Any ideas?
ottsrx7 said:
Update
I was able to get the files moved with ROM toolbox and get the permissions set but it will still not install? Any ideas?
Click to expand...
Click to collapse
You will need t reboot if you haven't already....
Other option is download the full rom from the ASUS website, unzip to the root of your internal sd and let that flash from stock recovery. You'll lose everything but it will get you back up.

How to install the stock Samsung browser on Verizon S6

I noticed some people were interested in installing the Stock Samsung browser on the Verizon S6 variant so I figured I'd make a little tutorial on how to do just that.
Steps:
1.) You'll need to download the stock Samsung browser files. This can be done here.
2.) Install Root Browser from the play store. (Obviously make sure you grant it root permissions)
3.) Find the Samsung browser folder you just downloaded from Mega and unzip it. The end result will be a folder named "SBrowser_3.0.38".
4.) Copy this unzipped to your /System/app folder.
--Now we need to change the permissions so that the android system can recognize these newly placed files--
5.) Set the permissions as follows: (To set the permissions, you need to press and hold on the name of the folder or file you wish to edit, then click "Permissions") See screenshots
SBrowser_3.0.38 - rwxr-xr-x
lib (folder) - rwxr-xr-x
SBrowser_3.0.38.apk - rw-r-r
arm (folder) - rwxr-xr-x
libsbrowser.so - rw-r-r
libsecv8.so - rw-r-r
libUCProxySDK.so - rw-r-r
libUCProxyWTF.so - rw-r-r
libwbs.so - rw-r-r
6.) Exit and reboot.
Once you've done this, android will boot up with the "Android is upgrading..." screen. The "Internet" apk should now be in your app drawer.
If this helped, please hit the "Thanks" button!
*Note - I have not figured out how to enable the fingerprint scan for password entry. Not sure this is possible for our variant at this time.
Troubleshooting
If the app appears in the app drawer but force closes itself when you try to open it, you are either missing some files, or you didn't set the permissions correctly. Look at my screenshots and make sure the file sizes and permissions are correct.
If no app appears in the app drawer when you reboot, you probably didn't unzip the file before you pasted it in the /system/app directory. Remember to extract it before you copy over the files! You should have copied the "SBrowser_3.0.38" folder, not the "SBrowser_S6_alemtro" zip.
Any direction on the smart manager app? I'm following the directions in the s4 thread, but no go.
Rippley05 said:
Any direction on the smart manager app? I'm following the directions in the s4 thread, but no go.
Click to expand...
Click to collapse
Quite honestly, I was told that the smart manager is a bit of a battery hog and that an app like "Clean Master" does essentially the same thing so I never went about getting that app myself. But from looking at the directions I would just say to make sure you are putting it in the "/system/priv-app" folder instead of the "/system/app" folder and just make sure the permissions match those of other files and folders in that directory. I have heard some people have had success with it so it can be done.
Thanks for the tutorial, I didnt have a problem with setting permissions. But good to see I did it right. Any idea how to install smart manager? Put it in app/priv folder. Set permissions but not working.
Works great! +1
conflikt said:
Thanks for the tutorial, I didnt have a problem with setting permissions. But good to see I did it right. Any idea how to install smart manager? Put it in app/priv folder. Set permissions but not working.
Click to expand...
Click to collapse
I got Smart Manager to work. I just followed the same permissions as the browser. Worked like a charm.
VinceOB said:
I got Smart Manager to work. I just followed the same permissions as the browser. Worked like a charm.
Click to expand...
Click to collapse
Did you put it in /system/app or /system/private
Rippley05 said:
Did you put it in /system/app or /system/private
Click to expand...
Click to collapse
It should go into /system/priv-app
VinceOB said:
It should go into /system/priv-app
Click to expand...
Click to collapse
Appreciate the info. That's what I did, but it will not work for me. Where did you get the apk and associated files?
Rippley05 said:
Appreciate the info. That's what I did, but it will not work for me. Where did you get the apk and associated files?
Click to expand...
Click to collapse
What I did was follow the exact instructions on how to install the browser. Same permissions and everything. I got the apk from the same thread as the browser.
JGoldz75 said:
I noticed some people were interested in installing the Stock Samsung browser on the Verizon S6 variant so I figured I'd make a little tutorial on how to do just that.
Steps:
1.) You'll need to download the stock Samsung browser files. This can be done here.
2.) Install Root Browser from the play store. (Obviously make sure you grant it root permissions)
3.) Find the Samsung browser folder you just downloaded from Mega and unzip it. The end result will be a folder named "SBrowser_3.0.38".
4.) Copy this unzipped to your /System/app folder.
--Now we need to change the permissions so that the android system can recognize these newly placed files--
5.) Set the permissions as follows: (To set the permissions, you need to press and hold on the name of the folder or file you wish to edit, then click "Permissions") See screenshots
SBrowser_3.0.38 - rwxr-xr-x
lib (folder) - rwxr-xr-x
SBrowser_3.0.38.apk - rw-r-r
arm (folder) - rwxr-xr-x
libsbrowser.so - rw-r-r
libsecv8.so - rw-r-r
libUCProxySDK.so - rw-r-r
libUCProxyWTF.so - rw-r-r
libwbs.so - rw-r-r
6.) Exit and reboot.
Once you've done this, android will boot up with the "Android is upgrading..." screen. The "Internet" apk should now be in your app drawer.
If this helped, please hit the "Thanks" button!
*Note - I have not figured out how to enable the fingerprint scan for password entry. Not sure this is possible for our variant at this time.
Troubleshooting
If the app appears in the app drawer but force closes itself when you try to open it, you are either missing some files, or you didn't set the permissions correctly. Look at my screenshots and make sure the file sizes and permissions are correct.
If no app appears in the app drawer when you reboot, you probably didn't unzip the file before you pasted it in the /system/app directory. Remember to extract it before you copy over the files! You should have copied the "SBrowser_3.0.38" folder, not the "SBrowser_S6_alemtro" zip.
Click to expand...
Click to collapse
I've managed to get the FingerPrint working for autocompleting on the Verizon Galaxy S6 Edge, and posted it over on the app thread there. If you'd like me to get it working for the regular S6 send me the SecSettings2 folder within system/priv-app.
trailblazer101 said:
I've managed to get the FingerPrint working for autocompleting on the Verizon Galaxy S6 Edge, and posted it over on the app thread there. If you'd like me to get it working for the regular S6 send me the SecSettings2 folder within system/priv-app.
Click to expand...
Click to collapse
That would be awesome, Thank You. Hopefully this is everything you need, if not please let me know.
https://www.dropbox.com/s/52aw4kfupz0u4rr/SecSettings2_VZW-S6.zip?dl=0
dustinb17 said:
That would be awesome, Thank You. Hopefully this is everything you need, if not please let me know.
https://www.dropbox.com/s/52aw4kfupz0u4rr/SecSettings2_VZW-S6.zip?dl=0
Click to expand...
Click to collapse
It's been posted over here: XDA Thread Link. Let me know how it works for you!
What are the pros/cons of using the default browser over Chrome?
VinceOB said:
It should go into /system/priv-app
Click to expand...
Click to collapse
You only put it in system priv-app?? Not in system/app?? Also did you delete smart manager providers folder or did you leave it alone? As I. System priv-app there is 3 folders, smart manager, smart manager sdk. And smart manager providers. Thanks
conflikt said:
You only put it in system priv-app?? Not in system/app?? Also did you delete smart manager providers folder or did you leave it alone? As I. System priv-app there is 3 folders, smart manager, smart manager sdk. And smart manager providers. Thanks
Click to expand...
Click to collapse
Yup. Just put it in priv-app. I didnt do anything with Smart Manager Providers. Just left it alone.
VinceOB said:
Yup. Just put it in priv-app. I didnt do anything with Smart Manager Providers. Just left it alone.
Click to expand...
Click to collapse
Okay. Have you installed Viper4android?? If you don't mind could you pull audio effects.conf from system/etc for me and post on here?? jacked up my sound trying to install Viper and forgot to make a backup lol.
---------- Post added at 07:48 PM ---------- Previous post was at 07:16 PM ----------
Tried putting in just private app with no luck. Atleast I'm not seeing an icon for it
conflikt said:
Okay. Have you installed Viper4android?? If you don't mind could you pull audio effects.conf from system/etc for me and post on here?? jacked up my sound trying to install Viper and forgot to make a backup lol.
---------- Post added at 07:48 PM ---------- Previous post was at 07:16 PM ----------
Tried putting in just private app with no luck. Atleast I'm not seeing an icon for it
Click to expand...
Click to collapse
Make sure the permissions are exactly like it is for the browser. As for Viper, I haven't installed it yet. Haven't had time. Did you try rebooting after you made the changes? It should say updating apps.
I'm convinced that smart manager just will not work on some versions. Dunno why, but it won't. I have tried everything I can think of..no go
Has been posted
http://forum.xda-developers.com/ver...ps/5-12-sbrowser-returns-fingerprint-t3106759
This has been posted a long time ago.. search helps

[Q] How do I Reinstall\Flash the ContactsStorage app?

I have a OnePlus One CM11 rooted.
I read a post here:
http://forum.xda-developers.com/showthread.php?t=2064859&highlight=deleted
And therefore I "played" a little bit with my phone with those things:
1) \System\priv-app\ContactsProvider.apk
2)ContactsStorage from Setting ->Apps->All->ContactsStorage
Somehow I ended up with the situation that:
1)ContacsStorage does not appear at the apps list.
2)The directory \data\data\com.android.provider.contacts have disappeared.
I want to reinstall\flash the ContactsStorage app.
I know that reinstalling the rom will fix it, but I'm trying to avoid it.
Do you know of any other way I can do it?
Extract it from your ROM zip. Copy back to it's original location with a file manager (Root Explorer), set permissions and reboot.
davebugyi said:
Extract it from your ROM zip. Copy back to it's original location with a file manager (Root Explorer), set permissions and reboot.
Click to expand...
Click to collapse
I don't have my rom zip (This is the rom that came installed).
But returning the original backup apk and rebooting did not do the job
barak91 said:
I don't have my rom zip (This is the rom that came installed).
But returning the original backup apk and rebooting did not do the job
Click to expand...
Click to collapse
Then you are doing spmething wrong. What do you use to move? Is system set to R/W? permissions set? Same folder?
davebugyi said:
Then you are doing spmething wrong. What do you use to move? Is system set to R/W? permissions set? Same folder?
Click to expand...
Click to collapse
Attached screenshots.
barak91 said:
Attached screenshots.
Click to expand...
Click to collapse
The problem that the apk is vanishing after reboot is not a permission issue. Try a better file manager (in my case Root Explorer never fails). Mount system as R/W and do the rest.
davebugyi said:
The problem that the apk is vanishing after reboot is not a permission issue. Try a better file manager (in my case Root Explorer never fails). Mount system as R/W and do the rest.
Click to expand...
Click to collapse
The apk is NOT vanishing, it stays there.
The app of ContactsStorage is vanished from the apps list permanently.
As well as the folder in \data\data of com.android.providers.Contacts.
The option to sync google contacts is gone as well.
barak91 said:
The apk is NOT vanishing, it stays there.
The app of ContactsStorage is vanished from the apps list permanently.
As well as the folder in \data\data of com.android.providers.Contacts.
The option to sync google contacts is gone as well.
Click to expand...
Click to collapse
Did you make sure to also put the odex file in the folder as well?
Heisenberg said:
Did you make sure to also put the odex file in the folder as well?
Click to expand...
Click to collapse
I don't know what the odex file is.
I did not back the odex file so I do not know if it's the original, but there is a ContactsProvider.odex in there.

Categories

Resources