Root Xoom without USB debugging enabled - Xoom General

So if a Xoom is encrypted and USB debugging disabled, there is no way someone who got physical possession of my locked Xoom could root and 0wn the data? I know on iOS devices, physical possession is enough to Root and SSH into the device.

sandhuxda said:
So if a Xoom is encrypted and USB debugging disabled, there is no way someone who got physical possession of my locked Xoom could root and 0wn the data? I know on iOS devices, physical possession is enough to Root and SSH into the device.
Click to expand...
Click to collapse
Neither of those would stop someone from fastboot oem unlocking.
Sent from my PG86100 using Tapatalk

Don't you need to have USB debugging enabled for fastboot to work? Even with bootloader unlocked, all you can do is flash an image which will wipe the device. Right?

sandhuxda said:
Don't you need to have USB debugging enabled for fastboot to work? Even with bootloader unlocked, all you can do is flash an image which will wipe the device. Right?
Click to expand...
Click to collapse
Because fastboot is done outside the system, usb debugging wouldn't stop it. Fastboot unlock will wipe the device anyway.
Sent from my PG86100 using Tapatalk

bwcorvus said:
Because fastboot is done outside the system, usb debugging wouldn't stop it. Fastboot unlock will wipe the device anyway.
Click to expand...
Click to collapse
Ok, thanks. So, back to the same point, you cannot read the filesystem of an encrypted Android device if (1) USB debugging is disabled (2) device is locked, even if you have physical possession of the device. This is excluding any microSD card that you use as external storage.

Related

[Q] Shattered N4 - How Do I Retrieve Data?

I dropped my N4 on the ground this past weekend and it now has both a shattered front and back glass. The digitizer does not work so I can't use the touchscreen at all.
Here's what I can share about the status of the phone:
It is still on, I can see the screen, and is fully charged receiving messages.
The power button and two volume buttons work.
The phone's storage is encrypted with the stock android encryption.
I have a 4-digit PIN enabled on the lock screen.
The phone did not have USB debugging enabled when this occurred.
I've tried to mount it to a computer to get the files, but nothing shows up as I believe I need to unlock it with the PIN before it will mount.
I can install apps remotely from the Play store.
I have the Sophos mobile app installed and configured but I don't believe there are any commands to UNLOCK the device, only to lock it and wipe it.
Honestly, I just want my data off of the phone and would rather not replace the screen and continue using it. I love the phone but it is way too fragile. Is there any way to transfer my data? I looked into connecting a mouse to the usb and using that to enter the PIN, but the N4 does not support mice. Since USB debugging was not turned on, I can't connect via ADB. Is there some sort of app I can remotely install from the play store to turn on USB debugging? Is there some sort of app I can remotely install to remotely unlock the device with my 4-digit PIN? If I let it die and then try to boot into recovery, will ADB work then? If so, how would I get the data off of the device if it is encrypted? Any guidance would be greatly appreciated.
Thanks in advance!
Is it running a custom recovery?
If yes, just go into recovery and do a nandroid, boot back into android and copy the backup.
If no, there's a thread somewhere with instructions on how to unlock your bootloader WITHOUT wiping your phone.
Unfortunately this is the only android phone I've ever owned that I haven't touched and left completely stock... No custom recovery, no custom ROM. I'll try to look for the instructions on how to unlock the bootloader without wiping the phone, but if I do a nandroid and boot back into android how will I transfer the data? I'd be stuck at the screen where I have to type in my encryption password, and even if I got past that I still can't mount the device in Windows to transfer the data?
Anyone?
Exousia said:
Unfortunately this is the only android phone I've ever owned that I haven't touched and left completely stock... No custom recovery, no custom ROM. I'll try to look for the instructions on how to unlock the bootloader without wiping the phone, but if I do a nandroid and boot back into android how will I transfer the data? I'd be stuck at the screen where I have to type in my encryption password, and even if I got past that I still can't mount the device in Windows to transfer the data?
Click to expand...
Click to collapse
The only way I can think is flash an advanced version of cwm (if it doesn't already have one) that has a file manager and make a backup, and copy the recovery to a location on the SD. Then mount USB storage and copy everything over.
Edit: actually, you could mount USB storage in cwm to copy files over, then make a backup through adb on to your computer, there's some tutorials on how to do that
Sent from my Nexus 4 using xda premium
do you have adb installed? cant you copy the files in bootloader mode to the computer? havent tried yet, and im on my work laptop right now, cant try it.
zakoo2 said:
do you have adb installed? cant you copy the files in bootloader mode to the computer? havent tried yet, and im on my work laptop right now, cant try it.
Click to expand...
Click to collapse
as far as I know no. In bootloader mode is only fastboot, not adb
Sent from Halo.
what i dont understand is how you cannot connect the phone with mtp... that should work without debugging.
EDIT: sorry, youre right, when the device is encrypted, you have to unlock it before mounting.
looks like you made pretty damn sure there is no way for you (or anyone else) to get access to the data on your device :/
although i dont know about unlocking without wiping. maybe that could work.
sent from my Nexus 4...
Google search a program called Motorobo; equivalent to what service providers use.
Sent from a neXus device

[Q] Usb debugging without android (through recovery?)

Hi,
I kind of "bricked" my nexus. Kind of, because recovery is working, and I can even start the device in android. Problem is error windows pops up and I can't control a thing.
No big deal you say, but I deleted by accident the .zip of the rom I had on the device. AND USB DEBUGGING WAS OFF...
I can't transfer any file to the device, I can't start usb debugging, and every tutorial on the internet says to put the device in usb debugging -> it's bricked, that's the whole point, so WTF!
sorry, I didn't respect the unwritten rule stating you should'nt ask for help on a forum while angry furious
Hope any of you can help me...
I should add I'm really not a poweruser. I've been flashing roms for a long time following carefully the rules, but really I have no idea what I'm doing <insert meme>, so adb and stuff like that I've never used (directly).
Thanks!
Use fastboot, see the sticky that says flashing a factory image using fastboot/return to stock.
Sent from my Nexus 7(2012) that has zero issues.
Thanks for you answer.
Still, I have to turn on USB debugging
Enable usb debugging on your device (found under Settings > Developer Options)
Click to expand...
Click to collapse
I can't do that because I can't use my nexus in android.
Bipo said:
Still, I have to turn on USB debugging
I can't do that because I can't use my nexus in android.
Click to expand...
Click to collapse
USB debugging is system feature. If you cannot load system you don't need to bother about it. You can only use fastboot as writen before.
Bipo said:
Thanks for you answer.
Still, I have to turn on USB debugging
I can't do that because I can't use my nexus in android.
Click to expand...
Click to collapse
Incorrect.
Fastboot works even when there is nothing on the device save the bootloader. Follow the instructions in the flash factory thread linked above and don't apply and personal prejudices-- it does work, and is the "right" way to do things. If you use a Windows computer, then you may also need the naked fastboot drivers (which can also be found by searching).

Custom recovery for locked bootloader?

Hello,
does custom recovery for a locked bootloader exist? I could not find one.
My phone is on 4.4.2. 183.46.10 bootloader.
Actually, I want custom recovery in order to run adb commands and turn usb debugging mode on. Currently I can not activate developer mode on my phone, because it's screen and digitizer is broken.
Thanks.
Lejolasho said:
Hello,
does custom recovery for a locked bootloader exist? I could not find one.
My phone is on 4.4.2. 183.46.10 bootloader.
Actually, I want custom recovery in order to run adb commands and turn usb debugging mode on. Currently I can not activate developer mode on my phone, because it's screen and digitizer is broken.
Thanks.
Click to expand...
Click to collapse
You have to root and unlock bootloader if you want custom recovery.
You have to unlock the bootloader. Sorry.
Sent from my DROID RAZR M using XDA Premium 4 mobile app
Klen2 said:
You have to root and unlock bootloader if you want custom recovery.
Click to expand...
Click to collapse
Dr. Mario said:
You have to unlock the bootloader. Sorry.
Sent from my DROID RAZR M using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks guys. I want to enable usb debugging on my phone, but my screen/digitizer is broken.
The way how I will archive this does not matter.
Currently I can only run fastboot commands. Nothing more. (I can also access phones internal memory, but I think it won't help.)
Is there any way to turn usb debugging on?
Does stock recovery has usb debugging on and how to enter it without adb or phone screen?
You can't use USB debugging even in custom recovery when it's disabled in system, if i'm not wrong. So custom recovery won't help you. Look here: http://stackoverflow.com/questions/13326806/enable-usb-debugging-through-clockworkmod-with-adb
Do you see image on your screen? If yes, you can use USB OTG mouse to control the phone.
I second the usage of an USB mouse. This phone has the support for USB OTG.
Sent from my XT907 using XDA Premium 4 mobile app

[Q] How to sideload kernel with USB Debugging enabled?

Hi all,
I greatly need your help or some advice. I searched for more than 6h yesterday and Im surprised I couldnt find a solution to my problem.
Typical stuff : I broke the screen of my Nexus 4, that is completely stock 5.0.1. The phone is unrooted, bootloader is locked and obviously USB Debugging is disabled.
I need to backup some data from my phone : pictures, notes and if possible my contacts.
When I connect my phone via USB to my PC, I cant browse my files since my screen is locked. My screen is not responding at all, so no way I can unlock it. Only thing I can do is install new applications on my phone, but no way to launch them since I'd need to unlock my screen again.
I have installed adb and fastboot in order to try and use Android Screen Control, but I dont have USB Debugging enabled.
So I read that I could sideload a kernel that has USB Debugging enabled by default.
I got into Recovery Mode, and tried sideloading a zip file containing a Kernel found on the forum, but I always get an error saying the footer is wrong and the signature of the file didnt pass verification. I guess I can only sideload OTA updates ?
I tried fastbooting CWM recovery, that also didnt work.
adb devices command lists my 'recovery' device.
At this stage, all I need is to either be able to unlock my phone so I can access my files via USB (i tried few apps without success), or to enable USB debugging so I can connection using sideload, use Android Screen Control, reset the pattern lock, and backup my phone.
Also, USB OTG isnt enabled by default on Nexus 4, so that's another dead-end
So what are my options ? Where could I find a kernel that has USB Debug enabled, and how can I sideload it considering phone is not rooted, and bootloader is locked (unlocking it and whipping data defies the purpose).
THANK YOU for any advice!
There is nothing you can do with a locked bootloader and no custom recovery. Sorry man, but you're not going to be able to access your data.
Sent from my Nexus 9 using XDA Free mobile app
I've exactly the same problem, but my bootloader is unlocked and I'm rooted.
I'm also on a Nexus 4 with 5.0.1 and I'm trying to get control over my device from my Windows PC. But I don't know which kernel to use and how (yet) to enable USB debugging.
Help is appreciated.
Joakim_Lind said:
I've exactly the same problem, but my bootloader is unlocked and I'm rooted.
I'm also on a Nexus 4 with 5.0.1 and I'm trying to get control over my device from my Windows PC. But I don't know which kernel to use and how (yet) to enable USB debugging.
Help is appreciated.
Click to expand...
Click to collapse
All you need is a custom recovery to boot into to access your files. If you don't have one, download the latest version of twrp from here. http://techerrata.com/browse/twrp2/mako
Then flash that using fastboot. If you need help let us know.
Sent from my Nexus 5 using XDA Free mobile app
Hmm, "error: cannot load 'open recovery-twrp-2.3.2.3-mako'.
Sure usb-debugging doesn't have to be enabled?
Joakim_Lind said:
Hmm, "error: cannot load 'open recovery-twrp-2.3.2.3-mako'.
Sure usb-debugging doesn't have to be enabled?
Click to expand...
Click to collapse
You have an ancient version of twrp. Install the latest. I'm positive you don't need usb debugging enabled.
Sent from my Nexus 5 using XDA Free mobile app
Yes, you're so right! I also missed .img in the command
But what kernel would you recommend me to use so I have usb-debugging I can have usb-debugging enabled?
I am in almost completely the same situation! My N4 fell yesterday and shattered at the bottom right hand corner. No the touch screen doesn't work and there are sections of the screen that are black. However, I have...
root
cwm recovery
stock 5.0.1 kernel
windows 7
adb not working
fastboot working
usb debugging disabled
a need for usb debugging to become enabled.
I would like a kernel with usb debugging enabled and instructions on how to install it. Or if you have another fix, instructions on that.

nexus 4 - broken screen and usb debugging turned off

Hi
I have a nexus4 that has a broken screen, it is, it doesnt react to the finger touch, and doesnt have usb debug enabled
What could i do to extract the files from there?
I have seen that connecting a mouse via usb is not an option as this device is not compatible with that, so i think the only option i have is to flash the device to have usb debugging enabled
Is there any other option i can explore?
Thanks
I am sure that you can enter your recovery assuming that your power + vol button is still functioning.
Try to connect your device using Wug Tool and use the tool to back up all the files.
Give it a try and let us know.
Sent from my Nexus 4 using XDA-Developers mobile app
Thanks
Yes, i can get in recovery, but, i assume i would need to unlock the bootloader first, isnt it? If i do it, i will erase all the documents inside
Hi
I have tried getting into recovery, but, as expected, as usb debugging is not enabled, i cant see the device from adb
So, the key question is... how can i enable usb debug in a device with the screen broken and with bootloader locked, without wiping the data?
Thanks
It is possible to turn on usb debugging?
I have clean phone - after factory reset.

Categories

Resources