yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S Themes and Apps] 3DSammy:
Is there a chance you are decompiling a SystemUI.apk from a AOSP built ROM rather than the SystemUI.apk of a pure stock firmware? I rooted my SM-T800 without tripping Knox and flashed a Samsung stock Lollipop firmware with FlashFire. Other than being rooted I'm on Samsung's pure stock firmware.

I tried an XP build and all three environments had identical errors. I'll follow this guess by getting some other apk likely from one of my Nexus devices to see if I can decompile any apk as I need some way of discerning my OS/apktool/Java installs versus something Samsung is doing.

If you have the time please see if you can decompile the SystemUI.zip I have attached to this post. I renamed it with the extension zip so I could upload it. Please rename it to apk for your test.

Thanks
[Galaxy Tab S Themes and Apps] 3DSammy:
Nice theory but it just made things a bit more confusing. I tried to decompile two different SystemUI.apk files. I tried your posted themed one and a Nexus 5 stock 5.1.1 SystemUI. The one you themed failed with the same error that I've been having but the Nexus 5 stock apk decompiled with no errors and appear to have worked as expected. I extracted your themed SystemUI.apk from your flash file.

I still would appreciate you trying to decompile the apk I uploaded in my previous post.

Thanks
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
I just decompile!ed them fine. Did you perhaps install the framework apk in apktool?
[Galaxy Tab S Themes and Apps] 3DSammy:
Yes, stupid me I never installed the framework. Just did and all is right with the world. Sorry for the chatter.

Thanks
[Galaxy Tab S Themes and Apps] 3DSammy:
DUHAsianSKILLZ, I just want to confirm, which framework(s) that I should be using with apktool, "framework-res.apk" or "twframework-res.apk" or both?

I was trying to modify notifications and TW settings following the various guides in this thread and my first theme mostly worked for notifications but caused TW settings to force close. I've now recovered but wanted to check if I was making an obvious mistake.

I had only added the "framework-res.apk" to the apktool.

Thanks
[Galaxy Tab S Themes and Apps] Richcar:
Try this.

After you recompile the apk use 7-zip to 0pen archive and delete the META-INF and AndroidManifest.xml and replace it with the original file from the one in 2-in folder
[Galaxy Tab S Themes and Apps] 3DSammy:
DUHAsianSKILLZ,

I've been theming SecSettings and SystemUI by following your guide for stock 5.0.2 B0E3. So far I'm happy with the results but no matter what I try framework-res causes big issues as I have already mentioned in a prior post. I tried rebuilding the apk after making no changes and coping the original META-INF and AndroidManifest.xml but it still causes Android FCs.

The only reason I want to change framework-res is because I want notifications to be black with white text and the text value is in framework-res. I have searched high and low for a way around this issue but have only seen the META-INF and AndroidManifest.xml replacement trick which is not working for me.

You mentioned that you stay away from changing framework-res but have you every successfully rebuilt a version which did not have issues? If so what other workarounds/tricks did you use?

Right now I have only changed the notification background color to a gray which is tolerable in SystemUI.

Thanks again for this great guide. If I am please with my results I'll post my derivative works something in the future.
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Hi, [MENTION=3494999]Richcar[/MENTION] seems to know how to edit framework and get it working. Maybe you can pm him on some help on it since i dont do any framework things.

It seems that it may of didnt working for you but I have no idea why it fc. Sorry
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Btw, i found a good website reguarding material themeing. It shows which text does what and bla bla bla is what. I myself use It incase i forget https://developer.xamarin.com/guides/android/user_interface/material_theme/

Makes things alot easier to find what does what. Hope this helps!
[Galaxy Tab S Themes and Apps] 3DSammy:
As you may have seen from my other posts I've tried your suggestion but a rebuilt framework-res.apk still causes UI issues severe enough that I cannot backout as Flashfire or any other full screen app aborts when opened. Your comments seemed to indicate that you have successfully rebuilt framework-res. Oddly enough a pop-up window app like the power menu will open and work.

If you have been successful rebuilding framework-res:

Do you have any additional suggestions?

What ROM did you rebuild it for? I'm on stock 5.0.2 B0E3 but B0E2 had the same issue.

What decompile/rebuild environment did you use? I'm on Ubuntu 14.04 and only use apktool from a terminal session (command line).

Which framework did you add to apktool and rebuild with (-t)? (framework-res or twframework-res)

I am having success modifying both SystemUI and SecSettings apks without manually replacing META-INF and AndroidManifest.xml, which must mean my dev environment is close to working for framework-res.

Here is the test steps I performed. In this test I did not change anything in framework-res.apk just decompiled and rebuilt without any errors.

> apktool if framework-res.apk -t tabs_B0E3

> apktool d framework-res.apk -t tabs_B0E3

> apktool b framework-res -co framework-res.apk -t tabs_B0E3

At this point I opened the framework-res.apk and replaced META-INF and AndroidManifest.xml from the originals then flashed the apk on my Tab S using FlashFire. I'm rooted without tripping KNOX so cannot use a custom recovery, such as TWRP, but Flashfire works as well except when the UI is broken like when framework-res.apk is not working.

Any help you can provide would be greatly appreciated. I choose to post rather than PM my request in hopes a reply would help other wood-be themers.
[Galaxy Tab S Themes and Apps] Richcar:
Yes I rebuild the app without problem. I don't know why it's not working for you did you sign the app after recompiling? I am using advance apktool the same one posted in the op and follow the steps I mention with success may be you can post your framework-res apk and I can give it a try
[Galaxy Tab S Themes and Apps] 3DSammy:
Thanks for the quick reply. As I'm using Linux I only have the linux version of apktool which is all command line. So far I've not signed any of the apks including the SystemUI and SecSecurity apks that have worked. I do have a Win7 VM that I use for ODIN and KIES but after I got the other two apk rebuilds working under Linux I do not use the VM for apk development.

I appreciate your offer to try my rebuilt framework-res.apk, unfortunately the XDA limit is 20MB for an apk and its 27MB.

I'll look into signing an apk under Linux. I had thought that apktool did that as part of the rebuild process. Unfortunately without a custom recovery each failed framework-res,apk test costs me 2-3hrs rebuilding my device despite having a full FlashFire backup. I'll probably retry but this time using the Win7 VM and the same tools you used plus making sure I resign the apk.

At least knowing someone had a success with the Tab S framework-res.apk makes me confident I'll be able to get it to work at some point. All this hassle just to change three text color values is crazy. Hopefully Android-M will delivery on the promise of an OS level theme engine. I simply cannot stand the Material Designs over use of "snowblind" white backgrounds.

Thanks again. I'll post if I make any progress.
[Galaxy Tab S Themes and Apps] Richcar:
[MENTION=4056970]3DSammy[/MENTION] how are you pushing the app to your device after you rebuild it
[Galaxy Tab S Themes and Apps] 3DSammy:
I'm flashing framework-res.apk using FlashFire. I added the apk to the flash file template in this threads OP. Since your last post I found out how to sign and zip align the rebuilt apk in Linux. I've done that but will not give the new framework-res.apk a try until I have enough time to do a device rebuild if it fails, which I'll do tomorrow. The flash file template's updater-script does not change the apk's permissions but that did not effect the other two apks I've flashed with the same flash file.

Do you do a zip align the your rebuilt signed framework-res.apk or just sign it?

> zipalign -f -v 4 signed.apk zipaligned_signed.apk

Note: -v 4 provides 32-bit alignment

Thanks for your continued help.
[Galaxy Tab S Themes and Apps] Richcar:
Ok let'ssee what happens tomorrow when you try that if it doesn't work then you mite have to open your Rom zip and charge the framework apk rezip and flash
[Galaxy Tab S Themes and Apps] 3DSammy:
Update: After recovering my device I used Advanced Apktool in my WIn7 VM to decompile/rebuilt/sign/zip align framework-res.apk. Right after the rebuild I copied the original META-INF and AndroidManifest.xml, but after flashing the apk I had the exact same issues as the Linux one. Right now I'm stumped and will let it alone until I can think of a new angle. I have not looked at the Advanced Apktool logs yet but will do shortly.

Well same issue as before, only pop-up apps (e.g. power menu) start without a pop-up message saying they failed. I used a signed and zip aligned apk with the replaced META-INF and AndroidManifest.xml.

