Adding AOKP ROM Control to my ROM - Samsung Galaxy Nexus

I'm wondering if someone can help me.
I'm trying to add AOKP ROM control into my ROM. It's 4.0.4, but AXIOM is 4.0.4 with ROM control so it shouldn't be a problem.
I can't for the life of me figure out all the files I need to change to add it in. I know I have to make changes to SystemUI and framework-res, but I know I'm missing some apps and probably some changes in the apps I already know about.
What are all the things I need to change?

Anyone got anything?

You need to look at the source

bk201doesntexist said:
You need to look at the source
Click to expand...
Click to collapse
I have, but I can't compare it with 4.0.4 source because it's not available yet.

axiom is only 4.0.4 files that are unchanged from stock files in aokp. All of aokp based mods in axiom are using the 4.0.3 files. They are not 4.0.4 files with the relevant mods added to them (I've compared modded apk's, like framework-res.apk, and it is not the 4.0.4 file). I'm pretty sure there's an extra apk for the rom control settings that's not part of a stock rom. I think most of the rom 'cooks' rename it, so the filename might vary.

mwalt2 said:
axiom is only 4.0.4 files that are unchanged from stock files in aokp. All of aokp based mods in axiom are using the 4.0.3 files. They are not 4.0.4 files with the relevant mods added to them (I've compared modded apk's, like framework-res.apk, and it is not the 4.0.4 file). I'm pretty sure there's an extra apk for the rom control settings that's not part of a stock rom. I think most of the rom 'cooks' rename it, so the filename might vary.
Click to expand...
Click to collapse
I found that apk, but it doesn't do anything unless extra changes are made. I'm trying to find the exact lines in the 4.0.3 apk code and copying them over, but no luck

Related

Calkulin's ICS leaks De-Odex'd or stock?

I'm just curious, do you guys usually flash the stock or the de-odex'd. And why do you flash the version you do? I know most people flash de-odex'd because they can be themed. But at the rate we are getting the leaks, wouldn't it be better to go with stock since apparently it's faster?
I always flash Stock Odex but the rom im trying out at the moment is not.
viper786 said:
I'm just curious, do you guys usually flash the stock or the de-odex'd. And why do you flash the version you do? I know most people flash de-odex'd because they can be themed. But at the rate we are getting the leaks, wouldn't it be better to go with stock since apparently it's faster?
Click to expand...
Click to collapse
Just saying, the idea that odexed can't be themed is essentially a myth. Most themeing you see is done to apks resources (layouts and images) which can be modified just the same whether or not your Rom is odexed or deodexed.
Edits to jar files in specific themeing cases might require a baksmali to odex and then a dexopt -wrapper but ultimately this just translates to a bit more time but is completely plausible.
So first and foremost , odexed roms can be themed. It just appear themers prefer themeing deodexed so the idea that ONLY deodexed can be themed has become a "general rule". Deodexed roms simply make it easier to edit smali cutting down the process time.
Anyway, if you dont plan on themeing then go odex. If you do, it seems like that is the flavor of themers so unless you want to dive in yourself then you'll have to honor the trend. The speed difference you'll notice won't be *huge* between the two. The most significant difference is first boot on odex will be faster.
I've run my share of odex and deodex roms and I can't say there is a noticeable or significant hit on performance during day to day use on a device such as this.

[Q] Deodexed ROM and Link2SD

