GS4 assitive light widget? - T-Mobile Samsung Galaxy S 4

Any chance of changing square widget for light with round note 3 style m?
That square takes up a lot of space on screen.
Pp.

PanchoPlanet said:
Any chance of changing square widget for light with round note 3 style m?
That square takes up a lot of space on screen.
Pp.
Click to expand...
Click to collapse
Yeah. its just an png image file. Just gotta find where its at/what apk its in and swap it out

Wifey has a note 3 with the streamlined widget (since last update ) , makes my square widget look so clunky.
Pp.

Any chance this would work for our GS4?
http://forum.xda-developers.com/showthread.php?t=2591326
Pp. ???

ShinySide said:
Yeah. its just an png image file. Just gotta find where its at/what apk its in and swap it out
Click to expand...
Click to collapse
Would this be a build.prop edit or ADB decompile thing?
Pp.

PanchoPlanet said:
Would this be a build.prop edit or ADB decompile thing?
Pp.
Click to expand...
Click to collapse
download 7zip (free), Take the apk it is/is in, right click the apk, select extract, go to res/drawable-xxhdpi or res/drawable-sw360dp-xxhdpi, youll find it in one of them, rename the image you want to use and name it the same and copy it to the same place. delete all the other folders inside the res folder except the one/s you swapped images out in, then right click the apk again, select open as archive and just drag and drop the entire res folder you just swapped the image out in, close the window and flash/adb push it to the phone.
Build.prop doesnt control images like that, and adb is for debugging/pushing/pulling/etc purposes
apktool (which I prefer over ones with a GUI like multi-tool, etc) can decompile apks tho. But you dont need to do that if all youre doing is images. If you want to edit xml colors, layouts,or smali edits, and those kinds of mods youll need to decompile the apk.

Thanks, you make sound so simple ??? , I have 7zip already on my pc, just need to extract or d/l image that I need so I can swap it out. Can I save the apk as a zip so I can share it ?
Pp.

Related

[Q] help with all apps fc after modifying images in framework-res

i decided to make my taskbar and tasktray transparent so i pulled framework-res from my phone, extracted and modified the images, and then made a flashable zip and reflashed it (i used the update-script from a theme i have that replaces the framework-res so i know it works). it flashes and boots fine and doesnt bootloop or anything but any app i open whether it be settings or gmail or root explorer force closes and theres no way to do anything but scroll on my home screen. the only thing that works is the usb connection type picker.
images i modified:
activity_title_bar.9.png
status_bar_background.png
status_bar_close_on.9.png
status_bar_header_background.9.png
status_bar_item_app_background_normal.9.png
status_bar_item_background_focus.9.png
status_bar_item_background_normal.9.png
status_bar_item_background_pressed.9.png
title_bar_portrait.9.png
i have a sneaking suspicion that its either the title_bar_portrait.9.png and/or the activity_title_bar.9.png
or just *.9.png files in general. all are rgb color and between 50% and 75% opacity if it matters
please help
edit- i took out the title_bar_portrait.9.png and the activity_title_bar.9.png and it works now so it was one or both of them. does anyone know why they broke everything and how to make it so they dont?
Id carry this over to the Q & A forum cause u gonna get told lol
Sent from my phone... I think using Tapatalk??
Patch9 files are not normal png files. You may have destroyed the .9 data by editing it. Also, take a clean copy of your original framework-res.apk off your phone and then using 7zip just open the file (don't unzip), and then drag and drop your modified images into the appropriate folders in the apk. Don't try and resign or make a new framework file.
nukedukem said:
Also, take a clean copy of your original framework-res.apk off your phone and then using 7zip just open the file (don't unzip), and then drag and drop your modified images into the appropriate folders in the apk. Don't try and resign or make a new framework file.
Click to expand...
Click to collapse
thats what i did when i broke it but i fixed it doing that too
nukedukem said:
Patch9 files are not normal png files. You may have destroyed the .9 data by editing it.
Click to expand...
Click to collapse
how can i modify them and restore the data? right now though i have the .9 images from above minus activity_title and title_bar modified and the system seems to be working like a charm. all i did was change the opacity in gimp aside from the background which i changed to a digi camo pattern
daktah said:
how can i modify them and restore the data? right now though i have the .9 images from above minus activity_title and title_bar modified and the system seems to be working like a charm. all i did was change the opacity in gimp aside from the background which i changed to a digi camo pattern
Click to expand...
Click to collapse
You could open the images with the 9patch tool in the sdk and double check them. Then save it using the tool.
Sent from your mom's phone.
i never noticed that before
so just open them with it and save them and i should be all good?
You could try just re-saving them. If that doesn't work, you can use the tool to check for problems. Maybe the easiest way to make sure everything is ok would be to open the original 9patch image and look at how the borders are drawn, then make sure you have the same borders in your image. I'm not an expert on 9patch files, but hopefully that will help you.

Customizing graphics (maybe noobish question)

Less than an hour ago I decided to skin my statusbar. What I do is open SystemUI.apk with 7zip, extract everything from drawable folders and modify them. Now, I've got a question. Is it enough to replace png files in apk with modded ones, or I should somehow sign the apk file?
Thanks in advance.
Sent from nowhere
tajimura said:
Less than an hour ago I decided to skin my statusbar. What I do is open SystemUI.apk with 7zip, extract everything from drawable folders and modify them. Now, I've got a question. Is it enough to replace png files in apk with modded ones, or I should somehow sign the apk file?
Thanks in advance.
Sent from nowhere
Click to expand...
Click to collapse
Good question! I'm also interested in this.
Can't remember well whether it will work without resigning but I always sign the system apk / user apk after doing any modification.
Unsign apk normally get installed when it is placed at system/app but will not work when put it at sd-ext/app_s.
ckpv5 said:
Can't remember well whether it will work without resigning but I always sign the system apk / user apk after doing any modification.
Unsign apk normally get installed when it is placed at system/app but will not work when put it at sd-ext/app_s.
Click to expand...
Click to collapse
Got it. One more question - which tool do you use for signing?
Sent from nowhere
tajimura said:
Got it. One more question - which tool do you use for signing?
Sent from nowhere
Click to expand...
Click to collapse
Auto-sign for signing on PC and Signapktic (from Market) for signing on the phone.
ckpv5 said:
Auto-sign for signing on PC and Signapktic (from Market) for signing on the phone.
Click to expand...
Click to collapse
Thanks for the answers, now going to try that all
Sent from nowhere
Search for "apk tool" here on xda and you'll have what you need for theming and signing and more.
via xda app
System apps are NEVER signed.
If you don't extract (just open in 7zip or winrar) you can just drag new images in. If prompted for compression level, Choose "store". When finished, simply close the file with the x.
Only if you want to change xml files, need you decompile
Sent from my HTC Desire using Tapatalk
rootSU said:
System apps are NEVER signed.
If you don't extract (just open in 7zip or winrar) you can just drag new images in. If prompted for compression level, Choose "store". When finished, simply close the file with the x.
Only if you want to change xml files, need you decompile
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Umm, I thought that I have to sign it with "platform" key...
BTW, which PNG is responsible for statusbar background? The closest one I found is "statusbar_bg_tile", 1x1 black image. I want to use gradient background, and have created one full background image and one 9-patch, but dunno what to do - simply replace statusbar_bg_tile with statusbar_bg/statusbar_bg.9 or also modify some xml? In statusbar.xml I can't find any reference to statusbar_bg_tile PNG.
Sent from nowhere

Adding pic to theme

Hi, i have a theme installed on my sgs 2 but have found a pic that i would like to add to my settings tab, heres what i have done, i took the zip file i am using and extracted framework-res.apk, i then decompiled apk and i have deleted the pic thats on my settings now and replaced it with the pic i would like to use, recompiled apk and then rezipped, however when i flashed it all seemed to go ok but phone doesnt get past the first splash screen on boot, just stays black, i am not in anyway trying to make my own theme just would really like this pick in settings tab, could someone help me as to where i have gone wrong!! Thanks in advance
sn0wman1 said:
Hi, i have a theme installed on my sgs 2 but have found a pic that i would like to add to my settings tab, heres what i have done, i took the zip file i am using and extracted framework-res.apk, i then decompiled apk and i have deleted the pic thats on my settings now and replaced it with the pic i would like to use, recompiled apk and then rezipped, however when i flashed it all seemed to go ok but phone doesnt get past the first splash screen on boot, just stays black, i am not in anyway trying to make my own theme just would really like this pick in settings tab, could someone help me as to where i have gone wrong!! Thanks in advance
Click to expand...
Click to collapse
54 views and no replies, can any one help, please!! :crying:
I assume the original image is actually in framework-res.apk?
If so, I suspect it's a decompiling/recompiling problem.
Also, if it's just a png or jpg you're replacing, there's no need to decompile - just drop the new image into the correct folder in the apk using 7-Zip.
Spannaa said:
I assume the original image is actually in framework-res.apk?
If so, I suspect it's a decompiling/recompiling problem.
Also, if it's just a png or jpg you're replacing, there's no need to decompile - just drop the new image into the correct folder in the apk using 7-Zip.
Click to expand...
Click to collapse
Hi, thanks for reply, basically i have just taken a pic from someoneone elses theme and swapped pic with that of the theme i am using so should be right format (right?) but how when i have extracted with 7zip how do i get it all back as .apk file... i used a program called formatter to do it first time!!
Don't extract it, make sure the image you want to replace is named the same and it isn't a .9.png...open the framework-res with 7zip (open archive) navigate to the necessary folder and drop your new png in. That should work
If you extract it you break the signature, that's why you're getting a bootloop.
Sent from my GT-I9100 using xda premium
sn0wman1 said:
Hi, thanks for reply, basically i have just taken a pic from someoneone elses theme and swapped pic with that of the theme i am using so should be right format (right?) but how when i have extracted with 7zip how do i get it all back as .apk file... i used a program called formatter to do it first time!!
Click to expand...
Click to collapse
Spannaa said:
I assume the original image is actually in framework-res.apk?
If so, I suspect it's a decompiling/recompiling problem.
Also, if it's just a png or jpg you're replacing, there's no need to decompile - just drop the new image into the correct folder in the apk using 7-Zip.
Click to expand...
Click to collapse
Thanks matey, just done itand it works great, didnt realise it was that easy...
EDIT: Also thanks to you m1keyb, you answered as i sent this post!! lol :good:
If the picture you're replacing is in the same apk and is the same format (png, jpg) and has the same name and is the same size (px x px) then it ought to be OK.
If the picture you want use is OK, open the apk with 7-Zip (don't unzip it), and simply drop the picture in the correct folder and it'll replace the picture that's already there.
Edit: sn0wman1 edited the post I was replying to and m1keyb replied too - lol, I'm slow!
Hey, you guys seem to know what you are talking about!!, is there a way to get a full image on my lockscreen instead of having to crop about a third of it.. Thanks again for your help
sn0wman1 said:
Hey, you guys seem to know what you are talking about!!, is there a way to get a full image on my lockscreen instead of having to crop about a third of it.. Thanks again for your help
Click to expand...
Click to collapse
resize the pic to same size as lockscreen:laugh:
Thanks matey, what size would that be?
SGS2 - 480px X 800px

Transparent Pulldown Bar like this, please HELP

Can somebody please help me make my pulldown bar on CodeNameAndroid just like this? It would be amazing if anybody could make a zip theme or flashable zip. The forum where I got this from has a download but it doesn't have the file for zip themer and it causes my UI to crash on boot up after flash. Stock or CNA.
I don't know how to make a ZT file or flashable zip, but I know which files need to be altered...it's not hard, you only have to change out two files in your SystemUI.apk. I'll type out an explanation if you want to try.
I'll try.
Sent from my Galaxy Nexus using xda
Sure. I hope this means I don't have to recompile or anything. I hope its just editing in photoshop.
warfexion said:
Sure. I hope this means I don't have to recompile or anything. I hope its just editing in photoshop.
Click to expand...
Click to collapse
Nah, for basic image changes you don't need even need to decompile/recompile anything.
You just have to pull your SystemUI.apk from system/app. You can do it either through adb or copy-paste to sdcard and then your PC using a file explorer app. Use this PNG I uploaded https://www.box.com/s/93whafwr36fzyijvkx86, and copy-paste it (use WinRAR or 7Zip) to the res/drawable-xhdpi folder of your SystemUI.apk. Push/copy-paste SystemUI.apk back to system/app, set permissions to rw-r-r, and then reboot. It should work.
As always though, have a nandroid handy just in case, or have your original SystemUI.apk ready if you need to push it back.
EDIT: Tried it just now to make sure it worked. Attached a pic if you want to see. Also...I can't tell from the pic you attached whether the top part where the date/time is is transparent as well. If you wanted that part transparent, use this PNG: https://www.box.com/s/hh5h8ptqpc8nojw8x292, replace it in SystemUI.apk using the exact same steps and that part will be the same transparent black as the rest.
dirtygoldfish said:
Nah, for basic image changes you don't need even need to decompile/recompile anything.
You just have to pull your SystemUI.apk from system/app. You can do it either through adb or copy-paste to sdcard and then your PC using a file explorer app. Use this PNG I uploaded https://www.box.com/s/93whafwr36fzyijvkx86, and copy-paste it (use WinRAR or 7Zip) to the res/drawable-xhdpi folder of your SystemUI.apk. Push/copy-paste SystemUI.apk back to system/app, set permissions to rw-r-r, and then reboot. It should work.
As always though, have a nandroid handy just in case, or have your original SystemUI.apk ready if you need to push it back.
EDIT: Tried it just now to make sure it worked. Attached a pic if you want to see. Also...I can't tell from the pic you attached whether the top part where the date/time is is transparent as well. If you wanted that part transparent, use this PNG: https://www.box.com/s/hh5h8ptqpc8nojw8x292, replace it in SystemUI.apk using the exact same steps and that part will be the same transparent black as the rest.
Click to expand...
Click to collapse
Thanks so much dude your awesome! IDK anything with android that isn't flashable ends up usually a mess in my hands so thanks and finally I don't have to stare at that ugly grey!
warfexion said:
Thanks so much dude your awesome! IDK anything with android that isn't flashable ends up usually a mess in my hands so thanks and finally I don't have to stare at that ugly grey!
Click to expand...
Click to collapse
Lol well that's what backups are for! And you're welcome, glad you got it sorted out.

[Q] air command themes

Are there any air command themes that work with the sm p600. I'm running [ROM]Hashcheck-Hybrid-v1[P600][BUCND1 4.4.2]FAST. I've tried flashing the zips from the note 3 forums with no luck.
sequence2469 said:
Are there any air command themes that work with the sm p600. I'm running [ROM]Hashcheck-Hybrid-v1[P600][BUCND1 4.4.2]FAST. I've tried flashing the zips from the note 3 forums with no luck.
Click to expand...
Click to collapse
You can edit them in framework.res apk with ninja morph. If you can wait till tomorrow I can post exactly how to do it if you want. I'm out right now and don't have my tablet. You can download ninja morph from play store and download the theme you want and I'll explain tommoro. It's very easy.
I tried to flash also but the note 3 has a different folder there in then ours so I think that's why they don't flash rite.
mikep2323 said:
You can edit them in framework.res apk with ninja morph. If you can wait till tomorrow I can post exactly how to do it if you want. I'm out right now and don't have my tablet. You can download ninja morph from play store and download the theme you want and I'll explain tommorow. It's very easy.
Click to expand...
Click to collapse
That would be great, I'm in no hurry. Thanks for your help I didn't think of trying to modify the apk.
You have to open ninja morph and click new project.
Then click on system /framework/then framework res.apk, it will extract the apk.
Next you have to go into a file explorer, I use es file explorer.Click on android themes folder then workspace/framework res/res/drawable Xhdpi.
Then in that folder you will find the air command files.There are 10 files in there you need to replace.
Now go to your downloads and extract the air command zip you want.It will put a folder in your downloads of the extracted zip.In the extracted folder keep clicking until you can't go into anymore folders.Ill attach a screen shot of it with the 10 files .
Now copy those 10 files into workspace/framework res/res/drawable Xhdpi. It will ask you to replace the ones you have in there, just click yes.
Now your good to go. Open ninja morph again , make sure it restarts the app.Click on finish projects and you'll see framework res apk.Click that and it compiles file again.It will ask a few questions.I don't remember what but you need to replace that file you changed so I think that is 1 question. I think the other one is if you want to zip align it.I click no. I would make a copy of your framework apk before you change just in case something goes wrong but it also makes a backup in the Android themes folder. If you need help feel free to pm me.
I attached screen shot of the minion one I use and a screen shot of what files you need to copy.
I also might have used astro file manager or root explorer to change the files. I definitely used es file explorer to extract the air command zip I used.
mikep2323 said:
I also might have used astro file manager or root explorer to change the files. I definitely used es file explorer to extract the air command zip I used.
Click to expand...
Click to collapse
Thanks much for all your help! I'm going to see what I come up with and post a screen shot if I end up with something cool.
sequence2469 said:
Thanks much for all your help! I'm going to see what I come up with and post a screen shot if I end up with something cool.
Click to expand...
Click to collapse
I was looking and if you download the one you want and go into the folder and get to drawable Xxhdpi and change to Xhdpi it might flash fine. I think because the double xx one is for note 3 and one X is for our tablet.Alls it can do is not work again.Ill yet tomorrow and see if it works.It would be a lot easier then doing what I explained.
mikep2323 said:
I was looking and if you download the one you want and go into the folder and get to drawable Xxhdpi and change to Xhdpi it might flash fine. I think because the double xx one is for note 3 and one X is for our tablet.Alls it can do is not work again.Ill yet tomorrow and see if it works.It would be a lot easier then doing what I explained.
Click to expand...
Click to collapse
I figured it out. I unzipped the theme and renamed the res folder to drawable-sw800dp-xhdpi, then zipped the META-INF & vrtheme folders up. Flashed and it works perfect! Tried a couple different themes from here http://forum.xda-developers.com/showthread.php?t=2628481 they all worked.
Thanks for all your help!
sequence2469 said:
I figured it out. I unzipped the theme and renamed the res folder to drawable-sw800dp-xhdpi, then zipped the META-INF & vrtheme folders up. Flashed and it works perfect! Tried a couple different themes from here http://forum.xda-developers.com/showthread.php?t=2628481 they all worked.
Thanks for all your help!
Click to expand...
Click to collapse
Did you rename the res\drawable-xxhdpi? I am on Kitkat and unable to make it work. At best, I get the background fine and the icons displaced to the right.
arbit12 said:
Did you rename the res\drawable-xxhdpi? I am on Kitkat and unable to make it work. At best, I get the background fine and the icons displaced to the right.
Click to expand...
Click to collapse
yes what i did was download a themed aircommand zip from the link to the other thread then unzipped it and renamed the folder then zipped back up and flashed. I your trying to theme one yourself you could download a zipped theme and look to see if there's a file your missing or need to change mabey.
Finally working!
sequence2469 said:
yes what i did was download a themed aircommand zip from the link to the other thread then unzipped it and renamed the folder then zipped back up and flashed. I your trying to theme one yourself you could download a zipped theme and look to see if there's a file your missing or need to change mabey.
Click to expand...
Click to collapse
Thanks. The missing links were two.
First, renaming to sw800dp-xhdpi instead of xhdpi. Maybe the kitkat upgrade changed the folder used, as the earlier posts all mentioned it worked fine with xhdpi.
Second, I had to resize some of the images from the themes by sibinn ( http://forum.xda-developers.com/showthread.php?p=49861789#post49861789) The original size is optimised for Note 3 and also works fine on Note 2. In sw800dp folder though, the image sizes are slightly different. After resising, it worked perfectly.

Categories

Resources