[GUIDE] Gigaset GS5 (rephone) root with Magisk + unlock bootloader - General Topics

hello I'm not sure if this is the right place to post this in but I'll be putting together a small guide on how to root the Gigaset GS5​the phone I own is called "rephone" it's apparently a sustainable version of the Gigaset GS5 with a removable battery recycled plastic etc etc. But specs wise it is the same as the Gigaset GS5
anyways I did this yesterday so it's possible that I forgot some steps, if you encounter issues feel free to leave a comment and I'll try to assist you
prerequisites:​- make sure you actually have this device
- make sure you are on Android 12 (ota update)
- make sure you back up your data
- make sure you read this guide carefully
UNLOCKING BOOTLOADER WILL WIPE ALL YOUR DATA!!! MAKE SURE TO BACK EVERYTHING UP​Proceed with caution, I am not responsible for anything that may happen to your phone, you are doing it at your own risk
Easy method (flashing pre-made boot.img) :​I would not recommend this method because I extracted the kernel from my rephone and I don't know if the firmware/kernel for that is 1:1 with the GS5, ideally you want to extract the boot.img of your own device but that takes way more time so only proceed with this if you're at a pinch or are too lazy to extract your own boot.img
Also please download CPU-Z on your device and check your Build ID under the System tab, if it matches with mine then feel to proceed with this method, if not then do not proceed and instead extract your own boot.img and patch that
Build ID for my rephone is: 2000_000170_00_12.0_V06_20221025
Set up adb&fastboot on your computer (google 15 second adb installer)
Grab the patched boot.img from my GitHub and copy it to C:/adb or wherever you installed adb&fastboot: https://github.com/astolfoaddict/GigasetGS5-Magisk
Unlock developer options in your phone and enable OEM Unlocking
Power off your device and hold volume up+power until you boot into bootloader
Select and boot into Fastboot Mode, connect device to your computer
At this point you're in fastboot, open CMD in C:/adb
Your bootloader is probably locked, to check run this command: fastboot getvar unlocked if the result is no, your bootloader is locked
To unlock your bootloader run this command and follow the instructions on your device: fastboot flashing unlock (THIS WILL WIPE YOUR DATA)
Once you unlock your bootloader, wipe your vbmeta partition. Follow Method 3 in this guide: https://www.hovatek.com/forum/thread-32719.html
Now flash the boot.img: fastboot flash boot boot.img
Reboot, set up the device, install Magisk Manager and enjoy!
Advanced method (extracting and patching your own boot.img) :​In this method we'll be extracting the boot partition from your device so you can patch it with Magisk and flash
Proceed with caution!
Install Mediatek VCOM drivers, follow this guide: https://www.hovatek.com/forum/thread-440.html
Dump your boot_a partition with MTK Client by running python mtk r boot_a boot.img follow this guide: https://www.hovatek.com/forum/thread-40865.html
Install Magisk Manager and patch your boot.img
Unlock bootloader, flash empty vbmeta and boot by following the method above
Important:
- Make sure you run python mtk r boot_a boot.img in MTK Client
- If you don't see Mediatek VCOM drivers in Device Manager after using the auto installer, try installing the drivers manually (check guide)
- Also booting into BROM mode is tricky, what usually works for me is:
Power off device and connect to PC
As it starts up and shows you the battery charge, wait until the screen goes out
At this point you should run the python command in MTK Client
Hold volume down+power and check the terminal
If you want to extract the entire firmware follow this guide: https://www.hovatek.com/forum/thread-21970.html
Be aware that your chipset will not be listed in WwR MTK so what you do is open Template.ini with Notepad++ and add MT6768 under the CPU section, don't worry about the chipset not matching what this phone has (MT6769), adding MT6769 to CPU and exporting scatter file will not let you import it in SP flash tool
Special thanks to axonasif and supremegamers for the guide I pulled most of the stuff out of: https://github.com/supremegamers/mt6769​Also thanks to hovatek for their helpful resources regarding MTK flashing/drivers/etc. <3​

Hy
Ubuntu Touch with Waydroid works fine with Gigaset GS5......only Unlock Bootloader and flash with UB Port Installer..........
and you can flash Sailfish Port per Fastboot .............

yeah you can install GSIs too like lineage os and other stuff

astolfoaddict said:
yeah you can install GSIs too like lineage os and other stuff
Click to expand...
Click to collapse
Hy
have you some flashable files from lineage os...........??????? im searching found nothing............would be great
Thanks

astolfoaddict said:
yeah you can install GSIs too like lineage os and other stuff
Click to expand...
Click to collapse
its only a fake to install GSI image!!!!!! Dont work!!!!!!

hugolight said:
its only a fake to install GSI image!!!!!! Dont work!!!!!!
Click to expand...
Click to collapse
what do you mean?

astolfoaddict said:
what do you mean?
Click to expand...
Click to collapse
i have found no one GSI img file to flash my gigaset gs5!!!!!!

hugolight said:
i have found no one GSI img file to flash my gigaset gs5!!!!!!
Click to expand...
Click to collapse
[GSI][12] LineageOS 19.x GSI (A64B/64B)
Background: This is a natural continuation/extension of the LineageOS 18.x GSIs I've been making since 2020. LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and...
forum.xda-developers.com
try this one, boots and works just fine on my device.

