Need to enable USB Debbuging from almost dead phone - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Hello.
I have xiaomi mi9t pro with pixel experience on him.
before almost two days my phone has met some water and the screen is totally dead
when i connect the phone to the computer he's work but i can't access to my files.
I want to save all the data from the dead phone but i have to enable usb debbuging.
i have got adb to read the phone from recovery but when i try to mound data it's says : "mount: 'data' not in fstab"
from what i remember every time that i have entered to twrp it's asked for me to enter a code for disable encryption or something.
Please help, my data is super important to me.

eran5013 said:
Hello.
I have xiaomi mi9t pro with pixel experience on him.
before almost two days my phone has met some water and the screen is totally dead
when i connect the phone to the computer he's work but i can't access to my files.
I want to save all the data from the dead phone but i have to enable usb debbuging.
i have got adb to read the phone from recovery but when i try to mound data it's says : "mount: 'data' not in fstab"
from what i remember every time that i have entered to twrp it's asked for me to enter a code for disable encryption or something.
Please help, my data is super important to me.
Click to expand...
Click to collapse
Try something like this - it's been long ago I played with (maybe on a different phone)
Code:
adb wait-for-device devices
adb shell
su
input text 1234
input keyevent 66
input text 2345
input keyevent 66
input touchscreen swipe 930 880 930 380
input text 3456
exit
1234 stands for the 1st SIM card pin
2345 stands for the 2nd SIM card pin
3456 stands for the Android unlock pin
Use your own pins instead
Better take out the SIM cards and proceed directly to swipe and the Android unlock pin

zgfg said:
Try something like this - it's been long ago I played with (maybe on a different phone)
Code:
adb wait-for-device devices
adb shell
su
input text 1234
input keyevent 66
input text 2345
input keyevent 66
input touchscreen swipe 930 880 930 380
input text 3456
exit
1234 stands for the 1st SIM card pin
2345 stands for the 2nd SIM card pin
3456 stands for the Android unlock pin
Use your own pins instead
Better take out the SIM cards and proceed directly to swipe and the Android unlock pin
Click to expand...
Click to collapse
okay but how it help to me?
it will help me to enable usb debbuging?

eran5013 said:
okay but how it help to me?
it will help me to enable usb debbuging?
Click to expand...
Click to collapse
Ok, it won't help for TWRP but you can also reboot and try ADB from the system (if it boots but only the screen is 'broken')
In thet case you might need to unlock the screen (but you might further need to find how to simulate the clicks to change from Charge only...)

Related

(SOLVED) G1 not able to activate.

