Rom manager - Nexus 4 Q&A, Help & Troubleshooting

It hides the clockwork mod backups you make in a folder you can't access via usb mount. I'm wondering if there is a work around because transferring via Wi-Fi is slow. I just wanna put them on an external hard drive and free up the memory on my phone.

ADB is your friend. The best way to do it is to use "adb pull" to copy the backup to your computer.
Or, I suppose you could copy/move the backup to a folder that's visible when you mount the phone and then move it to your computer from there. I never tried it that way. I always get really slow MTP transfer speeds so I prefer using adb.

jr67 said:
ADB is your friend. The best way to do it is to use "adb pull" to copy the backup to your computer.
Or, I suppose you could copy/move the backup to a folder that's visible when you mount the phone and then move it to your computer from there. I never tried it that way. I always get really slow MTP transfer speeds so I prefer using adb.
Click to expand...
Click to collapse
The problem is the folder isn't visible when the phone is on. So moving the backup folder on the phone is impossible.

You need a root explorer to see the folder. I use Total Commander but there are a bunch of other choices. The backup should be located:
/mnt/shell/clockwordmod/backup
or
/mnt/shell/emulated/clockworkmod/backup
(Both are symlinks to a folder or subfolder located in /data/media/)
Even if you can't see the folder as long as you know where the backups are located you can still use adb:
Assuming the backups are in /mnt/shell/emulated/clockworkmod/backup the adb command would be:
adb pull "mnt/shell/emulated/clockwordmod" "C:/CWMbackup"

Related

TWRP backups location?

Where does TWRP store NAND backups i cant seem to find the backup i made
I think this is 4.2(.1) thing, file structure is baaad and Google should feel bad.
I'm not sure for TWRP but CWM stores it to Internal Storage/clockworkmod and everytime you make a factory reset all of the folders get moved into a new "0" folder. Plug your tablet to the PC and move the recovery folder where it belongs.
Connected to a PC, mine was kept in
Computer\Nexus 7\Internal storage\TWRP\BACKUPS\
You should then see a long string of numbers/letters, then a folder inside this with the date of the backup.
On my Nexus 7 from within ESExplorer, it's located in
/sdcard/TWRP\BACKUPS/
JavaJunkay said:
I think this is 4.2(.1) thing, file structure is baaad and Google should feel bad.
I'm not sure for TWRP but CWM stores it to Internal Storage/clockworkmod and everytime you make a factory reset all of the folders get moved into a new "0" folder. Plug your tablet to the PC and move the recovery folder where it belongs.
Click to expand...
Click to collapse
i finally found it its located in data/media/TWRP/BACKUPS/then a bunch of letters then in that folder is the backup but now i have a problem with moving it i use rom toolbox root browser to find it then select it and when i try to move it into my sd storage so i can put it on my computer it always gives me operation failed is there anyway to access the system files on a pc so i can save my backup?
bradr00lzd00d1 said:
i finally found it its located in data/media/TWRP/BACKUPS/then a bunch of letters then in that folder is the backup but now i have a problem with moving it i use rom toolbox root browser to find it then select it and when i try to move it into my sd storage so i can put it on my computer it always gives me operation failed is there anyway to access the system files on a pc so i can save my backup?
Click to expand...
Click to collapse
I wanted to do the same, but I the end I just plugged it in my PC and did it like that
Sent from my Nexus 7 using Tapatalk HD
bradr00lzd00d1 said:
Where does TWRP store NAND backups i cant seem to find the backup i made
Click to expand...
Click to collapse
HI
There is a simpler solution, OTG cable and direct backup to an memory stick
poolmaker said:
HI
There is a simpler solution, OTG cable and direct backup to an memory stick
Click to expand...
Click to collapse
how do you tell twrp to use an ext hdd?
I think you can only copy through a file explorer,to delete you need to boot to recovery and delete using twrp.Moving is like a cut/paste and it is protected.
Sent from my SGH-I927 using xda app-developers app
JavaJunkay said:
I think this is 4.2(.1) thing, file structure is baaad and Google should feel bad.
I'm not sure for TWRP but CWM stores it to Internal Storage/clockworkmod and everytime you make a factory reset all of the folders get moved into a new "0" folder. Plug your tablet to the PC and move the recovery folder where it belongs.
Click to expand...
Click to collapse
Nexus 7 wifi (2012)
My TWRP backup is stored at location: /data/media/0/TWRP/BACKUPS.
That location is not shown when the N7 is connected to a PC.

Adb internal storage backup

