Redmi k20 stuck in fastboot method - Upgrading, Modifying and Unlocking

I was downgrading from miui12 to 11 through mi flash tool but it is constantly showing ''flash crclist error'' i dont have a custom recovery .i have just unlocked the bootloader . I tried through 2 different fastboot roms but to no avail. Please help why mi flash tool is showing error ?

prashant1703 said:
I was downgrading from miui12 to 11 through mi flash tool but it is constantly showing ''flash crclist error'' i dont have a custom recovery .i have just unlocked the bootloader . I tried through 2 different fastboot roms but to no avail. Please help why mi flash tool is showing error ?
Click to expand...
Click to collapse
Then you will mostly need to flash A custom MIUI11 gsi. I will send how to do it soon.

but i dont have root access

prashant1703 said:
but i dont have root access
Click to expand...
Click to collapse
no need root I will tell you How to do at tmr

I successfully flashed through twrp

prashant1703 said:
I successfully flashed through twrp
Click to expand...
Click to collapse
congratulations you Just did what i What I wanna tell you to do(TWRP), happy new year.
any bugs? does touch work?

Happy new year to you too
I was getting same "find device closed unexpectedly" Error and camera is not working also not able to play any sound
As soon as I try to play video/audio or connect to call, device freezes and automatically restarts
I was also getting all these errors before downgrading

prashant1703 said:
Happy new year to you too
I was getting same "find device closed unexpectedly" Error and camera is not working also not able to play any sound
As soon as I try to play video/audio or connect to call, device freezes and automatically restarts
I was also getting all these errors before downgrading
Click to expand...
Click to collapse
Maybe flash custom rom aosp stable to fix camera
[ROM][11.0][davinci]Pixelish Experience [AOSP][2020/11/09]
Pixelish Experience for davinci [codename] What is this? Pixelish Experience is an Pixel Experience based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, boot animation) and it has useful features that...
forum.xda-developers.com
if it is not What you want tell me.

I have flashed resurrection remix but after successfully flashing, device is rebooting into recovery and i couldn't use mount, adb sideload and adb push in twrp and then i had to delete internal storage and use adb push and flash miui 11 again
I have flashed resurrection remix twice and both times it didn't boot into system

prashant1703 said:
I have flashed resurrection remix but after successfully flashing, device is rebooting into recovery and i couldn't use mount, adb sideload and adb push in twrp and then i had to delete internal storage and use adb push and flash miui 11 again
I have flashed resurrection remix twice and both times it didn't boot into system
Click to expand...
Click to collapse
that damn rom needs miui 12.03

Ohh so that was the reason
I was directly flashing on old vendor

You need to flash miui 12.05 first and flash aosp android 10/11

prashant1703 said:
I have flashed resurrection remix but after successfully flashing, device is rebooting into recovery and i couldn't use mount, adb sideload and adb push in twrp and then i had to delete internal storage and use adb push and flash miui 11 again
I have flashed resurrection remix twice and both times it didn't boot into system
Click to expand...
Click to collapse
R R android 10 or 11?

10

Related

custom roms do not boot up

hi there,
i used crDroidAndroid-8.1-20180606-riva-v4.3 but there were color problems i didnt know 2 fix so i decided 2 flash a new rom resp. a newer version but no custom rom boots up.
when it tries 2 boot is freezes at the boot screen, then screen switches off and nothing happens. i can go 2 fastboot and recovery.
sometimes it boots up but after a few seconds it freezes 2.
i tried different roms and recoveries but nothing works.
i foolishly wiped internal storage once but then i flashed the stock rom again which boots up. then i unlocked the bootloader and flashed a custom recovery and a rom again but the same error is there (no booting up)
anyone got a solution for this problem? no unbricking suggestions plz
edit: im in the wrong thread i think. i wanted 2 post it in "Guides, News, & Discussion". cant delete it. sry for that
logs
so i managed 2 create logs while booting up.
1) https://pastebin.com/cgrX2DA1
2) https://pastebin.com/r7DmcN46
3) https://pastebin.com/0pwXyuys
4) https://pastebin.com/S41FG2SQ
1) is 1st part of the log while booting with no success to boot into the os.
2) is 2nd part of the log while booting with no success to boot into the os.
3) is 1st part of the log while booting with successful boot into the os.
4) is 2nd part of the log while booting with successful boot into the os.
i also tried 2 log "cat /proc/last_kmsg > /sdcard/last_kernel_message_log.txt"
and "dmesg > /sdcard/kernel_boot_log.txt" via terminal in linux but it only sais file or directory not found.
i hope sum1 can give me sum help now.
so i did this https://en.miui.com/thread-3921604-1-1.html but it doesnt help. as i expected.
any1? i can post more information if necessary. just say which and perhaps how ;D
cmon guys. i can impossibly b the only 1 who faces this problem.
i dont think its a hardware thing cause stock rom and android 7.1.2 (viper os) work. maybe a vendor problem? could flash another vendor img solve this problem? can sum1 send me his?
i got sum more logs after flashing rr 7.0:
logcat 1st part: https://pastebin.com/EBZAgbhF
logcat 2nd part: https://pastebin.com/qaMFrvxi
dmesg: https://pastebin.com/Gg8bYkJy
cheers
Fastboot flash latest miui 10 stable using mi flash tool and use the rom after setting up. Then flash custom recovery and do a full wipe.
This works for most cases.
NaAnBcEhEuL9A8K7 said:
Fastboot flash latest miui 10 stable using mi flash tool and use the rom after setting up. Then flash custom recovery and do a full wipe.
This works for most cases.
Click to expand...
Click to collapse
thx for ur answer but i tried this already. does not work on android 8 and 9 roms
daemonicvs said:
thx for ur answer but i tried this already. does not work on android 8 and 9 roms
Click to expand...
Click to collapse
Well it worked for me.
Which custom rom you want to use?
well, it doesnt matter 2 me. the main thing is that it works =D rr, aex, crdroid..
daemonicvs said:
well, it doesnt matter 2 me. the main thing is that it works =D rr, aex, crdroid..
Click to expand...
Click to collapse
Crdroid is my choice because aex and rr are very early builds. I like pixel experience but the devs not updating it so crdroid or havoc os.
Like i said use Xiaomi flash tool and flash miui 10 stable via fastboot method(there are 3 options in the bottom select flash all instead of flash and lock to avoid unlocking the bootloader again), don't flash anything else, setup and use the phone, flash recovery wipe all and format, install rom, don't flash gapps yet, boot into rom and see if its fixed.
Use vendor based recovery, if using batik recovery you have to flash batik recovery again after format.
This is my solution.
NaAnBcEhEuL9A8K7 said:
Crdroid is my choice because aex and rr are very early builds. I like pixel experience but the devs not updating it so crdroid or havoc os.
Like i said use Xiaomi flash tool and flash miui 10 stable via fastboot method(there are 3 options in the bottom select flash all instead of flash and lock to avoid unlocking the bootloader again), don't flash anything else, setup and use the phone, flash recovery wipe all and format, install rom, don't flash gapps yet, boot into rom and see if its fixed.
Use vendor based recovery, if using batik recovery you have to flash batik recovery again after format.
This is my solution.
Click to expand...
Click to collapse
i did it several times before but 2 b safe i did it again like that:
i flashed riva_global_images_V10.1.1.0.NCKMIFI_20181029.0000.00_7.1_global_f444c158ed.tgz using XIAOMI-TOOL-MiFlash-for-Linux-by-IceMan-master. im on linux mint 18.3. i have 4 options:
flash_all_lock.sh
flash_all_lock_crc.sh
flash_all_except_data_storage.sh
flash_all.sh
i chose flash_all.sh
i booted into the stock rom and set it up, enabled dev options and adb.
then i switched it off, went into bootloader, flashed twrp-3.2.3-0-riva.img via fastboot.
after that i entered twrp, flashed OrangeFox-R8.3-riva.zip and rebooted into recovery
i wiped everything except external sd and usb otg (i dont have these)
after a reboot intorecovery i formatted data then rebooted in recovery
i flahed crDroidAndroid-9.0-20181002-riva-v5.0.zip
then reboot into system
no success as i expected! wtf is wrong wtf. this cant b true!
but thank u very much for ur efforts! perhaps i would try 2 restore a vendor img from sum1 which rom does work. i know its a great demand but could u send me urs? ;D i dont know if there r sum personal info..
best regards
Don't give up there might be a solution.
Pray to God for some help.
:good:
---------- Post added at 01:23 PM ---------- Previous post was at 12:59 PM ----------
Currently I am using Xiaomi.eu beta rom. You can check their website for all the features. Its smooth, stable and can update without needing to got the recovery:victory:
This should work for you because unlike other roms this is based on miui for riva. That means you will get updates till Xiaomi ditches support for riva.
I recommend you use this rom over the global rom until you fix the problem with your phone.
Some things missing:
Choice of region is limited( India is not available)
There is no custom kernel available for miui oreo as of now.
Magisk safetynet not passed
If you're going flash this rom you need to be on latest global beta fastboot rom and need a recovery that supports oreo base.
I use batik recovery base oreo.
yes. i cant b the only 1 facing this problem...!? really. i cant!
thx anyway
daemonicvs said:
yes. i cant b the only 1 facing this problem...!? really. i cant!
thx anyway
Click to expand...
Click to collapse
Maybe you can be the only one facing this problem.
Try joing telegram community maybe your problem will get fixed from there.
NaAnBcEhEuL9A8K7 said:
Maybe you can be the only one facing this problem.
Try joing telegram community maybe your problem will get fixed from there.
Click to expand...
Click to collapse
theres no difference between my device and yours... everybody must have this problem ;/
daemonicvs said:
theres no difference between my device and yours... everybody must have this problem ;/
Click to expand...
Click to collapse
Did you try edl method?
NaAnBcEhEuL9A8K7 said:
Did you try edl method?
Click to expand...
Click to collapse
yes. i could flash the stock rom this way but the problem is not solved this way
daemonicvs said:
yes. i could flash the stock rom this way but the problem is not solved this way
Click to expand...
Click to collapse
At least you have to try.
I just unlocked my 5a today tried aosp rremix, pixel ex, no luck. the phone won't boot up. plus excno ept "TWRP-Oreo-Riva-STREBLE-Mod-sjcbank" no other recovery works. tried normal twrp orangefox, no luck.
Eddyb299 said:
I just unlocked my 5a today tried aosp rremix, pixel ex, no luck. the phone won't boot up. plus excno ept "TWRP-Oreo-Riva-STREBLE-Mod-sjcbank" no other recovery works. tried normal twrp orangefox, no luck.
Click to expand...
Click to collapse
Did you flash lazy flasher?
Eddyb299 said:
I just unlocked my 5a today tried aosp rremix, pixel ex, no luck. the phone won't boot up. plus excno ept "TWRP-Oreo-Riva-STREBLE-Mod-sjcbank" no other recovery works. tried normal twrp orangefox, no luck.
Click to expand...
Click to collapse
dont u have 2 wait 2 weeks or so till bootloader is unlocked?
what exactly do u mean with won't boot up? bootloop? or stuck at boot logo?
after flashing a custom recovery, did u boot directly into the system or did u try 2 boot into recovery? sometimes the stock recovery overwrites the custom 1 when stock rom boots up
my problem is solved. i remembered that i made a full nandroid backup with twrp before i flashed a new rom and the problem appeared. so i restored everything i backed up with twrp (incl cust) and voila, rom booted up. and i can wipe system and data and flash every rom i wanna and it still boots up \o/
i really could have tried it earlier but i didnt think of this untill yesterday ;D
well, thx for ur efforts anyway buddy @NaAnBcEhEuL9A8K7
cheers

Bootloop flashing miui 12 closed beta

hi, i am having aproblem right now trying to flash miui 12. first time i just formatted the phone in twrp. used adb push to push the zip on the phone. and flashed it. it was successful but after booting into the system it had a password for some reason and there was no setup screen. so i tried to reflash by formatting again and repeating the process. now i boot into system and it just goes into bootloop at the MI boot screen.
Its super weird that it worked the first time. then it doesnt work anymore no matter what (adb sideload, multiple recoveries) and it seems the rom isnt installing correctly because afterwards i cannot flash magisk (cannot mount system partition)
Use fox twrp to flash.
haovh_85 said:
Use fox twrp to flash.
Click to expand...
Click to collapse
I used TWRP. Also tried orangefox
haovh_85 said:
Use fox twrp to flash.
Click to expand...
Click to collapse
I also tried flashing the firmware first
-iwl- said:
hi, i am having aproblem right now trying to flash miui 12. first time i just formatted the phone in twrp. used adb push to push the zip on the phone. and flashed it. it was successful but after booting into the system it had a password for some reason and there was no setup screen. so i tried to reflash by formatting again and repeating the process. now i boot into system and it just goes into bootloop at the MI boot screen.
Its super weird that it worked the first time. then it doesnt work anymore no matter what (adb sideload, multiple recoveries) and it seems the rom isnt installing correctly because afterwards i cannot flash magisk (cannot mount system partition)
Click to expand...
Click to collapse
Wait for some days,when some one success.
I have also flashed the rom first day.
I struggle for 1 hour with my laptop than i booted into LOS 17.1 after destroying my whole 100 gb internal data of my phone.
paradise220 said:
Wait for some days,when some one success.
I have also flashed the rom first day.
I struggle for 1 hour with my laptop than i booted into LOS 17.1 after destroying my whole 100 gb internal data of my phone.
Click to expand...
Click to collapse
did you encounter the same issue? this person has it correctly installed:
https://www.youtube.com/watch?v=x5HJgH8QrMs
also. sometimes it says no os instlaled after i flashed
paradise220 said:
Wait for some days,when some one success.
I have also flashed the rom first day.
I struggle for 1 hour with my laptop than i booted into LOS 17.1 after destroying my whole 100 gb internal data of my phone.
Click to expand...
Click to collapse
i have no idea what to do now
-iwl- said:
did you encounter the same issue? this person has it correctly installed:
https://www.youtube.com/watch?v=x5HJgH8QrMs
also. sometimes it says no os instlaled after i flashed
Click to expand...
Click to collapse
when i flashed miui 12 beta it showed on operating software installed before reboot.
paradise220 said:
when i flashed miui 12 beta it showed on operating software installed before reboot.
Click to expand...
Click to collapse
it seems they released a broken rom. i tested again with lineage os and it worked perfectly. so its xiaomi at fault here
Ive installed It yesterday (dont know where but i Saw someone saying that It need Magisk, i flashed It and It worked).
But i turned back to oficial miui 11, my sim card was not working with this beta
Use chinese twrp
JrAdams said:
Ive installed It yesterday (dont know where but i Saw someone saying that It need Magisk, i flashed It and It worked).
But i turned back to oficial miui 11, my sim card was not working with this beta
Click to expand...
Click to collapse
Gapps or any google related services doesnt seem to be working with this beta. lots of bugs encountered too, i might just go back to havoc os
Yunus Ceyhan said:
Use chinese twrp
Click to expand...
Click to collapse
Got it working already. just had to flash magisk along with the rom

