A prompt to boost your lazy "do this" prompts. Install with one of the buttons below.
MIB2 firmware containts MMX2\app\70\default\app.img file which containts QNX6 filesystem1 that can be mounted in Ubuntu with
sudo mount -o loop -t qnx6 ~/MHI2_ER_AUG22_K3346_MU1438/app.img ~/app
For manipulating ifs files we need dumpifs and exMifsLzo (as main.stage2.ifs.lzo is LZO compressed)
git clone https://github.com/FrancisHoogendijk/dumpifs
app.img also contains imagefs section ↩
Migrated with additional information to my blog: https://msfjarvis.dev/posts/understanding-and-resolving-selinux-denials-on-android/
Denial in question
avc: denied { read write } for pid=29059 comm="i.tetherservice" name="ipa" dev="tmpfs" ino=11991 scontext=u:r:system_app:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file permissive=0
sepolicy fix
| #include <iostream> | |
| #include <openssl/aes.h> | |
| #include <openssl/evp.h> | |
| #include <openssl/rsa.h> | |
| #include <openssl/pem.h> | |
| #include <openssl/ssl.h> | |
| #include <openssl/bio.h> | |
| #include <openssl/err.h> | |
| #include <assert.h> |
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
| #!/bin/bash | |
| # Sometimes you need to move your existing git repository | |
| # to a new remote repository (/new remote origin). | |
| # Here are a simple and quick steps that does exactly this. | |
| # | |
| # Let's assume we call "old repo" the repository you wish | |
| # to move, and "new repo" the one you wish to move to. | |
| # | |
| ### Step 1. Make sure you have a local copy of all "old repo" | |
| ### branches and tags. |