yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] MatZ69:
Awesome :D

Its a good way to make the settings look like MIUI^^

Ty for sharing
[Android Software/Hacking General [Developers Only]] MatZ69:
Hey i have one problem...

The tab_indicator.xml is missing in your files but i managed one way to do that, the problem is that i followed your guide and the settings guive me FC...

The logcat says that the error is in TabbedSettings.smali

There is the code.

E/AndroidRuntime(3701): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.TabbedSettings}: android.view.InflateException: Binary XML file line #2: Error inflating class selector
09-24 23:04:02.389 E/AndroidRuntime(3701):	at com.android.settings.TabbedSettings.createTabView(Tab.java:95)
09-24 23:04:02.389 E/AndroidRuntime(3701):	at com.android.settings.TabbedSettings.setupTab(Tab.java:79)
09-24 23:04:02.389 E/AndroidRuntime(3701):	at com.android.settings.TabbedSettings.onCreate(Tab.java:67)
09-24 23:04:02.389 E/AndroidRuntime(3701): Caused by: java.lang.ClassNotFoundException: android.view.selector in loader dalvik.system.PathClassLoader[/system/framework/twframework.jar:/system/app/Settings.apk]

I reviewed the all the codes and they match, but isnt working at all.

Can u help me?
[Android Software/Hacking General [Developers Only]] pabloltg:
Yup, problems with tab_indicator.. i've made one (in attach, change .txt for .xml), put in drawable and every works fine in CM7.. but not work in CM10:(, some ideas?

_________________

View attachment 1352411
[Android Software/Hacking General [Developers Only]] MatZ69:
Yh but still have the samr problem.

Can u share your apk to compare?
[Android Software/Hacking General [Developers Only]] samsoul16:
Luv U DJ...!!! Awesome one..

Sent from my GT-S6102 using Xparent SkyBlue Tapatalk 2
[Android Software/Hacking General [Developers Only]] CoD.<D.J.>:
Included tab_indicator.xml into settings.zip.. Sry guys I forgot to add it.
[Android Software/Hacking General [Developers Only]] MatZ69:
Np i figure out how do it. Thanks a lot
[Android Software/Hacking General [Developers Only]] hell_lock:
Cant understand from step 6
[Android Software/Hacking General [Developers Only]] nextsmoothproject:
It can't compile

sorry, i can't compile my edited settings.apk at the 6 step, because apktool can't find a drawable that is @drawable/tab_focus...

In your zip there isn't that file, and that it's not included in my decompiled settings.apk (galaxy mini s5570)

this is a splitted part of my log

\projects\Settings.apk\res\drawable\tab_indicator.xml:6: error: Error: No resource found that
matches the given name (at 'drawable' with value '@drawable/tab_focus').
[Android Software/Hacking General [Developers Only]] MatZ69:
Just copile and then decopile again Settings.apk

copy tab_pressed and rename it to tab_focus. I think that u need 4 tab_*** images
[Android Software/Hacking General [Developers Only]] gerald78:
hi, I has followed the guide...but settings didn't appear...and I think we have same problems here...can you share your apk for compare..:)

Btw I using galaxy mini
[Android Software/Hacking General [Developers Only]] ryanfebriyadi:
app not show

sir, i've edited my settings.apk,,editing and recompiling succeed without errors,,but the app not appear on my drawer..i also made 2 variants (signed and unsigned),,it still disappear frm my drawer..
[Android Software/Hacking General [Developers Only]] vikasb32:
i decompiled setting.apk but there is no TabbedSettings.smali.i am using cm7
[Android Software/Hacking General [Developers Only]] Chris95X8:
Please, if anybody knows how to make this with Java code, make a tutorial. Please!
[Android Software/Hacking General [Developers Only]] jetx2x:
It is inside the zip posted in the OP
[Android Software/Hacking General [Developers Only]] aways:
how i can fix it ?
[Android Software/Hacking General [Developers Only]] Robobob1221:
Settings not appearing

The Settings recompiled okay, and I placed the META-INFO from the original apk into the modified version.

However after pushing to system and setting permission and everything the Settings.apk is not opening and isn't appearing in my apps drawer.

Having problems with activities not being recognised in Manifest.xml

Also I'm trying this on a htc evo 4g.

You mention this in your OP:

Note.. Look for the DeviceInfoSettings.smali in smali/com/android/settings/ if it doesn't exist then You have to change it with correct activity in TabbedSettings.smali. Find DeviceInfoSettings in TabbedSettings.smali and change it to another activity name.

What activity am I to change it too, my settings name or something else?
[Android Software/Hacking General [Developers Only]] riteshbendre:
Thanks for a near perfect guide ... will try it out ... :)
[Android Software/Hacking General [Developers Only]] venkat kamesh:
impressive i will try to do

thanks hit-ed

edit: having fun as well with few problem on compile
[Android Software/Hacking General [Developers Only]] Deadly:
awesome.. got featured in xda portal !! thanks for this... http://www.xda-developers.com/android/add-tabs-to-your-settings-with-swype-gesture/ will try for my custom rom..
[Android Software/Hacking General [Developers Only]] petrukgrinder:
+1 i lost my settings.apk too .. :(
[Android Software/Hacking General [Developers Only]] Deadly:
if you really did push meta-info folder.. then it was bound to happen.. rename the folder to meta-inf and see
[Android Software/Hacking General [Developers Only]] vikasb32:
I tried your guide everything complie without error but when i push it to my ph nd run my setting is fc.i follow all your steps.do you know what is the cause of fc.btw my device is mdpi.
[Android Software/Hacking General [Developers Only]] CoD.<D.J.>:
Post your logcat if you have force close
[Android Software/Hacking General [Developers Only]] samsoul16:
Check ur inbox plz...

Sent from my GT-S6102 using Xparent SkyBlue Tapatalk 2
[Android Software/Hacking General [Developers Only]] petrukgrinder:
where i can have it? :confused:

on step 9 i can't understand.. i use xperia x8 with cm7 rom..
[Android Software/Hacking General [Developers Only]] lreyes:
need help!

i did everything exactly and heres my cmd problems
[Android Software/Hacking General [Developers Only]] akamachine45:
Video guide

It would be awesome if you could make a video guide...im a noob, sorry!

BTW it looks very sleek!!
[Android Software/Hacking General [Developers Only]] rirozizo:
where do i change the app's activity to match android.settings.SETTINGS?

i tried in AndroidManifest.xml and it's the same... any ideas?

i have attached the two Settings.apk files for comparison
[Android Software/Hacking General [Developers Only]] jbaumert:
I am having trouble with the "System" tab on my own rework of the Settings. Whenever I swipe to, or select it, the Settings app will force close. Just curious where this tab is referenced to see what its trying to select to troubleshoot. Thanks
[Android Software/Hacking General [Developers Only]] lokeshsaini94:
tab_focus.9.png missing in attachments......

and hey i tried this guide on galaxy ace plus my settings don't up... just invisible... launcher app not found...

any idea where i did wrong...
[Android Software/Hacking General [Developers Only]] samsoul16:
Redownload the attachment on first post. He has fixed that most probably by reuploading the new instead of old..
[Android Software/Hacking General [Developers Only]] lokeshsaini94:
downloaded third time... its not there...
[Android Software/Hacking General [Developers Only]] samsoul16:
Look page 2 of this thread their is a solution to ur problem...

Hit "THANKS" IF IT "HELPS!!!"

Sent from my GT-S6102 using ICS FUSION ROM
[Android Software/Hacking General [Developers Only]] ocoot:
hi op, i have some problem for this. I want to add a tab setting from 4 to 5 and was successful I might add. I add some script in the strings.xml then add the file shortcut.xml to a folder xml and add shortcutsetting.smali in smali then added smali also tabbedsetting.smali but when I insert into the system settings tab why I do not want to work (FC)? please help me:(

this is the logcat https://www.dropbox.com/s/enzyueij3h2e17x/log.txt?m

this is for my settings https://www.dropbox.com/s/ixd508yf0oapww9/unsignedSettings.apk

please help me :(
[Android Software/Hacking General [Developers Only]] The "A" Factor:
[/QUOTE][/QUOTE]

Please Help!!!!!

I'm using CyanogenMod 7.2

I got no compilation errors and followed all the steps correctly, but Setting icon has gone from app drawer...

LOGCAT:

W/KeyCharacterMap( 600): Can't open keycharmap file
W/KeyCharacterMap( 600): Error loading keycharmap file '/system/usr/keychars/se
c_touchscreen.kcm.bin'. hw.keyboards.65537.devname='sec_touchscreen'
W/KeyCharacterMap( 600): Using default keymap: /system/usr/keychars/qwerty.kcm.
bin
I/ActivityManager( 320): Starting: Intent { act=android.settings.SETTINGS flg=0
x10200000 } from pid 600
W/InputManagerService( 320): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Proxy@40660af0
[Android Software/Hacking General [Developers Only]] jbaumert:
Got an update on this. A fellow dev, Planters76, decided to take a look at this as part of another project. He came to the conclusion that the problem was in AndroidManifold.xml. By adding

android:process="com.android.phone"

, he was able to get it to work:

Old Manifest:

<activity android:theme="@android:style/Theme.NoTitleBar" android:label="@string/settings_label_launcher" android:name="TabbedSettings" android:taskAffinity="com.android.settings" android:clearTaskOnLaunch="true" android:launchMode="singleTop">

New Manifest:

<activity android:theme="@android:style/Theme.NoTitleBar" android:label="@string/settings_label_launcher" android:name="TabbedSettings" android:process="com.android.phone" android:taskAffinity="com.android.settings" android:clearTaskOnLaunch="true" android:launchMode="singleTop">

Hope this helps others out trying to get the "System" tab to work.
[Android Software/Hacking General [Developers Only]] dam93:
I have this problem

C:\apktool>apktool b Settings

I: Checking whether sources has changed...

I: Smaling...

Exception in thread "main" java.lang.NullPointerException

at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)

at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2922)

at org.antlr.runtime.CommonTokenStream.getSourceName(CommonTokenStream.j

ava:345)

at org.antlr.runtime.Parser.getSourceName(Parser.java:88)

at org.jf.smali.smaliParser.getErrorHeader(smaliParser.java:358)

at org.antlr.runtime.BaseRecognizer.displayRecognitionError(BaseRecogniz

er.java:192)

at org.antlr.runtime.BaseRecognizer.reportError(BaseRecognizer.java:186)

at org.jf.smali.smaliParser.fixed_32bit_literal(smaliParser.java:5287)

at org.jf.smali.smaliParser.instruction(smaliParser.java:11207)

at org.jf.smali.smaliParser.statements_and_directives(smaliParser.java:1

841)

at org.jf.smali.smaliParser.method(smaliParser.java:1609)

at org.jf.smali.smaliParser.smali_file(smaliParser.java:595)

at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:71)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)

at brut.androlib.Androlib.buildSources(Androlib.java:179)

at brut.androlib.Androlib.build(Androlib.java:170)

at brut.androlib.Androlib.build(Androlib.java:154)

at brut.apktool.Main.cmdBuild(Main.java:182)

at brut.apktool.Main.main(Main.java:67)

==================================================================

how to fix it? help me please :S

My cellphone is a LG-P350 Optimus Me
[Android Software/Hacking General [Developers Only]] dam93:
I solved this problem :D but don´t work on my CM7.2 for LG-P350.....Nice job man and good lucky :good:
[Android Software/Hacking General [Developers Only]] samsoul16:
Done everything properly. Compiles without errors but no tabs plz help. See Ss
[Android Software/Hacking General [Developers Only]] samsoul16:
Dude in res drawable-ldpi there is an image tab_press.png. Copy it to somewhere else and rename to tab_focus.png. Now go and save in drawable-ldpi...

"T}{@ÑK$" ÑøT TÕ $Ä¥ Jû§T Pr€ë$ ÎT...!!! :P

Sent From MY ¥ Dûø$ Üs!nG ËvÕ X RoM V¡Å XpArEnT TaPtAlK 2
[Android Software/Hacking General [Developers Only]] Mlro Team:
:highfive:

I removed the document solved tab_indicator erased:

new

:good:

<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="false" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/tab_unselected" />
<item android:state_focused="false" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/tab_selected" />
<item android:state_pressed="true" android:drawable="@drawable/tab_press" />
</selector>

:highfive:

old:mad:

<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="false" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/tab_unselected" />
<item android:state_focused="false" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/tab_selected" />
<item android:state_focused="true" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/tab_focus" />
<item android:state_focused="true" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/tab_focus" />
<item android:state_pressed="true" android:drawable="@drawable/tab_press" />
</selector>

Now I have another problem with the file AndroidManifest:confused:

when I make the change to pass the new apk file / app

not installed and treated much more than 20 times:silly:

and not to do ...:confused:

Please help

please help Take a look at my files
[Android Software/Hacking General [Developers Only]] varun.chitre15:
It won't work that way :p

When you modify AndroidManifest.xml you have to sign the apk and if you sign it, the system will reject it because the new signature won't match the system uid.

To avoid this you have to resign all the apks in /system/app and then push the signed and modded Settings.apk

Hope that helps
[Android Software/Hacking General [Developers Only]] Mlro Team:
Thanks I read a previous post

but many thanks I will later, as you say :highfive:

But now I'm trying to figure out to make a new AndroidManifest

I too am a newbie slowly learning I can no more ....:crying:

---------- Post added at 06:34 PM ---------- Previous post was at 06:21 PM ----------

When I compile the application I do is the following:

1. Compile the changes

2. I question the Apktool Y / n and o n I confirm in n

3. In projects / build / apk move the new files to the application within

4. But first delete the file to replace

I appreciate your report is correct but I think my thing
[Android Software/Hacking General [Developers Only]] varun.chitre15:
And thats where you go wrong :p

when it asks you whether its system app you have prompt no and then sign it
[Android Software/Hacking General [Developers Only]] Mlro Team:
Thank you very much and thank you no joy in my answer

thanks sap really try not to do with your future veteran

Now I have little time, eventually managed to put the tab_focus, I -

downloaded (ICS Trans for Creeds Rom) and I managed to get pulled out the Spanish language settings

I got to my GT S5570 and I could see everything but I equiboque to sign in (n) and then prepared a flash haver. zip, to push the zip to the root had a disappointment grn

I only saw that settings only, everything suddenly changed.

I managed to fix a sound before but would not let me enter setup volume up and down now if I can and another in light of brilliance but also left me without enbargo now after much study if I can.

I have everything in settings of Creeds to myself that in a enpuje now can not wiggle the tap settings only see very sad not only achieving the final push

in AndroidManifest'm trying but nothing.

Behavior please help me everything works great only one thing on the menu settings (more. ..)

I can not enter your entry will not let me not go into more bug me

any ideas get into (more. ..) where is that devo touch to arrange.

I left a couple of screenshots to see I'm not lying, I managed and after a failure thrust drag, now I try the more I can not go there:
[Android Software/Hacking General [Developers Only]] Mlro Team:
GOT

:victory:

I did the problem was with the firm and my little experience

these days I took a much greater

but it is rewarding to see my work, but then thanks

first to the great work of professionals, I'm just an apprentice

and thank you for your answers to all boys and as to CoD. <DJ>:fingers-crossed:

for his great tutorial many thanks and another pole.:cool:

You have some screenshots as I was:

I think my previous problem was caused or because it

not modify the files. smali:

a screenshot of my new setting:

​
[Android Software/Hacking General [Developers Only]] gerald78:
need help

I has signed settings apk and my rom, but settings still disappear :(
[Android Software/Hacking General [Developers Only]] WYPIERDAALAAC:
someone was able to do this on CM7?
[Android Software/Hacking General [Developers Only]] rirozizo:
nope, tried several times on severals different ROMs

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[Android Software/Hacking General [Developers Only]] gerald78:
+1, I has try in cm7 rom too and still no luck, any one can help?
[Android Software/Hacking General [Developers Only]] kaosda:
manifest error, pliss help

:(
[Android Software/Hacking General [Developers Only]] BigSplit:
First, big thanks for the OP. It wasn't quite perfect for ASOP ICS, but I was able to mod it and getting it working on ICS.

If you're using a ASOP rom try downloading the private keys from CyanogenMod's 'android_build' github repo and sign the apk with those.
[Android Software/Hacking General [Developers Only]] desalesouche:
hi .how to add a feature in setting.apk from cm7.2 to set schedulers?....
[Android Software/Hacking General [Developers Only]] RizaLeon:
proses compile not error but no change in my settings and not FC..

what wrong with me ?

My Esia Ngoceh Awet Battre
[Android Software/Hacking General [Developers Only]] GuneetAtwal:
Trying from the last 2 weeks but not getting success the settings just disappear can some body help me out:(
[Android Software/Hacking General [Developers Only]] Blaze:
permission

can i use this tutorial for changing the stock settings and use it in our rom???
[Android Software/Hacking General [Developers Only]] ethical ricado:
Stucked at recompiling

where am i wrong..? please help

and btw...i am trying it on a custom rom based on gingerbread

log
[Android Software/Hacking General [Developers Only]] rirozizo:
in my opinion, OP isn't helping here, there's something wrong with the guide and users/devs can't make their own settings.apk modded.

-------------------------------------

^ this bar means i'm using my phone
[Android Software/Hacking General [Developers Only]] XivilidMohamed:
U lost "tab_focus.9.png" file, just create or copy 1 file and rename to tab_focus.9.png and recompile.
[Android Software/Hacking General [Developers Only]] ethical ricado:
i tried...bt still failed....i replace tab press file with some other file...but still failed

EDIT: I MANAGED TO DO IT AND IT WORKED

Please help me regarding step 8

i am a bit confused....what am i suppose to replace with what..?
[Android Software/Hacking General [Developers Only]] Josehg:
Hi,

You must search on your public.xml file (after decompiling the second time) the name, for example the first line in step 8 is "slide_out_left", here you can see its id, in my public.xml file is 0x7f050003. Keep this id.

Now search in TabbedSettings.smali, the value on the left side of the tutorial, 0x7f0c0002, once located, replaced this value with the one from your public.xml.

The original code: const v4, 0x7f0c0002

must be: const v4, 0x7f050003

Hope it helps
[Android Software/Hacking General [Developers Only]] sewer56lol:
I would rather prefer to ask how to get those Jellybean like titles for categories.
[Android Software/Hacking General [Developers Only]] paku payung:
hy guys...i conmleted this step..after copy meta-inf.via winrar and push to system.app

but i have notification this app not instaled...any solution?
[Android Software/Hacking General [Developers Only]] Artha_CR:
in JB rom I not found <public type="anim" name="slide_out_left" id="0x7f0c0002" /> and etc in res/values/public.xml

how to edit this?? :crying:

i want tabs setting your mods in my rom.. :crying:
[Android Software/Hacking General [Developers Only]] tdunham:
Anyone get this ported over to JB (4.1.2) yet?

I would be interested to see your changes as my SecSettings.apk force closes with this fatal error.

FATAL EXCEPTION: main

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.TabbedSettings}: android.view.InflateException: Binary XML file line #2: Error inflating class selector

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2110)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)

at android.app.ActivityThread.access$700(ActivityThread.java:140)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)

at android.os.Handler.dispatchMessage(Handler.java:99)

at android.os.Looper.loop(Looper.java:137)

at android.app.ActivityThread.main(ActivityThread.java:4938)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:511)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)

at dalvik.system.NativeStart.main(Native Method)

Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class selector

at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)

at android.view.LayoutInflater.inflate(LayoutInflater.java:467)

at android.view.LayoutInflater.inflate(LayoutInflater.java:397)

at android.view.LayoutInflater.inflate(LayoutInflater.java:353)

at com.android.settings.TabbedSettings.createTabView(Tab.java:95)

at com.android.settings.TabbedSettings.setupTab(Tab.java:79)

at com.android.settings.TabbedSettings.onCreate(Tab.java:67)

at android.app.Activity.performCreate(Activity.java:5188)

at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)

... 11 more

Caused by: java.lang.ClassNotFoundException: android.view.selector

at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)

at java.lang.ClassLoader.loadClass(ClassLoader.java:501)

at java.lang.ClassLoader.loadClass(ClassLoader.java:461)

at android.view.LayoutInflater.createView(LayoutInflater.java:558)

at android.view.LayoutInflater.onCreateView(LayoutInflater.java:649)

at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:66)

at android.view.LayoutInflater.onCreateView(LayoutInflater.java:666)

at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:691))

Cheers - TD
[Android Software/Hacking General [Developers Only]] Rydlis:
Try this tutorial --> http://xdaforums.com/showthread.php?t=2103158 ,for Android ICS+
[Android Software/Hacking General [Developers Only]] uriel_zo:
atrix 4g in

in gingerbread 2.3.6

my settings.apk

with tabs

disappears

after doing full wipe.

any idea?
[Android Software/Hacking General [Developers Only]] Zius:
How can i remove or edit the system tab? The content of it is already in the about phone in settings.