Xperia Z Gallery and Movies apk - Nexus 4 Themes and Apps

I posted this because surprisingly I have not seen this post for our nexus 4. Thank this awesome guy from xda for creating this for all devices!!! Here's the link to his post and also here's some snapshots
http://forum.xda-developers.com/showthread.php?t=2143860
Oh if you didn't know you can pinch to zoom to do this awesome zoom effect. Try it out!! You have to flash through twrp or cwm. It will install the xperia launcher as well so if you want that aligned perfectly you have to edit your build prop. How to do that?
Easy!!
1st download es file explorer (its free)
2nd when you open es file explorer hit the menu key and tap settings
3rd scroll all the way down and click root settings and check all the boxes.
Now that you've done that, hit back until you get to a sign that pops up and says "press again to exit" then don't exit obviously.. You've just got full access to your files!! Meaning be careful which system files you touch! You only need to modify one. Trust me. It sounds hard but is a lot less complicated. Simply navigate to system/ then go all the way down to build.prop. simply tap on it and click es note editor. Then locate " ro.sf.lcd_density=320" then simply change the 320 to 340 and save. It will automatically create a back up build prop for you. Here's where you really need to watch out. Make sure after your done editing and saving your build.prop you TAP AND HOLD build.prop and scroll all the way down to properties and tap it. Then tap change and check all the boxes on the left and below write tap the top middle box. If your confused I posted a pic below... What your are doing here is setting permission to the file you just modified. Then now that you just set permission your good to reboot!!! After you reboot you just flash jb gapps and clear cache and dalvik cache. And your launcher is perfectly set. If you did not fix permissions the way the pic looks you won't boot up at all you'll only be able to fastboot. That's why I say its important to follow step by step. Also the reason I say flash gapps is because if you don't you won't be able to install certain apps in the play store (it'll say device not compatible). No more misaligned launcher!! If your don't like the launcher simply use titanium backup to remove it or search through file explorer. Bye all!!
Sent from my Nexus 4 using xda app-developers app

Cool.
[NEXUS⁴] [CARBON1.6] [MATR1X8] [TWRP]

If I remember from the Nexus 7 forums correctly, changing your build prop will cause future Android update to fail during installation. This looks awesome though.

It may cause problems with installation with modified changes
But that would just require you to go back to stock with our recovery tool. I never update my ROM straight through a custom rom. Or simply use your "back up build.prop" that I mentioned es explorer does automatically for you and rename that back up back to build.prop then delete modified build.prop. Of course always make sure you set your permissions even on the back up !
Sent from my Nexus 4 using xda app-developers app

dEris said:
Cool.
[NEXUS⁴] [CARBON1.6] [MATR1X8] [TWRP]
Click to expand...
Click to collapse
Thanks
Sent from my Nexus 4 using xda app-developers app

Related

[GUIDE] Install CM7 Messaging app on SGSII

