[Connected Car] donaldta:
Okay, so I went ahead and tried using the masterkey bash script on Knoppix Live CD with the Android SDK installed. Here are two files which were created using the Smart's Asteroid Messenger from the Asteroid Market as a base while merging it into Framaroot 1.6.1 from the XDA thread. By default the bash script merges everything including the META-INF directory. So, I used a ziptool to delete the files in META-INF directory from Framaroot that way it would only have the set from Asteroid Messenger for one of the versions.

FramarootMessenger.apk - only has certs from Asteroid Messenger

MessengerFramaroot.apk - has certs from both Asteroid Messenger and Framaroot

Honestly, I don't know if either will install since it has yet to be verified whether the unmodified version of the APK will install in the SCT in the first place. If neither of these will install then test the unmodified and unencrypted version from my earlier post. This would tell us whether Parrot uses the same keystore to sign apps for the Asteroid vs SCT. If they don't use the same key then perhaps we'll need to modify the SCT version if it exists or perhaps another APK with the same directory structure.

EDIT: Okay, nevermind. I tested the apk on my own Smart after removing Asteroid Messenger and Framaroot. I kept getting the, "Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]" error message regardless if one or both of the certs were embedded from each package. Looking behind the scenes, I saw that the following error:

10-26 12:40:41.852: E/PackageParser(1301): Package com.alephzain.framaroot has no certificates at entry res/layout/activity_frama.xml; ignoring!

So, I removed that from the Framaroot.apk before merging and got a different error message during the install:

10-26 12:49:30.592: E/PackageParser(1301): Package com.alephzain.framaroot has no certificates at entry res/drawable-hdpi/ic_launcher.png; ignoring!

I then deleted it but this process continued for each file in that directory it was gone then the next version came up with this error:

10-26 12:56:53.262: E/PackageParser(1301): Package com.alephzain.framaroot has no certificates at entry lib/armeabi/libframalib.so; ignoring!

After I finally deleted that one and remerged the APKs, I tried it again:

C:\>adb install F:\evil-1355478240
--ASTEROID_Messenger_1.100.53.apk
1975 KB/s (4220286 bytes in 2.086s)
pkg: /data/local/tmp/evil-1355478240--ASTEROID_Messenger_1.100.53.apk
Success

There were no error messages in the logcat either except for

10-26 13:03:24.542: W/PackageManager(1464): Failure retrieving icon 0x7f020000 in package com.alephzain.framaroot

Framaroot was the only application that installed. Except it had a generic icon but that was to be expected since it was deleted from the original APK. However, starting the app responded with the following error message, "Sorry! The application Framaroot (process com.alephzain.framaroot) has stopped unexpectedly. Please try again. [Force Close]" and here are the relevant error messages from logcat

10-26 13:20:54.622: I/ActivityManager(1301): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.alephzain.framaroot/.FramaActivity } from pid 1464
10-26 13:20:54.722: I/ActivityManager(1301): Start proc com.alephzain.framaroot for activity com.alephzain.framaroot/.FramaActivity: pid=6520 uid=10043 gids={1006}
10-26 13:20:55.022: W/dalvikvm(6520): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/alephzain/framaroot/FramaActivity;
10-26 13:20:55.022: W/dalvikvm(6520): Class init failed in newInstance call (Lcom/alephzain/framaroot/FramaActivity;)
10-26 13:20:55.072: E/AndroidRuntime(6520): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load framalib: findLibrary returned null
10-26 13:20:55.072: E/AndroidRuntime(6520):	at com.alephzain.framaroot.FramaActivity.<clinit>(FramaActivity.java:88)
10-26 13:20:55.172: W/ActivityManager(1301): Force finishing activity com.alephzain.framaroot/.FramaActivity
10-26 13:20:55.692: W/ActivityManager(1301): Activity pause timeout for HistoryRecord{40b73450 com.alephzain.framaroot/.FramaActivity}
10-26 13:21:06.722: W/ActivityManager(1301): Activity destroy timeout for HistoryRecord{40b73450 com.alephzain.framaroot/.FramaActivity}

Looking back at johnnie_w's original modified Wikango apk, it too is missing many of the files from the Framaroot apk's sub-directories, it would appear that he might have gone through the same process of elimination but did not bother to tell us. :(