Port AOSPA to the MXP - X Style (Pure) General

Hey guys. In 6 years of using Android I have compiled some Roms, but now I'm stuck, cause I haven't compiled a Rom with a non-existent device tree.
I just followed the tutorial http://forum.xda-developers.com/showthread.php?t=1863547 till the point, where it tells you to make the device specific changes, where you'll have to setup device.mk, device.removes etc. Which repos exactly do I have to insert there, to get a functional device tree?
I haven't got any help in the AOSPA-irc other then posting the tutorial, which I just followed.
As a base I would use the Omnirom kernel, vendor files etc, as they are stable and also based on AOSP
This is my local_manifest/vendorfiles.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="DonkeyCoyote/proprietary_vendor_motorola"
path="vendor/motorola" remote="github" revision="android-6.0" />
<project name="omnirom/android_device_motorola_clark"
path="device/motorola/clark" remote="github"
revision="android-6.0" />
<project name="omnirom/android_hardware_qcom_display-caf-msm8992"
path="hardware/qcom/display-caf-msm8992" remote="github"
revision="android-6.0" />
<project name="omnirom/android_hardware_qcom_media-caf-msm8992"
path="hardware/qcom/media-caf-msm8992" remote="github"
revision="android-6.0" />
<project name="omnirom/android_hardware_qcom_audio-caf-msm8992"
path="hardware/qcom/audio-caf-msm8992" remote="github"
revision="android-6.0" />
<project name="omnirom/android_device_qcom_caf-sepolicy"
path="device/qcom/sepolicy" remote="github"
revision="android-6.0" />
<project name="omnirom/android_frameworks_av"
path="frameworks/av-caf"
remote="github" revision="android-6.0-caf" />
<project name="omnirom/android_frameworks_native"
path="frameworks/native-caf" remote="github"
revision="android-6.0-caf" />
<project name="omnirom/android_hardware_ril"
path="hardware/ril-caf"
remote="github" revision="android-6.0-caf" />
<project name="omnirom/vendor_qcom_opensource_dataservices"
path="vendor/qcom/opensource/dataservices" remote="github"
revision="android-6.0" />
<project name="omnirom/android_kernel_motorola_msm8992"
path="kernel/motorola/msm8992" remote="github"
revision="android-6.0" />
<project name="omnirom/android_hardware_sony_thermanager"
path="hardware/sony/thermanager" remote="github"
revision="android-6.0" />
<project name="omnirom/android_hardware_sony_timekeep"
path="hardware/sony/timekeep" remote="github"
revision="android-6.0" />
<project name="omnirom/android_packages_apps_SnapdragonCamera"
path="packages/apps/SnapdragonCamera" remote="github"
revision="android-6.0" />
<project name="omnirom/android_external_libnfnetlink"
path="external/libnfnetlink" remote="github"
revision="android-6.0" />
<project name="omnirom/android_external_libnetfilter_conntrack"
path="external/libnetfilter_conntrack" remote="github"
revision="android-6.0" />
</manifest>

Try using a device tree from an asop ROM with Clark or a cm one

But this doesn`t generate me the files that are mentioned here:
Create /manifest/<device>.adds
* Create /manifest/<device>.removes
* Create /prebuilt/pa_<device>.conf
* Create /products/pa_<device>.mk
* Add device makefile entry to /products/AndroidProducts.mk
* Create /vendorprops/<device>.proprietaries
* Add device lunch menu entry to /vendorsetup.sh
Otherwise lunch, breakfast and brunch wouldn`t find clark.

