LightBlog

mardi 12 avril 2016

Editing init.x86.rc on Android x86

Can anyone offer me some guidance for making persistent edits to init.x86.rc on an Android x86 system (that I'm running in VMware)?

If I'm not mistaken, on a standard Android installation I'd need to unpack, edit, and repack the boot partition (boot.img), but I'm having trouble figuring out how to do that with Android x86.

Running cat /proc/mounts returns:
Code:

tmpfs / tmpfs ro,relatime 0 0
/dev/block/sda1 /system ext2 rw,relatime,errors=continue 0 0
tmpfs /cache tmpfs rw,relatime 0 0
/dev/block/sda1 /data ext2 rw,relatime,errors=continue 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
pstore /sys/fs/pstore pstore rw,relatime 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0

And running cat /proc/partitions returns:
Code:

major minor  #blocks  name

  1        0      8192 ram0
  1        1      8192 ram1
  1        2      8192 ram2
  1        3      8192 ram3
  1        4      8192 ram4
  1        5      8192 ram5
  1        6      8192 ram6
  1        7      8192 ram7
  1        8      8192 ram8
  1        9      8192 ram9
  1      10      8192 ram10
  1      11      8192 ram11
  1      12      8192 ram12
  1      13      8192 ram13
  1      14      8192 ram14
  1      15      8192 ram15
  8        0  20971520 sda
  8        1  20964793 sda1
  11        0    1048575 sr0

Does Android x86 not use individual partitions for boot, root, home, etc.?


from xda-developers http://ift.tt/1RSPOVO
via IFTTT

Aucun commentaire:

Enregistrer un commentaire