Good evening, this is my first post and I'm really happy, I can finally boot a debian on my wildfire, for this I have been guided by manuals for the rest of htc.
As sure a lot of people wanting to play the first thing to do is upload it and explain how it starts, then we can go into details of how and why.
The startup script has a lot to improve and certainly there are some things that are no longer necessary, but I think the first thing is that everyone can enjoy, and after that I dedicate to improve them.
The only thing you need to modify in the phone is to get the root user, I personally used unrevoked for this, besides being very simple, makes available the backup utility nandroid among others, have not tried other methods but I think that any method that can get the root on the adb console, should work
The procedure is very easy and I give you everything you need:
- Compiled binary of busybox
- Start script
- Image file system for ARM Debian Lenny
- ADB download from the official website of android
- Unrevoked 3 there are many guides on how to do, practically only have to download and follow the instructions
Step 1
- Moving files to mobile
-Enter the abd console and create the folder /data/local/bin and /sdcard/debian
-Copy the image file on the sd folder (you can mount as massive storage mode)
-copy Busybox and boodeb.sh to the folder /data/local/bin, for this use
adb push busybox /data/local/bin
adb push bootdeb /data/local/bin
- Set the appropriate permissions, open adb shell and passed to root (in my case just do 'su' and accept the message I apacere on the mobile screen) and run
cd / data / local / bin
chmod 555. / busybox
chmod 555. / bootdeb.sh
Step 2
- Basically enjoy
- In a console as root run
cd /data/local/bin
./Busybox sh bootdeb.sh
and now you are in a debian shell ready to play and break, keep a clean copy of the image file this is the best rollback that I know.
to exit the chroot only do exit, and you can see a restart of the phone, this is to make everything fair, this probably is not necessary because I have noticed that everything was removed successfully, but for now better that way, and later i'll depurare the script to see what can i do.
I'll attach the files and if I have time I put a few catches, excuseme for errors, I will be watching the thread to respond to everything that Ican.
I'll put the filesystem image on mediafire, but is too slow, you can search for debian_aosp21_fisadev zip, it's the same image, i'll put the link when it end, now i go eat
Nice hack! Do you have any need for this or did you just do it because it could be done?
it's ok and running, later wil improve more eficient scripts
with this you can start playing, from this point you can start implementing the rest of guides for debian in G1, ect ... get X11 vnc I will try to bring my own apps server and mail server in my pocket
You stole my idea . Isn't it funny when two people think of the same thing at once and independently? I've also managed to run Debian on my wildfire. My method is much less sophisticated though. it wouldn't even need adb and soft root is perfectly sufficient.
What tool did you use to generate the image? I used debootstrap. Quite easy IMHO, once you have root and busybox binary. But that comes from Debian user.
As far as I can see, your method is more of a chroot than boot. IMHO, only loading your own kernel into the memory would constitute "booting".
xc1024 said:
You stole my idea . Isn't it funny when two people think of the same thing at once and independently? I've also managed to run Debian on my wildfire. My method is much less sophisticated though. it wouldn't even need adb and soft root is perfectly sufficient.
What tool did you use to generate the image? I used debootstrap. Quite easy IMHO, once you have root and busybox binary. But that comes from Debian user.
As far as I can see, your method is more of a chroot than boot. IMHO, only loading your own kernel into the memory would constitute "booting".
Click to expand...
Click to collapse
Well, it's normal, really starting in a chroot, but for me is a good starting point to playing. For me upload or not upload your own kernel is indifferent, with the current android kernel for now is sufficient, since it provides the necessary, currently i'm setting up a new image with debootstrap, initially I used the image posted in one of the G1 tutorial and the busybox binary too, if I find the url of the tutorial I put it.
Really is not necessary to use ADB, you can also do from a terminal on the phone, and as I said any method that allows root think it will be valid, but for me it is much more comfortable working on the pc and get rooted with ureboked.
My next steps are try to provide it with swap, graphical environment, ssh (done), vnc-server, webserver and mail server, refine the scripts and later, when get boring i try other things as dual boot, native filesystems etc ... and of course try to help some people to get running
For now I have enough to play a few days
as I promised, here is the links to donw my initial image filesystem of debian lenny,
h t t p : / / w w w . me d i a f i r e . c o m / ? l 9 t 6 i 2 0 y z 4 g o 7 5 8
h t t p : / / w w w . m e d i a f i r e . c o m / ? l 9 t 6 i 2 0 y z 4 g o 7 5 8
later i'll post links for new images with more things, only need replace the file and go playing to next level
sorry, but I can't post links, drop the espaces and go
everend said:
sorry, but I can't post links, drop the espaces and go
Click to expand...
Click to collapse
Here is the link made for you
Hope that helps
some sceenshots
some sceenshots
Really cool! Great work everend.
Will definetly follow this thread.
Now sawping on file is running, i'll upload the next image when finish the vnc setup and improbe some things in the script to sure the ending of chroot enviroment and i'll create one aditional script to make easy the use of terminal emulator on android, this script will do things as alter pach to get /data/local/bin and make some alias, and i'll post how to configure terminal emulator to autorun this.
thanks, i'm playing, i'm happy, let's play
Thanks a lot.
Before I want to do it but I can't to it hack!
Thanks
Keep your nice work!
:x
Sent from my HTC Wildfire using XDA App
X11 LXDE runnig!!!!
playing, playing
tremendous work! Now I just wish I could find a way to port linux or even better Android to a BlackBerry device!
It's dont work on CM!
Please optimize it for CM.
(and evered, please chek your PM!)
now, i'll resume this, but i can't test on CM because i use the original firmware + unrebocked on my phone.
THE DEBIAN IMAGE FILE IS LINKED HERE.
xc1024 said:
You stole my idea . Isn't it funny when two people think of the same thing at once and independently? I've also managed to run Debian on my wildfire. My method is much less sophisticated though. it wouldn't even need adb and soft root is perfectly sufficient.
What tool did you use to generate the image? I used debootstrap. Quite easy IMHO, once you have root and busybox binary. But that comes from Debian user.
As far as I can see, your method is more of a chroot than boot. IMHO, only loading your own kernel into the memory would constitute "booting".
Click to expand...
Click to collapse
Would you explain your simple method?
You can download it when click here!
http://wildfire.devs.parandserver.com/debian/debian_aosp21_fisadev.zip
You can download it when click here!
http://wildfire.devs.parandserver.co...21_fisadev.zip]
Click to expand...
Click to collapse
@MohammadN.
Are you able to boot the debian?
Related
Hello,
I was interested in getting Hamachi to work on my newly-acquired G1. After applying Cyanogen's Mod and rooting the thing, installing Debian (yay!) and setting up all the nifty scripts to make it semi-permanent, I focused on getting Hamachi to work.
First I tried the Linux tgz but it failed ("wrong architecture, teabag!" it told me.) ..so I looked around some more, and came across a build for the Nokia N770 (Maemo something-or-other) and decided to give it a try, and holy **** if it didn't work (after some tweaking.)
NOTE: YMMV.
Make sure your phone is r00ted. Can't do it without the r00ty-juice. Also, a Debian distro is required. See here for how: http://www.saurik.com/id/10
**EDIT** I just reflashed my G1, so I had the opportunity to try again and figure out the exact steps! Here they are, as they worked for me:
01) Download the N770 Hamachi tarball: http://files.hamachi.cc/linux/nokia-770/hamachi-0.9.9.9-20-lnx-n770.tar.gz .
02) Untar/ungzip it, it will extract to hamachi-n770-0.9.9.9-20.
03) cd into there, and run sh ./install.
04) mkdir /dev/net to create the node directory in /dev.
05) mknod /dev/net/tun c 10 200 to create the tunnel device.
06) apt-get install sudo if you don't already have it.
07) apt-get install libcrypto++7 if you don't already have it.
08) ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.7
09) sudo tuncfg to get the tunnel driver started.
10) hamachi-init to set up the initial configuration and RSA keys.
11) hamachi start to start up Hamachi.
12) hamachi login to login to the Hamachi network.
13) hamachi set-nick nickname if desired.
14) hamachi join network password if desired.
Success!! Got my G1 online and logged into my Hamachi network! I did apply this Linux fix (to make it stay online within my Hamachi2 network -- this is Hamachi 0.9.9):
echo KeepAlive 10 >/root/.hamachi/config
Maybe overkill, as it's gonna send a ping every 10 seconds over the air, which I'm sure will eat up my battery after a while.
--Weasel5i2
nice! been waiting for something like this for quite some time ;D having some problems though... it won't compile... when i run make install, just keeps on giving me a "Nothing to do for target "install"" Tried removing tuncfg folder and hamachi executable too (which doesn't work btw, says libcrypto is missing), still didn't work... any ideas?
Oh, thanks for reminding me! I also did an apt-get install libcrypto++7 when it gave a linker error.
As far as Make goes, it doesn't really compile (it is precompiled) as much as just copy the binaries to the proper places in the path.. Try doing the install of libcrypto++7 and see if it works for you.
--W5i2
alright... so ive tried installing libcypto 0.9.8 and renamed it to 09.9.7.... however it still says i need to run hamachi-init which doesn"t work!
Edit: alright, got it... i had to do sh install
Thanks, seems to work!
tip: the libcrypto.so.0.9.8 wich you have to rename to libcrypto.so.0.9.7 is located in /usr/lib
Can any of you two (Fish & Zero) whom have gotten this to work confirm what you did, and if "Debian" is needed ?
TheUriel said:
Can any of you two (Fish & Zero) whom have gotten this to work confirm what you did, and if "Debian" is needed ?
Click to expand...
Click to collapse
it does work, it only works on debian at the moment, since the binaries are not designed for android. however, the network connection should work with android too, since debian and android share their connections...
all you need to do is follow the instructions, but also run
apt-get install libcrypto0.9.8 and
mv /usr/lib/libcrypto0.9.8.so /usr/lib/libcrypto0.9.7.so (something like that check ls /usr/lib)
Alright so im still breaking my neck to get this to work but i dont get it.
This guy says "4) Untar/ungzip the file, run 'make install' and it should install without errors/warnings, IIRC.. (I did this last night)". What is he talking about ? Do i download the zip file, extract the folder in it to the root of my SD ? because thats what i have done so far. And if yes after then what comes next ? I cant put his puzzle together. -.- So lost, and i really want this.
You need a working debian on your android for this to work.
and even then its helluva lot of doing magic until it so much as tells you that it's started.
My Problem for example is that when i do: "hamachi start" it tells me that it can'T access the tun device (no such device) but it's there...
Dont worry about it, i went back to Hero after getting Debian working.
Updated PP
I reflashed my phone, so I had a chance to install Hamachi and document it again. As such, I updated the parent post with the correct instructions.
Enjoy, and please let me know if anything doesn't work and I'll happily try and help with troubleshooting.
--W5i2
Hmm almost eberything works except 'hamachi start' wich throws bad response from tuncfg (/dev/net/tun no such device)
Prolly a problem with my debian installation but you got an idea without reinstalling the whole thing?
You need to make the tun device first:
# mkdir /dev/net
# mknod /dev/net/tun c 10 200
I have since rewritten the original post to have more detailed (and proper) instructions.
^_^
-W-
Tried that after it was posted here in a reply (i think)
But to no avail (tried sudo tuncfg too but nothing changed)
Can't wait to go try this.
Does anyone have any VNC viewers (preferably free) that they recommend for use with this? My computer is behind a NAT router so I need to use Hamachi to access it.
Spica
Hi all,
Am I able to install this Debian into my rooted Eclair 2.1 Samsung Spica?
Thanks in advance.
SadaT5700 said:
Hi all,
Am I able to install this Debian into my rooted Eclair 2.1 Samsung Spica?
Thanks in advance.
Click to expand...
Click to collapse
Or my Evo 4G?
I have ubuntu running on my Evo 4G per the instructions here: http://forum.xda-developers.com/showthread.php?t=720622
I've followed the hamachi install instructions in this thread, but when I try running "hamachi start" I receive the following:
07 04:33:56.732 [ 0] [6315] tap: connect() failed 111 (connection refused)
Does anyone out there have any idea on how to fix this and get hamachi running?
This would be AMAZING on the Evo. Just imagine the possibilities of remote administration.
I have it working however I can only mount linux shares I cant mount windows drives
and what sucks is the ubuntu image wont let you paste files to filesystem ,root, home, or anywere. only from terminal.
Hi all!
I want to share the way i have to run Debian on Nexus One
I'm editing my own install of deb-armel and ill upload to everyone but first i need to finish it
By now, we will use a qemu image ready and edit it to your needs
You'll need a SD parted with Amon_RA recovery, few files i'll upload later and some skills with Debian, of course hehe
Partition could be user-alike but i recommend:
Im using a microsdhc 8gb class-2 from my magic
- EXT3: 2gb (nice for install a lot of stuff)
- SWAP: 150MB
- The rest as fat32
You need also a rom with app2sd or mount ETX3 partition under /system/sd, im using Modaco's 1.3
First of all, im working on archlinux but this can be done on windows too using the qemu version for windows
Install qemu on your machine.
NOTE: Also you can start a new installation from 0 using images (iso) and info found on google
Now we will use the following QEMU images:
http://people.debian.org/~aurel32/qemu/armel/
We will download the followings Of course you can choose the small or normal version with X preinstalled (the X version preinstalled is not tested by me and i dont know if works)
debian_lenny_armel_small.qcow2 150M
initrd.img-2.6.26-1-versatile 2.1M
vmlinuz-2.6.26-1-versatile 1.2M
Put they in your home folder or where u want.
Now, lets run it.
Use the following command (run it from the folder you have the downloaded files) :
qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.26-1-versatile -initrd initrd.img-2.6.26-1-versatile -hda debian_lenny_armel_small.qcow2 -append "root=/dev/sda1"
Wait a moment... Debian-armel running under qemu
Here are the configuration by default:
- Keyboard: British English
- Language: English
- Mirror: ftp.uk.debian.org
- Hostname: debian-armel
- Root password: root
- User account: user
- User password: user
Edit the system to fit your needs, im not going to explain how to do this, im asumming you know how to. If u don't, use the debian reference guide:
http://www.debian.org/doc/manuals/debian-reference/
Of course, you'll need to edit basic things as locales, network, ssh preferences, etc...
Edit your system, update, configure packages, etc...
Once edited and configured, quit you virtual machine.
Now, we are going to convert the qemu image to a raw image, mount the fs and copy to your SD
Assuming you still in the same folder as the qcow2 image of debian (for windows, google a little, im sure there are something to do the same):
qemu-img convert -O raw debian_lenny_armel_small.qcow2 debian.raw
With this will obtain the qcow2 converted to a raw file (without touching the original qcow2 file)
Now mount it where u want or follow this steps:
sudo mkdir /media/debian
Before mount, lets see where start the partition on the raw file:
sfdisk -l -uS debian.raw
U will see a list of partions under the raw file, use the first, like this one:
debian.raw1 * 63 20225834 20225772 83 Linux
Now, we know the / starts at 63, mount this partition
sudo mount -o loop,offset=$((63*512)) debian.raw /media/debian
Ok, we have our partition mounted now, lets make a copy in our EXT3 partition on SD.
Use the USB Storage function from android, sd card reader... and mount the EXT3 partition
Once mounted, copy everything from /media/debian to /media/yourSDext3mounted
cd /media/debian
sudo cp -a * /media/yourSDext3mounted/
If everithing works as expected, umount the systems /media/debian/ and /media/yourSDext3mounted or use the Android notif to disconnect the USB storage function
Check if everything is now in the SD EXT3. Open a terminal and adb shell
adb shell
cd /system/sd
ls
U'll see the Debian / extructure and the app & app-private
Of course dont worry about this, u can still using apps2sd and debian at the same time
Now, it's time to boot debian
We need some modded files from the G1 version to boot it:
Download from Megaupload: http://www.megaupload.com/?d=Q67SNOBC
Download from MediaFire: http://www.mediafire.com/?mxgcyk3whdt
Also, files attached to post (rename the extension to tar.gz)
Put the files into your FAT32 SD partition, no in a folder just in "/"
Now, it's time to give it a try
U have two ways:
Open a terminal window in your PC
adb shell
cd /sdcard/
sh installer.sh
sh bootdeb
Or:
Open up a terminal in your N1, like Terminal Emulator on Market
cd /sdcard/
sh installer.sh
sh bootdeb
PROFIT!!!
Enjoy your debian-armel on your N1
For the next chapter, how to run X with VNC Viewer
Bye and thanks for reading!
Looks like Klingon to me.
I have Debian running too now
Nice! Cant wait to try it out!
nice, i've been looking for a n1 debian how-to
Installing debian is pretty much the same as running it on your g1. I had it working the day after I got mine using the g1 instructions.
So, what's the reason or running debian on your phone?
Jst wondering
u
The reason by now is just fun hehe
But, if we can run it natively via fastboot, would be awesome hehe
Sorry for the delay guys, ill do it now, the last night was too late for me 4am here hehe
EDIT: Just give some time more, i going to try it with the Cm 5.0 beta 1
jairuncaloth said:
Installing debian is pretty much the same as running it on your g1. I had it working the day after I got mine using the g1 instructions.
Click to expand...
Click to collapse
I couldnt get chmod or installer.sh from the g1 instructions to work. I tried it both with bacon and modaco 1.3. I skipped the jesusfreak part though so maybe thats why. Anyway seeing confirming instructions would be nice.
Because the g1 files need to be modded first
I have it running it under modaco 1.3 and now im going to try it with the new b1 from cyanogen
Guide ready
Enjoy it!
Hi,
i have one question about debian. Is the network traffic routed trough android, or does debian has direct access to the wlan adapter for monitor mode and aircrack ?
meld0
it's using the same ip and mac, so is shared for both
If there are the apropiate drivers maybe, don't really know
Calling Linux Experts!!! hehe
Is there any way to create a boot.img bootable via fastboot to run the ext3 partition of sdcard with debian?
Driskol said:
Calling Linux Experts!!! hehe
Is there any way to create a boot.img bootable via fastboot to run the ext3 partition of sdcard with debian?
Click to expand...
Click to collapse
sorry for being noob in this matter but, why do i need debian on my phone? what does it give me?
amir
The answer is a choice, Android or a Full Desktop OS with Firefox, Thunderbird, OpenOffice, etc...
When its booting I'm getting an error:
/system/bin/bootdeb: line 61: chroot: command not found
Doing "find / -name chroot" only returns binaries within the debian image.
Any ideas?
Driskol said:
The answer is a choice, Android or a Full Desktop OS with Firefox, Thunderbird, OpenOffice, etc...
Click to expand...
Click to collapse
How well does Firefox run?
Can anyone take some pics or video?
Any instructions for creating and mounting linux as an img file instead of using separate partitions?
tetlee said:
When its booting I'm getting an error:
/system/bin/bootdeb: line 61: chroot: command not found
Doing "find / -name chroot" only returns binaries within the debian image.
Any ideas?
Click to expand...
Click to collapse
Maybe your rom doesn't have Busybox
EDIT: Im going to make a img version tutorial
Of course, this version was without the highmem kernel, now with more ram, more flawlessly
NEW START POST
This page will be for the topic of linux on the gt540 all distros that will support arm-v6 arm-v7 and armel as these will all work with the exemption of arm-v7 which will of course run with some lag.
So far we have ubuntu and debian running but want more variety is best.
Any helps with scripts speed improvements sharing set ups etc is highly appreciated this thread will be open and transperant in its knowledge.
As with the rest of xda i would like for this to be all about joining together to make something great
VERY SLIM DOWN EASY TUTORIAL TO GET YOU GOING
1. First up your on xda so please for the love of god tell me your device is already rooted and you have busybox??? if not very easy download z4root do a permanent root or temporary if your scared of warranty etc second download busybox installer from the android market and install. Mur4iks rom is most popular and supports loop devices not sure about other roms also have debugging turned on you need that for adb.
2. Make sure you have the android sdk windows drivers etc etc or if in ubuntu or linux make sure you have this file setup
/etc/udev/rules.d/99.android.rules
SUBSYSTEM=="usb",ATTRS{idVendor}=="1004",ATTRS{idProduct}=="61b4",MODE="0666"
3. Make sure adb recognizes your phone run
In windows adb devices
linux (sudo) ./adb devices (ubuntu can be fussy)
Any problems at this point consult the almighty google or android development page that has all information for trouble shooting adb and your device
4. Ok so here is where the phone begins and all the code and missing steps and going back etc etc
At this point a strongly suggest a coffee a cup of tea some music or a smoke if you do
5. Now we must download a version of linux that is compatible with our phone as mentioned above armel arm-v6 are preferred
Theres three ways we can do this
1. We can go to androlinux.com if we wish to have a easy to set up ubuntu system
2. We can download linux installer from adroid market and choose an appropriate distro
3. For the more tech savvy download direct and set up the whole base system to custom sizes run custom scripts on boot etc etc if a few people did this it
would however be great as we could have a multitude of gt540 linux flavours
6. There are alot of VNC Viewers out there im not gonna say what ones best as everyones opinion is different on this put simply type vnc in the market have a read look at some screenies and choose one thats right for you as we will need it later. Has to support tightvnc though.
7. The file we downloaded we have to move this unziped to the root of the sd card.
8. If using linux installer from market simply start installing we will catch up with you later on the vnc set up gui etc
9. Ok the file is happily in the sd card root (Yay) Now you need to open a terminal or command thingy in windows cmd.exe everyone sets up the sdk differently so pretty much in ubuntu or linux you need your file path then /platform-tools in windows the same cd into that file
10. Now we are inside that directory test adb so Ubuntu--- "sudo ./adb devices" Windows ---"adb devices"
It should come up with devices attatched 6437946238946 type thing congrats your sweet to go
11. Start adb shell Ubuntu---"sudo ./adb shell" Windows---"adb shell"
12. #su
13. #ls
14. #cd sdcard
15. #ls
16. At this point you should be able to see the name of the distro say ubuntu sooooo
17. #cd ubuntu
18. #sh ubuntu.sh
19.Warnings code blah blah blah
20. #bootubuntu
21. PEOPLE USING LINUX INSTALLER COME BACK
22. You will have something like this #linuxboot
23. If you now get [email protected]:/# or Linux-ARMEL:/# or similar yay we are now running a distro parallel to android in chroot which is awesome!!!!!
At this point feel proud because regardless to gui etc you have linux.
Worst comes to worst recompile kernel again with loop support for the people doing customs and check your code.
24. This is quite possibly the worst part and most time consuming #apt-get update that will take for ever
25. Once that finishes #apt-get install openssh-server once thats done type #passwd and set your passwords etc
26. And then #apt-get install tightvncserver
This will require xxx space and needs to do blah blah blah when given the option Y/n choose Y for all of these
27. Ok in ubuntu if it goes phyco #export LANG=en_US.UTF-8 that will get rid of germain and bring english back debian etc dont worry only seems to be ubuntu
28. LG GT540 came out 600mhz so on any system we want lxde or similar so #apt-get install lxde
29. Now personally i dont run lxde on startup because i like to tinker and i dont mind writting the code in terminal after i boot the system takes all of what five seconds but if you want it to run on start up
cat > /root/.vnc/xstartup
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
icewm &
lxsession
Then hit Ctrl+D twice and enter to save the file.
30. Now for me after boot i do this
#export USER=root
#vncserver -geometry 1024x800
If your using above you only do this once for me i do it everytime
31. Run #ifconfig to get your ip addy etc
32. This is something i do just to make sure #swapon -s
33. Now the tightvnc server is ready to connect to your phone or computer. Just point to the IP address and use port number 5901 to connect.
THAT SHOULD BE IT ALL SET AND READY TO GO OF COURSE YOU CAN ADJUST HOW YOU LIKE AND DO AS YOU WISH
MANY THANKS TO ANDROLINUX.COM LINUX INSTALLER FROM ANDROID MARKET AND GOOGLE FOR MANY WEB PAGES I VIEWED
IF I USED ANYTHING YOU PIONEERED ITS ONLY SO I CAN SHARE WITH OTHERS AND TAKE THIS TO THE NEXT LEVEL
HAPPY MODDING TO ALL AND I HOPE WE CAN ALL WORK ON THIS AND HELP OUT.
how would you do it?
Ubuntu jaunty supports ARM-V6 Architecture
And all the smaller Linux systems supported Pentium 2 processors slash hardware
Pentium 2 processors started at around 300mhz with smaller caches and buses then our device
Android is based on Linux our cyanogen mod system is based on 2.6.29
So in essence we should be able to port several Ubuntu / Linux flavors to our device and run them through a virtual machine off the SD card using loop device and swap or as a dual boot by flashing the Ubuntu / Linux system to what we know at the moment as the recovery partition
any help we can get to do this is needed anyone and everyone
Sent from my GT540 using XDA App
Ubuntu 8.04 'Hardy heron' is compatible to
Anyone???
Sent from my GT540 using XDA App
Danzano said:
Ubuntu 8.04 'Hardy heron' is compatible to
Anyone???
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
Once i get v2.1 working proberly and uploaded i might look into this
Sent from my GT540 using XDA Premium App
Sweet
Sent from my GT540 using XDA App
Biggest problem ATM is the arm 6 architecture I've downloaded natty and set up my build environment so starting to work on things now properly but regardless I know this project will take time and be frustrating
Sent from my GT540 using XDA App
why don't try debian?
I'm currently using rc1 eyecandy because I have a fetish for nice GUI s
I like what I've heard about debian but looking at screenies it just didn't look like my thing lol tbh it looked like a hollowed out version of Ubuntu
What's the benefits of debian if I did switch?
Sent from my GT540 using XDA App
already available to download for armel -> so i think it would be easier 4 you to port (i think there are no/not so big differences between armel & armv6).
btw debian is the father of ubuntu and their repositories/paths/commands are compatible.
smg72523889 said:
already available to download for armel -> so i think it would be easier 4 you to port (i think there are no/not so big differences between armel & armv6).
btw debian is the father of ubuntu and their repositories/paths/commands are compatible.
Click to expand...
Click to collapse
Repos are not compatible.
Ill look into armel tonight see what I gotta do
Sent from my GT540 using XDA App
Check this!
I got ubuntu with LXDE running. Gnome does work but takes too much memory and long time to load. LXDE is Light fast and Quicker at loading. Here is my video. But it is chrooted (running alongside android and off the sdcard)
Here is the Link
LG GT540 Running Ubuntu
That's why I'm working on x11 etc to see if the GUI. Could be full size yet fast and lighter on hardware less mem 2d no hardware acceleration etc
Sent from my GT540 using XDA App
Debian lenny armel working great its stable and useable with lxde still working on it but its the most promising so far
Sent from my GT540 using XDA App
hey guys this is debian lenny will post pics of ubuntu running same gui later
So far ubuntu seems slower than debian but im trying to get ubuntu to be abit quicker
also im going to start experimenting with triple boot as in adroid then debian lenny on recovery partition and ubuntu through chroot anyone that has any advice would be good also anyways to re compile these so they run quicker would be good to is there anyway to compress etc
oh also wifi etc etc is all working reads system etc etc so is good to use not some pointless project
my vnc server refuse to connect, can anyone help me??
now it's working but, it's all grey in 24bit color.
what is you color mode and resulotion
Danzano said:
hey guys this is debian lenny will post pics of ubuntu running same gui later
So far ubuntu seems slower than debian but im trying to get ubuntu to be abit quicker
also im going to start experimenting with triple boot as in adroid then debian lenny on recovery partition and ubuntu through chroot anyone that has any advice would be good also anyways to re compile these so they run quicker would be good to is there anyway to compress etc
oh also wifi etc etc is all working reads system etc etc so is good to use not some pointless project
Click to expand...
Click to collapse
maybe you could add a guide to the start post on how others can do this
Star post tut would b great nice job!
MY ANDROIDSKY
afpereira said:
my vnc server refuse to connect, can anyone help me??
now it's working but, it's all grey in 24bit color.
what is you color mode and resulotion
Click to expand...
Click to collapse
My vncserver is 24bit colour
Vncserver geometry is 1024x840
Dont know why but that resolution was best for me also if that doesnt work try 1024x800 or 860x480 etc youll find one best for you
Ill post a easy tutorial in start post today so everyone can have
Also im trying to place a linux boot.img on recovery partition but our phones mem wont hold system or data etc would it be possible to create a script where on boot it reads the sd same as hdd for pc ??
If this is possible we can have tri boot if we wanted or atleast dual
Sent from my GT540 using XDA App
http://forum.xda-developers.com/showthread.php?t=1119555
Logically speaking, this application should also work with the Bionic correct?
Just wondering, if its deemed safe in this thread to attempt using, I will try it and post back with results.
---------- Post added at 12:30 AM ---------- Previous post was at 12:08 AM ----------
Okay, so I just backed up everything and tried the app, which won't work due to the fact that it checks the phone model number, Theres a manual guide to get ubuntu running on the atrix, and I'm going to start from scratch there. Probably going to be a couple of days before I do anything since I need a new microhdmi...
I tried the app that comes with it to partition the sdcard but it does a device check then it stops with an error message that the device is not an Olympus (Atrix). Maybe we can get the dev to check on the differences, albeit small, for the Atrix and the Bionic.
Worth a shot. I've been playing around with /osh for a few days but had to reflash to stock due to the lapdock staying on the screensaver.
Hey guys, I am working on the same thing at the moment trying to port over Sogarth's method of unlocking the 10.10 maverick build of Ubuntu on our phones.
http://forum.xda-developers.com/showthread.php?t=1000316
The link here is for his old automated .bat script he made for the Atrix that I believe will work for our phones with a little modification to it to reflect Maverick packages instead of the Jaunty packages for their phones.
Please jump into the irc in my sig because I would like to get this going as well.
I would hop in IRC but I'm about to head out the door.
I'm currently approaching this situation from two directions:
1.) I'm dumping /osh/ (webtop partition) and uploading it to dropbox as soon as I can get a complete dump. (hopefully tonight) and providing it to the original Atrix dev to see if he can hook us up with an app to help do whats needed
2.) I'm also attempting the manual method as soon as I get a new microHDMI cable (I was using a cheap adapter).
You are 100% correct though, you should be able to get that install script working just by changing the packages to reflect the updated Ubuntu. MAKE SURE you backup ANY files before you change them (and preferably a complete backup of /osh/. Since we have SU on our phones we have free reign over the /osh partition, so be careful in there.
OT: I can't wait until we can get on-demand CPU overclocking for this thing... if it clocks as well as past mobile chips... Toggle 1.2-1.4ghz and plug it in the LapDock. You'd have a damned fine netbook...
(Not necessarily talking to any experienced users or noobs, the disclaimer about Linux & SU is for everyone reading this thread - I'm relatively experienced in the Linux world... and I need to be reminded of SU's power sometimes.)
I just realized that their phone's Ubuntu distribution is under the 9.x series versus the 10.x series. A lot of Major changes happened to Ubuntu between 9.x and 10.x that affected the way the operating system talked to devices and booted, they stopped using HAL and moved to a new boot method, I am uncertain whether or not the install script will work or not, though I'm somewhat confident it will, given the nature of webtop (Android does the hardware abstraction, and the booting, we just run a second set of executable's on a different X window session attached to a different display) This should mean that the portions that would normally prevent us from just duplicated the script are omitted from the Ubuntu distribution entirely. As long as we keep a backup we should still be fine.
No worries, just remember to keep FXZ and RSD handy. I've screwed up the /osh partition a couple times but that has saved me from complete disaster so far
Good call on bringing this up. Let me know if you need to test anything for this.
@xaero252
So I modified Sogarth's script to use Maverick build of all the tools it downloads and installs but the problem with the script is that it needs the phone to have the ro.secure=0 so that ADB always launches with root access without manually initiating su each line of code. I am not sure if there is a way around it or if we have to modify the script differently. Anywho, I've upload a copy of the work I've done to the script.
Is it just an sh script? If so and ut doesn't reboot the phone at all you could launch a SU terminal and do "su sh script.sh"
oh i see the issue now... we would have to be able to edit the boot loader for that method... if i'm correct though his android app doesnt use the pc for much... if you change that variable on boot do you think it woukd work?
Hmm, I have an idea, its not as polished as the pc based script, however it should still work presuming you can get a SU terminal to run on the phone ( I happen to have one running right now ) I'm going to see if I can't adapt that to a bash script. probably going to take a while.
Curiously we happen to have a 1.5gb partition for Ubuntu on built in memory, where as the atrix only had a 600 or so mb partition... This is great because we should likely be able to continue to install /, /boot and such to internal memory, and use the sd card (even left as ntfs) for /home...
Couple of things: reading through the script it looks like 100% of the commands he runs could be run on the phone via a bash script run as su. The idea is this: convert the entire script over to bash, copy the script, and the required files to the phone, and execute the script from the phone. The only other concern I can see is the wget package included with the script not being compatible with maverick, which doesn't seem likely.
I'm gonna start working on rewriting the script linux native. My idea is to use a terminal emulator (they are free on the market) and run su script.sh and pray. I need to get a new microHDMI before I do this though, so I can test my results reliably.
xaero252 said:
Is it just an sh script? If so and ut doesn't reboot the phone at all you could launch a SU terminal and do "su sh script.sh"
oh i see the issue now... we would have to be able to edit the boot loader for that method... if i'm correct though his android app doesnt use the pc for much... if you change that variable on boot do you think it woukd work?
Click to expand...
Click to collapse
As far as correcting that, no one has attempted doing custom kernels yet so to do the edit to get root access out of the gate is moot at this point.
Hmm, I have an idea, its not as polished as the pc based script, however it should still work presuming you can get a SU terminal to run on the phone ( I happen to have one running right now ) I'm going to see if I can't adapt that to a bash script. probably going to take a while.
Click to expand...
Click to collapse
Your linux skills are probably 10 folds better than mine but I believe if you convert my modified script, which has all the necessary links to the correct packages for our phone, then it might just work.
Curiously we happen to have a 1.5gb partition for Ubuntu on built in memory, where as the atrix only had a 600 or so mb partition... This is great because we should likely be able to continue to install /, /boot and such to internal memory, and use the sd card (even left as ntfs) for /home...
Couple of things: reading through the script it looks like 100% of the commands he runs could be run on the phone via a bash script run as su. The idea is this: convert the entire script over to bash, copy the script, and the required files to the phone, and execute the script from the phone. The only other concern I can see is the wget package included with the script not being compatible with maverick, which doesn't seem likely.
Click to expand...
Click to collapse
The WGET I packaged in the .zip is the correct for Maverick along with all the files in the \bin directory are corrected to match our phone. If you can convert all this to a bash script, that would be awesome instead having to do each command via ADB Shell. The only problem I had with this is every time I tried to run the DPKG command on the .deb I downloaded manually, it threw up an error saying it could not find the file or destination.
On a side note, you are correct that we have 1.5gb partition opposed to their 700mb so we could honestly forget the part about creating a ubuntu.disk on the /data partition and modify the /osh directly for now until the time we need more space. After that, we can see if Sogarth will incorporate your script into his Webtop2sd app or we could make a 3gb ubuntu.disk on the /data partition since we have plenty of space there.
I'm gonna start working on rewriting the script linux native. My idea is to use a terminal emulator (they are free on the market) and run su script.sh and pray. I need to get a new microHDMI before I do this though, so I can test my results reliably.
Click to expand...
Click to collapse
Make sure you get the adapter as well to trigger Webtop cause at the moment our phone wont do webtop directly over HDMI without the HD Dock, Webtop adapter or Laptop dock. If you want to test the script out for now, hit me with the script and I will test it for ya
Since we got a x86 cpu i want to use ubuntu on it, as im from germany i still dont have my I but has anybody tried linux on android?
Adam Outler mentioned something that this would not work...
Btw can somebody tell me what the kernel version is..?
Sorry mods for (possibly) posting in the wrong section :/
//Robert
Sent from my LG-P500 using xda premium
Robbilie said:
Since we got a x86 cpu i want to use ubuntu on it, as im from germany i still dont have my I but has anybody tried linux on android?
Adam Outler mentioned something that this would not work...
Btw can somebody tell me what the kernel version is..?
Sorry mods for (possibly) posting in the wrong section :/
//Robert
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Kernel version is 3.0.8.
If you can install linux distros on the backend of rooted ARM devices it should make sense we could do the same....maybe
Ubuntu on a RAZR I ? Linux x86 apps + windows apps with wine without even recompile? I think this devece needs some love. It can be the next HTC HD2 for shure.
I dont understand the htc comparison
But i have your ideas about no need to recompile and wine in mind too...
But i understand adam because linux for android is compiled for arm achitecture so a usual desktop image would make more sense...
Why is the kernel version so low?!
Sent from my LG-P500 using xda premium
What we need to do
I have a friend with this device, after rooting he reports there is no chroot command from terminal. If so we must:
Compile busybox (with more extensions) for x86 and install it alongside root (or after root)
Make a mountable image from an ubuntu clean install and mount it (probably also needs busybox)
chroot into this mounted image
run a vnc X server on a framebuffer
vnc from android
This is how it is done on other android devices, will attempt to compile and try these instructions out this weekend when I meet him but booting native ubuntu is a much better idea (even better if we can make it receive calls ).
And for what Windows on 4,3 inches display? It dont have hdmi.
Odoslané z GT-P7300 cez Tapatalk 2
The micro usb is acting like hdmi with adapter...
Sent from my LG-P500 using xda premium
Go look up the HTC HD2. It can run Windows Phone 7 and Android dual-booted (with Linux from SDCard), and was originally the last, albeit most powerful, Windows Mobile 6 phone ever made.
Even though it is four years old, there is a massive and vibrant dev community behind it, making it reach the front page of XDA forums.
However, even the venerable HD2 is getting old, with 1GHz processor and half a gig of RAM that was top-of-the-line years ago, and people have looked in vain for some kind of successor. Hopefully, the Razr I, with an unlockable bootloader and Intel processor, will be the one. But that remains for us to do.
pablocrossa said:
I have a friend with this device, after rooting he reports there is no chroot command from terminal. If so we must:
Compile busybox (with more extensions) for x86 and install it alongside root (or after root)
Make a mountable image from an ubuntu clean install and mount it (probably also needs busybox)
chroot into this mounted image
run a vnc X server on a framebuffer
vnc from android
This is how it is done on other android devices, will attempt to compile and try these instructions out this weekend when I meet him but booting native ubuntu is a much better idea (even better if we can make it receive calls ).
Click to expand...
Click to collapse
So I tried this out and there is a chroot-compatible busybox after rooting ("busybox chroot" needs to be called as opposed to "chroot" as there is no properly made link), so anyone with this phone can try (using a PC) install Ubuntu without the grub bootloader using manual partitioning on a single ext3 (I am not sure if ICS supports ext4) partition on a microsd, put into your phone, use a root terminal, mount it, mount the adequate dev, dev/pts, proc and sys partitions and chroot right in. You then might want to install a VNC server in Ubuntu to be able to create a VNC X session in a framebuffer and a VNC client on the android side to VNC into localhost (127.0.0.1), but that should work, I didn't have time to try it this weekend If someone gets stuck post and let us see what happens I cannot wait to see if wine can run desktop Spotify with sound, excited a little hehe.
EDIT: So to make this more understandable you must:
Install Ubuntu (using your computer) to a MicroSD, specifying partitions manually and choosing only a single ext3. Right before clicking install there is a button with something along the lines of "Advanced options", disable the install the bootloader (grub) option.
Insert the MicroSD into the phone and open a root terminal
I don't use Android, maybe it automounts in /media/sdcard or /sdcard, if not you will have to find the device and partition name (probably /dev/mmcblk0p1 or /dev/sdb1) and issue "mount /dev/DEVICEPARTITION /media/sdcard"
mount -t proc proc /media/sdcard/proc
mount -o bind /dev/ /media/sdcard/dev/
mount -t devpts devpts /media/sdcard/dev/pts
busybox chroot /media/sdcard /bin/bash
Now a shell from Ubuntu should open. apt-get update && apt-get install vncserver (maybe the DNS settings must be set in /etc/resolv.conf, not yet sure)
vncserver (or start vncserver, something along those lines)
Now from Android install a VNC viewer and vnc into 127.0.0.1 (or localhost)
That should do it, again if you get stuck post here
i had htc hd2, the most amazing phone in the world. I wanna buy the rarz i for the x86 processor in it. But cpu power without community and developers is nothing :|
Sorry for my bad english.
Yesterday we tried something:
We used dd to put an arch linux image on a micro sd card...
Though my laptop wasnt even able to boot from any sd card, this should work on our phone...
but how to make it boot from the sd card? xD
btw you might have noticed, this will make only linux boot, not android, we dont chroot, may somebody build a simple ubuntu img for complete linux installer?
//Robert
so right now i am trying to chroot into an img file, mounting it and then chrooting it but all i get is:
chroot: can't execute '/system/bin/sh': No such file or directory
whats wrong?
Robbilie said:
The micro usb is acting like hdmi with adapter...
Click to expand...
Click to collapse
Razr i MHL capable???
as far as i know, sadly not no
Ok so finally I got Ubuntu Quetzal running with chroot, still some problems (missing randr extension in vnc) but ill get over this
Hey,
great work. :good:
Good to see there are people with the same ideas. I´ve searched a lot for this thread.
I will also try to get this device for the same reasons when it´s cheaper. Has anybody tried to get Plasma Active or Tizen to run?
I think Active should now be possible through kubuntu Active?
Cheers!
Hi all
At first you can try a application from play store called Linux installer
https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid
Otherwise you can wait some weeks for an nexus 7 Ubuntu port witch looks really interesting.
http://forum.xda-developers.com/showthread.php?t=1957561
Ahhh maybe have a look at the andrinux project here at xda
[/COLOR]Here's the andrinux link
http://forum.xda-developers.com/showthread.php?t=1387105
Sent from my sweet little Blackbox
Robbilie said:
Ok so finally I got Ubuntu Quetzal running with chroot, still some problems (missing randr extension in vnc) but ill get over this
Click to expand...
Click to collapse
thanks for your post on preparing an arch image (I don't have permision to post in devel forum, maybe because I'm a newbie ), It worked well for me although I had to adjust some things such as path and pts mount
I now have a gcc toolchain and a latex distrib on my phone I had never used arch, found it very good
I've also tried some window managers ... the one I find best for the moment is enlightenment in the touchscreen mode, awesome works great as well.
I would also suggest to use Hacker's keyboard instead of stock android, it is a complete keyboard, very usefull when dealing with terminals ... as for VNC viewer, one should recompile android-vnc-viewer with the patches given in Issues 238 and 239 (can't post links either), it's a lot better
I've had a lot of fun, thanks
First, Complete Linux Installer doesnt work because its images are compiled for arm not x86 (i tried )
Secondly, I did a tutorial here http://forum.xda-developers.com/showthread.php?t=1966984
the nexus 7 stuff is interesting and we consider making flashable fastboot for the razr i since we dont have cwm or such you know
i am talking to jordan keyes who recently owned a nexus 7 who probably will try out the ubu stuff and i might get some system info
but i would really prefer a dual boot, capable of booting from sd...
I came across this site today:
http://www.pvsm.ru/wine/10369
translated here
I don't know if this could possibly help you any further but I thought that I might as well post it.