[Q] Where is the data.img file? - HD2 Android Q&A, Help & Troubleshooting and Genera

I have been searching for ages trying to find this answer and although I've found some threads about this file I can't find where it is kept? In the guides it says to backup this file when upgrading the same ROM or reinstalling it so you don't lose settings etc, which is what I want to do. I have ES File Explorer on my phone and have searched the root files for it to no avail!

As far as I know, if you're on NAND you won't have that file. But I think if you make a backup, you can find it in /sdcard/clockworkmod/backup/your-bacukp .. If you're using cwm.

Marvlesz said:
As far as I know, if you're on NAND you won't have that file. But I think if you make a backup, you can find it in /sdcard/clockworkmod/backup/your-bacukp .. If you're using cwm.
Click to expand...
Click to collapse
I'm using the SD method not NAND. I don't have CWM installed but I'm assuming in ROM manager you create a backup from there, which places it in the backup folder you mention above?

Pezza4u said:
I'm using the SD method not NAND. I don't have CWM installed but I'm assuming in ROM manager you create a backup from there, which places it in the backup folder you mention above?
Click to expand...
Click to collapse
Oh, excuse me. You're using SD, then it's probably located under /sdcard/your-rom-folder/
That folder is usually called "Android", but it may differ from ROM to ROM. I don't remember the data.img being on the root of the sd.

Marvlesz said:
Oh, excuse me. You're using SD, then it's probably located under /sdcard/your-rom-folder/
That folder is usually called "Android", but it may differ from ROM to ROM. I don't remember the data.img being on the root of the sd.
Click to expand...
Click to collapse
Thanks. Is it a file I'm looking for as I'm under the impression it is with the .img, similar to an ISO file? Although in the android folder there is a folder called data, which has several folders in.....is this it?
If it is then I think the extension on the name is confusing me as I thought it was an actual file!

Actually, back in the time when I used to use android SD. The data was stored in a file with a ".img" extension. I am not sure about now, maybe they changed it?
I am not familiar with this "data" folder you're referring to.

Pezza4u said:
Thanks. Is it a file I'm looking for as I'm under the impression it is with the .img, similar to an ISO file? Although in the android folder there is a folder called data, which has several folders in.....is this it?
If it is then I think the extension on the name is confusing me as I thought it was an actual file!
Click to expand...
Click to collapse
Yes, that is it. It may have slightly different names depending on the rom. The data file is used by the sd android as the data partition by a nand android. Your apps and data are generally stored in this file. There can be some exceptions, like apps moved with Apps2sd and similar things.
It is usually good to have a backup of this file.
---
If at first you don't succeed, skydiving is probably not for you..* * (via Tapatalk)

Thanks....now that I know where it is I can back it up

Related

[Q] how to make nand file when you have sd file

