This only works on Gingerbread, not anything else.
Hello guys i found this awesome tweak package http://forum.xda-developers.com/showthread.php?t=2167228
About the script:An awesome script that make your gaming smoother
Warning:this tweak package is made for adreno 205+ gpus but it's working very well on my desire ; we( me or Spizzy01 or xda) are not responsable for any damage done to your phone by flashing this mod and by flashing this mod you accept that
Instructions:
Download and copy the ZIP to SD Card. Then flash using CWM.
NOTE: Please ensure you reboot your device after the first boot post-installation of the mod or it will not be active.
Requirements
Init.d support
Root
Any Gingerbread ROM
DOWNOAD: in the original thread linked above
Credits: All credits goes to developer of this script- @Spizzy01
Troubleshooting
First, give yourself another reboot - Just in case!
If it still doesn't seem to be working for you, check to see if the files have copied to your device. Check the following locations for the following files with any file manager with Root support.
/system/etc/init.d - Filename: 93adreno
/system/etc - Filename: adreno_config.txt
You should also see adreno_config.txt in the following location if the init.d script is working correctly: /data/local/tmp
If this file is not in this location then chances are you do not have init.d support.
Black screen on boot? See here: http://forum.xda-developers.com/show...&postcount=377
Extras
You can assist with the testing of some of these settings by doing the following:
Open a new text file in a standard text editor (Notepad++ or Notepad for Windows)
Choose values from the above post to put into your configuration file. (Use the attached adreno_config.txt file as an indication of what setting does what)
Save this new file as 'adreno_config.txt'
Copy this text file to your phones SD Card.
Open your File Manager on your phone (I use ES File Explorer)
Prepare adreno_config.txt on your SD Card for copying
Navigate to /Data/local/tmp and paste the file there
Reboot.
Please be aware that if you have any cleaner init.d scripts this will NOT work, as when you reboot /data/local/tmp will be deleted.
Great thing, THANK YOU!
I installed it, but i see no difference in perfomance
Related
This is not only my first Android app, but this is also my first dive in Java. Please be gentle as I expect there are several uncaught / improperly handled exceptions.
This app will backup selected files to a zip file that can be restored via cwm. For now, that is all it does. It can be handy for the oc/uv crowd since it will allow you to keep a backup of a good S_volt_scheduler init file to flash in case your new setting are too aggressive. You can backup your currently installed favorite system apks for installation into your next ROM. It does not currently restore permissions, nor does it acquire root .
todo:
Obtain root to copy any file
Integrate a file selector so read permissions will not be an issue.
Detect/Restore permissions
Possible feature additions:
Create a restore.zip from current files based on an update.zip you want to apply. Could save you from boot loops when messing with system files.
Create a restore.zip given a file, a target directory, and permissions.
I will probably add this to the market once I get through the todos and initial bugs.
Changelog:
20110303
Multi-file capable. OIFileManager does not yet support multi-select, so each file must be selected seperately
Exception caught for mission OIFileManager
_delete.zip file seems to work correctly in recovery
Since I am not yet using root and OIFileManager will not assume root, there are some directories that cannot be viewed, /data/app for example. There are also some files that can be selected but cannot be copied due to their permissions.
Requires OIFileManager
Sounds like a handy app to have, can't wait till its finished.
This is a simple guide to make your own custom rom……..(the other parts will be written…as soon as I become bothered to type for hours again)
PART 1:setup the kitchen and rom
1.Download java(java.com) and install the java JDK(www.oracle.com/technetwork/java/javase/downloads/index.html)
2.Download the kitchen(http://forum.xda-developers.com/showthread.php?t=633246) (thankyou DSIXDA for your amazing kitchen)
3.Download Cygwin(Cygwin.com)
3.extract the cygwin file(using winzip or winrar) in C drive only….dont put it into any folders
a.Enter a file called Cygwin(setup file)
b.click next>install from local directory
c.now it will ask you where to put the program….leave everything as default
d.now It will ask you where the location of the packages are so>click browse>click my computer >go to drive C>and you will fin the folder Cygwin-packages>so select that folder and click ok>next.
e.now it will extract the folders>a promt is going to pop up..>click ok
f.now you will see a list>go to the first line and you will see next to the word ALL ,two arrows>click on them so all files can be installed.
g.now it will install the program whick take from 5-10min.
h.when its done …select finish.
i.you can now delete the setup file and Cygwin-packages folder.
j.now enter the Cygwin program and it will create some files..>when its done exit the program….
Now Cygwin program is done installing .
3.To use the kitchen:
a.Enter Cygwin folder>home>your user name>so you will find 3 files
b.in the same folder>extract the kitchen zip file(Android-Kitchen-master.zip)
c.now enter the kitchen folder>you will find a folder called>put rom here.
d.so in that folder>either put a rom.zip file or put a system.img file if you want complete stock…..(which you get from the ruu of your phone)
e.now enter tools folder>edifly_......(something like that) and see if you mount points are in it…
f.to know go to your build.prop file>check ro.product.device>and if you see a txt file under the name of your device …..your device is supported…
g.if NOT,go to the original thread …where the dev has stated a way on how to add your device…..
Now we are done from the setup of the kitchen…..
To use the kitchen:
1.Enter Cygwin
2.type
a.cd kitchen>press enter
b. ./menu>press enter
Now a list of options will come infront of you ……
3.go to the option>setup working folder>enter its number and press enter…
4.now if you go to Cygwin folder >enter home>user name>kitchen.
5.you will find a folder called(working folder_8254897)
NOW YOU ARE DONE WITH SETTING UP THE KITCHEN……AND YOU CAN START PLAYING WITH THE ROM
PART 2:Clearing up the options
Explanation for each option:
1.creates you a working folder,which extracts the rom for you.
2. It gives you super user access aka SU, Some apps require root to work properly….so if your rom isn’t rooted … it’ll be useless.
3. Busy Box is something that you install on your phone to give you some additional handy LINUX / UNIX based commands. You need Busy Box installed because some commands are not available to you and you made need them for some root level tasks.
4.To disable sounds while phone is booting
5.To add you a tethering app…..and allow you do wireless tethering
6. Zipalign is an archive alignment tool. It optimizes the way an app is packaged. Doing so enables the operating system to interact with the application more efficiently, and has the potential to make the application and overall the whole system much faster. Execution time is minimized for zipaligned applications, resulting in a lower amount of RAM consumption when running the app.
7.If you want the rom to do a FULL WIPE while installing the rom
8.To change the name of the rom
9.Checks if the update script contains any errors….because if it did the rom wont be installed correctly,which may lead to a brick
10.To see all information about your rom..ex: if you have root access/if you aren’t using stock kernel/if you have app2sd support etc..
11. Apk files have respective odexes that devs use to supposedly save space. Deodexing means you convert it back to a .dex file and put it back inside the apk. This allows you to easily replace files (not having to worry about odexes), but the main point was to deodex services.jar so that you can change all text to different colors (such as the clock color to white) and to deodex services.jar, you need to deodex everything.
12.To add a task killer….which closes applications to free RAM
13.To add a /data/app folder so applications could be installed their rather than getting installed in system/app
14.To add text editor…for ex.if you want to edit build.prop or any txt file which is in system.
15.To add a command shell which allows you to use in in the terminal
16.To give the option of moving applications to sd card
17. To add /etc/init.d scripts support ….which allow you to add tweaks and stuff for the phone
18.To allow user to put the boot-animation that he desires.
19.To be able to extract the boot.img(kernel)
20.To extract data.img (which I don’t know what it is )
21.check this (http://developer.android.com/tools/publishing/app-signing.html)
22.To covert update script to updater script which is a must before you build the rom.
99.To build the rom when you finish editing and modding.
PART 3:How to mod apks
OK SO NOW SINCE YOU KNOW WHAT EACH OPTION DOES…..LETS START MODDING,and to start customizing,you have to use an apk extractor and zipper because the apks contain all the treasure …..for example:SystemUI.apk(contains battery icons ,signal icons, the location of the clock and many many more things)
So what were gonna use is apk manager,which is an very easy program to use,and helps a lot in apk extracting and zipping and signing.
Here are the steps to use it:
1.Extract the zip file(apk manager)
2.youll find a file called setup>enter it and select option 3 and press enter.
3.folders will be created
4.so to extract an apk>select an apk file and drop it into the folder (put apk here)
5.go into script file>press enter file>and after you’ve put the apk file in the specified folder>select option 2 >so the apk will be extracted
6.after you extract it you will find the extracted files it in the same folder(put apk here) in a new folder under the name of the apk file.
7.edit whatever you want
8.When you finish >select option 3>press enter.
9.then select option 5 and 6 to sign and zipalign the apk…..
And your done ,but to find the modded apk…..go into place apk here for signing and you will find it there.
.........................
RESERVVED
Reserved45
RESE8VED
Hayde reserved yaben 3amme
W hayde kamen yaben 5alte....................reserved
Sorry need help....
donhashem.dh said:
.........................
Click to expand...
Click to collapse
Hey dude/*****.....
Me again and loving yr tutorial. But do have a couple of questions that I hope you can help with.
Firstly the update version of Cygwin menu is not exactly as yours in the tutorial. Why is the allow Tethering function not there and could this be a problem.
Secondly i am nooooooB and are unsure on how to add remove system apk's from rom. Do I just dig in and delete them from windows. And can I pull apk's from another rom to put into the data app folder which was created using Cygwin.
I was wanting to add aroma installer as well but another story....
Really appreciate if you can advise. If I sound to noooobish then understrand that I am to much work.
veroby said:
Hey dude/*****.....
Me again and loving yr tutorial. But do have a couple of questions that I hope you can help with.
Firstly the update version of Cygwin menu is not exactly as yours in the tutorial. Why is the allow Tethering function not there and could this be a problem.
Secondly i am nooooooB and are unsure on how to add remove system apk's from rom. Do I just dig in and delete them from windows. And can I pull apk's from another rom to put into the data app folder which was created using Cygwin.
I was wanting to add aroma installer as well but another story....
Really appreciate if you can advise. If I sound to noooobish then understrand that I am to much work.
Click to expand...
Click to collapse
Ayyy take it easy cun*
I'll update the tutorial because I made it from a long time and posted it now
For the apks you just enter the rom.zip system>app and you'll find all the apks there..
The data folder cygwin creates is that when you use the Rom ..the apps won't be installed in system>app anymore,they will be installed the folder the kitchen created data
And for the aroma installer,leave it for later ...your still not ready for it ...
no signature....problem ?!?!?!
donhashem.dh said:
Ayyy take it easy cun*
I'll update the tutorial because I made it from a long time and posted it now
For the apks you just enter the rom.zip system>app and you'll find all the apks there..
The data folder cygwin creates is that when you use the Rom ..the apps won't be installed in system>app anymore,they will be installed the folder the kitchen created data
And for the aroma installer,leave it for later ...your still not ready for it ...
no signature....problem ?!?!?!
Click to expand...
Click to collapse
I was going to ask you about signature but didnt want to over do it. I am guessing you need to sign it after the 99 - Build ROM from working folder?
I have proceed with the Build rom and are at the recomend to sign rom stage. Its some thing I dont understand. Is it ok to proceed without?
Cool I have noticed the roms produced by dev's here xda are not signed so doesnt seem to matter for this purpose. I have hit thx ***** 5 or 6 times.
I will hit 500 s****y if you give share some knowledge in installing arroma installer. or do you recomend just trying things....cheers anyway its been awsome.....:good:
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
Disclaimer:
---------------------------------------------------------
Im Not Responsible If you Bricked Your device,boot loops,data lose,dead sd cards etc...
---------------------------------------------------------
I discovered this init.d Folder FIX which Fix the auto delete for files in it.
this will help alot of people who like tweaking thier devices.
YOUR DEVICE SHOULD BE ROOTED!!
Lets Start:
1.open Root Browser.
2.go to system/etc/.
3.if you have a stock rom you properly won't have the Init.d folder,so just create it.
4.change init.d permissions to "rwxr-xr-x"
5.open the folder and create a file with any name.
6.go back to system/etc.
7.open init.d agian.
8.the file still there,You are done.
Tip/s:
to make the rwxr-xr-x permission tick the following:
OWNER:read,write,execute.
GROUP:read,execute.
OTHERS:read,execute.
Hit the thanks button if i helped .
Hi everyone
This is my first thread, so I decide to make it useful to everyone
Let's GO !
What You Want :
ES File Explorer File Manager (OR any file explorer supports zip extracting)
Rooted Phone
Nandroid Backup (You don't know how important it is)
1- enable root explorer and set permission to r/w (read & write)
2- extract the flashable zip to your memory
3- go to the existing folder
4- copy everything except META-INF folder to the root of your phone
5- "Must" show replace confirmation select confirm
6- After the copy operation is finished, reboot your device
7- Done, Congratulations
PLEAS NOTE THAT I AM NOT RESPONSIBLE ABOUT YOUR DEVICE IF YOU BREAK IT RESTORE THE NANDROID BACKUP
note if its a new file you need to set permissions of the file
most files in app are rw-w-w however some may vary depending on what file it is
at the end of the day if you have a flashable zip its much better to flash certain things than push to system so if the flashable zip has already been made for you than you might as well use it
One doubt please
Ahmad YH said:
Hi everyone
This is my first thread, so I decide to make it useful to everyone
Let's GO !
What You Want :
ES File Explorer File Manager (OR any file explorer supports zip extracting)
Rooted Phone
Nandroid Backup (You don't know how important it is)
1- enable root explorer and set permission to r/w (read & write)
2- extract the flashable zip to your memory
3- go to the existing folder
4- copy everything except META-INF folder to the root of your phone
5- "Must" show replace confirmation select confirm
6- After the copy operation is finished, reboot your device
7- Done, Congratulations
PLEAS NOTE THAT I AM NOT RESPONSIBLE ABOUT YOUR DEVICE IF YOU BREAK IT RESTORE THE NANDROID BACKUP
Click to expand...
Click to collapse
I think this method only for apk files. "my doubt is this method is posible to replace frameworks files..?"
krsharjun said:
I think this method only for apk files. "my doubt is this method is posible to replace frameworks files..?"
Click to expand...
Click to collapse
yes just push to system and set permissions - normally rw-r-r
although I dont know why you would want to do this as its always better to flash the file and since you have a flashable zip why not just flash it
Just a confuse
marcussmith2626 said:
yes just push to system and set permissions - normally rw-r-r
although I dont know why you would want to do this as its always better to flash the file and since you have a flashable zip why not just flash it
Click to expand...
Click to collapse
as by my knowlege While replacing framework files means it will stuck the mobile then how can we set permission.. ? please help me.. and yes u said is correct but creating update.zip which need an a computer i am so lazy
krsharjun said:
as by my knowlege While replacing framework files means it will stuck the mobile then how can we set permission.. ? please help me.. and yes u said is correct but creating update.zip which need an a computer i am so lazy
Click to expand...
Click to collapse
with root browser you can set permissions of any file - please search how
it depends what framework files you are replacing - you cant just replace with any old file from a different rom - it wont work
if its been designed for your rom or you are modding your own files then thats fine
and a flashable zip takes two secs - you dont need a pc - and iv posted a template loads of times
here is it again - just add any files you want to flash to framework in the framework folder
if you want files to go to the app folder just create a folder in system in the zip called app and put files there
same for any other folder in system
http://d-h.st/sr9