Santoku (libimobiledevice) - libimobiledevice

usbmux_get_device_list: error opening socket!
ERROR: Unable to retrieve device list!
pleasee helppp. (not sure what I'm doing wrong, I have little knowledge of the problem or the solution, my iPhone doesn't boot up correctly and I run Santoku and I am trying to find a way to extraction iOS)

You don't have usbmuxd installed, usbmuxd is not running, or if you're running inside a VM, you did not connect your device to your VM properly.
Did you follow the steps in this article: https://santoku-linux.com/howto/mobile-forensics/howto-create-a-logical-backup-of-an-ios-device-using-libimobiledevice-on-santoku-linux/ ?
That said, if you're planning to use libimobiledevice, why not use a regular Linux distro?

Related

"dronekit-sitl waiting for connection..." But what am I to do next?

I have installed it. But what to do next?
MavProxy application doesn't respond to commands or am I doing something wrong over here.
In short, someone please guide me through connecting simulated vehicle with mission planner. I know it is very rudimentary but please help me out here.
To connect dronekit-sitl to Mission Planner simply just set the connection setting (at the top right) to TCP then click the connect button and set the remote IP 127.0.0.1 and remote port to 5760. Like in this picture:
And you should be connected to the dronekit-sitl, the developer actually specify the connection setup at their docs Link.
But I recommend you to not use the dronekit-sitl if you are using it to develop program using dronekit. Just use the original SITL from Ardupilot site Link. Why ? because the dronekit-sitl is limited to the version 3.3 firmware (Right now the latest firmware is 3.6) and you can't do advanced testing with it (Like simulate LIDAR, Wind simulation, even connecting your SITL to 3D Simulator).
A tips from me is if you want to develop your program in Windows and use the Mission Planner as GCS you can enable the Windows Subsystem for Linux (WSL) Link and install Ubuntu to the WSL and follow the SITL setup on Linux guide Link.
OR just use Ubuntu to develop your program and use APM Planner as your GCS Link or just install Mission Planner on Ubuntu using WINE/Crossover (This is the option I use right now).

Parse4cn1 connection error

I'm facing trouble using parse4cn1 because apparently I have a connection issue with the server(back4app). I was working with parse4cn1 for quite some time and everything went fine until yesterday. Right now I am getting a ParseException when using it -
[parse4cn1] Request failed.
ParseException [code=100, msg=Connection to backend failed., cause=null]
**The project runs perfectly on a different pc. tried to use another network on this computer and still get the same connection issue.
It must be my computer blocking me from using this particular server. unfortunately I do not know how to check if this is true and obviously how to fix it..(am using netbeans if it matters..)
help would be apreciated!
Itay
Eventually the issue was in my codename1 simulator, apparently the default behavior of it is blocking all outgoing network connections (or at least that how it was for me). I had to simply change it to regular network activity.

Flash drive webserver

Hopefully someone here can help me out.
Currently I have a small AngularJS app. I want to put this on an USB drive and make it very easy to run. The idea is someone can just plug in the drive click a file and run the app. I've been thinking about using node for this and then make a little script that would start the server and app. So people can click the script and the app runs. The problem is however (afaik) you need to have node installed on the computer which can't be done.
The client hasn't got his webserver running and still want to run the app. So please don't tell me why would you make an angular app and wanna run it without webserver.
Hopefully anyone has any solution or idea to make this work.
So in short:
AngularJS Application on USB
Plug in the USB, click a file and run the app in the browser.
Thanks for reading and thinking with me.
Have you considered running a standard web server on the USB Stick?
I see that you have suggested Node, but another alternative could be to use XAMPP?
XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use.

Starting a graphical application using sfml on Raspberry Pi boot

I would like to make a Graphical interface for a home-made program using SFML on Raspberry Pi2. I am using Raspbian. I recompiled the graphical lib
It works fine unsing startx first, then using my application, which wors perfectly fine.
But I can't figure if it is possible or how to launch my application directly after boot without launching startx (just to optimise the cpu of the Raspberry).
Starting my program direcly after boot, I get the following error:
Failed to open X11 display: make sure the DISPLAY environnement variable is set correctly.
Aborted.
I already tested the classic export DISPLAY=:0.0 but without sucess.
I interested myself in x and xinit, but I am not sure that would even do it.
Where should I start looking? I don't need a complete solution, even a hint or an idea would be nice!
I checked to see if it was possible to open a graphical app without the X desktop environment and as that answer states, with Firefox at least, you need the X server which SFML also probably needs in order to create a window.
The answer states:
Basically something like:
$ X
Then you just start Firefox in this X server:
$ DISPLAY=:0 firefox
You can switch from the X server and the framebuffer by using
CTRL+ALT+F1 and CTRL+ALT+F7.
You could try that and see if it helps.
Also, still searching, I found a forum post on the sfml website about what you're trying to accomplish stating somewhere:
SFML requires OpenGL, so as far as I know you need at least X running,
but you probably don't need gnome, KDE or a similar Desktop
Environment on top.
The forum guy asking for help seems to have managed to get X11 and a SFML basic render window to work on Ubuntu server after someone posted a link to xinitrc. I guess, that's the route to go from here.

Unloading Windows driver

some time ago I decided to learn how to write drivers. Unfortunatelly I didn't get too far because for testing the driver it is kinda important for you to be able to unload it without the need of restarting the machine. Now I got back to it but I am just not able to get past this on my own.
Now I suppose just to make the question more straight forward you sure want to see this:
VOID Unload(PDRIVER_Object DriverObject)
{
DbgPrint("Unload\r\n");
}
and
NTSTATUS DriverEntry(PDRIVER_OBJECT pDriverObject, PUNICODE_STRING pRegistryPath)
{
DbgPrint("Entry\r\n");
pDriverObject->DriverUnload = Unload;
return STATUS_SUCCESS;
}
In DbgView it prints the "Entry" message, but when unloading the driver it doesn't print the "Unload" one. Actually trying to stop the driver service changes it's status to NOT_STOPPABLE.
Then I have to restart if I want another try.
I work with Windows 7 and with same outcomes I have tried to do it booting up with TESTSIGNING ON and with no signiture required too. A little bit odd thing is the load doesn't work either unless I create device in the entry function. Only then I can find my driver with winobj in the \Driver directory. I have also tried it out on another machine with Win7 installation but it turned out local settings are not the issue. If you recognize this kind of kernel behaviour I would really like to hear it, thanks.
Actually if know about some programm that can load .sys and then is able to unload it, drop a link or name. Source codes not required, the executable should do.. or vice versa.. thanks.
Driver development - use OSR Driver Loader
Ok the problem was I linked with /driver:wdm because I read an older tutorial. That is wrong nowadays, you can only IoCreateDevice in DriverEntry in legacy drivers that means proper option is just /driver. Sorry I dont understand the behaviour of I/O manager, but if you are having the same problem, just get rid of that wdm flag and it will unload.

Resources