[Q] Change nabvar size on CM11 - Samsung Galaxy Nexus

I would like to know how to change the navbar size, 34-36 dpi will be nice!, Im on official CM11 (I got the update about 2 days)

Jerber said:
I would like to know how to change the navbar size, 34-36 dpi will be nice!, Im on official CM11 (I got the update about 2 days)
Click to expand...
Click to collapse
im using GravityBox Kitkat for that
you'll need Xposed framework for GravityBox to work.
and Xposed does not support ART runtime yet, so only Dalvik

If you really need to get this done on ART, or doesn't want to use Xposed, just PM me and I'll do the mod for you. It's a simple framework-res mod that I've always been doing for myself.
Sent from Google Nexus 4 @ crSimple

I had a insane battery drain on 4.3 with Xposed (official CM), so, I'm not sure if I should try, I don't want to have any problem, maybe I should try the framework mod

Jerber said:
I had a insane battery drain on 4.3 with Xposed (official CM), so, I'm not sure if I should try, I don't want to have any problem, maybe I should try the framework mod
Click to expand...
Click to collapse
Just send your /system/framework/framework-res.apk to GeForce8800Ultra [at] gmail [dot] com. PM me when you have sent it, and I'll handle the mod for ya. I'm in the final exam week, so you can expect to see it finished by Friday.
Sent from Samsung Galaxy Nexus @ CM11

Here you have!
PD: Somebody knows how to fix this? (the red squares)

Is there a guide somewhere on how I could modify framework-res myself?
Thanks in advance

freemsk1 said:
Is there a guide somewhere on how I could modify framework-res myself?
Thanks in advance
Click to expand...
Click to collapse
1) Decompile using apktool or any tool you like (I prefer APKChanger)
2) Edit /res/values/dimens.xml, change the bold numbers in these lines to the DPI you want:
Code:
<dimen name="navigation_bar_height">[B]48[/B].0dip</dimen>
<dimen name="navigation_bar_height_landscape">[B]48[/B].0dip</dimen>
<dimen name="navigation_bar_width">[B]42[/B].0dip</dimen>
3) Recompile. Now you have the original file and the compiled one. Open both with WinRAR, drag the "resources.arsc" from the compiled one to the original one.
Done. The end result is the original framework-res.apk. Replace it in /system/framework/ (pay attention to permissions: rw-r--r--, 0755), reboot and all done.
Keep in mind that whenever you update your ROM, you have to modify the new ROM's framework-res again.
As for making it into a flashable ZIP... I use a pre-cooked template but you can do it with other tools.

I had good results and no conflicts on CM11with Xblast tools on the Xposed framework. It seems to have a lighter touch than gravity for.
Just in case you don't want to mess with the files yourself.

bexol said:
I had good results and no conflicts on CM11with Xblast tools on the Xposed framework. It seems to have a lighter touch than gravity for.
Just in case you don't want to mess with the files yourself.
Click to expand...
Click to collapse
1) for people who has had problems with Xposed (like OP author)
2) for people who loves ART
3) for people who just hates Xposed and any 3rd-party additions (me )
Sent from Motorola Photon Q 4G LTE @ CM11

Just installed cm11 on my note 3. This worked perfectly. It's nice to be able to do a mod like this without installing apps and other junk. Thanks AndyYan!

system ui updates
http://forum.xda-developers.com/showpost.php?p=68904070&postcount=464

Related

[Q] How to merge several framework mods?

I'm building my own ROM, and I'm using a modified framework with some mods, but now I want to add a battery mod to that. But the battery mods are always shared in the framework file itself, which makes it impossible to merge with an existing framework, or am I wrong?
Can someone please tell me how I add a battery mod to an already modified framework file?
Thanks.
Isn't anyone going to tell me how to do it?
spasms said:
Isn't anyone going to tell me how to do it?
Click to expand...
Click to collapse
The best thing to do is flash and existing rom or theme. Then apply then apply any battery mod, then copy framework to your workspace and simply replace the image files with the ones that you want. There are advanced tutorial to do this from scratch but inless you have alot of timw and are confident with xml's it might not be a good option.
Hope this helps.
Dan
Sent from my GT-I9000 using XDA App
If all you want is just the battery mod then you can try this site
http://circle.glx.nl/
You can upload the framework-res.apk from your theme and upload it to the site.
on the end which rom do we have to choose???
I changed the Battery Icon, and Some Icons, but which rom do I have to choose on the end when I upload my framework.
I can choose between Sense Rom ( not Leoroid ), Leoroied, some other, HTC HD Rom ???
Depends on the ROM you use... Probably Sense ROM (Not LeeDroid v2.2).
I tried doing the above and it seems circle.glx.nl breaks something inside the framework file I upload causing it to fail.
I wouldn't mind manually doing it, but I can not find any source files to the battery mods, all that is there are ready made frameworks (which are useless to me) and the kitchen website.
Someone tell me how to do it from scratch please.
You dont choose a rom at the end but rather upload your own framework via the browse button. I found the editing the notification in the kitchen kills the framework for the Galaxy S as well....
mrwookie6379 said:
You dont choose a rom at the end but rather upload your own framework via the browse button. I found the editing the notification in the kitchen kills the framework for the Galaxy S as well....
Click to expand...
Click to collapse
That is what I did. I just need to know which files are actually changed without spending hours using diff.
Battery mod makers could easily post the images/xml's they use so I can add it to my framework manually.
spasms said:
That is what I did. I just need to know which files are actually changed without spending hours using diff.
Battery mod makers could easily post the images/xml's they use so I can add it to my framework manually.
Click to expand...
Click to collapse
What battery mod/style are you after and I'll post the images for you?
I'm after GS Blue from: http://forum.xda-developers.com/showpost.php?p=8965042&postcount=1149
I saw some modders put their sources up which is very nice, but I don't really fancy those mods

[MOD][21-04] 5 Lockscreen MOD for XWJVB -Lockscreen Wallpaper/New Puzzle Lock

