[Q] Location of smdl2tmp1 - HTC One S

Hi there,
was switching from CM10.1 to [ROM][KK][4.4.2] CarbonRom [27/2/2014] for my One S C2 today, trying to solve the homescreen bug. Anyway while recovering my phone with helium, I figured out, that only one app couldn't be installed to the sd card.
Now I want to delete the smdl2tmp1 file in .android-secure as everyone suggests on the Internet. Unfortunately I'm unable to find the location of this file. I've used the file manger which is deployed along with the rom in root mode (superuser). Did the same with "RootBrowser" too. Mounting the card via usb to my win7 machine wasn't working either (could only see the internal sd card without any hidden folders[of course the respective option is enabled]).
Hints and help much appreciated.

Related

Apps not installing

I'm rooted and running stock Rom. I tried to reinstall crazy snow board (as an example) and get the message install failed can not find SD card. Any one have this problem? I'm at work and don't have access to the search feature. I was able to install another app. (imb movie) I have clearest cache and fixed permissions in Rom mgr since I update cwm. Have also pulled the battery.
Sent from my ADR6400L using XDA App
Is your phone mounted as a disk drive?
Sent from my ADR6400L using XDA App
Yes it's not mounted as a disk drive, I'm home now and had time to search. Found this from user Modred on another site. " I had the same problem, here's what I found out: there's a work-around and there's a fix.
1) The work-around: Unmount your SD card, install the app, mount your SD card, move the app to the SD card. And yeah, that will get annoying pretty quickly.
2) The fix:
Now, this worked for me and I read it on the android market support forum, but there's no guarantee.
- connect your phone to your PC as a mass storage device (you cannot access the file we're looking for via a file manager within the phone, the OS keeps it hidden)
- backup important data
- find the folder named ".android_secure"
- there, delete the file called "smdl2tmp1.asec"
- disconnect your phone
If all went well, you should now be able to install apps again. Nothing bad happened to my phone by deleting this temp file, but please backup before you do this, just in case.
Hope this helped. "
I tried both and they worked.
I wanted to confirm...
...this does fix the problem and causes no damage to the phone. I tried it and it worked like a charm.
Thanks for the tip!

[Q] insufficient file permissions

i can no longer take pictures with my htc one mini, it says :unable to save file to sd card due to insufficient file permissions
does anyone have any idea how to fix this?
emperadoo said:
i can no longer take pictures with my htc one mini, it says :unable to save file to sd card due to insufficient file permissions
does anyone have any idea how to fix this?
Click to expand...
Click to collapse
Could you provide us with more information ?
Did you change something ( anything ? ) right before this problem started ?
Which ROM are you running ?
Can you copy a file to the SD Card using a file manager such as ES File Manager ?
Hi, I experienced some issues with permissions with my HTC One Mini (M4) , I searched but I never found the correct answer. I solved this problem thus:
You will need a TWRP installed;
A Pen Drive;
A USB OTG Cable
Enter in the recovery→Format All Data (This will erase all of your phone, if you wants make a back up, save in your computer)
Now, you will go to Advanced→File Manager→System and erase this folder
Put your ROM and Gapps in the Pen Drive and conect this in the OTG Cable and your phone
Go to Install and select and choose the option OTG
Install your ROM
This was the only way I found for to solve this problem, sorry for my English, I'm learning and I hope everyone understands.

[Q] Lollipop: SD Card Write for Legacy Apps

Hey Guys -
Amongst other devices, I have a rooted Nvidia Shield Tablet which I primarily use for gaming (of course) and love. Recently, I upgraded to Lollipop and soon after even completely reset the tablet by reapplying the recovery image, then upgrading to Lollipop via OTA (since recovery files still haven't yet been updated.)
There's just one main issue I cannot find a solution for: I have many legacy apps / games and for some of them need to have SD Card write access. Take for instance "Star Wars - Jedi Academy." It's a paid app and when downloaded installs a small APK as well as a folder with the Demo version of the PC game's files. The app says if you copy the retail version files to a folder and point it to them, it will play the full game and does - however - these files are 3.5gb therefore I copied to a folder on my SD. When I open the app/game and point it to the SD Card folder (which it sees), it says the target isn't writable.
When Lollipop first came out, I know many apps needed to be upgrade to be able to write to the SD card - due to Storage Access Framework I believe. They must know that some legacy apps probably may never get updated. How are we to use these? I'd think the fix would come in one of the following forms:
- Xposed Add-on (Installer/Framework still not compatible with Lollipop, though )
- Play Store App - Non-official workaround like ones offered for KitKat
- Lucky Patcher modification?
- Some other method which may require root
- A base Android setting I've overlooked
So... does anyone know a method which is currently out and working? Thanks!
I recently wrote a post about this. Tl;dr you need to reformat your card as ntfs to get it to work, and then do some craziness with the Google Storage Access Framework on command.
Wait a second. Can't you write a simple app like SD fix to repair the way the SD card is accessed?
bzowk said:
Hey Guys -
Amongst other devices, I have a rooted Nvidia Shield Tablet which I primarily use for gaming (of course) and love. Recently, I upgraded to Lollipop and soon after even completely reset the tablet by reapplying the recovery image, then upgrading to Lollipop via OTA (since recovery files still haven't yet been updated.)
There's just one main issue I cannot find a solution for: I have many legacy apps / games and for some of them need to have SD Card write access. Take for instance "Star Wars - Jedi Academy." It's a paid app and when downloaded installs a small APK as well as a folder with the Demo version of the PC game's files. The app says if you copy the retail version files to a folder and point it to them, it will play the full game and does - however - these files are 3.5gb therefore I copied to a folder on my SD. When I open the app/game and point it to the SD Card folder (which it sees), it says the target isn't writable.
So... does anyone know a method which is currently out and working? Thanks!
Click to expand...
Click to collapse
Not sure it will solve your problem, but when I first upgraded to Lollipop I could not write anything to my sd card. Someone else mentioned that if you install Folder Mount, https://play.google.com/store/apps/details?id=com.devasque.fmount, upon first launch it would recognize the issue and offer to fix it. I tried it (used Folder Mount on my old Hisense Sero Pro 7 for a long time so I trust it), and sure enough it works great. Then just uninstall it once you've rebooted. End of problem for me...
Easy fix. If you have root use SD Card Fix by NextApp
https://play.google.com/store/apps/details?id=nextapp.sdfix
Gives you read write back to your ex SD.
Sent from my SM-N910T using XDA Free mobile app
this fix did it for me without installing any app:
http://forum.xda-developers.com/showthread.php?p=44370296#post44370296
Wow - Thanks for all the replies guys! I got it to work!
After reading each, I decided to first try w.0.o.t's suggestion which is a direct but simple edit of a system file instead of installing an app for which I don't know what it does exactly. The example in the link he sent was a bit different as it was for 4.3, so here's what I ended up doing to make it work for 5.0:
1. Opened Root Explorer Pro on my tablet
2. Browsed to the file "/etc/permissions/platform.xml"
3. Copied it to the root of my internal storage (sdcard0) for backup
4. Held down touch on it and choose to Edit in Text Editor. It asked if I wanted to mount volume as RW to which I replied yes
5. Located the section "WRITE_EXTERNAL_STORAGE" and made the edits listed in the "EDITS" section below these steps
6. Saved file, held touch on filename again, went to permissions, and verified that it was set to "644" - it was
7. Restarted tablet
EDITS
Original Data in permissions.xml
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
Edited Data in permissions.xml What I changed the above values to...
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
Notes when editing:
- Make sure that you change "r" to "rw" on the first listed group - may easily be missed when coming above two
- When typing extra line, my tablet auto-corrected the word "gid" and changed it to "god" without me noticing. After rebooting and it not working, I went back and saw the error, fixed it, rebooted, then it worked
To test, I opened FX File Editor and browsed to a file on my SDCard which I previously could not delete. This time, I was able to delete it without issue
Thanks again guys!
glad you sorted it out.
primetechv2 said:
I recently wrote a post about this. Tl;dr you need to reformat your card as ntfs to get it to work, and then do some craziness with the Google Storage Access Framework on command.
Click to expand...
Click to collapse
Do you have a link to some instructions for that method? And does it require root?
KingDestruct said:
Do you have a link to some instructions for that method? And does it require root?
Click to expand...
Click to collapse
No root is needed.
It requires a computer, and probably for you to eject your SD card from your shield and insert it into the computer in a different way, so it's recognized by Windows Explorer.
So you plug in the SD card as mentioned.
Open it up in Windows Explorer. (This usually comes up when you insert the card, but if it doesn't you can usually open the Start Menu or Start Screen and type Explorer to find it.)
Copy everything you want to save out of the card.
Right click in an empty space, then choose Format...
Format the thing as NTFS. Turning off Quick Format probably won't hurt. Don't bother with any other options.
Cross fingers. Try the card again.
primetechv2 said:
No root is needed.
It requires a computer, and probably for you to eject your SD card from your shield and insert it into the computer in a different way, so it's recognized by Windows Explorer.
So you plug in the SD card as mentioned.
Open it up in Windows Explorer. (This usually comes up when you insert the card, but if it doesn't you can usually open the Start Menu or Start Screen and type Explorer to find it.)
Copy everything you want to save out of the card.
Right click in an empty space, then choose Format...
Format the thing as NTFS. Turning off Quick Format probably won't hurt. Don't bother with any other options.
Cross fingers. Try the card again.
Click to expand...
Click to collapse
I'm sorry I should have clarified, I know how to and have formatted the SD card, I was referring to the fiddling around with the Google Storage Access Framework on command. Sorry for the confusion.
KingDestruct said:
I'm sorry I should have clarified, I know how to and have formatted the SD card, I was referring to the fiddling around with the Google Storage Access Framework on command. Sorry for the confusion.
Click to expand...
Click to collapse
The GSAF will only pop up on apps that have been wired to support it. Among others I know ES and FX file explorers are now capable. Any luck with those?
primetechv2 said:
The GSAF will only pop up on apps that have been wired to support it. Among others I know ES and FX file explorers are now capable. Any luck with those?
Click to expand...
Click to collapse
No luck whatsoever. I'm getting the same issue as the original poster. I've tried with both ES File Explorer and FX and Documents crashes as soon as I select the SD Card. The SD card is in NTFS format, would exFAT format make a difference?
---------- Post added at 06:47 AM ---------- Previous post was at 06:19 AM ----------
primetechv2 said:
The GSAF will only pop up on apps that have been wired to support it. Among others I know ES and FX file explorers are now capable. Any luck with those?
Click to expand...
Click to collapse
I have tried using ES File Explorer on my LG G3 running Android 5.0.1 and I was able to write to the SD card. So at this point its an issue with the tablet, which is immensely infuriating since I can't install games to the SD car properly, which is the main thing this tablet is for isn't it?! I really want to play some Hearthstone on it!
You know, at this point, any change in format might make a difference. I'm scratching my head as to why you need to explicitly provided Storage access to ES File Explorer, maybe it just no longer assumes it has the permissions (stock Samsung apps are okay with writing anywhere and preliminary documentation about OEM installed apps said the same thing).
The good news is that I've never destroyed an SD card by formatting formatting it. Go nuts. Try things other than what I suggested... At this point there's a good chance I'm missing something. And I'm sorry for botching my suggestions.
Here's an idea. Between switching formats and maybe allocation sizes (I'm leaning towards trying the smallest one), try formatting your SD card in the system's Storage settings.
Here's another: try the SD Formatter application available here. Raspberry Pi SD cards are sometimes as cranky as Shield ones.
http://www.raspberrypi.org/help/noobs-setup/
I got it to work! I used the SD Formatter you suggested, although it only let me format it to FAT32. I did see some other threads though that said something about renaming the SD card too, so I decided to rename the volume label to "Shield_SD", and I'm guessing that this is the problem, as I never named the SD card. I noticed also that on my LG G3 that the external SD card had a name that was a bunch of random characters, but I could write to it.
dgjenkins said:
Not sure it will solve your problem, but when I first upgraded to Lollipop I could not write anything to my sd card. Someone else mentioned that if you install Folder Mount, https://play.google.com/store/apps/details?id=com.devasque.fmount, upon first launch it would recognize the issue and offer to fix it. I tried it (used Folder Mount on my old Hisense Sero Pro 7 for a long time so I trust it), and sure enough it works great. Then just uninstall it once you've rebooted. End of problem for me...
Click to expand...
Click to collapse
After upgrade to lollipop, then downgrade to KK 4.4.4, had a sd card write pb.
This one solved my problem.
Thanks for that, you made my day.
Best regards
Franck

[Q] Bloody hell, is there no way to copy back stuff to the SD Card?!

Why hallo there peeps!
I have rooted my Z3 and before that I copied everyting from the internal and SD card to my Macbook through Droid Nas and it worked flawlessy. The problem is to get it back... Is there no easy way to do it??? The infernal horror way of blocking writing to the SD card after Kitkat 4.4 is just pain in the ass :/
I have been searching and trying but havent found any easy way... Sofar the only way Ive found is to copy files to the internal and then copy it manually back to the SD card..
There has got to be a better way than this?
Install xposed and download the module kitkat sd card full access to fix
hobs0n said:
Why hallo there peeps!
I have rooted my Z3 and before that I copied everyting from the internal and SD card to my Macbook through Droid Nas and it worked flawlessy. The problem is to get it back... Is there no easy way to do it??? The infernal horror way of blocking writing to the SD card after Kitkat 4.4 is just pain in the ass :/
I have been searching and trying but havent found any easy way... Sofar the only way Ive found is to copy files to the internal and then copy it manually back to the SD card..
There has got to be a better way than this?
Click to expand...
Click to collapse
Have you tried just browsing a network share from File Commander and using that to copy directly to the SD card?
I haven't tried this yet myself, I just use USB to copy stuff as its faster but I think File Commander has better access to storage being the system file manager.
why not use a card reader for the sd card? the issue with kitkat was applications/data writing to the sd card unless the fix was applied, from what you are saying you are having issues copying from the computer to the sd card when its in the phone
serophia said:
Install xposed and download the module kitkat sd card full access to fix
Click to expand...
Click to collapse
Tried the regular xposed but it didn't work. Got a tips om one that does work?
ozzy lion said:
Have you tried just browsing a network share from File Commander and using that to copy directly to the SD card?
I haven't tried this yet myself, I just use USB to copy stuff as its faster but I think File Commander has better access to storage being the system file manager.
Click to expand...
Click to collapse
I tired that, failed tho but I need to check out what to type exactly before I give up. I know how it works between a mac and a pc tho.
Richy99 said:
why not use a card reader for the sd card? the issue with kitkat was applications/data writing to the sd card unless the fix was applied, from what you are saying you are having issues copying from the computer to the sd card when its in the phone
Click to expand...
Click to collapse
Well I know that works but I want to get it working to copy directly to the phone the freedom and access ya know.
I tried last night with File Commander and it worked fine.
Set up a a share of the music folder on my HTPC.
I then used the Local Network function in File Commander with the following settings.
Domain: workgroup
Server: HTPC/Music/
User: (username)
Password: (password)
Server name is just the name of the network device and the name of the shared folder.
I was able to copy over folders of music from the HTPC to my phones SD card directly over wifi. It wasn't particularly fast though but both devices are on wifi.
File Commander could be a bit better at selecting multiple folders at a time though and whiles it's copying, you can't use the app for anything else.
hobs0n said:
Tried the regular xposed but it didn't work. Got a tips om one that does work?
I tired that, failed tho but I need to check out what to type exactly before I give up. I know how it works between a mac and a pc tho.
Well I know that works but I want to get it working to copy directly to the phone the freedom and access ya know.
Click to expand...
Click to collapse
http://repo.xposed.info/module/de.robv.android.xposed.installer I used version 2.6.1 on mines for T-Mobile Z3 and it works flawlessly give that one a shot.
Gutdamnit, I cant get no xposed to work. I tried the latest , 2.6.1 and it says:
"Xposed is not (yet) compatible with Android SDK version 21 or your processor arcittexture (armeabi-v7a).
CANNOT LINK EXECUTABLE: could not load library "libdvm.so" needed by "/data/data/de.robv.android.xposed.installer/cache/app_process"; caused by library "libdvm.so" not found"
What to do?
hobs0n said:
Gutdamnit, I cant get no xposed to work. I tried the latest , 2.6.1 and it says:
"Xposed is not (yet) compatible with Android SDK version 21 or your processor arcittexture (armeabi-v7a).
What to do?
Click to expand...
Click to collapse
Download FolderMount. Run it, grant it root access, and then let it patch the system to allow full write access to external storage. After the phone reboots and you've verified it works, you can uninstall FolderMount.
Finally got it working, checked out: http://forum.xda-developers.com/showthread.php?t=3034811 and installed the Alpha release and it worked
So know I got Xposed working and all the mods I want, finally!
Thanks for all the help peeps! :good:

After flashing a rom mod storage (SD and Internal) access denied.

Hello, i'm having a problem here. I have a Galaxy S5 and i am using XtroLite Lollipop Rom for quite some time now. Yesterday i decided to flash the aroma mod of it's rom so i could add the option fo multiple windows. I had done it before with the same aroma mod and it worked flawessly so i flashed and it did work, but then i noticed some errors and when i looked the explorer both of my storages (internal and external) are there but show no files inside and apparently give no access permissions, the only thing i have permission to access is the root folder. When i go to philz touch recovery i can check the files on both storages and they are there its most likely they are just not accessible. Tried to plug to a pc while on recovery but no deal. I searched google a lot but didn't find anything related, i also can use most of the apps that were installed on the phone but can't install any newer, cause of internal storage being inaccessible, and im without a terminal installed atm.
I kindly ask for some help, thanks in advance.
bump
bump
bump
bump

Categories

Resources