how to remove data traffic disabled notification - Sony Xperia P, U, Sola, Go

so, on xperia U, how to remove it ?

Works on all xperia devices:
http://forum.xda-developers.com/showthread.php?t=1911464
Sent from my LT22i using xda app-developers app

ok, I googled out that x10 thread before I posted topic
but in my file i had this allready:
Code:
<?xml version="1.0" encoding="utf-8"?>
<settings version="807">
<setting key="dual-mic-noise-suppression-enabled" runtime="true">true</setting>
</settings>
so, I made it look like this, but it didn't work:
Code:
<?xml version="1.0" encoding="utf-8"?>
<settings version="807">
<setting key="dual-mic-noise-suppression-enabled" runtime="true">true</setting>
<setting key="data-connection-except-mms-can-clear-icon" runtime="false">true</setting>
<setting key="data-connection-except-mms-show-icon-when-enabled" runtime="false">false</setting>
<setting key="data-connection-except-mms-show-icon-when-disabled" runtime="false">false</setting>
</settings>
and, now, after I saw your answer, i tried this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<settings version="807">
<setting key="dual-mic-noise-suppression-enabled" runtime="true">true</setting>
</settings>
<settings version="1">
<setting key="data-connection-except-mms-can-clear-icon" runtime="false">true</setting>
<setting key="data-connection-except-mms-show-icon-when-enabled" runtime="false">false</setting>
<setting key="data-connection-except-mms-show-icon-when-disabled" runtime="false">false</setting>
</settings>
and it works great !!!
thanx for reply

darQ96 said:
ok, I googled out that x10 thread before I posted topic
but in my file i had this allready:
Code:
<?xml version="1.0" encoding="utf-8"?>
<settings version="807">
<setting key="dual-mic-noise-suppression-enabled" runtime="true">true</setting>
</settings>
so, I made it look like this, but it didn't work:
Code:
<?xml version="1.0" encoding="utf-8"?>
<settings version="807">
<setting key="dual-mic-noise-suppression-enabled" runtime="true">true</setting>
<setting key="data-connection-except-mms-can-clear-icon" runtime="false">true</setting>
<setting key="data-connection-except-mms-show-icon-when-enabled" runtime="false">false</setting>
<setting key="data-connection-except-mms-show-icon-when-disabled" runtime="false">false</setting>
</settings>
and, now, after I saw your answer, i tried this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<settings version="807">
<setting key="dual-mic-noise-suppression-enabled" runtime="true">true</setting>
</settings>
<settings version="1">
<setting key="data-connection-except-mms-can-clear-icon" runtime="false">true</setting>
<setting key="data-connection-except-mms-show-icon-when-enabled" runtime="false">false</setting>
<setting key="data-connection-except-mms-show-icon-when-disabled" runtime="false">false</setting>
</settings>
and it works great !!!
thanx for reply
Click to expand...
Click to collapse
do it work with Jeally Bean?

don't know, I have locked bootloader on my xperia U with unlock allowed status: NO
so I'm not able to use JB, thus I can't try it
try it yourself and see if it works

Related

[Q][HELP] Eclipse issue in main.xml

