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

    • League of War: Mercenaries v11.0.004 +2 Cheats
      Mod APK Game Name: League of War: Mercenaries By Jirolabs LLC
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.gree.shadow

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download Modded APK







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 0 replies
    • Groove Journey v6.5.6 Jailed Mod +1
      Modded/Hacked App: Groove Journey By Somtochukwu Mbala
      Bundle ID: com.kaipha.groovejourney
      iTunes Store Link: https://apps.apple.com/us/app/groove-journey/id6736345547?uo=4


      Hack Features:
      - PREMIUM


      iOS Hack Download IPA Link: https://iosgods.com/topic/190862-groove-journey-v311-jailed-mod-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 194 replies
    • Idle Police Tycoon - Cops Game Cheats v1.28 +3
      Modded/Hacked App: Idle Police Tycoon - Cops Game By Codigames SL
      Bundle ID: com.codigames.idle.police.department.tycoon.cop
      App Store Link: https://apps.apple.com/us/app/idle-police-tycoon-cops-game/id1521444735?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Infinite Cash
      - No Ads (Clam rewards / criminal without watching ads)
      - All Managers Hired

       

      Non-Jailbroken Hack: https://iosgods.com/topic/133424-idle-police-tycoon-cops-game-v128-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/133421-idle-police-tycoon-cops-game-cheats-v128-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 256 replies
    • Zombie Waves-shooting game v2.1.8 Jailed Cheats +6
      Modded/Hacked App: Zombie Waves-shooting game By FUN FORMULA PTE. LTD.
      Bundle ID: com.ddup.zombiewaves.zw
      App Store Link: https://apps.apple.com/us/app/zombie-waves-shooting-game/id6443760593?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - God Mode
      - Infinite Ammo
      - No Reload
      - Increase Magnet Range
      - High Damage X10
      - High Fire Rate

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/201966-zombie-waves-shooting-game-v212-jailed-cheats-6/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 60 replies
    • 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
      • 299 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
×
  • 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