Physwizz Collection
4.09K subscribers
38 photos
651 files
809 links
Guides, kernels and hints for the Samsung a-series
Download Telegram
a145P_a145R_twrp_port1.tar
26.6 MB
TWRP for A145P & A145R

Twrp ported from a037
For testing

Partition added

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


@physwizz
twrp-a146P-a146R-v3.tar
40 MB
A146P A146R TWRP v3

Partition corrections still needed
Touch works

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


@physwizz
twrp-a146p-v3.2.tar
40 MB
A146P A146W TWRP v3.2
Mediatek MT6833 
Finally working

Touch works
External SD card visible
USB otg visible

Do not format data

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


@physwizz
A145P-A145R-twrp-build3.tar
77 MB
A145P A145R twrp build 3

For testing

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


@physwizz
twrp-a145p-port2.tar
30 MB
A145P A145R twrp
Ported from a146p v3.2

For testing

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


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