Win-7 64bit RSD lite fix

Aiesline

Member
Joined
Mar 27, 2010
Messages
114
Reaction score
0
If you get "Failed Flashing process. (0x7100)" in RSD Lite - Android Forums


Okay I've been trying to deal with RSD lite and unrooting a phone for a warranty repair. I had all kind of issues and finally found the fix. Found it over at AndroidForums.com. A guy named Revo made the post. I'm going to quote it here in it's entirety for ease of use.


Computer engineer here. Registered so I could post this and hopefully help a few of you guys out

I was running into the same problem, with Win7 x64, RSD Lite 4.6, latest drivers. Did some investigation into the error log and looks like I found a bug in their programming. Go into the directory you installed RSD Lite (for Win7 x64 the default is C:\Program Files (x86)\Motorola\RSD Lite\) and look for a file that starts with "FlashErrorLog". Open it, and if you see something like this:

Code:
Line: 865
ERROR: \\?\c:\SPRecovery_ESE81.sbfwtƒyoþÿÿÿ‚qawñrawðiµ was not found.
File: X:\test_dev_usb\flash\code\flashdll\PST_FP_FlashFileIO.cpp

then you are experiencing this same bug that I had (looks like adr3nalin3 had this problem too). For those fellow programmers out there, looks like they are copying the filename into uninitialized memory and not explicitly adding the NULL terminator, meaning it's pure luck whether the filename is recognized or not. Since the uninitialized memory produces random results, this explains why people have had it work after restarting their computer, trying several times, using a different computer, etc. Hopefully if you follow my instructions below, you will be able to make it work right away.

So the work around for this problem is to rename the file so that the real filename overwrites all the unwanted junk characters at the end. These junk characters are random, and they are likely to change each time you open RSD Lite.

Here are step by step instructions:

  1. [1]Go to the folder where you installed RSD Lite
    [2]Delete any files that start with "FlashErrorLog"
    [3]Right click on "SDL.exe" and click "Run As Administrator"
    [4]Move your recovery file to the root C:\ directory
    [5]Rename the recovery file to something short, like "r.sbf", so that you will have space left for the filename to overwrite the junk characters
    [6]Try flashing the file with RSD Lite - it will most likely fail, don't worry (if it works then good job, you are lucky )
    [7]In the RSD Lite folder, open the newly created FlashErrorLog... file
    [8]Count the number of junk characters after the real filename - for example if you have this error:

Code:
ERROR: \\?\c:\r.sbfqawñraï was not found.
then the junk characters are "qawñraï" and there are 7 of them, so we are going to add 7 extra letters to the real filename

  1. [9]Rename the file to add the same number of letters/numbers as junk characters in the log file. In this case, we need to add 7, so change the filename to something like "r1234567.sbf" - make sure you add the characters BEFORE the file extension (".sbf"), not after!
    [10]Point RSD Lite to the renamed file, click Start, and it should work!

Note that some of the junk characters can't be displayed in the log, so there might actually be 8 of them when you can only see 7, etc. Just repeat the process from step 6, adding 1 character at a time (don't remove any), and it should work after a few tries.

Note that just making the filename really long won't work, you need to be precise so that you only overwrite the extra stuff, nothing more and nothing less.
 

guidot

Developer Relations
Staff member
Premium Member
Joined
Feb 10, 2010
Messages
7,292
Reaction score
271
Location
Massachusetts
Haha I've posted this link in every rooted issue I've found! Post #32 right?

Thanks for copying it over.
 

coovee

Member
Joined
Oct 1, 2010
Messages
172
Reaction score
0
OH HOW I LOVE YOU DROIDFORUMS! :icon_ banana:

thank you tytytytytyytytytytyty

you saved me from either grey or less hair ...

win7 64x d1
 

Eon1021

New Member
Joined
Sep 10, 2012
Messages
1
Reaction score
0
log file read out:

