yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Android Development] BenGman:
Increase Rhobuntu Root Space

Hello Everyone,

Thank you for the great work you are doing.

Device: Tilt2

OS: Rhobuntu 9.04 13_05_2010

WiFi: Rhobuntu will not connect to my hidden network, even when using Wicd configuration files, had to change my network just to allow Rhobuntu to connect.

SD Card: 8GB FAT32 Card shared with Android and WM 6.5.x.

I have successfully booted in and out of Rhobuntu several times and changes were persistent.

Rhobuntu File Manager reports 5.1GB free on the SD Card.

I installed Firefox in Rhobuntu then I attempted OpenOffice.

After loading the software sources I ran:

apt-get install openoffice.org

The OO install failed because it said it ran out of memory.

Rhobuntu File Manager says 0KB free now on root.

Rhobuntu File Manager still reports 5.1GB free on the SD Card.

Is it safe to reboot Rhobuntu now (will it restart properly with 0KB free in the root) ?

How can I clear the temp files for OO that didn't install properly?

How can I allocate more space on the SD Card for Rhobuntu (I intend to install many apps and possibly use my Tilt2 like a laptop)?

My intention is to get a 16GB or 32GB card for the Tilt2. Can I 'clone' the SD Card when I am ready to switch cards (I have done that successfully before with WM) and not break Rhobuntu?

Thank you in advance for your assistance.:(
[Touch Pro2, Tilt 2 Android Development] BenGman:
I tried #dpkg --configure -a

but it failed also because it said no space left on device.

I know this is general linux 101 and I will refrain from such questions in this forum unless they are specific to Rhobuntu.... but... any help will be greatly appreciated.
[Touch Pro2, Tilt 2 Android Development] phhusson:
I'm pretty sure you won't have enough RAM to run OOo.

Anyway, to extend the rootfs, do that:

dd if=/dev/zero of=/blablasdcard/Ubuntu/rootfs.img.new bs=1024 count=8m (to make a 8GB partition, which seems needed if you want to use it "like a laptop")

mkfs.ext2 /blablasdcard/Ubuntu/rootfs.img

mount -oloop /blablasdcard/Ubuntu/rootfs.img /mnt

mkdir /mnt2

mount -oloop /blablasdcard/Ubuntu/rootfs.img.new /mnt2

cd /mnt

tar c . |tar x -C /mnt2

umount /mnt2

umount /mnt

mv -f /blablasdcard/Ubuntu/rootfs.img.new /blablasdcard/Ubuntu/rootfs.img

Do that from a clean rootfs.img, not from a full one, because of stuff that might be broken.
[Touch Pro2, Tilt 2 Android Development] BenGman:
From the Rhobuntu Wiki:

Maybe I took the Rhobuntu Wiki too literally. With OOo mentioned in the Wiki I would have thought that someone would have tried OOo already and could comment on the space issue.

In a sense that the more apps I could run with a TP2 the better so I could do most things without my laptop and with longer battery life compared to a netbook. The TP2 has to find a niche running apps the other WinMo phones I have can not.

On WinMo I use Softmaker Office 2008 more than Mobile Office because of more features, having OOo will be great.

Isn't there a 4GB limit for FAT32? I was hoping to keep using 1 microSD card fully formatted with FAT32 (shying away from the ext2/3 multiple partitions).

I guess then for a 'laptop experience' a 16GB+ will be best with an 8GB ext2/3 partition.

Do you mean Ubuntu.img when you mention rootfs.img? I do not see a rootfs.img in the Rhobuntu 7-zip extracted files that I put on the storage card.

Can the instructions for increasing storage space be put in the Wiki please?

Thanks a lot!
[Touch Pro2, Tilt 2 Android Development] phhusson:
Oops, totally forgot that one.

Yes but the current system isn't really meant to be put on an ext2/3 partition (not hard to do thouogh)

Oh right, I thought it was still called rootfs.img.

Not until you tested it :p
[Touch Pro2, Tilt 2 Android Development] imperiallight:
Can someone confirm if the PDF annotation tool Jarnal Works please?

http://levine.sscnet.ucla.edu/general/software/tc1000/jarnal-down.htm

Thanks!
[Touch Pro2, Tilt 2 Android Development] BenGman:
Will update post on increasing the root partition size.
[Touch Pro2, Tilt 2 Android Development] rossle12:
Sleep of Death?

Anyone getting into suspend mode then try getting out of it and it doesn't show back up?

A little help? >_<

Alsoo, where can I find my contacts if we can view them, and my SMS text?

Any folders like that?

And is it possible to install Flash player on here?

Sorry for all of the questionss.

Thanks in advance :)
[Touch Pro2, Tilt 2 Android Development] jsmith8858:
Tilt2 Keyboard map (Updated 2010-05-26)

There's a tilt2 keyboard map posted in this thread and in the /etc/ folder, but it's not really for the Tilt2 -- it has the numbers across the top instead of the symbols, I think it is for the Sprint TP2?? (not sure) Here's my attempt at a Tilt2 keyboard map, which I am using now and have tested quite a bit, it seems to be working fine. Please feel free to use and/or modify/incorporate into this project or your personal builds as needed.

In this mapping:

OK -> CTRL

HOME -> ALT

FN+UP -> Page Up

FN+Down -> Page Down

FN+Left -> Home

FN+Right -> End

FN+T -> Tab

FN+E -> Escape

FN+2 -> Carat (this differs from the Tilt2 key labels; no point in mapping a cents symbol)

FN+L -> Backslash

FN and SHIFT are mapped as usual. Also, SHIFT plus the keys on the top row remain mapped to symbols like <,>,[, as indicated in the Wiki, and other keys (volume up, down, the end key, etc) are mapped as usual.

FN+BACK just doesn't seem to work for DELETE, not sure why ...

UPDATE: For info on how to use this file, read this

UPDATE 2010-5-26: File has been updated with more mappings.

UPDATE 2010-5-31: To allow for SHIFT-Y and SHIFT-U to properly produce upper case characters, you must remove (or change) the brightness up/down keymappings by deleting (or changing) these lines in /root/.xbindkeysrc:

"brightness_down"

shift + 4

"brightness_up"

shift + 5

This is due to the weirdness of the Tilt2 not using the top row as number keys.
[Touch Pro2, Tilt 2 Android Development] dantegl36:
Nice! will test and let you know :)
[Touch Pro2, Tilt 2 Android Development] berk_cglr:
can not work my rhodium :(
[Touch Pro2, Tilt 2 Android Development] dantegl36:
Umm sorry... feel free to flame away but I couldnt figure out how to update this file. Any tips?

edit:

Nevermind I figured it out. You have to do this from the Ubuntu end. I did copied the file but it didnt seem to do anything. Keymapping stayed the same. Thoughts?

edit 2: figured out how to load the new key mapping

logout and type:

cd ..

cd sdcard (because this is where I had the key map file)

loadkeys tilt2-keymap.map

amazing what searching can do for ya :) thanks for this!
[Touch Pro2, Tilt 2 Android Development] berk_cglr:
hey guys please help me some one because cant open that folder

Rhobuntu 9.04 13_05_2010.7z.001

Rhobuntu 9.04 13_05_2010.7z.002

downloading this version Jaunty_11_04_2010.7z starting haret but

text is shifting than frezee my tp2 :mad:

how can i worked ubuntu on my tp2

im using a jackos oldschool wm6.1 rom
[Touch Pro2, Tilt 2 Android Development] karimin:
X1

Hi all

great to see Ubuntu development raising more and more.

can some one tell me is this can work on SE X1.

Thanks all.
[Touch Pro2, Tilt 2 Android Development] walter79:
Jaunty_11_04_2010 is a old build.

You have to unzip .001 and 002. Use 7zip
[Touch Pro2, Tilt 2 Android Development] berk_cglr:
thanks man
[Touch Pro2, Tilt 2 Android Development] jsmith8858:
Sorry about that, more info here:

