Galaxy A13 (SM-A135F and SM-A137F) Custom Kernel

Search This thread

wojtekojtek

Member
Nov 29, 2022
9
1
Microsoft Lumia 950/950 XL
If you send me your recovery.img.lz4 and boot.img.lz4 I'll see what I can do
I created a WORKING recovery with my friend for samsung a137f ! and its working. I have proof

but I have encrypted Data partition and I want to decrypt it...
I can't format data through TWRP ;-;
 

Attachments

  • WP_20230128_19_46_27_Pro_LI.jpg
    WP_20230128_19_46_27_Pro_LI.jpg
    1.7 MB · Views: 7
  • WP_20230128_19_46_18_Pro_LI.jpg
    WP_20230128_19_46_18_Pro_LI.jpg
    1.5 MB · Views: 7
  • WP_20230128_19_46_36_Pro_LI.jpg
    WP_20230128_19_46_36_Pro_LI.jpg
    1.6 MB · Views: 7
  • WP_20230128_19_46_40_Pro_LI.jpg
    WP_20230128_19_46_40_Pro_LI.jpg
    1.9 MB · Views: 7
  • WP_20230128_19_47_25_Pro_LI.jpg
    WP_20230128_19_47_25_Pro_LI.jpg
    1.5 MB · Views: 7
  • WP_20230128_19_48_23_Pro_LI.jpg
    WP_20230128_19_48_23_Pro_LI.jpg
    1.8 MB · Views: 7
Last edited:

physwizz

Senior Member
Sep 16, 2013
3,742
839
Sydney
I created a WORKING recovery for samsung a137f ! and its working. I have proof

but I have encrypted Data partition and I want to decrypt it...
I can't format data through TWRP ;-;
Great news.
Use stock recovery to format
Method 1.
1. Connect to pc and boot into stock recovery
2. Factory reset
3. Reboot into download mode.
4. flash twrp.tar into the ap slot
5. reboot to recovery from main menu (not just reboot)
be patient- It may take a while
6. Advanced, terminal. Type multidisabler (twice).
7.
Or flash samsung multidisabler zip
Or, for older phones flash dmverity zip
8. Reboot to recovery from main menu (not just reboot)
Backup boot, data, super and dtbo
9. Reboot to system
 

physwizz

Senior Member
Sep 16, 2013
3,742
839
Sydney

Attachments

  • system.zip
    2.4 KB · Views: 4

wojtekojtek

Member
Nov 29, 2022
9
1
Microsoft Lumia 950/950 XL
Would have been nice if people just asked if it’s ok.
But anyway, above solution would work. Still building it up with decryption working. Need the correct libs and init files configs.
Hello :D
when will new version release? and can you compile it yourself and add to releases? and.... why you had error in fstab to mount userdata? lol
if you want, I can test it / or help you with sth (I have a137f phone)

edit: I can now wipe data but I can't boot into OS after this, it show an Android Rescue party trigger

reason is fs_mgr_mount_all
 
Last edited:

edward0181

Senior Member
Jul 28, 2013
234
89
Spijkenisse
Samsung Galaxy A12
Hello :D
when will new version release? and can you compile it yourself and add to releases? and.... why you had error in fstab to mount userdata? lol
if you want, I can test it / or help you with sth (I have a137f phone)

edit: I can now wipe data but I can't boot into OS after this, it show an Android Rescue party trigger

reason is fs_mgr_mount_all
Had bigger challenges then that hihi.
My biggest issue is the touchscreen not working on my kernel version. To mount data correctly isn’t an issue. Getting it to decrypt on these stupid mtk devices is….

Will push it once done. It’ll take me some time.

Edward
 
  • Like
Reactions: wojtekojtek