I am getting an annoying error when creating the GUI for my app. It is an extremely simple GUI with only two text boxes and one button. I created it using Android's SDK for Eclipse in the "Graphical layout", which converts it to the main.xml. However, I keep getting the following error:
"Failed to convert 'dberm22 app' into a drawable" <--dberm22 app is the (fake) name of my app.
The detailed log gives this:
Code:
!ENTRY com.android.ide.eclipse.adt 4 0 2011-09-27 21:54:46.255
!MESSAGE main.xml: Failed to convert 'dberm22 app' into a drawable
!STACK 0
java.lang.NumberFormatException: Color value 'dberm22 app' must start with #
at com.android.layoutlib.bridge.impl.ResourceHelper.getColor(ResourceHelper.java:71)
at com.android.layoutlib.bridge.impl.ResourceHelper.getDrawable(ResourceHelper.java:248)
at com.android.layoutlib.bridge.android.BridgeTypedArray.getDrawable(BridgeTypedArray.java:731)
at android.view.View.<init>(View.java:1951)
at android.widget.TextView.<init>(TextView.java:350)
at android.widget.TextView.<init>(TextView.java:343)
at sun.reflect.GeneratedConstructorAccessor15.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at android.view.LayoutInflater.createView(LayoutInflater.java:505)
at com.android.layoutlib.bridge.android.BridgeInflater.onCreateView(BridgeInflater.java:84)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
at com.android.layoutlib.bridge.android.BridgeInflater.createViewFromTag(BridgeInflater.java:129)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
at android.view.LayoutInflater.inflate(LayoutInflater.java:296)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:279)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:318)
at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:325)
at com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService.createRenderSession(RenderService.java:380)
at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.renderWithBridge(GraphicalEditorPart.java:1310)
at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.recomputeLayout(GraphicalEditorPart.java:1075)
at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.activated(GraphicalEditorPart.java:901)
at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.pageChange(LayoutEditor.java:403)
at org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPart.java:290)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2745)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1432)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
My strings.xml and main.xml should be fine:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:weightSum="1">
<TextView android:text="@string/Welcome" android:id="@+id/textView1" android:textAppearance="?android:attr/textAppearanceLarge" android:layout_height="wrap_content" android:layout_width="match_parent" android:background="@string/app_name" android:gravity="center" android:layout_weight="0.46"></TextView>
<Button android:id="@+id/button1" android:layout_width="match_parent" android:text="@string/Authorize" android:layout_height="wrap_content" android:layout_weight="0.20" android:onClick="callOAuth" android:clickable="true"></Button>
<TextView android:text="@string/Note" android:layout_height="wrap_content" android:id="@+id/textView3" android:gravity="center" android:layout_width="wrap_content" android:layout_weight="0.25"></TextView>
</LinearLayout>
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">dberm22 app</string>
<string name="Note">Note: This app uses OAuth to authenticate, so all your information is completely anonymous to me.</string>
<string name="Welcome">Welcome to yadda yadda yadda.</string>
<string name="Authorize">Authorize App</string>
<string name="callOAuth">callOAuth</string>
</resources>
What can be the issue? Its driving me nuts!
Thanks in advance,
dberm22
dberm22 said:
I am getting an annoying error when creating the GUI for my app. It is an extremely simple GUI with only two text boxes and one button. I created it using Android's SDK for Eclipse in the "Graphical layout", which converts it to the main.xml. However, I keep getting the following error:
"Failed to convert 'dberm22 app' into a drawable" <--dberm22 app is the (fake) name of my app.
The detailed log gives this:
<SNIP>
My strings.xml and main.xml should be fine:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:weightSum="1">
<TextView
android:text="@string/Welcome"
android:id="@+id/textView1"
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_height="wrap_content"
android:layout_width="match_parent"
[COLOR="Red"]android:background="@string/app_name"[/COLOR]
android:gravity="center"
android:layout_weight="0.46">
</TextView>
<Button android:id="@+id/button1" android:layout_width="match_parent" android:text="@string/Authorize" android:layout_height="wrap_content" android:layout_weight="0.20" android:onClick="callOAuth" android:clickable="true"></Button>
<TextView android:text="@string/Note" android:layout_height="wrap_content" android:id="@+id/textView3" android:gravity="center" android:layout_width="wrap_content" android:layout_weight="0.25"></TextView>
</LinearLayout>
What can be the issue? Its driving me nuts!
Thanks in advance,
dberm22
Click to expand...
Click to collapse
I think it's expectig a color ref hex like #ff0000 (red) for the background color, not a string.
android:background="@string/app_name"
You're trying to use a string as a background.
Gene Poole said:
I think it's expectig a color ref hex like #ff0000 (red) for the background color, not a string.
Click to expand...
Click to collapse
Wow...I looked through my code 1000 times, and completely missed that. Thanks so much!
[SOLVED]
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

GOlocker

