[MOD] [HOW-TO] Center clock LG8 & small AM/PM - Sprint Samsung Galaxy S III

This will center the clock as well as roll it out of the way when you receive notifications.
Decompile SytemUI
Expand to:
Systemui/res/layout/tw_status_bar.xml
Look for this code and delete it:
Code:
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff959595" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />
Look for this line and make two spaces below it:
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
In the space you created paste the following:
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff959595" android:gravity="center" android:id="@id/clock" android:paddingTop="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" android:layout_weight="1.0" />
Find the following line:
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
Change it to this:
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/status_bar_bg_tile" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
recompile
chmod 644
push to /system/app via adb or flashable zip
reboot
NOTE
See post #10 for the small am/pm zip. I will include a how-to for this soon.

VERY nice job Didact

Nice.

Thanks guys. Next project is a center clock toggle!
Toggle-on for center clock, toggle-off for stock clock
This is proving to be quite difficult considering all the "IF's" involved in the logic of the toggle. 24hr, am/pm on/off, etc....

Would it be too much to ask for a small AM/PM?

.Bambino said:
Would it be too much to ask for a small AM/PM?
Click to expand...
Click to collapse
You mean as in lower case?

Didact74 said:
You mean as in lower case?
Click to expand...
Click to collapse
Yes. You could say that. If it isn't too much trouble.

.Bambino said:
Yes. You could say that. If it isn't too much trouble.
Click to expand...
Click to collapse
Let me see what I can do.

Forgot to mention by changing the word "center" to "left" or "right" in the following code in the OP will put the clock in the left corner, center, or right corner. JFYI...
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff959595" android:gravity="center" android:id="@id/clock" android:paddingTop="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" android:layout_weight="1.0" />
Sometimes the left oriented clock will interfere with status bar stuff, but its not terrible.
Still looking into the nlower case AM/PM for you Bambino......

See how this strikes your fancy Bambino.....
Its not lower case but I think it should do. This also assumes you are running the time toggle option (where you select to hide time or am/pm). If you are not, I may have to tweak it for you .Let me know how it works.
One is odex and one is deodex, should be able to flash via your custom recovery. As always, make a Nandriod!
If you are running a custom ROM this may over write the authors other MODs to SystemUI if they have made any You can always give it a shot and nandriod back if it doesnt play well. I made this for basically a stock rooted ROM.
EDIT*****
Actually, most of the toggle MODs are done in SecSettings not SystemUI....so this should be fine even if your not running the time toggle option. I am too lazy to rename the ZIPs though, so......

Thanks dude! I love it.

Can you add seconds? TIA...
Sent using my Venum injected SGS3..... 凸(¬_¬)凸

rotnezi said:
Can you add seconds? TIA...
Sent using my Venum injected SGS3..... 凸(¬_¬)凸
Click to expand...
Click to collapse
I will see what I can figure out but not sure if its possible. Have to imagine it would eat up battery pretty good too.

If you get a notification (like texts or a few "xxxxxx" has installed) do the words or icons from the okay store run through the center clock or cut it off at all. I had an evo 3d with a center clock mod and I had those problems. I forget on which from though. I know these are different phones but I had to ask. I'm running stock lg8 (rooted obviously).....
^^^nevermind on that part. I'm a dumb ass and I didn't read the very first sentence of the first post
Sent from my SPH-L710 using Tapatalk 2
---------- Post added at 09:25 AM ---------- Previous post was at 09:24 AM ----------
And I was also wondering if you can make a zip to reverse the mod if we ever choose to go back to the original clock placement
Sent from my SPH-L710 using Tapatalk 2

Does anyone else's phone say its Jimmie's? How do I change that?
Sent from my SPH-L710 using Tapatalk 2

alexnaoumi said:
Does anyone else's phone say its Jimmie's? How do I change that?
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
It would be an XML edit in systemui/res/values/strings. Down towards the bottom or just search "Jimmie's Phone" in the XML.

alexnaoumi said:
Does anyone else's phone say its Jimmie's? How do I change that?
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
LMAO!!! Thats my phone!!
Sorry guys, I forgot to pull that out of the XML. I will post up a clean one shortly

Thanks didact74 for the how to's. I made a few mods for my rom thanks to these, and gave you credit and linked to your thread. Appreciate you sharing. Keep up the awesome work.

Didact74 said:
LMAO!!! Thats my phone!!
Sorry guys, I forgot to pull that out of the XML. I will post up a clean one shortly
Click to expand...
Click to collapse
I'd appreciate that. I have a stock from and I love the center clock mod you made. Can you make it say "Sprint" or "Galaxy S3"...either is fine to me idk what others think
Sent from my SPH-L710 using Tapatalk 2

alexnaoumi said:
I'd appreciate that. I have a stock from and I love the center clock mod you made. Can you make it say "Sprint" or "Galaxy S3"...either is fine to me idk what others think
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Sure...will post it up sometime tomorrow.
dazednconfused said:
Thanks didact74 for the how to's. I made a few mods for my rom thanks to these, and gave you credit and linked to your thread. Appreciate you sharing. Keep up the awesome work.
Click to expand...
Click to collapse
No problem man....enjoy!

Related

How to post YouTube Videos on XDA

ok so this is strange, if I post this YouTube Video
[YOUTUBE]<object width="445" height="364"><param name="movie"
value="http://www.youtube.com/v/AK9aZyJJNIo&hl=en_US&fs=1&rel=0&color1=0x234900&color2=0x4e9e00&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/AK9aZyJJNIo&hl=en_US&fs=1&rel=0&color1=0x234900&color2=0x4e9e00&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"></embed></object>[/YOUTUBE]
HTML:
[YOUTUBE]<object width="445" height="364"><param name="movie"
value="http://www.youtube.com/v/AK9aZyJJNIo&hl=en_US&fs=1&rel=0&color1=0x234900&color2=0x4e9e00&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/AK9aZyJJNIo&hl=en_US&fs=1&rel=0&color1=0x234900&color2=0x4e9e00&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"></embed></object>[/YOUTUBE]
BUT IF I POST THIS SIMILAR YOUTUBE VIDEO IT WONT WORK
[YOUTUBE]<object width="425" height="344"><param name="movie"
value="http://www.youtube.com/v/FL7yD-0pqZg&hl=en_US&fs=1?rel=0"></param></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/FL7yD-0pqZg&hl=en_US&fs=1?rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>[/YOUTUBE]
HTML:
[media=youtube]<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/FL7yD-0pqZg&hl=en_US&fs=1?rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/FL7yD-0pqZg&hl=en_US&fs=1?rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>[/media]
ANYONE KNOW WHY!? or how to fix this!?
THANKS!
You have to just use video id, in your case FL7yD-0pqZg
HTML:
[media=youtube]FL7yD-0pqZg[/media]
then it works
robocik said:
You have to just use video id, in your case FL7yD-0pqZg
HTML:
[media=youtube]FL7yD-0pqZg[/media]
then it works
Click to expand...
Click to collapse
years later it's still working, thank you sir! (hitting the button)
edit: ok where is the button.
I LOVE YOU! Spent like 20 minutes trying different embedding methods. Kinda annoying it was so simple -.-
HolmesInFive said:
I LOVE YOU! Spent like 20 minutes trying different embedding methods. Kinda annoying it was so simple -.-
Click to expand...
Click to collapse
LOL I was just thinking the same thing.
Thank you m8
Thanks for posting this and thank you for answering it, thanked you both
arctic84 said:
Thanks for posting this and thank you for answering it, thanked you both
Click to expand...
Click to collapse
+1 much simpler than i initially thought.
THANKS
Thanks for that been loooking for ages for this
Moved to About XDA section.
how to specify video size?
policeman0077 said:
how to specify video size?
Click to expand...
Click to collapse
You don't need to specify the size. Simply do as robocik said in the 2nd post and it'll work fine.
Sent from my Sony Xperia S using XDA Premium
"Knowledge is power" = Check out this [GUIDE] How to be a New User (and not a noob)
Pressed send by mistake
thank you very much man:good:
This is really good for helping users in guiding them on what to do.. Thank you.
Sent from my LT18i using xda app-developers app
The moderators should remove a similar thread (http://forum.xda-developers.com/showthread.php?t=662217) which is confusing because of the broken screenshot link.
And then remove this very post
Thanks for any help.
I find you on a random post )
Sent from my Nexus 4 using xda premium
Thank you for this tip. It is very useful.
Oh, thats why I wonder how to attach youtube video on a post.
Thank you very much for asking and answering! That's very helpful. :good:

How change my phone identity

I have installed incredible sensatation on my Dinc2. I'm using the phone on tmobiles network. The only problem is when I recieve picture messages my photos shrink to thumbnail size. After talking to tmobile, the tech said I would have to have the dev of my ROM tell me how to change the identity of my phone to a model on tmobiles systems.
Sent from my Incredible 2 Sensation using XDA App
bamajoker said:
I have installed incredible sensatation on my Dinc2. I'm using the phone on tmobiles network. The only problem is when I recieve picture messages my photos shrink to thumbnail size. After talking to tmobile, the tech said I would have to have the dev of my ROM tell me how to change the identity of my phone to a model on tmobiles systems.
Sent from my Incredible 2 Sensation using XDA App
Click to expand...
Click to collapse
Masking the phone involves an edit to the build.prop file. /system is the location.
ro.product.model=Incredible 2
ro.product.manufacturer=HTC
Be sure to reboot after you change these properties.
artvandelay440 said:
Masking the phone involves an edit to the build.prop file. /system is the location.
ro.product.model=Incredible 2
ro.product.manufacturer=HTC
Be sure to reboot after you change these properties.
Click to expand...
Click to collapse
That won't work. For example using virtuous 2.37. Under settings/about phone/ phone identity it says HTC sensation. But no where in build.prop can I find that to change. Any ideas?
Sent from my ADR6350 using XDA App
iceman99393 said:
That won't work. For example using virtuous 2.37. Under settings/about phone/ phone identity it says HTC sensation. But no where in build.prop can I find that to change. Any ideas?
Sent from my ADR6350 using XDA App
Click to expand...
Click to collapse
Here it is in the build.prop. Lines #18 and #25
Virtuous has the agent listed as the Sensation because that's the phone it was based from.
It's not working, do I need to change ro.aa.modelid also ?
# autogenerated by buildinfo.sh
ro.aa.customizationid=191108
ro.aa.project=Vivo_W_Gingerbread_S
ro.aa.romver=2.18.605.4
ro.aa.maincid=VZW__001
ro.aa.cidlist=VZW__001
ro.aa.rid=47
ro.aa.modelid=PG3210000
ro.aa.skulist=605
ro.aa.taskid=200325
ro.aa.mainsku=605
ro.com.google.clientidbase=android-verizon
ro.aa.customizationid=191108
ro.aa.project=Vivo_W_Gingerbread_S
ro.aa.romver=2.18.605.4
ro.aa.maincid=VZW__001
ro.aa.cidlist=VZW__001
ro.aa.rid=47
ro.aa.modelid=PG3210000
ro.aa.skulist=605
ro.aa.taskid=200325
ro.aa.mainsku=605
ro.com.google.clientidbase=android-verizon
ro.build.id=GRI40
ro.build.display.id=GRI40
ro.build.version.incremental=81006
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.3
ro.build.date=六 6月 25 15:24:05 CST 2011
ro.build.date.utc=1308986645
ro.build.type=user
ro.build.user=
ro.build.host=AA125
ro.build.tags=release-keys
ro.product.model=Sensation
ro.product.brand=htc_wwe
ro.product.name=htc_vivow
ro.product.device=vivow
ro.product.board=vivow
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=HTC
ro.product.locale.language=hdpi
ro.product.locale.region=
ro.wifi.channels=
ro.board.platform=msm7x30
using XDA App
bamajoker said:
It's not working, do I need to change ro.aa.modelid also ?
# autogenerated by buildinfo.sh
ro.aa.customizationid=191108
ro.aa.project=Vivo_W_Gingerbread_S
ro.aa.romver=2.18.605.4
ro.aa.maincid=VZW__001
ro.aa.cidlist=VZW__001
ro.aa.rid=47
ro.aa.modelid=PG3210000
ro.aa.skulist=605
ro.aa.taskid=200325
ro.aa.mainsku=605
ro.com.google.clientidbase=android-verizon
ro.aa.customizationid=191108
ro.aa.project=Vivo_W_Gingerbread_S
ro.aa.romver=2.18.605.4
ro.aa.maincid=VZW__001
ro.aa.cidlist=VZW__001
ro.aa.rid=47
ro.aa.modelid=PG3210000
ro.aa.skulist=605
ro.aa.taskid=200325
ro.aa.mainsku=605
ro.com.google.clientidbase=android-verizon
ro.build.id=GRI40
ro.build.display.id=GRI40
ro.build.version.incremental=81006
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.3
ro.build.date=六 6月 25 15:24:05 CST 2011
ro.build.date.utc=1308986645
ro.build.type=user
ro.build.user=
ro.build.host=AA125
ro.build.tags=release-keys
ro.product.model=Sensation
ro.product.brand=htc_wwe
ro.product.name=htc_vivow
ro.product.device=vivow
ro.product.board=vivow
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=HTC
ro.product.locale.language=hdpi
ro.product.locale.region=
ro.wifi.channels=
ro.board.platform=msm7x30
using XDA App
Click to expand...
Click to collapse
take a stock sensation build.prop and compare it to yours. in yours replace wherever it says vivow with whatever the equivelant is in the sensation build.prop except for the ro.build.fingerprint. that's usually the line that the market uses to identify the phone.
Sent from my Incredible 2 using XDA App
Any idea where to find one
using XDA App
+1 for times' idea. you could find a stock-based app in the sensation forums, download it to the computer, and look under /system within the rom.
Now what model sensation.? Tmobile has a sensation 4g out would I use that one?
Sent from my Sensation 4G using XDA App
Tmobile is now saying my user agent field may have to be changed , any idea wthvthis is
Sent from my Sensation 4G using XDA App
bamajoker said:
Tmobile is now saying my user agent field may have to be changed , any idea wthvthis is
Sent from my Sensation 4G using XDA App
Click to expand...
Click to collapse
Since your signature says "sent from my sensation 4g" i think you've successfully masked your model. Not sure what t-mobile is wanting you to do...
HTC sends a uaprof string with mms with phoneid
Sent from my Sensation 4G using XDA App
bamajoker said:
HTC sends a uaprof string with mms with phoneid
Sent from my Sensation 4G using XDA App
Click to expand...
Click to collapse
yeah he's gonna need to change the useragent in the Mms.apk
that would require decompiling the apk, editing mms_config.XML and then rebuilding the apk.
I should be home shortly. ill see what I can do.
if you want you can try pulling Mms.apk from a sensation rom and pushing it to /system/app see if that helps.
Sent from my Incredible 2 using XDA App
I found this in default.xml in /system/customize
<function name="ua_profile">
<set name="single">
<item name="value">http://uaprof.vtext.com/pcd/adr6350/adr6350.xml</item>
</set>
</function>
<!-- Enable gif animation -->
<function name="enable_gif_anim">
<set name="single" />
</function>
<!-- Mobile_view -->
<function name="mobile_view">
<set name="single" />
</function>
<!-- Default text encoding -->
<function name="default_text_encoding">
<set name="single" />
</function>
<!-- Location_Setting -->
<function name="geolocation">
<set name="single" />
</function>
<!-- Open pages in overview -->
<function name="overview">
<set name="single" />
</function>
<!-- Max tabs count -->
<function name="max_tabs">
<set name="single" />
</function>
<!-- full screen mode (show/hide status bar) -->
<function name="always_show_statusbar">
<set name="single" />
</function>
<!-- Bookmark View Setting -->
<function name="bookmark_view_mode">
<set name="single" />
</function>
<!-- Most Visit Bookmark View Setting -->
<function name="mostvisited_view_mode">
<set name="single" />
</function>
<!-- Default Search Engine -->
<function name="search_engine">
<set name="single" />
</function>
<!-- download_dialog -->
<function name="download">
<set name="single" />
</function>
</module>
<!-- MMS UA string -->
<module name="MMS">
<function name="ua_string">
<set name="single">
<item name="value">pcdadr6350</item>
</set>
</function>
</module>
<!-- J2ME UA string -->
<module name="J2ME">
<function name="ua_string">
<set name="single" />
</function>
</module>
</category>
</customization_form>
Sent from my Sensation 4G using XDA App
Does a normal sensation work on tmoible.? I know the sensation 4g does
Sent from my Sensation 4G using XDA App
Changed everything in default.xml and build.prop to match a sensation and its still not working... Any ideas.?
Sent from my HTC Pyramid using XDA App
bamajoker said:
Changed everything in default.xml and build.prop to match a sensation and its still not working... Any ideas.?
Sent from my HTC Pyramid using XDA App
Click to expand...
Click to collapse
grab the mms.apk from a sensation rom and see if that helps. if it doesnt. I could try hacking up mms_config.xml in a stock Inc2 mms.apk later
Sent from my Incredible 2 using XDA App
Grabbed to mmsmapk from a sensation that did not wotk. Also opened the mms.apk and I didn't don't see the xml u mentioned
Sent from my HTC Pyramid using XDA App

