M21 kernel - Samsung Galaxy M21 ROMs, Kernels, Recoveries, & Ot

physwizz M215f S kernel version 3.1
For OneUI 4.1
( also works for GSIs)
Samsung securities disabled
More CPU governors
Conservative, On-demand, Userspace, powersave, performance, energy_step, shedutil
Optimised for performance
CPU:
Big 936 MHz - 2314MHz
Little 403MHz - 2054MHz
lz4 default compression added to zram
Installation
Post 2
boot.tar files in post 19 and 20
Kernel
physwizz - Repositories
physwizz has 172 repositories available. Follow their code on GitHub.
github.com
@physwizz

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 (if available)
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
Physwizz Collection
Install from magisk modules Use rootexplorer to access /data/local/AIK-MOBILE Add boot.img or recovery.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
t.me
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 said:
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 (if available)
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
Physwizz Collection
Install from magisk modules Use rootexplorer to access /data/local/AIK-MOBILE Add boot.img or recovery.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
t.me
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
Click to expand...
Click to collapse
Is it compatible with OneUi4.1 ??
@physwizz

BobaBoi69 said:
Is it compatible with OneUi4.1 ??
@physwizz
Click to expand...
Click to collapse
Yes

Actually i have the LegendaryPixieOS one ui 4.1
But i would surely try and give a review
Thank you for the reply @physwizz

physwizz said:
physwizz M215f S kernel version 3.1
For OneUI 4.1
( also works for GSIs)
Samsung securities disabled
More CPU governors
Conservative, On-demand, Userspace, powersave, performance, energy_step, shedutil
Optimised for performance
CPU:
Big 936 MHz - 2314MHz
Little 403MHz - 2054MHz
lz4 default compression added to zram
Installation
Post 2
Kernel
physwizz - Repositories
physwizz has 172 repositories available. Follow their code on GitHub.
github.com
@physwizz
Click to expand...
Click to collapse
You have stock kernel file? I forget to backup
@physwizz

ItzTyoKunz said:
You have stock kernel file? I forget to backup
@physwizz
Click to expand...
Click to collapse
No.
Sorry

physwizz said:
physwizz M215f S kernel version 3.1
For OneUI 4.1
( also works for GSIs)
Samsung securities disabled
More CPU governors
Conservative, On-demand, Userspace, powersave, performance, energy_step, shedutil
Optimised for performance
CPU:
Big 936 MHz - 2314MHz
Little 403MHz - 2054MHz
lz4 default compression added to zram
Installation
Post 2
Kernel
physwizz - Repositories
physwizz has 172 repositories available. Follow their code on GitHub.
github.com
@physwizz
Click to expand...
Click to collapse
Is it work for custom rom lineage os galaxy m21?

seirindrew said:
Is it work for custom rom lineage os galaxy m21?
Click to expand...
Click to collapse
Idk

Yesterday I installed cosmic staff custom kernel, forgetting it was for Android 11, while I'm on Legendary pixies A12, got boot loop of course, thinking here goes my weekend, reinstalling stock, rooting, reinstalling my apps, and Thanks God=Allah, and you for this.
You made my day Sir, if you got a donation link, I would buy you a coffee gladly.
Have a nice day, bruh.
Cheers from morocco

been using this kernel for like 6 hours, and its terrible perfromance wise. dunno why.

Atrosincity said:
been using this kernel for like 6 hours, and its terrible perfromance wise. dunno why.
Click to expand...
Click to collapse
It might be your rom

physwizz said:
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 (if available)
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
Physwizz Collection
Install from magisk modules Use rootexplorer to access /data/local/AIK-MOBILE Add boot.img or recovery.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
t.me
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
Click to expand...
Click to collapse
Can u make this cuskernel to flashable odin file (tar.md5) ? Its hard to find the others kernel for 4.1 one ui (m215f)

Dikazoke said:
Can u make this cuskernel to flashable odin file (tar.md5) ? Its hard to find the others kernel for 4.1 one ui (m215f)
Click to expand...
Click to collapse
Send me your boot.img and I'll get back to you

i got this from AP file in stock rom, btw, do i need to root my samsung m21? Cause few people say that dont need to root phone to flash custom kernel, sorry if to much asking, i am curious and nood at this

This

physwizz said:
Send me your boot.img and I'll get back to you
Click to expand...
Click to collapse

physwizz said:
Send me your boot.img and I'll get back to you
Click to expand...
Click to collapse
I compress the boot.img.lz4 to zip

Dikazoke said:
I compress the boot.img.lz4 to zip
Click to expand...
Click to collapse
This is not rooted

