[GT-540 MOD]Make your SD Card faster ;] - GT540 Optimus Android Development

So, let's go!
1)TEMPORARY IT WORKS UNTIL REBOOT
1. run Root Explorer
2. go to /sys/devices/virtual/bdi/179:0
3. open file read_ahead_kb in editor
4. change 128(or different) to 2048
5. Save
2)PERNAMENT
I found topic with script to install via Recovery and it's PERNAMENT.
http://forum.xda-developers.com/showthread.php?t=1010807
You can check your writing&reading speed before and after this mode in program SD Tools from market.

You can do this with sd increase if you are rooted

nseris said:
You can do this with sd increase if you are rooted
Click to expand...
Click to collapse
You have to be root to edit files in /sys and /system anyway.

nseris said:
You can do this with sd increase if you are rooted
Click to expand...
Click to collapse
Editing the file is better, than the app cause, theres no APP whos asking for permissions every time you boot, and .. BLA i DONT KNOW, i think its better

VirtualVassi said:
So, let's go!
1. run Root Explorer
2. go to /sys/devices/virtual/bdi/179:0
3. open file read_ahead_kb in editor
4. change 128(or different) to 2048
5. Save
And that's everything
You can check your writing&reading speed before and after this mode in program SD Tools from market.
Click to expand...
Click to collapse
BTW. this tut was added to www.MyGT540.tk
THX man, keep that sniffing

unfortunatully its temporary, it doesn't work after reboot ;(
But I found topic with script to install via Recovery and it's PERNAMENT.
http://forum.xda-developers.com/showthread.php?t=1010807
You can test all packages, but usually the best id value 2048.

Hmm, SD Increase now has an option to make the change permanent by applying it on every boot.
http://forum.xda-developers.com/showthread.php?t=1024660
https://market.android.com/details?id=com.sdincrease.it

there is already a thread about this :
http://www.ipmart-forum.com/showthread.php?660647-SD-Increase-1.3

Related

Modify the default download location

Is it possible? Seems like it should be an easy task...
for the default browser? i dont believe there is a way. But i could be wrong.
Maybe it could be done by editing the database (I would suppose it's defined there), but what part about the default /sdcard/Download is not working for you?
Gunthy` said:
Maybe it could be done by editing the database (I would suppose it's defined there), but what part about the default /sdcard/Download is not working for you?
Click to expand...
Click to collapse
I flash the CM nightlies and when I download them I constantly have to move them from the download folder to the root of the SD card so that I can flash them in recovery. Sometimes I forget to move it and I enter recovery and then clear cache and dalvik-cache and then realize that I forgot to move the file so I waste a lot of time booting back up again!

Block OTA (Beginners guide?)

adb shell, sqllite, build prop...Any other non-tech major people around here a little lost?
I'm rooted. I don't want the new update. I can follow directions but would be more comfortable if some basic instruction were written. Treat me like I'm 10.
It looks like the best way to do this is as follows:
"From this thread:
http://forum.xda-developers.com/showthread.php?t=874871
Attached is a working sqlite3 binary.
Copy it to /system/bin
(I transfered it to my SD, then used rootexplorer (mount R/W) to copy into /system/bin))
you will now be able to edit sqlite databases on the nook itself.
--------------------------------------------------------------------------------
Attached Files sqlite3.7z (11.9 KB, 56 views)
--------------------------------------------------------------------------------
In your terminal:
$ adb pull /data/data/com.bn.devicemanager/databases/devicemanager.db devicemanager.db
$ sqlite3 devicemanager.db
sqlite> update registry set value='manual' where name='com.bn.device.fota.mode';
sqlite> .q
$ adb push devicemanager.db /data/data/com.bn.devicemanager/databases/devicemanager.db
$ adb reboot
"
Do I unzip the attached binary and paste that into the location or the .zip as a whole? What do I use as a terminal?
I've been flashing my DROID since day one but the NC development circle has been far from entry level user-friendly. Any help would be appreciated.
you can do it on windows too.
1) pull/get/copy the.db file from your phone to your pc
2) update the database file using sqlitebrowser. I.e run the sql command "update ......". Close sqlitebrowser.
3)push/put/copy the updated .db file to the same location overwriting the original.
britoso said:
you can do it on windows too.
1) pull/get/copy the.db file from your phone to your pc
2) update the database file using sqlitebrowser. I.e run the sql command "update ......". Close sqlitebrowser.
3)push/put/copy the updated .db file to the same location overwriting the original.
Click to expand...
Click to collapse
Progress. However...
I got SQLite on my PC. I found the devicemanager file on my NC, pasted it to my SD card for transfer over to my PC for editing. I trasnferred the file over to my PC for editing. I open SQLite but have no idea how to use it.
I just did this today using sqlite editor only!!! Its a GUI so it real simple to use.
1.Install the apk
2.reboot
3.go to extras and launch sqlite editor
4.allow it, give it the permision it needs
5.look for DeviceManagerService
6.click on devicemanager.db
7.click on registry
8.look for _id 7, name>>>> "com.bn.device.fota.mode"
9.scroll to the right and click and hold value field "auto", until a little pop up shows and select edit field
10. Change the value from auto to manual
11. Save
Done!!!
If you need the apk here is a link I just made
?d=LTSQDZ65 for megaupload (sure u guys can piece it together!)
Let me know if it helped anyone!
Yes, we totally need another thread on this. I must note that pushing the build.prop in my thread and my two Nook Colors have not updated. Dunno about this method or others. Caveat emptor!
This is exactly what I was looking for. Thank you. Very simple.
Sent from my NC using XDA App
Thanks for breaking it down for us, nookme.
Do we need to do this if we are operating from an SD bootable Froyo or CM7 ROM?
tablo said:
Thanks for breaking it down for us, nookme.
Do we need to do this if we are operating from an SD bootable Froyo or CM7 ROM?
Click to expand...
Click to collapse
In theory it should work for both, whether its a soft root mod or simply a bootable sd card that emulates froyo... It's a matter of just having root access and changing a registry setting on the device itself. Hope this shines some light! happy rooting ppl
Not noobie enough for me, sigh
So, if I have followed these directions from an earlier post have I messed something up? Not blocked updates at all? I don't understand the directions in this thread. What happens if I don't block the update? There must be a lot of people like me who had the technical skills to manage the root process but don't understand all of your coded instructions. I read in another thread that I should do a Titanium backup. How does that help after an update? Will market aps that have already been downloaded still work? Will everything revert to stock? Could someone explain what we should expect? Thanks!
To disable OTA (over the air) updates:
Change the name of this file: otacerts.zip to anything else
To do this, get root explorer ($3) from the market
Run root explorer
Go to etc/security/otacerts.zip
Hit the little mount button near the top to change r/w to r/o
Rename the file otacerts.zip to otacerts.zip_DISABLED_OTA_UPDATES
Hit the little mount button again to change r/o back to r/w
Droiddict said:
So, if I have followed these directions from an earlier post have I messed something up? Not blocked updates at all? I don't understand the directions in this thread. What happens if I don't block the update? There must be a lot of people like me who had the technical skills to manage the root process but don't understand all of your coded instructions. I read in another thread that I should do a Titanium backup. How does that help after an update? Will market aps that have already been downloaded still work? Will everything revert to stock? Could someone explain what we should expect? Thanks!
To disable OTA (over the air) updates:
Change the name of this file: otacerts.zip to anything else
To do this, get root explorer ($3) from the market
Run root explorer
Go to etc/security/otacerts.zip
Hit the little mount button near the top to change r/w to r/o
Rename the file otacerts.zip to otacerts.zip_DISABLED_OTA_UPDATES
Hit the little mount button again to change r/o back to r/w
Click to expand...
Click to collapse
If you read this >> http://forum.xda-developers.com/showthread.php?t=1007551
you will see that the sqlite method is used by many and is the simplest way too, again this is a GUI, so no shell command line... How can this be difficult??
Just follow my steps... it works
I have had nothing but problems with my rooted NOOK Color due to B&N auto updates. I followed your instructions and now I hope my problems are resolved and my NOOK Color will never update again.
Thank you

Is there any way of modding cpuinfo_max_freq without custom kernel?

Is there any possibility of modding /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq without modding the kernel?
Just in case you don't know, cpuinfo_max_freq is the file that limits the maximum processor speed to 1000mhz.
cpuinfo_min_freq is the one that limits the minimum processor speed to 100mhz (i've no interest in modding that file).
I know i can acquire this with a custom kernel or by modding one myself, but i'd like to know if there's any way of doing this other than with a custom kernel.
Tried using root explorer and change permissions to write too apart from read and then modding, without success.
Tried changing permissions using root explorer and then using an init.d script
Tried a few more things, but so far none have worked.
Thanks
You did everything correct but one thing more open root explorer.
# Go to desire file (make sure you have it on rw)
# Now press and hold the file
# a menu will popup
# go to open in text editor and you can edit it
Enjoy
i have just tried it.. normally when i change any system file with text editor, i click on "save&exit" and it says it is saved and the original file is named as xxxxxxx.bak..
but this time there is no .bak file and the original file is not changing.. i write 1200000 but when i try to open it again it turns back into 1000000 ...
kkube said:
You did everything correct but one thing more open root explorer.
# Go to desire file (make sure you have it on rw)
# Now press and hold the file
# a menu will popup
# go to open in text editor and you can edit it
Enjoy
Click to expand...
Click to collapse
Tried that too. Root explorer says it's modded it but if you open it again, no change has been applied
Apparently, it's read only even after changing permissions.
or that file is modified by something else all the time.. obviously we have to change something else before that..
_delice_doluca_ said:
or that file is modified by something else all the time.. obviously we have to change something else before that..
Click to expand...
Click to collapse
The kernel. Just wanted to find out if there was another way, it'd be much simpler than modding a kernel. It seems there isn't
Just a trial idea, copy that file to as card, then edit it. See if it saved then, then rename old one as xxxx.bak and paste the edited file there.
I can't do it as I am on a custom kernal and i am able to change it as I said.
Check it out and tell if that's any help
Sent from my GT-I9000 using XDA Premium App
coldflid said:
Is there any possibility of modding /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq without modding the kernel?
Just in case you don't know, cpuinfo_max_freq is the file that limits the maximum processor speed to 1000mhz.
cpuinfo_min_freq is the one that limits the minimum processor speed to 100mhz (i've no interest in modding that file).
I know i can acquire this with a custom kernel or by modding one myself, but i'd like to know if there's any way of doing this other than with a custom kernel.
Tried using root explorer and change permissions to write too apart from read and then modding, without success.
Tried changing permissions using root explorer and then using an init.d script
Tried a few more things, but so far none have worked.
Thanks
Click to expand...
Click to collapse
Its impossible, i tried this command on terminal: echo 1800000 > /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq it says permission denied (i was su)
Use Tegrak Overclock
Edit System Files
I have the same problem
think you have to edit the init.rc file

[Q] any way to get shot ?

is there any way to get shot of the auto screen brightness on my X8?
it really annoys me because i have the brightness turned upto full but the screen will only go at its brightest when its in high lighting conditions (obviously).
but i want it so its at its full brightness like its in bright lighting conditions. i dont care about battery life, i have 3 spare batteries for my X8.
so is there any way to disable it at all with hacks and stuff. the phone still has its original Android 2.1 on but is rooted to use a custom launcher.
Yea,just if u use a camera or something.
The brightness will not be seen if u just make a screen shot.
Sent from my E15i using xda app-developers app
Vega_Dan said:
is there any way to get shot of the auto screen brightness on my X8?
it really annoys me because i have the brightness turned upto full but the screen will only go at its brightest when its in high lighting conditions (obviously).
but i want it so its at its full brightness like its in bright lighting conditions. i dont care about battery life, i have 3 spare batteries for my X8.
so is there any way to disable it at all with hacks and stuff. the phone still has its original Android 2.1 on but is rooted to use a custom launcher.
Click to expand...
Click to collapse
if you mean that you want to get rid of auto brightness then follow this procedure:
open root explorer
go to system folder
then go to lib
then hw folder
lights.shakira.so delete this module
---------- Post added at 10:13 AM ---------- Previous post was at 09:53 AM ----------
you appropriate title next time...
i saw [Q] any way to get shot ?
and i was like what this person is trying to ask.... simply use a gun
CnC-ROCK said:
if you mean that you want to get rid of auto brightness then follow this procedure:
open root explorer
go to system folder
then go to lib
then hw folder
lights.shakira.so delete this module
---------- Post added at 10:13 AM ---------- Previous post was at 09:53 AM ----------
you appropriate title next time...
i saw [Q] any way to get shot ?
and i was like what this person is trying to ask.... simply use a gun
Click to expand...
Click to collapse
root explorer? whats that. i have OI file manager.
but found them folders and this is what i have in the HW folder:
copybit.msm7k.so
gralloc.default.so
gralloc.msm7k.so
hal_seport.default.so
lights.default.so
sensors.default.so
deleted..double post
this...extract and copy these files and replace all the files in your hw folder with these.... and can you attach a copy of your hwconfig.sh here?
CnC-ROCK said:
this...extract and copy these files and replace all the files in your hw folder with these.... and can you attach a copy of your hwconfig.sh here?
Click to expand...
Click to collapse
how can i access that folder when its not on SD card ?
Vega_Dan said:
how can i access that folder when its not on SD card ?
Click to expand...
Click to collapse
copy these to sd card...then use the file manager to copy it to that folder.....you wont get that folder on SD...that folder is in internal...so you have to copy it through your sd card..or adb push it.you better use sd card
CnC-ROCK said:
copy these to sd card...then use the file manager to copy it to that folder.....you wont get that folder on SD...that folder is in internal...so you have to copy it through your sd card..or adb push it.you better use sd card
Click to expand...
Click to collapse
and this will set my screen to maximum brightnes as if im in bright light conditions?
Vega_Dan said:
and this will set my screen to maximum brightnes as if im in bright light conditions?
Click to expand...
Click to collapse
it will fix the auto brightness problem... then from settings set it to max.....what settings give you is the max brightness...
you said you wanted to get rid of the trouble giving auto brightness.....ofcourse cause is still unidentified...a copy of hwconfig.sh please
CnC-ROCK said:
it will fix the auto brightness problem... then from settings set it to max.....what settings give you is the max brightness...
you said you wanted to get rid of the trouble giving auto brightness.....ofcourse cause is still unidentified...a copy of hwconfig.sh please
Click to expand...
Click to collapse
i put the files onto SD card but i cannot copy or move them to the system/lib/hw folder. when i go to move them and select to go to phone directory, the folders dont show so i entered the path and it says it cant move them.
buy if i just brows and go to phone directory i can get to the system/lib/hw folder.
Vega_Dan said:
i put the files onto SD card but i cannot copy or move them to the system/lib/hw folder. when i go to move them and select to go to phone directory, the folders dont show so i entered the path and it says it cant move them.
buy if i just brows and go to phone directory i can get to the system/lib/hw folder.
Click to expand...
Click to collapse
you copy them to sd ...then unmount...then use a file manager with root access like root explorer.. google for apk..i cant provide since it will be warez...then copy them from sd ...go to the folder then mount as R/W ..delete already present files and paste them there....
try with root explorer...
and i need a copy of your HWCONFIG.SH... you ever gonna upload it?
CnC-ROCK said:
you copy them to sd ...then unmount...then use a file manager with root access like root explorer.. google for apk..i cant provide since it will be warez...then copy them from sd ...go to the folder then mount as R/W ..delete already present files and paste them there....
try with root explorer...
and i need a copy of your HWCONFIG.SH... you ever gonna upload it?
Click to expand...
Click to collapse
im just going to leave it because i haven't a clue what i am doing here.
Vega_Dan said:
im just going to leave it because i haven't a clue what i am doing here.
Click to expand...
Click to collapse
thanks for your help though.

Swip sd card on XPERIA ZR android 4.4.4

its a script to swap sd card and works on XPERIA ZR 4.4.4
1. Get root
2. download busybox from playstore and install it (skip this if ur having dual recovery installed )
3. download Universal Init.d from playstore and activate and verify
4. Format external sdcard into FAT32. Don't forget to backup your files!
5. Create a folder name 0 on ur sdcard
6. move all data from your internal storage to the 0 folder in your sd card
7. download and extrat the file to system/etc/init.d
9. Set permissions with all 9 ticks
10. Reboot
Don't pay attention to info in Settings > Storage. It's incorrect.
Just check using any file manager
Any body have tried this?
nzeetech said:
its a script to swap sd card and works on XPERIA ZR 4.4.4
1. Get root
2. download busybox from playstore and install it
3. download Universal Init.d from playstore and activate and verify
4. Format external sdcard into FAT32. Don't forget to backup your files!
5. Create a folder name 0 on ur sdcard
6. move all data from your internal storage to the 0 folder in your sd card
7. download and extrat the file to system/etc/init.d
9. Set permissions with all 9 ticks
10. Reboot
Don't pay attention to info in Settings > Storage. It's incorrect.
Just check using any file manager
Click to expand...
Click to collapse
I have been searching for this from last one month. But i just want to know if it really works on Official CM11 [4.4.4].
it works on Official CM11 [4.4.4] i tested and no have bugs or error on CM, i put a big game on the obb folder and its works all apps from store intal on the sd so try on others roms but in CM works thax to the creators
I tried this method but when i excute the script my device rebot autmaticlly and did not want to open again i flashed a new stock rom again to make it work ... any help .. sorry for my bad english
Hudson118 said:
I tried this method but when i excute the script my device rebot autmaticlly and did not want to open again i flashed a new stock rom again to make it work ... any help .. sorry for my bad english
Click to expand...
Click to collapse
Try the rebootfix before installing the script
Bootloop
Something went wrong and got stuck in bootloop, had to start the whole thing right from the begining(xperifirm-flashtool and so on.)..
Hope the reboot fix works.
Anyone else who have tried this?
Any other methods to follow?
plz give some screenshot :/ for universal int.d
Does this Work on lollipop?
rabe3ab said:
Does this Work on lollipop?
Click to expand...
Click to collapse
I think not.

Categories

Resources