Development Custom kernel for a336b

Search This thread

physwizz

Senior Member
Sep 16, 2013
3,865
861
Sydney
A336b S kernel v2.1
Exynos 1280

For OneUI 4.1 and for GSIs

Samsung securities disabled
CPU governors: performance, powersave, userspace, ondemand, conservative, shedutil, energystep, energyaware.
CPU: big 2.4 Little 2.0

Thanks to @DevZillion for the correct toolchain

Android 13 kernel here.

Installation
Post 2

Kernel source code

@physwizz
 

Attachments

  • physwizz_a336b_S_kernel-v2.1.zip
    16.7 MB · Views: 77
Last edited:
  • Like
Reactions: Zillion

physwizz

Senior Member
Sep 16, 2013
3,865
861
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.

Note: physwizz kernels work best with debloated stock or with wizzROM
Other custom ROMs may not be supported

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 (if available)
Install kernel zip
Wipe both caches
Reboot

Method 2
Install kernel from terminal.

1. Download magisk module (magic flash zip) 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 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 filename.zip

Method 4
Using boot.img

Install AIK Mobile from magisk modules https://t.me/physwizz2/82
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


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
 
Jun 11, 2022
43
11
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.

Note: physwizz kernels work best with debloated stock or with wizzROM
Other custom ROMs may not be supported

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 (if available)
Install kernel zip
Wipe both caches
Reboot

Method 2
Install kernel from terminal.

1. Download magisk module (magic flash zip) 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 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 filename.zip

Method 4
Using boot.img

Install AIK Mobile from magisk modules https://t.me/physwizz2/82
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


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
nvm i rooted it with magisk
 
Last edited:
Code:
ui_print a33x kernel
      ui_print
ui_print
      ui_print
ui_print AnyKernel3 by osm0sis @ xda-developers
      ui_print
ui_print
      ui_print
ui_print
      ui_print
ui_print Checking device...
      ui_print
ui_print
      ui_print
ui_print Unsupported device. Aborting...
      ui_print
Flashing exists with code 1




What is this
 

Top Liked Posts