You can enable the ambient display on s5?
Nope. Not support by Galaxy S5.
I have it ported it inside systemUI and framework-res
But cannot get it booting on my rom maybe you can try it?
https://docs.google.com/file/d/0B359m6J4OhQkbE1zYXdlbUhoczQ/edit?usp=docslist_api
---------- Post added at 12:06 PM ---------- Previous post was at 12:05 PM ----------
Only for tw lollipop b5.0
I have it enabled for my S5 rom which is OC7 base.. (i cant mention the name because they will delete my post)..
Here's proof:
friedrich420 said:
I have it enabled for my S5 rom which is OC7 base.. (i cant mention the name because they will delete my post)..
Here's proof:
Click to expand...
Click to collapse
Great!! how did you do?
igi97 said:
Great!! how did you do?
Click to expand...
Click to collapse
FOLLOW THIS GUIDE HERE:
http://forum.xda-developers.com/goo.../how-to-add-ambient-display-settings-t2942838
But you need to mod secsettings.apk also
You need:
1. display_settings.xml
2. display_settings_2013.xml
3. display_settings_2014.xml
4. strings.xml
Click to expand...
Click to collapse
FOR FILE #1 (display_settings.xml):
FIND:
Code:
<SwitchPreference android:persistent="false" android:title="@string/lift_to_wake_title" android:key="lift_to_wake" />
Right below add:
Code:
<SwitchPreferenceScreen android:title="@string/doze_title" android:key="doze" android:summary="@string/doze_summary" />
FOR FILE #2 (display_settings_2013.xml)
FIND:
<
Code:
PreferenceScreen android:title="@string/led_indicator_settings" android:key="led_indicator_settings" android:fragment="com.android.settings.LedIndicatorSettings" />
ADD RIGHT BELOW:
Code:
<SwitchPreferenceScreen android:title="@string/doze_title" android:key="doze" android:summary="@string/doze_summary" />
FOR FILE #3 (display_settings_2014.xml)
FIND:
Code:
<SwitchPreference android:persistent="false" android:title="@string/lift_to_wake_title" android:key="lift_to_wake" />
ADD RIGHT BELOW:
Code:
<SwitchPreferenceScreen android:title="@string/doze_title" android:key="doze" android:summary="@string/doze_summary" />
FOR FILE #4 (strings.xml)
FIND:
Code:
<string name="lift_to_wake_title">Lift to wake</string>
ADD RIGHT BELOW:
Code:
<string name="doze_title">Ambient display</string>
<string name="doze_summary">Wake screen when device picked up or notifications arrive</string>
---------- Post added at 01:00 PM ---------- Previous post was at 12:57 PM ----------
i also managed to add these to my S5 Lollipop sources kernel..
EDIT:
Feel free to use the guide to mod your stuff, show off to people, include it in your rom...
friedrich420 said:
FOLLOW THIS GUIDE HERE:
http://forum.xda-developers.com/goo.../how-to-add-ambient-display-settings-t2942838
But you need to mod secsettings.apk also
You need:
FOR FILE #1 (display_settings.xml):
FIND:
Code:
<SwitchPreference android[emoji14]ersistent="false" android:title="@string/lift_to_wake_title" android:key="lift_to_wake" />
Right below add:
Code:
<SwitchPreferenceScreen android:title="@string/doze_title" android:key="doze" android:summary="@string/doze_summary" />
FOR FILE #2 (display_settings_2013.xml)
FIND:
<
Code:
PreferenceScreen android:title="@string/led_indicator_settings" android:key="led_indicator_settings" android:fragment="com.android.settings.LedIndicatorSettings" />
ADD RIGHT BELOW:
Code:
<SwitchPreferenceScreen android:title="@string/doze_title" android:key="doze" android:summary="@string/doze_summary" />
FOR FILE #3 (display_settings_2014.xml)
FIND:
Code:
<SwitchPreference android[emoji14]ersistent="false" android:title="@string/lift_to_wake_title" android:key="lift_to_wake" />
ADD RIGHT BELOW:
Code:
<SwitchPreferenceScreen android:title="@string/doze_title" android:key="doze" android:summary="@string/doze_summary" />
FOR FILE #4 (strings.xml)
FIND:
Code:
<string name="lift_to_wake_title">Lift to wake</string>
ADD RIGHT BELOW:
Code:
<string name="doze_title">Ambient display</string>
<string name="doze_summary">Wake screen when device picked up or notifications arrive</string>
---------- Post added at 01:00 PM ---------- Previous post was at 12:57 PM ----------
i also managed to add these to my S5 Lollipop sources kernel..
EDIT:
Feel free to use the guide to mod your stuff, show off to people, include it in your rom...
Click to expand...
Click to collapse
You can do this by phone?
igi97 said:
You can do this by phone?
Click to expand...
Click to collapse
what do you mean my friend?
im not sure i understood?
friedrich420 said:
what do you mean my friend?
im not sure i understood?
Click to expand...
Click to collapse
I can not edit secsettingapk from your computer, you can make an app from my phone?
igi97 said:
I can not edit secsettingapk from your computer, you can make an app from my phone?
Click to expand...
Click to collapse
all i can do is give you the ones i have in my rom...
they have other mods though..
friedrich420 said:
all i can do is give you the ones i have in my rom...
they have other mods though..
Click to expand...
Click to collapse
Work in my rom stock?
igi97 said:
Work in my rom stock?
Click to expand...
Click to collapse
i hope its deodex my friend
if it is and its the OC7 base it should..
its 3 files in total:
framework-res.apk, systemui.apk and secsettings.apk
friedrich420 said:
i hope its deodex my friend
if it is and its the OC7 base it should..
its 3 files in total:
framework-res.apk, systemui.apk and secsettings.apk
Click to expand...
Click to collapse
I am in odex :/
igi97 said:
I am in odex :/
Click to expand...
Click to collapse
d'oh..
the problem is the framework file my friend..
it wont work..
unfortunately..
you should make the big step sometime and use a custom rom
sorry for getting you excited for nothing..
i wish i could be of more help.. but i will leave the guide here (unless they delete it) and anyone who wants and can, can make the mods and maybe they will make it for odex roms as well..
friedrich420 said:
d'oh..
the problem is the framework file my friend..
it wont work..
unfortunately..
you should make the big step sometime and use a custom rom
sorry for getting you excited for nothing..
i wish i could be of more help.. but i will leave the guide here (unless they delete it) and anyone who wants and can, can make the mods and maybe they will make it for odex roms as well..
Click to expand...
Click to collapse
Thanks anyway for availability! probably spend your rom PS when will be added in the rom App s6?
igi97 said:
Thanks anyway for availability! probably spend your rom PS when will be added in the rom App s6?
Click to expand...
Click to collapse
i have some (i.e. S6 Keyboard and S6 Launcher) as options and today i managed to enable the S6 Air Messaging
friedrich420 said:
i have some (i.e. S6 Keyboard and S6 Launcher) as options and today i managed to enable the S6 Air Messaging
Click to expand...
Click to collapse
Very Well!
friedrich420 said:
FOLLOW THIS GUIDE HERE:
http://forum.xda-developers.com/goo.../how-to-add-ambient-display-settings-t2942838
But you need to mod secsettings.apk also
You need:
FOR FILE #1 (display_settings.xml):
FIND:
Code:
<SwitchPreference android:persistent="false" android:title="@string/lift_to_wake_title" android:key="lift_to_wake" />
Right below add:
Code:
<SwitchPreferenceScreen android:title="@string/doze_title" android:key="doze" android:summary="@string/doze_summary" />
FOR FILE #2 (display_settings_2013.xml)
FIND:
<
Code:
PreferenceScreen android:title="@string/led_indicator_settings" android:key="led_indicator_settings" android:fragment="com.android.settings.LedIndicatorSettings" />
ADD RIGHT BELOW:
Code:
<SwitchPreferenceScreen android:title="@string/doze_title" android:key="doze" android:summary="@string/doze_summary" />
FOR FILE #3 (display_settings_2014.xml)
FIND:
Code:
<SwitchPreference android:persistent="false" android:title="@string/lift_to_wake_title" android:key="lift_to_wake" />
ADD RIGHT BELOW:
Code:
<SwitchPreferenceScreen android:title="@string/doze_title" android:key="doze" android:summary="@string/doze_summary" />
FOR FILE #4 (strings.xml)
FIND:
Code:
<string name="lift_to_wake_title">Lift to wake</string>
ADD RIGHT BELOW:
Code:
<string name="doze_title">Ambient display</string>
<string name="doze_summary">Wake screen when device picked up or notifications arrive</string>
---------- Post added at 01:00 PM ---------- Previous post was at 12:57 PM ----------
i also managed to add these to my S5 Lollipop sources kernel..
EDIT:
Feel free to use the guide to mod your stuff, show off to people, include it in your rom...
Click to expand...
Click to collapse
bootloop on my H
It's installed and working with MOAR Rom if you're on Sprint. Check it out!
@friedrich420
Echoe rom works super on S5 really like it ^_^
Ambient display also works fine
Related
well my policy I share what I learn
Several friends have asked me how to do it to not be sending pm to give the public preferred time for all to their own kitchens roms
Step 1 CHOOSE the item you want to leave the default
I Elected
CRYSTAL CM7 Theme by DaRk_dOg
step 2
apktool use to decompile and know the command line to add in the build.prop
ejmplo
copy the apk where is the apktool
C: \ Crystal.apk
go to cmd type the following command
cd ..
cd ..
apktool if Crystal.apk
apktool d Crystal.apk (decompile)
step 3
see the lines that nesesitamos for build.prop
go to
C: \ Crystal \ AndroidManifest.xml (use notepad + + to see the lines you need)
and find the following lines
PHP:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:hasCode="false" android:versionCode="44" android:versionName="2.5" package="com.darkdog.theme.crystal"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:pluto="http://www.w3.org/2001/pluto.html">
<application android:label="@string/theme_name" android:icon="@drawable/icon" android:hasCode="false" />
<uses-feature android:name="com.tmobile.software.themes" />
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="9" />
<theme pluto:themeId="Crystal" pluto:styleId="@style/Crystal" pluto:name="@string/theme_name" pluto:preview="@drawable/preview" pluto:author="@string/author" pluto:copyright="@string/copyright" pluto:wallpaperImage="@drawable/wallpaper" pluto:styleName="@string/style_appearance_name" pluto:ringtoneName="Shocking" pluto:ringtoneFileName="media/audio/ringtones/Shocking.mp3" pluto:notificationRingtoneName="Teleport" pluto:notificationRingtoneFileName="media/audio/notifications/Teleport.mp3">
<meta-data android:name="com.tmobile.theme.redirections" android:resource="@xml/redirections" />
</theme>
</manifest>
PHP:
package="com.darkdog.theme.crystal
pluto:themeId="Crystal""
PHP:
#Theme
persist.sys.themeId=
persist.sys.themePackageName=
and get something like this in bulid.prop
PHP:
#Theme
persist.sys.themeId=Crystal
persist.sys.themePackageName=com.darkdog.theme.crystal
I hope it serves
Bro,
appreciate your work. but i dont understand what you have done in the above.
is it a theme extract from a rom? pls provide little information.
(its ok, even if you know little english just post some info)
Thank you!
Tommylee567 said:
Bro,
appreciate your work. but i dont understand what you have done in the above.
is it a theme extract from a rom? pls provide little information.
(its ok, even if you know little english just post some info)
Thank you!
Click to expand...
Click to collapse
is to use a default theme in the rom without using theme choose
Sent from my U20i using xda premium
Hi, i'm trying to port a speed net meter to work in my stock SystemUI for moto X, because the source is not compatible with the android 4.4.2. I don't know smaler and i want your help.
This is the source of the speed net meter:
SystemUI>res>layout/status_bar.xml
Code:
<com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="left|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
SystemUI>res>values/ids.xml
Code:
<item type="id" name="traffic">false</item>
SystemUI>res/values/styles.xml
Code:
<style name="TextAppearance.StatusBar.Traffic" parent="@style/TextAppearance.StatusBar.Clock">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:textAllCaps">false</item>
</style>
PS: i'm using apktool v2.0.0b9.
In the "ATTACHED FILES" have:
- the original smalis of the speed meter
- the smalis that i have make a part of the port
- the framework-res of my rom
- the SystemUI of my rom
Unless you're dead set on learning smali coding, you can just install the Xposed Framework and this module: http://repo.xposed.info/module/tw.fatminmin.xposed.networkspeedindicator
es0tericcha0s said:
Unless you're dead set on learning smali coding, you can just install the Xposed Framework and this module:
Click to expand...
Click to collapse
thanks, but i don't want use xposed! :good:
Help :c
moderators, close the thread! resolved!
ramon20 said:
moderators, close the thread! resolved!
Click to expand...
Click to collapse
mind mentioning first what was wrong? could be helpful for others having the same problem.. :fingers-crossed:
kermage said:
mind mentioning first what was wrong? could be helpful for others having the same problem.. :fingers-crossed:
Click to expand...
Click to collapse
was missing modify some parts of the code, and I do not know, I found the same smalis elsewhere, and they were already ported
ramon20 said:
was missing modify some parts of the code, and I do not know, I found the same smalis elsewhere, and they were already ported
Click to expand...
Click to collapse
:good:
Please download the file in the attachment and put the file in right place.:laugh:
Hello All Master And Member of Xda today im going to guide how to make JellyHeader liker Jellybean:laugh:
1.Decompile SystemUI.apk
2.open res/layout/statusbar.expanded
3.find this xmlns:android="http://schemas.android.com/apk/res/android">
4.add this after the line
<RelativeLayout androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="50.0dip" android:baselineAligned="false">
<include layout="@layout/keur_tanggal_simple" />
</RelativeLayout>
5.after that open res/values/ids
add this
<item type="id" name="timeDisplayForeground">false</item>
<item type="id" name="timeDisplayBackground">false</item>
<item type="id" name="clockdate">false</item>
<item type="id" name="clock">false</item>
above </resources>
6.open res/values/string
add this above </resources>
<string name="status_bar_date_formatter">"%2$s
%1$s"</string>
7.after that open res/values/style.xml
add this
<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">13.0dip</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">#ffffffff</item>
</style>
<style name="TextAppearance.StatusBar.Expanded.Clock" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">35.0dip</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">#ffffffff</item>
</style>
above </resources>
8.after that decompile back
9.decompile the systemui again
after that smali/com/android/systemui/statusbar/policy/DigitalClock
find: 0x7f0b0036 ->replace with code
id timeDisplayBackground that have in the public.xml
find : 0x7f0b0035 --> replace with code id timeDisplayForeground that have in the public.xml
lalu buke Dateview.smali di folser policy
find: 0x7f090010el
replace with the id strings status_bar_date_formatter that have in the public.xml
after that recompile back.
if have error tell me.
CreditGY Group:laugh:
If this thread are in wrong section please remove.
If like my work please press thaxs.
Im Just Newbie.
Screenshot Added
reserve
Nice guide
Thaxs sir
Himan Boro said:
Nice guide
Click to expand...
Click to collapse
Thaxs Sir:laugh:
Can you help me to place the clock at center and remove date ?
sir the guide have already
GSculerlor said:
Can you help me to place the clock at center and remove date ?
Click to expand...
Click to collapse
please search guide by mariozawa:laugh:
mohawk97 said:
please search guide by mariozawa:laugh:
Click to expand...
Click to collapse
Please give me link
i get no resource found for parent sir
Sent From My Samsung Galaxy Y s5360
---------- Post added at 02:07 PM ---------- Previous post was at 02:04 PM ----------
mohawk97 said:
please search guide by mariozawa:laugh:
Click to expand...
Click to collapse
sir i get a no resource found for parent error sir
Sent From My Samsung Galaxy Y s5360
Screen SHot?
Wickedfire.214 said:
i get no resource found for parent sir
Sent From My Samsung Galaxy Y s5360
---------- Post added at 02:07 PM ---------- Previous post was at 02:04 PM ----------
sir i get a no resource found for parent error sir
Sent From My Samsung Galaxy Y s5360
Click to expand...
Click to collapse
Any Screenshot
I fixed it. It recompiled. Your code was incomplete sir. But i got the false instead of date :/
Sent From My Samsung Galaxy Y s5360
Wickedfire.214 said:
I fixed it. It recompiled. Your code was incomplete sir. But i got the false instead of date :/
Sent From My Samsung Galaxy Y s5360
Click to expand...
Click to collapse
nice UI...
Can u share it
Its not done yet.
Sent From My Samsung Galaxy Y s5360
Fixed it. Haha
Sent From My Samsung Galaxy Y s5360
Wickedfire.214 said:
I fixed it. It recompiled. Your code was incomplete sir. But i got the false instead of date :/
Sent From My Samsung Galaxy Y s5360
Click to expand...
Click to collapse
i have check all my code is complete.:laugh:
Wickedfire.214 said:
Fixed it. Haha
Sent From My Samsung Galaxy Y s5360
Click to expand...
Click to collapse
please press thaxs to support my work
thanks! done.
Sent From My Samsung Galaxy Y s5360
Wickedfire.214 said:
thanks! done.
Sent From My Samsung Galaxy Y s5360
Click to expand...
Click to collapse
Nice
LOL
Sent from my GT-S5360 using XDA Free mobile app
mohawk97 said:
i have check all my code is complete.:laugh:
Click to expand...
Click to collapse
error: Error retrieving parent for item: No resource found that matches the given name '@style/TextAppearance.StatusBar.Expanded'.
the_vanya1 said:
error: Error retrieving parent for item: No resource found that matches the given name '@style/TextAppearance.StatusBar.Expanded'.
Click to expand...
Click to collapse
You need to add that. use another parent for that parent
Sent from my GT-S5360 using XDA Free mobile app
Hello Today I am Showing How to add Extra Options in Settings CPU Info Screen Resolution Mem Info Swap Mem Info I will Update This Thread with New Options So Let"s Start
Requirement:
Apktool http://forum.xda-developers.com/show....php?t=1755243
Settings.apk From Your Phone
Nice Brain to Understand
Credits:
My Friends Aryne Neil Carlno Cabatan
Instructions:
Step 1 :- Pull Your Settings from Your Phone
Step 2 :- Decompile The Settings.apk
Step 3 :- Merged The Your Settings with My Zip
Step 4 :- Open Values/strings.xml
Step 5 :- Add This
Code:
<string name="cpu_info">CPU info</string>
<string name="mem_info">Mem info (avail/total)</string>
<string name="swap_mem_info">Swap mem info (avail/total)</string>
<string name="device_screen_resolution">Screen resolution</string>
Step 6 :- Open xml/device_info_settings
Step 7 :- Remove All lines
Step 8 :- Add This
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings"
xmlns:android="http://schemas.android.com/apk/res/android">
<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>
<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/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" />
<Preference android:title="@string/cpu_info" android:key="device_cpu" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/device_screen_resolution" android:key="device_screen_resolution" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/mem_info" android:key="device_memory" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/swap_mem_info" android:key="device_swap_memory" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="Guide by" android:key="android_fire_xda" android:summary="AndroidFire" style="?android:preferenceInformationStyle" />
</PreferenceScreen>
Step 9 :- Recompile and Decompile Again
Step 10 :- Go to values/public.xml
Step 11 :- search for device_info_settings Note the id code
Step 12 :- Search for 0x7f040010 Change This according to your public
Step 13 :- Recompile And Sign And Enjoy
My Work
My Work
Android
APP
AF-Root Checker
[APP][4.1+] AF Calendar Widget
[APP][2.3+] AF CPU Widget
GUIDE
[GUIDE][2.3+] How to add AF Volume Panel to Android Phone
AF-Battery Mod
ICS PlatLogo
[GUIDE] How to Disable Scrolling Cache for Smooth
[GUIDE] How to add Extra Options in About Sections
[GUIDE] How to add Colorey Platlogo
[GUIDE] How to add Android L Preview Platlogo
[GUIDE] [TUTORIAL] [GUIDE] How to Play with Screen Title
[GUIDE]How to Replace Checkbox with Switch
ROM
[ROM] AF Firey
TOOL
[TOOL] AF-Apk[TOOL] AF-Signer
Reserved
AF Work
AF Work
Android
APP
[APP][4.1+] AF Calendar Widget
[APP][2.3+] AF CPU Widget
GUIDE
[GUIDE][2.3+] How to add AF Volume Panel to Android Phone
ROM
[ROM] AF Firey
TOOL
[TOOL] AF-Apk[TOOL] AF-Signer
I have an error
Hello there
At first I apologize for my English.
I tried this method but I have a problem with steps 11 and 12
can you help me?
when I do research in device_info_settings .. / values / public.xml
I find 2 id's:
Line 451: <public type="xml" name="device_info_settings" id="0x7f050011" />
Line 2469: <public type="string" name="device_info_settings" id="0x7f0b04a8" />
And I tried with the two solution, I get an error ...
And id 0x7f040010, is:
Line 261: <public type="layout" name="auto_brightness_preview" id="0x7f040010" />
thank you in advance.
daemon1666 said:
Hello there
At first I apologize for my English.
I tried this method but I have a problem with steps 11 and 12
can you help me?
when I do research in device_info_settings .. / values / public.xml
I find 2 id's:
Line 451:
Line 2469:
And I tried with the two solution, I get an error ...
And id 0x7f040010, is:
Line 261:
thank you in advance.
Click to expand...
Click to collapse
First of Thing that What Android Version r using if Your Android Version 2.3 leave step 12 and 13 if are using 3.0+ then find for that ids change valuse according to ur public device_info_settings (xml one not strings) if u get error pls show me logcat logcat will easily to understand ur problem Recommended You to use AF-Apk to Decompile and Recompile Apk If Want it search on google ok
2nd Things No Need to Say Thanks Just Presss the button
AndroidFire said:
First of You What Android Version if Your Android Version 2.3 leave step 12 and 13 if are using 2.3+ then find for that ids change valuse according to ur public device_info_settings (xml one not layout)
2nd Things No Need to Say Thanks Just Presss the button
Click to expand...
Click to collapse
I have a nexus 5
in custom rom 4.4.4
I started in xml, so I don't know by what I must change the id
can you show me an example?
Sorry but I am a beginner.
daemon1666 said:
I have a nexus 5
in custom rom 4.4.4
I started in xml, so I don't know by what I must change the id
can you show me an example?
Sorry but I am a beginner.
Click to expand...
Click to collapse
First things.
can u attach ur public.xml and DeviceInfoSettings.smali I will Do for You
Second Things Thanks Button will more appericated then saying thanks
AndroidFire said:
First things.
can u attach ur public.xml and DeviceInfoSettings.smali I will Do for You
Second Things Thanks Button will more appericated then saying thanks
Click to expand...
Click to collapse
I joined the archive.
Ihave already made steps 1-9
And
I clicked on the button "thanks" and +1 on Google+
daemon1666 said:
I joined the archive.
Ihave already made steps 1-9
And
I clicked on the button "thanks" and +1 on Google+
Click to expand...
Click to collapse
done mind don't kang my work respect my work here is the link just replace the file
https://db.tt/ieOJqB3g
Thx... Again
If something has changed, I'm sorry, I had tried so many things by myself.
What was the problem?
I just tested ..
The first compilation, I have problems compiling
having replaced the device_info_settings.smali well.
I have attached the log
deleted sorry..
GUIDE 3Minit Battery
Work and Tested - CM 12.1 & LP Based
1. Decompile systemUI.apk
(FIRST)Mregae all smali -->>
(SECOND)At the file:
SystemUI\res\layout\system_icons.xml
Add this line
<com.android.systemui.statusbar.policy.MinitBattery android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/battery_margin_bottom" android:layout_marginStart="0.0dip" />
Click to expand...
Click to collapse
*Compile systemUI.apk DONE*
2. Decompile settings.apk
settings\res\xml\display_settings.XML
Add this lines
PHP:
<PreferenceScreen android:title="@string/3Minit_Battery_Mod" android:key="battery_mod" android:summary="@string/Settings_Battery_Mod">
<intent android:targetPackage="com.three.minit.minitbatterysettings" android:action="android.intent.action.MAIN" android:targetClass="com.three.minit.minitbatterysettings.MainActivity" />
</PreferenceScreen>
settings\res\values\strings.XML
Add this lines
<string name="3Minit_Battery_Mod">3Minit Battery Mod</string>
<string name="Settings_Battery_Mod">Battery Mod Settings</string>
Click to expand...
Click to collapse
*Compile settings.apk DONE*
Files and Compare Press Me
@ahmed.nasser.hk excellent guide, but there is a small mistake. there is a space that there should not be
Code:
........ android:targetClass="com.three.minit.[B][COLOR="Red"]minitbatterys ettings[/COLOR][/B].MainActivity" />
Thanks for this nice mod and easy to follow tutorial!
Thank you Bro !!! Very easy
But I have found a small error:
<com.android.systemui.statusbar.policy.MinitBatter y android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/battery_margin_bottom" android:layout_marginStart="0.0dip" />
PD: On the guide its good.
glfsd said:
@ahmed.nasser.hk excellent guide, but there is a small mistake. there is a space that there should not be
Code:
........ android:targetClass="com.three.minit.[B][COLOR="Red"]minitbatterys ettings[/COLOR][/B].MainActivity" />
Click to expand...
Click to collapse
Thanks for attention and observation, Modified