Need Help! Could not enter the device Pin after restart, cause keybord deinstalled! - Sony Xperia XZ Premium Questions & Answers

hi friends of the android world,
This afternoon I had a new keyboard installed and the default swift key keyboard with root and titanium backup uninstalled. Then I restarted my phone and now I can not enter the devices pin to unlock the phone. can someone help me? :crying:

weso565 said:
hi friends of the android world,
This afternoon I had a new keyboard installed and the default swift key keyboard with root and titanium backup uninstalled. Then I restarted my phone and now I can not enter the devices pin to unlock the phone. can someone help me? :crying:
Click to expand...
Click to collapse
Connect a mouse or keyboard to the device using either Bluetooth or otg USB A to C to access the device and fix the keyboard then.

RJASSI21 said:
Connect a mouse or keyboard to the device using either Bluetooth or otg USB A to C to access the device and fix the keyboard then.
Click to expand...
Click to collapse
Can not I just install it through ADB?

weso565 said:
Can not I just install it through ADB?
Click to expand...
Click to collapse
You might be able to but if you have a Bluetooth mouse or keyboard id find it easier just to use one of those. ADB can be a pain and it feels simpler just to go to the playstore and download the keyboard.

RJASSI21 said:
You might be able to but if you have a Bluetooth mouse or keyboard id find it easier just to use one of those. ADB can be a pain and it feels simpler just to go to the playstore and download the keyboard.
Click to expand...
Click to collapse
I think you misunderstood me, the XZ Premium does not boot up anymore. It stucks when booting up and asks for the PIN. But I can not enter without the Swift Key keyboard.

weso565 said:
I think you misunderstood me, the XZ Premium does not boot up anymore. It stucks when booting up and asks for the PIN. But I can not enter without the Swift Key keyboard.
Click to expand...
Click to collapse
Oh my bad I see what you mean now. Yeah you can try adb but the phone most likely wont be recognised in adb. If it were me at that point id just newflash it or pc companion it. If you use newflasher I think theres away to flash without wiping data so it will just flash the system files including swift keyboard. The whole point of that screen is to prevent computer commands and data from being stolen so I don't think adb would detect the device. Take a look at some of the guides on newflasher since doing that would keep your data and reinstall the system including the keyboard. Alternatively if you have a backup in TWRP assuming your rooted you can use that to restore just the system. Also if you are rooted and have TWRP then adb should work through TWRP.

RJASSI21 said:
Oh my bad I see what you mean now. Yeah you can try adb but the phone most likely wont be recognised in adb. If it were me at that point id just newflash it or pc companion it. If you use newflasher I think theres away to flash without wiping data so it will just flash the system files including swift keyboard. The whole point of that screen is to prevent computer commands and data from being stolen so I don't think adb would detect the device. Take a look at some of the guides on newflasher since doing that would keep your data and reinstall the system including the keyboard. Alternatively if you have a backup in TWRP assuming your rooted you can use that to restore just the system. Also if you are rooted and have TWRP then adb should work through TWRP.
Click to expand...
Click to collapse
ok no problem. i done a default reset of the system and have installed all apps from the beginning

Related

Broken Screen

Hello guys, my phone dropped today and half of the screen is not working anymore. Also the touch does not seem to work. The problem is I just want to copy my photos to my computer but i cant because of the phone is locked and it needs a pattern password to unlock. Is there anyway without replacing the screen to copy my photos or unlock the phone. Thank you.
Hi,
You can plug an OTG cable and plug in a mouse to work around the touch screen issue. Other possibility is trying to boot in recovery mode to manage the files via USB, though I'm not sure if it would allow you to access internal data using adb or not.
All the best,
~Lord
XxLordxX said:
Hi,
You can plug an OTG cable and plug in a mouse to work around the touch screen issue. Other possibility is trying to boot in recovery mode to manage the files via USB, though I'm not sure if it would allow you to access internal data using adb or not.
All the best,
~Lord
Click to expand...
Click to collapse
Hey i do have the USB OTG and i plugged in a mouse to try to enable the adb debugging but the problem is that i can't see the screen so i am working blindly and trying to 'guess' where i should click.
The thing is i can unlock my phone with the fingerprint, but when i connect it to the computer the files do not show, i believe there is a button i have to click to enable MTP ?
I really can't believe its that hard to copy some files from my phone just because the screen is black
Hi,
Yes there is a button to enable MTP and it is in fact hard to enable it without looking at the screen. Have you tried booting in Recovery to access your files?
All the best,
~Lord
XxLordxX said:
Hi,
Yes there is a button to enable MTP and it is in fact hard to enable it without looking at the screen. Have you tried booting in Recovery to access your files?
All the best,
~Lord
Click to expand...
Click to collapse
Yea but i have the stock recovery is there a process/way to access my files other than just booting to recovert?
My phone has latest stock rom and rooted.
Please any help to recover my files since i was checking a screen repair will cost me around 200$
You must instal twrp recovery, with odin. After boot into twrp. So i rimember, twrp mtps is active defoult.
levanitit said:
You must instal twrp recovery, with odin. After boot into twrp. So i rimember, twrp mtps is active defoult.
Click to expand...
Click to collapse
i tried with my older S3 before doing all this process on the S6. I already have TWRP on the S3 and you are write when i click the button on the right it says MTP is enabled but when i plug it in the PC, the device doesn't show any files? any ideas on how to fix this/ can you try it on your device?
Thanks in advance.
Me too hade same problem. It is usb driver problem. I insttal driver and fixed. but dont rimmeber wich one. Search youtube twrp mtp problem.

