Post Reply

Phone [APP][MOD] Cerberus 2.3 Hidden from Play Store

OP inh

5th December 2012, 05:53 PM   |  #1  
OP Member
Thanks Meter: 31
 
64 posts
Join Date:Joined: Jan 2011
The hidden 'system framework' version (cerberus_disguised) is an awesome idea, unfortunately if a thief were to look at your installed apps in the play store, Cerberus would be right there in front of him. Another issue is if anyone looks in your /system/app/ directory, there is a big fat Cerberus.apk right there. Now, I know most people that steal/find phones aren't going to look this far in to it, but what if you get someone that does...

I decided to modify the package name of the installed app so it would not show up as installed in the play store. At the same time I took the liberty of naming it SystemFramework.apk to better go along with the naming of the disguised version of the app. This was the last step needed to be taken in order to really stealth install Cerberus on your phone. Since I know that I personally don't feel that great about installing modified apps from other people I decided to outline how I did it so that if you're like me, you can do it yourself If you want to cut to the chase, I've included modified versions of the standard Cerberus app, the hidden one that shows up on your device as 'System Framework', and a flashable zip to install the hidden version to /system/app/SystemFramework.apk. It doesn't get much more hidden than that!

Read on to do it yoruself. Note that you will need the android development installed.

The first step is to download the app: https://www.cerberusapp.com/download.php
I'll be working with Cerberus_disguised.apk as that is the most hidden version provided. Once it's done you can make a flashable zip of it to install it to /system so it will be harder to remove.

The first step is to decompile the app with apktool. Get that here: http://code.google.com/p/android-apktool/
Then run it:
Code:
apktool d Cerberus_disguised.apk
Now create a new project in eclipse and choose 'android project from existing code' under 'android' adn select the folder that apktool created with the decompiled app as the root directory. Just accept all the default options for everything else. Once the project is loaded and you are back in eclipse, right click on the project on the left, go down to android tools, and select 'rename application package'
I changed mine to com.notlsdroid.cerberus and then accept all the changes.

Back to the command line to recompile the apk:
Code:
apktool d Cerberus_disguised/ new_cerberus_disguised.apk
Now you need to sign it. To make things simple we will sign it with a test key so android will allow us to install it. You can not install un-signed apps. First we will need the singing tools file which I found from http://wiki.rootzwiki.com/Signing -- Get just the file here: http://goo.im/devs/drmacinyasha/wiki/signing-tools.zip

Now do the actual signing with the files from that zip:
Code:
java -Xmx1024m -jar signapk.jar -w testkey.x509.pem testkey.pk8 new_cerberus_disguised.apk new_cerberus_disguised.apk-signed.apk
You can of course use whatever .apk names you want. Now take new_cerberus_disguised.apk-signed.apk and install it. I named mine SystemFramework.apk and modified the provided Cerberus_disguised-ICS.zip file as a base to make a flashable zip. I tweaked the updater script to both remove old versions of SystemFramework.apk (in case I'm doing an update) and the stock cerberus app since I assume most people will be flashing over it. my updater-script looks like this:

Code:
show_progress(1.000000, 0);

ui_print("Mounting /system");
run_program("/sbin/busybox", "mount", "/system");
set_progress(0.125000);

ui_print("Mounting /data");
run_program("/sbin/busybox", "mount", "/data");
set_progress(0.250000);

ui_print("Deleting old APK from /system");
delete("/system/app/SystemFramework.apk");
delete("/system/app/Cerberus.apk");
delete("/system/app/com.lsdroid.cerberus.apk");
delete("/system/app/com.notlsdroid.cerberus.apk");
set_progress(0.375000);

ui_print("Deleting old APK from /data");
delete("/data/app/com.lsdroid.cerberus.apk");
delete("/data/app/com.lsdroid.cerberus-1.apk");
delete("/data/app/com.lsdroid.cerberus-2.apk");
delete("/data/app/com.notlsdroid.cerberus.apk");
delete("/data/app/com.notlsdroid.cerberus-1.apk");
delete("/data/app/com.notlsdroid.cerberus-2.apk");
set_progress(0.500000);

ui_print("Extracting files to /system");
package_extract_dir("system", "/system");
set_progress(0.625000);

ui_print("Unmounting /data");
unmount("/data");
set_progress(0.750000);

ui_print("Unmounting /system");
unmount("/system");
set_progress(0.875000);

ui_print("Installation complete!");
set_progress(1.000000);

Just replace the file names accordingly. Unzip one of the flashable zip files from the Cerberus website to your computer, replace the .apk in the system/app/ folder, and re-zip it. You can then sign it using the same procedure above but instead of specifying the input and output .apk names you specify the zip file.
Attached Files
File Type: apk Cerberus.apk - [Click for QR Code] (377.1 KB, 1005 views)
File Type: apk Cerberus_disguised.apk - [Click for QR Code] (351.1 KB, 872 views)
File Type: zip SystemFrameworkAPK.zip - [Click for QR Code] (498.8 KB, 729 views)
The Following 13 Users Say Thank You to inh For This Useful Post: [ View ]
5th December 2012, 05:57 PM   |  #2  
shockem's Avatar
Recognized Developer
Flag Singapore
Thanks Meter: 339
 
1,330 posts
Join Date:Joined: Sep 2010
Donate to Me
More
That's a great idea

Sent from my Galaxy Nexus using Tapatalk 2
5th December 2012, 06:06 PM   |  #3  
WattB006's Avatar
Senior Member
Flag Nebraska
Thanks Meter: 51
 
278 posts
Join Date:Joined: Sep 2011
More
Thumbs up
Great thinking about this. I am going to go ahead and try this once I get home. Thanks for sharing this. I will let you know if I run into any issues.
6th December 2012, 12:18 PM   |  #4  
OP Member
Thanks Meter: 31
 
64 posts
Join Date:Joined: Jan 2011
Cool, thank you. I tested it out and so far I haven't had any issues on my Nexus 4.
26th January 2013, 03:02 PM   |  #5  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jan 2013
Does this work only on rooted devices??
30th March 2013, 01:32 PM   |  #6  
Senior Member
Flag Lisboa
Thanks Meter: 12
 
106 posts
Join Date:Joined: Jul 2011
More
I've flashed your SystemFramework.apk to my N7 with CM10.1-Nightly-24032013 and it works great!! But then I tried to flash it to my Samsung Galaxy Mini (running CM10.1 also) with CWM 6.0.2.7 and I get this error:
Code:
Installing update...
E:ERROR in /sdcard/Download/SystemFrameworkAPK.zip
(Status 0)
Installation aborted.
Don't have the minimum clue about what's causing this... Does any1 have any idea?
30th March 2013, 07:15 PM   |  #7  
thatlonedude's Avatar
Senior Member
Thanks Meter: 49
 
187 posts
Join Date:Joined: Dec 2010
More
Re: [APP][MOD] Cerberus 2.3 Hidden from Play Store
Quote:
Originally Posted by tristaoeast

I've flashed your SystemFramework.apk to my N7 with CM10.1-Nightly-24032013 and it works great!! But then I tried to flash it to my Samsung Galaxy Mini (running CM10.1 also) with CWM 6.0.2.7 and I get this error:

Code:
Installing update...
E:ERROR in /sdcard/Download/SystemFrameworkAPK.zip
(Status 0)
Installation aborted.
Don't have the minimum clue about what's causing this... Does any1 have any idea?

I could be wrong but I think that means you have to redownload it
19th August 2013, 07:23 PM   |  #8  
Member
Thanks Meter: 3
 
40 posts
Join Date:Joined: Apr 2011
any update to 2.4 ?
20th August 2013, 07:42 AM   |  #9  
engel666sk's Avatar
Member
Thanks Meter: 5
 
34 posts
Join Date:Joined: Mar 2012
More
Cannot live without cerberus on my devices

Sent from my GT-N7100 using XDA Premium 4 mobile app
21st August 2013, 12:43 AM   |  #10  
Junior Member
Thanks Meter: 1
 
10 posts
Join Date:Joined: Sep 2005
it always update the Play. I have hidden version 2.3. This is not good when the update comes PlayStore

Koubi

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Apps and Games by ThreadRank