Help with Transparent Status Bar - Nexus 10 Q&A, Help & Troubleshooting

Hi I'm having some trouble creating a modified SystemUI.apk for my Nexus 10 running CM10.1. I followed some guides on how to change the transparency of the status bar but when I tried to install the new apk, it says installation failed/aborted in CWM. Could someone check my modification and see if I'm doing it right?
What I changed: SystemUI/res/layout/super_status_bar.xml and changed android:background="#00000000"
SystemUI/res/values/drawables.xml and changed <item type="drawable" name="status_bar_background">#00000000</item>
After I recompiled, I unzipped the CM10.1 rom, replaced the systemui.apk with the new one, and then rezipped. When I tried to flash the new rom in CMW, it says failed/aborted.
Any help would be much appreciated. Thanks!

your changes are correct, so the problem is in the zip file. flash the rom without modifying the zip and then (maybe after the first boot) flash a zip with only the systemui.apk inside. use a zip downloaded into a nexus10 modding thread.
anyway i'm trying to get a transparent status bar too on my galaxy nexus and i can tell you that you also have to modify a smali file into SystemUI.apk.
In your case the file is
Code:
SystemUI/smali/com/android/systemui/statusbar/tablet/TabletStatusBar.smali
In my case it is
Code:
SystemUI/smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali
but i don't know what to modify inside it (i found your thread while i was searching for a solution)

I'm currently running an unmodified CM10.1. I tried flashing just the SystemUI.apk as a zip but it fails/aborts also. Not sure whats causing the error.

Try to flash an unmodifyied SystemUI.apk. if it fails, the problem is the zip. Anyway without editing the smali file the status bar is still going to be black

Yeah I just extracted the stock systemui.apk, zipped it, tried flashing and it says failed/aborted. However, I was able to install the stock apk unzipped through the built in CM10 installer. Something is definitely wrong with my zipping...I tried installing the modified apk through the same manner and it failed however.

try with this. it is the zip that i usually use.
we are going OT

Now we're getting somewhere! The zip was able to flash! However, something is wrong with my systemui.apk as you predicted before. The status bar is indeed now transparent, however upon bootup, it says system UI has stopped. Pressing OK simply makes it pop up again. Reflashed the stock apk and now it's fine.Now just need to figure out how to correctly modify the apk. Thanks a bunch!

at the moment there are no guides for jelly bean so i suggest you to try another rom which allows status bar transparency (like aokp)

watch here and here man

Related

ROM Color change?

