[REQ] Enable 'Navigation bar' for CM9 Quarx build - Defy General

Guys, I ask this because i have tried 1000 ways and I could not recompile the frameworks after making changes to bools and arrays.
Please, someone would do for me?
Its for the latest build of Quarx.
I followed this tutorial but the problem is that i can't never rebuild. Damn!!
http://forum.xda-developers.com/showthread.php?t=1364757
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks in advance!:highfive:
_______________________________
Edit.
Framework here.
framework-res.apk

posst the framework...
Sent from my MB525 using xda premium

looking forward to it , it means we can disable our capacitive buttons and use this on screen buttons ....... at the moment it seems to be awesome ......
lets see if it can be integrated and works flawless......

yes, please post your framework-res.apk here. I dont have quarx build downloaded yet. It shud be done without a problem and will upload u a update.zip for it.

I'd be interested to see this in action too.. can you please modify this file? It's the framework from http://quarx2k.ru/cm9-nightly-defy+/CM9-NIGHTLY-120710-Defy+.zip ... thank you
https://dl.dropbox.com/u/18827417/framework-res.apk

Type in command line "java -jar apktool.jar -if framework.res", then decompile it. Edit the files and before compile it, extract the archive "resources.arsc" that is inside the original "framework-res.apk" and copy it to "framework-res" folder. Then try to compile it. This should help. I´ve not tested the new "framework-res.apk" file, but at least I can compile it.

jassi32 said:
looking forward to it , it means we can disable our capacitive buttons and use this on screen buttons ....... at the moment it seems to be awesome ......
lets see if it can be integrated and works flawless......
Click to expand...
Click to collapse
It works perfect!, There was a guy who changes the frame for this, but stopped ..
Favaron said:
Type in command line "java -jar apktool.jar -if framework.res", then decompile it. Edit the files and before compile it, extract the archive "resources.arsc" that is inside the original "framework-res.apk" and copy it to "framework-res" folder. Then try to compile it. This should help. I´ve not tested the new "framework-res.apk" file, but at least I can compile it.
Click to expand...
Click to collapse
I tried that way too and it works, but apparently not successfully recompiled .. all are in folders without compiling. for example values and the files .xml either.

@pabloltg : I left for office today, will reach home @ 4 pm and will upload you the framework. (Obviously if somebody has not done it already )

brajesh.sharma87 said:
@pabloltg : I left for office today, will reach home @ 4 pm and will upload you the framework. (Obviously if somebody has not done it already )
Click to expand...
Click to collapse
Many thanks mate!
I trying today too, but not lucky.
May be i should wipe my laptop.xD

Navigation Bar: http://forum.xda-developers.com/showthread.php?t=1495002

Related

[Q] Can this be themed without altering anything else on my phone? (With Pic)

Running a deodexed 2.2 rom with a custom theme that I love and don't want to part with, but one thing I would love to change are the white boxes that come up in apps. (Whats shown here on the bottom)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Is there a transparent or black theme that I could change those to without altering anything else?
From searching this forum I found many transparent staus/notification bars but no transparent menus yet.
The two files you need to edit are menu_background_fill_parent_width.9.png and menu_background.9.png. Both are in framework-res in the drawable-hdpi folder. Be warned if you make em black you will need to invert the text also or it'll be black on black and useless.
N-Forced said:
The two files you need to edit are menu_background_fill_parent_width.9.png and menu_background.9.png. Both are in framework-res in the drawable-hdpi folder. Be warned if you make em black you will need to invert the text also or it'll be black on black and useless.
Click to expand...
Click to collapse
Thanks so much man.
Ok I found the files in question through the framework.apk through root explorer but I don't think me going in and editing the .png image will work on it's own right? I can't just extract the image, change it, and plug it back in and have it work right?
Ok searching some more looks like I will need Ninjamorph to just change out the .png files. Lets see how this goes. Thanks again!
Hand76 said:
Thanks so much man.
Ok I found the files in question through the framework.apk through root explorer but I don't think me going in and editing the .png image will work on it's own right? I can't just extract the image, change it, and plug it back in and have it work right?
Is this something I would need metamorph for?
Click to expand...
Click to collapse
Thats exactly what you do.
Put the framework-res.apk on your desktop
Extract it
Go to those images and edit them
Drop your edited images back into their proper path in the actual .apk itself
adb push that apk back into system/framework.
Reboot. Set perms with root explorer on that modded apk and reboot again.
Done
Ok thanks Wild, I just edited my last post and I am guessing I can eliminate some of that (connecting to the PC) if I just use Ninjamorph.
Well after following the Ninjamorph directions to a T. I got stuck in boot loops and never got to seee how teh finished product came out.
Will probably just try tomorrow on my computer doing it the other way.
Anyway thanks for the help guys and have a nice night.

