jailbreak

iOS User permissions

一笑奈何 提交于 2019-12-11 13:05:33
问题 On iphone, there are somethings that jailbreak phones can do while non-jailbreak ones can not. I think there must be a list of permissions configured for the user and that list is changed in the jailbreak progress. Anyone can show me how to get that list of permissions (by code) or link me to any related documents? 回答1: Sandbox Some permissions are enforced by seatbelt (sandbox) profile "container" - it's default profile for all apps inside /var/mobile/Applications (up to iOS 7.x) or /var

Settings.bundle & keychain for applications from Cydia doesn't work

♀尐吖头ヾ 提交于 2019-12-11 11:26:26
问题 I'm working on app which is distributed with Cydia. So it is installed in /Applications folder, not /var/mobile/Applications/ as usual AppStore apps. And I assume that installation give me some huge problems. At first, keychain read & write with famous Apple's KeychainItemWrapper doesn't work at all. Also, my settings.bundle doesn't work too. App settings don't displayed in Settings.app. When I test application in Simulator or even deploy it from Xcode to device directly (it is deployed to

Error launching remote program: failed to get the task for process on xcode 4.2

寵の児 提交于 2019-12-11 11:14:28
问题 I'm having some problems debugging apps directly on my iphone. I'm using xcode 4.2 and a jailbroken ios 5.0.1 device and when trying to launch the app on my iphone from excode I get the following message: "Error launching remote program: failed to get the task for process (some number here)" But if I now try to use the app directly on the iphone it works perfectly. Does anyone know how to fix it? thank you. 回答1: For xcode 4: you have to create Entitlements.plist file from menu->File->New->New

“dylib” how to call back the main program?

て烟熏妆下的殇ゞ 提交于 2019-12-11 09:46:49
问题 I was working with a program which was intercepting the calling from jailbreak iphone. I used a dylib to intercept the system call event , but how did i call back my main program and handle this event? 回答1: You can use CFNotificationCenter for sending Darwin notifications from your dylib to the app. It is limiting in that no user data can be passed around but you can at least notify the app of the event. More on that at https://developer.apple.com/library/IOs/#documentation/CoreFoundation

How to know about app launched and details jailbreak iOS 7

孤者浪人 提交于 2019-12-11 08:29:37
问题 I am making a tweak for iOS 7 , in which I want to know about app launch event, and the details of app being launched (name and identifier). So far the only useful framework I have found is SpringBoardServices.framework . The header files which may be/are useful to track app launch event include: SBAppLaunchUtilities.h SBLaunchAppListener.h If I am on right track, can anyone provide me information about their methods usage? There is no relevant information or guide present on iphonedevwiki .

Short of jailbreaking, does a UDID ever change on an iDevice?

為{幸葍}努か 提交于 2019-12-11 05:24:44
问题 I have a beta tester to whom, 4 months after the last beta test cycle, I sent a new versions' first beta test of an app. When she said that it wouldn't load, we checked her UDID, and it is different than what we used 4 months ago, so my provisioning clearly didn't work. She says it's the same device used before. I've yet to further explore what upgrades she might have done or if she (or maybe her child?) has jail-broken it. Are there any Apple sanctioned actions that would change the UDID on

Does anybody know how I can find the the headers for IOS5 Iphones/ipod. Jailbreak development

不想你离开。 提交于 2019-12-11 05:15:08
问题 I would like to class dump my iPod Touch 4 if that is possible so I can find the IOS 5 headers for a tweak I am making. If somebody dosn't already know the header name for the statsubar? Please help! This is for jailbroken iPods and jailbreak development 回答1: The header name for the status bar is UIStatusBar.h inside UIKit.framework . https://github.com/nst/iOS-Runtime-Headers/ has a list of all the iOS 5 frameworks, and you can see the contents of UIStatusBar.h at https://github.com/nst/iOS

(Programmatically/Automatically) Removing iOS-Apps

半世苍凉 提交于 2019-12-11 04:06:50
问题 I'm looking for a solution how to remove all installed iOS-Apps from a device. I'm working on a project for iOS-Security. For different analytical stuff on a jail-broken device it's necessary to automatically install a fat bunch of apps, perform all the tests and remove them afterwards to get free space for further applications. The auto installation and test-logic is already done. I only stuck with the apps-removing part. User installed iOS-Apps are located in /var/mobile/Applications/ .

iOS - how to change Documents directory

我只是一个虾纸丫 提交于 2019-12-11 03:27:47
问题 Currently the program I am working on uses Core Data, and stores "Account" information in a file called Accounts.sqlite This file is stored in the Documents directory inside the long string of characters, i.e. A89C1398-A7BE-44F1-A337-DABA9C66AF1D So I want to save / create the file for the application in /var/mobile/Library/KegCop I found this SO question and I made the necessary changes, deleted my app off the phone, clicked the Run button in Xcode and the app built and ran fine. However the