[Q] CWM Backups - Nexus 4 Q&A, Help & Troubleshooting

How do we delete them?
I cant seem to find them when I connect the phone to the PC.
Root explorer?

Check under the clockworkmod folder when you plug the phone in.
Sent from my Nexus 4 using Tapatalk 2

AW: [Q] CWM Backups
They are under /data/media/clockworkmod/backup/ If you want to delete a backup you can do that via CWM in the backup submenue. If you want to have them on PC pull them via adb:
Code:
adb pull /data/media/clockworkmod/backup/
Sent from my Nexus 4 using xda premium

fkrone said:
They are under /data/media/clockworkmod/backup/ If you want to delete a backup you can do that via CWM in the backup submenue. If you want to have them on PC pull them via adb:
Code:
adb pull /data/media/clockworkmod/backup/
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Can we change the directory?

As far as I know this is not possible at the moment. Hope this will be changed soon.

where you save the backup media? thanks

Related

Clockwork recovery no computer method?

Is there such a thing?
Sent from my SPH-D700 using XDA App
Cam3ron1 said:
Is there such a thing?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
If you think you could hang with typing some pretty long instructions using terminal emulator, it can be done manually. It's not for the faint of heart... and if you typed in the wrong bml and screw up your phone, it wouldn't be my fault.
If you can hang with that, then cool, I could post some instructions. All this is just so much easier though with the one click method.
Sent from my SPH-D700 using Tapatalk
Ok how long is it and how do I do it
Sent from my SPH-D700 using XDA App
OK...
Firstly, root the phone with z4root from the market. Also get Astro file manager and Android Terminal Emulator from the market while you're there. Connectbot can also be used as a terminal.
Download the one click root 1.4.0 from noobnl to your phone. Extract the contents using Astro file manager. Copy the following files and put them on the root of your sdcard:
redbend_ua
zImage
Now open the terminal app, and type the following commands exactly:
Code:
su
cat /sdcard/redbend_ua > /data/local/tmp/redbend_ua
chmod 755 /data/local/tmp/redbend_ua
/data/local/tmp/redbend_ua restore /sdcard/zImage /dev/block/bml8
Your phone will reboot after the flash.
Remember to type the commands exactly.
Sent from my SPH-D700 using Tapatalk
OK, if you want to cleanup afterwards, go back into terminal and type the following commands:
Code:
su
rm /data/local/tmp/redbend_ua
I will encourage anyone who reads this to not play with redbend_ua unless you know what you are doing. These instructions will work if done exactly to the letter.
Once again, I take no responsibility if you hose your phone.
Sent from my SPH-D700 using Tapatalk
Also, make a backup with ClockworkMod after you install it, so you have your current rom saved, just in case.
Sent from my SPH-D700 using Tapatalk
Download rom manager, then use rom manager to download clockwork mod, then use astro which is a free app available in the market which is very useful, to open the sd card folder, then go to clockwork mod folder then copy recovery-update.zip and paste it to the root of your sd card and rename it just update. It's already a zip file so you don't have to type.zip. Now reboot into stock recovery and apply update.zip. Does not work with froyo. But if you down load the clockwork redirect, then you can install that once you get into clockwork recovery after you flash a froyo rom before you reboot. But using adb to flash the permanent clockwork kernel is the best way.....try this......update.zip method:
1. boot into ClockworkMod Recovery
2. Apply : http://www.sdx-downloads.com/devs/noobnl/clockworkmod2.5.1.0update-fixed.zip
Sent from my spot on the earth.
Thanks that worked. I appriciate it
Sent from my SPH-D700 using XDA App
your welcome!
Sent from my spot on the earth.
How, how did you make it work!!!

[Q] ADB freezes when taping commands