Themers Help Me Out

Can Anyone Tell How do i Change The Text Color of The Screenis Below to White?
Thanks In Advance
SnowPluralism said:
Can Anyone Tell How do i Change The Text Color of The Screenis Below to White?
Thanks In Advance
Click to expand...
Click to collapse
Not sure what ROM your on, but those are controlled in color/secondary_text_dark.xml and secondary_text_light.xml.
Change the first 2 and last 2 lines to hex. this is also where the secondary text color in like the display settings and things like that.
android:color="@color/dim_foreground_dark_disabled"
Will be :
android:color="#ffffffff"
or whatever hex code you want.
If i's not that it would be this:
Code:
In the styles.xml change: ( [B]Of either Launcher or Framework[/B])
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimaryInverse</item>
to
Code:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">@color/bright_foreground_dark</item>
Click to expand...
Click to collapse
If it still doesn't work..
In the styles.xml change: ( Of either Launcher or Framework)
THIS..
Code:
<style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">?textAppearanceLargeInverse</item></style>
TO THIS..
[CODE]<style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">?textAppearanceLarge</item>
</style>
[/CODE]
Click to expand...
Click to collapse
Click to expand...
Click to collapse
PM me if your not sure of something or need help!
---------- Post added at 06:10 PM ---------- Previous post was at 06:06 PM ----------
BTW:- That theme looks awesome, something new I suppose? Or an update to your Rom? :exited:
Almost...
Now Its Like This
Its Almost Done!
I Also Attached The framework if u wanna give it a look ( This is withoud the modded colors )
Any Advice?
Mmm, I don't really know the stock Roms, try searching around, in TW Framework too. Sorry I'm quite busy now if you can wait I could do it for you tomorrow or so.
i have until tuesday i am playing around with xml now to see what happens
---------------------------
So damn tired of xml trying
didint anyone now how to change that text color?
You can try it with UOT kitcken
...make a framework-res and system.apk backup first
themeing
SnowPluralism said:
Now Its Like This
Its Almost Done!
I Also Attached The framework if u wanna give it a look ( This is withoud the modded colors )
Any Advice?
Click to expand...
Click to collapse
look at this guide
http://forum.xda-developers.com/showthread.php?t=1376873
SnowPluralism said:
Can Anyone Tell How do i Change The Text Color of The Screenis Below to White?
Thanks In Advance
Click to expand...
Click to collapse
decompile framework-res.apk
go to res\values\colors.xml
in colors.xml edit bright_foreground_light">#ffffffff
or whatever hex code you want
---------------------------------------------------------
:good: If I helped you click Thanks BUTTON
SamAce43 said:
decompile framework-res.apk
go to res\values\colors.xml
in colors.xml edit bright_foreground_light">#ffffffff
or whatever hex code you want
---------------------------------------------------------
:good: If I helped you click Thanks BUTTON
Click to expand...
Click to collapse
Thanks a lot but i solved the issue using a lighter background
Sent from my GT-S5830 using xda premium
SnowPluralism said:
Thanks a lot but i solved the issue using a lighter background
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
:good:
SnowPluralism said:
Thanks a lot but i solved the issue using a lighter background
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Share tge theme btw is that sgsii v10 rom or bald eagle 2
Sent from my Galaxy ACE using xda app-developers app
None I Was Mading It

[Req] Transparent Statusbar required for stock rom

Hi,
I need transparent statusbar for Nexus 4 official rom, don't want to use any custom roms. Can somebody help me with this?
Thanks in advance.
Hi, i have requested it some days ago, here is the link: http://forum.xda-developers.com/showthread.php?t=2334362
I think the same of you and at my post i quoted other to explain how to do it at a Samsung galaxy s3, but i have tried to decompile, edit the archives and compile, put in my phone and get a bootloop
Sent from my Nexus 4 using xda app-developers app
llsantiago said:
Hi, i have requested it some days ago, here is the link: http://forum.xda-developers.com/showthread.php?t=2334362
I think the same of you and at my post i quoted other to explain how to do it at a Samsung galaxy s3, but i have tried to decompile, edit the archives and compile, put in my phone and get a bootloop
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Hey, thanks for your post. Actually, i have also tried to modify couple of SystemUI.apk and Framework-res.apk etc. but none worked correctly or resulted in a bootloop. Hence, we need support from someone experience in these kind modifications. Moreover, i never intended to create a duplicate thread but unfortunately, the search function was not working at that time and I had to create it
Hopefully, someone will help us out in this regard.
lethalfriend said:
Hi,
I need transparent statusbar for Nexus 4 official rom, don't want to use any custom roms. Can somebody help me with this?
Thanks in advance.
Click to expand...
Click to collapse
Do you at least have root?
Sent from my Nexus 4 using xda premium
Yes I do have root
Sent from my C6603 using Tapatalk 4 Beta
lethalfriend said:
Yes I do have root
Sent from my C6603 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Do you want it 100% transparent?
Sent from my Nexus 4 using xda premium
obtained said:
Do you want it 100% transparent?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Yes, that would be awesome and thank you so much for helping me out
lethalfriend said:
Yes, that would be awesome and thank you so much for helping me out
Click to expand...
Click to collapse
It's not a problem. Will you send me your systemui.apk?
Sent from my Nexus 4 using xda premium
obtained said:
It's not a problem. Will you send me your systemui.apk?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Here you go bro.
https://www.dropbox.com/s/zv9au40he4g0xa7/SystemUI.apk
lethalfriend said:
Here you go bro.
https://www.dropbox.com/s/zv9au40he4g0xa7/SystemUI.apk
Click to expand...
Click to collapse
I modified the image to be transparent, tested it, and it did not work for me on the rom i'm using. But here is a flashable zip. I'd prefer you to make a backup first. For some reason making the status bar transparent just isn't as easy as it used to be...
obtained said:
I modified the image to be transparent, tested it, and it did not work for me on the rom i'm using. But here is a flashable zip. I'd prefer you to make a backup first. For some reason making the status bar transparent just isn't as easy as it used to be...
Click to expand...
Click to collapse
Once again thank you so much for your time and efforts. However, i'll test the attached zip and will post the results as early as possible.
lethalfriend said:
Once again thank you so much for your time and efforts. However, i'll test the attached zip and will post the results as early as possible.
Click to expand...
Click to collapse
Not a problem at all. I hope it works for you.
Sent from my Nexus 4 using xda premium
For me don't works, i'm on stock rom, stock launcher but i tried other launchers.
Thanks
Sent from my Nexus 4 using xda app-developers app
I think you shall hold till 4.3 is out ,and try modifying it.
obtained said:
Not a problem at all. I hope it works for you.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Hey bro, finally i have tried it and unfortunately, its not working for me either maybe need to edit some other parameters as well
obtained said:
Not a problem at all. I hope it works for you.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
You have edited "tw_super_status_bar.XML" and "drawables.xml"?
Thanks for help we.
Sent from my Nexus 4 using xda app-developers app
Someone want to try this one? If this doesn't work then I don't know what will. I've tried one image and a few different xmls and none seem to work.
obtained said:
Someone want to try this one? If this doesn't work then I don't know what will. I've tried one image and a few different xmls and none seem to work.
Click to expand...
Click to collapse
I tried it now, it works, but you have edited the wrong files, maked the notications transparent.
I have a tutorial:
1. You should decompile SystemUI.apk
2. Open /SystemUI/res/layout/tw_super_status_bar.xml and change android:background to 100% transparent:
Code:
<com.android.systemui.statusbar.phone.StatusBarWindowView android:background="#00000000" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
3. Save /SystemUI/res/layout/tw_super_status_bar.xml
4. Open /SystemUI/res/values/drawables.xml and edit this line to get transparency you need, for example, 100% transparent:
Code:
<item type="drawable" name="status_bar_background">#00000000</item>
5. Save /SystemUI/res/values/drawables.xml
6. Recompile SystemUI.apk
Done... Now you have 100% transparent homescreen statusbar
A short hint:
#00000000 - 100% transparency
#3F000000 - 75% transparency
#7F000000 - 50% transparency
#BF000000 - 25% transparency
Thaks for helping.
llsantiago said:
I tried it now, it works, but you have edited the wrong files, maked the notications transparent.
I have a tutorial:
1. You should decompile SystemUI.apk
2. Open /SystemUI/res/layout/tw_super_status_bar.xml and change android:background to 100% transparent:
Code:
<com.android.systemui.statusbar.phone.StatusBarWindowView android:background="#00000000" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
3. Save /SystemUI/res/layout/tw_super_status_bar.xml
4. Open /SystemUI/res/values/drawables.xml and edit this line to get transparency you need, for example, 100% transparent:
Code:
<item type="drawable" name="status_bar_background">#00000000</item>
5. Save /SystemUI/res/values/drawables.xml
6. Recompile SystemUI.apk
Done... Now you have 100% transparent homescreen statusbar
A short hint:
#00000000 - 100% transparency
#3F000000 - 75% transparency
#7F000000 - 50% transparency
#BF000000 - 25% transparency
Thaks for helping.
Click to expand...
Click to collapse
I decompiled SystemUI.apk and can find no tw_super_status_bar.xml anywhere.
I did edit super_status_bar.xml and drawables.xml but there's no tw_super_status_bar.xml...?
obtained said:
I decompiled SystemUI.apk and can find no tw_super_status_bar.xml anywhere.
I did edit super_status_bar.xml and drawables.xml but there's no tw_super_status_bar.xml...?
Click to expand...
Click to collapse
Sorry, tw super status bar its for touchwiz, but editing that thinks at super_status_bar.XML and drawables.xml like the tutorial i think will work.
Thaks one more time
Sent from my Nexus 4 using xda app-developers app

