[Q] /system/media/audio/ui/ control file - HTC Sensation

i would like to ask whether anyone can help me with this or at least tell me whether it is possible to edit or not.
Volume Step sound in Sense 4.0 is "do re mi fa so la ti", total/max 'steps' count is 7. Original files name in '/system/media/audio/ui' are 'Volume-1.aac' to 'Volume-7.aac'
But after changing Volume Step in Tweak to "Finest", the max count became 15. Then the Volume Step sound became "do re mi fa so la [(ti) x 9]"
I wish to customize/add Volume Step sound of 8th step and above, so i played around with those "Volume-*.aac" in '/system/media/audio/ui/'. I tried duplicating those files and rename up to "Volume-15.aac" and restarted device, but there is no effects.
Which file (for example build.prop) in '/system/' should i edit, in order to make 'Volume-8.aac' to 'Volumn-15.aac' work?
Thanks in advance.

In order to add that resource I'm guessing you'll need to edit Settings.apk>res/xml/soundsettings.xml
The device will not play a resource that doesn't exist in the base.

Thanks for your quick response. =)
I google-ed around and installed apktool.
Below are the codes from the xml files, but i don't know which to edit. Any help here?
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.htc.preference.HtcPreferenceScreen android:title="@string/sound_settings" android:key="sound_settings"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.htc.preference.HtcPreferenceCategory android:title="@string/sound_category_sound_title" android:key="sound_group" />
<com.htc.preference.HtcListPreference android:persistent="false" android:entries="@array/profile_item_list" android:title="@string/silent_list_title" android:key="silentlist" android:summary="@string/silent_mode_summary" android:dialogTitle="@string/profiles_dialog_title" android:entryValues="@array/animations_values" />
<com.htc.preference.HtcPreference android:persistent="false" android:entries="@array/profile_item_list" android:title="@string/silent_list_title" android:key="customize_silentlist" android:summary="@string/silent_mode_summary" android:dialogTitle="@string/profiles_dialog_title" android:entryValues="@array/animations_values" />
<com.htc.preference.HtcListPreference android:title="@string/musicfx_title" android:key="musicfx">
<intent android:targetPackage="com.android.musicfx" android:targetClass="com.android.musicfx.ControlPanelPicker" />
</com.htc.preference.HtcListPreference>
<com.android.settings.RingerVolumePreference android:persistent="false" android:title="@string/all_volume_title" android:key="ring_volume" android:summary="@string/volume_setting_summary" android:dialogTitle="@string/all_volume_title" android:streamType="ring" />
<com.htc.preference.HtcPreference android:persistent="true" android:title="@string/htc_beats_audio_settings_title" android:key="htc_sound_enhancer" />
<com.htc.preference.HtcCheckBoxPreference android:persistent="true" android:title="@string/vibrate_title" android:key="vibrate" android:summary="@string/vibrate_summary" android:dependency="silentlist" android:defaultValue="true" />
<com.htc.preference.HtcPreferenceCategory android:title="@string/sound_category_calls_title" android:key="sound_category_calls">
<com.htc.preference.HtcPreference android:persistent="true" android:title="@string/ringtone_title" android:key="ringtone" android:summary="@string/ringtone_summary" android:dependency="silentlist" android:dialogTitle="@string/ringtone_title" />
<com.htc.preference.HtcPreference android:persistent="true" android:title="@string/ringtone_title" android:key="ringtone_slot2" android:summary="@string/ringtone_summary" android:dependency="silentlist" android:dialogTitle="@string/ringtone_title" />
<com.htc.preference.HtcPreference android:persistent="true" android:title="@string/htc_ringtone_virbrate_title" android:key="ringtone_vibrate" android:summary="@string/htc_ringtone_virbrate_summary" android:dialogTitle="@string/htc_ringtone_virbrate_title" />
<com.android.settings.framework.preference.sound.HtcBePolitePreference android:dependency="silentlist" />
<com.android.settings.framework.preference.sound.HtcPocketModePreference android:dependency="silentlist" />
<com.android.settings.framework.preference.sound.HtcFlipToSpeakerPreference android:dependency="silentlist" />
</com.htc.preference.HtcPreferenceCategory>
<com.htc.preference.HtcPreferenceCategory android:title="@string/sound_category_notification_title" android:key="category_notification" />
<com.htc.preference.HtcPreference android:persistent="true" android:title="@string/htc_notification_sound_title" android:key="notification_sound" android:summary="@string/htc_notification_sound_summary" android:dependency="silentlist" android:dialogTitle="@string/htc_notification_sound_dialog_title" />
<com.htc.preference.HtcPreference android:persistent="true" android:title="@string/htc_notification_sound_vibrate_title" android:key="notification_sound_vibrate" android:summary="@string/htc_notification_sound_vibrate_summary" android:dialogTitle="@string/htc_notification_sound_vibrate_title" />
<com.htc.preference.HtcCheckBoxPreference android:persistent="false" android:title="@string/notification_pulse_title" android:key="notification_pulse" android:summary="@string/notification_pulse_summary" />
<com.htc.preference.HtcPreferenceCategory android:title="@string/sound_category_feedback_title" />
<com.htc.preference.HtcCheckBoxPreference android:title="@string/dtmf_tone_enable_title" android:key="dtmf_tone" android:defaultValue="true" android:summaryOn="@string/dtmf_tone_enable_summary_on" android:summaryOff="@string/dtmf_tone_enable_summary_off" />
<com.htc.preference.HtcListPreference android:persistent="true" android:entries="@array/htc_cdma_dtmf_tone_entries" android:title="@string/dtmf_tone_enable_title" android:key="htc_cdma_dtmf_tone" android:dependency="silentlist" android:defaultValue="0" android:entryValues="@array/htc_cdma_dtmf_tone_values" />
<com.htc.preference.HtcCheckBoxPreference android:title="@string/sound_effects_enable_title" android:key="sound_effects" android:defaultValue="true" android:summaryOn="@string/sound_effects_enable_summary_on" android:summaryOff="@string/sound_effects_enable_summary_off" />
<com.htc.preference.HtcCheckBoxPreference android:title="@string/lock_sounds_enable_title" android:key="lock_sounds" android:defaultValue="true" android:summaryOn="@string/lock_sounds_enable_summary_on" android:summaryOff="@string/lock_sounds_enable_summary_off" />
<com.htc.preference.HtcListPreference android:persistent="false" android:title="@string/powersaver_haptic_feedback" android:key="haptic_feedback_list" android:summary="@string/haptic_feedback_enable_summary_on" android:dialogTitle="@string/profiles_dialog_title" />
<com.htc.preference.HtcCheckBoxPreference android:title="@string/powersaver_haptic_feedback" android:key="haptic_feedback" android:defaultValue="true" android:summaryOn="@string/haptic_feedback_enable_summary_on" android:summaryOff="@string/haptic_feedback_enable_summary_off" />
<com.htc.preference.HtcCheckBoxPreference android:persistent="false" android:title="@string/roaming_ringtone_title" android:key="button_roaming_ringtone" android:summary="@string/roaming_ringtone_summary" android:dependency="silentlist" android:defaultValue="false" />
<com.htc.preference.HtcListPreference android:entries="@array/emergency_tone_entries" android:title="@string/emergency_tone_title" android:key="emergency_tone" android:summary="@string/emergency_tone_summary" android:entryValues="@array/emergency_tone_values" />
</com.htc.preference.HtcPreferenceScreen>

I'd need to search around for it. Keep looking for now, I won't have time until the weekend.
Sent from my HTC Sensation 4G using Tapatalk 2

GROGG88,
after cross-checking titles in '\res\xml\sound_settings.xml' with '\res\values\strings.xml', I found out that editing sound_settings.xml doesn't help.
Can you please check it out?
Thank you very much =)

I'll put it on my list of things to do. I'm out of town right now...

Related

Ant build-app signing problem (Lulz hlep!)

Ok, I'm trying to build my app with admob .jar library. When I build it with the android eclipse plugin, it claims that the "install was unsuccessful" on my phone. I then tried using the following build.xml with ant. When I put the debug signed version on my phone it works fine. When I try to sign the unsigned .apk, it says:
Code:
java.util.zip.ZipException: invalid entry compressed size (expected 30432 but got 30419 bytes)
at java.util.zip.ZipOutputStream.closeEntry(Unknown Source)
at org.ragingcat.shared.util.jar.S_JarOutputStream.s_writeEntry(S_JarOutputStream.java:344)
at org.ragingcat.kst.util.jarsigner.KTLKprOpenSignAbs._s_writeJarEntry(KTLKprOpenSignAbs.java:184)
at org.ragingcat.kst.util.jarsigner.KTLKprOpenSignAbs._signJarFile(KTLKprOpenSignAbs.java:619)
at org.ragingcat.kst.util.jarsigner.KTLKprOpenSignAbs._doJob_(KTLKprOpenSignAbs.java:424)
at org.ragingcat.kst.util.jarsigner.KTLKprOpenSignKPAbs.doJob(KTLKprOpenSignKPAbs.java:312)
at org.ragingcat.kst.util.jarsigner.KTLKprOpenSignJks.doJob(KTLKprOpenSignJks.java:73)
at org.ragingcat.kst.swing.panel.PTabUICmdJsrSign.actionPerformed(PTabUICmdJsrSign.java:235)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
1 ? ERROR (instance ID: 1)
. location: org.ragingcat.share.util.jar.S_JarOutputStream.s_writeEntry(jos, jey, jfeInput, frmOwner, strTitleAppli)
. message: excIO caught
I'm running ant with:
dirs
resource-source
aidl
compile
dex
package-res-and-assets
release
Using latest version of jdk, android sdk, eclipse, and admob sdk
Is there a secret way to use the eclipse android plugin instead of ant? It just never captures the jar files when I use eclipse.
I am so confused and frustrated right now. It's probably some stupid small problem but I cant find it. HLEP!
Code:
<?xml version="1.0" ?>
<project name="blockedfree" default="debug">
<property name="sdk-folder" value="C:/Program Files/eclipse/AndroidSDK/" />
<property name="android-tools" value="C:/Program Files/eclipse/AndroidSDK/tools" />
<property name="application-package" value="com.nickkarstedt.blockedfree" />
<property name="android-framework" value="${android-tools}/lib/framework.aidl" />
<property name="resource-dir" value="res" />
<property name="asset-dir" value="assets" />
<property name="srcdir" value="src" />
<condition property="srcdir-ospath"
value="${basedir}\${srcdir}"
else="${basedir}/${srcdir}" >
<os family="windows"/>
</condition>
<property name="external-libs" value="libs" />
<condition property="external-libs-ospath"
value="${basedir}\${external-libs}"
else="${basedir}/${external-libs}" >
<os family="windows"/>
</condition>
<property name="outdir-classes" value="${outdir}/classes" />
<condition property="outdir-classes-ospath"
value="${basedir}\${outdir-classes}"
else="${basedir}/${outdir-classes}" >
<os family="windows"/>
</condition>
<property name="outdir-r" value="src" />
<!-- Intermediate files -->
<property name="dex-file" value="classes.dex" />
<property name="intermediate-dex" value="${outdir}/${dex-file}" />
<condition property="intermediate-dex-ospath"
value="${basedir}\${intermediate-dex}"
else="${basedir}/${intermediate-dex}" >
<os family="windows"/>
</condition>
<!-- The final package file to generate -->
<property name="resources-package" value="${outdir}/${ant.project.name}.ap_" />
<condition property="resources-package-ospath"
value="${basedir}\${resources-package}"
else="${basedir}/${resources-package}" >
<os family="windows"/>
</condition>
<property name="out-debug-package" value="${outdir}/${ant.project.name}-debug.apk" />
<condition property="out-debug-package-ospath"
value="${basedir}\${out-debug-package}"
else="${basedir}/${out-debug-package}" >
<os family="windows"/>
</condition>
<property name="out-unsigned-package" value="${outdir}/${ant.project.name}-unsigned.apk" />
<condition property="out-unsigned-package-ospath"
value="${basedir}\${out-unsigned-package}"
else="${basedir}/${out-unsigned-package}" >
<os family="windows"/>
</condition>
<!-- Tools -->
<condition property="aapt" value="${android-tools}/aapt.exe" else="${android-tools}/aapt" >
<os family="windows"/>
</condition>
<condition property="aidl" value="${android-tools}/aidl.exe" else="${android-tools}/aidl" >
<os family="windows"/>
</condition>
<condition property="adb" value="${android-tools}/adb.exe" else="${android-tools}/adb" >
<os family="windows"/>
</condition>
<condition property="dx" value="${android-tools}/dx.bat" else="${android-tools}/dx" >
<os family="windows"/>
</condition>
<condition property="apk-builder" value="${android-tools}/apkbuilder.bat" else="${android-tools}/apkbuilder" >
<os family="windows"/>
</condition>
<property name="android-jar" value="${sdk-folder}/android.jar" />
<!-- Rules -->
<!-- Create the output directories if they don't exist yet. -->
<target name="dirs">
<echo>Creating output directories if needed...</echo>
<mkdir dir="${outdir}" />
<mkdir dir="${outdir-classes}" />
</target>
<!-- Generate the R.java file for this project's resources. -->
<target name="resource-src" depends="dirs">
<echo>Generating R.java / Manifest.java from the resources...</echo>
<exec executable="${aapt}" failonerror="true">
<arg value="package" />
<arg value="-m" />
<arg value="-J" />
<arg value="${outdir-r}" />
<arg value="-M" />
<arg value="AndroidManifest.xml" />
<arg value="-S" />
<arg value="${resource-dir}" />
<arg value="-I" />
<arg value="${android-jar}" />
</exec>
</target>
<!-- Generate java classes from .aidl files. -->
<target name="aidl" depends="dirs">
<echo>Compiling aidl files into Java classes...</echo>
<apply executable="${aidl}" failonerror="true">
<arg value="-p${android-framework}" />
<arg value="-I${srcdir}" />
<fileset dir="${srcdir}">
<include name="**/*.aidl"/>
</fileset>
</apply>
</target>
<!-- Compile this project's .java files into .class files. -->
<target name="compile" depends="dirs, resource-src, aidl">
<javac encoding="ascii" target="1.5" debug="true" extdirs=""
srcdir="."
destdir="${outdir-classes}"
bootclasspath="${android-jar}">
<classpath>
<fileset dir="${external-libs}" includes="*.jar"/>
</classpath>
</javac>
</target>
<!-- Convert this project's .class files into .dex files. -->
<target name="dex" depends="compile">
<echo>Converting compiled files and external libraries into ${outdir}/${dex-file}...</echo>
<apply executable="${dx}" failonerror="true" parallel="true">
<arg value="--dex" />
<arg value="--output=${intermediate-dex-ospath}" />
<arg path="${outdir-classes-ospath}" />
<fileset dir="${external-libs}" includes="*.jar"/>
</apply>
</target>
<!-- Put the project's resources into the output package file. -->
<target name="package-res-and-assets">
<echo>Packaging resources and assets...</echo>
<exec executable="${aapt}" failonerror="true">
<arg value="package" />
<arg value="-f" />
<arg value="-M" />
<arg value="AndroidManifest.xml" />
<arg value="-S" />
<arg value="${resource-dir}" />
<arg value="-A" />
<arg value="${asset-dir}" />
<arg value="-I" />
<arg value="${android-jar}" />
<arg value="-F" />
<arg value="${resources-package}" />
</exec>
</target>
<!-- Same as package-res-and-assets, but without "-A ${asset-dir}" -->
<target name="package-res-no-assets">
<echo>Packaging resources...</echo>
<exec executable="${aapt}" failonerror="true">
<arg value="package" />
<arg value="-f" />
<arg value="-M" />
<arg value="AndroidManifest.xml" />
<arg value="-S" />
<arg value="${resource-dir}" />
<!-- No assets directory -->
<arg value="-I" />
<arg value="${android-jar}" />
<arg value="-F" />
<arg value="${resources-package}" />
</exec>
</target>
<!-- Invoke the proper target depending on whether or not
an assets directory is present. -->
<!-- TODO: find a nicer way to include the "-A ${asset-dir}" argument
only when the assets dir exists. -->
<target name="package-res">
<available file="${asset-dir}" type="dir"
property="res-target" value="and-assets" />
<property name="res-target" value="no-assets" />
<antcall target="package-res-${res-target}" />
</target>
<!-- Package the application and sign it with a debug key. -->
<target name="debug" depends="dex, package-res">
<echo>Packaging ${out-debug-package}, and signing it with a debug key...</echo>
<exec executable="${apk-builder}" failonerror="true">
<arg value="${out-debug-package-ospath}" />
<arg value="-z" />
<arg value="${resources-package-ospath}" />
<arg value="-f" />
<arg value="${intermediate-dex-ospath}" />
<arg value="-rf" />
<arg value="${srcdir-ospath}" />
<arg value="-rj" />
<arg value="${external-libs-ospath}" />
</exec>
</target>
<!-- Package the application without signing it. -->
<target name="release" depends="dex, package-res">
<echo>Packaging ${out-unsigned-package} for release...</echo>
<exec executable="${apk-builder}" failonerror="true">
<arg value="${out-unsigned-package-ospath}" />
<arg value="-u" />
<arg value="-z" />
<arg value="${resources-package-ospath}" />
<arg value="-f" />
<arg value="${intermediate-dex-ospath}" />
<arg value="-rf" />
<arg value="${srcdir-ospath}" />
<arg value="-rj" />
<arg value="${external-libs-ospath}" />
</exec>
<echo>It will need to be signed with jarsigner before being published.</echo>
</target>
<!-- Install the package on the default emulator -->
<target name="install" depends="debug">
<echo>Installing ${out-debug-package} onto default emulator...</echo>
<exec executable="${adb}" failonerror="true">
<arg value="install" />
<arg value="${out-debug-package}" />
</exec>
</target>
</project>
.... nevermind, I just figured it out. To anyone with similar problems, you DON'T need to use a build.xml if you're using Eclipse. Put the .jar in your libs folder, then Right click your project -> Build path -> configure build path. Click the Libraries tab, then click Add JARs... Then select the jar WITHIN your current project. I also selected the jar in order and export. Not sure if you have to, but it worked.

