Physwizz Collection
4.09K subscribers
38 photos
651 files
809 links
Guides, kernels and hints for the Samsung a-series
Download Telegram
physwizz_a226B_T_kernel.zip
13.3 MB
A226B kernel

physwizz a226b kernel

For android 13
OneUI 5.1 and GSIs

Bugs
WiFi
Bluetooth
Hotspot


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


@physwizz

Kernel
https://github.com/physwizz?tab=repositories
physwizz_kernel_j4+_arm64.zip
11.7 MB
J4+ arm64 kernel for testing

lz4 default compression for zram

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

@physwizz
physwizz_A125m-S-u4_kernel.zip
16.9 MB
physwizz a125f/m S kernel
U4 version 1
MT6760 Helio P35
For OneUI 4.1
(May also work for GSIs)

Bugs
Bootloop

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



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

@physwizz
a04-twrp-port037.tar
27.5 MB
A045 twrp
Ported from a037

Tested and working.
If touch fails use USB mouse

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


@physwizz
twrp-a225f-5.1-v2.tar
31.2 MB
A225f twrp
For android 13
OneUI 5.1

For missing partitions flash Dynapatch v1
https://t.iss.one/a127f_res/246?single



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

Ported from f22 by
@physwizz
a235f-twrp-port5.1.tar
43 MB
A235f twrp
For android 13
OneUI 5.1
Qualcomm SM6225 Snapdragon 680


For testing

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

Format data method
https://t.iss.one/physwizz2/747

Ported from m23 by
@physwizz
physwizz_M325f-T-kernel-u5.zip
15.8 MB
physwizz M325f T kernel u5

Mediatek MT6769V/CU Helio G80

For OneUI 5.1
( also works for GSIs)

Samsung securities disabled
Zram with lz4 default


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

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

@physwizz
a04e-twrp-port037.tar
26.9 MB
A04e (A042) twrp
Mediatek MT6765 Helio P35 

Touch not working.
Use usb mouse

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

Ported from a037 by
@physwizz
To fix touch on custom Recoveries

Method 1:
A. Preparation of files
Use root explorer to copy these bin files from your phone

 \vendor\firmware\****.bin

Files like novatek.bin and or chippone-tddi-.bin 

Also look in
/vendor/lib/modules/
For a file called ilitek_v3.ko or something like it

B. To fix existing twrp
1. Unpack twrp using AIK
2. Copy .bin files to

\ramdisk\vendor\firmware\

3. Repack
4. Install twrp
5. Go to settings and untick "allow screen time out"

C. To fix twrp for compiling
1. Go to Linux and Copy .bin files to
/recovery/root/vendor/firmware/

2. Copy ****.ko files to /recovery/root/vendor/lib

3. BoardConfig.mk:

# Kernel module loading for touch, battery etc
#TW_LOAD_VENDOR_MODULES := $(shell echo \"$(shell ls $(DEVICE_PATH)/prebuilt/modules)\")

# add your own .ko files in the following line
TW_LOAD_VENDOR_MODULES := "novatek_ts_nt36523.ko sec_cmd.ko sec_common_fn.ko sec_secure_touch.ko sec_tsp_dumpkey.ko sec_tsp_log.ko lxs_ts.ko ovt_td4150_spi.ko"
TW_LOAD_VENDOR_BOOT_MODULES := true
TW_LOAD_VENDOR_MODULES_EXCLUDE_GKI := true
4. Put in twrp-<code-name>.mk file before device identifier

PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,device/samsung/<code-name>/recovery/root,recovery/root)


5.  add modules (.ko files) to
init.recovery.<device >.rc

6. Build TWRP

Method 2:

From Smiley

To fix touch in recovery edit drivers/input/touchscreen/...../touch_common/ touch_feature.c in kernel
change NORMAL_BOOT to RECOVERY_BOOT

Method 3
Use Touchless theme
https://t.iss.one/physwizz3/83447


@physwizz

References:
https://github.com/DrakulaGonchik/android_device_samsung_a3core/tree/TWRP

https://github.com/edward0181/android_device_samsung_a23xq

Or

https://gist.github.com/lopestom/685cdd9c71476e9daf95ca612066e23f

If that doesn't work make the following changes to the custom kernel from
@cardiffian

1. Searched drivers/input/touchscreen for "RECOVERY_BOOT"
2. removed line from each of the files, leaving only FACTORY_BOOT.
    [ when these drivers now call getbootmode, being in recovery mode will make no difference ]
3. Searched again for NORMAL_BOOT
4. changed all instances to RECOVERY_BOOT.
[ tricking the drivers, normal boot is recovery boot ;) ]

see the commit here which will make more sense
https://github.com/forforksake/android_kernel_samsung_a145p/commit/ecdcea206bbc7d11c776cba03fa7420bca32768b?diff=split

Then build the kernel and add it to the TWRP
a235-twrp-v4.tar
37.3 MB
A235 twrp v4
Qualcomm SM6225 Snapdragon 680

touch working
Format Data working

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

@physwizz
physwizz_A042f-T-kernel-u1.zip
13.4 MB
A04e (SM-A042) kernel
Mediatek MT6765 Helio P35 

Android 13


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

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

@physwizz
j7duolte-twrp-v1.tar
37.4 MB
J7 Duo twrp
Exynos 7885

For testing

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

@physwizz
twrp-j7duolte-v2.tar
32.7 MB
J7 Duo twrp v2
Exynos 7885

With compressed ramdisk

For testing

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

@physwizz
a032-twrp.tar
34.2 MB
A03 core (A032) twrp
Unisoc SC9863A
Android 11

Touch not working after shut-off and reboot
Use usb mouse


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


Ported from a035/a037 by
@physwizz
https://github.com/physwizz/a037-a03s-recovery-dt
A145P-A145R-twrp-build4.tar
77 MB
A145P A145R twrp
Mediatek MT6769

Build 4
Extra partitions added

Touch not working.
Use usb mouse

https://t.iss.one/physwizz2/841?comment=59820
https://t.iss.one/physwizz2/841?comment=63267

Do not format data

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

@physwizz
Use this if you can't install twrp or you want to install large GSIs
You need to patch stock recovery for fastbootd

@physwizz


To patch stock recovery for fastbootd
https://t.iss.one/physwizz2/1416

Installing GSIs

1. Flash patched recovery from odin
2. Reboot to recovery and enter fastbootd.
3. Connect phone to pc (make sure you have installed ADB and fastboot tools on pc)
4. To make sure you have a connection type:
fastboot devices
5. To root type:
fastboot flash boot [patched boot.img address]
6. To install GSI type:
fastboot erase userdata
fastboot erase system
fastboot flash system [GSI system.img address]
7. To reboot:
fastboot -w
fastboot reboot

If it gets stuck

1. Restart your phone to recovery
2. Factory data reset
3. Wipe cache
4. Reboot

Also see this
https://xdaforums.com/t/tutorial-how-to-install-a-gsi-rom-on-a14-4g-devices.4647327/#post-89235412

To install large GSIs use this

https://android.stackexchange.com/questions/249441/resize-data-on-stock-recovery
1