Hello ,
I'm a newbie and have used the introductions on http://wiki.xda-developers.com/wiki/HimalayaLinuxBooting to boot linux on my himalaya. Unfortunatily the pops up dialog "Launch a script file. Default ..." when i tap on HaRET-0.3.2d.exe . I can't connect to port 9999, too.
Please Help me
Thanks
Hi snowdrop,
the dialog means that your prepared scriptfile hasn´t been found and executed. This could be because you misspelled the name. Keep in mind that all filenames have a 3-letter extension which is not visible in windows. I.e. if your FileExplorer says "startup.txt" the filename is "startup.txt.txt".
Or maybe you installed the startup script in a different directory than HaRET. IMHO it´s easiest to install all 4 files (haret, startup, kernel, initrd) in a separate dir unter \Storage where you don´t have to reinstall it after a reboot.
Don´t hesitate to ask further if this doesn´t anwer your question.
Matthias
Hallo noone,
thanks for your reply. I copied all neccessary file under "\Storage Card\". The filename is "setup.txt" (the filexplorer says startup without extention but i'm sure it is named startup.txt through my activesync under Windows). All files are under "\Storage Card\", (also the HaRET-0.3.2d.exe and startup.txt files). :roll:
Greets
Hi snowdrop,
I'm not really sure about that. It works for me all the time.
Maybe you can track down the problem with a network connection. You have to disable ActiveSync on your host PC and to start a connection with SynCE. This requires usbserial and ipaq as well as ppp loaded into the kernel. When you cradle the himalaya you should get a message from usbserial about the attached device (usually /dev/ttyUSB0).
After synce-serial-configure (root), dccm (user) and synce-serial-start (root) the Himalaya should display the connection sign in the bottom bar. Be careful: ActiveSync on the Himalaya may or may not try to start a GPRS session. This can become expensive sometimes
After establishing the PPP connection from PC to Himalaya you connect to port 9999 (refer to SynCE's documentation about the IP addresses). Then you can enter the commands of the startup.txt script line by line.
HTH
Matthias
Hello Matthias,
what is SynCE? I'm using Windows as host PC.
Are synce-serial-configure (root), dccm (user) and synce-serial-start Linux Tools??? :?:
Thanks
Ok,
i after some hard work (and hardware reset), i'm now able to see the penguin(with red eyes and red thermometer) . But then nothing will be done
Actually I thought, that there is also a graphical user interface for linux. Now my question:
Do you ONLY remote login into your linux and have JUST a console application? Or have you also GUI applications and a desktop under linux for himalaya at the time.
Thanks for your answers
it will of cause never run any linux applications not compiled for it
like windows CE will not run pc windows applications
if you can find a kernel compiled for it
you can use it otherwise you'll have to compile your own
the same goes for a version of x11 and any other applications you may wish to run
though in the world of linux sourcecode is much easier to come but and compile yourself then they are under windows
Hi,
can you give some usefull links about linux application on PDA?
I want too much to run linux under my himalaya .
havent really messed with it
here is another distro for xda not sure if he ever got finished with it
http://www.pigeond.net/photos/xda-linux/
havent kept up on it really
what you have to look for is pretty much
applications for the arm cpu
and you can also look for linux of ipaq and other pda's which use the arm cpu they would also run on the xda
but i havent really kept up todate about the whole project
so i dont know how long any of the project have gotten
and i dont know how many applications can be portet because of graphical limits in the desktop manager like glib
but i'm sure there must be others in this forum who mess around with these things
Maybe the guys at handhelds.org could give you some more info, got lots of help getting linux running on my ipaq 5550 (never quite got it working to my liking though)
Related
I followed both steps (usb and bluetooth) with no success...
are there any brave persons that are able to sync this device on Linux?
http://synce.sourceforge.net/synce/howto.php (USB)
If yes, could you please tell me which kernel did u use and yours secret tips? :wink:
What's exactly the problem you encounter? I use Raki and synce on one debian machine, but just to connect, show the magicians screen on the pc's screen and copy files between them, not to sync any data (appointments, etc.).
Greetings,
BGK
Which guide did you follow to set it up?
The device is recorgnized by dmesg but i can't connect to it with pppd
Have you tried multisync? It should be the bridge between synce and evolution
I have also successfully used RAKI on KDE desktop (Debian Testing) to connect to the Magician. It transfers files back and forth, with the right iptables masquerading entry (done manually) I can use the Internet, but I cannot sync anything either
I forget exactly what I installed, but everything should b plug&play.
Kernel 2.6.10, Hotplug, Synce-KDE...kernel installed manually, the rest from the Debian dselect program. There are certain things you have to set up with the kernel config.
What distro are you using? Any other details?
Re Multisync; I really do want to get synch'ing going like ActiveSync. I installed it, tried various configs, but I do not get anything in the program... Can anyone else help?
uau, could you please post your software version?
did you pass some arguments to modprobe ipaq ?
uau, could you please post your software version?
did you pass some arguments to modprobe ipaq ?
If you made raki work you should install multisync and the evolution plugin..
it's already in http://www.multisync.org/files/multisync-cvs-snapshot.tar.gz
Hi metnik, sorry for the late reply.
My device is an O2 Mini (aka Magician), information at Settings => System => About, is
Windows Mobile 2003 Second Edition
Version 4.21.1088 (Build 14235.2.0.0)
I did not have to pass any arguments to ipaq module. It did everything auto; I guess it is because of the 2.6.10 kernel.
I have installed Multisync from Debian Testing, and it has SynCE and Ximan Evolution 2 plugins. I have created the synchronization pair with these, but NOTHING happens when I press the "Sync" button.
Raki, on the other hand, works nicely with the USB cable; even the KCeMirror works very nicely (window of the device on your desktop).
The only problem with Raki is the synchroniztion setup errors with "No Synchronizer found for (Contact)..."; i.e. I don't know how to get synchronization working with that either... It really would be nice to have a copy of my address book on my Linux partition somewhere. So far it is only on MS Outlook, which I don't use...:-(
Also, I have bluetooth transfers working between the Mini and my laptop, however, I havent figured out how to get bluetooth working with Raki. It would be rather nice.
Any clues?
Hello there,
as many of you may already know, the HTC Prophet shares a lot of its hardware with the HTC Wizard. We, the Linwizard Project, aim to port Linux to this OMAP-platform, as other users did port Linux for PXA-based devices like HTC Universal...etc.
I just want to invite you Prophet Users to checkout our project. Our procedure and yet available kernel should also run on your phone....
http://linwizard.sourceforge.net
Greetings,
Maui
Hi, I want to install Linux on my new Qtek s200, but I don't know how to do that. What is the project's actual status? I hate WM5
Is there any updates to this as yet? I would really love to see this ported/Running to my HTC prophet
Running it now
Yes, there has been some progress... the basic PDA functions are available: X runs, touchscreen works making it possible to run GPE on it:
Here's a link to a recent build which works reasonably well. It contains the f*ugly GPE shell so it is not pretty to look at, but it does work.
http://tinderbox.dev.gentoo.org/embedded/linwizard/gizard-20081108.tar.bz2
To try this for yourself, download the image, unpack the tarball and copy the entire contents to a directory on your SD-card. Go into that directory and run haret-0.5.2.exe. Run the 'default.txt' configuration.
Once the kernel boots it will start a telnet daemon on 10.100.0.1:23. Configure your side of the rndis network to be 10.100.0.2 (ifconfig usb0 10.100.0.2 on Linux, whatever on Windows) and telnet 10.100.0.1. Login as root, there is no password. Once logged in run startx to get GPE up and running.
Once GPE runs you'll want to add the onscreen keyboard to the panel. To do this tap-and-hold on the taskbar (bottom of screen) and add the 'input selector'. This gives you an on-screen keyboard just like the WM-one. Add a terminal launcher as well to get access to an xterm.
If all this is gibberish to you you might want to learn some unix/linux before you try...
Thanks alot it works on my prophet it's very fast to but am unable to login as root is there a way I can login to linux without using typing root? if not can u help me with the telneting into it please what software do I have to use on my pc it's a Windows is there anysite with instructions? I like it alot but since the prophet dont got a keyboard on it's own am not able to login please help and Thanks in Advance
Booting and running Linux on the Prophet
Most of what you need to boot and run Linux is described on the linwizard project site:
http://linwizard.wiki.sourceforge.net/
The version offered on the site is out of date - it does not do much more than boot the kernel which you can control through SSH (on 10.100.0.1:22).
To do some more with Linux you'll want to get a newer release. The one mentioned in the previous posting is a good example of where the project is now: relatively complete PDA-support but no real GSM support - so you can not use it as a phone...
To see Linux in action you download the tarball, untar it on your SD-card (either in a card reader on your PC or by untarring it on the PC and transferring all files to a directory below /Storage Card/. Once that is done you are well advised to do a soft reset to clear some memory as haret - the program used to push Windows Mobile out of the way and replace it with Linux - likes memory. After the (optional but advisable) soft reset you take your $favourite_file_manager to the directory where you put the contents of the tarball, execute haret-0.5.2.exe and run the default configuration (just click Run). Linux should boot, albeit slowly (it takes a long time to read the initrd - initial ramdisk - from the SD card). If you get a white screen which stays white for a long time you might as well reboot and try again. If you get a screen with a penguin with a hat on you're in. Plug in the USB cable if you haven't done that yet. You'll be staring at a login: prompt with no obvious means to type anything anywhere... that is because this Linux distribution is made for the Wizard instead of the Prophet, and the Wizard *does* have a keyboard. For now you'll have to resort to telnet to login and get things going. The phone is now listening on the cdc_ethernet interface (over the USB connection) on IP 10.100.0.1 so you'll want to configure the PC-side of the connection to something within that network range - 10.100.0.2 seems a logical choice. Configure the PC-side of the connection with IP 10.100.0.2 (ifconfig usb0 10.100.0.2 up on Linux, many many mouseclicks in the network manager on Windows). Once you have the network configured you can login with *telnet* (NOT ssh as mentioned on the linwizard site, the gizard tarball only has an active telnet daemon!), username is root, there is no password.
Once logged in use 'startx' to get the GPE shell running. It will complain about not being able to find a keyboard. The 'X' cursor appears, follwed shortly by the butt-ugly GPE interface. Once in the shell you can add a keyboard to the taskbar (tap-and-hold, choose add->input manager). There's more stuff to add, like a terminal (always handy) etc. Wifi does not work yet, GSM does not work yet, you just got yourself an iPaq...
If you're looking for eye-candy this is not it - yet. But as it is Linux, and free, and open, it can become anything you want it to...r
Am still getting error when trying to connect to my prophet useing usb is there anyway anything I need windows cant find the drivers is there a site I can download one from that supports my HTC prophet? And I tryed to connect to it but no luck I change my ip address to 10.0.0.2 255.0.0.0 and tryed to telnet to 10.0.0.1 but nothing, is there anyway to ping the device to see if it's up and running am upset, you sure there is no way to use it without having to login as root? This is giving me stress but al keep trying but am sure am missing somthing but what is it do you know? BTW I used the Drivers from http://forum.xda-developers.com/showthread.php?t=385129&highlight=linwizard&page=4
hope thats works for the prophet if not can you please help me find a driver for my prophet thanks again and good work
Sorry I got it to work I made a mistake its ip address 10.100.0.2 255.255.0.0 telnet 10.100.0.1 it works I even uploaded some pictures of it enjoy
I used a Nokia 3595 to take the pictures
just more pictures
Just a more pictures I love it I wish we can use it as a phone
They were taken with the Iphone
if Linux works on the HTC prophet then the Google operating system andriod must work to right? If so any information about it being ported to run on our phones?
hi all, i'm trying to make linux booting, but as just i start the haret and press run to execute the default.txt, it tell me :
kernel syncing panic.... and reboot after 30 seconds
any suggestion? i'm using vista 64bit and a qtek s200 wm6.1
Well am not to sure about this but al try to help Now tell me first did the linux boot on your ppc? to the screen were its asking for username? if so its ok if Not and it resets your mobile then something is wrong tell me what does it say and to tell net to it first you need the drivers did you get it? if not al post a link to download it ok I never had that problem before try running it on your SD card did you download all the files needed? I just updated my prophet rom so al try it my self it could be a firmware problem al try my best to help you ok
umh i havent installed any driver on my pc...... on the profhet, all i do was extracting files and run harted 0.5.2 .... and then press run. shell start, but then i got this error, i think it's more a pc-phone related problem..... i'll try do some other test
PS: telnet or ssh doesnt work
when i had BA phone, i was able to install linux on it, but i had just to start harted and all was working then.
Well it could be a ROM issue try to close unused programs it might help were is the files located? in the main memory or storage card? Anyway keep trying I don't understand much the drivers I posted a link for it already read my older replys ok And try a different ROM becouse am not getting this problem on mines
is it already found how to call with linux?
that is fantastic, I will refresh my Xda neo
Hi everyone!!
I'm trying to boot linux on my device, but when I type "startx" it not start the GUI..
Which version did you try??
To boot linux, I always need a pc to do the login??
Hi, i have one prophet and yesterday runned one old version of android (0.8 think), i follow one tutorial of this forum(think, i visited a lot of web for this...) plus to it one haret(0.5.0 i think because download a lot of haret) and android runned in my prophet..but it were very very very slow and i'dont like it...
How can i put GPE in my prophet?
can i make it with linwizad 0.2.0?are all necesary files into?
is need one pc with linux for start it(i don't have it, any solution)?
Thanks
PS Sorry about my bad english
I found this in the web:
http://usblinux.org.ru/archives/category/setup/from_windows
http://anterior-linuxlive.blogspot.com/200...fiish-m700.html
http://4pda.ru/forum/index.php?showtopic=89832&hl=linux
Can it help us?
I would like run linux in my prophet..but i never use Linux...
Is possible OPIE in prophet?
Also this:
http://4pda.ru/forum/index.php?showtopic=55392&hl=linux
Is interesting post #10 OpenMoko s100...not?
Hello. I want to scan and modify every IP packet that goes thru PPP (dial-up) (or thru all interfaces if easier). I've done a lot of research and found that maybe the only way to achieve this on lousy wince is to patch the OS itself...I am an x86 programmer and I've done this relatively easily on winxp...
P.S. How can one debug wince os code in ROM with software debuggers?
P.P.S. So far I don't have any solution to my problem so it would be a success to do this even with one device (I have htc universal for tests...)
Today I've finally downloaded the platform builder and so called "Shared" code of wince 6.0...To my surprise I found ARM4 .lib files instead of source code for everything that I needed to look in (ip*.*) . However there is a binmod utility and other stuff for editing rom that you might need. I don't need to modify rom since i can neither debug ROM nor have it's source even from a different version of wince (I need for 5.0). M$ is sh*t as usual.
It is the har work to modify ppp packets on pocket pc (wince).
Yo can try the passthru sample in PB:
\PUBLIC\COMMON\OAK\DRIVERS\NETSAMP\PASSTHRU
and
\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\NETSAMP\ASYNCMAC
i think you have to modify the drivers.
good luck !
I want to modify the messaging program but I've not done any WM coding before. I've looked at a number of posts on the forum and taken a look at the wiki but I'm still totally confused about where to start.
My current view is that I need to:
Extract the messaging program from the ROM I'm using
Is this possible? If so, what tools do I need? I found a few utilities that look promising on the wiki but there is no documentation for them so I've got no idea how to use them.
Disassemble the program
Can I do this with Visual Studio? Ideally I would like to step through the execution to find the bits I need to change, can I do that with the extracted program in the WM emulator? Or can I do it directly on my PDA?
Patch the program
I can probably figure this bit out by myself.
Get the patched program onto my PDA
As the program is in ROM, I'm assuming I'll have to re-make the ROM. Or can ROM files be updated/overwritten without rebuilding the ROM?
Each of those steps is assuming the previous one is the correct approach and is actually possible. I'm not looking for hand holding at every step, just some good pointers to relevant information and tools. Thanks.
0. - which programm you want to hack ?
1. What type of PDA you use ?
for example - for hx4700 -
prepare_imgfs.exe dump.dat
viewimgfs.exe imgfs_raw_data.bin
2. IDA - diassemble, or Visual Studio for debugging - if you know how
3. What type of PDA you use ?
for example - for hx4700 - like vivi kitchen.
4. ...
Thanks for your reply.
0. - which programm you want to hack ?
Click to expand...
Click to collapse
The messaging program, is it called Outlook Mobile? Do you know if it is native or managed code? If not, what's the easiest way to tell?
1. What type of PDA you use ?
for example - for hx4700
Click to expand...
Click to collapse
I've got a Kaiser. Currently running "udK 8.0 R0 Vega" ROM (WM6.1). Forgot to mention that in my previous post.
IDA - diassemble, or Visual Studio for debugging - if you know how
Click to expand...
Click to collapse
Does IDA support remote debugging on Windows Mobile? Also, are there any restrictions on what you can debug in VS, ie. do they stop you from debugging things you don't have the source for or are Microsoft applications (eg. Outlook) restricted from debugging in some way?
I'm finding it really hard to get decent information on these kinds of things. If I actually manage to get anywhere with this then I'll write up some kind of guide for the wiki.
Ok, I've used this tool to extract the ROM and get a file called 00_OS.nb. I then got these tools and managed to dump the NB file so that I now have all of the files inside the ROM.
I've been playing about with IDA but when I try and run poutlook.exe in the debugger, it runs but exits straight away (ie. it doesn't create a window on the PDA). I tried copying poutlook.exe onto my device but it doesn't run, I think I need to get it running from the exe before I do anymore IDA stuff. I remember reading somewhere that executables in the ROM image have been manipulated in some way (addresses rewritten or relocated or something), is that what is affecting it? Or do I need to run some additional tool on the extracted exe before it will run standalone?
How do I get an executable extracted from the ROM to run on my device? Or do I have to roll it all up into a ROM for it to work?
Hi everyone,
i'm not sure if this should be posted here or someone did it before.
So please delete this thread if this is a known fact or does not belong here
During experiments with haret on various platforms, i thought about a simple method to get access to the haret console without the need of a host computer.
There's a little trick to make this work:
Every device with some networking features has a loopback IP-address.
The IP of this "network device" is 127.0.0.1 and can be used to access haret console locally, right on your mobile device.
1. Start a version of haret suitable for your mobile device.
2. Tap on the button "Listen for network connection".
3. Start a telnet client on your device (e.g pocketputty).
4. Connect to 127.0.0.1:9999.
That's it!
Works perfect with my hermes and universal, when i'm on the road and need to verify of some internal settings or some register settings
I hope this maybe helpful for anyone.
Cheers,
scholbert
scholbert said:
3. Start a telnet client on your device (e.g pocketputty).
Click to expand...
Click to collapse
you may provide a link to the putty .cab file here
It would be nice to at least tell the ignorant ones wtf is haret...
Hi,
thanks for the remarks!
So here's the pocketputty cab.
Have a look for updates here:
http://www.pocketputty.net/
aiiro said:
It would be nice to at least tell the ignorant ones wtf is haret...
Click to expand...
Click to collapse
O.K. nice entry
HaRET stands for Handheld Reverse Enginering Tool.
Have a look here to get deeply involved:
http://www.handhelds.org/moin/moin.cgi/HaRET
It may be used to debug and do other investigation on settings in the processor's registers, as well as start some binaries other than wince or winmob applications on windows based devices.
One of it's common purpose is to start a linux kernel on your mobile device for the first time (and much more often afterwards ).
At least it's mainly used by linux developers to check out what has to be done and set to make a linux kernel boot on your device!
Best regards,
scholbert