How To Guide [TUTORIAL] ULTIMATE How to flash GSI Trebble AND ROM and root on Xiaomi device on Windows (files needed included) - Redmi Note 12 Pro / Pro Plus 5G

Hi, first of all, I'm not a dev or else just user who had difficulties to flash GSI on my phone... Was 7 years with a samsung galaxy Note 3, with twrp....So easy to flash....
with the help of @gr0ndpa, thanks to him.....
FLASH GSI​
Now I will explain how to flash easily with files attached
1/ first of all you need a phone and drivers installed, use xiaomi pc suite, unzip and install it
2/ you need to activate USB debug in dev options.
3/ dl platform tools folder unzip it and put in C
4/ run command and type
Code:
cd /adb
5/ then
Code:
adb devices
to check if phone recognised
6/
Code:
adb reboot bootloader
once in fast boot
7/
Code:
fastboot flash vbmeta vbmeta.img
wait finished type to enter in fastbootD
8/
Code:
fastboot reboot fastboot
9/
Code:
fastboot flash system
LiR 313.XXX.img
you will have a system error, but wait the flash begin in few seconds
at the end wait ok then
10/
Code:
fastboot reboot recovery
on stock recover
11/ wipe data and reboot with +/- and PWR
and you're done...
In case you want to flash custom kernel or patched boot image to root with magisk, you have to
12/
Code:
adb reboot bootloader
Copy kernel boot image to C drive and rename kernel boot image to boot.img.
13/
Code:
fastboot flash boot c:\boot.img
14/
Code:
fastboot reboot
In case you want to flash twrp put the file to adb folder and type in fastboot
15/
Code:
fastboot boot twrp.img
You can check what I ve done on tuto ss...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==================================================================================================================================================================================================================++
Flash ROM​
This now how to flash ROM on your device, it's convenient for all roms like LOS, corvus, awaken...
First you need all the proper drivers installed and unlocked bootloader, USB debugging all of that stuff.
Now open up a cmd/terminal , and put the files i sent and the ROM file in the folder from where you're opening the cmd/terminal and connect the phone (you may need to put ./ as an suffix for all the commands if you're on linux)
Type
Code:
adb reboot bootloader
Then type
Code:
fastboot devices
to see if everything is ok
Then type
Code:
fastboot flash boot_ab boot.img
(you can drag and drop the file instead of typing it)
After that's done type
Code:
fastboot flash vendor_boot_ab vendor_boot.img
(you can drag and drop this too if you want)
Code:
fastboot flash dtbo dtbo.img
(you can drag and drop this too if you want)
After that's done type
Code:
fastboot reboot recovery
This will boot you into a recovery and now you need to go to wipe and format data
After that go to apply update then adb sideload then
In the cmd type
Code:
adb sideload rom.zip
for example (you put the ROM zip here you can drag and drop it)
Wait for that to finish it will go to 47% and on the phone it will show step 1/2 then step 2/2
and when it's done it's gonna show an error
adb: failed to read command: No error
Then you can reboot to system

One more

Two more

This the tuto I follow to flash renoir, who have same characteristic than all Note 12 series... Tuesday I can confirm it works

I'm having a problem that my phone can't go to fastboot via CMD after I flash vbmeta.
Is is me doing wrong or also happen to you?

Related

About your Boot Img errors!

