yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Themes and Apps] daemon1666:
:) Thank you anyway :)

I tried to get help on the other post, but for me, it was not be as beneficial than here

I'm going to test it :cowboy:

---------- Post added at 01:29 AM ---------- Previous post was at 01:26 AM ----------

now the second comilation it's ok :)

---------- Post added at 01:53 AM ---------- Previous post was at 01:29 AM ----------

I don't have chance with this settings.apk.... :(

I have a FC just when I have opened the About section

Other settings are ok

I have signed the apk with the correct tool and framework....
[Xperia Arc Themes and Apps] lacoursiere18:
Pull a log for me I'll look through it
[Xperia Arc Themes and Apps] daemon1666:
I would like but i can not activate the mod debug in devlopeur settings.

then I have used logcat on a terminal on my nexus 5

u0_a84@hammerhead:/ $ logcat
--------- beginning of /dev/log/main
I/dalvikvm(13864): Enabling JNI app bug workarounds for target SDK version 11...
E/Term (13864): onCreate
D/Term (13864): TermService started
I/TermService(13864): Activity called onBind()
I/Adreno-EGL(13864): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
D/OpenGLRenderer(13864): Enabling debug mode 0
I/Term (13864): Bound to TermService
I/TermService(13864): Activity binding to service
D/dalvikvm(13864): Trying to load lib /data/app-lib/jackpal.androidterm-1/libjackpal-androidterm4.so 0x427b60f8
D/dalvikvm(13864): Added shared lib /data/app-lib/jackpal.androidterm-1/libjackpal-androidterm4.so 0x427b60f8
I/libjackpal-androidterm(13864): JNI_OnLoad
I/Term (13864): waiting for: 13884
I/Timeline(13864): Timeline: Activity_idle id: android.os.BinderProxy@427b3c78 time:2623206
I/Timeline(13864): Timeline: Activity_idle id: android.os.BinderProxy@427b3c78 time:2725179
W/IInputConnectionWrapper(13864): showStatusIcon on inactive InputConnection
I/Term (13864): Subprocess exited: 129
E/Term (13864): onCreate
D/Term (13864): TermService started
I/TermService(13864): Activity called onBind()
I/Term (13864): Bound to TermService
I/TermService(13864): Activity binding to service
I/Term (13864): waiting for: 14280
I/Timeline(13864): Timeline: Activity_idle id: android.os.BinderProxy@42879050 time:2732546
W/IInputConnectionWrapper(13864): showStatusIcon on inactive InputConnection
I/Timeline(13864): Timeline: Activity_idle id: android.os.BinderProxy@42879050 time:2754848
W/InputEventReceiver(13864): Attempted to finish an input event but the input event receiver has already been disposed.
W/IInputConnectionWrapper(13864): showStatusIcon on inactive InputConnection
I/Term (13864): Subprocess exited: 129
E/Term (13864): onCreate
D/Term (13864): TermService started
I/TermService(13864): Activity called onBind()
I/Term (13864): Bound to TermService
I/TermService(13864): Activity binding to service
I/Term (13864): waiting for: 14575
I/Timeline(13864): Timeline: Activity_idle id: android.os.BinderProxy@42840520 time:2788567
W/IInputConnectionWrapper(13864): showStatusIcon on inactive InputConnection
[B][COLOR="Red"]I/Timeline(13864): Timeline: Activity_idle id: android.os.BinderProxy@42840520 time:2804982
W/IInputConnectionWrapper(13864): showStatusIcon on inactive InputConnection
I/Timeline(13864): Timeline: Activity_idle id: android.os.BinderProxy@42840520 time:2975724[/COLOR][/B]
[Xperia Arc Themes and Apps] kuronosan:
So odd. No matter what I do I can't make extra settings in this mtk settings menu. All of the smali is there for advanced BT, SIM, etc. There's no way to get it to appear.
[Xperia Arc Themes and Apps] lacoursiere18:
Thats not it...

Please upload the full log
[Xperia Arc Themes and Apps] lacoursiere18:
You need to check this out:

Trying to instantiate a class com.android.setti
ngs.DeviceInfoSettings that is not a Fragment

Can you show me your original device_info_settings.xml please.. Not modded..

and the modded one
[Xperia Arc Themes and Apps] daemon1666:
this is the original he come from the rom
[Xperia Arc Themes and Apps] daemon1666:
here is the .xml sorry
[Xperia Arc Themes and Apps] daemon1666:
Sorry I have miss the modded
[Xperia Arc Themes and Apps] daemon1666:
sorry bur I dont understand this

I'm newbie
[Xperia Arc Themes and Apps] G.M.L:
please in this Manifest which is the targetpackage and which the targetclass??? thanks
[Xperia Arc Themes and Apps] daemon1666:
hello

You don't have an idea?

I don't have undertand this

Trying to instantiate a class com.android.setti
ngs.DeviceInfoSettings that is not a Fragment

I'm sorry for many questions

Thx
[Xperia Arc Themes and Apps] MPKMRS:
solution

the screen shot is incomplete just observe above from where u type command apktool b settings

when at bulidng resources it will show exactly where is the error bellow like this

D:\apktool\settings\res\\values like this its example not exact u need to she ther in the exact line it shows line no also i think u got my point

if u got the solution hit thanks
[Xperia Arc Themes and Apps] MPKMRS:
need help

hey folks am rj

i need a strong from u guys am added quick panel my systemui.apk quick panel is working fine and i followed this guide

http://xdaforums.com/showthread.php?t=2387626

but the problem is its working fine but notifications is not showing when expended any one please help me where i missed

thanks in advance

here is my status_bar_expanded.xml
[Xperia Arc Themes and Apps] SmiLeToLife:
How to add headers in Settings/about to display Developer Name & Rom Name

Hello,

I am trying to add Developer Name and Rom Name to my settings submenu but they don't appear in About Phone. I decompiled the settings.apk and edited device_info_setting.xml and values/string.xml, compiled it and everything is fine but the headers don't appear. I on KitKat 4.4.2 MTK6589. Any idea? Thanks in advance.
[Xperia Arc Themes and Apps] Murali dharan:
I created a header but it fc!
[Xperia Arc Themes and Apps] Murali dharan:
Showing error when adding settings_headers.xml.. (error parsing xml :unbound prefix)

Works perfectly on other xml (such as display_settings.xml. )

Any solution??
[Xperia Arc Themes and Apps] dangminhctld:
Help me remove scenes in menu display setting.apk

---------- Post added at 10:34 PM ---------- Previous post was at 10:20 PM ----------

Up
[Xperia Arc Themes and Apps] linus98:
Hello guys, could you help me to find

Android: targetPackage - Android: targetClass - android: action

Also I do not find either the string to hide the application in the App Drawer

https://www.dropbox.com/s/996jbuep2lar8as/AndroidManifest.xml?dl=0

Thanks
[Xperia Arc Themes and Apps] Madaditya:
Package : com.dolby

Class : com.dolby.DS1Application
[Xperia Arc Themes and Apps] linus98:
...the string to hide the application in the App Drawer?
[Xperia Arc Themes and Apps] afah_me:
error recompile

excuse me sir,i have tried modding setting like OP but i got error when recompiling apk...:confused:

here log error

View attachment Settings.apk_2014-11-03-_23-34.txt

can someone explain this? :)

thank's for help me :good::good::good:
[Xperia Arc Themes and Apps] mjraogr:
How Add 2 or more apps on Header_category_advanced

Hello, very good guide

I done the step 1 and add the xposed installer and recompiled.

