Showing no OS after flashing the Rom. - Xiaomi Mi A2 / 6X Questions & Answers

First I unlock mi a2 using adb fast boot method. Then I installed TWRP make it as permanent recovery.
When I tried to flash custom rom by wiping & flashing rom, it showed no os installed.
Please help. I didn't make backup of stock rom.

sometimes it shows "no os installed" yet it has been installed, try rebooting and see whether it did

did you switch slot after flashing ROM? because you have to do that, its how our devices with A/B partitions work
you install the ROM on the opposite slot that you want the ROM on then after that you change slot and install gapps and other stuff then reboot

Stoopid Dickhead said:
did you switch slot after flashing ROM? because you have to do that, its how our devices with A/B partitions work
you install the ROM on the opposite slot that you want the ROM on then after that you change slot and install gapps and other stuff then reboot
Click to expand...
Click to collapse
Problem solved brother. I got a video tutorial from youtube. It was my mistake. I didn't flash twrp zip again after flashing the rom.
Thankyou.

Related

Phone unable to flash custom rom ! help

After unlocked bootloader i installed twrp for installing for custom rom.
I follow all steps of flashing custom rom , gapps n all that from rom threads ,even by watching tutorial , it flashed properly showing in recovery ..but when i reboot to system phone stuck on mi logo.
i tried rom like Rr, dotos, coltos, lineage. But getting nothing.
Help me !!
Current using redmi 4x betarom
If you had followed the instructions on the XDA threads like you say then you must've been able to have a successful flash.
For flashing custom ROM:
1)Unlock Bootloader
2)Flash TWRP
3)Copy your downloaded ROM and Gapps zip to Internal storage OR SD card.
4)Boot into TWRP
5)Wipe System+Data+Cache+Dalvik
6)Flash ROM zip first and then Gapps secondly.
7)Wipe Cache+Dalvik.
8)Reboot.
If you followed these instructions in the exact same order and flashed a compatible ROM for your phone you shouldn't have any trouble in booting the ROM.
Next time try this:
Unlock bl
Boot into twrp
Format data
Restart and boot into twrp again by volume plus volume up. Format data again.
Now go to twrp home-settings-advanced-fix boot/disable verification and wait for few seconds.
Now unmount and mount data partition. Transfer rom zip file to internal memory by pc and install it. Its bound to work.
Check if system is mounted from TWRP recovery if not then enable it.
Also check if TWRP recovery is on latest version or not.(do backup everything if there is need of updating TWRP recovery)
I suggest you to use the pixel experience rom, it doesn't need gapps, just flash one zip file of the room itself
https://forum.xda-developers.com/xiaomi-redmi-4x/development/rom-pixel-experience-t3738095
I'm using this and it's super fine

Is there any person who can help me with custom recovery and root?

Can anyone please tell the the following things, or redirect me to appropriate tutorials:
1. How to install custom recovery:
- I have question about slots, because some ask to install TWRP on inactive slots while some ask to install it on both slots.
- How to backup the stock recovery, everyone asks to reflash stock recovery in case of any problem but no one told how to backup the recovery while you are on the latest firmware while the firmwares available for download is too old.
- Do we have to install custom ROM on active slot or inactive slot?
2. Install Stock ROM after the phone is running a custom ROM
- Is it safe to flash the stock ROM using MiFlash tool if I want to go back to stock? because the only available firmware is from 2018 and is codename jasmine while the phone's codename is jasmine_sprout it will not cause any problem right?
3. Is it safe to use the All in One tool or shall I do everything manually?
https://forum.xda-developers.com/mi-a2/development/tool-tool-one-driversunlocktwrpfactory-t3866190
Device Name: Xiaomi Mi A2
Codename: jasmine_sprout
BuildKQ1.180904.001.V10.0.7.0.PDIMIXM
https://forum.xda-developers.com/mi-a2/how-to/guide-flashing-roms-twrp-black-screen-t3913052
For instaling twrp and custom rom.
You have everything you need here on xda, you just need to find it.
This is the best thread for newbies:
https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
Just as an overview:
rom and twrp are flashed to inactive slot. For eg if your current slot is A, the rom and twrp will be flashed to B and this is why you need to change slot to B after flashing them. Then optionally you can flash gapps,kernel and magisk and they will be directly flashed to B.
Note:
order of flashing is rom>twrp(change slot)>gapps>kernel>magisk
mma_1494 said:
This is the best thread for newbies:
https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
Just as an overview:
rom and twrp are flashed to inactive slot. For eg if your current slot is A, the rom and twrp will be flashed to B and this is why you need to change slot to B after flashing them. Then optionally you can flash gapps,kernel and magisk and they will be directly flashed to B.
Note:
order of flashing is rom>twrp(change slot)>gapps>kernel>magisk
Click to expand...
Click to collapse
I will have to flash twrp everytime when I flash a new ROM?
@engloa @MikeChannon pls remove the thread...
It's already been answered.
shailendra1993 said:
I will have to flash twrp everytime when I flash a new ROM?
Click to expand...
Click to collapse
Yes

