FORUMS
Remove All Ads from XDA

[RECOVERY][UNOFFICIAL] TWRP for Galaxy A40

3,156 posts
Thanks Meter: 6,319
 
By fahadali2315, Senior Member on 17th September 2019, 02:32 PM
Post Reply Email Thread
29th November 2019, 07:37 PM |#71  
ponces's Avatar
Senior Member
Flag Porto
Thanks Meter: 39
 
More
Quote:
Originally Posted by chiri137

https://www.android-hilfe.de/forum/s...29.927501.html

I believe @fredapied mean't which Samsung firmware did you flash before flashing the rom you mentioned.
Was it October's update? Version name ends in SJ1
Or the one from July? Version name ends in SG1
29th November 2019, 10:48 PM |#72  
Member
Thanks Meter: 0
 
More
Yes ponces you're right !
I mean The samsung's firmware.
I think there's nothing yet for the latest firmware.

Envoyé de mon SM-A405FN en utilisant Tapatalk
2nd December 2019, 02:28 PM |#73  
Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by fahadali2315

Team Win Recovery Project 3.3.1



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

Hi, according to you, could this process work with A70 A705FN ? thx
6th December 2019, 08:14 PM |#74  
Junior Member
Thanks Meter: 1
 
More
My phone is in a loop boot
Quote:
Originally Posted by chiri137

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/gal...s-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.

After following these instrucions my Samsung A40 keeps looping while prompting these messages :
"The phone is not running Samsung's official software. You may have problems with features or security and wont be able to install software updates"

followed by

"This phone's bootloader is unlocked and its software integrity cannot be verified. Any data on this phone may be vulnerable to attackers. Dont store any important or sensitive information on this phone."

Could i get some help ? it is my first time installing TWRP on a samsung device and i wonder what has gone wrong...

Edit: ive had october update installed, so maybe should i flash a previous samsung firmware ?

Edit 2 : Flashed version A405FNXXU2ASG1 and then flashed twrp now everything works fine

Edit 3: Tried to flash SuperSU and then got into a loop boot, then repeated the process and attempted to flash magisk (it failed) and ended up again in a loop boot... can i get any help ?
This is how i proceeded : I flashed twrp then wiped the phone, flashed the multidisabler then immediatly after flashed magisk... and ended up in a loop boot

I note that to get out of the loop boot i flash the stock rom of build number A405FNXXU2ASG1 (july update) I have tried to patch the AP file with magisk manager but ended up on a stuck samsung logo after rebooting. I then reverted to the stock rom.
If anyone could help me, here is my discord: BangaJuice#2760 or simply reply to this message, i will answer as soon as i see it

BangaJuice.
6th December 2019, 08:31 PM |#75  
Member
Thanks Meter: 0
 
More
Actualy On the latest firmware, twrp doesn't work.
You Can change those warnings screens
See here

https://forum.xda-developers.com/sho...php?p=79884146




Envoyé de mon SM-A405FN en utilisant Tapatalk
7th December 2019, 03:23 AM |#76  
ponces's Avatar
Senior Member
Flag Porto
Thanks Meter: 39
 
More
New test version
Is there someone with the October's update installed (A405FNXXU2ASJ1) that could test this new version I built?
Download here.

This was built from source using the kernel source files from Samsung's Open Source platform and TWRP's repo.
Thank you!
The Following 2 Users Say Thank You to ponces For This Useful Post: [ View ] Gift ponces Ad-Free
7th December 2019, 11:38 PM |#77  
Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by ponces

Is there someone with the October's update installed (A405FNXXU2ASJ1) that could test this new version I built?

Download here.



This was built from source using the kernel source files from Samsung's Open Source platform and TWRP's repo.

Thank you!

Same instructions ?

unlock.[*]Reboot into download mode and FLASH included TWRP tar file [*]Boot into twrp[*]Format Internal storage in TWRP [*]Flash the multidisabler zip

All data wiped ?
Have tried yourself ?

Envoyé de mon SM-A405FN en utilisant Tapatalk
8th December 2019, 04:22 AM |#78  
Junior Member
Thanks Meter: 1
 
More
I reverted back to The older version
Quote:
Originally Posted by fredapied

Actualy On the latest firmware, twrp doesn't work.
You Can change those warnings screens
See here

https://forum.xda-developers.com/sho...php?p=79884146




Envoyé de mon SM-A405FN en utilisant Tapatalk

I reverted back to The older version but when trying to flash magisk or superSU i end up in a loop boot
8th December 2019, 11:03 AM |#79  
ponces's Avatar
Senior Member
Flag Porto
Thanks Meter: 39
 
More
Quote:
Originally Posted by fredapied

Same instructions ?

unlock.[*]Reboot into download mode and FLASH included TWRP tar file[*]Boot into twrp[*]Format Internal storage in TWRP[*]Flash the multidisabler zip

All data wiped ?
Have tried yourself ?

Envoyé de mon SM-A405FN en utilisant Tapatalk

Yes, same instructions apply.
Did not have the time to try yet, but most probably tomorrow I'll try.
The free time I had this weekend was only to create the repos and this build.

But did you already try it?
8th December 2019, 11:48 AM |#80  
Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by ponces

Yes, same instructions apply.
Did not have the time to try yet, but most probably tomorrow I'll try.
The free time I had this weekend was only to create the repos and this build.

But did you already try it?

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

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
8th December 2019, 09:10 PM |#81  
ponces's Avatar
Senior Member
Flag Porto
Thanks Meter: 39
 
More
Quote:
Originally Posted by fredapied

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

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

Yes, I can also confirm that it works! Great!
The Following 2 Users Say Thank You to ponces For This Useful Post: [ View ] Gift ponces Ad-Free
Post Reply Subscribe to Thread

Tags
samsung-galaxy-a40

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes