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

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

    • Hungry Shark World v7.3.3 +9 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hungry Shark World By Ubisoft
      Bundle ID: com.ubisoft.hungrysharkworld
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-world/id1046846443?uo=4


      Hack Features:
      - Coin Modifier
      - Gem Modifier
      - Pearl Modifier
      - Unlock All
      - Freeze Health
      - Freeze Boost
      - Season Pass Unlocked
      - Score Multiplier
      - No Gravity
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 296 replies
    • Minions World v1.2.4 [ +5 APK MOD ] Currency Max
      Mod APK Game Name: Minions World
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.mikapps.minionsconquest&hl=en

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Energy
      - Unlimited Silver Keys
      - Unlimited Golden Keys
      • 0 replies
    • Galaxy War: Falltopia Shooter v1.0.194 [ +12 APK MOD ] ADS NO
      Mod APK Game Name: Galaxy War: Falltopia Shooter
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.threehp013.idle.plane.shooting.space.force.game

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Speed Boost Active
      - Currency / NO Need
      - Resources / NO Need
      - Defensec Pass
      - Upgrade Pass
      - Season Pass
      - Battle Pass
      - Blessings Active
      - HP / Equip & Unequip
      - ATK / Equip & Unequip
      - Def / Equip & Unequip
      • 1 reply
    • OnceWorld v1.1.2 +2 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: OnceWorld By PONIX LLC
      Bundle ID: work.ponix.onceworld
      App Store Link: https://apps.apple.com/us/app/onceworld/id6753948618?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
        • Informative
        • Agree
        • Thanks
        • Like
      • 30 replies
    • Dawn of Zombies: Survival Game v2.274.3032 +6 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Zombies: Survival Game By VISTREX LIMITED
      Bundle ID: com.survival.dawn
      iTunes Store Link: https://apps.apple.com/us/app/dawn-of-zombies-survival-game/id1465954247?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Speed Multiplier
      - Split Hack
      - No Energy Cost
      - Max Level -> Earn some XP.


      Jailbreak required hack(s): [Mod Menu Hack] Dawn of Zombies: Survival Game v2.250 +6 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      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
      • 298 replies
    • Wool Craze -Yarn Color Sort 3D v4.9 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Wool Craze -Yarn Color Sort 3D By Hero Linkage Technology Co., Ltd.
      Bundle ID: com.color.wool.blast
      App Store Link: https://apps.apple.com/us/app/wool-craze-yarn-color-sort-3d/id6744317674?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Life
      - Unlimited Booster
        • Haha
      • 0 replies
    • Wool Craze -Yarn Color Sort 3D v4.9 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Wool Craze -Yarn Color Sort 3D By Hero Linkage Technology Co., Ltd.
      Bundle ID: com.color.wool.blast
      App Store Link: https://apps.apple.com/us/app/wool-craze-yarn-color-sort-3d/id6744317674?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Life
      - Unlimited Booster
        • Like
      • 0 replies
    • Hello Town: Merge & Succeed v3.2 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4


      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      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/
        • Agree
        • Thanks
        • Winner
        • Like
      • 33 replies
    • Hello Town: Merge & Succeed v3.2 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4

       

      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 32 replies
    • Dragon Wings: RPG Shoot em up v1.16.1 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Dragon Wings: RPG Shoot 'em up By Spirit Bomb Company Limited
      Bundle ID: rpg.arcade.space.shooter.dragon.wings
      App Store Link: https://apps.apple.com/us/app/dragon-wings-rpg-shoot-em-up/id6741735947?uo=4

       

      🤩 Hack Features

      - Super Card Active

      - Gems

      - Gold

      - Never Die

      - ATK 
        • Informative
        • Agree
        • Like
      • 35 replies
    • Dragon Wings: RPG Shoot em up v1.16.1 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Dragon Wings: RPG Shoot 'em up By Spirit Bomb Company Limited
      Bundle ID: rpg.arcade.space.shooter.dragon.wings
      App Store Link: https://apps.apple.com/us/app/dragon-wings-rpg-shoot-em-up/id6741735947?uo=4
       

      🤩 Hack Features

      - Super Card Active

      - Gems

      - Gold

      - Never Die

      - ATK 
        • Thanks
        • Winner
        • Like
      • 36 replies
    • Stickman War: Epic Idle RPG v1.0.27 [ +5 Cheats ] Easy Win
      Modded/Hacked App: Stickman vs Zombie: Idle RPG By Pusilung HK Limited
      Bundle ID: com.TSH011.stickman.zombie.epic.war.idle.rpg.warfare
      App Store Link: https://apps.apple.com/us/app/stickman-vs-zombie-idle-rpg/id6743597727?uo=4

       
      🤩 Hack Features

      - Currency [ No Need ]

      - Resources [ No Need ]

      - Hero Status

      - Pet Status

      - Skill Status

      Note:- Hero Pet Skill After Hack Game Close Reopen Then Work
        • Winner
        • Like
      • 15 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