Hi, has anyone succeded to run battery charge limiter (link) or something similar? i'd like to keep my z300c as a smart calendar+spacedesk next to my laptop, but cannot find the proper charger control file.
what i foud out is that there is a file in sys/class/power_supply/ac/device that is called charge_status, and as expected the content of the file is 0 while not plugged and 1 while plugged. i tried to set that as ctrl file but nothing changed, then i noticed that it has only read permissions, tried to set rwxrwxrwx so that the app could edit the file but changing the permissions bugged my system ui and forced me to reboot. after booting the permissions of the file are reset into r--r--r--. Is this the problem?
Related
I posted this all int eh captive section >.< but thought I would put it here in case the other vibrant users would like to know this...
I found the hard way of change the startup sound and shutdown sound, which can be confusing, but i'll try to explain (this is after you have root)
1) went into Astro and copied the file from etc called PowerOn.wav to my SDcard as backup
2) found a wav file I wanted to change for power on and named it PowerOn.wav and stored it on the root of my SDcard
3) downloaded terminal emulator from market
4) when I launched, superuser permissions granted it SU access
5) type the command 'su root' (without the ' of course)
6) then type the command 'cp /sdcard/PowerOn.wav /etc/PowerOn.wav' and hit the enter key
This changed mine to a cooler "system activating" wav file I found...this was my way and it worked, but would much rather know the simpler version of How to grant Astro superuser permissions.
PS I used Audacity to convert my mp3 to wav and ogg files...in case anyone wants to know a free software
Shutdown Video:
I think you can change the shutdown video by adding custom PNG files in the /system/media/video/shutdown folder, but I haven't tested yet...i'm trying to figure out what I was going to do for the video (has to be 14 PNG files...or 14 of them all named the same thing).
I'll be testing soon and letting you know if this works.
EDIT: SUCCESS!!!
I was able to create 14 PNG images and copy them from my SDcard to the /system/media/video/shutdown folder and now I have a new shutdown video...anyone have a sight I could upload the new shutdown PNG files too? I have a couple different ones I created...really basic, but a little nicer than the T-mobile default one.
EDIT...AGAIN: And the new shutdown video
http://www.youtube.com/watch?v=t83uQZqAPDw
http://www.youtube.com/watch?v=lzPorxuJ6n4
Anchor reply for future information on this...possibly some shutdown videos
couldn't you just use root explorer and put the new wav file in the place of the old one with the same name? This is how I changed my boot animation. I'll try your way if mine doesn't work.
Thanks for this.
hey can you zip your shutdown file and give it to me without the sound? it looks badass, and the axura is pretty homo right now.
also are you sure this will work for vibrants?
my startup i changed from sdcard/system/media/...
Vibrant using simply honey 2.8
Im tryn to add a boot sound an cant figure it out please help there was no boot sound to begin with.. i made PowerOn.wav an tryed in system/etc and then tried media then ui nothings working am i naming this wrong or what Please help me out some on! pm me
I read in the SD-development thread about editing the
"GPS1_CLEANUP_ENABLED=1
HD2 have high current drainage(60mA) in the 0812 build. I noticed in /etc/gps.conf GPS1_CLEANUP_ENABLED was set to 0. After changing the value to 1. Current usage was back to normal 8mA"
I'm currently running the AmericanAndroid SD build and would like to change this value to 1. How do I access this? Using the phone, I went into file manager/etc and found the gps.conf file but how do I edit it? When I plug the phone to my laptop I can only view files from my SD card.
Thanks in advance, and sorry if this is a noob question.
Can anyone help?
During standy the battery drain is a consistent 60-70mA. Nothing is running, background data turned off, no wi-fi, no GPS, no sync.
rice-CHRISpies said:
I read in the SD-development thread about editing the
"GPS1_CLEANUP_ENABLED=1
HD2 have high current drainage(60mA) in the 0812 build. I noticed in /etc/gps.conf GPS1_CLEANUP_ENABLED was set to 0. After changing the value to 1. Current usage was back to normal 8mA"
I'm currently running the AmericanAndroid SD build and would like to change this value to 1. How do I access this? Using the phone, I went into file manager/etc and found the gps.conf file but how do I edit it? When I plug the phone to my laptop I can only view files from my SD card.
Thanks in advance, and sorry if this is a noob question.
Click to expand...
Click to collapse
You need to use a file explorer with root privileges. You can d/l ES File Explorer (or something like it) from the market for free.
When you run it, you'll be prompted to give it root (SU, or superuser) permissions. There's a checkbox in the menu, for you to do this anyway.
Most importantly - since the file system is read only - you'll have to also check the box directly underneath it in the root settings section of the menu to 'Mount File System'. This will make the files writable, so you can save your edits.
In general, you can keep the 'Root Explorer' box checked at all times, but it's not a bad practice to uncheck the Mount File System box when you're done so as to ensure against file changes.
gps.conf is located in the etc directory of the system. The line you want to edit is at the end of the file. When you make your change... don't forget to press the menu button and then press SAVE.
another user had similar problems - so you can take a quick look here...
http://forum.xda-developers.com/showpost.php?p=16735406&postcount=15225
Rob
thanx.works for me.
ke2v85 said:
thanx.works for me.
Click to expand...
Click to collapse
"Speaking of thanks, use the thanks button. Use it every time you get an answer, even if it's a one you don't like"
http://www.youtube.com/watch?v=JmvCpR45LKA&t=1m33s
I pressed it for you this time, next time you do it.
Hello!
I've just recently upgraded from a Note 2 to the Note 4 and after a couple of tries I've found a a good rom (DevBase 3.8) and I've flashed the Emotion Kernel r26 on it and it works fine.
On my Note to I changed the charge value to 2000ma which worked flawlessly and didn't caused overheating with the screen on or off (I've used Adams kernel with the included app) and I wanted to do the same with the emotion kernel which doesn't natively allow to change the values.
After looking around with root explorer I've found the fast charge files in the /sys/kernel/fast_charge/ folder and there is even an info file explaining a few things. I personally judt want to change the ac charge file values to 2000 2100 and the file "screen_on_current_limit" to 0 so it charges in full speed even if the screen is on.
But the problem is changing the values don't really safe them, they get changed back after a reboot and even a manually created flashable zip didn't permanently override the values.
I've tried it a couple of times with different file explorers and changed the permissions regularly without success.
Here's the zip with the modified values if you wanna check it out.
https://drive.google.com/file/d/0BzhcK4DLVxsNRVZ2STFWZXJJejg/view?usp=drivesdk
Any idea how to do this?
Edit:
I've found out that I can change and "safe" those values in most of the files and the info file actually picks it up and shows if it's applied but a reboot later those are the same.
But I can't protect the files getting rewritten even if I heavily restrict the permissions.
Well I tried to change default alarm clock sound. First thing I tried to do to my rooted phone is copy a new alarm clock.mp3 file I use to /system/media/audio/alarms but no matter what I try I am unable to copy any files to this folder and I have tried several root browsers.
How can I fix this problem it's a pain to always have to go to local and browse to the audio file every single time because Oneplus won't fix this broken feature!
molitar said:
Well I tried to change default alarm clock sound. First thing I tried to do to my rooted phone is copy a new alarm clock.mp3 file I use to /system/media/audio/alarms but no matter what I try I am unable to copy any files to this folder and I have tried several root browsers.
How can I fix this problem it's a pain to always have to go to local and browse to the audio file every single time because Oneplus won't fix this broken feature!
Click to expand...
Click to collapse
If you have twrp installed use it, just mount system then go to advance and use the file manager.. you may need to change the file permission to 0644..
This is weird.
I bought a T95 box and have been using it with an external keyboard almost flawlessly for months. The only issue was that the Enter key was incorrectly mapped.
I found a guide to fix this, which involved using a root browser to edit a single word in a keyboard mapping file. I installed two root browsers, made the change to the file and then found it wouldn't save due to a "read only file system". I thought I'd change the permissions of the file and then the folder just to make this tiny change, but nothing would do it. Then I looked at the folder, and the file i had been trying to save had been completely blanked - 0kilobytes. Which is weird, as I thought this was a read only file system?
I found another copy of the file and tried to paste it into the folder, but exactly the same problem again -read only file system.
My keyboard is now useless as none of the keys are recognised and I have no way of restoring it to functionality as I can't restore the file that was overwritten on the allegedly "read only file system".
Any suggestions? I guess a factory reset might possibly help, but I've spent the best part of a year setting this device up just right so that has to be a very last resort. Tearing my hair out here...
I managed to delete the 0kb file and paste a replacement in its place, but it too instantly became 0kb. This is surreal.