Related
Ive been trying to change my pulldown menu to transparent without any luck! ive tried replacing the status_bar_background.png with one i made via Ninjamorph, and no luck.....i tried unzipping the "systemui.apk" and putting the png file in the drawable-hdpi folder and then zipping the systemui and renaming it to apk, and then replacing the current systemui.apk with the one i did using "RootExplorer", rebooted the phone, fixed permissions,rebooted again and still no change.....im using Eaglesblood 2.3.5 Rom! Please help!
Simer03 said:
Ive been trying to change my pulldown menu to transparent without any luck! ive tried replacing the status_bar_background.png with one i made via Ninjamorph, and no luck.....i tried unzipping the "systemui.apk" and putting the png file in the drawable-hdpi folder and then zipping the systemui and renaming it to apk, and then replacing the current systemui.apk with the one i did using "RootExplorer", rebooted the phone, fixed permissions,rebooted again and still no change.....im using Eaglesblood 2.3.5 Rom! Please help!
Click to expand...
Click to collapse
Use the UOT Kicthen. Much easier method of getting that notification bar modded as u lease.
zimphishmonger said:
Use the UOT Kicthen. Much easier method of getting that notification bar modded as u lease.
Click to expand...
Click to collapse
im a hardcore noob....what is UOT kitchen? oh, and i have a mac!
Edit: Tried the UOT kitchen, did the notification bar the way i wanted, and for some reason, i cant submit it to the kitchen because the button "submit to kitchen" is not able to be pressed! ugh!
Edit: never mind, got it to work....now uploading!
created the zip, tried to flash it, and it said installation aborted........why is this so damn hard (for me)????
Simer03 said:
created the zip, tried to flash it, and it said installation aborted........why is this so damn hard (for me)????
Click to expand...
Click to collapse
try copying the update-binary from a working zip to your "kitchen" file. Install should work
zimphishmonger said:
try copying the update-binary from a working zip to your "kitchen" file. Install should work
Click to expand...
Click to collapse
it didnt work....still aborted.... curse my noobness! :/
If you're on the latest version 1.08 of Eaglesblood for 2.3.5, then just push this SystemUI.apk into /system/app , fix the permissions, and reboot, and it should do the trick.
The reason you were having trouble before is because the stock image is a .9.png...I won't go into the details of that, but a little extra work is needed to make those files work.
This file I've included should work for ya.
mmapcpro said:
If you're on the latest version 1.08 of Eaglesblood for 2.3.5, then just push this SystemUI.apk into /system/app , fix the permissions, and reboot, and it should do the trick.
The reason you were having trouble before is because the stock image is a .9.png...I won't go into the details of that, but a little extra work is needed to make those files work.
This file I've included should work for ya.
Click to expand...
Click to collapse
Still didn't work man....sorry I'm having so much trouble, maybe I'm just unable to do it! Thanks for trying guys and taking the time to try and help :/
Sent from my LG-P999 using XDA Premium App
Ok, so you're on the latest version (1.08) of Eaglesblood for 2.3.5, correct? If you are not 100% sure, you can check in "About Phone" and check on the build.
Using the SystemUI.apk that I uploaded, what is your procedure for getting it into your phone?
Because that file has a transparent status_bar_background.9.png with correct patch handles drawn...not sure why it won't work. I will admit, that I don't have a 2.3.5 nandroid backed up to test. Anyone else?
I think I found the problem. Your rom's SystemUI/res/layout/status_bar_tracking.xml points to shade_bg.png for the background. I made that image transparent for you, and recompiled the apk. I really hope this works for you. I have to admit, I"m feeling rather dumb right now.
Yes I'm on 1.08 and my exact procedure was I downloaded the file on my phone, I went to root explorer to the xda download folder where it was located, I copied it to system/app and overwrote tthe current systemui.apk that was there, at that time, a constant endless force closes occurred so I had to pull my battery and rebooted that way, as it rebooted, the notification bar was gone, I then went to the systemui and changed permissions to where the first column is all checked and the first of the 2nd ccolumn is checked, I then pulled the battery again (cuz of the apn issue without the hard reset) and when it came back, nothing changed, so I fixed permissions via rom manager, to no avail......its frustrating!
Sent from my LG-P999 using XDA Premium App
mmapcpro said:
I think I found the problem. Your rom's SystemUI/res/layout/status_bar_tracking.xml points to shade_bg.png for the background. I made that image transparent for you, and recompiled the apk. I really hope this works for you. I have to admit, I"m feeling rather dumb right now.
Click to expand...
Click to collapse
holy crap it worked.....a million times THANKS!!! You effin rock dude! thanks for taking the time to help me! So to my understanding, u just edited the shade_bg file???? that was it??
Yeh, essentially, all I would have needed to do was edit that shade_bg.png file. But I didn't know to look there until I was forced to try to save face after giving you bad advice, lol. Now I know that some roms will point to status_bar_background.png, some will point to shade_bg, and some even simply define a hex color code...just have to decompile the SystemUI.apk, and look in res/layout/status_bar_tracking.xml to see where it's looking....and then edit that file.
mmapcpro said:
Yeh, essentially, all I would have needed to do was edit that shade_bg.png file. But I didn't know to look there until I was forced to try to save face after giving you bad advice, lol. Now I know that some roms will point to status_bar_background.png, some will point to shade_bg, and some even simply define a hex color code...just have to decompile the SystemUI.apk, and look in res/layout/status_bar_tracking.xml to see where it's looking....and then edit that file.
Click to expand...
Click to collapse
so now that i know it works, i was wondering if i wanted to create one, do i make it 200 x 200 like the current shade_bg file is? i kinda want to make one with a black background with semi transparency! I tried editing the shade_bg file u made, with a program called Gimp, but it didnt work
Can you give me your exact method to doing this? I created an image from gimp, i saved it as shade_bg.png, so basically , i extracted the systemui.apk from root explorer, it put the extracted in my sd card, so i plugged in my phone in my mac, and i took that folder from my sd card, now from here, the extracted file is a zip file, so i double clicked it b/c macs can unzip files easily, so in the folder, i placed my shade_bg file into the appropriate folder.....now this is where i think i mess up, what do u do from here? I "compressed" the systemui folder to make it back into a zip, and then placed it into my sd card, i then "renamed" the file thru my phone from a .zip to a .apk, now in root explorer there is usually an icon that shows up next to the name of the files, now when i changed it, a green android icon showed up, but on the file that you had edited for me, there was a "settings" icon, u know, the standard icon for the settings app in android! i put the apk in the system/app and it didnt work, even after permissions set up! hmmm.....i promise, this will probably be my last post!
please keep in mind, i have a mac, and i do have that 7zip u mentioned in the development thread, but its called EZ7Z.....just in case i need it
If you are doing it the way you described, then you need to find a way to zip with no compression. 7 zip does that with the "store" setting...not sure about the mac version.
You don't wanna know where this was sent from.
mmapcpro said:
If you are doing it the way you described, then you need to find a way to zip with no compression. 7 zip does that with the "store" setting...not sure about the mac version.
You don't wanna know where this was sent from.
Click to expand...
Click to collapse
man, for some reason i just cant get the "settings icon" to appear after renaming the .zip to .apk from root explorer.......im pretty sure thats way too easy, i must be doing it wrong?
my apk file is not right...i tried signing it with an app from the market, tried searching for a fix, and nothing.....ur my only hope man! lol! :/
Simer03 said:
man, for some reason i just cant get the "settings icon" to appear after renaming the .zip to .apk from root explorer.......im pretty sure thats way too easy, i must be doing it wrong?
my apk file is not right...i tried signing it with an app from the market, tried searching for a fix, and nothing.....ur my only hope man! lol! :/
Click to expand...
Click to collapse
anyone know how to convert a .zip to .apk correctly?
i have tried editing the framework.apk using the apkmanager
then i put it into the rom and flash it in my phone but my phone gets stuck in a bootloop...why does this happen??
psyche.11 said:
i have tried editing the framework.apk using the apkmanager
then i put it into the rom and flash it in my phone but my phone gets stuck in a bootloop...why does this happen??
Click to expand...
Click to collapse
how did u flashed it by clockworkmod or directly via root explorer
You say you edited it, what did you edit? maybe you edited the wrong thing, even if you edit some images wrong it can cause problems.
just a few pngs...havent touched .9.pngs at all
but when i include it in the rom then flash the whole rom including the framework, doesnt work but if i only flash the framework.apk thru CWM it works...i was just wondering why
psyche.11 said:
i have tried editing the framework.apk using the apkmanager
then i put it into the rom and flash it in my phone but my phone gets stuck in a bootloop...why does this happen??
Click to expand...
Click to collapse
which pngs did u edit and did u keep them to the same dimensions as they wer before with the same name... and did u get any errors while recompilin....
Ok, so i took the dive into trying to build a rom, I've broken pretty much everything possible. Thanks to the help from UOT kitchen though for helping me theme. I'm trying to use the 2.3.5 base but im having some problems with SystemUI.apk. I can decompile it, modify it, and when i build it the file errors out and is junk.
UOT kitchen decides to not set some of the settings i requested. The notifications dropdown SHOULD have black text but its white and cyan. I also want the text in the clear button cyan but rebuilding systemUI screws up saying theres a bad line of code but is vague on where it is. I've even decompiled and recompiled the systemui.apk without changing it and it fails.
I'm thinking of trying the la3 base and seeing what happens.
Screenshots below of my ventures and failures. The one IS of the 14 toggle mod, all themed, the other are the ics smilies themed as well. But as you can see the text on the notifications wont stick. I guess im getting somewhere for not knowing what im doing lol.
EDIT: Also, where is that damn phone icon .png at? ive themed browser, calendar, email etc. But the phone one is hiding...
One of the .9's could be messed up when you edited them. That's what happened to me. I didn't know how to fix it but what I did was I took the original unedited system.ui apk,decompiled and changed all the xml's first then recompiled. Then I just drag and dropped my edited images from the system.ui apk where I edited the images beforehand.
Sent from my SAMSUNG-SGH-I727 using XDA
mossination said:
One of the .9's could be messed up when you edited them. That's what happened to me. I didn't know how to fix it but what I did was I took the original unedited system.ui apk,decompiled and changed all the xml's first then recompiled. Then I just drag and dropped my edited images from the system.ui apk where I edited the images beforehand.
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
I can decompile the systemui WITHOUT modifying it and then compile it and it still fails with the same error. Idk what it is. For images i dont decompile at all i just throw them in there. But when i mess with an xml thats when i compile.
Ive compiled other APK's fine. I dont know why that one hates me so much.
I'm sorry rains Im a disgrace I didn't even allow my lazy ass to release the update I promised well raais ill help u with this
Do you have GIMP image edit program? its a vital tool
The phone icon is in contacts.apk
(Ic_launcher_phone_icon) or something
EDIT: its a goood idea to decompile systemui.apk using apkmanager with the framework-res.apk also in the place here for modify folder
I'm out of it I can't think right anymore sorry my friend
Sent from my Skyrocket Running NexusMod 4.1b
R4INS said:
I can decompile the systemui WITHOUT modifying it and then compile it and it still fails with the same error. Idk what it is. For images i dont decompile at all i just throw them in there. But when i mess with an xml thats when i compile.
Ive compiled other APK's fine. I dont know why that one hates me so much.
Click to expand...
Click to collapse
If all you do is decompile and only mess with the xml's without modifying the images and then recompile but it still gives you errors then it has to be one of the xml's your editing that's causing it.
You probably already know that but thats all I can think of.
M0D1441 said:
I'm sorry rains Im a disgrace I didn't even allow my lazy ass to release the update I promised well raais ill help u with this
Do you have GIMP image edit program? its a vital tool
The phone icon is in contacts.apk
(Ic_launcher_phone_icon) or something
Sent from my Skyrocket Running NexusMod 4.1b
Click to expand...
Click to collapse
Long as you are in a better mood screw the update
And yeah im a full time linux user so i have gimp. I've been using it for all the .png files ive edited so far. And thanks for the phone icon location, i didnt get to the contacts.apk yet!
mossination said:
If all you do is decompile and only mess with the xml's without modifying the images and then recompile but it still gives you errors then it has to be one of the xml's your editing that's causing it.
You probably already know that but thats all I can think of.
Click to expand...
Click to collapse
I think the systemui file is just bad to begin with. Without edits it still craps out.
Wait so you tried decompiling and recompiling right after without edits? And it still didn't work? Then it must have to do with apk tool. Did you try replacing the "1" in the apk tool folder with framework-res.apk?
mossination said:
Wait so you tried decompiling and recompiling right after without edits? And it still didn't work? Then it must have to do with apk tool. Did you try replacing the "1" in the apk tool folder with framework-res.apk?
Click to expand...
Click to collapse
Yep, its total garbage. And i did apktool if framework-res.apk with the corresponding framework-res.
hello , is there any way to remove the crt animation when the screen is locked ?
anirudhbs1996 said:
hello , is there any way to remove the crt animation when the screen is locked ?
Click to expand...
Click to collapse
Yeah I made a zip for that.. will post it later.
Sent from my HTC Sensation XL with Beats Audio X315b using xda app-developers app
If you want to do it yourself, all you have to do is pull framework-res.apk off your phone (from /system/framework; you can copy it with a root file explorer and then copy it off the SD card onto your computer), decompile with apktool, then open /res/values/bools.xml and look for this line:
Code:
<bool name="config_animateScreenLights">false</bool>
Change the "false" to "true", recompile the apk with apktool and replace it back on your device. (It may be safer to take the "resources.arsc" from the new APK, and copy it into the original APK using something like 7zip, rather than putting the new APK straight onto the device, but in theory either should work fine).
Otherwise, just wait for hsn97's upload.
ill try to do it on my own , if i fail ill wait for hsn97's upload .
anirudhbs1996 said:
ill try to do it on my own , if i fail ill wait doe hsn97's upload .
Click to expand...
Click to collapse
There u go
just simply flash it, ive made both zips for getting it and for removing it in case if u want it back
hsn97 said:
There u go
just simply flash it, ive made both zips for getting it and for removing it in case if u want it back
Click to expand...
Click to collapse
thanks , i did fail doing it , somehow i could only remove crt effect only when i lock the phone .
hsn97 said:
There u go
just simply flash it, ive made both zips for getting it and for removing it in case if u want it back
Click to expand...
Click to collapse
can u make crt animation for sense 4
anirudhbs1996 said:
thanks , i did fail doing it , somehow i could only remove crt effect only when i lock the phone .
Click to expand...
Click to collapse
So its working fine for u ?
Hpsgill said:
can u make crt animation for sense 4
Click to expand...
Click to collapse
Sorry bro no idea of sense 4 but still using it
yeah , it works fine
Hpsgill said:
can u make crt animation for sense 4
Click to expand...
Click to collapse
If you do the reverse of my post above (i.e. change "true" to "false"), that should enable the CRT animation I believe.
SifJar said:
If you do the reverse of my post above (i.e. change "true" to "false"), that should enable the CRT animation I believe.
Click to expand...
Click to collapse
Cmon just for removing the animation no ones gonna decompile an APK and many are also unknown of apktool and all these stuff ..
sent from xda premium using my fingers
hsn97 said:
Cmon just for removing the animation no ones gonna decompile an APK and many are also unknown of apktool and all these stuff ..
sent from xda premium using my fingers
Click to expand...
Click to collapse
May as well learn. And it takes only a few seconds to decompile it; I'd say the entire process of pulling the APK, decompiling, editing, recompiling, pushing APK back and waiting for phone to reboot could probably be done in under 5 minutes. Compared to potentially waiting days/weeks for someone else to upload a flashable ZIP to do it, I'd say that's fair enough
i dont know what i did the first time , it worked only once , then i tried to decompile the apk file ,when i made the changes and tried to recompile it again , it didnt work , for many apk files ... does anyone know the solution ?
anirudhbs1996 said:
i dont know what i did the first time , it worked only once , then i tried to decompile the apk file ,when i made the changes and tried to recompile it again , it didnt work , for many apk files ... does anyone know the solution ?
Click to expand...
Click to collapse
Are you just modifying framework-res.apk, or are you trying to do app APKs (I'm not sure because of the "for many apk files")? If you're trying to do apps, they need to be resigned after modding, or else they won't install. If it's framework-res.apk, I don't know what's wrong. More detail would be helpful; what exactly did you do, at what point does it fail, is there some error message etc.
SifJar said:
Are you just modifying framework-res.apk, or are you trying to do app APKs (I'm not sure because of the "for many apk files")? If you're trying to do apps, they need to be resigned after modding, or else they won't install. If it's framework-res.apk, I don't know what's wrong. More detail would be helpful; what exactly did you do, at what point does it fail, is there some error message etc.
Click to expand...
Click to collapse
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>
i get the above message
Sounds like apktool.yml is missing. Maybe you deleted it by accident or something. Try decompiling the APK again into a different folder, and then copy apktool.yml from the newly decompiled one into your existing modified one, and retry rebuilding it.
EDIT: Wait, scratch that. Your command is wrong. It should be "apktool b systemui SystemUI.apk" where "systemui" is the name of the folder the APK was unpacked to.
Question??
I dont know how.. I did 2 clean installs of CM 9.1 and CM10... But the Old TV anim remained for both.. and it sortof got mixed with the existing ROM anims.. Can I flash the " TO REMOVE CRT ANIM " directly to remove that OLD TV anim remaining from JaggyROM 3.x.x ??
Will I lose my current ROM DATA and System ?? Sorry Im a NOOB . Thanks
akshat.shenoy said:
I dont know how.. I did 2 clean installs of CM 9.1 and CM10... But the Old TV anim remained for both.. and it sortof got mixed with the existing ROM anims.. Can I flash the " TO REMOVE CRT ANIM " directly to remove that OLD TV anim remaining from JaggyROM 3.x.x ??
Will I lose my current ROM DATA and System ?? Sorry Im a NOOB . Thanks
Click to expand...
Click to collapse
Lol , bro when u flash a new ROM nothing remains from the old ROM .. so dont do the mistake of flashing this removing CRT animation zip on CM9/10. In CM9 theres an option to switch off Crt Animation. Just go to Display and unmark it but in CM10 it isnt. I hope it will help u
sent from xda premium using my fingers
For CM10, you have to use the method SifJar explained.
SifJar said:
If you want to do it yourself, all you have to do is pull framework-res.apk off your phone (from /system/framework; you can copy it with a root file explorer and then copy it off the SD card onto your computer), decompile with apktool, then open /res/values/bools.xml and look for this line:
Code:
<bool name="config_animateScreenLights">false</bool>
Change the "false" to "true", recompile the apk with apktool and replace it back on your device. (It may be safer to take the "resources.arsc" from the new APK, and copy it into the original APK using something like 7zip, rather than putting the new APK straight onto the device, but in theory either should work fine).
Otherwise, just wait for hsn97's upload.
Click to expand...
Click to collapse
I just was searching for a way to remove CRT from a 4.2 ROM and this thread came up. Just as an FYI for anyone else that has this come up in a search, right now the apktool doesn't work on the 4.2 framework. I'm sure this will work once the tool gets updated.
Guys I'm a newbie to apk building...
I wanted to build a theme....
I've to optimise the apk file....
How do I do that, should I optimise the files in apk before building or should I optimise the apk itself...
Wt ever way I want that to be done, plz tell what all files I've to download to optimise the files
And procedure too
swaroopg551 said:
Guys I'm a newbie to apk building...
I wanted to build a theme....
I've to optimise the apk file....
How do I do that, should I optimise the files in apk before building or should I optimise the apk itself...
Wt ever way I want that to be done, plz tell what all files I've to download to optimise the files
And procedure too
Click to expand...
Click to collapse
U need optimize files in APK and after build it, example of optimizing is reduce quality of PNGs, remove languages, etc...
You follow this guide (only first post) to decompile and compile APK files .
http://forum.xda-developers.com/showthread.php?t=1453869
Regards.
Started theming...
Faced a problem yesterday
force close
sense stopped working
Don't know why
3reasons for that might be
1. I just replaced png by JPEG and the other way
2.I dint resize the PNG, just placed as it is
3. Some thing might have went wrong while compiling
Wt do u think the reason for fc's
swaroopg551 said:
Started theming...
Faced a problem yesterday
force close
sense stopped working
Don't know why
3reasons for that might be
1. I just replaced png by JPEG and the other way
2.I dint resize the PNG, just placed as it is
3. Some thing might have went wrong while compiling
Wt do u think the reason for fc's
Click to expand...
Click to collapse
I think that the reason is JPEG images, I think that only are compatible PNG images.
And if you only want replace images, open APK with WinRAR and replace images, it is the safer and faster method to theming .
Regards.
I did, the thing wrong with that method is,
By replacing a JPEG image file by PNG file, is not being recognised on flashing that apk...
Everything else other than those images are working fine....
One more thing along with the above problem
I've taken some theme, replaced some image files, wanna rename that apk
Wt should I do
On just renaming the default name where ever I saw in folders dint help me....
Sent from my HTC Explorer using xda app-developers app