New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
desmopro
Old
(Last edited by desmopro; 29th April 2010 at 05:47 PM.) Reason: add link
#1  
Member - OP
Thanks Meter 0
Posts: 51
Join Date: Aug 2007
Default Archlinux on the desire, chroot inside

Here is how to install/use archlinux on the desire :

What you need :

-Rooted phone
-a2sd (Paul has included busybox in a2sd zip)
-an ext2 partition on the SD
-the following tarball : http://www.4shared.com/file/wlu7e8g9...m-basetar.html - dae1d0dfbbfe6ba88a8f95958648f463 - Thanks jayshah

Credit : CalimeroTeknik (irc.freenode.net/archlinux-fr) has make everything, i have just uploaded the tarball and write this howto

WARNING : This is provided without any warranty, if you brick your phone because of that, I (desmopro) and CalimeroTeknik cannot be held responsible.

1: Extract the tarball inside a folder of the ext2 SD (/system/sd/) , yes you have RW inside this folder.

Quote:
mkdir /system/sd/archdroid
mv /sdcard/arch-arm-base.tar.bz2 /system/sd/archdroid/
cd /system/sd/archdroid/
tar xvvzf arch-arm-base.tar.bz2
2: Launch chroot

You can launch chroot with script named chroot.sh at root of archlinux folder,
After launching, you can see many terminal error, execute "export TERM=linux", after that you can use SSH (is better than ADB) by launching /etc/rc.d/sshd start

3: Configure your system

Its a base, so you need some package, install base-devel and yaourt (follow http://archlinux.org wiki for that)

Warning : yaourt 0.9.3.0 or superior not work, you need to use yaourt 0.9.2

4: Some arm repository ?

add on /etc/pacman.conf :

[archlinuxfr]
Server = http://repo.archlinux.fr/arm/

5: About stop chroot :

Before execute exit from adb chroot, dont miss to close all Archlinux process (ssh, ...) if you not make it, you need to restart your phone before return to the chroot)
 
jayshah
Old
(Last edited by jayshah; 29th April 2010 at 05:40 PM.)
#2  
Senior Member
Thanks Meter 27
Posts: 191
Join Date: Jul 2009
I am mirroring the tarball for you.

Edit 1: MD5/SHA1 would be handy in the OP.
Edit 2: Trying again
Edit 3: http://www.4shared.com/file/wlu7e8g9...m-basetar.html
Code:
dae1d0dfbbfe6ba88a8f95958648f463  arch-arm-base.tar.bz2
Galaxy Note (N7000XXLSA Leak 1/Dec)
 
DoPower
Old
#3  
Member
Thanks Meter 13
Posts: 40
Join Date: Jun 2009
Hi!
Another mirror, this time in Megaupload:

Code:
megaupload.com/?d=1Q08O6FG
 
adi90
Old
#4  
Junior Member
Thanks Meter 0
Posts: 26
Join Date: Aug 2008
Default Prob

Impossible to extract ...