Recovery messed up

Hey I was trying to flash resurrection remix 8.6.0 on my Redmi 5A(riva) but twrp showed error 7. Then I tried flashing Pixel Experience but still error 7 i tried reflasing the recovery also tried orange fox but still nothing is working. I was able to flash rr 7.0.2. So can someone help me update it to 8.6.0. Now whenever I boot into recovery nothing is not mounting
Thanks in advance
Did u already downgrade to Nougat? U can use this https://forum.xda-developers.com/xiaomi-redmi-5a/how-to/rollback-downgrade-to-miui-nougat-t3938904 or flash the complete ROM from Mi in fastboot mode.
PierceB said:
Did u already downgrade to Nougat? U can use this https://forum.xda-developers.com/xiaomi-redmi-5a/how-to/rollback-downgrade-to-miui-nougat-t3938904 or flash the complete ROM from Mi in fastboot mode.
Click to expand...
Click to collapse
sorry I forgot I posted this thread.......
Nope I downgraded to Pie its working fine I just can't upgrade to android 10. I don't know whats the issue but my device is not allowing android upgrade anymore..

Question Cannot install custom recovery in Poco f3 with Xiaomi EU ROM installed.

I recently flashed Xiaomi EU ROM on my Poco f3. Everything was running great until I tried to flash twrp. Everytime I try to flash twrp my phone boots into stock recovery .
When I use the latest 3.7 twrp my phone boots into the custom recovery but I cannot mount the data partition. Is there any solution to this ?
CodeNameLiquid said:
I recently flashed Xiaomi EU ROM on my Poco f3. Everything was running great until I tried to flash twrp. Everytime I try to flash twrp my phone boots into stock recovery .
When I use the latest 3.7 twrp my phone boots into the custom recovery but I cannot mount the data partition. Is there any solution to this ?
Click to expand...
Click to collapse
Try this one
https://dl.akr-developers.com/?file...OCOF3-Mi11X_v6.0_A12-alioth-skkk_b3647986.zip
BOOT VERSION
Installation:
Phone in fastboot mode
Cmd:
fastboot boot twrp.img
Power shell
./fastboot boot twrp.img
then in Twrp go to Advanced -> flash current TWRP.​
This link is not working can you provide any alternative ?
CodeNameLiquid said:
This link is not working can you provide any alternative ?
Click to expand...
Click to collapse
edited link.
I tried it but it didn't work. Everytime I try this my phone just powers off and I have to hold power button to start it and I still have the stock recovery
Also I don't know if it's important but I am rooted with latest magisk on Xiaomi EU rom
CodeNameLiquid said:
I tried it but it didn't work. Everytime I try this my phone just powers off and I have to hold power button to start it and I still have the stock recovery
Click to expand...
Click to collapse
Post the screen shot of Fastboot command.
Here you go...
CodeNameLiquid said:
Here you go...
Click to expand...
Click to collapse
You don't have a pc?
I have a pc but its very late at night so i used my other phone
Also when i use the latest twrp img it boots up but is unable to mount the data partition
CodeNameLiquid said:
I have a pc but its very late at night so i used my other phone
Also when i use the latest twrp img it boots up but is unable to mount the data partition
Click to expand...
Click to collapse
Try with a pc.
rename the twrp to twrp.img.
Most often is "possibly:
Unroot.
install Platform tools, put the twrp in the folder.
Run the command from platform tools.
The one you are trying to install is the last one.
I already did everything , tried every method still everytime twrp gets replaced
I also tried orangefox but still same result
I also had the same problem on lineage os
CodeNameLiquid said:
I already did everything , tried every method still everytime twrp gets replaced
I also tried orangefox but still same result
I also had the same problem on lineage os
Click to expand...
Click to collapse
For summary only version twrp-3.7.0_12-0-alioth-TeamWin.img worked?
Try to start from scratch:
Use Miflash without locking the bootloader.
Yes only the latest version booted but with a lot less features compared to the skkk twrp i used a while ago
I am afraid using miflash to flash eu rom on my phone would hard brick it
CodeNameLiquid said:
Yes only the latest version booted but with a lot less features compared to the skkk twrp i used a while ago
I am afraid using miflash to flash eu rom on my phone would hard brick it
Click to expand...
Click to collapse
You cannot flash a Xiaomi Eu rom with Miflash, only stock roms, EEA, Global etc..
Just don't lock the bootloader.
What exactly do you want to do with TWRP?
I want to remount my system partition as rw.
CodeNameLiquid said:
I want to remount my system partition as rw.
Click to expand...
Click to collapse
Due to dynamic and A/B partitions this is not directly possible without a dedicated script.
What kind of script ?
Also to let you know i was able to remount system as rw on most custom roms i had on my phone
CodeNameLiquid said:
What kind of script ?
Also to let you know i was able to remount system as rw on most custom roms i had on my phone
Click to expand...
Click to collapse
On MIUI not AOSP.
Can you tell me more about this script ?
CodeNameLiquid said:
Can you tell me more about this script ?
Click to expand...
Click to collapse
https://forum.xda-developers.com/m/lebigmac.8039604/

