This is to fix Gameloft games that have a license loop. Like Asphalt 7 not working on some Android 4.1 tablets.
Do this only if Gameloft games have trouble with the license check!!! Some custom firmwares may include this already. Some newer stock firmwares maybe already fixed too.
You cannot use a framework.jar from a different brand/model tablet. Doing so will stop your tablet from booting.
Require
#1. Java. I installed version 1.6. Not sure if newer will work or not.
#2. A fixed version of TelephonyManager.smali
TelephonyManager.zip (5.32K)
Number of downloads: 205
Instructions
#1. Download & install APK Multi Tool
http://apkmultitool.com/
APK Manager should work too if you already have that installed.
#2. Run APK Multi Tool to create some new folders. You may have to exit it the first time.
#3. Copy framework.jar from your tablet's /system/framework folder into place-apk-here-for-modding
#4. Rename framework.jar to framework.apk
#5. In APK Multi Tool, set heap size (option #22) to 160, 192 or 256 MB if you are low on RAM. Default is 512 MB.
#6. Choose #24 and select framework.apk
#7. Choose #9 to decompile. The decompiled version goes into projects folder.
#8. Replace TelephonyManager.smali with fixed version. You will find it in projects\framework.apk\smali\android\telephony
#9. Choose #11. This will recompile the file with name System_framework.apk and put it into place-apk-here-for-modding folder
#10. You can rename to framework.jar and go to step #11 but should really zipalign it first. I cannot get zipalign to work with the program so I do it from command line. In other folder is zipalign.exe. Get to command line and go into place-apk-here-for-modding folder.
Type: ..\other\zipalign -v 4 System_framework.apk framework.jar
That should zipalign and rename it to framework.jar.
#11. Copy over the new framework.jar to your tablet replacing the original one already in /system/framework
#12. Reboot your tablet & now ALL Gameloft games should work
PS, I saw replacing TelephonyManager.smali mentioned by Christian Troy in one of his posts but I have no idea if he came up with it or not.
Edit 1:
changed out TelephonyManger.zip from zip-bzip2 to zip-deflate to be compatible with Windows OS and other zip programs.
Edit 2:
I have tested this on N80 (RK3066). I know for sure that it works on RK3066 tablets but should work for other ARM chips too though no one has confirmed it yet.
Tablet should boot and work with this fix but best to add in a warning anyways.
WARNING
Everyone does this fix at their own risk!!! Tablet may fail to start and require adb or firmware reflash to fix!!! Backup your apps to micro-SD card before trying this fix out.
Edit 3:
This fix is for deodexed framework. Changing odexed framework will cause unpredictable results.
This post has been edited by Nickos-V: 02 February 2013 - 01:23 PM

Help

This topic is locked