I need some help recovering data

Hello guys, I was hoping you could help me with a problem
I've managed to screw up my Note 3's display and I want to take out the data from it.
Now when I connect it to the computer I can't switch the phone to MTP because I can't see anything(and I think touch isn't working either)
I wanted to mount usb storage on CWM but I couldn't manage it blindly, for some reason CWM keeps rebooting.
So is there any way I could access my files, maybe there's a recovery that enables MTP automatically or some other solution?
Thanks!
arboy2 said:
Hello guys, I was hoping you could help me with a problem
I've managed to screw up my Note 3's display and I want to take out the data from it.
Now when I connect it to the computer I can't switch the phone to MTP because I can't see anything(and I think touch isn't working either)
I wanted to mount usb storage on CWM but I couldn't manage it blindly, for some reason CWM keeps rebooting.
So is there any way I could access my files, maybe there's a recovery that enables MTP automatically or some other solution?
Thanks!
Click to expand...
Click to collapse
There are quite a few data recovery programs to recover data using your PC, provided touch feature still works and you can unlock the screen.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
There are quite a few data recovery programs to recover data using your PC, provided touch feature still works and you can unlock the screen.
Sent from my SM-S903VL using Tapatalk
Click to expand...
Click to collapse
Well as I stated in the op the screen is pretty much dead
arboy2 said:
Well as I stated in the op the screen is pretty much dead
Click to expand...
Click to collapse
Then you can connect a usb mouse to the device and use it instead of using the touchscreen.
It gets complicated but you can screen cast or VLC to share your screen to PC then use the mouse,to navigate and make selections. You can try finding screenshots of devices just like yours with the same stock firmware or custom ROM as yours has, then use those as a guide to help you figure out where things should be on your screen so can try to navigate to what you need to get the device to share it's screen to PC.
It takes a lot of trial and error to navigate properly until you finally connect the two screens.
Or you can try flashing TWRP on your device then use adb to pull your data.
This CAN be done if you've got the patience.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
Then you can connect a usb mouse to the device and use it instead of using the touchscreen.
It gets complicated but you can screen cast or VLC to share your screen to PC then use the mouse,to navigate and make selections. You can try finding screenshots of devices just like yours with the same stock firmware or custom ROM as yours has, then use those as a guide to help you figure out where things should be on your screen so can try to navigate to what you need to get the device to share it's screen to PC.
It takes a lot of trial and error to navigate properly until you finally connect the two screens.
Or you can try flashing TWRP on your device then use adb to pull your data.
This CAN be done if you've got the patience.
Sent from my SM-S903VL using Tapatalk
Click to expand...
Click to collapse
Yeah I thought of that I might give it a try, also I saw TWRP is touch only
What if someone makes a flashable zip that forces MTP on?
arboy2 said:
Yeah I thought of that I might give it a try, also I saw TWRP is touch only
What if someone makes a flashable zip that forces MTP on?
Click to expand...
Click to collapse
It doest matter, just get TWRP flashed and then boot to it then use adb to pull data
Sent from my SM-S903VL using Tapatalk
Droidriven said:
It doest matter, just get TWRP flashed and then boot to it then use adb to pull data
Sent from my SM-S903VL using Tapatalk
Click to expand...
Click to collapse
is ADB automatically connected?

Black screen: blind OTG keyboard guide?

My Mix 3 has a completely black screen after I dropped it... . I'd like to recover some data from it. If someone has some time to write a "blind" guide for an OTG keyboard to enable debug usb it would be nice. I lost a lot of whatsapp messages and stupid me I was so sure to have the backup enabled.... :crying:
Hope someone will help me. Thanks.
Or can someone tell me how to unlock it with a keyboard if I'm using the pattern lock? Never noticed what you can do if you cannot use the pattern method.
Miottolo said:
My Mix 3 has a completely black screen after I dropped it... . I'd like to recover some data from it. If someone has some time to write a "blind" guide for an OTG keyboard to enable debug usb it would be nice. I lost a lot of whatsapp messages and stupid me I was so sure to have the backup enabled.... :crying:
Hope someone will help me. Thanks.
Or can someone tell me how to unlock it with a keyboard if I'm using the pattern lock? Never noticed what you can do if you cannot use the pattern method.
Click to expand...
Click to collapse
Hi Miottolo,
did you find a Solution for your problem? I have the same now and can't find anything about mi mix 3 otg connections...
slowmotion11 said:
Hi Miottolo,
did you find a Solution for your problem? I have the same now and can't find anything about mi mix 3 otg connections...
Click to expand...
Click to collapse
Nope. Only solution was to repair the screen. Likely I paid about 130€ directly from Xiaomi official repair service.
Get the program 'scrcpy' off its GitHub, connect your phone to your PC with a USB cable, open a console in the scrcpy directory and connect to the phone with adb, then run scrcpy (from the console too). scrcpy will mirror the framebuffer to your PC and let you send inputs.
Of course, this only works if USB debugging is already turned on on the device.
The other option would be to boot into recovery and use ADB from there, this is fairly easy if you already have twrp installed. If your bootloader is unlocked, you can flash twrp and go from there.
By default iirc twrp won't mount the data partitions, so you will need to do that by issuing ADB shell commands, once done you can pull data out of whatever partition you want.

Question How would I use fastboot commands to retrieve my lockscreen pin code?

My daughter locked herself out of a nokia mediatek helio p22 by pin lock. During my relentless searching I came across an article showing how to use fastboot cmd commands to get the userdata pin password encryption and how to decipher it by taking out certain things. To be able to enter into the phone. I CAN'T FIND THE ARTICLE NOW!! . The phone itself will not hard reset by hardware keys. Will not enter into recovery mode only fastboot works. I've tried using many screen unlocking software but they all say device not supported o need usb debugging which I can't enable. Fastboot erase userdata ver throws up errors. Does anyone know the fastbood I'm looking for. I've tried all other possibilities that I can find. Any and all help would be greatly appreciated.
Fastboot operates on device's bootloader, not on Android OS. The FRP code is stored within Android file system what can only get accessed by ADB.
jwoegerbauer said:
Fastboot operates on device's bootloader, not on Android OS. The FRP code is stored within Android file system what can only get accessed by ADB.
Click to expand...
Click to collapse
Correct I know. But the device isn't recognized with adb only fastboot recognizes it. I've tried erasing the device with all fastboot commands and everything results in error. When I try to fastboot recovery it has the no command andriod guy and if I press any hardware buttons it reboot back to lock screen. Do u have any ideas on a work around. Or how to access the userdata using cmd promt?
Try to connect phone in USB-MTP mode via a USB-C cable - requires phone supports USB-C.
@Tlink00
Plug up to your PC and do:
sudo fastboot -w (push enter)
That will format data and erase everything on the device, pictures and all. If you are trying to get in your phone I've been able to delete lockscreen.db and a few other directories using TWRP file manager in the past on OnePlus 6t and also on a few Motorola phone's I've owned. But I believe you have to have encryption disabled to go that route. Best to just wipe it with fastboot -w. Just be sure you know your password to your Google account because if your phones signed in and has a Google account on it the password will be required to use the device again.
Tlink00 said:
My daughter locked herself out of a nokia mediatek helio p22 by pin lock. During my relentless searching I came across an article showing how to use fastboot cmd commands to get the userdata pin password encryption and how to decipher it by taking out certain things. To be able to enter into the phone. I CAN'T FIND THE ARTICLE NOW!! . The phone itself will not hard reset by hardware keys. Will not enter into recovery mode only fastboot works. I've tried using many screen unlocking software but they all say device not supported o need usb debugging which I can't enable. Fastboot erase userdata ver throws up errors. Does anyone know the fastbood I'm looking for. I've tried all other possibilities that I can find. Any and all help would be greatly appreciated.
Click to expand...
Click to collapse
I can send you tools that support the Nokia 2.2/2.3 (I'm assuming from chipset) that can erase user data and frp
areallydumbperson said:
I can send you tools that support the Nokia 2.2/2.3 (I'm assuming from chipset) that can erase user data and frp
Click to expand...
Click to collapse
Yeah...that be great! I'm willing to try anything. But the usb debugging isn't enabled.
flash713 said:
@Tlink00
Plug up to your PC and do:
sudo fastboot -w (push enter)
That will format data and erase everything on the device, pictures and all. If you are trying to get in your phone I've been able to delete lockscreen.db and a few other directories using TWRP file manager in the past on OnePlus 6t and also on a few Motorola phone's I've owned. But I believe you have to have encryption disabled to go that route. Best to just wipe it with fastboot -w. Just be sure you know your password to your Google account because if your phones signed in and has a Google account on it the password will be required to use the device again.
Click to expand...
Click to collapse
I've tried the fastboot -w but it comes up with an error about not having permission. Idk about the encryption being disabled or not. And I haven't been successful with TWRP even coming up. Maybe I'm missing something
jwoegerbauer said:
Try to connect phone in USB-MTP mode via a USB-C cable - requires phone supports USB-C.
Click to expand...
Click to collapse
Are you taking about changing it in the PC device manager properties? Bc I don't have access to change it on the device itself. I will try it though. I'll let u know what happens. Thanks for the idea!
Have found it that your Nokia 2.2 supports OTG.
Tlink00 said:
Yeah...that be great! I'm willing to try anything. But the usb debugging isn't enabled.
Click to expand...
Click to collapse
Doesn't matter because it uses fastboot and the way the tool works bypasses permission errors
areallydumbperson said:
Doesn't matter because it uses fastboot and the way the tool works bypasses permission errors
Click to expand...
Click to collapse
Ok thanks! I'll let u know if it works!
Tlink00 said:
Ok thanks! I'll let u know if it works!
Click to expand...
Click to collapse
did it work?
areallydumbperson said:
did it work?
Click to expand...
Click to collapse
I haven't had a chance to try it, yet. But I will really soon. I'm very eager to use it.
areallydumbperson said:
did it work?
Click to expand...
Click to collapse
It says request permission fail. I have phone in fastboot mode
Nvm I GOT IT!!! OMG u are a life savor. Thank you, thank you,thank you!!! I've been working on this for 2 months now. Thank u so much!!
Tlink00 said:
Nvm I GOT IT!!! OMG u are a life savor. Thank you, thank you,thank you!!! I've been working on this for 2 months now. Thank u so much!!
Click to expand...
Click to collapse
Haha np
Having the same issue here, my son locked his nokia with a passcode he can't remember. Unable to get it into recovery mode, stuck on "no command"
djekl said:
Having the same issue here, my son locked his nokia with a passcode he can't remember. Unable to get it into recovery mode, stuck on "no command"
Click to expand...
Click to collapse
should be able to get in by pressing power + volume up or power + volume down at that no command screen
Tried that, just got back from the local phone repair shop, and they were unable to factory reset it also, and get past the no command screen.

Do ADB Shell only standalone OS exist?

Hello all,
I am really new to anything related to phone modding.
I have a broken screen but have managed to recover all its data.
The phone is neither able to display anything nor respond to touches.
But now I would like to flash/boot a fresh OS that has only a terminal for writing scripts.
Basically, I am looking for an OS that can be interacted via the ADB shell (or any other medium except the screen), where I can install scripts and executables.
I could install something like Ubuntu Touch or LineageOS, but I don't have a screen to go through the process of installing them and I don't know a way to do it without the screen.
Model name if required: Motorola Z2 Play (albus)
Please do suggest any workarounds if what i am expecting isn't possible.
Thanks in advance.
It all depends on how badly the screen is damaged (does not display an image, touch does not work on part or all of the screen) and whether the model has otg.
ze7zez said:
It all depends on how badly the screen is damaged (does not display an image, touch does not work on part or all of the screen) and whether the model has otg.
Click to expand...
Click to collapse
The screen is badly broken. It does not display anything nor respond to touch inputs. (will edit original post)
I know the device still functions perfectly because I am able to boot into fastboot and even boot a TWRP image.
I did not understand the "OTG" part. I am able to connect it to my desktop via USB.
gfish35 said:
(...)
I did not understand the "OTG" part. I am able to connect it to my desktop via USB.
Click to expand...
Click to collapse
OTG allows you to connect a mouse and keyboard. Otherwise, you won't install any OS.
gfish35 said:
The screen is badly broken. It does not display anything nor respond to touch inputs.
I know the device still functions perfectly because I am able to boot into fastboot and even boot a TWRP image.
Click to expand...
Click to collapse
ze7zez said:
OTG allows you to connect a mouse and keyboard. Otherwise, you won't install any OS.
Click to expand...
Click to collapse
Yes, I have OTG hardware. I have previously connected a USB keyboard to the device.
Since the screen is black, get a backup of the working ROM made in twrp for your model from the XDA forum community to restore the ROM on your phone.
The existing Android ROM is wiped. So there is no ROM present right now. Only a recovery for LineageOS is present. Can I install a ROM freshly? If yes, how do I do that?
Thank you.
You won't install fresh because you won't go through the installer screens. By flashing TWRP for your model you will have the option to restore the backup ROM using TWRP commands via adb.

Categories

Resources