physwizz_a236b_T_u4-kernel-v2.zip
18.6 MB
A236b kernel u4
Qualcomm SM6375 Snapdragon 695
Android 13
For testing
Samsung securities disabled
- Defex
- Dm_verity
- Integrity
Installation
https://t.iss.one/physwizz2/454
===========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
Qualcomm SM6375 Snapdragon 695
Android 13
For testing
Samsung securities disabled
- Defex
- Dm_verity
- Integrity
Installation
https://t.iss.one/physwizz2/454
===========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
Patched-Recovery-a145m.zip
39.5 MB
A145m patched-recovery
Exynos 850
stock recovery.img patched for fastbootd.
Installation Instructions
https://t.iss.one/physwizz2/843
@physwizz
Exynos 850
stock recovery.img patched for fastbootd.
Installation Instructions
https://t.iss.one/physwizz2/843
@physwizz
M146b-twrp-v2.zip
35.7 MB
M146B M146M TWRP
M14 5g Exynos 1330
Android 13 u1 u2
For testing
Installation Instructions
https://t.iss.one/a127f_res/142
Device Tree and kernel Image
https://github.com/physwizz?tab=repositories
@physwizz
M14 5g Exynos 1330
Android 13 u1 u2
For testing
Installation Instructions
https://t.iss.one/a127f_res/142
Device Tree and kernel Image
https://github.com/physwizz?tab=repositories
@physwizz
PHYSWIZZ STUFF
Guides
https://t.iss.one/physwizz2/242
Kernels Exynos
https://t.iss.one/physwizz2/240
Kernels Mediatek & Unisoc
https://t.iss.one/physwizz2/545
Kernels Snapdragon
https://t.iss.one/physwizz2/593
Kernels AOSP
https://t.iss.one/physwizz2/648
ROMs & Mods
https://t.iss.one/physwizz2/243
Kernel Building
https://t.iss.one/physwizz2/241
TWRPs & other Recoveries
https://t.iss.one/physwizz2/707
Discussion Group
https://t.iss.one/physwizz3
A12s & m12 resources channel
https://t.iss.one/a127f_res
Exynos 850 development
https://t.iss.one/a12schat
Galaxy A14
https://t.iss.one/physwizz2/780
Xda collection
https://forum.xda-developers.com/t/physwizz-collection.4253081/
Exynos 850 Resources
https://forum.xda-developers.com/t/exynos-850-resources.4546963/
@physwizz
Time Zone: GMT +10
Guides
https://t.iss.one/physwizz2/242
Kernels Exynos
https://t.iss.one/physwizz2/240
Kernels Mediatek & Unisoc
https://t.iss.one/physwizz2/545
Kernels Snapdragon
https://t.iss.one/physwizz2/593
Kernels AOSP
https://t.iss.one/physwizz2/648
ROMs & Mods
https://t.iss.one/physwizz2/243
Kernel Building
https://t.iss.one/physwizz2/241
TWRPs & other Recoveries
https://t.iss.one/physwizz2/707
Discussion Group
https://t.iss.one/physwizz3
A12s & m12 resources channel
https://t.iss.one/a127f_res
Exynos 850 development
https://t.iss.one/a12schat
Galaxy A14
https://t.iss.one/physwizz2/780
Xda collection
https://forum.xda-developers.com/t/physwizz-collection.4253081/
Exynos 850 Resources
https://forum.xda-developers.com/t/exynos-850-resources.4546963/
@physwizz
Time Zone: GMT +10
Telegram
Physwizz Collection
INDEX: GUIDES from physwizz
About me
https://t.iss.one/physwizz2/2
Apatch
https://t.iss.one/ex850chat/64527
Repository
https://github.com/bmax121/APatch
Guide
https://t.iss.one/physwizz3/74835
My First PC
https://t.iss.one/physwizz2/901
My Management Plan
https://t.iss.one/physwizz2/367…
About me
https://t.iss.one/physwizz2/2
Apatch
https://t.iss.one/ex850chat/64527
Repository
https://github.com/bmax121/APatch
Guide
https://t.iss.one/physwizz3/74835
My First PC
https://t.iss.one/physwizz2/901
My Management Plan
https://t.iss.one/physwizz2/367…
a035-twrp-v5.tar
38.4 MB
A035f TWRP v5
Unisoc T606
Mtp added
Multidisabler added
Extra partitions
U4 physwizz Custom kernel added
Touch not working
Installation Instructions
https://t.iss.one/a127f_res/142
@physwizz
Unisoc T606
Mtp added
Multidisabler added
Extra partitions
U4 physwizz Custom kernel added
Touch not working
Installation Instructions
https://t.iss.one/a127f_res/142
@physwizz
❤1
physwizz_A042f-T-kernel-s3-v2.zip
13.4 MB
A04e (SM-A042) kernel s3 v2
Mediatek MT6765 Helio P35
Android 13
Disabled
-Defex
-Dm_verity
Installation
https://t.iss.one/physwizz2/454
Kernel source code
https://github.com/physwizz?tab=repositories
@physwizz
Mediatek MT6765 Helio P35
Android 13
Disabled
-Defex
-Dm_verity
Installation
https://t.iss.one/physwizz2/454
Kernel source code
https://github.com/physwizz?tab=repositories
@physwizz
physwizz_A045f-T-kernel-u1-v1.zip
14.1 MB
A04 (SM-A045) kernel u1 v1
Mediatek MT6765 Helio P35
Android 13
Bugs
Installation
https://t.iss.one/physwizz2/454
Kernel source code
https://github.com/physwizz?tab=repositories
@physwizz
Mediatek MT6765 Helio P35
Android 13
Bugs
Installation
https://t.iss.one/physwizz2/454
Kernel source code
https://github.com/physwizz?tab=repositories
@physwizz
physwizz_A525-T-u6-v1.zip
20.3 MB
A525 kernel u6 v1
Qualcomm SM7125 Snapdragon 720G
Android 13
Installation
https://t.iss.one/physwizz2/454
Kernel source code
https://github.com/physwizz?tab=repositories
@physwizz
Qualcomm SM7125 Snapdragon 720G
Android 13
Installation
https://t.iss.one/physwizz2/454
Kernel source code
https://github.com/physwizz?tab=repositories
@physwizz
physwizz_M236b-T-s4-v1.zip
20.8 MB
physwizz M236B kernel
Android 13 S4 version 1
Qualcomm SM7225 Snapdragon 750G 5G
For OneUI 5.1
(May also work for GSIs)
Samsung securities NOT disabled
Bugs:
Sound missing on GSI with Magisk
Doesn't boot on OneUI
Installation
https://t.iss.one/physwizz2/454
Kernel source code
https://github.com/physwizz?tab=repositories
@physwizz
Android 13 S4 version 1
Qualcomm SM7225 Snapdragon 750G 5G
For OneUI 5.1
(May also work for GSIs)
Samsung securities NOT disabled
Bugs:
Sound missing on GSI with Magisk
Doesn't boot on OneUI
Installation
https://t.iss.one/physwizz2/454
Kernel source code
https://github.com/physwizz?tab=repositories
@physwizz
Patched-Recovery-m022.zip
19.8 MB
M022
Mediatek MT6739W
stock recovery.img patched for fastbootd.
Installation Instructions
https://t.iss.one/physwizz2/843
@physwizz
Mediatek MT6739W
stock recovery.img patched for fastbootd.
Installation Instructions
https://t.iss.one/physwizz2/843
@physwizz
m526b-kernel-boot.tar
41.3 MB
M526b u2 kernel
Qualcomm SM7325 Snapdragon 778G
Flash from odin
Bugs on OneUI
?
Bugs on Ponces ROM
1-touch doesn't work
2-wifi doesn't work
3-flashlight doesn't work
4- camera doesn't work
Kernel source code
https://github.com/physwizz?tab=repositories
@physwizz
Qualcomm SM7325 Snapdragon 778G
Flash from odin
Bugs on OneUI
?
Bugs on Ponces ROM
1-touch doesn't work
2-wifi doesn't work
3-flashlight doesn't work
4- camera doesn't work
Kernel source code
https://github.com/physwizz?tab=repositories
@physwizz
Patched-Recovery-a045.zip
24.8 MB
A045
Mediatek MT6765 Helio P35
stock recovery.img patched for fastbootd.
Installation Instructions
https://t.iss.one/physwizz2/843
@physwizz
Mediatek MT6765 Helio P35
stock recovery.img patched for fastbootd.
Installation Instructions
https://t.iss.one/physwizz2/843
@physwizz
❤1
physwizz_A127-T-u9_kernel-permissive.zip
18.5 MB
A127f u9 permissive kernel
Exynos 850
permissive
More CPU governors
On-demand, Userspace, powersave, performance, energy_step, shedutil
Optimised for performance
Overclocked for performance
Underclocked for battery
CPU: 130MHz - 2210MHz
lz4 default compression added to zram
Extra I/O scheduler
Installation
https://t.iss.one/physwizz2/454
Kernel Source Code
https://github.com/physwizz?tab=repositories
===========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
Exynos 850
permissive
More CPU governors
On-demand, Userspace, powersave, performance, energy_step, shedutil
Optimised for performance
Overclocked for performance
Underclocked for battery
CPU: 130MHz - 2210MHz
lz4 default compression added to zram
Extra I/O scheduler
Installation
https://t.iss.one/physwizz2/454
Kernel Source Code
https://github.com/physwizz?tab=repositories
===========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
a04-twrp-build1.tar
37 MB
A045 twrp build1
Mediatek MT6765 Helio P35
No touch.
Use a mouse
Installation Instructions
https://t.iss.one/a127f_res/142
========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
Mediatek MT6765 Helio P35
No touch.
Use a mouse
Installation Instructions
https://t.iss.one/a127f_res/142
========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
m526b-u2-kernel-v2.tar
41.1 MB
M526b u2 kernel v2
Qualcomm SM7325 Snapdragon 778G
Disabled
- Defex
- Dm_verity
- Integrity
========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
Qualcomm SM7325 Snapdragon 778G
Disabled
- Defex
- Dm_verity
- Integrity
========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
PHYSWIZZ STUFF
Guides
https://t.iss.one/physwizz2/242
Kernels Exynos
https://t.iss.one/physwizz2/240
Kernels Mediatek & Unisoc
https://t.iss.one/physwizz2/545
Kernels Snapdragon
https://t.iss.one/physwizz2/593
Kernels AOSP
https://t.iss.one/physwizz2/648
ROMs & Mods
https://t.iss.one/physwizz2/243
Kernel Building
https://t.iss.one/physwizz2/241
TWRPs & other Recoveries
https://t.iss.one/physwizz2/707
Discussion Group
https://t.iss.one/physwizz3
A12s & m12 resources channel
https://t.iss.one/a127f_res
Exynos 850 development
https://t.iss.one/a12schat
Galaxy A14
https://t.iss.one/physwizz2/780
Xda collection
https://forum.xda-developers.com/t/physwizz-collection.4253081/
Exynos 850 Resources
https://forum.xda-developers.com/t/exynos-850-resources.4546963/
@physwizz
Time Zone: GMT +10
Guides
https://t.iss.one/physwizz2/242
Kernels Exynos
https://t.iss.one/physwizz2/240
Kernels Mediatek & Unisoc
https://t.iss.one/physwizz2/545
Kernels Snapdragon
https://t.iss.one/physwizz2/593
Kernels AOSP
https://t.iss.one/physwizz2/648
ROMs & Mods
https://t.iss.one/physwizz2/243
Kernel Building
https://t.iss.one/physwizz2/241
TWRPs & other Recoveries
https://t.iss.one/physwizz2/707
Discussion Group
https://t.iss.one/physwizz3
A12s & m12 resources channel
https://t.iss.one/a127f_res
Exynos 850 development
https://t.iss.one/a12schat
Galaxy A14
https://t.iss.one/physwizz2/780
Xda collection
https://forum.xda-developers.com/t/physwizz-collection.4253081/
Exynos 850 Resources
https://forum.xda-developers.com/t/exynos-850-resources.4546963/
@physwizz
Time Zone: GMT +10
Telegram
Physwizz Collection
INDEX: GUIDES from physwizz
About me
https://t.iss.one/physwizz2/2
Apatch
https://t.iss.one/ex850chat/64527
Repository
https://github.com/bmax121/APatch
Guide
https://t.iss.one/physwizz3/74835
My First PC
https://t.iss.one/physwizz2/901
My Management Plan
https://t.iss.one/physwizz2/367…
About me
https://t.iss.one/physwizz2/2
Apatch
https://t.iss.one/ex850chat/64527
Repository
https://github.com/bmax121/APatch
Guide
https://t.iss.one/physwizz3/74835
My First PC
https://t.iss.one/physwizz2/901
My Management Plan
https://t.iss.one/physwizz2/367…
physwizz_M236b-T-s4-v2.zip
20.8 MB
physwizz M236B kernel
Android 13 S4 version 2
Qualcomm SM7225 Snapdragon 750G 5G
For OneUI 5.1
(May also work for GSIs)
Samsung securities disabled
Defex
Dm_verity
Integrity
Bugs:
Doesn't boot on OneUI
Sound issue in GSIs
Installation
https://t.iss.one/physwizz2/454
Kernel source code
https://github.com/physwizz?tab=repositories
========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
Android 13 S4 version 2
Qualcomm SM7225 Snapdragon 750G 5G
For OneUI 5.1
(May also work for GSIs)
Samsung securities disabled
Defex
Dm_verity
Integrity
Bugs:
Doesn't boot on OneUI
Sound issue in GSIs
Installation
https://t.iss.one/physwizz2/454
Kernel source code
https://github.com/physwizz?tab=repositories
========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
physwizz_A032m-u2-S-kernel.zip
9.5 MB
A032m kernel u2
Unisoc SC9863A
Android 12
For testing
Installation
https://t.iss.one/physwizz2/454
===========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
Unisoc SC9863A
Android 12
For testing
Installation
https://t.iss.one/physwizz2/454
===========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
PHYSWIZZ STUFF
Guides
https://t.iss.one/physwizz2/242
Kernels Exynos
https://t.iss.one/physwizz2/240
Kernels Mediatek & Unisoc
https://t.iss.one/physwizz2/545
Kernels Snapdragon
https://t.iss.one/physwizz2/593
Kernels AOSP
https://t.iss.one/physwizz2/648
ROMs & Mods
https://t.iss.one/physwizz2/243
Kernel Building
https://t.iss.one/physwizz2/241
TWRPs & other Recoveries
https://t.iss.one/physwizz2/707
Discussion Group
https://t.iss.one/physwizz3
A12s & m12 resources channel
https://t.iss.one/a127f_res
Exynos 850 development
https://t.iss.one/a12schat
Galaxy A14
https://t.iss.one/physwizz2/780
Xda collection
https://forum.xda-developers.com/t/physwizz-collection.4253081/
Exynos 850 Resources
https://forum.xda-developers.com/t/exynos-850-resources.4546963/
@physwizz
Time Zone: GMT +10
Guides
https://t.iss.one/physwizz2/242
Kernels Exynos
https://t.iss.one/physwizz2/240
Kernels Mediatek & Unisoc
https://t.iss.one/physwizz2/545
Kernels Snapdragon
https://t.iss.one/physwizz2/593
Kernels AOSP
https://t.iss.one/physwizz2/648
ROMs & Mods
https://t.iss.one/physwizz2/243
Kernel Building
https://t.iss.one/physwizz2/241
TWRPs & other Recoveries
https://t.iss.one/physwizz2/707
Discussion Group
https://t.iss.one/physwizz3
A12s & m12 resources channel
https://t.iss.one/a127f_res
Exynos 850 development
https://t.iss.one/a12schat
Galaxy A14
https://t.iss.one/physwizz2/780
Xda collection
https://forum.xda-developers.com/t/physwizz-collection.4253081/
Exynos 850 Resources
https://forum.xda-developers.com/t/exynos-850-resources.4546963/
@physwizz
Time Zone: GMT +10
Telegram
Physwizz Collection
INDEX: GUIDES from physwizz
About me
https://t.iss.one/physwizz2/2
Apatch
https://t.iss.one/ex850chat/64527
Repository
https://github.com/bmax121/APatch
Guide
https://t.iss.one/physwizz3/74835
My First PC
https://t.iss.one/physwizz2/901
My Management Plan
https://t.iss.one/physwizz2/367…
About me
https://t.iss.one/physwizz2/2
Apatch
https://t.iss.one/ex850chat/64527
Repository
https://github.com/bmax121/APatch
Guide
https://t.iss.one/physwizz3/74835
My First PC
https://t.iss.one/physwizz2/901
My Management Plan
https://t.iss.one/physwizz2/367…
Building a Kernel for Beginners
=========================
Summary
1. Download source code
2. Expand to folder
3. Push to github.com
4. Modify (add changes and cherry-picks)
5. Push changes to github.com
6. Compile kernel
7. Add Image file to boot.img or add to zip installer
Requirements
---------------------
You need a PC with Linux
I use mint mate on virtual box external SSD from my iMac
0. Setup Linux
---------------------
Open terminal
sudo apt update
sudo apt upgrade
sudo apt-get install git-all aptitude make gcc
sudo apt install python-is-python3 build-essential openssl pip
# Increase linux swapfile size (works best on SSD)
sudo swapoff -a
sudo dd if=/dev/zero of=/swapfile bs=1G count=8
sudo mkswap /swapfile
sudo swapon /swapfile
free -m
# install python 2
pip install virtualenv
export PATH=$PATH:/home/<your@name>/.local/bin
apt install python3-virtualenv
sudo apt install python2.7
sudo apt install openssl
sudo aptitude install libssl-dev
sudo apt-get install libtinfo5
# install repo
mkdir -p ~/.bin
PATH="${HOME}/.bin:${PATH}"
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
chmod a+rx ~/.bin/repo
1. Download the Source Code
-------------------------------------------- (https://opensource.samsung.com/main)
Search for your device
Extract the kernel.tar.7z
extract into "Kernel" folder
2. Setup toolchains
------------------------------
Follow the instructions in README_kernel.txt
Also look at build_kernel.sh and makefile for toolchain information
(Search for CROSS_COMPILE for gcc and CC for clang)
Search github.com and download the correct toolchains if they're not already in the toolchain folder
Here are a few examples
https://github.com/physwizz/toolchain_cross-compile
Or
https://github.com/physwizz/compiler
Or
https://github.com/physwizz/A217m-S-SB/tree/main/toolchain
You might need to put gcc toolchain outside the kernel folder
Eg
/home/<user>/toolchains
3. Set up GitHub
------------------------
See this guide
https://t.iss.one/physwizz2/10
Create new repo on GitHub.com
Like this one
https://github.com/physwizz/New
Copy the text section "or create a new repository on the command line"
Something like this
echo "# New" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin [email protected]:physwizz/New.git
git push -u origin main
Open Terminal In The Kernel Folder
Paste the section from github
Type
git add --all
git commit -a
Type "initial"
Ctrl o
Ctrl x
git push origin main -f
4. Kernel Building
---------------------------
1. open the defconfig file with text editor located at
/home/<user>/Kernel/arch/arm64/configs/<your_device>_defconfig
You can make a copy of this file and call it original_defconfig
Make these changes
CONFIG_LOCALVERSION="-<user>"
# CONFIG_LOCALVERSION_AUTO is not set
# CONFIG_CC_STACKPROTECTOR_STRONG is not set
# CONFIG_SECURITY_DEFEX is not set
# CONFIG_PROCA is not set
# CONFIG_DM_VERITY is not set
# CONFIG_INTEGRITY is not set
# CONFIG_INTEGRITY_SIGNATURE is not set
# CONFIG_INTEGRITY_ASYMMETRIC_KEYS is not set
# CONFIG_INTEGRITY_AUDIT is not set
CONFIG_KERNEL_GZIP=y
Configures Output of Image.gz
For further changes see my GitHub
https://github.com/physwizz
cd Kernel
./build_kernel.sh
If you get python errors you might need to use python 2
https://t.iss.one/physwizz2/424
3. Output is found in /home/<user>/Kernel/arch/arm64/boot
4. Copy Image from boot folder and Insert it into the MyKernel.zip
5. Extract Version and AnyKernel.sh and edit it then reinsert.
Use folder name found in
/dev/block/platform
You could also use AIK to insert the kernel into boot.img
Note: if it doesn't build and you can't see the error message, delete the -j** from the build script
To check for boot errors look at
proc/last_kmsg
Note:
For Apatch kallsyms enabled
@physwizz
=========================
Summary
1. Download source code
2. Expand to folder
3. Push to github.com
4. Modify (add changes and cherry-picks)
5. Push changes to github.com
6. Compile kernel
7. Add Image file to boot.img or add to zip installer
Requirements
---------------------
You need a PC with Linux
I use mint mate on virtual box external SSD from my iMac
0. Setup Linux
---------------------
Open terminal
sudo apt update
sudo apt upgrade
sudo apt-get install git-all aptitude make gcc
sudo apt install python-is-python3 build-essential openssl pip
# Increase linux swapfile size (works best on SSD)
sudo swapoff -a
sudo dd if=/dev/zero of=/swapfile bs=1G count=8
sudo mkswap /swapfile
sudo swapon /swapfile
free -m
# install python 2
pip install virtualenv
export PATH=$PATH:/home/<your@name>/.local/bin
apt install python3-virtualenv
sudo apt install python2.7
sudo apt install openssl
sudo aptitude install libssl-dev
sudo apt-get install libtinfo5
# install repo
mkdir -p ~/.bin
PATH="${HOME}/.bin:${PATH}"
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
chmod a+rx ~/.bin/repo
1. Download the Source Code
-------------------------------------------- (https://opensource.samsung.com/main)
Search for your device
Extract the kernel.tar.7z
extract into "Kernel" folder
2. Setup toolchains
------------------------------
Follow the instructions in README_kernel.txt
Also look at build_kernel.sh and makefile for toolchain information
(Search for CROSS_COMPILE for gcc and CC for clang)
Search github.com and download the correct toolchains if they're not already in the toolchain folder
Here are a few examples
https://github.com/physwizz/toolchain_cross-compile
Or
https://github.com/physwizz/compiler
Or
https://github.com/physwizz/A217m-S-SB/tree/main/toolchain
You might need to put gcc toolchain outside the kernel folder
Eg
/home/<user>/toolchains
3. Set up GitHub
------------------------
See this guide
https://t.iss.one/physwizz2/10
Create new repo on GitHub.com
Like this one
https://github.com/physwizz/New
Copy the text section "or create a new repository on the command line"
Something like this
echo "# New" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin [email protected]:physwizz/New.git
git push -u origin main
Open Terminal In The Kernel Folder
Paste the section from github
Type
git add --all
git commit -a
Type "initial"
Ctrl o
Ctrl x
git push origin main -f
4. Kernel Building
---------------------------
1. open the defconfig file with text editor located at
/home/<user>/Kernel/arch/arm64/configs/<your_device>_defconfig
You can make a copy of this file and call it original_defconfig
Make these changes
CONFIG_LOCALVERSION="-<user>"
# CONFIG_LOCALVERSION_AUTO is not set
# CONFIG_CC_STACKPROTECTOR_STRONG is not set
# CONFIG_SECURITY_DEFEX is not set
# CONFIG_PROCA is not set
# CONFIG_DM_VERITY is not set
# CONFIG_INTEGRITY is not set
# CONFIG_INTEGRITY_SIGNATURE is not set
# CONFIG_INTEGRITY_ASYMMETRIC_KEYS is not set
# CONFIG_INTEGRITY_AUDIT is not set
CONFIG_KERNEL_GZIP=y
Configures Output of Image.gz
For further changes see my GitHub
https://github.com/physwizz
cd Kernel
./build_kernel.sh
If you get python errors you might need to use python 2
https://t.iss.one/physwizz2/424
3. Output is found in /home/<user>/Kernel/arch/arm64/boot
4. Copy Image from boot folder and Insert it into the MyKernel.zip
5. Extract Version and AnyKernel.sh and edit it then reinsert.
Use folder name found in
/dev/block/platform
You could also use AIK to insert the kernel into boot.img
Note: if it doesn't build and you can't see the error message, delete the -j** from the build script
To check for boot errors look at
proc/last_kmsg
Note:
For Apatch kallsyms enabled
@physwizz
❤3
physwizz_A032m-u2-S-v2-kernel.zip
9.4 MB
A032m kernel u2 v2
Unisoc SC9863A
Android 12
Boots with GSIs
Samsung securities removed
Installation
https://t.iss.one/physwizz2/454
===========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz
Unisoc SC9863A
Android 12
Boots with GSIs
Samsung securities removed
Installation
https://t.iss.one/physwizz2/454
===========================
A12s Channel: https://t.iss.one/a127f_res
A12s group: https://t.iss.one/a12schat
Physwizz group: https://t.iss.one/physwizz3
Physwizz Channel: https://t.iss.one/physwizz2
@physwizz