[REQUEST] TWRP needed for HTC Desire 12!! - HTC Desire 12 Questions & Answers

is there any TWRP img supported for HTC Desire 12???? been searching it for few days now...

Shahxada said:
is there any TWRP img supported for HTC Desire 12???? been searching it for few days now...
Click to expand...
Click to collapse
Did you find any solution

mesutsenol said:
Did you find any solution
Click to expand...
Click to collapse
I don't need recovery for this phone but I dumped stock recovery which can be used to make own twrp recovery. You can read and do instructions from this site
HTML:
https://gist.github.com/rokibhasansagar/15c8e728d94a6bd35a687aac73ef79a5
.
If you want just only root (probably this method is only way to get root on this device) just:
1. UNLOCK BOOTLOADER! (developer options -> oem unlocking -> connect phone to pc in fastboot mode -> write in adb "fastboot oem unlock")
2. flash patched stock boot via fastboot (fastboot flash boot <path to magisk_patched.img>)
3. Install Magisk Manager
4. Done!
_____
If you want do something with this phone I recommend to use SP Flash Tool. You need to install unsigned MT67xx USB VCOM DRIVERS (preloader driver). You must have scatter files too with partition addresses and sizes in hex and you must download preloader. You can do it downloading ota update from htc via HTC_OTA_Downloader (model: htc_breeze_dugl CID: HTC__401 version: 1.90.401.1) and unpacking it. You can find there scatter file with partition addresses and preloader. If you want turn on preload mode just turn off and connect phone to pc.
Before doing something I truly recommend do backup/dump all partitions in SP Flash Tool.

krzysiek546 said:
I don't need recovery for this phone but I dumped stock recovery which can be used to make own twrp recovery. You can read and do instructions from this site
HTML:
https://gist.github.com/rokibhasansagar/15c8e728d94a6bd35a687aac73ef79a5
.
If you want just only root (probably this method is only way to get root on this device) just:
1. UNLOCK BOOTLOADER! (developer options -> oem unlocking -> connect phone to pc in fastboot mode -> write in adb "fastboot oem unlock")
2. flash patched stock boot via fastboot (fastboot flash boot <path to magisk_patched.img>)
3. Install Magisk Manager
4. Done!
_____
If you want do something with this phone I recommend to use SP Flash Tool. You need to install unsigned MT67xx USB VCOM DRIVERS (preloader driver). You must have scatter files too with partition addresses and sizes in hex and you must download preloader. You can do it downloading ota update from htc via HTC_OTA_Downloader (model: htc_breeze_dugl CID: HTC__401 version: 1.90.401.1) and unpacking it. You can find there scatter file with partition addresses and preloader. If you want turn on preload mode just turn off and connect phone to pc.
Before doing something I truly recommend do backup/dump all partitions in SP Flash Tool.
Click to expand...
Click to collapse
dude this really helped a lot! its a shame we cant even get full stock firmware for modding purpose, thanks!

Related

HTC One Mini 2 - Problem with root

Hi everyone
I stuck with root procedure (first link when you type "htc mini 2 root" in google)
I did unlock bootloader with htcdev, I am able to run adb and fastboot - meaning I can restart my phone into fastboot loader but I cannot run TWRP recovery, I dont know why. I downloaded few versions of this .img file, I run command fastboot boot recovery xxxx.img, with some files there is no reaction at all, with file recovery-twrp-2.8.5.0 phone is restarting but into normal function, there is no twrp screen. I have CWM-SuperSU-v1.30 on sd card in the phone
Does anyone have clue what can be wrong here?
Thank you
pudlll said:
Hi everyone
I stuck with root procedure (first link when you type "htc mini 2 root" in google)
I did unlock bootloader with htcdev, I am able to run adb and fastboot - meaning I can restart my phone into fastboot loader but I cannot run TWRP recovery, I dont know why. I downloaded few versions of this .img file, I run command fastboot boot recovery xxxx.img, with some files there is no reaction at all, with file recovery-twrp-2.8.5.0 phone is restarting but into normal function, there is no twrp screen. I have CWM-SuperSU-v1.30 on sd card in the phone
Does anyone have clue what can be wrong here?
Thank you
Click to expand...
Click to collapse
you using wrong command.
try:
fastboot flash recovery xxx.img
for root i recommend using TWRP and flash the SuperUser.
Make sure you using the correct recovery image...
All you need in here
kativiti said:
you using wrong command.
try:
fastboot flash recovery xxx.img
for root i recommend using TWRP and flash the SuperUser.
Make sure you using the correct recovery image...
All you need in here
Click to expand...
Click to collapse
It didnt worked, I download again twrp files and this time I guess I found newest version which worked with fastboot boot recovery.img
Thanx anyway