astolfoaddict said:
[GSI][12] LineageOS 19.x GSI (A64B/64B)
Background: This is a natural continuation/extension of the LineageOS 18.x GSIs I've been making since 2020. LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and...
forum.xda-developers.com
try this one, boots and works just fine on my device.
Click to expand...
Click to collapse
Hello dont work
fastboot flash system lineage.img
Invalid sparse file format at header magic
Sending sparse 'system' 1/16 (131060 KB) OKAY [ 4.278s]
Writing 'system' FAILED (remote: 'This partition doesn't exist')
fastboot: error: Command failed

astolfoaddict said:
[GSI][12] LineageOS 19.x GSI (A64B/64B)
Background: This is a natural continuation/extension of the LineageOS 18.x GSIs I've been making since 2020. LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and...
forum.xda-developers.com
try this one, boots and works just fine on my device.
Click to expand...
Click to collapse
hy can you post the direct link for correct image (gigaset gs5)........thanks

astolfoaddict said:
hello I'm not sure if this is the right place to post this in but I'll be putting together a small guide on how to root the Gigaset GS5​the phone I own is called "rephone" it's apparently a sustainable version of the Gigaset GS5 with a removable battery recycled plastic etc etc. But specs wise it is the same as the Gigaset GS5
anyways I did this yesterday so it's possible that I forgot some steps, if you encounter issues feel free to leave a comment and I'll try to assist you
prerequisites:​- make sure you actually have this device
- make sure you are on Android 12 (ota update)
- make sure you back up your data
- make sure you read this guide carefully
UNLOCKING BOOTLOADER WILL WIPE ALL YOUR DATA!!! MAKE SURE TO BACK EVERYTHING UP​Proceed with caution, I am not responsible for anything that may happen to your phone, you are doing it at your own risk
Easy method (flashing pre-made boot.img) :​I would not recommend this method because I extracted the kernel from my rephone and I don't know if the firmware/kernel for that is 1:1 with the GS5, ideally you want to extract the boot.img of your own device but that takes way more time so only proceed with this if you're at a pinch or are too lazy to extract your own boot.img
Also please download CPU-Z on your device and check your Build ID under the System tab, if it matches with mine then feel to proceed with this method, if not then do not proceed and instead extract your own boot.img and patch that
Build ID for my rephone is: 2000_000170_00_12.0_V06_20221025
Set up adb&fastboot on your computer (google 15 second adb installer)
Grab the patched boot.img from my GitHub and copy it to C:/adb or wherever you installed adb&fastboot: https://github.com/astolfoaddict/GigasetGS5-Magisk
Unlock developer options in your phone and enable OEM Unlocking
Power off your device and hold volume up+power until you boot into bootloader
Select and boot into Fastboot Mode, connect device to your computer
At this point you're in fastboot, open CMD in C:/adb
Your bootloader is probably locked, to check run this command: fastboot getvar unlocked if the result is no, your bootloader is locked
To unlock your bootloader run this command and follow the instructions on your device: fastboot flashing unlock (THIS WILL WIPE YOUR DATA)
Once you unlock your bootloader, wipe your vbmeta partition. Follow Method 3 in this guide: https://www.hovatek.com/forum/thread-32719.html
Now flash the boot.img: fastboot flash boot boot.img
Reboot, set up the device, install Magisk Manager and enjoy!
Advanced method (extracting and patching your own boot.img) :​In this method we'll be extracting the boot partition from your device so you can patch it with Magisk and flash
Proceed with caution!
Install Mediatek VCOM drivers, follow this guide: https://www.hovatek.com/forum/thread-440.html
Dump your boot_a partition with MTK Client by running python mtk r boot_a boot.img follow this guide: https://www.hovatek.com/forum/thread-40865.html
Install Magisk Manager and patch your boot.img
Unlock bootloader, flash empty vbmeta and boot by following the method above
Important:
- Make sure you run python mtk r boot_a boot.img in MTK Client
- If you don't see Mediatek VCOM drivers in Device Manager after using the auto installer, try installing the drivers manually (check guide)
- Also booting into BROM mode is tricky, what usually works for me is:
Power off device and connect to PC
As it starts up and shows you the battery charge, wait until the screen goes out
At this point you should run the python command in MTK Client
Hold volume down+power and check the terminal
If you want to extract the entire firmware follow this guide: https://www.hovatek.com/forum/thread-21970.html
Be aware that your chipset will not be listed in WwR MTK so what you do is open Template.ini with Notepad++ and add MT6768 under the CPU section, don't worry about the chipset not matching what this phone has (MT6769), adding MT6769 to CPU and exporting scatter file will not let you import it in SP flash tool
Special thanks to axonasif and supremegamers for the guide I pulled most of the stuff out of: https://github.com/supremegamers/mt6769​Also thanks to hovatek for their helpful resources regarding MTK flashing/drivers/etc. <3​
Click to expand...
Click to collapse
I’d put the devicees in fastboot mode and run:
fastboot getvar product
Gigaset k69v1_64
Rephone k69v1_64_k419
GS5 and Rephone not the same!!!!!!

astolfoaddict said:
[GSI][12] LineageOS 19.x GSI (A64B/64B)
Background: This is a natural continuation/extension of the LineageOS 18.x GSIs I've been making since 2020. LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and...
forum.xda-developers.com
try this one, boots and works just fine on my device.
Click to expand...
Click to collapse
Hy
Mobile Data work with this image?

Hy,
my bootloader is unloock.......cant flash any image......
FAILED (remote: 'Not enough space to resize partition')
what can i do????

Hi
i have the same rephone with Build like yours astolfoaddict : 2000_000170_00_12.0_V06_20221025
and did the easy UNLOCKING method.
then i flashed "fastboot flash system lineage-19.1-20230418-UNOFFICIAL-a64_bvS.img"
an now my phone hangs in a bootloop.
did i missed something like the recovery.img cause i dont have that or what i have done wrong ?

Hi everybody,
is this a working method for installing lineage 19 on a rephone? w2273 and hugolight do you had success?
In other words, should i try or not ;-)
thanks.....

Related

Tecno Pouvoir 4 [LC7] [UNLOCK BOOTLOADER] [ROOT GUIDE] [STOCK ROM]

Hi
Recently someone sent me a device from Tecno which is not available in Europe. It is Tecno Pouvoir 4 which comes with 3gb ram 32gb rom, 7 inch screen, Mediatek Helio A22, Android 10.
I take no responsibility for your actions and anyone who is willing to follow this guide should know the consequences as well. If you do not know what you are doing, please do not go ahead with this guide.
This is the method that I have tested and works perfectly!
1.Unlock Bootloader > enable oem unlock , usb debugging after turning on developers options from settings
2. Install drivers, Setup adb and fastboot and type :
Code:
adb devices
check if device is connected properly
Code:
adb reboot bootloader
boot into fastboot
Code:
fastboot devices
check if fastboot device connected properly
Code:
fastboot flashing unlock
Command to unlock bootloader
press volume up key on screen when prompted. Your device will be unlocked and all date will be lost.
3. Next , I used magisk to patch boot.img from stock rom. The size of boot.img reduced to 9Mb from 32Mb.
Copied it from phone and saved it in PC to flash it to device
Code:
fastboot flash boot nameofboot.img
nameofboot.img will be the name of patched boot image you are using.
Next, I flashed patched vbmeta.img which I made with avbtools in python.
Code:
fastboot flash vbmeta vbmeta.img
Code:
fastboot reboot
The device also contained vbmeta_system and vbmeta_vendor which I initially patched as well but after more testing, flashing modified has no effect on the outcome if bootloader is unlocked.
FILES HERE
Please use the files from folder "FIles Used" which contains
a. vbmeta_disabled_unsigned > This is vbmeta.img
b. magisk_patched_flashed > this is boot.img
vbmeta_disabled_unsigned should work with any future versions as well.
Make sure you have same stock rom version as listed above if you are going ahead with flashing. These files are from "LC7-H6116BCF-Q-GL-200612V304_Signed"
I have also found a full stock rom to recover this device online which I am sharing for anyone who faces a bootloop during this procedure.
STOCK ROM HERE
If anyone really needs the root, flash the above stock rom and then use the files in this guide.
Good Luck!
Anyone who wants more details about patching vbmeta, device partitions or anything about this device , I am more than happy to answer.
I have not been successful to port TWRP for this device yet. As I am not very interested in ROM development or any further development on this device, which needs lots of extensive work, I am not willingly to go ahead with that.
Good evening, what was sent was done and the bootloader was unlocked
But after inserting fastboot flash vbmeta vbmeta.img
Which is vbmeta_disabled_unsigned
The phone no longer works and the tecno logo does not appear or enter the fastboot
please help
oh my My mobile Tecno Pouvoir 4 version LC8 NOT [LC7]
*
send my mail : [email protected]
or my whatsapp : +966550066306
or my imo : +96655006306
or call me : +96655006306
All,
Were you able to Flash the boot.img? My mobile is Techno Poouvoir 4 and not Pro. Please help me.
Please help with bootable image for Pouvoir 4, not pro. I need the help with rooting.
Hello,
I have a Tecno Spark 4 air (kc6).
I can't find a stock rom. I read that it's possible to "dump" stock rom from a MediaTek Chipset so I can root it, but I don't know how. Can you help me please? thank you
if someone needs help with restoring your smartphone, please contact me directly via telegram, +31685657429
Dear friends, do not tell me about this problem. Once the phone was rooted, but the root is lost. Apparently due to a firmware update. Now it shows this message when loading. Now it's Android 11, with a security update from 03/05/22, HiOS 7.5.0 (OS7.5-R-P31-201030), build LC7-H6116BCF-R-GL-220311V1358.
How to root a phone without losing information? Thank you!
Hello sir,
Any twrp recovery !!!

Root Gigaset GS4

Hi guys. Is there any root method for the Gigaset Gs4? Thanks.
Anyone?
As long as you have the stock images there is.
Im currently trying to get the stock ROM in any way. If anyone has some tips please reply
Currently I'm trying to get the stock ROM using the image here: https://www.google.com/amp/s/unofficialtwrp.com/download-twrp-3-2-3-mediatek-mt6771-8-1/?amp
I hope that I can extract boot.img with it, to patch it with magisk.
Also take a look here:
Amazing Temp Root for MediaTek ARMv8 [2020-08-24]
Software root method for MediaTek MT67xx, MT816x, and MT817x! So it's no big secret that not too long ago, I found a way to achieve temporary root on MediaTek chipsets. No preinstalled root solution or device unlock was needed. The tool I...
forum.xda-developers.com
Edit: I found another image for the mt6771 that might work as well but keep in mind that it is not made for the Gigaset GS 4: https://www.techswizz.com/twrp-recovery-for-cubot-note-20-pro/ DOES NOT WORK!!
As soon as I got the patched image I think you can use this bypass to flash it: https://www.xda-developers.com/bypass-mediatek-sp-flash-tool-authentication-requirement/amp/ DOES NOT WORK!!
StarMiner99 said:
As long as you have the stock images there is.
Im currently trying to get the stock ROM in any way. If anyone has some tips please reply
Currently I'm trying to get the stock ROM using the image here: https://www.google.com/amp/s/unofficialtwrp.com/download-twrp-3-2-3-mediatek-mt6771-8-1/?amp
I hope that I can extract boot.img with it, to patch it with magisk.
Also take a look here:
Amazing Temp Root for MediaTek ARMv8 [2020-08-24]
Software root method for MediaTek MT67xx, MT816x, and MT817x! So it's no big secret that not too long ago, I found a way to achieve temporary root on MediaTek chipsets. No preinstalled root solution or device unlock was needed. The tool I...
forum.xda-developers.com
Edit: I found another image for the mt6771 that might work as well but keep in mind that it is not made for the Gigaset GS 4: https://www.techswizz.com/twrp-recovery-for-cubot-note-20-pro/
As soon as I got the patched image I think you can use this bypass to flash it: https://www.xda-developers.com/bypass-mediatek-sp-flash-tool-authentication-requirement/amp/
Click to expand...
Click to collapse
i managed to extract the stock boot.img and recovery.img using this guide with some modifications:
How to use Wwr MTK + SP Flash tool to backup Mediatek rom
This is a step-by-step guide on how to use Wwr MTK tool & SP flash tool to backup Mediatek (MTK) firmware. We had previously created guides on how to backup or dump firmware from a Mediatek (MTK) devi
forum.hovatek.com
things i did different:
i could not preform the ram test to determine the size of emmc_user so i just used a random length(0x3a3e00000) later on WwR told me that emmc_user should be: 0xe8f800000 i used this value to again read the emmc_user region and loaded it into WwR and continued on the rutorial.
now with this information we should be able to patch boot.img using magisk and flash it to our devices to root it.
to flash your device do the following: reboot into fastboot mode (power + volume up and select fastboot) then in a terminal type:
to unlock the bootloader:
fastboot flashing unlock
to flash an image to your device:
fastboot flash <partition> <image>
the stock images and the scatter file will follow
I managed to succesfully root my smartphone using magisk there was a single problem which is the following:
Android verified boot
you need to flash a new vbmeta image
i made my own empty vbmeta image and flashed it now its working and my smartphone is rooted
[HOW TO ROOT AND HOW TO INSTALL TWRP]
DISCLAIMER:
I will not be responsible for any damage to you device !!!!
step 1 :
make a backup of your smartphone data
step 2 :
unlock your bootloader
1. go to settings -> about phone -> click a few times on the build number
2. go to settings -> system -> developer options -> allow OEM unlocking
step 3 :
install adb and fastboot on your computer
https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/ <- you can download a minimal version here
step 4 :
enable usb debugging
go to settings -> system -> developer options -> enable usb-debugging
step 5 :
open a console on your computer and do the adb and fastboot stuff
type the following commands into your cmd:
adb reboot bootloader <- this will reboot your smartphone into fastboot mode
wait until your phone enters fastboot mode
as soon as your phone entered fastboot mode type the following:
fastboot flashing unlock <- this will unlock your bootloader you have to press volume up to confirm it
then flash vbmeta and magisk patched:
fastboot flash vbmeta vbmeta_disabled.img <- this will flash the new vbmeta file
[ROOT]
fastboot flash boot magisk_patched-23000_tvNQq.img <- this will flash the new boot image
[TWRP]
fastboot flash recovery twrp.img <- this will flash the new recovery image
step 6 :
reboot your phone and reconfigure it
Youre Done!
EDIT: please download the twrp image from the official TWRP site: https://twrp.me/gigaset/gigasetgs4.html
@StarMiner99 as I'm thinking about buying it I'm glad to know it can be rooted.
bmwdroid said:
@StarMiner99 as I'm thinking about buying it I'm glad to know it can be root
Click to expand...
Click to collapse
well it was not easy to get the stock images xD
im currently also trying to port lineage os and twrp to the gigaset gs4
StarMiner99 said:
im currently also trying to port lineage os and twrp to the gigaset gs4
Click to expand...
Click to collapse
That's good to hear.
Although if it can be rooted it might be sufficient for me to kill all not needed apps via adb and use Magisk for AFWall+.
Actually I've read about the possibility of a GS version with a better camera so I might wait a while before getting one.
well there arent any unneeded apps
[STOCK ROM + SCATTER FILES + PRELOADER]
here are the stock rom files, the scatter file and the preloader in a zip archive
1.5 GB file on MEGA
mega.nz
StarMiner99 said:
[STOCK ROM + SCATTER FILES + PRELOADER]
here are the stock rom files, the scatter file and the preloader in a zip archive
1.5 GB file on MEGA
mega.nz
Click to expand...
Click to collapse
Hey StarMiner99, is the ADUPS software updating malware in the image you uploaed still working? Could hyou please explain briefly how to flash this stock rom? I have adb and fastboot already running and a rooted device too.
Thanks a lot!
StarMiner99 said:
im currently also trying to port lineage os and twrp to the gigaset gs4
Click to expand...
Click to collapse
any progress on this?
could i do something to help?
First of all: Thank you very much! Everything has worked so far and the device is rooted.
But I still have one question. How does the device behave when the official updates from Gigaset are installed via OTA? The GS4 reports it would have security updates. Can I install them without losing root privileges? Does anyone already have experience? Thanks in advance!
UserSven said:
First of all: Thank you very much! Everything has worked so far and the device is rooted.
But I still have one question. How does the device behave when the official updates from Gigaset are installed via OTA? The GS4 reports it would have security updates. Can I install them without losing root privileges? Does anyone already have experience? Thanks in advance!
Click to expand...
Click to collapse
I have now simply installed the June 2021 update. The good news: It worked. The slightly less good news is that you have to flash the images again. But flashing also works with the latest version and the update check tells that there are no new updates. So it seems to work.
UserSven said:
I have now simply installed the June 2021 update. The good news: It worked. The slightly less good news is that you have to flash the images again. But flashing also works with the latest version and the update check tells that there are no new updates. So it seems to work.
Click to expand...
Click to collapse
Which recovery do you use?
I've read in their forum that updating doesn't work when on TWRP.
StarMiner99 said:
im currently also trying to port lineage os and twrp to the gigaset gs4
Click to expand...
Click to collapse
Why are you not just using the LineageOS GSI?
I have LineageOS17.1 running on my GS4 since Feb. without any issues so far.
ChrisMucDev said:
Why are you not just using the LineageOS GSI?
I have LineageOS17.1 running on my GS4 since Feb. without any issues so far.
Click to expand...
Click to collapse
Is there a tutorial on how to do that?
Wolfgang-Z said:
Is there a tutorial on how to do that?
Click to expand...
Click to collapse
Here is, what I did: (on your own risk)
As far as i can remember, i did not have any issues.
Step 1: Unlock your device
1. Enable Developer Options: Tap 10x on Build-Number (Setttings -> About the phone -> Build-Number)
2. Enable Bootloader Unlocking -> activate OEM-Unlock option (Settings -> System -> (More) -> Developer-Options)
3. Enable ADB Access -> Enable USB-Debugging / ADB (Settings -> System -> (More) -> Developer-Options)
4. (Set USB-Settings (Message-Center) from "No tx" to "PTP")
5. Connect phone to usb port, grant permissions on phone and check connection with `adb devices`
6. Boot to bootloader: `adb reboot bootloader`
7. Unlock Bootloader: `fastboot flashing unlock`
Step 2: Download GSI
1. Reboot your phone and install Treble Info App
(https://play.google.com/store/apps/details?id=tk.hack5.treblecheck&hl=en&gl=US)
GS4 should support AB-Partitions
2. Download GSI: https://sourceforge.net/projects/andyyan-gsi/files/
For GS4: treble_arm64_bv*
Step 3: Install GSI
1. Boot to recovery: `adb reboot recovery` or Volume Down + Power
2. Wipe data
3. Wipe cache
4. Enter fastboot
5. Flash GSI: `fastboot flash system <extracted-gsi-image>`
6. Reboot and enjoy
*. (just in case it does not boot, reboot to recovery -> enter fastboot and flash vbmeta: `fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img`)
This vbmeta-image should work (see post #6): https://forum.xda-developers.com/attachments/vbmeta_disabled-img.5325563/

Unbrick your Realme C12

What is a brick?​If there is no usual way to recover your mobile, then it is called brick in my opinion. That means if you can't able to go to recovery and fastboot mode or the device is just blank with no sign of life.
When brick happens?​It will happen because of locking bootloader with custom images or just because of Mediatek/Realme strange behaviour.
What we have to do if brick happens?​Simply we have to flash stock firmware with Smart Phone Flash Tool(aka SPFlash Tool). With only SPFlash Tool we can't do anything, since we don't have permission for it. But with the advent of MTK-bypass, we can have full control over our device. If we don't have this MTK-bypass, then we have search for costly alternative's.
You can't flash only if your eMMC is damaged, which is the worst case because oppo phones are prone to eMMC failure.
Click to expand...
Click to collapse
Where to get firmware to flash?​Download decrypted .ofp firmware from https://drive.google.com/file/d/1SOmRxix9_UtjOLLanXPYxf4YK1NrA_RW/view
Thanks to @bx2_nero for it.
What is the procedure for using MTK-bypass and SPFlashTool?​MTK-bypass is a Python script and it needs different USB ways for working. So with these two in place, we can get our work done.
Linux Users​For Linux we have to use FireISO or patched kernels for working of MTK-bypass.
Use the Linux guide by @bx2_nero at https://forum.xda-developers.com/t/...our-realme-6-6i-india-6s-linux-method.4251077
Windows Users​For Windows we have to use libusb32 filter for MTK-bypass working.
Use the guide by @daeSundae at https://forum.xda-developers.com/t/...india-6s-using-spflash-tool-for-free.4222027/
MTK-bypass Official instructions​See Github ReadMe at https://github.com/MTK-bypass/bypass_utility and XDA support thread at https://forum.xda-developers.com/t/mod-dev-mediatek-mtk-auth-bypass-sla-daa-utility.4232377/
Credits​xyzz / xyz`: GitHub | XDA
chaosmaster / k4y0z: GitHub | XDA
Dinolek: GitHub | XDA
References​- https://forum.hovatek.com/thread-37957.html
- https://www.xda-developers.com/bypass-mediatek-sp-flash-tool-authentication-requirement/
- https://forum.xda-developers.com/t/repair-dead-hard-bricked-realme-3-3i-tutorial.4224255/
- https://forum.xda-developers.com/t/...d-flash-in-edl-with-no-auth-for-free.4229683/
- https://forum.xda-developers.com/t/...ash-tool-authentication.4236881/post-84627359
MTKClient
After MTK-bypass got success, @viperbjk who is a reverse engineer came up with a FOSS replacement of SP Flash Tool.
MTKClient combines MTK-bypass and SP Flash Tool together and with many improvements and new features.
Ability to flash partitions without Scatter file
Ability to Readback partitions without specifying address and length
Ability to Format partitions without specifying address and length
Run multiple commands without reconnecting the device
Flash protected partitions(opporeserve2, special_preload, my_custom and cdt_engineering) with locked bootloader
Unlock bootloader without need of in-depth test/Deep testing app from Realme
GitHub - bkerler/mtkclient: MTK reverse engineering and flash tool
MTK reverse engineering and flash tool. Contribute to bkerler/mtkclient development by creating an account on GitHub.
www.github.com
Reserved
I need help, my C12 is stuck on fastboot mode. This happened after flashing a GSI using TWRP and flashing the image in the Super (System and Vendor) partition.
I tried rebooting to recovery mode by executing fastboot reboot recovery but it says that bootloader is not known.
I also tried to flash a GSI (taught it might fix the problem) using fastboot flash system system.img but it says that no partition named system exists.
Please suggest what I should do.
Bro, can you make a video about this? my realme c12 got hardbricked after I flashed ozip file from stock recovery while bootloader is unlocked. it got hardbricked when I reboot it after flashing ozip
DFM23 said:
Bro, can you make a video about this? my realme c12 got hardbricked after I flashed ozip file from stock recovery while bootloader is unlocked. it got hardbricked when I reboot it after flashing ozip
Click to expand...
Click to collapse
What is the present state of the device? Can you able to boot to fastboot mode?
HemanthJabalpuri said:
What is the present state of the device? Can you able to boot to fastboot mode?
Click to expand...
Click to collapse
it has no sign of life, cant go to recovery or fastboot. when I connect it to pc it goes connect and disconnected.
How can I reboot to recovery mode when in fastboot mode? The command fastboot reboot recovery is not working for me.
youcancallmekhen said:
How can I reboot to recovery mode when in fastboot mode? The command fastboot reboot recovery is not working for me.
Click to expand...
Click to collapse
Use latest platform tools
youcancallmekhen said:
How can I reboot to recovery mode when in fastboot mode? The command fastboot reboot recovery is not working for me.
Click to expand...
Click to collapse
HemanthJabalpuri said:
Use latest platform tools
Click to expand...
Click to collapse
Sir I've finally able to reboot to recovery. I've tried flashing the OZIP file for my model but after some time it says Installation failed. When I was still using custom recovery, I wasn't able to mount System and Vendor. My bootloader is also unlocked sir.
Should I lock my bootloader sir?
youcancallmekhen said:
Should I lock my bootloader sir?
Click to expand...
Click to collapse
Don't lock bootloader.
Download this https://drive.google.com/file/d/1jLdDz7M0G_KPDn4jXjTeuFnO1C-MFaBs/view (It is from A.87 UI 1.0 Stock ROM)
Extract above 7z file and flash ONLY super partition from it and TWRP from https://androidfilehost.com/?fid=7161016148664807816 with below commands
Code:
fastboot -w
fastboot flash super super.img
fastboot flash recovery TWRP.img
fastboot reboot recovery
Now enable 'Skip Treble Compatibility error' in TWRP settings and flash stock ROM .ozip in TWRP.
Thanks
HemanthJabalpuri said:
Don't lock bootloader.
Download this https://sourceforge.net/projects/realmec11/files/Fastboot-ROM/[email protected]/download
Extract above 7z file and flash ONLY super partition from it with below commands
Code:
fastboot -w
fastboot flash super super.img
fastboot flash recovery stock-recovery.img
fastboot reboot recovery
Now flash stock ROM .ozip in stock recovery.
Thanks
Click to expand...
Click to collapse
Oh my, thank you so much sir. You have no idea how much you are helping me sir! My parents will be so happy, and we won't waste money… Thank you so much sir…
I'll update you sir after doing these, thank you sir! ♥
HemanthJabalpuri said:
Don't lock bootloader.
Download this https://sourceforge.net/projects/realmec11/files/Fastboot-ROM/[email protected]/download
Extract above 7z file and flash ONLY super partition from it with below commands
Code:
fastboot -w
fastboot flash super super.img
fastboot flash recovery stock-recovery.img
fastboot reboot recovery
Now flash stock ROM .ozip in stock recovery.
Thanks
Click to expand...
Click to collapse
I don't have much data left today sir, so I will download this later. Thank you very much again sir, you're my hero!
DFM23 said:
it has no sign of life, cant go to recovery or fastboot. when I connect it to pc it goes connect and disconnected.
Click to expand...
Click to collapse
Follow the guide and you can get your mobile back to life.
Thanks
HemanthJabalpuri said:
Follow the guide and you can get your mobile back to life.
Thanks
Click to expand...
Click to collapse
thank you bro, Ill follow your guide then. btw does the RMX2185 firmware you provided works with realme c12? I look it up and saw that it was for realme c11
DFM23 said:
thank you bro, Ill follow your guide then. btw does the RMX2185 firmware you provided works with realme c12? I look it up and saw that it was for realme c11
Click to expand...
Click to collapse
Yes, both use same firmware.
I tried the guide but when I click download on sp flash tool it would stay in red bar for 1 min or more then message will appear saying STATUS_EXT_RAM_EXCEPTION. I have read a same comment here in xda about realme c12 I dont know if its only on realme c12.
Thanks for your works sir, you are super awesome!
I rooted My Device (Realme X2 Pro) by Magisk. And Since My Device Bootloader was unlocked I Unrooted/Uninstalled MAgisk.
While Locking Bootloader My Device is Stuck where It displays { The Current Image (boot/recovery) have been destroyed dand cannot boot. Please flash the correct Image or Contact Customer Service to fix it }
While Trying to ENter the Fast Boot Mode {By pressing Volume + - and Power Button} Its Unresponsive
It shows Realme Logo And chrging Display for a Instant
Do you Know any way around to fix my Problem?
Bhuprab said:
I rooted My Device (Realme X2 Pro) by Magisk. And Since My Device Bootloader was unlocked I Unrooted/Uninstalled MAgisk.
While Locking Bootloader My Device is Stuck where It displays { The Current Image (boot/recovery) have been destroyed dand cannot boot. Please flash the correct Image or Contact Customer Service to fix it }
While Trying to ENter the Fast Boot Mode {By pressing Volume + - and Power Button} Its Unresponsive
It shows Realme Logo And chrging Display for a Instant
Do you Know any way around to fix my Problem?
Click to expand...
Click to collapse
Since your device is Qualcomm, I don't know. In any device, we have to flash stock rom (or atleast the partitions that are modified) to get device in working state.
You may get better help at https://forum.xda-developers.com/f/realme-x2-pro-questions-answers.9439/
Thanks

How to install a GSI? (I have a problem).

Hello.
I find myself with the need to install a GSI in my Samsung Galaxy A7 (2018) (A750G), since with the stock firmware, for some strange reason the power button does not unlock the screen.
The thing is, I was previously using Phhussom's GSI AOSP (https://github.com/phhusson/treble_experimentations) with TWRP recovery (https://forum.xda-developers.com/t/recovery-root- twrp-3-2-3-1-galaxy-a7-2018-a750.3876798 /) and after re-flashing the stock firmware, now I find that the TWRP I was using does not work, which led me to use this recovery https://forum.xda-developers.com/t/recovery-unofficial-pbrp-3-1-0-for-galaxy-a7-2018.4280553 and try again to install the Phhussom GSI AOSP.
However I did not succeed. And after following many guides that had incomplete files (dead links) or methods that do not work, I find myself with the problem of not being able to install GSIs.
Does anyone know any method that works? I am puzzled.
Never flash GSI with Custom Recovery. GSIs are meant to be flashed by fastboot mode with command-line commands.
LinhBT said:
Never flash GSI with Custom Recovery. GSIs are meant to be flashed by fastboot mode with command-line commands.
Click to expand...
Click to collapse
Samsung does not have fastboot.
uphragbvfccved said:
Samsung does not have fastboot.
Click to expand...
Click to collapse
It just under different name, and have weird way to boot into it. At the end of the day, no android devices can work without bootloader is it my friend?
just flash a older version of the firmware i.e a november 2020 firmware
LinhBT said:
It just under different name, and have weird way to boot into it. At the end of the day, no android devices can work without bootloader is it my friend?
Click to expand...
Click to collapse
As far as I have concerned, the bootloader mode (ADB reboot bootloader) redirects to download mode, which only supports .tar images.
Also, a bootloader can exist without fastboot. Activating every piece of hardware, load the drivers, load the kernel, and give control to the Android OS, which as far as I know is what the bootloader does, does not necessarily need a user accessible fastboot mode.
There is still a way to flash GSI in theory, by renaming the gsi system.img, putting it into a zip, and rename the zip into xxx.tar, and Odin flash it. No guarantees though.
LinhBT said:
weird way
Click to expand...
Click to collapse
Are you going to show us how to short circuit testpoints and make fastboot commands magically work on a Samsung phone?
LR7875 said:
Are you going to show us how to short circuit testpoints and make fastboot commands magically work on a Samsung phone?
Click to expand...
Click to collapse
1. Testpoint is diff from each device, and I think you can easily find it for your device on google.
2. Yes, a bootloader, in fact, exist in almost every devices, only be called with different names ( like BIOS on the computer ). About it's functions, yes, you listed some of those. But one thing you may mis-understanding : Fastboot. Fastboot or fastbootD or Download mode, are just names. And they are, in fact, is the bootloader command-line environment. Besides, flashing a GSI on Samsung device is not that complicated, I think you guys may look on other places than just XDA to find solutions sometimes.
Ok to me it is not too easy to search a method to use command line mode on Samsungs.
As far as I know fastboot commands does not work in Odin download mode.
For those interested in custom recoverys, some custom recoverys succeed in flashing GSIs on a galaxy J7 pro (android 7, unofficial project treble port)with h-vendor BUT at the end of the day it might not work on newer devices like the A7, because of vertified boot( AVB 2.0) that is putted into android since Oreo! And AVB 2.0 is the real thing that you need to disable via a command line interface.
LinhBT said:
Never flash GSI with Custom Recovery. GSIs are meant to be flashed by fastboot mode with command-line commands.
Click to expand...
Click to collapse
Can you point to a good guide/tutorial on howto do this?
blazzer12 said:
Can you point to a good guide/tutorial on howto do this?
Click to expand...
Click to collapse
As I mentioned, I always use command-line to flash GSI. The order and commands may a little different from devices, but basically should be as below :
- adb reboot bootloader ( to boot into bootloader enviroment )
- fastboot devices ( to check and verify the connetion between computer and devices, can be skipped )
- fastboot reboot fastboot ( to boot into fastboot/fastbootD/Download mode - names may different from devices. Also, in some device, as for Scamsung, can be different - also depends on devices )
- fastboot --disable-verification flash vbmeta vbmeta.img ( to flash blank/patched vbmeta.img into vbmeta partition, some devices don't need this step )
- fastboot erase system ( erase system partition )
- fastboot flash system system.img ( flash system.img into system partition )
- fastboot -w ( do a factory reset )
- fastboot reboot bootloader ( boot back to bootloader enviroment )
- fastboot erase userdata ( erase userdata partition to prevent configs, same as you do the wipe data in OF or other custom recoveries )
- fastboot reboot ( yeah, it is )
As I mentioned before, this's only the basic structure of commands to flash a GSI ( apply for dynamic partition devices also ). Depends on which device u have, may need to slightly change the commands or order. Means, this method is not applied for ALL DEVICES.
Last but not least, always have backups and do find other solutions may have to figure out which is right for you, do things at your own risks.
Samsung does not support fastboot so I used heimdall still resulted in bootloop. Are you sure system parition needs to be erased?
Can you tailor this to "Samsung Galaxy A7 (2018)" a bit?
LR7875 said:
AVB 2.0 is the real thing that you need to disable via a command line interface.
Click to expand...
Click to collapse
How to do it for A7?
blazzer12 said:
How to do it for A7?
Click to expand...
Click to collapse
Only devices launched after 2018 have this.

[Guide] How to flash custom rom (gsi) in infinix hot 11s (X6812/X6812B)

In this Guide i will explain you how you can flash GSI rom in infinix hot 11s
Warning - this can brick your device if not done properly use this guide only if you know how to recover to stock rom using spflash tool
NOTE- I am assuming you have unlocked the bootloader and enabled usb debugging if you haven't done that you can learn to do that from the other guide i made
First you need to download a working gsi for this device you can download the ones we have tested below
Now download and install platform tools using this Tutorial you can skip this if you have already done this
You need to get the vbmeta.img and vbmeta_system.img from stock firmware which you can download and extract using 7zip and then take the both the files from it or ask in our Telegram group
After downloading gsi image make sure to extract it to .img format using 7-zip as
I advice you to move all required files for flashing into platform tool folders in root directory to make it easier or atleast move it to same folder
Product.gsi has been attached (it's same for both NFC and non NFC version)
adb reboot bootloader
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
If you are stuck at "waiting for devices" output at this step you will have to follow this video
fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
fastboot reboot fastboot (you should enter fastbootd after this command make sure before continuing)
fastboot flash product product_gsi.img
fastboot flash system <gsiname>.img
IF YOU ARE GETTING UNABLE TO RESIZE PARTITION ERROR MAKE SURE TO FLASH YOU FLASHED Product_gsi.img
Now select recovery from volume down button and power button >> go to wipe data and factory reset now reboot to system
~~End of guide!~~
Tested roms -
Ancient os Android 12 vndklite ( best rom if you want to play games on this phone codm runs buttery smooth on 90fps! has a lots of customisation )
Pixel experience Android 12 vndklite (is more stable and bug free than ancient os better memory management and a lot better battery life than stock and even ancient os best rom if you want to use it for daily driving)
For future development and questions join our telegram group https://t.me/infinixhot11s_dev
Edit - I was able to fix all the audio and performance issues by making a magisk module for it download Here (if you don't know how to root this device I have made a guide on that too)
Low call volume problem is also fixed by the module
Edit 2 - stock camera has been ported to gsi and the 50mp camera works now join telegram for more information
Edit 3 - newer versions of gcam bsg supports 50 mp camera
Edit 4 - Android 13 GSI works good and the Bluetooth issues are fixed in latest patches (you can daily drive it)
Quick fixes for GSI you will need after flashing :-
Enable the settings highlighted in the screenshot below by going to settings/phh settings/misc features
For VoLTE to work go to settings/phh settings/IMS Features and enable all 4 options (make sure you are connected to internet so that you can download ims apk)
Reboot
Non nfc stock rom - Link
nfc stock rom -
Ansh, Zypher here. I'll DM you on XDA regarding to Ancient OS. I cannot use my main phone and no telegram so I'll DM you here. Please accept me, thank you.
Zypher Kim said:
Ansh, Zypher here. I'll DM you on XDA regarding to Ancient OS. I cannot use my main phone and no telegram so I'll DM you here. Please accept me, thank you.
Click to expand...
Click to collapse
Sure
Thx for the awesome step by step guide bro
The volume increases but cannot reduce it and is only on loud speaker
kelvinchinedu said:
The volume increases but cannot reduce it and is only on loud speaker
Click to expand...
Click to collapse
Working to fix it
Better
i tried to do "fastboot reboot fastboot" command, But "fastboot: usage: unknown reboot target fastboot". How to enter fastbootd?
aryornug said:
i tried to do "fastboot reboot fastboot" command, But "fastboot: usage: unknown reboot target fastboot". How to enter fastbootd?
Click to expand...
Click to collapse
Try to download a newer platform tool verson
also works on standard infinix hot 11! except for the gcam patch which i didnt try
Fggevhy said:
also works on standard infinix hot 11! except for the gcam patch which i didnt try
Click to expand...
Click to collapse
That's good to know
Fggevhy said:
also works on standard infinix hot 11! except for the gcam patch which i didnt try
Click to expand...
Click to collapse
Can you tell me what did you do to get it running on the standard hot 11 x662
I tried but ended up bricking my device
(Restored later with sp flash tool)
Yahiaxe said:
Can you tell me what did you do to get it running on the standard hot 11 x662
I tried but ended up bricking my device
(Restored later with sp flash tool)
Click to expand...
Click to collapse
Try following same tutorial but take vbmeta.img and vbmetasystem fr your firmware...also see if hot11 also has same architecture (for gsi)
Uniqueshiva said:
Try following same tutorial but take vbmeta.img and vbmetasystem fr your firmware...also see if hot11 also has same architecture (for gsi)
Click to expand...
Click to collapse
Is the product.gsi the same for the standard hot 11?
Yahiaxe said:
Is the product.gsi the same for the standard hot 11?
Click to expand...
Click to collapse
It should work fine for all android including yours
ansh_/ said:
It should work fine for all android including yours
Click to expand...
Click to collapse
I tried again but I got an error "dm-verify is corrupt your device will boot in 5 seconds" and it just bootloops
Yahiaxe said:
I tried again but I got an error "dm-verify is corrupt your device will boot in 5 seconds" and it just bootloops
Click to expand...
Click to collapse
I got it to finally work thanks to everyone for your help and thanks ansh_/ for the wonderful guide
ps: Switching to a non-vndklite gsi did the trick
the gsi flashing is easier then i thought
I tested pixel experience plus (june update), it was laggy, crashing and slow
currently on ancient os 6.4 and its a-m-a-z-i-n-g smooth, fast, no crashes, good game performance and extremely customizable, I highly recommend it
update; ancient started getting a little laggy for some reason and randomly rebooted a few times
so, i switched to crdroid 8.8, it's great nice clean customizable and stable android, with great battery management and performance
hello need help. after following your tutorial ang flashing crdroid 8.8 i got a device corrupted then proceeds to bootloop.
after that i tried flashing stock firmware using sp flash tool with this tutorial
[Guide] Flashing stock rom for Mediatek devices using spflash tool
In this guide i will explain you how to flash stock ROM using spflash for your Mediatek devices in the simplest way possible Requirements - a phone with Mediatek SoC Stock rom which you may or may not find on your vendor official website ( a...
forum.xda-developers.com
but no luck bypass tool give me some kind of error and wont bypassed the protection. now the phone is stuck on charging light. power button does nothing.
i hope anyone have ideas to fix this
thanks
SlothYano said:
hello need help. after following your tutorial ang flashing crdroid 8.8 i got a device corrupted then proceeds to bootloop.
after that i tried flashing stock firmware using sp flash tool with this tutorial
[Guide] Flashing stock rom for Mediatek devices using spflash tool
In this guide i will explain you how to flash stock ROM using spflash for your Mediatek devices in the simplest way possible Requirements - a phone with Mediatek SoC Stock rom which you may or may not find on your vendor official website ( a...
forum.xda-developers.com
but no luck bypass tool give me some kind of error and wont bypassed the protection. now the phone is stuck on charging light. power button does nothing.
i hope anyone have ideas to fix this
thanks
Click to expand...
Click to collapse
Well, your actually might have just hard bricked this device I am afraid.
But I can tell you the steps to flash the stock firmware
1- Download the firmware for your device make sure its the correct one (If it's incorrect then you will hard brick the device)
2- Make sure you have mtk vcom drivers
3- use spflashtool and load the firmware (no need for the bypass tool)
4- make sure you set it to Firmware Upgrade (This is important)
5- make sure your phone is off
6- click on "Download" in the flashtool
7- Hold both volume buttons and plug in the device
8- If your device is still alive it should start the flashing process
Note: You did something that was incorrect when you started to follow this guide and you most likely hard bricked your device. Your phone is gone I think
Please note that I am not an expert on the subject tho

Categories

Resources