[MOD]Quicksettings 4.1.2 [Development] - Galaxy Note II Themes and Apps

Hey guys,its been alot time since i've been here had to take some time off due to personal reasons.Sorry i didnt reply to all of your messages about some of my mods.
So i was fed up as the s3 got the 4.1.2 update before us,so i started to port the quicksettings feature for our galaxy note2.
**Logs**
-SystemUI is now working for Note2,you can notice that in the toggles panel there is the multi window feature which can be turned on and off.
(trying to edit settings.apk but i seem to be unsuccesful,also tried to just copy settings.apk from s3 to enable editing of quicksettings but force closes..so am still trying to figure that part out and how the whole process works)
Uploading systemUI.apk for testing.. already tested on my note2 with LJA and works!

will add notification panel settings manually in settings apk need someone to decomplie LJA Settings apk for me,PM me if anyone can help i keep getting error when decompiling apk,seem to be a problem with my apktool.
Cheers

Related

[Q] Need help tweaking DeskClock - Changes not applying

Hi,
I'm trying to modify the ICS deskclock app for my device so that it simulates being touched when the screensaver mode starts. (if you touch the screen it dims the backlight a lot, and darkens the text).
I have some Android devices on 24x7 and the screens can't power off, so I need to dim the backlight down when the screensaver mode kicks in (deskclock is launched at idle instead of lock screen).
I've got the DeskClock source used on my device and have modified DeskClock.java by adding 'doDim(true);' at the start of 'Private void saveScreen()'
After compiling I got the APK but my device wouldn't load it (reported signature mis-match) so I used the .odex from the original APK not the one with my new package - now the modded APK installed.
But when I launch nothing seems to have changed - I re-compiled after changing the screensaver timeout value in DeskClock.java, but again it doesn't seem to be any different..
Is this because I'm using the original .odex ?
If so, how can I re-create an odex file to match the framework on my device for the new APK? (if I use the odex file generated by compiling the entire ROM is says something like the policy framework signature does not match?!)
If not, any ideas why nothing is changing? (I have no real experience of Java!)
Many Thanks!

[Q] Trying to modify 4.0.4 notification screen - Don't know names of items

I have a Verizon LG Lucid with stock 4.0.4 on it. Here:imgur.com/Igb4l you can see my notification screen with a nice red box drawn around the items I would like to disable. However, before I can disable such items I need to know what they are called. I have tried every combination of words I can think of to google search but not no avail.
So here's what I need to know:
1. What are these items called?
2. Are they contained within the software of LG, Verizon, or stock Android?
3. Where would be a good topic to begin researching now that I know what's what?
Edit: I think the key here lies within systemUI.apk. I will investigate that.
Edit: I learned a lot about APK's and modifying them. Currently all I've been able to do is make the status bar disappear. Maybe it isn't actually in systemui...
Edit: Success! I finally got the wifi notification bar to "go away" by setting its height to 0.0 in SystemUI>res>layout>wifi_onetouch_layout.xml as seen in a thread about hiding the music player. A few problems I ran into: I had to switch the aapt that comes with apktool with aapt from the android SDK to build without errors. After it was built I had to copy META -INF and AndroidManifest from the vanilla SystemUI.apk then zipalign it. I used a root file manager on the phone to move and rename everything.
Here's a nice screenshot of my progress: imgur.com/YA7bu

Help with Clear all recent button mod

Hello there,
I've been trying to add this Clear all recent button mod to jwr66y..sadly i found that i have to do some changes in java level, I have a slow internet so i cant download the source for compiling a single apk...can some one tell me how to get this done in smali level :crying:

[MOD] (DEPRECATED) Floating Multi Windows (Mega 6.3 and 5.8) [ROOT][4.2.2]

This thread is now deprecated, look for the all new 5 layouts Floating Multi Windows mod here:
http://forum.xda-developers.com/gal...-floating-multi-windows-t2820366/post54240351
What about minimizable, maximizable, resizable floating multi windows on your Mega?
Interested?
DISCLAIMER
I'm not responsible for anything that may happen, your Mega, your responsability . The mod works fine on mine but one never knows, so make sure you have a Nandroid backup in case.
WHERE ARE THE UPDATES?
If you had already installed the previous version (s) just scroll down until the update chapters by the end of this post...
MEGA 5.8 OWNERS
This mod has been tested on Mega 6.3 but it should work as well on Mega 5.8.
Follow the instructions, but DO NOT flash the Floating_Multi_Windows_I9200.zip since it's for the Mega 6.3 only.
If you want the full version on your Mega 5.8, upload your androidpolicy.jar and I'll mod it.
REQUIREMENTS
A rooted Mega I9200 or I9205 on JB 4.2.2, with a custom recovery (either CWM, or TWRP, or whatever) installed.
It works on both odexed and deodexed Roms, but odexed Roms will allow less features. It has been tested on XXUAMEE and I can't tell for sure whether it works on other Roms or not, but my guess is that it does. Please try and report (but don't forget to make a backup beforehands):silly:
MEGA 6.3 ON DEODEXED MJ2
DO NOT flash the Floating_Multi_Windows_I9200.zip attached here cuz it's not compatible with MJ2. Go to post #13, I've attached a MJ2 version there (it has been tested and it works, see post #14).
INSTALLATION
Using your favorite root browser navigate to /system/etc/permissions folder and find com.sec.feature.multiwindow.phone.xml.
Rename it com.sec.feature.multiwindow.phone.xml.bak (do not delete it, in case you want to revert back to static stock multi windows).
That's it for people on an odexed Rom, reboot. Now when you open an app you see an icon at the top right or at the top bottom, press it, the app switches to floating window view (I'll explain everything in a minute, let me finish this paragraph first).
For people on a deodexed Rom, flash in recovery the attached zip (if you are running MJ2 don't flash the zip attached here but the one in post #13), wipe cache and dalvik cache, reboot.
HOW DOES IT WORK?
As said above, now when you open an app you see an icon that enables you to switch to floating mode. In floating mode you see on the top bar a close, a maximize and a pin button, plus a minimize icon (for deodexed Roms only, the difference between odexed and deodexed Roms is that deodexed Roms get on top of the other features a minimize icon and a double tap feature while in floating mode).
The close and maximize icons speak by themselves. The pin button, press it, it becomes green and enables you to keep the floating window (s) allways on screen. With the pin button activated you can resize windows from the bottom, the left and the right.
Use the space between the pin and the other icons to drag and move the window to wherever it pleases you.
While in floating mode you can press the maximize icon, or double tap the center of the bar (deodexed Roms only), to get the window back to full screen mode.The minimize icon (deodexed Roms only) shrinks the window to a bar like on a computer.
Depending on your phone settings the Flash Bar may or may not work. If it still works then you can use it to launch apps directly in floating mode, and you don't need to have the pin activated to be able to rezise windows. What makes it work or not? Good question, when I first set up this mod on my phone it worked, but at one point it stopped and never came back. I have to investigate and well, you are free to investigate too, any help is highly appreciated...
Anyway, with or without Flash Bar you can have as many Floating Windows as you want, cool...:good:
YOU WANT TO GO BACK TO THE STOCK STATIC MULTI WINDOWS VIEWS?
No worries, just delete the .bak in the com.sec.feature.multiwindow.phone.xml and reboot. If you flashed the zip don't bother, it won't harm your phone since the editing I made doesn't work when com.sec.feature.multiwindow.phone.xml is active.
NOT ALL YOUR APPS DISPLAY IN FLOATING MODE?
The latest update (7 JULY 2014) takes care of that, just keep on reading
BUGS
1-When one changes screen orientation the floating windows are back to full screen size.
Solution:
change your phone's DPI. I changed mine to 195 and the bug is gone. Don't go below 193 as the systemui doesn't like it and would force close everytime the orientation changes.
2-Some apps that are natively multi windows enabled don't display nicely (they show a huge floating window). To tame them, one has to decompile the app, open res/values/dimens.xml and edit the app default and minimum sizes to have them to look as follows:
<dimen name="app_defaultsize_w">300.0dip</dimen>
<dimen name="app_defaultsize_h">200.0dip</dimen>
<dimen name="app_minimumsize_w">300.0dip</dimen>
<dimen name="app_minimumsize_h">200.0dip</dimen>
300 and 200 are the values I use but of course you can use other values that suit you better. The default size means the size the app has when it's opened in floating mode, and the minimum size means the smallest size you can resize/shrink it.
3-When an apk is minimized as a bar, if one opens a new apk and makes it float the first mimized apk has disappeared. It doesn't happen if two or more apks are open in floating mode and then minimized/maximized (I mean, in that case one can swith between minimize/maximize without loosing the other minimized apks), it happens only if a new apk is opened while one or more are minimized. I don't know if I explained it clearly but play a bit with the mod and you'll see what I mean...
Edit: 11 dec update (see below) more or less fixed this bug.
4-You tell me:cyclops:
UPDATE 11 DEC (Tested on deodexed I9200, but it should work for all 6.3 and 5.8 Mega models)
Today I decided to install the flash bar and some xmls permissions from the note 3, and see what would come out.
To my surprise it brought three interesting improvements.
1 - Multi instance, which means that one can open at the same time two or more windows of the same app (I could open up to 4 windows of the same app, not that I would really use it but just to say:cyclops.
Quite a handy feature if you want to compare two books, or two maps, or two pics or two whatever, but note that not all apps support multi instance, and note that for some apps one can't open two windows one after the other (one has to open one window of let's say app A, then app B, then one can open a second window of app A with the first app A still open).
2 - The disappearance of minimized bars is gone (still some random disappearing) when the windows are launched from the flash bar (but it still occurs when they are launched from somewhere else).
3 - The windows are resizable to a very small size, even smaller than the minimized bars (like 50x60, and don't need anymore to have the pin enabled to be resized.
No need to drag the apps from the flash bar, just touch them and they open in floating mode (set your prefered floating size with multi windows manager).
The 5 xmls files are attached below. This zip is not flashable, I did it intentionally in order one to know what files one pushes into one's phone, in case one day one wants to remove them. So you have to unzip first, and then manually copy the 5 xmls to your /system/etc/permissions folder, set perms to rw, r, r (644), reboot.
Careful!
One of these 5 files is called com.sec.feature.multiwindow.xml, and you may think that you already have it in your /system/etc/permissions folder. Well, you certainely have a file that has the same name, but it's not the same file (look at the weight). Rename your existing file com.sec.feature.multiwindow.xml.bak and then copy the new com.sec.feature.multiwindow.xml onto the folder.
A word about static stock multi windows
I tested these files in static stock multi windows (by renaming the com.sec.feature.multiwindow.phone.xml.bak to com.sec.feature.multiwindow.phone.xml, see above) and the multi instance works, plus there is a funky recent multi windows opened apps feature on the top of the flashbar, and a bookmark function on the bottom. Well, I found these features a bit wonky, but I didn't test too much so see by yourself if you feel like it.
Your flash bar doesn't show up, and you don't have the option anymore in your settings?
It's normal, it's because com.sec.feature.multiwindow.phone.xml has been renamed com.sec.feature.multiwindow.phone.xml.bak.
Rename it com.sec.feature.multiwindow.phone.xml, reboot. Go to display in your settings, enable the flashbar. Check that it appears. Rename again com.sec.feature.multiwindow.phone.xml to com.sec.feature.multiwindow.phone.xml.bak, reboot, your flash bar is still there (Note that you don't have the option to enable/disable it in the settings. You can force stop it from the applications section in the settings, but in that case it won't restart until you reboot).
UPDATE
I found a way to have that multi windows option to show in the settings all the time.
Since it's a heavy file I didn't upload it (my internet connection is dreadful) but if someone wants it then I'll upload it.
I'm a bit busy at the moment and I didn't test all the new features extensively, but if you do and find some tricks or fine settings/improvments please report here. Thanks in advance.:silly:
UPDATE 21 DEC (tested on Mega 6.3 XXUAMEE but it should work on all 6.3 Roms, and probably 5.8's)
It's a two layouts mode, which means that you will have the ability to switch between dual and cascade mode at the press of a button.
Go to your system/app folder and rename FlashBarService.apk to FlashBarservice.apk.bak (in case you need to get back to it if the mod is not compatible with your rom).
Flash the 2LayoutsFlashbarServiceMega.zip, wipe cache and dalvik cache, reboot.
Now open your FlashBar (the bar from where you launch the multi windows) and look at the top, you'll see two icons. That's it, one is for cascade mode, and the other for dual mode. When you press one it turns green, which means that the mode is activated.
If some windows disappeared and you want them back, or if you had too many windows opened in dual mode and want to put everything in order, press the cascade icon and they'll open in cascade mode (but it only works if the apps were still active, if they had been closed it obviously doesn't work).
If the FlashBarService fc, it means that it's not compatible with your rom. In this case delete the FlashBarService.apk from your system/app, remove the .bak you put at the stock one, reboot. If you want it for your rom, upload here your FlashBarservice.apk and your framework-res.apk and I'll mod it to make it two layouts enabled.
UPDATE 7 JULY 2014 (tested on Mega 6.3 DDUCNB1, it should work on other 6.3 Roms but it won't work on Mega 5.8. If you want it for your rom upload your FlashBarService.apk, services.jar, framework-res.apk and I'll mod it)
Here is a mod to make all your apps floating multi windows compatible.
I know that there are some apps here and there that do the same job but the advantage of this mod is that:
1-it works without any third part app which means that you'll save some ram and some battery,
2-with third apps when you install a new app you have to reboot to have that new app to show in the multi windows tray and to have the cascade/minimize icon to appear in full mode, whereas with this mod you don't need to reboot, the app shows straight away in the tray and so does the cascade/minimze icon.
Download AllAppsFloatingMultiWindowsMega6.3.zip, flash it from recovery, clean dalvik cache, reboot.
Bugs:
1-In dual mode, before to minimize a window press the pins from both apps to avoid the black screen issue (you'll understand what I mean when you get it).
If you get the black screen no worries, just maximize your windows, or press recents, or home, or settings, well press whatever takes you out from the black. And next time don't forget to pin both the windows before to minimize them:cyclops:...
2-You tell me...
WHAT'S NEXT?
I will mod some files to try to enable 5 layouts or Note 3's quad view, and I will try to add 2-3 things I have in mind. But no promises
YOU WANT TO HELP MAKE THIS MOD BETTER?
You are welcome!!!!!!!!!!!!
CREDITS
@rovo89 for the amazing Xposed Installer
@xperiacle cuz he was the one that found out that Samsung Roms are Floating Windows compatible
@THEDEVIOUS1 for porting the mod to the Galaxy Tab 7 Plus, and for all his help when I made my first Floating Windows mod for the Galaxy Grand
reserved
i will be following your project and testing everything ) thank you for this
will give feedback
i9205
yeah man you ROCK. Im on i9205 and it works perfect. thanks.
no problem in rotation screen for me for moment.
I tried to flash it but now i'm stuck on the samsung logo...
what should I do?
I'm using stock MJ2, deodexed, and TWRP...
-rename com.sec.feature.multiwindow.phone.xml to com.sec.feature.multiwindow.phone.xml.bak
-restart to TWRP
-wipe cache/dalvic
-flash the zip
-reboot
than stuck at samsung logo....
i04055 said:
I tried to flash it but now i'm stuck on the samsung logo...
what should I do?
I'm using stock MJ2, deodexed, and TWRP...
-rename com.sec.feature.multiwindow.phone.xml to com.sec.feature.multiwindow.phone.xml.bak
-restart to TWRP
-wipe cache/dalvic
-flash the zip
-reboot
than stuck at samsung logo....
Click to expand...
Click to collapse
I'm sorry to hear that you have issues...
The wiping must be done after the flash.
What you can do is go into recovery, wipe cache and dalvik, then reboot.
Anyway, that's strange since the zip is harmless. Which Mega do you have? I9200?
That could be an incompatibility with MJ2...
Or, did the zip download properly? When you are flashing it do you see some text on your screen?
Sometimes, since the zip contains a jar, one has to reboot twice. I don't know why but it's an issue that I have once in a while.
In the worst scenario, I mean if it still bootloops, then you'll have to restore your backup.
Good luck!
If you still don't manage to install it then it means that it's an incompatibility with MJ2, in that case upload your androidpolicy.jar and your framework-res.apk and I'll mod it.
unclefab said:
I'm sorry to hear that you have issues...
The wiping must be done after the flash.
What you can do is go into recovery, wipe cache and dalvik, then reboot.
Anyway, that's strange since the zip is harmless. Which Mega do you have? I9200?
That could be an incompatibility with MJ2...
Or, did the zip download properly? When you are flashing it do you see some text on your screen?
Sometimes, since the zip contains a jar, one has to reboot twice. I don't know why but it's an issue that I have once in a while.
In the worst scenario, I mean if it still bootloops, then you'll have to restore your backup.
Good luck!
If you still don't manage to install it then it means that it's an incompatibility with MJ2, in that case upload your androidpolicy.jar and your framework-res.apk and I'll mod it.
Click to expand...
Click to collapse
I tried to flash again than wipe cache/davic, but still no luck.
I use I9200, i don't see any error message when flashing the zip, try to restart several times but still stuck at samsung logo...
So I reflash the full rom than it back to normal.
Maybe it just not compatible with MJ2
i04055 said:
I tried to flash again than wipe cache/davic, but still no luck.
I use I9200, i don't see any error message when flashing the zip, try to restart several times but still stuck at samsung logo...
So I reflash the full rom than it back to normal.
Maybe it just not compatible with MJ2
Click to expand...
Click to collapse
Yep, I think it's the XXUAMEE androidpolicy.jar that doesn't fit MJ2.
Upload your androidpolicy.jar and your framework-res.apk, and I'll mod for you and for other MJ2 users.
OP updated.
The update can be used with all rooted Mega variants, deodexed or odexed, 6.3 and 5.8.
It brings amongst other multi instance but well, just have a look at the OP
Is it now support mj2 firmware?
Sent from my GT-I9200 using xda app-developers app
i04055 said:
Is it now support mj2 firmware?
Sent from my GT-I9200 using xda app-developers app
Click to expand...
Click to collapse
Nope, cuz nobody uploaded MJ2's framework-res.apk and androidpolicy.jar...
As I already said, if one wants this mod for a particular firmware (including Mega 5.8 inches) one has to upload those 2 files...
But that's in order to get the full mod. Otherwise it's possible to get 75 % of it by just renaming some files in the system/etc/permissions folder and adding some other files in the same folder, for any firmware on both Mega 6.3 and 5.8, see OP...
unclefab said:
OP updated.
The update can be used with all rooted Mega variants, deodexed or odexed, 6.3 and 5.8.
It brings amongst other multi instance but well, just have a look at the OP
Click to expand...
Click to collapse
tested and working perfectlyy .. you are the one
unclefab said:
Nope, cuz nobody uploaded MJ2's framework-res.apk and androidpolicy.jar...
As I already said, if one wants this mod for a particular firmware (including Mega 5.8 inches) one has to upload those 2 files...
But that's in order to get the full mod. Otherwise it's possible to get 75 % of it by just renaming some files in the system/etc/permissions folder and adding some other files in the same folder, for any firmware on both Mega 6.3 and 5.8, see OP...
By the way, I modded the flash bar (the bar from where one can launch multi windows apps), if someone is interested it's there:
http://forum.xda-developers.com/showthread.php?t=2567109
Click to expand...
Click to collapse
here are the files... just got a chance to use my comp after so long...
android policy : https://dl.dropboxusercontent.com/u/31220121/MJ2 FW/android.policy.jar
framework-res : https://dl.dropboxusercontent.com/u/31220121/MJ2 FW/framework-res.apk
MJ2
Ok mate, here it is
Please do report whether it works or not, for other people on MJ2 to know. Then if it works I'll update OP:good:.
Stay tuned, some more updates are on the way. I managed to have stock dual static multi windows and cascade/floating multi windows to work at the same time, and I'm currently working on enabling quad view and/or five layouts (no promises on those ones though, but I'll try my best:silly...
Edit;
confirmed working on MJ2 (see next post).
unclefab said:
Ok mate, here it is
Please do report whether it works or not, for other people on MJ2 to know. Then if it works I'll update OP:good:.
Stay tuned, some more updates are on the way. I managed to have stock dual static multi windows and cascade/floating multi windows to work at the same time, and I'm currently working on enabling quad view and/or five layouts (no promises on those ones though, but I'll try my best:silly...
Click to expand...
Click to collapse
confirm working....
Working perfect on my GTi9205 ...
Thanks mate ...
Post #13 works in my gt-i9205 good.tnx
Sent from my GT-I9205 using Tapatalk
thank you very much. Excellent yet so simple and elegant modification!
Can this be used on note 10.1 2014?
inertiaholic said:
thank you very much. Excellent yet so simple and elegant modification!
Can this be used on note 10.1 2014?
Click to expand...
Click to collapse
Probably, since it will have note 3 style multi windows, but I can't tell for sure (it hasn't been released yet).
I briefly tried a note 3 and I didn't see any floating option, but I know there are some mods like quad views (easy to implement on note 3, but not on mega )
Check note 3's forum, I think I saw something about floating windows...
thanks for the quick reply suitably named unclefab!
With note 3, yes mw etc easily created the floating window presumably on the back of the pen window feature, but not as elegant as yours or as universal as your where every window can be minimised etc. Indeed the multiwindow method is somewhat convoluted.
on my huawei ascend mate, i used the floating notifications plus xhalo windows but also somewhat iffy.
unclefab said:
Probably, since it will have note 3 style multi windows, but I can't tell for sure (it hasn't been released yet).
I briefly tried a note 3 and I didn't see any floating option, but I know there are some mods like quad views (easy to implement on note 3, but not on mega )
Check note 3's forum, I think I saw something about floating windows...
Click to expand...
Click to collapse
Working on att galaxy mega i527 .thanks
Sent from my SAMSUNG-SGH-I527 using XDA Premium 4 mobile app

12 hour format modification on Z2 systemui

Hi everyone,
As you all know status bar clock on latest xperia devices doesn't show AM/PM even when the 24 hour format time has been deselected. In Samsung, it was showing. I tried to find more information on this and found that on samsung systemui, there is a parameter 12hourformat on systemui.clock.policy to modify the format string. I tried to find that in Z2 systemui. But couldn't find. Can anybody tell me how can it be done without using xposed? I want to show am/pm on statusbar clock.
Thanks
Nevermind.
I did that myself by following the guide posted here :
http://forum.xda-developers.com/showthread.php?t=2713812
Now it works!!

Categories

Resources