Dikazoke said:
I compress the boot.img.lz4 to zip
Click to expand...
Click to collapse
This one is rooted

Related

[Scripts] Easy install scripts for everything [ROM/Kernel/Modem/Recovery + Rooting]

Hi. I'm posting some really useful and easy scripts for installing (almost) anything.
All my scripts are clean, commented and easy to use/edit.
I want to encourage development, and also make everything easier. No more waiting for someone to post kernels/modems/recoveries in a CWM installer. Now anyone can cook ROMs.
My Install ROM script is more designed to starters, so they can be more encouraged to learn more and more.
ROM SCRIPT
Click to expand...
Click to collapse
- This zip is designed for installing the ROMs you cook. This is how you can use it:
1. Get your /system folder from your phone or extracting your firmware from system.img from original tar.md5 file or any ROM
2. Extract the zip and merge with your firmware
3. Make your changes, edit anything you want.
4. Use the data folder at the zip to install anything you want at /data. Example: installing apps to /data/app.
5. Get your kernel [boot.img] and modem [modem.bin] and put together with META-INF folder [not inside]
6. Check if you need to change anything on update-script. Examples: ext4 tweaks/extra symlink/extra permission/
7. Zip META-INF | data | system | boot.img | modem.bin
8. Done!! You can just install it on CWM.
Important!!
- Zip already includes root [busybox+Superuser]
- Don't delete system/etc/init.d folder. If you do, remove init.d set permission line from update-script.
KERNEL, MODEM AND RECOVERY SCRIPTS
Click to expand...
Click to collapse
- No secret.
1. Get your file (boot.img [kernel] or modem.bin [modem] or recovery.img [recovery]
2. Download the correct script.
3. Drag and drop your file to the zip.
4. Done!! Install on CWM.
ROOTING SCRIPT
Click to expand...
Click to collapse
- No secret at all... After installing a custom recovery with Odin3, install this script and it will root your phone with Busybox and Superuser [3.2 app and binary]
PROBLEMS?
Click to expand...
Click to collapse
- Get this folder and post here so I (or anyone) can take a look -----> /cache/recovery <----- I'll check recovery logs to see what went wrong.
DOWNLOADS!
Click to expand...
Click to collapse
- Install ROM script v1
- Install Kernel script v1
- Install Modem script v1
- Install Recovery script v1
- Rooting script v1

How-To Modify boot.img for DualBoot Patcher (Android 9)

One of the things I missed most since moving to Oreo and Pie on the Note 4 has been trying out the new ROMs without having to mess with my daily driver setup. After a ton of research and some training on building ROMs from source, I was finally able to make Android Pie boot from any slot on Dualboot patcher. *
What you need?
* An Android Pie ROM
* Android Image Kitchen (AIK)
* modified device tree binary (dtb)
* a text editor
* RAR or some other zip file manager.
Instructions
1) Download and extract AIK from https://forum.xda-developers.com/showthread.php?t=2073775
2) extract the boot.IMG from your ROM to the same folder where you extracted AIK.
3) unpack the boot image using the unpackimg.sh script. This will create a split_img folder and a ramdisk folder.
4) go to the split_img folder and delete boot.img_dt (or boot.img_dtb depending on which version of AIK you are using).
5) copy the attached dtb.img file to the split_img folder and rename it to the original file name (boot.img_dt or boot.img_dtb)
6) go to the ramdisk folder and edit fstab.qcom. change this line:
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait,recoveryonly
To this:
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1,discard wait
7) still in the ramdisk folder, modify init.qcom.rc. change this line **:
mount_all fstab.qcom
To this:
mount_all /fstab.qcom
8) go back to the AIK folder and run repacking.sh. this will create a file called image_new.img.
9) rename image_new.img to boot.img
10) replace the boot.img in your ROM zip file with the new one you just created.
Now you can use DualBoot Patcher to patch the ROM file for any slot and flash the patched file.
Just a few extra notes here:
* I only built these images for Android Pie for Snapdragon Note 4 devices. Make sure you use the the correct file for your device.
** in step 7, I noticed that some ROMs have an earlymount flag. You must delete that flag, otherwise the phone reboots to download mode.
***If anyone has any ideas to make this a flashable process, let me know. I would push these change upstream, but I don't know know enough about Git to do that. And, I don't know if the other devs want these changes.
Ok, so that was the manual way, but these changes can also be added to the kernel and boot image files at the time you build your ROM. Here is where you make the changes:
In the kernel, go to the dts sources. The file to modify is this one:
kernel/samsung/apq8084/arch/arm/boot/dts/qcom/aps8084.dtsi
Find this section and delete it:
Code:
system {
compatible = "android,system";
dev = "/dev/block/platform/msm_sdcc.1/by-name/system";
type = "ext4";
mnt_flags = "ro,barrier=1,discard";
fsmgr_flags = "wait";
status = "ok";
};
In the boot image, there are 2 files to modify.
1) device/samsung/trlte-common/rootdir/etc/fstab.qcom
Change this line:
Code:
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait,recoveryonly
to this:
Code:
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1,discard wait
2) device/samsung/trlte-common/rootdir/etc/init.qcom.rc
Change this line:
Code:
mount_all fstab.qcom
to this:
Code:
mount_all /fstab.qcom
That's it. Build the ROM and it will be compatible with DualBoot Patcher. Since those are common files across the TRLTE, TBLTE and DUOS devices, all of those builds will be compatible with dualboot patcher.
So, one more thing. There are limitations to what you can install with DualBoot Patcher. Most things are easy to get around, though.
1) Flashable zip's that use Aroma installer might not change their behavior after being patched, and might install to your primary ROM slot anyway. Just something to be aware of.
2) Any flashable zip that has a custom script for updater-binary will fail to flash after being patched. For example, all the MicroG installers that I know of use custom scripts instead of the real updater-binary.
3) you cannot install a patched Magisk zip. But, you can install the Magisk Manager in your ROM, tap the install button (and the next install button that shows up), choose "Select and Patch a file", then choose the boot image from the Multiboot folder on your internal storage (/sdcard). It will patch the boot image and leave a file called "magisk_patched.img" in your Download folder on the internal storage (/sdcard). Use TWRP to flash this file to your boot partition, then reboot. Open DualBoot Patcher, tap the 3-dot button next to the ROM name, and tap "Set Kernel" to replace the saved boot image with the Magisk patched boot image. Note: if you accidentally
4) Magisk doesn't do much. You can use it to grant superuser permissions, but modules only work on the primary ROM.
5) custom kernels probably include their own dtb files. Flashpoint is an example of this. You may have to update the zip to remove the existing dtb file and add one of the files attached to OP. Make sure you rename it to match the original name in the zip file.
I set up my primary ROM per the above instructions, installed it, and I am trying to get my secondary rom installed. Do I need to set it up the same way (it is a 7.1.2 rom). When I patch it (7.1.2) through Dual Boot and try to flash it I get the following error.... " Failed to create temporary image /raw/data/.system.img.tmp" and it fails to flash. I've tried setting it both as secondary and in slot 1.... Any help would be appreciated... Hopefully I am just missing something simple.
rickpub said:
I set up my primary ROM per the above instructions, installed it, and I am trying to get my secondary rom installed. Do I need to set it up the same way (it is a 7.1.2 rom). When I patch it (7.1.2) through Dual Boot and try to flash it I get the following error.... " Failed to create temporary image /raw/data/.system.img.tmp" and it fails to flash. I've tried setting it both as secondary and in slot 1.... Any help would be appreciated... Hopefully I am just missing something simple.
Click to expand...
Click to collapse
What Rom are you trying to flash? Do you have enough space available on system or cache to flash that Rom? If not, try patching it for a data slot instead.
thanks
why when i do this the rom that have modified wont turn wifi on ?
n910f
i try it on linageos pie and havocos 2.8 and both have same issue after doing this solution
samdakid said:
thanks
why when i do this the rom that have modified wont turn wifi on ?
n910f
i try it on linageos pie and havocos 2.8 and both have same issue after doing this solution
Click to expand...
Click to collapse
That's really odd. Maybe I need to update the dtb images here. I will try to do that this weekend.
Would love to try this out