Since internal storage can't be mounted as usb mass storage, i can't use desktop software like synkback for backup modified files.
There is any adb command for backup only modified files from internal storage to desktop folder?
any solution please?
LEENO said:
Since internal storage can't be mounted as usb mass storage, i can't use desktop software like synkback for backup modified files.
There is any adb command for backup only modified files from internal storage to desktop folder?
Click to expand...
Click to collapse
try this (enable usb debugging):
Code:
adb devices
to see if device is connected via adb
Code:
adb pull /name_of_storage/ C:\desktop\name_of_folder
pulling to desktop
Thanks, i think it is for full copy, i need to copy new or modified files
LEENO said:
Thanks, i think it is for full copy, i need to copy new or modified files
Click to expand...
Click to collapse
Code:
adb pull /name_of_storage/name_of_file_or_folder/ C:\desktop\name_of_folder
sent from my Galaxy
There is any option for delete files in destination folder if not exist in source folder?

[Q] Where do I find my nandroid backup (done from Clockworkmod Recovery) on the S4?

I have recently flashed Clockworkmod Recovery on my Galaxy S4 (GT-I9500). I performed a nandroid backup which works just fine since I've been able to use it to restore my stock ROM. However, the phone seems to know where to fetch the backup but I can't locate it personally on the phone either through the PC or using file managers on the device like Root Explorer and Solid Explorer. I even used Solid Edxplorer to change permissions so that I could see all hidden files. Still, all I saw was a 35 byte file named .recovery_version located in /sdcard/clockworkmod with these permissions: rw-rw-r-- and from what I see in the properties of the file it is an MD5. That is all I see. In clockworkmod recovery, the backup is quoted to be in /sdcard/clockworkmod/backup. I can't see that file on my device. Why aren't I seeing this nandroid backup of mine yet it is in the internal storage? I want to move it from my ohone to PC to free up space since it occupies around 3 GB of the precious storage (you all know the storage issues the GS4 is facing don't you?). Help please.
echenze said:
I have recently flashed Clockworkmod Recovery on my Galaxy S4 (GT-I9500). I performed a nandroid backup which works just fine since I've been able to use it to restore my stock ROM. However, the phone seems to know where to fetch the backup but I can't locate it personally on the phone either through the PC or using file managers on the device like Root Explorer and Solid Explorer. I even used Solid Edxplorer to change permissions so that I could see all hidden files. Still, all I saw was a 35 byte file named .recovery_version located in /sdcard/clockworkmod with these permissions: rw-rw-r-- and from what I see in the properties of the file it is an MD5. That is all I see. In clockworkmod recovery, the backup is quoted to be in /sdcard/clockworkmod/backup. I can't see that file on my device. Why aren't I seeing this nandroid backup of mine yet it is in the internal storage? I want to move it from my ohone to PC to free up space since it occupies around 3 GB of the precious storage (you all know the storage issues the GS4 is facing don't you?). Help please.
Click to expand...
Click to collapse
your backup is located in Data/Media/clockworckmod
use es explorer, enable root, move clockworckmod folder to sd card then to your pc
or use adb command to pull it to your pc
re: backup files
echenze said:
I have recently flashed Clockworkmod Recovery on my Galaxy S4 (GT-I9500). I performed a nandroid backup which works just fine since I've been able to use it to restore my stock ROM. However, the phone seems to know where to fetch the backup but I can't locate it personally on the phone either through the PC or using file managers on the device like Root Explorer and Solid Explorer. I even used Solid Edxplorer to change permissions so that I could see all hidden files. Still, all I saw was a 35 byte file named .recovery_version located in /sdcard/clockworkmod with these permissions: rw-rw-r-- and from what I see in the properties of the file it is an MD5. That is all I see. In clockworkmod recovery, the backup is quoted to be in /sdcard/clockworkmod/backup. I can't see that file on my device. Why aren't I seeing this nandroid backup of mine yet it is in the internal storage? I want to move it from my ohone to PC to free up space since it occupies around 3 GB of the precious storage (you all know the storage issues the GS4 is facing don't you?). Help please.
Click to expand...
Click to collapse
If you cannot see or find it in your /sdcard internal, look in your external sdcard /clockworkmod
folder and sub directories in that folder.
The backups are either in internal or external sdcard /clockworkmod and it's sub-directories
Good luck,
Thanks, I found it using root Explorer in the directories you directed me to. Good day mate
samersh72 said:
your backup is located in Data/Media/clockworckmod
use es explorer, enable root, move clockworckmod folder to sd card then to your pc
or use adb command to pull it to your pc
Click to expand...
Click to collapse
samersh72 said:
your backup is located in Data/Media/clockworckmod
use es explorer, enable root, move clockworckmod folder to sd card then to your pc
or use adb command to pull it to your pc
Click to expand...
Click to collapse
Really appreciate this. Was looking around and noticed my phone storage was fairly low, and couldn't find my stock backup to save my life. Googled this and it brought it right up! Again, thanks! Was fixing to make another backup of my current setup and realized I didn't have enough room lol.
Billy
samersh72 said:
your backup is located in Data/Media/clockworckmod
use es explorer, enable root, move clockworckmod folder to sd card then to your pc
or use adb command to pull it to your pc
Click to expand...
Click to collapse
Thanks.
I had similar issue.
Your advice resolved it for me as it was exactly where you pointed.
I go about it a bit differently. Under settings in CWMR you can change the backup location to the external sdcard. Do your backup, connect your phone to the pc and copy it off like any other file. The only downside is you need the available space on your card.
apel69 said:
I go about it a bit differently. Under settings in CWMR you can change the backup location to the external sdcard. Do your backup, connect your phone to the pc and copy it off like any other file. The only downside is you need the available space on your card.
Click to expand...
Click to collapse
Until you are on the road and need that backup because you got a bad dl. Unless you keep a zip drive on you.. Which is actually a good idea. I switched over to twrp so I can save it to extsd.
Sent from my SGH-M919 using Tapatalk 4
Brain fart. I meant to say I change the settings in ROM Manager not CWMR.
I think we are talking about doing the same thing but with different apps. I change the location setting in ROM Manager which I use for my backups and it automatically saves the backup to the extsd instead of the device. I then copy it to my pc but always maintain the latest backup on my extsd in case I need it wherever I am. Done and done. No annoying copying from device to extsd to pc or using download server or an adb pull needed.
It's personal preference to use ROM Manager with CWMR or TWRP. It doesn't matter to me. I started off using clockworkmod's apps some time ago and am happy with them. I just moved to 4.2.2 and noticed how ROM Manager handles the backups differently and the number of questions regarding how to get them off their phone. This is my solution and how I have always done it.
Worked on Samsung Galaxy S Duos GT 7562. Thanks!
Don't have the S4, but after googling this, well, THANKS!!!
open your es explorer and active it'a rooting option in slide panel or use root expkorer then go to this path
mnt//shell/emulated/clockworkmod/backup/ you will fine a folder named this date and time thats your backup folder copy it into your mobile storage .... done the n copy or move it in to your pc like normaly file ...
Why is this all the sudden not put on the sdcard? Privacy? Anyway to change recovery to sdcard/clockworkmod/backup?
I used the adb pull command to pull from phone mnt//shell/emulated/clockworkmod/backup
Sent from my Nexus 5 using Tapatalk
In Android 4.2+ backups are placed in secure directory, inaccessible to other apps. Backups can be pulled with adb or by using the ROM Manager Backup Download Server.
Heads up
thanks, i was also looking for the backup location as i dont have an external card, thanks.
Jnewell05 said:
In Android 4.2+ backups are placed in secure directory, inaccessible to other apps. Backups can be pulled with adb or by using the ROM Manager Backup Download Server.
Click to expand...
Click to collapse
Ehm, no. Running 4.4.2 and still the back-ups are located in the directories talked about above. Easily accessible by all file manager apps.
Never been any other way as well.
found the backup dir
my portion of a backup was under CWM and backups found deleted using sd card:good:
Having trouble finding backups on Nexus4
I have the same problem....
The backup was made through the CWM in recovery mode...
The MD5 checksum gave an error..I am trying to fix it so I need access to the files.
I can see the backup folders in recovery mode but cant find them with any file explorer nor did they show with adb pulling sdcard...
Any ideas??
helsoommoosleh said:
open your es explorer and active it'a rooting option in slide panel or use root expkorer then go to this path
mnt//shell/emulated/clockworkmod/backup/ you will fine a folder named this date and time thats your backup folder copy it into your mobile storage
Click to expand...
Click to collapse
Thank you sir a lot.
I would pray CWM devs, and all the other app devs like Dolphin, Whatsapp etc to please print the path once the backup is done. This will save us a bunch of time!
THANKS
samersh72 said:
your backup is located in Data/Media/clockworckmod
use es explorer, enable root, move clockworckmod folder to sd card then to your pc
or use adb command to pull it to your pc
Click to expand...
Click to collapse
Hi, Thanks a lot I am new to using SONY devices as I have used SAMSUNG and HTC ones before. Your direction pointed me to the right path and I was able to move it to the PC afterwards.
I really appreciate your help.
Bye

[Q] [SOLVED] [4.3] Cannot write to SD card properly?

Hi,
I updated my nexus 7 to from PA 4.2 to PA 4.3, before this I did multiple backups using TWRP, TiB and copied the entire contents of my SD card to my computer using adb (adb push and adb pull) on OS X (android file transfer does not work properly and windows kept on not responding, Linux had no space and no write to my OS X partitions or Windows Drive.
After the update I restored apps from TiB, and copied the data folders for some apps (apex launcher backups etc.), my TWRP folder and TiB folder back to my SD card. (using adb again) Then, with adb, I copied some films to a Media folder on the root of my sdcard, I created the folder with adb but now, with any file manager I can't write to the contents of that folder anymore, or change anything. Then I tried to make another, updated TiB backup, but it said insufficient storage space, even for just one app with well over 5GB of free space. Then I tried to do a TWRP backup using offline nandroid backup, however the backup completed in 0 seconds and made no new file or folder in the TWRP folder on sdcard. I then tried in recovery, the backup completed, but upon further inspection no new files or folders were made.
I think the problem is that any folders I have made through adb have no write permissions, even though mounted rw(x). And I cannot change the permissions. ( in Linux would I be able to cd to the directories on my n7 then sudo chmod 755 them?), I already tried this with mobile terminal however on my N7 and had no result. What is the solution for this problem?, should I wipe sdcard and make folders using a file explorer, then use adb to copy files into the premade folders, or just find a way to use Ubuntu to copy the files?
Thanks!
Sent from my Nexus 7
I have fixed it my self by doing this:
I was originally using the link from solid explorer to view and edit my sdcard files, which uses the /sdcard directory on root. For some reason I could not edit files going through /sdcard made from adb on OS X, however, when navigating internal storage through /data/media/0/ I had full permissions and could delete the folders made through adb, making new TiBu Backups and TWRP backups.
I tried using shell through adb to change permissions and remove the directories using:
Code:
adb shell
su chmod 777 /sdcard/(TWRP/TiBu etc...)
and
Code:
adb shell
rm -rf /sdcard/(TWRP/TiBu etc...)
but had permission denied errors.

What's app database recovery.

can anyone help me please i need to retrieve msgstore.db.crypt7 from my internal memory i have rooted my phone and have omega custom rom.i accidentally deleted the whole folder using es file explorer what's app only retrieves the message back 7 days ago and i need to go back further more,i have tried undelete and digger disk both dont find the internal memory i have tried several applications but wont find my phone i have enabled usb debug mode still wont find my phone i have heard recuva works but sgs5 doesnt have usb mass storage but on my pc windows 7 it shows portable device so i can see my internal and external but not through programs can anyone help me please?
bump any help please?
If you did the smart thing i.e. turned your phone off immediately after you deleted the file, you should be able to recover it. But if you kept mucking around (in addition to not having a backup of your phone), all bets are off. You may well have overwritten the database if you continued to use the phone.
Your best bet would be to copy the area of phone memory where the database is or was. That both preserves a copy of what is recoverable and lets you avail yourself of the large number of PC based data recovery programs available.
The following terminal (CLI) commands should image (make an exact copy) of the /data and /system partitions to your external SD card. Then use a PC based data recovery program to recover the deleted file. Check these commands for typos before executing them. A typo could make a real mess of your phone's file system.
$ su
# dd if=/dev/block/mmcblk0p25 of=/extSdCard/data.img
# dd if=/dev/block/mmcblk0p23 of=/extSdCard/system.img
.
fffft said:
If you did the smart thing i.e. turned your phone off immediately after you deleted the file, you should be able to recover it. But if you kept mucking around (in addition to not having a backup of your phone), all bets are off. You may well have overwritten the database if you continued to use the phone.
Your best bet would be to copy the area of phone memory where the database is or was. That both preserves a copy of what is recoverable and lets you avail yourself of the large number of PC based data recovery programs available.
The following terminal (CLI) commands should image (make an exact copy) of the /data and /system partitions to your external SD card. Then use a PC based data recovery program to recover the deleted file. Check these commands for typos before executing them. A typo could make a real mess of your phone's file system.
$ su
# dd if=/dev/block/mmcblk0p25 of=/extSdCard/data.img
# dd if=/dev/block/mmcblk0p23 of=/extSdCard/system.img
.
Click to expand...
Click to collapse
Thanks i've tried every recovery software for android but it's not detecting any of the internal memory as sgs5 does not have usb mass storage i have enabled usb debug settings i have the samsung usb drivers but it shows up on my windows 7 as a portable device.
do you recommend any decent software or tutorial's which might help me recover it.
Thanks for your help!
xxmcvapourxx said:
i've tried every recovery software for android but it's not detecting any of the internal memory as sgs5 does not have usb mass storage
Click to expand...
Click to collapse
You didn't follow any part of what I suggested, so it's a mystery why you quoted my post. I specifically advocated using PC based data recovery software, not an android app. And at no time would you need your S5 to be in MSC (mass storage) mode.
Use the posted commands to copy your memory contents to a SD card, plug the SD card into a PC and then use a PC based data recovery app. The commands can be entered from a terminal emulator app, TWRP or an ADB shell session CLI.
Good luck
.

Categories

Resources