yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Android Development] anantshri:
tuxcmd gives you terminal shell for GUI / VNC first execute ui that will setup vncserver.

NOTE : default password 12345678 in my latest image

if you want to change it run vncpasswd command inside tuxcmd shell.

now you can use GUI inside VNC.
[XPERIA X10 Android Development] Meikrekel:
And how do I execute UI?
[XPERIA X10 Android Development] anantshri:
tuxcmd -> ui

i.e.

root@localhost~:# ui

after tuxcmd you get root prompt on this root prompt type ui....

all done..
[XPERIA X10 Android Development] Meikrekel:
Allright, I've installed your version of ubuntu where LXDE was allready included. Works like a charm!

Can you give instructions on how to install that netbook interface?
[XPERIA X10 Android Development] anantshri:
you have two options

1) wait for few more hours posting another img file with Netbook interface

2) download netbook edition yourself

apt-get install ubuntu-netbook netbook-launcher-efl

should do the job.

however you will get stuck at configuring the xstartup file lateron... when you rach that stage just ping back will share the xstartup by then coz i am running in an unoptimzed manner so thinking of doing it in optimized manner.

after that next image will be the with the display manager from maemo.... if i am able to get it running.

Thread Title Changed : DEVELOPMENT added

to mark all the developmental work we are doing here.

once we get ready with list of images then will open another thread to share the stuff with proper screeshots and details instruction :D
[XPERIA X10 Android Development] Meikrekel:
Lol yeah I came to the point of sudo apt-get install ubuntu-netbook netbook-launcher-efl but my question was indeed about the xstartup file haha. Nvm, I'll wait (that's good for me, since I should be learning chemistry right now:P)
[XPERIA X10 Android Development] anantshri:
@DooMLoRD Would you like to give this a try... I am eagar to get my hands dirty however right now hands preety much full and you seems to understand bootloading better the me...

What say..
[XPERIA X10 Android Development] DooMLoRD:
oh i just checked they already have version out for Nexus One (N1)... X10 & N1 have the same chipset QSD8250... so i guess u can use those files to make it a bit easier to port it to X10...
[XPERIA X10 Android Development] DooMLoRD:
yes!!!!

yes!!!!

tell me wht exactly u want to test?

BTW: in my opinion instead of starting off on Meego porting... first port Ubuntu fully and then shift to Meego... this is just my opinion...
[XPERIA X10 Android Development] anantshri:
That i already saw and that's why i thought that Meego porting won't be a big problem.\

NOTE : only reason for interest in Meego was the telphony stack being prebuild.

I wanted to test that procedure given in link regarding the samsung dualboot and the workaround on chargemon you suggested to allow for dualbooting into native shell that would be a good start.

or what we can do is lets first complete some work on these chroot images... I am planing of building 3-4 different flavours of it.

1 already done,1 in making, 2 experimental.

after all this we both can work together for dualbooting...
[XPERIA X10 Android Development] Meikrekel:
Isn't it possible to rip that phone out of meego and install it on ubuntu? Meego is based on Maemo, and Maemo is based on debian. So it should work on ubuntu I think
[XPERIA X10 Android Development] DooMLoRD:
ya sure no problem... once the main system/images are ready we can start off with testing for dual-booting...

already d/ling LXDE version....
[XPERIA X10 Android Development] OmegaRED^:
@anantshri

Agreed.. no physical keyboard = buzzkill.

This is why i was so hyper.

I wasnt sure of it's status.

This whole thread = awesome
[XPERIA X10 Android Development] Meikrekel:
I posted a solution for that 1 or 2 pages back;)
[XPERIA X10 Android Development] anantshri:
they are forked out of linux tree structure not ported and hence the features developed specifically for maemo or meego not necessarily available in debian / ubuntu.

also we are right now working on ubuntu as its a bit easier to work with on interface side which again is a fork of debian.

So we will need to deep dive into the basics and see if we can rip off the telephony component from meego / maemo or some component is there in debian / ubuntu for the same... as shown on your video you shared.
[XPERIA X10 Android Development] Meikrekel:
I'll e-mail the guy whose video it was
[XPERIA X10 Android Development] Meikrekel:
This is just a simple tip: install lxlauncher (sudo apt-get install lxlauncher), it's the netbook launcher of LXDE. I know it's not very beautifull but it works quite well!
[XPERIA X10 Android Development] widy:
i've error message :(

when i type : ui

there is error message :

/root/bin/ui : line 10 : vncserver : command not found.

What must i do?

How the way to install vncserver through terminal emulator?

when i type "config" on root@localhost~:# prompt i got error message :

....

Reading state information ... Done

E : couldn't find package lxde

/root/bin/config: line 9: return: can only 'return' from a function or sourced script

/root/bin/config: line 15: syntax error near unexpected token `}`

/root/bin/config: line 15: `}`

What's that mean? how to fix it?
[XPERIA X10 Android Development] anantshri:
Hi Widy,

you seems to be using my step by step procedure...

I would recommend you to take a look at the UPDATE 12 April section only that contains a 300+ MB download megaupload link will all necessary tweaks in places.

Note : the errors are because of errors in the script that i wrote earlier. Removing them from the first post also to avoid any confusion.
[XPERIA X10 Android Development] anantshri:
First Post of Thread updated with more relevent details removing old scripts to avoid confusion

also update on netbook edition image

image is complete just compression in progress after that upload will be performed and link will be shared.

Next target is the display manager of maemo link provided in the thread by Meikrekel
[XPERIA X10 Android Development] widy:
Hi! :D

Great, thanks for fast response! :)

And, i need help :( can u upload pre-installed lxde to another server like a mediafire ? I can't access megaupload via my internet access :(

Thanks in advance :)
[XPERIA X10 Android Development] anantshri:
mediafire only allows for 200 MB max file size is above 350 MB... can you suggest some alternate upload location except megaupload keeping in mind next image is around 750 MB.
[XPERIA X10 Android Development] widy:
Owh, i'm sorry..

Maybe you can split it in 2 or 3 parts of that file..and then upload it to MF?! :)

Great Thanks :)
[XPERIA X10 Android Development] anantshri:
will try that buddy.

right now netbook edition upload going on... i am splitting the files and keeping them at my system will upload and provide the link hopefully in 24 hrs.
[XPERIA X10 Android Development] jimbo77:
If you upload different files you should try with dropbox it is easier and everyone has access to its links :)
[XPERIA X10 Android Development] SErooted:
this is what im getting. with the new 123 step. i am using adb to test and will be using terminal from there on out once working. any ideas would be greatly appreciated.

C:\Users\SErooted>cd c:\sdk\tools

c:\sdk\tools>adb shell

# su

su

# cd /sdcard/ubuntu

cd /sdcard/ubuntu

# starttux

starttux

mknod: /dev/block/loop255: File exists

mount: mounting /dev/block/loop255 on /data/local/mnt failed: Device or resource

busy

mount: Device or resource busy

mount: Device or resource busy

mount: Device or resource busy

net.ipv4.ip_forward = 1

Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4

starttux: cannot create /data/local/mnt/etc/resolv.conf: read-only file system

starttux: cannot create /data/local/mnt/etc/resolv.conf: read-only file system

Setting localhost on /etc/hosts

starttux: cannot create /data/local/mnt/etc/hosts: read-only file system

Brought to you by NexusOneHacks.net and the open source community!

Customized by Anant shrivastava http://anantshri.info

Ubuntu loaded to use it just type 'tuxcmd'

Enter 'y|Y|yes|YES|Yes' for advance setup any other for shell tuxcmd

tuxcmd

Starting Shell

starttux: 40: Syntax error: "}" unexpected

#

i have made it as far as the root@localhost~# and get another error

root@localhost~# config

bash: config: command not found

root@localhost~#

thanks guys/girls:-)

Nevermind everyone. my problem is solved. i was being a retard. lol. most simple thing ive ever done. once i had the files it was cake. i didnt even need the lxde files. i took the original script files. and the ubuntu.img files and installed it with the same simple commands.

adb shell

#su

su

# cd/sdcard/ubuntu

starttux

tuxcmd

followed the prompts and i was done!
[XPERIA X10 Android Development] DooMLoRD:
post the output of the following:

c:\sdk\tools>adb shell
# mount
[XPERIA X10 Android Development] SErooted:
Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\SErooted>cd c:\sdk\tools

c:\sdk\tools>adb shell

# mount

mount

rootfs / rootfs rw 0 0

tmpfs /dev tmpfs rw,mode=755 0 0

devpts /dev/pts devpts rw,mode=600 0 0

proc /proc proc rw 0 0

sysfs /sys sysfs rw 0 0

tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0

/dev/block/mtdblock2 /system yaffs2 rw 0 0

/dev/block/mmcblk0p1 /system/data2sd vfat rw,noatime,nodiratime,fmask=0000,dmask

=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,errors=remount-ro 0 0

/dev/block/loop1 /data ext2 rw,nosuid,nodev,noatime,nodiratime,errors=continue 0

0

tmpfs /dev tmpfs rw,mode=755 0 0

devpts /dev/pts devpts rw,mode=600 0 0

tmpfs /mnt/asec tmpfs rw,mode=755,gid=1000 0 0

/dev/block/mtdblock1 /cache yaffs2 rw,nosuid,nodev 0 0

/dev/block/vold/179:1 /mnt/sdcard vfat rw,nosuid,nodev,noexec,fmask=0000,dmask=0

000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,errors=remount-ro 0 0

/dev/block/vold/179:1 /mnt/secure/asec vfat rw,nosuid,nodev,noexec,fmask=0000,dm

ask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,errors=remount-ro 0

0

tmpfs /mnt/sdcard/.android_secure tmpfs ro,size=0k,mode=000 0 0

/dev/block/dm-0 /mnt/asec/com.qualcomm.qx.neocore-1 vfat ro,dirsync,nosuid,nodev

,noexec,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortn

ame=mixed,utf8,errors=remount-ro 0 0

/dev/block/dm-1 /mnt/asec/com.rovio.angrybirds-1 vfat ro,dirsync,nosuid,nodev,no

exec,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname

=mixed,utf8,errors=remount-ro 0 0

/dev/block/loop255 /data/local/mnt ext2 rw,errors=continue 0 0

devpts /data/local/mnt/dev/pts devpts rw,mode=600 0 0

proc /data/local/mnt/proc proc rw 0 0

sysfs /data/local/mnt/sys sysfs rw 0 0

#

alas i thought i had it. please disregard my previous post. adb shows all went well and packages were installed but when attempting to start with terminal.... nada:-(
[XPERIA X10 Android Development] anantshri:
Will upload on dropbox looks like a good option. I do have an account at dropbox too. :)

Ohk some tips.

if i am correct based oon your mount output.

sh ubuntu.sh sucessful

starttux sucessfull.

now to gain shell try tuxcmd.

keep in mind tuxcmd also requires you to be root.

for config error

run this command

sh /root/bin/config

I in old scripts i forgot to set proper permissions to it.

All this tiny errors in scripts is what made me remove the scripts all together and upload preconfigured files.
[XPERIA X10 Android Development] anantshri:
Netbook Launcher Pre configured image upload and linked on the main page.

Note: its a big file 775 MB.
[XPERIA X10 Android Development] SErooted:
i have had better success. since my last post. however... i am not seeing a ui or gui different than that of being in terminal. if i close my terminal, im back on my android os screen. and really i am confused as in terminal it tells me that the vnc is already running but i dont have a different ui.

as of now... i had further success with the older files.

now am not able to even config at root@localhost~# config..

prior to using the lxde files i was able to load and configure the setup all together than started getting syntax errors at line 9,15,19.

and finally i got a syntax error 40.

right now everything seems to have been running and installed correctly. but i am not able to config anything. which i guess is where my ui comes into place after installing packages is done?
[XPERIA X10 Android Development] anantshri:
Ohk,

GUI mode is available through VNC viewer

download android vncviewer on your phone and set following settings

address: localhost

nick : any nickname you want to keep

password : 12345678 or what ever you have set for vnc

port : 5901

and then connect that will do the job.

PS : inside vncviwer go to input mode setting in that selet touchpad for better control over mouse.

ALSO new LXDE configured image doesn't have config as an option... Please check first post its modified to remove all confusion...
[XPERIA X10 Android Development] anantshri:
We are getting backtrack on ARM soon.

Backtrack 5 or later will have a version / chroot image for ARM series.

so backtrack fans we got our wishes done.

http://www.offensive-security.com/backtrack/backtrack-5-on-a-motorola-xoom/

we need to keep a keen eye on this development too as they are in same state as our project however they will also be striving hard to work on getting proper dual booting or atleast packet injection and driver support for all work.
[XPERIA X10 Android Development] Meikrekel:
W00t, I'm done with my exams!!!!!! Just asking for a small progress report: any progress regarding the dual-boot?
[XPERIA X10 Android Development] SErooted:
I am not getting the error after typing in tuxcmd of chroot cant change directory to /data/local/mnt operation not permittted

what to do?

nevermind. being a retard again. i got it. let let you know how this next test goes and see if i finally have it down
[XPERIA X10 Android Development] anantshri:
Hi Buddy dual boot is not something i am targetting right now.

Working on getting basic interfaces right firstly.

Dual booting require more work on internal aspects lets get these image part sorted out them DoomLord and all of us will work on the dual boot part.

Right now Drop box links updated on first post and netbook interface images uploaded.

so today i am starting on Hildon and will see to it that i am done with hildon image by end of night so that after this i can start working on a Backtrack style image for all my work.

PS : we have got competition Backtrack is also working on porting there tool chain on arm chroot ubuntu image.
[XPERIA X10 Android Development] Meikrekel:
In that case, I'll start working on Hildon as well! Man, this project is soooooo exciting:D
[XPERIA X10 Android Development] DooMLoRD:
great news!!!

so when do u want to start off with dual booting testing???
[XPERIA X10 Android Development] anantshri:
Hoping to complete Hildon by tomorrow.

so Friday night or saturday we can give for dual booting... saturday night i will be travelling so sunday full day again we can devote on all this.

Would plan out something will PM you as soon as i am ready to start on it.
[XPERIA X10 Android Development] DooMLoRD:
some problems with download...

i d/led the files (NEETBOOK_parts) from dropbox links...

now while extracting i am having issues "broken ubuntu.img"

can u post the md5/sha hashes for each file? [it will be easier to verify if it was downloaded properly or not]
[XPERIA X10 Android Development] anantshri:
82af57faf360b3f1921b6def4acfe466 LXDE.7z.001

a59025db138780db79d69f417c4e9f91 LXDE.7z.002

08818edcb1b3fff293557d8e56a65bc4 NETBOOK_parts.7z.001

58f0561ed74f0f815f045b9014895313 NETBOOK_parts.7z.002

4dd9da548d04d7dece03468959a6993a NETBOOK_parts.7z.003

345804d086054bd446397384245ac2db NETBOOK_parts.7z.004
[XPERIA X10 Android Development] DooMLoRD:
hey thanx!!!

my second file (NETBOOK_parts.7z.002) was screwed up....

restarting d/l

P.S.: @all - those are MD5 hashes...
[XPERIA X10 Android Development] anantshri:
One small pointer

in Netbook mode change input mode to mouse pointer control mode.

I keep LXDE in touchpad mode and netbook on mouse pointer control mode..

hope that will help
[XPERIA X10 Android Development] Meikrekel:
If I want to get a different desktop working (for example KDE), what files do I need to change?
[XPERIA X10 Android Development] anantshri:
basically all you need to do is install the desktop enviornment using apt-get install

and then xstartup inside ~/.vnc/ folder is where we are making the changes....
[XPERIA X10 Android Development] Meikrekel:
Found an interesting article regarding a dualboot. This one is for the nexus one and uses fastboot (I know that isn't possible on our x10). It's just so we know a bit more about how everything works et cetera.

http://www.irregular-expression.com/?p=30
[XPERIA X10 Android Development] anantshri:
adding more food for brain these are links i collected for checking once my hildon desktop is working....

http://xdaforums.com/showthread.php?t=709101

https://github.com/amipro/sphone/wiki/

http://ofono.org/downloads

http://xdaforums.com/showthread.php?t=702742&highlight=usb+host&page=8

http://wiki.meego.com/ARM/MSMQSD/Initial_Work

http://repo.meego.com/MeeGo/releases/1.0/core/images/meego-n900-open-armv7l/

http://htc-linux.org/wiki/index.php?title=Leo/Builds#Ubuntu_for_HD2_v0.3

http://htc-linux.org/wiki/index.php?title=Photon

http://androidforums.com/samsung-i7500/81090-debian-dualboot.html

https://code.google.com/p/linux-on-android/
[XPERIA X10 Android Development] Meikrekel:
Wow, well done mate, looks like you found the application for making phone calls. BTW, just tested your netbook launcher version, works perfect (although I must say that it contains quite a lot of apps that are useless..).
[XPERIA X10 Android Development] anantshri:
the trick is to implement in our system buddy.

as for the applications right now i am installing the tasksel packages hence we can expect a lot of software not usable and lots of software which are usable but not installed.

Once we are done with all desktop managers then we can focus on building a application list.

till now my 3.5 GB image is at any point containing min 1GB free space.

also i am doing slight optimization as of now including deborphan and localepurge.
[XPERIA X10 Android Development] jimbo77:
This may sound stupid.... But i honestly don´t know how to put together the 4 dropbox downloads...

Please don`t flame me it´s an honest question...

Jim
[XPERIA X10 Android Development] anantshri:
Don't worry no buddy is going to flame you for asking questions.

ohk now the answer part.

just collect all 4 parts of image in one location and then use 7zip to extract from first file .001 ... it will automatically use all other parts.
[XPERIA X10 Android Development] anantshri:
Update on hildon desktop, tried installing and configuring in multiple ways however stuck @

feeling drowsy would continue working on this after i wakeup.....
[XPERIA X10 Android Development] Neo.:
OMG! Thank you so much! Never expected BT on x10. It would be epic!

I hope one day we will be in a position to successfully operate BT.

What do you mean? It's working now? :O (Confused)

Can't wait to get my x10 for wireless WEP cracking :D
[XPERIA X10 Android Development] anantshri:
Exactly my aim buddy.

two things..

1) I am trying to build an image which should have tools set from backtrack. coz right now as per my understanding Backtrack team is using the same method however planing to provide image for Tablets... so we need to work out ways to run it on X10i.

2) if you want wireless cracking check penetrate and few more wep cracking tools in android market...
[XPERIA X10 Android Development] RaDi:
Wow

this topic being intersting !
[XPERIA X10 Android Development] Meikrekel:
I'm having problems with VNC and the netbook image, everytime I run it, it makes a new localhost.

But I'll figure out what is wrong tomorrow, now I'm going to PSV Eindhoven - Benfica! Let's hope PSV can make it into the next round (they'll have to win with 3-0 for that..). :D
[XPERIA X10 Android Development] jimbo77:
I just wanted to say thank you! I know i'm spamming the thread but this is amazing... It's kinda cool to look at my friend's face (Most of them use BlackBerry and Iphone) when i show them i'm running Ubuntu on my CellPhone with Wirelles internet Access...

I feel really good about my X10!!! :D :D :D

Jimmy
[XPERIA X10 Android Development] anantshri:
is it saying localhost:1 everytime if yes then i don't think any issue and it it says localhost:1 :2 :3 then some problem

coz i have tried to prevent it by using a condition in ui script and i was hoping this should not occur.

Note : try running in on adb shell and post the output here....

EDIT : or am i thinking too much and you meant something else.
[XPERIA X10 Android Development] RaDi:
anantshri

Gr8 anantshri plz complet your awosom work !

i have 2 qustions :

1- why u don`t use a light Distribution of linux like xbuntu or bobby linux ?

is it reloted to ARM ?

2- any chance to make it faster ?
[XPERIA X10 Android Development] OmegaRED^:
anantshri has kindly asked me to post this.
[XPERIA X10 Android Development] anantshri:
Primary focus as of now is getting things working optimization will be secondary task also we have 120mb ram not getting used anyone having an idea can that be used now with new kernel if that works we can obviously increase speed also reason for not using others is I am aware of only two distros that have an arm port of linux. Debian and Ubuntu courtesy debian so that's why ubuntu as its more user friendly.
[XPERIA X10 Android Development] anantshri:
i am leaving hopes of configuring the hildon desktop interface not able to go far from this after spending 2-3 days on this.

So now shifting my focus towards two basic goal's.

1) a custom img with backtrack style tools.

2) attempting to do dual boot with help from devs help.

right now preparing my phone for dual booting

flashing .52 and installing a custom kernel to check dualbooting funda's and then will start working on my own customization on it.

EDIT :

OPTIMIZATION

I got few posts about optimization i need suggestion from thread readers as to what is considered as bloat and what as usefull so that baed on largest consensus we will keep application in the img rest could be installed by users per their need.
[XPERIA X10 Android Development] DooMLoRD:
hey man just post a clean ubuntu.iimg with hildon desktop manager.... hopefully some one can get it working...
[XPERIA X10 Android Development] anantshri:
I will post my work till now give me some time coz right now my phone is totally screwed i am back on SEUS updated version Baseband flashing is not working properly ... trying it again.

once i get their i will post in the ubuntu.img file on which i was working .... it has all the hildon related stuff in place with the current xstartup also configured.
[XPERIA X10 Android Development] Buddha:
What is the safest way to install this?
[XPERIA X10 Android Development] blisslove:
Just stay on your current Rom. :-P just kidding.

You can repair with SE comparison I guess if u did something wrong (didn't mean bricked).
[XPERIA X10 Android Development] Buddha:
Yeah, I know that LOL
[XPERIA X10 Android Development] rabetionline:
Speedup your SD-Card reading Speed as follow steps:

1-Download and install "SD Tools" app that attached below and run to inform your sdcard write and read speed before applying speedup patch.

2-Download and install "Script Manager".

3-download "sdcardspeed.zip" file and Move "sdcardspeed.sh" file into your SD-Card.

4-Run "Script Manager" program and select "sdcardspeed.sh".

in opened page: fill the "Run as Root" and "Run at Boot" check boxes and Save!

5- Reboot the phone and after reboot "Allow" superuser!

6-Run again the "SD Tools" and compare your SD-Card speed after applying the patch.

Progress in your SD-Card speed is depend on your SD-Card Class.

Why not asking for SU after ReBoot!? (Here's explaing of the problem!): Thanks to GlossGhost
[XPERIA X10 Android Development] GlossGhost:
Lol, it really does something, Read: 4.5 MB/s