From mboxrd@z Thu Jan 1 00:00:00 1970 From: Friedrich Delgado Friedrichs Subject: Re: [Android] Running debian + emacs on my Android G1 [was: emacs + orgmode on Ubuntu on Android G1] Date: Sun, 29 Nov 2009 14:00:57 +0100 Message-ID: <20091129130057.GA22254@taupan.ath.cx> References: <53821f890911082219m53ff689bs3b04c49aa4cc9566@mail.gmail.com> <4edb2bbc0911032301o41808c84h874ee940cc6b7172@mail.gmail.com> <20091126191019.GB25764@atlantic.linksys.moosehall> <20091128130206.GA17990@taupan.ath.cx> <20091129011325.GC25764@atlantic.linksys.moosehall> Reply-To: friedel@nomaden.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0735940337==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NEjOu-0004bQ-Cn for emacs-orgmode@gnu.org; Sun, 29 Nov 2009 08:01:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NEjOn-0004Vs-TW for emacs-orgmode@gnu.org; Sun, 29 Nov 2009 08:01:15 -0500 Received: from [199.232.76.173] (port=54844 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NEjOn-0004VY-P6 for emacs-orgmode@gnu.org; Sun, 29 Nov 2009 08:01:09 -0500 Received: from dudelab.org ([212.12.33.202]:26514 helo=mail.dudelab.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NEjOi-00040W-4F for emacs-orgmode@gnu.org; Sun, 29 Nov 2009 08:01:05 -0500 Received: from abrasax.taupan.ath.cx (p5DE8B3DC.dip.t-dialin.net [93.232.179.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Friedrich Delgado Friedrichs", Issuer "User CA" (verified OK)) by mail.dudelab.org (Postfix) with ESMTP id 11D89228148 for ; Sun, 29 Nov 2009 14:01:38 +0100 (CET) In-Reply-To: <20091129011325.GC25764@atlantic.linksys.moosehall> 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 --===============0735940337== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! Adam Spiers schrieb: > [sorry this is getting a little off-topic for non-Android users] Yes, but the point is getting org-mode to run on android. I propose we add [Android] as a cookie to the subject lines, so people can filter them. > On Sat, Nov 28, 2009 at 02:02:06PM +0100, Friedrich Delgado Friedrichs wr= ote: > > 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. I see. I didn't look at the changelog for the page ;) > > (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. Ok. > > 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! A small update, I'm not done yet: I have emacs + org-mode running now, but it's very slow. Emacs on its own runs and starts quite fast, but as soon as I add my whole config, it takes 90 seconds to start, and 30 seconds to change in the org-mode agenda from one day to another. As 30 seconds are way too long, I'm obviously going to try cut down my config and maybe just use a subset of my org-files on the phone. If I can't that last figure below 5 seconds I think the experiment is going to be called off as a failure. (Or maybe I'll just use the local emacs as an emergency fallback if I have no network access.) Apparently some system administration tasks on the debian installation take so much memory that the whole system gets unstable, because the oom killer is going to kill important services. I just had to reboot my phone after generating a UTF8 locale. I looked at adb logcat and the android core was very unhappy and killed every service it could find, even the phone service... So I probably want to make sure I don't need to use my phone when administrating the debian installation. > > 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. The debian installer uses a loopback mount, as it doesn't require a native ext filesystem. This is probably handy, but I guess most root mods these days use an ext partition anyway, so why not just use that... Kind regards Friedel --=20 Friedrich Delgado Friedrichs TauPan on Ircnet and Freenode ;) --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAksScIIACgkQCTmCEtF2zEACMACggNEbxLKhzAPbmNliyYrgC0My anwAoJg9vTwdreohLKh7Jx5k+jhB3VXq =xI+n -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5-- --===============0735940337== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0735940337==--