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

    • Episode - Choose Your Story Cheats v26.30 +3 Cheats
      Modded/Hacked App: Episode - Choose Your Story By Episode Interactive, LLC
      Bundle ID: com.neonfun.catalog
      iTunes Store Link: https://apps.apple.com/us/app/episode-choose-your-story/id656971078?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

      - Free Premium Choices
      - Unlimited Passes
      - Debug Menu

       

      Non-Jailbroken Hack: https://iosgods.com/topic/193903-episode-choose-your-story-v2600-3-cheats-for-jailed-idevices/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/193902-episode-choose-your-story-cheats-v2602-3-cheats/
        • Agree
        • Like
      • 18 replies
    • [ Chiikawa Pocket JP ] ちいかわぽけっと v1.3.0 Jailed Cheats +3
      Modded/Hacked App: ちいかわぽけっと By Applibot Inc.
      Bundle ID: jp.co.applibot.chiikawapocket
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%81%A1%E3%81%84%E3%81%8B%E3%82%8F%E3%81%BD%E3%81%91%E3%81%A3%E3%81%A8/id6596745408?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
      - Multiply Attack
      - Custom Speed (Customize before Login or Clear stage to get apply)

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/194281-chiikawa-pocket-jp-%E3%81%A1%E3%81%84%E3%81%8B%E3%82%8F%E3%81%BD%E3%81%91%E3%81%A3%E3%81%A8-v1111-jailed-cheats-3/
      • 25 replies
    • Chiikawa Pocket Cheats v1.3.0 +3
      Modded/Hacked App: Chiikawa Pocket By Applibot Inc.
      Bundle ID: jp.co.applibot.chiikawapocketgl
      iTunes Store Link: https://apps.apple.com/us/app/chiikawa-pocket/id6740838442?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

      - God Mode
      - Multiply Attack

       

      Non-Jailbroken Hack: https://iosgods.com/topic/193718-chiikawa-pocket-v111-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/193717-chiikawa-pocket-cheats-v111-2/
      • 47 replies
    • Candy Crush Soda Saga Cheats v1.297.4 +3
      Modded/Hacked App: Candy Crush Soda Saga By King.com Limited
      Bundle ID: com.midasplayer.apps.candycrushsodasaga
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-soda-saga/id850417475?uo=4

       

      🔧 Mod Requirements

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

       

      🚀 Hack Features

      - Freeze Moves
      - Freeze Lives
      - Freeze Boosters


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191667-candy-crush-soda-saga-v12861-jailed-cheats-3/

       

      📥 iOS Hack Download Link: https://iosgods.com/topic/191666-candy-crush-soda-saga-cheats-v12873-3/
      • 20 replies
    • Candy Crush Saga v1.307.5 Jailed Cheats +3
      Modded/Hacked App: Candy Crush Saga By King.com Limited
      Bundle ID: com.midasplayer.apps.candycrushsaga
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-saga/id553834731?uo=4


      Hack Features:
      - Infinite Life
      - Infinite Booster
      - Infinite Move


      Jailbreak required hack(s): https://iosgods.com/topic/190447-candy-crush-saga-cheats-v12941-3/


      iOS Hack Download IPA Link: https://iosgods.com/topic/190448-candy-crush-saga-v12941-jailed-cheats-3/
        • Like
      • 117 replies
    • Barbie Dreamhouse Adventures Cheats v2025.5.0 +1
      Modded/Hacked App: Barbie Dreamhouse Adventures By Budge Studios
      Bundle ID: com.budgestudios.BarbieDreamhouse
      iTunes Store Link: https://apps.apple.com/us/app/barbie-dreamhouse-adventures/id1296796112?uo=4


      Hack Features:
      - PREMIUM


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/150378-barbie-dreamhouse-adventures-v202180-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/150377-barbie-dreamhouse-adventures-cheats-v202180-1/
        • Like
      • 79 replies
    • Plants vs. Zombies v3.10.1 Jailed Cheats +5
      Modded/Hacked App: Plants vs. Zombies™ By EA Swiss Sarl
      Bundle ID: com.ea.pvzfree.bv
      iTunes Store Link: https://apps.apple.com/us/app/plants-vs-zombies/id893677096?uo=4


      Hack Features

      - Infinite Sun
      - Infinite Fertilizer, BugSpray, and Chocolate
      - Infinite Coins
      - Infinite Plants Life
      - No Cooldown

      Author: https://iosgods.com/profile/37846-asianqueen/

      Complete tutorial before using any hacked features or you will stuck forever



      iOS Hack Download IPA Link https://iosgods.com/topic/191088-plants-vs-zombies%E2%84%A2-v381-jailed-cheats-5/
      • 36 replies
    • [ FFBE WoTV Japan ] FFBE幻影戦争 WAR OF THE VISIONS Cheats v12.3.0 +3
      Modded/Hacked App: FFBE幻影戦争 戦略RPG/シミュレーションゲーム By SQUARE ENIX Co., Ltd.
      Bundle ID: com.square-enix.WOTVffbejp
      iTunes Store Link: https://apps.apple.com/jp/app/ffbe%E5%B9%BB%E5%BD%B1%E6%88%A6%E4%BA%89-%E6%88%A6%E7%95%A5rpg-%E3%82%B7%E3%83%9F%E3%83%A5%E3%83%AC%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%82%B2%E3%83%BC%E3%83%A0/id1443703517?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Full Map Movement


      iOS Hack Download Link: https://iosgods.com/topic/173484-ffbe-wotv-japan-ffbe%E5%B9%BB%E5%BD%B1%E6%88%A6%E4%BA%89-war-of-the-visions-cheats-v916-3/
      • 101 replies
    • Angry Birds Dream Blast Cheats v1.89.0 +3
      Modded/Hacked App: Angry Birds Dream Blast By Rovio Entertainment Oyj
      Bundle ID: com.rovio.dream
      iTunes Store Link: https://apps.apple.com/us/app/angry-birds-dream-blast/id1432579280?uo=4


      Hack Features:
      - Infinite Moves
      - Infinite Lives
      - Infinite Boosters


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/149687-angry-birds-dream-blast-v1340-jailed-cheats-3/


      iOS Hack Download Link: https://iosgods.com/topic/149684-angry-birds-dream-blast-cheats-all-versions-3/
      • 105 replies
    • Angry Birds 2 Cheats v4.0.3 +1 [ Infinite Currencies ]
      Modded/Hacked App: Angry Birds 2 By Rovio Entertainment Oyj
      Bundle ID: com.rovio.baba
      iTunes Store Link: https://apps.apple.com/us/app/angry-birds-2/id880047117?uo=4


      Hack Features:
      - Infinite Currencies ( Spend some/ Get some )


      Non-Jailbroken & No Jailbreak required hack(s):  https://iosgods.com/topic/70081-angry-birds-2-v2600-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/72039-angry-birds-2-cheats-v2600-1-infinite-currencies/
      • 1,962 replies
    • Temple Run 2 Cheats v1.123.0 +8
      Modded/Hacked App: Temple Run 2 by Imangi Studios, LLC
      Bundle ID: com.imangi.templerun2
      iTunes Store Link: https://apps.apple.com/us/app/temple-run-2/id572395608?uo=4&at=1010lce4


      Hack Features:
      - No Ads Enabled
      - x2 Coin Enabled
      - Infinite Coin (Spend some)
      - Infinite Gem (Spend some)
      - All Characters Unlocked
      - Free iAP (Turn off all iap hacks before using this, also if itunes popup don't show then run ldrestart in terminal -- This is an issue with the jailbreak not the hack)
      - Auto Run
      - Coin Magnet


      iOS Hack Download Link: https://iosgods.com/topic/132609-arm64-temple-run-2-cheats-v1691-8/
        • Like
      • 310 replies
    • Cats & Soup Cheats v2.73.0 +2
      Modded/Hacked App: Cats & Soup By HIDEA Co.,Ltd
      Bundle ID: com.hidea.cat
      iTunes Store Link: https://apps.apple.com/us/app/cats-soup/id1581431235?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 Currencies
      - Unlocked All Specials and No Ads

       

      Non-Jailbroken Hack: https://iosgods.com/topic/157486-cats-soup-v2630-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/157484-cats-soup-cheats-v2640-2/
        • Winner
      • 307 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