REQUIREMENTS:
1. Download and install python and git
2. Open cmd:
Code:
git clone https://github.com/bkerler/mtkclient
cd mtkclient
pip3 install -r requirements.txt
3. Get usbdk installer (.msi) from here and install it
4. Install normal MTK Serial Port driver
UNLOCKING BOOTLOADER:
Code:
/*
* 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 this guide
* before attemting 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.
*/
Code:
/*
* Please Note that this WILL reset your phone
* and any data that is important to you needs
* to be backed up before doing this.
*/
1. Erase metadata and userdata (and md_udc if existing):
Code:
python mtk e metadata,userdata,md_udc
2. Unlock bootloader:
Code:
python mtk da seccfg unlock
for RELOCKING use:
Code:
python mtk da seccfg lock
3. Reboot the phone:
Code:
python mtk reset
and disconnect usb cable to let the phone reboot.
Code:
/*
* If the phone does not reboot,
* disconnect it from the computer
* and hold the power key to power it on.
*/
And There you go! You have successfully unlocked the bootloader on a phone that was locked by the manufacturer for security reasons.
Related
Disclaimer
#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 recovery
* 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.
*/
This recovery is for Samsung Galaxy Ace Plus - trebon - GT-S7500
I'm doing this for testing and learning purposes because I want to get deeper into the Android world. And recoveries are a good place to start, especially on such an old device.
If you know what you're doing you can test it and report what's working and what's not. As I already said - it's a learning process for me. I'm glad of every advice.
Changelog:
20170524
first release
Issues:
reboot to system not working (you have to power off and then restart normally)
using prebuilt kernel (should be built from source in the future)
MTP not working (maybe because of prebuilt kernel)
adb not working (maybe because of prebuilt kernel)
Flashing:
I'm using heimdall under linux
Code:
sudo heimdall flash --RECOVERY path/to/image/recovery.img
Credits:
Dees-Troy (TWRP)
Kiki (donated the device)
mb-14
Liam D (device tree)
Sources:
TWRP: https://github.com/omnirom/android_bootable_recovery
Device stuff: https://github.com/115ek/android_device_samsung_trebon/tree/TWRP
-reserved for future use-
Nice one! My device is already in use! Thank you so much!
Sent from my HTC One using Tapatalk
Code:
/*
*
* 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 Recovery
* 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.
*/
How to Flash:
Prerequisites​
Realme U1 (On Android 8.1)
A PC with Platform tools and ADB drivers
A Brain
1)Get your boot-loader unlocked ( Search on Internet )
2)Download TWRP for Realme U1 ( Contact Me on Telegram @rishabh_lohiya16 or at Whatsapp 9599326150 )
3)boot in fastboot mode
Code:
adb reboot bootloader
flash TWRP using
Code:
fastboot flash recovery rmu1.img
Now Enjoy
Credits
@Rishabh16 (Its ME )​Version Information
Version : twrp 3.2.3
Status : Beta
I Will Develop For Pie (Android 9) version Shortly.
Awesome
Good going brother. I hope we get a separate section in XDA forums.
Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions often unsupported by stock recovery images. It is, therefore, often installed when rooting Android devices, although it isn't dependent on a device being rooted to be installed.
DOWNLOAD
TWRP 3.3.1.0
Code:
/*
* 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.
*/
Flashing Instructions
Make sure you have fastboot drivers installed and your bootloader is unlocked
Download the file
In fastboot open the directory of downloaded file and type
fastboot flash recovery marino_twrp-treble.img, after that type
fastboot oem reboot-recovery, You'll have a black screen on your display wait for 5-10s you'll be greeted with TWRP screen if you still didn't get the screen then press power button 2-3 times
BUGS
Data decryption ( For this you need to select Wipe -> format data (You'll lose all your data in this process) )
No Battery% ( I purposefully disabled it as the battery% always stays at 50%)
MTP (Can use adb push, adb pull and adb shell to manage)
Credits
Me
Chinmay and Love Sengar for testing
Source Code: TWRP source, Device Tree and
Kernel Source
This TWRP can be used for both Treble and Non-Treble roms
Team Win Recovery Project 2.x, or twrp2 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:
#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 ROM
* 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.
*
*/
Bugs
You tell me ;D
Install guide
1. Install adb tools from Google's SDK on your PC
2. Reboot into fastboot mode
3. Unlock your bootloader (Some devices might have it locked, running 'fastboot oem unlock' fixes it)
4. Run "fastboot flash recovery path/to/recovery.img" in the command line
5. Reboot to recovery mode
6. Enjoy!
Downloads
2.8.6.0
Source Code
https://github.com/omnirom/android_bootable_recovery
Kernel is a prebuilt.
Donations
https://paypal.me/TipzTeam
Reserved
REQUIREMENTS:
1. Download and install python and git
2. Open cmd:
Code:
git clone https://github.com/bkerler/mtkclient
cd mtkclient
pip3 install -r requirements.txt
3. Get usbdk installer (.msi) from here and install it
4. Install normal MTK Serial Port driver
5. Install ADB
6. Have the bootloader unlocked (follow this guide)
ROOTING THE PHONE:
Code:
/*
* 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 this guide
* before attemting 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.
*/
1. Dump boot and vbmeta:
Code:
python mtk r boot,vbmeta boot.img,vbmeta.img
2. Reboot the phone:
Code:
python mtk reset
Code:
/*
* If the phone does not reboot,
* disconnect it from the computer
* and hold the power key to power it on.
*/
3. Download patched magisk for mtk and move it to the phone
4. Install on target phone:
Enable Usb Debugging (Search in Settings)
Code:
adb install app-release.apk
5. Upload boot to /sdcard/Download:
Code:
adb push boot.img /sdcard/Download
6. Start magisk, tap on Install, select boot.img from /sdcard/Download, then:
Code:
adb pull /sdcard/Download/[displayed magisk patched boot filename here]
mv [displayed magisk patched boot filename here] boot.patched
7. Flash magisk-patched boot and empty vbmeta:
Code:
python mtk w boot,vbmeta boot.patched,vbmeta.img.empty
Code:
/*
* If it does not detect the phone,
* hold volume down and connect to
* the computer again.
* If it still does not detect it,
* install drivers from Device Manager,
* click on your computer name,
* Action-->Add Legacy Hardware-->Next
* Install the hardware that I manually select from a list (Advanced)
* Next-->Select "Ports (COM & LPT)--Next
* Select "MediaTek Inc." and install
* all drivers one by one (the newest version).
* Try again.
*/
8. Reboot the phone:
Code:
python mtk reset
Code:
/*
* If the phone does not reboot,
* disconnect it from the computer
* and hold the power key to power it on.
*/
9. Disconnect the usb cable and enjoy your rooted phone.
Code:
/*
* DO NOT update Magisk after this,
* because it is a modified version
* just for MediaTek devices.
*/