Kraken Eradicator
an ANTI ANTI-PIRACY fix, for custom roms
the issue: nowadays, many custom rom devs, embed "anti-piracy" protection into their rom ( like AntiPiracySupport by ContentGuard )
this causes the rom to be SLOWER, and adds unwelcome malware-like behavior like echoing sound of a pirate at random, showing icons of "middle finger" or a "Aaar-rrggghhh pirate" on the QS tiles or lockscreen and disables/hurt basic operations of apps like LP, uret etc which can be used to simply disable ads ( that CAN NOT be disabled COMPLETELY by adaway etc.. ) or just theme an app through custom patches.
in summery, these rom devs hijack your phone with additional services, sound & images files, making your phone bloated as hell.
Possible solutions & their cons:
thus, A new solution was born: Meet the "Kraken Eradicator"
Pros:
V17 (ODEX & DEODEX support): DOWNLOAD LINK HERE
Decryption key (NOTE: manually change LAST char to CAPITAL letter):
V14: DOWNLOAD LINK HERE
Decryption key (NOTE: manually change the char BEFORE THE LAST to CAPITAL letter):
V12: DOWNLOAD LINK HERE
Decryption key (NOTE: manually change LAST char to SMALL letter):
IMPORTANT NOTES:
UPDATES:
an ANTI ANTI-PIRACY fix, for custom roms
the issue: nowadays, many custom rom devs, embed "anti-piracy" protection into their rom ( like AntiPiracySupport by ContentGuard )
this causes the rom to be SLOWER, and adds unwelcome malware-like behavior like echoing sound of a pirate at random, showing icons of "middle finger" or a "Aaar-rrggghhh pirate" on the QS tiles or lockscreen and disables/hurt basic operations of apps like LP, uret etc which can be used to simply disable ads ( that CAN NOT be disabled COMPLETELY by adaway etc.. ) or just theme an app through custom patches.
in summery, these rom devs hijack your phone with additional services, sound & images files, making your phone bloated as hell.
Possible solutions & their cons:
- AntiPiracy, checkmate - xposed based solution -> thus, not applicable to nougat+ roms, at all, since no xposed for N is available at all ( not even alpha )
- Disable specific service using apps(like cn.wq.disableservice): does not necessary fully solves the anti-piracy protection - youtube is full with comments proofs
thus, A new solution was born: Meet the "Kraken Eradicator"
Pros:
- it works for Nougat roms(and lower), NO xposed is needed.
- 100% block/disable any anti-piracy protection, since NO targeted apps (like LP, uret etc ) are being recognized as installed, due to modification of system core files.
thus, no need to disable various services or install any services disabler-apps for that matter, since the services are not running at all since no targeted apps being recognized.
- *in the MEANTIME* - no support for ODEX roms, it's WIP.
- can't be updated on daily basis to deal with 0-day changes in nightly updates of roms.
I.E -> if you're a coder & not a kraken yourself - CONTACT ME - I'M LOOKING FOR PARTNERS IN CODE
V17 (ODEX & DEODEX support): DOWNLOAD LINK HERE
Decryption key (NOTE: manually change LAST char to CAPITAL letter):
Code: Select all
!bvfSg34FDHBc3h0wz73cu07dRC0TfxAOfs2ScXk8gOq
V14: DOWNLOAD LINK HERE
Decryption key (NOTE: manually change the char BEFORE THE LAST to CAPITAL letter):
Code: Select all
!bAfn0mozdbwzI9xPhIs7L206AMquqDKUctcRJ9H6Ur0
V12: DOWNLOAD LINK HERE
Decryption key (NOTE: manually change LAST char to SMALL letter):
Code: Select all
* key not working even after changing last letter? -> try to remove the opening exclamation-mark char, if exist.!SBFeXVTF9bNfYzvgpGLfRauV4VVvqc_XJq7g_kR3XIW
IMPORTANT NOTES:
- YOU MUST BE ROOTED and have TWRP recovery.
- ARCH support(i.e kernel type): in the meantime: ARM & ARM64 devices only!
(thankfully, I haven't seen krakening on roms devices with x86/x86_64, since they barely get custom roms as is) - IN THE MEAN TIME - ONLY DEODEX ROM SUPPORTED.
(i.e that do NOT have /system/framework/arm or arm64 folders and many OAT files under them.
ODEX ROMS support is WIP - it will take some time, DO NOT ASK FOR ETA !
i'm a VERY BUSY MAN, and I CODE IN MY REALLY SHORT SPARE TIME. - WHEN YOU INSTALL THIS ZIP IN RECOVERY - LET IT WORK FOR AT LEAST 5 MIN !
the script runs hex pattern search on a ~10mb file... this takes time ! - you MUST re-install this zip every time you wipe /system partition, like when manually performing OTA/dirty or semi-dirty flashing of your rom.
( i.e NO NEED, to run this script again after dalvik&cache wipe, BUT a dalvik&cache wipe is a MUST after installing this script ! ) - YOU MUST WIPE DALVIK&CACHE AFTER YOU INSTALL THIS SCRIPT !
( don't say I didn't mentioned that in BOLD ! )
UPDATES:
- 17 Jun 17 - version 17
- Faster code execution for ODEX roms
- 17 Jun 16 - version 16
- !!!! ODEX ROM SUPPORT IS FINALLY HERE !!!!
- Have your rom dev wrote in the changelog that they've enabled "Dexpreopt" ? -> Now you can eliminate this kraken !
- Do you have arm or arm64 folder under /system/framework ? -> Now you can eliminate this kraken !
- DE-ODEX support is still exist... the script works for both ODEX (DexPreOpt enabled) and DEODEX Roms.
- !!!! ODEX ROM SUPPORT IS FINALLY HERE !!!!
- 24 May 17 - version 14
- added small compatibility with latest kraken's list changes
- 19 May 17 - version 13
- It should now work with LESS bugs for arm64 - but i'm unsure if it works for arm as well.
-> therefor I publish v12 ( good for arm ) as well as v13 ( should have better compatibility for arm64 )
This change required the addition of 'bash for arm64', so +2Mb to the KrakenE total zip file size. - added small compatibility with latest kraken's list changes
- It should now work with LESS bugs for arm64 - but i'm unsure if it works for arm as well.
- 8 May 17 - version 12
- FIX an issue with v11 which was not working for arm64 due too wrong aux tool aarch.
so now two arch tools attached in the flashable zip for each arm/arm64. - Because of above change, zipping compression ratio change to max -> meaning I can't make the flashable zip less then ~1.7MB... which is really nothing to worry about in comparison to your rom's flashable zip of ~1GB size !
- FIX an issue with v11 which was not working for arm64 due too wrong aux tool aarch.
- 7 May 17 - version 11
- Smaller aux tools size + more optimized script = total flashable zip size reduced
- Even less mambo-jambo log output = more human readable log output
- 4 May 17 - version 10
- shorter, more human readable log output
- more robust flashable-restore-file creator
- 30 Apr 17 - version 9
- more funky strings, the more krakens are in the deeps and not on your boat !
- AUTO-BACKUP CREATOR:
Tried of reflashing /system due too Kraken's changes to the system ? no more !
now it AUTO creates a flashable-zip under /sdcard named "KrakenE_RESTORE".
if you wish to revert KrakenE'S changes, simply flash that restoration zip
Please note that KrakenE script OVERWRITE any previous /sdcard/KrakenE_RESTORE.zip.
thus, if you care about previous backups, just rename them PRIOR to flashing again KrakenE !
- 29 Apr 17 - version 8
- FINALLY ! the script is now a binary !
* Pros:- Even faster execution of script !
- Krakens are left REALLY hungry now... good luck with rev-eng my boat !
- FINALLY ! the script is now a binary !
- 27 Apr 17 - version 6
- Script re-written to be more dynamic toward any new kraken's foul strings.
- WAY FASTER script execution ( now ~15sec (!), before ~3min)
- still NO ODEX roms support, but now the script is bit more orginized to get such support in the future.
- 26 Apr 17
- bah...last update was not working as it should...
string replacement does really works, since const strings in dex aren't just limited for one place in the code, they can also be used as a field name, other similar string etc..etc...
so although now I got more dynamic script... I still need to think of a way to bypass that non-singular usage of strings I edit in the dex.
so, right now, back to square 1, i.e static replacement of string ( call some other weird X string instead of LP/uret etc ) - this solution works good... but is really static, per-rom-release-version, although it uses hex pattern search with "??"...
T.B.C.... fight against the kraken is NOT done.... i'll continue in my spare time ( which isn't much at all ) to look for the rum.
- bah...last update was not working as it should...
- 25 Apr 17
- It should be compatible with latest 'fuckySnatchers' & 'mThreeLeafClovers' changes.
- IMPORTANT NOTE: it is only compatible with DEODEX roms, i.e roms that do NOT have optimized "oat" files under /system/framework/arm or arm64 ( which are ODEX roms )
solution for ODEX rom is WIP.
Last edited by night_mare007 on Jun 19th, 2017, 1:25 am, edited 74 times in total.