Join Today
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 14
Like Tree4Likes

Thread: New tool for OpenEZX, and more...

  1. #1
    Join Date
    Mar 2008
    Location
    just at the other end of the line.
    Posts
    879

    Exclamation New tool for OpenEZX, and more...

    Hi folks, tired by RSDlite problems, these closed source tools, the ramdownloader stuff, RDL, etc... ??

    I wanted to present a new Opensource tool for playing with ezx's kernels, some flash function are implemented, but you NEED visual studio to compile, and please make tests, because with mingw if you use static libraries, it compiles no problems, but will not write the good datas!

    It's called "Phonetools", written by GmZhuo !

    Phonetools can be used to write or read in the phone's memory (RAM and NOR flash areas) if you send gen-blob like a kernel (machine ID=0, no matter what the command line is...).

    It can boot a linux kernel, especially the OpenEZX one...
    It's in fact a gui equivalent to boot-usb, that also work on windows.

    First un-install the motorola drivers, then use phonetools folder as the new driver's folder ("manually select a driver on disk", "have disk...", use the "moto_ezx.inf" file), use the same procedure for gen-blob in USB mode (i.e. when you launch genblob while pressing the VOL+ button).

    To get used with it, just read Getting Started - OpenEZX and replace the bootusb commands with the phonetools equivalent.

    Get also some flashing and backup "guides" at the same address, and finally download gen-blob at here : Index of /wyrm/gen-blob .

    Have fun with it!

    (To build it, you need libusb (i suppose >= 0.1.12) and qt 4.4 libraries to run, i'll build a static version later)
    Sourcecode at Revision 2439: /trunk/src/host/phonetools
    Last edited by sabrod; 07-05-2009 at 03:55 PM.
    swifty, Konig, Halftux and 1 others like this.

  2. #2
    Join Date
    Mar 2009
    Location
    Shanghai,CHINA
    Posts
    12

    Default

    Thanx a lot!

  3. #3
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    436

    Default

    Realy nice looking tool the booting works but the backup i dont know maybe I do something wrong. Cant say for flashing I fear a little bit.

    I tried to backup the Kernel from NOR of my A780.
    Offset: 20000
    Length: e0000

    I used the precompiled gen-blob from wyrm.
    However the binary differ from a backup which i done with mtd utils.
    Do I have to use a newer self compiled gen-blob?

    And if you already have gen-blob flashed you only need to get the sdcard of the phone?
    -------------------------------------
    In any apple is a worm. Through each window flies a bug.
    That's why I take Linux, because what does not fly can not crash.

  4. #4
    Join Date
    Mar 2008
    Location
    just at the other end of the line.
    Posts
    879

    Default

    Quote Originally Posted by Halftux View Post
    Realy nice looking tool the booting works but the backup i dont know maybe I do something wrong. Cant say for flashing I fear a little bit.
    Heh, me too, i'm much more used to bootusb flashing than with with this new tool, but this will come
    This make me think to really make sure you delete the olds bootusb (at least don't use for flashing bootusb from revisions around the 2340 to around 2400, those with flashing functions) because they used to convert for example a0000 to 00000 , (they wanted a 0x prefix before hexadecimal) well, it wasn't a bug, but it was easy to put random data on the bootloader -> Even knowing this fact, a too much confident sabrod had killed one A910 with this typo...
    But you got to know this shouldn't happen with this phonetools because there is a limitation : 0x20000 for gen1 and 0x60000 for gen2.
    I tried to backup the Kernel from NOR of my A780.
    Offset: 20000
    Length: e0000
    Your entered the right values...
    However the binary differ from a backup which i done with mtd utils.
    Maybe genblob added a padding at the end of the file?? try cutting both backups ( dd if=back-kernel of=50kb-head-kernel bs=1024 count=50 ) and report the md5 checksum, please...
    Do I have to use a newer self compiled gen-blob?
    And if you already have gen-blob flashed you only need to get the sdcard of the phone?
    Yes, but you only can use all the functionalities if you have a genblob that is able to read / write on demands, you can load it with the combo key, but it's a quite new feature... (2 months ago) i guss the only way to know what file you have is to checksum it and compare it with a build you make or have... but, maybe try to power off the phone, with the newest bootusb, ( send boot_usb off ) if this works then you probably have a flashing genblob anyway, you can assert you have the last by reflashing one...

    Looking at the last days svn changes , i don't think you need to update the genblob you could pick at wyrm's folder I think they are more for a '2.4-kernel-in-flash' new mode...

    Also, what version were you using? linux or win32? I forgot the Readme on the linux zip, please pick it on the win version...
    Last edited by sabrod; 03-14-2009 at 02:28 AM.

  5. #5
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    436

    Default

    Thanks Sabrod for the informations.
    I will try to make some experiments over the weekend and will report it here.

    I used the version for linux on debian testing.
    -------------------------------------
    In any apple is a worm. Through each window flies a bug.
    That's why I take Linux, because what does not fly can not crash.

  6. #6
    Join Date
    Mar 2008
    Location
    just at the other end of the line.
    Posts
    879

    Default

    Halftux, you were right, md5sum are differents, sorry i haven't tested enough the tool.

    Now that i've tested, i think you should definetly avoid flashing with my binaries... Gmzhuo did it with his phone, but he compiles under visual studio.
    (i'll try qtcreator / mingw debuging , if it still don't work, we will only be able to distribute a phonetools for windows as i also tested and have the same weird behaviour as with the windows version ).
    Last edited by sabrod; 03-21-2009 at 11:49 PM.

  7. #7
    Join Date
    Jan 2007
    Location
    Brazil
    Posts
    387

    Default

    Quote Originally Posted by Halftux View Post
    I tried to backup the Kernel from NOR of my A780.
    Offset: 20000
    Length: e0000
    I used the precompiled gen-blob from wyrm.
    However the binary differ from a backup which i done with mtd utils.
    This is easy to check, the kernel will not boot if the backup is corrupt.
    Backup the kernel just like you did, and try to send again this backup with phonetools upload feature.

    If the phone boots (even if BP doesnt work because you havent flashed gen-blob), then the backup is ok!
    Last edited by sabrod; 07-05-2009 at 03:59 PM.
    If you use OpenEZX and want to support it, please click on "I USE THIS" on our ohloh project page: https://www.ohloh.net/projects/openezx

  8. #8
    Join Date
    Mar 2008
    Location
    just at the other end of the line.
    Posts
    879

    Default

    Ok, i think it WAS, a problem with my qt-creator build under windows
    Thanks again halftux...
    This time i re-installed qtcreator, then changed nothing and build phonetools with "dynamic" libs (attached), i post now a fully tested phonetools.
    But well, i'll continue to test and debug here, i just need to test a real flash too... who will be the first??
    Attached Thumbnails Attached Thumbnails New tool for OpenEZX, and more...-capturefenetreactive1.jpg  
    Attached Files Attached Files
    Last edited by sabrod; 03-15-2009 at 01:13 AM.

  9. #9
    Join Date
    May 2009
    Location
    In The Universe
    Posts
    1,256

    Default

    How to Run in win32? Is This EXE?
    A.K.R

  10. #10
    Join Date
    Sep 2008
    Location
    Tehran, Iran
    Posts
    252

    Default

    Excellent tool....
    www.dentalspaces.com
    Direct link for Novin's Firmwares


 
+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. OpenMoko e Openezx
    By Revoltz in forum Brazilian Lounge
    Replies: 16
    Last Post: 04-22-2009, 03:21 PM
  2. Can we do the call for openezx now
    By eddytheman in forum E680i General Chat
    Replies: 0
    Last Post: 02-19-2008, 12:15 AM
  3. OpenEzx VS Firmware
    By mrking in forum A1200 General Chat
    Replies: 2
    Last Post: 11-14-2007, 05:51 PM
  4. OpenEZX project
    By laforge in forum Development
    Replies: 4
    Last Post: 10-30-2007, 08:57 PM
  5. calls available for OpenEZX ???
    By jafery in forum E680i General Chat
    Replies: 9
    Last Post: 08-27-2007, 01:24 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1