[MOD][How To] SecSettings Torchlight Option

Adding TorchLight Option In Settings>Display.
Decompile SecSettings.apk
Goto res/xml/display_settings.xml
Apply Changes Below (Bold Red)
Code:
<PreferenceCategory android:title="@string/tts_general_section_title" android:key="general" />
<PreferenceScreen android:title="@string/wallpaper" android:key="wallpaper" android:fragment="com.android.settings.WallpaperSettings" />
<PreferenceScreen android:title="@string/led_indicator_settings" android:key="led_indicator_settings" android:fragment="com.android.settings.LedIndicatorSettings" />
[B][COLOR="Red"]<PreferenceScreen android:title="Torchlight" android:key="torchlight" android:fragment="com.android.settings.torchlight.TorchlightSettings" />[/COLOR][/B]
<PreferenceScreen android:title="@string/notification_panel_title" android:key="notification_panel_edit" android:fragment="com.android.settings.NotificationPanelMenu" />
<CheckBoxPreference android:title="@string/multi_window_title" android:key="key_multi_window" android:summary="@string/multi_window_summary" android:widgetLayout="@touchwiz:layout/preference_widget_twcheckbox" />
<SwitchPreferenceScreen android:title="@string/page_buddy" android:key="contextualpage_settings" android:summary="@string/page_buddy_summary" android:fragment="com.android.settings.ContextualPageSettings" />
Compile SecSettings.apk !
Download Complete Mod For MF8 Deodexed
Another way to get to those settings is to create a custom shortcut for them.
In Nova for instance;
Long click on home screen, go to Shortcuts, Activities, Settings, Torch Light. Pick the one that points to torchlight.TorchlightSettings
Now you've got the same options.
This what I'm going on my rom but it isn't working any ideas
Sent from my SGH-M919 using Tapatalk 2
Lantek23 said:
This what I'm going on my rom but it isn't working any ideas
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Ya I tried this on a friends phone and it didn't work, I tried the nova way, any ideas?
Odd, it works like a charm for me using the shortcut method.
After setting that check box and turning the screen off the volume off button turns the light on. It stays on for as long as set in the second option or until I hit the volume down button.
I'm currently running stock firmware XXUMBF5 in case that makes any difference.
Make sure "TorchlightSettings" in the end is written like this.capital T and S
Sent from my GT-I9505
Is this mod in any way in conflict with 3minit framework, or is it ok to flash over it?
Nice mod mate! will be putting it on the index of mods soon. Good job
Sent from my GT-I9505 using xda premium
Just in case anyone was wondering, this works flawlessly on the GOLDENEYE v3.0 ROM in the AT&T forum
Sent from my Samsung Galaxy S4
i flashed the zip gave me torch option i checked it on, and turn screen off pressed button, nothing happens
Stavr0s91i said:
Adding TorchLight Option In Settings>Display.
Decompile SecSettings.apk
Goto res/xml/display_settings.xml
Apply Changes Below (Bold Red)
Code:
<PreferenceCategory android:title="@string/tts_general_section_title" android:key="general" />
<PreferenceScreen android:title="@string/wallpaper" android:key="wallpaper" android:fragment="com.android.settings.WallpaperSettings" />
<PreferenceScreen android:title="@string/led_indicator_settings" android:key="led_indicator_settings" android:fragment="com.android.settings.LedIndicatorSettings" />
[B][COLOR="Red"]<PreferenceScreen android:title="Torchlight" android:key="torchlight" android:fragment="com.android.settings.torchlight.TorchlightSettings" />[/COLOR][/B]
<PreferenceScreen android:title="@string/notification_panel_title" android:key="notification_panel_edit" android:fragment="com.android.settings.NotificationPanelMenu" />
<CheckBoxPreference android:title="@string/multi_window_title" android:key="key_multi_window" android:summary="@string/multi_window_summary" android:widgetLayout="@touchwiz:layout/preference_widget_twcheckbox" />
<SwitchPreferenceScreen android:title="@string/page_buddy" android:key="contextualpage_settings" android:summary="@string/page_buddy_summary" android:fragment="com.android.settings.ContextualPageSettings" />
Compile SecSettings.apk !
Download Complete Mod For MF8 Deodexed
Click to expand...
Click to collapse
So does this mod conveniently put the Torch Light in the settings menu or does it also enable the functionality altogether?
I used it on my AT&T Galaxy S4 with Goldeneye 4.0 ROM and it worked great. I was doing some testing on a stock AT&T MDL S4...used Nova Launcher to grab the hidden link to the settings (not using your mod) and I was able to enable the Torch Light but it didn't actually work.
I'm wondering whether the functionality is enabled in a later build or if it's your mod that's doing the enabling.
Thanks!
Torchactivity is already included in secsettings..samsung just hasent added it to settings for some reason
Sent from my GT-I9505 using xda premium
If you download the zip in the original post, does that mean I can just flash it and skip all the instructions before it about unpacking the apk and all that? Thanks!
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Can't even boot up after flashing it
Andyk. said:
Can't even boot up after flashing it
Click to expand...
Click to collapse
Please learn to read .MF8 DEODEXED.
Hi guys. My S health app is crashing at startup, can someone else who has this mod tell me if their S health app works Ok? (I know one cause for S health crashing is having the multi Window exposed hack installed, which I fixed a while ago by uninstalling that, but now it's crashing and I can't figure out what's causing the crash.)
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
Solange82200 said:
Hi guys. My S health app is crashing at startup, can someone else who has this mod tell me if their S health app works Ok? (I know one cause for S health crashing is having the multi Window exposed hack installed, which I fixed a while ago by uninstalling that, but now it's crashing and I can't figure out what's causing the crash.)
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Would anyone be so kind as to compile a zip that I can flash that will return the torchlight option back to stock (as if it never happened)? I tried to see if I could find a secsettings.apk file in my phone that I could decompile and take out the edits in red, but I couldn't find the file and the guides out there on decompiling apks are way above my level of expertise. I appreciate any help I could get, thank you so much....
Hai I mod this on i9205
The secsetting show touchlight option
But it not function. ...
Can u help me on this...
@Stavr0s91i works on MHB ... thanks a lot
Carotix said:
@Stavr0s91i works on MHB ... thanks a lot
Click to expand...
Click to collapse
Does it create wake lock? I remember that when I tried to use it it did not leave phone to go into deep sleep...

Categories

Resources