[12.1][GAPPS] AOSP ANDROID 12.1 for A21s - Samsung Galaxy A21s ROMs, Kernels, Recoveries, & O

---
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

Related

[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

[GUIDE] [AiO] [ULTRA NOOB] ULTIMATE GUIDE FOR MAX PRO M1 - BT, CUSTOM ROMS ETC.

* introduction *
Hello,
before you hate me, please let me to say why I wrote this guide- it is for ultra noob guys, beginners or just for organize almost all files for tweaks and fixes for this phone. Because I noticed myself that it was beginning to make a mess with it, so I decited to write this guide which (what I mensioned) contains tweak and fixes to known bugs that are in the software.
Ready? Staddy? GO!
* warning *
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if you point the
* finger at me for messing up your device, I will laugh at you.
*
*/
I. Bootloader unlocking
We will start our journey in a beautiful world modified by android with unlocking the bootloader.
What is it?
Bootloader is something like BIOS from computers but in the phone. It let you to boot many software, like recovery. We can't boot directly into recovery without unlocked bootloader because phone has got some closed startup procedure (like POST test in computers). To break it, we must unlock bootloader.
So how to do that?
We must:
1. Download RAR file and you'll get 2 folders namely unlock and ASUS_Android_USB_drivers_for_Windows
2. Install the drivers according to your OS and go the unlock folder
3. Reboot your phone to fastboot mode by pressing volume up + power on at the same time.
4. Connect it to pc and open unlock.bat in unlock folder
5. Bootloader successfully unlocked.
II. Install TWRP
After unlocking bootloader, we need some recovery to install custom software on our beast.
To do that:
1. Download this TWRP (F2FS support) and place it into unlock folder
2. Reboot into fastboot
3. Connect the phone into PC
4. In unlock folder, run cmd and type "fastboot devices". You should see some device plugged into your PC.
5. Type "fastboot flash recovery XXX.img" when XXX means the name of recovery.
6. When installing process finish, press volume down + power as long as you doesn't see fastboot warning.
7. Phone will get into TWRP.
To get into TWRP just presss volume down + power until you doesn'ts see fastboot warning.
III. Decrypt enrypted data
1. Download the decrypt.zip and copy to SDcard
2. Flash in recovery
3. Format /data
4. Reboot
IV. Flashing custom ROMs
Now the main aim of customization: CUSTOM ROM <3 It let you to do many modifications like style of font in system, theme, newer version of software and many many more.
Just:
1. Copy all your necessary software into SD card
2. Boot your device into TWRP
3. Go to "install", pick firmware which you need and swipe to flash
4. Repeat step 3 with gapps
5. Reboot to system
When you want to install some kernel or NXP or magisk or something else, don't do that after flashing system. Before, flash firmware, system and gapps, reboot and configure. Then go to TWRP and flash 3rd party mods.
V. Unlocking Camera2API
To get GCAM work property, we need to unlock camera2api. If you don't know what's that, go there -> https://www.thegeeksclub.com/camera-2-api-check-smartphone-support/
1. Power off the phone and enter fastboot mode.
2. Fire up fastboot terminal and connect your phone to the pc, enable USB debugging mode from dev. options too.
3. Run the command: fastboot oem enable_camera_hal3 true
4. Type: fastboot reboot
VI. Magisk
Just to get root permissions. If you don't know what it is, go there -> https://www.xda-developers.com/what-is-magisk/
1. Go to TWRP and flash this file
2. Reboot to system
3. Install .apk
VII. Some other useful files
TWRP: https://drive.google.com/open?id=1dhjV0p00AiZ83eF5iUA6o9fdx6zsQYTF
GAPPS: https://opengapps.org
CUSTOMROMS: https://forum.xda-developers.com/asus-zenfone-max-pro-m1/development
FIRMWARES:
339 https://drive.google.com/open?id=1EIRZ1HrJQaOynq48lfhYWaHd9L0fhPU5
Pie https://drive.google.com/open?id=1xwFFadooMD2DJqI9dClcCuojAFwHfdtV
NXP: https://drive.google.com/open?id=1lfRGXlf3q53kLMZDOvLe4jMr3szQPLQd
MAGISK:
.zip https://drive.google.com/open?id=1HrZUdL7ZgVWfuDg7PWOL_DZrwsmNzrRf
.apk https://drive.google.com/open?id=1jFee8Mx0pwCcyE729h33gyfaIfHxNgVI
GCAMS:
Arnova https://drive.google.com/open?id=1R1Sfw0DdKXZxYWDkEvH8ODpWHkUjnkxk
MGC https://drive.google.com/open?id=1YowAmosszfoCJCORjcwE7OQzxOuqY7ql
If you have any observations, remarks - write to me!
Thanks for all XDA community,
~ALYSKY
Reserved
Sir can you plz tell me does this method works on 6gb varient? With firmware version .340
Is this method for XOOT or XOOTD?
My model is XOOTD ....
Dewashish03 said:
Sir can you plz tell me does this method works on 6gb varient? With firmware version .340
Is this method for XOOT or XOOTD?
My model is XOOTD ....
Click to expand...
Click to collapse
I tested it on 4/64 X00TD variant and it worked.
ALYSKY said:
I tested it on 4/64 X00TD variant and it worked.
Click to expand...
Click to collapse
Thax for replay...
Does this twrp can be flashed successful on .340 and pie?
Do we need different versions of twrp to flash on different android version like .239 .240 and pie?
Dewashish03 said:
Thax for replay...
Does this twrp can be flashed successful on .340 and pie?
Do we need different versions of twrp to flash on different android version like .239 .240 and pie?
Click to expand...
Click to collapse
It doesn't matter. You can use the same version of TWRP on different version of firmware.
can this method work on X00TD android pie stock rom. @ALYSKY
unable to install twrp, the drivers are well installed, the bootloader is to unlock I use the original cable usb, I try on several usb port, always the same error message
failed remote requested download size is more than max allowed
my model X00TD
please help me
I have installed twrp recovery and can boot into it but i cant find the magisk or decrypt files to swipe in the recovery. please help
noob858 said:
I have installed twrp recovery and can boot into it but i cant find the magisk or decrypt files to swipe in the recovery. please help
Click to expand...
Click to collapse
U need to put them in your sd card and then you have to select storage (external) and then flash them
lokesh773 said:
U need to put them in your sd card and then you have to select storage (external) and then flash them
Click to expand...
Click to collapse
ok im supernoob at this. nut how do i put it to sd card?? i mean i dont have any sd card inserted.
noob858 said:
ok im supernoob at this. nut how do i put it to sd card?? i mean i dont have any sd card inserted.
Click to expand...
Click to collapse
Use pc to transfer it to sd card....if you dont have sd card you can use pendrive...
Every NKOTB is desperate to post his/her/it's thread / YouTube video for such guide/s, quoting stuff from other's posts / threads and sharing their hard work, without the basic decency to quote and credit the original thread / guy who posted in the first place. Please do so or this thread will be reported for plagiarism.
angixspirit said:
unable to install twrp, the drivers are well installed, the bootloader is to unlock I use the original cable usb, I try on several usb port, always the same error message
failed remote requested download size is more than max allowed
my model X00TD
please help me
Click to expand...
Click to collapse
have you tried to install the driver?
I've updated my phone to latest official pie (.053) . Does these steps still applicable or there is any changes? Please kindly update the guide if there is any changes.
guys i tried to flash recovery but after that.. it does nothing.. i just got blank screen. No TWRP screen
Update 1 : Without TWRP I was able to install Magisk via Manager but after flashing patched image file. I now no longer able to start mobile.. it always gets to recovery screen. somebudy help
Update 2 : I used another boot image and patched it with Magisk and now I am able to boot phone but now it stuck on logo screen
Update 3 : I was using totally differnt boot image .. I extracted it from offical stock rom. Now I booted my phone also did root. Now question is how to install TWRP and dyscript.zip
Update 4 : TWRP or RWRP not working so Now I am not able to decrypt my phone. Help
hi why theres a password in twrp?
ALYSKY said:
* introduction *
1. Download RAR file and you'll get 2 folders namely unlock and ASUS_Android_USB_drivers_for_Windows
2. Install the drivers according to your OS and go the unlock folder
3. Reboot your phone to fastboot mode by pressing volume up + power on at the same time.
4. Connect it to pc and open unlock.bat in unlock folder
5. Bootloader successfully unlocked.
Click to expand...
Click to collapse
Hi,
First of all, thank you for the detailed steps and instructions.
I downloaded the RAR mentioned in the step 1 above. When I click open after downloading, there's an error preventing me to open. I also tried extracting but I'm unable to do so.
Please provide me the updated link or reupload the file so that I can download it,
Thanks.
unlock.bat file is missing is the unlock folder...what to do?
this is showing when trying to istall twrp
what to do?
 @ALYSKY

[Guide][Redmi 7A] TWRP, Root with Magisk, Custom ROM [GSI][Pie]

Hello,
I finally managed to install a custom GSI Rom with TWRP and Magisk on my Redmi 7A. And I want to share a detailed guide for everyone who is struggling to do the same. Tested with MIUI 10.2.5.0 Global. Cannot guarantee for other versions.
WARNING:
You need to backup your data before installing. I am not responsible for any damage or loss that might occur. Proceed at your own risk.
Prerequisites:
- Your bootloader must be unlocked (https://en.miui.com/unlock/)
- GSI Rom of your choice. Only a64 A/B (arm32_binder64_ab). No other GSIs will do.
- ADB and Fastboot
- patched boot.img
- TWRP recovery
- vbmeta.img
- Magisk
- Permissiver_v4.zip
- Certification patch
- Treble Overlay file
- GApps (if needed)
Installation guide:
1. Download the files.
GSI Rom:
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
I installed Lineage OS 16 GSI (lineage-16.0-20191017-UNOFFICIAL-treble_a64_bvN). Everything works, except for auto-brightness.
https://forum.xda-developers.com/pr...i-lineageos-16-0-gsi-arm64-ab-how-to-t3908029
Minimal ADB and Fastboot
https://forum.xda-developers.com/showthread.php?t=2317790
Patched boot img file
(You have to choose the correct file according to your system version!)
http://www.mediafire.com/folder/zx0167qqaknc3/Redmi_7a_patched_boot
TWRP recovery
https://www.mediafire.com/file/irntn5ccdiguuuu/TWRP-20191023-3.3.1.0-pine.img/file
vbmeta file
http://www.mediafire.com/file/bgpn9b87b4t8yye/vbmeta.img/file
Magisk
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Permissiver
http://www.mediafire.com/file/61q8wln4y18ir5k/Permissiver_v4.zip/file
Certification Patch
http://www.mediafire.com/file/fboh2jocqak8cep/Certification_Patch.zip/file
Treble Overlay file (treble-overlay-xiaomi-redmi7a.apk)
http://www.mediafire.com/file/yc7vz3vg13mcrck/treble-overlay-xiaomi-redmi7a.apk/file
GApps (for Lineage OS 16 GSI choose 'ARM' & '9.0')
https://opengapps.org/
2. Unpack Minimal ADB and Fastboot to C:\ drive of your PC
3. Rename patched boot file to boot.img
4. Rename custom recovery file to recovery.img
5. Place boot.img, recovery.img, vbmeta.img in ADB folder
6. Turn off your phone.
7. Reboot phone to fastboot mode by holding Volume-down button while pressing On/Off-button. You know you are in fastboot mode when you see a cartoon bunny.
8. Connect the phone to your PC via USB.
9. On your PC open command prompt and nagivate to ADB folder, or open command prompt window directly from right-click menu in ADB folder; just right-click on empty space and choose 'Open command prompt here'
10. In command prompt, enter the following commands:
Code:
fastboot flash boot boot.img
Code:
fastboot flash vbmeta vbmeta.img
Code:
fastboot flash recovery recovery.img
11. Now reboot to recovery: Press Volume-Up button on your phone and enter the following in command prompt:
Code:
fastboot reboot
or just turn off the phone and reboot by holding Volume-Up and On/Off button (release On/Off when phone turns on, keep holding Volume-Up until you see screen of TWRP recovery)
12. Swipe to allow modifications. If TWRP asks for PIN, enter the PIN code you set for your unlock screen.
13. In TWRP choose Wipe > Advanced Wipe. Select 'Dalvik / ART cache', 'System', 'Data', 'Cache'. Then Swipe to Wipe.
14. Move the downloaded GSI file (*.img) to your phone. (Simply drag and drop in your PC's file manager to SD-card/memory of phone).
15. Flash the GSI Rom: In TWRP choose 'Install' > 'Install Image' and select the GSI. If you put the GSI on your external SD-card you first need to choose Select Storage > Micro SD card. After choosing the GSI file, at Select Partition to Flash Image choose System Image. Then Swipe to confirm Flash.
16. Reboot to Recovery
17. Move Magisk zip and Permissiver_v4.zip to your phone.
18. In TWRP choose Install. Select the Magisk zip-file on your phone and then Swipe to confirm flash.
19. Flash Permissiver_v4.zip the same way.
20. Flash GApps if needed
21. Flash Certification_Patch.zip.
22. Go back and choose Reboot > System
23. Fix big rounded corners on home screen:
Once you are in Android and in case you experience big ugly round corners around your home screen, put treble-overlay-xiaomi-redmi7a.apk in System > Overlay directory. You need a file manager with root access if you want to do this from within Android.
24. Fix brightness adjustment issue (no auto-brightness though):
Enable USB debugging in Developer Options menu. To make developer menu appear in Android, you need to tap 7 times on Android's 'build number'.
Now open command prompt from ADB folder on your PC while your phone is still connected via USB. Enter the following:
Code:
adb shell
su
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
You need to allow adb shell to get root access or the command will throw an error. Your phone should show a confirmation dialog when entering the command. If it doesn't show the dialog, open Magisk Manager app and give root access for Shell in Superuser menu.
25. Enjoy!
Can you please help me have magisk in official rom or stock rom?
DebrupGhosh said:
Can you please help me have magisk in official rom or stock rom?
Click to expand...
Click to collapse
For Magisk on stock Rom:
Your bootloader must be unlocked already!
1. Flash patched boot.img & recovery.img via fastboot
2. Reboot to TWRP
3. In TWRP, go to Wipe > Format Data > "yes"
4. In TWRP, flash Magisk zip
5. Reboot to System
Note: You will lose all your data on the phone. Do a backup of your personal stuff before proceeding.
cg730620 said:
For Magisk on stock Rom:
1. Flash patched boot.img & recovery.img via fastboot
2. Reboot to TWRP
3. In TWRP, go to Wipe > Format Data > "yes"
4. In TWRP, flash Magisk zip
5. Reboot to System
Note: You will lose all your data on the phone. Do a backup of your personal stuff before proceeding.
Click to expand...
Click to collapse
trying the same with miui 11.0.2 indian with repeated reboots and the files on internal storage gets encrypted or something like that.(patched boot image via patcher tool you shared)
after flashing no verity opt encrypt the android sign on boot animation is now showing but this time screen turns off and on
even tried flashing vbmeta.img
DebrupGhosh said:
trying the same with miui 11.0.2 indian with repeated reboots and the files on internal storage gets encrypted or something like that.
after flashing no verity opt encrypt the android sign on boot animation is now showing but this time screen turns off and on
even tried flashing vbmeta.img
Click to expand...
Click to collapse
Did you unlock your bootloader? It must be unlocked before flashing anything.
cg730620 said:
Did you unlock your bootloader? It must be unlocked before flashing anything.
Click to expand...
Click to collapse
Of course i did
WiFi is not working
cg730620 said:
Hello,
I finally managed to install a custom GSI Rom with TWRP and Magisk on my Redmi 7A. And I want to share a detailed guide for everyone who is struggling to do the same. Tested with MIUI 10.2.5.0 Global. Cannot guarantee for other versions.
WARNING:
You need to backup your data before installing. I am not responsible for any damage or loss that might occur. Proceed at your own risk.
Prerequisites:
- Your bootloader must be unlocked (https://en.miui.com/unlock/)
- GSI Rom of your choice. Only a64 A/B (arm32_binder64_ab). No other GSIs will do.
- ADB and Fastboot
- patched boot.img
- TWRP recovery
- vbmeta.img
- Magisk
- Permissiver_v4.zip
- Certification patch
- Treble Overlay file
- GApps (if needed)
Installation guide:
1. Download the files.
GSI Rom:
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
I installed Lineage OS 16 GSI (lineage-16.0-20191017-UNOFFICIAL-treble_a64_bvN). Everything works, except for auto-brightness.
https://forum.xda-developers.com/pr...i-lineageos-16-0-gsi-arm64-ab-how-to-t3908029
Minimal ADB and Fastboot
https://forum.xda-developers.com/showthread.php?t=2317790
Patched boot img file
(You have to choose the correct file according to your system version!)
http://www.mediafire.com/folder/zx0167qqaknc3/Redmi_7a_patched_boot
TWRP recovery
https://www.mediafire.com/file/irntn5ccdiguuuu/TWRP-20191023-3.3.1.0-pine.img/file
vbmeta file
http://www.mediafire.com/file/bgpn9b87b4t8yye/vbmeta.img/file
Magisk
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Permissiver
http://www.mediafire.com/file/61q8wln4y18ir5k/Permissiver_v4.zip/file
Certification Patch
http://www.mediafire.com/file/fboh2jocqak8cep/Certification_Patch.zip/file
Treble Overlay file (treble-overlay-xiaomi-redmi7a.apk)
http://www.mediafire.com/file/yc7vz3vg13mcrck/treble-overlay-xiaomi-redmi7a.apk/file
GApps (for Lineage OS 16 GSI choose 'ARM' & '9.0')
https://opengapps.org/
2. Unpack Minimal ADB and Fastboot to C:\ drive of your PC
3. Rename patched boot file to boot.img
4. Rename custom recovery file to recovery.img
5. Place boot.img, recovery.img, vbmeta.img in ADB folder
6. Turn off your phone.
7. Reboot phone to fastboot mode by holding Volume-down button while pressing On/Off-button. You know you are in fastboot mode when you see a cartoon bunny.
8. Connect the phone to your PC via USB.
9. On your PC open command prompt and nagivate to ADB folder, or open command prompt window directly from right-click menu in ADB folder; just right-click on empty space and choose 'Open command prompt here'
10. In command prompt, enter the following commands:
Code:
fastboot flash boot boot.img
Code:
fastboot flash vbmeta vbmeta.img
Code:
fastboot flash recovery recovery.img
11. Now reboot to recovery: Press Volume-Up button on your phone and enter the following in command prompt:
Code:
fastboot reboot
or just turn off the phone and reboot by holding Volume-Up and On/Off button (release On/Off when phone turns on, keep holding Volume-Up until you see screen of TWRP recovery)
12. Swipe to allow modifications. If TWRP asks for PIN, enter the PIN code you set for your unlock screen.
13. In TWRP choose Wipe > Advanced Wipe. Select 'Dalvik / ART cache', 'System', 'Data', 'Cache'. Then Swipe to Wipe.
14. Move the downloaded GSI file (*.img) to your phone. (Simply drag and drop in your PC's file manager to SD-card/memory of phone).
15. Flash the GSI Rom: In TWRP choose 'Install' > 'Install Image' and select the GSI. If you put the GSI on your external SD-card you first need to choose Select Storage > Micro SD card. After choosing the GSI file, at Select Partition to Flash Image choose System Image. Then Swipe to confirm Flash.
16. Reboot to Recovery
17. Move Magisk zip and Permissiver_v4.zip to your phone.
18. In TWRP choose Install. Select the Magisk zip-file on your phone and then Swipe to confirm flash.
19. Flash Permissiver_v4.zip the same way.
20. Flash GApps if needed
21. Flash Certification_Patch.zip.
22. Go back and choose Reboot > System
23. Fix big rounded corners on home screen:
Once you are in Android and in case you experience big ugly round corners around your home screen, put treble-overlay-xiaomi-redmi7a.apk in System > Overlay directory. You need a file manager with root access if you want to do this from within Android.
24. Fix brightness adjustment issue (no auto-brightness though):
Enable USB debugging in Developer Options menu. To make developer menu appear in Android, you need to tap 7 times on Android's 'build number'.
Now open command prompt from ADB folder on your PC while your phone is still connected via USB. Enter the following:
Code:
adb shell
su
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
You need to allow adb shell to get root access or the command will throw an error. Your phone should show a confirmation dialog when entering the command. If it doesn't show the dialog, open Magisk Manager app and give root access for Shell in Superuser menu.
25. Enjoy!
Click to expand...
Click to collapse
I have followed every step. The wifi is not even turning on. I know there must be some small bug. Please help me clear it!
cg730620 said:
Patched boot img file
(You have to choose the correct file according to your system version!)
Click to expand...
Click to collapse
Somehow there is ver 10.2 and 10.4 missing 10.3 which is the one which I have.
What should I do?
Thanks very much for the detailed instructions!
I got it working with lineage-17-arm
Got the beta opengapps from...
https://sourceforge.net/projects/opengapps/
Before copying the treble-overlay-xiaomi-redmi7a.apk file, I had to type...
chmod a+r treble-overlay-xiaomi-redmi7a.apk
mount -o rw,remount /
I followed the steps, and i got stuck on Redmi Logo, My bootloader is unlocked.
Tried to install 2 ROMs without success.
In the second ROM (Lineage 17) when i tried to install gapps, it gave me an error saying insufficient space.
i had to get back to Miui.
Josseda673 said:
I followed the steps, and i got stuck on Redmi Logo, My bootloader is unlocked.
Tried to install 2 ROMs without success.
In the second ROM (Lineage 17) when i tried to install gapps, it gave me an error saying insufficient space.
i had to get back to Miui.
Click to expand...
Click to collapse
Before installing gapps, after installing the rom. Go to TWRP > wipe > "system" > repair > resize fs > reboot. Then install gapps.
It didn't boot after I installed gapps on lineage 16, but it was ok on lineage 17.
Redmi 7A Miui 10.3 Patcher file missing?
Does anyone know where I could find patched file for Miui 10.3, because there is only for ver 10.2 and 10.4, and I can't update miui on my phone that's why I'm asking. Thanks.
in TWRP, after instaling the ROM and trying to install gaps, or whatever I get:
Failed to mount '/system_root' (invalid argument)
I also can't mount system partition in mounting options.
What does it means?
.
After installing TWRP successfully I tried with both roms: lineage-16.0-20191017-UNOFFICIAL-treble_a64_bvN and lineage-17.0-20191117-UNOFFICIAL-treble_a64_bvN
it fails to install any apps (Magisk, permissiver, G-Apps, etc.).
Example from Magisk:
- Mounting /system
! Cannot mount /system
- Unmounting partition
...
Failed to mount "system/root" (invalid argument)
When I now try to reboot again into Recovery TWRP says "No OS Installed".
any help is appreciated!
Same
Hello!,
it's possible with MIUI 11 (PCMINXM) ? or i need to roll back to MIUI10?
Camera records corrupted videos
Any idea how to make camera record videos? Photos work, but when I try to record videos, it seems to be recording, but when I try to play it back it seems corrupted (e.g.: showing length of the video to be over 104h long - so seems like indexing problem). Tried to play with camera_config.xml at root/vendor/etc/camera but no luck so far... :crying:
P.S.: The problem seems to be independent of the app used - Open Camera with Camera2 API enabled does not change a thing.
---------- Post added at 09:16 PM ---------- Previous post was at 09:11 PM ----------
shr!pad said:
Hello!,
it's possible with MIUI 11 (PCMINXM) ? or i need to roll back to MIUI10?
Click to expand...
Click to collapse
Worked for me when flashing from Miui 11 EU - just followed the instructions with little problems.
Blazer291 said:
Any idea how to make camera record videos? Photos work, but when I try to record videos, it seems to be recording, but when I try to play it back it seems corrupted (e.g.: showing length of the video to be over 104h long - so seems like indexing problem). Tried to play with camera_config.xml at root/vendor/etc/camera but no luck so far... :crying:
P.S.: The problem seems to be independent of the app used - Open Camera with Camera2 API enabled does not change a thing.
Same thing with mine, first time i did solve it installing gapps again, but a few days later the problem got back. I´m about to update to last firmware and see if it solves the issue, ill comment later.
Click to expand...
Click to collapse
Same thing with mine, first time i did solve it installing gapps again, but a few days later the problem got back. I´m about to update to last firmware and see if it solves the issue, ill comment later.
Click to expand...
Click to collapse
Don't do that - it's too much work.
Fixed mine by editing camera_config.xml so it has only the config for the model and vendor of the camera that it actually has been fitted with. Now using Open Camera with Camera2 API everything works fine. :victory:
P.S.: So the cause of the problem really seems to be the conflict of different camera configs within the configuration file.
brother please! can you tell me how to do it? like a mini guide, i dont have magisk nor root on my phone. do i need to root it?
would appriciate it so much!!

Root method for Oxygen OS 11.0.5.BE83BA with Magisk

Notice this will VOID YOUR WARRANTY.
I am not to blame for BRICKED DEVICE.
Do this at YOUR OWN RISK.
Things you need :
1: OnePlus Nord N100 - Oxygen OS 11.0.5.BE83BA
2: Computer with Adb and Fastboot Installed - check google for adb and fastboot
3: Unlocked Bootloader - https://source.android.com/devices/bootloader/locking_unlocking
4: Adb Enabled in developer options aka USB debugging
5: The Boot.img - below
6: Magisk.apk - https://magiskmanager.com/
Guide :
Step 1: Patch Boot.img with Magisk
Open the magisk app and select Install>Select And Patch a File>Boot.img>Let's go
And then wait for :
Output file is written to
/storage/emulated/0/Download/magisk...img
- All done!
Press the arrow at the top and close Magisk for now
Step 2: Connect to the Computer with adb and fastboot installed
On Phone :
Allow the computer to browse files
On Computer :
Go in the file explorer to your phones downloads( This Computer\BE2013\Internal shared storage\Download ) folder and find the magisk...img
Copy the magisk...img to your desktop or any other folder if you can find it in Command Prompt(Windows)
Then Open Command Prompt(Windows)/Terminal(Linux)
Cd to your work folder(Desktop) or the "any other folder"
cd Desktop(Windows)
Step 3: Boot the device into bootloader
Do a check if the device is connected with:
adb devices
On phone :
Allow USB debugging
If nothing shows up on the phone or it says the phone is unauthorized reconnect the phone and try again.
On Computer :
Next we reboot the phone to bootloader with :
adb reboot bootloader
The phone will restart and you shall see a big START
Step 4: The Final Step Test & Install Root
Testing if everything works as expected eg Wifi, Bluetooth, Hotspot, Other stuff because these things broke for me once because I used the wrong version of boot.img.
Id still test them.
On Computer :
fastboot devices
If there is the same device as in Step 3 adb devices command all should be working expected.
Optional :
fastboot boot magisk...img Tip Use TAB to autocomplete in Command Prompt(Windows)
Next up test if all of the wireless stuff is working eg Wifi, Bluetooth, Hotspot, Other stuff
You can also open magisk to see if the device is Rooted.
Going back to bootloader is important for the next sub step("Flashing").
adb reboot bootloader
Flashing :
Did you boot the magisk...img?
If yes did everything work?
If not do not do this part!
fastboot flash boot magisk...img
fastboot reboot
Done!
Sorry for any typing mistakes if there is any.
If you have any questions ill be slow to respond if I even respond.
Sincerely Maxi
Where did you get this boot image?
I am getting the same behavior I get when trying to patch the global boot image - will not boot this TM model phone.
bouyakasha said:
Where did you get this boot image?
I am getting the same behavior I get when trying to patch the global boot image - will not boot this TM model phone.
Click to expand...
Click to collapse
I extracted the boot image from OTA update.
What do you mean with TM model phone? This is for the BE83BA.
hello someone does not have a rom 11.0.1be83ba I formatted the whole system unfortunately
Grilmama said:
hello someone does not have a rom 11.0.1be83ba I formatted the whole system unfortunately
Click to expand...
Click to collapse
Here https://forum.xda-developers.com/t/...ota-oxygenos-repo-of-oxygenos-builds.4253501/
https://otafsg-cost-az.coloros.com/OnePlusN100_EEA/OnePlusN100Oxygen_14.E.25_GLO_0250_2203311235/patch/amazone2/GLO/OnePlusN100Oxygen/OnePlusN100Oxygen_14.E.25_GLO_0250_2203311235/OnePlusN100Oxygen_14.E.25_OTA_0250_all_2203311235_0a17ce328283d7.zip
Hi. Anyone can you extract Oxygen OS 11.0.5. BE83BA boot.img for me? Thank you! Can't access PC.
VPH20 said:
https://otafsg-cost-az.coloros.com/OnePlusN100_EEA/OnePlusN100Oxygen_14.E.25_GLO_0250_2203311235/patch/amazone2/GLO/OnePlusN100Oxygen/OnePlusN100Oxygen_14.E.25_GLO_0250_2203311235/OnePlusN100Oxygen_14.E.25_OTA_0250_all_2203311235_0a17ce328283d7.zip
Hi. Anyone can you extract Oxygen OS 11.0.5. BE83BA boot.img for me? Thank you! Can't access PC.
Click to expand...
Click to collapse
The post has been updated. It includes the updated boot.img.
Ma_x11 said:
The post has been updated. It includes the updated boot.img.
Click to expand...
Click to collapse
Thank you very much!

How to install Android 12 ( Derpfest ) for noobs!

In this guide, ill be showing you how to install a custom rom onto your OnePlus 7T Pro device. Ill be assuming your phone is completely stock and you haven't done any modifications. This is done at your own risk, i am not responsible for corrupted images, bricked devices etc.
*NOTE: This guide is for the OnePlus 7T Pro only*
What you will need:
A windows PC - idk buy one lol? *NOTE* You will need a Windows 10 PC, Windows 11 can't recognize your phone in fastboot for some reason. You can manually install the adb drivers to the PC If you must use windows 11.
Platform tools SDK - https://developer.android.com/studio/releases/platform-tools
USB cable that came with the phone
Derpfest ROM - https://sourceforge.net/projects/derpfest/files/hotdog/ (This was made by @NurKeinNeid, It's truly an amazing rom and would recommend it to anyone who wants android 12 on their devices! XDA forum for the ROM - https://forum.xda-developers.com/t/rom-12-0-derpfest-for-oneplus-7t-pro-official-hotdog.4250469/ ) Download the .img.zip, not just the .zip!
Orange Fox Recovery - https://orangefox.download/device/hotdog
Payload Dumper - https://androidfilehost.com/?fid=818070582850510260
Custom Flashing Script - https://github.com/AlaistairP/Install-Scripts
Step 1: Unlocking your Bootloader.
(i) In order to install software onto your phone you must have an unlocked bootloader. To start, go to settings - about phone - tap on the build number 7 times, input your password and developer options should then be enabled.
(ii) Then go into the main settings page - system - developer options. Enable the 'OEM UNLOCKING' feature. After that scroll down and enable USB Debugging. At this stage, plug your device into your pc. A dialogue should come up to allow the computer to connect to your phone, click yes.
(iii) Now on your computer, navigate to the platform tools folder you downloaded, in the main directory with all the files, in the search bar type cmd and press enter. You now need to boot your phone into fastboot mode. To do this, turn your phone off. Then, hold the power button with the volume up and down button! You should see a menu with green text saying 'Start' at the top.
(iv) Plug your phone into your computer, and in the cmd menu you opened, type 'fastboot devices', you should see the word fastboot followed by a string of numbers. Now type - 'fastboot oem unlocking' A dialogue will appear on your phone, using the volume keys select the option to unlock the bootloader. *NOTE - ALL DATA WILL BE REMOVED'
Step 2: Flashing a custom recovery
Reboot your phone to fastboot, then connect your phone to your pc. Type in 'fastboot reboot fastboot' your device should reboot into 'fastbootd' Now using the recovery.img file you downloaded from Firefox, type the following command, `'fastboot flash recovery 'PATH TO RECOVERY.IMG FILE'
Once the file has flashed, restart your phone into fastboot mode and using the volume keys, navigate to recovery mode. You should now boot into Orange Fox recovery. Now, in orangefox, go to Wipe - Format Data - then type yes and wait for the process to finish.
Voila!
Step 3: Flashing the ROM!
Open your downloaded version of derpfest, you should see a file called payload.bin, place that into the payload dumper input folder, then run the programme and wait for it complete, you should have loads of .img files. Copy all of these into your platform tools folder! Now download the custom script and place that into the platform tool folder as well.
Reboot your phone into fastboot mode, and once again type 'fastboot reboot fastboot' Once you're in fastbootd mode, right click the flash-all.bat script and run as admin, click more info if you have microsoft defender and click run anyway, The rest is done in the script!
*HOW TO UPDATE*
Once you have downloaded and extracted the new files from the most recent payload.bin file which the dev releases, copy these files into your platform-tools folder. You need to make sure there are no .img files from the old Rom remaining. Now, connect your phone to your pc. Open a cmd windows inside the platform-tools window and type 'adb reboot fastboot', once your phone has entered fastboot, type 'fastboot reboot fastbootd' Once your in fastbootd, simply run the update.bat script and voila!
After, reboot your phone and you should load into your new Android 12 OS!
If you have any questions please dont hesitate to ask!
If i have made any mistakes in this guide, or you guys think i should make any changes, let me know, im new to this!
*NOTE - I intend to make a full video walk through soon, ill have the youtube video linked here in the near future*
astroarchcraft said:
In this guide, ill be showing you how to install a custom rom onto your OnePlus 7T Pro device. Ill be assuming your phone is completely stock and you haven't done any modifications. This is done at your own risk, i am not responsible for corrupted images, bricked devices etc.
*NOTE: This guide is for the OnePlus 7T Pro only*
What you will need:
A windows PC - idk buy one lol?
Platform tools SDK - https://developer.android.com/studio/releases/platform-tools
USB cable that came with the phone
Derpfest ROM - https://sourceforge.net/projects/derpfest/files/hotdog/ (This was made by @NurKeinNeid, It's truly an amazing rom and would recommend it to anyone who wants android 12 on their devices! XDA forum for the ROM - https://forum.xda-developers.com/t/rom-12-0-derpfest-for-oneplus-7t-pro-official-hotdog.4250469/ ) Download the .img, not zip!
Orange Fox Recovery - https://orangefox.download/device/hotdog
Payload Dumper - https://androidfilehost.com/?fid=818070582850510260
Custom Flashing Script - https://github.com/astroarchcraft/A12script/tree/main
Step 1: Unlocking your Bootloader.
(i) In order to install software onto your phone you must have an unlocked bootloader. To start, go to settings - about phone - tap on the build number 7 times, input your password and developer options should then be enabled.
(ii) Then go into the main settings page - system - developer options. Enable the 'OEM UNLOCKING' feature. After that scroll down and enable USB Debugging. At this stage, plug your device into your pc. A dialogue should come up to allow the computer to connect to your phone, click yes.
(iii) Now on your computer, navigate to the platform tools folder you downloaded, in the main directory with all the files, in the search bar type cmd and press enter. You now need to boot your phone into fastboot mode. To do this, turn your phone off. Then, hold the power button with the volume up and down button! You should see a menu with green text saying 'Start' at the top.
(iv) Plug your phone into your computer, and in the cmd menu you opened, type 'fastboot devices', you should see the word fastboot followed by a string of numbers. Now type - 'fastboot oem unlocking' A dialogue will appear on your phone, using the volume keys select the option to unlock the bootloader. *NOTE - ALL DATA WILL BE REMOVED'
Step 2: Flashing a custom recovery
Reboot your phone to fastboot, then connect your phone to your pc. Type in 'fastboot reboot fastboot' your device should reboot into 'fastbootd' Now using the recovery.img file you downloaded from Firefox, type the following command, `'fastboot flash recovery 'PATH TO RECOVERY.IMG FILE'
Once the file has flashed, restart your phone into fastboot mode and using the volume keys, navigate to recovery mode. You should now boot into Orange Fox recovery. Now, in orangefox, go to Wipe - Format Data - then type yes and wait for the process to finish.
Voila!
Step 3: Flashing the ROM!
Open your downloaded version of derpfest, you should see a file called payload.bin, place that into the payload dumper input folder, then run the programme and wait for it complete, you should have loads of .img files. Copy all of these into your platform tools folder! Now download the custom script and place that into the platform tool folder as well.
Reboot your phone into fastboot mode, and once again type 'fastboot reboot fastboot' Once you're in fastbootd mode, right click the script and run as admin, click more info if you have microsoft defender and click run anyway, The rest is done in the script!
After, reboot your phone and you should load into your new Android 12 OS!
If you have any questions please dont hesitate to ask!
If i have made any mistakes in this guide, or you guys think i should make any changes, let me know, im new to this!
Click to expand...
Click to collapse
I really appreciate the time and work you put into it. Thank you very much!
Btw I will release new build tonight. Now I can link to this post in the update announcement as well.
NurKeinNeid said:
I really appreciate the time and work you put into it. Thank you very much!
Btw I will release new build tonight. Now I can link to this post in the update announcement as well.
Click to expand...
Click to collapse
No Problem, Quite satisfying to write actually! Thanks so much for all the effort you put into the ROM, Best one I have used on my phone yet! Looking forward to the new build
Hi Team, this method with flashing Orange Fox recovery and formatting Data, do you know if will enable backup/restore and viewable sdcard for Android 12/Derp?
The only thing I haven't been willing to try is formatting/converting Data, as I've re-setup my phone about 5 times now trying various methods over several days trying to get a working custom recovery for Derp
somemadcaaant said:
Hi Team, this method with flashing Orange Fox recovery and formatting Data, do you know if will enable backup/restore and viewable sdcard for Android 12/Derp?
The only thing I haven't been willing to try is formatting/converting Data, as I've re-setup my phone about 5 times now trying various methods over several days trying to get a working custom recovery for Derp
Click to expand...
Click to collapse
Hey I'm not sure about the backup/restore, but after formatting the drive, they'll no longer be encrypted so Orange Fox should be able to read the data on your drive.
Thought as much, time for another reinstall. Thanks again have a thumbs up.
Hi Astroarchcraft, thank you for this guide! If you only put it out 2 days earlier you'd have saved me from a soft brick! (from which I recovered luckily ahahh)
Anyway, could you please also add the guide on how to update to a newer build? Is there a way to do it without losing all data? Thanks!
Looking forward to move to the new 2022-01-07 build!
Instead of going to fastbootd after flashing orangefox recovery, it just goes to orangefox's fastboot mode and did the script there. Should it work the same? (I'm still waiting for the flash to finish, will update what will happen after) Thanks!
Edit: Looks like it works just the same even if you run flash all script inside orangefox recovery fastboot.
Anyways, thanks for the nice guide. Really helpful! I know i've been flashing ROMs ever since back then. But its always nice to have a guide here and there. So kudos to you for making this one. Thanks!
What if I'm on a A12 AOSP ROM and want to try Derpfest ROm? can I just flash it in TWRP or are there any instructions to follow?
iSyncX said:
Instead of going to fastbootd after flashing orangefox recovery, it just goes to orangefox's fastboot mode and did the script there. Should it work the same? (I'm still waiting for the flash to finish, will update what will happen after) Thanks!
Edit: Looks like it works just the same even if you run flash all script inside orangefox recovery fastboot.
Anyways, thanks for the nice guide. Really helpful! I know i've been flashing ROMs ever since back then. But its always nice to have a guide here and there. So kudos to you for making this one. Thanks!
Click to expand...
Click to collapse
Yup, orange Fox fastboot is fastbootd if you do it from the bootloader
salomaoa said:
What if I'm on a A12 AOSP ROM and want to try Derpfest ROm? can I just flash it in TWRP or are there any instructions to follow?
Click to expand...
Click to collapse
Nope, it's a fastboot ROM so it must be done via fastboot!
Ninotzz said:
Hi Astroarchcraft, thank you for this guide! If only you put it out 2 days earlier you'd have saved me from a soft brick! (from which I recovered luckily ahahh)
Anyway, could you please also add the guide on how to update to a newer build? Is there a way to do it without losing all data? Thanks!
Looking forward to move to the new 2022-01-07 build!
Click to expand...
Click to collapse
I'll make a guide later, but for the moment, all you need to do it download the update files, instead of the original files, and don't erase the data when given the option in the script!
astroarchcraft said:
I'll make a guide later, but for the moment, all you need to do it download the update files, instead of the original files, and don't erase the data when given the option in the script!
Click to expand...
Click to collapse
So won't I have problems with my data being encrypted by the previous version of the ROM? Will the new one be able to read it anyway?
Cheers ✌
I've updated and it was perfect, my recommendation for the moment is to go to the how to update section on the official ROM page and do what is said from there, like I said, I'll make a guide as soon as I get a chance
astroarchcraft said:
I've updated and it was perfect, my recommendation for the moment is to go to the how to update section on the official ROM page and do what is said from there, like I said, I'll make a guide as soon as I get a chance
Click to expand...
Click to collapse
Unfortunately NurKein removed it from the post in favor of the link to your guide So I'll try to follow what you told me in this thread for now
astroarchcraft said:
In this guide, ill be showing you how to install a custom rom onto your OnePlus 7T Pro device. Ill be assuming your phone is completely stock and you haven't done any modifications. This is done at your own risk, i am not responsible for corrupted images, bricked devices etc.
*NOTE: This guide is for the OnePlus 7T Pro only*
What you will need:
A windows PC - idk buy one lol?
Platform tools SDK - https://developer.android.com/studio/releases/platform-tools
USB cable that came with the phone
Derpfest ROM - https://sourceforge.net/projects/derpfest/files/hotdog/ (This was made by @NurKeinNeid, It's truly an amazing rom and would recommend it to anyone who wants android 12 on their devices! XDA forum for the ROM - https://forum.xda-developers.com/t/rom-12-0-derpfest-for-oneplus-7t-pro-official-hotdog.4250469/ ) Download the .img, not zip!
Orange Fox Recovery - https://orangefox.download/device/hotdog
Payload Dumper - https://androidfilehost.com/?fid=818070582850510260
Custom Flashing Script - https://github.com/astroarchcraft/A12script/tree/main
Step 1: Unlocking your Bootloader.
(i) In order to install software onto your phone you must have an unlocked bootloader. To start, go to settings - about phone - tap on the build number 7 times, input your password and developer options should then be enabled.
(ii) Then go into the main settings page - system - developer options. Enable the 'OEM UNLOCKING' feature. After that scroll down and enable USB Debugging. At this stage, plug your device into your pc. A dialogue should come up to allow the computer to connect to your phone, click yes.
(iii) Now on your computer, navigate to the platform tools folder you downloaded, in the main directory with all the files, in the search bar type cmd and press enter. You now need to boot your phone into fastboot mode. To do this, turn your phone off. Then, hold the power button with the volume up and down button! You should see a menu with green text saying 'Start' at the top.
(iv) Plug your phone into your computer, and in the cmd menu you opened, type 'fastboot devices', you should see the word fastboot followed by a string of numbers. Now type - 'fastboot oem unlocking' A dialogue will appear on your phone, using the volume keys select the option to unlock the bootloader. *NOTE - ALL DATA WILL BE REMOVED'
Step 2: Flashing a custom recovery
Reboot your phone to fastboot, then connect your phone to your pc. Type in 'fastboot reboot fastboot' your device should reboot into 'fastbootd' Now using the recovery.img file you downloaded from Firefox, type the following command, `'fastboot flash recovery 'PATH TO RECOVERY.IMG FILE'
Once the file has flashed, restart your phone into fastboot mode and using the volume keys, navigate to recovery mode. You should now boot into Orange Fox recovery. Now, in orangefox, go to Wipe - Format Data - then type yes and wait for the process to finish.
Voila!
Step 3: Flashing the ROM!
Open your downloaded version of derpfest, you should see a file called payload.bin, place that into the payload dumper input folder, then run the programme and wait for it complete, you should have loads of .img files. Copy all of these into your platform tools folder! Now download the custom script and place that into the platform tool folder as well.
Reboot your phone into fastboot mode, and once again type 'fastboot reboot fastboot' Once you're in fastbootd mode, right click the script and run as admin, click more info if you have microsoft defender and click run anyway, The rest is done in the script!
After, reboot your phone and you should load into your new Android 12 OS!
If you have any questions please dont hesitate to ask!
If i have made any mistakes in this guide, or you guys think i should make any changes, let me know, im new to this!
*NOTE - I intend to make a full video walk through soon, ill have the youtube video linked here in the near future*
Click to expand...
Click to collapse
Thank you for the awesome guide, I have some questions, since this wipes all my data, what is the most efficient way of backing up my device data as I always don't know what people do to not lose their data while constantly switching ROMs, keeping in mind that this is my first time installing a custom ROM ever!
as well as, what's your experience with the ROM so far, any bugs popped up? Widevine still L1 and SafetyNet passes?
Did you find a way of installing OxygenOS camera? if not, what GCAM are you using?
i think you should add "How to dirty flash an update " also.
0mar32 said:
Thank you for the awesome guide, I have some questions, since this wipes all my data, what is the most efficient way of backing up my device data as I always don't know what people do to not lose their data while constantly switching ROMs, keeping in mind that this is my first time installing a custom ROM ever!
as well as, what's your experience with the ROM so far, any bugs popped up? Widevine still L1 and SafetyNet passes?
Did you find a way of installing OxygenOS camera? if not, what GCAM are you using?
Click to expand...
Click to collapse
Some minor bugs have popped up, like apps closing randomly, but that was because of my magisk root, as soon as I got rid of it, all the apps worked. Oxygen OS Camera wouldn't work so I'm using a Gcam mod for the 7T Pro. As for keeping your data, i would advice performing a nandroid backup. There's guides on YouTube as to how to do this.
amitkuliyal said:
i think you should add "How to dirty flash an update " also.
Click to expand...
Click to collapse
About to start work on an updating part now
astroarchcraft said:
Some minor bugs have popped up, like apps closing randomly, but that was because of my magisk root, as soon as I got rid of it, all the apps worked. Oxygen OS Camera wouldn't work so I'm using a Gcam mod for the 7T Pro. As for keeping your data, i would advice performing a nandroid backup. There's guides on YouTube as to how to do this.
Click to expand...
Click to collapse
So nothing other than apps randomly closing, hmm, good, does Derpfest have a Parallel Apps feature like OOS? as I employ 2 WhatsApp accounts (Personal and Work accounts).
Are you using the recommended GCAM from the ROM Post? https://forum.xda-developers.com/t/...official-hotdog.4250469/page-18#post-86176205
anything else I need to be on the lookout for before I start, coming from OOS I mean, something missing from Derpfest that was on OOS?
Sorry for hammering you, it's just my first time flashing a custom ROM and I'm minutes away from doing it.

Categories

Resources