Ported Tablet UI to 4.1.1. From Galaxy Tab 7 & Note 10.1... Im trying to figure out how to inject the .smali files or create an apk hook to show the settings menu for quicklauncer settings that is implemented on the galaxy 7 to be able to change the quicklaunch icon(none/screenshot/appdrawer/camera/search)
{
"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 have decompiled the settings.apk from the Tab 7 and these are the .smali files
https://www.dropbox.com/sh/pgpkd9yti70df64/TcAcNwqC7j
The SystemUI.apk and android.service.jar have been changed already and are working. I just need a little direction on how to create a settings app add on...
Here is the thread. And this is how it sits as of now...
http://forum.xda-developers.com/showthread.php?t=2065644
Just trying to add a hook into settings for quicklaunch settings to be able to change the screenshot button.
Also has anyone been able to implement Lidroid/wanam toggles for a tablet before. I used a base that had it implemented for the phone side. However even with searching I have been unable to find a touchwiz based tablet with custom toggles. Sorry If this is the wrong place. I'm still new to this site so please move if I am incorrect for posting here
Integrating application in settings menu
This really handy one.. so take care!!
In this tutorial, we will add USB-Mode program to Settings menu as an example
On your PC
1) Decompile SecSettings.apk.
2) Decompile the program that you want to add to settings menu (USB-Mode)
3) Go to \res\drawable-xhdpi folder and add icon for your program that you want to add (you can take it from decompiled wanted program (USBMode folder).
4) Go to \res\values folder and open strings.xml by NotePad++ and add these lines just before </resources> for your program
Code:
<string name="gloryromaddons">GloryROM Addons</string>
<string name="usbswitcher_text">USB mode switcher</string>
Here change “gloryromaddons” with any thing you want to show as a header in the Settings menu. “usbswitcher_text” is your wanted program
5) Go to \res\xml folder and open settings_headers.xml by NotePad++ and add these lines (the place you put these lines will be the place where added program will be displayed in Settings menu)
Code:
<header android:title="@string/gloryromaddons" />
<header android:icon="@drawable/usbswitcher" android:title="@string/usbswitcher_text">
<intent android:targetPackage="in.zatta.USB_switch" android:action="android.intent.action.MAIN" android:targetClass="in.zatta.USB_switch.USB_switcherActivity" />
</header>
The first line reflect the header title in settings menu (So gloryromaddons will be seen as “GloryROM Addons” in the phone, see strings.xml that we edited and you will figure it out!!)
The 2nd line is for added program:
android:[email protected]/name of icon you put in drawable-xhdpi folder (here we put usbswitcher as the icon name inside drawable-xhdpi)
android:[email protected]/name of string put for added program in strings.xml (here we put usbswitcher_text as in strings.xml)
The 3rd line is the functionality and is the most difficult one:
android:targetPackage=package of wanted program inside its own AndroidManifest.xml (here it is “in.zatta.USB_switch”)
android:action=first action of wanted program inside its own AndroidManifest.xml (here it is “android.intent.action.MAIN”)
androidtargetClass= android:targetPackage.Activity (we have android:targetPackage from previous step but we need also .Activity how to get it??) This is the tricky one so do the following:
On your phone:
install the program you want to add (USB mode switcher) and ADW launcher from Google play and make ADW launcher as your phone launcher. Find a blank area on your homescreen(s), long press, then select custom shortcut --> pick your activity --> activities --> browse down until you find USB switcher app and expand with the arrow on the left of USB switcher, you will see several activities (some may have only one). The first one in the list is usually its opening class; it is in between the ( )'s. In this example it is .USB_switcherActivity
Go back to your PC:
So now androidtargetClass= android:targetPackage.Activity will be:
androidtargetClass= in.zatta.USB_switch.USB_switcherActivity
6) Now compile SecSettings and push it to your phone.
Additional step:
If you want to hide this app from applications drawer do the followings:
1) Decompile your desired app (here USB-Mode.apk)
2) Go to AndroidManifest.xml file and open it by NotePad++
3) Delete this line :
Code:
<category android:name="android.intent.category.LAUNCHER" />
4) Compile your app as non system apk and sign it then push it to your phone
Results example:
Thank you
Sent from my SCH-I605 using xda app-developers app
Deckoz2302 said:
Thank you
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
welcome
Respect
THANKS
I'm capable of reading
Will you just read that worng
Hah again xD
---------- Post added at 07:14 AM ---------- Previous post was at 07:02 AM ----------
I'm capable of reading
Will you just read that worng
Hah again xD
https://www.google.co.il/url?sa=t&s...jUgdAK&usg=AFQjCNGCy72htN8FuEr7ZkQtLczjDNJfAw
Sent from my GT-I9300 using xda app-developers app
Related
This is my first Mod for this ROM. I just flashed the ROM earlier this afternoon. More to come soon. Enjoy!
{
"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"
}
Sprint Lovers Icons w/Circle Percentage Battery - http://db.tt/Op9qIx8
Sprint Lovers Icons w/Stock Percentage Battery - http://db.tt/pFXdtVh
Sprint Lovers Icons w/Stock Percentage Battery: The Complete Experience (WIP) - http://db.tt/RknIWM2
Great idea! I was really living those icons and almost went and flashed the new EVIO Rom just for that. Would you mind telling me what the "complete experience" file is compared to the other. Thanks in advance.
Sent from my PC36100 using Tapatalk
... By the looks of the screenshots, the other is not complete SPRINT LOVERS icons and the "complete experience" has a more complete set but is a work in progress? Assume work in progress means either BETA or also not completely complete? Bout to flash and see what happens.
Sent from my PC36100 using Tapatalk
Looks nice. I've been trying to get back the Gmail icon (Ideally with notify count) rather than the stupid gingerbread one I get now with MikG.
Which file(s) did you have to modify to get the Gmail to show it's original Red Envelope?
where can i get the original icons???
i like the rom and all but not feeling these icons...
anyone wanna help out??
whats the difference between complete experience and non-complete?
Great Job.....
looks like between the new market and the new drop downs we need a refresh on this one...
And now new Gmail, anyone want to give this a stab, and also get animated sync icon too?
My bad y'all. I wound up breaking my EVO and I fell back on things. I just got another one last week, but it was already updated with 2.3.3.
Sent from my Epic, because my EVO arrived with the Gingerbread update.
Mikee4fun said:
And now new Gmail, anyone want to give this a stab, and also get animated sync icon too?
Click to expand...
Click to collapse
What exactly do you mean by new Gmail? You want the white Gmail icon with the red M in it or do you want the default gingerbread version? It looks like this includes the white envelope with red, but changing it is easy if you know how to use adb (though you should still make a full nandroid backup before proceeding -- just in case):
1. Grab the framework-res.apk file from your phone:
Code:
adb pull /system/framework/framework-res.apk
2. Double-click on the .apk file and navigate it with 7zip (Windows), archive manager (Linux with Gnome), etc.
3. Go into the res/drawable-hdpi directory and swap out the stat_notify_gmail.png file with whatever image you desire (i.e. rename your desired image to stat_notify_gmail.png and then copy it to this folder, overwriting the existing image).
4. Close the window and push the file back to your device:
Code:
$ adb remount
$ adb shell stop
$ adb push framework-res.apk /system/framework
$ adb shell start
If you aren't sure what any of that means or you need help just let me know.
Now the animated sync icon is going to be a little bit more work. I'm rather curious how that is done (probably just some timeouts in the XML with a series of images that are all rotated from the previous one), but now you have got me kind of curious!
Hmmm...ok well I have some rather limited knowledge of this stuff but I think I see how to animate the icon. The problem is that I would have to replace your entire framework-res.apk file so it would also change the battery icons that you may have, along with just about every other icon that appears on the notification bar there.
But if I were to do this I would try the following after unpacking the framework-res.apk file (apktool d framework-res.apk). I'm sort of putting these notes here for myself as well as everyone else. I don't have time to try this right now but I might give it a shot later tonight or tomorrow...once the kiddos go to bed.
1. Starting with the framework-res/res/drawable-hdpi/stat_notify_sync_anim0.png as a base. Create a few different versions of the sync image at different angles (i.e. create 3 more images -- this original image can serve as the first image with one of the arrows on the left at "9 o'clock", another image 45 degrees from that, a third one with one of the arrows directly on the top at "12 o'clock", and then another 45 degrees from that.
2. Copy the new image files to framework-res/res/drawable-hdpi.
3. Create a new xml file framework-res/res/drawable/stat_notify_sync.xml with the following lines in it:
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_notify_sync_anim0" />
<item android:duration="500" android:drawable="@drawable/stat_notify_sync_anim1" />
<item android:duration="500" android:drawable="@drawable/stat_notify_sync_anim2" />
<item android:duration="500" android:drawable="@drawable/stat_notify_sync_anim3" />
</animation-list>
4. Insert new lines referencing the resources inside of framework-res/res/values/public.xml:
Code:
<public type="drawable" name="stat_notify_sync_anim1" id="0x01080292" />
<public type="drawable" name="stat_notify_sync_anim2" id="0x01080292" />
<public type="drawable" name="stat_notify_sync_anim3" id="0x01080292" />
5. Now build the apk file, sign it, zipalign it (optional), create the flashable zip, and then sign the zip file.
I'm pretty sure that this would work but again it would mean that we are replacing the entire framework-res.apk file so you would lose all other customizations that you might have to the status bar icons.
I might just give this a shot for the heck of it. I have no idea if it will work but I'm willing to at least try. I have a very recent nandroid backup so I can easily push this over to see if it works before posting!
blowpot-
did you get rooted yet? We need a refresh!
Been busy since root. I had to fall back from the forums for a while. Downloading 2.5 now. Will update soon.
Sent from my Synergized EVO, Thanks to some rEVOlutionary Tactics
{
"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"
}
Theming thread
How to make icon pack for DarkSense ROM.
There are two ways of creating Icons pack. I prefer Eclipse way, because you dont need to rely on existing apk.
In VTS (Virtuous Ten Studios)
1. Download Sample.apk and create new project:
View attachment DarkSense_Icons_Sample.apk
2. Open source folder. go to - yourproject/apkname/Data/smali/com/darksense/rosie/theme/Sample
Change folder name "Sample" to whatever icon's pack name. so it should be like this :
com/darksense/rosie/theme/YourNewName/
Refresh project in vts.
3. Open Manifest and
change package name -
Code:
package="com.darksense.rosie.theme.Sample"
to -
Code:
package="com.darksense.rosie.theme.YourNewName"
4. Then change activity info
Code:
android:name="com.darksense.rosie.theme.Sample.MainActivity"
to
Code:
android:name="com.darksense.rosie.theme.YourNewName.MainActivity"
Folder, package name and activity name should be the same
Refresh project.
5. Go to string and change names to yours
6. Open drawable-hdpi and add , change icons to your new icons with keeping the icons name as in the sample.
In Eclipse
1.Create new project. name package like this com.darksense.rosie.theme.YourIconsName
2. After creating project go to MainActivity and replace class MainActivity with this:
here your package name and imports..
Code:
public class MainActivity extends Activity {
public void onCreate(Bundle bundle)
{
super.onCreate(bundle);
}
}
3. Open manifest and look for line
Code:
<action android:name="android.intent.action.MAIN" />
under this line add this
Code:
<action android:name="darksense.rosie.launcher.THEME" />
and remove this
Code:
<category android:name="android.intent.category.LAUNCHER" />
4. Open strings and replace data with this
Code:
<string name="theme_title">YourIcon name</string>
<string name="theme_description">YourName DarkSense Icon pack</string>
5. Go back to manifest and change (two times) from
Code:
app_name
to
Code:
theme_title
6. Go to values and create new xml file called arrays
paste this data into arrays resources
Code:
<string-array name="icon_pack">
<item>com_mikrosmile_store_mainactivity</item>
</string-array>
7. Add your icons in drawable-hdpi.
Refrsh project and try it. If everything is good, then export it as apk.
If you are developer of existing icons for other ROMs
Open manifest and change:
Code:
<action android:name="****.rosie.launcher.THEME" />
to
Code:
<action android:name="darksense.rosie.launcher.THEME" />
How to add more icons for more applications
In both ways you can add as many modified icons for apps as you want. Just in case of VTS you cannot remove existing icons.
To find the icon name install app Android System Info (from Google Play)
Open application and go to Apps tab.
Click on application you want to modify, open its AndroidManifest and look for
1. Package name - at the top of manifest = android: package = "com.***.***.***"
2. activity - Look for line with android.intent.action.MAIN and just few lines above it you will find <activity android:name=".***"
sometimes there will be .MainActivity sometimes can be like .xx.xx.Main and exaclty with dot before name.
if activity name here <activity android:name=".***" starts without dot, try to use this name for icon, without package name.
Example AdAway application.
Package name - org.adaway
main activity - .ui.BaseActivity
together org.adaway.ui.BaseActivity convert it to org_adaway_ui_baseactivity and name the icon exactly like that.
Example 2 in case of if.
main activity - ui.BaseActivity
your icons name - ui_baseactivity
You finish? Send me pm and i will add it to DarkSense Store.
DarkSense Store contains this :
Sense 5 Stock, Blue, Red made by 12reza12
Real Icons
Bird Icons
Cloud Icons
Real, Bird and Coud icons provided by kinghunki
Nice! Do you guys already have sense 5 icons? Otherwise I can make a quick icon pack.
Sent from my awesome fridge
MaartenXDA said:
Nice! Do you guys already have sense 5 icons? Otherwise I can make a quick icon pack.
Sent from my awesome fridge
Click to expand...
Click to collapse
Thanks, yeah we have it)
Later I will add what we already have in darksense store ..
Sent from my Galaxy Nexus using Tapatalk 2
Hope more enthusiasts join DarkSense!
I've been using DarkSense since a week but I'm pretty sure I'll not leave it until I'll sell my beloved Sensation!
Hope new skins and icons will come :good:
Keep up with the good work guys
Sense 5 Stock, Blue, Red made by 12reza12 .
--------------------------
Circuit Mékong-Randonnée à Sapa-Voyage Laos
Vegio said:
I've been using DarkSense since a week but I'm pretty sure I'll not leave it until I'll sell my beloved Sensation!
Hope new skins and icons will come :good:
Keep up with the good work guys
Click to expand...
Click to collapse
Stay tuned
★How To Unlock The Status-Bar Notification Panel Hidden Toggles★
WHAT DOES THIS MOD DO: This mod will let you unlock the status bar notification panel hidden toggles by default without the need to use any of those SQLite editor apps to add them back in.
★ Go into the system/csc folder on any rom using any root explorer or on a pc and open up "feature.xml"
★ If you don't have "feature.xml", then open up "others.xml" instead.
NOW LOOK FOR:
Code:
[SIZE="3"][COLOR="Green"]<!-- Settings -->[/COLOR][/SIZE]
ALL THE WAY AT THE BOTTOM OF <!-- Settings --> ADD THESE TWO NEW LINES BELOW!
Code:
<CscFeature_Setting_DefNotificationPanelOrder>Wifi;MobileData;Location;SilentMode;AutoRotate;Bluetooth;Ebook;DormantMode;WiFiHotspot;Brightness;PowerSaving;AllShareCast;MultiWindow;SBeam;Nfc;AirView;AirGesture;SmartNetwork;ToddlerMode;DrivingMode;SmartStay;SmartScroll;SmartPause;Sync;AirplaneMode</CscFeature_Setting_DefNotificationPanelOrder>
<CscFeature_Setting_DefQuickPanelOrder>Wifi;MobileData;Location;SilentMode;AutoRotate;Bluetooth;Ebook;DormantMode;WiFiHotspot;Brightness;PowerSaving;AllShareCast;MultiWindow;SBeam;Nfc;AirView;AirGesture;SmartNetwork;ToddlerMode;DrivingMode;SmartStay;SmartScroll;SmartPause;Sync;AirplaneMode</CscFeature_Setting_DefQuickPanelOrder>
IF YOUR DOING THIS ON "others.xml" ADD THOSE TWO SAME LINES RIGHT ABOVE </FeatureSet> THAT'S TOWARDS AT THE BOTTOM OF THE XML FILE.
By doing this you should now have 25 toggles in your status bar notification panel. There are two more hidden toggles which are "PersonalMode" and also "DoNotDisturb". These two toggles seem to not do anything since PersonalMode is probably used for KNOX and DoNotDisturb once you press on the toggle to disable it, you cant enable/disable it again. If you want those other two toggles for any reason just to have 27 toggles instead of 25, then here are the two lines with them in it.
Code:
<CscFeature_Setting_DefNotificationPanelOrder>Wifi;MobileData;Location;SilentMode;AutoRotate;Bluetooth;Ebook;DormantMode;WiFiHotspot;Brightness;PowerSaving;AllShareCast;MultiWindow;SBeam;Nfc;AirView;AirGesture;SmartNetwork;ToddlerMode;PersonalMode;DrivingMode;SmartStay;SmartScroll;SmartPause;Sync;AirplaneMode;DoNotDisturb</CscFeature_Setting_DefNotificationPanelOrder>
<CscFeature_Setting_DefQuickPanelOrder>Wifi;MobileData;Location;SilentMode;AutoRotate;Bluetooth;Ebook;DormantMode;WiFiHotspot;Brightness;PowerSaving;AllShareCast;MultiWindow;SBeam;Nfc;AirView;AirGesture;SmartNetwork;ToddlerMode;PersonalMode;DrivingMode;SmartStay;SmartScroll;SmartPause;Sync;AirplaneMode;DoNotDisturb</CscFeature_Setting_DefQuickPanelOrder>
If you want, you can also change the order of the toggles in those two lines by re-arranging them around, just make sure that they are in the same order for both the <CscFeature_Setting_DefNotificationPanelOrder> and <CscFeature_Setting_DefQuickPanelOrder> lines.
Note: I kept the toggles the same order for both lines for best results in my opinion, I haven't re-arranged them both differently so who knows it will probably work that way also, just let me know.
Dont work with N9005 and DMJ7 DBT Firmware
Darktrooper said:
Dont work with N9005 and DMJ7 DBT Firmware
Click to expand...
Click to collapse
It works its just that its a mod that has to do with the sqlite database meaning that when you add it, the mod will not show unless a developer adds it into their rom, perform a full wipe which resets the settings.db, and then it will then show. I will be working on a flashable.zip so the settings.db can reset itself.
Sent from my SM-N900T using Tapatalk
Any update on the Flashable zip for this MOD?
:good:
I can't decompile the SecSettingsProvider.apk yet, but your mod is working!
some info about the new toggles..
Toddler mode:
{
"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"
}
Smart Network:
Brightness:
I have got toggles but smart network (network doesn't turn off with screen) not working, toddler mod is working. can someone confirm it? please give me systemUI if smart network working with your ROM.
Thanks n advance.
Is there a way to reset the settings.db except a full wife? I could not find a way in the web.
I'm on stock but rooted would I still be able to do this? I've tried with root explorer and es file explorer, with no luck thanks again for the mod tho.?
Sent from my SM-N900T using XDA Premium 4 mobile app
Can you add a usb tether option to the shortcut menu?
Thanks
How to add usb tethering ?
It's not a mod lol, the op make exactly the inverse what's said.
For enable you have to edit your sq lite database or the other. XML.
But this op is really old because is since 2013 and as you can seen on the ss the rom is kitkat.
No devs like @Kamy push in their rom a script to enable all the shortcuts in one click with the app rom control.
If you want you can learn more about this or directly use the rom I mean, it's aryamod lollipop v8.3, (5.0 LP) or the newest S7edge v4(6.0 MM) for the note 3 all snapdragon variants
Sent from my SM-N910F using XDA-Developers mobile app
{
"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"
}
The quicklauncher panel:
It is simply a scrollable panel of app shortcuts that you instantly launch from your drop down panel. You can launch apps from inside other app without the need to exit to home screen first. You can also edit and order the shortcuts to suit your needs.
The idea:
When I started writing this mod I wanted to make it as easy to implement as possible which means no smali changes. I also wanted to make it universal for most android devices so thats what you get.
Implementation Guide:
This guide assumes you can already decompile and recompile an .apk correctly. If you cannot do this please don`t ask me how there are already lots of guides on how to do this here at XDA.
prerequisites:
A deodexed SystemUI.apk with a api level of 16 or higher
Knowledge of decompiling and recompiling the .apk.
These files: Download. MD5:fc5e7cd2c6192461e9ebca6661c70a49
Decompile the SystemUI.apk and navigate to smali/com/android/systemui/statusbar/policy
Copy the quicklaunch folder from the downloaded files and paste it into the above location
Navigate to res/layout and open status_bar_expanded.xml look for this line:
Code:
<LinearLayout android:orientation="vertical" android:id="@id/scrollCart" android:layout_width="fill_parent" android:layout_height="wrap_content">
(Note this is based on TW stock files you may have to mess with the location in your file to find correct placemant)
Directly below that line add:
Code:
<HorizontalScrollView android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.quicklaunch.QuickLaunchContainer android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</HorizontalScrollView>
Recompile and push to your device its done
Sharing policy:
You are free to bake this into your roms provided:
Proper credit and a link is given not just a mention in a random thread that will be lost in hours.
You use the mod as a whole and not take peices of my code and use elsewhere.
You leave the copyright information as it is.
You dont add you own settings to control the panel eliminating the need for donate app.
How to use:
To add a shortcut simply scroll all the way to the right and press the + symbol this will bring up a list of currently installed app to choose from click one to apply.
To change or remove a shortcut long press the icon and a menu will appear select the desired option by clicking it.
You can also get further functionality by getting the quicklauncher app from the Playstore for just $1. In this you can set colors, visibility of the panel and text etc and more.(Note I have just uploaded it so it may take a few hours to show.) This will support me and the development thanks.
Current 3Minit users will of course get this include in the current app for no charge.
XDA:DevDB Information
3Minit quicklaunch panel, a Tool/Utility for the Samsung Galaxy S 4
Contributors
gharrington, http://forum.xda-developers.com/member.php?u=4619873
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2014-02-16
Created 2014-02-16
Last Updated 2014-02-16
Waiting for 3minit user get this wonderful mods......hope Gary release the updated app soonest......cant wait ....yeahh...
Sent from my GT-I9500 using XDA Premium 4 mobile app
gharrington said:
The quicklauncher panel:
It is simply a scrollable panel of app shortcuts that you instantly launch from your drop down panel. You can launch apps from inside other app without the need to exit to home screen first. You can also edit and order the shortcuts to suit your needs.
The idea:
When I started writing this mod I wanted to make it as easy to implement as possible which means no smali changes. I also wanted to make it universal for most android devices so thats what you get.
Implementation Guide:
This guide assumes you can already decompile and recompile an .apk correctly. If you cannot do this please don`t ask me how there are already lots of guides on how to do this here at XDA.
prerequisites:
A deodexed SystemUI.apk with a api level of 16 or higher
Knowledge of decompiling and recompiling the .apk.
These files: Download. MD5:fc5e7cd2c6192461e9ebca6661c70a49
Decompile the SystemUI.apk and navigate to smali/com/android/systemui/statusbar/policy
Copy the quicklaunch folder from the downloaded files and paste it into the above location
Navigate to res/layout and open status_bar_expanded.xml look for this line:
Code:
<LinearLayout android:orientation="vertical" android:id="@id/scrollCart" android:layout_width="fill_parent" android:layout_height="wrap_content">
(Note this is based on TW stock files you may have to mess with the location in your file to find correct placemant)
Directly below that line add:
Code:
<HorizontalScrollView android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.quicklaunch.QuickLaunchContainer android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</HorizontalScrollView>
Recompile and push to your device its done
Sharing policy:
You are free to bake this into your roms provided:
Proper credit and a link is given not just a mention in a random thread that will be lost in hours.
You use the mod as a whole and not take peices of my code and use elsewhere.
You leave the copyright information as it is.
You dont add you own settings to control the panel eliminating the need for donate app.
How to use:
To add a shortcut simply scroll all the way to the right and press the + symbol this will bring up a list of currently installed app to choose from click one to apply.
To change or remove a shortcut long press the icon and a menu will appear select the desired option by clicking it.
You can also get further functionality by getting the quicklauncher app from the Playstore for just $1. In this you can set colors, visibility of the panel and text etc and more.(Note I have just uploaded it so it may take a few hours to show.) This will support me and the development thanks.
Current 3Minit users will of course get this include in the current app for no charge.
XDA:DevDB Information
3Minit quicklaunch panel, a Tool/Utility for the Samsung Galaxy S 4
Contributors
gharrington, http://forum.xda-developers.com/member.php?u=4619873
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2014-02-16
Created 2014-02-16
Last Updated 2014-02-16
Click to expand...
Click to collapse
Hi @gharrington
great job, I have a little problem, when I restart all links go away
How can I fix?
zioriky said:
Hi @gharrington
great job, I have a little problem, when I restart all links go away
How can I fix?
Click to expand...
Click to collapse
Rule of thumb. Don't quote the OP post.
NOTE: This post is already obsolete. I made a magisk module to make this process much easier. https://forum.xda-developers.com/showpost.php?p=78769874
First, I wanna give a huge shoutout to @ondraczsk for making the original tutorial on modding these apks.
DO THIS AT YOUR OWN RISK. IT WORKED FOR ME, HOPEFULLY IT WORKS FOR YOU.
Before:
{
"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"
}
After:
Notice the black bar is gone.
THE GUIDE
I took his tutorial and modified it. (Parts of it are copy pasted.)
You need APK EDITOR PRO: Download
• Open Magisk Manager
• go to downloads
• Search for "System Accent Theme (Colors) for P" and download it.
• Restart your phone
• Open the apk editor.
• Select "Select Apk from App"
• Tap on three dots in right upper corner
• Select "System Apps"
• Tap on any app that starts by com.google.android.theme. (Like com.google.android.theme.bluegray)
(Let's say that We choose Blue Gray theme)
• Windows appears - select "Full Edit"
• Now, you are in app String editor. Rename string pixel_overlay_pixel ("BlueGray") to "Use Notch", or something like that
• On Toolbar below select Files
• Navigate to res/values
• Open Strings.xml
• Rename string pixel_overlay_pixel to same name as you write on String editor "Use Notch"
• Add this line to the file: <string name="config_mainBuiltInDisplayCutout">0</string>
Make sure its inside the resource tags. This line basically makes the phone think it doesn't have a notch anymore.
• Click the bottom save icon.
Your strings.xml file should now look something like this:
• Open Colors.xml
• tap on right upper corner "Open in Editor"
• Inside the resources tags, add this line: <dimen name="status_bar_height_portrait">36.0dip</dimen>
• Save it.
Your colors.xml file should now look something like this:
• On right upper corner tap on "Build"
• It should show OK Green icon and show- Suceeed! APK saved as /storage......
• Tap on install
• And install it as normal apk.
• Then go to system settings-> Display -> Colour Theme, and select the "Use Notch" theme!
NOW WE CAN USE THE NOTCH IN APPS AND GAMES!
You can stop using the notch just by changing themes!
Again, thanks so much for this original tutorial: https://forum.xda-developers.com/mi-a2-lite/how-to/guide-transparent-ui-t3891944
Thank you for the guide. Does it only work on stock rom? Because the gsi RR does not work.
What about games which have a button on the center left side for example Clash of Clans, this button would than disappear behind the notch.
Sent from my Phh-Treble vanilla using Tapatalk
Yokosa said:
Thank you for the guide. Does it only work on stock rom? Because the gsi RR does not work.
Click to expand...
Click to collapse
Yes this guide did work. I made a magisk module so you don't have to do the guide anymore. Maybe the magisk module will work on RR https://forum.xda-developers.com/showpost.php?p=78769874
cd492 said:
What about games which have a button on the center left side for example Clash of Clans, this button would than disappear behind the notch.
Sent from my Phh-Treble vanilla using Tapatalk
Click to expand...
Click to collapse
Yes that is an issue. I guess you could hold the phone the opposite to fix that.
zigafide said:
Yes this guide did work. I made a magisk module so you don't have to do the guide anymore. Maybe the magisk module will work on RR https://forum.xda-developers.com/showpost.php?p=78769874
Click to expand...
Click to collapse
Yes, magisk module works great! Thanks
Jagis23 said:
Yes, magisk module works great! Thanks
Click to expand...
Click to collapse
Doesnt immersive mode then?
boe323 said:
Doesnt immersive mode then?
Click to expand...
Click to collapse
it works