Custom recovery for locked bootloader? - Droid RAZR M Q&A, Help & Troubleshooting

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

Related

Root Xoom without USB debugging enabled

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.

[q] unbricking nexus 7 (no answer for my specific problem)

I was trying to unroot my nexus 7 and my computer crashed whilst doing it. My nexus 7 is on the ClockworkMod Recovery screen and the sideload started and then the computer crashed. It won't move from the screen and the only way I know how to unbrick needs USB debugging to get into fast boot mode and I can't because I can't load android. Can someone please help me i'm scared it won't work again.
You can reboot to the bootloader manually and fastboot flash the stock image.
Sent from my Nexus 7 using Tapatalk HD
najaboy said:
You can reboot to the bootloader manually and fastboot flash the stock image.
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
Wouldn't I need USB Debugging for that, if not how do I do it?
TheGaskin said:
Wouldn't I need USB Debugging for that, if not how do I do it?
Click to expand...
Click to collapse
Don't need adb, just reboot it into the bootloader (fastboot mode) and load one of these images...
https://developers.google.com/android/nexus/images#nakasi
TheGaskin said:
Wouldn't I need USB Debugging for that, if not how do I do it?
Click to expand...
Click to collapse
To reboot, hold power and both volume buttons for approx. 30 seconds. Use the image that insanity213 posted.
If you need a quick primer on fastboot, read http://wiki.cyanogenmod.org/wiki/fastboot

