08-06-17 06:13 PM
33 12
tools
  1. Kumba42's Avatar
    FYI, CDMA owners AAM is working for me just modify the flashall script to flash USA modem, devcfg.mbn, and oem_common to be safe. I have had token issues so the flash all script as-is couldn't validate the loader so I took out that check. The full script I used is available in the keyone upgrade tool thread.
    I wasn't able to run the batch script on my system either. As far as I can tell, the cmd.exe interpreter didn't like the "2^>^&1" bit. Normally, on a Linux shell, that would just be "2>&1" to redirect stderr into stdout. That entire line, run directly in cmd.exe without the carets executes fine.

    But run as part of the batch script, it will not execute properly and fails the loader check because the findstr command comes back empty. If I remove the carets from the batch script, it throws a syntax error, so those carets are acting as some kind of character escape sequence, but only from within the script. I'll have to read up on my batch scripting later on to see what the deal is with those.

    Meanwhile, most of that script is just detection logic to set up a few variables to point to the correct files to flash to the phone. IMHO, it can probably be rewritten a lot better. For now, I've expanded the variables manually and can just execute the 'fastboot flash' commands directly.

    Also of note, although I am on AAM481 now, the Updates app reports that I am on the latest release. Is it possible that BBM has now pulled the AAN355 build as well? They really might want to consider setting up a beta program for us adventurous types out there to find and report these bugs before they end up torching the bulk of their end users.
    08-06-17 12:59 PM
  2. thurask's Avatar
    Meanwhile, most of that script is just detection logic to set up a few variables to point to the correct files to flash to the phone. IMHO, it can probably be rewritten a lot better. For now, I've expanded the variables manually and can just execute the 'fastboot flash' commands directly.
    The original BlackBerry batch file on the left, my half-arsed edit on the right: https://www.diffchecker.com/jBU5y5wx

    I should rewrite the whole thing in Python, but alas.
    08-06-17 01:30 PM
  3. Kumba42's Avatar
    The original BlackBerry batch file on the left, my half-arsed edit on the right: https://www.diffchecker.com/jBU5y5wx

    I should rewrite the whole thing in Python, but alas.
    That's actually a good clean-up, especially the bottom part where you moved the conditional to come before the actual flash commands. Else, there's a possibility that it gets most of the way through the flashing, trips the error branch of the conditional up, and then aborts the script, leaving a phone in a potentially-unusable state. Not sure what the original author of that script was thinking...

    Python wouldn't be bad. Trivially easy, actually. Just the Windows folks would have to go and install one of the Python versions to make it executable (and sometimes, Python on Windows likes to put up a fight).
    08-06-17 01:45 PM
  4. thurask's Avatar
    Python wouldn't be bad. Trivially easy, actually. Just the Windows folks would have to go and install one of the Python versions to make it executable (and sometimes, Python on Windows likes to put up a fight).
    I guess.
    08-06-17 03:18 PM
  5. The Big Picture's Avatar
    now this would be great of there was an option for a full backup.

    Just like the days of Blackberry OS 10 leaks.

    alas if there's no full local backup option it'll be too much trouble!
    08-06-17 03:22 PM
  6. conite's Avatar
    now this would be great of there was an option for a full backup.

    Just like the days of Blackberry OS 10 leaks.

    alas if there's no full local backup option it'll be too much trouble!
    Frankly, full local back-ups were poison anyway.
    08-06-17 03:29 PM
  7. Kumba42's Avatar
    Code:
    def goodbye():
        smeg = input("Press Enter to exit")
        if smeg or not smeg:
            raise SystemExit
    Lister would be proud :)

    Now, would anyone like some toast?
    08-06-17 06:12 PM
  8. thurask's Avatar
    08-06-17 06:13 PM
33 12

Similar Threads

  1. I'm Totally Trapped: No Time to Charge for Tonight !
    By DoctorNeutron in forum BlackBerry Priv
    Replies: 19
    Last Post: 08-31-17, 02:27 PM
  2. New(old) life for retired Z10
    By meilenstein in forum BlackBerry Z10
    Replies: 7
    Last Post: 08-07-17, 10:02 AM
  3. Replies: 2
    Last Post: 08-05-17, 12:14 PM
  4. my bb passport has being off for weeks and its not charging
    By paulId71 in forum BlackBerry Passport
    Replies: 1
    Last Post: 08-04-17, 12:00 PM
LINK TO POST COPIED TO CLIPBOARD