yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Android Development] stonyhawk:
is there a way that all settings will be saved cause i have to type all those thing everytime i boot ubuntu :(
[Touch Pro2, Tilt 2 Android Development] OndraSter:
Yes, it is in #1 post. Create ext3 partition on your SD card, extract the img there etc, it is all described there

Thanks sebbo, I'll look on the driver (do you happen to have source code of it?)
[Touch Pro2, Tilt 2 Android Development] walter79:
See first page. (2 Partion)
[Touch Pro2, Tilt 2 Android Development] stonyhawk:
lol over looked at that xD

but thx i go try soon
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
I'm working on it...

OK. Let's see if I got you right.

So "iwlist eth0 scan essid YOUR_AP" shows your AP and you can see it in wicd. Then you go to properties, uncheck "Use Encryption", hit Ok and hit Connect. Wicd says you're connected but you can't ping anything. Correct?
[Touch Pro2, Tilt 2 Android Development] araknos:
I haven't got the device yet, but still what do we know about the 3G Module on Android OS? It could be easier then we think if the same module is doing fine on Android/Maemo/Symbian on other devices too.
[Touch Pro2, Tilt 2 Android Development] abw1987:
Ouch, calm down buddy. Yes I realize what the point of this is. Obviously running a full desktop OS on a phone would be pure heaven. No more compromises. No more scaled-down mobile apps. My comment was intended to point out that the very nature of the Ubuntu (or any desktop OS) interface, crammed into a screen with such a high pixel density, makes it difficult to navigate - and that perhaps a smart mouse algorithm would be beneficial to usability. This guy's got the right idea:

My appreciation again to all those working to develop this. It is truly interesting and exciting to see the progress being made, despite my knowing very little about how it all works underneath.
[Touch Pro2, Tilt 2 Android Development] walter79:
Yes.

ping --> connect: Network is unreachable
[Touch Pro2, Tilt 2 Android Development] sebbo90:
One problem i see is finding a lightweight network manager that supports 3g
[Touch Pro2, Tilt 2 Android Development] araknos:
I'd use the lightest one

pon
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Yes.[/QUOTE]

I guess I've managed to reproduce your problem.

At first I tried to establish an unsecured connection to my WiFI router and it worked like a charm. But then I configured my notebook (a Thinkpad with Intel 3945ABG running Ubuntu) to be an unsecured AP and Rhodium failed to establish a connection. Wicd shows "Done connecting..." and there is no green bar. Did you also try something like that (ad-hoc network without a router)?
[Touch Pro2, Tilt 2 Android Development] araknos:
I mean, stick to 3g, regardless the other network connection options. pon (in ppp package) and wvdial (in wvdial one), are better tools to play with a testing module under debian/ubuntu: they are command-line, and most programs dealing with 3G are just frontends of them
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
AFAIK they got 3G working on Android, although I didn't try it myself. Theoretically we would only need to get the right 3G-modules and do some tweaks to make it work. Practically there may be some obstacles we are not aware of right now.

Are you planning to join Rhobuntu development as far as you get your Rhodium? You seem to be an old-school hardcore-linuxer (that's a compliment ;)) and your experience may greatly help us getting Linux run smoothly on Touch Pro 2.
[Touch Pro2, Tilt 2 Android Development] OndraSter:
Yep they have 3G working in android, I found it the hard (paid) way lol :D
[Touch Pro2, Tilt 2 Android Development] araknos:
That will be 4 days from now, as I get my Rhodium from ebay. Till then I will be such an annoying old-school-linuxer-ass :D
[Touch Pro2, Tilt 2 Android Development] jsmith8858:
Noob question: I know in Windows Mobile, we never see the true 288MB of RAM that we supposedly have on our devices, because windows mobile uses ~100MB for the page pool and all that, so the OS reports the device's memory to be ~ 190MB. Yet, I noticed in Ubuntu, the task manager also reports total memory to be about ~190MB. Does ubuntu work the same way as WM in that there's really 288MB and there's 100MB in use that we cannot touch and only 190MB is shown as the total, or should it be showing the true total and we are missing 100MB?

I recall in the Android forums at one point someone made a tweak to nearly double the amount of RAM available -- was it by upping the RAM usable by the OS to the true 288MB on the device? Can we do the same here?

Be gentle on me with your responses! :)
[Touch Pro2, Tilt 2 Android Development] dantegl36:
How to make persistent

Could someone send me instructions on how to make this persistent? I would love to help with testing but losing settings every time I reboot bloooowwwss :( I'm not a noob to computers or this phone so not involved instructions would work. Thanks to whoever offers some advice !! :)
[Touch Pro2, Tilt 2 Android Development] janez0266:
hi.. ;)

Yesterday Rhobuntu version installed and worked fine. Then partition the SD card in fat32 and ext3 and copied the relevant files. I made a few modifications, widening the fonts, change the background, placed the transparent toolbar, etc.. These changes are reflected each time I start the Rhobuntu, but the only bad thing is that I have to recalibrate the screen every time I start the system. How do I set will not have to recalibrate?

Also placed the CPU load display in the toolbar and shows me very little activity. Very good... :D:D
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Guys, it IS persistent. I was mistaken to think that Ubuntu.img is mounted read-only but in fact it is mounted read-write. Try it out by creating a folder somewhere and rebooting. The folder will still be there.

Sorry for confusing you. It was not till today that I realized that it is persistent even when using Ubuntu.img on a FAT32 partition. Sorry for that.
[Touch Pro2, Tilt 2 Android Development] wisconsinated:
wifi and internet working

works great for me, but i had to go into /etc/passwd and change the 103 and 105 numbers next to the dhcp line to 0's then i connected with iwconfig eth0 essid "(my essid)" for sake of just getting it to work, i used an unprotected network, but i suppose others have had success at getting it to connect with a wep key as well.

the changing of dhcp lines was important for me because I was able to ping the router, but not any websites like google, after changing the 103 and 105 numbers to 0, i was able to connect to wifi, AND to the internet as well using a quick guide at

http://blog.tplus1.com/index.php/20...ireless-network-from-the-ubuntu-command-line/

edit: I used dhclient eth0 after changing the lines in /etc/passwd to finalize fixing the problem with dhcp

note ,for the " to work because the FN key still doesn't work for me, I opened up the word processor, and inserted symbol, found the " and copy and pasted it into the terminal window

still a lot of work, but really cool for messing around with it and showing people you surfing the internet on ubuntu ON your touch pro2 or tilt2

great job everybody who developed to make this happen.
[Touch Pro2, Tilt 2 Android Development] OndraSter:
Actually, the pagepool is only about 16MB. After that is reserved memory for Camera, bluetooth buffer etc, which means you can't use it anyway without breaking some stuff.

I think it is actually about 207MB since XIP has about 3MB and with dynamic PP you have about 204MB RAM. I'll try checking into nk.exe to OEMInit where does it change ulRAMEnd value and count it, if you really need to know exact values :)

sebbo: Any idea how to get the source code (working for Rhobuntu) of the ts please so I can do the my idea? (How it should work in few words: It reads input data from touchscreen and doesn't report to system till one of two things happen: move the stylus by more than eg 5px (marked as grabbing etc) OR drop the touch with moved less than eg 5px (marked as click on specified location, eg on original point of start).

I can give you C# code which can detect finger scrolling or clicking if you interested to rewrite it to the driver if you know how :)
[Touch Pro2, Tilt 2 Android Development] jsmith8858:
Yes, I completely understand that (which is why I wrote "for the page pool and all that"), but my question remains: Does Ubuntu work the same way? I doubt it, it is a desktop OS, not a mobile phone OS, thus shouldn't it be able to access the full 288MB?
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
May I ask why did you have to change /etc/passwd? I'm currently messing with DHCP trying to make it insert the correct nameserver automatically but my efforts are going towards configuring dhcpcd.

One more question: What's your router's IP? Is it 192.168.1.1 or somethig else?
[Touch Pro2, Tilt 2 Android Development] wisconsinated:
actually I just googled and that seemed to make it work, when i tried to turn on dhcp before changing those lines it would not work, im not sure to the technical reason why, but its probably worth a shot before you do all kinds of crazy stuff to try changing the passwd file
[Touch Pro2, Tilt 2 Android Development] araknos:
it might be very rude-fixing, but what about:

chattr +a /etc/relsov.conf

That will make the nameserver persistent to dhcpd (kind of useful expecially if you use external dns).
[Touch Pro2, Tilt 2 Android Development] wisconsinated:
oh and my router is 192.168.1.254

but was able to change that with route gw 192.168.1.254
[Touch Pro2, Tilt 2 Android Development] wisconsinated:
oh and araknos is right, that was another command line rough fix i saw but i did not try it for my self
[Touch Pro2, Tilt 2 Android Development] abw1987:
I can confirm this. I had changed the system font size to 16pt for better readability, and was wondering how this setting was saved between boots. That explains it!

That 5px-minimum idea sounds good. I wonder how similar that is to the algorithm used by WinMo/Android to deal with this level of pixel density.
[Touch Pro2, Tilt 2 Android Development] Samip430:
My phone is getting stuck on this line while loading:

usb_bind_driver: adb
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
I'm currently testing wisconsinated's workaround. Stay tuned.
[Touch Pro2, Tilt 2 Android Development] phhusson:
Android is a stupid OS, all "devices" memory area aren't handled by the OS.

So you have:

16MB of 3D memory

32MB of 2D memory

~ 50MB of modem (aka A9 aka AMSS) memory.

For ubuntu, we could remove the 3D and the 2D memory for the time being.

But when you'll get a real X driver (ie xf86-video-msm instead of fbdev), it's likely you'll need the 2D memory back, but maybe not the 32MB.
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Hey wisconsinated, I think you're simpy a brilliant genious!

Guys, it looks like we now have a workaround for the partially working wifi.

(Symptoms: You can establish a wifi connection but internet won't work)

Please test!

What should you do:

Open lxterminal and type

nano /etc/passwd

and hit Enter. Find the line

dhcp:x:101:103::/nonexistent:/bin/false

and change both 101 and 103 to 0 so that this line looks like this

dhcp:x:0:0::/nonexistent:/bin/false

hit Ctrl+O and Enter to save the file and Ctrl+X to leave the editor.

(you can also use Leafpad (Menu->Accessories->Leafpad) if you keyboard isn't working properly)

Now open wicd (click on that connection monitor icon in the upper right corner) and click on Preferences. Go to the "External Programs" tab and select dhclient

instead of

dhcpcd. Hit OK and try establishing a wifi connection via "iwlist eth0 scan essid YOUR_AP" and wicd (the ususal way).

----------------------------------

Technical reason: Our dhcpcd is utterly misconfigured: some scripts are simply missing so it won't even try to insert the proper nameserver. I tried to use dhclient itself but it didn't want to work. wisconsinated has found a way to fix this by editing /etc/passwd (something I would never think off) and so dhclient now works. It easily picks up the proper nameserver and pastes it to /etc/resolv.conf. I've already tried setting different IP's for my WiFi network (and thus different nameservers) and dhclient worked like a charm.
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Does Android on Rhodium actually has same problems with the Broadcom chip as in Ubuntu? Our WiFi can't use auto discovery (iwlist eth0 scan returns nothing found) and has problems with Ad-Hoc networks :confused:
[Touch Pro2, Tilt 2 Android Development] araknos:
we might want to try something like adding a edit in

/etc/dhcp3/dhclient.conf

supersede domain-name-servers <dns1-ip>, <dns2-ip>;

(this is a less rude fix then the previous i posted)

otherwise,

we might consider to hack the dhclient scripts like

/etc/dhcp3/dhclient-enter-hooks.conf

with:

make_resolv_conf() {

echo "Let us figure out what to do here"

}
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
What for? dhclient works fine.
[Touch Pro2, Tilt 2 Android Development] araknos:
Dhclient controls /etc/resolv.conf , if you get everything working with the passwd fix it's ok for most, unsecure for me :eek:
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
I see, but I must confess that I'm not that experienced as far as rights management is concerned. It's actually even more insecure because we have root autologin but well, I'll better wait till you get your own Rhodium and can help us.

What I was thinking about is that we need a decent hosting for our project and a wiki because this thread is getting very long and peaces of valuable information are all over the place. Moreover uploading 200MB to 1-Click Hosters almost every day doesn't sound reasonable to me. I suppose we could use Google Code http://code.google.com and XDA-Developers Wiki http://wiki.xda-developers.com/

What do you think?
[Touch Pro2, Tilt 2 Android Development] sebbo90:
Agreed on both fronts, the wiki would defiantly be useful :)
[Touch Pro2, Tilt 2 Android Development] walter79:
I added a new section for Ubuntu.

http://wiki.xda-developers.com/index.php?pagename=HTC_Rhodium

http://wiki.xda-developers.com/index.php?pagename=RhodiumUbuntu
[Touch Pro2, Tilt 2 Android Development] wisconsinated:
hey guys remember that ubuntu is a debian distrobution of linux so it has apt-get

find a package that u may want in google... say ur interested in the gimp... in google search type apt-get install gimp and you will find out what specific name thegimp goes under. now type in terminal apt-get update first after aquiring ur wifi connection and then type apt-get install (package name) without the (). it will automatically find the package and its dependencies, download and install them, and since we found out that this image of ubuntu is persistant, you dont have to install everytime you restart haret. note: if u havnt read above the best way ive found to get symbols is by going into the word processor goto insert then symbol , pick ur symbol then copy and paste it into terminal. maybe somebody can try to get a character map app for ubuntu thru apt-get to use untill FN button support is put in natively.
[Touch Pro2, Tilt 2 Android Development] sebbo90:
A quick not here if you have no wifi but still want that program do what i did with wicd on my build. Mount the ubuntu.img and copy the *deb file into the .img. Then you can just install via the terminal with dpkg -i package.deb
[Touch Pro2, Tilt 2 Android Development] wisconsinated:
sweet, nice tip seb
[Touch Pro2, Tilt 2 Android Development] araknos:
I think is perfect, my post wasnt meant to be that mean, I think that what you are doing is outstanding: as I posted earlier: let's first unwrap all the heavy candies we got, thereafter the sweat details will come.

I'll second you on the gc proposal

;)
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Thanks. I've just created a Rhobuntu project on Google Code

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

People who feel like developing Rhobuntu should pm me their Gmail addresses so that I can add them to project people.
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
No problem. My main worry is that the project may die if I and sebbo90 won't develop it for a longer time. In a month I'll start working on my bachelor thesis in elementary particle physics, which means that I won't have much time for Rhobuntu. That's why I want to get as much linux users/enthusiasts/experts/devs/freaks for the project as possible. ;)
[Touch Pro2, Tilt 2 Android Development] araknos:
It might be a little off topic, but i cant seem to find anything on the rhodium coprocessor, can some of you give me some link hint to follow? tnx

p.s. at this stage command hwinfo > rhodium-hardware.txt

might help some of you (package hwinfo)
[Touch Pro2, Tilt 2 Android Development] araknos:
The reason i bought rhodium, is to make it a viewer for a remote serveillance video-audio system project.

Considering how ambitious this dream is, I would definitly and happly join you as I get it.
[Touch Pro2, Tilt 2 Android Development] dcnqw:
Well done guys. If bluetooth works (seems it may not yet) then a BT mouse might be worth trying? What about a USB mouse with mini USB adapter?! I'm interested to try running this up in the next few days on an O2 Atom Life with 64 MB RAM, 1 GB ROM, Intel XScale PXA 270, 620 MHz processor and see how it goes. I'll let you know if anything comes of it. The 64M RAM might be a problem, as might different hardware however I'll see what happens, why not?
[Touch Pro2, Tilt 2 Android Development] badboy848:
is this wat u were lookin for?

Qualcomm MSM7200 RISC Chipset

Simplified Technical Specifications

Type: MSM7200

Manufacturer: Qualcomm

Year Released: 2007

CPU Structure (complexity): RISC

Width of Machine Word: 32 bits

Primary (RAM) Data Bus: 32 bits

Supported Instruction Set (s): ARMv6

CPU Core: ARM1136EJ-S

Recommande Maximum Clock Frequency: 528 MHz

Semiconductor Technology: CMOS

Minimum Feature Size: 90 nm

Additional Details

Special Features: ARM9 Coprocessor, Embedded QDSP4000 and QDSP5000 DSP (GSM, GPRS / EGPRS Multislot Class 12, EDGE, UMTS / WCDMA, HSDPA, HSUPA, MBMS baseband), Embedded GPS Module gpsOne, Qcamera, QTV, Qcamcorder, Qvideophone

Qualcomm MSM7201A RISC Chipset

Simplified Technical Specifications

Type: MSM7201A

Manufacturer: Qualcomm

Year Released: 2008

Predecessor: 32bit Qualcomm MSM7200

CPU Structure (Complexity): RISC

Width of Machine Word: 32 bits

Primary (RAM) Data Bus: 32 bits

Supported Instruction Set (s): ARMv6

CPU Core: ARM1136EJ-S

Recommande Maximum Clock Frequency: 528 MHz

Semiconductor Technology: CMOS

Minimum Feature Size: 65nm

Additional Details

Special Features: ARM9 Coprocessor, Embedded QDSP4000 and QDSP5000 DSP (GSM, GPRS / EGPRS Multislot Class 12, EDGE, UMTS / WCDMA, HSDPA, HSUPA, MBMS baseband), Embedded GPS Module gpsOne, Qcamera, QTV, Qcamcorder, Qvideophone
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Enjoy :)

http://rhobuntu.googlecode.com/files/hw_rhodium.txt
[Touch Pro2, Tilt 2 Android Development] araknos:
tnx very much, I'll make good use of it.. i'll study the dsp for mplayer / vlc rendering (unfortunatly the dsp verision is different from beagleboard's)
[Touch Pro2, Tilt 2 Android Development] araknos:
tnx inside i found this:

/class/adsp/AUDPLAY0TASK

name: /dev/AUDPLAY0TASK

/class/adsp/AUDPPTASK

name: /dev/AUDPPTASK

/class/adsp/AUDPREPROCTASK

name: /dev/AUDPREPROCTASK

/class/adsp/AUDRECTASK

name: /dev/AUDRECTASK

/class/adsp/JPEGTASK

name: /dev/JPEGTASK

/class/adsp/LPMTASK

name: /dev/LPMTASK

/class/adsp/QCAMTASK

name: /dev/QCAMTASK

/class/adsp/VFETASK

name: /dev/VFETASK

/class/adsp/VIDEOTASK

name: /dev/VIDEOTASK

as far as i know, that could explain lack of sound, as it seems to be somehow hooked onto dsp coproc unit.. do you happen to truly have all these stuff on /dev/ ?
[Touch Pro2, Tilt 2 Android Development] abw1987:
This is amazing. I can't believe I'm running real desktop Firefox on my phone, accessing the internet over WiFi in Ubuntu.
[Touch Pro2, Tilt 2 Android Development] OndraSter:
Hi I guess you have there sourcecode to current kernel and tslib right?

Can you please add me so I can modify it? Thanks :)

