- Jul 30, 2017
- 221
- 635
Code:
/*
* Your warranty will be VOID after installing a custom ROM.
*
* Get notified yourself that I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in this ROM
* before flashing it!
* YOU are choosing to make these modifications,
* and if you point the finger at me for messing up your device,
* I will laugh at you.
*/
# Team Win Recovery Project
TWRP is an open source, community project. TWRP development is done by roughly 4 people at this point. We also have a large support community with many people who are willing to answer questions and help people with their devices either through our IRC channel or on forums like xda-developers.
Team Win was originally formed to work on porting WiMAX to CM7 for the HTC EVO 4G. After our work on the EVO 4G we wanted to work on a project that would work on more devices than just the EVO 4G and we settled on working on a recovery. Today TWRP is the leading custom recovery for Android phones.
A custom recovery is used for installing custom software on your device. This custom software can include smaller modifications like rooting your device or even replacing the firmware of the device with a completely custom "ROM" like OmniROM
You can find the source code for TWRP at github.com/teamwin/android_bootable_recovery/
# Features
- Flashing a ROM
- Factory reset
- Erasing the partitions including system, data, cache, internal storage
- Backup and restore
- Supports F2FS formatting
- USB ADB/MTP/OTG
# Downloads
# How to install
- You have to unlock your bootloader in advance. Check "OEM Unlock" in the device settings.
## Via Odin/Heimdall
- Download "twrp-*-gts3l*.img.tar"from the given link.
- Check the file name to yours, gts3llte or gts3lwifi.
- Enter the download mode by pressing the volume-down + home + power buttons at the same time.
- Open Odin or Heimdall and set the AP slot as the downloaded recovery file.
- Flash.
- Reboot to the recovery by pressing the volume-up + home + power buttons at the same time.
- Done.
## Via rooted ADB
- This is for those who can get the rooted ADB shell, by the custom ROM or previous TWRP, etc.
- Download "twrp-*-gts3l*.img"from the given link.
- Check the file name to yours, gts3llte or gts3lwifi.
- In this guide, assume that the file is named "twrp.img".
- Copy the recovery file into somewhere the device can access.
- Enter the ADB shell with rooted mode.
- In the shell, go to the directory that the recovery file copied.
- Enter the command, "dd if=twrp.img of=/dev/block/bootdevice/by-name/recovery"
- Reboot to the recovery by pressing the volume-up + home + power buttons at the same time.
- Done.
# Notes
- It may slow until formatting data partition when you are from the stock ROM. It tries to mount data partition using ext4 filesystem but it fails repeatedly.
# Sources
- Device Tree
- Kernel: https://github.com/awesometic/android_kernel_samsung_msm8996
# Buy me a coffee
- If you like my efforts or would like to support me, please don't hesitate to buy me a cup of coffee.
# Credits / Special thanks to
- Android Open Source Project
- TeamWin Team
- LineageOS Team
- OmniROM Team
- TWRP Minimal Manifests
- @Valera1978 for his amazing previous work including his MSM8996 kernel
- @ashyx for his amazing previous work on his TWRP
- @EonOfBlack for confirming its working on SM-T820
Last edited: