-
Posts
203 -
Joined
-
Last visited
Everything posted by Gav1474
-
Help/Support Just a little help with a flex conversion to hook
Gav1474 replied to Gav1474's topic in Help & Support
ok cool i am learning everyday ! ill try it now -
Help/Support Just a little help with a flex conversion to hook
Gav1474 posted a topic in Help & Support
Hey folks can someone look at my flex to hook conversion please ? i am getting error at theos make package thanks!!! Flex tweak UNIT NAME Unit for -(void) setDisplayTitle:(id) TARGET CLASS UBAddress TARGET METHOD -(void) setDisplayTitle:(id) RETURN VALUE (void) pass-through ARGUMENT#1(id) pass-through HOOK %hook UBAddress -(void)setDisplayTitle:arg1 { %orig; arg1 = TRUE; } %end Its my conversion right??? Thanks! -
all of them
-
I did the make package with your code in tweak.xm my make file look like this ARCHS = armv7 arm64 include theos/makefiles/common.mk TWEAK_NAME = uber uber_FILES = Tweak.xm include $(THEOS_MAKE_PATH)/tweak.mk after-install:: install.exec "killall -9 SpringBoard" And my and my plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Filter</key> <dict> <key>Bundles</key> <array> <string>com.ubercab.UberPartner</string> </array> </dict> </dict> </plist> I don't know everything look fine even the boundle Id
-
. Ok I understand but can you help me write it right please I am very new in this "tweAk" world I'll be very grateful:)
-
What ??? How? https://m.imgur.com/gallery/S4T6G Her is my flex tweak
-
I got the help from admin and other in this forum to complete my tweak.xm ( hook ) I did it from scratch without flex converter, the bundle Id is correct and make file too... You wanna see my tweak fil ? %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(TRUE); } %end
-
Reckecked the tweak.xm? i did convert with the help of some member her the flex tweaks to %hook and theos successfully created the deb file without error, i am using an i6s 9.3.2... what do you mean with recheck?
-
yes I can now confirm that I used the right bundle ID
-
I think to the same thing to so I checked, it's was the right bundle ID...
-
hello folks!!! First I would like to say thanks to everyone who will answer this post !!! i have 2 questions: i created a deb file with theos/flex but when i installed the deb nothing is happening with the app the deb dosent tweak the app at all.... and can I save an app with all the flex tweak then signe it with my developer certificate to install it on a non jailbroken I device? I creat a deb theos but like I understand I when I backup the app the deb dos not come with it
-
%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
-
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#
-
%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 yeah 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
-
Dida bro please can you help me a bit, i have tried everything even your flex converter with no luck ;( please take a look at those picture i uploaded on imgur https://imgur.com/gallery/S4T6G i need help with those return PASS-THROUGH and the ones with value and argument on same time. please ok i will try now
-
please guys can someone help me with this , i am getting error when i try to "make package " the ones in red (void) pass-through did i wrote them correctly ? %hook UBTripAddressesViewController -(bool)_allowsAddressesViewController { return TRUE; } %end %hook UBTripAddressesView -(bool)shouldDisplayDropoff { return TRUE; } %end %hook UBTrippAddressesView -(void)_updateDropoffContentEdgeInsets { return PASS-THROUGH; } %end %hook UBEarningsTrip -(id)dropoffAddress { return PASS-THROUGH; } %end %hook UBTrip -(id)dropoffLocation { return PASS-THROUGH; } %end %hook UBSecondaryDispatchView -(bool)showPickupAndDropoffAddress { return TRUE; } %end %hook UBSecondaryDispatchDefaultAcceptView -(bool)showPickupAndDropoffAddress { return TRUE; } %end %hook UBOnTripMapViewController -(bool)_allowsDropoffLocationToBeShown { return PASS-THROUGH; } %end %hook UBTripAddressesView -(bool)shouldDisplayPickup { return FALSE; } %end %hook UBNavigationInfoViewController -(void)_updateDisplayForDisplay { return PASS-THROUGH; } %end %hook UBNavigationInfoViewController -(void)_updateDisplay { return PASS-THROUGH; } %end %hook UBTripAddressesViewController -(void)_updateDisplayForDisplay { return PASS-THROUGH; } %end %hook UBTripAddressesViewController -(void)_updateDisplay { return PASS-THROUGH; } %end
-
I am going to lose it! Can you help me to write the tweak.xm file please ?
-
. I am getting this now Last login: Fri Nov 25 16:39:33 on ttys000 iPhone:~ mobile$ su 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:8: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#
-
still the same Error
-
https://imgur.com/gallery/bqVjP