[Q] HTC ONE V sim unlock

Search This thread

XTZY23

Member
Mar 8, 2014
5
2
Is there a way to sim unlock my htc one v?
I've unlocked the bootloader, rooted the device, put it on s-off, installed CyanogenMod Android 4.1.2, kernel version 3.0.16-HELLBOY; i flashed the kernel and rom; i tried to upgrade the ruu but it returned me the error 131 which reffered to some incompatibility ruu, even tho it was the most appropiate one.
another thing i tried was to hack into the mmcblk0p6 and take the un_lock_code but the unlock.sh returned me this error:
u0_a39@android:/ # IMEI:
u0_a39@android:/ # UN_Lock_code:
u0_a39@android:/ # /system/unlock.sh[34]: + + : unexpected 'end of expression'

my radio is 3831.19.00.120. The network is locked on O2, UK. I've tried a lot of things, but nothing worked.

Can you help me guys?

Thanks in advance!
 

heavy_metal_man

Senior Member
Nov 6, 2011
2,749
752
Is there a way to sim unlock my htc one v?
I've unlocked the bootloader, rooted the device, put it on s-off, installed CyanogenMod Android 4.1.2, kernel version 3.0.16-HELLBOY; i flashed the kernel and rom; i tried to upgrade the ruu but it returned me the error 131 which reffered to some incompatibility ruu, even tho it was the most appropiate one.
another thing i tried was to hack into the mmcblk0p6 and take the un_lock_code but the unlock.sh returned me this error:
u0_a39@android:/ # IMEI:
u0_a39@android:/ # UN_Lock_code:
u0_a39@android:/ # /system/unlock.sh[34]: + + : unexpected 'end of expression'

my radio is 3831.19.00.120. The network is locked on O2, UK. I've tried a lot of things, but nothing worked.

Can you help me guys?

Thanks in advance!

That depends on what fastboot commands your hboot supports. If you have an eng hboot you can remove simlock with fastboot. But I cannot remember the command off hand. Connect up to the pc in fastboot mode and issue the.command fastboot oem h and it will output all the options available. Post them here for us all to learn from please :)

Sent from my HTC Desire S using Tapatalk
 

XTZY23

Member
Mar 8, 2014
5
2
htc one v_commands

That depends on what fastboot commands your hboot supports. If you have an eng hboot you can remove simlock with fastboot. But I cannot remember the command off hand. Connect up to the pc in fastboot mode and issue the.command fastboot oem h and it will output all the options available. Post them here for us all to learn from please :)

Sent from my HTC Desire S using Tapatalk

this is what it returned:

C:\Fastboot>fastboot oem h
...
(bootloader) command list
(bootloader) get_identifier_token
(bootloader) checkKeycardID
(bootloader) keytest
(bootloader) heap
(bootloader) boot
(bootloader) reset
(bootloader) powerdown
(bootloader) rebootRUU
(bootloader) heap_test
(bootloader) erase_phone_storage
(bootloader) gotohboot
(bootloader) rtask
(bootloader) task
(bootloader) enableqxdm
(bootloader) gencheckpt
(bootloader) readmeid
(bootloader) lock
(bootloader) writesecureflag
(bootloader) readsecureflag
(bootloader) readsimlocktype
(bootloader) clearsimlocktype
(bootloader) readcid
(bootloader) writecid
(bootloader) list_partition_emmc
(bootloader) load_emmc
(bootloader) check_emmc
(bootloader) check_emmc_mid
(bootloader) read_mmc
(bootloader) read_sandisk_fw
(bootloader) get_wp_info_emmc
(bootloader) send_wp_info_emmc
(bootloader) get_ext_csd_emmc
(bootloader) get_sector_info_emmc
OKAY [ 0.041s]
finished. total time: 0.042s

C:\Fastboot>
 
  • Like
Reactions: heavy_metal_man

heavy_metal_man

Senior Member
Nov 6, 2011
2,749
752
(bootloader) readsimlocktype
(bootloader) clearsimlocktype
(bootloader) readcid
(bootloader) writecid

I would use these 2 sets here. First make a nandroid backup, just incase :)
Then issue these fastboot commands one after another and copy the results.

Fastboot oem readcid
Fastboot oem readsimlocktype

All good? Now first we want to change your cid to super. So issue this command

Fastboot oem writecid 11111111