Are deodexed ROMs able to work with Link2SD ? Or Link2SD supports only odexed ROMs ?
Are deodexed ROMs faster than odexed ?
1) You can use LINK2SD with deodexed roms.I'm using it for 2 months.
2) I saw some people saying odexed roms are faster and smoother than deodexed.
I've ran a bunch of different ROM's on my Wildfire S. Some were CM7, some were CM9, some were odexed, some were de-odexed.
Odexed ROM's have the odex files in the APK's, making it technically faster, but harder to mod.
De-odexed ROM's have had the odex files removed from the APK's and stored seperately, making it technically slower but easier to make modifications, as you do not have to decompile APK's to change them.
Link2SD had no problems with any of the ROM's in my experience, and despite the technical jiggery-pokery, its been my experience that after initial boot after flashing, de-odexed ROM's are actually quicker. So much for theory, huh?
jsthorpe said:
Odexed ROM's have the odex files in the APK's, making it technically faster, but harder to mod.
De-odexed ROM's have had the odex files removed from the APK's and stored seperately, making it technically slower but easier to make modifications, as you do not have to decompile APK's to change them.
Click to expand...
Click to collapse
I am not sure but I think you made a mistake. Deodexed ROM have the odex files in APK and Odexed ROM have odex files seperately, according to me.
miso00 said:
I am not sure but I think you made a mistake. Deodexed ROM have the odex files in APK and Odexed ROM have odex files seperately, according to me.
Click to expand...
Click to collapse
It's one or the other. I don't like to get bogged down with all the low-level technical ****, someone else can do that, it doesn't interest me much.
miso00 said:
Are deodexed ROMs able to work with Link2SD ? Or Link2SD supports only odexed ROMs ?
Are deodexed ROMs faster than odexed ?
Click to expand...
Click to collapse
Link2SD will definitely support both odex and de-odex ROMs.
You won't notice any speed difference between the two, but you will notice a HUGE space savings (internal memory) with odex ROMs. The only downfall, as someone mentioned, is that odex'ed ROMs are harder to theme (but not impossible).
This is correct:
miso00 said:
I am not sure but I think you made a mistake. Deodexed ROM have the odex files in APK and Odexed ROM have odex files seperately, according to me.
Click to expand...
Click to collapse
Thank you all for your answers. Especially to Tigger.
Reodexing is really easy and gives you space, especially if you don't plan on theming it. (CM themes chooser still works).
See this:
http://forum.xda-developers.com/showthread.php?t=1500475
According to what i have learnt about .odex files is that these are the files containing the information of the .apk file which separately is used in the loading of the app which makes the odex rom faster than the de-odexed which contains the odex part in the .apk file which takes time to load along with the app..
EQDKPv5.0_multi_odexed_mhr_2
Can someone just confirm for me pls what cm number if it is or if its right for my wildfire s A510e.
I have tried so many diff roms i've got to the point now that i cant remember whats what and i wish i didn't start messing with it
The zip is branded with this name EQDKPv5.0_multi_odexed_mhr_2 but when i enter to search details on it i dont get any.
Thanks in advance
.

Is SystemUI updated with new Android builds?

Hey guys, this is probably a dumb question, but I'm going to ask anyway since I couldn't find the answer.
I'm currently running a ROM built from JZO54K source (mmuzzy's) and have a question regarding SystemUI.apk. I've been using a battery mod that was made for, I think, JRO03C on JRO03R, JRO03O, and even tested on JZO54K. For fun, I just finished building my own modded SystemUI.apk using a SystemUI from stock JZO54K (to my amazement it actually works), but I'm wondering if it's worth while that I do this every time I upgrade my ROM. Is SystemUI.apk ever touched or updated with newer builds of Jelly Bean, or could I just keep using this one that I made on future builds?
jeston said:
Hey guys, this is probably a dumb question, but I'm going to ask anyway since I couldn't find the answer.
I'm currently running a ROM built from JZO54K source (mmuzzy's) and have a question regarding SystemUI.apk. I've been using a battery mod that was made for, I think, JRO03C on JRO03R, JRO03O, and even tested on JZO54K. For fun, I just finished building my own modded SystemUI.apk using a SystemUI from stock JZO54K (to my amazement it actually works), but I'm wondering if it's worth while that I do this every time I upgrade my ROM. Is SystemUI.apk ever touched or updated with newer builds of Jelly Bean, or could I just keep using this one that I made on future builds?
Click to expand...
Click to collapse
it's possible. so, yeah, you need to pay attention to changes on framework.
sent from my i9250
bk201doesntexist said:
it's possible. so, yeah, you need to pay attention to changes on framework.
sent from my i9250
Click to expand...
Click to collapse
Cool, thanks. I'll try to keep myself up to date now that I know how to do it then.

Center clock to stock JB 4.2.1 ROM

