Odyssey-Team / Odyssey

Odyssey Swift-based semi-untethered jailbreak
BSD 3-Clause "New" or "Revised" License
603 stars 75 forks source link

Bug Report: libhooker does not automatically run #16

Open eoyoa opened 4 years ago

eoyoa commented 4 years ago

Bug Report: libhooker does not automatically run

Device information

Device: iPhone X iOS Version: 13.2.2 Tweak List: https://pastebin.com/raw/9Rs5za0W

Details

After migrating from checkra1n to Odyssey, I found that tweaks would not work correctly.

libhooker, PreferenceLoader, and RocketBootstrap were all installed on my device upon jailbreaking.

I tested 4 tweaks in total: Cercube, Flex 3, Snowboard, and Lisa. Cercube would not have any noticeable effect on Youtube. Flex 3 would launch, but enabling tweaks would not have any noticeable effect on apps. Snowboard would show up in Settings, but clicking "Select theme..." would crash Settings. Lisa would show up in Settings, but enabling the tweak through settings would not do anything. Clicking "Test notifications" and "Test banners" also did not do anything.

Through these tests, I assumed that there was something wrong with tweak injection.

How to reproduce

I do not know how to reproduce this bug, as I did not do anything out of the ordinary.

When migrating from checkra1n to Odyssey, I started by restoring RootFS before jailbreaking. After jailbreaking, I had upgraded all packages through Sileo, and downloaded the tweaks from the default repositories.

Solution

I believe the bug in question is that libhooker does not automatically run after jailbreaking.

The immediate solution to my problem was to:

(Thank you to Holly#7873 on the Sileo/Odyssey/Chimera Discord for providing the commands.)

This solution made tweaks work properly.