[RECOVERY][ROOT]TWRP 3.0.2.1 Galaxy SM-A700FD - MARSHMALLOW - Galaxy A3, A5, A7, A8, A9 Android Development

Unofficial release -TWRP recovery for the Galaxy A7 - SM-A700FD - Qualcomm msm8939
UPDATE 4/8/2016:
TWRP 3.0.2-1 MM build.
You flash this at your own risk. Please ensure you have the stock ROM to hand downloaded from SAMMOBILE in case of problems. This will trip the knox counter.
Instructions:
Flash with ODIN 3.10.7 in the AP slot.
Uncheck Auto reboot.
Load the respective file below into the AP slot and hit start.
After flashing immediately reboot to recovery by holding POWER + HOME + VOL DOWN.
As soon as the screen goes blank change to VOL UP whilst still holding POWER + HOME.
You should now see TWRP recovery.
MARSHMALLOW:
twrp_3.0.2-1_sm-a700fd_mm_4816
PLEASE DO *NOT* DIRECT LINK TO THESE FILES. PLEASE LINK TO THIS POST
To Root:
Flash the file below with TWRP:
https://download.chainfire.eu/969/SuperSU/
DEVICE TREE: soon
NOTE: ON SOME ANDROID 5.1.1/6.0.1 DEVICES IT IS NECESSARY TO GO TO:
Settings -> Developer Options -> OEM unlocking
AND ENABLE OEM UNLOCK FIRST OR YOU MAY ENCOUNTER 'BLOCKED BY FRP LOCK' WHEN FLASHING.
Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from.
FEEDBACK IS APPRECIATED PLEASE.
THANKS.
DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU
.
.

Reserved

Will it work with Lollypop? On my SM-a7100 (also Qualcomm msm8939) it installs file with odyn, but when i try to reboot in TWRP - sams bootscreeen + error
P.s. Really like your work!

@ashyx
Thankss ! :good:

mur4ello said:
Will it work with Lollypop? On my SM-a7100 (also Qualcomm msm8939) it installs file with odyn, but when i try to reboot in TWRP - sams bootscreeen + error
P.s. Really like your work!
Click to expand...
Click to collapse
Marshmallow only I'm afraid.

having No OS installed / device isn't rooted and error error executing updater binary in zip when trying to install custom rom in twrp.
Tried to re-flash CF auto root and TWRP but yet it only boot loops. Also tried to flash the firmware from sammobile but failing.. any help? :/ TIA

Set Warranty Bit: kernel
Bootscreen shows "Set Warranty Bit: kernel" in yellow font and booting into recovery shows the Seandroid warning. This happened after flashing twrp and rooting the phone. That's the only problem though because twrp and supersu are working properly. How to fix this? tia!

nieohl said:
having No OS installed / device isn't rooted and error error executing updater binary in zip when trying to install custom rom in twrp.
Tried to re-flash CF auto root and TWRP but yet it only boot loops. Also tried to flash the firmware from sammobile but failing.. any help? :/ TIA
Click to expand...
Click to collapse
Sorry for this. It was my unlocked device in my pocket. Please delete

OEM issue
Im using this sm a700fd device but in my developer mode i dont have OEM option thats the reason my 4 is not getting root not installing Twrp not even cf auto root working plz help .......

thnk u vry mchhhhhhhhhhhh.........................

Related

[RECOVERY][ROOT][TWRP 3.0.2-1]Galaxy A5 - SM-A510F/FD/Y/M - Exynos7580 - MARSHMALLOW