Smali/baksmali help. Can't find file

I'm looking for some possible advice for adding extended toggles to an ics rom. Another thread may be better, but I thought I'd start on home turf.
What I'm looking for is statusbarservice.smali in any of the new ics systemui classes.Dex files. Either I am not following the directions correctly, or the classes.dex file for our new systemui is dif than before.
When I baksmali the classes.dex from systemui I look in smali/com/android/systemui/* and do not find the "status" folder that a lot of the "how to" tutorials direct you to, to add the necessary code to direct systemui to the quick panel settings. So long story long...anyone want to help me find the appropriate smali file to edit to get us some extended toggles? I can't find StatusBarService.smali in any of the new systemui apks. There are some similar smali files in other folders but I'm not sure where to start. When I open up the classes.dex files from other Samsung phones that have been modded(like the Note) I find the appropriate files. Any ideas/help? Thx in advance
Sent from my SPH-D710 using xda premium
check here http://forum.xda-developers.com/showthread.php?t=1612483
Madflapjack said:
check here http://forum.xda-developers.com/showthread.php?t=1612483
Click to expand...
Click to collapse
Thx, we got the Smali/baksmali thing down, it was just a matter of looking for a file that does not exist on our phone on ICS. Have figured out there's a new set of files that need to be modded, that was the issue. Its dif than the other GS2's and standard toggle mods, so its gonna be interesting the get working...
Sent from my SPH-D710 using xda premium
I know ICS is different so it's no surprise that you're running across something like that. The best suggestion I have is to search for that .smali file by name with whatever file browser you're using.
KCRic said:
I know ICS is different so it's no surprise that you're running across something like that. The best suggestion I have is to search for that .smali file by name with whatever file browser you're using.
Click to expand...
Click to collapse
Thx, after much time tracking down code(look at initial post date lol) we have toggles for ICS. Mods can delete if they want.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SPH-D710 using xda premium
help me
sleshepic said:
Thx, after much time tracking down code(look at initial post date lol) we have toggles for ICS. Mods can delete if they want.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Finally, how to made it? I can't find StatusBarService.smali in smali/com/android/systemui/statusbar. My phone is ICS 4.0.3

[REQ] Email Color Change

I have a "simple" request, could somebody help me make the "read email"-background white as well, just like the unread emails.
This is how it looks like when it's unread and read:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I would have done this myself If I was able to decompile the apk file :/ All I got was an error message and the smali files (which i'm clueless about).
I assume it's basically only one line of the xml file that has to be changed to get it white.
This is the stock Email app which comes with Maclaws ICS.
Alternative, transparent will work as well.
Thank you in advance.
which e mail programe do you use ?
its look s very nice
please can you share programe name ?
QNBT said:
I have a "simple" request, could somebody help me make the "read email"-background white as well, just like the unread emails.
This is how it looks like when it's unread and read:
I would have done this myself If I was able to decompile the apk file :/ All I got was an error message and the smali files (which i'm clueless about).
I assume it's basically only one line of the xml file that has to be changed to get it white.
This is the stock Email app which comes with Maclaws ICS.
Alternative, transparent will work as well.
Thank you in advance.
Click to expand...
Click to collapse
Post your decompile errors
Also
Install twframework-res.apk and framework-res.apk
By doing
Apktool if framework-res.apk
Apktool if.twframework-res.apk
The do
Apktool d email.apk
When done modding
Do apktool b email
Also when its just an simple png u need to change use 7-zip extract
Sent from my GT-S5830 using xda premium
-deleted old post-
edit: works like a charm, thank you very much!
baxı said:
which e mail programe do you use ?
its look s very nice
please can you share programe name ?
Click to expand...
Click to collapse
That's the stock email app, I just used a UCCW widget on top of it, which makes it look like they're merged.

[Resolved]Decompile framework_res to extract icons?

I just found some icons that are in a HOX theme and I'd like to get them on my phone....I d/l the theme but have no idea how to decompile the framework_res to gain access to the icons. I've never done anything like this before so any help would be appreciated. Thanks
Just extract the contents. You can get to the icons easily that way. I used root explorer to do that, but you might be able to use another file manager.
Sent from my SAMSUNG-SGH-I747 using xda premium
If you are not adding new icons or changing any XML files you can just drag and drop icons/PNG files from one .apk to another with 7zip
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Just to clarify....I am wanting to extract the icons from the update I d/l so that I could take some of them out and put them on my phone manually since the framework_res being decompiled is for the HOX. I was able to decompile it via APKtool....took a little figuring out but I was able to work it out and decompile it but one problem......I was not able to find said icons. I found all others but not the one's I was after The icons I wanted were these here:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I wanted the v3 one's
Here is the update I d/l
http://www.mediafire.com/?tumimia8v9403wk
So after having no luck with the framework_res file, I decided to try to decompile the SystemUI apk....for some reason APKtool keeps erroring out on me when trying to do that one, not sure why. Anybody know another way to decompile these things?
And just a FYI, this update is a flashable zip for the HOX, i'm not sure if that changes how things are done but someone above said just unzip the file and I should be able to access, drap and drop the icons easily.....not so much. If it were that easy I'd have done that before I asked about decompiling since that was the first thing I tried
What kind of error on decompiling? Bad magic error?
mrhaley30705 said:
What kind of error on decompiling? Bad magic error?
Click to expand...
Click to collapse
Just for comparisons sake.....
When I decompiled the framework_res, it said "decompiling apk" and once that was done it just went back to the command prompt
When I attempted to decompile the systemui, it said "decomiling apk" and then right under it said "test", after a few seconds it said something like can't find system file, read log (option 23). I read the log and it was just general blabber, nothing specific to the issue.
However, I was reading a tutorial on apktool this morning and they had theirs setup a little differently than I had mine so I set it up like theirs and during the process I ended up in the "projects" folder and guess what was there? The systemui folder. So I went in there and sure enough it had decompiled. Weird....but the icons I was after still weren't there either.
Turns out the icons are not a part of the update I d/l, it's a seperate d/l, which I have now as well as access to the icons
Thanks guys for the help though

[GUIDE]Quick Begining For Noob To become a Themer

Hello People Today iam guiding you for a Quick Begining To Theming Android
That Thread Includes
-Decompiling And compiling / signing apk via quick mod
-Changing apk name
-Theming .png
-Theming .9.png
-Rsizing Batch Pngs easier than ever
Requirements
Good PC
Quick Mod Tool - Here
A fresh mind
photo editing software like dotnetpaint or photo shop
npp+ -Here
Resizer_1.3.1.jar -Here
JRE -Here
JDK -Here
Leson 1 " Compiling And Decompiling / signing Via Quick Mod"
​
1- You need frist to install framework Just Get Framework-res.apk & twframework-res.apk [for theming stock ]& Systemui.apk from a deodex base and input them in Quickmod/framework
example i want to theme CM7 Rom so i put framework-res.apk & systemui.apk in quickmod/framework then open Quickmod/Tool.bat and type 12 then enter
like that
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2- Decompiling
Put the app in Quickmod\add_apk_here and then go to tool.batch and pres 1
like that " decompiling framework-res.apk for modding whole system "
So you will find your decompiled apk in Quickmod/Working Edit it as you like then
Open TOOL.BAT and press 2 to recompile
then pres 3 to sing
leson 2 Changing apk name
After decompiling navigate to \res\values\strings.xml
Change the value between >Android System < or what ever is it
To what u want
Leson 3 Theming normal .png Image
Only open it via DotNetPaint/ Photo Shop and color it as you want
like that
Leson 4 Theming .9.png file ​
Open the .9.png image you want to Edit
You can edit it as you can but dont touch the Black Dots or Lines (The Red Highlited)
Apply for any .9.png and be aware
Resizing Batch images including .9.png ​
Just open Resier attached up
Select input dpi
And output
Drag your imgs to resizer you will find output in proper folder "Drawble-xxxx"
Yeah!
Thanks For A Good Guide for beginners
Welcome
myaservip said:
Welcome
Click to expand...
Click to collapse
@op can i add your guide here ?
AbhiLP said:
@op can i add your guide here ?
Click to expand...
Click to collapse
Yup u can

Categories

Resources