Hey everyone,
I've been trying to connect my wiimote in debian. Im new to linux, im kinda putting all the pieces together as i go. wminput and all its corresponding packages seemed to install just fine with 'apt-get install wminput'.
But when I run wminput I get the error "unable to open uinput"
so googled, and managed to find uinput.ko and some general instructions on installing it.
I loaded it into /lib/modules/2.6.29.6-cm41/ and ran 'insmod uinput.ko' and i get the error 'Invalid module format' which im assuming is because it was compiled for an x86 system. modprobe displays a similar error.
I also dont understand the "cm41" in the path /lib/modules/2.6.29.6-cm41/, is that short for CyanogenMod, am I placing this module in my android Filesystem?
Are there any linux guru's around that could compile uinput.c for the g1 debian build? Or simply tell me that im way off track and there are bigger problems involved with getting this to work.
Also, if wminput did function. Does anyone know if it would send button presses to android while running in the background?
uinput.c
http://abstrakraft.org/cwiid/browser/trunk/wminput/uinput.c?format=txt
wminput
http://packages.debian.org/lenny/wminput
wmgui which i believe uses the same library as wminput has been made to work through ssh
http://www.lukedupin.com/projects/show?project=g1_wii -
There is also WMD for connecting to wiimotes but it requires uinput as well (i think).
http://www.circuitdb.com/articles/7/3 -
Ive been reading http://www.saurik.com/id/10 and it seems that this modules really needs to be installed to Android? And then I will be able to access this module from debian which is running on top on android? Can anyone confirm that?
I extracted the config file from my phone at /proc/config.gz and it has the line # CONFIG_INPUT_UINPUT is not set. some googling brings me here http://lxr.linux.no/#linux+v2.6.31/drivers/input/misc/Kconfig
206 config INPUT_UINPUT
207 tristate "User level driver support"
208 help
209 Say Y here if you want to support user level drivers for input
210 subsystem accessible under char device 10:223 - /dev/input/uinput.
211
212 To compile this driver as a module, choose M here: the
213 module will be called uinput.
This all leads me to believe that this module will work on the G1. Will Any Devs PLEASE compile this for me. If you think it would work properly that is.
I just dont have the skills to compile it myself yet. Ive been reading alot on how to compile the kernel and kernel modules for the G1, I setup Ubuntu, and setup my environment and installed the android source code. I was working off this link http://andblogs.net/2008/12/compiling-your-own-g1-kernel-modules/ but i dont understand how i get the kernel source . I have sooo much reading todo before I get all this. Any recommended links?
Hey guys tried using heimdall with my PC, epic fail. Keep getting missing . dll file. I installed Microsoft c++ and Microsoft framework 4.0. Any ideas what else to do?
Sent from my SGH-T959V using XDA App
You have to have this installed also:
https://www.microsoft.com/downloads...5E-6DE6-4D3A-A423-37BF0912DB84&displaylang=en
(Microsoft Visual C++ 2010 Redistributable Package)
Thanks worked, I've been trying to figure that out forever!
Sent from my SGH-T959V using XDA App
Stick to following the guides and you'll be fine:
http://forum.xda-developers.com/showthread.php?t=1127419
It has the link I posted for you there, so if you follow all the steps you'll be fine.
Hi,
I'm getting "heimdall-frontend.exe-Application Error" problem. Please refer to following error detail.
"The application was unable to start correctly (0xc000007b), Click OK to close the application."
I'm using heimdall v1.1.1 with Windows 7 64-bit. How to solve the problem? I m waiting heimdall in order to flash my SGT.
Thanks,
*****************************************
EDIT:
Problem Solved!!
Install 32bit of Microsoft Visual C++ 2010 redistributables (vcredist_x86.exe) on Windows 7 64bit will solve the problem.
In my case the file MSVCR110.DLL was missing. You will need the following package:
http://www.microsoft.com/en-us/download/details.aspx?id=30679
This thread comes up first for a google search for "msvcr110.dll heimdall" so I though I'd post this.
I had the same error and in my case it was because I downloaded the x64 Visual C++ Redistributable for Visual Studio 2012 Update 3 package and Heimdall is on x86. Just download and install the x86 package to fix this like I did
I'm having the same problem here. As per the readme:
1. If you get an error as follows:
The program can't start because MSVCP100.dll is missing from your
computer.
This means that you haven't installed the Microsoft Visual C++ 2010
runtimes. The runtimes can be downloaded from Microsoft's website:
http://www.microsoft.com/download/en/details.aspx?id=5555
Click to expand...
Click to collapse
When i go to install I get:
A newer version of Microsoft Visual C++ 2010 Redistributable has been detected on the machine.
Any suggestions?
Problem not solved
I have followed your instructions and I still get the same missing .dll error when opening Frontend.exe in Heimdall Suite. I have uninstalled & rebooted, then reinstalled & rebooted the redistribution package, but the same error persists. I checked to make sure the .dll was actually on the computer and it is, so I even made a copy of it and placed it in the same Heimdall Frontend.exe directory,yet same error continues.
What directory does Frontend.exe check for the existence of the file?
Installing the file you noted as the solution, did not "solve the problem."
I am running Windows 7 64 bit and it is all up to date according to Microsoft website.
Thank you for all help in advance.
jourdan said:
Hi,
I'm getting "heimdall-frontend.exe-Application Error" problem. Please refer to following error detail.
"The application was unable to start correctly (0xc000007b), Click OK to close the application."
I'm using heimdall v1.1.1 with Windows 7 64-bit. How to solve the problem? I m waiting heimdall in order to flash my SGT.
Thanks,
*****************************************
EDIT:
Problem Solved!!
Install 32bit of Microsoft Visual C++ 2010 redistributables (vcredist_x86.exe) on Windows 7 64bit will solve the problem.
Click to expand...
Click to collapse
cilk said:
I had the same error and in my case it was because I downloaded the x64 Visual C++ Redistributable for Visual Studio 2012 Update 3 package and Heimdall is on x86. Just download and install the x86 package to fix this like I did
Click to expand...
Click to collapse
:highfive:
An entire week on and off noodling around, scratching my head, screaming at the walls, cursing Windows/Microsoft, so THANK YOU is not enough for this tip. (...scenario like this is only one reason why I use Linux as my preferred OS)
Anyone running Ubuntu via VMWare and not able to run the program? I've tried everything and it won't open nor find it when trying to use Terminal; it says:
tar (child): revolutionary-0.3-pre7.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Click to expand...
Click to collapse
Anyone know what that means? I'm a rookie in Linux but I'm not computer illiterate. I've tried both Windows XP and 7 and I'm also stuck at step 3 where it can't communicate with the device. Someone please have an answer. Thanks.
boii wond3r x3 said:
Anyone running Ubuntu via VMWare and not able to run the program? I've tried everything and it won't open nor find it when trying to use Terminal; it says:
Anyone know what that means? I'm a rookie in Linux but I'm not computer illiterate. I've tried both Windows XP and 7 and I'm also stuck at step 3 where it can't communicate with the device. Someone please have an answer. Thanks.
Click to expand...
Click to collapse
Here you go.
Use search next time.
[GUIDE][JULY/30/2011] S-OFF under Linux/Ubuntu
Yeah. Did that. Didn't work. That's why I'm asking if anyone else has the same issue and has found another work-around.
Having the very same issue. Does anyone have a solution?
same here using Ubuntu 12.04 to root and s-off a stock 2.2.2 HTC Desire, going to read the post above (even if I'm not sure it'll work...)
edit: seems to work under console ( sudo ./revolutionary )
PASSED!!! :good:
Running windows 7 64bit home premium. Trying to open heimdall.exe and get the error- "The program can't starte because MSVCP110.dll is missing from your computer. Try reinstalling the program to fix this problem.
Installed c++ redistributive for 64 bit system, no luck. Tried to reinstall and chose repair installation. Restarted after each attempt. Searched for the .dll and found it was still not installed on my computer. Tried to manually download and copy to the System32 file and SysWOW 64 folders. Tried running regsvr32 from cmd prompt but get error that it failed to load.
Have been searching for a solution but everything I have come across was either a different issue or was resolved in one of the steps above. Any info or suggestions is greatly appreciated.
Since re-installing doesn't work, you can try finding a copy of that dll file online and putting it in C:\WINDOWS\System32. It may be that your copy has a problem.
I'm a linux user and needed to flash samsung galaxy mini 2.
I tried heimdall and heimdall-frontend, but neither worked for me.
I now run a virtual machine with windows to run odin3..
Could it be that heimdall is not compatible with my phone?
grtz
have a same problem, tested on two PC
I know it is an OLD!! post, but searching the error brings this one up first..
FYI
If installed vcredist_x64 try to ALSO install vcredist_x86.
Worked for me with the MSVCP110.dll missing Error!
Probably the .dll is only in the x86 library.
/flame_on
It looks like following the official instructions on wiki.lineageos . org/devices/I01WD/install can brick your device if you're unlucky - at least for me, the bootloader seems to have vanished; trying to boot will just return a black screen. So, I looked for unbricking instructions. Unfortunately, the only two I found were getdroidtips . com/unbrick-zenfone-6-asus-6z-qdloader-9008-mode/ and piunikaweb . com/2019/10/24/unbrick-asus-zenfone-6-asus-6z/, which both use BAT scripts. I only use Linux, which doesn't support such scripts, and I'm not familiar with the Windows shell. I wondered whether anyone here could convert the instructions for Linux? The driver installation shouldn't be a problem, as Linux is monolithic and lsusb shows the Qualcomm modem being in QDL mode (I suppose that's the same as QDLoader 9008/EDL?). (remove the spaces from the links)
FantasyCookie17 said:
It looks like following the official instructions on wiki.lineageos . org/devices/I01WD/install can brick your device if you're unlucky - at least for me, the bootloader seems to have vanished; trying to boot will just return a black screen. So, I looked for unbricking instructions. Unfortunately, the only two I found were getdroidtips . com/unbrick-zenfone-6-asus-6z-qdloader-9008-mode/ and piunikaweb . com/2019/10/24/unbrick-asus-zenfone-6-asus-6z/, which both use BAT scripts. I only use Linux, which doesn't support such scripts, and I'm not familiar with the Windows shell. I wondered whether anyone here could convert the instructions for Linux? The driver installation shouldn't be a problem, as Linux is monolithic and lsusb shows the Qualcomm modem being in QDL mode (I suppose that's the same as QDLoader 9008/EDL?). (remove the spaces from the links)
Click to expand...
Click to collapse
Would this help you?
https://forum.xda-developers.com/zenfone-6-2019/how-to/guide-unbricking-zs630kl-t3998767
Or this:
https://forum.xda-developers.com/zenfone-6-2019/how-to/qdloader-brick-t3980165
I am sure you can easily read windows batch and convert them to your favorite shell language. I suppose it is simply a list of adb and fastboot commands. I don't know if I actually can help, but I'll be available for discussion, if you have any problems during your try with either of the two options above.
abprie said:
Would this help you?
https://forum.xda-developers.com/zenfone-6-2019/how-to/guide-unbricking-zs630kl-t3998767
Or this:
https://forum.xda-developers.com/zenfone-6-2019/how-to/qdloader-brick-t3980165
I am sure you can easily read windows batch and convert them to your favorite shell language. I suppose it is simply a list of adb and fastboot commands. I don't know if I actually can help, but I'll be available for discussion, if you have any problems during your try with either of the two options above.
Click to expand...
Click to collapse
The first links seems to be basically the same as what I found. The last one only works if the bootloader is still there, which is not the case. That's also the reason why I think, while not actually had looked into them, that it's not just adb and fastboot commands (those won't work anymore with my device). ADB only works in Android, and fastboot only in the bootloader. But yes, I'll look into it and see if I can do anything.
So, after looking into it, I noticed I basically understand even less of that script than I do understand Unix shells. I guess I'll probably ask in that thread however, as this seems to be the original developer of the script(s). (actually, there's several scripts, XMLs and so on there)
I had a quick look at the update_image_EDL.bat file and noticed that the file itself calls an executable in Windows format. I guess this won't be easy to convert.
But did you try to run this in wine?
I believe the best solution to your problem would be a VM with Windows 10 installation and USB support.
aleksander002 said:
I believe the best solution to your problem would be a VM with Windows 10 installation and USB support.
Click to expand...
Click to collapse
This would require the OP to own a win10 version and if that was the case, (s)he could also boot from a installation disk and run the scripts on a live boot. But still, maybe a true Windows version is required.
As far as I know, Windows 10 is free to install without key and it will be legal as a short-period evaluation copy.
aleksander002 said:
As far as I know, Windows 10 is free to install without key and it will be legal as a short-period evaluation copy.
Click to expand...
Click to collapse
True, might work...
So, while QFIL.exe would start with wine and Mono (apparently it's a .NET application) installed, it wasn't actually able to connect to the phone (I think direct hardware access is one of the things WINE cannot really do anyway). Thus I tried the suggestion with Windows in a VM and USB redirection, however, I got `ERROR: function: sahara_rx_data:277 Unable to read packet header. Only read 0 bytes.` and some other errors after this which were apparently caused by the first error when executing the `update_img_EDL` script. I found another solution that may possibly work: Using https://www.96boards.org/documentation/consumer/guides/qdl.md.html, however I don't really know which partitions I need, and which XML files I should use from the many that are present in the zip file. The signed ELF programmer is apparently `prog_firehose_ddr.elf`, at least that's what the script seemed to use.
EDIT: Looks like some people in the original thread are having the same issue as I do.
FantasyCookie17 said:
So, while QFIL.exe would start with wine and Mono (apparently it's a .NET application) installed, it wasn't actually able to connect to the phone (I think direct hardware access is one of the things WINE cannot really do anyway). Thus I tried the suggestion with Windows in a VM and USB redirection, however, I got `ERROR: function: sahara_rx_data:277 Unable to read packet header. Only read 0 bytes.` and some other errors after this which were apparently caused by the first error when executing the `update_img_EDL` script. I found another solution that may possibly work: Using https://www.96boards.org/documentation/consumer/guides/qdl.md.html, however I don't really know which partitions I need, and which XML files I should use from the many that are present in the zip file. The signed ELF programmer is apparently `prog_firehose_ddr.elf`, at least that's what the script seemed to use.
EDIT: Looks like some people in the original thread are having the same issue as I do.
Click to expand...
Click to collapse
Sorry for the late reply. Could you find out what kind of dragonboard the zenfone 6 has? I guess that will give you a clue through the manual linked at the end of you referenced threat.
Oh, and did you try to just install a win10 version as suggested before?
abprie said:
Sorry for the late reply. Could you find out what kind of dragonboard the zenfone 6 has? I guess that will give you a clue through the manual linked at the end of you referenced threat.
Oh, and did you try to just install a win10 version as suggested before?
Click to expand...
Click to collapse
Afaik Dragonboard is just the name of that line of SBCs which also uses Qualcomm SoCs. So while the Zenfone very likely doesn't use a Dragonboard as PCB, the SoC modes and such should be similar. The device-specific instructions most likely won't work, however the software should work on all Qualcomm-based boards.
I didn't try to install Windows 10 on my PC, however I also tried it at a friend's PC with W10, where I got the same error.
FantasyCookie17 said:
I didn't try to install Windows 10 on my PC, however I also tried it at a friend's PC with W10, where I got the same error.
Click to expand...
Click to collapse
Meaning that even the Windows scripts that reflash the bootloader did not work?
Interesting. Looks like the issue was the cable; it worked with a different one (though both cables had both data and power lanes).
I'm in the same situation, with a dead Zenfone6 and only a Linux desktop.
Was there a way to bring it back to life?
Marlin79 said:
I'm in the same situation, with a dead Zenfone6 and only a Linux desktop.
Was there a way to bring it back to life?
Click to expand...
Click to collapse
See the original thread which was linked here. (the cable I originally used did not work, however it wasn't the original one that came with it) The only way I see is downloading the Windows installer and starting that in a VM with USB redirection (e.g. use QEMU/KVM and virt-manager). Then install Windows in that VM (if you don't want to create a Microsoft account, disconnect from the internet before it asks you to do so), and then follow all the instructions in the original thread.
FantasyCookie17 said:
See the original thread which was linked here. (the cable I originally used did not work, however it wasn't the original one that came with it) The only way I see is downloading the Windows installer and starting that in a VM with USB redirection (e.g. use QEMU/KVM and virt-manager). Then install Windows in that VM (if you don't want to create a Microsoft account, disconnect from the internet before it asks you to do so), and then follow all the instructions in the original thread.
Click to expand...
Click to collapse
My Asus brick has been lying in my drawer for a while but I had a bit of spare time so I thought to see what I could do with it. I have a bit of spare parts so I put together a bare bone computer and installed Windows 10 on it (the windows installer iso-file from microsoft.com)
I then tried to follow this guide https://forum.xda-developers.com/zenfone-6-2019/how-to/qdloader-brick-t3980165
But when running the update_image_EDL.bat script I get "Environment variable _COM not defined". The USB cable I'm using is the one that came with the phone.
I know next to nothing about Windows. Somebody who has an idea what to do about that error message?
Marlin79 said:
My Asus brick has been lying in my drawer for a while but I had a bit of spare time so I thought to see what I could do with it. I have a bit of spare parts so I put together a bare bone computer and installed Windows 10 on it (the windows installer iso-file from microsoft.com)
I then tried to follow this guide https://forum.xda-developers.com/zenfone-6-2019/how-to/qdloader-brick-t3980165
But when running the update_image_EDL.bat script I get "Environment variable _COM not defined". The USB cable I'm using is the one that came with the phone.
I know next to nothing about Windows. Somebody who has an idea what to do about that error message?
Click to expand...
Click to collapse
Yes. Happened to me, too. The problem was that the phone is not recognized as a Qualcomm device in Windows. I had to open it and bridge two points on the board. See this: https://forum.xda-developers.com/showpost.php?p=82965385&postcount=66
I finally got to the stage where i could execute update_image_EDL.bat script
It ran for a minute or so but then terminated in an error.
Code:
13: E:\firmware\prog_firehose_ddr.elf
06:28:01: ERROR: function: sahara_rx_data:277 Unable to read packet header. Only read 0 bytes.
06:28:01: ERROR: function: sahara_main:983 Sahara protocol error
06:28:01: ERROR: function: main:320 Uploading Image using Sahara protocol failed
Download Fail:Sahara Fail:QSaharaServer Fail:Process fail
Finish Download
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'QMSL_MSVC10R.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at QC.QMSLPhone.Phone.QLIB_DisconnectAllServers()
at QC.QMSLPhone.Phone.DisconnectAllServers()
at QC.QMSLPhone.Phone.Finalize()
2020-07-11 06:28:02.931 Download Fail:Sahara Fail:QSaharaServer Fail:Process fail
press any key to continue . . .
Any ideas what that is about? The file it mentions QMSL_MSVC10R.dll does exist in the firmware directory