Can't boot Linux on Magician - JAM, MDA Compact, S100 General

Hi all,
I have a Qtek s100 reported to be the same as the magician
I tried booting Linux angstrom using Haret following the instructions from the wiki.
I also tried openmoko and QTOPIA following instructions there : http://linuxtogo.org/~htcpxa/htcmagician/
All tries ended the same way : Haret starts, displays a few lines, says "jumping to kernel", the screen becomes white, and nothing else happens. After a while , the screen is not illuminated anymore, and touching the touchscreen doesn't light it up, whereas the keys do.
I tried changing the runlevel, changing the root= to see if it was due to a bad support of the card reader, nothing changed.
Has anyone already had this problem and solved it ?
Thanks a lot,
Thomas

Hi
I have the same problem.
Try image from http://linuxtogo.org/~ph5/tmp/ - it's work great for me .
You can also boot other images like from http://excogitation.de/lastik/ which are the newest but you have to extract kernel and modules from http://linuxtogo.org/~ph5/tmp/Angst...-2008.1-test-20080216-magician.rootfs.tar.bz2 image and replace them in the image You want to use. Do not forget to copy also http://linuxtogo.org/~ph5/tmp/zImage-2.6.21-hh20-r13-magician.bin to use with haret.
Greets
PS
Sorry for my english

Thanks, I found a working kernel...
GPE works well, but it's not really easy without a stylus... But I like gomunicator, and I can recompile it with my smscenter...
I tried OM 2007.12, but "read sms" crashes, and upgrade crashes my install
OM 2008 doesn't start X...
Which distro did you find most functional ?
Thomas

i'm testing now Angstrom-x11-gpe from http://excogitation.de/lastik/ ( fast but it don't have apps for dialing and sms ). I tried image with opie (but it didn't worked for me) and with Angstrom-openmoko from http://www.linuxtogo.org/~ph5/tmp/ which is for me to slow to use (high memory usage) but the most functional.
Are you able to update packages?? I have some problems with this - i can connect to Magician over ssh, but i can't connect from it to the internet - coul you explain how are you connecting your magician to the computer?? are you using linux box?? what commands are you using.
Thanks

help with my magician ....the touchscreen doesn't work with angstromn x11 gpe... solution?? sorry for my bad english

newbie on PDA, seasoned on Liux
Hi,
I come from a lot of Linux background (since 2003)...
As the matter of fact I'm all the time on Linux, expect when I play a game from time to time (COD,MOH...)
So,
I did join this forum (great one!) and read posts a bit...
Found the OM and OPIE2 (QTOPIA?) images and only got booting with the MO2008 one
So i tweaked the SD ext2 partition a bit:
If (when) i used the 2.6.21 hh20 kernel it booted both the QT and the GTK based images
(one replaces the zImage in both the VFAT partition and in the /boot folder IMO?)
But...
The OPIE2 (Qtopia?) is a by far more pleasant experience:
1. back is always obvious
2. Input method is nice
3. the GUI is more polished
4. more themes per default
A. I missed a terminal
B. I missed a GUI for ipkg
C. I missed hardware support (hal,alsa,sound,sgm,gprs)
D. I missed bluetooth (stack?)
E. I missed networking (USB?)
F. no standard GNU suite: pico,mc,bpe
Then the OpenMoko didn't brill either:
1. It apparently had SGM support
2. It had decent input options
3. It worked acceptably well and almost fast
4. Terminal app (a whole lot more LINUX)
The cons:
A. It wasn't always clear where one is
B. It wasn't always clear where the 'bailout' button is
C. the hardware keys seemed not to work
D. far less apps onboard the image
E. Didn't stay long enough to see it all (must try again)...
F. no standard GNU suite: pico,mc,bpe
so, can we make one decent one?
I try to help?

cest73 said:
Hi,
I come from a lot of Linux background (since 2003)...
As the matter of fact I'm all the time on Linux, expect when I play a game from time to time (COD,MOH...)
So,
I did join this forum (great one!) and read posts a bit...
Found the OM and OPIE2 (QTOPIA?) images and only got booting with the MO2008 one
So i tweaked the SD ext2 partition a bit:
If (when) i used the 2.6.21 hh20 kernel it booted both the QT and the GTK based images
(one replaces the zImage in both the VFAT partition and in the /boot folder IMO?)
But...
The OPIE2 (Qtopia?) is a by far more pleasant experience:
1. back is always obvious
2. Input method is nice
3. the GUI is more polished
4. more themes per default
A. I missed a terminal
B. I missed a GUI for ipkg
C. I missed hardware support (hal,alsa,sound,sgm,gprs)
D. I missed bluetooth (stack?)
E. I missed networking (USB?)
F. no standard GNU suite: pico,mc,bpe
Then the OpenMoko didn't brill either:
1. It apparently had SGM support
2. It had decent input options
3. It worked acceptably well and almost fast
4. Terminal app (a whole lot more LINUX)
The cons:
A. It wasn't always clear where one is
B. It wasn't always clear where the 'bailout' button is
C. the hardware keys seemed not to work
D. far less apps onboard the image
E. Didn't stay long enough to see it all (must try again)...
F. no standard GNU suite: pico,mc,bpe
so, can we make one decent one?
I try to help?
Click to expand...
Click to collapse
I just stumbled upon your post by accident - and it seems there isn't much interest in Magician in general
anymore - so in short there won't be full linux support for Magician (unless pH5 - or someone else (you?) finishes it).
Well actually the hardware is almost 100% supported (apart from IrDA, sound recording and camera)
(see here - but afaik the userspace stuff is missing so it doesn't work with the mentioned images.
Usbnet is working (to get you started look here or here)
If know/are interested to expedite userspace you probably don't need any help setting up a build environmend
(but you can always ask me).
The info on the wiki could also be useful.
The Camera is an OV9650 that's also used in
Motorola A780 (driver available for an earlier kernel)
HTC Alpine, HTC Sable, HTC Universal, HTC Wizard
Also I will reassemble a Magician I have lying around in parts if you need a tester
(or provide a nice image with good support).
Don't know if you had that OM image ... but there is one with Phone working.
(if you update it to the current state (well some months ago) through ipkg
the phone breaks (of course - new dialer), but sound (alsa) sarts working).

excogitation said:
Also I will reassemble a Magician I have lying around in parts if you need a tester
(or provide a nice image with good support).
Don't know if you had that OM image ... but there is one with Phone working.
(if you update it to the current state (well some months ago) through ipkg
the phone breaks (of course - new dialer), but sound (alsa) sarts working).
Click to expand...
Click to collapse
If you're interested take a look here:
http://forum.xda-developers.com/showthread.php?t=408069
That's the main thread about this subject.

The Camera is an OV9650 that's also used in
Click to expand...
Click to collapse
Camera is OV9640. Also used in FS720.
It seems Magician revisions have two different cameras, but I don't know differences...

Since I have the parts lying around I just took a look and it's definitely an OV9650 - and I'm fairly certain there aren't 2 different cameras - if you definitely have an ov9640 - then there are 2 different ones.
There are 2 different LCD's though - but that has already been taken care of by pH5 (that's why on some Magicians the hh17 and earlier kernels won't boot - again if I remember correctly).
I just took a look and found some stuff related ... I'll attach it here so maybe it can save you some time. (notes in the files may be German)
Since xda-devs doesn't want my file ... I put it here: ov9650 stuff
Also check here especially the driver and m560x ov9650.

wow amazing!
If we can get enough ppl working, an Android port could be a viable project in the future.
If you need a tester, I once managed to boot linux in the past, and i have a spare SD card for testings.
Thank you guys!

iRiKi said:
wow amazing!
If we can get enough ppl working, an Android port could be a viable project in the future.
If you need a tester, I once managed to boot linux in the past, and i have a spare SD card for testings.
Thank you guys!
Click to expand...
Click to collapse
Well I highly doubt that's going to happen any time soon - but Android "runs" on Apache so that should get someone interested started.

iRiKi said:
wow amazing!
If we can get enough ppl working, an Android port could be a viable project in the future.
If you need a tester, I once managed to boot linux in the past, and i have a spare SD card for testings.
Thank you guys!
Click to expand...
Click to collapse
linux yes
android ?????
after some emails with people involve with linux there seems to be issues in porting the android kernel
if you wanna help with the linux port head there
http://forum.xda-developers.com/showthread.php?t=408069&page=7

Just a bump to a thread
maybe this should be make sticky, for who knows when the last Magician with Linux user is going to break down?
They might want to slump together a linux build mean while?

Related

Universal Linux 2.6.16 Opie test results and comment

I finally got the 2.6.16 opie working on my Universal (O2 XDA Exec) . I was using a simplified chinese version WM 5.0 originally.
As I am an experienced Linux PDA user, I owned Sharp Zaurus 5500, 5600, and C1000, ran Qtopid, Cacko, OpenZaurus, and GPE . The current opie port to the Universal is really a fork from the opie about the Sharp Zaurus C-series . In fact, I think it is good. Becaue opie has a large user base and has existed for a long time.
What I think about the current "Linux on Universal" work is rough, but good to see it can already up-and-running, and even IR bluetooth, and wi-fi working . however, there are many things we should do. We should put the branch into the official OPIE development work (create a feed at http://opie.handhelds.org) .
Some easy todos
- Map universal keybroad keys properly . Add virtual ctrl and alt key maps . Cannot do escape, maybe use the hangup key to do so.
- Enable the hot key for wireless configurations, need to write a simple interface and redirect to the desired settings_app
- sound is not working (driver problem?)
- battery charing is not working for me, battery status is not showing anything
- Volume control applet need to hook up with volume up/down key
- USB storage emulation support (can copy from Zaurus feed and cacko rom)
- Keyboard LED auto detection, or on/off swich by hook up the light hotkey
Other todos may depends on other componetns
- Get webcam software or camera software (depends on camera driver)
- Fnid a phone interface software, or write up one (depends on the phone hw driver availability)
- Repartition the internal flash, boot Linux se JFFS directly
Other comments
My first installation of OPIE doesn't work, the touch screen didn't work. Cannot get through the calibration process. I then reformat the SD Card, and untar again for GPE. Same issue, but GPE can work without a pointer/TS . I then get back to 2.6.12 and findout the files on the website are corrupted. Then I install 2.6.16 OPIE again, then it alll worked (include TS). After a reboot, it still work. I suspect there are some HW status condition bugs in the TS driver. But I cannot do battery charge, LED lights after plug USB .
Hope these comment helps the project. I am happy to get around with this project. And I am experienced Linux user/developer . Hope to hear feedbacks from you guys.
Cheers,
David
davidchow said:
I finally got the 2.6.16 opie working on my Universal (O2 XDA Exec) . I was using a simplified chinese version WM 5.0 originally.
Click to expand...
Click to collapse
Good
As I am an experienced Linux PDA user, I owned Sharp Zaurus 5500, 5600, and C1000, ran Qtopid, Cacko, OpenZaurus, and GPE . The current opie port to the Universal is really a fork from the opie about the Sharp Zaurus C-series . In fact, I think it is good. Becaue opie has a large user base and has existed for a long time.
Click to expand...
Click to collapse
I think so to,but we will try to support both GPE and Opie. Maybe try to create a xdm or something.
What I think about the current "Linux on Universal" work is rough, but good to see it can already up-and-running, and even IR bluetooth, and wi-fi working . however, there are many things we should do. We should put the branch into the official OPIE development work (create a feed at http://opie.handhelds.org) .
Click to expand...
Click to collapse
It is allmost done. HTC UNiversal has some support in Opie, i am sitting on some files wich are allmost ready to be commited, but if more comes in your mind, then commit it.
Some easy todos
- Map universal keybroad keys properly . Add virtual ctrl and alt key maps . Cannot do escape, maybe use the hangup key to do so.
Click to expand...
Click to collapse
Escape is the green telephone button on the hardware keyboard. A keymap is a plan, you are welcome to do it if you want to.
Please commit your hardware keyboard, the brand's has different the keybaord layout:
http://wiki.xda-developers.com/index.php?pagename=UniversalKeyboard
[/quote]
- Enable the hot key for wireless configurations, need to write a simple interface and redirect to the desired settings_app
Click to expand...
Click to collapse
I agree, you are welcome to do it
- sound is not working (driver problem?)
Click to expand...
Click to collapse
Sound worked in the .12 kernel, there are profgress here. The CVS got drivers today, i tried it, but it's still buggy.
- battery charing is not working for me, battery status is not showing anything
Click to expand...
Click to collapse
I agree, you are welcome to do it
- Volume control applet need to hook up with volume up/down key
Click to expand...
Click to collapse
I agree, you are welcome to do it
- USB storage emulation support (can copy from Zaurus feed and cacko rom)
Click to expand...
Click to collapse
There has been som prgress here, but i dont know the status on it.
- Keyboard LED auto detection, or on/off swich by hook up the light hotkey
Click to expand...
Click to collapse
Under progress as a userspace solution, but will be controlled by the kernel when it's ready.
Other todos may depends on other componetns
- Get webcam software or camera software (depends on camera driver)
Click to expand...
Click to collapse
We have the drivers, just need to port them to the Universal.
- Fnid a phone interface software, or write up one (depends on the phone hw driver availability)
Click to expand...
Click to collapse
I agree, you are welcome to do it
- Repartition the internal flash, boot Linux se JFFS directly
Click to expand...
Click to collapse
Yes, but we have to get all to work first.
Other comments
My first installation of OPIE doesn't work, the touch screen didn't work. Cannot get through the calibration process. I then reformat the SD Card, and untar again for GPE. Same issue, but GPE can work without a pointer/TS . I then get back to 2.6.12 and findout the files on the website are corrupted. Then I install 2.6.16 OPIE again, then it alll worked (include TS). After a reboot, it still work. I suspect there are some HW status condition bugs in the TS driver. But I cannot do battery charge, LED lights after plug USB .
Click to expand...
Click to collapse
I have heard others have had the same problem. But i have had it only once, it happend yesterday. I dont know what it is, but it seems like it is a good idea to have .opiestorage.cf in the root of your linux partition the foirst time you boot.
Yes i have heard that the .12 image is broken, i will upload a working one.
Hope these comment helps the project. I am happy to get around with this project. And I am experienced Linux user/developer . Hope to hear feedbacks from you guys.
Click to expand...
Click to collapse
Yes we need help, there are only one guy (cr2) wich is writing drivers at the moment. He realy needs some help.
Join the IRC channel #htc-linux at irc.freenode.net and you will get in contact with the linux porters.
David
Click to expand...
Click to collapse
BTW Dont start a new llinux for the universal thread, we allready have a sticky one .
Goxboxlive
Hi,
I've not tried Linux on my universal yet, bit I've got a couple of questions to people that have tried it and the fantastic people that are developing this:
How fast does it run, faster than WM5?
Will this ever be simple and easy to install for users that have little or no experience with Linux?(The tutorials still look like Japaneses to me)
When(if ever) do you guys think this will be able to be used as a phone?
And finally I ask as a big gamer, How well does/will it play games? Does Linux suffer from the same keyboard driver problem as WM5?(not responding to multiple key presses)
Thanks
-Adam Don
Since it is the first time to use this Wiki , I posted the wrong message and shoudn't start this topic, I am suppose to put this post in the Linux topic section. Sorry for that. Because I think there are more activities on that part and should generate better feedbacks. I will forward this message over there. Sorry to generate multiple same message.
Adam, if you post feedback to my message in the "Linux On Universal" topic, I will reply your message correspondly. Sorry for causing inconvienience.

HTC Shift under Linux!

At first I had a really hard time accepting pof's claim that the HTC-Shift could be run under Linux and indeed my first attempts at this turned into a blinding nightmare of installs & reinstalls and utter frustration.
Because I tried to install my Laptop's SuSE Linux on the box, which won't even boot below version 11.0.
And even so it does install OK with 11.0 SuSE and I had sound and graphic running, none of the other functions could be enabled no matter what.
Last not least I have to say that other SuSE distros either have a hard time booting right on the Shift (DSL, GParted distro) w/o safety kernel parameters set or get problems with the graphics HW (e.g. Knoppix).
I made those initial mistakes because dear old pof forgot to make clear that the drivers he collected should only run on (K/X)Ubuntu.
Because as I found out through my own research, specially the SD6868 driver was specifically developed by & for the Ubuntu project.
Many of the other distros didn't work right even after installation.
They either stalled during boot time or got the partition table all messed up.
Specially the boot via GRUB install (for dual boot with WinXP) turned out to be a pain in the ass with anything but Ubuntu.
Only Ubuntu booted right away (still had to disable edd, apm and acpi on the installation, but with it all went through fine the first time around).
So please dear pof update your Website to point out that only Ubuntu (or Kubuntu/Xubuntu) should be used on the Shift.
With that, pof's driver collection works out of the box.
But the Touchscreen needs calibration and the Touchpad's sensitivity is originally set way to low.
Once those two settings are corrected it all works fine (albeit the touchscreen is still a bit clunky, its good enough to move windows around, fill out input forms and highlight text).
The WiFi connection also worked right away and was even faster than under Windoze - BUT I can not connect to a standard WEP128 bit encrypted network.
Only unencrypted connections seem to work at this time.
Battery and sensor connections also work, as does the USB port.
I can also switch resolutions - but no longer with the screen button which now only tilts the desktops, I have to use the KDE screen resolution application for that.
The font rendering has way(!!) improved over Vista. I finally can read small texts even at higher resolution.
And overall responsiveness is almost to fast for me
No more coffee breaks between tasks and boot-up time is down to under 3 minutes!
Multimedia also works at blazing speeds now. I can watch large movies at real time and even do MultiMedia editing.
Best of all, that nasty Vista bug with the missing/dropping SD cards is gone.
So all in all it was a steep learning curve (as always /w Linux) but now I finally got a useful machine which is a real asset to my productivity!
pharao said:
So please dear pof update your Website to point out that only Ubuntu (or Kubuntu/Xubuntu) should be used on the Shift.
Click to expand...
Click to collapse
In my website it clearly states that the binary driver packages I published is for Ubuntu based distros only, because that's what I use on the shift. I also explain the "long way" to compile stuff etc, in case you want to run them in any other distro, because you can run any linux flavour on the shift as long as you have experience compiling your own kernel, and building some packages from source.
pof said:
In my website it clearly states that the binary driver packages I published is for Ubuntu based distros only, because that's what I use on the shift. I also explain the "long way" to compile stuff etc, in case you want to run them in any other distro, because you can run any linux flavour on the shift as long as you have experience compiling your own kernel, and building some packages from source.
Click to expand...
Click to collapse
But that's exactly it pof ... it just won't compile on most other systems.
On SuSE you'll have double trouble because first the darn install DVD don't boot with anything below 11.0 but then the kernel for 11.0 starts with release x.26.
That's one version number to high for your package and even so I tried to still compile it in there, the modules won't load.
Second, the GUIs of these distros are just to separate amongst the different packages.
DSL boots up all right, but has trouble installing itself on the Hard Drive, much more so with the Desktop setting and any attempt at switching resolution.
Knoppix works sometimes and then again it doesn't - was never able to figure out what that was all about.
And the SuSE 11.0 distro doesn't give any error messages when I call up the embeddec controller program - heck the damn thing even allows me to click all around. But nothing happens, not with any of them.
And don't even try to get me started on trying to install Debian packages under SuSE :-(
I'm not sure how much you are into Linux pof, but messing around with the kernel is the last thing you want to do unless you're sure its gonna work.
And I've found that K/X/Ubuntu is the only distro that works out of the box, even during the install phase.
So I think just stating "well the packages are for Debian/Ubuntu systems but you can compile them on other distros, too" is not quite sufficient - as those other distros did cost me a week of my life (time I'd like to have back ;-)
Fact is that Ubuntu doesn't just work on the Shift right away, but its also the fastest distro amongst the ones I've listed.
So for all these reasons Ubuntu should get a big highlight with the sidenote "all other distros at your own risk as your mileage will(!) vary"
Only encrypted WiFi still isn't working...
PS: The folks at SuSE seem to be contemplating their own SD6868 driver for their next 11.x Alpha release - found a note to that regard on a developer blog.
And External mouse doesn't work
pof said:
In my website it clearly states that the binary driver packages I published is for Ubuntu based distros only, because that's what I use on the shift. I also explain the "long way" to compile stuff etc, in case you want to run them in any other distro, because you can run any linux flavour on the shift as long as you have experience compiling your own kernel, and building some packages from source.
Click to expand...
Click to collapse
Dear Pof,
I used your custm drivers for ubuntu,Screen touch working great but external mouse has stopped wiorking.Is there anything wrong I have done ?
Thanks

Ubuntu on the HTC Shift

I've been checking out the stuff on the web about Linux on the shift, found these, pretty interesting. This ubuntu even detects the motion rolling from left to right, and he makes the cursor move around the screen by tilting the unit. Also has csreen rotation working:
http://mobilitysite.com/2008/07/ubuntu-in-a-htc-shift/
another one:
http://pof.eslack.org/blog/2008/04/14/linux-on-htc-shift/
"Once Ubuntu is installed, you get a menu at boot time which lets you choose which operating system to boot, Vista or Ubuntu. Surprisingly most of the hardware is auto-detected by ubuntu, and almost everything works out of the box:
* Audio is working, mute and volume control works using the Fn keys.
* SD card reader is working.
* Adjusting the screen backlight works with the proper Fn keys.
* Webcam is working (you can test it with gstreamer-properties).
* CPU frequency scaling works by default too on the Intel Stealy 800Mhz CPU, you can monitor it by enabling the cpufreq gnome pannel.
* ACPI is working, you can get the CPU temperature using the sensors-applet.
* Screen resolution works at 800×480. I have not tried higher resolutions yet.
* Bluetooth is working.
However there are a few things that require some extra work in order to have them working properly."
http://forum.xda-developers.com/showthread.php?t=381915
its pof old work! it works only with 8.04 but once updated the system, most pof works will not work.
Hi
I installed Ubuntu last night as I can't get any other version of Windows (except the memory and space hogging Vista) to install at the moment.
I was very impressed with how much DID work without any fiddling and now I shall spend another few evenings reading exactly how to make the rest of it work.
I'm hoping to be able to then get rid of Vista (but not off the X partition JUST IN CASE!) and regain some space, but I think that I need Windows to run some software for my OU degree course... rather important given this was my excuse for buying a SHIFT (so I'd always be able to work on my degree regardless of where I was (or so my other half thinks!)).
However I know NOTHING about Linux and am somewhat daunted by it but also looking forward to getting a more "hands on" with the Shift and some more computing experience under my belt.
I am rather excited by the concept of actually being able to use things like the g-sensor. Why would HTC put it in then give you nothing to make it work under Vista? Kinda sums up their decision-process when creating the Shift, if you ask me...
Ubuntu on an external USB hard disk also works as described. Wireless doesn't work; this is noted elsewhere in this thread: the 8686 drivers need to be found, compiled, and installed; any detailed pointers would be much appreciated. 640x480 resolution (only) is a major drawback, as control panels come up with essential buttons off screen, and there doesn't seem to be any trick to move them on screen. It boots much faster and it is much more responsive than VISTA ... I would make Ubuntu permanent on the Shift platform if I could get wireless and the resolution control working.
cnbabbage said:
I would make Ubuntu permanent on the Shift platform if I could get wireless and the resolution control working.
Click to expand...
Click to collapse
If you go to POF's website (link in the second link in the first message of this thread I think) there is an installer packet that should make WIFI work although being a Linux novice, it doesn't for me! It seems to do what it's meant to do as I can see stuff happening in the terminal window but nothing actually happens or changes after it's done...
I agree that the resolution is a BIG problem at 800 x 640 or whatever it is under Ubuntu 8.04 and hope someone has a solution soon PLEASE!
for Resolution, you can go and reconfig your Xserver yourself. Never used to get it to work on ubuntu but on gentoo no problem at all.
All other pof stuff will work with smal adjustments !! just read the right threads.
Neutron83 said:
for Resolution, you can go and reconfig your Xserver yourself. Never used to get it to work on ubuntu but on gentoo no problem at all.
All other pof stuff will work with smal adjustments !! just read the right threads.
Click to expand...
Click to collapse
I think I did well to get as far as I did as a Noob actually (and a girl one at that!). I have no problem with people saying "search the forum" to people who ask simple questions like "how do I access SnapVue" but when someone's clearly done their research and is still struggling, it's very frustrating. I've just spent nearly ALL weekend on this forum (and google) and got as far as making Ubuntu 8.10 work as I wanted except Wifi and screen resolution, given no one else has mentioned any of these necessities working on 8.10 as far as I can remember and the fact I know nothing about Linux!! Proof in point; your first comment about the Xserver - I don't even know what that is (though I've probably been fiddling in it)
When I have the time I'll start a new thread with all my wonderful findings so it's all in one place - but I have to earn a living and feed the family so it's not high on my agenda this week. I'm due some time off work, so will aim to get it done then (like painting the kitchen and making curtains for my daughter's room...!)
I can upload older ubuntu 8.04 someplace. With this version all pofs configs and hacks work normally.
Hello together!
I'm also working on getting a current Linux up and running on the Shift (Arch Linux with kernel 2.6.28) and found these problems/"solutions":
- Display: I believe that's a combined hard- and software problem. The display doesn't report its correct capabilities and the driver doesn't handle interpolated resolutions that well (I modified the driver for this). I already mailed this to the xorg mailing list, but I didn't get an answer (perhaps I missed some information like driver version)
- Wifi: The old Marvell driver (from their website) isn't compatible with 2.6.28 anymore, but there is a new one in the kernel itself (called libertas), that only needs the firmware in /lib/firmware (check out this git repo if you need to). But at least in my case the chip is still not working, cause the SD controller is buggy and unknown. But I'm talking with some Devs who are willing to help.
- Touchscreen: You need this module to glue htcpen and the xserver together. Then it works like in Pof's manual.
All in all: I believe in having a fully working Linux on the Shift somewhen
Greetings,
Sven
Oaky guys:
Xserver = your grafical environment
Yea u're right the display doesnt send useable stuff to the Soft but you can hard overwrite the combinations of wich ModeLines are used, its a bit more advanced linux stuff but as far as you dont try to learn you wont get it .... i acctually use a 1024 x 600 is possible and i use it !
I Can give my x config to you here if you like to ! (When i am home
sorry for my roughness but i am not a linux pro just advanced PC user and i was able to do such stuff also !!
Greets
Appreciated!
If you could post your config when you have time I would be grateful (as would others!)
@Neutron83:
What version of the intel driver are you using? I'm using 2.4.1 (and newer) and I wasn't able to override the setting no matter what I did. But please share your config. I'd like to give it a chance.
Greeting,
Sven
please, can someone confirm me that ubuntu can do 1024x600 on htc shift?
i would like to buy one of them but i'm not sure about 1024x600 under linux.
thanks a lot
someone posted that xorg_conf can be modified in someway to get bigger resolution. no one have posted working config for this yet. If someone could post it, it would be great.
Shift's screen is 800x480 pixels (http://www.htc.com/europe/faqs.aspx?p_id=60&cat=0&id=45486.) Bundled software (~\htc\resolution.exe and ~\htc\ResolutioLauncher.exe) switches between native 800x480 and emulated 1024x600.
Any progress on a linux driver for the Marvell 8686 wifi card?
Hi @All,
maybe somewhere experts of you can build a script again for Ubuntu 9 users, the most of them I think can work with Linux, but the most are Windows users (like me) and are overstrained with modding aditional Hardware into Ubuntu ;-)
How's everyone going with Ubuntu on the Shift? Samstables?
I'm downloading and installing the current wubi to put ubuntu on with vista as a dual boot to see how much works out of the box and how much I can get working mucking around (low level linux user here )
hmm... my shift is a dustcover at the moment...
pls give me image iso ubuntu on a works drivers!!

[PRJ][AND][LNX] OPANDROID (The Wing-Linux Opal branch)

Please, don't reply with a quote of this post.
Wing Linux​
This thread is a continuation to what happened in the LINUX BOOTS at OPAL! Thanks to linwizard project! thread. I thought it's about time a proper thread is made to get this project the attention it needs.
What is Wing Linux all about
Wing Linux aims to bring Linux and Google's Android operating systems to OMAP850-based devices.
Wait, did you say Linux AND Android?
Yep, you did read that right. If you're running Wing Linux, you are simultaneously running Ångström and Android on top of that. That means you get all of the cool Linux functionality with the intuitive interface and usability of Android.
For more information about Wing Linux please visit the official site. It'll save you from having to read through this whole thread
If I installed Wing Linux, will I lose WM? / Will this brick my device?
No. There's no flashing involved here. Still, it's best practice to have thing backed up before doing anything. I've heard of a few cases were people lost some files from there SD cards.
Great! How can I try this?
I'm glad you asked!
Installation is very easy and smooth, all you have to do is following these simple steps:
Navigate to the Wing Linux site.
On the navigation menu to the right of the main page, you'll find a "Download" link. Obviously, you're supposed to click it
Once the download completes, you'll end up with a zip file that contains a few cab files and 4 text files. Please do open these files using notepad for a quick look. They contain plenty of useful information.
After extracting that zip, and hopefully taking a look at the text files, you'll need to move two of the cab files to your device: rootfs and opal.
From your device, install the two cabs (navigate to them using your favourite file explorer then click them) and make sure to install both files to storage card.
Before proceeding any further, make sure that you still have at least 250MB of free space on your storage card. If you don't then you'll need to do some clean up before you can continue.
Also, make sure to close any open application, otherwise you'll lose any unsaved progress in any of them.
Open the brand new wing-linux short-cut in your start menu.
Hit run.
While Linux is booting up. You'll be asked to input a size for the image file used as storage for Wing Linux (consider it like virtual hard disk). Don't touch anything and just wait, default value (250MB) will be used after a couple of seconds.
Grab yourself a cup of coffee/tea/beer/... then sit back and relax. Installation will take a while.
When everything is over, you'll get a calibration screen. Try your best to get a good calibration on the first time as fixing it later takes some work.
Enjoy Android
Key-map for Android
As the Opal doesn't have that many keys, some changes had to be made:
D-Pad + Centre: works normally.
Green: Dialer.
Red: Default behaviour under Android is like this:
Short press: puts device in standby. This can be changed in the settings (which I recommend).
Long press: Display menu to turn off device, put device in airplane mode...
Volume Up: menu key (it's the key that unlocks the screen as well).
Volume Down: back/cancel.
Power button: It's working, but it doesn't do anything because it's functionality doesn't work in Android yet.
Okay, I'm done playing around and I want to go back to WM.
That's easy:
Click and hold the red button and you'll get a menu.
Select "Shutdown" and the phone will reboot.
Once the phone boots again, you'll be in WM.
I want to completely get rid of Wing Linux
Eh, it's your loss.
Un-install both cabs as you would do for any application.
Check if there's still a folder called "linux" in the root of your storage card.
If there's one, delete it.
What works and what does not work:
For details look at this page here. In short:
For the time being, these stuff work:
Making/receiving calls, although you won't be able to hear the other side during phone calls. But there's a small workaround for that:
When in windows mobile, start Wing Linux during a phone call, that way you'll have sound in Android during calls.
Sending/receiving SMS.
GPRS also works. If your carrier/service providers details are included already, it'll work out of the box. Otherwise you'll need to set up a new APN under settings.
For the time being, these stuff do not work:
Battery (will always report it's 100% full).
Bluetooth
WIFI
Camera
Sound (other than what you'll get with the workaround)
Vibration
LED notifications
Standby/Suspend mode.
Unlocking SIM (Android will accept the PIN code but it won't connect to network, you'll need to disable PIN from WM).
FAQ
Q: When I let the phone sit for a while it goes to a text screen that just rolls android_power_suspend messages?
Right now these message are normal, just hit any key or the screen to go back. The suspend portion of Android is being actively worked on so just hang tight!
Q: I installed and booted Wing Linux and when I attach it via USB to my Windows computer it asks me for a driver for an "Ethernet Gadget". Where can I get this?
Linux has this driver natively. For Windows, there's no driver right now, if you know where we can find one (that is free to distribute legally) please do share it with us.
Q: When I boot for the first time the installer hangs at partitioning 0%, is it not working?
Walk away from your phone, this part will take some time. It will only have to do this on initial install so have faith.
Q: Can I install this to my phone's internal memory?
Not presently. Although the cab file will install, you won't be able to boot from internal memory. Ensure you install to your storage card.
Q: Does this run emulated under Windows Mobile?
Not at all! Although it's started from inside Windows Mobile, HaRET completely replaces Windows with Linux in memory, so you actually are booting native Linux -- No emulation at all.
Q: I successfully entered my PIN and unlocked my SIM card through Android, but I can't get on the network. Why?
This is a known issue -- unlocking a SIM card works, but Android does not follow through with connecting to the network. The best solution to this for now is to remove the PIN from your SIM card.
Q: I opened an application but how to I get back to the main page or quit the program? Where is my back button?
Check the keymap posted above.
Q: When will X work on Opal?
In due time. The project is made of volunteer effort working in their spare time. If you'd like the development to speed up, feel free to give a hand!
Not every single one of the people working on this is a developer. Some, like me, are learning as they go. And none is able to dedicate all his time for this project.
Q: I messed up with the calibration. How can I re-calibrate the screen?
Go to storage card, then go to the folder called 'linux'. You'll find a file called default.txt
In that file, look for the line that says "set CMDLINE", add "reset_ts" to it (between the two quotations). Then boot normally.
Remember to remove that once you're satisfied with the calibration.
(If Microsoft Word asks you to save it in their format, always say no)
Q: I waited a lot but the device won't finish booting after installation. What should I do?
First of all, try resetting the phone and booting Wing Linux again. In most of the cases, this'll work. If that doesn't work, try deleting the "rootfs" file from "/Storage Card/linux". If you don't see that file, delete rootfs.img instead. Then boot back in and it should start installing from scratch.
If you're still having issues, remove everything (refer to the "I want to completely get rid of Wing Linux" section) and reinstall the two cabs.
Q: What version of Android is Wing Linux running?
Right now, it's running Cupcake (1.5). An upgrade is planned.
Q: What version of Ångström is Wing Linux running?
Latest as of time of posting.
Q: I'm trying to use the virtual terminal but the enter button on the virtual keyboard won't do anything. Is that normal?
It happens occasionally. Try pressing the d-pad in various directions then hit then enter button again.
Q: Can I SSH to the phone?
Yes you can
Code:
sudo ifconfig usb0 10.100.0.2 up
ssh [email protected]
The password is "wing".
Q: Is installing to a dedicated partition supported?
Yes it is, for more information check the 'INSTALL' file included in the zip, and that can also be found under /storage card/linux
Q: How can I set up a development environment to help with coding?
Take a look here.
Q: How can I get in contact with developers?
Through this thread, the project's forums and on the IRC channel at #wing-linux on Freenode.net. Please, do not use E-Mails, PMs, IMs...
Personal thanks from me to the following people for making this a reality:
darkstar62 for being the main man behind the whole project. And for going easy on me despite my noobness
The people at Linwizard for creating the base kernel and helping throughout development.
kshaurya for helping me to get the Opal branch started
raditzgds, life02 and zenned for helping to get the touchscreen working on Opal.
HTC for this nice device.
Google for Android.
The people behind Ångström for the base system.
I hope I didn't forget anyone...
Please, don't reply with a quote of this post.
Release Informations
Released Versions:
0.1 released on 2009-02-16
0.2 released on 2009-05-26
0.3pre3 released on 2009-06-14
0.3 released on 2009-06-16
0.4pre1 released on 2009-07-04
0.4pre2 released on 2009-07-25
0.4pre3 released on 2009-08-12
0.4pre4 released on 2009-08-12
0.4 released on 2009-11-09
0.4.1 released on 2009-11-19
0.4.2 released on 2009-11-21
Planned Releases:
Nothing is currently set in stone. Next release can be either 0.4.3 or 0.5.
Things to look forward for in the next release.
Hopefully: Sound and there might be some changes concerning Android.
Latest Change Log:
Will be updated on next release.
Please, don't reply with a quote of this post.
How to help with testing and development on Opal:
The people behind Linwizard and Wing-Linux are in need of the results of running this test:
ali1234 said:
Hi,
Thanks to everyone who came to our sprint and tested things. We got a
basic kernel booting on several platforms.
After looking at the results I started to look at the LCD detection
code. I would like to ask everyone to run this test and send me the
results.
I need testers with any omap7xx phone. You only need to run a haret
script and mail me the output, no kernel boot in necessary. The test
scripts are here:
http://al.robotfuzz.com/~al/htc/lcd1.zip
You need a modified version of haret which is included. Unpack the zip
to the phone's internal memory and run haret. Press the "boot" button
like normal. It won't boot linux, it will run the tests instead. Your
screen will flicker during the test, it is normal. It will generate
lcdlog.txt. Mail that file to me or the list, along with any
information you have about your phone. Especially if you have an
after-market LCD, or you know what model of LCD you have for another
reason.
The test works by rapidly switching between LCD mode and GPIO mode on
the LCD controller pins, to check which pins are tied high, low, or
are floating. It does this 30 or so times. Any pin that changes value
is deemed floating. The others are tied high or low (1 or 0). Ignoring
floating pins (zero them) and you get a code which identifies the
panel type of the phone.
More about the LCD detection, including device database and log
processor: https://sourceforge.net/apps/trac/linwizard/wiki/LCDDetect
Thanks
Click to expand...
Click to collapse
While the quote tells you to email the results to ali1234, it would be best if you PM them to me and I'll handle passing them forwards.
Very nice thread with all the info needed
musikmonk that rom is ready contact me today eve or tom i will send u... then u can do testing works.
good discription brother........
i have tried it out already....but sound wifi etc not working.....hopefully the developers will solve the problems in next build....
indresh88 said:
good discription brother........
i have tried it out already....but sound wifi etc not working.....hopefully the developers will solve the problems in next build....
Click to expand...
Click to collapse
I guess you dont know that musikmonk himself is one of the developer of android for omap 850 devices
i downloaded it from the web to my mobile...took me a couple of hours but was worth it.
installation was a breeze.
wifi is not a necessary for me...so i am okay with it...
there are some probs tho...like the battery percentage...it is stuck at 100%. even after fiddling with it, it remained the same.
i rebooted to wm to find that battery was about 45%. this issue is critical...i feel. what about you guys??
btw...my sincere thanks to all who toiled so hard...without getting paid...to port this amazing os.
hats off to you guys...and do keep up the good work.
i'm testing android from some week
i test version 0.4.2 and the 0.4.3 pre4
bluetooth don't work... when I turn on the bt the scrren increase brightnees...
for the audio problems if you start winglinux during a call audio works
now i want try your kernel
jagan2 said:
I guess you dont know that musikmonk himself is one of the developer of android for omap 850 devices
Click to expand...
Click to collapse
Thanks But I'm still faaaaaar from being a developer. I'm just learning.
freelancer81 said:
there are some probs tho...like the battery percentage...it is stuck at 100%. even after fiddling with it, it remained the same.
i rebooted to wm to find that battery was about 45%. this issue is critical...i feel.
Click to expand...
Click to collapse
Ah, I forgot to mention that . I added it to the not working section now.
Right now, wing-linux is using a fake battery driver that always reports battery as 100% full. There's still no working driver and I'm afraid that it might be a long time till there is one.
gp.triple said:
i'm testing android from some week
i test version 0.4.2 and the 0.4.3 pre4
bluetooth don't work... when I turn on the bt the scrren increase brightnees...
for the audio problems if you start winglinux during a call audio works
now i want try your kernel
Click to expand...
Click to collapse
Please do try that kernel and tell me how it goes for you.
nice work MusikMonk, i m so happy to see development for android on our phones
Bluetooth works on mine, but not all the time(once in 10 it doesn't)
Thank you so much for sharing your work
Edit: Sometimes,network problems occur after changing kernel
i try your new kernel
now when i start bluethoot its start
but don't discovery my sonyericsson w950i
and the s.e. don't find the opal
but the opal find other device...
soon as possible i try to connect other device and give you some feedback
i hope that you can understand my bad english
one question...
it is possible tu build the kernel 2.6.30 or successive?
its contains more driver
mrushabh said:
nice work MusikMonk, i m so happy to see development for android on our phones
Bluetooth works on mine, but not all the time(once in 10 it doesn't)
Thank you so much for sharing your work
Edit: Sometimes,network problems occur after changing kernel
Click to expand...
Click to collapse
Can you please tell me what you tried for bluetooth? I could use some details.
And about network problems, that's normal. It randomly happens with wing-linux, it isn't something specific to that kernel.
Most of the times switching to aeroplane mode and back works. Sometimes you'll have to reboot.
gp.triple said:
i try your new kernel
now when i start bluethoot its start
but don't discovery my sonyericsson w950i
and the s.e. don't find the opal
but the opal find other device...
soon as possible i try to connect other device and give you some feedback
i hope that you can understand my bad english
one question...
it is possible tu build the kernel 2.6.30 or successive?
its contains more driver
Click to expand...
Click to collapse
Does it always find that other device or does it only find it sometimes?
About using a new kernel, there are some problems with that. darkstar62 is working on moving upstream to latest kernel and he submitted some patches to the linux-omap tree to get his device (Herald/Wing) supported some were accepted, others are pending.
I tried these patches on Opal but memory card and usb didn't work. I'm waiting till the patches are complete to try again because, right now, I don't know how to fix them myself. I had a couple of ideas that I tried, but none worked.
Oh, and your English is okay. I can understand you fine.
MusikMonk said:
Does it always find that other device or does it only find it sometimes?
i had few time to try this morning
one time bt start and find some device
one time bt don't start
and one time bt start but don't find any device
as soon as possible i'll do other test
Click to expand...
Click to collapse
Click to expand...
Click to collapse
im glad the network problem is not related to the kernel..
as for the bluetooth, it can find my other phone but somehow cant connect with it, also when set to discoverable also no other device finds it
Thank you all I really appreciate your help with testing.
If you guys have the time, can you also give this kernel a test:
http://dl.dropbox.com/u/1944361/zImage-09-02-10
Edit:
Oh, and can you please give me details such as:
What was the bluetooth state in WM (off/on/hidden/discoverable)?
If you're using WM6.5.x, does bluetooth work normally on the rom you're using? (There seems to be many customized roms with bluetooth problems)
When you searched from Android, if some devices are found, do the name appears or only the address?
Stuff like that...
nice ...work
nice work thank u .
i have test the OS but there are some problem , that i cant make a call and
i cant but it on sleep mode and some time Bluetooth does'nt work .
but until now it's great to see the android work on our mobiles .
.
MusikMonk said:
Thank you all I really appreciate your help with testing.
If you guys have the time, can you also give this kernel a test:
Edit:
Oh, and can you please give me details such as:
What was the bluetooth state in WM (off/on/hidden/discoverable)?
If you're using WM6.5.x, does bluetooth work normally on the rom you're using? (There seems to be many customized roms with bluetooth problems)
When you searched from Android, if some devices are found, do the name appears or only the address?
Stuff like that...
Click to expand...
Click to collapse
i did other test
at first i use the original wm6.1
condition of test
wm bt on/discoverable ---> android don't start bt
wm bt of ---> bt start in android, only one time find other device but appears only the adress, the other device don't find the opaldroid
if i can this evening try the new kernel
Results with the new kernel
Rom used:Official HTC WWE Rom
Bluetooth state in windows mobile:Off
Bluetooth activates and can be set to discoverable but no device can find phone and phone cant find any device
VERY RARELY IN THIS STATE IT CAN FIND MY MAGIC MOUSE
Bluetooth state in windows mobile:On
Same as the one before but no rare luck here..(Bluetooth activates and can be set to discoverable but no device can find phone and phone cant find any device)
hi;
Please take a screen shot from your device and put them there!
thanks.
i did some test whit the new kernel
win 6.1 standard rom
bt off in wm---> sometimes find other device showing the adress but other device cant find opal
bt on in wm--->didn't find other device and other device cant find opal

Android 2 on the Omnia 2?

Okay, first post, I apologize if I've broke a rule. And I didn't see this question anywhere. So... Is there any way to use Android 2.0 on the Omnia II? I don't really like Windows Mobile and wish I could replace it. Thanks.
Perhaps in the near future.
Two phones have similar hardware to the Omnia II: first is the Samsung Moment and the next is the Samsung Beam.
The three share the exact same CPU and only the latter differs in RAM; the beam has 384mb ram but this is probably because it also sports a projector and I assume it is going to be a very resource intensive app.
Both the Beam and the Moment (well at least the Sprint version) will eventually have Android 2.1 on there. If someone still has an interest in this old device which seemed to have so much support and potential behind it only 4 months ago they may decide to get the software from that phone and do a few tweaks to have it running on the Omnia II.
There presently is an Android on Omnia dev but the fact is he is going to have a really hard time porting Android on a device which is quite different to anything current on the market now (the Armv6 instruction set is quite dated). Hopefully he moves onto porting instead of building from the ground up like he is doing now, though he may elect not to because he has probably done a lot of work. IF he or someone else ports it will be a very good Android phone, if it is built from the ground up i have a strong feeling it will lag and crap out worse then the Omnia 2 with Samsung BloatWiz on it right now.
=====
In my opinion Modus Windows Mobile is not the issue, it is Samsung. They have a very poorly coded user interface called "Touch-Wiz". All you need to do is go into the My Menu, Find "settings " > click "Display and Light" > click "Items on Today" > scroll down and go to the Samsung widget plus and untick the box > Now go to the very bottom and just tick "Windows Default". Click Done.
You have to wait a second now go back to your home screen, you no longer have three screens (a useless feature anyway) but everything is faster now. You can also make it look better by going back into that place and clicking "themes".
Thanks. I'll give it a try and check the forum periodically for Android-on-Omnia2 news.
I've been working on this for quite a time now. (see modaco can't post links yet)
Okay I've uploaded all the necessary files. But no time to make a manual. So please, only those who know what they are doing try it out. For the devvers: in winmo change usb mode to mass storage (my internal storage), stick in into linux, change the size of the vfat internal sd, add an ext3 partition. Make sure you chmod it. And there you go!
My plan is to setup a dedicated website with the full source, split up in to braches for the different s3c6410 devices and supported drivers. This costs money and time, my plan is to do this next week.
For those of you who showed support by donations, I would like to do something extra for you guys. I apreciate this, Please PM me if you need any help and have considered the above but can't get it to work.
Paypal:
EDIT:now it is working
rapidshare:
--Alpha Release--
Note: to accomplish booting android requires reformatting the internal sd, this might brick your phone, I only recommend it for the more advanced (linux) users. I will take no responsibility for this. This release is soley for a proof of concept purpose. For the non-devvers: you could try to see if it works from vfat, you'll have to use mmcblk0p5, I know it gets to the android screen or make .img from these files and use an initr and mount the images.
What works:
-frame buffer
-s3c6410 cpu
-internal sd
Android is now in a state where you could open up almost anything, watch a slide show But because of the TC you need to press a little below/left on what you want to click due to faulty calibration.
What is in the making:
-ALSA support
What needs to be done
-hardware keys (using haret) (then we can shuw down the phone, because often you have to reformat the partition due to corruption)
-ADB/USB connection (shouldn't be too hard)
-UART/RIL/DPRAM config (to make 3G/PHONE/text work)
The first two will speed up development, that's why they need to be appended first.
Then:
-Touch screen should be better calibrated
-optimizations/speedups (G2d, G3d, armv6, VFP) + memory layout issues should be resolved. Now only 128 mb is used.
-external SD support (the s8000 android devvers are working on this)
-BT (I don't use it so it has no priority for me)
Which devices are supported?
I think theoretically every s3c6410 omnia/jet/acer iteration should work. But I know some devices will require a small patch to change the frame buffer adress. So please report back failures/successes.
EDIT: ofcourse I will still make a manual these days for the non-devvers, first thing i do when i have time.
Click to expand...
Click to collapse
almar2 said:
I've been working on this for quite a time now. (see modaco can't post links yet)
Click to expand...
Click to collapse
Hey there Almar, how is the speed of the device? Has compiling the drivers been an ok task and what do you think of the new phones coming out soon, will they be of any use to you?
What version of Android have you installed and if it is 2.1, would you say it is at least as fast as pre-2.1 android?

Categories

Resources