Jump to content

Photo

[Question] How do you make SBSettings Toggles if your a Windows User?


  • Please log in to reply
22 replies to this topic

#1
RypeDub

RypeDub
  • Platinum
  • 2,286 Posts
  • Location:Earth
  • iDevice:iPad 4
  • Firmware:7.1.2
  • OS:Windows 8.1
I want to know, a simple way (there has to be a way to make a basic as f toggle) to make an SB Settings Toggle in/on Windows.

What do I use to compile a .dylib? What if I just want to toggle to change Brightness (yes I know it exists) or toggle a setting (any setting, jailbreak or stock), how would I write like a plist or something for that?

It can't be sooo hard every single SBSettings Toggle is written in C++/Objective C, that's just ridiculousness...

Thanks for all the help!


P.S: Yes I know of BigBoss's tutorial, but again: I don't know C++/Obj C & disagree that, that is the ONLY way to make them.


******************************************************
Questions answered:

How do I write a .dylib?
Do I need a .dylib?

Well for 1 dylibs can not be made on Windows and.
2 I dont believe that sbsetting toggles use dylibs.


If This Post Helped You In Any Way, Please
Make Sure To Click On The "Green
FIYh6qV.png Button"


#2
Mr. Android

Mr. Android

    Mod God

  • Staff
  • Graphics
  • 1,389 Posts
  • Twitter:https://twitter.com/T00Sp00kyFoU
  • OS:OS X Mavericks
Well for 1 dylibs can not be made on Windows and 2. I dont believe that sbsetting toggles use dylibs. Dont know much more then that. Sorry. :/

#3
RypeDub

RypeDub
  • Platinum
  • 2,286 Posts
  • Location:Earth
  • iDevice:iPad 4
  • Firmware:7.1.2
  • OS:Windows 8.1

Well for 1 dylibs can not be made on Windows and 2. I dont believe that sbsetting toggles use dylibs. Dont know much more then that. Sorry. :/


that's f-in tarded on apples side :/ or linux/microsoft's xD you should be able to make any kind of file on any kind of OS.

also: well then, you answered one of my questions.


now I need to know: how to make a toggle that just changes a setting from on to off, off to on?

i figure if I find the name of the com.dev.app then it should work, but what else do i type down, and in what kind of a file do i put it in?


would a simple .plist work?

If This Post Helped You In Any Way, Please
Make Sure To Click On The "Green
FIYh6qV.png Button"


#4
brc0703

brc0703

    The Hat Club

  • Platinum
  • 2,327 Posts
  • Location:California
  • iDevice:iPhone 5S
  • Firmware:7.0.4
  • OS:Windows 7
find SBSettings Scripty package in cydia.. its lets you make a toggle that runs a bash script to do whatever you want.. it has a bug in the Info.plist key "ShouldTransitionOut = 1" that will crash sbsettings.. need to change it to "ShouldTransitionOut = 0" for it to work.. theres a thread around here somewhere with more info about it..

1312011236__brcsigdone.png





 

if this helped hit the + ------------------------->

 


#5
RypeDub

RypeDub
  • Platinum
  • 2,286 Posts
  • Location:Earth
  • iDevice:iPad 4
  • Firmware:7.1.2
  • OS:Windows 8.1
Again: thanks man lol

I'll post back here if I have any problems

If This Post Helped You In Any Way, Please
Make Sure To Click On The "Green
FIYh6qV.png Button"


#6
RypeDub

RypeDub
  • Platinum
  • 2,286 Posts
  • Location:Earth
  • iDevice:iPad 4
  • Firmware:7.1.2
  • OS:Windows 8.1
Well I'm checking it out: and there's a .dylib...

I also don't know what to do to the .plist to make it toggle my setting

If This Post Helped You In Any Way, Please
Make Sure To Click On The "Green
FIYh6qV.png Button"


#7
prp-e

prp-e
  • Member
  • 17 Posts
  • Location:Tehran
  • iDevice:iPod Touch 4
  • Firmware:6.0.1
  • OS:Ubuntu
Please give me a link of bigboss tour ;)

#8
RypeDub

RypeDub
  • Platinum
  • 2,286 Posts
  • Location:Earth
  • iDevice:iPad 4
  • Firmware:7.1.2
  • OS:Windows 8.1

Please give me a link of bigboss tour ;)

http://insanelyi.com/topic/5488-sbsettings-toggle-for-script/page__view__findpost__p__45576

If This Post Helped You In Any Way, Please
Make Sure To Click On The "Green
FIYh6qV.png Button"


#9
brc0703

brc0703

    The Hat Club

  • Platinum
  • 2,327 Posts
  • Location:California
  • iDevice:iPhone 5S
  • Firmware:7.0.4
  • OS:Windows 7
the toggle will execute a script that performs the task you want to do.. i dont remember the specifics but you need to write a bash shell script that goes in the commands directory of SBSettings and configure the plist to run it

1312011236__brcsigdone.png





 

if this helped hit the + ------------------------->

 


#10
RypeDub

RypeDub
  • Platinum
  • 2,286 Posts
  • Location:Earth
  • iDevice:iPad 4
  • Firmware:7.1.2
  • OS:Windows 8.1
well I'm going to work on that & eventually write a step-by-step guide

If This Post Helped You In Any Way, Please
Make Sure To Click On The "Green
FIYh6qV.png Button"


#11
RypeDub

RypeDub
  • Platinum
  • 2,286 Posts
  • Location:Earth
  • iDevice:iPad 4
  • Firmware:7.1.2
  • OS:Windows 8.1
How do I make it toggle a setting?ike wifi on? But for a jailbreak tweak?

If This Post Helped You In Any Way, Please
Make Sure To Click On The "Green
FIYh6qV.png Button"


#12
Boss

Boss

    ..

  • Administrator
  • 19,757 Posts
  • Twitter:@insanelyi
  • Location://
  • iDevice:iPhone 6+
  • Firmware:8.1
  • OS:OS X Yosemite

How do I make it toggle a setting?ike wifi on? But for a jailbreak tweak?


The default SBSettings toggles are written in Obj-C/C http://thebigboss.or...ngs-toggle-spec

BRC's method requires you to know bash.

1393981567__qxqe5w.jpg


#13
RypeDub

RypeDub
  • Platinum
  • 2,286 Posts
  • Location:Earth
  • iDevice:iPad 4
  • Firmware:7.1.2
  • OS:Windows 8.1
again: how to i set it off to toggle a preference lol

i dont "know" bash but i know how to execute it

If This Post Helped You In Any Way, Please
Make Sure To Click On The "Green
FIYh6qV.png Button"


#14
Boss

Boss

    ..

  • Administrator
  • 19,757 Posts
  • Twitter:@insanelyi
  • Location://
  • iDevice:iPhone 6+
  • Firmware:8.1
  • OS:OS X Yosemite

again: how to i set it off to toggle a preference lol

i dont "know" bash but i know how to execute it


Not exactly sure since I haven't used what BRC is referring to. I have heard of it though.

1393981567__qxqe5w.jpg


#15
RypeDub

RypeDub
  • Platinum
  • 2,286 Posts
  • Location:Earth
  • iDevice:iPad 4
  • Firmware:7.1.2
  • OS:Windows 8.1
well do you know how to toggle preferences with bash?

If This Post Helped You In Any Way, Please
Make Sure To Click On The "Green
FIYh6qV.png Button"


#16
Boss

Boss

    ..

  • Administrator
  • 19,757 Posts
  • Twitter:@insanelyi
  • Location://
  • iDevice:iPhone 6+
  • Firmware:8.1
  • OS:OS X Yosemite
toggle what preference ?

1393981567__qxqe5w.jpg


#17
RypeDub

RypeDub
  • Platinum
  • 2,286 Posts
  • Location:Earth
  • iDevice:iPad 4
  • Firmware:7.1.2
  • OS:Windows 8.1
any preference. let's say I want to make a custom wifi toggle (i know there is one, but how did they do that)

If This Post Helped You In Any Way, Please
Make Sure To Click On The "Green
FIYh6qV.png Button"


#18
Boss

Boss

    ..

  • Administrator
  • 19,757 Posts
  • Twitter:@insanelyi
  • Location://
  • iDevice:iPhone 6+
  • Firmware:8.1
  • OS:OS X Yosemite
Well you can't do that with bash, that toggle would be written in Obj-C/C. BRC's method you can execute a bash script, If you wanna do more than that it'll need to be C :)

Well you might be able to toggle it with bash say if a cmd existed that could toggle wifi then sure you could execute that cmd in the script.

1393981567__qxqe5w.jpg


#19
Persephone

Persephone
  • Member
  • 68 Posts
  • iDevice:iPhone 4
  • Firmware:5.1.1
  • OS:Windows 7
I really want a toggle for ScreenDimmer. I emailed Yllier about it but he hasn't replied yet. Is it hard to learn Object-C? Not really big on techy things like languages.
Περσεφόνη
Κασσάνδρα Αλεξάνδρᾱ
Avatar/photo artwork by © Cris Ortega

#20
RypeDub

RypeDub
  • Platinum
  • 2,286 Posts
  • Location:Earth
  • iDevice:iPad 4
  • Firmware:7.1.2
  • OS:Windows 8.1
Well I'm be making some! I don't care if I don't know the language. I understand the concept of programming languages.

Im gonna download a C compiler and get to work!

If This Post Helped You In Any Way, Please
Make Sure To Click On The "Green
FIYh6qV.png Button"