Guys i just unlocked my phone i tried out Android Pie Roms.
I tried Lineage OS, didn't like it.
Then i tried Pixel experience. nah
Now i want to switch back to MIUI stock rom and i simply CAN'T
i flash the stock rom through TWRP and when i boot my device i'm asked for a password that i haven't set at all.
It is wierd because i can see that the UI asking for password is android Pie but i'm running stock MIUI rom
my device is simply unusable right now, i cant boot into OS anymore
Guys if i go to \data\system there is NO *.key file at all. what is happening? my phone is bricked
Try to flash the stock rom on miflash, download the fastboot rom on MIUI Site or here: https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-unlock-bootloader-custom-t3839405
or in TWRP try to wipe dalvik, cache, system and data except internal storage and try to flash the full stock rom again
i have stock rom on my sdcard, i flash it many times. wiped everything, but i'm still being asked for a android pie password that i have not ever set
fabricio7p said:
i have stock rom on my sdcard, i flash it many times. wiped everything, but i'm still being asked for a android pie password that i have not ever set
Click to expand...
Click to collapse
Password is either your miui linked account password or lock screen password you set first time on miui
If either worked try like He told you flash sto k THROUGH MIFLASH not TWRP that way you really go back to stock MIUI
Sent from my POCOPHONE F1 using Tapatalk
I had exactly the same problem, and what guys said miflash tool helped me (but don't forget in miflash you must to choose "clean all").
Related
Hello. The problem i have is that when i try to restore( from twrp ) or flash ( from fastboot ) the stock boot.img, I loose wifi and bluetooth completely. I'm trying to get rid of stromguard kenel. The wifi's mac address is 20:00:00:00:00 which is definately not right.:cyclops:
Please Help!!!
p.s. The wifi comes back again if i flash the custom kernel.
choose a firmware
https://forum.xda-developers.com/re...irmware-firmware-miui-9-china-stable-t3697976
flash in twrp
reboot
done
Try flashing the firmware, or flash the rom again (dirty flash)
blitzkid said:
choose a firmware
https://forum.xda-developers.com/re...irmware-firmware-miui-9-china-stable-t3697976
flash in twrp
reboot
done
Click to expand...
Click to collapse
It didn't work. It is still the same.
MyNameIsRage said:
Try flashing the firmware, or flash the rom again (dirty flash)
Click to expand...
Click to collapse
Only flashing the firmware didnt do anything. Im on stock dev rom bro so the only rom flashing i know of is to flash the system.img which will delete every apps and its data and i dont want to do that. Is there any other option?
samuniv said:
Only flashing the firmware didnt do anything. Im on stock dev rom bro so the only rom flashing i know of is to flash the system.img which will delete every apps and its data and i dont want to do that. Is there any other option?
Click to expand...
Click to collapse
What you can do is, that you can clean flash miui,
This will take some time, but is actually much easier and somewhat fool proof.
Firstly make a back-up of data, to miui account,
Then, go to en.miui.com/download from there choose redmi note 4x and download the zip file of miui version you want. Transfer it onto an sd card or a location which can be accessed after the internal storage is wiped. Go to twrp, format data, wipe data, cache, system and dalvik. Now transfer the miui rom file to the device, or to sd card, and flash it, along with lazy flasher. Now reboot, it will say "no os installed" but just reboot. It will take some time to load, but it will boot. Now you can sign in with mi account and you can restore data.
A few days ago I installed RR Oreo on my device using twrp. Now I want to go back to MIUI and remove custom recovery. Basically I want to revert back to what it was before customising and stuff..
Right now, twrp asks for a password to work and even RR asks for a password before booting completely.
( Guess something to do with encryption)
Guys please suggest a fool proof method that won't brick my phone.
I searched on the net, but there were so many ways that I got confused..
Please help!!
Why would you even go back to miui?
Because I'm having issues
My camera isn't working, battery life sucks and there are heating issues.
Please tell me how to do it properly.
I think the device is encrypted. How to go about that?
SolidXx said:
A few days ago I installed RR Oreo on my device using twrp. Now I want to go back to MIUI and remove custom recovery. Basically I want to revert back to what it was before customising and stuff..
Right now, twrp asks for a password to work and even RR asks for a password before booting completely.
( Guess something to do with encryption)
Guys please suggest a fool proof method that won't brick my phone.
I searched on the net, but there were so many ways that I got confused..
Please help!!
Click to expand...
Click to collapse
If u coming from miui. Then Before installing custom rom U must format data in twrp. It formats the data and internal sd and decrypts the storage.
It will erase ur stuff.
First format data
Then wipe data factory reset
Flash rom
Flash gapps
Reboot
Thank you so much!!!! God bless you
Just one doubt.
I want to go back to MIUI from a custom ROM.
I made a twrp backup before installing my current ROM.
So after formatting data and wiping factory reset, can I use that backup to restore?
I tried restoring the backup earlier but the phone got stuck at mi logo (I didn't format data, maybe that's why it got stuck)
Try using Miflash
SolidXx said:
A few days ago I installed RR Oreo on my device using twrp. Now I want to go back to MIUI and remove custom recovery. Basically I want to revert back to what it was before customising and stuff..
Right now, twrp asks for a password to work and even RR asks for a password before booting completely.
( Guess something to do with encryption)
Guys please suggest a fool proof method that won't brick my phone.
I searched on the net, but there were so many ways that I got confused..
Please help!!
Click to expand...
Click to collapse
Did U Backup your Original MIUI stock ROM Via TWRP IF yes Follow These Step
1.) You have To Copy Your Original MIUI stock ROM To your Pc
2.) Reboot To TWRP
3.) GO to Wipe Section and Select Advance
4.) Then Wipe System,Data,Cache,Internal Storage
5.) Press Home Button
6.) Copy Your Original backup MIUI stock ROM in your phone to PC(Make Sure U Have To copy File In Root of Your Phone)
7.)Last Step Go To Restore Section And select your ROM N Swipe to restore
8.)Reboot To system
I Hope U Understand My Steps
And Sorry For my Bad English
Best Of Luck?
Hi, i was trying to install lineage os 16 and when i rebooted my phone, lineage os was asking for password, i panicked, launched TWRP and wiped data and restored a backup, since then im in bootloop. I dont know how to install lineage os or stock MIUI now that i cant boot my phone.
(i tried copying some files from my pc to poco but TWRP doesnt seem to recognice them to let me install)
Any help would be really appreciated!
EDIT: installed stock rom with xiaomi flash tool
First you should have flashed DFE you could have also fixed that by formatting the internal storage, anyways try flashing compatible vendor, firmware files are then flash LOS 16 with DFE if it doesn't work flash stock miui with and make sure to flash DFE after that or you'll lose TWRP and will get back on stock recovery
Blubandit23 said:
First you should have flashed DFE you could have also fixed that by formatting the internal storage, anyways try flashing compatible vendor, firmware files are then flash LOS 16 with DFE if it doesn't work flash stock miui with and make sure to flash DFE after that or you'll lose TWRP and will get back on stock recovery
Click to expand...
Click to collapse
Thanks, i had flashed firmware and then los 16, i followed munchy steps from youtube except that i installed newer version of magisk and TWRP, i skipped DFE because i wanted to have LOS16 encrypted (i thought this was not a must).
So it is not possible to skip DFE? or if i would had just formatted internal storage as you say would solve the password issue?
cyanocitta said:
Thanks, i had flashed firmware and then los 16, i followed munchy steps from youtube except that i installed newer version of magisk and TWRP, i skipped DFE because i wanted to have LOS16 encrypted (i thought this was not a must).
So it is not possible to skip DFE? or if i would had just formatted internal storage as you say would solve the password issue?
Click to expand...
Click to collapse
If you want your device encrypted follow the same steps as you previously did and reboot if it asks for password just go back to twrp go to wipe and simply format from there it should solve the problem:good:
Blubandit23 said:
If you want your device encrypted follow the same steps as you previously did and reboot if it asks for password just go back to twrp go to wipe and simply format from there it should solve the problem:good:
Click to expand...
Click to collapse
Great! Thanks a lot, gonna try that and write back.
Repeated the process to install LOS16, and this time it didnt ask for password. :laugh:
Hello, I now have 8 days note 10 lite today I unlocked bootloader, installed TWRP via adb after that I installed lineage os and wiping data etc. After that I faced a bootloop and lineageos bootscreen doesnt go away after 15 minutes.
So I tried to reflash the rom again, but twrp isnt able to reinstall the rom. I then used miflash to get original rom again.
Started all over installed twrp, flashed lineage os after this install after reboot I get everytime back into TWRP and looked on my pc and all files suddenly are encrypted on my phone and cant get lineage os rom again on my phone..
So I used miflash again and decided to ask here first. Does anybody know if I maybe use a wrong TWRP or missed a step?
I really dont understand it, I tried it for a 3th time. Here is exactly what I did.
- installed TWRP through ADB (TWRP-3.4.0-0_Android11_Roms_AndroidHQ254)
- In TWRP put rom on my internal storage
- Wipe Dalvik, data and cache
- Install rom (TWRP-3.4.0-0_Android11_Roms_AndroidHQ254)
- data wipe (where I had to type yes to confirm)
- Reboot to system and then it doesnt do anything and goes back into TWRP where I cant do anything, and I have to flash original rom back through MiFlash.
I run now MIUI 12.0.2
Android 10
Try using orangefox recovery. And i think you have to wipe data before installing rom, not after it.
ApexPrime said:
Try using orangefox recovery. And i think you have to wipe data before installing rom, not after it.
Click to expand...
Click to collapse
Thank you, I was able to do it with Orangefox.
Hi, I've recently repaired my mido with a new screen after a fall. After this I tried some custom roms. Initially I managed to install lineage 18.1. After I switched to dotOS. From this point on, the phone restarts a few seconds after the launcher appears. To fix this I used MiFlah to install latest MIUI, formatted data, wiped everything, tried TWRP and Orangefox, tried other custom roms with no changes. Now only stock MIUI11 works. Other custom roms (included lineage) gets the phone continuously rebooting. Could be an hardware problem? What am I doing wrong? It is the first time in ages I have problems flashing ROMS .-.
Thanks.
gabritb01 said:
Hi, I've recently repaired my mido with a new screen after a fall. After this I tried some custom roms. Initially I managed to install lineage 18.1. After I switched to dotOS. From this point on, the phone restarts a few seconds after the launcher appears. To fix this I used MiFlah to install latest MIUI, formatted data, wiped everything, tried TWRP and Orangefox, tried other custom roms with no changes. Now only stock MIUI11 works. Other custom roms (included lineage) gets the phone continuously rebooting. Could be an hardware problem? What am I doing wrong? It is the first time in ages I have problems flashing ROMS .-.
Thanks.
Click to expand...
Click to collapse
The vendor partition could have some code/ file that persists stock ui or system
and make sure your phone was rooted before flashing custom rom
and also via twrp flashing. from what Ive seen flash in twrp before flash custom rom( https://www.google.com/search?client=firefox-b-d&q=disable+encryption+treble ) then flash the "verity and encryption disabler ,theres another one to re enable encyption only " then flash custom rom
after flashing custom rom reboot poweroff(switch phone off via twrp)
reboot into twrp and flash whatever else you need
now reboot to system and your phone should work fine
Thanks, it worked!
I did:
Flash last miui with miflash
Flash recovery
Flash you suggested zip
Format data
Flash lineage 17.1 (android10)
WIpe system, data, cache, art cache
Flash any android 11 ROM
gabritb01 said:
Thanks, it worked!
I did:
Flash last miui with miflash
Flash recovery
Flash you suggested zip
Format data
Flash lineage 17.1 (android10)
WIpe system, data, cache, art cache
Flash any android 11 ROM
Click to expand...
Click to collapse
Holy **** how did you come up with this.
Either the zip with Magisk somehow fixed it or installing the android 10 rom somehow. Either way doesn't make sense
flairepathos.info said:
The vendor partition could have some code/ file that persists stock ui or system
and make sure your phone was rooted before flashing custom rom
and also via twrp flashing. from what Ive seen flash in twrp before flash custom rom( https://www.google.com/search?client=firefox-b-d&q=disable+encryption+treble ) then flash the "verity and encryption disabler ,theres another one to re enable encyption only " then flash custom rom
after flashing custom rom reboot poweroff(switch phone off via twrp)
reboot into twrp and flash whatever else you need
now reboot to system and your phone should work fine
Click to expand...
Click to collapse
Didn't work for me,
- did all the steps , exactly - flashed stock fastboot , then flashed Android 10 based rom crDroid + pico gapps. worked fine for 2 hours or so .
but interesting enough , phone freezes then shutdown without restarting , then i would go and trun it back on , but fingerprint not working now
heroboy107 said:
Didn't work for me,
- did all the steps , exactly - flashed stock fastboot , then flashed Android 10 based rom crDroid + pico gapps. worked fine for 2 hours or so .
but interesting enough , phone freezes then shutdown without restarting , then i would go and trun it back on , but fingerprint not working now
Click to expand...
Click to collapse
i think somewhere in the process the persist partition gets damaged .
heroboy107 said:
i think somewhere in the process the persist partition gets damaged .
Click to expand...
Click to collapse
so if you have magisk you can use a zip file to chmod 744 or 644 (it may be "chmod root 744" )the /persist partiton and thatll mean only true root has access
so 7 is read write execute 6 is read and write 4 is read only 5 is read execute i forgot which number was execute only 1 maybe?
so play with the permissions or look in the root folder for boot.p or permissions.sh then you can modify in there the permissions, it can cause bootloop , so always keep an original copy or youll hae to reflash(DISCLAIMER)
so you can pull the file using adb+root / or a root explorer
Copy it to phone then edit then copy to SDCARD
reboot to twrp then use shell/terminal "chmod 777" the partition where the file is / or read write everything
then copy the file and overwrite the original