[Q] ADB Pull of Nandroid Backup 4.4.2 - Android Q&A, Help & Troubleshooting

I have looked just about everywhere online, but I can't find any information. My problem is this: I have a T-Mobile Galaxy S4 running 4.4.2, I am rooted and have clockworkmod recovery touch 6.0.4.7 installed. I created a backup of my stock rom, but I am unable to transfer it to windows using ADB, I tried "adb pull /mnt/shell/emulated/clockworkmod" "C:\Android" and just tells me zero files copied. Also, adb does not recognize /data/media/clockworkmod. I tried using rom manager download server, but it just ends the transfer after about 200KB, without any visible errors. Do I need to change permissions of /data to make the transfer possible? Or Is there another alternative that doesn't require another minimally useful app?

Related

How Do I Delete a Corrupted Nandroid Backup

NOTE: I have searched and reviewed the existing threads on items with similar wording. Several on how to recover corrupted files within the backup etc.. Although the questions and issues are similar none describe the issue that I am experiencing.
Samsung Galaxy Note
Rooted on AOSP xXx FJ,(Flappjaxxx) / FJ Mod of ICS UCLF6
Currently on CWM Recovery 5.8.4.3
Situation:
No prior issues experience with nandroid backup, had 2 other backups plus the one I'm referring to (one of AOSP xXx and FJ Modded)
Performed a nandroid backup to try out CM09 from FJ AOSP. All went well... including the CM09 install and apps.
Missed the S-pen functionality and wanted to flip back to FJ Modded ROM.
Attempted to restore the most recent backup... Failed. Booted into CM09 and went to Root Explorer and looked into the backup file. I noticed that the file has a lot of what appears to be random ASCII characters for file names etc... (indicated to me that this file was corrupted).
Since I had other backups, I went to one of the older ones and restored.
Problem: this corrupted backup is taking up about 1.9 GB and I want to delete but it will not allow me. Looked at permissions and it has RW
Question: how the heck do I delete this thing without having to take my SD card out and formatting the sucker?
Thanks in advance
You should be able to plug in your phone to your computer via USB and open folder to view files on the /sdcard. Make sure USB connection is set to "USB Mass Storage" option when connected. Once you opened the folder to view files, you can navigate to the clockworkmod folder, open, and find the backups within that folder and delete that way...
Sent from my MB865 using xda's premium carrier pigeon service
Did you try to delete it in recovery (sorry if there is no such option, never looked for it...) or in root explorer? You could always get a terminal like https://play.google.com/store/apps/details?id=jackpal.androidterm and do like this:
su (if you're rooted)
cd /sdcard/clockworkmod/backup
rm -r 2012-07-12.13.37
Same commands should work in adb as well
Try. Android Commander.
jje
Sent from my GT-I9300 using xda premium
I think that plugging the USB charger into your computer and manually deleting it should do the trick :fingers-crossed:
OK...
Thanks guys for your responses...
- did try connecting to a PC in mass storage mode and tried to delete... did not work
- use Root Explorer to do a delete as well... did not work
- looked to see if there was a delete option in recovery (first thing I looked for) did not find it
I'll try the other options and see where that goes.
JohnnyQ1964 said:
Thanks guys for your responses...
- did try connecting to a PC in mass storage mode and tried to delete... did not work
- use Root Explorer to do a delete as well... did not work
- looked to see if there was a delete option in recovery (first thing I looked for) did not find it
I'll try the other options and see where that goes.
Click to expand...
Click to collapse
If you download clockwork mod (rom manager) you can delete it in the android application in manage and restore backups.
Empty recycle bin on PC sometimes helps when deleted stuff sticks, make sure do this when plugged in ofc
If you're using Windows, run chkdsk ("Scan this drive for errors" in drive's properties) when connected as a mass storage device.
That should help.
If it won't, the guaranteed method is to copy the files you need somewhere else, format the card and put those files back.
to clairfy, you were able to locate the back up files in the folder "clockwork mod-backup" but then it would not delete when you tried?"
Thanks again for all your input.
PC crapped out this past weekend... new hdd installed and re-building with Windows 7 pro-64 (hmmm... maybe I should dual boot to Ubuntu), will need to reinstall some of the linux/android tools.
@frdd... already had terminal installed tried the commands but no luck... it reports back I'm missing files and i get a lot of errors. I guess I'm gonna have to learn Linux/Android
@icomrade... I've got the purchase ver of ROM Manager and haven't fully gone down that rabbit hole but will investigate
@NeverGone\RU... will leave that as a last resort as i've got a 32GB SD card (sucks up time)
@mankows5... yes did find all the directories and files as it should be... just can't delete that 1 backup
Yeah, try Rom manager. Manage and Restore Backups>Select the one you want to delete, then delete it.

[Q] MTK6573 custom recovery and backups / Stock Boot, Recovery + Scatter included

Phone is a Star X19i
Now I'm looking at getting a system to allow me to back up the rom and re-flash if needed.
Post 4 has attachments of my boot, recovery and scatter files.
Old issue: (Solved)
Stupid thing I did I renamed the mtklockscreen.odex to mtklockscreen.odex1 just as a test in a half asleep phase to see if I would get the stock lockscreen loading.
Suffice to say the phone no longer boots.
Really don't think I can get into ADB and rename the file to get the phone booting again unless anyone knows a way.
Android was 2.3.6 and I asked the seller if it was possible to get the rom incase anything like happened which they didn't.
So anyone have any ideas?
I have attached the stock recovery and boot images made with cat and a scatter file I made to post 4.
As I have no idea about modifying these for hard root can anyone take a look?
I don't know the specifics of the phone, but if you can go into recovery mode maybe you can get adb working, or use a flashable zip to rename the file by installing it from recovery (just need to edit the zips' updater script)
dxppxd said:
I don't know the specifics of the phone, but if you can go into recovery mode maybe you can get adb working, or use a flashable zip to rename the file by installing it from recovery (just need to edit the zips' updater script)
Click to expand...
Click to collapse
I got into built in Factory mode and can see the file I renamed through ADB and android commander but cannot rename it back due to not having hard root access.
I also have a copy of the boot and recovery partitions 5 and 6 respectively I made in the adb shell yesterday as I was half looking at getting hard root access.
ren mtklockscreen.odex1 mtklockscreen.odex
ren: permission denied
I read you can do a custom recovery with root using SP Tools still so can anyone help me do this?
I know about system root etc and stuff and have flashed roms before on other tablets and have been a PC I.T tech (wouldn't think it due to the stupid mistake) but this recovery and scatter files etc is kinda new to me.
I have a scatter file now I just made if anyone is interested in helping me.
Yes I have a MTK6573 but the scatter file came from the MT6516 Rom Studio which I read works the same for the 6573.
Attached is also my stock boot and recovery partitions I made with cat yesterday if there usable to anyone to help.
Well I got it working and fixed.
I had to go into adb shell and su and mount the file system as writable, as I have used linux before I didn't know about android and what needed to be done and permission locks etc.
The stock boot, recovery and scatter files will remain on this thread if anyone wants to help create or find a recovery which can allow me to create backups and flash custom roms.
I may be able to provide a dump of android 2.3.6 for those that want it once I'm provided with a backup solution as I have read a few people wanting this updated android rom.
This got too close to what I would like liked with bricking this phone.
And I'm not comfortable unless I have a rom backup of this.
Rooting Advice: For anyone with a MTK6573 on Android 2.3.6 trying to root but having issues with super one click make sure you only turn on USB debugging after Android has loaded and just before you plug the usb cable in to run super one click.
I have seen a few thread and posters here about not being able to root the phone and this is the cause that debug needs to be switched on right before you connect and try to root.
Original seller has agreed to send the firmware and flashing stuff on cd for me so I can upload it for you all.
This is a win for MTK6573 Star X19i owners as I'll have the updated 2.3.6 Gingerbread firmware to release for you all root modify etc in a week or so.
Be careful with ROM studio. I believe it is not compatible with MT6573.
You want to read this: http://bm-smartphone-reviews.blogspot.com/2012_04_01_archive.html
cybermaus said:
Be careful with ROM studio. I believe it is not compatible with MT6573.
You want to read this: http://bm-smartphone-reviews.blogspot.com/2012_04_01_archive.html
Click to expand...
Click to collapse
That's what I read and did to get my scatter as I used cat then used the program linked in that thread to generate the scatter.

[Q] Using ADB while in Recovery

I cannot for the life of me use ADB while in Clockworkmod Recovery on my Verizon Samsung Galaxy SIII. ADB works fine when the device is booted up but won't work when i'm in recovery. I need to modify or replace my build.prop file.
I've tried manually pointing the device in device manager to the drivers from Kies. (Won't recognize them.)
I've tried downloading the Android USB Drivers and modifying the INF file to match my Vendor ID for the SIII. (Doesn't match the catalogue entry.)
I've tried mounting system as RW.
I've also taken out the externalSD card and put a build.pop "package" so that I could flash it but ClockWorkMod doesn't recognize the card. It will only see the internal storage.
Any ideas? What else can I do besides ODIN Re-Flash / Nandroid Restore.
Thank you for any help you can offer.
Seeknay747 said:
I cannot for the life of me use ADB while in Clockworkmod Recovery on my Verizon Samsung Galaxy SIII. ADB works fine when the device is booted up but won't work when i'm in recovery. I need to modify or replace my build.prop file.
I've tried manually pointing the device in device manager to the drivers from Kies. (Won't recognize them.)
I've tried downloading the Android USB Drivers and modifying the INF file to match my Vendor ID for the SIII. (Doesn't match the catalogue entry.)
I've tried mounting system as RW.
I've also taken out the externalSD card and put a build.pop "package" so that I could flash it but ClockWorkMod doesn't recognize the card. It will only see the internal storage.
Any ideas? What else can I do besides ODIN Re-Flash / Nandroid Restore.
Thank you for any help you can offer.
Click to expand...
Click to collapse
Spent a little more time and answered my own question. This worked:
Tried using the Naked USB Drives here: http://forum.xda-developers.com/showthread.php?t=1379875 and booting up Windows 8 with Disabled Driver Verification.
Update 2: BUILD.PROP must be at CHMOD 644 (Permissions)