can anyone help me how to make nand file when i have sd file cuz i cannot install from my sd card i need to install directly
thanks
I am not sure that I understand what is your exact problem. But if I'm right and you can not install rom from SD card and want to install it directly from computer, maybe you should try to use DAF versions ?
adecostres said:
I am not sure that I understand what is your exact problem. But if I'm right and you can not install rom from SD card and want to install it directly from computer, maybe you should try to use DAF versions ?
Click to expand...
Click to collapse
yes but there is only one daf version and i want to know how to convert the sd version to daf version
That's not very easy. You'd have to edit the intrid.gz and and zImage and other things to make it work. More effort than it's worth. What ROM you looking for? Is it a .zip SD card file or and Android folder type?
daniel.nano said:
yes but there is only one daf version and i want to know how to convert the sd version to daf version
Click to expand...
Click to collapse
To the point - the fact you're asking this question leads me to believe you're not skilled enough to know how to perform all of the changes this would require.
My suggestion is you forget about the SD version and make the move to the NAND Android instead.
The DAF version is a way for Windows to put Android on your phone through the built-in bootloader onto the NAND chip on your phone. SD android is a completely different structure and you'll never find an "SD DAF" Android.
could you perhaps extract the system folder from the CWM zip, then use mkyaffs2image to build a system.img and drop that in place of the original system.img from the DFT version? (and teh same with the boot folder boot.img too, i would assume)
Or is that make believe?
dkl_uk said:
My suggestion is you forget about the SD version and make the move to the NAND Android instead.
Click to expand...
Click to collapse
daniel.nano said:
can anyone help me how to make nand file when i have sd file cuz i cannot install from my sd card i need to install directly
thanks
Click to expand...
Click to collapse
To the point - the fact you're giving that answer leads me to believe you're not skilled enough to know how to read the whole question befor,,,,,,,,,,,,,,,,
hehe, sorry, couldnt resist.
samsamuel said:
could you perhaps extract the system folder from the CWM zip, then use mkyaffs2image to build a system.img and drop that in place of the original system.img from the DFT version? (and teh same with the boot folder boot.img too, i would assume)
Or is that make believe?
Click to expand...
Click to collapse
Extracting the system folder from CWM zip wont work. Its because during the zip installation the updater script is beeing called and it creates a lot of symlinks. So, if you just extract and convert, you will miss the whole bunch of symlinks (and permissions, etc..)
samsamuel said:
To the point - the fact you're giving that answer leads me to believe you're not skilled enough to know how to read the whole question befor,,,,,,,,,,,,,,,,
hehe, sorry, couldnt resist.
Click to expand...
Click to collapse
Really?
Never heard of DAF then?
We're limited to either SD or CWM install, are we?
dkl_uk said:
Really?
Never heard of DAF then?
We're limited to either SD or CWM install, are we?
Click to expand...
Click to collapse
Heh, dig deeper.
The op is limited to usb only so yea, in this case we are limited to daf only, and he finds there isn't as wide range of daf roms, hence the perfectly reasonable question.
which part of the original post can't you understand?
greg17477 said:
Extracting the system folder from CWM zip wont work. Its because during the zip installation the updater script is beeing called and it creates a lot of symlinks. So, if you just extract and convert, you will miss the whole bunch of symlinks (and permissions, etc..)
Click to expand...
Click to collapse
Ah I thought maybe something like that, but figured I'd ask anyway, for myself if nothing else.
samsamuel said:
Heh, dig deeper.
The op is limited to usb only so yea, in this case we are limited to daf only, and he finds there isn't as wide range of daf roms, hence the perfectly reasonable question.
which part of the original post can't you understand?
Click to expand...
Click to collapse
I'll assume your lack of English skills is the reason you've totally mis-understood every single thing i've written in this thread.
If I've missunderstood, it can only mean that even though it didn't sound like it, you do agree with me, in which case appology accepted, lets say no more about it.

Cant delete CWM backups from internal SD Card

