[Q] Editing android application settings - Nook Color General

For the applications that don't have working soft buttons. Is it possible to manually edit the application settings by editing some file? I'm trying to get Perfect Viewer to work in landscape mode but I am unable to access the menu through the application.

I figured it out. If anyone is interested in using perfect viewer, here are the instructions. I'm not sure if you need superuser installed to get permission to write in the data folder but I already had it installed prior to doing this.
Code:
adb pull /data/data/com.rookiestudio.perfectviewer/shared_prefs/perfect_viewer_settings.xml
edit the xml file so the following are true
<boolean name="ScreenAutoRotate" value="true" />
<boolean name="EnableImageCache" value="true" />
Code:
adb push perfect_viewer_settings.xml /data/data/com.rookiestudio.perfectviewer/shared_prefs/

If you want to flip the right and left page turn functions so that tapping right turns the page forward, change these values:
Code:
<int name="LeftFunction" value="5" />
<int name="RightFunction" value="6" />

does this work for other apps as well? for example Prism 3d

Related

[MOD] hide media controller handle on lock screen.

this is a quick little mod to hide the media controller handle on the lock
screen (see screen shot)
1. decompile android.policy
2. open "com\android\internal\policy\impl\UnlockMediaController$1.smali"
3. add # to the beginning of lines 227, 300
4. save and close
5. open "com\android\internal\policy\impl\UnlockMediaController.smali"
6. add # to the beginning of lines 806, 983, 990, 1054, 1255, 1298
7. save and close compile android.policy
8. decompile framework-res.apk
9. open "res\layout\zzz_keyguard_screen_media_controller.xml"
10 change line 5
from:
Code:
<RelativeLayout android:gravity="center_horizontal" android:id="@id/zzz_CDHandle" android:layout_width="150.66dip" android:layout_height="68.0dip" android:layout_marginLeft="84.66dip" android:layout_marginTop="102.66dip" />
to:
Code:
<RelativeLayout android:id="@id/zzz_CDHandle" android:layout_width="fill_parent" android:layout_height="90.0dip" android:layout_marginTop="102.66dip" />
11. save close and compile framework-res, done.
Nice
Thanks for sharing this. Unfortunately I never really use the music controls because I have a pattern lock set up, so the lock screen doesn't appear at all (unlocking goes straight to pattern screen instead of lock screen). Is there a way to reverse this?
PSP_Hacker said:
Nice
Thanks for sharing this. Unfortunately I never really use the music controls because I have a pattern lock set up, so the lock screen doesn't appear at all (unlocking goes straight to pattern screen instead of lock screen). Is there a way to reverse this?
Click to expand...
Click to collapse
s0niqu3 asked if I could add some media controls the the ASOP lock screen, so when
I start that project I will also add them to the pattern lock screen also.
thank you for the mod!! but can you please make it flashable to flash it with clockworkmod??
untermensch said:
s0niqu3 asked if I could add some media controls the the ASOP lock screen, so when
I start that project I will also add them to the pattern lock screen also.
Click to expand...
Click to collapse
Did you ever start that? Just curious.

missing headset icon

when i blug my headset i can't fing an icon appearing at the top showing that there is a headset is blugged in the device , is any one having this problem
Any help with that
Mine does not do it either, might just be that the windows OS does not create this icon as I never had it on my WM6 and 6.5 phones either.
hi mine too no icon when i plug headset , but i think this icon appears with modifiyng custom_setting.xml , more option can be apears with activating some parameters or variables in this files found in in subfolder system/etc/cutomisation/settings/com/android or sonyericsson subfolder
Xperia E10i MoviStar 1235-9319 debranded to nuded to E10i 1236_0516 rooted with se stock 2.1update1
sorry for my english
here is an exemple to display data warnning in status bar and display choice 2g 3 g in wireless config menu
found in system\etc\customisation\settings\com\android\phone
<?xml version="1.0" encoding="utf-8"?>
<settings version="9">
<setting key="data-connection-except-mms-visibility" runtime="false">true</setting>
<setting key="data-connection-except-mms-can-clear-icon" runtime="false">false</setting>
<setting key="data-connection-except-mms-show-icon-when-enabled" runtime="false">true</setting>
<setting key="data-connection-except-mms-show-icon-when-disabled" runtime="false">true</setting>
<setting key="preferred-network-mode-visibility" runtime="false">true</setting>
<setting key="data-connection-visibility" runtime="false">true</setting>
<setting key="carrier-sel-visibility" runtime="false">true</setting>
<setting key="data-connection-show-popup-when-enabling" runtime="false">true</setting>
<setting key="prefer-2g-visibility" runtime="false">true</setting>
<setting key="use-3g-only" runtime="false">true</setting>
</settings>
some one shood see about that
when you open etc/customization/setting you found two folder android ans sonyericsson , where you found any customization about the phone but what i need is the keyword for head for notification and what folder must be integrated.
i have update to stock rom 2.1.1.C.0.0 via SEUS but no more

[Q] Notification Screen On

does anyone know how to disable the screen turning on when receiving a notification?
i found the solution to this. credit goes to @PuffJr2 for his thread on verizon forum. here is how to do it:
To disable this feature, you need root.
start off by opening up a file explorer, I used Root Browser.
head off to /data/data/com.android.mms/shared_prefs/
once in that folder, open up com.android.mms_preferences.xml
scroll down and find <boolean name="pref_key_backlight" value="true" />
change true to false.
save, and reboot.
now when i get a text message my screen doesnt pop on in my pants pocket and start doing things i dont want it to do.

AT&T address book sync

Has anyone found a way to disable this yet? It pops up every time I open the contacts app.
556AR said:
Has anyone found a way to disable this yet? It pops up every time I open the contacts app.
Click to expand...
Click to collapse
Only way I was able to disable it on my s4 was to edit an xml file. You have to be rooted and have something like root explorer then go to
Data/data/com.android.contacts/shared_pref and edit the xml file there to tell it to not search AT&T for their cloud address book. Below is an example of mine. You can see where I've changed some values to false in regards to the AT&T address book.
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="runtime_firstboot_time">1403537567925</string>
<boolean name="REGISTRATION_COMPLETE_FLAG" value="true" />
<int name="adn_editable" value="1" />
<int name="csc_pref_key_max_recipient" value="10" />
<boolean name="showContactTips" value="true" />
<int name="AIRPLANE_MODE_DB_UPDATED" value="0" />
<int name="actionBarAdapter.lastTab" value="2" />
<string name="ContactEditorUtils_default_account">vnd.sec.contact.phonevnd.sec.contact.phone</string>
<boolean name="INIT_SYNC_FLAG" value="false" />
<boolean name="AAB_ENABLED_FLAG" value="false" />
<int name="online_search" value="1" />
<int name="SIM_CONATACTS" value="0" />
<int name="sim_db_ready" value="1" />
<string name="SIMSERIAL">(you sum serial will show here)</string>
<string name="ContactEditorUtils_known_accounts">vnd.sec.contact.phonevnd.sec.contact.phoneprimary.sim.account_namevnd.sec.contact.sim(your email address is displayed here)com.google</string>
<boolean name="ContactEditorUtils_anything_saved" value="true" />
<int name="REGISTRATION_COUNT_FLAG" value="4" />
<string name="FIELD_URL">http://mobile.ws.addressbook.att.net/SubscriberService</string>
<string name="IMSI">(your imsi is here) </string>
<int name="setInitialMyProfile" value="1" />
<int name="airplane_mode_changed" value="0" />
<string name="FIELD_NAMESPACE">http://pat.ws.aab.att.com/webService/MobileSubscriber</string>
<boolean name="SIM_IMPORT_FLAG" value="false" />
<int name="DialtactsActivity_last_manually_selected_tab" value="0" />
</map>
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
drock212 said:
Only way I was able to disable it on my s4 was to edit an xml file. You have to be rooted and have something like root explorer then go to
Data/data/com.android.contacts/shared_pref and edit the xml file there to tell it to not search AT&T for their cloud address book. Below is an example of mine. You can see where I've changed some values to false in regards to the AT&T address book.
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="runtime_firstboot_time">1403537567925</string>
<boolean name="REGISTRATION_COMPLETE_FLAG" value="true" />
<int name="adn_editable" value="1" />
<int name="csc_pref_key_max_recipient" value="10" />
<boolean name="showContactTips" value="true" />
<int name="AIRPLANE_MODE_DB_UPDATED" value="0" />
<int name="actionBarAdapter.lastTab" value="2" />
<string name="ContactEditorUtils_default_account">vnd.sec.contact.phonevnd.sec.contact.phone</string>
<boolean name="INIT_SYNC_FLAG" value="false" />
<boolean name="AAB_ENABLED_FLAG" value="false" />
<int name="online_search" value="1" />
<int name="SIM_CONATACTS" value="0" />
<int name="sim_db_ready" value="1" />
<string name="SIMSERIAL">(you sum serial will show here)</string>
<string name="ContactEditorUtils_known_accounts">vnd.sec.contact.phonevnd.sec.contact.phoneprimary.sim.account_namevnd.sec.contact.sim(your email address is displayed here)com.google</string>
<boolean name="ContactEditorUtils_anything_saved" value="true" />
<int name="REGISTRATION_COUNT_FLAG" value="4" />
<string name="FIELD_URL">http://mobile.ws.addressbook.att.net/SubscriberService</string>
<string name="IMSI">(your imsi is here) </string>
<int name="setInitialMyProfile" value="1" />
<int name="airplane_mode_changed" value="0" />
<string name="FIELD_NAMESPACE">http://pat.ws.aab.att.com/webService/MobileSubscriber</string>
<boolean name="SIM_IMPORT_FLAG" value="false" />
<int name="DialtactsActivity_last_manually_selected_tab" value="0" />
</map>
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for the help
556AR said:
Has anyone found a way to disable this yet? It pops up every time I open the contacts app.
Click to expand...
Click to collapse
I had this problem but it would try to sync everytime i open an app. contacts then settings then contacts then at&t address book and there should be a setting ti turn it off.
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
DedNyte said:
I had this problem but it would try to sync everytime i open an app. contacts then settings then contacts then at&t address book and there should be a setting ti turn it off.
Click to expand...
Click to collapse
Don't need root to disable this. It took me a while when I first got the phone, but it's buried deep in the settings. I think I had to reboot after turning it off to stop the splash screen from popping up every time I opened contacts.
I mean come on, I sync with google, I don't need redundant AT&T and Samsung "cloud" address books.
LoSt180 said:
Don't need root to disable this. It took me a while when I first got the phone, but it's buried deep in the settings. I think I had to reboot after turning it off to stop the splash screen from popping up every time I opened contacts.
I mean come on, I sync with google, I don't need redundant AT&T and Samsung "cloud" address books.
Click to expand...
Click to collapse
Where is the setting located?
556AR said:
Has anyone found a way to disable this yet? It pops up every time I open the contacts app.
Click to expand...
Click to collapse
Open address book go to settings then contacts AT&T address book and turn off auto sync
Swiping from dark side of Galaxy S5.
norbarb said:
Open address book go to settings then contacts AT&T address book and turn off auto sync
Swiping from dark side of Galaxy S5.
Click to expand...
Click to collapse
I've tried checking there before it just takes me to a screen about registering for it. No option to disable.
Sent from my SAMSUNG-SM-G900A using Tapatalk
556AR said:
Where is the setting located?
Click to expand...
Click to collapse
3 dots on top right corner or hold left button next to home button when you open contacts.
Swiping from dark side of Galaxy S5.
---------- Post added at 05:01 PM ---------- Previous post was at 04:59 PM ----------
556AR said:
I've tried checking there before it just takes me to a screen about registering for it. No option to disable.
Sent from my SAMSUNG-SM-G900A using Tapatalk
Click to expand...
Click to collapse
Then try to register and disable then
Swiping from dark side of Galaxy S5.
norbarb said:
3 dots on top right corner or hold left button next to home button when you open contacts.
Swiping from dark side of Galaxy S5.
---------- Post added at 05:01 PM ---------- Previous post was at 04:59 PM ----------
Then try to register and disable then
Swiping from dark side of Galaxy S5.
Click to expand...
Click to collapse
The only problem with this is if you dont have an at&t account, you can't disable it this way because you won't be taken to a registration page. So how do you disable it if you use straight talk or any other service that uses at&t towers but isnt directly at&t? I would like to know this too and that's probably what the other person was asking. I don't see anything that can be disabled in system and i can't make it quit popping up.
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
miller1821 said:
The only problem with this is if you dont have an at&t account, you can't disable it this way because you won't be taken to a registration page. So how do you disable it if you use straight talk or any other service that uses at&t towers but isnt directly at&t? I would like to know this too and that's probably what the other person was asking. I don't see anything that can be disabled in system and i can't make it quit popping up.
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
Click to expand...
Click to collapse
for those who use the phone with another carrier, no option to disable it just does not appear, at first it's annoying, but after 3 or 4 attempts to divert pressing the back button not bother asking again sync with att.
Open contacts
settings / contacts / at&t address book (it's at the bottom of the list)
you get the option there
Sent from my SAMSUNG-SM-G900A using xda premium
I never posted a follow up to my original post so here's some information...
I could not get to the option to disable the address book sync because I had never activated the AT&T address book. While trying to activate it my phone would be stuck on the information screen telling me to call 611 to have it added to my account. After a day I finally realized that the initial activation has to be done over mobile data and will not work if done over WiFi. So I got it working and disabled the sync but eventually I just switched over to the international versions apps with no AT&T bloat from this thread http://forum.xda-developers.com/showthread.php?t=2796268.
works well on Samsung Galaxy S5 AT&T SM-G900A
apk taken from odex g900f, apk list to replace:
system/app:
InCallUI.apk
InCallUI.odex
system/priv-app:
SecContacts.apk --> at&t --> SecContacts_Phone_FLAGSHIP_NA_ATT_WHITE.apk <-- delete and replace.
SecContacts.odex --> at&t --> SecContacts_Phone_FLAGSHIP_NA_ATT_WHITE.odex <-- delete and replace.
SecContactsProvider.apk
SecContactsProvider.odex
SecMms_Blue.apk
SecMms_Blue.odex
SecTeleService.apk
SecTeleService.odex
:good:

gpio switch apk

What the hell is this?
https://forums.oneplus.net/threads/gpio-switch.607478/
I personally had the message. I really hope it's a false alarm. If not I am really curious to know what is so bad in that app.
Time to use reversing tools and skills.
_Man0waR_ said:
What the hell is this?
https://forums.oneplus.net/threads/gpio-switch.607478/
I personally had the message. I really hope it's a false alarm. If not I am really curious to know what is so bad in that app.
Time to use reversing tools and skills.
Click to expand...
Click to collapse
Weird I got the same message about 2 hours ago but I just clicked on keep (unsafe) , I thought it had something to do with the custom ROM I'm using but it seems it's affecting people mainly on the open beta 22 , we will have to wait for an answer from oneplus , I'm sure it's a bug or something I wouldn't worry about it..
I had it too but i'm on open beta 21.
Enviado do meu ONEPLUS A3003 através de Tapatalk
Xceeder said:
Weird I got the same message about 2 hours ago but I just clicked on keep (unsafe) , I thought it had something to do with the custom ROM I'm using but it seems it's affecting people mainly on the open beta 22 , we will have to wait for an answer from oneplus , I'm sure it's a bug or something I wouldn't worry about it..
Click to expand...
Click to collapse
I am on stock OOS 4.1.6 and got the message. I started to decompile it. It seems to be related with the antenna. See the strings.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">
GPIO Switch</string>
<string name="action_settings">
Settings</string>
<string name="hello_world">
Hello world!</string>
<string name="Antenna_gpio1">
GPIO_097</string>
<string name="Antenna_gpio2">
GPIO_098</string>
<string name="Antenna_gpio3">
GPIO_100</string>
<string name="Antenna_gpio4">
GPIO_115</string>
<string name="Antenna_gpio5">
GPIO_127</string>
<string name="Antenna_gpio6">
GPIO_133</string>
<string name="Antenna_gpio7">
GPIO_136</string>
<string name="Antenna_gpio8">
GPIO_102</string>
<string name="Antenna_gpio9">
GPIO_103</string>
<string name="Antenna_comment">
comment</string>
<string name="Antenna_success">
success</string>
<string name="Antenna_fail">
fail</string>
<string name="AntennaSwitch">
请选择GPIO 警告:如果未生效,请关闭selinux 权限,关闭方法:adb shell setenforce 0</string>
<string name="Antenna_toast_fali">
操作失败,请查看确认</string>
<string name="result">
当前GPIO:</string>
</resources>
There is not anything special in the manifest
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.oneplus.GpioSwitch" platformBuildVersionCode="25" platformBuildVersionName="7.1.1" xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name">
<activity android:label="@string/app_name" android:name="com.oneplus.gpioswitch.GpioSwitch" android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
</application>
</manifest>
Hhmm weird well that rules out problems in the open beta...
From what I found it contains the GUI for the "Antenna switch" option in the hardware diagnostic tests. (Dial *#808#). Now I don't know why Google would detect this as a dangerous app.
_Man0waR_ said:
From what I found it contains the GUI for the "Antenna switch" option in the hardware diagnostic tests. (Dial *#808#). Now I don't know why Google would detect this as a dangerous app.
Click to expand...
Click to collapse
Thanks for finding out what it was , it made me a bit suspicious maybe oneplus will patch it with an update or Google will whitelist it , again though thanks for running through all the logs and researching for us ?
I'm still on 3.2.8 and this got flagged for me so not exclusive to open betas.
what the...
i also had this earlier today.. what was this ???
anyone able to sign in on oneplus forums?
im getting an error..
It is a utility for switching antenna in development mode. A search would have told you guys this. You can remove it or keep it. Either way it doesn't do anything. One plus is trying to figure out why Google flagged it.
zelendel said:
It is a utility for switching antenna in development mode. A search would have told you guys this. You can remove it or keep it. Either way it doesn't do anything. One plus is trying to figure out why Google flagged it.
Click to expand...
Click to collapse
Thanks for your anwser.. i got the message this morning , and this is the first google search anwser

Categories

Resources