Help - Remove Root, Restore to Original (VTR-L29)

I have the P10 64gb Dual Sim version, VTR-L29C63B162
I have rooted the phone, unlocked the boot loader and upgrated to VTR-L29C63B162
After searching the forums and the web I can't find a successful or comprehensive way to Revert all the changes, can someone provide thier help please?
- Relock bootloader
- Remove root
- flash stock recovery and OS
Thanks:good:
Hey Mate,
First: i never did locked the bootloader again, but i readed something on the internet about it. I also not have a Guide, but maybe i can give you some hints about it.
Flashing Stock Recovery and System via. Bootloader
If you want to flash back the Stock Recvovery and System you have to download the original Firmeware (Update.app from Huawei).
After you got the Update.app (should be like 2 GB) you have to extract the Update.APP to get BOOT.IMG, SYSTEM.IMG, RECOVERY.IMG (plus CUST.IMG).
To extract the UPDATE.APP you can use this tool (HUAWEIUPDATEEXTRACTOR) from worstenbrood:
https://forum.xda-developers.com/showthread.php?t=2433454
Extract the BOOT.IMG, SYSTEM.IMG, RECOVERY.IMG (plus CUST.IMG) to your ADB and Fastboot Platforms Tool.
after that you can flash the Images in the fastboot mode.
I think (i am not 100% sure about it) to flash the Images in this sequence (control that on the internet):
fastboot flash boot BOOT.IMG
fastboot flash recovery RECOVERY.IMG
fastboot flash system SYSTEM.IMG
(fastboot flash cust CUST.IMG)
after that your phone should boot like your unboxing it the first time.
Locking Bootloader again via fastboot
I think you can relock your Bootloader again with one of these fastboot commands:
fastboot oem lock YourCode
fastboot flashing lock
fastboot oem relock YourCode
if one of this is working you can boot your devices (fastboot reboot).
I never tried this and dont know exactly whats your goal (relock, lock whatever) but maybe this is another hint:
https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656/page57
Kind Regards
@neuenburg Thanks!
I will try this and let you know if it works for me
It worked , although I had to:
- restore factory settings
- connect device to pc via usb
- click on build to enable developer mode
- enable USB debugging in developer mode
- unplug device, replug and authorise usb debugging for the pc
Then I did this via adb cmd
- adb reboot-bootloader
- fastboot flash boot BOOT.IMG
- fastboot flash recovery RECOVERY.IMG
- fastboot flash system SYSTEM.IMG
- fastboot reboot
Go back into fastboot after device restart
- fastboot oem relock [unlockcodexxxxxxxxx]
dev_don said:
It worked , although I had to:
- restore factory settings
- connect device to pc via usb
- click on build to enable developer mode
- enable USB debugging in developer mode
- unplug device, replug and authorise usb debugging for the pc
Then I did this via adb cmd
- adb reboot-bootloader
- fastboot flash boot BOOT.IMG
- fastboot flash recovery RECOVERY.IMG
- fastboot flash system SYSTEM.IMG
- fastboot reboot
Go back into fastboot after device restart
- fastboot oem relock [unlockcodexxxxxxxxx]
Click to expand...
Click to collapse
:highfive: :good:
Thanks a lot, works great!
When relocking the bootloader does the phone then say *bootloader relocked" or anything like that or is it back to standard as if first unboxed?
Also, on a side note, is there a way to use banking apps with the bootloader unlocked/rooted etc? On my old phone Barclays wouldn't work with the root but it looked like Magisk etc were working on ways top get past this.

I have a soft rocked Red Magic 3

Can anyone tell me what this (remote: Flashing is not allowed in Lock State).
What exactly is locked? Is my cell OEM unlocked?
I flashed the wrong TWRP (for the 2017 Red Magic-NX209J) and even though I have been able to unlock my cell via CMD commands; it remains permanently in fastboot mode?
If I send a CMD command to reboot it reboots straight back to fastboot mode.
No form of ADB connect seems to work an my windows PC cannot see/show the cell?
How the hell do I fix this? It's been in this state for a week.
Can anyone help?
Meaby try this?
Then, to unlock your bootloader, enter "fastboot oem nubia_unlock NUBIA_NX629J"
And meaby try the recovery backup instead of TWRP.
xronaldx said:
Meaby try this?
Then, to unlock your bootloader, enter "fastboot oem nubia_unlock NUBIA_NX629J"
And meaby try the recovery backup instead of TWRP.
Click to expand...
Click to collapse
Thanks for the suggestion. I have no recovery back up Is it possible to get past TWRP being locked and use CMD to flash the International or chinese ROM? Or recovery image?
Unless tools are developed to unbrick this device I am scared this problem might be permanent
Download this twrp, and then upload it to google drive or something so the rest of us can download it too .
Password is: 6i3i
https://pan.baidu.com/s/1ZdMPjm2fEwt...06770439204444
Secretcow said:
Download this twrp, and then upload it to google drive or something so the rest of us can download it too .
Password is: 6i3i
https://pan.baidu.com/s/1ZdMPjm2fEwt...06770439204444
Click to expand...
Click to collapse
Thanks but what do i do with it? Its all in an asain language?
Link not open bro
The TWRP does not work
Sorry. That link to the twrp does not result in a bootable twrp recovery for me.
I am starting to think my cell is not fixable.
I did not do that much wrong I just flashed the twrp for 2 models of red magic earlier. It only has a fastboot mode. I either get a boot screen then fastboot mode or a warning about the bootloader being unlocked.
Whatever is wrong with my cell prevents ADB connect an the cell is not able to be seen by windows.
This $1100 New Zealand dollar cellphone may be permanently bricked by my mistake.
I might just need to bin it an buy another one.
Lesson learned.
It confusing....
My cell acts like it has a softbrick (can turn off an on an has fastboot options and I have erased it an OEm an bootloader unlocked it)
And also behaves like a hard brick (resists every method of repair).
I just do not understand it or Nubia products. I am unfamiliar with this phone.
Does anyone have any clue how I can see this cell on my windows pc or ADB connect it an boot into TWRP?
Are there any Nubia repair software tools?
I already share nubia red magic 3 twrp check my all post
sandeepkhatri said:
I already share nubia red magic 3 twrp check my all post
Click to expand...
Click to collapse
Thanks for that. I'm talking about using CMD to totally wipe everything in the cell an reflash the Chinese ROM that came with it. Repair software. Might take months to develop software like that.
sandeepkhatri said:
I already share nubia red magic 3 twrp check my all post
Click to expand...
Click to collapse
Also it isn't a zip. It's some other kind of file. And does not boot into TWRP on my unit
So are you able to unlock your bootloader in its current state?
If you have an older TWRP installed maybe try changing the model on your bootloader command to match it:
fastboot oem nubia_unlock NUBIA_NX209J
If this works then flash the correct TWRP and the boot IMG from your original rom
fastboot flash recovery <new recovery>
fastboot reboot bootloader
Sent from my NX629J using Tapatalk
terrapin4 said:
So are you able to unlock your bootloader in its current state?
If you have an older TWRP installed maybe try changing the model on your bootloader command to match it:
fastboot oem nubia_unlock NUBIA_NX209J
If this works then flash the correct TWRP and the boot IMG from your original rom
fastboot flash recovery <new recovery>
fastboot reboot bootloader
Click to expand...
Click to collapse
Terrapin. Absolutely nothing worked. I am the 3rd person who has had this issue I know of. 2 other xda members had the same issue. One with TWRP like me an the other got stuck in fastboot mode after trying g to flash an apk of Gapps? I think these cells do not like tinkering. But your advice enabled me to be OEM and bootloader unlocked. But always.....straight back to fastboot mode no matter what I flash? My red magic 3 device is currently at a service center with a technician trying to solve the problem. I have 3 repayments left on my Xiaomi Mi9 that has zero flashing issues. O admit i.may be ignorant of the ways of Nubia ?
I did it
I extracted the file system.img
this is what I did ....
starting from the Chinese ROM http://ui.nubia.cn/rom/detail/62
Download download necessary files https://drive.google.com/drive/folders/16in6Jnyi4s5aIIuQwapQ1KK1LjysSfYm?usp=sharing
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash parameter parameter.img
fastboot reboot
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot reboot
enter recovery, use a FAT32 pendrive format, add Chinese ROM, rename it (update.zip) to OTG flash.
Everything works again.
good luck.
emmegitony said:
I did it
I extracted the file system.img
this is what I did ....
starting from the Chinese ROM http://ui.nubia.cn/rom/detail/62
Download download necessary files https://drive.google.com/drive/folders/16in6Jnyi4s5aIIuQwapQ1KK1LjysSfYm?usp=sharing
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash parameter parameter.img
fastboot reboot
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot reboot
enter recovery, use a FAT32 pendrive format, add Chinese ROM, rename it (update.zip) to OTG flash.
Everything works again.
good luck.
Click to expand...
Click to collapse
Thank God. Maybe the Chinese service guy I'm paying will get on xda an try your idea. I'm being lazy saying that lol. Thanks very very much. I will show your post to the service guy who has my red magic 3 or try it myself.
There's no way your a junior member working all this out. I'm a junior member listed as a senior member who makes rookie flashing errors with Chinese cellphones lol.
I will share if I can implement your ideas successfully. Thanks buddy my missus really loved this phone I felt really bad when I incapacitated it.
Fingers crossed.....
I have no idea how did you managed to flash the system.img
C:\adb>fastboot flash system system.img
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi
LE: After this error, somehow it manages to continue and flash all partitions of the system, but after above tutorial, the phone still reboots in fastboot mode and cannot access recovery
The solution is here:
https://forum.xda-developers.com/re...tboot-mode-t3937527/post79715050#post79715050
sakilxda said:
The solution is here:
https://forum.xda-developers.com/re...tboot-mode-t3937527/post79715050#post79715050
Click to expand...
Click to collapse
Thanks for the help. I do not understand some of the commands an cannot seem to get them right? And I do not understand why the instructions say to cmd flash the image (IMG) via command prompt (which just errors like the strange NON-HLOS command?) Then the instructions say to flash the Chinese rom via otg?
Are you supposed to flash the ROM twice?
Can someone please give me some more detailed instructions as this cell has been non functional about 2 months now.
Planning to fix it an give it to my partner
Bryceicle1971 said:
Thanks for the help. I do not understand some of the commands an cannot seem to get them right? And I do not understand why the instructions say to cmd flash the image (IMG) via command prompt (which just errors like the strange NON-HLOS command?) Then the instructions say to flash the Chinese rom via otg?
Are you supposed to flash the ROM twice?
Can someone please give me some more detailed instructions as this cell has been non functional about 2 months now.
Planning to fix it an give it to my partner
Click to expand...
Click to collapse
Hane you fixed the phone or not?
JerryYin said:
Hane you fixed the phone or not?
Click to expand...
Click to collapse
No still not working. Might try again when I have spare time. Very hard cellphone to fix
Bryceicle1971 said:
No still not working. Might try again when I have spare time. Very hard cellphone to fix
Click to expand...
Click to collapse
My suggestions is, download a full sd card update package, unlock the bootloader temporarily,extract the update file and flash the vbmeta.img to vbmeta partion, then flash the recovery.img to recovery partition, after that, try to boot into recovery through bootloader. You have to make sure that you use all the same file from same package, if you are use a low version vbmeta file to boot a high version system (or recovery ) it will not boot. the vbmeta is very important on this phone.

Mi A2 has not slot b

As I say in the tittle, my phone has not slot b. It means that when I try to flash any .img or .zip I have an error message telling my that "XXX_b not accesible".
How can I create the partition? I have android one and everything locked as I flashed the stock image vía COM because I have no idea how to solve the partition problem.
gfpablo_ said:
As I say in the tittle, my phone has not slot b. It means that when I try to flash any .img or .zip I have an error message telling my that "XXX_b not accesible".
How can I create the partition? I have android one and everything locked as I flashed the stock image vía COM because I have no idea how to solve the partition problem.
Click to expand...
Click to collapse
You say you are trying to flash something but then you also say that everything is locked. You can't flash anything other than the stock firmware (in EDL mode) if your bootloader is locked.
Catsonvi said:
You say you are trying to flash something but then you also say that everything is locked. You can't flash anything other than the stock firmware (in EDL mode) if your bootloader is locked.
Click to expand...
Click to collapse
I tried to flash it when i have everything unlocked. I tried to flash ASOP v6.6 and the result was a bricked phone. However I flashed the android one stock ROM and locked everything with the Xiaomi flash program.
You need to flash stock through EDL
Nebrassy said:
You need to flash stock through EDL
Click to expand...
Click to collapse
That's what i've done. Although, if I try to flash TWRP from fastboot I have an error message telling me that I have no slot b
gfpablo_ said:
That's what i've done. Although, if I try to flash TWRP from fastboot I have an error message telling me that I have no slot b
Click to expand...
Click to collapse
You can't flash the TWRP image from fastboot, since our phone does not have a seperate recovery partition and you also cannot flash ANYTHING (other than stock via EDL) if your phone's bootloader is locked.
Now since it seems that your bootloader is locked, you need to enable developer options first and then in developer options enable the "OEM unlocking" option. After that you need to go to fastboot in order to unlock the bootloader and use these commands one at the time:
fastboot flashing unlock
fastboot flashing unlock_critical
Keep in mind that after using these commands you will get a prompt on your phone to confirm that you want to unlock the bootloader and doing so will erase everything (basically like doing a factory reset).
After you fully unlock the bootloader, in order to flash TWRP with stock you need to go to the official TWRP website and find the .img and the .zip installer for the Mi A2. You need to boot the .img via fastboot with fastboot boot *location to the .img* (without the asterisks) and then transfer and flash the TWRP .zip installer with TWRP. After that you can boot into TWRP normally without fastboot booting.
If you want to flash a custom ROM you will still need to fastboot boot into the TWRP .img because the .zip you flashed is tied to the system, and since you need to wipe the system before flashing a custom ROM you will also wipe the flashed TWRP.
I still recommend reading this guide: https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
[SOLVED]
Catsonvi said:
You can't flash the TWRP image from fastboot, since our phone does not have a seperate recovery partition and you also cannot flash ANYTHING (other than stock via EDL) if your phone's bootloader is locked.
Now since it seems that your bootloader is locked, you need to enable developer options first and then in developer options enable the "OEM unlocking" option. After that you need to go to fastboot in order to unlock the bootloader and use these commands one at the time:
fastboot flashing unlock
fastboot flashing unlock_critical
Keep in mind that after using these commands you will get a prompt on your phone to confirm that you want to unlock the bootloader and doing so will erase everything (basically like doing a factory reset).
After you fully unlock the bootloader, in order to flash TWRP with stock you need to go to the official TWRP website and find the .img and the .zip installer for the Mi A2. You need to boot the .img via fastboot with fastboot boot *location to the .img* (without the asterisks) and then transfer and flash the TWRP .zip installer with TWRP. After that you can boot into TWRP normally without fastboot booting.
If you want to flash a custom ROM you will still need to fastboot boot into the TWRP .img because the .zip you flashed is tied to the system, and since you need to wipe the system before flashing a custom ROM you will also wipe the flashed TWRP.
I still recommend reading this guide: https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
Click to expand...
Click to collapse
Thank you! I have to admit that I have no idea of whats wrong earlier. This guide solved the problem tho.

