Related
This simple guide will show you how to enable the CRT animation on any Gingerbread build. It's a fairly easy process, but it does require one developer tool: apktool. You can download it below.
Download APKTOOL
On Windows, download apktool-windows and apktool.jar
Extract the file contents in each archive into your Windows folder:
C:\Windows
Save your framework-res.apk file to a place that you know
I saved mine to: C:\hktw\framework-res.apk
Open the[FONT=inherit !important] command prompt[/FONT]
On Windows, press the Start button, type: cmd, press the Enter button
You’ll need to change the directory of your commands to the one where you saved your .apk file
Type the “cd” command and then the directory where you saved your file.
cd C:\hktw
Now you need to tell apktool to decompile the framework…
apktool d -f framework-res.apk
You should see in your .apk folder a new folder has been created: “framework-res”
Inside of that folder you can now see all of the decompiled parts of your .apk
Edit res/values/bools.xml
Change "<bool name="config_animateScreenLights">true</bool>" to "<bool name="config_animateScreenLights">false</bool>"
When you’re done editing, you’ll need to recompile the .apk
cd C:\hktw
apktool b -f framework-res
Note the inclusion of the “.apk” during decompilation, and the exclusion of the “.apk” during recompilation
After you’ve sent the recompile command, apktool will work and eventually create two new folders called “dist” and “build”
Inside of the “build” folder will be the recompiled parts of your .apk
Open the original .apk file using WinRAR of 7zip
Drag and drop the “resources.arsc” file inside of “build/apk” to the root of your original .apk
Now place that modified framework-res.apk in your /system/framework. You're done!Alternatively, you can use my CWM installable package attached below on HKTW 2.3.4.
You make it so complicated, then so easy!
Sent from my MB860 using XDA App
I've been so busy. I'm going to try my best as soon as we get the OTA build for AT&T.
I installed the hktw build and then enabled Animations and I get the CRT animation....was I not supposed to?
jiggytom said:
I installed the hktw build and then enabled Animations and I get the CRT animation....was I not supposed to?
Click to expand...
Click to collapse
You don't get it from the stock hktw.
Sent from my MB860 using XDA Premium App
This won't work on our Atrix's yet, though, correct? As I recall we're still on Froyo. Sorry, I'm just a bit confused as this was posted in the Atrix forums. I assume we have to wait for the upcoming 2.3.x update for this to work?
kennethpenn said:
You don't get it from the stock hktw.
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
I have the HKTW build from http://forum.xda-developers.com/showthread.php?t=1138092 and enabling animation has brought the CRT effect for me..
I have the HKTW build from http://forum.xda-developers.com/show....php?t=1138092 and enabling animation has brought the CRT effect for me..
Click to expand...
Click to collapse
Same here.
kennethpenn said:
You don't get it from the stock hktw.
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
I enbaled animations after I flashed and already had the CRT. Animations were disabled by default
Uhh, yea...I got my crt animation simply by enabling all window animations in the settings....
BravoMotorola do you have gingerbread on your at&t?!
ATRIX already got 2.3.4! Where are you my friend?
Sent from my MB860 using XDA App
buil of january? its too much buggy
if you talking a official update I don't receive...:S....
I already unlock today my atrix =)
BravoMotorola said:
Uhh, yea...I got my crt animation simply by enabling all window animations in the settings....
Click to expand...
Click to collapse
I confirm this, just go to settings ...display enable all animations and you will get crt animation.
Sent from my MB860 using XDA App
EclipseX said:
buil of january? its too much buggy
if you talking a official update I don't receive...:S....
I already unlock today my atrix =)
Click to expand...
Click to collapse
Nope! The 2.3.4 dev build leaked 2 weeks ago...and it runs great except for no fingerprint scanner...
+1 worked for me too
ceo.mtcl said:
I confirm this, just go to settings ...display enable all animations and you will get crt animation.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Sent from my MB860 using XDA App
kennethpenn said:
You don't get it from the stock hktw.
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
Yes, you do. Enable all screen transitions in the settings and it automagically happened.
BravoMotorola said:
Nope! The 2.3.4 dev build leaked 2 weeks ago...and it runs great except for no fingerprint scanner...
Click to expand...
Click to collapse
It works great but I wish we have an ASOP ... greedy me. Lol
Sent from my MB860 using XDA App
here?! I can't find it :S
Same Q as above?
Where is it?
I use cm9 with 240 lcd density.
The problem is whenever I flash a nightly, I have to modify density manually.
I want to know if I can create a cwm script which I can always flash with the nightly to modify the density.
Please dont advice to use apps to do it like lcd density modder, etc. I am well aware.
Thanks!
EDIT: Succeeded in making it. File attached.
Sent from my GT-N7000 using xda premium
jaiiscool said:
I use cm9 with 240 lcd density.
The problem is whenever I flash a nightly, I have to modify density manually.
I want to know if I can create a cwm script which I can always flash with the nightly to modify the density.
Please dont advice to use apps to do it like lcd density modder, etc. I am well aware.
Thanks!
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Edit the build.prop from the CM_Nightly.zip and re-zip it.
Boy124 said:
Edit the build.prop from the CM_Nightly.zip and re-zip it.
Click to expand...
Click to collapse
I am aware of that but as I mentioned.....i need the cwm command and not some work around...
But thanks anyway
Sent from my GT-N7000 using xda premium
Look into creating a flashable zip file. Also look into adding code to delete old line and insert new line in buildprop.
Shouldnt be to hard. But thats easily spoken. Its to difficult for me.
Sent from my GT-N7000 using Tapatalk 2
baz77 said:
Look into creating a flashable zip file. Also look into adding code to delete old line and insert new line in buildprop.
Shouldnt be to hard. But thats easily spoken. Its to difficult for me.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
That is what I am searching for, but did not find it anywhere and ended up posting it here.
Sent from my GT-N7000 using xda premium
jaiiscool said:
I am aware of that but as I mentioned.....i need the cwm command and not some work around...
But thanks anyway
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=17594598&postcount=30
success
Finally figured it out.
I had to use a UNIX shell script to accomplish it, but it is done.....yay!!!!
jaiiscool said:
Finally figured it out.
I had to use a UNIX shell script to accomplish it, but it is done.....yay!!!!
Click to expand...
Click to collapse
Awesome, can you share in developer section
Sent from my GT-N7000 using Tapatalk 2
baz77 said:
Awesome, can you share in developer section
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Sure!
Sent from my GT-N7000 using xda premium
baz77 said:
Awesome, can you share in developer section
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
File attached in first post.
Moderator please move this thread to dev section!
will this work for my nexus 5? Does the lcd.sh go in the init.d folder?
i have the 15 toggle bar for the note n7000... but the text below them are too big.. can anyone tell me how to change them?
Hey anyone.. No replies yes.... Hmmmm..
I know that it's in the values folder.... String. Xml.... But when I edit the file and recompile the framework... The phone won't boot.
Sent from my GT-N7000 using xda premium
my question is add another language for title icon (i.e. italian) or change the title icon properly (i.e. flash light to flashlight).
i decompiled lidroid-res.apk add values-it and edit strings.xml, recompiled , put the new lidroid-res.apk into zip for cwm,
installed the zip via cwm, reboot but error ...
one week always error...
can someone help us?
Hey Devs.. please give us a hint of how to recompile the -res.apk file cuz we not getting any success.. i have been trying to get this done.. but failing every time... ...
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
letters_to_cleo said:
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
Click to expand...
Click to collapse
Thanks for ur response... but i seem to have used all the apktools available... i can recompile the "-res.apk" but when i put it back to \system\framework ... the UI FCs and the notification bar doesnot load.
unfortunately od has stopped. >> is the message i get when i put the modified "-res.apk".
i have noticed one thing that the recompiled apk doesnot have META-INF folder... although i tried to copy it and gave a try but still no go...
what i am trying to do is using a themed apk like lidroid or crikelos res .. decompile .. change some text under the toggle buttons ...
what am i doing wrong... ?
hmm... have you tried setting back the permissions on your modified -res.apk in /system/framework? Mounting it before hand?
If you have, you may indeed try to ask some devs or someone who knows their way in recompiling apks as this is a sensitive matter to touch with and I'm moderately more on contributing stuffs rather than delving into the internal programmings on the android ecosystem.
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
No problems bud.
Hope somebody can take notice on your issue and give you a lending hand on it.
:victory:
---------- Post added at 10:08 PM ---------- Previous post was at 10:06 PM ----------
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Well there you go.. Cheers and Kudos to CoolCat on this :good:
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
nokiamodeln91 said:
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
Click to expand...
Click to collapse
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
CoolCatGetHome infinite thanks
you saved me from sleepless nights looking for the solution
again thanks
CoolCatGetHome said:
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
so this is wat i do, correct me where i go wrong plz
1 decomiple app..
2. change the dimen.xml
3. recomile app
4. open the original app using 7z
5. go to the build/apk folder
6. copy the res folder and the .asrc file to the opened apk.
7. sign the apk
there is a classes.dex file as well... do i change it or do i keep the original
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
nokiamodeln91 said:
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
Click to expand...
Click to collapse
No that apk doesnt need to have that apktool.yml edit
Only lidroid needs it
But u need to sig it with
Android manager
Or apkmanager
Etc
Sent from my GT-S5830 using xda premium
Can anyone tell me how to apply crt animation on our device?
Sent from my GT-S5830i using xda premium
Already tried,doesn't work,with and without build.prop tweaks... :crying:
What is CRT animation?
Sent from my GT-S5830i using xda premium
Ohhh..
Sent from my GT-S5830i using xda premium
RubenStauttener said:
What is CRT animation?
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Watch this --
http://m.youtube.com/#/watch?v=zdWaDS_CIqI&desktop_uri=/watch?v=zdWaDS_CIqI&gl=GB
Sent from my GT-S5830i using xda premium
To get CRT anim working on this device, you need to edit some smalis.
Thats a lot of work for such a small effect. So i am not doing it. Neither is any TC member.
Shaaan said:
To get CRT anim working on this device, you need to edit some smalis.
Thats a lot of work for such a small effect. So i am not doing it. Neither is any TC member.
Click to expand...
Click to collapse
K... i can understand..
Sent from my GT-S5830i using xda premium
Isn't alredy in CM? -Prays fo CM to be ready in our SG-
Shaaan said:
To get CRT anim working on this device, you need to edit some smalis.
Thats a lot of work for such a small effect. So i am not doing it. Neither is any TC member.
Click to expand...
Click to collapse
dude seriously ?? its simple as hell on 5830 and no smali editing is needed..
1) decompile framework-res.apk
2) change animation sting in bool.xml to false and compile back apk
3) change build.prop and crt on
googling will give you proper file names and all that.. i guess whoever want it can atleast do that
madman said:
dude seriously ?? its simple as hell on 5830 and no smali editing is needed..
1) decompile framework-res.apk
2) change animation sting in bool.xml to false and compile back apk
3) change build.prop and crt on
googling will give you proper file names and all that.. i guess whoever want it can atleast do that
Click to expand...
Click to collapse
No. That method does not work on newer devices. You need to edit smalis.
Level up mate. You need to update yourself..
madman said:
dude seriously ?? its simple as hell on 5830 and no smali editing is needed..
1) decompile framework-res.apk
2) change animation sting in bool.xml to false and compile back apk
3) change build.prop and crt on
googling will give you proper file names and all that.. i guess whoever want it can atleast do that
Click to expand...
Click to collapse
U did it before? On samsung galaxy ace?
Sent from my GT-S5830i using xda premium
Can anyone describe which PNG needs to be edited to change the action bar (not the status bar) the bar which is blue in tw and shows my files heading when we open my files...
sent from by speedster s advanz
amitnv said:
Can anyone describe which PNG needs to be edited to change the action bar (not the status bar) the bar which is blue in tw and shows my files heading when we open my files...
sent from by speedster s advanz
Click to expand...
Click to collapse
it might be, and I am not totally sure, the tw_quickpanel_top_bg.png in the res/drawable-hdpi folder of your systemui.apk
bobfrantic said:
it might be, and I am not totally sure, the tw_quickpanel_top_bg.png in the res/drawable-hdpi folder of your systemui.apk
Click to expand...
Click to collapse
Will the changes be applied to the whole OS I mean the theme of other apps like root explorer will also change or what ?
Because root explorer uses the default theme of android it looks different on different ROMS
sent from by speedster s advanz
amitnv said:
Will the changes be applied to the whole OS I mean the theme of other apps like root explorer will also change or what ?
Because root explorer uses the default theme of android it looks different on different ROMS
sent from by speedster s advanz
Click to expand...
Click to collapse
I think that while you use tw, it will be the same for apps like root explorer, my files and so on. some of the roms are themed so that may be why it looks different. can't really say as I prefer just plain stock, and even with holo launcher hd it uses the tw colors when opening apps.
bobfrantic said:
I think that while you use tw, it will be the same for apps like root explorer, my files and so on. some of the roms are themed so that may be why it looks different. can't really say as I prefer just plain stock, and even with holo launcher hd it uses the tw colors when opening apps.
Click to expand...
Click to collapse
That was useful
Sent from my GT-I9070 using xda premium
Yesterday I modified secphone images .pngs but even after replacing the modified apk with the one in system/app/ nothing changed can anyone describe why ? Should I theme the sec contact apk also ?
Or is it necessary to decompile the apk even for editing .pngs ? When I extract the apk I can see the changes made but not applied ?can anybody help ? If yes then I would be able to make a nice secphone ..
Sent from my GT-I9070 using xda premium
amitnv said:
Yesterday I modified secphone images .pngs but even after replacing the modified apk with the one in system/app/ nothing changed can anyone describe why ? Should I theme the sec contact apk also ?
Or is it necessary to decompile the apk even for editing .pngs ? When I extract the apk I can see the changes made but not applied ?can anybody help ? If yes then I would be able to make a nice secphone ..
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
Secphone is the phone during call. If you want to change how the app looks then you should edit the SecContacts
Sent from my GT-I9070 using xda premium
Abhinandh Ajay said:
Secphone is the phone during call. If you want to change how the app looks then you should edit the SecContacts
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
I'll try ..but the thing is I only changed the dailer colour from blue to orange and it didn't show up I changed each and every where the colour tell me where I've gone wrong after editing and placing my files ? Should I compulsorily make a flashable zip like the one I made for music player ? Because replacing system apk didn't help....
Sent from my GT-I9070 using xda premium
amitnv said:
I'll try ..but the thing is I only changed the dailer colour from blue to orange and it didn't show up I changed each and every where the colour tell me where I've gone wrong after editing and placing my files ? Should I compulsorily make a flashable zip like the one I made for music player ? Because replacing system apk didn't help....
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
Since you edited the SecPhone.apk check the in-call Dailer. And you don't have to create a flashable zip, you can just push file to /system
In call_dailer_press.9.PNG refers to the pressed button and in call_keypad_BG_01.PNG refers to the keypad I've edited only the later one but changes just don't show up this is the first time I've encountered such an error...
Sent from my GT-I9070 using xda premium
amitnv said:
In call_dailer_press.9.PNG refers to the pressed button and in call_keypad_BG_01.PNG refers to the keypad I've edited only the later one but changes just don't show up this is the first time I've encountered such an error...
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
You should do that in SecContacts.apk
Sent from my GT-I9070 using Tapatalk 4 Beta
Will try..
Sent from my GT-I9070 using xda premium