Hi everybody, I have a problem with GOLocker...
I want implement it into my ROM then i copy com.jiubang.goscreenlock-1 in data/app but when i flash the ROM and I boot the phone I have the original lockscreen, why?
EDIT: Solved but now I have another problem, I want change the default settings infact the default setting is that the GoLocker isn't enable then I go to C:\ROMCooking\APKManager\projects\com.jiubang.goscreenlock-1.apk\res\xml and i found lock_setting.xml
Original
<?xml version="1.0" encoding="UTF-8"?>
<PreferenceScreen android:title="@string/setting_title"
xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference android:title="@string/start_go_lock" android:key="@string/start_go_lock_key" android:defaultValue="false" />
<Preference android:title="@string/my_go_lock" android:key="@string/my_go_lock_key" android:summary="需代码动态赋值" />
<CheckBoxPreference android:title="@string/go_lock_sound" android:key="@string/go_lock_sound_key" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/start_emergency_button" android:key="@string/start_emergency_button_key" android:defaultValue="true" />
</PreferenceScreen>
Click to expand...
Click to collapse
Edited by me
<?xml version="1.0" encoding="UTF-8"?>
<PreferenceScreen android:title="@string/setting_title"
xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference android:title="@string/start_go_lock" android:key="@string/start_go_lock_key" android:defaultValue="true" />
<Preference android:title="@string/my_go_lock" android:key="@string/my_go_lock_key" android:summary="需代码动态赋值" />
<CheckBoxPreference android:title="@string/go_lock_sound" android:key="@string/go_lock_sound_key" android:defaultValue="false" />
<CheckBoxPreference android:title="@string/start_emergency_button" android:key="@string/start_emergency_button_key" android:defaultValue="false" />
</PreferenceScreen>
Click to expand...
Click to collapse
Infact if we see the app the first option is that if we want enable GOLocker than I edited the first line changing false to true and the other 2 options but it's not important...
When I install the app the settings aren't changed, it's possible?
Another question: where is Zombie Art By Jack Larson string?
It's in strings.xml?
Upupupupupupupupupupupupupupupupupupup

[Q] [HELP] [JB] Animated Notification Pulldown

I need help in making an animated notification background.
I managed to make an animated status_bar_close_off.png by making a status_bar_close_off.xml under drawables with the codes below and deleting the png inside the drawable-hdpi so that it will read the xml file and not the png
status_bar_close_off.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="100" android:drawable="@drawable/anim1" />
<item android:duration="100" android:drawable="@drawable/anim2" />
<item android:duration="100" android:drawable="@drawable/anim3" />
<item android:duration="100" android:drawable="@drawable/anim4" />
</animation-list>
You can check the sample video here:
Now I'm trying to make the notification_panel_bg.png to animate using the same procedure but the result is it doesn't animate. All it displays is the first frame. Anyone had an idea how to animate the notification panel background in JB?
knightzero07 said:
I need help in making an animated notification background.
I managed to make an animated status_bar_close_off.png by making a status_bar_close_off.xml under drawables with the codes below and deleting the png inside the drawable-hdpi so that it will read the xml file and not the png
status_bar_close_off.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="100" android:drawable="@drawable/anim1" />
<item android:duration="100" android:drawable="@drawable/anim2" />
<item android:duration="100" android:drawable="@drawable/anim3" />
<item android:duration="100" android:drawable="@drawable/anim4" />
</animation-list>
You can check the sample video here:
Now I'm trying to make the notification_panel_bg.png to animate using the same procedure but the result is it doesn't animate. All it displays is the first frame. Anyone had an idea how to animate the notification panel background in JB?
Click to expand...
Click to collapse
Hi knightzero07 ,have you solved your problem with the notification panel background?
I'm trying the same for the notification panel background i'm on gt-i9100 with touchwizz
i added a animation_background.xml in SystemUI/res/drawables ,added new pngs in res/drawable-nodpi and changed tw_status_bar_expanded.xml
from this
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel"[COLOR="Red"] android:background="@drawable/notification_panel_bg" [/COLOR]android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/tw_notification_panel_header_height" layout="@layout/tw_status_bar_expanded_header" />
<TextView android:gravity="center" android:id="@id/emergency_calls_only" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
to this
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel" [COLOR="Red"]android:background="@drawable/animation_background" [/COLOR]android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/tw_notification_panel_header_height" layout="@layout/tw_status_bar_expanded_header" />
<TextView android:gravity="center" android:id="@id/emergency_calls_only" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
and my background is not animated, have you a solution?
thanks
I gave up on this XD
I still haven't seen any solution to the notification bg. The problem must be in the smali files and I'm no good in smali. If only someone could look into smali that holds the notification panel.
knightzero07 said:
I gave up on this XD
I still haven't seen any solution to the notification bg. The problem must be in the smali files and I'm no good in smali. If only someone could look into smali that holds the notification panel.
Click to expand...
Click to collapse
not sure why this aint working... .im on kitkat touchwiz and changed the exact files and it works.... i even posted a guide for kitkat here.... should be the same procedure on jellybean as the coding is very similar....
http://forum.xda-developers.com/showthread.php?t=1143675
the_original_teknikl said:
not sure why this aint working... .im on kitkat touchwiz and changed the exact files and it works.... i even posted a guide for kitkat here.... should be the same procedure on jellybean as the coding is very similar....
http://forum.xda-developers.com/showthread.php?t=1143675
Click to expand...
Click to collapse
I've read your guide. The only difference to what I've done was steps 10-12 which it doesn't really matter. Why would you replace the files of the original apk from the new one where you can actually use the new apk?
I really think this involves smali since I still have to remove one line from Phonestatusbar.smali to enable changing the notification background using drawables but not enabling its animation.
I'll try cm10's systemui if its possible to animate the notification panel.