Multiscreen

What app, jar, or xml controls the multiscreen. Trying to get something to work and need to know what dictates the split screen on a few apps.
It's in the AndroidManifest.xml file.
You need to add this to the xml:
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
And this before closing the application tag:
<uses-library required="false" name="com.sec.android.app.multiwindow" />
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H" android:value="598.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H" android:value="598.0dip" />
</application>

removing optional projects from CM's manifest

Hi, I want to build a minimal ROM for my LG P990. It will be used as a remote control only, so I don't need telephony and bluetooth.
Here's what my local_manifest.xml looks like so far:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="aosp"
fetch="https://android.googlesource.com"
review="android-review.googlesource.com" />
<remote name="github"
fetch=".."
review="review.cyanogenmod.org" />
<remote name="private"
fetch="ssh://[email protected]" />
<default revision="refs/heads/cm-10.2"
remote="github"
sync-c="true"
sync-j="4" />
<remove-project name="CyanogenMod/android_external_Focal" /> -->
<remove-project name="CyanogenMod/android_external_stressapptest" />
<remove-project name="CyanogenMod/android_external_svox" />
<remove-project name="CyanogenMod/android_external_tagsoup" />
<remove-project name="CyanogenMod/android_frameworks_opt_telephony" />
<remove-project name="CyanogenMod/android_packages_apps_Apollo" />
<remove-project name="CyanogenMod/android_packages_apps_CellBroadcastReceiver" />
<remove-project name="CyanogenMod/android_packages_apps_CMUpdater" />
<remove-project name="CyanogenMod/android_packages_apps_Focal" />
<remove-project name="CyanogenMod/android_packages_apps_Mms" />
<remove-project name="CyanogenMod/android_packages_apps_VoiceDialer" />
<remove-project name="CyanogenMod/android_packages_apps_VoicePlus" />
<remove-project name="CyanogenMod/android_packages_providers_TelephonyProvider" />
<remove-project name="CyanogenMod/android_packages_wallpapers_Galaxy4" />
<remove-project name="CyanogenMod/android_packages_wallpapers_HoloSpiral" />
<remove-project name="CyanogenMod/android_packages_wallpapers_LivePicker" />
<remove-project name="CyanogenMod/android_packages_wallpapers_MagicSmoke" />
<remove-project name="CyanogenMod/android_packages_wallpapers_MusicVisualization" />
<remove-project name="CyanogenMod/android_packages_wallpapers_NoiseField" />
<remove-project name="CyanogenMod/android_packages_wallpapers_PhaseBeam" />
<remove-project name="CyanogenMod/android_frameworks_opt_mms" />
</manifest>
However when compiling I get the following error:
Code:
make: *** No rule to make target `.../work-p990/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar', needed by `.../work-p990/out/target/common/obj/JAVA_LIBRARIES/mms-common_intermediates/classes-full-debug.jar'. Stop.
make: *** Waiting for unfinished jobs....
1.) What project does the target "mms-common_intermediates/classes-full-debug.jar" belong to? There's only 1 project with "mms" in its name and that's "CyanogenMod/android_frameworks_opt_mms", which I have already added to local_manifest.xml.
2.) How can I find out more about the dependencies between the projects? What's safe to remove?

Any App development to read the Wifi Passwords in WifiConfigStore.xml for Oreo?

I don't know if no one picked up on this but I don't see any discussion about app development to read wifi passwords for the replacement to wpa_supplicant.conf, that being WifiConfigStore.xml. I have notified the developer of the app I use of the change but he has yet to release an update.
Essentially if you upgrade your phone to Android Oreo it will migrate the /data/misc/wifi/wpa_supplicant.conf to /data/misc/wifi/WifiConfigStore.xml.
That is the new file
Your Wifi Password app of choice will read the wpa_supplicant.conf which will still exist, however, any new connections made will be stored in the WifiConfigStore.xml file meaning that the Wifi Password apps won't "see" the new connections.
Worse yet, If you did a reset of your phone and you are starting from scratch you will only be able to get that information from the WifiConfigStore.xml file.
All is not lost, since you most likely have root for the Wifi Password app to get that data in the first place, albeit in a nice gui.
This means that you access that file directly, via a root explorer file manager, to see your connections and passwords.
So is there anyone considering doing an app for this? If so, the following may help.
This is only a small sample with 2 wifi connections. One with a preshared key and one without.
I hope this helps.
Code:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<WifiConfigStoreData>
<int name="Version" value="1" />
<NetworkList>
<Network>
<WifiConfiguration>
<string name="ConfigKey">"LIME1002"WPA_PSK</string>
<string name="SSID">"LIME1002"</string>
<null name="BSSID" />
<string name="PreSharedKey">"guesswhatitis"</string>
<null name="WEPKeys" />
<int name="WEPTxKeyIndex" value="0" />
<boolean name="HiddenSSID" value="false" />
<boolean name="RequirePMF" value="false" />
<byte-array name="AllowedKeyMgmt" num="1">02</byte-array>
<byte-array name="AllowedProtocols" num="1">03</byte-array>
<byte-array name="AllowedAuthAlgos" num="0"></byte-array>
<byte-array name="AllowedGroupCiphers" num="1">0c</byte-array>
<byte-array name="AllowedPairwiseCiphers" num="1">06</byte-array>
<boolean name="Shared" value="true" />
<int name="Status" value="0" />
<null name="FQDN" />
<null name="ProviderFriendlyName" />
<null name="LinkedNetworksList" />
<null name="DefaultGwMacAddress" />
<boolean name="ValidatedInternetAccess" value="true" />
<boolean name="NoInternetAccessExpected" value="false" />
<int name="UserApproved" value="1" />
<boolean name="MeteredHint" value="false" />
<boolean name="UseExternalScores" value="false" />
<int name="NumAssociation" value="2" />
<int name="CreatorUid" value="-1" />
<string name="CreatorName">null</string>
<null name="CreationTime" />
<int name="LastUpdateUid" value="-1" />
<string name="LastUpdateName">null</string>
<int name="LastConnectUid" value="-1" />
<boolean name="IsLegacyPasspointConfig" value="false" />
<long-array name="RoamingConsortiumOIs" num="0" />
</WifiConfiguration>
<NetworkStatus>
<string name="SelectionStatus">NETWORK_SELECTION_ENABLED</string>
<string name="DisableReason">NETWORK_SELECTION_ENABLE</string>
<null name="ConnectChoice" />
<long name="ConnectChoiceTimeStamp" value="-1" />
<boolean name="HasEverConnected" value="true" />
</NetworkStatus>
<IpConfiguration>
<string name="IpAssignment">DHCP</string>
<string name="ProxySettings">NONE</string>
</IpConfiguration>
</Network>
<Network>
<WifiConfiguration>
<string name="ConfigKey">"Ashton_Med_Patients"NONE</string>
<string name="SSID">"Ashton_Med_Patients"</string>
<null name="BSSID" />
<null name="PreSharedKey" />
<null name="WEPKeys" />
<int name="WEPTxKeyIndex" value="0" />
<boolean name="HiddenSSID" value="false" />
<boolean name="RequirePMF" value="false" />
<byte-array name="AllowedKeyMgmt" num="1">01</byte-array>
<byte-array name="AllowedProtocols" num="1">03</byte-array>
<byte-array name="AllowedAuthAlgos" num="0"></byte-array>
<byte-array name="AllowedGroupCiphers" num="1">0c</byte-array>
<byte-array name="AllowedPairwiseCiphers" num="1">06</byte-array>
<boolean name="Shared" value="true" />
<int name="Status" value="0" />
<null name="FQDN" />
<null name="ProviderFriendlyName" />
<null name="LinkedNetworksList" />
<null name="DefaultGwMacAddress" />
<boolean name="ValidatedInternetAccess" value="true" />
<boolean name="NoInternetAccessExpected" value="false" />
<int name="UserApproved" value="1" />
<boolean name="MeteredHint" value="false" />
<boolean name="UseExternalScores" value="false" />
<int name="NumAssociation" value="1" />
<int name="CreatorUid" value="1000" />
<string name="CreatorName">android.uid.system:1000</string>
<string name="CreationTime">time=07-26 13:20:02.564</string>
<int name="LastUpdateUid" value="1000" />
<string name="LastUpdateName">android.uid.system:1000</string>
<int name="LastConnectUid" value="1000" />
<boolean name="IsLegacyPasspointConfig" value="false" />
<long-array name="RoamingConsortiumOIs" num="0" />
</WifiConfiguration>
<NetworkStatus>
<string name="SelectionStatus">NETWORK_SELECTION_ENABLED</string>
<string name="DisableReason">NETWORK_SELECTION_ENABLE</string>
<null name="ConnectChoice" />
<long name="ConnectChoiceTimeStamp" value="-1" />
<boolean name="HasEverConnected" value="true" />
</NetworkStatus>
<IpConfiguration>
<string name="IpAssignment">DHCP</string>
<string name="ProxySettings">NONE</string>
</IpConfiguration>
</Network>
</NetworkList>
<PasspointConfigData>
<long name="ProviderIndex" value="0" />
</PasspointConfigData>
</WifiConfigStoreData>
I'm looking for an app that lets you manage/see wifi passwords with the new method too.
So far, the only app who does something with it, is titanium backup. It only backups/restores the networks with passwords though.
Hope there will be more apps being updated to support this.
I've created an app that you can test.
thread: https://forum.xda-developers.com/android/apps-games/app-oreo-wifi-passwords-t3708043
Try WiFi Password Show app, it can help you read WiFi Password on Android Oreo 8.0 and up
play.google.com/store/apps/details?id=com.phuongpn.wifipasswordshow
She reads them to me and makes a copy https://play.google.com/store/apps/details?id=com.rusdelphi.wifipassword
joseac said:
She reads them to me and makes a copy https://play.google.com/store/apps/details?id=com.rusdelphi.wifipassword
Click to expand...
Click to collapse
on samsung ROM, seems to be, the PWD not stored anymore in PLAIN ....
they are now encrypted ...
any idea if that can be supported as well ?
camro said:
on samsung ROM, seems to be, the PWD not stored anymore in PLAIN ....
they are now encrypted ...
any idea if that can be supported as well ?
Click to expand...
Click to collapse
Some time ago, it was said that if you changed the line the build.prop: ro.securestorage.support = true
by: - ​​ro.securestorage.support = false, and then restarted, it no longer encrypted networks.

Question Sbh 52 problem with calling help

Sbh 52 problem with calling from handsfree....it doesnt call at all....when i installed sbh 52.apk a warning came up telling me that this apk is for older android version....i know that is the problem i dont know what can i do to fix it...all the other function wotk properly...i have just unlocked bootloader and installed crdroid....if anyone can help i will be gratefull....thanks in advance
update it can make calls from th e bluetooth device only if i have the screen on and opened the application of sbh52 .....when i lock the screen i cannot do anything,no calls no messages
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="10023"
android:versionName="1.0.23"
package="com.sonymobile.smartconnect.raphael">
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="17" />
<uses-permission
android:name="android.permission.READ_CONTACTS" />
<uses-permission
android:name="android.permission.BLUETOOTH" />
<uses-permission
android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission
android:name="android.permission.VIBRATE" />
<permission
android:label="@ref/0x7f060008"
android:name="com.sonyericsson.extras.liveware.aef.HOSTAPP_PERMISSION"
androidrotectionLevel="2" />
<uses-permission
android:name="com.sonyericsson.extras.liveware.aef.HOSTAPP_PERMISSION" />
<uses-permission
android:name="android.permission.READ_PHONE_STATE" />
<uses-permission
android:name="android.permission.READ_CONTACTS" />
<uses-permission
android:name="android.permission.CALL_PHONE" />
<uses-permission
android:name="android.permission.READ_CALL_LOG" />
<uses-permission
android:name="android.permission.WRITE_INTERNAL_STORAGE" />
<uses-feature
android:name="android.hardware.telephony"
android:required="false" />
<application
android:theme="@ref/0x7f0a000c"
android:label="@ref/0x7f060001"
android:icon="@ref/0x7f020011"
android:name="com.sonymobile.smartconnect.raphael.RaphaelAha"
android:debuggable="false"
android:allowBackup="true">
<activity
android:theme="@ref/0x7f0a000b"
android:name="com.sonyericsson.j2.AhaActivity">
<intent-filter>
<action
android:name="com.sonymobile.smartconnect.raphael.LAUNCH" />
</intent-filter>
</activity>
<service
android:name="com.sonyericsson.j2.AhaService" />
<activity
android:name="com.sonymobile.smartconnect.headsetaha.preferences.HeadsetHomeActivity"
android:launchMode="2">
<intent-filter>
<action
android:name="android.intent.action.MAIN" />
<action
android:name="com.sonyericsson.extras.SETTINGS" />
<category
android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="com.sonyericsson.j2.preferences.DebugPreferences" />
<activity
android:theme="@ref/0x7f0a000b"
android:name="com.sonyericsson.j2.fota.FotaActivity"
android:screenOrientation="1" />
<activity
android:theme="@ref/0x01030055"
android:name="com.sonyericsson.j2.lwm.LwmUpgradeActivity"
android:screenOrientation="1" />
<activity
android:name="com.sonymobile.smartconnect.raphael.preferences.RaphaelExtensions" />
<activity
android:name="com.sonymobile.smartconnect.raphael.preferences.MultiSingleMasterPreferences" />
<activity
android:name="com.sonymobile.smartconnect.raphael.preferences.RaphaelAccessorySettings" />
<activity
android:name="com.sonymobile.smartconnect.headsetaha.preferences.HeadsetFirmwarePreferences" />
<activity
android:name="com.sonymobile.smartconnect.headsetaha.preferences.HeadsetUsageTips"
android:screenOrientation="1" />
<activity
android:name="com.sonymobile.smartconnect.headsetaha.preferences.SpeechEnginePreferences" />
<activity
android:name="com.sonymobile.smartconnect.headsetaha.preferences.ExtensionPreferences" />
<activity
android:name="com.sonymobile.smartconnect.headsetaha.preferences.CallHandlingPreferences" />
<activity
android:name="com.sonymobile.smartconnect.headsetaha.preferences.TtsPreferences" />
<activity
android:theme="@ref/0x7f0a000b"
android:name="com.sonymobile.smartconnect.headsetaha.tts.TtsCreator" />
<service
android:name="com.sonymobile.smartconnect.raphael.call_log.RaphaelCallLogService" />
</application>
</manifest>
thats the manifest inside the apk ....i dont know how and where to start .....thanks in advance for any help

Categories

Resources