After i was decompile again to add other app on same header ( Advanced) just the apktool returns error below

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\power\AppData\Local\Temp\APKTOOL537618583008755651.tmp, -I, C:\Users\power\apktool\framework\1.apk, -S, C:\Users\power\APK-Multi-Tool\other\..\projects\SecSettings.apk\res, -M, C:\Users\power\APK-Multi-Tool\other\..\projects\SecSettings.apk\AndroidManifest.xml]

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

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

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

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

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

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

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

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\power\AppData\Local\Temp\APKTOOL537618583008755651.tmp, -I, C:\Users\power\apktool\framework\1.apk, -S, C:\Users\power\APK-Multi-Tool\other\..\projects\SecSettings.apk\res, -M, C:\Users\power\APK-Multi-Tool\other\..\projects\SecSettings.apk\AndroidManifest.xml]

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

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

... 6 more

on settings header i wrote new lines below xposed installer with codes by new app hkthemer

</header>
<header android:title="@string/header_category_advanced" />
<header android:icon="@drawable/ic_settings_xpo" android:title="@string/xpo_installer">
<intent android:targetPackage="de.robv.android.xposed.installer" android:action="android.intent.action.MAIN" android:targetClass="de.robv.android.xposed.installer.WelcomeActivity" />
<header android:icon="@drawable/ic_settings_hk" android:title="@string/hk_themes">
<intent android:targetPackage="com.haiduongbk.hkthememanager" android:action="android.intent.action.MAIN" android:targetClass="com.haiduongbk.hkthemermanager.MainActivity" />
</header>

In strings i was add the last line with code below (line 4077) . The first is together header_category (4071 & 4072 lines)

<string name="hk_themes">Theme Chooser</string>

what is wrong ?, i dont know translate de error, if its necessary add a new header or repeats full code in settings_header

Can you help?

Grats

MJ
[Xperia Arc Themes and Apps] UzUmAKI_NaRuTo1:
Help plzz

Whenever i edit androidmanifest.xml of app to hide it from launcher..... either the settings dsnt open or while clicking that app in settings app it FC's the settings...........!!!!!!!!

any solution? :(

[MENTION=4879131]Saqib Nazm[/MENTION]
[Xperia Arc Themes and Apps] lacoursiere18:
Yes. If you edit the Manifest in anyway you need to sign the apk. If this is a system/app then you most likely need to disable signature checks..
[Xperia Arc Themes and Apps] UzUmAKI_NaRuTo1:
Signature checks are already disabled...... i did it while porting dolby...!!

i removed t from system and installed in data folder....... didnt work............. :(
[Xperia Arc Themes and Apps] timujinkhan:
Excellent!

Thank you for a very comprehensive guide. :)
[Xperia Arc Themes and Apps] kpirnie:
Hate to beat a dead horse, but maybe someone can point me in the right direction.

Just trying to add to settings with

<header android:icon="@drawable/ic_setting_viper" android:title="@string/viper4_label">
<intent android:targetPackage="com.vipercn.viper4android_v2" android:action="android.intent.action.MAIN" android:targetClass="com.vipercn.viper4android_v2.activity.ViPER4Android" />
</header>

And it does not appear
[Xperia Arc Themes and Apps] iB4STiD:
[MENTION=4879131]Saqib Nazm[/MENTION] excellent guide... this helped me out .. keep them coming :good:
[Xperia Arc Themes and Apps] vimal0988:
I have sony xperia m , running cm12 lollipop , cant find settings_header.xml.
[Xperia Arc Themes and Apps] 01001001M:
Can anyone help me removing the Performance Option in the CM12 Settings.apk?

I already removed the submenu and now when I'm taping on the performance Option in the settings it crashes the settings.apk.

I attached a Screenshot of the section I want to remove and also a dropbox link to the settings.apk I already edited by myself...

https://www.dropbox.com/s/dnuedbk4vu11ozx/Settings.apk?dl=0
[Xperia Arc Themes and Apps] :
Is there a way to add an app to rom when compiling? For example, I need to add layers to my AOSP rom. How can I do it?
[Xperia Arc Themes and Apps] Shujath:
Thanks bro, worked fine on KK
[Xperia Arc Themes and Apps] isanagy:
thank you men ;)
[Xperia Arc Themes and Apps] arteaga323:
Anyone has issues trying to reinstall Google apps? I'm trying to add Android Wear to the settings but whenever I extract, edit the line, recompile, sign and install, Android Wear crashes, I'm not sure if it's a signature problem (using ZipSigner on Platform) or the fact I'm modifying the manifest... Anyone has a solution for this?
[Xperia Arc Themes and Apps] wyghor@gmail.com:
my settings.apk 4.4.2

I need help , I am not able to enable developer mode , because it does not have the Build Number option for the 7 touch.

Can anybody help me?
[Xperia Arc Themes and Apps] Parthib:
When i replace the modified apk the app diapper from the lanchur and it cannot be open
[Xperia Arc Themes and Apps] Parthib:
When i replace the modified apk the app disapper from the launcher

i have check the permissions correctly..
[Xperia Arc Themes and Apps] kaiiori:
How to do it in Android 6.0?
[Xperia Arc Themes and Apps] nicesoni_ash:
Can this also reversed like adding supersu or substratum into settings menu. I already made them appear in the settings menu but I am missing the layout to add their class and intent and where and how to add them exactly? Would appreciate any help. Thanks.

Edit ;

Worked it out, thanks anyways.
[Xperia Arc Themes and Apps] TDP_Vardox:
Settings.apk and Settings.odex

Hello your tutorial on how to add any app/option in settings was successfull! but when i try to put it on a custom rom the application Settings does not exist there! I was trying to add Developer Name there but nothing happens i cant install even Settings because i dont have Settings application on my phone to enable the unknown sources... Do i still need to recompile odex or not??

NEED HELP PRO'S!!:D:confused::crying:
[Xperia Arc Themes and Apps] TDP_Vardox:
NICE

NICE TUTORIAL BRO!!! :good::good::fingers-crossed:
[Xperia Arc Themes and Apps] vinaykharayat:
Hey guys help me....

I am trying to add 3minitbattery mod in settings (inside battery option in my settings) named as change battery icon. I did everything right (changed header to preferencescreen) but when I went inside battery option "Change battery icon" appeared for just 1 sec and it get disappeared ?!?!?!? i don't know how to fix this. Help please :(

---------- Post added at 01:24 PM ---------- Previous post was at 01:09 PM ----------

Sorry I am unable to understand what u wanna say?...So far i understood that you are unable to install settings.apk right?

You can't install settings.apk like normal apk...to install settings.aok use app called root explorer or Es file explorer (dont forget to enable root explorer permission) then copy your modified settings.apk and paste it inside /system/priv-app (for kk) for lp paste it inside /system/priv-app/settings, long press on settings.apk and set permission to rw-r--r-- (just google)

and reboot !

If helped hit the thanks button :)
[Xperia Arc Themes and Apps] rs4520437@gmail.com:
Adding developer name in about device section

Bro i applied your guide but after all i wll build my apk then apktool shows error "parsing XML: missmatched tag:crying::silly:
[Xperia Arc Themes and Apps] Ticklefish:
There's more to the error than what you shared. The error says which file the mismatched tag is in, and often which line it's on too.

You need to open that XML file and correct the error. Somewhere in the text is an open tag without a matching closed tag. Or something very similar. Sort out your syntax issue and your file should recompile.
[Xperia Arc Themes and Apps] rs4520437@gmail.com:
Thanks

Ok Bro i will try one more time to add lines and compile apk. Thanks in advance
[Xperia Arc Themes and Apps] Saqib Nazm:
yes you can remove entries just like I added header in settings_header. You just need to remove it from there. & to edit any apk you need a tool which can decompile your apk & then you edit it then you compile again to make the apk.

