[RECOVERY][UNOFFICIAL] TWRP 3.7.0 for the XPeria Z5 compact (suzuran) - Xperia Z5 Compact Android Development

Hi all:
Here is a TWRP recovery 3.7.0 for XPeria Z5 compact (suzuran).
Download 2022-12-23
This is a 7z archive with the TWRP image and the md5 file in it. Please unpack this archive. The md5 file is only for control purposes to verify that the download is not broken.
To verify the image file, enter this command line in a terminal window:
Code:
md5sum <image_name>
and compare the output with the content of the <image_name>.md5 file.
FYI: <image_name> is the full name of the image file, for example TWRP_3.7.0_9-0-recovery_suzuran_2022-12-23.img
This version uses a prebuilt kernel, therefore are no kernel sources needed.
Tree sources
Installation instructions:
Shutdown your device.
Wait about 10 seconds to be sure that the device is really shut down.
Press Volume-up, hold the button and then plug in the USB-Cable.
Release the button.
Wait until the LED turns blue.
Enter this code line in a terminal window:
Code:
fastboot flash recovery <image_name>
Press Enter.
When finished: Unplug the USB cable.
To enter TWRP press Volume-down and Power simultaneously.
Use this recovery image at your own risk! It comes without any warranty! I'm not responsible for any damage! If you don't agree with that, don't try to flash this recovery image in any way.

Thanks berni, its great project.
Also, this twrp can install without pc by using "Official TWRP App" in Play Store.
For install, open that app and give root permission and tap TWRP FLASH. after that, pass the device (our device isnt in list) just tap select a file to flash and select twrp img file.
After select, tap FILE TO FLASH and enjoy.

Works:
+Backup.
+Restore
+mount (all is works)
+unmount
+Wipe.
+Flash rom.
+Battery Percentage (need to wait a bit)
+terminal
+file manager (show, remove, create)
Doesnt Works:
-CPU temperature (shows 0 degree)
Maybe Bug:
?in reboot menu, there isnt "recovery"
?in reboot menu, there are system, power off but that 2 sector's icons are "file directory"

TRKARTAL said:
Works:
Click to expand...
Click to collapse
Good.
Doesnt Works:
-CPU temperature (shows 0 degree)
Click to expand...
Click to collapse
Hmmm...
?in reboot menu, there isnt "recovery"
?in reboot menu, there are system, power off but that 2 sector's icons are "file directory"
Click to expand...
Click to collapse
I'll take a look into it asap.

TRKARTAL said:
Doesnt Works:
-CPU temperature (shows 0 degree)
Click to expand...
Click to collapse
Fixed; see 1st post.
Maybe Bug:
?in reboot menu, there isnt "recovery"
Click to expand...
Click to collapse
There must be a logic behind this. I'm not familiar enough with TWRP (and I also don't have enough time) to fix that.
?in reboot menu, there are system, power off but that 2 sector's icons are "file directory"
Click to expand...
Click to collapse
Fixed; see 1st post.
FYI: This is not a bug, it's a feature. In future versions some buttons will be replaced with this list style. I had to revert a commit to restore the button style.
But I'm quite sure that this will not work in the future any more.

I hardly dare to ask: in this TWRP, is decryption of /data working?

No worries; you can ask.
No, encryption is not working. This seems to be a general problem that seems not to be solvable! I'm sorry.

New version out; see 1st post.
I've tried to implement encryption but since I'm not using it I can't test it.
Please report, if it's working or not.

Berni-0815 said:
New version out; see 1st post.
I've tried to implement encryption but since I'm not using it I can't test it.
Please report, if it's working or not.
Click to expand...
Click to collapse
It does not seem to work, tested on los 14.1 and aex 4.6...
Code:
E:Decryption took too long, killing process

Decryption not working (after trying by switching from delock pattern to PIN, due to lack of support of (de)lock pattern in the twrp) on 14.1

DevelLevel said:
It does not seem to work
Click to expand...
Click to collapse
Thanks. Back to previous version...

After installing this test-twrp it is not possible to enter bootloader mode... Blue light for only around 1 sec., then reboot into normal mode.
Any workaround?

Ermann123 said:
After installing this test-twrp it is not possible to enter bootloader mode... Blue light for only around 1 sec., then reboot into normal mode.
Any workaround?
Click to expand...
Click to collapse
can you try:
Code:
adb reboot bootloader

TRKARTAL said:
can you try:
Code:
adb reboot bootloader
Click to expand...
Click to collapse
this worked , thx!

your welcome erman

Ermann123 said:
is not possible to enter bootloader mode
Click to expand...
Click to collapse
Do you have a button for entering bootloader?

Berni-0815 said:
Do you have a button for entering bootloader?
Click to expand...
Click to collapse
I have button in extended shutdown menu, but it didnt work, BUT the hint from TRKARTAL did : "adb reboot bootloader"

Anyway, Berni, or others, I would very appreciate further effort to get the En/decrytion working. I would even donate something therefore
Because it is essential to avoid a lot of manual backup/restoring of data when trying / upgrading another (newer) ROM version.

Ermann123 said:
I have button in extended shutdown menu
Click to expand...
Click to collapse
I haven't seen an extended shutdown menu in TWRP. Could you please point me to that?
Ermann123 said:
I would very appreciate further effort to get the En/decrytion working
Click to expand...
Click to collapse
We have tried a lot to get it working, but unfortunately until now without any success!

Of course, I meant the extended shutdown menu of the lineage OS.
In this TWRP there is not such feature, but I have seen it on other devices, like TWRP for Z3 Tablet.
Keep on trying, pls!

Related

no recovery, no download mode, no micro usb, but root?

hello dears,
i have very big problem with my c6603. i installed first lollipop hongkong version to my c6603. every function works but i want to install mods and other roms but; my phones usb port doesnt let the pc recognize as "phone". it is not driver problem ; it is hardware failure definetly. the port just charging my phone. And on the phone there is no recovery and download mode. But phone has root. i tried a few things to install custom recovery but couldnt be success. unlocked bootloader but no recovery as i said. i really appreciate if there is a solution. many thanks
mca1 said:
hello dears,
i have very big problem with my c6603. i installed first lollipop hongkong version to my c6603. every function works but i want to install mods and other roms but; my phones usb port doesnt let the pc recognize as "phone". it is not driver problem ; it is hardware failure definetly. the port just charging my phone. And on the phone there is no recovery and download mode. But phone has root. i tried a few things to install custom recovery but couldnt be success. unlocked bootloader but no recovery as i said. i really appreciate if there is a solution. many thanks
Click to expand...
Click to collapse
How did you install that Hong Kong lollipop?
mca1 said:
hello dears,
i have very big problem with my c6603. i installed first lollipop hongkong version to my c6603. every function works but i want to install mods and other roms but; my phones usb port doesnt let the pc recognize as "phone". it is not driver problem ; it is hardware failure definetly. the port just charging my phone. And on the phone there is no recovery and download mode. But phone has root. i tried a few things to install custom recovery but couldnt be success. unlocked bootloader but no recovery as i said. i really appreciate if there is a solution. many thanks
Click to expand...
Click to collapse
Hi there.If you have root access and unlocked bootloader,you can install TWRP even without pc connection.
first you should download a terminal emulator app from google play.
then you should download the latest version of TWRP image file from here https://dl.twrp.me/yuga/.
Place it in the root of your /sdcard folder and rename it to twrp.img
Run the following commands in terminal app
Code:
su
and then we write recovery image file to FOTA with dd command.
Code:
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
and it's done.
press thanks if it was helpful.
i installed hk lollipop zip from my custom twrp recovery. and when rom istall has finished ; recovery gone.
mrp1375 said:
Hi there.If you have root access and unlocked bootloader,you can install TWRP even without pc connection.
first you should download a terminal emulator app from google play.
then you should download the latest version of TWRP image file from here https://dl.twrp.me/yuga/.
Place it in the root of your /sdcard folder and rename it to twrp.img
Run the following commands in terminal app
Code:
su
and then we write recovery image file to FOTA with dd command.
Code:
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
and it's done.
press thanks if it was helpful.
Click to expand...
Click to collapse
thank you mrp1375 but i tried this method and when i want to go recovery phone only restarts. because phone has no stock recovery.
mca1 said:
thank you mrp1375 but i tried this method and when i want to go recovery phone only restarts. because phone has no stock recovery.
Click to expand...
Click to collapse
Below are 2 solutions to get a properly working recovery
Preperation:
1. Download Dual recovery installer: XZ-lockeddualrecovery2.8.23-RELEASE.combined.zip
2. Install NDRUtils
Next up we will test if the TWRP you installed works or not
-open NDRUtils and choose to boot into TWRP recovery.
Now unhide the result that you got to continue with the installation:
OK: I am now in TWRP
flash XZ-lockeddualrecovery2.8.23-RELEASE.combined.zip and reboot.
Everything will work normally now.
Not OK: I am not in TWRP
Reboot the phone if you have to (hold power until you feel 3 vibrations and then turn the phone back on)
You need to download this: http://nut.xperia-files.com/path/XZDualRecovery/Kernel_Builder
To get the right file make sure to selec the xperia z c6603 and select the rom version you are using, you can view what you have in settings, about phone, build number.
it will be much easier for you if you install this: X-plore File Manager The reason i recommend this application is that it automatically makes sure the file rights are correct.
Go into the settings and enable superuser +mount root mode
Now you can browse to the folder where you downloaded the zip in the left pane.
go into the zip and and then into tmp
Select the boot.img
now move to the right pane and browse to the root of your SD card like the comment above
go back to the left pane and with boot.img still checked click copy.
Now follow the original instructions mrp1375 gave you, but notice the different filename
Open terminal
Type : su
Type: dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Now you can reboot and if it worked the phone will vibrate twice and show a green led meaning you can press the down button to enter TWRP recovery.
Go into the recovery and now flash XZ-lockeddualrecovery2.8.23-RELEASE.combined.zip so you get a proper installation
Now remember this very important fact:
Whenever you flash or wipe anything you MUST reinstall recovery and root again.
This is a failsafe strategy you can NEVER ignore becaus of your usb issues.
Keep SuperSu installer and XZ-lockeddualrecovery installer on your device at all times!
thank you
mca1 said:
thank you
Click to expand...
Click to collapse
Does that mean it worked?
tetsuo55 said:
Does that mean it worked?
Click to expand...
Click to collapse
Yes it worked, thank you much. :good:
tetsuo55 said:
Below are 2 solutions to get a properly working recovery
Next up we will test if the TWRP you installed works or not
-open NDRUtils and choose to boot into TWRP recovery.
Now unhide the result that you got to continue with the installation:
OK: I am now in TWRP
flash XZ-lockeddualrecovery2.8.23-RELEASE.combined.zip and reboot.
Everything will work normally now.
Not OK: I am not in TWRP
Reboot the phone if you have to (hold power until you feel 3 vibrations and then turn the phone back on)
You need to download this:
To get the right file make sure to selec the xperia z c6603 and select the rom version you are using, you can view what you have in settings, about phone, build number.
it will be much easier for you if you install this: The reason i recommend this application is that it automatically makes sure the file rights are correct.
Go into the settings and enable superuser +mount root mode
Now you can browse to the folder where you downloaded the zip in the left pane.
go into the zip and and then into tmp
Select the boot.img
now move to the right pane and browse to the root of your SD card like the comment above
go back to the left pane and with boot.img still checked click copy.
Now follow the original instructions mrp1375 gave you, but notice the different filename
Open terminal
Type : su
Type: dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Now you can reboot and if it worked the phone will vibrate twice and show a green led meaning you can press the down button to enter TWRP recovery.
Go into the recovery and now flash XZ-lockeddualrecovery2.8.23-RELEASE.combined.zip so you get a proper installation
Now remember this very important fact:
Whenever you flash or wipe anything you MUST reinstall recovery and root again.
This is a failsafe strategy you can NEVER ignore becaus of your usb issues.
Keep SuperSu installer and XZ-lockeddualrecovery installer on your device at all times!
Click to expand...
Click to collapse
Hey! I have the same problem as the OP here. I followed the instructions like 5 times and still couldnt get it to work. The terminal is saying that "No space left on device" when i type "dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel"
any way to fix this? Thanks!
comcastic08 said:
Hey! I have the same problem as the OP here. I followed the instructions like 5 times and still couldnt get it to work. The terminal is saying that "No space left on device" when i type "dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel"
any way to fix this? Thanks!
Click to expand...
Click to collapse
That error sounds like either you dont have root or you have a typo, can you make a screenshot?
tetsuo55 said:
That error sounds like either you dont have root or you have a typo, can you make a screenshot?
Click to expand...
Click to collapse
snag. gy/gi8Ji. jpg
sorry i cant post links yet
comcastic08 said:
snag. gy/gi8Ji. jpg
sorry i cant post links yet
Click to expand...
Click to collapse
That doesnt look quite right it should look like this:
Code:
[email protected]:/ $
Then you type "su" (without the quotes) and press enter
The display then changes to:
Code:
[email protected]:/ #
Now you type "dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel" (without the quotes) and press enter
And then it should work properly.
tetsuo55 said:
That doesnt look quite right it should look like this:
Code:
[email protected]:/ $
Then you type "su" (without the quotes) and press enter
The display then changes to:
Code:
[email protected]:/ #
Now you type "dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel" (without the quotes) and press enter
And then it should work properly.
Click to expand...
Click to collapse
i typed su before that code and the same error occured sadly
why did my usb port had to break ugh
comcastic08 said:
i typed su before that code and the same error occured sadly
why did my usb port had to break ugh
Click to expand...
Click to collapse
Can I have another screenshot of that?
tetsuo55 said:
Can I have another screenshot of that?
Click to expand...
Click to collapse
snag .gy/AekHa. jpg
comcastic08 said:
snag .gy/AekHa. jpg
Click to expand...
Click to collapse
In that screenshot i see again the same mistake i mentioned before
please do this
Just type only su and enter
and then send me the screenshot of that.
tetsuo55 said:
In that screenshot i see again the same mistake i mentioned before
please do this
Just type only su and enter
and then send me the screenshot of that.
Click to expand...
Click to collapse
snag. gy/aWyCY .jpg
comcastic08 said:
snag. gy/aWyCY .jpg
Click to expand...
Click to collapse
All i can think of is that you have the wrong boot.img
tetsuo55 said:
All i can think of is that you have the wrong boot.img
Click to expand...
Click to collapse
i downloaded the one you said XZ-lockeddualrecovery2.8.23-RELEASE.combined.zip and renamed it to boot.img
even the twrp.img doesnt work ugh

[Easiest Method] Tutorial to Unlock Bootloader | Install Twrp | Root | Decrypt Data

Hi All ,
Steps To Unlock Bootloader
1. At First, open About phone on setting menu , then tap 4 times on Build Number. Now Developer Mode is enabled.
2. Open developer Mode menu and set oem unlock and usb debugging to ON. [Important Step]
3. Download and Extract the zip file which you have downloaded from the link given below.
4. Now enter into fastboot mode :
Press volume + power button and then phone will boot into fastboot interface.
5. Now connect the phone to computer and then open a command prompt window on the desktop (Shift + Right Click -> Open Command Window here)
Now type:
Code:
fastboot devices
The list of devices connected will be displayed.
Then enter the command :
Code:
fastboot oem unlock
6. Now you will see a Unlock Bootloader Warning page. Hit the Vol button to select Yes and turn it Blue and Hit Power Button to confirm the selection.
7. Thats it . Now your Bootloader is unlocked.
Steps To Install TWRP Recovery
1. After you have successfully unlocked the bootloader, now enter into the fastboot mode and connect the phone to pc.
2. Now navigate to the folder where you have extracted the downloaded zip file and open a command prompt window on the desktop (Shift + Right Click -> Open Command Window here)
Now type:
Code:
fastboot devices
3. The list of devices connected will be displayed.
4. Then enter the command :
Code:
fastboot flash recovery twrp-3.1.1-0-oneplus5.img
or
Code:
fastboot flash recovery (name of the twrp file).img
5. When the file is flashed successfully , unplug your phone from pc and manually boot the phone into recovery by pressing Power + Volume Down button.
6. Now the TWRP Recovery will be opened .
For the Users who face Max download error while flashing Twrp, Kindly check the post here
Steps To Disable Forced Encryption i.e, Decrypt Data
1. At first time when you open twrp, it will ask you to allow system modification.
2. Allow it and then flash the no-verity-opt-encrypt.zip file .
3. Then Go to Wipe-->Format Data.
4. Type Yes to confirm wiping of Internal Storage.
5. Now you have decrypted the data sucessfully.
Note: Dont try to restore the nanodroid backup which you have taken before. It may end in bootloop.
Steps To Root Your Phone
1. Download the SuperSu SR1 flashable zip from here and copy that zip file into internal storage.
2. Now Enter into the TWRP Recovery.
3. Now navigate to the downloaded SuperSu Zip file and Swipe to install SuperSu.
4. Reboot your device.
5. Now your device is rooted successfully. :fingers-crossed:
Steps To Backup IMEI [Important]:
For some cases you may lead to lose your device's Imei. It will lead to loose of network signals etc.
So we have to take backup of Imei and we can restore it on any such case.
There are two method to backup imei.
Method 1 :
Boot the phone to Twrp , take Backup of EFS partition to internal storage and copy the backup files to PC . In case , if you have lost your IMEI, this backup will help you to restore imei back.
Method 2 :
1. This method works on the Terminal window. So download any Terminal App .
2. Open the app and type su , then grant SuperUser permission when you are prompted to do so.
When you see the Terminal Emulator box, type the following command:
Code:
dd if=/dev/block/sdf1 of=/sdcard/modemst1.bin bs=512
Code:
dd if=/dev/block/sdf1 of=/sdcard/modemst2.bin bs=512
Please note that all commands are case sensitive and even a minor mistake will hider the successful backup. Type the command line carefully.
Now you have successfully took backup of imei to you internal storage . Copy that to your pc .
To Restore
Enter the following commands in Terminal Emulator Box:
Code:
dd if=/sdcard/modemst1.bin of=/dev/block/sdf1 bs=512
Code:
dd if=/sdcard/modemst2.bin of=/dev/block/sdf1 bs=512
Thats it your imei is restored :fingers-crossed:
Download Section
For TWRP recovery and other files Download Here
If u need Only twrp, Den click here
1. twrp-3.1.1-1-cheeseburger.img[official]
2. twrp-3.1.1-0-oneplus5.img [chinese]
3. Twrp latest by xdvs23
Thank you very much! Good to see TWRP here
HatRiGt said:
Hi All,
Steps To Unlock Bootloader
1. At First, open About phone on setting menu , then tap 4 times on Build Number. Now Developer Mode is enabled.
2. Open developer Mode menu and set oem unlock and usb debugging to ON. [Important Step]
3. Download and Extract the zip file which you have downloaded from the link given below.
4. Now enter into fastboot mode :
Press volume + power button and then phone will boot into fastboot interface.
5. Now connect the phone to computer and then open a command prompt window on the desktop (Shift + Right Click -> Open Command Window here)
Now type:
The list of devices connected will be displayed.
Then enter the command :
6. Now you will see a Unlock Bootloader Warning page. Hit the Vol button to select Yes and turn it Blue and Hit Power Button to confirm the selection.
7. Thats it . Now your Bootloader is unlocked.
Steps To Install TWRP Recovery
1. After you have successfully unlocked the bootloader, now enter into the fastboot mode and connect the phone to pc.
2. Now navigate to the folder where you have extracted the downloaded zip file and open a command prompt window on the desktop (Shift + Right Click -> Open Command Window here)
Now type:
3. The list of devices connected will be displayed.
4. Then enter the command :
5. When the file is flashed successfully , unplug your phone from pc and manually boot the phone into recovery by pressing Power + Volume Down button.
6. Now the TWRP Recovery will be opened .
Steps To Root Your Phone
1. Download the SuperSu flashable zip from here and copy that zip file into internal storage.
2. Now Enter into the TWRP Recovery.
3. Now navigate to the downloaded SuperSu Zip file and Swipe to install SuperSu.
4. Reboot your device.
5. Now your device is rooted successfully.
Download Section
Download the required zip file from Here
Credits : Thanks to chinese Dev for Twrp
Click to expand...
Click to collapse
Hey,
Thanks for the guide. However, where does the TWRP comme from? I'm a bit afraid of this, truth to be told ^^'
matssa said:
Hey,
Thanks for the guide. However, where does the TWRP comme from? I'm a bit afraid of this, truth to be told ^^'
Click to expand...
Click to collapse
source link added . check bro.
HatRiGt said:
source link added . check bro.
Click to expand...
Click to collapse
Erm, "Chinese dev" doesn't mean anything really. Don't you have a thread link, a github link, or anything in particular? It's almost like saying "Here an app", without really saying where it comes from. Kinda risky... Especially if it isn't the "Chinese dev" that shares it.
EDIT/// NVM, just was the source link... Sorry for that, was refreshing the wrong one...
matssa said:
Erm, "Chinese dev" doesn't mean anything really. Don't you have a thread link, a github link, or anything in particular? It's almost like saying "Here an app", without really saying where it comes from. Kinda risky... Especially if it isn't the "Chinese dev" that shares it.
Click to expand...
Click to collapse
kindly check the source link i.e, thread link
-----
Tested by me. Works fine.
HatRiGt said:
kindly check the source link i.e, thread link
Click to expand...
Click to collapse
Yeah just edited my comment, wasn't looking at the correct page... Gonna take a look, might wait a bit before testing.
I went to the source OP provided. It's 30 pages of people saying thanks...so I bit the bullet (after unlocking bootloader).
It works. Just flashed Magisk 13 beta using TWRP provided by OP.
SafetyNet passes with Magisk Hide. Cheers!
it work for me, thanks
HatRiGt said:
kindly check the source link i.e, thread link
Click to expand...
Click to collapse
When checking your link, I can't really see if everyone managed to test it correctly, Google translation shows some icky stuff in terms of device bricking.
matssa said:
Yeah just edited my comment, wasn't looking at the correct page... Gonna take a look, might wait a bit before testing.
Click to expand...
Click to collapse
I'm in the same boat, I like that it's done but the fact it isn't open-sourced and is provided by a sketchy Chinese version of a fake Oneplus site (take a look at the lack of SSL for example), I think I may hold off..
Thanks for sharing though OP, hope this might spark what we need to get the official version!
SonicSamZ said:
I went to the source OP provided. It's 30 pages of people saying thanks...so I bit the bullet (after unlocking bootloader).
It works. Just flashed Magisk 13 beta using TWRP provided by OP.
SafetyNet passes with Magisk Hide. Cheers!
Click to expand...
Click to collapse
bretzelpopo said:
it work for me, thanks
Click to expand...
Click to collapse
How did you make this work? Tried flashing in fastboot using
fastboot flash recovery twrp.....
However, doesn't work, still on OP recovery
EDIT/// Apparently worked Can't wait for a more open and official one
Have make a backup and this working. Only light dimming not work for now.
SonicSamZ said:
I went to the source OP provided. It's 30 pages of people saying thanks...so I bit the bullet (after unlocking bootloader).
It works. Just flashed Magisk 13 beta using TWRP provided by OP.
SafetyNet passes with Magisk Hide. Cheers!
Click to expand...
Click to collapse
Flashed it too after reading your post. Working flawless.
The China TWRP only work first time. After reboot again i see the stock recovery.
Schrotty35 said:
The China TWRP only work first time. After reboot again i see the stock recovery.
Click to expand...
Click to collapse
Maybe you need to delete recovery-from-boot.p from your system folder, and the twrp will be permanently
mauronofrio said:
Maybe you need to delete recovery-from-boot.p from your system folder, and the twrp will be permanently
Click to expand...
Click to collapse
Have you test this?
Schrotty35 said:
Have you test this?
Click to expand...
Click to collapse
If I had OnePlus 5 I would have resolved the problem inside the twrp, but no device is impossible for me. A complete recovery will soon be released.
The recovery-from-boot.p is the file that restore stock recovery when you reboot your phone (It is in all android firmware)
Schrotty35 said:
Have you test this?
Click to expand...
Click to collapse
did you restore your backup, after reboot . If yes, just uncheck boot when you restore and you dont need to format anything when flash recovery or kernel because these thing boot before system . For me twrp work good for me, the only thing is that i have flash supersu and when i want to switch to magisk, i delete all root on supersu app, and then impossible to boot on twrp, even after flash it with bootloader . The trick is to flash stock recovery from folder and then flash twrp .
Thanks

