After many brainstorming and test and probably about 10 softbricks, i finnaly Fixed the Shift bug! For those who dont know what this Shift bug is, basically when you theme your apk and recompile and flash it back, it shifts to the left like this.
{
"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"
}
Now this is a fix I have found! There will be two soultions below.
Solution 1: For anyone eles running different devices
Basically, open your orignal apk with winrar. Go to res-> layout folder then extract status_bar_expanded.xml and status_bar_expaneded_header.xml and put it the layout folder
After themeing and modding your SystemUI apk, recompile it. After recompiling your themed apk, open your new apk with winrar and Go to res->layout and Now drag those two xmls you extracted from your orignal apk into your themed one then hit ok. Now flash the themed apk to your device!
Solution 2: For people who own T800 or T805 Tab S.
Download this zip https://www.androidfilehost.com/?fid=24052804347769675
Open your themed SystemUI with winrar, navigate to res-> layout and drag the two xmls into layout from the zip you downloaded.
Done!
Hope this helps!
Sent from my SM-T800 using Tapatalk
Screenshots of the fix working.
Sent from my SM-T800 using Tapatalk
Related
I've been theming my own APKs for a while just doing png edits, now I'm trying to do xml edits with notepad++ (after decompiling the apk with apkmanager), and every time I open up the xml it looks like this. Why?
{
"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"
}
that really doesn't look like it compiled correctly, i use a program called xml marker for my edits. if it was decompiled right none of those nulls would be there
thoughtlesskyle said:
that really doesn't look like it compiled correctly, i use a program called xml marker for my edits. if it was decompiled right none of those nulls would be there
Click to expand...
Click to collapse
Hm, how would I decompile it correctly? I've tried extracting the apk with 7zip and apkmanager and this is what I always get. Is there something else I need to do?
tjb3401 said:
Hm, how would I decompile it correctly? I've tried extracting the apk with 7zip and apkmanager and this is what I always get. Is there something else I need to do?
Click to expand...
Click to collapse
What apk is it, and are you using option 9 to decompile or are you just pulling the files out with 7zip
Sent from my PG86100 using XDA App
This is something I created because I got tired of command line interfaces. This is very basic and rough right now. This all went through my initial testing of every tab.
Any and all suggestions welcome
DOWNLOAD
WARNINGS
---------------
--Do not use batch recompile with system signed apks. Does not resign.
--Set framework files in first tab before using batch tabs
Prerequisites
---------------
--Java JDK installed and in PATH
Features
-------------
--Single Decompile
--Single Recompile
--Batch Decompile
--Batch Recompile
--Many more features to come...
{
"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"
}
Great job in this
Sent for the EVO Classic.
Great to see you back at it man....I'm gonna have to try this!
Sent from my HTC Evo 3D using Tapatalk!
would u give me direct link from mediafire,please...
thankz before
nice apk gj
hi guys...please help me to solve my problem HERE,my thumb just for u who can solving my problem
Dead link
Download link is dead
Anyone interested in porting this theme in blue or green to UnNamed 2.2.1.
http://forum.xda-developers.com/showthread.php?t=1138692
I can help if you give me clear instructions on what to do, simple stuff though.
{
"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"
}
Awesome theme! Hope somebody helps you out!
Sent from my GT-I9100 using XDA App
Have you tried applying the theme as is?
All the files for a theme are in one of three files: framework-res.apk, twframework-res.apk, and systemui.apk. Most themes will use all three to complete the theme.
You can change an apk to zip, and open them. Look for the hdpi folder. All the icons are in there. You can take the icons from one, and put them into the file from unnamed. (Either find them on your phone, or use the ones in the unnamed install zip) Then switch it back to apk from zip and use the zip from theme to install it using cwm.
I don't remember the exact folder locations off hand, but if you search for the folder names you should find them.
There is probably a guide somewhere. I know the captivate theme forum had a good guide. Also, the theme forum probably has more users with experience porting themes.
Sent from my Galaxy S II (i777)
hi everyone, this time i want to share my collections of modified settings.apk for ics rooted stock rom.
How to install
-Download and Copy Settings.apk to your sd card.
-Then use rootexplorer and copy it to /system/app.
-Overwrite existing apps and set permission to 644.
-Reboot and enjoy
Screen shoots
3D icons settings.apk
{
"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"
}
Samsung icons settings.apk
NXT settings.apk
I hope that settings have cpu control and wifi based location.
Sent from my SK17i using xda premium
Sory my friend, i'm not a dev. I'm just noob. All the things that i can do now is just change the icons. :silly:
petazu said:
Sory my friend, i'm not a dev. I'm just noob. All the things that i can do now is just change the icons. :silly:
Click to expand...
Click to collapse
Go to xml folder and modify the "settings_header.xml" file, there you can attach any intent to call third party apps.
Is this the stock settings apk?
It's only 3+MB but the not moded is 8+MB.
I downloaded the nxt settings and it's working,but the MBE2 enabler/disabler option is missing and there is the aosp style slider,which is not working.
Please fix it.
NWM,i got it!
when nothing goes right...
go left.
So I've wanted to make centered clock on StatusBar for rom I'm using.
It works fine, but the problem is that apktool gives me "9.png malformed" errors.
It would be right if I had edited them before, but their are rom ones (its not stock as rom is modified).
Because of that I don't know what to do. I'm not into 9.png editing, and not sure what to do with it.
I've read that it should have 1px borders, but even "clean" 9.pngs from SystemUI have 0px (or it looks like this in GIMP and IrfanView) upper border. It doesn't matter if I open decompiled one or open .apk using 7zip and than open 9.png from inside of it.
Because of that I can stay with clock on the right or have centered clock with broken buttons (it's recompiling fine after deleting .9 from .9.png).
That's one of the buttons I found that is broken (clear all notification):
{
"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"
}
Without any modifications (made by me) it looks fine, so this 9.pngs are not broken, only decompiling makes them like this.
Rom is Gin2KitKat (stock Xperia 2.3.4 base).
Device is Xperia Play. If DPI changes something,
I set it to 192 (stock is 240).
I'm using Advanced Apktool to decompile and recompile 4.1.0, which I think has one of RC verisons of Apktool 2.0.0.