Development A226B kernel

Search This thread

physwizz

Senior Member
Sep 16, 2013
3,560
787
Sydney
A226B kernel

Built with proton-clang 13


physwizz a226 kernel version 1
Based on a226B s4
For OneUI 3.1 and for GSI (Q or R)

Samsung securities disabled
Optimised for performance
lz4 default compression added to zram


Installation
Post #2

Ignore the error message during installation and reboot


@physwizz

Kernel
 

Attachments

  • physwizz_a226B_R_kernel-v1.zip
    12.4 MB · Views: 31

physwizz

Senior Member
Sep 16, 2013
3,560
787
Sydney
Installing physwizz custom kernels

INSTALL AT YOUR OWN RISK
I AM NOT RESPONSIBLE FOR ANY BRICKED PHONES
But I will help any well-mannered person to recover.

A. Preparation

1. Root the phone
2. Compress your patched boot.img to make boot.tar
3. Copy boot.tar to PC


B. Installation

Method 1
Install from twrp

Reboot to recovery
Backup boot and dtbo
Install kernel zip
Reboot

Method 2
Install kernel from terminal.

1. Download magisk module (magic-flash.zip) from https://github.com/Magisk-Modules-Alt-Repo/magic-flash
2. Install module and reboot.
3. Open terminal.
4. Navigate to folder containing kernel.zip.
Use
ls to list contents
and
cd to change directories
5. Type su
6. Type flash kernel_name.zip
7. Reboot

Method 3
Using ADB

Install adb tools on pc
Connect to PC
Copy zip file to adb folder on pc
Open terminal on pc
Navigate to adb folder
Type
adb sideload file-name.zip

Method 4
Using boot.img

Install AIK Mobile from magisk modules
Use rootexplorer to access
/data/local/AIK-MOBILE
Add patched boot.img and tap unpackimg.sh
Exit the folder and return to see the files.
Edit the files (eg to add a new Image
rename Image to boot.img-zImage and insert in split-image folder)
Tap repackimg.sh
Rename new_image.img to boot.img
Compress boot.img to boot.tar
Copy boot.tar to PC
Reboot phone to download mode
Install boot.tar from odin

AIKLink


C. Removal

Method 1
Reboot to recovery
Restore boot and dtbo
Reboot

Method 2.
Reboot phone to download mode
Install patched boot.tar from odin


@physwizz
 

physwizz

Senior Member
Sep 16, 2013
3,560
787
Sydney
A226B kernel

Built with proton-clang 13


physwizz a226 kernel version 2
Based on a226B s4
For OneUI 3.1 and for GSI (Q or R)

Samsung securities disabled
Optimised for performance
lz4 default compression added to zram
Wifi and bluetooth fixed?


Installation

Ignore the error message during installation and reboot


@physwizz

Kernel
 

Attachments

  • physwizz_a226B_R_kernel-v2.zip
    12.4 MB · Views: 14

potato0

Member
Jun 21, 2022
21
1
A226B kernel

Built with proton-clang 13


physwizz a226 kernel version 2
Based on a226B s4
For OneUI 3.1 and for GSI (Q or R)

Samsung securities disabled
Optimised for performance
lz4 default compression added to zram
Wifi and bluetooth fixed?


Installation

Ignore the error message during installation and reboot


@physwizz

Kernel
wifi and bluetooth do not work :(