That shounds totally cool, thanks for sharing!!!
Could we do something like the opie trick and mount an SD partition in /ezxlocal/download/appwrite/efem/ to put apps that the efem console can run?
After playing around with the apps in /usr/SYSqtapp, i noticed a few things:
1. There's a program in /usr/SYSqtapp/mtc, which seems to be for testing the phone. It has the following buttons when you open it: Suspend, Vibration, Soft Ver, LCD, Backlight, Hand Write, L. Ringer, R. Ringer, Audio, EarPhone, Radio Info, Ap Chksum, SD, IPC and Quit. Only problem is that all the buttons (except Suspend, IPC and Quit), are greyed out, as in you cant click them.
2. There's a fem app (known as engineering menu for vxxx and e398 owners) in /usr/SYSqtapp/ap_tcmd/efem, which has about the same functions as the fem app found in vxxx. The best part though is that there's a console in this app! Choose GPRS from the main menu, then choose console. The only problem is that it doesnt accept standard bash commands, it, only runs programs in $EZX_LOCAL_PATH(/ezxlocal)/download/appwrite/efem, and there aren't any there. So i tried making a symlink from a command in /bin to there, didnt work. I also tried editing the $EZX_LOCAL_PATH to /bin, but that didnt work eiher, it looked for apps in /bin/download/appwrite/efem, which obviously doesnt exist. So then i tried another thing, copying the app to /ezxlocal/download/appwrite/efem, and this worked. I verified this by copying kill to there, and then type: kill -9 96, which crashed the app which means that it worked. This is obviously not the best option though, for 2 reasons:
1. the space in /ezxlocal is limited
2. the cd command is afaik built into bash, so that cant be copied, which means that youll have to copy all the commands over.
Well, try it and see what if you can get it running. Remember to do a . /home/native/.profile first though.
Yes, but does it run Linux?
That shounds totally cool, thanks for sharing!!!
Could we do something like the opie trick and mount an SD partition in /ezxlocal/download/appwrite/efem/ to put apps that the efem console can run?
Hey, cool!
It is not possible to make links on vfat filesystems. That is the problem. Anyone tested to format an sd card with ext2 and mounted it? It worked on my zaurus in the past.
% New UNIX password:
> penis
BAD PASSWORD: it's WAY too short
% New UNIX password:
Ok, guys, I got it:
in the package of btppp there was also busybox in there. I copied it to /diska/.system/bin some years ago.
Now, when type:
ln -s /diska/.system/bin/busybox /ezxlocal/download/appwrite/busybox
it works, when I type "busybox ls /" for example in the "console". Yeah, we have our console back!
@maxx:
The symlink might be not work, because you made a link of a link. You cannot link bash for example, which ist linked from ash. But you can link to ash in bin.
[update]:
There is a hidden proccess efemreceiver started, every time I start the "console". Unfortunately it is not killed, when I leave the console, so I have some of them after a while.
% New UNIX password:
> penis
BAD PASSWORD: it's WAY too short
% New UNIX password:
Thanks for the hulp cytux! I'd never have thought of using busybox! Good to have a console again! Btw you can just do a ps -ef with busybox, and then kill -9 the 'old' efem processes, right?
Yes, but does it run Linux?
@maxx:
I appreciate alway to help someone. Thanks a lot also for your stuff finding out!
I wrote a script which should kill all efem/receiver processes, but it didn't work, when I called it from the phone.
Busybox has many bash commands in there. Just type busybox on a real console (the crippled thing doesn't it) und you will get a list of all commands. You may also create a link as: "ln -s busybox ps" for example and thereafter you may type simply "ps" without busybox. But you must then create for every command a link you will use. "busybox clear" clears the most of the crippled console output.
Unfortunately, it seems to be impossible to start any interactive script or shell. Starting ash simply starts all I want, but there is no possibility to enter something.
But ok, for now the crco (crippled console) is good for examining the system and avoid everytime to write a script.
I am just playing with the eclipse stuff. My first hello world "application" works.But until now only in java, not J2ME.
% New UNIX password:
> penis
BAD PASSWORD: it's WAY too short
% New UNIX password:
lol im learning c at the moment, here's my hello world ap:
#include <stdio.h>
main()
{
printf ("Hello world!\n");
}
Yes, but does it run Linux?
If you are learning C already it shouldn't be aproblem to install eclipse. It is also for C development. And then you are not far away from developing for J2ME.
My hello world is to complicated to post it here, but here is the output: Hello World.![]()
% New UNIX password:
> penis
BAD PASSWORD: it's WAY too short
% New UNIX password:
i installed the wohle netbeans 4.1 and the mobile part from sun with the motorola APIs, but i m just at begin and have to learn like "hello world " in J2ME fisrt too...
also i compiled a RSS news reader for J2ME that works on the e680(i), the code were prebuilded in the internet so i just had just know how the netbeans app works and lernt about a bit...
just rewrite Rss_Reader2.zip to Rss_Reader2.jar
Did you developed it under linux? I mean compiled. If you like, please look in the other thread, there is my helloworld applet - completely developed under linux.
Tomorrow I will look in the classtree which classes are available for my new TimeMachine in java.
% New UNIX password:
> penis
BAD PASSWORD: it's WAY too short
% New UNIX password: