{"id":88,"date":"2006-01-01T23:49:07","date_gmt":"2006-01-02T04:49:07","guid":{"rendered":"https:\/\/dillernet.com\/apple\/?p=88"},"modified":"2006-01-01T23:49:07","modified_gmt":"2006-01-02T04:49:07","slug":"recovering-from-a-firmware-flash","status":"publish","type":"post","link":"https:\/\/dillernet.com\/apple\/2006\/01\/01\/recovering-from-a-firmware-flash\/","title":{"rendered":"Recovering from a Firmware Flash"},"content":{"rendered":"<p>So with new firmware images coming from Nokia (which is a good thing) you have to start to deal with picking up the pieces after a flash. The built in control panel &#8216;Backup&#8217; does a questionable job &#8211; while it does seem to work, it also seems to have made my 770 totally wonky, and I&#8217;ve been better off not using it after re-flashing 51.<\/p>\n<p>So what to do?<\/p>\n<p>One solution is again the ever-maturing <a href=\"http:\/\/www.bleb.org\/software\/770\/#sync\">Synchronisation and backup using rsync &#038; make<\/a> by Andrew Flegg at Bleb- be sure and read his solution which is clearly outlined at his site.<\/p>\n<p>Meanwhile, I&#8217;ve put together some very simple scripts which can help bootstrap your 770 right after a firmware flash.<\/p>\n<p>I&#8217;m assuming that you have a MMC card, and you&#8217;ll keep these scripts on the card along with your 3rd party packages- so that they are available right after a flash. <\/p>\n<p>You&#8217;ll have to install xterm using the 770 GUI and then run these scripts just one time. One for user and one for root.<\/p>\n<p>As you can see, I keep the public RSA keys from my main desktop computers also on the MMC card, so that I can ssh right in after running these scripts. These scripts are very simple but hopefully they can save you some time after your next flash.<\/p>\n<p><b>User script:<\/b><\/p>\n<pre>#!\/bin\/sh\necho 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\/var\/lib\/install\/usr\/lib' >> \/home\/user\/.profile\necho 'export PATH=$PATH:\/var\/lib\/install\/usr\/bin:\/var\/lib\/install\/usr\/sbin' >> \/home\/user\/.profile\necho 'set nocompatible' >> \/home\/user\/.vimrc\n\nmkdir \/home\/user\/.ssh\ncat \/media\/mmc1\/keys\/id_rsa_mac >> \/home\/user\/.ssh\/authorized_keys\ncat \/media\/mmc1\/keys\/id_rsa_XP >> \/home\/user\/.ssh\/authorized_keys\nchmod 400 \/home\/user\/.ssh\/authorized_keys \nchmod 700 \/home\/user\/.ssh\n<\/pre>\n<p><b>Root script:<\/b><\/p>\n<pre>#!\/bin\/sh\necho 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\/var\/lib\/install\/usr\/lib' >> \/root\/.profile\necho 'export PATH=$PATH:\/var\/lib\/install\/usr\/bin:\/var\/lib\/install\/usr\/sbin' >> \/root\/.profile\necho 'set nocompatible' >> \/root\/.vimrc\napp-installer-tool install \/media\/mmc1\/Installers\/load-plugin_0.2.4-1_arm.deb\napp-installer-tool install \/media\/mmc1\/Installers\/dropbear-client_0.46-2_arm.deb\napp-installer-tool install \/media\/mmc1\/Installers\/dropbear-key_0.46-2_arm.deb\napp-installer-tool install \/media\/mmc1\/Installers\/dropbear-server_0.46-2_arm.deb\napp-installer-tool install \/media\/mmc1\/Installers\/vim-tiny_5.6.070-1.1_all.deb\napp-installer-tool install \/media\/mmc1\/Installers\/fbreader-maemo_0.7.1b-1_arm.deb\n\nln -s \/var\/lib\/install\/etc\/init.d\/dropbear-server \/etc\/rc2.d\/S20dropbear-server \n<\/pre>\n<p>Note: this does not address backing up any data&#8230; see <a href=\"http:\/\/www.bleb.org\/software\/770\/#sync\">Andrew&#8217;s solution<\/a> for that. At this point I really don&#8217;t keep anything on the 770 that I can&#8217;t reload after a flash from my Macintosh. But if you are keeping data on it, make sure to take some action and back it up before you flash.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So with new firmware images coming from Nokia (which is a good thing) you have to start to deal with picking up the pieces after a flash. The built in control panel &#8216;Backup&#8217; does a questionable job &#8211; while it does seem to work, it also seems to have made my 770 totally wonky, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[10],"tags":[],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-nokia-770"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3PE01-1q","jetpack-related-posts":[{"id":85,"url":"https:\/\/dillernet.com\/apple\/2005\/12\/31\/51-update-for-770-nothing-dramatic\/","url_meta":{"origin":88,"position":0},"title":".51 Update for 770 &#8211; Nothing Dramatic","author":"admin","date":"December 31, 2005","format":false,"excerpt":"The Nokia team has released the .51 (apparently that refers to the week the update was released) update on their European site. You can download it after you type in the MAC address of your 770 which is located on a sticker underneath the battery. Hint: write it down somewhere\u2026","rel":"","context":"In &quot;Nokia 770&quot;","block_context":{"text":"Nokia 770","link":"https:\/\/dillernet.com\/apple\/category\/nokia-770\/"},"img":{"alt_text":"770_nokiadownloadfiles.png","src":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/images\/770_nokiadownloadfiles.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":76,"url":"https:\/\/dillernet.com\/apple\/2005\/12\/13\/bluetooth-pans-and-nokia-770\/","url_meta":{"origin":88,"position":1},"title":"Bluetooth PANs and Nokia 770","author":"admin","date":"December 13, 2005","format":false,"excerpt":"In playing with the Nokia 700, it seems silly that Nokia has limited the device to two connectivity realms - wifi and bluetooth phones. There is another type of bluetooth access- via a PAN, or Personal Area Network. I'm only just starting to see what the 770 can do with\u2026","rel":"","context":"In &quot;Nokia 770&quot;","block_context":{"text":"Nokia 770","link":"https:\/\/dillernet.com\/apple\/category\/nokia-770\/"},"img":{"alt_text":"belkin_f8t030.jpg","src":"\/apple\/wp-content\/images\/belkin_f8t030.jpg","width":350,"height":200},"classes":[]},{"id":96,"url":"https:\/\/dillernet.com\/apple\/2006\/01\/11\/770-previous-post-redux\/","url_meta":{"origin":88,"position":2},"title":"770 Previous Post Redux","author":"admin","date":"January 11, 2006","format":false,"excerpt":"Some important updates on my past 770 posts. Swap If you are using .51 firmware and want to use swap, use 24 megs or less. I had problems using 128, then 64, then 32 megs. Finally Andy Flegg was able to tip me off that there is an issue with\u2026","rel":"","context":"In &quot;Nokia 770&quot;","block_context":{"text":"Nokia 770","link":"https:\/\/dillernet.com\/apple\/category\/nokia-770\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":118,"url":"https:\/\/dillernet.com\/apple\/2006\/05\/11\/google-trends-and-the-770\/","url_meta":{"origin":88,"position":3},"title":"Google Trends and the 770","author":"dillera","date":"May 11, 2006","format":false,"excerpt":"So Google trends is now live\u2013 with it you can compare all sorts of things, like how the UMPC (remember Origami?) could turn out to be just a flash in the pan as the reviews of the first devices (just the Samsung for now) are rolling in\u2013 and almost all\u2026","rel":"","context":"In &quot;Nokia 770&quot;","block_context":{"text":"Nokia 770","link":"https:\/\/dillernet.com\/apple\/category\/nokia-770\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":86,"url":"https:\/\/dillernet.com\/apple\/2005\/12\/31\/cli-package-installer\/","url_meta":{"origin":88,"position":4},"title":"CLI Package Installer","author":"admin","date":"December 31, 2005","format":false,"excerpt":"Reinstalling packages after a firmware update via the GUI is a drag. Luckily, you can do it quickly and easily with with a simple cli tool on your 770. Thanks to Andrew Flegg who tipped me off to this tool. Assuming you have SSH setup and your 770 is in\u2026","rel":"","context":"In &quot;Nokia 770&quot;","block_context":{"text":"Nokia 770","link":"https:\/\/dillernet.com\/apple\/category\/nokia-770\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":163,"url":"https:\/\/dillernet.com\/apple\/2007\/07\/10\/size-of-iphone-vs-nokia-770\/","url_meta":{"origin":88,"position":5},"title":"Size of iPhone vs Nokia 770","author":"dillera","date":"July 10, 2007","format":false,"excerpt":"I took some pictures showing the size difference between the 770 and iPhone. iPhone is really is smaller than you'd first think. Unfortunately, it also has a lower resolution screen than the 770. The zoom feature makes up for that somewhat (see the last picture in this post for an\u2026","rel":"","context":"In &quot;iPhone&quot;","block_context":{"text":"iPhone","link":"https:\/\/dillernet.com\/apple\/category\/iphone\/"},"img":{"alt_text":"Iphone-770 1","src":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2007\/07\/iphone-770-1-tm.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":0,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"wp:attachment":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}