Hey all,
Just thought I'd chuck this quick guide together for those of you who think the new messaging application on the SGS II is a bit naff, and you''d prefer the one from Cyanogen Mod 7.
Firstly, you'll need the file I've attached to the bottom of this post called Mms.apk.
This guide is for beginners who don''t know ADB, so for this we''ll be using root explorer. For this. You will require root and to have purchased Root explorer from the market (It's only a few quid and very handy!)
So, here we go.
Backing up original Mms.apk
1. Copy the file you downloaded here (Mms.apk) to the root of your SD card.
2. Unmount your SDCard from your PC.
3. Open up root explorer. At the top, hit the option where it says ""Mount R/W". If you've done this, it should change to saying "Mount R/O""
4. Go into the following folders. System --> Apps
5. Scroll down until you see Mms.apk. Select it, and hold for a few seconds.
6. You'll now be prompted with a box. Select "Rename"
7. We want to back-up the original app in case you want to revert. so rename it "mms.apk.bak" and press OK.
8. Select the file again, holding as we were before. Now select, Move. You''ll see we have some options appear at the bottom, ignore them for now.
9. Now hit the back key on your SGSII until you''re back at root (Displays in top left as :/
10. Scroll down until you see the folder, Sdcard and select it.
11. Now, we need to use the options at the bottom. Now we're in our sdcard, select the open "paste"or move"".
12. You'll see that we now have mms.apk.bak on our SDcard
You'll want to repeat this process for the mms.odex file that was located in system/apps as well.
Well done!
Installing the new one
Basically, it's the oppisite of what we did before.
1.Select the new mms.apk from your SD card. Select "move"
2.Hit the back key, going back to root directory.
3.Go to the Systems folder, then apps.
4. Hit the "paste"of "move" button.
5. Scroll down to Mms.apk and select it by tapping once. It will now go through the install process.
Note: Make sure you have the unknown sources box ticked to allow install. If not, you''ll be prompted to change it before continuing install.
Voila - you have backed up your original Mms.apk and have the CM7 Message application installed!
If you've found this guide helpful, please don't forget to hit the "thanks" button.
That's cool. I'm yet to get this phone but it feels good that hacking has already begun.
opps wrong thread sorry
A great improvement in my mind!
Sent from my GT-I9100 using XDA App
Can someone please update screenshots of this ? I have looked all over and I can't see it anywhere :/
wrong section but Id like to know if this would work on the galaxy s 4g (awaiting a tmobile version of s2),
and also if someone could post a few screenies
Cheers for the post but I have a 'mute' symbol above 'Compose'
Done how do I do this with any market app? Go SMS installed but didn't replace the system mms.apk
I renamed it..does anything else need to be done to make it a system app?
Sent from the baddest phone in the universe!! - SGII using Xda App/Tapatalk ;-)
I'd also quite like a screenie as I quite like the default one, but always looking for improvements!
Sample screenie.
Way much better than the stock messaging app.
Lost the Messages icon on the home screen ... any idea how to get it back?
Tough.Enough said:
Lost the Messages icon on the home screen ... any idea how to get it back?
Click to expand...
Click to collapse
Just press menu on the home screen > add > choose messaging app
Sent from the baddest phone in the universe!! - SGII using Xda App/Tapatalk ;-)
Brilliant! Anyway we can invert the colours so we get white text on black background?
EDIT:
Worked fine for about 2 mins, then all of my contacts disappeared, then Messaging FC'd, rebooted and Messaging keeps FC'ing
You either didn't remove the .odex from system/apps or you didn't click Mms.apk afterwards to install it. Until you install it, you will get a force close.
I tested it on all of the latest firmwares, and it works just as I'd expect.
Thanks alot dude, been waiting for the CM7 messaging app to be released or working on this phone.
Just tested it now with your very in-depth instructions and its working fine.
Works fine for me except I can't see my avatar on my own messages. It's not a big problem but it looks weird...
Any idea ?
edit : That and the "New message" icon is actually a mute icon (a little speaker with an "X").
this is mint! no irritating iphone style bubbles, black back ground nice and simple! Also not having delivery reciepts come in as new notifications just as a tick is awesome. just put the cyanogen music player on too. Porting CM7 one app at a time. love it!
Hmm.. when I rebooted my phone I need to reinstall the mms.apk again. How do I make it permanent? I mean without the need to reinstall again after a reboot?.
Using the method described I had no such probs after reboot. Make sure you rename both the apk and odex files during the install.
Sent from my GT-I9100 using XDA App
Thanks
This looks like just what I was after. Will be trying this as soon as I get home today. I was just wondering if there was any way to do something similar with the calendar and contacts/dialler app, as these are the only other bits of touchwiz that I can't seem to get rid of just by swapping launcher.

[MOD] Disable Camera Sounds

Since we now have the LK8 leak, and no custom Roms, yet. I've seen the "how do I disable camera sounds" question asked a few times.
I'm sure your favorite developer will incorporate this feature, like they have in the past, as they update to the new base. This is mainly for us impatient noobs
You must be rooted. Using a root explorer, navigate to /system. Select build.prop. Scroll until you find this line:
# Camera sound play enforced for SPR
ro.camera.sound.forced=1
and change to:
# Camera sound play enforced for SPR
ro.camera.sound.forced=0
If you also want to be able to toggle the sound in the camera menu, navigate to /system/csc, and select feature.xml.
Scroll to the "Camera" section, and change this line from this:
<CscFeature_Camera_ShutterSoundMenu>false</CscFeature_Camera_ShutterSoundMenu>
to this:
<CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu>
Save, exit,
Make sure permissions are set to: rw-r--r--,
and reboot.
yes happend
Man, I must be doing something wrong.
I used ES file explorer to make the changes and rebooted twice but the sound is still there and the menu doesn't show the camera option either...
I am trying my hand at this instead of the apk I found.
scoobmd said:
Man, I must be doing something wrong.
I used ES file explorer to make the changes and rebooted twice but the sound is still there and the menu doesn't show the camera option either...
I am trying my hand at this instead of the apk I found.
Click to expand...
Click to collapse
Make sure ES has root permission, and also make sure you are saving the updated file, before exiting. I'll try to do it from ES File explorer, in a little while, to see if I can make it work.
Okay, I was able to follow this procedure, with ES File Explorer, also. I just made sure all of the "root" boxes were checked in settings.
Thanks for the help.
I confirmed the setting and everything where correct after a reboot, I wonder if installing that camera app to silence the sounds did something...
scoobmd said:
Thanks for the help.
I wonder if installing that camera app to silence the sounds did something...
Click to expand...
Click to collapse
Not sure, but I do know people reported that the app from that other post, killed Spen, and lock screen sounds, too.
Using Root Explorer, when I try to tap on "build.prop" nothing happens.
There is a tiny yellow icon in the shape of a shield with a star on it on that line. What does that mean? Why won't it let me go in?
Thank You OP for the instructions. It worked.
I used RomToolbox Pro toget it done.
slthree said:
Using Root Explorer, when I try to tap on "build.prop" nothing happens.
There is a tiny yellow icon in the shape of a shield with a star on it on that line. What does that mean? Why won't it let me go in?
Thank You OP for the instructions. It worked.
I used RomToolbox Pro toget it done.
Click to expand...
Click to collapse
Thanks for the feedback, I'm glad you got it working.
Thanks it works great on MA5 also thank u much
Galaxy Note 2
Thanks a million, works perfectly on my stock rooted!!
Sent from my SPH-L900 using Tapatalk 2
Worked great for me on stock rooted with exynos abuse and ES File explorer.
Still working strong! Thanks.
twoscomplement said:
Still working strong! Thanks.
Click to expand...
Click to collapse
Glad I could help.

