KitKat issue - Unable to delete stuff on ext SD card - Xperia Z3 Q&A, Help & Troubleshooting

Just got my Sony Xperia Z3. Still messing around to get a feel of the UI.
Was not able to uninstall File Commander as I find the UI badly design. So installed ASTRO File Manager, tried deleting a file from ext SD card. pops up a notice saying that due to KitKat design, 'write' to ext SD card is prohibited.
I uninstalled ASTRO File Manager and installed SOLID Explorer, deletion from ext SD card was not allowed as well.
Tried deleting same file using File Commander and it worked
{
"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"
}
!
Probably will try File Expert but expecting the same rejection.

It is a well known issue with KitKat and is brought in on purpose by google.
Basically in an effort to increase security protection to the user only system apps can write to the SDcard. There is a way around it but you need root. Just google "Write to SD card KitKat" for further information and how to revert it.

gregbradley said:
It is a well known issue with KitKat and is brought in on purpose by google. Basically in an effort to increase security protection to the user only system apps can write to the SDcard.
Click to expand...
Click to collapse
You believe in Santa Claus, too ?
Google tries to force you into using their cloud services, that's all magic.
But it's correct: You need root to edit the file platform.xml. After doing that, everything is ok again.
But DO NOT ROOT, yet ! You'll lose all DRM keys (making the horribly bad Z3 camera even worse) and X-Reality. And believe me: You really do not want to lose that.

Chefproll said:
You believe in Santa Claus, too ?
Click to expand...
Click to collapse
What does this mean?
Google tries to force you into using their cloud services, that's all magic.
Click to expand...
Click to collapse
If you say so
But it's correct: You need root to edit the file platform.xml. After doing that, everything is ok again.
But DO NOT ROOT, yet ! You'll lose all DRM keys (making the horribly bad Z3 camera even worse) and X-Reality. And believe me: You really do not want to lose that.
Click to expand...
Click to collapse
Yes I know, its an old issue and well known how to get around it. And trust me, if I want to unlock my bootloader I will.

The only way around it is to save files in your File Explorer's App folder. With FX Explorer, for example, save your files into Android/data/nextapp.fx/files/
You'll be able to write and delete all you want.
File Commander works across all folders because it's a system apk.

Presumably with root you could just convert your file manager app of choice to a system app with the likes of Titanium and it would then work ok? Or just use one that uses root anyway (like Root Explorer).

Work root you just add one line to platform.xml and then it works just like it did before
Sent from my D6603 using XDA Free mobile app

3Shirts said:
Presumably with root you could just convert your file manager app of choice to a system app with the likes of Titanium and it would then work ok? Or just use one that uses root anyway (like Root Explorer).
Click to expand...
Click to collapse
Of course, with root you can get around any software restriction. However, in 2 - 3 years it'll be moot (hopefully sooner). It's like when Android dropped the menu key and everyone was pissed. After 2 years no one cares about the lack of a menu key anymore.

Related

SOLVED Where do apps install

This will be a noob question but its really starting to irritate me, where do apps install on kit kat? I cannot find any apps other than system and sys-priv I have checked data/apps and I have checked my internal storage card
..
Sent from **Nexus 5 signal sucks**
dicecuber said:
..
Sent from **Nexus 5 signal sucks**
Click to expand...
Click to collapse
that's a stellar reply!
im dead serious guys I have over 100 apps installed and I cannot find the files, im specifically trying to see if I can get apn back and restore to work but I cannot find the file on my phone, I have gone folder by folder and im just not seeing it im not sure what im missing but im missing something. its been a long day and thought id just throw it up on here for some assistance.
Circaflex said:
This will be a noob question but its really starting to irritate me, where do apps install on kit kat? I cannot find any apps other than system and sys-priv I have checked data/apps and I have checked my internal storage card
Click to expand...
Click to collapse
/data/app and /system/app.
jd1639 said:
/data/app and /system/app.
Click to expand...
Click to collapse
/data/app doesn't exist for me, data does but no apps and system app doesn't show my apps from google play I also tried on sdcard data/app but nothing
basically for apn backup and restore to work I need to move the apk to sys/priv-app but I cant find the apk on my phone, this is turning into a very frustrating moment
Circaflex said:
/data/app doesn't exist for me, data does but no apps and system app doesn't show my apps from google play I also tried on sdcard data/app but nothing
basically for apn backup and restore to work I need to move the apk to sys/priv-app but I cant find the apk on my phone, this is turning into a very frustrating moment
Click to expand...
Click to collapse
Are you rooted?
Circaflex said:
/data/app doesn't exist for me, data does but no apps and system app doesn't show my apps from google play I also tried on sdcard data/app but nothing
basically for apn backup and restore to work I need to move the apk to sys/priv-app but I cant find the apk on my phone, this is turning into a very frustrating moment
Click to expand...
Click to collapse
they are in /data/app/, what are you using to find the files, a root enabled file explorer?
{
"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"
}
simms22 said:
they are in /data/app/, what are you using to find the files, a root enabled file explorer?
Click to expand...
Click to collapse
I am rooted, tried esfile explorer and slims built in from slimkat
ok so im a total idiot, for whatever reason es was not getting root access, nor was slimexplorer, rebooted and now they ask for root and I see the files, thanks guys its been a long day at the hospital
Now try find your keyboard app (if you don't use stock)
Sent from my Nexus 5 using Tapatalk

[TUT] Lending space for games data (Installing App Data on extSdCard) – [requires roo

N.B. Try this at your own risk. No one will be responsible with anything right or wrong you do.
Everyone is searching for a way to install apps on External micro SD Card, but as of Android 4.1.2 of the Galaxy Core, this option is unavailable.
Apps like AppMgr III, ext2sd, etc nothing works.
But here, I’m gonna show you a way to do this easily. But this method needs your phone to be rooted.
Search the forum to find Farmaroot to root your phone.
This method will make your phone thinks that its using the sdcard0,
but there will be a fake door which will led all app data to be on extSdCard.​
Required Apps:
Lucky Patcher​
Steps:
Download and install Lucky Patcher 3.9.3 (developers' website)
(optional) (do this if you want to move your existing app data and obb too) Copy/move the existing “sdcard0/Android/” folder to “extSdCard/Android/”.
If you don’t copy/move your existing apps might not work.
I recommend to move as existing apps will take up some extra card space.
Create a folder named “Android” on extSdCard if you skipped 2, or the folder is missing.
Open Lucky Patcher and click on the “Toolbox” button on the bottom.
{
"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"
}
Touch the “Directory Binder” option.
Select “Add new directory bind”.
On the first typer, browse to the “Android” folder on extSdCard; and on the second typer, browse to the “Android” folder on sdcard0.
Confirm with “Bind Directory”.
Now, all your existing apps’ data will be on extSdCard. And in future any apps which will be installed, will be installed on extSdCard too.
P.S.: You need internal storage space to install the APKs. This method will only give access to the app data to be on the extSdCard.
Thanks to ChelpuS for his amazing app.​
im just use directory bind, its simple.
or use GL to SD
NieeLz said:
im just use directory bind, its simple.
or use GL to SD
Click to expand...
Click to collapse
I use folder mount.
What I love about this tut, is that, whenever you install apps, it automatically mount the apps from extsdcard.
Unlike foldermount or apps2sd, everytime you install new apps, you need to manually mount them.
Thanks qstar.inc :good:
:highfive:
icesilver18 said:
What I love about this tut, is that, whenever you install apps, it automatically mount the apps from extsdcard.
Unlike foldermount or apps2sd, everytime you install new apps, you need to manually mount them.
Thanks qstar.inc :good:
:highfive:
Click to expand...
Click to collapse
though you need to be careful while starting the phone for the first time, open apps before patching done might replace all your data!
qstar.inc said:
though you need to be careful while starting the phone for the first time, open apps before patching done might replace all your data!
Click to expand...
Click to collapse
Damn, I lost all my installed apps and saves, then I have this "safe mode" in my left lower screen. http://www.svetandroida.cz/media/2013/05/safe-mode.gif
I guess I will go back and use my internal SD card.
icesilver18 said:
Damn, I lost all my installed apps and saves, then I have this "safe mode" in my left lower screen. http://www.svetandroida.cz/media/2013/05/safe-mode.gif
I guess I will go back and use my internal SD card.
Click to expand...
Click to collapse
never happened with me! What have you done actually?
qstar.inc said:
never happened with me! What have you done actually?
Click to expand...
Click to collapse
I think I messed up the settings of Lucky Patcher.
But its ok, I have all my apps backed up with TB.
Maybe I'll try folder mount instead.
icesilver18 said:
I think I messed up the settings of Lucky Patcher.
But its ok, I have all my apps backed up with TB.
Maybe I'll try folder mount instead.
Click to expand...
Click to collapse
If you want, you can try again and see the problem and let me know! Maybe I can update the TUT according to your results!

Problems transferring files to sdcard

I'm having trouble copying files (primarily music) to my sdcard. Either entire folders that are copied will show as empty, or only some of the files will copy. I also routinely get the message "your device might not be able to play this file", which I'm assuming is due to the fact that most of my music is in flac (does HTC assume most players don't know what to do with flac?).
Anybody else experiencing these bugs?
That's because kit kat doesn't support it. You have to use the xposed app "handle external storage" to be able to move stuff to your SD card
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Morocotopo0301 said:
That's because kit kat doesn't support it. You have to use the xposed app "handle external storage" to be able to move stuff to your SD card
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for the info. I'm still learning my way around KitKat (and Xposed).
Ok... after doing some more research (and playing with xposed and other things), the issue is not resolved. I've already edited the platform.xml file to enable writing to the sdcard, but it doesn't help with transferring files from pc to the device via usb. Additionally, files that I did successfully write to the sdcard do not appear in Root Explorer, even though r/w is enabled, and various other apps (players) can identify the files. Either I'm missing something obvious, or KitKat is really screwy. I'm starting to miss Jelly Bean on my old Rezound.
Or just use this and reboot once you use it.
https://play.google.com/store/apps/details?id=nextapp.sdfix
Sent from my HTC6525LVW
1ManWolfePack said:
Or just use this and reboot once you use it.
https://play.google.com/store/apps/details?id=nextapp.sdfix
Sent from my HTC6525LVW
Click to expand...
Click to collapse
Thanks, but I've already tried that. It only implements the same changes as manually editing platform.xml. Once that's been done, NextApp will display this message:
{
"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"
}
It works perfect for me. I go into app settings and moved Google Music and everything else I could to the SD card.
Sent from my HTC6525LVW
1ManWolfePack said:
It works perfect for me. I go into app settings and moved Google Music and everything else I could to the SD card.
Sent from my HTC6525LVW
Click to expand...
Click to collapse
I think you're misunderstanding what my problem is. I'm trying to move music files from my PC to my SDCARD. Not data from apps to the sdcard.
Freedom First said:
I think you're misunderstanding what my problem is. I'm trying to move music files from my PC to my SDCARD. Not data from apps to the sdcard.
Click to expand...
Click to collapse
Stock music player just won't pick em up? Won't read them?
Sent from my HTC6525LVW
1ManWolfePack said:
Stock music player just won't pick em up? Won't read them?
Sent from my HTC6525LVW
Click to expand...
Click to collapse
Stock player, Poweramp, Neutron player all will show something different for available files in the specified folders. Root Explorer won't show files that I put in a folder labeled "Audio Books", even though I drag-and-drop the files there using my PC, and the PC shows they're there. I put four audio books on my sdcard in the last coupled days (in mp3), and the files are all missing. Now, plugging it in to my PC, the files are nowhere to be found. They were there (at least some of them) a day ago. WTH?? The folder is there, but it's empty. So empty I can hear an echo in there...

[Q] Empty folder in the storage of the Nexus 5

Hello, this is my first post on XDA. I noticed yesterday that all the files and subfolders in the folder /storage/emulated/0/download
are apparently disappeared.
Three file managers, Total Commander, Astro File Manager, and X-plore, display that folder as empty.
Instead, that folder contained many eBooks, PDF manuals of several calculators, and some other documents.
The app Device Inspector, choosing the option "Storage & Memory", displays the following data:
Device Storage, Used 12.54 GB, Available 11.16 MB.
Memory, Used 1.44 GB, Available 379.23 MB.
Thus it looks like the download folder is still holding all the files I have previously stored in it,
mostly from my PC via WiFi.
The problem is not only due to the fact that the files are now non-accessible,
but it is also impossible to install new apps, due to the lack of available memory.
The first thing I tried was to power off the Nexus 5 and then power it on again,
in order to reset the system, but that didn't work.
Then I googled looking for a solution, but with no joy.
All I was able to find is the advice to re-format the storage and to copy all the files
into the storage again.
I found also the advice to use TestDisk, a software for the PC, able to recover data from
SD cards, USB sticks, and so forth.
In both cases it is needed to use a PC, and I have two at home, but now I am on Summer Holidays,
and the only other device I have here is another smartphone, a Nexus 4.
Anyway I have the backup of all my data, of course, both at home and on an USB stick I have taken with me, and by now I would like just to know how to free the storage space in order to be able to install some further apps, to store some other photos and/or videos, and so forth.
Thanks for any explaination.
check /sdcard/ in the root filesystem using root explorer. i bet thats where all your files are, not in /storage/emulated/0/download
{
"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"
}
simms22 said:
check /sdcard/ in the root filesystem using root explorer. i bet thats where all your files are, not in /storage/emulated/0/download
Click to expand...
Click to collapse
By now I cannot either install nor use Root Explorer, due to
a lack of memory and the fact that my phone is not yet rooted. I will try when I'll be back home.
In the meanwhile, I have seen that Total Commander, too,
can display the folder /sdcard/ under the folder Root of the Filesystem, but it looks like my files are not visibile.
Anyway, thank you for the reply.
Aiken-droid said:
By now I cannot neither install nor use Root Explorer, due to
a lack of memory and the fact that my phone is not yet rooted. I will try when I'll be back home.
In the meanwhile, I have seen that Total Commander, too,
can display the folder /sdcard/ under the folder Root of the Filesystem, but it looks like my files are not visibile.
Anyway, thank you for the reply.
Click to expand...
Click to collapse
anyways, thats where all my files always have always been, in the /sdcard/ in the root filesystem.

So I accidently deleted some video's and pictures from my gallery?

I've been trying tons of app and software on my pc? I cant seem to find them ? it happened few days ago should be still recoverable right ?? No I normally wouldn't delete anything unless I knew for sure it was backed up too cloud but some reason It wasn't connected or syncing files ugh Its work related idk what to do Please help me TY
Please anyone ??
Not sure how it is on your phone, in the gallery app on my phone, there is a 'Recently deleted' folder. From here, we can recover photos that were accidentally deleted within 30 days. I will upload a screenshot about this later.
{
"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"
}
Ty for reply, and I have the Samsung Galaxy S21 Ultra. And I emptied the recycling on accident because bi thought the files where uploaded to cloud like they usually are but for some reason my syncing got turned off somehow? So the files are completely gone I tried tons apps but allot of them won't go very deep scanning unless I'm rooted
Bump
So nothing can be done ? Im screwed
brianadam78 said:
I've been trying tons of app and software on my pc? I cant seem to find them ? it happened few days ago should be still recoverable right ?? No I normally wouldn't delete anything unless I knew for sure it was backed up too cloud but some reason It wasn't connected or syncing files ugh Its work related idk what to do Please help me TY
Click to expand...
Click to collapse
If you're talking about the mobile phone the best solution would be to root your phone and use DiskDigger.
dedq said:
If you're talking about the mobile phone the best solution would be to root your phone and use DiskDigger.
Click to expand...
Click to collapse
K well I was hoping I didn't have to root it, I won't be able to get OTA updates and use certain apps
brianadam78 said:
K well I was hoping I didn't have to root it, I won't be able to get OTA updates and use certain apps
Click to expand...
Click to collapse
I don't think you will be able to do anything if you don't root your phone.
I will try finding a way to hide the root for the sake of keeping the OTA.
dedq said:
I don't think you will be able to do anything if you don't root your phone.
I will try finding a way to hide the root for the sake of keeping the OTA.
Click to expand...
Click to collapse
Hmm how would I hide root ? And what about the apps that won't work while rooted ?
brianadam78 said:
Hmm how would I hide root ? And what about the apps that won't work while rooted ?
Click to expand...
Click to collapse
I suggest you search something about it on this forum because I haven't been hiding root for a very long time now. I think Magisk can help with that.
When files are wiped / deleted, the corresponding entry in the MFT ( the Master File Table is where a file's name and the chain of allocation units assigned to the file are stored ) is marked as re-useable, though the wiped / deleted files may still be physically present if the freed space has not been overwritten in the meantime.
IMO a forensic software is needed to extract physical content of the wiped / deleted files, will say to do a bitwise copy of this freed storage space Android's dd command typically is used what requires relevant Android's directories are mounted as RW what requires Android is rooted before.
Rooting Android is nothing else than to add su binary to Android's filesystem, preferredably to /data/local/tmp directory, what can get achieved via ADB.

Categories

Resources