From AOSP to miui - Redmi K20 / Xiaomi Mi 9T Questions & Answers

Hi,
Running latest evolution x rom and want to go back to miui. Simply wiped everything in twrp and installed xiaomi.eu rom - installation was successfully but when It's finish booting and the set-up screen should be there my screen just goes black and set-up screen is coming again and again and again and again. Even tried different miui ROMs. Was running completely fine a week before.
Any suggestions?

FroZine said:
Hi,
Running latest evolution x rom and want to go back to miui. Simply wiped everything in twrp and installed xiaomi.eu rom - installation was successfully but when It's finish booting and the set-up screen should be there my screen just goes black and set-up screen is coming again and again and again and again. Even tried different miui ROMs. Was running completely fine a week before.
Any suggestions?
Click to expand...
Click to collapse
Did you leave your password/pin before you changed rom? Try deleting in TWRP and see if it helps.

zerodynamyx said:
Did you leave your password/pin before you changed rom? Try deleting in TWRP and see if it helps.
Click to expand...
Click to collapse
Thanks for the reply but I don't have a pw/pin.

FroZine said:
Thanks for the reply but I don't have a pw/pin.
Click to expand...
Click to collapse
Sorry but I'm out of ideas then. I usually go back and forth xiaomi.eu and aosp but I haven't encountered this. I usually wipe cache, dalvik, data, and system. I also have to reboot to recovery after wipe before flashing xiaomi.eu to be able to mount the system partition.

zerodynamyx said:
Sorry but I'm out of ideas then. I usually go back and forth xiaomi.eu and aosp but I haven't encountered this. I usually wipe cache, dalvik, data, and system. I also have to reboot to recovery after wipe before flashing xiaomi.eu to be able to mount the system partition.
Click to expand...
Click to collapse
I do the same
Mhm. I will try again this evening. Let's see.

I'm facing the same issue...
Coming from LOS, I flashed latest EU rom, wiped data and internal storage.
Now I'm looping at the setup screen "Just a sec..."
I removed the pin/pwd in TWRP but it didn't help

Did you format data?

IEATMILKA said:
Did you format data?
Click to expand...
Click to collapse
Yes, and internal storage

guilhem_h said:
Yes, and internal storage
Click to expand...
Click to collapse
Format data and then typed "yes"? Not "wipe data" .So that everything gets deleted except twrp?

IEATMILKA said:
Format data and then typed "yes"? Not "wipe data" .So that everything gets deleted except twrp?
Click to expand...
Click to collapse
Oh sorry I misunderstood, no I just wiped /data.
As soon as I copied the rom on my phone again I'll try that if I'm facing the same issue :good:

I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!

Saluzzo97 said:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Click to expand...
Click to collapse
It worked !! :good::good::good:

Saluzzo97 said:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Click to expand...
Click to collapse
Oh boi. So when I wipe my internal storage it's not the same like formating data ? This was my mistake

FroZine said:
Oh boi. So when I wipe my internal storage it's not the same like formating data ? This was my mistake
Click to expand...
Click to collapse
I don't know precisely why, but yeah, it's not the same thing. In fact, I had problems too, but formatting data after total wipe resolved them

formatting data "Yes" is another thing that is important when you flash custom ROM or go back to stock ROM.

After flash the miui, go back wipe -> Factory Data -> Type (yes) -> restart
it will be works

Same here
I flashed fastboot rom to get device work again

Related

[Q] Update Paranoidandroid from 1.1a to newest version

