yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Themes and Apps] alinolaw71:
where i must add this ?

.
[Xperia Arc Themes and Apps] lacoursiere18:
This is the name of the app you are trying to add no? Are you sure you understand how to use this guide?
[Xperia Arc Themes and Apps] alinolaw71:
yes bro sorry for my bad english.i put this app to system/app befor.i use nav bttn enabler of sahaab.i just need edit my settings.apk.

.
[Xperia Arc Themes and Apps] lacoursiere18:
Np.. SO when your in settings and you click that title nothing happens? No FC's nothing??
[Xperia Arc Themes and Apps] alinolaw71:
yes bro.when i click that title nothing happens.
[Xperia Arc Themes and Apps] Abhinav_Rocks:
Hey bro.. Is that this tutorial only for xperia or other phones also..??

I have a canvas 2 and i tried but when i click on icon then it says Settings stopped.. Please can you help me..??
[Xperia Arc Themes and Apps] lacoursiere18:
Pull a log..Post it here in a zip
[Xperia Arc Themes and Apps] Abhinav_Rocks:
Okk bro.. Bro one more thing that i have add only framework-res.apk with command "apktool if framework-res.apk" when i decompile Settings.apk, is that SystemUI.apk also needed..?? Bcoz when i compile the Settings.apk then its showing error but build the apk..
[Xperia Arc Themes and Apps] lacoursiere18:
It's prob not errors then just warnings..you have screen shot?
[Xperia Arc Themes and Apps] Abhinav_Rocks:
Here is screenshot bro..:) and bro tell me how to send log to you..??
[Xperia Arc Themes and Apps] lacoursiere18:
Look like all warnings.. use a log app from play store. . Logcat. .Grant it root permission than go hit the settings button that gives you fc..then go back into logcat and save it and upload it;)
[Xperia Arc Themes and Apps] Abhinav_Rocks:
Doing one mistake.. Now working bro.. Thanks a Million.. :) Working awesome..:)
[Xperia Arc Themes and Apps] Abhinav_Rocks:
Where it is..?? Please tell me bro..:)
[Xperia Arc Themes and Apps] Abhinav_Rocks:
Hey buddy... I have successfully added 4-5 apps in ROM and give proper credit also.. Bro i want one more help.. Can you please teach me how to remove such apps from app drawer which is added in setting.. Please bro tell me the procedure..:)
[Xperia Arc Themes and Apps] Josehg:
HI,

You must edit AndroidManifest.xml on the App to be removed from App drawer.

And remove this line from main activity:

<category android:name="android.intent.category.LAUNCHER" />

Sign apk, and push it to your device.

Regards
[Xperia Arc Themes and Apps] Abhinav_Rocks:
Thanks bro..:)
[Xperia Arc Themes and Apps] Abhinav_Rocks:
Will Try But When I Open App Then Setting fc..:(

---------- Post added at 04:01 AM ---------- Previous post was at 03:18 AM ----------

Trying this one method also.. getting same error.. Setting fc..

Can anybody help me..

I m trying these method on following apps :: Xposed Installer, Gravity Box and some more modules of xposed..
[Xperia Arc Themes and Apps] Josehg:
That's strange, without doing these changes, apk works properly?. Did you sign the apk? Once you modified the AndroidManifest, signing its needed.

Enviado desde mi GT-I9100 mediante Tapatalk
[Xperia Arc Themes and Apps] Aciong.Aksaya:
Anyone have a copy of stock .13 fw framework-res? Kindly upload it here please... Thanks
[Xperia Arc Themes and Apps] Abhinav_Rocks:
I Use apktool.. Command is "apktool d example" and after change "apktool b example" and after copy original META-INF and again "apktool b example".. This one method i m using bro..: Tell me i m wrong or right..??

---------- Post added at 11:23 AM ---------- Previous post was at 10:55 AM ----------

Okk bro.. Now i m going to Signed and give you feedback soon..:)

---------- Post added at 11:57 AM ---------- Previous post was at 11:23 AM ----------

After sign.. Working awesome.. thanks a million brother..:) Thanks a lot..:)
[Xperia Arc Themes and Apps] lacoursiere18:
Try to recompile it then add META INF folder and Android Manifest..then try to load it again see if that helps.. you do not need to sign apps unless you are modifying the android manifest;)
[Xperia Arc Themes and Apps] witoong623:
after I added AndroidManifest from the old one now I can use Settings:laugh: but when I open menu that I added it said "Unfortunately, Settings has stopped" :eek:

and now do I have to replace any app that I recompile with the old AndroidManifest from original app?

thank a lot.:o
[Xperia Arc Themes and Apps] lacoursiere18:
Yes. Unless you modify it.

Pull a log and see what the error is when you are getting that force close..
[Xperia Arc Themes and Apps] witoong623:
I forgot about log now I fixed it by delete white space in class and target that cause error.:victory:

Thank you.
[Xperia Arc Themes and Apps] pradeepmaddy:
first of all thank you sir.. its really awesome guide what i searching for :)

but am facing error in it while intenting apps :(

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/kitkatian_apps"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceScreen android:icon="@drawable/ic_bbmanager" android:title="@string/bb_manager">
<intent android:targetPackage="com.bindass.studio.BBoostManager" android:action="android.intent.action.MAIN" android:targetClass="com.bindass.studio.BBoostManager.BBoostManger" />
</PreferenceScreen>
<PreferenceScreen android:icon="@drawable/ic_gravitybox" android:title="@string/gravity_box">
<intent android:targetPackage="com.ceco.gm2.gravitybox" android:action="android.intent.action.MAIN" android:targetClass="com.ceco.gm2.gravitybox.GravityBoxSettings" />
</PreferenceScreen>
<PreferenceScreen android:icon="@drawable/ic_performance" android:title="@string/performance_control">
<intent android:targetPackage="com.brewcrewfoo.performance" android:action="android.intent.action.MAIN" android:targetClass="com.brewcrewfoo.performance.activities.MainActivity" />
</PreferenceScreen>
<PreferenceScreen android:icon="@drawable/ic_xposed" android:title="@string/xposed_installer">
<intent android:targetPackage="de.robv.android.xposed.installer" android:action="android.intent.action.MAIN" android:targetClass="de.robv.android.xposed.installer.WelcomeActivity" />
</PreferenceScreen>
</PreferenceScreen>

am trying for add Gravitybax,Xposedinstaller,Performancetool and BBoostmanager apps.. But settings FC:(

does i did any thing wrong in it??:confused: help me please... Thanks in Advance :) :fingers-crossed:
[Xperia Arc Themes and Apps] Madaditya:
Fc is only coz of wrong target class being called

Upload AndroidManifest.xml for apps which give u Fc on click
[Xperia Arc Themes and Apps] pradeepmaddy:
BBmanager-->BBMANAGER

GravityBox--->GRAVITY

Performance tool--->PERFORMANCE

Xposed app--->XPOSED APP

am using fragment to link this apps... on that i have to knw one thing?? what is android:key="" :confused::confused::confused:
[Xperia Arc Themes and Apps] G.M.L:
I made to do a submenu(GML Settings) and add inside apks and worked perfect but I don't know how to make some headers between apks

G.M.L._V7

http://pasakalis.blogspot.gr
[Xperia Arc Themes and Apps] G.M.L:
Nevermind i found it!!!!!!!!!

Again Perfect tutorial!!!Thank you!!!!!!!!!!!
[Xperia Arc Themes and Apps] softroid:
The same would be true with Cyanogen education?
[Xperia Arc Themes and Apps] arunoday:
Sir i tried your tutorial. Followed all the steps and now unable to compile settings.apk. I am on cynogenmod 11 FXP325 2014-06-25 build.. please help me out:confused:
[Xperia Arc Themes and Apps] Ticklefish:
It's a lot easier to help someone with compiling errors if they say what those compiling errors actually are..
[Xperia Arc Themes and Apps] arunoday:
Here is the log i am providing.. Actually i was trying to merge Active display in settings. Hope u help me out.:)
[Xperia Arc Themes and Apps] arunoday:
Thnx bro for the reply i'll sort it out. :)
[Xperia Arc Themes and Apps] Sheldayo:
Awesome guide! A question though

First, awesome guide! Thank you so much for making it!

I have a question, I'm trying to add some apps to my settings.apk and I want to lock the menu which they're located at with a PIN code. Is that even possible? If yes, can anyone please help me here! Don't even know where to start (after adding the menu...)

Thanks in advance!
[Xperia Arc Themes and Apps] kuronosan:
Excellent guide and I'd really love to apply its principles but unfortunately when I edit the settings_header.xml nothing changes. I can change icons and everything else just fine. Say for instance I change the header for "Power Options" to "Screw this Menu". It still says "Power Options" after I recompile.

No errors decompiling/compiling. Everything works just fine. None of the strings change, none of the menus change. Heck, I even deleted a menu and it STILL shows up.

Thoughts? :(
[Xperia Arc Themes and Apps] deuce_biggins:
If you're changing the value in strings ensure there isn't another strings/values folder for your language. Like for example values-xxXX
[Xperia Arc Themes and Apps] kuronosan:
But why is it the headers don't change? Delete, add, they don't go anywhere. Even tried changing one to bring up accessibility settings and nothing came up.

Edit:

Figured it out. You have to decompile using mediatek-res instead of framework-res.
[Xperia Arc Themes and Apps] accout:
Greate!

it's a nice guide
[Xperia Arc Themes and Apps] Hamidreza2010:
[MENTION=4879131]Saqib Nazm[/MENTION]

i want add some app to setting but dont like show icon app in home or launcher

what should i do ?

i remove:

<category android:name="android.intent.category.LAUNCHER" />''

from Androidmanifest.xml or renamed to :

<category android:name="android.intent.category.DEFAULT" />

but doesnt work.my rom is 4.3 jb on xperia sp

what should i do ?

thanks before
[Xperia Arc Themes and Apps] deuce_biggins:
Try renaming to <category android:name="android.intent.category.GADGET" />
[Xperia Arc Themes and Apps] pang34:
aapt: warning: string 'lgt_service_global_auto_roaming_call_customcenter_summary_nocall' has no default translation in /storage/sdcard0/apk/SecSettings_src/res; found: de es_ES fr it pl ru

aapt: warning: string 'onscreen_keypad' has no default translation in /storage/sdcard0/apk/SecSettings_src/res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW

/storage/sdcard0/apk/SecSettings_src/res/xml/display_settings.xml:42: error: Error parsing XML: no element found

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.4, p, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-I8190NXXANF2, -F, /data/data/per.pqy.apktool/APKTOOL3689780372988693778.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -S, /storage/sdcard0/apk/SecSettings_src/res, -M, /storage/sdcard0/apk/SecSettings_src/AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)

at brut.androlib.Androlib.buildResources(Androlib.java:362)

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

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

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

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

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.4, p, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-I8190NXXANF2, -F, /data/data/per.pqy.apktool/APKTOOL3689780372988693778.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -S, /storage/sdcard0/apk/SecSettings_src/res, -M, /storage/sdcard0/apk/SecSettings_src/AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:481)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:415)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.4, p, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-I8190NXXANF2, -F, /data/data/per.pqy.apktool/APKTOOL3689780372988693778.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -S, /storage/sdcard0/apk/SecSettings_src/res, -M, /storage/sdcard0/apk/SecSettings_src/AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:475)

... 6 more

I: Using Apktool 2.0.0-Beta7 on SecSettings_src

I: Smaling...

I: Building resources...

Help!!! Any idea everybody? ???

send for I8190N R-Mod v3 using XDA Premium 4 mobile app
[Xperia Arc Themes and Apps] Ticklefish:
This is the actual error:

Looks like you need to look at line 42 of your display_setttings.xml..

Apktool errors can look horrible but the information's in there if you know where to look. :)
[Xperia Arc Themes and Apps] pang34:
Thanks, but I don't think display_settings.xml 42 line have any error, 42 line is display_settings.xml last line, it is write </PreferenceScreen>, any idea

send for I8190N R-Mod v3 using XDA Premium 4 mobile app
[Xperia Arc Themes and Apps] lacoursiere18:
Post the xml here.. your missing a symbol at the end of it
[Xperia Arc Themes and Apps] Hamidreza2010:
[MENTION=4879131]Saqib Nazm[/MENTION]

I add the Light Manager pro to setting but when i click on it , get fc

i guess my problem is , name of app

how can i set a correct name of app then put into system / app ?

thanks
[Xperia Arc Themes and Apps] pang34:
/storage/sdcard0/apk/SecSettings_src/res/values-pl/xmls.xml:3: error: Resource entry timezones is already defined.

res/xml-pl/timezones.xml:0: Originally defined here.

/storage/sdcard0/apk/SecSettings_src/res/xml-pl/timezones.xml:1: error: Error parsing XML: no element found

aapt: warning: string 'lgt_service_global_auto_roaming_call_customcenter_summary_nocall' has no default translation in /storage/sdcard0/apk/SecSettings_src/res; found: de es_ES fr it pl ru

aapt: warning: string 'onscreen_keypad' has no default translation in /storage/sdcard0/apk/SecSettings_src/res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.4, p, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-I8190NXXANF2, -F, /data/data/per.pqy.apktool/APKTOOL7793570889880569095.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -S, /storage/sdcard0/apk/SecSettings_src/res, -M, /storage/sdcard0/apk/SecSettings_src/AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)

at brut.androlib.Androlib.buildResources(Androlib.java:362)

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

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

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

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

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.4, p, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-I8190NXXANF2, -F, /data/data/per.pqy.apktool/APKTOOL7793570889880569095.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -S, /storage/sdcard0/apk/SecSettings_src/res, -M, /storage/sdcard0/apk/SecSettings_src/AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:481)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:415)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.4, p, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-I8190NXXANF2, -F, /data/data/per.pqy.apktool/APKTOOL7793570889880569095.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -S, /storage/sdcard0/apk/SecSettings_src/res, -M, /storage/sdcard0/apk/SecSettings_src/AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:475)

... 6 more

I: Using Apktool 2.0.0-Beta7 on SecSettings_src

I: Smaling...

I: Building resources...

Now this error, any idea :(

send for I8190N R-Mod v3 using XDA Premium 4 mobile app
[Xperia Arc Themes and Apps] pang34:
Now recompile SecSettings.apk successful and sign successful, but in settings→display nothing changes :( anybody help me

send for I8190N R-Mod v3 using XDA Premium 4 mobile app
[Xperia Arc Themes and Apps] lacoursiere18:
Here:

storage/sdcard0/apk/SecSettings_src/res/values-pl/xmls.xml:3: error: Resource entry timezones is already defined.

res/xml-pl/timezones.xml:0: Originally defined here.

/storage/sdcard0/apk/SecSettings_src/res/xml-pl/timezones.xml:1: error: Error parsing XML: no element found

So timezones.xml, again another symbol missing and values-pl/xmls.xml, you already have timezones defined

---------- Post added at 07:02 AM ---------- Previous post was at 07:00 AM ----------

You must have not changed the correct xml..that's the only way something doesn't "show"
[Xperia Arc Themes and Apps] daemon1666:
Hello everyone,

I would add the info cpu, memory ...

I followed this tutorial:

http://xdaforums.com/chef-central/android/guide-how-to-add-extra-options-sections-t2806600

But it does not work, from the point 10.

And if I replace the file device_info_settings.apk

I can not even compile in 8.

it's been 3 weeks since I search a solution.

Excuse me what are my start in dev.

And my english who is not perfect

Thx
[Xperia Arc Themes and Apps] lacoursiere18:
Can you please post your cmd prompt of when you try to compile...I'll look through it and tell you what you need to fix
[Xperia Arc Themes and Apps] lacoursiere18:
You need to replace you apktool with v1.52 in advance apktool.. I don't use these "tools" bc of this reason...
[Xperia Arc Themes and Apps] daemon1666:
it's just this little error :) ????

this is one month that I search solution

---------- Post added at 07:43 PM ---------- Previous post was at 07:27 PM ----------

when I use the apktool 1.5.2

I have this error

D:\prog\Android\Softwares\AdvancedApkTool\1-BDFreak>apktool b Settings
I: Checking whether sources has changed...
I: Smaling...
[35,4] Error for input '.param': Invalid directive
[36,4] Error for input '.param': Invalid directive
[45,4] Error for input '.param': Invalid directive
[46,4] Error for input '.param': Invalid directive
[35,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
[45,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file
: D:\prog\Android\Softwares\AdvancedApkTool\1-BDFreak\Settings\smali\android\sup
port\v13\app\FragmentCompat$BaseFragmentCompatImpl.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)

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

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
[Xperia Arc Themes and Apps] lacoursiere18:
Send me the link to the guide again..Your previous one did not work.
[Xperia Arc Themes and Apps] daemon1666:
sorry it's a bug with copy/past :)

http://xdaforums.com/chef-central/android/guide-how-to-add-extra-options-sections-t2806600
[Xperia Arc Themes and Apps] lacoursiere18:
You need to decompile your settings again using v1.52, mod it following the guide, then recompile.. It should be fixed after that
[Xperia Arc Themes and Apps] daemon1666:
this is my original Settings.apk and my framework.

https://www.dropbox.com/s/e8j2gr0kfbs5vkw/Settings%20And%20Framework.rar?dl=0

I don't know if it's necessary for you.

I don't want that you make it for me.. But, I want understand where is my error.

I have already installed the correct framework. And when I don't change the .smali. Everything it'ok

---------- Post added at 08:26 PM ---------- Previous post was at 08:19 PM ----------

Thx, and again sorry for my english

I know, I must decompile the Settings 2 times. But, the error appears at the first decompiling.

If I don't change the .smali, Idon't have errors, the Settings.apk it's ok in my rom. But I don't have the informations
[Xperia Arc Themes and Apps] lacoursiere18:
You have v1.52 of apktool now correct? Delete your original Settings.apk that you modded. Decompile a TOTALLY STOCK one.. Apply the edits from the guide and the smali file.. Recompile..

It will work. Trust me

This error occurs bc different versions of apktool baksmali (aka decomile smali code) differently. The guide you are following, the Member who posted it was using apktool v1.52 to decompile his apk. So you need to as well..the other option is a lengthy one..
[Xperia Arc Themes and Apps] daemon1666:
Yes, I have the apktool1.52

ok I understand now ;) sorry

I make it and I come back

---------- Post added at 09:25 PM ---------- Previous post was at 08:31 PM ----------

THX for you help I'm sorry for many questions but I'm newbie on dev.

this is my last problem ^^

When I search the id... I found 2 items

And I don't understand... What should I do on steps 11 and 12?
[Xperia Arc Themes and Apps] lacoursiere18:
OK so open up public.xml..Search device_info_settings.. When you find it copy the id, it will be 0x7***** (something). Now open up DeviceInfoSettings.smali.. and search 0x7f040010. Change it to your id...
[Xperia Arc Themes and Apps] daemon1666:
that's the problem, for me

when I search:

Device_Info_Settings:

the result is:

Line 451: <public type="xml" name="device_info_settings" id="0x7f050011" />

Line 2469: <public type="string" name="device_info_settings" id="0x7f0b04a8" />

I don't know which one to choose

this a part of .smali with 0x7f040010

# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
.locals 4
.parameter "icicle"

.prologue
.line 56
invoke-super {p0, p1}, Landroid/preference/PreferenceActivity;->onCreate(Landroid/os/Bundle;)V

[COLOR="Red"] .line 58
const v1, 0x7f040010

invoke-virtual {p0, v1}, Lcom/android/settings/DeviceInfoSettings;->addPreferencesFromResource(I)V[/COLOR]

.line 60
new-instance v0, Landroid/util/DisplayMetrics;

invoke-direct {v0}, Landroid/util/DisplayMetrics;-><init>()V

.line 61
.local v0, m:Landroid/util/DisplayMetrics;
invoke-virtual {p0}, Lcom/android/settings/DeviceInfoSettings;->getWindowManager()Landroid/view/WindowManager;

move-result-object v1

invoke-interface {v1}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

move-result-object v1

invoke-virtual {v1, v0}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V

.line 63
const-string v1, "device_cpu"

invoke-direct {p0}, Lcom/android/settings/DeviceInfoSettings;->getCPUInfo()Ljava/lang/String;

move-result-object v2

invoke-direct {p0, v1, v2}, Lcom/android/settings/DeviceInfoSettings;->setStringSummary(Ljava/lang/String;Ljava/lang/String;)V
[Xperia Arc Themes and Apps] lacoursiere18:
Oh.. Sorry miss understood you.. You want the XML not the string.

String are usually defined by a "const - string" and then a name in smali code..not a id.. Id's in smali are usually bools, xmls, drawables..
[Xperia Arc Themes and Apps] daemon1666:
Sorry

But I don't understand...:confused:

I must to replace the 0x7f040010 [into device_info_settings.smali]

by

this id: 0x7f050011 [into public.xml]
[Xperia Arc Themes and Apps] lacoursiere18:
Yes that is correct. .don't be sorry asking ?s is the only way we ALL learn;)