[Q] Mount .img - Motorola Droid X2

Does anyone know of an app that will let me mount a .img file from a recovery backup on my phone (if that is even possible)? I recently received a warranty replacement and I'd like to recover some files from my most recent backup (pictures/videos/etc.). I'd rather not have to restore the whole backup just to get to a few files.
I know it can be done in linux, but if there is an app out there that will mount it on my phone I'd rather do that.
Thanks
Edit: Yaffs Explorer looks promising https://play.google.com/store/apps/details?id=fr.wdscript.yaffsexplorer

Another one is AppExtractor.

iBolski said:
Another one is AppExtractor.
Click to expand...
Click to collapse
Ahh that is a cool app! Still I guess things that were on my sdcard are just gone. I can't find them (ie: pictures in the default dcim location). Maybe they are stored somewhere else in the .img files... compressed or something?

Related

[Q] Restore 'Data' selectively from CWM backup

so heres the deal, i have a cwm backup, i just want to extract the data for some games and apps...is it possible to do that? by copying the img files to the computer and extracting or something?
Punkid said:
so heres the deal, i have a cwm backup, i just want to extract the data for some games and apps...is it possible to do that? by copying the img files to the computer and extracting or something?
Click to expand...
Click to collapse
just install Nandroid Browser from Play Store and you can browse them and extract files inside them..
https://play.google.com/store/apps/details?id=de.goddchen.android.nandroidbrowser
https://play.google.com/store/apps/details?id=com.handyandy.appextractor.
It's not free however.
I have a similar problem, but I can't find my phonebook amongst all those backup files. Does anyone knows exact location for contacts?

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

[Q] Visual Voicemail, where does it store?

Okay, here's the back story, it's short. My SD card fried on me yesterday. I had a nand backup of my stock setup on that card. That backup contained a couple of voicemails from my 2 year old daughter (not saved/forwarded, just downloaded into the voicemail app) which i hadn't gotten around to saving in the forever style yet. (was going to restore the backup and save them, then jump back to current ROM)
Anyway, i got a utility that will scan the card and found a whole ton of files on there. What's more it looks like it actually pulled a lot of it from within the backup files (no kidding, i'm seeing icons and temporary internet files and that sort of stuff) in addition to stuff stored on the root.
Was hoping someone could tell me what format these files would be in (3gp, mp4, etc.) so i know what to tell it to pull out. it's a trial software and will only let me restore 10 files before it chokes (could probably just run again on another pc though) but can anyone help me? it's doesn't give me a folder structure at all, just files, and they're even named genericly. So if i know what file type i'm looking for i can just grab those and maybe one of them will be it.
thanks!!
I looked before, and believe its something proprietary. Try using ES file explorer or something similar, store a vm and check which folders updated the time and date..start there..only thing I can think of currently.
Sent from my EVO using xda app-developers app
dangle79 said:
Okay, here's the back story, it's short. My SD card fried on me yesterday. I had a nand backup of my stock setup on that card. That backup contained a couple of voicemails from my 2 year old daughter (not saved/forwarded, just downloaded into the voicemail app) which i hadn't gotten around to saving in the forever style yet. (was going to restore the backup and save them, then jump back to current ROM)
Anyway, i got a utility that will scan the card and found a whole ton of files on there. What's more it looks like it actually pulled a lot of it from within the backup files (no kidding, i'm seeing icons and temporary internet files and that sort of stuff) in addition to stuff stored on the root.
Was hoping someone could tell me what format these files would be in (3gp, mp4, etc.) so i know what to tell it to pull out. it's a trial software and will only let me restore 10 files before it chokes (could probably just run again on another pc though) but can anyone help me? it's doesn't give me a folder structure at all, just files, and they're even named genericly. So if i know what file type i'm looking for i can just grab those and maybe one of them will be it.
thanks!!
Click to expand...
Click to collapse
Mine are located on sdcard/smvvm
They are AMR files
I use ES Flie Explorer to find them
Hope this helps
stealthl said:
Mine are located on sdcard/smvvm
They are AMR files
I use ES Flie Explorer to find them
Hope this helps
Click to expand...
Click to collapse
sorry, just circling back to see this. i ended up giving up on it. wasn't able to find any reliable way to recover the card, so i guess it's just lost

Nandroid backup files missing

Hi, Everyone
I was attempting to make a new backup of my HTC one using TWRP. For some odd reason, I can't find the file when I browse my phone SD. The TRWP folder has the old backup, but when I attempt to do a restore I can see the new files. I tried using the ES explorer app to find the missing backup files but nothing. I know for a fact that these files are stored somewhere and they are taking space on my HTC. Can I restored to an early restore and it will delete these files?
I'm new to the Android scene and still learning. Any suggestions will be gladly appreciated.
Thanks.
djorn2k said:
Hi, Everyone
I was attempting to make a new backup of my HTC one using TWRP. For some odd reason, I can't find the file when I browse my phone SD. The TRWP folder has the old backup, but when I attempt to do a restore I can see the new files. I tried using the ES explorer app to find the missing backup files but nothing. I know for a fact that these files are stored somewhere and they are taking space on my HTC. Can I restored to an early restore and it will delete these files?
I'm new to the Android scene and still learning. Any suggestions will be gladly appreciated.
Thanks.
Click to expand...
Click to collapse
Nevermind, I found the solution. The problem is that the ES file explorer does not have root access to /data folder. I enable root access in ES file and there was the following folder: /data/media/twrp.
I was able to make a new folder in the /SD and copy the files to that location. Then I deleted the folder.

Categories

Resources