So heres the deal. I bought this G1 because the price was so cheap and now I'm tracking down problem after problem. If you've read my post's you know I fixed the simcard port already to recognize simcards and not kill them, second problem reported was the phone would reset contacts every ngiht. I'm guessing this can be done through software updates/ROMS. Well I have Tmo with a full smart card data package. At first the guy selling it puts in his card and its lights up but won't activate saying it needs to talk to googles servers to create and account. He said he didn't have a data plan so I thought nothing of it. I get it home and fix it and load up my simcard and log into my gmail account with no problems, it loads up the phone and everythings great. I hard reset it and give it to my friend. He has the $10 nonsmartphone plan on his account. He puts it in and creates and new account and activates the phone no problems. It gives him full internet, youtube, etc... for about 5 hours. Then it cuts out and says he needs to upgrade his plan to use this phone. No more web or youtube. But whats weird is he could launch his browser and it would load google. He could even search google and wuold get live results. But if he clicked one it went to tmo's upgrade page. So I hard reset it again with the idea I'm gonna root it and repair it or even see if the problem is him not having a proper smartphone plan but now the phone won't connect to google servers with my sim card. I know its find because I can get online with my 3 other phones with no problem. But on the G1 now it sees the bar's and the 3G logo flash's a couple times then it times out and says it can't get a reliable signal to google servers. Anyideas what I can do to this thing? I was gonna root but you have to have the phone on and active to see hwat version you have. Any help would rock!
Thanks
mas power
http://forum.xda-developers.com/showthread.php?t=452316&highlight=sdk
good way to activate it.. to be able to root it and from there can pass the google account set up and figure out the problem..also could be internal antenna issue(just guessing) or can try do a factory reset again..
ilostchild said:
http://forum.xda-developers.com/showthread.php?t=452316&highlight=sdk
good way to activate it.. to be able to root it and from there can pass the google account set up and figure out the problem..also could be internal antenna issue(just guessing) or can try do a factory reset again..
Click to expand...
Click to collapse
forget it: just use wifi:
really don’t you just have to:
1. go to rc29
2. on “click android” part setprop persist.service.adb.enable 1
3. on adb: am start -a android.intent.action.MAIN -n com.android.settings/.Settings
1. Just put in whatever SIM you are using, then on the activation screen, hit Menu then click on APN. Click add APN and put your company’s internet settings in (ask your provider for these settings). Then add the data plan to your account for the day and remove it after you have activated the phone OR get a friend with a data plan to activate it for you.
The following procedure can be used if none of the above are available to you…
I. Getting Back to RC29
1. This procedure requires you to be on an old version of Android (RC29 aka Android 1.0) so you must use our unroot procedure first and get to RC29, DO NOT DO THE STEP THAT TAKES YOU BACK TO CUPCAKE, skip it and come back to here once you are on RC29.
How To Get Back to RC29
2. You also need a WiFi connection to do this procedure.
II. Setting Up ADB
1. After you are back to RC29, follow our How To Setup ADB procedure EXACTLY as it is written. Once you are able to see your phone’s serial number after typing ADB devices in the command prompt, then come back to this procedure.
IIIa. Activating the Phone Over WiFi WITHOUT a SIM.
1. Borrow someone’s SIM card then procedure to Section IIIb.
IIIb. Activating the Phone Over WiFi WITH a SIM but No Data Plan.
1. Turn on the phone, you will get a Touch Here to Begin Screen.
2. Open the phone’s keyboard and hit enter once then type the following on the phone’s keyboard:
setprop persist.service.adb.enable 1
3. Then hit enter.
4. Hit enter AGAIN and type the following on the phone’s keyboard:
telnetd
5. Then hit enter.
6. With the phone still plugged in and the command prompt still up on your computer screen from the ADB process, type the following in the command prompt on your computer with hitting an enter at the end of each line:
cd\
cd c:\AndroidSDK\Tools\
adb devices
*this should bring up a serial number if your phone is connected, if not then redo the setup ADB process.
7. Now, in command prompt on your computer, type the following with hitting enter at the end of each line:
adb shell
am start -a android.intent.action.MAIN -n com.android.settings/.Settings
8. On your phone should pop up the Android Settings screen, you can now choose a Wifi network to connect to then hit back and finish the activation process over Wifi. Enjoy!
I appreciate the tips, but,,,,,, screw android! I''ll just sell the phone off for parts. If I had wanted an iphone I would of bought an iphone. I'm just gonna stick with WM where you put in your sim card, then you can make calls.
PROBLEM SOLVED!
I finally spoke to a knowlegable TMo support tech today and found out whats going on. Your simcard has to be told its a G1 or you will get crazy anomolies like contacts dissapearing to not being able to activate anymore. The support guy who happened to be the 1 that was knowlegable said he's seen it hundreds of times with the G1. You put your simcard in activate google and everything works fine for a couple hours or days. Then you will start getting bugs and weird issues. Then the phone won't activate no matter what simcard you put in. At that point you must call Tmo and tell them to activate you phone as A G1 and remote reset it and all will fix itself. Thanks for the help guys.
One more question. Are all android phones like this? Or just G1's? I hate not being able to plug and swap out simcards from phone to phone depending on my mood.
I had an issue with activating as well but after about 12 hours,I finally got it. Anyway..about the G1 thing you were talking about, when I activated mine, I got an e-mail from Google thanking me for activating my Nexus...humm..didn't know I had a Nexus..lol
Anyway,glad you got it sorted.
Sent from my G1 from the only app on my main homescreen.