Is there a way to make an update from V1.1a to the newest version without a full flash? I wish to avoid a reinstallation of all Apps and settings
I installed 1.2 straight over the top of 1.1 and it worked no problem, all apps and data unaffected.
Otherwise, do a cwm backup, then clean install, then cwm - advanced restore - restore data.
So you have copied the V1.2 Zip-File on the SD card and flashed the version with 'AD recovery' in MAGLDR?
I have flashed v1.4a, from v1.1a .
I did this:
Copied the ROM to my SDCARD, Backed up current ROM (Just in case), wiped dalvik cache, installed ROM, fixed permissions ('cause I installed an a2sd script), rebooted into ROM.
(Took about 17 minutes) at first.
just done a 1.2a to 1.4a dirty upgrade, no backup/restore, just straight over the top, no fix permissions, nothing, , no problems (well, not in first 4 hours anyway)
Marvlesz said:
I have flashed v1.4a, from v1.1a .
I did this:
Copied the ROM to my SDCARD, Backed up current ROM (Just in case)
Click to expand...
Click to collapse
With wich tool do you do that?
, wiped dalvik cache,
Click to expand...
Click to collapse
How i can do that?
fixed permissions ('cause I installed an a2sd script)
Click to expand...
Click to collapse
I don't understand, what you mean with this point
Sorry for much questions and thanks in advance for your help
Marvlesz said:
... wiped dalvik cache, f...
Click to expand...
Click to collapse
Is that the item 'wipe cache partition' in MAGLDR in AD Recovery?
In cwm choose advanced and you will see wipe dalvik
Yes, i found it, thanks for your help.
Do you think additional work is to do to erase dalvik because i'm using Link2SD? If you display an app in this program the part 'Dex' seems linked to dalvik and has moved for apps which are stored on the sd card.
samsamuel said:
I installed 1.2 straight over the top of 1.1 and it worked no problem, all apps and data unaffected.
Otherwise, do a cwm backup, then clean install, then cwm - advanced restore - restore data.
Click to expand...
Click to collapse
And then you have all App, settings, etc. back on the system?
HTCdevel said:
And then you have all App, settings, etc. back on the system?
Click to expand...
Click to collapse
Yep, they never left the system, there was no wipe,,,phone running fine, on 1.2, downloaded 1.4 using phone, restarted into cwm, ran the flash, rebooted, done. I wasn't even at home, I was on the train.
Admittedly there isn't a huge amount,, maybe 10 apps, and some data, but there was no setting up to do except for the PAD /PAL stuff,, contccts, wallpaper, shortcuts, loclscreen shortcuts, all exactly as it had been 4 minutes before.
Marvlesz said:
...fixed permissions...
Click to expand...
Click to collapse
This point is currently open for me.
What does it mean?
it means start cwm and click advanced - fix permissions
have been doing update just flashing over the existing pa, no problem at all. so answer is yes.
HTCdevel said:
...
Do you think additional work is to do to erase dalvik because i'm using Link2SD? If you display an app in this program the part 'Dex' seems linked to dalvik and has moved for apps which are stored on the sd card.
Click to expand...
Click to collapse
This is, hopefully , my last open issue.
HTCdevel said:
This is, hopefully , my last open issue.
Click to expand...
Click to collapse
Ok, let me clarify a few things for you:
1- I backed up my ROM (Because I was expecting a bootloop, so I did a BU just in case, it's not necessary if you know your ROM's going to boot.)
2- I wiped dalvik/fixed permissions because I use (amarullz d2ext) which requires a clean dalvik & fixing permission, if you don't use that script, you don't need them.
3- Other than that, you can do just like sam, install the update on top of your current rom and you should be good to go.
Marvlesz said:
...
2- I wiped dalvik/fixed permissions because I use (amarullz d2ext) which requires a clean dalvik & fixing permission, if you don't use that script, you don't need them...
Click to expand...
Click to collapse
Is amarullz comparable with Link2SD, then i must do it in the same manner?
I have tried it before a few minutes, but it fails in a bootscreen with the HTC logo. Android doesn't start.
What i have done:
1) Copied the file paranoidandroid_hd2_v1.4a.zip to the SD card,
2) Enter MAGLDR
3) AD Recovery
4) Wipe Dalvik, fix permissions
5) Install Zip from SD card
6) choose Zip from SD card
7) choose the Zip and confirmed it
I have made a backup so i could restore the system and everything is like before.
Fix permissions AFTER installing the rom. There's nothing to fix until then.
Marvlesz said:
I have flashed v1.4a, from v1.1a .
I did this:
Copied the ROM to my SDCARD, Backed up current ROM (Just in case), wiped dalvik cache, fixed permissions ('cause I installed an a2sd script), installed ROM, rebooted into ROM.
(Took about 17 minutes) at first.
Click to expand...
Click to collapse
Thanks man for this. When i flash new rom, i did these steps:
Task29
Install Magldr
Partition
Wipe all data/factory reset
Wipe partition cache
Wipe Dalvik cache
Flash ROM
Flash update, addons if nessessary (Do i need reboot before do this step?)
Now i know when use wipe dalvik cache.
I read somewhere about task29 many times make the phone "bad blocks". I did it hundred time when flash new ROM
May i flash new ROM without task29 & install madglr, just do from step 3 above?
Thanks all.

[Q] Keeps restarting.

I recently did not install or update applications. A few hours ago, i opened phone and when i clicked an app, it gave error "the xx applciaton has stopped". For example twitter whatsapp but not camera but in camera there was no gallery.
I restarted a few times and now i can not beopened, keeps restarting after loading os and when it says "preparinbg sd card" , it restarts.
I can not remember but my rom is aurorasp 4.0.4
I dont want to lose data, how can i backup? My pc doesnot see while phone in pink screen or while power off. What can i do?
(in pink screen, ican only see image file)
Any hlp, i can not open, keeps reastarting
Please help. it goes into infitnve restart loop. I did not install or update any applications, i dont know why this happened.
try reinstall/reflash ROM and clear cache/dalvik cache, factory reset and!!! format internal storage (EMMC)
Cursed Chico said:
Please help. it goes into infitnve restart loop. I did not install or update any applications, i dont know why this happened.
Click to expand...
Click to collapse
PxYra said:
try reinstall/reflash ROM and clear cache/dalvik cache, factory reset and!!! format internal storage (EMMC)
Click to expand...
Click to collapse
Is not there a way not to lose data and to reset, maybe updating instead of flashing?
I am waiting help.
use Titanium Backup for data backup and reinstall android
Cursed Chico said:
I am waiting help.
Click to expand...
Click to collapse
PxYra said:
use Titanium Backup for data backup and reinstall android
Click to expand...
Click to collapse
But i cant go into desktop mode to use applications, can i use from adb?
Waiting help.
Hi!
Yes, you can save your phone's data using adb:
Code:
adb pull /data /path/to/save/data
For example, if I want to save my data in a folder called 'data' on the desktop of my computer, I would use this:
Code:
adb pull /data /home/username/Desktop/data
Good Luck
in that matter whenever i see that kind of error like not responing"""""""""""""""
just go to application manager and touch left touch panel (depends on phone) reset app preferances
may it give you out of it. if no than wipe data from recovery or reload os
thnx
regards.
skhan
I cant click anything, it restarts as soon as being opened.
Is there any way different from adb, for example again updating ?
Hey. I would really like to help.
Which phone model are you using? (u8800-51?)
Which ROM are you running?
PxYra said:
try reinstall/reflash ROM and clear cache/dalvik cache, factory reset and!!! format internal storage (EMMC)
Click to expand...
Click to collapse
rqmok said:
Hey. I would really like to help.
Which phone model are you using? (u8800-51?)
Which ROM are you running?
Click to expand...
Click to collapse
Rom is i guess auror4v4, i installed 2-3 months ago.
Model is i think u8800, in back it is wirtten.
Andit keeps restarting, how can i use adb?
Can you go into recovery? If you can then go into recovery and backup your ROM. After that, get a CyanogenMod JB ROM in you phone from recovery, and install that CyanogenMod on top of aurora. You can wipe cache and dalvik cache. That will not delete your data.
rqmok said:
Can you go into recovery? If you can then go into recovery and backup your ROM. After that, get a CyanogenMod JB ROM in you phone from recovery, and install that CyanogenMod on top of aurora. You can wipe cache and dalvik cache. That will not delete your data.
Click to expand...
Click to collapse
Yes i can, cwm 6.0.2.8
http://forum.xda-developers.com/showthread.php?t=2145187
this* Version 13?
First wipe and dalvik cache then install zip from sd card and that rom?
Cursed Chico said:
Yes i can, cwm 6.0.2.8
http://forum.xda-developers.com/showthread.php?t=2145187
this* Version 13?
First wipe and dalvik cache then install zip from sd card and that rom?
Click to expand...
Click to collapse
Yes.
I did. Still continues restarting after loading main window, and it restarts
waiting help. i dpont want to lose daata
Waiting help.

encryption password on boot

on my A2017U After unlocking the bootloader and having twrp 3.0.4 installed I went to install resurrection remix and gapps and upon boot it asks for a password that I had never set up. before installing the ROM i formatted the data and wiped everything. What do I need to do? I reloaded a stock rom and in the settings it says the phone is encrypted. I've tried searching for answers to this but I haven't been able to find anything..
unknown3rror said:
on my A2017U After unlocking the bootloader and having twrp 3.0.4 installed I went to install resurrection remix and gapps and upon boot it asks for a password that I had never set up. before installing the ROM i formatted the data and wiped everything. What do I need to do? I reloaded a stock rom and in the settings it says the phone is encrypted. I've tried searching for answers to this but I haven't been able to find anything..
Click to expand...
Click to collapse
Go to TWRP - Wipe - Format data - write 'yes'
...and maybe update TWRP.
Choose an username... said:
Go to TWRP - Wipe - Format data - write 'yes'
Click to expand...
Click to collapse
I flashed it again, formatting data before flashing everything, still came up with the dialog to inter password. I rebooted into twrp and formatted data again, reboot, still asks for password
Spillunke said:
...and maybe update TWRP.
Click to expand...
Click to collapse
updating TWRP to latest build and I still have the same issue
If you Install another ROM, after wiping everything, is this problem still there?
Delete locksettings.db?
unknown3rror said:
I flashed it again, formatting data before flashing everything, still came up with the dialog to inter password. I rebooted into twrp and formatted data again, reboot, still asks for password
Click to expand...
Click to collapse
Are you sure you are ACTUALLY USING the 'Format data' button? Wiping won't do anything to the encryption (i'm asking just to be sure).
Otherwise try doing this:
-Format data, wipe system, dalvik, cache
-Flash Universal Bstck
-Flash your modem
-Flash the ROM
-Flash either noverity-opt-encrypt-axon7 (I think the name was that one; just make sure it is for the axon7 or ailsa_ii), or SuperSU/Magisk which should have that packaged in.
This really shouldn't happen...
Choose an username... said:
Are you sure you are ACTUALLY USING the 'Format data' button? Wiping won't do anything to the encryption (i'm asking just to be sure).
Otherwise try doing this:
-Format data, wipe system, dalvik, cache
-Flash Universal Bstck
-Flash your modem
-Flash the ROM
-Flash either noverity-opt-encrypt-axon7 (I think the name was that one; just make sure it is for the axon7 or ailsa_ii), or SuperSU/Magisk which should have that packaged in.
This really shouldn't happen...
Click to expand...
Click to collapse
yes, I am actually using format data button and typing yes. I will try using the noverity later this evening and give you a followup
If I remember this right you have to use both in twrp,
factory reset and format data, I read this here on XDA or Reddit before I unlocked my bootloader.
coremania said:
If I remember this right you have to use both in twrp,
factory reset and format data, I read this here on XDA or Reddit before I unlocked my bootloader.
Click to expand...
Click to collapse
this is what I did.
1. Boot to TWRP
2. wipe/factory reset
3. advanced wipe everything but sd card and usb
4. format data, type yes
5. install ROM and Gapps
6. boot.
everything loads okay except I get it asking for password
I have not tried another ROM yet or the noverity-opt-encrypt-axon7 I will have to do those later tonight.
One more thing I was going to try is remove the lockscreen pin/fingerprint on the stock before doing anything
unknown3rror said:
this is what I did.
1. Boot to TWRP
2. wipe/factory reset
3. advanced wipe everything but sd card and usb
4. format data, type yes
5. install ROM and Gapps
6. boot.
everything loads okay except I get it asking for password
I have not tried another ROM yet or the noverity-opt-encrypt-axon7 I will have to do those later tonight.
One more thing I was going to try is remove the lockscreen pin/fingerprint on the stock before doing anything
Click to expand...
Click to collapse
Do this after you flashed rom and gapps, only factory reset and format data, no need to wipe other stuff.
Edit: I did this directly after the unlock, I flashed the latest official twrp through the unlock twrp version, rebooted to twrp, advanced wiped caches and data, not system, flashed bootloader and modem from the Los thread for my axon version, flashed dark rom with gapps, rebooted and run into the same issue as you. Back to twrp, factory reset, format data, then reboot and everything was good ....., Or Format data and then factory reset, try both if necessary.
unknown3rror said:
this is what I did.
1. Boot to TWRP
2. wipe/factory reset
3. advanced wipe everything but sd card and usb
4. format data, type yes
5. install ROM and Gapps
6. boot.
everything loads okay except I get it asking for password
I have not tried another ROM yet or the noverity-opt-encrypt-axon7 I will have to do those later tonight.
One more thing I was going to try is remove the lockscreen pin/fingerprint on the stock before doing anything
Click to expand...
Click to collapse
Another thing you could try is booting to the bootloader and trying "fastboot format userdata"
unknown3rror said:
on my A2017U After unlocking the bootloader and having twrp 3.0.4 installed I went to install resurrection remix and gapps and upon boot it asks for a password that I had never set up. before installing the ROM i formatted the data and wiped everything. What do I need to do? I reloaded a stock rom and in the settings it says the phone is encrypted. I've tried searching for answers to this but I haven't been able to find anything..
Click to expand...
Click to collapse
You just need to wipe data cache dalvic after flashing the ROM
You have the factory reset step in the wrong place. Do it after the rom and gapps installation...
Essentially the phone is still encrypted though factory reset . You need to get rid of the encryption AFTER you flash the new ROM...
Change the data file system to ext4.
coremania said:
Do this after you flashed rom and gapps, only factory reset and format data, no need to wipe other stuff.
Edit: I did this directly after the unlock, I flashed the latest official twrp through the unlock twrp version, rebooted to twrp, advanced wiped caches and data, not system, flashed bootloader and modem from the Los thread for my axon version, flashed dark rom with gapps, rebooted and run into the same issue as you. Back to twrp, factory reset, format data, then reboot and everything was good ....., Or Format data and then factory reset, try both if necessary.
Click to expand...
Click to collapse
This did the trick.
Flashed bootloader, modem, rom, gapps. factory reset and format data. boot to password, reboot to twrp, factory reset, format data, reboot to working rom no password. Thank you and to everyone else for your help!
Cablespider said:
Change the data file system to ext4.
Click to expand...
Click to collapse
This seemed to do the trick for me.
To change the file system type in TWRP 3.2.3.0:
Go to 'wipe', then 'advanced wipe' and select 'Data', press 'Repair or Change File System' and then 'Change File System' to EXT4. It will say "format" which often means "delete" but didn't remove the ROM I had flashed moments before.
I also did this below first- but without doing a re-flash of the bootloader and modem:
unknown3rror said:
This did the trick.
Flashed bootloader, modem, rom, gapps. factory reset and format data. boot to password, reboot to twrp, factory reset, format data, reboot to working rom no password. Thank you and to everyone else for your help!
Click to expand...
Click to collapse
Idk if this will help with your use case, but for other users, it can be good to know.
but for the stock ROM: Settings -> Security -> Screen Lock -> Enter your pin -> It should ask you if you want to shut off the password on boot up

Help with TWRP

Hi I have a problem with TWRP l, every time I try to make a backup or try to flash anything, it comes up with a error saying "failed to mount system device or resource busy"
I have I LG G6 H870
Thanks in advance
The same problem here.. But my twrp sometimes flash and sometimes no .. I will install a new one with adb
Yea I had the same thing. Do you have a sd card?
Yea I have a 32gb card
Been mentioned many times before.
Use this TWRP
https://forum.xda-developers.com/lg-g6/development/recovery-twrp-3-2-1-unofficial-fixes-t3722199
It now asks me to decrypt data which I used my pin but to no avail and now Internal Storage is 0MB please help!!
ZinX09 said:
It now asks me to decrypt data which I used my pin but to no avail and now Internal Storage is 0MB please help!!
Click to expand...
Click to collapse
Only option is to format data and type 'yes'
Then flash ROM and restore backup.
basicreece said:
Only option is to format data and type 'yes'
Then flash ROM and restore backup.
Click to expand...
Click to collapse
Do I wipe everything System, Data, Cache, Internal Storage, Dalvik
ZinX09 said:
Do I wipe everything System, Data, Cache, Internal Storage, Dalvik
Click to expand...
Click to collapse
No you want to go to format and ask you to type yes. Do this. Then flash the ROM you want. Fulmics, stock, etc.
Ok doing that
Fulmics installed correctly but it still asks me to enter a password in twrp
ZinX09 said:
Fulmics installed correctly but it still asks me to enter a password in twrp
Click to expand...
Click to collapse
Have you set up your fingerprint or code/pattern to unlock?
Yes and it's a pattern
ZinX09 said:
Yea I have a 32gb card
Click to expand...
Click to collapse
Do the following:
1. Put Fulmics rom or any other rom on the SD Card and put it in your phone.
2. Format your system, don't wipe because your phone needs to be configured again.
3. Install TWRP on your phone with ADB.
4. Install the Fulmics rom.
5. Now it should be all okay.
TWRP is working properly now I can now make backups with TWRP, thanks

Redmi note 7 stuck on boot image

I was using PE rom and I flashed a kernel and wiped cache and dalvik, after rebooting i couldn't turn on my mobile data for some reason. I went back to orange fox recovery and wiped system, cache, data, dalvik, vendor. Then i tried rebooting but it says no os installed. I used my other phone to download the latest PE rom and saved it on my sd card so i can flash it on my phone. I wiped cache, data, system, dalvik and vendor again before flashing the PE rom. After i flashed the rom im stuck on the boot image of PE i dont know why. Anyone knows how to fix this?
Is bc i wiped my phone's firmware too and thats the reason why my phone wont boot completely?
My device is redmi note 7. Thank u in advance
Skye1080p said:
I was using PE rom and I flashed a kernel and wiped cache and dalvik, after rebooting i couldn't turn on my mobile data for some reason. I went back to orange fox recovery and wiped system, cache, data, dalvik, vendor. Then i tried rebooting but it says no os installed. I used my other phone to download the latest PE rom and saved it on my sd card so i can flash it on my phone. I wiped cache, data, system, dalvik and vendor again before flashing the PE rom. After i flashed the rom im stuck on the boot image of PE i dont know why. Anyone knows how to fix this?
Is bc i wiped my phone's firmware too and thats the reason why my phone wont boot completely?
My device is redmi note 7. Thank u in advance
Click to expand...
Click to collapse
OMG!
1. You should never wipe system or vendor.
2. You should never wipe the firmware. Why on earth would you want to do that?
3. Format the data partition; reboot the recovery; flash a working firmware image (if you did indeed wipe the firmware); flash PE; hope for the best
DarthJabba9 said:
OMG!
1. You should never wipe system or vendor.
2. You should never wipe the firmware. Why on earth would you want to do that?
3. Format the data partition; reboot the recovery; flash a working firmware image (if you did indeed wipe the firmware); flash PE; hope for the best
Click to expand...
Click to collapse
Thank you for the knowledge! After formatting data and flashing PE it finally worked! I really appreciate it man.
Skye1080p said:
Thank you for the knowledge! After formatting data and flashing PE it finally worked! I really appreciate it man.
Click to expand...
Click to collapse
:good: Hit the "Thanks" button.

Categories

Resources