Xiaomi mi A3

who can help ?
[9:37:15 PM COM5]:MiFlash 2020.3.14.0
[9:37:15 PM COM5]:vboytest index:5
[9:37:15 PM COM5]:flash in thread name:COM5,id:8
[9:37:15 PM COM5]:sw in images
[9:37:15 PM COM5]:flash in thread name:COM5,id:8
[9:37:15 PM COM5]:vboytest do open :
[9:37:15 PM COM5]: serial port COM5 opend successfully
[9:37:15 PM COM5]:[COM5]:start flash.
[9:37:15 PM COM5]:received hello packet
[9:37:15 PM COM5]rogrammertype: 0
[9:37:15 PM COM5]:vboytest:C:\Users\alish\Downloads\Archives\mia3\miaa3\images
[9:37:15 PM COM5]:download programmer file: C:\Users\alish\Downloads\Archives\mia3\miaa3\images\prog_firehose_ddr.elf
[9:37:15 PM COM5]:download programmer C:\Users\alish\Downloads\Archives\mia3\miaa3\images\prog_firehose_ddr.elf
[9:37:22 PM COM5]:Send done packet
[9:37:22 PM COM5]:file C:\Users\alish\Downloads\Archives\mia3\miaa3\images\prog_firehose_ddr.elf transferred successfully
[9:37:24 PM COM5]:send nop command
[9:37:24 PM COM5]:send command:<?xml version="1.0" ?><data><nop verbose="0" value="ping"/></data>
[9:37:24 PM COM5]:get response from target
[9:37:24 PM COM5]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Binary build date: May 22 2019 @ 17:10:49" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Binary build date: May 22 2019 @ 17:10:49
" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Chip serial num: 3141983854 (0xbb46de6e)" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Supported Functions (14):" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: program" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: read" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: nop" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: patch" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: configure" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: setbootablestoragedrive" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: erase" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: power" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: firmwarewrite" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: getstorageinfo" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: benchmark" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: emmc" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: ufs" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: fixgpt" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: End of supported functions 14" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Calling handler for nop" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Binary build date: May 22 2019 @ 17:10:49
" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Chip serial num: 3141983854 (0xbb46de6e)" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Supported Functions (14):" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: program" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: read" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: nop" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: patch" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: configure" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: setbootablestoragedrive" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: erase" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: power" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: firmwarewrite" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: getstorageinfo" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: benchmark" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: emmc" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: ufs" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: fixgpt" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: End of supported functions 14" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="false" /></data>
[9:37:24 PM COM5]:send configure command
[9:37:24 PM COM5]:send command:<?xml version="1.0" ?><data><configure verbose="0" AlwaysValidate="0" ZlpAwareHost="1" MaxPayloadSizeToTargetInBytes="1048576" MemoryName="ufs" SkipStorageInit="0"/></data>
[9:37:24 PM COM5]:get response from target
[9:37:24 PM COM5]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="ERROR: Only nop and sig tag can be recevied before authentication." /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="NAK" rawmode="false" /></data>
[9:37:25 PM COM5]:flashSuccess False
[9:37:25 PM COM5]:isFactory False CheckCPUID False
[9:37:25 PM COM5]:before:flashSuccess is False set IsUpdate:True set IsDone True
[9:37:25 PM COM5]:after:flashSuccess is False set IsUpdate:false set IsDone true
[9:37:25 PM COM5]:no Binary dump
[9:37:26 PM COM5]:no Binary dump
[9:37:26 PM COM5]:no Binary dump
[9:37:26 PM COM5]:edl authentication
[9:37:26 PM COM5]:GetUserInfo
[9:37:26 PM COM5]:AuthFlash
[9:37:26 PM COM5]:need edl authentication.
[9:37:26 PM COM5]:authentication edl.
[9:37:26 PM COM5]:send command:<?xml version="1.0" ?><data> <sig TargetName="req" verbose="1"/></data>
[9:37:26 PM COM5]:get response from target
[9:37:26 PM COM5]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<sig TargetName="blob" value="AQAAAIoBAABu3ka7DNKUQPIytMEh6hiJYST41g" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="false" /></data>
[9:37:27 PM COM5]rigin:AQAAAIoBAABu3ka7DNKUQPIytMEh6hiJYST41g
[9:37:27 PM COM5]:SignEdl
[9:37:35 PM COM5]:authentication failed result -6
[9:37:35 PM COM5]:System.Exception: authentication failed The operation completed successfully
at XiaoMiFlash.code.bl.SerialPortDevice.dlAuth()
at XiaoMiFlash.code.bl.SerialPortDevice.ConfigureDDR(Int32 intSectorSize, Int32 buffer_sectors, String ddrType, Int32 m_iSkipStorageInit)
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() at XiaoMiFlash.code.bl.SerialPortDevice.dlAuth()
at XiaoMiFlash.code.bl.SerialPortDevice.ConfigureDDR(Int32 intSectorSize, Int32 buffer_sectors, String ddrType, Int32 m_iSkipStorageInit)
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()
[9:37:35 PM COM5]:no provision exit:COM5
[9:37:35 PM COM5]:flashSuccess False
[9:37:35 PM COM5]:isFactory False CheckCPUID False
[9:37:35 PM COM5]:before:flashSuccess is False set IsUpdate:True set IsDone True
[9:37:35 PM COM5]:after:flashSuccess is False set IsUpdate:false set IsDone true
/// edl mode enabled
{
"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"
}
what are you trying to do? dont use Mi flasher... use Qfil.

			
				
you try to convert mia3 to ccea???? you have downloaded the right firmware? i think is not an miflash problem but i'm not sure

Help Modify settings.apk MIUI 8 6.9.29

help, I want to disable or hide the button light switch option. is it possible to do that in modifying settings.apk on miui 8. Thanks
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/key_settings"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/screen_key_press" android:key="screen_key_press">
<ListPreference android:entries="@arRay/screen_key_press_action" android:title="@string/app_switch_key" android:key="menu_press" android:dialogTitle="@string/screen_key_press_action" android:entryValues="@arRay/screen_key_press_action_value" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/screen_key_long_press" android:key="screen_key_long_press">
<ListPreference android:entries="@arRay/screen_key_long_press_action" android:title="@string/app_switch_key" android:key="menu_long_press" android:dialogTitle="@string/screen_key_long_press_action" android:entryValues="@arRay/screen_key_long_press_action_value" />
<ListPreference android:entries="@arRay/screen_key_long_press_action" android:title="@string/home_key" android:key="home_long_press" android:dialogTitle="@string/screen_key_long_press_action" android:entryValues="@arRay/screen_key_long_press_action_value" />
<ListPreference android:entries="@arRay/screen_key_long_press_action" android:title="@string/back_key" android:key="back_long_press" android:dialogTitle="@string/screen_key_long_press_action" android:entryValues="@arRay/screen_key_long_press_action_value" />
<ListPreference android:entries="@arRay/screen_key_long_press_timeout" android:title="@string/screen_key_long_press_timeout" android:key="screen_key_long_press_timeout" android:dialogTitle="@string/screen_key_long_press_timeout" android:entryValues="@arRay/screen_key_long_press_timeout_value" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/under_keyguard" android:key="under_keyguard">
<CheckBoxPreference android:title="@string/disable_power_key_long_press_under_keyguard" android:key="disable_power_long_press" />
<CheckBoxPreference android:title="@string/pref_volume_wake_title" android:key="pref_volume_wake" android:summary="@string/pref_volume_wake_summary" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/convenience_key_category_title" android:key="convenience_key">
<CheckBoxPreference android:title="@string/fp_nav_center_back_to_home_title" android:key="pref_fingerprint_nav_center_to_home" />
</PreferenceCategory>
<CheckBoxPreference android:title="@string/pref_button_light" android:key="pref_button_light" android:summary="@string/pref_button_light_summary" />
<ListPreference androidersistent="false" android:entries="@arRay/button_light_timeout_entries" android:title="@string/button_light_timeout" android:key="button_light_timeout" android:dependency="pref_button_light" android:dialogTitle="@string/button_light_timeout" android:entryValues="@arRay/button_light_timeout_value" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/status_bar_screen_button_key" android:key="screen_button_category">
<Preference android:title="@string/status_bar_key_position_custom" android:key="screen_button_custom" android:fragment="com.android.settings.screenkey.ScreenKeySettings" />
</PreferenceCategory>
</PreferenceScreen>
I already decompiled the settings.apk and found the xml file key_settings.xml. im wondering which string on the xml file i will delete or modify to disable the menu for button light switch option.

Categories

Resources