[Q] Transparent status bar - HTC One V

Is it possible to make the status bar transparent, but not the drop down menu?
I've been looking for that on google for two days now, but no good results. I only saw paranoid android rom has this option, but I use CM10.
I don't know how to edit .apk's, so I'm basically looking for a mod that can be flashed or an already made SystemUI.apk for this phone.

slim bean able.
Sent from my One V using xda app-developers app

Like MIUI?
I'm sure I can use edits found on XDA. I don't think they'll work to good. APKtool barely works for me anymore
Sent from my HTC One V using Tapatalk 2

thestory101 said:
slim bean able.
Sent from my One V using xda app-developers app
Click to expand...
Click to collapse
I almost just finished customizing the cm10 rom for myself, so I don't want to have to erase it and re-do it all over again :/
Curiousn00b said:
Like MIUI?
I'm sure I can use edits found on XDA. I don't think they'll work to good. APKtool barely works for me anymore
Sent from my HTC One V using Tapatalk 2
Click to expand...
Click to collapse
I think MIUI has this feature, but I'm not quite sure. I did try to install MIUI last week, but it kept crashing, so I'm staying away from it. I do hope you can find something useful on xda

miui crashed? u mostly didn't do full wipe that's why..
Sent from my One V

paarthdesai said:
miui crashed? u mostly didn't do full wipe that's why..
Sent from my One V
Click to expand...
Click to collapse
I did a full wipe 3 times :/
But I also restored my apps and contacts/messages with titanium backup. I guess that's why it started crashing, since cm10 and miui data's are different.
Also, MIUI is a really nice rom
I'm actually using it's white/orange theme on cm10, even though it's a bit buggy
Only the transparent status bar is missing

Changing the status bar color would also help, if it can't be made transparent. If anybody has any tips on that :cyclops:

To in system/app/systemUI.apk decompile and in the files find all the XML files. U will need a good code reader (windows..notepad++,Linux green fish I think could be wrong. On android the BEST I found is Axel and droidcode). Find the super_stat file and in there is background="************" change to "#00000000" android. That is transparent. There is I a guide here on xda search it and read cause u need to edit a few more.
Sent from my PK7630000 using xda app-developers app

sbkjuggalo said:
To in system/app/systemUI.apk decompile and in the files find all the XML files. U will need a good code reader (windows..notepad++,Linux green fish I think could be wrong. On android the BEST I found is Axel and droidcode). Find the super_stat file and in there is background="************" change to "#00000000" android. That is transparent. There is I a guide here on xda search it and read cause u need to edit a few more.
Sent from my PK7630000 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the suggestion. I tried it, but failed :/
When I decompiled the systemUI.apk it only gave me the "smali" file and no "res" as this guide says. And with Axel it told me that it fails to read XML input, the file may be malformed. I have no experience with decompiling whatsoever, so I have no idea what I'm doing wrong.
View attachment SystemUI.apk
I uploaded my systemUI.apk if you can take a look at it, and tell me what's wrong

OK XML files r located at systemui.apk/res/drawable

Just use pa man...cm and pa almost alike
Sent from my One V using xda premium

sbkjuggalo said:
OK XML files r located at systemui.apk/res/drawable
Click to expand...
Click to collapse
I've tried using the apktool and console, but it won't recompile the apk. Even if I change nothing it gives this error:
Code:
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\Jaka\Downloads\apktool\SystemUI\res/dr
awable-sw600dp
invalid resource directory name: C:\Users\Jaka\Downloads\apktool\SystemUI\res/dr
awable-sw600dp-hdpi
invalid resource directory name: C:\Users\Jaka\Downloads\apktool\SystemUI\res/dr
awable-sw720dp-hdpi
invalid resource directory name: C:\Users\Jaka\Downloads\apktool\SystemUI\res/la
yout-sw600dp
invalid resource directory name: C:\Users\Jaka\Downloads\apktool\SystemUI\res/la
yout-sw720dp
invalid resource directory name: C:\Users\Jaka\Downloads\apktool\SystemUI\res/la
yout-sw720dp-land
invalid resource directory name: C:\Users\Jaka\Downloads\apktool\SystemUI\res/la
yout-sw720dp-port
invalid resource directory name: C:\Users\Jaka\Downloads\apktool\SystemUI\res/va
lues-sw600dp
invalid resource directory name: C:\Users\Jaka\Downloads\apktool\SystemUI\res/va
lues-sw600dp-land
invalid resource directory name: C:\Users\Jaka\Downloads\apktool\SystemUI\res/va
lues-sw600dp-port
invalid resource directory name: C:\Users\Jaka\Downloads\apktool\SystemUI\res/va
lues-sw720dp
invalid resource directory name: C:\Users\Jaka\Downloads\apktool\SystemUI\res/va
lues-sw720dp-port
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Jaka\AppData\Local\Temp\AP
KTOOL408005964997419481.tmp, -I, C:\Users\Jaka\apktool\framework\1.apk, -S, C:\U
sers\Jaka\Downloads\apktool\SystemUI\res, -M, C:\Users\Jaka\Downloads\apktool\Sy
stemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Jaka\AppData\Local\Temp\APKTOOL408005964997419481.tmp, -I, C:\Users\Jaka\ap
ktool\framework\1.apk, -S, C:\Users\Jaka\Downloads\apktool\SystemUI\res, -M, C:\
Users\Jaka\Downloads\apktool\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more

Related

[Q] Problems recompiling cm9 (themed) framework-res.apk

Attempting to toggle on the soft buttons in Nashdogg's CM9 b1 Blue Mist theme.
No problems decompiling and editing the appropriate xmls.
But I keep getting errors when I go to recompile the changes to the theme's framework.framework-res.apk. (apkmultitool and aapt).
Any suggestions?
Thx!
make sure you have the ics apktool.jar
Sent from a phone with kNOw CiQ k0nane...
Okay but that's not nashdoggs theme that's gooch's theme. Also try using apkmanager... let me get a link with my apk manager.
http://db.tt/EKvaxWIc
Once you unzip everything is in the folder in the other folder run the framework-if batch file then place the framework.apk in the place for modding. Open the script batch file choose the framework-res as your 0project [22] then decompile [9] edit it recompile [11] and it should work. Oh and the folder for editing appears in the project folder and the recompiled will appear in the modding folder name "unsignedFramework.apk". Oh and if it asks if its a system app hit n its not.
Sent from my SPH-D700 using xda premium
You can't recompile a themed framework. You need a clean framework
Sent from my Nexus S 4G using Tapatalk
GituSum said:
You can't recompile a themed framework. You need a clean framework
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
you can compile themed frameworks with apktool, I didnt think so at first either.
Sent from a phone with kNOw CiQ k0nane...
Big Goron said:
Okay but that's not nashdoggs theme that's gooch's theme.
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
Totally meant gooch. Knew there was a g and an o in the name ;-)
Ton of fires today. Hope to test this out tomorrow.
Thanks alla yous for your suggestions!
sent from my fully armed and operational space phone
I can decompile/recompile the soft buttons modded apk, but get compile error (specified file is missing) when I decompile/recompile gooch's theme. (Not altering anything - just getting a control test)
Tomorrow, time permitting, ill take the apk from the rom and move each of the two modded apks' changes over.
Thanks for the download, Big G
sent from my fully armed and operational space phone
Is the error in red? What is the file its saying is missing? If its signedframework or unsignedframework.. ignore that its nothing.
Sent from my SPH-D700 using xda premium
Big Goron said:
Is the error in red? What is the file its saying is missing? If its signedframework or unsignedframework.. ignore that its nothing.
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
Heh -- wrote my message whilst walking the dog -- didn't want to misquote myself without specific examples.
But, yep -- all red
c:\android\apkmanager\other\..\projects\sb_framework-res.apk\res\values\public.xml:4536: error: Public symbol drawable/zoom_plate declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ASCHIL~1\AppData\Local\Temp\APKTOOL8847823845691568917.tmp, -x, -S, c:\android\apkmanager\other\..\projects\sb_framework-res.apk\res, -M, c:\android\apkmanager\other\..\projects\sb_framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ASCHIL~1\AppData\Local\Temp\APKTOOL8847823845691568917.tmp, -x, -S, c:\android\apkmanager\other\..\projects\sb_framework-res.apk\res, -M, c:\android\apkmanager\other\..\projects\sb_framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Click to expand...
Click to collapse
Looks to be the pngs in the themed app. I ran #2 to optimize images, but that didn't do diddly.
Gonna look at Draw-9 patch later.

Unable to recompile SystemUI.apk using apktool

I have been using apktool 1.4.3 to decompile and recompile framework-res.apk without any problem.
However while I can decompile SystemUI.apk without problem, I cannot recompile it. The error is shown below.
I have done searching in this forum but still can't find the solution.
Please kindly help thanks.
Code:
C:\apktool>apktool b systemui.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
C:\apktool>
Sorry if I posted on wrong sub-forum
Have you tried recompiling with version 1.4.2?
who_mike_d said:
Have you tried recompiling with version 1.4.2?
Click to expand...
Click to collapse
The error still exists thanks
nighos said:
The error still exists thanks
Click to expand...
Click to collapse
Check if you set the right path for java
Its sometimes in program files or programs x86
Check the portal news. There was an article of an modded apktool version specially for ics
I had the same errors like you
Had these path settings wrong
Leave off the .apk. To compile the SystemUI folder type 'apktool b SystemUI'. Its also case sensitive
Sent from my Galaxy Nexus using xda premium
nbeebe24 said:
Leave off the .apk. To compile the SystemUI folder type 'apktool b SystemUI'. Its also case sensitive
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
You are right! Such a stupid mistake
Thanks
nbeebe24 said:
Leave off the .apk. To compile the SystemUI folder type 'apktool b SystemUI'. Its also case sensitive
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I didn't even notice he did that, that should fix the problem
Sent from my Galaxy Nexus using XDA
nighos said:
You are right! Such a stupid mistake
Thanks
Click to expand...
Click to collapse
No problem
Sent from my Galaxy Nexus using xda premium
i got the same error however i did not write ".apk" at the end of line.
Code:
C:\Users\x\Desktop\Apktool>apktool b SystemUI
I: Checking whether sources has changed...
I: Smaling...
Exception in thread "main" java.lang.NullPointerException
at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)
at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2922)
at org.antlr.runtime.CommonTokenStream.getSourceName(CommonTokenStream.j
ava:345)
at org.antlr.runtime.tree.CommonTreeNodeStream.getSourceName(CommonTreeN
odeStream.java:106)
at org.antlr.runtime.tree.TreeParser.getSourceName(TreeParser.java:78)
at org.jf.smali.smaliTreeWalker.getErrorHeader(smaliTreeWalker.java:372)
at org.antlr.runtime.BaseRecognizer.displayRecognitionError(BaseRecogniz
er.java:192)
at org.antlr.runtime.BaseRecognizer.reportError(BaseRecognizer.java:186)
at org.jf.smali.smaliTreeWalker.smali_file(smaliTreeWalker.java:451)
at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:85)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
at brut.androlib.Androlib.buildSources(Androlib.java:179)
at brut.androlib.Androlib.build(Androlib.java:170)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
C:\Users\x\Desktop\Apktool>
just changed an icon inside drawable-hdpi
try using this set of apk tools. this works great for me with ICS & Jelly Bean. And also make sure your SDK's are up to date. extract the folder from the zip file and use normally.
jase33 said:
try using this set of apk tools. this works great for me with ICS & Jelly Bean. And also make sure your SDK's are up to date. extract the folder from the zip file and use normally.
Click to expand...
Click to collapse
same problem
i uploaded apk,
i decompile, change an icon from drawable, but cannot recompile.
Actually, You don't need to decompile/recompile to change the images, brother. Just change SystemUI.apk to SystemUI.zip. Extract it. Edit the images you want to change. Drag the edit images into the .zip and in compression level select store. It will replace the files in .zip. Change .zip back to .apk. Try it now, it should work.
PS: Selecting store means it doesn't compress the images, Dragging the edited images into the .zip, selecting store and stuff isn't necessary, but it helps sometimes is it makes mimimal changes to the apk.
Your also going to want to get the sources from your framework-res.apk, by this command.
apktool if framework-res.apk
This should/might clear up your recompiling errors.
Sent from my Galaxy Nexus using xda premium

[Q]] Apktool/manager etc problem! Really bored !

Guys i really got bored this apktool compile errors!
I tried a lot of apktool manager .jar aapt versions but result is same!
1.apk referred to my framework-res.apk on Xperia ARC!
I can decompile but can not compile..
Im searching xda and google for a result but theres not any chances..
JDK SDK(full from 4.1 to 1.5/6) JDR JAVA latest versions..
All I want to edit xml's from SystemUI.apk but with no changes cant compile too..
heres the log
I: Smaling...
Exception in thread "main" java.lang.NullPointerException
at org.jf.util.PathUtil.getRelativeFile(PathUtil.java :44)
at org.jf.smali.smaliFlexLexer.getSourceName(smaliFle xLexer.java:2569)
at org.antlr.runtime.CommonTokenStream.getSourceName( CommonTokenStream.java:345)
at org.antlr.runtime.tree.CommonTreeNodeStream.getSou rceName(CommonTreeNodeStream.java:106)
at org.antlr.runtime.tree.TreeParser.getSourceName(Tr eeParser.java:78)
at org.jf.smali.smaliTreeWalker.getErrorHeader(smaliT reeWalker.java:349)
at org.antlr.runtime.BaseRecognizer.displayRecognitio nError(BaseRecognizer.java:192)
at org.antlr.runtime.BaseRecognizer.reportError(BaseR ecognizer.java:186)
at org.jf.smali.smaliTreeWalker.smali_file(smaliTreeW alker.java:428)
at brut.androlib.mod.SmaliMod.assembleSmaliFile(Smali Mod.java:85)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexF ileBuilder.java:43)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexF ileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuil der.java:64)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder. java:48)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder. java:35)
at brut.androlib.Androlib.buildSourcesSmali(Androlib. java:222)
at brut.androlib.Androlib.buildSources(Androlib.java: 179)
at brut.androlib.Androlib.build(Androlib.java:170)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
I tried decompilin with original apktool and compile back ICSapktool too. no success..
Im on GB but havng same errors on ICS too!
Update aapt.exe, grab it from your android sdk folder and place inside apktool dir, old aapt.exe has known bugs that prevent it from recompiling.
Sent from my LT18i using xda app-developers app

Center/reverse clock on CM 9.1.0

Was just wondering if there was a way to center the clock or perhaps reverse the location of the clock on 9.1.0? All the tutorials I've seen involve AOKP or CM10. Neither of which I use. I don't mind decompiling anything I'm just not sure how to do it or what to edit once it's done. Anything helps
Thanks XDA :laugh:
ian577416 said:
Was just wondering if there was a way to center the clock or perhaps reverse the location of the clock on 9.1.0? All the tutorials I've seen involve AOKP or CM10. Neither of which I use. I don't mind decompiling anything I'm just not sure how to do it or what to edit once it's done. Anything helps
Thanks XDA :laugh:
Click to expand...
Click to collapse
Edit systemui.apk
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
elesbb said:
Edit systemui.apk
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
Click to expand...
Click to collapse
How should I go about doing this? Any tools or what not you suggest and what do I edit once its decompiled?
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
ian577416 said:
How should I go about doing this? Any tools or what not you suggest and what do I edit once its decompiled?
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
Click to expand...
Click to collapse
I figured you knew based off your first post stating you don't mind decompiling anything lol.. but you need to use apktool.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
elesbb said:
I figured you knew based off your first post stating you don't mind decompiling anything lol.. but you need to use apktool.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
Click to expand...
Click to collapse
[email protected]:/home/ian/workspace# apktool.jar b -f SystemUI SystemUI2.apk
I: Smaling...
I: Building resources...
invalid resource directory name: /home/ian/workspace/SystemUI/res/layout-sw600dp
invalid resource directory name: /home/ian/workspace/SystemUI/res/values-sw720dp
invalid resource directory name: /home/ian/workspace/SystemUI/res/values-sw600dp
invalid resource directory name: /home/ian/workspace/SystemUI/res/values-sw720dp-port
invalid resource directory name: /home/ian/workspace/SystemUI/res/drawable-sw600dp-hdpi
invalid resource directory name: /home/ian/workspace/SystemUI/res/values-sw600dp-port
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL6862800640251751969.tmp, -I, /root/apktool/framework/1.apk, -S, /home/ian/workspace/SystemUI/res, -M, /home/ian/workspace/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL6862800640251751969.tmp, -I, /root/apktool/framework/1.apk, -S, /home/ian/workspace/SystemUI/res, -M, /home/ian/workspace/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
[email protected]:/home/ian/workspace#
Any ideas chief?
I had to download apk auto tool or whatever its called, and an apk tool for the one s that had an updated aapt file
Sent from my SGH-T989 using xda premium
ian577416 said:
[email protected]:/home/ian/workspace# apktool.jar b -f SystemUI SystemUI2.apk
I: Smaling...
I: Building resources...
invalid resource directory name: /home/ian/workspace/SystemUI/res/layout-sw600dp
invalid resource directory name: /home/ian/workspace/SystemUI/res/values-sw720dp
invalid resource directory name: /home/ian/workspace/SystemUI/res/values-sw600dp
invalid resource directory name: /home/ian/workspace/SystemUI/res/values-sw720dp-port
invalid resource directory name: /home/ian/workspace/SystemUI/res/drawable-sw600dp-hdpi
invalid resource directory name: /home/ian/workspace/SystemUI/res/values-sw600dp-port
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL6862800640251751969.tmp, -I, /root/apktool/framework/1.apk, -S, /home/ian/workspace/SystemUI/res, -M, /home/ian/workspace/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL6862800640251751969.tmp, -I, /root/apktool/framework/1.apk, -S, /home/ian/workspace/SystemUI/res, -M, /home/ian/workspace/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
[email protected]:/home/ian/workspace#
Any ideas chief?
Click to expand...
Click to collapse
Did you decompile first?? lol..... also, what the heck did you edit? xD
the only thing needing editing is the SystemUI.apk/res/layout/status_bar.xml
---------- Post added at 04:10 AM ---------- Previous post was at 04:08 AM ----------
born2gethard said:
I had to download apk auto tool or whatever its called, and an apk tool for the one s that had an updated aapt file
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Thats usually only for CM10. but i think his errors are in something else, as when one needs the things you mentioned, its usually getting errors at decompiling step.
elesbb said:
Did you decompile first?? lol..... also, what the heck did you edit? xD
the only thing needing editing is the SystemUI.apk/res/layout/status_bar.xml
---------- Post added at 04:10 AM ---------- Previous post was at 04:08 AM ----------
Thats usually only for CM10. but i think his errors are in something else, as when one needs the things you mentioned, its usually getting errors at decompiling step.
Click to expand...
Click to collapse
No it decompiles fine. I'm using apktool 1.4.3 and everything I do just gets all fubard. I was using this tutorial if it helps http://forum.xda-developers.com/showthread.php?t=1773930 This is bugging me alot. I want to center the clock but I don't really just want the easy way out. And going back to AOKP just for this isn't really an option. Thanks for all the help by the way.
ian577416 said:
No it decompiles fine. I'm using apktool 1.4.3 and everything I do just gets all fubard. I was using this tutorial if it helps http://forum.xda-developers.com/showthread.php?t=1773930 This is bugging me alot. I want to center the clock but I don't really just want the easy way out. And going back to AOKP just for this isn't really an option. Thanks for all the help by the way.
Click to expand...
Click to collapse
That guide has the right stuff to edit. You scrolled down to the bottom where it says "Center clock" and applied what they stated? Also, ive never done it on ubuntu before. so maybe you wanna look up a tut for doing it on ubuntu.
Mind if I PM you?
ian577416 said:
Mind if I PM you?
Click to expand...
Click to collapse
Be my guest lol don't bother me any.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
Here you are good sir!
elesbb said:
Here you are good sir!
Click to expand...
Click to collapse
You rock man!
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2

Custom icons in status bar on stock?

Anyone know where the files for the status bar icons are located? Would like to modify them.
Sent from my HTC One V using xda app-developers app
Systemui.apk
And framework-res.apk
I'm still pretty new to all this. Can you tell me the location of those files and maybe point me to a tutorial on how to modify them?
Sent from my HTC One V using xda app-developers app
go to one v themes and apps section and go to "COREDROID" thread...awesome custom icons can be found there......just flash them....why modify......
help
vinnievegas said:
Anyone know where the files for the status bar icons are located? Would like to modify them.
Sent from my HTC One V using xda app-developers app
Click to expand...
Click to collapse
here if u want to do it then nothing should stop ypu............find files by root explorer, x-plore, best way by computer, if on pc do comand
adb pull /system/app/SystemUI.apk......... decompile apk.... go to the res folder then drawable-hdpi folder there all icons,widget,etc will be there find the ones labled stat_sys_......_png make sure what u r putting in there to replace old image is titled the exact same thing if it a battery image named stat_sys_battery_charge_anim28 then it must be named that also make sure ur image is png. if u need anymore help pm i can point u in the right way
http://forum.xda-developers.com/showthread.php?t=1590330 ----------how to custimize rom
http://forum.xda-developers.com/showthread.php?t=1400580 ----------thread for themers
http://forum.xda-developers.com/showthread.php?t=1245404 ----------custimize status bar icons
http://forum.xda-developers.com/showthread.php?t=1702111 -----------custimize notification drop down, move clock
dont be scared to hit the thanks botton it isnt gonna eat u, charge u, or suck u in to demition with flesh sucking women....:laugh:
mihirengg19 said:
go to one v themes and apps section and go to "COREDROID" thread...awesome custom icons can be found there......just flash them....why modify......
Click to expand...
Click to collapse
I installed the virtualdusk theme and not all icons worked. And the battery percentage is only working in 10% intervals. Is there way to fix this?
Sent from my HTC One V using xda app-developers app
vinnievegas said:
I installed the virtualdusk theme and not all icons worked. And the battery percentage is only working in 10% intervals. Is there way to fix this?
Sent from my HTC One V using xda app-developers app
Click to expand...
Click to collapse
well, i tried the silva and the red one.....worx perfectly fine...all icons....maybe there was a problem during flashing...?/ try flashing again..if problem persists, download it again and then flash.....
vinnievegas said:
.......the battery percentage is only working in 10% intervals. Is there way to fix this?
Sent from my HTC One V using xda app-developers app
Click to expand...
Click to collapse
You need to have a SystemUI.apk with 1% intervals in your current ROM then only it will work correctly.
ckpv5 said:
You need to have a SystemUI.apk with 1% intervals in your current ROM then only it will work correctly.
Click to expand...
Click to collapse
Can someone please tell me which xml files i need to modify to get the 1% intervals?
vinnievegas said:
Can someone please tell me which xml files i need to modify to get the 1% intervals?
Click to expand...
Click to collapse
stat_sys_battery.xml and stat_sys_battery_charge.xml
Trying to compile SystemUI.apk with apktool I get this output and I get NO compi;ed apk. What am I doing wrong here?
Code:
C:\apktool1.5.0>apktool b c:\mydevice3 c:\newsysui
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-ver
sion, 15, -F, C:\DOCUME~1\vin\LOCALS~1\Temp\APKTOOL1158954810386722697.tmp, -I,
C:\Documents and Settings\vin\apktool\framework\1.apk, -I, C:\Documents and Sett
ings\vin\apktool\framework\2.apk, -S, c:\mydevice3\res, -M, c:\mydevice3\Android
Manifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 15, --target-sdk-version, 15, -F, C:\DOCUME~1\vin\LOCALS~1\Temp\APKTO
OL1158954810386722697.tmp, -I, C:\Documents and Settings\vin\apktool\framework\1
.apk, -I, C:\Documents and Settings\vin\apktool\framework\2.apk, -S, c:\mydevice
3\res, -M, c:\mydevice3\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:253)
... 6 more
vinnievegas said:
Trying to compile SystemUI.apk with apktool I get this output and I get NO compi;ed apk. What am I doing wrong here?
Click to expand...
Click to collapse
Is your Java properly setup, the CLASSPATH, PATH or JAVA_HOME entered correctly in Environment Variables ?
If you don't mind... what are you trying to achieve ? If it just to have 1% incremental for the battery percentage, you don't really need to decompile the SystemUI.
ckpv5 said:
Is your Java properly setup, the CLASSPATH, PATH or JAVA_HOME entered correctly in Environment Variables ?
If you don't mind... what are you trying to achieve ? If it just to have 1% incremental for the battery percentage, you don't really need to decompile the SystemUI.
Click to expand...
Click to collapse
How would I do it without decompiling systemui?
Sent from my HTC One V using xda app-developers app
vinnievegas said:
How would I do it without decompiling systemui?
Sent from my HTC One V using xda app-developers app
Click to expand...
Click to collapse
Anyone??
You can't ...you have to decompile it to change the imgs or install a flashable package for the battery you want
donhashem.dh said:
You can't ...you have to decompile it to change the imgs or install a flashable package for the battery you want
Click to expand...
Click to collapse
I actualy was able to change images without decompiling. But I cant change the xml files in /drawable/ without decompiling because there are encrypted somehow.
ckpv5 said:
Is your Java properly setup, the CLASSPATH, PATH or JAVA_HOME entered correctly in Environment Variables ?
If you don't mind... what are you trying to achieve ? If it just to have 1% incremental for the battery percentage, you don't really need to decompile the SystemUI.
Click to expand...
Click to collapse
Can you please explain how to check if I have these settings correct?
1. From the desktop, right click the Computer icon. 2. Choose Properties from the context menu. 3. Click the Advanced system settings link. 4. Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New. 5. In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable. Click OK. Close all remaining windows by clicking OK
donhashem.dh said:
1. From the desktop, right click the Computer icon. 2. Choose Properties from the context menu. 3. Click the Advanced system settings link. 4. Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New. 5. In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable. Click OK. Close all remaining windows by clicking OK
Click to expand...
Click to collapse
Here are all my system variables....
Code:
Variable name: asl.log
Variable value: Destination=file
Variable name: CLASSPATH
Variable value: .;C:\Program Files\QuickTime\QTSystem\QTJava.zip
Variable name: ComSpec
Variable value: %SystemRoot%\system32\cmd.exe
Variable name: FP_NO_HOST_CHECK
Variable value: NO
Variable name: NUMBER_OF_PROCESSORS
Variable value: 1
Variable name: OS
Variable value: Windows_NT
Variable name: Path
Variable value: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jre7\bin\
Variable name: PATHEXT
Variable value: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
Variable name: PROCESSOR_ARCHITECTURE
Variable value: x86
Variable name: PROCESSOR_IDENTIFIER
Variable value: x86 Family 6 Model 8 Stepping 1, AuthenticAMD
Variable name: PROCESSOR_LEVEL
Variable value: 6
Variable name: PROCESSOR_REVISION
Variable value: 0801
Variable name: QTJAVA
Variable value: C:\Program Files\QuickTime\QTSystem\QTJava.zip
Variable name: TEMP
Variable value: %SystemRoot%\TEMP
Variable name: TMP
Variable value: %SystemRoot%\TEMP
Variable name: windir
Variable value: %SystemRoot%
This is the one I addes.... "C:\Program Files\Java\jre7\bin\"
http://forum.xda-developers.com/showthread.php?t=1830108

Categories

Resources