Can anyone confirm if it's possible to unlock this router to use all SA sims including Rain?
Hisense H220M
Hisense H220M
South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
Took a few hours of wading through weakly obfuscated JS but managed to crack the SIM unlock code on my MTN Hisense H220M with the latest firmware. I run Linux but process should be same on Win/Mac and is very easy.
Steps:
- Start from a blank slate by factory resetting the device
- Put the "foreign (Telkom/Rain/whatever)" SIM in and reinsert the battery
- Disconnect your PC from any other networks and plug the modem in to your PC with the microUSB cable
- Power on the device and wait until your PC establishes a connection to it (it IDs as "ZTE WCDMA Technologies MSM" on Linux and makes a virtual USB ethernet device)
- Open your browser and go to http://192.168.1.1 and sign in (pass is admin)
- Enter 12345678 as the SIM unlock code and apply (it will fail - this doesn't matter)
- Go to http://192.168.1.1/index.html#test
- In the CMD field enter 'unlock_network_code' without quotes
- Click the first Apply button
- Your magic SIM unlock code will be shown at the bottom (49651549 in my example)
- Go back to http://192.168.1.1 and enter your new SIM unlock code
- DONE
![]()
Haven't had a chance to test on other ZTE based devices but wouldn't be surprised if the same or similar procedure works.
You're welcome.
This doesn't seem to work for me either on the H221. If anybody gets it unlocked I would be very grateful. I now only have 4 more chances to unlock it as I am unable to access the test page !
@ld13: Were you connected via the cable or through WiFi? I think I was connected via WiFi if that makes any difference.
Many thanks for the suggestions. There is also a factory reset option on one of the setup menus. If you can't access the test page on this model then you may need to generate an unlock code from the IMEI number.Just restart the unit (via the reset pinhole on the router), it resets the count from what I can tell. Been doing it via the cable, without any luck
I'd rather die before buying credits!
Many thanks for the suggestions. There is also a factory reset option on one of the setup menus. If you can't access the test page on this model then you may need to generate an unlock code from the IMEI number.
I think the credits cost around $1 per device so it's not really worthwhile to spend too much time trying to unlock the unit as it might be very difficult. Let me know if you have any luck.
@nDdKING. Have the same router and just came across this as MTN signal is bad where we live. Put in my Vodacom sim card and followed your steps. Super easy to do and works. Thanks for the share!Took a few hours of wading through weakly obfuscated JS but managed to crack the SIM unlock code on my MTN Hisense H220M with the latest firmware. I run Linux but process should be same on Win/Mac and is very easy.
Steps:
- Start from a blank slate by factory resetting the device
- Put the "foreign (Telkom/Rain/whatever)" SIM in and reinsert the battery
- Disconnect your PC from any other networks and plug the modem in to your PC with the microUSB cable
- Power on the device and wait until your PC establishes a connection to it (it IDs as "ZTE WCDMA Technologies MSM" on Linux and makes a virtual USB ethernet device)
- Open your browser and go to http://192.168.1.1 and sign in (pass is admin)
- Enter 12345678 as the SIM unlock code and apply (it will fail - this doesn't matter)
- Go to http://192.168.1.1/index.html#test
- In the CMD field enter 'unlock_network_code' without quotes
- Click the first Apply button
- Your magic SIM unlock code will be shown at the bottom (49651549 in my example)
- Go back to http://192.168.1.1 and enter your new SIM unlock code
- DONE
Haven't had a chance to test on other ZTE based devices but wouldn't be surprised if the same or similar procedure works.
You're welcome.
No luck so far? How does the route of buying credit work?Just restart the unit (via the reset pinhole on the router), it resets the count from what I can tell. Been doing it via the cable, without any luck
I'd rather die before buying credits!
@nDdKING When you say JS, you mean the JS served via 192.168.1.1? Busy testing on the H221 without much success. #test just takes me back to #main. I can see the references to unlock_network_code floating around in the JS, but that is about it. Any hot tips?

Great work. Can confirm working on H221mI dumped the flash of my H220m and reverse-engineered the IMEI to unlock_network_code algorithm. I've made a page where you can calculate your unlock code here: https://kozik47.github.io/zte-imei-unlock
Just slap your IMEI in and you should get the right unlock code as shown:View attachment 1835377
I presume it will work for the H221M and other similar devices. Would appreciate some feedback.