Friday, May 25, 2018

Flashing one plus 1

How to flash one +1 with twrp

Setup, Preparation and Prerequisites 

I know there are already a few root guides out there for this phone, but I found that they weren't very detailed. This guide is thorough and explains each and every step in a noob-proof manner.

Basic tasks that I may refer to throughout this guide:
  • Open command prompt - Press Window Key + R, type in "cmd" (without the quotes), and hit enter.
  • Enter fastboot mode- Turn the phone off. Hold volume up + power until the "fastboot" screen appears.


ADB and Fastboot Installation
  1. Download the full Android SDK here (scroll to the bottom of the page>DOWNLOAD FOR OTHER PLATFORMS>SDK Tools Only) or get a slimmed version containing only the essential components here
  2. Extract the zip and place the android-sdk-windows folder on your desktop.
    **If you chose to download the slimmed sdk skip to step 5**
  3. Only if you downloaded the full sdk: Go into the android-sdk-windows folder and run SDK Manager.exe. Install the following packages (there are a total of 4 packages):
    - Tools > Android SDK Tools, Android SDK Platform-tools
    - Extras > Android Support Library, GoogleUSB Driver
  4. Only if you downloaded the full sdk: Go back into the android-sdk-windows directory, and you should see a new folder named platform-tools. If you don't see this new folder, repeat the step above.
  5. To confirm that it is indeed working, open a command prompt window and enter the following commands:
    Code:
    cd Desktop/android-sdk-windows/platform-tools
    adb version
    If it displays "Android Debug Bridge version x.x.xx" it is working. If it is gives an error saying that adb is not a recognized command, it has not been successful. Carefully repeat the steps above if this is the case. Close the command prompt window when you are done.
  • Show File Extensions - Open a command prompt window and run "Control folders" (without the quotes). Go to the View taband uncheck the "Hide extensions for known file types" option. This will help avoid confusion when renaming files.
  • Battery - Ensure that your phone has at least 60% battery remaining, and that your PC is plugged in and wont shut down spontaneously during the process. The procedure doesn't take very long (5-15 minutes), but its best to have enough charge in case something goes wrong.
  • Backup (Optional) - Unlocking the bootloader will completely wipe all datafrom the device. This includes apps, settings and even the contents of the internal sdcard (pictures, music, etc.). Copy all important files off the phone onto a PCor upload them to a cloud.
  • Driver Installation - Download and installthe Universal ADB Driver. Alternatively, use this method.


Downloads
Download a custom recovery and the SuperSU zip below. Place both files (recovery image and root zip) in the platform-tools folder located on your desktop within the android-sdk-windows folder.

Custom Recovery: 
TeamWin Recovery Project (TWRP)

Root:
SuperSU


Information
Rooting this device is actually quite a simple and easy process. Before you begin, it is recommended that you at least try to understand what each part of the process will do. Although this guide will elongate each step in order to show all of the details, the method used can be broken up into 3 main steps: Unlocking the Bootloader, Installing a Custom Recovery and finally Rooting. Each new step relies on the previous step to have been completed, and a basic summary of each part is:
  1. Unlocking Bootloader: Opens the door to the internal memory of the device to be written on to. This allows you to flashimages onto the main partitions of the phone. 
  2. Installing a Custom Recovery: A custom recovery is flashed onto the recovery partition of the device and overwrites the stock recovery that exists by default. Custom recoveries bring lots of functionality and give you the ability to perform wipes, install flashable zips, create full backups of your NAND (Nandroid backup), and various other features. An unlocked bootloader is needed to install a custom recovery.
  3. Rooting: You can gain root by either flashing via recovery a pre-rooted custom rom, or flashing a zip containing the SuperSU binaries. A custom recovery is necessary to do this.

After completing these steps your phone will be rooted, the phone will have a custom recovery installed, and the phones bootloader will be unlocked. This, in my opinion, is the most practical and beneficial method for rooting your phone. It gives you some basic adb/fastboot knowledge, and should hopefully help you have a decent understanding of what is going on. Also this method will work regardless of what android version your phone has.

If you are confused by anything in this guide, I would highly suggest getting it clarified being before moving on. Ask your question in this thread and I or someone else will likely answer. Also I'd suggest that you read over the whole thread a few times before actually doing anything to the phone.

Understand? Good...lets begin:


