yashsingh1/xdaforums huggingface dataset:
[Samsung Epic 4G Touch] MiguelHogue:
Hello :cool:

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
Sorry Ive been out a couple day, i got really consumed with 3 different projects at once and lost all sense of time... Havent quite finished any of them yet, but its been worth it anyway. I had been racking my brain trying to figure out how to cut down on resources without sacrificing performance... And I think Ive done it.

Anybody interested in selectively odexing their phone?

I modified an odex script found on XDA to create a little odexing station in /data/local...

You just put your desired apps in the folder with Root Explorer and run the script. It forces a reboot and when you get back.... TAAADAAAA,

Also modified a version that works for .jars..

The idea is to odex performance related apks and jars while not bothering with everything else.

This should significantly cut back on dalvik and ram usage.

Its setup to leave all classes.dex intact within the app or frame file for portability and what not..

Soo, uhhmm... Once again :D I need some brave souls :p
[Samsung Epic 4G Touch] MiguelHogue:
I'm down for the odex

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] swift2989:
;) :beer: :cool:

Sent from my Epic Touch armed with a Jellybean army to kill you Apple!
[Samsung Epic 4G Touch] J_Whit85:
What is shift2?
[Samsung Epic 4G Touch] iniz94:
I've been MIA for a couple of days. I've been on Alpha 5 JB though and there is no init.d folder :eek:

Edit: I'm guessing this is why :P
[Samsung Epic 4G Touch] PhAkEer:
TESTING PHASE

POTENTIALLY DANGEROUS

DO NOT USE IF:

A) YOUR BOOTCLASSPATH VARIES FROM SPH-D710'S

B) YOU ARE SCARED OF THE DARK

C) MOMMY PAID FOR YOUR PHONE

D) WIFEY PAID FOR YOUR PHONE

sorry about that. Just wanted it stated.

Ive tested it several times and havent had anything go wrong, even in ths earlier testings when it wasnt working...

On Board Odex Station

.

Instructions:

.

A) Download the package and flash it through recovery

.

B) Using RootExplorer, select what yoy want to odex and COPY them to these directories and follow the rest of the instructions

.

if from /data/app; then COPY TO
/data/local/odex/DatApp;

elif from /system/app; then COPY TO
/data/local/odex/SysApp;

elif from /system/framework; then COPY TO
/data/local/odex/SysJar;
fi

(was just trying to bury it a little)

C) Once you have everything in place, you will only have to run the script that is in
/data/local/odex;

EDIT; MAKE SURE ALL PERMISSIONS ON AND WITHIN THE ODEX FOLDER ARE
RWXR XR X (755)

D) Thats all. The .odex files wi be made and put into the proper place.
The copies of .apks and .jars arent auto deleted yet, so you could cleaan it up if you wanted... Or leave it.. Idc.

DONT be alarmed when your phone seems to freeze, it is only reading your bootpath which will take it through the reboot cycle. Again, whatever you do,
DO NOT PRESS THE POWER BUTTON while this is happening. I assure it is normal.
If it sits on boot ani for over two minutes THEN reset via power button.
Enjoy

Edit; almost forgot credit
Credit goes mainly to the original and unknown to me author, but the version that I modified was tagged "Puppet13@xda"
So thank you Puppet, all I changed was making it so you can choose what to odex (or what not) and made it so you dont need to flash it.
everytime.

Recomendations:
I recommend starting with ;
the jar that will be in there on flash
framework.jars ( 1, 2, and TW )
minimode.jar
systemUI.apk
settings.apk
phone.apk
internet(or browser).apk
And whatever you want from /data/app
[URL=http://db.tt/ddEvrwas];)[/URL]

_____________________________________________
[Samsung Epic 4G Touch] MiguelHogue:
Well mommy paid for my phone Lmao so ill sit this one out

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
Lmao Idc if first parts true but youd better be kidding about that second part :p

I feel like Im on the zippiest placebo possible to build and I'm even on one at all

:D
[Samsung Epic 4G Touch] MiguelHogue:
You and those smiles get me I almost ask where the link was but SOMETHING in my mind told me to click that smiley lol... And I'm downloading it now... I can do this with apex launcher too? I don't use the standard tw one

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
Any app or jar that has a classes.dex inaide.

So, yes, you can odex apex.

Lmao that was fun to read
[Samsung Epic 4G Touch] MiguelHogue:
After this step? I already changed the permissions

- Sent From My Blu Kuban Themed Tapatalk Like A Boss

---------- Post added at 11:45 PM ---------- Previous post was at 11:42 PM ----------

Grr Damn Tapatalk

But here is the screen shot of what I did... http://tinypic.com/view.php?pic=dqrptg&s=6

Wait did I need to change permissions or just copy and past it and leave those be :confused:

Also to run the script what should I type in the terminal emulator

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
All you need to do is run the script that is in in the odex folder.

So one RootExplorer, click on it, click the option to run it as a linux script and click run.

Or from terminal emulator just type the full path like any other script, eg

su

/data/local/odex/odex_all-in_workdir
[Samsung Epic 4G Touch] MiguelHogue:
Ohh gotcha let me restart my process and download root Explorer since everyone seems to be using that

- Sent From My Blu Kuban Themed Tapatalk Like A Boss

---------- Post added 28th August 2012 at 12:03 AM ---------- Previous post was 27th August 2012 at 11:54 PM ----------

I grabbed root Explorer did all that... Clicked odex all in one.. And then excute on the Linux handler... No reboots or nothing.. So I assume I did something wrong or.. :confused:

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
You've been almost the only person to manually place Placebo this whole time and you never had root emplorer!? Lol you could also just make a copy of the starter script and put it in xbin, change the name to OdexAll (or whatever) and then its a terminal command.

Add: is your permission for execute cliccked on the script?
[Samsung Epic 4G Touch] MiguelHogue:
Lol I always used es file explorer but I'm liking this root Explorer its a lot more convenient :D

And I copied the odex - all inwork- dir script to the xbin still a no go.. No reboots.. I tried executing it from xbin and the original data/ local/ odex

I may be lost cause :(

- Sent From My Blu Kuban Themed Tapatalk Like A Boss

---------- Post added at 12:22 AM ---------- Previous post was at 12:16 AM ----------

My permission to excute? Well it's rw- r- r

(Tapatalk pick a good time for screen shots not to work :mad:

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
Lmao well that will make a script hard to execute if it has

read, write, NOexecute,

read, NOwrite, NOexecute,

read, NOwrite, NO execute

As its its perms.. You probably didnt need to change anything.

( and when tap a talk wont upload you can click "more" and open jn browser and upload to xda :) )
[Samsung Epic 4G Touch] MiguelHogue:
i just went on and tethered the internet to my laptop and uploaded it..im determined to get this to work *cue rocky music* lol

so this is what it looks like..:(
[Samsung Epic 4G Touch] swift2989:
I'm on the same boat as u miguel....I'll have some more info of what i findout in a little bit cause it is not working for me
[Samsung Epic 4G Touch] PhAkEer:
Did you guys not see my post ? ?

The script (and every script ever made anywhere) HAS TO be executable.

You cannot X a script with X turned off :p

Silly...

Edit: oh, it is 7. Try 755 or even 775

I got it! Did you check permissions on the ACTUAL scripts? They are in the "Working_Folder".

Make them all 775 and call me in the morning :D

Like this
[Samsung Epic 4G Touch] swift2989:
I taught about that already and tried 755 but it didn't work either bro... I forgot to take a screen shot... I'll try again and get u screen shot of what it says

trying 775 now

Sent from my Epic Touch armed with a Jellybean army to kill you Apple!
[Samsung Epic 4G Touch] Pauzzz:
cmx link is down?

GAHHH right when i wanted to try this on sbrissens JB build. :silly: oh wells. just a heads up
[Samsung Epic 4G Touch] MiguelHogue:
im in the working folder now and set permissions to 775 ? ?

im using root explorer and see rw-r-r for all of them...so 775 would equal to what with the check boxes?

*after this im going ghost cause im working Phakers nerve* lmao

*Edit* youre screenie doesnt show* =p
[Samsung Epic 4G Touch] swift2989:
This is what I get when I try with permissions set to 755 and 775

should be up now

Sent from my Epic Touch armed with a Jellybean army to kill you Apple!
[Samsung Epic 4G Touch] PhAkEer:
Lmao youre not getting on my nerves, my unreliable delivery is. :(

And I cant see what the problem is because I just flashed it and successfully odexed my camera...

And MH, 755 ia like an init.d script

rwxr xr x

Maybe try executing one of the scripts directly. EG

su

/data/local/odex/Working_Folder/odex_S-apps

that has a capitol W, F, and S
[Samsung Epic 4G Touch] MiguelHogue:
Sooooooo after changing all the permissions my phone froze.. Rebooted... :D:D:D

You the man :D

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
Glad to hear it..... I was about to issue a recall and refund everyones time lol
[Samsung Epic 4G Touch] swift2989:
Not working here

Don't know what the problem can be

Sent from my Epic Touch armed with a Jellybean army to kill you Apple!
[Samsung Epic 4G Touch] MiguelHogue:
Sorry for taking you through the ringer man :( And so the odex makes things very zippy I see, my apex is flying so is my browser... Without compromising battery.. Idea is genius :beer:.. Time to odex a few other apps I use a lot

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
Im not entirely sure on the battery yet.

mine is draining sorta fast but Im not using placebo and the testing for the Odex Station was brutal.

Did you flash, or manually place them?

Which way did you deliver the permission change?

Try

su

mount -o remount /data /data

chmod 0755 /data/local/*/*

chmod 0775 /data/local

/data/local/odex/odex_all-in_workdir
[Samsung Epic 4G Touch] swift2989:
I flash it.... And changed permissions thru root Explorer.... I also tried what u just told me and still nothing

Sent from my Epic Touch armed with a Jellybean army to kill you Apple!

---------- Post added at 07:38 PM ---------- Previous post was at 07:36 PM ----------

I'm want to try it over a fresh install but I won't be able to do that till later on tonight

Sent from my Epic Touch armed with a Jellybean army to kill you Apple!
[Samsung Epic 4G Touch] MiguelHogue:
What other things have you odexed with this to help the overall performance ? I'd like to odex those as well

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
By chance, and this is a long shot ... Does the build that you are on have a different bootclasspath? If so thst would cause it to fail before the attempt...

Check it by typing "set" in term and compare it against this
[Samsung Epic 4G Touch] PhAkEer:
List of what I have currently odexed

Odexed framework: ______________|OdexedApplications:-

am.jar, ___________________________| Phone.apk

bouncycastle.jar, ___________________ | Settings.apk

com.google.media.effects.jar, __________| SystemUI.apk

com.yamaha.media.effects.jar,________| SecBrowser.apk

framework.jar, ______________________| Both of my launcher.apks

framework2.jar, _____________________| Camera and gallery.

minimode.jar,

sec_feature.jar,

secframework.jar,

twframework.jar,

And that's all she wrote,
[Samsung Epic 4G Touch] swift2989:
Won't be able to check till later cause I'm hanging out ;) with my girlfriend.... I'm on cm10 alpha 4.2 but will be updating to cm10 alpha 4.4 later.... So we'll see what's up then but thanks for helping me out bro.... It is becoming personal so I want to make it work

Sent from my Epic Touch armed with a Jellybean army to kill you Apple!

---------- Post added at 10:40 PM ---------- Previous post was at 10:37 PM ----------

Waaaa :'( I haven't even odex my launcher at least

Sent from my Epic Touch armed with a Jellybean army to kill you Apple!
[Samsung Epic 4G Touch] MiguelHogue:
An update to the odex.. My battery is fine and I'm using hyper.. Maybe it's my imagination but my battery seems to be a tad bit better.. I mean you did say it would cut down on RAM usage so in theory that would mean less battery..

*Edit*My odex fun was cut short. :(.. I odexed all the things you mentioned and my whole phone started force closing.. Restored my back up

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
Yeah, absolutely.

That was the idea. Odexing the entire rom is a pain and it's really not necessary to odex all the things that aren't used often and especially if they aren't interfaced.

I just did a fresh install of a completely stock deodexed TW build.

It's been a while since I "made" a ROM and I've NEVER made one that I posted..

While it may not be real devving, I'm confident I could put some pieces in the right place and if I get lucky other people may like the simplicity of my style.

If I get REAAAALLLY lucky I may be able to convince a kernel dev to go in the project so placebo can be truly baked into the ROM, since I don't have the resources right now for a proper station...

Idk, the Roms I used to build for myself were always simple.. holo.9 dark themed with very little to them, but they've always screamed :)

Need some luck.

ADD: OHNO!!

I'm sorry, bro. I wonder what broke it?

Which ROM are you on so I can note the Don't do in my " if it happens to one more person..." book

I had a feeling I got lucky with some of those...

If you go at it again... leave the following out for safe measure

Am.jar,

BouncyCastle.jar

Ext.jar

I was surprised that I got away with it... Also was wondering...

Do you have Titanium Backup??

If so, when you are going to Odex, first go into Tb and and hit the menu hard button.

There is an option to integrate dalvik cache into the rom. I'm pretty sure that will further increase the effects. I'm gonna try it now.
[Samsung Epic 4G Touch] daniel4653:
So which is the best for JB this far ? Lol
[Samsung Epic 4G Touch] MiguelHogue:
I know your Roms are awesome just by your tweaks alone..If you ever decide to upload a rom of yours I'd definitely download it ASAP I like the light holo theming az well

And the Blu Kuban.. You said that the odex did something with the dalvik cache.. I know ruj has some type of mid he does with the dalvik cache so I'm not sure if things conflicted or not... But I really was feeling the odex... Imma flash it again and only odex a few things... It was working fine when I only did the apex and browser

*Add* yeah I am going to go at it again... And I'll leave what you listed out but no I don't have titanium but I do have Rom toolbox pro

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
You are definitely safe to odex anything with framework in the name and that is going to show the biggest performance boost...

If you think about it , the framework having faster access to the images that make everything we see on the phone..

Makes me a little too happy inside. lol

Sorry,.. Meant to say any .jar with framework in the name. The framework.jar pretty much ARE the odexs of the framework.apks. lol
[Samsung Epic 4G Touch] MiguelHogue:
For some odd apex is listed under system app as launcher2.. Would I put that in the Data app odex? Because clearly apex is not a system app.. I have apex launcher pro and that's under data app

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
You are better off having it in /system.

It isn't installed as a system app by default, but for things like keeping widgets in the drawer it used to require you change it to a system app.

I always install launchers as system apps.. the "pro" doesn't matter where it is kept. It's just a key.
[Samsung Epic 4G Touch] MiguelHogue:
Gotcha... And yay back to being odexed what you said to leave out did the trick.:D.. I'm definitely about to make a back up.. Replacing all that stuff was a pain in the ass lol

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
Lmao I haven't made a full backup since ff18 dropped.

I do hate having to restore manually but I find that I hate moving backwards in time even more.

I just dug up some old framework pngs that I altered manually one by one... lmao they sure are pretty.. but I

altered almost every aspect that mattered and installed before I realized that the resolution was for s3 and everything displayed gigantically.. I was sooo pissed.

Im actually surprised I still have it.. lol
[Samsung Epic 4G Touch] MiguelHogue:
Well thanks to someone *cough phakerejdjjdjjdjjs *cough I have to make back ups Lmao but I feel you on hate to moving backwards, only reason I make backups because I hate having to reset all my Blu Kuban mods

And man, wish you had that pushed to our devices... Hmmm talking about backups I gotta flash another placebo, I'm lookin for one to make my phone fly since I tackled battery life (boring adventure now) hmmm...:what:

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
Lmao, I've given you everything you need to make it fly, bro... Trust me, I was where you are. The next step is the never ending one...

it's time for you to write the modification.

From there... it just keeps going and going and I can't see an end in sight. There's always one more thing to learn.. one more setting til it's perfect.. then.. just when you finally have it absolutely perfect... you make another adjustment and you can never get it back to the way you had it..

Lmao I have had my phone "perfect" probably 20 times and only have a backup of one of them. . . . and it's outdated as hell.
[Samsung Epic 4G Touch] MiguelHogue:
Lol yeah I know.. Just was scrolling the OP.. Already know what I'm about to try.. And that's funny you mention that one more setting till its perfect statement...because ME and a lot of others on this thread who use your tweaks or who flash different Roms seeking different desired results will say "man this set up is perfect" & then we will turn around and flash something else.. Tinker with something else.. Bam it doesn't work.. Or we have less then desired results.. And wish we never messed with it... & then we find something that works for us and think it is greater then what we originally thought was perfect..and then mess with it again lol.. A never ending cycle.. But that's the fun part of it to me

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] CyberpodS2:
I'm running Blu Kuban 1.0.4.6 with the 0.1.5 kernel. I have installed Placebo 2 with 1st gear and all is going well with these settings in the extweaks:

max scaling speed 900

min scaling speed: 50

screen off profile max 500

screen off profile min 25

gov. pegasusq

i/o sio

using cpu-spy I can see it is clearly maxed at 900 and spends most of it's time down at low speeds or deep sleep. (goes right to sleep btw which is awesome!)

I just have a couple questions though. I was looking through the text for the different gears and I see the references to the ondemand gov.

Is extweaks or placebo setting the governor?

Is the placebo most effective with the ondemand since it sets values for it?
[Samsung Epic 4G Touch] PhAkEer:
I told you once and Ill tell you again...

On to the next one.
[Samsung Epic 4G Touch] CyberpodS2:
LOL Another 12hr swinger! :( We do 2 on 2 off 3 on 3 off switching days/nights/days/nights. Never quite right in the head once you drink the coolaid...
[Samsung Epic 4G Touch] tdunham:
PH, I'm putting your Gear3 script to work for a couple different roms now that the Conservative governor works through a beta testing regimen. Any thoughts on trying any of the zillion other governors available or is Conservative still the best alternative for battery savings?
[Samsung Epic 4G Touch] MiguelHogue:
*screen shots still no go*

. Hmmm

I thought I was tripping but I have 4 hours screen on time with 39% left using your performance placebo and odexed script

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] PhAkEer:
I honestly got intimidated by all the Governor options... Ivr havent even used most of then.

I intend to.

Edit: lmao at all of my I-worked-a-12-hour-shift-after-not-sleeping-the-night-before typos
[Samsung Epic 4G Touch] MiguelHogue:
I had fun on this thread yesterday and got a bonus odex out of it

**{Team PhakeEr testing} **

, ^my ghetto banner

- Sent From My Blu Kuban Themed Tapatalk Like A Boss
[Samsung Epic 4G Touch] swift2989:
Me like the ghetto banner.... Team PhAkEer in full effect..... I didn't have time to get everything running yesterday cause I had to spend some "alone" time with the girl but I'm pulling another 12 hr shift tonight so let's get this ***** cracking tonight :cool:

Sent from my Epic Touch armed with a Jellybean army to kill you Apple!
[Samsung Epic 4G Touch] PhAkEer:
Well, if its testing you guys want....

Lol,

I was thinking about that rom I was talking about then I remembered why I never got too into it.....

Its silly to make someone DL 300mb when 200 is the same as what they already have...

So im attempting to make whatll be more like a booster pack... Just change the framework, without removing what isnt replaced so it wont mess with the setup too much...

Same with libs... They cause the most trouble as far as needing to wipe data goes... So id only add/replace whats in the pack...

basically, if it worked... Itd make it so ANY TW rom could be reduced to a third of the Dl.. With the exception of a few reaaally modded ROMs like RUs work.

Idk. My framework is beast right now but i need to mod it just 1 more time... My luck itll be the straw that breaks it...

Lets just Phake these cookie cutters ;)
[Samsung Epic 4G Touch] swift2989:
I wouldn't mind testing a little problem... Me hate tw :(...... But I wouldn't mind taking one for the team

Sent from my Epic Touch armed with a Jellybean army to kill you Apple!
[Samsung Epic 4G Touch] PhAkEer:
Well, I honestly never even know if what works on my phone will work at all on others..lol

Ive got enough JB that I could try to do the same to it, but wouldnt be able to test it before uploading it.
[Samsung Epic 4G Touch] swift2989:
I don't mind testing I'm actually about to tackle the odex station so wish me luck :highfive:
[Samsung Epic 4G Touch] bigpeng:
Shift3 is Conservative and deadline?
[Samsung Epic 4G Touch] swift2989:
this is what i get and by the way it didn't work
[Samsung Epic 4G Touch] blackcanopy:
That's what I'm showing bro. 25/1100

Sent from my SPH-D710 using Xparent Blue Tapatalk 2