[Q] I can't unlock my phone!

Hi guys. I have a problem a bit similar to the ones I read earlier but my problem is that I entered my PIN code and phone didn't recognize it. Now I should have an option to enter PUK code and everything would be fine, but I don't have that option. My screen says: "Take a look at the manual or contact with your service provider" (something like this, my phone language is Polish so I may translate something not correctly). I did take a look at the manual but there was nothing that could solve my problem so I'm asking you, members of xda community, is there any way to solve this problem without taking phone to my GSM provider?
If you are using custom rom try full wipe maybe it would hep
Sent from my X8 using XDA App
It didn't work, but it turn my phone language into english so I can write what it says:
"SIM card is PUK-locked."
"Please see the User Guide or contact Customer Care."
If you inputted a incorrect PIN for too many times the SIM card will lock up and require the PUK to reset the PIN failure counter - that much the phone is actually doing right.
If you don't have a possibility to enter the PUK then all you can do is to see a service point of your mobile operator to have the SIM card resetted.
There's pretty much nothing you can do as that's a security function of the GSM card and not the phone or the OS.
EDIT: Any chance entering **05*<PUK Code>*# or **05*<PUK Code>*<New PIN>*<New PIN confirm># works? (in case you can get to the dialer)
I can get to the dialer, but I didn't know that I can enter PUK there, I'll give it a try and write either it worked or not.
EDIT:
B.Jay said:
Any chance entering **05*<PUK Code>*# or **05*<PUK Code>*<New PIN>*<New PIN confirm># works? (in case you can get to the dialer)
Click to expand...
Click to collapse
The second method worked! Thanks! When I use this first method it says that is either connection problem or MMI code is invalid.

Factory Reset Protection