success!

11/10/19 @ 3:05..successfully obtained root access for my 1st device!!
Bold N1
Rooted with Magisk
Flashed stock boot.img
Fastboot flash boot (boot.img)
Fastboot flash recovery (recovery.img)
I'm finally a big kid!!
What usb driver did you use? I'm stuck on fastboot <waiting for device>
ycgr2002 said:
What usb driver did you use? I'm stuck on fastboot <waiting for device>
Click to expand...
Click to collapse
Did u allow usb debugging in developer options ?
greeneyez15o said:
Did u allow usb debugging in developer options ?
Click to expand...
Click to collapse
Yes and allow for OEM Unlock. It's a windows 10 driver issue. I couldn't figure it out.
Luckily I was able to run in on a Linux computer. Fastboot worked fine and was able to unlock the bootloader!
Sergeantslaughter said:
11/10/19 @ 3:05..successfully obtained root access for my 1st device!!
Bold N1
Rooted with Magisk
Flashed stock boot.img
Fastboot flash boot (boot.img)
Fastboot flash recovery (recovery.img)
I'm finally a big kid!!
Click to expand...
Click to collapse
How exactly did you root it? What were the steps if you don't mind sharing. I've only rooted one phone and I followed a step by step tutorial on YouTube.
The easiest way I've found is to download magisk manager and the stock boot img for your device.open magisk manager and click install-download zip only.. then move the zip file and your stock boot img to the root of internal storage. Eg/storage/emulated/0/. Go back to magisk manager and click install/select and patch file. Navigate to where you stored your stock boot img and select it. Magisk will automatically flash and repck img file and will save it in your downloads folder as magisk_patched.img. enable and debugging in Dev options and reboot to bootloader. /Adb reboot bootloader. Once your phone is in fastboot mode type /fastboot devices to be sure your computer can recognize your phone. Should come back as a serial number followed by the word fastboot. Then type
Fastboot flash boot magisk_patched.img
You should get a success prompt. If successful then reboot using
Fastboot reboot
Once your phone loads back up check magisk manager to verify that everything is installed, should be two green checks. Then use a root checker to verify root.....and that's it!
Also, you have to make sure your bootloader is unlocked in order to do this....its very easy for the bold n1 just enable oem unlock in Dev options and the reboot to bootloader and type fastboot flashing unlock. Select yes on the prompt on your phone and then continue your process.
ycgr2002 said:
What usb driver did you use? I'm stuck on fastboot <waiting for device>
Click to expand...
Click to collapse
mtk droid tools all in one installer worked for me
davids_laughter said:
How exactly did you root it? What were the steps if you don't mind sharing. I've only rooted one phone and I followed a step by step tutorial on YouTube.
Click to expand...
Click to collapse
Did I mention that I did this on my Chromebook....no windows at all lol

Categories

Resources