Help: Nandroid backup NOT restoring - Nexus One Q&A, Help & Troubleshooting

====SOLVED====
Hi everyone,
I'm trying to restore to a Nandriod backup I made of Cyanogen 5053 before trying out Modaco's Desire ROM. However, when I try to restore to my Nandriod backup using the Amon-RA 1.7 recovery image, it gives me an error saying "run "nandroid-mobile.sh restore" via adb"
I have Googled the problem, and have found some instructions, however I am pretty beginner when it comes to using the command line (only thing I really managed to do with it was to root my N1 and install Cyanogenmod), and I am on OS X, which is probably why I am having trouble making those adjustments to the commands as every one I have found is for the Windows CMD.
I would really, really appreciated it if you guys could give me step by step instructions to how to restore to my Nandriod backup. Thank you so much.
EDIT: I think that problem is that my device is not being recognized with the "adb devices" command - the Terminal window simply shows "List of devices attached" follow by a blank line. However, when I try "fastboot devices" my device's serial number does show.

pkennethv said:
====SOLVED====
Hi everyone,
I'm trying to restore to a Nandriod backup I made of Cyanogen 5053 before trying out Modaco's Desire ROM. However, when I try to restore to my Nandriod backup using the Amon-RA 1.7 recovery image, it gives me an error saying "run "nandroid-mobile.sh restore" via adb"
I have Googled the problem, and have found some instructions, however I am pretty beginner when it comes to using the command line (only thing I really managed to do with it was to root my N1 and install Cyanogenmod), and I am on OS X, which is probably why I am having trouble making those adjustments to the commands as every one I have found is for the Windows CMD.
I would really, really appreciated it if you guys could give me step by step instructions to how to restore to my Nandriod backup. Thank you so much.
EDIT: I think that problem is that my device is not being recognized with the "adb devices" command - the Terminal window simply shows "List of devices attached" follow by a blank line. However, when I try "fastboot devices" my device's serial number does show.
Click to expand...
Click to collapse
If doing this on Windows, you'll need to go into device manager and reinstall the driver for ADB connection. I had the same problem and noticed that the device didn't have the driver installed cause I hit "Don't warn me about this device again" while I was currently downloading the drivers. Once you get the driver in there, ADB should work for you.

Related

[Q] trouble installing Amon_Ra's recovery image

I've ran a search and wasn't able to find anything that specifically outlined my issue.
to preface, I have a t-mobile Nexus One, and my PC is running Windows 7 64-bit.
I'm running into a bunch of trouble trying to root my Nexus One and add Cyanogen's latest ROM. My first problem was trying to get Android SDK setup to use adb. the instructions on adding the path were unclear (still unsure if I did that right), and then I couldnt get my device to show up becuase the drivers wouldnt install. I used this link http://forum.xda-developers.com/showthread.php?t=613217 (the adb devices command now worked fine at this point) and that installed the drivers and I was able to successfully unlock the bootloader.
Now, i've downloaded Amon_Ra's recovery image, changed the file name and placed it on the root of my SD card. Phone is in debug mode, rebooted to the bootloader, and did the "fastboot flash recovery recovery.img" command, but i get 'error: cannot load 'recovery.img' "
as a test, i used the adb devices command again, and it does not work. to test if it was a drivers issue, I used the same process as the link above. this time the Nexus One does not show, but i DO see Android Phone > Android Composite ADB Interface.
in "Eviroment Variables" in "Path" I have added "tools/C:\android-sdk-windows\tools" and (from a different link I have seen) i added a Custom User Variable called adb with the variable value "C:\android-sdk-windows\tools"
So.. what am I doing wrong? Is there something I may have missed?
Recovery
If you type in the "adb devices" command and see your device listed, you have set up your SDK properly.
I usually put the recovery.img on my computer where its easy to find. Once youre in bootloader try the command "fastboot devices" and once again make sure your device is shown. Then "fastboot flash recovery C:\Wherever\recovery.img"
so THATS probably what I was doing wrong. I would type in literally "fastboot flash recovery recovery.img" (cause hey, thats what it said to type!). I ended up using the "easy" clockwork method, and used his recovery image instead. had a few more hiccups, but about 5 hours later, I'm all rooted and running CM6.
thanks!

[Q] Please help! Formatted phone and cannot load O/S! (rooted)

