
AnotherLurker
-
Posts
1,093 -
Joined
-
Last visited
Posts posted by AnotherLurker
-
-
Yea, dpkg no longer allows lzma (as xz is much better), but that's an issue since cydia still depends on lzma
So you need to downgrade dpkg to allow lzma, which you can do by running the following code;brew remove dpkg cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core git checkout 7a4dabf HOMEBREW_NO_AUTO_UPDATE=1 brew install dpkg git checkout master brew pin dpkg
-
Let's see this
-
Did you properly install the latest version of Theos? ldid should already be downloaded for you
If you want to reinstall theos, follow the tutorial here; https://iosgods.com/topic/13072-macios-how-to-easily-install-theos-on-any-ios-device-setuptheos/
Otherwise, if you just want to fix this issue, run the following command;brew install ldid
-
[[self loadSpecifiersFromPlistName:@"FasterCharging" target:self] retain];
to[self loadSpecifiersFromPlistName:@"FasterCharging" target:self];
-
In your PreferenceBundle.m file, you can add an implementation for the -viewDidLoad method
For example:
- (void)viewDidLoad { [super viewDidLoad]; UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Title" message:@"Message" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil]; [alertView show]; }
-
Let's see this
-
Too bad he's no longer a member
-
Add a
}
at the end of the Tweak.xm -
Not understanding what your saying, seems you quoted the code from above.
Your Objective-C method format is wrong, the code-snippet I posted corrected it for you
-
It's actually:
- (returnType)methodName:(typeName)variable1 argument1:(typeName)variable2;
Your Example:
- (void)calculateAreaForRectangleWithLength:(CGfloat)length andBreadth:(CGfloat)breadth;
-
The error means that you have run out of space on your root partition.
CoolStar's stashing tweak, available on his repo (https://coolstar.org/publicrepo) as "Stashing for iOS 9.2 – 9.3.3", might fix the issue, even on iOS 9.0.2
-
-
Reinstall Theos using setuptheos
I sense you're using an older version of Theos
-
Where's Senior Member?
-
%hook UBTripAddressesView -(void)setDropoffAddressText:(id)arg1 isEnabled:(bool)arg2 { %orig(arg1, TRUE); } %end
-
%hook UBTripAddressesViewController
-(bool)_allowsAddressesViewController {
return TRUE;
}
%end
%hook UBTripAddressesView
-(bool)shouldDisplayDropoff {
return TRUE;
}
%end
%hook UBTrippAddressesView
-(void)_updateDropoffContentEdgeInsets {
return %orig();
}
%end
%hook UBEarningsTrip
-(id)dropoffAddress {
return %orig();
}
%end
%hook UBTrip
-(id)dropoffLocation {
return %orig();
}
%end
%hook UBSecondaryDispatchView
-(bool)showPickupAndDropoffAddress {
return TRUE;
}
%end
%hook UBSecondaryDispatchDefaultAcceptView
-(bool)showPickupAndDropoffAddress {
return TRUE;
}
%end
%hook UBOnTripMapViewController
-(bool)_allowsDropoffLocationToBeShown {
return %orig();
}
%end
%hook UBTripAddressesView
-(bool)shouldDisplayPickup {
return FALSE;
}
%end
%hook UBNavigationInfoViewController
-(void)_updateDisplayForDisplay {
return %orig();
}
%end
%hook UBNavigationInfoViewController
-(void)_updateDisplay {
return %orig();
}
%end
%hook UBTripAddressesViewController
-(void)_updateDisplayForDisplay {
return %orig();
}
%end
%hook UBTripAddressesViewController
-(void)_updateDisplay {
return %orig();
}
%end
%hook UBSecondaryDispatchDefaultAcceptView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
%orig(TRUE);
}
%end
%hook UBTripAddressesView
-(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 {
%orig(arg1, TRUE);
}
%end
%hook UBSecondaryDispatchView
-(void)setShowPickupAndDropoffAddress:(bool)arg1 {
%orig(arg1, TRUE);
}
%end
%hook UBTripAddressesViewController -(bool)_allowsAddressesViewController { return TRUE; } %end %hook UBTripAddressesView -(bool)shouldDisplayDropoff { return TRUE; } %end %hook UBSecondaryDispatchView -(bool)showPickupAndDropoffAddress { return TRUE; } %end %hook UBSecondaryDispatchDefaultAcceptView -(bool)showPickupAndDropoffAddress { return TRUE; } %end %hook UBTripAddressesView -(bool)shouldDisplayPickup { return FALSE; } %end %hook UBSecondaryDispatchDefaultAcceptView -(void)setShowPickupAndDropoffAddress:(bool)arg1 { %orig(TRUE); } %end %hook UBTripAddressesView -(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 { %orig(arg1, TRUE); } %end %hook UBSecondaryDispatchView -(void)setShowPickupAndDropoffAddress:(bool)arg1 { %orig(TRUE); } %end
-
getting error...
Password:
iPhone:/var/mobile root# cd /var/uberx
iPhone:/var/uberx root# make package
> Making all for tweak uberx…
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (armv7)…
Tweak.xm:86:162: error: expected function body after function
declarator
..._LOGOS_SELF_CONST self, SEL _cmd)(id)arg1 isEnabled:(bool)ar...
^
1 error generated.
make[3]: *** [/var/uberx/.theos/obj/debug/armv7/Tweak.xm.8b659425.o] Error 1
make[2]: *** [/var/uberx/.theos/obj/debug/armv7/uberx.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [uberx.all.tweak.variables] Error 2
iPhone:/var/uberx root#
What's your full Tweak.xm
-
%hook UBSecondaryDispatchDefaultAcceptView-(void)setShowPickupAndDropoffAddress:(bool)arg1 {arg1 = TRUE;}%end%hook UBTripAddressesView-(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 {arg2 = TRUE;}%end%hook UBAddress-(void)setDisplayTitle:(id)arg1%end%hook UBSecondaryDispatchView-(void)setShowPickupAndDropoffAddress:(bool)arg1 {arg1 = TRUE;}%endyeah I got it now it's a success:) but still I get error with those one https://imgur.com/gallery/lP6Dn%hook UBSecondaryDispatchDefaultAcceptView-(void)setShowPickupAndDropoffAddress:(bool)arg1 {arg1 = TRUE;}%end%hook UBTripAddressesView-(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 {arg2 = TRUE;}%end%hook UBAddress-(void)setDisplayTitle:(id)arg1%end%hook UBSecondaryDispatchView-(void)setShowPickupAndDropoffAddress:(bool)arg1 {arg1 = TRUE;}%end
%hook UBSecondaryDispatchDefaultAcceptView -(void)setShowPickupAndDropoffAddress:(bool)arg1 { %orig(TRUE); } %end %hook UBTripAddressesView -(void)setDropoffAddressText(id)arg1 isEnabled:(bool)arg2 { %orig(arg1, TRUE); } %end %hook UBSecondaryDispatchView -(void)setShowPickupAndDropoffAddress:(bool)arg1 { %orig(arg1, TRUE); } %end
-
-
I do not think he's trying to null them
Yea, just realized
If it's just pass-through, you should just remove the methods from your hooks.
if it's that necessary to include the methods, just do:
return %orig();
-
Sometimes Theos is bitching around because of wrong return types
It's not Theos, Theos just executes the Logos preprocessor which converts %hook code into actual C/C++ code that is then compiled by Clang.
-
You can't return void:
For every void you have pass-through, remove the return statement and leave it empty
I don't quite understand why you wanted to return nothing to the id because even in Flex it's shown as NULL when you modify id. Therefore the id functions are useless and you can delete them completely unless you want to return nil;
Hell no
Leaving it empty or doing
return;
lead to the exact same thing
-
It's not
return PASS-THROUGH;
It's just
return;
-
thanks buddy i put that in now the BASH_PROFILE file the lines at the bottom are
export THEOS=/home/*/theos/
export THEOS_MAKE_PATH=/home/*/theos/makefiles/is that correctYea
Error make with <MediaRemote.h>
in Help & Support
Posted
You need to add the MediaRemote Private framework in your Makefile;