Quote:
Originally Posted by ÜBER™
Talking to motcher he says he uses ccache and with his dualcore 1.7ghz and 2 GB of RAM it takes him 3hrs and 1.5 after he builds ccache.
Sent From My Toro+ via Tapatalk
|
Instructions added here http://dreamsforgotten.net/ccahce.html Note the actual ccache folder difference in the command? Changed in JB.
Quote:
Originally Posted by sendhiloo7
Great idea man.
I want to add status bar toggle and navigator key re–map in Stock ROM.
I have tried system ui.apk & framework.apk decompile, but somewhere struck.
Can you please help to achieve the goal
Sent from my Galaxy Nexus
|
Galaxy Nexus, I'd say don't do that. If you have a machine even remotely capable put you a linux partition, through VM if you must  , and compile you a version from source. With step by step instructions those too mods wouldn't be that hard. First off, by decompiling you have to decompile both stock rom and a rom with the features you want. Then you have to put those changes in your file in smali which is bytecode aka machine readable. If you know my history, you know I have done this before with the Nexus S because the mod I wanted to copy was samsung proprietary code but in no other circumstance would I want to do that. You need to sync google source, add in the files for your phone, and then do some searching on github to find the two mods your wanting. You copy that code into your source and compile. It's more difficult than that and I just hit you with a lot so start at it, and when you reach a snag come back for help. But...if you must do this in smali...this is what you missing based on what you say you already started. decompile systemui.apk decompile frameworks/base decompile settings.apk. Find (whatever rom you find source for your mod) their version of the file rom control.apk. Copy that in your zip (obviously last step). Diff merge your stock decompiled 3 files against the rom's smali files. Same way as source, use github to find the affected lines of code. Copy over all code, all images, all xml files that are missing. Fix what's there and altered. Settings.apk is going to have a file in src/com/android/settings/foo/foo/ called settings.smali. This file is where your mods in rom control are going to be able to speak to mods you just did to the frameworks/base.
I quit school because of recess...they play too much
"I find it kinda funny....Find it kinda sad....That the dreams in which im dying...Are the best I've ever had..."
-Gary Jules
If you want to learn to develop, check out http://www.dreamsforgotten.net.
Fixed lol..Fixed for real this time!
Look out for your devs PayPal is appreciated.
Learn to Theme: Includes links to the next guide at bottom
|