[GUIDE][ALL JB] HOW TO TABBED SETTING (With Swipe Gesture)

Search This thread

bagustinov

Member
Feb 4, 2014
26
16
cilegon
Once again, I Comeback with my GUIDE.
This time I will give you abaout HOW TO TABBED SETTING...
This GUIDE will work on JB 4.1 and 4.2, i have tasted it in my Micromax A110 stock JB 4.1...
OK Lets go


Requirement ::
  1. Knowing about compile and decompile
  2. Srttings.apk

Steps
1. Decompile Youe Settings.apk
2. Download file from attachments, ekstrak, and put it in each place/folder
3. Navigate to values/ids and add this
HTML:
<item type="id" name="tabHost">false</item>
    <item type="id" name="tabsLayout">false</item>
    <item type="id" name="tabsText">false</item>
4. In the same folder, Open Strings and add this
HTML:
<string name="personal_settings_tab">StockJBMood</string>
    <string name="program_settings_tab">Tentang Perangkat</string>
5. Done, Recompile
6. Decompile again your settings.
7. Open public.xml and don't close it
8. Go to smali/com/android/settinggs
HTML:
[B][COLOR="Red"]PersonalSettings.smali[/COLOR][/B]
ctrl+f in there smali                                       ctrl+f in your public, replace with ur code
    0x7f05004d                                                personal_settings
    0x7f040099                                                speed_container

ProgramSettings.smali
    0x7f05004e                                                program_settings
    0x7f040099                                                speed_container

TabbedSettings$1.smali
    0x7f110001                                                 slide_in_right
    0x7f11                                                        slide_in_left (ONLY 4 KODE)

TabbedSettings.smali
    0x7f110002                                                 slide_out_left
    0x7f110003                                                  slide_out_right
    0x7f04009b                                                  tab_indicator
    0x7f080254                                                  tabsText
    0x7f04009a                                                  tab_content
    0x7f080252                                                  tabHost
9. Go to AndroidManifest.xml and find this code
HTML:
<activity android:label="@string/settings_label_launcher" android:name="Settings" android:taskAffinity="com.android.settings" android:launchMode="singleTask" android:configChanges="mcc|mnc|keyboardHidden|orientation|screenSize">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.settings.SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
and replace with this code
HTML:
<activity android:theme="@*android:style/Theme.NoTitleBar" android:label="@string/settings_label_launcher" android:name="TabbedSettings" android:process="com.android.settings" android:taskAffinity="com.android.settings" android:clearTaskOnLaunch="true" android:launchMode="singleTop">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.settings.SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name="PersonalSettings" />
        <activity android:name="ProgramSettings" />
        <activity android:name="DeviceInfoSettings" />
        <activity android:label="@string/settings_label_launcher" android:name="Settings">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
10. Done
11. Recompile your settings
12. Sign and Push it


SS :: See attachments

Original Post/Source :: http://archiveandroid.blogspot.com

IF THIS GUIDE HELPED YOU, DONT SAY THANKS BUT PRESS IT :good:​
 

Attachments

  • Screenshot_2014-01-24-23-37-32.jpg
    Screenshot_2014-01-24-23-37-32.jpg
    70.7 KB · Views: 2,612

leo31

Senior Member
Nov 30, 2012
660
148
Tokyo
yo akang, how to add battery level like yours?
is this guide work on cm11 (4.4.2)
if cant, could u help me to make this for 4.4.2?

nuhun
 

r2dak

Senior Member
Jan 31, 2014
119
93
Shimla
getting error in this step using android multitool

Code:
.\Decompiled_apk\SecSettings\smali\android\support\v4\view\PagerAdapter.smali[83,4] Invalid literal value: 16256. Low 16 bits must be zeroed out.
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: android/support/v4/view/PagerAdapter.smali
	at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
	at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
	at brut.androlib.Androlib.buildSources(Androlib.java:299)
	at brut.androlib.Androlib.build(Androlib.java:285)
	at brut.androlib.Androlib.build(Androlib.java:258)
	at brut.apktool.Main.cmdBuild(Main.java:236)
	at brut.apktool.Main.main(Main.java:88)
The system cannot find the file specified.
The system cannot find the file specified.
 
  • Like
Reactions: MPKMRS

taozige

New member
Mar 21, 2014
1
0
getting error in this step using android multitool

Code:
.\Decompiled_apk\SecSettings\smali\android\support\v4\view\PagerAdapter.smali[83,4] Invalid literal value: 16256. Low 16 bits must be zeroed out.
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: android/support/v4/view/PagerAdapter.smali
	at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
	at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
	at brut.androlib.Androlib.buildSources(Androlib.java:299)
	at brut.androlib.Androlib.build(Androlib.java:285)
	at brut.androlib.Androlib.build(Androlib.java:258)
	at brut.apktool.Main.cmdBuild(Main.java:236)
	at brut.apktool.Main.main(Main.java:88)
The system cannot find the file specified.
The system cannot find the file specified.

:crying:me too apking for help!!
 

bagustinov

Member
Feb 4, 2014
26
16
cilegon
yo akang, how to add battery level like yours?
is this guide work on cm11 (4.4.2)
if cant, could u help me to make this for 4.4.2?

nuhun

batre level its default rom bro, just change the font
i don't know, coz i haven't 4.4.2 device :crying:

getting error in this step using android multitool

Code:
.\Decompiled_apk\SecSettings\smali\android\support\v4\view\PagerAdapter.smali[83,4] Invalid literal value: 16256. Low 16 bits must be zeroed out.
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: android/support/v4/view/PagerAdapter.smali
	at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
	at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
	at brut.androlib.Androlib.buildSources(Androlib.java:299)
	at brut.androlib.Androlib.build(Androlib.java:285)
	at brut.androlib.Androlib.build(Androlib.java:258)
	at brut.apktool.Main.cmdBuild(Main.java:236)
	at brut.apktool.Main.main(Main.java:88)
The system cannot find the file specified.
The system cannot find the file specified.

mmm i don't know why, yesterday my frind try it on samsung device, but he get the same brut like yours

:crying:me too apking for help!!

Your device ?? if samsung, i really confused whit this u,u
 

leo31

Senior Member
Nov 30, 2012
660
148
Tokyo
:crying:me too apking for help!!

batre level its default rom bro, just change the font
i don't know, coz i haven't 4.4.2 device :crying:



mmm i don't know why, yesterday my frind try it on samsung device, but he get the same brut like yours



Your device ?? if samsung, i really confused whit this u,u

cmiiw, u need the correct framework-res.apk for recompile it. i did faces the same problem when recompile it. i just dont know which framework that devs use to make this systemui. i tried to install the framework-res.apk from ACE,ACE2,LG G2. but the result is same.
 

leo31

Senior Member
Nov 30, 2012
660
148
Tokyo
I use framework-res.apk from stockrom JB 4.1 Micromax A110 bro, i will upload it for you

try use this framework-res.apk

no, the problem is which framework-res.apk that the devs use to made this systemui.apk if the devs made it with framework-res.apk from micromax a110, u will not found any trouble when recompile it.

Edit : what is your problem? failed when decompile / recompile?
 

bagustinov

Member
Feb 4, 2014
26
16
cilegon
no, the problem is which framework-res.apk that the devs use to made this systemui.apk if the devs made it with framework-res.apk from micromax a110, u will not found any trouble when recompile it.

Edit : what is your problem? failed when decompile / recompile?

This tutor was made by me :) and I use that framework and I don't get an error :) (kan ane yang buat masbro :v)
 

farhan alafi

New member
Mar 27, 2014
1
0
tanya om...

ane dah ikutin tutor n perasaan gk ada yg slh, de/recompile jg sukses. nah giliran stlh ane push ke system kok icon setting nya malah jd hilang? kr2 ap yg salah ya om?
 
Dec 20, 2012
37
7
Hey, how did you get all those nice icons in the notification bar in the screenshot?.. Especially the network signal icons?.. I want those! and how did you put them on the left side?..

Sent from my A110 using Tapatalk
 

bagustinov

Member
Feb 4, 2014
26
16
cilegon
Hey, how did you get all those nice icons in the notification bar in the screenshot?.. Especially the network signal icons?.. I want those! and how did you put them on the left side?..

Sent from my A110 using Tapatalk

its my mod, but not for micromax a110 , you can see my mod here http://archiveandroid.blogspot.com/2013/12/theme-stockjbmood-v1-cross-a7s-by-me.html

but if you want left signal i'll upload my gemini status bar and the icon for you :)
 
  • Like
