Originally Posted by Joergelmann
Please provide complete instructions. I am an absolute beginner. Please a step to step instruction with links.
Ok, just the usual disclaimer: You may void your warranty or brick your device in the process, you do everything on your own risk and I'm not responsible if anything goes wrong.
Of course you will also loose any data on your device as it will be formatted in the process.
You need ADB and fastboot installed on your computer, follow these instructions
for windows or these
for MacOS or Linux.
Also you'll need to download the system image from phh's releases
, it has to be arm64 AB but you can choose whichever one suits you best, with or without google apps, FLOSS etc. If you don't know what those are, please do some research in the forum first.
For most people system-quack-arm64-ab-gapps.img.xz will be the most suitable one as it's closest to a stock ROM with google apps. After downloading extract the .img to the same folder you installed ADB and fastboot to. Also rename it to something simpler like system.img for later.
Make sure you have sufficient battery in your phone before you start, at least 50%.
Once those are ready you need to unlock the bootloader of your phone. First enable developer options: Go to settings -> about device and tap on build number 7 times in a row quickly, you'll get a confirmation that developer options are enabled. Go to settings -> system -> developer options, there enable USB debugging and OEM unlock.
When done, connect you phone to your computer with the USB cable. Your phone will show an info in the statbar that USB debugging is enabled.
On you computer open a terminal in the folder where you installed ADB and type in the upcoming commands and press enter after each.
First type: adb devices
ADB should now detect your device, and a request for access will pop up on your phone asking to allow permission. Allow it.
Next type: adb reboot bootloader
The phone will reboot into fastboot mode, wait a few seconds until "fastboot mode" is shown on the bottom left of your phone's screen.
Now type: fastboot devices
Fastboot should detect your device
Next type: fastboot flashing unlock
Fastboot and your phone will ask you to confirm that you want to unlock your bootloader, confirm it using the volume buttons on your phone according to the instructions on your phones screen.
After the bootloader has unlocked successfully you need to format your device, type: fastboot erase userdata
You'll receive a confirmation that data has been formatted.
Type: fastboot erase system
You'll receive a confirmation that system has been formatted.
Now you can flash the system image, type: fastboot flash system system.img
This will take a while until all the data is sent and installed on your phone. You will receive a progress report and confirmation when it's done.
Finally type: fastboot reboot
You phone will reboot and load the new system for the first time, this takes around 2-3 minutes, be patient. You can disconnect the USB cable now. When the welcome screen pops up set up everything as usual and enjoy