Does the latest version of XperiFIX works with 47.1.A.16.20 ?

Hello everyone,
I've bought my phone second hand and the sellor didn't tell me the bootloader was unlocked... I feel screwed, I can't take any pictures.
From what I've learned with some search, I need to get the drm keys back, with this software XperiFix. Does the latest version work with my build? I see nowhere if it's compatible or not, and I don't have 20€ to lose...
Thanks for your time
PoloB49 said:
Hello everyone,
I've bought my phone second hand and the sellor didn't tell me the bootloader was unlocked... I feel screwed, I can't take any pictures.
From what I've learned with some search, I need to get the drm keys back, with this software XperiFix. Does the latest version work with my build? I see nowhere if it's compatible or not, and I don't have 20€ to lose...
Thanks for your time
Click to expand...
Click to collapse
Sony have become wise to Xperiafix and if you use an old vesrion on new firmware it'll bork your phone. I know you want the 'free' version, but seriously, is peace of mind worth $20. Pay it once and you'll get fix updates for forever.
sToRm// is still in development with his fix and I'm pretty sure he supports all the latest builds. The 3.1 version I used connects online to get the latest TWRP and fix versions.
Drop him a line on his support page at and ask him.
Didgesteve said:
Sony have become wise to Xperiafix and if you use an old vesrion on new firmware it'll bork your phone. I know you want the 'free' version, but seriously, is peace of mind worth $20. Pay it once and you'll get fix updates for forever.
sToRm// is still in development with his fix and I'm pretty sure he supports all the latest builds. The 3.1 version I used connects online to get the latest TWRP and fix versions.
Drop him a line on his support page at Xperiafix and ask him.
Click to expand...
Click to collapse
Thanks, I want to buy the soft, I meant that I want to be sure it'll work if I buy it because I can't afford to spend 20€ for nothing.
I've seen him replying to someone with the same question
Where he says "It does! You have to use the manual mode in XperiFIX and select the related TWRP and Magisk, then start the fix."
But honestly I have no idea what that means and I'm a huge noob, without any guide with pictures I won't be able to do anything...
Bonus question : Is there a way to make mobile payment work again or did I lose that forever?
Thanks
Omg are you really pay for free drmfix :laugh:
What's wrong with you.
This is latest twrp from @modpunk only this man make it for our phone https://forum.xda-developers.com/xp...t/recovery-twrp-3-1-1-stock-security-t3706704
This is latest firmware with drmfix, deodexed, superusermod and other. You can find fix for xposed of you use it.
https://forum.xda-developers.com/xperia-xz1-compact/how-to/fulldeodex12-75-t3750620
Deleted
Didgesteve said:
Sony have become wise to Xperiafix and if you use an old vesrion on new firmware it'll bork your phone. I know you want the 'free' version, but seriously, is peace of mind worth $20. Pay it once and you'll get fix updates for forever.
sToRm// is still in development with his fix and I'm pretty sure he supports all the latest builds. The 3.1 version I used connects online to get the latest TWRP and fix versions.
Drop him a line on his support page at and ask him.
Click to expand...
Click to collapse
russel5 said:
Omg are you really pay for free drmfix :laugh:
What's wrong with you.
This is latest twrp from @modpunk only this man make it for our phone https://forum.xda-developers.com/xp...t/recovery-twrp-3-1-1-stock-security-t3706704
This is latest firmware with drmfix, deodexed, superusermod and other. You can find fix for xposed of you use it.
https://forum.xda-developers.com/xperia-xz1-compact/how-to/fulldeodex12-75-t3750620
Click to expand...
Click to collapse
I would like to get the phone as stock as possible. Do the links you provided allow me to use mobile payment applications?
I'm sorry I'm a noob and I have no idea what to do to get the phone as close as possible as brand new
You have unlocked bootloader, payments won't work without magisk
russel5 said:
You have unlocked bootloader, payments won't work without magisk
Click to expand...
Click to collapse
So that means it's possible to make it work? Very nice.
Let's say I've found 3.1 xiperifix for free, but it doesn't detect my phone (blue led, sony drivers installed) and I have nothing as such as "manual mode". Do you know why?
I haven't flashed anything yet, do I need to flash TWRP? How/when do I install Magisk? Can you please be explicit in what to do, if you have time of course. Thank you!
1. Download flashtool
2. Open Flashtool install latest available software which ends "20" via Xperifirm which is inside of Flashtool
3. Press vol down key and insert usb-c cable to your computer
4. if you see green notification light then your device is ready to flash
5. After flashing is done you need next step
6. pull cable out and press vol up key and insert cable
7. now if you see a blue light your ready to flash twrp recovery
8. Download twrp recovery name it twrp.img and copy it to "C:/adb" folder
9. install adb & fastboot installer from xda "look google" and get fastboot drivers ready
10. open cmd, write " cd C:/adb" write "fastboot devices" if you see your device in the list then your ready to flash twrp
11. flash twrp "fastboot flash recovery twrp.img"
12. pull cable out
13. download tweaked and drm fix included kernel from development forum
14. press vol down and power on your device (cable not plugged in)
15. in twrp recovery format your internal storage and boot againt to twrp
16. now you're able to copy downloaded kernel to your storage
17. copy 3 zip files inside of "Patching-Magisk-Module-Permissive.zip" to your phone storage but dont flash anything yet
18. Turn off the device. Press vol up key and insert cable. blue notification light there then you are ready to flash kernel
19. extract from Kernel "Xperia XZ1 Compact (G8441).zip" and open Flash-boot.bat
20. when thats done, unplug cable, press vol down and power key, after display shows something release power key
21. booted into twrp now flash 2-Patching.zip and 3-Magisk.zip then boot your phone.
22. open magisk manager and go to "Modules" and press "+" key under the modules list and choose 4-kernel_permissive.zip after it is done reboot your phone and you should be fine.
proxuser said:
1. Download flashtool
2. Open Flashtool install latest available software which ends "20" via Xperifirm which is inside of Flashtool
3. Press vol down key and insert usb-c cable to your computer
4. if you see green notification light then your device is ready to flash
5. After flashing is done you need next step
6. pull cable out and press vol up key and insert cable
7. now if you see a blue light your ready to flash twrp recovery
8. Download twrp recovery name it twrp.img and copy it to "C:/adb" folder
9. install adb & fastboot installer from xda "look google" and get fastboot drivers ready
10. open cmd, write " cd C:/adb" write "fastboot devices" if you see your device in the list then your ready to flash twrp
11. flash twrp "fastboot flash recovery twrp.img"
12. pull cable out
13. download tweaked and drm fix included kernel from development forum
14. press vol down and power on your device (cable not plugged in)
15. in twrp recovery format your internal storage and boot againt to twrp
16. now you're able to copy downloaded kernel to your storage
17. copy 3 zip files inside of "Patching-Magisk-Module-Permissive.zip" to your phone storage but dont flash anything yet
18. Turn off the device. Press vol up key and insert cable. blue notification light there then you are ready to flash kernel
19. extract from Kernel "Xperia XZ1 Compact (G8441).zip" and open Flash-boot.bat
20. when thats done, unplug cable, press vol down and power key, after display shows something release power key
21. booted into twrp now flash 2-Patching.zip and 3-Magisk.zip then boot your phone.
22. open magisk manager and go to "Modules" and press "+" key under the modules list and choose 4-kernel_permissive.zip after it is done reboot your phone and you should be fine.
Click to expand...
Click to collapse
Thank you so much for your time and dedication for a random dude online, I'm gonna try that as soon as I get access to my computer
proxuser said:
1. Download flashtool
2. Open Flashtool install latest available software which ends "20" via Xperifirm which is inside of Flashtool
3. Press vol down key and insert usb-c cable to your computer
4. if you see green notification light then your device is ready to flash
5. After flashing is done you need next step
6. pull cable out and press vol up key and insert cable
7. now if you see a blue light your ready to flash twrp recovery
8. Download twrp recovery name it twrp.img and copy it to "C:/adb" folder
9. install adb & fastboot installer from xda "look google" and get fastboot drivers ready
10. open cmd, write " cd C:/adb" write "fastboot devices" if you see your device in the list then your ready to flash twrp
11. flash twrp "fastboot flash recovery twrp.img"
12. pull cable out
13. download tweaked and drm fix included kernel from development forum
14. press vol down and power on your device (cable not plugged in)
15. in twrp recovery format your internal storage and boot againt to twrp
16. now you're able to copy downloaded kernel to your storage
17. copy 3 zip files inside of "Patching-Magisk-Module-Permissive.zip" to your phone storage but dont flash anything yet
18. Turn off the device. Press vol up key and insert cable. blue notification light there then you are ready to flash kernel
19. extract from Kernel "Xperia XZ1 Compact (G8441).zip" and open Flash-boot.bat
20. when thats done, unplug cable, press vol down and power key, after display shows something release power key
21. booted into twrp now flash 2-Patching.zip and 3-Magisk.zip then boot your phone.
22. open magisk manager and go to "Modules" and press "+" key under the modules list and choose 4-kernel_permissive.zip after it is done reboot your phone and you should be fine.
Click to expand...
Click to collapse
I've done steps 1 to 9 but adb fastboot devices doesn't detect my phone... The led is blue
PoloB49 said:
I've done steps 1 to 9 but adb fastboot devices doesn't detect my phone... The led is blue
Click to expand...
Click to collapse
You need atleast the two following Drivers from Flashtool Driver Setup:
Raz0Rfail said:
You need atleast the two following Drivers from Flashtool Driver Setup:
Click to expand...
Click to collapse
I can't seem to find the software you've captured. Only v1.8 not v1.9. Would the 1.8 work though?
For now I have installed 3 drivers :
The 15 seconds installer https://forum.xda-developers.com/showthread.php?t=2588979
The google driver from android studio
The official sony driver https://developer.sony.com/develop/drivers/
I have also disabled the Windows 10 thing regarding drivers about signature enforcement
Also I'm using USB 2.0
PoloB49 said:
I can't seem to find the software you've captured. Only v1.8 not v1.9. Would the 1.8 work though?
For now I have installed 3 drivers :
The 15 seconds installer https://forum.xda-developers.com/showthread.php?t=2588979
The google driver from android studio
The official sony driver https://developer.sony.com/develop/drivers/
I have also disabled the Windows 10 thing regarding drivers about signature enforcement
Also I'm using USB 2.0
Click to expand...
Click to collapse
You need FlashTool:
http://www.flashtool.net/downloads.php
I uploaded the driver package, so you don't have to download the entire package:
https://www6.zippyshare.com/v/lNT3x7mv/file.html
You should install the usb driver for xz1C:
https://developer.sony.com/file/download/xperia-xz1-compact-driver/
If you have windows 8 or newer you have to boot into unsigned driver install mode:
https://www.maketecheasier.com/install-unsigned-drivers-windows10/
If you start the installer, select the two drivers and then click on install.
You will see a new driver install window. Don't click on next.
Move into the following folder %temp%/flashtool and copy your xz1c driver into it.
Now move back to the driver install click on next and click trough the unsigned error messages.
After that you have installed the needed drivers and you can go further with fastboot mode.
Raz0Rfail said:
You need FlashTool:
http://www.flashtool.net/downloads.php
I uploaded the driver package, so you don't have to download the entire package:
https://www6.zippyshare.com/v/lNT3x7mv/file.html
You should install the usb driver for xz1C:
https://developer.sony.com/file/download/xperia-xz1-compact-driver/
If you have windows 8 or newer you have to boot into unsigned driver install mode:
https://www.maketecheasier.com/install-unsigned-drivers-windows10/
If you start the installer, select the two drivers and then click on install.
You will see a new driver install window. Don't click on next.
Move into the following folder %temp%/flashtool and copy your xz1c driver into it.
Now move back to the driver install click on next and click trough the unsigned error messages.
After that you have installed the needed drivers and you can go further with fastboot mode.
Click to expand...
Click to collapse
Thank you! That worked. I'm going to go further with the steps now
Edit : I'm not able to put any data into the phone (windows explorer freezes) and I can't use adb push because my device is not found
Fastboot devices finds my phone, but adb devices doesn't
deleted
PoloB49 said:
Thank you! That worked. I'm going to go further with the steps now
Edit : I'm not able to put any data into the phone (windows explorer freezes) and I can't use adb push because my device is not found
Fastboot devices finds my phone, but adb devices doesn't
Click to expand...
Click to collapse
you need to go twrp recovery and format data not wipe data & cache, format data will ask you to type "yes" after that reboot twrp again and now you can move files to twrp.
---------- Post added at 07:28 PM ---------- Previous post was at 07:26 PM ----------
boot in to twrp recovery and go to "Wipe" then "Format Data" then type yes and after that is done, reboot again to twrp and you can now copy files to device.
Alright so I did everything, flashed everything said in the 22 steps, and I can take pictures but still can't pay with my mobile. I got an error message from PayLib because I am root or I have an application that allows root or something
I think I'll live without mobile payment... That's a shame but well, that's what I got for not checking properly a second hand device.
Quick and last question : Can I reset the phone in the settings without losing anything I've just done? Or will I lose the different zip flash I did? I want to be able to sell my phone without screwing the next buyer
Also, thanks everyone for you time and patience with me! You were amazing
PoloB49 said:
I think I'll live without mobile payment... That's a shame but well, that's what I got for not checking properly a second hand device.
Quick and last question : Can I reset the phone in the settings without losing anything I've just done? Or will I lose the different zip flash I did? I want to be able to sell my phone without screwing the next buyer
Also, thanks everyone for you time and patience with me! You were amazing
Click to expand...
Click to collapse
if you tell next buyer about activate the (4. zip file) a module in magisk, you can wipe your data. just remove your google account before sell because even rooted wiped phones asks previous owners account to login.
just because of drm keys for camera get wiped, i will also not sell my xz1 compact and use it as long it works.

