The Syncing Apple An Exploration of Technology and Devices

11May/06Off

Google Trends and the 770

So Google trends is now live– 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– and almost all of them are dismal.

Gtrends-700vsUMPC

 

This screen grab shows the searches for Nokia 770 vs the UMPC. Can you say flash in the pan?

This also shows that the 770 was getting some good press during the end of the year. I hope that the Internet Tablet 2006 OS will generate some more buzz and get the 770 back out and into people’s hands where it belongs. I hope this device won’t become the next Agenda.

 

Filed under: Nokia 770 Comments Off
30Mar/06Off

My.Opera.Com – free portal for your 770

opera_icon.jpeg

Want a really excellent web experience with your 770? Want 300 free megs to host your blog, pictures, email and probably more? Check out http://my.opera.com. You can sign up for a free account and get all that stuff- plus it looks perfect and feels responsive using the Opera Mobile Browser on the 770. It should of course, seeing how its Opera that's coding it.

Check out my page: nokia dreaming. Not too shabby eh?

If you join, link to me as a friend-- I'm dillera.

27Mar/06Off

New Browser in next release of Internet Tablet Software?

safari_icon.jpg

I have no evidence for this, other than my own investigations, but could Nokia be planning to replace the Opera Mobile browser that is currently included in the Internet Tablet Software (i.e. the 770's Linux OS) with their in-house S60 browser (here is the official Nokia page), which is based on Apple's own WebCore (Apple's Official Page). Apple in turn developed WebCore from KDE's open-sourced KHTML engine. Anyone that has used a Macintosh knows that Safari, the Apple WebCore based browser, is very fast and 'light-weight' when compared to something like Firefox. I can only imagine that the S60 browser would do very well in the cramped RAM of the 770. While the Opera browser is pretty at first glance, when you use it over time you realize that it's slow and takes up a lot of your precious RAM, and Nokia needs something faster for 770.

Also, it's been quiet lately from Nokia- I hope they have a new Internet Tablet 2006 version ready to release to us soon.

Filed under: Nokia 770 1 Comment
6Mar/06Off

Don’t tell me this isn’t aimed at the 770

Leaked picture of the Origami Device?

Look at those buttons- they even have the same zoom button as the 770 (but the zoom is lower left instead of upper right). You can't tell me that a device like this isn't isn't going to stomp all over the nascent Internet Tablet space... No word if this is just a mock-up or if it's a real device, but the Origami Portal website is tracking this space.

Of course, if Origami is really running XP Tablet, then there is still room for Nokia to wiggle in and get some traction- if they can come out with a device that is snappy. Please put some serious RAM and CPU in the 880- or else it will never stack up with an Origami.

Update: Nice rundown of the Origami Project, plus a shout-out to other Internet devices, including the 770-- over at Windows For Devices

Filed under: Nokia 770 Comments Off
2Mar/06Off

770 Review – Computerworld

Computerworld gave a positive review of the Nokia 770.

"Nokia's 770 Internet Tablet: Smart and Sleek
The stylish wireless device is aimed at the home market but has enterprise potential"

Filed under: Nokia 770 Comments Off
27Feb/06Off

The Nokia 880?

Word out there is that Nokia already has the next device in their Internet Tablet Platform.

Lets take a guess at its next CPU.

For all the talk about what the 770 can do, given better software, and or RAM, the CPU was designed for a mobile phone, not a Internet Tablet. The CPU inside the 770 is the TI OMAP1710. It's an impressive CPU, I suppose. But TI just released a whole new family in the OMAP line- the OMAP3 Family. The first CPU in that family is the OMAP3430, and if you look at it's specs, it kicks ass.

Here is the 1710:

Omap1710

And here is the 3430:

Omap 3430

Check out those features. Please Nokia, I pray that you'll have the OMAP3430 in the 880. I'll even shell out another $349 to buy it if it does.

Filed under: Nokia 770, Tech 1 Comment
27Feb/06Off

Nokia 770 – Tracking Posts via Technorati

Posts that contain Nokia 770 per day for the last 30 days.
Technorati Chart

Get your own chart!

Filed under: Nokia 770 Comments Off
27Feb/06Off

Einstein on 770 mini-update

3798newton_logo-thumb.gif

For those of you interested in the Einstein Project (emulation of an Apple Message Pad 2000 on your Nokia 770), I have some news. Good and bad of course.

The Good news: Paul has his own 770, which was donated to him. This will certainly help the eventual development of Einstein on the Nokia platform.

The Bad news: Paul is very busy working on his dissertation, so work on Einstein is paused.

Below is his reply to me (posted with permission):

Hello Andrew,
There is no progress regarding Einstein so far. I am currently very busy with writing my dissertation.
I know it's currently too slow to be usable.
Regards,
Paul

--Ministre ultraplénipotentiaire en disponibilité. Mobile. Sans baignoire fixe.

http://www.kallisys.com/

http://www-poleia.lip6.fr/~guyot/

27Feb/06Off

Sony eReader – or the Nokia 770?

ebook-sony.jpg

Sony has released their eReader today-- the PRS-500 is available in the US for $349. Guess what else you can get today for $349? The 770 and PRS-500 share nearly the same screen specs (800x600 for the PRS-500 and 800x480 for the 770) however the PRS-500's screen is non-color. Beyond that, they are very different machines. However, there is no reason that the 770 couldn't be doing what the PRS-500 can do... read current eBooks with a fabulous display.

One of the biggest advantages is that the Sony is launching with thousands of real books available to purchase and read. It helps being Sony. Over on the 770 I'm stuck with the freebie books, most of which are not very well formatted to begin with and Plucked webpages. Which is better than nothing for many people, myself included, but why not create a new revenue stream for Nokia? I.e. Nokia could (with a lot of planning admittedly) start (re)selling eBooks for the 770- and even for other Linux GTK devices. Once they have a reader in place.

Roger Sperberg had this to say about the PRS-500 back in Dec 2005. He predicts it will bomb. While I don't dispute that, I hope it sells well enough to convince someone that the 770 could do with a real ebook reader- one that will work with current, commercial books. Here is Robert's Open Letter to Dr. Ari Jaaksi regarding eBooks.

Of course the Sony is locked down with DRM, and it doesn't do much else but allow you to read PDFs.... but they are going to push into an area that the 770 should be all over: eBooks. What is needed is a reader that supports DRM, say MobiPocket, who makes readers for PocketPC and Palm. Al at 770 Fan contacted Mobipocket back in at the start of February, and discovered that MobiPocket is waiting for java on the 770... which is a joke, with memory being what it is now. Nokia should contact MobiPocket and help them get a native GTK PocketRead app for the 770.

Update: This is an interesting spec for ebooks, and a reader supporting them: however it also requires java. The Open Reader is a set of XML specs for eBooks- the first reader built using the OR Spec is Thout from OSoft. OSoft has a list of books they publish for reading with Thout. I think Nokia should take a look at OpenReader perhaps...

Filed under: Nokia 770, Tech Comments Off
27Feb/06Off

Origami and the Nokia 770

Nokia better get their butt in gear for the 2nd generation Internet Tablet- the hype (more analysis) over the Microsoft Origami project is growing, and while it is very much vaporware at this point, a lot could happen this year. This device is aimed squarely at the niche that Nokia has identified. More than a music and video player, less that the Tablet PC. There is no telling how close this is or isn't to a real device, but one wonders what MS could produce, having all the mistakes of Windows CE under their belt, combined with the experience of 2 generations of the Xbox (a consumer device).

You can hope for the worst (like Windows CE/Mobile, which seems to get worse every version), but with the current 770 interface and applications being so achingly slow ( I don't believe the device is that underpowered), MS could let loose something in this size factor with the power of a near desktop.

At the very least, please make my 770 faster, so I'll use it more.

Update: I'm not the only one seeing this intersect with the 770. This piece on Red Herring mentions the 770- but incredibly they talk about it being released only in Europe! Nokia needs to spread the word better....

From the Red Herring:

“Nokia’s device has no cellular connectivity,” he said. “It’s a Wi-Fi device, and they have been taken off guard by its success. It was a sleeper, so I think Microsoft has seen that and is trying to get its share of that market. The Nokia device runs Linux, so that has made Microsoft move even faster to market Origami.”

Filed under: Nokia 770 Comments Off
22Feb/06Off

Scanner Darkly Trailer for Nokia 770

The new trailer for A Scanner Darkly is out, and there is a feature in the current (March) Wired Magazine about the issues that Linklater has had with the technology to rotoscope this entire movie.

Seeing as how the trailer is very cool, and not too big, I decided to encode it for the 770-- which I did using the wonderful encoder from the wiki page.

Here is the resulting 7.2 meg file, which plays and sounds great on my 770.

Filed under: Nokia 770 1 Comment
21Jan/06Off

Booting Einstein on the 770

After a fews days of experimentation, I have a workable recipe for using Einstein with the 770. There is work that remains to be done to Einstein, but it does run, just slowly and it is buggy. This is not ready to be a production Newton yet.

First there are some things I'm assuming you have already done:

First, move the einstein package and the ROM over to your 770. You need to run it from the built-in memory, unless you have your flash card partitioned and mounted as a ext2- if so, it will run fine from there.

You don't have to have any swap enabled, it runs the same with or without it.

You will be ssh'ing into the 770 then running the script below which kills OSS/Maemo/Hildon to free up ram, then finally run Einstein.

The script was provided by Simon Budig (Nomis on #Maemo) who was kind enough to share it with me. I was first killing processes by hand, using the kill command- but in order to do this you must enable the --set-rd-flags=no-lifeguard-reset with the flasher to avoid having the 770 reboot as you kill 'critical' processes. Using the script below, and stopping them via the init scripts is the proper way to do this.

Once Einstein is running you type 'power' to power it on. It should take about three minutes to start up the first time. After awhile it gets flakey and may disappear from the screen- use the power command once to power it back on.

Note: Run einstein as root!

Nomis' Script- for USB networking
(this will kill any wifi session- see my modification below if you are using ssh over wifi)

#!/bin/sh

export PATH="$PATH:/sbin:/usr/sbin"
/etc/init.d/ttyusb0 stop
/etc/init.d/lessertunjo0 stop
/etc/init.d/osso-ias stop
/etc/init.d/af-base-apps stop
/etc/init.d/btname stop
/etc/init.d/af-startup stop
/etc/init.d/maemo-launcher stop
/etc/init.d/osso-ic stop
/etc/init.d/wlancond stop
/etc/init.d/btcond stop
/etc/init.d/osso-systemui stop
/etc/init.d/esd stop
/etc/init.d/osso-hss stop
/etc/init.d/bme-dbus-proxy stop
/etc/init.d/bluez-utils stop
/etc/init.d/dsp-init stop
/etc/init.d/kdbusd stop
/etc/init.d/btpin stop
/etc/init.d/af-services stop
/etc/init.d/x-server.sh stop
/etc/init.d/mce stop
/etc/init.d/dbus-1 stop
/etc/init.d/dnsmasq stop
/etc/init.d/ppp stop

/etc/init.d/x-server.sh start

export DISPLAY=":0.0"
/einstein --machine=737041 .

My slightly modified script for SSH via wifi:

#!/bin/sh

export PATH="$PATH:/sbin:/usr/sbin"
/etc/init.d/ttyusb0 stop
/etc/init.d/lessertunjo0 stop
/etc/init.d/osso-ias stop
/etc/init.d/af-base-apps stop
/etc/init.d/btname stop
/etc/init.d/af-startup stop
/etc/init.d/maemo-launcher stop
#/etc/init.d/osso-ic stop
#/etc/init.d/wlancond stop
/etc/init.d/btcond stop
/etc/init.d/osso-systemui stop
/etc/init.d/esd stop
/etc/init.d/osso-hss stop
/etc/init.d/bme-dbus-proxy stop
/etc/init.d/bluez-utils stop
/etc/init.d/dsp-init stop
/etc/init.d/kdbusd stop
/etc/init.d/btpin stop
/etc/init.d/af-services stop
/etc/init.d/x-server.sh stop
/etc/init.d/mce stop
/etc/init.d/dbus-1 stop
/etc/init.d/dnsmasq stop
/etc/init.d/ppp stop

/etc/init.d/x-server.sh start

export DISPLAY=":0.0"
echo 'done'

I like to start mine by hand. So after the script is run i type:

Nokia770-51:/home/user/newton# ./einstein --machine=737041 .
Welcome to Einstein console.
This is Einstein Platform Preview 1.
This program will expire on July, 14, 2006.
Checksum-0: 4AFD2193
Checksum-1: 18710BD6
Checksum-2: 68481A07
Checksum-3: BBB55D42
Checksum-4: 25B60EB7
Checksum-5: 41061AF3
Checksum-6: FFFFFFFF
Checksum-7: FFFFFFFF
Checksum-8: FFFFFFFF
Checksum-9: FFFFFFFF
Booting...
Type help for help on available commands.
einstein> power

and after a few minutes you should see the Newton booting on the screen.

18Jan/06Off

A new Era Dawns

NewtOS/Einstein works on the 770!

This is developing, but it works at this point, once you disable the kernel-watchdog and kill Matchbox to free up enough RAM for Einstein to launch. I'll post a more detailed receipe of what I did later today, when I get some free time.

Screenshots:

Photos of Newton Booting on Nokia 770


Paul has put up the
Einstein Platform 2006 ( for Nokia 770) on his site.

Don't forget that you'll need a Newton ROM to make this work. Paul has a Newton Emulator for the Mac (on that same page) that has a special application that will dump a Newton ROM over the network to your Macintosh. Using a MP2100 ROM is the best idea.

17Jan/06Off

Will the 770 be the next Newton?

This past week, at the 2006 World Wide Newton Conference mastermind Paul Guyot introduced to the world the next step in his Newton emulation environment, Einstein + Relativity. Paul has had the Newton running (emulated) on the Mac for a couple of years. Now he has built it for ARM based Linux devices. Mmmmm.... I wonder what else is a cool ARM-based Linux device?

While Einstein doesn't work now on the 770, myself and a few others have been emailing Paul and he has been incredibly responsive to us. He has built a few test binaries and he thinks he has a proper toolchain setup to target the 770. The first showstopper with his Zaurus build was that his Zaurus has libstdc++6, while the 770 has libstdc++5.

Hopefully he will whip up something interesting in the next day or so… stay tuned. I’ll update by blog as soon as there is anything Newtish that will run on the 770.

This will be incredible when it works.

Filed under: Nokia 770, Tech Comments Off
11Jan/06Off

770 Previous Post Redux

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 using anything over 32 megs. I re-partitioned my MMC card down to a 24 meg swap partition and it's been working very well. I really recommend you add some swap to help the memory on the 770. I ran a bunch of apps, games and opened four browser windows the 770 was super responsive.

Firmware bootstrap scripts

  • I posted some simple scripts for user and root to quickly install some basic packages and setup the environments for the default user and the root user. The installer commands should be run as the user 'install' and not as root. I've posted the updated script below. If you install them as root, you'll have to uninstall them as root- you can't use the GUI (which runs as user and uses a sudo for the install user to add and remove packages with the proper permissions).
  • This script will setup sshd to be launched at each boot, and it will be run as root, which is normal for most unix boxes-- but just beware that sshd will always be running.
  • This version also incorporates Andy Flegg's suggestion to make it one script and let it figure out who is running it. So you run it twice- once as user to setup user and again as root to setup things for root.
  • Recall that you have to have R&D mode enabled via the flasher utility to become root.
  • ----------------CUT_HERE---------------------------------------------------------------------
    #!/bin/sh
    if [ `id -u` == “0″ ]; then
    echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/var/lib/install/usr/lib' >> /root/.profile
    echo 'export PATH=$PATH:/var/lib/install/usr/bin:/var/lib/install/usr/sbin' >> /root/.profile
    echo 'export EDITOR=/var/lib/install/usr/bin/vim' >> /root/.profile
    echo 'set nocompatible' >> /root/.vimrc
    sudo -u install app-installer-tool install /media/mmc1/Installers/load-plugin_0.2.4-1_arm.deb
    sudo -u install app-installer-tool install /media/mmc1/Installers/dropbear-client_0.46-2_arm.deb
    sudo -u install app-installer-tool install /media/mmc1/Installers/dropbear-key_0.46-2_arm.deb
    sudo -u install app-installer-tool install /media/mmc1/Installers/dropbear-server_0.46-2_arm.deb
    sudo -u install app-installer-tool install /media/mmc1/Installers/vim-tiny_5.6.070-1.1_all.deb
    sudo -u install app-installer-tool install /media/mmc1/Installers/fbreader-maemo_0.7.1b-1_arm.deb
    ln -s /var/lib/install/etc/init.d/dropbear-server /etc/rc2.d/S20dropbear-server
    fi
    
    if [ `id -u` == “29999″ ]; then
    echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/var/lib/install/usr/lib' >> /home/user/.profile
    echo 'export PATH=$PATH:/var/lib/install/usr/bin:/var/lib/install/usr/sbin' >> /home/user/.profile
    echo 'export EDITOR=/var/lib/install/usr/bin/vim' >>  /home/user/.profile
    echo 'set nocompatible' >> /home/user/.vimrc
    
    mkdir /home/user/.ssh
    cat /media/mmc1/keys/id_rsa_mac >> /home/user/.ssh/authorized_keys
    cat /media/mmc1/keys/id_rsa_XP >> /home/user/.ssh/authorized_keys
    chmod 400 /home/user/.ssh/authorized_keys
    chmod 700 /home/user/.ssh
    fi
    ----------------CUT_HERE---------------------------------------------------------------------
    

Bookmarks

  • You can export to HTML and import right into the bookmark manager!
  • After all the time and energy that I spend exporting bookmarks from Firefox in XBEL format and modifying them for the OSSO Bookmark application, you can import right from inside the Bookmarks app itself. That's a lot easier. Look under the Tools menu in the Bookmarks Application - not in the Browser.
  • Below is an example of some output from the 770's export bookmarks function.

  • <!DOCTYPE NETSCAPE-Bookmark-file-1>
    <!-- This file was automatically generated by Sputnik
    It will be read and overwritten.
    Do Not Edit! -->
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
    <TITLE>Bookmarks</TITLE>
    <H1>Bookmarks</H1>

    <DL><p>
    <DT><A HREF="http://www.accuweather.com" ADD_DATE="1118841481" LAST_VISIT="1137019750">AccuWeather.com</A>
    </DL><p>

  • Export your bookmarks from Firefox and then scp the resulting html file over to the 770. Put it into the MyDocs folder or your MMC card. Then use the Tools/Import to open the file.
  • To scp from Mac to 770:
    dillera$ scp bookmarks.html user@192.168.251.53:MyDocs
    
  • It might be wise to pare down your bookmarks if you have a lot. I imported about 1000 of mine, and it does take the Bookmarks application a little bit of time to parse them.

Wow. I can't believe I have swap and the Apple BT keyboard working. There isn't much else I really want for my 770 at this point. I guess its time to just enjoy using it.

Filed under: Nokia 770 Comments Off
11Jan/06Off

Apple BT Keyboard

I don't quite know how to explain what I did (if anything- just investigating), but I have the Apple Bluetooth Keyboard working on my 770 (with the .51 firmware)- and it was insanely simple.

I've been looking over the Linux - Bluez How-Tos for a few days, and trying this and that (including compiling the older tool bthid, which was my first real use of scratchbox ARM.) Nothing was working. Of course the btkeyboard plugin also didn't work.

I could see the Apple keyboard (see output below) but it wouldn't connect. What worked was so simple- I just looked at what the btkeyboard plugin was running- a command called hidd.

Nokia770-51:/home/user# hcitool scan
Scanning ...
        00:0A:95:38:AF:7A       Apple Wireless Keyboard
        00:02:72:00:E0:96       blued[192.168.251.11]
        00:0A:95:D2:97:76       blinky

So after the plugin failed, I just ran hidd -n --search and boom it connected. I could type in the xterm and in notepad. The only annoying this is that the Return key opens and closes the virtual keyboard in the xterm.

The full command and output was:

Nokia770-51:~# hidd -n --search
Searching ...
        Connecting to device 00:0A:95:38:AF:7A

My /etc/bluetooth/pin file contains just "1234" (no quotes). That was all I did. I didn't type the pin on the keyboard- it just started working.

To be sure I wasn't using something btkeyboardplugin installed, I removed that, rebooted and was able to re-connect my Apple keyboard right away. I hope others can use this- there is no need for any soldering if you have the lovely Apple BT Keyboard sitting around. I actually don't use it with my Mac anymore, I have the tactilepro.

p.s. I'm sure its just a small change that has to be make to the btkeyboardplugin to make it work......

Filed under: Nokia 770, Tech 1 Comment
9Jan/063

Busybox on the 770

Busybox is your gateway to exploring the 770. It's called "The Swiss Army Knife of Embedded Linux" for good reason. When you login to the 770 and use the CLI (or shell) what you are using is Busybox. Traditional Unix machines uses many small programs (most often the GNU toolset) for most common tasks. Almost all small handheld devices with limited resources (RAM) use this one application which emulates all those small programs. Using Busybox is much smaller in terms of a memory footprint that all those other apps. Busybox on the 770 is only 272k.

To learn more about Busybox, visit its home page. They have a wonderful page with every command that is possible with a full build of Busybox. The Busybox in the 770 doesn't implement all of these commands however. The full list of what you have available to you on the 770 is available by executing Busybox by itself:

Nokia770-51:~# busybox
BusyBox v1.00 (Debian 2:20041102-11) multi-call binary

Usage: busybox [function] [arguments]...
   or: [function] [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use, and BusyBox
        will act like whatever it was invoked as.

Currently defined functions:
        [, ash, basename, busybox, cat, chgrp, chmod, chown, chroot, chvt,
        clear, cmp, cp, cut, date, dd, df, dirname, dmesg, du, echo, egrep,
        env, expr, false, fgrep, find, free, getty, grep, gunzip, gzip, head,
        hostname, id, ifconfig, ifdown, ifup, insmod, kill, killall, ln, logger,
        login, ls, lsmod, mkdir, mkfifo, mknod, mkswap, mktemp, modprobe,
        more, mount, mv, netstat, nslookup, pivot_root, printf, ps, pwd, realpath,
        renice, reset, rm, rmdir, rmmod, route, run-parts, sed, seq, sh, sleep,
        sort, stty, su, swapoff, swapon, sync, tail, tar, tee, test, time,
        top, touch, tr, true, tty, umount, uname, uniq, uptime, wc, which,
        who, whoami, xargs, yes, zcat

To see how much Busybox does take a look at /bin and /usr/bin. Almost all the programs in /bin are just links to the Busybox binary.

Pesky Swap

One thing I'm doing is investigating using swap with the .51 firmware. I still get out of memory errors when I swapon my little 32M swap partition on the MMC card. Once I've activated swap I can't load any applications-- and if I have something running (say the browser) the device will reboot.

I'm tracking what is happening by running this small script:

# while true; do
> cat /proc/meminfo
> echo '----------------'
> sleep 2
> done

Which spits out stats similar to these:

MemTotal:        61828 kB
MemFree:          5916 kB
Buffers:           112 kB
Cached:          27556 kB
SwapCached:          0 kB
Active:          24296 kB
Inactive:        16624 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:        61828 kB
LowFree:          5916 kB
SwapTotal:       32728 kB
SwapFree:        32728 kB
Dirty:               0 kB
Writeback:           0 kB
Mapped:          25936 kB
Slab:             6692 kB
CommitLimit:     63640 kB
Committed_AS:    36728 kB
PageTables:       1140 kB
VmallocTotal:   188416 kB
VmallocUsed:       640 kB
VmallocChunk:   187776 kB

And by watching the output I see that my swap is never used by the 770! So while I'm not sure what is going on with this, I'm continuing to poke around the 770.

Filed under: Nokia 770, Tech 3 Comments
1Jan/068

Recovering from a Firmware Flash

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 'Backup' does a questionable job - while it does seem to work, it also seems to have made my 770 totally wonky, and I've been better off not using it after re-flashing 51.

So what to do?

One solution is again the ever-maturing Synchronisation and backup using rsync & make by Andrew Flegg at Bleb- be sure and read his solution which is clearly outlined at his site.

Meanwhile, I've put together some very simple scripts which can help bootstrap your 770 right after a firmware flash.

I'm assuming that you have a MMC card, and you'll keep these scripts on the card along with your 3rd party packages- so that they are available right after a flash.

You'll have to install xterm using the 770 GUI and then run these scripts just one time. One for user and one for root.

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.

User script:

#!/bin/sh
echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/var/lib/install/usr/lib' >> /home/user/.profile
echo 'export PATH=$PATH:/var/lib/install/usr/bin:/var/lib/install/usr/sbin' >> /home/user/.profile
echo 'set nocompatible' >> /home/user/.vimrc

mkdir /home/user/.ssh
cat /media/mmc1/keys/id_rsa_mac >> /home/user/.ssh/authorized_keys
cat /media/mmc1/keys/id_rsa_XP >> /home/user/.ssh/authorized_keys
chmod 400 /home/user/.ssh/authorized_keys
chmod 700 /home/user/.ssh

Root script:

#!/bin/sh
echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/var/lib/install/usr/lib' >> /root/.profile
echo 'export PATH=$PATH:/var/lib/install/usr/bin:/var/lib/install/usr/sbin' >> /root/.profile
echo 'set nocompatible' >> /root/.vimrc
app-installer-tool install /media/mmc1/Installers/load-plugin_0.2.4-1_arm.deb
app-installer-tool install /media/mmc1/Installers/dropbear-client_0.46-2_arm.deb
app-installer-tool install /media/mmc1/Installers/dropbear-key_0.46-2_arm.deb
app-installer-tool install /media/mmc1/Installers/dropbear-server_0.46-2_arm.deb
app-installer-tool install /media/mmc1/Installers/vim-tiny_5.6.070-1.1_all.deb
app-installer-tool install /media/mmc1/Installers/fbreader-maemo_0.7.1b-1_arm.deb

ln -s /var/lib/install/etc/init.d/dropbear-server /etc/rc2.d/S20dropbear-server

Note: this does not address backing up any data... see Andrew's solution for that. At this point I really don't keep anything on the 770 that I can'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.

Filed under: Nokia 770 8 Comments
1Jan/063

What Happened in .51?

Issues with 51

Ok, since I've flashed 51 onto my 770, all hell has broken loose. So far I've had these issues:

  • News Reader won't load (and it constantly refreshes)
  • Sporadic reboots
  • Out of Memory errors (I never had them before)
  • Using swapon causes immediate out of memory and or reboot

I had to finally re-flash '51 again, and this time I didn't restore by data (which I had backed-up using the built in control utility) back onto the 770. It seems more stable now, except for the issues using swap. I don't mind resetting up my stuff by hand- my backup data must have corrupted something.

People I've talked with talk about initial reboots, but then 'things calm down over time' which seems impossible to me- how can things calm down? They should stay the same at least.

Does anyone have any solid information on what has changed in this release?

Gainroot and Root

Meanwhile, I've been banging my head with gainroot, and why it wouldn't read the .profile of the root user in /root... nothing was working, till I finally realized that perhaps this wasn't some new shell I was in.. and sure enough, invoking su - while in 'gainroot' put me into a proper root shell with a working environment. See below for the difference in environments...

~ $ sudo gainroot
Root shell enabled

BusyBox v1.00 (Debian 2:20041102-11) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # env
SUDO_GID=29999
USER=root
HOME=/home/user
SUDO_UID=29999
LOGNAME=root
MALLOC_MMAP_THRESHOLD_=32768
TERM=xterm-color
PATH=/bin:/usr/bin:/sbin:/usr/sbin
SUDO_COMMAND=/usr/sbin/gainroot
SHELL=/bin/sh
SUDO_USER=user
MALLOC_TRIM_THRESHOLD_=4096
PWD=/home/user

Now with a proper root shell:

/home/user # su -

BusyBox v1.00 (Debian 2:20041102-11) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia770-51:~# env
USER=root
LD_LIBRARY_PATH=:/var/lib/install/usr/lib:/var/lib/install/usr/lib
HOME=/root
PS1=\h:\w\$
LOGNAME=root
MALLOC_MMAP_THRESHOLD_=32768
TERM=xterm-color
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:
/sbin:/bin:/usr/bin/X11:/var/lib/install/usr/bin:
/var/lib/install/usr/sbin
SHELL=/bin/sh
MALLOC_TRIM_THRESHOLD_=4096
PWD=/root

Nokia770-51:~# 

That's one small consolation.

Filed under: Nokia 770 3 Comments