This is the manifest file for the two projects x86emu and x86vbox in the book - Android System Programming. https://www.packtpub.com/application-development/android-system-programming
manifests's Introduction
manifests's People
manifests's Issues
run init failed with selinux error messages
Android init failed with following messages using android-7.1.1_r4_ch11_aosp branch
I have installed it onto /dev/sda1 and booting up with following parameters
label 4. shugaoye (ROOT=/dev/sda1, serial port)
menu x86vbox_sda1
kernel shugaoye/kernel
append ip=dhcp console=ttyS3,115200 initrd=shugaoye/initrd.img buildvariant=eng androidboot.hardware=x86vbox SRC=/android-x86vbox ROOT=/dev/sda1 VBOX_GUEST_ADDITIONS=1 SDCARD=vendor DEBUG=2 DATA=sda2 X86VBOX=1
[ 3.225141] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
[ 3.228527] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[ 3.229785] EXT4-fs (sda1): write access will be enabled during recovery
[ 3.311076] usb 1-1: New USB device found, idVendor=80ee, idProduct=0021
[ 3.612778] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[ 3.753088] usb 1-1: Product: USB Tablet
[ 3.754336] usb 1-1: Manufacturer: VirtualBox
[ 3.757654] EXT4-fs (sda1): recovery complete
[ 3.785431] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 3.802296] input: VirtualBox USB Tablet as /devices/pci0000:00/0000:00:06.0/usb1/1-1/1-1:1.0/0003:80EE:0021.0001/input/input3
Found /mnt//android-x86vbox/system
[ 3.962710] hid-generic 0003:80EE:0021.0001: input,hidraw0: USB HID v1.10 Mouse [VirtualBox USB Tablet] on usb-0000:00:06.0-1/input0
[ 3.965633] EXT4-fs (sda1): re-mounted. Opts: (null)
found at /dev/sda1
[ 4.034806] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
Type 'exit' to continue booting...
Running MirBSD Korn Shell...
android:/android # ^D
[ 6.584709] intel_rapl: no valid rapl domains found in package 0
[ 6.656126] random: nonblocking pool is initialized
[ 6.660075] snd_intel8x0 0000:00:05.0: disable (unknown or VT-d) VM optimization
[ 7.241952] snd_intel8x0 0000:00:05.0: white list rate for 1028:0177 is 48000
[ 7.276621] piix4_smbus 0000:00:07.0: SMBus Host Controller at 0x4100, revision 0
[ 7.359525] input: PC Speaker as /devices/platform/pcspkr/input/input6
Loading VBOX_GUEST_ADDITIONS ...
[ 7.408595] vgdrvHeartbeatInit: Setting up heartbeat to trigger every 2000 milliseconds
[ 7.424282] input: Unspecified device as /devices/pci0000:00/0000:00:04.0/input/input8
[ 7.427730] vboxguest: misc device minor 53, IRQ 20, I/O port d040, MMIO at 00000000f0000000 (size 0x400000)
[ 7.451523] [drm] Initialized drm 1.1.0 20060810
[ 7.480317] [drm] VRAM 01000000
[ 7.490216] [TTM] Zone kernel: Available graphics memory: 444832 kiB
[ 7.492454] [TTM] Zone highmem: Available graphics memory: 514436 kiB
[ 7.493314] [TTM] Initializing pool allocator
[ 7.494451] fbcon: vboxdrmfb (fb0) is primary device
[ 7.505163] Console: switching to colour frame buffer device 100x37
[ 7.534430] vboxvideo 0000:00:02.0: fb0: vboxdrmfb frame buffer device
[ 7.546861] [drm] Initialized vboxvideo 1.0.0 20130823 for 0000:00:02.0 on minor 0
Mount DATA=sda2 ...
[ 7.572946] EXT4-fs (sda1): re-mounted. Opts: (null)
Mount SDCARD=vendor ...
Use Alt-F1/F2/F3 to switch between virtual consoles
Type 'exit' to enter Android...
Running MirBSD Korn Shell...
android:/android # [ 7.590239] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input7
android:/android # ^D
[ 12.947441] init: init first stage started!
[ 12.961833] audit: type=1403 audit(1514722288.473:2): policy loaded auid=4294967295 ses=4294967295
[ 12.981439] audit: type=1404 audit(1514722288.493:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
[ 13.014299] init: (Initializing SELinux enforcing took 0.06s.)
[ 13.033832] audit: type=1400 audit(1514722288.545:4): avc: denied { open } for pid=1 comm="init" path="/selinux_version" dev="tmpfs" ino=4739 scontext=u:r:kernel:s0 tcontext=u:object_r:tmpfs:s0 tcla
ss=file permissive=0
[ 13.061582] audit: type=1400 audit(1514722288.573:5): avc: denied { open } for pid=1 comm="init" path="/file_contexts.bin" dev="tmpfs" ino=4712 scontext=u:r:kernel:s0 tcontext=u:object_r:tmpfs:s0 tc
lass=file permissive=0
[ 13.072592] init: selinux_android_file_context_handle: Error getting file context handle (No such file or directory)
[ 13.082911] audit: type=1400 audit(1514722288.594:6): avc: denied { execute } for pid=1 comm="init" name="init" dev="tmpfs" ino=4716 scontext=u:r:kernel:s0 tcontext=u:object_r:tmpfs:s0 tclass=file p
ermissive=0
[ 13.085635] init: execv("/init") failed: Permission denied
[ 13.086434] init: Security failure; rebooting into recovery mode...
[ 13.088070] sysrq: SysRq : Emergency Remount R/O
[ 13.096934] EXT4-fs (sda1): re-mounted. Opts: (null)
[ 13.102703] Emergency Remount complete
[ 13.190498] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 13.204891] reboot: Restarting system with command 'recovery'
[ 13.228349] reboot: machine restart
I would like to ask the question of compiling x86vobx
hello Roye , I follow the operation of the book, build x86vbox and use pxeboot the project, but don't run in the vbox. i close the selinux use <androidboot.selinux=permissive> ,but still not run. Can you help me to find anything?
How can I contact you?
pxe.log
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.