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

Search This thread

ax0

Member
Jan 25, 2023
33
1
LG G3
Nexus 9
I compiled a WORKING recovery with my friend for samsung a137f ! and its working. I have proof
this recovery was found at https://github.com/edward0181/android_device_samsung_a13ve

but I have encrypted Data partition and I want to decrypt it...
I can't format data through TWRP ;-;
Could you attach a prebuilt image file?

1677608671684.png
 

wojtekojtek

Member
Nov 29, 2022
38
9
Microsoft Lumia 950/950 XL
ok im gonna sound a little dumb,
but the phone bootloops!
Ive done everything you've set before
What should I do now?
1. Download samsung's stock firmware here
2. Extract zip file
3. Using 7zip unpack the recovery.img.lz4 file
4. Pack it into tar file,
5. Reboot to download mode
6. Flash the recovery tar file
7. Boot your phone
-------------------
To make TWRP working:
8. Install Magisk on phone
9. Copy AP file to phone
10. Patch it using magisk
11. Move it to pc
12. Flash it (you will lose data)
- in AP slot add your patched file
- in BL add BL file
- in CSC add CSC file
- in CP add CP file
13. Boot your phone
14. Flash TWRP
15. Boot your phone again
 

ax0

Member
Jan 25, 2023
33
1
LG G3
Nexus 9
1. Download samsung's stock firmware here
2. Extract zip file
3. Using 7zip unpack the recovery.img.lz4 file
4. Pack it into tar file,
5. Reboot to download mode
6. Flash the recovery tar file
7. Boot your phone
-------------------
To make TWRP working:
8. Install Magisk on phone
9. Copy AP file to phone
10. Patch it using magisk
11. Move it to pc
12. Flash it (you will lose data)
- in AP slot add your patched file
- in BL add BL file
- in CSC add CSC file
- in CP add CP file
13. Boot your phone
14. Flash TWRP
15. Boot your phone again
What magisk should I use? When I tried using Magisk, the phone tried to boot up but after the "Powered by Android" screen it rebooted

update: even when I flash stock firmware it still bootloops 😭 (even with factory reset it bootloops, is the bootloader the problem?)

update's update: I bricked the phone? It just bootloops, Re-Partioning doesnt work and it restarts every time, event in recovery, even when "erasing" 😢
 
Last edited:

wojtekojtek

Member
Nov 29, 2022
38
9
Microsoft Lumia 950/950 XL
What magisk should I use? When I tried using Magisk, the phone tried to boot up but after the "Powered by Android" screen it rebooted

update: even when I flash stock firmware it still bootloops 😭 (even with factory reset it bootloops, is the bootloader the problem?)

update's update: I bricked the phone? It just bootloops, Re-Partioning doesnt work and it restarts every time, event in recovery, even when "erasing" 😢
Did you flashed all files? (Cp, csc, bl, ap)
If no, then try, maybe it will work...

Edit: also wipe data after flashing stock firmware
 
Last edited:

oswald_pu

Member
Sep 19, 2017
18
5
Thank you very much for your work on 137f.
Will some day a easy-to-handle solution like a lineageOS build result from your valued work?

I recently obtained a 137f, but my S5 is still working, so lazy bone I am I'd rather take an easy path...

Cheers,
Wolf
 

physwizz

Senior Member
Sep 16, 2013
3,940
889
Sydney
Thank you very much for your work on 137f.
Will some day a easy-to-handle solution like a lineageOS build result from your valued work?

I recently obtained a 137f, but my S5 is still working, so lazy bone I am I'd rather take an easy path...

Cheers,
Wolf
Thanks.
I don't own this device.
While you're waiting for a rom you could try my wizzROM magisk creator module.


wizzROM Creator magisk module v4 Thermal

DO NOT INSTALL FROM TWRP

for all Samsung phones


Debloated ROM with Extras
Fixed apps in system/product
Extras:
Battery charge limit
Clean Master
ES file explorer
HKtweaks
SimpleReboot
Root Explorer
Zarchiver
physwizz-2

Thermal throttling removed

Make sure your OneUI ROM iis running befote you start
Installation
1 Backup system from recovery
2 Install the creator from Magisk
3 Reboot
4 Enjoy

NOTE: you may still need to delete some apps from the app drawer.

Name your wizzROM (optional)

1. Use a root explorer to navigate to system/build.prop
2. Tap to Edit build.prop like this

ro.build.display.id=<your-name>

3. Tap disk icon to Save & Reboot


Xda post

@physwizz
 

Attachments

  • wizzROM-creator-module-v4.1.zip
    55.6 MB · Views: 27

edward0181

Senior Member
Jul 28, 2013
255
95
Spijkenisse
Samsung Galaxy A12
ok lmk when its done building
Hi, I've build Orangefox TWRP variant for A13 SM-A137F (MTK) phone.

Decryption still not working and disabling FBE break Samsung OS... so take it as it is.
If someone wants to help with correct decyption blobs, then please ;-)
 

Attachments

  • recovery-unzip-first for odin.zip
    28.1 MB · Views: 19
  • OrangeFox-R11.1_A11.0-Unofficial-a13ve.zip
    77.8 MB · Views: 35

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Thank you very much for this hint. It's really confusing, as I could not find a comprehensive instruction for this phone. For an ordinary person it's hard to distinguish what to do. I'll be happy to collect all the data and write an instruction for this phone - promised. But I'd need a little help.

    Questions so far:

    1. I found these instructions. But my guess is that it's not necessary to perform all these steps. True? - Should it be possible just to flash the image into the phone, following instructions at the Odin page?
    2. I found I do need a "arm32-binder64" Type "A" ROM. True? - Or will an "AB" work as well? - More of the latter seem to be around.
    3. system-td-arm32_binder64-ab-vanilla.img.xz from https://github.com/TrebleDroid/treble_experimentations/releases seems to be a promising candidate. True?
    4. Images normally come as *.img files, Odin requires *.tar files. Is it good enough to just tar these files for Odin?
    Sorry for these amateurish questions - but those do occur at amateurs'....

    Cheers,
    Wolf
    nah
    I can help you.
    I'm using lineageos 20 td-based with gapps and magisk as daily driver.
    Just download your system (you can try this one: https://github.com/TrebleDroid/treble_experimentations/releases, but lineageos is really better :| )
    You should use system-td-arm32_binder64-ab-vanilla.img.xz (binder64, ab).
    here's how:

    1.1 backup your data
    1.2 unlock bootloader :)))
    1.2.1 check if bootloader is unlocked (go to settings>developer menu and check OEM unlock toggle)
    1.3 check what version of android you want to install
    1.4 download stock firmware (samfw.com)
    1.4.1 enter your model
    1.4.2 select your csc code (just google it how to check csc code)
    1.4.3 download latest version (download the latest version from android (if the GSI you want is android 12, download the latest firmware which has android 12, and the same with 13))
    1.4.4 unzip file
    1.4.5 go to download mode
    1.4.5.1 run odin
    1.4.5.2 check if odin detected your phone
    1.4.5.3 flash all files (csc, ap, bl, cp) in odin
    1.4.6 reboot
    1.4.7 go to settings>developer menu and check OEM unlock toggle (again huh)
    1.5 install magisk app
    1.5.1 copy AP file into phone
    1.5.2 go to magisk app
    1.5.3 click install > select patch file > select AP file > click install
    1.5.4 in downloads, there should be a file (magisk_xxxxx.tar), copy it to computer
    1.5.5 flash it in odin in AP slot (if you don't know how, check 1.4.5.1-1.4.5.2)
    1.5.6 go to settings>developer menu and check OEM unlock toggle (again again huh)
    1.6 download this to computer(https://forum.xda-developers.com/t/...r-img-on-sm-a127f-and-sm-a325f-linux.4365511/)
    1.6.1 unpack it
    1.6.2 do sudo apt install simg2img xz-utils lz4 unzip gzip jq file
    1.6.3 copy your gsi and stock ap file to repacksuper folder
    1.6.4 do chmod +x ./repacksuper.sh
    1.6.5 do ./repacksuper.sh [ap file] [gsi] my_first_gsi.tar
    2 flash my_first_gsi.tar in odin in AP slot (if you don't know how, check 1.4.5.1-1.4.5.2)
    2.1 press and hold power and vol+ (go to recovery)
    2.2 wipe /data (factory reset)
    2.3 reboot
    2.4 enjoy!

    It took me 3 hours to write all this, if you don't understand something, feel free to ask!
    1
    Wow - thank you so much for all your time.
    Unluckily - as I already wasted quite some hours without any progress - I sold the phone.
    ): **** happens.

    But certainly, other people will benefit from your message. I placed another request here - I'll link your message there so people can find it more easily. And I'll do the same with a request I placed into a German forum.

    Great that people do this work - it's so valuable. Thank you very much.

    Cheers,
    Wolf
  • 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
    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.
    2
    Thank you very much for this hint. It's really confusing, as I could not find a comprehensive instruction for this phone. For an ordinary person it's hard to distinguish what to do. I'll be happy to collect all the data and write an instruction for this phone - promised. But I'd need a little help.

    Questions so far:

    1. I found these instructions. But my guess is that it's not necessary to perform all these steps. True? - Should it be possible just to flash the image into the phone, following instructions at the Odin page?
    2. I found I do need a "arm32-binder64" Type "A" ROM. True? - Or will an "AB" work as well? - More of the latter seem to be around.
    3. system-td-arm32_binder64-ab-vanilla.img.xz from https://github.com/TrebleDroid/treble_experimentations/releases seems to be a promising candidate. True?
    4. Images normally come as *.img files, Odin requires *.tar files. Is it good enough to just tar these files for Odin?
    Sorry for these amateurish questions - but those do occur at amateurs'....

    Cheers,
    Wolf
    nah
    I can help you.
    I'm using lineageos 20 td-based with gapps and magisk as daily driver.
    Just download your system (you can try this one: https://github.com/TrebleDroid/treble_experimentations/releases, but lineageos is really better :| )
    You should use system-td-arm32_binder64-ab-vanilla.img.xz (binder64, ab).
    here's how:

    1.1 backup your data
    1.2 unlock bootloader :)))
    1.2.1 check if bootloader is unlocked (go to settings>developer menu and check OEM unlock toggle)
    1.3 check what version of android you want to install
    1.4 download stock firmware (samfw.com)
    1.4.1 enter your model
    1.4.2 select your csc code (just google it how to check csc code)
    1.4.3 download latest version (download the latest version from android (if the GSI you want is android 12, download the latest firmware which has android 12, and the same with 13))
    1.4.4 unzip file
    1.4.5 go to download mode
    1.4.5.1 run odin
    1.4.5.2 check if odin detected your phone
    1.4.5.3 flash all files (csc, ap, bl, cp) in odin
    1.4.6 reboot
    1.4.7 go to settings>developer menu and check OEM unlock toggle (again huh)
    1.5 install magisk app
    1.5.1 copy AP file into phone
    1.5.2 go to magisk app
    1.5.3 click install > select patch file > select AP file > click install
    1.5.4 in downloads, there should be a file (magisk_xxxxx.tar), copy it to computer
    1.5.5 flash it in odin in AP slot (if you don't know how, check 1.4.5.1-1.4.5.2)
    1.5.6 go to settings>developer menu and check OEM unlock toggle (again again huh)
    1.6 download this to computer(https://forum.xda-developers.com/t/...r-img-on-sm-a127f-and-sm-a325f-linux.4365511/)
    1.6.1 unpack it
    1.6.2 do sudo apt install simg2img xz-utils lz4 unzip gzip jq file
    1.6.3 copy your gsi and stock ap file to repacksuper folder
    1.6.4 do chmod +x ./repacksuper.sh
    1.6.5 do ./repacksuper.sh [ap file] [gsi] my_first_gsi.tar
    2 flash my_first_gsi.tar in odin in AP slot (if you don't know how, check 1.4.5.1-1.4.5.2)
    2.1 press and hold power and vol+ (go to recovery)
    2.2 wipe /data (factory reset)
    2.3 reboot
    2.4 enjoy!

    It took me 3 hours to write all this, if you don't understand something, feel free to ask!
    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

    For testing only

    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
    Wow - thank you so much for all your time.
    Unluckily - as I already wasted quite some hours without any progress - I sold the phone.
    ): **** happens.

    But certainly, other people will benefit from your message. I placed another request here - I'll link your message there so people can find it more easily. And I'll do the same with a request I placed into a German forum.

    Great that people do this work - it's so valuable. Thank you very much.

    Cheers,
    Wolf