[Q] Can't edit battery scripts on Calk's 1.5 - Samsung Epic 4G Touch

I have just got up and running well with Calks 1.5 and want to change the battery script in /system/etc/init.d to let me have full speed until 50% battery rather than 85%. I can't get anything to save my changes though. I have tried Root Explorer, Astro and ES File Explorer and they all fail to save. I have used Root Explorer to change the permissions so that the file is writeable by all, and mounted the directory as r/w, but no dice. Can someone give me a clue where I am going wrong please?

I had the same issue and just ended up doing it from the command line using ADB.

Related

[Q] How To Make a .txt file?

I tried searching and didnt find what I was looking for
Can someone explain how to make a .txt file? I was wanting to modify my power widgets in MikFroyo and I am lost as to what program to use to make it. Thanks for the help
You can use any word processor, the easiest one is probably notepad or wordpad. When you save the file make sure to select .txt as the file type
If you mean on your phone, get es file explorer from the market. Then you just hit: menu new and name it with a .txt at the end of the file name
Ok, so I got how to make the .txt file but using ES file explorer it wont let me paste/move it into the system>customize directory... It just says "copy failed"...
Also, the permission set on the existing widget.txt file are set to read only so I cant just modify that one...
I got it to copy one time and upon reboot the phone stuck at the white HTC EVO screen.. had to android back to pre-messed up copied file...
Anybody already done this and know what I'm missing?
The reason it is not copying is because the system is mounted read only.you can try going into settings in es and go to root options at the bottom. Those options don't work on all roms but you can check it out and see. Mount as read write and then you should be able to copy to system
elegantai said:
The reason it is not copying is because the system is mounted read only.you can try going into settings in es and go to root options at the bottom. Those options don't work on all roms but you can check it out and see. Mount as read write and then you should be able to copy to system
Click to expand...
Click to collapse
Alright, so I used the "experimental" feature to copy the .txt file into the system>customize directory and it actually worked, I have my power widgets the way I want them now..
But, I tried it again a little bit ago and ES file Exlp wouldnt let me use that feature... It kept saying that "mounting failed, this feature wont work on your phone."... Any idea what's up with that?
thanks for the help BTW

[Q] How do I install a bootanimation?

Ahoy! Simply put, I'd like to install a new boot animation on my rooted HTC Desire HD running Android Revolution HD 3.0.
I've searched how to do this but I don't exactly understand.
I understand that I can 'push' the new bootanimation.zip to data/local via ADB, but some guides/installation tutorials have simply said 'copy bootanimation.zip to data/local.'
I'd much prefer to be able to simply copy the .zip to data/local and not have to deal with ADB as I have not yet used it, but how do I do this? Am I misunderstanding?
I thought 'copy to data/local' would be as simple as using for example, Astro File Manager and copying the new bootanimation.zip from my SDcard to data/local, however there is no 'local' folder inside of the 'data' folder and the option to create a new folder is greyed-out.
Long story short:
What's the simplest method of installing a bootanimation?
Can I simply 'copy bootanimation.zip to data/local?' If so, how?
If I have to use ADB to install the bootanimation, what is the exact process of doing this?
I'm sure this has been asked before, but my searches confused me more than cleared anything up. Thank you for any help in advance!
You need a program like root explorer(es file explorer with root access should work too) for the copy/paste method because the bootanimation.zip isn't stored at your sd card but at the phones internal memory.
At the root of your phone you should see folders like sdcard, dev, root and many more. One of them is called data. In this folder there is one called local. There should be a file called bootanimation.zip. just replace this file with your bootanimation.zip.
Normally it can't damage your phone when your bootanimation has a wrong format or whatever. If the new file is broken, you'll get a black screen instead of an animation but the phone will boot anyway
Sent from my Desire HD using Tapatalk
I see the folder you're talking about in both Astro and ES File Viewer, but this 'data' folder is empty by default. There's no bootanimation.zip and there's no 'local' folder.
I'm confused.
take a look at /system/media
Denavar said:
I see the folder you're talking about in both Astro and ES File Viewer, but this 'data' folder is empty by default. There's no bootanimation.zip and there's no 'local' folder.
I'm confused.
Click to expand...
Click to collapse
Use ES File Explorer, and make sure that you enable root mode in settings. Use hiapk mode. Also remount /system and /data, that option is also in the settings.
jkoljo said:
Use ES File Explorer, and make sure that you enable root mode in settings. Use hiapk mode. Also remount /system and /data, that option is also in the settings.
Click to expand...
Click to collapse
Thank you. This worked perfectly. I wasn't aware I needed to do this. Thanks again.
Edit: I've encountered another problem. Whenever I now attempt to access my SD card via ES File Explorer, I get the error "SD Card Unmounted or not present." How do I rectify this? It works fine in Astro.
Edit 2: I attempted to unmount /system and /data simply by unticking the option in ES (i'm really only just starting to delve into this sort of thing now and don't know what I'm doing.) and it says 'failed to mount'. How do I fix this also? ;P
Edit 3: Re-installing ES File Explorer fixed the above two issues, but I assume it will do the exact same thing again. For the time being and a short fix, is re-installing the app each time OK? I don't exactly know what 'failed to mount' or 'SD Card unmounted or not present' errors mean. I get the idea, but I'm not sure if they're really doing any damage.
I found my original boot animation in '/system/customize/resource/' and replaced with a custom one. Worked!

Root Explorer Error

I just unlocked, rooted and restored all files in my nexus. I went into root Explorer to delete unwanted files and am getting a delete failed error every time I try to delete a file. Also my screen shots are no longer saving it says storage is in use. Anybody experience anything like this after rooting?
Sent from my Galaxy Nexus
Marcg23 said:
I just unlocked, rooted and restored all files in my nexus. I went into root Explorer to delete unwanted files and am getting a delete failed error every time I try to delete a file. Also my screen shots are no longer saving it says storage is in use. Anybody experience anything like this after rooting?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Are you trying to delete system files? Do you have SU installed? Are you clicking the R/W option. More details please.....
Several people have reported the issue with screen shot, to fix it they've had to rename the pictures folder(Seems like the folder is read only).
Swiftkey'ed on my CM9 Galaxy Nexus
No system files just old pictures, music files and other misc. It is set as r/w, also I am getting a few apps saying I need storage available that is writable. Something has to be up with the internal storage not allowing me to access or write to it.
Sent from my Galaxy Nexus
Well I am able to take screen shots by renaming he folder. However, I am still unable to write anything to my sdcard or modify files through root Explorer or any other file manager app.
Sent from my Galaxy Nexus
Root explorer - How to text edit
Hi All,
I have a problem with my root explorer. I am not able to open a file to edit. If i long press on a file , i dont get any option to open/edit the file.
i was supposed to edit gps.conf file under /system/etc but unable to do so from root explorer.
PS: i mount r/w from the root explorer every time i try..
Please help.
If you have any directories/files that you can't modify or delete, then boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *
root explorer delete failed
danger-rat said:
If you have any directories/files that you can't modify or delete, then boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *
Click to expand...
Click to collapse
i'm having this crazy "delete failed" error every time i try to delete any file in sdcart, external, and root directory (copy-paste, root, permissions works fine )
i tried to delete any remains of root explorer with es file explorer ((which works fine btw so its not a problem of partitions i think), re installed the program again but its the same . Flashed the rom from the beginning with a full wipe but its the same
this error happened first when i updated from blackmart alpha to some rootexplorer v.99. I uninstalled that but it left this error
Any idea what is causing that
I'm very curious and would appreciate it
thanks
I found a way to delete the files you suggest using Root Explorer. Go into /data/media/<navigate to the directory that you want to delete files>.. make sure the folder is mounted as r/w and delete the files you want to delete. This is how I bypassed the delete failed issue in Root Explorer...
rester555 said:
I found a way to delete the files you suggest using Root Explorer. Go into /data/media/<navigate to the directory that you want to delete files>.. make sure the folder is mounted as r/w and delete the files you want to delete. This is how I bypassed the delete failed issue in Root Explorer...
Click to expand...
Click to collapse
^^^^ this
Thank you rester, this worked for me too. Was pulling my hair out.

How to edit hw_config?

Ive been trying to edit hw_config.sh file to remove the led backlight on my arc. Im using the latest CM10 fxp150.
However every time i try editing the file using root explorer or es file explorer they create a backup-file (as they should), but the original file ends up being empty of script.
Does anyone know what im missing?
monty1234 said:
Ive been trying to edit hw_config.sh file to remove the led backlight on my arc. Im using the latest CM10 fxp150.
However every time i try editing the file using root explorer or es file explorer they create a backup-file (as they should), but the original file ends up being empty of script.
Does anyone know what im missing?
Click to expand...
Click to collapse
Navigate to Sys/Class/Leds/Button-Backlight and Change brightness and max_current to 1
. Save.
Now go to System/etc and open hw_config. Now Scroll down a bit and change Max_current to 1, too. Reboot.
If Backlights are not Blinking it Works

[Q] Unable to Edit System Files Using any File Explorer

So this is a problem I've had basically since day one with my Nexus 7. No matter what file explorer I use, I can not edit anything in the root directories. Unable to save build.prop edits for example. I am assuming it is a permission thing but I have no idea exactly what I am doing wrong or how to fix it. Any help is appreciated.
Sent from my Nexus 7 using Tapatalk
Are you rooted? If you are - check to see if you are in read only mode in your file manager(s)
Besides requiring root, apps like ES File Explorer need to have root access turned on. Root Explorer needs a directory mounted as R/W.
Best practice, anyway, is to copy a file (especially build.prop) to a regular directory under /sdcard, edit it there, rename the original, then copy back the modified file.
I managed to figure it out. Was using cm file explorer and root browser. Got root browser working by changing permissions on the system folder.
I always copy files into the internal storage before editing. Thanks for the replies.
Sent from my Nexus 7 using Tapatalk

Categories

Resources