Make Your Own Heat Sink for the LG Optimus 4X HD

Its not a rare occurrence that performing a resource heavy task on your Android device (e.g. … more

Learn How to Create an Old School Dialer

XDA is not only a great source for custom ROMs, kernels, and various modifications for numerous … more

USB Desktop Charger Roundup – XDA TV

Sometimes you learn one way to do something, and that’s the way you do it forever. You never … more

Samsung Galaxy Grand Duos Receives Early CM12 Port

Samsung Galaxy Grand is a dual-SIM phone with a 5 screen that was announced two years ago. … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] ADB wont work in recovery after latest ota

OP Nemesis_00

26th August 2014, 04:38 PM   |  #1  
OP Senior Member
Thanks Meter: 9
 
120 posts
Join Date:Joined: Jun 2008
Hi,

I've just done an OTA update to 6.09.401.5
My phone is 801n, S-OFF with locked bl. Hboot is 1.57.

After the OTA I had lost root, so I went on to recovery (stock) to sideload supersu.
Much to my surprise, I can't adb with the stock recovery.

Looking in device manager, it just shows up as mass storage device.

I've added the device ID to the google driver inf:
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0FF9

and forced the driver, which loaded fine. But adb devices still shows nothing.
Same thing when I force ADB Composite Device.
Also tried disabling and enabling USB debugging without any success.

Do you guys have a similar issue? Are your device ids the same as mine in recovery? ADB works?
Attached Images
File Type: jpg usblogview.jpg - [Click for QR Code] (154.7 KB, 21 views)
26th August 2014, 05:36 PM   |  #2  
alray's Avatar
Senior Member
Flag Montreal, Quebec
Thanks Meter: 1,362
 
3,556 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by Nemesis_00

Hi,

I've just done an OTA update to 6.09.401.5
My phone is 801n, S-OFF with locked bl. Hboot is 1.57.

After the OTA I had lost root, so I went on to recovery (stock) to sideload supersu.
Much to my surprise, I can't adb with the stock recovery.

Looking in device manager, it just shows up as mass storage device.

I've added the device ID to the google driver inf:
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0FF9

and forced the driver, which loaded fine. But adb devices still shows nothing.
Same thing when I force ADB Composite Device.
Also tried disabling and enabling USB debugging without any success.

Do you guys have a similar issue? Are your device ids the same as mine in recovery? ADB works?

You can not sideload with stock recovery nor use adb commands. flash a custom recovery
26th August 2014, 05:49 PM   |  #3  
OP Senior Member
Thanks Meter: 9
 
120 posts
Join Date:Joined: Jun 2008
Quote:
Originally Posted by alray

You can not sideload with stock recovery nor use adb commands. flash a custom recovery

That seems strange. It was a while ago, but i did root my 4.4.2 install somehow with the bootloader remaining locked (I didnt erase my phone), and keeping stock recovery. Since the BL is locked I probably didnt flash a custom recovery and then revert to stock.
I was pretty sure I just sideloaded it with stock recovery since my device is SOFF.

Are you certain it can't be done?
It's pretty stupid of me then, as I am not sure how I rooted it before then.
26th August 2014, 06:45 PM   |  #4  
alray's Avatar
Senior Member
Flag Montreal, Quebec
Thanks Meter: 1,362
 
3,556 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by Nemesis_00

That seems strange. It was a while ago, but i did root my 4.4.2 install somehow with the bootloader remaining locked (I didnt erase my phone), and keeping stock recovery. Since the BL is locked I probably didnt flash a custom recovery and then revert to stock.
I was pretty sure I just sideloaded it with stock recovery since my device is SOFF.

Are you certain it can't be done?
It's pretty stupid of me then, as I am not sure how I rooted it before then.

you can not use adb sideload with stock recovery.

if you don't want to wipe the phone by unlocking the bootloader using htcdev.com you can:

flash a custom recovery in a masked firmware.zip with the bootloader locked (s-off only)
or
do wait said above and then unlock bootloader from custom recovery using adb shell or guru bootloader reset tool.
Last edited by alray; 26th August 2014 at 07:45 PM.
26th August 2014, 07:24 PM   |  #5  
yatindroid's Avatar
Senior Member
Flag Jaipur
Thanks Meter: 388
 
1,441 posts
Join Date:Joined: Sep 2009
More
Quote:
Originally Posted by alray


flash a custom recovery in a masked firmware.zip with the bootloader locked (s-off only)
or
unlock the bootloader with the s-off method and flash a custom recovery.

is masking firmware works ?
If this works then no one need htcdev I think it's not possible or can brick
For totally stock locked S On phone I take a same version firmware mix TWRP flashing you don't need htcdev or unlocked ?
How I can unlock with S Off & stock Recovery non root ?
26th August 2014, 07:43 PM   |  #6  
alray's Avatar
Senior Member
Flag Montreal, Quebec
Thanks Meter: 1,362
 
3,556 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by yatindroid

is masking firmware works ?

with s-off you can flash a custom recovery with a locked bootloader, no risk. just pack the custom recovery image (renamed recovery.img) with an android-info.txt that match your phone info inside a firmware.zip file and flash it in ruu mode.

you can then use the guru bootloader reset tool to unlock your bootloader using the custom recovery or by using an adb shell from custom recovery

Quote:

If this works then no one need htcdev I think it's not possible or can brick

This is not a magical way to unlock, you first need s-off. if the phone is s-on then htcdev is required.

Quote:

For totally stock locked S On phone I take a same version firmware mix TWRP flashing you don't need htcdev or unlocked ?

will only work for s-off, you can not flash a firmware with twrp inside, you can only flash sigend firmware with s-on

Quote:

How I can unlock with S Off & stock Recovery non root ?

you can't, you first need to flash custom recovery using a masked firmware.zip like said above or use htcdev. using the firmware method will not wipe the phone.
Last edited by alray; 26th August 2014 at 07:49 PM.
The Following User Says Thank You to alray For This Useful Post: [ View ]
26th August 2014, 09:29 PM   |  #7  
OP Senior Member
Thanks Meter: 9
 
120 posts
Join Date:Joined: Jun 2008
Quote:
Originally Posted by alray

you can not use adb sideload with stock recovery.

if you don't want to wipe the phone by unlocking the bootloader using htcdev.com you can:

flash a custom recovery in a masked firmware.zip with the bootloader locked (s-off only)
or
do wait said above and then unlock bootloader from custom recovery using adb shell or guru bootloader reset tool.

Well, im an idiot. That's probably what I did last time as well.
For some reason I remembered using sideload.
Flashed TWRP, installed SuperSU and back to stock recovery.

Thanks a bunch,

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes