Jump to content

Could someone compile this hack for arm64?


10 posts in this topic

Recommended Posts

Posted

Pandora got updated to v5.8 and along with that they added an arm64 portion of the code... and I lost my jailbreak. Could someone be able to compile my pandora hack for arm64 and send me the link? Here is the Tweak.xm, and I don't care about it getting stolen, it's public anyway:

 

#include <Foundation/Foundation.h>
#include <substrate.h>

%hook SkipLimitState

- (BOOL)unlimitedDailySkips {
return TRUE;
}

- (BOOL)unlimitedStationSkips {
return TRUE;
}
%end

%hook TrackDescriptor

- (BOOL)allowSkipTrackWithoutLimit {
return TRUE;
}
%end

%hook StationPlayer

- (BOOL)skipsAudioAds {
return TRUE;
}

- (BOOL)isAbleToSkip {
return TRUE;
}
%end

%hook StationDescriptor

- (BOOL)unlimitedSkips {
return TRUE;
}
%end

%hook AudioStation

- (BOOL)isAbleToSkip {
return TRUE;
}
%end

%hook PMBaseSettings

- (BOOL)ignoreSkipLimit {
return TRUE;
}

- (BOOL)ignoreDailySkipLimitForPartners {
return TRUE;
}

- (BOOL)disableAdBanners {
return TRUE;
}
%end

%hook PMRadio

- (BOOL)userReceivesVisualAds {
return FALSE;
}
%end
Bundle ID: com.pandora

 

Thanks :)

Posted

I can do this wtomorrow or someone wants to do it before me?

 

It should have worked perfectly fine compiling it on a Mac also.

Posted

I have a question, what do the first 2 lines of the code do? I never put them on mine when doing mshook

I just put them there because I'm paranoid about the hack not working. Don't worry about them.

Posted

I have a question, what do the first 2 lines of the code do? I never put them on mine when doing mshook

But you need substrate.h for MSHook :/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines