yashsingh1/xdaforums huggingface dataset:
[G1 General] azazel673:
thank's again,

now i have a new sreen where i can t select language,

touchsreen doesn't work, have you an issue ?
[G1 General] .andreas:
your trackball but should work properly, right?

you need to look at your xorg.conf. and very interessting: /var/log/Xorg.0.log.

I'm not quite sure, but try different devices in the xorg.conf (/ dev/input/touchscreen0 or event1 or mouse0) and different drivers (tslib, evdev)
[G1 General] azazel673:
my trackball doesn't work

and i have no Xorg.0.log

sorry for my newb question :(
[G1 General] .andreas:
I tried this RootFS too and I have the same problems as you

I'm trying to solve the problems and to let you know when I am making progress.

Lately, I have focused on Mer and debian, with these systems, interestingly, I had less problems.
[G1 General] azazel673:
ok thank's ;)
[G1 General] olvap377:
can u post the debian u are using and how to install and if it's dualboot or not?

p.s this may sound nooby but how can i use ur boot for 32b? i really think it will work cause the rogers dream has 32a radio but 32b motherboard so im very hopeful
[G1 General] .andreas:
"Dualboot":

There is no dual boot bootloder at the moment, I'm using NAndnroid.

I've done a backup NAndroid from each kernel. Except for the boot partition, I have deleted all the images. So NAndroid only overwrites the boot partition.

Flash the kernel:

only the boot: boot fastboot boot32b.img

install: boot flash fastboot boot32b.img

Debian:

I used mer0.17 testing11 (based on ubuntu) and tried it with debootstrap (like this one for the N1: http://www.irregular-expression.com/?p=30)
[G1 General] olvap377:
i tried ur boot32.img and still hangs on g1 screen? what else can i try or what can i do to make it work ?
[G1 General] olvap377:
anything new bump?
[G1 General] azazel673:
i wait for that so :D

but i find some interesting stuff

Leviathan GIT :

http://gitorious.org/shr-msmhttp://gitorious.org/shr-msm

but i can t sync this repo (probleme with head ...)

but you can see this other from him here:

http://gitorious.org/~leviathan

or find his post on ompenmoko forum here :

http://lists.openmoko.org/nabble.html#nabble-td3284224

i hope more people will follow us :D

edit: for you recovery problem who don't start system from your SD i f you follow what vaskas say in this quote you should build your own recovery :

to see how mod your recovery , you can sync Cyanogen recovery git, you can find it here :

http://github.com/cyanogen/android_bootable_recovery

can help you more, i dont understand yet how you can do that ...
[G1 General] olvap377:
thanks alot for all the info i have regained hope :)
[G1 General] chillbeast:
Hey guys, great stuff here.

So I went through, added a second ext3 partition, extracted the root fs to it, flash the recovery image, when i boot with home and end held it begins to load openmoko, but after about 5 seconds it says Rebootinbg in 5 seconds and just reboots. it's hard to tell what its doing beforehand but it looks like it's trying to initialize the kernel or something with the SD.

Any ideas? I'm so close, yet so far lol

And yes I extracted the modules zip to the root of my ext3 filesystem... so under /lib/modules/ there is a 2.6.32-openmoko-msm folder
[G1 General] olvap377:
i wish this thread was a little more active
[G1 General] Proxin:
^ I agree... it seems there's not too much knowledge about openmoko floating around right now.
[G1 General] chillbeast:
Ya, still no luck on my end, hopefully one of the guys who has gotten this working will chime in soon.

In the meantime I'm going to keep poking at it tonight and see what I can pull off, as a developer who is new to linux, this is incredibly interesting yet frustrating because I don't know where to begin on issues like this. I hope to get more familiar quickly though and might take up the task of creating a special recovery for us dual-booters so we aren't hasving to flash recovery images all the time.
[G1 General] olvap377:
that would be so sweet i would love u forever
[G1 General] chillbeast:
so i managed to kinda get it to boot, turns out it was rebooting after 5 seconds because it was trying to load the wrong partition I guess... I used the parition4.img he posted earlier in the thread though and it started to boot! Now I keep getting stuck during enlightenment setup, i click next to select English for my language and then enlightenment crashes and thats it

I noticed that the filesystem he used was meant for a 2.6.29 kernel but the modules he's loading and the kernel in his recovery is 2.6.32 so i'm playing around now with different mixes of filesystem and modules... no luck yet but I'm working on it.... also looking into creating my own recovery (or really, repacking vaskars, so it has the latest kernel).. Then I'll look more into creating a usuable dual-boot recovery image.
[G1 General] olvap377:
glad to here it good luck
[G1 General] olvap377:
please can more people help out or at least show an interest to keep this thread alive
[G1 General] Che123:
this thread still got my attention. Although I cant really help developping, I would really love if we could get this working :)
[G1 General] olvap377:
In your sig it says ur using debian with icewm, can u explain how. It works and post a link to tut on how to install? P,s is it native or is it an image u mount through terminal?
[G1 General] Che123:
no, it's only an image via terminal. No native boot ;)

