yashsingh1/xdaforums huggingface dataset:
[Android General] mi-425:
problem

The android:title reference is what we need to change, so open your Strings.xml, for your language (if it's not in there, open the default one).....

what does this line mean .....Sorry but i dont understand this and i stuck here....:confused:

<string name="development_settings_title">Noobs keep out</string>.........how can i get this line to change title.......while

i got............<header android:icon="@drawable/ic_settings_development" android:id="@id/development_settings" android:title="@string/development_settings_title" android:fragment="com.android.settings.DevelopmentSettings" />................this line.:confused:
[Android General] fabokid5922:
Thanks so much....Trying it right now
[Android General] Matx13:
Thank you :good:
[Android General] hemantv:
Tried everything but Settings app doesn't appear. It doesn't show any error like - 'App isn't installed'. I've signed the .apk and followed the steps properly. What can be the problem?
[Android General] eng.Colombo:
I get this error too !

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PATHNotExist: apktool.yml

---------- Post added at 03:58 PM ---------- Previous post was at 03:55 PM ----------

my apktool is already updated ( version 1.5.2 )
[Android General] Quinny899:
You've entered the decompiled folder path wrong
[Android General] eng.Colombo:
No I can't I'm not that noob ! Lol, the decompiled folder didn't has the apktool.yml I try to pick another one in github and change the values to match my work it start to compile but stopped in the middle ! =/
[Android General] Quinny899:
You can't do this from a source settings apk. Build it and decompile it first.
[Android General] eng.Colombo:
OK so i'll explain you what I did :

Download the apktool from the link in this thread, I downloaded apktool 1.5.2 and the windows script version r05

Put all the files togheter after extracted in c:/apktool

Put system.apk inside the c:/apktool

And run this command inside the c:/apktool

C:/apktool:>java -jar apktool.jar d -s Settings.apk

And it created a folder inside apktool called Settings and inside it had all the files descompiled (there is no apktool.yml file )

So even without change anything I try to run this command:

C:/apktool>java -jar apktool.jar b Settings

And it returns me the error above =\

I think you didn't understand my question, the apk file was already compiled, I pick a apktool.yml in the github not the system.apk ! =p
[Android General] eng.Colombo:
Nobody ? =\
[Android General] Diaz1999:
Install your framework-res first, then decompiling app
[Android General] dynamorphic:
Possible to have 2nd column?

Hey all,

just a bit of upfront disclosure, I've got an HTC HD2 which I have flashed with

[22.08.2013][ROM][4.2.2] ParanoidAndroid3.69 [Unofficial]

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

but wiped and then installed

[11/08/2013][Pixeldroid JB 4.2.2 V7.0 FINAL] [AOKP] [720p/HW/Sound/NOS]

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

What I miss from the Paranoid Android is the 2nd column of context options like shown here:

http://cdn.whatswithtech.com/wp-content/uploads/2013/07/Edit-Setting-Menu.jpg (attachment)

I realize the attachment/photo link is showing a tablet, but the paranoidandroid build was able to incorporate this in their build. I tried going around and tweaking dpi settings to no avail. Would recompiling the settings.apk give me this option? If so, could anyone direct me what needs to be changed? Thanks!
[Android General] eng.Colombo:
I'm trying to decompile system.apk for mako soo I don't need framework right ? :confused:
[Android General] Diaz1999:
Everyone have to install their framework-res if they first time using apktool
[Android General] devilmaycry2020:
hi all

I want to add an item to Xperia Menu but i didn't see any xml file related to Xperia. someone know help me please. thanks
[Android General] Yorgo1982:
help

can you please help me to create a folder in settings where i can add apps in it. i was able to do it but it foce close .

and here is what I did :

I in settings_headers:

<header android:title="@string/header_category_geo" />

<header android:icon="@drawable/ic_fidomenu" android:id="@id/fido_menu" android:title="fido menu" android:fragment="xml.Fido_Menu.xml" /> im not sure about the fragment what do u think?

and the Fido_Menu.xml that I created

<?xml version="1.0" encoding="utf-8"?>

<PreferenceScreen android:title="@string/fido_tab"

xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:settings="http://schemas.android.com/apk/res/com.android.settings."> do I have to create a samli file?

<Preference android:icon="@drawable/ic_fido" android:title="@string/fido_myaccount">

<intent android:targetPackage="com.fidosolutions.myaccount " android:action="android.intent.action.MAIN" android:targetClass="com.fidosolutions.myaccount.M yAccount" />

</Preference>

<Preference android:icon="@drawable/ic_vfido" android:title="@string/fido_VVM">

<intent android:targetPackage="com.fido.vvm" android:action="android.intent.action.MAIN" android:targetClass="com.communology.vvm.ui.Messag esListActivity" />

</Preference>

<Preference android:icon="@drawable/ic_afido" android:title="@string/fido_anti_theft">

<intent android:targetPackage="com.fido.rogers.security" android:action="android.intent.action.MAIN" android:targetClass="net.juniper.junos.pulse.andro id.ui.LaunchActivity" />

</Preference>

</PreferenceScreen>

and this is my question thread: http://xdaforums.com/showthread.php?t=2434126

Thanks
[Android General] Quinny899:
android:fragment="xml.Fido_Menu.xml"

Is NOT the XML name, it's the java fragment. Without massive smali code edits or building from source, you can't add submenus
[Android General] Yorgo1982:
And how I can create a smali?
[Android General] sieuan:
Hi all, I have a toogles setting in header_settings.xml with code:

<header android:icon="@drawable/zzzz_ic_settings_statusbar" android:id="@id/statusbar_toggle_settings" android:title="@string/zzzz_statusbar_toggle_settings_title" android:fragment="com.android.settings.StatusbarToggleSettings" />

Now, I dont like see it in main settings, I want to make it in display settings, so how code that i must add in display_settings.xml ?

Other info about my toogles settings in androidmanifest.xml:

<activity android:label="@string/zzzz_statusbar_toggle_settings_title" android:name=".Settings$StatusbarToggleSettingsActivity" android:clearTaskOnLaunch="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data android:name="com.android.settings.FRAGMENT_CLASS" android:value="com.android.settings.StatusBarToggleSettings" />
<meta-data android:name="com.android.settings.TOP_LEVEL_HEADER_ID" android:resource="@id/display_settings" />
</activity>
<activity android:label="@string/zzzz_statusbar_toggle_settings_title" android:name="Settings$StatusStorageActivity" android:clearTaskOnLaunch="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data android:name="com.android.settings.FRAGMENT_CLASS" android:value="com.android.settings.deviceinfo.StorageStatus" />
<meta-data android:name="com.android.settings.TOP_LEVEL_HEADER_ID" android:resource="@id/display_settings" />
</activity>

Please help me! Thanks!

/// sorry my bad English

/// edit: I tried to add

<PreferenceScreen android:title="@zzzz_statusbar_toggle_settings_title">
<intent android:action="com.android.settings.StatusbarToggleSettings" />
</PreferenceScreen>

and the toogle settings title display in display-settings, but it FC when i click on it.
[Android General] Quinny899:
<PreferenceScreen android:title="@zzzz_statusbar_toggle_settings_title">
<intent android:action="com.android.settings.Settings$StatusbarToggleSettingsActivity" />
</PreferenceScreen>

Try that
[Android General] Quinny899:
Don't bother, it would be way too hard
[Android General] sieuan:
Thanks sir! I tried with:

<PreferenceScreen android:title="@string/zzzz_statusbar_toggle_settings_title">
<intent android:action="com.android.settings.Settings$StatusbarToggleSettingsActivity" />
</PreferenceScreen>

and the toogle settings title display in display-settings, but I still get FC when i click on it.
[Android General] uaevuon:
Good Guide!

Thx:good:
[Android General] mythi:
[MENTION=225651]op[/MENTION] How can i change the settings background??
[Android General] metalfan78:
This is a great guide. I just started doing this kind of stuff and I would like to add options to change lockscreen sounds and touch sounds in my sound settings menu on my gs3. I'm not exactly sure what to add, I know it's mostly in smali. Any guidance would be appreciated.
[Android General] praderj:
wow..

This thread is very helpful.. Thanks to the developers..
[Android General] sieuan:
Hi [MENTION=3563640]Quinny899[/MENTION]

I am trying to add call settings (dialer settings) into main settings:

<header android:icon="@drawable/ic_settings_call" android:title="@string/call_title">
<intent android:targetPackage="com.android.[COLOR="Red"]xxx[/COLOR]" android:action="android.intent.action.MAIN" android:targetClass="com.android.[COLOR="red"]xxx.yyy[/COLOR]" />
</header>

I tried to look in androidmanifest of Phone.apk or Contacts.apk, but I don't know what the targetPackage and targetClass of the CALL-SETTINGS. Can you help me? Here is my androidmanifest.xml:

///sorry: I attached 2 file of Phone&Contact in txt, because the forum limit the post in 30000 characters long.

Thanks sir!
[Android General] TitaniumZERO:
Changing text color in Apps Manager

I have a problem, I'm trying to change the white themed Settings.apk to black and has been successful except in apps manager the text is black with black background. After some research I believe I might need to edit smali in com/android/settings/applications but I don't know how. Anyone can help me?
[Android General] Envious_Data:
did you try editing the /values folder to find the font it (i dont remember the file)?
[Android General] TitaniumZERO:
I've solved it, thanks for reply.
[Android General] abdo jouma:
nice

nice job thank you

:o
[Android General] Sami Kabir:
[MENTION=3563640]Quinny899[/MENTION], Hey mate; I have a question...

How to hide a particular option from the Settings app? In my case, I need to remove "Weather" from my phone's lockscreen options (click here to view its screenshot).. I tried to remove it by deleting its related "xml" codes from lockscreen_settings.xml (in res > xml folder) but doing that breaks my entire lockscreen options, causing my settings app to force close...
[Android General] Quinny899:
Post your XML (before and after), chances are there's something changed that can cause that fc
[Android General] Sami Kabir:
Its not just Weather, I also tried to remove another feature named "say wake up command to unlock"

For removing weather option, I removed this line:

<SwitchPreferenceScreen android:title="@string/weather" android:key="weather" android:summary="@string/weather_summary" />

For removing wake up command option, I removed the lines below:

<CheckBoxPreference android:title="@string/samsung_unlock_option_say_your_wakeup_command_to_unlock_screen" android:key="say_your_wakeup" android:summary="@string/wakeup_in_lockscreen_summary" />
<PreferenceScreen android:title="@string/samsung_unlock_option_set_wakeup_command" android:key="set_wakeup_command">
<intent android:action="android.intent.action.VOICE_SETTING_SET_WAKEUP_COMMAND" />
</PreferenceScreen>

Removing any of the lines causes my entire lock screen option to break.. si if I tap on it, my Settings app just Force closes...

I've attached both my original and modified lockscreen_settings.xml so that you can take a look at them....
[Android General] Quinny899:
Can you post a logcat too?
[Android General] Sami Kabir:
Don't worry mate; I found an alternate solution. I used the bools.xml file from my framework-res.apk to hide those things from Settings... Anyways thanks for all your help mate! But I still need to know what is the proper way to hide or remove an option in the Settings app.. Because I might need it in the future... :)
[Android General] Heatshiver:
I tried only the force developer options, and while I had no errors recompiling, no changes were made. I put this in a ROM I'm making and did a Factory Reset to no avail. Anyone know a solution?

If it helps, I'm using 4.2.2 on LG G2. Thanks!
[Android General] Quinny899:
Make sure you did it properly and try decompiling a fresh one and see if the changes are still there
[Android General] Heatshiver:
I tried it twice and followed the instructions properly, but a no go. .. Unfortunate as that seems rather nifty.
[Android General] hugo.gabriel999:
I'm having trouble with viper4android ...

Force closed .. (settings stopped the process) ...

Package: com.vipercn.viper4android_v2

Activity: activity.ViPER4Android

also already tried:

Activity: activity.ViPER4Android

Activity: com.vipercn.viper4android_v2.activity.ViPER4Android

Activity: com.vipercn.viper4android_v2.activity

but it does not work ..

using 4.1.2, LGSettings3_2.apk

can someone help me?
[Android General] abhinav2hd:
need help

I want to add a banner in about rom section, can anyone help me in this.
[Android General] willtryall:
try this:

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

Anyone can help me to add a "changelog"

so if i touch it, a changelog file of the rom is shown ?

would be nice
[Android General] numbazZ:
I'm trying to edit XML file with Notepad++, and that's what i see
[Android General] cliveke:
decompile

You didn't decompile.
[Android General] numbazZ:
Ok, thanks)

