Questions tagged [rooted-device]

Rooting is the process of attaining privileged control (known as "root access") on a UNIX based device. A rooted device is one on which root access has been gained.

A rooted device is one on which root access has been gained.

On rooted devices are popular to allow additional things to be achieved, such as accessing all files for backup purposes.

On iOS devices, making a device into a rooted devices is given the term .

118 questions
46
votes
6 answers

Why do I get a "sqlite3: not found" error on a rooted Nexus One when I try to open a database using the adb shell?

# sqlite3 /data/data/com.moodme.android/databases/moodme sqlite3 /data/data/com.moodme.android/databases/moodme sqlite3: not found
Julian A.
  • 9,850
  • 12
  • 57
  • 98
43
votes
1 answer

Unable to run 'adb root' on a rooted Android phone

After rooting my device, I need to run adb root and then adb shell so I could then access my applications database. When trying to run adb root I keep getting "adbd cannot run as root in production builds". Why is this? The only other option is to…
LyteSpeed
  • 6,010
  • 4
  • 34
  • 45
19
votes
6 answers

Copy Database from assets folder in unrooted device

I am trying to copy DB from assets folder to device. This code is working fine on Emulator and rooted Device. I just want to know is it create any problem on unrooted device or it will work same. private void StoreDatabase() { File DbFile = new…
Krishnakant Dalal
  • 3,480
  • 7
  • 32
  • 60
11
votes
2 answers

How to bind to a port less than 1024 in Android?

I have an Android service trying to bind to a server socket port 24. As it is privileged port, it is failing with a bind exception. I am wondering what I need to do to get this working. I see this was asked couple of times in this forum, but without…
videoguy
  • 1,523
  • 2
  • 21
  • 44
5
votes
0 answers

Android App Root detection method was bypassed by focusing specifically on the rootbeer library being used

My Android App uses rootbear library to detect rooted devices. But during app security penetration testing, rootbear root detection mechanism is bypasssed using the "unrootbeer Xposed module script" Below are the steps followed during penetration…
5
votes
0 answers

Call ActivityManagerService methods from my application

I've created a system application on a rooted device and was wondering: is there a way to access methods in ActivityManagerService from that application? I've tried using the ActivityManager object but not all methods also exist in…
5
votes
3 answers

Does Developing Android Applications require a Rooted Device?

I am looking generally in to Android development. I keep seeing information on root however I am unclear how this relates to general android app development. I understand that there is an emulator however when I get to actually test the software on…
John
  • 27,040
  • 17
  • 82
  • 121
5
votes
3 answers

What is the default database location of an android app for an unrooted device?? Is it same as for rooted one?

I have quite a specific question. First let me explain what I am trying to do and then the problem. Basically what I am trying to do is to store an existing .db database file in assets folder and then after installation I want to copy the .db file…
user2129794
  • 2,330
  • 8
  • 31
  • 47
4
votes
1 answer

react native:how to understand device is rooted?

I want to know if the device has been rooted, or not? I looked at react native library as well as the expo and did not find anything. Also I want to have a list of installed apps on the phone.
milad asghari
  • 55
  • 1
  • 10
4
votes
1 answer

How To check Windows device is rooted/jailbrake or not programatically?

Since I am new to Windows Phone Technology, I want to programatically find in my application that windows device is rooted/jailbrake or not. I found many links but it seems like no way for finding rooted windows device programatically. So is there…
4
votes
2 answers

Android: how to grant 666 privs to a device via ueventd.rc

I need to access an USB camera connected to my (rooted) Android. I'm on a Samsung Galaxy S4 with Android 4.2.2. I want to access it with a normal app, so I need the device to be world readable. I can connect via shell and type root@android:/ #…
zontar
  • 461
  • 7
  • 16
4
votes
2 answers

Android screen capture on rooted device

Screen capture on rooted device I want to capture screen of an android device rooted using APK. I tried process = Runtime.getRuntime().exec("/system/bin/screencap -p " + path + ”/file.png ”); This command is working fine but it is too slow. Then I…
Tarkik
  • 148
  • 10
3
votes
1 answer

Rooted Android: Suspend and warn user when any App accesses Contacts List, Microphone or Camera?

I have Users with rooted Android 2.2+ smartphone devices. Whenever any on-device App accesses the device's Contacts List, Microphone or Camera resource, I want to Suspend that App, pop up a warning message to the User, and let the User decide…
3
votes
2 answers

How to test If Android apk runs in rooted device

An Infosec team wanted to know if our app was executable on rooted Android devices. We developed a solution for it and now want to test our app. Are we able to replicate rooted devices online? If not, can anyone provide other ways to test our…
kiri
  • 1,907
  • 5
  • 26
  • 51
3
votes
1 answer

Programmatically stop/start charging rooted Android LG K4

I found the file sys/devices/platform/battery/LGBM_AtCmdChargingModeOff which has the value of "0". When I set it to 1, the phone stop charging. String command1 = "chmod 777 /sys/devices/platform/battery/LGBM_AtCmdChargingModeOff;"; String command2…
Eran Shay
  • 97
  • 1
  • 8
1
2 3 4 5 6 7 8