Jump to content

"there was a problem parsing the package" when installing apk after modding Assembly-CSharp.dll.


Go to solution Solved by jayvee,

19 posts in this topic

Recommended Posts

Posted
5 minutes ago, Mr. Android said:

i mean if the apk is browsed through Winrar, placing the csharp into reflector will not work as reflector cant detect the other dlls as it is on winrar

oh yes , decompiling properly makes a folder which reflector can detect :yes: 

Posted
1 minute ago, TheArmKing said:

oh yes , decompiling properly makes a folder which reflector can detect :yes: 

YEaup but if a game got splash, i dont decompile.. I only decompile apk to add toast and ofc if there's any cheat detectors in smali :D

Posted
10 hours ago, Mr. Android said:

Who said that?? OMG!! All you have to do is to change the "Open With - RAR" And that's all you'll find the root folders of the apk..

you do not need to do that :o

 

@0utlaw_ Bro, Put all dlls into reflector not only the csharp, after modifying replace it with the old csharp..rename it you did all that right, unfortunately oneclick signer is not signing properly anymore, find some other apk signer and sign it... you can use zip signer but not after signing it from one click signer...

So whats wrong in doing it? Jeezzz dont be an smartass. If he wants to really avoid this kind of issue why cant he use the proper way of decompiling, recompiling and signing it?

  • Haha 1
Posted

 

3 hours ago, jayvee said:

So whats wrong in doing it? Jeezzz dont be an smartass. If he wants to really avoid this kind of issue why cant he use the proper way of decompiling, recompiling and signing it?

Its not about how you do it, its about how you learn it. 

Posted
2 hours ago, Mr. Android said:

 

Its not about how you do it, its about how you learn it. 

Dude this person was asking for help so i gave mine. Whats wrong with that? Jeeezzz

  • Haha 1
Posted

Guys thanks to every single one of you for your help. But everyone was arguing lol, let me get this straight. I extracted the zip file before doing anything, also with the original method i did in which i added to .zip and replaced with .apk, zip signer did not work, i tried also other signing mods inside the app. So from what i read here i have to decompile and compile the csharp with apktool and then sign it with zip signer? I remember apk tool had some signing options too. Sorry if i sound noob i have no idea how to use apk tool, only reflector and reflexiv. Also one more problem. When i finish modifying csharp, i save it and when i open it, most functions give the error "ambigous match found". Whats the workaround for this? There are no .dlls with the exact name. Thanks again for all your answers

  • Solution
Posted
23 hours ago, 0utlaw_ said:

Guys thanks to every single one of you for your help. But everyone was arguing lol, let me get this straight. I extracted the zip file before doing anything, also with the original method i did in which i added to .zip and replaced with .apk, zip signer did not work, i tried also other signing mods inside the app. So from what i read here i have to decompile and compile the csharp with apktool and then sign it with zip signer? I remember apk tool had some signing options too. Sorry if i sound noob i have no idea how to use apk tool, only reflector and reflexiv. Also one more problem. When i finish modifying csharp, i save it and when i open it, most functions give the error "ambigous match found". Whats the workaround for this? There are no .dlls with the exact name. Thanks again for all your answers

Download and install ADB on your pc. Download apktool then copy its files into ADB directory. Put the apk you want to mod into ADB directory. Open command prompt on the directory by pressing Shift + right click then type this commands:

For decompiling - apktool d -f -r nameoftheapp.apk

For recompiling - apktool b nameofthefolder

For signing - just use zipsigner on your device

 

 

  • Winner 1
Posted (edited)
8 hours ago, jayvee said:

Download and install ADB on your pc. Download apktool then copy its files into ADB directory. Put the apk you want to mod into ADB directory. Open command prompt on the directory by pressing Shift + right click then type this commands:

For decompiling - apktool d -f -r nameoftheapp.apk

For recompiling - apktool b nameofthefolder

For signing - just use zipsigner on your device

 

 

Thank you for the reply. The command prompt tells me it doesn't recognise 'apktool' keyword, and told me to use '.\apktool' instead. I did that, and tells me it is unable to access the jarfile. I got java installed. I got all the requierments, and followed all the steps. I may think, isn't it easier to use Lucky Patcher and create a custom patch that just replaces the hex codes? It works and its faster i guess...whats the advantage of using this method instead?

The problem is that i wanna be able to see the original C# code changed through Reflexil to make sure the change i did in Reflexil was good, but before i can see the modified code i have to save the file, and .NET Reflector can't make the difference between "Assembly-CSharp.dll" and "Assembly-CSharp.Patched.dll", so when i open the modded assembly i can't open functions cause it mismatches them with the original assembly ones, but i can still see the IL code. I even tried other names for the patched one, and some other basic fixes. It may be a bug, but i can't determine why it does this, i can't find any info in any forum about this, and no one answers me about this problem.

Also Lucky Patcher basically creates a new .apk file with the patch applied to it (i guess it signs it automatically) that you have to install over the original game.

Which method do you think is better, in which ways does adb help the process of modding (like higher chances of success/more possibilities) other than decompiling and recompiling? Whats your opinion about the possible bug mentioned?

Updated by 0utlaw_

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

    • MARVEL Contest of Champions v53.0.0 +11++ Amazing Cheats!
      Modded/Hacked App: MARVEL Contest of Champions By Kabam
      Bundle ID: com.kabam.marvelbattle
      iTunes Link: https://itunes.apple.com/us/app/marvel-contest-of-champions/id896112560?mt=8&uo=4&at=1010lce4


      Hack Features
      - Enemy/AI Doesn't Attack
      - Special Attack/Skill Always Available
      - No Knockbacks When Hit
      - No Knockdowns When Hit
      - Enemy Doesn't Block
      - Auto Win - Whoever Attacks first, loses. Disable AI Doesn't Attack for this to work.
      - One Hit Kill / High Damage - Linked. Attack first or use with Enemy Doesn't Attack.

      Non-Jailbroken version of this hack: https://iosgods.com/topic/44075-marvel-contest-of-champions-v1311-2-cheats-for-jailed-devices/
        • Informative
        • Agree
        • Winner
        • Like
      • 3,532 replies
    • Monster Legends: Collect all Cheats v18.3.2 +8
      Modded/Hacked App: Monster Legends: Merge RPG By Socialpoint
      Bundle ID: es.socialpoint.MonsterCity
      iTunes Store Link: https://apps.apple.com/us/app/monster-legends-merge-rpg/id653508448?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

      - 1 Hit Kill
      - Skip Enemy Turn
      - Multiply Attack
      - Multiply Defense
      - Insane Score (Always 3 Stars)
      - No Skill Cost
      - Auto Win
      - Auto Play Battle Enabled for All Maps


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/140543-monster-legends-collect-all-v1778-5-cheats-for-jailed-idevices/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/176914-monster-legends-collect-all-cheats-v1779-8/
      • 380 replies
    • Dragon City - Breed & Battle! Cheats v25.11.7 +4
      Modded/Hacked App: Dragon City - Breed & Battle! By Socialpoint
      Bundle ID: es.socialpoint.dragoncity
      iTunes Store Link: https://apps.apple.com/us/app/dragon-city-breed-battle/id561941526?uo=4


      Hack Features:
      - One Hit Kill
      - God Mode 
      - Auto-Battle Unlocked

      This hack is using the new iOSGods Auto Updater. The hack will automatically update itself to the current app version you have installed on your iDevice.
      Note:
      Everything is linked with enemies, please use it carefully

      This hack works on the latest x64 or ARM64 & ARM64e iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, 11, 11 Pro, 11 Pro Max, 12, 12 Pro, 12 Pro Max, 12 Mini, 13, 13 Pro, 13 Pro Max, 13 Mini, 14, 14 Plus, 14 Pro, 14 Pro Max, SE, iPod Touch 6G, 7G, iPad Air, Air 2, iPad Pro & iPad Mini 2, 3, 4, 5, 6 and later.


      iOS Hack Download Link: https://iosgods.com/topic/129371-dragon-city-mobile-cheats-auto-updating-3-god-mode-one-hit-kill/
        • Agree
        • Haha
        • Like
      • 2,211 replies
    • Dead Ahead: Zombie Warfare Cheats v4.2.4 +4
      Modded/Hacked App: Dead Ahead: Zombie Warfare By Mobirate Studio Ltd
      Bundle ID: com.mobirate.DeadAheadTactics
      iTunes Store Link: https://itunes.apple.com/us/app/dead-ahead-zombie-warfare/id1017311881?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Freeze Coins
      - Freeze Fuels
      - Infinite Mana
      - Instant Warrior Spawn (Show timer but works)

      *NOTE: COULD CAUSE YOU BANNED FROM ONLINE TOURNAMENT, I'M NOT TAKING ANY RESPONSIBILITY. USE WISELY


      Hack Download Link:
      https://iosgods.com/topic/70815-arm64-dead-ahead-zombie-warfare-cheats-v211-4/
      #Hack #Jailbreak #Cydia #Cheat #Apple #Android #iOSGods
        • Like
      • 794 replies
    • NFL Rivals 26 Mobile Football v3.2.1 [ +3 Cheats ] AI Stupid
      Modded/Hacked App: NFL Rivals - Football Game By Mythical, Inc.
      Bundle ID: com.mythical.superteam
      iTunes Store Link: https://apps.apple.com/us/app/nfl-rivals-football-game/id1640028998?uo=4


      Hack Features:
      - AI ON Your Team 
      - Tackle 
      - No Interceptions
      • 63 replies
    • NFL Rivals 26 Mobile Football v3.2.1 [ +3 Jailed ] AI Stupid
      Modded/Hacked App: NFL Rivals - Football Game By Mythical, Inc.
      Bundle ID: com.mythical.superteam
      iTunes Store Link: https://apps.apple.com/us/app/nfl-rivals-football-game/id1640028998?uo=4


      Hack Features:

      - AI ON Your Team 
      - Tackle No
      - No Interceptions
      • 54 replies
    • City Of Survivors v1.5.5 [+6 Jailed Cheats]
      Modded/Hacked App: City Of Survivors By Chengdu Pengfei Network Technology Co., Ltd.
      Bundle ID: com.gatherfun.cityofsurvivors
      App Store Link: https://apps.apple.com/us/app/city-of-survivors/id6743288723?uo=4



      Important


      Do not enable feautures on loading screen or do not keep enabled if you leave game.

      If you leave game without disabling features or enable on loading screen game will be crash.

       

      🤩 Hack Features

      - Add Gold
      - Add Diamond
      - Add Wood
      - Add Plank 
      - Add Explore Token
      - Add Skip Ads Coupon
      • 26 replies
    • City Of Survivors v1.5.5 [+6 Cheats]
      Modded/Hacked App: City Of Survivors By Chengdu Pengfei Network Technology Co., Ltd.
      Bundle ID: com.gatherfun.cityofsurvivors
      App Store Link: https://apps.apple.com/us/app/city-of-survivors/id6743288723?uo=4



      Important


      Do not enable feautures on loading screen or do not keep enabled if you leave game.

      If you leave game without disabling features or enable on loading screen game will be crash.

       

      🤩 Hack Features

      - Add Gold
      - Add Diamond
      - Add Wood
      - Add Plank 
      - Add Explore Token
      - Add Skip Ads Coupon
      • 57 replies
    • Good Coffee, Great Coffee v1.6.1 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Coffee, Great Coffee By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.coffeebusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-coffee-great-coffee/id1603584945?uo=4
       


      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Brew Points
      - Unlimited Daily Rewards
      - All Decor Unlocked
      - All Equipment Unlocked
      - All Equipment Upgrades Unlocked
      - All Shop Upgrades Unlocked
      - Perfect Drinks
      • 117 replies
    • Good Coffee, Great Coffee v1.6.1 +8 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Coffee, Great Coffee By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.coffeebusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-coffee-great-coffee/id1603584945?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Brew Points
      - Unlimited Daily Rewards
      - All Decor Unlocked
      - All Equipment Unlocked
      - All Equipment Upgrades Unlocked
      - All Shop Upgrades Unlocked
      - Perfect Drinks
        • Informative
      • 85 replies
    • Cozy Town: Build Explore Game v2.2.0 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Cozy Town: Build Explore Game By Sparkling Society Games B.V.
      Bundle ID: com.sparklingsocietysims.cozytownbuildexploregame
      iTunes Store Link: https://apps.apple.com/us/app/cozy-town-build-explore-game/id6657973290?uo=4


      Hack Features:
      - Unlimited Currencies -> Spend some.


      Jailbreak required hack(s): [Mod Menu Hack] Cozy Town: Build Explore Game v1.3.3 +1++ Cheat [ Unlimited Currencies ] - 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/
      • 3 replies
    • Goblins Wood: Tycoon Idle Sim v2.53.1 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Goblins Wood: Tycoon Idle Sim By ProGamesLab LTD
      Bundle ID: idle.goblins.wood.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/goblins-wood-tycoon-idle-sim/id6446766326?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Cheat [ Unlimited Currencies ] - 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/
      • 48 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