fixing wiped asus rog phone 6 pro - Asus ROG Phone Questions & Answers

due to my inexperience with rooting phones, i have managed to delete everything from my phone.
i mean everything.
the boot.img, recovery.img, system.img ... everything
the phone still boots to the bootloader but wont let me flash most partitions without booting into fastbootd.
fastbootd was part of the recovery image so i cant boot to it.
i can flash the boot partition for some reason and it will boot to it.
the phone bootloader was unlocked so it will boot anything from the boot partition.
due to me not knowing to change a setting in android, i cant flash the other partitions without first restoring the original software.
i cant do this without a recovery.
due to the same setting in android, i also cant boot any image through fastboot except the original stock boot image that is basicly useless to me.
i would think the solution to my problem would be to temporarily flash a recovery image to the boot partition and boot to fastbootd from there, but twrp and the stock image are both too large to fit in the boot partition.
is there some way i can get fastbootd in the boot partition?

Related

Tried flashing TWRP, but stays stuck on/replace by stock recovery no matter what Itry

No matter how I try to flash the TWRP recovery image to the recovery partition, TWRP gets replaced by the crappy stock recovery!! This is absolutely maddening!
Specifically, it seems that no matter what method to use to flash the TWRP recovery, it gets overriden by the stock loader when the phone reboots.
My bootloader is UNLOCKED and I've installed a custom rom just fine by using the command fastboot boot twrp.img to boot into the twrp image. This is the only way I'm able to use TWRP at all.
I've tried:
fastboot flash recovery twrp.img
Booting into TWRP, and flashing the image over the recovery partition
Flashify to flash the TWRP over the recovery partition from within the rom
Trying to flash cyangenmod's recovery from within the rom (was pretty desperate at this point..)
I've also tried many different versions of TWRP, I can boot into them just fine but none of them stick when I flash them to the recovery partition.
It always says it's successful when I try to flash it, I reboot into recovery, and it boots into the piece of crap EmUI stock recovery screen every time
Anyone have any pointers here? It's not the end of the world but it's pretty aggravating having a completely useless recovery if I'm not near a computer,.
Try using Flashify or Flashfire.
Sadly didn't work. It doesn't seem to matter how I flash the recovery, the bootloader replaces it with the stock recovery when it boots. I'll update the OP to clarify, but thank you
I am having same issue have you found a fix
Have you tried starting completely over? Like, downloading the official MM build (b331, C564D003) from Huawei (Assuming you're on L24)?
On the new, freshly installed ROM, make sure that USB Debugging is and enable OEM Unlock are on in the developer settings.
Then, try flashing this build of TWRP again.
Before rebooting, do a Cache/Dalvik Wipe.
Boot up into the stock rom, then use 'adb reboot recovery' to see what happens next. It should work...
Hi mate,
It'd be easier to help you if you could post a screenshot of your FASTBOOT screen. There will be a line that will say FRP=LOCKED/UNLOCKED something like this.
if it is locked,
you have to install stock rom & enable OEM unlock from setting.
Then relock the boot loader. Then again unlock the boot loader.
For myself, I unlocked my BL unofficially, & this problem occurred . I solved it this way...
Hope it helps.
Cheers!

Overwritten boot with twrp!

Hi all, I tried to flash twrp after unlocking bootloader but the site I followed was wrong, ended up with twrp on boot partition! I've since tried to fastboot various system and boot images with no luck, keeps giving file size errors. Booted twrp from fastboot to flash lineage but that ends with error code 7?! Tried to fastboot update stock room too but same problem with file size, the system img is actually broken up into 50 odd files, I presume to avoid the file size problem, however there's no flash all script. Help!!

[Q] How to completely remove Huawei eRecovery

The stock recovery is a thorn in my side. I have unlocked my bootloader and disabled the FRP lock but every time I go to flash TWRP it doesn't stick. Fastboot tells me that the file transfer is completed and OK, as does the phone's screen, but Huawei eRecovery is still there.
I want it gone completely. Would erasing the recovery partition and reformatting it get rid of it?. Or is there a file inside the phone that tells it to keep Huawei eRecovery?.
Closest I've gotten is TWRP 3.1.1.0 by nemo-nemo but the touch controls weren't working properly (slides but doesn't 'click') so I couldn't progress past the initial screen.
raffieltiger said:
The stock recovery is a thorn in my side. I have unlocked my bootloader and disabled the FRP lock but every time I go to flash TWRP it doesn't stick. Fastboot tells me that the file transfer is completed and OK, as does the phone's screen, but Huawei eRecovery is still there.
I want it gone completely. Would erasing the recovery partition and reformatting it get rid of it?. Or is there a file inside the phone that tells it to keep Huawei eRecovery?.
Closest I've gotten is TWRP 3.1.1.0 by nemo-nemo but the touch controls weren't working properly (slides but doesn't 'click') so I couldn't progress past the initial screen.
Click to expand...
Click to collapse
Not a good idea to delete erecovery partition it is a handy fallback if things go badly wrong!
Anyway erecovery and recovery are two separate partitions, they do not interfere with each other!
Try erasing recovery partition before flashing twrp like this
Code:
fastboot erase recovery
then
Code:
fastboot flash recovery twrp.img

Flashed TWRP recovery as boot, can't boot device because TWRP starts

Hello! This is my first thread on the forum;
I'm writing because I think I soft bricked my Xiaomi Mi Pad 4 LTE, let me explain from the very beginning.
It's a brand new device, bought today, and with a custom italian ROM which was sold with.
I just wanted to root it, and the bootloader was already unlocked because it was a custom ROM, so I tried to install TWRP (mocha version for Mi Pad) with Fastboot and then I wanted to install Magisk.
The issue is that, when I tried to flash TWRP to recovery with fastboot flash recovery twrp.img, it all went "OK" but then TWRP was not actually flashed and couldn't boot it with key combinations, it just looked like it wasn't there. I also tried to boot it without flashing, with fastboot boot twrp.img but it gave me
"Failed to load/authenticate boot image: 00000050" error
Looking on the web, I found someone who told to try fastboot flash boot twrp.img and so, without even thinking, I did it.
That's the main issue. I rebooted, and found that TWRP started, but now I couldn't boot my device anymore, because the default boot.img file was replaced by twrp.img. So, practically, TWRP replaced my device's default system (I think?).
Then, I tried to find a stock firmware for Mi Pad 4 (Clover) on the web, and I found it, so I flashed the stock firmware boot.img, fastboot flash boot boot.img, but when I rebooted, the device was stuck in the loading screen with three dots loading over a "Powered by Android" logo. I waited 20 minutes, nothing, it looks stuck, so this stock boot.img doesn't seem to work.
I can actually flash TWRP and that stock boot image both whenever I want and switch between them; the first works, the latter doesn't.
So, in poor words: I flashed twrp.img as boot.img and now I can't boot normally, but TWRP starts when turning on my device.
But I just want to get my default boot.img or system, or any other way to reaccess to my device. That's fine even if I have to hard reset or wipe everything, it's fine even if I am going to lose data, but please, just help me.
Can someone help me? I'm just a newbie in this world, please help me unbricking my device.
Thanks in advance.
Try installing twrp again and boot to it
Download custom rom.of your choice ( im using hovac and it been great for a year now )
Move it to your mipad via comouter
Format everything in twrp and install the rom and gapps
--- I just remembered havin same issue u having and if im not mistaking : u should reboot to recovery right after installing twrp ( you dont reboot to system )
Im not really sure about it cause it happened long time ago
@DanielVipx
Sorry, seems you tried that already. Did you try the mi flash tool?
This might help:
https://osdn.net/projects/xiaomifirmwareupdater/storage/Stable/V10/clover/

Stuck in fastboot

I made a mess, I really did. Was on Paranoid Q5 and wanted to try the CrDroid 7, so flashed DFE to decrypt the phone. However this made the phone stuck in fastboot. Don't really know if I misunderstood some instruction, or got hold of wrong file...
But here's the real problem - I cant install TWRP through the fastboot!
The Shell does report "sending, OKAY, writing, OKAY", but it wont reboot to TWRP either through ADB or manually.
Is this a common problem? Any help would be appreciated...
When I experienced something like that in the past, I used fastboot to directly boot to recovery, and then permanently flash twrp from inside this temporarily booted twrp. After flashing, reboot again to recovery and you are now ready to flash a new rom of your choice.
So you flashed dfe then rebooted but phone stuck in fastboot? Which dfe zip did you use?
It appears that DFE wiped all the partitions that's why even the recovery is not being flashed because partitions are not getting detected.
The easiest way to boot your phone is to flash stock ROM using flash tool to recreate the partitions. After that anything else can be done.

Categories

Resources