[MOD][HOWTO]TW Launcher with different grid sizes

Search This thread

TTaylor_

Member
Jan 5, 2013
12
1
App Launcher Icon

Can anyone tell me how to manipulate the size of the "App" icon? It's the only thing I can't solve?

Screenshot_2013-02-18-18-37-25_zps1ce12217.png
 
Last edited:

IndicaForest

Member
Nov 8, 2012
25
4
30
Lexington
Get nova launcher pro and go into the settings. You can change the icon size through there.

Sent from my SAMSUNG-SGH-I317 using xda app-developers app
 

martyh1

Senior Member
Apr 13, 2007
277
30
Ok. Must have not read this through or did something wrong. This really hosed my Note 2. I had my note 2 rooted but no custom recovery. It has the first update (that includes multi-view). I tried renaming SecLauncher2.apk and then copied over the SecLauncher2.4x5.apk and renamed it to SecLauncher2.apk. I didn't change permissions. I hit the home button and it waited a few seconds, then rebooted. Now its stuck at the Samsung logo. Suggestions? I had a note I before and the typical 3 finger and 2 finger combo on boot aren't working. I'm really hosed here.

update: Fixed it. That was scary. Won't mess with this mod again, at least not for a while. Learned a few things in the process though: The key combos are different than the note 1. You can get to adb shell if you're booted into the stock recovery. Once in there, I could restore the files they way they were before (i.e. mv SecLauncher2save.apk SecLauncher2.apk after renaming that SecLauncher2.apk). After coming up the first time, the launcher was set back to defaults, so I'll have to set up my launcher again, but it's a small price to pay.
 
Last edited:

martyh1

Senior Member
Apr 13, 2007
277
30
It sounds like your error was using one of the attached examples instead if doing the mod yourself.
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2

Yes, that's what I did. My mistake (I guess). I think it might be better to remove those attachments, though, since the possibility to really mess up your phone with those is fairly high IMO. And the purpose of the thread seems to be to make those mods yourself anyway. (Again, my mistake for taking the short cut).
 

aggie6600

Senior Member
Sep 5, 2007
109
7
I did this mod on my stock rooted L900 and added auto rotation. Worked great.

I'm running stock rooted which means odexed.
First thing was deodexing SecLauncher2.apk using Univeral Deodexer from abcdjdj

After that I followed the OP instructions, but I really wanted the launcher to auto rotate as well. So I went to res/values/integers.xml and under resources I changed screenOrientation from 1 to 3
<integer name="config_screenOrientation">1</integer> -> <integer name="config_screenOrientation">3</integer>

Changing the cell values for landscape was really common sense after changing the portrait values. Icon labels get a little truncated in landscape mode, but with some tweaks I am sure I could get it right.
 

computerslayer

Senior Member
Aug 9, 2009
828
225
My apologies for being so late in the game. Please disregard if this is resurrecting a thread well beyond its life expectancy.

That said, I've run into a glitch that perhaps someone here might understand. Essentially, after enabling launcher rotation, the app drawer gets goofed up in a couple ways:

1) If the landscape integers/dimens files aren't adjusted, the default fifth row is cut off, showing only the top few pixels of each icon

2) If the landscape integers/dimens files are adjusted (in my case, to simply have 4 rows and the default 5 columns in landscape mode - the default 5x5 is still in portrait), except that when you rotate the device while in the app drawer, the settings of the first orientation are applied to the new orientation. (When the app draw is entered from either rotation, the proper grid settings are applied.

This is potentially problematic when switching from portrait to landscape. The question is how to have the launcher properly switch to the proper grid settings. I'm sure there is a setting I'm missing, but I don't know what it is.

Any help you can offer would be greatly appreciated.

[edit]I realized after posting that I hadn't thanked the OP for this thread - even if I have to hash this glitch out myself, I am already much further along (ie, knowing which files to even edit!) than I was when I started. Thanks for a great howto![/edit]

-----------------------
Phone: Verizon Galaxy Note II (SCH-I605)
ROM: Jelly'Beans' Build 21
 
Last edited:

ykssin

New member
Feb 20, 2009
2
0
After the latest att UCAMH3 updates, the mod doesn't work anymore. can someone make a new apk for this base. thanks. stock and rooted.
 

mhossein_khamesian

Senior Member
Mar 31, 2013
77
6
babol
It doesn't work anymore please somebody help and make a 5×6 scrolable wich work on stock new at&t. I will be thankful!

Sent from my GT-N8000 using Tapatalk 2
 

Eddie_Brock

Senior Member
Nov 8, 2010
244
28
Will the pre-modified apk's in the OP work with 4.3, or will we have to modify them ourselves?

I don't mind doing the leg-work myself, however are there screenshots of the different configurations so I can see which one looks the best for me?
 
Last edited:

absinthesummer

Account currently disabled
May 16, 2012
1,150
1,337
Usa
meettomy.site
I have a question for the OP... I love modifying apps/ROMS on my own, though I'm not incredibly proficient at modifying apks. I've done so in the past, but it was a while ago. How would I go about changing the default folder background in a stock TW launcher? What values do I need to change? I've included a screenshot to show the folder background I dislike.
 

Attachments

  • folders.jpg
    folders.jpg
    112 KB · Views: 320

bumrocky

Member
Jan 12, 2011
22
0
...

I have a very serious question... no sarcasm whatsoever...

I wrote this post (as well as the CSC one, and I'm preparing another for kernel compiling) to try and help people do their own mods so they aren't dependent on others, so they can learn and so on.

Is this attempt of mine misguided? Does everyone really prefer to just take whatever someone else gives them without learning anything?

(If so, I won't waste my time writing HOWTO things... I'm a developer, not a teacher, and trying to explain things to other people is very stressful for me.)

I know this is 18 months past, and an old thread, but I've just discovered your guides, and they've been awesome.
I totally love tweaking things on my own, and love learning as much as I can. I tend to prefer stock roms, but with the ability to make my own tweaks instead of downloading an all new rom with tons of stuff I don't need, and where some of the changes aren't what I want.

Thank you for it all!
 

absinthesummer

Account currently disabled
May 16, 2012
1,150
1,337
Usa
meettomy.site
I know this is 18 months past, and an old thread, but I've just discovered your guides, and they've been awesome.
I totally love tweaking things on my own, and love learning as much as I can. I tend to prefer stock roms, but with the ability to make my own tweaks instead of downloading an all new rom with tons of stuff I don't need, and where some of the changes aren't what I want.

Thank you for it all!
I agree with this. While I and a few others enjoy learning how to do new things, there will always be people who would rather be given a fish than learn how to fish themselves. It's unfortunate, but the only thing you really could do would be to only respond to those who show a willingness to learn.
 

vincentshjuan

Senior Member
Nov 23, 2009
697
75
PJ
Does this method still applies to the new kit kat releases? I tried comparing and the file structure seems to be different? Anyone any idea how to change the grid size on the new kit kat TouchWiz ROMs?

Sent from my GT-N7105 using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 51
    I was going to re-post the apk's I pulled together for modifying the samsung touchwiz launcher to have an extra row of icon space on the home screens and an extra column as well. However, there's a better solution:

    THIS IS A HOWTO. This isn't a "download the attached file and donate to me" thread. This is a thread intended to help people to learn how to modify their own devices. If all you want is something pre-made to install on your phone, there are several good customized firmwares (ROMs) available in this subforum. The attached files are so people can download a working example to compare to their own work. Please keep this in mind when replying to the thread.

    First, a link to another thread that explains how to modify the launcher. These instructions are for a galaxy S III, but they work just fine for the Note II:

    http://xdaforums.com/showthread.php?p=27433971

    That's not my thread and 99.9% of any credit for this should be given to the person who posted the that thread and the people from whom that person learned from.

    Now, I found I didn't like these directions as-is. First, I thought the icon labels got too truncated when using this with 5 columns. Second, I really didn't like how this mod moved the little "page" indicator dots below the docked icons. (The photo's on this thread don't show that, but if you follow the directions, they are moved.)

    So, I spent a few hours playing with sizes and such to get things to look a bit better (from my perspective.) That's how I came up with the apk's I posted a week or so ago.

    Below, I'll dump my notes on the measurements that I kept so I could reproduce the changes I did (for the next firmware update.) They don't make much sense on their own, but if you combine them with the above linked thread, they make perfect sense. Keep in mind that these are my notes and not even an attempt as a tutorial.

    Now, these notes are YOUR notes as well. Please use them, change them to suite your own desires, or ignore them.

    There's only one thing better than downloading a custom firmware for your phone: Customizing that firmware yourself.

    Code:
    SecLauncher2... modifying the grid sizes
    
    To enable scrolling on any of these:
    
    	res/values/bools.xml:  change fixedWallpaperOffset to "false" (to turn on scrolling)
    
    The rest of the files to edit are all in "res/values-sw359dp-xhdpi"
    
    
    For 4x5 (extra vertical row):
    
    	integers.xml:
    
        <integer name="home_cellCountX">4</integer>
        <integer name="home_cellCountY">5</integer>
    
    	dimens.xml
    
        <dimen name="app_icon_size">44.0dip</dimen>
    
        <dimen name="home_cellWidth_port">80.0dip</dimen>
        <dimen name="home_cellHeight_port">90.0dip</dimen>
        <dimen name="home_cellGapX_port">10.0dip</dimen>
        <dimen name="home_cellGapY_port">2.0dip</dimen>
    
        <dimen name="home_pageMarginPlusPaddingTop">12.0dip</dimen>
    
        <dimen name="home_pageIndicatorTop">484.0dip</dimen>
        <dimen name="home_pageIndicatorTopShrunken">484.0dip</dimen>
    
    
    For 5x4 (extra horiz column):
    
    	use the 4x5 and 5x5 to figure it out.
    
    
    for 5x5 (both extra row and extra column):
    
    	integers.xml
    
        <integer name="home_cellCountX">5</integer>
        <integer name="home_cellCountY">5</integer>
    
    	dimens.xml
    
        <dimen name="app_icon_size">44.0dip</dimen>
    
        <dimen name="home_cellWidth_port">68.0dip</dimen>
        <dimen name="home_cellHeight_port">90.0dip</dimen>
        <dimen name="home_cellGapX_port">4.0dip</dimen>
        <dimen name="home_cellGapY_port">2.0dip</dimen>
    
        <dimen name="home_pageMarginPlusPaddingTop">12.0dip</dimen>
    
        <dimen name="home_pageIndicatorTop">484.0dip</dimen>
        <dimen name="home_pageIndicatorTopShrunken">484.0dip</dimen>
    
    
    	styles.xml  (this is needed for 5 columns or the icon labels get truncated - the change is only the textSize)
    
        <style name="HomeIcon" parent="@style/BaseHomeIcon">
            <item name="android:textSize">12.0dip</item>
    As a bonus, I'll also upload some apk files that already have these changes in place. My primary intention for uploading them is to serve as an example, but they are fully functional on a stock i317 firmware.

    If you want to use them as-is, do a backup first. Then figure out which you want based on the name. (4x5 is 4 columns and 5 rows IN ADDITION to the dock row. if "scroll" is in the name, the wallpaper will scroll, else it won't.) Then rename the file to "SecLauncher2.apk", and use something like root explorer (that allows you to write to the /system/app partition) and overwrite the existing file by the same name. After you do that, your home launcher will get a little nutty for a second or three, and then it'll work fine. (If it doesn't, restore the backup.)

    (If you download one of these files with IE, the file extension might get changed from "apk" to "zip" If so, just change it back to .apk.)

    Take care
    Gary
    3
    I do appreciate your response to my inquiry, and if you have any further ideas about how that would be done, I would still like to learn about that.
    Unfortunately, your question wasn't specific enough to answer. Are you referring to the font of the icon labels on the home screen, or something else? If the homescreen, a hint to the answer can be found in the original post, near the bottom of the code block that alters the styles.xml file...

    Please keep in mind that I'm trying to get other people into the frame of mind for development, not to figure everything out for others. (That's not any type of attack - it's a generic statement.) My hope is that if I point people in the right (or left) direction, that they'll take things one step further... and share whatever they figure out.

    The next person will take it to the next level, and so on. Eventually, instead of having just a few people here on XDA doing 95% of the development, I hope to get more people contributing and eventually have 20-30% of the community doing development of some kind or another.

    I know its ambitious, and there's only a very tiny percentage of the community even using a NoteII. However, each single person that does one thing and shares is another person towards that goal.

    Take care
    Gary
    3
    No you cannot make a request. I suggest you re-read this thread and see how "request" get dealt with (I did). This is a HOW-TO thread, not a please make this for me thread. If you want something made, ask for it somewhere else. If you want to learn how to make these yourself, then stick around.

    THIS IS A HOWTO. This isn't a "download the attached file and donate to me" thread. This is a thread intended to help people to learn how to modify their own devices. If all you want is something pre-made to install on your phone, there are several good customized firmwares (ROMs) available in this subforum. The attached files are so people can download a working example to compare to their own work. Please keep this in mind when replying to the thread.
    3
    Could you share yours please and post it here? Big thanks!

    Sent from my AT&T Galaxy Note II /w wireless charging.

    You can get it from THIS POST have fun!

    *Update* Updated to 6x7 grid size with up to 7 icons in the dock, get it from THIS POST have more fun! ;)
    2
    I used the 4x5 scroll apk. It worked great. . I was worried about it resetting all my folders and widgets, but they just bumped up. The 4x4 twcalendar is a little cut off on top and bottom, but not enough to effect me. My music and google search widgets dissapeared but I reset them and all is good. Since the Music widget is re-sizable is here a way to make all widgets re sizable with the tw launcher?