Skip to content

Instantly share code, notes, and snippets.

View andrewwiik's full-sized avatar

Andrew Wiik andrewwiik

View GitHub Profile
@andrewwiik
andrewwiik / help.xm
Created December 21, 2015 01:38
Activator Bluetooth Listeners
/* Activator Bluetooth Commands Help
The Executable that this needs to be loaded into is "BTAvrcp"
No lazy-loading to the best of my knowledge.
Don't Bring UIKit into the process or it will crash the executable.
Hope this helps :) */
@andrewwiik
andrewwiik / Tweak.xm
Created June 6, 2017 01:27
iOS 11 Simulator Hooking Code
%hook SBFloatingApplicationController
+ (BOOL)isFloatingApplicationSupported {
return YES;
}
%end
%hook SBFloatingDockController
+ (BOOL)isFloatingDockSupported {
return YES;
}
@andrewwiik
andrewwiik / bluetooth.caml
Created August 9, 2017 16:51
.caml file examples
<caml xmlns="http://www.apple.com/CoreAnimation/1.0">
<CATransformLayer allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="0 0 40 40" contentsFormat="RGBA8" hidden="0" name="Root Layer" position="20 20">
<backgroundColor opacity="0" value="0 0 0"/>
<sublayers>
<CATransformLayer allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="37.700007629395 42.604029846193 52 39" contentsFormat="RGBA8" name="bt" position="19.799999237061 19.403999328613" transform="scale(0.495, 0.495, 1)">
<sublayers>
<CALayer id="#1" allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="0 0 52 39" contentsFormat="RGBA8" name="bluetooth" opacity="1" position="63.700007629395 62.104029846193">
<sublayers>
<CAShapeLayer fillColor="1 1 1" path="15.4 14.7 m 7.3 7.5 l 7.3 18 l 2.2 13.4 l 1 14.7 l 6.9 20 l 1 25.1 l 2.1 26.4 l 7.2 21.9 l 7.2 32.6 l 15.3 25.4 l 9.7 20 l 15.4 14.7 l h 9 28.7 m 9 21.9 l 12.8 25.4 l 9 28.7 l h 12.8 14.7 m 9 18.1 l 9 11.3 l 12.8 14.7 l h" allowsEdgeAntialiasing="1" allow
@andrewwiik
andrewwiik / bluetooth.caml
Last active August 9, 2017 16:54
.caml file examples
<caml xmlns="http://www.apple.com/CoreAnimation/1.0">
<CATransformLayer allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="0 0 40 40" contentsFormat="RGBA8" hidden="0" name="Root Layer" position="20 20">
<backgroundColor opacity="0" value="0 0 0"/>
<sublayers>
<CATransformLayer allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="37.700007629395 42.604029846193 52 39" contentsFormat="RGBA8" name="bt" position="19.799999237061 19.403999328613" transform="scale(0.495, 0.495, 1)">
<sublayers>
<CALayer id="#1" allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="0 0 52 39" contentsFormat="RGBA8" name="bluetooth" opacity="1" position="63.700007629395 62.104029846193">
<sublayers>
<CAShapeLayer fillColor="1 1 1" path="15.4 14.7 m 7.3 7.5 l 7.3 18 l 2.2 13.4 l 1 14.7 l 6.9 20 l 1 25.1 l 2.1 26.4 l 7.2 21.9 l 7.2 32.6 l 15.3 25.4 l 9.7 20 l 15.4 14.7 l h 9 28.7 m 9 21.9 l 12.8 25.4 l 9 28.7 l h 12.8 14.7 m 9 18.1 l 9 11.3 l 12.8 14.7 l h" allowsEdgeAntialiasing="1" allo
@andrewwiik
andrewwiik / bluetooth-noanimation.xml
Last active August 9, 2017 16:58
.caml file examples
<caml xmlns="http://www.apple.com/CoreAnimation/1.0">
<CATransformLayer allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="0 0 40 40" contentsFormat="RGBA8" hidden="0" name="Root Layer" position="20 20">
<backgroundColor opacity="0" value="0 0 0"/>
<sublayers>
<CATransformLayer allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="37.700007629395 42.604029846193 52 39" contentsFormat="RGBA8" name="bt" position="19.799999237061 19.403999328613" transform="scale(0.495, 0.495, 1)">
<sublayers>
<CALayer id="#1" allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="0 0 52 39" contentsFormat="RGBA8" name="bluetooth" opacity="1" position="63.700007629395 62.104029846193">
<sublayers>
<CAShapeLayer fillColor="1 1 1" path="15.4 14.7 m 7.3 7.5 l 7.3 18 l 2.2 13.4 l 1 14.7 l 6.9 20 l 1 25.1 l 2.1 26.4 l 7.2 21.9 l 7.2 32.6 l 15.3 25.4 l 9.7 20 l 15.4 14.7 l h 9 28.7 m 9 21.9 l 12.8 25.4 l 9 28.7 l h 12.8 14.7 m 9 18.1 l 9 11.3 l 12.8 14.7 l h" al
@andrewwiik
andrewwiik / bluetooth-animation.xml
Last active August 9, 2017 17:05
.caml file examples
<?xml version="1.0" encoding="UTF-8"?>
<caml xmlns="http://www.apple.com/CoreAnimation/1.0">
<CATransformLayer allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="0 0 40 40" contentsFormat="RGBA8" hidden="0" name="Root Layer" position="20 20">
<backgroundColor opacity="0" value="0 0 0" />
<sublayers>
<CATransformLayer allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="37.700007629395 42.604029846193 52 39" contentsFormat="RGBA8" name="bt" position="19.799999237061 19.403999328613" transform="scale(0.495, 0.495, 1)">
<sublayers>
<CALayer id="#1" allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="0 0 52 39" contentsFormat="RGBA8" name="bluetooth" opacity="1" position="63.700007629395 62.104029846193">
<sublayers>
<CAShapeLayer fillColor="1 1 1" path="15.4 14.7 m 7.3 7.5 l 7.3 18 l 2.2 13.4 l 1 14.7 l 6.9 20 l 1 25.1 l 2.1 26.4 l 7.2 21.9 l 7.2 32.6 l 15.3 25.4 l 9.7 20 l 15.4 14.7 l h 9 28.7 m 9 21.9 l 12.8 25.4 l 9 28.7 l h 12.8 14
<?xml version="1.0" encoding="UTF-8"?>
<caml xmlns="http://www.apple.com/CoreAnimation/1.0">
<CATransformLayer allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="0 0 40 40" contentsFormat="RGBA8" hidden="0" name="Root Layer" position="20 20">
<backgroundColor opacity="0" value="0 0 0" />
<sublayers>
<CATransformLayer allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="37.700007629395 42.604029846193 52 39" contentsFormat="RGBA8" name="bt" position="19.799999237061 19.403999328613" transform="scale(0.495, 0.495, 1)">
<sublayers>
<CALayer id="#1" allowsEdgeAntialiasing="1" allowsGroupOpacity="1" bounds="0 0 52 39" contentsFormat="RGBA8" name="bluetooth" opacity="1" position="63.700007629395 62.104029846193">
<sublayers>
<CAShapeLayer fillColor="1 1 1" path="15.4 14.7 m 7.3 7.5 l 7.3 18 l 2.2 13.4 l 1 14.7 l 6.9 20 l 1 25.1 l 2.1 26.4 l 7.2 21.9 l 7.2 32.6 l 15.3 25.4 l 9.7 20 l 15.4 14.7 l h 9 28.7 m 9 21.9 l 12.8 25.4 l 9 28.7 l h 12.8 14
%hook RenamedClassForHooking
%end
%ctor {
%init(RenamedClassForHooking=objc_getClass("The.Dumb.Class.With.Dots"));
}

If you can get beta 11-3 installed, run this bash script, then simply install the Release you should be good to go

01010110 00110010 01101000 00110101 01001001 01000111 01010010 01110110 01001001 01001000 01101100 01110110 01100100 01010011 01000010 01101110 01100001 01011000 01011010 01101100 01001001 01000111 00110001 01101100 01001001 01000111 01101000 01101000 01100011 01001000 01000010 00110101 01001001 01000111 00110001 01101100 01100010 01010111 00111001 01111001 01100001 01010111 01010110 01111010 01001001 01000111 01110000 00110001 01100011 00110011 01010001 01100111 01100100 01000111 00111000 01100111 01100100 01001000 01010110 01111001 01100010 01101001 01000010 00110000 01100001 01000111 01010110 01110100 01001001 01000111 01101100 01110101 01100100 01000111 00111000 01100111 01100011 01000111 01000110 01110000 01100010 01101001 01110111 01100111 01100010 01000111 01010110 00110000 01001001 01000111 00110001 01101100 01001001 01001000 01001110 01101100 01011010 01010011 01000010 00110000 01100001 01000111 01000110 00110000 01001001 01000111 00111001 01110101 01011010 01010011 01000010 01110110 01011010 0110100