jailbreak

Detect which app is in foreground on iOS9 without jailbreak

人走茶凉 提交于 2019-12-03 02:38:53
问题 I'm trying to log users individual app usage on iOS9. I'd rather prefer that it wouldn't use jailbreak limited solutions , self explanatory. Doing the variation of this app on a jailbroken phone shouldn't be hard. This will certainly not be released on the App Store as Apple wouldn't allow it. I'm looking for any private API that can do this, any hidden iOS API's that can be used to do this. ANYTHING. What I've already looked through: how to determine which apps are background and which app

Simulating system-wide touches in iOS 7

坚强是说给别人听的谎言 提交于 2019-12-03 00:47:20
GSSendEvent does not work anymore for me. Even subscribing a callback function using GSEventRegisterEventCallBack does not fire with touch events, [UIEvent _gsEvent] returns NULL. What happened? Now iOS uses IOHIDEvent (in IOKit.framework) for touch events. backboardd create touch events and sent to SpringBoard, and SpringBoard receives it by UIApplicationHandleEventQueue Anyway, if you have jailbroken device and want to simulate touch, just use SimulateTouch library. You can download it from Bigboss's repo, and API info is here http://api.iolate.kr/simulatetouch/ Also, this is open source.

Programmatically send iMessage using private frameworks

余生长醉 提交于 2019-12-03 00:34:23
Does anyone know if it's possible to directly send an iMessage using a private framework? I tried using CTMessageCenter from CoreTelephony but it'll send an SMS even though my phone can send iMessages. I haven't tested this, but look at the code posted here . If you look at httpResponseForMethod:URI: , you see where he/she sends a message (appears to be hardcode to support iOS 5 or iOS 4 ): CKSMSService *smsService = [CKSMSService sharedSMSService]; //id ct = CTTelephonyCenterGetDefault(); CKConversationList *conversationList = nil; NSString *value =[[UIDevice currentDevice] systemVersion]; if

Xcode 4.2: Error 0xC002 when trying to use a jailbroken iPhone 3G for development

时间秒杀一切 提交于 2019-12-02 19:29:49
I have this jailbroken iPhone 3G with iOS version 4.2.1 (the latest supported version). When I connect it to Xcode 4.2, Xcode starts copying the debug symbols. It stops copying towards the end of the process, and shows the following error: Xcode has encountered an unexpected error (0xC002) No such file or directory, at ‘/SourceCache/DTDeviceKit/DTDeviceKit-867/DTDeviceKit/DTDeviceKit_Utilities.m:864’ Anybody experiencing anything similar? I know I should try and restore the phone, but I'm asking just in case anybody can come up with a solution that doesn't involve restoring it. In this post on

how to open an app by bundle id on iOS

萝らか妹 提交于 2019-12-02 19:17:07
问题 Just now , I create a project based on Single View Application on Xcode6.3.1, then I create a button on Main.storyboard. The code is like this when the button touched: NSString * bundleId = @"com.apple.iBooks"; void* sbServices = dlopen("/System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices", RTLD_LAZY); int (*SBSLaunchApplicationWithIdentifier)(CFStringRef identifier, Boolean suspended) = dlsym(sbServices, "SBSLaunchApplicationWithIdentifier"); const char

How can I access specific iOS app's directory with Objective C?

强颜欢笑 提交于 2019-12-02 18:55:49
I'm trying to write an app for jailbroken iOS devices that can load files from another app. But appstore apps are stored in folders with seemingly random characters that vary per device. How can I figure out the directory for X app on the device? On iOS 8, achieving this seems harder due to the way the app filesystem is structured. iOS 7 and below AppStore apps are installed in /var/mobile/Applications inside directory with random name. App's directories (documents, library etc) and *.app directory are both inside it. To determine which app it is you need to parse Info.plist file inside *.app

Accessing call log history in iphone

时间秒杀一切 提交于 2019-12-02 17:12:59
问题 I gone thro many websites,all provided the same info that we cannot access call_history.db My question is that can we change the access mode for that db using system('chmod 777 /db path/') command ?? 回答1: You can't, at least on a non-jailbroken phone. 回答2: App store apps run in a sandbox. You don't have read/write permission to modify those directories from any app running in its sandbox. 回答3: why would you want to a have the information of the call list? also why would you want it to change

How to learn about iPhone jailbroken programming? [closed]

一曲冷凌霜 提交于 2019-12-02 16:25:58
I'm interested in learning about what additional features and APIs an app has access to when an iPhone is jailbroken. Can someone provide me with some basic resources to learn about this? I would be most interested in: documentation on the private APIs filesystem layout app configuration, e.g. how did WinterBoard replace SpringBoard? Apps that replace the lockscreen? tools needed Suggestions appreciated. TinkerTank Very good question. I've personally spend quite a bit of time on trying to find documentation on the private APIs, and even though I'm pretty sure I've come across it some time ago,

Detect which app is in foreground on iOS9 without jailbreak

♀尐吖头ヾ 提交于 2019-12-02 16:13:31
I'm trying to log users individual app usage on iOS9. I'd rather prefer that it wouldn't use jailbreak limited solutions , self explanatory. Doing the variation of this app on a jailbroken phone shouldn't be hard . This will certainly not be released on the App Store as Apple wouldn't allow it. I'm looking for any private API that can do this, any hidden iOS API's that can be used to do this. ANYTHING. What I've already looked through: how to determine which apps are background and which app is foreground on iOS by application id How to know about app launched and details jailbreak iOS 7 Is

Accessing call log history in iphone

拥有回忆 提交于 2019-12-02 11:50:19
I gone thro many websites,all provided the same info that we cannot access call_history.db My question is that can we change the access mode for that db using system('chmod 777 /db path/') command ?? You can't, at least on a non-jailbroken phone. App store apps run in a sandbox. You don't have read/write permission to modify those directories from any app running in its sandbox. why would you want to a have the information of the call list? also why would you want it to change to such liberal permissions? you don't have root access on the (non-jailbroken)device, and if you find a way of