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

    • Skullgirls Fighting RPG V7.5.3 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:

      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 58 replies
    • Skullgirls Fighting RPG V7.5.3 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:
      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 150 replies
    • Legend of Slime: Idle RPG War v4.2.2 Jailed Cheats +28
      Modded/Hacked App: Legend of Slime: Idle RPG By LoadComplete Co., Ltd
      Bundle ID: com.loadcomplete.slimeidle
      iTunes Store Link: https://apps.apple.com/us/app/legend-of-slime-idle-rpg/id1618701110?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:

      - High Attack (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Hp (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High HP Recovery (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Critical Hit Chance (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Critical Hit Damage (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High ASPD (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Double Shot (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Triple Shot (Upgrade Skill)


      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/


      iOS Hack Download IPA Link:

      Hidden Content
      Download via the iOSGods App







        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 501 replies
    • Solitaire Grand Harvest v2.399.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Solitaire Grand Harvest By Supertreat GmbH
      Bundle ID: net.supertreat.solitaire
      App Store Link: https://apps.apple.com/us/app/solitaire-grand-harvest/id1223338261?uo=4


      🤩 Hack Features

      - Coins
      - Free Ticket
      - Free Undo
      - Wild Card
        • Haha
        • Thanks
        • Winner
        • Like
      • 27 replies
    • Solitaire Grand Harvest v2.399.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Solitaire Grand Harvest By Supertreat GmbH
      Bundle ID: net.supertreat.solitaire
      App Store Link: https://apps.apple.com/us/app/solitaire-grand-harvest/id1223338261?uo=4


      🤩 Hack Features

      - Coins
      - Free Ticket
      - Free Undo
      - Wild Card
        • Informative
        • Agree
        • Like
      • 27 replies
    • Galaxiga - Classic 80s Arcade v10.99 [ +7 Jailed ] Energy Max
      Modded/Hacked App: Galaxiga - Classic 80s Arcade By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.space.force.galaxy.alien
      iTunes Store Link: https://apps.apple.com/us/app/galaxiga-classic-80s-arcade/id1519367184?uo=4


      Hack Features:

      - Premium Pass [ Rewards Only ]

      - Energy Unlimited [ Linked Premium Pass ]

      - Plane Unlocked [ Tire 1 Tire 2 ] 

      - Drone Unlocked [ Tire 1 Tire 2 ]

      - Stone Unlocked [ Tire 1 Tire 2 ] 

      - Unlock Gem Cost 0 [ Plane Drone Stone ]

      - Easy Kill [ Only SP - No PVP ] 

      - Win PvP Select Higher Rank [ Plane Drone Stone ] Easy To Win PvP NO Bannnn


      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/
        • Agree
        • Thanks
        • Winner
        • Like
      • 57 replies
    • Galaxiga - Classic 80s Arcade v10.99 [ +7 Cheats ] Energy Max
      Modded/Hacked App: Galaxiga - Classic 80s Arcade By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.space.force.galaxy.alien
      iTunes Store Link: https://apps.apple.com/us/app/galaxiga-classic-80s-arcade/id1519367184?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Premium Pass [ Rewards Only ]

      - Energy Unlimited [ Linked Premium Pass ]

      - Plane Unlocked [ Tire 1 Tire 2 ] 

      - Drone Unlocked [ Tire 1 Tire 2 ]

      - Stone Unlocked [ Tire 1 Tire 2 ] 

      - Unlock Gem Cost 0 [ Plane Drone Stone ] Maybe Effect PvP 

      - Easy Kill [ Only SP - No PVP ] 

      - Win PvP Select Higher Rank [ Plane Drone Stone ]

      Not3:- Don't Abuse The Hack Incase Banned Lower Chances Maybe


      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/


      iOS Hack Download Link:

      Hidden Content

      Download Hack
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 91 replies
    • Shiba Story Go! RPG Idle Game v1.1.116 [ +12 Jailed ] Always Win
      Modded/Hacked App: Shiba Story Go! RPG Idle Game By Proof of Play, Inc.
      Bundle ID: com.proofofplay.shibastorygo
      App Store Link: https://apps.apple.com/ph/app/shiba-story-go-rpg-idle-game/id6749783343?uo=4 

      🤩 Hack Features

      - Gems

      - Gold

      - Energy

      - Keys+3

      - Enhance Items

      - Pet Egg

      - Chest Max [ Server Error Show Some Time But Works ]

      - Fast Travel Energy Cost 1

      - Enemy Easy Kill [ Both Of Linked ] Server Error Show Some Time

      - Alway My Turn

      - HP [ Enemy Easy Kill + Alway My Turn ] Disable Then Use This Feature

      - ATK

      - DEF
        • Like
      • 6 replies
    • Shiba Story Go! RPG Idle Game v1.1.116 [ +12 Cheats ] Always Win
      Modded/Hacked App: Shiba Story Go! RPG Idle Game By Proof of Play, Inc.
      Bundle ID: com.proofofplay.shibastorygo
      App Store Link: https://apps.apple.com/ph/app/shiba-story-go-rpg-idle-game/id6749783343?uo=4

      🤩 Hack Features

      - Gems

      - Gold

      - Energy

      - Keys+3

      - Enhance Items

      - Pet Egg

      - Chest Max [ Server Error Show Some Time But Works ]

      - Fast Travel Energy Cost 1

      - Enemy Easy Kill [ Both Of Linked ] Server Error Show Some Time

      - Alway My Turn

      - HP [ Enemy Easy Kill + Alway My Turn ] Disable Then Use This Feature

      - ATK

      - DEF
        • Like
      • 7 replies
    • Rick and Morty: Pocket Mortys Cheats v2.40.0 +1
      Modded/Hacked App: Rick and Morty: Pocket Mortys By Turner Broadcasting System, Inc.
      Bundle ID: com.turner.pocketmorties
      iTunes Store Link: https://apps.apple.com/us/app/rick-and-morty-pocket-mortys/id992640880?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

      - Freeze Currencies

       

      Non-Jailbroken Hack: https://iosgods.com/topic/86695-rick-and-morty-pocket-mortys-v2380-jailed-cheats-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/89871-rick-and-morty-pocket-mortys-cheats-v2380-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 629 replies
    • Hello Town: Merge & Succeed v2.7 [ +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
      • 22 replies
    • Hello Town: Merge & Succeed v2.7 [ +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
      • 23 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