Code:
tar: dev/zero : la fonction mknod a échoué: Opération non permise
tar: dev/console : la fonction mknod a échoué: Opération non permise
tar: dev/null : la fonction mknod a échoué: Opération non permise
tar: etc/dbus-1/system.d/.keep: time stamp 2021-01-17 20:44:47 is 306551527.687670492 s in the future
tar: etc/dbus-1/session.d/.keep: time stamp 2021-01-17 20:44:47 is 306551527.686917604 s in the future
tar: etc/arch-release: time stamp 2021-01-17 20:44:47 is 306551527.675498346 s in the future
tar: lib/udev/devices/zero : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/fuse : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/console : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/net/tun : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/ppp : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/loop0 : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/null : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/kmsg : la fonction mknod a échoué: Opération non permise
tar: usr/share/dbus-1/services/.keep: time stamp 2021-01-17 20:44:47 is 306551509.218266837 s in the future
tar: usr/share/dbus-1/system-services/.keep: time stamp 2021-01-17 20:44:47 is 306551509.217703078 s in the future
tar: usr/include/asm-generic/.install: time stamp 2021-01-17 20:44:47 is 306551470.359330006 s in the future
tar: usr/include/.install: time stamp 2021-01-17 20:44:47 is 306551470.339143223 s in the future
tar: usr/include/rdma/.install: time stamp 2021-01-17 20:44:47 is 306551469.833324677 s in the future
tar: usr/include/video/.install: time stamp 2021-01-17 20:44:47 is 306551469.274569447 s in the future
tar: usr/include/asm/.install: time stamp 2021-01-17 20:44:47 is 306551469.15469242 s in the future
tar: usr/include/linux/netfilter_ipv4/.install: time stamp 2021-01-17 20:44:47 is 306551469.095470923 s in the future
tar: usr/include/linux/netfilter_bridge/.install: time stamp 2021-01-17 20:44:47 is 306551469.04847284 s in the future
tar: usr/include/linux/.install: time stamp 2021-01-17 20:44:47 is 306551469.033725784 s in the future
tar: usr/include/linux/netfilter/.install: time stamp 2021-01-17 20:44:47 is 306551468.934608292 s in the future
tar: usr/include/linux/can/.install: time stamp 2021-01-17 20:44:47 is 306551468.907631049 s in the future
tar: usr/include/linux/byteorder/.install: time stamp 2021-01-17 20:44:47 is 306551468.89729377 s in the future
tar: usr/include/linux/spi/.install: time stamp 2021-01-17 20:44:47 is 306551468.872105443 s in the future
tar: usr/include/linux/tc_act/.install: time stamp 2021-01-17 20:44:47 is 306551468.861759644 s in the future
tar: usr/include/linux/netfilter_arp/.install: time stamp 2021-01-17 20:44:47 is 306551468.838132829 s in the future
tar: usr/include/linux/raid/.install: time stamp 2021-01-17 20:44:47 is 306551468.814705132 s in the future
tar: usr/include/linux/tc_ematch/.install: time stamp 2021-01-17 20:44:47 is 306551468.80227604 s in the future
tar: usr/include/linux/dvb/.install: time stamp 2021-01-17 20:44:47 is 306551468.764955656 s in the future
tar: usr/include/linux/usb/.install: time stamp 2021-01-17 20:44:47 is 306551468.751376767 s in the future
tar: usr/include/linux/nfsd/.install: time stamp 2021-01-17 20:44:47 is 306551468.649128374 s in the future
tar: usr/include/linux/isdn/.install: time stamp 2021-01-17 20:44:47 is 306551468.572330901 s in the future
tar: usr/include/linux/wimax/.install: time stamp 2021-01-17 20:44:47 is 306551468.570140119 s in the future
tar: usr/include/linux/hdlc/.install: time stamp 2021-01-17 20:44:47 is 306551468.54573136 s in the future
tar: usr/include/linux/sunrpc/.install: time stamp 2021-01-17 20:44:47 is 306551468.544780192 s in the future
tar: usr/include/linux/netfilter_ipv6/.install: time stamp 2021-01-17 20:44:47 is 306551468.53965887 s in the future
tar: usr/include/sound/.install: time stamp 2021-01-17 20:44:47 is 306551468.16809978 s in the future
tar: usr/include/mtd/.install: time stamp 2021-01-17 20:44:47 is 306551468.087343494 s in the future
tar: Des erreurs ont provoqué l'arrêt du programme
any idea ?
 
jayshah
Old
#5  
Senior Member
Thanks Meter 27
Posts: 191
Join Date: Jul 2009
Quote:
Originally Posted by adi90 View Post
Impossible to extract ...

Code:
tar: dev/zero : la fonction mknod a échoué: Opération non permise
tar: dev/console : la fonction mknod a échoué: Opération non permise
tar: dev/null : la fonction mknod a échoué: Opération non permise
tar: etc/dbus-1/system.d/.keep: time stamp 2021-01-17 20:44:47 is 306551527.687670492 s in the future
tar: etc/dbus-1/session.d/.keep: time stamp 2021-01-17 20:44:47 is 306551527.686917604 s in the future
tar: etc/arch-release: time stamp 2021-01-17 20:44:47 is 306551527.675498346 s in the future
tar: lib/udev/devices/zero : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/fuse : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/console : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/net/tun : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/ppp : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/loop0 : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/null : la fonction mknod a échoué: Opération non permise
tar: lib/udev/devices/kmsg : la fonction mknod a échoué: Opération non permise
tar: usr/share/dbus-1/services/.keep: time stamp 2021-01-17 20:44:47 is 306551509.218266837 s in the future
tar: usr/share/dbus-1/system-services/.keep: time stamp 2021-01-17 20:44:47 is 306551509.217703078 s in the future
tar: usr/include/asm-generic/.install: time stamp 2021-01-17 20:44:47 is 306551470.359330006 s in the future
tar: usr/include/.install: time stamp 2021-01-17 20:44:47 is 306551470.339143223 s in the future
tar: usr/include/rdma/.install: time stamp 2021-01-17 20:44:47 is 306551469.833324677 s in the future
tar: usr/include/video/.install: time stamp 2021-01-17 20:44:47 is 306551469.274569447 s in the future
tar: usr/include/asm/.install: time stamp 2021-01-17 20:44:47 is 306551469.15469242 s in the future
tar: usr/include/linux/netfilter_ipv4/.install: time stamp 2021-01-17 20:44:47 is 306551469.095470923 s in the future
tar: usr/include/linux/netfilter_bridge/.install: time stamp 2021-01-17 20:44:47 is 306551469.04847284 s in the future
tar: usr/include/linux/.install: time stamp 2021-01-17 20:44:47 is 306551469.033725784 s in the future
tar: usr/include/linux/netfilter/.install: time stamp 2021-01-17 20:44:47 is 306551468.934608292 s in the future
tar: usr/include/linux/can/.install: time stamp 2021-01-17 20:44:47 is 306551468.907631049 s in the future
tar: usr/include/linux/byteorder/.install: time stamp 2021-01-17 20:44:47 is 306551468.89729377 s in the future
tar: usr/include/linux/spi/.install: time stamp 2021-01-17 20:44:47 is 306551468.872105443 s in the future
tar: usr/include/linux/tc_act/.install: time stamp 2021-01-17 20:44:47 is 306551468.861759644 s in the future
tar: usr/include/linux/netfilter_arp/.install: time stamp 2021-01-17 20:44:47 is 306551468.838132829 s in the future
tar: usr/include/linux/raid/.install: time stamp 2021-01-17 20:44:47 is 306551468.814705132 s in the future
tar: usr/include/linux/tc_ematch/.install: time stamp 2021-01-17 20:44:47 is 306551468.80227604 s in the future
tar: usr/include/linux/dvb/.install: time stamp 2021-01-17 20:44:47 is 306551468.764955656 s in the future
tar: usr/include/linux/usb/.install: time stamp 2021-01-17 20:44:47 is 306551468.751376767 s in the future
tar: usr/include/linux/nfsd/.install: time stamp 2021-01-17 20:44:47 is 306551468.649128374 s in the future
tar: usr/include/linux/isdn/.install: time stamp 2021-01-17 20:44:47 is 306551468.572330901 s in the future
tar: usr/include/linux/wimax/.install: time stamp 2021-01-17 20:44:47 is 306551468.570140119 s in the future
tar: usr/include/linux/hdlc/.install: time stamp 2021-01-17 20:44:47 is 306551468.54573136 s in the future
tar: usr/include/linux/sunrpc/.install: time stamp 2021-01-17 20:44:47 is 306551468.544780192 s in the future
tar: usr/include/linux/netfilter_ipv6/.install: time stamp 2021-01-17 20:44:47 is 306551468.53965887 s in the future
tar: usr/include/sound/.install: time stamp 2021-01-17 20:44:47 is 306551468.16809978 s in the future
tar: usr/include/mtd/.install: time stamp 2021-01-17 20:44:47 is 306551468.087343494 s in the future
tar: Des erreurs ont provoqué l'arrêt du programme
any idea ?
Try extracting as root.
Galaxy Note (N7000XXLSA Leak 1/Dec)
 
adi90
Old
#6  
Junior Member
Thanks Meter 0
Posts: 26
Join Date: Aug 2008
solve the probleme was that I tried to extract the file in my computer and not in the phone !
 
Cristhecrusader
Old
#7  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Aug 2010
anyone got X working?
If yes can you tell me what driver you used?
 
K900
Old
#8  
Senior Member
Thanks Meter 2191
Posts: 4,697
Join Date: Aug 2010
Quote:
Originally Posted by Cristhecrusader View Post
anyone got X working?
If yes can you tell me what driver you used?
Use VNC

Sent from my HTC Desire using XDA App
For the love of Haruhi, don't PM me with questions. There are Q&A forums for that.
 
Mountainjew
Old
#9  
Member
Thanks Meter 7
Posts: 73
Join Date: Oct 2009
Location: Belfast
As much as i love Arch, what is the point of having it on the phone? I'm guessing it's not possible to use it as a phone?
 
K900
Old
#10  
Senior Member
Thanks Meter 2191
Posts: 4,697
Join Date: Aug 2010
Quote:
Originally Posted by Mountainjew View Post
As much as i love Arch, what is the point of having it on the phone? I'm guessing it's not possible to use it as a phone?
Well, not yet. It's like proof of concept, and some day we might have the full power of Linux in our devices

Sent from my HTC Desire using XDA App
For the love of Haruhi, don't PM me with questions. There are Q&A forums for that.


XDA PORTAL POSTS

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more