yashsingh1/xdaforums huggingface dataset:
[HTC One Mini 2] JBailey-85:
EDIT:

I solved my original problem. I will leave my original message as well as my solution in quotes below, just in case it might help someone else who comes across this thread with the same problem in the future.

As everything is working fine now, I no longer see the use to remove the 'tampered' status in bootloader.

So, Thanks everyone on this forum, and the OP especially, for all the effort!
[HTC One Mini 2] tryllz:
Hi,

For the Indication issue that this device is for Dev purpose, have you tried flashing the stock recovery ?!

Thank You
[HTC One Mini 2] JBailey-85:
Hi,

This indication is gone now. It went away once I locked and unlocked my boot loader again (and had to do the first time install again).

The only thing indicating that this phone was 'messed' with is the 'tampered' status in bootloader, but I don't see how that would matter to me.
[HTC One Mini 2] santod040:
No Red Text Hboot Mod

Done by request:

M8_MINI_UL_NoWipe_NoRedText_Firmware_2.19.401.1.zip

Red Text Removed from hboot

Stock Recovery removed from zip

ENJOY! :good:
[HTC One Mini 2] ziaba:
how to install? via twrp or RUU mode? need s-off?
[HTC One Mini 2] santod040:
RUU mode.

S-off required
[HTC One Mini 2] tryllz:
Hi,

Lately I have been noticing my phone is losing battery faster, earlier the Battery used by Cell Radio and Phone Standby was not more than 12%-25% but lately its been going more than 50%, everything else is lower than 15% and I lose 1 day of charge, I have already reset the device to factory and started over but still the same, if I restart the device it come down to 15% but after few hours slowly reaches 40% and above, any idea ??
[HTC One Mini 2] ziaba:
Does this work with CM12 based roms?
[HTC One Mini 2] Alpha1BA:
Place the zip in your fastboot/adb directory on your computer.

Put the device in fastboot mode

(Volume down and power until menu appears, select fastboot using power button)

Connect the device to the computer

Enter the following commands from terminal/command prompt in the fastboot directory, one at a time:

fastboot oem rebootRUU (this puts the device in RUU mode)

fastboot flash zip firmware.zip (rename file to firmware.zip)

It will say that the update did not finish, to flush again, so repeat the above step:

fastboot flash zip firmware.zip
[HTC One Mini 2] ARDV:
i have a mini2 that stuck in rebooting

my version is : 2.19.401.2 and it is above 2.18.401.3

when i execute: fastboot oem rebootRUU, the phone reboot.

i searched for an s-off for this phone, but i found nothing.

is there a way to downgrade the bootloader? or to s-off?
[HTC One Mini 2] tryllz:
With S-Off you will not be able to flash an older version over a new one, can you enter bootloader ?, if yes, do you have TWRP installed ?, if no and yu can enter bootloader then you need to flash TWRP as it is the only way to recover the device now. The only S-Off option is with $25 sunshine, no other has worked for I tried several methdods, firewater, chmod etc..

You can follow the instructions here for TWRP here: http://xdaforums.com/one-mini-2/ori...-2-15-1-15-t3004418/post63228103#post63228103

Then once you have installed TWRP then you need to place the nandroid back up in an SD MMC, you can download the nandroid backup here: http://xdaforums.com/one-mini-2/general/update-available-t3206829 / or here i used this one and it works, I am still using it : https://www.androidfilehost.com/?fid=24052804347818782 / steps for restoring are mentioned here : http://xdaforums.com/one-mini-2/general/stock-ruu-rom-recovry-htc-one-mini-2-t3250020

Hope it helps...
[HTC One Mini 2] ARDV:
Thanks for the reply,

i'm downloading the nandroid backup, hope it will work.

but i couldn't find how to install TWRP in the link you posted.
[HTC One Mini 2] tryllz:
Sorry, thats the link for TWRP flash commands that worked (I used TWRP version 2.8.5.0) : http://xdaforums.com/showpost.php?p=63243095&postcount=277
[HTC One Mini 2] ARDV:
i tried both 2.8.5.0 and 2.8.1.0, but i get a red triangle when entering the recovery.

edit: sorry, i forget to unlock the bootloader, and flashing the recovery was not going well, i get:

(bootloader) signature checking...

FAILED (remote: signature verify fail)

i tried unlocking it via fastboot using htcdev, when i choose 'Yes' to unlock the bootloader and click the power button, i get a red traingle, and after clicking power+up+down the stock recovery appears.

and after rebooting the bootloader is still locked.
[HTC One Mini 2] tryllz:
First make sure you have 100% charge, if you are unsure leave the device on charge for about 2 hours (THIS STEP IS VERY IMPORTANT) (SWITCH OFF DEVICE AND KEEP IT ON CHARGE, DON'T KEEP IT ON CHARGE IF IT KEEPS ON REBOOTING AS DEVICE WILL HEAT UP EXCESSIVELY AND MAKE SURE TO USE A GOOD QUALITY CABLE BAD CABLES CAN DO MORE DAMAGE THAN GOOD, TURN OFF AND ONLY THEN KEEP IT ON CHARGE, TO DO THIS PRESS THE VOL UP+POWER (OR VOL DOWN+POWER, SORRY CAN'T REMEMBER) KEY AND ONCE THE DEVICE TURNS OFF INSTANTLY RELEASE ALL PRESSED KEYS, DEVICE WILL SWITCH OFF, IF YOU FAIL, THEN JUST LEAVE THE DEVICE TILL ITS BATTERY RUNS OUT)

Second, have you received the bin file from htcdev, have you manage to flash it successfully because only after that you will be able to unlock the bootloader. The complete method to do it the right way : http://www.android.gs/how-to-unlock-htc-one-bootloader/ (REMEMBER ONCE YOU UNLOCK THE BOOTLOADER (INSTANTLY ALL YOUR DEVICE DATA WILL BE LOST)

Once you have unlocked the bootloader, the follow steps to install recover as explained earlier...

Sorry, frankly I did this very long back and came across same issues so i am telling from memory and experience.

Good Luck..
[HTC One Mini 2] Soforak:
Hello, my htc don't work and i tried to do this tuto but at the end it's wrote "CID incorrect, update failled". For information i tried to factory reset by all ways but i doesn't work my phone keep the datas and when i turn on my phone it crash and says Something like "Home sens stopped" in loop then it restart. Pls need answers.
[HTC One Mini 2] tryllz:
From what I understand you tried steps mentioned in this thread but they didn't work.

I am understanding that you have tried to reset the phone by all means and after that when phone reboots all data is still there, correct me if I'm wrong, and on boot up it shows Home Sense has stopped working.

Have you tried the following :

- Is there any app that you can't remove or uninstall

- Have you tried reset from Bootloader, you need to reset from bootloader if you haven't.

- Do you see apps in the running memory that you can't remove or uninstall

CID is for carrier, what carrier are you on ?
[HTC One Mini 2] Soforak:
I tried by all means, and i can't see the apps because after 6-15 seconde the phone restart. Apparently the CID is false and i can't change it in the RUU because it's wrote that the archive is broken so how can i do?
[HTC One Mini 2] tryllz:
Is your phone from a carrier or is it an international device, from which country did you buy it ?

If it is carrier then this in not the thread, which carrier does it belong to ?

You will need to SuperCID, You can try this, no S-Off needed : http://androidforums.com/threads/guide-how-to-supercid.636482/

What OS version are you running, are you rooted, are you on custom ROM ?

I will assume you have a reboot issue which is fixable by the methods in this thread to a certain degree.
[HTC One Mini 2] Soforak:
I'm from Orange (France) and my CID is ORANGXXX. My phone isn't rooted or anything, I'm LOCKED ans S ON.

My OS 1.18.73.2

---------- Post added at 05:14 PM ---------- Previous post was at 04:57 PM ----------

I can't mofify any cid 'cause when i do "adb devices" i got Nothing but i have all drivers normaly. So is it possible to you to modify the cid into the RUU to give me?
[HTC One Mini 2] tryllz:
So there is more than one way to do this:

DO NOT GO AHEAD IF YOU HAVE ANY WARRANTY ON YOUR DEVICE, ADVISABLY GET IT TO THE SERVICE CENTER, OTHERWISE PROCEED AS BELOW.

I am assuming that your CID is fine and it did not work because your CID is different and you are completely stock.

METHOD 1:

I have not seen an Orange RUU anywhere, so what you can do is to check on Orange HTC one Mini 2 support page (IN USA THEY DO HAVE RUU SUPPORT OFFICIALLY, I HAVE SEEN IT FOR HTC ONE MINI) if they provide RUU and if they do its the easiest method, no hassle only that the RUU version has to be same or higher to work, all will go back to stock, all data will be lost.

METHOD 2: RISKY

If that didn't work then you will need Nandroid Backup, also not found anywhere, I did find a french forum for HTC : http://www.frandroid.com/produits/htc that I searched but did not find any HTC One Mini 2 files either. What you need to do is find some one who has TWRP installed in his device, make a backup of his device, ONLY MAKE BACKUP OF OS+BOOT, unlock bootloader of your device, install TWRP, copy those files into your phone, and restore the backup made thru TWRP, sounds difficult but its not.

METHOD 3 : THE EASIEST

Take it to Orange Service center and they will put it back in working condition, its just a software crash.

I know not much of a help but I was not able to locate sources of anything Orange HTC One Mini 2, Sorry.

Again I need to ask, have you done a RESET FROM THE BOOTLOADER , sorry for the nag :p:p
[HTC One Mini 2] tryllz:
Why do you want to modify the CID, do you want to use another carrier SIM or do you want to use another carrier Software on your device ? other than that you don't need to modify the CID.

ADB will work only when the device is working as in you can reach the home screen, plus for ADB you will need to enable USB Debugging from Developer Options in settings, for this the device has to be responsive which is not so in your case.
[HTC One Mini 2] Soforak:
So you're saying that is just the software? So how can i change it?

I've already tried to use the Service center but I don't want because they say that the mecanician that will do a check up to the phone will says that is because my phone falls and the guaranty is not enable for this case, (i know this isn't the problem because it didn't fall since a long time) but anyway it's no, it's why i try this way.

---------- Post added at 05:54 PM ---------- Previous post was at 05:49 PM ----------

RESET BY THE BOOTLOADER --> already done, i think because when i chose factory reset it disp a red triangle with an exclamation point, so i've read that i need to do "volume up + power button" but that redirect me to the recovery mode, then i do "reset users datas" and "reset cache" but it seems to do not work :/

---------- Post added at 05:55 PM ---------- Previous post was at 05:54 PM ----------

I want to modify the cid because i want to use the RUU from this tuto, but i'll search if i find an other (not sure)
[HTC One Mini 2] tryllz:
OK, Have you entered the bootloader with Vol Down+Power Key ?, if not you should try it first.

Then, I suggest you first try this method to change get SuperCID : http://androidforums.com/threads/guide-how-to-supercid.636482/

Once you have done that then you can unlock the bootloader from htcdev.com.

We will go step by step or you will get confused.
[HTC One Mini 2] Soforak:
Like i said, yeh i tried by all ways xD

Ok i readed this tuto but adb don't find my device :(

I've already tried to unlock it but when i got the locker and check YES it restart and Nothing appened.
[HTC One Mini 2] tryllz:
don't get me wrong, i have had a similar experience with another htc device, i was able to enter 2 different bootloaders on that device, one with vol up+power key and one with vol down+power key, thats why i asked that

you still have another option to get a software done from any small mobile shop.

i nearly bricked my device but somehow got it working, your device might or might not end up the same, so yes its risky...

Another important thing, make sure your device is 100% charged when performing any steps.
[HTC One Mini 2] Soforak:
No way to enter by volume up + power
[HTC One Mini 2] tryllz:
ADB wont find your device because ADB works on a usable device and you are working on the tutorial from the start.

Do This : Enter Bootloader, then Enter Fastboot and start from the below steps :

-check for connectivity - This code checks if you PC can read your device, if successful your device serial number will show in the output

fastboot devices

-if you get a serial number back,check your cid first,in case you want to restore it later

fastboot getvar cid

or

fastboot getvar all

(will return other variables as well :))

-change CID

fastboot oem writecid 11111111

(eight ones)

-reboot bootloader

fastboot reboot-bootloader

-check CID again

fastboot getvar cid

or

fastboot getvar all

- verify CID=11111111 [THIS NOT A COMMAND, JUST VERIFY IF YOUR CID HAS CHANGED TO 11111111 (EIGHT ONES)]

-reboot

fastboot reboot

If this did not work, the other option is to use TWRP which is only beneficial of someone has an Orange Nandroid Backup for you to restore
[HTC One Mini 2] Soforak:
All is good but when i write a new cid it don't work, same to reboot into bootloader, i volume down + power

C:\WINDOWS\system32>fastboot oem writecid 11111111

...

(bootloader) SecuritySDInit: counter = 3

(bootloader) memul_init_sd, SD card already power on

(bootloader) memul_init_sd, SD card io already power on

(bootloader) sdhci_open: id=0

(bootloader) Initializing MMC host data structure and clock!

(bootloader) mmc slot#2 clock enabled

(bootloader) clock_config_mmc: slot 2, freq 192000000

(bootloader) GPLL0 is enabled

(bootloader) clock_update_cfg_sd is done

(bootloader) sd clock set done

(bootloader) sdhci_set_bus_width: bus width 0

(bootloader) sdhci_clk_supply: freq 400000

(bootloader) Decoded CID fields:

(bootloader) Manufacturer ID: 1b

(bootloader) OEM ID: 0x534d

(bootloader) Product Name: 00000

(bootloader) Product revision: 1.0

(bootloader) Product serial number: 31568898

(bootloader) Manufacturing date: 2 2012

(bootloader) sdhci_clk_supply: freq 50000000

(bootloader) Decoded CSD fields:

(bootloader) cmmc_structure: 0

(bootloader) card_cmd_class: 5b5

(bootloader) write_blk_len: 1024

(bootloader) read_blk_len: 1024

(bootloader) r2w_factor: 5

(bootloader) sector_size: 128

(bootloader) c_size_mult:7

(bootloader) c_size: 3817

(bootloader) nsac_clk_cycle: 0

(bootloader) taac_ns: 20000000

(bootloader) tran_speed: 26000 kbps

(bootloader) erase_blk_len: 1

(bootloader) read_blk_misalign: 0

(bootloader) write_blk_misalign: 0

(bootloader) read_blk_partial: 1

(bootloader) write_blk_partial: 0

(bootloader) Card Capacity: 2001731584 Bytes

(bootloader) sdhci_set_bus_width: bus width 1

(bootloader) Done initialization of the card

(bootloader) erase_grpsize: 49152

(bootloader) erase_grpmult: 257356076

(bootloader) wp_grpsize: 63

(bootloader) wp_grpen: 0

(bootloader) perm_wp: 0

(bootloader) temp_wp: 0

(bootloader) [Tuxera][Error] No exFAT partition found

(bootloader) [FAT_ERROR] fat_open_file: can not find SMART_IO.CRD

(bootloader) [JAVACARD_ERR] SMART_IO.CRD cann't find

OKAY [ 0.133s]

finished. total time: 0.134s

It's what i said i can't modify CID :/
[HTC One Mini 2] tryllz:
With S-On you wont be able to do much.

Next step is to unlock the boot loader, from htcdev.com, all steps are mentioned there, however you have mentioned that you tried and it did not work, frankly I can't think of another way to do it.

Either S-Off or, SuperCID which needs S-Off or Unlocked bootloader and TWRP, in your case none of them seem to be working, sorry but I would advise you to visit any local mobile shop, they will have Sunshine S-Off or a complete carrier RUU.
[HTC One Mini 2] Soforak:
It's not possible to you to modify the RUU for my CID? It could be amazing
[HTC One Mini 2] tryllz:
Sorry but I had to chuckle, no its not possible like that since I am on S-On too and I cannot change my CID either, but again I never needed to since I managed to unlock bootloader.

I have a Nandroid but since you don't have TWRP its of no use either.

Could you explain what exactly happens after unlocking the bootloader, are you able to reach the screen where you press vol keys to unlock the bootloader ?

Look I learned from my understanding that a lot of processes failed if there was insufficient charge in device, just a guess, I did all my work with a 100% battery.
[HTC One Mini 2] Soforak:
What i mean is, can you modify the zip file for my cid? (i would do it by myself but i can't open the file on myt computer it say that the file is broken, it's why i ask you that)

When i unlock the phone restart like always, without any change
[HTC One Mini 2] tryllz:
OK, just pass the file to me...
[HTC One Mini 2] Soforak:
It's the RUU from this tuto, at the beginning there is the download, thx
[HTC One Mini 2] tryllz:
OK, I think you have got it all wrong.

The RUU file in this thread is already an older version and my version is newer and with S-On I will not be able to flash it, S-Off is needed to flash an older version.
[HTC One Mini 2] Soforak:
Yeh but mine is older than this one xD it's 1.28.something
[HTC One Mini 2] tryllz:
OK, let me clarify this for you again.

You will not be able to flash it because you don't have S-Off, you cannot unlock the bootloader due to which you will not be bale to install TWRP, regardless of your OS version.

I will not be able to flash is because this is an older version and I too don't have S-Off.
[HTC One Mini 2] Soforak:
Do you think there is an other solution for my phone?
[HTC One Mini 2] tryllz:
As I mentioned earlier, you can check with local mobile shops.

To my understanding of bootloaders, custom recoveries and all this stuff, No, S-Off or Unlocking bootloaders one of them has to work.

Sorry man...
[HTC One Mini 2] Soforak:
Ok thx anyway
[HTC One Mini 2] tryllz:
Hey, can you do this :

Enter bootloader and in fastboot use this command :

fastboot getvar all

and post the complete response here [WITHOUT THE IMEI AND SERIAL NUMBER].

I actually wanted to know the Baseband version, I might be able to find your Orange France file.
[HTC One Mini 2] Soforak:
Sure:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.101.1102.17.0506

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.18.73.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: ORANG202

(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
[HTC One Mini 2] tryllz:
Hey man,

Some one will give me a link for your file, soon as I get it I will post it here along with the steps, its really easy, but you will need stock Recovery, Relock the bootloader and an MMC.

Please be patient, Thanks.
[HTC One Mini 2] Soforak:
I'll be patient, thank you very much.

A stock recovery, MMC? I'm already locked.
[HTC One Mini 2] tryllz:
OK, I forgot you do not have TWRP installed and you are already stock, sorry.

MMC = SD Card (2GB or more in size, format it in another Android device and make sure sure the MMC is readable or if you have windows, format it as FAT, FAT32 or exFAT), you will need it for flashing the RUU.

What you will need to do is :

1 - Download this file 0P8BIMG_M8_MINI_UL_K44_SENSE60_Orange_FR-B2B_1.18.73.2_Radio_1.101.1102.17.0506_10.20.4149.00L_release_447888_signed.zip (1.4GB) in your computer.

2 - Make sure your device is 100% charged, if not leave it on charge for about 1.5 to 2 hours turned off.

3 - Rename the downloaded file to 0P8BIMG.zip and place it in the root of the SD Card from your computer.

4 - Insert the SD Card in the phone.

5 - Turn on device and enter bootloader by the Vol Down+Power Key, the bootloader will automatically read the file and start flashing.

6 - If you feel the flashing is stopped or not moving, DO NOT ATTEMPT TO TURN OFF OR REBOOT YOUR DEVICE, initial flashing and boot up takes some time, be patient.

Good Luck, That's about it.

Let me know how it went, success or failure..
[HTC One Mini 2] Soforak:
I think the world is against me :crying:

Now my PC don't detect my microSD so i can't put it on...

I'll keep trying and pray :rolleyes:
[HTC One Mini 2] Soforak:
The RUU works but when the phone restart the version is the same and the problem stay :crying:
[HTC One Mini 2] tryllz:
Did the RUU flashing start, did the flashing interrupt at any point, how long did the flashing last ?, it should take about 9-13 minutes..

The version will be the same as you are already on the last available version, it was supposed to erase all your device memory and rewrite the whole package again...

Can you try to erase cache with :

fastboot erase cache

and then retry, if it didn't work, Sorry but, would you be able to make a video of the problem, from the time you boot the device till it reaches the home screen, please include the bootloader screen in the video as well and link it here so I can see.
[HTC One Mini 2] Soforak:
It do not take 10 min at all

I'll give the link
[HTC One Mini 2] tryllz:
Youtube says the video has been removed.

If it did not take even 10 min then there must be an error, you might not be able to see the error it will just flash and disappear.

Did you see a vertical brown color bar in progress on the right side of the screen when the RUU started ?
[HTC One Mini 2] Soforak:
https://youtu.be/3N1L7pEcQWc

---------- Post added at 07:36 PM ---------- Previous post was at 07:34 PM ----------

But when i open the archive, she's also broken
[HTC One Mini 2] tryllz:
Which archive is broken, you mean the downloaded RUU file archive is broken ?, if the archive was damaged the device would have failed to read the file but this not the case, however can you re-download the file again and then try the below.

You can still try 2 more ways :

1 - Rename the file to firmware.zip and apply update from this screen [VIEW ATTACHMENT], choose apply update from SD Card, locate file and apply update.

If that didn't work, first copy the downloaded file into the adb/fastboot folder in windows [yours is C:\Users\<your user name>], rename the file to firmware.zip

2 - Enter fastboot then :

fastboot erase cache
fastboot reboot bootloader

Once device has rebooted into bootloader, enter fastboot then :

fastboot oem rebootRUU [The device will go into black screen or will show warning icon, MAKE SURE DEVICE HAS SUFFICIENT CHARGE IN IT THEN RUN THE BELOW COMMAND]

fastboot flash zip firmware.zip

If any error occurs it would show on the screen in the cmd window, can you paste the result here, whatever it be

And frankly after this I have no other solution.
[HTC One Mini 2] tryllz:
One final thing, to determine if this is an eMMC issue, you can do this.

Power off the device.

Once switched off, Press the power key and just as the screen appears, keep the Vol Down key pressed till the device reaches the home screen, the device will start in SAFE MODE [IN THIS MODE DEVICE WILL ONLY HAVE STOCK APPS]. If the device still behaves the same (Home Sense Crashes and device reboots) then its most likely an eMMC IO write issue since we have already tried all possible methods.

While I wouldn't suggest a repair on this device, the reason being its really tedious and next to impossible to replace an eMMC embedded on a board, you can still try if you want to, I know all this because I have been working with devices for quite some time and have come across many of these types of cases.
[HTC One Mini 2] Soforak:
I tried and Nothing works:

c:\adb>fastboot flash zip firmware.zip

sending 'zip' (1428218 KB)...

FAILED (remote: data length is too large)

finished. total time: 0.003s

Yeh even if i boot it into safe mode the error still here.