jailbreak

How is the tongbu tui app able to be installed directly from the browser on non-jailbroken iOS devices?

我的梦境 提交于 2019-12-12 08:34:54
问题 All a person need to do is take a regular iOS device and visit http://tui.tongbu.com/m/iphone.html and click the big grey button with the apple logo, and then click install. Then the tui app will be installed. How are they able to distribute this app on non-jailbroken devices without the app store? And how can this be replicated? 回答1: 1) They may signed it with enterprise distribution key and in such case they are violating Apple agreement. Otherwise, they have an app on AppStore and they

write the files in root directory in jailbreak phone,permitted?

吃可爱长大的小学妹 提交于 2019-12-12 05:39:33
问题 my phone was jailbreak,I want to write the files in /var/mobile/Documents/ , I using the NSFileManager to working,but it cant working, I print the error log was "The operation couldn’t be completed. Operation not permitted", ok,I think NSFileManager just can using in sandbox maybe that I using the C(fread and fwrite), but also the file just can read,cant write,how to fix it,I just want write the file to the outside of the sandbox directory in my app? 回答1: Have you tried doing with the default

Start an app on boot up on an iPad which has been jailbroken. (iOS)

微笑、不失礼 提交于 2019-12-12 04:18:25
问题 Is it possible to start an app on boot up on an iPad which has been jailbroken. I have managed to use the app Activator to start an app, but only works when the power cable is in. 回答1: Install ssh on your jailbroken iPad (through Cydia), then ssh in and write a boot script. Next write a launchd style plist config file and add the file to /Library/LaunchDaemons. Finally, load the file using launchctl load /Library/LaunchDaemons/myplistFile.plist This hinges on having launchd on your iPad,

Can hook +[NSURLSession sessionWithConfiguration:delegate:delegateQueue:] but calling %orig gives “unrecognized selector”

北城以北 提交于 2019-12-12 01:59:45
问题 This is baffling me. I have hooked class methods on NSURLConnection with no problems but I am stuck with +[NSURLSession sessionWithConfiguration:delegate:delegateQueue:] . I even tried logging all the class methods with class_copyMethodList (object_getClass([NSURLSession class]), &count); and the class method is actually there: sessionWithConfiguration:delegate:delegateQueue: initialize And the weird thing is the hook does get called so I think we got it right. Calling %orig() and just

Is there a way to completely wipe out iPhone data programmatically? [duplicate]

余生长醉 提交于 2019-12-12 01:43:44
问题 This question already has an answer here : Is there a way to programmatically restore my iPhone to factory settings? (1 answer) Closed 6 years ago . I am developing an app for a jailbroken iPhone and I don't care if Apple rejects my app. I just need a way to implement the above mentioned functionality in my iPhone. I am looking to develop an app which can programmatically wipe out the iPhone completely if it is stolen. Just like Find My iPhone app by Apple. I just need a way to do it and dont

THEOS: compiling error when calling method in other class (logos)

余生颓废 提交于 2019-12-11 20:56:47
问题 i'm trying to implement this tweak using THEOS that calls another view on load but i keep getting this error when i compile: Tweak.xm:13:57: error: class method '+onLeftMenu' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access] [_logos_static_class_lookup$FoxTubeViewController() onLeftMenu]; my code Tweak.xm file: %hook MainViewController - (void)viewDidLoad{ %orig; [%c(LeftMenu) onCachedVideo]; } %end 回答1: if you need to use %c you should #import "LeftMenu.h" and if you

Hook to an instance method in iOS using theos and retrieve the argument that is being passed

吃可爱长大的小学妹 提交于 2019-12-11 16:56:39
问题 -(void)setID:(long long) is the method and I want retrieve the argument (the integer) being passed and show it in an alert view . I am new to this please help me. And also if possible, how to pass this argument to a different method. -(void)setSelectedID:(long long) , if this is the method I want to pass the arguments to, how would I do it in the Tweaks.xm file. Any help would be appreciated, thanks. Can this also be done using Cycript? 回答1: this code is untested but I hope it can help

IOS Kiosk Mode Coding

跟風遠走 提交于 2019-12-11 16:10:42
问题 I am looking to setup a one off application on my Developer iPad that prevents the usage of the home button (and preferably the lock button too). I would like to password protect leaving the application essentially. Best way to do that would be what? 回答1: see my answer here Lock-down iPhone/iPod/iPad so it can only run one app The lock button would still be active however so the device would be able to be rebooted. You would need a case that protected the lock button, that is the method Apple

Jailbroken iPhone: Application Delegate Methods not Found on Device

亡梦爱人 提交于 2019-12-11 15:48:15
问题 In the simulator, I don't have this problem but when I run the app on my device applicationDidBecomeActive and applicationWillTerminate aren't called. Is it because I'm jailbroken and running backgrounder etc? Here's the gdb log from Xcode: [Session started at 2010-02-28 15:37:00 +0900.] GNU gdb 6.3.50-20050815 (Apple version gdb-1460) (Fri Feb 5 06:29:49 UTC 2010) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are

Creating a libsubstrate for iPhone Simulator

非 Y 不嫁゛ 提交于 2019-12-11 13:58:28
问题 I am working on mobilesubstrate plugins on a JB iPhone. i have created a dylib in xcode for my iphone which builds fine for Device, but when i try to build it for Simulator, it gives me an error "_MSHOOKMESSAGE reference from: blah blah". I have placed all the headers in proper locations. I got libsubstrate from device but that is i think the problem. The libsubstrate from device is not gonna work for Simulator. So my question is how to create a libsubstrate for Simulator? 回答1: If you simply