[Guide] [Android 9/10] [7/7Pro] Unlock, TWRP, Root, and Update

------------------------------------------
Latest update to guide: Jul. 5, 2020
------------------------------------------
Hi everyone!
Many users browse these forums coming from Google or YouTube and have trouble navigating between many guides and threads expecting a working knowledge of Android devices. Many may say that if you don't know what you are getting into, don't do it, but this warning is not followed by many people. Instead of having to deal with the pleas for help from lost users with soft bricked phones, I decided we need a 'megathread' with accurate, easy to follow instructions with correct grammar and concise descriptions.
This thread is constantly updated. Please inform me with a reply or PM if you want anything modified
Sections:
Unlock the bootloader (required for most other modifications)
Install the TWRP custom recovery
Install Magisk for superuser/root
Install an OTA update while rooted
Section 1: Unlocking the bootloader (Windows Only)
If your device is a T-Mobile version, you must first request an unlock token from this website to complete this section. Your device may also need to be SIM unlocked. Check your carrier website for details. Using the cable included in the box is also recommended.
Step 1: With your phone turned on, open Settings. Scroll down to the bottom and select About phone. Touch Build number quickly until a toast message (grey rectangle at the bottom of the screen) appears reading You are now a developer!. Go back one screen to the main settings list and select System. Select Developer options. Turn on the switch next to OEM unlocking. Scroll down a small bit and turn on the switch beside Advanced reboot. Scroll down a bit more and turn on the switch beside USB debugging. Go back to the home screen.
Step 2: Plug your phone into your computer with the cable supplied in the box. On your phone, look in the notifications for a message that says: "Android System Charging this device via USB." Touch the notification once to expand it and again to open it. Choose File transfer from the list. Download and extract this zip file by right clicking it, clicking Extract All, then Extract. (File Credit: Google) This file contains the official ADB and Fastboot binaries. Open File Explorer and navigate to This PC. Under Devices and drives, click on the CD drive labelled with a bunch of numbers. Click on OnePlus_USB_Drivers_Setup and click yes in the User Account Control popup. Click Ok then Install, then Finish. Navigate back to the extracted ADB and fastboot files (the folder will likely be named platform-tools). With this folder open, hold shift and right click on the blank space. Click Open command window here or Open PowerShell window here. Unlock/wake up your phone. Type in the terminal window on your computer followed by the enter key
Code:
adb devices
A prompt should appear on your phone. Click Ok. Type followed by the enter key
Code:
adb reboot bootloader
Your phone screen should show the OnePlus logo as well as the words FastBoot Mode briefly. Type followed by the enter key
Code:
fastboot oem unlock
Warning: This next step will wipe your phone. On your phone, use the volume down key to select Unlock the bootloader and then the power key to select. Your phone will then be wiped and restart automatically.
Step 3: Follow the phone's initial setup exactly how you would if you were setting up a new phone. Restore any backup you have now. Once completely set up, follow the instructions from Step 1, ignoring the OEM unlocking switch. I also recommend typing this followed by enter
Code:
adb devices
A prompt should appear on your phone. Click Ok.
Your device is now Bootloader Unlocked.
Section 2: Installing TWRP (Windows Only)
Your bootloader must already be unlocked, and you must be on the latest version of OxygenOS. Using the cable included in the box is also recommended.
Step 1: With your phone turned on, hold the power button and until the reboot options menu appears on the right side. Click Bootloader. Plug your phone into your computer with the cable supplied in the box. Download these two files (File 1 for Android 10, File 1 for Android 9, File 2), which now work on both the OnePlus 7 Pro and OnePlus 7. (File Credit: @mauronofrio and Team Win Recovery Project). Put these files somewhere accessible, such as your Desktop.
Step 2: Open the folder with your ADB and Fastboot binaries (the folder will likely be named platform-tools). With this folder open, hold shift and right click on the blank space. Click Open command window here or Open PowerShell window here. Type in the terminal window
Code:
fastboot boot
followed by a space. Drag the image/img file you downloaded called twrp-3.3.1-79-guacamole-unified-Q-mauronofrio into your terminal window. The resulting command in your terminal window should read something like this
Code:
fastboot boot C:/Users/Arden/Desktop/twrp-3.3.1-79-guacamole-unified-Q-mauronofrio.img
If it does, click the enter key.
Step 3: On your phone, enter your PIN/Password/Pattern if requested. You should now see a screen with grey boxes. This is the TWRP recovery. Click Advanced, then ADB Sideload, then swipe the bar at the bottom to the right. On your computer, type
Code:
adb sideload
followed by a space. Drag the zip file you downloaded called twrp-3.3.1-79-guacamole-unified-installer-mauronofrio into your terminal window. The resulting command in your terminal window should read something like this
Code:
adb sideload C:/Users/Arden/Desktop/twrp-3.3.1-79-guacamole-unified-installer-mauronofrio.zip
If it does, click the enter key. On your phone, you will see some text scrolling in a black box. Once the button appears on the bottom right, click Reboot.
Your device now has the TWRP custom recovery.
Section 3: Installing Magisk
You must already have TWRP installed to complete this section.
Step 1: On your phone, download the Magisk installer zip (File Credit: topjohnwu). If you are not already in the TWRP recovery, hold the power button and until the reboot options menu appears on the right side. Click Recovery.
Step 2: Enter your PIN/Password/Pattern if requested. You should now see a screen with grey boxes. Choose Install and navigate to the folder you downloaded the Magisk file to. Select the Magisk file (likely named Magisk-20.4.zip) and swipe the bar at the bottom to the right. Once the button appears in the bottom right, click Reboot.
You now have Magisk root.
Section 4: Installing an OTA update while rooted
You must be rooted to complete this section.
Step 1: If you have any themes installed, such as Renovate ICE, Swift Themes, RoundyUI, or Substratum themes, remove them before continuing. Remove the Call Recording Enabler module if you have it. Restart if needed.
Step 2: Click on the system update notification. If it does not appear, open Settings, scroll to the bottom and click System, scroll to the bottom and click System updates. Click on the Install or Download and Install button and let it complete. Do NOT click Reboot.
Step 3: Open Magisk Manager and click the hamburger menu in the top left (3 horizontal lines). Click Downloads and then click the search icon (magnifying glass) in the top right corner. Type "TWRP" and click enter. Click the download arrow beside the module named TWRP A/B Retention Script. Do NOT click Reboot.
Step 4: Click the back button in the top left, followed by the hamburger menu in the top left as well (3 horizontal lines). Click Magisk and then click the top Install button, followed by Install again, then Install to Inactive Slot. You may now click Reboot.
You now have updated your phone's OxygenOS. Reinstall any modules or themes deleted in this process if they are compatible.
(reserved extra section)
Great idea, very thorough!
You forgot the very first step, which is to get sim unlocked. Without this OEM unlock will be greyed out
anoymonos said:
You forgot the very first step, which is to get sim unlocked. Without this OEM unlock will be greyed out
Click to expand...
Click to collapse
Oh, my bad. In my country it's illegal to sell locked phones
Arden144 said:
Section 1: Unlocking the bootloader (Windows Only)
<snip> Type followed by the enter key
Code:
fastboot flashing unlock
Warning: This next step will wipe your phone. On your phone, use the volume down key to select Unlock the bootloader and then the power key to select. Your phone will then be wiped and restart automatically.
Click to expand...
Click to collapse
I am curious about this step. For most all time with a phone that has an unlockable bootloader the command has always been:
Code:
fastboot [B]oem[/B] unlock
Why do we use 'flashing' instead of 'oem' in that command for this phone?
teddyearp said:
Section 1: Unlocking the bootloader (Windows Only)
<snip> Type followed by the enter key
I am curious about this step. For most all time with a phone that has an unlockable bootloader the command has always been:
Why do we use 'flashing' instead of 'oem' in that command for this phone?
Click to expand...
Click to collapse
Good question, actually. I'm not entirely sure why the wording change, but the command has been different on close to stock devices since the Nexus 6P/5X. If someone more knowledgeable could explain, that would be great
Arden144 said:
Code:
fastboot boot C:/Users/Arden/Desktop/twrp-3.3.1-3-guacamole.img
Click to expand...
Click to collapse
On earlier OOS versions, the command "fastboot boot" is broken, and this won't work. Process in that case is to flash a patched boot image, root with Magisk, and then flash TWRP like a Magisk module.
Your method works for those that have updated to more recent OOS versions. However, there are folks still out there with older OOS versions, where "fastboot boot" won't work (don't know the cutoff exactly).
redpoint73 said:
On earlier OOS versions, the command "fastboot boot" is broken, and this won't work. Process in that case is to flash a patched boot image, root with Magisk, and then flash TWRP like a Magisk module.
Your method works for those that have updated to more recent OOS versions. However, there are folks still out there with older OOS versions, where "fastboot boot" won't work (don't know the cutoff exactly).
Click to expand...
Click to collapse
Thanks for the info. I'm not going to add the patched image way, as extracting the boot.img is annoying and I'm trying to avoid methods that rely on someone else providing files. However, I'll add a note to the TWRP install section asking for 9.5.7 minimum as everyone should be on that update by now
I hope this gets stickied. Thank you for the guide
just an update, fastboot flashing unlock didnt work for me, but fastboot oem unlock did
Yayodroid said:
just an update, fastboot flashing unlock didnt work for me, but fastboot oem unlock did
Click to expand...
Click to collapse
For me also...the right command seems still fastboot oem unlock
Is this method applicable to all versions ? Im getting the GM1910: China version , I have used this method when i had my OP6 so i just have to get the correct TWRP version, if the IMG boots the TWRP i guess the zip will be good to go when flashing .
Cheers
Yayodroid said:
just an update, fastboot flashing unlock didnt work for me, but fastboot oem unlock did
Click to expand...
Click to collapse
I confirm this. Tried this tutorial but was stuck at flashing stage. A YouTube video provided further assistance. Fastboot oem unlock worked.
I think it's great you're supplying these basics. Wish I had it when I first rooted first Android device (htc Evo 4g on sprint). Kudos.
ph1dft said:
For me also...the right command seems still fastboot oem unlock
Click to expand...
Click to collapse
I'm skeptical that the command "fastboot flashing unlock" is applicable for this device. I think it may just be a carryover from some other device(s). The original poster responsed that it is applicable to "close to stock devices since the Nexus 6P/5X" but never explicitly stated whether it even worked for him on the 7 Pro.
Far as I can tell "fastboot oem unlock" is the correct and only command on this, and other previous OnePlus devices (and is also the command that worked for me).

[12.1][GAPPS] AOSP ANDROID 12.1 for A21s

---
Disclaimer: This will void warranty.
You will need to unlock bootloader.
*All your data will be lost*
---
Info:
Android version 12.1 (12L)
July 2022 patch
Tested on A217F & Dual SIM working
GApps included so you don't have to flash them
Part 1 - Unlocking bootloader:
Skip this if you've already done it.
1. Enable Developer Options, go to OEM Unlocking and turn it on.
2. Plug in phone to PC, restart the phone and right when it turns off, keep holding VOLUME DOWN + VOLUME UP till you see the Download Mode
3. Hold VOLUME UP to enter Bootloader Unlock mode
4. Press VOLUME UP to accept, and let the phone restart and erase
* To check if it worked, head back to Download mode and check if "OEM LOCK" is "OFF"
Part 2 - Flash recovery:
1. Download Odin and recovery U7/recovery U6/recovery U5
2. Put device to Download Mode (Hold VOLUME UP + VOLUME DOWN while plugging in phone to PC)
3. Open Odin and hit AP and select recovery file
4. (optional) go to Options tab and untick Auto Reboot
5. Hit start
* If it fails with error "Only official binaries are allowed to be flashed(recovery)", then boot device up, connect to internet, and then change Date to some time ago like January 5th 2022
Part 3 - Flash the ROM:
1. Download and Extract the ROM
2. Download the kernel
3. Download and Extract platform-tools (ADB and Fastboot)
4. Open up Command Prompt and cd into platform-tools folder
5. Plug in phone to PC, restart or turn off phone and hold VOLUME UP + POWER for about 5 seconds. You should enter Lineage Recovery.
6. Tap Advanced, then Enter Fastboot
7. Type in command prompt "fastboot flash system " and drag the ROM .img file and hit enter. This should take around 3 to 5 minutes.
8. Exit Fastboot mode on the phone and go to Apply Update, Apply from ADB
9. Type in command prompt "adb sideload " and drag the kernel .zip file and hit enter. Press Yes when the phone asks to.
10. Reboot the phone.
Notes:
* DO NOT APPLY A SCREEN LOCK, or else the settings app will crash along with the setup wizard, and if you do it from settings you won't be able to change it, disable it or enable fingerprint unlock
* SuperSU root is pre-installed so you can 'adb sideload ' the UPDATE-unSU.zip from recovery, then 'adb sideload ' the Magisk apk attached below ("app-debug.apk") after renaming it to .zip
Credits:
@physwizz for kernel
Kernel source https://github.com/physwizz?tab=repositories
@phhusson for GSI ROM
Good luck!
Why you don't Look on my thread?
oli231 said:
Why you don't Look on my thread?
Click to expand...
Click to collapse
Hi,
I have tried the GSI you linked in your guide but it just gave me a bootloop similar to many other guides, including the Samsung PixelExperience Android 12.0 GSI further down in the comments. So after I did my own research and tries I put together this guide with the resources I used to make the device work.
RestlessGoose said:
Hi,
I have tried the GSI you linked in your guide but it just gave me a bootloop similar to many other guides, including the Samsung PixelExperience Android 12.0 GSI further down in the comments. So after I did my own research and tries I put together this guide with the resources I used to make the device work.
Click to expand...
Click to collapse
thank you for all the effort made to give us an amazing experience I have a question when can we expect a stable version
I have U8 Binary what should i do about it ?
Does it work on A217M?
how do i fix the fingerprint?
7MODE__TN said:
I have U8 Binary what should i do about it ?
Click to expand...
Click to collapse
mine also u8, i use lineage recovery from youtube. and its work
Hi I did all the steps and it is stuck on boot screen showing Samsung Galaxy A21s.
I used u8 lineage recovery.
Kevonism said:
mine also u8, i use lineage recovery from youtube. and its work
Click to expand...
Click to collapse
Hi is this working for you? Do you have a link to the recovery?
nxs_neo said:
Hi is this working for you? Do you have a link to the recovery?
Click to expand...
Click to collapse
u8 lineage recovery.tar
drive.google.com
Hi, i do all the steps in the tutorial and use the u8 bootloader and recovery that Kevonism has uploaded. But after the install via adb sideload it goes in a bootloop (with kernel flash). Could someone help me out?
My discord is: cristiano#0717
shottiemodder said:
Hi, i do all the steps in the tutorial and use the u8 bootloader and recovery that Kevonism has uploaded. But after the install via adb sideload it goes in a bootloop (with kernel flash). Could someone help me out?
My discord is: cristiano#0717
Click to expand...
Click to collapse
Same for me

Categories

Resources