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
  On 12/19/2017 at 4:40 PM, 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

Expand  

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

Posted
  On 12/19/2017 at 4:46 PM, TheArmKing said:

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

Expand  

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
  On 12/19/2017 at 4:14 PM, 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...

Expand  

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

 

  On 12/20/2017 at 2:37 AM, 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?

Expand  

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

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
  On 12/21/2017 at 2:14 PM, 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

Expand  

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)
  On 12/22/2017 at 2:16 PM, 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

 

 

Expand  

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

    • Merge & Blast: Dream Island v2.20.0 [ +2 Cheats ] Auto Win
      Modded/Hacked App: Merge & Blast: Dream Island By Dreamo, Inc.
      Bundle ID: com.dreamo.woodyblast
      iTunes Store Link: https://apps.apple.com/us/app/merge-blast-dream-island/id1668748189?uo=4


      🤩 Hack Features

      - Auto Win
      - Coin + Moves [ Disable After Get ]




      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 10 replies
    • Merge & Blast: Dream Island v2.20.0 [ +2 Jailed ] Auto Win
      Modded/Hacked App: Merge & Blast: Dream Island By Dreamo, Inc.
      Bundle ID: com.dreamo.woodyblast
      iTunes Store Link: https://apps.apple.com/us/app/merge-blast-dream-island/id1668748189?uo=4

       

      🤩 Hack Features

      - Auto Win
      - Coin + Moves [ Disable After Get ]




      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 15 replies
    • Match Villains v1.28.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Match Villains By Good Job Games Bilisim Yazilim ve Pazarlama AS
      Bundle ID: com.goodjobgames.matchvillains
      iTunes Store Link: https://apps.apple.com/us/app/match-villains/id6479752688?uo=4
       

      🚀 Hack Features

      - Coins
      - Lives
      - Moves Freeze
      - Booster


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 13 replies
    • Match Villains v1.28.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Match Villains By Good Job Games Bilisim Yazilim ve Pazarlama AS
      Bundle ID: com.goodjobgames.matchvillains
      iTunes Store Link: https://apps.apple.com/us/app/match-villains/id6479752688?uo=4
       

      🚀 Hack Features

      - Coins
      - Lives
      - Moves Freeze
      - Booster


      🍏 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/
      • 18 replies
    • Pocket Necro v1.5.2 [ +11 Cheats ] Gold Unlimited
      Modded/Hacked App: Pocket Necromancer By Sandsoft Publishing Company
      Bundle ID: com.quicksand.pocketnecromancer
      iTunes Store Link: https://apps.apple.com/us/app/pocket-necromancer/id6450004790?uo=4


      Hack Features:
      - ADS NO [ Reward Fee ]

      - Premium Active

      - Energy Cost 0

      - Energy Increaser

      - Gold Unlimited [ Win Battle ] Rewards

      - Stage Unlocked

      - Chapter Unlocked +2

      - Play Any [ Stage & Ch ]

      - Never Die

      - DMG

      - Speed Mov

      - Bullet Max [ Works With Weapon Only Just Equip ]


      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/
      • 49 replies
    • Pocket Necro v1.5.2 [ +11 Jailed ] Gold Unlimited
      Modded/Hacked App: Pocket Necromancer By Sandsoft Publishing Company
      Bundle ID: com.quicksand.pocketnecromancer
      iTunes Store Link: https://apps.apple.com/us/app/pocket-necromancer/id6450004790?uo=4


      Hack Features:

      - ADS NO [ Reward Fee ]

      - Premium Active

      - Energy Cost 0

      - Energy Increaser

      - Gold Unlimited [ Win Battle ] Rewards

      - Stage Unlocked

      - Chapter Unlocked +2

      - Play Any [ Stage & Ch ]

      - Never Die

      - DMG

      - Speed Mov

      - Bullet Max [ Works With Weapon Only Just Equip ]

       
      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
        • Like
      • 54 replies
    • Turret Defense King v1.2.20 [ +9 Cheats ] Gold Max
      Modded/Hacked App: Turret Defense King By MOBIRIX
      Bundle ID: com.mobirix.tdwt
      iTunes Store Link: https://apps.apple.com/us/app/turret-defense-king/id6480586157?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free]

      - Gold [ Revive To Get ]

      - Battle Coins [ Enemy Drop Kill ]

      - Tower Cost [ Earn Battle Coins ]

      - Enemy Max [ Only Stage Mod] Easy Win

      - Wave Max [ Only Stage Mod] Easy Win

      - Tower DMG [ Just Rebuild & Upgrade ]

      - Tower ATK Range

      - Tower Fire Rate
      • 13 replies
    • Turret Defense King v1.2.20 [ +9 Jailed ] Gold Max
      Modded/Hacked App: Turret Defense King By MOBIRIX
      Bundle ID: com.mobirix.tdwt
      iTunes Store Link: https://apps.apple.com/us/app/turret-defense-king/id6480586157?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free]

      - Gold [ Revive To Get ]

      - Battle Coins [ Enemy Drop Kill ]

      - Tower Cost [ Earn Battle Coins ]

      - Enemy Max [ Only Stage Mod] Easy Win

      - Wave Max [ Only Stage Mod] Easy Win

      - Tower DMG [ Just Rebuild & Upgrade ]

      - Tower ATK Range

      - Tower Fire Rate
      • 14 replies
    • Tower Rush - Tower Defense TD v2.0.1 [ +2 Cheats ] AI Freeze
      Modded/Hacked App: Tower Rush - Tower Defense TD By Raw Sunshine, LLC
      Bundle ID: com.sunshine.towerrushlegend
      App Store Link: https://apps.apple.com/us/app/tower-rush-tower-defense-td/id6455461456?uo=4

       

      🤩 Hack Features

      - Elixir Freeze
      - AI Freeze [ Can't Place The Tower ] 

        • Agree
      • 10 replies
    • Tower Rush - Tower Defense TD v2.0.1 [ +2 Jailed ] AI Freeze
      Modded/Hacked App: Tower Rush - Tower Defense TD By Raw Sunshine, LLC
      Bundle ID: com.sunshine.towerrushlegend
      App Store Link: https://apps.apple.com/us/app/tower-rush-tower-defense-td/id6455461456?uo=4
       

      🤩 Hack Features

      - Elixir Freeze
      - AI Freeze [ Can't Place The Tower ]

      • 3 replies
    • Royal Kingdom v19048 [ +9 Jailed ] Auto Win
      Modded/Hacked App: Royal Kingdom By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/us/app/royal-kingdom/id1606549505?uo=4


      Hack Features:

      - Coins [ Win Match ]

      - Potions

      - Lives Free

      - Booster Max

      - ViP Frame Unlock

      - Kingdom Pass Free

      - District unlock [ One Task Only ]

      - Auto Win [ Just One Move ]

      - Colour Spawn [ Blue Green Red Yellow Pink Orange ] Choose One Only


      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/
      • 52 replies
    • Royal Kingdom v19048 [ +9 Cheats ] Auto Win
      Modded/Hacked App: Royal Kingdom By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/us/app/royal-kingdom/id1606549505?uo=4



      Hack Features:
      - Coins [ Win Match ]

      - Potions

      - Lives Free

      - Booster Max

      - ViP Frame Unlock

      - Kingdom Pass Free

      - District unlock [ One Task Only ]

      - Auto Win [ Just One Move ]

      - Colour Spawn [ Blue Green Red Yellow Pink Orange ] Choose One Only


      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/
        • Thanks
        • Winner
      • 43 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