[Q] Porting Cyanogen's power controls bar to another ROM - Touch CDMA Android Development

Hi, folks. None of the Cyanogen-based roms seems to work properly on my Vogue (FC issues, sudden reboots, etc) and I really like the power controls bar in the notifications pull-down area that all those ROMs have. Is there a way to transfer that feature to Fat Free Froyo? Does anyone have any idea as to which files I should copy over and/or replace? I'm aware of the PowerControls widget, but widgets eat up battery and take too much space.
Thanks in advance.

booblik2009 said:
Hi, folks. None of the Cyanogen-based roms seems to work properly on my Vogue (FC issues, sudden reboots, etc) and I really like the power controls bar in the notifications pull-down area that all those ROMs have. Is there a way to transfer that feature to Fat Free Froyo? Does anyone have any idea as to which files I should copy over and/or replace? I'm aware of the PowerControls widget, but widgets eat up battery and take too much space.
Thanks in advance.
Click to expand...
Click to collapse
Scooter's build is cm 6.1, probably easiest to put it in there if it's not there already.

mrkite38 said:
Scooter's build is cm 6.1, probably easiest to put it in there if it's not there already.
Click to expand...
Click to collapse
None of the Cyanogen-based ROMs work properly on my Vogue as I said, so Scooter's ROM is not really a solution.

Want to try a bad hack ?
Because of that control bar is stand on notification area, Try to take these files from CM 6.1 in framework folder :
android.policy.jar
framework.jar
framework-res.apk
services.jar
Maybe need CMParts.apk and Settings.apk to work properly too in app folder.
Replace all those files in your build.
If it isn't work, you need to decompile their framework, configure their xml & implement it to your build. and also need to work with policy.jar.

Related

Eclair lockscreen on Hero ROM

I would like to work on this maybe for a theme or a replacement for Hero's lockscreen. But first I wanted to know if it is even possible due to different ROMs and all. Any suggestions is appreciated.
well on hero if you look inside lockscreen.apk is a app think the same goes for droid.If you switch the files it wont work because frmeworks are diff and 2.0 aoos cant work on 1.5 builds excluding some.
Ace42 said:
well on hero if you look inside lockscreen.apk is a app think the same goes for droid.If you switch the files it wont work because frmeworks are diff and 2.0 aoos cant work on 1.5 builds excluding some.
Click to expand...
Click to collapse
In hero there is a lockscreen app to provide the image background and overlay support. com.htc.framework then provides the drawables for the bar overlay. In droid, the lockscreen is provided by xml and drawable values in the framework-res and supporting java frameworks, similar to how stericson did his lockscreen. They are two completely different concepts and isolating the values of either do not work as you are looking at sdk 5 versus sdk 3

Notification bar wanted for Aria

I've tried the roadsms app on my Aria. It works but due to the size of the screen I'm missing 1/4 of the keyboard. So I know these apk's can cross builds. Could some kind member post the apk to the Captivate's notification bar? I don't know if it would work on Sense UI, but its worth a try! The Galaxy notification is sooooo much better than any other build. I mean, come on this is how it should be. Wifi, bluetooth and gps control is right there!!!
Anyways, someone whos rooted can you rip the xda-community your apk?
Sent from my HTC Liberty using XDA App
Here's the framework-res.apk file from my Captivate, which contains the notification bar AFAIK. FYI our doesn't have a GPS toggle though, just wifi/bluetooth/silent/vibrate.
I'm still somewhat new to android so I'm unsure of how you'd get this working on your Aria though. Good luck
http://www.mediafire.com/?u3xmoff0rb2kzfo
Edit:Or maybe you'd need twframework-res.apk? http://www.mediafire.com/?4yter4knnfl1s28
Installing a different notification bar is not an easy process.
There's a whole lot of system-specific things going on with it, so moving the TouchWiz bar to a Sense phone will fail, and hard, perhaps to the point of preventing you from even booting, without some serious modifications to the framework-res.

[Q] Theming Power Control Widget Gingerbread

I can't seem to theme the power control widget in CM7. I had everything working in CM6. Any help? Please and thank you.
chancellorr said:
I can't seem to theme the power control widget in CM7. I had everything working in CM6. Any help? Please and thank you.
Click to expand...
Click to collapse
Why don't people describe the problem?
I've done it with my rom, what's the problem, what are you doing and what are you observing?
djmcnz said:
Why don't people describe the problem?
I've done it with my rom, what's the problem, what are you doing and what are you observing?
Click to expand...
Click to collapse
The problem is nothing is changing. I metamorphed the system.apk.
Hi there. I understand your frustration with this, as I ran into this the first time I ported my theme to a Gingerbread rom. 90% of the status bar and pull down notification bar icons are handled in a differently way with 2.3. You'll find these in the SystemUI.apk. Res / drawable hdpi. While at first these seems crazy, it does offer some other bonuses, like being able to change the clock, data, and Clear button text colors via an XML in there as opposed to having to mess with the services.jar. Anyway, hope this helps.
es0tericcha0s said:
Hi there. I understand your frustration with this, as I ran into this the first time I ported my theme to a Gingerbread rom. 90% of the status bar and pull down notification bar icons are handled in a differently way with 2.3. You'll find these in the SystemUI.apk. Res / drawable hdpi. While at first these seems crazy, it does offer some other bonuses, like being able to change the clock, data, and Clear button text colors via an XML in there as opposed to having to mess with the services.jar. Anyway, hope this helps.
Click to expand...
Click to collapse
Thanks but I already did all that. I'm trying to theme the Power Control Widget.
Isn't the power control widget files in settings.apk? (well it is on cm7). Mine themes fine. (not metamorphing though, just flashable zips)
kevin2516 said:
Isn't the power control widget files in settings.apk? (well it is on cm7). Mine themes fine. (not metamorphing though, just flashable zips)
Click to expand...
Click to collapse
I just gave in and got SwithPro. Thanks anyways guys.

[MOD](UPDATE 9/3/11) Quick Settings for Official GB OTA (4.06.605.2)

UPDATE 9/3/11 - I have all the extras discussed added and the layout straight (I hope). There is now just a single zip attached that should be good to go. I would rather not add more functions at this time, as there are other projects I need to finish (ROMs, Power Widgets, 6-bar signal, etc., etc...)
Hi all. In the process of creating my upcoming Magnolia ROM for the Incredible based on the new official GB update, I managed to activate the quick settings tab in the notifications pull down bar. I haven't seen this anywhere else, so I thought I'd share with everyone so we can get more ROMs cooking off the official GB update.
This is just the stock SystemUI.apk with the quick settings tab activated (including the standard "extras" like brightness and media volume) and the GPS reticle hidden. No other changes have been made. Devs feel free to grab this and mod as you wish.
Just copy the zip file to your sdcard and flash as usual. As always, please backup first, and you flash this mod entirely at your own risk. If you want things rearranged or functions added, etc., please feel free to ask your favorite dev. I need to move onto some other stuff.....
Steve
Thanks Steve!! I spent most of yesterday trying to activate them with no luck. I can't wait to see what I was missing. Great work!!
Edit: I also confirm that after flashing your zip, they're working perfectly.
Like a boss! That's awesome man, very impressive. Without having to dig through the entire apk could you let us know which xml you had to edit or how you managed to achieve this? It was so elusive for me lol.
Hey, now we've got a chance to get everybody back on Sense 1.0 roms.
I can confirm the zip works, also. Great job!
Sent from my ADR6300 using XDA App
godsmacked4653 said:
Hey, now we've got a chance to get everybody back on Sense 1.0 roms.
I can confirm the zip works, also. Great job!
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
That's sick it's working, what are the stock quick settings that it activates? I can't flash at this very moment.
Dumb question I flashes this and I see nothing on the pull down?
00McD00 said:
That's sick it's working, what are the stock quick settings that it activates? I can't flash at this very moment.
Click to expand...
Click to collapse
Wifi, bluetooth, hotspot, GPS, and mobile network.
Not much, but I know it's not difficult to add things to that.
d08speed3 said:
Dumb question I flashes this and I see nothing on the pull down?
Click to expand...
Click to collapse
It's the tabbed style pulldown like in Sense 2.1/3.0. Not the CM style toggles at the top of the status bar.
Nice find, wonder eBay else HTC left buried in code for devs to find.
Sent from my ADR6300 using Tapatalk
Where do I find these? Srry was on CM& all my life lol
d08speed3 said:
Where do I find these? Srry was on CM& all my life lol
Click to expand...
Click to collapse
Pull down the notification bar and touch the "quick settings" tab on the bottom right.
Edit: Jermaine beat me to the answer
I'm on McSenseless and when I pull the notification bar down there no tabs at the bottom? Hmmm
Is this because sense UI has been deleted and replaced with LauncherPro?
d08speed3 said:
I'm on McSenseless and when I pull the notification bar down there no tabs at the bottom? Hmmm
Is this because sense UI has been deleted and replaced with LauncherPro?
Click to expand...
Click to collapse
Yeah I might have to do some trickery to get it to work without rosie so we will see, stay tuned. But it will definitely be in my McSense rom.
Excellent, thanks sk806!
Anybody know how to add more of the settings that appear in the 2.1/3.0 roms?
d08speed3 said:
I'm on McSenseless and when I pull the notification bar down there no tabs at the bottom? Hmmm
Is this because sense UI has been deleted and replaced with LauncherPro?
Click to expand...
Click to collapse
You need to wipe dalvik-cache for them to work. I tested it on my rom, without rosie and it works fine.
jermaine151 said:
You need to wipe dalvik-cache for them to work. I tested it on my rom, without rosie and it works fine.
Click to expand...
Click to collapse
I wiped good lol and still nothing
Worked great on my custom gingersense Rom. Thanks
Can anyone tell me how to add a few quicksettings like silent, vibrate and the such, or is this something a dev needs to do? I will be going to McSense as soon as these are implemented.
Worked great, I just used UOT on the file, mixed it up with Liberation 2.0 Beta 5, a new set of battery icons, and green overscroll. Now I just need one with Brightness, Rotation Lock, and screen timeout!
Thanks for the hard work, very appreciated!
Cheers
RoboCuz
Just flashed the quick settings and they work flawlessly. Thanks a ton!! This rooted OTA is getting better and better daily.

[Q] STOCK ICS - Status Bar lag.

Welcome.
I have a question for you.
Well, I have your P7310 stock ics and I have a little problem.
Well, on the desktop and drawer status bar just lags - lack of liquidity.
Complete declines animation.
In any other application running smoothly just a launcher lag.
Do you also have such problems.
Is there any possibility of swapping statusbar from another rom eg AOSP CM10.1?
The easiest thing to try would be a different launcher. I like Holo HD, but there are other good ones too. You can try replacing the SystemUI.apk, but you need to replace two libraries as well. AAccount posted them in one of his threads:
http://forum.xda-developers.com/showpost.php?p=38088583&postcount=1135
You will need root access, and a root browser type app, and this may make your system unstable, so I would recommend installing a custom recovery and making a nandroid backup first.
Of course I have tried other launcher.
Only in Nova Launcher it a little better:
Desktop - the status bar work really bad
Drawer - the status bar work perfetct
Only issue with desktop :/
Tried to replace the files that are above?
This helped to something.
And one more thing.
What is the exact path of the files.
All I know is that you must put the SystemUI.apk to system / app
And the rest of the files do not know where to move.
I would ask for a little help.
I have a custom recovery, backup made ​​so I am calm.
Now, the question is not about.
I was happy to at CM10.1 RC2 but unfortunately it seems STOCK ICS is faster as can be seen in games.
Is throwing another kernel to be something CM10.1 helped performance in games, etc.
Sorry for bad english
You could try to change animation speed in developers options, and/or you could try Addem1234's CM9-ROM (with AA's 1.8.7-kernel).
I believe they go in system/framework.
I have had no problems with lag with CM10.1 and it's default kernel, even in games. I just had to use extended desktop to hide the nav bar and set the status bar to autohide. In addition, I overclocked and made various memory tweaks, as well as installed crossbreeder. Finally, I don't use the persistent search bar, but I add the widget separately to all of my screens. Each of these things may have helped a little or not at all, but all together, they give me a system with which I am very happy.
I used all these same settings on cm9, and I see little to no difference.
Addem1234 cm-9 is faster than CM10.1 C-o-M ?
tomekw881 said:
Addem1234 cm-9 is faster than CM10.1 C-o-M ?
Click to expand...
Click to collapse
Last time I tried: Yes.
Sent from my GT-P7310 using xda app-developers app
I think they are pretty comparable when I get them set up properly. CM9 is starting from a faster place, I will grant that. In a fully optimized configuration, I am hard pressed to see a significant difference.

Categories

Resources