LocSim, Daemon Manager, Cleaner and Superviser for TrollStore
11 |
12 |
13 |
14 |
by c22dev
15 |
16 | ## Installation
17 | To install Geranium, you must have [TrollStore](https://github.com/opa334/TrollStore) 1.3 or later, and a device on iOS 15 or later (if TrollStore supports it). Download the latest release from the release tab, and open it in TrollStore. Then, follow the setup process !
18 |
19 | ## Features
20 | - **Simulate fake locations + bookmarks**
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | You can also import your old bookmarks from Mika's LocSim (by going into bookmarks tab), and save new bookmarks from Apple Maps !
30 |
31 | - **Clean your iDevice like never before**
32 |
33 |
34 |
35 |
36 | Tired of the "Other" category taking up all of your space on your iDevice, well, you found the solution ! Some users have cleaned more than 16Gb of storage with this tool !
37 | Please note that those screenshots aren't accurate because they were took on a simulator that didn't have the cleaned directories. Calculated sizes aren't always accurate.
38 |
39 |
40 | - **Manage daemons**
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 | Not using HomeKit and other Apple stuff, and want to optimize your phone performances to the best ? Here you can choose what you want to use !
49 |
50 | - **Disable ScreenTime**
51 |
52 |
53 | Forgot your screentime password ? Here you can say goodbye to Screen Time on your iOS device ! It also works with iCloud ScreenTimes.
54 | Disclaimer : don't use this if your parents manage your Screen Time, if you get caught it would probably make it worse for you. I am not responsible in case you get told off.
55 |
56 | - **Supervise your device**
57 |
58 |
59 | Want to supervise your device with a custom organization name but don't have a computer, here you are ! We also have a great collection of supervised profiles.
60 | ## Build Instructions
61 | Requirements : A Mac having Xcode installed (it can also be a Hackintosh).
62 | 1. Clone this repository (make sure you don't download it as zip but clone it!):
63 | ```git clone https://github.com/c22dev/Geranium/```
64 | 2. [Install Theos and it's requirements](https://theos.dev/docs/installation-macos)
65 | 4. Ensure you have the [iPhoneOS14.5.sdk SDK](https://github.com/theos/sdks/tree/master/iPhoneOS14.5.sdk) installed
66 | 5. Run ```./ipabuild.sh```
67 | 6. Done ! Your `tipa` file will be located in `build` directory.
68 |
69 | If you have any issue with building the app, contact me on Discord, or use the commit labeled to latest release.
70 |
71 | ## Contributing
72 | If you are contributing for the app itself, the instructions bellow doesn't apply to you.
73 | ### Misc
74 | Feel free to open a Pull Request on this Github, but please note I won't merge any typo change (I will change it by myself).
75 | ### Translations
76 | If you want to submit a new translation, contact me on Discord.
77 | If it already exists, feel free to edit it !
78 | ### Icon
79 | You can use the icon.sketch file. Please send an icon in the 1024x1024 resolution, and don't round the borders.
80 |
81 | ## Credits
82 | ### Code-wise
83 | - [BomberFish](https://github.com/bomberfish) & [Fiore](https://github.com/donato-fiore) for their amazing work in daemon listing - And thanks bomberfish for those amazing memes
84 | - [sourcelocation](https://github.com/sourcelocation) for his beautiful SwiftUI extensions and functions, helped me a lot ! - My source of information in icon and video editing !
85 | - [haxi0](https://github.com/haxi0) for his Welcome Page code, copied the part for the disabling. - Always funny
86 | ### Translators
87 | - [CySxL](https://twitter.com/CySxL) - 🇹🇼 Chinese (Traditional) - Here from the beginning, even if on iOS 14, thanks !
88 | - [Defflix](https://twitter.com/Defflix19) - 🇨🇿/🇸🇰 Czech & Slovak - But also one of my greatest friend in the jailbreak community :)
89 | - [w0wbox](https://twitter.com/w0wbox) - 🇪🇸 Spanish (Latin America) - Also bug hunter
90 | - [LeonardoIz](https://twitter.com/leonardoizzo_) - 🇪🇸 Spanish / 🇮🇹 Italian / Catalan - Casually speak 3 languages
91 | - [Loy64](https://twitter.com/loy64_) - 🇦🇱 Albanian / 🇮🇹 Italian - Answers faster than light
92 | - [Phuc Do](https://twitter.com/dobabaophuc) - 🇻🇳 Vietnamese - But also an amazing icon designer !
93 | - [Speedyfriend67](https://twitter.com/speedyfriend67) - 🇰🇷 Korean - Actually speedrunned the translation
94 | - [Spy_G](https://twitter.com/spy_g_) - 🇸🇪 Swedish - Funny nickname
95 | - [Straight Tamago](https://twitter.com/straight_tamago) - 🇯🇵 Japenese - Lovely friend that always helps in code !
96 | - [ting0441](https://twitter.com/Ting2021) - 🇨🇳 Chinese (Simplified) - UI Bug Reporter
97 | - [W$D$B](https://twitter.com/Alz971) - 🇮🇹 Italian - First to accomplish 100% in translation
98 | - [yyyywaiwai](https://twitter.com/yyyyyy_public) - 🇯🇵 Japenese - Reviewer but also filled the gaps !
99 |
--------------------------------------------------------------------------------
/entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | platform-application
6 |
7 | com.apple.security.iokit-user-client-class
8 |
9 | AGXDeviceUserClient
10 | IOHDIXControllerUserClient
11 | IOSurfaceRootUserClient
12 |
13 | com.apple.security.exception.files.absolute-path.read-write
14 |
15 | /
16 |
17 | com.apple.mobile.deleted.AllowFreeSpace
18 |
19 | com.apple.private.security.container-manager
20 |
21 | com.apple.private.security.no-container
22 |
23 | com.apple.private.security.no-sandbox
24 |
25 | com.apple.private.persona-mgmt
26 |
27 | com.apple.private.WebClips.read-write
28 |
29 | com.apple.locationd.simulation
30 |
31 | com.apple.SystemConfiguration.SCDynamicStore-write-access
32 |
33 | com.apple.private.security.system-application
34 |
35 | com.apple.private.coreservices.canmaplsdatabase
36 |
37 | com.apple.lsapplicationworkspace.rebuildappdatabases
38 |
39 | com.apple.private.MobileContainerManager.allowed
40 |
41 | com.apple.private.MobileInstallationHelperService.InstallDaemonOpsEnabled
42 |
43 | com.apple.private.MobileInstallationHelperService.allowed
44 |
45 | com.apple.private.uninstall.deletion
46 |
47 | com.apple.private.security.storage.MobileDocuments
48 |
49 | com.apple.managedconfiguration.profiled-access
50 |
51 | com.apple.private.security.storage.AppDataContainers
52 |
53 | com.apple.developer.icloud-container-identifiers
54 |
55 | com.apple.security.application-groups
56 |
57 | group.live.cclerc.geraniumBookmarks
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/icon.sketch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/c22dev/Geranium/348772ab9ca7906a875404e62c93f392dd2ff51a/icon.sketch
--------------------------------------------------------------------------------
/ipabuild.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -e
4 |
5 | cd "$(dirname "$0")"
6 |
7 | WORKING_LOCATION="$(pwd)"
8 | APPLICATION_NAME=Geranium
9 | CONFIGURATION=Debug
10 |
11 | rm -rf build
12 | if [ ! -d "build" ]; then
13 | mkdir build
14 | fi
15 |
16 | cd build
17 |
18 | if [ -e "$APPLICATION_NAME.tipa" ]; then
19 | rm $APPLICATION_NAME.tipa
20 | fi
21 |
22 | # Build .app
23 | xcodebuild -project "$WORKING_LOCATION/$APPLICATION_NAME.xcodeproj" \
24 | -scheme Geranium \
25 | -configuration Debug \
26 | -derivedDataPath "$WORKING_LOCATION/build/DerivedData" \
27 | -destination 'generic/platform=iOS' \
28 | ONLY_ACTIVE_ARCH="NO" \
29 | CODE_SIGNING_ALLOWED="NO" \
30 |
31 | # Build helper
32 | # xcodebuild -project "$WORKING_LOCATION/$APPLICATION_NAME.xcodeproj" \
33 | # -scheme RootHelper \
34 | # -configuration Debug \
35 | # -derivedDataPath "$WORKING_LOCATION/build/DerivedData" \
36 | # -destination 'generic/platform=iOS' \
37 | # ONLY_ACTIVE_ARCH="NO" \
38 | # CODE_SIGNING_ALLOWED="NO" \
39 |
40 | DD_APP_PATH="$WORKING_LOCATION/build/DerivedData/Build/Products/$CONFIGURATION-iphoneos/$APPLICATION_NAME.app"
41 | TARGET_APP="$WORKING_LOCATION/build/$APPLICATION_NAME.app"
42 | cp -r "$DD_APP_PATH" "$TARGET_APP"
43 |
44 | # Remove signature
45 | codesign --remove "$TARGET_APP"
46 | if [ -e "$TARGET_APP/_CodeSignature" ]; then
47 | rm -rf "$TARGET_APP/_CodeSignature"
48 | fi
49 | if [ -e "$TARGET_APP/embedded.mobileprovision" ]; then
50 | rm -rf "$TARGET_APP/embedded.mobileprovision"
51 | fi
52 |
53 | git submodule update --init --recursive
54 | cd $WORKING_LOCATION/RootHelper
55 | make clean
56 | make
57 | cp $WORKING_LOCATION/RootHelper/.theos/obj/debug/GeraniumRootHelper $WORKING_LOCATION/build/Geranium.app/GeraniumRootHelper
58 | cd -
59 |
60 | #cp $WORKING_LOCATION/build/DerivedData/Build/Products/$CONFIGURATION-iphoneos/RootHelper $WORKING_LOCATION/build/Geranium.app/RootHelper
61 |
62 | # Is ldid installed ?
63 | if command -v ldid &> /dev/null; then
64 | echo "ldid is already installed."
65 | else
66 | # Install ldid using Homebrew
67 | if command -v brew &> /dev/null; then
68 | echo "Installing ldid with Homebrew..."
69 | brew install ldid
70 | echo "ldid has been installed."
71 | else
72 | echo "Homebrew is not installed. Please install Homebrew first."
73 | fi
74 | fi
75 |
76 | # Add entitlements
77 | echo "Adding entitlements"
78 | ldid -S"$WORKING_LOCATION/entitlements.plist" "$TARGET_APP/$APPLICATION_NAME"
79 | # Inject into the Maps thingy
80 | ldid -S"$WORKING_LOCATION/Bookmark Location in Geranium/entitlements.plist" "$TARGET_APP/PlugIns/Bookmark Location in Geranium.appex/Bookmark Location in Geranium"
81 | # idk if this is usefull but uhm
82 | # ldid -S"$WORKING_LOCATION/Bookmark Location in Geranium/entitlements.plist" "$TARGET_APP/PlugIns/Bookmark Location in Geranium.appex/Bookmark Location in Geranium.debug.dylib"
83 | # ldid -S"$WORKING_LOCATION/entitlements.plist" "$TARGET_APP/RootHelper"
84 |
85 | # Package .ipa
86 | rm -rf Payload
87 | mkdir Payload
88 | cp -r $APPLICATION_NAME.app Payload/$APPLICATION_NAME.app
89 | zip -vr $APPLICATION_NAME.tipa Payload
90 | rm -rf $APPLICATION_NAME.app
91 | rm -rf Payload
92 |
--------------------------------------------------------------------------------