Been trying at this for over a week, and I'm able to modify the needed sections, however I'm running into a major issue while trying to recompile the APK that is making the whole task atrocious. So I've sucked up my pride and am asking for help from other people.
I've been tasked with RE'ing an android app that has been giving me issues. To date, I've been able to decompile and recompile the app into an "almost working" apk. Without modifying anything, recompiling the app is fine, but when I try to run it on the AVM or an actual test device, it crashes repeatedly with a stack trace due to the following:
2173-2173/com.[removed].[removed] E/[removed]﹕ java.lang.UnsatisfiedLinkError: Native method not found: com.[removed].crypto.openssl.OpenSSLWrapper.GenerateSeedHash:([BLjava/lang/String;)[B
I've removed the apk name as it is work-related information and hopefully not necessary to solving the issue.
Right before I get the stack trace, I've noticed a bit more of information that might be helpful:
04-27 12:00:07.599 2173-2173/com.[removed].[removed] ﹕ CPU -- Arch same ? -> true
04-27 12:00:07.599 2173-2173/com.[removed].[removed] : libcrypto.so.1.0.0 already exists
04-27 12:00:07.599 2173-2173/com.[removed].[removed] ﹕ CPU -- Arch same ? -> true
04-27 12:00:07.599 2173-2173/com.[removed].[removed] ﹕ libssl.so.1.0.0 already exists
04-27 12:00:07.599 2173-2173/com.[removed].[removed] D/dalvikvm﹕ Trying to load lib /data/data/com.[removed].[removed]/files/libcrypto.so.1.0.0 0xb310e1f0
04-27 12:00:07.609 2173-2173/com.[removed].[removed] D/dalvikvm﹕ Added shared lib /data/data/com.[removed].[removed]/files/libcrypto.so.1.0.0 0xb310e1f0
04-27 12:00:07.609 2173-2173/com.[removed].[removed] D/dalvikvm﹕ No JNI_OnLoad found in /data/data/com.[removed].[removed]/files/libcrypto.so.1.0.0 0xb310e1f0, skipping init
04-27 12:00:07.619 2173-2173/com.[removed].[removed] D/dalvikvm﹕ Trying to load lib /data/data/com.[removed].[removed]/files/libssl.so.1.0.0 0xb310e1f0
04-27 12:00:07.619 2173-2173/com.[removed].[removed] D/dalvikvm﹕ Added shared lib /data/data/com.[removed].[removed]/files/libssl.so.1.0.0 0xb310e1f0
04-27 12:00:07.619 2173-2173/com.[removed].[removed] D/dalvikvm﹕ No JNI_OnLoad found in /data/data/com.[removed].[removed]/files/libssl.so.1.0.0 0xb310e1f0, skipping init
Any help is extremely appreciated as it's been quite some time tinkering, googling, etc. and I've had no success of getting the APK to run without issue.
Thanks all