yashsingh1/xdaforums huggingface dataset:
[HTC One Mini 2] tryllz:
Sorry man you are out of options.

You can take it to HTC service center and explain them the complete problem, they can S-Off and try and flash an older version to see it it works (sometimes it works) otherwise I would suggest you to get another device.

From my experience, 97% it wouldnt work and there is no other way.
[HTC One Mini 2] Soforak:
Ok thx, bye!
[HTC One Mini 2] tryllz:
You can if you want to, try this.

This is just the OS and not the whole package. The process is the same as above fastboot flash zip firmware.zip

Go here http://www.htcdev.com/devcenter/downloads

Device : HTC One Mini 2

Carrier : Orange

And find your file, rename and flash it, who knows you might just get lucky, with that remaining 3%.
[HTC One Mini 2] davipaulo9:
Cant flash rom htc mini signature failed

hello everyone,

Im having trouble unbricking this phone, i have tried to unlock by htc dev, no luck there. i managed to pull the rom.zip from ruu m4. but i get signature failed. i dont want to root now, so i dont care if its locked anyway. thats why im trying to run the stock image.

thanks in advance.
[HTC One Mini 2] tryllz:
What device is it, Verizon, Europe, Asia etc, is it a carrier locked ?

If you could explain the actual issue, how did it brick.
[HTC One Mini 2] davipaulo9:
Its ATT, i bought on ebay unlocked, use it fine for a year, then it started to act funny (reboot auto onto bootloader) decided to update to stock with ruu official. got bricked. low battery (i know, silly mistake)

i tried to unlock dev, got code fine, push it and said unlocked, but nothing.

so, i extracted rom from ruu and push it, but get verification error
[HTC One Mini 2] davipaulo9:
Can u help me with this?
[HTC One Mini 2] tryllz:
You can try to full charge and then reflash RUU again, remember you have an unlocked (Do you mean Network unLocked or Bootloader unlocked ?) device not S-OFF (as I understand), which means that you can only flash a higher OS version than what is installed.

Another options is to install CM13, which I'm using, its basically Cyanogen Marshmallow for One Mini 2, since its already unlocked you only need to flash TWRP and install CM13.
[HTC One Mini 2] davipaulo9:
Network unlocked , I'm s-on , can't get unlocked via htcdev, it tells me unlocked successful but it doesn't .

I see what you saying, and that's what I've trying to do . I downloaded a ruu from HTC and ran from Windows which gives me a error 171. I can run fastboot fine but when the Rom it's loading it reboots the phone and gives me this error. If I have corrupted sectors , can I fix it while it's locked?

So, I tried extracting the Rom,zip in Linux and push it through fastboot. It gives me signature failed .

I can't get twrp since I'm locked bootloader right? Or can I?

I still have my media there, is there any way to save it before flashing?

Thanks a lot
[HTC One Mini 2] tryllz:
I have a feeling you flashed the wrong RUU, other you would still be able to charge the device fully and reflash it, it owuld have worked and with locked and S-On you don't have much choice, I guess.

I ha a similar case before, can't remember if it got solved or not, I frankly can't remember, I'm searching the forum, please give me time.
[HTC One Mini 2] tryllz:
Sorry man I was unable to find that issue on the forum, however, I think since your bootloader is locked and you have access to fastboot you can try and flash stock boot (THIS WILL ALSO SOLVE ANY BOOT ISSUE YOU COULD HAVE) and flash stock recovery and then retry for unlocking bootloader, my guess it would restore any errors in bootloader files that is preventing from unlocking bootloader.

NB: THE FIRST MOMENT YOU PRESS YES TO UNLOCK THE BOOTLOADER VIA THE VOL KEY, ALL DATA IS LOST, CAN'T BE CERTAIN IN YOUR CASE, TRY THE ABOVE AND ONLY THEN WE CAN KNOW.
[HTC One Mini 2] davipaulo9:
I aprecciate your effort.
[HTC One Mini 2] davipaulo9:
This is what I get when I run fastboot oem rebootruu
[HTC One Mini 2] tryllz:
Fastboot oem rebootruu never worked for me either.

Can you type getvar all and in the output find the modelid, the output will be like this:

(bootloader) version: 0.5
(bootloader) version-bootloader: 1.43.0000
(bootloader) version-baseband: 4A.13.3231.20
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.26.707.5
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: FAxxxxxxxxxx
(bootloader) imei: xxxxxxxxxxxxxxx
(bootloader) meid: xxxxxxxxxxxx
(bootloader) product: m7_u
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0711000 ([B][COLOR="Red"]THIS IS WHAT YOU NEED FOR YOUR DEVICE[/COLOR][/B])
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4011mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-a45b3cdd003e12b8852f6f0a4c9cc3bd4
getvar:all FAILED (unknown status code)
finished. total time: 0.102s

Then rename the RUU file to this modelid.zip, then place it in the root of the SD Card, FULL CHARGE THE DEVICE, then reboot into the bootloader, the flashing should start automatically, if there is an error you will only have little time to read the error and what the error is. You might have to try and try again till you can read the error, I had to try 3 times and looked at the exact spot where the error displayed and timed the appearance of the error to read what the error was, in my case the error was that I had S-On and I was flashing a lower version.
[HTC One Mini 2] davipaulo9:
I'm flashing a higher version, but how do I push this to the sd card ? Adb or flash the image.

I did rename this before to my model , but I get signature failed.

Adb does not recognize the phone.

I did create the rules in udev. Kill , restart server
[HTC One Mini 2] tryllz:
I did a bit of googling on your errors, 2 possibilities come up.

1 - You do NOT have proper drivers installed

2 - You have the WRONG ROM.

http://xdaforums.com/showthread.php?p=57727218#post57727218
[HTC One Mini 2] tryllz:
ADB will only work if the phone is working as in touch-working-on-home-screen, in your case it will be fastboot only.

I would recommend you copy the file to SD via PC directly through windows explorer using SD Card reader or in another android phone, again is the RUU correct for this model ?

Could you provide me the getvar all output.

I'm not a Linux guy, I'm ZERO on Linux commands, my apologies.
[HTC One Mini 2] davipaulo9:
I tried that. My Rom is right . Ruu from HTC

It's m4 one

Do you know where the correct drivers are?

Erasing cache gives me error
[HTC One Mini 2] davipaulo9:
It didn't recognise on Windows , as an adb android 1.0. I managed to fix that with pdanet. But Windows doesn't sees it.
[HTC One Mini 2] tryllz:
I found out that Linux does NOT need drivers all are inbuilt (http://forums.androidcentral.com/htc-evo-4g-rooting-roms-hacks/23502-usb-drivers-linux.html), however can I suggest that you find a Windows machine as the RUU is an exe as showing here, if this is the correct one, all you need to do is follow steps.

Required Steps:

- From a powered off state, hold VOLUME DOWN while powering on the device.

- Use the volume buttons to scroll to FASTBOOT and then press the POWER button to select it.

- Connect the device to the PC while in this state and attempt the ROM update again.

Again, could I have your getvar all output.

With RUU update you need to make sure your device Radio version number in the RUU MATCHES EXACTLY as in your getvar all output and that the OS version is higher in the RUU than the device
[HTC One Mini 2] davipaulo9:
Running ruu on Windows gives me error 171. It reboots when flashing Rom

Tried all fixes for 171 error.

Gave up on Windows
[HTC One Mini 2] tryllz:
For Windows you just need to install any HTC drivers, then connect device in fastboot and run the RUU from desktop.

The device did not connect as in Windows did not recognise the USB connection or how ?, are you using an original cable as in hard cable, weak/worn out cables can cause issues.

What is the baseband/radio number of your ROM ?
[HTC One Mini 2] davipaulo9:
Windows recognizes the phone , adb does not. It spits out the error when running ruu.

Radio1.29.40g 1115L
[HTC One Mini 2] tryllz:
171 means that fastboot is NOT seeing your device, this could possibly be a drivers error as fastboot is working in Linux, uninstall everything HTC and USB drivers in windows (USE CC CLEANER CLEAN REGISTERY), reboot and just connect the device in fastboot, all drivers will install automatically, then try again in fastboot.

You pulled out the ROM from the RUU, try and get the boot.zip and stock bootloader files and flash them and then try unlocking again.

And what is the error you are facing in fastboot erase cache

Sorry can't think of anything else.

AGAIN BATTERY CHARGE AND GOOD CABLES ARE IMPORTANT.
[HTC One Mini 2] davipaulo9:
Gonna try the cccleaner again. Done that before.

I did pulled the Rom from ruu and got boot .zip .

I get Failed (remote erasing error.

Original cable . New
[HTC One Mini 2] tryllz:
You are falling more towards a memory (emmc) error, with being unable to erase even the cache..

Any I'm out of ideas, you can try the CC cleaner on windows again, who knows you could get lucky...

Best Of Luck...
[HTC One Mini 2] davipaulo9:
Thanks a lot my friend , ill keep fighting this till I brake. It's my wife's phone and she will be very happy to get it back .

I also think it's emmc, and as far as know , 98% of the time it's hardware. Then, I'm done.
[HTC One Mini 2] davipaulo9:
I figure it doesn't have connection with the PC. Pdanet told me that. When I plug the m7 I have it does connect fine.

The mini gets error. I'm guessing it's a mmc problem
[HTC One Mini 2] eskimosound:
Is there a faux locked no red text hboot?
[HTC One Mini 2] Ven99:
I flashed the Recovery, there is a DEMO app inside, soon after reboot DEMO started to run. What to do with this ? Is there any way to get rid off this ? Also Screen Lock is greyed out. If not, why do you put it here, its useless like this.(obviously If I don't miss out something)
[HTC One Mini 2] tryllz:
Is the demo inside the ROM, that is what I understand, if so then you need to change the ROM.

Lock screen is greyed out, I did not understand.
[HTC One Mini 2] Ven99:
Yes HTC Demo app is included in this ROM. You know it always starts automatically and also disables Screen Lock options .

I tried to change ROM , I deleted the DEMO apk and some other related files, but I can not pack it in TWRP's "ext4.win" format. I tried something both with WinRAR and 7zip, but TWRP didn't accept as a recovery.

Reason I am looking for a ROM is because there is a HTC DEMO app already installed on my phone, doesn't allow for uninstall, doesn't let create screen lock. And the one I downloaded here has also HTC Demo app. What a chance.

I would be very glad if someone can help me on this : Can I make changes on TWRP's BACKUP files and RESTORE back ? MD5 files maybe need to re calculated, but I dont know much.
[HTC One Mini 2] tryllz:
I get the picture of the lock screen button greyed since its a demo ROM, seems like an official demo ROM, I'm not familiar with how to get the ROM working without the demo in it, I'm short of knowledge, however I had once received a demo Samsung ROM not was not able to do much with it.

I would suggest to backup your important data and flash stock Nandroid or CM 13 Marshmallow, both work(ed) fine with me.
[HTC One Mini 2] Ven99:
My friend has a same phone. I will take a BACKUP of it with TWRP and RESTORE into my phone.
[HTC One Mini 2] Ledobr:
Brick phone

Can you plz help me?

I have S-off, Unlocked bootloader. But it cant run TWRP custom recovery. I can flash it easily but it just not starting and i go back to fastboot. What shall I do?

I am also trying to get back to stock rom but the phone doesn`t read the zip file from my Sd card.

When rebooting it always starts in Ramdump mode.

Can someone help me?

version: 0.5

version-bootloader: 3.19.0.0000

version-baseband: 1.101.1102.19.1017

version-cpld: None

version-microp: None

version-main: 2.19.401.1

version-misc: XB SHIP S-OFF

serialno: FA417SJ00082

imei: 00000000000000

imei2: Not Support

meid: 00000000000000

product: mem_wl

platform: hTCBmsm8226

modelid: 0P8B10000

cidnum: 11111111

battery-status: good

battery-voltage: 0mV

partition-layout: Generic

security: off

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: be7179e5

hbootpreupdate: 11

gencheckpt: 0
[HTC One Mini 2] tryllz:
You have been responded in this thread
[HTC One Mini 2] di1100:
Great Nandroid Backup. Thank you.
[HTC One Mini 2] bashme:
Phone boots into Bootloader all the time

Hello people.

I have been reading a lot trying to find solution for my problem.

When I power on my HTC One Mini 2, it boots into the Bootloader screen every time. It is driving me mad. Now i am struggling to understand the different meanings of Recovery, Stock, TWRP....etc, so don't really know how to get the phone back to it's original factory state.

Someone on the forum mentioned that you have to post the phone information. So Here is the phone information.

*** TAMPERED ***

*** RELOCKED ***

*** Security Warning ***

MEM_UL PVT SHIP S-ON

HBOOT-3.19.0.0000

RADIO-1.101.1102.19.1017

OpenDSP-v28.2.2.00546.0331

OS-2.19.401.2

eMMC-boot 1024MB

Aug 13 2015, 17:35:26.126

FASTBOOT

<VOL UP> to previous item

<VOL DOWN> to next item

<POWER> to select item

HBOOT

RAMDUMP

REBOOT

REBOOT FASTBOOT

POWER DOWN

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.101.1102.19.1017

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 2.19.401.2

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: mem_ul

(bootloader) platform: hTCBmsm8226

(bootloader) modelid: 0P8B20000

(bootloader) cidnum: HTC__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: be7179e5

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.038s

Please can someone help me get my phone back to original factory state.

Which software is needed for my phone? And how do i know this?

Thank you.
[HTC One Mini 2] tryllz:
Im on limited internet access.

Based on your version main seems your running International SW unless you have bought from a network provider, you can google superfirmware and search the site with your radio number.

Device boots into bootloader because of no OS in device.

As you have S-On you wont be able to flash stock rom with older version, since new or similar version is not available you have 2 options.

1. Unlock bootloader and flash TWRP and then Flash uploaded Stock Nandroid Backup (I will assume you have stock recovery, which will need be replaced with TWRP.

2. Remove S-On and flash any version ($25 charges apply)

For layman, TWRP is a Recovery software that allows you to erase memory and rewrite OS onto memory

Stock refers to original unmodified ROM (OS) as provided by the company.
[HTC One Mini 2] Ven99:
Did you re flash TWRP ? Or try another copy or version of it ?
[HTC One Mini 2] tryllz:
Does twrp exit even without flashing of any rom, if this is the case has this happrned more than once ?

If this happens on flashing a rom, which rom is it, what error message if any does it show.
[HTC One Mini 2] bailiff666:
Hi thanks for reply

Yes TWRP exit even without flashing of any rom,every single time when try enter TWRP max up to 10sec. and goes back to bootmode.So even when i try quickly(as i know i have only 10sec.) flash any rom TWRP goes back to fastboot mode.

No error observe.:confused:

Regards

Mike

https://www.dropbox.com/s/0n2dxizmngua76i/IMG_3563.MOV?dl=0
[HTC One Mini 2] tryllz:
I could only come up with the following solution, if you havent tried any of them before:

1. Try to reset twrp settings, I think the time is sufficient to reset.

2. Try to flash a different version of twrp via PC in cmd, Im on 2.8.5.0, the only issue I face is sometimes it gets stuck in a loop entering twrp which I solve by force rebooting device.
[HTC One Mini 2] xxxmadraxxx:
Anyone finding that, after restoring this nandroid backup, Google Play won't update existing apps or install any new ones?

I keep getting a 492 error. I've tried the usual clearing Google Play & Google Play Services data and caches and also factory resetting, but the same thing just keeps happening. In fact the only app that will update is Google Play itself.
[HTC One Mini 2] Coaxs94:
Hi people! I've run into a problem here. First, my one mini 2 is

tampered, unlocked, S-on,

hboot 3.19.0.0000,

OS in bootloader is 2.18.166.3 which is below the version written on this tutorial, right?

and radio 1.101.1102.19.0708_10.24.4149.00L

So, here's what happens, after placing downloaded zip renamed as 0P8BIMG.zip on sdcard, hboot detects the file, starts loading or whatever it on upper right corner, but when it finishes, absolutely nothing happens, no prompts to update or not or anything, stays in hboot doing nothing. After I reboot, no changes. What's wrong?
[HTC One Mini 2] tryllz:
For the stock to flash you should RELOCK the bootloader and flash via command in cmd :

Fastboot oem lock

Re-unlocking will DELETE ALL DATA ON DEVICE.

Are you on stock recovery ?

There will be a flash message as to what is going on for a very short period, and its really difficult to read, you might have to redo the whole process more than once to read it as it shows on the same spot again and again on-screen.

Shoult it fail, post your device info here without IMEI & SERIAL using command in cmd :

Fastboot getvar all
[HTC One Mini 2] Coaxs94:
Not stock, got twrp. EDIT: Ok, I have it relocked. File 0P8BIMG.zip loaded in hboot, started "checking" and then in very short moment as you said flashed on screen "cid incorrect, update failed".
[HTC One Mini 2] tryllz:
You cannot flash stock roms while you have custom recovery installed, to flash stock roms you should have everything stock, you will have to remove twrp, reinstall stock recovery, relock bootloader and then redo the whole process again.

Fastboot flash recovery recovery-name.img
Fastboot erase cache

Relocking is fairly simple, nothing much except the command.

Advisably, copy and paste your info from getvar all here BEFORE YOU DO ANYTHING.

There is always a chance of failure, but stocks are better at handling failures, hardware failures specially I/O are difficult to determine and irrepairable.
[HTC One Mini 2] Coaxs94:
Ok, I have it relocked. File 0P8BIMG.zip loaded in hboot, started "checking" and then in very short moment as you said flashed on screen "cid incorrect, update failed".

Here's the getvar all :

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.101.1102.19.0708

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 2.18.166.3

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) meid: 00000000000000

(bootloader) product: mem_ul

(bootloader) platform: hTCBmsm8226

(bootloader) modelid: 0P8B20000

(bootloader) cidnum: VODAP120

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 7ad7ebac

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.062s
[HTC One Mini 2] tryllz:
You have S-On and VODAFONE rom installed, this rom is for international/European devices, you cannot FLASH this ROM, you have to have S-Off to flash a different ROM and must have supercid as well to flash a non-carrier rom.

I will check and get back to you regarding your vodafone stock rom updated one, need sometime though.
[HTC One Mini 2] Coaxs94:
Is there any way to go back to stock 4.4.2 without s-off? No, I didn't supercid it, I bought a used device here in Serbia, it was on stock 4.4.2., but I rooted it and installed twrp with windroid toolkit and then installed lineageos with twrp. Thanks so much btw! :)
[HTC One Mini 2] tryllz:
In this case the only way to stock is to either have a stock RUU or stock nandroid to restore.

Let me recheck for both and get back to you.

NB : My bad, supercid only works when S-Off has been achieved, sorry for misinformation.
[HTC One Mini 2] Coaxs94:
I haven't done any backups :/ I'm with unusable phone right now and it's 03:55 in the morning here lol
[HTC One Mini 2] tryllz:
To get the phone up and running can you describe the problem with device ?
[HTC One Mini 2] Coaxs94:
Umm, just bootloader working. Since I did relock I can't go to twrp (selecting recovery, doesn't open it, but flashes the screen and shows fastboot again) and no system ofc, that's it, just need stock rom or whatever I can install right now just to use it (until stock solution).
[HTC One Mini 2] tryllz:
You will have to unlock via htcdev and reflash twrp and reinstall LOS till stock solution to make it work.

But why would you want to go stock, LOS causing any problems ?
[HTC One Mini 2] Coaxs94:
So no problems doing that with "tamered, relocked and security warning" ? Because camera on LOS is lagging badly, when opening taken picture, animation lag is annoying, 2nd thing is that 60fps 720p is not working as in 4.4.2, and I need 60fps cause of recording some fast calisthenics movements. :D
[HTC One Mini 2] tryllz:
You cannot flash twrp on a relocked unit, unlock bootloader, accept Security Warning and then flash twrp and all should be gooe to go, MAKE SURE BATTRRY IS CHARGED UP.

Some devices have reported that camera and other lag, I believe nightcore500 is on it.

For stock nandroid somebody has to perform a backup, let mr check on that along with stock RUU, hopefully will be available :fingers-crossed:
[HTC One Mini 2] Coaxs94:
Okay, I will do htc dev unlock again, flash twrp and LOS again. Yeah, hopefully. Thank you! :fingers-crossed:
[HTC One Mini 2] tryllz:
In the mean time, if want to test, this is an alternate method to supercid to flash any rom for your device as long as its originally for one mini 2. The method has no mentioning of S-Off, might just work.

https://xdaforums.com/showthread.php?p=26516911#post26516911:cowboy:

NB : I havent tested it myself, I will once I return back to my PC in a different country.
[HTC One Mini 2] Coaxs94:
Hey man! I have tried that method and I'm stuck with opened mmcblk0p4 with HxD hex editor, actually, there is nothing like in the picture on the tutorial, just bunch of zeros with no words. I did everything exactly like in the tuto steps, don't know what the hell? Just goes like that all the way down, all zeros.. :confused:
[HTC One Mini 2] tryllz:
To avoid further confusion, leave it, restore it to LOS for now to get the phone running..
[HTC One Mini 2] thocenski:
hi!

i tryed this wit cmd but nothing changed... I have a htc one mini2. This phone have a couple of langages, but not croatian.How i can put croatian language in it..

Thnaks
[HTC One Mini 2] tryllz:
Are you asking for UI language or keyboard language, there is Croatian language for keyboard, as for UI language, because I'm not Croatian I can't say as each language name is written in its language ?
[HTC One Mini 2] thocenski:
Hi !

I tryed and sucssed. But i now how another problem. When my phone is off, and when i try to charge it, in downcorner of screen shows red letters g "Development Build only...... How i can remove it. Phone charges normaly when is turned on...
[HTC One Mini 2] tryllz:
This is what you need, not sure if you will be able to flash it as this is for european devices to remove REDTEXT, https://www.androidfilehost.com/?fid=24389512218018077

It's not advisable as but you can try, you need to flash it via TWRP..
[HTC One Mini 2] thocenski:
Where i can find custom hboot ?