Flash system.img from Twrp - Redmi 9 / Poco M2 Guides, News, & Discussion

Yes now you can do it..no PC need.directly flash system.img via Twrp
What is need?:
1.Twrp cn installed.
Steps of flash:
1.Download file what you want to flash... probably you download gsi system image.. download it and extract it if it in .xz,zip or other format....if it is in .img then just rename it as system.img
2.Download Gsi flasher.zip(From my post)
3.Keep system.img and Gsi flasher.zip in same location.
4.Boot into Twrp and flash Gsi flasher.zip
5.Format data if needed.
6.Enjoy

Thank you, very nice!

Related

How can I update gr5 to kii-l21c185b321

I need help my phone is rooted and I want updated it but phone can't updated
What's method for update it
Thanks
Akram ghanam said:
I need help my phone is rooted and I want updated it but phone can't updated
What's method for update it
Thanks
Click to expand...
Click to collapse
Flash stock recovery or visit Honor 5X File Depot and and install b310 software. And update it.
HUAWEI KII-L21 Sent with Tapatalk.
Can you give me the link to download it
Thanks again
Akram ghanam said:
Can you give me the link to download it
Thanks again
Click to expand...
Click to collapse
Here C185 b310 version. Use Huawei update extractor And select update.app from the zip you downloaded and extract recovery, system, boot files with huawei extractor and flash with adb. Install Mfastboot first.
Follow the steps:
Steps:
Use Huawei Update Extractor to open the stock rom (update.app file from downloaded stock rom zip) with profile unkown.
Select BOOT.img, RECOVERY.img, SYSTEM.img and extract them using right-click Extract selected
put .img files in the folder as minimalfastboot.
boot device in fastboot mode: VOLUME DOWN + POWER: and on Pc's commandline navigate to fastboot
Flash Recovery: fastboot flash recovery RECOVERY.img
Flash Boot: fastboot flash boot BOOT.img
Flash System: fastboot flash system SYSTEM.img
Reboot. Finished, And share the result
can you send me a video on how to do it? please instructions are too hard

[PORT][DEPRECATED] Treble-ize MI5X

