quick question...i want to start writing a root app, but i want to test it on the emulator through eclipse. i suppose i'd need the device to emulate the rooting too. is that accurate and even possible?
can i "flash" cyanogen's mod to one of the android virtual devices?
Related
I'm working on (really about to start) an app that will require root access. Does the emulator in Eclipse already handle that or do I need to do something special?
I've seen some CM 4.x system images but haven't been able to successfully run them.
Would be cool if someone is able to create a 2.2 system image for the emulator with root.
Are you saying that you can't really write an app that requires root in eclipse, or that it wont run in the emulator?
Either way, so how do you test an app that requires root access?
you can use eclipse as normal, but you will need a custom emulator image to test it ( or a physical device).
Thanks for the help britoso. I can test it out on my own X, but I still wonder what everybody else that develops root apps runs it on through the development stage? Transferring it over to your phone for testing seems both time consuming and potentially risky.
Alright,
I'm starting to feel like a complete fool, as I seem to have lost all of the knowledge or ability to solve complications that I had gained from working with XDAndroid on my phone.
I'm trying to use the wpa_supplicant directions as mentioned in the other thread I started in the wrong section, here: http://forum.xda-developers.com/showthread.php?t=930163
I need either adb access(Which I can't get working right[Edit: This may be issues from the first time I installed it in win7, I'll keep fiddling with this, but I'd still love to see others chime in on terminal usage]) or terminal access to get in and modify the file to allow ad-hoc tethering.
However, when I run terminal emulator, it force closes with "Sorry! The application Terminal Emulator (process com.android.term) has stopped unexpectedly. Please try again."
Has anyone been able to get any terminal to run on the adam? Everything I've read says that it's pretty much superuser access already, but that could be wrong.
All help appreciated.
You should be changing the supplicant on your phone not Adam to get Wifi tether to function right...
But to get Android Terminal to function with root on Adam you need to be root and unlocked by using the Eden Plus guide or some similar method. Once you have root and unlock you will need superuser app to give root permissions to Android Terminal. Then Android Terminal should function as expected.
Forgot to add, you could also use ADB instead of Android Terminal on Adam. Would probably give you the same thing but might be easier to use.
Hi there,
I wrote a small program for my phone, and it runs well on the android emulator. But when I install it on my phone, it got FC.
This program requires root authorization. My phone is rooted of course.
I just started learning the android programing. So wondering is there any method to debug on phone?
Thanks a lot.
geeti said:
Hi there,
I wrote a small program for my phone, and it runs well on the android emulator. But when I install it on my phone, it got FC.
This program requires root authorization. My phone is rooted of course.
I just started learning the android programing. So wondering is there any method to debug on phone?
Thanks a lot.
Click to expand...
Click to collapse
Logcat is your friend or try the tools from the SDK
First off, make sure the phone isn't just waiting for the debugger to attach... this has confused me in the past (and I've closed out before the FC thing went away).
Otherwise it might be a permission you forgot to give the app, something simple. (Usually it's the simple stuff, actually.)
You should be able to debug the app using eclipse.
Other than that logcat is really an invaluable tool for crashes. If you can't decipher it yourself, feel free to upload it here and we'll take a look.
geeti said:
Hi there,
So wondering is there any method to debug on phone?
Thanks a lot.
Click to expand...
Click to collapse
The debugger should work on your phone exactly the same way as it does in the emulator. Just make sure you have USB Debugging turned on.
The most common reason for FCs is that the app does not have the permission to do something. AFAIK the app does not require all the permissions when executed in the emulator. (e.g. vibration)
I want to root my nexus 7 2014, 4.4.4, to run stickmount and to run "[EXPERIMENTAL] Enable Mirroring from any device". I have not rooted a device before.
1) can i take a full backup before rooting and then restore to save my apps and settings? i have lots of stuff loaded and do not want to spend a ton of time reloading.
2) I am not going to load another ROM. just that the two apps i want to run need root access. what is the easiest method for doing this - hopefully one with pictures and a single script.
Hi,
I know nothing of rooting or how Android works. That said, I have a Blu Studio, BLU_D870U_V10_GENERIC, running Android 5. I need to root this phone so I can actually install cool stuff. I've tried a gazillion rooting apps but no luck.
How do I go about this? I have Linux skills which should help, but I don't know what root actually involves.
Thanks!