Now I edited my settings, and i want to recompile, and i see this http://clip2net.com/s/6e464I

I'm a total noob here, so I don't know what is wrong, maybe something with java :eek:
[Android General] Quinny899:
Your SDK isn't installed properly
[Android General] maestrobarako:
Unable to access jarfile apktool.jar

how to fix this sir?
[Android General] bpdev:
Compatible with 4.4

Will this guide still work with android 4.4 and the nexus 5?
[Android General] Envious_Data:
it should do

it does say 4.0+ in the title too

its not like decompiled sources are ever going to change (i think)
[Android General] databits:
Hi, is there a way to change the default ringtones in settings? I'm currently modding a rom and I'm stuck in changing the default ringtones or values in settings.
[Android General] Madaditya:
/system/media/audio/ringtones/

Thats is all you'll need ;) hope its obvious after that
[Android General] cah dudul:
[ASK] How to add a shortcut meniu in settings.apk..

I've changed some line in Setting_header.xml, but no change at all

now i'm using sense 3.6
[Android General] databits:
Thanks for the reply. I already figured it out in build.prop.
[Android General] szunyi77:
Hello

First, thanks for the description!

Now I use the slim rom .

I would like to be added to the menu on the Advanced menu Xposed .

Until I got to that Xposed menu , but unfortunately does not call the application! Options stops ! (

What I did :

slim_advanced_settings.xml I added the following line:

<PreferenceScreen android:title="@string/Xposed_title" android:key="xposed_installer_app">

<intent android:targetPackage="de.robv.android.xposed.installer" android:action="de.robv.android.action.LAUNCH_DEVICE_SETTINGS" android:targetClass="de.robv.android.xposed.installer.DeviceSettings" />

Values ​​/ string.xls I added this line:

<string name="Xposed_title">Xposed</string>

Do not write error when repacking , and I can sign, the report works etc. ..

It also appears on the menu button , but will not start !

What could be the problem ?

Which line ?

The Xposed AndroidManifest recovered the targetPackage = " de.robv.android.xposed.installer "

It sure is good, but they do not know the spelling ?

" de.robv.android.action.LAUNCH_DEVICE_SETTINGS "

" de.robv.android.xposed.installer.DeviceSettings "

Thanks for your help !

I hope you understand
[Android General] LiquidT:
OK. I'm must be doing something wrong. I'm running quantum rom, just want to make some changes with it, but all the guides I see point to files I can't find. example:

Locate and open res/xml/settings_headers.xml

. When I open the file the only file I see is smali then android and com files. I can't even find a res file anywhere or any xml files. there all smali files. this is a custom 4.4.2 rom any help please???
[Android General] ThatGuy94:
I've been trying to recompile my settings.apk for about an hour now without any luck. I was able to decompile it without a problem but I'm having issues trying to recompile it. My phone is a Galaxy S3 running CM11 and I'm using Windows 7 64 bit to make the changes. Here is the error I keep getting

--------------------------------------------------------------------------
|Thu 01/09/2014 -- 22:31:59.73|
--------------------------------------------------------------------------
java version "1.7.0_13"
Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more

What I'm trying to do is modify the settings where I can get the Xperia Z lockscreen ported over. I was able to get everything ported over except for the settings to customize the lockscreen. This is the guide I followed: http://xdaforums.com/showthread.php?t=2283225
[Android General] jjjjustas9:
help

hi I need a help. I make "Advanced options" submenu in my settings with his code in settings_headers.xml

<header android:icon="@drawable/ic_settings_advanced" android:id="@id/advanced_options_settings" android:title="@string/advanced_options_settings_title" />

I want to move "superuser" "performance" and "app privacy" in my created "Advanced options" how do I do it ?

Then I press "advanced options" settings has stopped working, Do I need create another xml file for advanced options ?

SORRY FOR MY ENGLISH
[Android General] TheDoubleTap:
apktool.yml is created when you decompile your apk and it's located in your decompile apk folder so there's something wrong while decompiling your apk :)
[Android General] ThatGuy94:
OK Thanks.I'll try and decompile it again and see if it fixes it
[AT&T Samsung Galaxy Note I717] yungskeeme:
I've had my note for about two months. I came from the one x. One thing i don't like about the note is the grain and noise on dark pictures and video. Guess its just due to the amolded screen. I know being under good light will fix the ones you take but anything I can do to sharpen the image on videos and pics I'm browsing?
[AT&T Samsung Galaxy Note I717] jibjab90:
Are you referring to recorded videos only? Make sure to change the setting for video to 1080p because I'm pretty sure it's set to 720p by default. Hope that helps.
[AT&T Samsung Galaxy Note I717] yungskeeme:
Yea stuff I see on YouTube. I'll try.
[AT&T Samsung Galaxy Note I717] jibjab90:
Oh ok, I thought you were referring to videos that you've personally recorded. Not sure what you can do about grainy videos on Youtube though.
[AT&T Samsung Galaxy Note I717] yungskeeme:
Honestly think its just the amolded screen. My girlfriend has a galaxy s2 and sees the same thing.
[Sprint Samsung Galaxy S III] dbenney:
I am rooted and have been since I got my GS3 in October. I tried a few roms before deciding on freegs3 v3.0.0 as my daily rom. It's very stable, fast and bug free for me. Just this morning I got a notification that there was an android update. This is the first one I've got since rooting this phone. I know not to accept it, I'm just wondering all of a sudden I'm getting this. What do I do too doable notifications of android update? I'm pretty sure I have Samsung push notifications turned off.

Thanks in advance guys.
[Sprint Samsung Galaxy S III] scott_0:
just accept the update, it will fail to install as the stock recovery is missing :good:
[Sprint Samsung Galaxy S III] KennyG123:
Search before posting this has been asked and answered dozens of times.

Also questions go in Q&A

Thread moved

Friendly Neighborhood Moderator
[MDA, XDA, 1010 Software Upgrading] kalex:
Is it possible to use att's nbf file that comes with the upgrade instead of O2 3.17rom? I was wondering if i can use that rom in combination with mkrom tools

thanks

alex
[Galaxy Note II Q&A, Help & Troubleshooting] lextsy:
As per my previous post I have discovered that my Note 2, N7105T only charges at 1a and is currently running the stock Vodafone Rom. What are my options here to get 2a charging? Has anyone confirmed that any N7105T charge at above 1ma? My N7100 charges at 1698ma and i have switched battery, chargers everything but still the N7105T doesnt work.

Anyone have any ideas? If not what other stock rom would be suitable and charges at 2a
[Nexus 4 Themes and Apps] SubyWill:
How many people use apps like Lookout that scan your phone and supposedly offer ant-virus protection? Are they even necessary?
[Nexus 4 Themes and Apps] Badger50:
Don't think you'll find many that do. Other than corporate security reasons. All of is crackflashers don't stay on the same system long enough to warrant such a measure :)
[Nexus 4 Themes and Apps] cufd440:
I like lookout for the scream feature....my wife loses her phone all the time and if I send the code through lookouts website the phone makes a loud siren sound even when on silent or vibrate. As far as the antivirus I really dont use it
[Nexus 4 Themes and Apps] snapper.fishes:
I use lookout not for the scanning feature, but for the lost phone/lock/wipe features.You never know when you might need it.
[Nexus 4 Themes and Apps] gee2012:
Not absolutely, i use Eset Mobile on the N4, used it for many years allready om my pc`s. Better safe than sorry. And always look at the permissions you are about to give to an app when installing.
[Nexus 4 Themes and Apps] Spec-Chum:
I used Lookout for 2 years on my HTC Desire then decided to uninstall it about 6 months ago. Can't say I've missed it.

I've not put it on my N4.
[Nexus 4 Themes and Apps] ScumDroid:
Common sense, and checking permissions is much more important than an anti virus imo. Google play store already has the bouncer that scans all the apps. Most of these malware apps that users install come from people not willing to cough up a few dollars for apps and getting said apps from third party sites, and torrents often repackaged with malware, and imo it looks good on them. Support the devs, don't be so cheap, and pay for apps (not directing this at anyone here, just saying). Use the Playstore, or somewhere reputable like XDA and check permissions, there's no reason a wallpaper would need access to your contact list and private info ect. Never used an antivirus on a phone and i likely never will.
[Nexus 4 Themes and Apps] iamelton:
i use lookout because i need to install apks from other sources..

i need to install apks from other sources because google play does not allow apks like adaway..

i buy apps from google play.. but ads? no way..
[Nexus 4 Themes and Apps] ScumDroid:
A little off topic here but Rom toolbox by JRummy has an adblocker, i wonder if Google will make him pull the app :confused:
[Nexus 4 Themes and Apps] carnage017:
I use avast... Dont know if it works, but being a windows user, i think im mentally ill, and insecure.
[Nexus 4 Themes and Apps] ScumDroid:
hahahhaha, Awesome man, made my morning. :good:
[Nexus 4 Themes and Apps] overhauling:
No, he's taking care of that before they pull it: https://twitter.com/jrummy16/status/312368614059692033
[Nexus 4 Themes and Apps] ScumDroid:
i guess i wont be updating rom toolbox anymore :rolleyes: