[REQUEST] .zip to remove CRT animation from jaggyrom - HTC Pico (Explorer)

hello , is there any way to remove the crt animation when the screen is locked ?

anirudhbs1996 said:
hello , is there any way to remove the crt animation when the screen is locked ?
Click to expand...
Click to collapse
Yeah I made a zip for that.. will post it later.
Sent from my HTC Sensation XL with Beats Audio X315b using xda app-developers app

If you want to do it yourself, all you have to do is pull framework-res.apk off your phone (from /system/framework; you can copy it with a root file explorer and then copy it off the SD card onto your computer), decompile with apktool, then open /res/values/bools.xml and look for this line:
Code:
<bool name="config_animateScreenLights">false</bool>
Change the "false" to "true", recompile the apk with apktool and replace it back on your device. (It may be safer to take the "resources.arsc" from the new APK, and copy it into the original APK using something like 7zip, rather than putting the new APK straight onto the device, but in theory either should work fine).
Otherwise, just wait for hsn97's upload.

ill try to do it on my own , if i fail ill wait for hsn97's upload .

anirudhbs1996 said:
ill try to do it on my own , if i fail ill wait doe hsn97's upload .
Click to expand...
Click to collapse
There u go
just simply flash it, ive made both zips for getting it and for removing it in case if u want it back

hsn97 said:
There u go
just simply flash it, ive made both zips for getting it and for removing it in case if u want it back
Click to expand...
Click to collapse
thanks , i did fail doing it , somehow i could only remove crt effect only when i lock the phone .

hsn97 said:
There u go
just simply flash it, ive made both zips for getting it and for removing it in case if u want it back
Click to expand...
Click to collapse
can u make crt animation for sense 4

anirudhbs1996 said:
thanks , i did fail doing it , somehow i could only remove crt effect only when i lock the phone .
Click to expand...
Click to collapse
So its working fine for u ?
Hpsgill said:
can u make crt animation for sense 4
Click to expand...
Click to collapse
Sorry bro no idea of sense 4 but still using it

yeah , it works fine

Hpsgill said:
can u make crt animation for sense 4
Click to expand...
Click to collapse
If you do the reverse of my post above (i.e. change "true" to "false"), that should enable the CRT animation I believe.

SifJar said:
If you do the reverse of my post above (i.e. change "true" to "false"), that should enable the CRT animation I believe.
Click to expand...
Click to collapse
Cmon just for removing the animation no ones gonna decompile an APK and many are also unknown of apktool and all these stuff ..
sent from xda premium using my fingers

hsn97 said:
Cmon just for removing the animation no ones gonna decompile an APK and many are also unknown of apktool and all these stuff ..
sent from xda premium using my fingers
Click to expand...
Click to collapse
May as well learn. And it takes only a few seconds to decompile it; I'd say the entire process of pulling the APK, decompiling, editing, recompiling, pushing APK back and waiting for phone to reboot could probably be done in under 5 minutes. Compared to potentially waiting days/weeks for someone else to upload a flashable ZIP to do it, I'd say that's fair enough

i dont know what i did the first time , it worked only once , then i tried to decompile the apk file ,when i made the changes and tried to recompile it again , it didnt work , for many apk files ... does anyone know the solution ?

anirudhbs1996 said:
i dont know what i did the first time , it worked only once , then i tried to decompile the apk file ,when i made the changes and tried to recompile it again , it didnt work , for many apk files ... does anyone know the solution ?
Click to expand...
Click to collapse
Are you just modifying framework-res.apk, or are you trying to do app APKs (I'm not sure because of the "for many apk files")? If you're trying to do apps, they need to be resigned after modding, or else they won't install. If it's framework-res.apk, I don't know what's wrong. More detail would be helpful; what exactly did you do, at what point does it fail, is there some error message etc.

SifJar said:
Are you just modifying framework-res.apk, or are you trying to do app APKs (I'm not sure because of the "for many apk files")? If you're trying to do apps, they need to be resigned after modding, or else they won't install. If it's framework-res.apk, I don't know what's wrong. More detail would be helpful; what exactly did you do, at what point does it fail, is there some error message etc.
Click to expand...
Click to collapse
C:\apktool>apktool b systemui.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
C:\apktool>
i get the above message

Sounds like apktool.yml is missing. Maybe you deleted it by accident or something. Try decompiling the APK again into a different folder, and then copy apktool.yml from the newly decompiled one into your existing modified one, and retry rebuilding it.
EDIT: Wait, scratch that. Your command is wrong. It should be "apktool b systemui SystemUI.apk" where "systemui" is the name of the folder the APK was unpacked to.

Question??
I dont know how.. I did 2 clean installs of CM 9.1 and CM10... But the Old TV anim remained for both.. and it sortof got mixed with the existing ROM anims.. Can I flash the " TO REMOVE CRT ANIM " directly to remove that OLD TV anim remaining from JaggyROM 3.x.x ??
Will I lose my current ROM DATA and System ?? Sorry Im a NOOB . Thanks

akshat.shenoy said:
I dont know how.. I did 2 clean installs of CM 9.1 and CM10... But the Old TV anim remained for both.. and it sortof got mixed with the existing ROM anims.. Can I flash the " TO REMOVE CRT ANIM " directly to remove that OLD TV anim remaining from JaggyROM 3.x.x ??
Will I lose my current ROM DATA and System ?? Sorry Im a NOOB . Thanks
Click to expand...
Click to collapse
Lol , bro when u flash a new ROM nothing remains from the old ROM .. so dont do the mistake of flashing this removing CRT animation zip on CM9/10. In CM9 theres an option to switch off Crt Animation. Just go to Display and unmark it but in CM10 it isnt. I hope it will help u
sent from xda premium using my fingers

For CM10, you have to use the method SifJar explained.

SifJar said:
If you want to do it yourself, all you have to do is pull framework-res.apk off your phone (from /system/framework; you can copy it with a root file explorer and then copy it off the SD card onto your computer), decompile with apktool, then open /res/values/bools.xml and look for this line:
Code:
<bool name="config_animateScreenLights">false</bool>
Change the "false" to "true", recompile the apk with apktool and replace it back on your device. (It may be safer to take the "resources.arsc" from the new APK, and copy it into the original APK using something like 7zip, rather than putting the new APK straight onto the device, but in theory either should work fine).
Otherwise, just wait for hsn97's upload.
Click to expand...
Click to collapse
I just was searching for a way to remove CRT from a 4.2 ROM and this thread came up. Just as an FYI for anyone else that has this come up in a search, right now the apktool doesn't work on the 4.2 framework. I'm sure this will work once the tool gets updated.

Related

[req] CRT lock animation

Can anyone make this for the Galaxy Note? Would be much appreciated!
Or can anyone tell me if this will work:
http://forum.xda-developers.com/showthread.php?t=1138800
I'm also wondering around the net trying to find something like this!
Why oh why did samsung remove it!
Looks like it doesnt work. Doesnt stuff anything up just doesnt work
Sent from my GT-N7000 using XDA App
You could try the app "Screen Off and Lock" from the Market, not quite as slick as the real thing since it doesn't map to the power button, but not bad in the meantime!
daoutlawz said:
Looks like it doesnt work. Doesnt stuff anything up just doesnt work
Sent from my GT-N7000 using XDA App
Click to expand...
Click to collapse
Do you have all animations on under "Display"?
metus666 said:
Do you have all animations on under "Display"?
Click to expand...
Click to collapse
Yes, that was the first thing I checked ;-)
Sent from my GT-N7000 using XDA App
for me it worked (zskk1).
metus666 said:
Can anyone make this for the Galaxy Note? Would be much appreciated!
Or can anyone tell me if this will work:
http://forum.xda-developers.com/showthread.php?t=1138800
Click to expand...
Click to collapse
so this works on the galaxy note? I want to do this but dont want to waste my time if it doesnt work
Yup worked like a charm, pretty easy too if you just follow the instructions step by step
i uploaded the file as a zip, just extract the apk out of it and replace the one in your sytem/framework with this one. Also not sure if it matters but my phone is a KJ4
hmm....gonna give that a go now..
I installed it via CWM
---------- Post added at 03:55 AM ---------- Previous post was at 03:20 AM ----------
Well, that worked!
PolishDude said:
i uploaded the file as a zip, just extract the apk out of it and replace the one in your sytem/framework with this one. Also not sure if it matters but my phone is a KJ4
Click to expand...
Click to collapse
It worked very well. (have a KJ4 too)
It also replaces my battery icon to something numeric.
Double gain.
Thanks!
PolishDude said:
i uploaded the file as a zip, just extract the apk out of it and replace the one in your sytem/framework with this one. Also not sure if it matters but my phone is a KJ4
Click to expand...
Click to collapse
How do you replace the old framework-res.apk ?
I've tried Root Explorer with no success... The file is read only.
Click the little mount r/o button then try to paste it
Your phone will restart and when it comes back on, this and battery percentage should both work
Sent from my GT-N7000 using XDA App
Much more simpler to do than explaining it ...
Thanks to tr.supradeep for it post ... if you have root make like this ... it works on all rom and all themes ... better than flashing someone framework.res.apk that can stuck your phone in bootloop ...
FOR THOSE WHO JUST WANT TO ENABLE CRT ANIMATION WITHOUT CHANGING THEME IN CODEROM:
Just follow the steps given below regarding build.prop and probably if there is no mistake then it should work.
How to enable CRT animation:
1. Pull out "build.prop" using adb or copy it to your comp using Root Explorer. Modify it as suggested ahead. It resides in /system/build.prop .
2. Open build.prop and modify one(or two on coderomnexus) of the line.
'debug.sf.hw=1' is the line in the file. Replace it by '#debug.sf.hw=1'. Indirectly you are just changing the line into a comment by adding a #.
3. Now take this file and replace your original build.prop. You can do this by using adb or root explorer it doesnt matter.
4. Now apply any of the themes provided below using the steps given above.
5. Reboot phone.
NOTE: If the CRT animation is not working after reboot then reapply theme after you have modified your build.prop and try to reboot and see. And also enable all animations or some animations in Settings->Display->Animation for CRT animation to work.
NOTE: If you cannot follow the instructions given here please follow the link given below.
Video for Instructions to enable CRT animation: http://www.youtube.com/watch?v=zp6RsSZ4X2w
Credit for the Video: GadgetCheck (Thank you very much GadgetCheck )
Hope this works for all of you.
Any problems please comment. And i do hope many other developers use my theme and make newer or older theme with the CRT animation enabled as i cannot do it all by myself.
Please click Thanks if this post helped you.
Original thread http://forum.xda-developers.com/showthread.php?t=1140461
And it works
Modified framework-res.apk for KK1
I had modified framework-res.apk with the animation turned on only for KK1 per attachment. Just replace the one in /system/framework.
jcklau.
U mind giving telling me what files to replace in framework-res.
I got a heavily modded framework that I dont want to loose. It would be easier if I just recompile ur xml into my framework rather than the other way round.
What xml did u edit.?
And any additional files?
Also, is it both crt on and off... or only off effect?
Thnx a million.
I edited res/values/bools.xml
Changed "<bool name="config_animateScreenLights">true</bool>" to "<bool name="config_animateScreenLights">false</bool>"
Hope it helps.
Johnny
jcklau said:
I had modified framework-res.apk with the animation turned on only for KK1 per attachment. Just replace the one in /system/framework.
Click to expand...
Click to collapse
I've applied on my KK1 firmware rooted but struck on the startup screen loop. How to undo it?
Easiest way is to restore from CMW.
desztan said:
I've applied on my KK1 firmware rooted but struck on the startup screen loop. How to undo it?
Click to expand...
Click to collapse

[Q] How to edit framework.apk?

i have tried editing the framework.apk using the apkmanager
then i put it into the rom and flash it in my phone but my phone gets stuck in a bootloop...why does this happen??
psyche.11 said:
i have tried editing the framework.apk using the apkmanager
then i put it into the rom and flash it in my phone but my phone gets stuck in a bootloop...why does this happen??
Click to expand...
Click to collapse
how did u flashed it by clockworkmod or directly via root explorer
You say you edited it, what did you edit? maybe you edited the wrong thing, even if you edit some images wrong it can cause problems.
just a few pngs...havent touched .9.pngs at all
but when i include it in the rom then flash the whole rom including the framework, doesnt work but if i only flash the framework.apk thru CWM it works...i was just wondering why
psyche.11 said:
i have tried editing the framework.apk using the apkmanager
then i put it into the rom and flash it in my phone but my phone gets stuck in a bootloop...why does this happen??
Click to expand...
Click to collapse
which pngs did u edit and did u keep them to the same dimensions as they wer before with the same name... and did u get any errors while recompilin....

How to customise APK's Images [EASY]

First off you need a deodoxed custom rom , next copy the desired APK's from your System/App folder or from the zip you flashed or from wherever.
Download and Install WinRAR or 7Zip and drag the APK onto the shortcut on your desktop. It should open it up , next extract the LDPI and the HDPI folder/s onto your desktop.
Edit your pics with any program e.g. Paint.net . Then replace the modified folder with the old one.
Next download SignAPKTics from APKTops and install that. Drag the modded APK to your SD card.
Click START , choose the APK , click next , choose Test Sign and click sign! Wait 1.5 mins! And ot should be done. Now just (with root browser) replace the old one with the modded one.
And re-boot! Enjoy...
hah great tip for us
thanks
Has the OP tested this trick?
Thanks a lot!!!!!!!!!!!! :^)
Sent from my GT-S5360 using xda premium
bumslayer said:
Has the OP tested this trick?
Click to expand...
Click to collapse
Click START , choose the APK , click next , choose Test Sign and click sign! Wait 1.5 mins! And ot should be done. Now just (with root browser) replace the old one with the modded one.
Click to expand...
Click to collapse
I'm not sure if he has tried it with system app. replacing a file like systemUI.apk or framework-res.apk will make our device continously give FC message. we should use zip file to push the apk to /system/app. system app is also should not signed. I always using this trick without signing stuff and it works. we just need to make sure that we're replace the ordinary file (not the .9 one) and put a picture with same resolution with the original one.
Exactly my thoughts. Resigning systems apps is a big NO. I already did it twice (SystemUI.apk) and I ended up with no statusbar. Good thing I had a backup.
bumslayer said:
Exactly my thoughts. Resigning systems apps is a big NO. I already did it twice (SystemUI.apk) and I ended up with no statusbar. Good thing I had a backup.
Click to expand...
Click to collapse
afaik, it's all or nothing. if you resign one system apk, you have to do for all system apk with the same key.
irfanbagus said:
afaik, it's all or nothing. if you resign one system apk, you have to do for all system apk with the same key.
Click to expand...
Click to collapse
AND permissions.. make sure the permissions are same as original BEFORE putting it in the appropriate folder..
noobwithgalaxyy said:
AND permissions.. make sure the permissions are same as original BEFORE putting it in the appropriate folder..
Click to expand...
Click to collapse
Thats the reason I prefer flashing instead of manually replacing the files cuz then you dont need to set the permissions. Its good for lazy people like me
I have tried it and it works. I did it because when I didn't it said "status bar force close".
Sent from my GT-S5360 using XDA
I.AM.H3RO said:
I have tried it and it works. I did it because when I didn't it said "status bar force close".
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
lol?
show us screen shots
when making a guide always post screenshots dude,
not just post words,
make it clarified and very detailed so that people reading this will not get lost,
also don't post for the sake of just putting it there,
you have a good title
but when people read this its not "easy"
try to put yourself in other people's shoes,
even i can't comprehend the output you put on this
no offence but make this better and stop posting threads that are useless
The easiest and foolproof method is to use Ninjamorph or metamorph app from market.I've modified tones of .pngs with them.
First open the apk with the app
Exit the app
Go to myfiles/Androidthemes/workspace/name-of-apk/res/
Then go to drawable ldpi
Take a look at all of the .png files
Find which .png you want to replace.
You should make your own pic with photoshop or anything to replace it with exact resolution and name
Store it in the sd-card
Open the app again
Go to Existing project/name-of-apk/res/drawable ldpi
Click on the .png you want to replace
App will ask you to replace it with some other .png
Navigate to the modified pic
It'll replace the .png
Then go back to homepage of app
Then click finish project
Tap on the apk name
App will ask you whether you want to replace the original apk
Do as you want
Reboot phone
Make a nandroid backup before everything. cheers
sent while doin' some burnouts
b16h22 said:
The easiest and foolproof method is to use Ninjamorph or metamorph app from market.I've modified tones of .pngs with them.
First open the apk with the app
Exit the app
Go to myfiles/Androidthemes/workspace/name-of-apk/res/
Then go to drawable ldpi
Take a look at all of the .png files
Find which .png you want to replace.
You should make your own pic with photoshop or anything to replace it with exact resolution and name
Store it in the sd-card
Open the app again
Go to Existing project/name-of-apk/res/drawable ldpi
Click on the .png you want to replace
App will ask you to replace it with some other .png
Navigate to the modified pic
It'll replace the .png
Then go back to homepage of app
Then click finish project
Tap on the apk name
App will ask you whether you want to replace the original apk
Do as you want
Reboot phone
Make a nandroid backup before everything. cheers
sent while doin' some burnouts
Click to expand...
Click to collapse
yea metamorph/ninjamorph is great but i'd prefer to do it in PC and just push it via adb cuz i use photoshop and i find it a hassle to use my phone to edit apk's
It's for those guys who dont know how to decompile/compile apk files with their pc.But I agree with you, pc is the best way to go.
sent while doin' some burnouts
I.AM.H3RO said:
First off you need a deodoxed custom rom , next copy the desired APK's from your System/App folder or from the zip you flashed or from wherever.
Download and Install WinRAR or 7Zip and drag the APK onto the shortcut on your desktop. It should open it up , next extract the LDPI and the HDPI folder/s onto your desktop.
Edit your pics with any program e.g. Paint.net . Then replace the modified folder with the old one.
Next download SignAPKTics from APKTops and install that. Drag the modded APK to your SD card.
Click START , choose the APK , click next , choose Test Sign and click sign! Wait 1.5 mins! And ot should be done. Now just (with root browser) replace the old one with the modded one.
And re-boot! Enjoy...
Click to expand...
Click to collapse
May be you should try it out first.Replacing system apps with root explorer is a very dangerous business.I'm familiar with that.My phone started to do endless boot loops which even a nandroid restore failed to fix and ended up in flashing a new stock rom.
sent while doin' some burnouts
b16h22 said:
May be you should try it out first.Replacing system apps with root explorer is a very dangerous business.I'm familiar with that.My phone started to do endless boot loops which even a nandroid restore failed to fix and ended up in flashing a new stock rom.
sent while doin' some burnouts
Click to expand...
Click to collapse
agree
pushing it using adb is a more safer way, because if something goes wrong with forcing it to system then you can just repush the original system apk
you was replacing a running apk. there's no doubt it will give you FC message (lol). try your method to replace framework-res.apk or any system app/framework. b16h22 is right. your method is dangerous.
I modify my systemui.apk but signapktic give
Doesn't exist
132 installed package
Error ...
I'm just trying to help people , if you don't like it then good for you. I'd love to add screenies but laptop is broken. If you could provide them then brilliant.
Sent from my GT-S5360 using XDA
Use test sign and if that doesn't work are install signapktic
Sent from my GT-S5360 using XDA

resize .9.png error?

if we resize the .9.png and replace with the original one.... will we have any bootloops or noboot or any other problem.. ?
_viren_ said:
if we resize the .9.png and replace with the original one.... will we have any bootloops or noboot or any other problem.. ?
Click to expand...
Click to collapse
I've done it many times using 7zip, then flashed the apk and never got bootlooped
umangleekha said:
I've done it many times using 7zip, then flashed the apk and never got bootlooped
Click to expand...
Click to collapse
Well as far as I have tested, you need to decompile if you want to edit .9.png files, only 7zip didn't help.
i had also read that just extracting these .9 pngs cause error in the images patches n all... so its better to decompile... but i know that decompile gives a lots of folders.. ...so the point is that cant we just edit by just extracting the pngs...?... will the image get corrupted or mal functioned or not work properly if we just extract.. ?
_viren_ said:
i had also read that just extracting these .9 pngs cause error in the images patches n all... so its better to decompile... but i know that decompile gives a lots of folders.. ...so the point is that cant we just edit by just extracting the pngs...?... will the image get corrupted or mal functioned or not work properly if we just extract.. ?
Click to expand...
Click to collapse
Yes I once just replaced some . 9.png's using 7zip but then I had some nice bootloops
Sent from my LG-P500 using xda
haha.. nice bootloops.. ..
anyways..so.. and can you also say whether if i resize hdpi .9 pngs and put them in my apk.. will that make any errors.. ?
AFAIK you'll have errors, but I am not master at it just tried a bit of theming but soon abandoned
Anyways here is a very good tutorial, try it:
http://www.androidnova.org/category/tutorials/themes-development/
myawan said:
AFAIK you'll have errors, but I am not master at it just tried a bit of theming but soon abandoned
Anyways here is a very good tutorial, try it:
http://www.androidnova.org/category/tutorials/themes-development/
Click to expand...
Click to collapse
thats an awesome tut yaa.... thnx..

CRT lock animation HTC EVO 3d Virgin mobile.

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!

Categories

Resources