Jump to content

Gav1474

Senior Member
  • Posts

    203
  • Joined

  • Last visited

Everything posted by Gav1474

  1. ok cool i am learning everyday ! ill try it now
  2. 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!
  3. 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
  4. . 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:)
  5. What ??? How? https://m.imgur.com/gallery/S4T6G Her is my flex tweak
  6. 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
  7. 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?
  8. yes I can now confirm that I used the right bundle ID
  9. I think to the same thing to so I checked, it's was the right bundle ID...
  10. 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
  11. my man you r the best!!!! thanks a lot bro!
  12. this one is giving me the error %hook UBTripAddressesView -(void)setDropoffAddressText(id)arg1 isEnabledbool)arg2 { %orig(arg1, TRUE); } %end i delete it and make the package with success but i need it to complete the tweak...
  13. %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
  14. 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#
  15. %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
  16. yeah I got it now it's a success:) but still I get error with those one https://imgur.com/gallery/lP6Dn
  17. 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
  18. Guys ther is the screen shots of my flex tweaks https://imgur.com/gallery/S4T6G maybe this will make sense after you see them, I been trying for 3 days to covert them to %hook with no success ...;(
  19. 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
  20. I am going to lose it! Can you help me to write the tweak.xm file please ?
  21. . 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#
  22. still the same Error
  23. https://imgur.com/gallery/bqVjP
×
  • 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