[HELP] I deleted my OS on my Live. How do I transfer zip file?

I made the biggest stupidity. I deleted my rom, using twrp recovery. I deleted sd card as well, I wanted to do a new flash but now I'm stuck. I have lupus jb kernel installed on my lww. I know there is a way to transfer zip files via sideload and then installing them. But I'm using a Mac. What can I do? Don't tell me to use windows, i have it installed on a virtual machine but i can't use internet. So please, I read some guides but are to difficult I already downloaded Android SDK for mac but I can't get to run adb commands.
I need your help, how can I transfer my rom zip file to sd card using this twrp recovery?? I'm a noob when it comes to use adb and stuff so please help me.
PD. I also can't activate usb debugging, because I have nothing installed on my phone, except the lupus kernel.
Nevermind, I solved it. TWRP is AWESOME! Just entered recovery, mount usb and I was able to put the zip file in sd card.
AW: [HELP] I deleted my OS on my Live. How do I transfer zip file?
There should be adb (and the android sdk) for mac, too
You could have installed it and sideload the zip. But mounting it was well, too :good:
Sent from my SK17i running Android 4.1.2

CWM nandroid copying in KitKat 4.4.4

I've been using Android and CWM for years with no problems till now that I'm using a rooted KitKat ROM (SlimKat). By default root is not enabled in SlimKat, but I did enable it along with USB debugging. I have CWM installed and it made a nandroid backup on my Moto G (1st Gen. which doesn't have an SD card). I want to make a copy of this backup and found it in /data/media/clockworkmod. However, to see this I had to use Root File Manager as a non-root user cannot see this directory.
So how do I copy this?
My thought was adb. However, even adb won't let me copy this to my Ubuntu Linux pc.
Marty
EDIT:
I thought running adb as sudo would work. It does on some directories, but not this one where the CWM backups are. Here's what I did in Ubuntu:
sudo adb devices
sudo adb pull /data/media/clockworkmod/
remote object '/data/media/clockworkmod/' does not exist
got it! I had to use another app and OTG to a USB flash drive. For some reason Root File Manager kept shutting down whenever I tried to write these backup files to my USB flash. SlimKat was installed with an app called Simple Explorer. It saw the same directory once I gave it root permission and then was able to copy my 2 nandroid backup folders to my USB flash drive.
Marty
it didn't work. Appeared to, but the file size isn't even the same Maybe if I write it to an ext4 partitioned USB flash it would get it right?
Marty
I think all that did work, but I found an official play store app for CWM called CWM Backup Manager that pulled the CWM backups to a place where they can be copied.
Marty

Categories

Resources