Unofficial release -TWRP recovery for the Galaxy A5 - SM-A510F/FD/Y/M, Exynos7580
UPDATE 2/8/2016:
TWRP 3.0.2-1 MM build released.
Now working on Marshmallow
MTP working
ADB working
Update 5/4/2016 - TWRP 3.0.2.-0
https://twrp.me/site/update/2016/04/05/twrp-3.0.2-0-released.html
TWRP is now v3.0.2-1
SEANDROID warning fix
UI colour fix
New feature available in TWRP 3.0.0-0 is system image backup and restore and factory image flashing (see TWRP changelog for details)
Basically this means factory images from the official firmware can now be flashed with TWRP instead of ODIN. I have extended this feature to include BOOT, RECOVERY, SYSTEM, CACHE, HIDDEN and RADIO(MODEM) partitions.
This feature can be found under INSTALL >> INSTALL IMAGE >> select image to flash >> select partition.
NOTE: To flash the modem, first it needs to be renamed to modem.bin.img
F2FS support added.
Internal SUPERSU root option removed. This is to prevent boot loops on 5.11/6.0 devices
You flash this at your own risk. Please ensure you have the stock ROM to hand downloaded from SAMMOBILE in case of problems. This will trip the knox counter.
Instructions:
Flash with ODIN 3.10.7 in the AP slot.
Uncheck Auto reboot.
Load the respective file below into the AP slot and hit start.
After flashing and ODIN reports PASS immediately reboot to recovery by holding POWER + HOME + VOL DOWN.
As soon as the screen goes blank change to VOL UP whilst still holding POWER + HOME.
You should now see TWRP recovery.
NOTE: ON SOME ANDROID 5.1.1/6.0 DEVICES IT IS NECESSARY TO GO TO:
Settings -> Developer Options -> OEM unlocking
AND ENABLE OEM UNLOCK FIRST OR YOU MAY ENCOUNTER 'BLOCKED BY FRP LOCK' WHEN FLASHING.
GUIDE:
https://dottech.org/193481/how-to-install-twrp-recovery-on-samsung-galaxy-a5-sm-a510-2016-guide/
LOLLIPOP:
twrp_3.0.2-1_sm-a510
MARSHMALLOW:
twrp_3.0.2-1_sm-a510_mm_1816
PLEASE DO *NOT* DIRECT LINK TO THESE FILES. PLEASE LINK TO THIS POST
To Root:
Flash the latest Supersu beta below with TWRP:
DO NOT LET TWRP ROOT YOUR DEVICE IF IT ASKS. USE ONLY THE FILE BELOW:
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
DEVICE TREE: soon
Credits: Me, Teamwin
Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from.
FEEDBACK IS APPRECIATED PLEASE.
THANKS.
DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU
.
.
ashyx said:
Unofficial release -TWRP recovery for the SM-A510F/FD, Exynos7580
You flash this at your own risk. Please ensure you have the stock ROM to hand downloaded from SAMMOBILE in case of problems. This will trip the knox counter.
Instructions:
Flash with ODIN 3.10.7 in the AP slot.
Uncheck Auto reboot.
Load the respective file below into the AP slot and hit start.
After flashing immediately reboot to recovery by holding POWER + HOME + VOL DOWN.
As soon as the screen goes blank change to VOL UP whilst still holding the other buttons.
You should now see TWRP recovery.
twrp_3.0.0-0_sm-a510F
PLEASE DO *NOT* DIRECT LINK TO THESE FILES. PLEASE LINK TO THIS POST
To Root:
Flash the file below with TWRP:
DO NOT LET TWRP ROOT YOUR DEVICE IF IT ASKS. USE ONLY THE FILE BELOW:
https://download.chainfire.eu/921/SuperSU
DEVICE TREE: soon
NOTE: ON SOME ANDROID 5.1.1 DEVICES IT IS NECESSARY TO GO TO:
Settings -> Developer Options -> OEM unlocking
AND ENABLE OEM UNLOCK FIRST OR YOU MAY ENCOUNTER 'BLOCKED BY FRP LOCK' WHEN FLASHING.
Credits: Me, Teamwin and my tester - franzerelli
Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from.
FEEDBACK IS APPRECIATED PLEASE.
THANKS.
DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU
.
.
Click to expand...
Click to collapse
Thank pro. I have already rooted my phone a510fd in vietnam.
nhthiencp said:
Thank pro. I have already rooted my phone a510fd in vietnam.
Click to expand...
Click to collapse
Root được rồi hả bạn?
Reserved.
cant download from androidfilehost. when u will give it free again?
....
wildalan said:
....
Click to expand...
Click to collapse
sry, i already asked him for the file.
@ashyx please help me
Deleted
ashyx said:
Unofficial release -TWRP recovery for the Galaxy A5 - SM-A510F/FD/Y/M, Exynos7580
You flash this at your own risk. Please ensure you have the stock ROM to hand downloaded from SAMMOBILE in case of problems. This will trip the knox counter.
Instructions:
Flash with ODIN 3.10.7 in the AP slot.
Uncheck Auto reboot.
Load the respective file below into the AP slot and hit start.
After flashing immediately reboot to recovery by holding POWER + HOME + VOL DOWN.
As soon as the screen goes blank change to VOL UP whilst still holding the other buttons.
You should now see TWRP recovery.
twrp_3.0.0-0_sm-a510
PLEASE DO *NOT* DIRECT LINK TO THESE FILES. PLEASE LINK TO THIS POST
To Root:
Flash the file below with TWRP:
DO NOT LET TWRP ROOT YOUR DEVICE IF IT ASKS. USE ONLY THE FILE BELOW:
https://download.chainfire.eu/921/SuperSU
DEVICE TREE: soon
NOTE: ON SOME ANDROID 5.1.1 DEVICES IT IS NECESSARY TO GO TO:
Settings -> Developer Options -> OEM unlocking
AND ENABLE OEM UNLOCK FIRST OR YOU MAY ENCOUNTER 'BLOCKED BY FRP LOCK' WHEN FLASHING.
Credits: Me, Teamwin and my testers- iNTER5LOve and franzerelli
Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from.
FEEDBACK IS APPRECIATED PLEASE.
THANKS.
DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU
.
.
Click to expand...
Click to collapse
why my device can't get rooted? a510fd 5.1.1 version.
i pass the odin flash,but when entering recovery,it said : recovery is not seandroid enforcing
and it didnt pass the root checker as well...
Please help
clows said:
why my device can't get rooted? a510fd 5.1.1 version.
i pass the odin flash,but when entering recovery,it said : this device is not seandroid enforcing
and it didnt pass the root checker as well...
Please help
Click to expand...
Click to collapse
You didn't need to quote the OP.
Wait 60 secs.
ashyx said:
You didn't need to quote the OP.
Wait 60 secs.
Click to expand...
Click to collapse
it works..Thanks a lot dude..:good:
clows said:
it works..Thanks a lot dude..:good:
Click to expand...
Click to collapse
I'm going to be working on a fix for the load time when I get chance.
In the mean time can somebody send me the recovery.log.
My phone went into bootloop after dead battery. Fashed it with twrp_3.0.0-0_sm-a510 couple weeks ago. now my phone restarted and I receive always "Custom binary blocked by FAP lock"... Is there a chance to get it back up?
etrax2 said:
My phone went into bootloop after dead battery. Fashed it with twrp_3.0.0-0_sm-a510 couple weeks ago. now my phone restarted and I receive always "Custom binary blocked by FAP lock"... Is there a chance to get it back up?
Click to expand...
Click to collapse
Flash stock Firmware then enable OEM unlock in developer settings.
It's all stated in the first post.
great job ashyx ... it works
can someone pleas post a complete Guide step by step with pictures and all,kinda lost do i have to copy super user zip into an sd card or just in the internal phone memory ?
Gattsu21 said:
can someone pleas post a complete Guide step by step with pictures and all,kinda lost do i have to copy super user zip into an sd card or just in the internal phone memory ?
Click to expand...
Click to collapse
Doesn't matter where you put it. Just follow the instructions given.
ashyx said:
I'm going to be working on a fix for the load time when I get chance.
In the mean time can somebody send me the recovery.log.
Click to expand...
Click to collapse
Here you go:
https://www.dropbox.com/s/y95kcrsmtns46ce/recovery.log?dl=0
Hi,
I want to ask, is the firmware of sm-a510f/fd same?
Im looking firmware for sm-a510fd but no luck...
Thank you before,
Sory my bad english
There is a custom rom for A5 2016? what is without a custom rom?
Inviato dal mio SM-A510F utilizzando Tapatalk

[RECOVERY][ROOT][TWRP 3.0.2-1]Galaxy A7 - SM-A710F/FD/Y/M - Exynos7580

Unofficial release -TWRP recovery for the Galaxy A7 - SM-A710F/FD/Y/M Exynos7580
UPDATE 14/4/2016: TWRP 3.0.2-0 released.
https://twrp.me/site/update/2016/04/...-released.html
TWRP is now v3.0.2-1
SEANDROID warning fix
New feature available in TWRP 3.0.0-0 is system image backup and restore and factory image flashing (see TWRP changelog for details)
Basically this means factory images from the official firmware can now be flashed with TWRP instead of ODIN. I have extended this feature to include BOOT, RECOVERY, SYSTEM, CACHE, HIDDEN and RADIO(MODEM) partitions.
This feature can be found under INSTALL >> INSTALL IMAGE >> select image to flash >> select partition.
NOTE: To flash the modem, first it needs to be renamed to modem.bin.img
F2FS support added.
Internal SUPERSU root option removed. This is to prevent boot loops on 5.11/6.0 devices
You flash this at your own risk. Please ensure you have the stock ROM to hand downloaded from SAMMOBILE in case of problems. This will trip the knox counter.
Instructions:
Flash with ODIN 3.10.7 in the AP slot.
Uncheck Auto reboot.
Load the respective file below into the AP slot and hit start.
After flashing immediately reboot to recovery by holding POWER + HOME + VOL DOWN.
As soon as the screen goes blank change to VOL UP whilst still holding the other buttons.
You should now see TWRP recovery.
twrp_3.0.2-1_sm-a710
PLEASE DO *NOT* DIRECT LINK TO THESE FILES. PLEASE LINK TO THIS POST
To Root:
Flash the file below with TWRP:
DO NOT LET TWRP ROOT YOUR DEVICE IF IT ASKS. USE ONLY THE FILE BELOW:
https://download.chainfire.eu/969/SuperSU/
DEVICE TREE: soon
NOTE: ON SOME ANDROID 5.1.1 DEVICES IT IS NECESSARY TO GO TO:
Settings -> Developer Options -> OEM unlocking
AND ENABLE OEM UNLOCK FIRST OR YOU MAY ENCOUNTER 'BLOCKED BY FRP LOCK' WHEN FLASHING.
Credits: Me, Teamwin and my testers - nhthiencp
Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from.
FEEDBACK IS APPRECIATED PLEASE.
THANKS.
DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU
.
works like a charm 100%
thank u so much :good:
flash supersu error signature
haohoa2308 said:
flash supersu error signature
Click to expand...
Click to collapse
Redownload.
Hi Ashyx,
Saw that you posted TWRP for both A510F and A710F, any chance you could compile for the A310F too?
It would be very much appreciated!
Cheers
thomekh said:
Hi Ashyx,
Saw that you posted TWRP for both A510F and A710F, any chance you could compile for the A310F too?
It would be very much appreciated!
Cheers
Click to expand...
Click to collapse
I suppose one more won't hurt. If you've got the stock recovery, post it up.
ashyx said:
I suppose one more won't hurt. If you've got the stock recovery, post it up.
Click to expand...
Click to collapse
Wonderful, I've attached the stock recovery img (zipped).
Many thanks in advance
I have flashed this version of TWRP on my Samsung Galaxy A7 2016 SM-A710Y device. Many thanks.
Note: Downloads have been blocked until i remove supersu from twrp due to people incapable of reading instructions!
thomekh said:
Wonderful, I've attached the stock recovery img (zipped).
Many thanks in advance
Click to expand...
Click to collapse
Posted in the General section.
From where can I get stock recovery for A710FD...?
new and noob
wanna root my phone but i want to download stock rom first in case anything goes wrong. problem is i don't know which rom should i download. I've attached my phone's software info. thanks in advance
done! it works. I tried it even without backups. thanks button hitted
Many thanks, It works. now i can cheat offline game in my phone ^^.
Xposed installer
In this cell A7 2016 xposed installer running or not
Which modules are support please suggest me
Because i want to buy this cell
From where can I get stock recovery for A710FD...?
please
valiforu said:
From where can I get stock recovery for A710FD...?
please
Click to expand...
Click to collapse
The stock firmware, but why would you?
Incase the mobile has boot loop
For safety i want the stock recovery
From twrp recovery installed xposed installer some times mobile will be in boot loop for that i want the stock recovery
How is stock recovery going to rescue you from a bootloop?
For that you need a custom recovery like twrp to simply make a backup first.
Kk thank u
Can we install xposed installer in A710FD
Please suggest me its working or not

