{"id":654,"date":"2010-05-03T22:16:49","date_gmt":"2010-05-04T02:16:49","guid":{"rendered":"https:\/\/lowtek.ca\/roo\/?p=654"},"modified":"2010-12-02T00:27:31","modified_gmt":"2010-12-02T04:27:31","slug":"android-2-1-on-g1","status":"publish","type":"post","link":"https:\/\/lowtek.ca\/roo\/2010\/android-2-1-on-g1\/","title":{"rendered":"Android 2.1 on G1"},"content":{"rendered":"<p><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2010\/05\/Running2.1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-655\" title=\"Running2.1\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2010\/05\/Running2.1.png\" alt=\"\" width=\"320\" height=\"480\" \/><\/a>Thanks to the hard work by the Android hacking community CyanogenMod 5.0.7-test1 is now available for the G1. My phone was already running CyanogenMod (CM 4.2.115.1) thus there wasn&#8217;t any need to root the device, but I did need to upgrade the SPL.<\/p>\n<p>The CyanogenMod wiki has instructions that cover exactly what I wanted to accomplish: <a href=\"http:\/\/wiki.cyanogenmod.com\/index.php\/DangerSPL\">install DangerSPL and upgrade to the experimental CM 5.0.7-DS-test1<\/a>. \u00a0I&#8217;ll walk through the instructions I followed with some notes. \u00a0With any type of firmware modification you&#8217;re clearly going to void any warranty you may have, and it is recommended to read through the whole procedure at least once before starting.<\/p>\n<p>The prerequisites are: Rooted G1 (check) and a compatible radio (mine was 2.22.19.26I). \u00a0You&#8217;ll need to download 3 files: <a href=\"http:\/\/wiki.cyanogenmod.com\/index.php\/DangerSPL#Installation\">DangerSPL, GoogleApps, and the new Firmware<\/a>. \u00a0Connect your phone via USB and place these files on the root of the SD Card.<\/p>\n<p>You also need a recovery image. \u00a0Mine is <a href=\"http:\/\/www.cyanogenmod.com\/downloads\/recovery-image\">CyanogenMod 1.4 + JF<\/a>, but Amon_ra is supposed to work as well. To verify you have a recovery image that is compatible, reboot your phone and hold down the home key &#8211; this will boot the recovery image.<\/p>\n<p>To check that you are NOT already running the DangerSPL, enter fastboot mode. \u00a0Reboot the phone while holding down the camera button. \u00a0You&#8217;ll see something like:<\/p>\n<p><code>DREA100 PVT 32B<br \/>\nHBOOT-0.95.3000<br \/>\nCPLD-4<br \/>\nRADIO-2.22.19.26I<\/code><\/p>\n<p>The DangerSPL will have HBOOT-1.33.2005. \u00a0To exit fastboot mode, press call (green), menu, and power (red).<\/p>\n<p>Allow me to stress &#8211; <a href=\"http:\/\/wiki.cyanogenmod.com\/index.php\/DangerSPL\">these instructions are all on the CyanogenMod wiki<\/a> &#8211; reproduced here only to allow me to comment, all credit goes to the CyanogenMod crew.<\/p>\n<p><strong><em>1)<\/em><\/strong><em> Verify that you meet BOTH the prerequisites (G1\/Dream &amp; Radio)<\/em><\/p>\n<p>If you don&#8217;t know if you&#8217;re phone is rooted, then it probably isn&#8217;t. \u00a0<a href=\"http:\/\/www.google.ca\/search?q=root+android\">Try google for some help<\/a>. To check the radio version look at Menu-&gt;Settings-&gt;About phone-&gt;Baseband version, the radio version is the 2nd part of the version info. \u00a0Or reboot into fastboot mode to check the radio version.<\/p>\n<p><strong><em>2)<\/em><\/strong><em> Copy DangerSpl (spl-signed.zip), CM 5.0.x, and gapps-ds-ERE36B (&amp; Ebi1 port if required) to the root of your sdcard.\u00a0Reboot into Recovery (CM Recovery or Amon_ra Recovery both work)<\/em><\/p>\n<p>The Ebi1 port is for 32a phones. \u00a0Again I&#8217;ll refer to the fastboot screen indicating we&#8217;re are a 32b phone.<\/p>\n<p><em><strong>3)<\/strong> To reboot into Recovery, restart your phone and hold down the &#8216;home&#8217; key before the G1 splash appears.<\/em><\/p>\n<p><em><strong>4)<\/strong> Make a Nandroid Backup (ext not required)<\/em><\/p>\n<p>Steps 3 and 4 are pretty self explanatory.<\/p>\n<p><strong><em>5)<\/em><\/strong><em> Flash DangerSpl (spl-signed.zip). It will install and then ask you to reboot to finish the installation, so reboot. It will then finish installing and reboot into recovery so you can flash your ROM.<\/em><\/p>\n<p>This is the &#8220;scary part&#8221;. \u00a0The <a href=\"http:\/\/wiki.cyanogenmod.com\/index.php\/DangerSPL#What_is_DangerSpl.3F\">DangerSPL<\/a> originated as <a href=\"http:\/\/haykuro.theiphoneproject.org\/?p=210\">Haykuro SPL<\/a>, this modified SPL takes away some of the \/cache and allocates it to \/system and \/data &#8211; effectively allowing for lager ROMs. \u00a0You shouldn&#8217;t have to do this step again, once you have the modified SPL you&#8217;re good to go for ROM changes later.<\/p>\n<p><strong><em>6)<\/em><\/strong><em> Flash CM 5.0.x THEN gapps-ds-ERE36B (&amp; Ebi1 port if required); then reboot (Boot may take longer than normal) <\/em><strong><em>DO NOT reboot between flashing ROMs!<\/em><\/strong><\/p>\n<p>This is the actual installation of the CM 5.0.7-test1 firmware. \u00a0The google apps portion is split off to avoid copyright issues for the CyanogenMod crew (in theory you should really be extracting the google apps from your existing device..)<\/p>\n<p>That&#8217;s basically it. \u00a0I was a bit surprised that all of my settings made it across to the other side.<\/p>\n<p>For anyone upgrading, I&#8217;d suggest you also review the normal <a href=\"http:\/\/wiki.cyanogenmod.com\/index.php\/Upgrading_From_CM_4.2_or_other_rooted_ROMS_to_5.0.x(Dream\/Sapphire)\">upgrade link<\/a>. \u00a0If you read that page you will find the comforting note:<\/p>\n<blockquote><p>Note: G1 users need to have DangerSPL, the <a href=\"http:\/\/wiki.cyanogenmod.com\/index.php\/DangerSPL\">instructions there<\/a> will leave you with CM 5.0.x installed, no need to follow these instructions after (unless you nandroid restore).<\/p><\/blockquote>\n<p>You may also want to review the troubleshooting section of that same page.<\/p>\n<p>I happened to have the Dalvik Debug Monitor (ddms) running to capture some screenshots. \u00a0It turned out to be quite useful as the 1st boot cycle is very long.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Issues so far<\/span><\/strong><\/p>\n<p>I had a fair number of apps installed, and once I had the DangerSPL and the new firmware installed, I immediately starting getting low on space warnings.<a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2010\/05\/low_on_space.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-656\" title=\"low_on_space\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2010\/05\/low_on_space.png\" alt=\"\" width=\"192\" height=\"288\" \/><\/a> With only 6MB free, I was having trouble starting some applications (GTalk).<\/p>\n<p>The solution was to enable apps2sd. \u00a0The easiest way for me to do this was to unmount the SD card and use my Ubuntu desktop to <a href=\"http:\/\/wiki.cyanogenmod.com\/index.php\/Apps2SD#via_Gparted\">repartition it with GParted<\/a>. \u00a0Since GParted allows for partition resizing, it was trivial to add a new ext4 partition on the end of the card.<\/p>\n<p>Now you&#8217;re not done yet. \u00a0Once you put the card back and rebooted, you want to modify the setting that tells the system where to put newly downloaded apps (on the SD card). \u00a0Menu-&gt;Settings-&gt;Applications-&gt;Apps2SD. Now for each installed application we need to toggle it to the SD card as well if we want to clear out some of the internal memory. \u00a0First head to: Menu-&gt;Settings-&gt;Applications-&gt;Manage applications, then select each application and use the Move button to change it&#8217;s storage location.<\/p>\n<p>There are some rough edges. \u00a0Some of the stock apps (Gallery) I had linked on my home screen. \u00a0The gallery didn&#8217;t work, until I erased the short-cut and dragged a new copy out. Wow &#8211; the gallery is one of the most improved areas I&#8217;ve noticed so far.<\/p>\n<p>You do need to fix your Sync settings. \u00a0Go to: Menu-&gt;Settings-&gt;Accounts &amp; sync settings, click on your account and adjust the sync settings. \u00a0Most of them seemed to be disabled by default.<\/p>\n<p>Initially I thought: wow &#8211; this is way faster. \u00a0After a while I either got used to the improved performance, or it isn&#8217;t really that much faster. \u00a0The 2.1 features are very nice to have. \u00a0I&#8217;ve also moved from Twidroid to the official Twitter client which is only available on 2.1.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Bugs:<\/span><\/strong><\/p>\n<p><a href=\"http:\/\/code.google.com\/p\/cyanogenmod\/issues\/detail?id=717&amp;q=version%3D5.0.7-t1&amp;colspec=ID%20Type%20Status%20Priority%20Version%20Model%20Owner%20Summary%20Stars%20Modified\">Text messaging is sort of busted.<\/a><br \/>\n<a href=\"http:\/\/code.google.com\/p\/cyanogenmod\/issues\/detail?id=1299&amp;q=version%3D5.0.7-t1&amp;colspec=ID%20Type%20Status%20Priority%20Version%20Model%20Owner%20Summary%20Stars%20Modified\">Poor battery life<\/a> (<a href=\"http:\/\/forum.cyanogenmod.com\/index.php?\/topic\/2901-battery-life-fix\/\">workaround<\/a> and also <a href=\"http:\/\/twitter.com\/cyanogen\/status\/13339283648\">fixed in test2<\/a>)<\/p>\n<p>There are other issues too, but it is pretty remarkable how usable this is for an experimental version.\u00a0 For more details go <a href=\"http:\/\/forum.cyanogenmod.com\/index.php?\/forum\/10-htc-dream-htc-magic\/\">visit the forum<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to the hard work by the Android hacking community CyanogenMod 5.0.7-test1 is now available for the G1. My phone was already running CyanogenMod (CM 4.2.115.1) thus there wasn&#8217;t any need to root the device, but I did need to upgrade the SPL. The CyanogenMod wiki has instructions that cover exactly what I wanted to &hellip; <a href=\"https:\/\/lowtek.ca\/roo\/2010\/android-2-1-on-g1\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Android 2.1 on G1&#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],"tags":[],"class_list":["post-654","post","type-post","status-publish","format-standard","hentry","category-android","category-gadgets"],"_links":{"self":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/654","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=654"}],"version-history":[{"count":5,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/654\/revisions"}],"predecessor-version":[{"id":725,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/654\/revisions\/725"}],"wp:attachment":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/media?parent=654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/categories?post=654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/tags?post=654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}