Help flashing custom firmware

Hi, fellows,
High need urgently help!
I was on stock Pie with all critical unlock, bootloader unlock and root too ... So I decide to change to a costume firmware.
Now I'm on twrp-installer-3.3.0-0-jasmine_sprout.zip with all the partitions decrypted and when I tried to flash a custom firmware like Havoc OS v2.4 or Pixel Experience ... Happen this error.
Step 1/2
Error applying update: 7 (ErrorCode:: kInstallDeviceOpenError)
Updater process ended with ERROR: 1
Error installing zip file '/sdcard/Havoc-OS-v2.4-20190502-jasmine_sprout-Official.zip'
Updating partition details...
...done
Click to expand...
Click to collapse
Anyone can help me?
Thanks
nnexuss said:
Hi, fellows,
High need urgently help!
I was on stock Pie with all critical unlock, bootloader unlock and root too ... So I decide to change to a costume firmware.
Now I'm on twrp-installer-3.3.0-0-jasmine_sprout.zip with all the partitions decrypted and when I tried to flash a custom firmware like Havoc OS v2.4 or Pixel Experience ... Happen this error.
Anyone can help me?
Thanks
Click to expand...
Click to collapse
Try to use twrp 3.2.3 and follow this guide:
https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
mma_1494 said:
Try to use twrp 3.2.3 and follow this guide:
https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
Click to expand...
Click to collapse
I already tried this version but not the guide...
I'll try when I arrived at home
nnexuss said:
Hi, fellows,
High need urgently help!
I was on stock Pie with all critical unlock, bootloader unlock and root too ... So I decide to change to a costume firmware.
Now I'm on twrp-installer-3.3.0-0-jasmine_sprout.zip with all the partitions decrypted and when I tried to flash a custom firmware like Havoc OS v2.4 or Pixel Experience ... Happen this error.
Anyone can help me?
Thanks
Click to expand...
Click to collapse
Their is only one way to recover your phone just follow this step
1. Flash stock firmware(stock rom) vie fastboot using MI Flasher
this is bring back you phone and if you want to install custom rom then follow this
1. boot twrp
2. wipe all the data from slot A and B partition(internal storage as per you choice )
3. boot to slot B and copy past the custom rom file in slot B
4. flash that rom and boot to slot B and then flash Gaaps and other staff you want
5. reboot and enjoy.
NOTE: changing the slot require reboot twrp in simple words every time you change the slot you have to reboot the phone and boot again to twrp..
i hope this will work for you..:good:
If you don't have stock flash file then try from step 2. see whether it will work or not otherwise follow from beginning.
facing the same issue
i tried the same and getting the same error. even the twrp3.2.3.0 never worked while tried to flash that one more than 20 times, after flashing 3.2.3.0 my phone either boots normally or it gets completely power off. and if i try to boot into recovery using volume keys and power key , it boots in stock recovery. please help
Mine its ok now... i don´t know whats happen but suddenly it flash withou any problem.
See if it helps...
Make sure you're running a proper working Recovery
Flashing instructions:
Dirty flash (assuming you have rom on slot A):
1. Download all required files and place them to internal memory (ROM, twrp installer, gapps, magisk, ..)
2. Boot twrp to slot B and flash ROM and twrp installer
3. Reboot twrp to slot A and flash gapps (optional magisk)
4. Now reboot to system
Clean flash (assuming you have rom on slot A):
1. Download all required files and place them to internal memory (ROM, twrp installer, gapps, magisk, ..)
2. Boot twrp to A slot and wipe everything except for internal
3. Reboot twrp to B slot and flash ROM and twrp installer
4. Reboot twrp to slot A and flash gapps (optional magisk)
5. Now reboot to system
If you are coming from stock:
1. Download latest TWRP installer and image
2. Open cmd and type fastboot boot twrp.img (change twrp to its actual name)
3. You should be on slot A in twrp, if not change it and reboot to bootloader and repeat step 2.
4. Format data
5. Now follow instruction for clean flash
Click to expand...
Click to collapse
Credits: Fullbustah
I have this issue and none of the steps worked.
I got my device 2 days back and it was in Oreo. I tried to update to pie but the update keep failing. I unlocked the phone and flash latest official fastboot rom using mi_flash and installed magisk using this guide:
https://forum.xda-developers.com/mi-a2/how-to/unlock-bootloader-n-root-magisk-easy-t3856800
Everything went smooth.
Today I tried to go further and instal PE rom using this guide:
https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
Everything goes smooth until I boot to TWRP and try to flash the rom. It gave the error posted by OP. I have tried the following things since:
1. Try another two roms, same issue
2. Flash stock Pie using mi_flash then temp boot to TWRP latest version from 'a' partition, wipe everything, then boot from 'b' partition, wipe everything, try to flash. Same issue.
3. Install TWRP (it installed without any issue), reboot to installed TWRP, flash rom, same issue.
4. Try to flash with 'a' as active. Same issue.
5. All other possible combos (i think) of the above. In all cases everything goes as expected until I try to flash the rom.
Currently I have flashed the factory image back. Any help will be greatly appreciated.