Thread-link
[G1 General] olvap377:
thanks i can at least have this for now
[G1 General] Che123:
But don't expect too much ;)

And don't choose lxde - it's laggy like hell :)
[G1 General] olvap377:
wait how do u get vnc viewer workin on android 1.6?
[G1 General] Che123:
who said i got 1.6?
[G1 General] olvap377:
well what are u at?
[G1 General] Che123:
I used Cannons complete eclair when i did that. Now I'm back on superD :)
[G1 General] chillbeast:
Hey guys, haven't had any time to mess around with this since the other day, but I'm hoping to delve into it again this weekend.

I WAS able to get openmoko dual booting, problem is, you can't do much with it. So my next mission is to get Debian dual booting.
[G1 General] olvap377:
you can turn openmoko into debian cant you>?
[G1 General] olvap377:
any luck yet?
[G1 General] olvap377:
please if anyone has heard anything post it here cus this thread seems to be dying and it is very important
[G1 General] Gerdal:
For me, it is also important. I would like to use a real GCC, MC, MPlayer and other programs that are missing in Android ... If you would be done so that the native debian could be phone calls, send text messages, etc., that would be cool:) I tried to use the OpenMoko, but unfortunately I could not get along with him. In the settings I could not change any of the options and backlight has turned off too fast...
[G1 General] axlastro:
Keep up the good work:)
[G1 General] olvap377:
i wish you luck
[G1 General] SystemR89:
hey! I think that a good way to setup a boot manager (like grub) on our recovery image can be done using kexec. I found an interesting thread here: http://www.oesf.org/forum/index.php?showtopic=25555

EDIT: The mine idea is not a new idea, take a look here -> http://groups.google.com/group/andr...3a7950548734?lnk=gst&q=kexec#b9c93a7950548734
[G1 General] olvap377:
it sounds great but no one has really picked up on it
[G1 General] radiochickenwax:
Just chiming in here. (1st post in this forum I think).

Just got a g1 last week, and finally had some free time this weekend to try this.

The instructions from the first page worked straight-forward to INSTALL openmoko, but setting it up is proving a bit more difficult.

Here's my quick impression after just installing a few minutes ago:

- Boot into Illume/E17

- not as promising as I was hoping, but still very cool

that it runs at all.

- some fonts are too small, others are too big

- hardware screen resolution seems to be too small for

this setup

- No GSM connection off the bat

- this might be possible to setup under "settings"

menu, but I haven't tried this yet.

- for now, this means no calls, sms, or web

- keys are not mapped properly:

- notably the "b", "n" keys

- (which makes it difficult to type "reboot")

- trackball doesn't seem to do anything.

- send, home, back menu, end keys all seem to do nothing.

- screen cannot rotate

- tried using "xrandr" in terminal, but "n" key is

not mapped

- "sketch" program seems to have a hard time recognizing

when the finger is lifted.

- there is no software keyboard

- how do you reboot? (besides taking out battery)

- "camera" hardware button opens a menu that has an option to suspend or shutdown and rebooting into android works pretty well.

- this is promising. Needs some work, but definitely a step

in the right direction. Could even be a poor man's

FreeRunner

Thanks for starting this thread guys. Let's keep it alive.
[G1 General] olvap377:
wow thanks for all the great info?

have u tried turning ur openmoko into debian?

maybe that could solve a few of your issues?
[G1 General] radiochickenwax:
I have not done this yet, but I would also love to hear some impressions of someone who has. I initially thought that openmoko was based on debian just like ubuntu et. al.. but at a second glance, openmoko uses "opkg" instead of "dpkg".

Where is a good debian rootfs to start with?

The trouble with vaskus's openmoko setup is that it boots into Xorg right away, and it seems impossible to use the terminal with the keymap messed up. Is this mapping set via "xmodmap"? or "loadkeys"?

Should be a simple matter of searching through the init scripts to resolve this?

I would prefer to boot into console mode and run Xorg later from a terminal, but it seems that the init scripts will have to be modified outside of the phone for this to happen?
[G1 General] almyz125:
anyone been able to get Ubuntu on it?
[G1 General] olvap377:
if they have please post how aswell
[G1 General] olvap377:
once again a increasingly needed bump
[G1 General] donepate:
OK. Another one onboard. I would love to see this happen. Just for the hell of it. Sadly, I suck at this kind of stuff though. I can test though.
[G1 General] radiochickenwax:
still going slow here too. Too much "real" work lately. It seems that "FukTheRegister" had gotten his native debian to make calls and text messages in the old thread (Installing Debian on the G1 -> post #323) (which xda won't let me post due to my "junior" status).

I like the idea of using my debian chroot with an option to boot and then be able to chroot into android (and vice versa)... it just seems to be a (fairly) simple (yet time consuming) matter of setting the Debian chroot to work with the openmoko kernel, and getting the Debian init scripts right?

I think "FukTheRegister" took his init scripts from the Ubuntu-arm-port?

BTW, I'm currently using a modified debian rootfs from Cloverdale's tutorial on chrooting into Debian (which again xda won't let me post).

I'm running the debian chroot in the 1.10 superD android-rom with the DangerSPL.

After some experiments, I concluded that I needed the DangerSPL to get Vaskas's recovery image to boot openmoko... but I didn't really care for my brief experience with a native openmoko/E17 on the G1... I wanna be able to make/receive calls from the commandline, and the default openmoko setup didn't let me do that.

..so I mounted debian on android as a separate sdcard partition (/dev/block/mmcblk0p3 -> /system/sd/debian/debian/) where I originally stored the rootfs from vaskas's openmoko setup (posted on the first page of this thread) with hopes to be able to boot debian natively soon... but haven't had the time to put things in place yet, and meanwhile I'm sick of having to ssh or vnc into debian.

Would be really nice if someone who's done this already would make it easier on us poor folks struggling through it... (*hint*) (*hint*)
[G1 General] olvap377:
if u want you can send me the links and ill post all

p.s so if ****TheRegister got it working is there atut for it?

p.s.s i think what your doing is even better than what was available before

kudos to u
[G1 General] radiochickenwax:
Still won't let me send links. I'll try to message them to you.
[G1 General] kR105!:
replace the dots in your URL with * or ^ .. add some spaces.. etc, maybe with that you can post the link :P
[G1 General] olvap377:
Thx to radiochickenwax for these links

FukTheRegister's tutorial is in French.

http://www.galoula.net/fr/Tutoriels/HTC-DREAM-G1/

Google translates it to English:

http://www.galoula.net/fr/Tutoriels/HTC-DREAM-G1/ - English
[G1 General] olvap377:
Kinda hard to follow, but here's the old thread:

XDA Forums

The following contains I think everything needed to run Debian natively, but I haven't tried this yet

Native Debian

He also has a native-Ubuntu setup:

Native Ubuntu

Wow even with english translation the steps are hard to understand amd follow
[G1 General] radiochickenwax:
Actually got Ubuntu to boot! (using the methods linked to above)

(The debian installer keymap was too borked.)

Took a few hours for the Ubuntu installer to do its thing, and I needed to use flashboot fastboot to boot it natively so far.

On the other task of getting the debian chroot to boot, vaskas's recovery image boots it just fine, but again I have problems with the keymap... (which works fine through connectbot somehow.) so I'm gonna try to playing with loadkeys now and edit the results into this post.

Is vaskas still out there?

I can probably help with simple stuff at this point if anyone interested has questions, but the harder stuff... well....
[G1 General] olvap377:
Wow I'm jelous of u, if its not too much trouble could you make a step by step tut in english on what you did with appropriate links to gey ubuntu booting nativly using flashboot

Ps noob question wats flashboot
[G1 General] BolecDST:
You mean Fastboot? Check out android-dls.com result.
[G1 General] olvap377:
lol i know what fastboot is
[G1 General] kR105!:
http://www.prime-expert.com/flashboot/features.php
[G1 General] axlastro:
So how is debian working on the G1. Are you able to use the trackball as a mouse,

What apps are working and usable. That's really great news.
[G1 General] radiochickenwax:
Yeah sorry for the fastboot/flashboot confusion.

I meant fastboot.

Guess I was too excited to type properly :o

As to the tutorial, I just used the one in the Readme.txt of the ubuntu link I sent you.

This method really sucks though (compared to what it COULD be).

Here's what's wrong with the Ubuntu installer:

1. the keymap is messed up. (ubuntu version is better than debian)

1.a. tab key (alt + q) doesn't work

1.b. delete key works sorta like tab, so do g1 volume keys in ubuntu installer

2. it took several hours for the installer to complete

3. (totally unnecessary to use an installer when you already have a rootfs)

4. it needed to create a new rootfs partition on sdcard

5. setting up usbnet has to be timed just right for installer to work at all

As to getting apps working, I still can't do much without remapping the keys, which I still don't understand, and I don't have any time to mess around with it.

I tried using "loadkeys trout.keymap" or whatever he called his keymap but that didn't work. I still haven't been able to boot Xfbdev up yet, since I can't type "xinit" or "startx". I suppose you could just hack "startx" into the init scripts on a regular PC, but I haven't done this yet.

Other people seem to have done this, but they are currently silent on this thread unfortunately.

Sorry don't have anymore time to play with this for a couple days. Also, it's quite splintering to be fighting on FOUR different fronts!

1. android

2. debian

3. openmoko

4. ubuntu

I really just want my deb-bootstrap to work natively and correctly. I was just trying the others to get to the point of getting debian working right, but I'm not much closer yet. Here's a brief comparison:

1. android - debian chroot with ssh and vnc: slow, but semi stable. Vnc makes it really difficult to do much, and keymap is messed up with tightvncserver. (no caps)

2. debian bootstrap - boots natively with Vaskas's recovery image on 1st page of this thread, but Xorg needs to be replaced with openmoko's Xfbdev from FukTheRegister for the window system to load. Keymap is messed up really bad. Where is the kernel located? Are keymaps hardwired into the kernel?

3. Openmoko - boots beautifully into Xfbdev with E17 window manager. No network connectivity off the bat. Maybe possible to get network through Settings menu, but time-consuming. Touch screen works as pointer, trackball does not.

4. Ubuntu - same problems as debian. I needed FukTheRegister's recovery image to boot it without fastboot unless I moved rootfs partitions to mmcblk0p3 to get Vaskas's recovery image to boot.

olvap377: have you tried it yet? Is your Rogers g1 hardware still holding you back?
[G1 General] olvap377:
yes it is in fact still holding me back because i have tried over and over and get no where in the path to booting native debian/ubuntu/openmoko

if i could get one to boot i would be more than haopy to help with testing and searching and whatnot but to this day it is still not possible for me
[G1 General] CrazyEye:
After double checking and tripple checking I still get a kernel trap

runaway loop modprobe binfmt-0000

I am not sure how to pull a form of logcat.

Partitions

FAT

EXT3(Apps)

EXT3(OpenMoko)

I just formated my swap into ext3 in ubuntu and put all the files I needed (even the module files) then flashed the partition3 recovery image then I have a kernel trap.

any hints?
[G1 General] radiochickenwax:
Which spl? Did you extract the tarballs for rootfs/modules on the ext3 partition?

mount /dev/block/mmcblk0p3 /arbitrarypath/
cd /arbitrarypath/
tar -xvzf /path/to/openmoko-rootfs-20091128.tar.gz
tar -xvzf /path/to/openmoko-modules-20100128.tar.gz
[G1 General] radiochickenwax:
update: FukTheRegister made a .apk to install debian. Haven't tried it yet.

http://xdaforums.com/showpost.php?p=6024962&postcount=160

(hey, I can post links now!)
[G1 General] Proxin:
If I read correctly, that just installs Debian to another partition that you can access from Terminal. That's been out for a while now, I installed it from a .sh file ages ago...

That's different from installing an actual bootable Debian installation I think.
[G1 General] radiochickenwax:
Well, he also made a recovery image that I've used to boot debian natively, but then again, I haven't tried the .apk.

In any case, I've been trying to figure out how to get keys working and Xfbdev running in said debian partition... and so far all I've come across is that "loadkeys" can't load the binary keymaps.

I think the uncompiled keymaps come with Cyanogen sources, which I've been trying to build, but this is pretty time consuming. I might try the .apk...
[G1 General] kR105!:
Hey guys, here is a keymap that I've made for the native debian installation of Fuktheregister, works pretty fine on my G1.

Just load it with loadkeys ;)

Edit: I forgot to say that aditionally, I've configured the following keys:

End: Up

Back: Down

Menu: Control

Home: Right

Call: Left

Enjoy!
[G1 General] olvap377:
i tried this and am able to extract to sd part but cant install to sd part it just says null

what am i doing wrong
[G1 General] radiochickenwax:
Thanks! I managed to load Xfbdev now! But trackball or touchscreen do not work. Any ideas?

Is there something I can put in Xorg.conf?
[G1 General] kR105!:
Take a look here, is a project to optimize the X Window System on MSM chipsets. Maybe with that driver will be more easy to run it ;)
[G1 General] radiochickenwax:
Another hurried update:

Couldn't find a precompiled binary for the driver. I still haven't managed to build the source yet.

On the other hand, I found that the trackball is tied to

/dev/input/event2

and the touchscreen is tied to

/dev/input/event1

Been lurking on irc.freenode.net : #htc-linux and saw:

http://ibot.rikers.org/#htc-linux/20090806.html.gz

TSLIB_TSDEVICE=/dev/input/event1 ts_calibrate

works to calibrate touchscreen from debian with openmoko's msm 2.6.32 kernel, but seems to be missing some of the calibration points.

I don't think Xfbdev(kdrive) reads my /etc/X11/xorg.conf file which is:

Section "Monitor"
Identifier "Monitor0"
Mode "320x480"
DotClock 0
HTimings 320 320 320 320
VTimings 480 480 480 480
Flags "-HSync" "-VSync"
EndMode
EndSection

Section "Device"
Identifier "msm"
Driver "msm"
Option "ShadowFB" "on"
#Option "Rotate" "CW"
EndSection

Section "Screen"
Identifier "Framebuffer"
Device "msm"
Monitor "Monitor"
DefaultFbBpp 16
SubSection "Display"
Depth 16
Modes "320x480"
EndSubSection
EndSection

Section "Screen"
Identifier "320x480x16"
Device "msm"
Monitor "Monitor"
DefaultFbBpp 16
SubSection "Display"
Depth 16
Modes "320x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Builtin Default Layout"
Screen "Framebuffer"
#InputDevice "Trackball" "CorePointer"
InputDevice "Touchscreen" "CorePointer"
InputDevice "Keyboard" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Trackball"
Driver "evdev"
Option "Device" "/dev/input/event2"
Option "ScreenNumber" "0"
Option "ReportingMode" "Raw"
#Option "ReportingMode" "Scaled"
#Option "ButtonNumber" "1"
#Option "SendCoreEvents"
EndSection

