[RECOVERY][UNOFFICIAL] TWRP for Galaxy A40

Search This thread

ponces

Recognized Developer
juste tested and... IT WORKS on the latest firmware SJ1
thank you very much ponces ! :D

and just made that after

2/ Root
just patch the boot .img and the root is kept (no need to power on the phone in TWRP or power it with Vol+ and power)

3/ Modded the bootlogo
:good:

Yes, I can also confirm that it works! Great!
 

the executioner

Senior Member
Feb 9, 2017
126
38
great .... I haven't tried it yet and I wonder if anyone can describe well how to flash everything ... thanks dev
 

tys0n

Senior Member
You can try to use the link again.
I updated the boot.img to pass SafetyNet.

Thanks for the quick link replacement!
I took the time to update to ASJ3, October patch and it's working fine so far :)
I didn't even wipe data in the update process and the only things I've noticed so far is that I had to re-add wifi password and re-set my rules for goodlock routines module to keep my phone unlocked while connected to my home wifi.
Other then that it all seem to work.
 

xeroin82

Senior Member
May 29, 2014
52
5
Dark side of the Liguria
Sto parlando di quello che succede dopo che installo questa versione di twrp da zero.. firmware, bootloader sbloccato, flash recovery, flash multidisabler (I don't use other roms) and nfc doesn't work anymore, it doesn't turn off from the control screen
 
D

Deleted member 10377367

Guest
Hi. I was wondering what method you used to make the image file into an odin flashable file. I tried to use a tool to do this, but it screwed the firmware up and I had to re-flash it. So I am just wondering what method or program you used, because that might fix it.
EDIT: Nevermind, I must have downloaded it from somewhere else and thought it was from here, sorry.
 
Last edited by a moderator:

fredapied

Senior Member
Sep 28, 2010
73
2
Hi. I was wondering what method you used to make the image file into an odin flashable file. I tried to use a tool to do this, but it screwed the firmware up and I had to re-flash it. So I am just wondering what method or program you used, because that might fix it.
Which "image file" ?


Envoyé de mon SM-A405FN en utilisant Tapatalk
 
D

Deleted member 10377367

Guest
I tried flashing this to my phone, but Odin just crashed. I have the latest version, tried both as admin and without it. I have flashed firmware on my phone with Odin before, so that is not the problem. It only happens when I try to flash this image. Any idea why?
 

fredapied

Senior Member
Sep 28, 2010
73
2
I tried flashing this to my phone, but Odin just crashed. I have the latest version, tried both as admin and without it. I have flashed firmware on my phone with Odin before, so that is not the problem. It only happens when I try to flash this image. Any idea why?
Are you using the right file corresponding to your phone's firmware ?
Did you put the file in "ap" ?
Is your phone well connected to Odin ?

Envoyé de mon SM-A405FN en utilisant Tapatalk
 
D

Deleted member 10377367

Guest
Are you using the right file corresponding to your phone's firmware ?
Did you put the file in "ap" ?
Is your phone well connected to Odin ?

Envoyé de mon SM-A405FN en utilisant Tapatalk

Not sure what you mean about using the right file corresponding to my phone's firmware, as I am not flashing firmware on my phone. I just said that I flashed firmware on it before and it has worked before.

Yes, I did put the file in AP.

Phone is well connected to the pc, with original cable, and it is being detected by Odin.
 

fredapied

Senior Member
Sep 28, 2010
73
2
I mean there is a file TWRP version for each firmware (sj1 ...)

Envoyé de mon SM-A405FN en utilisant Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    Team Win Recovery Project 3.3.1

    https%3A%2F%2Fwww.maketecheasier.com%2Fassets%2Fuploads%2F2019%2F01%2Ftwrp-featured.jpg

    Exynos ONLY.
    In NO way it is compatible with Snapdragon variants including but not limited to American(U/A/T/P/V), Chinese(0/8/6), Hong Kong(0), Japanese(SC-*), Canadian(W) variants.


    Special Notes:
    1. DON'T FORGET TO ENABLE "OEM UNLOCK" (located in Developers options).
    2. KNOX will be tripped once you flashed custom binaries to your phone.
    (Your warranty may be voided. However this may not affect you if your country forces Samsung to provide hardware warranty regardless of software status.)
    3. Samsung Firmware OTA (aka System Updates) will no longer work once you flashed custom binaries.
    (You can flash custom ROMs if you want to keep the OS up-to-date.)
    4. All apps that use KNOX like Samsung pay, Secure Folder and maybe more will no more work


    Download: A40(Exynos variant - A405F)

    TWRP

    A40 MultiDisabler

    DM-VerityDisabler&ForceEncrypt

    GSI_MTP_Enabler

    Sources:

    TWRP


    Guide:

    1. Go to developer settings and enable OEM unlocking
    2. Reboot the device into download mode
    3. Follow instructions in download mode to UNLOCK your bootloader
    4. This will wipe your data partition so beware , boot phone to system and let it connect to internet after bootloader unlock.
    5. Reboot into download mode and FLASH included TWRP tar file
    6. Boot into twrp
    7. Format Internal storage in TWRP
    8. Flash the multidisabler zip *Copy this to your SDCARD before wiping internal etc* this is for disabling all checks ( HUGE thanks to @geiti94)
    9. Make sure you are rooted with latest Magisk otherwise you will lose twrp
    Bugs:

    - USB OTG mount for the moment

    [/YOUTUBE]​

    NOTE: I don't own the device myself , but i do have A305F which is pretty similar to this device so building should be fairly similar

    Thanks to @DerGraf1997 for testing blindly for me
    6
    PERFECT ! WORKS excellent now. I'm writing this small noob-friendly tutorial so people can follow, I hope it's fool proof.

    Step 0: Prereq
    Download all the zip files from the main page on your phone and put them in the external SD card.

    How to enable developer
    Goto settings -> About Phone -> Software Information -> Tap "build number" 5 times

    Enable OEM unlocking
    Go back to Settings -> Developer options -> Enable "Oem unlocking" (if you do not see this option OR its grayed out try to connect your phone to internet, or follow this https://forum.xda-developers.com/ga...-to-skip-oem-lock-waiting-7-days-100-t3823361)

    Note: Enabling OEM unlock here does not mean your OEM is unlocked! This switch only allows you to unlock it..Also enable USB debugging.

    Turn off your phone.

    Next: hold UP + Power until you will see a green screen. It must say "Hold long up to OEM/bootloader unlock." Follow those steps, to unlock it.
    Congrats, now your OEM is unlocked. Turn off your phone.

    Install TWRP
    Hold UP + Power again. In the screen select "wipe data (factory reset). Then select Turn off Phone (should be one of the lower options)

    While phone is off, hold UP + DOWN volume and attach USB cable to your phone. It should go into download mode.

    In Odin, put the TWRP_A40 image in AP
    Un-tick Auto reboot in the options tab.

    Remove usb cable.

    Tricky part: hold 7 seconds down+power. As soon as screen goes black hold UP + power!
    Now you should be in TWRP!!

    Once inside TWRP
    Flash all the zip files you downloaded to your SD card
    Go back to main menu, select reboot -> Recovery. Then reboot normally.

    Enjoy =) Android must now boot up normally.
    5
    Twrp updated 3.3.1-2
    - Fixed MTP for GSI roms included GSI_MTP_PATCH.zip to get it working on Gsi properly
    - For data backup to work , flash whole samsung firmware with odin , flash twrp and flash DM-Verity , force encryption fix linked in OP
    Dont flash Multidisabler if you want data backup to work.
    4
    Telegram:

    https://t.me/GalaxyA2019


    Changelog:

    22.09.2019

    - Fixed MTP for GSI roms
    included also GSI_MTP_PATCH.zip to get it working on Gsi properly
    - For data backup to work , flash whole samsung firmware with odin , flash twrp and flash DM-Verity , force encryption fix linked in OP .Dont flash Multidisabler if you want data backup to work

    17.09.2019

    - Based on latest kernel sources available ASE4
    - Initial Release



    More instructions & differences between disablers

    1. If you intend to flash twrp only & keep OneUi intact
    Flash A40 multidisabler after flashing twrp, this will disable all samsung checks
    Note : You will have to wipe your internal storage to get encryption fixed

    2. If you plan on flashing some rom that has security checks disabled like GSI or custom roms. Then just flash twrp & flash Dmverity fix after rom. (data backup will only work with this)
    Note: If you flash multidisabler and later on wish to flash gsi & dm verity . Your data partition wont backup in twrp.
    3
    As from screenshot our partition is a only hope that's helps
    Use A/B .

    Follow the link for more information
    Link to Phh

    PS. Working GSIs on A30/A40 right now are

    Lineage OS 16.0 build by AndyVan
    Havoc OS GSI
    Phh Aosp 9/10

    More maybe. But these are the most stable ones.