Removing an option from the Settings Menu - Android Q&A, Help & Troubleshooting

Hello everybody! I need help really bad. I have downloaded the "C-Rom" for my T-Mobile Samsung Galaxy S3 SGH T-999. There's an option in the Settings menu under Settings->Personalization called Themes. I want to remove this because I have no use for it and it crashes the GUI. Can somebody instruct me on how to properly remove it from my Settings menu or edit the Settings apk for me and upload it? I tried to do it myself by deleting strings from the Settings_Headers xml file but it was a failure. If anyone wants to attempt to help me I can provide the link and the location of this rom's Settings apk (since it's not in the "Apps" folder it's in the "Priv-apps" folder a little farther down).

Related

CHomeConfigurati - Problem show icon on custom panel in portrait mode

Problem show icon on custom panel in portrait mode
First excuse me for may little english.
I have create a panel to dial contact with chomeconfigurator, in portrait mode icon for panel is not show, if I turn in landscape mode the icon are show correctly.
Anyone have solved this problem?
Thanks to all.
I had the same problem with HTC home panel, if you change you screen to Windows sliding panel, everything should be OK. Probably a thing CHome configuration developers should look at.
Partial solution
x Rudat: Thank you, I've found the same solution yesterday, with the standard sliding panel all work fine and it show all icon.
What's the .cpr file associated with HTC Home Panel, I've try to modify the file found in phone (file ends with HTC***240x320.cpr and HTC****320x240.cpr) but nothing changed on my phone, I'va also edit .xml file to create custom panel but nothing it's happened...
An other question, where is the file .cpr used to show panel, I'm not be able to find it in my phone...
Thank to all
Custom Partial Fix for Sliding Panel Icons in Porrtrait Mode
I have a partial fix that you can try. It is based on the HTCSlidePanel_US.xml. After extracting the 3 files, copy HTCSlidingPanel_Rev12.home.xml to your device \Application Data\Home. Then make a backup copy your device's SlidingPanel_240x320.cpr and SlidingPanel_320x240.cpr. Then copy the two extracted files: SlidingPanel_240x320.cpr and SlidingPanel_320x240.cpr to your windows directory on your device. This will OVERWRITE your orginal files so make a backup BEFORE you do this incase you want to go back.
It is not exactly the way I like it but it is better than the HTC Green. Enjoy.
Problem
In my phone (rom origina in italian no brand) I'm not able to find SlidingPanel_240x320.cpr and the SlidingPanel_320x240.cpr, where I'll find it?
Those files are hidden - use a file explorer and change the file display settings to show all hidden and system files. You should find it in the device windows directory.
Thanks
I've found the files and now I'm trying to customize the home panel, thanks to all...
I seem to be unable to replace SlidingPanel_240x320.cpr and the SlidingPanel_320x240.cpr files with their new versions - i am being told it is either locked or I do not have rights to change or edit the folder... can anyone hint me how to do that? Thanks
rudat said:
I seem to be unable to replace SlidingPanel_240x320.cpr and the SlidingPanel_320x240.cpr files with their new versions - i am being told it is either locked or I do not have rights to change or edit the folder... can anyone hint me how to do that? Thanks
Click to expand...
Click to collapse
Never mind, Total Commander http://www.smartphone-freeware.com/download-total-commander-v2-5.html helped...
Customize HTC Home Sliding Panel
Fix - Show Icon and Formatation in Portait mode
Somehow the Problem was the GUID of the Panels.
To Change that permanently follow my instructions:
1.) Use CHomeConfigurator
Create the Panel (e.g. called "GamePanel1") just the way you want to have it
Close CHomeConfigurator.
Check if it works in Landscape Mode the way it should.
2.) Use Total Commander
Goto \\\registry\HKLM\Software\Microsoft\CHome\
Copy and rename CWelcomeCenter folder (e.g. "GamePanel2")
Delete all the pages in \\\registry\HKLM\Software\Microsoft\CHome\GamePanel2
Copy the new Pages you made in GamePanel1 to GamePanel2 (Use [Strg]+[c] and [Strg]+[v])
3.) Customize properties of GamePanel2 just like the once in GamePanel1 with Total Comander
\\\registry\HKLM\Software\Microsoft\CHome\GamePanel2
CONDENSEDTITLE
ICONPATHS
LocName
Pages
4.)Open CHomeConfigurator again
As you can see GamePanel2 allows no changes!!!!! Just like CWelcomeCenter.
Hide GamePanel1 (or delete)
Show GamePanel2 (You might have to enable GamePanel too if it is written in red)
Exit CHomeConfigurator and Confirm: Save Changes!!!!
Done!!!
You can do that multiple times for more Panels using a copy of CWelcomeCenter (resp. its GUID)
Great fix, it works!

[Q] (Solved?) Change DEFAULT Homepage on Cooked Rom

