yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Android Development] Panarchy:
I'm guessing nodm manages the startup-scripts...

How do I use nodm to auto-login as my non-root user, startup X and calibrate the screen, in the same way the startup-scripts work with the root user?

Please help me get this to work.

Thanks in advance,

Panarchy
[Touch Pro2, Tilt 2 Android Development] amiPro:
For more information you can refer to http://www.enricozini.org/sw/nodm/

You can install it using apt-get install nodm.

Edit the configuration file /etc/default/nodm to enable nodm and set the username that you want to autologin.

Nodm starts X, no need to start it manually. Make sure that the symlink /etc/X11/X points to the correct server and set its startup parameters in /etc/default/nodm.

calibrate should be moved out of the user login scripts. It should be started somewhere during startup before nodm.
[Touch Pro2, Tilt 2 Android Development] tsaavedra:
Hello, Wifi no works in HTC touch HD, version 19/09 no found wlan0,eth0...

any solution???

I have tried

isnmod wl1251.ko : error

modprobe wl1251

ifconfig wlan0 up : error

thanks
[Touch Pro2, Tilt 2 Android Development] walter79:
Try zimage update

http://glemsom.users.anapnea.net/android2/htc-msm-linux/
[Touch Pro2, Tilt 2 Android Development] nizdiz:
Is there a way to expand the size of the local file system allocation?

I have Rhobuntu installed onto a 8GB micro SD and I would like to give it all 8 gigs to use for installed applications, or atleast 6.5.

It appears that the current file system is caped at 1.5.
[Touch Pro2, Tilt 2 Android Development] walter79:
https://wiki.ubuntu.com/ARM/RootfsFromScratch
[Touch Pro2, Tilt 2 Android Development] tsaavedra:
No solution, Same problem,?????
[Touch Pro2, Tilt 2 Android Development] nizdiz:
Without building a scratch image is it possible to expand the space from within a booted environment or do you have any recommendations related to (over and above what is in the wiki) what to use when generating the new image?
[Touch Pro2, Tilt 2 Android Development] tejeskifly:
Hi

Can i use gedit and gcc commands in terminal?
[Touch Pro2, Tilt 2 Android Development] kizzmyanthia:
Ok, so I am having the same issue as Niz. BUT, i have solved the space issue by using the 8.04 ext2/3 Install guide.

The issue that now arises is that there are some drivers and apps that are having issues, expected, the build has been discontinued, I know.

Is there any way to do the same type of install on the SD card for 9.04?
[Touch Pro2, Tilt 2 Android Development] kizzmyanthia:
OR

Secondary, is there a way to make the 8.04 build function at the point of the 9.04 build? What had to be installed or edited to allow full functionality?
[Touch Pro2, Tilt 2 Android Development] amiPro:
Personally I use the following steps:

- Create a new empty file with the required size (below creates 4000000KB, or about 4GB):

dd if=/dev/zero of=newubuntu.img bs=1024 count=4000000

- Format the newly created file to ext2:

mkfs.ext2 newubuntu.img

- Mount the original image (for example to /mnt/org) and the new image (for example to /mnt/new):

sudo mount ubuntu.img /mnt/org -o loop

sudo mount newubuntu.img /mnt/new -o loop

- Copy the content from the original to the new:

sudo -s "tar cC /mnt/org . | tar xC /mnt/new"

- Unmount the two images and you have a new image with the required size.
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Windows users may also try following, although I don't guarantee that it will work.

Intall MS Virtual PC 2007 and create a new virtual Machine: Other OS, 512MB, fixed size Virtual Hard Drive with say 8GB. Download Ubuntu 10.04 live CD, and start the virtual machine with that CD. While booting start hitting F4, select your language then hit F6 and after that Esc. Remove the option "quiet splash --" and replace it with "vga=791 noreplace-paravirt" instead. Hit Enter to boot Ubuntu. Once Ubuntu has booted, go to System->Administration->Gparted, run Device->Create Partition Table and then click on the 8 GB Partition, select New and create a primary NTFS partition. Go to Edit->Apply All Operations and click Apply. Finally close Gparted and shutdown Ubuntu. Install Gizmo Drive and reboot. Now find the .vhd file you've created at the very beginning, right-click on it and select Mount Image. Open the drive it was mounted (I: ?) to and copy Ubuntu.img to that drive. Rename Ubuntu.img to Ubuntu_old.img. Unmount your vhd file.

Now boot your Virtual Machine with Ubuntu live CD once again. Go to Places-> Computer and double click on your 8GB virtual disk so that Ubuntu mounts it.

Now go to Application->Accessories->Terminal.

Enter

ls /media/

and hit Tab. This will give you sth like /media/24D958CC72FBA373. Hit Enter. ls should show you that Ubuntu_old.img is in that directory.

Now Enter

sudo mkdir /mnt/ubuntu_old
sudo mkdir /mnt/ubuntu_new
sudo mount -o loop /media/24D958-LIKE-PATH/Ubuntu_old.img /mnt/ubuntu_old

for 4GB Image

dd if=/dev/zero of=/media/24D958-LIKE-PATH/Ubuntu.img bs=1024 count=4000000

.. be patient, virtual machines are slow ...

sudo mount -o loop /media/24D958-LIKE-PATH/Ubuntu.img /mnt/ubuntu_new
sudo mkfs.ext2 /mnt/ubuntu_new
sudo -s "tar cC /mnt/ubuntu_old . | tar xC /mnt/ubuntu_new"
sudo umount /media/ubuntu_new
sudo umount /media/ubuntu_old

Close the terminal and shutdown Ubuntu. Mount your vhd file once again and if everything is ok, you'll find there your new enlarged Ubuntu.img.

Don't put that to the wiki, until someone has tested it.
[Touch Pro2, Tilt 2 Android Development] JesusFreak316:
Is there any particular reason you recommended VirtualPC 2007 instead of Virtualbox?
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Yes. AFAIK there is no freeware that can mount VirtualBox' *.vdi files. The closest thing I could find is WinMount but the free version allows mounting only very small images.

On the other hand mounting VirtualPC's *.vhd files is easy. For instance Win 7 can do that even without external software.
[Touch Pro2, Tilt 2 Android Development] kizzmyanthia:
FANTASTIC!!! Thanks!
[Touch Pro2, Tilt 2 Android Development] kizzmyanthia:
Now, one thing that I am noticing is the fact that this does have the 4GB Fat32 file size limitation. With the install to disk option of the 8.04 and 9.10 discontinued projects the disk space can be expanded to nearly the size of the install media, minus space needed for haret and/or transfer (windows) available space. In this way if you use a 32GB micro card you can have say 30GB drive space available to Rhobuntu.

Anyone know if it is possible to edit the initrd.gz or as not quite a Linux youngling, but by no means Jedi, how difficult is it to edit it to use the entire disk space?
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
It's not difficult, but people are lazy...

This one should do the job. Partition your SD card as desribed in the wiki.
[Touch Pro2, Tilt 2 Android Development] igi_sako:
i;m new about these things ..

i tested the ubuntu on my pro2 >> amazing

but it;s too slow >> is there any way to make it speed

and when sliding the external keyboard

the phone gets slower

waiting 4 advices
[Touch Pro2, Tilt 2 Android Development] walter79:
slow device could resolved with a new video driver. (xorg–msm

)
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Well, a class 6 SDHC might help a bit (faster loading), but don't expect too much. The overall speed will probably stay as it is, since the CPU has only 528MHz. X11 is heavy and there is nothing you can do about it (except of sticking to the terminal)
[Touch Pro2, Tilt 2 Android Development] aestivalisakito:
Okay so I am currently working on fixing the audio and the video issues, I think, based on some testing that I may have a good working video working however there is still some issues. so I am going to continue working on it tonight and hopefully have it taken care of. Audio I am still working with, trying to get it working, however its giving me issues.

Also bombenach great job on the new init although I remember a convo a few weeks ago where you were having issues....LOL jkj brother. Great job, it worked for me.

Edit 1: Okay the driver I have come up with seems to have accelerated my speed but I still have some debugging to do, as it crashes under load of something that puts strain on the gpu, so hopefully ill have something worth putting up tomorrow or in the next day.
[Touch Pro2, Tilt 2 Android Development] all-in:
Hi i start up haret but it takes ages to load linux which specific files do i have to download and then run haret.please could some one just write down the name of the files that have to be inside the folder with haret?thanks in advance
[Touch Pro2, Tilt 2 Android Development] DuMnUt101:
flashplugin

First I must say, great work on this. I think running a practically fully functional Linux OS on a smart phone is fantastic.

I've been off and on with Linux over the years, and have recently started using it again for my servers. So I was really interested in checking this out.

It loads up great and I was able to install some of my tools like axel, zenmap etc.. using apt-get

I then decide to play around and install Firefox. Was checking some website noticing that they are requiring flash. I searched on serveral sites including the ubuntu forms and htclinux site. I ran apt-get install flashplugin-nonfree as many had instructed and it doesn't work. I went to the FTP downloads for ubuntu ports and tried installing different .deb and tar.gz files.. No luck.

Has anyone else been able to get the flashplugin working on FireFox? Or is their a better browser that has a working flashplugin that I should be using?

Thanks in advance.
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Unfortunately it's not that easy. Rhodium's CPU is ARM, not x86 and thus requires a special flash plugin version. AFAIK Adobe has released Flash 9 (not 10) for ARM but it's not available as a free download.

What one could probably do is rip the flash library file from an ARM device running Ubuntu/Debian like Sharp Netwalker or N900. But even if that would work you still won't be able to enjoy flash as we are missing a proper accelerated 2D GPU driver.

But, even provided that we could somehow get both (driver+flash plugin) the result would probably be quite lame. 528MHz are simply not enough for flash :(
[Touch Pro2, Tilt 2 Android Development] DuMnUt101:
I just found some info about an alternative to flash.. gonna try it out and I'll report back if it works,,
[Touch Pro2, Tilt 2 Android Development] DuMnUt101:
flash alternative plugin

Ok so here's what I have tried.. to get an alternative to flash.

It partially works, its better than nothing. Its not pretty, but at least you can view the content if its in flash.

I don't take any responsibility for you installing the below applications. It might freeze with heavy flash sites, you might have to soft reset

apt-get install mozilla-plugin-gnash

However its noted that its faster than the below option.. However it doesnt work with youtube

The other option which is reported to be much slower..

apt-get install swfdec-mozilla

(now if I can just figure out how to put it on silent, rather than vibrate.. then I can continue testing LOL)
[Touch Pro2, Tilt 2 Android Development] amiPro:
Battery meter

The battery level is more accurate in latest kernels, so I wrote a simple battery meter. It displays the battery level as an icon in the notification area of the panel.

Download link:

http://github.com/amipro/sbattmeter/downloads

Usage:

execute sbattmeter

Or add it to one of the startup scripts for automatic start. For example /etc/xdg/lxsession/LXDE/autostart or /etc/X11/xinit/xinitrc
[Touch Pro2, Tilt 2 Android Development] amiPro:
It is a great news.

Are you developing an Xorg driver from scratch? Or modifying XFBdev?

The speed isn't a priority for me. I was more interested in the stability. Both had very poor stability, Xorg using fbdev driver crashes with a single suspension/resume.

In the previous week I tried to compile xf86-video-msm, but I found that it depends on ARMv7 architecture with NEON extension. This is in addition to the need for a more advanced kernel driver. I started removing everything not supported in Rhodium and the current kernel. I succeeded finally to make it working without noticing a single crash, but without acceleration. Also I added support for xrandr rotation.

It is slower than XFBdev, but I'm happy with the stability for my personal use. I can suspend without fairing a crash when resumed. But I didn't make a thorough testing.

I'll be happy to share the updated driver if it adds value.
[Touch Pro2, Tilt 2 Android Development] walter79:
http://xdaforums.com/wiki/index.php?title=Ubuntu_on_the_Rhodium#Installation
[Touch Pro2, Tilt 2 Android Development] DuMnUt101:
Silent / Vibrate

I've done some searches on this thread and have tried some google searches as well. Maybe its something simple that I'm over looking.. But is it possible, and if so how do I... change it from Vibrate to Silent? (Vibrates a nice feature, but when I'm at work, I don't want to hear the sounds of it every time I get a message)

Thanks in Advance.
[Touch Pro2, Tilt 2 Android Development] amiPro:
There is no way yet to disable vibration on demand. But you can totally disable vibration for incoming SMS and voice calls by editing the file /etc/xdg/sphone/sphone.conf. Remove or comment the line that contains "path=/sys/class/htc_hw/vibrate" under "[action.vibrate]" section. sphone should be restarted to make the changes effective.

Please refer to http://github.com/amipro/sphone/wiki/Customizations for more details regarding sphone customizations.
[Touch Pro2, Tilt 2 Android Development] DuMnUt101:
Sounds simple enough to me... Cool thank you.
[Touch Pro2, Tilt 2 Android Development] walter79:
FTP Download

Thanks to DuMnUt101 :D

alternative download via FTP

http://technetic.net/rhobuntu/
[Touch Pro2, Tilt 2 Android Development] Blackleopord187:
watsup devs. i was wondering if maybe there would be a way that we can overclock our processors while in ubuntu?
[Touch Pro2, Tilt 2 Android Development] walter79:
It`s possible. Same as Android. Add only parameter to startup.txt
[Touch Pro2, Tilt 2 Android Development] BlueShadowX9:
will this work for HTC Touch HD???
[Touch Pro2, Tilt 2 Android Development] H117:
19/09 works fine on xperia x1, apart from screen being upside down
[Touch Pro2, Tilt 2 Android Development] tejeskifly:
Teamspeak 3 work on rhubuntu?
[Touch Pro2, Tilt 2 Android Development] walter79:
Did you used the new init-script?
[Touch Pro2, Tilt 2 Android Development] walter79:
look for teamspeak armel build. If there is any build it could works.
[Touch Pro2, Tilt 2 Android Development] H117:
nope, I didn't
[Touch Pro2, Tilt 2 Android Development] dayoungboss:
please will this work on sonyericsson X2
[Touch Pro2, Tilt 2 Android Development] walter79:
try it
[Touch Pro2, Tilt 2 Android Development] netham45:
Here's a script I "made"(copied from mechomaniac dot com and modified slightly) in Python for rotating the screen on open/close.

You might have to change the event #, I don't know how it'll work on non TiLT-2 phones.

This is a Python script, you can use either python to run it directly, or just execute it.

#!/usr/bin/python2.6
#Based off of code from mechomaniac[dot]com (mechomaniac[dot]com[slash]BeagleboardUserButton)
#By Netham45
#Rhodium Rhobuntu Screen rotation script(Written for TiLT 2)

import struct,os

inputDevice = "/dev/input/event6"
# format of the event structure (int, int, short, short, int)
inputEventFormat = 'iihhi'
inputEventSize = 16

file = open(inputDevice, "rb") # standard binary file input
event = file.read(inputEventSize)
while event:
(time1, time2, type, code, value) = struct.unpack(inputEventFormat, event)
if type == 5 and code == 0 and value == 0:
os.popen("xrandr -o right")
if type == 5 and code == 0 and value == 1:
os.popen("xrandr -o normal")
event = file.read(inputEventSize)
file.close()
[Touch Pro2, Tilt 2 Android Development] ONDR4SH3K:
How can I change a Xfce panel look to default? Color and position, which is in original Ubuntu.
[Touch Pro2, Tilt 2 Android Development] rulk:
Problems with 19/9/2010 files?

I have downloaded the .002 file from two different locations and BOTH tell me that it is an invalid archive when I try to access them with 7zip. What is the deal?

Am I missing something?

.001 file decompresses fine.
[Touch Pro2, Tilt 2 Android Development] splinter182:
the .001 and .002 are pieces of a bigger archive/ split archive, if you had both files in the same folder and decompressed the .001 file it means that 7zip combined the 2 pieces and extracted everything, no need to decompress them separetly.
[Touch Pro2, Tilt 2 Android Development] splinter182:
can this be put in a file(.rc) do a chmod u+x and run it at starup?

edit: actually, does this rotate the screen when you run it? looking over the code it seems like it does.

edit2: nvm, im tired, just realized there is a while loop in there with an update to the looping condition oops:rolleyes: thanks for sharing!
[Touch Pro2, Tilt 2 Android Development] sysmai:
The one labeled 002 is mislabeled. Rename it typing exactly like 001 but with 002 at the end. Then combine. Then extract.
[Touch Pro2, Tilt 2 Android Development] kizzmyanthia:
SWAP

Is there anyway to integrate SWAP space into rhobuntu???

I have installed it via a 2nd partition on the drive, if I just add a SWAP section will it automatically use it or does the initrd or configuration need to be edited to allow for it??

Please anyone that can help it would be much appreciated.
[Touch Pro2, Tilt 2 Android Development] hadobac:
Actually, Rhobuntu used LXDE, not XFCE :D
[Touch Pro2, Tilt 2 Android Development] amiPro:
I don't think it is a good idea to use a swap space from the micro-SD. It will be very slow and will reduce its lifetime.

I didn't try it with rhobuntu, but usually you can add the swap partition to /etc/fstab.
[Touch Pro2, Tilt 2 Android Development] kizzmyanthia:
Actually, I found a way to add a swap partition and it does increases the speed.

I created a second image file, 512MB, called swap.img that is manually loaded once the OS has completed loading.

Formated it as Linux SWAP.

Then when the OS has booted execute the following:

cd /sdcard/

swapon swap.img

then to verify that it has been loaded as swap: free -m

This has shown me a significant boost in loading times, especially when executing apps and tools that need them.

If you are interested in what I have been working on please check out:

www.kizzmyanthia.com

I have posted all of my project details there.
[Touch Pro2, Tilt 2 Android Development] kizzmyanthia:
ETH to WLAN???

Ok, I am having a little bit of a weird issue.

I can connect to my wireless network when no security is applied without issue, I can connect to the AP with WEP no problem, when I change the setting on the AP to WPA-Personal I can associate to the AP, but I get no internet access, no ability to ping any devices, nothing.

The gateway is correct, the IP is the proper internal network, the nameservers are good.

I looked through the previous posts and find some related posts that are related to the old version, but now nothing.

I tried the:

echo 1 > /dgbfs/mmc_dbg/wifi_pwr

and

echo 1 > /dgbfs/mmc_dbg/wifi_cd

and it breaks the wicd.

Anyone know how or what the deal is to fix the connection issues??

Would be a HUGE help.
[Touch Pro2, Tilt 2 Android Development] amiPro:
Sound - Alsa driver

I wrote a virtual alsa driver (alsa user space plugin) that internally uses the android sound drivers.

The current kernels contain two sound drivers, the android one and the alsa one. The android one is actively maintained and gets all fixes. The alsa one produces low quality sound, but it is the one usable by normal linux applications.

The driver linked here is replacing the kernel alsa driver. And it provides an alsa wrapper for the kernel android driver so it can be used by normal linux applications.

It is still not perfect, it has some bugs and some applications don't work with it. The following applications are working with the new driver (based on my testing): Alsa utils (amixer, alsamixer, arecord, aplay), mplayer, mpg123. The following applications didn't work: lxde volume control applet, xmms.

You can control the volume using alsamixer. Also you can change the sound routing to handset, speaker or headset using the second control in alsamixer. This applies to sound playback and phone calls.

Download:

https://github.com/amipro/alsa_android/downloads

Install:

dpkg -i alsa-android-0.01_armel.deb

And then restart

Please share with me your experience using this driver.
[Touch Pro2, Tilt 2 Android Development] netham45:
Not sure, it should if you run it backgrounded(does .rc do that by default?)

I come from windows, so I'm not 100% sure. I just have an icon on my desktop for it.
[Touch Pro2, Tilt 2 Android Development] walter79:
NEW Build

A new build will come.

- new sphone by AmiPro (fix voice problem with new kernel build)

- support for ringtones

- alsa sound

- battery icon

- swap - option

AmiPro: " I'm working on a new version of sphone. The voice is not working with new kernel builds. Also it will have support for playing ring tones, turning on the speaker during a call and gui configuration to enable/disable vibration and ring tone. I wish it will be ready with two days.

Also I'd like to troubleshoot the lxde volume control issue with my alsa driver."
[Touch Pro2, Tilt 2 Android Development] walter79:
http://xdaforums.com/wiki/index.php?title=Ubuntu_on_the_Rhodium#Keymapping

EndKEY = Screenrotation
[Touch Pro2, Tilt 2 Android Development] qkall:
i suppose this is a stretch.... but any hopes for mms? i mean i never use it... i'm just curious.
[Touch Pro2, Tilt 2 Android Development] walter79:
Ask AmiPro.
[Touch Pro2, Tilt 2 Android Development] amiPro:
I don't plan to work in MMS support. I don't use it.
[Touch Pro2, Tilt 2 Android Development] schumi86:
little problem

hello. i'm a novice, and sorry to distyrb you, but i wanted to try rhobuntu.

so i downloaded it, and copied it to my sd card. (root) but when i want to launch it, it freezes (booting linux...)

someone could help me please ? :)
[Touch Pro2, Tilt 2 Android Development] husam666:
EDIT: Wrong thread, sry
[Touch Pro2, Tilt 2 Android Development] HTCdemon:
I've been pretty busy as of late but was meaning to ask this...

The debian test build seemed rather slow compared to the ubuntu build... now iirc the ubuntu build uses fbdev where as debian build is using just regular xorg? Is there a way to make a build that uses the the previous on debian?

Also I haven't seen anyone try this yet and I was going to release my own but haven't had the time atm but E17 DOES have a small screen format UI that has its own build in OSK and works rather nicely for our size screens... I'd recommend to atleast attempt to compile and see how well it works.

Would love to hear any input on the suggestion and if anyone has tried it already I'd love to hear what kind of success you've had.
[Touch Pro2, Tilt 2 Android Development] kizzmyanthia:
PROPS!!!! Looking forward to it!!!

SWAP space seems to increase the boot time and efficiency about 300% if you are running a number of apps at boot. Editing the fstab to mount the SWAP space during boot has not caused any issues, nor failed.

THANKS for all the work!!!!
[Touch Pro2, Tilt 2 Android Development] kizzmyanthia:
TILT2 Key Mapping

Ok, I am having a strange issue...

It seems that with the Tilt2 Key mapping that if you attempt to type a capital "Y" or capital "U" using shift+ the letter key that the screen brightness is changed.

Has anyone else experienced this issue?
[Touch Pro2, Tilt 2 Android Development] amiPro:
I had problems using it with nodm. You may try to use the Rhobuntu auto-login solution with xfbdev. Please note that the xfbdev build for debian doesn't have support for tslib.