Bought a Moto X off of craigslist before I was aware of the 5.1 update that included FRP. Since I didn't know about it and the phone boots to the welcome screen like its ready to rock and roll I thought it was all good. Got it home (had to order a nano sim from ST) and the phone kept going back to the credentials page. Later found out its because of the FRP.
Now I don't steal, buy or sell stolen phones so the FRP is a good thing. What's got me pissed is that Google should have the phone return to a bright red screen that says Locked! not to the same welcome screen and setup a normal user sees. Even someone being legit selling a phone, if they were unaware they needed to remove accts and just did a hard reset unaware the next person that bought itwould need the credentials. Of course the seller, at&t and Moto no help. The phone is clean so far as I and At&t can tell.
The phone sat on my desk for 3mos collecting dust. Yesterday I got to playing with it and I was finally able to get past the Lockout (where it keeps going to the Just a Sec page this phone has been reset.....). If you search for settings on the phone it will allow you to get to the android settings to make changes, set developer mode etc..
At the setting I added a User and I can now use the phone, make calls,text, web, youtube etc work.. Google play causes an error msg (bacsically any app that requires a google act).
This is on an XT1097 AT&T so the bootloader is locked. But has anyone done this and would being in developer mode help me remove that defunct account so I can add mine?
If you can get into settings during setup, instead of creating a new user, have you tried initiating a factory reset from within settings?
Sent from my XT1095 using Tapatalk
No that won't help because to remove the account it asks for the password.
Sent from my XT1095 using Tapatalk
Help google account I CAN NOT ENTER THE CELL
rampx said:
bought a moto x off of craigslist before i was aware of the 5.1 update that included frp. Since i didn't know about it and the phone boots to the welcome screen like its ready to rock and roll i thought it was all good. Got it home (had to order a nano sim from st) and the phone kept going back to the credentials page. Later found out its because of the frp.
Now i don't steal, buy or sell stolen phones so the frp is a good thing. What's got me pissed is that google should have the phone return to a bright red screen that says locked! Not to the same welcome screen and setup a normal user sees. Even someone being legit selling a phone, if they were unaware they needed to remove accts and just did a hard reset unaware the next person that bought itwould need the credentials. Of course the seller, at&t and moto no help. The phone is clean so far as i and at&t can tell.
The phone sat on my desk for 3mos collecting dust. Yesterday i got to playing with it and i was finally able to get past the lockout (where it keeps going to the just a sec page this phone has been reset.....). Before that page, at the accept and continue license if you stop and select read the motorola agreement and try copy and paste it will bring up a
context menu to search.. If you search for settings on the phone it will allow you to get to the android settings to make changes, set developer mode etc..
At the setting i added a user and i can now use the phone, make calls,text, web, youtube etc work.. Google play causes an error msg (bacsically any app that requires a google act).
This is on an xt1097 at&t so the bootloader is locked. But has anyone done this and would being in developer mode help me remove that defunct account so i can add mine?
Click to expand...
Click to collapse
help i can not enter the cell
UncleMike said:
If you can get into settings during setup, instead of creating a new user, have you tried initiating a factory reset from within settings?
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Tried but the reset phone data button is greyed out. It also shows no accounts listed. Even if try to add my google act on my created user it errors. I'm replying from the phone now. Not everything works.
RampX said:
Tried but the reset phone data button is greyed out. It also shows no accounts listed. Even if try to add my google act on my created user it errors. I'm replying from the phone now. Not everything works.
Click to expand...
Click to collapse
There is no way to fix it yourself. You got lucky and found a bug that partially lets you in. But there is no true solution to this other than the previous owner logging in and removing his account.
Sent from my XT1095 using Tapatalk
AGISCI said:
There is no way to fix it yourself. You got lucky and found a bug that partially lets you in. But there is no true solution to this other than the previous owner logging in and removing his account.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
You're probably right but I'm going to keep plugging away at it. A few things I'm going to try. Been using the phone as normal.
Just a follow-up. The phone has now been factory reset and FRP removed.
Enter these commands in the adb tools cmd line:
Used scripts:
adb devices
adb shell netcfg
adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1
that will remove the disable flag on the factory reset button and allow another factory reset.
Props to youtube.com/watch?v=boa3uaarbuE for finishing it up.
RampX said:
Just a follow-up. The phone has now been factory reset and FRP removed.
Enter these commands in the adb tools cmd line:
Used scripts:
adb devices
adb shell netcfg
adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1
that will remove the disable flag on the factory reset button and allow another factory reset.
Props to youtube.com/watch?v=boa3uaarbuE for finishing it up.
Click to expand...
Click to collapse
But How to Enable ADB ?? In FRP MODE ?

Forgotten pattern to start Samsung Galaxy Note 9. Need to recover data. Options?

Hi all,
I have a Samsung Galaxy Note 9 SM-N960F.
I use fingerprint recognition, face recognition and a pin number so hadn't needed my pattern for a while.
My battery ran out. I charged the phone, restarted, it asks for pattern and after a number of failed attempts, have 1 left. Before I try one last pattern and have to do a factory reset (and lose all my family holiday snaps over the last year), is there any way I can get into the phone and recover the data?
There is a dearth of rubbish and click bait on the web. But if anyone can help, I'm told it's XDA. I have a samsung and google account - both linked to phone, remote access, a backed up OS (but not photos), but can't connect - presumably because it has not booted up. Any help appreciated! - & no I haven't enabled any development options....
is it rooted, do you have twrp on it?
i am copying this from other website. you can try this method.
If your phone is connected to a Wi-Fi network and it is linked to your Samsung account then you can unlock your device’s screen remotely from the Find My Mobile website.
Use any computer or mobile device with Internet access, open a web browser and go to http://findmymobile.samsung.com. Click on SIGN IN.
Click on MORE.
Click on UNLOCK MY DEVICE.
Enter your Samsung account password and then click on UNLOCK.
Depending on the network and the state of your device, this process may take a few minutes. You will receive a notification and the screen of your mobile device will be unlock.
Munawar Mehmood said:
i am copying this from other website. you can try this method.
If your phone is connected to a Wi-Fi network and it is linked to your Samsung account then you can unlock your device’s screen remotely from the Find My Mobile website.
Use any computer or mobile device with Internet access, open a web browser and go to Click on SIGN IN.
Click on MORE.
Click on UNLOCK MY DEVICE.
Enter your Samsung account password and then click on UNLOCK.
Depending on the network and the state of your device, this process may take a few minutes. You will receive a notification and the screen of your mobile device will be unlock.
Click to expand...
Click to collapse
>>Thanks - yes I have tried this already, but the phone isn't picked up because (presumably) it is not past boot loader.
Daniehabazin said:
is it rooted, do you have twrp on it?
Click to expand...
Click to collapse
>>Hi, no it doesn't. I can put it on, but I understand that you need to have USB debugging activated on the phone (which I do not recall ever doing) to be able to connect and remove pattern file. Happy to hear if that's no the case.
jwaz said:
Hi all,
I have a Samsung Galaxy Note 9 SM-N960F.
I use fingerprint recognition, face recognition and a pin number so hadn't needed my pattern for a while.
My battery ran out. I charged the phone, restarted, it asks for pattern and after a number of failed attempts, have 1 left. Before I try one last pattern and have to do a factory reset (and lose all my family holiday snaps over the last year), is there any way I can get into the phone and recover the data?
There is a dearth of rubbish and click bait on the web. But if anyone can help, I'm told it's XDA. I have a samsung and google account - both linked to phone, remote access, a backed up OS (but not photos), but can't connect - presumably because it has not booted up. Any help appreciated! - & no I haven't enabled any development options....
Click to expand...
Click to collapse
>>Some details from download mode:
Product name: SM-N960F
Current Binary: Samsung Official
FAP Lock: On
OEM Lock: On
Secure Download: Enabled
CCIC = MAX777705 hw: 3 main:30
Warranty Void: 0
BP SWREV: B:5 K:5 S:5
EVT 1.0
LOT_ID = A04FA
CHIP_ID = 08b40c6ccd00
----
product_line: 2
asb version: 16
---
LPDDR4 manufacturer = samsung
LPDDR4 process version = 018
LPDDR4 size = 6gb
If you need any more info, let me know.
I don't think it would be possible sadly. You have not enabled USB Debugging so you can't flash anything. Also OEM Unlock is turned off. It doesn't work via remote control as the phone is not booted up pass the lock screen at least once. How can you forget your pattern ? Try to remember it or guess blindly, maybe you'll catch the correct one. Also if you do eventually get in again, turn on auto restart once a week. That not only helps to keep performance in top shape but it will ask for the pattern once per week when it auto-restarts so you won't forget it again.
koragg97 said:
I don't think it would be possible sadly. You have not enabled USB Debugging so you can't flash anything. Also OEM Unlock is turned off. It doesn't work via remote control as the phone is not booted up pass the lock screen at least once. How can you forget your pattern ? Try to remember it or guess blindly, maybe you'll catch the correct one. Also if you do eventually get in again, turn on auto restart once a week. That not only helps to keep performance in top shape but it will ask for the pattern once per week when it auto-restarts so you won't forget it again.
Click to expand...
Click to collapse
>>I forgot it because I never use it. Thanks for the tips.
jwaz said:
Hi all,
I have a Samsung Galaxy Note 9 SM-N960F.
I use fingerprint recognition, face recognition and a pin number so hadn't needed my pattern for a while.
My battery ran out. I charged the phone, restarted, it asks for pattern and after a number of failed attempts, have 1 left. Before I try one last pattern and have to do a factory reset (and lose all my family holiday snaps over the last year), is there any way I can get into the phone and recover the data?
There is a dearth of rubbish and click bait on the web. But if anyone can help, I'm told it's XDA. I have a samsung and google account - both linked to phone, remote access, a backed up OS (but not photos), but can't connect - presumably because it has not booted up. Any help appreciated! - & no I haven't enabled any development options....
Click to expand...
Click to collapse
Isn't it you need to enter pin number, not the pattern? Pattern is more secure than a pin?
Rosli59564 said:
Isn't it you need to enter pin number, not the pattern? Pattern is more secure than a pin?
Click to expand...
Click to collapse
>>It's a pattern that is required, not a pin.

Phone locked, PIN not recognized

Hello,
TL;DR: I cannot unlock my Huawei P10 device, PIN code was not changed by me, but the device does not recognize it. Need to remove PIN or push forward without resetting.
Long version: I was driving with my device connected through Android Auto, Spotify was playing and I was tracking an order through Uber Eats that should arrive a bit after I got home.
After parking the vehicle, the music died, and so did the phone. After taking the cable out and trying to restart the device, it came back up.
However, even though it accepts the SIM card PIN, it does not accept the Screen unlock PIN (which is actually the same). After rebooting, it still does not accept the PIN and I'm not waiting for 1h before I can try a new code.
In order to insert the SIM PIN, I have to press OK, but the screen PIN does not, I just add the PIN and it unlocks.
Can anyone make heads or tails out of this situation and help me recover access to the smartphone without doing a factory reset and losing all the unsaved data?
Jimmy_Jams said:
Hello,
TL;DR: I cannot unlock my Huawei P10 device, PIN code was not changed by me, but the device does not recognize it. Need to remove PIN or push forward without resetting.
Long version: I was driving with my device connected through Android Auto, Spotify was playing and I was tracking an order through Uber Eats that should arrive a bit after I got home.
After parking the vehicle, the music died, and so did the phone. After taking the cable out and trying to restart the device, it came back up.
However, even though it accepts the SIM card PIN, it does not accept the Screen unlock PIN (which is actually the same). After rebooting, it still does not accept the PIN and I'm not waiting for 1h before I can try a new code.
In order to insert the SIM PIN, I have to press OK, but the screen PIN does not, I just add the PIN and it unlocks.
Can anyone make heads or tails out of this situation and help me recover access to the smartphone without doing a factory reset and losing all the unsaved data?
Click to expand...
Click to collapse
Give your girlfriend her phone back if you feel insecure about your relationship it's better to talk to her about it, if you can't do that then it's best to just leave
Also if that is your phone and not your girlfriend's then you might be giving it a hard reset unless you have developer options open with enabled USB debugging and a computer nearby
Bricked_it_noobsta said:
Give your girlfriend her phone back if you feel insecure about your relationship it's better to talk to her about it, if you can't do that then it's best to just leave
Also if that is your phone and not your girlfriend's then you might be giving it a hard reset unless you have developer options open with enabled USB debugging and a computer nearby
Click to expand...
Click to collapse
It's not my wife's phone, it's mine Plus, if I wanted to do such a thing, I just need to use finger unlock
I do have developer options open, not sure about the USB debugging, but it might not be because I've been trying with ADB and whatever commands I could find, but so far no success....
Jimmy_Jams said:
It's not my wife's phone, it's mine Plus, if I wanted to do such a thing, I just need to use finger unlock
I do have developer options open, not sure about the USB debugging, but it might not be because I've been trying with ADB and whatever commands I could find, but so far no success....
Click to expand...
Click to collapse
I use to sell drugs to a guy who named himself jimmy_jams on telegram. Your not Australian are you
No, I'm not.
Also, is there no solution to this problem? Do I really need to do a factory reset?

Categories

Resources