Physwizz Collection
4.09K subscribers
38 photos
651 files
809 links
Guides, kernels and hints for the Samsung a-series
Download Telegram
I got my first calculator in 1971 for senior high school and it still works
My first electronic calculator for 1st year uni in 1973 still works
physwizz_kernel_a30-v4.5{R-stable}.zip
13.6 MB
physwizz_kernel a30R-V4.5
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
-Low battery drain
-lz4 compression on zram
-mtp for GSIs(from topser99)

-works with stock and custom dtbo

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

For Zram
Go to HKtweaks- virtual memory
increase swappiness
choose lz4
increase size
turn on Zram

GitHub
https://github.com/physwizz?tab=repositories
For Zram
Go to HKtweaks- virtual memory
increase swappiness
choose lz4
increase size
turn on Zram

@physwizz
For Gaming
Set Spectrum to Gaming mode
And OC GPU: 1300 1300
Mali: always_on
GPU Governor: static
GPU Thermal Manager: off
RwizzROM-a202-v2

Debloated OneUI 3.1 ROM (for Android 11 Users only. Upgrade First)

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



Note:
This ROM contains everything I like.
If you want something else, I can show you how to build your own.
@physwizz

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

Kernel
Stock

Installation (try this method)
1. backup boot, system, vendor
2. Install RwizzROM
3. flash boot.img and vendor.img
4. Format data
5. Reboot to recovery
6. Install dmverity
7. Reboot
1
physwizz_kernel_a10{Zram2}.zip
11.4 MB
physwizz a10 +Zram2

Based on a105fn source code
@physwizz

-OneUI or GSI (Q or R)
-Most securities disabled
-new CPU Governors added: now has conservative, ondemand, userspace, powersave, interactive, performance.
-SE linux enforcing
-CPU underclocked(physwizz) and overclocked( Carlos Burero)
-Big: 312 - 2080
-Little: 343 - 1690
-Extended battery life
-Works with Magisk
-Spectrum support enabled
- MTP enabled (topser)
-Zram available
-Voltage control for GPU


Flash magisk for root

For Zram
Go to HKtweaks- virtual memory
increase swappiness
choose lz4
increase size
turn on Zram

https://github.com/physwizz?tab=repositories
👍1
For Zram
Go to HKtweaks- virtual memory
increase swappiness
choose lz4
increase size
turn on Zram
leave "apply on boot" OFF
physwizz_kernel_a10{permissive}.zip
11.4 MB
physwizz a10 permissive Kernel

Based on a105fn Q source code
@physwizz

- only for permissive GSIs (Q or R)
-Most securities disabled
-new CPU Governors added: now has conservative, ondemand, userspace, powersave, interactive, performance.
-SE linux permissive
-CPU underclocked(physwizz) and overclocked( Carlos Burero)
-Big: 312 - 2080
-Little: 343 - 1690
-Extended battery life
-Works with Magisk
-Spectrum support enabled
- MTP enabled (topser)
-Zram available
-Voltage control for GPU
-permissive (topser)


Flash magisk for root

For Zram
Go to HKtweaks- virtual memory
increase swappiness
choose lz4
increase size
turn on Zram

https://github.com/physwizz?tab=repositories
To Unlock Bootloader
Part1.
=====
Settings
About phone
Software information
Tap Build number until developer options appears

On phone developer options in settings allow OEM unlocking and enable usb debugging by moving both
sliders RIGHT

If you don't see the OEM unlock
- insert a sim card
-Disable Auto System Update
-Then disable Automatic date and time (Found in General Management) > then set the time back 14 days
- Connect to the internet
-Go to software update then check for update and wait a long time (up to 3 days) till it registers the device on server
-Once it's registered the OEM Unlock should be visible in the Developer Options

Part 2
=====
then connect phone to PC or to another phone or smart device.

Reboot into download mode by holding down both Vol up and Vol down
(You might need to long press vol up to unlock bootloader)

then press vol up to continue

Then setup phone
1
Building a Kernel with gcc

0. Setup Linux

Linux setup
***
sudo apt update
sudo apt upgrade
sudo apt-get install git-all

# Increase linux swapfile size

sudo swapoff -a

sudo dd if=/dev/zero of=/swapfile bs=1G count=8
sudo mkswap /swapfile
sudo swapon /swapfile

free -m

sudo apt-get install aptitude

# add sudo cmd before apt install python3-virtualenv

sudo apt install python-is-python3 build-essential openssl pip

sudo aptitude install libssl-dev


pip install virtualenv

export PATH=$PATH:/home/physwizz/.local/bin

apt install python3-virtualenv

sudo apt install python2.7

# 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

Follow the instructions in README_kernel.txt
Download the correct toolchain
Here are a few examples

2. Download a toolchain

https://github.com/physwizz/toolchain_cross-compile
Or
https://github.com/physwizz/compiler

I put it here
/home/<user>/compiler


3. Set up GitHub
(se
e my guide)

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_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_INTERACTIVE=y

CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y

