jholtom said:
Hi, All,
I got it working for screen off only
The changes are in framework-res.apk
Attached is the apk for Prime 2.0.4 ONLY!
To Use:
remove the unsigned- part from the name and use root explorer or adb push to put it in system/framework/
and then reboot!
To do this mod to another rom:
Decompile using apktool or apkmanager (which utilizes apktool) and then...
find bools.xml in res/values of a decompiled framework-res and then find this line
Code:
<bool name="config_animateScreenLights">true</bool>
and change the true to false
save and recompile and push or use root explorer to apply the new file
Click to expand...
Click to collapse
I'm quoting and reuploading to this post in case anyone else wants to try it out.
Jholtom do you mind if I post this on RootzWiki as well, giving you full credit?
+1
Would be nice.
Nothing so far. I too have been looking.
http://forum.xda-developers.com/showthread.php?t=1267728
I know you already mentioned it but there's actually two apps
Sucesss!!!!!!!!!!!!!!!
Hi, All,
I got it working for screen off only
The changes are in framework-res.apk
Attached is the apk for Prime 2.0.4 ONLY!
To Use:
remove the unsigned- part from the name and use root explorer or adb push to put it in system/framework/
and then reboot!
To do this mod to another rom:
Decompile using apktool or apkmanager (which utilizes apktool) and then...
find bools.xml in res/values of a decompiled framework-res and then find this line
Code:
<bool name="config_animateScreenLights">true</bool>
and change the true to false
save and recompile and push or use root explorer to apply the new file
Made a stupid mistake!! I can't remember how to push the file using ADB and my Transformer is force closing like crazy hahaha. Can someone give me some quick instructions? Watched a couple videos but they're all different and not working. I've got ADB running, it's mounted, the .apk is in the ADB folder but I can't get it to push. Please help! Thanks so much!
EDIT: Nevermind. Also a stupid mistake haha, that was a close one.
Thanks for doing this jholtom, I've wanted this for a while as well!
awesoe works nice man ought to make a thread for it so people can find it... or edit this one...
Sent from my Optimus Prime Transformer
Nice work. Seems I have to choose between this or the battery percentage mod but not both.
Thanks jholtom . You should contact roach so he can have it built in the rom!
It works! Tha mate.
I dont really mind where it gets posted
Credit is always nice though
jholtom said:
Decompile using apktool or apkmanager (which utilizes apktool) and then...
find bools.xml in res/values of a decompiled framework-res and then find this line
Code:
<bool name="config_animateScreenLights">true</bool>
and change the true to false
save and recompile and push or use root explorer to apply the new file
Click to expand...
Click to collapse
Can't seems to find res/values (using apkmanager do I need to decompile or extract APK?)
^ decompile.
Sent from samsung vibrant
Alex9090 said:
^ decompile.
Sent from samsung vibrant
Click to expand...
Click to collapse
Thanks. Yeah finally figured how to decomplie. Changed the field from true to false. Just trying to see what i'm doing wrong cause after compiling it back it doesn't have the crt shut down
Theres some sort of setting that can apparently cause it to work about 7/8 of the time but not that other 1/8. I'm looking around to see what it is and how it can be resolved.
And just in case did you push or install with root explorer?
jholtom said:
Theres some sort of setting that can apparently cause it to work about 7/8 of the time but not that other 1/8. I'm looking around to see what it is and how it can be resolved.
And just in case did you push or install with root explorer?
Click to expand...
Click to collapse
I used Root Explorer, I'll try to push it to see if it's any better.
EDIT: I just compile again and it seems to be working better. Thank you.
Hi all! First off, thanks to jholtom for figuring this out. I have thrown this mod in my PCB Blue theme (beta testing only now), and confirm that it works, BUT only when on the homescreen. I.E. if you are in any other app, the CRT animation will not run. Switching back to the homescreen does allow it to work again though. Another trick (if you have the kb dock) is to hit the "LOCK" key (top-right) while in another app, and then the CRT animation appears to play on further on/off toggles, but without unlocking the screen.
Not sure what the cause/solution of that may be, but I did find this thread on RootzWiki that also shows how to edit a .smali file in 'services.jar'. I am too lazy to decompile 'services.jar' and the .smali script, but if someone else is able to, maybe we can see if the further mods will allow it to work 100% of the time. Here's that thread:
[DEV] Enabling CRT ON & OFF Animation in Roms [HOW-TO]
I hope Roach gets wind of this, and maybe his expertise will point us in the right direction for how to get it working perfectly. It is such a simple animation overall, but one that gives us such joy and pleasure
Cheers!
Was hoping you would catch wind of this scar45 and put it in your theme. And nice work to you jholtom!
I hadn't looked at the CRT off animation for HC before as I read it didn't work right but I also didn't know about the potential fix in the services.jar file.
I'll have a wee play about and see what I can come up with.
Can any tell me if the issue still exists where it only works in landscape?
Roach2010 said:
Can any tell me if the issue still exists where it only works in landscape?
Click to expand...
Click to collapse
It work while in portrait also but the animation only shut down in landscape.
Like on the phone it only shut down in portrait. Hope I make sense.
It only work when you're on one of the home screen and not anywhere else.
Yeah, I got it working for screen on and off but only from the Home Screen. When you do if from within an app the TF flips out.
Related
Here are some things you can use to customize your rooted droid incredible. I'd like to thank Jairomeo, bgill, HOCKEY, kmobs, htc and motorola as well as unrevoked and xda.
Apply these mods at your own risk... I accept no responsibility for anything that may happen to your phone or you.
New Awesome Framework/htc resources kanged from cubanaso
props!!! all credit goes to him!!! Please donate if you like his work
Download for stock 2.1 Sense:
Htc resource apk with red drawables
framework with stock sense notifications
framework with red notification icons seen in link above
To install:
boot into recovery
choose mount /system
put framework-res.apk into tools folder in your sdk directory
put com.htc-resources.apk into tools folder in your sdk directory
open command line to tools folder in your android sdk directory
Code:
adb push framework-res.apk /system/framework/
adb push com.htc.resources.apk /system/framework/
reboot
Framework-res.apk with red highlights for Stock 2.1 Sense---
download:http://www.mediafire.com/file/nmimngkn5mj/framework-res.apk
To install
boot into recovery
choose mount /system
put framework-res.apk into tools folder in your sdk directory
put com.htc-resources.apk into tools folder in your sdk directory
open command line to tools folder in your android sdk directory
Code:
adb push framework-res.apk /system/framework/
adb push com.htc.resources.apk /system/framework/
reboot
fonts seen in above screenshots
to install:
download fonts.zip and extract folder fonts
put fonts folder into tools folder
boot into recovery
Code:
adb push fonts /system/fonts
Modded DroidX live Wallpaper
Download: http://www.mediafire.com/file/n4jbyezugmi/Droidx-modded-htc.apk
To install: use file manager
A different mod
Download: http://www.mediafire.com/?zlkzdjhicvg
galaxy s ocean waves mod
download: http://www.mediafire.com/?mhvqy2in3fn
galaxy s dandelion mod
download: http://www.mediafire.com/?zin2gn23nyg
Icons seen in above screenshots
Download: http://www.mediafire.com/?znzw3wmjm0q
To install: use folder organizer or bettercut
Thanks for sharing!
Thanks! This is exactly what im looking for. Wish i could have more red though, some thing are still green but that's a sense thing.
Sent from my ADR6300 using XDA App
skaterA223 said:
Thanks! This is exactly what im looking for. Wish i could have more red though, some thing are still green but that's a sense thing.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
No problem... i uploaded newer framework apk... try that one out
this is great, i hope in newer updates you can kill more of the green
b00sted said:
this is great, i hope in newer updates you can kill more of the green
Click to expand...
Click to collapse
When we get something without sense, for sure
how do you get the fonts to work? pushed them no problem.. framework worked fine
worm- said:
how do you get the fonts to work? pushed them no problem.. framework worked fine
Click to expand...
Click to collapse
did you get an error message? doing it in recovery right? make sure folder is extracted
yep, all the font files pushed no problem, when i rebooted nothing changed w/ fonts
i'll re push, push in recovery w/ /system mounted i'm assuming
yo another question, edited framework apk to change battery indicator from red to blue, now it has a white box behind it, how do we fix this
worm- said:
yep, all the font files pushed no problem, when i rebooted nothing changed w/ fonts
i'll re push, push in recovery w/ /system mounted i'm assuming
Click to expand...
Click to collapse
You assume correct...
I just tried my own instructions, and everything pushed just fine.
worm- said:
yo another question, edited framework apk to change battery indicator from red to blue, now it has a white box behind it, how do we fix this
Click to expand...
Click to collapse
What program did you use to edit pngs? wanna upload the color and I'll see what i can do?
jonnybueno said:
No problem... i uploaded newer framework apk... try that one out
Click to expand...
Click to collapse
Love the font but I wish everything was red. The mix of red and green looks a bit strange.
I'm too lazy to edit the htc resources apk... .9 pngs are no fun, and with no /system write access, its a pita to test themes. I need my phone right now and seeing as how vzw is a cdma carrier, its a pain to switch phones. Believe me, the green bothers me just as much as it bothers you guys... but I'm just gonna wait it out till koush ports cm to our phones. Having the source for .9 pngs makes things a lot easier for theming, and I don't want to waste any time.
jonnybueno said:
I'm too lazy to edit the htc resources apk... .9 pngs are no fun, and with no /system write access, its a pita to test themes. I need my phone right now and seeing as how vzw is a cdma carrier, its a pain to switch phones. Believe me, the green bothers me just as much as it bothers you guys... but I'm just gonna wait it out till koush ports cm to our phones. Having the source for .9 pngs makes things a lot easier for theming, and I don't want to waste any time.
Click to expand...
Click to collapse
completely understandable.. you do know i will need you to help me get the lamppu widget to go red and SwitchPro widget too or else I may go mad with disorder lol
b00sted said:
completely understandable.. you do know i will need you to help me get the lamppu widget to go red and SwitchPro widget too or else I may go mad with disorder lol
Click to expand...
Click to collapse
Lampu is easy I'll do that now... switchpro is paid though so i can't upload that
Heres Lamppu
http://www.mediafire.com/?zytnejm2imk
You should try ExtendedControls instead of switch pro... transparency as well as different color schemes
Hey thanks for everything love all the red...its understandable that certain things will remain green....one thing tho...the date isn't centered properly on the unlock screen. The tab you slide down..
bump for less green... yay for "borrowing" from others. go donate to that guy somehow. Check out first post.
Good to see some of my work getting over to the incredible. As soon as I get some time ill try and port over my themes.
This is a nice and minimalist tweak. Thank you.
2 questions:
1) If I load just the framework file, will the stock Droid fonts stay in use? (would prefer those over your modded version)
2) Any chance you'd consider doing a blue version? I think the blue mixed with the un-editable sense green would go a little better than the red.
jonnybueno said:
bump for less green... yay for "borrowing" from others. go donate to that guy somehow. Check out first post.
Click to expand...
Click to collapse
Excellent! Any chance of getting those battery icons that show the percentage?
Wasssup fellas! Ok so I'm no themer but I've started to delve into your world a little bit. I'm looking to draw on the experience of any of you that have successfully modified the Rosie. So here's my set up
I've got Apktool set up in Ubuntu before you ask I downloaded 1.3.1 not 1.3.2
I have all the dependencies in place
I've installed the framework (apktool if com.htc.resources.apk)
Rosie.apk decompiles with no errors (apktool d Rosie.apk out)
I've modified /res/value/colors.xml to add transparency to the app drawer? (This may be my issue)
Compiled (cd out/ .......apktool b) compiles with no errors
I've tried this signing Rosie.apk, Not signing it, Copying out the "Res" and "Resource" file and going into the original Rosie.apk with Ark Manager without extracting the archive and dropped in the "Res and "Resource" files.
Same result each time when I push the file via ADB or put it in a flashable zip the phone boots goes through the animation capacitive keys light up then the phone gets stuck on the last frame of the boot animation and just hangs there forever no boot loops just hangs there?
Any help would be more than appreciated, thanks guys!
Lou
gtalk @ RedemptionRom
email: [email protected]
Rosie in my sky raider theme is working great. And I modified the png's inside it. Didn't need to do all of the things you did. I just themed the png's, zipped it up in an update.zip and then flashed it through recovery.
But I did not edit the colors.xml like you did. I left that alone.
[¦] mobile [¦]
Be sure to use the same com.htc.resources.apk and framework-res.apk from the ROM you took Rosie from.
HeyItsLou said:
Wasssup fellas! Ok so I'm no themer but I've started to delve into your world a little bit. I'm looking to draw on the experience of any of you that have successfully modified the Rosie. So here's my set up
I've got Apktool set up in Ubuntu before you ask I downloaded 1.3.1 not 1.3.2
I have all the dependencies in place
I've installed the framework (apktool if com.htc.resources.apk)
Rosie.apk decompiles with no errors (apktool d Rosie.apk out)
I've modified /res/value/colors.xml to add transparency to the app drawer? (This may be my issue)
Compiled (cd out/ .......apktool b) compiles with no errors
I've tried this signing Rosie.apk, Not signing it, Copying out the "Res" and "Resource" file and going into the original Rosie.apk with Ark Manager without extracting the archive and dropped in the "Res and "Resource" files.
Same result each time when I push the file via ADB or put it in a flashable zip the phone boots goes through the animation capacitive keys light up then the phone gets stuck on the last frame of the boot animation and just hangs there forever no boot loops just hangs there?
Any help would be more than appreciated, thanks guys!
Lou
gtalk @ RedemptionRom
email: [email protected]
Click to expand...
Click to collapse
This means sense failed to load. The phone booted but sense does not work. If you have a back up launcher it would have defaulted to that. Good way to test is to install lp or launcher 2 so next time it will still load in.
synisterwolf said:
This means sense failed to load. The phone booted but sense does not work. If you have a back up launcher it would have defaulted to that. Good way to test is to install lp or launcher 2 so next time it will still load in.
Click to expand...
Click to collapse
Great idea!!! Doing that makes testing much easier fairly obvious don't know how I missed that one.
Berzerker7 said:
Be sure to use the same com.htc.resources.apk and framework-res.apk from the ROM you took Rosie from.
Click to expand...
Click to collapse
The Rosie is part of the theme I'm using which comes with both the Framework-res.apk and com.htc.resources.apk. Am I correct in using this set of framework files or should I be using the Rom's original framework?
What exactly are you trying to modify in rosie? Is it just the app drawer background? I can tell you that rosie has little to do with framework-res. The app drawer background colors are located in launcher.xml and allappsgridview.xml.
deficitism said:
What exactly are you trying to modify in rosie? Is it just the app drawer background? I can tell you that rosie has little to do with framework-res. The app drawer background colors are located in launcher.xml and allappsgridview.xml.
Click to expand...
Click to collapse
I mentioned the framework because apktool requires you to install it to decompile rosie.apk. I will check those xml's out. The failed boot may be because I edited the /res/values/colors.xml file. I don't have my virtual machine fired up but I did edit one of the all_apps strings in there from #ff000000 to #80000000 on the advice of a themer. This may be what f'd me up.
HeyItsLou said:
I mentioned the framework because apktool requires you to install it to decompile rosie.apk. I will check those xml's out. The failed boot may be because I edited the /res/values/colors.xml file. I don't have my virtual machine fired up but I did edit one of the all_apps strings in there from #ff000000 to #80000000 on the advice of a themer. This may be what f'd me up.
Click to expand...
Click to collapse
Yeah don't worry about the colors.xml. just those 2 xmls I mentioned.
deficitism said:
Yeah don't worry about the colors.xml. just those 2 xmls I mentioned.
Click to expand...
Click to collapse
Will do, thanks man.
deficitism said:
Yeah don't worry about the colors.xml. just those 2 xmls I mentioned.
Click to expand...
Click to collapse
What changes should I make to the XML's for transparency? Also after I compile Rosie what do you recommend for a process in getting the new changes implemented? To clarify, should I rip the resources file and classes.dex out of the new compiled version and replace the ones in the stock Rosie? Ive tried about 20 different methods and I get force closes each time...thanks man!
Sent from my ADR6300 using XDA App
If it compiled correctly you should be able to push the compiled version to /system/app with no trouble. There are 2 possibilities:
1) The apk got signed with whatever tool you are using and system apk's can't be signed this way. I think APKManager signed with the test cert automatically.
2) The changes in the xml's may not be correct for which we need to wait for deficitism to verify what was changed. Typically changing color attribs won't cause an FC though.
One thing you can try is to just extract the res folder, where the changes are, in the new Rosie to your PC and open the original with 7zip and drag that folder to the 7zip window. Then push that.
NilsP said:
If it compiled correctly you should be able to push the compiled version to /system/app with no trouble. There are 2 possibilities:
1) The apk got signed with whatever tool you are using and system apk's can't be signed this way. I think APKManager signed with the test cert automatically.
2) The changes in the xml's may not be correct for which we need to wait for deficitism to verify what was changed. Typically changing color attribs won't cause an FC though.
One thing you can try is to just extract the res folder, where the changes are, in the new Rosie to your PC and open the original with 7zip and drag that folder to the 7zip window. Then push that.
Click to expand...
Click to collapse
Thanks dude, I actually figured it out no more help needed.
HeyItsLou said:
Thanks dude, I actually figured it out no more help needed.
Click to expand...
Click to collapse
Cool, glad you got it working.
So what was the cure?
I know there is already a CRT Off Animation flashable zip in this section, but if you already have a themed framework then it can be a pain in the a$$ trying to flash it over whatever you have. As for SIP over LTE/HSPA, I've seen a lot of requests from people on how to enable it, so here it is. I'm also making this kind of for myself, since I always search for tutorials on how to change things, but always just end up finding .zip files, which can get quite annoying if I only want to change one thing. In any case, here we go...
Prerequisites
Superuser (Duh)
Apk Manager by Daneshm90
ADB + Understanding How To Pull/Push Files (Need help? Read this!)
Patience
A Good Texteditor (I recommend Notepad++)
Know why "sudo rm -rf /" is always a bad idea
Steps To Follow
Pull your framework-res.apk file from your system folder
Place said framework-res.apk file into the "place-here-for-modding" folder included in the Apk-Manager Folder
Run the Script.bat file also included in the Apk-Manager Folder.
Run option 9 in the newly opened window (Don't use the dependency option)
Go back into the Apk-Manager Folder; there should now be a folder dubbed "projects".
Head into that folder and open framework-res/res/values/bools.xml with that good texteditor you're supposed to have if you read the prerequisites.
Don't be intimidated by some of the code you see. Ignore everything else in the file and head straight for/search "config_animateScreenLights". This controls the state of the CRT Off Animation.
This step may sound a little counter-intuitive, but in order to get the CRT Off to activate correctly, you need to set the boolean to "False".
Now that CRT Off Animation taken care off, we can move on to enabling SIP over HSPA/LTE. Go to/search for "config_sip_wifi_only" and set this boolean to false as well.
There are actually other things you can enable/disable in the bools.xml file, although I would not recommend poking around unless you know what you're doing. Example: Enable Menu Unlock by setting that specific bool (not entirely sure of its name) to true.
Save the bools.xml file, and return back to the main menu of Apk Manager.
Select option 11 and say y (system app) and then n (no need to retain anything)
If you head back to your "place-apk-here-for-modding" folder, there should be a new file named unsignedframwork-res.apk. Open this (DO NOT EXTRACT THE FILES) using a tool such as winrar or 7zip, and delete both the META-INF folder and the AndroidManifest.xml
Copy the META-INF and the AndroidManifest.xml from the original framework-res.apk and place it in the new unsignedframework-res.apk. Remember to not extract the files, just copy/paste.
Rename unsignedframework-res.apk to framework-res.apk and push that back to the system folder on your phone.
Reboot
Enjoy Your CRT Off Animation + SIP Over HSPA/LTE!
FAQ
What is SIP? SIP stands for Session Initiation Protocol, and is used for controlling communications such as Voice over Internet Protocol, or Video over Internet Protocol. It's used in a lot of applications on the market, a big one being Skype. If you want to learn more, go here, here, or here.
Why would I need SIP over HSPA/LTE? Because I told you so. No, but seriously, this will allow you to use all kinds of SIP applications found on the market not only on wifi networks, but also on the go.
Can you haz build me a flashable zip? The whole point of this thing is to teach people how to mod their own already modded files without having to replace everything. But yeah, if you PM me I'll probably do it.
IAQ
Why is jomeister15 so amazing? Sorry, this question is not infrequently asked.
nice tutorial, it took me a while to find this information a few days ago, good to know someone has gathered it and made it easy to find.
very nice i know i did that while back ago and i was like ughhh ** also there is a post for crt animation on you should include that too. i know id like to get it on my theme but im working through it and it blows my head into 2 .. but moderator please pin this thread or make it a sticky right @ top with cherry.
Awesome tutorial! Been wanting to add the CRT off animation to my ROM for a while now, just haven't gotten around to it. And I will definitely be following your guide. However, can someone please explain to me what SIP is? I've seen a couple of threads about it but none of them have actually explained what it is. Thanks!
Sent from my SAMSUNG-SGH-I727 using XDA App
plwalsh88 said:
Awesome tutorial! Been wanting to add the CRT off animation to my ROM for a while now, just haven't gotten around to it. And I will definitely be following your guide. However, can someone please explain to me what SIP is? I've seen a couple of threads about it but none of them have actually explained what it is. Thanks!
Sent from my SAMSUNG-SGH-I727 using XDA App
Click to expand...
Click to collapse
Just updated OP with FAQ section that includes explanation of SIP if you want to take a look.
i am getting FC. Not working. After changing the file size reduced to around 5mb which before it is 7mb.
gkrananth said:
i am getting FC. Not working. After changing the file size reduced to around 5mb which before it is 7mb.
Click to expand...
Click to collapse
What app in specific are you getting FC with? It may just be in issue with fixing permissions. Try that first, and if that doesn't work, re-try the procedure but do not carry the android manifest and meta-inf over. May I also ask what rom you're on? Every dev's framework is different.
oh CRT
hay i did it.. no FC no ERRORS or no CRT off animation.. phone is working normally .. (i made a zip also)
im using samsung skyrocket with embryo 6.1 plz help me to fix this(as above mentioned my framework-res also decreased like 2mb)
sakunakia said:
hay i did it.. no FC no ERRORS or no CRT off animation.. phone is working normally .. (i made a zip also)
im using samsung skyrocket with embryo 6.1 plz help me to fix this(as above mentioned my framework-res also decreased like 2mb)
Click to expand...
Click to collapse
Dude you just necro'd a thread that's almost a year since last post and half these guys aren't even around anymore.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Originally Posted by sakunakia
hay i did it.. no FC no ERRORS or no CRT off animation.. phone is working normally .. (i made a zip also)
im using samsung skyrocket with embryo 6.1 plz help me to fix this(as above mentioned my framework-res also decreased like 2mb)
Click to expand...
Click to collapse
Dude you just necro'd a thread that's almost a year since last post and half these guys aren't even around anymore.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
omg this
Sent from my SGH-T999 using xda premium
I'm pretty handy with Photoshop (I do graphic design) and I was wondering how I would go about making a theme. I am on Melvins stock ROM and I don't use a launcher. It was so simple on the iPhone, so is there a method similar to that of the iPhone?
Hey I'm in the same boat as you being design graduate myself. Its pretty easy actually you just need to get to know all the apk files and what goes where. The framework-res.apk, systemUI.apk house the majority of the files overall that you will most likely wanna mod. Then you have app specifics. Anyway here is a little vid to get you started very basic like. Its the dev M&S from the Tmob thread. His themes are super slick
http://www.youtube.com/watch?v=RSB8iQvpU9k
That is exactly what I needed. Thank you so much. It's actually fairly easy, and I'm glad I don't have to use winSCP anymore.
Quick question though, what do I download to get the script and all that? And the SDK part?
I downloaded the APK manager and I have no idea how to get the framework into the script. Any ideas?
well you should watch the video! if you don't wanna watch than.
Copy framwork-res.apk from system>framework folder.
Past it in the apk folder where it says "Put here for Modding" and than you can open up the command prompt and go from there!
Hope this helps!\
Make sure to do nandroid because messing with framwork will give you softbrick and you will be F*****!
MAGiK9 said:
I downloaded the APK manager and I have no idea how to get the framework into the script. Any ideas?
Click to expand...
Click to collapse
appdroid said:
well you should watch the video! if you don't wanna watch than.
Copy framwork-res.apk from system>framework folder.
Past it in the apk folder where it says "Put here for Modding" and than you can open up the command prompt and go from there!
Hope this helps!\
Make sure to do nandroid because messing with framwork will give you softbrick and you will be F*****!
Click to expand...
Click to collapse
lol I was like the vid shows it too! And also you will need to do a search on how to mod .9 png files. They have code in them so if you mod them in photoshop ( I did this at first) they end up all warped and busted. At first I recommend the "extract" for starters in APK manager. Gives you access to all the png files and such. Once you get more familiar then choose "decompile" so you can edit the xml files (change text color etc). Hope that helps
I will be closely following this thread as I am learning to theme as well, let's help each other!
Does anyone know how to do the videos first part in "apk multi tool"?
Actually nvm I figured it out
I did watch the video. There are some steps he skips, however. Like selecting the framework, he never tells you how to get it in the folder. I figured it out, eventually.. but I still don't know how to get it onto my phone using the SDK that he uses. That is my question.
Ive been at this for about an hour lol. I figured out how to push the file but I couldnt do it from /tools/ so I tried pushing the apk from /platform-tools/ and it worked the only problem is that I edited the battery colors just to test and see if it would work. They were supposed to be red but their still the same color.
Btw to the above post, go to cmd and type "cd c:/" and then wherever your sdk is located. Unless thats not what your talking about then idk =/
Update: It worked...but...bootloops so I had to push the original frameworkres and it booted up and when I re-pushed the one I edited it still gives me a bootloop
I've started building themes. Everything has worked fine so far. I themed my gmail apk blue. And have been working on framework-res.apk and SystemUI.apk and twframework-res.apk. Far from done but I've made changes to all three and pushed them to my phone no problem. Im using pirateghosts stock Rom space_pirate i believe is the Rom name
Sent from my SAMSUNG-SGH-I727 using xda premium
I'm using alien 5.5 and I'm still getting bootloops trying to push my modded framework-res apk.
The cake is a lie.
i am currently using a unlocked s-off rooted 4ext recovery set up device, i found i enjoy using this rom called midnight rom, it is wonderfula dn suits my needs perfect, but....atfe rhours and hours of searching i am unable to find a guide on how to do this myself, and that is why i am posting here. i would like to flash a CRT lock animation, and perhaps unlock animation (but not needed ofcourse). Ive searched high and low, but it seems i cant find any way of doing this myself without having to use a rom like CM10 that has it built in etc etc, the objective here guys is to flahs this onto my phone myself, without needing to change my rom, either by installable zip someone may have laying aorund, or a quick description of how i could add this into my current rom and reflash it maybe. than ks for all the help in advance. talk to you soon
giggz9269 said:
i am currently using a unlocked s-off rooted 4ext recovery set up device, i found i enjoy using this rom called midnight rom, it is wonderfula dn suits my needs perfect, but....atfe rhours and hours of searching i am unable to find a guide on how to do this myself, and that is why i am posting here. i would like to flash a CRT lock animation, and perhaps unlock animation (but not needed ofcourse). Ive searched high and low, but it seems i cant find any way of doing this myself without having to use a rom like CM10 that has it built in etc etc, the objective here guys is to flahs this onto my phone myself, without needing to change my rom, either by installable zip someone may have laying aorund, or a quick description of how i could add this into my current rom and reflash it maybe. than ks for all the help in advance. talk to you soon
Click to expand...
Click to collapse
this will provide "off" animation..
decompile framework-res.apk
go to res/values and find bools.xml
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
how to decompile framework-res.apk
http://forum.xda-developers.com/showpost.php?p=36388165&postcount=2
if you want unlock animation too...read here
http://rootzwiki.com/topic/2553-dev-enabling-crt-on-off-animation-in-roms-how-to/
hit thanks if this helped you!
js2892 said:
this will provide "off" animation..
decompile framework-res.apk
go to res/values and find bools.xml
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
how to decompile framework-res.apk
http://forum.xda-developers.com/showpost.php?p=36388165&postcount=2
if you want unlock animation too...read here
http://rootzwiki.com/topic/2553-dev-enabling-crt-on-off-animation-in-roms-how-to/
hit thanks if this helped you!
Click to expand...
Click to collapse
im xcurrently haveing trouble decompiling this apk, im folowing th eguide you linked, but im unable to find the system or twframework.apk files, so im gonna guess its not a deodexed version....hmmmm i wish this was as simple as install zip from sd card hahaha
giggz9269 said:
im xcurrently haveing trouble decompiling this apk, im folowing th eguide you linked, but im unable to find the system or twframework.apk files, so im gonna guess its not a deodexed version....hmmmm i wish this was as simple as install zip from sd card hahaha
Click to expand...
Click to collapse
Systemui.apk - system / app
Framework - res.apk. and twframework-res.apk - system / framework
Use root explorer..
Sent from my GT-S5830i using xda app-developers app
js2892 said:
this will provide "off" animation..
decompile framework-res.apk
go to res/values and find bools.xml
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
how to decompile framework-res.apk
http://forum.xda-developers.com/showpost.php?p=36388165&postcount=2
if you want unlock animation too...read here
http://rootzwiki.com/topic/2553-dev-enabling-crt-on-off-animation-in-roms-how-to/
hit thanks if this helped you!
Click to expand...
Click to collapse
i found the asystem ui.apk but the twframework.apk is non existant
giggz9269 said:
i found the asystem ui.apk but the twframework.apk is non existant
Click to expand...
Click to collapse
twframework-res.apk is only for samsung phones with touchwiz... that's why it's not there...
use systemui.apk and framework-res.apk :good:
js2892 said:
twframework-res.apk is only for samsung phones with touchwiz... that's why it's not there...
use systemui.apk and framework-res.apk :good:
Click to expand...
Click to collapse
THANKYOUI SO MUCH, ok so i have the value you specified changed, now, is there anyway i can flash it into my phone so i dont have to painstakingly reinstall the rom and set all ym stuff back up?
also, after i have decompiled and the value changed, what is the next step to recompile? to chose option 15 and compile and sign and install apk?
giggz9269 said:
THANKYOUI SO MUCH, ok so i have the value you specified changed, now, is there anyway i can flash it into my phone so i dont have to painstakingly reinstall the rom and set all ym stuff back up?
also, after i have decompiled and the value changed, what is the next step to recompile? to chose option 15 and compile and sign and install apk?
Click to expand...
Click to collapse
ok..good you have decompiled and edited...!! No need to sign...
this is what you do..
use option 11..compile system apk..
go through the guide again, it specifically gives info about editing framework-res.apk
now since u have edited an .xml file, therefore you will have to delete resources.arsc
now again i'm saying see the guide, it tells u step by step along with pictures
after compiling apk, there are two options!
1. rename the compile apk as framework-res.apk and push it to system/framework and replace the old one!!
Note: If you do this you will face lot of force close errors, and screen might go black too...but this is normal..all you have to do is reboot and you'll be good again!:good:
OR
2. Create a flashable zip for cwm
How to-> http://forum.xda-developers.com/showthread.php?t=1721680
P.P.S- If you have committed any mistake in editing or compiling or even there is an software error in APK Multi tool which produced a bad .apk your phone will go into bootloop, hence make a backup with cwm!!
andddd im now bootlooping, i am on the third recompile, and pushing from recovery to /system/framework/framework-res.apk and i deleted the resources.asrc ill try recomiling a few more times just to make sure its not apk mutitool messing up
giggz9269 said:
andddd im now bootlooping, i am on the third recompile, and pushing from recovery to /system/framework/framework-res.apk and i deleted the resources.asrc ill try recomiling a few more times just to make sure its not apk mutitool messing up
Click to expand...
Click to collapse
ok..so i assume u are following the guide correctly and since u have tried three time hence i believe there is no mistake on editing part..following are scenarios:
1. APK Multi Tool is not compiling apk properly, in such case use other apk tools and then check ur results.
2. the problem might be with your phone/OS, i cannot predict what might be the problem, it's best to ask this thing in ur device's section!
I assume you are on deodexed ROM, if u want to check how then-
decompile your systemui.apk and go to folder project and there will be a folder "systemui". Open it and check if there is a folder named "smali" in it! If yes then ur rom is deodexed and if not ur ROM is odexed. I cannot guarantee the working of above method on odexed ROMs.!
Workaround
1. Get CM
2. There's an app called Screen Off and Lock. It gives CRT animation but not by power button press. It creates a shortcut on homescreen, by pressing which u lock ur phone with CRT animation:good:. But again it does not provide aniamtion on screen unlock!