[MOD][COMPLETE GUIDE][NOOB-FRIENDLY] CM10 Transparent Statusbar and other mod

Status
Not open for further replies.

Dilesh Perera

Senior Member
May 26, 2012
1,794
941
143
Colombo
hey nice guide, but I have a problem.
When i type this: apktool b SystemUI al.apk.

the al.apk does not get compiled. I also noticed that im missing the apktool.yml file in the folder of the decompiled SystemUI.
yes i get the same result. then i gave up. have read many threads and i got the clue its a issue with our pc software. i have set up Ubuntu virtual pc . will see if it works there :)
 

Diaz1999

Senior Member
Oct 13, 2012
691
581
0
HEX 5375726162617961
yes i get the same result. then i gave up. have read many threads and i got the clue its a issue with our pc software. i have set up Ubuntu virtual pc . will see if it works there :)
Hmm, try to copy your framework-res.apk, put in same folder, then type
Code:
apktool if framework-res.apk
Again, decompile your SystemUI.apk
This maybe will help you :) because I'm using Windows too

via XDA for Timescape™
 

Chromium

Senior Member
Oct 5, 2012
4,481
6,520
0
Toronto
chromium1.blogspot.ca
Hmm, try to copy your framework-res.apk, put in same folder, then type
Code:
apktool if framework-res.apk
Again, decompile your SystemUI.apk
This maybe will help you :) because I'm using Windows too

via XDA for Timescape™
just tried doing that but its still not compiling the al.apl.
when i type
Code:
apktool b SystemUI al.apk
I get this output and no al.apk is compiled:


Code:
C:\apktool>apktool b SystemUI al.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
        at brut.androlib.Androlib.readMetaFile(Androlib.java:162)
        at brut.androlib.Androlib.build(Androlib.java:179)
        at brut.androlib.Androlib.build(Androlib.java:174)
        at brut.apktool.Main.cmdBuild(Main.java:185)
        at brut.apktool.Main.main(Main.java:70)
Caused by: brut.directory.PathNotExist: apktool.yml
        at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
        at brut.androlib.Androlib.readMetaFile(Androlib.java:158)
        ... 4 more
 

Diaz1999

Senior Member
Oct 13, 2012
691
581
0
HEX 5375726162617961
just tried doing that but its still not compiling the al.apl.
when i type
Code:
apktool b SystemUI al.apk
I get this output and no al.apk is compiled:


Code:
C:\apktool>apktool b SystemUI al.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
        at brut.androlib.Androlib.readMetaFile(Androlib.java:162)
        at brut.androlib.Androlib.build(Androlib.java:179)
        at brut.androlib.Androlib.build(Androlib.java:174)
        at brut.apktool.Main.cmdBuild(Main.java:185)
        at brut.apktool.Main.main(Main.java:70)
Caused by: brut.directory.PathNotExist: apktool.yml
        at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
        at brut.androlib.Androlib.readMetaFile(Androlib.java:158)
        ... 4 more
Hmm, try this way
..rename apktool to apktool.jar and copy it to Windows directory (ex. C:\Windows) and copy apktool.bat to Windows directory (ex. C:\Windows)..
This is my last hope to help you because I don't know what to do anymore :( go try it

via XDA for Timescape™
 

Chromium

Senior Member
Oct 5, 2012
4,481
6,520
0
Toronto
chromium1.blogspot.ca
Hmm, try this way

This is my last hope to help you because I don't know what to do anymore :( go try it

via XDA for Timescape™
Thanks but that didnt work either.

But i was able to fix it. I just downloaded the newer versions of apktool and apktool installer and then followed the guide as usual. Everything seemed to work fine, no problems with recompiling or anything. I havent actually installed the SystemUI.apk on my phone yet, but i will try it later when i have some time and ill let you know if it works.

You should probably update the links for apktool in the OP with the ones i have above. The ones you provided are pretty outdated.
 

Diaz1999

Senior Member
Oct 13, 2012
691
581
0
HEX 5375726162617961
Thanks but that didnt work either.

But i was able to fix it. I just downloaded the newer versions of apktool and apktool installer and then followed the guide as usual. Everything seemed to work fine, no problems with recompiling or anything. I havent actually installed the SystemUI.apk on my phone yet, but i will try it later when i have some time and ill let you know if it works.

You should probably update the links for apktool in the OP with the ones i have above. The ones you provided are pretty outdated.
Oh okay for your report. I don't know if apktool have a newer version (N00B me :p)

via XDA for Timescape™
 

Dilesh Perera

Senior Member
May 26, 2012
1,794
941
143
Colombo
Thanks but that didnt work either.

But i was able to fix it. I just downloaded the newer versions of apktool and apktool installer and then followed the guide as usual. Everything seemed to work fine, no problems with recompiling or anything. I havent actually installed the SystemUI.apk on my phone yet, but i will try it later when i have some time and ill let you know if it works.

You should probably update the links for apktool in the OP with the ones i have above. The ones you provided are pretty outdated.
i will try and report :) thanks a lot for u and Diaz1999

EDIT- wow i can see yml file now. so it means its working :)
 
Last edited:

Dilesh Perera

Senior Member
May 26, 2012
1,794
941
143
Colombo
If you're done yet screenshot it, I want see your status bar :p

via XDA for Timescape™
i just checked by doing de compile stemui and recompile. it did work. but i didn't do any changes. i will do some 2moro for sure.

i want to have trans status bar. currently im upgrading my ROM :)

thanks and give me help when im doing real stuff :D
 

Attachments

Dilesh Perera

Senior Member
May 26, 2012
1,794
941
143
Colombo
hello friends

just to confirm u all works fine now.

@ Diaz1999 i followed ur method and made a transparent status bar. and just now done something big for me :D

i made mass storage to my framework-res.apk. cos we dont get mass storage option in CM10. followed some info and made changes to my ROM's framework-res. all works fine :)

please add stuff to this thread . it will help many others . keep on contributing :)
 

Chromium

Senior Member
Oct 5, 2012
4,481
6,520
0
Toronto
chromium1.blogspot.ca
Ok i just pushed the modded SystemUI.apk and i can confirm that it is working fine in 4.2.2 (Paranoid Android)
All that you need is the newest version of apktool. Then just follow the guide as is.

@Diaz1999 you could probably change the first post to say that its compatible with CM10.1 as well now.

Heres a screenshot for proof (it looks really nice btw):

 

Attachments

Diaz1999

Senior Member
Oct 13, 2012
691
581
0
HEX 5375726162617961
Ok i just pushed the modded SystemUI.apk and i can confirm that it is working fine in 4.2.2 (Paranoid Android)
All that you need is the newest version of apktool. Then just follow the guide as is.

@Diaz1999 you could probably change the first post to say that its compatible with CM10.1 as well now.

Heres a screenshot for proof (it looks really nice btw):

So you found PhoneStatusBar$FastColorDrawable.smali inside CM10.1 SystemUI.apk? What about the transparent statusbar? Working in CM10.1 or not? If it's working then I'll change it in OP

via XDA for Timescape™
 

Chromium

Senior Member
Oct 5, 2012
4,481
6,520
0
Toronto
chromium1.blogspot.ca
So you found PhoneStatusBar$FastColorDrawable.smali inside CM10.1 SystemUI.apk? What about the transparent statusbar? Working in CM10.1 or not? If it's working then I'll change it in OP

via XDA for Timescape™
Yep. I found PhoneStatusBar$FastColorDrawable.smali inside SystemUI.apk. Im using Paranoid Android 4.2.2, but i think CM10.1 has this too.
Havent tried the transparent status bar tweak though. Paranoid already has an option to change that, so theres no point of me doing it this way.
 

RaphaelHam

Senior Member
Mar 9, 2013
368
109
0
Padang
Diaz.. Why not upload ur modded systemui?
If u would. I use cm10 m66b, i want statusbar 75% transparent, and notification drawer 75%. If u would i will upload my systemui.apk so u can do it.. Wait ur respond. :p
 
Status
Not open for further replies.