Couldn't install on. USB storage or SD card - HTC One X+

Is anyone here running into problems installing apps from the app store? I have been getting the following error message the past few days whenever I install certain apps, but not others: "Couldn't install on USB storage or SD card."
I researched this error message and discovered that deleting a temp file (smdl2tmp1) from the phone in one of two directories should fix it. However, that file doesn't exist anywhere on my phone.
I've gone as far as wipe my phone completely (after backing up) and reinstalling the ROM, but no good.
Still scratching my head.
Sent from my Nexus 10 using Tapatalk

Same problem, I haven't been able to find a solution.
Sent from my HTC One X+ using Tapatalk

I've got the same issue on MagioROM's latest version with all my paid apps. Very frustrating. I wonder if it's because of a firmware incompatability? I'm reading about S4 users with the same issue.

toohsieh said:
I've got the same issue on MagioROM's latest version with all my paid apps. Very frustrating. I wonder if it's because of a firmware incompatability? I'm reading about S4 users with the same issue.
Click to expand...
Click to collapse
The issue is the temp files on the .android_secure...
The path on this folder is root of /sdcard
In ES Explorer make the hidden Files ON
and Delete all the contents of the .android_secure.........
try Installing the app it ll work.......

[email protected] said:
The issue is the temp files on the .android_secure...
The path on this folder is root of /sdcard
In ES Explorer make the hidden Files ON
and Delete all the contents of the .android_secure.........
try Installing the app it ll work.......
Click to expand...
Click to collapse
Hey, thanks for your reply. I actually do not have that folder on my root despite enabling hidden files. Otherwise I would have tried it out since it seems to be the common solution online...
Sent from my HTC One X+ using Tapatalk

I'm getting the same error "Couldn't install on. USB storage or SD card" with MagioROM R2 for ATT. I'm unable to install any paid apps.

same here with the MagioROM for AT&T.tried looking for that folder and it wasnt there.

toohsieh said:
Hey, thanks for your reply. I actually do not have that folder on my root despite enabling hidden files. Otherwise I would have tried it out since it seems to be the common solution online...
Sent from my HTC One X+ using Tapatalk
Click to expand...
Click to collapse
are u searching for that folder in /root I meant /sdcard
All the phones will have that folder by default..........
Open ES Explorer it takes u directly to sdcard......
From the menu enable Hidden Files u ll be able to see that Folder right on top of everything.......

[email protected] said:
are u searching for that folder in /root I meant /sdcard
All the phones will have that folder by default..........
Open ES Explorer it takes u directly to sdcard......
From the menu enable Hidden Files u ll be able to see that Folder right on top of everything.......
Click to expand...
Click to collapse
Those hidden folders do not exist with this ROM.
I wound up just installing the Blackout Extreme 4.2.2 release. It doesn't have the issue with installing paid apps. However I did have to pull the Twitter and Instagram Blinkfeed APKs from another ROM as the Blackout Extreme ROM stripped them. The R2 MagioROM stripped Instagram for blinkfeed too (much to my annoyance).

revelat10n said:
Those hidden folders do not exist with this ROM.
I wound up just installing the Blackout Extreme 4.2.2 release. It doesn't have the issue with installing paid apps. However I did have to pull the Twitter and Instagram Blinkfeed APKs from another ROM as the Blackout Extreme ROM stripped them. The R2 MagioROM stripped Instagram for blinkfeed too (much to my annoyance).
Click to expand...
Click to collapse
Yeah, I spent a long while hooking my phone up to various computers and operating systems attempting to figure out if the folders were just hidden in Root Explorer or ES File Explorer, but it looks like those folders just don't appear anywhere. I guess I'm switching back to Elegancia, but man, how disappointing.

revelat10n said:
Those hidden folders do not exist with this ROM.
I wound up just installing the Blackout Extreme 4.2.2 release. It doesn't have the issue with installing paid apps. However I did have to pull the Twitter and Instagram Blinkfeed APKs from another ROM as the Blackout Extreme ROM stripped them. The R2 MagioROM stripped Instagram for blinkfeed too (much to my annoyance).
Click to expand...
Click to collapse
May be its not as Simple as I thought....
Could be the ROM issue.....

