jailbreak

Rec iOS conversations. Where to start?

蓝咒 提交于 2019-11-27 02:33:20
问题 I would like to rec each time I have a conversation with the MobilePhone App. My device is jailbroken, so no problem about the appStore restrictions. Of course I guess the public framework will provide nothing. Also, I've been looking at the private frameworks, but haven't seen anything useful. Currently I am able to rec from the microphone, but when a conversation starts, it takes the microphone in exclusive mode, and the data is no longer received. Any guidance? 回答1: "Audio Recorder" is

Once jailbroken, will iOS apps run with root privilege?

孤人 提交于 2019-11-27 02:15:56
Once an iOS device is jailbroken, we can build jailbreak apps (with theos) and it gets installed in the /Applications directory where the preloaded apps run with root privileges. If an app is built with Xcode, once it is installed, it gets into the /private/var/mobile/Applications/ folder, which is supposed to have Apple sandbox enforced (before jailbreak). So, the questions I have are: For a jailbroken device, will the apps in /private/var/mobile/Applications/ execute with root privileges or with mobile user privileges? In case of Android, once rooted, the apps will have to gain root

is there anywhere where I could start MobileSubstrate tweaks programming?

人走茶凉 提交于 2019-11-26 23:47:38
问题 After a search here on the forum I found a question like that, and it redirected me to a tutorial which gave em some basic instructions on manipulating SpringBoard with CapitainHook. To start I'd like to do it with normal %hooks only. Any hint where I could start? 回答1: So, since I (hope I) am far away from a noob with MobileSubstrate programming now, and saw this question as quite popular, I decided to create an answer covering everything you need to know about the subject hopefully briefly.

Listing all installed apps on iPhone Programmatically?

大憨熊 提交于 2019-11-26 22:26:20
问题 I need to list all installed apps on iPhone with the help of coding. I am using a jailbroken iPhone. I have used ihasapp API, but it is not showing me the complete list of all installed apps. Please help me with the code. 回答1: I use the AppList library myself to get a list of all installed apps. It uses private frameworks so it's also jailbreak-only. Check it out at https://github.com/rpetrich/AppList. Update: @Nate is correct about this already being asked and answered. Check out: Get list

Will fork() in iOS app likely be rejected by Apple's vetting process?

夙愿已清 提交于 2019-11-26 21:21:20
问题 I'm writing a mechanism (in an iOS app) to detect whether a device is jailbroken by checking for App sandbox's integrity by doing a fork(); . Does anyone know if attempting this call would violate App Store guidelines? 回答1: fork() (and other) will not get you rejected; operations that are denied by the vanilla os cannot be reproduced while in submission. I have applications on the appstore that use fork() and system() calls to check for jailbreak environment and none of them got rejected for

How do I build and install applications on a jailbroken iPhone without being in the iPhone Developer Program?

北城余情 提交于 2019-11-26 21:01:07
问题 I would like to build and install my app on my jailbroken device without paying the $99 required for the iPhone Developer Program. I have Rock and Cydia... what is the easiest way to do it (if it's possible)? Thanks. 回答1: Here is a guide for making build & go and build & debug work with a jailbroken iPhone/iPod touch. It is written for Xcode 3.2.1 and iPhone OS 3.1.2 so I don't know if it works with the newer versions. http://www.alexwhittemore.com/?p=354 回答2: the answer is no longer relevant

Is there any way to determine if the iphone is roaming?

北城以北 提交于 2019-11-26 18:43:18
I am working on an iPhone application and would really like to determine if the device is roaming so that I can intelligently avoid costing my users expensive connections if out of their home network. The application I am writing is for jailbroken phones, however I would prefer to use standard SDKs if possible. Here is what I've already found: 1. Apple SDKs: In the apple documentation, I found the promise in Apple's SCNetworkReachability API. The API provides access to such things as whether you are on a WIFI or a cell phone network, whether a network connection is currently established, etc.

iPhone “unable to open database file” for call_history.db in xcode app

百般思念 提交于 2019-11-26 16:48:24
问题 I am trying to access database call_history.db in jailbroken iPhone. I am able to access call_history.db for iPhone 4 with iOS 4.1. But the problem is I am not able to access the database in iPhone 3gs with iOS 3.1.3. When I try to open the database for 3gs I get the following database error: unable to open database file I use different paths for iOS 4.1 and iOS 3.1.3 iOS 4.1 in iPhone 4 - /private/var/wireless/Library/CallHistory/call_history.db and iOS 3.1.3 in iPhone 3gs - /private/var

iphone reboot programmatically

折月煮酒 提交于 2019-11-26 16:36:31
I have code system("reboot") The reboot command works in the terminal, but even if I run the app as root, the operation is still denied. Has anyone found any way that works, or can explain a bit about SBSetting's reboot, which makes me curious? I figured out a way to do it, although it's a bit convoluted. The problem is that even if you setup your app to run as root , when you make system() calls, you're apparently still limited to user mobile privileges. Since mobile cannot call reboot (successfully), this doesn't work. The way I got around this problem is to take advantage of a new feature

Launch other application without URL schema in iphone?

狂风中的少年 提交于 2019-11-26 16:19:12
问题 I know that other applications can call from your application via the URL schema. But not all applications are registered schema URL. So how can I launch that application?. I'm developing for iphone jaibroken. 回答1: I used this way: void* sbServices = dlopen("/System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices", RTLD_LAZY); int (*SBSLaunchApplicationWithIdentifier)(CFStringRef identifier, Boolean suspended) = dlsym(sbServices, "SBSLaunchApplicationWithIdentifier