Unlocked the bootloader today and tried installing TWRP. Something went wrong and now the phone is stuck at Poco mi logo screen. Any Fixes?
FumeRaven said:
Unlocked the bootloader today and tried installing TWRP. Something went wrong and now the phone is stuck at Poco mi logo screen. Any Fixes?
Click to expand...
Click to collapse
how did you install TWRP?
You can follow below steps:
Choose/download correct twrp, place it in fastboot folder.
Boot device into fastboot mode.
connect it to PC, which has fastboot drivers.
check if device is connected or not using this command: fastboot devices
install twrp using this command in fastboot mode: fastboot flash recovery recoveryname.img
now boot the device to recovery using this command: fastboot boot recoveryname.img
Format data
Wipe dalvik, data, cache
Flash whatever the ROM you want
ZainBilq said:
how did you install TWRP?
You can follow below steps:
Choose/download correct twrp, place it in fastboot folder.
Boot device into fastboot mode.
connect it to PC, which has fastboot drivers.
check if device is connected or not using this command: fastboot devices
install twrp using this command in fastboot mode: fastboot flash recovery recoveryname.img
now boot the device to recovery using this command: fastboot boot recoveryname.img
Format data
Wipe dalvik, data, cache
Flash whatever the ROM you want
Click to expand...
Click to collapse
is formatting necessary after installing twrp?
aayush00002 said:
is formatting necessary after installing twrp?
Click to expand...
Click to collapse
Yes, if you are on MIUI rom.
ZainBilq said:
Yes, if you are on MIUI rom.
Click to expand...
Click to collapse
what if I don't format? will it cause bootloop?
aayush00002 said:
what if I don't format? will it cause bootloop?
Click to expand...
Click to collapse
Yes.
ZainBilq said:
how did you install TWRP?
You can follow below steps:
Choose/download correct twrp, place it in fastboot folder.
Boot device into fastboot mode.
connect it to PC, which has fastboot drivers.
check if device is connected or not using this command: fastboot devices
install twrp using this command in fastboot mode: fastboot flash recovery recoveryname.img
now boot the device to recovery using this command: fastboot boot recoveryname.img
Format data
Wipe dalvik, data, cache
Flash whatever the ROM you want
Click to expand...
Click to collapse
Thank you but I used a fastboot Rom to reset the device. Which twrp should I use?
FumeRaven said:
Thank you but I used a fastboot Rom to reset the device. Which twrp should I use?
Click to expand...
Click to collapse
Latest
TWRP-3.4.2B-0624-REDMI_K30-CN-wzsx150-fastboot.zip
ZainBilq said:
Latest
TWRP-3.4.2B-0624-REDMI_K30-CN-wzsx150-fastboot.zip
Click to expand...
Click to collapse
Do you need to flash lazyflasher while installing TWRP? And do you need to format user data?
FumeRaven said:
Do you need to flash lazyflasher while installing TWRP? And do you need to format user data?
Click to expand...
Click to collapse
I already told you Format data is must when your are shifting from miui to custom ROMs. Take Backup of your data and format.
ZainBilq said:
I already told you Format data is must when your are shifting from miui to custom ROMs. Take Backup of your data and format.
Click to expand...
Click to collapse
I do not want to install a custom rom. I wish to install a TWRP and then flash the magisk module, so do I need to wipe user data. Or just Dalvik cache?
FumeRaven said:
I do not want to install a custom rom. I wish to install a TWRP and then flash the magisk module, so do I need to wipe user data. Or just Dalvik cache?
Click to expand...
Click to collapse
I wiped data. You try just dalvik, cache and see if it boots
ZainBilq said:
I wiped data. You try just dalvik, cache and see if it boots
Click to expand...
Click to collapse
Turns out, even though most guides online said to flash lazyflasher, it was not necessary and was causing trouble with booting.
So, I just flashed the recovery and flashed magisk.zip. To be on the safe side, I wiped dalvik and cache. And put the device to reboot to system. It worked and now I have a rooted Poco X2. Which root apps would you prefer to install on a rooted poco X2?
aayush00002 said:
is formatting necessary after installing twrp?
Click to expand...
Click to collapse
No, formatting is not necessary if you do not want to install another custom rom. If you just want to install TWRP and/or magisk,then it is not required.
FumeRaven said:
Turns out, even though most guides online said to flash lazyflasher, it was not necessary and was causing trouble with booting.
So, I just flashed the recovery and flashed magisk.zip. To be on the safe side, I wiped dalvik and cache. And put the device to reboot to system. It worked and now I have a rooted Poco X2. Which root apps would you prefer to install on a rooted poco X2?
Click to expand...
Click to collapse
Good that's booted without issues. Root apps based on your need/preference. Just take a look at Downloads in Magisk Manager and install modules you want.
Related
Hi,
today I have tried to install a custom rom and after a lot of troubles.
I have done a total wipe (cache, dalvik cache, system, data and internal storage) and I have tried to flash this rom, but always failing.
I typed in cmd:
fastboot flash system Lant.zip
now I'm stuck in bootloop and I can't turn off my phone -.- (pressing power button the device is rebooted, not turned off)
I don't know what you tried to install, but you can't install zip files using fastboot. Reboot to recovery and install it using ADB sideload. Or adb push it to the device and install it using "Install".
_that said:
I don't know what you tried to install, but you can't install zip files using fastboot. Reboot to recovery and install it using ADB sideload. Or adb push it to the device and install it using "Install".
Click to expand...
Click to collapse
Thanks,
Isn't there a way to push a zip through fastboot? My phone isn't seen as ADB device, only as fastboot one.
stefano0798 said:
Thanks,
Isn't there a way to push a zip through fastboot? My phone isn't seen as ADB device, only as fastboot one.
Click to expand...
Click to collapse
ADB works while in TWRP. If not, you may need to install some drivers (or use Linux).
stefano0798 said:
Hi,
today I have tried to install a custom rom and after a lot of troubles.
I have done a total wipe (cache, dalvik cache, system, data and internal storage) and I have tried to flash this rom, but always failing.
I typed in cmd:
fastboot flash system Lant.zip
now I'm stuck in bootloop and I can't turn off my phone -.- (pressing power button the device is rebooted, not turned off)
Click to expand...
Click to collapse
If your bootloader is unlocked then just enter these commands in fastboot:
fastboot erase system
fastboot erase userdata
fastboot erase cache
Then install a custom recovery using:
fastboot flash recovery recovery_name.zip
And then finally install the custom ROM in the recovery.
stefano0798 said:
Hi,
today I have tried to install a custom rom and after a lot of troubles.
I have done a total wipe (cache, dalvik cache, system, data and internal storage) and I have tried to flash this rom, but always failing.
I typed in cmd:
fastboot flash system Lant.zip
now I'm stuck in bootloop and I can't turn off my phone -.- (pressing power button the device is rebooted, not turned off)
Click to expand...
Click to collapse
install motorola drivers on pc and boot in twrp then plug the phone to pc and copy the rom to phone.
Paradox♀ said:
If your bootloader is unlocked then just enter these commands in fastboot:
fastboot erase system
fastboot erase userdata
fastboot erase cache
Then install a custom recovery using:
fastboot flash recovery recovery_name.zip
And then finally install the custom ROM in the recovery.
Click to expand...
Click to collapse
Thanks a lot,
now how should I proceed? I have the rom in a .zip in my PC, but the command:
adb push rom.zip /data
says: "error: device '(null)' not found.
It also says "unable to mount /data" and "unable to mount /system". Any ideas?
Ok, i solved the driver problem, but I didn't found any solution about the 'mount' problem. It says my internal storage is 0 MBs and it don't let me mount any partition (Data-Cache-System).
Any help?
stefano0798 said:
Ok, i solved the driver problem, but I didn't found any solution about the 'mount' problem. It says my internal storage is 0 MBs and it don't let me mount any partition (Data-Cache-System).
Any help?
Click to expand...
Click to collapse
Try formatting these partitions in TWRP (Wipe -> Advanced ....).
stefano0798 said:
Ok, i solved the driver problem, but I didn't found any solution about the 'mount' problem. It says my internal storage is 0 MBs and it don't let me mount any partition (Data-Cache-System).
Any help?
Click to expand...
Click to collapse
While in the recovery just wipe all the partitions and reboot to the recovery that should solve your mount problem and if you have installed TWRP as the custom recovery then it would initiate the MTP protocol from your device so you can transfer the ROM from your PC directly as you transfer your media. :good:
Thank you very much! It works perfectly
Hi,
Please help...I just unlocked my Huawei ( mate 8 L29)...then I flashed TWRP but the phone got stuck on Huawei Logo....now I can only open TWRP and fastboot.......I dont have any data and I am ready to format the whole data if this is a solution.
Thank you
Boot into recovery and wipe/format after a backup of data. Then reboot, it will be.fine
bluheart said:
Boot into recovery and wipe/format after a backup of data. Then reboot, it will be.fine
Click to expand...
Click to collapse
thank you....I tried through TWRP to wipe /format but could NOT boot
Please advise if there is a way to install new ROM from pc ....and how to ....
basimzanaty said:
thank you....I tried through TWRP to wipe /format but could NOT boot
Please advise if there is a way to install new ROM from pc ....and how to ....
Click to expand...
Click to collapse
did you tried to root with twrp ?
Have you flashed decrypted boot image
ghs14 said:
Have you flashed decrypted boot image
Click to expand...
Click to collapse
No.....but I partially solved the problem by flashing IMG trough fast boot...I downloaded the following :
...I just wanted to put the link ...but it seems not allowed in the forum
then I flashed them by these orders:
fastboot flash cache cache.img
fastboot flash cust cust.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot reboot
It worked out but still I cant find any ZIP files in TWRP to root my phone....I think I need to flash decrypted boot image to enable TWRP to recognize these ZIP files.
Anyway ....Thank you all for help
Format via TWRP in itself will decrypt the storage and decrypt image will hold it future proof
I recently flashed Oxygen OS on my Chinese One Plus 6. I forgot to install TWRP when I flashed the OS (I used fastboot flash boot, and didnt use the .zip installer file). Will using fastboot flash boot command and installing TWRP wipe my phone?
does cleaning just your room clean the whole house? flashing just boot only effects boot.
joshua2020181 said:
I recently flashed Oxygen OS on my Chinese One Plus 6. I forgot to install TWRP when I flashed the OS (I used fastboot flash boot, and didnt use the .zip installer file). Will using fastboot flash boot command and installing TWRP wipe my phone?
Click to expand...
Click to collapse
There would be issues to the device or data in using the boot command. Its basically a temporary boot which will allow you to sideload magisk/kernel of your choice should u choose to root or modify. I did a temporary boot post here if you wish to get a step by step. Feel free to ask questions if you have any further doubts :good:
how can I reset my phone so it boots. Do I need to fastboot flash oxygenOS or can I just install the zip file through TWRP?
Would fastboot flashing 9.5.13-GM21AA-OnePlus7ProOxygen_21.O.16_OTA_016_all_1908281716_b2bb5-FASTBOOT.zip work?
doctor_whooves said:
how can I reset my phone so it boots. Do I need to fastboot flash oxygenOS or can I just install the zip file through TWRP?
Would fastboot flashing 9.5.13-GM21AA-OnePlus7ProOxygen_21.O.16_OTA_016_all_1908281716_b2bb5-FASTBOOT.zip work?
Click to expand...
Click to collapse
Hard to say, without knowing how your phone got into this (no boot) state. What other things you tried, etc.
Fastboot flashing the (stock fastboot) ROM may work. As you figured, it will restore stock ROM and wipe the device. Can't be installed with TWRP, as far as I know.
If you have (or find the right) full OTA zip, you should be able to flash that with TWRP.
[Deleted]
The flashing instruction makes no sense to me
Spookybear said:
INSTALLATION:
0. Backup your ROM, your data, your internal storage, and your settings/apps, to an external device
1. Reboot to your custom TWRP-based Recovery
2. The device will automatically reboot into OrangeFox recovery after installation (allow this to happen)
3. Enjoy!
(Note: There is no zip file because this recovery is too big to fit in the ramdisk.
Click to expand...
Click to collapse
Can you please clarify this?
I assume install .IMG to Ramdisk? It will likely come up, so just want to cover all bases.
gorilla p said:
Can you please clarify this?
I assume install .IMG to Ramdisk? It will likely come up, so just want to cover all bases.
Click to expand...
Click to collapse
I tried that...no dice...
Flash to both _a and _b using trwp but recovery does not boot... so back to trwp til some future info...
I flashed via TWRP, via flash .img to ramdisk, rebooted to recovery and nothing.
Stuck at "Bootloader unlocked" screen
Tried to boot via fastboot and it failed.
Was this recovery tested on the OP7 Pro? If so, what ROM was being used and what was the flashing process?
Gungrave223 said:
The flashing instruction makes no sense to me
Click to expand...
Click to collapse
Sorry, fixed the instructions.
avid_droid said:
Yeah directions are honestly the worst I've seen on XDA yet.
Click to expand...
Click to collapse
Sorry, fixed the instructions.
I have a feeling these new instructions aren't going to work either, considering we don't have a recovery partition.
Spookybear said:
Sorry, fixed the instructions.
Click to expand...
Click to collapse
still no dice
HTML:
Writing 'recovery'
FAILED (remote: '(recovery_a)
No such partition'
I guess the command should be
fastboot boot /path to recovery
But again this wont flash recovery permanently AFAIK, everytime we need to boot into recovery we have to flash it via fastboot
insaneparnoid said:
I guess the command should be
fastboot boot /path to recovery
But again this wont flash recovery permanently AFAIK, everytime we need to boot into recovery we have to flash it via fastboot
Click to expand...
Click to collapse
He updated it with fastboot flash, indicating that this is to be installed, however it doesn't appear to work at all at this point.
For me is working , latest OOS beta. Just had to disable vbmeta in order to boot.
we need a flashble zip for this.
is OTG working with OrangeFox ?
otakutw said:
we need a flashble zip for this.
Click to expand...
Click to collapse
Not exactly, try - fastboot flash recovery *drag the image into the cmd then press enter*
Can this recovery be decreased in size so that it can be flashed to the ramdisk?
EDIT: It seems twrp is even bigger than this. Twrp img is 30.7mb while this is 29.4mb. Twrp does flash to the ramdisk. If this could be permanently flashed, it would be perfect. If the size needs to be decreased, certain graphics could be moved to the internal storage to save space on the ramdisk.
Hahaha wow what are you doing here it's like you didn't even test this at all. I'm tried to flash the installer in twrp and it tells me that this recovery is only for guacamole not OnePlus 7 pro. So it does not support custom roms clearly cause I'm on bliss
shadowikr said:
Not exactly, try - fastboot flash recovery *drag the image into the cmd then press enter*
Click to expand...
Click to collapse
There is no recovery partition on modern Android devices. The boot.img ramdisk contains the recovery