I ran into a DroidDoesPink ROM which was Sense-able just redone in pink. I was wondering if this can be done with any rom? If any of them could be changed the color you want. http://androidforums.com/all-things-root-eris/64009-droiddoespink-rom.html Here is the link to it. How could I go about changing the color to something i want? or is this not possible? Sorry if this a noob question lol
dyefalcon1 said:
I ran into a DroidDoesPink ROM which was Sense-able just redone in pink. I was wondering if this can be done with any rom? If any of them could be changed the color you want. http://androidforums.com/all-things-root-eris/64009-droiddoespink-rom.html Here is the link to it. How could I go about changing the color to something i want? or is this not possible? Sorry if this a noob question lol
Click to expand...
Click to collapse
all you have to do is change the corresponding png files in the framework-res.apk
its found under /system/frameworks
lets pretend i dont know how to do that...
unzip the rom
find the framework-res.apk under system/frameworks
change apk to zip
unzip
edit the png files for whatever suits your taste
zip the files back up
rename to framework-res.apk
push that to your phone and reboot
awesome thanks ill see what i can do
when i zip them back up what settings should i use i tried to flash and it said cant open
you dont flash it
adb remount
adb push *new framework-res.apk* /system/framework
Actually got it working thanks!
So, i've been trying this for a while. It's not working. Are there any special settings I need to use to zip it? When I reboot the phone it just hangs on the androids on skateboards.
make sure you do exactly what is said and you name the file framework-res.apk and it switches to an apk file. i had trouble here but one you get that right it works great
here's what I did.
1. unzipped the CELB2.4 rom
2. went to /system/framework and renamed the framework-res.apk to a .zip
3. extracted the .zip
4. modified the .png's
5. renamed the framework-res.zip back to a .apk
6. booted my phone into recovery and in a terminal ran
./adb shell mount /system
./adb push framework-res.apk /system/framework
I tried the remount command and it doesn't work while in recovery
*Edit: just looked at the framework-res.apk file again. Although it says it's a .apk, it still acts and looks like a .zip without the .zip extension. What's going on?*
hitman_dreams said:
here's what I did.
1. unzipped the CELB2.4 rom
2. went to /system/framework and renamed the framework-res.apk to a .zip
3. extracted the .zip
4. modified the .png's
5. renamed the framework-res.zip back to a .apk
6. booted my phone into recovery and in a terminal ran
./adb shell mount /system
./adb push framework-res.apk /system/framework
I tried the remount command and it doesn't work while in recovery
*Edit: just looked at the framework-res.apk file again. Although it says it's a .apk, it still acts and looks like a .zip without the .zip extension. What's going on?*
Click to expand...
Click to collapse
heres what i did...
create a new folder and put the framework-res.apk in there
archive it
open it up (dont extract)
you will see new folder open that
you will then see "framework-res.apk.zip"
take off the .zip extention and it will then become an apk file
extract it then push it to your phone
dyefalcon1 said:
I ran into a DroidDoesPink ROM which was Sense-able just redone in pink. I was wondering if this can be done with any rom? If any of them could be changed the color you want. http://androidforums.com/all-things-root-eris/64009-droiddoespink-rom.html Here is the link to it. How could I go about changing the color to something i want? or is this not possible? Sorry if this a noob question lol
Click to expand...
Click to collapse
I can make an update.zip of that pink theme, or if you send me the rom update.zip you want to integrate it into, I can do that. Always happy to help.
you don't need to change the .apk to .zip it will open just like a zip file. easiest way is to drag and drop the edited png's back into the framework-res.apk without extracting it. I made the droiddoespink rom way back when and to be honest its probably a little outdated. I did update it with overclock and apps2sd though I think but if you are trying to change the colors to something else I would reccomend you start with a stock rom. You don't want to make everything orange and then have a pink highlight pop up somewhere. Also in sense based roms there are some png's in the htcresources.apk too. And to theme the dialer htcdialer.apk and phone.apk.
Conap said:
you don't need to change the .apk to .zip it will open just like a zip file. easiest way is to drag and drop the edited png's back into the framework-res.apk without extracting it. I made the droiddoespink rom way back when and to be honest its probably a little outdated. I did update it with overclock and apps2sd though I think but if you are trying to change the colors to something else I would reccomend you start with a stock rom. You don't want to make everything orange and then have a pink highlight pop up somewhere. Also in sense based roms there are some png's in the htcresources.apk too. And to theme the dialer htcdialer.apk and phone.apk.
Click to expand...
Click to collapse
true.
the instructions i gave are how to do it on mac 10.4
I find that 7-zip http://www.7-zip.org/ is most helpful in this type work in that allows you to open the .apk "archive" files
Hope this helps
do i need to resize the png's because when i edit them and when i push the file to my phone it shows up that i edited it but its not one big edited picture its a whole bunch of small ones.. im thinking i need to resize the png's to the size of my phonne
ashertheplague said:
do i need to resize the png's because when i edit them and when i push the file to my phone it shows up that i edited it but its not one big edited picture its a whole bunch of small ones.. im thinking i need to resize the png's to the size of my phonne
Click to expand...
Click to collapse
try resizing the edited files to what the unedited files originally were
I'm using Ubuntu 9.10, Thanks Conap, you're the man! That did the trick for me. I had to not extract the .apk just open it with archive manager and drag and drop the files/folder. White and red here we come!
CPCookieMan said:
I can make an update.zip of that pink theme, or if you send me the rom update.zip you want to integrate it into, I can do that. Always happy to help.
Click to expand...
Click to collapse
I would like the new sense able rom http://forum.xda-developers.com/showthread.php?t=654315 here or evil eris here http://forum.xda-developers.com/showthread.php?t=650302 which ever is easier for you if you could integrate that to color #00aeff that would be awesome

help needed modifying ROM pre-flash

i attempted to replace most of the .apks in the system app folder with the same .apks from an ealier version of the rom (because i prefer black to blue/black). i replaced them in the .zip before i flashed it, hoping it would work.. but it didnt.. in the recovery menu it says:
....
verifying update package...
e:wrong digest:
system/app/browser.apk
e:verification failed
browser was one i replaced. how do i make this work? i dont want to use root explorer to manually replace each ****ing thing, and i have no patients for adb. i must need to sign the package or something? i never unpacked anything, just replaced some contents.. thought id be fine..
on a related note there may be more issues to come. unzipped the framework-res.apk to my computer, renamed it .zip, went inside and replaced the battery icons, renamed it back to .apk and replaced the modified file in the rom. who knows what chaos i might have caused there.. if you know what to expect and how to fix it please feel free to help!
if it matters at all, the rom im modifying and flashing is nonsensikal 9.5 black/blue, the system apps came from version 8.2 black, and battery icon .pngs came from 5.4 black.
Id try and resign the whole rom after you make your changes it should be just fine
you cannot simply replace the apks in the zip, then flash. after replacing, use one of the following methods:
if you use linux, use EasySign (http://android.grdlock.net/index.php?&direction=0&order=&directory=HTC Droid Eris/Extras) or the Android Kitchen (http://forum.xda-developers.com/showthread.php?t=633246).
if using Windows:
Use AutoSign (http://androidforums.com/developer-101/8665-how-signing-roms.html).
Thanks. I'll get on the computer and give it a shot.
Sent from my nonsensikal froyo using XDA App
if you've unzipped the framework-res.apk then none of this will work anyway. You need to pull the images out of the old framework-res.apk and drag and drop them back into the new framework-res.apk without unzipping it. You shouldn't even need to rename it to zip. Just open it with a program like 7zip without unzipping and drop the png's in the correct folders. Then you can put the .apk back in the rom and resign from the links directed above.
Oh it all worked fine. I never unzipped framework, just extracted it from the Rom and renamed it, then replaced files, renamed back to apk, and replaced in original .zip. it worked great.
To achieve full 9.5 black I have to copy all of the previous versions (black) framework .pngs to the new Rom though.
I think the file is like, drawable-mpdi or something. Not landscape or non. I don't really know.. not in right frame of mind
Sent from my nonsensikal froyo using XDA App

[Q] Problem with UOT Kitchen Themes :(

Hello,
I'm facing a problem where I'm unable to apply UOT themes on my Gingerbread/Sense rom . I'm currently running InsertCoin CM7/A2SD+ v02, and extracted the framework_res, as well as SystemUI from the ZIP but still I cant get it to work.
No matter what I try nothing changes. Can anyone help me?
What's going wrong exactly?
EDIT: When you've chosen the stuff you want, check the Summary area and make sure there are no red boxes indicating something is incompatible/wrong
chul said:
Hello,
I'm facing a problem where I'm unable to apply UOT themes on my Gingerbread/Sense rom . I'm currently running InsertCoin CM7/A2SD+ v02, and extracted the framework_res, as well as SystemUI from the ZIP but still I cant get it to work.
No matter what I try nothing changes. Can anyone help me?
Click to expand...
Click to collapse
if you cook framework and systemui - it means you changing system theme. So after flashing UOT, select "System" theme in ThemeChooser.
chul said:
I'm facing a problem where I'm unable to apply UOT themes on my Gingerbread/Sense rom . I'm currently running InsertCoin CM7/A2SD+ v02, and extracted the framework_res, as well as SystemUI from the ZIP but still I cant get it to work.
No matter what I try nothing changes. Can anyone help me?
Click to expand...
Click to collapse
unzip your ROM and put
-SystemUI.apk from the app_s folder
-framework-res.apk from the framework_s folder
from the unzipped ROM
load this 2 files in "UOT File upload" up
then cooked your file and download it.
download this file h ttp://dl.dropbox.com/u/18354786/black_circle-bat_flying.zip
then unzip your kitchen file and black_circle-bat_flying.zip.
put your kitchen SystemUI.apk and framework-res.apk.
copy this files in to the follow dirs:
-SystemUI.apk to the black_circle-bat_flying/app_s folder
-framework-res.apk to the black_circle-bat_flying/framework_s folder
then zip it, now you can flash this file in recovery.
the black_circle-bat_flying.zip works with InsertCoin CM7/A2SD+ v03 data++ version.
i have used the installscript from alexdiaz themediazGingerMix7.
i hope its allowed to use this script, if not ok then i delete the zip.
Sorry for my bad english
for gingerbread roms you need 3 files. the other one is com.htc.resources.apk
u need to upload the com.htc.resource file as well to make the theme work,
I am on insertcoin v0.8, everything works great, very smooth

[GUIDE] Install custom fonts via flashable zip on AOSP 4.3 ROMs

I posted this in a ROM thread, but figured it might be useful to others who run 4.3 custom ROMs and want to change their stock system font (apparently users have been getting bootloops when trying to use an app to change the font).
Requirements:
1. Must be rooted.
2. Must have a custom recovery for flashing the zip (so, at this time, only devices with pre-MF3 firmware).
1. Download the font changer flashable zip template that I put together here: http://www.mediafire.com/?3xqzzuov9uhunr5
2. Get a hold of the font you want to change to, making sure it's in *.ttf format.
3. Rename the font to Roboto-Regular.ttf. If the font you downloaded has a Bold variant, download it rename it to Roboto-Bold.ttf.
4a. If you're on your computer, use 7Zip/WinRAR to drag and drop the fonts you just renamed to the "system/fonts" folder within my template. If you renamed them precisely as I specified above, they should overwrite the two existing files of the same name. If your font doesn't have a Bold variant, you don't need to worry about the existing Roboto-Bold.ttf file in the archive (it's the stock bold font from 4.3 ROMs).
4b. If you're doing this from your phone (like I always do), either use Zarchiver (Free app in the Play Store) to perform the same process as described in Step 4a, or just use Root Explorer or something similar to unzip the entire template zip, drop the new fonts in the respective folder, and re-zip the template.
5. Flash away!
I've been using this method (within a custom GAPPs package that I maintain for myself with other customizations like clear GAPPs, etc.) for awhile now, and it's always worked without fail.
In case you're curious, the "custom" font that I use is just the Roboto-Light.ttf that is already included in the stock 4.3 /fonts folder. It's just a bit thinner than the stock font, and just looks cleaner IMO. If you want to try this one out, just flash my template zip without making any changes
I tried this method but it just results in a bootloop. I have this RobotoCondensed4.3.zip that I downloaded from somewhere and it's worked on all the roms I've used but replacing the fonts inside the zip doesn't work for me. and if I flash it after using your method it fixes the bootloop. any ideas? I'm trying to flash the Droid Sans font
deadenz said:
I tried this method but it just results in a bootloop. I have this RobotoCondensed4.3.zip that I downloaded from somewhere and it's worked on all the roms I've used but replacing the fonts inside the zip doesn't work for me. and if I flash it after using your method it fixes the bootloop. any ideas? I'm trying to flash the Droid Sans font
Click to expand...
Click to collapse
Are you flashing this on a fresh ROM install before booting for the first time? That's what it was meant for (there are no permissions-fixing in the updater-script. Can you post that zip you're talking about? I should be able to figure out what exactly it is that is causing it to "fix" the bootloop after using my method.
CPA Poke said:
Are you flashing this on a fresh ROM install before booting for the first time? That's what it was meant for (there are no permissions-fixing in the updater-script. Can you post that zip you're talking about? I should be able to figure out what exactly it is that is causing it to "fix" the bootloop after using my method.
Click to expand...
Click to collapse
no, I don't think I've flashed it on a fresh install. I'll attach a link for the zip.. and if you can figure out how to add the font droid sans to this zip instead of roboto condensed that would be great. also what I like about this zip is that it will change every font on the phone, even the fonts in chrome which nothing else I've tried will do that.. I was using iFont but that didn't change fonts in chrome
RobotoCondensed_4.3.zip (502 KB)
https://mega.co.nz/#!HFti0aRJ!E4fZiWBKIC2zh92YRVOqzlwEOAVJDqgP-XnEO04BxCM
any luck?

Custom battery image

In the jelly beans thread Beanstown106 posted a link to batter image mods to change the picture has anybody got these to work and if so could you explain how I've tried moving systemui.apk and tried flashing them via safe strap and I get nothing
Sent from my SM-N900V using Tapatalk
I am having the same problem, but I did find a workaround. Here's what I did:
1. Copied the SystemUI.apk to my extSDCard/download folder, then to my PC from there (I reversed the process for putting it back)
2. Changed the .apk to .zip
3. Extracted the downloaded battery zip file
4. Dragged dropped the images from the downloaded file into the SystemUI.zip. (Making sure to NOT change anything else)
5. Renamed SystemUI.zip back to SystemUI.apk
6. Using Root Explorer, made a copy of the original SystemUI.apk to SystemUI.apk.bak.
7. Copied my modified SystemUI.apk back into it's original location, overwriting the original one.
8. Reboot
I can't say for sure that this will work for you, but I was able to successfully make the change on mine.
I'm still trying to figure out why flashing it through SS didn't work. When I did the install, it gave no errors (that I could see) and showed successful. When I booted back up, I still had the default icon.
Hope this is helpful

Categories

Resources