Fix missing libraries of an existing Mac OS binary by adding a correct @rpath command

Adding missing library path to an existing OS X binary: For example: open tracker (see https://github.com/opentrack/opentrack) misses the correct relative @rpath: otool -l /Applications/opentrack.app/Contents/MacOS/opentrack.bin | grep @rpath name @rpath/QtWidgets.framework/Versions/5/QtWidgets (offset 24) name @rpath/QtGui.framework/Versions/5/QtGui (offset 24) name @rpath/QtNetwork.framework/Versions/5/QtNetwork (offset 24) name @rpath/QtCore.framework/Versions/5/QtCore (offset 24) Where @rpath is at: Load command 28 cmd LC_RPATH cmdsize 56 path /Users/sthalik/dev/opentrack/build/install (offset 12) Load command 29 cmd LC_RPATH cmdsize 56 path /Users/sthalik/Qt5.5.1/5.5/clang_64/lib (offset 12) Wrong path set for local Qt's libraries In order to fix this: we should add a custom @rpath for all libraries not being deployed with the executable or being linked with libs…

1 Comment

Reverse engineering 433MHz signals of Velleman P8078 and Holtek HT46R01T3 or HT48R01T3, HT48RXX, HT48XXX (Arduino Library)

[HACKS] uC & Arduino Library: reverse engineering 433mhz signals of Velleman P8078 and Holtek HT46R01T3 or HT48R01T3 I reverse engineered a 433mhz signal of the 4xR01T3v130 / 46R01T3v130 / 48R01T3v130 chips which are commonly used by Tevion (Aldi product in Germany). As I normally use an Arduino uC I hacked a small library that is capable to sniff the air for interesting packets. The cause I needed to write it on my own and not using the various libs out there was: they just do not work (VirtualWire, RCSwitch, RemoteSwicth etc. etc.) as they are only for specific protocol types (called 1,2,3). I…

2 Comments

Jailbreak: Root almost any Android device with Mac OS

Root almost any Android device: 1. Download Android SDK: https://developer.android.com/sdk/index.html 2. Launch Android SDK Manager: cd /your-android-sdk-macosx-folder/sdk/tools ./android sdk 2.1. Install from Android SDK Manager: "Android SDK Platform-tools" 3. Check for adb and fastboot in your platform-tools folder: cd /your-android-sdk-macosx-folder/sdk/platform-tools ls   4. Download Android File Transfer: http://www.android.com/filetransfer/ 4.1 Install Android File Transfer 5. Download Custom Recovery ClockworkMod or TWRP TeamWin Recovery ROM http://www.clockworkmod.com/rommanager http://teamw.in/project/twrp2 Download Recovery or Recovery Touch (recommended for touch-input support while jailbreaking) 6. Download SuperUser SU Download latest SuperSu Version @xda-developers.com http://lmgtfy.com/?q=supersu+download We need the CWM installable ZIP 7. Copy ClockworkMod & SuperSU into /your-android-sdk-folder/sdk/platform-tools/ 8. Connect Android device…

1 Comment