{"id":1039,"date":"2012-01-05T00:12:02","date_gmt":"2012-01-05T04:12:02","guid":{"rendered":"https:\/\/lowtek.ca\/roo\/?p=1039"},"modified":"2012-01-05T11:40:22","modified_gmt":"2012-01-05T15:40:22","slug":"samsung-galaxy-s-ics-c-9-alpha","status":"publish","type":"post","link":"https:\/\/lowtek.ca\/roo\/2012\/samsung-galaxy-s-ics-c-9-alpha\/","title":{"rendered":"i9000 ICS &#8211; CyanogenMod 9 Alpha"},"content":{"rendered":"<p><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2012\/01\/ics_cm9_alpha.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1040\" title=\"ics_cm9_alpha\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2012\/01\/ics_cm9_alpha.png\" alt=\"\" width=\"500\" height=\"417\" \/><\/a><\/p>\n<p>One of the things that I look for in a phone is community support. For me there are two main reasons this is important: 1) It&#8217;s nice to have a large group of people you can ask questions of, or an active forum you can search for answers on 2) When later versions of <a href=\"http:\/\/en.wikipedia.org\/wiki\/Android_(operating_system)\">Android<\/a> are released, that community will hopefully build a version for your phone.<\/p>\n<p>If you&#8217;ve been watching the tech news, there have been rumors that Samsung will support <a href=\"http:\/\/en.wikipedia.org\/wiki\/Android_version_history#4.x_Ice_Cream_Sandwich\">Ice Cream Sandwich (ICS)<\/a> on the <a href=\"http:\/\/en.wikipedia.org\/wiki\/I9000\">Samsung Galaxy S (SGS)<\/a> and claims that it won&#8217;t. The <a href=\"http:\/\/www.xda-developers.com\/android\/samsung-confirms-no-value-pack-no-ice-cream-sandwich-for-galaxy-s-and-tab\/\">latest news<\/a> appears to be that they will not upgrade the device, a bit sad as it was only released 18 months ago. So not even kept current through the length of most cell company contracts. This is one area where the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Iphone\">iPhone<\/a> has done right for the consumer.<\/p>\n<p>If you&#8217;re interested in getting ICS for your i9000 (or in my case the i9000m) skip over to the <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=1363593\">XDA Forum and read through the huge thread<\/a>. The team behind it are the same folk who helped bring <a href=\"http:\/\/www.cyanogenmod.com\/\">CyanogenMod<\/a> to the SGS originally and are now working on <a href=\"http:\/\/en.wikipedia.org\/wiki\/CyanogenMod#CyanogenMod_9\">CM9<\/a>. This is an alpha, there will be rough edges and I don&#8217;t suggest people leap in unless they are very brave.<\/p>\n<p>I originally tried Build 11 and that didn&#8217;t work well enough for me to switch from the <a href=\"http:\/\/forum.cyanogenmod.com\/forum\/84-samsung-galaxy-s-i9000-stable-mod\/\">7.1 stable<\/a> I was on but it was close. Build 12 appears to be quite good, with a few changes I needed to make for my usage, specifically adding <a href=\"http:\/\/en.wikipedia.org\/wiki\/Dropbear_(software)\">dropbear<\/a> (<a href=\"http:\/\/en.wikipedia.org\/wiki\/Secure_Shell\">SSHD<\/a>) and <a href=\"http:\/\/en.wikipedia.org\/wiki\/Rsync\">rsync<\/a> so I can do nightly backups (which I&#8217;ll talk about at the end of this post).<\/p>\n<p>The forum thread has these instructions for people coming from <a href=\"http:\/\/en.wikipedia.org\/wiki\/Cyanogenmod#CyanogenMod_7\">CM7<\/a><\/p>\n<blockquote><p><span style=\"color: #4169e1;\"><strong>\u00a0Upgrading from CM7?<\/strong><\/span><\/p>\n<ol>\n<li>Do a Nandroid Backup!<\/li>\n<li>WIPE (wipe data\/factory reset + wipe cache partition)<\/li>\n<li>Install the ROM from internal sdcard using ClockworkMod (CWM) Recovery<\/li>\n<li>Optionally install the Google Addon<\/li>\n<\/ol>\n<\/blockquote>\n<p>I would recommend that you consider getting CM7 first, it&#8217;s a good base to work from and there will be better how to and help to get it working. Experience there will translate over to working with the <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=1363593\">ICS Alpha<\/a>.<\/p>\n<p>Here are my steps I used when moving to ICS .<\/p>\n<ul>\n<li>Do some backups of your application data<br \/>\nBackup SMS using <a href=\"https:\/\/market.android.com\/details?id=com.zegoggles.smssync&amp;hl=en\">SMS Backup+<\/a><br \/>\nBackup <a href=\"https:\/\/market.android.com\/details?id=com.levelup.touiteur\">Plume<\/a> settings (and any other apps that support backup)<\/li>\n<li>Take some screenshots of your home screens, nice reference to what you have.\u00a0Also consider grabbing a list of the apps you have installed<\/li>\n<li>Reboot into recovery &#8211; perform a backup in <a href=\"http:\/\/forum.xda-developers.com\/wiki\/ClockworkMod_Recovery\">CWM<\/a><br \/>\n&#8220;backup and restore -&gt; Backup&#8221;<\/li>\n<li>Mount USB mode in CWM<br \/>\n&#8221; mounts and storage -&gt; mount USB storage&#8221;<\/li>\n<li>Copy backup to PC (just in case something really bad happens)<\/li>\n<li>Copy new ICS Alpha files to phone<br \/>\nteamhacksung_galaxysmtd-ota-eng.BUILD12.zip<br \/>\ngappsv7.1.zip<\/li>\n<li>Now wipe from CWM<br \/>\n&#8220;wipe data\/factory reset&#8221;<br \/>\n&#8220;wipe cache partition&#8221;<\/li>\n<li>Install the two .zip files we copied above, build12 first.<br \/>\nAt this point my heart always stops, as during the install of the firmware, the phone will reboot suddenly. Do. Not. Panic.<br \/>\nIt will automatically boot into ICS after the install. Now optionally reboot into recovery to install gapps.<\/li>\n<\/ul>\n<p>There is a list of known issues in the <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=1363593\">main thread<\/a>, you can post bug reports there but please search the thread so you don&#8217;t ask something obvious. There is <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=1387937\">another thread for discussion<\/a> (ie: anything that is not a bug report).<\/p>\n<p>Each time I&#8217;ve done this type of upgrade I seem to get burned by the <a href=\"https:\/\/market.android.com\/?hl=en\">Android Market<\/a> treating the new ROM as if it were a new device, thus it doesn&#8217;t restore any of my apps. Good thing I had taken a backup of the list above. Having done this a few times, using a desktop web browser to the Market and installing from there to my phone is much faster.<\/p>\n<p>My experience so far<\/p>\n<p><strong>The good stuff<\/strong>:<\/p>\n<ul>\n<li>ICS is very, very pretty<\/li>\n<li>Recent applications with preview is cool<\/li>\n<li>Quick access to camera on lock screen is nice<\/li>\n<li>Web browser handling of multiple windows more like iOS Safari<\/li>\n<li>Calendar is a big improvement, phone interface much nicer too<\/li>\n<li>It has USB mode instead of <a href=\"http:\/\/en.wikipedia.org\/wiki\/Media_Transfer_Protocol\">MTP<\/a><\/li>\n<\/ul>\n<p><strong>Why it&#8217;s still an alpha<\/strong><\/p>\n<ul>\n<li>I was unlucky and had a sync problem with the calendar<br \/>\nThis is a <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=1363593\">known problem<\/a> with a solution &#8211; flash the gapps_fixer.zip<\/li>\n<li>Every once in a while the lock screen has no touch response, lock\/unlock again with power button fixes<\/li>\n<li>I had mapped long press menu to search, that CM feature isn&#8217;t supported (yet?)<\/li>\n<li>I miss &#8220;quiet times&#8221; from CM &#8211; using <a href=\"https:\/\/market.android.com\/details?id=com.roozen.SoundManagerv2\">Sound Manager v2<\/a> to get same function<\/li>\n<li>Power-off sound comes a while after screen is dark &#8211; I disabled the sound to resolve<\/li>\n<\/ul>\n<p>So far no major issues. Only 1 of the ~50 apps I use indicated it wasn&#8217;t compatible &#8211; and I&#8217;m sure that&#8217;s just how they&#8217;ve tagged it in the market. The battery life appears to be about the same as CM 7.1.<\/p>\n<p>One observation was my modem didn&#8217;t change from KG3 <a href=\"https:\/\/lowtek.ca\/roo\/2011\/samsung-galaxy-s-i9000m-cm-7-1\/\">unlike my experience flashing CM7<\/a> where the modem did change, it seems my understanding of how the modem is updated (or not) is flawed.<\/p>\n<p>I also briefly tried out a pure <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=1398223\">AOSP from Onecosmic<\/a> and while it seems a bit more mature than the <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=1363593\">CM9 Alpha<\/a>, it didn&#8217;t fit what I wanted (personal taste).<\/p>\n<p><strong>Getting SSHD and rsync working<\/strong><\/p>\n<p>I had previously written about <a href=\"https:\/\/lowtek.ca\/roo\/2011\/cyanogenmod-7-and-sshd\/\">getting SSHD working on CM7.1<\/a> and that I used <a href=\"http:\/\/rsnapshot.org\/\">rsnapshot<\/a> to do incremental nightly backups of my phone. This has saved me at least once when my phone got very sick and needed to be wipe and freshly installed, having a day old backup was nice. Also when going from version to version I&#8217;m able to grab configuration details like the dropbear configuration &#8211; this allows me to reuse the same keyed ssh login without having to repeat the entire setup.<\/p>\n<p>The ICS Alpha was missing dropbear. It turns out that the version from CM7.1 can be used &#8211; I specifically picked the ones from nightly build 181.<\/p>\n<p>First you need to remount the \/system filesystem to be read-write.<\/p>\n<p><code>mount -o remount,rw \/dev\/block\/mtdblock2 \/system<\/code><\/p>\n<p>Grab <code>dropbear<\/code>, <code>dropbearkey<\/code> and <code>rsync<\/code> and put them in <code>\/system\/xbin<\/code>. Make sure to use <code>chmod 755<\/code> on them to make them executable. Probably a good idea to reboot after this.<\/p>\n<p>As I&#8217;m going to re-use my configuration files from my backup, I don&#8217;t need to use the setup steps from my <a href=\"https:\/\/lowtek.ca\/roo\/2011\/cyanogenmod-7-and-sshd\/\">blog post<\/a> &#8211; I just use the abbreviated version below, but if you&#8217;re doing this clean follow the original write up.<\/p>\n<p><code># mkdir \/data\/dropbear<br \/>\n# mkdir \/data\/dropbear\/.ssh<\/code><\/p>\n<p>Copy the following files from backup to the phone<\/p>\n<p><code>\/data\/dropbear\/.ssh<br \/>\n\/data\/dropbear\/.ssh\/authorized_keys<br \/>\n\/data\/dropbear\/dropbear_rsa_host_key<br \/>\n\/data\/dropbear\/dropbear_dss_host_key<\/code><\/p>\n<p>Then just fix the permissions<\/p>\n<p><code># chmod 755 \/data\/dropbear \/data\/dropbear\/.ssh<br \/>\n# chmod 644 \/data\/dropbear\/dropbear*host_key<br \/>\n# chmod 600 \/data\/dropbear\/.ssh\/authorized_keys<\/code><\/p>\n<p>The ICS Alpha is also missing the ability to set the hostname, you can hack around it by using the following command.<\/p>\n<p><code># setprop net.hostname yourhostname<\/code><\/p>\n<p>And of course, we need to launch dropbear<\/p>\n<p><code># dropbear -s -g<\/code><\/p>\n<p>I still need to figure out how to get these into a script that will run on reboot, for now I&#8217;m just doing the last two command manually after every reboot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the things that I look for in a phone is community support. For me there are two main reasons this is important: 1) It&#8217;s nice to have a large group of people you can ask questions of, or an active forum you can search for answers on 2) When later versions of Android &hellip; <a href=\"https:\/\/lowtek.ca\/roo\/2012\/samsung-galaxy-s-ics-c-9-alpha\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;i9000 ICS &#8211; CyanogenMod 9 Alpha&#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],"tags":[],"class_list":["post-1039","post","type-post","status-publish","format-standard","hentry","category-android"],"_links":{"self":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/1039","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=1039"}],"version-history":[{"count":7,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/1039\/revisions"}],"predecessor-version":[{"id":1048,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/1039\/revisions\/1048"}],"wp:attachment":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/media?parent=1039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/categories?post=1039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/tags?post=1039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}