5 Lockscreen MOD for XWJVB - Updated
I have been working on the Lockscreen MOD ever since I finished my work on Overscroll Glow MOD. However, Rimmer1966 has successfully ported the 5 lockscreens to Gingerbread, and his share was very helpful to finish my work faster. I have decided to share my work too, so here it goes.
Features:
1. Includes 5 Lockscreens - Android, Glass, Puzzle, Epic, Rotary
2. Built on Stock Framework and Stock Settings App.
3. Puzzles are now working on the Glass Lockscreen.
4. Lockscreen Wallpaper now works on ALL Lockscreens!!
5. Puzzle Lockscreen is modified to show glow effect when the Puzzles are touched. (Thanks to Crysis21 for fixing the bg image)
6. Fixed few Force Close issues on Rimmer1966 lockscreens.
7. Framework Includes CRT Off Animation, Extended Power Menu, Overscroll Glow and Battery Percentage mod.
Click to expand...
Click to collapse
Known Issues:
None so far
Click to expand...
Click to collapse
Download Link [DEODEXED ROM ONLY]:
XWJVB
http://www.multiupload.com/OO1DZZ61MO
Click to expand...
Click to collapse
Version History:
04242011
Fixed hot reboot issues with Android Lock on Landscape Mode
(Thanks goatrip, Brotuck,no.one.writeme for testing)
Added New Honeycomb Lockscreen Clock to Android Unlock. More info about this MOD here http://forum.xda-developers.com/showthread.php?p=13165379#post13165379
04212011
Fixed issues with Puzzle Lock Background. (Added different puzzle images for Glass Unlock and Puzzle Unlock to prevent stretching). It should be perfect now. [zzz_unlock_puzzle_bg_1.png][zzz_unlock_puzzle_bg_1_pressed.png]
Fixed text issues with Epic Lockscreen on JVB
04202011
Fixed Media Player Issue with Puzzle Lock Screen
Fixed the Puzzle Lock Background Issue.
Fixed all the Framework issues. It should be perfect now.
Fixed issues with USB Notification Text
04182011
Added Lockscreen Wallpaper support for all Lockscreens
Added XWJVB version made from totally reworked stock framework
04152011
Inital Version
Click to expand...
Click to collapse
Credits:
untermensch - Implementation and Coding
Rimmer1966 - Porting to XXJVK - Hit a Thanks!
Juwe11-Helping me mess with the framework
Click to expand...
Click to collapse
Thanks, gonna try it
Enviado desde mi GT-I9000 con android 2.3.3
ty for this !!!!!
Thanx !
Did anybody check this with darky 10 beta 4 yet ?
Yes.. Not working for me, bootloop power =( But, give it a try.. maybe i did something wrong :|
Looks to be just what im after.
would it be possible to do a CWM2 version
as i dont think CWM3 one would work
frankatboy said:
Looks to be just what im after.
would it be possible to do a CWM2 version
as i dont think CWM3 one would work
Click to expand...
Click to collapse
For now, extract the contents of the archive and push it into your device or flash CF Root and install the zip and revert back..
Sent from my GT-I9000 using XDA App
Ehy dhiru, can u help me to include the 5 locks into my ROM?
i get a lot of errors in recompiling...
Sent from my SGS with Simply 3.0 RC3 ROM
Sure. What errors are you getting? And do you have any idea about the PNG issue with the Puzzle Lock?
Sent from my GT-I9000 using XDA App
Yes i know the bug, but apk manager doesn't allow me to compile apk after modding it....
Can we talk in private?
Have you got Skype? So tomorrow i give you my contact....
Or also GTalk....
Sent from my SGS with Simply 3.0 RC3 ROM
I will PM you my Google Talk ID. Lets talk tomorrow when you are free.
Sent from my GT-I9000 using XDA App
so cool will look at it all tomorow
Nice work dhiru.
By the way can you make an update file just for the 5 lockscreens only?
I do like the icons here than the original and I already have a modded battery icons and other stuff.
Or maybe you can teach me how to mod it by myself.
Thanks!
jbdroid said:
Nice work dhiru.
By the way can you make an update file just for the 5 lockscreens only?
I do like the icons here than the original and I already have a modded battery icons and other stuff.
Or maybe you can teach me how to mod it by myself.
Thanks!
Click to expand...
Click to collapse
This mod includes edits for framework-res.apk too. Hence, if you omit that, you will get FCs on boot due to missing resources.
I suggest you to decompile the provided framework-res.apk and make your required theme edits and recompile it back, or you can do it vise versa. Decompile your theme, copy the files from the source code and recompile it
dhiru1602 said:
This mod includes edits for framework-res.apk too. Hence, if you omit that, you will get FCs on boot due to missing resources.
I suggest you to decompile the provided framework-res.apk and make your required theme edits and recompile it back, or you can do it vise versa. Decompile your theme, copy the files from the source code and recompile it
Click to expand...
Click to collapse
Just decompiled framework-res.apk. No errors. Tried decompiling Settings.apk, error.
I will work on it tonight as I have an errand to do.
This would be my first try on modding. Thanks for putting me on the right track!
jbdroid said:
Just decompiled framework-res.apk. No errors. Tried decompiling Settings.apk, error.
I will work on it tonight as I have an errand to do.
This would be my first try on modding. Thanks for putting me on the right track!
Click to expand...
Click to collapse
For the theme, you only have to decompile the framework-res.apk. Keep the settings.apk intact
dhiru1602 said:
For the theme, you only have to decompile the framework-res.apk. Keep the settings.apk intact
Click to expand...
Click to collapse
It worked! Whew. Thanks a lot!
EDIT: Tested on XXJVB. Seems like the framework needs to be updated. Noticed some text issues.
Will update with a proper version soon.
Only text issue i see is when connecting usb. Nice theme !
Keep it like this and i do not need to develop one myself
dhiru1602 said:
EDIT: Tested on XXJVB. Seems like the framework needs to be updated. Noticed some text issues.
Click to expand...
Click to collapse
can i add it later tomorow your lockscreens to my tiny mods?

[HELP][TESTING] Theming Sense 5

SO...with the release of the new Sense 5 Roms for our beloved One X I'm not seeing any themes (I know it's early).
I've had a go at porting a few over by decompiling the systemui.apk, updating the images and recompling as you used to with the original sense 4+ roms but keep losing my status bar!
I'm just starting small at the moment, changing wifi icon, battery, signal etc etc but then I'm going to move onto app icons. The venom themes are epic and it would be awesome to see a few on the sense 5 ui!
Wondering if the geniuses here can shed some light, I haven't found any tutorials or help guides as of yet, hopefully this will start as a decent pool of information,
leegreenaway said:
SO...with the release of the new Sense 5 Roms for our beloved One X I'm not seeing any themes (I know it's early).
I've had a go at porting a few over by decompiling the systemui.apk, updating the images and recompling as you used to with the original sense 4+ roms but keep losing my status bar!
I'm just starting small at the moment, changing wifi icon, battery, signal etc etc but then I'm going to move onto app icons. The venom themes are epic and it would be awesome to see a few on the sense 5 ui!
Wondering if the geniuses here can shed some light, I haven't found any tutorials or help guides as of yet, hopefully this will start as a decent pool of information,
Click to expand...
Click to collapse
which tool are you using?
if you are using apktool, have you copied META-INF folder , from the original APK, inside the new one? ( Old signature)
after pushing it to the device, have you set permissions? (rw-r-r--)
Cache and Dalvik-cache wiped ?
xcesco89 said:
which tool are you using?
if you are using apktool, have you copied META-INF folder , from the original APK, inside the new one? ( Old signature)
after pushing it to the device, have you set permissions? (rw-r-r--)
Cache and Dalvik-cache wiped ?
Click to expand...
Click to collapse
ooooo didn't think about the META-INF...I'll give it a shot in the morning.
All the other steps i've done, multiple times. It's as if the systemui.apk doesn't apply during boot so maybe it is the meta file!
And I'm using apktool to decompile...recently found it better that going through the hassle of virtuous 10 suite
leegreenaway said:
ooooo didn't think about the META-INF...I'll give it a shot in the morning.
All the other steps i've done, multiple times. It's as if the systemui.apk doesn't apply during boot so maybe it is the meta file!
Click to expand...
Click to collapse
yep, apktool doesn't sign the apk, so you need to keep the old signature
Signing systemui.apk is not necessary. I tested many times.
To change pngs(especially patch9 pngs), just copy and paste to the apk with 7-zip if apktool get error or SystemUI FCs.
P.S. Please use the most original apk to modify if it's failed in previous build.
Sent from my HTC One X using xda app-developers app
Not bothering with patch9s I hate those things!
For some reason everytime I push a new
SystemUI.apk to my phone, reboot, wipe cache and dalvik (for good measure) it won't apply so I lose the status bar and background etc. Essentially no system ui applies!
It's a pickle, im on ARHD at the moment so will have a go at decompiling! And try again
Funny thing is, someone made a made mod on here already for 1% battery, and even installing that doesn't work!...I'll keep tinkering
Sent from my HTC One X using xda app-developers app
leegreenaway said:
Not bothering with patch9s I hate those things!
For some reason everytime I push a new
SystemUI.apk to my phone, reboot, wipe cache and dalvik (for good measure) it won't apply so I lose the status bar and background etc. Essentially no system ui applies!
It's a pickle, im on ARHD at the moment so will have a go at decompiling! And try again
Funny thing is, someone made a made mod on here already for 1% battery, and even installing that doesn't work!...I'll keep tinkering
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
unfortunately for me is the same.
i'm trying to add a new item to settings.apk (SuperUser), i have edited all required xmls, added png, recompiled than signed, but no way to make it work.
i have also tried with zipsigner app using platform keys, but no result.. Settings won't show
Success (well a little)
Soooo....I've managed to mod the battery!
I'm going for a sort of Far Cry 3 Blood Dragon 80's style eventually, but this is the first step! Now for the wifi/signal etc. etc.
So this is what I did...
Got an existing circle battery mod with the same naming convention (since I can't be bothered to rename 100 files )
Recoloured them all in photoshop and increased the pixels size to 50 x 50
Deleted the battery icons in the existing SystemUI.apk via 7zip
Added the modified battery icons to the apk
Then pushed to the phone via adb
It automatically rebooted and viola! I may run 'fixed permissions' from recovery to be safe and wipe cache/dalvik to make sure but it's looking good!
View attachment 2201169
hey guys, if you are only changing icons, you don't need to decompile just swap the images by throwing the img in the .apk with ex(7zip) you only need to decompile with xml files and such and if you need a .9 img use the dot9 patcher in sdk then use this" https://dl.dropboxusercontent.com/u/74861217/draw9compiler.zip " to compile it before throwing it in the .apk. to use the compiler throw the .9 patched img into example1 then run the prog at main folder then look in done for compiled img
toolhas4degrees said:
hey guys, if you are only changing icons, you don't need to decompile just swap the images by throwing the img in the .apk with ex(7zip) you only need to decompile with xml files and such and if you need a .9 img use the dot9 patcher in sdk then use this" https://dl.dropboxusercontent.com/u/74861217/draw9compiler.zip " to compile it before throwing it in the .apk. to use the compiler throw the .9 patched img into example1 then run the prog at main folder then look in done for compiled img
Click to expand...
Click to collapse
Yep already doing this mate, it's way easier than decompiling and recompiling.
Thanks for the input though!
Little more progress...
Managed to get all the status bar icons themed! I consider that great progress at the moment!:laugh:
View attachment 2201536
Almost there...
I'm pretty much there with what I want to do now, status bar sorted (don't know about the clock color yet) also went ahead and did the nav bar icons or prism icon as they call it, and change the home nav bar background to transparent to declutter it a bit.
I'll upload my systemui and prism files once I'm finished so anyone can have a go.
When the Viper team decide to throw a sense 5 rom out the tweaks are going to make everything soooooo much simpler! :good:
View attachment 2201785
View attachment 2201786
A few lock screen touches...
Modded the lock screen ermm....lock and changed the 'answer' 'decline' buttons too a neon style.
Also changed the music controls on the lock screen but they aren't as pretty as I'd like!
View attachment 2201908

