How to edit hw_config? - Xperia Arc Q&A, Help & Troubleshooting

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

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

Editing build.prop with Root Explorer

Is anyone else having issues with Root Explorer not saving the build prop right after edit. I go back in to system and the backup file is full size, but the file I edited was 0 kb . I checked the r/w icon so it would let me do it. I've done this at least a hundred times and had it work, but now it doesn't work right. The first few times I didn't notice what happened and rebooted. It was ugly, no boot animation, and black screen from there on.
SigLover21 said:
Is anyone else having issues with Root Explorer not saving the build prop right after edit. I go back in to system and the backup file is full size, but the file I edited was 0 kb . I checked the r/w icon so it would let me do it. I've done this at least a hundred times and had it work, but now it doesn't work right. The first few times I didn't notice what happened and rebooted. It was ugly, no boot animation, and black screen from there on.
Click to expand...
Click to collapse
mine works. what are you trying to do?
sorry i have to cover the basics
after you switch r/w to r/o are you long pressing build.prop and slecting "Open in Text Editor"?
how are you saving it? do you press "save & exit" or "save changes"?
have you tired uninstalling root explorer and reinstalling it?
Root Explorer
Yup, tried that. I even bought Root Manager and used it's buidprop editor, with the same results. Maybe it's the rom I'm Running. It's Desired Inc HD 3D V5. It worked with V3 though.
I had no problems editing the build.prop file using Root Explorer on the stock 2.3.4 OTA.

[Q] unable to edit build.prop

Hi,
I have a rooted Desire with sandvold's ics 4.03 rom. Wanted to make some changes to build.prop but nothing I tried so far works... I tried Mount R/W app, Root explorer, adb, adb over wifi, ES explorer, tried to mount via clockwork... with ES explorer I managed to edit the file and make it save (what the program tells me) but when I browse back to the system folder the build.prop file is gone ?? I reboot the phone and build.prop is back but not with the changes I made to it ... it gets reset to default every time ...
Does anyone have any ideas how I can change the file ?
THx
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
piksaus said:
Hi,
I have a rooted Desire with sandvold's ics 4.03 rom. Wanted to make some changes to build.prop but nothing I tried so far works... I tried Mount R/W app, Root explorer, adb, adb over wifi, ES explorer, tried to mount via clockwork... with ES explorer I managed to edit the file and make it save (what the program tells me) but when I browse back to the system folder the build.prop file is gone ?? I reboot the phone and build.prop is back but not with the changes I made to it ... it gets reset to default every time ...
Does anyone have any ideas how I can change the file ?
THx
Click to expand...
Click to collapse
I've truer to change build prop many a time with root explorer and it just reverts back to same after you reboot.....I've set to re changed file saved change set to ro rebooted had file remained the same.
I just use my mobile and this is how I successfully edited build prop
If you have ota files like miui Xj. Unzip the update file edit build prop....save changes....rezip and flash in recovery or you can edit the rom zip.
Sent from my HTC Desire using XDA Premium App
Well,if you constantly fail to successfully edit it on phone,you can edit it on computer if its not problem for you to flash ROM again.So when you have unpacked it use text editor(notepad,notepad++,gedit,sublimetext2....) and just edit build-prop,when you are done click save and repack it again.

ES File explorer

Hey guys,
I'm hoping I have placed this question in its correct location(If not please excuse my mistake) but on my one x I'm having troubles with my ES file explorer. It came with the viper 3.7.4 that I'm now on. I have been wanting to change the boot animation zip with this program but I cannot delete or rename anything. I have superuser set. If I long press the file and click on properties I have read and write enabled. I also changed the home directory to /. The only thing I was successful in was cut and paste(I took the original boot/down animations and placed them in the newly created folder on my SD.
I also deleted and re downloaded ES file explorer but that did nothing
Even in my file explorer app I cannot delete files. It's like this phone is not letting me change anything. Is their something I have missed. I can only imagine its something simple that was overlooked but for the life of me I cannot figure it out. Any help would be greatly appreciated.
In the app, press menu, then root explorer, then mount r/w
Sent from my HTC One X using xda app-developers app

Help? Editing build.prop without bootloop?

Editing build.prop without bootloop?
Whenever I change the screen dpi the system loops...
I tried changing to multi window in any application, loop again.
Someone to help?
What method are you using? There are apps like BuildProp Editor that keep things simple..
Alternatively, you can use ES File Explorer with its inbuilt editor.
You maybe getting boot loops depending on how you edit the build.prop which could affect the permissions.
rav101 said:
What method are you using? There are apps like BuildProp Editor that keep things simple..
Alternatively, you can use ES File Explorer with its inbuilt editor.
You maybe getting boot loops depending on how you edit the build.prop which could affect the permissions.
Click to expand...
Click to collapse
I'm using the application x-plore and after editing the builp.prop I check that the permissions are correct, and when I restart loops.
permissions need to be set to 644 after editing.
Can anyone post a mini guide for build prop editor? I used it and ended up in a bootloop. How to set permission there? Can't find the option
@Satir0 @montusk
Download ES file explorer
Enable root in ES
Go to build.prop, tap the menu and select edit
Edit whatever you want to, after you're done just go back, it will ask you if you wanna save, select yes and you're done. No need to set permissions.
0rigin said:
@Satir0 @montusk
Download ES file explorer
Enable root in ES
Go to build.prop, tap the menu and select edit
Edit whatever you want to, after you're done just go back, it will ask you if you wanna save, select yes and you're done. No need to set permissions.
Click to expand...
Click to collapse
I will try later ...
But I was with Xplore G3 and never had any problems.
It will not be because my bootloader is locked?
Edit: thank you, changed the dpi using apk device control

Categories

Resources