{"id":1021,"date":"2011-12-07T22:08:00","date_gmt":"2011-12-08T02:08:00","guid":{"rendered":"https:\/\/lowtek.ca\/roo\/?p=1021"},"modified":"2011-12-03T22:40:20","modified_gmt":"2011-12-04T02:40:20","slug":"unlocking-samsung-i9000m","status":"publish","type":"post","link":"https:\/\/lowtek.ca\/roo\/2011\/unlocking-samsung-i9000m\/","title":{"rendered":"Unlocking Samsung Galaxy S Vibrant (Bell)"},"content":{"rendered":"<p><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2011\/12\/IMG_2425.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1023\" title=\"IMG_2425\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2011\/12\/IMG_2425.jpg\" alt=\"\" width=\"500\" height=\"283\" \/><\/a><\/p>\n<p>I&#8217;ve been a big fan of <a href=\"http:\/\/en.wikipedia.org\/wiki\/SIM_lock#Unlocking_technology\">unlocked<\/a> GSM phones since my first one back in 2009. I&#8217;ve also been through a surprising number of different phone since then, but all of them have been 2nd (or 3rd) hand and have been a good price for a phone that still has lots of use left in it. My latest phone the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Samsung_Galaxy_S\">Samsung Galaxy S Vibrant (i9000m)<\/a> is no different, but it came to me locked to <a href=\"http:\/\/en.wikipedia.org\/wiki\/Bell_Mobility\">Bell<\/a>.<\/p>\n<p>I purchased the i9000m knowing it could be easily unlocked if you had the right magic. With the stock firmware, if you don&#8217;t have the phone unlocked you&#8217;ll see what&#8217;s pictured at the top of this post when you install a SIM card.<\/p>\n<p>It turns out the forums have a great <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=761045\">how to guide<\/a>, with pointers to an app on the <a href=\"https:\/\/market.android.com\/\">Android Market<\/a> if you&#8217;re afraid of a little bit of hex editing. It should go without saying that I selected the hex editing route. I&#8217;ll describe the steps I used here, but \u00a0<a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=761045\">all credit to the folks in the forums for figuring this out<\/a>.<\/p>\n<p>I will assume that you&#8217;ve <a href=\"http:\/\/wiki.cyanogenmod.com\/wiki\/Overview_of_Modding#Root\">rooted<\/a> your i9000m and you&#8217;re not incapable of using a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Hex_editor\">hex editor<\/a>.<\/p>\n<p><strong>Step 1<\/strong>: We&#8217;re going to copy some <a href=\"http:\/\/en.wikipedia.org\/wiki\/Non-volatile_memory\">non-volatile<\/a> memory off the phone that contains the &#8216;lock&#8217;. Perform the following commands on the phone (probably via <a href=\"http:\/\/wiki.cyanogenmod.com\/wiki\/ADB\">ADB<\/a>).<\/p>\n<p><code>$ su<br \/>\n# cat \/efs\/nv_data.bin &gt;&gt; \/sdcard\/nv_data.bin<br \/>\n<\/code><\/p>\n<p>Now copy that file onto your PC for editing.\u00a0Make a backup of the original before step 2.<\/p>\n<p><strong>Step 2<\/strong>: Edit that file, I used <a href=\"http:\/\/packages.ubuntu.com\/search?keywords=hexedit\">hexedit on Ubuntu<\/a>. The lock bit is inside of the byte at\u00a0<code>0x181469<\/code> in the file. See the green circle below, change that <code>01<\/code> into a <code>00<\/code> and save the file.<\/p>\n<p><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2011\/12\/Screenshot-Hacking-SGS-unlock.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1022\" title=\"Screenshot Hacking SGS-unlock\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2011\/12\/Screenshot-Hacking-SGS-unlock.png\" alt=\"\" width=\"639\" height=\"139\" \/><\/a><\/p>\n<p>Starting at offset\u00a0<code>0x181468<\/code> you should see the series of digits:\u00a0<code>ff 01 00 00 00 00 46 46<\/code><\/p>\n<p>The XDA post describes it as follows:<\/p>\n<blockquote><p>There are 5 different types of locks in 5 different bytes<\/p>\n<p>the FF byte should be left alone<br \/>\nthe first byte after the FF is the network lock<br \/>\nthe next byte is the network subset lock<br \/>\nthe next byte is the sp lock<br \/>\nthe next byte is the cp lock<br \/>\nthe last byte appears to be a data lock.<br \/>\nthe 46 46 should be left alone<\/p><\/blockquote>\n<p><strong>Step 3<\/strong>: Use the modified file to update your phone. Let&#8217;s assume you copied the modified file to \/sdcard\/nv_data.bin on the phone, and again the commands below are executed on the phone.<\/p>\n<p><code>$ su<br \/>\n# rm \/efs\/nv_data.bin<br \/>\n# rm \/efs\/nv_data.bin.md5<br \/>\n# cat \/sdcard\/nv_data.bin &gt;&gt; \/efs\/nv_data.bin<br \/>\n# chmod 755 \/efs\/nv_data.bin<br \/>\n# chown radio.radio \/efs\/nv_data.bin || chown 1001.1001 \/efs\/nv_data.bin<br \/>\n# reboot<br \/>\n<\/code><\/p>\n<p>That&#8217;s it, you&#8217;re unlocked. The unlock should persist across ROM (firmware) changes.<\/p>\n<p>References: <a href=\"http:\/\/forum.xda-developers.com\/wiki\/index.php?title=Samsung_Galaxy_S_Series\">a great article<\/a> with pointers to valuable information on the i9000 series.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been a big fan of unlocked GSM phones since my first one back in 2009. I&#8217;ve also been through a surprising number of different phone since then, but all of them have been 2nd (or 3rd) hand and have been a good price for a phone that still has lots of use left in &hellip; <a href=\"https:\/\/lowtek.ca\/roo\/2011\/unlocking-samsung-i9000m\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Unlocking Samsung Galaxy S Vibrant (Bell)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,11,12],"tags":[],"class_list":["post-1021","post","type-post","status-publish","format-standard","hentry","category-android","category-gadgets","category-how-to"],"_links":{"self":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/1021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/comments?post=1021"}],"version-history":[{"count":5,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/1021\/revisions"}],"predecessor-version":[{"id":1028,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/1021\/revisions\/1028"}],"wp:attachment":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/media?parent=1021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/categories?post=1021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/tags?post=1021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}