I modified the android.policy.jar file located in /system/framework to enable volume wake on the new ICS OTA. This probably will only work if you're deodexed. I'm not going to make a flashable zip, someone else can if they want. Here's the .jar file, just replace your current android.policy.jar with this one and make sure you set the permissions on it as well. (chmod 644)
Edit: Santod has now has a flashable zip at http://forums.infectedrom.com/showthread.php/1912-ROM-Official-Thunderbolt-ICS-Rooted-Deodexed-Stock
Related
Was bored today (read: avoiding doing work), and quickly had the UOT kitchen give a better battery icon. Nothing fancy.
If anyone wants the zip, feel free. Also attached are the necessary files to make your own mods in UOT kitchen (if you're running the stock 2.3.6 rom).
....and now I guess I'd better do work today.
Without CWM (on stock 3e recovery), how's this installed? Can't install non official samsung zip files with 3e. Also, stock ROM is odexed... can i just rename/delete SystemUI.odex and replace my SystemUI.apk with this one? Or does it have to be pushed with ADB?
Good question! Wish I knew how else to install it without CWM. You might be able to change out the files, but I honestly don't know. Anyone out there know better than I?
Sent from my SAMSUNG-SGH-I727
easiest way to install without cwm is to have root explorer extract all the files in there which should be (framework-res.apk) and systemui.apk . once extracted and in your phone sd then you have to drag it with root explorer to system/framework for the framework-res.apk and for systemui.apk to system/app but before u do that you have to fix permissions by bringing them into system folder then fix permission and then move it otherwise you'll see forecloses like no tommorow and you're done. but if your rom is .odexed its not possible because of .odex scripts it'll mess up your phone like whoa ..anyways enjoy
permission to fix in the box are like this..
Read X X
Write X
Other X
This is stock 2.3.6, so it is still odexed...
Sent from my SAMSUNG-SGH-I727
Will this work for Sky ICS? 6.9
Sent from my SAMSUNG-SGH-I727 using XDA App
jslanger said:
This is stock 2.3.6, so it is still odexed...
Sent from my SAMSUNG-SGH-I727
Click to expand...
Click to collapse
I'm on the stock 2.3.6 ROM which is odexed. I see in /system/framework there is framework.jar and framework.odex. And a framework-res.apk with no matching odex. In /system/app there is systemUI.apk and systemUI.odex. So, to avoid a FC shii storm, I should:
1) put the OP systemUI.apk and framework-res.apk in /system and fix permissions...
2) then move systemUI.apk to /system /app folder.
3) move framework-res.apk to /system/framework folder.
Do I need to delete my current SystemUI.odex or leave it? Not sure if OP's systemUI.apk is deodexed or odexed?
Secondly, do I do anything with my current framework. jar and framework.odex files?
Kenneth.Torres said:
Will this work for Sky ICS? 6.9
Sent from my SAMSUNG-SGH-I727 using XDA App
Click to expand...
Click to collapse
Sorry, but it won't. But you can make your own using uot kitchen (online) for themes. Though I have read that some of the personalized ROMs don't play nice with UOT...
Sent from my SAMSUNG-SGH-I727
DoctorQMM said:
I'm on the stock 2.3.6 ROM which is odexed. I see in /system/framework there is framework.jar and framework.odex. And a framework-res.apk with no matching odex. In /system/app there is systemUI.apk and systemUI.odex. So, to avoid a FC shii storm, I should:
1) put the OP systemUI.apk and framework-res.apk in /system and fix permissions...
2) then move systemUI.apk to /system /app folder.
3) move framework-res.apk to /system/framework folder.
Do I need to delete my current SystemUI.odex or leave it? Not sure if OP's systemUI.apk is deodexed or odexed?
Secondly, do I do anything with my current framework. jar and framework.odex files?
Click to expand...
Click to collapse
ive not tried anything with .odex but it doesn't work as far as i know and yah some roms that are personalized have uot problems but just follow up with devs of those roms they can fix it up and all for ya.
I can confirm that it does work with odexed roms (since it does work with stock 2.3.6).
Sent from my SAMSUNG-SGH-I727
jslanger said:
I can confirm that it does work with odexed roms (since it does work with stock 2.3.6).
Sent from my SAMSUNG-SGH-I727
Click to expand...
Click to collapse
Thx for confirming... so back to my questions above.. do i need the systemUI.odex file or does your systemUI.apk combine both? Also, do I do anything with the framework.jar and framework.odex files (or just replace framework-res.apk with yours?)
DoctorQMM said:
Thx for confirming... so back to my questions above.. do i need the systemUI.odex file or does your systemUI.apk combine both? Also, do I do anything with the framework.jar and framework.odex files (or just replace framework-res.apk with yours?)
Click to expand...
Click to collapse
The framework and systemui files posted above are originals (I posted them in case someone else wanted to mod it themselves, so they wouldn't have to extract them themselves). The zip file is the new icon materials from UOT. Not sure how to directly install it (I've only ever installed from the zip file myself)...
Sent from my SAMSUNG-SGH-I727
I am missing something
I tried installing with CWM and following DoctorQMM steps to the letter (even learned all about fix permissions) but no matter what, my phone locks up and just flashes after the install and reboot. What can I try next?
Running stock 2.3.6 ROM on an AT&T i727 that i rooted just now this is my first mod
UOT Kitchen states "you can now use kitchen with stock odexed roms (if you have .odex files in your rom - kitchen works for you too)". I'm running the stock OTA 2.3.6 ROM (odexed), rooted, with 3e Recovery on my SR. Trying to create a very simple battery icon and status bar mod using the Kitchen. Instructions say to upload your ROM's "framework-res.apk" and "systemUI.apk" files along with your theme changes... and Kitchen creates a cooked-up zip file you can flash. But have a few questions:
1) since it says it now supports odexed ROMs, do I also need to upload the "systemUI.odex" file along with "systemUI.apk" and "framework-res.apk files?
2) does the cooked up zip file contain "framework-res.apk", "systemUI.apk" and "systemUI.odex" files... or just the 2 apk files?
3) if only the apks, do I leave my original "systemUI.odex in /data/app folder... or move/delete it?
4) without CWM, can I extract the needed apks from the zip file created by the Kitchen and use Root Explorer to fix permissions and place files in their appropriate folders?
I posted these questions on the UOT Kitchen site, but they must be backed up as have not received any reply... hoping someone here on the SR Forum may have some experience with the UOT Kitchen and using odexed ROMs. Thx!
1. You need SystemUI.apk from /system/app, framework-res.apk from /system/framework, and twframework-res.apk from /system/framework
2.it will contain updates to framework-res.apk, twframework-res.apk, and systemui.apk and might add to the system/media or any other area you elect to modify
3. dont touch the odex files. they will be needed as is.
4. maybe, maybe not. I always use CWM to install. Sorry.
I am trying to make a minor change to my services.jar and so far have no been successful.
I deodexed the file with xultimate2.3.3 , extracted the classes.dex with 7zip 9.2, I used apktool 1.4.3 to "expand" the contents, made the change, repacked the dex file and put it back into services.jar and the phone cannot compelete boot. I made sure to change the permissions, owner a group to match the previous file.
I then tried using Xultimate to deodex the file and put it back on the phone and this also keeps it from booting.
I then tried using the already deodexed file from another rom (2.2.1 vs 2.2.2) and it had the same issue.
So far I have to reflash my phone with Odin every time and I am getting tired of making the same mistake over and over.
edit: Maybe I should ask - what is the appropraite way to move the file over? I am doing it by going into root explorer, deleting /system/framework/services.jar+services.odex, using adb push to put the file on the sdcard, using root explorer to move it from sdcard to /system/framework then changing the permissions in root explorer to match the previous file before finally running "chown root.root /system/framework/services.jar" from adb shell
Either my method for copying the file is bad or xultimate 2.3.3 is messing up the deodex. Any advice on another tool to use to deodex this file?
You should be using baksmali/smali to decompile/recompile classes.dex, not apktool :/
Apktool can decompile .jars too
I use it and works fine
@OP
After deodexing decompile the jar using Virtuous Ten Studio by Diamondback(Google it)
Burned from my laser torch using pencil cells
Thank you for the replies. I will try these suggestions.
As a side note I also tried to use Xultimate to deodex the file, then ran dexopt-wrapper on the output to reodex the unchanged file and the phone is stuck in a boot loop.
You can read about re-odexing files here http://themikmik.com/showthread.php...w-About-adb-odex-themes-etc&p=75225#post75225
Can you give suggestions on another tool to de-odex the services.jar file? I think xultimate is the problem. It is the only common denominator.
I forgot to add that the original services.odex is a different size and has different contents from the new services.odex created by xultimate+dexopt-wrapper
I didn't expect it to work but I took the modified/deodex services.jar from a 2.2.1 rom and put it into my 2.2.2 rom and it had the same non boot issue.
The newest version of xUltimate i could find.
Enjoy
http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip
Hello - I am trying to add 'Reboot' option to Power Menu by modifying the following files - framework-res.apk, framework.jar, and android.policy.jar file. I was successfully able to add additional values to the xml file inside framework-res.apk and was able to merge my changes into the original .apk file and update in /system/framework without any issues. However, the smallest changes I make in framework.jar or android.policy.jar file breaks my system. It does not go into a Reboot Loop, but rather gives a message... Unfortunately, the <app name> has stopped working... or something like that... for almost all the apps and repeatedly.
I am on a Stock ROM of Micromax A110 (Mobistel T2). Do I need to DEODEX these .jar files first or do something else? I can't find the .odex files for these two jar files. I am not sure what I am doing wrong. Please help.
I can see some .odex files in my /system/app folder, but none in /system/framework. Is this normal? I am sure I didn't do any deodexing.
Haven't expected this to work on Stock 4.4.4 but it does, the plain old framework-res.apk one line hack. Not a big thing but nice to have so I attached the file if someone wants it.
Runs without issues on my XT1052 Stock ROM, be sure to backup your system with twrp or whatever you prefer first because I'm not responsible for bricked devices or bootloops.
Howto:
Copy the file to /system/framework
Delete/rename original framework-res.apk in /system/framework
wait until your phone stops spitting errors on you
Rename crt_off-framework-res.apk to framework-res.apk
Change file permissions to 644 (rw-r--r--)
Reboot
md5sum for attachment: 6133c102d2a5c1e557aa9ea6d6be0ecb
Hardmood said:
Haven't expected this to work on Stock 4.4.4 but it does, the plain old framework-res.apk one line hack. Not a big thing but nice to have so I attached the file if someone wants it.
Runs without issues on my XT1052 Stock ROM, be sure to backup your system with twrp or whatever you prefer first because I'm not responsible for bricked devices or bootloops.
Howto:
Copy the file to /system/framework
Delete/rename original framework-res.apk in /system/framework
wait until your phone stops spitting errors on you
Rename crt_off-framework-res.apk to framework-res.apk
Change file permissions to 644 (rw-r--r--)
Reboot
md5sum for attachment: 6133c102d2a5c1e557aa9ea6d6be0ecb
Click to expand...
Click to collapse
An easier way is using xposed and the module gravitybox.
Inside the visualization settings you can find the crt effect.
I try to use your method but this did not work for me.
The effect worked but every 3 seconds had a UI FC