Top Liked Posts

  • 1
    Hello :D
    when will new version release? and can you compile it yourself and add to releases? and.... why you had error in fstab to mount userdata? lol
    if you want, I can test it / or help you with sth (I have a137f phone)

    edit: I can now wipe data but I can't boot into OS after this, it show an Android Rescue party trigger

    reason is fs_mgr_mount_all
    Had bigger challenges then that hihi.
    My biggest issue is the touchscreen not working on my kernel version. To mount data correctly isn’t an issue. Getting it to decrypt on these stupid mtk devices is….

    Will push it once done. It’ll take me some time.

    Edward
    1
    mouse is working, touch screen also but after 1-2 minutes
    Common issue on stock kernel. Need to build kernel with correct drivers. Is on my to do list for tomorrow.
    I do have the same device, did the twrp on sm-a125f as well. Just need more then 24 hours in one day
  • 1
    hes working on fixing that twrp
    currently the fstab is incorrect, but thats fixed.
    now we're gonna see if we can get it to properly format data and boot into android correctly, then we'll test flashing a little more thoroughly
    1
    Hello :D
    when will new version release? and can you compile it yourself and add to releases? and.... why you had error in fstab to mount userdata? lol
    if you want, I can test it / or help you with sth (I have a137f phone)

    edit: I can now wipe data but I can't boot into OS after this, it show an Android Rescue party trigger

    reason is fs_mgr_mount_all
    Had bigger challenges then that hihi.
    My biggest issue is the touchscreen not working on my kernel version. To mount data correctly isn’t an issue. Getting it to decrypt on these stupid mtk devices is….

    Will push it once done. It’ll take me some time.

    Edward
    1
    mouse is working, touch screen also but after 1-2 minutes
    Common issue on stock kernel. Need to build kernel with correct drivers. Is on my to do list for tomorrow.
    I do have the same device, did the twrp on sm-a125f as well. Just need more then 24 hours in one day
  • 3
    physwizz a13 kernel
    Based on a135f U1 binary and u2 binary

    A137f kernel in post #24
    ====================


    For OneUI 4
    ( also works for GSIs)

    Samsung securities disabled
    More CPU governors
    Conservative, On-demand, Userspace, powersave, performance, energy_step, shedutil
    Optimised for performance
    Overclocked for performance
    Underclocked for battery
    CPU: 130MHz - 2210MHz
    lz4 default compression added to zram

    Installation

    Kernel source code

    @physwizz
    2
    yes if you can do the best possible for my equipment, thank you
    Here it is.
    Kernel for a137f
    physwizz A137f S kernel version 1

    Mediatek MT6769V/CU Helio G80

    For OneUI 4
    ( also works for GSIs)

    Samsung securities disabled
    Optimised for performance
    lz4 default compression added to zram

    Installation


    Kernel

    @physwizz
    1
    How to Root and Install custom Recovery TWRP on this device? also I am looking for any Custom ROM, I want to sell this phone if there is no any Custom ROM 64bit version, I hate Android 32bit.
    1
    this kernel helps to get more speed on A13? and about rom's? i search for costum roms for A13 and i dont found anything, do you guys know?
    Yes it will give you better performance.
    Debloated stock is best
    1
    please how to flash kernel
    Installing physwizz custom kernels

    INSTALL AT YOUR OWN RISK
    I AM NOT RESPONSIBLE FOR ANY BRICKED PHONES
    But I will help any well-mannered person to recover.

    A. Preparation

    1. Root the phone
    2. Compress your patched boot.img to make boot.tar
    3. Copy boot.tar to PC


    B. Installation

    Method 1
    Install from twrp

    Reboot to recovery
    Backup boot and dtbo (if available)
    Install kernel zip
    Wipe both caches
    Reboot

    Method 2
    Install kernel from terminal.

    1. Download magisk module (magic-flash.zip) from https://github.com/Magisk-Modules-Alt-Repo/magic-flash
    2. Install module and reboot.
    3. Open terminal.
    4. Navigate to folder containing kernel.zip.
    Use
    ls to list contents
    and
    cd to change directories
    5. Type su
    6. Type flash kernel_name.zip
    7. Reboot

    Method 3
    Using ADB

    Install adb tools on pc
    Connect to PC
    Copy zip file to adb folder on pc
    Open terminal on pc
    Navigate to adb folder
    Type
    adb sideload file-name.zip

    Method 4
    Using boot.img

    Install AIK Mobile from magisk modules
    Use rootexplorer to access
    /data/local/AIK-MOBILE
    Add patched boot.img and tap unpackimg.sh
    Exit the folder and return to see the files.
    Edit the files (eg to add a new Image
    rename Image to boot.img-zImage and insert in split-image folder)
    Tap repackimg.sh
    Rename new_image.img to boot.img
    Compress boot.img to boot.tar
    Copy boot.tar to PC
    Reboot phone to download mode
    Install boot.tar from odin

    AIKLink


    C. Removal

    Method 1
    Reboot to recovery
    Restore boot and dtbo
    Reboot

    Method 2.
    Reboot phone to download mode
    Install patched boot.tar from odin


    @physwizz