09/10/12 23:24:59 --------------------------------------------------------------------------------
09/10/12 23:24:59 New Log Started For Software Download.
09/10/12 23:24:59 The FlashLog key is turned off.
09/10/12 23:24:59 ERROR: Multi-Upgrade : OnDisplayError - Invalid device ID (0) that is not listed in display map.
09/10/12 23:24:59 ERROR: The Error String is "Error validating image files."
09/10/12 23:24:59 ERROR: Error validating image files.
09/10/12 23:24:59 [Device ID: 0] Error validating image files.
09/10/12 23:25:02 ERROR: Multi-Upgrade : OnDisplayStatus - Invalid device ID (0) that is not listed in display map.
09/10/12 23:25:02 00001998 PhoneAjarGSM.cpp 577 0 ERROR CPhoneAjarGSM::SendAT - failed to find the interface TI Modem Interface
09/10/12 23:25:02 CPhoneAjarGSM::GetPhoneId 1 returned ERROR
09/10/12 23:25:03 00001998 PhoneAjarGSM.cpp 577 0 ERROR CPhoneAjarGSM::SendAT - failed to find the interface TI Modem Interface
09/10/12 23:25:03 CPhoneAjarGSM::GetPhoneId 2 returned ERROR
09/10/12 23:25:04 00001998 PhoneAjarGSM.cpp 577 0 ERROR CPhoneAjarGSM::SendAT - failed to find the interface TI Modem Interface
09/10/12 23:25:04 CPhoneAjarGSM::GetPhoneId 3 returned ERROR
09/10/12 23:25:05 CPhoneAjarGSM::GetPhoneId: returned N/A
09/10/12 23:25:05 Multi upgrade started for 0 phones
09/10/12 23:25:37 CPhoneAjarGSM::GetPhoneId: returned 358982041133965
09/10/12 23:25:37 CPhoneAjarGSM::GetTechnology: returned GSM850;GSM900;GSM1800;GSM1900;WCDMA850;WCDMA1900
09/10/12 23:25:38 CPhoneAjarGSM::GetSoftwareVersion: returned XT615_1_62D_1022
09/10/12 23:25:39 CPhoneAjarGSM::GetSoftwareFlexVersion: returned IRM-1022-035-7
09/10/12 23:25:39 00001998 Phone.cpp 514 0 ERROR Generic failure when sending command.
09/10/12 23:26:26 Multi upgrade started for 1 phones
09/10/12 23:26:26 [Device ID: 0] Flashing phone.
09/10/12 23:26:26 ERROR: Error validating HAB type.
09/10/12 23:26:49 ERROR: - on device ID 0.
09/10/12 23:26:49 ERROR: Flash failure: (Error Code: 100),
Detailed Error Details: Direction of the Error=No Direction, Command Value=0, Code Group Number=No Codegroup - on device ID 0.
09/10/12 23:26:49 [Device ID: 0]
09/10/12 23:26:49 ERROR: Failed flashing process. - on device ID 0.
09/10/12 23:26:49 Multi upgrade finished.
09/10/12 23:26:49 00001998 PhoneAjarGSM.cpp 577 0 ERROR CPhoneAjarGSM::SendAT - failed to find the interface TI Modem Interface
09/10/12 23:26:49 CPhoneAjarGSM::GetPhoneId 1 returned ERROR
09/10/12 23:26:50 00001998 PhoneAjarGSM.cpp 577 0 ERROR CPhoneAjarGSM::SendAT - failed to find the interface TI Modem Interface
09/10/12 23:26:50 CPhoneAjarGSM::GetPhoneId 2 returned ERROR
09/10/12 23:26:51 00001998 PhoneAjarGSM.cpp 577 0 ERROR CPhoneAjarGSM::SendAT - failed to find the interface TI Modem Interface
09/10/12 23:26:51 CPhoneAjarGSM::GetPhoneId 3 returned ERROR
09/10/12 23:26:52 CPhoneAjarGSM::GetPhoneId: returned N/A
Any help would be appreciated. Using Windows 7 x64 phone is a Motorola XT615
 
Top