[TUTORIAL] S-Off & Update to Android 4.3

Search This thread

Stefano Pech

Senior Member
Jun 22, 2013
67
4
Como
Hi Guys,

i have bought as second hand used an htc one mini. I live in Italy, so no Us.
The device report the following info, made by the previous owner:

TAMPERED
RELOCKED
M4_UL PVT S-OFF RL
CID-VODAP102
HBOOT-2.19.0000
RADIO 1.20.40d.00.05

It has TWRP recovery and Android 4.2.2.

I would like to restock it, deleting "tampered" and "relocked"

anybody that can help me please? thank you in advance

C:\ADB-FASTBOOT>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 2.19.0000
(bootloader) version-baseband: 1.20.40d.00.05
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.31.161.2
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: HT386W**********
(bootloader) imei: 35**************
(bootloader) meid:
(bootloader) product: m4_ul
(bootloader) platform: HBOOT-8930
(bootloader) modelid: PO5820000
(bootloader) cidnum: VODAP102
(bootloader) battery-status: good
(bootloader) battery-voltage: 4232mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-99c875bb7f
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.100s
 

kourninki

Senior Member
Feb 21, 2014
75
3
In a practical sense .. when do you need to have S-off on these devices .. for just flashing a custom ROM it doesnt seem so .. would I be correct in saying that?
 

kourninki

Senior Member
Feb 21, 2014
75
3
For a custom rom u dont need s-off. Change cid or install a stock from other region, for that u need s-off :)

Gesendet von meinem HTC One mini mit Tapatalk 4

Just out of interest ... I have an Australian HTC one mini .. updates take aaaages to get here ... if an update becomes available for a foreign carrier (Lets say AT&T) .. if I change my CID to that carrier with the OTA update become available for me? Is that why people bother changing the CID?
 

MirageBlader

Senior Member
May 9, 2012
662
228
Munich
Just out of interest ... I have an Australian HTC one mini .. updates take aaaages to get here ... if an update becomes available for a foreign carrier (Lets say AT&T) .. if I change my CID to that carrier with the OTA update become available for me? Is that why people bother changing the CID?

Exactly, i had a vodafone germany HTC One mini, i changed to international HTC One mini to get the updates faster :)

Gesendet von meinem HTC One mini mit Tapatalk 4
 

edimonoarfa

Senior Member
Sep 18, 2009
209
22
Jakarta
To fix the bootloop with the combination of s-off and unlocked bootloader, delete the file at /system/bin/hcheck

Sent from my SGH-I317 using Tapatalk

@jmzdone it, and it works like a charm. now I can continue to flash the kitkat.

to delete that hcheck, user twrp, mount system and delete it via file manager.
 
Last edited:

lughy13

Member
Feb 2, 2012
25
0
Exactly, i had a vodafone germany HTC One mini, i changed to international HTC One mini to get the updates faster :)

Gesendet von meinem HTC One mini mit Tapatalk 4

How did you changed from Vodafone Germany HTC One Mini to International HTC One Mini? Can you help me do the same thing?
 

MirageBlader

Senior Member
May 9, 2012
662
228
Munich
How did you changed from Vodafone Germany HTC One Mini to International HTC One Mini? Can you help me do the same thing?

First and the most important thing is you need S-Off
If you have s-off then just follow my tutorial.
You just have to install a complete stock rom and update it to 4.4.2 :D
IMportant, no root and no modifications or you will get update errors
thats it!
 

lughy13

Member
Feb 2, 2012
25
0
First and the most important thing is you need S-Off
If you have s-off then just follow my tutorial.
You just have to install a complete stock rom and update it to 4.4.2 :D
IMportant, no root and no modifications or you will get update errors
thats it!

Now I have One-Hybrid Rom installed. My phone is S-ON, bootloader unlocked, hboot 2.21. Can you help me revert to stock in order to do s-off and update to international 4.4.2?
 

MirageBlader

Senior Member
May 9, 2012
662
228
Munich
No theres no way. The only way is if you have s-off but for s-off you need root and for root you have to unlock your bootloader. :/ so Sry mate but there is no way

Thanks for the kind words. When we get Sense 6 Update I will update the thread :)

Gesendet von meinem HTC One_M8 mit Tapatalk
 
  • Like
Reactions: Czechnolog

Czechnolog

Senior Member
Apr 29, 2012
366
54
Great! Thanks for reply.
Finally, somebody replied.

So, I will unlock my bootloader today - I want to install a new CM 11 [Milestone 6 (released today)]
+ Kernel that supports DoubleTap2Wake + Sweep2Lock.

Do you have any procedure how to go back to FULL STOCK?
(I read many threads, there is no procedure for HTC One Mini - only for One M7.)

Btw. I found this RUU that I would use, but I did not find any description if I can use it, or not?
RUU: http://androidruu.com/getdownload.p...14_10.20.40.4408L_release_333483_signed_2.exe
 

MirageBlader

