Jump to content

Save/backup app with flex tweak


Go to solution Solved by Cycas,

23 posts in this topic

Recommended Posts

Posted

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 ?

1. You're tweak is probably not linked properly, did you use flex converter to make the tweak.xm? If yes, it doesn't work if your method has 2 arguments. If you made it from scratch, you either didn't link it properly when it came to the bundle ID part. If your bundle ID is set properly, check your makefile and make sure you added an Architecture type for arm7 and arm64. If nothing works, you most probably just wrote the wrong method/class.

2. :wat:?

%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

  • Solution
Posted

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

Put it in code next time

Posted

Your Tweak.xm is wrong

 

%hook UBTripAddressesViewController
-(BOOL)_allowsAddressesViewController {
return TRUE;
}
%end

%hook UBTripAddressesView
-(BOOL)shouldDisplayDropoff {
return TRUE;
}
%end

%hook UBTrippAddressesView
-(void)_updateDropoffContentEdgeInsets {

}
%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 TRUE;
}
%end

%hook UBTripAddressesView
-(BOOL)shouldDisplayPickup {
return FALSE;
}
%end

%hook UBNavigationInfoViewController
-(void)_updateDisplayForDisplay {

}
%end

%hook UBNavigationInfoViewController
-(void)_updateDisplay {

}
%end

%hook UBTripAddressesViewController
-(void)_updateDisplayForDisplay {

}
%end

%hook UBTripAddressesViewController
-(void)_updateDisplay {

}
%end

%hook UBSecondaryDispatchDefaultAcceptView
-(void)setShowPickupAndDropoffAddress:(BOOL)arg1 {
%orig;
arg1 = TRUE;
}
%end

%hook UBTripAddressesView
-(void)setDropoffAddressText:(id)arg1 isEnabled:(BOOL)arg2 {
%orig;
arg2 = TRUE;
}
%end

%hook UBSecondaryDispatchView
-(void)setShowPickupAndDropoffAddress:(BOOL)arg1 {
%orig;
arg1 = TRUE;
}

%end
Posted

Your Tweak.xm is wrong

 

%hook UBTripAddressesViewController
-(BOOL)_allowsAddressesViewController {
return TRUE;
}
%end

%hook UBTripAddressesView
-(BOOL)shouldDisplayDropoff {
return TRUE;
}
%end

%hook UBTrippAddressesView
-(void)_updateDropoffContentEdgeInsets {

}
%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 TRUE;
}
%end

%hook UBTripAddressesView
-(BOOL)shouldDisplayPickup {
return FALSE;
}
%end

%hook UBNavigationInfoViewController
-(void)_updateDisplayForDisplay {

}
%end

%hook UBNavigationInfoViewController
-(void)_updateDisplay {

}
%end

%hook UBTripAddressesViewController
-(void)_updateDisplayForDisplay {

}
%end

%hook UBTripAddressesViewController
-(void)_updateDisplay {

}
%end

%hook UBSecondaryDispatchDefaultAcceptView
-(void)setShowPickupAndDropoffAddress:(BOOL)arg1 {
%orig;
arg1 = TRUE;
}
%end

%hook UBTripAddressesView
-(void)setDropoffAddressText:(id)arg1 isEnabled:(BOOL)arg2 {
%orig;
arg2 = TRUE;
}
%end

%hook UBSecondaryDispatchView
-(void)setShowPickupAndDropoffAddress:(BOOL)arg1 {
%orig;
arg1 = TRUE;
}

%end

 

 

 

What ??? How?

https://m.imgur.com/gallery/S4T6G Her is my flex tweak

Posted

What ??? How?

https://m.imgur.com/gallery/S4T6G Her is my flex tweak

Because there are tutorials for flex to deb.

void can be empty, nil or null

idk about id you needed

Bool always be True or False

 

And the args, you need to set arg. Instead "orig(**)"

Posted

Because there are tutorials for flex to deb.