http://xdaforums.com/showpost.php?p=6280192&postcount=854
[Touch Pro2, Tilt 2 Android Development] scarface5323:
so after boot winmo i wont run again unsigned apps, only if i do hard reset.., right?

edit: i tried to install, but when i tap to open haret.exe loading and boot winmo from beggining, so it is doing soft reset..., can anyone tell me why?? thank you

(devise: diamond 2, rom: last of energy, hardspl tha last)
[Touch Pro2, Tilt 2 Android Development] Star-Lite:
No, only *some* users have troubles with unsigned apps, the majority of the users can run everything fine afterwards :)
[Touch Pro2, Tilt 2 Android Development] jsmith8858:
Tilt2 Map

the Tilt2 keyboard map I posted earlier is really working well, I have found no issues other than FN+BACKSPACE not working properly as DELETE.

I have added some more mappings to the file, the original post has been updated and there's a new attachment:

http://xdaforums.com/showpost.php?p=6581871&postcount=1005

If no one else has any issues with this file, I definitely recommend that it be included in future builds.
[Touch Pro2, Tilt 2 Android Development] walter79:
We will use it for the next build.
[Touch Pro2, Tilt 2 Android Development] scarface5323:
i really need help, my topaz keep restarting after i run haret.exe.. :(
[Touch Pro2, Tilt 2 Android Development] TonyFavilla:
Really amazing project!:eek:

What about multitouch and aircrack?
[Touch Pro2, Tilt 2 Android Development] phhusson:
aircrack should work as is on non-TP2 devices.

For the TP2, I don't know if the driver handles monitor mode, I think it doesn't.

And for multitouch, just give a driver that is able to do multitouch on 4 wires (or was it 5 ?) resistive touchscreens.
[Touch Pro2, Tilt 2 Android Development] TonyFavilla:
Dual-touch project isnt portable?

I'd love to help but i still dont own a touch pro 2..
[Touch Pro2, Tilt 2 Android Development] Star-Lite:
Not directly, because thats a .NET framework project for .NET applications. For rhobuntu we'd need a driver using native (not managed) code. Offcourse you could totally rewrite the current driver using the same principles of the dualtouch framework, but you can't just port it.
[Touch Pro2, Tilt 2 Android Development] Boushh:
Aircrack works, but you can not put your wifi drivers into monitor mode, making aircrack fairly worthless. This is one of my biggest hopes and least expected things to happen IMO with this project, but I can still hope. :D
[Touch Pro2, Tilt 2 Android Development] phhusson:
As I said before, it's true only for TP2. I know this is the main target of this project, but other devices are supported as well, and these should get monitor mode.
[Touch Pro2, Tilt 2 Android Development] Boushh:
Sorry, yes I saw your post but just wanted to throw my reply in there too, I wasn't trying to imply you were wrong or anything. :)

Out of curiosity though, why do you think other devices should be able to get monitor mode to work, without anything extra (is how I'm reading you say it but correct me if I'm wrong), where the TP2's monitor mode doesn't work?
[Touch Pro2, Tilt 2 Android Development] phhusson:
Because I did try it ? :D

I only tried to put it on monitor mode though, I didn't actually tested it.
[Touch Pro2, Tilt 2 Android Development] Boushh:
Oh, okay.... My TP2 *claims* to go into monitor mode too, but it doesn't work.
[Touch Pro2, Tilt 2 Android Development] jsmith8858:
Hi -- I have noticed one problem with mapping SHIFT-Y and SHIFT-U on the Tilt2: It appears that whatever driver or keymapping or configuration was set up to allow for SHIFT-4 and SHIFT-5 to control brightness is interpreting SHIFT-Y and SHIFT-U the same as pressing SHIFT-5 and SHIFT-4 -- perhaps because FN+U and FN+Y are mapped to the numbers 4 and 5 on the Tilt2?

Is there a way we can edit (or disable) the brightness up/down keymappings? Or, does anyone have any thoughts on how to solve the issue via the tilt2 keymap configuration file, or any other way?

As of right now, my Tilt2 keymappings (the file has been posted previously in this thread) are all working great, except there's no way to type a capital Y or U! :(
[Touch Pro2, Tilt 2 Android Development] daanmidd:
Hi,

I have got a problem with my wifi on my diam100...

When I start it the first time (fresh copy rhobuntu), my wifi is OK, and i will stay connected the whole time.

When I reboot my device, and I connect to my wifi network again (the WPA password remembered). It establishes a connection.

But... when I load a lot of data (apt-get, vnc, wget) the wifi connection hangs, (the telnet/ssh connection does not respond). And I have to wait some minutes, and it is working again.

How can I fix this issue?

Kind regard.

Daanmidd
[Touch Pro2, Tilt 2 Android Development] sas69:
Please help.

Rhobuntu 9.04 from 13.05.2010 is booting flawlessly on my Xperia X1, but the screen calibration is not working ( for those who think they`re so smart: the problem can`t be found in the wiki page and yes I used recalibrate=true ) and once the OS is fully booted the touch screen is not working at all. The cursor is just standing next to the big black on screen keyboard :D I checked the other buttons and they seem to work just fine. The screen is rotating and I can suspend the unit. I also updated the kernel to the latest from 14.05.2010.

And I allmost forget about the strange messages I recieved during booting - something is using micropklt_lcd_ctrl. this funktion should no longer be used.

My second try to boot Rhobuntu was unsucessfull. After the sign Loading hardware drivers - [OK] the device halted.

Am I doing something wrong here ? Is there anyone who managed to start Rhobuntu on Xperia x1 ? Any help will be appreciated.
[Touch Pro2, Tilt 2 Android Development] walter79:
Please change change " msmts_calib= .... ". in your startup.txt

Use the android settings.

" using micropklt_lcd_ctrl. this funktion should no longer be used"

this problem is a kernel problem (all new kernel have this problem)
[Touch Pro2, Tilt 2 Android Development] sas69:
Thank you for your fast responce.

I`m actually using the calibration value from fatsal`s android and ubuntu ( which are the same ). I even copied the calibration file from android but after that I hit the wall again. The funny thing is that I really can`t calibrate my screen because when the Rhobuntu loads to the point where I have to calibrate my screen I can see it for about 2 seconds and the calibration mark is moving by itself aroung the display. I believe the problem is with Rhobuntu itself and for now mission Rhobuntu - impossible :D. A bit earlyer I tried fatsal`s ubuntu 8.04 and it was working but I had no wifi, no gsm, nothing at all except for the touchscreen :D
[Touch Pro2, Tilt 2 Android Development] walter79:
could you post your startup.txt
[Touch Pro2, Tilt 2 Android Development] sas69:
set ramsize 0x10000000

set ramaddr 0x10000000

set mtype 2006

set FBDURINGBOOT 0

set KERNEL zImage

set initrd initrd.gz

set cmdline "wl1251_mac=00:23:45:3a:27:cb modupdate=true recalibrate=true physkeyboard=rhod100_de msmts_calib=0x0366.0x04b.0x0c8.0x038e lcd.density=240 msmvkeyb_toggle=off clock-7x00.a11=500 htc_hw.force_cdma=0 msm_fb.fix_x=1 pmem.extra=1 gsensor_axis=2,1,3 pm.sleep_mode=1"

boot
[Touch Pro2, Tilt 2 Android Development] walter79:
set modupdate=false after update

try this: msmts_calib=0xc5.0x399.0x367.0x4d
[Touch Pro2, Tilt 2 Android Development] sas69:
I have tried this, but the result was the same. On calibration screen the thing that I`m supposed to tap was moving by itself and when the Rhobuntu fully load the touchscreen is not responding.

edit: I have also tried the msmts_calib from HTC touch HD but the result was just the same. I realy believe, that somebody messed up the zImage or the initrd.gz file because I was able to use the touch screen with fatsal`s haret runing Rhubuntu 9.04 and just now that gives me the idea to try and replace my initrd.gz with fatsal`s. I`ll post what was the result.

edit2: Bad Idea :D The result was something like kernel crashing or something like that so I guess the old kernel 2.6.27 is not compatible with tha latest version of Rhobuntu. But I`m still going to try one or two of the old stable releases. Hope they will work. :)

edit3: Tried to run Rhobuntu from 11.04.2010 but the problem still occurs. One of the thing I forgot to mention befor is that my screen is upside down. By that I mean if I slide my keyboard the screen is upside down. Maybe this is why my screen can not be calibrated because it is not set in the right direction ? Is there a way to change the orientation from sturtup.txt ?
[Touch Pro2, Tilt 2 Android Development] dcordes:
You are violating the GNU General Public License

No reference to the kernel source code can be found on either of your websites. Please clearly refer to the source code wherever you provide the builds or include it in the rootfilesystems provided for download.

git://gitorious.org/linux-on-qualcomm-s-msm/linux-msm.git htc-msm-2.6.27

http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm

http://code.google.com/p/rhobuntu

https://sites.google.com/site/rhobuntu

What is rhobuntu? It is armel ubuntu. Luckily we can run this on our phones because some guys ported the Linux kernel to them. The source code to the this kernel can be found at http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm

More information on this is available at http://htc-linux.org/wiki

Is it so hard to not mislead people? If you try very hard I bet you can provide the information needed while still making it look shiny.

thanks
[Touch Pro2, Tilt 2 Android Development] Rent-2-Pwn:
Works fine on my TP2 (Tilt2). Little slow, but usable.

Where can you find your SIM contacts and where are the SMS stored?
[Touch Pro2, Tilt 2 Android Development] scarface5323:
could somebody give me the startup file that use to boot on diamond 2 because i run haret.exe and my diamond keep reboot thank you
[Touch Pro2, Tilt 2 Android Development] sas69:
Have you read the wiki instructions ? Apparently not ? You need to change "set mtype 2292" to "set mtype 2293" and also change "wl1251_mac=00:1f:df:b1:23:30" to "wl1251_mac=YOUR_MAC_ADDRESS"
[Touch Pro2, Tilt 2 Android Development] scarface5323:
i have done this before and no solution, i have tried anything.
[Touch Pro2, Tilt 2 Android Development] walter79:
Sorry for this mistake. I added a link to kernel source code.

we use this kernel build: http://glemsom.anapnea.net/android/htc-msm-android/
[Touch Pro2, Tilt 2 Android Development] walter79:
CDMA Rhodium!

Could somebody test this:

cange startup.txt

set mtype 2292

to

set mtype 2734

http://www.htc-linux.org/wiki/index.php?title=Rhodium
[Touch Pro2, Tilt 2 Android Development] walter79:
Try this:

msmts_calib=0xc5.0x399.0x367.0x4d

found her:

http://wiki.xda-developers.com/index.php?pagename=Kovsky Linux
[Touch Pro2, Tilt 2 Android Development] sas69:
ok, now maybe I found why my kovsky can not use the touch screen

Version of Rhobuntu - Jaunty 14.04.2010 with zImage from 18.05.2010

cat: /etc/tsdevice: No such file or directory
ts_open: No such file or directory

error opening security policy file /usr/lib/xserver/Security Policy
Extended input device not yet supported. Impelement it at line 637 in kinput.c
Failed to open TSLib device, tried /dev/ts /dev/touchscreen/0 .
Xlib: extension "Generic Event Extension" missing on display ":0.0".
xmodmap: unable to open file '/root/.xmodmap' for reading
xmodmap: 1 error encountered, aborting.
vt: argh, driver_data _became_ NULL !
vt: argh, driver_data is NULL !

I`m not a linux guru but I thing that there are no drivers or Rhobuntu somehow can`t see that I`m having a touchscreen.

Any ideas ?
[Touch Pro2, Tilt 2 Android Development] walter79:
maybe you have to change your /dev/input/event

open /root/.bashrc

if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
export TSLIB_TSDEVICE=/dev/input/event[COLOR="Red"]2[/COLOR]
file="/etc/pointercal"
if [ -e $file ]; then
startx
else
ts_calibrate
cp /etc/pointercal /sdcard/ubuntu/extra/pointercal
wait
sleep 3s
wait
startx
fi
fi

Try /dev/input/event1

and

edit /etc/X11/xinit/xserverrc

#!/bin/sh
exec /usr/bin/X11/Xfbdev -nolisten tcp -br -mouse tslib,,device=/dev/input/event[COLOR="Red"]2[/COLOR]
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Hi dcordes,

with all my respect to you and all other htc kernel developers, I must state that I consider your post very unjust towards us.

Wrong. Firstly, on http://code.google.com/p/rhobuntu/ (We are very thankful to the followings projects) we clearly reference Rhodium Android Port and also other Ubuntu ARM projects which gave us ideas for Rhobuntu

Secondly, on the Rhodium Wiki you can find enough references to the kernel we use. For instance here. And

here you have links to "Android/Linux Kernels we use in Rhobuntu", "Kernel git repository" and "htc-linux wiki"

Thus, we certainly do provide links to the kernel sources.

That's right. And everybody who doesn't know that, can get this information from the wiki including a link to Canonical's rootstock tool. So, nobody is making a secret of Rhobuntu's origin.

What do you mean by saying that we "mislead people"? As far as I know, no person developing Rhobuntu has ever claimed that we made the kernel and/or rootfs ourselves. As stated above, there are references both to the Htc-linux Project and to Ubuntu Armel rootfs. What we do, is trying to combine Ubuntu Armel rootfs and htc-linux kernel to a htc phone linux distro, not more and not less. We certainly don't claim the achievements of the above-mentioned projects and never will. And I guess most people using Rhobuntu do know that.

Well, if you don't consider the references to Ubuntu Armel and HTC linux to be clear enough, you could have told us this in a friendly tone. But yelling and accusing us of GPL violations we apparently didn't commit, doesn't seem very friendly to me. Or maybe I simply got you wrong?
[Touch Pro2, Tilt 2 Android Development] sas69:
walter79 thank you you`re very helpfull.

I`ll try what you suggested later, because I need to open the .img file and do this from my desktop. Under Rhobuntu my keyboard is not mapped well and I only have characters from a-z & A-Z and no numbers except for number 2.

I will ask you a question I should have asked a long time ago : I don`t have a folder named ..\extra\ in my sd card and also I don`t have such file /etc/pointercal when I`m in Rhobuntu.

edit: Yeees :D walter79 thank you man !!! The problem was in .bashrc and for Kovsky the touchscreen device is event1.

I`m so happy that the problem was not in /dev/behind/the/monitor/ :D

right now I`m going to modify the new 13.05.2010 build and I`m going to give it a try :)

I`m still having a problem with loading Rhobuntu. The problem is that I have to leave modupdate=true because if I change it to false the launcher is hanging right after Loading Hardware drivers - [OK]. But for now evereything seems to be OK :)
[Touch Pro2, Tilt 2 Android Development] phhusson:
He did, at least two times, and I think it might be even more.
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Then I must have missed it, since I was and still am quite busy writing my bachelor thesis (10% particle physics and 90% C++) and thus don't visit xda-developers.com that often.

Anyway, I've just added some more references both to Google Code and Rhodium Ubuntu wiki. So now we all hopefully can continue to live in peace. :rolleyes:
[Touch Pro2, Tilt 2 Android Development] walter79:
Could you please write a small tutorial at the wiki. How you get Rhobuntu 13_05_2010 get working. (editing the .bashrc and settings for startup.txt)

maybe you could post your startup.txt (forum).

The team will upload your startup.txt to rhobuntu code site and robuntu website.
[Touch Pro2, Tilt 2 Android Development] walter79:
Rhobuntu website have been updated.
[Touch Pro2, Tilt 2 Android Development] jsmith8858:
Well, I finally figured this out due to reading the excellent changelog for the latest version. Details on fixing the above issue here:

http://xdaforums.com/showpost.php?p=6581871&postcount=1005
[Touch Pro2, Tilt 2 Android Development] sas69:
Sure I`ll do it today :)