Comments (3)
Fixed with 74e9bd2. Removed compressing from resources.arsc
from instagram-ssl-pinning-bypass.
Failure [-124: Failed parse during installPackageLI: Targeting R+ (version 30 and above) requires the resources.arsc of installed APKs to be stored uncompressed and aligned on a 4-byte boundary]
I think you are still compressing resources.arsc.
In the new Android sdk I changed zipalign -p -f 4 , please not the -p argument is required now. But for some reason it doesn't work still with your python script
It might be useful take a look at my script that I use everyday with IG etc... it copies the raw res files and compile/replace just the edited classes.dex, zipalign, sign and install.
Edit "my_path" of your tools and "nome"(name) of your apk.
Note: I have those sub paths: apks(original apk), apks_d(decompiled by apktool) and apks_s(signed)
Run:
aut.bat classes classes2
set my_path=C:\Users\miki\Michele\APK
set nome=Instagram_237.0.0.14.102-363704332
rem set classes=classes4 classes3 classes2 etc... lista delle classi
set classes=%*
for %%a in (%classes%) do (if %%a==classes (java -Xmx3000m -jar %my_path%\smali-2.5.2.jar ass %my_path%\apks_d\%nome%\smali -o %my_path%\apks_d\%nome%\%%a.dex) else (java -Xmx3000m -jar %my_path%\smali-2.5.2.jar ass %my_path%\apks_d\%nome%\smali_%%a -o %my_path%\apks_d\%nome%\%%a.dex))
if not exist %my_path%\apks_s\NUL mkdir %my_path%\apks_s\
COPY "%my_path%\apks\%nome%.apk" "%my_path%\apks_s\toalign%nome%.apk" /Y
for %%a in (%classes%) do 7za.exe a -tzip %my_path%\apks_s\toalign%nome%.apk %my_path%\apks_d\%nome%\%%a.dex
%my_path%\zipalign.exe -p -f 4 %my_path%\apks_s\toalign%nome%.apk %my_path%\apks_s\zipaligned%nome%.apk
del %my_path%\apks_s\toalign%nome%.apk
java -Xmx1024m -jar %my_path%\apksigner.jar sign --ks %my_path%\XXXX.jks --ks-pass pass:XXXXX --in %my_path%\apks_s\zipaligned%nome%.apk --out %my_path%\apks_s\signed%nome%.apk
del %my_path%\apks_s\zipaligned%nome%.apk
del %my_path%\apks_s\signed%nome%.apk.idsig
adb.exe install -r %my_path%\apks_s\signed%nome%.apk
from instagram-ssl-pinning-bypass.
UPDATE:
- I just solved the issue with resources.arsc, adding it uncompressed as ZIP_STORE".
- Improved zipalign for new android versions, adding -p to ensure that they're aligned to a 4KiB page boundary suitable for mmap(2)
see my pull request and let me know.
Anyway, as the itsMoji and my version, your version has our same issue. when close the app and reopen it doesn't load anymore the pictures. There is some internal check to bypass, we should investigate on it
from instagram-ssl-pinning-bypass.
Related Issues (20)
- [QUESTION] it's can work on threads app? HOT 1
- Is gadget injected into threads? HOT 2
- [BUG] Cannot install lief
- [BUG] Cannot find libliger.so HOT 1
- [BUG] Patched apk doesn't open HOT 8
- instagram lite HOT 1
- Facebook Lite?
- Help Needed for capturing traffic
- [BUG] Aborted connection to gateway.instagram.com and some other caused permanent ban HOT 1
- [BUG] HOT 3
- [BUG] java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48)
- keytool not installed or not in PATH HOT 1
- [BUG] Android 9 pass lasted ins version fail
- [BUG] Bypass is not work after login to account and re-open the app HOT 1
- no response and session terminated error
- Bypass instagram lite HOT 1
- sOLVed
- [BUG] ZAProxy shows no requests logs using Frida SSL bypass script on Instagram v320 HOT 15
- [BUG] Erro when start HOT 1
- Not working on Recent versions of Instagram app (Version 330) - Maybe Update Needed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instagram-ssl-pinning-bypass.