Debugging authorized but not enabled (broken screen/digitizer) - General Questions and Answers

I believe this topic should be mostly device agnostic but for details I'm working with a Fire Tablet 10, a year or two old or so, not sure exact revision but OS and recovery are stock and it is not rooted.
In the past I have connected to this tablet over ADB from my PC (device/connection authorized). The screen and digitizer recently broke. I was still able to connect via ADB and I could even use scrcpy to remote in from my PC. I was having trouble inputting the screen unlock because the digitizer was constantly registering inputs all over the screen nonstop. I was able to unlock the screen with adb input text but as soon as I did, the tablet started opening apps, swiping the top panel, etc. I disconnected a few seconds later but in that short time something happened and now I can't get back in with ADB. My PC does recognize the tablet as being connected but can not even access typical files and folders (no files or folders show up at all). I suspect that one of the registered inputs was in the top panel like changing the usb mode to charge-only or even worse; disabled usb debugging. I have since opened it up and disconnected the screen and digitizer to prevent this from happening again.
I know the topic is asked a million times 'can I get back in if I never enabled usb debugging' but I can't find any answers for my situation where my computer should still be in the authorized devices list on the tablet, just lacking the debug interface being enabled (or something similar). I am not against buying some hardware/adapter to connect to an external display but I haven't found anything yet that will be plug-and-play out-of-the-box (all I've found so far need ADB or an app installed).
My question is: Can I do anything to re-enable standard ADB/USB debugging (or maybe ADB over IP) to get back in if I have a computer that should still be authorized?
Thank you all in advance for any advice or suggestions.

you could try to inject init.rc service
Code:
settings put global adb_enabled 1
or edit default.prop in boot (if not symlink to /system)
Code:
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
you can modify boot with AIK and flash with mtkclient or SP Flash Tool.
In any case, do a full ROM dump first. Do not try to unlock bootloader, encryption keys are bonded to bootloader lock state (some people claim it's possible to unlock bootloader without data loss, I don't believe).

Related

zte nubia n9 enable adb

Hi all,
someone bought me a damaged (screen cracked and not usable) phone, and they want to get their photos off the device. But in order for me to even interact with the phone via terminal, or use any recovery app on computer, the adb option must be enabled! now this is where the problem is, cuase how can i enable the adb option when i am flying blind with no screen?!
SO my question is this. Is there a way to connect the phone via the cable and push a command to the phone to enable adb option?
The other problem when connecting the phone is that all that comes up when you connects to the computer is the drive to install the drivers, and not the other drives for the system. SO maybe even a way to send a commnad to the phone to enable data connection so can get access to phone internal memory?

Samsung S7 Edge ADB Commands

Hi,
Basically I have a Samsung S7 Edge (SM-G935F) which the screen is completely smashed on (no display no touch). When I connect it to the PC it detects the phone but it doesn't show the folders inside (can only assume its got a prompt to accept PC or USB debugging isn't enabled).
After a lot of testing with OTG cables keyboards/mouse etc the furthest I got was putting the phone into Recovery Mode (PWR, VOL UP & HOME) then selected APPLY UPDATE ADB.
When I run the ADB in Powershell and run "adb devices" it finds the device ID and says "sideload".
Is there any command I can run to pull the files off my internal DCIM folder (thats all I really need)?
I did read up the only way this could be possible is to install a custom rom (TWP with ODIN?) and then pull files off.
Is this possible and would installing a custom rom delete my internal files as that would render this pointless.
Sorry im new to a lot of this so all my knowledge is just what ive read recently.
Thanks
1. To pull user data USB-debugging must got enabled. May be this method works for you to enable it:
2. To flash TWRP it's required device's bootloader got unlocked - what requires OEM unlock must got enabled . Note: Unlocking bootloader erases all user data.
jwoegerbauer said:
1. To pull user data USB-debugging must got enabled. May be this method works for you to enable it:
2. Once you unlock device's bootloader - what is required to flash TWRP - all user data get lost.
Click to expand...
Click to collapse
Thanks for the reply,
Ok so my only option is the "blind" method.
I have the app installed via Google Play Store on my PC to the device however when I hold down the home button to ask google I hear no reply from her, is there any hotkey to use for this device to ask google or any alternative methods to open this app?
I can see the S7 Edge is connected to my WIFI as it shows on the Sky Hub and IPScanner.
Also is there a way to tell what android interface version I have so I can follow someone on Youtube going into Settings or Apps etc to open the app.
I feel like I am so close to getting these photos off the phone but its just a blind guess at the moment.
I managed to get a hold of a friends S7 Edge, using this I mapped out some keyboard functions to turn on developers options then usb debuggings.
What I have noticed is now when I connect the phone via USB to the PC and run ADB DEVICES it shows up the ID then unauthorised as the status, so I can only assume this means I have USB DEBUGGING ENABLED.
Is this correct?
If so why when I open the Samsung Galaxy in Windows does it still not show the folders, is there another setting I need to turn on/off?
Rowan88 said:
I managed to get a hold of a friends S7 Edge, using this I mapped out some keyboard functions to turn on developers options then usb debuggings.
What I have noticed is now when I connect the phone via USB to the PC and run ADB DEVICES it shows up the ID then unauthorised as the status, so I can only assume this means I have USB DEBUGGING ENABLED.
Is this correct?
If so why when I open the Samsung Galaxy in Windows does it still not show the folders, is there another setting I need to turn on/off?
Click to expand...
Click to collapse
you are confuse you want to view phone content and sd card? you need to change from charging to MTP connection from drop-down notification bar of your device
ineedroot69 said:
you are confuse you want to view phone content and sd card? you need to change from charging to MTP connection from drop-down notification bar of your device
Click to expand...
Click to collapse
I want the internal storage contents of DCIM on the phone.
I followed the steps on my "donor" phone to go into Developer Options > USB Configuration > MTP but all that happens is the phone detects on Windows but wont show me the contents of it.
I also tried changing to PTP but same issue.
I know there is a pop-up that shows on the phone asking to ALLOW THE PC TO ACCESS FILES but I cannot have the USB DATA CABLE and OTG/KEYBOARD plugged in at the same time (and I also tried two OTG adapters both came up MOISTURE DETECTED when using).
So unless anyone knows of a OTG SPLITTER that 100% works with S7 EDGE then I need to find a way to either bypass the ALLOW MESSAGE or manually add my PC to its allow list.
Rowan88 said:
I want the internal storage contents of DCIM on the phone.
I followed the steps on my "donor" phone to go into Developer Options > USB Configuration > MTP but all that happens is the phone detects on Windows but wont show me the contents of it.
I also tried changing to PTP but same issue.
I know there is a pop-up that shows on the phone asking to ALLOW THE PC TO ACCESS FILES but I cannot have the USB DATA CABLE and OTG/KEYBOARD plugged in at the same time (and I also tried two OTG adapters both came up MOISTURE DETECTED when using).
So unless anyone knows of a OTG SPLITTER that 100% works with S7 EDGE then I need to find a way to either bypass the ALLOW MESSAGE or manually add my PC to its allow list.
Click to expand...
Click to collapse
Followed steps again and changed to PTP and FILES ARE NOW SHOWING!!
Happy man!
Thanks for all the help
Rowan88 said:
I want the internal storage contents of DCIM on the phone.
I followed the steps on my "donor" phone to go into Developer Options > USB Configuration > MTP but all that happens is the phone detects on Windows but wont show me the contents of it.
I also tried changing to PTP but same issue.
I know there is a pop-up that shows on the phone asking to ALLOW THE PC TO ACCESS FILES but I cannot have the USB DATA CABLE and OTG/KEYBOARD plugged in at the same time (and I also tried two OTG adapters both came up MOISTURE DETECTED when using).
So unless anyone knows of a OTG SPLITTER that 100% works with S7 EDGE then I need to find a way to either bypass the ALLOW MESSAGE or manually add my PC to its allow list.
Click to expand...
Click to collapse
fully charge your phone and hopefully the heat generated from charging process remove the moisture detected warning or you can also use hair blower to heat your charging port area
also don't put your device on microwave oven unless you want to see some fireworks

Help Accessing Data on Screen Locked P20

Hi - wondering if anyone out there can think of a solutions to this...
So, my wife cracked her phone screen (Huawai P20) and bought a cheap phone to use short term while we worked out a replacement (Alcatel 1). When setting up the temporary phone, not all of the data from her P20 was install/copied, mainly because there's not enough storage space to hold it all.
Some of the data left on the P20 is really important (downloaded documents/files and pevious whatsapp history), so I was going to hook it up to a PC and grab all the data from it, but the biggest problem is she can't remember the unlock pattern. I know developer mode/USB debugging is not turned on, so I can't even get a PC/ADB to recognise it, plus I've had to connect it to a mouse and monitor (via HDMI/USB adapter) to even view/control the unlock screen.
I'm pretty sure that without the pattern we have little or no options, but was wondering if anyone knew the answers to the following:
Is there any way to unlock the phone using the old PIN that was set (she's confident she knows this)?
Is there a way to unlock using the finger print sensor (even though is says 'pattern required due to restart')
Should ADB list it as a device even though USB debigging is turned off and the phone is screen locked (currently does not list it, but I thought you could PIN unlock via ADB)
Does anyone know any other tools/options for accessiing the files on the phone.
Thanks is advance for any help!
Basically you can access Android's filesystem in ADB-mode or in MTP-mode: the latter should always be possible.
Even if USB Debuging is turned off and the screen is locked? Any tips on how to get the PC to see the device in MTP mode?
Thanks!
My wifey has a Huawei Y7 with HiSuite installed on Windows PC and HDB enabled on phone. As soon as she connects PC with phone over USB, confirms the verification code, phone gets mounted on PC as external USB-drive and thus visible in MTP-mode.
My guess is you have to take your Huawei to authorized service center and let them try to fix it.
Ah Ok. HiSuite asks for USB Debugging to be enabled first, which i can't do because it's locked. Thanks for you help anayway.

Broke phone screen. Is their any way I can get ADB access? [Oneplus Nord N100]

I have a OnePlus Nord N100 that I dropped off a ladder... I ordered a new phone (screen replacement seemed to not be worth the hastle on such a cheap phone when replacement kit was 60$) but would like to re-purpose the device for something as I am very against e-waste.
I would like to make it a security camera. If I can get ADB shell access it should be possible to install termux and run some linux command line utilities for this (i.e. motion and rclone to upload).
Problem is that without screen I cant login and turn on usb debugging. This phone uses usb 2.0 so I cannot use an hdmi display and mouse.
Is their any way I can get usb debugging enabled? I would prefer to be able to get my files off the device but most of it was backed up. Resetting is fine. I would even be down to try to re flash it with a serial programmer or something. Would their perhaps be any serial programming pads I could solder onto?
Suriyawong said:
I have a OnePlus Nord N100 that I dropped off a ladder... I ordered a new phone (screen replacement seemed to not be worth the hastle on such a cheap phone when replacement kit was 60$) but would like to re-purpose the device for something as I am very against e-waste.
I would like to make it a security camera. If I can get ADB shell access it should be possible to install termux and run some linux command line utilities for this (i.e. motion and rclone to upload).
Problem is that without screen I cant login and turn on usb debugging. This phone uses usb 2.0 so I cannot use an hdmi display and mouse.
Is their any way I can get usb debugging enabled? I would prefer to be able to get my files off the device but most of it was backed up. Resetting is fine. I would even be down to try to re flash it with a serial programmer or something. Would their perhaps be any serial programming pads I could solder onto?
Click to expand...
Click to collapse
If you did not have USB debugging enabled in system settings, there is no external way to enable it. Fix the screen, otherwise, the device won't be any good for an secondary uses other than using it as a paperweight or a doorstop.

Phone with no screen or touch function (but O/S power buttons working) can't access ADB to pull data off phone

Phone is Poco F2 Pro, beyond economical repair
Windows 10 can see it via bluetooth but can't receive files
Have tried various data recovery trials but none can overcome non ADB
Have tried installing Qualcomm Drivers & ADB (but go error code 10) on PC
Mi Suite sees phone but asks me to update the phone (which I can't do)
Is there anyway to get a video out or get over the ADB limitation?
strocky said:
Phone is Poco F2 Pro, beyond economical repair
Windows 10 can see it via bluetooth but can't receive files
Have tried various data recovery trials but none can overcome non ADB
Have tried installing Qualcomm Drivers & ADB (but go error code 10) on PC
Mi Suite sees phone but asks me to update the phone (which I can't do)
Is there anyway to get a video out or get over the ADB limitation?
Click to expand...
Click to collapse
If the screen is cracked and you can see the interface and you can connect the mouse to a usb, you will also have the option of installing MyPhoneExplorer Client. You have a chance to watch the phone screen in MyPhoneExplorer for PC and manage the backup.
MyPhoneExplorer Client starts automatically after installation, even after a system restart and is always ready to connect to MyPhoneExplorer.
ze7zez said:
If the screen is cracked and you can see the interface and you can connect the mouse to a usb, you will also have the option of installing MyPhoneExplorer Client. You have a chance to watch the phone screen in MyPhoneExplorer for PC and manage the backup.
MyPhoneExplorer Client starts automatically after installation, even after a system restart and is always ready to connect to MyPhoneExplorer.
Click to expand...
Click to collapse
Unfortunately the screen & touch functions are totally dead (my daily alarm has been playing on a loop this morning lol)
I'm going to try and boot into custom recovery mode and use ADB via CMD to access my files (doubt this will work as I have the standard ROM om the machine (4m34s into the video below)
I've edited the thread title as I can see it was misleading, thanks for the reply though much appreciated
So hitting a brick wall, I assume with a stock Poco ROM I won't have access to an ADB enabled boot?
Would it be possible to flash a custom ROM and gain ADB access that way?
Or is a replacement or donor screen & digitiser the only way fwd?
In my opinion, you can do nothing without access to the screen or enabled usb debugging in the system.
Decide for yourself about the profitability of replacing the display, taking into account that it will be done carefully and nothing else will be spoiled.

Categories

Resources