Reactions: shreyas.kelshikar

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Once again, I Comeback with my GUIDE.
    This time I will give you abaout HOW TO TABBED SETTING...
    This GUIDE will work on JB 4.1 and 4.2, i have tasted it in my Micromax A110 stock JB 4.1...
    OK Lets go


    Requirement ::
    1. Knowing about compile and decompile
    2. Srttings.apk

    Steps
    1. Decompile Youe Settings.apk
    2. Download file from attachments, ekstrak, and put it in each place/folder
    3. Navigate to values/ids and add this
    HTML:
    <item type="id" name="tabHost">false</item>
        <item type="id" name="tabsLayout">false</item>
        <item type="id" name="tabsText">false</item>
    4. In the same folder, Open Strings and add this
    HTML:
    <string name="personal_settings_tab">StockJBMood</string>
        <string name="program_settings_tab">Tentang Perangkat</string>
    5. Done, Recompile
    6. Decompile again your settings.
    7. Open public.xml and don't close it
    8. Go to smali/com/android/settinggs
    HTML:
    [B][COLOR="Red"]PersonalSettings.smali[/COLOR][/B]
    ctrl+f in there smali                                       ctrl+f in your public, replace with ur code
        0x7f05004d                                                personal_settings
        0x7f040099                                                speed_container
    
    ProgramSettings.smali
        0x7f05004e                                                program_settings
        0x7f040099                                                speed_container
    
    TabbedSettings$1.smali
        0x7f110001                                                 slide_in_right
        0x7f11                                                        slide_in_left (ONLY 4 KODE)
    
    TabbedSettings.smali
        0x7f110002                                                 slide_out_left
        0x7f110003                                                  slide_out_right
        0x7f04009b                                                  tab_indicator
        0x7f080254                                                  tabsText
        0x7f04009a                                                  tab_content
        0x7f080252                                                  tabHost
    9. Go to AndroidManifest.xml and find this code
    HTML:
    <activity android:label="@string/settings_label_launcher" android:name="Settings" android:taskAffinity="com.android.settings" android:launchMode="singleTask" android:configChanges="mcc|mnc|keyboardHidden|orientation|screenSize">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <action android:name="android.settings.SETTINGS" />
                    <category android:name="android.intent.category.DEFAULT" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
    and replace with this code
    HTML:
    <activity android:theme="@*android:style/Theme.NoTitleBar" android:label="@string/settings_label_launcher" android:name="TabbedSettings" android:process="com.android.settings" android:taskAffinity="com.android.settings" android:clearTaskOnLaunch="true" android:launchMode="singleTop">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <action android:name="android.settings.SETTINGS" />
                    <category android:name="android.intent.category.DEFAULT" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
            <activity android:name="PersonalSettings" />
            <activity android:name="ProgramSettings" />
            <activity android:name="DeviceInfoSettings" />
            <activity android:label="@string/settings_label_launcher" android:name="Settings">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.DEFAULT" />
                </intent-filter>
            </activity>
    10. Done
    11. Recompile your settings
    12. Sign and Push it


    SS :: See attachments

    Original Post/Source :: http://archiveandroid.blogspot.com

    IF THIS GUIDE HELPED YOU, DONT SAY THANKS BUT PRESS IT :good:​
    1
    getting error in this step using android multitool

    Code:
    .\Decompiled_apk\SecSettings\smali\android\support\v4\view\PagerAdapter.smali[83,4] Invalid literal value: 16256. Low 16 bits must be zeroed out.
    Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: android/support/v4/view/PagerAdapter.smali
    	at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
    	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
    	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
    	at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
    	at brut.androlib.Androlib.buildSources(Androlib.java:299)
    	at brut.androlib.Androlib.build(Androlib.java:285)
    	at brut.androlib.Androlib.build(Androlib.java:258)
    	at brut.apktool.Main.cmdBuild(Main.java:236)
    	at brut.apktool.Main.main(Main.java:88)
    The system cannot find the file specified.
    The system cannot find the file specified.
    1
    Hey, how did you get all those nice icons in the notification bar in the screenshot?.. Especially the network signal icons?.. I want those! and how did you put them on the left side?..

    Sent from my A110 using Tapatalk

    its my mod, but not for micromax a110 , you can see my mod here http://archiveandroid.blogspot.com/2013/12/theme-stockjbmood-v1-cross-a7s-by-me.html

    but if you want left signal i'll upload my gemini status bar and the icon for you :)