Another fix
Hi guys
Just posted this fix in other thread, and thought you might also find it useful.
Just encountered the same problem guys. Searched all over and only solutions I've found was (time-consuming) unmounting the SD Card or deleting the smdl2tmp1.asec file.
Since I can't be bothered to UNMOUNT the SD Card everytime I install the app and the mentioned file can not be found in my system (Note 3) I found 3rd solution which solved my problem.
It works only on phones which have external SD Card.
Here's what you need to do (instruction for dummies )
1. Connect your phone or SD Card to your PC
2. Copy most important folders and files to your hard drive - photos, music, videos, apk's etc. (basically do a backup of those files)
3. Disconnect the phone from your PC
4. Go to settings in your phone (Settings>Storage>SD Card)
5. Format your SD Card.
6. Copy back the folders and files you backed up on your PC.
It worked for me, so I thought I'd share it with those who don't find "unmounting" and deleting smdl2tmp1.asec file helpful.
Hope this helps.
Good luck!!

Related

[Q] Problem with .nomedia and deleted files in ext_sd

Hi all,
I have been having a weird problem with my HTC flyer (unrooted, original GB rom) where from time to time it will create .nomedia file on the main directory of my sd card (ext_sd) so the files that i put in there do not get shown in picture gallery or media players. Usually i manually delete the file and do unmount - remount, which sometimes do the trick before the .nomedia re-appear.
On top of that, i just noticed as well, the files inside the directory in ext_sd start to go missing! The folders are still in tact, but my files inside the folders are missing..
Anyone can advise me how to troubleshoot this? Thanks!
Sent from my HTC Flyer P510e using Tapatalk
that's weird...my guess would be a dodgy app you've installed...i would do a factory reset and not install anything other than 'official' apps from known sources, like google apps or official dropbox, for 2 or 3 days to see if it keeps happening
you could also try to format your sd card
Bump! Similar Problem; playlist files disappear after media scanner completes
vToq said:
Hi all,
I have been having a weird problem with my HTC flyer (unrooted, original GB rom) where from time to time it will create .nomedia file on the main directory of my sd card (ext_sd) so the files that i put in there do not get shown in picture gallery or media players. Usually i manually delete the file and do unmount - remount, which sometimes do the trick before the .nomedia re-appear.
On top of that, i just noticed as well, the files inside the directory in ext_sd start to go missing! The folders are still in tact, but my files inside the folders are missing..
Anyone can advise me how to troubleshoot this? Thanks!
Sent from my HTC Flyer P510e using Tapatalk
Click to expand...
Click to collapse
I've had similar problems; I'm trying to transfer playlist files to an ext_sd. I can see the files transferred to a ext_sd directory. But as the "Media scanner running" completes I literally see the files disappear!
I've reformatted the SD card several times. This has only started to happen in the past few month but I can't see any new apps that I've installed. If anything I've uninstalled apps.
Sorry but this is on a Galaxy S Wifi media player (yes I know this is the Flyer, etc thread but it's the same problem so I'm trying to avoid splitting any information that might be found...)
Any help gratefully accepted.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A
hi,
i know i have different device, which is samsung galaxy note 10.1
but the funny thing is, i have the same issue as well.
although i run it on official 4.1.2 unrooted.
i think, the problem is one of our apk installed. but didnt find it yet. tried to uninstalling one by one, but still no clue.
if someone had solved this problem, i'd really appreciate to hear that

Can't delete directory on Internal Storage

tl;dr `rm -rf <directory>` returns "Directory not empty"
I noticed that the old folder for Google Currents [/storage/sdcard0/Android/data/com.google.android.apps.currents] kept showing up regardless of how many times I 'cleaned it' with the app SD Maid. ES File Explorer returns that it contains 7 folders and contains 0 bytes and cannot be deleted.
Instead of letting an app handle it, I just mounted my phone with go-mptfs and decided to `rm -rf` from there. That returns "Directory not empty". There's two folders each with the same amount of sub-folders with similar names. Both contain files that are registered as 4GB with crazy characters as their name [according to my file manager]. `ls -al` won't list anything in any of the directories, but it will spit out that it can't find anything.
`rm -rf` through adb shell spits out the same error as before and Windows Explorer shows the same files with 4GB sizes. Despite the files appearing to be deleted through a file manager they still appear on the phone.
I'm completely stumped here. The only idea I've come across that makes a little sense is fsck, but I'd like to hear other ideas before I venture into unknown territories.
Ideas?
I have had I think the same issue with fders in a few occasions. For a while what I was doing was just renaming them BAD. Since it would not let me delete them. I had the same kind of issues where something in the folder would just refuse to be deleted. I THINK some part of the file got corrupted between doing something on a windows machine and my phone.
After I had a few BAD, BAD1, Etc files I finally decided to back up all my WANTED/NEEDED files and apps or whatever I had on my sdcard (internal) to a PC. This took a while with almost the whole sdcard filled. Once it was done I was then able to go into recovery and format my sdcard (internal) via cwm recovery. Then I restored all my files/folders I wanted/needed back to phone. It is the ONLY WAY I was able to get rid of it. Hope this helps ya.
Sent from My SGH-I777 Running Spiderman Themed AOKP or Spiderman Themed CM10
Thanks for the idea! I forgot about CWM's ability to format the storage it detects. I feel that may be the way I have to go, but I'd like someone to comment on the fsck idea first.
SquidLord said:
Thanks for the idea! I forgot about CWM's ability to format the storage it detects. I feel that may be the way I have to go, but I'd like someone to comment on the fsck idea first.
Click to expand...
Click to collapse
Hi… I also experiencing same problem like you.
Do you manage to delete those file without going through format feature via CWM Recovery?
You can also try the file manager from mrrobinson aroma.
It loads from recovery...so, could work.
Sent from my SGH-I777 using xda app-developers app

Moving Google Access Music To SD With FolderMount??

I cannot get folder mount tovmove my Google Access music. In fact when I use it to browse my SD card, it never populates folder sizes or anything else.
I used this for the sane purpose on my Razr, with success. Has anyone got this app to work on their S4?
jeepguy_1980 said:
I cannot get folder mount tovmove my Google Access music. In fact when I use it to browse my SD card, it never populates folder sizes or anything else.
I used this for the sane purpose on my Razr, with success. Has anyone got this app to work on their S4?
Click to expand...
Click to collapse
I'm also having the same problem. Are the files stored somewhere else, because they don't appear to be in com.google.android.music.
EDIT: I think I figured it out! The location for the music is actually /data/data/com.google.android.music. Happy listening!
First kill play music app so it is not running
Then (I used solid explorer, but I am sure you could use a terminal app. adb shell, or any other app you prefer to use.
In Solid Explorer by deleting the music folder located in /data/data/com.google.android.music/files/music and then I created a symlink from /storage/extSdCard/files/music to /data/data/com.google.android.music/files which makes a music folder that points back to the external sdcard.
Last reboot your phone
It works very very well and all the music I want to cache from what I have stored in google works well.
Hope this helps you out.
Does it still let you write new music to this location?
It has for me. I have cached about 400 songs offline after doing the symlink
Sent from my SCH-I545 using Tapatalk 4 Beta
Ainvar said:
First kill play music app so it is not running
Then (I used solid explorer, but I am sure you could use a terminal app. adb shell, or any other app you prefer to use.
In Solid Explorer by deleting the music folder located in /data/data/com.google.android.music/files/music and then I created a symlink from /storage/extSdCard/files/music to /data/data/com.google.android.music/files which makes a music folder that points back to the external sdcard.
Last reboot your phone
It works very very well and all the music I want to cache from what I have stored in google works well.
Hope this helps you out.
Click to expand...
Click to collapse
symlinks are the way to go. do it with my solid state hard drive to a bigger drive, works great
This worked for me. But every time I reboot I get a "Google Music has stopped working" error. It onky does it once, right as the OS loads back up.
Ainvar said:
First kill play music app so it is not running
Then (I used solid explorer, but I am sure you could use a terminal app. adb shell, or any other app you prefer to use.
In Solid Explorer by deleting the music folder located in /data/data/com.google.android.music/files/music and then I created a symlink from /storage/extSdCard/files/music to /data/data/com.google.android.music/files which makes a music folder that points back to the external sdcard.
Last reboot your phone
It works very very well and all the music I want to cache from what I have stored in google works well.
Hope this helps you out.
Click to expand...
Click to collapse
It worked. Thank you.
Fixed the error. Now it's 100%
jeepguy_1980 said:
Fixed the error. Now it's 100%
Click to expand...
Click to collapse
How'd you fix it? Or did it just stop?
Sent from my SCH-I545 using xda app-developers app
I assume the problem was because I had converted Play Music to a use app. I just reinstalled my Rom and then recreated the symlink and it seeme to be working now.
darek65 said:
It worked. Thank you.
Click to expand...
Click to collapse
Anytime!
Ainvar said:
Anytime!
Click to expand...
Click to collapse
Is this really working or is it just duplicating your device folder on your sdcard? Since our phone's file system doesn't support symlinks, I don't understand how this is working! I've read many threads and no one can get this to work on the verizon version. Just curious!
Working for me! Symlink does work... thats what folderMount does.
Sent from my GT-N8013 using xda premium
krazykevin76 said:
Is this really working or is it just duplicating your device folder on your sdcard? Since our phone's file system doesn't support symlinks, I don't understand how this is working! I've read many threads and no one can get this to work on the verizon version. Just curious!
Click to expand...
Click to collapse
I did not symlick the folder from the phone to the sd card. I actually deleted the cache and files folder located in /data/data/com.google.android.music and then I created a symlink from the cache and files folder I created on the sdcard to the system root partition.
So look at it like this. I created shortcuts inside the system root folder from the source located on the sdcard. So when Google Music go to place content in the cache and files folder in the system root partition it is actually placing this content on the sdcard.
This has been keeping my internal storage from diminishing and is using the sdcard.
I would say why not try it out yourself and test it out. You will be able to see everything for yourself.
This is doing exactly what FoulderMount does from internal storage to sdcard, but for the system root. I actually got the idea to try this when I got an error from FolderMount stating it cant be done from within the app.
Hope this answers your questions and concerns on this.
---------- Post added at 12:57 AM ---------- Previous post was at 12:53 AM ----------
chewwy420 said:
Working for me! Symlink does work... thats what folderMount does.
I am actually using FolderMount to do this for AmazonMP3 folder, DCIM, Downloads, Wallbase, and quite a few other apps. Specially with the beta setting os excluding the duplicate folders from being scanned into the media apps. The folder I have the files and cache in I have a .nomedia file in the rot folder to keep duplicate files from showing up in the media apps.
Sent from my GT-N8013 using xda premium
Click to expand...
Click to collapse
Exactly, it is what made me try it for Google Music. I was thinking of doing this for the space time studios games but they don't hit over 50 megs each when you download the content.
i did try folder mount. And that's why I'm asking how yall two got it working. Our phone's, GS4's, does not support symlinks. Google it. There is no one else on the net with a verizon phone that has this working. Yes, there are tutorials on the net about using folder mount and various other ways, but they don't work for our verizon model. There are many many threads on the verizon gs4 forums about people asking about foldermount. When most verizon gs4 users use foldermount, it just makes a duplicate folder on the sdcard, both the device folder and the sdcard folders just mimic each other, not gaining you any space on the phone itself.
krazykevin76 said:
i did try folder mount. And that's why I'm asking how yall two got it working. Our phone's, GS4's, does not support symlinks. Google it. There is no one else on the net with a verizon phone that has this working. Yes, there are tutorials on the net about using folder mount and various other ways, but they don't work for our verizon model. There are many many threads on the verizon gs4 forums about people asking about foldermount. When most verizon gs4 users use foldermount, it just makes a duplicate folder on the sdcard, both the device folder and the sdcard folders just mimic each other, not gaining you any space on the phone itself.
Click to expand...
Click to collapse
I am guessing you did not read what I have said in this thread. I did not use foldermount for this one but I did list the ones I did use foldermount for. I did state however that I did a "symlink" for google music folders. I never stated that I used foldermount for that. But no matter what I have said in the past few posts you dont want to listen or even try it out for yourself. I am very happy to know there are so many threads stating this cant be done.
Here is some information about symbolic links as I think you should read more about it.
Also you can create a symlink on an ext4 FS which is where the link resides and its target is on a fat32 FS. I never stated that I created the target on a fat32 you assumed this.
Also googling around about this I found an actually XDA thread that talked about yet someone else who was able to do this back in Nov 2012....
More links for your reading pleasure.... link 1, link 2, and last but not least one about the space usage which seems pretty clear that it does not do double space. Depending on how the software reads it, it may think it is using that space but it really is not. Read a little more next time. Google is not a hard thing to use when searching for answers. Also it is not hard to accept something works when others in this thread and others have plainly stated that it works.
Also just a little more information just in case you aren't sure about everything you read
Screenshot of files symlink and screenshot of cache symlink
Screenshot of files folder on the SDCARD and now for the screenshot of the cache folder on the SDCARD
I removed some songs to see if the device would record different storage use on the system root folder and it did not.
All in all believe what you want and do what you want, this works for me and it has worked for others on this thread and another thread I found earlier tonight.
Now....
You must be rooted....
Force Stop Google Music
In Solid Explorer (this is what I used)
go to system root and /data/data/com.google.android.music/ and delete files and cache (cache if you want to)
go to sdcard and make a folder called Google Music (or anything you want to name it...) create a folder called files and cache in this folder.
now right click and chose properties on files and chose create a symlink and give the path of the "/data/data/com.google.android.music/files This will be the target that is created.
now right click and chose properties on cache and chose create a symlink and give the path of the "/data/data/com.google.android.music/cache This will be the target that is created.
Now you are done. This is exactly what I did and it works very very well........
I'm man enough to admit when I'm wrong. I should have dug some more on the symlinks. I got even more confused when chewy said he made symlinks, that's what folder mount does. How do you have your sd card partitioned and formatted if you don't mind answering?
Sent from my SCH-I545 using xda premium
krazykevin76 said:
I'm man enough to admit when I'm wrong. I should have dug some more on the symlinks. I got even more confused when chewy said he made symlinks, that's what folder mount does. How do you have your sd card partitioned and formatted if you don't mind answering?
Sent from my SCH-I545 using xda premium
Click to expand...
Click to collapse
Not a problem, I just wanted you to be able to see the info.
My sd card FS is fat32 formatted by winbloze 7. Now my real test will be to replicate all of this once I get my 64gb sd card which will be formatted in exFAT.
I use foldermount for everything else though. It does well from my usage so far for the base few days and I dont have to remember which folders I use symlinks on. I just know from reading either on here or on the app page that the app does not make links in the system root. So I just tried to do a symlink and it worked well. Googling tonight actually showed me someone else did it before me.
Since you are having issues can I ask what type of sdcard do you have and what fs is on it? Also what app are you using to do the symlink? is it an app or are you doing it from a terminal emulator or through adb shell?
Ainvar said:
Now....
You must be rooted....
Force Stop Google Music
In Solid Explorer (this is what I used)
go to system root and /data/data/com.google.android.music/ and delete files and cache (cache if you want to)
go to sdcard and make a folder called Google Music (or anything you want to name it...) create a folder called files and cache in this folder.
now right click and chose properties on files and chose create a symlink and give the path of the "/data/data/com.google.android.music/files This will be the target that is created.
now right click and chose properties on cache and chose create a symlink and give the path of the "/data/data/com.google.android.music/cache This will be the target that is created.
Now you are done. This is exactly what I did and it works very very well........
Click to expand...
Click to collapse
Just wanted to say thanks for this! I ended up buying Folder Mount thinking it would do it but I couldn't seem to access root folders. I didn't realize Solid Explorer could do it too and I already own it. The steps made it a snap

Everthind deleted

I was removing files to free up my device when suddenly everything got deleted!
at max i remember there was a file with something like storage/sdcard0/. i think that must have been the some sdard shortcut or something but i was already inside the sdard! and i didnt even create it! it automatically came up!
vinayakagarwal1996 said:
I was removing files to free up my device when suddenly everything got deleted!
at max i remember there was a file with something like storage/sdcard0/. i think that must have been the some sdard shortcut or something but i was already inside the sdard! and i didnt even create it! it automatically came up!
Click to expand...
Click to collapse
First you need to calm down, and give some more details of what happened and exactly what did you do for it to happen, what software do you use (e.g Root Explorer) etc..
/storage/sdcard0 is the mount point for internal strorage on the root file system, it is always there.
Are there any files inside /storage/sdcard0?
ChikeD said:
First you need to calm down, and give some more details of what happened and exactly what did you do for it to happen, what software do you use (e.g Root Explorer) etc..
/storage/sdcard0 is the mount point for internal strorage on the root file system, it is always there.
Are there any files inside /storage/sdcard0?
Click to expand...
Click to collapse
i was using solid explorer
it didnt have an extension n probably wasn't supported by the explorer and so it showed the white icon. and i didnt try to open it. i just deleted it.
also i didnt ever see it before
vinayakagarwal1996 said:
i was using solid explorer
it didnt have an extension n probably wasn't supported by the explorer and so it showed the white icon. and i didnt try to open it. i just deleted it.
also i didnt ever see it before
Click to expand...
Click to collapse
What have you deleted, /storage/sdcard0?
Is it still there? If not create
All files are probably gone if you done so, but there are file recovery apps you can try, search Google Play

ES File Explorer Help

A couple of questions,
I used to use this app on the HTC One (M7),
-i was able to create folders and move files around
-also had an option on some websites including facebook to download via 'ES Downloader' when i clicked on a video.
now on the Z2
-creating folder and moving files around is not possible anymore, am using the 'File Commander' app that is preintalled to do so
i needed this function as the Z2 internal storage is just not enough, have to move media files to the SD card.
(have seen somewhere that KitKat has stopped this function on the ES app, this true?
-no option of the ES downloader to download videos anymore when i click on a video, it just goes straight to playback.
i'm not sure if its the KitKat thing, because my HTC One was on KitKat also when i was able to do all the above mentioned
and feedback is greatly appreciated
TIA
****Both devices are NOT rooted
You need to root to write on SD card with ES.
to clear things up
both the devices are factory without root
HTC probably did something to make it work. KitKat issue though. Only file commander seems to work like u said.
hotnikkelz said:
HTC probably did something to make it work. KitKat issue though. Only file commander seems to work like u said.
Click to expand...
Click to collapse
hope is not only HTC were able to do those functions *finger crossed
as i was such a happy camper with the freedom of downloading most videos from most websites:victory:
.k
Edit - must have pocket dialled this somehow haha
Xernoxis said:
You need to root to write on SD card with ES.
Click to expand...
Click to collapse
wuufer001 said:
to clear things up
both the devices are factory without root
Click to expand...
Click to collapse
Kit kat has locked the ext sd to have special perms thanks google...
http://www.xda-developers.com/android/fix-your-sdcard-issue-on-kitkat/
http://www.androidpolice.com/2014/0...at-and-even-samsung-may-be-implementing-them/
from another thread.
Lolento said:
You need to edit the platform.xml file under system/etc/permissions/ in order for any "USER" app to edit the external SD card.
This is a KitKat issue (not Sony).
Google for instructions.
Click to expand...
Click to collapse
hope that clears it up for you.
Because i download quite a few videos, and those apps initially have the download content on the internal storage, being this phone only has 16GB, it's now such a pain
i'm no android system pro and really not confident in editing or changing any of the factory settings, i probably will just carry on and do the download then use the File Commander to move the content from internal to SD

Categories

Resources