[SOLVED] Stuck on bootloader in CM12.1 builds - G3 Developer Discussion [Developers Only]

Hi everyone, so I've been trying to compile CM12.1 for the G3 for a while now, and I got a few builds (some with no customizations, some with ArchiDroid, some with just Linaro) but none of them get past the bootloader (LG screen). I've been using TheMuppet's GitHub repository for the device blobs. Here's my roomservice.xml for the most basic build (I figure I should get this working first and then try modifying things):
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_lge_d855" path="device/lge/d855" remote="github" />
<project name="CyanogenMod/android_device_lge_g3-common" path="device/lge/g3-common" remote="github" />
<project name="CyanogenMod/android_kernel_lge_g3" path="kernel/lge/g3" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="TheMuppets/proprietary_vendor_lge" path="proprietary/vendor/lge" remote="github" revision="cm-12.1" />
</manifest>
I thought maybe it was the kernel so I tried flashing 777Kernel, which I use normally on CM based ROMs, but had the same issue. I tried bumping the boot image that it was built with, even though CM merged the open_bump script into their release tools for the G3, and the script returned "Image already bumped" so I don't believe that's an issue either.
I can't get any real log since it doesn't get past the bootloader. Anyone have ideas?
Thanks!
EDIT:
The solution was to change the blobs path from proprietary/vendor/lge to just vendor/lge.

what's your model? at first look it seems you maybe are building for d855 while you don't have a d855

manups4e said:
what's your model? at first look it seems you maybe are building for d855 while you don't have a d855
Click to expand...
Click to collapse
D855, I'm 100% sure it's the D855.

did you check under the battery compartment the model number? because i builded lots of roms for d855 and they always worked on my device

manups4e said:
did you check under the battery compartment the model number? because i builded lots of roms for d855 and they always worked on my device
Click to expand...
Click to collapse
Yeah, D855 0114. I've had the phone for a long time and always use D855 ROMs and Kernels. Would you mind sharing a manifest you've used to build one?
Thanks!

it's the same as yours.. that's why i asked you about the model ^^ because it must boot.. did you wipe everything before booting? if yes.. try waiting some more minutes because first boot takes a bit more time.. ^^

manups4e said:
it's the same as yours.. that's why i asked you about the model ^^ because it must boot.. did you wipe everything before booting? if yes.. try waiting some more minutes because first boot takes a bit more time.. ^^
Click to expand...
Click to collapse
Yeah, did a full wipe but it doesn't get past the LG screen let alone get to the CM boot animation.

very weird... official cm rom boots?

manups4e said:
very weird... official cm rom boots?
Click to expand...
Click to collapse
Yeah, every ROM from XDA I've tried boots. Is there some special step for building for the G3 that I'm missing?

Is it maybe since I have the 16GB version? I've seen a lot of kernels which specify between the 16GB/2GB and 32GB/3GB versions so is it not the correct device config? Or maybe the fstab is different?

cyanogenmod is compatible with both 32 and 16gb

So I did a diff of the system images and noticed that my build has no vendor libs, do you know how I could add them in? Here's the diff output:
Code:
Only in official/output/vendor/lib/hw: sensors.msm8974.so
Only in official/output/vendor/lib: libacdbloader.so
Only in official/output/vendor/lib: libacdbrtac.so
Only in official/output/vendor/lib: libadiertac.so
Only in official/output/vendor/lib: libadreno_utils.so
Only in official/output/vendor/lib: libadsprpc.so
Only in official/output/vendor/lib: libalarmservice_jni.so
Only in official/output/vendor/lib: libaudcal.so
Only in official/output/vendor/lib: libbtnv.so
Only in official/output/vendor/lib: libC2D2.so
Only in official/output/vendor/lib: libc2d30-a3xx.so
Only in official/output/vendor/lib: libCB.so
Only in official/output/vendor/lib: libchromatix_imx091_common.so
Only in official/output/vendor/lib: libchromatix_imx091_default_video.so
Only in official/output/vendor/lib: libchromatix_imx091_hfr_120.so
Only in official/output/vendor/lib: libchromatix_imx091_liveshot.so
Only in official/output/vendor/lib: libchromatix_imx091_preview.so
Only in official/output/vendor/lib: libchromatix_imx091_snapshot.so
Only in official/output/vendor/lib: libchromatix_imx091_video_hd.so
Only in official/output/vendor/lib: libchromatix_imx119_common.so
Only in official/output/vendor/lib: libchromatix_imx119_default_video.so
Only in official/output/vendor/lib: libchromatix_imx119_liveshot.so
Only in official/output/vendor/lib: libchromatix_imx119_preview.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_common.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_default_video.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_common.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_default_video.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_hfr_120.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_hfr_60.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_liveshot.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_mms_video.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_preview.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_snapshot.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_uhd_video.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_video_dualrec.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_video_hdr.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_video_hd.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_fuji_video_qtr.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_hfr_120.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_hfr_60.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_liveshot.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_mms_video.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_preview.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_snapshot.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_uhd_video.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_video_dualrec.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_video_hdr.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_video_hd.so
Only in official/output/vendor/lib: libchromatix_imx135_30fps_video_qtr.so
Only in official/output/vendor/lib: libchromatix_imx208_common.so
Only in official/output/vendor/lib: libchromatix_imx208_default_video.so
Only in official/output/vendor/lib: libchromatix_imx208_mms_video.so
Only in official/output/vendor/lib: libchromatix_imx208_preview.so
Only in official/output/vendor/lib: libchromatix_imx208_vt.so
Only in official/output/vendor/lib: libchromatix_imx214_common.so
Only in official/output/vendor/lib: libchromatix_imx214_default_video.so
Only in official/output/vendor/lib: libchromatix_imx214_hfr_120.so
Only in official/output/vendor/lib: libchromatix_imx214_hfr_60.so
Only in official/output/vendor/lib: libchromatix_imx214_liveshot.so
Only in official/output/vendor/lib: libchromatix_imx214_mms_video.so
Only in official/output/vendor/lib: libchromatix_imx214_preview.so
Only in official/output/vendor/lib: libchromatix_imx214_snapshot.so
Only in official/output/vendor/lib: libchromatix_imx214_uhd_video.so
Only in official/output/vendor/lib: libchromatix_imx214_video_dualrec.so
Only in official/output/vendor/lib: libchromatix_imx214_video_hd.so
Only in official/output/vendor/lib: libchromatix_imx214_video_qtr.so
Only in official/output/vendor/lib: libcneapiclient.so
Only in official/output/vendor/lib: libdiag.so
Only in official/output/vendor/lib: libdisp-aba.so
Only in official/output/vendor/lib: libdrmdecrypt.so
Only in official/output/vendor/lib: libdrmdiag.so
Only in official/output/vendor/lib: libdrmfs.so
Only in official/output/vendor/lib: libdrmtime.so
Only in official/output/vendor/lib: libdsi_netctrl.so
Only in official/output/vendor/lib: libdsnetutils.so
Only in official/output/vendor/lib: libdsutils.so
Only in official/output/vendor/lib: libExtendedExtractor.so
Only in official/output/vendor/lib: libfastcvadsp_stub.so
Only in official/output/vendor/lib: libfastcvopt.so
Only in official/output/vendor/lib: libgeofence.so
Only in official/output/vendor/lib: libgsl.so
Only in official/output/vendor/lib: libHevcSwDecoder.so
Only in official/output/vendor/lib: libI420colorconvert.so
Only in official/output/vendor/lib: libidl.so
Only in official/output/vendor/lib: libizat_core.so
Only in official/output/vendor/lib: libjpegdhw.so
Only in official/output/vendor/lib: libjpegehw.so
Only in official/output/vendor/lib: liblbs_core.so
Only in official/output/vendor/lib: libllvm-qcom.so
Only in official/output/vendor/lib: liblocationservice.so
Only in official/output/vendor/lib: libmm-abl-oem.so
Only in official/output/vendor/lib: libmm-abl.so
Only in official/output/vendor/lib: libmmcamera2_c2d_module.so
Only in official/output/vendor/lib: libmmcamera2_cpp_module.so
Only in official/output/vendor/lib: libmmcamera2_iface_modules.so
Only in official/output/vendor/lib: libmmcamera2_imglib_modules.so
Only in official/output/vendor/lib: libmmcamera2_isp_modules.so
Only in official/output/vendor/lib: libmmcamera2_pproc_modules.so
Only in official/output/vendor/lib: libmmcamera2_sensor_modules.so
Only in official/output/vendor/lib: libmmcamera2_stats_algorithm.so
Only in official/output/vendor/lib: libmmcamera2_stats_modules.so
Only in official/output/vendor/lib: libmmcamera2_vpe_module.so
Only in official/output/vendor/lib: libmmcamera2_wnr_module.so
Only in official/output/vendor/lib: libmmcamera_faceproc.so
Only in official/output/vendor/lib: libmmcamera_hdr_gb_lib.so
Only in official/output/vendor/lib: libmmcamera_imglib.so
Only in official/output/vendor/lib: libmmcamera_imx091.so
Only in official/output/vendor/lib: libmmcamera_imx119.so
Only in official/output/vendor/lib: libmmcamera_imx135_eeprom.so
Only in official/output/vendor/lib: libmmcamera_imx135.so
Only in official/output/vendor/lib: libmmcamera_imx208.so
Only in official/output/vendor/lib: libmmcamera_imx214.so
Only in official/output/vendor/lib: libmmcamera_tintless_algo.so
Only in official/output/vendor/lib: libmmcamera_tintless_bg_pca_algo.so
Only in official/output/vendor/lib: libmmcamera_tuning.so
Only in official/output/vendor/lib: libmmcamera_ubifocus_lib.so
Only in official/output/vendor/lib: libmm-color-convertor.so
Only in official/output/vendor/lib: libmmipl.so
Only in official/output/vendor/lib: libmmjpeg.so
Only in official/output/vendor/lib: libmmosal.so
Only in official/output/vendor/lib: libmmparser.so
Only in official/output/vendor/lib: libmmqjpeg_codec.so
Only in official/output/vendor/lib: libnetmgr.so
Only in official/output/vendor/lib: liboemcamera.so
Only in official/output/vendor/lib: libOmxAacDec.so
Only in official/output/vendor/lib: libOmxAmrwbplusDec.so
Only in official/output/vendor/lib: libOmxEvrcDec.so
Only in official/output/vendor/lib: libOmxQcelp13Dec.so
Only in official/output/vendor/lib: libOmxWmaDec.so
Only in official/output/vendor/lib: libOpenCL.so
Only in official/output/vendor/lib: libperipheral_client.so
Only in official/output/vendor/lib: libqcci_legacy.so
Only in official/output/vendor/lib: libqc-opt.so
Only in official/output/vendor/lib: libqdi.so
Only in official/output/vendor/lib: libqdp.so
Only in official/output/vendor/lib: libqmi_cci.so
Only in official/output/vendor/lib: libqmi_client_qmux.so
Only in official/output/vendor/lib: libqmi_common_so.so
Only in official/output/vendor/lib: libqmi_csi.so
Only in official/output/vendor/lib: libqmi_csvt_srvc.so
Only in official/output/vendor/lib: libqmi_encdec.so
Only in official/output/vendor/lib: libqmiservices.so
Only in official/output/vendor/lib: libqmi.so
Only in official/output/vendor/lib: libqomx_jpegenc.so
Only in official/output/vendor/lib: libQSEEComAPI.so
Only in official/output/vendor/lib: libquipc_os_api.so
Only in official/output/vendor/lib: libquipc_ulp_adapter.so
Only in official/output/vendor/lib: libril-qc-qmi-1.so
Only in official/output/vendor/lib: libril-qcril-hook-oem.so
Only in official/output/vendor/lib: librpmb.so
Only in official/output/vendor/lib: librs_adreno_sha1.so
Only in official/output/vendor/lib: librs_adreno.so
Only in official/output/vendor/lib: libRSDriver_adreno.so
Only in official/output/vendor/lib: libsc-a3xx.so
Only in official/output/vendor/lib: libscale.so
Only in official/output/vendor/lib: libsensor1.so
Only in official/output/vendor/lib: libsensor_reg.so
Only in official/output/vendor/lib: libsmemlog.so
Only in official/output/vendor/lib: libssd.so
Only in official/output/vendor/lib: libStDrvInt.so
Only in official/output/vendor/lib: libsystem_health_mon.so
Only in official/output/vendor/lib: libthermalclient.so
Only in official/output/vendor/lib: libthermalioctl.so
Only in official/output/vendor/lib: libTimeService.so
Only in official/output/vendor/lib: libubifocus.so
Only in official/output/vendor/lib: libulp2.so
Only in official/output/vendor/lib: libwvdrm_L1.so
Only in official/output/vendor/lib: libwvm.so
Only in official/output/vendor/lib: libWVphoneAPI.so
Only in official/output/vendor/lib: libWVStreamControlAPI_L1.so
Only in official/output/vendor/lib: libxtadapter.so
Only in official/output/vendor/lib: libxtwifi_ulp_adaptor.so
Only in official/output/vendor/lib: libxtwifi_zpp_adaptor.so
Binary files mybuild/output/vendor/lib/mediadrm/libdrmclearkeyplugin.so and official/output/vendor/lib/mediadrm/libdrmclearkeyplugin.so differ
Only in official/output/vendor/lib/mediadrm: libwvdrmengine.so

I got it working! I accidentally set the proprietary blobs path to proprietary/vendor/lge instead of vendor/lge. It's booting up now!

glad to see it working

Related

[Q] How to edit the Quick_settings menu of stock rom 2.3.3 for Desire Z

Hi,
I found that the items of "auto rotation" and "auto brightness" were already compiled judging from the Quick_settings.xml in SystemUI.apk:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.preference.QuickSettings android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textAppearance="?android:textAppearanceLarge" android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/title_bar" android:background="@drawable/status_bar_header_background" android:paddingLeft="9.0sp" android:layout_width="fill_parent" android:layout_height="wrap_content" android:scaleType="fitXY" android:text="@string/status_bar_quick_settings" />
<ScrollView android:id="@id/scroll" android:background="#ffffffff" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
[B]<include android:id="@id/rotation" layout="@layout/status_bar_preference" />
<include android:id="@id/brightness" layout="@layout/status_bar_preference" />[/B]
<include android:id="@id/wifi" layout="@layout/status_bar_preference" />
<include android:id="@id/bluetooth" layout="@layout/status_bar_preference" />
<include android:id="@id/hotspot" layout="@layout/status_bar_preference" />
<include android:id="@id/gps" layout="@layout/status_bar_preference" />
<include android:id="@id/network" layout="@layout/status_bar_preference" />
<include android:id="@id/settings" layout="@layout/status_bar_preference" />
</LinearLayout>
</ScrollView>
</com.android.systemui.statusbar.preference.QuickSettings>
but these two items are not shown in the quick settings menu.
and I saw them in quicksettings.smali too:
Code:
.class public Lcom/android/systemui/statusbar/preference/QuickSettings;
.super Landroid/widget/LinearLayout;
.source "QuickSettings.java"
# static fields
[B].field private static final BRIGHTNESS:I = 0x4[/B]
.field private static final BT:I = 0x2
.field private static final GPS:I = 0x7
.field private static final HOTSPOT:I = 0x5
.field private static final ITEM_NUMBER:I = 0x8
.field private static final MOBILE_NETWORK:I = 0x3
[B]
.field private static final ROTATION:I = 0x0[/B]
.field private static final SETTINGS:I = 0x6
.field private static final WIFI:I = 0x1
I prefer to have "brightness" and "rotation" to "hotspot" and "bluetooth".
What can I do to achieve this?
I found somebody else needing this too, but there was no helpful information yet:
http://forum.xda-developers.com/showthread.php?t=1187663
Could someone help me?
nobody knows how to?

[TUTORIAL]Sense 4 multitasking

hi there!
after making the sense 4 mod and a lot of requests for a tutorial here we go
(The Original Thread.. gets updates)
http://forum.xda-developers.com/showthread.php?t=1599348
the reasons i placed this tutorial is because the mod is more populair then i thought
and i cant keep up the request and updates of some roms
so my request to you is.. if you make your own version
place it in this thread to share with everyone
http://forum.xda-developers.com/showthread.php?t=1599348
and if you use this mod in one of your themes give me some credit
the mod needs 2 files
-SystemUI.apk
-Framework-res.apk
you need apktool 1.4.2 and 1.4.3
decompile with 1.4.2 and compile with 1.4.3
after compiling go to build/apk in your apktool folder and put the
res folder
resources.arsc
classes.dex
in the original apk to make this work!
first decompile systemui
then
go to res/layout-port
open
status_bar_recent_item
change the code to
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/recent_item" android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="170.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="@dimen/status_bar_recents_thumbnail_width_webaokp" android:layout_height="@dimen/status_bar_recents_thumbnail_height_webaokp" android:layout_marginTop="20.0dip" />
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="192.0dip" android:layout_height="wrap_content" android:layout_marginTop="310.0dip" android:layout_marginRight="5.0dip" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_below="@id/app_thumbnail" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
</FrameLayout>
<LinearLayout android:orientation="horizontal" android:paddingTop="0.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="200.0dip" android:layout_height="50.0dip" android:layout_marginTop="0.0dip" android:adjustViewBounds="true" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_icon" android:layout_alignParentBottom="true" />
</LinearLayout>
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="0.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</LinearLayout>
open
status_bar_recent_panel
change the code to
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textSize="20.0dip" android:textColor="#ffffffff" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="470.0dip" android:text="@string/status_bar_no_recent_apps" />
</FrameLayout>
<FrameLayout android:id="@id/recents_bg_protect" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:visibility="gone" android:scrollbars="none" android:fadingEdge="vertical" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
go to res/values
open
dimens
make sure the your values are the same
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_edge_ignore">5.0dip</dimen>
<dimen name="status_bar_recents_app_icon_max_width">48.0dip</dimen>
<dimen name="status_bar_recents_app_icon_max_height">48.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_width_webaokp">170.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_height_webaokp">280.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_width">164.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_height">145.0dip</dimen>
<dimen name="status_bar_recents_app_label_text_size">14.0dip</dimen>
<dimen name="status_bar_recents_app_description_text_size">14.0dip</dimen>
<dimen name="status_bar_recents_fading_edge_length">0.0dip</dimen>
<dimen name="status_bar_recents_right_glow_margin">100.0dip</dimen>
<dimen name="peek_window_y_offset">-12.0dip</dimen>
<dimen name="navigation_bar_size">@android:dimen/navigation_bar_height</dimen>
<dimen name="navigation_bar_deadzone_size">12.0dip</dimen>
<dimen name="notification_height">65.0dip</dimen>
<dimen name="status_bar_icon_size">@android:dimen/status_bar_icon_size</dimen>
<dimen name="status_bar_icon_drawing_size">18.0dip</dimen>
<item type="dimen" name="status_bar_icon_drawing_alpha">54.999996%</item>
<dimen name="status_bar_icon_padding">0.0dip</dimen>
<dimen name="notification_divider_height">1.0dip</dimen>
<dimen name="self_expand_velocity">2000.0dip</dimen>
<dimen name="self_collapse_velocity">2000.0dip</dimen>
<dimen name="fling_expand_min_velocity">200.0dip</dimen>
<dimen name="fling_collapse_min_velocity">200.0dip</dimen>
<dimen name="fling_gesture_max_x_velocity">200.0dip</dimen>
<item type="dimen" name="collapse_min_display_fraction">10.000002%</item>
<item type="dimen" name="expand_min_display_fraction">50.0%</item>
<dimen name="expand_accel">2000.0dip</dimen>
<dimen name="collapse_accel">2000.0dip</dimen>
<dimen name="global_screenshot_bg_padding">20.0dip</dimen>
</resources>
go to res/drawable
open
status_bar_Recent_background(if you let this file alone your background will be transparent.. if you wish to use another background or the one in the attachments for the original Sense look change the code to this)
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="1000" android:drawable="@drawable/nattekut" />
</animation-list>
then download this
{
"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"
}
and place it in your drawable-xhdpi folder
then go to res/layout
open
status_bar_no_recent_apps
change your code to
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textSize="20.0dip" android:textColor="#ffffffff" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="470.0dip" android:text="@string/status_bar_no_recent_apps" />
</FrameLayout>
now go to the values of your country
for example
values-en-rGB
open strings
and change the recent app string to this(in your own language)
Code:
<string name="status_bar_no_recent_apps">Recent apps</string>
now for the part i hate
go to
\smali\com\android\systemui\recent
open recentpanelview.smali
then search for
Code:
.line 433
iget-object v2, p1, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
sget-object v3, Landroid/widget/ImageView$ScaleType;->MATRIX:Landroid/widget/ImageView$ScaleType;
invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
.line 434
iget-object v2, p1, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setImageMatrix(Landroid/graphics/Matrix;)V
then paste
this underneath
Code:
const/high16 v3, 0x41a0
invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setRotationY(F)V
save and compile
decompile framework
go to res/values/
and open dimens
make sure you have this values
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="app_icon_size">48.0dip</dimen>
<dimen name="thumbnail_height">245.0dip</dimen>
<dimen name="thumbnail_width">170.0dip</dimen>
<item type="dimen" name="dialog_min_width_major">65.0%</item>
<item type="dimen" name="dialog_min_width_minor">94.99999%</item>
<dimen name="notification_large_icon_width">64.0dip</dimen>
<dimen name="notification_large_icon_height">64.0dip</dimen>
<dimen name="config_prefDialogWidth">320.0dip</dimen>
<dimen name="config_viewConfigurationTouchSlop">8.0dip</dimen>
<dimen name="toast_y_offset">64.0dip</dimen>
<dimen name="status_bar_height">25.0dip</dimen>
<dimen name="system_bar_height">48.0dip</dimen>
<dimen name="navigation_bar_height">48.0dip</dimen>
<dimen name="navigation_bar_width">42.0dip</dimen>
<dimen name="status_bar_icon_size">24.0dip</dimen>
<dimen name="status_bar_content_number_size">48.0sp</dimen>
<dimen name="system_bar_icon_size">32.0dip</dimen>
<dimen name="status_bar_edge_ignore">5.0dip</dimen>
<dimen name="fastscroll_overlay_size">104.0dip</dimen>
<dimen name="fastscroll_thumb_width">64.0dip</dimen>
<dimen name="fastscroll_thumb_height">52.0dip</dimen>
<dimen name="min_xlarge_screen_width">800.0dip</dimen>
<dimen name="password_keyboard_key_height_alpha">56.0dip</dimen>
<dimen name="password_keyboard_key_height_numeric">56.0dip</dimen>
<dimen name="password_keyboard_spacebar_vertical_correction">4.0dip</dimen>
<dimen name="password_keyboard_horizontalGap">3.0dip</dimen>
<dimen name="password_keyboard_verticalGap">9.0dip</dimen>
<dimen name="keyguard_lockscreen_outerring_diameter">270.0dip</dimen>
<dimen name="multiwaveview_target_placement_radius">135.0dip</dimen>
<dimen name="multiwaveview_snap_margin">20.0dip</dimen>
<dimen name="multiwaveview_hit_radius">60.0dip</dimen>
<dimen name="preference_screen_side_margin">0.0dip</dimen>
<dimen name="preference_screen_side_margin_negative">0.0dip</dimen>
<dimen name="preference_screen_top_margin">0.0dip</dimen>
<dimen name="preference_screen_bottom_margin">0.0dip</dimen>
<dimen name="preference_widget_width">48.0dip</dimen>
<dimen name="preference_fragment_padding_bottom">0.0dip</dimen>
<dimen name="preference_fragment_padding_side">16.0dip</dimen>
<dimen name="preference_breadcrumb_paddingLeft">0.0dip</dimen>
<dimen name="preference_breadcrumb_paddingRight">0.0dip</dimen>
<dimen name="preference_icon_minWidth">0.0dip</dimen>
<dimen name="preference_screen_header_vertical_padding">0.0dip</dimen>
<dimen name="preference_screen_header_padding_side">16.0dip</dimen>
<dimen name="preference_item_padding_side">8.0dip</dimen>
<dimen name="preference_item_padding_inner">8.0dip</dimen>
<dimen name="preference_child_padding_side">16.0dip</dimen>
<dimen name="search_view_text_min_width">160.0dip</dimen>
<dimen name="search_view_preferred_width">320.0dip</dimen>
<dimen name="alert_dialog_title_height">64.0dip</dimen>
<dimen name="alert_dialog_button_bar_height">48.0dip</dimen>
<dimen name="action_bar_default_height">48.0dip</dimen>
<dimen name="action_bar_icon_vertical_padding">8.0dip</dimen>
<dimen name="action_bar_title_text_size">18.0dip</dimen>
<dimen name="action_bar_subtitle_text_size">14.0dip</dimen>
<dimen name="action_bar_subtitle_top_margin">-3.0dip</dimen>
<dimen name="action_bar_subtitle_bottom_margin">5.0dip</dimen>
<dimen name="keyguard_lockscreen_clock_font_size">80.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_font_size">14.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_font_right_margin">42.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_clockfont_top_margin">22.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_clockfont_bottom_margin">12.0dip</dimen>
<dimen name="keyguard_lockscreen_pin_margin_left">40.0dip</dimen>
<dimen name="activity_chooser_popup_min_width">200.0dip</dimen>
<dimen name="default_gap">16.0dip</dimen>
<dimen name="dropdownitem_text_padding_left">8.0dip</dimen>
<dimen name="dropdownitem_text_padding_right">8.0dip</dimen>
<dimen name="dropdownitem_icon_width">32.0dip</dimen>
<dimen name="textview_error_popup_default_width">240.0dip</dimen>
<dimen name="volume_panel_top">80.0dip</dimen>
<dimen name="default_app_widget_padding_left">8.0dip</dimen>
<dimen name="default_app_widget_padding_top">8.0dip</dimen>
<dimen name="default_app_widget_padding_right">8.0dip</dimen>
<dimen name="default_app_widget_padding_bottom">8.0dip</dimen>
<dimen name="action_button_min_width">56.0dip</dimen>
<item type="dimen" name="APKTOOL_DUMMY_004a">false</item>
</resources>
save and compile
push it to your device and enjoy
heres a cwm package
you can use
http://dl.dropbox.com/u/63404537/LocoZipSense4-8 b34.zip
just put your systemui in the /system/app/
and put your framework-res in the /system/framework
i hope this was clear!
enjoy this mod!
i worked hard for it
if you like my work consider a small donation
this is still a little wip i want to make it more like the original sense
so if you want to join forces send me a private message
Hi i get this error when compiling
[*] D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI
recompiling D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI...
I: Smaling...
I: Building resources...
D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\layout-port\status_bar_recent_item.xml:12: error: Error parsing XML: no element found
D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable\status_bar_recents_background.xml:1: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\doeboy\AppData\Local\Temp\APKTOOL8793273189672460438.tmp, -I, C:\Users\doeboy\apktool\framework\1.apk, -S, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\doeboy\AppData\Local\Temp\APKTOOL8793273189672460438.tmp, -I, C:\Users\doeboy\apktool\framework\1.apk, -S, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
daman215 said:
Hi i get this error when compiling
[*] D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI
recompiling D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI...
I: Smaling...
I: Building resources...
D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\layout-port\status_bar_recent_item.xml:12: error: Error parsing XML: no element found
D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable\status_bar_recents_background.xml:1: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\doeboy\AppData\Local\Temp\APKTOOL8793273189672460438.tmp, -I, C:\Users\doeboy\apktool\framework\1.apk, -S, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\doeboy\AppData\Local\Temp\APKTOOL8793273189672460438.tmp, -I, C:\Users\doeboy\apktool\framework\1.apk, -S, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
Click to expand...
Click to collapse
Compiling guide works for me.
http://forum.xda-developers.com/showpost.php?p=25623934&postcount=215
daman215 said:
Hi i get this error when compiling
[*] D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI
recompiling D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI...
I: Smaling...
I: Building resources...
D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\layout-port\status_bar_recent_item.xml:12: error: Error parsing XML: no element found
D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable\status_bar_recents_background.xml:1: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\doeboy\AppData\Local\Temp\APKTOOL8793273189672460438.tmp, -I, C:\Users\doeboy\apktool\framework\1.apk, -S, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\doeboy\AppData\Local\Temp\APKTOOL8793273189672460438.tmp, -I, C:\Users\doeboy\apktool\framework\1.apk, -S, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
Click to expand...
Click to collapse
I'm no expert, but I think the error is actually in your code.
Sent from my Galaxy Nexus using Tapatalk 2
it should work
are you using the right tools?

Need Help..Statusbar Center Clock and "carrier_logo"

Hi...
since 12 hrs I try to get the center statusbar clock on my device...
{
"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"
}
but without success! I've used this guide
http://forum.xda-developers.com/showthread.php?t=1511544
.and this http://forum.xda-developers.com/showthread.php?t=1365810.
and one more.
http://forum.xda-developers.com/showthread.php?t=1561394&page=10it is either not compatible with our flagship, or I did something wrong. What else can do...???
Im on Omega V1.2
here what i have do!
status_bar.xml
HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:background="@drawable/carrier_logo" android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<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" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/status_bar_bg_tile" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
please look at attachments i have pull the systemUi.apk and decompiled status_bar.xml
Thanks for any Help
if it's Touch Wiz based..
you have to edit the tw_statusbar.xml don;t change the statusbar.xml
below are the changes required to make it center clock
after the below code
PHP:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
copy paste the below as it is
PHP:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<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" />
</LinearLayout>
go and find the below line in middle of xml file and delete the entire line.
PHP:
<com.android.systemui.statusbar.policy.Clock android:
Now find the below line near ( to fix overlapping text over the clock)
PHP:
<LinearLayout android:orientation="horizontal" android:id="@id/ticker"
and add in the same line next to Ticker
PHP:
android:background="@drawable/status_bar_bg_tile"
so it looks like this
PHP:
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/status_bar_bg_tile" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
compile it.. it will make the Clock center..
Thank you..!!) it Works...
I will add a carrier_logo but have the same Problem!!
i followed this tutorial
HOW TO PUT CUSTOM CARRIER LOGO IN STATUSBAR
but after compile and reboot the phone i loose the statusbar
ans when i try again and change the tw_staus_bar.xml
can't combile
Log error;
PHP:
|14.06.2012 -- 16:13:34.93|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\res\layout\tw_status_bar.xml:21: error: Error parsing XML: mismatched tag
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Poza\AppData\Local\Temp\APKTOOL7137584651136169949.tmp, -I, C:\Users\Poza\apktool\framework\1.apk, -S, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\res, -M, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Poza\AppData\Local\Temp\APKTOOL7137584651136169949.tmp, -I, C:\Users\Poza\apktool\framework\1.apk, -S, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\res, -M, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
Thx for you help the. the cent clock is amazing and with carrier_logo it would be bombastig
Would be great if someone can make a flashable zip for omega (i use4.1)
Thanks..
sent from Omega S3-siyah-OC-UV
I have galaxy s3 on WanamLite 1.2 ROM
I don't know how to edit xml files on mac
please help me here
thank you
EdgarCupari said:
Thank you..!!) it Works...
I will add a carrier_logo but have the same Problem!!
i followed this tutorial
HOW TO PUT CUSTOM CARRIER LOGO IN STATUSBAR
but after compile and reboot the phone i loose the statusbar
ans when i try again and change the tw_staus_bar.xml
can't combile
Log error;
PHP:
|14.06.2012 -- 16:13:34.93|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\res\layout\tw_status_bar.xml:21: error: Error parsing XML: mismatched tag
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Poza\AppData\Local\Temp\APKTOOL7137584651136169949.tmp, -I, C:\Users\Poza\apktool\framework\1.apk, -S, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\res, -M, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Poza\AppData\Local\Temp\APKTOOL7137584651136169949.tmp, -I, C:\Users\Poza\apktool\framework\1.apk, -S, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\res, -M, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
Thx for you help the. the cent clock is amazing and with carrier_logo it would be bombastig
Click to expand...
Click to collapse
Not sure what was the issue..
1. Have you added the Carrier_logo.png in drawable-hdpi folder.
2. do the same name change in Statusbar.xml also.
Note.. the guide is for Common ICS ROM.. for TW roms.. change only the correct part otherwise it will mess up the systemUI.
i think for Carrier_logo you need to change only the "android:background="@drawable/carrier_logo" without quotes.. just try with the approach..

[GUIDE] Sense 4.0 style Multitasking with Reflection on CM9/CM10/CM10.1 ( HDPI )

GUIDE Sense 4.0 style Multitasking with Reflection on CM9/CM10/CM10.1 ( HDPI )
Hello guys, I want to share to you how to make Sense 4 recent apps style for CM9 / CM10 / CM10.1, I hope it is usefull for you :good::laugh:
ok lets go to Guide:
first of all need some requirement for this MOD-GUIDE
REQUIREMENT : !!!
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
​
GUIDE :
for CyanogenMod 9, CyanogenMod 10, CyanogenMod 10.1
STEP -1
DECOMPILE, framework-res.apk
- /res/values/dimens.xml : change thumbnail size to..
Code:
<dimen name="thumbnail_height">[COLOR="Red"]267.0dip[/COLOR]</dimen>
<dimen name="thumbnail_width">[COLOR="Red"]168.0dip[/COLOR]</dimen>
Done, save and recompile
STEP - 2
DECOMPILE, SystemUI.apk
go to - smali/com/android/systemui/recent/RecentsPanelView.smali
find this line method :
Code:
.method private updateThumbnail(Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;Landroid/graphics/Bitmap;ZZ)V
Delete that line until its .end method
Code:
.method private updateThumbnail(Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;Landroid/graphics/Bitmap;ZZ)V
-
-
-
[B]DELETE UNTIL .end method[/B]
-
-
-
.end method
and replace with this all lines :
Code:
.method private updateThumbnail(Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;Landroid/graphics/Bitmap;ZZ)V
.locals 30
.parameter "h"
.parameter "thumbnail"
.parameter "show"
.parameter "anim"
.prologue
.line 409
if-eqz p2, :cond_4
.line 413
const/16 v26, 0x4
.line 414
.local v26, reflectionGap:I
invoke-virtual/range {p2 .. p2}, Landroid/graphics/Bitmap;->getWidth()I
move-result v6
.line 415
.local v6, width:I
invoke-virtual/range {p2 .. p2}, Landroid/graphics/Bitmap;->getHeight()I
move-result v24
.line 417
.local v24, height:I
new-instance v8, Landroid/graphics/Matrix;
invoke-direct {v8}, Landroid/graphics/Matrix;-><init>()V
.line 418
.local v8, matrix:Landroid/graphics/Matrix;
const/high16 v3, 0x3f80
const/high16 v4, -0x4080
invoke-virtual {v8, v3, v4}, Landroid/graphics/Matrix;->preScale(FF)Z
.line 420
const/4 v4, 0x0
mul-int/lit8 v3, v24, 0x2
div-int/lit8 v5, v3, 0x3
div-int/lit8 v7, v24, 0x3
const/4 v9, 0x0
move-object/from16 v3, p2
invoke-static/range {v3 .. v9}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;
move-result-object v27
.line 421
.local v27, reflectionImage:Landroid/graphics/Bitmap;
div-int/lit8 v3, v24, 0x3
add-int v3, v3, v24
sget-object v4, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;
invoke-static {v6, v3, v4}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;
move-result-object v23
.line 423
.local v23, bitmapWithReflection:Landroid/graphics/Bitmap;
new-instance v9, Landroid/graphics/Canvas;
move-object/from16 v0, v23
invoke-direct {v9, v0}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V
.line 424
.local v9, canvas:Landroid/graphics/Canvas;
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
move-object/from16 v0, p2
invoke-virtual {v9, v0, v3, v4, v5}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V
.line 425
new-instance v14, Landroid/graphics/Paint;
invoke-direct {v14}, Landroid/graphics/Paint;-><init>()V
.line 426
.local v14, defaultPaint:Landroid/graphics/Paint;
const/4 v10, 0x0
move/from16 v0, v24
int-to-float v11, v0
int-to-float v12, v6
add-int/lit8 v3, v24, 0x4
int-to-float v13, v3
invoke-virtual/range {v9 .. v14}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
.line 427
const/4 v3, 0x0
add-int/lit8 v4, v24, 0x4
int-to-float v4, v4
const/4 v5, 0x0
move-object/from16 v0, v27
invoke-virtual {v9, v0, v3, v4, v5}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V
.line 429
new-instance v25, Landroid/graphics/Paint;
invoke-direct/range {v25 .. v25}, Landroid/graphics/Paint;-><init>()V
.line 430
.local v25, paint:Landroid/graphics/Paint;
new-instance v15, Landroid/graphics/LinearGradient;
const/16 v16, 0x0
invoke-virtual/range {p2 .. p2}, Landroid/graphics/Bitmap;->getHeight()I
move-result v3
int-to-float v0, v3
move/from16 v17, v0
const/16 v18, 0x0
invoke-virtual/range {v23 .. v23}, Landroid/graphics/Bitmap;->getHeight()I
move-result v3
add-int/lit8 v3, v3, 0x4
int-to-float v0, v3
move/from16 v19, v0
const v20, 0x70ffffff
const v21, 0xffffff
sget-object v22, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;
invoke-direct/range {v15 .. v22}, Landroid/graphics/LinearGradient;-><init>(FFFFIILandroid/graphics/Shader$TileMode;)V
.line 433
.local v15, shader:Landroid/graphics/LinearGradient;
move-object/from16 v0, v25
invoke-virtual {v0, v15}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;
.line 434
new-instance v3, Landroid/graphics/PorterDuffXfermode;
sget-object v4, Landroid/graphics/PorterDuff$Mode;->DST_IN:Landroid/graphics/PorterDuff$Mode;
invoke-direct {v3, v4}, Landroid/graphics/PorterDuffXfermode;-><init>(Landroid/graphics/PorterDuff$Mode;)V
move-object/from16 v0, v25
invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setXfermode(Landroid/graphics/Xfermode;)Landroid/graphics/Xfermode;
.line 435
const/16 v17, 0x0
move/from16 v0, v24
int-to-float v0, v0
move/from16 v18, v0
int-to-float v0, v6
move/from16 v19, v0
invoke-virtual/range {v23 .. v23}, Landroid/graphics/Bitmap;->getHeight()I
move-result v3
add-int/lit8 v3, v3, 0x4
int-to-float v0, v3
move/from16 v20, v0
move-object/from16 v16, v9
move-object/from16 v21, v25
invoke-virtual/range {v16 .. v21}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
.line 438
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
move-object/from16 v0, v23
invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V
.line 442
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImageBitmap:Landroid/graphics/Bitmap;
if-eqz v3, :cond_0
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImageBitmap:Landroid/graphics/Bitmap;
invoke-virtual {v3}, Landroid/graphics/Bitmap;->getWidth()I
move-result v3
invoke-virtual/range {p2 .. p2}, Landroid/graphics/Bitmap;->getWidth()I
move-result v4
if-ne v3, v4, :cond_0
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImageBitmap:Landroid/graphics/Bitmap;
invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I
move-result v3
invoke-virtual/range {p2 .. p2}, Landroid/graphics/Bitmap;->getHeight()I
move-result v4
if-eq v3, v4, :cond_1
.line 445
:cond_0
move-object/from16 v0, p0
iget-boolean v3, v0, Lcom/android/systemui/recent/RecentsPanelView;->mFitThumbnailToXY:Z
if-eqz v3, :cond_5
.line 446
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
const/high16 v4, 0x41c8
invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setRotationY(F)V
.line 455
:cond_1
:goto_0
if-eqz p3, :cond_3
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailView:Landroid/view/View;
invoke-virtual {v3}, Landroid/view/View;->getVisibility()I
move-result v3
if-eqz v3, :cond_3
.line 456
if-eqz p4, :cond_2
.line 457
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailView:Landroid/view/View;
move-object/from16 v0, p0
iget-object v4, v0, Lcom/android/systemui/recent/RecentsPanelView;->mContext:Landroid/content/Context;
const v5, 0x7f04000f
invoke-static {v4, v5}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object v4
invoke-virtual {v3, v4}, Landroid/view/View;->setAnimation(Landroid/view/animation/Animation;)V
.line 460
:cond_2
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailView:Landroid/view/View;
const/4 v4, 0x0
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
.line 462
:cond_3
move-object/from16 v0, p2
move-object/from16 v1, p1
iput-object v0, v1, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImageBitmap:Landroid/graphics/Bitmap;
.line 464
.end local v6 #width:I
.end local v8 #matrix:Landroid/graphics/Matrix;
.end local v9 #canvas:Landroid/graphics/Canvas;
.end local v14 #defaultPaint:Landroid/graphics/Paint;
.end local v15 #shader:Landroid/graphics/LinearGradient;
.end local v23 #bitmapWithReflection:Landroid/graphics/Bitmap;
.end local v24 #height:I
.end local v25 #paint:Landroid/graphics/Paint;
.end local v26 #reflectionGap:I
.end local v27 #reflectionImage:Landroid/graphics/Bitmap;
:cond_4
return-void
.line 448
.restart local v6 #width:I
.restart local v8 #matrix:Landroid/graphics/Matrix;
.restart local v9 #canvas:Landroid/graphics/Canvas;
.restart local v14 #defaultPaint:Landroid/graphics/Paint;
.restart local v15 #shader:Landroid/graphics/LinearGradient;
.restart local v23 #bitmapWithReflection:Landroid/graphics/Bitmap;
.restart local v24 #height:I
.restart local v25 #paint:Landroid/graphics/Paint;
.restart local v26 #reflectionGap:I
.restart local v27 #reflectionImage:Landroid/graphics/Bitmap;
:cond_5
new-instance v29, Landroid/graphics/Matrix;
invoke-direct/range {v29 .. v29}, Landroid/graphics/Matrix;-><init>()V
.line 449
.local v29, scaleMatrix:Landroid/graphics/Matrix;
move-object/from16 v0, p0
iget v3, v0, Lcom/android/systemui/recent/RecentsPanelView;->mThumbnailWidth:I
int-to-float v3, v3
invoke-virtual/range {p2 .. p2}, Landroid/graphics/Bitmap;->getWidth()I
move-result v4
int-to-float v4, v4
div-float v28, v3, v4
.line 450
.local v28, scale:F
move-object/from16 v0, v29
move/from16 v1, v28
move/from16 v2, v28
invoke-virtual {v0, v1, v2}, Landroid/graphics/Matrix;->setScale(FF)V
.line 451
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
sget-object v4, Landroid/widget/ImageView$ScaleType;->MATRIX:Landroid/widget/ImageView$ScaleType;
invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
.line 452
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
move-object/from16 v0, v29
invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setImageMatrix(Landroid/graphics/Matrix;)V
goto :goto_0
.end method
NEXT STEP - 3
for STEP -3 CyanogenMod 9 go to POST #2,
for STEP -3 CyanogenMod 10 go to POST #3,
for STEP -3 CyanogenMod 10.1 go to POST #4,
CREDIT & THANKS
ARCO
SENIOR MEMBER LEGEND "EVILISTO"
for CyanogenMod 9
STEP - 3
- /res/values/bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">[COLOR="Red"]true[/COLOR]</bool>
- /res/values/strings.xml
add this line to the end
Code:
<string name="recent_apps_title">Recent apps</string>
- /res/layout/status_bar_no_recent_apps.xml
Code:
<TextView android:textSize="20.0dip" [COLOR="Red"]android:textColor="@*android:color/white"[/COLOR] android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
- /res/layout-land/status_bar_recent_item.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="137.0dip" android:layout_height="217.0dip" android:layout_marginTop="10.0dip" android:layout_marginBottom="20.0dip" />
</FrameLayout>
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="50.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="10.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="35.0dip" android:maxHeight="35.0dip" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="70.0dip" android:layout_height="fill_parent" android:scrollHorizontally="true" android:singleLine="true" android:layout_toRightOf="@id/app_icon" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-land/status_bar_recent_panel.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/sense_land" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background_solid" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:text="@string/recent_apps_title" />
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
- /res/layout-port/status_bar_recent_item.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="192.0dip" android:layout_height="305.0dip" android:layout_marginTop="15.0dip" android:layout_marginBottom="15.0dip" />
</FrameLayout>
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="192.0dip" android:layout_height="wrap_content" android:layout_marginTop="27.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="192.0dip" android:layout_height="fill_parent" android:layout_marginTop="7.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_icon" android:layout_alignParentBottom="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="30.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-port/status_bar_recent_panel.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/sense_port" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background_solid" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="45.0dip" android:text="@string/recent_apps_title" />
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
- Next, Download this Sense4_resources
Exstract it and put it to
- res/drawable-nodpi
Done and recompile.
for CyanogenMod 10
STEP - 3
- /res/values/bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">[COLOR="Red"]true[/COLOR]</bool>
- /res/values/strings.xml
add this line to the end
Code:
<string name="recent_apps_title">Recent apps</string>
- /res/layout/status_bar_no_recent_apps.xml
Code:
<TextView android:textSize="20.0dip" [COLOR="Red"]android:textColor="@*android:color/white"[/COLOR] android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
- /res/layout/status_bar_expanded_header.xml
before :
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" [COLOR="Red"]android:background="@drawable/notification_header_bg"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false"
change to :
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" [COLOR="Red"]android:background="#ff000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false"
- /res/layout-land/status_bar_recent_item.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="137.0dip" android:layout_height="217.0dip" android:layout_marginTop="10.0dip" android:layout_marginBottom="20.0dip" />
</FrameLayout>
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="50.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="10.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="35.0dip" android:maxHeight="35.0dip" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="70.0dip" android:layout_height="fill_parent" android:scrollHorizontally="true" android:singleLine="true" android:layout_toRightOf="@id/app_icon" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-land/status_bar_recent_panel.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/sense_land" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="#00000000" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|right|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:text="@string/recent_apps_title" />
<ImageView android:layout_gravity="top|right|center" android:id="@id/recents_clear" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_clear" />
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
- /res/layout-port/status_bar_recent_item.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="192.0dip" android:layout_height="305.0dip" android:layout_marginTop="15.0dip" android:layout_marginBottom="15.0dip" />
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="192.0dip" android:layout_height="wrap_content" android:layout_marginTop="57.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="192.0dip" android:layout_height="fill_parent" android:layout_marginTop="7.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_icon" android:layout_alignParentBottom="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-port/status_bar_recent_panel.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/sense_port" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="43.0dip" android:text="@string/recent_apps_title" />
<ImageView android:layout_gravity="top|right|center" android:id="@id/recents_clear" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_clear" />
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
- Next, Download this Sense4_resources
Exstract it and put it to
- res/drawable-nodpi
Done and recompile.
for CyanogenMod 10.1
STEP - 3
- /res/values/bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">[COLOR="Red"]true[/COLOR]</bool>
- /res/values/strings.xml
add this line to the end
Code:
<string name="recent_apps_title">Recent apps</string>
- /res/values/ids.xml
add this line to the end
Code:
<item type="id" name="recents_transition_background" />
<item type="id" name="recents_transition_placeholder_icon" />
- /res/layout/status_bar_no_recent_apps
Code:
<TextView android:textSize="20.0dip" android:textColor="@*android:color/[COLOR="Red"]white[/COLOR]" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
- /res/layout/status_bar_recent_item.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="192.0dip" android:layout_height="305.0dip" android:layout_marginTop="25.0dip" android:layout_marginBottom="15.0dip" />
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="192.0dip" android:layout_height="wrap_content" android:layout_marginTop="27.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="192.0dip" android:layout_height="fill_parent" android:layout_marginTop="7.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_icon" android:layout_alignParentBottom="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="30.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout/status_bar_recent_panel.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/sense_port" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="18.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="43.0dip" android:text="@string/recent_apps_title" />
<ImageView android:layout_gravity="top|right|center" android:id="@id/recents_clear" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_clear" />
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
- /res/layout-land/status_bar_recent_item.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="137.0dip" android:layout_height="217.0dip" android:layout_marginTop="10.0dip" android:layout_marginBottom="20.0dip" />
</FrameLayout>
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="50.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="10.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="35.0dip" android:maxHeight="35.0dip" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="70.0dip" android:layout_height="fill_parent" android:scrollHorizontally="true" android:singleLine="true" android:layout_toRightOf="@id/app_icon" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-land/status_bar_recent_panel.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/sense_land" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="#00000000" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|right|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="18.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:text="@string/recent_apps_title" />
<ImageView android:layout_gravity="top|right|center" android:id="@id/recents_clear" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_clear" />
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
- Next, Download this Sense4_resources
Exstract it and put it to
- res/drawable-nodpi
Done and recompile.
Reserved 4
thank you very much for this guide.
i'm trying to apply it on cm9 but when i decompile systemui.apk with apktools i get some errors and in the decompiled folder many files are missing. So I can't go further. How can solve that?
thanks again
s.goten said:
thank you very much for this guide.
i'm trying to apply it on cm9 but when i decompile systemui.apk with apktools i get some errors and in the decompiled folder many files are missing. So I can't go further. How can solve that?
thanks again
Click to expand...
Click to collapse
can you post the logchat ?
so we can see which error
here is the log
thanks for your support
s.goten said:
here is the log
thanks for your support
Click to expand...
Click to collapse
have you install the correct frmaewrok-res.apk
Adi Aisiteru Reborn said:
have you install the correct frmaewrok-res.apk
Click to expand...
Click to collapse
solved!!!! adding the framework-res path it works!!!
now i'm trying to follow the guide
thank you very much
---------- Post added at 05:12 PM ---------- Previous post was at 04:23 PM ----------
done! you're guide works great on cm9 rc9.
just a question: when I open recent apps screen, it happens that appears a little swipe animation of the apps on the left.
it's a nice effect but i don't know if it's normal or just the result of something wrong in my steps for modding system files.
s.goten said:
solved!!!! adding the framework-res path it works!!!
now i'm trying to follow the guide
thank you very much
---------- Post added at 05:12 PM ---------- Previous post was at 04:23 PM ----------
done! you're guide works great on cm9 rc9.
just a question: when I open recent apps screen, it happens that appears a little swipe animation of the apps on the left.
it's a nice effect but i don't know if it's normal or just the result of something wrong in my steps for modding system files.
Click to expand...
Click to collapse
Did you mean They dancing .lolls
Yahh , thats normal n nice
Sent from my GT-I8150 using xda app-developers app
it's my LogChat. can you fix it?
Ok, i did all this and when try to open recents, it force closes. Will you help if i attach SystemUi.apk??
Error
Hi, I can't compile systemui.apk. I have installed the correct framework-res.apk
My log said aproblem releated to AndroidManifest.xml (I can't upload the picture)
Some clue?
Thanks in advanced. It's a Systemui.apk from a SlimBean 3.1.1 (android 4.1.2).
Tnx for the guide it worked like a charm.:laugh:
Thanks, I like this mod
GT-I8150 cihazımdan Tapatalk 2 ile gönderildi
I'm trying your MOD on Nexus 4, CM10.1, but I'm getting a wierd result... the thumbnails are a bit small, and the screen is "ending" before its edge.
What values can I try to make the thumbnails larger, and to fix that ending (or whatever it's called)?
Thanks!
gasparzim said:
I'm trying your MOD on Nexus 4, CM10.1, but I'm getting a wierd result... the thumbnails are a bit small, and the screen is "ending" before its edge.
What values can I try to make the thumbnails larger, and to fix that ending (or whatever it's called)?
Thanks!
Click to expand...
Click to collapse
I guess that's becoz of your device is XHDPI and not HDPI as stated on OP
If that so, you must resize all dimens/height/weight of the guide in all XML.
But no need for the smali
Good luck
Sent from my GT-I8150 using xda app-developers app
Adi Aisiteru Reborn said:
I guess that's becoz of your device is XHDPI and not HDPI as stated on OP
If that so, you must resize all dimens/height/weight of the guide in all XML.
But no need for the smali
Good luck
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Thanks, I will give it a try
Thanks! It work perfectly on CM10.1
(some theming )

[MOD][XT1033] Remove carrier label and SIM numbers for statusbar[Do-It-Yourself]

Hey guys, i just modded our stock kitkat rom based on asian to remove the carrier label and cell broadcast from statusbar. I will share my flashable zip and also the method to do this. My big thanks to @siddarth.gtm and @ vikasb32 for helping me out on this!!
Code:
[SIZE="4"][COLOR="Red"]This mod is based on stock deodexed rom and wont work on odexed ones![/COLOR][/SIZE]
How to do:
1.Decompile ur systemui.apk and open res/layout/msim_signal_cluster_view.xml (to remove SIM numbers in statusbar):
2.Now find this line:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
and change to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
also change:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
3.Now for the carrier label part open res/layout/statusbar_expanded.xml:
find these lines and change the width and height like the above method to 0.0dip:
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
and also for
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id_2" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label_2" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel_2" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
4.Recompile and ur done!!
Here is the Flashable zip for deodexed roms
CarrierLabel&SIM Number.zip​
Click to expand...
Click to collapse
I dont ask for donations but please do press thanks button a click of a button is never gonna hurt!!​
yeshwanthvshenoy said:
Hey guys, i just modded our stock kitkat rom based on asian to remove the carrier label and cell broadcast from statusbar. I will share my flashable zip and also the method to do this. My big thanks to @siddarth.gtm and @ vikasb32 for helping me out on this!!
Code:
[SIZE="4"][COLOR="Red"]This mod is based on stock deodexed rom and wont work on odexed ones![/COLOR][/SIZE]
How to do:
1.Decompile ur systemui.apk and open res/layout/msim_signal_cluster_view.xml (to remove SIM numbers in statusbar):
2.Now find this line:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
and change to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
also change:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
3.Now for the carrier label part open res/layout/statusbar_expanded.xml:
find these lines and change the width and height like the above method to 0.0dip:
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
and also for
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id_2" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label_2" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel_2" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
4.Recompile and ur done!!
I dont ask for donations but please do press thanks button a click of a button is never gonna hurt!!​
Click to expand...
Click to collapse
Screenshot?
Sent from my XT1033 using Tapatalk
rajibie said:
Screenshot?
Click to expand...
Click to collapse
thanks for reminding i have made the attachment check OP and a kind request please dont quote full OP just quote the author is enough! and btw kindly hit the thanks button!
yeshwanthvshenoy said:
Hey guys, i just modded our stock kitkat rom based on asian to remove the carrier label and cell broadcast from statusbar. I will share my flashable zip and also the method to do this. My big thanks to @siddarth.gtm and @ vikasb32 for helping me out on this!!
Code:
[SIZE="4"][COLOR="Red"]This mod is based on stock deodexed rom and wont work on odexed ones![/COLOR][/SIZE]
How to do:
1.Decompile ur systemui.apk and open res/layout/msim_signal_cluster_view.xml (to remove SIM numbers in statusbar):
2.Now find this line:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
and change to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
also change:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
3.Now for the carrier label part open res/layout/statusbar_expanded.xml:
find these lines and change the width and height like the above method to 0.0dip:
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
and also for
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id_2" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label_2" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel_2" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
4.Recompile and ur done!!
I dont ask for donations but please do press thanks button a click of a button is never gonna hurt!!​
Click to expand...
Click to collapse
Thanks for the DIY steps, it's rare to find a post with a DIY and I enjoyed it. You have my thanks :good: :victory:
Can u mention how to remove sim logo ? I have broken sim no1 so i cant use it i want to disable it for ever =) >>
thanks in advance !
Odexed Please
Odexed When????
Romiui said:
Can u mention how to remove sim logo ? I have broken sim no1 so i cant use it i want to disable it for ever =) >>
thanks in advance !
Click to expand...
Click to collapse
u want to disable sim 2 signal icon? there is already a mod for that check this thread
yeshwanthvshenoy said:
u want to disable sim 2 signal icon? there is already a mod for that check this thread
Click to expand...
Click to collapse
I read this !!
I said I need to disable sim 1 not sim 2
Sim 2 already running in my phone
The only problem with sim 1 broken !!!
Romiui said:
I read this !!
I said I need to disable sim 1 not sim 2
Sim 2 already running in my phone
The only problem with sim 1 broken !!!
Click to expand...
Click to collapse
my guide says exactly that to remove both sims if u do it for one then only one will be removed from statusbar bro!
Do it yourself
Romiui said:
I read this !!
I said I need to disable sim 1 not sim 2
Sim 2 already running in my phone
The only problem with sim 1 broken !!!
Click to expand...
Click to collapse
in msim_signal_cluster_view.xml
Code:
<ImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
change all wrap_content to 0.0dip
sidharth.gtm said:
in msim_signal_cluster_view.xml
Code:
<ImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
change all wrap_content to 0.0dip
Click to expand...
Click to collapse
aha !! thats called solution =d ..
I'll Try it today !
Thank u
Edit: working Perfect But still there is gap ! How to remove it =D ..
i believe its here some where :
<View android:id="@id/spacer" android:layout_width="8.0dip" android:layout_height="8.0dip" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/mobile_combo_sub2" android:layout_width="wrap_content" android:layout_height="wrap_content">
Click to expand...
Click to collapse
How to open xml file and edit?????
I tried notepad,wordpad and few others software but i failed to view the contents of the XML file please help
Bhavyasaran said:
I tried notepad,wordpad and few others software but i failed to view the contents of the XML file please help
Click to expand...
Click to collapse
try notepad ++
HELP ME
I was unable to remove 2nd sim icon in CRdroid rom this is the best available rom for motorola moto g XT1033...........please modify systemUI.APK for this rom........http://forum.xda-developers.com/sho...ying::crying::crying::crying::crying::crying:
Bhavyasaran said:
I was unable to remove 2nd sim icon in CRdroid rom this is the best available rom for motorola moto g XT1033...........please modify systemUI.APK for this rom........http://forum.xda-developers.com/sho...ying::crying::crying::crying::crying::crying:
Click to expand...
Click to collapse
send the systemui i ll do it for u
http://d-h.st/hjH ................ remove 2nd sim icon and number from 1st sim icon...........thank you my friend..
http://d-h.st/6lF ................ remove 2nd sim icon and number from 1st sim icon...........thank you my friend..
Bhavyasaran said:
http://d-h.st/hjH ................ remove 2nd sim icon and number from 1st sim icon...........thank you my friend..
Click to expand...
Click to collapse
yeshwanthvshenoy said:
send the systemui i ll do it for u
Click to expand...
Click to collapse
Hey bro, can you plz remove de sim1 and 2 numbers in CM 11? The SystemUI.apk is attached
Bhavyasaran said:
http://d-h.st/6lF ................ remove 2nd sim icon and number from 1st sim icon...........thank you my friend..
Click to expand...
Click to collapse
nArdow said:
Hey bro, can you plz remove de sim1 and 2 numbers in CM 11? The SystemUI.apk is attached
Click to expand...
Click to collapse
i ll do both on june 14th guys exams so kinda busy
yeshwanthvshenoy said:
i ll do both on june 14th guys exams so kinda busy
Click to expand...
Click to collapse
All right bro, thanks a lot! I'll be waiting =P
Sent from my Moto G using XDA Free mobile app

Categories

Resources