(Q) Edit build.prop - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

Hi mates. I am experiencing issues in editing the build.prop. I mean: even if I can access the file, when I try to save it, it tells me I cannot...
I use file expert to browse and jota text to edit (both free). Es file explorer does not allow me to set root option...maybe it it's not working with note yet...
In any case I don't know what to do to save the new build.prop.
Any suggestions?
Thx to all...
Sent from my GT-N7000 using XDA App

Diamantes said:
Hi mates. I am experiencing issues in editing the build.prop. I mean: even if I can access the file, when I try to save it, it tells me I cannot...
I use file expert to browse and jota text to edit (both free). Es file explorer does not allow me to set root option...maybe it it's not working with note yet...
In any case I don't know what to do to save the new build.prop.
Any suggestions?
Thx to all...
Sent from my GT-N7000 using XDA App
Click to expand...
Click to collapse
Es explorer works well. u might have found it if u searched.
Just make sure that u have enabled root options in the settings.

No.
As I wrote before, I don't know why but Es doesn't allow me to have root options enabled, so I was forced to find a new root explorer. The problem is that I can't save the new build.prop: the app tells me it cannot save the file...
Suggestions?
Sent from my GT-N7000 using XDA App

Install File Expert, go to settings and enable "Root Explorer" (under "File Explorer Settings"), go back, press menu, more and then "Mount".

/system is mounted RO by default.
use a shell and as root type
Code:
busybox mount -o remount,rw /system
you should get a full access now to all /system filesystem.

THANKS
BazookaAce said:
Install File Expert, go to settings and enable "Root Explorer" (under "File Explorer Settings"), go back, press menu, more and then "Mount".
Click to expand...
Click to collapse
Thx mate. It worked. After chose the option "Mount", I edit also the properties of the file (write,read,all...). After that, File expert allowed me to choose the app to open the text file: I choose ES text, because Jota text continued not saving the file. I finally saved the build.prop file.
THX.
sibere said:
/system is mounted RO by default.
use a shell and as root type
Code:
busybox mount -o remount,rw /system
you should get a full access now to all /system filesystem.
Click to expand...
Click to collapse
Thank you too.
uff!! what a pain in the ....ss!

Thanks guys! I enabled the Root checkbox, but I cant mount!
I get a Mount failed message.
I tried to be in the / directory when issued the Mount command for RW (using GUI in that application), and being inside /system as well - same error.
I've granted the application Superuser permissions, so thats not it.

Related

[Q] how to properly uninstall apps on rooted n1

What is the proper way to uninstall apps such as facebook, amazon on a rooted n1?
Any help would be appreciated. sorry for the n00b question.
noonerealy said:
What is the proper way to uninstall apps such as facebook, amazon on a rooted n1?
Any help would be appreciated. sorry for the n00b question.
Click to expand...
Click to collapse
System -> Applications -> Manage -> All
Then select the app and click "Uninstall".
For apps like amazon mp3, you'll need to use adb shell and "rm" apps manually, or use a rom with these removed.
Code:
adb remount
adb shell <---(this should give you a prompt with a "#", not "$")
cd /system/apps (or something along those lines)
rm "specific app" (will be something along the lines of "com.something.android.apk")
That should do it. You just need to find out what the app names are that you want to delete. I'm not sure what all the proper names are, shouldn't be too hard to find.
will this remove data from apps also?
thanx for the answer so fast man, I like things simple and clean.
anyone now how to add the reboot option on stock rooted 2.2?
thanx in advance
I just realized that you can also use Root Explorer from the market.
I located com.amazon.mp3.apk inside /system/app/ folder using Root Explorer
and when i try to delete the file it says "com.amazon.mp3.apk" cannot be deleted because the file system is read-only
okay, so how do i delete this app really?
slickromeo said:
I located com.amazon.mp3.apk inside /system/app/ folder using Root Explorer
and when i try to delete the file it says "com.amazon.mp3.apk" cannot be deleted because the file system is read-only
okay, so how do i delete this app really?
Click to expand...
Click to collapse
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
or just use
adb remount
I successfully used Root Manager app to remove the amazon mp3 apk. Very simple actually.
slickromeo said:
I located com.amazon.mp3.apk inside /system/app/ folder using Root Explorer
and when i try to delete the file it says "com.amazon.mp3.apk" cannot be deleted because the file system is read-only
okay, so how do i delete this app really?
Click to expand...
Click to collapse
When using Root Explorer, it automatically loads in a read-only (R/O) mode to protect you from accidentally deleting important files. To modify system files, click the gray button at the top left that says R/W (read-write). This will allow you to delete any file regardless of permissions. Be careful.
Can ASTRO do this or does it have to be Root Explorer?
Remove the relevant entry from /data/data as well.
You should probably also update the package manager:
Code:
pm uninstall <package>
galaxys said:
Can ASTRO do this or does it have to be Root Explorer?
Click to expand...
Click to collapse
Astro can delete, but YOU need to remount.
ES File Explorer can remount at CM/HiAPK roms.
thanks. really helpful

