Help i've accidentally deleted my backup on my nexus 5 - Nexus 5 Q&A, Help & Troubleshooting

Help i've accidentally deleted my backup OS on my nexus 5. i am using CWM. i was trying to put android L on my nexus 5 and it couldnt install. so i went back to the recovery mode in attempt to restore my device to the backup i made. i couldnt find the backup on my sd card...weird. so i am stuck. trying to find a way to get my device back.

AHMEDNATOR said:
Help i've accidentally deleted my backup OS on my nexus 5. i am using CWM. i was trying to put android L on my nexus 5 and it couldnt install. so i went back to the recovery mode in attempt to restore my device to the backup i made. i couldnt find the backup on my sd card...weird. so i am stuck. trying to find a way to get my device back.
Click to expand...
Click to collapse
If your backup got deleted then it is lost forever. Flash cwm again then flash the rom you used before L

You should keep a copy of the backup off your device. Maybe third time will be the charm.
http://forum.xda-developers.com/showthread.php?t=2750414

Wakamatsu said:
You should keep a copy of the backup off your device. Maybe third time will be the charm.
http://forum.xda-developers.com/showthread.php?t=2750414
Click to expand...
Click to collapse
i kept a copy of it but when i went back to try and restore with that copy. i didnt see it any more. the bad luck i get with android phones

bitdomo said:
If your backup got deleted then it is lost forever. Flash cwm again then flash the rom you used before L
Click to expand...
Click to collapse
how to flash it again if i have no way to get back in my device?

AHMEDNATOR said:
how to flash it again if i have no way to get back in my device?
Click to expand...
Click to collapse
What do you mean by "get back in my device"? You cant turn it on?

bitdomo said:
What do you mean by "get back in my device"? You cant turn it on?
Click to expand...
Click to collapse
scratch that. i can turn it off and back on. i tried adb sideload but i cant seem to be able to push a rom on the nexus.

AHMEDNATOR said:
scratch that. i can turn it off and back on. i tried adb sideload but i cant seem to be able to push a rom on the nexus.
Click to expand...
Click to collapse
Have you flashed cwm?

bitdomo said:
Have you flashed cwm?
Click to expand...
Click to collapse
yeah i have CWM installed

AHMEDNATOR said:
yeah i have CWM installed
Click to expand...
Click to collapse
What is the command you use to push the rom?

bitdomo said:
What is the command you use to push the rom?
Click to expand...
Click to collapse
the rom i downloaded is called something hammerhead. i renamed it to Rom.zip . when i am in my command prompt. i type "adb push Rom.zip" or when i do the sideload, i do "adb sideload Rom.zip"

AHMEDNATOR said:
the rom i downloaded is called something hammerhead. i renamed it to Rom.zip . when i am in my command prompt. i type "adb push Rom.zip" or when i do the sideload, i do "adb sideload Rom.zip"
Click to expand...
Click to collapse
There is the problem. You didnt tell where to push the zip.
Use this:
adb push rom.zip /data/media/0
after that you should see the rom.zip on the internal storage

bitdomo said:
There is the problem. You didnt tell where to push the zip.
Use this:
adb push rom.zip /data/media/0
after that you should see the rom.zip on the internal storage
Click to expand...
Click to collapse
alright, let me give it a try.

bitdomo said:
There is the problem. You didnt tell where to push the zip.
Use this:
adb push rom.zip /data/media/0
after that you should see the rom.zip on the internal storage
Click to expand...
Click to collapse
it says "error: cloased"

AHMEDNATOR said:
it says "error: cloased"
Click to expand...
Click to collapse
running
adb devices
command showes you any output?

bitdomo said:
running
adb devices
command showes you any output?
Click to expand...
Click to collapse
yeah, it shows some numbers and letters which i assume is my device and next to it, it says "sideload"

AHMEDNATOR said:
yeah, it shows some numbers and letters which i assume is my device and next to it, it says "sideload"
Click to expand...
Click to collapse
Then use
adb sideload rom.zip
command

bitdomo said:
Then use
adb sideload rom.zip
command
Click to expand...
Click to collapse
i get a bunch of stuff and commands come up in the command prompt. i ll try to take a picture for you

bitdomo said:
Then use
adb sideload rom.zip
command
Click to expand...
Click to collapse
there it is

If you don't have path variables set up make sure your rom.zip is in the platform-tools folder of the sdk.
NM. Looks like you do have path variables set up. That second longer error in you screen shot is because you put a space after rom. The first looks like it can't read it because your typing the name wrong. Remember it's case sensitive so Rom.zip and rom.zip are two different things.

Related

Recovery Error Formatting Data

Doing this from my phone so don't flame me, but I'm getting an error in recovery trying to format data. Can someone help?
It's error removing /data/misc/bluetoothhd/F4:6D:04:4E:62:A4/config. Just says error formatting data. Thanks in advance
Sent from my Creamed Out Glacier
I don't quite get what you mean, but if you're having trouble deleting a file, you can try manually deleting it with a root browser or using ADB.
Can't boot into a rom
Sent from my Creamed Out Glacier
Put your tab in recovery mod, go to mounts and storage and mount data, connect to you PC, go to the command line and put
Code:
adb shell
cd /data/misc/bluetoothd/F4:6D:04:4E:62:A4
rm config
and then format data again
ricardopvz said:
Put your tab in recovery mod, go to mounts and storage and mount data, connect to you PC, go to the command line and put
Code:
adb shell
cd /data/misc/bluetoothd/F4:6D:04:4E:62:A4
rm config
and then format data again
Click to expand...
Click to collapse
Alright one sec
Sent from my Creamed Out Glacier
I2IEAILiiTY said:
Alright one sec
Sent from my Creamed Out Glacier
Click to expand...
Click to collapse
My computer won't install the damn drivers automatically. It would do that every time I booted into recovery while connected to my laptop, how can I install the drivers?
I2IEAILiiTY said:
My computer won't install the damn drivers automatically. It would do that every time I booted into recovery while connected to my laptop, how can I install the drivers?
Click to expand...
Click to collapse
After you connect the tab and the drivers install, does Device Manager show anything related to adb?
ricardopvz said:
After you connect the tab and the drivers install, does Device Manager show anything related to adb?
Click to expand...
Click to collapse
The drivers won't install is the problem. I'm reading this guide right now to figure out what I need to do.
I2IEAILiiTY said:
The drivers won't install is the problem. I'm reading this guide right now to figure out what I need to do.
Click to expand...
Click to collapse
There is a thread explaining how to install adb drivers but I guess you're already reading it
ricardopvz said:
There is a thread explaining how to install adb drivers but I guess you're already reading it
Click to expand...
Click to collapse
Yea, I'm reading it. I'm gonna reinstall everything while I'm at it cause I installed the sdk a while back and just did whatever. I don't even remember what I was thinking.
Alright. I'm getting impatient. How do I manually install the drivers? Cause its still not installing automatically
Sent from an Ice Cream Sandwich. Yes.
ricardopvz said:
Put your tab in recovery mod, go to mounts and storage and mount data, connect to you PC, go to the command line and put
Code:
adb shell
cd /data/misc/bluetoothd/F4:6D:04:4E:62:A4
rm config
and then format data again
Click to expand...
Click to collapse
It didn't work. Do you mean format via adb, or w/ the tab?
Just curious, out of about 250 views, no one has an idea of what to do?
Alright, out of being desperate, I decided to give nvflash tool a go, and now I'm stuck in APX mode >_<
It fails after formatting everything and says it cannot locate the recovery.img after succeeding w/e it pushed prior to that. So I'm assuming I can get it to work, I just don't know what to do from here...
Solved!!! I fixed it muhfuhkas!!!
I2IEAILiiTY said:
Solved!!! I fixed it muhfuhkas!!!
Click to expand...
Click to collapse
Can I ask what steps you took to fix it? I'm having the same problem.

Full Screen?

Hi,
I have root,is there anyway we can make use of this great screen easily by getting rid of the navigation on the bottom and the google search bar then use a pie app for navigation?
Cheers.
PS I did search the forum but did not see this question come up.
MJ-12
FYI this has been covered in at least a few threads here.
But this is what I did-
Install this app (it's what I use) or a similar one of your choosing- https://play.google.com/store/apps/details?id=tk.eatheat.pie&hl=en
And add this line to your build.pro to get rid of your navbar- qemu.hw.mainkeys=1
Reboot after editing your build.prop.
That's all you gotta do.
_MetalHead_ said:
FYI this has been covered in at least a few threads here.
But this is what I did-
Install this app (it's what I use) or a similar one of your choosing- https://play.google.com/store/apps/details?id=tk.eatheat.pie&hl=en
And add this line to your build.pro to get rid of your navbar- qemu.hw.mainkeys=1
Reboot after editing your build.prop.
That's all you gotta do.
Click to expand...
Click to collapse
did this and now my phone won't boot, just black screen after google logo
special.k said:
did this and now my phone won't boot, just black screen after google logo
Click to expand...
Click to collapse
Did you edit anything else in your build.prop? All that does is trick the phone into thinking you've got hardware keys, thus eliminating the need for a navbar. There's no reason why that mod alone would cause your phone to not boot. Can you get into fastboot or recovery?
_MetalHead_ said:
Did you edit anything else in your build.prop? All that does is trick the phone into thinking you've got hardware keys, thus eliminating the need for a navbar. There's no reason why that mod alone would cause your phone to not boot. Can you get into fastboot or recovery?
Click to expand...
Click to collapse
I just copy and pasted it in at the bottom, I think that was my problem. I can get into fastboot
special.k said:
I just copy and pasted it in at the bottom, I think that was my problem. I can get into fastboot
Click to expand...
Click to collapse
Well you can try using adb to push an unedited build.prop back to /system and that should get you running again.
_MetalHead_ said:
Well you can try using adb to push an unedited build.prop back to /system and that should get you running again.
Click to expand...
Click to collapse
Okay, where can I find that?
special.k said:
Okay, where can I find that?
Click to expand...
Click to collapse
Just download the stock ROM and pull it out of /system. There should be one over in the dev section.
If you're not familiar with adb, you should probably be able to copy the build.prop over with the file manager in TWRP. Just put it on your SD and use TWRP to move it to /system.
If you have trouble finding the build.prop just let me know and I'll pull mine and post it for you.
_MetalHead_ said:
Just download the stock ROM and pull it out of /system. There should be one over in the dev section.
If you're not familiar with adb, you should probably be able to copy the build.prop over with the file manager in TWRP. Just put it on your SD and use TWRP to move it to /system.
If you have trouble finding the build.prop just let me know and I'll pull mine and post it for you.
Click to expand...
Click to collapse
Okay thanks I will find it, I am on a ubuntu computer right now and am having trouble setting up adb on my old windows xp computer. ADB on ubuntu won't detect my device, I don't have TWRP installed or any recovery of that matter. Can only access fastboot
special.k said:
Okay thanks I will find it, I am on a ubuntu computer right now and am having trouble setting up adb on my old windows xp computer. ADB on ubuntu won't detect my device, I don't have TWRP installed or any recovery of that matter. Can only access fastboot
Click to expand...
Click to collapse
Well that's gotta be annoying. I'm not familiar with ubuntu but have you made sure your drivers are installed on your xp machine?
_MetalHead_ said:
Well that's gotta be annoying. I'm not familiar with ubuntu but have you made sure your drivers are installed on your xp machine?
Click to expand...
Click to collapse
I don't think so, it's not showing that any devices are connected
special.k said:
I don't think so, it's not showing that any devices are connected
Click to expand...
Click to collapse
Look around for the drivers and manually install them. If you can't find them, this toolkit will install them for you- http://forum.xda-developers.com/showthread.php?t=2508817

[Q] Question about the recovery after rooting

Hey!
i just rooted my phone by this way : http://www.modaco.com/topic/366771-root-your-moto-g-option-1-superboot/
and it works!
but now i need to install a custom recovery so i can install custom rom too!
how could i ? " i tried to use rom manager but he shows me that my device is not supported officially by CWR
any help ?
Pir4t3 said:
Hey!
i just rooted my phone by this way : http://www.modaco.com/topic/366771-root-your-moto-g-option-1-superboot/
and it works!
but now i need to install a custom recovery so i can install custom rom too!
how could i ? " i tried to use rom manager but he shows me that my device is not supported officially by CWR
any help ?
Click to expand...
Click to collapse
ok solved!
but i got another problem
i can't mount usb storage at the recovery mode!
i flashed CWM And TW .. and the same
how can i solve it ?
Pir4t3 said:
ok solved!
but i got another problem
i can't mount usb storage at the recovery mode!
i flashed CWM And TW .. and the same
how can i solve it ?
Click to expand...
Click to collapse
What do you mean by usb storage? You can flash your rom by sideloading it under your recovery.
adb sideload rom-name.zip
1pilo said:
What do you mean by usb storage? You can flash your rom by sideloading it under your recovery.
adb sideload rom-name.zip
Click to expand...
Click to collapse
when u open the recovery go to mount then mount usb storage
it makes ur pc read your phone so you can transfer some files
i used it many times in my old phone " Nexus s "
and I'm using mac so i don't this command will work
Pir4t3 said:
when u open the recovery go to mount then mount usb storage
it makes ur pc read your phone so you can transfer some files
i used it many times in my old phone " Nexus s "
and I'm using mac so i don't this command will work
Click to expand...
Click to collapse
I'm also using a mac. if your downloading the sdk from google u go to sdk/platform-tools and theres the adb file.
Next you need to place the rom file in the same folder
then you need to go to your recovery under install from sideload
and then in your terminal
./adb sideload rom-name.zip
after transfering from mac it gets installed directly
1pilo said:
I'm also using a mac. if your downloading the sdk from google u go to sdk/platform-tools and theres the adb file.
Next you need to place the rom file in the same folder
then you need to go to your recovery under install from sideload
and then in your terminal
./adb sideload rom-name.zip
after transfering from mac it gets installed directly
Click to expand...
Click to collapse
Thanks!
so if i want to transfer a file without installing it " if it zip too "
coz i want to try it .. but i just wanna try that it works without installing a rom
is it possible ?
and again thanks!
Pir4t3 said:
Thanks!
so if i want to transfer a file without installing it " if it zip too "
coz i want to try it .. but i just wanna try that it works without installing a rom
is it possible ?
and again thanks!
Click to expand...
Click to collapse
that should be tricky trying a rom without installing it.
The only solution I know would be doing a backup before. Then installing it and then restoring the backup.
There should be some other recovery where u can manage your roms. but I cant remember.
1pilo said:
that should be tricky trying a rom without installing it.
The only solution I know would be doing a backup before. Then installing it and then restoring the backup.
There should be some other recovery where u can manage your roms. but I cant remember.
Click to expand...
Click to collapse
i tried CMW and TW .. same thing happened!
i just wanna say Thank you again

[Q] DPI Changed

Hello Guys,
Today I was training to put my DPI higher, so my grandfather could see the screen.
Sadly when I booted with a DPI of 720, the process 'Trebuchet' stops.
The message of it, will continue again and again.
Do you guys maybe know how I can change my DPI back? (Using Recovery or bootloader)?
Thanks!
Try all winner apk. Not sure but might be it can help u.
vipsy6 said:
Try all winner apk. Not sure but might be it can help u.
Click to expand...
Click to collapse
I cannot boot my phone, so using an app is not a option.
The only thing I can do is use Bootloader and TWRP (recovery).
martijn.v said:
I cannot boot my phone, so using an app is not a option.
The only thing I can do is use Bootloader and TWRP (recovery).
Click to expand...
Click to collapse
Use adb, connect device to computer, adb shell, cd/system, open build.prop by using nano build.prop change DPI back to required value Ctrl x saves the file. Exit to get out of adb shell and reboot phone.
robt77 said:
Use adb, connect device to computer, adb shell, cd/system, open build.prop by using nano build.prop change DPI back to required value Ctrl x saves the file. Exit to get out of adb shell and reboot phone.
Click to expand...
Click to collapse
At his moment, I got another problem.
All the adb commands return: "error: device not found".
The USB Debugging is on, to do that, I used "setprop persist.service.adb.enable 1".
But now it still does not find the device.
martijn.v said:
At his moment, I got another problem.
All the adb commands return: "error: device not found".
The USB Debugging is on, to do that, I used "setprop persist.service.adb.enable 1".
But now it still does not find the device.
Click to expand...
Click to collapse
That is not good. can you boot into recovery? if so you can dirty flash ROM and it will change the DPI
robt77 said:
That is not good. can you boot into recovery? if so you can dirty flash ROM and it will change the DPI
Click to expand...
Click to collapse
Yes, I can boot into recovery. Right now im trying to change build.prop using the terminal. But that doesn't work out yet.
try this: https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi
aboicu said:
try this:
Click to expand...
Click to collapse
If you read my post, you could've seen that I cannot boot my phone.
So using that app will not help.
Extremely sorry that i have ignored that
Sent from my MT11i using XDA Premium 4 mobile app
171
Could somebody upload his/her build.prop?
I think that would do the job.
Sorry for my answer to your problem... I want to say that next time when you want to modify the DPI use the above app. Anyway, whatever...
I fixed it, with flashing a new rom.
After 20 tries, I could copy the .zip to my /sdcard/ folder and I could flash it.
Thanks for trying to/the help.

Problem with backup TWRP

I did a backup with the TRWP recovery but I can't find the directory "TWRP" in the sd card, neither in the explorer nor in the pc when connecting. However, the directory is there if I look from the recovery.
diegodm said:
I did a backup with the TRWP recovery but I can't find the directory "TWRP" in the sd card, neither in the explorer nor in the pc when connecting. However, the directory is there if I look from the recovery.
Click to expand...
Click to collapse
Do you see it in adb shell? Or did you try do adb pull it?
k-kuchen said:
Do you see it in adb shell? Or did you try do adb pull it?
Click to expand...
Click to collapse
I see it in the adb shell, but cannot access to it, "Permission denied". I can't adb pull it, it says that the remote object doesn't exist.
Are you doing that while in TWRP or in Android? Your problem might be related to SELinux contexts.
_that said:
Are you doing that while in TWRP or in Android? Your problem might be related to SELinux contexts.
Click to expand...
Click to collapse
I was doing it in Android, but now in TWRP i've been able to adb pull it.
Is there any reason I should be worried about that SELinux thing?
Are you using the latest version of TWRP from here: http://forum.xda-developers.com/showthread.php?p=57672469 ?
lost101 said:
Are you using the latest version of TWRP from here: http://forum.xda-developers.com/showthread.php?p=57672469 ?
Click to expand...
Click to collapse
No, I'm using the 2.8.6.0 downloaded from the TWRP site. Should I use the GPE version from your link? (I have GPE firmware flashed)
diegodm said:
No, I'm using the 2.8.6.0 downloaded from the TWRP site. Should I use the GPE version from your link? (I have GPE firmware flashed)
Click to expand...
Click to collapse
Yeah, try that.
lost101 said:
Yeah, try that.
Click to expand...
Click to collapse
Wow, I had no idea that a recovery could be so beautiful Well, now I've done a backup and I can see it perfectly in my PC. Thanks!

Categories

Resources