[RECOVERY][ROOT][TWRP 3.0.2-1]Samsung Galaxy A5(2015) SM-A500F/FU/G/H/M

Unofficial release -TWRP recovery for the Galaxy A5 - SM-A500F/FU/G/H/M, Qualcomm MSM8916
https://twrp.me/site/update/2016/04/05/twrp-3.0.2-0-released.html
SEANDROID warning fix
Recovery reboot fix
Modem, APNHLOS, EFS and Recovery partition backup
29/4/2016 - Time offset fix
You flash this at your own risk. Please ensure you have the stock ROM to hand downloaded from SAMMOBILE in case of problems. This will trip the knox counter.
Instructions:
Flash with ODIN 3.10.7 in the AP slot:
Uncheck Auto reboot.
Load the respective file below into the AP slot and hit start.
After flashing immediately reboot to recovery by holding POWER + HOME + VOL DOWN.
As soon as the screen goes blank change to VOL UP whilst still holding the other buttons.
You should now see TWRP recovery.
Flash with TWRP:
Extract the recovery.img from the tar archive then in TWRP select Install>>Install image.
twrp_3.0.2-1_sm-a500
PLEASE DO *NOT* DIRECT LINK TO THESE FILES. PLEASE LINK TO THIS POST
To Root:
Flash the file below with TWRP:
DO NOT LET TWRP ROOT YOUR DEVICE IF IT ASKS. USE ONLY THE FILE BELOW:
http://download.chainfire.eu/1019/SuperSU/SR2-SuperSU-v2.79-SR2-20170103215521.zip
DEVICE TREE: soon
NOTE: ON SOME ANDROID 5.1.1 DEVICES IT IS NECESSARY TO GO TO:
Settings -> Developer Options -> OEM unlocking
AND ENABLE OEM UNLOCK FIRST OR YOU MAY ENCOUNTER 'BLOCKED BY FRP LOCK' WHEN FLASHING.
Credits: Me, Teamwin and my testers- icesehman, -CALIBAN666-, jimbomodder
Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from.
FEEDBACK IS APPRECIATED PLEASE.
THANKS.
DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU
.
.
I'll be keeping an eye on this thread
Thankyou.... Working Fine..
No reboot issue.. A500G
Any tried to see if aroma files now flash OK?
From the giver of stock roms
Edit..
Works fine finally [emoji122] [emoji122]
Hello! You're the best! Can you make TWRP 3 for Galaxy A7 SM-A700FD? How to fix recovery reboot?
Thank you!
jazzzzy said:
Hello! You're the best! Can you make TWRP 3 for Galaxy A7 SM-A700FD? How to fix recovery reboot?
Thank you!
Click to expand...
Click to collapse
Isn't there already twrp for A700FD?
ashyx said:
Isn't there already twrp for A700FD?
Click to expand...
Click to collapse
All unofficial versions have reboot bug. And as far as I new - you managed to fix it!
only problem when reboot from xposed power menu mod (wanam, apm+, etc). Need to flash again via odin and uninstall the module.
icesehman said:
only problem when reboot from xposed power menu mod (wanam, apm+, etc). Need to flash again via odin and uninstall the module.
Click to expand...
Click to collapse
Thank you.
OK, I'll try to disable wanam's power menu and flash TWRP. I'll write the result. ...
I disabled wanam's power menu, flashed TWRP 3.0.0 without autoreboot ticked and rebooted into recovery.
Then I set time settings in TWRP and started backup. Backup completed...
Reboot from TWRP (Reboot System) - Reboot normal !!!
I will watch its behavour ... and perhaps the problem is solved.
jazzzzy said:
All unofficial versions have reboot bug. And as far as I new - you managed to fix it!
Click to expand...
Click to collapse
I'll see what I can do, time permitting.
So Far So Good.
Good job Mr. @ashyx , I've tested this recovery and two problems fixed out of three.
SEANDROID Error: Fixed.
Recovery reboot : Didn't fixed
EFS, APNHLOS etc... partitions Backup : Fixed
I reverted back to 2.8.7.0 recovery until recovery reboot get fixed.
I'll post a recovery log soon.
I'm using A500H Duos.
Thanks.
Ahmed_Khalifa said:
Good job Mr. @ashyx
Recovery reboot : Didn't fixed
Click to expand...
Click to collapse
Others say this issue is fixed?
ashyx said:
Does this fix the touchscreen and reboot issue?
https://www.androidfilehost.com/?fid=24499762636004631
Click to expand...
Click to collapse
That links for a300
Sent from my SM-A500FU
Whoops wrong thread!
Sent from my HTC One_M8 using XDA Free mobile app
Little Confused.
ashyx said:
Others say this issue is fixed?
Click to expand...
Click to collapse
Are they using A500H or other variant?
Ahmed_Khalifa said:
Are they using A500H or other variant?
Click to expand...
Click to collapse
You need to be sure it's a problem with the recovery. Power off your device and boot to system normally.
Using a terminal emulator type:
su
reboot recovery
Do you still get a recovery loop?
recovery reboot problem.
ashyx said:
You need to be sure it's a problem with the recovery. Power off your device and boot to system normally.
Using a terminal emulator type:
su
reboot recovery
Do you still get a recovery loop?
Click to expand...
Click to collapse
Here is what I did:
I flashed the recovery via flashify.
I rebooted the device normally.
After the phone restarts, it shows the Yellow colored warning Set warrenty bit: recovery.
The device boots into TWRP recovery mode.
After that I press reboot -> system.
After restart, it goes back to step 3.
Thank you.
That seems like you have flashed the boot partition with the recovery.img.
Please don't flash with Flashify. You cannot trust that it is flashing correctly.
Use the recovery image flash option in TWRP itself or use ODIN.
Sent from my HTC One_M8 using XDA Free mobile app
If we reboot directly to recovery, i mean through wannam xpossed power menu, recovery reboot issue occurs.. Pls fix this too..
Otherwise all are perfect
the error still exists.
ashyx said:
That seems like you have flashed the boot partition with the recovery.img.
Please don't flash with Flashify. You cannot trust that it is flashing correctly.
Use the recovery image flash option in TWRP itself or use ODIN.
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
I used the flash option in TWRP but it still reboots into recovery.
I posted a recovery log maybe it'll help you fix the problem.
by the way, can you tell me which baseband,pda,csc you're using?
my software might be a little old?
Thanks.

CF-Auto-Root brick, EPK2

Hi, i was trying to root my N910T with the latest CF-Auto-Root by Chainfire, tried flashing with odin and it failed, dont know in what step . Now it doesnt let me boot or install TWRP via ODIN. In the boot screen says:
Recovery booting...
Recovery is not seandroid enforcing
Set Warranty Bit : recovery
and doesnt let me boot to Recovery or stock
the bootloader version (just in case) is EPK2, model N910T
any help? pls
ianeli1 said:
Hi, i was trying to root my N910T with the latest CF-Auto-Root by Chainfire, tried flashing with odin and it failed, dont know in what step . Now it doesnt let me boot or install TWRP via ODIN. In the boot screen says:
Recovery booting...
Recovery is not seandroid enforcing
Set Warranty Bit : recovery
and doesnt let me boot to Recovery or stock
the bootloader version (just in case) is EPK2, model N910T
any help? pls
Click to expand...
Click to collapse
Flash twrp recovery in odin ( uncheck auto reboot in odin options )
After flash twrp in odin remove battery an insert again and press 3 buttons together (volume up +home+power) for few seconds until you will see recovery boot on top left corner and let go all buttons.
Boot into twrp and flash supersu.zip systemless.
Reboot and wait untilyour phone boot completely.
Your phone may restart 2 times its normal dont freak out.
100% tested & working .
Try on your own risk
Twrp download link
https://mega.nz/#!DIFFVSpQ!bUCEAa-VRdkeT4VgMJ-4cUXuo-ZiYbihOSWiw6Ic_wo
Supersu.zip link
https://mega.nz/#!XAsUjARJ!XqYZkle6wTarq1a8-zAnhwrbd4IdpzpJryNCAU3g9k4
Trex888 said:
Flash twrp recovery in odin ( uncheck auto reboot in odin options )
After flash twrp in odin remove battery an insert again and press 3 buttons together (volume up +home+power) for few seconds until you will see recovery boot on top left corner and let go all buttons.
Boot into twrp and flash supersu.zip systemless.
Reboot and wait untilyour phone boot completely.
Your phone may restart 2 times its normal dont freak out.
100% tested & working .
Try on your own risk
Twrp download link
https://mega.nz/#!DIFFVSpQ!bUCEAa-VRdkeT4VgMJ-4cUXuo-ZiYbihOSWiw6Ic_wo
Supersu.zip link
https://mega.nz/#!XAsUjARJ!XqYZkle6wTarq1a8-zAnhwrbd4IdpzpJryNCAU3g9k4
Click to expand...
Click to collapse
Thank you, i got it working by reinstalling system, tried that and worked :good:
ianeli1 said:
the bootloader version (just in case) is EPK2, model N910T
any help? pls
Click to expand...
Click to collapse
The latest version of CF-Autoroot is matched to EPG2. That information is given on Chainfire's download page for Autoroot. I've heard that it works with EPJ2 but when it comes to Odin, pushing your luck is a bad idea.
Trex888 said:
Twrp download link
https://mega.nz/...
Supersu.zip link
https://mega.nz/...
Click to expand...
Click to collapse
Both of these archives are easily downloadable directly from their developers at https://dl.twrp.me/trltetmo/ and http://www.supersu.com/download
Linking to unofficial mirrors deprives developers of ad revenue. Both Chainfire and Team Win are providing incredibly useful software at no charge. The ad revenue goes a long way toward defraying hosting costs, keeping these things freely available.
Users should always download from known sources. Flashing your phone with some random .zip from Mega carries a terrible risk. You may not have any nefarious intent but that certainly isn't true in all cases. Nonetheless, your instructions are greatly appreciated. I just upgraded to EPK2 OTA and was wondering how much trouble I would have getting root back.
Hi,
I just went thru this and after messing with it for a couple of days, then did it as you suggested and it worked. And just now I ran across this page. <lol>
You wouldn't happen to know where the right PhilZ for this phone is??? I know many people love TWRP, but in the past when I've used it to restore, it's been about a 50/50 shot for me, whereas CWM/PhilZ has only failed me once in 5 years.
I have "philz_touch_6.59.0-trlte.tar" but it won't flash with Odin, so I'm thinking maybe it's the wrong one???
Btw, while Ihve got you, if I may please humbly request your expertise (I am Rooted on MM), when I use the tool I've used just fine on every other Samsung, Asus & LG device to remove Bloatware and I check them off and tell it to Uninstall them (just stuff like Facebook, Amazon, Flipboard, etc.), the apps react in one of two ways:
Fails to Uninstall -or- Immediately Reinstalls itself.
Any help would be very greatly appreciated!!!
Thank You!

[Recovery] TWRP (Unofficial/Experimental) for Samsung M40

We got our first recovery for Samsung M40 (SM-M405F). This one is ported using Samsung Auto TWRP recovery porter by Team Hovatek
Please try and let everyone know if it works for you or not.
(If you want to do it yourself for any other Android OS version, you can refer to the original Hovatek post.)
You must disable dm_verity before flashing TWRP.
TWRP based on version: 3.5.*
Details of base recovery used for porting:
Source: Extracted from downloaded firmware
Version: Android 11
Build Date: Mon, 12 Apr 2021 07:54:43 +0000
Security Patch Level: 2021-04-01
Product code: INS
PDA: M405FDDU2CUD2
CSC: M405FODM2CUD2
If this works for you, please post here so everyone will know.
If something goes wrong you need and any stock img/file let me know, I will share that too.
Update 1 =>
NOTE: Unfortunately, I can not test this recovery for few more days as this M40 is the only device that I have and it is also source of internet access for me and my laptop. If this mobile is turned off for any reason I wont have internet access so looking for fixes would be difficult.
But I have rooted some devices before and know how things work so I will help in every possible way if someone stuck at any place while trying this recovery.
Also, if someone confirms this recovery does not work, I am planning to port TWRP from scratch.
Update 2 =>
Instructions for NON-Rooted and Bootloader locked device-
Unlocking Bootloader:
Allow bootloader unlocking in Developer options → OEM unlocking
Reboot to download mode: power off your device and press Volume Up + Volume Down and plug in your device to a PC to boot into download mode.
Long press volume up to unlock the bootloader. This will wipe your data and automatically reboot.
Go through the initial setup. Skip through all the steps since data will be wiped again in later steps. Connect the device to Internet during the setup.
Enable developer options, and confirm that the OEM unlocking option exists and is grayed out. This means the VaultKeeper service has unleashed the bootloader.
Your bootloader now accepts unofficial images in download mode
Disable DM_Verity (Android Verified Boot):
Copy the vbmeta.img (download from attachments) into your adb and fastboot folder
You can now flash the vbmeta.img using fastboot to remove dm_verity from your device
// Enable USB Debugging and enter following commands in CMD/Terminal after connecting device to computer.
adb devices
// You should see your device listed
adb reboot-bootloader
// Device should reboot to bootloader
fastboot devices
// You should see your device listed
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
// OR if the command above doesn't work, try below
fastboot flash vbmeta vbmeta.img
// DONE
////////////////////////////////++++++++++++++++++++++++++////////////////////////////////
Note: For Magisk Rooted devices above steps are not required, as Magisk already patches vbmeta.img and disabled dm_verity (Android Verified Boot)
Flash TWRP with/without Root using Odin
1. Download and install Odin on your PC
2. Download the attached recovery.img, convert it into .tar
3. Reboot to download mode: power off your device and press Volume Up + Volume Down and plug in your device to a PC to boot into download mode.
4. Select recovery.tar under AP_ and Uncheck “Auto Reboot” in Options!
5. Flash the device
6. Now do not power on to System, enter into Recovery/TWRP mode using key combination.
Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
*DONE*
Enjoy TWRP!
Can you tell step by step procedure for flashing twrp in m40.
How to disable dm-verity?
I guess this didn't work in my device.
"reason recovery: error verifying vbmeta image: invalid vbmata header" error is coming.
Shashvatsawar said:
I guess this didn't work in my device.
"reason recovery: error verifying vbmeta image: invalid vbmata header" error is coming.
Click to expand...
Click to collapse
You must disable dm_verity before flashing TWRP.
Is your device rooted?
How did you flash this TWRP?
Please share your device info.
did you already tested it on your device??
rohitrss said:
You must disable dm_verity before flashing TWRP.
Is your device rooted?
How did you flash this TWRP?
Please share your device info.
Click to expand...
Click to collapse
My Product code : SM-M405FZBDINS
My device is rooted using magisk patch.
I flashed twrp before root using odin.
I didn't disable dm_verity.
How can I disable dm_verity?
deadinside322 said:
did you already tested it on your device??
Click to expand...
Click to collapse
Unfortunately no, I can not do any testing for few more days as this M40 is the only device that I have and it is also source of internet access for me and my laptop. If this mobile is turned off for any reason I wont have internet access so looking for fixes would be difficult.
But I have rooted some devices before and know how things work so I will help in every possible way if someone stuck at any place while trying this recovery.
Also, if someone confirms this recovery does not work, I am planning to port TWRP from scratch.
Thread title and note updated.
Shashvatsawar said:
My Product code : SM-M405FZBDINS
My device is rooted using magisk patch.
I flashed twrp before root using odin.
I didn't disable dm_verity.
How can I disable dm_verity?
Click to expand...
Click to collapse
As you have flashed TWRP before root, it failed at verification stage. You need to disable dm_verity, please follow https://forum.hovatek.com/thread-32719.html based on your OS version.
Otherwise, you can flash TWRP after rooting as Magics already disables dm_verity.
rohitrss said:
As you have flashed TWRP before root, it failed at verification stage. You need to disable dm_verity, please follow https://forum.hovatek.com/thread-32719.html based on your OS version.
Otherwise, you can flash TWRP after rooting as Magics already disables dm_verity.
Click to expand...
Click to collapse
I tried it But I am not able to boot into recovery then.
It just reboots.
Shashvatsawar said:
I tried it But I am not able to boot into recovery then.
It just reboots.
Click to expand...
Click to collapse
Did you try key combination or adb command?
Also, could you please share what all have you tried/done so far so I will have better idea?
I unlocked the bootloader, then booted my device to download mode.. change .img file extension to .tar then tried to flashing it using oden and selected recovery.tar in AP slot.. but it's stuck on file analysis.
Any help? Any step I did wrong? Let me know
Akhil137 said:
I unlocked the bootloader, then booted my device to download mode.. change .img file extension to .tar then tried to flashing it using oden and selected recovery.tar in AP slot.. but it's stuck on file analysis.
Any help? Any step I did wrong? Let me know
Click to expand...
Click to collapse
As you have flashed TWRP before root, it failed at verification stage. You need to disable dm_verity, please follow https://forum.hovatek.com/thread-32719.html based on your OS version.
Otherwise, you can flash TWRP after rooting as Magics already disables dm_verity.
rohitrss said:
Did you try key combination or adb command?
Also, could you please share what all have you tried/done so far so I will have better idea?
Click to expand...
Click to collapse
I followed this thread to root my device
https://forum.xda-developers.com/t/root-sm-m405f-galaxy-m40.3951491/
There was no option of dm verity while patching stock rom using magisk.
Though My phone was successfully rooted.
I can't use fastboot as it's not showing my device in devices list ( tried a lot).
Finally I flashed your recovery using odin but after going to recovery mode it rebooted only. For recovery mode I tried key combination first and then a root app after device booted.
Updated post with detailed flashing instructions.
rohitrss said:
Updated post with detailed flashing instructions.
Click to expand...
Click to collapse
did the recovery work for you?
Is there any update?
When i try to go to bootloader, my device always go to download mode. how can i fix this???
rohitrss said:
Unfortunately no, I can not do any testing for few more days as this M40 is the only device that I have and it is also source of internet access for me and my laptop. If this mobile is turned off for any reason I wont have internet access so looking for fixes would be difficult.
But I have rooted some devices before and know how things work so I will help in every possible way if someone stuck at any place while trying this recovery.
Also, if someone confirms this recovery does not work, I am planning to port TWRP from scratch.
Click to expand...
Click to collapse
Bro, I am going to use twrp in my main phone M40.
And I don't care if it gets bricked :>

Categories

Resources