Cannot edit build.prop anymore - read-only.

Using Nook Color, CM7 nighly 107.
Got Netflix working a while back by modifying the build.prop file using ES File Explorer - no issues.
Tried again to make some mods and cannot save it anymore. ES reports "writable - NO"
Tried to "su chmod 666" it and it comes back with "File system read-only"
Is anybody else seeing this? What am I missing?
Thanks...
I encountered a similar situation during the build.prop edit while using ES File Explorer on my NC running CM7 on internal memory.
Possibly, the permissions in the program need to be changed to enable it to "write".
Here's what I did: Menu==>Settings==>Root options. "Check" Root Explorer and if my memory serves me correctly, click "Yes" to get past the "Experimental Feature", toggle the "Cyanogen Mod" (if you're using CM7) radio button, click OK and check the "Mount File System" box to make the system writable.
Now, it should be writable. Hope this helps.
dhyamato said:
... check the "Mount File System" box to make the system writable.
Click to expand...
Click to collapse
Thanks for the tip, that wasn't it
I remember setting those originally. I just checked again and "Root Explorer" and "Mount FIle System" are both checked.
mwilli20 said:
Using Nook Color, CM7 nighly 107.
Got Netflix working a while back by modifying the build.prop file using ES File Explorer - no issues.
Tried again to make some mods and cannot save it anymore. ES reports "writable - NO"
Tried to "su chmod 666" it and it comes back with "File system read-only"
Is anybody else seeing this? What am I missing?
Thanks...
Click to expand...
Click to collapse
In 106 SU wasn't working correctly until I reinstalled it. You can't modify build.prop without superuser rights. Check the thread about SU / Superuser missing in 106 (and I bet 107) for instructions. It worked for me.
DiDGR8 said:
Check the thread about SU / Superuser missing in 106 (and I bet 107) for instructions. It worked for me.
Click to expand...
Click to collapse
Interesting... the OP withdrew his post: (apparently it's back in 107)
http://forum.xda-developers.com/showthread.php?t=1131369
However when I checked it, the SU app was misbehaving, Force closing, refusing to respond to the menu command. So I reinstalled it. Now it's OK.
Unfortunately I still cannot edit the build.prop file.
I don't think it's a superuser problem because without SU access ES cannot even see the system folder!!! I can see it, and edit the file, just cannot save it.
You might try fixing permissions under recovery.
have you tried the app: nook netflix fixer?
I've changed it successfully on the past 6 consecutive nightlies using adbwireless pull/push. However since 106 I've hsd to reflash su. N108 hasn't given me the su issue. Is it fixed?
Same problem with the build.prop file: cannot save changes, or copy over it. Running in nightly 108 today. Tried both Root Explorer and ES File manager.
I think you need to change the build.prop file properties to be rw using chmod. Don't forget to mount system as rw before doing the chmod.
Sent from my Huawei Ascend using XDA App
foltz61 said:
I think you need to change the build.prop file properties to be rw using chmod.
Click to expand...
Click to collapse
Tried that (sudo chmod 666...), get the same message. "file system is read-only"
backup and restore fresh start....?
I'm not great at linux but I do it differently. Try chmod +rw /system/build.prop . Make sure you have system mounted as RW first. I'd also check superuser to make sure whatever terminal/file explorer you are using still has root privileges.
Sent from my Huawei-M860 using XDA App
foltz61 said:
Try chmod +rw /system/build.prop
Click to expand...
Click to collapse
666 is the same thing as +rw in this case...
It looks like the "fresh start" suggestion a couple of posts up is the best
All those numbers always confuse me . Sorry. Good luck.
Sent from my Huawei-M860 using XDA App
bike2002 said:
have you tried the app: nook netflix fixer?
Click to expand...
Click to collapse
Thanks! That did it!
Does anybody know why this app can modify the build.prop file while ES File Explorer cannot?
I had to mount the folder containing build.prop with rw access in order to use chmod. I think the latest version of the netflix fixer may do the same (see my post in that thread). In short, I used;
Code:
su
busybox mount -0 rw,remount /dev/block/mmcblk1p3 /system
in the terminal before using the chmod command in order to give myself rw permissions in the folder. I'm only two days old at this, so it beats me why root doesn't have normal rw permissions on the folder.
NCKevo said:
I had to mount the folder containing build.prop with rw access in order to use chmod...
Click to expand...
Click to collapse
Thanks for the tip. I ran the command successfully (by the way, small typo, I believe it's -o not -0) and was able to chmod and edit the file with vi.
That's where confusion began. I reboot and after the reboot I was able to modify the file without remounting the /system directory. The mount command does not surive a reboot does it?
Have you tried just pulling the build.prop
Code:
c:/<target_folder> adb pull /system/build.prop
then editing it with note pad then pushing it back and rebooting>
mwilli20 said:
That's where confusion began. I reboot and after the reboot I was able to modify the file without remounting the /system directory. The mount command does not surive a reboot does it?
Click to expand...
Click to collapse
That is confusing. What are the full (i.e. ls -l) permissions on the file now? (It's possible that it somehow ended up with o+w, but I don't understand how - vi isn't exactly known for changing permissions on-the-fly.)
Rodney

Unable to delete or rename install-recovery.sh

Using Root Browser I am unable to delete or rename the install-recovery.sh file. Does anyone know why? Thank you. I also tried ES file explorer.
You need to have R/W privileges. Do you have root?
Mark Once Again said:
You need to have R/W privileges. Do you have root?
Click to expand...
Click to collapse
Yes root has been verified. Thanks for any help you can give Mark.
I use root explorer. Just navigate to the file. Make sure the permissions are R/W. If not, just push the Mount button so that it shows R/W instead of R/O. Should be good to go....
Mark Once Again said:
I use root explorer. Just navigate to the file. Make sure the permissions are R/W. If not, just push the Mount button so that it shows R/W instead of R/O. Should be good to go....
Click to expand...
Click to collapse
Thanks Bro. Good to go now.
I had the same problem, which is how I found this thread, and was not able to resolve it by remounting /system RW. However it turns out the file had the immutable attribute "i". I was able to remove the attribute and delete the file via:
Code:
su
chgattr -i /system/etc/install-recovery.sh
rm /system/etc/install-recovery.sh
recovery upgrade
how to upgrade the recovery. i have a old recovery. i want upgrade it to touch philz recovery plz help

[ROOT] How to remove lock screen ads

both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
the first method worked great for me
thanks
Dassen said:
both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
Click to expand...
Click to collapse
I tried both without success.. What explorer are you using? I tried with ES and got an error "the operation failed".. and I couldnt change permissions neither
thanks for any help
Are you rooted?
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
blazeplacid said:
Are you rooted?
Click to expand...
Click to collapse
I supposed to. I rooted my device to install google play.. but I dont know if I continue been root.. I checked my permissions on system\app and I only have readable..
Could you explain me how to check if I am root, and if not, how to be root again to apply your process?
Thanks for your help
karacc said:
I supposed to. I rooted my device to install google play.. but I dont know if I continue been root.. I checked my permissions on system\app and I only have readable..
Could you explain me how to check if I am root, and if not, how to be root again to apply your process?
Thanks for your help
Click to expand...
Click to collapse
You go to the setting of ES,then at the bottom of setting menu, it has Root setting. Go there and checked all check boxes. If you can, that's mean your KF is rooted.
Sent from my KFTT using xda app-developers app
tried method 1 and it worked right away :good:
Worked
Method 1 worked for me.
Thanks.
Dassen said:
both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
Click to expand...
Click to collapse
Worked for me, too. Was surprised about the beautiful wallpapers to see now everytime i turn the thingy on
Adding a Boot Animation
Thanks for this info. I used the 2nd method and it worked immediately. Are there Boot Animations for the KFHD? Or can Boot Animations from, say my LG ICS Spectrum work?
Dassen said:
both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
Click to expand...
Click to collapse
Awesome, confirmed working on kindle fire 2 running 10.2.1
frieked said:
Awesome, confirmed working on kindle fire 2 running 10.2.1
Click to expand...
Click to collapse
Thanks a lot for this :highfive:
Confirmed works on KF 8.9, thanks OP! I renamed to dtcp_apk.ads
finally, those horrific ad screens are gone! thank you sir!
if you have adb available, you should be able to do this without a root explorer.
use one of the following codes:
adb shell
su
mount -o remount,rw /system
mv /system/app/dtcp_apk.apk /system/app/dtcp_apk.apk.bak
exit
exit
adb shell
su
mount -o remount,rw /system
chmod 000 /system/app/dtcp_apk.apk
exit
exit
adb shell
su
mount -o remount,rw /system
rm /system/app/dtcp_apk.apk
exit
exit
The first one will rename it. The second one will clear its permissions. The third one will remove it completely.
It should go without saying, but its not my fault if you screw something up, or if it is necessary to have this apk in your system, and you use the third method. I haven't tried it, but it should work. I do know what the commands do.
Didn't also work for me with es file explorer the first time i've tried it, although i've enabled all root options.
Rebooting the device helped me, but it's also important to make sure that you give the explorer the permission to change system data
Sent from my KFTT using XDA Premium HD app
Method 1 working
I tried it just out of curiosity and it worked right away. Using ES explorer, BTW.
Thanks!
Dassen said:
both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
Click to expand...
Click to collapse
Thank you so much!!! Method 1 worked great. Also renamed the odex file to .odex.bat through root explorer. Note, in root explorer you will probably have to push the little 'Mount R/W" button once you get into system/app
Sweet. $15 saved.
Thanks for the quick 'how to'.

need to delete system file but can't :(

I need to follow these instructions -
Originally Posted by Robbie Hood
i will upload a revert back too mtp mod once the party is over.
If you really need it now then do this :
go to /system/build.prop and open it with a rooted text editor ( most file explorers have one) and remove this line:
Code:
persist.sys.usb.config=mass_storage,adb
then go to /system/etc/init.d and remove the S98MassStorage script.
Reboot and it should work fine.
If not , then you need to check rom customizer/. manage system apps / uninstalled tab and install anything kies, usb or mtp related
I have done the first part and removed - persist.sys.usb.config=mass_storage,adb but I can't change/delete/edit/move the S98MassStorage script, I have tried Root Browser Lite, ZArchiver and ES File Explorer.
Can somebody help me please, recommend a method/app?
Try "su -"
Then "rm whateverscript.sh"
To delete the file.
Assuming u got root perms.
Sent from my GT-N7000 using xda app-developers app
Make sure your /system is mounted read-write. It should be, since you edited build.prop, but you can double-check (there's an option in ES File Explorer to mount /system as read-write).

Categories

Resources