T-REX: Playing with Dino!

I hardly play the dino game which is created by Google and is available in Chrome browser for playing while there is no Internet connection. But the game itself is popular and can be found in different platforms. Recently I’ve changed two of them and now cacti and birds are ineffective.

Simple JavaScript Version

There are lots of free versions of the game. Take this one for example. The java script code is pretty formatted and ready to be deactivated!

Dino 1

Medium Android Version

I’ve faced with an Android version of the game. So started to find where the game finishes. Based on JADX decompiler, the following code was the main part of detecting game over.

Dino 2

Based on Smali Code Injection techniques, I’ve deactivated the functions. Now the Dino can run freely both in JavaScript and Android!

Mir Saman

I'm currently an IT PhD. candidate at Urmia University. I'm interested in Social Network Analysis, Big Data Mining, and NLP in my academical field as well as Guitar, Nature, and Android!
View all posts by Mir Saman