{"id":170,"date":"2011-04-15T08:36:34","date_gmt":"2011-04-15T07:36:34","guid":{"rendered":"http:\/\/paguilar.org\/?p=170"},"modified":"2011-04-15T08:36:34","modified_gmt":"2011-04-15T07:36:34","slug":"updating-the-samsung-galaxy-i7500-using-linux","status":"publish","type":"post","link":"https:\/\/paguilar.org\/?p=170","title":{"rendered":"Updating the Samsung Galaxy i7500 using Linux"},"content":{"rendered":"<p>The <a href=\"http:\/\/en.wikipedia.org\/wiki\/Samsung_i7500\">Galaxy i7500<\/a> was the first android phone built by Samsung. I got this phone some while ago and I wanted to update to a more recent android version (the original firmware ships version 1.6), but unfortunately, Samsung doesn&#8217;t give any support nor updates. Thus, if you want to update the firmware, you can use a non-official firmware.<\/p>\n<p>In this post I try to explain how to do this when your host\/PC is a Linux machine.<br \/>\nThe procedure described here is partially based in the quite uselful <a href=\"http:\/\/androidforums.com\/i7500-all-things-root\/72037-easy-guide-update-galaxo-gaosp.html\">Easy guide to update to Galaxo or GAOSP!<\/a> written by DaSchmarotzer that explains how to update this phone but using a Windows based machine.<\/p>\n<p><font size=\"3\"><strong>Download<\/strong><\/font><\/p>\n<p>Get all the needed files:<\/p>\n<ul>\n<li><a href=\"http:\/\/dl.google.com\/android\/android-sdk_r10-linux_x86.tgz\">Android SDK for Linux<\/a><\/li>\n<li><a href=\"http:\/\/dl4.htc.com\/RomCode\/ADP\/fastboot.zip\">Fastboot<\/a> for manipulating the flash<\/li>\n<li><a href=\"http:\/\/www.drakaz.com\/FILES\/GALAXY\/?file=RECOVERY_6.5.1.zip\">Custom recovery<\/a><\/li>\n<li>ROM: Choose one option. I chose Galaxo.\n<ul>\n<li><a href=\"http:\/\/gaosp.googlecode.com\/files\/GAOSP-2-PUBLIC-BETA-3.zip\">GAOSP-2-PUBLIC-BETA-3<\/a> <\/li>\n<li><a href=\"http:\/\/www.drakaz.com\/FILES\/GALAXY\/?file=Galaxo_V1.6.3.4.zip\">Galaxo_V1.6.3.4<\/a><\/li>\n<\/ul>\n<\/li>\n<li>Gapps for restoring Google Applications. Choose one option. I chose Galaxo.\n<ul>\n<li><a href=\"http:\/\/obihoernchen.androidcodex.com\/downloads\/GAOSP%20Gapps%20Light\/gapps-gaosp-light-10312010-signed.zip\">gapps-gaosp-light-10312010-signed.zip<\/a><\/li>\n<li><a href=\"http:\/\/uploading.com\/files\/f54288a1\/gapps-galaxo-signed.zip\/\">gapps-galaxo-signed.zip<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><font size=\"3\"><strong>Put everything in place<\/strong><\/font><\/p>\n<p>First of all, create a backup of your data. The SD card (pictures, music, etc) won&#8217;t be touched, but other important info like your contacts will be erased. If you have a Gmail account you just can synchronize your contacts for uploading them to your account and once you finish the update you can synchronize it again for downloading them to the phone.<\/p>\n<p>Unpack the android SDK wherever you want. I put all the downloaded files in <em>\/home\/android\/<\/em>.<\/p>\n<p>Decompress the android SDK. The directory <em>\/home\/android\/android-sdk-linux_x86<\/em> will be created.<\/p>\n<p>Change to the directory <em>\/home\/android\/android-sdk-linux_x86\/tools<\/em><\/p>\n<p>Move the file <em>fastboot.zip<\/em> inside the <em>\/home\/android\/android-sdk-linux_x86\/tools<\/em> directory and decompress it. A new file called <em>fastboot<\/em> will be created.<br \/>\nGive it execution permissions:<\/p>\n<pre lang=\"bash\">\nchmod +x fastboot\n<\/pre>\n<p>Connect your phone via USB and mount its SD card.<br \/>\nCopy the chosen ROM and Gapps files to the phone&#8217;s SD card.<br \/>\nUmount the SD card.<br \/>\nTurn off the phone, but leave it connected to the PC using the USB cable.<\/p>\n<p>Now we have all the downloaded files in the required locations.<\/p>\n<p><font size=\"3\"><strong>Manipulate the i7500 flash with fastboot<\/strong><\/font><\/p>\n<p>We have to tell the phone&#8217;s bootloader how to load our files. fastboot can write a new bootloader image (recovery-6.5.1.img) that allow us to do exactly that plus several other operations.<\/p>\n<p>Before executing fastboot, we need to tell <em>udev<\/em> through its rules that we&#8217;re the owner of the usb device with vendors ID 18d1 (Google Inc.) and 04e8 (Samsung Electronics Co., Ltd).<br \/>\nYou have to do these steps as root.<br \/>\nChange <em>username<\/em> to the username you use for logging in your system.<\/p>\n<p>Create the file <em>\/etc\/udev\/rules.d\/50.android.rules<\/em> with the following content<\/p>\n<pre lang=\"bash\">\nSUBSYSTEM==\"usb\", SYSFS{idVendor}==\"18d1\", MODE=\"0666\", OWNER=\"username\"\n<\/pre>\n<p>Create the file <em>\/etc\/udev\/rules.d\/90.android.rules<\/em> with the following content<\/p>\n<pre lang=\"bash\">\nSUBSYSTEM==\"usb\", SYSFS{idVendor}==\"04e8\", MODE=\"0666\", OWNER=\"username\"\n<\/pre>\n<p>Reload udev&#8217;s rules<\/p>\n<pre lang=\"bash\">\n$ reload udev\n<\/pre>\n<p>As a normal user, add the <em>\/tools<\/em> directory where fastboot is located to your <em>PATH<\/em> environment variable.<\/p>\n<pre lang=\"bash\">\n$ export PATH=$PATH:\/home\/android\/android-sdk-linux_x86\/tools\n<\/pre>\n<p>Change to the <em>\/home\/android\/android-sdk-linux_x86\/tools<\/em> directory and write the following command <strong>without<\/strong> pressing enter. <\/p>\n<pre lang=\"bash\">\n$ fastboot flash recovery recovery-6.5.1.img \n<\/pre>\n<p>You&#8217;ll press it after booting the phone in fastboot mode. Do so by pressing and holding both the <em>Call button<\/em> (bottom left) and the <em>Power button<\/em> (bottom right) at the same time until you see on the phone that you are in fastboot mode. You\u2019ll have about 15 seconds to press enter on the shell. If it works, you\u2019ll see in the shell this output:<\/p>\n<pre lang=\"bash\">\nsending 'recovery' (3080 KB)... OKAY\nwriting 'recovery'... OKAY\n<\/pre>\n<p>In the phone&#8217;s display you&#8217;ll see something like this:<\/p>\n<div id=\"attachment_186\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/paguilar.org\/wp-content\/uploads\/2011\/04\/DSC03720.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-186\" src=\"https:\/\/www.paguilar.org\/blog\/wp-content\/uploads\/2011\/04\/DSC03720-300x225.jpg\" alt=\"Android fastboot\" title=\"android_fastboot\" width=\"300\" height=\"225\" class=\"size-medium wp-image-186\" \/><\/a><p id=\"caption-attachment-186\" class=\"wp-caption-text\">Android fastboot<\/p><\/div>\n<p>At this point we have a new bootloader image in the phone&#8217;s flash that allow us to do custom operations.<\/p>\n<p>Turn off your phone. I had problems for turning it off, so I removed the battery and put it again.<\/p>\n<p><font size=\"3\"><strong>Updating to the new firmware<\/strong><\/font><\/p>\n<p>Boot the phone, but this time in recovery mode. Do so by holding the <em>Lower volume button<\/em>, the <em>Call button<\/em> and the <em>Power button<\/em>. If it works, you\u2019ll see a green menu with lots of choices:<\/p>\n<div id=\"attachment_187\" style=\"width: 235px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/paguilar.org\/wp-content\/uploads\/2011\/04\/DSC03727-e1302851899282.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-187\" src=\"https:\/\/www.paguilar.org\/blog\/wp-content\/uploads\/2011\/04\/DSC03727-e1302851899282-225x300.jpg\" alt=\"Android recovery mode\" title=\"android_recovery_mode\" width=\"225\" height=\"300\" class=\"size-medium wp-image-187\" \/><\/a><p id=\"caption-attachment-187\" class=\"wp-caption-text\">Android recovery mode<\/p><\/div>\n<p>Select the <strong>Nandroid backup<\/strong> option and press the <em>Home button<\/em> to confirm. Then just follow the instructions on-screen. I chose slot 1 when asked which slot to use.<\/p>\n<p>Select <strong>Wipe data\/Factory reset<\/strong>. It\u2019s going to erase all your applications and settings, but it shouldn\u2019t touch anything saved on your SD card. It\u2019s important to do so, else the phone will not work properly.<\/p>\n<p>Select <strong>Apply any zip<\/strong>. Select either the GAOSP or the Galaxo zip files, depending on your choice. This will take a bit since it was to copy 60 or 49MB, respectively.<\/p>\n<p>Select <strong>Fix package permissions<\/strong>.<\/p>\n<p>Select <strong>Apply any zip<\/strong> again but this time pick the Gapps, which will restore the Google Applications on your phone.<\/p>\n<p>Now you can reboot by selecting the first option <strong>Reboot system<\/strong>.<\/p>\n<p><strong>Notice<\/strong>: It could happen that the phone freezes during the booting procedure in the android or gaosp boot screen. Wait for ~10 minutes, and then if it&#8217;s still stuck, pull out the battery and boot again.<br \/>\nIf it still doesn&#8217;t work, repeat the procedure described in this section <em>Updating to the new firmware<\/em>. <\/p>\n<p>Btw, sorry for the images quality. I&#8217;ll change them with better ones.<\/p>\n<p>That&#8217;s it!<\/p>\n<p><font size=\"3\"><strong>References<\/strong><\/font><\/p>\n<ul>\n<li><a href=\"http:\/\/www.drakaz.com\/\">Drakaz<\/a><\/li>\n<li><a href=\"http:\/\/androidforums.com\/samsung-i7500\/91184-i7500-tutorials-list.html\">Tutorials for the Samsung Galaxy i7500<\/a><\/li>\n<li><a href=\"http:\/\/androidforums.com\/i7500-all-things-root\/72037-easy-guide-update-galaxo-gaosp.html\">Easy guide to update to Galaxo or GAOSP!<\/a><\/li>\n<li>Fastboot info\n<ul>\n<li><a href=\"http:\/\/elinux.org\/Android_Fastboot\">elinux<\/a><\/li>\n<li><a href=\"http:\/\/android-dls.com\/wiki\/index.php?title=Fastboot\">android-dls<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"http:\/\/androidforums.com\/samsung-i7500\/32481-howto-linux-adb-fastboot-mass-storage.html\">Fastboot usage<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Galaxy i7500 was the first android phone built by Samsung. I got this phone some while ago and I wanted to update to a more recent android version (the original firmware ships version 1.6), but unfortunately, Samsung doesn&#8217;t give any support nor updates. Thus, if you want to update the firmware, you can use\u2026 <span class=\"read-more\"><a href=\"https:\/\/paguilar.org\/?p=170\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,4],"tags":[],"class_list":["post-170","post","type-post","status-publish","format-standard","hentry","category-android","category-bootloader"],"_links":{"self":[{"href":"https:\/\/paguilar.org\/index.php?rest_route=\/wp\/v2\/posts\/170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/paguilar.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/paguilar.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/paguilar.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/paguilar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=170"}],"version-history":[{"count":0,"href":"https:\/\/paguilar.org\/index.php?rest_route=\/wp\/v2\/posts\/170\/revisions"}],"wp:attachment":[{"href":"https:\/\/paguilar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/paguilar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/paguilar.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}