Need some help here:
I need to delete some of the backups I made with CWM recovery. I already have them backed up onto my PC, but need to delete them to make some room. For some reason I cant.
Ive tried root explorer, es file explorer, and my PC. Im unable to change the permissions of the files, and if you look at the pics I attached youll see they have some strange permissions, but I cant change them.
I am able to move the files anywhere else in the sd card folder, rename them, but no matter what I cant delete them. And when I try from my PC it shows them disappear, but they are actually still there.
If there is a way to format the sd card folder I will, but thats not an option in the settings, or CWM. Can someone please help me out here? This is really frustrating me. Thanks
No issues here when I delete backups using ROM Toolbox.
UnknownFearNG said:
No issues here when I delete backups using ROM Toolbox.
Click to expand...
Click to collapse
I tried through ROM Toolbox and still couldnt delete them.
Gam3r 4 Life said:
I tried through ROM Toolbox and still couldnt delete them.
Click to expand...
Click to collapse
Same, tried with multiple apps too.
I posted this in the other thread, but figured I would do so here in case other people needed the "fix".
Ok, so some good news and some bad news.
The good news is, I was able to put together a flashable zip that WILL DELETE the entire CWM backup directory from the sdcard. It is available here:
http://core.routed.com/CWM_Backup_Wipe.zip
You simply need to flash it via CWM. Easy peasy. I confirmed that the directory/files were all removed, AND the storage space is now available for other files (I checked df before and after).
The bad news is, before attempting to delete the directory, I first tried changing the permissions (recursively) to see if that was a better "fix" for this problem. Unfortunately, even with the directory 777 and the files 666, I still could not manually delete them through the system. Which means, whatever bug is causing this problem is much more severe than a file/directory permission thing.
In any case, until the CWM developer can figure out a way to fix this bug, at least we have a way to manually remove the backups and get our storage space back.
The script in the zip is very simple. It just does a recursive delete on /sdcard/clockworkmod/backup.
Enjoy!
phonic said:
I posted this in the other thread, but figured I would do so here in case other people needed the "fix".
Ok, so some good news and some bad news.
The good news is, I was able to put together a flashable zip that WILL DELETE the entire CWM backup directory from the sdcard. It is available here:
http://core.routed.com/CWM_Backup_Wipe.zip
You simply need to flash it via CWM. Easy peasy. I confirmed that the directory/files were all removed, AND the storage space is now available for other files (I checked df before and after).
The bad news is, before attempting to delete the directory, I first tried changing the permissions (recursively) to see if that was a better "fix" for this problem. Unfortunately, even with the directory 777 and the files 666, I still could not manually delete them through the system. Which means, whatever bug is causing this problem is much more severe than a file/directory permission thing.
In any case, until the CWM developer can figure out a way to fix this bug, at least we have a way to manually remove the backups and get our storage space back.
The script in the zip is very simple. It just does a recursive delete on /sdcard/clockworkmod/backup.
Enjoy!
Click to expand...
Click to collapse
Just saying thanks for this, I hope they figure a fix out soon. Flash worked perfectly, for some storage space back. :good:

[Q] Unable to see the Clockworkmod folder in windows or on the phone

Hey guys.
First of all, sorry if this has been asked before. I googled a lot and searched here and couldn't find this particular problem.
My Nexus 4 is running stock 4.2. Unlocked bootloader, rooted and running ClockworkMod 6.0.1.9. Everything worked perfectly. My only problem right now is, after making a nandroid backup, I cannot see the clockworkmod folder anywhere on the phone when browsing either in windows or with ES File Explorer. I think by now I looked everywhere. Everything else in this regard seems to work fine, I can copy files, the other folders are all correct etc. I can also see and delete/restore the backup in CWM recovery. All I want is to see the folder to get it off the phone. Any ideas?
Thanks in advance.
You can find it in mnt/shell/emulated it is protected so you will need a file explorer that can give you root access. I use ES File Explorer.
Found it. Thank you very much.
Its also in /data/media/clockworkmod for whatever reason, hope this gets fixed soon.
Is there any way to copy those CWM backup folders to your computer? I tried to use Root Explorer to move the backup folders to the main sdcard/0 folder but I still cannot see it when I move the file Am I doing something wrong or is it not possible to move it to the sdcard/0?
Yeah I'm also still not too sure how to get it off the phone easily.
Chill4xed said:
Yeah I'm also still not too sure how to get it off the phone easily.
Click to expand...
Click to collapse
easiest way would probably be to just use the toolkit, unless you're opposed to such things.
Is this why ROM manager can't delte my backups? It seems them but I get an error saying "there was an error deleting your backup"
Edit: new update fixes this issue with ROM manager
man we need to get it move to a pc. i'd like to save some space since its our phone have maximum 12.9gb at our disposal.
btw, i tried Root Browser Lite to move it on sdcard area... operation failed
I had the same problem. My internal SD card just kept getting fuller and fuller with ClockwordMod. And, when I tried to copy the files from /mnt/shell/emulated/clockwork to my comp, and copy them back to the SD card to try and Restore, I ended up with corrupted files.
So, rather than fight it, I decided to wait until Clockwordmod recovery got its storage/mount point issues straightened out, and moved to the TWRP side of things. That has been seamless (once I got used to it).
I hope that they soon figure out the Clockwordmod issues; I liked having ROM Manager installed on past phones.
Btw, as an aside that is a little related, why, pray tell, are there so many mount points for the SD card? It's just weird.
just navigate the clockwordmod folder in your phone and copy it to the root of the internal memory.. connect the phone via usb into the computer and copy it
BY FAR, the easiest way is:
Chill4xed said:
My Nexus 4 is running stock 4.2. Unlocked bootloader, rooted and running ClockworkMod 6.0.1.9. Everything worked perfectly. My only problem right now is, after making a nandroid backup, I cannot see the clockworkmod folder anywhere on the phone when browsing either in windows or with ES File Explorer. I think by now I looked everywhere. Everything else in this regard seems to work fine, I can copy files, the other folders are all correct etc. I can also see and delete/restore the backup in CWM recovery. All I want is to see the folder to get it off the phone. Any ideas?
Click to expand...
Click to collapse
BY FAR the easiest way: in ROM Manager, Manage and Restore Backups>Download Backups>Open your desktop browser on the address informed by ROM Manager to download your backup.
Thanks to everyone, going to the directories works and the rom manager app is aware of the new cwm backup folder.

Cannot find clockworkmod folder. Read all XDA threads already.

Hello guys,
I want to flash a custom ROM and I have made a Nandroid Backup using the latest clockworkmod.
I cannot seem to find the clockworkmod folder on my phone. Funny thing is that when I use restore option in the CWM, it shows the path of the backup as sdcard/clockworkmod/backup
Already tried checking data/media, but my data folder doesnt have a media subfolder.
Any suggestions?
PS: I use ES File Explorer and I did check the 'Hidden Files' option in it. Using CWM 6.0.2.3
PPS: I had flashed CWM 6.0.2.3 on 6.0.1.9
-Thanks!
try /mnt/shell/emulated/
croques said:
try /mnt/shell/emulated/
Click to expand...
Click to collapse
emulated doesn't exist in /mnt/shell/
Should I try reflashing the CWM?
I have storage/emulated/. Even that doesn't contain cwm folder though.
So weird.
w1ndhawk said:
emulated doesn't exist in /mnt/shell/
Click to expand...
Click to collapse
it does on mine? And clockworkmod is there as a directory.
w1ndhawk said:
Should I try reflashing the CWM?
Click to expand...
Click to collapse
No; it'll be there somewhere. Poke around.
Are you sure ES file Explorer is set to allow / (root) exploration?
croques said:
it does on mine? And clockworkmod is there as a directory.
No; it'll be there somewhere. Poke around.
Are you sure ES file Explorer is set to allow / (root) exploration?
Click to expand...
Click to collapse
Root Explorer wasn't enabled x_x. Sorry, first android ever! Haha!
Yes, now I can see clockworkmod/backups in the mnt/shell/emulated. Thanks a million.
Emulated folder contains almost all the folders/files that are present on my SD Card. Could you explain what is emulated folder though and why isn't the cwm folder just stored in sdcard/clockworkmod/backups? I have a nexus 4.
And off topic but: after I take a nandroid backup, I should probably save it on my computer right? And of course, that begs another question. How can I find this file through windows explorer?
Further, how do I manually explore paths (by typing it in) on the android. Or do I have to keep changing home directory in settings?
Sorry for so many question. I know what its like to having to answer to noobs
w1ndhawk said:
Could you explain what is emulated folder though and why isn't the cwm folder just stored in sdcard/clockworkmod/backups? I have a nexus 4.
Click to expand...
Click to collapse
Someone more knowledgeable will be along in a minute.
w1ndhawk said:
And off topic but: after I take a nandroid backup, I should probably save it on my computer right? And of course, that begs another question. How can I find this file through windows explorer?
Click to expand...
Click to collapse
You can't use Windoze explorer AFAIK.
I use adb. Since you've rooted your phone... adb must be set up. Open a command window in Windows (run cmd -w) (I don't use Windoze so you're on your own a bit here) and type
Code:
adb shell
You then can use 'ls' and 'cd <directory>' to see what's there and move around.
You'll probably want to use 'adb pull <foldername>' at some time to get the backup onto your PC. Google around for adb commands. I've spoon fed you enough to be getting on with.
w1ndhawk said:
Further, how do I manually explore paths (by typing it in) on the android. Or do I have to keep changing home directory in settings?
Sorry for so many question. I know what its like to having to answer to noobs
Click to expand...
Click to collapse
Sorry; I don't understand the question. And knowledge it like a mosaic floor covered in sand... you've spent your time clearing sand and finding whats beneath a different part from me. No noob should need to apologize in a nice forum.
Get rid of CWM and use TWRP. It's much better and stores backups in the proper location (virtual SD) which you can browse with Windows
Your clockworkmod backups will be in /data/media/clockworkmod
Yep, time for me to research on my own. Enough spoon feeding.
Instead of using commands, I just copy pasted the backup created by CWM to my sdcard using ES Root Explorer so that I could see it using Windows Explorer.
Will give TWRP a try in the future though.
The question about ES file explorer was, how can I explore the file system by typing in the path manually. For example, in windows you can manually type in the path in windows explorer and it will take you there.
EDIT:
The copying thing doesn't work. I think I will have to flash TWRP.
EDIT 2:
Tried again and it DID WORK!!! (the copying thing) Using TWRP is obviously easier though.
w1ndhawk said:
Yep, time for me to research on my own. Enough spoon feeding.
Instead of using commands, I just copy pasted the backup created by CWM to my sdcard using ES Root Explorer so that I could see it using Windows Explorer.
Will give TWRP a try in the future though.
The question about ES file explorer was, how can I explore the file system by typing in the path manually. For example, in windows you can manually type in the path in windows explorer and it will take you there.
EDIT:
The copying thing doesn't work. I think I will have to flash TWRP.
EDIT 2:
Tried again and it DID WORK!!! (the copying thing) Using TWRP is obviously easier though.
Click to expand...
Click to collapse
Oops. Missed the part about you already checking /data/.
w1ndhawk said:
The copying thing doesn't work. I think I will have to flash TWRP.
Click to expand...
Click to collapse
With Nexus 4, Google have seen fit not to implement a USB browsable file system.
It seems to be the trend for Android. I don't think TWRP will help much.
The only way to 'easily' get stuff is to master adb. Although in linux there's this.
Perhaps someone else has a Windoze alternative.
croques said:
With Nexus 4, Google have seen fit not to implement a USB browsable file system.
It seems to be the trend for Android. I don't think TWRP will help much.
The only way to 'easily' get stuff is to master adb. Although in linux there's this.
Perhaps someone else has a Windoze alternative.
Click to expand...
Click to collapse
The SD partition is perfectly accessible through MTP
Michealtbh said:
The SD partition is perfectly accessible through MTP
Click to expand...
Click to collapse
And MTP is perfectly accessible through nothing.
(I swear, I just want to back hand smack the person who thought their creation called "MTP" was a good thing. MTP = Massive Trauma Protocol)

