Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,956 Members 42,598 Now Online
XDA Developers Android and Mobile Development Forum

[Q] /system/ rewriting itself

Tip us?
 
steve-sydney
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 1
Join Date: Mar 2014
Default [Q] /system/ rewriting itself

Hi everyone,

I have an HTC One XL telstra mobile and spent 5 hours yesterday unlocking the boot loader, installing CWM and getting root.
Ive verified I have root with an app called root checker basic. Yes I know 5 hours seems excessive so I havent mentioned the entire day spent finding documentation to do it.

So now I'm trying to copy an apk to the /system/app/ folder which has permission 755. Attempt 1 just doesnt do anything attempt 2 reboots the phone. I have changed the permission to 777 same result.
I have copied the apk to /system/ which is also 755 and it goes in. But when I reboot its gone.

The question is could something be protecting the directory and rewriting it on each boot?

Steve
 
exad
Old
#2  
exad's Avatar
Senior Member
Thanks Meter 1,407
Posts: 3,339
Join Date: Jan 2010
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by steve-sydney View Post
Hi everyone,

I have an HTC One XL telstra mobile and spent 5 hours yesterday unlocking the boot loader, installing CWM and getting root.
Ive verified I have root with an app called root checker basic. Yes I know 5 hours seems excessive so I havent mentioned the entire day spent finding documentation to do it.

So now I'm trying to copy an apk to the /system/app/ folder which has permission 755. Attempt 1 just doesnt do anything attempt 2 reboots the phone. I have changed the permission to 777 same result.
I have copied the apk to /system/ which is also 755 and it goes in. But when I reboot its gone.

The question is could something be protecting the directory and rewriting it on each boot?

Steve
There is a write protection on the system partition within hboot 2.14 and up. Some roms have a built in script that mounts it writable it can also be bypassed within twrp.
My Phone: Telus HTC One M8: 3.16 HBOOT S-OFF

Exad's m8 Everything Explained Thread

The Following User Says Thank You to exad For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes