Bypassing root detection OrangeTV app? - Android Q&A, Help & Troubleshooting

Does anyone know do something like this?
https:\\redfern.me/bypassing-root-detection-in-three-intouch/
http:\\bertonjulian.github.io/2015/01/30/root-detection-bypass.html
With this app?
https:\\play.google.com/store/apps/details?id=com.orange.es.orangetv&hl=es
APK Download: https:\\drive.google.com/file/d/0B_98s430aqHGcTdBQmhfV0VyLW8/view?usp=drivesdk
I decompiled the application into Smali using apktool, but i don't understand smali code.
Thanks in advance !!

Do u want an app to not detect that you're rooted?

Yes. I tried xposed, rootkeeper, ....... nothing works for me

I've noticed that my device does not have root access, but the application detects "test-keys" on build tags

Related

[Q] Help to remove root check from an apk

Okay, here's the problem. Actually: two problems.
1. There's an app, which contains some kind of root check to prevent installing the apk on a rooted device. This is the bigger one.
2. The apk can only be installed to specific devices. I believe this can be spoofed by editing build.prop.
But, I can't edit build.prop without root access, so I think the only solution is to find and remove the root check in the apk itself.
Is there anybody who can help with me that?
The apk can be found here: https://telekomse.srs.any.hu/apk/SRS_telekom_mobiltarca.apk
Any tips would be helpful. Thank you!

Remove root check in apk?

Is there any way to remove the process that checks for root in an app? If decompiling an apk where would this be?
f10a said:
Is there any way to remove the process that checks for root in an app? If decompiling an apk where would this be?
Click to expand...
Click to collapse
You can't make a rooted app to an unrooted app!
I think it's pretty obvious that he means he wants to install an app which doesn't need root, but which checks for root and refuses to run if it finds the device has been rooted.
Very good question imo.
at45 said:
I think it's pretty obvious that he means he wants to install an app which doesn't need root, but which checks for root and refuses to run if it finds the device has been rooted.
Very good question imo.
Click to expand...
Click to collapse
That is exactly it.
Well, in that case, if you can get access to the source code, and if you know about developing, then you could do it (otherwise decompiling, editing some file and compiling again won't help you).
f10a said:
Is there any way to remove the process that checks for root in an app? If decompiling an apk where would this be?
Click to expand...
Click to collapse
goto your supersu app and check option to grant su permission without prompt.
if you are trying to change rooted app to unrooted its not possible. the root permissions are necessary for the app to work.
You could try the apps listed here:
http://www.howtogeek.com/115888/how-to-restrict-android-app-permissions/
Let me know how it goes.
No what he is trying to say is Example, I have DirecTV GenieGo APK and the latest version checks to see if your device is rooted and if it is then GenieGo will shut down and say something along the lines of "Contact your Service Provider to get a non-rooted version of your device"...I think what the user was asking is...Is there a way to remove that "check to see if my device is rooted" or at the very least fool the apk into thinking it ISNT rooted....?

[Q] Possible to install modified app (from system/app) as normal app?

Hi,
I modified "SamsungCamera2" from my Note 3 and would like to install it now on my Note 3. My phone is not rooted and doing so would currently trip the knox counter (I don´t want that).
If I try to install the apk I get the message "application not installed".
Is it somehow possible to convert the apk so that I can install it as a "normal app"?
Best wishes,
Klaus
oclock said:
Hi,
I modified "SamsungCamera2" from my Note 3 and would like to install it now on my Note 3. My phone is not rooted and doing so would currently trip the knox counter (I don´t want that).
If I try to install the apk I get the message "application not installed".
Is it somehow possible to convert the apk so that I can install it as a "normal app"?
Best wishes,
Klaus
Click to expand...
Click to collapse
no root no party, however i think that its possible to root the phone over knox without count
to install system apk you can do in 3 ways
1.install normally by a file manager as normal apk but in this way you can only install ORIGINAL APK like official update NO MOD
2.copying the apk and maybe the odex in /system/app NEED ROOT
3.using clockworkmod NEED ROOT,or maybe using the stock samsung recovery need a flashable zip of your app
enjoy
AXD96 said:
no root no party, however i think that its possible to root the phone over knox without count
to install system apk you can do in 3 ways
1.install normally by a file manager as normal apk but in this way you can only install ORIGINAL APK like official update NO MOD
2.copying the apk and maybe the odex in /system/app NEED ROOT
3.using clockworkmod NEED ROOT,or maybe using the stock samsung recovery need a flashable zip of your app
enjoy
Click to expand...
Click to collapse
Thank you for your answer.
With my current firmware there is no known method to get root without knox=0x1.
If I develop my own app I can install it without problems. So, what exactly makes apps from system/app different?
How does Android know that I did not implement this App by myself?
Is there a way to further modify the app so that it looks like I implemented it by myself and install it then?
oclock said:
Thank you for your answer.
But if I develop my own app I can install it without problems.
So, what exactly makes apps from system/app different?
How does Android know that I did not implement this App by myself?
Is there a way to further modify the app so that it looks like I implemented it by myself and install it then?
Click to expand...
Click to collapse
Android expects applications installed by opening the APK to be signed.
It's quite easy to sign them with a generic certificate: but when apps are updated both the old (in /system) and the new version must be signed with the same one.
(Extreme problems lead to extreme solutions: if you need Samsung service, flash a bad bootloader so that's permanently bricked and doesn't even get to Odin...)
Ryccardo said:
Android expects applications installed by opening the APK to be signed.
It's quite easy to sign them with a generic certificate: but when apps are updated both the old (in /system) and the new version must be signed with the same one.
Click to expand...
Click to collapse
Thank you for the explanation and thank you for the hint
But how does Android know that I am trying to Update an already existing app? Is it just because of the class names of the MainActivity? Is it possible to refactor the app, so that it looks like a brand new app?
oclock said:
Thank you for the explanation and thank you for the hint
But how does Android know that I am trying to Update an already existing app? Is it just because of the class names of the MainActivity? Is it possible to refactor the app, so that it looks like a brand new app?
Click to expand...
Click to collapse
I believe, but have never tried, that it goes by the package ID
Ryccardo said:
I believe, but have never tried, that it goes by the package ID
Click to expand...
Click to collapse
It seems to be the correct way. However, something seems to be odd:
I the log I get the following:
12-29 23:47:03.981: E/AndroidRuntime(27444): java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.cameraoc/com.sec.android.app.camera.Camera}: java.lang.SecurityException: Requires SET_ANIMATION_SCALE permission
However, this permission is set in the AndroidManifest.xml file:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sec.android.app.cameraoc">
<uses-permission android:name="android.permission.CAMERA"/>
[...]
<uses-permission android:name="android.permission.SET_ANIMATION_SCALE"/>
[...]
Do you have any ideas why this permission isn´t recognized?
oclock said:
Thank you for your answer.
With my current firmware there is no known method to get root without knox=0x1.
If I develop my own app I can install it without problems. So, what exactly makes apps from system/app different?
How does Android know that I did not implement this App by myself?
Is there a way to further modify the app so that it looks like I implemented it by myself and install it then?
Click to expand...
Click to collapse
dont said me thanks, just click the thanks button on the left of message
no you can't
every APK has got a signature when you modify an apk or the mali code the signature became invalid so you cant install that apk anymore until you sign again the apk
if the signature is different you cant install system apk when you has already installed an app with the same packace address
else if the signature is the same (only the author of the app has got the original key of signature) you can install it
there is a critical bug in android until 4.2.2 version, the MASTERKEY BUG
google fix it in android 4.3
i got root with this bug using cydia impactor
with this bug/exploit you was able to modify system partition bypassing signature protection and then get root so you was able to have full access to your phone
---------- Post added at 01:16 PM ---------- Previous post was at 01:12 PM ----------
oclock said:
It seems to be the correct way. However, something seems to be odd:
I the log I get the following:
12-29 23:47:03.981: E/AndroidRuntime(27444): java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.cameraoc/com.sec.android.app.camera.Camera}: java.lang.SecurityException: Requires SET_ANIMATION_SCALE permission
However, this permission is set in the AndroidManifest.xml file:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sec.android.app.cameraoc">
<uses-permission android:name="android.permission.CAMERA"/>
[...]
<uses-permission android:name="android.permission.SET_ANIMATION_SCALE"/>
[...]
Click to expand...
Click to collapse
where did you find the log?
AXD96 said:
dont said me thanks, just click the thanks button on the left of message
no you can't
every APK has got a signature when you modify an apk or the mali code the signature became invalid so you cant install that apk anymore until you sign again the apk
if the signature is different you cant install system apk when you has already installed an app with the same packace address
else if the signature is the same (only the author of the app has got the original key of signature) you can install it
Click to expand...
Click to collapse
OK. This was already made clear some posts above. My new question was: Can I change the signature to install it as a "new" app.
I tried it out by myself. I modified the manifest file to change the android package name from "com.sec.android.app.camera" to "com.sec.android.app.cameraoc". The java package is unchanged.
With this modification i could install the app without any problems, but I get a permission exception, when I try to execute the App:
12-29 23:47:03.981: E/AndroidRuntime(27444): java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.cameraoc/com.sec.android.app.camera.Camera}: java.lang.SecurityException: Requires SET_ANIMATION_SCALE permission
However, this permission is set in the AndroidManifest.xml file:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sec.android.app.cameraoc">
<uses-permission android:name="android.permission.CAMERA"/>
[...]
<uses-permission android:name="android.permission.SET_ANIMATION_SCA LE"/>
[...]
So, i do not understand why I get this Exception. Do you have any ideas?
Klaus
I got the exact same issue when modding the S5's camera apk. The trick is to open your original apk with an archive manager and only replace the classes.dex and resources.arsc. I then copied the apk to /system/app/ and after a reboot I could successfully launch the camera.
More details about hacking system apk's can be found here: https://code.google.com/p/android-apktool/wiki/FAQ (My recompiled apk Force Closes (FCs). What gives?)

