WirelessSwitch on Wing - Wing, P4350 General

I've been using a Battery Status skin called Wireless Switch found here: http://forum.xda-developers.com/showthread.php?t=392998. It turns on/off Bluetooth, Wifi, and Radio. I really like it but I can't get the Wifi icon to change. the BT and Radio work fine. I'm looking for the reg key to toggle this. I haven't been able to find it.
Could someone please point me in the right direction? This is the script included with the skin.
Code:
<Window xmlns="http://www.chi-tai.info/BatteryStatus" imagesrc="WirelessSwitch" version="1">
<Row itemselect="1">
<image src="background.png"/>
<View height="38" >
<Item class="registry_tracker" ontap="ToggleBluetooth" onhold="MenuBlueTooth" >
<image src="BT%d.png" left="-9" />
<registry key_value="HKLM\System\State\Hardware\Bluetooth" mask="0xFF" />
</Item>
<Item class="registry_tracker" ontap="ToggleWiFi" onhold="MenuWiFi" >
<image src="WiFi%d.png" left="31" />
<registry key_value="HKLM\Software\Drivers\WLAN\WlanStatus" />
</Item>
<Item class="registry_tracker" ontap="TogglePhone" onhold="MenuPhone" >
<image src="Phone%d.png" left="31" />
<registry key_value="HKLM\System\State\Phone\Radio Ready State" />
</Item>
</View>
</Row>
</Window>
Thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Found the reg key myself.... finally.
It's "HKLM\System\State\Hardware\Wifi"
If anyone wants to know for future reference

I want to know ! Could you teach me!

Related

WM 6.5 start menu editing

is there a way to edit the size of the items in the start menu? if so pls post instructions. thanks!
i had the same question someone told me to edit the start* .cpr file but i tried it and it did not work
how do u edit .cpr files?
manachinmaniac said:
how do u edit .cpr files?
Click to expand...
Click to collapse
open with notepad or notepad++
manachinmaniac said:
how do u edit .cpr files?
Click to expand...
Click to collapse
Best is to use XML Notepad from Microsoft. Its free & great, makes it very easy to edit cpr files. Google for it.
orite guys thanks. 1 more thing. where do i find the start .cpr file?
Start menu 4x4 with big icons:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also did a different rounded-hexagone-select image.
Just replace the files on your Windows folder with the attached zip files.
Download: http://forum.xda-developers.com/showpost.php?p=3813167&postcount=95
Portion of the cpr code to edit for icon size:
<Image ID="Image" Left="15" Top="0" Width="45" Height="45" ScaleStyle="Fit" />
Click to expand...
Click to collapse
thnks twolf!
This belongs in the Q&A section
thank you
I ask that questions ARE NOT ANSWERED in this section.

[Q] Need help with making a dialog transparent.

Can someone post a style for a dialog that is 100% transparent? (Any API version)
I've found many but not a single one works
Definitely missing something.
Style:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Transparent" parent="@android:style/Theme.Dialog">
<item name="android:windowFrame">@null</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
<item name="android:textColor">@color/white</item>
<item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
<item name="android:windowBackground">@drawable/transparent_bg</item>
</style>
</resources>
Tried these without success:
Instead of the transparent image (@drawable/transparent_bg) in the style, using:
<item name="android:windowBackground">@android:color/transparent</item>
Even tried defining a transparent color entry and using it.
removing "parent="@android:style/Theme.Dialog"" from the style tag
Programatically calling setTheme(R.style.Transparent); from the activity's oncreate() before creating the dialog.
Manifest:
<application android:theme="@style/Transparent" ....>
Creating the Dialog:
The main activity creates and shows the dialog in its onCreate()
Here is what the same code looks like on Froyo and Gingerbread (emulator images but accurate on my Nexus)
Gingerbread (black dialog bg):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Froyo (grey dialog bg):
thanks.

How to: Add 2.5GHZ/5GHZ preferred band toggle to Settings/Wifi.

Here is how to add 2.5GHZ/5GHZ toggle to Wifi Settings:
NOTE: You need root to do this
1. Open up others.xml located @ /system/csc
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<SamsungMobileFeauture>
<Version>ED002</Version>
<Country>GERMANY</Country>
<CountryISO>DE</CountryISO>
<SalesCode>DBT</SalesCode>
<FeatureSet>
<CscFeature_Web_DisableMostVisitedHomepage>TRUE</CscFeature_Web_DisableMostVisitedHomepage>
<CscFeature_Sip_DisableAutoCorrection>TRUE</CscFeature_Sip_DisableAutoCorrection>
<!-- Launcher -->
<CscFeature_Launcher_TotalPageCount>5</CscFeature_Launcher_TotalPageCount>
<CscFeature_Launcher_DefaultPageNumber>2</CscFeature_Launcher_DefaultPageNumber>
</FeatureSet></SamsungMobileFeauture>
2. Add the line on a new line "<CscFeature_Wifi_PreferredBand>true</CscFeature_Wifi_PreferredBand>" inside the FeatureSet brackets.
3. Should look like this:
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<SamsungMobileFeauture>
<Version>ED002</Version>
<Country>GERMANY</Country>
<CountryISO>DE</CountryISO>
<SalesCode>DBT</SalesCode>
<FeatureSet>
<CscFeature_Web_DisableMostVisitedHomepage>TRUE</CscFeature_Web_DisableMostVisitedHomepage>
<CscFeature_Sip_DisableAutoCorrection>TRUE</CscFeature_Sip_DisableAutoCorrection>
<!-- Launcher -->
<CscFeature_Launcher_TotalPageCount>5</CscFeature_Launcher_TotalPageCount>
<CscFeature_Launcher_DefaultPageNumber>2</CscFeature_Launcher_DefaultPageNumber>
<CscFeature_Wifi_PreferredBand>true</CscFeature_Wifi_PreferredBand>
</FeatureSet></SamsungMobileFeauture>
4. Now you should have toggle!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I had stumbled upon this randomly so thought I share but I dont have a 5ghz router to test it.
wow...this hack is way too simple...I wonder if it works...I will check and see...
edit: confirming this works, but router is dual-band 2.4Ghz and 5GHz...

Write privileges to SDcard in Marshmallow

Im have:
HTC One M9Plus
Android Marshmallow
Root superSu 2.78
S-OFF
and installed "Marshmallow SD Fix - Root"
Titanium Backup have privileges for write to SDcard in Marshmallow SD Fix - Root, but Titanium Backup can not create files on the memory card
This instruction I checked, too, does not work
instruction:
Go to Local > / Device > system > etc > permissions > and open platform.xml as text in “ES Note Editor”.
Find the following line:
“android.permission.WRITE_EXTERNAL_STORAGE” permission
Change it from :
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
to :
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
Do you know how to give privileges to write to the marshmallows?
Have you check the "Mount namespace separation" in the setting of SuperSU?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
yvtc75 said:
Have you check the "Mount namespace separation" in the setting of SuperSU?
View attachment 3915123
Click to expand...
Click to collapse
Thank you for your response!
YES, i have a bird in the checkbox
I decided the problem with Xposed and XInternalSD

ZTE Blade A3 (A0616) ROOT

Hello everyone!
头一次发帖,不知谷歌相册能否上传图片
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Save as format.xml
HTML:
<?xml version="1.0" encoding="UTF-8" ?>
<flashtool-config version="2.0">
<general>
<chip-name>MT6737T</chip-name>
<storage-type>EMMC</storage-type>
<download-agent>MTK_AllInOne_DA.bin</download-agent>
<scatter>MTK_Android_scatter.txt</scatter>
<rom-list>
<rom index="0" enable="true">preloader_zte6737t_66_n.bin</rom>
</rom-list>
<connection type="BromUSB" high-speed="true" power="AutoDetect" da_log_level="Info" timeout-count="3600000" com-port="" />
<checksum-level>none</checksum-level>
</general>
<commands>
<format validation="false" physical="false" erase-flag="NormalErase" auto-format="false">
<begin-addr>0x0000000000000000</begin-addr>
<length>0x0000000000040000</length>
<part-id>1</part-id>
</format>
</commands>
</flashtool-config>
Save as download.xml
HTML:
<?xml version="1.0" encoding="UTF-8" ?>
<flashtool-config version="2.0">
<general>
<chip-name>MT6737T</chip-name>
<storage-type>EMMC</storage-type>
<download-agent>MTK_AllInOne_DA.bin</download-agent>
<scatter>MTK_Android_scatter.txt</scatter>
<rom-list>
<rom index="0" enable="true">preloader_zte6737t_66_n.bin</rom>
</rom-list>
<connection type="BromUSB" high-speed="true" power="AutoDetect" da_log_level="Info" timeout-count="3600000" com-port="" />
<checksum-level>none</checksum-level>
</general>
<commands>
<download-only>
<da-download-all />
</download-only>
</commands>
</flashtool-config>
Save as a.bat
HTML:
[user=8011874]@Echo off[/user]
cd SP_Flash_Tool
flash_tool.exe -i format.xml -b
flash_tool.exe
flash_tool.exe -i download.xml -b
pause
The required documents are:
MTK_AllInOne_DA.bin ···············Official tool
MTK_Android_scatter.txt ···············handwriting
preloader_zte6737t_66_n.bin ················ update.zip
Put them in the SP_FLASH_TOOL folder
Execute a.bat
在进入SP_FLASH_TOOL工具界面后取消勾选第一项preloader的选择框并选择你要刷入的镜像
在刷写结束时会报错6104,请无视

Categories

Resources