Hi, I have heard a few of you have been getting error when Flashing a boot img recovery and fastboot.
Today I noticed the same thing to my device. I fixed it....
Here's how
1. Download This KDZ
Clockwork Recovery Rom.kdz
2. Download KDZ_UPD_En
From Here: KDZ_upd_fw_en
3. Extract the KDZ zip you downloaded and run KDZ_Updater.exe
4. In the dropdown menu's select 3GQPT and If your phone is running select DIAG
5. Open the clockwork recovery rom.kdz hit the open button and find it in your file directories.
6. Then Select Update now.
[TIPS] - If you are using a PC use the back ports of the PC
- If the update fails restart your PC and do steps 4 and 5 again.
- If your update doesn't finish and your phone doesn't work, keep trying again
Wait for it to finish
After it has finished.
1. Your phone may not boot if you came from a custom rom. Reboot into fastboot and type Command in CMD: (Make Sure you have fastboot and fastboot drivers installed) (My fastboot is in C:\Android
cd C:\Android
fastboot -w (wipe all data)
2. Download CWM recovery img from here
3. Rename the img to recovery.img that you just downloaded
4. Copy that to where your fastboot is setup. eg mine is in C:\android
5. Type commands: fastboot flash recovery recovery.img
6. Then type Fastboot reboot
Now reflash you rom and you should have no errors
airbus360 said:
Hi, I have heard a few of you have been getting error when Flashing a boot img recovery and fastboot.
Today I noticed the same thing to my device. I fixed it....
Here's how
1. Download This KDZ
Clockwork Recovery Rom.kdz
2. Download KDZ_UPD_En
From Here: KDZ_upd_fw_en
3. Extract the KDZ zip you downloaded and run KDZ_Updater.exe
4. In the dropdown menu's select 3GQPT and If your phone is running select DIAG
5. Open the clockwork recovery rom.kdz hit the open button and find it in your file directories.
6. Then Select Update now.
[TIPS] - If you are using a PC use the back ports of the PC
- If the update fails restart your PC and do steps 4 and 5 again.
- If your update doesn't finish and your phone doesn't work, keep trying again
Wait for it to finish
After it has finished.
1. Your phone may not boot if you came from a custom rom. Reboot into fastboot and type Command in CMD: (Make Sure you have fastboot and fastboot drivers installed) (My fastboot is in C:\Android
cd C:\Android
fastboot -w (wipe all data)
2. Download CWM recovery img from here
3. Rename the img to recovery.img that you just downloaded
4. Copy that to where your fastboot is setup. eg mine is in C:\android
5. Type commands: fastboot flash recovery recovery.img
6. Then type Fastboot reboot
Now reflash you rom and you should have no errors
Click to expand...
Click to collapse
You are the best!!!
Gonna try it out!!
I got a problem!!
Everytime i type fastbot (something)
it says fastboot is not a command!!
Any help???
I didn't try it now cause i am in the middle of
doing the battery tweak!!!
But before thats what it said!!
I typed fastboot -w
and it said it is not a command!!!
androidboss7 said:
You are the best!!!
Gonna try it out!!
I got a problem!!
Everytime i type fastbot (something)
it says fastboot is not a command!!
Any help???
I didn't try it now cause i am in the middle of
doing the battery tweak!!!
But before thats what it said!!
I typed fastboot -w
and it said it is not a command!!!
Click to expand...
Click to collapse
Have u got adb installed? if not go to android developers com and download it. Then change you directory to where u installed adb, example, put it in your c drive and type cd C:\android-sdk\sdk\tools >Enter>
then do the commands
airbus360 said:
Have u got adb installed? if not go to android developers com and download it. Then change you directory to where u installed adb, example, put it in your c drive and type cd C:\android-sdk\sdk\tools >Enter>
then do the commands
Click to expand...
Click to collapse
Thanks and I so have fastboot installed but maybe not sdk!!
Edit: i did your steps from 1-6 and now my phone is stuck on the android boot logo!!!!
Is this2.1 stock?? Also there is no mode called 3 GQPT!!
I followed all the instrutions and now my phone is stuck on the android logo!!!
Please help!!! (Its been quite a while)
Edit2: Sorry my fault i didn't do fastboot -w!!
It would be good if you wrote that on your post!!!
And i am thinking of staying on stock 2.1 !!!

[Q] help regarding my recovery

guys i need step by step procedure on how to flash the latest twrp recovery using fastboot?.. or can you give the link for instructions,. cause my twrp just messed up,. it says it cannot mount E:/storage and all,. or can i just use the htc one tool? thx guys in advance
Follow this step:
Download this and rename this in twrp
Copy/Paste this in your fastboot folder
Connect the device in fastboot
Open a cmd windows and browser into your fastboot folder
Type:
Code:
fastboot devices
and if you will see your device go on
Now type:
Code:
fastboot flash recovery twrp.img
Type:
Code:
fastboot erase cache
Now you can reboot in the latest twrp

TWRP 3.0.2 for Acer Predator 8 ported by Ruben.

IMPORTANT NOTE ABOUT ROOTING:
After flashing TWRP 3.0.2, use the SuperSU 2.46 flashable zip, do NOT use latest version or will result in a bootloop. Good Luck and have fun with rooting.
REQUIREMENTS
1- Unlocked Bootloader (search on google if you dont know how to unlock)
2- Drivers and Adb/Fastboot commands knowledge
--------------------------------------------------------------------------------------------------------------------------------
New TWRP bugfix update! Now you can flash stock rom on TWRP without bricking! Download Page updated!
Bugs:
1- adb shell command needs to be sent before system partition is mounted or it will give an error, after doing adb shell you can mount system and do all the modifications you need.
2- You cant flash any img on twrp it gives an error, im trying to fix.
3- Backups do work, but everytime twrp restarts, the serial number folder seems to change (which means that on /TWRP/BACKUPS/serialnumber/backupsinside/ changes every reboot so you have to go get the backup inside the old serialnumber folder and put on the new serialnumber folder).
Im leaving an unsecured boot image because system does not boot android if anything seems changed. So please if system does not boot after flashing twrp/rooting, flash the unsecured boot img on fastboot
Steps to Install TWRP and root
1. Download and extrct the files: https : // drive. google . com/file/d/0BxzG5iupOOSKNTdlRC1Wd0VmTlk/view
2. Power off the tablet.
3. Enter fastboot mode by pressing the power button while holding down Vol -
4. Open up command prompt and navigate to the directory where fastboot.exe is located.
5. Pass the following commands:
fastboot flash boot unsecuredboot.img
fastboot flash recovery TWRP.img
6. Reboot into recovery (TWRP) and install SuperSU v2.46.zip ---
Continuation 6. Step by Step of Step 6 since people seem to have been running into issues with it:
After rebooting to TWRP and having SuperSU.zip in the tablet storage. Go on Install tab and press the supersu file and install/flash it then reboot the device.

How to flash twrp recovery in Xiaomi Redmi 4a with MIUI 9? Lets see...

I have was trying to flash the TWRP recovery in my phone (Redmi 4a), but the recovery always got replaced after every reboot with the STOCK recovery.
I am now going to show how to flash this, beside the command line technique......(Although, some command line is necessary).....
1. Set adb and fastboot files in your Windows pc, fine
2. Now download the required twrp on to your pc and place it in adb-fastboot's folder.... or techies could path to that ****....
3. Enter bootloader with.....
adb reboot bootloader​4. Now boot to twrp using......
fastboot boot recovery.img​(I have named that twrp file as recovery)
5. Download super su zip, move it in phone, root your device....... reboot your device.......Now the second phase of process comes
6. Install twrp app in your phone, open it, copy the twrp image file to phone, tap on flash recovery
7. Select your twrp recovery in the phone and boom....... you have done it...... reboot to recovery by adb reboot recovery
I FORGOT TO MENTION, you should have your device unlocked, and I AM NOT RESPONSIBLE FOR ANY MISHAP and FOR THE STATE TO PLAY CRICKET WITH YOUR PHONE...... I am honest ....... IT WORKED FOR ME......
any tester n confirmed worked ?
No reason to do all those, you can flash recovery directly from fastboot with one command. The command:
Code:
fastboot boot recovery.img
just boot to that recovery one time. This is good for testing a recovery or use it for one time without install it.
If you want to flash a recovery you just need to use:
Code:
fastboot flash recovery recovery.img
Also for both commands isn't necessary to rename the recovery file or to put it adb folder, or root the device. Just need to specify the path and filename in place of "recovery.img". For e.g:
Code:
fastboot flash recovery C:\Phone\Recoveries\twrp_3.2.1.img

How To Guide HOW TO INSTALL PIXEL EXPERIENCE GSI ON POCO M4 PRO 5G GLOBAL (EVERGREEN)

Disclaimer, I am not responsible for any damages that the flashing my cause to your beloved phones.
THINGS YOU NEED BEFORE FLASHING
- unlocked bootloader
- a pc ofc you need adb installed
-YOU NEED TO BE AT MIUI 13.0.2 OR ELSE PE 12.1 WONT BOOT! PLEASE DOWNGRADE!
-Download the gsi here :
https://github.com/ponces/treble_build_pe/releases/download/v414-plus/PixelExperience_Plus_arm64-ab-slim-12.1-20220613-UNOFFICIAL.img.xz
unzip till you get the .img file and rename it to system.img then move it on your adb platform tools folder
- a fully functional cable and brain.
FLASHING STEPS:
-Turn your phone off
-Boot your phone in fastboot mode
- Connect it on your PC
-Run cmd inside the adb platform tools folder
-Type "fastboot devices" and see if it detects your phone if yes then type fastboot reboot fastboot and you'll see that your phone is on fastbootd mode.
- Type fastboot erase system
Then
- fastboot flash system system.img
- fastboot reboot fastboot
- fastboot -w ( if this doesn't work then try the next one)
-fastboot format userdata ( if this doesn't work then proceed to the next one )
-fastboot erase userdata
-to be sure type fastboot reboot recovery then wipe the data there
-reboot and enjoy the gsi
NOTE:
-If the scrolling is lag , go to phh treble settings and disable hw overlay
-if you're having bluetooth issues then go to phh treble settings and force disable a2dp.
It is a solid GSI and I have been using it for 2 weeks now and no issue.
Something went wrong and now fastboot erase system returns "FAILED (remote: 'partition doesn't exist')" and I can not find anybody to help x.x What do I do?
Do you got bugs on statics?
My battery usage and data usage not working

Categories

Resources