Ok so on my HTC One I loaded TWRP recovery and had a rom installed. I wanted to wipe it out and reinstall a newer version of the rom, and in the process I thought I had a "virtual SD" that wouldn't be wiped out. Boy was I wrong. Now I can get into TWRP and I am reading about "adb sideload" to load a rom zip file to the phone.
I have Windows 8 and I used the trick of installing Windows 7 drivers, but now for some reason the computer shows "Android Device" with an exclamation point. I google'd and found a Windows 8 HTC driver, and now the device shows up "Android USB Devices - MyHTC". So it appears I have drivers installed.
Now I read tutorials and have been searching for hours and I cannot get this to work. I have the ADB Fastboot folder on my desktop and the rom I want to load in that folder. I bring up the command prompt and type in "adb devices". It returns with this:
List of devices attached
FA34PS904380 host
I type in (without quotes) "adb sideload rom.zip" which is in the same directory. It returns with all the possible commands (like a help menu) of how you can use adb.
I'm stuck. Any ideas?
Thanks
Nurmi_CEO said:
Ok so on my HTC One I loaded TWRP recovery and had a rom installed. I wanted to wipe it out and reinstall a newer version of the rom, and in the process I thought I had a "virtual SD" that wouldn't be wiped out. Boy was I wrong. Now I can get into TWRP and I am reading about "adb sideload" to load a rom zip file to the phone.
I have Windows 8 and I used the trick of installing Windows 7 drivers, but now for some reason the computer shows "Android Device" with an exclamation point. I google'd and found a Windows 8 HTC driver, and now the device shows up "Android USB Devices - MyHTC". So it appears I have drivers installed.
Now I read tutorials and have been searching for hours and I cannot get this to work. I have the ADB Fastboot folder on my desktop and the rom I want to load in that folder. I bring up the command prompt and type in "adb devices". It returns with this:
List of devices attached
FA34PS904380 host
I type in (without quotes) "adb sideload rom.zip" which is in the same directory. It returns with all the possible commands (like a help menu) of how you can use adb.
I'm stuck. Any ideas?
Thanks
Click to expand...
Click to collapse
Try moving the files to your Android-SDK/platform-tools folder
bigdaddy619 said:
Try moving the files to your Android-SDK/platform-tools folder
Click to expand...
Click to collapse
PERFECT! Thanks a ton!
download Hassoon's tool and side load if you are having issues
thread : http://forum.xda-developers.com/showthread.php?t=2236814
and the thread that would have saved you from making this one... http://forum.xda-developers.com/showthread.php?t=2258809
Nurmi_CEO said:
PERFECT! Thanks a ton!
Click to expand...
Click to collapse
I'm guessing that worked?
bigdaddy619 said:
I'm guessing that worked?
Click to expand...
Click to collapse
Yes it did. Instantly after that. I was searching and trying stuff for hours, gave up and decided to post. Thanks for the help.
Nurmi_CEO said:
Yes it did. Instantly after that. I was searching and trying stuff for hours, gave up and decided to post. Thanks for the help.
Click to expand...
Click to collapse
No worries glad you got it
Nurmi_CEO said:
PERFECT! Thanks a ton!
Click to expand...
Click to collapse
Hitting the thanks button for someone who helps is proper etiquette
IMHO anyways :good:
budeone said:
Hitting the thanks button for someone who helps is proper etiquette
IMHO anyways :good:
Click to expand...
Click to collapse
No worries I don't do it for the thanks I do it because I enjoy helping when I can
Sent from my Liquid Smooth Nexus 7

[Q] ADB Sideload isn't working for me!

Hello there
I am stuck without a ROM and without a ROM zip file anywhere on the internal device that I can use TWRP to install. The only option I have at the moment is to use adb sideload, and this is my first time doing so.
I downloaded this:
adt-bundle-windows-x86_64-20130522
Anyway, I am trying to follow this tutorial but it's not working out for me:
http://forum.xda-developers.com/showthread.php?t=2317986
It looks simple and easy, but this is the problem I am facing:
"I changed directories to where the adb.exe is (inside platform-tools) and ADB Sideload is already started in TWRP. However, whenever I type "adb devices" it only says "List of attached devices" and nothing under it. Whenever I try flashing the ROM, it says error: device not found. What am I doing wrong here? I even changed the name of the ROM to rom.zip to make it shorter as per a suggestion in the first page of the thread, but that didn't work either."
Can someone please help me and tell me how to make it work? I have been without a ROM for hours waiting for the SDK to download this my internet is pretty slow. Thanks a lot!
Okay now I realize my device isn't actually recognized, although it works fine with fastboot usb.
What do I do? I tried having windows automatically search for drivers but it didn't find anything.
Okay after doing some more reading I realized I never actually opened SDK Manager, and when I try, it just opens a black command prompt window and then shuts down. I then came across this article and realized I need Java JDK drivers before I can actually run SDK Manager and then follow the rest of the tutorial. Maybe that is the problem??
You need HTC drivers , if you didn't install HTC SYNC, open "virtual CD", that appears at connection of phone with PC and you will see folders with drivers for different OS.
Thanks, mate. I already fixed the problem but I forgot to update this thread. You are right, I did not have the proper drivers, so I downloaded and installed HTC Sync Manager and then everything went great.
I had the same problem last night trying to flash my first rom ever, but thankfully i had a usb otg cable that I used to put the rom zip in my flash drive and flash it into the phone
TarekElsakka said:
Hello there
I am stuck without a ROM and without a ROM zip file anywhere on the internal device that I can use TWRP to install. The only option I have at the moment is to use adb sideload, and this is my first time doing so.
I downloaded this:
adt-bundle-windows-x86_64-20130522
Anyway, I am trying to follow this tutorial but it's not working out for me:
http://forum.xda-developers.com/showthread.php?t=2317986
It looks simple and easy, but this is the problem I am facing:
"I changed directories to where the adb.exe is (inside platform-tools) and ADB Sideload is already started in TWRP. However, whenever I type "adb devices" it only says "List of attached devices" and nothing under it. Whenever I try flashing the ROM, it says error: device not found. What am I doing wrong here? I even changed the name of the ROM to rom.zip to make it shorter as per a suggestion in the first page of the thread, but that didn't work either."
Can someone please help me and tell me how to make it work? I have been without a ROM for hours waiting for the SDK to download this my internet is pretty slow. Thanks a lot!
Click to expand...
Click to collapse
Just get the all in one tool, ins;tall the relevant drivers and then go to recovery and select sideload a rom, go to the all in one toolkit and select sideload a rom, then choose the rom, simples
Sent from my Transformer Prime TF201 using xda premium
Thanks, guys. I ordered an OTG USB cable this morning just to avoid any future problems.

[Q] "adb error: device not found" after format /system

Hey guys
I did a terrible mistake. Instead of just normally resetting the phone to factory settings in CWM after unlocking it, my finger slipped to the "format /system" option.
This happened before, but then I just sideloaded the rom and everything was ok. Oddly enough, this doesnt work anymore.
Whenever I want to push something to my phone using adb, I get the error that the device was not found and I cannot do anything to access the phone (when entering the command "adb devices" for example, no device shows up). I installed every driver I can think of, I installed all the packages in the sdk manager and now I dont know what to do.
I know that the debug mode is required, but since theres no OS anymore, I really ran out of ideas.
Please help me! :crying:
PS: additional information:
- HTC One m7 (unlocked)
- Clockwerkmod Recovery
- Windows 8
- Hasoon2000's all in one kit
EDIT: I found this site that recommends flashing via fastboot. (blog.syedgakbar.com/2013/02/01/android-installing-system-images-using-flashboot/)
where do I find these images?

System partition deleted, need help.

Evening all. I've done a very dumb thing. While wiping my device for a clean install in TWRP, I foolishly checked the "system" partition and wiped everything out.
Currently I have ADB set up correctly on my Mac, TWRP running on my phone but I'm stumped because I haven't used ADB in quite some time.
Can anyone help me with instructions (or a link to them) on how to restore my phone to it's former glory?
I should also tell you that I've tried following the instructions found with the Google Factory Images, but I'm unable to flash anything. I get "permission denied" messages. I'm thinking this is because I have no ROM and therefore no settings to allow me access to developer settings.
The bootloader is unlocked... but I'm stuck.
If you have TWRP, enter it. Connect your N6 to your Mac. Copy a custom ROM or one of the stock ROM flashable zips to internal storage, then install it using TWRP.
ADB isn't necessary.
What I'm doing and seeing...
I start the phone in the bootloader and plug it in. The phone sees that it's plugged in.
If I "adb devices" now, I get no results.
If I start TWRP and enter "adb devices", I see a serial and the word "recovery"
I can reboot the bootloader via adb, but that's it.
If I enter any action after that, like: "fastboot flashing unlock", or "flash-all", it returns < waiting for any device >, or permission denied.
Strephon Alkhalikoi said:
If you have TWRP, enter it. Connect your N6 to your Mac.
Click to expand...
Click to collapse
Thought about that earlier, of course. My phone isn't connecting to my Mac. I'm not seeing it as a drive in Finder.
nathanotis said:
My phone isn't connecting to my Mac.
Click to expand...
Click to collapse
I uninstalled and reinstalled android file manager. I'm pulling down a new rom, now. Fingers crossed.
That was easy...
nathanotis said:
What I'm doing and seeing...
I start the phone in the bootloader and plug it in. The phone sees that it's plugged in.
If I "adb devices" now, I get no results.
If I start TWRP and enter "adb devices", I see a serial and the word "recovery"
I can reboot the bootloader via adb, but that's it.
If I enter any action after that, like: "fastboot flashing unlock", or "flash-all", it returns < waiting for any device >, or permission denied.
Click to expand...
Click to collapse
In twrp Fastboot commands not work. And in bootloader adb commands not wotk
@nathanotis: It's for situations like this that I always store a copy of the ROM I use in internal storage. Perhaps you should do the same.
Strephon Alkhalikoi said:
Perhaps you should do the same.
Click to expand...
Click to collapse
Solid advice. Thank you.
If that ever happens again, you can always use NRT. I did that one time and used WUG's to flash a factory image and start over

Categories

Resources