[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.

Help with backing up N4 with cracked screen

My Nexus 4 LCD cracked upon impact today and the digitizer is damaged. I want to backup my phone before I repair the LCD, currently it is:
- Rooted
- USB Debugging is enabled from settings
- Device is set as "Camera" and not "MTP"
I want to use the tool http://forum.xda-developers.com/showthread.php?t=2786395
But I cannot tick the box for USB Debugging when using the tool, so I used the following in ADB in Recovery (TWRP)
Adb shell
echo "persist.service.adb.enable=1" >>/system/build.prop
echo "persist.service.debuggable=1" >>/system/build.prop
echo "persist.sys.usb.config=mass_storage,adb" >>/system/build.prop"
reboot
Click to expand...
Click to collapse
However, the device doesn't show up. In device Manager (Control Panel) and while I'm in recovery I get "mako" with a yellow triangle
for which I cannot install any driver (I downloaded them through SDK).
I think it's a driver issue and I want to get sorted to have access to my phone, any ideas or experiences would be welcome!!
Thanks!
It's probably not showing up because camera is selected instead of MTP, but my question is why do you want to back it up.... just Repair Lcd and it should be just like it was before lcd broke....
Zmax
TecheTag said:
It's probably not showing up because camera is selected instead of MTP, but my question is why do you want to back it up.... just Repair Lcd and it should be just like it was before lcd broke....
Zmax
Click to expand...
Click to collapse
Good question, I suppose I worry that something might go wrong while disconnecting/reconnecting the mobo.
boeder9 said:
Good question, I suppose I worry that something might go wrong while disconnecting/reconnecting the mobo.
Click to expand...
Click to collapse
I have a business repairing phones.. nothing is going to happen when you disconnect the lcd and reconnect the new lcd... But if your phone has a frame I would Repair the whole frame and lcd together... Its much easier then just repairing the lcd alone
Zmax
TecheTag said:
I have a business repairing phones.. nothing is going to happen when you disconnect the lcd and reconnect the new lcd... But if your phone has a frame I would Repair the whole frame and lcd together... Its much easier then just repairing the lcd alone
Zmax
Click to expand...
Click to collapse
Well that's comforting, thank you! I'm trying to get the OEM part from LG, I found it in the market here in Saudi but it's not original, just a grade A quality LCD + frame.
boeder9 said:
Well that's comforting, thank you! I'm trying to get the OEM part from LG, I found it in the market here in Saudi but it's not original, just a grade A quality LCD + frame.
Click to expand...
Click to collapse
I use either Amazon or ebay mostly Amazon because they have prime which means you get shipping free and some items you get in 2 days so if you order it on a Friday it comes on Sunday... Its free for a month and then $99 after that or you can keep making a new email every month to beat the system
Zmax
Is there any other way to get to my files on the N4? or at least control the device with the cracked LCD?
boeder9 said:
Is there any other way to get to my files on the N4? or at least control the device with the cracked LCD?
Click to expand...
Click to collapse
Is your bootloader unlocked? If so flash twrp using fastboot. Then boot into twrp and you'll be able to copy and paste files from your device to your pc. If you can't see anything on your screen it might be a little hit and miss but it should be possible.
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Is your bootloader unlocked? If so flash twrp using fastboot. Then boot into twrp and you'll be able to copy and paste files from your device to your pc. If you can't see anything on your screen it might be a little hit and miss but it should be possible.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Yup bootloader is unlocked, I have twrp already but how do I choose the options in twrp? The screen doesn't respond! Also how do I copy files using twrp?
boeder9 said:
Yup bootloader is unlocked, I have twrp already but how do I choose the options in twrp? The screen doesn't respond! Also how do I copy files using twrp?
Click to expand...
Click to collapse
You don't need to choose any options (assuming you have one of the newer versions). All you have to do is boot into it. Boot into the bootloader, hit vol down twice and then power. Let it boot and plug your device into your usb cable. The device should show up on your pc.
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
You don't need to choose any options (assuming you have one of the newer versions). All you have to do is boot into it. Boot into the bootloader, hit vol down twice and then power. Let it boot and plug your device into your usb cable. The device should show up on your pc.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
That's the problem though, I had set it on Camera instead of MTP, so now I only get access to files like DCIM and NOT the rest of the files. Is there any way to circumvent this and have access to all the folders?
boeder9 said:
That's the problem though, I had set it on Camera instead of MTP, so now I only get access to files like DCIM and NOT the rest of the files. Is there any way to circumvent this and have access to all the folders?
Click to expand...
Click to collapse
Have you tried booting into twrp? Twrp defaults to mtp mode so I don't think it matters what you set the device to.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
You don't need to choose any options (assuming you have one of the newer versions). All you have to do is boot into it. Boot into the bootloader, hit vol down twice and then power. Let it boot and plug your device into your usb cable. The device should show up on your pc.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I got into twrp, but again i had "mako" in the control panel device manager, so neither Camera nor MTP worked BUT then:
- I installed some drivers from the N4 Toolkit, namely the samsung drivers, and they worked. NOT MTP though, I am able to get into recovery and use ADB Pull commands but again for some files transfer is interrupted by "No such file or directory" that cancels the operation - so I need to somehow transfer directories/subdirectories individually..anyone can help out here?
- Other thing, though drivers are now installed correctly now, I still can't get to MTP and I think that might due to the fact that ive enabled USB Debugging. From my experience on N4 and N6 if I disable USB debugging I can use the device as MTP, if I enable it I cannot, I can only use Camera if it is enabled - so second question: can I disable USB Debugging through ADB somehow?
Thank u all!
boeder9 said:
I got into twrp, but again i had "mako" in the control panel device manager, so neither Camera nor MTP worked BUT then:
- I installed some drivers from the N4 Toolkit, namely the samsung drivers, and they worked. NOT MTP though, I am able to get into recovery and use ADB Pull commands but again for some files transfer is interrupted by "No such file or directory" that cancels the operation - so I need to somehow transfer directories/subdirectories individually..anyone can help out here?
- Other thing, though drivers are now installed correctly now, I still can't get to MTP and I think that might due to the fact that ive enabled USB Debugging. From my experience on N4 and N6 if I disable USB debugging I can use the device as MTP, if I enable it I cannot, I can only use Camera if it is enabled - so second question: can I disable USB Debugging through ADB somehow?
Thank u all!
Click to expand...
Click to collapse
Ok, I don't know the status of your device. I know with the latest twrp you can boot into it and access your device through mtp. Adb pull is a pita if you don't know the specific location and name of files. Here's what I'd do:
1. Google 15 second adb install xda. That'll install the usb drivers and fastboot with system variables set so you don't need to worry about the path to fastboot.exe.
2. Download the latest twrp image from here http://techerrata.com/browse/twrp2/mako. Rename it twrp for simplicity.
3. Boot into your bootloader and open a command window in the same folder as twrp.img is in.
4. Run the command
fastboot boot twrp.img
5. You'll be booted into twrp and with your device connected to your pc you should see nexus4. From there it is as easy as copying and pasting files from your device to your pc.
When booted into recovery it makes no difference if you have usb debugging checked you not
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Ok, I don't know the status of your device. I know with the latest twrp you can boot into it and access your device through mtp. Adb pull is a pita if you don't know the specific location and name of files. Here's what I'd do:
1. Google 15 second adb install xda. That'll install the usb drivers and fastboot with system variables set so you don't need to worry about the path to fastboot.exe.
2. Download the latest twrp image from here http://techerrata.com/browse/twrp2/mako. Rename it twrp for simplicity.
3. Boot into your bootloader and open a command window in the same folder as twrp.img is in.
4. Run the command
fastboot boot twrp.img
5. You'll be booted into twrp and with your device connected to your pc you should see nexus4. From there it is as easy as copying and pasting files from your device to your pc.
When booted into recovery it makes no difference if you have usb debugging checked you not
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Can't thank u enough bro..flashing the new version of twrp via fastboot wont affect any of my data right?
will try this tomorrow and report back.
boeder9 said:
Can't thank u enough bro..flashing the new version of twrp via fastboot wont affect any of my data right?
will try this tomorrow and report back.
Click to expand...
Click to collapse
No, it won't touch your data.
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Ok, I don't know the status of your device. I know with the latest twrp you can boot into it and access your device through mtp. Adb pull is a pita if you don't know the specific location and name of files. Here's what I'd do:
1. Google 15 second adb install xda. That'll install the usb drivers and fastboot with system variables set so you don't need to worry about the path to fastboot.exe.
2. Download the latest twrp image from here http://techerrata.com/browse/twrp2/mako. Rename it twrp for simplicity.
3. Boot into your bootloader and open a command window in the same folder as twrp.img is in.
4. Run the command
fastboot boot twrp.img
5. You'll be booted into twrp and with your device connected to your pc you should see nexus4. From there it is as easy as copying and pasting files from your device to your pc.
When booted into recovery it makes no difference if you have usb debugging checked you not
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
DUDE THIS WORKED!
One thing. The screen goes black, doesn't go to twrp but Nexus 4 shows up on my PC as MTP. Files are accessible. When I restart the device, TWRP is back to the old version I had.
Not important. Thanks a million buddy. God Speed!
boeder9 said:
DUDE THIS WORKED!
One thing. The screen goes black, doesn't go to twrp but Nexus 4 shows up on my PC as MTP. Files are accessible. When I restart the device, TWRP is back to the old version I had.
Not important. Thanks a million buddy. God Speed!
Click to expand...
Click to collapse
Glad you got it working. Twrp is your old twrp because I just had you boot into it. Not flash it. If you want to flash it, fastboot flash recovery twrp.img
Sent from my Nexus 9 using XDA Free mobile app

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