Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patching of Samsung Galaxy S22 latest firmware results in bootloop #2291

Open
3 tasks done
iacchi opened this issue Dec 15, 2024 · 2 comments
Open
3 tasks done

Patching of Samsung Galaxy S22 latest firmware results in bootloop #2291

iacchi opened this issue Dec 15, 2024 · 2 comments

Comments

@iacchi
Copy link

iacchi commented Dec 15, 2024

Please check before submitting an issue

  • I have searched the issues and haven't found anything relevant
  • I will upload bugreport file in KernelSU Manager - Settings - Report log
  • I know how to reproduce the issue which may not be specific to my device

Describe the bug

(previosuly I used Magisk, this is my first attempt with kernelSU)

As the title says, I get a bootloop when I try to install kernelSU on my Galaxy S22. Here are the steps I followed:

To Reproduce

  1. I did a fresh install of the latest firmware for my Galaxy S22 (S901BXXUDEXK5), installed the kernelSU app without logging in on Google or Samsung account, the app said "Not installed" (so I assume the phone is compatible).
  2. I extracted the boot.img file from the stock firmware, loaded it on the phone, opened the kernelSU app and patched the file. I copied the patched .img file back to my pc
  3. I untar'd the AP file of the firmware, deleted the original boot.img.lz4 file, replaced it with the patched one, renamed to boot.img, tar'd the AP file again
  4. Opened Odin, and flashed the whole firmware fresh again (using CSC file to erase data, not HOME_CSC)

Expected behavior

Once the firmware flash finishes, the phone goes into a bootloop. In step 3, I also tried to replace the patched boot.img file with one downloaded from your github (specifically, android12-5.10.218_2024-08-boot.img.gz) but after flashing it also leads to a bootloop. Notice that the kernel of this firmware version is 5.10.223-android12-9-29544049-abS901BXXUDEXK5 and I can't find an android12-5.10.223 in your list of downloadable files.

Am I doing something wrong, or is there something wrong/some incompatibility between kernelSU and my phone. I know of people who managed to install kernelSU on a Galaxy S23 (using one of your kernel images) so I want to say it should work. Is there a way you could provide an android12-5.10.223 kernel image for me to try? Unfortunately I cannot downgrade the firmware due to Samsung shenanigans.

Screenshots

No response

Logs

No response

Device info

  • Device: Samsung Galaxy S22
  • OS Version: Android 14, firmware version S901BXXUDEXK5
  • KernelSU Version: 1.0.2
  • Kernel Version: 5.10.223-android12-9-29544049-abS901BXXUDEXK5

Additional context

No response

@IgorEisberg
Copy link

Could be related or not, but there's something wrong with the builds released with 1.0.2.
In my case I use AnyKernel3-android12-5.10.209_2024-05.zip flashed via TWRP.
Randomly or when trying to boot to TWRP again, device gets stuck in a bootloop (no ADB at that stage).
Using the same exact version from the 1.0.1 release everything works fine.

@iacchi
Copy link
Author

iacchi commented Dec 18, 2024

I kind of gave up and used Magisk Alpha, which my stupid banking app doesn't recognise for the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants