[HELP] Stuck on boot logo, likely went wrong with flashing kernel - Sony Xperia X Questions & Answers

So I'm stuck in a bootloop (on the Sony logo) and don't know what to do. This is what I've done/my process:
1. Unlocked the bootloader
2. Flashed TWRP. I still have access to TWRP (and fastboot)
3. Rebooted; the bootloop started here
What I think is that I needed a custom kernel, before I flashed TWRP. Can my situation still be saved? Which kernel will I need to flash? This is some information about my software version that I got from adb commands:
[ro.build.date]: [Tue Jul 31 05:32:10 UTC 2018]
(...)
[ro.build.version.release]: [8.1.0]
(...)
[ro.build.version.security_patch]: [2018-07-05]
Then:
4. I made a TWRP backup of my everything except for data, so that includes the boot image (this is after step 3.)
5. I flashed a kernel from this thread . Version 34.4.A.2.97 for the update on July 18. After reboot still stuck on the Sony logo.
What should I do? Please help me I would really apprechiate it!!!!

always give more insight like
1. how did you flash twrp
2. what was the purpose , what you were trying to achieve
3. do you have kernel with you( Modded) ?
now i can only speculate since only this much info is given, but it seems
1. you didnot flash the MAGISK & DRMFIX patch.zip so you are stuck in bootloops
2. you flashed magisk and drmfix but you didn't flash the MODDED kernel having DM Verity OFF so now you are stuck on bootloops

Related

[Q] Questions about a failed custom rom flash.

This is the first time I tried to install a custom rom. Please be gentle.
Device: Huawei Y300 (Bootloader unlocked and rooted)
TWRP Version: 2.5.0.1
Custom rom: cm-11-20140510-NIGHTLY-u8833.zip (found here)
I mindlessly tried to flash cyanogenmod 11 (kitkat) on my Huawei Y300. Here was the last steps I did:
copied rom and gapps zip files on phone root
restarted phone in fastboot mode
on ADB, ran
Code:
fastboot flash boot path\to\boot.img
(everything seem to be working fine)
ran
Code:
fastboot reboot
(phone rebooted in TWRP)
Tried to install cm-11-20140510-NIGHTLY-u8833.zip rom file (installation failed)
From what I read, the version of my twrp is not compatible with kitkat? Now i believe I bricked my phone because I forgot to create a backup of the stock rom.
Questions:
Is the stock rom still somehow there, hiding in my phone memory?
Is it possible to "undo"
Code:
fastboot flash boot path\to\boot.img
so that the "original" boot.img is used by my phone when I try to reboot it?
I am currently downloading Android SDK with a plan to upgrade my twrp for kitkat compatibility. I hope this will let me install cyanogenmod kitkat on my huawei. But I am not sure if I will succeed. If I still fail, can you guys tell me what other options I have to save my phone?
Thanks
Edit: problem solved.
I learned how to properly flash/upgrade twrp via fastboot.. Retried installing rom with twrp 2.7 and it was successful.

I really need help

Hi, today I was more than seven hours on PCr and tried this....unsuccessfully... I'm really desperate
I have:
-Xperia Z2 (D6503)
-Android 6.0.1
-newest firmware 23.5.A.1.291
-UNlocked bootloader
I am trying to install root, twrp recovery and custom ROM ( specifically this ROM ). But i cannot enter to the recovery mode...
Official twrp-3.0.2-0 succesfully flashed in fastboot but when i try command "fastboot reboot recovery" the mobile only load android and turns on normally... the combination hardware buttons also do not work.
The next question is, What is a kernel ? I have successfully installed this kernel .... Could this be the reason why I can't load the recover mode?
Please help me, I don't know what to do anymore :crying: all I want is root and custom rom
EDIT: okay, i successfully root phone and finally i have access to recovery mode (TWRP 3.0.2-0) by THIS TUTORIAL now i need help with installing the custom ROM step-by-step because if I turn something wrong and phone will be bricked again, I guess I'll kill myself xD so What is next step for install custom ROM please ? Can I just download THIS, install the zip in TWRP and that´s all ???
Yup you can install it by recovery steps:
kubesak97 said:
Hi, today I was more than seven hours on PCr and tried this....unsuccessfully... I'm really desperate
I have:
-Xperia Z2 (D6503)
-Android 6.0.1
-newest firmware 23.5.A.1.291
-UNlocked bootloader
I am trying to install root, twrp recovery and custom ROM ( specifically this ROM ). But i cannot enter to the recovery mode...
Official twrp-3.0.2-0 succesfully flashed in fastboot but when i try command "fastboot reboot recovery" the mobile only load android and turns on normally... the combination hardware buttons also do not work.
The next question is, What is a kernel ? I have successfully installed this kernel .... Could this be the reason why I can't load the recover mode?
Please help me, I don't know what to do anymore :crying: all I want is root and custom rom
EDIT: okay, i successfully root phone and finally i have access to recovery mode (TWRP 3.0.2-0) by THIS TUTORIAL now i need help with installing the custom ROM step-by-step because if I turn something wrong and phone will be bricked again, I guess I'll kill myself xD so What is next step for install custom ROM please ? Can I just download THIS, install the zip in TWRP and that´s all ???
Click to expand...
Click to collapse
before you do this you should backup all your important data
1-wipe data factory reset
2- wipe cache
3- install zip rom
4- download google apps and install it by recovery it should be a zip file
5-repot system and enjoy
the recovery is like twrp or cwm it's not a kernel
there is 2 type of kernel :
1-kernel itself
2-kernel with merged recovery
about the kernel and recovery, there is deference the kernel is very important for system to work it connects between the hardware and the software and every operating system has its own kernel but here in android they sometimes merge kernel with recovery but when you flash-kernel or recovery every one replace each other be careful and know that, don't worry you won't brick something in the near future when you will install custom ROMs you will notice that.
if you need any help you can ask me

Need help phone stuck on boot

so i downloaded magisk and twrp then realized i had a miui 11 update so i updated then it rebooted and went to twrp i was confused so i went to reboot and system then clicked and now its stuck on pocophone by xiaomi powered by android what do i do please help iam seriously scared
seems like dmvarity issue
flash magisk20.1 again,
and reboot
2. if bootloop again then this means you have encryption error, FORMAT DATA from wipe (you will loose all your data) and try!
also if still you are stuck at bootlogo then
flash miui11 recoveryrom via twrp then reboot, complete miui11 setup and comeback for magisk
the final solution would be to flash miui11 FASTBOOT ROM via flasher, (pc) which will wipe all your data , then reboot, then miui11 setup, then comeback to twrp for magisk
flashing miui and magisk altogether always went in bootloops or screen freezes for me too!
Dear guys
I tried to help a friend of mine rooting his Pocphone F1
SO these have been my steps:
Unlocked bootloader
Booted TWRP (only boot ... no instalation)
Installed last MAGISK (20.1 if I remember well)
Reboot to System
In some cases when I reboot I obtain a soft boot loop
Only pressing pwr+Vol up several times (honestly I have not yet understood which is the right magic sequence ...) I have the right boot to Android
Any idea to fix the issue ?
Thanks a lot
Paolo

Loop boot after flashing rom

hello
i want to flash lineageos to my smartphone
this is the instructions :
Remove lockscreen pattern/pin
2. Flash latest Android 10 stock rom, flash twrp zip, reboot recovery
3. Flash latest Android 10 stock rom, flash twrp zip, reboot recovery (now you have latest unmodified stock vendor in both slots)
after the step 3, i test to reboot but i have a bootloop
i try to change the slot (fastboot --set-active=a or fastboot --set-active=b) and to boot but same problem , android doesn't start and i go in orangefox
i tried with a lot of rom variants, and i still have the same problem
i tried to wipe data
thanks for your help

after installing lineage 19 for micro G, oneplus 5t only boots in recovery

Good evening dear members, I ask for your kind advice, as I have done something wrong to my Oneplus 5t.
I upgraded my Oneplus 5t with "lineage for microG" 19.1 (from lineage 18).
I had installed TWRP 3.5.0_9 (phone encrypted).
It booted fine the first time into system.
The problem arose after I tried to install Magisk 21.4 from TWRP.
Now the phone only boots in recovery, but it doesn't enter TWRP's menu. It stays on the first TWRP screen (where it shows the version number).
The good thing (I hope) is that I can enter fastboot mode.
I tried flashing TWRP again from fastboot to no avail.
I tried flashing boot.img from fastboot (taken from the original firmware), but still no luck.
Is there a way to install the original firmware from fastboot?
I think starting from scratch would be a step into the right direction.
Please give any suggestion which I fill follow to the letter.
Thank you, thank you, thank you!
You have to be decrypted or flash DMverity for A12. I assume You mean Magisk 24.1 the current version is 24.3
Hi. This is what I did:
I downloaded and installed original firmware through fastboot (fastboot was still on).
I also installed original recovery through fastboot.
After that my oneplus 5t was in stock condition, apart from the bootloader, which was unlocked.
After that I managed to install TWRP through fastboot, and then lineage 19.
The thing is that TWRP doesn't support lineage 19, for one reason or another. Or it could be the other way around (lineage 19 doesn't support TWRP). In any case I had a phone which would only go in fastboot mode.
At least I knew what to do, as I did it already: reinstall stock firmware and recovery.
Long story short, I installed LOS recovery and lineage 19, and everything works fine.
Thanks everyone, and especially thaidroid, for the support.
Have a nice day.
miclombardo said:
Good evening dear members, I ask for your kind advice, as I have done something wrong to my Oneplus 5t.
I upgraded my Oneplus 5t with "lineage for microG" 19.1 (from lineage 18).
I had installed TWRP 3.5.0_9 (phone encrypted).
It booted fine the first time into system.
The problem arose after I tried to install Magisk 21.4 from TWRP.
Now the phone only boots in recovery, but it doesn't enter TWRP's menu. It stays on the first TWRP screen (where it shows the version number).
The good thing (I hope) is that I can enter fastboot mode.
I tried flashing TWRP again from fastboot to no avail.
I tried flashing boot.img from fastboot (taken from the original firmware), but still no luck.
Is there a way to install the original firmware from fastboot?
I think starting from scratch would be a step into the right direction.
Please give any suggestion which I fill follow to the letter.
Thank you, thank you, thank you!
Click to expand...
Click to collapse
Its not working cus you need to format data in recovery and then reboot it.
kirknado18 said:
Its not working cus you need to format data in recovery and then reboot it.
Click to expand...
Click to collapse
It wont boot cus your encrypted formatting data will allow op5t to boot.
latest lineage + magisk = stuck on boot logo, I tried an older version of lineage + magisk (known to work), same thing.. what did I do?
paradoxiumwind said:
latest lineage + magisk = stuck on boot logo, I tried an older version of lineage + magisk (known to work), same thing.. what did I do?
Click to expand...
Click to collapse
What recovery are you on? TWRP?
I use the one posted alongside each version: https://download.lineageos.org/dumpling
can you help?
I need to root so I can titanium backup everything. but I can't root. I suspect I might need to fully format and wipe and start again, I tried wiping data and doing a fresh install, but after sideloading magisk it just fails to boot every time now.
Does it boot regularly BEFORE installing magisk? I am trying to define the source of the problem.
I have installed lineage 19 and magisk, and I confirm you that it's possible
Yes. It boots fine if I just install lineage then nevermindthegapps. problem only occurs if I flash magisk. I tried installing the .apk and patching the .boot image manually in it and then fastboot flashing that, but same thing.
oh - one possible thing that it may be - is that I had a couple of modules loaded (I think a gcam fix mod and something similar) in magisk, and I read somewhere about people having them stuck 'installed' despite demoving all traces of magisk app. whether that is the problem I don't know.
This is very strange. That's what I did:
Sideload lineage recovery
Sideload lineage 19
Download magisk apk
Patched boot image from lineage 19.zip
Sideload the patched boot image
And that's it it all worked
May I suggest you to start all over again?
is wiping system data sufficient or do I need to format it? I'd rather not lose my appdata- but I can't rescue it without root / titanium backup :/
Try first without formatting, and see how it goes
I wiped system/cache, installed lineage-19.1-20220719-nightly-dumpling-signed.zip / mindthegapps, phone booted up fine - rebooted fine.
ok, good. Now download latest magisk app and patch the boot img.
do I click patch vbmeta in image?
Yes.
First extract the file called boot.img from lineage.zip you just installed.
Then in magisk select "patch vbmeta in image".
Magisk should produce a file named something like " magisk_pached-24300_f41h3.img".
That patched file should be sideloaded.
Installation is explained really well by topjohnwu
it wouldn't flash without selecting vbmeta, so tried with, flashed it, now i'm sitting looking at the boot logo.

Categories

Resources