Question SOLVED! ADB stuck at Sideload

I was trying to get dolby atmos on awakenOS, the device is unlocked and was rooted.
I was trying to get a magisk module going for the dolby atmos. As instructed I flashed the magisk 26.0 and all was good but as soon as I flashed the miui core module the device started bootlooping.
To try to fix that I reflashed the boot.img and vendor.boot for the awakenos to reflash the rom and to get the device back . but as soon as I reached the part of adb rebooting to sideload, I reached the sideload but after dragging the rom zip it always says cannot read anymore. Every time I manually boot into recovery I still find the device in sideload. adb commands such as adb reboot and reboot to recovery seem to be doing nothing to the device anymore
Hidden_Iye said:
I was trying to get dolby atmos on awakenOS, the device is unlocked and was rooted.
I was trying to get a magisk module going for the dolby atmos. As instructed I flashed the magisk 26.0 and all was good but as soon as I flashed the miui core module the device started bootlooping.
To try to fix that I reflashed the boot.img and vendor.boot for the awakenos to reflash the rom and to get the device back . but as soon as I reached the part of adb rebooting to sideload, I reached the sideload but after dragging the rom zip it always says cannot read anymore. Every time I manually boot into recovery I still find the device in sideload. adb commands such as adb reboot and reboot to recovery seem to be doing nothing to the device anymore
Click to expand...
Click to collapse
Hello.
The Modules work perfect for me. You need to unbrick your device now by going back to MIUI. Are you able to go to Fastboot Mode?
nabulsi08 said:
Hello.
The Modules work perfect for me. You need to unbrick your device now by going back to MIUI. Are you able to go to Fastboot Mode?
Click to expand...
Click to collapse
Yeah I've tried to reflash the boot.img and the vendor from awakenos devs. And was also successful in flashing the rom but the device still bootloops
Hidden_Iye said:
Yeah I've tried to reflash the boot.img and the vendor from awakenos devs. And was also successful in flashing the rom but the device still bootloops
Click to expand...
Click to collapse
If you are able to go to Fastboot Mode, do the Following things: Download the official Mi Flash Tool and the latest MIUI Version. Flash the extracted ROM and choose the option "Clean all". Your device needs to be back on MIUI to be unbroken safely. You may find a way to unbrick it without flashing MIUI but what I said is what I recommend.
nabulsi08 said:
If you are able to go to Fastboot Mode, do the Following things: Download the official Mi Flash Tool and the latest MIUI Version. Flash the extracted ROM and choose the option "Clean all". Your device needs to be back on MIUI to be unbroken safely. You may find a way to unbrick it without flashing MIUI but what I said is what I recommend.
Click to expand...
Click to collapse
Thank you it worked! I'm back on MIUI and will be going back to AwakenOS. btw so for now is there no other way of getting Dolby on AwakenOS?
Thank you for your time, you guys make this place better with all the help you share.
Hidden_Iye said:
Thank you it worked! I'm back on MIUI and will be going back to AwakenOS. btw so for now is there no other way of getting Dolby on AwakenOS?
Thank you for your time, you guys make this place better with all the help you share.
Click to expand...
Click to collapse
Sure, no problem! I don't know why it didn't work for you. For me it works perfectly fine. I even attached some pictures in the Awaken OS Thread. I can provide the Dolby Atmos of Motorola if you want which I've tried on some devices but not on this one so I cannot say that it will work. I'm not responsible for any bricks too.
I'm still waiting for unlock, but I would like to try if Viper Atmos will deliver the similar effect
Which is reverse engineering on Dolby Atmos I guess?

Categories

Resources