As you know, our mi5x is same as A1 hardware, so if we modify the custom mod recovery from AEX we can get compatibility to project treble.
Care: This method is an experimental port, use it at your own risk.
As u know,to port any rom from A1 u need to install A1 rom and port it with modded recovery.Our mi5x have /cust partition and we can use it as /vendor and flash here vendor.img images from A1.
This port is only A1to5x scipt moded to write in /cust partition and moded a1oreo.dtb.
EDIT:NEW METOD TO INSTALL
PHP:
1.Flash recovery in fastboot
2.Wipe data,cache and darvik
3.Go to install,install image and flash boot.img and vendor.img
4.Install gsi on fastboot(Arm64 A-Only) (fastboot flash system <nameofgsi>.img
5.Reboot
EDIT:NEW AND MORE SAFE SUPPORT HERE:https://forum.xda-developers.com/mi-5x/development/rom-lineageos-15-1-xiaomi-mi-5x-t3809065
Great!
please enlighten us more how to use these port... thank you...
cannot flash images to file systems when i flash vendor.img
lslvxy said:
cannot flash images to file systems when i flash vendor.img
Click to expand...
Click to collapse
Flash with fastboot (fastboot flash cust vendor.img)

How to install Treble GSI .img?

So i've looked through all threads here the only post referring to flashing .img file to system is here https://dl.xda-developers.com/4/8/7....txt?key=i9pxBLDSTnl70LUANjK0eA&ts=1575373726
That's talking about using fastboot i'm not sure if these are instructions on how to install "all" GSI .img and i don't have these files below unsure if they are needed for flashing all GSI with fastboot.
* fastboot flash dtbo dtbo.img
* fastboot flash system system.img
* fastboot flash vbmeta vbmeta.img
*fastboot flash boot twrp.img
So if anyone can explain how you can install the gsi .img with fastboot and also how to do it with twrp/orangefox i would appreciate it.
I did try just installing the .img to system through orangefox it just says no os is installed and based on different devices you see different steps and files been used to flash, so that's confusing and only videos on Youtube are not in English.
Thanks.

Enable Auto brightness in any gsi rom (For Redmi 9 Lancelot)

You can enable Auto brightness in any gsi rom..I made a special vendor.img file to enable it..
Required things:
1.unlocked bootloader.
2.working brain.
Steps:
1.Download and extract zip file from below link.
https://drive.google.com/file/d/1Bxhuj-GLByS5rf_w53mQTGK1GmnmDZzs/view?usp=drivesdk
You get 3 file vbmeta.img,vendor.img,boot.img(this file is for redmi 9 (Lancelot).do not flash those file on other phone which code name is not Lancelot)
2.flash vbmeta.img and boot.img via fastboot mood with below cmd
fastboot flash vbmeta vbmeta.img
fastboot flash boot boot.img
3.flash vendor.img via fastbootd mood with below cmd
fastboot flash vendor vendor.img
4. erase all userdata and boot your device .Now your auto brightness work...
Error fix:
1."file size is larger then partition size"if you get this type of Error then you need to type below cmd in fastbootd mood.
fastboot resize-logical-partition vendor 780
2.If you face any boot loop after flash and not solve it via erasing userdata the you need to flash magisk patch boot.img which you currently use:good::good:...evenif you get bootloop then first flash global v11.0.4.0 fastboot rom then follow my instruction again..
3.If brightness slider not work or headphones not detect then follow the below post.
https://forum.xda-developers.com/showpost.php?p=83635205&postcount=1
4.If you do not know how to flash gsi on redmi 9 (Lancelot) then follow below link.
https://forum.xda-developers.com/showpost.php?p=83533901&postcount=1
prove:
I provide a zip file link as attachment.unzip it and you get a video prove...
If my process work for you then don't forget to thanks me because it is free....
What have you done to the vbmeta?
koso000 said:
What have you done to the vbmeta?
Click to expand...
Click to collapse
Nothing but add some overlay file to vendor image. It is difficult now because we cannot Mount vendor image via custom recovery so I Mount it in Linux and some overlay file and give them permission that's it...
I nothing done with vbmeta.img. it is a blank file so no need to worry about it
It didn't work for me..could you share a guide to generate fix for my own vendor

Realme 7 pro stock ROM MSM Download tool

Hi!
I cant enter the MSM Download Tool app provided in ROMs folder. Does anyone know hoy to solve it?
I need to unbrick my phone
Sorry to say that you will have to pay an Indian to recover your phone, the MSM downloader requires an authorized id
I have a similar problem: accidentally i format the system partition and now i can only enter in recovery e fastboot mode but i can't install anything roms. Is there a way to restore stock rom or force a custom rom? Thanks.
I fixed it using part of this guide ->https://forum.xda-developers.com/t/unbrick-realme-7-pro-ui-1-0-android10.4347457/:
- Flash a custom recovery (i use twrp) and start the phone in recovery.
- Download the official rom ozip for realme 7 pro (i use the eu version).
- Start the phone in recovery and connect the phone to a pc and copy the ozip in it (i created a folder named "roms").
- Download a OFP Rom (the only i find are indian version).
- Download "MCT ofp extract tool" (for prevent virus warning it is possible use a vm machine...i used a second pc) and extract the OFP Rom.
- Download "minimal adb portable" and extract in the OFP Rom folder (where are the files of ofp rom extracted).
- Via fastboot flash the follow img:
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash super super.img
fastboot flash boot boot.img
fastboot flash persist persist.img
fastboot flash recovery recovery.img
- Now start the phone in recovery (will be the stock recovery).
- Wipe and after that flash the ozip file.
- After that format the memory phone (always via stock recovery).
- Reboot and that's all the phone start via with stock rom.
After configuration there are some update with the last ota dated 28/10/2021.
I hope, someone, will find it usefull.
alien762 said:
I fixed it using part of this guide ->https://forum.xda-developers.com/t/unbrick-realme-7-pro-ui-1-0-android10.4347457/:
- Flash a custom recovery (i use twrp) and start the phone in recovery.
- Download the official rom ozip for realme 7 pro (i use the eu version).
- Start the phone in recovery and connect the phone to a pc and copy the ozip in it (i created a folder named "roms").
- Download a OFP Rom (the only i find are indian version).
- Download "MCT ofp extract tool" (for prevent virus warning it is possible use a vm machine...i used a second pc) and extract the OFP Rom.
- Download "minimal adb portable" and extract in the OFP Rom folder (where are the files of ofp rom extracted).
- Via fastboot flash the follow img:
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash super super.img
fastboot flash boot boot.img
fastboot flash persist persist.img
fastboot flash recovery recovery.img
- Now start the phone in recovery (will be the stock recovery).
- Wipe and after that flash the ozip file.
- After that format the memory phone (always via stock recovery).
- Reboot and that's all the phone start via with stock rom.
After configuration there are some update with the last ota dated 28/10/2021.
I hope, someone, will find it usefull.
Click to expand...
Click to collapse
bro i did everything and i unbricked my phone successfully (thanks to you and that thread https://forum.xda-developers.com/t/unbrick-realme-7-pro-ui-1-0-android10.4347457/ )
but i still have a problem that my fingerprint doesn't work and i did not backup persist.
please help me bro - Thanks in advance.
alien762 said:
I fixed it using part of this guide ->https://forum.xda-developers.com/t/unbrick-realme-7-pro-ui-1-0-android10.4347457/:
- Flash a custom recovery (i use twrp) and start the phone in recovery.
- Download the official rom ozip for realme 7 pro (i use the eu version).
- Start the phone in recovery and connect the phone to a pc and copy the ozip in it (i created a folder named "roms").
- Download a OFP Rom (the only i find are indian version).
- Download "MCT ofp extract tool" (for prevent virus warning it is possible use a vm machine...i used a second pc) and extract the OFP Rom.
- Download "minimal adb portable" and extract in the OFP Rom folder (where are the files of ofp rom extracted).
- Via fastboot flash the follow img:
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash super super.img
fastboot flash boot boot.img
fastboot flash persist persist.img
fastboot flash recovery recovery.img
- Now start the phone in recovery (will be the stock recovery).
- Wipe and after that flash the ozip file.
- After that format the memory phone (always via stock recovery).
- Reboot and that's all the phone start via with stock rom.
After configuration there are some update with the last ota dated 28/10/2021.
I hope, someone, will find it usefull.
Click to expand...
Click to collapse
Hi, man.
I really need help with this one. I have a bricked device.
So, can you provide me with the twrp? I tried to install one but can't find the right one. Also, I'm stuck with this "boot destroyed" thing. Have tried to fix it--and it seems there's step in your solution above that I've tried as well (aka. flashing boot, vbmeta, super, etc.) but still can't get it work. Do you have any idea?
Cause it seems that I have to fix the boot destroyed thing first.
TIA
pls bro help me...Wipe and after that flash the ozip file?OZIP THATS mean stock rom or?
alien762 said:
I fixed it using part of this guide ->https://forum.xda-developers.com/t/unbrick-realme-7-pro-ui-1-0-android10.4347457/:
- Flash a custom recovery (i use twrp) and start the phone in recovery.
- Download the official rom ozip for realme 7 pro (i use the eu version).
- Start the phone in recovery and connect the phone to a pc and copy the ozip in it (i created a folder named "roms").
- Download a OFP Rom (the only i find are indian version).
- Download "MCT ofp extract tool" (for prevent virus warning it is possible use a vm machine...i used a second pc) and extract the OFP Rom.
- Download "minimal adb portable" and extract in the OFP Rom folder (where are the files of ofp rom extracted).
- Via fastboot flash the follow img:
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash super super.img
fastboot flash boot boot.img
fastboot flash persist persist.img
fastboot flash recovery recovery.img
- Now start the phone in recovery (will be the stock recovery).
- Wipe and after that flash the ozip file.
- After that format the memory phone (always via stock recovery).
- Reboot and that's all the phone start via with stock rom.
After configuration there are some update with the last ota dated 28/10/2021.
I hope, someone, will find it usefull.
Click to expand...
Click to collapse
help plis ???

Categories

Resources