Hi,
does anybody know how to create new System Permission in Android OS source code? For example current Android has the INTERNET permission. If I want to impose another one at a custom ROM, how can I achieve that?
Related
Hi. I am a developer interested in Android.
More specifically, I am interested in building a custom Android image, not just developing applications (i.e. I want to modify the OS/framework itself).
I was wondering, though, whether ppl who build custom ROMs (ION, HERO, etc) use and modify binary images or build their own custom ROMs from the source and potentially add some binary only stuff (e.g. HTC POP3/IMAP, HTC Pdf Reader,etc.) from the binary ROMs.
I don't know what is prevalent and why?
Another related question, where does one find directions to build and most importantly install a custom ROM on an Android device (mine is Magic). Google obviously has info on that, but I want to know if I'm going to have problems with differences between ADP1 (official guide) and my own device.
Hi,
I have a customer , say Foo. Foo has a requirement that the Android device should only have the Calling application,SMS application, Address book ,camera application and Foo's application. No other application should be allowed to install but an update of Foo's application should be allowed.
One solution i see is running shell scripts from Foo's application
- The shell script will rename or disable all the unwanted applications
- I am not very convinced y this solution because
1. Once u rename the apps. Its not very clean.. When u click on the app icons it will give u not very pleasant errors
2. Once renamed. Even after a wipeout the applications will still remain renamed. so they still remain useless unless enabled again
3. The shell commands are executed by private APIs. These can lead to future breaks
4. AFAI see.. the custom ROM may take same amount of time.
5. Not sure but even after rename. the user can download the app and use
Another solution i see is build on the 2.2 source and modify the PackageInstaller application to only allow installation of Foo's application.
But Foo would want the device dependency to be as less a possible. Foo wants that this custom ROM should be able to be flashed on all devices that came with stock 2.2
I request for suggestions and advices to implement this security policy.
Many Thanks,
Biju Chandran
Hi Guys,
Please help!
Regards
Biju Chandran
Mcromax Canvas 2 A110 Frequently Asked Questions
What is rooting?
Android rooting is the process of allowing users of smartphones, tablets, and other devices running the Android mobile operating system to attain privileged control (known as "root access") within Android's subsystem.
Rooting is often performed with the goal of overcoming limitations that carriers and hardware manufacturers put on some devices, resulting in the ability to alter or replace system applications and settings, run specialized apps that require administrator-level permissions, or perform other operations that are otherwise inaccessible to a normal Android user. On Android, rooting can also facilitate the complete removal and replacement of the device's operating system, usually with a more recent release of its current operating system.
As Android was derived from the Linux kernel, rooting an Android device is similar in practice to accessing administrative permissions on Linux or any other Unix-like operating system such as FreeBSD or OS X.
I wan't to update to jellybean, how?
http://gizmophiliacs.com/official-micromax-a110-canvas-2-jelly-bean-update-v3-now-available/
1). Can i root my phone?
If you are running ICS by default see this:
http://gizmophiliacs.com/how-to-root-and-install-cwm-recovery-on-micromax-a110-canvas-2/
If you are running JB by default:
http://techzei.com/root-micromax-a110-canvas-2-running-on-jellybean/
2a). What can i benefit from rooting my device?
Apart from mentioned above you can flash custom ROMs based on your choice.
2b). Is there a downside to rooting?
Yes, you may loose warranty if you damage your device by rooting.
3). What is ROM?
ROM is the whole system on your phone just like windows/mac os/ubuntu on PC.
4.). What is CWM and Custom ROM?
CWM and TWRP are recovery, in recovery mode you can flash new ROMs backup existing or factory reset etc. Custom ROM are Custom OS based on existing sources modified for better performance and reliablity.
5). What is this Stoc ROM/CM/AOKP/PA/PAC your talking about?
Stock ROM is pre-installed OS
CM is short for CyanogenMod, CM gives its user vanilla android experience (which is only present in nexus devices) at the same time more options and customization available there are 4 versions so far CM6(not available for explorer)(froyo 2.2.x),CM7(Gingerbread 2.3.x),CM9(Ice Cream Sandwich 4.0.x)and CM10(Jellybean 4.1- 4.2)
AOKP is short for Android Open Kang Project, AOKP brings user MORE goodies than CM gives and it also gives the user Vanilla android experience.
PA is Short for Paranoid Android, Also like CM but it gives you unique Tablet UI (phone will look like a tablet) for your device even though it's just a phone.
PAC is combined PA, AOKP, CM. It gives the combined features of the 3
6). How to install one of this rom ?
Look for the rom that you think you like in android development section and follow the instruction given by the developer.
7). So which of them is the best?
Try them all and don't compare roms people have their own preferences. when you compare roms some devs may feel bad and leave this device for good.
Comparing ROMs is very rude and disrespecting to developers.
reserved
reserved to stack drugs...
How to install one of this rom ? plzzzzz help
rams_25_78 said:
How to install one of this rom ? plzzzzz help
Click to expand...
Click to collapse
Im adding it wait
Im back now!
Hi,
AOSP (check: source.android.com) is where one can find kind of official source code of Android.
Then you download it, compile it - and you have ROM ready to be flushed.
1. Is it will work for any device?
or, and I guess this makes more sense-
2. One need to modify according to his device spec. some parameters in the code. For example somewhere in the files there is a file with code holding some constant SW parameter called something like "double CPU_HZ" and you need to type "=1500;" because this is correct for your device.
Is there a simple guide to all device specifc parameters (and where to find them in the code)? Because if so - anybody can Download->follow the guide, modify all params according to his device spec->compile->flush->you have clean Android OS ready to go.
Thanks,.
Hey,
Is it possible to compile just one application from AOSP (Pixel Experience) and install it on the phone? Let's say I want to add my settings to the "Settings" app and modify the system through it - currently my internet is too slow to download the whole AOSP and my computer is too weak to compile the whole ROM by the end of the year.
If its possible - how can I do this and will I be able to use Android Studio to compile? Will I have correct syntax, code suggestion?
My rooted phone is Samsung A505FN/DS if its important.