Senior Member
May 9, 2012
662
228
Munich
Great! Thanks for reply.
Finally, somebody replied.

So, I will unlock my bootloader today - I want to install a new CM 11 [Milestone 6 (released today)]
+ Kernel that supports DoubleTap2Wake + Sweep2Lock.

Do you have any procedure how to go back to FULL STOCK?
(I read many threads, there is no procedure for HTC One Mini - only for One M7.)

Btw. I found this RUU that I would use, but I did not find any description if I can use it, or not?
RUU: http://androidruu.com/getdownload.p...14_10.20.40.4408L_release_333483_signed_2.exe

You need HTC unlock, and a Full wipe before flashing cm11. Just follow the instructions of the Rom. Iam in the M8 Forum now xD if you need Support just pm me or add me in hangouts, Ian glad if I can help :)

Its a at&t ruu, its Not a real help. Follow my guide will give you a stock wwe Rom. You will be able to get updates :) if you wanna cm11 just install a custom recovery and Full wipe your device and install cm11 and Kernel but its better to have s-off :)

Gesendet von meinem HTC One_M8 mit Tapatalk
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    Cheers Guys,
    this guide will lead you to a S-Off HTC One Mini with SuperCID and Android 4.4.2.

    NEW
    Update to 4.4.2
    NEW


    Because my english sucks really hard, iam sorry in advanced for it :D

    The S-Off guide is from the Handy-FAQ forum and just translated from german into english.
    All thanks and greetings goes to them :D

    The stock nandroid backup still uploading, pls bepantient.
    You can do the s-off part of the guide if you wish.

    People wich already got S-Off pls just skip that part.

    Code:
    [B][COLOR="Red"][CENTER]Neither phone FAQ , or assume I, nor the thread creator on XDA
    responsibility for problems you encounter![/COLOR][/B][/CENTER]


    Whats needed?

    • I tested HBoot versions 2.19 & 2.21!
    • Unlocked Bootloader over HTCdev
    • A rooted stock ROM & Kernel (Its important without it will not work!) JmzM4StockRootedOdex-WWE-1.22.401.1 & Jmz M4 Kernel
    • some knowledge how to use ADB and Fastboot
    • cmd-tool, every windows computer should have it
    • i could happen that it not work on the first time, just do it over again from beginning and it will work (i had that problem)
    • it does not looks very user-friendly (no GUI)
    • it will not brick your devices (BUT its possible because its a hack)
    • the possibility to get S-Off without problems is DAMN high :D


    Download:
    1. download Android SDK for ADB.
    2. Download revone: http://revolutionary.io/revone

    Guide:

    You can use any OS for that guide, you just need an cmd-tool.
    1. Download revone (above) and copy it to your adb folder, while Android is running.[/B]):
    2. open cmd and use following commands:
      Code:
      adb push revone /data/local/tmp/
    3. now use these commands:
      Code:
      adb shell
      Code:
      cd /data/local/tmp
      Code:
      chmod 755 revone
    4. Prepare S-Off:
      Code:
      ./revone -P
      • revone will give you an error now: "error message -2"
      • NOW Restart your device but leave USB debugging turned on and use following commands:

        Code:
        adb shell
        Code:
        cd /data/local/tmp
        Code:
        ./revone -s 0 -u

        revone should tell you that everything went fine and i got S-Off.


      • Here just some other commands for revone:
        • -u --> Unlock Bootloader
        • -l --> Lock Bootloader (It will not simply lock it, it will lock it like it was never unlocked)
        • -r --> Relock Bootloader (mark the device as unlocked)
        • -t --> "Tampered" will be removed from bootloader
        • !!!IMPORTANT! YOU NEED FULLY STOCK ROM, STOCK RECOVERY AND STOCK BOOT BEFORE YOU CAN USE THIS!!! fastboot oem writesecureflag 3 --> restore S-ON


    5. If revone say OK then reboot your device into bootloader and check if you got S-Off[/code]
    6. You should see S-Off Now.
    7. Optional: Run revone (via CMD) and remove that tampered flag:
      Code:
      adb shell
      Code:
      cd /data/local/tmp
      Code:
      ./revone -t

    Credits

    revone developed by Revolutionary dev team.


    Disclaimer

    Revolutionary dev team declines any responsibility if you use RevOne : If the world goes down, it 's not our fault . If your device ignites spontaneously , that's not our fault . Do you choose to use our tool, we do not force you.

    Support

    Please visit # revolutionary IRC on the Freenode network. We will support you as much as possible , but remember : This is an "early access" and we could just sleep or just not be available when you years of accession the chat. Just stay there and wait for a response.



    Super CID :


    Guide:

    1. Boot into bootloader and connect via fastboot USB to your PC
    2. open CMD to use (in my case) cd /Android/ (if your adb folder is on C:/Android/)
    3. use following command
      Code:
      fastboot oem writecid 11111111
      --> Its 8 times the 1!
    now lets check it twice:
    • Code:
      adb reboot bootloader
    Or:
    1. Code:
      fastboot reboot-bootloader
    2. Code:
      fastboot oem readcid
      --> You should see CID 11111111 now.

    Now your device is S-Off! :D
    Now lets install a custom recovery and a stock ROM to get the OTA.

    Install TWRP Recovery:
    Please visit this XDA Thread
    You can Download the latest touch recovery there.
    rename it now to twrp.img and copy it to your ADB folder.

    Guide:

    1. Boot into bootloader and connect via fastboot USB to your PC
    2. open CMD to use (in my case) cd /Android/ (if your adb folder is on C:/Android/)
    3. use following command
      Code:
      fastboot flash recovery twrp.img
    now use

    • Code:
      fastboot erase cache

    • Code:
      fastboot reboot-bootloader
    Now enter recovery by selecting recovery from bootloader and enter it with power-button

    Create now an backup (it shoudl take a lot of time cuz its almost stock device :D)
    Reboot into android now
    Now download this file:
    My Link :D
    Thanks to scotty2000 for the mirror :D
    You can google for an Stock 4.2.2 - 1.22.401.1 Odexed Nandroid Backup
    Copy this nandroid backup into the TWRP backup folder.
    Important (It should looks like /TWRP/BACKUP/SHA********** [Ur device ID]/Stock 4.2.2 - 1.22.401.1 Odexed/backup files)
    Now reboot your device into recovery again and restore it with the backup we copied.
    After it sucessfully restore your device boot it up
    (Maybe TWRP will ask you to restore root, answer with NO!)

    1. Wait until device booted and connect to WIFI.
    2. Goto settings -> info -> Software-Updates and let him check for an OTA
    3. If you have SuperCID you should get an OTA notification.
    4. Download it but NOT install it.
    5. Connect your phone to your PC and copy the OTA
      (sdcard/downloads/) to your PC.
    6. Reboot your device into Bootloader and open CMD
    7. [Make sure you have WinRAR installed, its the only one wich worked for me]
    8. Open the OTA file with winrar, inside it there is a firmware.zip file.
    9. extract it somewhere or if you are lazy like me :D download it here
    10. Open the firmware.zip and extract the recovery.img and copy it to your adb folder.
    11. Boot into bootloader and connect via fastboot USB to your PC
    12. open CMD to use (in my case) cd /Android/ (if your adb folder is on C:/Android/)
    now use

    • Code:
      fastboot flash recovery recovery.img

    • Code:
      fastboot erase cache

    • Code:
      fastboot reboot-bootloader
    now reboot your device into android.

    Let it check for OTAs and if it show you that an OTAs was downloaded and waiting for install....
    Install it!
    Your device should reboot into Stock recovery and install the OTA.
    It takes 5 - 10 mins after it the device reboots into a fresh & clean Android 4.3.

    NEW 24.02.2014
    After installed to 4.3 just look for a new Update.
    You will get a notification that a new update is ready to download.
    After downloading Android 4.4.2 just install it and... your done!


    You can do now a factory reset to set the device up from beginning :D

    If you want to root your device just download this file and install it via recovery:
    Thanks tbwshaun for the Link :D


    For kitkat (4.4.2) User, pls use this SuperSU.zip to get root.


    But if you to lazy to go to recovery to flash stuff just use Flashify App
    https://play.google.com/store/apps/details?id=com.cgollner.flashify&hl=de
    flash it from running android and simply reboot :D
    (You can flash boot.img & recovery.img also with this app)

    And i can also confirm that Xposed Framework & Sense Toolbox
    wich is used in ARHD Roms, works very well too.
    It has a lot of custom stuff in it :D


    I already did it to 6 devices now and it works without problems.
    The devices was from Vodafone, O2, Telekom and many others :D
    3
    Mega upload

    Thanks. Once it's downloaded, I'll upload to dropbox and Mega too.

    Here the upload to Mega, enjoy :)

    https://mega.co.nz/#!ZtEmWZaT!dqCyvEDN1XrL5jh3sAMqvkBdW13yVNYejKEcrSqrlJ0
    3
    To fix the bootloop with the combination of s-off and unlocked bootloader, delete the file at /system/bin/hcheck

    Sent from my SGH-I317 using Tapatalk
    2
    Its still uploading. And Iam still at work. To do s-off u need the rooted Rom and custom kernel, I tried it without and it's not working but if u have fully stock make a system dump to be safe. If u have s-off it doesn't matter if the boot loader is unlocked or locked. U just need it later if you have to sent it back to HTC. I will keep you guys updated with the upload. I will also upload a system dump of my currect 4.3 system. But u all need s-off.

    Gesendet von meinem HTC One mini mit Tapatalk 4
    2
    @tbwshaun can you reupload the stock android that MirageBlader posted?

    ---------- Post added at 11:29 PM ---------- Previous post was at 11:29 PM ----------

    somewhere like mega.co.nz

    yes ill do that now not sure how long it will take tho!!!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone