Related
CLEAN TouchWiz Lockscreen Mod for odexed (stock) and deodexed ROM's. If you have custom ROM or mods with ex. power menu, custom lockscreens or something like that you phone will probably bootloop after applying this mod.
This lockscreen is similar to stock TouchWiz lockscreen but it has removed "Swipe to unlock" text, unlock arrows and grey/glass backgrounds. It works with stock music player lockscreen controls.
Screenshots:
{
"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"
}
Features:
- resources.arsc file isn't compressed (like in stock Samsung ROM's)
- all files are zipaligned (like in stock Samsung ROM's)
- enabled CRT screen off animation in /framework-res.apk/res/values/bools.xml for versions with CRT animation
- Clean TouchWiz Lockscreen Mod
Download and apply via CWM:
For XWJVZ - with CRT animation enabled: Clean_lockscreen-CRT-JVZ-CWM3.zip (5.31 MB) (choose this if you want Clean Lockscreen and CRT off animation)
For XWJVZ - without CRT animation: Clean_lockscreen-JVZ-CWM3.zip (5.31 MB) (choose this if you only want Clean Lockscreen)
For XXJVT - with CRT animation enabled: Clean_lockscreen-CRT-JVT-CWM3.zip (5.42 MB) (choose this if you want Clean Lockscreen and CRT off animation)
For XXJVT - without CRT animation: Clean_lockscreen-JVT-CWM3.zip (5.42 MB) (choose this if you only want Clean Lockscreen)
For JVR: Clean_TW_lockscreen-CRT_off_anim-JVR-CWM3.zip (5.7 MB)
For JVS: Clean_lockscreen-CRT-JVS-CWM3.zip (5.47 MB)
To enable CRT screen off animation you have to enable animations in display settings. CRT screen off animation won't work if you have changed speed of animations (with Spare Parts or nitrality app).
If you want to remove this mod use this CWM update.zip:
For XWJVZ: REMOVE_Clean_lockscreen-CRT-JVZ-CWM3.zip (5.32 MB)
For XXJVT: REMOVE_Clean_lockscreen-CRT-JVT-CWM3.zip (5.43 MB)
For JVR: REMOVE_Clean_TW_lockscreen-CRT_off_anim-JVR-CWM3.zip (5.8 MB)
For JVS: REMOVE_Clean_lockscreen-CRT-JVS-CWM3.zip (5.49 MB)
Thanks to ock for posted tips.
JVR STOCK+ v1.41 glass/stock lockscreen with not working!!!!
Bo$s said:
If you have custom ROM or mods with ex. power menu, custom lockscreens or something like that you phone will probably bootloop after applying this mod.
Click to expand...
Click to collapse
10 char....
Works perfectly on stock JVR and semaphore 1.5.0
Thanks
If i flash this mod- http://forum.xda-developers.com/showthread.php?t=1196391
will i lose Clean Lockscreen ?!
dani_z said:
If i flash this mod- http://forum.xda-developers.com/showthread.php?t=1196391
will i lose Clean Lockscreen ?!
Click to expand...
Click to collapse
Yes.
10char.
update :
I sorted it out. Simply replace the android.policy.jar and android.policy.odex in framework folder and it works now.
Just a little suggestion, you may want to include the mentioned files for user like me, who is not on TW lockscreen originally.
The files I attached are created by d0ggy. Credits to him.
--------------------------------------------------------------------------
I am on JVR odexed rom with AOSP lockscreen. Flashed this and it is still giving me the AOSP lockscreen.
Do I need to flash to a theme with TW lockscreen before apply your mod?
Bo$s, I like your mod but I want to keep my own theme icons.
I am nearly completed integrating your transparent LS with my own theme.
But I have no clues of what to do to get rid of the "Sweep glass to unlock" text. Are you kind enough to tell me how to do it? Is it simply replacing a png file or what?
thanks
rickylcp said:
Bo$s, I like your mod but I want to keep my own theme icons.
I am nearly completed integrating your transparent LS with my own theme.
But I have no clues of what to do to get rid of the "Sweep glass to unlock" text. Are you kind enough to tell me how to do it? Is it simply replacing a png file or what?
thanks
Click to expand...
Click to collapse
You have to edit strings.xml in \framework-res.apk/res/values*/ folders. As you can see every language has it's own values folder. Open strings.xml for your language, find line
Code:
<string name="zzz_glass_lock_help_text_2">Sweep glass to unlock</string>
and replace it with
Code:
<string name="zzz_glass_lock_help_text_2" />
In my mod I've replaced this tag in all strings.xml files (for every language)
PS: If you want to replace them automatically (by regex) this can be useful to find them:
Code:
<string name="zzz_glass_lock_help_text_2" *[^/]*?/string>
Bo$s said:
You have to edit strings.xml in \framework-res.apk/res/values*/ folders. As you can see every language has it's own values folder. Open strings.xml for your language, find line
Code:
<string name="zzz_glass_lock_help_text_2">Sweep glass to unlock</string>
and replace it with
Code:
<string name="zzz_glass_lock_help_text_2" />
In my mod I've replaced this tag in all strings.xml files (for every language)
PS: If you want to replace them automatically (by regex) this can be useful to find them:
Code:
<string name="zzz_glass_lock_help_text_1" *[^/]*?>
Click to expand...
Click to collapse
thanks but I cannot find the location you mentioned.
there are no such location and file in the framework-res.apk
"strings.xml in \framework-res.apk/res/values*/ folders"
Please see the attachment.
rickylcp said:
thanks but I cannot find the location you mentioned.
there are no such location and file in the framework-res.apk
"strings.xml in \framework-res.apk/res/values*/ folders"
Please see the attachment.
Click to expand...
Click to collapse
Decompile framework-res.apk to see those folders. Use Apk_manager 5.0 beta or apktool.
Bo$s said:
You have to edit strings.xml in \framework-res.apk/res/values*/ folders. As you can see every language has it's own values folder. Open strings.xml for your language, find line
Code:
<string name="zzz_glass_lock_help_text_2">Sweep glass to unlock</string>
and replace it with
Code:
<string name="zzz_glass_lock_help_text_2" />
In my mod I've replaced this tag in all strings.xml files (for every language)
PS: If you want to replace them automatically (by regex) this can be useful to find them:
Code:
<string name="zzz_glass_lock_help_text_2" *[^/]*?>
Click to expand...
Click to collapse
are this the only changes you made for this clear lockscreen or have you done something else? I found your work real nice and thinking about integrate this in my mods.. Can you tell me what other changes you made?
regards
sphinx02 said:
are this the only changes you made for this clear lockscreen or have you done something else? I found your work real nice and thinking about integrate this in my mods.. Can you tell me what other changes you made?
regards
Click to expand...
Click to collapse
In framework-res.apk/res/drawable-hdpi/
Code:
zzz_unlock_arrow_*.png
zzz_unlock_blackbg.9.png
zzz_unlock_clockbg.9.png
are transparent (watch out for correct 9patch images).
Hey Bo$s,
thanks for your tips.. I've made a MOD but with still grey Background I think that is a little bit better for recognizing that you have to throw away the lockscreen..
I hope its ok for you that I used your png's!
Thank you ver much!
Regards..
Added JVS version, DL link in first post.
Can you integrate extended powermenu?
Can you intgrated extended power menu ...
Sent from my GT-I9000 using XDA Premium App
Can u share wallpaper
Thx..now it look nice..
Sent from my GT-I9000 using xda premium
wonsky21 said:
Can you integrate extended powermenu?
Click to expand...
Click to collapse
Sorry but no, smali/baksmali tools aren't fully compatible with Sammy framework and I don't want to modify .odex files.
djdeeles said:
Can u share wallpaper
Click to expand...
Click to collapse
Sure:
{
"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"
}
Here is a compilation of many mods which I have been using for myself which I thought the community might be interested in. Please bare in mind that I am not the original creator of many of these and credits follow below. I am merely collecting them all together so they are handy for those who want them.
Of course I am open to new/not included ones, so please post and alert me to them and I will update as regularly as possible. Enjoy!
THANKS TO:
-Jjdoctor (XDA)
-CrushedD (RootzWiki)
-Snow02 (RootzWiki)
-PvyParts (XDA)
-ArrTooDeeToo (RootzWiki)
-He_stheone64 (XDA)
-Fergie716 (XDA)
-Altimax98 (RootzWiki)
Volume-rocker screen-wake
-decompile android.policy.jar and open KeyguardViewMediator.smali
-search for "WakeKeyWhenKeyguard"
-scroll down a bit and delete the two lines that start with "0x18" and "0x19"
-save and recompile
Faster soft-key UI
-decompile SystemUI.apk and navigate to smali>statusbar>policy and open KeyButtonView.smali
-search for "setDuration(J)" and there should be two instances
-in first instance find the line above it, starting with "const-wide/16 v1", change to "0x28" for medium fast or "0x0" for instant
-in second instance find the same line and change to "0x80" for medium or "0x0" for instant
-save and recompile
Get framework-res.apk to recompile
*this is hella time consuming, but gotta do what you gotta do*
-decompile framework-res.apk and then recompile without making any changes
-take note of every values folder which a plurals file gives an error from
-now navigate to each of those specific values folders and open the plurals.xml
-find line 79 (using Notes++) and add a 2nd "%" to the second "%d" so it looks like this: <item quantity="other">%d of %%d</item>
-save each one and recompile when all completed
Change carrier label (both notification pulldown and lockscreen)
-decompile framework-res.apk and navigate to res>XML>eri.xml
-search for line starting with "64 Verizon Wireless"
-change the "Verizon Wireless" to anything you want, max 16 characters
-it must be 16 characters, so fill in missing characters with spaces on either side
--Example: " Galaxy Nexus " needs 2 spaces on either side to be correct
-save and recompile
Adding MIUI battery bar and remove stock battery
-decompile SystemUI.apk and navigate to res>layout>status_bar.xml
-add this line to the bottom:
Code:
<com.android.systemui.statusbar.BatteryBar android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="1.0px" />
-should look like this:
Code:
</LinearLayout>
<com.android.systemui.statusbar.BatteryBar android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="1.0px" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
-now, in the same file, find the line starting with "<ImageView android:id="@id/battery"" and add "android:visibility="gone"" to the end of it
-now navigate to smali>com>android>systemui>statusbar and drop the 3 smali files in there from the attached zip from folder named "MIUI Battery Bar"
-save everything and recompile
-download the BatterBarSettings.zip, extract the apk, and install as you would any other apk to enable and customize the battery bar
Replace "recents" with "search" and add long-press recents to home button and long-press voice search to search button
-decompile SystemUI.apk and navigate to res>layout>navigation_bar.xml
-search for "android:id="@id/recent_apps"" should be 2 instances
-for first instance, replace entire line with:
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="80.0dip" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_search" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" systemui:keyCode="84" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
-for second instance, replace entire line with:
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="fill_parent" android:layout_height="80.0dip" android:src="@drawable/ic_sysbar_search_land" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" systemui:keyCode="84" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />
-now search for "android:id="@id/home"" should be two instances, in both find and delete "systemui:keyRepeat="false""
-now navigate to res>values>public.xml
-search for "ic_sysbar_recent" change to "ic_sysbar_search" and right below it change "ic_sysbar_recent_land" to "ic_sysbar_search_land"
-finally find some icons you want and replace them in res>drawable-xhdpi and you can delete the recents ones too
-save everything and recompile
Center lockscreen slider and clock
-decompile framework-res.apk and navigate to res>layout
-drop in the two files from the attached zip from folder named "Center Lockscreen" overwriting old ones
-recompile
1% battery increments
-decompile SystemUI.apk and navigate to res>drawables
-drop in the two files from the attached zip from folder named "Percent Battery" overwriting old ones
-now find whatever battery images you want and place them in res>drawable-xhdpi
-recompile
Change color of statusbar clock and date
-decompile SystemUI.apk and navigate to res>values>styles.xml
-for clock, search for "
TextAppearance.StatusBar.Clock" and date search for "
TextAppearance.StatusBar.Date"
-under each, find the line starting with "
android:textColor" and change the hex value to whatever you want
--example, "fffffff" would be white
-save and recompile
Change color of soft-key background
-decompile SystemUI.apk and navigate to res>layout>navigation_bar.xml
-find the line that starts with "<com.android.systemui.statusbar.phone.NavigationBarView" (should be second one)
-fine "android:background="#ff000000" and change the hex color to whatever you want
--example, "ffffffff" would be white
-save and recompile
Launcher2 modifications
-I'm not actually going to type all of this out because a fantastic guide has already been put together to hide the search bar, increase number of rows, and increase/decrease number of screens. It can be found HERE.
Thank you thats very helpful^^
Nice one. Thanks
Sent from my A500 using Tapatalk
What programs does this require? Which are the best? (running on Mac, but I have bootcamp, so I would prefer a program that's compatible with Macs).
wonderfull howto's!!!!!+1
Huge thanks for all of this!
anton2009 said:
What programs does this require? Which are the best? (running on Mac, but I have bootcamp, so I would prefer a program that's compatible with Macs).
Click to expand...
Click to collapse
I use Apktool and Notepad++, so this guide was written assuming that. I find it to be the easiest to use, but there are plenty out there to choose from.
Just added how to color of the soft-keys background. Obviously remember that this does not change the color of the soft-keys themselves, so you will have to replace them to contrast whatever color you choose.
Thank you for this wonderful info. Do you know how to enable the menu button even when it is hidden? I know that the systemui.apk has to be decompiled and navigation_bar.XML has to be edited. But exactly what needs to be edited is what I do not know. Thanks.
Thanks for everything in this thread, very helpful.....my only question is, if I decompile SystemUI and then immediately try to recompile, I end up with a different file size.
Im guessing this is not normal.....what am I missing in my environment setup to be able to decompile/recompile successfully?
Is it not possible to use the softkey background colour mod to make it transparent (ie. see the wallpaper behind softkeys) I tried editing the alpha to 00 but it doesnt seem to have worked or is another mod required to stretch the wallpaper into this area?
i'd love a how-to on modifying the lockscreen to include SMS and Phone shortcuts
Immix said:
Thank you for this wonderful info. Do you know how to enable the menu button even when it is hidden? I know that the systemui.apk has to be decompiled and navigation_bar.XML has to be edited. But exactly what needs to be edited is what I do not know. Thanks.
Click to expand...
Click to collapse
I don't know how to do that at this time, but it is on my list because I too would like to know this. So as soon as I find out, I will update with it.
chrisexv6 said:
Thanks for everything in this thread, very helpful.....my only question is, if I decompile SystemUI and then immediately try to recompile, I end up with a different file size.
Im guessing this is not normal.....what am I missing in my environment setup to be able to decompile/recompile successfully?
Click to expand...
Click to collapse
Hmm, no I don't think so. I don't usually compare the file size (just assume everything is good lol) so I can't say for sure. Are you using apktool? The only thing I can think of is: if you are using apktool, you have to replace the META-INF folder (and android manifest too) in the new apk with the one from the old apk. So if you didn't know that, this could be your problem.
be77amy said:
Is it not possible to use the softkey background colour mod to make it transparent (ie. see the wallpaper behind softkeys) I tried editing the alpha to 00 but it doesnt seem to have worked or is another mod required to stretch the wallpaper into this area?
Click to expand...
Click to collapse
Hmm I never actually thought or tried that, it's a good idea though. So what happens when you set it to 0?
mrvirginia said:
i'd love a how-to on modifying the lockscreen to include SMS and Phone shortcuts
Click to expand...
Click to collapse
Haha join the club, I would also love to know that. Believe me if I ever find out, you guys will be the first to know.
Thanks for writing this up, I am trying to learn more about the process and how to do more mods, but I am stuck when trying to decompile .apks. I have managed to decompile android.policy.jar and framework.jar to do some simple volume wake and granularity mods, but I was trying to figure out how to remove the paging from rosie.apk and ran into a roadblock. I keep getting magic number errors everytime I try to do the decompile. I was getting the same problem when I started with the .jar files, but I was able to get past it by getting the latest smali/baksmali updates. I have been trying to use apktool and also apkbuilder but can't get past the magic number errors. Can anyone offer a suggestion to get past this please?
Thanks, for the tutorial! But editing eri.xml does not effect the carrier name. I am running CM9 on the Maguro (GSM Galaxy Nexus). Is the carrier info stored elsewhere?
And, could the app drawer icon be added to the navbar?
Sent from my Galaxy Nexus using xda premium
out of topic,can i decompile jar file using apktool?
Bump. I'm running miui v4 on toro (vzw cdma) and can't get the carrier to change either. Tried root tools also and was a no go. Anyone have any ideas where else the carrier could be stored?
aiinjylls said:
Thanks, for the tutorial! But editing eri.xml does not effect the carrier name. I am running CM9 on the Maguro (GSM Galaxy Nexus). Is the carrier info stored elsewhere?
And, could the app drawer icon be added to the navbar?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Miui since 0.9.x
Nice.!
Sent from my PG86100 using XDA
00McD00 said:
Volume-rocker screen-wake
-decompile android.policy.jar and open KeyguardViewMediator.smali
-search for "WakeKeyWhenKeyguard"
-scroll down a bit and delete the two lines that start with "0x18" and "0x19"
-save and recompile
Click to expand...
Click to collapse
That method not working in 4.2
"KeyguardViewMediator.smali" in /com/android/internal/policy/impl/keyguard_obsolete/
modified that not changed
This is a guide on on how to make some modding to TouchWiz 3.
[Important] it is recommended to have a second launcher installed as a backup before you start.
Make a full backup of your phone in case something goes wrong. you never know.
The guide is set in 3 parts:
Part I: Copying the TouchWiz apk file to your computer and decoding it.
Part II: Editing Files. Here are included different modifications. you can chose the ones you want to apply and skip the rest and go to part III.
Part III: updating your apk file and copying it to your phone.
You will need:
Apktool to decompile/build your apk files. (download it and install it)
ADB (download it and install it) I use Android Commander but adb commands make the guide simpler )
winrar or 7zip or any archive manager
Notepad++ or any text editor
Part I: pulling & decoding
Create a folder in your computer to work inside it. for example C:\twmod
Connect your phone with USB Cable.
Copy the TouchWIz apk file from your phone to C:\twmod on your computer. you will find it under /system/app
to do this i recommend using Android Commander because it's easy to use. you can also use Root Explorer or ADB. i will include the ADB commands in this guide.
[if you're using ADB] open a command prompt and enter the following commands:
adb pull /system/app/TouchWiz30Launcher.apk c:\twmod\TouchWiz30Launcher.apk
Decode the file using apktool. In the command prompt enter the following commands:
cd c:\twmod
apktool d TouchWiz30Launcher.apka folder will appear next to your apk file named TouchWiz30Launcher
(leave this command prompt open)
Part II: modding
5 icon dock (or 6)
Go to TouchWiz30Launcher\res\layout-mdpi\ and open launcher.xml with your text editor.
Find iconColumnCount="4" and replace 4 with 5 (or 6 if you want 6 icons)
Save
Go to TouchWiz30Launcher\smali\com\sec\android\app\twlauncher and open AppShortcutZone.smali with your text editor
Find const/4 v8, 0x3 and replace 0x3 with 0x4 (or 0x5 if you want 6 icons)
Find const/4 v6, 0x3 and replace 0x3 with 0x4 (or 0x5 if you want 6 icons)
Save
5 column app drawer (5x4 or 5x5)
Open TouchWiz30Launcher\res\xml-mdpi\launcher_config.xml with your text editor.
Find menuColumnCount="4" and change it to 5 (this is the number of columns)
Find itemNumOfPage="16" and chnage it to 20 if you want 5x4 drawer, or 25 if you want 5x5. (this is the number of icons per page)
Save
If you're doing 5x5, do the following. if you're doing 5x4 then skip this.
Open TouchWiz30Launcher\res\values-mdpi\dimens.xml
Find <dimen name="menu_item_height">92.0dip</dimen> and change it to 73.6dip (this is the height of the drawer element)Open \res\layout-mdpi\application_boxed.xml
Find maxLines="2" and change it to 1 (this is the number of lines in the app name in the drawer)
5x5 icons home screen
Note that widgets will look smaller.
Open TouchWiz30Launcher\res\layout-mdpi\workspace_screen.xml
Find shortAxisCells="4" and change it to 5 (this is the number of columns in the home screen)
Find cellWidth="80.0dip" and change it to 64.0dip (this is the width of the column, it equals 320 / number_of_columns)
Find longAxisCells="4" and change it to 5 (this is the number lines of icons in the home screen)
Find cellHeight="100.0dip" and change it to 80.0dip (this is the height of the line, it equals 400 / number_of_lines)
Open TouchWiz30Launcher\res\values-mdpi\styles.xml
Find <item name="android:layout_marginBottom">4.0dip</item> and change it to 2.0dip
Hide icon names in home screen
Open TouchWiz30Launcher\res\values-mdpi\styles.xml
Find <item name="android:layout_marginBottom">4.0dip</item> (the value may be diffrent, so simply look for layout_marginBottom)
This value depends on the cellHeight from the previous patch. it equals cellHeight - 57
if you have a 4 line homescreen, then set it to 43
if you're making a 5 line homescreen, then set it to 23
Transparent app drawer background
Open TouchWiz30Launcher\res\values-mdpi\colors.xml
Find <color name="menu_background">#ff000000</color> and change to #99000000Note: The first two digits define the transparency level. it can be anything between 00 and ff (in hexadecimal) with 00 being completely transparent and ff being completely opaque.
The latter 6 digits define the color of the background in RGB code.
Part III: rebuilding & updating
Go back to your command prompt and enter the folloing command: (this will rebuild the app)
apktool b TouchWiz30Launcher
Now you will update your apk file.
Open the original TouchWiz30Launcher.apk file with winrar (or 7zip). do not extract it.
Go to C:\twmod\TouchWiz30Launcher\build\apk\res and copy every file that you edited to its respective location inside the apk file.
if the file you edited does not exist in this folder, then copy C:\twmod\TouchWiz30Launcher\build\apk\resources.arsc to the source of the apk file
if you edited some smali files, also copy C:\twmod\TouchWiz30Launcher\build\apk\classes.dex (and resources.arsc just to be sure )
Now you will copy the apk file to your phone under /system/app and change its permissions to rw- r-- r-- (644)
Back to your command prompt, enter the following commands:
adb shell mount -rw -o remount /dev/block/mtdblock1 /system
adb shell mv /system/app/TouchWiz30Launcher.apk /system/app/TouchWiz30Launcher.apk.bak
adb push c:\twmod\TouchWiz30Launcher.apk /system/app/TouchWiz30Launcher.apk
adb shell chmod 644 /system/app/TouchWiz30Launcher.apk
NOTE: Your original TouchWiz apk will be backed up. if the modded version did not work, run the following commands to recover the original file:
adb shell mount -rw -o remount /dev/block/mtdblock1 /system
adb shell rm /system/app/TouchWiz30Launcher.apk
adb shell mv /system/app/TouchWiz30Launcher.apk.bak /system/app/TouchWiz30Launcher.apk
Download
5 icon dock, 5x4 app drawer
{
"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"
}
If there is something incorrect in the guide, please correct me im not a developer. i figured this out by googeling and experimenting.
Credit:
Some Chinese forum for the smali edit.
Update- nice one
i tried before but until now only on armv7
Sent from my GT-S5830 using xda premium
evil_penguin said:
you can try Zeam launcher .its similar to touchwiz plus you can put 5 apps in the dock.
Btw wrong section.
Click to expand...
Click to collapse
i have it, but the dock icons are so small :/
sorry about the wrong section. i thought anything that has to do with changing the appearance goes here.
spacecaker said:
i tried before but until now only on armv7
Click to expand...
Click to collapse
im not a developer, but that seems odd. changing the number of entries in a dock shouldnt require a new cpu instruction set :/
i hope someone will figure out a way to do it.
it is possible but it will be very itritated because you have then need to change dpi
and then icons are small
Sent from my GT-S5830 using xda premium
spacecaker said:
because you have then need to change dpi
Click to expand...
Click to collapse
i wouldnt want to do that :/
Can I see screenshots?
ok ive found it just find workspace.xml and edit whatever you like
it must work
Sent from my GT-S5830 using xda premium
SamsungGalaxyAce said:
Can I see screenshots?
Click to expand...
Click to collapse
it's a [Request] not a Mod
spacecaker said:
ok ive found it just find workspace.xml and edit whatever you like
Click to expand...
Click to collapse
ok, so i tried editing workspace_screen.xml but that actually changed the number of icons on the home screen. (we learned something useful anyway )
i looked around and found the right part to edit. it's in launcher.xml i changerd iconColumnCount from 4 to 5.
it almost worked. now i'm able to add a fifth icon to the dock, but when i hit Back to save the new icon it disappears both from the dock and the app drawer.
obiously there's more editing to do. i'm not a developer so i mostly count on luck and on anyone who is willing to help out
at least now we know the dock is called AppShortcutZone inside the app. there are a few smali files with this name. i'll try to play with them, but i first need to understand what a smali file is and how to edit it xD
anyway, thanks spacecaker
EDIT: i noticed that when i kill the launcher and relaunch it, the fifth icon appears for a moment then disappears.
EDIT: I found the answer on some japanese forum. it works. i'm turning this into a How TO thread
dali47 said:
it's a [Request] not a Mod
ok, so i tried editing workspace_screen.xml but that actually changed the number of icons on the home screen. (we learned something useful anyway )
i looked around and found the right part to edit. it's in launcher.xml i changerd iconColumnCount from 4 to 5.
it almost worked. now i'm able to add a fifth icon to the dock, but when i hit Back to save the new icon it disappears both from the dock and the app drawer.
obiously there's more editing to do. i'm not a developer so i mostly count on luck and on anyone who is willing to help out
at least now we know the dock is called AppShortcutZone inside the app. there are a few smali files with this name. i'll try to play with them, but i first need to understand what a smali file is and how to edit it xD
anyway, thanks spacecaker
EDIT: i noticed that when i kill the launcher and relaunch it, the fifth icon appears for a moment then disappears.
EDIT: I found the answer on some japanese forum. it works. i'm turning this into a How TO thread
Click to expand...
Click to collapse
ok thx
btw what did changed the layout in app drawer ?
like its 4X4 but i want it like 5x5 ?
dali47 said:
it's a [Request] not a Mod
ok, so i tried editing workspace_screen.xml but that actually changed the number of icons on the home screen. (we learned something useful anyway )
i looked around and found the right part to edit. it's in launcher.xml i changerd iconColumnCount from 4 to 5.
it almost worked. now i'm able to add a fifth icon to the dock, but when i hit Back to save the new icon it disappears both from the dock and the app drawer.
obiously there's more editing to do. i'm not a developer so i mostly count on luck and on anyone who is willing to help out
at least now we know the dock is called AppShortcutZone inside the app. there are a few smali files with this name. i'll try to play with them, but i first need to understand what a smali file is and how to edit it xD
anyway, thanks spacecaker
EDIT: i noticed that when i kill the launcher and relaunch it, the fifth icon appears for a moment then disappears.
EDIT: I found the answer on some japanese forum. it works. i'm turning this into a How TO thread
Click to expand...
Click to collapse
I also got prob of disappearing 5th icon in dock ) and dont know how to solve :-<
How it works someone here could share?
Wysłano z GT-S5830 z użyciem Tapatalk
devilsking said:
I also got prob of disappearing 5th icon in dock ) and dont know how to solve :-<
Click to expand...
Click to collapse
leo it works
ive got no problem of disapearing
btw you need to try above 10 its funny
Sent from my GT-S5830 using xda premium
devilsking said:
I also got prob of disappearing 5th icon in dock ) and dont know how to solve :-<
Click to expand...
Click to collapse
you need to edit the smali file. chack step 4 in the guide in the first post
Bartas18 said:
How it works someone here could share?
Click to expand...
Click to collapse
check the first post
spacecaker said:
btw what did changed the layout in app drawer ?
like its 4X4 but i want it like 5x5 ?
Click to expand...
Click to collapse
workspace_screen.xml changes the home screen.
i tried changing the drawer but i couldnt find the right file to edit.
i will try again and tell you if it works
dali47 said:
you need to edit the smali file. chack step 4 in the guide in the first post
check the first post
workspace_screen.xml changes the home screen.
i tried changing the drawer but i couldnt find the right file to edit.
i will try again and tell you if it works
Click to expand...
Click to collapse
Throw me your mod please (TouchWiz30Launcher.apk)
spacecaker said:
btw what did changed the layout in app drawer ?
like its 4X4 but i want it like 5x5 ?
Click to expand...
Click to collapse
ok, here you go. this how you get 5x4 or 5x5 app drawer:
- Open \res\xml-mdpi\launcher_config.xml
- Find menuColumnCount="4" and change it to 5 (this is the number of columns)
- Find itemNumOfPage="16" chnage it to 20 if you want 5x4, or 25 if you want 5x5. (this is the number of icons per page)
if want 5x5 you alswo have to do the following:
- Open \res\values-mdpi\dimens.xml
- Find <dimen name="menu_item_height">92.0dip</dimen> and change it to 73.6dip
- Open \res\layout-mdpi\application_boxed.xml
- Find maxLines="2" and change it to 1
- Then build and replace launcher_config.xml and application_boxed.xml and resources.arsc
i will add this with more detail to the guide
SamsungGalaxyAce said:
Throw me your mod please (TouchWiz30Launcher.apk)
Click to expand...
Click to collapse
here i included my favorite setting: 5 icon dock, 5x4 drawer. because with 5x5, the app name can only be 1 line. if you want something different tell me
hit thanks if i was helpful
dali47 said:
ok, here you go. this how you get 5x4 or 5x5 app drawer:
- Open \res\xml-mdpi\launcher_config.xml
- Find menuColumnCount="4" and change it to 5 (this is the number of columns)
- Find itemNumOfPage="16" chnage it to 20 if you want 5x4, or 25 if you want 5x5. (this is the number of icons per page)
if want 5x5 you alswo have to do the following:
- Open \res\values-mdpi\dimens.xml
- Find <dimen name="menu_item_height">92.0dip</dimen> and change it to 73.6dip
- Open \res\layout-mdpi\application_boxed.xml
- Find maxLines="2" and change it to 1
- Then build and replace launcher_config.xml and application_boxed.xml and resources.arsc
i will add this with more detail to the guide
here i included my favorite setting: 5 icon dock, 5x4 drawer. because with 5x5, the app name can only be 1 line. if you want something different tell me
hit thanks if i was helpful
Click to expand...
Click to collapse
ok thx
i am trying to do 5 dock at my sgs II launcher but there is no
convst v6. 0x3 something that looks like that
other things ive figured out
Sent from my GT-S5830 using xda premium
In cm7.2 fat is not working because not touchwiz in this cm:/
Please help me:/
Wysłano z GT-S5830 z użyciem Tapatalk
Bartas18 said:
In cm7.2 fat is not working because not touchwiz in this cm:/
Please help me:/
Click to expand...
Click to collapse
i dnt think it works on CM
upload link ?
hi,
this guide to enable all rotation and rotation in lockscreen Samsung Galaxy s3 mini
REQUIREMENTS:
1. Rotted only
2. Deodex and not Dodex
INSTRUCTION:
1.Enable all rotation
-Decompile framework-res.apk
-Go to
Framework-res/res/values
and open bools.xml
-Find
HTML:
<bool name="config_allowAllRotations">false</bool>
Change to
HTML:
<bool name="config_allowAllRotations">true</bool>
-Recompile framework-res.apk
-Push new framework-res.apk to system/framework, set permision rw-r-r
2.Enable rotation in lockscreen-Decompile framework-res.apk
-Go to
Framework-res/res/values
and open bools.xml
-Find
HTML:
<bool name="config_enableLockScreenRotation">false</bool>
Change to
HTML:
<bool name="config_enableLockScreenRotation">true</bool>
-Recompile framework-res.apk
-Push new framework-res.apk to system/framework, set permision rw-r-r
And if you like my work,
Dont forget to click on "Thanks" button
HTML:
<bool name="config_enableLockScreenRotation">true</bool>
-Recompile framework-res.apk
-Push new framework-res.apk to system/framework, set permision rw-r-r
And if you like my work,
Dont forget to click on "Thanks" button[/QUOTE]
wow....that was a nice thing to see on my phone.....but i dont know how to compile or decompile....i just know how to flash a zip file for CWM....
cool tried it out
then saw a line of interest
<bool name="config_multiWindowSupportMultiInstance">false</bool>
any ideas what this might do?
efaustino84 said:
cool tried it out
then saw a line of interest
<bool name="config_multiWindowSupportMultiInstance">false</bool>
any ideas what this might do?
Click to expand...
Click to collapse
I've tried it. and does not work.
Sent from my GT-I8190 using xda premium
would be nice to find that feature similar to the pie control that comes with the S3 4.1.2 update
trying to convince some friends to root their S3's so that I can have a look at their system files
efaustino84 said:
would be nice to find that feature similar to the pie control that comes with the s3 4.1.2 update
trying to convince some friends to root their s3's so that i can have a look at their system files
Click to expand...
Click to collapse
did u try the above?
yup also tried it
didn't have any affect
efaustino84 said:
yup also tried it
didn't have any affect
Click to expand...
Click to collapse
hrmm...would be nice if the mod did work.....
Works on my Xperia U!
Thank you a lot, dude
i try this in DMod v6
but not working
please what rom are you using?
CahBagoes354 said:
hi,
this guide to enable all rotation and rotation in lockscreen Samsung Galaxy s3 mini
REQUIREMENTS:
1. Rotted only
2. Deodex and not Dodex
INSTRUCTION:
1.Enable all rotation
-Decompile framework-res.apk
-Go to
Framework-res/res/values
and open bools.xml
-Find
HTML:
<bool name="config_allowAllRotations">false</bool>
Change to
HTML:
<bool name="config_allowAllRotations">true</bool>
-Recompile framework-res.apk
-Push new framework-res.apk to system/framework, set permision rw-r-r
2.Enable rotation in lockscreen-Decompile framework-res.apk
-Go to
Framework-res/res/values
and open bools.xml
-Find
HTML:
<bool name="config_enableLockScreenRotation">false</bool>
Change to
HTML:
<bool name="config_enableLockScreenRotation">true</bool>
-Recompile framework-res.apk
-Push new framework-res.apk to system/framework, set permision rw-r-r
And if you like my work,
Dont forget to click on "Thanks" button
Click to expand...
Click to collapse
THANK YOU I have been searching for this. Im on Galaxy S5 on Infinity v2.1 which has screen rotate enabled and i have been trying to find a way to turn it off. Thank You.
Dear community ,I wanted to edit my framework-res.apk and enable in it navigation bar on my Xperia S.
I did everything. Decompiled ,changed in bools.xml show navigation bar to true ,changed the dpi on dimens.xml but after I try to recompile the apk and rebuild it I get errors and the edited framework-res.apk provides me bootloops.
Can someone please do me a favour and decompile + recompile my framework-res.apk?
Change in bools.xml show navigation bar to true
Change in dimens.xml the DPI of the height=30
height_landscape=30
width=28
I will be very thankful for you! Please help me
Here is my framework-res.apk and SemcGenericUxpRes.apk
http://www51.zippyshare.com/v/42097932/file.html