[Q] back up apps with broken touchescreen - Nexus 4 Q&A, Help & Troubleshooting

Hi all,
I unfortunately broke my Nexus 4 some days ago. The screen is still working fine, but the touchscreen is not working at all. I am using AOKP (jb-mr2, android 4.3) and I have ClockworkMod Recovery 6.0.2.3.
With adb on recovery, I managed to pull back all the content of the sdcard. But I would also like to save all the apps and apps data. I tried, on recovery to use "adb backup –apk –shared –all –f /backup/mybackup.ab" but I am not authorised (error: device unauthorized. Please check the confirmation dialog on your device.). I also tried after normally booting but I can't connect with adb:
List of devices attached
0200eb4d4b0e6615 unauthorized
My screen is locked with a password, the usb debugging is not activated. Does someone know a way to activate usb debuuging, so that I can connect with adb to allow the backup of my apps?
Thanks all,,
Jean.

Related

[Q] Yet another boot looped N4, tried all, need expert help to recover user files..

I have been using the stock 4.4.4 for a while with some occasional crashes and reboots in Skype. Then one day, when I turned on my device, the boot loop struck out of the blue! I had only installed some apps, nothing ROM related was changed.
I need some expert help with recovering my user files (some images in non standard folders, game saves etc..)
Symptoms:
*The device is stuck at the circle logo and won't boot up.
*The boot loader is unlocked, USB debugging is enabled and the device was rooted before with version 4.2, upgraded to stock after that at least twice and lost root.
*When connected to PC, auto driver loading fails with MTP but I hear a USB connection sound when I turn on and off the phone. Although, the device is not recognized in "My computer". I see an "Android Device" and/or "android bootloader interface" in Device Manager.
What I tried:
*Tried wugfresh's toolkit and re-installed all google drivers but when I run adb/fasboot commands from within the toolkit, my device is not listed in either list. I get a blank list of devices.
* I can get to the recovery mode in stock boot loader after the "No data" screen and tried wiping user cache, did no good.
What I would like to achieve:
* Ideally I would like to be able to boot into the system without losing any user data and run my backup app and/or connect via USB to backup files on PC.
* If above wouldn't be possible, accessing files externally would also do as a last resort.
Any help is appreciated!
Thanks
ozgurust said:
I have been using the stock 4.4.4 for a while with some occasional crashes and reboots in Skype. Then one day, when I turned on my device, the boot loop struck out of the blue! I had only installed some apps, nothing ROM related was changed.
I need some expert help with recovering my user files (some images in non standard folders, game saves etc..)
Symptoms:
*The device is stuck at the circle logo and won't boot up.
*The boot loader is unlocked, USB debugging is enabled and the device was rooted before with version 4.2, upgraded to stock after that at least twice and lost root.
*When connected to PC, auto driver loading fails with MTP but I hear a USB connection sound when I turn on and off the phone. Although, the device is not recognized in "My computer". I see an "Android Device" and/or "android bootloader interface" in Device Manager.
What I tried:
*Tried wugfresh's toolkit and re-installed all google drivers but when I run adb/fasboot commands from within the toolkit, my device is not listed in either list. I get a blank list of devices.
* I can get to the recovery mode in stock boot loader after the "No data" screen and tried wiping user cache, did no good.
What I would like to achieve:
* Ideally I would like to be able to boot into the system without losing any user data and run my backup app and/or connect via USB to backup files on PC.
* If above wouldn't be possible, accessing files externally would also do as a last resort.
Any help is appreciated!
Thanks
Click to expand...
Click to collapse
Do you have clockwork mod installed?
You might be able to pull the important stuff over ADB when the phones in recovery
If ADB on your computer recognizes and can connect to your phone you can probably pull off the files
Try this: http://www.xda-developers.com/android/all-in-one-guide-to-adb/
prasanth21 said:
Do you have clockwork mod installed?
You might be able to pull the important stuff over ADB when the phones in recovery
If ADB on your computer recognizes and can connect to your phone you can probably pull off the files
Try this: http://www.xda-developers.com/android/all-in-one-guide-to-adb/
Click to expand...
Click to collapse
Thanks for the suggestion. As a matter of fact, while waiting desperately for a reply here, I tried to flash TWRP recovery and managed to adb pull data and sdcard directories over to my PC. And then a factory reset brought my device back to life.
It's a bummer that all of my home screen settings and account settings are reset..
The question now is how to copy over the backup data back to the phone..
adb push will put them back, but your phone will probably mount normally and show up in 'My Computer' now so you could just do that.
ozgurust said:
Thanks for the suggestion. As a matter of fact, while waiting desperately for a reply here, I tried to flash TWRP recovery and managed to adb pull data and sdcard directories over to my PC. And then a factory reset brought my device back to life.
It's a bummer that all of my home screen settings and account settings are reset..
The question now is how to copy over the backup data back to the phone..
Click to expand...
Click to collapse
I'm glad you were able to pull off the files from the phone.
You can use the adb push command to put the data back into the phone
Try this : adb push /path/to/local/file /mnt/sdcard/path/to/file
or
adb -s [yourdeviceserialnumberhere] push /system/[whateverdirectory]
You can check out this too : http://forum.xda-developers.com/showthread.php?t=2167651
The post clearly explains multiple adb commands
Hope it helps!

Broken Screen Issue + ADB

Hi Friends,
A buddy of mine has a Galaxy 5 with a broken screen. He has downloaded all of the required software.
the problem that when he enters the command “adb devices”, it does not show that his phone the recognized even though he can access it through his computer through the file system.
What should he do to correct this? Thanks in advance!
USB Debugging must be disabled, what does he want ADB for if he can already access it via USB? To Wipe?

Nexus 6p unresponsive screen with OS lock

Hello Everyone,
I have an issue with my nexus 6p screen all of a sudden being unresponsive to touch. The big error on my part was not setting up my videos and images to automatically backup. So now what i'm trying to do is unlock the phone using ADB and a usb cable but haven't had any luck. I've gotten as far as listing my devices, which show up an unauthorized and seem I can only authorize it from my phone. Q1. is this true? Could there be any other way to authorize my phone, or am I out of luck and my data is kaput? I've also tried an OTG cable but it doesn't load since i'm guessing the OS has to fully load for the cable work.
Do I have any choice on saving my data with a USB cable and command line or can someone suggest a tool that would help me out of this situation?
Put it into fastboot/download mode and flash the latest TWRP recovery.
Use TWRP's file manager or ADB Pull commands to pull your data off. Use ADB push to push a new ROM image and flash over everything except userdata (back it up just in case).

ADB Doesn't Recognize Nexus 6p

Hello all,
I recently dropped my phone, shattering the screen and rendering the LCD useless. I need to use my phone to access some important messages, so I am trying to use Android Control to emulate my phone until I can get a new one. The problem is I didn't have USB debugging turned on when I dropped it. To fix that, I am trying to use ADB and recovery mode to turn it on, but ADB can't/won't recognize my device. I have installed the universal adb driver and my phone shows up in the device manager, but when I run "adb devices" in the command prompt, nothing comes up. Any help is much appreciated!
Thanks!
lonshlon said:
Hello all,
I recently dropped my phone, shattering the screen and rendering the LCD useless. I need to use my phone to access some important messages, so I am trying to use Android Control to emulate my phone until I can get a new one. The problem is I didn't have USB debugging turned on when I dropped it. To fix that, I am trying to use ADB and recovery mode to turn it on, but ADB can't/won't recognize my device. I have installed the universal adb driver and my phone shows up in the device manager, but when I run "adb devices" in the command prompt, nothing comes up. Any help is much appreciated!
Thanks!
Click to expand...
Click to collapse
Did you have TWRP installed? (Unlocked bootloader?)
If not, I don't know of any way to turn on ADB.
If TWRP is installed you boot into recovery and you are good.
tech_head said:
Did you have TWRP installed? (Unlocked bootloader?)
If not, I don't know of any way to turn on ADB.
If TWRP is installed you boot into recovery and you are good.
Click to expand...
Click to collapse
Unfortunately I don't have TWRP installed
Unfortunately I don't have TWRP installed
No USB debugging and no twrp and no LCD ....
That's a no go.

Touchscreen not responding -- How can I access and backup my files?

I'm having an issue where my touchscreen completely stopped responding to touches, but the physical buttons still work. I'm rooted and have TWRP installed. I'm trying to backup my files before reformatting. I have an OTG cable which i tried using with a mouse but it doesn't work. I'm not sure if it's because OTG isn't enabled by default? I'm currently able to unlock my phone using fingerprint and I'm already on wifi. I haven't restarted the phone yet because I'm afraid of getting stuck at the startup encryption screen that requires me to physically draw the unlock pattern.
I've had something similar happen a few months ago where I rebooted and wasn't able to get into the phone because of the startup lock screen. I followed a thread to delete the lock files but it ended up completely locking me out of the phone (due to new android security i guess) and in the end I had to reformat everything and lose all my data .
What's the best way to go about this now and either be able to get the OTG/mouse working or at least be able to access and backup all my data? Is there anything I should do before restarting while I can still access my phone using fingerprint unlock?
twrp should allow you to activate usb (think its on by default), that way you can make a nandroid and copy it to pc, as well as copy any photos etc from the internal storage
yusuo said:
twrp should allow you to activate usb (think its on by default), that way you can make a nandroid and copy it to pc, as well as copy any photos etc from the internal storage
Click to expand...
Click to collapse
Ah.. thanks, I will try that!
Hi,
I have the same issue: my touchscreen stopped working a couple days ago, and I'm not able to enter my pattern. I have a USB-C mouse, TWRP 2.7.3 installed, my bootloader is unlocked, but for some reason I'm not able to use the mouse in TWRP. Any ideas?
Many thanks!
I found a solution to backup your data, even if USB OTG is disabled.
First, you need a mouse and an adapter. Personally, I bought this one from Amazon (France).
Second, you need to download the latest version of TWRP for cheeseburger.
Finally, plug your device to a computer and boot into fastboot. Open a terminal and type 'fastboot boot C:\path\to\twrp-cheeseburger.img'.
Your device reboots into recovery, and the USB mouse is working. Enter your pattern, mount Data and plug back the phone to your computer: you should see your data!
Hope this help.
adb backup -apk -shared -all -f backup-file.adb
adb restore backup-file.adb

Categories

Resources