+ Antworten
Seite 1 von 2 12 LetzteLetzte
Ergebnis 1 bis 15 von 29

Thema: Replace Manager.exe in RoadRover unit

  1. Top | #1
    Male
    Member
    Avatar von itsme205
    My Car
    Lexus IS350
    Radio
    RoadRover
    Dabei seit
    16.11.2012
    Beiträge
    19
    Bedankt
    2
    Erhielt 0x Danke in 0 Posts

    Standard Replace Manager.exe in RoadRover unit

    Hi,

    I recently got a RoadRover unit installed in my car (Lexus IS350). I'm from the USA, so besides the Celsius that bothers me, it's the 24-hour time that I think I can do something about. I created a small script that can change the time to regular time, so I want to run this each time the unit starts up. So I want to do the following:

    1. Create a new Manager.exe file that will change the time and run a file called manager_o.exe
    2. Go to my unit's D2280\manager.exe file and rename it to manager_o.exe
    3. Copy my new Manager.exe into D2280 in the unit.

    I tested this in an emulator and everything seems to work -- and I'm fairly sure it will work. Does anyone see a problem with this? If my unit freezes up, is there a way to reset myself?

    My unit has these information:
    GUI: 1.26.6
    OS: AS-PRIMA-128-1.56
    MCU: 3.05LXI6H9G-T...

    Edit: for step 1, create the new manager.exe, I'll use mortscript's autorun.exe
    Geändert von itsme205 (16.11.2012 um 23:29 Uhr)

  2. # ADS
    Circuit advertisement
    Dabei seit
    Always
    Beiträge
    Many


     

  3. Top | #2
    Male
    DAB App Modder
    Avatar von zoulou
    My Car
    VW Passat B7/3C Var. 04/2012
    Radio
    Flyaudio G4909R
    OS-Version
    Android 8.1.0
    Dabei seit
    31.08.2010
    Ort
    PAF
    Beiträge
    2.341
    Blog-Einträge
    10
    Bedankt
    369
    Erhielt 1.505x Danke in 563 Posts

    Standard

    Does the PRIMA GUI not allow you to change permanently to AM/PM Mode (instead 24-hour) ? The new I9 GUI does so... But no idea if you can run the I9 GUI on your unit. This is sth. that strados typically knows best here...
    And you want to see Fahrenheit instead of Celcius degrees? Hmm. I really wonder what your script actually changes. I am not aware of any trick to change such kind of things.
    Do you really need to run the script BEFORE manager.exe? Would it work to run it in parallel to a starting manager.exe?
    Generally, you should be careful with messing around with manager.exe. You might run into a situation where the only help is a format of the NAND partitions... !!

  4. Top | #3
    Male
    Member
    Themenersteller
    Avatar von itsme205
    My Car
    Lexus IS350
    Radio
    RoadRover
    Dabei seit
    16.11.2012
    Beiträge
    19
    Bedankt
    2
    Erhielt 0x Danke in 0 Posts

    Standard

    I'm not familiar with the different GUIs available, but I don't think I have the I9 GUI ... where can I get the I9 to tried it out? My GUI is the one like below and it says v1.26.6 on the top right corner.

    My script doesn't change from Celsius to Fahrenheit as I don't think it's easy to hack the exe to display Fahrenheit other than disassemble the compiled code. The script only changes the 24-hour clock to show 12-hour. Do you know of a way to have it run in parallel? If it can always start when the car turns on, that's fine too. I thought about editing the Windows registry (HKCU/init/Launch), but it looks like it gets clear each time.

    Is there a way to copy the current NAND in the unit and flash it later if needed without sending it back to the seller? I'm worry that one day I might mess it up and have no way to revert it back other than sending it back to China :/

    [Only members can see the link]

  5. Top | #4
    Male
    DAB App Modder
    Avatar von zoulou
    My Car
    VW Passat B7/3C Var. 04/2012
    Radio
    Flyaudio G4909R
    OS-Version
    Android 8.1.0
    Dabei seit
    31.08.2010
    Ort
    PAF
    Beiträge
    2.341
    Blog-Einträge
    10
    Bedankt
    369
    Erhielt 1.505x Danke in 563 Posts

    Standard

    With 1.26.6 you seem to have the latest what is possible already. I9 GUIs won't work on your unit.
    There is a way to start some script in parallel to manager.exe, yes.
    However, do you know already how the script must look like so that manager.exe displays the clock in 12h mode instead of 24h? Does it work in general? Can you post it here?

  6. Top | #5
    jetzt 7. China-Navi Avatar von strados
    My Car
    Toyota RAV4.3, Alfa Romeo Spider V6 3.0
    Radio
    Roadrover I7104TR + I7037V2, Sony, Navigon
    OS-Version
    Windows CE
    Dabei seit
    17.09.2010
    Ort
    D
    Beiträge
    11.318
    Blog-Einträge
    1
    Bedankt
    300
    Erhielt 2.452x Danke in 1.973 Posts

    Standard

    Pls post your file config.ini from D2280.

  7. Top | #6
    Male
    Member
    Themenersteller
    Avatar von itsme205
    My Car
    Lexus IS350
    Radio
    RoadRover
    Dabei seit
    16.11.2012
    Beiträge
    19
    Bedankt
    2
    Erhielt 0x Danke in 0 Posts

    Standard

    OK, config.ini and script content below. I just discover that the registry might not get reset each time ... I'll need to test it. Can I use the registry to run the script by altering HKCU/init/Launch? Would that cause problems?

    The script works as the basic idea is that I would subtract 12 hours from it and then add a day if I subtraced 24 hours. I just discovered that iGO will change the time back to correct time when it runs, so I'll add something to take care of that but should work as now with no navigation running to change the time (you need to create a "alwaysbeforenoon.txt" file in the same directory to run).

    Edit: the post removed all the indentation from the script, so it'll harder to read.

    Config.ini
    skin_count= int,3
    skin1_chinese_name= string,"˦"
    skin1_english_name= string,"Blue"
    skin1_path= string,"Skins\is250_blue"
    skin2_chinese_name= string,"ÂÌ"
    skin2_english_name= string,"Green"
    skin2_path= string,"Skins\is250_green"
    skin3_chinese_name= string,"³È"
    skin3_english_name= string,"Orange"
    skin3_path= string,"Skins\is250_orange"
    default_skin= int,1
    selected_skin= int,3
    language= int,0
    week_order_type= int,1
    compact_calendar= int,0
    radio_local= int,0
    time_zone= int,9
    audio_bass= int,5
    audio_bass_max= int,10
    audio_middle= int,6
    audio_middle_max= int,10
    audio_treble= int,6
    audio_treble_max= int,10
    audio_fade= int,7
    audio_fade_max= int,14
    audio_balance= int,7
    audio_balance_max= int,14
    audio_loudness= int,6
    audio_loudness_max= int,12
    bt_module= int,1
    radio_band= int,23
    bt_name= string,"Bluetooth"
    audio_path= string,"\NAND Flash\Audio"
    photo_path= string,"\NAND Flash\Photo"
    video_path= string,"\NAND Flash\Video"
    other_path= string,"\NAND Flash\Other"
    note_path= string,"\NAND Flash\Note"

    ======================
    Script:

    hoursSubtracted = 0
    daysInAMonth = Array(31,28,31,30,31,30,31,31,30,31,30,31)

    While(TRUE)

    GetTime( hour, min, sec, day, month, year)
    If(hour>=13)
    #since hour is greater than 1PM, subtract 12
    hour = hour - 12
    SetTime(hour, min, sec)

    hoursSubtracted = ReadLine("alwaysbeforenoon.txt")

    hoursSubtracted = hoursSubtracted + 12
    #if we subtracted a whole day, advance the day
    If(hoursSubtracted = 24)
    #leap year
    If((year mod 400) = 0 or ((year mod 100) <> 0 and (year mod 400) = 0))
    daysInAMonth[2]=29
    EndIf

    day = day + 1

    If(day>daysInAMonth[month])
    day = 1
    month = month + 1
    If(month > 12)
    month = 1
    year = year + 1
    EndIf
    EndIf

    SetDate(day, month, year)
    hoursSubtracted = 0
    EndIf

    WriteFile("alwaysbeforenoon.txt", hoursSubtracted)
    #sleep for 13 hours (12:59:60) less the current time.
    GetTime( hour, min, sec)
    sleepSec = 60 - sec
    sleepMin_sec = (59 - min)*60
    sleepHour_sec = (12 - hour)*60*60
    sleepTime_ms = (sleepSec + sleepMin_sec + sleepHour_sec)*1000
    Sleep(sleepTime_ms)
    Else
    sleepSec = 60 - sec
    sleepMin_sec = (59 - min)*60
    sleepHour_sec = (12 - hour)*60*60
    sleepTime_ms = (sleepSec + sleepMin_sec + sleepHour_sec)*1000
    Sleep(sleepTime_ms)
    EndIf

    EndWhile

  8. Top | #7
    Male
    DAB App Modder
    Avatar von zoulou
    My Car
    VW Passat B7/3C Var. 04/2012
    Radio
    Flyaudio G4909R
    OS-Version
    Android 8.1.0
    Dabei seit
    31.08.2010
    Ort
    PAF
    Beiträge
    2.341
    Blog-Einträge
    10
    Bedankt
    369
    Erhielt 1.505x Danke in 563 Posts

    Standard

    This script is nice but it seems a bit error-prone to me. The script and the file "alwaysbeforenoon" can easily get out-of-sync, especially when iGo will change your system time back to real time.

    I am currently thinking of extending my inj_datetime.dll with an extra functionality to simulate AM/PM to manager.exe:
    Whenever manager.exe reads the system time, the inj_datetime will kick in and manipulate the hour to be always 1-12 as follows:
    0:00 -> 0:00
    1:00 -> 1:00 (AM)
    11:59 -> 11:59 (AM)
    12:00 -> 12:00
    13:00 -> 1:00 (PM)
    23:59 -> 12:59 (PM)
    This would ONLY affect the time that is displayed in manager.exe. The real system clock is NOT changed. E.g. if iGO changes the system clock, manager.exe will display whatever iGO has set, but in a (simulated) AM/PM mode.
    Is this what you are looking for?

  9. Top | #8
    Male
    Member
    Themenersteller
    Avatar von itsme205
    My Car
    Lexus IS350
    Radio
    RoadRover
    Dabei seit
    16.11.2012
    Beiträge
    19
    Bedankt
    2
    Erhielt 0x Danke in 0 Posts

    Standard

    Hi,

    Haha, yes, I just found that out and the sync problem could get a bit messy as the iGo can run in the backgroup. But yes, that is what I'm looking for with the exception of the first time of 0:00 should be 12:00 (AM) (we don't use 0:00 in the US in 12-hour time).

    How do you create the dll that would make the manager.exe run it? Is it possible to also change the temperature number for display purposes only (i.e. if it's 23.5 (C), it will show 74; though this is tricky because the whole number in Fahrenheit and each button press the number needs to change)?

  10. Top | #9
    Male
    DAB App Modder
    Avatar von zoulou
    My Car
    VW Passat B7/3C Var. 04/2012
    Radio
    Flyaudio G4909R
    OS-Version
    Android 8.1.0
    Dabei seit
    31.08.2010
    Ort
    PAF
    Beiträge
    2.341
    Blog-Einträge
    10
    Bedankt
    369
    Erhielt 1.505x Danke in 563 Posts

    Standard

    Zitat Zitat von itsme205 [Only members can see the link]
    we don't use 0:00 in the US in 12-hour time
    Good to know, thanks!

    Zitat Zitat von itsme205 [Only members can see the link]
    How do you create the dll
    Written in C language. Built with embedded Visual C++ 4.0

    Zitat Zitat von itsme205 [Only members can see the link]
    Is it possible to also change the temperature number for display purposes only
    Maybe, but I cannot develop it because my car does not provide this information to the GUI. So I cannot reverse engineer it. Bad luck.

  11. Top | #10
    Male
    Member
    Themenersteller
    Avatar von itsme205
    My Car
    Lexus IS350
    Radio
    RoadRover
    Dabei seit
    16.11.2012
    Beiträge
    19
    Bedankt
    2
    Erhielt 0x Danke in 0 Posts

    Standard

    Cool, thanks! Please let me know if you have something to fix the 24-hour time; it's very much appreciated!

  12. Top | #11
    Male
    DAB App Modder
    Avatar von zoulou
    My Car
    VW Passat B7/3C Var. 04/2012
    Radio
    Flyaudio G4909R
    OS-Version
    Android 8.1.0
    Dabei seit
    31.08.2010
    Ort
    PAF
    Beiträge
    2.341
    Blog-Einträge
    10
    Bedankt
    369
    Erhielt 1.505x Danke in 563 Posts

    Standard

    Hi itsme205,

    attached you find the "injection" that should fix your AM/PM time issue.
    [Only members can see the link]
    I have tested with a D2280 GUI on an Emulator and saw it working fine.

    However, you should run it from the SD card (or USB stick) first. If it somehow breaks your manager.exe then simply remove the SD card (or USB stick) and restart your system.
    This is the line in the InstallInject.mscr which keeps the whole thing on SD card / USB stick only.
    Code:
    DSTPATH = SRCPATH
    If you find it useful you can later install it on \StaticStore. Then it is still functioning even when you remove the SD card / USB stick. To do so, comment the same line so that it looks like:
    Code:
    # DSTPATH = SRCPATH

  13. Folgende Benutzer bedankten sich bei zoulou:


  14. Top | #12
    Male
    Member
    Themenersteller
    Avatar von itsme205
    My Car
    Lexus IS350
    Radio
    RoadRover
    Dabei seit
    16.11.2012
    Beiträge
    19
    Bedankt
    2
    Erhielt 0x Danke in 0 Posts

    Standard

    Thanks, I'll try it out tomorrow!

  15. Top | #13
    Male
    DAB App Modder
    Avatar von zoulou
    My Car
    VW Passat B7/3C Var. 04/2012
    Radio
    Flyaudio G4909R
    OS-Version
    Android 8.1.0
    Dabei seit
    31.08.2010
    Ort
    PAF
    Beiträge
    2.341
    Blog-Einträge
    10
    Bedankt
    369
    Erhielt 1.505x Danke in 563 Posts

    Standard

    Oops. The InstallInject.mscr is missing one important line ! Please add this:
    Code:
    # tell the inj_datetime.dll to infect only following processes
    RegWriteMultiString( "HKLM", "SOFTWARE\Inject", "InjectProcessesDateTime", Array("manager.exe") )

  16. Folgende Benutzer bedankten sich bei zoulou:


  17. Top | #14
    Male
    Member
    Themenersteller
    Avatar von itsme205
    My Car
    Lexus IS350
    Radio
    RoadRover
    Dabei seit
    16.11.2012
    Beiträge
    19
    Bedankt
    2
    Erhielt 0x Danke in 0 Posts

    Standard

    haha, OK, at first I tried it and didn't work, adding the line make it work. Is it possible to add the radio.exe and mp3player.exe in the Array to make those time show up in 12-hour time too? Or is it specific to manager.exe only?

  18. Top | #15
    Male
    DAB App Modder
    Avatar von zoulou
    My Car
    VW Passat B7/3C Var. 04/2012
    Radio
    Flyaudio G4909R
    OS-Version
    Android 8.1.0
    Dabei seit
    31.08.2010
    Ort
    PAF
    Beiträge
    2.341
    Blog-Einträge
    10
    Bedankt
    369
    Erhielt 1.505x Danke in 563 Posts

    Standard AW: Replace Manager.exe in RoadRover unit


    You can add to the array as many .exe as you want. It is not specific to manager.exe.

+ Antworten
Seite 1 von 2 12 LetzteLetzte

Ähnliche Themen

  1. Antworten: 11
    Letzter Beitrag: 14.09.2014, 12:30
  2. Start der Manager.exe/mp3player.exe verzögern?
    Von schubi82 im Forum Application Software Suite
    Antworten: 63
    Letzter Beitrag: 20.12.2012, 15:42
  3. Skin For My Honda gps unit- roadrover
    Von homogamez im Forum We speak english
    Antworten: 3
    Letzter Beitrag: 12.03.2012, 15:45
  4. MortScript Skript-Manager
    Von Danila im Forum WinCE Tools
    Antworten: 1
    Letzter Beitrag: 06.03.2012, 01:36
  5. Antworten: 5
    Letzter Beitrag: 25.04.2011, 19:50

Stichworte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein

sponsored - supported by


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64