Related
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.
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
[GUIDE/TUTORIAL/HOWTO] Google Nexus 7 2012 stock to Android 7.1
[GUIDE/TUTORIAL/HOWTO] Google Nexus 7 2012 3G/tilapia or wifi-only/grouper to Android 7.1 Nougat / LineageOS 14.1
This detailed step-by-step guide helps you transform your Google Nexus 7 (3G or wifi) with Android 5 to a powerful one with Android 7.1 Nougat.
Don't expect stable Android 8 or 9 on this tab, but 7.1 is already perfect ;-)
### 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 tablet > Model number: Nexus 7
And on tablet's back cover: Nexus is written horizontally (vertically on 2013 model)
### See here if not clear: https://android.stackexchange.com/questions/58273/how-to-distinguish-nexus-7-2012-and-nexus-7-2013
And if you have a SIM card slot on the side, it is a 3G model (codename tilapia), if not, Wifi only alias grouper.
Make sure you have latest official updates.
Connect tab to Wifi network.
Go to Settings > About > Update. Download if update is available.
CHANGELOG
v3. Improve readability + update TWRP + gapps-config.txt (thx to @23deanor)
v2. Minor updates for tutorial + pack
v1. Initial release
1) DOWNLOAD
- djibe Nexus 7 2012 pack: https://bit.ly/djibe-nexus7-2012-packv2
(contains USB drivers r13 + fastboot & adb + TWRP recovery 3.5.2_9-0 + gapps-config.txt by @aaopt + working OpenGapps pico + Magisk root).
### Use Incognito web browser mode if needed to download pack.
Unzip pack on Windows desktop.
For 3G model/tilapia:
ROM LineageOS 14.1: https://forum.xda-developers.com/t/rom-7-1-2-tilapia-unofficial-lineageos-14-1-2021-01-11.3978723/
Download latest build: https://androidfilehost.com/?fid=17248734326145713539
For Wifi model/grouper:
ROM LineageOS 14.1: https://forum.xda-developers.com/t/rom-7-1-2-grouper-unofficial-lineageos-14-1-2021-01-11.4112431/
Download latest build: https://androidfilehost.com/?fid=17248734326145713542
Google Apps are included in my pack (open_gapps-arm-7.1-pico-20190209.zip)
Tablet 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 before going any further (ex: use the backupyourmobile app).
Connect tab to PC and retrieve data.
3) UNLOCK BOOTLOADER OF GOOGLE NEXUS 7 2012
In Android, go to Settings > About tablet.
Tap 7 times on "Build number", a notification confirms Developer menu is unlocked.
Go to Settings > Developer options and check 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 tab to PC.
Enter command
Code:
adb devices
Command starts adb and returns
Code:
015d3b668413fc0d unauthorized
ADB (Android Debug Bridge) has started but tab is waiting for authorization.
On tablet, authorize adb commands from Allow USB debugging dialog: tap on OK.
Then enter command
Code:
adb reboot bootloader
Tab restarts and prints a dark screen with message: LOCK STATE - LOCKED
Enter command
Code:
fastboot oem unlock
Using Volume+, select Yes - Unlock bootloader, confirm by pressing Power.
Use Volume keys to select Reboot and Power to confirm.
Tablet is unlocked.
Configure Android fast, reactivate Developer options and USB debugging.
Then restart tablet to bootloader using once again
Code:
adb reboot bootloader
4) FLASH TWRP 3.5 RECOVERY
Now enter this command
Code:
fastboot flash recovery twrp-3.5.2_9-0-tilapia.img
### Or for Wifi only model:
Code:
fastboot flash recovery twrp-3.5.2_9-0-grouper.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 Swip to Allow Modifications.
Go to Backup > select System, Data, Boot partitions.
Swipe to Backup and wait during backup.
Back to home screen > Mount.
You can access folders from PC if Data partition is checke and bottom right button show Disable MTP.
From Windows Explorer, navigate to Nexus 7 > Internal Storage.
Copy TWRP folder and paste it somewhere safe on PC.
This is a perfect backup in case of crash.
5) SET FILESYSTEM TO F2FS
F2FS is the fastest filesystem for read and write partitions on flash memories. Compared to EXT4, gain is from 15 to 280%.
No need to format the /System partition because it is Read only and Ext4 is still faster.
Now go Wipe > Advanced Wipe.
Select Dalvik / ART Cache, System, Cache, Data, Internal Storage and Swipe to Wipe.
Tap on Back button (to Advanced Wipe Menu).
Select /cache partition > Repair or Change File System > Change File System > F2FS, Swipe.
Go Back and back to Advanced Wipe Menu.
Select /data partition > Repair or Change File System > Change File System > F2FS, Swipe.
Tap on Home button > Reboot > Recovery > Swipe to Reboot
6) FLASH ANDROID + OPENGAPPS + MAGISK
On restart, check Never show this screen during boot again and Swipe to Allow Modifications.
Back to Mount menu.
Connect tab to computer.
Copy ROM + GAPPS + gapps-config.txt + Magisk
### Do not unzip files. Copy and paste zip files to Internal Storage
### Copy gapps-config.txt or you will get an "insufficient space" crash during flash.
Then go back to Home menu > Install
Select lineage-*.zip, and Add More Zips,
then open_gapps-arm-7.1-pico-20190209.zip and Add More Zips,
then Magisk.zip and Swipe to force install.
Be patient.
### If it fails, install zips 1 by 1.
Android 7.1 is installed !
When done message prompts, tap on Wipe Cache/Dalvik and swype to confirm, wait.
Disconnect tab from PC.
Then Reboot System.
Let the tab start (at least 10 minutes).
7) ROOT WITH MAGISK
Configure Android as you like.
Magisk root starts with Android.
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 hide.
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.
10) OTHER APPS
- You can use GPS Status & Toolbox for faster GPS fix.
- Developer options
Settings > About tablet.
Tap 7 times on build number.
Back to Settings > Developer options
Select USB Configuration > set MTP
Set Windows animation scale, Transition animation scale and Animator duration scale to .5x
- In Developer options, you may try Force GPU rendering.
Much faster on my tab, tell me if it does (or not for you)
That's it.
Enjoy ;-)
Thanks: ud4, AndDiSa, aaopt, TWRP team, LineageOS team, OpenGApps team
hi is there a video tutorial for this bit
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
i've never used command prompt or adb,thanks
tonybhoy said:
hi is there a video tutorial for this bit
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
i've never used command prompt or adb,thanks
Click to expand...
Click to collapse
Hi, you may try this: https://www.thewindowsclub.com/how-to-open-command-prompt-from-right-click-menu
djibe89 said:
Hi, you may try this: https://www.thewindowsclub.com/how-to-open-command-prompt-from-right-click-menu
Click to expand...
Click to collapse
hi,i can open cmd prompt i just don't know how to get it to find the folder i'm looking for,the flash one i think
this is all i get
tonybhoy said:
this is all i get
Click to expand...
Click to collapse
Hi,
it seems you didn't read well the WindowsClub tutorial.
3 choices:
From within the /flash folder, enter "cmd" in the address bar and hit ENTER. It will open the CMD in the /flash context.
Copy path of folder from Windows Explorer address bar and enter following command in CMD:
cd /d (CTRL + V TO PASTE THE PATH)
Move to the parent directory (/djibe). Select /flash folder, then hold SHIFT and right click Open command here.
Command will open on the /flash context.
djibe89 said:
Back to home screen > Mount.
You can access folders from PC if Data partition is checke and bottom right button show Disable MTP.
From Windows Explorer, navigate to Nexus 7 > Internal Storage.
Copy TWRP folder and paste it somewhere safe on PC.
This is a perfect backup in case of crash.
5) SET FILESYSTEM TO F2FS
F2FS is the fastest filesystem for read and write partitions on flash memories. Compared to EXT4, gain is from 15 to 280 %.
No need to format the /System partition because it is Read only and Ext4 is still faster.
Now go Wipe > Advanced Wipe.
Select Dalvik / ART Cache, System, Cache, Data, Internal Storage and Swipe to Wipe.
Tap on Back button (to Advanced Wipe Menu).
Select /cache partition > Repair or Change File System > Change File System > F2FS, Swipe.
Go Back and back to Advanced Wipe Menu.
Select /data partition > Repair or Change File System > Change File System > F2FS, Swipe.
Tap on Home button > Reboot > Recovery > Swipe to Reboot
6) FLASH ANDROID + OPENGAPPS + MAGISK
On restart, check Never show this screen during boot again and Swipe to Allow Modifications.
Back to Mount.
Copy ROM + GAPPS + gapps-config-tilapia.txt + Magisk + Magisk Manager.
Click to expand...
Click to collapse
Everything is going great until this point - the storage is not mounted (can't see them in Explorer). Any ideas?
23deanor said:
Everything is going great until this point - the storage is not mounted (can't see them in Explorer). Any ideas?
Click to expand...
Click to collapse
Hi,
try to reboot recovery,
go to Mount and play with bottom right button Enable/disable MTP.
If it doesnt work, go over Windows Start Menu icon > right click > Device management and make sure the Tab is well detected.
The bottom right button Enable/disable MTP didn't do much - the laptop made the noise like a USB device was being disconnected (not connected) and in the system tray, the option to eject Nexus 7 was present. I can't check Device Manager at the moment because the tablet is currently completely unresponsive. I think the battery may be flat because I left it all day and overnight before being able to come back to work on it.
I appreciate your help and would really like to get this 7.1 ROM working.
Nothing appears to be working, the tablet can be seen in adb-devices in recovery mode, but not in Device Manager or Windows Explorer.
The tablet now has no OS on it so as it currently stands is useless - do you have any ideas how to get this going again?
Hi,
install USB drivers from my pack on another PC.
Then connect tab.
And tell me what happened
djibe89 said:
Hi,
install USB drivers from my pack on another PC.
Then connect tab.
And tell me what happened
Click to expand...
Click to collapse
I renamed the folder to have no spaces in the name and used adb push to get the files on to the tablet. Next problem is there isn't enough storage to install the gapps package.
23deanor said:
I renamed the folder to have no spaces in the name and used adb push to get the files on to the tablet. Next problem is there isn't enough storage to install the gapps package.
Click to expand...
Click to collapse
Did you flash the repartition script first ?
djibe89 said:
Did you flash the repartition script first ?
Click to expand...
Click to collapse
No, I don't see that in your instructions.
23deanor said:
No, I don't see that in your instructions.
Click to expand...
Click to collapse
Well, sorry, I'm confused with Nexus 7 2013.
Wipe all partitions.
Copy ROM + GAPPS + the file gapps-config-tilapia.txt. Without this GApps are oversized
djibe89 said:
Well, sorry, I'm confused with Nexus 7 2013.
Wipe all partitions.
Copy ROM + GAPPS + the file gapps-config-tilapia.txt. Without this GApps are oversized
Click to expand...
Click to collapse
You have me confused too now.
Is there a need to repartition or not?
23deanor said:
You have me confused too now.
Is there a need to repartition or not?
Click to expand...
Click to collapse
Hi, you don't need to repartition for Android 7.1.
You need both Opengapps + gapps-config-tilapia.txt when falshing GApps.
djibe89 said:
Hi, you don't need to repartition for Android 7.1.
You need both Opengapps + gapps-config-tilapia.txt when falshing GApps.
Click to expand...
Click to collapse
Ok. But there isn't the space to install them despite wiping everything, so I will need to look elsewhere I think.
23deanor said:
Ok. But there isn't the space to install them despite wiping everything, so I will need to look elsewhere I think.
Click to expand...
Click to collapse
Is the txt config file along gapps when you flash ?
If not it won't work.
djibe89 said:
Is the txt config file along gapps when you flash ?
If not it won't work.
Click to expand...
Click to collapse
Yes I push them both across to /data and install from there using TWRP
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.
Welcome to REDMI S2/Y2 Ultimate Collection!
(ysl)
Template for the index by Retrial
OFFICIAL STOCK MIUI ROM
You can check my Guides for installation.
Recovery ROM V12.0.2.0.PEFMIXM
Fastboot ROM V12.0.2.0.PEFMIXM
FIRMWARES
Redmi S2/Y2 Firmwares
Redmi S2/Y2 Vendors
CUSTOM ROMS
You can check my Guides for installation.
Based on Stock MIUI ROM
Xiaomi.eu V11.0.1.0.PEFCNXM
Most of this Custom ROMS listed are UNOFFICIAL and with a great probability that will never get updated.
Android 12/12L
Lineage OS 19.1 (unofficial)
PixelPlusUI
LineageOS 19.1 (unofficial)
Project Elixir
AOSP 12
ArrowOS (Unofficial)
CorvusOS vS3.0 (Unofficial)
Android 11
Pixel Experience
LineageOS
crDroid Android
EvolutionX
Palladium OS
Descendant XI
Pixel Extended
Pixel Blaster
StagOS
DerpFest
RevengeOS
Superior OS
Pixel Plus UI
Styx OS
CipherOS
DotOS
KangOS
Octavi-OS
Project LegionOS
Android 10
Pixel Experience
LineageOS
HavocOS
FreakyOS
PixysOS
AncientOS
RevengeOS
ShapeShiftOS
MSM-Xtended
CUSTOM KERNELS
Linux Kernel 4.9 Source
StormBreaker EAS Kernel
Fox Kernel Project
Qwerty Kernel (Discontinued)
Revvz Kernel
CUSTOM RECOVERY
You can check my Guides for installation.
TWRP Recovery
PitchBlack Recovery
OrangeFox Recovery
Sky Hawk Recovery Project
GAPPS
Note: be sure you have selected Platform: ARM64 and the proper Android version of the ROM you are going to flash. If the ROM you want to flash include GApps, no need to download and flash any GApps at all.
Most of the GApps have also a config. file which can be used to to configure your installation the way you like. You can skip any Package that you don't want to be part of your installation. For more infos about that, read the instructions of the GApps you chose or search in Google.
NikGApps[Create your own NikGApps build -> Video Guide]
Open GApps
MindTheGapps
FlameGApps
BiTGApps
MAGISK ROOT SOLUTION
You can check my Guides for installation.
Magisk (APK)
Magisk.zip (Flashable Zip)
Uninstall.zip (Flashable Zip)
Magisk Canary (APK)
Disable Force Encryption (DFE) & Encryption
You can check my Guides to find for what is used for.
Disable Force Encryption (No Magisk Included)
Disable Force Encryption (With Magisk Included)
Encrypt Data
GOOGLE CAMERA PORTS & UNIVERSAL STOCK CAMERA UNINSTALLER & ANXCAMERA
Only works if you're installed a 64-bit Android
san1ty
Parrot043
BSG (Private Version) [XML Configs] [Video Review]
BSG (Public Version) [[/B]Video Stabilization Settings]
ANXCamera(Magisk Module - No Addon needed)
Universal Stock Camera Uninstaller(Flash it in Recovery)
Note: If you updated GcamGo from the Play Store, you will need to flash this file and manually uninstall GcamGo from the app info.
GOOGLE PLAY SYSTEM UPDATE 🛡
You can manually update Google Play System by downloading and installing Main components.
USEFUL APPS
Check the Privacy & Security section in my Guides
If for some reason you can't find/install an app on Google Play Store due country restrictions or anything, you can sideload the app from APKMirror.
Adaway: Open Source ad blocker for Android using the hosts file.[/B]
Aegis Authenticator: Aegis Authenticator is a free, secure and open source app for Android to manage your 2-step verification tokens for your online services.[/B]
BetterBatteryStats: With BetterBatteryStats you can analyse the behavior of your phone and find applications causing the phone to drain battery while it is supposed to be asleep.
Brave Browser: Open Source Privacy Browser with built-in adblock.[/B]
Bromite: Bromite is a open source Chromium fork with ad blocking and enhanced privacy.[/B]
Cryptomator: Cryptomator encrypts your data quickly and easily. Afterwards you upload them protected to your favorite cloud service.
Device Info HW: A hardware and software information app for Android devices.
FairEmail: Fully featured, open source, privacy oriented email app.[/B]
Franco Kernel Manager: Complete toolbox for all devices with a rich feature set aimed for ease of use to supercharge your kernel.[/B]
KeepassDX: KeePassDX is a free open source password manager for Android, which helps you to manage your passwords in a secure way.[/B]
MiXplorer: Fully-featured File Manager.[/B]
NetGuard: NetGuard provides simple and advanced ways to block access to the internet - no root required. Applications and addresses can individually be allowed or denied access to your Wi-Fi and/or mobile connection.
NewPipe: Open Source Youtube alternative platform without ads.[/B]
Nova Launcher 7: Nova Launcher replaces your home screen, providing you with powerful features that you will soon realize you can't live without.
Shade Launcher: Make your phone feel like home. Free, open source, no ads.[/B]
Signal: Signal is a free and open source software application, allowing users to send end-to-end encrypted group, text, picture, and audio & video messages, and have encrypted phone conversations between Signal users.
Simple Mobile Tools: A group of simple, open source Android apps without ads and unnecessary permissions, with customizable widgets.[/B]
SysLog: Open Source tool for quickly taking and sharing system logs.[/B]
Today Weather: Today Weather is a beautiful & simple-to-use weather app that provides the world's most accurate local weather forecasts.[/B]
Youtube Vanced: Vanced is a well known modded version of YouTube with many features such as adblocking, background playback and many many more.[/B]
XIAOMI TOOLS
Mi Unlock
Xiaomi Mi Flash Tool
Xiaomi ADB/Fastboot Tools
MINIMAL ADB AND FASTBOOT
Minimal ADB and Fastboot
AMD RYZEN FASTBOOT FIX
Check the AMD Ryzen Fastboot Fix Guide for the proper steps.
AMD Ryzen Fastboot Fix (Batch File .bat)
(Scroll Down to check the Guides)
REDMI Y2/S2 Ultimate Guides!
(ysl)
!DISCLAIMER!
Most people I know (including myself) who used my Guides and steps, did that with success many times. If you don't follow exactly the steps or you do a mistake during the process, I do not take any responsibility for any unexpected results or damage that may happen. However I am here to help if something goes wrong, just ask in the thread.
AMD RYZEN FASTBOOT FIX
Some AMD Ryzen Systems may have problems to recognize your device in fastboot. Try the following ways:
1. Install AMD Ryzen Chipset Drivers.
2. Enable USB Debugging at device (Settings > Additional settings > Developer options > USB Debugging) and give authorization after connecting it to PC.
3. Use USB Hub.
4. Use USB Type-A 2.0.
5. Download this .bat file (unzip it) or manually create a .bat file with these lines below, and run it as an administrator, then reboot:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /freg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /freg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /fCheck the steps an another user did to make it work here.
If this doesn't help, unfortunately you have to use Intel System.
UNLOCK BOOTLOADER
Note: Some AMD Ryzen Systems may have problems to recognize your device in fastboot. [Read the AMD Fastboot Fix Guide above]
Please keep in mind by Unlocking Bootloader the device will reset and all your data will be lost. Make a backup of your data first to PC or to USB.
1. Create a Mi account on Xiaomi’s website.
2. Add a phone number to your Mi account.
3. Insert a SIM into your phone (If you haven't added already).
4. Enable developer options in Settings > About Phone by repeatedly tapping (7 times) on MIUI Version.
5. Link the device to your Mi account in Settings > Additional settings > Developer options > Mi Unlock status. Also enable USB Debugging.
6. Download the Mi Unlock app (Windows is required to run the app).
7. Run the Mi Unlock app and follow the instructions provided by the app.
8. Reboot your device into Fastboot mode. For that simply turn off your device, press the Power Button + Volume Down (–) button at the same time. Then connect the device to the Windows PC/laptop via a micro USB cable.
9. After device and Mi account are successfully verified, the Bootloader should be Unlocked and your device will restart by itself.
INSTALL CUSTOM RECOVERY
Fastboot Method (No Custom Recovery currently installed)
Note: Some AMD Ryzen Systems may have problems to recognize your device in fastboot. [Read the AMD Fastboot Fix Guide above]
1. Make sure your Bootloader is Unlocked.
2. Enable developer options in Settings > About Phone by repeatedly tapping (7 times) on MIUI Version.
3. Enable USB Debugging in Settings > Additional settings > Developer options > USB Debugging.
4. Download a custom recovery of your choice. [You can find a recovery of your choice in my Collection]
5. Download the portable Minimal ADB and Fastboot and run adb.exe
6. Reboot to Fastboot mode by pressing Power Button + Volume Down (–) and keep holding both buttons until the word “FASTBOOT” appears on the screen, then release.
7. Once the device is in Fastboot mode, connect your device to PC and verify you can find it by typying in adb: fastboot devices.
8. Flash Recovery by typing in adb: fastboot flash recovery <recovery_filename>.img (The file may not be named identically to what stands in this command, so adjust accordingly).
9. Reboot to Recovery by typing in adb: reboot recovery or manually hold Power Button + Volume Up (+) until you boot to Recovery.
10. Done! You now have a new Custom Recovery installed.
Recovery Method (Custom Recovery already installed)
1. Download a custom recovery of your choice. [You can find a recovery of your choice in my Collection]
2. Reboot to Recovery by holding Power Button + Volume Up (+).
3. Press Install Image.
4. Locate the recovery.img you recently downloaded.
5. Select it and choose the option Recovery and Flash.
6. Go back and Reboot to Recovery.
7. Done! Your new recovery should be installed.
MAGISK ROOT SOLUTION
The easiest way to root your device is via Magisk, it should work in all ROMs, Stock and Customs.
Install Magisk:
1. Install latest TWRP Recovery. [Read the Install Custom Recovery Guide above]2. Download the Magisk [You can find it in my Collection]3. Reboot to TWRP Recovery by pressing Power Button + Volume Up (+) and flash it.4. Reboot and check whether the Magisk app is installed. If it isn’t installed automatically, manually install the APK. [You can find it in my Collection]Note: From Official TWRP Recovery 3.5.1 and onwards (and other recoveries based on that), Magisk.apk can be flashed as apk without the need of rename it to .zip. So you can simply flash the Magisk.apk in TWRP.Manually Creation of Flashable Zip:Download the latest Magisk APK and rename the Magisk.apk → Magisk.zip.
Uninstall Magisk:
Flash the Uninstall.zip in TWRP Recovery and reboot. [You can find it my Collection]
If Magisk App isn’t uninstalled automatically, manually uninstall the app.
Manually creation of Flashable Uninstall Zip:
Download the latest Magisk APK and rename the Magisk.apk → uninstall.zip
Uninstall Magisk directly through the Magisk app. Simply press the Uninstall button.
DISABLE FORCE ENCRYPTION (DFE) & Encryption
[You can find it in my Collection]
Disable Force Encryption
Disable Force Encryption (a.k.a DFE) is flashed during installation of a custom ROM to avoid the system encrypting /data partition when the devices boot for the first time.Some ROMs are not encrypted by default and so is not necessary to flash DFE. However if your ROM comes with encryption by default you can always flash DFE after clean installation of ROM and always after every update or flash or you can use any custom recovery like OrangeFox, Pitchblack, Skyhawk Recovery Project which can automatic flash DFE after every flash.I don't recommended to use DFE if you don't switch ROMs frequently and you are casual user. Beside the fact that if you lose your device your data are not protected, many people get in confusion while doing OTA or manually updates, which if the ROM is encrypted by default and flashed DFE and in next update you forget to flash DFE you will lock out from your data and you wil get into bootloop (use custom recoveries mentioned above to avoid that).
Encryption
Warning - This works only on clean flash:
1. Flash ROM.zip in recovery
2. Mount vendor partition in recovery (for some reason does not mounting with newer TWRP).
3. Flash encrypt.zip.
4. Reboot to system.
Note:
The encrypt zip needs to be flashed after every update.
So flash ROM.zip and follow with encrypt zip.
Encrypted ROMs are recommended if you are stable and casual user of a ROM. Encryption have the benefit to protect your data, in case you lose your device for example. Always use the latest TWRP Recovery so you can be able to decrypt the data by filling the same lock screen password you have set in ROM.Some ROMs are not encrypted by default but devs provide an Encryption.zip (script) which can encrypt the ROM. Same as DFE you need to flash it after clean installation of ROM and always after every update to stay encrypted and not get into bootloop. Unfortunatly there is not any custom recovery automatic doing that like with DFE, so you must be careful, avoid doing OTA updates and flash it every time you manually update a ROM.
BATTERY TIPS
Advanced Guide
Simple Battery & Charging Tips
Improve your SOT
Battery Calibration
Steps:
1. Discharge your phone fully until it turns itself off.
2. Turn it on again and let it turn itself off.
3. Plug your phone into a charger and, without turning it on, let it charge until the on-screen or LED indicator says 100 percent.
4. Turn your phone on. It's likely that the battery indicator won't say 100 percent, so plug the charger back in (leave your phone on) and continue charging until it says 100 percent on-screen as well.
5. Unplug your phone and restart it. If it doesn't say 100 percent, plug the charger back in until it says 100 percent on screen.
6. Repeat this cycle until it says 100 percent (or as close as you think it's going to get) when you start it up without it being plugged in.
Overheating
Following reasons will lead to device heating issue:
During the initial setup after purchase or when restoring data.
Downloading large files.
Using apps that require more power or using apps for extended periods such as:
Playing high-quality games for long time.
Recording videos for extended periods.
Streaming videos while using the maximum brightness setting.
Using the Screen Mirroring / Smart View feature (connecting mobile to a TV).
While multitasking or when running many apps in the background i.e:
Using Multi window.
Updating or installing apps while recording videos.
Downloading large files during a video call.
Recording videos while using a navigation app.
Large amount of data for syncing with the cloud, email, or other accounts.
Exposing device under sunlight when temperature is high around you.
Extensive usage of mobile hotspot and tethering feature.
Using device in areas with weak signals or no reception or in roaming network.
Charging the battery with a damaged / unapproved USB cable.
Device's multipurpose jack is damaged or exposed to foreign materials, such as liquid, dust, metal powder, and pencil lead.
Solution:
Turn off Wi-fi, GPS , bluetooth and other connectivity options when not in use by dragging the notification panel.
Decrease screen brightness.
Close background running applications.
Too many applications installed in device may result in device heating since their corresponding process will keep on running in background. It is advised to uninstall un-necessary apps if not using them.
Avoid using apps like GPS, data dependent apps or graphic intensive games for longer duration since they require more energy to function, causing device to heat.
It is advised not to use device while charging as it may cause the device to over heat.
General:
DO:
Use manual brightness or dim the screen.
Turn off notifications for apps you don't use. Better still, delete/disable the apps entirely if you don't need them.
Enable battery or power saving mode when you want to extend your battery life.
Use the power adapter that came with your phone. Other chargers can charge slowly/faster but they can also damage your phone or battery.
Turn off bluetooth, location tracking, and Wi-Fi (unless you are actively using it)
Turn off print services from bluetooth connection preferences.
Avoid extremes of heat and cold. If your phone gets very hot or cold it can strain the battery and shorten it's lifespan.
DON'T:
Have Bluetooth or Wi-Fi turned on constantly.
Leave apps running in the background. Instead restrict background usage off apps that you don't need running.
Push email means your device is always listening for new email which drains alot of battery.
Drain your phone battery all the way to 0% or charging it all the way to 100%. Keep it between 20% - 90% for longer battery lifespan.
The more advanced the graphics and animations are (games, videos, photos, animations), the harder the processor and graphics chip in your smartphone have to work. More activity means more battery use.
PRIVACY & SECURITY
Some useful links:
All about Privacy & Security at PrivacyTools.
Electronic Frontier Foundation
Check if your email address is in a data breach at Firefox Monitor & at Have I been Pwned
Test your browser to see how well you are protected from tracking and fingerprinting at Cover Your Tracks by EFF.
Ad Block Tester is a free service on the Internet to evaluate content blocking solutions. It is not designed to be a benchmark, but it reveals the level of blocking against a set of hosts that are very popular.
Check on AM I FLoCed? by EFF if your your Chrome browser has been turned into a guinea pig for Federated Learning of Cohorts or FLoC, Google’s latest targeted advertising experiment.
How to block ads on Android.
General:
Always prefer Open Source or well popular Programs, Apps, ROMs, Kernels & Stuff.
Open Source doesn't mean it's 100% safe but it's unlikely to have something suspicious, since you and other users can check the code in GitHub or in any other code hosting platform the "stuff" is hosted.
Prefer ROMs & Kernels with SELinux Enforcing. You can find informations here.
Always download and install Apps, Programs, ROMs & Stuff from official sources and do not use redirection links from different sites. Google is your friend to find the official source of the stuff you want.
Always check the permissions an app requires, before download and install it to your device. If an app ask for permissions which has nothing to do with the app functionality then it's should be reconsider or ask the developer why these permissions needed.
If you want to avoid Google and Play Store (De-Google), you can choose a ROM without GApps preinstalled like LineageOS and use F-Droid client which is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device. Note that not all apps from Play Store will be available in F-Droid. Only Open Source projects. You can find alternatives though.
Alternative you can use LineageOS for microG or any ROM which support signature spoofing and can support microG.
For Windows use the default Windows Defender & Malwarebytes to scan your files whenever you want (Prefered before open or install them). Also use the addon/extension uBlock Origin in your Browser. These should be enough for normal users.
For Android Do not use any antivirus - antimalware since it's useless, just check what apps and from where you installing.
Always verify the source of addons/extensions in your browser. Avoid installing random and unpopular addons/extensions. Keep it minimal and clean, so browser can be fast and safe, no need bunch of extensions.
If you are using VPN, always check the terms and rules of the provider. Avoid random VPN Services.
Recommended VPN Services.
Using a VPN will not keep your browsing habits anonymous, nor will it add additional security to non-secure (HTTP) traffic.
Recommended is to encrypt your data/files always before uploading them to cloud with tools like Cryptomator.
Always use unique and strong passwords for each of your accounts.
Use awarded open source Password Managers like KeePass or KeePassXC for Desktop and KeePassDX for Android to manage your passwords and have them with you safe, encrypted and secure. Must be noted you can use the same database file between these programs.
Always enable 2 Step Authentication wherever is available for your accounts.
You can use apps like Aegis Authenticator.
Do not open or click on links attached in unknown emails you may get. Always check the adress of the email and verify it's legit from the official source.
Create and use "burned" email for accounts/sites you have concerns but you definitely want to try them. Do not use your personal or business email.
CLEAN INSTALL CUSTOM ROM
You can also do the same steps below to install Stock MIUI Recovery ROM.
1. Backup all your data to PC or to external SDCard. [All your data into Internal Storage will be lost on step 7 while Formating Data or Wiping Internal Storage]
2. Unlock Bootloader. [Read the Unlock Bootloader Guide above]
3. Download: [You can find everything in my Collection]
Custom Recovery of your choice.
Custom ROM of your choice
GApps (be sure you have selected Platform: ARMx64 and the proper Android version of the ROM you are going to flash) if the ROM you are going to flash does not include. [Optional]
Magisk Root Solution [Optional]
Disable Force Encryption [Optional]
4. Move all these files in one folder to your Internal Storage or to External SDCard if you have.
5. Install Custom Recovery. [Read the Install Custom Recovery Guide above]
6. Reboot to Recovery Power Button + Volume Up (+)
7. Installation:
Steps without external SDCard:
Select Wipe > Advanced Wipe
Select Dalvik / ART Cache, System, Data, Vendor, Cache and then Swipe to Wipe.
Flash ROM > GApps [Optional] > Magisk [Optional] > DFE [Optional - Not Recommended]
Go back and select Wipe > Format Data > type yes [All your data into Internal Storage will be lost]
Reboot Enjoy!
Steps with external SDCard:
go to Advanced > File Manager > External_SD and delete all folders in ur ext sd card (For example you should delete: Android, .android_secure, LOST.DIR, DCIM, etc) except your personal files/folders and the folder with your custom ROM/Gapps/Magisk/DFE you want to flash.
Each app on your phone with the WRITE_EXTERNAL_STORAGE permission may create files or folders in ur sdcard. Most of these folders have once been created by one of these apps and many of them may be deleted with a few exceptions (e.g. Android, .data, .android_secure, these contain important system or app data like a game's downloaded content):
.android_secure: apps installed and then moved to sdcard
Android: app data/cache
data: app data
.estrongs: ES file manager
LOST.DIR: sort of trash folder (collects recovered files after phone crashes)
DCIM: phone gallery's photos and previews
OTA-update: Over The Air update service
ppy_cross: an unknown third-party app's data.
So I recommend to delete them so you can put your phone/sdcard in a clean state and is guaranteed to be able to re-create these folders.
Select Advanced Wipe
Select Dalvik / ART Cache, System, Data, Internal Storage, Vendor, Cache and then Swipe to Wipe. [All your data into Internal Storage will be lost]
Flash ROM > GApps [Optional] > Magisk [Optional] > DFE [Optional - Not Recommended]
Go back and select Wipe > Format Data > type yes [All your data into Internal Storage will be lost]
Reboot Enjoy!
DIRTY INSTALL YOUR CUSTOM ROM
Note: Before you start flashing, keep in mind the ROM you dirty flashing MUST be the same with the one you have already installed.
1. Make a full nandroid backup, just in case something goes wrong. You can use TWRP to do that. (TWRP > Backup > Select everything) [Optional]
2. Remove all Magisk modules. [Optional]
3. Reboot to TWRP and Wipe Dalvik / ART Cache, System, Vendor, Cache.
4. Flash the ROM > GApps [Optional] > Magisk [Optional] > DFE [Optional - Not Recommended]
5. Reboot and Enjoy!
I've skipped some explanations, because if you are going to dirty flash, you already know for example how to boot to TWRP.
CLEAN INSTALL OFFICIAL STOCK MIUI ROM & RELOCK BOOTLOADER
Note: Some AMD Ryzen Systems may have problems to recognize your device in fastboot. [Read the AMD Fastboot Fix Guide above]
1. Download the official Fastboot ROM and unzip it to your PC. [You can find it in my Collection]
2. Download Xiaomi Mi Flash Tool and run XiaomiMiFlash.exe
3. Turn off you device and then boot in Fastboot mode by pressing Power Button + Volume Down (–) and keep holding both buttons until the word “FASTBOOT” appears on the screen, then release.
4. Connect your device to PC via USB Cable.
5. On the Xiaomi Mi Flash Tool, Click on Select and browse to the folder where you have Unzip the downloaded ROM file then press OK.
6. Click on Refresh button and you will see that your device connected to port com.
7. Select what method you prefer:
Clean All: The process will flash full Fastboot ROM and will wipe everything (include user data) but Bootloader will remain unlocked.
Save User Data: The process will flash Fastboot ROM without wiping user data.
Clean All and Lock: The process will flash full Fastboot ROM and will wipe everything (include user data) but Bootloader will be relocked
8. Now click on the Flash button to begin the flashing progress.
9. Once your ROM is successfully flashed, you’ll see green bar inside XiaomiMiFlashtool.
FIX FOR STUCK ON OREO FIRMWARE (SOFTBRICKED)
FIX (Read Carefully)
New Update: 12/11/2021
Changelog:
Adding the Android 12 roms
Updating links
Minor text fixes
New Update: 23/07/2021
Changelog:
Initial Release
Links to Custom ROM is broken ???