[XPERIA X8 General] krzysiek_grucha:
Hello again!

I fought very well since yesterday and today I can tell You guys that I think it is working :) . I didn't test it much, but I can log into Debian, so that's somthing to start with :D .

First of all please notice, that this is not my port of Debian Linux, I just followed instructions available at (link was here) and it worked for me so I'm describing the whole process so maybe someone else will use it.

Unfortunatelly I was not able to post links in this guide due to XDA-DEVELOPERS.COM policies. I apologize authors of guides/startup scripts for removing their homepages. I will correct it as soon as I will be able to post links in my replies. If You need the links send me a PM and I will send it to You.

The guide from the above link is for HTC Dream (I guess), but it is also working on my Xperia X8 with Floyo 0.30 (Thanks to Racht :D!). I'm not sure if it will work on stock Xperia X8 ROM, but You can try.

Please also notice, that I'm not responsible for any damage to Your software/hardware caused by this guide. You're doing everything at Your own responsibility!

Before continuing You must know, that this guide is only for ROOTed devices. You wont be able to do anything without root access.

Perform a full system backup via xRecovery before doing anything. It'll help You to restore the system if something will go wrong.

So, after the short intro we should get going with the guide:

1) First of all follow the instructions available at (link was here) to download the Debian package (I tested it for 750 version of this package, but I think it'll work for 1,5GB also - the only difference is in the space available in You Debian installation after running it).

2) After downloading run /sdcard/debian/installer.sh as described in the above guide. I actually don't know what it is doing, but it is important to run it from for e.g. adb shell (please remember to check "USB Debugging" in Settings->Applications->For programmers before connecting via adb shell). Why it is important to do it this way ? Because I did it like this and it is working :) .

3) Now, I don't know if this is really important, but looking on the startup scripts for Ubuntu from Xperia X10 I changed my startup script (/sdcard/debian/bootdeb) in the following way:

As You can see I only modified line:

Because I was not sure if the loop2 device (it is set by default in this script) is free in Xperia X8 so I used loop255.

4) Now we'll proceed to the part which is causing the most of problems - Debian startup. The above guide for HTC Dream suggest us to run a command:

In every terminal You are able to run (including Terminal Emulator for Android, adb shell etc.), but I'm telling You, that these methods will fail and will cause Your phone to reboot after few seconds. Don't worry, I shouldn't brick X8, but as I said I cannot guarantee nothing. Every single case is different.

I suggest You to install SSHDroid from the Market, run it and allow it tu run as a superuser, then download Putty to Your PC and log in into Your Xperia X8 as a root (with "admin" as a default password, unless You changed it) and run the command from Putty:

It's done :D ! You're logged into Debian, now try to test the new environment, because I'm not sure what can be done in this installation :) .

I will now proceed to install VNC server in my Debian and maybe some GUI to access it later, but I'll post any new results if there will be some :) .