OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Linux Flash Tool did not work with Debian 10 (?)
gabs5807
post Aug 26 2019, 05:57 AM
Post #1





Group: Members
Posts: 14
Joined: 10-November 18
From: Germany
Member No.: 836,392



Hello,
i updated my Debian 9 to Debian 10 (buster).
Now the Linux Flash Tool did not work anymore unsure.gif.
I also tried it on a new installation.
The PDA is detected, but readback or flush did not work.
The error is:
CODE
ERROR : STATUS_PROTOCOL_ERR (-1073676283) , MSP ERROE CODE : 0x00.
[HINT]:

Then i tried to compile it by myself, but compiling also did not work:
CODE
$ make HOST=linux BUILD_TYPE=release
make BUILD_TYPE=release HOST=linux LOG=off  2>&1 | tee build_log.txt
..
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_CAST_FROM_CAST -D_LINUX -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../SP-Flash-Tool-src-master -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXmlPatterns -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o AppCore.o ../../../SP-Flash-Tool-src-master/Public/AppCore.cpp
In file included from ../../../SP-Flash-Tool-src-master/Public/AppCore.h:16,
                 from ../../../SP-Flash-Tool-src-master/Public/AppCore.cpp:8:
../../../SP-Flash-Tool-src-master/Public/../Utility/Utils.h: In function ?€˜void Utils::SetTextCodec()?€™:
../../../SP-Flash-Tool-src-master/Public/../Utility/Utils.h:114:17: error: ?€˜setCodecForTr?€™ is not a member of ?€˜QTextCodec?€™
     QTextCodec::setCodecForTr(coder);
                 ^~~~~~~~~~~~~
../../../SP-Flash-Tool-src-master/Public/../Utility/Utils.h:116:17: error: ?€˜setCodecForCStrings?€™ is not a member of ?€˜QTextCodec?€™
     QTextCodec::setCodecForCStrings(coder);
                 ^~~~~~~~~~~~~~~~~~~
../../../SP-Flash-Tool-src-master/Public/AppCore.cpp: In member function ?€˜bool AppCore::IsSecuLoaded(APKey)?€™:
../../../SP-Flash-Tool-src-master/Public/AppCore.cpp:135:26: warning: catching polymorphic type ?€˜class BromException?€™ by value [-Wcatch-value=]
     }catch(BromException e){
                          ^
../../../SP-Flash-Tool-src-master/Public/AppCore.cpp: In member function ?€˜bool AppCore::IsAuthLoaded(APKey)?€™:
../../../SP-Flash-Tool-src-master/Public/AppCore.cpp:152:26: warning: catching polymorphic type ?€˜class BromException?€™ by value [-Wcatch-value=]
     }catch(BromException e){
                          ^
../../../SP-Flash-Tool-src-master/Public/AppCore.cpp: In member function ?€˜int AppCore::CheckSecUnlock(APKey, int)?€™:
../../../SP-Flash-Tool-src-master/Public/AppCore.cpp:169:26: warning: catching polymorphic type ?€˜class BromException?€™ by value [-Wcatch-value=]
     }catch(BromException e)
                          ^
../../../SP-Flash-Tool-src-master/Public/AppCore.cpp: In member function ?€˜bool AppCore::GetScatterVersion(APKey, char*)?€™:
../../../SP-Flash-Tool-src-master/Public/AppCore.cpp:187:26: warning: catching polymorphic type ?€˜class BromException?€™ by value [-Wcatch-value=]
     }catch(BromException e)
                          ^
make[2]: *** [Makefile:2437: AppCore.o] Fehler 1
make[2]: Verzeichnis ?€ž/home/gabs/Software/Gemini/_Output/linux/release?€œ wird verlassen
make[1]: *** [Build/build-linux.mk:54: all] Fehler 2
make[1]: Verzeichnis ?€ž/home/gabs/Software/Gemini/SP-Flash-Tool-src-master?€œ wird verlassen
$


The planet support give me the following answer:
...
Unfortunately, we do not provide support for the flash tool with Linux. Linux tends to fail 9/10 times when tried to flash our devices with it. This is due to Linux often lacking libraries or settings necessary for the flash tool work, combined with a general lack of understandable diagnostics and issue reports to the user.

The quickest fix here would be to use an available Windows (ideally windows 7) machine. You can also use a virtual machine running Windows 7 through Debian.
...

I did not have any Windows on my computers (and don't think to buy one ;-)).
So did anyone solved this problem?
Or did i miss some files/packages on my system?

Many thanks

Gabriel
Go to the top of the page
 
+Quote Post
gidds
post Aug 31 2019, 10:57 PM
Post #2





Group: Members
Posts: 257
Joined: 13-January 18
From: UK
Member No.: 816,386



I don't have a good answer, I'm afraid, but I can suggest the same workaround that I use as a Mac user: keep a USB stick with Debian 9 and all the necessary extras, and boot from that when you want to run the flash tool.

It's a hassle, but it works, and will continue to work whatever you do with your main OS. Since Planet upgrades are relatively few and far between, the hassle isn't too great once you have a stick set up.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2019 - 10:08 PM