root su

2013-12-30 02:21:07 -0500
u0_a77@android:/ $ export PATH=/data/local/bin:$PATH:.
u0_a77@android:/ $su
u0_a77@android:/ # cd system/usr/we-need-root
u0_a77@android:/system/usr/we-need-root #

u0_a77@android:/system/usr/we-need-root # busybox lsattr
-----i--A---- ./su-backup

u0_a77@android:/system/usr/we-need-root # busybox chattr -i su-backup

u0_a77@android:/system/usr/we-need-root # busybox lsattr
--------A---- ./su-backup



u0_a77@android:/system/usr/we-need-root # busybox chattr

BusyBox v1.21.0-Stericson (2013-01-28 21:49:55 GMT) multi-call binary.

Usage: chattr [-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]...

Change file attributes on an ext2 fs

Modifiers:
- Remove attributes
+ Add attributes
= Set attributes
Attributes:
A Don't track atime
a Append mode only
c Enable compress
D Write dir contents synchronously
d Don't backup with dump
i Cannot be modified (immutable)
j Write all data to journal first
s Zero disk storage when deleted
S Write file contents synchronously
t Disable tail-merging of partial blocks with other files
u Allow file to be undeleted
-R Recurse
-v Set the file's version/generation number



u0_a77@android:/system $ busybox lsattr -help

BusyBox v1.21.0-Stericson (2013-01-28 21:49:55 GMT) multi-call binary.

Usage: lsattr [-Radlv] [FILE]...

List file attributes on an ext2 fs

-R Recurse
-a Don't hide entries starting with .
-d List directory entries instead of contents
-l List long flag names
-v List the file's version/generation number

«Newer      Older»
Comment:
Name:

Back to home

Subscribe | Register | Login | N