Hi guys, I was wondering if there is a way of finding out what is causing zygote to fail. I can't find anything in logcat, and I can't find anything in dmesg. Strace does not help either. Is there something specific that I can do to track the zygote failure? I currently have a bootanimation loop. Here is a bit of code:
Code:
[ 5.709747] init: Starting service 'adbd'...
[ 5.715148] adb_open
[ 5.715209] adb_bind_config
[ 5.726165] init: Service 'ks_checker' (pid 191) exited with status 0
[ 5.798400] init: Service 'zygote' (pid 206) exited with status 1
[ 5.798614] init: Service 'zygote' (pid 206) killing any children in process group
[ 5.798767] init: write_file: Unable to open '/sys/android_power/request_state': No such file or directory
[ 5.798950] request_suspend_state: wakeup (3->0) at 5796685029 (2016-07-18 17:25:13.566187353 UTC)
[ 5.799133] init: Service 'media' is being killed...
[ 5.799407] init: Service 'netd' is being killed...
[ 5.800170] init: Service 'media' (pid 196) killed by signal 9
[ 5.800262] init: Service 'media' (pid 196) killing any children in process group
[ 5.800689] init: Service 'netd' (pid 193) killed by signal 9
[ 5.800842] init: Service 'netd' (pid 193) killing any children in process group
[ 5.801330] init: Untracked pid 288 killed by signal 9
Looking forward to some help! Thanks!
Related
HI ,
I met a problem, android4.0 is hung on when starting zygote.
E/dalvikvm( 2072): No valid entries found in bootclasspath '/system/framework/am.jar:/system/framework/bmgr.jar:/system/framework/com.android.location.provider.jar:/system/fram'
E/dalvikvm( 2072): VM aborting
[ 11.831907] init: waitpid returned pid 2031, status = 0000000b
[ 11.837980] init: process 'bootanim', pid 2031 exited
[ 14.980098] init: waitpid returned pid 1978, status = 00000000
[ 14.985975] init: process 'zygote', pid 1978 exited
[ 14.990865] init: process 'zygote' killing any children in process group
[ 14.997678] request_suspend_state: wakeup (3->0) at 10790072932 (2012-02-29 07:46:55.428984629 UTC)
[ 15.006766] init: service 'media' is being killed
[ 15.011671] init: starting 'media'
[ 15.015389] init: service 'netd' is being killed
[ 15.020689] init: starting 'netd'
[ 15.024253] init: waitpid returned pid 1974, status = 00000009
[ 15.030087] init: untracked pid 1974 exited
[ 15.034312] init: waitpid returned pid 1980, status = 00000009
[ 15.040156] init: untracked pid 1980 exited
[ 15.044376] init: starting 'zygote'
[ 15.097879] init: Created socket '/dev/socket/dnsproxyd' with mode '660', user '0', group '3003'
[ 15.106738] init: Created socket '/dev/socket/netd' with mode '660', user '0', group '1000'
[ 15.147848] init: Created socket '/dev/socket/zygote' with mode '666', user '0', group '0'
and adb can only use by the first time, when flash system.img to the system
ICS already ported to Tegra 2 on Vega Tablet - http://forum.xda-developers.com/showthread.php?t=1397204
Does the kernel work on the R ?
Herpderp Defy.
Thanks for the information
well, I have a OEM designed tegra2 phone.
when I decide to port ics to tegra2, I use:
android-tegra-2.6.36 to make zImage, and the kernel working aright.
and ics-4.0.3 's stingray's system.img
at last I met the bugs above.
and thankyou for your link, but I can't download that .
1> if these steps are right?
2> what can I do now?
I've been having sporadic hard reboots ever since I got my LG G2. It happens sporadically; perhaps once in 2 days. I really can't pin point what causes it. I'm pretty sure I had one while the phone was completely stock, not rooted, not loki-fied. The last one happened just now; I opened YouTube and the system rebooted.
I'm on stock 4.2.2, rooted, TWRP installed. Of tweaks, only greenify and Xposed G2 settings. Everything else is stock.
Can anyone help me find out the cause for this?
Code:
[ 255.115484 / 01-04 10:22:39.509] [RGB LED] pattern_num=0
[ 255.116174 / 01-04 10:22:39.509] [RGB LED] pattern_num=6
[ 255.202478 / 01-04 10:22:39.599] init: sys_prop: permission denied uid:1003 name:sys.lge.shutdownani.completed
[ 255.421432 / 01-04 10:22:39.819] smb349_irq_worker: [IRQ 35h~3Ah] A:0x00, B:0x01, C:0x08, D:0x50, E:0x00, F:0x01
[ 255.425965 / 01-04 10:22:39.819] smb349_irq_worker: [BH] DC is present. DC_IN volt:4568700
[ 255.430404 / 01-04 10:22:39.819] smb349_is_charger_present: DC is present. DC_IN volt:4572600
[ 256.431551 / 01-04 10:22:40.829] smb349_irq_worker: [IRQ 35h~3Ah] A:0x00, B:0x01, C:0x08, D:0x50, E:0x00, F:0x01
[ 256.439335 / 01-04 10:22:40.829] smb349_irq_worker: [BH] DC is present. DC_IN volt:4631160
[ 256.443758 / 01-04 10:22:40.839] smb349_is_charger_present: DC is present. DC_IN volt:4629200
[ 256.771471 / 01-04 10:22:41.169] smb349_irq_worker: [IRQ 35h~3Ah] A:0x00, B:0x01, C:0x0C, D:0x50, E:0x00, F:0x01
[ 256.775895 / 01-04 10:22:41.169] smb349_irq_worker: [BH] DC is present. DC_IN volt:4640920
[ 256.780312 / 01-04 10:22:41.169] smb349_is_charger_present: DC is present. DC_IN volt:4629200
[ 257.111424 / 01-04 10:22:41.509] smb349_irq_worker: [IRQ 35h~3Ah] A:0x00, B:0x01, C:0x0C, D:0x50, E:0x00, F:0x01
[ 257.115819 / 01-04 10:22:41.509] smb349_irq_worker: [BH] DC is present. DC_IN volt:4857540
[ 257.120224 / 01-04 10:22:41.509] smb349_is_charger_present: DC is present. DC_IN volt:4648720
[ 260.060563 / 01-04 10:22:44.459] pet_watchdog
[ 260.065011 / 01-04 10:22:44.459] [XO_THERM] Result:49 Raw:29330
[ 264.215318 / 01-04 10:22:48.609] SysRq : Emergency Remount R/O
[ 264.218485 / 01-04 10:22:48.609] EXT4-fs (mmcblk0p30): re-mount start. with ro
[ 264.221556 / 01-04 10:22:48.619] EXT4-fs (mmcblk0p30): re-mounted. end. Opts: (null)
[ 264.268885 / 01-04 10:22:48.659] EXT4-fs (mmcblk0p35): re-mount start. with ro
[ 264.273008 / 01-04 10:22:48.669] EXT4-fs (mmcblk0p35): re-mounted. end. Opts: (null)
[ 264.314304 / 01-04 10:22:48.709] EXT4-fs (mmcblk0p31): re-mount start. with ro
[ 264.394251 / 01-04 10:22:48.789] EXT4-fs (mmcblk0p31): re-mounted. end. Opts: (null)
[ 264.394646 / 01-04 10:22:48.789] EXT4-fs (mmcblk0p14): re-mount start. with ro
[ 264.399190 / 01-04 10:22:48.789] EXT4-fs (mmcblk0p14): re-mounted. end. Opts: (null)
[ 264.399528 / 01-04 10:22:48.789] EXT4-fs (mmcblk0p22): re-mount start. with ro
[ 264.402598 / 01-04 10:22:48.799] EXT4-fs (mmcblk0p22): re-mounted. end. Opts: (null)
[ 264.403068 / 01-04 10:22:48.799] EXT4-fs (mmcblk0p21): re-mount start. with ro
[ 264.405283 / 01-04 10:22:48.799] EXT4-fs (mmcblk0p21): re-mounted. end. Opts: (null)
[ 264.405639 / 01-04 10:22:48.799] EXT4-fs (mmcblk0p25): re-mount start. with ro
[ 264.407744 / 01-04 10:22:48.799] EXT4-fs (mmcblk0p25): re-mounted. end. Opts: (null)
[ 264.407997 / 01-04 10:22:48.799] Emergency Remount complete
[ 264.553693 / 01-04 10:22:48.949] uei_irrc_shutdown
[ 264.554144 / 01-04 10:22:48.949] mdss_dsi_panel_shutdown - start panel shutdown in order to prevent s/w flickering
[ 264.570581 / 01-04 10:22:48.969] lm3630_backlight_off from level 114
[ 264.581712 / 01-04 10:22:48.979] mdss_fb_blank_sub: mdss_fb_blank_sub: BLANK
[ 264.581729 / 01-04 10:22:48.979] mdss_mdp_ctl_stop: ctl_num=0
[ 264.581743 / 01-04 10:22:48.979] mdss_mdp_cmd_stop
[ 264.581753 / 01-04 10:22:48.979] mdss_mdp_cmd_stop: vsync should be disabled
[ 264.634294 / 01-04 10:22:49.029] mdss_dsi_blank
[ 264.634317 / 01-04 10:22:49.029] mdss_dsi_panel_off: ctrl=d7a8c810 ndx=0
[ 264.775714 / 01-04 10:22:49.179] mdss_dsi_off+: ctrl=d7a8c810 ndx=0
[ 264.843758 / 01-04 10:22:49.239] mdss_dsi_panel_shutdown complete
[ 264.843778 / 01-04 10:22:49.239] Restarting system with command 'Restarted by power key'.
[ 264.843806 / 01-04 10:22:49.239] Going down for restart now
No errors detected
UTS_VERSION
Full log at pastebin.
Hi!
I am new to this forum and this is my first post
I am trying to boot a xperia mini without it's lcd monitor and touch input. The problem is when I take out the lcd the phone does not boot. It will boot if I take out the touchscreen but when the lcd is not connected, the phone will not boot and I guess it will start rebooting again and again.
From a little googling I found a guy (@mpo) who had done a similar job. The link is: marpoz[dot]blogspot[dot]com/2013/05/boot-android-without-touchscreen[dot]html. A brief explanation of how he has solved it is he found there was something with the kernel touchscreen driver. At boot, kernel load module mms_ts which, in turns, trie to communicate with touchscreen controller and, if something fails, it die. Luckily a parameter handling this behavior exists and by changing it's value the phone boots! Here is the terminal command to change it:
Code:
su
echo N > /sys/module/mms_ts/parameters/die_on_flash_fail
The problem is I can't find a module named mms_ts as said in the link. There is no such address and the code he has put there gives an error saying no such directory.
Here is my result for logcat (only errors are logged with a E filter) while the lcd is disconnected but the touchscreen is connected:
Code:
--------- beginning of /dev/log/main
E/kernel ( 145): [ 3.143615] Notify: smsm init
E/kernel ( 145): [ 3.143798] Notify: general
E/kernel ( 145): [ 3.143798] Notify: general
E/kernel ( 145): [ 3.143798] Notify: general
E/kernel ( 145): [ 3.143798] Notify: general
E/kernel ( 145): [ 3.143798] Notify: general
E/kernel ( 145): [ 3.143829] Notify: general
E/kernel ( 145): [ 3.143829] Notify: general
E/kernel ( 145): [ 3.143829] Notify: general
E/kernel ( 145): [ 3.143829] Notify: general
E/kernel ( 145): [ 3.143829] Notify: general
E/kernel ( 145): [ 3.143859] Notify: general
E/kernel ( 145): [ 3.150756] rpcrouter: Server create rejected, version = 0, program = 3000001f
E/kernel ( 145): [ 3.157989] rmt_storage_init_ramfs: No RAMFS table in SMEM
E/kernel ( 145): [ 3.206024] mddi_hitachi_hvga: Detected a non-Hitachi display
E/kernel ( 145): [ 3.206878]
E/kernel ( 145): [ 3.206909] err: Device config mismatch
E/kernel ( 145): [ 6.133239] qup_i2c qup_i2c.4: QUP: I2C status flags :0xb43c8, irq:104
E/kernel ( 145): [ 6.133361] qup_i2c qup_i2c.4: I2C slave addr:0x3d not connected
E/kernel ( 145): [ 6.133483] [CAM KERN DD-SUB]camera_i2c_read transfer failed
E/kernel ( 145): [ 6.133575] [CAM KERN DD-SUB]SEMC sub module is not found
E/kernel ( 145): [ 6.145385] msm_sync_init: failed to initialize semc_sub_camera
E/kernel ( 145): [ 6.630645] power_supply bq27520: driver failed to report `voltage_now' property
E/kernel ( 145): [ 6.656829] mmc0: No card detect facilities available
E/kernel ( 145): [ 7.038665] simple_remote_pf simple_remote_pf.0: simple_remote_pf_button_handler - Button callback not registered
E/kernel ( 145): [ 7.052490] simple_remote_pf simple_remote_pf.0: simple_remote_pf_button_handler - Button callback not registered
E/kernel ( 145): [ 7.062866] simple_remote_pf simple_remote_pf.0: simple_remote_pf_button_handler - Button callback not registered
E/kernel ( 145): [ 7.073028] simple_remote_pf simple_remote_pf.0: simple_remote_pf_button_handler - Button callback not registered
E/kernel ( 145): [ 7.083343] simple_remote_pf simple_remote_pf.0: simple_remote_pf_button_handler - Button callback not registered
E/kernel ( 145): [ 7.101837] simple_remote_pf simple_remote_pf.0: simple_remote_pf_button_handler - Button callback not registered
E/kernel ( 145): [ 7.221069] power_supply bq27520: driver failed to report `voltage_now' property
E/kernel ( 145): [ 7.469970] init: cannot open '/initlogo.rle'
E/kernel ( 145): [ 9.960968] simple_remote_pf simple_remote_pf.0: simple_remote_pf_button_handler - Button callback not registered
E/kernel ( 145): [ 11.168884] android_usb: already disabled
E/kernel ( 145): [ 12.235595] simple_remote_pf simple_remote_pf.0: simple_remote_pf_button_handler - Button callback not registered
E/kernel ( 145): [ 14.588256] simple_remote_pf simple_remote_pf.0: simple_remote_pf_button_handler - Button callback not registered
E/kernel ( 145): [ 16.613464] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
E/kernel ( 145): [ 16.621459] init: cannot find '/system/bin/dfdump', disabling 'dfdump'
E/kernel ( 145): [ 16.734466] smd_pkt_open: DATA13_CNTL open failed -19
E/kernel ( 145): [ 16.734497] smd_pkt_open: DATA14_CNTL open failed -19
E/kernel ( 145): [ 16.913238] simple_remote_pf simple_remote_pf.0: simple_remote_pf_button_handler - Button callback not registered
--------- beginning of /dev/log/system
E/FramebufferNativeWindow( 136): couldn't open framebuffer HAL (No such file or directory)
E/SurfaceFlinger( 136): Display subsystem failed to initialize. check logs. exiting...
E/SEMC Camera HAL( 153): HAL_getNumberOfCameras: E
E/CMarlinMediator( 138): Error : MarlinMediator Failed to get TrustedTime
E/SEMC Camera HAL( 153): HAL_getNumberOfCameras: E
E/kernel ( 145): [ 19.426757] init: untracked pid 137 exited
E/AudioHardwareMSM7X30( 153): msm_set_voice_rx_vol(100) failed errno = 1
E/FramebufferNativeWindow( 292): couldn't open framebuffer HAL (No such file or directory)
E/SurfaceFlinger( 292): Display subsystem failed to initialize. check logs. exiting...
E/kernel ( 145): [ 21.673004] init: untracked pid 258 exited
E/PhonePolicy( 295): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/DASH - bma150_input( 301): bma150_input_init: unable to find bma150 input device!
E/DASH - ak897x( 301): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 301): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 301): ak897x_activate: unable to set accelerometer delay!
E/FramebufferNativeWindow( 325): couldn't open framebuffer HAL (No such file or directory)
E/SurfaceFlinger( 325): Display subsystem failed to initialize. check logs. exiting...
E/kernel ( 145): [ 26.823333] init: untracked pid 295 exited
E/kernel ( 145): [ 26.824096] init: untracked pid 301 exited
E/PhonePolicy( 328): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/DASH - bma150_input( 332): bma150_input_init: unable to find bma150 input device!
E/DASH - ak897x( 332): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 332): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 332): ak897x_activate: unable to set accelerometer delay!
E/FramebufferNativeWindow( 357): couldn't open framebuffer HAL (No such file or directory)
E/SurfaceFlinger( 357): Display subsystem failed to initialize. check logs. exiting...
E/kernel ( 145): [ 30.972808] init: untracked pid 332 exited
E/kernel ( 145): [ 30.972900] init: untracked pid 328 exited
E/PhonePolicy( 360): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/DASH - bma150_input( 364): bma150_input_init: unable to find bma150 input device!
E/DASH - ak897x( 364): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 364): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 364): ak897x_activate: unable to set accelerometer delay!
E/FramebufferNativeWindow( 389): couldn't open framebuffer HAL (No such file or directory)
E/SurfaceFlinger( 389): Display subsystem failed to initialize. check logs. exiting...
E/kernel ( 145): [ 36.121398] init: untracked pid 364 exited
E/kernel ( 145): [ 36.121520] init: untracked pid 360 exited
E/PhonePolicy( 392): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/DASH - bma150_input( 396): bma150_input_init: unable to find bma150 input device!
E/DASH - ak897x( 396): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 396): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 396): ak897x_activate: unable to set accelerometer delay!
E/FramebufferNativeWindow( 421): couldn't open framebuffer HAL (No such file or directory)
E/SurfaceFlinger( 421): Display subsystem failed to initialize. check logs. exiting...
E/kernel ( 145): [ 41.259002] init: untracked pid 392 exited
E/kernel ( 145): [ 41.269958] init: untracked pid 396 exited
E/PhonePolicy( 424): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/DASH - bma150_input( 428): bma150_input_init: unable to find bma150 input device!
E/DASH - ak897x( 428): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 428): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 428): ak897x_activate: unable to set accelerometer delay!
E/FramebufferNativeWindow( 453): couldn't open framebuffer HAL (No such file or directory)
E/SurfaceFlinger( 453): Display subsystem failed to initialize. check logs. exiting...
E/kernel ( 145): [ 46.407623] init: untracked pid 424 exited
E/kernel ( 145): [ 46.415924] init: untracked pid 428 exited
E/PhonePolicy( 456): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/DASH - bma150_input( 460): bma150_input_init: unable to find bma150 input device!
E/DASH - ak897x( 460): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 460): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 460): ak897x_activate: unable to set accelerometer delay!
E/FramebufferNativeWindow( 485): couldn't open framebuffer HAL (No such file or directory)
E/SurfaceFlinger( 485): Display subsystem failed to initialize. check logs. exiting...
E/kernel ( 145): [ 51.554626] init: untracked pid 456 exited
E/kernel ( 145): [ 51.559570] init: untracked pid 460 exited
E/PhonePolicy( 488): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/DASH - bma150_input( 492): bma150_input_init: unable to find bma150 input device!
E/DASH - ak897x( 492): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 492): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 492): ak897x_activate: unable to set accelerometer delay!
E/FramebufferNativeWindow( 517): couldn't open framebuffer HAL (No such file or directory)
E/SurfaceFlinger( 517): Display subsystem failed to initialize. check logs. exiting...
E/kernel ( 145): [ 56.709625] init: untracked pid 492 exited
E/kernel ( 145): [ 56.709716] init: untracked pid 488 exited
E/PhonePolicy( 520): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/DASH - bma150_input( 524): bma150_input_init: unable to find bma150 input device!
E/DASH - ak897x( 524): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 524): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 524): ak897x_activate: unable to set accelerometer delay!
E/FramebufferNativeWindow( 549): couldn't open framebuffer HAL (No such file or directory)
E/SurfaceFlinger( 549): Display subsystem failed to initialize. check logs. exiting...
E/kernel ( 145): [ 61.847625] init: untracked pid 520 exited
E/kernel ( 145): [ 61.855834] init: untracked pid 524 exited
E/PhonePolicy( 552): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/DASH - bma150_input( 556): bma150_input_init: unable to find bma150 input device!
E/DASH - ak897x( 556): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 556): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 556): ak897x_activate: unable to set accelerometer delay!
E/FramebufferNativeWindow( 581): couldn't open framebuffer HAL (No such file or directory)
E/SurfaceFlinger( 581): Display subsystem failed to initialize. check logs. exiting...
E/kernel ( 145): [ 65.994934] init: untracked pid 552 exited
E/kernel ( 145): [ 65.999572] init: untracked pid 556 exited
E/PhonePolicy( 584): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/DASH - bma150_input( 588): bma150_input_init: unable to find bma150 input device!
E/DASH - ak897x( 588): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 588): ak897x_activate: unable to set accelerometer delay!
E/DASH - ak897x( 588): ak897x_activate: unable to set accelerometer delay!
E/FramebufferNativeWindow( 613): couldn't open framebuffer HAL (No such file or directory)
E/SurfaceFlinger( 613): Display subsystem failed to initialize. check logs. exiting...
E/kernel ( 145): [ 71.150024] init: untracked pid 588 exited
E/kernel ( 145): [ 71.150146] init: untracked pid 584 exited
Can anyone help me with a solution to boot android successfully on xperia mini?
thanks in advanced!
I had build aosp generic 6.0.71r and emu 2.5 from source code.I am not able to make it boot. Both of the process compiled successful, but I am getting the below errors after execution the command, emulator -debug-all -logcat '*:v' -show-kernel -kernel ../emu/prebuilts/qemu-kernel/arm/ranchu/kernel-qemu. I am not getting anything on the emulator screen.
Error:
nit: Service 'surfaceflinger' (pid 842) killed by signal 6
init: Service 'surfaceflinger' (pid 842) killing any children in process group
init: Service 'zygote' is being killed...
init: Starting service 'surfaceflinger'...
init: Service 'zygote' (pid 852) killed by signal 9
init: Service 'zygote' (pid 852) killing any children in process group
init: write_file: Unable to open '/sys/android_power/request_state': No such file or directory
init: write_file: Unable to write emulator: MemoryReport: uptime: 26071, Res/ResMax/Virt/VirtMax: 367677440 367677440 3177447424 3238723584
to '/sys/power/state': Invalid argument
init: Service 'media' is being killed...
init: Service 'netd' is being killed...
init: Service 'netd' (pid 845) killed by signal 9
init: Service 'netd' (pid 845) killing any children in process group
init: Untracked pid 945 killed by signal 9
init: Starting service 'netd'...
init: Starting service 'zygote'...
init: Service 'media' (pid 849) killed by signal 9
init: Service 'media' (pid 849) killing any children in process group
Thanks in advance,
ramdisk.img in android 12 AVD seem's have some change in format?
~/Library/Android/sdk/system-images/android-31/google_apis/arm64-v8a/ramdisk.img
it's not compressed by gunzip, but lz4.
I try to extract with
Bash:
lz4 -d ../ramdisk.img - | cpio -idv
then repack
Bash:
find *|cpio --create --format='newc'| lz4 -l -12 --favor-decSpeed - ../../ramdisk.img
everything seems work, but when I reboot the emulator, it fails!
Code:
[ 0.414825][ T1] Run /init as init process
[ 0.416124][ T1] init: init first stage started!
[ 0.416535][ T1] init: Unable to open /lib/modules, skipping module loading.
[ 0.417185][ T1] init: Copied ramdisk prop to /second_stage_resources/system/etc/ramdisk/build.prop
[ 0.418042][ T1] init: [libfs_mgr]ReadFstabFromDt(): failed to read fstab from dt
[ 0.418716][ T1] init: [libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
[ 0.419386][ T1] init: Failed to create FirstStageMount failed to read default fstab for first stage mount
[ 0.420166][ T1] init: Failed to mount required partitions early ...
[ 0.420778][ T1] init: InitFatalReboot: signal 6
[ 0.424685][ T1] init: #00 pc 000000000039be14 /init (UnwindStackCurrent::UnwindFromContext(unsigned long, void*)+96)
[ 0.425492][ T1] init: #01 pc 00000000002f4db8 /init (android::init::InitFatalReboot(int)+104)
[ 0.426175][ T1] init: #02 pc 00000000002f521c /init (android::init::InstallRebootSignalHandlers()::$_24::__invoke(int)+32)
[ 0.427047][ T1] init: #03 pc 000000000000087c [vdso:0000007f83666000]
[ 0.427555][ T1] init: #04 pc 000000000047c4d4 /init (abort+160)
[ 0.428011][ T1] init: #05 pc 00000000002fa1fc /init (android::init::InitAborter(char const*)+44)
[ 0.428639][ T1] init: #06 pc 0000000000353fac /init (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76)
[ 0.429591][ T1] init: #07 pc 0000000000353824 /init (android::base::LogMessage::~LogMessage()+364)
[ 0.430294][ T1] init: #08 pc 00000000002eb7e8 /init (android::init::FirstStageMain(int, char**)+7756)
[ 0.430986][ T1] init: #09 pc 000000000047b3a8 /init (__real_libc_init(void*, void (*)(), int (*)(int, char**, char**), structors_array_t const*, bionic_tcb*)+668)
[ 0.431994][ T1] init: Reboot ending, jumping to kernel
It looks like the repacked ramdisk.img is miss something.
How can I fix that?
thank!