Jump to content

36 posts in this topic

Recommended Posts

Posted

Instead of this

%hook NLSLinearChannel

-(id) blackout {

%orig(TRUE);

}

%end

 

Do this

%hook NLSLinearChannel

-(id) blackout {

return nil;

}

%end

 

Posted (edited)
56 minutes ago, Amuyea said:

Instead of this


%hook NLSLinearChannel

-(id) blackout {

%orig(TRUE);

}

%end

 

Do this


%hook NLSLinearChannel

-(id) blackout {

return nil;

}

%end

 

Thank You very much guys for all of your help....

324B3657-5AA1-44DC-80E0-0268E83CA9F7_zps

Still error 133...

Don't know what's internal package errors means

Thank you once again.

Updated by eduard816
Posted
On 11/06/2017 at 0:31 PM, Amuyea said:

Instead of this


%hook NLSLinearChannel

-(id) blackout {

%orig(TRUE);

}

%end

 

Do this


%hook NLSLinearChannel

-(id) blackout {

return nil;

}

%end

 

I tried again on my PC but now error.

 

Tweak.xm:218:84: error: expected ';' after expression
  ..._cmd, TRUE) }     static id _logos_method$_ungrouped$NLSLinearChannel$bl...
                ^
                ;
1 error generated.
make[2]: *** [obj/Tweak.xm.f5944243.o] Error 1
make[1]: *** [internal-library-all_] Error 2

%hook NLSLinearChannel
-(id) blackout {
return nil;
}
%end

 

Posted
%hook NLSLinearChannel
-(id) blackout {

}
%end

I don't know if it will work or not.

 

or

%hook NLSLinearChannel
-(id) blackout {
return null;
}
%end

 

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