Physwizz Collection
4.09K subscribers
38 photos
651 files
809 links
Guides, kernels and hints for the Samsung a-series
Download Telegram
To build s980e

1. Clone my repo
https://github.com/physwizz/S908
2. Open a terminal
3. Type these commands

cd S908

sudo -s

./build_kernel_GKI.sh


Note:
This didn't work for me. It can't build past vmlinux.o
Perhaps its because I only have 4gb RAM

@physwizz
physwizz_kernel_j250f-N-v2.2.zip
10.9 MB
J2 pro kernel
J250F
Qualcomm MSM8917 Snapdragon 425

Android 7 N
For testing

- Hall sensor activated
- Verity and audit disabled
- zswap writeback and read ahead enabled.

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


@physwizz
Permissive Build
==============

To build a permissive kernel, copy and paste the following commands into terminal. Then build it.

git remote add a105 https://github.com/physwizz/A105FN.git

git fetch --all

git cherry-pick 59ef035f37dd65741e20bde6add0ab06335c03da^..2721791695c56e06157c49a21dcb17bad16a0cc6


NOTE: permissive kernels will not boot into OneUI or most GSIs

@physwizz
physwizz_a336b_S_kernel-v2.1.zip
16.7 MB
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

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

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

@physwizz
Group Rules

Use /notes to see what's here

Respect others.
-swearing or abusive language is unacceptable.

English only.
-using another language displays bad manners in a global group

Use "please" and "thank you"

@physwizz
physwizz_a536b_S_kernel-v1.zip
16.6 MB
A536b S kernel v1
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


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

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

@physwizz
physwizz_a115m_R_kernel_v1.3.zip
14.4 MB
A115m/f R kernel v1.3
Qualcomm SDM450 Snapdragon 450

For Android 11 OneUI 3.1

Thanks to @😋 🙂 for module loading fix

bugs:
no wifi

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

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

@physwizz
physwizz_a336b_S_kernel-v3.5.zip
16.7 MB
A336b S kernel v3.5
Exynos 1280

For OneUI 4.1 and for GSIs

Basic kernel built with Samsung a53 5g toolchain

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

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

@physwizz
A20
Geekbench 5

Set all minimums to maximum
GPU always on

physwizz kernel
Big 2184MHz
Little 1690MHz
GPU 1300MHz
How to build aosp kernel

(Android 12 Android Common Kernel ACK)

1. Install repo tool

sudo apt-get install repo -y

Or

mkdir -p ~/.bin
PATH="${HOME}/.bin:${PATH}"
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
chmod a+rx ~/.bin/repo


2. Sources and tools

mkdir android-kernel && cd android-kernel

repo init -u https://android.googlesource.com/kernel/manifest -b common-android-4.19-stable

repo sync

3. Edit the defconfig in common folder

3. Build the kernel

For gki version:
BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh
(Or choose another gki config)

For aarch64 version:
BUILD_CONFIG=common/build.config.aarch64 build/build.sh
(Or choose another config)

4.Copy Image.lz4-dtb to the respective kernel binary location within the AOSP tree and rebuild the boot image.

@physwizz

Ref
https://source.android.com/docs/setup/build/building-kernels

Branches
https://source.android.com/docs/setup/reference/bazel-support
1
physwizz_aosp-kernel-T.zip
9.5 MB
AOSP kernel

Based on
Pixel 5 (redfin)
Pixel 4a (5G) (bramble)

Built on
android-msm-redbull-4.19-android13 branch


1.Sources and tools

mkdir android-kernel && cd android-kernel

repo init -u https://android.googlesource.com/kernel/manifest -b android-msm-redbull-4.19-android13

repo sync

2. Build


BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh



@physwizz
1
physwizz_aosp-gki-kernel-S.zip
26.8 MB
AOSP kernel for Android 12-5.4

Based on
common-android-12-5.4 branch


1.Sources and tools

mkdir android-kernel && cd android-kernel

repo init -u https://android.googlesource.com/kernel/manifest -b common-andoid12-5.4

repo sync

2. Build

BUILD_CONFIG=common/build.config.gki_kasan.aarch64 build/build.sh


@physwizz
Forwarded from Android Repository (Hitalo)
heimdall-ndk-heimdall-v2.x.zip
2.4 MB
Heimdall For Android NDK v2.0.2 (202)

⚡️Magisk Module
⚡️Heimdall is a tool for flashing firmware (aka ROMs) onto Samsung Galaxy series devices over a USB connection. It accomplishes this using the same protocol as Odin. This static binary support multi architectures built with the NDK
⚡️GitHub Repository

By: JonesqPacMan
Follow: @AndroidRepo
To flash TWRP from phone1 to phone2
Only if you have already installed recovery and decrypted.

Method 1 Thor

https://t.iss.one/fdur2021projects/314

Method 2 heimdall

1. Install this termux on phone1
2. Setup storage

termux-setup-storage

3. Install this Heimdall Magisk module on phone1

4. Copy recovery.img for flashing to download folder of phone1
5. Connect USB otg cable to phone1
6. Connect phone2 to the USB otg cable using a normal cable.
7. Boot phone2 into download mode
8. On termux navigate to downloads folder.
9.
su

heimdall flash --RECOVERY recovery.img --verbose

You can then restore from your backup

*Note: If you haven't decrypted you need to do this between step 6 and 7

1. Connect to pc and boot into stock recovery
2. Factory reset

Then do this after step 9

1. Reboot directly to recovery
2. Advanced, terminal. Type multidisabler (twice).
3.
Or flash samsung multidisabler zip
Or, for older phones flash dmverity zip
4. Reboot to recovery from main menu (not just reboot)

Method 3 Eros

https://t.iss.one/ErosMobileTool


@physwizz

Thanks to @furbanoramos21