ondraster _at_ gmail _dot_ com
[Touch Pro2, Tilt 2 Android Development] phhusson:
You'd be a real hero if you could write an open video decoding acceleration lib. It's the only remaining closed source driver with 3d in msm7k. (And gps, but we have everything needed).

Concerning sound, i'd suggest writing a gstreamer plugin. There is an alsa driver in codeaurora's tree, but it doesn't work properly, and doesn't use hardware acceleraration, while you can do mp3, aac, wma and much others 100% in hardware. Google for playwav2 for an example source code.

But anyway, adsp is broken in rhodium currently.
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Yep, they are all inside /dev/

I added you, but things you're looking for are located elsewhere. Take a look at these links:

Kernel:

http://glemsom.anapnea.net/android/

http://www.androidonhtc.com/wiki/Get_Involved

ts_calibrate:

https://launchpad.net/ubuntu/hardy/+package/libts-bin

http://automon.donaloconnor.net/installing-tslib-and-calibrating-it/83/
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
New Rhobuntu build 04:36 AM 12.03.2010 FIXED

The previous build "04:36 AM 12.03.2010" had a problem concerning wicd. Now it's fixed.

http://www.megaupload.com/?d=Q0SAPJOQ

Changelog:

(Hotfix)fixed the problem with broken wicd by reinstalling python-glade2

