Related
Hello People!
I was wondering if someone knows if there is someone who can make a semi-transparent statusbar and dropdown menu? Or is there a ''how to'', to make it my own?
Hope this thread is on the right place.
Greets
[B-shorty]
Transparent status bar when on home screen on launcher pro is something I'm dying for since a very very long time...
you can make the background of the statusbar. The file ist in the framework-res.apk. Named "status_bar_background.9.png"
I uploaded an example for you
Ok thank you!
Had how can i implement and apply this adjustment?
Thank you!
Gunny© said:
you can make the background of the statusbar. The file ist in the framework-res.apk. Named "status_bar_background.9.png"
I uploaded an example for you
Click to expand...
Click to collapse
Doesn't work for gingerbread.
Have a look at SystemUI.apk/res/layout/status_bar_tracking.xml
scheichuwe said:
Doesn't work for gingerbread.
Have a look at SystemUI.apk/res/layout/status_bar_tracking.xml
Click to expand...
Click to collapse
How can i adjust that xml file? I'm totally new in adjusting such files.
Thank you!
B_sHorTy said:
How can i adjust that xml file? I'm totally new in adjusting such files.
Thank you!
Click to expand...
Click to collapse
scheichuwe is right. Change the status_bar_tracking.xml to point the background to a drawable.. Something like :-
<View android:background="@drawable/shade_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Then make your drawable transparent. I've attached the one I use but you can always make your own if you want.
Hope this helps..
EDIT: The attachment should be called shade_bg.png. It seems to have been renamed when I attached it????
Rimmer1966 said:
scheichuwe is right. Change the status_bar_tracking.xml to point the background to a drawable.. Something like :-
<View android:background="@drawable/shade_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Then make your drawable transparent. I've attached the one I use but you can always make your own if you want.
Hope this helps..
EDIT: The attachment should be called shade_bg.png. It seems to have been renamed when I attached it????
Click to expand...
Click to collapse
Do i need to past those lines in that XML file? how can i apply the changes i made?
Thanks!
Is this project finished?
Is it possible someone send modified xml file for transparent status bar in gingerbread ( 2.3.4)?
I would like that too..
I tried to make it my self but with no success.
Every time I changed something, the statusbar was gone. (like the whole status bar)
any progress on this?
same question.. somebody know?
UPDATE!
07/12 JVX added
14/7: JVT version added
14/7: JVQ CWM flashable versions for odexed and deodexed! Massive props to to $omator for this, who obviously knows a lot more about creating CWM zips than I do. Go to his post to download, and thank him while you're at it!
30/6: New JVQ version, thanks again bigdyl69! Get it here.
13/6: JVP version now exists, get it here thanks to bigdyl69!
21/5: Added Froyo JSD and Ginger JVO versions.
10/5: Added JVH version
Ok, this does what it says on the tin. It's a mod of the JVX messaging app that adds 3 often requested features:
No autoconvert to MMS after 3 messages
Sending to unlimited contacts
Sent time instead of received time. If you turn off your phone, messages you get whilst it's off will have the right time!
To install:
Simply copy the included apk depending on your system version to /system/app/Mms.apk, and make a backup first just in case.
Notes:
Your ROM MUST be deodexed!
If it doesn't work, clear the cache, the Dalvik cache, and also clear data for Messaging under Settings->Applications->Manage Applications (it won't delete your messages).
If the times are off by several hours download SMS Time Fix and set it the the correct number of hours to fix the timestamps.
The JVB MMS apk is actually from Darky's 10 RC6, but I don't think it's different from the default.
If I get enough requests for:
Other versions (e.g. JVK, etc)
CWM flashable versions
I'll make them.
Hope this is useful to people!
Massive props to ykk_five for his original mod! I couldn't have made this without his help.
HOWTO
Do you theme your Mms app? Got a custom ROM going on and want to do this yourself? Well here's how!
Download Apk Manager from here.
Get your Mms.apk from /system/app/Mms.apk
Get your twframework-res.apk from /system/framework
Open up Apk Manager and choose option 22
Select Mms.apk as your project
Select option 10 (decompile with dependencies)
When it asks you for your dependency, drag and drop twframework-res.apk into the window and press enter
When that's done, go into apk_manager/projects/Mms.apk
Under /res/xml open up mms_config.xml
Go to: <int name="recipientLimit">10</int> change this to -1
Go to <int name="smsToMmsTextThreshold">4</int> Change this to 100
Now open up /smali/com/android/mms/transaction/SmsReceiverService.smali and open it in any text editor.
Search for 'time'. There will be one entry at approximately line 523
Replace this with: invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J
There will be another at approximately line 2270.
Replace this with: invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J
Save and close them all and go back to apk manager, option 11 'compile'
When you're done, it'll tell you about a 'keep' folder. Go delete mms_config.xml, and in the keep folder also delete resources.arsc and classes.dex
Copy your new Mms.apk to your phone! Don't forget to back up your old one in case you make a mistake.
If you get errors, check the log for mentions of 9.png errors. If they are there, fix your 9 patch files! Use google for that, I'm not explaining how to do this.
If you can't be bothered to do this or don't know how, send me a PM! I've made more than 8 custom Mms.apks for people so far.
Did you know that this was the thing I look for?
Thank you!
I'll provide feedback in case of any problems.
I was wondering if I use handcent sms do I still need this if I wanted the "sent time" instead of receive time?
Cheers
NeoXTC said:
I was wondering if I use handcent sms do I still need this if I wanted the "sent time" instead of receive time?
Cheers
Click to expand...
Click to collapse
No, this is only a modification to the stock SMS app, sorry.
Hey mate,
What did you change in the apk to remove the mms convert?
I am trying to edit the TW4 mms.apk to be the same as what you've done.
Thanks!
Otherwise, Could you make the same changes to the attached mms.apk?
this is the TW4 one.
Ryyuu said:
Hey mate,
What did you change in the apk to remove the mms convert?
I am trying to edit the TW4 mms.apk to be the same as what you've done.
Thanks!
Otherwise, Could you make the same changes to the attached mms.apk?
this is the TW4 one.
Click to expand...
Click to collapse
Under res / xml / mms_preferences.xml change
<int name="smsToMmsTextThreshold">3</int>
To something like 100. I'd just make the edit for you but I'm not at home
Fantastic!!
Thanks mate.
What about the received time setting too?
Also, How are you decompiling and editing your apk's?
I'm on a mac so have been using Betterzip to extract them and KOD to edit them... but i'm afraid i'm still seeing all scrambled text...
Ryyuu said:
Fantastic!!
Thanks mate.
What about the received time setting too?
Also, How are you decompiling and editing your apk's?
I'm on a mac so have been using Betterzip to extract them and KOD to edit them... but i'm afraid i'm still seeing all scrambled text...
Click to expand...
Click to collapse
Ehhh, received time edit involves decompiling and editing the smali files, so it's a little more complex.
As for decompiling/editing, I use apk manager, which is Windows only as far as I know. I run it on my mac using Boot Camp. Also, it won't decompile properly without using the twframework-res.apk dependency file, so make sure you have the tw4 equivalent of that. PM me if you're game to try the smali editing.
Thank so much for your help mate.
I have successfully edited the TW4 mms.apk to remove the SmsToMms conversion.
I'll create a topic for it. But thank you very much for your help. I might have a look at converting the time too. I'll send you a PM.
icon missing
hello, after replaced and rebooted, Messaging icon dissappeared from bottom bar of twiz. Any idea how to bring it back...Sms works normally, sending time shown, as expected.
ruh01 said:
hello, after replaced and rebooted, Messaging icon dissappeared from bottom bar of twiz. Any idea how to bring it back...Sms works normally, sending time shown, as expected.
Click to expand...
Click to collapse
[Solved by Ryyuu, scroll down]
All you need to do to fix this is open the app drawer, press edit, find the messaging icon and drag it to the dock.
This can sometimes happen when playing around with apk's.
Fixed.
You don't imagine how much I am thankful to you. I was looking for this very mod. Thank you so much. It works like a charm on my SGS with Darky's v10.RC6
hi,good work.would you please tell me,which xml or smali files to edit or post it as sources files for developers?I would like to insert it into my transparent mms app.
pauldiddy said:
hi,good work.would you please tell me,which xml or smali files to edit or post it as sources files for developers?I would like to insert it into my transparent mms app.
Click to expand...
Click to collapse
For xml, go to res/xml/mms_preferences.xml, then edit recipientLimit and smsToMmsTextThreshold to something overly large, I used 100 as it seems no one will breach that limit.
As for the sent time, just decompile this and stock Mms.apk and do a windiff on the smali folders. There's 2 lines changed which will jump right out.
Hi.Thanks works perfect on deodexed JVB.
montymintypie said:
For xml, go to res/xml/mms_preferences.xml, then edit recipientLimit and smsToMmsTextThreshold to something overly large, I used 100 as it seems no one will breach that limit.
As for the sent time, just decompile this and stock Mms.apk and do a windiff on the smali folders. There's 2 lines changed which will jump right out.
Click to expand...
Click to collapse
thank you,got it.
I know this may be a little off topic but would this modification work on the JPY froyo MMS.apk? I have decompiled it and looked at the xml and there is a mms_config.xml file with the following code in it:
<?xml version="1.0" encoding="UTF-8"?>
<mms_config version="4">
<bool name="enabledMMS">true</bool>
<int name="maxMessageSize">307200</int>
<int name="mmsHeaderSize">5120</int>
<int name="maxImageHeight">480</int>
<int name="maxImageWidth">640</int>
<int name="defaultSMSMessagesPerThread">200</int>
<int name="defaultMMSMessagesPerThread">20</int>
<int name="minMessageCountPerThread">10</int>
<int name="maxMessageCountPerThread">5000</int>
<string name="uaProfUrl">http://wap.samsungmobile.com/uaprof/GT-i9000.xml</string>
<string name="userAgent">SAMSUNG-GT-I9000-Mms/2.0</string>
<string name="uaProfUrlS1">http://wap.samsungmobile.com/uaprof/GT-i9000.xml</string>
<string name="userAgentS1">SAMSUNG-GT-I9000-Mms/2.0</string>
<string name="uaProfUrlApollo">http://wap.samsungmobile.com/uaprof/GT-i5801.xml</string>
<string name="userAgentApollo">SAMSUNG-GT-I5801-Mms/2.0</string>
<int name="recipientLimit">100</int>
<int name="smsToMmsTextThreshold">100</int>
</mms_config>
Click to expand...
Click to collapse
As you can see I've edited the bottom two lines of code like what you have done to the JVB MMS.apk. Do you think this will work?
It should work just as well on the JPY version, compile it and give it a go!
montymintypie said:
It should work just as well on the JPY version, compile it and give it a go!
Click to expand...
Click to collapse
Well I tried it and it kind of works. I can send a message up to 7 messages long and it doesn't auto convert but if I try to make the message any longer it tells me 'Maximum number of characters reached' so it sort of works. Do you know of any way around this or is it best to just leave it? Probably won't ever need to send a sms longer than 7 messages long but just thought I'd ask
Anyone have a semi-detailed list of which app/framework XML files I can decompile/edit to change text colors? I know a few of them, but I want to get creative.
Any help would be appreciated.
Bump. I would also like to find these answers. Also maybe the XML for the clock color? Not trying to hijack your thread but I posted a question similar to this last week and no answers.
Sent from my SPH-D710 using Tapatalk
To change the clock color decompile your framework-res.apk, go to framework-res.apk\res\values\color.xml and look for:
<color name="status_bar_clock_text">#ffebebeb</color>
change it to whatever color value you'd like.
The text colors are in the same file, and get changed the same way, look for:
<color name="status_bar_event_primary_text">#ffffffff</color>
<color name="status_bar_event_secondary_text">#ffxxxxxx</color>
<color name="sub_text_color">#ffxxxxxx</color>
<color name="text_selection_color">#ffxxxx</color>
Not trying to be funny or a smart ass, but if it is not obvious, and since it can be confusing the x's represent your color choice.
If you use APK Manager to decompile check the log immediately afterward to make sure there are no issues with .9's or missing png's. If there is just replace them with those from a stock ROM and swap them back out with 7zip (or your favorite archiving utility) after you recompile.
fnut6969 said:
To change the clock color decompile your framework-res.apk, go to framework-res.apk\res\values\color.xml and look for:
<color name="status_bar_clock_text">#ffebebeb</color>
change it to whatever color value you'd like.
The text colors are in the same file, and get changed the same way, look for:
<color name="status_bar_event_primary_text">#ffffffff</color>
<color name="status_bar_event_secondary_text">#ffxxxxxx</color>
<color name="sub_text_color">#ffxxxxxx</color>
<color name="text_selection_color">#ffxxxx</color>
Not trying to be funny or a smart ass, but if it is not obvious, and since it can be confusing the x's represent your color choice.
If you use APK Manager to decompile check the log immediately afterward to make sure there are no issues with .9's or missing png's. If there is just replace them with those from a stock ROM and swap them back out with 7zip (or your favorite archiving utility) after you recompile.
Click to expand...
Click to collapse
Thank you so much for the response. I must have set something up wrong on my computer, because even with a stock rom, after I edit the xml with notepad ++ using apk manager or apktool, I get errors and can't get it recompiled. I'm going to give it another try, but thanks again for your help. At least I know the right files to be looking for.
EDIT:
I finally got my first apk to recompile after editing the XML's in framework-res.apk. Now it's time to play around.
You're welcome, definitely check the log for misnamed png's, improperly patched .9's, etc., then fix them and start fresh, because you can decompile (but will never get it to recompile) the apk regardless of the errors.
fnut6969 said:
You're welcome, definitely check the log for misnamed png's, improperly patched .9's, etc., then fix them and start fresh, because you can decompile (but will never get it to recompile) the apk regardless of the errors.
Click to expand...
Click to collapse
This can be a headache, hehe. I finally get the framework-res.apk to recompile after changes then insert the new one, but then the phone gets stuck in a bootloop. I'm going to have to read more into this in how to theme section.
EDIT:
I think I figured it out. I guess if you make changes to XML's you have to change out the META-INF folder from the original framework. Once I did that it worked like a charm.
I was searching galaxy y forums to make my rom transparent and I got few guides but none of them worked
So I find a way my self (with help of my seniors) :laugh:
You need-->
* framework-res.apk of your rom
* apktool or any tool to recompile or decompile
* text editor like notepad++
* 7zip
* patience
* 5 minutes
Procedure-->
*Decompile framework-res.apk
* Open decompiled framework-res.apk folder and find res/values/styles.xml
* open it via notepad++
Note--> styles.xml is the key file, it control all apps layout and look.
* In styles.xml search for <style name="Theme"> this is the main theme layout. all app uses this.
* Under <style name="Theme"> search for <item name="colorBackground">@color/background_dark</item>
*Now change this to <item name="colorBackground">@color/transparent</item>
* Now add this line <item name="windowIsTranslucent">true</item>
below this line--> <item name="colorBackground">@color/transparent</item> this line makes all system apps background to transparent.
Now you have to ways to set transparency and colour [Very Important part] Use any one method you like
first method -->
Make a transparent image save it as png file. Make sure it has correct resolution(for galaxy y it's 240 x 320 )
Dont make full transparent, it looks odd
Save it and paste in drawable ldpi (Might be mdpi/hdpi for other devices)
Now open res/values/styles.xml and look for <item name="windowBackground">@drawable/screen_background_dark</item>
Change this to <item name="windowBackground">@drawable/image</item> *(here I save my png named with "image",You can save it with any name)
Save it and recompile with original signature and push it to your system/framework folder :laugh:
second method -->
open res/values/styles.xml and look for
<item name="windowBackground">@drawable/screen_background_dark</item>
Change this to <item name="windowBackground">#80ffffff</item> or any other color hex code as u want. First two digits control transparency.
Save it and recompile with Original Signature and push it to system/framework and done.
Important notes-->
1.I use TickelMyAndroid tool to recompile and decompile..It's easy to use and there's an option to sign with original signature..If u don't use tickel my android then u need to do below steps
Compile framework-res.apk and open it with 7zip and delete resources file . open stock framework (unedited) with 7zip,, and open edited framework with 7zip.
drag and drop resources file and res folder from unedited to edited framework..
Thats it. Push it to system/framework.
2.If u push framework through mobile (root explorer or any root browser) then first change permission of framework-res.apk to r-w--r--r and then push
3.This procedure for stock rom.. If you use any custom roms then in styles.xml the codes might be setted already to transparency.. Then you just need to skip those lines and leave them and do the Rest procedure
Awesome
[email protected] said:
I was searching galaxy y forums to make my rom transparent and I got few guides but none of them worked
So I find a way my self (with help of my seniors) :laugh:
You need-->
* framework-res.apk of your rom
* apktool or any tool to recompile or decompile
* text editor like notepad++
* 7zip
* patience
* 5 minutes
Procedure-->
*Decompile framework-res.apk
* Open decompiled framework-res.apk folder and find res/values/styles.xml
* open it via notepad++
Note--> styles.xml is the key file, it control all apps layout and look.
* In styles.xml search for <style name="Theme"> this is the main theme layout. all app uses this.
* Under <style name="Theme"> search for <item name="colorBackground">@color/background_dark</item>
*Now change this to <item name="colorBackground">@color/transparent</item>
* Now add this line <item name="windowIsTranslucent">true</item>
below this line--> <item name="colorBackground">@color/transparent</item> this line makes all system apps background to transparent.
Now you have to ways to set transparency and colour [Very Important part] Use any one method you like
first method -->
Make a transparent image save it as png file. Make sure it has correct resolution(for galaxy y it's 240 x 320 )
Dont make full transparent, it looks odd
Save it and paste in drawable ldpi (Might be mdpi/hdpi for other devices)
Now open res/values/styles.xml and look for <item name="windowBackground">@drawable/screen_background_dark</item>
Change this to <item name="windowBackground">@drawable/image</item> *(here I save my png named with "image",You can save it with any name)
Save it and recompile with original signature and push it to your system/framework folder :laugh:
second method -->
open res/values/styles.xml and look for
<item name="windowBackground">@drawable/screen_background_dark</item>
Change this to <item name="windowBackground">#80ffffff</item> or any other color hex code as u want. First two digits control transparency.
Save it and recompile with Original Signature and push it to system/framework and done.
Important notes-->
1.I use TickelMyAndroid tool to recompile and decompile..It's easy to use and there's an option to sign with original signature..If u don't use tickel my android then u need to do below steps
Compile framework-res.apk and open it with 7zip and delete resources file . open stock framework (unedited) with 7zip,, and open edited framework with 7zip.
drag and drop resources file and res folder from unedited to edited framework..
Thats it. Push it to system/framework.
2.If u push framework through mobile (root explorer or any root browser) then first change permission of framework-res.apk to r-w--r--r and then push
3.This procedure for stock rom.. If you use any custom roms then in styles.xml the codes might be setted already to transparency.. Then you just need to skip those lines and leave them and do the Rest procedure
Click to expand...
Click to collapse
Awesomeee work sir..I will try this ASAP
Ok
kismatmansi said:
Awesomeee work sir..I will try this ASAP
Click to expand...
Click to collapse
Test it and report here...I test it in my galaxy y in 4 roms... So I hope it'll work for u too
[email protected] said:
Test it and report here...I test it in my galaxy y in 4 roms... So I hope it'll work for u too
Click to expand...
Click to collapse
Ok sir
I don't know where did you search but here is an all in one guide and it works well on galaxy y
[GUIDE][MOD]Transparency for froyo,gb, ics
AbhiLP said:
I don't know where did you search but here is an all in one guide and it works well on galaxy y
[GUIDE][MOD]Transparency for froyo,gb, ics
Click to expand...
Click to collapse
Sir I never Got any working method.. Thatswhy I post this. I got this idea from marcussmith2626's post ..where he guide to make lockscreen and statusbar transparent. I also got help from my seniors.
[email protected] said:
Sir I never Got any working method.. Thatswhy I post this. I got this idea from marcussmith2626's post ..where he guide to make lockscreen and statusbar transparent. I also got help from my seniors.
Click to expand...
Click to collapse
Basically, They are all same guides. It doesn't matter which one you try, you'll be doing same steps. The link i've posted above contains 4 guides including the ones you've posted here.
Anyway, a nice try !
AbhiLP said:
Basically, They are all same guides. It doesn't matter which one you try, you'll be doing same steps. The link i've posted above contains 4 guides including the ones you've posted here.
Anyway, a nice try !
Click to expand...
Click to collapse
Sir As I told u I tried many methods before. None of them worked for me . And the method was not worked for rest members also(I see the comments on those threads)... In those tuts they didn't mention to use transparent images Thatswhy they didn't worked..but in your link the third method only seems to be working (see my 2nd method here in the post ) Rest three methods of your link didn't worked for me .(as I tried before)
D85* variants, works (to my knowledge) on all roms that support lg quick circle.
marshmellow QC Coming soon as soon as i can.
*Warning: Although this is working fine for me and others, i cant guarantee the safty of your device. This is a very simple Flash and complications are very very VERY rare. However i am not responsible for any damages done to your device please Always Backup With TWRP Before hand. This Only Works With TWRP. And (as far as i know) Only for D855-D852. Flash at your own risk if your using a different model number
I want to make more i have future ideas for a superman clock and a number of other clocks if you have any ideas im more than happy to try them out. Just Message me. I make clocks to work for Lollipop and Kitkat. If you Run lollipop on g3 and have a ROM and you chose Xposed over quick circle "DONT FLASH THESE"
Space Clock:
Lollipop: https://www.dropbox.com/s/zoi9o79v4xk5f64/space%20Clock%20for%20lollipop.zip?dl=0
Kitkat: https://www.dropbox.com/s/75lm8gelp2olcq8/space%20clock%20for%20kitkat.zip?dl=0
Update!!! Im working on bringing my space clock to marshmellow & working on a brand new clock called "around the world" which will have a number of moving objects a hot air balloon and clouds, a Plane and a number of monuments form countries around the world. While will also slowly rotate.
Click to expand...
Click to collapse
Contributors: Thanks to Lillo75 for zip And Ashrockr for assistance too.
I can't decompile it with apktool, so I can't help you.
Inorder to decrypt the file you need decompile the apk.( There are some great tool for easy decopilation of apk).
I've already modified these clock for g2 running g3 rom which has a rectangular case.
Moreover to remove the date which appears behind your second's hand you need to edit the smali file which you'll get by decompiling the apk.
Hence you need to learn how to decompile and edit smali file.
Ashrockr said:
Inorder to decrypt the file you need decompile the apk.( There are some great tool for easy decopilation of apk).
I've already modified these clock for g2 running g3 rom which has a rectangular case.
Moreover to remove the date which appears behind your second's hand you need to edit the smali file which you'll get by decompiling the apk.
Hence you need to learn how to decompile and edit smali file.
Click to expand...
Click to collapse
Have you successed in decompiling android 5.0 system apks using apktool? it fails for me.
yoavst said:
Have you successed in decompiling android 5.0 system apks using apktool? it fails for me.
Click to expand...
Click to collapse
I too couldn't decompile the apk from 5.0 even though it has been updated to decompile 5.0 apps.
Mmm well im running kitkat atm. So i night try that then. Ive got rid of date i just want to customise it more to behonest lol. I like digital but i want spinny clock. Is apktool the best to use??
well ive decompiled and im begining the smali edit lol ... this should be intresting
Green:- Hour
White:- Minute
Orange:- Second (All working good. Couldn't remove the date bg.)
I attached a zip file which will add digital clock to you analog clock (3rd clock), just flash using twrp.
It didn't add the files to change the clock face so that you can add your own style. Also it won't remove the date.
Flash at your risk. Also DO make a backup of LGAlarmClock.apk if you want to remove the mod.
Tested on cloudyG3 2.1 for G2 (G3A based rom).
Only for kitkat.
Is it possible to make it work on aosp based ROMs??
Thx
Ashrockr said:
View attachment 3072850
Green:- Hour
White:- Minute
Orange:- Second (All working good. Couldn't remove the date bg.)
I attached a zip file which will add digital clock to you analog clock (3rd clock), just flash using twrp.
It didn't add the files to change the clock face so that you can add your own style. Also it won't remove the date.
Flash at your risk. Also DO make a backup of LGAlarmClock.apk if you want to remove the mod.
Tested on cloudyG3 2.1 for G2 (G3A based rom).
Only for kitkat.
Click to expand...
Click to collapse
Wow thats awesome!, so i flash it like a normal rom?
Ashrockr said:
View attachment 3072850
Green:- Hour
White:- Minute
Orange:- Second (All working good. Couldn't remove the date bg.)
I attached a zip file which will add digital clock to you analog clock (3rd clock), just flash using twrp.
It didn't add the files to change the clock face so that you can add your own style. Also it won't remove the date.
Flash at your risk. Also DO make a backup of LGAlarmClock.apk if you want to remove the mod.
Tested on cloudyG3 2.1 for G2 (G3A based rom).
Only for kitkat.
Click to expand...
Click to collapse
Archtects said:
Wow thats awesome!, so i flash it like a normal rom?
Click to expand...
Click to collapse
Sorry How i decrypt the xml? stadard way lol
Ashrockr said:
View attachment 3072850
Green:- Hour
White:- Minute
Orange:- Second (All working good. Couldn't remove the date bg.)
I attached a zip file which will add digital clock to you analog clock (3rd clock), just flash using twrp.
It didn't add the files to change the clock face so that you can add your own style. Also it won't remove the date.
Flash at your risk. Also DO make a backup of LGAlarmClock.apk if you want to remove the mod.
Tested on cloudyG3 2.1 for G2 (G3A based rom).
Only for kitkat.
Click to expand...
Click to collapse
IGnore allll of that crap im just retarded i flashed it and its worked
soorta >_> lol, it doubles the BG Lol
https://www.dropbox.com/s/lsdqtugt1zh1nvt/Screenshot_2014-12-22-21-10-47.png?dl=0
okay i cant edit the XML at all its encrypted and ive tried loads to try edit it, and if you want to remove the date thing then you have to start coding from the WHITE analog Clock, but i cant edit the xml otherwise i might be able to stop the double bg, its only because "I imagine" the digital code is looking for a bg and because its been planted on top of the analog its using the same variable to call the same bg, there for reproducing it lol, but i cant do anything with the xml file i cant edit anything i cant view it at all lol, its encrypted.
and if i wanted to i cant seem to recompile the apk i edit wont do it so im still stuck at this lol
Ashrockr said:
View attachment 3072850
Green:- Hour
White:- Minute
Orange:- Second (All working good. Couldn't remove the date bg.)
I attached a zip file which will add digital clock to you analog clock (3rd clock), just flash using twrp.
It didn't add the files to change the clock face so that you can add your own style. Also it won't remove the date.
Flash at your risk. Also DO make a backup of LGAlarmClock.apk if you want to remove the mod.
Tested on cloudyG3 2.1 for G2 (G3A based rom).
Only for kitkat.
Click to expand...
Click to collapse
Okay! I think!! (This is me just assuming) Your xml works not by plonking all the digital code into the analoug code but your calling the digital code from the digial clock xml? So is it possible then to edit the digital.xml to remove it looking for a bg. And flash it? The same way you made itflash the clock? Sorry so many replies but i keep thinking of different things lol
Archtects said:
Okay! I think!! (This is me just assuming) Your xml works not by plonking all the digital code into the analoug code but your calling the digital code from the digial clock xml? So is it possible then to edit the digital.xml to remove it looking for a bg. And flash it? The same way you made itflash the clock? Sorry so many replies but i keep thinking of different things lol
Click to expand...
Click to collapse
Yes you are right!!
It is possible to edit the digital clack too. If you want to change the background of digital clock then edit the b2_quickcircle_digital_bg.png in raw-xxxhdpi folder.
Here's what i've edited in the analog_quick_circle_black.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="@android:color/black" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:custom="http://schemas.android.com/apk/res-auto">
<com.lge.clock.quickcover.view.AnalogQuickCircle android:gravity="center" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" custom:dial="@raw/b2_quickcircle_analog_style03_bg" custom:hand_hour="@raw/b2_quickcircle_analog_style03_hour" custom:hand_minute="@raw/b2_quickcircle_analog_style03_minute" custom:hand_second="@raw/b2_quickcircle_analog_style03_second" custom:setStyle="style03" />
<RelativeLayout android:layout_width="190dp" android:layout_height="190dp" android:layout_centerInParent="true">
<com.lge.clock.quickcover.view.DigitalQuickCircle android:layout_width="wrap_content" android:layout_height="wrap_content" custom:digital_background="@raw/b2_quickcircle_digital_bg" custom:timeColorTop="#fff1f1f1" custom:timeColorBottom="#fff1f1f1" custom:amPmColor="#fff1f1f1" custom:dateColor="#fff1f1f1" custom:circleColor="#00f1f1f1" />
</RelativeLayout>
</RelativeLayout>
May be i've edited this a bit from the last time.
But you can get the idea from it.
And if you want to create the zip file for it then put this xml file in your decompiled folder of lgalarmclock.apk/res/layout and compile it. Then open the compiled apk with winrar and extract this file(analog_quick_circle_black.xml) from there and place the file in zip(vrtheme/system/priv-app/lagalarm.apk/res/layout). Compress and flash it.
Also i've created a new for g2's window case:- View attachment 3075006
That's awesome Clock haha!! Okay well I'm going to carry on having a play once its done it look awesome lol. But cheers dude. Really helped ! Ill keep updating if i find anything new or have done it lol
Ashrockr said:
Yes you are right!!
It is possible to edit the digital clack too. If you want to change the background of digital clock then edit the b2_quickcircle_digital_bg.png in raw-xxxhdpi folder.
Here's what i've edited in the analog_quick_circle_black.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="@android:color/black" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:custom="http://schemas.android.com/apk/res-auto">
<com.lge.clock.quickcover.view.AnalogQuickCircle android:gravity="center" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" custom:dial="@raw/b2_quickcircle_analog_style03_bg" custom:hand_hour="@raw/b2_quickcircle_analog_style03_hour" custom:hand_minute="@raw/b2_quickcircle_analog_style03_minute" custom:hand_second="@raw/b2_quickcircle_analog_style03_second" custom:setStyle="style03" />
<RelativeLayout android:layout_width="190dp" android:layout_height="190dp" android:layout_centerInParent="true">
<com.lge.clock.quickcover.view.DigitalQuickCircle android:layout_width="wrap_content" android:layout_height="wrap_content" custom:digital_background="@raw/b2_quickcircle_digital_bg" custom:timeColorTop="#fff1f1f1" custom:timeColorBottom="#fff1f1f1" custom:amPmColor="#fff1f1f1" custom:dateColor="#fff1f1f1" custom:circleColor="#00f1f1f1" />
</RelativeLayout>
</RelativeLayout>
May be i've edited this a bit from the last time.
But you can get the idea from it.
And if you want to create the zip file for it then put this xml file in your decompiled folder of lgalarmclock.apk/res/layout and compile it. Then open the compiled apk with winrar and extract this file(analog_quick_circle_black.xml) from there and place the file in zip(vrtheme/system/priv-app/lagalarm.apk/res/layout). Compress and flash it.
Also i've created a new for g2's window case:- View attachment 3075006
Click to expand...
Click to collapse
can i push the xml to phone with out recompiling? for some reason my LGALARMCLOCK.apk Will not compile at all. im using apk tool
Archtects said:
can i push the xml to phone with out recompiling? for some reason my LGALARMCLOCK.apk Will not compile at all. im using apk tool
Click to expand...
Click to collapse
No you have to compile first.
https://www.dropbox.com/s/f54ljacx9ou9fs1/Screenshot_2014-12-23-22-20-19.png?dl=0
ive managed to get this so far.
need to work out how to change the color of the text now
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="@*android:color/black" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:custom="http://schemas.android.com/apk/res-auto">
<com.lge.clock.quickcover.view.AnalogQuickCircle android:gravity="center" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" custom:dial="@raw/b2_quickcircle_analog_style03_bg" custom:hand_hour="@raw/b2_quickcircle_analog_style03_hour" custom:hand_minute="@raw/b2_quickcircle_analog_style03_minute" custom:hand_second="@raw/b2_quickcircle_analog_style03_second" custom:setStyle="style02" />
<RelativeLayout android:layout_width="190.0dip" android:layout_height="190.0dip" android:layout_centerInParent="true">
<com.lge.clock.quickcover.view.DigitalQuickCircle android:layout_width="wrap_content" android:layout_height="wrap_content" custom:digital_background="@null" custom:timeColorTop="#154C6F" custom:timeColorBottom="#435e6f" custom:amPmColor="#435e6f" custom:dateColor="#435e6f" custom:circleColor="@null" />
</RelativeLayout>
</RelativeLayout>
this above is the code that should finaly finish the job lol!.
once i can actualy compile the flaming APK lol. still wont compile ive tried everything multitool, apktool, Just wont do it :/ idk why, apparently something to do with the andriod manifest?
anyone had this problem while compiling the LGAlarmClock? lol even if i decompile then recompile without editing anything it just wont do it.