02-12-2016, 07:28 PM (This post was last modified: 02-12-2016, 07:43 PM by hmiem81.)
I'm working on getting my kid's Innotab content moved over to other equipment. All legally bought games and I have one Innotab Max to create the APK files. When I get the files over to the other devices (Android tablet) the app launches and is in the launcher but it closes immediately back to the home screen. Logcat attached. Seems like it has a lot of parent errors. Does anyone know if it has a "master" APK on the device that it calls to when you load these games? Anyone had any luck with moving any other files from the Max over to another platform?
02-13-2016, 12:02 PM (This post was last modified: 02-13-2016, 12:33 PM by is0-mick.)
I think there's a method that does a couple of checks in the APK (on some games).
The names are obfuscated, but from what I remember, it checks a couple of things like the prop file to see what platform the apk is running on. method(a.c ?) can't remember 100% was a few months back.
But basically if you modify that method to return true, that's pretty much it.
I had a quick look again, and I think its com.vt.c.a method a():boolean
patch that to just return true. I think I used d2j-jar2jasmin then edited the jasmin code to load and return 1.
There's probably an easier way tho..
02-15-2016, 07:54 AM (This post was last modified: 02-15-2016, 07:55 AM by hmiem81.
Edit Reason: Misspelled
So I'm gonna guess the apk is self contained and has a hardware check from what you said. After the patch does the apk need to be resigned or did you use a rooted tablet so that it wouldn't require a signed apk?
(02-15-2016, 11:58 AM)is0-mick Wrote: Just edit it in notepad++.
(file I was editing was /com/vtech/innotab/a/a.j)
Look for the existing .method public a()Z and replace all of that method with something like:
.method public a()Z
The code above basically says.. Load 1, and return it (true).
I resigned the package afterwards.
I hope you are still around and looking at this but here I go. I finally got around to getting to this and it seems to actually be in /com/vtech/innotab/c/a.j that has the instruction set that you have outlined. I have it modified through jar2jasmin but that is where I am stuck. When I go to compile the file back to jar it throws up an error about the existing code.
line 16:4 mismatched character "" expecting '''
line 16:12 no viable alternative at input ':'
line 16:13 no viable alternative at character '/'
line 16:14 no viable alternative at character '/'
it shows a bunch of issues with the code at certain places. Have you run into this? Any clue where I can go from here to get the files recoded? Any help would be appreciated. I feel like I am so close.
Yep, still around may be not quite as often as I used to be tho...
Looks like its not been edited correctly. Might want to try just decompiling and re-compiling first without any changes, see if the problem is with your edit or the decompiling / recompiling process.
It's been a fair while since I looked at any of this...