Cannot boot Up to bootloader - Android Q&A, Help & Troubleshooting

I have a honor 8, I did install lineage but something happened and got into bootloop and did use my twrp backup that installed stock system without my apps etc. I do have a kernel that gives me root access (SuperSU) tried to uninstall with the in app root remove but it failed when I did check stock boot.img. so I extracted the boot, vendor och system from update.app and installed it with twrp, but the boot.img gave me a bootloop so I used my SuperSU boot.img and it boot. Did try to force update with a dload folder but it didn't work only came to 5% and did try like 10 different versions. After that did I download flashify and flashed stock recovery.img but couldn't boot up to it it whent to erecovery. Did also try to boot into bootloader but it just booted up to twrp (did installed it again). How can i get back to completely stock? And does I have a bootloader? Also have a decrypted the /data partition for the custome rom

Related

Flashing issues after using Chainfire's flashfire app

Hi friends,
So here's a thing:
I was trying to update my Nexus 9 to the latest Slimrom build , and I used Chainfire's flashfire app. It didn't work and sent the tablet in a boot loop. But it also wiped my recovery so I couldn't even select my recovery.
So no issues, I used the Wugfresh nexus toolkit to flash it back to stock and unroot. Bootloader is still unlocked, so I just root it again and go ahead and try to install the update using Wugfresh. It works, but says the vendor.img is wrong. So I downloaded the correct vendor.img and tried to flash it, but of course because the tablet is encrypted TWRP asked for a password. I hit cancel and tried to continue, but Wugfresh just hung at that step.
So I tried to manually flash the ROM, but now it gives me a vendor.img error and will not flash anything. Trying to flash anything sends the device in a bootloop.
TLDR; I can restore to stock and root, and also access the bootloader and recovery (TWRP) but can't flash anything without sending the device in a bootloop.
I've currently restored the tablet to stock via wugfresh's tool and rooted. So I'm back at the beginning, except with this vendor.img issue when I'm trying to flash a ROM.
Anyone have any ideas?

Some root questions

I want to root my poco f1 ....
But i have some questions regarding it
1. Will my data be format while rooting and installing twrp
2. How i will get ota update
3. Will installing ota update also format my data?
1. Your whole internal data needs to be wiped... To flash the force decryption enabler at first...
Even while installing twrp via fastboot.. Your data will be formated
2. You will get updates... But not via ota.... Yes you will get to download the updateds in some roms... But you need to dirty flash them.
3. While dirty flashing.... Formatting data is not required.
roxor101 said:
1. Your whole internal data needs to be wiped... To flash the force decryption enabler at first...
Even while installing twrp via fastboot.. Your data will be formated
2. You will get updates... But not via ota.... Yes you will get to download the updateds in some roms... But you need to dirty flash them.
3. While dirty flashing.... Formatting data is not required.
Click to expand...
Click to collapse
Does the twrp with working decryption also need to format my data?
You can root your device in two ways.
First, with twrp (OTA won't work afterwards)
Second, without twrp (OTA will work)
First method, unlock the bootloader (device will be wiped)>Grab the twrp with working decryption>Boot your device into fastboot and type fastboot flash recovery twrp.img (or whatever the recovery image name is)>Now type fastboot boot twrp.img (or whatever the recovery image name is)>Once booted into twrp, swipe to allow modification>Now download Magisk installer and copy into the device>Flash it?Reboot to system>Profit.
N.B. After flashing twrp, make sure to first boot into twrp before booting into system or else device will restore stock recovery. If you need to update in future, just grab the twrp flashable update package and flash it. That's it. No need for OTA.
Second method, this will also require an unlocked bootloader. Once the bootloader is unlocked, get the stock boot image of your current software (e.g. if you are on miui 10 with October security patch, make sure to grab the stock boot image for miui 10 october). Now install Magisk manager apk in your device. Now open magisk manager and go to install. You will find an option for patching stock boot image. Click on it and select the stock boot image. Magisk will patch the boot image and will place it in your internal memory. Now boot into fastboot mode and type fastboot boot patched_boot.img (or whatever the name is). Once device is booted into system, go to Magisk and click on Install>Direct install (recommended).Magisk will get flashed by itself and reboot. Once rebooted, go to Magisk manager and check. If you do everything correctly, you are rooted.
N.B. When you get an OTA update, open Magisk and go to Unsinatll and click on "Complete uninstall". It will uninstall magisk and revert your stock boot image back. Note that, if you play witgh system partition like modifying build.prop or change host file or bootanimantion or any such thing, you won't be able to get any further OTA update. In that case, you need to flash the complete fastboot rom through MiFlash tool.
For more information, please go to Magisk thread or search online.

Recovery without data loss after a Magisk update gone bad, still possible?

So i had a hickup with updating magisk to v20.3.
The result was that after a reboot the device got stuck in fastboot mode.
I went to TWRP 3.3.0 recovery and backed up all offered partitions before then attempting to re-flash magisk.
Didn't work out.
Then i heard that if you extract the boot.img from the stock firmware and flash it with fastboot you can get back to a working state where you can install Magisk again.
So i thought.
Now after booting i am greeted by the miui first install wizard and the whole set of apps seems to be gone as well as my settings.
IIRC i only removed the dalvik cache which shouldn't affect this state.
Where in the procedure is the mistake and can i get the old pre-broken update state back? I am afraid something has been lost in the process
selemine said:
So i had a hickup with updating magisk to v20.3.
The result was that after a reboot the device got stuck in fastboot mode.
I went to TWRP 3.3.0 recovery and backed up all offered partitions before then attempting to re-flash magisk.
Didn't work out.
Then i heard that if you extract the boot.img from the stock firmware and flash it with fastboot you can get back to a working state where you can install Magisk again.
So i thought.
Now after booting i am greeted by the miui first install wizard and the whole set of apps seems to be gone as well as my settings.
IIRC i only removed the dalvik cache which shouldn't affect this state.
Where in the procedure is the mistake and can i get the old pre-broken update state back? I am afraid something has been lost in the process
Click to expand...
Click to collapse
Just install the latest stock rom then install recovery and restore all the backed up partitions.
Now install magisk and reboot.
If that doesn't work (u get into fastboot again) then just flash the boot.img file via fastboot and then reboot.
if i restore the backed up partitions and install magisk over it i get back to the non-booting , stuck in fastboot version. So something is wrong in the state of denmark.
selemine said:
if i restore the backed up partitions and install magisk over it i get back to the non-booting , stuck in fastboot version. So something is wrong in the state of denmark.
Click to expand...
Click to collapse
I looked at the /data backup from twrp and it is only 3mb, unless stuff got moved to /system or so, it seems to be gone forever.
Hell , i wil never update magisk again.
selemine said:
I looked at the /data backup from twrp and it is only 3mb, unless stuff got moved to /system or so, it seems to be gone forever.
Hell , i wil never update magisk again.
Click to expand...
Click to collapse
Don't install magisk with the rom, just restore the data, flash the stock boot.img file and then reboot.
After boot uninstall the magisk manager app and reboot to recovery and then flash magisk again.

Is there any latest stock boot img for Mi A3?

I accidently upgraded my phone to Android 10 11.0.14 ( prehaps ). I want to install TWRP on this phone, and I attempted to install it without flashing the boot img, and it caused to entirely be bricked and stuck on fastboot, and I did also attempt to change the slot, but ****** off. I tried using MiFlash, ****** off, reinstall, ****** off. I still kept my OnePlus rom and I succeed to install and normally use it, and it still remained TWRP. I installed the stock rom for it cuz Oxygen is so unstable, and I did, but the TWRP is lost. I reinstalled it, but it bricked, again. I entered TWRP, wipe all data, and enter again, but lost TWRP. I figured that I did miss flashing boot img, thanks to a thread I accidently read. And I also figured how stupid I was when I just did upgraded my phone to the latest version, and there is no boot img compatible to that version, and I did searched entire internet for it. I didnt try to flash the boot img of the early version cuz I am afraid it bricked again cuz of the compatibility. So when will I expect for a boot img file to flash TWRP and when can I download and use it? Or technically I dont need that boot img file and just simply change the slot and flash it? Ty.
try this boot img, its compatible with android 10 also twrp is already installed in the boot img.
https://sourceforge.net/projects/mi...HR_Q-v2.2-laurel_sprout-official.img/download (its for official android 10 rom)
then flash whatever rom you like then flash this zip, it will install shrp recover
https://sourceforge.net/projects/mi...ller-v2.2-laurel_sprout-official.zip/download
gamernayeem said:
try this boot img, its compatible with android 10 also twrp is already installed in the boot img.
https://sourceforge.net/projects/mi...HR_Q-v2.2-laurel_sprout-official.img/download (its for official android 10 rom)
then flash whatever rom you like then flash this zip, it will install shrp recover
https://sourceforge.net/projects/mi...ller-v2.2-laurel_sprout-official.zip/download
Click to expand...
Click to collapse
Hang on. What do you mean by TWRP is already installed ? Does it mean that boot img file already contained TWRP or I do need to install it as a boot img to get the phone boot and work normally?
And btw, is installing SHRP Recovery an opinion or a must?
PNT5V said:
Hang on. What do you mean by TWRP is already installed ? Does it mean that boot img file already contained TWRP or I do need to install it as a boot img to get the phone boot and work normally?
And btw, is installing SHRP Recovery an opinion or a must?
Click to expand...
Click to collapse
the boot img already contain twrp, and the boot img should be able to boot your rom (stock android 10) and no shrp is not a must you can use any recovery you like, but if you want to keep your recovery after installing a rom you have to install the recovery installer zip
gamernayeem said:
the boot img already contain twrp, and the boot img should be able to boot your rom (stock android 10) and no shrp is not a must you can use any recovery you like, but if you want to keep your recovery after installing a rom you have to install the recovery installer zip
Click to expand...
Click to collapse
Boot img not working
oseraphaels said:
Boot img not working
Click to expand...
Click to collapse
Then you have to flash fastboot rom then flash this boot img
gamernayeem said:
Then you have to flash fastboot rom then flash this boot img
Click to expand...
Click to collapse
Thank you very much
It works
oseraphaels said:
Thank you very much
It works
Click to expand...
Click to collapse
No problemo
Big Thanks
gamernayeem said:
try this boot img, its compatible with android 10 also twrp is already installed in the boot img.
https://sourceforge.net/projects/mi...HR_Q-v2.2-laurel_sprout-official.img/download (its for official android 10 rom)
then flash whatever rom you like then flash this zip, it will install shrp recover
https://sourceforge.net/projects/mi...ller-v2.2-laurel_sprout-official.zip/download
Click to expand...
Click to collapse
I was also stuck like this so i flashed that boot img rebooted and everything came back.

Help Cat S48c got broken after install magisk Still have TWRP Backup

Good morning everybody
First of all I did a Backup used modfiy TWRP downloaded from here
It was working with no problem but I flashed the TWRP img mistakenly to boot_b which is the active slot
I almost tried everything to get it back , like flash dm vertiy , Uninstall Magisk , Flash empty metavar , Su SR3 etc.
It boots to bootloader everytime after restore the backup with TWRP , I tried to flash it with fastboot but it does not take any system or vendor ext4 img
If there is any thing I could do to get it back I will really appreciate you guys

Categories

Resources