Sep
15
2008

Building a EZX Build and Flash Env on OEL5

This is a long route to follow I feel .. But I’m on it anyway ..

Doing this with ROKRE6 ..

First better to find a way to flash the phone from Linux desktop. RSDLite is ok but it is Windoze only ..

Putiing the phone to MBM flash mode by power+photo and attaching to USB gives:
Sep 3 11:26:37 localhost kernel: usb 5-1: new full speed USB device using uhci_hcd and address 2
Sep 3 11:26:40 localhost kernel: usb 5-1: configuration #1 chosen from 1 choice

and no new entry under /dev

Checking http://moto4lin.sourceforge.net/wiki/FlashingEZX

Building:
– p2kmoto – ok
– exxflash Build problems:
a. make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf’, needed by `Makefile’. Stop.
the file is at /usr/lib/qt4/mkspecs/linux-g++/qmake.conf
b. /usr/bin/uic-qt4 does not exist
c. main.cpp:1:17: error: QtGui: No such file or directory
d. src/tools/moc: No such file or directory
e. *** No rule to make target `-DQT_NO_DEBUG’, needed by `moc_mainwindow.cpp’

There is some patching needed here .. So I did it (DIY): ezxflash_OEL5_XceptN.patch

then
/usr/lib/qt4/bin/qmake
make

./build does the others.

But unsbf does not work ok .. Going for SVN

   svn co http://svn.openezx.org/trunk/src/host/ezxflash/

The makefile patch is ok with Build 2349

   parseheader/parseheader test.sbf
–> gets you the out.txt
   unsbf/unsbf test.sbf

gets you the *.bin files

–> but this method is good with e780 firmwares.. No good for ROKRE6 .. Looking for other ways ..

Currently using desbf.exe to patch/parse sbf files .. and using manual mounts on linux .. Shall write more on this ..

Share
Written by in: firmware,rokr e6 | Tweet This

No Comments »

RSS feed for comments on this post. TrackBack URL


Leave a Reply

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com