I smashed my screen and am now trying to backup my media data from my phone to my PC. I'm having to use adb due to the fact my screen is completely dead.
I have android toolkit working fine, and it is showing my device in the connected devices section.
However, when I select the option to backup my internal storage it comes up with the message "waiting for USB debugging to be activated" and does not move any further.
How can I fix this issue? Bear in mind I have no way of getting into the phone due to my screen being completely broken.
Thanks a lot!
Try this http://forum.xda-developers.com/showthread.php?p=20868527
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Try this http://forum.xda-developers.com/showthread.php?p=20868527
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
It says to unlock phone to confirm the backup operation - I cannot do that because of no screen! Any other suggestions?
fredcorp6 said:
It says to unlock phone to confirm the backup operation - I cannot do that because of no screen! Any other suggestions?
Click to expand...
Click to collapse
You're not unlocked? If that's the case, you're screwed. You need to have the bootloader unlocked. Sorry man
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
You're not unlocked? If that's the case, you're screwed. You need to have the bootloader unlocked. Sorry man
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
That's not what it means, when you do that command with a lock screen you need to unlock the screen first as a security measure.
I have got an unlocked bootloader and cwm recovery installed.
fredcorp6 said:
That's not what it means, when you do that command with a lock screen you need to unlock the screen first as a security measure.
I have got an unlocked bootloader and cwm recovery installed.
Click to expand...
Click to collapse
You don't have to unlock the screen in recovery. Out should work for you
Use adb backup -apk -shared -all
Start with adb devices. Your device should be shown. What do you get when you do that?
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
You don't have to unlock the screen in recovery. Out should work for you
Use adb backup -apk -shared -all
Start with adb devices. Your device should be shown. What do you get when you do that?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
My device shows up as connected in adb, but when I enter that command I get "now unlock your device and confirm the backup operation".
This is what it looks like:
C:\Program Files (x86)\WugFresh Development\data>adb devices
List of devices attached
0073b690d60fb5cf recovery
C:\Program Files (x86)\WugFresh Development\data>adb backup -apk -shared -all
Now unlock your device and confirm the backup operation.
C:\Program Files (x86)\WugFresh Development\data>
fredcorp6 said:
My device shows up as connected in adb, but when I enter that command I get "now unlock your device and confirm the backup operation".
This is what it looks like:
C:\Program Files (x86)\WugFresh Development\data>adb devices
List of devices attached
0073b690d60fb5cf recovery
C:\Program Files (x86)\WugFresh Development\data>adb backup -apk -shared -all
Now unlock your device and confirm the backup operation.
C:\Program Files (x86)\WugFresh Development\data>
Click to expand...
Click to collapse
Adb can be a pita. Why don't you try this http://forum.xda-developers.com/showthread.php?p=36499906
I haven't tried it but if it works well let me know
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Adb can be a pita. Why don't you try this http://forum.xda-developers.com/showthread.php?p=36499906
I haven't tried it but if it works well let me know
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Get the same message in that as well, doing my head in. It must be due to having a screen lock password... there must be a way round it.
Thanks for trying to help btw.
fredcorp6 said:
Get the same message in that as well, doing my head in. It must be due to having a screen lock password... there must be a way round it.
Thanks for trying to help btw.
Click to expand...
Click to collapse
Ok, here's the problem. The now unlock your device.... is telling you the backup is done, not that you have to use a screen password. I got the same thing trying to do it in recovery and a 0 byte backup file. I could backup when normally booted. But that's not going to help you with the non-functional screen. Let me play around with it a little more and see if I can figure it out.
Edit, let's backup a little bit. Do you have a custom recovery or are you on stock? If it's custom which one?
Edit, sorry man, the best I can do is use adb pull. But that requires you to know specifically where and what the file name is. And you have to do that for every file you want. Seems adb backup only works if you're booted normally and not in recovery.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Ok, here's the problem. The now unlock your device.... is telling you the backup is done, not that you have to use a screen password. I got the same thing trying to do it in recovery and a 0 byte backup file. I could backup when normally booted. But that's not going to help you with the non-functional screen. Let me play around with it a little more and see if I can figure it out.
Edit, let's backup a little bit. Do you have a custom recovery or are you on stock? If it's custom which one?
Edit, sorry man, the best I can do is use adb pull. But that requires you to know specifically where and what the file name is. And you have to do that for every file you want. Seems adb backup only works if you're booted normally and not in recovery.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks for trying to help man!
I'm on cwm recovery.
I tried adb pull to copy all the stuff on my phone using the command "adb pull /" but the files copied did not include my pics or any personal media etc.
What would be the exact location of my pics inside the phone?? Also maybe it's not working because the sdcard is not mounted?
Sent from my iPhone using Tapatalk
fredcorp6 said:
Thanks for trying to help man!
I'm on cwm recovery.
I tried adb pull to copy all the stuff on my phone using the command "adb pull /" but the files copied did not include my pics or any personal media etc.
What would be the exact location of my pics inside the phone?? Also maybe it's not working because the sdcard is not mounted?
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
Try /sdcard/DCIM/Camera
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Try /sdcard/DCIM/Camera
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
No luck... do you know how to mount the sdcard in adb? tried googling it but none of the commands listed are working.
fredcorp6 said:
No luck... do you know how to mount the sdcard in adb? tried googling it but none of the commands listed are working.
Click to expand...
Click to collapse
Have you tried adb pull /sdcard
That should get you everything on it. It'll take a long time
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Have you tried adb pull /sdcard
That should get you everything on it. It'll take a long time
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Yea I have, and I get "0 files pulled. 0 files skipped".
fredcorp6 said:
Yea I have, and I get "0 files pulled. 0 files skipped".
Click to expand...
Click to collapse
You're using cwm aren't you? Try adb pull /data/media. Or adb pull /data/media/0. Cwm is messed up on how it handles the file structure
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
You're using cwm aren't you? Try adb pull /data/media. Or adb pull /data/media/0. Cwm is messed up on how it handles the file structure
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Neither work! It would be massively helpful if you could go to a camera picture on your phone and lookup where it is actually stored? Then hopefully it will be the same on mine.
fredcorp6 said:
Neither work! It would be massively helpful if you could go to a camera picture on your phone and lookup where it is actually stored? Then hopefully it will be the same on mine.
Click to expand...
Click to collapse
We tried that already. It's in /sdcard/DCIM/Camera
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
We tried that already. It's in /sdcard/DCIM/Camera
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I'm making progress! managed to get all my app data off the phone.
Originally when I did adb pull /data, it returned "0 files pulled, 0 files skipped".
Then I went into adb shell and mounted /data, exited adb shell, did the pull again and it worked!
So I'm close... all I need to know is the specific location of my pictures in the file system and I can do it.
Related
How i delete them? I cant seem to find them...
jackdonogy said:
How i delete them? I cant seem to find them...
Click to expand...
Click to collapse
the answer to you question is in an hour old topic already asked in this section. cwm backup storage.
jackdonogy said:
How i delete them? I cant seem to find them...
Click to expand...
Click to collapse
they're in sdcard/data/media
eep2378 said:
they're in sdcard/data/media
Click to expand...
Click to collapse
I cant find the /data folder using ES File explorer...
jackdonogy said:
I cant find the /data folder using ES File explorer...
Click to expand...
Click to collapse
They are in /data/media but you can only view that folder with superuser priviledge. If ES File Explorer has an option of getting superuser permission in settings then you can view them or you can use Root Explorer App.
If you have adb then you can view them in adb shell and then become superuser and then view that location.
as i said. the fix for this is one or two posts below this one. why is it so hard for people to understand engrish?
go to android /mnt/shell/emulate and you will see your nandroid their I had same problem until I found it:thumbup:
Sent from my Nexus 4 using xda premium
phermey said:
as i said. the fix for this is one or two posts below this one. why is it so hard for people to understand engrish?
Click to expand...
Click to collapse
probably because 1 or 2 post below is not helpful at all. Im not sure if you are aware but threads are in order of the most recent comment. So, by posting a reply you are now changing that from 1 or 2 posts below to some other number.
whooda said:
probably because 1 or 2 post below is not helpful at all. Im not sure if you are aware but threads are in order of the most recent comment. So, by posting a reply you are now changing that from 1 or 2 posts below to some other number.
Click to expand...
Click to collapse
heard. the point is its on the same page. it isnt pages deep where you would need a search. the op can get away with not caring about a search. but to read this thread and see that the fix is only a couple of clicks away... why would you take the time to post that you are having the same issue.
gauravsri said:
They are in /data/media but you can only view that folder with superuser priviledge. If ES File Explorer has an option of getting superuser permission in settings then you can view them or you can use Root Explorer App.
If you have adb then you can view them in adb shell and then become superuser and then view that location.
Click to expand...
Click to collapse
I see the nandroid backup in /data/media/clockkworkmod/backup and in /mnt/shell/emulated/clockworkmod/backup. I am using root browser lite.
When I try to delete the nandroid it doesn't work with this app. How can I delete?
Use Solid Explorer, browse files and delete. I do this since forever with CWM and now TWRP
calanizzle said:
Use Solid Explorer, browse files and delete. I do this since forever with CWM and now TWRP
Click to expand...
Click to collapse
I hadn't heard of that browser before. Worked llike a charm. Thank you
ok, so - say i want to copy these nandroids to my computer before i delete them from my nexus 4 / and vice-versa. how would i find it using windows explorer or finder?
i understand that the nandroids for CWM are stored in:
/data/media/clockworkmod
and when you plug your phone into the computer, it shows an emulated sdcard, but whats a quick and easy way of getting to the root of the device for copying from the computer?
apologies if this has been covered before, but i just stumbled upon this thread when looking for it, and this had the latest activity.
thanks
Normally I don't recommend tool kits as people should learn, but I would give one a shot as there is a feature to just pull backup and save to PC.
Sent from my Nexus 4 using xda premium
aimetti said:
Normally I don't recommend tool kits as people should learn, but I would give one a shot as there is a feature to just pull backup and save to PC.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Just to clarify:
Nandroid is stored in the phone's internal storage not the internal sdcard.
When you connect to the computer, windows explorer shows the internal sdcard only.
A file browser app that allows manipulation of the internal storage will show the nandroid. You could copy it to your sdcard and move it to your computer with windows explorer, airdroid, etc. Or you can us the tool kit.
Hope this helps
AW: How to delete Nandroid backups?
In CWM itself you have the possibility to delete them, too. I think this is worth mentioning. To my mind this is the easiest way.
Copying them to your PC is also possible via ADB (if present and activated)
Code:
adb pull /data/media/clockworkmod/
Sent from my Nexus 4 using xda premium
fkrone said:
In CWM itself you have the possibility to delete them, too. I think this is worth mentioning. To my mind this is the easiest way.
Copying them to your PC is also possible via ADB (if present and activated)
Code:
adb pull /data/media/clockworkmod/
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Awesome thanks, so i'm assuming that will copy the data to whatever directory i am currently in in the Terminal. we'll just assume we are in C:\?
Then also i would assume the command to put that nandroid from my PC to the phone would be
Code:
adb push C:/clockworkmod/ /data/media/clockworkmod/
??
thanks
I've read all of the similar threads, can't find it in mtn/shell, data/ only has starbucks and titanium, backups folder. Between Storage, SD, 0/, emulated, and legacy folders, something's gotta be hiding.
When I boot into recovery I'll find it in the restore options, but I need it off of the phone to flash to a replacement device. Any help?
I'm going through the exact situation /;
Sent from my Nexus 4 using xda app-developers app
theedon323 said:
I'm going through the exact situation /;
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You can use Root Explorer to go to /data/media or use adb shell and then run "su" to get root privileges and then the directory will be visible.
The directory is not visible as a normal user and need superuser permissions.
I LOVE THIS MAN/WOMAN. I'd like to give you a present. A hard written card. A bumper. A piece of chocolate.
gauravsri said:
You can use Root Explorer to go to /data/media or use adb shell and then run "su" to get root privileges and then the directory will be visible.
The directory is not visible as a normal user and need superuser permissions.
Click to expand...
Click to collapse
Do I need the blobs? Never seen em before...
FishFan319 said:
I LOVE THIS MAN/WOMAN. I'd like to give you a present. A hard written card. A bumper. A piece of chocolate.
Click to expand...
Click to collapse
FishFan319 said:
Do I need the blobs? Never seen em before...
Click to expand...
Click to collapse
Yes, you need to copy the blobs as well as backup directory.
From what I understand, Backup directory is now very small in size and backups are done incrementally by pointing to blobs (which are the actual data).
Hi,
My tablet was having some issues yesterday and wouldn't turn on, so I managed to do a factory reset, planning on restoring everything from Titanium Backup (from my TWRP backup), however, when I look at my TWRP Backup in TiBu, there doesn't seem to be anything there?
However, when I copy the data.win file to my computer and extract it, I can see all the files and I would like to try and copy some of the saves back to my data partition, however, I can't seem to find a way to find it or write to it?
Any ideas?
Stewart
There are many possibilities, on of them:
- boot Nexus 7 into recovery mode
- connect the Nexus 7 with USB to you PC
- mount /data in recovery
- adb push the files / directories you want to restore to the /data partition
- ...
There is only one problem: as you have done a factory reset / wipe the corresponding apps are no longer installed and even if you install them again,they will get a different uid so that the restored data is no longer accessible to them. Probably fix_permissions can help in that situations, but I didn't try yet.
AndDiSa said:
There are many possibilities, on of them:
- boot Nexus 7 into recovery mode
- connect the Nexus 7 with USB to you PC
- mount /data in recovery
- adb push the files / directories you want to restore to the /data partition
- ...
There is only one problem: as you have done a factory reset / wipe the corresponding apps are no longer installed and even if you install them again,they will get a different uid so that the restored data is no longer accessible to them. Probably fix_permissions can help in that situations, but I didn't try yet.
Click to expand...
Click to collapse
Ah ok, that sucks!
Is there not anyway I can use an Android based GUI tool to copy the files from my SDCard to /data.
I am not the best with adb, but I imagine the command would be "./adb push <insert file name here> /data/com.bigideas.swys/files", would that work?
Cheers
Stewart
Yes, that should work. Unfortunately I don't know any tool providing the functionality you are looking for.
Sent from my Nexus 7 using xda app-developers app
Ummm... how about you restore it in TWRP like you're supposed to?
Sent from my SGH-I777 using xda premium
TWRP should work, too, but if I remember well, the USB id is different, so you might get problems with adb if you do not have the correct driver installed.
To push a file to the device:
- unzip/untar data.win on your PC
- boot device to recovery
- on PC cmd-line:
- adb shell mount /data
- adb push <file_or_dir_to_push> /data/
But as I said, most likely it's not enough ...
Sent from my Nexus 7 using xda app-developers app
korockinout13 said:
Ummm... how about you restore it in TWRP like you're supposed to?
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
Because that caused it to stop booting like it did when it first powered off!
Sent from my Nexus 4 using Tapatalk 2
StuMcBill said:
Because that caused it to stop booting like it did when it first powered off!
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
The data.win file is just a tar archive. You can extract whatever you want, although there are a couple caveats:
- the .tar archives seem to be absolutely rooted (e.g. /foo/bar instead of ./foo/bar) so you might need to fool with -C or other tar command line options to get the result you are after.
- while you certainly could use 7-zip or similar to unpack the archive and cherry pick whatever you want on a Windoze box, you probably ought to do offline unpacking using Linux so you don't lose file permission settings. An alternative would be to unpack on the device itself to someplace such as /data/local/tmp using your preferred terminal emulator (or adb command line) and busybox combination. Then you can adjust ownership via "chmod -r" as needed and "mv" to move your cherry picks into place. Note you also need to pay attention to /data/app-lib/* in addition to /data/data/* and /data/app/* cherry picks.
- To reiterate about file ownership, probably what you should do is install only the .apks you want first, and then after rebooting, note the assigned user/group IDs chosen for each app install, and change the restored /data/data/* and /data/app-lib/* files to that uid.
Confused? Well, you asked. Look up a decent Linux administration guide for clarification.
good luck
My nexus 7 had slowed down recently. So I was advised by someone here to reinstall the stock rom. So I backed everything up that was on it and installed the latest version of android (4.2.2). It worked. It's not slow anymore. But there's one problem. I can't delete any files on it using es file manager. I get a message saying "cannot delete some files. Please make sure that your storage is not mounted as read-only". I don't know what that means. Can someone help me?
Sent from my Nexus 7 using xda app-developers app
You can delete unwanted files straight from TWRP Recovery. TWRP > Advanced > File Manager >SD Card > Select Items > Delete.
Well that worked. But it's too much trouble to have to go into TWRP just to delete a file. Why can't I delete it with ES file explorer like I could before I reinstalled the stock rom?
Sent from my Nexus 7 using xda app-developers app
You don't state if you're rooted....
Yes it's been rooted.
Sent from my Nexus 7 using xda app-developers app
And SU or SuperSU (whichever) is active, with root permissions being granted as needed?
Depending on where you're working you may need to ask for write and mount privileges through terminal.
For example if working in /system:
Code:
su
mount -o remount,rw /system
Caution do not do this if you are not experienced. You may damage your system.
danvee said:
And SU or SuperSU (whichever) is active, with root permissions being granted as needed?
Click to expand...
Click to collapse
Yes. I have SuperSU. It's active with root permissions granted.
TheAltruistic said:
Depending on where you're working you may need to ask for write and mount privileges through terminal.
For example if working in /system:
Code:
su
mount -o remount,rw /system
Caution do not do this if you are not experienced. You may damage your system.
Click to expand...
Click to collapse
Hmm I'm not sure I understand. I already put it in rw mode in the es file explorer app under tools/root explorer. But it still won't let me delete things.
Sent from my Nexus 7 using xda app-developers app
Guys something is definitely not right. I just noticed that I can't read or write or edit text files (.txt). When I try to open a text file with es note editor it says an error occurred while trying to open file. Why is this happening? I almost wish I never did a fresh install.
Sent from my Nexus 7 using xda app-developers app
Bryon15 said:
Guys something is definitely not right. I just noticed that I can't read or write or edit text files (.txt). When I try to open a text file with es note editor it says an error occurred while trying to open file. Why is this happening? I almost wish I never did a fresh install.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Have you looked into TWRP > Advanced > Fix Permissions?
Bryon15 said:
Guys something is definitely not right. I just noticed that I can't read or write or edit text files (.txt). When I try to open a text file with es note editor it says an error occurred while trying to open file. Why is this happening? I almost wish I never did a fresh install.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Hm weird. Under the assumption that you are doing everything correctly, it should work as superuser permissions supersedes all and any limitation unless the file is open preventing it from being written to. If that's the case you will have to go through recovery as Username invalid suggested to edit the file.
Username invalid said:
Have you looked into TWRP > Advanced > Fix Permissions?
Click to expand...
Click to collapse
I just tried that. Unfortunately it didn't work. And it gets worse. It seems like I can't do anything to the file system at all. Meaning I can't create a new file or folder. And I can't edit or delete what's already there. I haven't tried to download anything yet. But that probably won't work either. This is terrible.
Sent from my Nexus 7 using xda app-developers app
Nope. Can't download nothing. I just tried to download the music video beat it by Michael Jackson from youtube using the tubemate app. It said: Error: open failed: EACCES (permission denied)
Sent from my Nexus 7 using xda app-developers app
Bryon15 said:
Nope. Can't download nothing. I just tried to download the music video beat it by Michael Jackson from youtube using the tubemate app. It said: Error: open failed: EACCES (permission denied)
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
http://stackoverflow.com/questions/15985631/open-failed-eacces-permission-denied-in-a-virtual-device
http://stackoverflow.com/questions/12415157/filenotfound-open-failed-eacces-permission-denied
Username invalid said:
http://stackoverflow.com/questions/15985631/open-failed-eacces-permission-denied-in-a-virtual-device
http://stackoverflow.com/questions/12415157/filenotfound-open-failed-eacces-permission-denied
Click to expand...
Click to collapse
I read it. It says to fix it I have to remove and recreate the virtual device and change the size. But I have no idea what that means or how to do it. Why is everything so hard?
Sent from my Nexus 7 using xda app-developers app
If you can install apps, install root explorer from the store. Its the better tool for this type of issue. Also install terminal emulator and try the command that was in one of the replies above.
How did you return to stock?
Please don't fall back on the I'm a noob thing and expect people to hold your hand. The more you do/learn yourself, the better help you can expect here.
Sent from my Nexus 7 using xda premium
ezas said:
If you can install apps, install root explorer from the store. Its the better tool for this type of issue. Also install terminal emulator and try the command that was in one of the replies above.
How did you return to stock?
Please don't fall back on the I'm a noob thing and expect people to hold your hand. The more you do/learn yourself, the better help you can expect here.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I returned to stock with the nexus 7 toolkit. It does everything for you. But it doesn't seem to help with this. Anyway I looked at those apps, and root explorer is $4.00. I don't mind paying for it. But I want to know if it's a necessity to have before I buy it.
The other app (terminal emulator) has multiple versions by different companies. How do I know which one to get? Here are some:
Android terminal emulator by jack palevich
Terminal emulator by cityapp
Shell terminal emulator by mobildev
Terminal IDE by Spartacus Rex
There are even more, those are the free ones.
Sent from my Nexus 7 using xda app-developers app
Bryon15 said:
I returned to stock with the nexus 7 toolkit. It does everything for you. But it doesn't seem to help with this. Anyway I looked at those apps, and root explorer is $4.00. I don't mind paying for it. But I want to know if it's a necessity to have before I buy it.
The other app (terminal emulator) has multiple versions by different companies. How do I know which one to get? Here are some:
Android terminal emulator by jack palevich
Terminal emulator by cityapp
Shell terminal emulator by mobildev
Terminal IDE by Spartacus Rex
There are even more, those are the free ones.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Username invalid said:
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Click to expand...
Click to collapse
Thank you. I'm going to attempt to fix it now. Wish me luck.
Sent from my Nexus 7 using xda app-developers app
Do I have to download ADB tool for my PC to use with this?
Sent from my Nexus 7 using xda app-developers app
Hi
I was changing Roms and like a fool wiped everything, all data etc so now I have no OS.
I can get into recovery just fine and have used the Nexus tool kit to push the PA rom and Omni Rom so that using TWRP file explorer can see them however it just keeps failing when I try to install.
after it skips the md5 it says
warning no file_contexts
then
error executing updater binary in zip and more texts which i can copy if important.
What can i do to get my phone backup and running please.
DESPERATE!
foxguard said:
Hi
I was changing Roms and like a fool wiped everything, all data etc so now I have no OS.
I can get into recovery just fine and have used the Nexus tool kit to push the PA rom and Omni Rom so that using TWRP file explorer can see them however it just keeps failing when I try to install.
after it skips the md5 it says
warning no file_contexts
then
error executing updater binary in zip and more texts which i can copy if important.
What can i do to get my phone backup and running please.
DESPERATE!
Click to expand...
Click to collapse
In TWRP go to Advanced and then click ADB sideload and swipe when it tells you to. Go to the folder on your computer your ROM is in and open a command prompt/ terminal. Lastly type adb sideload "filenamehere.zip" After you type this wait and you will see Success. There you go buddy.
Sent from my Nexus 4 using XDA Premium 4 mobile app
DREWHAMM974 said:
In TWRP go to Advanced and then click ADB sideload and swipe when it tells you to. Go to the folder on your computer your ROM is in and open a command prompt/ terminal. Lastly type adb sideload "filenamehere.zip" After you type this wait and you will see Success. There you go buddy.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hello mate,
thanks for your quick response although im not 100% sure i get it.
What will this acheive? Getting the rom.zip on my phone? if so I have done with using the tookit and it is when i go to install the rom i get all the errors.
If that is not what we are doing then ok... but im still lost.if i open ADB sideload and swipe the phone just sits saying 'starting adb sideload' What do i do next?
Connect phone to your PC. Then start sideload. After you swipe and it says Starting ADB Sideload open a command prompt in the folder your ROM is in and type adb sideload filename.zip. Put the file name of the Zip where I have filename.zip. This will sideload the ROM. Which means it will flash the ROM. After you do this reboot your phone and all will be good.
All sideloading does is flash a ROM that is on your PC instead of phone. It does the same as flashing one, only this way it doesn't have to be in your storage.
Sent from my Nexus 4 using XDA Premium 4 mobile app
DREWHAMM974 said:
Connect phone to your PC. Then start sideload. After you swipe and it says Starting ADB Sideload open a command prompt in the folder your ROM is in and type adb sideload filename.zip. Put the file name of the Zip where I have filename.zip. This will sideload the ROM. Which means it will flash the ROM. After you do this reboot your phone and all will be good.
All sideloading does is flash a ROM that is on your PC instead of phone. It does the same as flashing one, only this way it doesn't have to be in your storage.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Ok that makes more sense and i get it, although im not sure how to open a command promt in the folder where i have the rom saved. I know if i type cmd in run that opens command but thats just in the local folder, what command prompt do you mean. Sorry mate i know some stuff just cant get my head around this!
Command prompt is cmd. To open a folder in command prompt you type cd path/to/directory. The easiest way to find what directory is right click on the file and click on properties, from there copy where it says location (may say something else but its where it is located.) It will be like path/to/directory. Separated by /. Copy that and then in the cmd type cd and then paste what you copied. Then you will be in that location and will be able to do the adb sideload
Sent from my Nexus 4 using XDA Premium 4 mobile app
---------- Post added at 04:03 PM ---------- Previous post was at 04:00 PM ----------
Under the general tab in properties is where you will find the location btw
Sent from my Nexus 4 using XDA Premium 4 mobile app
DREWHAMM974 said:
Connect phone to your PC. Then start sideload. After you swipe and it says Starting ADB Sideload open a command prompt in the folder your ROM is in and type adb sideload filename.zip. Put the file name of the Zip where I have filename.zip. This will sideload the ROM. Which means it will flash the ROM. After you do this reboot your phone and all will be good.
All sideloading does is flash a ROM that is on your PC instead of phone. It does the same as flashing one, only this way it doesn't have to be in your storage.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
ok getting closer, but not CMD say adb is not recognised as an internal or external command? what have i done wrong?
im typing
adb sideload pa.zip
Have you installed adb? If not go to this link, install this, and then it will work perfectly.
http://forum.xda-developers.com/showthread.php?t=2588979
Sent from my Nexus 4 using XDA Premium 4 mobile app
---------- Post added at 04:13 PM ---------- Previous post was at 04:10 PM ----------
I thought you had adb already installed. Once you do this I recommend you to learn how to use adb and fastboot, not toolkits. Toolkits get people in trouble like this right here and because you don't know how the toolkit does what it does or how to do it yourself you're stuck. Everyone needs to know those two thingd if they're doing anything to an Android phone so they can fix it if something happens. It's easy to learn and takes less than an hour to understand.
Sent from my Nexus 4 using XDA Premium 4 mobile app
---------- Post added at 04:14 PM ---------- Previous post was at 04:13 PM ----------
Be sure to go to the op in that link as well. I thought I linked the op but guess not
Sent from my Nexus 4 using XDA Premium 4 mobile app
DREWHAMM974 said:
Have you installed adb? If not go to this link, install this, and then it will work perfectly.
http://forum.xda-developers.com/showthread.php?t=2588979
Sent from my Nexus 4 using XDA Premium 4 mobile app
---------- Post added at 04:13 PM ---------- Previous post was at 04:10 PM ----------
I thought you had adb already installed. Once you do this I recommend you to learn how to use adb and fastboot, not toolkits. Toolkits get people in trouble like this right here and because you don't know how the toolkit does what it does or how to do it yourself you're stuck. Everyone needs to know those two thingd if they're doing anything to an Android phone so they can fix it if something happens. It's easy to learn and takes less than an hour to understand.
Sent from my Nexus 4 using XDA Premium 4 mobile app
---------- Post added at 04:14 PM ---------- Previous post was at 04:13 PM ----------
Be sure to go to the op in that link as well. I thought I linked the op but guess not
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No, i thought The toolkit was the best way but will definatly look into this adb once im sorted, although it has failed again.
It transfers the file over and starts to flash but i then get error.
warning no file contexts
error_metadata+recursice: some changes failed
E:Error executing updater binary in zip 'data/media/sidelaod.zip
What does this mean?
You can also flash the full frimware via Fastboot Get it here https://developers.google.com/android/nexus/images
LightingZ said:
You can also flash the full frimware via Fastboot Get it here https://developers.google.com/android/nexus/images
Click to expand...
Click to collapse
Thanks, thought Nexus 4 was Mako? I dont see that there.
Download a different ROM, that's a bad download
Sent from my Nexus 4 using XDA Premium 4 mobile app
DREWHAMM974 said:
Download a different ROM, that's a bad download
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Im using the same zip's that i have used before to flash the phone and all worked fine, have now tried 3 different roms and getting the same error?
I'm not sure try flashing the firmware. Also the Nexus 4 is also known as the Occam. Try the firmware.
Sent from my Nexus 4 using XDA Premium 4 mobile app
DREWHAMM974 said:
I'm not sure try flashing the firmware. Also the Nexus 4 is also known as the Occam. Try the firmware.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Downloading now and will try, thank you so much for all your help so far mate, proper fooked!!
foxguard said:
Im using the same zip's that i have used before to flash the phone and all worked fine, have now tried 3 different roms and getting the same error?
Click to expand...
Click to collapse
If you don't want to do the firmware try downloading a stock rom and side loading it. Maybe that will help. I've never had a sideload not work.
Sent from my Nexus 4 using XDA Premium 4 mobile app
DREWHAMM974 said:
If you don't want to do the firmware try downloading a stock rom and side loading it. Maybe that will help. I've never had a sideload not work.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
ok just downloaded the occam file from here
https://developers.google.com/android/nexus/images#occamkot49h
does it matter if i rename it but leave as a tgz?
assume in cmd i have to change .zip to .tgz
I have done this and now i get error file is corrupt, will try another one.
ok download another version of the factory and didnt rename it this time and still getting E:zip file is corrupt
please help me im so stuck!
foxguard said:
ok download another version of the factory and didnt rename it this time and still getting E:zip file is corrupt
please help me im so stuck!
Click to expand...
Click to collapse
What are you using to extract it? Use 7-zip
Sent from my Nexus 5
jd1639 said:
What are you using to extract it? Use 7-zip
Sent from my Nexus 5
Click to expand...
Click to collapse
Do i need extract it? thought i was told to just add the zip file path?