• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root How to enable CRT lockscreen animation! Update: Easier method, see below works on stock Monster 4!

It worked! :adore:requisite0 However, the permissions were changed. Its usually rw-r-r but when i flashed it, it changed to rwsr-sr-x with uid and gid permissions checked. Is there a way to change the permissions in the code? Could you also add these build props in there too?

Stock deodexed build.prop Link

Stock odexed build.prop Link

I learned a lot from looking at the packages. How do you generate the binary code? Do you write the updater-binary in a text doc, then remove the extension? I want to learn this shit, lol. Thanks
 
I keep getting this error. Have redownloaded and extracted the apktool.jar to the proper folder and have restarted the computer, makes no difference.

demented@Ishbu-T-Balsac:~/android-sdk-linux/platform-tools$ apktool d framework-res.apk
apktool: command not found

Any ideas?
Edit: I have downloaded the Linux files for this from here http://code.google.com/p/android-apktool/ but no luck.

Edit again: Got it as always. Error on my part.
 
I keep getting this error. Have redownloaded and extracted the apktool.jar to the proper folder and have restarted the computer, makes no difference.

demented@Ishbu-T-Balsac:~/android-sdk-linux/platform-tools$ apktool d framework-res.apk
apktool: command not found

Any ideas?
Edit: I have downloaded the Linux files for this from here android-apktool - A tool for reverse engineering Android apk files - Google Project Hosting but no luck.

Try:
Code:
java -jar /path/to/apktool.jar d /path/to/framework-res.apk
You should probably familiarize yourself with Linux and the command line before attempting something like this.

RedBeansNRice said:
I learned a lot from looking at the packages. How do you generate the binary code? Do you write the updater-binary in a text doc, then remove the extension? I want to learn this shit, lol. Thanks

The binary is generated by compiling recovery (in this case CWM) for a specific device (in this case, the Admire), so don't worry about that. You need to be viewing the updater-script, the list of "commands" the updater-binary executes.

With the zip(s) I provided, you can just put any files you want in the system subfolder, and they will be copied over /system on the device (like the build.prop you want to include).

To change the permissions, see the updater-script, namely, the set_perm function, syntax is as follows:

Code:
set_perm(uid, gid, mode, "/path/to/file");
 
You said you put the .jar file in there, good. Did you also place the aap and apk tool in there also? BTW, the jar file linked above is good for all systems, but the other file linked is only for windows. If your running linux your aapt and apk tool file will be different. On linux you need these Link Link. Extract all those to your platform tools folder. cd to that directory,put your apk in the same directory, and run the commands. Here is a link that might help with installation. Here is a link to that deals with framework files.
 
Try:
Code:
java -jar /path/to/apktool.jar d /path/to/framework-res.apk
You should probably familiarize yourself with Linux and the command line before attempting something like this.



The binary is generated by compiling recovery (in this case CWM) for a specific device (in this case, the Admire), so don't worry about that. You need to be viewing the updater-script, the list of "commands" the updater-binary executes.

With the zip(s) I provided, you can just put any files you want in the system subfolder, and they will be copied over /system on the device (like the build.prop you want to include).

To change the permissions, see the updater-script, namely, the set_perm function, syntax is as follows:

Code:
set_perm(uid, gid, mode, "/path/to/file");
I'm familiar with linux and command line, I somehow just accidentally put a "." in the file name when I extracted it to the /platform-tools folder. Got it all sorted.
 
Hey RedBeans,

Something I noticed after doing this to my phone. Yea I had the isue with the disappearing battery icon but that was no issue for me. I took care of that.

Issue is that if you run this tweak/mod or whatever it is, you can not properly use UOT Kitchen for further theming afterwards. It will fail during cooking each time. It gives errors since it needs the framework-res.apk and SystemUI.apk.

It gives the SHTF error. I looked into the error log and noticed it all how to do with how you worked the .png files. All of them that you worked on were listed. So I had to choose between your cool powerbutton animation and being able to use UOT kitchen, which sucks.

Is there any way I can not have Kitchen reject the framework-res.apk and SystemUI.apk. files?

At this point I think it is eaither one or the other, hopefully I am wrong.
 
Grab the file from the same link you did before. I updated it, I didn't touch the pngs on that one; and try the kitchen again, if you want. Were you able to use the kitchen with the unmodified monster? If so, then I think the new file will fix it.



EDIT: This mod is now flashable thanks to requisite0. I made a new thread with the files. Check it out if you're interested.
 
Hey RedBeans,

Would there be a way to add an audio (wav, ogg or mp3) to the animation sequence?

Just wondering, as I like to add audio that fits the theme. Like I would add a staticy effect to the TV shutdown ani or something to that effect.

I know this is an old thread but, you could create a sound file and name it Lock.ogg and replace the one in /system/media/ui. I put the iPhoney lock sound on mine that way LOL!
 
I tried your framework on monster 5.3. To anyone whos wondering it does NOT work on monster 5.3. As long as you have a backup you can easily restore it but it does send your phone into a boot loop
 
Back
Top Bottom