hi i installed the AC!D audio engine en the last step i must do is rename dspmanager.apk to dspmanager.txt
but i cant change it ma system is not mounted as read and write
i tryde to do it with terminal emulator and typed
mount-o remount,rw / system
but then he said mount-o not found??
what to do
then i downloaded an app from the playstore called mount / system (rw/ro)
and it also dont work the app says its mounted but still i cant change
Just using the 3rd party applications. You can choose between root explorer (paid) or somekind free application like root browser. Both of them have the ability to change the system permission from r/o (read only) to r/w (read & write)
Sent from my GT-I8150 using xda app-developers app
download root explorer..and press mount r/w..before download you must root your phone.
Sent from my GT-I8150 using xda premium
it's mount -o (there's a space in there), not mount-o
-- GT-I8150 + DXKL1 + CM9b3 + xda --
Cheers! This is my first thread. Hopeful i'm not reposting similar thread.
I will tell you how to create swap file for our W. Anyway, swap file works like swap partition. It can help your RAM for improve our W performance.
1. Root your phone
2. Install Superuser
3. Install Busybox
4. Install Terminal Emulator
If you are using CM10 from arco, that's mean you don't need to follow first 4 steps.
5. Open Terminal Emulator
6. Change directory to external sd card (external is recomended, because we won't take some spaces on internal sd card)
Code:
[email protected]:~$ su
[email protected]:~# cd /external_sd
7. Create swap file under external_sd directory. I will create 512MB swap file. If you wanna create other size of swap file, just change value of count. 512 is recomended.
Code:
[email protected]:/external_sd# dd if=/dev/zero of=swapfile bs=1M count=512
8. Set the right permissions (a world-readable swap file is a huge local vulnerability)
Code:
[email protected]:/external_sd# chmod 600 swapfile
9. After creating the correctly-sized file, format it to swap:
Code:
[email protected]:/external_sd# mkswap swapfile
10. Activate the swapfile:
Code:
[email protected]:/external_sd# swapon swapfile
11. Check your swap, whether is work or not.
Code:
[email protected]:/external_sd# free -m
Check your swap, if the value exactly like your value on 7th step, then you did it!
Any question? Just ask here.
You did it? Why U No hit thanks button?
This does not create a partition right? Just a swap file.. Like the paging file in windows?
My only concern is does it really help that much? What I mean is a user noticeable difference. Also would it make the lifespan of the SDcard shorter? Higher the class of the card, the better it is???
I have never done swap on my older phones and I really would like to do it if it makes a whole a lot of difference in terms of usage.
Also can you also let us know how to revert back in case one does not like it? Just delete the file?
Thanks for your answer in advance.
[/QUOTE]
thearif said:
This does not create a partition right? Just a swap file.. Like the paging file in windows?
Click to expand...
Click to collapse
No, it does not.
Yes, somewhat similar.
thearif said:
My only concern is does it really help that much? What I mean is a user noticeable difference.
Click to expand...
Click to collapse
Totally depends on your usage pattern.
thearif said:
Also would it make the lifespan of the SDcard shorter?
Click to expand...
Click to collapse
Yes, probably. That's why you shouldn't create a swapfile anywhere but the External SD.
thearif said:
Higher the class of the card, the better it is???
Click to expand...
Click to collapse
Of course.
thearif said:
Also can you also let us know how to revert back in case one does not like it? Just delete the file?
Click to expand...
Click to collapse
Reboot, then delete the file.
Sent from my GT-I8150 using xda app-developers app
Boosting Perfomance?
RezaBeye said:
Boosting Perfomance?
Click to expand...
Click to collapse
Totally depends on your usage pattern.
Sent from my GT-I8150 using xda app-developers app
omegahanggara said:
Cheers! This is my first thread. Hopeful i'm not reposting similar thread.
I will tell you how to create swap file for our W. Anyway, swap file works like swap partition. It can help your RAM for improve our W performance.
1. Root your phone
2. Install Superuser
3. Install Busybox
4. Install Terminal Emulator
If you are using CM10 from arco, that's mean you don't need to follow first 4 steps.
5. Open Terminal Emulator
6. Change directory to external sd card (external is recomended, because we won't take some spaces on internal sd card)
Code:
[email protected]:~$ su
[email protected]:~# cd /external_sd
7. Create swap file under external_sd directory. I will create 512MB swap file. If you wanna create other size of swap file, just change value of count. 512 is recomended.
Code:
[email protected]:/external_sd# dd if=/dev/zero of=swapfile bs=1M count=512
8. Set the right permissions (a world-readable swap file is a huge local vulnerability)
Code:
[email protected]:/external_sd# chmod 600 swapfile
9. After creating the correctly-sized file, format it to swap:
Code:
[email protected]:/external_sd# mkswap swapfile
10. Activate the swapfile:
Code:
[email protected]:/external_sd# swapon swapfile
11. Check your swap, whether is work or not.
Code:
[email protected]:/external_sd# free -m
Check your swap, if the value exactly like your value on 7th step, then you did it!
Any question? Just ask here.
You did it? Why U No hit thanks button?
Click to expand...
Click to collapse
Good evening,
when i put command "[email protected]:/external_sd# mkswap swapfile" phone give following message:
"image is too small"
can i continue??
Tks in advance
moonwonder said:
Good evening,
when i put command "[email protected]:/external_sd# mkswap swapfile" phone give following message:
"image is too small"
can i continue??
Tks in advance
Click to expand...
Click to collapse
Please post here the result of the 'ls -la' command in the directory where you created your swapfile.
Sent from my GT-I8150 using xda app-developers app
R: [HOW TO] Create Swap File For Galaxy W
in attachment.
tks
Sent from my GT-I8150 using xda app-developers app
R: [HOW TO] Create Swap File For Galaxy W
moonwonder said:
in attachment.
tks
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
i'm seeing that file size is 512 byte and not Mbyte...
Sent from my GT-I8150 using xda app-developers app
moonwonder said:
in attachment.
tks
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Have you installed the latest Busybox by Stericson?
R: [HOW TO] Create Swap File For Galaxy W
resolved:
changing count number on 'dd' function. (from 512 to 536870919)
i suppose that my busybox don't support byte size (bs=1M)
tks.
Sent from my GT-I8150 using xda app-developers app
moonwonder said:
resolved:
changing count number on 'dd' function. (from 512 to 536870919)
i suppose that my busybox don't support byte size (bs=1M)
tks.
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
You should instead try changing bs=1M to bs=$((1024*1024))
Reason: Flash memory works in blocks. bs is the amount of data being written at a time. If you write 1 byte at a time, you're writing thousands of times to the same block, which not only makes the process slower, but also shorten the life of your Flash memory (because, appending 1 byte requires a cycle of: read the whole block, add one byte, write back the whole block).
The largest Flash memory block size I can ascertain from specs on the Internet is 128 KiB. Thus, bs=$((1024*1024)) would be suitable (1 MiB is an integer multiple of 128 KiB).
If your dd doesn't support the bs parameter at all, you really should replace it with one that does.
Sent from my GT-I8150 using xda app-developers app
R: [HOW TO] Create Swap File For Galaxy W
thanks!!!
now i understand reason that the time for swap creation was about 3 hours...ahahaha
in attachment my new swap!
Sent from my GT-I8150 using xda app-developers app
moonwonder said:
thanks!!!
now i understand reason that the time for swap creation was about 3 hours...ahahaha
in attachment my new swap!
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
LOL... with bs=$((1024*1024)), I took only about 1.5 minutes:
Code:
[email protected]:/ $ cd sdcard
ro of=tes.fil bs=$((1024*1024)) count=512 <
512+0 records in
512+0 records out
536870912 bytes transferred in 86.185 secs (6229284 bytes/sec)
[email protected]:/sdcard $
Sent from my GT-I8150 using xda app-developers app
I followed a thread to make an ext2 partition (about 1 GB, unfortunately couldn't make it divisible by 256)
then read this thread and another one so i created a swapfile in that partition ( data/sdext2/ ) . now i have a couple of question about the swapfile
1.is that line important & why ??
omegahanggara said:
8. Set the right permissions (a world-readable swap file is a huge local vulnerability)
Code:
[email protected]:/external_sd# chmod 600 swapfile
Click to expand...
Click to collapse
it's not present in pepoluan's code
pepoluan said:
To create a swap RAM:
Code:
su
targ=/mnt/sdcard/.swapfile
dd if=/dev/zero of=$targ bs=$((1024*1024)) count=64
mkswap $targ
Click to expand...
Click to collapse
2. for heavy games, which is more recommended : 256 or 128 MB swapfile, pep said 64 which will b a bummer for me
pepoluan said:
I have experimented *a lot* with swap memory, and I can tell you with absolute confidence:
Swap files larger than 64 MiB *will* result in additional lags. Larger than 128 MiB, your phone will be very slow.
To activate, you don't need to reboot.
Go to the Terminal and enter the command:
cd /mnt/sdcard
ls .*
(replace "sdcard" with the actual location of where you created the swap file, of course)
Click to expand...
Click to collapse
one last thing : is the ls.* code different from the swapon code or they r the same ??
I made an sh file for this and placed it in init.d coz i want it to automatically run when the system boots. However it didn't work.
So for now i just placed it in /system/bin so that i only need to type enable_swap in the terminal.
Any way to make it work in init.d?
Any Answer ???
klacenas said:
I made an sh file for this and placed it in init.d coz i want it to automatically run when the system boots. However it didn't work.
So for now i just placed it in /system/bin so that i only need to type enable_swap in the terminal.
Any way to make it work in init.d?
Click to expand...
Click to collapse
I assume you put the swap file in /sdcard ?
The first partition of the SD Card does not get mounted until all scripts in init.d have finished. I'm experimenting with Stericson's new BusyBox, which includes the 'nohup' command.
Sent from my GT-I8150 using xda app-developers app
pepoluan said:
I assume you put the swap file in /sdcard ?
The first partition of the SD Card does not get mounted until all scripts in init.d have finished. I'm experimenting with Stericson's new BusyBox, which includes the 'nohup' command.
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Yes I put it in sdcard. Thanks for the explanation. Please share if you succeed.
Edit: if its not possible through init.d, is there another way of automatically executing a script after init.d?
Sorry not really a Linux person, I'm more familiar with autoexec.bat
Sent from my GT-I8150 using xda app-developers app
klacenas said:
Yes I put it in sdcard. Thanks for the explanation. Please share if you succeed.
Edit: if its not possible through init.d, is there another way of automatically executing a script after init.d?
Sorry not really a Linux person, I'm more familiar with autoexec.bat
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Install SManager, add the script as a boot script. Boot scripts run using SManager always run after SD Card mounts.
Sent from my GT-I8150 using xda app-developers app
Hi, is it possible to change the bluetooth MAC address somehow?
I tried changing sys\module\htc_bdaddress\parameters\bdaddress. It showed the new address in the settings, but still used the old one. After a reboot it went back to the original one. Does anyone know a way to make a permanent change? Any help would be greatly appreciated.
Try using a script in init.d folder in /system/etc/init.d
I use this way to set cpu speeds and the governers even without a cpu controlling app (setcpu, cpu master).
Sent from my HTC Desire Z using xda app-developers app
You can copy with dd your efs partition and make your changes there and use dd to place the new one in, should work but I never tried
Just be sure to keep an orginal
Sent from my Nexus 4 using XDA Premium 4 mobile app
Thanks for the replies, but I still have a question. Where can I find this efs partition?
/dev/block/mmcblk0p13
/dev/block/mmcblk0p14
You can dd these and edit, be careful using dd commands
Simple way is with adb shell
cd /efs
tar cf /sdcard/efs-backup.tar*
Then make changes but keep copy
Now with new
cd /efs
tar xf /sdcard/efs-backup.tar
Sent from my Nexus 4 using XDA Premium 4 mobile app
In adb shell when I type "cd /efs" I get a "No such file or directory" error.
I found this script somewhere else:
adb shell
su
dd if=/dev/block/mmcblk13 of=/sdcard/efs13.rfs
dd if=/dev/block/mmcblk14 of=/sdcard/efs14.rfs
This way I managed to save them, but I'm not sure if this is what I need if I want to edit them. Is there an other way of getting them in .tar format?
hi guys,
i managed to flash CM11 and tried to do the sd fix using the following link:
http://forum.xda-developers.com/showpost.php?p=48243682&postcount=19
the thing is, when trying to run fuse-mountsd.sh from terminal, i notice that there's an error stating:
ERROR: Root access was DENIED!
Please grant ADB Shell root access!
hope that you guys can help.
I flashed the zip from recovery and it worked fine.
Sent from my LG-E980 using XDA Premium 4 mobile app
Did you type su before typing the command?
I was getting the same error
Flashed zip
Open terminal
Typed su
Granted root access
Types fuse-mountsd.sh hit enter
Then error about root access.. Gave up and went back to madmacs CM11,build SD card mounts fine.
Sent from my LG-E980 using xda app-developers app
bqd37340 said:
Did you type su before typing the command?
Click to expand...
Click to collapse
yep, but still got error.
esimon311 said:
I was getting the same error
Flashed zip
Open terminal
Typed su
Granted root access
Types fuse-mountsd.sh hit enter
Then error about root access.. Gave up and went back to madmacs CM11,build SD card mounts fine.
Sent from my LG-E980 using xda app-developers app
Click to expand...
Click to collapse
same goes to me. after trying for an hour, decided to flash vanir instead.
I just flashed the zip and SD card was there. Maybe my wrong method worked for my phone.
Sent from my LG-E980 using XDA Premium 4 mobile app
whenever i tried to change any values in build.prop there comes an error... but i copy it in memory card then editing and replacing is possible in system files... attaching the screenshot
Sent from my HM 1S using XDA Premium 4 mobile app
1st please use Q&A thread for questions rather than creating a thread !!
You have to go through File manager settings and grant Root permission !!
permissions are set as superuser already... still same error..
Sent from my HM 1SW using XDA Premium 4 mobile app
Use ES File Explorer and grant Root (By sliding Left and Switch ON Root Explorer )
And Grant ROOT forever and try editing with the App navigating build.prop
aliennastik said:
whenever i tried to change any values in build.prop there comes an error... but i copy it in memory card then editing and replacing is possible in system files... attaching the screenshot
Sent from my HM 1S using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Open terminal & type,
Code:
su
chmod 777 /system/build.prop