[Q] How to make EFS backup easily, without TWRP?

I've been lucky not to lose my EFS data so far. But now I really need to back that up.
I've been reading about problems with TWRP, and I allready have CWM, which I really like.
Is there an easy "noobproof" way to make EFS backup?
For Samsung, there is EFS Professional but I don't know if it works with LG G2.
Another way I found is from another Samsung thread: Backup your EFS IMMEDIATELY, but same thing, I don't know if that'll work with G2
Any help, anyone?
Hi,
Take a look here: EFS Partition Backup and More [All G2 Variants] *Fixed*.
EDIT: I misread, you want to keep CWM...
viking37 said:
Hi,
Take a look here: EFS Partition Backup and More [All G2 Variants] *Fixed*.
EDIT: I misread, you want to keep CWM...
Click to expand...
Click to collapse
I was thinking, I'd install TWRP through goomanager, make EFS backup and go back to CWM.
But if something happens, I should have TWRP installed to restore EFS?
terhiha said:
I was thinking, I'd install TWRP through goomanager, make EFS backup and go back to CWM.
But if something happens, I should have TWRP installed to restore EFS?
Click to expand...
Click to collapse
CWM backs them up. The problem is, they only seem accessible/viewable in CWM. I can not get to the folder in a file explorerexplorer, yet can see them in CWM.....?
Steamer86 said:
CWM backs them up. The problem is, they only seem accessible/viewable in CWM. I can not get to the folder in a file explorerexplorer, yet can see them in CWM.....?
Click to expand...
Click to collapse
What I've been reading, CWM doesn't backup EFS.
Where did you read it does?
terhiha said:
What I've been reading, CWM doesn't backup EFS.
Where did you read it does?
Click to expand...
Click to collapse
I used the zips, and did it in CWM. The folders are present and viewable in recovery, not upon boot. They are created before emulation/0 in CWM. I'm gonna go check if I can somehow move them in CWM... and check files. I'll be back.
Edit: Use the one that makes the zip. CWM shows it created and there, but I can not access it past this to verify it and or it it works and is correct. I am not going to flash it and take that risk.
Steamer86 said:
I used the zips, and did it in CWM. The folders are present and viewable in recovery, not upon boot. They are created before emulation/0 in CWM. I'm gonna go check if I can somehow move them in CWM... and check files. I'll be back.
Click to expand...
Click to collapse
I used the efsbackup zips in CWM.
I initially encountered the same problem with not being able to find the files. From memory I was able to get to the by using a file browser with root capabilities (in my case solid explorer) go back to the root directory then Data\Media. In there I found my efs backup files as well as my CWM nandroid backup.
drc13 said:
I used the efsbackup zips in CWM.
I initially encountered the same problem with not being able to find the files. From memory I was able to get to the by using a file browser with root capabilities (in my case solid explorer) go back to the root directory then Data\Media. In there I found my efs backup files as well as my CWM nandroid backup.
Click to expand...
Click to collapse
The zip and individual files are there in their respective folders, as well other backup data. You sir, are my hero of the day.
The zip method is extremely smaller than individual files...
Steamer86 said:
The zip and individual files are there in their respective folders, as well other backup data. You sir, are my hero of the day.
The zip method is extremely smaller than individual files...
Click to expand...
Click to collapse
That's great news, glad I could help!
I've been wanting to post it in the development thread as a few people had asked something similar but unfortunately I don't meet the post count requirements to help them out!
I quoted your post over there.
I'm not able to move "EFS_backup" anywhere. I try, but moved folder stays empty. It shows "efsbackupflashable.zip", "efs1.img" and "efs2.img"
But they all are 0kb.
I found EFS_backup from data/media, all 3mb large.
Whit root explorer, I copied Efs_backup folder, to another folder in my sdcard, with root explorer I can see it there, but I cant copy it or to my computer.
How do I get it to safe place???
The other zip works too for individual files. I used ZArchiver to zip them up. Sent a copy to my PC with ES File Explorer over lan and uploaded another copy to Google Drive. You should be able to grab anything from SD to PC when plugged in USB. I replaced su with SuperSU a while ago. Actually get prompt permissions now. The OG SU on this phone with root method didn't play well. Also, make sure you show hidden files, PC and Phone explorer.
Steamer86 said:
The other zip works too for individual files. I used ZArchiver to zip them up. Sent a copy to my PC with ES File Explorer over lan and uploaded another copy to Google Drive. You should be able to grab anything from SD to PC when plugged in USB. I replaced su with SuperSU a while ago. Actually get prompt permissions now. The OG SU on this phone with root method didn't play well. Also, make sure you show hidden files, PC and Phone explorer.
Click to expand...
Click to collapse
Thanks!! Via Root Explorer I emailed this for me and uploaded to Google drive. Size looks fine.
Now i have my EFS backup and I can continue my search for best ROM for me!
sorry for being dumb but do i use the zip from EFS Partition Backup and More [All G2 Variants] *Fixed* link and just flash it in cwm for the efs backup
Yes
And what if I just root my g2, download ES-Explorer then go to the root of the internal and just copy and paste the efs folder?
Shouldn't that work too?
Kalaidos said:
And what if I just root my g2, download ES-Explorer then go to the root of the internal and just copy and paste the efs folder?
Shouldn't that work too?
Click to expand...
Click to collapse
stick to proven methods......
Sent from my LG-D802
Ok thank :crying:

Categories

Resources