Apply update from ADB: how to use it when you are locked out of the device
3
votes
0
answers
38026
views
My cousin's kid has played with his Samsung A8 (2018) phone and has changed his unlock pattern. So, nobody knows the pattern the child has set.
* The phone has no Google account set up
* The USB debugging is *not* activated on device before
I have rebooted into recovery mode, and entered the option
There is a message on recovery screen saying:
> Now send the package you want to apply
> to the device with
According to [another post](https://android.stackexchange.com/a/197443/202005) , looks like it is possible to use [TWRP for Samsung Galaxy A8 2018](https://twrp.me/samsung/samsunggalaxya82018.html) to clear the screen lock. So, I have downloaded the following
Now I plan to install TWRP on phone by the following command and then follow the [previous post](https://android.stackexchange.com/a/197443/202005) :
Apply update from ADB
:

adb sideload
...
I'm able to see the device by adb devices
command:

apk
package:

adb sideload me.twrp.twrpapp-26.apk
### Questions
Now, before doing so, I have these questions:
* Is it possible to install *.apk
packages by adb sideload
? Is there any possibility that it would mess up the phone?
* What else can I do with adb sideload
to clear the screen lock?
* What else can be done with adb sideload
to back up the phone camera images and videos without wiping the data?
Thanks =)
Asked by Megidd
(242 rep)
Nov 10, 2020, 05:31 PM
Last activity: Dec 16, 2024, 08:17 PM
Last activity: Dec 16, 2024, 08:17 PM