Related
Can anybody point me in the right direction so I can port Stericson's lockscreen over to a Roger's rom?. I imagine there are other people that switch themes often and would just want the lockscreen without having to flash an entire theme so even if this is something that is exclusive to Cyanogens roms is it possible to just port the lockscreen?
CC CEO said:
Can anybody point me in the right direction so I can port Stericson's lockscreen over to a Roger's rom?. I imagine there are other people that switch themes often and would just want the lockscreen without having to flash an entire theme so even if this is something that is exclusive to Cyanogens roms is it possible to just port the lockscreen?
Click to expand...
Click to collapse
yes can someone explain the process for porting stericsons lockscreen over to a rom/theme what all needs to be included?
It has hooks in the .jar files. So until Stericson provides info on which smali files are needed.it cannot be ported
beagz said:
It has hooks in the .jar files. So until Stericson provides info on which smali files are needed.it cannot be ported
Click to expand...
Click to collapse
how do you just go about putting it into another cm 4.0.4 based theme then?
david1171 said:
how do you just go about putting it into another cm 4.0.4 based theme then?
Click to expand...
Click to collapse
Armyranger did it for dark hero
Services.jar
Policy.jar
Framework.jar
Framework-res.apk
Then just copy png files
beagz said:
Armyranger did it for dark hero
Services.jar
Policy.jar
Framework.jar
Framework-res.apk
Then just copy png files
Click to expand...
Click to collapse
thank you beagz, you always save my ass some way or another lol. if i have any problems with i will pm him.
beagz said:
It has hooks in the .jar files. So until Stericson provides info on which smali files are needed.it cannot be ported
Click to expand...
Click to collapse
i believe he did. unfortunately i am not familiar with github and havent the slightest clue what i might be looking for. u seem to be knowledgeable tho care to share?
Where is his github for the lockscreen?
http://twitter.com/stericson
david1171 said:
thank you beagz, you always save my ass some way or another lol. if i have any problems with i will pm him.
Click to expand...
Click to collapse
you also have to use jdwme's services.jar also until one is released the regular services.jar from cyanogens rom will not work i think stericson changed some stuff in it to allow the lockscreen
Heres my Github guys, got it up last night: http://github.com/stericson
The files that I edited are:
Strings.xml
Drawables folder
/anim/fade_in1.xml
/anim/fade_out1.xml
/anim/fade_in1_delay.xml
/layout/keyguard_screen_lock.xml
framework/policies/base/phone/com/android/internal/policy/impl/Lockscreen.java
framework/policies/base/phone/com/android/internal/policy/impl/KeyguardUpdateMonitor.java
framework/policies/base/phone/com/android/internal/policy/impl/KeyguardViewMediator.java
And I think thats it...
In reality these files should build into most dream builds...
Stericson
Stericson said:
Heres my Github guys, got it up last night: http://github.com/stericson
The files that I edited are:
Strings.xml
Drawables folder
/anim/fade_in1.xml
/anim/fade_out1.xml
/anim/fade_in1_delay.xml
/layout/keyguard_screen_lock.xml
framework/policies/base/phone/com/android/internal/policy/impl/Lockscreen.java
framework/policies/base/phone/com/android/internal/policy/impl/KeyguardUpdateMonitor.java
framework/policies/base/phone/com/android/internal/policy/impl/KeyguardViewMediator.java
And I think thats it...
In reality these files should build into most dream builds...
Stericson
Click to expand...
Click to collapse
Will the smali files have the same names?
More or less.... Might be a little different...
Any questions just ask me about them....
Stericson
Stericson said:
Heres my Github guys, got it up last night: http://github.com/stericson
The files that I edited are:
Strings.xml
Drawables folder
/anim/fade_in1.xml
/anim/fade_out1.xml
/anim/fade_in1_delay.xml
/layout/keyguard_screen_lock.xml
framework/policies/base/phone/com/android/internal/policy/impl/Lockscreen.java
framework/policies/base/phone/com/android/internal/policy/impl/KeyguardUpdateMonitor.java
framework/policies/base/phone/com/android/internal/policy/impl/KeyguardViewMediator.java
And I think thats it...
In reality these files should build into most dream builds...
Stericson
Click to expand...
Click to collapse
uhhhhhh....that and that github site are like reading a different language to me. I just want to get the lockscreen from xtheme onto my phone. Not sure where to locate those files on github. Im usually not this dense as ive ported the majority of ted's hero theme to my rogers rom. maybe someone would be so kind as to post links to the files or make a update.zip for it?
CC CEO said:
uhhhhhh....that and that github site are like reading a different language to me. I just want to get the lockscreen from xtheme onto my phone. Not sure where to locate those files on github. Im usually not this dense as ive ported the majority of ted's hero theme to my rogers rom. maybe someone would be so kind as to post links to the files or make a update.zip for it?
Click to expand...
Click to collapse
framework/policies refers to the android.policy.jar file and those are the .java files he edited.
beagz said:
framework/policies refers to the android.policy.jar file and those are the .java files he edited.
Click to expand...
Click to collapse
where is strings.xml?
it becomes resources.asrc
stericson told me
beagz said:
it becomes resources.asrc
stericson told me
Click to expand...
Click to collapse
do u know what files specifically in the drawables folder? if its just the files starting w/ZZ i did that but it hangs on the g1 screen when i try to boot it up. I think its because i am unable to edit the policy.jar myself as i am on a mac so i just took the jar file from the cyan build and placed it on the rogers 1. I also did the same with "resources.asrc". Im fairly certain if i can edit the files for the respective builds it will work.
stericson on the hero rom
hey just wondering, tried looking around for this answer and i didnt see any so i thought i ask the question. Can i flash the stand alone stericson lockscreen to a hero rom? or any other way to get this lockscreen in to a hero rom? im currently using the jacHEROSKI 1.6r2. any answer would be great because i really like that lockscreen.. thanks again
saywhat4118 said:
hey just wondering, tried looking around for this answer and i didnt see any so i thought i ask the question. Can i flash the stand alone stericson lockscreen to a hero rom? or any other way to get this lockscreen in to a hero rom? im currently using the jacHEROSKI 1.6r2. any answer would be great because i really like that lockscreen.. thanks again
Click to expand...
Click to collapse
I spoke with Stericson about that and it doesn't seem possible to port it. (for now anyway).
Hey Guys,
I have been running CyanogenMod 7 on my Milestone for a while now, and I love it! But I do think it could do with a little bit more of eye candy. So I was wondering, is there anyway to port the gingerbread window animations to CyanogenMod?
I have tried a few Metamorph tricks, but wasn't successful. I also heard about an app called AnimMod which is supposed to do this, but I cant try it out as I am not allowed to buy paid apps in my country. So, I would be glad if anyone posted a link to a working procedure for changing the window animations.
All windows animations are in the framework-res.apk under the res/anim folder.
You can replace those with the GB animation files and apply again. Please note that you need to replace only those that are there in both the framework files.
[email protected]
Thanks for the answer.
Where can I find the gingerbread animation files? I dont have the gingerbread ROM, so would it be possible to download the files from some place.
Also, I am curious to know, why weren't these animations implemented in the CyanogenMod in the first place. I would have thought most people would appreciate the better animations of Gingerbread.
Edit: I just watched a walkthrough, and it seems that the animations in CyanogenMod are the same as those in Gingerbread. Still, it would be nice to know where I can find some new animation files
Wow I forgot that I put this together.
I named it FlyIn_FlipOut because I combined the Flying animation with the Flip Animation.
I actually spent alot of time on it pinpointing specific things which was a pain in the ass.
Anyway, it's attached.
I hope that somebody thinks that it's neat
I have attached the animation xml files for the following animation effects.
Flip
Fold
Flying
Bounce
Blur
FroyoMOD ( animations found in Luca's FroyoMOD )
All you need to do is to copy it into the folder that i mentioned in the previous post and apply it again.
Thanks Guys.
I need some more info on how to do this thing properly:
1. Where is the framework-res.apk located? I found one in the system/ framework folder but it is named as framerwork-res-mot.apk.
2. How do i change the files? and finally how do i install the apk.
In short, it would be great if you could post the steps to modify CyanogenMod to incorporate the new animations.
@zeppelinrox: Good thing you came across this post then.
Anim mod is an easy way, i use it all the time
note\ require root and busy box installed
Goodluck
Good app. Does what I wanted.
I wud still like to try out zeppelinrox's version of the animation. So could someone pls post how I could do that.
hearts king101 said:
Anim mod is an easy way, i use it all the time
note\ require root and busy box installed
Goodluck
Click to expand...
Click to collapse
Isn't anim mod a paid app? Please don't post download links of paid apps.
uptheironsrafi said:
Good app. Does what I wanted.
I wud still like to try out zeppelinrox's version of the animation. So could someone pls post how I could do that.
Click to expand...
Click to collapse
Download the theme updater flashable template zip file from here.
Download and extract the contents of the zip file provided by Zeppe to your desktop.
Your framework-res.apk is in your /system/framework folder. Using 7zip or winzip, open framework-res.apk and replace the animation files in the /res/anim folder.
Copy the framework-res.apk into the /system/framework folder of the theme updater template zip file. Copy the template zip file into openrecovery/updates folder and apply in AOR after wiping dalvik/cache.
sileshn said:
Isn't anim mod a paid app? Please don't post download links of paid apps.
Click to expand...
Click to collapse
I'm sorry
By the way, Can I get CM7 screen on and off animation work on stock rom ?????
Thanks, but you have not removed the app link.
Regarding screen on/off animation, not possible. Its a feature of GB and not easy to port to froyo.
[email protected]
sileshn said:
Thanks, but you have not removed the app link.
Regarding screen on/off animation, not possible. Its a feature of GB and not easy to port to froyo.
[email protected]
Click to expand...
Click to collapse
Thanx for the answer
Regarding app > Removed
Sorry Again
Thanks for all the help man. Appreciate it a lot...
So, I got it install this new theme engine for cm12 and installed some icon packs and bootanimations,
seems like everything works fine...
here's a sneak peek
https://www.youtube.com/watch?v=vR38IlYPY_I
Only bug i saw is after installation of a Icon pack , Fonts , Ringtones , Bootanimation it just freeze's (Touch screen will be unresponsive) until you reboot it, once you reboot it everything will be back to normal
can you provide the link or rom in which cm12 theme engine is working?
bashrulz said:
So, I got it install this new theme engine for cm12 and installed some icon packs and bootanimations,
seems like everything works fine...
here's a sneak peek
https://www.youtube.com/watch?v=vR38IlYPY_I
Only bug i saw is after installation of a Icon pack , Fonts , Ringtones , Bootanimation it just freeze's (Touch screen will be unresponsive) until you reboot it, once you reboot it everything will be back to normal
Click to expand...
Click to collapse
Can we get one of those installable themes please? I would like to check it out as a template.
EDIT: Just realized they were just your themes. Do you know of any CM12 theme specific templates?
nicholaschum said:
Can we get one of those installable themes please? I would like to check it out as a template.
EDIT: Just realized they were just your themes. Do you know of any CM12 theme specific templates?
Click to expand...
Click to collapse
Nope no CM12 Theme templates yet,
Check this you might get some idea..
https://plus.google.com/u/0/117889454318656086861/posts/ZTk2TAdi7NM
bashrulz said:
Nope no CM12 Theme templates yet,
Check this you might get some idea..
https://plus.google.com/u/0/117889454318656086861/posts/ZTk2TAdi7NM
Click to expand...
Click to collapse
Yeah I saw that yesterday. But it'll be different for Lollipop and KK based ROMs, and with the new theme engine, it could work a different way (other than changing from 19 to 21) so I was waiting for a template.
nicholaschum said:
Yeah I saw that yesterday. But it'll be different for Lollipop and KK based ROMs, and with the new theme engine, it could work a different way (other than changing from 19 to 21) so I was waiting for a template.
Click to expand...
Click to collapse
Me and my friend are tryin to workaround and see if it works...
nicholaschum said:
Yeah I saw that yesterday. But it'll be different for Lollipop and KK based ROMs, and with the new theme engine, it could work a different way (other than changing from 19 to 21) so I was waiting for a template.
Click to expand...
Click to collapse
Try this bro...
https://www.androidfilehost.com/?fid=95897840722644445
bashrulz said:
Try this bro...
https://www.androidfilehost.com/?fid=95897840722644445
Click to expand...
Click to collapse
Is that a working CM12 theme template?
nicholaschum said:
Is that a working CM12 theme template?
Click to expand...
Click to collapse
Yes but its missing alot of stuff maybe u can fill some of it or edit some of the stuff
bashrulz said:
Yes but its missing alot of stuff maybe u can fill some of it or edit some of the stuff
Click to expand...
Click to collapse
I'm working on it. Thanks a lot man! Good news is that it doesn't look too hard, was expecting a whole lot of changes.
VTS doesn't work with it yet, going to use the traditional way of apktool + zipalign, etc.
nicholaschum said:
I'm working on it. Thanks a lot man! Good news is that it doesn't look too hard, was expecting a whole lot of changes.
VTS doesn't work with it yet, going to use the traditional way of apktool + zipalign, etc.
Click to expand...
Click to collapse
Awesome, lookin forward to see ur first theme for cm12
bashrulz said:
Awesome, lookin forward to see ur first theme for cm12
Click to expand...
Click to collapse
I would love to work on it now, but ISP at home being a nuisance and I can't get a solid network.
A 30 second 300mb ROM download became an 18 hour hell. I'll wait for tomorrow!
But anyways, thanks for the template.
? I am fairly new to theme engine but not to theming. Since lollipop the directories of apps have changed.. do they need to changed as well in the assets folder? Also, what is the difference between the android folder and the common folder..
Edit: NVm answer my last two ?'s
lacoursiere18 said:
? I am fairly new to theme engine but not to theming. Since lollipop the directories of apps have changed.. do they need to changed as well in the assets folder? Also, what is the difference between the android folder and the common folder..
Edit: NVm answer my last two ?'s
Click to expand...
Click to collapse
Looking into them now...finally grabbed CM12 theme engine enabled ROM on my 4G.
nicholaschum said:
Looking into them now...finally grabbed CM12 theme engine enabled ROM on my 4G.
Click to expand...
Click to collapse
Yep whatever I do to this apk it won't install after signing it.. Not sure whats up with that
lacoursiere18 said:
Yep whatever I do to this apk it won't install after signing it.. Not sure whats up with that
Click to expand...
Click to collapse
I got it to work. I did it using apktool and just decompiling and compiling at first, which breaks it.
Try using the VTS method: http://www.google.com/url?q=http://...sntz=1&usg=AFQjCNEzP-AyZs2p-tpyu2USGFsUi5DTGw
Works wonders, except I find too many transparent "new" variables inside, keeps failing to install into Theme chooser when i remove them.
Here's another working template http://forum.xda-developers.com/showthread.php?t=3005025
mackentosh said:
Here's another working template http://forum.xda-developers.com/showthread.php?t=3005025
Click to expand...
Click to collapse
Eeek I would not necessarily say this is a template. I know you prob meant no harm but his second post advises you not to use it as your base.. So for that matter I would not. But thanks for the link. Once I get home I will build my own and post it here so everyone can use.
mackentosh said:
Here's another working template http://forum.xda-developers.com/showthread.php?t=3005025
Click to expand...
Click to collapse
That's pretty much the same as the first one
Mybad just trying to lend a hand
Hi guys, I'm trying to change the lockscreen clock font, but i don't know the name of the font to change in system.
Could someone tell me the name of the lock screen clock font in the system/fonts folder that i need to change? Thanks in advance
Usually that call is in framework. Would have to decompile the Apk and change it.
This link has zips that change the font throughout the whole system including the lockscreen clock.
http://forum.xda-developers.com/showthread.php?t=2964304
If your running xposed theres an awesome xposed module called "Lockscreen clock mods" thats amazing. Id check that out, its what I use.
Sent from my Nexus 6 using Tapatalk
biglil1 said:
This link has zips that change the font throughout the whole system including the lockscreen clock.
http://forum.xda-developers.com/showthread.php?t=2964304
Click to expand...
Click to collapse
Digging up an old thread here, but I'm trying to do the same thing as the OP but on my nexus 6p. I've looked at that thread and tried to install a couple of them, but they don't seem to change anything, particularly not on the lockscreen or the clock widget font. I'm on stock marshmallow, rooted, with xposed. Any suggestions?
EDIT: what i'm trying to do is revert the system font back to what it was like with lollipop: i don't like how they bolded the lockscreen clock or the clock widget, so i'm trying to change that, if that helps at all.
asj0422 said:
Digging up an old thread here, but I'm trying to do the same thing as the OP but on my nexus 6p. I've looked at that thread and tried to install a couple of them, but they don't seem to change anything, particularly not on the lockscreen or the clock widget font. I'm on stock marshmallow, rooted, with xposed. Any suggestions?
EDIT: what i'm trying to do is revert the system font back to what it was like with lollipop: i don't like how they bolded the lockscreen clock or the clock widget, so i'm trying to change that, if that helps at all.
Click to expand...
Click to collapse
Use this link its updated fonts for 6.0+.
http://forum.xda-developers.com/showthread.php?p=63178539
biglil1 said:
Use this link its updated fonts for 6.0+.
http://forum.xda-developers.com/showthread.php?p=63178539
Click to expand...
Click to collapse
Actually that was the thread I was using before... Still no avail.
That's all I got; sorry it's not working! Are you downloaded the 6xx fonts or accidentally downloading the 5xx? Just trying to help trouble shoot!
biglil1 said:
That's all I got; sorry it's not working! Are you downloaded the 6xx fonts or accidentally downloading the 5xx? Just trying to help trouble shoot!
Click to expand...
Click to collapse
Hmm... That may be part of the issue. I'm trying to use the stock lollipop fonts. Which should I download to get my mm phone to look like lp?
Idk what change in the system/font folder from lp to mm so with the N6P being on mm flash an mm font zip. For a font that looks like lp you're gonna have to scroll though the thread. I always used something other than stock. I'm sure there's one that is similar. Unfortunately I can't help with that!
How do I know if a font is written for mm or lp? The thread says they work for both...?
asj0422 said:
How do I know if a font is written for mm or lp? The thread says they work for both...?
Click to expand...
Click to collapse
I thought at one point he had different links for the two but I could be mistaken! Hopefully I'll have time when I get out of work to pm you some that I've downloaded and I know is working on mm. If not I get up around 3pm so sometime around then if I get out late.
Edit: NV I seen your post in his thread.
biglil1 said:
I thought at one point he had different links for the two but I could be mistaken! Hopefully I'll have time when I get out of work to pm you some that I've downloaded and I know is working on mm. If not I get up around 3pm so sometime around then if I get out late.
Edit: NV I seen your post in his thread.
Click to expand...
Click to collapse
could you perhaps send me the files anyway? maybe they're not downloading properly from his site. thanks for your help btw!
what phone/rom are you using the fonts on?
asj0422 said:
could you perhaps send me the files anyway? maybe they're not downloading properly from his site. thanks for your help btw!
what phone/rom are you using the fonts on?
Click to expand...
Click to collapse
Will do!! I'm stock 29S N6 rooted with xposed elementalx kernal 3.08
Hello Guys,
I decided to try and modify the SystemUI of Stock OxygenOs 4.0.3 myself in order to achieve: Center Clock in Status bar as well as quick settings menu, 6 small qs tiles, 6 qs tiles in a row and only one row at that.
I already got familiar with apktool and the process but I have no Idea what file to edit, I searched through the files but could achieve any change.
I didn't find any tutorials that could help me either so I was hoping someone could help me here.
Thanks and if you need any more information just ask
Basically I want it to look something like this (Resurrection Remix)
The location is here system/priv-app/OPSystemUI
For tutorials, you can try to look around in Op3/Op3T mods sections - the dark theme/notifications have some.
davebugyi said:
The location is here system/priv-app/OPSystemUI
For tutorials, you can try to look around in Op3/Op3T mods sections - the dark theme/notifications have some.
Click to expand...
Click to collapse
Yes yes I know that but I meant which files inside the APK to edit, sorry for the confusion and thank you
Download the modded and stock Systemui.apk and decompile. Compare the result. You will learn everything only that way. The clock position is defined in status_bar.xml.
Sent from my ONEPLUS A3003 using Tapatalk
If you're using a Windows computer, you can use a program called Winmerge to compare entire decompiled OPSystemUI folders (And all their sub-folders/files) and highlight differences in text files (including xml) between the two. If you find someone who has already posted a similar mod, you can compare that with the stock file to determine what they have changed. From there, it should be fairly intuitive.
Kickoff said:
Download the modded and stock Systemui.apk and decompile. Compare the result. You will learn everything only that way. The clock position is defined in status_bar.xml.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
Anova's Origin said:
If you're using a Windows computer, you can use a program called Winmerge to compare entire decompiled OPSystemUI folders (And all their sub-folders/files) and highlight differences in text files (including xml) between the two. If you find someone who has already posted a similar mod, you can compare that with the stock file to determine what they have changed. From there, it should be fairly intuitive.
Click to expand...
Click to collapse
Thank you, I actually thought about that but I didn't know a program capable of that, I'll try that
Update: I played around a bit and those Tips were somewhat helpful but I didn't manage to get the clock in the Center .
Most of the time there where no problems applying the new System ui but a few times it just refused to start sytemzui and I was Straight in the Launcher without a Statusbar and so on. After restoring the original apk to get it to work it Booted just to a Blackscreen where I could only open the power Menü and I had to wipe data to get in again. Amy idea why?
Also After restoring a backup of data cpu was always at Max
Pharrax said:
Update: I played around a bit and those Tips were somewhat helpful but I didn't manage to get the clock in the Center .
Most of the time there where no problems applying the new System ui but a few times it just refused to start sytemzui and I was Straight in the Launcher without a Statusbar and so on. After restoring the original apk to get it to work it Booted just to a Blackscreen where I could only open the power Menü and I had to wipe data to get in again. Amy idea why?
Also After restoring a backup of data cpu was always at Max
Click to expand...
Click to collapse
You probably forgot to include the AndroidManifest and META-INF files in the APK. Read up on this guide. It's quite old, but steps 1, 2, 3, and 15 in his guide are still applicable. Pay special attention to step 15 as it shows you how to sign the modded APK with the original signature. Without including these files, OOS will refuse to run the app. Any time he mentions SystemUI.apk, assume that you can do the same with OPSystemUI.apk.
---------- Post added at 12:34 AM ---------- Previous post was at 12:31 AM ----------
For some reason, OOS 4.0.3 and below will sometimes allow improperly compiled OPSystemUI to run. It seems that as of OOS 4.1.0, you must correctly compile the app or it will always refuse to run it at boot.
Kickoff said:
Download the modded and stock Systemui.apk and decompile. Compare the result. You will learn everything only that way. The clock position is defined in status_bar.xml.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
There is also a need to work with smali files to get status bar clock hidden in lockscreen
Anova's Origin said:
You probably forgot to include the AndroidManifest and META-INF files in the APK. Read up on this guide. It's quite old, but steps 1, 2, 3, and 15 in his guide are still applicable. Pay special attention to step 15 as it shows you how to sign the modded APK with the original signature. Without including these files, OOS will refuse to run the app. Any time he mentions SystemUI.apk, assume that you can do the same with OPSystemUI.apk.
---------- Post added at 12:34 AM ---------- Previous post was at 12:31 AM ----------
For some reason, OOS 4.0.3 and below will sometimes allow improperly compiled OPSystemUI to run. It seems that as of OOS 4.1.0, you must correctly compile the app or it will always refuse to run it at boot.
Click to expand...
Click to collapse
I was using apktool with the -c command, i thought that signs the apk properly and does exactly that? But thank you i will look into the tutorial
BaaDNwZ said:
There is also a need to work with smali files to get status bar clock hidden in lockscreen
Click to expand...
Click to collapse
Any links that help me understand smali and how to edit them?
Pharrax said:
Any links that help me understand smali and how to edit them?
Click to expand...
Click to collapse
The best link is - google.com
Sorry bro =\