jailbreak

How do I access the filesystem outside of the sandbox on a jailbroken iOS device?

巧了我就是萌 提交于 2019-12-11 03:21:43
问题 I'm going to develop a simple app for jailbroken iOS devices. I would like to access the filesystem of the device outside of the app's sandbox and move some files (from a directory to another, for example). How can I do this using Xcode 3.1 or 4, compatible with OS version 3.1.3? 回答1: Just use NSFileManager. On a jailbroken device, it gives you full access to the filesystem—just give it the paths you want to mess with. You can get the contents of a directory with its

Android equivalent of iOS MobileSubstrate-style hooking? [closed]

主宰稳场 提交于 2019-12-11 03:06:01
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . What is, if any, Android equivalent of MobileSubstrate-style hooking? I need to understand if it's feasible and doable in reasonable

Edit Info.plist programmatically in a jailbroken app

六眼飞鱼酱① 提交于 2019-12-11 01:44:27
问题 How can I edit the Info.plist file in a jailbroken app I'm writing? I know it's not normally possible but given the fact that this will be released in Cydia, I feel like there must be a way. I'm not savvy on file modifications in a jailbroken environment so any info is appreciated. The reason I want to edit the Info.plist file is to register for a URL scheme programmatically. So if there's an alternative way to accomplish that, I'd love to hear it :-) 回答1: If you want to programmatically edit

How to capture and record iOS Touch Events at system level?

元气小坏坏 提交于 2019-12-10 23:18:39
问题 I want to capture all the touch events at the system level, I do not mean capturing at one specified app, but all the apps even the SpringBoard.I tried IOHIDEvent(https://github.com/kennytm/iphone-private-frameworks/tree/master/IOKit/hid), but the runtime headers was changed after iOS4, and now I can not get them of iOS6. May be GSEvent is also a good way, but does anyone known how to do this by GSEvent? Thank you! 回答1: Take a look at EntryDevLevel excellent answer here on how to capture and

Jailbreak detection with installed xCon

余生长醉 提交于 2019-12-10 19:25:47
问题 I have question about detecting Jailbreak on iOS. I used a couple things to detect it and they are working fine but when I’m installing xCon my app is not detecting Jailbreak any more. I've used the following techniques: checking if cydia exists checking for cydia app scheme checking for writing outside sandbox checking for existence of symbolic links checking fork() function checking dyld functions How can I protect my app from xCon tweaks? Is there anything that I can do? 回答1: Is there

Distribute unsigned app iPhone for jailbroken iPhone with no Cydia

情到浓时终转凉″ 提交于 2019-12-10 14:57:14
问题 I'm trying to distribute an unsigned .ipa via itms-services protocol for jailbroken device WITH NO CYDIA. I went through guides about how to create an unsigned app for cydia from: http://www.alexwhittemore.com/developing-jailbroken-iphone-ios-401/ and I managed to make it work except the "Share" option from the Organizer. It says: Error: Codesign check fails... But maybe it's not the issue here. Taking the .app folder of my app and compress it to .ipa extension with no signature worked, but

simulate “Add to Home Screen” feature on older iPod touch

荒凉一梦 提交于 2019-12-10 11:49:27
问题 I have a jailbroken iPod Touch 1.1.4, and want to experiment with creating minimalistic "apps" just by scripting, launching Safari to a "webapp". But 1.1.4 does not have the "Add to Home Screen" shortcut option. Is there a way to simulate this just by scripting? I've tried editing the HelloPython Bash script, changing it to: #!/bin/bash /Applications/MobileSafari.app/MobileSafari http://gnixl.com/ And I get the error: ABORT: Unable to register "com.apple.mobilesafari" port, 1103 unknown error

iOS : Why our app sometimes doesn't show in the Notification Center?

谁说胖子不能爱 提交于 2019-12-10 11:19:16
问题 There are 3 kinds of situations about this problem. During the development, I can restart the iPhone and reinstall the app to solve this problem. At first, this problem often occurs in the jailbreak iPhone, so we think that there may be something wrong with the Provisioning Profiles. But now, more and more users complain about this (could not receive push), who use the normal iPhone (not jailbreak) and download our app from the App Store. So, I'm confused, and a little worried, about why our

Cropping/zooming not working while setting iOS Wallpaper using PhotoLibrary private framework

无人久伴 提交于 2019-12-10 11:09:24
问题 I have managed (with the help of this post) to open up a PLStaticWallpaperImageViewController from the PhotoLibrary private framework, which allows the direct setting of the wallpaper and lock screen (using same UI as the Photos app). Unfortunately, the image cropping/zooming features don't seem to work, as touches to the image view itself don't seem to be coming through (the main view is also not dismissed properly after the cancel/set buttons are touched, but this isn't so important). I

Add Twitter.framework to Theos on iPhone

感情迁移 提交于 2019-12-10 10:23:21
问题 I'm developing a notification center widget with Theos on my iPhone. In makefile I added "Twitter" framework and in my project I added <Twitter/Twitter.h> . When I compile the widget I get a " Twitter/Twitter.h no such file or directory. ". How can I add this framework? Thanks 回答1: ##编译 ----------------------------yours----------------------------- your_FILES = your/xxx.m ##连接 ----------------------------framework-------------------------- your_FRAMEWORKS = UIKit QuartzCore Foundation