Fastboot reboot bootloader

Fastboot oem readcid

Your cid should now show up as 11111111, that's 8 1's :)

All good? Lastly we issue these commands.

Fastboot oem clearsimlocktype

Fastboot reboot

Now just check your simcard and all should be well :) you can now flash any ruu for any carrier without issue, but always check its compatible with your model type first!

Sent from my HTC Desire S using Tapatalk
 
  • Like
Reactions: XTZY23

XTZY23

Member
Mar 8, 2014
5
2
fisrt step:


C:\Fastboot>fastboot oem readcid
...
(bootloader) cid: O2___001
OKAY [ 0.003s]
finished. total time: 0.004s

C:\Fastboot>fastboot oem readsimlock
type
...
(bootloader) sdcc_init_memory_device done
(bootloader) Wait for AMSS ready
(bootloader) AMSS is ready
(bootloader) readsimlocktype: SimLockType: 0
OKAY [ 21.759s]
finished. total time: 21.760s


step 2:

C:\Fastboot>fastboot oem writecid 11
111111
...
(bootloader) AMSS is ready
(bootloader) buf_addr:4FC300,buf_size:200,start_sector:1739D
(bootloader) sdcc_init_memory_device done
(bootloader) Finish write sector address 1739D ...
(bootloader) writecid: successfully
OKAY [ 0.691s]
finished. total time: 0.692s

C:Fastboot>fastboot reboot-bootload
er
rebooting into bootloader...
OKAY [ 0.151s]
finished. total time: 0.153s

C:\Fastboot>fastboot oem readcid
...
(bootloader) cid: 11111111
OKAY [ 0.004s]
finished. total time: 0.005s

C:\Fastboot>fastboot oem clearsimloc
ktype
...
(bootloader) sdcc_init_memory_device done
(bootloader) Wait for AMSS ready
(bootloader) AMSS is ready
OKAY [ 21.758s]
finished. total time: 21.760s

C:\Fastboot>fastboot reboot
rebooting...

finished. total time: 0.155s

C:\Fastboot>
 
Last edited:
  • Like
Reactions: heavy_metal_man

heavy_metal_man

Senior Member
Nov 6, 2011
2,749
752
fisrt step:


C:\Fastboot>fastboot oem readcid
...
(bootloader) cid: O2___001
OKAY [ 0.003s]
finished. total time: 0.004s

C:\Fastboot>fastboot oem readsimlock
type
...
(bootloader) sdcc_init_memory_device done
(bootloader) Wait for AMSS ready
(bootloader) AMSS is ready
(bootloader) readsimlocktype: SimLockType: 0
OKAY [ 21.759s]
finished. total time: 21.760s


step 2:

C:\Fastboot>fastboot oem writecid 11
111111
...
(bootloader) AMSS is ready
(bootloader) buf_addr:4FC300,buf_size:200,start_sector:1739D
(bootloader) sdcc_init_memory_device done
(bootloader) Finish write sector address 1739D ...
(bootloader) writecid: successfully
OKAY [ 0.691s]
finished. total time: 0.692s

C:Fastboot>fastboot reboot-bootload
er
rebooting into bootloader...
OKAY [ 0.151s]
finished. total time: 0.153s

C:\Fastboot>fastboot oem readcid
...
(bootloader) cid: 11111111
OKAY [ 0.004s]
finished. total time: 0.005s

C:\Fastboot>fastboot oem clearsimloc
ktype
...
(bootloader) sdcc_init_memory_device done
(bootloader) Wait for AMSS ready
(bootloader) AMSS is ready
OKAY [ 21.758s]
finished. total time: 21.760s

C:\Fastboot>fastboot reboot
rebooting...

finished. total time: 0.155s

C:\Fastboot>

Did it simunlock OK?

Sent from my Nexus 7 using Tapatalk
 

XTZY23

Member
Mar 8, 2014
5
2
Hmm, maybe yes maybe not

It passed the sim network locked screen, but now it says "no network available" and when im making a call, it says "mobile network unavailable" :( \
I REINSTALLED THE RUU i was trying to install it in the first place and it worked. so thanks for your help :)

PS: the new challenge is this error: mobile network unavailable because it is disconnected


************update***************
1.last night i put s-on on my phone...but
2.even on s-off i could not unlock the bootloader after installing the RUU_PRIMO_U_ICS_40A_HTC_Europe_2.22.401.1_Radio_20.76.30.0835U_3831.19.00.120_release_273801_signed
3. no bootloader unlock->no root->no s-off->no simlock :(
4. the message header is ****Relocked**** and the error the i receive when i try to unlock the bootloader again is:

C:\Fastboot>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.640s]
writing 'unlocktoken'...
FAILED (remote: unlock token check failed)
finished. total time: 0.650s

***********fixed this one*************
HTC ONE toolkit 2.0-Squabbi-- saved me fro a lot o work! great thanks to squabbi!
 
Last edited:

heavy_metal_man

Senior Member
Nov 6, 2011
2,749
752
It passed the sim network locked screen, but now it says "no network available" and when im making a call, it says "mobile network unavailable" :( \
I REINSTALLED THE RUU i was trying to install it in the first place and it worked. so thanks for your help :)

PS: the new challenge is this error: mobile network unavailable because it is disconnected

http://www.sieempi.eu/blog/2011/09/22/universal-sim-unlock-for-s-offed-htc-devices-536 ok give this a bash pal. will hopefully fix the issue.
 
  • Like
Reactions: XTZY23

XTZY23

Member
Mar 8, 2014
5
2
GSM problem/hardware problem

thanks heavy_metal_man for replies!

the config.dat file worked, partially i think, returning only one error: Open Cid file failed.
as i could see my phone does not react to find any mobile network available, even tho my phone is "reading" the simcard now. i can see contacts, messages, etc.
ps: i don't have the back cover. would that be the problem?
 

heavy_metal_man

Senior Member
Nov 6, 2011
2,749
752
thanks heavy_metal_man for replies!

the config.dat file worked, partially i think, returning only one error: Open Cid file failed.
as i could see my phone does not react to find any mobile network available, even tho my phone is "reading" the simcard now. i can see contacts, messages, etc.
ps: i don't have the back cover. would that be the problem?

The back cover for these kinds of phones usually have "antenna boosting" pads. My htc sensation gets no signal without the back cover on.

For anyone else I would recommend trying the linked website solution from sieempi before fastboot commands :)

Sent from my Nexus 7 using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    fisrt step:


    C:\Fastboot>fastboot oem readcid
    ...
    (bootloader) cid: O2___001
    OKAY [ 0.003s]
    finished. total time: 0.004s

    C:\Fastboot>fastboot oem readsimlock
    type
    ...
    (bootloader) sdcc_init_memory_device done
    (bootloader) Wait for AMSS ready
    (bootloader) AMSS is ready
    (bootloader) readsimlocktype: SimLockType: 0
    OKAY [ 21.759s]
    finished. total time: 21.760s


    step 2:

    C:\Fastboot>fastboot oem writecid 11
    111111
    ...
    (bootloader) AMSS is ready
    (bootloader) buf_addr:4FC300,buf_size:200,start_sector:1739D
    (bootloader) sdcc_init_memory_device done
    (bootloader) Finish write sector address 1739D ...
    (bootloader) writecid: successfully
    OKAY [ 0.691s]
    finished. total time: 0.692s

    C:Fastboot>fastboot reboot-bootload
    er
    rebooting into bootloader...
    OKAY [ 0.151s]
    finished. total time: 0.153s

    C:\Fastboot>fastboot oem readcid
    ...
    (bootloader) cid: 11111111
    OKAY [ 0.004s]
    finished. total time: 0.005s

    C:\Fastboot>fastboot oem clearsimloc
    ktype
    ...
    (bootloader) sdcc_init_memory_device done
    (bootloader) Wait for AMSS ready
    (bootloader) AMSS is ready
    OKAY [ 21.758s]
    finished. total time: 21.760s

    C:\Fastboot>fastboot reboot
    rebooting...

    finished. total time: 0.155s

    C:\Fastboot>

    Did it simunlock OK?

    Sent from my Nexus 7 using Tapatalk
    1
    htc one v_commands

    That depends on what fastboot commands your hboot supports. If you have an eng hboot you can remove simlock with fastboot. But I cannot remember the command off hand. Connect up to the pc in fastboot mode and issue the.command fastboot oem h and it will output all the options available. Post them here for us all to learn from please :)

    Sent from my HTC Desire S using Tapatalk

    this is what it returned:

    C:\Fastboot>fastboot oem h
    ...
    (bootloader) command list
    (bootloader) get_identifier_token
    (bootloader) checkKeycardID
    (bootloader) keytest
    (bootloader) heap
    (bootloader) boot
    (bootloader) reset
    (bootloader) powerdown
    (bootloader) rebootRUU
    (bootloader) heap_test
    (bootloader) erase_phone_storage
    (bootloader) gotohboot
    (bootloader) rtask
    (bootloader) task
    (bootloader) enableqxdm
    (bootloader) gencheckpt
    (bootloader) readmeid
    (bootloader) lock
    (bootloader) writesecureflag
    (bootloader) readsecureflag
    (bootloader) readsimlocktype
    (bootloader) clearsimlocktype
    (bootloader) readcid
    (bootloader) writecid
    (bootloader) list_partition_emmc
    (bootloader) load_emmc
    (bootloader) check_emmc
    (bootloader) check_emmc_mid
    (bootloader) read_mmc
    (bootloader) read_sandisk_fw
    (bootloader) get_wp_info_emmc
    (bootloader) send_wp_info_emmc
    (bootloader) get_ext_csd_emmc
    (bootloader) get_sector_info_emmc
    OKAY [ 0.041s]
    finished. total time: 0.042s

    C:\Fastboot>
    1
    (bootloader) readsimlocktype
    (bootloader) clearsimlocktype
    (bootloader) readcid
    (bootloader) writecid

    I would use these 2 sets here. First make a nandroid backup, just incase :)
    Then issue these fastboot commands one after another and copy the results.

    Fastboot oem readcid
    Fastboot oem readsimlocktype

    All good? Now first we want to change your cid to super. So issue this command

    Fastboot oem writecid 11111111

    Fastboot reboot bootloader

    Fastboot oem readcid

    Your cid should now show up as 11111111, that's 8 1's :)

    All good? Lastly we issue these commands.

    Fastboot oem clearsimlocktype

    Fastboot reboot

    Now just check your simcard and all should be well :) you can now flash any ruu for any carrier without issue, but always check its compatible with your model type first!

    Sent from my HTC Desire S using Tapatalk
    1
    fisrt step:


    C:\Fastboot>fastboot oem readcid
    ...
    (bootloader) cid: O2___001
    OKAY [ 0.003s]
    finished. total time: 0.004s

    C:\Fastboot>fastboot oem readsimlock
    type
    ...
    (bootloader) sdcc_init_memory_device done
    (bootloader) Wait for AMSS ready
    (bootloader) AMSS is ready
    (bootloader) readsimlocktype: SimLockType: 0
    OKAY [ 21.759s]
    finished. total time: 21.760s


    step 2:

    C:\Fastboot>fastboot oem writecid 11
    111111
    ...
    (bootloader) AMSS is ready
    (bootloader) buf_addr:4FC300,buf_size:200,start_sector:1739D
    (bootloader) sdcc_init_memory_device done
    (bootloader) Finish write sector address 1739D ...
    (bootloader) writecid: successfully
    OKAY [ 0.691s]
    finished. total time: 0.692s

    C:Fastboot>fastboot reboot-bootload
    er
    rebooting into bootloader...
    OKAY [ 0.151s]
    finished. total time: 0.153s

    C:\Fastboot>fastboot oem readcid
    ...
    (bootloader) cid: 11111111
    OKAY [ 0.004s]
    finished. total time: 0.005s

    C:\Fastboot>fastboot oem clearsimloc
    ktype
    ...
    (bootloader) sdcc_init_memory_device done
    (bootloader) Wait for AMSS ready
    (bootloader) AMSS is ready
    OKAY [ 21.758s]
    finished. total time: 21.760s

    C:\Fastboot>fastboot reboot
    rebooting...

    finished. total time: 0.155s

    C:\Fastboot>
    1
    It passed the sim network locked screen, but now it says "no network available" and when im making a call, it says "mobile network unavailable" :( \
    I REINSTALLED THE RUU i was trying to install it in the first place and it worked. so thanks for your help :)

    PS: the new challenge is this error: mobile network unavailable because it is disconnected

    http://www.sieempi.eu/blog/2011/09/22/universal-sim-unlock-for-s-offed-htc-devices-536 ok give this a bash pal. will hopefully fix the issue.