Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 6 of 8 FirstFirst ... 45678 LastLast
Results 51 to 60 of 74
  1. #51
    Navigation software Moderator

    kunix's Avatar
    Join Date
    Sep 2011
    Location
    Belarus
    Posts
    1,035
    Rep Power
    601

    Default

    What firmware did you use?
    The procedure is the following: name the entry point as "fw_base" and the run smart_disasm(), it will calculate the disasm region bounds and call smart_disasm_region().
    Calling smart_disasm_region for a small part of the firmware is a bad idea, as pointers may be very distant from the corresponding functions.
    This script is better than the previous because it has a very small amount of false positives. And false positives frequently make IDA disassemble data, not code, and then the disasm looks awful. The old script is especially awful for nuvis 34xx, 24x5 (when the firmware uses Thumb2 instructions).

    UPD
    Yeah, it does miss functions, can't yet explain why.
    I thought that any function is either called indirectly (and then its address is stored as integer), or it's called directly by some function and then we can proceed recursively with the caller. By this reasoning the new script should disassemble all functions.
    I'm aware that this reasoning is false sometimes (the italic part), as some functions are first copied to another location and only after they are called, also there is infinite amount of perverted ways to call a function (but only small amount of them is used by the compiler). But I'm hoping that it's false for not too many functions.

    So, in conclusion, the new script is better because the disasm is clearer (no images/other data is disassembled!), while almost all usable functions are found.
    Last edited by kunix; 22nd November 2012 at 13:31.

  2.    Advertissements


  3. #52
    Important User haute's Avatar
    Join Date
    Mar 2010
    Location
    Spain
    Age
    44
    Posts
    481
    Rep Power
    399

    Default

    ok, I'm testing with etrex20/30 firmware.
    fw_all.bin load the file in IDA Pro, rom in 0x80100000.
    The problem is not you designate the entry point in the round.
    I do not see the command to set it, if I see the command to see the entry point.

  4. #53
    Navigation software Moderator

    kunix's Avatar
    Join Date
    Sep 2011
    Location
    Belarus
    Posts
    1,035
    Rep Power
    601

    Default

    If you loaded fw_all.bin with garmin-ida-loader then everything is set up automatically, you can call smart_disasm().
    "entry point" is just the first command of the firmware (I meant to say this), it is named "fw_base" by garmin-ida-loader. Press "n" if you want to set/change the name.
    Last edited by kunix; 22nd November 2012 at 16:37.

  5. #54
    Important User haute's Avatar
    Join Date
    Mar 2010
    Location
    Spain
    Age
    44
    Posts
    481
    Rep Power
    399

    Default

    Hi, ah ... thought there was no need to use the (IDA Pro loader)
    now I understand.
    The script checks that some functions (IDA Pro loader), misunderstood.
    These are the ones found in my case.


    Code:
    Please Login or Register to see the links

  6. #55
    Navigation software Moderator

    kunix's Avatar
    Join Date
    Sep 2011
    Location
    Belarus
    Posts
    1,035
    Rep Power
    601

    Default

    It's just functions which have pointers. There could be much more functions which are called by them. I tested the script on 37xx/24x5 firmwares and the result is satisfying, at least for my purposes. No scary megabyte-long lines of "disassembled" data which make no sense.

  7. #56
    Important User haute's Avatar
    Join Date
    Mar 2010
    Location
    Spain
    Age
    44
    Posts
    481
    Rep Power
    399

    Default

    Hello let the latest firmware version 2.90, the Etrex 20to30 + JNX
    To run a Etrex20 menu with some functions and a Etrex 30.

    Test it, plz...
    [Only registered and activated users can see links. ]

    pelsta of spanish forum test it:

    Code:
    Please Login or Register to see the links
    Attached Files Attached Files
    Last edited by haute; 5th March 2013 at 22:51.

  8. #57
    Important User haute's Avatar
    Join Date
    Mar 2010
    Location
    Spain
    Age
    44
    Posts
    481
    Rep Power
    399

    Default

    Hello let the latest firmware version 3.20, the Etrex 20to30 + JNX
    To run a Etrex20 menu with some functions and a Etrex 30.
    Test it, plz...
    [Only registered and activated users can see links. ]
    Attached Files Attached Files
    Last edited by catymag; 26th September 2013 at 23:56. Reason: attached file

  9. #58
    Master Schermann's Avatar
    Join Date
    Jun 2006
    Location
    Free World
    Age
    10
    Posts
    581
    Rep Power
    406

    Default

    I'm interested in getting the altitude dashboard happening in the Etrex 20. Does you software provide this?
    25jkpah

  10. #59
    Junior Member
    Join Date
    Sep 2013
    Location
    Bulgaria
    Posts
    2
    Rep Power
    0

    Default

    Hi.
    Firmware v3.20 working fine. Just to say that to use the compass is necessary in settings to disable the magnetic compass.
    Тhank you, haute!
    Regards: Alexander

  11. #60
    Master Schermann's Avatar
    Join Date
    Jun 2006
    Location
    Free World
    Age
    10
    Posts
    581
    Rep Power
    406

    Default

    Firmware version 3.30 is out.

    Hoping you can mod this one without too much trouble as this one seems to have fixed the slow stop issue.
    25jkpah

 

 
Page 6 of 8 FirstFirst ... 45678 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.