Physwizz Collection
4.09K subscribers
38 photos
651 files
809 links
Guides, kernels and hints for the Samsung a-series
Download Telegram
INDEX: Kernel Building Guides from physwizz

Kernel Building for Beginners
https://t.iss.one/physwizz2/997

About Me
https://t.iss.one/physwizz2/2

Underclocking and Overclocking

I developed the underclocking code by modifying the existing overclocking code from Carlos Burero on
October 20 2020

https://github.com/physwizz/kernel_a20/commit/261a80eb4ac14dc01c82af204d90420e220f386f

https://github.com/physwizz/kernel_a20/commit/6ff437e452d14d2bff2fd01bebd4af2e26f713d0

I Developed Overclocking and Underclocking for Prime CPUs
March25 2022

https://github.com/physwizz/f62-R/commit/460f841cb12a7b9199a91e7c6a798797a0db0064

Overclocking and undeclocking values can be determined by using experimental values in all cases except oc of exynos 9611 Big cores.

@physwizz

Building with GCC
https://t.iss.one/physwizz2/182

GITHUB for Beginners
https://t.iss.one/physwizz2/10

Building with Clang
https://t.iss.one/physwizz2/43

AOSP
https://t.iss.one/physwizz2/645

Using Anykernel3
https://t.iss.one/physwizz2/117

AIK Magisk Module
https://t.iss.one/physwizz2/82
Update
https://t.iss.one/physwizz2/622

Python2
https://t.iss.one/physwizz2/424

My Build Scripts
https://t.iss.one/physwizz2/483
https://t.iss.one/physwizz2/590 (snapdragon)

My GitHub
https://github.com/physwizz?tab=repositories

Boot Partition Locations
https://t.iss.one/physwizz2/610

Generic Kernel Images
https://t.iss.one/physwizz3/9289

To support Apatch

You need modify kernel source and build  to enable
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y

CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=n
Initial support

Building kernelSU
https://t.iss.one/physwizz2/898

Ksu next & susf
https://github.com/KernelSU-Next/KernelSU-Next

Using github actions
https://github.com/lemniskett/android-kernel-actions

Building a permissive kernel
https://t.iss.one/physwizz2/1221

Wifi fix
https://t.iss.one/physwizz2/1291

Kernel logs
Look at
/proc/first_kmsg
/proc/kmsg
/proc/last_kmsg

Copy logs to pc
With
adb pull /proc/last_kmsg lastkmsg.txt

Upstreaming
https://t.iss.one/physwizz2/1572

Rksu & sufs
https://github.com/rsuntk/KernelSU?tab=readme-ov-file

@physwizz
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

A20 Frequencies
https://t.iss.one/physwizz2/157

Battery
https://t.iss.one/physwizz2/129

Black Screen or Bootloop
https://t.iss.one/physwizz2/219

Benchmark a20
https://t.iss.one/physwizz2/644?single

Broken screen
https://t.iss.one/physwizz2/286

Boot.img installers
Mediatek
Exynos 850
Exynos 9611
Exynos 7***
Exynos 9825

Boot Screens
https://t.iss.one/physwizz2/580

Crash Recovery
https://t.iss.one/physwizz2/13

CRB
https://t.iss.one/physwizz2/289

CPU Operations
https://t.iss.one/physwizz2/457

Download Mode
https://t.iss.one/physwizz2/4

Download Mode missing
https://t.iss.one/physwizz2/776

Dtbo Installer
https://t.iss.one/physwizz2/250

Eros
https://t.iss.one/ErosMobileTool

Extract image files
https://t.iss.one/physwizz2/497

Format Data
https://t.iss.one/physwizz2/109

GApps
https://t.iss.one/physwizz2/113

Groups & Channels
https://t.iss.one/physwizz2/1245

HKtweaks
https://t.iss.one/physwizz3/3428

Install OneUI Without a PC
https://t.iss.one/physwizz2/221

Install Custom ROMs
https://t.iss.one/physwizz2/100

Install kernel from terminal
https://t.iss.one/physwizz2/446

Install Stock Kernel & dtbo
https://t.iss.one/physwizz2/87

Install boot.img from another phone
https://t.iss.one/physwizz2/693

Installing Firmware
https://t.iss.one/physwizz2/510

Install GSIs from odin
https://t.iss.one/ex850chat/42886

Install recovery without PC
https://t.iss.one/physwizz2/652

Kernel in the TWRP
https://t.iss.one/physwizz2/81

Kernel Building
https://t.iss.one/physwizz2/241

Magisk
https://t.iss.one/physwizz2/1183

Mount system as rw
https://t.iss.one/a127f_res/114

Gsirw
https://t.iss.one/a12schat/8655

Physwizz app
https://t.iss.one/physwizz2/375

Overclocking
https://t.iss.one/physwizz2/3

Odin3
https://t.iss.one/physwizz2/925

Recovery a20 R
https://t.iss.one/physwizz2/393

Recovery Installation
https://t.iss.one/physwizz2/563

Reduce Battery Drain
https://t.iss.one/physwizz2/129

ROM Building
https://t.iss.one/physwizz2/151

Root for a20 android 11
https://t.iss.one/physwizz2/301

Root Methods
https://t.iss.one/a127f_res/11

Spectrum for Gaming
https://t.iss.one/physwizz2/171

Spectrum
https://t.iss.one/physwizz2/244

Selinux
https://t.iss.one/physwizz2/1049

Unlock Bootloader
https://t.iss.one/physwizz2/181

Ubuntu on your phone
https://t.iss.one/physwizz2/410

Thor
https://t.iss.one/Samsung_f22_Community/60029

TWRP Building
https://t.iss.one/a127f_res/204

Virtual Machine
https://t.iss.one/physwizz2/339?single

Zram
https://t.iss.one/physwizz2/168

XDA Collection
https://forum.xda-developers.com/t/physwizz-collection.4253081/

@physwizz
4
Spectrum_by_Minhka98_v8v2.zip
2.4 MB
SPECTRUM for A20

Install, reboot.
Access the pull down menu
Tap 3 dots
Tap button order
drag the spectrum icon into the pull down menu.
Reboot

It gives you 4 kernel profiles on Hktweaks which can also be accessed from the pull down menu.
1. Balanced : Big 520-1768, Little 546-1586
2. Performance: Big 1144-2184, Little 902-1690
3. Battery: Big 312-1560, Little: 208-1352
4. Gaming: Big 1352-2184, Little 1352-1690

@physwizz
Forwarded from Thank You Members
This media is not supported in your browser
VIEW IN TELEGRAM
physwizz_kernel_a205-v1.6{R}.zip
13.3 MB
physwizz A20 (SM-a205xx) v1.6
For OneUI 3.1 for GSI (Q or R)

@physwizz

-Samsung securities disabled.
-CPU Governors: conservative, ondemand, userspace, powersave, interactive, performance.
-Interactive is default governor
-SE linux enforcing
-CPU overclocked and underclocked
-Big: 208 - 2184
-Little: 208 - 1690
-GPU: 343 - 1300 without custom dtbo
-Extended battery life
-Spectrum support enabled
-Zram

If you have recently installed a kernel containing a custom dtbo.img you need to go back stock dtbo.img from your baseband (not your kernel or your ROM)
Instructions are here

https://t.iss.one/physwizz2/250
Choose dtbo.img from
https://t.iss.one/physwizz2/248
https://t.iss.one/physwizz2/249
https://t.iss.one/physwizz2/250

Flash magisk for root

https://github.com/physwizz?tab=repositories
1
dtbo-a20-stockR-u7.zip
250.8 KB
Only for a205 with R baseband and U7 binary
dtbo-a20-stockQ-s7.zip
250.2 KB
Only for a205 with Q baseband and s7 binary
dtbo-installer.zip
178 KB
Dtbo installer

Extract stock dtbo.img from your firmware.
Add to the zip using zarchiver.

Use stock dtbo.img from your baseband (not your kernel or your ROM)
physwizz_kernel_a305-v5.0{R}.zip
13.6 MB
physwizz_kernel a30R-V5.0
Stable version
For OneUI or GSI
@physwizz

-Most securities disabled
-CPU Governors: conservative, ondemand, userspace, powersave, interactive, performance.
-Interactive is default governor
-SE linux enforcing
-CPU overclocked and underclocked
-Big: 312 - 2080
-Little: 208 - 1690
-GPU: 343 - 1300
-Low battery drain
-lz4 compression on zram
-mtp for GSIs(from topser99)
-works with stock dtbo.img

If you have recently installed a kernel containing a custom dtbo.img you need to go back stock dtbo.img from your baseband (not your kernel or your ROM)
Instructions are here

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

Installation
1. Upgrade or install Android R
2. Install kernel from TWRP
3. Install Magisk for root
4. Reboot

GitHub
https://github.com/physwizz?tab=repositories
physwizz_kernel_a202v2{R}.zip
13.1 MB
physwizz A20e (SM-a202xx)
+Zram
For OneUI R or GSI (Q or R)


