I want to tweak wifi modules therefore i need to disable the android network managing service. Couldn't figure out what's the name of the daemon running this kind of process tho. Any tip is appreciated. Btw the phone is rooted and i'm able to make some config files modifications through ADB.
Related
Hey!
i have an android phone connected via USB to a PC.
problem is i need to find a way of getting info from it WITHOUT ROOTING!
i need to find out certain user settings/preferences set on the phone currently.
Several such settings like wifi, bluetooth, api version etc are available via the >ADB shell dumpsys command.
However i could locate the GPS settings only in the /data/data/com.android.settings/shared_prefs.xml file. This cant be pulled without rooting as far as i tried. Is there any way to maybe just read this xml file and get the setting?
I am not creating an app..and will mostly be doing this remotely so cant install anything on the phone.
i know the xml/database locations of all variables on a rooted device. Want the same without root permission.
i am totally new to android!
Hi, I'm somewhat new to Android Development, but have 20 + years of software development. I want to create daemon service and here are some of the requirements that are needed. I'm not sure if all this can be done at application level or if I have to get down into the system level and build my own custom Android OS. I have no problem doing that. I just need info on what I need. Can some one point me in the right direction or if anybody has some knowledge on this that would like to share, I would greatly appreciate it. Thanks.
Requirements:
1) Create Daemon service that runs in the background
2) Can spawn/fork other Daemon services and restart them
3) Services/processes have to be hidden from user(user cannot see in task list or cannot uninstall)
4) Has to start when Android boots up
5) Can throw up alert messages to user
6) user cannot uninstall this service/application
tjohnson1970 said:
Hi, I'm somewhat new to Android DevelopmentAlbut have 20 + years of software development. I want to create daemon service and here are some of the requirements that are needed. I'm not sure if all this can be done at application level or if I have to get down into the system level and build my own custom Android OS. I have no problem doing that. I just need info on what I need. Can some one point me in the right direction or if anybody has some knowledge on this that would like to share, I would greatly appreciate it. Thanks.
Requirements:
1) Create Daemon service that runs in the background
2) Can spawn/fork other Daemon services and restart them
3) Services/processes have to be hidden from user(user cannot see in task list or cannot uninstall)
4) Has to start when Android boots up
5) Can throw up alert messages to user
6) user cannot uninstall this service/application
Click to expand...
Click to collapse
What you are wanting to create is called a System App in Android terms. All system apps on a particular rom share a signing key, so you will either need to work with the phone maker, or make your own ROM. To dig further quickly, look into smali and the newest version of apktool. You should be able to grab and debug the odex from a piece of bloatware (carrier iq) that does what you are describing.
I look forward to writing the howto on clearing your app and flashing your yet-to-be-named rom onto compatible devices.
FesterCluck said:
What you are wanting to create is called a System App in Android terms. All system apps on a particular rom share a signing key, so you will either need to work with the phone maker, or make your own ROM. To dig further quickly, look into smali and the newest version of apktool. You should be able to grab and debug the odex from a piece of bloatware (carrier iq) that does what you are describing.
I look forward to writing the howto on clearing your app and flashing your yet-to-be-named rom onto compatible devices.
Click to expand...
Click to collapse
Thanks for the Info. I'm pretty sure we want to make our own rom, if that is something that I can do. What is a good link for How to build your rom?
I will check out the newest apktool.
Im writing a Network Scanner currently in Python/Kivy for Android. I could do everything i wanted if i could execute a Python module called Scapy from the shell(Obviously this is a rooted app), but unfortunately its not possible. Atleast not with alot of work and when the App is finished i dont want my users to have to go through installing countless dependencies to get it working!
I've stumbled along a little unix program called Arp-Scan but i cant find a port for Android. I'm not sure how to port this to Android so i can execute it from a shell.
I have no experience with compiling and needless to say this is frustrating the hell out of me! . This one little stumbling block has been plaguing me for 2 weeks. The rest i will be able to do in pure Python, namely PortScanning and such.
The way the Android OS works is that an APK is unable to use raw sockets. But you are allowed to run a shell as root.
I have the option to use Nmap but if there was ever to be a paid version of my app i would have to buy a license and i simply cant afford it.
All i need is to execute a program from shell: like Arp-Scan to obtain an IP and MAC from the LAN.
Any help will be greatly appreciated.
Thanks in advance.
Hello guys,
I want to permanently disable camera module and gps module in my phone.
I have not done much android internal modifications but have worked extensively in Embedded Linux.
I though of few approaches,
Method 1:
Find out the camera service which allows higher level applications to communicate with the camera/gps.
Find out the start up script which carries out the 'start service' functionality.
Modify the script and remove those parts.
Reboot
Method 2:
Find out the camera service which allows higher level applications to communicate with the camera/gps.
Add a local script to run at the end to kill the service such that applications will not be able to connect to camera/gps.
Reboot.
Method 3:
Remove/Rename the kernel modules for camera/gps (Don't know whether kernel will crash)
I guess above three ways are sort of easy. But I don't know the service names and init script information.
Can someone help me with this? Can I proceed with any of the above methods or do I need to rebuild the kernel without camera and flash it?
I want to make sure that I do the simplest change possible.
Thank you.
Is there a way to backup, or transfer the current Wi-Fi device driver from one device to another Rom/firmware?
I'm tinkering with various roms for my android box, and can get everything working but ir remote and Wi-Fi.
Instead of coding it directly into the Rom itself. Yes it comes off as lazy, but thought I would inquire or ask either way.
If it's not possible it's not.. I can accept that and guess I have no choice but to learn how to inject the driver manually. Just need to learn ( any guide you can link to transfer the Wi-Fi/ir settings from one Rom to another would be greatly appreciated )