Here is where I got stuck. I couldn't work on it because in Turkey we have this thing called Fair Quota Usage and after 250gigs DL speed drops all the way from 50 Mbps to 3.
This is my Local_Manifest file:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="purenexus-clark/android_device_motorola_clark" path="device/motorola/clark" remote="github" revision="mm2" />
<project name="AICP/kernel_motorola_msm8992" path="kernel/motorola/msm8992" remote="github" revision="mm6.0" />
<project name="AOSPB/hardware_ril" path="hardware/ril-caf" remote="github" revision="mm6.0-caf" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-13.0" />
<project name="CyanogenMod/android_hardware_qcom_bt" path="hardware/qcom/bt-caf" remote="github" revision="cm-13.0-caf" />
<project name="CyanogenMod/android_hardware_sony_thermanager" path="hardware/sony/thermanager" remote="github" revision="cm-13.0" />
<project name="CyanogenMod/android_hardware_sony_timekeep" path="hardware/sony/timekeep" remote="github" revision="cm-13.0" />
<project name="CyanogenMod/android_system_qcom" path="system/qcom" remote="github" revision="cm-13.0" />
<project name="purenexus-clark/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="mm2" />
</manifest>
Click to expand...
Click to collapse
I tried to use this guide: http://forum.xda-developers.com/showthread.php?t=1863547
I have synced the marshmallow branch, then added the local manifest and synced once again. Things got ugly when I tried adding device support especially in the Device Specific Changes part, because the guide is a bit outdated I guess. I have used extract-files.sh for prebuilts & additional props and there was no issue. There is no manifest folder in vendor/pa/ so I couldn't create /manifest/<device>.adds and also # Create /manifest/<device>.removes and Create /prebuilt/pa_<device>.conf.
In Create vendor/pa/products/pa_<device>.mk part the folder is rearranged (every device has it's own folder so I created a clark folder and written pa_clark.mk and pa.dependencies (I have no idea if dependencies is right because I have no idea about it) here are the codes:
pa_clark.mk:
# Check for target product
ifeq (pa_clark,$(TARGET_PRODUCT))
# Include ParanoidAndroid common configuration
TARGET_BOOT_ANIMATION_RES := 1440
include vendor/pa/main.mk
# Inherit AOSP device configuration
$(call inherit-product, device/motorola/clark/pa_clark.mk)
# Override AOSP build properties
PRODUCT_NAME := pa_clark
PRODUCT_BRAND := Google
PRODUCT_MODEL := X Pure
PRODUCT_MANUFACTURER := Motorola
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_NAME=clark \
BUILD_FINGERPRINT=google/clark/clark:6.0.1/MTC20F/3031278:user/release-keys \
PRIVATE_BUILD_DESC="clark-user 6.0.1 MTC20F 3031278 release-keys"
endif
Click to expand...
Click to collapse
pa.dependencies:
[
{
"remote": "github",
"repository": "purenexus-clark/android_device_motorola_clark",
"target_path": "device/motorola/clark",
"revision": "mm2"
},
{
"remote": "github",
"repository": "AICP/kernel_motorola_msm8992",
"target_path": "kernel/motorola/clark",
"revision": "mm6.0"
},
{
"remote": "github",
"repository": "CyanogenMod/android_hardware_qcom_bt",
"target_path": "hardware/qcom/bt-caf",
"revision": "cm-13.0-caf"
},
{
"remote": "github",
"repository": "AOSPB/hardware_ril",
"target_path": "hardware/ril-caf",
"revision": "mm6.0-caf"
},
{
"remote": "github",
"repository": "CyanogenMod/android_device_qcom_common",
"target_path": "device/qcom/common",
"revision": "cm-13.0"
},
{
"remote": "github",
"repository": "CyanogenMod/android_hardware_sony_thermanager",
"target_path": "hardware/sony/thermanager",
"revision": "cm-13.0"
},
{
"remote": "github",
"repository": "CyanogenMod/android_hardware_sony_timekeep",
"target_path": "hardware/sony/timekeep",
"revision": "cm-13.0"
},
{
"remote": "github",
"repository": "CyanogenMod/android_system_qcom",
"target_path": "system/qcom",
"revision": "cm-13.0"
},
{
"remote": "github",
"repository": "purenexus-clark/proprietary_vendor_motorola",
"target_path": "vendor/motorola",
"revision": "mm2"
}
]
Click to expand...
Click to collapse
I have done the exact same in Add device makefile entry to /products/AndroidProducts.mk part. There is no vendor/pa/vendorprops/ folder so I had to skip Create /vendorprops/<device>.proprietaries part. I have also done Add device lunch menu entry to /vendorsetup.sh part as well.
So for the building part:
I had to delete hardware/ril directory because it was giving me the error that there is already a RIL folder but Im trying to use the RIL that's given by you. now when I write ./rom-build.sh clark it gives me this error:
make: *** No rule to make target 'out/target/product/clark/kernel', needed by 'out/target/product/clark/boot.img'. Stop.
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
If you want, here is the full code.
http://pastebin.com/1FSxyFz7
---------- Post added at 10:16 AM ---------- Previous post was at 09:51 AM ----------
Hashbang173 told me that it doesn't compile the kernel but I couldn't continue because I built a new PC and I couldn't recover VM file because I made it fixed size (200gb) and the only ssd I use 240gb so I will start from scratch in the beginning of the October.

Maybe we could build PA together.
You could manually create this folder:
as user: mkdir /vendor/pa/manifest
I will edit my local_manifests file to match yours, but building with omnirom sources, cause aicp cause some bootloops for some users and they have to go back to stock and that`s the issue, why I haven`t tried out AICP for month.
Thanks for your help

OCmylife said:
Maybe we could build PA together.
You could manually create this folder:
as user: mkdir /vendor/pa/manifest
I will edit my local_manifests file to match yours, but building with omnirom sources, cause aicp cause some bootloops for some users and they have to go back to stock and that`s the issue, why I haven`t tried out AICP for month.
Thanks for your help
Click to expand...
Click to collapse
The only ROM I have worked with is CM so I'm pretty much a newbie in this as well. I will pm you when I start working on it because I want PA as well!

I will start from scratch, fork all the necessary repos into my github-account and create and compare the needed files for compiling with the ones that are used for the 5X. Maybe this will get us to a working AOSPA build. Just pm me, when you are ready : :good:

So let`s clean this up a bit.
I`ve "fixed" the
Code:
make: *** No rule to make target 'out/target/product/clark/kernel', needed by 'out/target/product/clark/boot.img'. Stop.
make: *** Waiting for unfinished jobs....
error by copying my boot.img from omnirom to out/target/product/clark/kernel/
But now I get my next error, which is waiting:
Code:
no rule to make target „out/target/product/clark/obj/STATIC_LIBRARIES/lib_driver_cmd_qcwcn_intermediates/export_includes“, needed by "out/target/product/clark/obj/EXECUTABLES/hostapd_intermediates/import_includes“
I couldn`t get this issue fixed for now.

OCmylife said:
So let`s clean this up a bit.
I`ve "fixed" the
Code:
make: *** No rule to make target 'out/target/product/clark/kernel', needed by 'out/target/product/clark/boot.img'. Stop.
make: *** Waiting for unfinished jobs....
error by copying my boot.img from omnirom to out/target/product/clark/kernel/
But now I get my next error, which is waiting:
Code:
no rule to make target „out/target/product/clark/obj/STATIC_LIBRARIES/lib_driver_cmd_qcwcn_intermediates/export_includes“, needed by "out/target/product/clark/obj/EXECUTABLES/hostapd_intermediates/import_includes“
I couldn`t get this issue fixed for now.
Click to expand...
Click to collapse
have you seen this? http://androidforums.com/threads/rom-cm10-boost-force-wip.763908/page-6

Yep, doesn't work for me. I think, that there are missing repositories. I've added hardware/qcom/wifi but still no fix.

Damn. There is not much of a solution I could find as well. The guides are so outdated.

I was testing and compiling from 8am to 2pm today and I really need a break. I think that we need a more experienced person to help us with this stuff, but maybe you have more luck :fingers-crossed:

I'll try this friday as well. Try to rest, if I learned one thing from this, it's that it never ends

First Boot
{
"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"
}
Hello guys, We have been working over a week now and we just managed to get to the first boot. We will keep working and port remaining stuff!

ereneren564 said:
Hello guys, We have been working over a week now and we just managed to get to the first boot. We will keep working and port remaining stuff!
Click to expand...
Click to collapse
Just here to say that PA was my favorite rom on my OPO, if this continues along I'll def be using it!!! Thanks for the amazing work!:good:

jerpd3rp said:
Just here to say that PA was my favorite rom on my OPO, if this continues along I'll def be using it!!! Thanks for the amazing work!:good:
Click to expand...
Click to collapse
Right now RIL doesn't work. When we manage to fix that we will release the rom I believe.

ereneren564 said:
Right now RIL doesn't work. When we manage to fix that we will release the rom I believe.
Click to expand...
Click to collapse
I hope so!

Update: We have added the gestures of the phone and the most important thing that needs to be fixed is RIL.

1st step in the right direction thanks to @bgos10

delete (double post)

Related

[How to] Mod -Rearrange the contents of Settings.apk and Adding Quickpanel Control

[FONT=&quot]
{
"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"
}
[/FONT]​[FONT=&quot]Hi All,
[/FONT]​ [FONT=&quot]This little mod discovered by me after following the Nun’s guidance (how to remove option from Settings Menu), so credit goes to him. [/FONT]​ [FONT=&quot]
[/FONT] [FONT=&quot]This mod can be useful to users who wants to arrange contents of “Settings” alphabetically or according to their preference.[/FONT]
[FONT=&quot]
[/FONT][FONT=&quot]
[/FONT]​[FONT=&quot]
[/FONT]​ [FONT=&quot]You need :[/FONT]
[FONT=&quot]
[/FONT]​ [FONT=&quot]1 Nuns Apk Tool with knowledge to decompile and recompile. [/FONT]
[FONT=&quot]2 Notepad ++.
3. 7 Zip or equivalent. [/FONT]
[FONT=&quot]3 Java run time installed on PC.[/FONT]
[FONT=&quot]4. A good brain and a silent place.
[/FONT]​ [FONT=&quot]How to Do it:[/FONT]
[FONT=&quot]
[/FONT]​ [FONT=&quot]1. [/FONT][FONT=&quot]Decompile Settings.apk [/FONT]​ [FONT=&quot]2. [/FONT][FONT=&quot]Open file \res\xml\Settings.xml in Notepad++
[/FONT]​ [FONT=&quot]From following example you can have idea which code line relates to the various options under the "Settings".
[/FONT]​ [FONT=&quot]Code lines related to option “About Phone” are
[/FONT]
Code:
<com.android.settings.IconPreferenceScreen android:title="@string/about_settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DeviceInfoSettings" />
</com.android.settings.IconPreferenceScreen>
[FONT=&quot]
And Code line related to option “Display” are[/FONT]
Code:
<com.android.settings.IconPreferenceScreen android:title="@string/display_settings_title" settings:icon="@drawable/ic_settings_display">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DisplaySettings" />
</com.android.settings.IconPreferenceScreen>
So if you arrange the pare of codes in the following manner you will get the items alphabetically.
[FONT=&quot](Some ROMs may have “Quick Panel Settings” “Lock screen Settings” and “Software Update” option under the Settings, so there can be extra lines of codes. I have already removed Software Update option from my ROM.) [/FONT]
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.android.settings.IconPreferenceScreen android:title="@string/about_settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DeviceInfoSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/accessibility_settings" settings:icon="@drawable/ic_settings_accessibility">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.AccessibilitySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/sync_settings" android:key="sync_settings" settings:icon="@drawable/ic_settings_sync">
<intent android:action="android.settings.SYNC_SETTINGS" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/applications_settings" android:key="applications_settings" settings:icon="@drawable/ic_settings_applications">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ApplicationSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/call_settings_title" android:key="call_settings" settings:icon="@drawable/ic_settings_call">
<intent android:targetPackage="com.sec.android.app.callsetting" android:action="android.intent.action.MAIN" android:targetClass="com.sec.android.app.callsetting.CallSetting" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/date_and_time_settings_title" settings:icon="@drawable/ic_settings_date_time">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DateTimeSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/display_settings_title" settings:icon="@drawable/ic_settings_display">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DisplaySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/language_settings" settings:icon="@drawable/ic_settings_language">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.LanguageSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/security_settings_title" android:key="security_settings" settings:icon="@drawable/ic_settings_security">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SecuritySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/privacy_settings" android:key="privacy_settings" settings:icon="@drawable/ic_settings_privacy">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.PrivacySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/storage_settings" settings:icon="@drawable/ic_settings_storage">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Memory" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/sound_settings_title" settings:icon="@drawable/ic_settings_sound">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SoundSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/voice_input_output_settings" settings:icon="@drawable/ic_settings_speech">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.VoiceInputOutputSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/dock_settings_title" android:key="dock_settings" settings:icon="@drawable/ic_settings_dock">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DockSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/radio_controls_title" settings:icon="@drawable/ic_settings_wireless">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WirelessSettings" />
</com.android.settings.IconPreferenceScreen>
</PreferenceScreen>
[FONT=&quot]
[/FONT][FONT=&quot]
Save the file and recompile Settings.apk.[/FONT]
[FONT=&quot]Place the Settings.apk (after backing up original for safety) in system\app through Root explorer and set the permission Rw-r-r. (Reboot the phone if you are not getting “Settings” under “Applications”) .[/FONT]
Attached Settings.apk arranged alphabetical is working for me on Aeon v1.3.​
Adding QuickPanel in Settings Menu
Adding QuickPanel in Settings Menu
​
This Mod will guide you to add Quickpanel Settings (Lidroid 14 toggle control) under Settings Menu.
Tools required as per Post 1
Decompile Settings.apk
Step 1 :
Open the file /res/values /ids.xml in Notepad++ and add following code (Line No. 298)
Code:
<item type="id" name="qp_settings">false</item>
Step 2:
Open /res/values /strings.xml and add following code (Line No. 1677)
Code:
<string name="qp_options">QuickPanel Settings</string>
Step No. 3 (Most tricky part)
you need to add three lines of codes in this file
Open /res/values /public.xml,
Add following code at line 141, id should be unique
Code:
<public type="drawable" name="qp_settings" id="0x7f020088" />
Add the following code in line no. 1993 (ids last 3 digits should be in sequence of above lines )
Code:
<public type="string" name="qp_options" id="0x7f080676" />
Add the following code in the last (ids last 3 digits should be in sequence of above lines )
Code:
<public type="id" name="qp_settings" id="0x7f0b0127" />
Step No. 4
Open /res/xml/settings.xml
Add these 3 codes of lines in the file (if you add in the last, you will get option in the last of Settings.apk)
Code:
<com.android.settings.IconPreferenceScreen android:title="@string/qp_options" settings:icon="@drawable/qp_settings">
<intent android:targetPackage="com.lidroid.quickpanel" android:action="android.intent.action.MAIN" android:targetClass="com.lidroid.quickpanel.MainActivity" />
</com.android.settings.IconPreferenceScreen>
Step No. 5
Place “qp_settings.png” size 62x62 (Attached) in the \res\drawable-hdpi
Step No. 6
Recompile the file and place it in your phone under System\app (backup the original) & set the permission RW-R-R through root explorer. Sometime you have to reboot.
Attached Settings.apk has got Quickpanel setting option added + alphabetical mode (fully working on Aeon ROM- Try it at your own)
Thanks
Not sure if it is just me, but your code lines are not showing up on my pc.
Good job otherwise.
ppalbicke said:
Not sure if it is just me, but your code lines are not showing up on my pc.
Good job otherwise.
Click to expand...
Click to collapse
Its' just you... only special people can see the codes - I see the codes..
j/k
Yeah, the codes are not showing..
SGarnett said:
Its' just you... only special people can see the codes - I see the codes.. j/k Yeah, the codes are not showing..
Click to expand...
Click to collapse
ppalbicke said:
Not sure if it is just me, but your code lines are not showing up on my pc. Good job otherwise.
Click to expand...
Click to collapse
Eat the Red Pill to see the code of Matrix
(OP has been fixed)​
​
New Mod to add QuickPanel Settings (Lidroid Toogle control) in Setting.apk added at Post No. -2.
when i recompile i get this error ""Exception in thread "main" C:\Users\user\Desktop\NunsThemingGoodies\PlaceAPKSHer
e\Settings\res\values\public.xml:141: error: Multiple entry names declared for p
ublic entry identifier 0x89 in type drawable (lock_anim_2 vs qp_settings).
C:\Users\user\Desktop\NunsThemingGoodies\PlaceAPKSHere\Settings\res\values\publi
c.xml:150: Originally defined here.
C:\Users\user\Desktop\NunsThemingGoodies\PlaceAPKSHere\Settings\res\values\publi
c.xml:141: error: Public symbol drawable/qp_settings declared here is not define
d.
C:\Users\user\Desktop\NunsThemingGoodies\PlaceAPKSHere\Settings\res\values\publi
c.xml:1993: error: Public entry identifier 0x7f080676 entry index is larger than
available symbols (index 1654, total symbols 1499).
C:\Users\user\Desktop\NunsThemingGoodies\PlaceAPKSHere\Settings\res\values\publi
c.xml:1993: error: Public symbol string/qp_options declared here is not defined.
C:\Users\user\Desktop\NunsThemingGoodies\PlaceAPKSHere\Settings\res\values\publi
c.xml:2207: error: Public entry identifier 0x7f0b0127 entry index is larger than
available symbols (index 295, total symbols 282).
C:\Users\user\Desktop\NunsThemingGoodies\PlaceAPKSHere\Settings\res\values\publi
c.xml:2207: error: Public symbol id/qp_settings declared here is not defined.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\user\AppData\Local\Temp\APKTOOL8683615027691132613.tm
p, -I, C:\Users\user\apktool\framework\1.apk, -I, C:\Users\user\apktool\framewor
k\2.apk, -S, C:\Users\user\Desktop\NunsThemingGoodies\PlaceAPKSHere\Settings\res
, -M, C:\Users\user\Desktop\NunsThemingGoodies\PlaceAPKSHere\Settings\AndroidMan
ifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a: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:\U
sers\user\AppData\Local\Temp\APKTOOL8683615027691132613.tmp, -I, C:\Users\user\a
pktool\framework\1.apk, -I, C:\Users\user\apktool\framework\2.apk, -S, C:\Users\
user\Desktop\NunsThemingGoodies\PlaceAPKSHere\Settings\res, -M, C:\Users\user\De
sktop\NunsThemingGoodies\PlaceAPKSHere\Settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more""
Please help i have a galaxy ace S5830i
that looks like an aapt error. you will want the latest aapt.exe to fix that error
Sent from my Amazon Kindle Fire using xda premium
How to fix this error:
Settings\res\values\public.xml:1993: error: Public entry identifier 0x7f080676 entry index is larger than
available symbols (index 1654, total symbols 1499).
identifier should be unique, right but how to choose unique value inside in that index
Start by deleting the public.XML then recompile. It will make a new public.XML when compile.
Sent from my SGH-I997 using xda premium
ppalbicke said:
Start by deleting the public.XML then recompile. It will make a new public.XML when compile.
Sent from my SGH-I997 using xda premium
Click to expand...
Click to collapse
Thx I'll try, right now don't have much time
How can i remove tethering wifi option in settings.apk whitch files i must editing?
I got error in public.xml plz fix
---------- Post added at 08:56 AM ---------- Previous post was at 08:51 AM ----------
ppalbicke said:
Start by deleting the public.XML then recompile. It will make a new public.XML when compile.
Sent from my SGH-I997 using xda premium
Click to expand...
Click to collapse
recompiled thanks
Please click one of the Quick Reply icons in the posts above to activate Quick Reply.
i am testing and command later
.. What?
Sent from my Note 2 using Tapatalk 4
Wow!! Thanks!
Sent from my LG-LS970 using xda app-developers app

[Tutorial]Lockscreen and Recent app shortcut, Notification text color on drop panel

How to add Lockscreen and Recent app shortcut on notification panel​
Assuming know how to use Apk-Multi-Tools (I am using majdini repacked one) , decompile SystemUI and go to layout folder, seek for tw_status_bar_expanded_header.xml.
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
substitute it to
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
[COLOR="Red"]<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:paddingLeft="2.0dip" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_toLeftOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:paddingLeft="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lock" android:layout_toLeftOf="@id/settings_button" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />[/COLOR]
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
Red lines are for this mod. First line is for Recent Apps icon and the second one for LockScreen icon.
Also after modifying mentioned XML you need to add corresponding .png photo to drawable-xhdpi which is called ic_sysbar_lock.png for lockscreen (sensitive must be added) and ic_sysbar_recent.png for recent Apps which is already there in drawable-xhdpi and I just resized it.
Compile and done.
Good Luck
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Now you can download it here:
This mod is made for ALL Sammy 4.1.2 JB base roms. If want to try please make a backup first.
New pack would only add this mod to your SystemUI and you can freely flash it while keeping all of you previous mods on SystemUI.
- Added Universal Pack for ALL Firmwares, one pack for both System and preload - Working on LSZ,LT4, LT5,... 11.5.2013
- Added Lock Screen and Recent Apps on notification panel ​
{
"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"
}
Download HERE
​
How to change Notification Background and Text Color on drop down panel: ​
Thanks majdini for his turorial but as my this theme is kinda associated together I have no choice to repeat first part for Notification background.
Notification Background color
A- First of all you need to make notification background independent (I call it) from systemui.apk so that the color can be changed by hex code in framework.
1- Go to SystemUI/smali/com/android/systemui/statusbar/phone/ folder and open PhoneStatusBar.smali and search for "-0x100". There will be two lines; change them from
Code:
const/high16 v15, -0x100
to
Code:
const/high16 v15,[COLOR="Red"] 0x0[/COLOR]
there are two lines for -0x100, change theme both
2- Now go to framework-res/res/values/ folder and open drawables.xml and look for this line:
Code:
<item type="drawable" name="notification_item_background_color">#ff000000</item>
I changed it to
Code:
<item type="drawable" name="notification_item_background_color">[COLOR="Red"]#ffececec[/COLOR]</item>
This was for the background part.
Notification Text color
B- So now we need to change the notification's text color that should be done in framework:
Just search for StatusBar in Style.xml and change it as you like. Following are my changes:
Code:
<style name="TextAppearance.StatusBar.Title" parent="@style/TextAppearance.StatusBar">
<item name="textStyle">bold</item>
</style>
<style name="TextAppearance.StatusBar.Icon" parent="@style/TextAppearance.StatusBar" />
<style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">15.0dip</item>
<item name="textColor">[COLOR="Red"]#ff2e2e2e[/COLOR]</item>
</style>
<style name="TextAppearance.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent.Title">
<item name="textSize">20.0dip</item>
<item name="textStyle">normal</item>
<item name="textColor">#[COLOR="red"]#ff000000[/COLOR]</item>
</style>
<style name="Theme.WithActionBar" parent="@style/Theme">
<item name="windowActionBar">true</item>
The first #ff2e2e2e is for subtext's color (second row of notification)
Code:
<style name="TextAppearance.StatusBar.Ticker" parent="@style/TextAppearance.StatusBar" />
<style name="TextAppearance.StatusBar.EventContent.Line2" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">@dimen/notification_subtext_size</item>
</style>
<style name="TextAppearance.StatusBar.EventContent.Info" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">@dimen/notification_subtext_size</item>
<item name="textColor">[COLOR="red"]#ff2e2e2e[/COLOR]</item>
</style>
<style name="TextAppearance.StatusBar.EventContent.Time" parent="@style/TextAppearance.StatusBar.EventContent.Time">
<item name="textSize">15.0dip</item>
<item name="textStyle">normal</item>
<item name="textColor">[COLOR="Red"]#ff000000[/COLOR]</item>
</style>
<style name="TextAppearance.StatusBar.EventContent.Emphasis" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textColor">#[COLOR="red"]#ff2e2e2e[/COLOR]</item>
</style>
<style name="TextAppearance.Small.CalendarViewWeekDayView" parent="@style/TextAppearance.Small">
<item name="textStyle">bold</item>
Code:
<style name="TextAppearance.DeviceDefault.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent.Title">
<item name="textSize">20.0dip</item>
<item name="textStyle">normal</item>
<item name="textColor">#[COLOR="red"]#ff000000[/COLOR]</item>
So for these changes would result in this theme (only notification part)
Is it only for deodex ROM?
It'd be great to make it for Odex ROM too
cheyenne said:
Is it only for deodex ROM?
It'd be great to make it for Odex ROM too
Click to expand...
Click to collapse
You can make a backup and then rename/delete .odex file and then flash. This is an experimental way which I have been told in Arman theme and seems working.
Re: [Mod]JB LSZ_Lock screen and Recent Apps on notification Panel
OT, what font do u use on screenshot?
Sent from my GT-N7000 using Tapatalk 2
Re: [Mod]JB LSZ_Lock screen and Recent Apps on notification Panel
zai89 said:
OT, what font do u use on screenshot?
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
It's called Caviar. So the font was more attention drawer than the mod
Sent from my GT-N7000 using Tapatalk HD
Re: [Mod]JB LSZ_Lock screen and Recent Apps on notification Panel
kmokhtar79 said:
This mod is made base on LSZ base rom, about other frameworks I haven't test this zip may work or not. If want to try please make a backup first.
- Added Lock Screen and Recent Apps on notification panel
Download
Preload, System ​
Click to expand...
Click to collapse
Thanks! One question, what type letter using?
Enviado desde mi GT-N7000 usando Tapatalk 2
Vibo7 said:
Thanks! One question, what type letter using?
Enviado desde mi GT-N7000 usando Tapatalk 2
Click to expand...
Click to collapse
Look at one post above. Caviar
Any chance we can get just the lock screen toggle on an existing status bar? I am running ultimate rom v5.2 with alliance mods for the various customisations. Only thing missing on that is a lock screen toggle like yours. Any way i can add it to that?
thanks
kmokhtar79 said:
Look at one post above. Caviar
Click to expand...
Click to collapse
Thanks friend, sorry, i missed.
Re: [Mod]JB LSZ_Lock screen and Recent Apps on notification Panel
Hello sir if i want to delete the recent what i need to do..pls help.thanks sir
Sent from my GT-N7000 using xda premium
How to for this mod added to OP
- Universal Pack for ALL 4.1.2 Sammy base firmwares
Download​http://d-h.st/nrG
just one question, if i flash this mod, is my green circle battery mod still be there?
because there's one same mod here, after flashing, green circle battery is back to stock
sunrider07 said:
just one question, if i flash this mod, is my green circle battery mod still be there?
because there's one same mod here, after flashing, green circle battery is back to stock
Click to expand...
Click to collapse
This mod would add only recent apps and lock screen icon to your notification panel anf you would have all of previous mods. Just make a backup and flash over.
Sent from my GT-N7000 using Tapatalk HD
I've Just flashed it on Ultimate ROM v6 XXLT4. Works like a charm! thank you Kmokhtar79.
Sent from my GT-N7000 using xda app-developers app
kmokhtar79 said:
- Universal Pack for ALL 4.1.2 Sammy base firmwares
Download​http://d-h.st/nrG
Click to expand...
Click to collapse
Can you please tell the font name you have installed on your phone as displayed in the picture?
Ubuntu font?
Sent from my GT-N7000 using Tapatalk 2
abhinav quietly brilliant said:
Can you please tell the font name you have installed on your phone as displayed in the picture?
Ubuntu font?
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
It's called Caviar.
Sent from my GT-N7000 using Tapatalk HD
kmokhtar79 said:
It's called Caviar.
Sent from my GT-N7000 using Tapatalk HD
Click to expand...
Click to collapse
Thanx mate, in case anyone else need it http://d-h.st/WgP
Sent from my GT-N7000 using Tapatalk 2
kmokhtar79 said:
This mod is made for ALL Sammy 4.1.2 JB base roms. If want to try please make a backup first.
New pack would only add this mod to your SystemUI and you can freely flash it while keeping all of you previous mods on SystemUI.
- Added Universal Pack for ALL Firmwares - Working on LSZ,LT4, LT5,... 11.5.2013
- Added Lock Screen and Recent Apps on notification panel ​
Download HERE
​
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Here is a how to for this mod:
Assuming know how to use Apk-Multi-Tools (I am using majdini repacked one) , decompile SystemUI and go to layout folder, seek for tw_status_bar_expanded_header.xml.
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffcbcbcb" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
substitute it to
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
[COLOR="Red"]<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:paddingLeft="2.0dip" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_toLeftOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:paddingLeft="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lock" android:layout_toLeftOf="@id/settings_button" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />[/COLOR]
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
Red lines are for this mod. First line is for Recent Apps icon and the second one for LockScreen icon.
Also after modifying mentioned XML you need to add corresponding .png photo to drawable-xhdpi which is called ic_sysbar_lock.png for lockscreen (sensitive must be added) and ic_sysbar_recent.png for recent Apps which is already there in drawable-xhdpi and I just resized it.
Compile and done.
Good Luck
Click to expand...
Click to collapse
1 thing to note. Press and hold the lockscreen shortcut will bring out the power button menu. Lockscreen shortcut act as a power button.

[GUIDE][MOD][How to Enable Horizontal Calibration In Stock JB]

As in ICS We Have An Option to Calibrate accelerometer In settings.
But..
In JB..??
No..!!
In JB this Feature is missing.
but After some digging in Secsettings.apk i am able to Find This
As i belive in Sharing is Caring Then I am Sharing The Method to Enable This Feature.
Soo.. Here We Goo..
Requirements:-
1. ApkTool And knowledge to use It
2. Stock JB
3. Basics Knowledge of Copy/Paste
1. First Decompile SecSettings.apk
2. When Done, Go to res/xml/ And Look For a File Called motion_sensitivity_settings.xml
3. When You Will Open This File. You Will Find These Lines
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/sensitivity_settings_title" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<Preference android:persistent="false" android:title="@string/air_glance_view" android:key="glance_view" android:summary="@string/air_glance_view_descption" android:fragment="com.android.settings.motion.GlanceViewSettings" />
<PreferenceScreen android:title="@string/g_sensor_title" android:key="g_sensor" android:summary="@string/g_sensor_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.GSensorSettings" />
</PreferenceScreen>
<PreferenceCategory android:persistent="false" android:title="@string/sensitivity_settings_title" android:key="category_sensitivity_setting" />
<com.android.settings.motion.SensitivityPreference android:title="@string/tilt_title" android:key="tilt_sensitivity" android:summary="@string/tilt_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/tilt_to_scroll_list_title" android:key="tilt_to_scroll_list_sensitivity" android:summary="@string/tilt_to_scroll_list_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/pan_title" android:key="pan_sensitivity" android:summary="@string/pan_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/pan_to_browse_image_title" android:key="pan_to_browse_image_sensitivity" android:summary="@string/pan_to_browse_image_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
</PreferenceScreen>
4.Replace All lines as given bleow:-
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/sensitivity_settings_title" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<Preference android:persistent="false" android:title="@string/air_glance_view" android:key="glance_view" android:summary="@string/air_glance_view_descption" android:fragment="com.android.settings.motion.GlanceViewSettings" />
<PreferenceScreen android:title="@string/a_sensor_title" android:key="a_sensor" android:summary="@string/a_sensor_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ASensorSettings" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/g_sensor_title" android:key="g_sensor" android:summary="@string/g_sensor_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.GSensorSettings" />
</PreferenceScreen>
<PreferenceCategory android:persistent="false" android:title="@string/sensitivity_settings_title" android:key="category_sensitivity_setting" />
<com.android.settings.motion.SensitivityPreference android:title="@string/tilt_title" android:key="tilt_sensitivity" android:summary="@string/tilt_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/tilt_to_scroll_list_title" android:key="tilt_to_scroll_list_sensitivity" android:summary="@string/tilt_to_scroll_list_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/pan_title" android:key="pan_sensitivity" android:summary="@string/pan_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/pan_to_browse_image_title" android:key="pan_to_browse_image_sensitivity" android:summary="@string/pan_to_browse_image_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
</PreferenceScreen>
And Then Save it.
6.Now Decompile File And Push to Your Phone.
When You Will Do the All Things you Will Found this Settings in Settings/motion/Sensitivity Settings/<here> As Given in 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"
}
Its DONE. ​
Works Great AmniX!
Y'All Should try it. Finally Real Racing 3 Is accurate!!
Thank you very much....You are the Man
Hm.So gyroscope calibration isn't the same? A lot of things was lost from GB & ICS...
...from SG NOTE N7000 with Tapatalk 2
zviki said:
Hm.So gyroscope calibration isn't the same? A lot of things was lost from GB & ICS...
...from SG NOTE N7000 with Tapatalk 2
Click to expand...
Click to collapse
gyroscope calibration*is still in jelly bean it located at display last section !
so i don't think i need extra gyroscope calibration*:p
but anyway thanks to Amnix for the update..
it used to be there but for JB its in motion>sensitivity settings
Help
Hi, I'm trying to deconpiled de SecSettings.apk but appers lots of erros and not all the files are decompressed, can u post the stock file with only this bug corretion. I would apreciated that.
Sorry the english.
Thanks in advance
Horizontal calibration request on galaxy s2 jelly bean
hi what programe's name you usE to decompile
note 2
AmniX said:
As in ICS We Have An Option to Calibrate accelerometer In settings.
But..
In JB..??
No..!!
In JB this Feature is missing.
but After some digging in Secsettings.apk i am able to Find This
As i belive in Sharing is Caring Then I am Sharing The Method to Enable This Feature.
Soo.. Here We Goo..
Requirements:-
1. ApkTool And knowledge to use It
2. Stock JB
3. Basics Knowledge of Copy/Paste
1. First Decompile SecSettings.apk
2. When Done, Go to res/xml/ And Look For a File Called motion_sensitivity_settings.xml
3. When You Will Open This File. You Will Find These Lines
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/sensitivity_settings_title" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<Preference android:persistent="false" android:title="@string/air_glance_view" android:key="glance_view" android:summary="@string/air_glance_view_descption" android:fragment="com.android.settings.motion.GlanceViewSettings" />
<PreferenceScreen android:title="@string/g_sensor_title" android:key="g_sensor" android:summary="@string/g_sensor_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.GSensorSettings" />
</PreferenceScreen>
<PreferenceCategory android:persistent="false" android:title="@string/sensitivity_settings_title" android:key="category_sensitivity_setting" />
<com.android.settings.motion.SensitivityPreference android:title="@string/tilt_title" android:key="tilt_sensitivity" android:summary="@string/tilt_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/tilt_to_scroll_list_title" android:key="tilt_to_scroll_list_sensitivity" android:summary="@string/tilt_to_scroll_list_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/pan_title" android:key="pan_sensitivity" android:summary="@string/pan_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/pan_to_browse_image_title" android:key="pan_to_browse_image_sensitivity" android:summary="@string/pan_to_browse_image_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
</PreferenceScreen>
4.Replace All lines as given bleow:-
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/sensitivity_settings_title" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<Preference android:persistent="false" android:title="@string/air_glance_view" android:key="glance_view" android:summary="@string/air_glance_view_descption" android:fragment="com.android.settings.motion.GlanceViewSettings" />
<PreferenceScreen android:title="@string/a_sensor_title" android:key="a_sensor" android:summary="@string/a_sensor_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ASensorSettings" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/g_sensor_title" android:key="g_sensor" android:summary="@string/g_sensor_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.GSensorSettings" />
</PreferenceScreen>
<PreferenceCategory android:persistent="false" android:title="@string/sensitivity_settings_title" android:key="category_sensitivity_setting" />
<com.android.settings.motion.SensitivityPreference android:title="@string/tilt_title" android:key="tilt_sensitivity" android:summary="@string/tilt_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/tilt_to_scroll_list_title" android:key="tilt_to_scroll_list_sensitivity" android:summary="@string/tilt_to_scroll_list_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/pan_title" android:key="pan_sensitivity" android:summary="@string/pan_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/pan_to_browse_image_title" android:key="pan_to_browse_image_sensitivity" android:summary="@string/pan_to_browse_image_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
</PreferenceScreen>
And Then Save it.
6.Now Decompile File And Push to Your Phone.
When You Will Do the All Things you Will Found this Settings in Settings/motion/Sensitivity Settings/<here> As Given in Screenshot:-
Its DONE. ​
Click to expand...
Click to collapse
is this method is same for note 2
thanks
AmniX said:
As in ICS We Have An Option to Calibrate accelerometer In settings.
But..
In JB..??
No..!!
In JB this Feature is missing.
but After some digging in Secsettings.apk i am able to Find This
As i belive in Sharing is Caring Then I am Sharing The Method to Enable This Feature.
Soo.. Here We Goo..
Requirements:-
1. ApkTool And knowledge to use It
2. Stock JB
3. Basics Knowledge of Copy/Paste
1. First Decompile SecSettings.apk
2. When Done, Go to res/xml/ And Look For a File Called motion_sensitivity_settings.xml
3. When You Will Open This File. You Will Find These Lines
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/sensitivity_settings_title" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<Preference android:persistent="false" android:title="@string/air_glance_view" android:key="glance_view" android:summary="@string/air_glance_view_descption" android:fragment="com.android.settings.motion.GlanceViewSettings" />
<PreferenceScreen android:title="@string/g_sensor_title" android:key="g_sensor" android:summary="@string/g_sensor_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.GSensorSettings" />
</PreferenceScreen>
<PreferenceCategory android:persistent="false" android:title="@string/sensitivity_settings_title" android:key="category_sensitivity_setting" />
<com.android.settings.motion.SensitivityPreference android:title="@string/tilt_title" android:key="tilt_sensitivity" android:summary="@string/tilt_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/tilt_to_scroll_list_title" android:key="tilt_to_scroll_list_sensitivity" android:summary="@string/tilt_to_scroll_list_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/pan_title" android:key="pan_sensitivity" android:summary="@string/pan_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/pan_to_browse_image_title" android:key="pan_to_browse_image_sensitivity" android:summary="@string/pan_to_browse_image_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
</PreferenceScreen>
4.Replace All lines as given bleow:-
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/sensitivity_settings_title" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<Preference android:persistent="false" android:title="@string/air_glance_view" android:key="glance_view" android:summary="@string/air_glance_view_descption" android:fragment="com.android.settings.motion.GlanceViewSettings" />
<PreferenceScreen android:title="@string/a_sensor_title" android:key="a_sensor" android:summary="@string/a_sensor_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ASensorSettings" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/g_sensor_title" android:key="g_sensor" android:summary="@string/g_sensor_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.GSensorSettings" />
</PreferenceScreen>
<PreferenceCategory android:persistent="false" android:title="@string/sensitivity_settings_title" android:key="category_sensitivity_setting" />
<com.android.settings.motion.SensitivityPreference android:title="@string/tilt_title" android:key="tilt_sensitivity" android:summary="@string/tilt_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/tilt_to_scroll_list_title" android:key="tilt_to_scroll_list_sensitivity" android:summary="@string/tilt_to_scroll_list_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/pan_title" android:key="pan_sensitivity" android:summary="@string/pan_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
<com.android.settings.motion.SensitivityPreference android:title="@string/pan_to_browse_image_title" android:key="pan_to_browse_image_sensitivity" android:summary="@string/pan_to_browse_image_summary" android:widgetLayout="@layout/round_more_icon" android:dialogTitle="@string/sensitivity_title" />
</PreferenceScreen>
And Then Save it.
6.Now Decompile File And Push to Your Phone.
When You Will Do the All Things you Will Found this Settings in Settings/motion/Sensitivity Settings/<here> As Given in Screenshot:-
Its DONE. ​
Click to expand...
Click to collapse
can u upload the moded apk ?? , 'cuz I didn't know how to use apktool !! thanx in advance