@physwizz

-Samsung securities disabled.
-CPU Governors: conservative, ondemand, userspace, powersave, interactive, performance.
-Interactive is default governor
-SE linux enforcing
-CPU overclocked and underclocked
-Big: 208 - 2184
-Little: 208 - 1690
-GPU: 343 - 1300 without custom dtbo
-Extended battery life
-Spectrum support enabled
-Zram
-works with stock dtbo.img


If you have recently installed a kernel containing a custom dtbo.img you need to go back stock dtbo.img from your baseband (not your kernel or your ROM)
Instructions are here

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

Flash magisk for root


https://github.com/physwizz?tab=repositories
physwizz_kernel_a305-v5.3{R }.zip
13.5 MB
physwizz_kernel a30R-V5.3
Stable version
For OneUI or GSI
@physwizz

-Most securities disabled
-CPU Governors: conservative, ondemand, userspace, powersave, interactive, performance.
-Interactive is default governor
-SE linux enforcing
-CPU overclocked and underclocked
-Big: 312 - 2080
-Little: 208 - 1690
-GPU: 343 - 1300 without custom dtbo
-Low battery drain
-lz4 compression default on zram
-mtp for GSIs(from topser99)
-works with stock dtbo.img

Important note:
If you have recently installed a kernel containing a custom dtbo.img you need to go back stock dtbo.img from your baseband (not your kernel or your ROM)
Instructions are here

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

Installation
1. Upgrade or install Android R
2. Install kernel from TWRP
3. Install Magisk for root
4. Reboot

GitHub
https://github.com/physwizz?tab=repositories
1
physwizz_kernel_a405-v3.0{R }.zip
13.8 MB
physwizz_kernel a40_R_v3.0
Stable version
For OneUI or GSI
@physwizz

-Most securities disabled
-CPU Governors: conservative, ondemand, userspace, powersave, interactive, performance.
-Interactive is default governor
-SE linux enforcing
-CPU overclocked and underclocked
-Big: 312 - 2080
-Little: 208 - 1690
-GPU: 343 - 1300 without custom dtbo
-Low battery drain
-lz4 compression default on zram
-mtp for GSIs(from topser99)
-works with stock dtbo.img

If you have recently installed a kernel containing a custom dtbo.img you need to go back stock dtbo.img from your baseband (not your kernel or your ROM)
Instructions are here

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

Installation
1. Upgrade or install Android R
2. Install kernel from TWRP
3. Install Magisk for root
4. Reboot

GitHub
https://github.com/physwizz?tab=repositories
physwizz-extras-module-v2.zip
55.6 MB
physwizz extras module V2
(module.prop corrected)

Installing
https://t.iss.one/physwizz2/489?single

Magisk module to add extra system apps

Extras:
Battery charge limit
Clean Master
ES file explorer
HKtweaks
SimpleReboot
Root Explorer
Zarchiver
physwizz-2 app

You can remove any app that you don't want by using zarchiver.
You can also add any apps that you want to systemize.

@physwizz
physwizz_a205_kernel-v2.1.zip
13.8 MB
physwizz A20 (SM-a205xx) v2.0
For OneUI 3.1 for GSI (Q or R)

@physwizz

-Samsung securities disabled.
-CPU Governors: conservative, ondemand, userspace, powersave, interactive, performance.
-Interactive is default governor
-SE linux enforcing
-CPU overclocked and underclocked
-Big: 208 - 2184
-Little: 208 - 1690
-GPU: 343 - 1300 without custom dtbo
-GPU thermal and voltage control
-Extended battery life
-Spectrum support enabled
-Zram

If you have recently installed a kernel containing a custom dtbo.img you need to go back stock dtbo.img from your baseband (not your kernel or your ROM)
Instructions are here

Choose dtbo.img from
https://t.iss.one/physwizz2/248
https://t.iss.one/physwizz2/249
https://t.iss.one/physwizz2/250

Flash magisk for root before installation

https://github.com/physwizz?tab=repositories
RwizzROM-a20-v3

Debloated OneUI 3.1 ROM


Extras:
Battery charge limit
Clean Master
ES file explorer
HKtweaks
SimpleReboot
Root Explorer
Zarchiver

Includes physwizz kernel with Zram

-Samsung securities disabled.
-CPU Governors: conservative, ondemand, userspace, powersave, interactive, performance.
-Interactive is default governor
-SE linux enforcing
-CPU overclocked and underclocked
-Big: 208 - 2184
-Little: 208 - 1690
-GPU: 343 - 1300 (without custom dtbo)
-GPU thermal and voltage control
-Extended battery life
-Works with Magisk 19.3 - 21.4
-Spectrum support enabled
- Zram