thanks to wisconsinator, we presumably have a workaround for that wifi problem, when you can

establish a connection but can't access internet. Please test.

added an easy possibility to get access to the sd card: open lxterminal and execute mountsd. Your card should be

mounted under /sdcard

(done via alias mountsd='mount -t vfat /dev/block/mmcblk0p1 /sdcard')

WARNING: To prevent possible data loss don't do that if your sdcard contains some important or valuable data.

fixed some odd permissions/wrong date problem by removing all files in /tmp. It seems that this prevents Firefox

from crashing that often. Firefox is however still very slow

added "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" to rc.local. Otherwise dmesg would often show some rpc-related errors

some new apps preinstalled: Atomix (a game), Lieferea (rss reader), gnuplot (scientific function plotter)

some new console tools preinstalled: mc, hdparm, hwinfo, ssh, ftp

Known issues concerning WiFi

-auto discovery won't work. You have to use the workaround below

-it seems that we can't establish connections to Ad-Hoc networks. Connections to WiFi routers, however, work fine.

How to establish a WiFi connection:

1)Open lxterminal and run

iwlist eth0 scan essid YOUR_AP

where YOUR_AP is the SSID of your WiFi router.

2) Now click on that connection monitor icon near the time applet. After you click refresh your router (and perhaps some other APs) should appear in the list. First click on Properties and scroll down till the very end. There you can choose your encryption and enter the password. Hit OK when done. After that you just have to click on Connect and WiFi should work. I hope.

Project News

We decided to organize our project a bit better, which means that we now have a project page on Google Code

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

and a Wiki

http://wiki.xda-developers.com/index.php?pagename=RhodiumUbuntu

Get involved. We need your help!
[Touch Pro2, Tilt 2 Android Development] araknos:
Gnuplot on a mobile, well that will be just such a nice sweetie for your bachelor thesis ;) .. nice work!
[Touch Pro2, Tilt 2 Android Development] Bombenbach:
Yeah, all particle physics people in our university use Linux (mostly Ubuntu) but seeing it running on a WinMo smartphone would probably make them freak out :D

The funny thing about Google Code is that they won't let us upload files larger than 100MB. I've already filled an issue asking for more space but it seems that simply added is to an issue called "Enable huge downloads". Thus we still don't have a proper hosting for our builds. Damn. :(