When I try to copy my TWRP backup file to PC only the two boot files will copy. Is there a way around this. How would I pull the files using ADB? I have 4.3 and TWRP 2.6.
gale2000 said:
When I try to copy my TWRP backup file to PC only the two boot files will copy. Is there a way around this. How would I pull the files using ADB? I have 4.3 and TWRP 2.6.
Click to expand...
Click to collapse
Same issue....only two files copy over. It has to do with permission changes of the backup files with TWRP version 2.6. I tried doing an ADB pull in Windows, but could not get it to work (Various errors). I would also like to know the proper method to do this.
EDIT: Finally got the adb pull to work and all the files were copied over.
Related
Hello everyone here at xda-developers.
A few days ago I was watching streams on my Asus Transformer TF101(B70). Suddenly out of nowhere the tablet shuts off and starts an infinite loop which I simply cannot get it out of. I end up restoring the tablet to factory default and load a stock kernel onto my tablet using adb push. Since the tablet doesn't have any rom installed at this point I try to push CyanogenMod 9.0 onto my tablet in order to try and get my tablet to work and this is where the issues begin. First of all I try to push the rom onto /sdcard but that bugs my CWM 5.5.0.4 and will not allow me to access /sdcard and keeps telling me that there are "No files" when I'm trying to access /sdcard. If I restart into recovery it can access my files again but the pushed file is not there.
Afterwards I try again to push the file to /sdcard/download but then it tells me that this archive is Read-Only. I run a the "adb remount" command and it tells me it completed succesfully but when I push again it tells me that the archive is still Read-Only.
I've tried various commands but I can simply not change the archive into read/write. A few times I have succeeded in pushing the rom to /sdcard/download but when I try to locate the file it is simply not there and is not located anywhere on /sdcard despite the process being completed. I have simply no idea on how to get the rom file onto my tablet in order to restore it to normal and I was wondering if any of you have any ideas on how to get my tablet working again?
If you have any questions regarding information needed about just ask and I will provide the necessary information. I am really out of ideas on what to do.
Get a Micro SDCard and copy the ROM onto that from a PC, then put that in the TF and boot to recovery
*Detection* said:
Get a Micro SDCard and copy the ROM onto that from a PC, then put that in the TF and boot to recovery
Click to expand...
Click to collapse
I already have a MicroSD card in my tablet but I am not able to access it from CWM recovery
Try pushing the file to data/media.
Are you pushing the file while in cwm recovery?
baseballfanz said:
Try pushing the file to data/media.
Are you pushing the file while in cwm recovery?
Click to expand...
Click to collapse
I am pushing files while in recovery mode. I have already tried pushing to.other directories than /media/download but the same thing.happen. either it tells Me that the file system is read only or it says that the file transfer succeeded but the file cannot be located anywhere. I read up on the solution of trying to access a rom through microssd. Unfortunately my recovery doesn't support that unless I can change it to use external.memory instead of internal memory.
The only thing I succeeded in was getting a rom pushed to /system. Would I be able to access this directory from my recovery?
baseballfanz said:
Try pushing the file to data/media.
Are you pushing the file while in cwm recovery?
Click to expand...
Click to collapse
I am pushing files while in recovery mode. I have already tried pushing to other directories than /sdcard/download but the same thing happen. either it tells Me that the file system is read only or it says that the file transfer succeeded but the file cannot be located anywhere on /sdcard. I read up on the solution of trying to access a rom through microsd. Unfortunately my recovery doesn't support that unless I can change it to use external memory instead of internal memory but I do not know it that is possible.
The only thing I succeeded in was getting a rom pushed to /system. Would I be able to access this directory from my recovery?
WebberX said:
possible.
The only thing I succeeded in was getting a rom pushed to /system. Would I be able to access this directory from my recovery?
Click to expand...
Click to collapse
It would be better to try than to ask !
How did you get on, any luck yet ?
You could try flashing a new CWM that supports SDCards via NVFLASH
WebberX said:
If you have any questions regarding information needed about just ask and I will provide the necessary information. I am really out of ideas on what to do.
Click to expand...
Click to collapse
If you did a factory reset (and hence data loss is not a problem), your best option is using nvflash/wheelie to restore the device to a clean state with a stock firmware build and then reflash CWM to install whatever custom ROM you want.
So I've installed a custom ClockworkMod recovery and ROM on my Nexus 7 tablet. Life was good. Recently, I was running out of space and decided to delete my CWM backup (after saving it to my computer). And then, I realized I couldn't.
I went into ES File Explorer to try. I couldn't do it there.
I went into the ADB shell as root to try to remove it. No luck again, just the message when I finally DID try to remove one file:
Code:
# rm boot.img
rm failed for boot.img, Operation not permitted
What am I doing wrong?
Edit: This looks like it's ClockWorkMod (5.8.??)'s fault, but besides reading that another backup won't make the current one much larger, I don't actually know how to delete the current one.
Try "rm -rf ddd" (where "ddd" is the directory name) on the directory containing the files.
Sent from my Nexus 7
BillGoss said:
Try "rm -rf ddd" (where "ddd" is the directory name) on the directory containing the files.
Sent from my Nexus 7
Click to expand...
Click to collapse
in the development section there is a cwm flashable.zip that will delete them.. Then upgrade to latest cwm or TWRP.. its a bug from older version of cwm.. its talked about in the dev cwm thread..
good luck..
I did this in a way not mentioned here that still deserves mentioning... First I updated to the latest version of CWM available (via the Nexus 7 Toolkit) and then booted into recovery, opened the backup option, deleted the backup that was there, then cleaned the nandroids.
I could not find the aforementioned flashable zip, and because of the new CWM I had, I wanted to attempt a proper method of removal before running another rm command via the terminal. Therefore I could not verify the other methods mentioned here, my apologies.
erica_renee said:
in the development section there is a cwm flashable.zip that will delete them.. Then upgrade to latest cwm or TWRP.. its a bug from older version of cwm.. its talked about in the dev cwm thread..
good luck..
Click to expand...
Click to collapse
primetechv2 said:
I could not find the aforementioned flashable zip, and because of the new CWM I had, I wanted to attempt a proper method of removal before running another rm command via the terminal. Therefore I could not verify the other methods mentioned here, my apologies.
Click to expand...
Click to collapse
Sorry for re-opening an old thread, but I am having a problem where I have files that I cannot delete from the clockworkmods/blobs folder on my external sd card. So far, I have tried deleting them from a file explorer, deleting them as root from a file explorer, root and non-root deletes from terminal emulator, deleting through windows, adb shell deletes (with system booted).
I also wanted to try adb shell while booted into cwm, but I could not get the adb connection to work from recovery.
I also tried to find the zip file in the developer section and that's the real reason why I revived this thread...Does anyone know where the thread is with the zip file to remove these files?
I think the only way to delete them is through cwm.Boot to recovery and use the menu to delete them.
Sent from my SGH-I927 using xda app-developers app
Kodiack99 said:
I think the only way to delete them is through cwm.Boot to recovery and use the menu to delete them.
Sent from my SGH-I927 using xda app-developers app
Click to expand...
Click to collapse
When I booted to recovery, I am able to delete each of the backups that I created. These all deleted correctly. I then went to Free unused backup files (to delete the files/folders in the blobs folder) and ran that and most of the files are gone. When I boot back into the phone, there are still some files/folders there and they seem to be taking up about 4-5 GB on the card. When I try to delete them through the file manager apps (either as root or not) they will not delete and the manager reports an error (before clicking delete, the manager displays a statistics report that says that the size of the files are over 2TB so obviously something is very messed up about them). I have also tried to delete them through the terminal (again as root and regular user) and they will not delete there either and they totally mess up the terminal window with unprintable characters (the only way to recover is to exit out of the current window and start a new one).
I finally fixed this problem last night by backing up all of my stuff (except the clockworkmod folder) to my computer. I then rebooted into recovery (latest version of CWM non-touch) and formatting the ext SD Card. When I rebooted there were still some folders there (including the clockworkmod folder). I did a format from within the OS and that cleared everything out. I copied all of my stuff back from my computer and I'm now good to go. Not sure how it got messed up to begin with, but the problem is fixed now. I think I'm going to stick with TWRP from now on.
Flashed a rooted stock Android 4.2 ROM, root appeared to be broken so i figured rather than be late for work i'd flash my nandroid backup i did beforehand. Now recovery can't find the backup location, and under any file explorer it appears as '0' which i have to select first to view the files. Because of this CWM can't see the backup folder. HELP
That's because of the 4.2 multi-user feature, it needs to separate files of multiple users somehow, so it just moves all your files to "0" subdirectory. If you add another users, they will have their own folders.
It should be okay to just move /data/media/0/TWRP to /data/media/TWRP, either via TWRP's file manager or via adb shell while in recovery:
Code:
mv /data/media/0/TWRP /data/media/
Tasssadar said:
That's because of the 4.2 multi-user feature, it needs to separate files of multiple users somehow, so it just moves all your files to "0" subdirectory. If you add another users, they will have their own folders.
It should be okay to just move /data/media/0/TWRP to /data/media/TWRP, either via TWRP's file manager or via adb shell while in recovery:
Code:
mv /data/media/0/TWRP /data/media/
Click to expand...
Click to collapse
Thank you for your help but I'm using clockworkmod recovery. What do i need to change in that command to suit CWM?
Matty Matt said:
Flashed a rooted stock Android 4.2 ROM, root appeared to be broken so i figured rather than be late for work i'd flash my nandroid backup i did beforehand. Now recovery can't find the backup location, and under any file explorer it appears as '0' which i have to select first to view the files. Because of this CWM can't see the backup folder. HELP
Click to expand...
Click to collapse
Haha, I thought I was the only one! I thought I had partitioned my card somehow. I basically did the same thing as you. I also am running CWM. Its making Rom flashing almost impossible for me, I can only select & flash files from the SD "O". All my nandroids are on the regular SD selection. Did you ever find you answer Matt.?
Sent from my Nexus 7 using Tapatalk 2
Hi All,
I wanted to update my ideos s7-104 (best buy US) to the Joenilan froyo fusion rom and made one mistake along the way. I copied the .zip file to the external sd card not the internal sd card. So zip file is not available to CWM (2.5.1.8). I tried manually pushing the file to the tablet with ADB (from computer) but the tablet is not visible to the system (windows 7 64bit with drivers installed, I could not get HiSuite to install with upgrade.cmd). This is strange becasue the Upgrade utility which uses adb flashes the rom just fine. Of course I wiped the system and reformatted the device per the instructions. Now when the unit boots it goes the fastboot and then stops with option to reboot with back/home which works. I don't think the unit is bricked just yet since I can still get into the CWM recovery.
Does anyone have any bright ideas to move the Ideos S7 Froyo v1.3-EXT4 Stable.zip to the internal sdcard?
Thanks for all the useful information previously posted!
Bruce
St. Louis MO
Hi, let see if i can help you, if you have a backup restore, if you dont that implies some work, i dont use windows i prefer linux, you can try to create a virtual machine, with windows xp or linux ubuntu and then with fastboot commands push the file to sd card.
Another way, get the oficial rom for your tablet copy the file to ext-sdcard and follow the install instrutions of the rom, you must create the dload directory in ext-sdcard.
it look like you lost the system files and the kernel of the device, so it boot in to fastboot, fastboot does not acept adb, but fastboot has some commands to copy kernel and system file to the device, it cant copy a zip file, must be a img file.
Version 6.0.1 of cwm reads update files from ext-sdcard so you can also try to install that recovery version with fastboot.
Remember: it always a good idea to have a backup before doing anything.
Hope that helps.
Fixed
hal_2000 said:
Hi, let see if i can help you, if you have a backup restore, if you dont that implies some work, i dont use windows i prefer linux, you can try to create a virtual machine, with windows xp or linux ubuntu and then with fastboot commands push the file to sd card.
Another way, get the oficial rom for your tablet copy the file to ext-sdcard and follow the install instrutions of the rom, you must create the dload directory in ext-sdcard.
it look like you lost the system files and the kernel of the device, so it boot in to fastboot, fastboot does not acept adb, but fastboot has some commands to copy kernel and system file to the device, it cant copy a zip file, must be a img file.
Version 6.0.1 of cwm reads update files from ext-sdcard so you can also try to install that recovery version with fastboot.
Remember: it always a good idea to have a backup before doing anything.
Hope that helps.
Click to expand...
Click to collapse
Thanks so much for the tips. I was able to flash the trzmod-v3 image and now I have a working tablet again. Pretty slick I must say.
Hi, well done, i'm working with cm9 for s7 maybe in some few days you can try cm9
hal_2000
does anyone know the combination to get into recovery and cwm.
thank's
sorry my bad english
BANOUNDROID said:
does anyone know the combination to get into recovery and cwm.
thank's
sorry my bad english
Click to expand...
Click to collapse
Hi, with s7 power off press, menu + call(green key) + power, wait a few seconds and you get cwm screen if it is install
Hal_2000
I am trying to get the F2FS file structure and I can't find the SlimKat Rom or GAPPS files on my tablet. All I have is a laptop with Win8, which has copies of the needed files on there. Is there a way that I can get the .ZIP files onto my tablet, or make my laptop work like an OTG-USB? I'm not in the US and I don't know if I can get an OTG cable any time soon.
Thanks.
steve626 said:
I am trying to get the F2FS file structure and I can't find the SlimKat Rom or GAPPS files on my tablet. All I have is a laptop with Win8, which has copies of the needed files on there. Is there a way that I can get the .ZIP files onto my tablet, or make my laptop work like an OTG-USB? I'm not in the US and I don't know if I can get an OTG cable any time soon.
Thanks.
Click to expand...
Click to collapse
So is your situation:
Tablet is wiped
Partitions are formatted to f2fs
Recovery still functioning
If that is the case, then just use the sideload function. For TWRP, its under the advanced menu. Start sideload mode in TWRP, then on the PC open a command window in the directory where the files are (google to see how to add that function to the windows right click menu...really handy). Then:
adb sideload yourfilenamehere
Do it for both files.
Done.
brizey said:
So is your situation:
Tablet is wiped
Partitions are formatted to f2fs
Recovery still functioning
If that is the case, then just use the sideload function. For TWRP, its under the advanced menu. Start sideload mode in TWRP, then on the PC open a command window in the directory where the files are (google to see how to add that function to the windows right click menu...really handy). Then:
adb sideload yourfilenamehere
Do it for both files.
Done.
Click to expand...
Click to collapse
Even Recovery was stuck in a loop. I used a toolkit to flash back to all stock, it's working. Maybe I'll mess around with it again. Thanks.