11-05-18 06:24 PM
3,576 ... 9899100101102 ...
tools
  1. nah.uhh's Avatar
    The good news is that 'Connect to Windows' appears to work in Linux (as well as 'Connect to Mac') now.
    Fwiw, I've always (since 10.0) used connect to windows when connecting to Linux. Autodetect was really the only option that didn't work for me.

    But I need some help with 1.7.0..
    I'm running Ubuntu 14.10
    I tried installing qt 5.3.1 from qt-project.org but that doesn't seem to discuss anything (it installs to the home folder. Should I be running the installer as root?)

    Also tried installing qt5-default from the repository, no luck.

    How do I install qt 5.3.1?
    09-08-14 08:14 PM
  2. thurask's Avatar
    Fwiw, I've always (since 10.0) used connect to windows when connecting to Linux. Autodetect was really the only option that didn't work for me.

    But I need some help with 1.7.0..
    I'm running Ubuntu 14.10
    I tried installing qt 5.3.1 from qt-project.org but that doesn't seem to discuss anything (it installs to the home folder. Should I be running the installer as root?)

    Also tried installing qt5-default from the repository, no luck.

    How do I install qt 5.3.1?
    If compiling from source doesn't work, you could try waiting for 14.10 Utopic next month. Should come with 5.3.0: http://packages.ubuntu.com/utopic/qt5-default

    Posted via CB10
    09-08-14 08:33 PM
  3. nah.uhh's Avatar
    If compiling from source doesn't work, you could try waiting for 14.10 Utopic next month. Should come with 5.3.0: http://packages.ubuntu.com/utopic/qt5-default

    Posted via CB10
    I'm running 14.10 and had 5.3.0 installed from the repos, no go.

    Installing installed qt5-default in Debian unstable (5.3.1) doesn't work either. Give s the same error about loading shared libraries libQt5Quick.so.5 no such file or directory.

    I fixed this before (on 14.04 with sachesi 1.6.0 and qt5.2.1). by installing a bunch of random qt5 plugin and declarative packages...

    What are the linux dependencies for sachesi 170?

    1.4.0 and below with qt4.8 worked out of the box by installing the qt4-default package.
    1.7.0 seems to require packages not included in qt5-default
    Last edited by nah.uhh; 09-08-14 at 09:23 PM.
    09-08-14 09:06 PM
  4. yhamaie's Avatar
    Updated to Version 1.7.0 now.
    P.S.

    The Q30 pulldown menu is erroneously associated with STJ100-1 (Z3).
    09-08-14 10:23 PM
  5. xsacha's Avatar
    I fixed this before (on 14.04 with sachesi 1.6.0 and qt5.2.1). by installing a bunch of random qt5 plugin and declarative packages...

    What are the linux dependencies for sachesi 170?
    The packages required for compiling are in the https://github.com/xsacha/Sachesi/wi...d-Instructions

    For running: qtdeclarative5-settings-plugin qtdeclarative5-controls-plugin qtdeclarative5-dialogs-plugin qtdeclarative5-quicklayouts-plugin qtdeclarative5-window-plugin

    I have switched the package to Qt5.2 again. Worked around all the 5.2 bugs so it should be otherwise identical to the 5.3 one. The Qt5.2 one should work fine in Ubuntu 14.04.

    P.S.
    The Q30 pulldown menu is erroneously associated with STJ100-1 (Z3).
    The text wasn't updating. I changed it to automatically update text and to handle the possibility of switching advanced modes during runtime. It should look all good now. Very minor update so I just replaced the package.
    Last edited by xsacha; 09-09-14 at 12:54 AM.
    09-09-14 12:34 AM
  6. yhamaie's Avatar
    The text wasn't updating. I changed it to automatically update text and to handle the possibility of switching advanced modes during runtime. It should look all good now.
    This is to confirm that it looks all good now. Thank you so much.
    09-09-14 02:30 AM
  7. dodachacha's Avatar
    I'm pretty new to the whole Linux thing, but can't get Sachesi to run on Ubuntu 14.04. I've extracted the file, and when I go to run it, I get:

    "symbol lookup error: ./Sachesi: undefined symbol: _ZN7QString18toLocal8Bit_helperEPK5QChari"

    QT 5.3, 5.2.1, and 5.2 are all installed. Any suggestions??
    09-09-14 04:52 AM
  8. xsacha's Avatar
    I'm pretty new to the whole Linux thing, but can't get Sachesi to run on Ubuntu 14.04. I've extracted the file, and when I go to run it, I get:

    "symbol lookup error: ./Sachesi: undefined symbol: _ZN7QString18toLocal8Bit_helperEPK5QChari"

    QT 5.3, 5.2.1, and 5.2 are all installed. Any suggestions??
    Can you confirm the one you downloaded was: https://github.com/xsacha/Sachesi/re...xQt5.2.tar.bz2 ?
    That is, Qt5.2? That error appears like you are running the 5.3 version somehow.

    You should only need Qt5.2 installed (minor version doesn't matter). It's probably easiest to use the one from your repo since that's what I used to compile.
    09-09-14 05:41 AM
  9. alaviss's Avatar
    Hi,
    I'm trying to link Sachesi with shared lzo2 but hit this error from linker
    Code:
    splitter.o: In function `Splitter::extractRCFSDir(int, int, QString, long long)':
    src/splitter.cpp:(.text+0x4185): undefined reference to `lzo1x_decompress_safe(unsigned char const*, unsigned long, unsigned char*, unsigned long*, void*)'
    There is `-llzo2` in linker options (confirmed via --verbose)
    There is lzo1x_decompress_safe symbol in liblzo2
    Code:
    /t/s/s/Sachesi git:master ❯❯❯ nm -D /usr/lib/liblzo2.so | grep lzo1x_decompress_safe                                                                                   
    0000000000020f50 T lzo1x_decompress_safe
    How can I use shared lzo2 now? Look like the only options I have left is to use static lzo2
    09-09-14 11:20 AM
  10. xsacha's Avatar
    Sachesi v1.8.0 released with a few noticeable improvements. Mostly making sure people don't install firmware that isn't intended for their device.


    Hi,
    I'm trying to link Sachesi with shared lzo2 but hit this error from linker
    Code:
    splitter.o: In function `Splitter::extractRCFSDir(int, int, QString, long long)':
    src/splitter.cpp:(.text+0x4185): undefined reference to `lzo1x_decompress_safe(unsigned char const*, unsigned long, unsigned char*, unsigned long*, void*)'
    Can you find out what the actual definition is in lzo2?
    I see: (const lzo_bytep src, lzo_uint src_len, lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem)
    Looks like: const unsigned char*, unsigned int, unsigned char*, unsigned int*, void*

    So is the only difference in the int/long?
    09-09-14 11:21 AM
  11. alaviss's Avatar
    There are a few diffs bettwen the headers you included with system headers, this will fix that

    Code:
    diff --git a/Sachesi.pro b/Sachesi.pro
    index 7b8fa7b..28bc19a 100644
    --- a/Sachesi.pro
    +++ b/Sachesi.pro
    @@ -60,6 +60,7 @@ else:android {
     } else {
         shared_quazip: LIBS += -lquazip
         shared_lzo2: LIBS += -llzo2
    +    shared_lzo2: DEFINES += _LZO2_SHARED
         LIBS += -lz -ldl -ludev
         # These below should be static for it to be fully portable (changing ABIs)
         LIBS += -lcrypto -lusb-1.0
    diff --git a/src/splitter.cpp b/src/splitter.cpp
    index 2db3175..f654f23 100644
    --- a/src/splitter.cpp
    +++ b/src/splitter.cpp
    @@ -16,7 +16,11 @@
     // http://github.com/xsacha/Sachesi
     
     #include "splitter.h"
    +#ifdef _LZO2_SHARED
    +#include <lzo/lzo1x.h>
    +#else
     #include "lzo.h"
    +#endif
     #ifdef _WIN32
     #include "Windows.h"
     // We need to update the time of the extracted file based on the unix filesystem it comes from.
    09-09-14 11:47 AM
  12. geenaxion's Avatar
    Sachesi: Firmware Extractor, Searcher and Installer-img_20140909_222742.jpg
    Sachesi: Firmware Extractor, Searcher and Installer-img_20140909_222758.jpg

    What's wrong here?

    @Geenaxion Z10STL100-2/10.3.0.1154
    09-09-14 12:06 PM
  13. xsacha's Avatar
    What's wrong here?
    What was happening at the time? Or was this at launch?
    09-09-14 02:20 PM
  14. dodachacha's Avatar
    Can you confirm the one you downloaded was: https://github.com/xsacha/Sachesi/re...xQt5.2.tar.bz2 ?
    That is, Qt5.2? That error appears like you are running the 5.3 version somehow.

    You should only need Qt5.2 installed (minor version doesn't matter). It's probably easiest to use the one from your repo since that's what I used to compile.
    I did indeed somehow find a 5.3 version. Downloaded the 5.2 version you linked to, and now I'm getting:

    qrc:/qml/generic/Title.qml:4 module "Qt.labs.settings" is not installed
    qrc:/qml/generic/Title.qml:2 module "QtQuick.Controls" is not installed
    qrc:/qml/generic/Title.qml:4 module "Qt.labs.settings" is not installed
    qrc:/qml/generic/Title.qml:2 module "QtQuick.Controls" is not installed

    Again, I have 5.2, 5.2.1, and 5.3 all installed.

    EDIT: nevermind, tried your magic "sudo apt-get install qt5-qmake qtdeclarative5-settings-plugin qtdeclarative5-controls-plugin qtdeclarative5-dialogs-plugin qtdeclarative5-quicklayouts-plugin qtdeclarative5-window-plugin" and it all works now. Thank you so much!
    Last edited by dodachacha; 09-09-14 at 04:09 PM. Reason: Problem Solved
    09-09-14 04:06 PM
  15. xsacha's Avatar
    qrc:/qml/generic/Title.qml:4 module "Qt.labs.settings" is not installed
    qrc:/qml/generic/Title.qml:2 module "QtQuick.Controls" is not installed
    qrc:/qml/generic/Title.qml:4 module "Qt.labs.settings" is not installed
    qrc:/qml/generic/Title.qml:2 module "QtQuick.Controls" is not installed

    Again, I have 5.2, 5.2.1, and 5.3 all installed.
    The packages required for compiling are in the https://github.com/xsacha/Sachesi/wi...d-Instructions

    For running: qtdeclarative5-settings-plugin qtdeclarative5-controls-plugin qtdeclarative5-dialogs-plugin qtdeclarative5-quicklayouts-plugin qtdeclarative5-window-plugin
    That is:
    Code:
    sudo apt-get install qtdeclarative5-settings-plugin qtdeclarative5-controls-plugin qtdeclarative5-dialogs-plugin qtdeclarative5-quicklayouts-plugin qtdeclarative5-window-plugin
    09-09-14 04:09 PM
  16. nah.uhh's Avatar
    That is:
    Code:
    sudo apt-get install qtdeclarative5-settings-plugin qtdeclarative5-controls-plugin qtdeclarative5-dialogs-plugin qtdeclarative5-quicklayouts-plugin qtdeclarative5-window-plugin
    You'll also need to add qtdeclarative5-qtquick2-plugin to that list

    So that's:

    sudo apt-get install qtdeclarative5-settings-plugin qtdeclarative5-controls-plugin qtdeclarative5-dialogs-plugin qtdeclarative5-quicklayouts-plugin qtdeclarative5-window-plugin qtdeclarative5-qtquick2-plugin

    Tested using sachesi 1.8.0 on a fresh install of 14.04 (qt5.2.1)
    Last edited by nah.uhh; 09-09-14 at 05:39 PM.
    09-09-14 05:03 PM
  17. alaviss's Avatar
    Look like you have fixed the lzo2 header bug, but now you forgot to link with lzo2 )))), my patch add the DEFINES line, not substitute it with LIBS

    Z10 - 10.3 - STL 100-1
    09-09-14 07:27 PM
  18. bitje's Avatar
    I use Sachesi to strip my os install. Now I have to select the bars individually and then choose to remove then. Would be nice to have an option to read my selection from a file and to remember this as a profile.
    Thank you for the great tool!
    09-09-14 09:25 PM
  19. yhamaie's Avatar
    Sachesi v1.8.0 released with a few noticeable improvements. Mostly making sure people don't install firmware that isn't intended for their device.
    "Links have been converted to work on your selected device." has made updating OS and Radio a lot easier . . . thank you so much.

    Sachesi: Firmware Extractor, Searcher and Installer-sachesi_180.png
    09-09-14 09:53 PM
  20. eywong's Avatar
    Sachesi v1.8.0 released with a few noticeable improvements. Mostly making sure people don't install firmware that isn't intended for their device.
    When I try to launch Version 1.8.0 on my WinXP (32-bit), I get "Sachesi has encountered a problem and needs to close." (BTW, Version 1.6.1.1 starts ok.)

    I extracted all files from Sachesi-1.8.0-Windows.zip into folder c:\Sachesi-1.8.0-Windows. I run Sachesi from that folder.
    09-09-14 10:16 PM
  21. yhamaie's Avatar
    "Sachesi has encountered a problem and needs to close." (BTW, Version 1.6.1.1 starts ok.)
    It is becoming increasingly difficult for us to run any piece of software on Windows XP which is a discontinued (abandoned by Microsoft) platform. And yet 1.8.0 will be able to start on a Windows XP-driven hardware on which 1.6.1.1 normally starts.

    Would you please find what graphics card is installed or embedded (and its OpenGL version) in your PC (with GPU Caps Viewer 1.21.1)?
    09-09-14 10:46 PM
  22. xsacha's Avatar
    When I try to launch Version 1.8.0 on my WinXP (32-bit), I get "Sachesi has encountered a problem and needs to close." (BTW, Version 1.6.1.1 starts ok.)

    I extracted all files from Sachesi-1.8.0-Windows.zip into folder c:\Sachesi-1.8.0-Windows. I run Sachesi from that folder.
    This release was definitely meant to support XP
    1.8.0 does not use OpenGL at all -- it's using Direct3D 9.
    It uses MinGW with an embedded runtime so it doesn't require a new runtime at all.
    I'll try to find out what was different about 1.6.1.1.

    Edit: It might be that the d3dcompiler is different? v46 instead of v47.
    That looks to be it. Updating the release on github. And updated.

    If anyone is wondering why the text doesn't look as nice as system text on Windows 7, it's the XP support :P
    Last edited by xsacha; 09-09-14 at 11:40 PM.
    09-09-14 11:02 PM
  23. eywong's Avatar
    Would you please find what graphics card is installed or embedded (and its OpenGL version) in your PC (with GPU Caps Viewer 1.21.1)?
    Thank you for helping to keep my WinXP PC limping along.

    GPU 1: NVIDIA GeForce FX Go 5600
    OpenGL 1.4 (GeForce FX Go5600/AGP/SSE2 with 105 ext.)
    09-09-14 11:34 PM
  24. eywong's Avatar
    Edit: It might be that the d3dcompiler is different? v46 instead of v47.
    That looks to be it. Updating the release on github. And updated.
    I still get "Sachesi has encountered a problem and needs to close."
    FYI, when I try to register (regsvr32) each .dll, I get these respective mesages:
    LoadLibrary("D3Dcompiler_46.dll") failed - A dynamic link library (DLL) initialization routine failed.
    LoadLibrary("D3Dcompiler_47.dll") failed - A dynamic link library (DLL) initialization routine failed.
    09-09-14 11:59 PM
  25. xsacha's Avatar
    I still get "Sachesi has encountered a problem and needs to close."
    FYI, when I try to register (regsvr32) each .dll, I get these respective mesages:
    LoadLibrary("D3Dcompiler_46.dll") failed - A dynamic link library (DLL) initialization routine failed.
    LoadLibrary("D3Dcompiler_47.dll") failed - A dynamic link library (DLL) initialization routine failed.
    I thought 46 or 47 was what Mozilla was using, targeting XP.

    Try 43: Upload Files, MP3, Music. Free File Hosting To Share Files
    09-10-14 12:15 AM
3,576 ... 9899100101102 ...

Similar Threads

  1. Replies: 41
    Last Post: 01-09-16, 12:03 PM
  2. Q10 shows "4G" and Z10 shows "4GLTE"
    By BGQ10 in forum BlackBerry Q10
    Replies: 22
    Last Post: 01-20-14, 11:31 AM
  3. BlackBerry needs to get BB10 in cars, and fast!
    By BlackBerry_Pwner in forum General BlackBerry Discussion
    Replies: 19
    Last Post: 09-17-13, 10:26 AM
  4. Suggestion: BBM Forum for x-platform BBM software and features
    By lorax1284 in forum Site Feedback & Help
    Replies: 2
    Last Post: 07-05-13, 07:01 PM
  5. July 9th Blackberry Webcast What do you expect and What do you want to hear?
    By Wilsonia Goldens in forum General BlackBerry Discussion
    Replies: 4
    Last Post: 07-04-13, 09:38 AM
LINK TO POST COPIED TO CLIPBOARD