From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: Running debian + emacs on my Android G1 [was: emacs + orgmode on Ubuntu on Android G1] Date: Sun, 29 Nov 2009 01:13:25 +0000 Message-ID: <20091129011325.GC25764@atlantic.linksys.moosehall> References: <53821f890911082219m53ff689bs3b04c49aa4cc9566@mail.gmail.com> <4edb2bbc0911032301o41808c84h874ee940cc6b7172@mail.gmail.com> <20091126191019.GB25764@atlantic.linksys.moosehall> <20091128130206.GA17990@taupan.ath.cx> Reply-To: Adam Spiers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NEYMN-00049d-No for emacs-orgmode@gnu.org; Sat, 28 Nov 2009 20:13:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NEYMJ-00047x-85 for emacs-orgmode@gnu.org; Sat, 28 Nov 2009 20:13:55 -0500 Received: from [199.232.76.173] (port=51885 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NEYMJ-00047u-3c for emacs-orgmode@gnu.org; Sat, 28 Nov 2009 20:13:51 -0500 Received: from vpn.id2.novell.com ([195.33.99.129]:35776 helo=gwia-smtp.id2.novell.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NEYMI-0008GU-Nw for emacs-orgmode@gnu.org; Sat, 28 Nov 2009 20:13:50 -0500 Content-Disposition: inline In-Reply-To: <20091128130206.GA17990@taupan.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org [sorry this is getting a little off-topic for non-Android users] On Sat, Nov 28, 2009 at 02:02:06PM +0100, Friedrich Delgado Friedrichs wrote: > Hi! > > I just upgraded (!) my G1 to CyanogenMod yesterday, because I want to > try out emacs on it, too. > > I must say CyanogenMod rocks! It's much more snappy than the stock > build and the things you can do with it really rock (running debian on > my phone is so cool) ;) I agree! I just upgraded mine to CyanogenMod too, although it's not required; I was quite happily running emacs and Ubuntu on an older JesusFreke firmware before. > Adam Spiers schrieb: > > On Wed, Nov 04, 2009 at 04:01:11PM +0900, Torsten Wagner wrote: > > Sorry for the slow reply. I don't have time to go into exact details > > but I updated this page: > > > > http://www.emacswiki.org/emacs/EmacsOnAndroid > > The debian "installer" you link to on the wiki is technically very > unsound. If you look at the installer.sh and debootstrap scripts > you'll see that they are full of magical thinking, smoke and mirrors. The Debian links were added by someone else - I've only tried the Ubuntu image which I linked to. > e.g. if you want debootstrap to run faster, remove all the "sleep 1" > calls he inserted, maybe along with the totally fake echo messages. > You can keep the ascii penguin logo, it's kinda neat. And doing chmod > 4755 on everything in /system/bin is plain madness. It's clear > indication that the guy who posted that installer didn't know a bit of > what he was doing. > > (I didn't look at the ubuntu installer.) Yikes, 4755 certainly sounds mad - however the permissions in my /system/bin are much saner, so presumably the ubuntu installer doesn't do that. > To give you a quick heads up of what I'm doing: > > I find the instructions in > [[http://bayleshanks.com/tips-computer-android-g1][Bayle Shanks's > website: tips-computer-android-g1]] technically much more sound. It's > a bit more involved, but someone with sound experience in systems > administration could quickly make a good installer out of his > instructions. Yesterday it took me about 30 minutes to an hour, but > after that I had a fresh debian install, with just the bits I wanted. > Together with emacs and the application cache it takes about 512MB, so > I just resized my ext2 partition to 1024MB with gparted, to make room > for some org-mode and git goodness. > > Next step I'm going to do is add a non-root user, not sure how to do > this properly, yet, and configure it to sync my config and org-mode > files. I don't feel comfortable working as root all the time. > > I'll keep you posted and when I'm done with a working org-mode setup, > I'll update the entry on the emacs wiki. That would be great, thanks! > I didn't run emacs yet, but I have a suspicion that it might run a > little faster on a native ext3 partition than from an image file. What do you mean by an image file - does yours involve some kind of loopback? My Ubuntu install is simply a root filesystem under /system/sd/ubuntu (and /system/sd is native ext3) therefore a simple chroot /system/sd/ubuntu plus mounting of /dev/pts, /proc, and /sys inside it are sufficient to provide the Ubuntu environment.