statusbar icons

Howdy all. I'm wanting to customize a few of the statusbar icons on my M8 (Sprint). Specifically, the battery, bluetooth, WiFi, gps animation, etc.
I will not be messing with the Signal meter or 3G/4G/LTE/Sprint Spark icons. I know that tends to break SMS and triband LTE...though I do have the Disable Sprint SystemUI flag module installed and working.
I've already got the pngs and xmls ready to go. I just need to figure out which APKs they need to be flashed to as I am used to working on Samsung Galaxies which use only framework-res and systemUI (and maybe TWframework-res). Plus 4.4 with Sense 6 presents its own special set of problems modifying/theming the stock rom, so I've read.
Suggestions?
radji said:
Howdy all. I'm wanting to customize a few of the statusbar icons on my M8 (Sprint). Specifically, the battery, bluetooth, WiFi, gps animation, etc.
I will not be messing with the Signal meter or 3G/4G/LTE/Sprint Spark icons. I know that tends to break SMS and triband LTE...though I do have the Disable Sprint SystemUI flag module installed and working.
I've already got the pngs and xmls ready to go. I just need to figure out which APKs they need to be flashed to as I am used to working on Samsung Galaxies which use only framework-res and systemUI (and maybe TWframework-res). Plus 4.4 with Sense 6 presents its own special set of problems modifying/theming the stock rom, so I've read.
Suggestions?
Click to expand...
Click to collapse
xposed and gravitybox. and a backup
---------- Post added at 09:32 PM ---------- Previous post was at 09:30 PM ----------
rbouza1 said:
xposed and gravitybox. and a backup
Click to expand...
Click to collapse
edit. you prolly on sense. wont the xposed statusbar icon module work ?
Yes, I am on Sense 6. Never heard of the Statusbar Icon module. It probably does work. Link to it?
PS: I was told Sense and gravitybox is like mixing gasoline and fire.
the rom your using 1% or 10% battery indicator?
10%. But I didn't think that really mattered. I have xmls ready to change it to a 1%.
just grab a vrtheme zip and place everything needed in it (images must be in correct folder xmls must be recompiled and placed in correct folder) and rezip and flash.
if need be pm me and i'll help you out
dased14 said:
just grab a vrtheme zip and place everything needed in it (images must be in correct folder xmls must be recompiled and placed in correct folder) and rezip and flash.
if need be pm me and i'll help you out
Click to expand...
Click to collapse
I don't think I can use vrtheme as I need to recompile the xmls back into binary first. And APK Multitool is having issues doing that even with the newest version of apktool.

Oos animations port request

Hello XDA community,
Is there anyone here who could port the oos animations to aosp/caf based roms as a flashable framework mod or a substratum theme since substratum support custom animations. I would do it for myself but I dont know how.
I would even be happy if someone eventually has a explanation/guide how to do it then I can try it for myself.
Thanks
Best Regard CroW_D
The animations are located in res/anims within framework-res.apk
To extract them from OOS you need to grab framework-res.apk from OxygenOS (it's in system/framework). I haven't done any mods for a while now, but replacing the anim files inside the framework-res.apk of your rom with the ones from oxygen os should work. I'd do a backup before trying this. I used to be quite nitty so what I used to do was decompile both framework-res.apk with apktool, replace the anim files after decompiling, then recompile your framework-res.apk
If you have the framework-res.apk from your rom i don't mind doing a test zip for you to try
coldflid said:
The animations are located in res/anims within framework-res.apk
To extract them from OOS you need to grab framework-res.apk from OxygenOS (it's in system/framework). I haven't done any mods for a while now, but replacing the anim files inside the framework-res.apk of your rom with the ones from oxygen os should work. I'd do a backup before trying this. I used to be quite nitty so what I used to do was decompile both framework-res.apk with apktool, replace the anim files after decompiling, then recompile your framework-res.apk
If you have the framework-res.apk from your rom i don't mind doing a test zip for you to try
Click to expand...
Click to collapse
Are you in some way available in Telegramm ?
Edit: i manged to make it but only the closing animations is working the app opening animation is still the same can you help me with that ?
CroW_D said:
Are you in some way available in Telegramm ?
Edit: i manged to make it but only the closing animations is working the app opening animation is still the same can you help me with that ?
Click to expand...
Click to collapse
I tried the same thing and got the same result
Origamiman72 said:
I tried the same thing and got the same result
Click to expand...
Click to collapse
Yeah i did some work withh theming devs and we end in the result it must be some oos closed source stuff.... But really would be nice to have it :/
CroW_D said:
Yeah i did some work withh theming devs and we end in the result it must be some oos closed source stuff.... But really would be nice to have it :/
Click to expand...
Click to collapse
also idk if its just me, but did it also cause some systemui crashes for you?
Origamiman72 said:
also idk if its just me, but did it also cause some systemui crashes for you?
Click to expand...
Click to collapse
No systemui crashes for me. Just replaced the anim folder from oos with the current one you have on the custom ROM but make sure you have to redone this every time you flash an update of the custom rom. Meiby you picked always the old framework res apk. And replaced it can causes the issue.
Did this work. Can anyone share the file.

Categories

Resources