you need to write a new xml in the folder. like as your requirements the new xml would be somc_power_settings the new xml will be

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/power_settings_title"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceScreen android:title="@string/power_usage_summary_title" android:key="battery" android:fragment="com.android.settings.fuelgauge.PowerUsageSummary" />
<PreferenceScreen android:title="@string/overclocktool_title" android:key="overclocktool_title">
<intent android:targetPackage="it.sineo.android.noFrillsCPU" android:action="android.intent.action.MAIN" android:targetClass="it.sineo.android.noFrillsCPU.activity.MainActivity" />
</PreferenceScreen>
</PreferenceScreen>

& new header will be

<header android:icon="@drawable/ic_settings_battery" android:id="@id/power_settings" android:title="@string/power_settings_title" android:fragment="com.android.settings.PowerSettings" />

& the other entries in the values & icons :)
[Xperia Arc Themes and Apps] danisariandi:
How to add it on settingsheader.xml?
[Xperia Arc Themes and Apps] Saqib Nazm:
i wrote it already. that's the line you need to add into settings_header

<header android:icon="@drawable/ic_settings_battery" android:id="@id/power_settings" android:title="@string/power_settings_title" android:fragment="com.android.settings.PowerSettings" />
[Xperia Arc Themes and Apps] danisariandi:
Did it need smali files?
[Xperia Arc Themes and Apps] Saqib Nazm:
naah man
[Xperia Arc Themes and Apps] danisariandi:
Nothing or what
[Xperia Arc Themes and Apps] sandy7:
it dont need edit smali files
[Xperia Arc Themes and Apps] freakymod2120:
Okay i will try, if i have any problems you will hear from me :good::laugh:

Thx a lot for helping
[Xperia Arc Themes and Apps] cbd dvd:
great job!! work in any settings like cm10.1?

Enviado desde mi Xperia Arc S
[Xperia Arc Themes and Apps] Saqib Nazm:
yes, it works with everything :)
[Xperia Arc Themes and Apps] Sahaab:
Would anyone know how i can add Swiqi 3 ( X-Reality Engine ) into the display settings?

Thank

p.s i looked at honami's settings.apk it has no swiqi code in the Display_settings.xml :-/

it did have a Swiqi 3 string tho
[Xperia Arc Themes and Apps] DominikHolecek:
You have to add the source code, which is in twiggi to strings and public.xml + of course you'll have to get them a name and position, where it should be + odkaz to picture ...

Odesláno z mého LT18i pomocí Tapatalk 2
[Xperia Arc Themes and Apps] Sahaab:
umm i do not understand :-/
[Xperia Arc Themes and Apps] Saqib Nazm:
send the the settings of honami, I can't guarantee but I will try
[Xperia Arc Themes and Apps] TopDroid:
i want to make a new menu "MOD" below "Developer Option". And inside MOD i want to add a shortcut to an app. How can I achieve this?
[Xperia Arc Themes and Apps] Sahaab:
Just follow the first part of the guide

And change everything to MOD and ur app ;)
[Xperia Arc Themes and Apps] TopDroid:
In the first part it says Rom Toolbox ie. the shortcut to the app

I want it to be MOD>App Shorcut
[Xperia Arc Themes and Apps] Sahaab:
Read the guide and u will understand how to fix ;)
[Xperia Arc Themes and Apps] Saqib Nazm:
write a new xml in the xml folder suppose with a given name mod_settings.xml

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/mod_settings_header"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen android:title="@string/title_off_your_app" android:key="fake_key" />
<intent android:targetPackage="your_apps_target_package" android:action="android.intent.action.MAIN" android:targetClass="your_apps_target_package" />
</PreferenceScreen>
</PreferenceScreen>

& add strings,ids to the key & also in settings_header

I think that will do :)
[Xperia Arc Themes and Apps] TopDroid:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/mod_section"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen android:title="@string/mod_section_editor" android:key="fake_key" />
<intent android:targetPackage="com.jrummy.apps.build.prop.editor" android:action="android.intent.action.MAIN" android:targetClass="com.jrummy.apps.build.prop.editor.MainActivity" />
</PreferenceScreen>
</PreferenceScreen>

This is my code. I am getting "not well formed invalid token"
[Xperia Arc Themes and Apps] Saqib Nazm:
Ohk man I will try myself & let you know later. In the meantime if you solve it then please let me know as well
[Xperia Arc Themes and Apps] TopDroid:
Fixed It!
[Xperia Arc Themes and Apps] Saqib Nazm:
Nice :good: where was the problem?
[Xperia Arc Themes and Apps] TopDroid:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/mod_settings_header"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen android:title="@string/title_off_your_app" android:key="fake_key" [COLOR="red"] />[/COLOR]
<intent android:targetPackage="your_apps_target_package" android:action="android.intent.action.MAIN" android:targetClass="your_apps_target_package" />
[COLOR="Red"] </PreferenceScreen>[/COLOR]
</PreferenceScreen>

I was closing them twice!
[Xperia Arc Themes and Apps] boncaunhaquynhanh:
i want to change default value (1x) of window animation scale in dev settings in my Rom

Is it change in Setting.apk or framework res ?:)
[Xperia Arc Themes and Apps] Saqib Nazm:
you can also remove them from strings.xml & also public.xml. search with the string name in both xml & remove every entries you find, remember public.xml may give error when re-compiling,so check the log in which line it's disordered & remove that/those line as well then save it then compile again.

Nothing I could find in any xml of settings, array holds all the options but there's somewhere else where it is mentioned to take the default value from arrays.xml. So yes,it could be framework or might be some smali in settings
[Xperia Arc Themes and Apps] endeavour900115:
I have tried, but it doesn't work, it doesn't need anything eles?
[Xperia Arc Themes and Apps] Saqib Nazm:
yes it needs a icon in the drawable folder with the same name as written in header & also string entries as header. Look in my original guide to get help what you will do after writing the new xml. & also what do you mean by it doesn't work? can you successfully recompile it? Does it appear in settings? or it doesn't? What happens when you press in the header if it appears? btw you will also need semc power saver.apk in this
[Xperia Arc Themes and Apps] endeavour900115:
I mean I can't make the settings like that...

settings>power mangement>battery

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, >CPU control

the origional settings is

settings>battery

sorry for my bad English!
[Xperia Arc Themes and Apps] Saqib Nazm:
so remove that settings 1st from header then add it in this way
[Xperia Arc Themes and Apps] endeavour900115:
but after that the settings doesn't work

and i use the honami settings stock

this is the link

http://xdaforums.com/showthread.php?t=2346238
[Xperia Arc Themes and Apps] madquack:
Dammit! I can't believe I didn't think of public.xml, I am so stupid! I put all xml files in one giant folder and used findstr to search for "legal" or "changelog" not sure why public.xml never showed up! Thanks a million brother! the .apk builds fine as well, just a lot of translation warnings but it works 100% no problems.

Edit: seems like removing the "legal_information" section is more of a pain in the ass than I originally thought.
[Xperia Arc Themes and Apps] outcry666:
Very good tutorial. Thank you
[Xperia Arc Themes and Apps] mi-425:
Hi saqib,

I saw a option in intex wonder2 to change simcard network access 3g . means it is d dual sim phone in it one is 3g and another is gsm only. But if u want to access 3g for second sim then u do not need to change sim card physically there is option to change to 1 to 2 and 2 to 1.

And I want to add this into my phone please help to make it....:o
[Xperia Arc Themes and Apps] Saqib Nazm:
Thanks :)

Ohk. 1st of all I have no idea about dual sim options in settings & their strings or how do they work. & I am sure the way you described it needs smali code also. So it would be quite tough for me
[Xperia Arc Themes and Apps] mi-425:
Any suggestions......:rolleyes: