Workaround to write to Ext SDCARD? - One (M8) Q&A, Help & Troubleshooting

I just switched from my M7 to the M8 yesterday. I was excited to have the external SD for saving pictures, moving apps, but mostly to host my backups. I have since unlocked my bootloader and rooted the device. Unfortunately I'm unable to write any back ups through TWRP to the card. I was wondering if anyone found any fixes? I've already tried SDFix but it seems not to work with our device. Any help would be appreciated!
Sidenote: I know this probably belongs under development but I'm unable to post yet as my post count is too low. Thanks again!

iNiREALiZED said:
I just switched from my M7 to the M8 yesterday. I was excited to have the external SD for saving pictures, moving apps, but mostly to host my backups. I have since unlocked my bootloader and rooted the device. Unfortunately I'm unable to write any back ups through TWRP to the card. I was wondering if anyone found any fixes? I've already tried SDFix but it seems not to work with our device. Any help would be appreciated!
Sidenote: I know this probably belongs under development but I'm unable to post yet as my post count is too low. Thanks again!
Click to expand...
Click to collapse
You will need to edit platform.xml file in/system/etc. Are you comfortable ?

I'm not sure. If there was a tutorial that was available I could possibly follow it. Otherwise is this something that could be included in future rom builds? I wouldn't mind waiting.
Sent from my HTC One_M8 using xda app-developers app

iNiREALiZED said:
I'm not sure. If there was a tutorial that was available I could possibly follow it. Otherwise is this something that could be included in future rom builds? I wouldn't mind waiting.
Sent from my HTC One_M8 using xda app-developers app
Click to expand...
Click to collapse
Look for nextapp's SDFix in the play store.. Root and system write protection off is required. It basically edits the file for you (also backs up the original)

silentvisitor said:
You will need to edit platform.xml file in/system/etc. Are you comfortable ?
Click to expand...
Click to collapse
Could you detail the edits for reference anyway please? I'll need to know shortly too.

graffixnyc said:
Look for nextapp's SDFix in the play store.. Root and system write protection off is required. It basically edits the file for you (also backs up the original)
Click to expand...
Click to collapse
The app worked for me!

graffixnyc said:
Look for nextapp's SDFix in the play store.. Root and system write protection off is required. It basically edits the file for you (also backs up the original)
Click to expand...
Click to collapse
Thanks for the help. I tried sdfix this morning. It kept failing and rebooting. I'm rooted but if you could explain how I turn write protection off that would be awesome!

iNiREALiZED said:
Thanks for the help. I tried sdfix this morning. It kept failing and rebooting. I'm rooted but if you could explain how I turn write protection off that would be awesome!
Click to expand...
Click to collapse
the quick way? go to the module thread in Original development and follow the instructions. You'll have to do it at every boot though unless you're on a rom that supports init.d support. If you're on stock I made a guide to disable it on boot automatically without init.d support
My guide: http://forum.xda-developers.com/showthread.php?t=2702575

graffixnyc said:
the quick way? go to the module thread in Original development and follow the instructions. You'll have to do it at every boot though unless you're on a rom that supports init.d support. If you're on stock I made a guide to disable it on boot automatically without init.d support
My guide: http://forum.xda-developers.com/showthread.php?t=2702575
Click to expand...
Click to collapse
Sorry if I'm missing something totally obvious. I went and read the thread. I download the file with extension .ko. Copied it to root of internal memory. Opened up terminal app and typed "sh" then used command "insmod /storage/sdcard0/wp_mod.ko"
Am I missing something?

iNiREALiZED said:
Sorry if I'm missing something totally obvious. I went and read the thread. I download the file with extension .ko. Copied it to root of internal memory. Opened up terminal app and typed "sh" then used command "insmod /storage/sdcard0/wp_mod.ko"
Am I missing something?
Click to expand...
Click to collapse
su
not sh..
type su
hit enter
then type
insmod /storage/sdcard0/wp_mod.ko it wont show you any output or anything.. if it brings your back to the terminal prompt it ran right