Section "InputDevice"
Identifier	"Touchscreen"
Driver	"tslib"
Option	"Device" "/dev/input/event1"
Option	"ScreenNumber" "0"
Option	"CorePointer" "true"
Option "SendCoreEvents" "true"
Option "Protocol" "Auto"
Option "Width" "320"
Option "Height" "480"
Option "EmulateRightButton" "1"
Option	"CorePointer"	"true"
EndSection

Section "InputDevice"
Identifier "Keyboard"
Driver "kbd"
Option "XkbLayout" "en_US"
EndSection

I tried to use debian's Xorg binary from

apt-get install xserver-xorg-core

but that doesn't launch at all whereas Xfbdev does without being able to use the touchscreen or trackball.

To use Xfbdev, I downloaded http://www.galoula.net/fr/Tutoriels/HTC-DREAM-G1/FTP/Native_Debian/Xfbdev.tar.gz

and extracted to debian's rootfs. I then had to:

ln -s /usr/bin/Xfbdev /usr/bin/X

to get it running. Tried the same for Xorg, but no joy.

Sorry I don't know; still haven't tried the .apk method, I'm using deb-bootstrap method from http://all-google-android.com/googl...verdale's-debian-boot-v-2-0-updated-03092009/ as this seemed simpler than running the installer.
[G1 General] radiochickenwax:
Got touchscreen pointer working in native debian Xfbdev. Needed to do

(From http://linux.omap.com/pipermail/linux-omap-open-source/2004-November/002175.html)

TSLIB_TSDEVICE=/dev/input/event1
TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_TSDEVICE TSLIB_CONFFILE

I put this at the end of the text file: /etc/profile to make this permanent. Then to tell Xfbdev about it:

Xfbdev -mouse tslib,,device=/dev/input/event1

Needed to go in ~/.xserverrc

It was also suggested to me on irc.freenode.net #htc-linux that ~/.xserverrc should be:

Xfbdev -mouse tslib,,device=/dev/input/event1 -keyboard
keybd,,dev=/dev/input/event0

...but I've been having issues with the pointer using that setup. Xfbdev starts up in portrait mode, but

xrandr -o right

from a terminal resolves this. Still don't have backlit keyboard, trackball, camera, accelerometer, sound, gsm, gps, bluetooth or wifi working, and the tiny 480x320 screen continues to drive me nuts, but this is already a great deal better than android-vnc, except for the large problem of having to reboot to do anything in android (like make a phone call).

I also found a very rudimentary wiki at http://www.htc-linux.org/wiki/index.php?title=Dream that seems to have a much more robust setup than I do.
[G1 General] olvap377:
Wow thx i didnt know this method was updated so can u get this to boot natively?

ps im trying to do the method but i dunt have a com,p running debien or ubuntu or any other linux distrib so how can i install without comouter part?