Can somebody tell me where the lockscreen is stored?
Probably either framework-res.apk or SystemUI.apk. Open them up with winrar and see if you can find any PNG's that exist in the already set up lockscreen.
In the framework apk i just found a huge amount of .xml files and in the systemUI i found the statusbar png but nothing from the lockscreen :/
They're in the Framework-res file. Look better.
Thanks found em and i've found the standard android lockscreen png's too in the same direction. And is it possible to use the standard ones if i just rename them to name of sonys lockscreen png's?
Sorry for my bad english
Yea. Android is made to use a specifix name for a certain icon in a certain spot. You can put whatever you want, but you want to make it look nice So adding a bird with the same name as a button will show you a bird instead of the button, but will behave as a button
Okay and if i did changes to the framework-res.apk must i do something with it or can i just put it on my phone with root explorer?
MCPoppa said:
Okay and if i did changes to the framework-res.apk must i do something with it or can i just put it on my phone with root explorer?
Click to expand...
Click to collapse
Only set correct permissions
Related
Hello, maybe this is the wrong thread but i seem to not be getting any help over at Q&A's... I'm porting a theme from the captivate forums and for some reason my dropdown notifications have a transparent background and the text is black as well for any popup window like when you long press the homescreen to get widgets, and wallpaper chooser, so i think i need to modify either the framework-res.apk or the twframework-res.apk but don't kno exactly what file to modify to either get the text to white or get a background on those things... if anyone would advice me i'd appreciate it... thanks
Also if anyone could guide me into modifying the services.jar to change the clock color i would also appreciate it...
THIS IS THE LINK TO WHAT IM WORKING ON
danalex0829 said:
Hello, maybe this is the wrong thread but i seem to not be getting any help over at Q&A's... I'm porting a theme from the captivate forums and for some reason my dropdown notifications have a transparent background and the text is black as well for any popup window like when you long press the homescreen to get widgets, and wallpaper chooser, so i think i need to modify either the framework-res.apk or the twframework-res.apk but don't kno exactly what file to modify to either get the text to white or get a background on those things... if anyone would advice me i'd appreciate it... thanks
Also if anyone could guide me into modifying the services.jar to change the clock color i would also appreciate it...
THIS IS THE LINK TO WHAT IM WORKING ON
Click to expand...
Click to collapse
you need to edit the .xml files.
for notification you need to edit statubar_expand.xml and files that has similar name to that xml. dont exactly remember what its called.
its in framework-res.apk/res/layout
the notification pulldown background is in
twframework-res.apk/res/drawable-hdpi
eunkipark92 said:
you need to edit the .xml files.
for notification you need to edit statubar_expand.xml and files that has similar name to that xml. dont exactly remember what its called.
its in framework-res.apk/res/layout
the notification pulldown background is in
twframework-res.apk/res/drawable-hdpi
Click to expand...
Click to collapse
Well for the notification pulldown background ive got the one i wanted... what im referring to is when u have a notification, for instance you downloaded something from the market and u get successfully downloaded that one notification has no background it is set to transpare t and the letters are black so i can really read what it says...
anybody wishing to help?
If it is an image you need to edit to be non-black/transparent the file I think you're looking for is called "status_bar_item_background_normal.9.png"
Change that to a totally opposite color and see if that's it?
If you mean editing the color of the letters then I do not know what to edit in the .xml file.
Hope I helped!
How can I modify the XML files? 'cause when I extract them from apk file, all of them are protected, I can't read any codes. Can anyone show me how to fully unprotected them?
P/s: I always get this error "An invalid character was found in text content. Error processing resource..." whenever I open xml file with IE.
vnthantai said:
How can I modify the XML files? 'cause when I extract them from apk file, all of them are protected, I can't read any codes. Can anyone show me how to fully unprotected them?
Click to expand...
Click to collapse
^^ +1.....
danalex0829 said:
^^ +1.....
Click to expand...
Click to collapse
they must be decompiled with apk manager
additionally when you recompile make sure to check the log as there will be several images that will be renamed from. 9.png to png you must use the draw9patch program found in the tools folder of the android ask to 9patch these images otherwise your apks will not compile correctly. Im on my phone now so I can't provide the necessary video link how ever simply go on youtube and search how to use draw9patch there is a very good beginners explanation (2 part) of what a 9 patch is and how to use the 9 patch utility
Sent from my AXURA powered Vibrant
are all of images in "res/drawable-hdpi" folder 9.png formated files? or just some of them?
vnthantai said:
are all of images in "res/drawable-hdpi" folder 9.png formated files? or just some of them?
Click to expand...
Click to collapse
it varies, they can be in any folder really, but generally speaking that is where you will find most of them. Just check the logs and you will know exactly where to find them and what they were named.
was anyone able to figure out to edit services.jar in order to change clock color?
aamir123 said:
was anyone able to figure out to edit services.jar in order to change clock color?
Click to expand...
Click to collapse
Here you go man. http://forum.xda-developers.com/showthread.php?t=940692
That thread will explain that part. Be careful with it though, and make a backup cas if you mess it up you'll get a boot loop as I did
am trying to edit the framework-res.apk
am trying to change the images of the slider (jog_dial_bg_rev.png) but when i save it and then install or move the .apk to system/framework folder
the phone crashes? has this got anything to do with the MD5?
all i wanna do is change the slider image based on the CM7 pro v20 ROM
my reason is because the black shadow covers the incoming call number
kashem58 said:
am trying to edit the framework-res.apk
am trying to change the images of the slider (jog_dial_bg_rev.png) but when i save it and then install or move the .apk to system/framework folder
the phone crashes? has this got anything to do with the MD5?
all i wanna do is change the slider image based on the CM7 pro v20 ROM
my reason is because the black shadow covers the incoming call number
Click to expand...
Click to collapse
Instead of extracting, Just open it with winrar or 7zip and drag and drop image in the 7zip window.
Sent from samsung vibrant
can anyone make a transparent status bar ?or do you know a guide and i`ll make one myself ,didn`t find one. i want for sense .
Manual method :
1. Pull the framework-res.apk from /system/framework
2. Extract the apk and find the drawable MDPI/LDPI which there is a many icons
3. Find all status bar icon
4. Edit in on Photoshop or any editor
5. Change the opacity to 50-80%(0%=Blank no status bar LOL )
6. Copy the png to the apk(ZIP not the extracted one)
7. Push it to /system/framework
8. REBOOT and PRAY
actually it's the basic method and old method without theme choser
don't forget to backup the original framework-res.apk or NANdroid Backup
blank status bar is good, shows only time and others status but what about metamorph ?anyone with photoshop wants to do this ?my laptop is not powerfull enough ,the rom is wildpuzzle so you can download the framework apk from there.
Look for the 2 Sense Themes - WildDazzler and AeroFire (It's listed in the Theme Thread, Just search for it). Both descriptions state they have Transparent Status bars, so, you can just take it from there, if you do now want to have the entire theme.
flashed them both and they are ugly
If you read completely what I wrote above, you can use the Status bar files from them, if you are unable to modify it yourself.
Well auleu let me know what you have in mind and i'll give it a shot
Like 3xeno said if you want to try it for yourself just edit the framework-res.apk by unzipping it, going to either LDPI, MDPI, or HDPI (doesnt apply since this is Wildfire).
Edit the status_bar_backround.png and any other status_bar_* related items.
Once done go to the root of the folder, select all and say send to zip. Make sure your file extensions arent hidden. Rename it to framework-res.apk
Now you have 3 options,
1. access phone through recovery using
adb shell, mount /system, cd /system/framework/, rm framework-res.apk, exit.
Then cd to your edited apk and then
adb push framework-res.apk /system/framework/
reboot (dangerous option, try only if you sure you done everything correctly, regardless make a nandroid backup before doing so)
2. edit my aerofire zip by extracting it, removing everything besides the framework folder in the system folder, now copy your framework-res.apk to the framework folder, removing whats inside. Go to root of folder, select all, right click, send to compressed zip. then flash through recovery, reboot.
3. head to the uot.dakra.lt/ and run the framework-res.apk through it customizing what you want and then flash the resultant zip file.
Hope that helps
Does metamorp or Zip Themer work on Wildfire?? Tried them many time but couldnt bring them to work...any guides/suggestions ...
I tried, keeps rebooting, dont really have a lot of time to test as i'm writing an exam tomorrow.
Thing is i'm under the impression that it only works on mdpi devices, correct me if i'm wrong about this
Is it possible to make a transparent lockscreen with the same way?
I use DK Custom Froyo Rom.
A transparent lockscreen is in fact the exact same process, only difference is that you modify the com.htc.resources.apk instead of the framework-res.apk. If you want some idea on what needs modding, take a look at my aerofire theme mod, just extract the apk needed and take a look.
Just search the forum for lockscreen mods and you can do just about anything with it. That being said, widgetlocker? who uses that and why? i find it so frustrating due to (and i know this is a bit perfectionist or whatever) the 1 or 2 second delay that occurs between pressing the power button and seeing the lockscreen, i mean come on, sometimes it even shows the homescreen for a split second before showing the lockscreen and thats just not on for me
did any one tried that. completely transparent status bar???/ is there a flashable zip?? srry m no developer. after trying hundereds of roms m bak to kwbr. lol
mrunal.zode said:
did any one tried that. completely transparent status bar???/ is there a flashable zip?? srry m no developer. after trying hundereds of roms m bak to kwbr. lol
Click to expand...
Click to collapse
Sorry its late reply. Don't visit here much anymore but I did a few mods back in the days. May have to search back or forward a bit but here is transparent flash able zip for any sense ROM. Rooted of course.
http://forum.xda-developers.com/showthread.php?p=32824023
Sent from my Nexus 4
Hi
sorry if for expert devs this is a basic question
I have been looking around but I did not found this explained
HOW TO CHANG THE ICON ASSOCIATED WITH AN APK ????
I know how to open a apk with 7 zip and that I have to change the png file there
but which file ?????
do I need to change just the file associated with the icons or all the others ?
I mean .... inside (for example) mm.apk I found the icons related to contacts.apk to email.apk etc ... do I need to chenge all of them with the new ones ?
decompile and recompile
Decompile the app with apktool and go into the res folder and find the icon u want to replace ,,change it and recompile with apktool.Lastly sign the app and you are good to go
I have never tried change icons but i tried to change the background images for dialer and system menu. I used the same method mentioned above by opening the apk using 7zip and changing the images files with my custom images and rename them exactly the same as old ones.
Then I used CWM to flash the zip which contains the modified apk (i.e. contacts.apk and framework-res.apk)
However, I would recommend that you backup your ROM before flashing the modified zip file just in case something wrong happens.
Good Luck
I remember that there is a tool much faster than apktool ti decompile recompile but ... I have not been on the forum for long and I lost it
Is it also possible to change only theicon by using vrtheme ? if yes can someone explain how ?
Thanks
Give this thread a whirl...should be very useful
Basic theming guide by Dully79
Darkside Agent said:
Give this thread a whirl...should be very useful
Basic theming guide by Dully79
Click to expand...
Click to collapse
All very interesting I am sure I will use it at some point
I installed Java SDK and APKtool ... I remembered what they are for ... but still ...
the only thing I needed to know was if I need to change all the images in res or only that associated to the icon.....
ads7112 said:
All very interesting I am sure I will use it at some point
I installed Java SDK and APKtool ... I remembered what they are for ... but still ...
the only thing I needed to know was if I need to change all the images in res or only that associated to the icon.....
Click to expand...
Click to collapse
fine, whatever, ignore my post
Please .. do not missunderstand me !!!
Your help is very much apreciated
I knew approximately what to do to modify the theme also if in general I preferred kitchen uot
Instead I was hoping in a simple change of icon afetr decompressing/decompiling the apk but apparently it is not so simple ...never mind
Hi guys, I'm new to this forum and if its possible I'm gonna ask for help here.
I'm losing hope with this, I followed all the guides regarding in modifying touchwiz however whenever I edit an xml file even just a letter and recompile it again, it won't work. I set the permissions to rwx-rxx-rxx in the /system/app but still its not listed as an installed application in all application lists. TB shows it as an uninstalled app/orphan. I already managed to deodexed my touchwiz so I don't know the problem anymore. What I'm trying mod with my touchwiz is as follows:
*5 icons dock (original icons) /no dock background or some line above dock just like original
*5 rows homescreen
*application_name=Samsung home to Home
*transparent menu_background
*fly in effect
*launcher:defaultScreenCount = 1
*automatically sorting apps to alphabetical
*disable homescreen app labels
I downloaded an already modded touchwiz3 to set as my model for editing, its perfect however what I don't like in it is the line above the dockbar and whenever I set the homescreen number to only 1, the homescreen icons/widgets are scrolling. I uploaded the 3 files (original/downloaded/my modded), could someone check what I'm missing in my work? BTW, I'm on a stock S5300DXLF2.
I'll appreciate all the help in advance, thanks.
set permission to.rw-r--r--.
MANYGREEEEEEEETZ!!!
---------- Post added at 01:05 AM ---------- Previous post was at 12:59 AM ----------
edit.how did u named the apk?
MANYGREEEEEEEETZ!!!
Yes, I set the permissions to rw-r--r-- but still its not showing up as an installed application. I deodexed the original touchwiz using this guide http://forum.xda-developers.com/showthread.php?t=1600805 but still it won't let me edit a single line in an xml file. What could be the problem?
Regarding your question about how did I named the apk, are you talking about the filename.apk (TouchWiz30Launcher.apk)? I didn't change that in the /system/app directory.
try to sign the apk
I finally managed to make it work, I copied all the files I edited from the new compiled apk to the original apk and I pushed back the original apk. However the application name and the menu background transparency didn't change at all. Since I don't know where the values folder goes after recompiling an apk, I don't know where to copy it from the new apk to paste to the original apk.
DarkEyes23 said:
I finally managed to make it work, I copied all the files I edited from the new compiled apk to the original apk and I pushed back the original apk. However the application name and the menu background transparency didn't change at all. Since I don't know where the values folder goes after recompiling an apk, I don't know where to copy it from the new apk to paste to the original apk.
Click to expand...
Click to collapse
This is the problem of signing the app... use vts to compile, decompile and signing... I guess it will work...
Sent from......... I guess you know it...
I tried using VTS, but that didn't help either changing the application name. I'm having another problem adding rows to homescreen, I changed the longaxiscells to 5 but I'm getting FC.
how is it .. is it good ?
Any of this is like the one in JellyBlastV3 rom??? With the transperant dock and stuff??? And I just push it using root explorer??? And set permissions??
Sent by a Payphone
Ok so i have had NO LUCK whatsoever trying to get this to work. My ROM for the Note 2 is a TW base (people want the S-Pen functions). And they like the AOSP feel so i decided to try and make a ROM that is AOSP themed. Well i have the launcher and a few AOSP themed apps such as the messaging app.
The flashers were very satisfied with my work so far. But they wanted an AOSP themed status bar. Meaning some AOSP battery images wifi and so on. I decided just just replace the EXACT images. I used a cm10 ROM to get the pngs. I also did use the newest Apktool to do it. I did all the framework installation. I decompiled both and started transfering. Here is what i did. I went to the drawable-xhdpi folder in both ROMs. They had pretty much identical png names. But the icons were different (one being the blue theme) so i took the blue icons (battery and wifi) and transfered them to my rom. I made sure that only the pngs with the same names were transfered. so there wasnt any issue compiling.
Next i compiled the APK file.
Then i used my backup systemui.apk file to transfer the META-INF folder to the new one using 7-zip.
Then i went and signed it and used dsixda's android kitchen to zipalign it. Then after all that i pulled that apk from the zipaligned folder and put it on my phone's sd card. I have the root explorer app. I move it to my /system/app folder. It moved successfully. Then i reboot and when it comes back up i dont have a status bar. And my wallpaper is black for a little while and then goes back to the feather thing.
I have tried signing and not signing. Zipaligning and not zipaligning.
I am stuck here. I am really wanting the AOSP themed icons in the status bar. Any help will be greatly appreciated!
Try this:
Decompile, mod and compile your apk as usual (don't sign or zipalign the file).
Open your fresh compiled apk, and your original apk using 7-zip (I haven't tested with Winrar, try if you wish).
Drag and drop all the files from your compiled apk to the original one, EXCEPT the AndroidManifest.xml.
Push this new cross-modded apk to your phone and reboot.
RoberGalarga said:
Try this:
Decompile, mod and compile your apk as usual (don't sign or zipalign the file).
Click to expand...
Click to collapse
Always zipalign.
XperienceD said:
Always zipalign.
Click to expand...
Click to collapse
I use dsixdas kitchen to zipalign my apks. Is there another tool I can use for just zipalign?
Droid Premium said:
Is there another tool I can use for just zipalign?
Click to expand...
Click to collapse
Yes, apk multi-tool.
RoberGalarga said:
Yes, apk multi-tool.
Click to expand...
Click to collapse
I appreciate it. Thanks sooo much!
Give me a hand please
RoberGalarga said:
Try this:
Decompile, mod and compile your apk as usual (don't sign or zipalign the file).
Open your fresh compiled apk, and your original apk using 7-zip (I haven't tested with Winrar, try if you wish).
Drag and drop all the files from your compiled apk to the original one, EXCEPT the AndroidManifest.xml.
Push this new cross-modded apk to your phone and reboot.
Click to expand...
Click to collapse
I am modding my status bar 2.3.4 and i want to add power toggles to it
i got a systemui.apk from another phone ( xperia arc 2.3.4) which has the same status bar like i do ( droid 3 )
when i switch systemui.apk's between them i get a FC and then i reboot and i get no status bar .
is that because it is from a different phone ( i looks exactly like my status bar ) or it might be a signature problem from android xml ?
Dorin21 said:
I am modding my status bar 2.3.4 and i want to add power toggles to it
i got a systemui.apk from another phone ( xperia arc 2.3.4) which has the same status bar like i do ( droid 3 )
when i switch systemui.apk's between them i get a FC and then i reboot and i get no status bar .
is that because it is from a different phone ( i looks exactly like my status bar ) or it might be a signature problem from android xml ?
Click to expand...
Click to collapse
You can't do that. Just because they look the same doesn't mean the coding is the same. You are gonna have to add all the missing coding from one that has it to yours. Not an easy task at all
Wayne Tech Nexus
zelendel said:
You can't do that. Just because they look the same doesn't mean the coding is the same. You are gonna have to add all the missing coding from one that has it to yours. Not an easy task at all
Wayne Tech Nexus
Click to expand...
Click to collapse
I even tried to copy a status bar from a 2.3.4 rom ( droid 3 ) to my own build ( 2.3.4 droid 3 ) and did not work
I somehow need to edit the status bar, the interface, so that I create the space needed by my toggles and then add them
And after that I need to create a command file so when I click on wifi to turn it off or on for example, right?
Do you know any place for learning coding or some tutorial that could help me in a way or another?
Dorin21 said:
I even tried to copy a status bar from a 2.3.4 rom ( droid 3 ) to my own build ( 2.3.4 droid 3 ) and did not work
I somehow need to edit the status bar, the interface, so that I create the space needed by my toggles and then add them
And after that I need to create a command file so when I click on wifi to turn it off or on for example, right?
Do you know any place for learning coding or some tutorial that could help me in a way or another?
Click to expand...
Click to collapse
You will need to use a decompiling tool such as APKtool. Then transfer the PNG files from the xperia systemui to the droid3 systemui. Make sure png file names are exactly the same on both systemui's or just rename them to match the droid3 systemui. Also make sure if you have lets say 400 png files in one folder make sure you have 400 at the end of your modding or you will have compiling issues and force closes!
Then use 7-zip to transfer the meta-inf folder to the modded apk file. Zipalign and boom you are done!
Droid Premium said:
You will need to use a decompiling tool such as APKtool. Then transfer the PNG files from the xperia systemui to the droid3 systemui. Make sure png file names are exactly the same on both systemui's or just rename them to match the droid3 systemui. Also make sure if you have lets say 400 png files in one folder make sure you have 400 at the end of your modding or you will have compiling issues and force closes!
Then use 7-zip to transfer the meta-inf folder to the modded apk file. Zipalign and boom you are done!
Click to expand...
Click to collapse
So if i understood corectly i'll have to do this
1. Decompile both apks with apktool .
2. Copy all the stuff from framework-res from xperia to my systemui ( or just for the status bar toggles )
3. Transfer meta-inf .
Question : if i transfer meta-inf folder i will copy and replace the original right ? And what is the meta inf actually ? (The command lines for each power toggle ? ( i mean what to do if i click wifi for example ☠)
4. Zipalign .
5. Replace the file in my unzipped rom ( should i unzip it normally or with apktool ) and then zip it and flash it
Dorin21 said:
So if i understood corectly i'll have to do this
1. Decompile both apks with apktool .
2. Copy all the stuff from framework-res from xperia to my systemui ( or just for the status bar toggles )
3. Transfer meta-inf .
Question : if i transfer meta-inf folder i will copy and replace the original right ? And what is the meta inf actually ? (The command lines for each power toggle ? ( i mean what to do if i click wifi for example ☠)
4. Zipalign .
5. Replace the file in my unzipped rom ( should i unzip it normally or with apktool ) and then zip it and flash it
Click to expand...
Click to collapse
Its a complicated process. It's hard to explain. Check to see if your device supports VRTheme. Go to the Themes section for your device and see if anybody has a theme that uses that system. If so that would make your life SOOO much easier!!
I want to edit my status bar style to iOS style by editing systemui.apk file ..how to do that tell me bro