[MOD]PopupBrowser

Howdy folks -
I started with the modified-to-be-expandable PopupBrowser.apk found here and added/modded it a bit further. I reset a number of the layout dimension xml stuffs back to stock UVALL4/UVALK8 values, edited some smali stuff so the expanding states "fit" a little better (so minimized doesn't cut off the title bar, mid-size state is about the same as the size when you first open the popup browser, and large-size state fills up a bit more of the screen), and set it up so that when wanting to "popout" the content in the popup browser into a "full" browser it will look for Chrome first - if Chrome isn't installed, it'll point to the stock (given similarity of package names this should be either stock TW or AOSP) browser. FWIW I originally put this together for inclusion in a rom I put together... just putting that out there
Anyhoo - here it is
md5: DBAB8033D6041B39D664F0A1F175DB02
Let me know if there are any problems
NOTE: If odexed the zip should move /system/app/PopupBrowser.odex to /system/app/PopupBrowser.odex.bak
This looks great! Can't wait to give it a try!
I keep getting application not installed. I used to have an error saying a file name as such already exists.
After deleting popupbrowser using tbup, it now gives me application not installed.
Any suggestions or easy guides?
mitchillen said:
I keep getting application not installed. I used to have an error saying a file name as such already exists.
After deleting popupbrowser using tbup, it now gives me application not installed.
Any suggestions or easy guides?
Click to expand...
Click to collapse
Have you tried pushing it or manually placing it in system/app and then setting permissions?
Sent from my GT-N7105 using Xparent Skyblue Tapatalk 2
mitchillen said:
I keep getting application not installed. I used to have an error saying a file name as such already exists.
After deleting popupbrowser using tbup, it now gives me application not installed.
Any suggestions or easy guides?
Click to expand...
Click to collapse
I'm confused - when does it say application not installed? What are the errors exactly (the wording I mean)? After you deleted PopupBrowser.apk from /system/app did you reflash the zip from the OP? A possible issue could have been the popup browser already installed was slightly different in its name (if this was true it was likely a case issue) - what are you running? I can edit the updater-script to remove other similar-but-different-casing apks if this is what was going on.
dwitherell said:
I'm confused - when does it say application not installed? What are the errors exactly (the wording I mean)? After you deleted PopupBrowser.apk from /system/app did you reflash the zip from the OP? A possible issue could have been the popup browser already installed was slightly different in its name (if this was true it was likely a case issue) - what are you running? I can edit the updater-script to remove other similar-but-different-casing apks if this is what was going on.
Click to expand...
Click to collapse
I dl'ed the app straight from chrome browser on my phone. I opened it up using ES Zip viewer and it gives me two folders - Meta inf and system.
I open system folder and find popupbroswer.apk and click on it which brings me to the install page, once I click install it tells me "Application not installed"
Am I supposed to do anything else with the stuff that is in meta inf? I'd consider myself amateur with this stuff so bear with me, sorry!
Not sure what "casing" is but I'm stock rooted using Exynos Abuse on UVALK8. Hope that helps
mitchillen said:
I dl'ed the app straight from chrome browser on my phone. I opened it up using ES Zip viewer and it gives me two folders - Meta inf and system.
I open system folder and find popupbroswer.apk and click on it which brings me to the install page, once I click install it tells me "Application not installed"
Am I supposed to do anything else with the stuff that is in meta inf? I'd consider myself amateur with this stuff so bear with me, sorry!
Not sure what "casing" is but I'm stock rooted using Exynos Abuse on UVALK8. Hope that helps
Click to expand...
Click to collapse
Ah - I see. The zip is in a format so you can flash it in a custom recovery (CWM, TWRP, etc.). The apk itself cannot be installed via the package manager route (which is why you were having the problem), if you aren't going to use a recovery then you need to push/copy the apk itself into /system/app. Basically you need to set /system/app/ as rw so you can copy stuff into it, copy the apk into it, and (for good measure) set the permissions on PopupBrowser.apk to rw-r--r-- (or 644 if you use a terminal or something similar). Then you should be good to go. It's totally up to you on how you want to go about it. Lemme know (whether in this thread or via PM) if you have any questions.
I don't think this interested many, but I updated the OP - it should work for odexed folks now as well
dwitherell said:
I don't think this interested many, but I updated the OP - it should work for odexed folks now as well
Click to expand...
Click to collapse
I just found it and spent a while looking at pop-up browser options. It's awesome man...smaller title bar, shrinkable to view more of the background app.
I did have issues resizing it (bottom right corner of the pop-up window). It doesn't seem to allow me to resize. I can press the "expand" button or whatever it is in the title bar which will enlarge the window but only vertically.
I have the DPI of my phone set to 220 so maybe that's it?
djnutz said:
I just found it and spent a while looking at pop-up browser options. It's awesome man...smaller title bar, shrinkable to view more of the background app.
I did have issues resizing it (bottom right corner of the pop-up window). It doesn't seem to allow me to resize. I can press the "expand" button or whatever it is in the title bar which will enlarge the window but only vertically.
I have the DPI of my phone set to 220 so maybe that's it?
Click to expand...
Click to collapse
Resizing in that sense is not supported unfortunately - it's just the ability for 3 stages of "height" more or less.
dwitherell said:
Resizing in that sense is not supported unfortunately - it's just the ability for 3 stages of "height" more or less.
Click to expand...
Click to collapse
Gotcha - well either way thanks for posting it. Nice to have.
Can one of you send me a link the download in the op isn't working for me
Sent from my SGH-T889 using xda app-developers app
SIGMAxB said:
Can one of you send me a link the download in the op isn't working for me
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Here ya go.

Note 2 keyboard help pls

Hey guys looking for 2 days now cant find a option: is there anyway to have auto correct on the note 2 stock keyboard?
Sent from my SGH-I317M using xda app-developers app
massih88 said:
Hey guys looking for 2 days now cant find a option: is there anyway to have auto correct on the note 2 stock keyboard?
Sent from my SGH-I317M using xda app-developers app
Click to expand...
Click to collapse
this is not in the correct section. This should have been posted under the Q&A section.....Not development
notified mods to move this....
massih88 said:
Hey guys looking for 2 days now cant find a option: is there anyway to have auto correct on the note 2 stock keyboard?
Sent from my SGH-I317M using xda app-developers app
Click to expand...
Click to collapse
There is a thread in theme section with the stock keyboard... with auto correct, , and long opress for secondary symbol. OR type arsaw and look for his thread..am driving right now, I'll supply the link later if you don't find it
massih88 said:
Hey guys looking for 2 days now cant find a option: is there anyway to have auto correct on the note 2 stock keyboard?
Sent from my SGH-I317M using xda app-developers app
Click to expand...
Click to collapse
Check my thread here: http://forum.xda-developers.com/showthread.php?t=2145815&highlight=samsung+stock+keyboard
contains 'themed" stock samsung keyboard... both auto-correct and non-auto correct versions.
Thanks for the replies. Ya I tried that link. Now I have a red keyboard and no auto correct lol how can I get back the stock keyboard? I deleted the zip but still the red keyboard . All I need is auto correct on stock keyboeard
Sent from my SGH-I317M using xda app-developers app
massih88 said:
Thanks for the replies. Ya I tried that link. Now I have a red keyboard and no auto correct lol how can I get back the stock keyboard? I deleted the zip but still the red keyboard . All I need is auto correct on stock keyboeard
Click to expand...
Click to collapse
Don't know what ROM you are on... your knowledge of pushing apps to /system (ie., via adb), etc., so I'm attaching the stock samsung keyboard (plain grey) with auto-correct functionality. You need to be rooted at least. Copy the attached apk to your phone... then, using your favorite root file manager (like Root Explorer, etc) copy to /system folder first... fix permissions to rw.r..r.. then, MOVE to /system/app. It will ask if you want to replace the current "SamsungIME.apk", answer yes. You should be good to go.
DoctorQMM said:
Don't know what ROM you are on... your knowledge of pushing apps to /system (ie., via adb), etc., so I'm attaching the stock samsung keyboard (plain grey) with auto-correct functionality. You need to be rooted at least. Copy the attached apk to your phone... then, using your favorite root file manager (like Root Explorer, etc) copy to /system folder first... fix permissions to rw.r..r.. then, MOVE to /system/app. It will ask if you want to replace the current "SamsungIME.apk", answer yes. You should be good to go.
Click to expand...
Click to collapse
Yes I am rooted and thanks for helping im coming from a z10 lol. perfect I will do that right away. im on stock rom touch wiz called I think 4.1.2
DoctorQMM said:
Don't know what ROM you are on... your knowledge of pushing apps to /system (ie., via adb), etc., so I'm attaching the stock samsung keyboard (plain grey) with auto-correct functionality. You need to be rooted at least. Copy the attached apk to your phone... then, using your favorite root file manager (like Root Explorer, etc) copy to /system folder first... fix permissions to rw.r..r.. then, MOVE to /system/app. It will ask if you want to replace the current "SamsungIME.apk", answer yes. You should be good to go.
Click to expand...
Click to collapse
ok im a noob tho new to all this. So I downloaded your link. Zip file right? Do I put the whole zip on my phone storage? then flash? I downloaded room file manager and cant find /system apps. Sorry for these probably stupid questions. When I open the zip there are are a few folders.
assets
meta-inf
res
AndroidMainfest
classes
massih88 said:
ok im a noob tho new to all this. So I downloaded your link. Zip file right? Do I put the whole zip on my phone storage? then flash? I downloaded room file manager and cant find /system apps. Sorry for these probably stupid questions. When I open the zip there are are a few folders.
assets
meta-inf
res
AndroidMainfest
classes
Click to expand...
Click to collapse
Those are folders/files in the flashable zip. Let's try the simpliest approach first.
1. Download "Root Explorer (File Manager) from the PlayStore, and install
2. From my post #6 above, save the attached file (SamsungIME.apk)... on your phone's sdcard
3. Open Root Explorer, and navigate to the folder on your phone (sdcard) where you put the SamsungIME.apk... long press it, then select "Copy"
4. now while still within Root Explorer, navigate to /system folder, and hit "Paste" (make sure you mount as R/W.. it's the button at the top. If you are mounted as Read Only, you'll get an error message "You cannot past here because the file system is read only". Just hit the "Mount R/W" toggle at the top of screen.
5. Now, "SamsungIME.apk" is in your /system folder. You need to fix permissions. Long press "SamsungIME.apk" and select "Permissions". There are boxes with green check marks. toggle the boxes so that you only have green check marks in: Owner: R W ; Group: R ; Others: R. Hit "OK"
6. Now, long press "SamsungIME.apk" file again, and select "Move"
7. Navigate to /system/app (you should already be in /system, so just tap the "app" folder
8. Make sure you are still mounted as "R/W", if so, tap the "Paste" key at bottom. this will put "SamsungIME.apk" in the /system/app folder
9. if you did all this correctly, you should be good to go...
Okay I tried finall got it in the right system folder like u explained I attach a picture. Its still not working. Do I just need to reboot or flash? I use goo manager.
Hope I didnt do anything wrong while moving it to app system
Sent from my SGH-I317M using xda app-developers app
massih88 said:
Okay I tried finall got it in the right system folder like u explained I attach a picture. Its still not working. Do I just need to reboot or flash? I use goo manager.
Hope I didnt do anything wrong while moving it to app system
Sent from my SGH-I317M using xda app-developers app
Click to expand...
Click to collapse
It appears you are not understanding some of the android basics...and that can be extremely dangerous... especially since you are rooted. From you screenshot, you show zip files in your /system folder. Per my previous post, I stated to copy "SamsungIME.apk" to /system... fix permissions... then MOVE to /system/app. Your screenshot shows zip files in your /system folder (i.e., "SamsungIME.zip"). My attachment is the apk file itself. So apparently when you downloaded, it zipped it for compression purposes. YOU NEED THE APK. I suspect it is inside that zip file.. so you'll need to know how to unzip that zip.. and get the ".apk" The APKs goes into the /system/app folder (Not /system). Try again, and get the SamsungIME.apk out of that zip... copy that apk to /system.. fix permissions... then move (not copy) to /system/app (it's a sub folder within /system). If this didn't work, you have done something wrong.
Damn I had the feeling some was wrong. So should I get that out of the system folder? How do I do that ? I cant delete or move them. Does it harm if I leave them there? Ya im trying that now how yiu explained the apk I get it . Thanks alot tho for ur patients
Sent from my SGH-I317M using xda app-developers app
massih88 said:
Damn I had the feeling some was wrong. So should I get that out of the system folder? How do I do that ? I cant delete or move them. Does it harm if I leave them there? Ya im trying that now how yiu explained the apk I get it . Thanks alot tho for ur patients
Click to expand...
Click to collapse
I use Root Explorer... if you long press the file, you get the option to delete file. Delete the ".zip" files in /system folder. Your screenshot looks like ES File Explorer (or something similar). You should be able to "select" that zip file, then delete. Go back to my Post#6 and download the APK file (SamsumgIME.apk)... do not zip it... you should be able to download file as apk. Then follow my previous instructions. Again, get the APK file (not .zip) to /system folder.... then fix permissions... then MOVE (don't copy or you will leave a copy of the apk behind in /system) to /system/app folder. System apk files belong in the app subfolder of system (/system/app). When you go to paste the apk in /system/app, you will be asked to replace existing file... replace it. Try again... report back.
Ok thanks will do that tomorow . I use es explorer yes. When I try to delete it says file cannot be deleted. Cant see any apk file I use windows 8 maybe tahts why?
Sent from my SGH-I317M using xda app-developers app
DoctorQMM said:
Don't know what ROM you are on... your knowledge of pushing apps to /system (ie., via adb), etc., so I'm attaching the stock samsung keyboard (plain grey) with auto-correct functionality. You need to be rooted at least. Copy the attached apk to your phone... then, using your favorite root file manager (like Root Explorer, etc) copy to /system folder first... fix permissions to rw.r..r.. then, MOVE to /system/app. It will ask if you want to replace the current "SamsungIME.apk", answer yes. You should be good to go.
Click to expand...
Click to collapse
When I tried to install it!
X App not installed

Odex ANY touchwiz ROM for the GN2 #moreperformance

“ADMIRAL WILL YOU PLEASE COLOR CODE THAT WALL OF TEXT?” – why yes I will.
GREEN = Informational stuff about what we are doing.
BLUE = Instructions for process
RED = IMPORTANCE, PLEASE DO NOT DISREGARD
BLACK = not too important
PINK = very manly
####################################################################
DISCLAIMER – THIS WILL IMPROVE PERORMANCE (again…lolllll) AND FURTHER AND FARTHER OPTIMIZE YOUR DEVICE, SAVE STORAGE SPACE ON YOUR INTERNAL SD, AND PUT YOUR /SYSTEM/FRAMEWORK DIRECTORY AND ALL CONTENTS ON THE MOST POTENT ANABOLIC STERIODS KNOWN TO MAN. I AM NOT RESPONSIBLE IF/WHEN YOU FINISH READING THIS THREAD YOUR DEVICE RUNS OFF WITH YOUR GIRLFRIEND/WIFE/FAMILY/JOB BECAUSE IT IS NOW MORE “MANLEY” THAN YOU (see wut I did there…manley..rofl…).
####################################################################
Ok on to the serious part….
First, why odex? And what does it mean?
1.Odexing has the following benefits: Saves space in your /data directory, speeds up boot times SLIGHTLY, boosts loading of apps (in this case the apps that compose your framework), zip aligns framework and corresponding .odex files, reduced CPU cycles by optimizing framework.
2.So what is an “odex” file? Android applications similar to zip files. APK stands for “android package” and all of them contain java code, which is the second language in android aside from Linux. This code speaks to the device to execute operations that in turn speak to other system files, then ultimately the kernel, hardware, etc etc etc… we’ll not get into that. Java code is packed into a file within the APK called a “classes.dex” file and this file is parsed (copied) by the dalvik JVM and a cache of the processed classes.dex file is stored in the device’s /data/dalvik-cache directory.
An odex file is basically an already processed version of the classes.dex file that is “execution ready” for Dalvik. When xxxx application is “odexed”, the classes.dex is removed from the APK entirely and the information is converted to an odex file, and stored aside its owner APK (or in this case framework file). So rather than have two copies of the same file, and in different locations, you have one copy of that file, in the same location of the APK, all ready to go, and therefore making it more optimized for access by you – the user.
The benefits of doing this are tremendous! I have been doing this to all of my ROMs since I can remember. This process is detailed, but simple, just read carefully. I outlined the directions as simple and clear as I possibly could
On to the fun part>>>>>
FIRST, BEFORE YOU CONTINUE, BEAR IN MIND I DO NOT CURRENTLY HAVE A SCRIPT MADE TO UNDO THIS MOD, ONCE IT IS DONE, IT IS DONE! IT IS SAFE, HOWEVER, JUST FOLLOW DIRECTIONS CAREFULLY!
ALSO, MAKE SURE YOU ALREADY HAVE YOUR FAVORITE THEME INSTALLED! I WILL NOT BE RESPONSIBLE IF YOU APPLY THIS MOD THEN TRY TO FLASH XXXXX THEME AND GET CAUGHT IN A BOOT LOOP BECAUSE YOU COULDN’T DECIDE IF YOU WANTED GREEN OR BLUE BATTERY ICONS THEN CHANGED YOUR MIND ABOUT IT AFTER DOING THIS…..just don’t waste your time posting in this thread if you do that. But if you MUST bother such a story, here is your answer to the problem… “flash your ROM again, no need to wipe data, your device will boot now”############
Instructions:
1.Download Terminal emulator and FX file explorer and FX root add on from market.
2.Download the zip file at the end of this post named “odex.zip” to your device.
3.Open FX file explorer, find the odex.zip file, long press on it and select “open with” then select “Archive Extractor” then hit “extract here”
4.After it is done, you will then find a folder named “odex” in the same location of the downloaded “zip” version. Llong press on that folder and select copy
5.Navigate to the home screen of the FX file app, and select the red system logo (this is the one that allows you to explore as root.
6.Navigate to /data/local/tmp, when you get to tmp, select the icon at the top right corner of the app that says “clipboard” and paste the folder into /data/local/tmp
You should now have a folder there named “odex”
7.Long press on the folder, select “permissions” and check ALL of the 3 boxes for Read, Write, and Exec(ute)… if you have done this successfully the bottom left of that little popup window for setting permissions should say 0777, hit “ok” to commit the changes.
8.Now go into the odex folder, and inside of it repeat step 7 for ALL 5 files. They should all have FULL permissions.
9.After that is done, hit back until you are at the root directory, seeing “System (Root)” at the top of the FX file window with the red box with a # symbol inside of it. You’ll notice as well, the top right corner there is a yellow lock icon, inside a green box. We need that to be red, with an “unlocked” lock icon. Select it, and disregard built in FX file warning about how the world is going to end etc etc etc if you don’t know what you are doing – you know what you are doing, so no worries. If it is already red and “unlocked” then awesome, skip to step 10.
10.Scroll down a bit, and you will see “system” folder, this is your system directory. Go in there, and again make sure we are “red” and “unlocked” in the top right corner. You are a savage animal at this point, on a mission. Your device needs optimizing, disregard doomsday warnings about the T1000 enslaving the human race and how your brother will likely turn into a cylon if you unlock your /system directory (or make it read/writable… which is all this is doing)
NOW! The really fun part. You got your favorite theme? Sweet. Got your odex files all cocked and ready to rock? Check. Got your kids addicted to Teletubbies in case you mess up your ***t and you need like an hour to fix it?!?! Kidding… that won’t happen…
FIRST BEFORE YOU CONTINUE!!!!! PUT YOUR DEVICE INTO AIRPLANE MODE!!!!!!! You do not want to get a phone call or something while this script is executing. Interruptions will be rude and unkind… Please follow this instruction, please. For the love of the last terrible terminator movie.
11.Open terminal emulator, and type the following commands WITHOUT the quotes, hitting enter after each line:
“su” (if it asks for super user permission, grant it, obviously, if it doesn’t ask, you have already granted it)
“/data/local/tmp/odex/odex”
About 8.7 seconds later, it should be done, and you will see a little message saying “reboot to recovery and wipe cache and dalvik cache one more time” at the very end.
12.Hold power button, select “reboot options” then “recovery” hit ok, boom. If you don’t have that neat little modification to your android.policy.jar file, then power off, and boot into recovery by holding the volume up, home, and power button. In that order, until you see something on your screen. If you are NOT RUNNING EXT2… meaning you are not running Malicious ROM and/or you have not used my ext2 modificaitons…. Then simply type “reboot recovery” in terminal emulator, hit enter, and skip all the previous crap in “12”… “but then y u no say that first admiral?” … “Don’t question me son, it is for the good of the nation and humanity, and noobs who would read “oh ok reboot recovery BOOM” then they corrupt a file somewhere because of an unclean shutdown and are back at step -1 of this entire instruction which is restoring their backup… if they were pansy enough to make a backup. The admiral is manley, he has no use for backups. But he also knows what to do in case he needs one and doesn’t have one, cadet.”
ALSO IMPORTANT!!!!! Before you wipe dalvik cache again from recovery… if you are running my ext2 modification for /system /data/ and /cache…. MAKE SURE YOU VERIFY “THE BOX” is checked in twrp settings… you know which one I am talking about at this point. lol. It is the “format with yadda yadda rm command”
Wipe dalvik cache from recovery once more, then reboot the device.
DONE! Your ROM is now odexed!
-Admiral
http://db.tt/na11Ma9L
Another may mod. I'm not the only one who enjoys odexed. I was actually going to make the next release odexed... or was at least tossing the idea around in my head
Sent from my SGH-T889 using xda app-developers app
kintwofan said:
Another may mod. I'm not the only one who enjoys odexed. I was actually going to make the next release odexed... or was at least tossing the idea around in my head
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Well now you can.
I'm a firm believer in odexing. Most efficient way to run. I'm all about efficiency
Sent from my SM-N900T
Is tweaked odexed?
Sent from my SGH-T889 using xda premium
Tweaked is not odexed by default. You can find out if the ROM you are running is odexed or not by going to /system/framework with a file explorer. If you see a bunch of files in there with ".odex" tags on the tail end of them, then it is odexed.
If they are not there, then it is not odexed.
Sent from my SM-N900T
AngryDinosaur said:
Is tweaked odexed?
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
Non if the custom ROMs are odexed. It's more of a stock thing
Sent from my SGH-T889 using xda app-developers app
Alright
Sent from my SGH-T889 using xda premium
I keep getting this
Sent from my SGH-T889 using xda premium
Can we Odex our roms with XPosed framework mod installed? Or can we only Odex the apps and not system? Thanks a bunch for sharing.
Noellenchris
noellenchris said:
Can we Odex our roms with XPosed framework mod installed? Or can we only Odex the apps and not system? Thanks a bunch for sharing.
Noellenchris
Click to expand...
Click to collapse
you can odex any framework with this...
Not sure what you mean by the second part of your question, though. This is odexing your framework... which is found in /system ...?
ezsoulja said:
I keep getting this
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
For some reason it is thinking you are trying to execute a folder? And not a file?
Not cutting or flaming you in any way, but this is a user error. You typed the command properly, and everything looks like it SHOULD have executed. Go back to the step where you are moving the odex folder to the /data/local/tmp directory, make sure you did everything correctly, and retry.
Admiral Sir Manley Power said:
you can odex any framework with this...
Not sure what you mean by the second part of your question, though. This is odexing your framework... which is found in /system ...?
For some reason it is thinking you are trying to execute a folder? And not a file?
Not cutting or flaming you in any way, but this is a user error. You typed the command properly, and everything looks like it SHOULD have executed. Go back to the step where you are moving the odex folder to the /data/local/tmp directory, make sure you did everything correctly, and retry.
Click to expand...
Click to collapse
i made sure of it, i extracted the folder to the tmp folder and changed the odex folder 1 and 2 to 777 and all the files inside the 2nd odex folder and had both the root of the system and folder unlocked with the red icon. im not sure what could else be missing. im on tweaked 2.4.1 btw
ezsoulja said:
i made sure of it, i extracted the folder to the tmp folder and changed the odex folder 1 and 2 to 777 and all the files inside the 2nd odex folder and had both the root of the system and folder unlocked with the red icon. im not sure what could else be missing. im on tweaked 2.4.1 btw
Click to expand...
Click to collapse
Why do you have two odex folders?
Sent from my SGH-T889 using Tapatalk 2
Admiral Sir Manley Power said:
you can odex any framework with this...
Not sure what you mean by the second part of your question, though. This is odexing your framework... which is found in /system ...?.
Click to expand...
Click to collapse
With XPosed installed it can modify the framework, I'm afraid if I odex the framework, the xposed add on will crash my system. There is also an application on XDA called "Odex Me" which only Odex's the Applications and not the framework, that's what I was talking about in my second part of the question. I suppose I can do a backup and give it a go and see what xposed does.
Also Xposed also does other system mods other than framework. So it may only disable the framework modding portions after I odex the framewok.
Noellenchris
Admiral Sir Manley Power said:
Why do you have two odex folders?
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
For some reason when I extracted it, that's the way it came.. So it's basically just like the line says /data/local/tmp/odex/odex
EDIT: just removed one of the odex folders from within the odex folder and transfered the files to the first folder and everything worked from that point on..
Sent from my SGH-T889 using xda premium
noellenchris said:
With XPosed installed it can modify the framework, I'm afraid if I odex the framework, the xposed add on will crash my system. There is also an application on XDA called "Odex Me" which only Odex's the Applications and not the framework, that's what I was talking about in my second part of the question. I suppose I can do a backup and give it a go and see what xposed does.
Also Xposed also does other system mods other than framework. So it may only disable the framework modding portions after I odex the framewok.
Noellenchris
Click to expand...
Click to collapse
You'll be fine.
Go ahead and do it. Just make a backup of your /system if you wanna be safe, that's what they are there for
The DL link isn't working
Edit: Got it downloaded and working thanks for the odex man.
P.S What can be modified without messing up the odex for example will xposed framework modules cause the rom and odex to have complications. Thanks in advance
Sent from my SGH-T889 using xda premium
gonnapushthru06 said:
The DL link isn't working
Edit: Got it downloaded and working thanks for the odex man.
P.S What can be modified without messing up the odex for example will xposed framework modules cause the rom and odex to have complications. Thanks in advance
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
It may or may not. Honestly, either way it will require a little bit of work on your part after you flash it (assuming it actually boots, but it should...)
Just, best thing to do, like I said in the OP... Is flash your themes first, then odex. It will save you from the extra headaches and work trying to do the process in reverse.
Admiral Sir Manley Power said:
You'll be fine.
Go ahead and do it. Just make a backup of your /system if you wanna be safe, that's what they are there for
Click to expand...
Click to collapse
I've odex'd and it seems fine with xposed, after reading info on xposed they say it works on deox and odex roms, and it's running smooth. For some reason the screen appears brighter and sharper, probably some mod is not working but either way it is smooth and placebo maybe but looks great. Thanks again. I've done this in the past, but never to the system, just apps.
Noellenchris

Categories

Resources