Write privileges to SDcard in Marshmallow - One (M9+) General

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

Related

WirelessSwitch on Wing

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!

[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...

manual sd card fix help

was wondering, i have followed a few tuts on how to manually fix sd card permissions.
"
Using a root-enabled file manager (like ES file explorer), navigate to /system/etc/permissions
Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
Add an additional group definition for this permission: <group gid=”media_rw” />
Save the changes to the file.
Restart the phone."
{
"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"
}
done this several times, always have to reformat card and re apply.
seems that when i reboot my phone the permissions files gets jacked up and i have to re edit it and reformat card. then works for a while, seems to happen when powering off phone or rebooting it. have SU, busybox pro, and triangle away installed on device
any ideas? was stock root 4.4.3 sphl720.
i have a note 2 on the way and want to get this sorted before i start tinkering. thanX in advance
I've checked the permission on device/etc/permission/platform.xml and its no problem as u can see the photo i put below....but it is say that my sd card is not writeable while im using csr screen recorder and some other application..
#helpmepleaseeeeee
#i'mnoob

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