Ok, got a bit of a problem here... I need to change the default homepage of the browser in a Rom I'm cooking... that means the homepage you get after a full factory reset, not that you set in the menu.... Please don't tell me how to set it in the browser menu....
A bit of background... I'm using a leaked Rom to build from. It was leaked from a Tracfone "LG-L95G" which is identical in every way to the LG-P999 aka T-Mobile G2X. Everything is working 100%. The only problem left from the "porting" is removing Tracfone as the default browser homepage.
This has turned out to be harder than I expected.
What I have done:
Browser.apk - the xml lists Google as the homepage. The word "tracfone" appears NOWHERE in the entire structure of the decompiled xml or values or even in the smali code.
SystemUI & framework-res - I've seen suggestions the homepage hides here. Can't find anything suggesting a setting to "tracfone"
flexdb - I really thought I had it kicked here. /system/etc/flex.db listed m.tracfone.com as the homepage for T-Mobile US. I changed all occurrences here to about:blank. I have also tried simply copying the flex.db from a P999 itself. Ie, removed ALL references to tracfone service and made it identical to a P999 in every way.
Ran grep -R tracfone * on the entire ROM.
Dug through tons of files by hand looking for any clue.
Unfortunately, even with all of that, do a wipe, open the browser, and you GET M.TRACFONE.COM again!
The word "tracfone" does not appear in build.prop, it does not appear in any init scripts, not even in the kernel scripts! Yet it comes back like Christine...
Does anyone have a clue where I could look next? Or failing that, even some way from an init.d script that I can overwrite the setting myself?
EDIT
Okay, I hate giving myself clues like this, but maybe this will help others (if I'm on the right track)...
Instead of doing a grep on the ROM from my PC, pre-install, I decided to actually hit up the RUNNING copy... so from adb into a Bash prompt on the phone itself, I ran a grep -r tracfone * and got the following result:
Code:
data/data/com.android.browser/databases/browser.db:Web page not availablehttp://m.tracfone.com/
data/data/com.android.browser/shared_prefs/com.android.browser_preferences.xml:<string name="homepage">http://m.tracfone.com</string>
data/data/com.lge.providers.flex/databases/flex.db:M77BRW_SETTINGDB_CURRENT_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.comI#
data/data/com.lge.providers.flex/databases/flex.db:=77BRW_SETTINGDB_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.como"
data/data/com.lge.providers.flex/databases/flex.db:=;;DATACOM_ACCOUNT_MMSC_0_Ihttp://mms.tracfone.comhttp://[email protected]
data/data/com.lge.providers.flex/databases/flex.db:;%%DATACOM_ACCOUNT_APN_0_Iwap.tracfonewap.tracfone:?
data/data/com.lge.providers.flex/databases/flex.db:M77BRW_SETTINGDB_CURRENT_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.comI
data/data/com.lge.providers.flex/databases/flex.db:=77BRW_SETTINGDB_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.como
data/data/com.lge.providers.flex/databases/flex.db:=;;DATACOM_ACCOUNT_MMSC_0_Ihttp://mms.tracfone.comhttp://mms.tracfone.com6%
data/data/com.lge.providers.flex/databases/flex.db:;%%DATACOM_ACCOUNT_APN_0_Iwap.tracfonewap.tracfone:$
Which is very odd.... considering that is NOT the content of the actual flex.db that was flashed to the phone. That leads to 1 question: Why isn't the phone respecting the flex.db? I've noticed other edits to the file (such as bookmarks) do not apply either. So it is being ignored at somepoint. FlexProvider.apk maybe? Or is something in the ROM still identifying the phone to T-Mobile as an MVNO device and they're pushing out an OTA flex update?
EDIT 2:
AHA! There's a flex.db *INSIDE* the FlexProvider.apk file! So it *IS* ignoring the one placed in /system/etc/flex/! Editing this should solve it - but I'm going to test test test to make sure.
lotherius said:
Ok, got a bit of a problem here... I need to change the default homepage of the browser in a Rom I'm cooking... that means the homepage you get after a full factory reset, not that you set in the menu.... Please don't tell me how to set it in the browser menu....
Click to expand...
Click to collapse
firstly to say interesting question!!
but I think it it not possible to change programmatically default homepage
this is a system app so will be signed by your provider let us suppose you find homepage location in code (could by result of a script parsing) by modifying source of that apk package how to solve signature problem ?!
if in .db file ...this file is created after flashing as a result of script parsing
not framework-res.apk better browser-res.apk if you have one
ruscan.calin said:
firstly to say interesting question!!
but I think it it not possible to change programmatically default homepage
this is a system app so will be signed by your provider let us suppose you find homepage location in code (could by result of a script parsing) by modifying source of that apk package how to solve signature problem ?!
if in .db file ...this file is created after flashing as a result of script parsing
not framework-res.apk better browser-res.apk if you have one
Click to expand...
Click to collapse
man use a ... editor...I can show you for fifty bucks
I was just curious about this tricky change (from your post) so thinking about Google motto don't be bad finally I have found but should recognize that I am bad at this time
here is solution
Actually, you can use an sqlite editor to change the values in the flex.db file... the problem I was having in the OP is that on an LG phone (maybe others?) the flex.db file is ignored and the one inside FlexProvider is used instead, so you have to edit both. You can add new locales the same way. No need to use a hex editor, as that would be much more difficult.
lotherius said:
Actually, you can use an sqlite editor to change the values in the flex.db file... the problem I was having in the OP is that on an LG phone (maybe others?) the flex.db file is ignored and the one inside FlexProvider is used instead, so you have to edit both. You can add new locales the same way. No need to use a hex editor, as that would be much more difficult.
Click to expand...
Click to collapse
maybe you are right regarding your phone... but also I prepare a custom rom for Alcatel ot-908 also to change default homepage was a problem for me but I did and simply works !

Modding Trebuchet.apk

Hello, dear friends.
So I recently discovered apktool (congrats to me lol) in order to edit xml files in android apps.
I was able to successfully perform cosmetic changes to settings.apk, so now I'm trying to do some trick with trebuchet.apk:
I removed all the wallpapers from trebuchet.apk, so I was really wondering if anyone can help me out with disabling "wallpaper_chooser" popup menu. What I want the app to do is to lead me to gallery straight away after I push "menu" button and press "wallpaper"
Is it possible to be done without editing .smali files? Maybe some link in some xml file should be changed and I'm good to go?
Thanks in advance
Would be great to share my to-be-made launcher with anyone (using winsuk cm10 now)

[Q] Changing Settings menu options

I'm running a Galaxy Nexus, and the ROM I'm currently on has a Perfomance option in the Settings Menu, which gives control of the kernel and stuff. However, I'd rather use TricksterMod, and I would like to be able to launch TricksterMod from Settings instead of the Performance app.
So far, I've decompiled my Settings.apk, and looked through the files, and I'm not sure what to change.
I have to change \settings\res\xml\settings_headers.xml, correct? Specifically,
Code:
header android:icon="@drawable/ic_settings_performance" android:id="@id/performance_settings" android:title="@string/performance_settings_title" android:fragment="com.android.settings.performance.PerformanceSettings" />
I would also have to change \settings\res\values\strings.xml, specifically, the string referenced by "@string/performance_settings_title" so that I can have the correct name, correct?
And similarly, settings\res\drawable, for the icon.
The big question is, what do I replace with for "com.android.settings.performance.PerformanceSettings"? Do I need to move TricksterMod somewhere specific, or what would I reference? \data\app\com.bigeyes0x0.trickstermod-1.apk?
After making all these changes, I'd simply recompile and push the Settings.apk back without signing, correct? Have I missed any steps?
Firnagzen said:
The big question is, what do I replace with for "com.android.settings.performance.PerformanceSettings"? Do I need to move TricksterMod somewhere specific, or what would I reference? \data\app\com.bigeyes0x0.trickstermod-1.apk?
Click to expand...
Click to collapse
That's what I would try BUT would just be that, to try, seems like you have everything else covered.
Hm. Well, that didn't work.
I successfully made the edits, recompiled, and pushed the file in place of the old Settings.apk.
The Settings app immediately disappeared, and trying to install it (selecting the .apk with a file manager) didn't work; it simply gave me an 'App failed to install'.
Any suggestions as to what I might have done wrongly?
Anyone?

SystemUI and Settings APK

Hello,
Many users here are helpful and I have learned a lot..
To thank these good people I've modded a couple of Lollipop apk's and will upload them here for others as a thank you.
These two have been modded for my personal use.
SystemUI.apk mod:
After upgrading my Samsung Galaxy Note 4 (SM-N910G) to Android Loillipop 5.0.1 I was again facing the much disliked "S Finder" and "Quick Connect" buttons in the notification tray.
As I dislike the S Finder and Quick Connect being in the notification tray, they have been removed.
Settings.apk mod:
Since I have disabled/removed a lot of apps I have no use for the following items, they have been removed from the Settings menu
Accessibility
Easy mode
Private mode
Safety assistance
These apk's need to be copied into their original locations (will need root access)
Please back up your original files before doing any of this as I am not responsible if you stuff something up :crying:
SystemUI.apk is located in /system/priv-app/SystemUI
SecSettings.apk is located in /system/priv-app/SecSettings
You will need to set the permissions to these files once you copy them over to rw-r-r--
Regards..
Here are the files
SecSettings.apk
http://www.mediafire.com/download/ctlzcyvenc2jka8/SecSettings.apk
SystemUI.apk
http://www.mediafire.com/download/cg1ne5ab3ue8j7m/SystemUI.apk
Enjoy
Will this work on SM-N910C?
Hi jmcostales,
I am not sure. I can only suggest that you "back up" your files and then try each one and see how you go. If the SystemUI.apk doesn't work for you the worst that will happen is a crash and no notification menu/pull-down. You will be able to copy over your old file and go back. I would assume the same thing for SecSettings.apk. It will either work or just simply crash when you try to access it. If it crashes just copy the old one back. If you decide to try these files don't forget to set the permissions once you copy the files over.
Thank you this work for me. you made me happy

Categories

Resources