Quantcast
Channel: admin » TWRP
Viewing all articles
Browse latest Browse all 1595

How to mount the root filesystem in twrp recovery?

$
0
0

Sorry for this perhaps dumb question and I’m sure it was answered anywhere but searching for "mount root recovery" lists everything to root the device. Last time I need to do this was on my HTC Desire with that S-ON 😉

Ok, but for the backgrounds:
I am running CM13 (rooted of cource) and I need to tweak /init.cm.rc startup script.
When doing this while running CM13 (/ filesystem mounted rw) any changes are gone after reboot.

So how can I do this?
My first thought was: Edit while in recovery. But in TWRP (3.0) the root filesystem isn’t mounted – so how can I mount it?
Or on which partition is it located?

Thanks in advance!

Code:

Found valid GPT with protective MBR; using GPT

Disk /dev/block/mmcblk0: 61071360 sectors, 1148M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 44 entries
First usable sector is 34, last usable sector is 61071326

Number  Start (sector)    End (sector)  Size      Code  Name
  1          16384          180223      80.0M  0700  modem
  2          180224          182271      1024K  0700  sbl1
  3          182272          182463      98304  0700  sdi
  4          182464          184511      1024K  0700  tz
  5          184512          185511        500K  0700  rpm
  6          185512          186535        512K  0700  hyp
  7          186536          186791        128K  0700  pmic
  8          186792          188839      1024K  0700  DDR
  9          188840          189095        128K  0700  sec
  10          189096          197855      4380K  0700  aboot
  11          197856          198111        128K  0700  pmicbak
  12          198112          200159      1024K  0700  sbl1bak
  13          200160          202207      1024K  0700  tzbak
  14          202208          203207        500K  0700  rpmbak
  15          203208          204231        512K  0700  hypbak
  16          204232          212991      4380K  0700  abootbak
  17          212992          212993        1024  0700  devinfo
  18          229376          237567      4096K  0700  fsg
  19          245760          245761        1024  0700  limits
  20          262144          270335      4096K  0700  modemst1
  21          270336          278527      4096K  0700  modemst2
  22          278528          279039        256K  0700  apdp
  23          279040          279551        256K  0700  msadp
  24          279552          280063        256K  0700  keymaster
  25          280064          280575        256K  0700  cmnlib
  26          280576          281087        256K  0700  keymasterbak
  27          281088          281599        256K  0700  cmnlibbak
  28          281600          281601        1024  0700  dpo
  29          281602          281603        1024  0700  fsc
  30          281604          281619        8192  0700  ssd
  31          281620          294911      6646K  0700  oeminfo
  32          294912          311295      8192K  0700  persist
  33          311296          344063      16.0M  0700  metadata
  34          344064          409599      32.0M  0700  boot
  35          409600          475135      32.0M  0700  recovery
  36          475136          606207      64.0M  0700  oem
  37          606208        1015807        200M  0700  vendor
  38        1015808        1220607        100M  0700  cache
  39        1220608        1222655      1024K  0700  misc
  40        1222656        1223679        512K  0700  keystore
  41        1223680        1224703        512K  0700  frp
  42        1224704        1225703        500K  0700  persistent
  43        1225704        7517159      3072M  0700  system
  44        7517160        61071326      25.5G  0700  userdata




Viewing all articles
Browse latest Browse all 1595

Trending Articles