Please help me to decompile SystemUI.apk, I tried to put the notification bar transparent modifying this line of XML systemUI:
changing: android: id = "@ id / notification_panel" android: background = "@ drawable / notification_panel_bg" to "# 00000000" and soon after recompiling the APK tool nothing happens, it seems that the signature changes and my systemui is corrupted why the notification bar disappears.
Can someone teach me the correct way to decompile/compile system applications? Wanted it to be so.
Follows an example image:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Drag the original meta-inf and manifest into the apk
Sent from my GT-I9100 using Tapatalk 4 Beta
Sent from my GT-N7000 using xda premium
How to do it? Since these files will already be decompiled? We took a step by step I would appreciate
GiRaFa-SAMA said:
Sent from my GT-N7000 using xda premium
How to do it? Since these files will already be decompiled? We took a step by step I would appreciate
Click to expand...
Click to collapse
When you use apk-tools you could do a compile system app, it copies good signatures automatically
Whatever, if you want to copy the good signature, open your apk with winrar or 7zip, then open the original apk.
Drag and Drop the Folder META-INF and the file manifest.xml from the original apk to the new compiled apk.
And it's over
ezaechiel said:
When you use apk-tools you could do a compile system app, it copies good signatures automatically
Whatever, if you want to copy the good signature, open your apk with winrar or 7zip, then open the original apk.
Drag and Drop the Folder META-INF and the file manifest.xml from the original apk to the new compiled apk.
And it's over
Click to expand...
Click to collapse
I use the tools apk modified by Madninj (think is asim who writes their nickname)
But anyway, thank you for explaining, and I've tried previously with apktool and it did not work, I'll try with 7zip.
Related
Little mod to battstatt,to display battery info in spanish, has some minor glitches with the sizes except large one, and another one that happen when the battery is below 10% the message below that percent has the "_y_" in front, that's because how the numbers are written in spanish. dont know how to fix it without the source code or messing with the widget core.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hope someone find this useful.
any advice are welcome!
All the credits to http://blog.mudderman.com/ <- original autor of battstatt
thanks! it looks beautiful
Can you maybe explain how you changed the launguage?
I would like to make for my.
stifler05 said:
Can you maybe explain how you changed the launguage?
I would like to make for my.
Click to expand...
Click to collapse
yea, sure, you need the program, apk manager, http://forum.xda-developers.com/showthread.php?t=695701
with this, you can extract the installed apk from your phone to your pc, then this pogram can decompile the apk, with this you get the main files for the widget to work, there is a folder called "res", and inside is another one called "values", there are two xml file in wich you can change the language,arrays.xml and strings.xml.
in that two files you can modify the languaje displayed, be careful when changing the names because of the dependencies with other setings in the widget.
then with apk manager, you can compile again the apk and install it in to your phone.
thats, all
hope helps you.
kmilof said:
yea, sure, you need the program, apk manager, http://forum.xda-developers.com/showthread.php?t=695701
with this, you can extract the installed apk from your phone to your pc, then this pogram can decompile the apk, with this you get the main files for the widget to work, there is a folder called "res", and inside is another one called "values", there are two xml file in wich you can change the language,arrays.xml and strings.xml.
in that two files you can modify the languaje displayed, be careful when changing the names because of the dependencies with other setings in the widget.
then with apk manager, you can compile again the apk and install it in to your phone.
thats, all
hope helps you.
Click to expand...
Click to collapse
Thank you mate.
"Text Battery Widget" has spanish builtin
Does anyone know how I would change the colours of the text in black below? It is the only thing that I can't find. I think It might be in services.jar somewhere but changing that is out of my depth.
Any help is greatly appreciated.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sometimes I changed color for date and clock.
For this I had to decompile "classes.dex" file which you cand
find if you open "services.jar" with WinRar or 7zip!
After changing colours you have to compile back,open "services.jar"
again and put the new "classes.dex" there.
But I think some colours for notifications are at
framework-res.apk/res/layout/status_bar.xml,not at "services.jar".
Maybe look at here:
http://forum.xda-developers.com/showthread.php?t=535630
http://forum.xda-developers.com/showthread.php?t=549309
I am interested in this as well. I have searched and searched code and Google for where that precise line is and coming up empty. The links provided althougb useful and already used do not address the question.
Sent from my SCH-I500 using XDA App
It's an .xml file in DownloadProvider.apk/res/layout, I do believe.
JAguirre1231 said:
It's an .xml file in DownloadProvider.apk/res/layout, I do believe.
Click to expand...
Click to collapse
Thank you very much! It works perfectly!
What XML editor are you guys using to edit these files? The one i have keeps giving me invalid character errors.
BumRush said:
What XML editor are you guys using to edit these files? The one i have keeps giving me invalid character errors.
Click to expand...
Click to collapse
I decompile them with apktool and then use any ol' text editor.
Great lesson, thanks
Ganii said:
Sometimes I changed color for date and clock.
For this I had to decompile "classes.dex" file which you cand
find if you open "services.jar" with WinRar or 7zip!
After changing colours you have to compile back,open "services.jar"
again and put the new "classes.dex" there.
But I think some colours for notifications are at
framework-res.apk/res/layout/status_bar.xml,not at "services.jar".
Maybe look at here:
http://forum.xda-developers.com/showthread.php?t=535630
http://forum.xda-developers.com/showthread.php?t=549309
Click to expand...
Click to collapse
You can change the color of the date in a .xml-file.
I'm building up a tutorial where to find to corresponding entries in the .xml-files (see my signature). Any hints to new places are welcome
I need a help. Please look at this topic
Code:
http://forum.xda-developers.com/showthread.php?t=822523&highlight=touchwiz
This man and many others people on XDA-forum editing TouchWiz app. Original homescreen by Samsung. They are changing icons, adding backgrounds etc etc. Please could anyone help me or anyone know how to do that? This app - TouchWiz30Launcher.apk - is in system/apps. How or in which program I could edit for example icons or add new dock to bottom? Anybody know?
Please for all. Could anyone help me with this?
ok first you have to be on jpy firmware then you have to take the twlauncher30.apk from the thread you referenced and you need to be rooted an use root explorer to install to your phone by backing up the existing .apk and .odex (rename see instructions in other thread) and then overwritting it with the one from that thread.
the one from that thread is de-odexed so you can edit the .png (icons) using microsoft photo editor or something else and then replace the .png directly in the .apk file with 7zip.. then you can put modified .apk on phone in sameway..
here is my modified version with a modified "bender" launcher icon
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok i learned this now but where I can change norification bar? In which app? Also in TouchWiz30Launcher.apk?
notification bar is in framwork-res.apk in system/framework..
same method using 7zip to change icons and then put back on phone with root explorer.. after putting back on phone stuff will start crashing and you should reboot.. (may need to pull battery).. make sure you have backups of originals.
notification pulldowns (not the bar) are much more comlicated and you have to change .jar files in the system as well.
Many thanks =) Changing icons in notification bar looks quite hard Is there any easier method?
what i did is find some other rom or custom rom you like and get the framwork-res.apk from that (you know you can just unzip the .apk and then use windows explorer to browser the directories to see all icons at once)
then you can open your framework-res with 7zip and the one with icons you like in another instance of 7zip and then just cut and past the icons (they need to be the same name... as some have additional icons and that entails decompiling and changing .xml files and recompiling and resigning.. much more complicated)... anyway just cut and paste directly from one 7zip into the other (your modifed framework-res from your curent firmware on your phone) then put it back on your phone.
Hello,
Something is bothering me when I'm watching a video :
when I hit the volume keys, this volume popup is coming in front of the video, and stays there for ages
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I would like to edit the background and make it transparent. I'm pretty sure it's located in res\drawable-hdpi
but if someone knows which file it is, that would help me a lot
thanks !
Should be in framework-res.apk or SystemUI.apk.
Just view the folder and look for this png?
Maybe it's used by other dialogs too, so there could be more than one part. (top, middle, bottom)
And if you're not lucky, other dialogs are transparent too after this. ;o
I did open the "framework-res.apk"
I got a lot of files in it :laugh:
I did not find anything looking like it, only these ones maybe ... ?
is it a sigle png file or maybe these tiny squares put together ... I should test
On mine its dialog_full_holo_dark there are other dialogs that use it though...if you don't want to affect them you'd have to edit volume_adjust.xml to point to another image
If you can decompile your framework check that xml to confirm
Sent from my GT-I9100 using xda premium
ok thanks,
can I just extract the xml from framework-res.apk on my computer, edit it, and then add it again + adb push the new framework-res.apk ?
edit : looks like I need to read this http://forum.xda-developers.com/showthread.php?t=1427959
ok, in the XML volume_adjust.xml (once I decompiled the file), I found this :
android:background="@drawable/dialog_full_holo_dark"
yeah there is a bit involved in decompiling but its worth learning how to do it, especially with 9.pngs
Sent from my GT-I9100 using xda premium
I have errors when I try to recompile, so I'm gonna go with replacing the PNG file with a transparent one, and just replace the png withing the APK using winrar. I made a backup. Time to adb :silly:
well, it doesn't change anything
(and I wipped cache+dalvik)
damn
Hmm that's weird, here's a compiled image I found on my phone if you want to try with that to test. If that works it must be something to do with the image you used, if that doesn't work it must be something to do with the process your using to push it to your phone not working.
http://db.tt/K2uTCdey
If you decide to give compiling another go...assuming you've got your environment and paths set up correctly and you've not changed the 9patches, the errors you're getting may be just plural errors? If that's the case you just need to go through values and change line 79 on each one so they're like %d %%d instead of %d %d (sorry that's a bit vague)
Sent from my GT-I9100 using xda premium
Edit: If you get stuck with it post your framework and i'll do it for you.
Hi can somebody help or guide me on how to change the icon of lte to 4g for the status bar?
Could you shorten your post please? All the information is a bit overwhelming so it's hard to extract the exact issue or question...
anakdayak said:
Hi can somebody help or guide me on how to change the icon of lte to 4g for the status bar?
Click to expand...
Click to collapse
If you're running a deodexed rom you can manually replace the .png file in "SystemUI.apk" (located in /system/priv-app/) or "framework-res.apk" (located in /system/framework/). I'm not exactly sure which of these 2 files contains the .png file('s) you're looking for, so give it a shot!
B1nny said:
If you're running a deodexed rom you can manually replace the .png file in "SystemUI.apk" (located in /system/priv-app/) or "framework-res.apk" (located in /system/framework/). I'm not exactly sure which of these 2 files contains the .png file('s) you're looking for, so give it a shot!
Click to expand...
Click to collapse
Tnx mate I do remember someone post by editing the build prop but then seems like I cannot find where it is.
Its not the build.prop
SystemUI.apk and framework-re.apk
SystemUI.apk is in system/app and framework-res.apk is in system/framework
You can pull them to your PC and then open them with WinRAR (Or similar) and find the .pngs which you can just change
They will be in the res folder.
gregbradley said:
Its not the build.prop
SystemUI.apk and framework-re.apk
SystemUI.apk is in system/app and framework-res.apk is in system/framework
You can pull them to your PC and then open them with WinRAR (Or similar) and find the .pngs which you can just change
They will be in the res folder.
Click to expand...
Click to collapse
"system/priv-app" mate.
Flash this in recovery:
LTE ICON:
https://app.box.com/s/ms3pi2iuc67j64lco20n
4G ICON:
https://app.box.com/s/i4z7v8dekm67o2bnhc3j
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Rooted C6903 using XDA Premium
gregbradley said:
Its not the build.prop
SystemUI.apk and framework-re.apk
SystemUI.apk is in system/app and framework-res.apk is in system/framework
You can pull them to your PC and then open them with WinRAR (Or similar) and find the .pngs which you can just change
They will be in the res folder.
Click to expand...
Click to collapse
If I pull them out to PC the apk, open them with WinRAR, find the .pngs which I will replace, save the replaced ones with WinRAR, put them back to system/app and system/framework, overwrite the original one (backup them first), reboot, it will work?