[ROM] [GUIDE] HOW TO INSTALL ANCIENT OS 5.2 GSI ANDROID 11 ON REDMI 8 - Xiaomi Redmi 8 Guides, News, & Discussion

Hi, here's my guide on how install Ancient OS 5.2 (A11) on Redmi 8
What doesn't work
- Bluetooth
- 4g network and VoLTE (Fix below)
- Brightness slider and auto-brightness (Fix below)
Fixes:
- For brightness: Open settings -> Go in "Phh Treble Settings" -> "Misc Features" -> Scroll until you are in backlight menu -> Select "Force alternative backlight scale" and "Enable auto-brightness overlay" -> then deselect both and reboot
- For 4g and VoLTE: Open settings -> Go in "Network and internet" -> "Mobile network" -> Tap on "Preferred network type" and select "LTE" and then reboot
Note 1: If you find a fix for bluetooth describe it in comments, I will update the guide
Note 2: If you fing other bugs tell me in comments, maybe I could help you (I'm not the developer of the rom)
​IMPORTANT ADVICE:​I am not responsible for any damage caused to your device by not following the steps or negligence at the time of this process, all the steps were carried out and tested on my personal device and are confirmed, my device is Redmi 8 4/64
Installation Steps - All the files you need are HERE​
Note 3: I did the installation coming from Mui 12.0.1 stock (flashed in fastboot with Mi Flash) and there was no problem in the installation process or in the boot process
1- First make a backup of all the necessary information in case something goes wrong you can easily recover, Charge the battery at least 80%
All your data will be deleted during the process
2- Unlock the Bootloader if you have not already done it or do not know how to, follow this post: http://en.miui.com/unlock/
3- Before continue following steps estract on pc "system-arm64-AB-vndklite.img" from "AncientOS-R-Society-v5.2-ARM64_AB_vndklite-Iron-20210227-vanilla.zip" and activate USB debug in phone settings
4- Reboot in fastboot and connect the phone to the pc with cable
5- Install on pc minimal adb tool (zip at the bottom), flash the TWRP recovery typing " fastboot flash recovery ", now drag twrp file near the command, then vbmeta typing " fastboot --disable-verity --disable-verification flash vbmeta " and drag vbmeta file near the command. Finished the procedure type " fastboot reboot " and hold volume + on the phone until you see the recovery screen
6- Scroll on the slider at the bottom of the phone screen to access in the TWRP
7- Go to Wipe -> Format data -> type "yes"
8- Go to Reboot -> Recovery
9- Go to Wipe -> Avanced wipe -> wipe dalvik, data, cache and system
10- Go to Reboot -> Recovery
NOW YOU HAVE TO TRANSFER ALL OTHER FILES OR IN THE INTERNAL STORAGE OF THE PHONE OR IN SD/USB WITH OTG CABLE
11- Go to Install -> Select the storage where you have files -> Install img -> select "system-arm64-AB-vndklite.img" and flash it (Extracted from the zip)
12- Wait and then go to Reboot -> Recovery
13- Wait and then go to Reboot -> Recovery
14- Wipe -> Advanced wipe -> select "system" and click on "Repair or change file system" -> Resize system
15- Wait and then go to Reboot -> Recovery
16- Install -> Select the storage where you have files -> Flash "GSI-BUGS-FIXER_11_Q.zip"
17- Wait and then go to Reboot -> Recovery
18- Install -> Select the storage where you have files -> Flash "open_gapps-arm64-11.0-nano-20210130-TEST.zip"
19- Wait and then go to Reboot -> System
20-Configure phone and enjoy your new rom
Note 4: Rom is pre-rooted, you only need to install magisk apk, file below
Note 5: I reccomend you the best gcam I've found for Redmi 8, everything works except slow motion, link HERE
Thanks for the attenction​
-Estatè

zas far as i know bluetooth works on vendor from lineageOS 16 from this forum, there are the same bugs on every rom with original vendor.

Why U use my fixes and manuals without request to me? Your manuals wrong and makes bootloop. Before stupid copy-paste read instructions.
All roms booted without any permissiver. Certification patch retarded and not supported Android 11.
GSI FIXER is rom and vendor-specified.
Number in name = Android in rom
Letter in name = Android in vendor

kulaklığımı algılamıyor
edit: Fixed

Vicuel said:
does not detect my headphone
Click to expand...
Click to collapse
Open termux and type....
su
Then give termux root access....
Then type.....
setprop persist.sys.overlay.devinputjack true

mwaseem851 said:
Open termux and type....
su
Then give termux root access....
Then type.....
setprop persist.sys.overlay.devinputjack true
Click to expand...
Click to collapse
This needs to be done after every reboot?

gattud said:
This needs to be done after every reboot?
Click to expand...
Click to collapse
Nono, only paste it in termux with root access and reboot, then you will solve the problem forever

mwaseem851 said:
Termux'u açın ve .... yazın.
su
Sonra termux root erişimi verin ....
Sonra yazın .....
setprop persist.sys.overlay.devinputjack doğru
Click to expand...
Click to collapse
thanks

Don't use any my GSI-BUGS-FIXERS from XDA. This fixes retarded and no more supported!
Don't say to me in Telegram chat about bugs if you use fixes and instructions from any users of XDA except me.

I used the gsi bugs fixer in Telegram

@Estatè Mosconi If you haven't already I suggest you take a look in your PM inbox.

Related

[GUIDE][TWRP][ROOT][FLASH] Xiaomi MI MIX3 5G Android 9 root, diagnostic port, codes

UNLOCK BOOTLOADER & ROOT DEVICE
1. Unlock Bootloader (Xiaomi procedure, 7 days via MI Unlock tool)
https://fossbytes.com/how-to-unlock-bootloader-on-xiaomi-devices-using-mi-unlock-tool/
2. Fastboot flash recovery TWRP and root the android 9 rom
(based on https://www.cyanogenmods.org/forums/topic/twrp-download-for-mi-mix-3-5g-and-rooting-guide/)
2.1 Install ADB for Windows and Xiaomi Drivers
2.2 Download TWRP for MI MIX3 5G Android 9 PIE - twrp-3.3.1-0-andromeda.img
https://androidfilehost.com/?fid=6006931924117900528
(based on https://forum.xda-developers.com/showthread.php?t=3941867)
2.3 Rename file to recovery.img and put it into ADB folder on Windows
2.4 Turn off the phone, Reboot to Fastboot (Volume Down + Power)
2.5 Plug the phone into computer
2.6 Open Windows CMD
2.7 Go to your ADB directory
2.8 Type the commands in cmd
cd C:/adb
fastboot devices
fastboot flash recovery recovery.img
2.9 Download Disable Force Encryption and Magisk Zip
https://www.cyanogenmods.org/downloads/disable-force-encryption-twrp-flashable-zip-treble/
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
2.10 Copy the files to USB memory stick formatted to FAT32, you should have two files:
Magisk-v20.3.zip
DisableForceEncryption_Treble.zip
2.10 Turn on phone to recovery (Volume Up + Power)
2.11 Go to Menu > Wipe > Format Data > "yes" (this will format the data)
2.12 Go to Menu > Advanced > Fix Contents
2.13 Plug in your USB stick with files via OTG USB C connector
2.14 Go to Menu > Install > Select Storage > OTG
2.15 Select Magisk-v20.3.zip
2.16 Add more zips and select DisableForceEncryption_Treble.zip
2.17 Flash the zips and reboot device
UPDATE FOR TWRP
To gain root you may now only boot the recovery instead of flashing and proceed with flashing Magisk and Disable Force Encryption.
# fastboot boot recovery.img
TWRP 3.3.1-1 Xiaomi Mi Mix 3 5G (andromeda) by mauronofrio:
- Added Android 10 Support;
- Fixed compatibility.zip errors;
- Make the TWRP able to boot directly from fastboot;
- Removed TWRP app;
- Added dtbo and persist target to flash image menu;
- Fixed some problems with Stock ROMs flashing.
Download TWRP: https://androidfilehost.com/?fid=4349826312261701065
Thanks to @mauronofrio
## QUALCOMM DIAGNOSTIC PORT AND TOOLS
(based on https://forum.xda-developers.com/oneplus-7-pro/help/force-enable-volte-vowifi-t3934227)
1.1 Download
https://androidfilehost.com/?fid=11410963190603864074
https://androidfilehost.com/?fid=11410963190603912872
QPST_2.7.474.zip
QUD.WIN.1.1 Installer-10037.3 Setup.zip
Just use the standard settings and click on OK, next,
1.2 OPEN DIAGNOSTIC PORT FOR THE SESSION FOR QPST (WINDOWS CMD ADB)
cd C:/adb
adb devices
adb shell
su (you need to add root permisions on android screen)
setprop sys.usb.config diag,serial_cdev,rmnet,adb
1.3 Once The Port is up you can use your Qualcomm Tools.
1.4 For example you can change the VOLTE/VOWIFI settings with PDC Tool
Select your device, right click on "Commercial" and deactivate Sub0 and Sub1
Click on Oversea-Commercial_DS again and click on remove -- DO NOT CLICK REMOVE, JUST DE-ACTIVATE IT - your settings stick after a reboot, so no longer need to remove the profile (at least on my device my profiles stick, also makes it easier to go back to default)
## FORCE ENABLE VOLTE AND VOWIFI BUTTONS IN ANDROID
cd C:/adb
adb devices
adb shell
su (you need to add root permisions on android screen)
setprop persist.dbg.ims_volte_enable 1; setprop persist.dbg.volte_avail_ovr 1; setprop persist.dbg.vt_avail_ovr 1; setprop persist.dbg.wfc_avail_ovr 1
######################## CODES FOR THE DIALER #####################
1. Diagnostic codes:
*#*#6484#*#*
2. Testing
*#*#4636#*#*
3. Calendar
*#*#225#*#*
4. Google Play services
*#*#426#*#*
5. Rlz Debug Ul.
*#*#759#*#*
6. Imei Information
*#06#
Enter these codes into the Dialer to enable the options in Settings. (Settings < SIM Cards & mobile networks < Sim Card Settings < VoLTE Enabled/Make Calls using WLAN) . THEY ARE ENABLED BY DEFAULT
VoLTE *#*#86583#*#*
VoWIFI *#*#869434#*#*
##### FLASH ROM AGAIN IF ANYTHING FAILS VIA FASTBOOT ###
01. You need to have unlocked bootloader
02. Download latest ROM based on your model (mine is 5G EEA n78)
Mi MIX 3 5G EEA Stable Fastboot V10.3.21.0.PEMEUXM 9.0 Download 2.5 GB
https://xiaomifirmwareupdater.com/miui/andromeda/
03. Download Mi Flash Tool
https://www.xiaomiflash.com/
04. Open the Mi Flash Tool, install drivers (if the install fails go to Mi Flash directory and create folder logs and log; open app again and install drivers)
05. Unpack the rom fastboot tgz
06. Select the Folder where the rom is unpacked (it should containg numerous of flash files)
07. Tick the Clear Data at the bottom (don't choose the clear data and lock cause it will lock your bootloader again)
08. Turn off the phone, Reboot to Fastboot (Volume Down + Power)
09. Plug the phone into computer
10. Click refresh, phone should be visible
11. Click flash
12. After successfull flash there could be an error fastboot lock (don't bother since you want to be unlocked)
13. If you want root flash twrp and magisk again
Thank you so much for this guide! Can I flash gsi rom with this? Sorry for the noob question
Jktfong said:
Thank you so much for this guide! Can I flash gsi rom with this? Sorry for the noob question
Click to expand...
Click to collapse
I have not tried to load the GSI ROM on that model. I guess there was some other topic under ROM development opened for that
https://t.me/mimix3_5G feel free to join this telegram group chat if you need any help we are all running a custom gsi with aosp 9 and 10 (pixel experience) @mxtuu222
Since last 20.1.9 update lost ecryption in twrp. Installed the latest 3.3.1.1.perseus. since then got loops to twrp. But if i try to launch
fastboot boot C:\mimix\twrp-3.3.1-1-perseus.img it boots to the system.
How to fix it?
dont want to use my PC to start the system every time.
Regards
Most probably you get bootloop, because after the update the partition was encrypted, you need to either flash DisableForceEncryption_Treble.zip or make a backup and install fresh OS with the guide from scratch,
Hey. help me with my problem inversion of the axes of the accelerometer https://forum.xda-developers.com/android/help/inversion-rotated-x-y-axes-accelerometer-t4059277
flash persist did not help me
Root Mix 3 5G
Hello,
i have some problems at point of rooting. my phone accept twrp recovery it's fully working and stays as recovery but when i try to istall magisk 20.4, 19.3 or whatever it will stuck at Mi screen and won't boot. when i reflash original boot img it will boot again but no root. can someone help me?
thank you
Thank you so much for this guide Without it I would have gone a little crazy trying to do a simple reset and update of my phone Saved for reference and I always come back.

[GUİDE] [ROM] [10] How to install Pixel Experience ROM for Redmi 8 [GSI]

First of all, the download link of all the files required for this "ROM" is taken from the "xda developers forum" posts.
I was constantly experimenting with GSI roms for Redmi 8. I was able to install the Pixel ROM on Redmi 8. I don't think you will have a problem if you follow the steps I shared with you one by one.
I do not take responsibility for the ROM. RESPONSIBILITY IS ENTIRELY YOURS.
Not working
-Face unlock
-Radio
-VoLTE
(You need to make a setting for the camera, notch, LTE Mobile Network and auto-brightness. I told you how to make the settings.)
NOTE: A computer is required to make this ROM setup. It must also be installed in ADB on your computer.
Note: You can install this ROM Google Camera as apk. Unfortunately, there are no features such as Portrait, night mode in the original camera application of the device. However, you can use it if you install it as an apk.
Please download that files:
Download - Pixel Experience ROM GSI file
Download --- Sky Hawk Recovery file
Download - Permissiver V5
Download -Certification Patch for Redmi 8
Download -Treble overlay for Redmi 8
Download --- Lastest Magisk-v20.4
Here -Get the TWRP Official for Redmi 8
Download - vbmeta.img
Note: Please charge your phone at least 60%
First, take the necessary backups as your phone will be completely reset.
1- Unlock your bootloader. For unlocking follow this: http://en.miui.com/unlock/
2- Copy all the files to your SD Card (PixelExperience_ARM64AB-10.0-20200118-2138-GSI.img, SHRP_v2.2.zip, Permissiver_v5.zip, Certification_Patch.zip, Magisk-v20.4.zip, treble-overlay-xiaomi-redmi8.apk)
3-Enable USB debugging. Connect the phone your computer Then copy the twrp.img and vbmeta.img files to the adb folder.
Note: If the name of your twrp file is not twrp.img, please set its name to twrp.img.
4- Go to your computer, open adb folder in cmd, write that:
adb reboot bootloader
fastboot flash recovery twrp.img
fastboot flash vbmeta vbmeta.img
5- Now we will go to the restart phone command. At that moment, you should quickly hold down the volume up key and power button of your phone. Enter this command:
fastboot reboot
Then, hold down the power button with quick boost and turn on twrp.
6- Install Magisk-v20.4.zip in twrp.
Then restart the phone. After the phone reboots, check if Magisk is installed. Once you see it installed, reboot the phone in recovery mode.
7- Install SHRP_v2.2_olive.zip then reboot recovery.
8- Now find the wipe button and tap it. Then press the format data and confirm by typing yes.
9- Then tap wipe again and click on the wipe button at the bottom right.
10- Tap the wipe again and tap on advanced wipe. Select the Dalvik, data, cache, system partitions and reset them.
11- Now return to the main menu screen and tap flash. Select your SD card in the lower right section and tap the PixelExperience_ARM64AB-10.0-20200118-2138-GSI.img file. Then select it as system image and install it.
12- Return to the main menu and come to the flash section and install the file Permissiver_v5.zip.
13- Then go back to the flash section and install the Certification_Patch.zip file.
14- Return to the main menu, tap wipe and complete the wipe from the button on the bottom right.
15- Reboot the system. Your device will either boot in fastboot mode or be bootloop. (If you see it open normally and no problems occur, you can skip step 18.)
16- Go to fastboot mode.
17- Connect the phone to the computer and open the adb folder on cmd. Type:
fastboot flash recovery twrp.img
fastboot flash vbmeta vbmeta.img
fastboot reboot recovery
The phone will reboot and turn on. Please set up the phone and turn USB debugging back on.
18- After doing setup and enabling usb debugging, reboot to recovery mode and install magisk.zip. Then reboot the phone.
19- Install build prop editor(https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor&hl=en&pli=1) and root browser(https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en) from the Play Store.
20- Open root browser and allow root access then go to your SD card and find treble-overlay-xiaomi-redmi8.apk
21- Copy to treble-overlay-xiaomi-redmi8.apk on Root Directory/system/overlay/ folder.
22- Select treble-overlay-xiaomi-redmi8.apk file on overlay folder and tap the three dots in the top right and tap the properties.
23- Click on the Permissions at the top bar.
24- Select like this photo (link: https://lh3.googleusercontent.com/p...VrSOGT_V9Q2bzgy5IuE9nIfPslILJ1Vz=w429-h904-no ) and click apply then reboot system.
25- Open the build prop editor and allow root access. then tap the 3 dots in the upper right and tap new.
name= persist.camera.HAL3.enabled
value= 1
Set it to and save it. Restart the system.
26- Go to the dialer and dial *#*#4636#*#*. Tap Phone information and set "set preffered network type: LTE only." Then reboot system.
27- Finally, if you want to fix the appearance of the screen notch go to
developer settings >> display cutout and select corner cutout.
That was it. Please note that I am not a developer, so I cannot resolve any errors. I believe that if you apply them like me, you won't have a problem. I will be waiting for your comments. Have a nice day.
I´ll give it a try in my wife´s redmi 8, cus I had tried to flash a bunch of roms in that device and I had not success. Thanks
dngr.fun said:
I´ll give it a try in my wife´s redmi 8, cus I had tried to flash a bunch of roms in that device and I had not success. Thanks
Click to expand...
Click to collapse
You're welcome. If you encounter any problems, please let me know. If you follow what I wrote under normal conditions step by step, you won't have a problem.
Query before flashing
Hello Boss,
on checking the system by "Treble Check" app, it is showing that it is A-type System partition. And the ROM you suggested is AB type. Is there any thing i should worry about before flashing.
I am currently using Lineage OS (unofficial), and following functions doesn't work on it.
Finger print
VOLTE
Radio
face unlock
What about this ROM functionality.
hrwt20 said:
Hello Boss,
on checking the system by "Treble Check" app, it is showing that it is A-type System partition. And the ROM you suggested is AB type. Is there any thing i should worry about before flashing.
I am currently using Lineage OS (unofficial), and following functions doesn't work on it.
Finger print
VOLTE
Radio
face unlock
What about this ROM functionality.
Click to expand...
Click to collapse
At first I tried installing A-only on my device but it didn't work. It worked when I installed A / B. So please try A / B GSI. Because the device you have is probably A / B, not A-Only.
Finger print is working and face unlock is not have in Pixel Experience ROM.
VOLTE and Radio is not working bro.
I will list all the features that work by edit the post today or tommorrow bro
Certification_patch.zip
Whats the use for certification_patch.zip file?
Does it fixes the certification status in google play store?
Also, Can this file be used in any othe gsi too?
coolboyforeva said:
Whats the use for certification_patch.zip file?
Does it fixes the certification status in google play store?
Also, Can this file be used in any othe gsi too?
Click to expand...
Click to collapse
This file exists to integrate the model of the device into rom. I don't know much about google play and you can also install this and permissiver_v5 with other gsi roms. These only for Redmi 8.
hrwt20 said:
Hello Boss,
on checking the system by "Treble Check" app, it is showing that it is A-type System partition. And the ROM you suggested is AB type. Is there any thing i should worry about before flashing.
I am currently using Lineage OS (unofficial), and following functions doesn't work on it.
Finger print
VOLTE
Radio
face unlock
What about this ROM functionality.
Click to expand...
Click to collapse
Before system-as-root was used only on A/B devices but now all devices that ship with Android 9 must use system-as-root. Because of this reason you need to flash A/B roms on A-Only on these devices. As you can see from this page's device list, Redmi 8's image type is A/B so you need to flash an A/B image: https://github.com/phhusson/treble_experimentations/wiki
Does the sensor work? I tried other gsi and custom roms and sensors like accelerometer doesnt work..
Abdul Aziz Shakib said:
Does the sensor work? I tried other gsi and custom roms and sensors like accelerometer doesnt work..
Click to expand...
Click to collapse
All sensors working
i tried it and the sensors didn't work. i needed to flash stock rom and then pixel rom over the stock rom to get it work. seems logical, had no issue so far except the camcorder. when i record a video, lets say i recorded a video for 10 second. but when i play the video, it becomes 1hour video and the sound doesn't sync with the video. video stays frozen the whole time and plays normally at the last few seconds. i tried other gsi and had the same issue. is something wrong? any known solution? are you facing the same problem? if not, then which camera app you are using? thanks in advance because pixel experience is working now after following ur steps
Yes, there is a problem in this regard. Unfortunately, I could not solve this problem. I usually use Instagram cam for video. You can try bro
Abdul Aziz Shakib said:
i tried it and the sensors didn't work. i needed to flash stock rom and then pixel rom over the stock rom to get it work. seems logical, had no issue so far except the camcorder. when i record a video, lets say i recorded a video for 10 second. but when i play the video, it becomes 1hour video and the sound doesn't sync with the video. video stays frozen the whole time and plays normally at the last few seconds. i tried other gsi and had the same issue. is something wrong? any known solution? are you facing the same problem? if not, then which camera app you are using? thanks in advance because pixel experience is working now after following ur steps
Click to expand...
Click to collapse
I use havocOs gsi. It has same problem. Solution:
1. record a video.
2. do not close camera app.
3. open video from the camera app not from gallery.
4. play the video once.
if that plays then you can open that same video from any app.
try that, might work.
kouseralamin said:
I use havocOs gsi. It has same problem. Solution:
1. record a video.
2. do not close camera app.
3. open video from the camera app not from gallery.
4. play the video once.
if that plays then you can open that same video from any app.
try that, might work.
Click to expand...
Click to collapse
it works sometimes but not always.. Currently I am using Havoc OS and it doesn't have a gallery app. So I downloaded "Gallery Go" from playstore and when I try to open the video from the camera app, it opens with gallery go app.
to be noted, i have added some commands in build.prop..
media.camera.ts.monotonic=0
debug.stagefright.ccodec=0
persist.camera.HAL3.enabled=1
i don't know what these do but these commands were mentioned somewhere to enable camera2api..
am i missing something?
kouseralamin said:
I use havocOs gsi. It has same problem. Solution:
1. record a video.
2. do not close camera app.
3. open video from the camera app not from gallery.
4. play the video once.
if that plays then you can open that same video from any app.
try that, might work.
Click to expand...
Click to collapse
try this for video recording , go to phh treble settings, go to Misc, go to camera force timestamp, clock boottime
Redmi 4A abdal said:
try this for video recording , go to phh treble settings, go to Misc, go to camera force timestamp, clock boottime
Click to expand...
Click to collapse
Thanks, I tried it in the havocOs and it is fully ok now.
Hello, is Bluetooth audio working?
Is there an option for internet speed indicator on this rom?
IS TBH
sessionid0 said:
First of all, the download link of all the files required for this "ROM" is taken from the "xda developers forum" posts.
I was constantly experimenting with GSI roms for Redmi 8. I was able to install the Pixel ROM on Redmi 8. I don't think you will have a problem if you follow the steps I shared with you one by one.
I do not take responsibility for the ROM. RESPONSIBILITY IS ENTIRELY YOURS.
Not working
-Face unlock
-Radio
-VoLTE
(You need to make a setting for the camera, notch, LTE Mobile Network and auto-brightness. I told you how to make the settings.)
NOTE: A computer is required to make this ROM setup. It must also be installed in ADB on your computer.
Note: You can install this ROM Google Camera as apk. Unfortunately, there are no features such as Portrait, night mode in the original camera application of the device. However, you can use it if you install it as an apk.
Please download that files:
Download - Pixel Experience ROM GSI file
Download --- Sky Hawk Recovery file
Download - Permissiver V5
Download -Certification Patch for Redmi 8
Download -Treble overlay for Redmi 8
Download --- Lastest Magisk-v20.4
Here -Get the TWRP Official for Redmi 8
Download - vbmeta.img
Note: Please charge your phone at least 60%
First, take the necessary backups as your phone will be completely reset.
1- Unlock your bootloader. For unlocking follow this: http://en.miui.com/unlock/
2- Copy all the files to your SD Card (PixelExperience_ARM64AB-10.0-20200118-2138-GSI.img, SHRP_v2.2.zip, Permissiver_v5.zip, Certification_Patch.zip, Magisk-v20.4.zip, treble-overlay-xiaomi-redmi8.apk)
3-Enable USB debugging. Connect the phone your computer Then copy the twrp.img and vbmeta.img files to the adb folder.
Note: If the name of your twrp file is not twrp.img, please set its name to twrp.img.
4- Go to your computer, open adb folder in cmd, write that:
adb reboot bootloader
fastboot flash recovery twrp.img
fastboot flash vbmeta vbmeta.img
5- Now we will go to the restart phone command. At that moment, you should quickly hold down the volume up key and power button of your phone. Enter this command:
fastboot reboot
Then, hold down the power button with quick boost and turn on twrp.
6- Install Magisk-v20.4.zip in twrp.
Then restart the phone. After the phone reboots, check if Magisk is installed. Once you see it installed, reboot the phone in recovery mode.
7- Install SHRP_v2.2_olive.zip then reboot recovery.
8- Now find the wipe button and tap it. Then press the format data and confirm by typing yes.
9- Then tap wipe again and click on the wipe button at the bottom right.
10- Tap the wipe again and tap on advanced wipe. Select the Dalvik, data, cache, system partitions and reset them.
11- Now return to the main menu screen and tap flash. Select your SD card in the lower right section and tap the PixelExperience_ARM64AB-10.0-20200118-2138-GSI.img file. Then select it as system image and install it.
12- Return to the main menu and come to the flash section and install the file Permissiver_v5.zip.
13- Then go back to the flash section and install the Certification_Patch.zip file.
14- Return to the main menu, tap wipe and complete the wipe from the button on the bottom right.
15- Reboot the system. Your device will either boot in fastboot mode or be bootloop. (If you see it open normally and no problems occur, you can skip step 18.)
16- Go to fastboot mode.
17- Connect the phone to the computer and open the adb folder on cmd. Type:
fastboot flash recovery twrp.img
fastboot flash vbmeta vbmeta.img
fastboot reboot recovery
The phone will reboot and turn on. Please set up the phone and turn USB debugging back on.
18- After doing setup and enabling usb debugging, reboot to recovery mode and install magisk.zip. Then reboot the phone.
19- Install build prop editor(https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor&hl=en&pli=1) and root browser(https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en) from the Play Store.
20- Open root browser and allow root access then go to your SD card and find treble-overlay-xiaomi-redmi8.apk
21- Copy to treble-overlay-xiaomi-redmi8.apk on Root Directory/system/overlay/ folder.
22- Select treble-overlay-xiaomi-redmi8.apk file on overlay folder and tap the three dots in the top right and tap the properties.
23- Click on the Permissions at the top bar.
24- Select like this photo (link: https://lh3.googleusercontent.com/p...VrSOGT_V9Q2bzgy5IuE9nIfPslILJ1Vz=w429-h904-no ) and click apply then reboot system.
25- Open the build prop editor and allow root access. then tap the 3 dots in the upper right and tap new.
name= persist.camera.HAL3.enabled
value= 1
Set it to and save it. Restart the system.
26- Go to the dialer and dial *#*#4636#*#*. Tap Phone information and set "set preffered network type: LTE only." Then reboot system.
27- Finally, if you want to fix the appearance of the screen notch go to
developer settings >> display cutout and select corner cutout.
That was it. Please note that I am not a developer, so I cannot resolve any errors. I believe that if you apply them like me, you won't have a problem. I will be waiting for your comments. Have a nice day.
Click to expand...
Click to collapse
Is there a way to flash it without SD card???my adb sideloader also doesnt open
I will try it tank you

[ROM] [GUIDE] - HOW TO INSTALL CRDROID 7.5 ANDROID 11 ON REDMI 8 (GSI but all work)

Hi, here's a guide on how install crDroid 7.5 (A11) on Redmi 8
UPDATE: THERE'S 7.5 VERSION AVAIABLE, IF YOU ARE USING 7.4 FOLLOW THIS STEPS TO UPDATE WITHOUT LOSING DATA (NEW ROM IS IN MEGA FOLDER, ):
1- Reboot in recovery
2- Go to Wipe -> Avanced wipe -> wipe dalvik, cache and system
3- Go to Reboot -> Recovery
4- Now follow the normal guide from the flashing of the .img file as system image
VERY IMPORTANT: DON'T FORMAT DATA AFTER FLASHING GSI FIXER OR YOU WILL LOST ALL YOUR DATA
Features:
- All functions of the phone work (face unlock, fingerprint, voLTE, voWIFI, hotspot, bluetooth, fast charge, DT2W, ...)
- Magisk safetynet passed without flash nothing (screenshot at the bottom)
- Permissive Selinux by default (in settings is writing disabled, it's wrong) but you can switch to enforcing with
SelinuxModeChanger app, apk at the bottom
What doesn't work
- Nothing if you use fixes below
Note 1: You may have problems with the brightness or sim calls/sms, there are solutions:
- For brightness: Open settings -> Go in "Phh Treble Settings" -> "Misc Features" -> Scroll until you are in backlight menu -> Select "Force alternative backlight scale" and "Enable auto-brightness overlay" -> then deselect both and reboot
- For sim calls: Open settings -> Go in "Network and internet" -> "Mobile network" -> Tap on "Preferred network type" and select "GSM/WCDMA/LTE" or "Global" (try which is better for you) and then reboot
Note 2: If you fing bugs tell me in comments, maybe I could help you (I'm not the developer of the rom)
​IMPORTANT ADVICE:​I am not responsible for any damage caused to your device by not following the steps, all the steps were tested on my personal device and are confirmed, my device is Redmi 8 4/64
Installation Steps - All the files you need are HERE​
Note 3: I did the installation coming from Mui 12.0.1 stock (flashed in fastboot with Mi Flash) and there was no problem in the installation process or in the boot process, YOU NEED THIS ROM IF YOU WON'T PROBLEMS
1- First make a backup of all the necessary information in case something goes wrong you can easily recover, Charge the battery at least 80%
All your data will be deleted during the process
2- Unlock the Bootloader if you have not already done it or do not know how to, follow this post: http://en.miui.com/unlock/
3- Before continue following steps estract on pc "crdrom-v302-210315-arm64-bvZ.img" from "crdrom-v302-210315-arm64-bvZ.img.xz" and activate USB debug in phone settings
4- Reboot in fastboot and connect the phone to the pc with cable
5- Install on pc minimal adb tool (zip at the bottom), flash the TWRP recovery typing " fastboot flash recovery ", now drag twrp file near the command, then vbmeta typing " fastboot --disable-verity --disable-verification flash vbmeta " and drag vbmeta file near the command. Finished the procedure type " fastboot reboot " and hold volume + on the phone until you see the recovery screen
6- Scroll on the slider at the bottom of the phone screen to access in the TWRP
7- Go to Wipe -> Format data -> type "yes"
8- Go to Reboot -> Recovery
9- Go to Wipe -> Avanced wipe -> wipe dalvik, data, cache and system
10- Go to Reboot -> Recovery
NOW YOU HAVE TO TRANSFER ALL OTHER FILES OR IN THE INTERNAL STORAGE OF THE PHONE OR IN SD/USB WITH OTG CABLE
11- Go to Install -> Select the storage where you have files -> Install img -> select "crdrom-v306-210425-arm64-bvZ.img" (Extracted from the .xz file) -> select "system image" and flash
12- Wait and then go to Reboot -> Recovery
13- Wipe -> Advanced wipe -> select "system" and click on "Repair or change file system" -> Resize system
14- Wait and then go to Reboot -> Recovery
15- Install -> Select the storage where you have files -> Flash "GSI-BUGS-FIXER_11_Q.zip"
16- Wipe -> Format data -> type "yes"
17- Wait and then go to Reboot -> Recovery
18- Install -> Select the storage where you have files -> Flash "BiTGApps-arm64-11.0.0-R19_signed.zip"
19- Wait and then go to Reboot -> System
20- Configure phone and enjoy your new rom
Note 4: I reccomend you to flash magisk after you have configured the rom to avoid problems, I leave you the zip to flash in recovery below
Note 5: I reccomend you the best gcam I've found for Redmi 8, everything works except slow motion, link HERE
Thanks for the attenction​
-Estatè
Happy that many GSI roms are under develment. I hope this phone will die due to hardware, as there are lots of options in future to keep the software updated.
Anyway, if someone intends to try, following is the link of all GSI Roms.
Generic System Image (GSI) list
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Can i flash vbmeta through recovery
Naulels said:
Can i flash vbmeta through recovery
Click to expand...
Click to collapse
Hey
I'm not using crDroid yet, but I've already installed TWRP.
It is advertised that you should flash vbmeta when you're installing TWRP.
I hope I can help you
Hey !
I wanna try this but I have rooted my phone so here is my question : do I need to remove the root to install this GSI ?
Thx a lot
Volume doesn't work correctly, I cannot increase or decrease the volume. And I plugged my headphone not play through headphone, it play through speaker. Sorry my English
Naulels said:
Can i flash vbmeta through recovery
Click to expand...
Click to collapse
No, you have to flash it with ADB like twrp
letouvetpierre said:
Hey !
I wanna try this but I have rooted my phone so here is my question : do I need to remove the root to install this GSI ?
Thx a lot
Click to expand...
Click to collapse
I recommend you to remove it from the magisk app to avoid problems but I think that would be the same
Naulels said:
Volume doesn't work correctly, I cannot increase or decrease the volume. And I plugged my headphone not play through headphone, it play through speaker. Sorry my English
Click to expand...
Click to collapse
I haven't this problem, have you flashed the gsi fixer? Did you start the installation from miui 12.0.1? It's really important, anyway, you can try to do again the procedure
Does VoLTE and VoWIFI works ? It's a GSI so I'm not thinking it works...
letouvetpierre said:
Does VoLTE and VoWIFI works ? It's a GSI so I'm not thinking it works...
Click to expand...
Click to collapse
Yes, all work fine becouse you flash the gsi fixer for gsi roms on redmi 8
Estatè Mosconi said:
I haven't this problem, have you flashed the gsi fixer? Did you start the installation from miui 12.0.1? It's really important, anyway, you can try to do again the procedure
Click to expand...
Click to collapse
I have reinstalled and fixed it, thanks
Hey !
I'm so happy !
Everything works on that GSI rom, but I haven't the certification on SafetyNet.
With the covid-tracing app, there is a little problem but it's with all the custom roms so...
Thanks a lot for your guide !
letouvetpierre said:
Hey !
I'm so happy !
Everything works on that GSI rom, but I haven't the certification on SafetyNet.
With the covid-tracing app, there is a little problem but it's with all the custom roms so...
Thanks a lot for your guide !
Click to expand...
Click to collapse
Hi, I'm happy for you, for safetynet try the magisk module, I didn't have this problem, anyway, try the rom and than leave a feedback, it could be useful for other people who want to try this rom
I can't get this rom to work correctly. Did the steps as described, but it has SELinux not enforced and Google play isn't certified. Tried multiple times.
EDIT: seems my phone is soft bricked now (Can't install any rom). Going back to xaomi stock to try again.
I tried again and got it to work. The certificate patch throws an error but Google apps are working.
I get an SE Linux not enforcing error. though.
Is there anything I can do about that?
I lost the treble-overlay-xiaomi-redmi8.apk file ,I should problems with the brightness
ndduc said:
I lost the treble-overlay-xiaomi-redmi8.apk file ,I should problems with the brightness
Click to expand...
Click to collapse
There is the solution for brightness in the guide, you don't need that file
Estatè Mosconi said:
There is the solution for brightness in the guide, you don't need that file
Click to expand...
Click to collapse
thanks you, i fixed
ndduc said:
thanks you, i fixed
Click to expand...
Click to collapse
Ok good

[GUIDE/TUTORIAL/HOWTO] Google Nexus 4 from Stock to Android 11

[GUIDE/TUTORIAL/HOWTO] Google Nexus 4 stock to Android 11
[GUIDE/TUTORIAL/HOWTO] Google/LG Nexus 4 E960/mako stock to Android 11 / LineageOS 18.1
This detailed step-by-step guide helps you transform your Google Nexus 4 with Android 5.1 to a powerful one with Android 11.
### I'll make a few notes using this style: PLEASE READ THEM.
Before going further, make sure you have the correct model.
Go to Settings > About phone > Model number: Nexus 4
If not, you can quit this tutorial now.
Right below, check for Android version, if not 5.1.1:
Connect to Wifi network and go to System updates submenu > Check for update.
Install updates.
If Android is 5.1.1, tap 7 times on Build number to unlock Developer settings.
See you down there.
CHANGELOG
v4. Moved to BiTGApps
v3. Moved to Android 11
v2. Updated for Netflix SD/Disney+ (try and tell me), update pack
v1. Initial release
1) DOWNLOAD
- djibe Nexus 4 pack: https://drive.google.com/file/d/1RAQ6v7iycSLMdUr2hBh4RPvVzIZifIVR/view?usp=sharing
(contains USB drivers r13 + fastboot & adb + voron00 TWRP recovery 3.5.0_9-0 + Magisk root).
Unzip pack on Windows desktop.
+ ROM LineageOS 18.1 Unofficial: https://forum.xda-developers.com/t/rom-unofficial-lineageos-18-1-mako.3758779/
Download latest build: https://drive.google.com/open?id=1e-mO4qaEP1y0wrBbbPwsISdJuW_TeLQo
Not working: Widevine DRM (Netflix won't play HD)
+ BiTgapps Package ARM 11: https://github.com/BiTGApps/BiTGApps-Release/releases
+ Phone must be fully charged to 100%
2) INSTALL WINDOWS DRIVERS AND BACKUP
Go to the folder you unzipped earlier.
navigate to usb_driver_r13-windows > usb_driver.
Right click on android_winusb.inf and select Install. Confirm with OK.
Restart Windows.
Make sure Google/provider account is synchronized.
Backup photos, documents, contacts, WhatsApp before going any further (ex: use the backupyourmobile app).
Connect phone to PC and retrieve data.
3) UNLOCK BOOTLOADER OF GOOGLE NEXUS 4
Go to Settings > Developer options and switch USB debugging ON.
Open a Windows command prompt on the /djibe pack folder you unziped earlier:
select folder with left click, right click while holding SHIFT on keyboard > Open command windows here
Connect phone to PC.
Enter command
Code:
adb devices
, confirm commands by pressing Enter.
Command starts adb and returns
Code:
004d206a1416f1bb unauthorized
ADB (Android Debug Bridge) has started but phone is waiting for authorization.
On phone, authorize adb commands from Allow USB debugging dialog: tap on OK.
Enter command
Code:
adb devices
Command now returns
Code:
004d206a1416f1bb device
Then enter command
Code:
adb reboot bootloader
Phone restarts and prints a Droid with on the last line: LOCK STATE - locked
### All data will be erased !
Enter command
Code:
fastboot oem unlock
Using Volume+, select Yes - Unlock bootloader, confirm by pressing Power.
Droid's last line is now: LOCK STATE - unlocked, phone is unlocked !
Then use Volume keys to select Start and Power to confirm.
Wait during long boot.
4) FLASH TWRP 3.5 RECOVERY
Back to Android, unlock Developer options and activate USB debugging again.
Now enter again
Code:
adb reboot bootloader
Droid shows up again on phone.
Now enter
Code:
fastboot flash recovery voron00-recovery-mako.img
Command returns Finished. Total time: 1.828s
Use Volume keys to select Recovery mode, confirm with Power.
Welcome to TWRP recovery.
Check Never show this screen during boot again and Swipe to Allow Modifications.
Go to Backup > select Boot, System and Data partitions.
Swipe to Backup and wait during backup.
Back to home screen > Mount.
You can access folders from PC if Data partition is checked and bottom right button displays Disable MTP.
From Windows Explorer, navigate to Nexus 4 > Internal Storage.
Copy TWRP folder and paste it somewhere safe on PC.
This is a perfect backup in case of crash.
5) RESIZE PARTITIONS
ROM requires at least 1272 MB on /system partition.
### The following script will work only on stock partition table.
### DO NOT use it on a reconfigured device (but see Clamor repartition: https://forum.xda-developers.com/t/repartition-nexus-4-repartition-mako-8gb-16gb-ua-twrp.3844383/)
Copy repartition_mako.zip into Internal Storage partition, along TWRP and DCIM folder (this time from PC > phone).
Disconnect phone.
### Make sure battery is > 50%
Back to TWRP Home > Install.
Scroll down to see repartition_mako.zip > tap on it and Swipe to confirm Flash.
Wait during repartition, phone auto reboots to TWRP.
6) WIPE PARTITIONS
Now go Wipe > Advanced Wipe.
Select Dalvik / ART Cache, System, Data, Internal Storage, Cache and Swipe to Wipe.
Tap on Home button > Reboot > Recovery > Swipe to Reboot.
### Don't try F2FS, it won't work.
7) FLASH ANDROID + BITGAPPS + MAGISK
On restart, check Never show this screen during boot again and Swipe to Allow Modifications.
Back to Mount.
Copy ROM + GAPPS + Magisk.
Select lineage-*.zip
Then back to Home > Reboot > Recovery.
Go back to Install > select bitgapps*.zip and flash.
Opional for root: Then back to Home > Reboot > Recovery
Install > Magisk*.zip
When done message prompts, tap on Wipe Cache/Dalvik and Swipe to Wipe, wait.
Disconnect phone from PC.
Then tap on Reboot System.
Let the phone boot (about 10 minutes).
8) ROOT WITH MAGISK
Configure Android as you like.
Magisk root starts with Android, no extra manipulation needed.
You can manage permissions and extra modules with Magisk Manager app.
Open Magisk app (v23+).
Go to Settings > go to App Rename app to Godmode to hide it.
Below, switch MagiskHide ON.
Now go to Magisk Modules tab > install liboemcrypto disabler and MagiskHide Props Config.
Connect to your Google account, download from Play Store Netflix and Disney+.
### If you are already connected to Google account.
Clear cache (Settings > Apps > All apps > Google Play Store > Storage > Clear storage) and restart tab.
Relaunch Play Store, Netflix and Disney+ will be available in SD.
9) OTHER APPS
- You can use GPS Status & Toolbox for faster GPS fix.
- Developer options
Settings > About phone
Tap 7 times on build number.
Back to Settings > System > Advanced > Developer options
Set Windows animation scale, Transition animation scale and Animator duration scale to .5x
That's it.
Enjoy ;-)
Thanks: @voron00, @Ziyan, @Clamor, TWRP team, LineageOS team, OpenGApps team
--------------------------------
Boot in recovery mode
Power down phone.
Hold Volume+ + Volume- + Power 2 seconds and release.
Then use Volume keys to select Recovery mode and confirm with Power.
Tutorial updated for Netflix and Disney+
Hi, updated for Android 11
Hey thanks for the relly good description. I have only one Problem. Iam not able to use the phone with Gapps. Installation works and the phone starts. but after config some essentials like time an wirelesslan i see the big cycle from google. I waited all night long but it stucks. Installation without gapps works perfect (with lineageos first start routine). Have any ideas? Or ist at possible to get a backapp to load it with TWRP restore?
Update: i tried bitgapps and now it works.

[HOWTO][SM-T590] Samsung Tab A 10.5 (2018) GSI installation + twrp + prevent bootloop + magisk + gapps + safetynet

[HOWTO][SM-T590] Samsung Tab A 10.5 (2018) GSI installation + twrp + prevent bootloop + magisk + gapps + safetynet​
This is my first tuto for the SM-T590 Tab. I´ve tried to install GSI for days. The results was bootloops. So I asked some people, readed some stuff. And voila it´s working. So I would like to share my experience to you.
First of all I would like to say thanks to all the people who helped me to understand some things. But a BIG THANKS goes to @UDPSendToFailed . Thank you for your patience with me .
It should be clear but I would like to write it down here.. I am not a professional and collection my knowledge from other sites and threads. So I am not responsible for data loss, device bricking or other stuff. Thank you.
Prerequisites​- working ADB and fastboot, ubuntu suggested​- odin and odin patched version​- all necessary files: twrp.img; stock FW (latest); GSI Image (a64-binder); Magisk; Disable-DM-Verity.zip​
Enable developer settings and allow OEM unlock​- go to settings, system, about the phone; click several times on build-number​- go back to main, then more settings, developer options​- toggle USB debugging + OEM unlock​
Prepare download mode for odin​- connect the tab to your computer and run the following codes:​
Code:
adb devices
there should be a message to authorize adb to your device​
Code:
adb reboot bootloader
now we should be in download mode​
Flash stock FW​- download latest FW​- open odin (unmodified), choose FW files (AP, BL,CSC)​- click start, be patient, if finished it will reboot to system, close odin​- walk through the setup​
Flash recovery/twrp​- open modded odin​- select "AP" and open the recovery file​- hold volume up and then press start (if you´re not it will boot to system and overwrite recovery)​
Flash GSI​- so now inside twrp..​- follow those steps exactly; very important; otherwise you will end up in a bootloop​- go to "wipe" and select format data, confirm with "yes"​- reboot to recovery again, otherwise twrp wont have access to internal storage​- again to "wipe", then "factory reset"​- go back to "install" section, toggle "install zip" to "install img"​- select your GSI image and choose "install to system"​- when finished go back to "wipe" section​- select "Advance Wipe" then select "System" and then "Repair or Change File System"​- click on "Resize File System" and swipe to confirm​- now go back to "install" section and flash first Disable-DM-Verity and if wanted Magisk24.1 afterwards​- if also needed you can now install gapps​
Pass Safetynet​- boot up system and open magiskmanager​- go to "modules" section and install "hide props config​- download "termux terminal"​- open "termux terminal" and type su; grant root​- type props and choose option "1 - Edit device fingerprint"​- choose "f"​- choose "26 - samsung"​- choose "85 - sm-t590"​- confirm with "y" twice!​
Congrats. Now your GSI should boot up. If you have any questions or suggestions please dont hesitate to let me know.
P.s. please be patient with my English, I am from Germany.
Hey,
i trying to install crdrom 315 on my SM-T590
but every times i get the boootloop
my Firmware => T590XXU3CTF9_T590OJM3CTG1_XSG
Android 10
--> boot stock --> enable usb debbugging and OEM (OEM works only with wifi connection)
--> adb reboot recovery --> wipe data .... reboot Bootloader
--> Install TWRP with patched odin --> directly in TWRP --> format data --> reboot recovery
--> wipe data Factory reset --> install from SD crdrom (crdrom-v315+220220-arm-avZ.img) --> wipe Resize
--> Install disable DM ... (Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip)
--> reboot system = loop
can you help me --> wegen mir auch in Deutsch
Grüße von Deutschland to Germany
AET
Hello there,
to bes sure... what was your exact step for resizing system partition? It was the minor reason for me that the os wont boot up. In my case I´ve only tested AOSP right now.
Maybe your bootloop is caused by the os itself. I am now not at home for about 6 weeks but I´ll give it a try and will let you know ASAP.
You can try AOSP GSI for the meantime.
Grüße auch aus DBT!
my Problem was the wrong ROM i used the arm ROM but for the sm-t590 you need the a64 (binder) ROM OK, its working fine but i head a Problem with my MAC Adress every boot i have another WiFi MAC adress i tested AOSP crdrom and many other but all the same, in the developer Mode the Random MAC is still disabled! how can i fix the MAC adress?
i try it with busybox and ifconfig ..... but i get allways a denied
Hey,
I am sorry to let you know that I am not a developer and so it is not easy for me to understand which part of OS will cause the problems with the mac adress as in your case.
But I think I´ve heard about that problem in the past.
Glad to hear that GSI is working for you right know.
Greetings.
and you have no problems with the wifi? or you have not noticed the changing MAC address?
can you tell me which versions you have flashed
stock Rom Android 10?
and which ASOP version?
--> then I try that times like you
I would really like a custom ROM without ONE UI, but I carry my tablet around in public. Can I set a password on this GSI or will there be a bootloop? And I think that the roms from the T590 will be installed on the T595, since the difference is only in the LTE module? (Well, about the same as on the Nexus 9 LTE / WiFi?)
i have a password set up but i had to deleting keystore.mdfpp.so and keystore.msm8953.so from /vendor/lib/hw after this you can set a password without bootloop!
The only problem I have with it is that my MAC address keeps changing and every now and then the connection drops!

Categories

Resources