After that I tried booting into recovery and wiping data/cache/factory-reset but to no avail. I even tried using Samsung's recovery to installing a rescue flash .zip I had made which contained the original famework-res.apk. That rescue flash zip works when flashed using FlashFire. I did this to avoid the long rebuild. Oh well I knew this was a possibility and I have a method of recovering it just takes a long time.

The only other thing I can think of is to use my Win7 VM and decompile/rebuild/sign the framework.apk using the same tools you did rather than in Linux. Did you also perform a zip align after signing the apk?

I even considered just loosing my warranty and installing TWRP to make recovering (nandoid backup) that much faster but my device is only 2 months old today and the framework-res.apk theme changes are so minor. I'll give it one more attempt but knowing someone else had success will likely drive me to make attempts until I get it to work or am driven to break my warranty.

Here is a pastbin "log" of my rebuild/sign/zip align process if your interested.
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Hmm framework res is a hard thing. ykkfive also told me he did some mods to framework res as well so I am unsure about it ATM.

Anyway, I have rewritten and updated my post on how to theme settings apk. It's called How to theme settings apk version 2.0 (its right under the old guide on how to theme settings.) I found out that instead of changing things to theme.material in styles.XML in which Google uses to invert apps in LL and Android M doesn't look so well at least on touchwiz. So now it's as simple as copying and pasting, and changing color codes! Basically if you themed the settings apk following my first guide, your going to have to start over as that one was pretty noobish. It's still being worked on as I have to find each part. Anyway now you can theme the battery graph with the new updated guide.
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Deleted temporary. Needs some fixing
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Alright i tried to theme framework res (few color code changes) and recompiled with original signature. It did indeed flash and booted fine. But then gave me flashbar service has stopped after a minute. Tried richcars method too and same thing. Im guessing It has to be apktool or same thing causing this.
[Galaxy Tab S Themes and Apps] 3DSammy:
If you discover what's the issue please post as I'd love to know. Recently the method I need to recover from a messed up framework-res became easier so I'm more willing to experiment.
[Galaxy Tab S Themes and Apps] deluxe_mafia:
Hey, could you put your modified SecSettings.apk black theme? :)
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Alright I am now using this apktool which should now fix pulldown glitches and layout shifts. http://xdaforums.com/showthread.php?p=62801825

I spent a week on the issue find the cause and it was a problem with layout_gravity in a few xmls. I reported the bug to github and it turns out it was an appt issue. Ibotbeaches fixed this issue in the new commits so big thanks to him!
[Galaxy Tab S Themes and Apps] cliffey501:
Not sure what Im doing wrong

Im trying to change my notifications background to black and the notification text to white. I followed the guide that was posted in your OP http://xdaforums.com/show...php?p=59725314

I decompiled the sysemui.apk using advanced apktool and edited the colors.xml files in the systemui/res/values folder. I added this.

<color name="notification_legacy_background_color">#ff000000</color>

<color name="notification_material_background_color">#ff000000</color>

Recompiled and zipalined with advanced apktool with no errors. I then use 7zip to take the resoursec.arc from the newly compiled apk and put it in the original apk.

Transfer original apk to phone using airdroid. Move apk to system folder using ef file explore and set permissions. Move apk to systemui folder and overwrite original apk.

Everything freezes briefly and then starts normally. Reboot phone. Now everything seems to have went well. no errors or force closes however no changes have been made. Notification backgrounds are still white.

Can anyone tell me what Im doing wrong?
[Galaxy Tab S Themes and Apps] 3DSammy:
The notification backgrounds are in the SystemUI.apk but the text colors are in the framework-res.apk, unfortunitely framework-res.apk, is difficult to get working once you recompile it. I only know of one Dev in the S1 forum to have success. Every time I tried I had to recover from backup as my UI always got into a FC loop. In the end I settled for black text and a light Gray background. I've tried on both Linux and windows 7 but the results were identical.

You will find on different Samsung devices that you need to recompile using some framework-res.apk original files but that solution never worked for me.
[Galaxy Tab S Themes and Apps] cliffey501:
I actually had no trouble with the framework res.apk I change the text no problems but the notification backgrounds would not change. I found an apk in the system/overlay/vendor folder called theme.apk it had the same line of code that was listed in the systemui.apk so I changed it there and it worked however it only affected the notification background in the notification pulldown and not the notifications on the lockscreen. Thanks for your reply.
[Galaxy Tab S Themes and Apps] 3DSammy:
What OS and tools are you using to decompile/modify/recompile framework-res.apk? Also I never changed the lock screen notifications as I don't use a lockscreen on my tablet.
[Galaxy Tab S Themes and Apps] cliffey501:
I'm on windows 8 using advanced apktool for de/recompiling and notepad ++ for edits.

I can successfully edit and install both the systemui and framework res but no changes are applied. I can even decompile my newly installed framework-res or systemui and see the changes I've made but no changes are made on the device. I cant figure it out.

I was reading somewhere about systemui overlays and how that's the new way of themeing. I have an overlay folder in my system folder with a theme.apk in it. I decompiled it and made some changes there and those changes were applied which leads me to believe that this theme.apk is somehow overriding the settings in the systemui.apk

I've even tried flashing back to my stock ROM and editing systemui there and I get no errors while de/recompiling. But the end result is the same no changes made.

I don't know what else to try.
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Cliffey, do you own the Tab S? Because this issue only affects tablets with not being able to edit framework res. I reported the bug regarding layouts and it was later fixed since I found it it was due to layout gravity in a few xmls.

As for Framework res crash, i be been working with tamira (Phoenix rom dev) and he found out it was due to bad references. I could perhaps ask him to make a modded framework res apk so it won't crash.

Also, we don't have theme.apk or Layers supported for Tablets. Only for phones
[Galaxy Tab S Themes and Apps] cliffey501:
I have a galaxy s5 g900w8 running xtrestolite v2.2 . Although this issue happens even when running stock 5.0 lollipop as well. No changes made after I put modified systemui or framework res on phone. Everything runs fine but no changes applied to phone.
[Galaxy Tab S Themes and Apps] :
I'm trying to turn the 5.1.1 Setting.apk from white to black background

Can you tell me what folder and what line I need to go into to make the change
[Galaxy Tab S Themes and Apps] 3DSammy:
I sure hope Samsung provides or some Dev provides Android Marshmallow firmware for the Tab S series. As much as it would be important for the OS improvements it also should provide a much simpler way to theme our devices.

I recently applied the stock Marshmallow firmware to my Nexus 5 then added the "Layers" theme manager and a Marshmallow compliant Layers theme (UI Inverse) and it worked like a charm. With Google's failure to delivery a dark theme with Marshmallow they should simply buy the Layers theme manager and let the community create the themes which are already distributed through the Playstore.

One feature I really like is the ability to mix Layers themes. For instance UI Inverse does not theme YouTube but Pitch Black does. I applied UI Inverse overall then selectively added YouTube from Pitch Black and it worked perfectly.

If Google was in a buying mood they should also buy Viper4Android as it simply blows away their own sound processing package. I do not know why Google or large OEMs like Samsung are not picking off the best enhancements the various XDA Devs are creating. Seems a lot simpler than the nonsense they seems to invest money in.
[Galaxy Tab S Themes and Apps] Rick1684:
Delete
[Galaxy Tab S Themes and Apps] Rick1684:
Can someone tell me where the task manager apk is located? Thanks
[Galaxy Tab S Themes and Apps] Gayos24:
How did you change the slider color ?
[Galaxy Tab S Themes and Apps] phonglhie:
ive try to theme my systemui, i decompile the systemui.apk but i can't find png file extension, the file was qmg, my device was samsung galaxy e700h lolipop 5.1.1,
[Galaxy Tab S Themes and Apps] XDAMaxe:
Try to replace the qng with a png (same name)

And: don't quote a whole page nor the op
[Galaxy Tab S Themes and Apps] KevinHannibal:
Touchwiz folder color

Hi to all, I've searched all over XDA without success so I decided to ask here hope anyone can help me.

I would change the folders color in touchwiz, already tried to change png images in drawable... folder without success so I think it's an smali related things , I'm not good with smali.

Here are the screenshot to explain better, I would change the background colors.

Thanks.
[Galaxy Tab S Themes and Apps] Abdullaharis:
Thanks

Great Work:good::good::good:
[Galaxy Tab S Themes and Apps] dedichthui:
How to custom display 3x3 icons in folders of TW2 5.0.1 ? Thank you.
[Galaxy Tab S Q&A, Help & Troubleshooting] QA Bot:
Q&A for Official lollipop for t700

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for Official lollipop for t700. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Galaxy Tab S Q&A, Help & Troubleshooting] fikryan:
Hopefully Indonesia soon
[Galaxy Tab S Q&A, Help & Troubleshooting] maxq1:
if i upgrade to the LP bootloader (then flash a LP TW-based, no-knox rom) and later decide to go back to KK, can i simply flash a KK bootloader then restore a KK backup/nandroid? or would odin prevent me from doing so?
[Galaxy Tab S Q&A, Help & Troubleshooting] ashyx:
You don't need to flash a kk boot loader, lp bootloader is backwards compatible with kk.

Just flash your nandroid.
[Galaxy Tab S Q&A, Help & Troubleshooting] lucaurso:
I recently flashed the Swiss Lollipop Rom and I want to downgrade to KK because the wifi is very unstable.

I'm very new to Samsung world (including Kies, odin) so I would like to have a little clarification.

My tablet was a UK rom with CSC BTU, then I flashed swiss lollipop (CSC BOC).

Is it ok if I flash this file http://www.sammobile.com/firmwares/download/43720/T700XXU1ANL1_T700BTU1ANL1_BTU/ with odin?

Do i need to flash something else? (bootloader?)
[Galaxy Tab S Q&A, Help & Troubleshooting] ashyx:
That will be fine. No need to mess with bootloader, though the Rom will already contain the bootloader.

I
[Galaxy Tab S Q&A, Help & Troubleshooting] MrHomebrew:
Galaxy Tab S 8.4 Lollipop update demonstration: https://youtu.be/8Hw9QLOEgOM
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] silverarrow66:
hi there! I'm kind of new here so bare with me please!

so I recently rooted my Samsung Galaxy Note 2014 edition, and immediately went in and started messing around with the boot animations,I went in and accidentally got rid of the shutdown.qmg file but I thought I found a replacement one on this http://xdaforums.com/showthread.php?t=1696903 form. unfortunately, it did not work and now my tablet refuses to shutdown or restart.every time I attempt to shutdown or restart it gives me a black screen for about 30 seconds before turning back on and going to the lock screen. it would be great if I could shut down my tablet again without having to reset the whole thing.

Thanks!
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] mikep2323:
Not sure what the problem is but what i would do is try to flash this tab s boot animation here. This is the one i use for my note.I do think i had this problem before and i couldnt figure out what is was and had to flash my rom over again. It wont hurt to try to flash this as it wont make anything worse.

http://xdaforums.com/showthread.php?t=2779982
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] Sicarioebreo:
Try go to each of the qmg files and change their permissions or all read write and execute. I had the same problem
[General Topics] MetalUpYourAss:
Hi guys !

I have :

- wm6 rom

- qtek9100

- Windows Vista Business

- Outlook 2007

No way to sync with my computer. Everything works fine but the contact/mail/calendar. I can browse my phone, sync photos, music and even Microsoft OneNote data.

WMDC simply says that Outlook has not been installed while I'm being using it everyday and even while I was trying to sync.

I heared somewhere that I had to install Outlook before WMDC, which I did, but no success.

Can you guys help me please, this thing is driving me nuts !
[General Topics] MetalUpYourAss:
Looks like i'm the only one facing this problem, am I ? :)

I taught about something today. I have groupwise that is running on the same computer. Do you guys think that might be related ?

Thanks.
[Nexus 9 Q&A, Help & Troubleshooting] Hendrycks:
Hey, so I'm planning on going out to Best Buy tomorrow and grabbing a Nexus 9. I was wondering what serial number or anything else to look for on the box to make sure it isn't a Nexus 9 that's been sitting behind the glass for months? I've heard the latest iterations have a lot less light bleed, etc and I'd like to grab one of those the first try!

Also what's a good case? Preferably would be a smart cover type like the iPad Mini has but better than the horrible magic cover. I don't really want one that covers the back of the tablet as the soft touch is a big part of why I like the N9.

Thanks!