[Galaxy S6 Edge Android Development] Frankbrazillian:
TEAM WIN RECOVERY PROJECT (TWRP) version 3.2.1-0

What is TWRP?

Is a fully touch-based custom recovery, which allow you to flash some zip files, backup some partitions and restore the device.

This recovery is specific to Galaxy S6 Edge, model 404SC(SM-G925Z/Japan model, carrier Softbank). But i tested and worked on the Galaxy S6 Edge SCV31/carrier Au KDDI too. I didn't tested in any "Docomo" variant. In case you want to try, send me an message and i will provide the modified "stock kernel", to be able to boot on system.

I recommend to not try to flash this in any internacional model.

Compiled with the latest omni sources 8.1.

https://github.com/omnirom/android_bootable_recovery/

Warning:- I will take no responsability for anything bad, that can happen after flash this recovery!

Flashing this recovery, will trip the KNOX and void the Warranty. If you are ok with that, proceed downloading the recovery, flash with the Odin and enjoy.

In case you want to keep the warranty, this is not for you!

Starting from Lollipop, flashing any custom binary, will end up in stuck at boot. This is due to dm_verity. To be able to boot on system, after flash the TWRP recovery, is necessary to flash an modified kernel.

You can flash my custom permissive kernel for 404SC, from this link:- https://www.androidfilehost.com/?fid=818070582850510939

Kernel source code:- https://github.com/frankbrazillian/android_kernel_samsung_404SC

This kernel is very close as stock, only making this kernel permissive... Compiled with Linaro toolchain gcc 7.

Or if you want to keep the "stock kernel", you can find the link to the model 404SC and SCV31 stock kernel, on the second post.

You will find the link to "stock recovery" too, in case you want to revert.

How to flash the Recovery?

I recommend to flash with Odin3 v3.12~

Link to download Odin:-

https://drive.google.com/file/d/1etF4YP6nJYq-CQEzZJqDv7YS39rQSsbT/view?usp=drivesdk

Note:- After flash the TWRP recovery with Odin, is necessary to put the device in recovery mode(pressing the combo POWER + HOME + VOLUME UP), and swipe to allow modifications when prompted, to make this recovery permanent. If you won't swipe to allow modifications or leave the device restart to system before enter on recovery mode on first boot, the TWRP recovery will be replaced automatically for the "Stock recovery", and you will need to flash the TWRP recovery again.

In case you still have doubts, post an message and i will try to help you.

How to root your device?

Download the latest SuperSu from this link:- (https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.82-201705271822.zip), or the latest Magisk from this thread :- (https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445) and flash with the TWRP recovery. Since both root tools are systemless, if you wipe the data/factory reset, you will lost the root access. After flash the SuperSU with TWRP recovery, you will see an red message on top of the screen on boot, saying the Kernel is not SEANDROID ENFORCING. Don't worry, this is normal, since the SuperSU will edit the Kernel to be able to get root access.

Feel free to test and let me know if this recovery worked for you...

And please press the "Thanks" button, if this helped you in anyway...

Regards....

Frank.

Contributors:- [MENTION=5440239]Frankbrazillian[/MENTION]

Credits:- [MENTION=912474]Dees_Troy[/MENTION] for the Tutorial how to and for share the Source code.

[MENTION=5672995]jcadduono[/MENTION] for the Zerolte device tree.

[MENTION=5438976]adipurn[/MENTION] for test on SCV31 (Kddi) and confirm is working.

[MENTION=950173]crzyone01[/MENTION] for test on SC04G (Docomo), and confirm is working.

Version :- 3.2.1-0

Device tree :-

https://github.com/frankbrazillian/android_device_samsung_404SC

Kernel :-

https://github.com/frankbrazillian/android_kernel_samsung_404SC

Omnirom source:-

https://github.com/omnirom/android_bootable_recovery/

Link to download the TWRP recovery:-

https://www.androidfilehost.com/?fid=818070582850510940

md5:- 0d2ab48a6c84d7e8ff2e85d51adee1c9

...............................................................................................................................

UPDATED TO TWRP version 3.2.2-0.

Fixed the Mtp not able to mount when on TWRP.

https://androidfilehost.com/?fid=11050483647474833296

.......................................................................................................................................

UPDATE 2018/07/08

I have add an guide to fix some problems after flash any custom binary or root the device on Nougat.

Check this post to see how to fix...

https://xdaforums.com/showpost.php?p=76994790&postcount=30

......................................................................................................................................

Obs:- In the screenshots, the header color is mustard, but on the device is the real color "blue".

Since this doesn't interfere in anything, i just leave in this way....