1. Unlocking Bootloader
  • Turn the phone off. Then boot it into fastboot mode by holding volume up + power. The phone will display "fastboot" text indicating that it has successfully entered fastboot mode.
  • Plug the phone into your PC, then open a command prompt window and type:
    Code:
    cd Desktop/android-sdk-windows/platform-tools
    Code:
    fastboot devices
    This command will list the connected devices. If your phones serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly. In order for you to continue you must fix your drivers so that your phone is listed under fastboot devices.
  • If the phone has been recognized by the command above, proceed to unlocking the bootloader with the following command:
    Remember that this step will wipe EVERYTHING off the phone
    Code:
    fastboot oem unlock
  • After the above command has finished excuting, run the following
    Code:
    fastboot reboot
    The phone will reboot. Wait until the phone has fully booted up into android, then adjust the following settings on the phone:
  • USB Debugging - On your phone go to Settings > About phone > Tap on Build number 7 times. This will enable Developeroptions. Now go back to Settings > Developer options > Enable USBdebugging
  • Disable CM Recovery Protection - On your phone go to Settings > Developeroptions. Then disable the 'Update recovery with system updates' option.
  • Close the command prompt window and proceed onto the next section of the guide.


2. Installing a Custom Recovery
  • Turn the phone off. Then boot it into fastboot mode by holding volume up + power.
  • Rename the recovery file that you downloaded above to recovery.img. *Make sure that you rename it to recovery.img NOT recovery.img.img* Remember that this file should be placed in the platform-tools folder inside of the android-sdk-windows folder on your desktop.
  • Open a new command prompt and run the following commands:
    Code:
    cd Desktop/android-sdk-windows/platform-tools
    Code:
    fastboot flash recovery recovery.img
  • Once the flash has completed type the following command to reboot the phone:
    Code:
    fastboot reboot
    After the phone has booted back up, turn it off. Now to enter your newly installed custom recovery, hold volume down + power. The phone should boot into recovery mode. Now that you have a custom recovery, you may continue to the final step.
  • Close the command prompt window

FFlashing one plus 3

How to flash one plus 3 with twrp

Necessary Downloads:
Oreo Compatible TWRP: https://drive.google.com/open?id=0B4...3dBbzJhMWJUVE0
SuperSU Zip: https://drive.google.com/open?id=0B4...1U3c3JSRmF2dWs

Steps to install TWRP and Root:

Note: My phone was encrypted when I tried this.

1. Copy the downloaded SuperSU Zip file to your phone.
2. Copy the TWRP file to the folder where ADB and Fastboot are installed.
3. Turn off your OnePlus 3/3T. Boot your OnePlus 3/3T into Fasboot mode > Press and hold the Volume Up Button + Power Button.
4. Connect your phone to your PC via USB Cable.
5. Open a command window on the folder where ADB and Fastboot are installed. Go to the folder where ADB and Fastboot are installed. Hold down Shift Key > Right Click on the empty space > Choose ‘Open CMD Here’.
6. Execute the below command in the command window to see if your device is properly connected:
Code:
fastboot devices
7. Make sure the TWRP file is in the ADB folder. Execute the below command to install TWRP on your OnePlus 3/3T running Android Oreo:
Code:
fastboot flash recovery TWRP-Oreo-OnePlus-3-3T.img
Do not restart your device upon installation. The procedure is not yet over. 
8. Assuming you are now in Fastboot Mode, use the volume buttons and choose ‘Recovery Mode’ and then press the power button to enter TWRP Recovery.
9. Once you are in TWRP > Tap on ‘Install’ > Choose the SuperSU Zip file which you have downloaded from above > Swipe right to flash.
10. Reboot your device.

Let me know if you have any questions/doubts!

Flashing Oppo neo 7

How to flash oppo neo 7 with twrp

A TWRP custom recovery let a user install various Mods on its android device. You can flash custom ROMs, custom kernels, custom audio Mods, flash Xposed framework and much more. Know about how to Root and Install TWRP recovery on Oppo Neo 7 read below article.
Prerequisites:-
– This guide is only for Oppo Neo 7.
– ‎Make sure to have a complete backup of your device.
– ‎You must have installed minimal ADB and Fastboot on your computer.
– ‎You must have installed all Oppo Neo 7 USB drivers on your computer.
– ‎Make sure to charge your device more than 75%.
– ‎A USB cable.
– ‎We will not responsible if you brick your device.
– ‎Working internet connection to download the file.
– ‎Have patience and working mind.
Steps to Install TWRP recovery on Oppo Neo 7:-
– First of all make sure you have completed all steps of prerequisites.
– ‎Now power off your device.
– ‎Now boot your phone into fastboot mode by press and hold Volume Down + Power button simultaneously.
– ‎Now connect your device to your computer through a USB cable.
– ‎Now navigate to ADB and Fastboot folder.
– ‎Here, press and hold Shift Key and right-click on the empty space inside the folder.
– ‎Here select Open PowerShell windowhere or Open command window here.
hoe to root, how to install twrp recovery
– Now type below command to verify your device is connected properly:-
Window users:- fastboot devices
Mac users:- ./fastboot devices
Note:- Here your device will be listed if you have connected your device properly. If it does not list your device than replace the USB cable and try again.
– Now type below command to boot your Oppo Neo 7 into Fastboot mode:-
Window users:- adb reboot bootloader
Mac users:- ./adb reboot bootloader
– Now type below command to flash TWRP recovery:-
Windows users:- fastboot flash recovery recovery.img
Mac users:- ./fastboot flash recovery recovery.img
– Now type below command to reboot your device:-
Mac users:- ./fastboot devices
Widows users:- fastboot devices
– Congratulations!! You have successfully installed TWRP recovery on Oppo Neo 7. Enjoy!!

Flahing gsamsung galaxy grand prime sm-g531f

How to flash latest stock, twrp on SM-G531F Galaxy Grand Prime VE

Hey there, 
I decided to write a how-to on gaining root for the g531f Galaxy grand prime ve.
This should work for all grand prime devices based on marvel soc. 
About this method:
Knox counter was not tripped for my device using this method. 
The main steps, flashing latest stock and twrp, are perfomed by Odin. To gain root chainfire's supersu is flashed with twrp. If you are unsure about any step there are enough guides found on xda refering odin, twrp and supersu.
So let's get started. 

I`M NOT RESPONSIBLE FOR ANY DAMAGE OR WARANTY LOST ON YOUR PHONE. 

1. Make sure your device drivers is installed properly 
2. Get Odin v3.09 for example here: 

3. Get your latest firmware and extract it once
http://www.sammobile.com/firmwares/database/SM-G531F/
4. Get twrp
https://dl.twrp.me/grandprimevelte/t...e.img.tar.html
5. Get supersu by chainfire 
Latest beta 
http://forum.xda-developers.com/apps...v2-05-t2868133
Or confirmed working version 5.52 beta, if the latest doesn't work thanks to @XelSam:
https://download.chainfire.eu/743/Su...erSU-v2.52.zip
6. Backup all things you need and copy supersu to external sd card
7. Boot to stock recovery and perform a factory reset and wipe internal memory. 
(power off device and keep holding volume up, home and power button)
8. Reboot to download Mode, then start odin and connect your device 
(holding volume down, home and power button to get into download Mode) 
9. Flash your firmware with Odin by using the AP button and hit start. Make sure repartition is NOT selected and untick auto reboot. This step takes some time
10. Boot to download Mode again. And flash twrp as mentioned above. Using AP and the same selection. 
--if twrp doesn't boot you have to use another firmware (step 9) post #20-- thanks to @bluepower
11. Boot into twrp recovery. Hit install and select the supersu zip file then clean cache and dalvic. 
(holding volume up, home and power button)
12. Reboot your phone and see if everything is working. 
13. Go to dev settings and tick "manufacturer unlock" to prevent fap lock. 
(unlock dev settings: Settings - about phone - tap build number 7 times). If that doesn't work check post #4 and #6 and say thx to @hck5
14. Make a nandroid in twrp recovery to have a clean rooted rom to return to if anything gets messed up with further modding (eg. xposed framework etc.) 

10.1 100%Working firmware
If you can't find a version that allows to flash twrp (carrier lock) use this unbranded one: 
http://www.sammobile.com/firmwares/d...FDBT1AOI2_DBT/
Check gps. If it doesn't lock install this app and configure your region. 
https://play.google.com/store/apps/d...=by.zatta.agps

Flash Mi a1

How to flash mi a1 with twrp

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
whats working?

  • All paritions are mounting
  • Can change Slot A/ Slot B on twrp its self
  • Everything as usual.. (Backup/restore)
  • recovery booting after rebooting to system also 
  • sdcard working
  • USB-OTG working
  • Add system_image mount point to flash system images
  • Add update_engine_sideload

Instructions:
Steps:
  • Download required files from downloads
  • Unlock your bootloader( u must be unrooted)
  • Reboot to bootloader
  • fastboot boot recovery-xx.img
  • Boot into Recovery
  • Change Partition slot using twrp[Reboot--> Change_Slot]
    (for example, if you're in slot A, change it to Slot B and Vice versa)
  • flash twp-installer.zip
  • Flash Magisk{Use Latest} for Root Access(If Neccessary)
  • Success

Flash Lava iris 501

How to flash Samsung galaxy s4 with twrp

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Code:
 * Your warranty is now void.
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or your 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.

Odin
- Odin3 v3.13.1

Heimdall
- Glass Echidna

TWRP
- TWRP for Samsung Galaxy S4 (GT-I9505/G, SGH-M919)

Bootloader and modem
- I9505XXUHQK1_I9505XXUHQK1.tar

[THEME][TWRP] TWRP Materialised - Black / Dark / Light / Play [27/01/18]
- z31s1g


How to flash TWRP with Odin

1. If your phone is turned on normally, turn on Advanced reboot in Developer options and select "Download" from the Restart menu. Alternatively, power it off and press the Power, Volume Down, and Home buttons simultaneously. When the blue screen appears, release all 3 buttons and press Volume Up.
2. In Odin, import the appropriate twrp.tar file for your variant with the "AP" and press the "Start" button.

How to flash TWRP within a previous version of TWRP

1. If your phone is turned on normally, turn on Advanced reboot in Developer options and select "Recovery" from the Restart menu. Alternatively, power it off and press the Power, Volume Up, and Home buttons simultaneously. Release all 3 buttons when the boot screen appears ("Samsung Galaxy S4").
2. In TWRP, tap "Install" then "Install Image".
3. Navigate in the folder structure to the location of the appropriate twrp.img file for your variant and tap it.
4. Select the "Recovery" radio button.
5. Move the slider to the right to flash the TWRP image.
6. Tap "Reboot System" or, alternatively, tap the back arrow 3 times to return to the main menu, then tap "Reboot" and "Recovery" to reboot into the TWRP image you have just flashed.

Changelog
- See post #2.

Bugs
- You tell me!

Credits
- side, ItsOnlyBinary, Szwajowy, and every other open source developer and user who contributes directly or indirectly to the TWRP community in the development of and in providing feedback for jfltexx.

Sources
- jf kernel repository
- jfltexx repository
- TWRP repository

XDA:DevDB Information
TWRP 3.2.1-0, ROM for the Samsung Galaxy S4

Contributors
ripee
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x

Version Information
Status: Testing
Current Stable Version: 3.2.1-0
Stable Release Date: 2018-02-06

Flashing Samsung galaxy s4

How to flash Samsung galaxy s4 with twrp

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Code:
 * Your warranty is now void.
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or your 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.

Odin
- Odin3 v3.13.1

Heimdall
- Glass Echidna

TWRP
- TWRP for Samsung Galaxy S4 (GT-I9505/G, SGH-M919)

Bootloader and modem
- I9505XXUHQK1_I9505XXUHQK1.tar

[THEME][TWRP] TWRP Materialised - Black / Dark / Light / Play [27/01/18]
- z31s1g


How to flash TWRP with Odin

1. If your phone is turned on normally, turn on Advanced reboot in Developer options and select "Download" from the Restart menu. Alternatively, power it off and press the Power, Volume Down, and Home buttons simultaneously. When the blue screen appears, release all 3 buttons and press Volume Up.
2. In Odin, import the appropriate twrp.tar file for your variant with the "AP" and press the "Start" button.

How to flash TWRP within a previous version of TWRP

1. If your phone is turned on normally, turn on Advanced reboot in Developer options and select "Recovery" from the Restart menu. Alternatively, power it off and press the Power, Volume Up, and Home buttons simultaneously. Release all 3 buttons when the boot screen appears ("Samsung Galaxy S4").
2. In TWRP, tap "Install" then "Install Image".
3. Navigate in the folder structure to the location of the appropriate twrp.img file for your variant and tap it.
4. Select the "Recovery" radio button.
5. Move the slider to the right to flash the TWRP image.
6. Tap "Reboot System" or, alternatively, tap the back arrow 3 times to return to the main menu, then tap "Reboot" and "Recovery" to reboot into the TWRP image you have just flashed.

Changelog
- See post #2.

Bugs
- You tell me!

Credits
- side, ItsOnlyBinary, Szwajowy, and every other open source developer and user who contributes directly or indirectly to the TWRP community in the development of and in providing feedback for jfltexx.

Sources
- jf kernel repository
- jfltexx repository
- TWRP repository

XDA:DevDB Information
TWRP 3.2.1-0, ROM for the Samsung Galaxy S4

Contributors
ripee
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x

Version Information
Status: Testing
Current Stable Version: 3.2.1-0
Stable Release Date: 2018-02-06