Hi, two days ago my mi a2 leaved to function, it didn't pass of the android one screen, so i tried to flash it with the rom stock because i was think it could be that it bricked, i tried first with mi flash in flashboot mode, but it was locked by bootloader, and at try unlock it, it gived error, so after, i tried open it and force EDL mode with the bridge into the two contacts of the backside (create a testpoint), to be recognized like a COM dispositive and i tried again with the miflash, but then it gived me this error; (captures)
What can i do? is it lossed at all?
Please help me
Log of mi flash:
[12:01:06 a. m.]:6 COM6 10.0183437s resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="start 512, num 97"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="true" />
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="ERROR: SDCC Error 29 (3)"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="ERROR: Write Failed sector 512, size 97"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="ERROR: Failed to write 1 slot 0, partition 512, start_sector 97 num_sectors 0, error 3"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Finished programming start_sector 609 and TotalSectorsToProgram 97"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="NAK" rawmode="false" />
</data>
Pd; i'm sorry for my english, i'm learning it.
{
"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"
}
tell me +5582998238494
Related
I hope a screen shot says a thousand words?
{
"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 followed the mods in this thread for centre time and date, and it has caused my notifications to shift across also.
http://forum.xda-developers.com/showpost.php?p=19760562&postcount=3
If I have a few notifications here they actually display all through my time and mix. It looks terrible. I can't show it here, but you can see that they are getting close in the screen shot. I want todrag them back to where the arrow is pointing?
Is there anyway of keeping centred date and time, but making notifications display in the standard position?
James
Also occassionally all my status bar icons disappear? If I take a screenshot they always return again? I can't figure this out? The following two shots taken within a second and a half of each other?
center clock
HTML:
Your line:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
Test This:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
I don't have RC4.2 for testing.
You can try to modify only this line and report.
Thanks.
Sweet man! thanks will try it as soon as I get home.
It sort of works?
It makes it adjust to the far left when it is normal, but it jumps back again when I plug in USB
Also there is a big black chunk still appearing on odd occassions? Why no consistency?
Hi all the theme developers, is there anyone of you can shine some light on how to change the carrier text color?
I am currently developing a theme for cm10.1/AOKP and I'm bumped with this problem.
Any help is highly appreciated. Thank you in advance.
{
"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"
}
@vicino, will you help me?
wai10691 said:
@vicino, will you help me?
Click to expand...
Click to collapse
Sure,
For CM10 Themes:
1. Open res\xml\com_android_systemui.xml and add this line:
Code:
<item name="style/TextAppearance.StatusBar.Expanded.Network">@style/TextAppearance.StatusBar.Expanded.Network</item>
2. Go to res\values\styles.xml and add this style:
Code:
<style name="TextAppearance.StatusBar.Expanded.Network" parent="@style/TextAppearance.StatusBar.Expanded.Date">
<item name="android:textColor">#ff999999</item>
</style>
3. Change the "android:textColor">#ff999999 for any color you want.
You're a life saver. Million thanks. One day I will return the favor.
[/COLOR]
vicino said:
Sure,
For CM10 Themes:
1. Open res\xml\com_android_systemui.xml and add this line:
Code:
<item name="style/TextAppearance.StatusBar.Expanded.Network">@style/TextAppearance.StatusBar.Expanded.Network</item>
2. Go to res\values\styles.xml and add this style:
Code:
<style name="TextAppearance.StatusBar.Expanded.Network" parent="@style/TextAppearance.StatusBar.Expanded.Date">
<item name="android:textColor">#ff999999</item>
</style>
3. Change the "android:textColor">#ff999999 for any color you want.
Click to expand...
Click to collapse
Thanks, I added carrier label into status bar from this: http://forum.xda-developers.com/showthread.php?t=2295136 and I'm using Paranoid rom, Can you guide me how change the color of carrier base on changing status bar icon color in Paranoid setting. Thanks so much
:good::good::good:
{
"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"
}
This is a guide to show hidden android 4.3 features like OP.APP and Latin Ime Debug Settings (there's themes inside!! )... on developer options
If You want to add this to Your ROM or try make for stock Odex follow these guidelines using Apktool and Notepad++ (There's a plenty of guides on XDA ):
1) Install framework-res from the ROM
2) Decompile Settings.apk from the ROM
3) Navigate to /res/xml and find/open development_prefs.xml in Notepad++
4) Put GREEN lines at the end of the file to show like this:
Code:
<CheckBoxPreference android:title="@string/disable_overlays" android:key="disable_overlays" android:summary="@string/disable_overlays_summary" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/debug_monitoring_category" android:key="debug_monitoring_category">
<CheckBoxPreference android:title="@string/strict_mode" android:key="strict_mode" android:summary="@string/strict_mode_summary" />
<CheckBoxPreference android:title="@string/show_cpu_usage" android:key="show_cpu_usage" android:summary="@string/show_cpu_usage_summary" />
<ListPreference android:persistent="false" android:entries="@array/track_frame_time_entries" android:title="@string/track_frame_time" android:key="track_frame_time" android:entryValues="@array/track_frame_time_values" />
<ListPreference android:persistent="false" android:entries="@array/enable_opengl_traces_entries" android:title="@string/enable_opengl_traces_title" android:key="enable_opengl_traces" android:entryValues="@array/enable_opengl_traces_values" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/debug_applications_category" android:key="debug_applications_category">
<CheckBoxPreference android:title="@string/immediately_destroy_activities" android:key="immediately_destroy_activities" android:summary="@string/immediately_destroy_activities_summary" />
<ListPreference android:persistent="false" android:entries="@array/app_process_limit_entries" android:title="@string/app_process_limit_title" android:key="app_process_limit" android:entryValues="@array/app_process_limit_values" />
<CheckBoxPreference android:title="@string/show_all_anrs" android:key="show_all_anrs" android:summary="@string/show_all_anrs_summary" />
<CheckBoxPreference android:title="@string/experimental_webview" android:key="experimental_webview" android:summary="@string/experimental_webview_summary" />
[B][COLOR="Lime"][COLOR="SeaGreen"] </PreferenceCategory>
<PreferenceCategory android:title="LatinImeGoogle Debug Mode" android:key="english_ime_debug_settings">
<PreferenceScreen android:title="Android keyboard Debug settings" android:key="english_ime_debug_settings">
<intent android:targetPackage="com.google.android.inputmethod.latin" android:action="android.intent.action.MAIN" android:targetClass="com.android.inputmethod.latin.DebugSettingsActivity" />
</PreferenceScreen>
</PreferenceCategory>
<PreferenceCategory android:title="App Permission Manager" android:key="app_ops_settings">
<PreferenceScreen android:title="@string/app_ops_settings" android:key="app_ops_settings">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.Settings$AppOpsSummaryActivity" />
</PreferenceScreen>
</PreferenceCategory>[/COLOR][/COLOR][/B]
</PreferenceScreen>
And recompile back properly.
I'm trying to make my own xposed module, which replace some quicksetting icon on my Z1 Compact.
{
"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 found this image on SystemUI.apk.
I tried to replace by many ways, but none of them work.
Code:
Log.d("xxx", "yyy"); //try log here, and I saw log on logcat
// try to replace clock icon, it WORKED.
resparam.res.setReplacement("com.android.systemui", "drawable", "stat_sys_alarm", modRes.fwd(R.drawable.stat_sys_alarm));
// try to replace datatraffic icon, it did NOT workd
resparam.res.setReplacement("com.android.systemui", "drawable", "statusbar_datatraffic_off", modRes.fwd(R.drawable.statusbar_datatraffic_off));
resparam.res.setReplacement("com.sonymobile.systemui", "drawable", "statusbar_datatraffic_off", modRes.fwd(R.drawable.statusbar_datatraffic_off));
resparam.res.setReplacement("com.sonymobile.systemui.statusbar.tools", "drawable", "statusbar_datatraffic_off", modRes.fwd(R.drawable.statusbar_datatraffic_off));
//R.drawable.statusbar_datatraffic_off is my own image
Can anyone help me?
Where is that code? handleInitPackageResources? Can we see all of it?
GermainZ said:
Where is that code? handleInitPackageResources? Can we see all of it?
Click to expand...
Click to collapse
All source code:
Code:
package com.thanhtx.z1cqse;
import android.content.res.XModuleResources;
import android.util.Log;
import de.robv.android.xposed.IXposedHookInitPackageResources;
import de.robv.android.xposed.IXposedHookZygoteInit;
import de.robv.android.xposed.callbacks.XC_InitPackageResources.InitPackageResourcesParam;
public class ModQuickSettingIcons implements IXposedHookZygoteInit ,IXposedHookInitPackageResources {
private static String MODULE_PATH = null;
@Override
public void initZygote(StartupParam startupParam) throws Throwable {
MODULE_PATH = startupParam.modulePath;
}
@Override
public void handleInitPackageResources(InitPackageResourcesParam resparam) throws Throwable {
if (!resparam.packageName.equals("com.android.systemui")) return;
Log.d("thanhtx", "-----: handleInitPackageResources:");
XModuleResources modRes = XModuleResources.createInstance(MODULE_PATH, resparam.res);
// worked, drag_handle is an icon in system setting menu
resparam.res.setReplacement("com.android.systemui", "drawable", "drag_handle", modRes.fwd(R.drawable.drag_handle));
// worked, stat_sys_alarm is alarm icon shown in notification bar when you turn on alarm clock
resparam.res.setReplacement("com.android.systemui", "drawable", "stat_sys_alarm", modRes.fwd(R.drawable.stat_sys_alarm));
// not work, statusbar_airplane_off, statusbar_datatraffic_off, statusbar_datatraffic_on are icons in quick settings panel (first image in #1)
resparam.res.setReplacement("com.android.systemui", "drawable", "statusbar_airplane_off", modRes.fwd(R.drawable.statusbar_airplane_off));
resparam.res.setReplacement("com.sonymobile.systemui", "drawable", "statusbar_datatraffic_off", modRes.fwd(R.drawable.statusbar_datatraffic_off));
resparam.res.setReplacement("com.sonymobile.systemui.statusbar.tools", "drawable", "statusbar_datatraffic_on", modRes.fwd(R.drawable.statusbar_datatraffic_on));
Log.d("thanhtx", "-----: replace string:");
//resparam.res.setReplacement("com.android.systemui", "string", "status_bar_clear_all_button", "xxx");
Log.d("thanhtx", "-----: replace string complete:");
}
}
Direct share not available; more importantly, suggested apps don't reflect apps I use in any way.
I'm using regular apps such as WhatsApp/Telegram and everything worked fine before Android 10.
I did a factory reset, it didn't help. The phone isn't rooted.
Some of the logcat messages:
Code:
2020-04-23 02:53:14.633 1568-4216/? I/ActivityTaskManager: START u0 {act=android.intent.action.CHOOSER flg=0x1 cmp=android/com.android.internal.app.ChooserActivity clip={text/uri-list U:content://com.brave.browser.FileProvider/BlockedFile_4075185958965} (has extras)} from uid 10162
2020-04-23 02:53:14.650 1568-4216/? I/ActivityTaskManager: The Process android:ui Already Exists in BG. So sending its PID: 5428
2020-04-23 02:53:14.652 5428-5428/? W/ActivityThread: handleWindowVisibility: no activity for token [email protected]
2020-04-23 02:53:14.682 5428-5428/? W/ContextImpl: Failed to ensure /data/system/shared_prefs: mkdir failed: EACCES (Permission denied)
2020-04-23 02:53:14.671 5428-5428/? W/android:ui: type=1400 audit(0.0:3956): avc: denied { write } for name="system" dev="mmcblk0p69" ino=671745 scontext=u:r:system_app:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=0
2020-04-23 02:53:14.713 5428-5428/? W/View: requestLayout() improperly called by android.widget.ListView{b7f170c VFED..C.. ......ID 0,2160-1080,4005 #10203e7 android:id/resolver_list} during layout: running second layout pass
2020-04-23 02:53:15.189 5428-5428/? W/APSResolverComparator: Score requested for unknown component.
{
"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 must admit it seems like widespread issue, seen it also on oneplus forum, also on reddit with pixel phones... Also an android 10 issue only, but with so many complaints, seeing no fix or even response, is very weird...