• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

Can't edit /system/ folder

7 posts in this topic

Posted

Hi,

I want to edit my system folder, mainly because I want to edit the hosts file. However I just can't seem to get it to work. I'm on a rooted legend with paul's stock froyo rom & used his rooting guide.

What I tried:

Root explorer. Doesn't work, gives a error of not enough free space whenever I want to copy a file. Also deleting doesn't actually really work because after a reboot files just return.

adb shell: Just keeps giving me errors like cp: not found, wget: not found, push: not found etc. Or when i'm in the folder and want to do something directory is not empty.

Terminal app: Same errors.

So I googled and it seems adb sucks and you need busybox. So I download titanium backup and have it install busybox. Boot root and busybox are OK. Still same errors.

I'm doing thing while the phone is fully booted. I also tried from recovery mode (traingle screen) but than I can't get adb to connect.

What am I doing wrong or how can I fix this? There seem to be tons of people who can do this no problem and got all the commands working even without intstalling additional software. It seems my craptatstic Legend is the only one that doesn't want to play ball...

0

Share this post


Link to post
Share on other sites

Posted

Hi,

I want to edit my system folder, mainly because I want to edit the hosts file. However I just can't seem to get it to work. I'm on a rooted legend with paul's stock froyo rom & used his rooting guide.

What I tried:

Root explorer. Doesn't work, gives a error of not enough free space whenever I want to copy a file. Also deleting doesn't actually really work because after a reboot files just return.

adb shell: Just keeps giving me errors like cp: not found, wget: not found, push: not found etc. Or when i'm in the folder and want to do something directory is not empty.

Terminal app: Same errors.

So I googled and it seems adb sucks and you need busybox. So I download titanium backup and have it install busybox. Boot root and busybox are OK. Still same errors.

I'm doing thing while the phone is fully booted. I also tried from recovery mode (traingle screen) but than I can't get adb to connect.

What am I doing wrong or how can I fix this? There seem to be tons of people who can do this no problem and got all the commands working even without intstalling additional software. It seems my craptatstic Legend is the only one that doesn't want to play ball...

As far as i Know the /system folder is mounted as Read Only

to edit this folder you have to remount it in read/write modus

sterkte er mee !!

groetjes

0

Share this post


Link to post
Share on other sites

Posted

Forgot to mention but obviously I mounted the folder as rw. Though that shouldnt really matter because that shouldnt have any effect on commands not found errors.

0

Share this post


Link to post
Share on other sites

Posted

Well flashed the r4 legend rom and still the same s***. push: not found. cp: not found. Or directory not empty errors etc. How badword hard can it be to edit a system file? I'm a root user right? than why can't I do what I want?! Even if I wanted to delete the whole badword folder it shoud just let me!

I spend 3 days on this and getting the file in the folder is just impossible.

0

Share this post


Link to post
Share on other sites

Posted

Well flashed the r4 legend rom and still the same s***. push: not found. cp: not found. Or directory not empty errors etc. How badword hard can it be to edit a system file? I'm a root user right? than why can't I do what I want?! Even if I wanted to delete the whole badword folder it shoud just let me!

I spend 3 days on this and getting the file in the folder is just impossible.

If you want to change system files when OS is running than you have to get your phone in S-OFF, cause system partitions are locked in all HTC phones by default(S-ON = security on).Here is link that may help you explain what am I talking about and here is the link to a tool, that will enable S-OFF, but read all the instructions very cerfully!!!

0

Share this post


Link to post
Share on other sites

Posted

Thanks. However I did manage to make it work in a different way :D

If I boot into clockwork and make sure I mount the system partition manually I can edit the files :D

0

Share this post


Link to post
Share on other sites

Posted

Thanks. However I did manage to make it work in a different way :D

If I boot into clockwork and make sure I mount the system partition manually I can edit the files :D

Thanks. I wanted to do the same. Your method worked.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.