void can be empty, nil or null

idk about id you needed

Bool always be True or False

 

And the args, you need to set arg. Instead "orig(**)"

. 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:)
Posted

. 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:)

I already fixed, have you replaced it already?

Posted

I already fixed, have you replaced it already?

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

Posted

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

Which features aren't working? All of them or a few?

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
  • Our picks

    • Zombie Fortress: Trap Defense v0.8.0 [+6 Jailed Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
        • Winner
      • 3 replies
    • Zombie Fortress: Trap Defense v0.8.0 [+6 Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
        • Winner
      • 1 reply
    • Heroes Crew: Strategy Defense v1.1.5 [+6 Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
        • Winner
        • Like
      • 31 replies
    • Heroes Crew: Strategy Defense v1.1.5 [+6 Jailed Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
        • Informative
        • Agree
        • Winner
        • Like
      • 15 replies
    • Candy Pop Story : Match 3 v1.23.0722 [ +3 Cheats ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
      -
        • Thanks
      • 6 replies
    • Candy Pop Story : Match 3 v1.23.0722 [ +3 Jailed ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
        • Winner
        • Like
      • 6 replies
    • Boom Castle Tower Defense TD v1.5.2 [ +7 Jailed ] Easy Win
      Modded/Hacked App: Boom Castle: Tower Defense TD By Terahype s.r.o.
      Bundle ID: castle.heroes.tower.defense.kingdom.magic.battle.archer
      iTunes Store Link: https://apps.apple.com/us/app/boom-castle-tower-defense-td/id6502820312?uo=4


      Hack Features:

      - Enemy Status [ HP DEF ]

      - Base HP 

      - Battle Cost 0 

      - Stage Unlocked [ Play Any Stage ]

      - Battle Pass Unlocked 

      - Battle Pass Claim Unlimited [ Gems Gold ]

      - iGG Speed Hack Max 0 - 10 [ Skill CD - ATK Speed - Animation Speed - Wave Faster ]


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Winner
        • Like
      • 48 replies
    • Boom Castle Tower Defense TD v1.5.2 [ +7 Cheats ] Easy Win
      Modded/Hacked App: Boom Castle: Tower Defense TD By Terahype s.r.o.
      Bundle ID: castle.heroes.tower.defense.kingdom.magic.battle.archer
      iTunes Store Link: https://apps.apple.com/us/app/boom-castle-tower-defense-td/id6502820312?uo=4


      Hack Features:
      - Enemy Status [ HP DEF ]

      - Base HP 

      - Battle Cost 0 

      -  Stage Unlocked [ Play Any Stage ]

      - Battle Pass Unlocked 

      - Battle Pass Claim Unlimited [ Gems Gold ]

      - iGG Speed Hack Max 0 - 10 [ Skill CD - ATK Speed - Animation Speed - Wave Faster ] 


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 52 replies
    • Zombie Infinity v1.9.1 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Zombie Infinity By kamasu.jp Inc.
      Bundle ID: jp.kamasu.oread
      App Store Link: https://apps.apple.com/ph/app/zombie-infinity/id6736433765?uo=4


      🤩 Hack Features

      - ADS Pass

      - Energy Pass

      - Premium Pass

      - Currency

      - Hero Status [ HP - DMG ]
        • Thanks
        • Like
      • 4 replies
    • Zombie Infinity v1.9.1 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Zombie Infinity By kamasu.jp Inc.
      Bundle ID: jp.kamasu.oread
      App Store Link: https://apps.apple.com/ph/app/zombie-infinity/id6736433765?uo=4


      🤩 Hack Features

      - ADS Pass

      - Energy Pass

      - Premium Pass

      - Currency

      - Hero Status [ HP - DMG ]
        • Like
      • 3 replies
    • Alien Survivor: Survival Arena v1.40.0 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4
       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 19 replies
    • Alien Survivor: Survival Arena v1.40.0 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 32 replies
×
  • 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