[HOWTO] Add ICS 'Recent Apps' button (or other softkeys) to Status bar - Android Software Development

Preview :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
this mod is originally posted in nexus s forum.
[MOD] Add ICS 'Recent Apps' button to Status bar
i added just 'recent apps' button only but you can add other buttons what you want. like this :
anyway, if you want to add 'recent apps' button..
1) fix "APP_SWITCH" keycode to call ICS Recent Apps dialog.
- basically, same process to this mod : [HOWTO] Remap hardware button to ICS recent apps
platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
from :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0) {
showOrHideRecentAppsDialog(RECENT_APPS_BEHAVIOR_SHOW_OR_DISMISS);
}
return -1;
}
to :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0 && !keyguardOn) {
try {
mStatusBarService.toggleRecentApps();
} catch (RemoteException e) {
Slog.e(TAG, "RemoteException when showing recent apps", e);
}
}
return -1;
}
2) modifiy Expanded Status bar layout
- decompile SystemUI.apk -> /res/layout/status_bar_expanded.xml
..or..
- platform/frameworks/base/packages/SystemUI/res/layout/status_bar_expanded.xml
from :
Code:
<RelativeLayout android:background="@drawable/notification_header_bg" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
<ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
<ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />
</RelativeLayout>
to :
Code:
<RelativeLayout android:background="@drawable/notification_header_bg" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
<ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
[COLOR="Blue"]<com.android.systemui.statusbar.policy.KeyButtonView android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:id="@id/recent_apps" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_toRightOf="@id/settings_button" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" systemui:glowBackground="@drawable/ic_sysbar_highlight" />[/COLOR]
<ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />
</RelativeLayout>
3) you'd better replace /res/drawable-****/ic_sysbar_recent.png with smaller one...
mine(in above preview - for hdpi) is here : http://www.mediafire.com/?qxy9l1emmeofa4s
-----------------------------------------------------------------------------
and caution
- when i tested this on stock rom, search button works only when long pressed (=voice search).
- adding some kind of button like menu or back is meaningless.. (surely)
- and at least on my phone(nexus s), ICS blue(#33b1e1) doesn't look same color to date and quick settings button.. (don't know why)
- and do not use this mod with tablet ui or onscreen softkeys mod.
- and if you cannot compile android.policy.jar for some reason, try with my files instead.
you can find my files in these thread :
[MOD] Search key to ICS recent apps
[MOD] Add ICS 'Recent Apps' button to Status bar
and be careful. you should use suitable version to your rom. so if your cm9 rom was built few weeks ago, do not try with latest version of my mod.

I've been looking for this quite a while because my homebutton doesn't work that good anymore.
I'm running a Samsung galaxy s with teamhacksung ICS build 17.
Is there any chance you could make a flashable zip for this because I have absolutely no clue in coding. I'm just consuming these incredible things here on xda

It is very beautiful, thank you for your doing!
Sent from my MotoA953

I read all post from nexus because I'm using cm9 and they have made wonderful mod for it,but no guide at all,but you're really awesome because you made a guide and was really helping me port it to my phone,thanks!!!
from the ARC

Just flashed this and it seems to be working fine on the LG optimus v.

Where can I find the .java file in SystemUI.apk?
I want to include that in my own update.zip

F.West98 said:
Where can I find the .java file in SystemUI.apk?
I want to include that in my own update.zip
Click to expand...
Click to collapse
sorry but you have to compile from source code..
https://github.com/android/platform.../internal/policy/impl/PhoneWindowManager.java

What to do with that file?
I don't know exactly, it's my first own mod

F.West98 said:
What to do with that file?
I don't know exactly, it's my first own mod
Click to expand...
Click to collapse
apply above fix related to "APP_SWITCH" keycode and compile android.policy.jar.
you have to download entire ics source code to compile this..
maybe same thing can be done simply by smali editing but sorry, i don't know how..

But then it isn't CM9 anymore, is it?
Can't I download only the needed files from Github? And how to make it flashable?
Ah I understand something
I can place the .jar file (compiled) into the folder 'frameworks' in my flashable zip, there is also an apk (framework-res)
I have to download the complete source code and I only have to change the file (.java), which I compile as the .jar
Correct?
(but why do I need the whole source code, I'm on Windows...)

chucksaysblah said:
Just flashed this and it seems to be working fine on the LG optimus v.
Click to expand...
Click to collapse
How did you flash it on your LG? Did you recompile from source or something else?

F.West98 said:
But then it isn't CM9 anymore, is it?
Can't I download only the needed files from Github? And how to make it flashable?
Ah I understand something
I can place the .jar file (compiled) into the folder 'frameworks' in my flashable zip, there is also an apk (framework-res)
I have to download the complete source code and I only have to change the file (.java), which I compile as the .jar
Correct?
(but why do I need the whole source code, I'm on Windows...)
Click to expand...
Click to collapse
firstly, i recommend you read this : How to compile ICS
and if you want to use this on CM9, download CM source instead of AOSP.
https://github.com/CyanogenMod
download single framework file's source code and compile that one file is impossible. so you have to download entire ics source code..
and if you want to use what you made personally, you don't have to make flashable zip. just push modified files to your system using adb or (easily) android commander.
http://androidcommander.com/

So I have to wait 4 hours and only pick 1 file of evrything?
Flashable ZIP is easy for me
edit: and I have to restart my PC, save everything, check the x64-option in the BIOS, install virtualbox, download linux and install it?
Can't anyone compile for me? :S

Here are the edits as a github commit for devs coming along wanting to integrate this into existing source: https://github.com/ThePlayground/an...mmit/0377e4b83e616a68395a82ba902d2757a16627d5
Thanks for the mod. It's a great idea

twistedumbrella said:
Here are the edits as a github commit for devs coming along wanting to integrate this into existing source: https://github.com/ThePlayground/an...mmit/0377e4b83e616a68395a82ba902d2757a16627d5
Thanks for the mod. It's a great idea
Click to expand...
Click to collapse
wow.. I guess I should thank you. it would be great pleasure to me if this mod is useful for many users

good work! but just a question: whye dont anyone add that downstears like the original ics for nexus?

Good job OP. BTW, ICS color code in hex is 33b5e5 I believe.
Sent from my Galaxy Nexus using xda premium

awesome!!!
it's very convenient on Galaxy S

rugal28 said:
awesome!!!
it's very convenient on Galaxy S
Click to expand...
Click to collapse
Can you post it as flashable zip?

Great will compile later
Thx.

Related

[solved] [Q] PAC kk build help...!!! (10-02-2014)

EDIT : Error solved
i am facing an error while building PAC 4.4 Alpha Update for my Xperia LWW...i googled around for the exact same error and got to know that it might be caused due to low memory...but i hav a Swap Partition of 15 GB (i know its a lot of SWAP but its to b on the safer side:fingers-crossed and i hav built successfully last week with the same PC config....
Heres the log :
Code:
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/bootanimation/320.zip:system/media/bootanimation.zip ignored.
No private recovery resources for TARGET_DEVICE coconut
make -C kernel/semc/msm7x30 O=/home/admin01/1packk/out/target/product/coconut/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/admin01/1packk/prebuilts/misc/linux-x86/ccache/ccache /home/admin01/1packk/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= nAa_coconut_defconfig
make[1]: Entering directory `/home/admin01/1packk/kernel/semc/msm7x30'
GEN /home/admin01/1packk/out/target/product/coconut/obj/KERNEL_OBJ/Makefile
host Executable: clang (/home/admin01/1packk/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
#
# configuration written to .config
#
make[1]: Leaving directory `/home/admin01/1packk/kernel/semc/msm7x30'
Target buildinfo: /home/admin01/1packk/out/target/product/coconut/system/build.prop
make: Circular /home/admin01/1packk/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk <- /home/admin01/1packk/out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp dependency dropped.
target Java: bouncycastle (/home/admin01/1packk/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
JarJar: /home/admin01/1packk/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-jarjar.jar
/home/admin01/1packk/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/ld: BFD (GNU Binutils) 2.21 internal error, aborting at /i/toolchain-src//binutils/binutils-2.21/bfd/merge.c line 873 in _bfd_merged_section_offset
/home/admin01/1packk/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/ld: Please report this bug.
collect2: ld returned 1 exit status
make: *** [/home/admin01/1packk/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang] Error 1
make: *** Waiting for unfinished jobs....
/home/admin01/1packk/out/target/product/coconut/pac_coconut-ota-eng.admin01.zip doesn't exist!
Total time elapsed: 9 minutes 20 seconds
********************************************************************************
*******************************PLEASE READ THIS!!*******************************
Please remember that this source is currently for private builds ONLY!
Public builds are NOT ALLOWED, all public builds will be removed.
It will be welcomed after nightlies begin. Thank you, the Developers.
*******************************PLEASE READ THIS!!*******************************
********************************************************************************
[email protected]:~/1packk$
so pls help me:crying: out if u can...cos i dont understand why i am getting the mentioned error when my previous builds were successful??...is my VERY Large SWAP partition creating the problem??or something else??
OLD post:
hello everyone i am again building (as i want to update) PAC 4.4 alpha for my SE LWW but now my PAC kk build seems to fail again nd again ...
heres what i did...
i tried to cherry-pick quicksettings 2.0 from PA from here and the build failed...
so i repo synced again to revert the changes from cherry pick nd built again but still failed...
tried many things nd got several errors nd builds failed..
then i deleted the whole of the frameworks folders (as the above commit affects it) both from the working dir as well as .repo/projects and repo synced again to download the source for it again...
but even after all this the build failed...so pls tel me what to do???
the error pic is here :silly: or below...
{
"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"
}
EDIT :
I did a clean build and it finished successfully ....
skull47 said:
hello everyone i am again building (as i want to update) PAC 4.4 alpha for my SE LWW but now my PAC kk build seems to fail again nd again ...
heres what i did...
i tried to cherry-pick quicksettings 2.0 from PA from here and the build failed...
so i repo synced again to revert the changes from cherry pick nd built again but still failed...
tried many things nd got several errors nd builds failed..
then i deleted the whole of the frameworks folders (as the above commit affects it) both from the working dir as well as .repo/projects and repo synced again to download the source for it again...
but even after all this the build failed...so pls tel me what to do???
the error pic is here :silly: or below...
pls help me out if possible:fingers-crossed:...it would be much appreciated as I AM TRYING TO LEARN:silly: NEW THINGS
thanks:good::highfive:
Click to expand...
Click to collapse
Post the contents of ~/1packk/.repo/local_manifests.xml
Also, do you have any other .xml files in that folder? If so, post them also.
Langes said:
Post the contents of ~/1packk/.repo/local_manifests.xml
Also, do you have any other .xml files in that folder? If so, post them also.
Click to expand...
Click to collapse
thnks a ton for replyin here...sorry to disturb u thru PM...but after i PMed u i remembered about this forum so posted here too...
nywys the code:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LegacyXperia/android_device_semc_coconut" path="device/semc/coconut" remote="github" revision="cm-11.0" />
<project name="LegacyXperia/android_device_semc_mogami-common" path="device/semc/mogami-common" remote="github" revision="cm-11.0" />
<project name="LegacyXperia/android_device_semc_msm7x30-common" path="device/semc/msm7x30-common" remote="github" revision="cm-11.0" />
<project name="LegacyXperia/msm7x30-3.4.x-nAa" path="kernel/semc/msm7x30" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_sony_DASH" path="hardware/sony/DASH" remote="github" revision="cm-11.0" />
<project name="LegacyXperia/proprietary_vendor_semc" path="vendor/semc" remote="github" revision="cm-11.0" />
<remove-project name="androidarmv6/android_hardware_qcom_display-legacy" path="hardware/qcom/display-legacy" revision="cm-10.2" />
<remove-project name="androidarmv6/android_hardware_qcom_media_legacy" path="hardware/qcom/media-legacy" revision="cm-10.2" />
<project name="LegacyXperia/android_hardware_qcom_audio-legacy" path="hardware/qcom/audio-legacy" />
<project name="LegacyXperia/android_hardware_qcom_display-legacy" path="hardware/qcom/display-legacy" revision="cm-11.0_old" />
<project name="LegacyXperia/android_hardware_qcom_media-legacy" path="hardware/qcom/media-legacy" revision="cm-11.0_old" />
<project name="CyanogenMod/android_external_wpa_supplicant_8_ti" path="external/wpa_supplicant_8_ti" revision="cm-10.2" />
<project name="Pinky-Inky-and-Clyde/proprietary_vendor_semc" path="vendor/semc" remote="github" revision="cm-11.0" />
</manifest>
EDIT: just noticed the vendor_semc conflict...removing LEGACYXPERIA's vendor/semc nd trying out again...
EDIT 2: no change...error still remains...nd noo there is no other .xml file here...
skull47 said:
thnks a ton for replyin here...sorry to disturb u thru PM...but after i PMed u i remembered about this forum so posted here too...
nywys the code:
EDIT: just noticed the vendor_semc conflict...removing LEGACYXPERIA's vendor/semc nd trying out again...
Click to expand...
Click to collapse
Was just about to point that out
It is also good practice to put your "remove-project" lines at the top. Other than that, everything looks good.
Are you cherry-picking anything before building?
You need only 55805 from CM, the others that are in LX updates.sh are not needed for PAC or already merged in PAC frameworks/av
Langes said:
Was just about to point that out
It is also good practice to put your "remove-project" lines at the top. Other than that, everything looks good.
Are you cherry-picking anything before building?
You need only 55805 from CM, the others that are in LX updates.sh are not needed for PAC or already merged in PAC frameworks/av
Click to expand...
Click to collapse
yes i am cherry picking only 55805 b4 building...
EDIT 2: no change...error still remains...nd noo there is no other .xml file here...
repo sync stuck at 99%
Langes said:
Was just about to point that out
It is also good practice to put your "remove-project" lines at the top. Other than that, everything looks good.
Are you cherry-picking anything before building?
You need only 55805 from CM, the others that are in LX updates.sh are not needed for PAC or already merged in PAC frameworks/av
Click to expand...
Click to collapse
the above mentioned error still occurs and not able to build...what shud i do???
and now another problem i am facing is that the repo sync command gets stuck at 99%..and ya i checked my network connections and they are all right...i even tried repo sync -f and left it for the whole night but still it is stuck at 99%...so pls help me out here...atached screenshot below...
skull47 said:
the above mentioned error still occurs and not able to build...what shud i do???
and now another problem i am facing is that the repo sync command gets stuck at 99%..and ya i checked my network connections and they are all right...i even tried repo sync -f and left it for the whole night but still it is stuck at 99%...so pls help me out here...atached screenshot below...
Click to expand...
Click to collapse
For the repo sync error, you should remove LegacyXperia/android_hardware_qcom_adio-legacy from roomsevice
file contect required
Langes said:
For the repo sync error, you should remove LegacyXperia/android_hardware_qcom_adio-legacy from roomsevice
Click to expand...
Click to collapse
thanks for the tip it worked...
can u or any one building PAC 4.4 pls tell me the contents of the file SkPDFDevice.P after the line 232 ( file location :
/your-working-directory/out/target/product/coconut/obj/SHARED_LIBRARIES/libskia_intermediates/src/pdf )
@3andala @Micha_Btz (sry to disturb u both but since u both hav built pac 4.4 u could help:fingers-crossed: me out)
thanks
skull47 said:
@3andala @Micha_Btz (sry to disturb u both but since u both hav built pac 4.4 u could help:fingers-crossed: me out)
thanks
Click to expand...
Click to collapse
i don't have build pac 4.4.x yet.
sry..my bad..
Micha_Btz said:
i don't have build pac 4.4.x yet.
Click to expand...
Click to collapse
oh sry my bad...but still could u tell me the file content of the 4.3 sources..they might help me out...
thanks for ur reply...
New Error
OP updated...
skull47 said:
OP updated...
Click to expand...
Click to collapse
Are you still having build errors?
Sent from my SCH-I605 using Tapatalk
gchild320 said:
Are you still having build errors?
Sent from my SCH-I605 using Tapatalk
Click to expand...
Click to collapse
nope built successfully...the problem was tat the swap partition was not active...i did swapon and rebuilt...it worked...
nywyz thanks for replyin

[TUTORIAL][KK/JB 4.3][STOCK_ROM] Transparent Framework

Transparent framework for Xperia KK/JB 4.3 Stock Rom (Update For Theme.Holo.Light)
This mod affect to Settins.apk, Conversations.apk and SemcPhone.apk
Screenshot:
{
"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"
}
Tested work on:
- Sony Xperia SP (JB 4.3)
- Sony Xperia Z (KK)
- Sony Xperia Z1 (KK)
I get the basic tutorial of thread by ZduneX25
REQUIREMENTS:
- Advance Apktool, you can get it here http://forum.xda-developers.com/showthread.php?t=2639400
- Notepad++
- 7zip
- Root Explorer
- A deodex rom
- Framework-res.apk​
1. Decompile Framework-res.apk
2. Open /res/value/drawable.xml with Notepad++ add the following lines:
Code:
<item type="drawable" name="kalel_background_white">#a6ffffff</item>
<item type="drawable" name="kalel_background">#80000000</item>
Save drawable.xml
3. Open /res/value/styles.xml with Notepad++
a. Find : <style name="Theme.Holo" parent="@style/Theme"> edit line
Code:
<item name="windowShowWallpaper">false</item>
To :
Code:
<item name="windowShowWallpaper">true</item>
do the same for
Code:
<style name="Theme.Holo.Light" parent="@style/Theme.Light">
b. Find: <style name="Theme.DeviceDefault" parent="@style/Theme.Holo"> edit:
Code:
<item name="windowBackground">@drawable/kalel_background</item>
find : <style name="Theme.DeviceDefault.Light" parent="@style/Theme.Holo.Light"> edit:
Code:
<item name="windowBackground">@drawable/kalel_background_white</item>
c. Add this code
Code:
<item name="windowShowWallpaper">false</item>
under this lines:
Code:
- <style name="Theme.NoTitleBar" parent="@style/Theme">
- <style name="Theme.Black" parent="@style/Theme">
- <style name="Theme.Light" parent="@style/Theme">
- <style name="Theme.Translucent" parent="@style/Theme">
- <style name="Theme.NoDisplay" parent="@style/Theme">
- <style name="Theme.Panel" parent="@style/Theme">
- <style name="Theme.WallpaperSettings" parent="@style/Theme">
- <style name="Theme.Holo.Dialog" parent="@style/Theme.Holo">
- <style name="Theme.Holo.Light.Dialog" parent="@style/Theme.Holo.Light">
- <style name="Theme.Holo.Panel" parent="@style/Theme.Holo">
- <style name="Theme.Holo.Light.Panel" parent="@style/Theme.Holo.Light">
- <style name="Widget.ListPopupWindow" parent="@style/Widget">
- <style name="Widget.Holo.AutoCompleteTextView" parent="@style/Widget.AutoCompleteTextView">
- <style name="Widget.Holo.Spinner" parent="@style/Widget.Spinner.DropDown">
- <style name="Widget.Holo.ListPopupWindow" parent="@style/Widget.ListPopupWindow">
- <style name="Widget.Holo.Light.AutoCompleteTextView" parent="@style/Widget.AutoCompleteTextView">
- <style name="Widget.Holo.Light.Spinner" parent="@style/Widget.Holo.Spinner">
- <style name="Widget.Holo.Light.ListPopupWindow" parent="@style/Widget.ListPopupWindow">
- <style name="Theme.Holo.Light.NoActionBar" parent="@style/Theme.Holo.Light">
- <style name="Theme.Holo.Light.DarkActionBar" parent="@style/Theme.Holo.Light">
- <style name="Theme.DeviceDefault.Dialog" parent="@style/Theme.DeviceDefault">
- <style name="Theme.DeviceDefault.Panel" parent="@style/Theme.DeviceDefault">
- <style name="Theme.DeviceDefault.Light.Panel" parent="@style/Theme.DeviceDefault.Light">
- <style name="Widget.DeviceDefault.AutoCompleteTextView" parent="@style/Widget.AutoCompleteTextView">
- <style name="Widget.DeviceDefault.Spinner" parent="@style/Widget.Holo.Spinner.DropDown">
- <style name="Widget.DeviceDefault.ListPopupWindow" parent="@style/Widget.Holo.ListPopupWindow">
- <style name="Widget.DeviceDefault.Light.AutoCompleteTextView" parent="@style/Widget.AutoCompleteTextView">
- <style name="Widget.DeviceDefault.Light.Spinner" parent="@style/Widget.DeviceDefault.Spinner">
- <style name="Widget.DeviceDefault.Light.ListPopupWindow" parent="@style/Widget.ListPopupWindow">
- <style name="Widget.WebTextView" parent="@style/Widget">
- <style name="Widget.GenericQuickContactBadge" parent="@style/Widget">
- <style name="Widget.QuickContactBadge.WindowSmall" parent="@style/Widget.QuickContactBadge">
- <style name="Widget.QuickContactBadge.WindowMedium" parent="@style/Widget.QuickContactBadge">
- <style name="Widget.TextSuggestionsPopupWindow" parent="@style/Widget">
- <style name="Widget.Holo.PopupWindow.ActionMode" parent="@style/Widget.Holo.PopupWindow">
- <style name="Widget.Holo.Light.PopupWindow.ActionMode" parent="@style/Widget.Holo.Light.PopupWindow">
- <style name="Widget.DeviceDefault.PopupWindow.ActionMode" parent="@style/Widget.Holo.PopupWindow.ActionMode">
- <style name="Theme.Dialog.NoFrame" parent="@style/Theme.Dialog">
- <style name="Theme.ExpandedMenu" parent="@style/Theme.Holo">
- <style name="Theme.Holo.Light.CompactMenu" parent="@style/Theme.Holo.Light">
- <style name="Theme.Toast" parent="@style/Theme.Dialog">
- <style name="Theme.Holo.Dialog.NoFrame" parent="@style/Theme.Holo.Dialog">
- <style name="Theme.DeviceDefault.Dialog.NoFrame" parent="@style/Theme.DeviceDefault.Dialog">
For sample:
4. Save styles.xml
5. edit file (semc_ab_solid_light_holo.9.png) this setings header transparency with photoshop or other program. (sample on attachment)
6. Recompile and sign Framework-res.apk
7. Copy Framework-res.apk to /system/framework zip installer (sample on attachment)
8. Install Zip in Recovery
Done
Thanks To; (if I forgot someone, please remember me)
- BDFreak
- Frogy Furnetral
- ZduneX25
- dickey
- All android users
Do With Your Own Risk
awesome kk.... nice guide....
ronii ahmad said:
awesome kk.... nice guide....
Click to expand...
Click to collapse
Useful tutorial. I want to ask why everytime I want to decompile or compile framework it's always error. Framework from stock rom.
can i use this for other devices, like Samsung, LG, etc ?
Awsome I'll try this on my xperia z
Sent from my C6603 using XDA Premium 4 mobile app
Whenever i enter the command in command prompt i get this error "java is not recognized as internal or external command,operable program or batch file"
How to fix this?
@kalel2012
Thanks a lot. Working fine on my L.
I'll wait for the Xposed module
Sent from my C6833 using Tapatalk
fails to compile
Xperia Z
4.3
10.4.1.B.0.101
Congratulations!!! Now on Xda portal
it is not possible to provide direct modual like xposed in this case???
Could you please be more clear on step 6. it seems a bit confusing. Thanks for tutorial
Edit: OK got the answer myself. need to push new build folder things to original Framework-res.apk
+1 Thanx.
it works on my MT6589 Cross a88
will wait another great tutorial from you suhu. _/|\_
zhalx said:
+1 Thanx.
it works on my MT6589 Cross a88
will wait another great tutorial from you suhu. _/|\_
Click to expand...
Click to collapse
How you forced translucent UI?
lukakas said:
How you forced translucent UI?
Click to expand...
Click to collapse
where translucent UI sir?
zhalx said:
where translucent UI sir?
Click to expand...
Click to collapse
I mean translucent statusbar.
No working Xperia Z 4.3 . I just get a Background Transperant when watching video
Please fix it
lukakas said:
I mean translucent statusbar.
Click to expand...
Click to collapse
oo, i follow this guide by Adi sir.
http://forum.xda-developers.com/showthread.php?t=2234355
nasheich said:
can i use this for other devices, like Samsung, LG, etc ?
Click to expand...
Click to collapse
not tested another devices
henry chip said:
No working Xperia Z 4.3 . I just get a Background Transperant when watching video
Please fix it
Click to expand...
Click to collapse
i think you need to edit semcvideo.apk

[TUTORIAL] [4.1+] [UPDATE : 20.06.2014] Basic System Apps Mods Tutorials

Friends
Here I Am Presenting You Some Basic Tutorials For Different System Based Apps. You Can Mod Different Apks With This Simple Basic Tutorials... Please Note That This Tutorials Will Only Work in A Deodexed ROMS... U Should Know How To Decompile apks and Recompile Then Sign.. U Can Check In Different Foorums For That Tutorials If U Don't Know About That..
Lets Begin ...
(1) SEMCPHONE.apk
Click to expand...
Click to collapse
(a) Enable Call Recording
De Compile SemcPhone.apk
Go To res/values/bools.xml
Find This Line
[*]<bool name="enable_call_recording">false</bool>
And Change It To This
[*]<bool name="enable_call_recording">true</bool>
Save And Re Compile Apk Then Use It.
(b) Disable Data Charge Warning Pop UP
De Compile SemcPhone.apk
Go To res/values/bools.xml
Find This Line
[*]<bool name="disable_charge_popups">false</bool>
And Change It To This
[*]<bool name="disable_charge_popups">true</bool>
Save And Re Compile Apk Then Use It.
(c) Disable Data Disabled / Enabled Notifications
De Compile SemcPhone.apk
Go To res/values/bools.xml
Find This Line
[*]<bool name="data_connection_except_mms_show_icon_when_disabled">true</bool>
And Change It To This
[*]<bool name="data_connection_except_mms_show_icon_when_disabled">false</bool>
Save And Re Compile Apk Then Use It.
(d) Enable Speaker Voice Enhancement
De Compile SemcPhone.apk
Go To res/values/bools.xml
Find This Line
[*]<bool name="enable_speaker_voice_enhancement">false</bool>
And Change It To This
[*]<bool name="enable_speaker_voice_enhancement">true</bool>
Save And Re Compile Apk Then Use It.
(e) Enable 2G Only Mod
De Compile SemcPhone.apk
Go To res/values/bools.xml
Find This Line
[*]<bool name="prefer_2g_visibility">false</bool>
And Change It To This
[*]<bool name="prefer_2g_visibility">true</bool>
Save And Re Compile Apk Then Use It.
(f) Enable Call Ended Screen
De Compile SemcPhone.apk
Go To res/values/bools.xml
Find This Line
[*]<bool name="enable_call_ended_screen">false</bool>
And Change It To This
[*]<bool name="enable_call_ended_screen">true</bool>
Save And Re Compile Apk Then Use It.
(g) Enable Auto Rety Call
De Compile SemcPhone.apk
Go To res/values/bools.xml
Find This Line
[*]<bool name="auto_retry_enabled">false</bool>
And Change It To This
[*]<bool name="auto_retry_enabled">true</bool>
Save And Re Compile Apk Then Use It.
(h) Disable Reject Call With Message Option
De Compile SemcPhone.apk
Go To res/layout/somc_incallscreen_reject_msgs_drawer.xml
Find These Lines
Code:
<ImageView android:id="@id/handleArrow" android:paddingTop="@dimen/somc_incallscreen_reject_msgs_drawer_handle_paddingTop" android:paddingBottom="@dimen/somc_incallscreen_reject_msgs_drawer_handle_paddingBottom" android:layout_width=[COLOR="Red"]"fill_parent"[/COLOR] android:layout_height=[COLOR="Red"]"wrap_content"[/COLOR] android:src="@drawable/ic_reject_call_grips" />
<TextView android:textSize=[COLOR="Red"]"@dimen/somc_incallscreen_reject_msgs_drawer_handle_text_size"[/COLOR] android:id="@id/handleText" android:layout_width=[COLOR="Red"]"fill_parent"[/COLOR] android:layout_height=[COLOR="Red"]"wrap_content"[/COLOR] android:text="@string/phone_strings_ans_mach_response_options_tab_txt" android:fontFamily="sans-serif-light" android:textAlignment="center" />
<View android:background="@drawable/list_divider_horizontal" android:layout_width=[COLOR="Red"]"fill_parent"[/COLOR] android:layout_height=[COLOR="Red"]"@dimen/somc_incallscreen_reject_msgs_drawer_list_divider_height"[/COLOR] android:layout_marginStart="@dimen/somc_incallscreen_reject_msgs_drawer_list_margin_left" android:layout_marginEnd="@dimen/somc_incallscreen_reject_msgs_drawer_list_margin_right" />
<ListView android:layout_gravity="center_horizontal" android:id="@id/rejectMsgList" android:layout_width=[COLOR="Red"]"fill_parent"[/COLOR] android:layout_height=[COLOR="Red"]"wrap_content"[/COLOR] android:listSelector="@android:color/transparent" android:divider="@drawable/list_divider_horizontal" android:dividerHeight="@dimen/somc_incallscreen_reject_msgs_drawer_list_divider_height" android:footerDividersEnabled="false" android:layout_marginStart="@dimen/somc_incallscreen_reject_msgs_drawer_list_margin_left" android:layout_marginEnd="@dimen/somc_incallscreen_reject_msgs_drawer_list_margin_right" />
And Change It To This
Code:
<ImageView android:id="@id/handleArrow" android:paddingTop="@dimen/somc_incallscreen_reject_msgs_drawer_handle_paddingTop" android:paddingBottom="@dimen/somc_incallscreen_reject_msgs_drawer_handle_paddingBottom" android:layout_width=[COLOR="Red"]"0.0dip"[/COLOR] android:layout_height=[COLOR="Red"]"0.0dip"[/COLOR] android:src="@drawable/ic_reject_call_grips" />
<TextView android:textSize=[COLOR="Red"]"0.0dip"[/COLOR] android:id="@id/handleText" android:layout_width=[COLOR="Red"]"0.0dip"[/COLOR] android:layout_height=[COLOR="Red"]"0.0dip"[/COLOR] android:text="@string/phone_strings_ans_mach_response_options_tab_txt" android:fontFamily="sans-serif-light" android:textAlignment="center" />
<View android:background="@drawable/list_divider_horizontal" android:layout_width=[COLOR="Red"]"0.0dip"[/COLOR] android:layout_height=[COLOR="Red"]"0.0dip"[/COLOR] android:layout_marginStart="@dimen/somc_incallscreen_reject_msgs_drawer_list_margin_left" android:layout_marginEnd="@dimen/somc_incallscreen_reject_msgs_drawer_list_margin_right" />
<ListView android:layout_gravity="center_horizontal" android:id="@id/rejectMsgList" android:layout_width=[COLOR="Red"]"0.0dip"[/COLOR] android:layout_height=[COLOR="Red"]"0.0dip"[/COLOR] android:listSelector="@android:color/transparent" android:divider="@drawable/list_divider_horizontal" android:dividerHeight="@dimen/somc_incallscreen_reject_msgs_drawer_list_divider_height" android:footerDividersEnabled="false" android:layout_marginStart="@dimen/somc_incallscreen_reject_msgs_drawer_list_margin_left" android:layout_marginEnd="@dimen/somc_incallscreen_reject_msgs_drawer_list_margin_right" />
Save And Exit From Text Editor
Go To res/layout/somc_incallscreen_reject_msgs_list_item.xml
Find This Line
Code:
<TextView android:textSize="@dimen/reject_with_message_list_item_text_size" android:ellipsize="end" android:gravity="center_vertical" android:layout_gravity="center_vertical" android:id="@id/text" android:paddingLeft="@dimen/somc_incallscreen_reject_msgs_drawer_list_paddingLeft" android:layout_width=[COLOR="Red"]"fill_parent"[/COLOR] android:layout_height=[COLOR="Red"]"@dimen/somc_incallscreen_reject_msgs_drawer_list_height"[/COLOR] android:maxLines="2" android:scrollHorizontally="true" android:drawablePadding="@dimen/somc_incallscreen_reject_msgs_drawer_list_drawablePadding" android:fontFamily="sans-serif-light"
And Change It To This
Code:
<TextView android:textSize="@dimen/reject_with_message_list_item_text_size" android:ellipsize="end" android:gravity="center_vertical" android:layout_gravity="center_vertical" android:id="@id/text" android:paddingLeft="@dimen/somc_incallscreen_reject_msgs_drawer_list_paddingLeft" android:layout_width=[COLOR="Red"]"0.0dip"[/COLOR] android:layout_height=[COLOR="Red"]"0.0dip"[/COLOR] android:maxLines="2" android:scrollHorizontally="true" android:drawablePadding="@dimen/somc_incallscreen_reject_msgs_drawer_list_drawablePadding" android:fontFamily="sans-serif-light"
Save And Re Compile Apk Then Use It.
(2) FRAMEWORK-RES.apk and JAR Files
Click to expand...
Click to collapse
(a) Enable OLD TV CRT Screen On Off Effect ( For Android 4.3 + )
De Compile framework-res.apk
Go To res/values/bools.xml
Find This Line
Code:
<bool name="config_animateScreenLights">[COLOR="Red"]true[/COLOR]</ bool>
And Change It To This
Code:
<bool name="config_animateScreenLights">[COLOR="Red"]false[/COLOR]</ bool>
Re Compile And Use.
If The Above Method Does Not Work Means
De Compile Services.jar
Go To smali\com\android\Server\power\DisplayPowerController.smali
Look For This Line
Code:
.field private static final ELECTRON_BEAM_OFF_ANIMATION_DURATION_MILLIS:I = [COLOR="Red"]0x64[/COLOR]
And Change 0x64 To 0x190
Then Look For This Line
Code:
const-wide/16 v1, [COLOR="red"]0x64[/COLOR]
And Change 0x64 To 0x190
Done. Save And Recompile Then Use
Note : Value 0x190 Is Just For An Example You Can Use Ur Own. The Biggest Will Be Smooth ( But Slower ). I Recommends Value 0x260. Try It And See The Difference .
(b) Reducing Navigation Bar Height and Width
De Compile framework-res.apk
Go To res/values/dimens.xml
Search For This Line
Code:
<dimen name="navigation_bar_height">[COLOR="red"]48.0dip[/COLOR]</dimen>
<dimen name="navigation_bar_height_landscape">[COLOR="red"]48.0di[/COLOR]p</dimen>
<dimen name="navigation_bar_width">[COLOR="red"]48.0dip[/COLOR]</dimen>
Change It As Per Ur Needds..
Here First Two Lines Indicates Height Of The Navigation Bar. Third Line Indicates The Width. Its Means The Width When U Watching Movies or Playing Games. U Can Use Any Number.
My Suggestion For A Better Look
36
36
28
Done. Re Compile And Use
(3) PHONEBOOK.apk
Click to expand...
Click to collapse
(a) Making Big Photos In Infinite View
FOR XHDPI Screens
De Compile Phonebook.apk
Got To res/layout/contact_detail_static_header_container.xml
Look For This Line
Code:
<QuickContactBadge android:id="@id/photo" android:duplicateParentState="true" android:layout_width="0.0px" android:layout_height="0.0px" android:src="@null" android:scaleType="centerCrop" android:maxWidth="[COLOR="Red"]200.0dip[/COLOR]" android:maxHeight="[COLOR="Red"]200.0dip[/COLOR]" android:soundEffectsEnabled="false" android:contentDescription="@string/spb_accessibility_edit_contact_photo_txt" android:layout_marginEnd="@dimen/detail_header_padding" style="?android:attr/quickContactBadgeStyleWindowLarge" />
Replace With This Line
Code:
<QuickContactBadge android:id="@id/photo" android:duplicateParentState="true" android:layout_width="0.0px" android:layout_height="0.0px" android:src="@null" android:scaleType="centerCrop" android:maxWidth="[COLOR="Red"]270.0dip[/COLOR]" android:maxHeight="[COLOR="Red"]480.0dip[/COLOR]" android:soundEffectsEnabled="false" android:contentDescription="@string/spb_accessibility_edit_contact_photo_txt" android:layout_marginEnd="@dimen/detail_header_padding" style="?android:attr/quickContactBadgeStyleWindowLarge" />
Done. Save And Exit From Editor
Go To Phonebook\smali\com\android\contacts\Detail\ContactPhotoHeaderLayout.smali
Look For This Line
Code:
iput v7, v0, Landroid/view/ViewGroup$LayoutParams;->width:I
Then Add One Line Above That Line. Exactly Like This
Code:
[COLOR="Red"]const v7, 0x1f4[/COLOR]
iput v7, v0, Landroid/view/ViewGroup$LayoutParams;->width:I
Then Look For This Line
Code:
iput v7, v0, Landroid/view/ViewGroup$LayoutParams;->height:I
Then Add One Line Above That Line. Exactly Like This
Code:
[COLOR="Red"]const v7, 0x378[/COLOR]
iput v7, v0, Landroid/view/ViewGroup$LayoutParams;->height:I
Done. Save And Exit From The Editor
Go To Phonebook/res/layout/item_photo_editor.xml
Search For This Line
Code:
<FrameLayout android:background="@drawable/spb_addphoto_box" android:layout_width="[COLOR="Red"]@dimen/raw_contact_edit_photo_picture_siz[/COLOR]e" android:layout_height="[COLOR="red"]@dimen/raw_contact_edit_photo_picture_size"[/COLOR]>
<include layout="@layout/photo_editor_view_default_image" />
<ImageView android:id="@id/photo" android:layout_width="[COLOR="red"]fill_parent[/COLOR]" android:layout_height="[COLOR="red"]fill_parent[/COLOR]" android:scaleType="centerCrop" />
Then Change It To This
Code:
<FrameLayout android:background="@drawable/spb_addphoto_box" android:layout_width="[COLOR="red"]110.0dip[/COLOR]" android:layout_height=[COLOR="red"]"183.0dip"[/COLOR]>
<include layout="@layout/photo_editor_view_default_image" />
<ImageView android:id="@id/photo" android:layout_width="[COLOR="red"]96.0dip[/COLOR]" android:layout_height="[COLOR="red"]170.0dip[/COLOR]" android:scaleType="centerCrop" />
Done. Save And Recompile The Use.
FOR XXHDPI Screens
De Compile Phonebook.apk
Got To res/layout/contact_detail_static_header_container.xml
Look For This Line
Code:
<QuickContactBadge android:id="@id/photo" android:duplicateParentState="true" android:layout_width="0.0px" android:layout_height="0.0px" android:src="@null" android:scaleType="centerCrop" android:maxWidth="[COLOR="Red"]200.0dip[/COLOR]" android:maxHeight="[COLOR="Red"]200.0dip[/COLOR]" android:soundEffectsEnabled="false" android:contentDescription="@string/spb_accessibility_edit_contact_photo_txt" android:layout_marginEnd="@dimen/detail_header_padding" style="?android:attr/quickContactBadgeStyleWindowLarge" />
Replace With This Line
Code:
<QuickContactBadge android:id="@id/photo" android:duplicateParentState="true" android:layout_width="0.0px" android:layout_height="0.0px" android:src="@null" android:scaleType="centerCrop" android:maxWidth="[COLOR="Red"]410.0dip[/COLOR]" android:maxHeight="[COLOR="Red"]729.0dip[/COLOR]" android:soundEffectsEnabled="false" android:contentDescription="@string/spb_accessibility_edit_contact_photo_txt" android:layout_marginEnd="@dimen/detail_header_padding" style="?android:attr/quickContactBadgeStyleWindowLarge" />
Done. Save And Exit From Editor
Go To Phonebook\smali\com\android\contacts\Detail\ContactPhotoHeaderLayout.smali
Look For This Line
Code:
iput v7, v0, Landroid/view/ViewGroup$LayoutParams;->width:I
Then Add One Line Above That Line. Exactly Like This
Code:
[COLOR="Red"]const v7, 0x1f4[/COLOR]
iput v7, v0, Landroid/view/ViewGroup$LayoutParams;->width:I
Then Look For This Line
Code:
iput v7, v0, Landroid/view/ViewGroup$LayoutParams;->height:I
Then Add One Line Above That Line. Exactly Like This
Code:
[COLOR="Red"]const v7, 0x378[/COLOR]
iput v7, v0, Landroid/view/ViewGroup$LayoutParams;->height:I
Done. Save And Exit From The Editor
Go To Phonebook/res/layout/item_photo_editor.xml
Search For This Line
Code:
<FrameLayout android:background="@drawable/spb_addphoto_box" android:layout_width="[COLOR="Red"]@dimen/raw_contact_edit_photo_picture_siz[/COLOR]e" android:layout_height="[COLOR="red"]@dimen/raw_contact_edit_photo_picture_size"[/COLOR]>
<include layout="@layout/photo_editor_view_default_image" />
<ImageView android:id="@id/photo" android:layout_width="[COLOR="red"]fill_parent[/COLOR]" android:layout_height="[COLOR="red"]fill_parent[/COLOR]" android:scaleType="centerCrop" />
Then Change It To This
Code:
<FrameLayout android:background="@drawable/spb_addphoto_box" android:layout_width="[COLOR="red"]113.0dip[/COLOR]" android:layout_height=[COLOR="red"]"186.0dip"[/COLOR]>
<include layout="@layout/photo_editor_view_default_image" />
<ImageView android:id="@id/photo" android:layout_width="[COLOR="red"]96.0dip[/COLOR]" android:layout_height="[COLOR="red"]171.0dip[/COLOR]" android:scaleType="centerCrop" />
Done. Save And Recompile The Use.
Here Is A Sample Screenshots. U Can See The Difference In Before and After Pictures. Click Me !
(4) SYSTEMUI.apk
Click to expand...
Click to collapse
(a) Add Flash Light In Status Bar ( For 4.1 and 4.3 Only )
De Compile SystemUI.apk
Go To res/values/ids.xml
Add This Line
Code:
<item type="id" name="ButtonFlashLight">false</item>
Save and Exit
Open "AndroidManifest".xml and Add This Line
Code:
<uses-permission android:name="android.permission.CAMERA"/>
Save and Exit
Go To res/layout and Open "status_bar_expanded_header".xml
Add This Line
Code:
<com.android.systemui.buttons.ButtonFlashLight android:id="@id/ButtonFlashLight" android:background="@drawable/button_flash_light" android:layout_width="41.0dip" android:layout_height="52.0dip" android:textOn="" android:textOff="" android:paddingEnd="6.0dip" />
For Example It Should Be Like This : -
Code:
<Button android:id="@id/clear_all_button" android:layout_width="90.0dip" android:layout_height="wrap_content" android:text="@string/status_bar_clear_all_button" android:contentDescription="@string/accessibility_clear_all" android:paddingStart="0.0dip" android:paddingEnd="2.0dip" android:layout_alignParentEnd="true" style="@style/ClearAllButtonStyle" />
[COLOR="Red"]<com.android.systemui.buttons.ButtonFlashLight android:id="@id/ButtonFlashLight" android:background="@drawable/button_flash_light" android:layout_width="41.0dip" android:layout_height="52.0dip" android:textOn="" android:textOff="" android:paddingEnd="6.0dip" />
[/COLOR]
Save and Exit
Then Download This File And Paste In res/drawable Folder
Then Download This Pngs And Paste In res/drawable-xhdpi Folder ( Or HDPI )
Done. Re Compile and Use It..
Here Is One Sample Screenshot For Ur Reference . Click Me !
Bro how to remove camera shortcut from xperia sp lockscreen.
Great!!!
Thank you my friend!!
kewlashu said:
Bro how to remove camera shortcut from xperia sp lockscreen.
Click to expand...
Click to collapse
That Tutorial Also Ready. Will post soon..
Rajeev said:
That Tutorial Also Ready. Will post soon..
Click to expand...
Click to collapse
Nicely explained
dipesh1502 said:
Nicely explained
Click to expand...
Click to collapse
Thanks For That...
serajr said:
Thank you my friend!!
Click to expand...
Click to collapse
:victory::victory: :angel::angel: :good::good: :highfive::highfive:
Rajeev the teacher.
---------- Post added at 07:36 PM ---------- Previous post was at 07:33 PM ----------
2 questions:
1. How to change apps into black ( messaging/ phonebook / phone )
2. How to remove the icons for background defocus, motion shot and AR effects as these apps can be accessed from camera menu. For example, Info-eye and timeshift burst have no icons and accessible from camera itself.
sourabhp said:
Rajeev the teacher.
---------- Post added at 07:36 PM ---------- Previous post was at 07:33 PM ----------
2 questions:
1. How to change apps into black ( messaging/ phonebook / phone )
2. How to remove the icons for background defocus, motion shot and AR effects as these apps can be accessed from camera menu. For example, Info-eye and timeshift burst have no icons and accessible from camera itself.
Click to expand...
Click to collapse
1.theres a tutorial available already by funky0308
2.i am sure rajeev will update the
Thread with it
Great tut brov.... been waiting for yur tut brov!!!
ima using yur SemcPhone.apk but tha big green call button doesnt change according to theme accent. Please make a tut to make it change to theme accent & also a tut for enabling HD Fullscreen image caller... thanks!
whalesplaho said:
Great tut brov.... been waiting for yur tut brov!!!
ima using yur SemcPhone.apk but tha big green call button doesnt change according to theme accent. Please make a tut to make it change to theme accent & also a tut for enabling HD Fullscreen image caller... thanks!
Click to expand...
Click to collapse
Thanks Bro...!!
1) Thats very difficult brother..
2) Full Screen Caller Mod Tutorial Will B Add Soon. In a separate thread. Don't know when. Because its different for every SemcPhone..
Rajeev said:
Thanks Bro...!!
1) Thats very difficult brother..
2) Full Screen Caller Mod Tutorial Will B Add Soon. In a separate thread. Don't know when. Because its different for every SemcPhone..
Click to expand...
Click to collapse
Thanks for yur respone brov..... i dnt wanna use stock back, love tha amazing fullscreen hd caller mod!
will be waiting yur tut...:highfive::victory:
nice job bro......keep it up :good:
Does this guide works on CM11?
pemith said:
nice job bro......keep it up :good:
Click to expand...
Click to collapse
Thanks Buddies
whalesplaho said:
Thanks for yur respone brov..... i dnt wanna use stock back, love tha amazing fullscreen hd caller mod!
will be waiting yur tut...:highfive::victory:
Click to expand...
Click to collapse
MT27i said:
Does this guide works on CM11?
Click to expand...
Click to collapse
Didn't Tetsed In CM 11..
sorry guys, what is call ended screen? sorry for noob question.
Inviato dal mio C6603 utilizzando Tapatalk
mando85 said:
sorry guys, what is call ended screen? sorry for noob question.
Inviato dal mio C6603 utilizzando Tapatalk
Click to expand...
Click to collapse
Hi
This called End Call Screen
{
"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"
}
Nice one bro ^^
Keep it up so everyone can mod thierself ^^
Send from my XZ with 4.4.2 to your eyes !
Will this work on Xperia E?
I'm asking this question because it doesn't have semcphone.apk.
Just phone.apk.

[DISCUSSION THREAD] CM12 for v500

Project deprecated, CM12 for v500 became official.
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
* Submitting bug reports on nightly builds is the leading
* cause of male impotence.
*/
Known Issues:
Permissive SELinux only
Rear camera is not working on some devices
How to install:
Download the ROM
Download GApps
Put the zip files on your SDCard
Reboot in Recovery
Wipe Data / Factory Reset
Select "Install zip from SDCard"
Choose CM12 zip file
Choose GApps zip file
Reboot system
Download ROM​
Download GApps​
Kernel source: https://github.com/victormlourenco/red_kernel_lge_v500/tree/cm-12.0
Device source:https://github.com/victormlourenco/android_device_lge_v500
XDA:DevDB Information
CM12 for v500, ROM for the LG G Pad 8.3
Contributors
Rick Roll
Source Code: http://ttps://github.com/victormlourenco/
ROM OS Version: 5.0.x Lollipop
Version Information
Status: Testing
Created 2014-12-04
Last Updated 2014-12-03
Rick Roll said:
Know Issues:
Permissive SELinux only
Click to expand...
Click to collapse
What does this mean? Is it a Problem?
And why do you post this in the 'General' section?
edisso10018 said:
What does this mean? Is it a Problem?
And why do you post this in the 'General' section?
Click to expand...
Click to collapse
The goal is to have a fully working sepolicy for our device like v510 and Nexus devices. This thread is only for general discussion about CM12 builds, I will make a dev thread later.
You rock, Rick Roll.
This thread seems more like a development thread, than a discussion. The rear camera issue must be just for those with a different camera module and it shouldn't work in CM 11 either.
I'm excited to see the first CM 12 thread for the v500. Awesome. I will help you any way I can to get this official like CM 11 is.
Thanks!
Is GPS working?
Yes, GPS works.
Very good for a not-even-nightly.
Thanks to Rick Roll and CM.
@Rick Roll, are you testing this with 4.4 base?
No, needs the 4.2.2 base.
Because the stock CM kernel requires 4.2 base or else there are brightness issues. Same as stock CM 11. Thanks, that implies that the kernel is stock CM.
Uploaded 20141204 build that fixes secure video (Netflix, Hulu, Google Play Movies, etc...).
CM11
edisso10018 said:
No, needs the 4.2.2 base.
Click to expand...
Click to collapse
Hey im coming from CM11 M12, can i install this? no problem?
Sure, just do a factory reset first.
slow wifi
Firat of all thanks for this amazing job , the ROM its perfect . but i havê the same problemas in the custom ROMs i havê slow WiFi download speed , i havê 100mbs but download its kbts. If anyone could help i wanna thanks please. Onde more time thanks rick roll
Hey there, would you mind sharing your local_manifest.xml for this? Im curious to see what you are using for vendor and common and cm dependencies. I was wanting to build a LP ROM as well for v500
Thanks!
timmytim said:
Hey there, would you mind sharing your local_manifest.xml for this? Im curious to see what you are using for vendor and common and cm dependencies. I was wanting to build a LP ROM as well for v500
Thanks!
Click to expand...
Click to collapse
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="victormlourenco/android_device_lge_v500" path="device/lge/v500" remote="github" />
<project name="victormlourenco/red_kernel_lge_v500" path="kernel/lge/v500" remote="github" />
<project name="victormlourenco/proprietary_vendor_lge" path="vendor/lge/" remote="github" />
</manifest>
Have fun
timmytim said:
Hey there, would you mind sharing your local_manifest.xml for this? Im curious to see what you are using for vendor and common and cm dependencies. I was wanting to build a LP ROM as well for v500
Thanks!
Click to expand...
Click to collapse
Timmytim, never seen you in here or don't remember, but heck yeah! I've been running your candy rom on my d850 for a couple of days now. Would love to have some candy5 on my v500!
Rick Roll said:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="victormlourenco/android_device_lge_v500" path="device/lge/v500" remote="github" />
<project name="victormlourenco/red_kernel_lge_v500" path="kernel/lge/v500" remote="github" />
<project name="victormlourenco/vendor_v500" path="vendor/lge/" remote="github" />
</manifest>
Have fun
Click to expand...
Click to collapse
Thank you!
---------- Post added at 02:10 PM ---------- Previous post was at 02:09 PM ----------
xallinvaynex said:
Timmytim, never seen you in here or don't remember, but heck yeah! I've been running your candy rom on my d850 for a couple of days now. Would love to have some candy5 on my v500!
Click to expand...
Click to collapse
I've been lurking in the shadows, lol. I am gonna try a build and see what happens :good:
timmytim said:
Thank you!
---------- Post added at 02:10 PM ---------- Previous post was at 02:09 PM ----------
I've been lurking in the shadows, lol. I am gonna try a build and see what happens :good:
Click to expand...
Click to collapse
Sweet! If you need a tester, let me know!
Rick Roll said:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="victormlourenco/android_device_lge_v500" path="device/lge/v500" remote="github" />
<project name="victormlourenco/red_kernel_lge_v500" path="kernel/lge/v500" remote="github" />
<project name="victormlourenco/vendor_v500" path="vendor/lge/" remote="github" />
</manifest>
Have fun
Click to expand...
Click to collapse
Have you ever received this while syncning your repos?
{
"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"
}
timmytim said:
Have you ever received this while syncning your repos?
Click to expand...
Click to collapse
Are you building for another lge device? My vendor repo may be conflicting with yours since they are in the same folder.

[ROM][platina][UNOFFICIAL][R / 11] LineageOS 18.1 for Mi 8 Lite [microG]

{
"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"
}
About
This thread is for continuous builds of LineageOS 18.1 on a monthly base, after the security patches got merged.
Disclaimer
I am not an Android experienced developer, so I CAN NOT fix non-working stuff. I'm just doing an upstream sync, brew a build and upload it for those, not ready to switch to LOS-20.
I AM NOT RESPONSIBLE FOR ANYTHING HAPPENING IF YOU USE/DO ANYTHING FROM/MENTIONED IN THIS THREAD BY EITHER ME OR OTHERS
Included in this ROM
LOS-18.1 upstream sync
MicroG Signature Spoof patches
Android 13 updated emoji font
When will updates be compiled?
I can't/won't give any guarantees. Normally I check the state of the monthly security patches from time to time and run a build once I remembered to check and they got merged. If the security fixes got already merged can be checked by everyone by a quick look into the LineageOS Gerrit with the fitting filter. For my head such a system isn't available, sorry^^
Requirements
unlocked Bootloader
Recommended Firmware: V12.0.3.0.QDTMIXM
Recovery capable to flash ROM. Examples:
LOS-20.0-platina-recovery
OrangeFox R11.1 (Can decrypt /data) (TBD)
Downloads
LOS18.1 unofficial builds
Flashing Instructions
official LOS instructions, follow the ones for unlocking and flashing a recovery.
Please don't ask for support on unlocking/flashing recovery on this thread!
Sources (Links include the specific branch used!)
Kernel
Mi 8 Lite Device Tree
Xiaomi SDM660 Common Device Tree
Xiaomi Proprietary Vendor
Xiaomi Hardware
Spoiler: ready to use roomservice.xml
For the listed sources this is a ready to use configuration to be placed under ".repo/local_manifests/" of an own build environment
XML:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="los" fetch="https://github.com/LineageOS/" revision="lineage-18.1" />
<remote name="muppets" fetch="https://gitlab.com/the-muppets/" revision="lineage-18.1" />
<!-- platina -->
<project name="android_device_xiaomi_sdm660-common" path="device/xiaomi/sdm660-common" remote="los" />
<project name="android_device_xiaomi_platina" path="device/xiaomi/platina" remote="los" />
<project name="android_kernel_xiaomi_sdm660" path="kernel/xiaomi/sdm660" remote="los" />
<project name="android_hardware_xiaomi" path="hardware/xiaomi" remote="los" />
<project name="proprietary_vendor_xiaomi" path="vendor/xiaomi" remote="muppets" />
</manifest>
Thank you!
BTW, install this will not delete my data, isn't it? Will sideload from official LOS 18.1 recovery.
roldev said:
BTW, install this will not delete my data, isn't it? Will sideload from official LOS 18.1 recovery.
Click to expand...
Click to collapse
Should be fine with an existing LOS18.1 installation.
Only thing possible: If currently an official LOS18.1 build is installed it will refuse to flash because of the mismatching signing keys between official <-> unofficial builds.
If that's the case you first have to do some adjustments to be able to flash unofficial builds over the existing installation.
Signing Builds | LineageOS Wiki
wiki.lineageos.org
9Lukas5 said:
Should be fine with an existing LOS18.1 installation.
Only thing possible: If currently an official LOS18.1 build is installed it will refuse to flash because of the mismatching signing keys between official <-> unofficial builds.
If that's the case you first have to do some adjustments to be able to flash unofficial builds over the existing installation.
Signing Builds | LineageOS Wiki
wiki.lineageos.org
Click to expand...
Click to collapse
Thank you. Installs well with warning about the keys. Because of lack of time didn't sign the build. Will do it on the next update. Best!
Hey, March Security update is only.
Upstream LineageOS Changelog
L
Hey, April Security update is only.
Upstream LineageOS Changelog
L
nice
is this the procedure, how you do the LOS 18.1 Build by yourself?
Build for platina | LineageOS Wiki
wiki.lineageos.org
mapausch said:
is this the procedure, how you do the LOS 18.1 Build by yourself?
Build for platina | LineageOS Wiki
wiki.lineageos.org
Click to expand...
Click to collapse
Yup, pretty much. Before the repo sync you'll have to include the needed device specific repo's into your build environment in order for them to be downloaded from a sync as well. Otherwise the build environment wouldn't know the device^^
Mine looks like this atm:
path in the build-environment: .repo/local_manifests/<some-name>.xml
XML:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="los" fetch="https://github.com/LineageOS/" revision="lineage-18.1" />
<remote name="muppets" fetch="https://gitlab.com/the-muppets/" revision="lineage-18.1" />
<project name="android_device_xiaomi_sdm660-common" path="device/xiaomi/sdm660-common" remote="los" />
<project name="android_device_xiaomi_platina" path="device/xiaomi/platina" remote="los" />
<project name="android_kernel_xiaomi_sdm660" path="kernel/xiaomi/sdm660" remote="los" />
<project name="android_hardware_xiaomi" path="hardware/xiaomi" remote="los" />
<project name="proprietary_vendor_xiaomi" path="vendor/xiaomi" remote="muppets" />
</manifest>
May security update online
Upstream Lineage changelog
cts failed for me (why?)
Also if you know please tell me why autofill doesnt work system wide (it dont in browser too)
Although its enabled ,nothing
gripbox said:
cts failed for me (why?)
Also if you know please tell me why autofill doesnt work system wide (it dont in browser too)
Although its enabled ,nothing
Click to expand...
Click to collapse
Im using opengapps pico btw
gripbox said:
cts failed for me (why?)
Click to expand...
Click to collapse
Don't know, can't really tell from here.
You have installed all the build dependencies, initialized the repo with the LineageOS 18.1 synced?
If you do a clean build and it fails, did you try to call the build command again without cleaning once or twice?
What are your system resources (Ram/Swap) doing throughout the build?
If you want to further help getting your own environment up running write a private message and maybe include a build log of the error.
gripbox said:
Also if you know please tell me why autofill doesnt work system wide (it dont in browser too)
Although its enabled ,nothing
Click to expand...
Click to collapse
Oof, no idea. I tried KeepassDX as autofill provider, which isn't that amazing for me. Don't know how good other providers normally work or why it doesn't work as good as you'd expect it to do, sorry :/
June security update online
Upstream Lineage changelog
what makes this version different from the official one?
PINO :) said:
what makes this version different from the official one?
Click to expand...
Click to collapse
Where do you see an official LOS18.1 atm?
The vanilla LOS doesn't list our device at all anymore, and official MicroG LOS for our device got it's last update mid October last year. Did I miss anything?
L
Just wanted to say THANKS again for keeping this alive. Really appreciated.
Same from me.
I use lineageOS 0612 version , and boot failed in lineageOS boot logo, can I debug it ?

Categories

Resources