[Q] Running an app with root permission - Android Software/Hacking General [Developers Only]

Hi guys,
Let's me know if I post the question in the wrong forum.
I am developing an app that requires root permission. The only solution I found on the Internet is:
Code:
process = Runtime.getRuntime().exec("su")
However, this solutions only gives root permission to generated process, not to the app itself. I just wonder if anyone can tell me what I should do in this case.
Btw, I am already running a rooted ROM using CM7.

Related

Root access but no wifi tethering

Hi i've got root access but whenever i open up a tethering app it keeps saying sorry but your kernel does not have the necessary features for running this application.
If Im not mistaking, I thought I read somewhere that some ROMs dont support tethering..
Cross posting is not receommended here or any other forum.

root cloak & xposed advice spught

after rooting & installing cyanogenmod12.1 on my nexus7 & moto g I'm unable to use the All4 or Now.TV apps.
I've tried installing root cloak but couldn't get the closed installer to play nice.
if anyone knows of idiot proof instructions for root cloak &/or closed I'd be most gratwfull.
I'd be just as happy if there's a regular apk which can hide root from specific apps.
BTW, when disabling root access in CM12.1 I still receive the rooted device notices.
cheers
oops! Closed meant to read Xposed Installer
Sent from my RM-1038_1023 using XDA Windows Phone 7 App
...

Strange "zygote" process root permissions request

Hello guys,
Yesterday this strange and unknown process "zygote" started asking me root permissions. Obviously I have not given them to it but I'm worried about because googling it I read that it could be linked with Triada malware, that exploits Zygote, this fundamental part of Android.
Anyone knows what the hell is it? Thank you.
dooz96 said:
Hello guys,
Yesterday this strange and unknown process "zygote" started asking me root permissions. Obviously I have not given them to it but I'm worried about because googling it I read that it could be linked with Triada malware, that exploits Zygote, this fundamental part of Android.
Anyone knows what the hell is it? Thank you.
Click to expand...
Click to collapse
A real zygote will never ask for root, as it has it anyway. You got yourself a virus...
optimumpro said:
A real zygote will never ask for root, as it has it anyway. You got yourself a virus...
Click to expand...
Click to collapse
I found the problem, it was WhatsApp Extension, a Xposed module. Just deactivated and removed it.
optimumpro said:
A real zygote will never ask for root, as it has it anyway. You got yourself a virus...
Click to expand...
Click to collapse
I found the problem, it was WhatsApp Extension, a Xposed module. Just deactivated and removed it.
dooz96 said:
I found the problem, it was WhatsApp Extension, a Xposed module. Just deactivated and removed it.
Click to expand...
Click to collapse
I am also using it and it is asking zygote and whatsapp root privilege.. It gives a decent privacy option so should I uninstall it..??
[email protected] said:
I am also using it and it is asking zygote and whatsapp root privilege.. It gives a decent privacy option so should I uninstall it..??
Click to expand...
Click to collapse
Try to check if there is a new update
I do not have Whatsapp and Xposed and phone is clean but have Zygote asking for supersu. Why?
kimiraikkonen85 said:
I do not have Whatsapp and Xposed and phone is clean but have Zygote asking for supersu. Why?
Click to expand...
Click to collapse
yeah Same for me :/
I just encountered zygote requesting SuperSU permission today. I have Xposed but not WhatsApp. Any help on this issue will be greatly appreciated.
mel2000 said:
I just encountered zygote requesting SuperSU permission today. I have Xposed but not WhatsApp. Any help on this issue will be greatly appreciated.
Click to expand...
Click to collapse
Gamekiller also has that
Just happened here: "zygote" requesting for root permissions. Have Xposed installed and barely one single module running (Xtoast) as of now. I've been using Xposed in several devices, ranging from GB to MM and I can't remember zygote asking for root permissions before. This one (Acer S57) is KK 4.4.4, though it's not pure Android and I must say that I actually have a red warning from Xposed installer (attachment), so yes, I've installed under my own "risk". After some research on the subject, I've found some people suggest it could be either a SuperSu (v2.82) bug, or some sort of malware... After checking via Apps2SD emulator (attachment) there's only one zygote process, so I'm almost concluding that most likely, this has everything to do with Xposed being installed on Acer's custom ROM. Whatever; meanwhile I decided to follow suggestions about not granting permissions to zygote since as a "general rule", this is not supposed to happen. I'll keep an eye on this and place this question on the proper Xposed thread, because I'm pretty sure this ain't no malware but something related to Xposed...
Sent from my acer_S57 using XDA Labs
I am fairly certain that no app will ask your root permissions. That's just ridiculous and also keep in mind, that applications are developed for locked phones, which means they naturally won't have access to root. There is no reason for them to be asking root permissions.
I also had this zygote pop-up in 2 of my devices and it appeared in both devices after i Installed hebf optimiser..can anyone confirm if it's a virus? I gave it root access to see what it does
warez, piracy, or enabling of them will not be discussed on XDA.
Many of us make our living off software, no matter your beliefs on it, piracy takes from our tables. Earning a living at 99cents at a time is HARD.
Don't be a thief, pay for the work that others do for you.
Came here for answers,i have the same question. This process just popped up, haven't installed anything recently but Google maps did an update so that might be a clue.
dooz96 said:
I found the problem, it was WhatsApp Extension, a Xposed module. Just deactivated and removed it.
Click to expand...
Click to collapse
I considered appropriate to share "WhatsApp Extensions" developer quote to rovo89's answer on this matter:
https://forum.xda-developers.com/xp...pp-extensions-add-extra-t3452784/post73993216
BTW, a few minutes earlier, I just denied zygote root permission request, this time on Moto G4 Plus... and I DON'T have "WhatsApp Extensions", but a nice amount of other Xposed modules installed. Must watch which one fails to do it's job, I guess... or just do what @rovo89 says.
Sent from my Moto G4 Plus using XDA Labs
Heyho,
just came across this thread and read about a similar issue earlier. So, just to leave another hint why zygote is maybe asking for root permissions.
Here is a nice explained article
https://securelist.com/attack-on-zygote-a-new-twist-in-the-evolution-of-mobile-threats/74032/
Regards,
Sebastian
Sent from my HUAWEI WAS-LX1A using XDA Labs
k1ll3r8e said:
Heyho,
just came across this thread and read about a similar issue earlier. So, just to leave another hint why zygote is maybe asking for root permissions.
Here is a nice explained article
https://securelist.com/attack-on-zygote-a-new-twist-in-the-evolution-of-mobile-threats/74032/
Regards,
Sebastian
Click to expand...
Click to collapse
Sorry to bring up an old thread, but that link you posted made my head hurt. LOL!
Actually, I took my time and read it slowly so my old brain could grasp how it was created.
Someone put a tremendous amount of work into that clever attack.
Thanks for posting that!

Can any app be installed as a system app in android

Hello everyone,
I just wanted to ask the following questions
Q1.Can any app be installed as system app without root in android?, and
Q2.Can any malware/spyware/infected file/app be installed as a system file/app without root in android?
I would really appreciate any help from you guys regarding my questions and more,
Thankyou
acegt8 said:
Hello everyone,
I just wanted to ask the following questions
Q1.Can any app be installed as system app without root in android?, and
Q2.Can any malware/spyware/infected file/app be installed as a system file/app without root in android?
I would really appreciate any help from you guys regarding my questions and more,
Thankyou
Click to expand...
Click to collapse
You can't add or remove anything from system without root.
Some malware has been known to install files/apps into system, but that is very specific and depends on the device having certain vulnerabilities.
Sent from my LGL84VL using Tapatalk
Sir, your quote "Some malware has been known to install files/apps into system, but that is very specific and depends on the device having certain vulnerabilities" i could not understand .
Could you please elaborate what kind of event you have come across regarding malware that can install files/apps into the android system and what kind of device it is , so i can understand better.
I hope someone will soon help me out .
acegt8 said:
Sir, your quote "Some malware has been known to install files/apps into system, but that is very specific and depends on the device having certain vulnerabilities" i could not understand .
Could you please elaborate what kind of event you have come across regarding malware that can install files/apps into the android system and what kind of device it is , so i can understand better.
I hope someone will soon help me out .
Click to expand...
Click to collapse
I can't give specific instances with specific specific apps on specific devices. It wouldn't matter even if I could because specific instances have nothing to do with understanding how or why malware gets into system.
It all depends on what is built into the malware and what vulnerabilities there are in the device's kernel.
A generic example is Kingroot, it's an app that is used to root devices, it is well known to install malware and extra apps into system when it is used.
Sent from my LGL84VL using Tapatalk

[Help] New to root, Is this app safe?

I'm new pretty new to rooting and the XDA community, so I two questions.
The first question Is this app safe to use and is it open source?
It's called EmojiReplacer (Link to XDA thread)
The second question would be how can I determine for myself if apps are secure?
I ran the APK on virus total and it came back clear but I'm unsure if root access could bypass any of this, thanks in advance for the help!
Apps what require root-access generally are unsafe, IMO.

Categories

Resources