Debloat list:
https://t.iss.one/physwizz2/200

Installation
1. Wipe caches, data, system and vendor
2. Install ROM
3. Install dmverity
https://t.iss.one/physwizz2/273
4. Reboot to recovery
5. Reboot to system
6. Wait for welcome screen
7. Go all the way through the setup
8. never reboot from the welcome screen

If you have recently installed a kernel containing a custom dtbo.img you need to go back stock dtbo.img from your baseband (not your kernel or your ROM)
Instructions are here

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


Note:
First boot takes a long time (be patient)
@physwizz

ROM
Single SIM
https://drive.google.com/file/d/1-10yAdHuPxpGSnIZbJ0S9RYs-S0kUG2w/view?usp=drivesdk

V2

https://drive.google.com/file/d/1EhJUe1LHeKAWKzA2-GIsyhqJPZPT2OQB/view?usp=drivesdk

Dual Sim
https://drive.google.com/file/d/1edVOLeww1wXh1h7pkvOclodDBZQvy_7x/view?usp=drivesdk

Kernel
https://github.com/physwizz?tab=repositories
wizzROM-creator-module-v2.zip
55.6 MB
wizzROM Creator module v2

for all Samsung a-series phones

Turn any stock or custom OneUI into a QwizzROM or RwizzROM

OneUI 2.0 will become QwizzROM
OneUI 3.1 will become RwizzROM

Debloated ROM with Extras

Extras:
Battery charge limit
Clean Master
ES file explorer
HKtweaks
SimpleReboot
Root Explorer
Zarchiver
physwizz-2

Make sure your OneUI ROM iis running befote you start
Installation
1 Backup system from recovery
2 Install the creator from Magisk
3 Reboot
4 Enjoy

Name your wizzROM (optional)

1. Use a root explorer to copy and paste system/build.prop to new location
2. Edit build.prop like this

ro.build.display.id=<your-name>

3. Use zarchiver to paste the new build.prop into the system folder inside wizzROM-creator.zip
4. Install wizzROM-creator.zip

@physwizz
RwizzROM-a30-v5
TESTERS PLEASE


Debloated OneUI 3.1 ROM

Extras:
Battery charge limit
Clean Master
ES file explorer
HKtweaks
SimpleReboot
Root Explorer
Zarchiver

Includes physwizz kernel with Zram

-Samsung securities disabled.
-CPU Governors: conservative, ondemand, userspace, powersave, interactive, performance.
-Interactive is default governor
-SE linux enforcing
-CPU overclocked and underclocked
-Big: 208 - 2184
-Little: 208 - 1690
-GPU: 343 - 1300 (without custom dtbo)
-GPU thermal & voltage control
-Extended battery life
-Works with Magisk 19.3 - 21.4
-Spectrum support enabled
- Zram

Debloat list:
https://t.iss.one/physwizz2/200

Installation
1. Wipe caches, data, system and vendor
2. Install ROM
3. Install dmverity
https://t.iss.one/physwizz2/273
4. Reboot to recovery
5. Reboot to system
6. Wait for welcome screen
7. Go all the way through the setup
8. never reboot from the welcome screen

If you have recently installed a kernel containing a custom dtbo.img you need to go back stock dtbo.img from your baseband (not your kernel or your ROM)
Instructions are here

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

Note:
First boot takes a long time (be patient)
@physwizz

ROM
https://drive.google.com/file/d/1s30S3z0ZxvKiliIIA0eqe0YRT_WVUsIJ/view?usp=drivesdk

Kernel
https://github.com/physwizz?tab=repositoriese
RwizzROM-a10-v1.0

Debloated OneUI 3.1 ROM


Extras:
Battery charge limit
Clean Master
ES file explorer
HKtweaks
SimpleReboot
Root Explorer
Zarchiver


Debloat list:
https://t.iss.one/physwizz2/200

Installation
1. Wipe caches, data, system and vendor
2. Install ROM
3. Install dmverity
https://t.iss.one/physwizz2/273
4. Reboot to recovery
5. Reboot to system
6. Wait for welcome screen
7. Go all the way through the setup
8. never reboot from the welcome screen

Note:
First boot takes a long time (be patient)
@physwizz

ROM
https://drive.google.com/file/d/1-QACtDXMGaf8DSt82polG8mZ5NPZqPXt/view?usp=drivesdk

Kernel
Stock