I had to restore my Iconia, so i used the acer.Update.zip, then i flashed my system.img using connectbot directly from my tablet, then i did an hard-reset, now I need to push wifi modules.
I installed the android sdk and then i installed iconia drivers too on my Desktop PC running Windows Vista x32 (i know it sucks but right now i can't change os).
I run adb with the devices command and it recognizes my iconia, then i try to run any other command, as adb install C:\my.apk or adb shell and nothing happens...
If I try to close the shell it closes but the abd.exe process doesn't close even if I use the task manager, I have to reboot the PC.
Someone knows what to do, I yet googled but i haven't found anything...
excuse me for my bad english...
Well first off for your wifi modules you don't need adb any root file explorer will work. Put the modules on your SD card then copy them and go to system/lib/modules miunt the system as rw and paste them. Then reboot.
Sent from my PC36100 using XDA Premium App
The problem is that I haven't it and I can't install any apk without adb!
smaury said:
The problem is that I haven't it and I can't install any apk without adb!
Click to expand...
Click to collapse
Why can't you install apks without adb if your talking about gingerbreak just email it to yourself no adb required
Sent from my PC36100 using XDA Premium App
How can I download & install APKs if I haven't a filemanager and I can't connect to the internet?
Hmmmm. Well i would say restore with the Chinese update get a file.manager installed then flash your images that way your file.manager is installed I know.long work around but at work and don't have adb in front of me
Sent from my PC36100 using XDA Premium App
Is there a filemanager in the chinese update or at least wifi will work, i don't remember?
Yes Chinese has working wifi.
Sent from my PC36100 using XDA Premium App
Thank you i'll do that tonight!

[Q] Wiped system and internal storage (accidental) - how to install ROM?

I have TWRP 2.3.3.2. In trying to install a new ROM, I accidentally wiped the sytem AND my internal storage, rendering me without any NANDROID backups or ROM .zip files on my internal storage.
Any tips on how I can load a .zip file onto the internal storage so that I can flash a ROM from TWRP?
Thanks!
DDB
Simplest way would be to use Wug's Toolkit.
andr0idfreak said:
Simplest way would be to use Wug's Toolkit.
Click to expand...
Click to collapse
Thanks, am trying that now.
Or if you want to do it the right way you can push the ROM with adb.
adb push ROM.zip /sdcard/
Sent from my Nexus 7 using xda premium
ddb540 said:
I have TWRP 2.3.3.2. In trying to install a new ROM, I accidentally wiped the sytem AND my internal storage, rendering me without any NANDROID backups or ROM .zip files on my internal storage.
Any tips on how I can load a .zip file onto the internal storage so that I can flash a ROM from TWRP?
Thanks!
DDB
Click to expand...
Click to collapse
Try this TWRP Sideload http://teamw.in/ADBSideload.
El Daddy said:
Or if you want to do it the right way you can push the ROM with adb.
adb push ROM.zip /sdcard/
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
+1 also push the gapps
Sent from my Nexus 4
El Daddy said:
Or if you want to do it the right way you can push the ROM with adb.
adb push ROM.zip /sdcard/
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Yes, I like this idea best. I'm using the latest Android SDK, and I placed ROM.zip in the platform-tools folder (where the adb command file is located). From the platform-tools folder through the command prompt, I type 'adb push ROM.zip /sdcard/', and I get a response 'failed to copy 'ROM.zip' to '/sdcard//ROM.zip': No such file or directory'
When I run the 'adb devices' command, I get:
===
List of devices attached
00416f13db0ce4de revovery
===
Any suggestions?
Thanks!
DDB
andr0idfreak said:
Simplest way would be to use Wug's Toolkit.
Click to expand...
Click to collapse
This. Pushing files in the toolkit. It just works
Sent from my Nexus 4
Not ROM.zip the name of the ROM.zip
Example adb push AOKP.zip /sdcard/
Sent from my Nexus 4
spaceman860 said:
Not ROM.zip the name of the ROM.zip
Example adb push AOKP.zip /sdcard/
Sent from my Nexus 4
Click to expand...
Click to collapse
Yes, I know. I actually named the file ROM.zip.
Thanks for the help, all. I was able to get a ROM installed with the Nexus 4 Toolkit.
What would you guys recommend for the same situation, except that the phone won't connect via usb (and subsequently, will not respond to any fastboot/adb commands)? Is a JTAG service the only option?

[Q] my lg g2 become 16gb from 32gb

hy
i try to flash kitkat on my phone (lg g2 32gb) and the process fail in the middle.
i go back to jb and my storage shown 10.2gb free even i didn't copy anything to my phone.
i try to flash *.kdz file of ver 32 gb and nothing happend.
what can i do to get back to 32gb like the begining?
Install this, see what's taking up space and where. https://play.google.com/store/apps/details?id=com.mobile_infographics_tools.mydrive
Sent from my LG-LS980 using Tapatalk
Thank you
But i think is something messed up in the partition.
Sent from my LG-D802 using XDA Premium 4 mobile app
yossim66 said:
Thank you
But i think is something messed up in the partition.
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I followed this guide http://www.android-hilfe.de/lg-d802-g2-forum/540911-lg-g2-32-gb-hat-sich-ein-16-gb-verwandelt-2.html
If you have problems please contact me
yossim66 said:
hy
i try to flash kitkat on my phone (lg g2 32gb) and the process fail in the middle.
i go back to jb and my storage shown 10.2gb free even i didn't copy anything to my phone.
i try to flash *.kdz file of ver 32 gb and nothing happend.
what can i do to get back to 32gb like the begining?
Click to expand...
Click to collapse
Did you use the searchbar? Because there's already a thread with this problem.
forum.xda-developers.com
midan said:
I followed this guide http://www.android-hilfe.de/lg-d802-g2-forum/540911-lg-g2-32-gb-hat-sich-ein-16-gb-verwandelt-2.html
If you have problems please contact me
Click to expand...
Click to collapse
Thank you,it's worked.
Sent from my LG-D802 using XDA Premium 4 mobile app
LG G2 international D802 became 16 GB from 32 GB
Hi Yossim66,
I faced similar problem while going back to stock. My phone D802 international became 16 gb from original 32 gb.
I tried following ur guide but unable to copy 4 files to system/bin partition, getting error permission denied. I already got my phone rooted using ioroot and tried copying using root explorer/total commander/es file explorer. Root is showing ok but unable to copy files. please help as I am badly stuck.
Regards,
Tushar Pimple
yossim66 said:
Thank you,it's worked.
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Tusharpimple said:
I tried following ur guide but unable to copy 4 files to system/bin partition, getting error permission denied.
Click to expand...
Click to collapse
You are typing su before copying the files to elevate your shell privilege to root, yes?
hi
Hi D00lz
As I said, I am getting error while copying files from pc to device (system\bin) using total commander.
Where to run such command?
Thanks
d00lz said:
You are typing su before copying the files to elevate your shell privilege to root, yes?
Click to expand...
Click to collapse
Tusharpimple said:
Hi D00lz
As I said, I am getting error while copying files from pc to device (system\bin) using total commander.
Where to run such command?
Thanks
Click to expand...
Click to collapse
I use the adb shell for most access to my phone because your computer can't argue with command line (essentially).
1. Follow THIS guide to install ADB drivers on your computer.
2. Copy your 4 files into the C:\adb\ directory (created from Step 1).
3. Turn on USB Debugging on your Android device in Developer Options.
4. Plug your phone into your computer and wait for your device to be recognized.
5. Open Command Prompt as an Administrator and type
Code:
cd C:\adb
6. Type the following commands
Code:
adb push <file1> /system/bin
adb push <file2> /system/bin
adb push <file3> /system/bin
adb push <file4> /system/bin
If you would like to learn more about adb visit Basic adb/shell commands.
Hi everyone
I also have the same problem and i copied thise files and tried with adb shell but every time that i try it says "device offline" and does not procide. My g2 is connected and on and i can navigate to my phone through my pc and i have updated all the drivers. And usb debuging is on. So what cause the problem? What is wrong with adb shell? Any helps would be appreciated

Broke my screen, touch no longer works, want to back up

Hi everyone, I dropped my phone last night and the touch functionality is now finicky at best. Only a few very tiny spots respond to touch input. Anyway, I now want to back up my phone before I send it in for repairs just in case something happens. What is my best option for doing this? ADB won't work because I'm unable to enter the swipe pattern to unlock my device. My recovery is TWRP so I can't navigate it using the volume keys. I have no idea what I should do. Help?
Boot into recovery then use adb
Sent from my Nexus 5
jd1639 said:
Boot into recovery then use adb
Sent from my Nexus 5
Click to expand...
Click to collapse
You mean use adb backup? That requires me to unlock my phone, which is impossible.
Muniosi said:
You mean use adb backup? That requires me to unlock my phone, which is impossible.
Click to expand...
Click to collapse
just run the adb commands when you're in recovery. If you have usb debugging enabled you don't have to unlock your phone.
Sent from my Nexus 5
jd1639 said:
just run the adb commands when you're in recovery. If you have usb debugging enabled you don't have to unlock your phone.
Sent from my Nexus 5
Click to expand...
Click to collapse
I've already tried doing adb backup while in recovery, I just get Now unlock your device and confirm the backup operation. I can't back it up unless I unlock the phone, which I can't do.
Muniosi said:
I've already tried doing adb backup while in recovery, I just get Now unlock your device and confirm the backup operation. I can't back it up unless I unlock the phone, which I can't do.
Click to expand...
Click to collapse
Try using adb pull and pull your whole /sdcard. It'll take a long time but you'll get your stuff
Edit, you could also flash a non-touch cwm in fastboot, but using that for a backup won't backup pictures and stuff
Sent from my Nexus 5
jd1639 said:
Try using adb pull and pull your whole /sdcard. It'll take a long time but you'll get your stuff
Edit, you could also flash a non-touch cwm in fastboot, but using that for a backup won't backup pictures and stuff
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks, pulling sdcard now. What about app data? Would I just use CWM for that?
Muniosi said:
Thanks, pulling sdcard now. What about app data? Would I just use CWM for that?
Click to expand...
Click to collapse
You could make a nandroid with cwm, you'll want to adb pull that off too.
Edit you'll want to pull /mnt/shell/emulated/clockworkmod/backup.
Sent from my Nexus 5
jd1639 said:
You could make a nandroid with cwm, you'll want to adb pull that off too.
Edit you'll want to pull /mnt/shell/emulated/clockworkmod/backup.
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks, working on that now. When I was pulling my sdcard I got an error: cannot create '<filename>': No such file or directory. The file it's referring to is on my computer, so I'm not sure what it's trying to do that it's unable to. I even get it with an administrator command prompt.
Meanwhile, the CWM backup is running out of sdcard space. Is there a way I can write the backup directly to my computer's hard drive?
EDIT: I think I see the issue. The file adb is trying to pull has colons in it. Can I just skip this file, or is there a way to delete it in CWM?
Muniosi said:
Thanks, working on that now. When I was pulling my sdcard I got an error: cannot create '<filename>': No such file or directory. The file it's referring to is on my computer, so I'm not sure what it's trying to do that it's unable to. I even get it with an administrator command prompt.
Meanwhile, the CWM backup is running out of sdcard space. Is there a way I can write the backup directly to my computer's hard drive?
Click to expand...
Click to collapse
Use adb pull /sdcard c:/sdcard. That pull your sdcard and put it in the directory sdcard on your pc.
Sent from my Nexus 5
jd1639 said:
Use adb pull /sdcard c:/sdcard. That pull your sdcard and put it in the directory sdcard on your pc.
Sent from my Nexus 5
Click to expand...
Click to collapse
I don't think that's the issue. Did you see my edit? Also, what can I do about the nandroid backup?
Muniosi said:
I don't think that's the issue. Did you see my edit? Also, what can I do about the nandroid backup?
Click to expand...
Click to collapse
For your nandroid backup it's going to be harder. You need to clean up some space so you'll need to know what and where some large files you don't need any more are
Sent from my Nexus 5
jd1639 said:
For your nandroid backup it's going to be harder. You need to clean up some space so you'll need to know what and where some large files you don't need any more are
Sent from my Nexus 5
Click to expand...
Click to collapse
That's all well and good, but how can I clean up space? Do adb or CWM have functionality for deleting files? I could just pull the files using adb, but I would need to know their locations and filenames.
Muniosi said:
That's all well and good, but how can I clean up space? Do adb or CWM have functionality for deleting files? I could just pull the files using adb, but I would need to know their locations and filenames.
Click to expand...
Click to collapse
You can adb shell. Then from the shell use rm to remove files. But you need to know specifically what you want to remove, the folder it's in and the name and extension
As an example:
adb shell
rm /sdcard/DCIM/*.*
This would remove all your pictures in the gallery
Sent from my Nexus 5
jd1639 said:
You can adb shell. Then from the shell use rm to remove files. But you need to know specifically what you want to remove, the folder it's in and the name and extension
As an example:
adb shell
rm /sdcard/DCIM/*.*
This would remove all your pictures in the gallery
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks, I'd forgotten about that command. I'll try the same thing for the other problem of files with colons in them. I'll report back and let you know if it works!
Thanks man, got both backups to work. You were tons of help!

Categories

Resources