So I've noticed the LG G4 build.prop size of 11.24KB, however, if I try to edit it in say build.prop editor, or root file explorer, it shrinks it down to 10.2KB which will result in boot loops unless if I restore the backup I have.
I never encountered this problem on my other phones (this is my first LG though)
I answered my own question ES File Explorer does not truncate the file
Related
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
Hi,
I am using Sandvold's ICS ROM for HTC Desire. The browser isn't any good so I found this post on how to enable Chrome beta: http://forum.xda-developers.com/showpost.php?p=22936668&postcount=13
Trouble is how to edit this file (/system/build.prop) on the phone?
I could transfer it off and put it back, but would be easier just to edit using terminal or another simple text editor. I noticed "Vi" is there, but it is way too cryptic for me. "Nano" is also installed, but it comes with an error message when I try to run it.
How to make nano work, or is there some other text editor people can recommend for this purpose?
Mons
What file explorer do you use? With a file explorer which can get root rights (e.g. Root Explorer or ES File Explorer), you could edit that file with their inbuild text-editors.
HI,
did you try vim or vi ?
It works on BCM.
Code:
vim /system/build.prop
i --> to edit the file
ESC --> to exit edit mode
:q! --> to exit vim without save
:wq --> to save and exit vim
Hi,
Managed to change it in the end, so I can run chrome now.
I installed ES File Explorer, very nice app, but found that the file system was mounted read-only. Only way around it that I found was to use the adb tool from my desktop. Pull the build.prop, modify it on the desktop and push it back.
Chrome is sluggish though, no better then the built in browser on ICS, so not sure the exercise was worth much. Although I did find a lot of other settings in that build.prop file.
Mons
You can mount /system as writable in ES File Explorer's settings.
I missed that setting. At least I know for next time.
Cheers,
Mons
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.
I have a rooted Verizon 4.08.605.2 Incredible. I tried to modify the build.prop to avoid the daily OTA messages (I didn't hear anything good about the new version plus it wasn't installing). I used ES File Explorer to change the version, saved it and voila the file was empty. I really thought it would be that easy and so I didn't bother to make a backup. I found a stock build.prop online and downloaded a build.prop editor. But I'm not sure if it's good build.prop because it has version 4.0.3. I'm now afraid to reboot this phone and possibly brick it.
If someone could post a stock 4.08.605.2 build.prop for the Verizon Incredible that would be awesome.
Grab a stock ROM from dinc.does-it.net and extract it from there.
Thanks, I'm probably good now. I haven't tried rebooting, but I'll follow up.
For anyone who cares:
I downloaded Stock_inc_4.08.605.15_odexed.zip. I extracted the build.prop file to my Windows desktop and renamed it to have a .txt extension. I emailed it to the phone. On the phone I opened the .txt file and copied the contents. I opened the buildprop editor app and went into write mode and pasted in the new contents. They appeared to show up as build properties in another screen of the BuildProp editor so it looks good to me. The real test will be when this phone ends up rebooting.
I have recently acquired a custom hosts file that I would like to use in place of the built-in one. Of course, the hosts file on the phone is read-only I believe, so it can't just be replaced. I can access it with ES File Explorer, and change the attributes, but no matter what I try, it will not save. I have used the adb "push" command from my computer but I still get an error trying to replace the file. I have tried using ES File Explorer as a remote ftp server also. No luck so far. Short of manually typing the information from the custom hosts file, or copying and pasting chunks at a time, I am at a loss. I don't understand why this can't be done since I have changed the attributes of the file. Please forgive my ignorance if there is an obvious solution for this that I am overlooking. Any help would be appreciated.