[Guide] Adding Extra About Info to Your ROM to Suit Your Ego

This guide will show how to add some extra information in about device menu with header category..
Needed tools:
1) APK decompiler tool (and ability to use it). You can download APK-Multi-Tool from here.
2) Notepad++ for xml editing from here.
3) OREO biscuit to make you high :cyclops:
The method:
- Decompile SecSettings.apk
- Navigate to res\values\ folder and open strings.xml file by Notepad++ and keep it open, we will need it later.
- Navigate to res\xml\ folder and open device_info_settings.xml file by Notepad++.
Now, I will divide the tutorial into 2 sections..
Section One: Adding header category for about device menu.
{
"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"
}
- In device_info_settings.xml, at the top, do these changes (remove the red > and add blue lines):
before:
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings" android:key="about_device"
xmlns:android="http://schemas.android.com/apk/res/android"[B][COLOR="Red"]>[/COLOR][/B]
<PreferenceScreen android:title="@string/help_title" android:key="help" android:summary="@string/help_title_summary">
after:
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings" android:key="about_device"
xmlns:android="http://schemas.android.com/apk/res/android"
[B][COLOR="Blue"]xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/about_gen" android:key="dummy_gen" />[/COLOR][/B]
<PreferenceScreen android:title="@string/help_title" android:key="help" android:summary="@string/help_title_summary">
Explaination: we added header category with dummy key reference.
- Now we need to add strings resources, open strings.xml and add this line string resource before </resources> line:
Code:
<string name="about_gen">[B][COLOR="Green"]General information[/COLOR][/B]</string>
You can change the green color text to whatever you want to display
Click to expand...
Click to collapse
- We have finished from section one.
Section Two: Adding About ROM new information.
- In device_info_settings.xml, go to the end and add these lines before </PreferenceScreen> line:
Code:
<PreferenceCategory android:title="@string/rom_info" android:key="dummy_key">
<Preference android:title="@string/rom_name" android:key="rom_name" android:summary="@string/rom_name_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_ver" android:key="rom_ver" android:summary="@string/rom_ver_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_date" android:key="rom_date" android:summary="@string/rom_date_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_developer" android:key="rom_developer" android:summary="@string/rom_developer_name" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/dev_thanks" android:key="dev_thanks" android:summary="@string/dev_thanks_name" style="?android:preferenceInformationStyle" />
</PreferenceCategory>
N.B: all referred android:key here are dummy ones; i.e, don't do anything and it can be anything since it has no reference. You can't delete android:key; it must be there to prevent code fragmentation.
Click to expand...
Click to collapse
- Now we need to add strings resources, open strings.xml and add these lines string resources before </resources> line:
Code:
<string name="rom_info">[B][COLOR="Green"]About ROM[/COLOR][/B]</string>
<string name="rom_name">[B][COLOR="Green"]ROM name[/COLOR][/B]</string>
<string name="rom_name_details">[B][COLOR="Green"]GloryROM[/COLOR][/B]</string>
<string name="rom_ver">[B][COLOR="Green"]ROM version[/COLOR][/B]</string>
<string name="rom_ver_details">[B][COLOR="Green"]v4.5 with Multi-Languages and Multi-CSC[/COLOR][/B]</string>
<string name="rom_date">[B][COLOR="Green"]Release date[/COLOR][/B]</string>
<string name="rom_date_details">[B][COLOR="Green"]March 2013[/COLOR][/B]</string>
<string name="rom_developer">[B][COLOR="Green"]ROM developer[/COLOR][/B]</string>
<string name="rom_developer_name">[B][COLOR="Green"]majdinj - xda.developers.com[/COLOR][/B]</string>
<string name="dev_thanks">[B][COLOR="Green"]Thanks to[/COLOR][/B]</string>
<string name="dev_thanks_name">[B][COLOR="Green"]ThaiDai for his ML ROM base[/COLOR][/B]</string>
You can change the green color text to whatever you want to display
Click to expand...
Click to collapse
- We have finished from section two.
- Save changes.
Now recompile your SecSettings.apk, push it to your phone, fix permissions (644) and reboot.
So what to do now.. nothing except to eat OREO.. mm
The secret:
Anyone else could do this mod. If you just looked into other xml files, you will figure out how it is done. Here, I used accessibility_settings.xml and display_settings.xml as my references to achieve this..!!
If you think you are lost from all these information, here is my device_info_settings.xml; you can use it as a template for you..
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings" android:key="about_device"
xmlns:android="http://schemas.android.com/apk/res/android" [B][COLOR="Green"]<!---- I removed [COLOR="Red"]>[/COLOR] sign from this line[/COLOR][/B]
[B][COLOR="Blue"]xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/about_gen" android:key="dummy_gen" />[/COLOR][/B]
<PreferenceScreen android:title="@string/help_title" android:key="help" android:summary="@string/help_title_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.HelpActivity" />
</PreferenceScreen>
<Preference android:title="@string/software_version" android:key="software_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/hardware_version" android:key="hardware_version_spr" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<PreferenceScreen android:title="@string/system_update_settings_list_item_title" android:key="system_update_settings">
<intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/software_update_settings_list_item_title" android:key="software_update_settings" android:fragment="com.android.settings.SoftwareUpdateSettings" />
<PreferenceScreen android:title="@string/software_update_settings_list_item_title" android:key="software_update_settings_no_subtree" />
<PreferenceScreen android:title="@string/software_update_settings_list_item_title" android:key="system_update_settings_na_gsm" />
<PreferenceScreen android:title="@string/software_update_settings_list_item_title" android:key="system_update_settings_vzw">
<intent android:action="android.intent.action.OMADM.UPDATE" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/additional_system_update_settings_list_item_title" android:key="additional_system_update_settings">
<intent android:targetPackage="@string/additional_system_update" android:action="android.intent.action.MAIN" android:targetClass="@string/additional_system_update_menu" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/diagnostics_and_usage_title" android:key="diagnostics_and_usage">
<intent android:action="android.intent.action.SAMSUNG_CRASHREPORT_SETTING" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/device_status" android:key="status_info" android:summary="@string/device_status_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Status" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/epush_settings" android:key="ctc_epush">
<intent android:targetPackage="com.ctc.epush" android:action="android.intent.action.MAIN" android:targetClass="com.ctc.epush.IndexActivity" />
</PreferenceScreen>
<Preference android:title="@string/sprint_4g_settings" android:key="sprint_4g_settings" android:fragment="com.android.settings.deviceinfo.Sprint4GSettings" />
<PreferenceScreen android:title="@string/legal_information" android:key="container">
<PreferenceScreen android:title="@string/copyright_title" android:key="copyright">
<intent android:action="android.settings.COPYRIGHT" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/license_title" android:key="license">
<intent android:action="android.settings.LICENSE" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/terms_title" android:key="terms">
<intent android:action="android.settings.TERMS" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/privacy_alert" android:key="privacy_alert">
<intent android:action="android.settings.PRIVACY_ALERT" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/license_settings" android:key="divx_license_settings">
<intent android:action="android.intent.action.DIVX_LICENSE_SETTINGS" />
</PreferenceScreen>
</PreferenceScreen>
<PreferenceScreen android:title="@string/settings_safetylegal_title" android:key="safetylegal">
<intent android:action="android.settings.SAFETY" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/activate_this_device" android:key="telespree_activation">
<intent android:action="com.telespree.android.client.ssa" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/label_settings" android:key="key_label_settings" />
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/installed_variant_version" android:key="installed_variant_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/hardware_version" android:key="hardware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="United Arab Emirates" android:key="country_certification_info" android:summary="TRA ID : 0016333/08\nTA : 000000000/00" style="?android:preferenceInformationStyle" />
[B][COLOR="Blue"]<PreferenceCategory android:title="@string/rom_info" android:key="dummy_key">
<Preference android:title="@string/rom_name" android:key="rom_name" android:summary="@string/rom_name_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_ver" android:key="rom_ver" android:summary="@string/rom_ver_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_date" android:key="rom_date" android:summary="@string/rom_date_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_developer" android:key="rom_developer" android:summary="@string/rom_developer_name" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/dev_thanks" android:key="dev_thanks" android:summary="@string/dev_thanks_name" style="?android:preferenceInformationStyle" />
</PreferenceCategory>[/COLOR][/B]
</PreferenceScreen>
Cheers
Thanks mate.
Really useful
Works perfect.
Thanks.
Thanks a lot dude !!!!
Thanks a ton to satisfy my ego , Now you are the one who I can blame for adding a bit more ego to this attitude !!! :silly: :highfive:
Thank you. majdini great. now my ego is flying! :laugh:
Thanks majdini for your guides, really helpful, just wondered why not offering your apk-multi-tools pack, I am always using it and have never had any problem with. Thanks again for your utilities, tools and mods. :good:
mjrifath said:
Thanks mate.
Really useful
Click to expand...
Click to collapse
kenet said:
Works perfect.
Thanks.
Click to expand...
Click to collapse
Thanks for testing.
Immortal Nerd said:
Thanks a ton to satisfy my ego , Now you are the one who I can blame for adding a bit more ego to this attitude !!! :silly: :highfive:
Click to expand...
Click to collapse
asmanao said:
Thank you. majdini great. now my ego is flying! :laugh:
Click to expand...
Click to collapse
wow, ego just did its magic
kmokhtar79 said:
Thanks majdini for your guides, really helpful, just wondered why not offering your apk-multi-tools pack, I am always using it and have never had any problem with. Thanks again for your utilities, tools and mods. :good:
Click to expand...
Click to collapse
Mine is only repacked of stable java files at that time, but the actual tool was written by the inventor of APK multi-tool manager. I am still using my repack by the way but the new APK multi-tool manager has new features that deserve trying,,, by this way I think it is fair for the developer, so you can thank him for his master piece.

