Hi. I just received Mi 10 and tried to flash it with xiaomi.eu rom (native one - Global which doesn't support 2 SIM). It was pretty hard as it often declined to boot to the system. Finally I able to flash it successfully and ROM detects both SIM cards. But another problem appears: randomly after reboot phone lose `system` and `data` partitions and stops booting while nothing was touched.
In TWRP (using Chinese TWRP 3.4.1b-0313 by wzsx150) it shows that `data` partition is empty (what cannot be as it contains a lot of apps data) and unable to mount `system_root`. When I ask to reboot to system is says "No OS installed! Are you sure you wish to reboot" that is also strange - OS definitely as installed. One more time - no operations on system partitions were done before device bricked, it just randomly stops booting. While after last installation I rebooted it about 10 times to ensure it works. And after night - it goes to fastboot screen again. While without reboot it works for a long time (before boot uptime was about 6 days).
Device were unlocked after 7-days timeout successfully.
Actions I am doing to flash device (using Linux):
`fastboot flash recovery recovery-TWRP-3.4.1B-0313-XIAOMI10-CN-wzsx150.img` - TWRP flashed ok (I also tried other version include one specified in this thread: Ultimate guide to install stable or Dev rom from Xiaomi.eu)
Boot to TWRP
Format (not wipe) data: re-create FS (i.e. create ext4 FS) and format.
Copy `xiaomi.eu_multi_MI10_20.6.18_v12-10.zip` to device (or use external OTG storage)
Flash it successfully
Copy Magisk 20.4 to device
Reboot to TWRP and flash Magisk
Wipe cache
Reboot to OS
Pass first-time setup, install apps
Reboot couple of time to ensure everything works
Any idea what happens? I ab actually ran out of idea - it is not first phone I am reflashing and not the first Xiaomi device (before used Mi 6 reflashed with LineageOS for about 3 years) and it is first time I see device has probably corrupted data/system partition.
One note: after booting to flashed device I setup fingerprint and pattern for unlock. After reboot when phone cannot boot into OS TWRP doesn't ask for pattern (while in normal situation is should, latest TWRP how to unlock with pattern). It makes me think that at the boot moment partitions already corruppted.
Do that for clean installation:
flash fastboot rom (https://mirom.ezbox.idv.tw/en/phone/umi/) China Stable
when phone is open, shutdown. open fastboot and flash this recovery (https://androidfilehost.com/?fid=8889791610682877442)
in advance wipe section select dalvik, data and internal strorage then wipe
reboot to recovery again, in wipe section do Format Data, then reboot to recovery again
connect pc, put latest eu rom zip to phone then flash
restart and do the first setup
reboot to recovery again and flash Magisk
Related
I re-unlocked my device a few days ago after a long time of using MIUI. Unfortunately, I am now facing a peculiar problem I had not faced the previous time I unlocked my device.
I cannot seem to replace MIUI stock recovery with official TWRP.
If I use fastboot flash recovery xxx.img, the terminal does confirm that the action was successful. Yet, when I reboot into recovery, I am greeted by Mi-Recovery 3.0 instead of TWRP.
My initial thought was that maybe there was some restriction in MIUI that prevented the stock recovery from being replaced, so I flashed RR 5.8.5-FINAL. I still cannot flash TWRP.
Some other info:
The MIUI build I was on: MIUI 9 7.9.21 Global Beta
My phone: RN3 SD 2GB/16GB variant, Fpc fingerprint sensor
The temporary workaround I used to flash RR was directly booting into TWRP using fastbooot boot xxx.img
NOTE: I did a standard wipe (factory reset, followed by wiping System, Data and Cache) when I flashed RR.
As you might imagine, using fastboot to boot into TWRP every time I want to flash something is quite tiring and so if anyone can help me to permanently flash TWRP, I'd be really grateful. Thanks in advance.
PS: If this question has already been answered, then please guide me to the relevant thread and I will take down this one.
This problem also happened to my friend's Redmi Note 3 MTK. I don't know if it's going to work on KENZO or not.
The solution is to flash the TWRP recovery image through fastboot ==> Turn off the device by holding down the power button (DISCONNECT PHONE FROM PC) ==> Boot the recovery using button combinations
This should let you boot into TWRP and stays permanent after the first session
Flashing Through Fastboot/EDL Mode
Flashing Twrp through Fastboot is the permanent way of flashing the recovery...The method is very simple and can be done even on locked bootloader but the thing in locked bootloader is that once you have flashed the TWRP the internal storage is inaccessible because the data is encrypted so you need to wipe->format data ...then press "yes" ..by typing yes the internal storage will be formatted completely so make sure you have a backup ...and do copy the ROM file in SD card for flashing ...after wiping process press install then select SD card and flash the ROM and gapps and enjoy the TWRP...
Refer this link for flashing process youtu.be/rCONN1_IPuU(please add https:// before the link)
Hope this solves your problem...
same problem !! did you find any solution !!!
Hello guys,
There's a problem associated with encryption of my RN 3 Snapdragon edition. Some time ago, I've officially unlocked my bootloader, to flash any custom roms I want, whenever I want (before I was using the way around it, where unlocked bootloader wasn't necessary).
OK. Back to my point, when i unlocked my bootloader, I installed Resurrection Remix rom and it was android 7.x.x I think. Somehow I was offered to encrypt my data, to have better security of my phone, etc. So I encypted it. Then everytime I turn on or reboot the phone, I was asked for a PIN code during the rom start up screen or when entering TWRP recovery. I forgot that my phone was encrypted, and I formated/deleted all possible data on my phone (internal storage, cache, etc) using TWRP and installed a fresh Lineage 8.0. Then it asked for a password on first boot, if i want to use my old data, the old password was not correct and i just chose the option to forget about old data and use it as a new phone. The phone didn't boot at all. It booted only after installing stock MIUI rom via FASTBOOT with miflash tool, and then installing the Android 8.0. But until now it shows, that my phone is encrypted in the settings menu and when i enter TWRP, it tells me the phone is encrypted and I can't see my files on internal memory and it's hard to flash the phone, as I have to use adb sideload or some other ways, but I cannot use the TWRP in normal way.
BTW, I tried factory reseting, wiping everything I can, installing official MIUI roms several times and so on, nothing helped.
If you have any thoughts please write them below, any info is important,
Thanks in advance
Then everytime I turn on or reboot the phone, I was asked for a PIN code during the rom start up screen or when entering TWRP recovery.
Click to expand...
Click to collapse
You obliviously choosed to "Require Pin/Password/Pattern on boot up" when setting up your pin code.
To decrypted the device, you will need to Format Data (Not wipe or Factory Reset), and flash any of following before booting the device:
SuperSU, Magisk, Custom Kernel or FED Patcher.
Thanks alot, it worked.
I've formated data, flashed fresh rom, gapps and custom kernel before first boot up from TWRP.
Reminder!
If you update your rom,
make sure also to reflash the custom kernel before booting the device.
Otherwise your device will encrypt on boot.
See guys, we do not have an option to install stock C675 if everything is wiped. ( I mean to say something equivalent to EFS partition where imei resides ). Then what best can be done here is get your device working in Lineage and try some apn creation fixes which I'll post below for Volte. If it works, well and good. If it does not, we need to wait and swap sims till we get the official stock system.img and boot as well as recovery ramdisk out from a dev or Honor's side. They do not have it in their database and so its difficult for them too to install it from scratch as they need every rom partition and in the treble devices, its a different way than samsung's odin or Mi's flashtool.
Now follow the exact steps below which I did and got a working device :
Things to download :
Berkley TWRP Official, Lineage OS - [ 1. system.img from Garbage folder. (Latest) , 2. ROM zip to update the ROM to latest from TWRP later.] , Stock Recovery from XDA, Luk's Gapps.
1. Install Berkley Official TWRP latest one from XDA thread (with NO mod) through fastboot.
2. Always use the button combination (power+vol up) to boot to twrp as soon as it gets flashed and you remove the wire.
3. Once it boots, wipe data, system,cache. After that, go to "Format data" option in TWRP and format it. (Its different than wipe)
4. Restart in TWRP.
5. Go to fastboot mode from TWRP and flash stock recovery through fastboot by using ramdisk command.
6. Flash system.img which you downloaded through fastboot and then as soon as it gets installed, do not boot it and instead go to stock recovery from button combination and click on factory data reset. Once done, let your phone boot.
7. Once you boot, setup your phone and flash TWRP Image through fastboot again. (Do not wipe anything on that.)
8. Once flashed just boot to TWRP and flash Lineage 15.1 "zip" as well as gapps through ADB sideload or USB drive. Do it one by one, first OS zip and then reboot to TWRP and do the same process for Gapps zip. Just make sure, you do not wipe anywhere after step - 4.
9. If you follow the exact process, you get a working ROM.
Credits : I would like to thank Luke for Lineage 15.1 . If we are midway, we have no other option to go back to C675 and this is the only option mentioned above to get a Bug free device other than Volte and camera. For camera, there are stock ones available for Magisk.
*Urgent* Need clarifications regarding the flashing of TWRP recovery & custom ROMs
I want to flash a custom ROM (Pixel Experience Plus) on my Poco/Pocophone F1.
It would be of great help if I get clarifications regarding the following:
1. After unlocking the bootloader, is it necessary to flash TWRP recovery using 'fastboot flash recovery' cmd command, to flash a custom ROM? Or can TWRP recovery just be booted by using the 'fastboot boot' cmd command & then flash the ROM? (This is because I'd prefer to flash a custom ROM without permanently flashing TWRP recovery, I want TWRP temporarily)
2. In case if it's necessary to flash TWRP using 'fastboot flash recovery' cmd command, then do I have to flash DFE (Disable Force Encryption). Can I skip flashing DFE? (Because I don't want to flash DFE & want TWRP temporarily)
3. I want a clean install of the custom ROM. So, can I wipe Dalvilk/ART cache, Data, System, Cache, Internal Storage, SDCard? i.e. everything except, USBOTG (Because, the custom ROM & firmware ZIP files are stored in it & I'll flash them from USB OTG device).
Would this type of wiping affect the TWRP recovery?
4. After wiping everything except USBOTG, can the custom ROM & firmware ZIP files be transferred into the phone's internal storage by connecting it to the PC, while in TWRP recovery?
5. Is it safe to flash the ZIP files from a USB OTG device?
6. As I already mentioned that I want TWRP temporarily (If it's possible). After flashing the firmware & custom ROM. If the recovery is still a stock Mi recovery. Would it affect the functioning of the custom ROM in any way?
If all of the above can be done, is this one of the proper way to flash/boot TWRP recovery & flash a custom ROM? If not, please guide me accordingly.
imegsp said:
I want to flash a custom ROM (Pixel Experience Plus) on my Poco/Pocophone F1.
It would be of great help if I get clarifications regarding the following:.
Click to expand...
Click to collapse
i'm no expert and i'm fairly new to flashing if you're kind enough to read it here's my 2cents.
1) I believe it is necessary to flash with that command & have TWRP as your custom recovery , it is packed with powerful tools. so i don't see a problem not wanting it permanently and it saves you the hassle of flashing it again when changing roms , fixes,etc..
2) Yes , you need to flash the DFE so you won't encounter any errors in TWRP later.
3) " Dalvilk/ART cache, Data, System, Cache " this should be okay , no need to flash everything. for best practices do a factory wipe in TWRP and in advanced mode wipe those 4. make sure to create a backup in-case something goes wrong.
4) I haven't tried this yet , but it seems not doable as you need permission in the phone for the default USB connection toggle if it's in data transfer mode , usb debuggin , charging etc. best is boot your phone then do the transfer in file manager.
5) Yes it is safe since OTG is another form of External Data devices such as SD Card , etc.
6) No it wouldn't affect the rom functionality since rom and recovery is two different thing.. but still , to avoide future mishaps stick with TWRP
you can check this helpful link by madsponge26 : https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-unlock-bootloader-custom-t3839405
imegsp said:
I want to flash a custom ROM (Pixel Experience Plus) on my Poco/Pocophone F1.
It would be of great help if I get clarifications regarding the following:
1. After unlocking the bootloader, is it necessary to flash TWRP recovery using 'fastboot flash recovery' cmd command, to flash a custom ROM? Or can TWRP recovery just be booted by using the 'fastboot boot' cmd command & then flash the ROM? (This is because I'd prefer to flash a custom ROM without permanently flashing TWRP recovery, I want TWRP temporarily)
2. In case if it's necessary to flash TWRP using 'fastboot flash recovery' cmd command, then do I have to flash DFE (Disable Force Encryption). Can I skip flashing DFE? (Because I don't want to flash DFE & want TWRP temporarily)
3. I want a clean install of the custom ROM. So, can I wipe Dalvilk/ART cache, Data, System, Cache, Internal Storage, SDCard? i.e. everything except, USBOTG (Because, the custom ROM & firmware ZIP files are stored in it & I'll flash them from USB OTG device).
Would this type of wiping affect the TWRP recovery?
4. After wiping everything except USBOTG, can the custom ROM & firmware ZIP files be transferred into the phone's internal storage by connecting it to the PC, while in TWRP recovery?
5. Is it safe to flash the ZIP files from a USB OTG device?
6. As I already mentioned that I want TWRP temporarily (If it's possible). After flashing the firmware & custom ROM. If the recovery is still a stock Mi recovery. Would it affect the functioning of the custom ROM in any way?
If all of the above can be done, is this one of the proper way to flash/boot TWRP recovery & flash a custom ROM? If not, please guide me accordingly.
Click to expand...
Click to collapse
1. if you always want to depend on PC to trigger your Poco in to recovery then use command "fastboot boot recovery.img", otherwise lets say you are on the move and got pixel update! you can simply download it , and flash it in 15 mins on the go , so mainly its upto you . from security point of view, yes its not good to have twrp flashedi n your /recovery , anyone can boot and do harm! , so its a judgement call for you...
2. again upto you, DFE wont interfere/confilt with either rom or twrp
3. android device have various paritition wiping "/system" & "/data" (user setting and apps & appdata) is ENOUGH and called CLEAN FLASHING in various threads of custom roms. you don't have to wipe internal storage!!! you will lose you data... BUT YES if you get encryption error then you must click "FORMAT DATA" button on twrp in order to make storage usable/accessable to twrp. this FORMAT DATA will format your /data /system and /internalStorage partitions and you will delete all your data! then you can flash custom rom of your choice from scratch
4. you don't get access of TWRP FILEMANAGER via fastboot commands from pc, BUT you can do similar by enableing TWRP SIDELOAD option under settings, this adb sideload is a mode listening for new incoming file to flash! if you side load pixelrom.zip from fastboot command while your twrp has active sideload waiting, fastboot will start sending the file and twrp will wait and as soon as the transmit is completed! the file will automatically be flashed!. ,
however you can put files in usbotg drive or combo drive and using file manager in twrp move files from HERE to THERE!
5. I always do it!, but make sure the connection is not faulty!!! otherwise high chances of incomplete flashing and I lost my redmi3i due to impcomplete flashing of stable rom! (bricked)
6. no it wont affect! infact you can even keep the /recovery partition blank! ( fastboot erase recovery).
for MIUI FLASHING/ROOTING / Disabling force encryption etc , this post is king
https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-unlock-bootloader-custom-t3839405
I am on HAVOC2.8 and this is how i did it
1. flashed TWRP 3.3.1 unofficial (download it from HERE ) ref Reference - as official twrp has TOUCH driver issues. this one worked with me very well
2. I wiped /data, /system then
3. flashed VENDOR.zip from HERE
4. FLASHED CUSTOM ROM (i use HAVOC2.8)
5. FLASHED DFE HERE - REFERENCE
6. FLASHED GOOGLE APPS ( GAPPS.ORG) ( ARM64>9.0MicroPackage)
7. Flash Optimus Drunk Kernel ( OPTIONAL- havoc uses shadow kernel , i feel OD kernel is better, battery and 4g connectivity)
8. FLASHING MAGISK19.3
9. when i was on havoc2.7, by using MIGRATE, it made flashable zip of my APPS+DATA, stored in internalStorage, and now I will FLASH that file., Mine size goes to 2gb you can get it from HERE
10. WIPE CACHE/DELVIK
11. REBOOT
fire reboot may go in to bootloop and then second reboot may take a while and finally you should see Pixel Setup asking google accounts and info etc
once after you finish setup! don't RESTORE APPS from PLAYSTORE, (download only license apk, in my case I have purchases many apps from playstore and saperate license info is always appear in intial setup! SELECT THOSE ONLY)
ONCE playstore is DONE downloading all your selected (fewer) apps, and MAGISK ROOT is working...... put device on AIRPLANE MODE
FROM DROP DOWN Notification panel, CLICK MIGRATE, and it will prompt you what do you wana restore from your previouce ROM to newly flashed HAVOC ..APPS+SETTINGS+PERMISSION+DATA etc - migrate restoration may take upto 30 mins,
once done, uninstall from system and reboot device!
REMEMBER I DONOT RECOMEND MIGRATE TRICK FOR WHATSAPP, it doesn't work properly and NOTIFICATION ISSUES with BLANK DP observed by me whenever I forcely re-instated whatsapp by migrate!
Hi! I have been switching roms weekly to see what rom would be great fit for me.
I was from the device of whyred and certainly curtana is a very different system to mess around with.
Going back to the concern, I cannot flash anything else with any recovery except the original ROM of the device (my device is curtana) and here is what I did so far:
1. Tried format data, restart recovery and then format cache, dalvik, internal - doesn't work
2. Tried changing recovery: LOS, TWRP official, OrangeFox (what I am currently using)
3. Tried changing format partitions (exfat, f2fs, ext4)
I can't do the last resort which is to stay with MIUI because I can't deal with MIUI any longer due to the MIUI apps. (I am heavily reliant to AOSP).
Can anyone help me with this?
First You have to install TWRP recovery and vbmeta with command prompt from fastboot mode, then after installing TWRP, install the Orange fox recovery, enter the new password or pin and format the internal storage, then try two install any rom
If you want any links for files pm me https://t.me/HemanthAryan