Physwizz Collection
4.09K subscribers
38 photos
651 files
809 links
Guides, kernels and hints for the Samsung a-series
Download Telegram
physwizz_A725f-U-s8-v1-kernel.zip
20.3 MB
A725f kernel
Qualcomm SM7125 Snapdragon 720G

Android 14
S8 binary


Installation
https://t.iss.one/physwizz2/454


Kernel source
https://github.com/physwizz?tab=repositories

@physwizz
physwizz_A225f-T-s9-v1-kernel.zip
15.4 MB
A225f kernel
MT6769 Helio G80
Android 13 v1

For testing

Installation
https://t.iss.one/physwizz2/454


Kernel source
https://github.com/physwizz?tab=repositories

@physwizz
physwizz_A225f-T-s9-v2-kernel.zip
15.4 MB
A225f kernel
MT6769 Helio G80
Android 13 v2

For testing

se-linux switchable
Defex disabled
Proca disabled
Integrity disabled
Modules force load

Installation
https://t.iss.one/physwizz2/454


Kernel source
https://github.com/physwizz?tab=repositories

@physwizz
physwizz_M315f-S-u4-v2-kernel.zip
12.9 MB
physwizz M315f S u4 kernel v2
Exynos 9611 

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
Lz4 default compression in zram

CPU:
Big 936 MHz - 2496MHz
Little  403MHz - 2054MHz

Bug
Little throttled at 1742MHz

Installation
https://t.iss.one/physwizz2/454


Kernel source
https://github.com/physwizz?tab=repositories

@physwizz
physwizz_M315f-S-u4-v4-kernel.zip
12.9 MB
physwizz M315f S u4 kernel v4
Exynos 9611 

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
Lz4 default compression in zram

CPU:
Big 936 MHz - 2496MHz
Little  403MHz - 2054MHz


Bug
Little throttled at 1742MHz

Installation
https://t.iss.one/physwizz2/454


Kernel source
https://github.com/physwizz?tab=repositories

@physwizz
physwizz_A346e-U-s7-v4-kernel.zip
14.7 MB
A346e kernel
S7 v4
Android 14
Mediatek Dimensity 1080 

Built with gcc 10

Selinux togglable
Defex disabled
Proca disabled
Integrity disabled
Modules force load

Bugs
WiFi and Bluetooth

Installation
https://t.iss.one/physwizz2/454


Kernel source
https://github.com/physwizz?tab=repositories

@physwizz
physwizz_M317f-S-s6-kernel.zip
12.8 MB
physwizz M317f S s6 kernel
Exynos 9611 

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
Lz4 default compression in zram

CPU:
Big 936 MHz - 2496MHz
Little  403MHz - 2054MHz

Bug
?

Installation
https://t.iss.one/physwizz2/454


Kernel source
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
A12 group
https://t.iss.one/a125group

@physwizz
physwizz_T500-T505-S-s6-kernel.zip
16.8 MB
T500 T505 T505n Kernel
Galaxy Tab A7 10.4
Qualcomm SM6115 Snapdragon 662
Android 12
Enforcing

Bugs:
Microphone
Speakers
Rotation
Wi-Fi
Access Point
Screen Recording
Memory Card Not Working

Installation
https://t.iss.one/physwizz2/454


Kernel source
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
A125 group
https://t.iss.one/a125group

@physwizz
physwizz_T500-T505-S-s6-perm-kernel.zip
16.8 MB
T500 T505 T505n Kernel
Galaxy Tab A7 10.4
Qualcomm SM6115 Snapdragon 662
Android 12
Permissive

Bugs:
?

Installation
https://t.iss.one/physwizz2/454


Kernel source
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
A125 group
https://t.iss.one/a125group

@physwizz
physwizz_M346B-U-s5-kernel.zip
16.9 MB
M346b kernel
Exynos 1280
Android 14 s5

For testing

Installation
https://t.iss.one/physwizz2/454


Kernel source
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
A125 group
https://t.iss.one/a125group
a06-physwizz-root-u1-boot.tar
30.4 MB
A065f kernel
Mediatek Helio G85
Android 14

Patched for root

Flash tar into ap slot from odin

Installation
https://t.iss.one/physwizz2/454


Kernel source
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
A125 group
https://t.iss.one/a125group

@physwizz
M536b-s7-v2p-twrp.tar
49.3 MB
M536 twrp v2p
Mediatek Dimensity 900

For testing

Permissive kernel added

Installation
https://t.iss.one/a127f_res/142

source
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
A125 group
https://t.iss.one/a125group

@physwizz
physwizz_E225f-T-sa-kernel.zip
15.4 MB
F22 4g kernel
Android 13 binary 10 (A)
Mediatek MT6769V/CU Helio G80 


Selinux togglable
Defex disabled
Proca disabled
Integrity disabled
Modules force load

Bugs:
Wifi not working
Bluetooth not working

Installation
https://t.iss.one/physwizz2/454


Kernel source
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
A125 group
https://t.iss.one/a125group
m356b-twrp-sign.tar
96 MB
M356b twrp
Exynos 1380

For testing

Installation
https://t.iss.one/a127f_res/142

source
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
A125 group
https://t.iss.one/a125group

@physwizz
Wifi fix in custom kernels
====================
(Work in Progress)

It appears that the method varies from one device to another.

Any further guides would be appreciated.

For Mediatek
============

Method 1 from various sources
----------------
1. Find the modules (.ko files)
Look in
vendor/lib/modules
Or
vendor_boot/lib/modules
Or
vendor_dlkm/lib/modules

2. Copy these files onto the pc

3. Add them to the drivers/misc/mediatek/connectivity folder

Samsung usually ships the module source in the Platform.tar.gz, extract and move it to drivers/misc/mediatek/connectivity

4. In the defconfig make modules force load
CONFIG_MODULES=y
CONFIG_MODULE_FORCE_LOAD=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y

5. Edit
drivers/misc/mediatek/connectivity/makefile
And
drivers/misc/mediatek/connectivity/Kconfig

Then

Makefile TOP variable change:
https://github.com/rsuntk/android_kernel_samsung_a10s-r/blob/android-4.19-stable/drivers/misc/mediatek/connectivity/wlan/core/gen4m/Makefile#L226

Force inline for fmradio and gps:
https://github.com/rsuntk/android_kernel_samsung_a10s-r/blob/android-4.19-stable/drivers/misc/mediatek/connectivity/wlan/core/gen4m/Makefile#L423
https://github.com/rsuntk/android_kernel_samsung_a10s-r/blob/android-4.19-stable/drivers/misc/mediatek/connectivity/wlan/core/gen4m/include/config.h#L730

Method 2 From @TakuruKagami1
----------------
exclude fm and gps from drivers/misc/mediatek/connectivity/makefile

#obj-y += fm/
#obj-y += gps/
(This method works for arm devices. )

Method 3 rsuntk
----------------

https://github.com/rsuntkOrgs/mtk_connectivity_module/

For 4.19
========

1. Remove the contents of drivers/misc/mediatek/connectivity

2. Copy the files from https://github.com/rsuntkOrgs/mtk_connectivity_module to drivers/misc/mediatek/connectivity

3. Build the Kernel

» Note: The driver currently only support 4.19 kernel, and only support mt6768 and mt6765 platform (tested on A055F, A045F, and A042F)

For 4.14
=======
Updated.
quick update command:
rm -rf drivers/misc/mediatek/connectivity && cd drivers/misc/mediatek/ && git clone https://github.com/rsuntkOrgs/mtk_connectivity_module --depth=1 -b staging-4.14 connectivity && rm -rf connectivity/.git && cd ../../..

Connectivity module
https://github.com/rsuntkOrgs/mtk_connectivity_module

Method 4
-----------------
Wifi fix mtk from @david7xw


git remote add mtk -f [email protected]:Samsung-MT6769-Devs/android_kernel_samsung_a22_remake.git

git cherry-pick  8fd11aaf66cb0429b8a4f41f9a92c1e720045755


For Snapdragon
==============

Method 1 From Edward
Initial merge:

git remote add qcacld-3.0 https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qcacld-3.0

git fetch qcacld-3.0 <TAG>

git merge -s ours --no-commit --allow-unrelated-histories FETCH_HEAD

git read-tree --prefix=drivers/staging/qcacld-3.0 -u FETCH_HEAD

git commit

Updating to a newer tag:

git fetch qcacld-3.0 <TAG>

git merge -X subtree=drivers/staging/qcacld-3.0 FETCH_HEAD

Repeat the above for
qca-wifi-host-cmn and fw-api as well.
qcacld-3.0 source: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qcacld-3.0
fw-api source: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/fw-api
qca-wifi-host-cmn source: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qca-wifi-host-cmn

Method 2 from @RissuDesu
----------------
Note: not a permanent fix

Add qcald3.0 sources first from Edward

# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SIG is not set
# CONFIG_MODULE_SIG_FORCE is not set
# CONFIG_MODULE_SIG_ALL is not set
# CONFIG_MODULE_SIG_SHA512 is not set
# CONFIG_MODULE_SIG_HASH is not set

Open kernel/modules.c, and apply this patch:

@@ -3097,7 +3097,7 @@
} else if (!same_magic(modmagic, vermagic, info->index.vers)) {
pr_err("%s: version magic '%s' should be '%s'\n",
info->name, modmagic, vermagic);
- return -ENOEXEC;
+ //return -ENOEXEC;
}

if (!get_modinfo(info, "intree")) {

https://t.iss.one/physwizz3/56379
a035m-boot-physwizz.img
64 MB
A035 kernel
Android 13
Unisoc T606

Tested and working on a035m s6
AVB added by @A03CoreRooted

Installation
https://t.iss.one/physwizz2/454


Kernel source
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
A125 group
https://t.iss.one/a125group
physwizz_A137f-U-u6-v2-kernel.zip
13.2 MB
A13s (A137f) kernel
MT6769 Helio G80
Android 14 u6

Built with gcc 10
Tested and working on u5 and u6

Bugs:
Wifi
Bt

Installation
https://t.iss.one/physwizz2/454


Kernel source
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
A125 group
https://t.iss.one/a125group
a035-s7-boot-v2.img
23.5 MB
A035f kernel v2
Binary 7
Android 13
Unisoc T606

Selinux togglable
Integrity disabled
Modules force load
Extra governors;
Powersave, Userspace, On-demand, Conservative, interactive

Tested and working

Installation
Flash img from twrp or compress to tar and flash into ap slot from odin

https://t.iss.one/physwizz2/454


Kernel source
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
A125 group
https://t.iss.one/a125group
physwizz_A065f-U-u1-perm-kernel.zip
13.3 MB
A06 permissive kernel
Mediatek Helio G85
Android 14
(For binary 1, 2 or 3)

Boots but no wifi or bt

Installation
https://t.iss.one/physwizz2/454


Kernel source
https://github.com/physwizz?tab=repositories

@physwizz