kernel-mode source available to play with!
linomap, LINux on NOkia OMAP phones – kernel-mode dll BETA-0.02 is OUT in the open!
Now you can try to play around in the kernel-mode of your Nokia (not too newer, and not way older than the N70 model). It has been sucessfully compiled with Symbian S60 SDK 2nd Edition Feature Pack 2 and 3.
If you will run into the error: No rule to make: …/s60_2nd_sdk_fp3/epoc32/include/aknexslider.rsg
Simply create a file s60_2nd_sdk_fp3/epoc32/include/aknexslider.rsg and insert the following:
#define R_AKNEXSLIDER_SLIDER_LAYOUT_VALUE_PERCENT 0×1c6d4001
Currently only Symbian SDK experts and low-level embedded system programmers can play around with the source:
currently the code execution in kernel-mode dll crashes the whole system in most of the cases (the hack is used thanks to SERRGE; he used it in his overclocker for Linux on Siemens SX1)
SERRGE claims that if the whole system crashes, means the hack is working %) But HOW CAN WE DEBUG IT?
I found only one combination of assembler instructions which, when executed _both_, do not crash the phone.
In linomap/kmode-dll/src/library.cpp:
EXPORT_C TInt locltest_16 (void) (
asm("STMFD SP!, {R0-R4,LR} ");
asm("LDMFD SP!, {R0-R4,LR} ");
return 0;
}
Download the source and read QUICKINSTALL:
http://ifile.it/qvt71dm/linomap-BETA-0.02.tar.bz2
Current version BETA-0.02 crashes the whole phone, during the moment it tries to perform a User:Beep(…) and to reset the LCD Display (any ideas how to perform a low-level beep in ASM on OMAP 1710?).
I’m not opening yet any sourceforge since this is a project at its toddler-stage – just a cry-out for your help to debug that kmode_dll instruction after instruction..
To follow the discussion in the russian forum where I mostly post (English translation by google):
http://translate.google.com/translate?js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fforum.oslik.ru%2Fviewtopic.php%3Ft%3D30997%26start%3D0&sl=auto&tl=en&history_state0=
The assembly code to load u-boot which we will have to integrate into our project and debug in kernel-mode to see if it works for Nokia is here by SERRGE:
http://forum.oslik.ru/viewtopic.php?p=273625#273625
The cards are on the table. Who’s in?
I am currently working on porting Symbian 9 kernel’s (the source got open on October 22nd!) bootloader’s display controller source to try to clear the LCD – at least some debugging matters. But it looks tough so far..
Filed under: Uncategorized | 5 Comments
If you will use S60 2nd Ed. Feature Pack _3_, you may run into the error: No rule to make: …/s60_2nd_sdk_fp3/epoc32/include/aknexslider.rsg
Simply create a file s60_2nd_sdk_fp3/epoc32/include/aknexslider.rsg and insert the following:
#define R_AKNEXSLIDER_SLIDER_LAYOUT_VALUE_PERCENT 0x1c6d4001
G-luck!
do you use linux to compile?
Yes, of course. However, original SDKs from Nokia’s forums are intended for Windows.
and where I can get a toolchain that I can run on linux?
follow the http://www.martin.st/symbian/
or quickinstall: http://forum.oslik.ru/viewtopic.php?p=274181#274181
For you Nokia (6630) you will need the SDK 2nd Edition Feature Pack 2 – change the download/install links accordingly in the above link’s post