[NANHU][4.4.4][DEV-preview] Unofficial CyanogenMod 11.0 by TamsuiCM11

CyanogenMod 11 (Android 4.4.2) For Xperia E Project Home/Status Page​
{
"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"
}
Working:
Display
Audio
Bluetooth
WiFi
RIL
Video Playback (SW/HW)
Mobile Data (3G)
LED's
Magnetometer (Screen Rotate)
ART
Vibrator
Battery/Charging
Sound Recording
Not Working:
Camera
Video Recording
FM Radio
All Download Links at http://p.pw/bagB9E
Source: On My Github
Local Manifest: Click Here
Thanks To Everyone in the TamsuiCM11 Team Who Made This Possible!
@lozohcum
Since I'm the only developer working on CM11 For Xperia E (Where is @hsr0 ) I'm looking at where we can start at bug fixing. What information do I need to give you to diagnose the problems?.... I guess logcat etc.
This is what I did:
Compiled with using the lights.c from CM Repo
Compiled with all things under Audio commented due to AudioHardware.cpp Errors.
Compiled Using Default Toolchain.
SELinux is Still Disabled Although I have added the correct lines needed.
Where to go from now?
Firstly, @UltraGamerHD, can you please fix the thread title? It's says "4.2.2", where it should say "4.4.2". Awesome, thanks!
Secondly, whenever I try to sync, the local manifest causes problems. lozohcum said to download manually, but I'm not sure how to do that. I'm also doing CM11 - for now.
NSDCars5 said:
Firstly, @UltraGamerHD, can you please fix the thread title? It's says "4.2.2", where it should say "4.4.2". Awesome, thanks!
Secondly, whenever I try to sync, the local manifest causes problems. lozohcum said to download manually, but I'm not sure how to do that. I'm also doing CM11 - for now.
Click to expand...
Click to collapse
Get a Fresh Install of Ubuntu 13.10 and Follow this guide here: http://forum.xda-developers.com/showthread.php?t=2464683
Do Every Command EXCEPT FROM THE LAST 3
Now Type this in Terminal:
Code:
mkdir ~/cm11
Code:
cd ~/cm11
Code:
git config --global user.name YOUR NAME
Code:
git config --global user.email YOUR EMAIL
Code:
repo init -u git://github.com/CyanogenMod/android.git -b stable/cm-11.0
Code:
repo sync
---------------------------------------------------------------
Now lets setup the TamsuiCM11 Repo Manifest
Type this in Terminal:
Code:
. build/envsetup.sh
Then go into cm11 folder using the file manager and press Ctrl + H, you will now find a folder called .repo. Go inside the .repo folder.
Inside the folder create a folder called
Code:
local_manifests
Exit the folder back to the cm11 folder and press Ctrl + H again.
Now go back to Termial and Type:
Code:
gedit ~/cm11/.repo/local_manifests/local_manifest.xml
Copy this into the document:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Dependancies -->
<project path="device/sony/tamsui-common" name="TamsuiCM11/android_device_sony_tamsui-common" revision="cm-11.0" />
<project path="kernel/sony/msm7x27a" name="TamsuiCM11/android_kernel_sony_msm7x27a" revision="master" />
<project path="device/sony/qcom-common" name="CyanogenMod/android_device_sony_qcom-common" revision="cm-11.0"/>
<project path="device/sony/common" name="CyanogenMod/android_device_sony_common" revision="cm-11.0"/>
<project path="kernel/sony/nanhu_ds" name="TamsuiCM11/android_kernel_sony_msm7x27a-nanhu" revision="cm-11.0" />
<!-- Devices -->
<project path="device/sony/tapioca_ss" name="TamsuiCM11/android_device_sony_tapioca_ss" revision="cm-11.0"/>
<project path="device/sony/jlo" name="TamsuiCM11/android_device_sony_jlo" revision="cm-11.0" />
<project path="device/sony/mesona" name="TamsuiCM11/android_device_sony_mesona" revision="cm-11.0" />
<project path="device/sony/nanhu_ds" name="TamsuiCM11/android_device_sony_nanhu_ds" revision="cm-11.0" />
<project path="hardware/atheros/wlan" name="CyanogenMod/android_hardware_atheros_wlan" revision="jellybean" />
<!-- Proprietary files -->
<project path="vendor/sony" name="TamsuiCM11/proprietary_vendor_sony" revision="cm-11.0" />
<!-- Drivers -->
<project path="hardware/qcom/display-legacy" name="TamsuiCM11/android_hardware_qcom_display-legacy" revision="cm-11-jlo" />
<project path="hardware/qcom/audio-legacy" name="TamsuiCM11/android_hardware_qcom_audio-legacy" revision="cm-11.0" />
<project path="hardware/qcom/media-legacy" name="TamsuiCM11/android_hardware_qcom_media-legacy" revision="cm-11.0" />
</manifest>
Save and exit.
Then Type
Code:
repo sync
Your Done @NSDCars5
@NSDCars5 go to github site of repo you want to use, let's say it's jlo in my case: https://github.com/TamsuiCM11/android_device_sony_jlo
Select brunch you want to use, and then click Download ZIP button on the right side.
Then upack that folder, rename to jlo and move to device/sony.
Same with other repos.
Btw after I redownlaod everything I don't have any problems with syncing.
You can work on Builduntu.
joebonrichie is working on CM11 too.
These days I can't give my time to CM11 because I'm doing driving license and have some school stuff unfinished. I also have matura exam in May.
At the moment I'm rebuilding rom due to problems with Audio HAL. @UltraGamerHD you have to find the most similar device to XE and see how other devs worked on it. Learn by observation, reading and trying, there os no single way to just fix errors. Many times reading logcat gives you the most important informations how to solve the problem, just think a lot an try to remember which file refers to what in logcat.
I'm not dev who can code, understand everything and can write app from scratch. But I've learned a lot first by porting roms and then by
reading the code for tens of hours.
@lozohcum, @UltraGamerHD: Thanks a lot! I'll try these soon as I get home. Buildbuntu in particular looks pretty awesome.
For some related development, I say we should look at the HTC Explorer and the LG Optimus L7; both are pretty similar to the E, hardware-wise (well, we also have the Galaxy Ace Plus, but I think lozohcum said we shouldn't look at Samsung for development).
lozohcum said:
@NSDCars5 go to github site of repo you want to use, let's say it's jlo in my case: https://github.com/TamsuiCM11/android_device_sony_jlo
Select brunch you want to use, and then click Download ZIP button on the right side.
Then upack that folder, rename to jlo and move to device/sony.
Same with other repos.
Btw after I redownlaod everything I don't have any problems with syncing.
You can work on Builduntu.
joebonrichie is working on CM11 too.
These days I can't give my time to CM11 because I'm doing driving license and have some school stuff unfinished. I also have matura exam in May.
At the moment I'm rebuilding rom due to problems with Audio HAL. @UltraGamerHD you have to find the most similar device to XE and see how other devs worked on it. Learn by observation, reading and trying, there os no single way to just fix errors. Many times reading logcat gives you the most important informations how to solve the problem, just think a lot an try to remember which file refers to what in logcat.
I'm not dev who can code, understand everything and can write app from scratch. But I've learned a lot first by porting roms and then by
reading the code for tens of hours.
Click to expand...
Click to collapse
Thanks for the Advice.
Just be carefull with samsung. Source porting is fine that way.
@UltraGamerHD
I've noticed some differences between FXP CM11 tamsui-common-legacy (jlo/tapioca/mesona) and tamsui-common (nanhu).
in tamsui.mk, tamsui-common-legacy has the following snippet for RIL
Code:
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
[B]ro.telephony.ril_class=SonyQualcommRIL7x27a \[/B]
[B]ro.telephony.ril.v3=skipnullaid \[/B]
rild.libpath=/system/lib/libril-qc-1.so \
rild.libargs=-d/dev/smd0 \
persist.rild.nitz_plmn= \
persist.rild.nitz_long_ons_0= \
persist.rild.nitz_long_ons_1= \
persist.rild.nitz_long_ons_2= \
persist.rild.nitz_long_ons_3= \
persist.rild.nitz_short_ons_0= \
persist.rild.nitz_short_ons_1= \
persist.rild.nitz_short_ons_2= \
persist.rild.nitz_short_ons_3= \
ril.subscription.types=NV,RUIM \
DEVICE_PROVISIONED=1 \
keyguard.no_require_sim=1 \
ro.ril.hsxpa=1 \
ro.ril.gprsclass=10 \
ro.use_data_netmgrd=true \
persist.data_netmgrd_nint=3 \
ro.ril.transmitpower=true
in tamsui.mk, in tamsui-common (nanhu)
Code:
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
[B]ro.telephony.ril_class=SonyQualcommRIL \[/B]
[B]ro.telephony.ril.v3=qcomdsds \[/B]
ro.telephony.call_ring.multiple=false \
rild.libpath=/system/lib/libril-qc-1.so \
rild.libargs=-d/dev/smd0 \
ril.subscription.types=NV,RUIM \
DEVICE_PROVISIONED=1 \
keyguard.no_require_sim=1 \
ro.use_data_netmgrd=true \
ro.ril.transmitpower=true \
persist.data.ds_fmc_app.mode=0 \
persist.ims.regmanager.mode=0
i've bolded the importance differences between the two, as you can see nanhu used a different RIL. If we can find SonyQualcommonRIL.java about somewhere maybe we could fix RIL on nanhu.
So I found this SonyQualcommRIL.java; see if it can be used: https://github.com/OpenSEMC/android...telephony/java/com/android/internal/telephony
NSDCars5 said:
So I found this SonyQualcommRIL.java; see if it can be used: https://github.com/OpenSEMC/android...telephony/java/com/android/internal/telephony
Click to expand...
Click to collapse
@joebonrichie
It's been found
Just few questions.
1) Is it that slow when it was on that first build which you deleted?
2) Xperia E have IRC channel available? I know few devs which can help you out there.
I think the closest device is to our mobile is HTC explorer slight difference in out chipset(ours is faster).
icoolguy1995 said:
Just few questions.
1) Is it that slow when it was on that first build which you deleted?
2) Xperia E have IRC channel available? I know few devs which can help you out there.
I think the closest device is to our mobile is HTC explorer slight difference in out chipset(ours is faster).
Click to expand...
Click to collapse
1) Yes the same thing and this time I build with @hsr0 device tree.
2) Don't Know!
@icoolguy1995
@Aniruddh Chandratre
The ROM is like no other rom, it takes 3 mins to open up the App Drawer and the boot animation is not even smooth at all!
Any help?
Or is the XE CM11 Project Dead.
UltraGamerHD said:
@Aniruddh Chandratre
The ROM is like no other rom, it takes 3 mins to open up the App Drawer and the boot animation is not even smooth at all!
Any help?
Or is the XE CM11 Project Dead.
Click to expand...
Click to collapse
can you provide log/kmesg?
nanhu is slightly different from Tamsuis, more like 2013 Sony devices, but with Tamsui generation hardware. and i think that it was developed by different Sony Devs (you can look on nanhu kernel, way different from Tamsui).
AshRoller said:
can you provide log/kmesg?
nanhu is slightly different from Tamsuis, more like 2013 Sony devices, but with Tamsui generation hardware. and i think that it was developed by different Sony Devs (you can look on nanhu kernel, way different from Tamsui).
Click to expand...
Click to collapse
@AshRoller
@lozohcum
@joebonrichie
kmsg: https://docs.google.com/file/d/0B73-53ZX-WVRTUZYRXMtX3l3cWs/edit
logcat: https://drive.google.com/file/d/0B73-53ZX-WVRYzJTM1Q4Sl84WWc/edit?usp=sharing
@UltraGamerHD Upload it here, maybe? This URL is easier to memorize: https://github.com/TamsuiCM11/Tamsui_logcats-kmsg/tree/nanhu
Till then, I'll have fun looking at the ones you provided.
NSDCars5 said:
@UltraGamerHD Upload it here, maybe? This URL is easier to memorize: https://github.com/TamsuiCM11/Tamsui_logcats-kmsg/tree/nanhu
Till then, I'll have fun looking at the ones you provided.
Click to expand...
Click to collapse
Done.
So UltraGamerHD PMed me a build of CM11, and I liked it, other than the fact it was pretty slow (he says there are a lot of delays and stuff in the logcat; haven't had time to see it myself yet), and that GSM and WiFi didn't work. Bluetooth doesn't either, but that's a minor problem.
It didn't give any FCs or anything. Here are some shots: https://drive.google.com/folderview?id=0BxkRB3c4ACcZcU5SUkxkVWthWWs&usp=sharing
If anybody asks, I did a factory reset, wiped /system, installed CM11 and PA's micro KitKat Gapps, and rebooted. Boot took about long enough for me to have dinner. However, the ROM was actually not that bad; took only about 10-20 seconds to load the app drawer. It was as though I was playing Asphalt 8; slow, but you know it'd work nice if you get past the speed issue.
took only about 10-20 seconds
Click to expand...
Click to collapse
I like the "only" from that sentence
The logcat you posted is like messy. Can you upload also the result of adb logcat *:E ??
Only booting time.

Categories

Resources