graffixnyc said:
su
not sh..
type su
hit enter
then type
insmod /storage/sdcard0/wp_mod.ko it wont show you any output or anything.. if it brings your back to the terminal prompt it ran right
Click to expand...
Click to collapse
I tried it again using "su". I'm pretty sure that is what I used the first time as well because when I entered the command the super user prompt came up to allow access for terminal. Same results. Didn't see any confirmation. Exited app and tried running SDFix and failed again. I then followed your link to your thread and followed step by step. Got all the way to the point where I was trying to save the text document at the end and got the prompt that I could not save the file.
I'm usually pretty good at following tutorials and I'm sure I'm not skipping steps but who knows. I think this one has me defeated lol.

If you put it on your SD card try just /sdcard/wp_mod.ko
Sent from my HTC One using Tapatalk

If you run the command.. And then run it again. It will tell you it already exists that's how I figured out it ran ok..
Sent from my HTC One using Tapatalk

backfromthestorm said:
Could you detail the edits for reference anyway please? I'll need to know shortly too.
Click to expand...
Click to collapse
Sure. Here it is:
You need to make following change to platform.xml in /system/etc.
Add <group gid="Media_rw"/> under WRITE_EXTERNAL_STORAGE and WRITE_MEDIA_STORAGE(or similar).
Save. Set Permission to rw-r-r or 644.
Reboot and Enjoy
Good luck :good:

silentvisitor said:
Sure. Here it is:
You need to make following change to platform.xml in /system/etc.
Add <group gid="Media_rw"/> under WRITE_EXTERNAL_STORAGE and WRITE_MEDIA_STORAGE(or similar).
Save. Set Permission to rw-r-r or 644.
Reboot and Enjoy
Good luck :good:
Click to expand...
Click to collapse
Well I ran through both tutorials (yours and the others) once again. Entered the command twice to confirm and got the message "failed file already exists". So I'm assuming that part went through fine but still unable to run SDFix successfully or edit the install_recovery.sh file. Wouldn't allow me to save through es text edit or the standard one.
So now I'm trying to manually change the platform.xml file. When I navigate to system/etc I don't see any file named "platform.xml". Also tried a search through es file explorer and couldn't find any file. Any thoughts?

iNiREALiZED said:
Well I ran through both tutorials (yours and the others) once again. Entered the command twice to confirm and got the message "failed file already exists". So I'm assuming that part went through fine but still unable to run SDFix successfully or edit the install_recovery.sh file. Wouldn't allow me to save through es text edit or the standard one.
So now I'm trying to manually change the platform.xml file. When I navigate to system/etc I don't see any file named "platform.xml". Also tried a search through es file explorer and couldn't find any file. Any thoughts?
Click to expand...
Click to collapse
My apologies.
Its /system/etc/Permission/platform.xml

iNiREALiZED said:
Well I ran through both tutorials (yours and the others) once again. Entered the command twice to confirm and got the message "failed file already exists". So I'm assuming that part went through fine but still unable to run SDFix successfully or edit the install_recovery.sh file. Wouldn't allow me to save through es text edit or the standard one.
So now I'm trying to manually change the platform.xml file. When I navigate to system/etc I don't see any file named "platform.xml". Also tried a search through es file explorer and couldn't find any file. Any thoughts?
Click to expand...
Click to collapse
Are you mounting it as r/w in the file explorer? It doesn't seem like you're doing that. I know the module works.. You can't just install the module and it's magically writable.. you still have to make it r/w in a file explorer before you make any changes. I don't use es. I use root explorer and there is a r/w button on top.

graffixnyc said:
Are you mounting it as r/w in the file explorer? It doesn't seem like you're doing that. I know the module works.. You can't just install the module and it's magically writable.. you still have to make it r/w in a file explorer before you make any changes. I don't use es. I use root explorer and there is a r/w button on top.
Click to expand...
Click to collapse
Wow. Excuse my ignorance. I wasn't doing that. I downloaded root explorer and used the button to mount as you mentioned and viola I was able to save the edits! I'm now able to create folders on the ext SD. Still get an error when trying to backup from twrp but I guess that's an issue for another day.
I really appreciate all the help!

iNiREALiZED said:
Wow. Excuse my ignorance. I wasn't doing that. I downloaded root explorer and used the button to mount as you mentioned and viola I was able to save the edits! I'm now able to create folders on the ext SD. Still get an error when trying to backup from twrp but I guess that's an issue for another day.
I really appreciate all the help!
Click to expand...
Click to collapse
As of now recovery doesn't support exfat formatted cards, If your sd card is formatted as exfat it will fail in recovery. You need to either format your external sd card to fat32 or just wait until the recovery is updated to support exfat. It will once they get kernel source code

graffixnyc said:
As of now recovery doesn't support exfat formatted cards, If your sd card is formatted as exfat it will fail in recovery. You need to either format your external sd card to fat32 or just wait until the recovery is updated to support exfat. It will once they get kernel source code
Click to expand...
Click to collapse
How far out do you think that is? I was figuring I could just get a cheaper card for my backups. Only thing is if I remember correctly Fat32 only supports up to 4GB files correct? I remember my backups being a tad over that so getting another card might not even make a difference.

Related

Gmail and Market blocked in China

Hi All,
I'm one of the unlucky ones stuck in the middle of the power struggle between the Chinese government and Google, and having my Gmail and Market rights rescinded (I only bought the damn phone yesterday!). Having scanned the forums here, it appears that one way in which I can log into the Gmail service and Market on my phone is to edit my hosts file. However, despite the fact my phone is rooted, and that I can pull, and edit, the hosts file, I CANNOT push it back onto the device. It just doesn't appear back in the folder, and after I have reset the device, the original, unedited hosts file makes an unwelcome reappearance. I've tried the adb stuff through Terminal on my Mac, editing it through Astro and through Estrongs File Manager, and it fails each time. I'm just stumped. I would love to get this sorted out if anyone else can help me?
Cheers!
Sorry, but bump!
Anyone out there help? In a similar boat?
me too!
I am having the same exact problem.
hxxp://hiapk.com/bbs/thread-278678-1-1.html
maybe this is a solution but I can't read chinese!
I could weep....
I can read Chinese, and have followed the instructions TO THE LETTER (it says to use Root Explorer, mount the file system as read/write, change the file, mount again to read only, and reboot). Every time I do, the hosts file just simply vanishes from the file list. I reboot the phone, connect to Wifi, and the damned original hosts file reappears again. Can anyone help??????
Try this one...
it just fixed my phone!
thread-279911-1-1.html
Could you post that link again? It didn't come through properly.
Thanks
Same problem here .
Live in shanghai . Stuck with my desire phone.
It works!!!!!!!!!!
Stick this file I've attached to this post on the root of your SD card. Boot into recovery. Install the zip (no need to wipe). Reboot, and your phone works!
edit: oh, and thanks ensup for pointing me in the right direction!
Thanks !!!!! it works for me also
is there someone in shanghai who can help me in this booting stuff of htc desire phone .
not good in this new mobile tech. world .
Pls can u tell me how do u stick the file into the boot of the sd card . Thx
I just figured out how to boot recovery by some other site .
I have android 2.1 in my desire . how can i root it just to change hosts files?
Cocytan said:
It works!!!!!!!!!!
Stick this file I've attached to this post on the root of your SD card. Boot into recovery. Install the zip (no need to wipe). Reboot, and your phone works!
edit: oh, and thanks ensup for pointing me in the right direction!
Click to expand...
Click to collapse
What does this file exactly do?
LOL ... The GREAT WALL of China ...
Gmail and Google services are workable from this thur in China
Cocytan said:
It works!!!!!!!!!!
Stick this file I've attached to this post on the root of your SD card. Boot into recovery. Install the zip (no need to wipe). Reboot, and your phone works!
edit: oh, and thanks ensup for pointing me in the right direction!
Click to expand...
Click to collapse
Can anyone help? how to install the zip if I boot into recovery module and I only see update.zip and NOT FIX_hosts.zip?
Thanks in advance
vennstrom said:
Can anyone help? how to install the zip if I boot into recovery module and I only see update.zip and NOT FIX_hosts.zip?
Thanks in advance
Click to expand...
Click to collapse
you go to install .zip from sd card, then choose .zip from sd card
Managed to find how (I'm using GOT OR)
Just put the file in update folder of Open Recovery, boot to GOT OR go find miscellaneous and find the update file there...run it.
and it gave "error (status 4)"
___________________________________________________________
Tried manually replacing the host file using root explorer...doesn't work as well.
____________________________________________________________
using WiFi without the host file is fine, everything work normal..but not through mobile network..
GFW huh...

Unlocking from TMobile UK

Hi
I'm probably a bit dumb but I cant seem to find much info on unlocking my Defy from TMOBILE, is it possible for free? If not any recommendations where to get it unlocked.
dealstokie said:
Hi
I'm probably a bit dumb but I cant seem to find much info on unlocking my Defy from TMOBILE, is it possible for free? If not any recommendations where to get it unlocked.
Click to expand...
Click to collapse
http://modmymobile.com/forums/637-motorola-defy-general/563414-soft-unlock-motodefy-motofan-ru.html
Hi
Thanks for the reply, can you give me a breakdown on how to do this? What to install first ect?
Come over form Win Mobile, can unlock that side of things but I'm still getting my head around android !
please translate this page for more information..
http://forum.motofan.ru/index.php?showtopic=1728077&st=80
you need to use cm7 custom rom first..
tegezan said:
please translate this page for more information..
http://forum.motofan.ru/index.php?showtopic=1728077&st=80
you need to use cm7 custom rom first..
Click to expand...
Click to collapse
Hi
Do you have to buy rootexplorer from the market?
Got as far as cm7 so far
You can use free root explorers like Yaffs Explorer made by one of Defy CM7 devs, or Super Manager. Both are available for free on Android Market.
Hi ok downloaded yaffs.
Download the software and put the system folder into my root of the sd card what do I do next?
Can anyone help still stuck....
Hi mate. You need to put them in the system on your phone not SD card. Put them in the directories exactly the same as the zip file. Ie copy paste to those directories
Sent from my MB525 using XDA App
Jakethepeg said:
Hi mate. You need to put them in the system on your phone not SD card. Put them in the directories exactly the same as the zip file. Ie copy paste to those directories
Sent from my MB525 using XDA App
Click to expand...
Click to collapse
Thanks for that !
However still not working I open the system file on my sd card , copy bootmenue file, then go to system on phone then mark the original bootmenue file and paste , did that for both files but still asking me for a code to use another sim card !
What I did was copying just the specific files inside of the folders:
init.mapphone_umts from 2nd-init from bootmenu
and
bp_ptc from bin
Now make sure to press Mount R/W in the top of the android file system.
Hope it helps...
dealstokie I suggest to wait someone more experienced to do it and test it otherwise you might softbrick your Defy. Meanwhile you can look for alternate (not free) methods to unlock your Defy as this might be cheaper than buying a new Defy.
I'm lucky and I have an unlocked Defy therefore I'm not so eager to try it, but maybe you are lucky too and there will be someone brave enough to do it.
7gismo said:
What I did was copying just the specific files inside of the folders:
init.mapphone_umts from 2nd-init from bootmenu
and
bp_ptc from bin
Now make sure to press Mount R/W in the top of the android file system.
Hope it helps...
Click to expand...
Click to collapse
Thanks for your help, ive done the files but the mount r/w - I don't know where that is ! Using yaffs explorer btw
I don't think I will soft brick but if I do I can just reinstall?
dealstokie said:
Thanks for your help, ive done the files but the mount r/w - I don't know where that is ! Using yaffs explorer btw
I don't think I will soft brick but if I do I can just reinstall?
Click to expand...
Click to collapse
Here's a screenshot of a Root explorer I used for the soft unlock method:
View attachment 727983
Note the Mount R/W in the white rectangle...press that button, so you'll get Mounted as r/w looking like this:
View attachment 727985
the pictures were taken from my SGS2 though, not the Defy one, so just don't get confused by it
7gismo said:
Here's a screenshot of a Root explorer I used for the soft unlock method:
View attachment 727983
Note the Mount R/W in the white rectangle...press that button, so you'll get Mounted as r/w looking like this:
View attachment 727985
Click to expand...
Click to collapse
What root explorer did you use? - worked that out by screen shot.
So here's what Ive done - Replaced the 2 files with the 2 new files in there correct folders, to do that I had to change mount r/w to mount r/o it let me place the files there then I exit then turn off change sim card and still not working !
dealstokie said:
What root explorer did you use?
Click to expand...
Click to collapse
https://market.android.com/details?id=com.speedsoftware.rootexplorer&feature=search_result:)
Done all that, done the mount think and still not working ! do you have to press mount again AFTER you have pasted the files?
dealstokie said:
Done all that, done the mount think and still not working ! do you have to press mount again AFTER you have pasted the files?
Click to expand...
Click to collapse
Man, I don't know why it isn't working for you
I mean, I just followed instructions from that russian website (translated by google) and it worked the first time...unless your defy is kind of cursed
All I can do is wish you good luck and good night (I'm tired now, really).
P.S.: try repeating same copy/paste steps with the same locked sim card inserted while turning the phone on/off say two times in a row and see what happens, might help, dunno...

Help with swapping int mem and SD card

New to all this so proceeding slow and cautiously. Recently rooted my Acer A100 with ota ICS installed. When trying to swap SD card and internal memory using Crossix directions I ran into an error msg that I haven't seen posted by anyone. The only difference I can find is his directions recommend using Root Explorer and I am currently using Root Browser Lite. Anyway when I go to rename install-recovery.sh to .bak it says Root Browser Lite is granted Superuser access but the operation fails. I looked at the Permissions for the file and they are rwxr--r-- I tried to change the Permissions to rwxrwxrwx and got an error msg that said "Changing permissions was not successful. Please note that some file systems do not allow permission changes." Would using Root Explorer change anything? Any help or suggestions would be appreciated.
Sounds like a root issue, try rebooting, opening superuser first then try.... unless you already put the file there and permissions aren't correct, that will brick you! If you already did force close super user. Remember if all else fails you can use Adb.
sent from your future.
apsiape said:
New to all this so proceeding slow and cautiously. Recently rooted my Acer A100 with ota ICS installed. When trying to swap SD card and internal memory using Crossix directions I ran into an error msg that I haven't seen posted by anyone. The only difference I can find is his directions recommend using Root Explorer and I am currently using Root Browser Lite. Anyway when I go to rename install-recovery.sh to .bak it says Root Browser Lite is granted Superuser access but the operation fails. I looked at the Permissions for the file and they are rwxr--r-- I tried to change the Permissions to rwxrwxrwx and got an error msg that said "Changing permissions was not successful. Please note that some file systems do not allow permission changes." Would using Root Explorer change anything? Any help or suggestions would be appreciated.
Click to expand...
Click to collapse
Check mount r/w while in /system.
Tapatalked from my Galaxy S II.
Thanks
Thanks. That did it. Was trying to change it in the etc folder but not under the system parent folder. You guys are great!!!
apsiape said:
Thanks. That did it. Was trying to change it in the etc folder but not under the system parent folder. You guys are great!!!
Click to expand...
Click to collapse
Its because /system is a partition, not a directory, so you have to mount the partition r/w to get it in the folders and files on it.
Tapatalked from my Galaxy S II.

path for external sd card ?

I'm trying to get an app to work and have to write a path for the external sd card, can I just use /storage/external_SD ?
try this.
mjb152 said:
I'm trying to get an app to work and have to write a path for the external sd card, can I just use /storage/external_SD ?
Click to expand...
Click to collapse
use this it might help
You can get the path of sdcard from this
code:
String path = Environment.
getExternalStorageDirectory
().getAbsolutePath();
Then specify the foldername and file
name.
if you are using an emulator, double-check
to make sure that you have filled in a
value for the SD Card size.
for kk permission is changed I hope you know.
I can provide code for it also.
for kk-
Your app can not read shared files on the external
storage when running on Android 4.4, unless your app
has the READ_EXTERNAL_STORAGE permission. That
is, files within the directory returned by
getExternalStoragePublicDirectory() are no
longer accessible without the permission. However, if
you need to access only your app-specific directories,
provided by getExternalFilesDir() , then you do
not need the READ_EXTERNAL_STORAGE permission
@SidDev said:
use this it might help
You can get the path of sdcard from this
code:
String path = Environment.
getExternalStorageDirectory
().getAbsolutePath();
Then specify the foldername and file
name.
if you are using an emulator, double-check
to make sure that you have filled in a
value for the SD Card size.
for kk permission is changed I hope you know.
I can provide code for it also.
for kk-
Your app can not read shared files on the external
storage when running on Android 4.4, unless your app
has the READ_EXTERNAL_STORAGE permission. That
is, files within the directory returned by
getExternalStoragePublicDirectory() are no
longer accessible without the permission. However, if
you need to access only your app-specific directories,
provided by getExternalFilesDir() , then you do
not need the READ_EXTERNAL_STORAGE permission
Click to expand...
Click to collapse
coo, thanks !
mjb152 said:
coo, thanks !
Click to expand...
Click to collapse
welcome and you could have pressed the thanks button.
@SidDev said:
welcome and you could have pressed the thanks button.
Click to expand...
Click to collapse
If he has root this will help:
https://play.google.com/store/apps/details?id=nextapp.sdfix
=
http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/
I must have root to fix the SD problems ? (can't write to sd)
It a big probleam if google do it. but LG & S4 & Note 3 have SD what should they do with no ROOT?
what about this?
http://www.instructables.com/id/How-to-bypass-Android-44-KitKat-external-SD-write-/
nope he wants something else
u1988 said:
If he has root this will help:
https://play.google.com/store/apps/details?id=nextapp.sdfix
=
http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/
I must have root to fix the SD problems ? (can't write to sd)
It a big probleam if google do it. but LG & S4 & Note 3 have SD what should they do with no ROOT?
what about this?
http://www.instructables.com/id/How-to-bypass-Android-44-KitKat-external-SD-write-/
Click to expand...
Click to collapse
you got it completely wrong, he wants something else.
@SidDev said:
you got it completely wrong, he wants something else.
Click to expand...
Click to collapse
Oh sorry! :cyclops:
u1988 said:
Oh sorry! :cyclops:
Click to expand...
Click to collapse
no problem buddy.
and what was the answer???!!!

[Q] LG G3 Lollipop - No Internal SD Card?

I have a strange problem and I haven't been able to find a resolution online. I'm hoping someone smarter than me can offer a solution.
I have an AT&T LG G3 (LG-D850). When I got it, it had stock KK. I rooted it with Bump and everything was cool. I stayed with stock.
Last night I upgraded it to Lollipop using the stock, bump'd LG-D850 20F Lollipop 5.0.1 ROM from autoprime. I didn't run into any problems with the install. The phone appeared to be working fine.
However, today I'm having trouble with the internal storage. When I try to download a file from the internet, it's failing. In the stock browser, it just fails. Downloads says "<Unknown> Failed." In Firefox, it tells me "Cannot download file because SD card is in use." In Chrome, it tells me "No SD card."
I'm also not able to move files to or from internal storage. I can cut, copy, and paste files from one folder on my external card to another on my external. However, I can't cut, copy, or paste files from one folder in my internal storage to another folder in my internal or external storage. I've tried both the stock file explorer as well as FX.
I tried the SDFix app from NewApp on the off chance that it would help (I read somewhere it would also work on L), but it had no effect.
I can still download apps from the Play store and install them. However, if I create a new file in QuickOffice, I can't save it ("Failed to save document.") I can navigate to root and copy/cut/paste files from the data/app folder to my external card and other folders. I think the issue is the system/sdcard folder. The owner/group on the folder is root and read, write, and exec are all checked.
Does anyone know what the permissions on that folder should be? Or if that's really my problem at all?
Thanks.
kragar00 said:
I have a strange problem and I haven't been able to find a resolution online. I'm hoping someone smarter than me can offer a solution.
I have an AT&T LG G3 (LG-D850). When I got it, it had stock KK. I rooted it with Bump and everything was cool. I stayed with stock.
Last night I upgraded it to Lollipop using the stock, bump'd LG-D850 20F Lollipop 5.0.1 ROM from autoprime. I didn't run into any problems with the install. The phone appeared to be working fine.
However, today I'm having trouble with the internal storage. When I try to download a file from the internet, it's failing. In the stock browser, it just fails. Downloads says "<Unknown> Failed." In Firefox, it tells me "Cannot download file because SD card is in use." In Chrome, it tells me "No SD card."
I'm also not able to move files to or from internal storage. I can cut, copy, and paste files from one folder on my external card to another on my external. However, I can't cut, copy, or paste files from one folder in my internal storage to another folder in my internal or external storage. I've tried both the stock file explorer as well as FX.
I tried the SDFix app from NewApp on the off chance that it would help (I read somewhere it would also work on L), but it had no effect.
I can still download apps from the Play store and install them. However, if I create a new file in QuickOffice, I can't save it ("Failed to save document.") I can navigate to root and copy/cut/paste files from the data/app folder to my external card and other folders. I think the issue is the system/sdcard folder. The owner/group on the folder is root and read, write, and exec are all checked.
Does anyone know what the permissions on that folder should be? Or if that's really my problem at all?
Thanks.
Click to expand...
Click to collapse
set up adb then typ this commands
Code:
adb shell
su
restorecon -v -R /data/media
@suljo94 Awesome! That fixed it! :good:
Googleing restorecon brought up a whole bunch of hits about this problem along with this solution. Too bad I couldn't find the answer unless I already knew the answer
this should be added to the autoprime thread or on the q&a for all variants.
Is there anyway to fix internal sdcard? i get bricket on a F460K and cant install .zip files in recovery philz, when i choose zip from/sdcard resolves "Couldn't open directory" and "ni files found" but i can put files in "sdcard" via adb =/, anyone know a way to fix it?. thanks!.
@bolillo It's in the main thread now, first post. It looks like it was added on 3/19.
kragar00 said:
@bolillo It's in the main thread now, first post. It looks like it was added on 3/19.
Click to expand...
Click to collapse
Ooooo well sorry jajaja first thing that popped up in google was this lol
Sent from my LG-D850 using XDA Free mobile app
@mafury did you try the solution @Sulijo94 posted? That fixed my problem.
Can you install via adb?
kragar00 said:
@mafury did you try the solution @Sulijo94 posted? That fixed my problem.
Can you install via adb?
Click to expand...
Click to collapse
Can't run this command on adb shell =(.
mafury said:
Can't run this command on adb shell =(.
Click to expand...
Click to collapse
Did you try from a terminal emulator on phone?
Sent from my LG-D850 using XDA Free mobile app
No, the phone bricked, i recover delete all user data and use kdz with LG Flash tools2014.
I'm failing at this error
suljo94 said:
set up adb then typ this commands
Code:
adb shell
su
restorecon -v -R /data/media
Click to expand...
Click to collapse
I get this error. Please can somebody help?
tauseefalik said:
I get this error. Please can somebody help?
Click to expand...
Click to collapse
format your internal sd (you will lose everything not on externl sd card,apps data)
suljo94 said:
format your internal sd (you will lose everything not on externl sd card,apps data)
Click to expand...
Click to collapse
I tried using this command instead an it worked for me.
"adb shell
su
restorecon -FR /data/media/0"
P.S i'm using no SD Card
Would this work for media (ie. mp3)?
I can't seem to find a fix.. All my music doesn't show in any music app and can't find a solution.. Already checked for .nomedia files, cleared media storage and forced a rescan for media and and formatted internal and external SD cards... No luck.
Thanks
Sent from my LG-D852 using XDA Free mobile app
Very good!!!
suljo94 said:
set up adb then typ this commands
Code:
adb shell
su
restorecon -v -R /data/media
Click to expand...
Click to collapse
Fantastic!! I had the same problem with my LG G3 D850. I installed the stock rom from the TWRP recovery and was with this same problem. After performing this process my problem was solved !! But the pictures of the Camera application are not saved in the internal memory. What should I do to fix this??
kragar00 said:
I have a strange problem and I haven't been able to find a resolution online. I'm hoping someone smarter than me can offer a solution.
I have an AT&T LG G3 (LG-D850). When I got it, it had stock KK. I rooted it with Bump and everything was cool. I stayed with stock.
Last night I upgraded it to Lollipop using the stock, bump'd LG-D850 20F Lollipop 5.0.1 ROM from autoprime. I didn't run into any problems with the install. The phone appeared to be working fine.
However, today I'm having trouble with the internal storage. When I try to download a file from the internet, it's failing. In the stock browser, it just fails. Downloads says "<Unknown> Failed." In Firefox, it tells me "Cannot download file because SD card is in use." In Chrome, it tells me "No SD card."
I'm also not able to move files to or from internal storage. I can cut, copy, and paste files from one folder on my external card to another on my external. However, I can't cut, copy, or paste files from one folder in my internal storage to another folder in my internal or external storage. I've tried both the stock file explorer as well as FX.
I tried the SDFix app from NewApp on the off chance that it would help (I read somewhere it would also work on L), but it had no effect.
I can still download apps from the Play store and install them. However, if I create a new file in QuickOffice, I can't save it ("Failed to save document.") I can navigate to root and copy/cut/paste files from the data/app folder to my external card and other folders. I think the issue is the system/sdcard folder. The owner/group on the folder is root and read, write, and exec are all checked.
Does anyone know what the permissions on that folder should be? Or if that's really my problem at all?
Thanks.
Click to expand...
Click to collapse
Not working. I connected my phone,they can't find it in when i type adb devices. + can't download anything from internet,only from google play.
P760x said:
Not working. I connected my phone,they can't find it in when i type adb devices. + can't download anything from internet,only from google play.
Click to expand...
Click to collapse
@P760x when you type adb devices, what do you get? If it doesn't list any devices you probably need to reinstall the phone drivers on your computer. If it does list your phone, then there's something else wrong.
kragar00 said:
@P760x when you type adb devices, what do you get? If it doesn't list any devices you probably need to reinstall the phone drivers on your computer. If it does list your phone, then there's something else wrong.
Click to expand...
Click to collapse
(i'm getting nothing)That's the whole point. My pc searches and founds my device. It perfectly worked on 4.1x JB, it founds instantly.
For some reason,when i connect my phone into mtp (Files transfer to pc) mode my pc can't find any items in phone,so does extraction applications in my phone,it's just all empty, even though i have gApps,custom kdz.
I tried with terminal emulator (android version) - it says permission denied,so i think that requires root? I would get instantly but i can't transfer or download anything to my phone...?
P760x said:
(i'm getting nothing)That's the whole point. My pc searches and founds my device. It perfectly worked on 4.1x JB, it founds instantly.
For some reason,when i connect my phone into mtp (Files transfer to pc) mode my pc can't find any items in phone,so does extraction applications in my phone,it's just all empty, even though i have gApps,custom kdz.
I tried with terminal emulator (android version) - it says permission denied,so i think that requires root? I would get instantly but i can't transfer or download anything to my phone...?
Click to expand...
Click to collapse
@P760x I noticed that I can't connect my phone in MTP mode unless developer options are on and USB debugging is on. I didn't have that problem on KK, only Lollipop.
If adb devices still doesn't list your phone after that, manually download and reinstall the phone drivers from LG. I've had multiple occasions when Windows eats those drivers, so that's the first place to start.
Hopefully that helps.

Categories

Resources