# CONFIG_TIMA is not set
# CONFIG_TIMA_LKMAUTH is not set
# CONFIG_TIMA_LKM_BLOCK is not set
# CONFIG_TIMA_LKMAUTH_CODE_PROT is not set
# CONFIG_UH is not set
# CONFIG_UH_RKP is not set
# CONFIG_RKP_KDP is not set
# CONFIG_RKP_NS_PROT is not set
# CONFIG_RKP_DMAP_PROT is not set

# CONFIG_TIMA_LOG is not set
# CONFIG_KNOX_KAP is not set

# CONFIG_DM_VERITY is not set

# CONFIG_SEC_RESTRICT_ROOTING is not set
# CONFIG_SEC_RESTRICT_SETUID is not set
# CONFIG_SEC_RESTRICT_FORK is not set
# CONFIG_SEC_RESTRICT_ROOTING_LOG 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_SECURITY_DSMS is not set
# CONFIG_PROCA is not set


For further changes see my GitHub
https://github.com/physwizz

cd Kernel

sudo apt-get install make
sudo apt-get install gcc
sudo apt install build-essential


make clean && make mrproper
export CROSS_COMPILE=/home/<user>/compiler/bin/aarch64-linux-android-
export ARCH=arm64
export ANDROID_MAJOR_VERSION=q
make <your_device>_defconfig
make

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


To use Anykernel to make your own zip

Extract MyKernel.7z to a folder, copy kernel image there, open terminal in that folder and type:

zip -r9 UPDATE-AnyKernel3.zip * -x .git README.md *placeholder

TheUPDATE-AnyKernel3.zip will be in the folder.
Cut and paste it outside the folder then flash it from TWRP.
Make sure you don't leave the UPDATE-AnyKernel3.zip in the MyKernel folder because it will interfere with the next zip you make.



@physwizz
2
physwizz_a10s_mtp-test3.zip
11.7 MB
physwizz kernel a10s mtp
A107f Q binary 8
@physwizz
Zip from @topser
-Most securities disabled
-CPU Governors: conservative, ondemand, userspace, powersave, interactive, performance, schedutil.
-SE linux enforcing
-Works with Magisk
-Spectrum support enabled
-Zram with lz4 compression
-mtp enabled

For Zram
Go to HKtweaks- virtual memory
increase swappiness
choose lz4
increase size
turn on Zram
leave "apply on boot" OFF

Bugs
Rear camera


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

Debloated OneUI 3.1 ROM (for Android 11 Users only)
Upgrade to R first

Extras:
Battery charge limit
Clean Master
ES file explorer
HKtweaks
SimpleReboot
Viper



Note:
This ROM contains everything I like.
If you want something else, I can show you how to build your own.
@physwizz

ROM
https://drive.google.com/file/d/1HH46-LtilCwzX8iA16-K3aCBQfSFo6tb/view?usp=sharing
Kernel
Stock

Installation (try this method)
1. backup boot, system, vendor
2. Install RwizzROM
3. flash boot.img and vendor.img
4. Format data
5. Reboot to recovery
6. Install dmverity
7. Reboot
physwizz-extras-a205.zip
68.3 MB
Extra OneUI System Apps
For a205 Q only

(Bootloop on R)

Battery charge limit
Clean Master
Coloured battery icon 🔋
Dual speaker (Yasir)
ES file explorer
HKtweaks
SimpleReboot
Root Explorer
Viper
Zarchiver

Backup system.
Install from TWRP
reboot


Please send me any feedback
@physwizz
physwizz-extras-ex.zip
59 MB
Extra OneUI System Apps V2

For all a-series exynos models
OneUI 2.0 or 3.1


Battery charge limit
Clean Master
ES file explorer
HKtweaks
SimpleReboot
Root Explorer
Viper (Q only)
Zarchiver
physwizz-2 app

Backup system.
Install from TWRP
reboot

You can use zarchiver to add your own apps or vendor changes


Please send me any feedback
@physwizz
physwizz-extras-mtk.zip
59 MB
Extra OneUI System Apps a10s and a12

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

Backup system.
Install from TWRP
reboot

You can use zarchiver to add your own apps or vendor changes


Please send me any feedback
@physwizz
physwizz-debloater-v3-ex.zip
4.8 MB
physwizz Debloater v3 Exynos
(Not Exynos850)

With physwizz-2 app
Updated to fix file picker

For all a-series exynos models

I'm using a very unusual method.
I replace the apps with a blank apk file.


Installation

Backup system
Install from TWRP

If you find you want to get one of the apps back just restore the system backup
Then use zarchiver to remove the apk from my Debloater.
Then reinstall it.

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

@physwizz
physwizz-debloat-list.txt
5 KB
I used this list to make my debloater.
physwizz-debloater-a10s-v2.zip
814.2 KB
physwizz Debloater v2
For a107 (a10s
)

OneUI 2.0 or 3.1

I'm using a very unusual method.
I replace the apps with a blank apk file.


Installation

Backup system
Install from TWRP

If you find you want to get one of the apps back just restore the system backup
Then use zarchiver to remove the apk from my Debloater.
Then reinstall it.

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

@physwizz
1
physwizz_kernel_a20e-v1{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
-Extended battery life
-Spectrum support enabled
-Zram

Flash magisk for root



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