“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
Related
So, I'm trying to customize my camera icon through the res and ect.. I got one of the apks to flash but, then I noticed it was very jagged and not clean at all so I decided to fix it up and now I can't get it to flash. When I do flash it the icon disappears and there is no camera app to be found. I have a feeling that my sizes or resolution of the picture of the (not working icon) are off or something. I will attach the not working and working camera apk below. If someone could tell me where I went wrong I would be very thankful.
Not working apk: https://dl.dropbox.com/u/37484095/(Not_Working)HTCCamera.apk
Working apk: https://dl.dropbox.com/u/37484095/(Working)HTCCamera.apk
Is the Rom odex? If it is, then you have to deodex the HTCCamera.apk
Sent from my PC36100 using xda app-developers app
bennyboy78 said:
Is the Rom odex? If it is, then you have to deodex the HTCCamera.apk
Sent from my PC36100 using xda app-developers app
Click to expand...
Click to collapse
I believe it is considering the file on the side of it is .odex. I apologize for not being the most knowledgeable on the subject. Would I deodex it in a kitchen? Like a rom kitchen of course.
I'm confused why one apk worked and the other didn't though?
EDIT: How would I go about deodexing??? I've been researching and tried using baksmali but, I keep getting error messages. I'm pretty lost right now.
Not really sure as to why it would just disappear like that if you only modified some images in the res folder... Did you mess with baksmali ? Possibly modifying something in there would cause it to dissapear.
As for deodex, get dsixdas kitchen, set it up, then just making a working folder out of the Rom you want to modify. After that's done, go to advanced options and select deodex a file or something. It should give you the option of the whole Rom or just a single apk. It's the long way, but its easier than baksmali, imo.
Sent from my PC36100 using xda app-developers app
I tried baksmali I'm not completely sure if I did it right but it gave me an out folder and then I used smali to make it into a classes.dex I'm not really sure what to do with that file. I assume you're supposed to zip it with the apk...but, when I do that I get a parse error.
My process for changing the images in res is I decompile the apk with apktool. I then go into the res folder switch out the ic launcher icon for the one I made. I then rebuild the apk with apk tool. From there I'm not sure if you're supposed to flash it in a zip or I can just adb push it....
Sent from my PC36100 using xda app-developers app
You need to take META-INF folder, and maybe the Manifest.xml from the original apk and place it in your modified one. Then push via adb or move to system with a root file manager.
Also fix permission, 644 (rw-r-r)
An enviousOG
I'll try once I get home. Thank you.
Sent from my PC36100 using xda app-developers app
Robobob1221 said:
You need to take META-INF folder, and maybe the Manifest.xml from the original apk and place it in your modified one. Then push via adb or move to system with a root file manager.
Also fix permission, 644 (rw-r-r)
An enviousOG
Click to expand...
Click to collapse
Alright, so how do I do the last command "fix permission 644 (rw-r-r)?"
steam374 said:
Alright, so how do I do the last command "fix permission 644 (rw-r-r)?"
Click to expand...
Click to collapse
If you use a root file manager (es explorer etc)
long press the apk and select permissions, then change to look like the image attached
If you're using adb:
Code:
adb shell chmod 644 /system/app/nameofapk.apk
Big thank you to both of you! Especially bennyboy78 I deodexed the apk in the rom kitchen like he said and just threw my customized icon in the apk and it worked! Thank you so much!
This will essentially odex all files in your /system/framework and it will do it straight from the Android UI via my personal favorite app ... this is good because it frees up memory, makes UI transitions cleaner, and reduces DVM size.
NOTE: DO NOT TRY TO ODEX YOUR /SYSTEM/APP/ DIRECTORY THEN TRY TO ODEX USING THIS METHOD. YOU WILL HAVE A BAD DAY. 0_o framework must me odexed before system apps
1. download the odex.zip here --> PURPLE
2. extract all files with a file explorer, i prefer root explorer or fx file explorer
3. place the extracted folder and all of it's contents in /data/local/tmp ... so you should have /data/local/tmp/odex/+(misc files in new odex directory)
4. give the new directory and ALL contents FULL permissions - full read, write, and execute perms. You will need to set them all individually. the odex folder, and all contents. your file explorer, if it has taken you this far, should be able to accomplish this. Also, mount your system as writeable as well!
5. download this app TERMINAL EMULATOR dont worry it is free. open the app
Type the following commands - each new line should be executed with the enter key:
su (hit enter, it will ask for root)
/data/local/tmp/odex/odex (hit enter, you will see
you will see a bunch of outputs. there will be a message when it is done (honestly, like 10 seconds if that) saying something like "enjoy your hybrid ROM"
type "reboot recovery" (without the quotes)
device will boot into recovery immediately after you hit enter...
wipe cache and dalvik cache once more each, and reboot your device. PROFIT :good:
*Disclaimer - I don't take donations, just hit the thanks button, and the thanks button for anybody I mention in my thread.
typing su in doesn't request root permission. I am definitely rooted, not sure what's going on.
EDIT: Got it, the su was working but I didn't realize that it might just change from $ to # instead of asking for permission. I also had to grant not just the directory, but all of the files in the odex folder full permission, which might have just been a reading comprehension error on my part. Worked flawlessly after that. On Infamous 2.2
deadpass said:
typing su in doesn't request root permission. I am definitely rooted, not sure what's going on.
EDIT: Got it, the su was working but I didn't realize that it might just change from $ to # instead of asking for permission. I also had to grant not just the directory, but all of the files in the odex folder full permission, which might have just been a reading comprehension error on my part. Worked flawlessly after that. On Infamous 2.2
Click to expand...
Click to collapse
your super user app is probably set by default to allow access. also, i will update the OP to be a little more clear about setting the perms on the directory AND it's contents.
thanks
Forgot to mention that you have to mount your system to writeable.
Sent from my SGH-T999 using xda app-developers app
---------- Post added at 09:32 PM ---------- Previous post was at 09:18 PM ----------
Oh and the old odexme.apk works fine for odexing jb roms.
Sent from my SGH-T999 using xda app-developers app
TarHeelTrigger said:
Forgot to mention that you have to mount your system to writeable.
Sent from my SGH-T999 using xda app-developers app
---------- Post added at 09:32 PM ---------- Previous post was at 09:18 PM ----------
Oh and the old odexme.apk works fine for odexing jb roms.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Ah, yes. I need sleep. Lol
So... shouldn't I see "odex" files in /system/app?
So what's the difference between this and the app that does it automaticly?
Sent from my SGH-T999 using xda app-developers app
I'll wait for the app
Sent from my SGH-T999 using xda premium
scifan said:
So... shouldn't I see "odex" files in /system/app?
Click to expand...
Click to collapse
I don't see the .odex files either...
Sent from my SGH-T999
scifan said:
So... shouldn't I see "odex" files in /system/app?
Click to expand...
Click to collapse
Nabeel10 said:
I don't see the .odex files either...
Sent from my SGH-T999
Click to expand...
Click to collapse
This Odex's the files in your /system/framework
NOT /system/app
WarlockW said:
This Odex's the files in your /system/framework
NOT /system/app
Click to expand...
Click to collapse
Ok, that explains a few things... I'd expected the /system/app folder to also be odexed
Think I restored from Nandroid because I couldn't tell what changed....
Sent from my SGH-T999 using Tapatalk 2
scifan said:
So... shouldn't I see "odex" files in /system/app?
Click to expand...
Click to collapse
No, you shouldn't, because this odexes /system/framework/* not /system/app/*.all
Also, please for the love of hot Asian women people... please read the directions carefully in the OP lol...
If you have used the odex me app... don't use this method... if you odex your system apps, THEN try to odex framework after, you will have issues.
cobraboy85 said:
No, you shouldn't, because this odexes /system/framework/* not /system/app/*.all
Also, please for the love of hot Asian women people... please read the directions carefully in the OP lol...
If you have used the odex me app... don't use this method... if you odex your system apps, THEN try to odex framework after, you will have issues.
Click to expand...
Click to collapse
Understood. Don't odex system apps BEFORE odexing framework, but can we odex system apps AFTER odexing /system/framework? Or better yet, is there any reason to odex system apps after odexing /system/framework?
Thanks in advance for your reply!
__McB__ said:
Understood. Don't odex system apps BEFORE odexing framework, but can we odex system apps AFTER odexing /system/framework? Or better yet, is there any reason to odex system apps after odexing /system/framework?
Thanks in advance for your reply!
Click to expand...
Click to collapse
Yes after you odex your framework you can odex system apps.
The main thing about odexing is your apps load faster and it frees up memory in your /data/ partition because you are removing a good chunk of dalvik cache.
Also does improve performance just a tick, by that I mean general UI responsiveness is improved.
Thanks!
just for the sgh3 or would any work like sgh2?
wondering if this would work for the s2 :fingers-crossed:
DAD12345 said:
wondering if this would work for the s2 :fingers-crossed:
Click to expand...
Click to collapse
No it won't.
Boot class path is different.
But if you change that part in the script it will work.
Will this work on all jb roms. Like 4.2 or is it just for s3 4.1?
sent via note 2 in boss mode @ quad core 1.9ghz
Didn't work for me and the dude was so rude that I asked really made me like unfollow him
Sent from my SGH-T989 using xda app-developers app
It didn't really work, and I gave full permissions as well, should I try again?
Sent from my SGH-T999
This script will Odex your /system/framework/ directory live while booted into android. You can thank freeza for providing the original boot class path from the s3 when I was initially trying to do this on that platform. Tonight I was bored, and putting together my note II ROM and out of pure curiosity wanted to know if it would work straight across to this device as the framework directories of the two devices have similar contents... apparently the bootclasspath for the two devices are identical otherwise this script wouldn't have executed in the first place. But it did! So here we go. Devs, feel free to place this is in your ROMs as an optional add on. It should be noted that most themes for the UI are not odex compatible, and will cause boot loops if flashed. BUT... you can flash a theme, modifying your framework (as a theme does) THEN run this script
This is beneficial for those who flash deodexed ROMs in order to theme. The idea is simple: find your favorite theme/ROM, then optimize it using this script.
Simple instruction, this is easy to do.
Download the attached zip file...
http://db.tt/na11Ma9L
Extract the zip file (the ouput should be a folder named "odex' with some files in it)... place the odex folder it in your /data/local/tmp/ directory with a file explorer such as FX File explorer...
Use said file explorer to give the folder, and all of its file contents FULL read/write/execute permissions and root ownership. This is typically done with a file explorer by long pressing on the folder/file and selecting the appropriate options. With FX long pressing will give you an option for "permissions" select that then change all tabs on the left to say root, and check all boxes for full 0777 perms (this will need to be done individually for each file and folder, you cannot just do it to the folder because it will not change the content's)...
With root explorer you should also be able to figure out this process...
Use said file explorer to mount your /system/ directory as r/w... this is done by simply clicking the green "locked" icon while browsing the /system/ directory with FX File explorer...
with root explorer there is a grey tab at the top of the app window that says "mount as r/w"...
Download terminal emulator from the market and open it up... type the following commands:
su (hit enter and it will ask for root perms... grant it)
Then type:
/data/local/tmp/odex/odex (hit enter, it will do some things you will not be able to read so don't worry about it lol
When it finishes type "reboot" without quotes and hit enter
Done. Profit.
This will work on any deodexed ROM for the note II running 4.1.1
Question: how will this benefit me?
Answer: odexed framework is more efficiently accessed by the CPU thus reducing CPU cycles and saving battery life a tick. Apps/frameworks that are odexed are opened faster, thus performance is improved - smoother UI, etc.
IMPORTANT * * * DO NOT DO THIS IF YOU HAVE ODEXED YOUR /SYSTEM/APP/ DIRECTORY WITH AN APP LIKE TITANIUM BACKUP. UNDO IT, REBOOT, RUN THIS, THEN RE-ODEX /SYSTEM/APP/ ....not doing this will likely cause you to boot loop/lock up at boot. You have been warned.
reserved
This is cool thank you very much. By chance is it possible to write a script to deodex also?
Worked great on my s3, just what ive been looking for. THANKS
Awesome! Love odexed roms
Master'd Note 2
Only framework is odexed?
Lol. Guess the first line of op answers that dumb question. Thanks for sharing :thumbup:
Sent from my SGH-T889 using xda premium
Use this for the rest, it works great.
http://forum.xda-developers.com/showthread.php?t=1839445
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
Installer Script to move files from System to Preload
First of all, credits to Mattix for the original Move script and no idea who to credit for the symlink creator script.
This script (with some minor editing) will move select files from the system/app root folder to the preload/symlink/system/app folder. It will also create the necessary symlink files back to system/app for the moved files.
Prerequisites:
Download and install Notepad++.
It is not recommended to use a standard text editor to edit android files.
A good zip utility like WinRar or 7Zip.
Guide:
Please note - you must have enough available room in the Preload partition to move the existing files. Using Rom Toolbox/root explorer, scroll the tools at the bottom over to and select 'prefs', select the 'Show storage bar' checkbox.
This will give you the storage bar like in the screenshot below.
Using a zip file manager like WinRar or 7Zip, open (do not extract) the 'Move_Apps' file within the zip and when asked, select notepad++ as your editor and change the filename highlighted in red, exit and save.
Also, filenames are case sensitive. Make sure you input the full filename with the file extension:
Code:
#!/sbin/sh
#
# Created by Mattix724
# Move Apps
# v1.0
cd system/app
mv [COLOR="Red"]Sample.apk [/COLOR] /preload/symlink/system/app
Copy and paste the line with the filename as many times as you need to for any other files you want to move. Flash the zip in recovery.
Please make a backup prior to using this or any file management tool
That's it, have fun. Tnx - TD
Oh hey, look what we have here! If anyone wants some help using this script I'll be more than happy to help. Just shoot me a private message and I'll get back to ya.
Sent from my SPH-D710 using XDA Premium 4 mobile app
This may be a stupid question but when I open it in notepad++ its only giving me 10 lines .how do I add more lines.each line is numbered 1through 10 .I cant paste any more.
Just go to the end of line 9 and hit enter or to the empty line 10 and hit enter.
Then you should be able to right click and paste on the new blank line.
I'm not sure if the blank line is necessary at the end but I notice it in a lot of stuff so I just leave it there.
tdunham said:
Just go to the end of line 9 and hit enter or to the empty line 10 and hit enter.
Then you should be able to right click and paste on the new blank line.
I'm not sure if the blank line is necessary at the end but I notice it in a lot of stuff so I just leave it there.
Click to expand...
Click to collapse
Ok thanks TD.I will have to try it tomorrow.iam going to try to move 32 apk files over, there mostly small (k) but more space in system/apps should increase speed .I hope ( running recalked ):good:
mholloway said:
Ok thanks TD.I will have to try it tomorrow.iam going to try to move 32 apk files over, there mostly small (k) but more space in system/apps should increase speed .I hope ( running recalked ):good:
Click to expand...
Click to collapse
I usually just have the entire rom unzipped somewhere and copy and paste the entire filename.apk from the folder itself. It's easier for me to do it that way than trying to type them all in.
tdunham said:
I usually just have the entire rom unzipped somewhere and copy and paste the entire filename.apk from the folder itself. It's easier for me to do it that way than trying to type them all in.
Click to expand...
Click to collapse
For me to do that could I use my nandroid back up.move it to pc, then open with winrar.?
mholloway said:
For me to do that could I use my nandroid back up.move it to pc, then open with winrar.?
Click to expand...
Click to collapse
I think you can open a backup but it's easier to find stuff in the rom.zip.
tdunham said:
I think you can open a backup but it's easier to find stuff in the rom.zip.
Click to expand...
Click to collapse
Lol, yea I was thinking that after I posted.iam going to try it your way, rather move the stuff then to type all the apks. Thanks TD
You could always have the script opened on your computer and have a file browser on your phone open so you can just take a quick glance at the phone and type the name of the app into the script.
On another note, after seeing TD bring this back from the dead I thought about what else can be done to this script to make it even better... This weekend I'll be seeing what else can be done using this shell script.
Sent from my SPH-D710 using XDA Premium 4 mobile app
Question, if I unzip the rom zip and move what I want from system to preload do I then delete apk in system and after flashing rom flash the symlink tool?
mholloway said:
Question, if I unzip the rom zip and move what I want from system to preload do I then delete apk in system and after flashing rom flash the symlink tool?
Click to expand...
Click to collapse
You could move apps to the preload partition by doing it that way, the ROM zip should already have a command to set the symbolic links after flashing everything.
This script was created after I released an early deodexed Jellybean build and I wanted to move the SystemUI back to the system partition because I thought it was silly of Samsung to move an important system application to the preload partition. I thought it would help decrease the boot time a little bit, it probably didn't speed it up enough to be noticeable to the average user but in my opinion it was slightly faster to boot up to the lock screen.
Then I decided to move all of the "bloat" to the preload partition as well as any of the Google apps that can be downloaded from the Play Store. But now most of those aren't even needed in the system or preload unless you want the extra space in your data partition for other things like apps, games, data, etc...
Sent from my SPH-D710 using XDA Premium 4 mobile app
mholloway said:
Question, if I unzip the rom zip and move what I want from system to preload do I then delete apk in system and after flashing rom flash the symlink tool?
Click to expand...
Click to collapse
You can't do the rom zip this way because it needs the symlinks to boot.
Maybe in the next release I will change the way it does symlinks but right now I'm afraid the rom just wouldn't boot if you start rearranging the system and preload files before flashing.
Mattix724 said:
You could move apps to the preload partition by doing it that way, the ROM zip should already have a command to set the symbolic links after flashing everything.
This script was created after I released an early deodexed Jellybean build and I wanted to move the SystemUI back to the system partition because I thought it was silly of Samsung to move an important system application to the preload partition. I thought it would help decrease the boot time a little bit, it probably didn't speed it up enough to be noticeable to the average user but in my opinion it was slightly faster to boot up to the lock screen.
Then I decided to move all of the "bloat" to the preload partition as well as any of the Google apps that can be downloaded from the Play Store. But now most of those aren't even needed in the system or preload unless you want the extra space in your data partition for other things like apps, games, data, etc...
Sent from my SPH-D710 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks, I wanna try moving some things that isnt just apps like some services dont know actually names off hand but basically leaving system ui and sec settings in system for theming .
---------- Post added at 11:53 AM ---------- Previous post was at 11:48 AM ----------
tdunham said:
You can't do the rom zip this way because it needs the symlinks to boot.
Maybe in the next release I will change the way it does symlinks but right now I'm afraid the rom just wouldn't boot if you start rearranging the system and preload files before flashing.
Click to expand...
Click to collapse
Ok .last night I did try it with a nandroid but had a md5 mismatch, I have the link from bil for deleting the md5 #so I will try that later.
tdunham said:
You can't do the rom zip this way because it needs the symlinks to boot.
Maybe in the next release I will change the way it does symlinks but right now I'm afraid the rom just wouldn't boot if you start rearranging the system and preload files before flashing.
Click to expand...
Click to collapse
I may be wrong, but I think he was asking if he could unzip the ROM zip to move apps from the system to the preload partition. If this is the case, once you've moved the apps you want to move just zip the ROM back up and then it is ready to flash. You will need to wipe both the system and preload partition prior to flashing the newly modified zip.
This way it is as if it's a fresh install, the apps go where you want them, and you can still preserve user data.
Sent from my SPH-D710 using XDA Premium 4 mobile app
Mattix724 said:
I may be wrong, but I think he was asking if he could unzip the ROM zip to move apps from the system to the preload partition. If this is the case, once you've moved the apps you want to move just zip the ROM back up and then it is ready to flash. You will need to wipe both the system and preload partition prior to flashing the newly modified zip.
This way it is as if it's a fresh install, the apps go where you want them, and you can still preserve user data.
Click to expand...
Click to collapse
The way the current E4GT roms are written, you can't take the Rom.zip and just rearrange things because the installer script does the preload symlinks one file at a time. I've changed this in the Shostock rom and also I think in my ReCalked Odexed release so symlinks are all done from a separate script file.
Bilgerryan may fix this in his next release and I will do the same in the next ReCalked but it won't work the way they are written now.
Plus, the Preload partition is limited on space too. You can't just dump the entire contents of system/app into it. It just won't fit without some serious debloating of both folders first.
I'll just fix the script in ReCalked for Mholloway and post a link here after I upload it maybe. Or maybe I'll just add the new lockscreen mods if I have time and upload the new version to my thread so he can play with it.
tdunham said:
I'll just fix the script in ReCalked for Mholloway and post a link here after I upload it maybe. Or maybe I'll just add the new lockscreen mods if I have time and upload the new version to my thread so he can play with it.
Click to expand...
Click to collapse
Thank you so much, but do whats easier for you.I would think your a busy man with all that your invoved here, with all your mods . Just the thought of you willing to do that is very appreciated.
Uploading a modified version of ReCalked. Stripped down to a little over 400mb. It's getting late, I'll try to post it in the morning if it makes it ok.
Sorry, having trouble getting the file uploaded. I'll try again and see how it goes.