Flashing problem on Chinese version K20 Pro (raphael)

Hello there,
I'm using the Xiaomi.eu latest Beta rom ATM. I'm trying to flash other roms (like lineage OS 17.1 for example) but it seems to reboot to fastboot everytime. I've tried doing a clean flash, formatting data, dirty flashing. Nothing seems to help it boot into the new rom.
Clearly I'm doing something wrong. If I try flashing the recommended Chinese vendor firmware (stable version), I get an error 7..but my TWRP is up to date as recommended.
If anyone has any idea where I'm going wrong, that would help a lot.
Thanks
therightperson_630 said:
Hello there,
I'm using the Xiaomi.eu latest Beta rom ATM. I'm trying to flash other roms (like lineage OS 17.1 for example) but it seems to reboot to fastboot everytime. I've tried doing a clean flash, formatting data, dirty flashing. Nothing seems to help it boot into the new rom.
Clearly I'm doing something wrong. If I try flashing the recommended Chinese vendor firmware (stable version), I get an error 7..but my TWRP is up to date as recommended.
If anyone has any idea where I'm going wrong, that would help a lot.
Thanks
Click to expand...
Click to collapse
Don't know what your doing wrong, but this is my failsafe method should nothing else work.
Flash the latest Chinese 11.0.5 fastboot ROM. Make sure you don't lock the bootloader if using the Mi Flash Tool.
Boot into MIUI once to allow it to finalise the install, you don't need to do the initial phone setup once it boots into MIUI.
Boot into fastboot and install TWRP. I recommend the latest from mauronofrio which should be 3.1.1-32
Boot immediately into TWRP. I use the volume up button while powering up the phone.
Perform a factory reset in TWRP (using the swipe button), then format data (need to type 'yes' to confirm).
Reboot into TWRP using the TWRP boot menu, this ensures the newly formatted data partition is correctly mounted.
Copy over the ROM you want and GApps if needed, then flash.
Boot into your new ROM, everything should be OK. Then boot back into TWRP to install Magisk if you want root.
Yep that seems to have done the trick. At first I was getting frustrated because I thought I was downloading the right Chinese ROM, turns out I was downloading the recovery version instead of the fastboot one.
I think it wasn't working because I was on the beta channel. Switching over to the stable channel meant I had to go through a fastboot flash apparently. I've seen this before on my OP3.
Got lineage OS loaded, thanks for your help!

Question Rom installed Slot B

Hey,
I flashed Elixir rom today. On TWRP it installed it on slot B.
It didn't work for some times, but after trying again it booted on it.
I think I was supposed to install the rom on the A slot.
Will my phone work correctly the way it is now?
Thank you
I'm not sure why, but for me, AOSP ROMs usually install to slot B and work just fine. Some ROMs such as Project Elixir require that you do not flash TWRP after flashing the ROM, otherwise you'll have boot problems.
Be sure to switch to the slot you installed it on.
Thank you for your answers!
Slot A and B is just a concept partition. There's no meaning to it. Next time when you flash rom it will install in Slot A. This is how A/B partition works.
Google introduced it few years ago. So, when a system update gets installed it will be install in another empty partition either A or B. So, that system doesen't break during update.

Categories

Resources