I was getting pretty frustrated with how KitKat handles the ext sdcard permissions. After doing a search I came to THIS post by poit and it worked great. So I thought I would make a flashable for folks. All this will do is replace the system/etc/permissions/platform.xml with the only change detailed below.
*Note: I've only tested this on my device running Stock rooted obtained by flashing the [FULL RESTORE][TAR] Stock ND8 4.4.2 with Odin found HERE.
Just flash in recovery.
Down Load HERE
These are the instructions in case you would rather do this yourself.
Instructions:
1- Using a root-enabled file manager, navigate to /system/etc/permissions
2- Edit platform.xml
3- Find the following code:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r"/>
<group gid="sdcard_rw"/>
</permission>
4- Add "<group gid="media_rw" />" so that the code looks like this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r"/>
<group gid="sdcard_rw"/>
<group gid="media_rw"/>
</permission>
5- save and restart
-----------------------------------------------------------
Here is a good article detailing what we're dealing with and why.
http://m.androidcentral.com/kitkat-sdcard-changes
-----------------------------------------------------------
Disclaimer: Flash/use at your own risk!
*It is important to note that there may be additional issues I don't know about and as I am a truck driver, not a programmer I may or may not be able to fix things.
Everyone is encouraged to do what ever you like with anything I post, but a little credit would be appreciated.
Nice, good work Chad
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For some reason the instructions I posted are wonky and I'm unable to edit it. (Weird) so for now I'll just post this pick of the instructions until I can fix it properly.
Edit: got it fixed. I hope it's easy to understand.
Chad The Pathfinder said:
For some reason the instructions I posted are wonky and I'm unable to edit it. (Weird) so for now I'll just post this pick of the instructions until I can fix it properly.
Click to expand...
Click to collapse
It's not letting me edit my Debloater OP either
This worked great for external SD Card. Any way to get write permission on Device>Sd card? I can't download apps from Amazon App Store because it wants to write a folder there for the apps but it won't let it.
Subscribed for future use. Haven't had any issues yet, but I'm only on day 3 with ND8
Wrightperspective said:
This worked great for external SD Card. Any way to get write permission on Device>Sd card? I can't download apps from Amazon App Store because it wants to write a folder there for the apps but it won't let it.
Click to expand...
Click to collapse
If you deodex the Rom then use xposed framework in there that allows write permission. Or use a root explorer go to storage sd and then properties and change the permission there
Sent from my SPH-L710 using XDA Free mobile app
This is what I get when I try to install xposed framework... Any ideas?
The only xposed module I use is wanam and I've not seen that popup so... BTW this isn't xposed.
Chad The Pathfinder said:
The only xposed module I use is wanam and I've not seen that popup so... BTW this isn't xposed.
Click to expand...
Click to collapse
Yeah but it's extracting the zip on the internal storage is what he means I think...I'm having the same issue where none of my apps can write to the internal storage, but external storage is fine
CNexus said:
Yeah but it's extracting the zip on the internal storage is what he means I think...I'm having the same issue where none of my apps can write to the internal storage, but external storage is fine
Click to expand...
Click to collapse
That was my my problem I used es root explorer mounted system changed permissions to all storage the changed system permission and added uid to system permissions. Then rebooted and all good. It had my internal sd blocked apps couldn't show thumbnails some could some couldn't.
Also I had that same error with exposed until I changed those permissions. Now all well got wanam call recording, back to kill, all the goodies
Sent from my SPH-L710 using XDA Free mobile app
download app called folder mount in market.. run it reboot all fixed
Robalboa said:
That was my my problem I used es root explorer mounted system changed permissions to all storage the changed system permission and added uid to system permissions. Then rebooted and all good. It had my internal sd blocked apps couldn't show thumbnails some could some couldn't.
Also I had that same error with exposed until I changed those permissions. Now all well got wanam call recording, back to kill, all the goodies
Sent from my SPH-L710 using XDA Free mobile app
Click to expand...
Click to collapse
Can you expand on how you did this? I'm trying to do just this, but I'm not sure what you mean by mounting the system changed permissions to all storage...
Is that under the permissions.xml or is that somewhere else?
McBadass said:
Can you expand on how you did this? I'm trying to do just this, but I'm not sure what you mean by mounting the system changed permissions to all storage...
Is that under the permissions.xml or is that somewhere else?
Click to expand...
Click to collapse
OK you must be Rooted and have supersu first of all.
Second open es file Explorer
Goto tools (swipe right) turn on root Explorer grant super user permission
Next I press root Explorer (the tool you switched on)
You'll see a pop up that gives you options click mount system r/w
Next navigate to each internal folder (legacy emulated and 0) long press each one separately
Long press o choose properties in the more section change to r/w on both the top rows all the way a crossed 3 check boxes
Do this on all 3 folders next
Navigate to system long press, then properties again check same boxes and also check uid.
Close out es and reboot.
Tada all apps work fine.
Sent from my SPH-L710 using XDA Free mobile app
Of course why they have changed the permissions of the external sdcard is puzzling since the internal memory sdcard still allows full access. So, I imagine their next step will be the internal storage permissions. Isn't this a strange restriction from a company like Google who claims to be so 'open'. I guess they are hiring too many of those Apple defectors nowadays.
Anyway, I download podcasts, and I really don't like the way if I use the default external sdcard permissions that anything the app puts in the extsdcard/android/data/(app) directory gets deleted when I remove the app, and since most apps are being changed to abide by these new permission restrictions in kitkat, will this modification stop kitkat from deleting the app data on the external sdcard when the app is removed?
Sent from my Nexus 7 using Tapatalk
DaWeav said:
Of course why they have changed the permissions of the external sdcard is puzzling since the internal memory sdcard still allows full access. So, I imagine their next step will be the internal storage permissions. Isn't this a strange restriction from a company like Google who claims to be so 'open'. I guess they are hiring too many of those Apple defectors nowadays.
Anyway, I download podcasts, and I really don't like the way if I use the default external sdcard permissions that anything the app puts in the extsdcard/android/data/(app) directory gets deleted when I remove the app, and since most apps are being changed to abide by these new permission restrictions in kitkat, will this modification stop kitkat from deleting the app data on the external sdcard when the app is removed?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Easy way to find out is to backup the data folder and remove the app. Will probably take as long to test as it did to ask.
bilgerryan said:
Easy way to find out is to backup the data folder and remove the app. Will probably take as long to test as it did to ask.
Click to expand...
Click to collapse
Plus getting the data folder and file permissions correctly set can be a little difficult.
It would probably be easier to backup the app with Titanium to begin with since it saves and restores the data for you.
Edit: And to address the original question about external SD saved data folder, I have no idea other than to copy it off before you remove the app and copy it back before you first launch it.
Related
App. to mount the system dir with r/w permission (especially for new(-er) Froyo versions)
Mount the dir at demand, or tell the app to mount it every time the Android shell is loaded.
update: added an option to remount the dir as r/o
On the Android market (free)
Scan:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
or search for mount system
The program is called mount /system (rw / ro)
----
(Repost because during a maintenance this night xda-dev has restored a backup from 24 hours ago.)
Ah, I've just rooted my phone and now need to install Busybox, but I need to mount the system as rw, but Terminal Emulator is fc on me, will this work in its place?
sionyboy said:
Ah, I've just rooted my phone and now need to install Busybox, but I need to mount the system as rw, but Terminal Emulator is fc on me, will this work in its place?
Click to expand...
Click to collapse
Should work. It doesn't depend on busybox so.. give it a try.
ah didn't know XDA crashed, thought i'm having a deja vu of some sort. again, this is excellent and thank you
Update: Added an option to remount the system dir for r/o access.
Anyone got an idea why this isn't working on my phone (just like every other mounting script or tool)? I got an I9000 running JM8 and stock kernel Voodoo. It doesn't report an error, but I still can't delete anything from system folder.
PlanetJumble said:
Anyone got an idea why this isn't working on my phone (just like every other mounting script or tool)? I got an I9000 running JM8 and stock kernel Voodoo. It doesn't report an error, but I still can't delete anything from system folder.
Click to expand...
Click to collapse
Interesting. I assume you have busybox installed? It comes with the standard update.zip rooting method. If so, it surely is a kernel thing. I'm running jm8 myself on a Sgs I9000, and I've no problems.
Using this since you released the first version, works flawless so far
Thanks alot!
I just realized that there does seem to be a way to write to system partition on my phone: titanium backup is deleting unwanted system apps just fine. :-/
Great program, solved a LOT of problems for me.
Hmmm... further investigation showed: this works just fine for me, as do some other tools. It worked by using a terminal emulator, which I consider way to cumbersome for file management. I thought I could just make the system partition rewritable and use any tool capable of browsing there to e.g. delete unwanted crap (like most of the ringtones). But it doesn't work that way, the tool still seems to need SU rights as well.
So I have to ask you appelflap: what is the primary purpose of this tool? If the file manager needs to be root capable on itself, I only know of Root Explorer (which can make system RW just fine, but costs money) or EStrongs File Explorer (which asks for some outrageous access rights). On a terminal emulator or ADB, I can just remount by adding a single line. Please give me a use case for your tool, is it just to save writing/pasting a single line?
PlanetJumble said:
Hmmm... further investigation showed: this works just fine for me, as do some other tools. It worked by using a terminal emulator, which I consider way to cumbersome for file management. I thought I could just make the system partition rewritable and use any tool capable of browsing there to e.g. delete unwanted crap (like most of the ringtones). But it doesn't work that way, the tool still seems to need SU rights as well.
So I have to ask you appelflap: what is the primary purpose of this tool? If the file manager needs to be root capable on itself, I only know of Root Explorer (which can make system RW just fine, but costs money) or EStrongs File Explorer (which asks for some outrageous access rights). On a terminal emulator or ADB, I can just remount by adding a single line. Please give me a use case for your tool, is it just to save writing/pasting a single line?
Click to expand...
Click to collapse
I wrote it for the newer Froyo versions. I needed it to for Root Explorer to work (it didn't remount the system directory for r/w access at that time, but I saw that there's an update, so maybe it does now?)
@appelflap - thanks for the app, works great. One question, how can I change the name of the app to appear in the app list? Like "Mount R/W" for short, because is kind of long and I have a thing with design to fit in
Thanks!
azreil24 said:
@appelflap - thanks for the app, works great. One question, how can I change the name of the app to appear in the app list? Like "Mount R/W" for short, because is kind of long and I have a thing with design to fit in
Thanks!
Click to expand...
Click to collapse
It's a bug (Can't find the culprit.... I keep coming up with names that are too long. Currently taking pills for it. Maybe that will fix it)
) i hope is not contagious
azreil24 said:
) i hope is not contagious
Click to expand...
Click to collapse
It is. Just like the abbreviation deficit (AD). I ran into somebody today who adviced me to name this app: MSD (Mount System Dir) ... very, very tempting. (
Although it does sound a bit like a disease.)
EDIT: settled for "mount system dir".
very nice app.
used it succesfully
thanks
Great App - do you allow the App to be included in my ROM?
appelflap said:
It is. Just like the abbreviation deficit (AD). I ran into somebody today who adviced me to name this app: MSD (Mount System Dir) ... very, very tempting. (
Although it does sound a bit like a disease.)
EDIT: settled for "mount system dir".
Click to expand...
Click to collapse
RO/W. How does this name sound to you? Its short, catchy & contains all the right letters.
PS : even mRO/W could be used.
Great app, i remember there is a problem with root explorer (need reboot to work) now with your app its faster
Sent from my Galaxy S using XDA App
NOTICE:
THIS IS ONLY MY RESULT, AND THIS IS THE POSSIBLE WAY TO SOLVE IT. IT DOESN'T MEAN IT CAN WORK PROPERLY ON YOUR PHONE!
Sorry for poor English
S1:
1.Using USB Cable connect your phone and the computer
2.Choose Disk Drive Mode
3.Copy all the files in the SD Card to your computer
4.On the computer, format HTC STORAGE. Name: HTC STORAGE, File system: FAT32, Cluster: If you wanna better speed, choose 32k or 64k, if you wanna store more files, choose 4k
5.Copy your files back to HTC STORAGE
6.Extract your current rom's zip file.
7.Found a new folder under /system named "lost+found"
8.Pack all the files to zip, copy it to SD Card and flash it.
S2:
Just delete "lost+found" folder under /system and then format your sd card
And for Developers, try to add "lost+found" folder under /system to your rom and test whether it will eat free space or not.
As for me, adding "lost+found" folder in the rom and removing it won't let your free space loose again.
I have copied rom.zip(about 500MB) four times and reboot my phone several times. My free space didn't loose
Trust me
And here is the result.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You mean after doing this, no matter how many times you try the lost space will not happen again?
ArmedandDangerous said:
You mean after doing this, no matter how many times you try the lost space will not happen again?
Click to expand...
Click to collapse
At least for me. I'm not sure whether it can work properly on other phones.
Could you not just make the folder and reboot?
:edit: lost+found is already in my system folder but I've only lost 1gb due to system files and that it not increasing.
Sent from my HTC One X using xda premium
treebill said:
Could you not just make the folder and reboot?
:edit: lost+found is already in my system folder but I've only lost 1gb due to system files and that it not increasing.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Original lost+found is created by system and it will eat your free space. You can also delete it and free spaces won't loose any more.
give this a try in the afternoon... will report if it work... thanks for your effort... this "bug" is kind of annoying...
delete "lost and found" Folder under /system
Format SD-Card FAT32-32k
copy files back to SD-Card
then reboot the Phone
Copy a 1,2 GB Movie File to SD
Reboot the Phone (save remove SD)
Thanks jerrylzy it seems to work!
deagleone said:
delete "lost and found" Folder under /system
Format SD-Card FAT32-32k
copy files back to SD-Card
then reboot the Phone
Copy a 1,2 GB Movie File to SD
Reboot the Phone (save remove SD)
Thanks jerrylzy it seems to work!
Click to expand...
Click to collapse
Thanks for the report.
Sent from my HTC One X using XDA
I just wanted to delete the folder with Astro File manager but it always gives me an Error message: Error deleting files... do i something wrong ?? ITs a rooted s-on phone with JDroid ROM
n3ocort3x said:
I just wanted to delete the folder with Astro File manager but it always gives me an Error message: Error deleting files... do i something wrong ?? ITs a rooted s-on phone with JDroid ROM
Click to expand...
Click to collapse
Have you got to mount system first?
Sent from my LeeDrOiDed HTC One X using XDA
I just get into Astro File mangager... click 2 times on "up" so i get in / and then in system and then the folder shows up...
Additional Note: I´m on JDroid, and dont want to flash again... if i have to flash again i know what to do...xD My Problem is that i dont want to reflash ROM.
Thanks for your help
n3ocort3x said:
I just get into Astro File mangager... click 2 times on "up" so i get in / and then in system and then the folder shows up...
Additional Note: I´m on JDroid, and dont want to flash again... if i have to flash again i know what to do...xD My Problem is that i dont want to reflash ROM.
Thanks for your help
Click to expand...
Click to collapse
Just used ES File explorer to delete the lost + found folder, but had to tick a couple of boxes first to enable it to do that, namely "Root Explorer" and "Mount file system" in settings.
Can't see similar options in Astro, download ES and give it a go.
ok thanks...xD Try and report !
n3ocort3x said:
I just get into Astro File mangager... click 2 times on "up" so i get in / and then in system and then the folder shows up...
Additional Note: I´m on JDroid, and dont want to flash again... if i have to flash again i know what to do...xD My Problem is that i dont want to reflash ROM.
Thanks for your help
Click to expand...
Click to collapse
I think you can just delete that folder and then format sd card
thats my problem... i cant delete it...xD
using diskuseage from play on my SD i scanned my SD and there is a section called "system data" which starts off at 1024 MB (i formatted from inside the phone to start the test), its this section on the SD that goes up in size on my phone.
i deleted lost+found from my /system and restarted i then mounted my phone to the PC formatted and copied my files to my SD i then unmounted the USB using the phone (no safe remove from PC) and "system data" is now gone.
I then restarted my phone just to check and it's still not there
I will keep scanning it from time to time and report back so far so good no lost space.
Deleted 3Gb of films, copied everything over on to my comp.
Deleted lost+found
Before format
Format FAT32, 32k, added back 3Gb of films that were taken off, reboot into recovery, mount sd card
After:
guys i got another solution working fine to me:
backup your data on sdcard
format your sdcard with 16kb cluster size
copy your data back and do stuff like flashing a rom and see if the problem is solved.
you do this because the sdcard was with 32kb cluster initially(for those which are not with 32kb, this solution may not work). and normally it should be 16kb by a 32gb storage. so maybe you can also give it a shot. goodluck! btw i found this on One X Q&A thread.
craftycarper1 said:
Just used ES File explorer to delete the lost + found folder, but had to tick a couple of boxes first to enable it to do that, namely "Root Explorer" and "Mount file system" in settings.
Can't see similar options in Astro, download ES and give it a go.
Click to expand...
Click to collapse
Thanks...worked like a charm... hidden but there..xD
youzilyj621 said:
guys i got another solution working fine to me:
backup your data on sdcard
format your sdcard with 16kb cluster size
copy your data back and do stuff like flashing a rom and see if the problem is solved.
you do this because the sdcard was with 32kb cluster initially(for those which are not with 32kb, this solution may not work). and normally it should be 16kb by a 32gb storage. so maybe you can also give it a shot. goodluck! btw i found this on One X Q&A thread.
Click to expand...
Click to collapse
Been there, done that but the problem came back so....
I see this question come up once in a while here, and I had a similar thread on the ET4G about this so I thought I'd recreate it here for you S3 folks. I recently flashed to LJ7 to do some testing and while there was getting bugged by the OTA update, so I tried this method out and confirmed it does work on the S3 as well.
[How-to] Disable OTA updates on Stock + Rooted ROMs
1. Download FOTAKill.apk* and copy to your Phone/SD
2. Use a root explorer (such as ES Explorer) to copy the file to /system/app
3. If the update already downloaded, use your root explorer to delete it from /cache
4. reboot
If the update notice is still in the notification bar after the reboot, simply swipe it away. That should be the last time you are ever prompted to update via OTA. Even if you manually go to system update and click check now it will no longer offer you the OTA. You can simply delete the apk from /system/app to reverse this mod.
*Credit for the apk goes to the CM team and or the folks who create the gapps packages!
*If anyone would like to make a CWM flashable I would be happy to add it here and give you credit.
rocket321 said:
I see this question come up once in a while here, and I had a similar thread on the ET4G about this so I thought I'd recreate it here for you S3 folks. I recently flashed to LJ7 to do some testing and while there was getting bugged by the OTA update, so I tried this method out and confirmed it does work on the S3 as well.
[How-to] Disable OTA updates on Stock + Rooted ROMs
1. Download FOTAKill.apk* and copy to your Phone/SD
2. Use a root explorer (such as ES Explorer) to copy the file to /system/app
3. If the update already downloaded, use your root explorer to delete it from /cache
4. reboot
If the update notice is still in the notification bar after the reboot, simply swipe it away. That should be the last time you are ever prompted to update via OTA. Even if you manually go to system update and click check now it will no longer offer you the OTA. You can simply delete the apk from /system/app to reverse this mod.
*Credit for the apk goes to the CM team and or the folks who create the gapps packages!
*If anyone would like to make a CWM flashable I would be happy to add it here and give you credit.
Click to expand...
Click to collapse
CNexus created a really good sticky guide to talk about OTAs. You might want to post this over there. Could you let us know what FOTAKill does? Does it work regardless of phone/carrier?
topherk said:
CNexus created a really good sticky guide to talk about OTAs. You might want to post this over there. Could you let us know what FOTAKill does? Does it work regardless of phone/carrier?
Click to expand...
Click to collapse
I expect it will work on other carriers/phones but only speak for devices I personally test it on.
The apk works by overriding the built in android OTA service. It has traditionally been included in Gapps packages as a way to disable carrier updates on AOSP roms but works just as well on stock based roms.
Sent from my SPH-L710 using xda app-developers app
I must be doing something wrong. I am unable to move the file, I keep getting "file is read only"
Update: I found that if you click on the downloaded apk that it installs itself in the correct folder however it still did not work for me.
I am on the DaRTHSTAULKER ROM S3 vX
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
EVObastard said:
I must be doing something wrong. I am unable to move the file, I keep getting "file is read only"
Update: I found that if you click on the downloaded apk that it installs itself in the correct folder however it still did not work for me.
I am on the DaRTHSTAULKER ROM S3 vX
View attachment 1914304
Click to expand...
Click to collapse
You need to mount /system as RW
If your file manager does not give you the option to do so, go into a terminal and type the following:
Code:
mount -o remount,rw /system
The app needs to installed as a system app, if you simply install it by selecting it, it will be installed as a user app. Uninstall, mount system as ready write, and copy it to /system/app
That's correct, if you just click it and install like a normal app it won't work because it needs to be installed as a system app.
Sent from my SPH-L710 using xda app-developers app
So do I move the hole file or extract the app then move that?
NM I noticed it's a .apk file :fingers-crossed:
Ok, that worked it's now in my app list, thank you hopefully this does it.
Sprint GS3 Rooted, DaRTHSTAULKER X
Woohoo, it's been 4 hours or so and no notification, thank you thank you thank you.
Sprint GS3 Rooted, DaRTHSTAULKER X
Ok so I took a look inside the apk and heres how it works
App gets triggered when: Google Services state is changed; Android device checks in the the Google servers; and when Android device finishes booting (BOOT_COMPLETE)
If there is, it gets the info from the Google Services Framework intent (url, time, etc), logs it, and then cancels the notification
Sets the link to be empty (" ") and overrides the GSF notification, and then clears the notification
Removes the notification and OTA data from the Google Services Framework database
Attached is a universal flashable (meaning, for any Android device) that puts FOTAKill.apk into your /system/app.
EDIT: File pulled for the moment...
CNexus said:
Ok so I took a look inside the apk and heres how it works
App gets triggered when: Google Services state is changed; Android device checks in the the Google servers; and when Android device finishes booting (BOOT_COMPLETE)
If there is, it gets the info from the Google Services Framework intent (url, time, etc), logs it, and then cancels the notification
Sets the link to be empty (" ") and overrides the GSF notification, and then clears the notification
Removes the notification and OTA data from the Google Services Framework database
Attached is a universal flashable (meaning, for any Android device) that puts FOTAKill.apk into your /system/app.
EDIT: File pulled for the moment...
Click to expand...
Click to collapse
This is great, I am standing by. Since I did it the other way should I redo it this way? (I would guess no) Also I was going to ask if it worked for my wife's E4GT but sounds like this new one you are making will. TIA
EVObastard said:
This is great, I am standing by. Since I did it the other way should I redo it this way? (I would guess no) Also I was going to ask if it worked for my wife's E4GT but sounds like this new one you are making will. TIA
Click to expand...
Click to collapse
The file itself will work on ANY phone because it blocks the GSF app. I would recommend just using a root browser to put it in /system/app for the moment, i pulled the file because it somehow wiped my entire /system partition (yeah, i dont know either) so i didnt want anyone else to have issues.
And no, you dont need to redo it with the zip im making, it wont change anything.
Also, im not modifying the file in any way, I'm just making a zip that will flash it on any device.
This definitely works on the ET4G, I had that phone before the S3 and used it to stay on a GB rom for a long time.
Sent from my SPH-L710 using xda app-developers app
Thank you both very much. :good::good:
Here's a flashable http://db.tt/lfeO3giy fix permissions after flashing just in case
Sent from my ANTHRAX sniffing GS3
Disabling OTA updates
Hi,
Would anyone know if the FOTAKill.apk procedure works on a Galaxy S3 flashed to Boost or would that not make a difference?
Thanks.
andee39 said:
Hi,
Would anyone know if the FOTAKill.apk procedure works on a Galaxy S3 flashed to Boost or would that not make a difference?
Thanks.
Click to expand...
Click to collapse
Try it. Shouldn't hurt anything if it doesn't.
Thanks. A friend had mentioned to me he read about freezing SDM 1.0 but I don't have that file and wasn't sure if it was related to being flashed to Boost. I searched and came across your post but wasn't sure if I would run into a similar type issue. Will give it a try and fingers crossed it works!
Thanks again!
Fota will not paste into Apps folder
Every time I try to copy or cut and paste the file never goes into the apps folder. My phone is rooted using Mr. Robinsons method.I have tried two different root explorers witht he same results.
maf49 said:
Every time I try to copy or cut and paste the file never goes into the apps folder. My phone is rooted using Mr. Robinsons method.I have tried two different root explorers witht he same results.
Click to expand...
Click to collapse
Have you changed the read/write settings in the root explorer apps? They default to read only in order to edit you have to change to write.
Sent from the future via Tapatalk 4
edfunkycold said:
Have you changed the read/write settings in the root explorer apps? They default to read only in order to edit you have to change to write.
Sent from the future via Tapatalk 4
Click to expand...
Click to collapse
System folder and app folder both have owner rwx group rx and other rx. there is a checkbox to add w but it wont keep the setting
Anyone else noticed this? I had it set up as a system app on my S3 by simply copying the apk into system/app with correct permissions, and extracting the lib file from the apk into system/lib but this doesn't seem to work on my Note 3.
After a reboot, I do not even see the Google keyboard as an option in the language settings menu.
Anybody know what needs to be done to fix this? Ideally I'd just make Swype a system app too but I can't find where it installs to.
Sent from my SM-N900T using XDA Premium 4 mobile app
Kalm_Traveler said:
Ideally I'd just make Swype a system app too but I can't find where it installs to.
Click to expand...
Click to collapse
??
Why move Swype, just install it from Google Play... runs fine where it installs itself.
krelvinaz said:
??
Why move Swype, just install it from Google Play... runs fine where it installs itself.
Click to expand...
Click to collapse
Same with the Google keyboard just install it from the play store https://play.google.com/store/apps/details?id=com.google.android.inputmethod.latin
Sent from my SM-N900T using Tapatalk
A number of apps complain about security risks of using a "non-system" keyboard if the keyboard app is not a system app. So I take it neither of you have any suggestions on how to answer my question?
Sent from my SM-N900T using XDA Premium 4 mobile app
You should not have a problem if you're not downloading and using illicit software.
sent from my sm-9005.
@rbiter said:
You should not have a problem if you're not downloading and using illicit software.
sent from my sm-9005.
Click to expand...
Click to collapse
Aye, it's not a "problem", just an unnecessary annoyance. I've converted plenty of apps into system apps this way and they all have worked - I am curious why the Google Keyboard is not working on this stock TW ROM.
Kalm_Traveler said:
A number of apps complain about security risks of using a "non-system" keyboard if the keyboard app is not a system app. So I take it neither of you have any suggestions on how to answer my question?
Click to expand...
Click to collapse
Because it is unnecessary...
The security risk is still there just because you moved it and it didn't warn you. All of the keyboard you are using send data, how do you think the voice typing works?
The warning its just to let you know what happens when you use the keyboard the same as turning on location services that's all.
Moving it as a system app doesn't change the underlying function of the keyboard and how it works..
krelvinaz said:
Because it is unnecessary...
The security risk is still there just because you moved it and it didn't warn you. All of the keyboard you are using send data, how do you think the voice typing works?
The warning its just to let you know what happens when you use the keyboard the same as turning on location services that's all.
Click to expand...
Click to collapse
I understand all of that. I never said I was personally worried about any security risks. I said I want to make the keyboard apps into system apps to remove that annoying warning. :good:
Bump
I still haven't been able to get this to work. Is there perhaps a lib file that needs to be deleted from the stock location?
Sent from my SM-N900T using XDA Premium 4 mobile app
Kalm_Traveler said:
Bump
I still haven't been able to get this to work. Is there perhaps a lib file that needs to be deleted from the stock location?
Sent from my SM-N900T using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Apologies for a less-than-helpful response, but the process you described in the OP worked just fine for me in terms of having the keyboard function as it should while technically being a system app. I'm not sure why it wouldn't be showing as an option for you.
Moving just the apk to system/app permission to rw-r-r and reboot works for myself. Or DL it from play store then use titanium backup and force it to system app. Either way its going to update and everything from the play store.
Sent from my SM-N900T using XDA Premium 4 mobile app
the Google keyboard from the play store has a lib file that needs to be moved to system/lib. you can move it with a program like root explorer but it is really not necessary.
i have a similar problem, i didn't know anything about moving the lib file and havent done it and when i reboot, my device keeps saying google keyboard has stopped, but it is still my defult keyboard option. I wonder if there is a way to directly install it as a system app, apart from the adb method that doesn't work eaither. Would downloading the apk to /system/app/, rebooting and then installing it work.
Charles IV said:
i have a similar problem, i didn't know anything about moving the lib file and havent done it and when i reboot, my device keeps saying google keyboard has stopped, but it is still my defult keyboard option. I wonder if there is a way to directly install it as a system app, apart from the adb method that doesn't work eaither. Would downloading the apk to /system/app/, rebooting and then installing it work.
Click to expand...
Click to collapse
Anytime you manually put something in /system/app or /system/priv-app, you need to make sure you change the permissions to 0644 before you reboot.
Sent from my SM-N900T using Tapatalk
ludeawakening said:
Anytime you manually put something in /system/app or /system/priv-app, you need to make sure you change the permissions to 0644 before you reboot.
Sent from my SM-N900T using Tapatalk
Click to expand...
Click to collapse
And check your SELinux contexts as well...
Also I've found that moving the app from /data to /system sometimes confuses the package manager. It's best to:
1. Copy the apk to system, checking permissions, ownership and SELinux contexts. You may have to copy to /system/app or /system/priv-app depending on the app.
2. Reboot
3. Then "Uninstall updates" from Settings -> Apps, if you want to reclaim the Apk size from /data.
ludeawakening said:
Anytime you manually put something in /system/app or /system/priv-app, you need to make sure you change the permissions to 0644 before you reboot.
Sent from my SM-N900T using Tapatalk
Click to expand...
Click to collapse
Thank you, I moved the app using es file explorer, and before i rebooted i changed the permissions as according to this screenshot (mine looked slightly different, but the same boxes were checked)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Should this have worked or should i have done something else?
Fif_ said:
And check your SELinux contexts as well...
Also I've found that moving the app from /data to /system sometimes confuses the package manager. It's best to:
1. Copy the apk to system, checking permissions, ownership and SELinux contexts. You may have to copy to /system/app or /system/priv-app depending on the app.
2. Reboot
3. Then "Uninstall updates" from Settings -> Apps, if you want to reclaim the Apk size from /data.
Click to expand...
Click to collapse
Any hints on how to check ownership and SELinux contexts?
---------- Post added at 10:58 AM ---------- Previous post was at 10:55 AM ----------
themichael said:
the Google keyboard from the play store has a lib file that needs to be moved to system/lib. you can move it with a program like root explorer but it is really not necessary.
Click to expand...
Click to collapse
If it cant be done with a root explorer, how would it be done, and also why isn't it necessary?
Quick suggestion: Titanium backup will has an option to convert to system apps.
Sent from my SM-N900T using XDA-Developers mobile app
smaisonville said:
Quick suggestion: Titanium backup will has an option to convert to system apps.
Sent from my SM-N900T using XDA-Developers mobile app
Click to expand...
Click to collapse
"Convert to system app" and even "restore system app" have been broken for me for a long while, so I wouldn't put too much trust in TiBkp for that.
Hi - I'm desperately hoping someone can help....
In the process of endeavouring to enable RW access to my UK HTC One M8 (O2) I've sucessfully rooted and installed the SDFix from Next App in the hope that it would perform the necessary mod to the platform.xml file in /system/etc/permissions but it failed because it didn't recognise the file as xml.
I've checked into it and I can see that the file itself has become corrupt and is full of spurious korean (probably) text.
I'm desperately hoping someone would please email me a copy of their platform.xml file so I can overwrite this corrupt one as I don't dare switch my phone off until it has a chance of booting.
I've looked for a copy of the stock ROM but cannot see the wood for the trees.
I imagine the file from any HTC One M8 variant will do - certainly any viable platform.xml file would be better than a file full of garbage, although ideally for the UK model would probably be wise.
my email is etherkeiffer at the google email domain thanks in anticipation guys!
p.s. I appreciate this is kind of dev related but I don't have enough posts to post in that forum and this is so urgent as I don't dare switch my phone off for fear of bricking it
kw1mx5 said:
Hi - I'm desperately hoping someone can help....
In the process of endeavouring to enable RW access to my UK HTC One M8 (O2) I've sucessfully rooted and installed the SDFix from Next App in the hope that it would perform the necessary mod to the platform.xml file in /system/etc/permissions but it failed because it didn't recognise the file as xml.
I've checked into it and I can see that the file itself has become corrupt and is full of spurious korean (probably) text.
I'm desperately hoping someone would please email me a copy of their platform.xml file so I can overwrite this corrupt one as I don't dare switch my phone off until it has a chance of booting.
I've looked for a copy of the stock ROM but cannot see the wood for the trees.
I imagine the file from any HTC One M8 variant will do - certainly any viable platform.xml file would be better than a file full of garbage, although ideally for the UK model would probably be wise.
my email is etherkeiffer at the google email domain thanks in anticipation guys!
p.s. I appreciate this is kind of dev related but I don't have enough posts to post in that forum and this is so urgent as I don't dare switch my phone off for fear of bricking it
Click to expand...
Click to collapse
Now resolved, with thanks! Please close thread / delete
kw1mx5 said:
Now resolved, with thanks! Please close thread / delete
Click to expand...
Click to collapse
What was your fix?
brent372 said:
What was your fix?
Click to expand...
Click to collapse
A member (name withheld to respect his privacy) kindly emailed the relevant file.
kw1mx5 said:
A member (name withheld to respect his privacy) kindly emailed the relevant file.
Click to expand...
Click to collapse
I think you would have been fine restarting. If you're rooted and not S-Off it would revert all changes on reboot, like you never touched platform.xml at all.
Xdpker06 said:
I think you would have been fine restarting. If you're rooted and not S-Off it would revert all changes on reboot, like you never touched platform.xml at all.
Click to expand...
Click to collapse
yes - I'm sure you're right but I just didn't want to take any chances as I'm mostly a stock user and only root and make changes where I consider it absolutely essential so I don't have much experience (in case it doesn't show ).
With my previous Galaxy S2 that was both essential and the changes (removals) quite substantial - it's amazing how much crap Samsung were cramming on handsets, even a couple of years ago.
kw1mx5 said:
yes - I'm sure you're right but I just didn't want to take any chances as I'm mostly a stock user and only root and make changes where I consider it absolutely essential so I don't have much experience (in case it doesn't show ).
With my previous Galaxy S2 that was both essential and the changes (removals) quite substantial - it's amazing how much crap Samsung were cramming on handsets, even a couple of years ago.
Click to expand...
Click to collapse
Hi, The other day i tried to fix the Platform.xml. on my S5. i noticed sometime after that when i move files using the "My files" app, the phone would not refresh the files so that they would show up in gallery, videos etc.. I tried to undo the Media_rw by using SD Maid to find the Platform.xml and Axel to rewrite the Xml. In the platform.xml. i deleted the Media_rw and replaced the old xml with the new (original) one. I rebooted my phone. On swiping to open the screen i noticed alot of apps crashing one after the other. I when back to SD Maid and searched for Platform.xml and opened it with Axel but it said file not found.. i can not use the internet, i cant use most apps, i cant even use the Kies on my computer. I cant save anything to the storage either. I really need help. how can i reset the xml files on my phone..
Since I experience the same issue as the thread starter (just with a German HTC One M8) I would really appreciate to get a clean version of the platform.xml file also.
Thanks!
EDIT: I don't need the file anymore. For some reason it looked fine again after another couple of reboots. I have no idea what went wrong here...
Did you make your SD card writable to apps?
If yes, how?
Right now I'm on rooted One M8 from t-mobile. All those SDfix apps from Play Store do not work.
Sn8kbordin said:
Did you make your SD card writable to apps?
If yes, how?
...
Click to expand...
Click to collapse
Well, it's not really necessary to use any tools. They didn't work for me also, so I used this description (Method 1):
http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/
You just need to add one line in the mentioned xml-file. That's it...
bama35453 said:
Well, it's not really necessary to use any tools. They didn't work for me also, so I used this description (Method 1):
http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/
You just need to add one line in the mentioned xml-file. That's it...
Click to expand...
Click to collapse
Thank you.
When I edit the platform.xml with ES File Explorer and save it, it goes back to stock on reboot.
I tried to copy that file, edit in new location, save, and then:
1. When I overwrite platform.xml with ES File Explorer phone reboots and stock file is back
2. When I delete stock platform.xml to copy modified file in its place phone reboots and stock file is back.
Sn8kbordin said:
Thank you.
When I edit the platform.xml with ES File Explorer and save it, it goes back to stock on reboot.
I tried to copy that file, edit in new location, save, and then:
1. When I overwrite platform.xml with ES File Explorer phone reboots and stock file is back
2. When I delete stock platform.xml to copy modified file in its place phone reboots and stock file is back.
Click to expand...
Click to collapse
Well, you're right. I ran into that issue also. Finally I think I found a solution more or less by accident:
I moved the platform.xml to /data/data
• Boot in recovery mode
• Mount system*and*data
• Start ADB shell (on a Windows PC cmd: “adb.exe shell”)
• Type the following commands:
1 cd /system/etc/permissions
2 mv platform.xml /data/data
3 ln -s /data/data/platform.xml platform.xml
4 exit
Reboot phone and do the necessary changes to the platform.xml file:
1 Using a root-enabled file manager navigate to /data/data
2 Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3 Add an additional line containing the group definition for this permission: <group gid=”media_rw” />
4 Save the changes to the file.
5 Restart the phone.
Once done I moved the file back:
• Boot in recovery mode
• Mount system*and*data
• Start ADB shell (on a Windows PC cmd: “adb.exe shell”)
• Type the following commands:
1 cd /data/data
2 mv platform.xml /system/etc/permissions
3 exit
After that the changed file survived several reboots so far.
As always: If you also try it that way - it's on your own risk...
The following fixed apps write access to the SD card on my rooted (I followed this to root my phone http://forum.xda-developers.com/showthread.php?t=2066390 ) HTC One M8 from T-Mobile (Android 4.4.2, Sense 6.0) with TWRP recovery:
1. Copy platform.xml from /system/etc/permissions to SD card or internal memory with ES File Explorer or any other way.
2. Open copied platform.xml in new location and edit it according to http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/ (Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission. Add an additional group definition for this permission: <group gid=”media_rw” />)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. Save the changes to the file.
4. Turn phone off.
5. Press and hold volume down and power buttons to boot into TWRP recovery.
6. Press volume down until "recovery" is highlighted, then press power button to boot into recovery.
7. Back up your phone before proceeding just in case something goes wrong.
8. In TWRP recovery mount system partition. This took me a while to figure it out as otherwise you can't find and overwrite stock platform.xml in /system/etc/permissions and it is not mounted by default.
9. In TWRP recovery go to advanced and copy the platform.xml from location you saved the edited copy to /system/etc/permissions and overwrite the stock platform.xml with edited copy.
10. Reboot
11. Apps have write access to SD card and SD is fixed.
Me too
Can someone email me the platform.xml file from an HTC one m8 please
my email is nickbruton at gmaildotcom
kw1mx5 said:
Hi - I'm desperately hoping someone can help....
In the process of endeavouring to enable RW access to my UK HTC One M8 (O2) I've sucessfully rooted and installed the SDFix from Next App in the hope that it would perform the necessary mod to the platform.xml file in /system/etc/permissions but it failed because it didn't recognise the file as xml.
I've checked into it and I can see that the file itself has become corrupt and is full of spurious korean (probably) text.
I'm desperately hoping someone would please email me a copy of their platform.xml file so I can overwrite this corrupt one as I don't dare switch my phone off until it has a chance of booting.
I've looked for a copy of the stock ROM but cannot see the wood for the trees.
I imagine the file from any HTC One M8 variant will do - certainly any viable platform.xml file would be better than a file full of garbage, although ideally for the UK model would probably be wise.
my email is etherkeiffer at the google email domain thanks in anticipation guys!
p.s. I appreciate this is kind of dev related but I don't have enough posts to post in that forum and this is so urgent as I don't dare switch my phone off for fear of bricking it
Click to expand...
Click to collapse
Help please
Dont need the platform.xml file, but after changing mine, I rebooted and lots of services failed, titanium backup crashes with Unfortunatley Titanium Backup has stopped.
adb doesnt seem to want to work anymore, can anyone help?
---------- Post added at 01:07 PM ---------- Previous post was at 12:38 PM ----------
What is the correct access mode on /system/etc/permissions/platform.xml ??
Sn8kbordin said:
The following fixed apps write access to the SD card on my rooted (I followed this to root my phone http://forum.xda-developers.com/showthread.php?t=2066390 ) HTC One M8 from T-Mobile (Android 4.4.2, Sense 6.0) with TWRP recovery:
1. Copy platform.xml from /system/etc/permissions to SD card or internal memory with ES File Explorer or any other way.
2. Open copied platform.xml in new location and edit it according to http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/ (Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission. Add an additional group definition for this permission: <group gid=”media_rw” />)
3. Save the changes to the file.
4. Turn phone off.
5. Press and hold volume down and power buttons to boot into TWRP recovery.
6. Press volume down until "recovery" is highlighted, then press power button to boot into recovery.
7. Back up your phone before proceeding just in case something goes wrong.
8. In TWRP recovery mount system partition. This took me a while to figure it out as otherwise you can't find and overwrite stock platform.xml in /system/etc/permissions and it is not mounted by default.
9. In TWRP recovery go to advanced and copy the platform.xml from location you saved the edited copy to /system/etc/permissions and overwrite the stock platform.xml with edited copy.
10. Reboot
11. Apps have write access to SD card and SD is fixed.
Click to expand...
Click to collapse
For those of us who use CWM / Philz, you can also mount system and do it over adb shell.
blondini said:
Can someone email me the platform.xml file from an HTC one m8 please
my email is nickbruton at gmaildotcom
Click to expand...
Click to collapse
Here is my modified platform.xml file from T-Mobile HTC One M8, Android 4.4.2
Looking to do an OTA update so I need the original unedited platform.xml file. I have tried manually editing it back to remove the sd fix (which worked), but the update still does not go through saying there is something wrong with the platform.xml again. If you have it please email it to me! jrsnively1 at gmail.
Thank you!