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...
Related
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!
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.
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.
Get rid of the annoying Operator/Time/Date on your lockscreen
{
"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"
}
First of all download the M10 Editor from here:
M10 Editor
thanks to Diamondback and Flemmard
And 7-Zip from here:
7-Zip
Then open the app and point the 7-zip as showed
Push load file and search for the extracted Idlescreen_Base.apk open it!
Then goto tab "m10 files" select as stated in the picture the blue accented line. Don't forget the checkbox Decode Images and press Decompile/Show.
So now goto the line as in the picture and select that. You can see on the rightpane the line as pointed change the number from "1" to "0" and your done!
Repeat that for the following Operator/Time/AMPM/Date
When your finished you go to the Start tab on the top left. Press on save and voila if you get the following screen the second below click close don't do anything with that!
When your looking for your file it can be found in C:\Users\username\AppData\Roaming\M10Editor\Idlescreen_Base
If you appreciate it click Thanks!!!!!!
Lockring edit coming soon.
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,请无视