[Q] App Google Cloud Print Mod - No Icon

I wonder, if anyone has found the application of Cloud Print (official) without icon in the launcher (non-icon).
I tried descompilarla and compile, and I have not succeeded.
I tried to decompile, fix it and compile it, but I have not succeeded
I would greatly appreciate if anyone could help me.
Answer
vk2r said:
I wonder, if anyone has found the application of Cloud Print (official) without icon in the launcher (non-icon).
I tried descompilarla and compile, and I have not succeeded.
I tried to decompile, fix it and compile it, but I have not succeeded
I would greatly appreciate if anyone could help me.
Click to expand...
Click to collapse
What do you mean you have not succeeded?
Decompile the apk file, remove the icon and replace a transparent icon with the same name and if possible in same format as the older icon.
Also in android manifest file, look whether the icon is given with an extension. If so, change it to the icon's format that you have placed.
Now again recompile the apk file and also sign the apk.
There are lots of tutorials on both Google and XDA that will help you to learn decompiling and recompiling an apk.
Press thanks if I have helped you.
I am a newbie. Anyone can correct me if I am wrong.

Help modifying an apk

Good day,
I need help on modifying an apk, its basically a game that can be dowloaded on playstore. I read alot in the forum and I saw this APK tool reverse engineering an app.
apktool. I already ask a question but maybe it's better to create a new thread that I can monitor..
Now. what I achieved now is that I can decompile the apk, edit some things like splash.png, values on strings.xml and few line on androidmanifest.xml. I tried to recompile it and I have done it with no problem. Now i have the modified apk. I signed it using apk signer and followed all the procedure with no error. I copied it to my phone and test run it but sadly it says "App not installed". I also tried using zip signer from playstore and got the same result.. I dont know where am I messing it. Please help thanks.
There is Windows app called Virtuos Ten Studio, designed to do exactly that - it works pretty well and makes the whole process much easier (no need to use cmd line at all if I remember correctly).

Categories

Resources