Quick magisk and twrp installer/restore executables beta2 and 10.3.8 Oxygen OSs

I Made both a fold with. Bat executable files to double click on and install boot.img files that have twrp and magisk preinstalled. Also a secondary executable that copy both magisk2.1.4 and a orangefox recovery zip files to your phone once in recovery or adb mode.
Just made them as quick installers and restoring root on The phone.
Installation
1. Extract zip file.
2. Goto bootloader mode or recovery mode. (bootloader mode to install root/twrp and recovery mode to send files to your phone.)
3. Just goto the folder and execute either. Bat files you want.
Enjoy
10.3.8
Beta2
{Mod edit: Links removed}
spheady said:
I Made both a fold with. Bat executable files to double click on and install boot.img files that have twrp and magisk preinstalled. Also a secondary executable that copy both magisk2.1.4 and a orangefox recovery zip files to your phone once in recovery or adb mode.
Just made them as quick installers and restoring root on The phone.
Installation
1. Extract zip file.
2. Goto bootloader mode or recovery mode. (bootloader mode to install root/twrp and recovery mode to send files to your phone.)
3. Just goto the folder and execute either. Bat files you want.
Enjoy
10.3.8
Beta2
Click to expand...
Click to collapse
Is this for oos 11 beta 2
spheady said:
Yeah. It just installs the Open beta 2 boot. Img with a batch file inside the folder i made. Make sure you don't run the other version I made for oxygen 10.3.8. Theirs another batch file I also included witch sends the orangefox recovery and a magisk zip file. It should help ad I just tested today before uploading it to my mega. Nz cloud.
Click to expand...
Click to collapse
Ok so i tried this last night it does install the orangefox recovery but still cant boot recovery without getting stuck on the screen flashing so i just flashed my own patched boot.img do you have a working recovery on your device
if so can you help me get it to flash to y device im on beta2 gm1917 8gb 256gb
I'd advise against using this. I received a virus message for Troj/Agent-ABZF.
@spheady THREAD CLOSED pending investigation! Download links removed.
Downloads checked by VirusTotal:
VirusTotal
VirusTotal
www.virustotal.com
VirusTotal
VirusTotal
www.virustotal.com
Please contact me or any other moderator and explain how these results are possible!

Development [Kernel] [Android 11] M32

physwizz M325f R kernel version 1
For testing
Mediatek MT6769V/CU Helio G80
For OneUI 3.1
( also works for GSIs)
Samsung securities disabled
Optimised for performance
lz4 default compression added to zram
Installation
Post2
Kernel
physwizz - Repositories
physwizz has 172 repositories available. Follow their code on GitHub.
github.com
@physwizz
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 (if available)
Install kernel zip
Wipe both caches
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
Physwizz Collection
Install from magisk modules Use rootexplorer to access /data/local/AIK-MOBILE Add boot.img or recovery.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
t.me
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

Development Custom kernel for a336b

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.
Custom kernel for a336b
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...
forum.xda-developers.com
Installation
Post 2
Kernel source code
physwizz - Repositories
physwizz has 172 repositories available. Follow their code on GitHub.
github.com
@physwizz
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
did anyone try this kernel?
lnwbas569 said:
Can I install this kernel with "A336E" while im using GSI custom rom?
Click to expand...
Click to collapse
Yes
lnwbas569 said:
Can you make a33 5g kernel android 13 oneUi 5.0 version? Also Im facing touchscreen jittering issue on my a336e while playing games, could you fix that with making custom kernel?
Click to expand...
Click to collapse
I'll add it to my list
lnwbas569 said:
Appreciate it @physwizz
Click to expand...
Click to collapse
Done.
lnwbas569 said:
Btw, right now I don't have installed stable TWRP recovery in my device. Is there anyway to install this kernel like other ways?
Click to expand...
Click to collapse
See post #2
lnwbas569 said:
Just tried method 2. It said "No Ramdisk found to unpack. Aborting..."
Click to expand...
Click to collapse
Hmm
lnwbas569 said:
Just tried method 2. It said "No Ramdisk found to unpack. Aborting..."
Click to expand...
Click to collapse
Try this one
physwizz said:
Try this one
Click to expand...
Click to collapse
Does this kernel fixes touch problems and does it fully unlock 90 fps on games like PUBG?
also can I use Magisk to flash it instead?
physwizz said:
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
Click to expand...
Click to collapse
nvm i rooted it with magisk
Does this kernel have SELinux in permissive mode?​
Aterax said:
Does this kernel have SELinux in permissive mode?​
Click to expand...
Click to collapse
No
physwizz said:
No
can you build boot with permissive mode?
Click to expand...
Click to collapse
What app should I use for overclocking
Sorry for the signature with a youtube video, I must have pasted it accidentally
anirudhts said:
What app should I use for overclocking
Sorry for the signature with a youtube video, I must have pasted it accidentally
Click to expand...
Click to collapse
Hktweaks
Thanks
I got the same error. I tried both zips.
i_print No ramdisk found to unpack. Aborting...
ui_print
Flashing exists with code 1
anirudhts said:
I got the same error. I tried both zips.
i_print No ramdisk found to unpack. Aborting...
ui_print
Flashing exists with code 1
Click to expand...
Click to collapse
Try this one
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

Categories

Resources