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.
Many manufacturers allow unlocking the bootloader via
Code:
fastboot oem unlock <key>
But this process wipes all the apps and data (basically does a factory reset).
This is my first xiaomi phone and its unlock method is different (probably unlock app does the same under the hood). After searching some xiaomi xda forums, I found that xiaomi unlock tools unlocks the bootloader without any data wipe. (Forum Link)
So can somebody confirm whether it is true for VINCE and if yes then how does the app do it without factory reset?
I unlocked the bootloader using Mi Flash Tool and I didnt lose any data. Only the bootloafer is unlocked. All data remained intact. But to install any custom recovery a complete data wipe would have to be performed.
Thanks for the answer.
But why would complete data wipe be performed to install custom recovery?
fastboot flash recovery.img does not wipe the user data.
Delete
---------- Post added at 02:41 PM ---------- Previous post was at 02:37 PM ----------
I dont exactly know why this happens but after unlocking bootloader when you flash twrp and then boot directly into MIUI without booting into TWRP first, it gets replaced by the stock recovery. To keep TWRP you need to boot into TWRP immediately after flashing it. Due to encryption TWRP asks for a password and to remove that password, complete wipe is required. So nothing in the process itself wipes the phone but to have it running you will need to wipe the phone. It is explained in more detail in the last few posts in the thread for TWRP.
---------- Post added at 02:44 PM ---------- Previous post was at 02:41 PM ----------
I dont exactly know why this happens but after unlocking bootloader when you flash twrp and then boot directly into MIUI without booting into TWRP first, it gets replaced by the stock recovery. To keep TWRP you need to boot into TWRP immediately after flashing it. Due to encryption TWRP asks for a password and to remove that password, complete wipe is required. So nothing in the process itself wipes the phone but to have it running you will need to wipe the phone. It is explained in more detail in the last few posts in the thread for TWRP. I dont know why anything is done it is just what I had to do to have TWRP installed.
Flashing twrp itself you´ll don´t wipe nothing except stock recovery. What is saying the user is then to flash twrp and reboot to it in order to reboot again to system you´ll need to format data (only this wipe is needed) due to encryption.
Knowing this if you get unlock bootloader without lost data maybe you can try inmediately to reboot to twrp flash a rom from same version in zip format by i.e if you are now in v8.4.26 that I guess is the latest then flash this same version ready for recovery not for fastboot flashing. This before to reboot for first time to system. I never tried this so I can´t sure you that works although theoretically it might works.
Hi,
My Oneplus X is stuck with Oneplus Logo. since i was trying to flash a Custom Rom. I guess i forgot to Unlock OEM from Developers setting. and flashed ROM.
Currently TWRP is working.
Fast boot is working with Power + Volume Up.
Device is not getting recognized in my PC.
Tried Driver Unsigned drivers from XDA thread for WIN10 ... downloaded rom and Softwares upto 15GB.
Been over 3 months now im using my Old nokia.
Please help.
if twrp is working then you should be fine. Just flash a rom.
You might need to wipe data, dalvik and cache (factory reset) from within twrp...
---------- Post added at 17:03 ---------- Previous post was at 16:59 ----------
If you don't really know where to find a rom and stuff like magisk, fdroid or microG, you could give free-droid a try.
Your bootloader is unlocked and OEM Unlock is on like it should be if you can boot into TWRP. You just need to try a different rom or change however you flashed it. As in: Flash a ROM and appropriate Gapps for it and nothing else. Flashing anything else without first booting up the new rom can cause issues.
Is it possible to unlock bootloader if you don't have access to Android? All I have is fastboot...and stock recovery bootloader
Anyone getting the same issue?
When I flash Magisk 20.0, the phone stays on the "Pocophone" screen seemingly forever. Uninstalling it with a Magisk Uninstaller makes the device boot up again.
EDIT: Solved thanks to @thomas140 - Magisk 17.1 was the key
This is what I've done to get it to work:
- Flash Magisk Uninstaller
- Flash Magisk 17.1 or 17.0
- Wipe data/cache
- Boot to OS, update Magisk Manager to latest version
- Go back to recovery and flash Magisk 20.0 (or whatever the latest version is at the moment you're reading this)
- It works!
No issue here with the latest canary build
CaPicote said:
No issue here with the latest canary build
Click to expand...
Click to collapse
What recovery are you using?
TheReduxPL said:
What recovery are you using?
Click to expand...
Click to collapse
TWRP 3.3.0
flash MAGISK old version (19 or 19.x) and update magisk after boot, in magisk app
AndreSkywalker said:
flash MAGISK old version (19 or 19.x) and update magisk after boot, in magisk app
Click to expand...
Click to collapse
Just tried flashing Magisk 19, still causes the phone to no longer boot.
EDIT: Even tried flashing Magisk 18, didn't help. In fact, it's quite different, instead of being stuck at the POCOPHONE screen it keeps rebooting :s
No issues here too, i flashed miui and magisk v20 rebooted fine. Try to wipe data
Sent from my POCOPHONE F1 using XDA Labs
TheReduxPL said:
Just tried flashing Magisk 19, still causes the phone to no longer boot.
EDIT: Even tried flashing Magisk 18, didn't help. In fact, it's quite different, instead of being stuck at the POCOPHONE screen it keeps rebooting :s
Click to expand...
Click to collapse
You tried flash uninstaller magisk and reboot phone? After this trie reboot recovery flash dfe and flash magisk 19 or 20 and reboot. I follows this steps in every update miui.eu. Unistall magisk, flash dfe, flash magisk...
AndreSkywalker said:
You tried flash uninstaller magisk and reboot phone? After this trie reboot recovery flash dfe and flash magisk 19 or 20 and reboot. I follows this steps in every update miui.eu. Unistall magisk, flash dfe, flash magisk...
Click to expand...
Click to collapse
Yes, I'm rebooting every time I use the uninstaller, letting the system boot at least once before trying again.
Tried flashing DFE before flashing Magisk 19, it's still causing it to get stuck on the boot screen. How does it work for you but it doesn't work for me
Mcha01 said:
No issues here too, i flashed miui and magisk v20 rebooted fine. Try to wipe data
Sent from my POCOPHONE F1 using XDA Labs
Click to expand...
Click to collapse
Tried that. Uninstalled Magisk, rebooted, wiped data, installed Magisk, no dice.
TheReduxPL said:
Tried that. Uninstalled Magisk, rebooted, wiped data, installed Magisk, no dice.
Click to expand...
Click to collapse
Run magisk uninstaller via twrp and install magisk 17.1. some said it worked.
thomas140 said:
Run magisk uninstaller via twrp and install magisk 17.1. some said it worked.
Click to expand...
Click to collapse
Yeah it did, thanks
What I've done:
- Flash Magisk Uninstaller
- Flash Magisk 17.1 or 17.0
- Wipe data/cache
- Boot to OS, update Magisk Manager to latest version
- Go back to recovery and flash Magisk 20.0 (or whatever the latest version is at the moment you're reading this)
- It works!
Same thing happened to me
I tried installing all versions and none of them are working
jordan_yoong_1 said:
Same thing happened to me
I tried installing all versions and none of them are working
Click to expand...
Click to collapse
Tell us your steps and see where goes wrong
Read Carefully..
So far this is how it worked for me and I think it will work to everyone.
First change your TWRP to Pitch black
https://forum.xda-developers.com/poco-f1/development/unofficial-pitchblack-recovery-project-t3847464
To change your TWRP
Extract the recover in twrp folder in the zip you download
flash image recovery
the if you are in the PITCH black recover flash it again using the zip file.
After that..
wipe dalvil/art cache, cache, system, data
then.
Flash miui 11 eu
Flash DisableForceEncryption_treble_v18 - if you don't want encryption
now.
In pitch black recovery go to advance>additional>tools>magisk - then swipe
Viola... after that set up your device then reboot
then update magisk in TWRP flash v20.
Tell me it work for u and thanks me later
thomas140 said:
Tell us your steps and see where goes wrong
Click to expand...
Click to collapse
First, I formatted my data because the recovery I was using was bugged and unable to decrype my data.
Then, I flashed miui.eu and dfe treble.
After that, I boot into system, complete my setup then boot into recovery again to install my magisk.
I installed basically all major version starting from 17 and all of them doesnt work. My phone just stuck at the 'pocophone' screen
---------- Post added at 09:13 PM ---------- Previous post was at 09:09 PM ----------
jordan_yoong_1 said:
First, I formatted my data because the recovery I was using was bugged and unable to decrype my data.
Then, I flashed miui.eu and dfe treble.
After that, I boot into system, complete my setup then boot into recovery again to install my magisk.
I installed basically all major version starting from 17 and all of them doesnt work. My phone just stuck at the 'pocophone' screen
Click to expand...
Click to collapse
Wait, I just tried v19.3 and it worked lol wtf
I jumped from v18.1 to v19.4 maybe that's why
TheReduxPL said:
Anyone getting the same issue?
When I flash Magisk 20.0, the phone stays on the "Pocophone" screen seemingly forever. Uninstalling it with a Magisk Uninstaller makes the device boot up again.
EDIT: Solved thanks to @thomas140 - Magisk 17.1 was the key
This is what I've done to get it to work:
- Flash Magisk Uninstaller
- Flash Magisk 17.1 or 17.0
- Wipe data/cache
- Boot to OS, update Magisk Manager to latest version
- Go back to recovery and flash Magisk 20.0 (or whatever the latest version is at the moment you're reading this)
- It works!
Click to expand...
Click to collapse
No need to complicate things unnecessarily. Just install and boot miui.eu normally, no internal wipe or anything, do usual setups, boot into twrp, install latest magisk and done. It'll boot normally.
---------- Post added at 02:58 AM ---------- Previous post was at 02:54 AM ----------
Urzu18 said:
Read Carefully..
Flash miui 11 eu
Flash DisableForceEncryption_treble_v18 - if you don't want encryption
Click to expand...
Click to collapse
Miui.eu is already decrypted by default. No need to flash DFE, you'll get bootloop.
kurogami95 said:
No need to complicate things unnecessarily. Just install and boot miui.eu normally, no internal wipe or anything, do usual setups, boot into twrp, install latest magisk and done. It'll boot normally.
---------- Post added at 02:58 AM ---------- Previous post was at 02:54 AM ----------
Miui.eu is already decrypted by default. No need to flash DFE, you'll get bootloop.
Click to expand...
Click to collapse
Oh Alright I didn't get bootloop when I flash DFE as I confused miui 11 eu as encrypted I know the previous version are not though.
Some of the user xiaomi miui or eu doesn't work as intended when I flash magisk same thing happened to me.
The best solution so far is download the latest Magisk 20.1 and download Pitchblack TWRP
Flash recover pitchblack.
If it you can't flash extract the image in TWRP folder then flash it as image then flash pitchblack zip again
wipe dalvil/art cache, cache, system, data
flash miui 11 flash magisk 20.1 done.
kurogami95 said:
No need to complicate things unnecessarily. Just install and boot miui.eu normally, no internal wipe or anything, do usual setups, boot into twrp, install latest magisk and done. It'll boot normally.
Click to expand...
Click to collapse
Except that's exactly what I did, and I got into a bootloop. I wouldn't have created this thread if that wasn't the case.
I did a clean install (factory reset & format data) of Xiaomi.eu 9.12.12 from global stable this morning and didn't have any issues flashing the MIUI Magisk 19.4. I am on the Mi Mix 3 though
Hey guys, I'm trying to install LineageOS GSI (arm64 A/B) on my Mi A3 and seem to be having some trouble getting the GSI to actually boot successfully.
I have already done my research both on XDA and elsewhere online, yet most threads focused on the device seem to be of little to no use and/or filled with spam replies that only serve to confuse people looking into this.
A quick note regarding the aforementioned threads:
I don't mean to sound disrespectful to the community, but honestly, bashing somebody over why they'd rather install anything but your own fav piece of software is completely ridiculous.
Without further ado, my case goes as follows:
I'm starting fresh with the latest stock firmware, after having unlocked my bootloader ofc (critical too), I've successfully installed TWRP, wiped, installed the system image and yet after rebooting I'm just greeted with good ol' Fastboot, at which point I either directly flash the stock firmware and try again or wipe my data and whatnot (through TWRP, if reinstalled) and still end up with Fastboot.
Therefore, I have to ask you guys:
Has anyone previously successfully installed any GSI rom on the Mi A3?
Did you flash the system img while on stock firmware or a previously flashed custom rom (ie Pixel Experience)?
Is there any need for any special patch similar to the ones used for MIUI based Xiaomi phones?
Did you face any other issues while trying to flash a GSI?
My intention is to eventually install microG using Nanodroid.
Thanks for asking. I was trying to flash Havoc, crDroid and MSM-Xtended Android 10 GSIs but I can't boot the phone.
I have flashed lots of GSIs in the past, but this is really intriguing me, I can't boot on Mi A3. Wiping or formatting data does not solve, neither Permissiver or Disable Dm-verity zips did the job... :crying:
I successfully bootet the LineageOS GSI yesterday. I was not coming from stock though. I think this process should work assuming you already bootet to TWRP:
1. flash the GSI image to system partition using TWRP
2. flash the TWRP installer to keep your recovery
3. (not sure if needed) flash no fde patch
4. optional: flash some other stuff like Magisk and gapps
5. wipe data and dalvik
I think it rebooted to recovery on my first try but worked after flashing everything again. I probably made some mistake on my first attempt but just make sure to try again before giving up.
Also there's this tutorial but it's not at all what I did to get it working:
https://forum.xda-developers.com/mi-a3/how-to/tutorial-flash-custom-rom-mi-a3-t3977169