Hey!
I have tried to modify JB 4.2.1 systemUI.apk to put the clock to center on the status bar but decompiling and recompiling will fail.
I have tried apktool if C:\user\blablabla\framework-res.apk but it won't do it, it gives errors and on Linux Ubuntu I have same issue..
I ahve tried to modify ICS's systemUI.apk by replacing the status_bar.xml file but it will nor recompile the .apk so I can't edit status_bar.xml..
What to do?
On Windows 7 I use apkmanager v5.0.2 and on Linux Ubuntu Lucid Lynx I use FJ apktools v2.4
whats the point on staying on stock if you're going to modify it anyway? modifying it is going to alter your ability to get OTAs. just flash a custom ROM that supports this feature that u can change in the settings.
zephiK said:
whats the point on staying on stock if you're going to modify it anyway? modifying it is going to alter your ability to get OTAs. just flash a custom ROM that supports this feature that u can change in the settings.
Click to expand...
Click to collapse
I don't like others ROMs that is themed like an old Android OS..
I want everything to be stock and what I can modify when I want..
That's the point.
Everyone does not like custom ROMs like crap aokp or CM10.#
manumanfred said:
I don't like others ROMs that is themed like an old Android OS..
I want everything to be stock and what I can modify when I want..
That's the point.
Everyone does not like custom ROMs like crap aokp or CM10.#
Click to expand...
Click to collapse
I don't even know what you mean by "themed like an old Android OS" because that makes absolutely no sense because all of these roms look exactly the same because they are compiled from aosp which is using the holo theme as stock.
There are very minimal roms out there that are left completely stock and dedodexed.
Just because you somehow don't like cm or aokp doesn't mean you have the right to bash them by calling them crap either.
Sent from my Nexus 4 using xda premium
These 1337 stock fanbois make chuckle sometimes.
good day.
zephiK said:
I don't even know what you mean by "themed like an old Android OS" because that makes absolutely no sense because all of these roms look exactly the same because they are compiled from aosp which is using the holo theme as stock.
There are very minimal roms out there that are left completely stock and dedodexed.
Just because you somehow don't like cm or aokp doesn't mean you have the right to bash them by calling them crap either.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
you asked and I answered, if you don't like the way how I answered then it's your own problem..
I asked help to modify the clock on status bar and not to ask others to ask me why I don't use custom ROMs.
manumanfred said:
you asked and I answered, if you don't like the way how I answered then it's your own problem..
I asked help to modify the clock on status bar and not to ask others to ask me why I don't use custom ROMs.
Click to expand...
Click to collapse
It's obvious that you can't do what you want to do. That's why there are developers, they do it for YOU and push it out to the masses so you don't have to manually modify line of code by yourself. I'm not a developer so I can't help you by that, but what I can do is suggest a workaround. And that would be to flash a ROM with this feature so you can just go into the settings and just change it from the clock displaying on the Right to the center.
No reason to get an attitude by saying CM/AOKP is "crap." Who are you to exactly call another group/individual's ROM to be crap when you can't even produce your own? Especially when these people are doing it for FREE and as an hobby.
When you get the next OTA for Android you won't be able to update anyways because you would of modified a core element of the stock ROM that would cause a failure on a OTA update.
zephiK said:
It's obvious that you can't do what you want to do. That's why there are developers, they do it for YOU and push it out to the masses so you don't have to manually modify line of code by yourself. I'm not a developer so I can't help you by that, but what I can do is suggest a workaround. And that would be to flash a ROM with this feature so you can just go into the settings and just change it from the clock displaying on the Right to the center.
No reason to get an attitude by saying CM/AOKP is "crap." Who are you to exactly call another group/individual's ROM to be crap when you can't even produce your own? Especially when these people are doing it for FREE and as an hobby.
When you get the next OTA for Android you won't be able to update anyways because you would of modified a core element of the stock ROM that would cause a failure on a OTA update.
Click to expand...
Click to collapse
I know!
But I like Stock ROM and I update my Nexus different way than as normally..
I wan't to modify ROM myself because then I can get that to the ROM what I need and not more extra that is in custom ROMs like tweaks for speed or custom kernel, etc.
I have always liked stock ROMs and I don't want to change to AOSP ROM, CM ROMs are usually buggy and updates to nightlies comes everyday with fixes and that's enough when I use CM9 and CM10 on my ARMv6 devices.
There's nothing wrong with someone wanting to overcome an obstacle and learn. That's how all those "developers" you speak of came to be. There's nothing wrong with him asking for help. He doesn't have to use a custom ROM if he prefers not to just because it's the answer for you, or because you have no legitimate answer for his question because you don't know. If you don't have the info he needs, then stfu and just move on.
Sent from my Galaxy Nexus
Well said Zeinzu,BTW me also having the same problem as the OP..Trying to decompile the framework/mms/contacts/systemUI that comes with 4.2 rom are now useless.Any idea that anyone can give?Going to edit the status bar to semi transparent but decompile failed,Plus i can and able to extract it but all i need it to edit those xml files that contains some coding as i've beed doing to my previous rom (4.1.2)

[Q] Quick settings

Hi, everyone
I am looking for Kevdliiu Quick Settings mod for Jelly Bean 4.2.2. Yes, I am aware of thread he started, http://forum.xda-developers.com/showthread.php?t=1999125 ,but there are no updates there for a long time.
I have found that mod incorporated in MMuzzy ROM 4.2.2 for Maguro. http://forum.xda-developers.com/showthread.php?t=2096538
Is it possible to just extract SystemUI and QSCP from that ROM, copy files into zip of Kevdliu and install it? Would it work?
Thanks
Make a nandroid and try! If it does then you can post it for other users. The only issue I can see if that MMuzzy's ROM is based on AOSP so probably won't work with a 'stock' ROM based on the factory image. I'd download Paul O'Brien's MCR instead as that is based on the factory image so should work in other ROMs that aren't AOSP-based
Thanks. Well, as I cant find Brien's 4.2.2 ROM for free download, I will try with MMuzzy ROM. Do you know where is located Extended Power menu? If it is in SystemUI, then it is slim chance for me to make it work with just replacing files...
Thanks, again
It's on the link I posted, just get the pre-bake (which is free, bottom of first post. Although the pre-bake is still Jr13 which isn't 4.2.2 so might not work anyway)
Jr14 is a 4.2.2, prebake downloads are 4.2.1 I think...
edit: you already have said that...
thanks for the answers

Categories

Resources