/systen/ deleted (formatted to EXT4), Xiaomi Mi A1 - Xiaomi Mi A1 Questions & Answers

Hey everyone,
Hello everyone, i have deleted accidentally my /system/ folder with TWRP over wipe with change file system . Now i am in TWRP and my Question is how can i set an new System up or can i boot into fastboot anyway?
Any Help would be appreciated

Use mi flash tool.Try save user data option.If it doesn't work go for Clean all.Use some proper guide.

flawn said:
Hey everyone,
Hello everyone, i have deleted accidentally my /system/ folder with TWRP over wipe with change file system . Now i am in TWRP and my Question is how can i set an new System up or can i boot into fastboot anyway?
Any Help would be appreciated
Click to expand...
Click to collapse
You can boot into fastboot via twrp itself. Reboot\bootloader...
From fastboot you can flash system.img from latest stock fastboot room file...
But you should know your current slot which twrp will tell you under reboot menu..
So do "fastboot flash system_x system.img" (x is the slot you will flash system = current slot where you have deleted system) . You can also just in case do "fastboot flash boot_x boot.img from the stock room file.
After flash..do fastboot reboot..it should boot into system now..
But easier way is download fastboot rom and flash with miflash tool choose save user data..

Related

Moto x play stucked in warning boot loader unlocked..... Please help :(((((

I sucessfully unlocked mmy phonne and install twrp
I was trying to root my phone i was at the moment when installing the super Su.ra then i rebooted.....
i stucked in this screen.
Itriedd to download mfastboot-02 then i go and use and shift then right click for the cmd and type this....
1>mfastboot erase userdata : to erase the userdata from phone
2>mfastboot erase cache: to erase cache
3>mfastboot reboot
but i guess it worsen the problem i cant acess the recovery mode anymore and my phone keeps rebooting and go to the twrp and do it all over again.. but still i can access the fastboot
how can i fix this (((( please please pleasee :crying::crying::crying:
disnt you take a backup before installing su?? which version if su were you installing ????
from the post I get that you are able to boot into twrp. then download the twrp flashable 6.0 zip and restore it.
here forum.xda-developers.com/moto-x-play/general/rom-xt1563-brasil-stock-6-0-twrp-t3272979
If you can access fastboot try flashing a clean 6.0 stock rom using rsdlite

My Nova is Dead, Help Please

Hello, I'm looking for a Nandroid Backup for Nova CL 01 , car after intallation of Twrp to test the lineage Version System and Cust Partitions are decreases , and I can't reinstall the Firmware car system and cust are so larger than their partitions ,
I have another probleme , in lineage os I have not Data , lte ........just wifi ?
Help Please
In TWRP reboot into bootloader and flash stock recovery via fastboot command. Then the memory card to copy into folter DLOAD file update.app stock firmware version of you phone L01 and run phone with press button volume down,up.
Updates starts and the phone should then work again.
Sorry my english.
testous3 said:
Hello, I'm looking for a Nandroid Backup for Nova CL 01 , car after intallation of Twrp to test the lineage Version System and Cust Partitions are decreases , and I can't reinstall the Firmware car system and cust are so larger than their partitions ,
I have another probleme , in lineage os I have not Data , lte ........just wifi ?
Help Please
Click to expand...
Click to collapse
https://forum.xda-developers.com/nova-plus/help/l01-cust-failed-t3537415/page4
mArIuS% said:
https://forum.xda-developers.com/nova-plus/help/l01-cust-failed-t3537415/page4
Click to expand...
Click to collapse
I can't flash Cust.img and System.img because partition is no larger than files , its my main problem
testous3 said:
I can't flash Cust.img and System.img because partition is no larger than files , its my main problem
Click to expand...
Click to collapse
I got the same problem. Flash firmweare with fastboot, download ota with firmweare finder, copy update.app on your pc, extract with huawei extract tool boot.img, recovery.img and system.img(put the extracted images in the root of fastboot folder on your pc) and flash them with fastboot.
Open comand promt and write:
1.cd /adb (hit enter) between cd and /and hit space
2.fastboot flash boot boot.img
3.fastboot flash recovery recovery.img
4.fastboot flash system system.img
5.fastboot reboot
and then wait the phone to reboot.
You have installed android nougat and now you cannot go back to marsmallow cuz partition size is different.
mArIuS% said:
I got the same problem. Flash firmweare with fastboot, download ota with firmweare finder, copy update.app on your pc, extract with huawei extract tool boot.img, recovery.img and system.img(put the extracted images in the root of fastboot folder on your pc) and flash them with fastboot.
Open comand promt and write:
1.cd /adb (hit enter) between cd and /and hit space
2.fastboot flash boot boot.img
3.fastboot flash recovery recovery.img
4.fastboot flash system system.img
5.fastboot reboot
and then wait the phone reboot.
You have installed android nougat and now you cannot go back to marsmallow cuz partition size is different.
Click to expand...
Click to collapse
I Think the solution is tu restore a full Backup from another Device , anyone has a full backup or Can do a backup please ?

Persist partition not flashing...

Hey, I need to flash a persist.img file, because my phon restarts every 2 Minutes and does not find any WiFi, but it gives me out the error: remote:Error : persist partition not allowed download. Is there a way to flash it without twrp, since when I try to flash a custom recovery, it says partition table not found. Is there a way to flash persist.img in Mi Flash Tool?
use the link given below
it will help you
https://forum.xda-developers.com/showpost.php?p=75782887&postcount=2
raaz1431994 said:
use the link given below
it will help you
https://forum.xda-developers.com/showpost.php?p=75782887&postcount=2
Click to expand...
Click to collapse
Don't have Twrp, can't flash custom recovery, it says partition table does not exist
boot to fastboot and
give the command
fastboot boot twrp.img
instead of fastboot flash recovery twrp.img

Root Issues

Hey guys,
I tried flashing TWRP to recovery partition, but I get: FAILED: remote: partition table doesn't exist. I could only boot to TWRP by flashing it into the boot_a partition, flashing everythong I need and then replacing boot_a from twrp.img back to stock boot.img. I could flash Magisk, but when I rebbot it to system, it just stays on the android one screen and I have to use flash_all script to restore it. My Mi A1 has Android 8 Oreo. please help.
Have you solved? if you've solved how did you do? thank
You need to use the correct twrp boot image and twrp installer zip file. Go to mohancm's twrp thread and download the correct files according to your android version.
cicciobaciccio said:
Have you solved? if you've solved how did you do? thank
Click to expand...
Click to collapse
Most probably by following one of the available guides Mi A1 doesn't have recovery partition for example.

[GUIDE] [ROM] How to Flash BeastROM to Mi CC9e

Hey guys,
Although Mi CC9e (laurus) has been released for some days, there's few discussion on this device. The reason why I bought laurus is because I think it will share a community with Mi A3 (laurel_sprout), and it's easier to get laurus in China (with 6GB RAM). And indeed, laurus use exactly the same kernel with laurel_sprout. Most people think laurus is A only and laurel_sprout is A/B, which is almost, but not entirely correct. Devices launched with Android 9 are mandatory to use system-as-root.
In previous versions of Android, devices that didn't support A/B updates could mount the system image under the /system directory. In Android 9, the root of the system image is mounted as the root of the device.
Click to expand...
Click to collapse
In short, laurus MUST flash A/B image instead of A only, just like Mi 9 (cepheus) and Mi Mix 3 (perseus).
I assume that your'phone is unlocked and you've configured ADB and Fastboot.
So, let's start.
1. Flash TWRP
Reboot your laurus to Fastboot with Power + Volume Down.
There's a available TWRP from Chinese developer LR.Team
Download Link
The batch script is in Chinese, but I'm sure you know what to do if you're familar with Fastboot.
Code:
fastboot flash recovery recovery-TWRP-3.3.1-0914-XIAOMI_CC9E-CN-wzsx150.img
2. Flash BeastROM 1.6
Although BeastROM 2.0 has released but I can't get it work. It just display Mi logo and then jump to Fastboot. Most other GSIs won't work as well, it dosen't boot at all. So the only choose is BeastROM 1.6 for laurel_sprout @mdeejay.
BeastROM 1.6
unzip it, and what we need to do is flash system.img ONLY.
Code:
fastboot flash system system.img
And then reboot to TWRP, wipe data partition.
Edited:
You can find your vbmeta in fastboot ROM of laurus.
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
This command is NOT NEEDED if you can disable dm-verity via magisk. You can't boot without disabling dm-verity (stuck on Logo). I don't know how it works. Need some help from devs.
3. Flash Magisk
You HAVE TO flash magisk, or it will stuck on boot animation.
You can do it by "Install Root" in Advanced of TWRP.
Or do it manually by flash Magisk.
4. Flash GApps (Optional)
OpenGApps
Just Flash it in TWRP, nothing more to say. Maybe you need to wipe data again.
I think everything is perfect for now, execpt it's Android 9 instead of 10. At least you can get most of features in Mi A3 and get rid of stupid MIUI
Some stupid idea: for people who wanna get MIUI in laurel_sprout, you can flash system.img in fastboot of laurus. I don't think it will work but it worth trying.
I've tried flashing laurel_sprout image into laurus, it can boot, but it won't work. Screen blinks and it get stuck on welcome page, touching works though.
Fastboot of laurus
Fastboot of laruel_sprout
For people who prefer stock A3 Android One ROM, Here is the method I've tested
con_sau_may_tinh said:
mi cc9e can use stock rom of mi a3 without root, this mean bank app will work perfect
1- flash full rom with miflash (any lower version will not boot) http://bigota.d.miui.com/V10.2.13.0...FMCNXM_20190830.0000.00_9.0_cn_fc9f51f46d.tgz
2- download rom of mi a3, extract file system.img only
http://bigota.d.miui.com/V10.3.4.0....0.PFQMIXM_20190815.0000.00_9.0_00838b4c0e.tgz
3- go to fastboot and flash (vbmeta of micc9e)
fastboot flash system system.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot reboot
Click to expand...
Click to collapse
i flash only system but, my phone stuck on fastboot mode
please help
vanly6.2 said:
i flash only system but, my phone stuck on fastboot mode
please help
Click to expand...
Click to collapse
Are your device Mi CC9e instead of Mi A3? Make sure you're flashing BeastROM 1.6 instead of 2.0 or you'll get stuck on fastboot. And maybe you need to format your data partition in TWRP.
Crosstyan said:
Are your device Mi CC9e instead of Mi A3? Make sure you're flashing BeastROM 1.6 instead of 2.0 or you'll get stuck on fastboot. And maybe you need to format your data partition in TWRP.
Click to expand...
Click to collapse
i has flash ok, but i can use finger, you have problem as me ?
vanly6.2 said:
i has flash ok, but i can use finger, you have problem as me ?
Click to expand...
Click to collapse
Fingerprint sensor works for me.
Can i back to miui if something wrong,or on bootloop
oska3 said:
Can i back to miui if something wrong,or on bootloop
Click to expand...
Click to collapse
Of course you can, just flash the fastboot ROM of laurus.
Stug on fastboot too
How i can go in twrp
oska3 said:
Stug on fastboot too
How i can go in twrp
Click to expand...
Click to collapse
Power and Volume up can make it boot into Recovery.
But if you flashed dtbo and vbmeta of BeastROM 1.6, or maybe you wipe your system partition. , it will be stuck at fastboot and cannot boot (or enter recovery)
One way to fix this is disable dm-verity, just use magisk, you can do it by "Install Root" in Advanced of TWRP. (Flashing magisk manully does the same job)
(However, you can't enter TWRP, so this won't work. )
Another way to disable dm-verity is flash vbmeta with --disable-verity --disable-verification, but I'm not sure whether it works.
Your best chioce is flash the fastboot ROM of laurus and do it again. Remerber to flash magisk in TWRP after flashing system.img, I made a mistake that magisk is not included in BeastROM and you must flash it to disable dm-verity or it will never boot.
im fix it and its ok now,how,i dont know
finaly miui gone,yyyuuhuu
If u update magisk and stug on bootloop,u can start on twrp and flash magisk manualy and reboot in beastrom again
---------- Post added at 09:32 PM ---------- Previous post was at 08:37 PM ----------
Just dont use or update to magisk 20,stug on bootloop
Crosstyan said:
Hey guys,
Although Mi CC9e (laurus) has been released for some days, there's few discussion on this device. The reason why I bought laurus is because I think it will share a community with Mi A3 (laurel_sprout), and it's easier to get laurus in China (with 6GB RAM). And indeed, laurus use exactly the same kernel with laurel_sprout. Most people think laurus is A only and laurel_sprout is A/B, which is almost, but not entirely correct. Devices launched with Android 9 are mandatory to use system-as-root.
In short, laurus MUST flash A/B image instead of A only, just like Mi 9 (cepheus) and Mi Mix 3 (perseus).
I assume that your'phone is unlocked and you've configured ADB and Fastboot.
So, let's start.
1. Flash TWRP
Reboot your laurus to Fastboot with Power + Volume Down.
There's a available TWRP from Chinese developer LR.Team
Download Link
The batch script is in Chinese, but I'm sure you know what to do if you're familar with Fastboot.
Code:
fastboot flash recovery recovery-TWRP-3.3.1-0914-XIAOMI_CC9E-CN-wzsx150.img
2. Flash BeastROM 1.6
Although BeastROM 2.0 has released but I can't get it work. It just display Mi logo and then jump to Fastboot. Most other GSIs won't work as well, it dosen't boot at all. So the only choose is BeastROM 1.6 for laurel_sprout @mdeejay.
BeastROM 1.6
unzip it, and what we need to do is flash system.img ONLY.
Code:
fastboot flash system system.img
And then reboot to TWRP, wipe data partition.
Edited:
You can find your vbmeta in fastboot ROM of laurus.
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
This command is NOT NEEDED if you can disable dm-verity via magisk. You can't boot without disabling dm-verity (stuck on Logo). I don't know how it works. Need some help from devs.
3. Flash Magisk
You HAVE TO flash magisk, or it will stuck on boot animation.
You can do it by "Install Root" in Advanced of TWRP.
Or do it manually by flash Magisk.
4. Flash GApps (Optional)
OpenGApps
Just Flash it in TWRP, nothing more to say. Maybe you need to wipe data again.
I think everything is perfect for now, execpt it's Android 9 instead of 10. At least you can get most of features in Mi A3 and get rid of stupid MIUI
Some stupid idea: for people who wanna get MIUI in laurel_sprout, you can flash system.img in fastboot of laurus. I don't think it will work but it worth trying.
I've tried flashing laurel_sprout image into laurus, it can boot, but it won't work. Screen blinks and it get stuck on welcome page, touching works though.
Fastboot of laurus
Fastboot of laruel_sprout
Click to expand...
Click to collapse
First of all, tks for getting the first not official rom for the cc9e! Really appreciated.
Can you please confirm if this rom has Spanish Language included? Tks!
im confirm,there is espanol language and almost all popular,and work like a charm
oska3 said:
im confirm,there is espanol language and almost all popular,and work like a charm
Click to expand...
Click to collapse
Tks buddy! I will try it
Thankyou heaps for for this post.
I will be back in 168hrs (mi unlock) to attempt (⌒▽⌒).
help
1)i flash fastboot stocck laurus rom
2)then flash twrp (always use files that you provide in this thread)
3)then flash system.img
4)then reboot to twrp >format data>yes
5)then install magisk 19.4 and pico gapps
6)then repeat format data and reboot
but always phone stuck on "G" logo booting
also try to flash vbmeta from stock after 4)
also try without gapps
also try vbmeta from beast 1.6
nothing
please help me
what i do wrong
sorry for my bad english
Some of us Mi A3 users want to use Miui 11 from CC9e, how possible is that. Could you give a tutorial?
Android one is snappy on mi a3, with 6g ram on CC9e it will be really smooth.
Xiaomi Mi A3 - Неофициальные прошивки miui 10 port,4pda
aleksbrain said:
1)i flash fastboot stocck laurus rom
2)then flash twrp (always use files that you provide in this thread)
3)then flash system.img
4)then reboot to twrp >format data>yes
5)then install magisk 19.4 and pico gapps
6)then repeat format data and reboot
but always phone stuck on "G" logo booting
also try to flash vbmeta from stock after 4)
also try without gapps
also try vbmeta from beast 1.6
nothing
please help me
what i do wrong
sorry for my bad english
Click to expand...
Click to collapse
Try to use the root in Advanced tab of TWRP.
mi cc9e can use stock rom of mi a3 without root, this mean bank app will work perfect
1- flash full rom with miflash (any lower version will not boot) http://bigota.d.miui.com/V10.2.13.0...FMCNXM_20190830.0000.00_9.0_cn_fc9f51f46d.tgz
2- download rom of mi a3, extract file system.img only
http://bigota.d.miui.com/V10.3.4.0....0.PFQMIXM_20190815.0000.00_9.0_00838b4c0e.tgz
3- go to fastboot and flash (vbmeta of micc9e)
fastboot flash system system.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot reboot

Categories

Resources