I haven't seen this being used by any dev's(as of yet anyways) and I've been running it for about a week now and its been great!!! Don't feel that it should be kept secret so just click on link and download script!! http://forum.xda-developers.com/showthread.php?t=1111145
Its pretty basic, here are the instructions from the link:
1) Download attached file (Juwe_Update-19092011_RAM_Script.zip) unzip S97ramscript and put it to /system/etc/init.d with Root Explorer (if you don't have init.d folder, so create new folder and name it to init.d) and set perms of S97ramscript to 777 (rwxrwxrwx)
2) If you have in your init.d folder other script for RAM management (for example Darky's rambooster), so delete it
3) Reboot your phone
have you done it to yours?any noticeable difference ?
imtjnotu said:
have you done it to yours?any noticeable difference ?
Click to expand...
Click to collapse
Yippers, as mentioned in OP, been running for about a week and its been great man, highly recommend it! Let me know if you need any help! Just need basic knowledge of Root Explorer...
for any Root Explorer noobies who try this: to set perms to 777, just long press the script and wait for the menu to pop up. hit permissions and check everything
its in the linked thread, just thought it would save some digging for those who need the info
i know this is a super noob Q but how can i tell if its working? first time ive ever used a script
BLOWNCO said:
i know this is a super noob Q but how can i tell if its working? first time ive ever used a script
Click to expand...
Click to collapse
not very noob at all. hopefully you are aware of your overall performance in terms of battery life, smoothness, speed prior to running the script. let it run for a day or two and see if there are any differences. of course, with the dual core exynos it might be hard to see any differences in anything besides battery life because its already buttery smooth, but you get the point.
ImaWinRAR said:
not very noob at all. hopefully you are aware of your overall performance in terms of battery life, smoothness, speed prior to running the script. let it run for a day or two and see if there are any differences. of course, with the dual core exynos it might be hard to see any differences in anything besides battery life because its already buttery smooth, but you get the point.
Click to expand...
Click to collapse
i gotcha thanks for the respone
JungleJiujitsu said:
I haven't seen this being used by any dev's(as of yet anyways) and I've been running it for about a week now and its been great!!! Don't feel that it should be kept secret so just click on link and download script!! http://forum.xda-developers.com/showthread.php?t=1111145
Its pretty basic, here are the instructions from the link:
1) Download attached file (Juwe_Update-19092011_RAM_Script.zip) unzip S97ramscript and put it to /system/etc/init.d with Root Explorer (if you don't have init.d folder, so create new folder and name it to init.d) and set perms of S97ramscript to 777 (rwxrwxrwx)
2) If you have in your init.d folder other script for RAM management (for example Darky's rambooster), so delete it
3) Reboot your phone
Click to expand...
Click to collapse
You know, you could simply use Autostarts and prevent most of installed apps from loading automatically on reboot. Not only will you get about 500megs of free ram on boot, the devices will boot faster and smoother.
I think I prefer that method over using dodgy settings which may not be optimized for this particular rom and 1GB of ram that we have.
Related
I'm new to whole linux\android stuff. Didn't really used lunux, so my knowledge of shell scripting is around 0.
Anyway the stalling issue of galaxy is quit annoying. Fortunately Paul at Modaco has found a fix for that (beleve he had also had script for that to). http://android.modaco.com/content/s...298/got-the-stalling-problem-rooted-try-this/
The faster section\mount of the memory where the apps data should be copied is not so large, so you shouldn't place games or apps that use a lot of space. So you want only copy only a specific set of data.
I managed to create a shell script that will seek unlinked apps data directories in /data/data/ move them to faster storage partition /dbdata/data/ and link it back in /data/data. The apps directories that are exists in a ignore_list.txt will be skipped and not moved to /dbdata/.
!!! Be aware, use it at own risk !!!
Requirements:
Rooted SGS
ADB or terminal on SGS
SU
Busybox
how to:
1. download app_data_hack01.zip
2. copy context of app_data_hack01.zip to /sdcard/sd/Scripts
Remove or add directories that should remain in /data/data using in ignore_list.txt file
Execute using adb:
Code:
adb shell
su
sh /sdcard/sd/scripts/app_data_hack.sh
Using terminal on SGS
Code:
su
sh /sdcard/sd/scripts/app_data_hack.sh
in the terminal: "To proceed type [yes]:" type "yes" or "y" (without the quotes) to proceed..
To recover (move from /dbdata/data back to /data/data) use
Code:
su
sh /sdcard/sd/scripts/app_data_hack_recover.sh
Any feedback is welcome!!
tried it on XXJG3
systems runs much faster now with tons of applications installed
great work and nice instructions
Agree GREAT work, thanks
If I install new apps, they will be stored in the original /data/data right? And if I wanted to move them to /dbdata/data I just add them to the text file and run the script again?
psychedelic'd said:
If I install new apps, they will be stored in the original /data/data right? And if I wanted to move them to /dbdata/data I just add them to the text file and run the script again?
Click to expand...
Click to collapse
You can just run the sript again. You add to ignore text file directories that shouldn't be copied.
It would be great if everyone will post the directory names of apps that shouldn't be stored in /dbdata/ (apps that occupied a lot of space or somithing...)
wow this is good. much more friendly for newbies and linux illiterates like me than those bits and pieces found at modaco.
cheers!
Development
Often we have people post rubbish in the development section because the simply carnt be bothered to go to where their information belongs, e.g. Q&A... however in this case i think a very fine peice of developing has been done and would be seen my many more if used to the development section. Therefore i am asking if a mod could please move this thread, and also well done
Just a thought BTW, instead of everyone messing with this dbdata partition, why done we just increase the size of the partition so we done have to SQUEEZE our big apps in a very small space? Seems much more simple...?
sunwee said:
wow this is good. much more friendly for newbies and linux illiterates like me than those bits and pieces found at modaco.
cheers!
Click to expand...
Click to collapse
Glad it helped and found easy to use!
bratfink said:
Often we have people post rubbish in the development section because the simply carnt be bothered to go to where their information belongs, e.g. Q&A... however in this case i think a very fine peice of developing has been done and would be seen my many more if used to the development section. Therefore i am asking if a mod could please move this thread, and also well done
Just a thought BTW, instead of everyone messing with this dbdata partition, why done we just increase the size of the partition so we done have to SQUEEZE our big apps in a very small space? Seems much more simple...?
Click to expand...
Click to collapse
I wasn't sure where to post as it's not really an development of something new but only a tweak of existing...
As for increasing the partition size, it would be indeed great, but how and if it's possible? Could it be done PIT file using Odin 3?
Yes
Yes from what i know the PIT file contains the partition structure so if this file can be adapted to create a larger /dbdata partition then this should in theory be possible.
bratfink said:
Yes from what i know the PIT file contains the partition structure so if this file can be adapted to create a larger /dbdata partition then this should in theory be possible.
Click to expand...
Click to collapse
That's interesting, but kind off-topic.. Odin seems to be able to interpret pit files, so on web should also be more info available...
I have installed livewallpaper.apk but the livewallpaperpicker.apk gives an "Application not installed" error.
How to get em working?
P.S I am using Scoot's Cyanogen Mod 6.1
I don't think you can install it. It must be in the /system partition. IIRC
I'm not sure myself but how about put the apk into an androidupdate.tar inside the /system/app folder, and then apply it to your phone. You can create .tar using 7zip
or, maybe you have a bad file.. have you tried another livewallpaperpicker.apk from different source?
dark_prince said:
I have installed livewallpaper.apk but the livewallpaperpicker.apk gives an "Application not installed" error.
How to get em working?
P.S I am using Scoot's Cyanogen Mod 6.1
Click to expand...
Click to collapse
Is it even worth it to place live wallpapers on the screen? I assume that they must use some CPU power so you will probably experience general device slowdowns.
-Rif- said:
I'm not sure myself but how about put the apk into an androidupdate.tar inside the /system/app folder, and then apply it to your phone. You can create .tar using 7zip
or, maybe you have a bad file.. have you tried another livewallpaperpicker.apk from different source?
Click to expand...
Click to collapse
ok what I did,
1. Installed livewallpaper.apk
2. Installed Root Explorer
3. Copied livewallpaperspicker.apk to system/app directory using Root explorer
4. Installed my most favorite Live wallpaper
5. Rebooted
6. No option to chose livewallpaper in home utility menu
I even installed extra libraries I found out from a Galaxy Spica thread, still no luck.
Right now on Not So Super Froyo. Lets see if it works (I dont think so btw)
Edit: not working on NSS as well. Need that Menu enabled. Anyone can help?
I have gotten Live Wallpapers working on my device but I would generally not advise doing so..
Reason for it is there is an extreme slowdown on the device because the cpu is constantly at or near 100%. Also got a lot of FCs due to high memory usage of LWs.
Even tried overclocking CPU to 528MHz and had little to no effect.
Sent from my AT&T Tilt using XDA App
Krazy-Killa said:
I have gotten Live Wallpapers working on my device but I would generally not advise doing so..
Reason for it is there is an extreme slowdown on the device because the cpu is constantly at or near 100%. Also got a lot of FCs due to high memory usage of LWs.
Even tried overclocking CPU to 528MHz and had little to no effect.
Sent from my AT&T Tilt using XDA App
Click to expand...
Click to collapse
yeah, they create quite a drag on this hardware, even so, the wow effect lasts only for few days, after that it's just boring
I have taken and expanded on this thread.
I added the following.
Allows the phone to sleep better
ro.ril.disable.power.collapse=1
Saves power when phone is sleep
pm.sleep_mode=1
Allows your wifi to scan less, saving more battery
wifi.supplicant_scan_interval=180
Helps Scrolling Responsiveness
windowsmgr.max_events_per_sec=180
Increase overal touch responsivenss
Debug.performance.tuning=1
Video.accelerate.hw=1
Raises quality of JPEG images
ro.media.enc.jpeg.quality=90
Change the Dalvik VM heap size
dalvik.vm.heapsize=48m
Render UI with GPU
debug.sf.hw=1
I tried adding the market fixes from this thread but it doesn't seem to work on stock.
To install
rename your current build.prop in /system/ to build.prop.bak and copy this build.prop to /system/ and reboot.
Make sure the file permissions are rw-r--r-- or chmod 644
I recommend using root explorer. Below is the file permissions diagram if you use root explorer to change them.
XX0
X00
X00
All installers include a backup script as of 1-23-2012
If you have an error with the installer. Unplug your kindle wait a couple seconds and plug it back in. Make sure to eject and the sdcard from the computer and click disconnect on the kindle.
Download the automated Mac installer for stock here. | Download the build.prop for stock here.
Download the automated Mac installer for Paul's Modaco stock here.
Download the automated Mac installer for CM7 here. removed for now| Download a build.prop for kindle fire CM7 here.
If you have any suggestions please share them with me so I can add them.
If you wanna buy me a drink for my time go Here.
I'm assuming this is for stock KF firmware?
Correct this tweak is for the stock firmware.
Will this allow the market to show more apps, right now with stock build prop a lot of apps are not available
Nope. This does nothing for the Market. I don't think anyone has been successful in getting the market hacks to work yet.
Permissions?
Are you sure about those permissions? Everything I'm reading is suggesting it should be :
rw-r--r--
Or
XX0
X00
X00
I'm pretty sure. 777 is what mine was pre-editing. I am running the build.prop I have available above and it is working fine for me. I think you may be referring to the default.prop which has the permissions you listed.
Is this compatible with CM7?
Okay, I may have been mistaken. I checked the permissions of my build.prop.bak and they were listed as I posted above so I figured it should be the same. Would permissions change from renaming a file?
Also, I haven't touched default.prop.
Sent from my SGH-T959 using XDA App
I have had problems with permissions changing when moving them to the computer but not sure I'd just renaming them would do it. Are you able to check your active build.prop?
Matt V said:
Is this compatible with CM7?
Click to expand...
Click to collapse
I don't think you should use this with CM. If you want to post a link where I could download a copy of yours I will add the edits and make one for CM. Although I am sure some are already there.
northmendo said:
I have had problems with permissions changing when moving them to the computer but not sure I'd just renaming them would do it. Are you able to check your active build.prop?
Click to expand...
Click to collapse
Unfortunately I already replaced my build.prop with the one you posted. I have my permissions currently set to the same values as my .bak and have since rebooted with no issues. Should I be experiencing issues if my permissions are incorrect? Also, searching other forums (for other devices) and looking at the build.prop on my phone (Samsung vibrant) the permissions are rw-r--r--.
Sent from my SGH-T959 using XDA App
For anyone wanting to try this on CM7, don't do it because it doesn't work. In fact it turned the display 90* but still left the touch functions in the area they should be in, took me forever with playing with the buttons and a display that didn't match to get it fixed.
northmendo said:
I don't think you should use this with CM. If you want to post a link where I could download a copy of yours I will add the edits and make one for CM. Although I am sure some are already there.
Click to expand...
Click to collapse
Here's the CM7 build prop. Let me know what you can do with it and I'll give feedback.
Matt V said:
For anyone wanting to try this on CM7, don't do it because it doesn't work. In fact it turned the display 90* but still left the touch functions in the area they should be in, took me forever with playing with the buttons and a display that didn't match to get it fixed.
Click to expand...
Click to collapse
That'll be the ro.sf.hwrotation=270 setting.
tduermeier said:
Are you sure about those permissions? Everything I'm reading is suggesting it should be :
rw-r--r--
Or
XX0
X00
X00
Click to expand...
Click to collapse
You are correct, rw-r--r-- are the proper permissions for build.prop
Has anyone tried incorporating any of the Amazon build.prop stuff into ones for CM7 to see if they could get the Kindle reader application to allow you to read magazines and other documents that you have set up in the documents of the reader software? I have a few magazines that I do like to read on my Fire and would hate to give them up by switching ROMs but if that was the ONLY thing I lost I would live.
Thanks working great here on stock kindle rom rooted. Seems a bit snappier after implementing said tweaks.
neilrl79 said:
You are correct, rw-r--r-- are the proper permissions for build.prop
Click to expand...
Click to collapse
Thanks for the feedback I am going to test and change the post.
Weird, I am looking at the permissions on the build.prop listed above from CM7 and the permissions are 755.
Everyone seems to be asking for a silent camera app, also some desire one with better image/video capturing. There is one in existence however, most wouldn't know this (unless you use the 'search' function) because it's in the I9100 forum. Yes, it does work with our phone but I wanted something that was build from our source and that's up to date. I decided to take the best of both and combine them. This is the Camera.apk from Calkulin's 2.8.1 (EL29) ROM but with the edits from Potatoman's incorporated into it.
Check out Potatoman's thread to see the bitrates and sampling rates if you're curious. Instructions on how to put this in /system/app are in Patatoman's thread also. Let me know if for some reason they didn't work and I'll see what I can do. I've tested it on mine so I know it works I just haven't had a chance to test the sampling and bitrates.
Also, there's a media_profiles.xml that may or may not be useful. I use it anyway. That goes in /system/etc with no special permissions. Just give it the same as the stock one.
Lastly, in no way do I take credit for this. All I've done is combine work from two great devs - they did all the dirty work. If you'd like to thank or donate to someone then donate/thank one of them, or both
Cheers and enjoy.
EDIT: Figured I would add this here for those that aren't sure how to replace a /system file.
For a file explorer (eg. Root Explorer) make sure the system is mounted as r/w. Copy the app from your sdcard to the /system/app directory. Change permissions to rw-r-r. Reboot. I also set the owner and group to root but you shouldn't have to.
For terminal
Code:
su
mount -o remount,rw /dev/block/mmcblk0p9 /system
cp /sdcard/path/to/app /system/app
chmod 644 /system/app/Camera.apk
Reboot
Only if you have to should you just install it like a regular app. If you have to, just click on the app in your file explorer and select 'install'. This will install it to the /data/app directory. This should never have to be done though.
Just make sure you reboot
Sent from my SPH-D710 using xda premium
Thanks for the update. The higher bitrate camp.apk was posted in the theme/app section.
Excellent find... much obliged!
Sent from the last remaining Prime; Leader of the Autopads.
Didn't get it where the volume rocker takes picture though
Sent from the near past
Wait... so this particular .apk does not include the snap photo via volume rocker functionality?
I am just going by the previous post.
Sent from one impressive piece of technology.
No not yet anyway. It just has the higher bitrate and sampling rate right now. I'm new to .dex edits so I'll keep updating it as I learn more. I know there's a power button mod for it but from what I've read its still buggy.
Sent from my SPH-D710 using XDA App
KCRic said:
Everyone seems to be asking for a silent camera app, also some desire one with better image/video capturing. There is one in existence however, most wouldn't know this (unless you use the 'search' function) because it's in the I9100 forum. Yes, it does work with our phone but I wanted something that was build from our source and that's up to date. I decided to take the best of both and combine them. This is the Camera.apk from Calkulin's 2.8.1 (EL29) ROM but with the edits from Potatoman's incorporated into it.
Check out Potatoman's thread to see the bitrates and sampling rates if you're curious. Instructions on how to put this in /system/app are in Patatoman's thread also. Let me know if for some reason they didn't work and I'll see what I can do. I've tested it on mine so I know it works I just haven't had a chance to test the sampling and bitrates.
Also, there's a media_profiles.xml that may or may not be useful. I use it anyway. That goes in /system/etc with no special permissions. Just give it the same as the stock one.
Lastly, in no way do I take credit for this. All I've done is combine work from two great devs - they did all the dirty work. If you'd like to thank or donate to someone then donate/thank one of them, or both
Cheers and enjoy.
Click to expand...
Click to collapse
For noobs like me, do you just put the camera apk in your storage and install it using installer app?
Nice find! I just switched from Calkulin 2.8.1 to TNz Blend ROM and will love to have Calkulin's camera app with the Blend ROM... Best of both worlds! Will flash this tomorrow and report back.
Sent from my GT-P7510 using Tapatalk
Could not sleep so decided to install it now, not letting me though. Tried to install through the package installer but it won't go... Perhaps I cannot install it on a different ROM (running TNz Blend)
Sent from my SPH-D710 using Tapatalk
AntikytheraTech said:
Could not sleep so decided to install it now, not letting me though. Tried to install through the package installer but it won't go... Perhaps I cannot install it on a different ROM (running TNz Blend)
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
Yes you can....push to system/app....set permissions up like the other apps there....the click and install
Sent from the near past
Danial723 said:
Yes you can....push to system/app....set permissions up like the other apps there....the click and install
Sent from the near past
Click to expand...
Click to collapse
How do you set the permissions without using ADB? I only ask because I have never used it (clearly). But maybe now is the time.... :-S
Sent from my SPH-D710 using Tapatalk
AntikytheraTech said:
How do you set the permissions without using ADB? I only ask because I have never used it (clearly). But maybe now is the time.... :-S
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
You'll need a file explorer app like Root Explorer. You can also use a terminal emulator app. With the file explorer you copy the app from your sdcard to the /system/app directory. Make sure sure the system is mounted in r/w also. That will overwrite the original, now all you have to do is set permissions which are rw-r-r.
Just to be safe, reboot. If you had a shortcut for it on your homescreen you'll have to put it back there.
For terminal
Code:
su
mount -o remount,rw /dev/block/mmcblk0p9 /system
cp /sdcard/path/to/app /system/app
chmod 644 /system/app/Camera.apk
Danial723 said:
Didn't get it where the volume rocker takes picture though
Sent from the near past
Click to expand...
Click to collapse
I figured I would test to see if it had that function since Calkulin's camera does. I'm able to take pictures with the volume rocker. Are you not?
sratwars said:
For noobs like me, do you just put the camera apk in your storage and install it using installer app?
Click to expand...
Click to collapse
No,u need to put apk in /system/app folder but you need to be rooted to put apk's in that folder.
But u can try just installing it regularly,sometimes that works too for some apps.
(For noobs like me, do you just put the camera apk in your storage and install it using installer app?)
no. read instruction before replying PLEASE!
*xda_ace=spades. said:
(For noobs like me, do you just put the camera apk in your storage and install it using installer app?)
no. read instruction before replying PLEASE!
Click to expand...
Click to collapse
And read the dates before you revive a 5 month old thread PLEASE!
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