[TOOL] [BETA] Universal TWRP Flasher - Android General

Code:
*** Disclaimer ***
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
YOU are choosing to make these modifications, and if you point your finger at me for messing up your device, I will laugh at you.
This tool should work on ALL Android devices (except Samsung devices) and also works on Custom ROMs (if you have a Samsung with a custom ROM then this will not work).
Requirements[ :/SIZE]
A Unlocked Bootloader
USB Debugging On
The USB Cable that came with your device.
A Windows PC (Windows 10 is recommended).
The TWRP Installer and Image compatible with your phone
Features :
Runs on Command Prompt (Hidden)
Works on all devices (except Samsung Devices)
Works with all versions of TWRP
Installation instructions :
I am assuming you already installed the adb drivers, if not I have a folder inside called "Drivers", you'll find the .exe there.
Download and install WinRAR: 64bit - 32bit
Extract the folder to your C drive directly.
Copy your TWRP image and Installer to C:TWRPFiles and rename both of them to TWRP (image ends with .img and installer with .zip)
Copy your Root .zip file to C:TWRPFiles and rename it to Root (ends with .zip)
Run the TWRP Flasher for your system (64bit or 32bit) and follow all Instructions in the prompts.
Now you have rooted your phone with Magisk/SuperSU and installed TWRP.
The final boss is for last... Press the Thanks button if my tool/s helped even by a little bit.
Credits :
Creator: _Masked_
Lead Coder: _Masked_
Details :
File Name : Universal TWRP Flasher
File Size : 10.4MB
File Type : ZIP
Compatibility : Windows (Any), 32bit and 64bit
MD5 :d584fa3ea0775fe465162171d275af0d
Download
XDA:DevDB Information
Universal TWRP Flasher, Tool/Utility for all devices (see above for details)
Contributors
_Masked_
Version Information
Status: Beta
Current Beta Version: 1
Beta Release Date: 2019-04-20
Created 2019-04-20
Last Updated 2019-04-19

Thread closed as duplicate of https://forum.xda-developers.com/android/software-hacking/tool-universal-twrp-installer-t3885710

Related

[OFFICIAL] TWRP 3 for Samsung Galaxy Core Plus (SM-G350)

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* 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.
*
* DO NOT LEECH MY DOWNLOADS, PLEASE RE-DIRECT YOUR FORUM/PAGE
* TO THIS THREAD, IF YOU LIKE MY WORK, YOU CAN SAY THANKS
*/
Introduction
This is TWRP 3 for the Samsung Galaxy Core Plus (SM-G350) aka cs02
This should be ready to use!
Changelog
22-10-2017:
There is now an official TWRP available on the TeamWin page:
The unofficial thread and files will be kept in case anyone wants to rollback.
You ARE ALLOWED to report stuff about the official builds as well as the unofficial builds here.
22-05-2017:
TWRP 3.1.1-0 upstream changes
Kernel is now built with arm-eabi-4.8 (Commits)
This is now built from TeamWin's official sources, until we get official builds (New source is here)
28-04-2017:
Fixed SELinux (fixed magically, so I can't present a commit. May have been fixed since the last build, but didn't work until now)
09-04-2017:
TWRP 3.1.0-0 upstream changes
Fixed wiping partitions (commit)
24-11-2016:
Set the Setting for doing "rm -rf" instead of formatting as default (commit)
21-11-2016:
Bringup
Installation Instructions
Requirements
A computer with Administrator/root privileges
A network connection
Your phone charged to at least 50%
Instructions for Windows
Download Samsung's ODIN and the .tar image from the 'Downloads' section
Extract ODIN and open it using your Administrator privileges
Add the .tar file into the 'AP' field
Put your device into Download mode by holding [Vol-] and [Home] while powering on the device
Confirm the prompt on the display by pressing [Vol+] once
Connect your phone to your computer
Press 'Start' and wait until it shows 'PASS'
If you are on the stock OS, immeadiately reboot into the recovery by holding [Vol+] and [Home] while the device reboots
Instructions for macOS/Linux
Install Heimdall through homebrew/[your package manager]/compiling
Download the .img file from the 'Downloads' section
Put your device into Download mode by holding [Vol-] and [Home] while powering on the device
Confirm the prompt on the display by pressing [Vol+] once
Connect your phone to your computer
Open your terminal and execute the following command:
Code:
heimdall flash --RECOVERY twrp-cs02-x.x.x-x-xxxxxxxx.img
If you are on the stock OS, immeadiately reboot into the recovery by holding [Vol+] and [Home] while the device reboots
Downloads
Samsung USB Drivers
Odin v3.09
Odin v3.11.1
twrp-cs02-3.1.1-0-20170512.tar
twrp-cs02-3.1.1-0-20170512.img
Thanks To/Credits
Thanks to @santeri3700 and @berkantkz for teaching me the basics of ROM Development and helping me with Errors
XDA:DevDB Information
TWRP 3 for Samsung Galaxy Core Plus (SM-G350), Tool/Utility for all devices (see above for details)
Contributors
TimSchumi
Source Code: https://github.com/TeamWin?q=cs02
Version Information
Status: Stable
Current Stable Version: 3.1.1-0
Stable Release Date: 2017-05-12
Created 2016-11-21
Last Updated 2020-09-13
Quick Update:
I now know what is causing the issues with non-block-based zip files. The Recovery does not have SELinux support by now, which would provide the metadata command it is complaining about. I will try to add in SELinux support and then release TWRP 3.1.0-0 with full flashing capability
It seems that I have the wiping gotten to work. Only SELinux remaining and I could make it official
Probably a new build will come?
EDIT: New build of TWRP 3.1.0-0 with fixed wiping is up!
is it flashable with rashr?
edit: yes it is.
A working build of TWRP is now available on the TeamWin Download Page (https://twrp.me/samsung/samsunggalaxycoreplus.html). I'll keep the old TWRP images here so you can revert if you experience any problems. I'll sooner or later mark this thread as official, too.
Note: You are allowed to report bugs or anything else about the unofficial images as well as the official images in this thread (Because I don't want to maintain a seperate thread).
TimSchumi said:
A working build of TWRP is now available on the TeamWin Download Page (https://twrp.me/samsung/samsunggalaxycoreplus.html). I'll keep the old TWRP images here so you can revert if you experience any problems. I'll sooner or later mark this thread as official, too.
Note: You are allowed to report bugs or anything else about the unofficial images as well as the official images in this thread (Because I don't want to maintain a seperate thread).
Click to expand...
Click to collapse
Thanks.
After flashing twrp.tar, only the original recovery is started.
What to do?
Grigori88 said:
After flashing twrp.tar, only the original recovery is started.
What to do?
Click to expand...
Click to collapse
Did you boot into the stock ROM after flashing TWRP? If yes, it was overwritten again because of that. You have to instantly reboot into recovery after flashing
It does not work for me, I do not know what happens
TimSchumi said:
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* 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.
*
* DO NOT LEECH MY DOWNLOADS, PLEASE RE-DIRECT YOUR FORUM/PAGE
* TO THIS THREAD, IF YOU LIKE MY WORK, YOU CAN SAY THANKS
*/
Introduction
This is TWRP 3 for the Samsung Galaxy Core Plus (SM-G350) aka cs02
This should be ready to use!
Changelog
22-10-2017:
There is now an official TWRP available on the TeamWin page:
The unofficial thread and files will be kept in case anyone wants to rollback.
You ARE ALLOWED to report stuff about the official builds as well as the unofficial builds here.
22-05-2017:
TWRP 3.1.1-0 upstream changes
Kernel is now built with arm-eabi-4.8 (Commits)
This is now built from TeamWin's official sources, until we get official builds (New source is here)
28-04-2017:
Fixed SELinux (fixed magically, so I can't present a commit. May have been fixed since the last build, but didn't work until now)
09-04-2017:
TWRP 3.1.0-0 upstream changes
Fixed wiping partitions (commit)
24-11-2016:
Set the Setting for doing "rm -rf" instead of formatting as default (commit)
21-11-2016:
Bringup
Installation Instructions
Requirements
A computer with Administrator/root privileges
A network connection
Your phone charged to at least 50%
Instructions for Windows
Download Samsung's ODIN and the .tar image from the 'Downloads' section
Extract ODIN and open it using your Administrator privileges
Add the .tar file into the 'AP' field
Put your device into Download mode by holding [Vol-] and [Home] while powering on the device
Confirm the prompt on the display by pressing [Vol+] once
Connect your phone to your computer
Press 'Start' and wait until it shows 'PASS'
If you are on the stock OS, immeadiately reboot into the recovery by holding [Vol+] and [Home] while the device reboots
Instructions for macOS/Linux
Install Heimdall through homebrew/[your package manager]/compiling
Download the .img file from the 'Downloads' section
Put your device into Download mode by holding [Vol-] and [Home] while powering on the device
Confirm the prompt on the display by pressing [Vol+] once
Connect your phone to your computer
Open your terminal and execute the following command:
Code:
heimdall flash --RECOVERY twrp-cs02-x.x.x-x-xxxxxxxx.img
If you are on the stock OS, immeadiately reboot into the recovery by holding [Vol+] and [Home] while the device reboots
Downloads
Samsung USB Drivers
Odin v3.09
Odin v3.11.1
twrp-cs02-3.1.1-0-20170512.tar (Primary, Mirror)
twrp-cs02-3.1.1-0-20170512.img (Primary, Mirror)
Thanks To/Credits
Thanks to @santeri3700 and @berkantkz for teaching me the basics of ROM Development and helping me with Errors
XDA:DevDB Information
TWRP 3 for Samsung Galaxy Core Plus (SM-G350), Tool/Utility for all devices (see above for details)
Contributors
TimSchumi
Source Code: https://github.com/TeamWin?q=cs02
Version Information
Status: Stable
Current Stable Version: 3.1.1-0
Stable Release Date: 2017-05-12
Created 2016-11-21
Last Updated 2018-03-26
Click to expand...
Click to collapse
When I perform the steps, load but give error, look:
Code:
heimdall flash --RECOVERY twrp-cs02-3.1.1-0-20170512.imgHeimdall v1.4.1
Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Downloading device's PIT file...
ERROR: Failed to receive PIT file part #16!
ERROR: Failed to download PIT file!
Ending session...
Rebooting device...
ERROR: Failed to receive reboot confirmation!
Releasing device interface...
Nasher_87-ARG- said:
Introduction
This is TWRP 3 for the Samsung Galaxy Core Plus (SM-G350) aka cs02
This should be ready to use!
Changelog
22-10-2017:
There is now an official TWRP available on the TeamWin page:
The unofficial thread and files will be kept in case anyone wants to rollback.
You ARE ALLOWED to report stuff about the official builds as well as the unofficial builds here.
22-05-2017:
TWRP 3.1.1-0 upstream changes
Kernel is now built with arm-eabi-4.8 (Commits)
This is now built from TeamWin's official sources, until we get official builds (New source is here)
28-04-2017:
Fixed SELinux (fixed magically, so I can't present a commit. May have been fixed since the last build, but didn't work until now)
09-04-2017:
TWRP 3.1.0-0 upstream changes
Fixed wiping partitions (commit)
24-11-2016:
Set the Setting for doing "rm -rf" instead of formatting as default (commit)
21-11-2016:
Bringup
Installation Instructions
Requirements
A computer with Administrator/root privileges
A network connection
Your phone charged to at least 50%
Instructions for Windows
Download Samsung's ODIN and the .tar image from the 'Downloads' section
Extract ODIN and open it using your Administrator privileges
Add the .tar file into the 'AP' field
Put your device into Download mode by holding [Vol-] and [Home] while powering on the device
Confirm the prompt on the display by pressing [Vol+] once
Connect your phone to your computer
Press 'Start' and wait until it shows 'PASS'
If you are on the stock OS, immeadiately reboot into the recovery by holding [Vol+] and [Home] while the device reboots
Instructions for macOS/Linux
Install Heimdall through homebrew/[your package manager]/compiling
Download the .img file from the 'Downloads' section
Put your device into Download mode by holding [Vol-] and [Home] while powering on the device
Confirm the prompt on the display by pressing [Vol+] once
Connect your phone to your computer
Open your terminal and execute the following command:
When I perform the steps, load but give error, look:
Click to expand...
Click to collapse
1. Try a newer version of Heimdall
2. Checked the cable? Maybe try a different one.
3. Run Heimdall as administrator/root.
Thanks Tim
TimSchumi said:
1. Try a newer version of Heimdall
2. Checked the cable? Maybe try a different one.
3. Run Heimdall as administrator/root.
Click to expand...
Click to collapse
Perfect, I try. :good:
Heimdall is 1.4.1 version. Its ok, i think
The cable is new, no too new new but are you work to transfer data. Buy other
My too
Nasher_87-ARG- said:
Perfect, I try. :good:
Heimdall is 1.4.1 version. Its ok, i think
The cable is new, no too new new but are you work to transfer data. Buy other
Click to expand...
Click to collapse
I don't know what happens, same PIT problem

[RECOVERY][PBRRP] Pitch Black Recovery 2.9.0 for Ulefone Armor 6 [TESTING]

Note: This going to be official soon
Code:
#include <std_disclaimer.h>
/*
*
* We are 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 project
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Pitch Black Recovery Project (PBRP) is a custom recovery project based on Team Win Recovery Project (TWRP) developed by Reza Adi, maintained by Manjot Sidhu and Mohd Faraz and themed by FireWolf.
Prerequisites
1. Unlocked bootloader.
Bugs
1. Test it, those sides which others haven't tested yet
2. If you have found a bug, please consider posting it to my GitHub Issues.
Instructions
Method 1 (Fastboot Installation)
1. Go to the fastboot mode.
2. Download the pbrp-2.9.0-build-02.img and transfer it to the adb folder (rename is optional for simplicity).
3. Open the cmd/terminal and change directory into the adb folder.
4. Now confirm/check that device is connected by typing:-
Code:
fastboot devices
If you got your device seriel number there then you are ready to continue otherwise try connecting device again and make sure USB debugging is on and you have granted permission to the PC to debug.
5. After that we will flash this PBRP recovery to the recovery partition by below command:-
Code:
fastboot flash recovery pbrp-2.9.0-build-02.img
BooM ! PBRP flashed successfully.
Method 2 (TWRP Installation)
1. As far i know there is an official twrp. If you have it installed in your device, then this is just a piece of cake
2. Flash PitchBlack-Armor_6-2.9.0-20190716-1537-UNOFFICIAL.zip from twrp.
3. It will reboot to recovery automatically after that.
BooM ! PBRP flashed successfully.
Notes
DM-Verity patch added to flashable zip
Force Encryption patch also added to flashable zip
Downloads
Both Image & Zip=> https://www.androidfilehost.com/?w=files&flid=296747
Contributors
chankruze
Source Code: https://github.com/N00bTree/android_device_ulefone_Armor_6
Version Information
Status: Testing
Honestly, thank you so much for this.
I can confirm it works on the Ulefone Armor 6 for me. I just tried it and works perfectly.

[RECOVERY][PBRRP] Pitch Black Recovery 2.9.0 for Black Shark [TESTING]

Note: This going to be official soon
Code:
#include <std_disclaimer.h>
/*
*
* We are 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 project
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Pitch Black Recovery Project (PBRP) is a custom recovery project based on Team Win Recovery Project (TWRP) developed by Reza Adi, maintained by Manjot Sidhu and Mohd Faraz and themed by FireWolf.
Prerequisites
1. Unlocked bootloader.
Bugs
1. Test it, those sides which others haven't tested yet
2. If you have found a bug, please consider posting it to my GitHub Issues.
Instructions
Method 1 (Fastboot Installation)
1. Go to the fastboot mode.
2. Download the pbrp-2.9.0-build-02.img and transfer it to the adb folder (rename is optional for simplicity).
3. Open the cmd/terminal and change directory into the adb folder.
4. Now confirm/check that device is connected by typing:-
Code:
fastboot devices
If you got your device seriel number there then you are ready to continue otherwise try connecting device again and make sure USB debugging is on and you have granted permission to the PC to debug.
5. After that we will flash this PBRP recovery to the recovery partition by below command:-
Code:
fastboot flash recovery recovery.img
BooM ! PBRP flashed successfully.
Method 2 (TWRP Installation)
1. As far i know there is an official twrp. If you have it installed in your device, then this is just a piece of cake
2. Flash PitchBlack-shark-2.9.0-20190822-1712-UNOFFICIAL.zip from twrp.
3. It will reboot to recovery automatically after that.
BooM ! PBRP flashed successfully.
Notes for installing Magisk
- After booting into twrp, format data.
- Flash Magisk zip
- After flashing magisk, flash no-verity-opt-encrypt-6.0.zip
- reboot
Downloads
Both Image & Zip => https://androidfilehost.com/user/?w=settings-dev-files&flid=298268
no-verity-opt-encrypt-6.0.zip => https://androidfilehost.com/?fid=6006931924117942519
Contributors
chankruze
Source Code:https://github.com/N00bTree/android_device_blackshark_shark
Version Information
Status: Testing

[KERNEL][3.40][DM2] XPERIA M2 MagiskHide working kernel

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* 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.
*/
Finally I managed to build mount namespace enabled(required by MagiskHide) kernel for Sony Xperia M2.
I applied patch to the original kernel source code(available on Sony website), version 3.40(18.6.A.0.182)
So you don't need kernel 3.8+ for using MagiskHide
This kernel tested on D2302 device.
Kernel:
3.40 - 18.6.A.0.182
Features:
mount namespace(required by MagiskHide)
kernel configuration is available in /proc/config.gz
boot image format is AOSP, so there is no need to use Boot Bridge for flashing Magisk
Tools:
Ubuntu 14.04
gcc 4.7
mkqcdtbootimg (for building flashable boot image)
Flashtool 0.9.11.0 (for extracting kernel.elf from original .FTF)
Android Image Kitchen 3.6 (for extracting ramdisk and cmdline from original kernel image)
TWRP 3.1.0-0
Magisk 20.3 (20300)
Magisk Manager 7.5.1 (267)
Download:
DM2-V0100-D2302-boot.img
Installation:
Ensure device ROM version is 18.6.A.0.182 or based on that or has same working kernel
Download .img file
Power off device
Press Vol+
Hold Vol+ and connect device to your computer using USB cable
Device will boot in fastboot mode(verify that notification light color is blue)
run "fastboot devices" to ensure device is connected (fastboot print device serial number)
run "fastboot flash boot DM2-V0100-D2302-boot.img"
Ensure no error is occured during flash
run "fastboot reboot" to restarting device
After boot up check kernel version in Setting->About
Magisk can be flashed using TWRP
If MagsikHide not worked :
turn off and then on again MagiskHide in MagiskManager->Seetings
Hide Magisk Manager using "Magisk Manager->Settings->Hide Magisk Manager"
If you encounter bootloop or other kernel related problem:
Don't worry
Download original ROM 18.6.A.0.182 using XperiFirm or newer version of Flashtool bundled with XperiFirm
Install and Run Flashtool 0.9.11.0+(I used 0.9.11.0 version)
Click on "Flash Device" button in toolbar
Select "Flashmode" in "Bootmode chooser" window
Select downloaded ROM in left panel
Exclude eveything in right panel except KERNEL
Uncheck all WIPE options
Don't change other settings
Click "Flash" button and follow flash process
Thanks:
Norbert Harrer
didgeridoohan and Magisk Documentation,here , here and here
Eric W. Biederman(patching kernel source code)
xavileon (patching kernel source code)
ugurkrl (kernel compiling and image building guideline)
XDA:DevDB Information
DM2 - MagiskHide working kernel 3.40, Kernel for the Sony Xperia M2
Contributors
m.tarhsaz
Kernel Special Features: MagiskHide working patched kernel 18.6.A.0.182
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2020-03-11
Created 2020-03-10
Last Updated 2020-03-12
Reserved
Reserved
thank you, nice to see kernels and mods coming out for eagle in 2020. let's keep this device alive )

[Rom][Port] Lineage Os for Karbonn K9 Kavach 4G

LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), which is designed to increase performance and reliability over stock Android for your device.
Disclaimer:
Code:
* Your warranty is void.
* 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.
Unofficially ported by me for Karbonn K9 Kavach 4G from moto c.
I don't have a pc that's why I cannot generate a beautiful updater-script for fast installation of the rom. Therefore I used twrp backup and twrp restoration method to make the updater script.
What's working:
- Almost everything
What's not working:
-Volte(Like all other mtk roms , you can use jio4Gvoice app)
Update :In Previous build I used busybox rm -rf command to format system which sometimes not working and the rom installed without erasing the present rom and gives bootloop. In this build this problem is fixed.
Download links>>
Rom(Updated link ): Download
***Make a backup of nvram , Boot , nvdata , system ,data before proceeding***
Instructions: ( 2 methods , use any one )
Method 1 (slow):
1. Wipe data and system from twrp( important otherwise modems will not work )
2. Install the zip.
3. Restore nvram and nvdata
4. Done....
Method 2 (fast)(recommended):
1. Download and extract the zip
2. You will find system.ext4.win and boot.emmc.win
3. Copy them into twrp backup folder(if you know where it is)
4. Wipe data from twrp( important otherwise modems will not work )
5. Restore system and boot and nvram and nvdata
3.done....
Flash twrp recovery if you haven't then visit https://youtu.be/rNgItjvz6FM
Rom is prerooted with magisk.
Minimal Gapps included.
Contributors:
Lineage os
@Bit2boss
Source Code: https://github.com/LineageOS
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.x
ROM Firmware Required: TWRP recovery
Based On: LineageOS
hit thanks if you like this rom..
Also u can donate to help me.Donate
Status: Stable
Release Date: 2020-07-14
2nd release date : 2020-07-24
Working video : https://youtu.be/T9VdSLnNJPA
If anyone want to use this method to create Rom Updater script using twrp backup then feel free to use it . just give me proper credits.

Categories

Resources