Extract ramdisk.img in android-31 emulator‘s AVD - Android Q&A, Help & Troubleshooting

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!

Related

HELP! Cannot install the myn's android on my niki100. HELP

hi,
I got the file "myn-WarmEclair-06-17-2010-240x320-120.zip" .but I cannot install it success. Who can tell me what should i do? THANKS
NIKI100: WM6.5 2.27.21827.1(NIKI)WWE RADIO:1.71.09.01
SDCARD: Kingston SDHC 4GB
I used ZIamgeNiki100.
Partition:
FAT32: 3.2GB
EXT2: 259MB
EXT2: 259MB
dmesg:
[ 0.000000] Linux version 2.6.25-01025-g3c90f25-dirty () (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #34 PREEMPT Mon Mar 29 01:13:14 WEST 2010
[ 0.000000] CPU: ARMv6-compatible processor [4107b364] revision 4 (ARMv6TEJ), cr=00c5387f
[ 0.000000] Machine: HTC Nike
[ 0.000000] Ignoring unrecognised tag 0x00000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 25856
[ 0.000000] DMA zone: 218 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 25638 pages, LIFO batch:7
[ 0.000000] Normal zone: 0 pages used for memmap
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] CPU0: D VIPT write-back cache
[ 0.000000] CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
[ 0.000000] CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 25638
[ 0.000000] Kernel command line: board-htckaiser.panel_type=0 hw3d.version=1 board-kaiser-battery.battery_capacity=1800 mddi.width=240 mddi.height=320 lcd.density=120 msm_sdcc.msmsdcc_fmax=32000000 pm.sleep_mode=1 no_console_suspend board-htcnike-keypad.keypadlayout=1 board-htcnike-keypad.sticky_timer_time_ms=400
[ 0.000000] Unknown boot option `lcd.density=120': ignoring
[ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[ 0.000000] Console: colour dummy device 80x30
[ 0.000040] console [tty0] enabled
[ 0.001016] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.001770] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.013625] Memory: 56MB 45MB = 101MB total
[ 0.013726] Memory: 97080KB available (2692K code, 1210K data, 104K init)
[ 0.015155] Calibrating delay loop... 383.38 BogoMIPS (lpj=1916928)
[ 0.230800] Mount-cache hash table entries: 512
[ 0.232203] CPU: Testing write buffer coherency: ok
[ 0.235233] net_namespace: 440 bytes
[ 0.237625] NET: Registered protocol family 16
[ 0.248505] msm_i2c_probe
[ 0.248668] msm_i2c_probe: clk_ctl 35d, 100000 Hz
[ 0.280231] Bluetooth: Core ver 2.11
[ 0.281421] NET: Registered protocol family 31
[ 0.281543] Bluetooth: HCI device and connection manager initialized
[ 0.281635] Bluetooth: HCI socket layer initialized
[ 0.284480] NET: Registered protocol family 2
[ 0.290091] Switched to high resolution mode on CPU 0
[ 0.370688] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.372921] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.373341] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.373590] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.373670] TCP reno registered
[ 0.401610] Unpacking initramfs... done
[ 0.948531] Freeing initrd memory: 1193K
[ 0.949683] msm7200: Copying audio table 0 to fd000
[ 0.949810] msm7200: Copying audio table 1 to fd080
[ 0.949880] msm7200: Copying audio table 2 to fd100
[ 0.949946] msm7200: Copying audio table 3 to fd180
[ 0.950081] msm7200: Copying audio table 4 to fd200
[ 0.950161] msm7200: Copying audio table 5 to fd280
[ 0.950226] msm7200: Copying audio table 6 to fd300
[ 0.950291] msm7200: Copying audio table 7 to fd380
[ 0.950355] msm7200: Copying audio table 8 to fd400
[ 0.950416] msm7200: Copying audio table 9 to fd480
[ 0.950480] msm7200: Copying audio table 10 to fd500
[ 0.950543] msm7200: Copying audio table 11 to fd580
[ 0.950606] msm7200: Copying audio table 12 to fd600
[ 0.950670] msm7200: Copying audio table 13 to fd680
[ 0.950733] msm7200: Copying audio table 14 to fd700
[ 0.950798] msm7200: Copying audio table 15 to fd780
[ 0.950861] msm7200: Copying audio table 16 to fd800
[ 0.950925] msm7200: Copying audio table 17 to fd880
[ 0.950988] msm7200: Copying audio table 18 to fd900
[ 0.951051] msm7200: Copying audio table 19 to fd980
[ 0.951116] msm7200: Copying audio table 20 to fda00
[ 0.951180] msm7200: Copying audio table 21 to fda80
[ 0.951243] msm7200: Copying audio table 22 to fdb00
[ 0.951308] msm7200: Copying audio table 23 to fdb80
[ 0.952118] Registered led device: lcd-backlight
[ 0.952438] Registered led device: button-backlight
[ 0.952703] Registered led device: keyboard-backlight
[ 0.952951] Registered led device: red
[ 0.953181] Registered led device: blue
[ 0.953410] Registered led device: green
[ 0.958400] titan ts_init
[ 0.958893] Modem Status:
[ 0.959060] <SM 00000829 00010929>
[ 1.001451] DS-2746 Probe
[ 1.002988] input: htcnike-kbd as /devices/virtual/input/input0
[ 1.003250] Htcnike i2c touch screen
[ 1.004603] input: htcnike-ts as /devices/virtual/input/input1
[ 1.005005]
[ 1.005025] HTC NIKE: Disabling Bluetooth
[ 1.014233] clk_get acpu_clk
[ 1.017145] ashmem: initialized
[ 1.018903] squashfs: version 3.4 (2008/08/26) Phillip Lougher
[ 1.019256] yaffs Mar 29 2010 01:05:26 Installing.
[ 1.019410] io scheduler noop registered (default)
[ 1.019475] io scheduler deadline registered
[ 1.020625] logger: created 64K log 'log_main'
[ 1.020923] logger: created 256K log 'log_events'
[ 1.021168] logger: created 64K log 'log_radio'
[ 1.021338] ram_console: got buffer at e0000, size 20000
[ 1.021511] ram_console: found existing buffer, size 70751, start 70751
[ 1.025946] console [ram-1] enabled
[ 1.030548] pmem: 1 init
[ 1.031160] PMEMmem 17800000 800000 at c8000000
[ 1.031535] pmem_adsp: 0 init
[ 1.032193] PMEMmem_adsp 17500000 300000 at c7400000
[ 1.032575] pmem_gpu0: 0 init
[ 1.033488] PMEMmem_gpu0 100000 700000 at c7800000
[ 1.033916] pmem_gpu1: 0 init
[ 1.034858] PMEMmem_gpu1 16d00000 800000 at c9000000
[ 1.035700] clk_get mdp_clk
[ 1.036323] mddi_pmdh: init() base=0xe000b000 irq=16
[ 1.036441] clk_get pmdh_clk
[ 1.036820] mddi_pmdh: unsupported version 0x19
[ 1.037038] mddi cmd send rtd: int 23a000, stat 808063, rtd val d
[ 1.037345] mddi_pmdh: publish: mddi_c_0000_0000
[ 1.038303] vsync on gpio 97 now 0
[ 1.038423] mddi_pmdh: mddi_add_panel(c03e8658, c02fa190)
[ 1.038503] mddi_pmdh: publish: mddi_panel
[ 1.038916] msmfb_probe() installing 240 x 320 panel
[ 1.050000] fus
[ 1.050000] fake_vsync_int for update
[ 1.050000] mddi0_panel_power(1)
[ 1.052830] Console: switching to colour frame buffer device 40x29
[ 2.004266] clk_get uart1dm_clk
[ 2.006906] clk_set_rate 34:1843200
[ 2.009500] msm_serial_hs.0: ttyMSM0 at MMIO 0xa0200000 (irq = 45) is a MSM HS UART
[ 2.013211] loop: module loaded
[ 2.020211] PPP generic driver version 2.4.2
[ 2.025525] PPP Deflate Compression module registered
[ 2.030061] PPP BSD Compression module registered
[ 2.041586] allocated dma buffer at ffc7b000, dma_addr 160e9000
[ 2.047248] read CFG0 = aad400c0, CFG1 = 4747c
[ 2.050215] CFG0 = a8d408c0, CFG1 = 4745c
[ 2.056040] CFG0: cw/page=3 ud_sz=516 ecc_sz=10 spare_sz=1 num_addr_cycles=5
[ 2.060086] NAND_READ_ID = 1500aaec
[ 2.063213] status: c03020
[ 2.070083] nandid: 1500aaec maker ec device aa
[ 2.076163] CFG0: cw/page=3 ud_sz=512 ecc_sz=10 spare_sz=5
[ 2.080071] DEV_CMD1: f00f3000
[ 2.083238] <6>NAND_EBI2_ECC_BUF_CFG: 0
[ 2.090188] flash_id: 1500aaec size 5580ba2c10000000
[ 2.100185] usb_probe() io=c7010000, irq=15, dma=ffc7c000(160ea000)
[ 2.106416] clk_get usb_hs_clk
[ 2.109416] clk_get usb_hs_pclk
[ 2.110613] usb_function_register() 'adb'
[ 2.116751] usb_function_register() 'usb_mass_storage'
[ 2.120071] msm_hsusb: functions bound. starting.
[ 2.130601] usb_mass_storage usb_mass_storage: Number of LUNs=1
[ 2.137196] hsusb: IDLE -> ONLINE
[ 2.140071] hsusb: reset controller c60e0000
[ 2.166465] usb: notify offline
[ 2.169460] hsusb: ONLINE -> OFFLINE
[ 2.170831] usb_ether_setup()
[ 2.175855] usb_function_register() 'ether'
[ 2.210370] mice: PS/2 mouse device common for all mice
[ 2.270315] GPIO Event Driver
[ 2.273523] MSM RTC init
[ 2.276490] RTC probe
[ 2.280291] msm_rtc msm_rtc.0: rtc core: registered msm_rtc as rtc0
[ 2.285931] MSM RTC started
[ 2.288993] s5k4b1fx: probe
[ 2.295838] Bluetooth: HCI UART driver ver 2.2
[ 2.300065] Bluetooth: HCI H4 protocol initialized
[ 2.305306] Bluetooth: HCILL protocol initialized
[ 2.310758] clk_get sdc2_pclk
[ 2.313603] clk_get_rate 22:66000000
[ 2.316305] clk_get sdc2_clk
[ 2.320088] clk_set_rate 21:144000
[ 2.324750] set sd clock - 0 1
[ 2.430071] clk_get_rate 21:144000
[ 2.433313] mmc0: Qualcomm MSM SDCC at 0x00000000e1001000 irq 26,0 dma 8
[ 2.438440] mmc0: 4 bit data mode enabled
[ 2.440140] mmc0: MMC clock 144000 -> 32000000 Hz, PCLK 66000000 Hz
[ 2.445610] mmc0: Slot eject status = 0
[ 2.450048] mmc0: Power save feature enable = 1
[ 2.460075] mmc0: DM non-cached buffer at ffc7e000, dma_addr 0x16102000
[ 2.465796] mmc0: DM cmd busaddr 0x16102000, cmdptr busaddr 0x16102300
[ 2.470036] mmc0: Polling status mode enabled
[ 2.476571] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 2.484033] TCP cubic registered
[ 2.490376] NET: Registered protocol family 1
[ 2.496785] NET: Registered protocol family 17
[ 2.500176] Bluetooth: L2CAP ver 2.9
[ 2.503371] Bluetooth: L2CAP socket layer initialized
[ 2.510176] Bluetooth: SCO (Voice Link) ver 0.6
[ 2.520041] Bluetooth: SCO socket layer initialized
[ 2.526425] Bluetooth: RFCOMM socket layer initialized
[ 2.530056] Bluetooth: RFCOMM ver 1.9
[ 2.533135] Bluetooth: BNEP (Ethernet Emulation) ver 1.2
[ 2.540338] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.547766] msm_rtc msm_rtc.0: setting system clock to 2010-06-22 16:15:20 UTC (1277223320)
[ 2.550256] Freeing init memory: 104K
[ 2.909233] mmc0: Command timeout
[ 2.910000] mmc0: Command timeout
[ 2.910000] mmc0: Command timeout
[ 2.910000] mmc0: Command timeout
[ 2.910000] SD Init
[ 2.938656] mmc_sd_init_card: Delay 250 ms
[ 3.200000] clk_set_rate 21:32000000
[ 3.200000] set sd clock - 0 1
[ 3.301511] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 3.308835] SD Init Retry
[ 3.310058] mmc0: new high speed SDHC card at address 0002
[ 3.315890] mmcblk0: mmc0:0002 SD4GB 3955712KiB
[ 3.320553] mmcblk0: p1 p2 p3
Click to expand...
Click to collapse
Bootlog
** /dev/block/mmcblk0p1
** Phase 1 - Read and Compare FATs
Attempting to allocate 3335 KB for FAT
Attempting to allocate 3335 KB for FAT
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
Next free cluster in FSInfo block (735) not free
Fix? yes
495 files, 1378148 free (344537 clusters)
Formatting...
mke2fs: cannot determine if /dev/block/mmcblk0p2 is mounted
mke2fs: cannot determine if /dev/block/mmcblk0p3 is mounted
Installing...
Android Installed
Fixing Permissions on files
chown: /system/bin: Stale NFS file handle
chown: /system/etc: Stale NFS file handle
chown: /system/fonts: Stale NFS file handle
chown: /system/modules/lib/modules: Stale NFS file handle
chown: /system/xbin: Stale NFS file handle
chmod: /system/bin: Stale NFS file handle
chmod: /system/etc: Stale NFS file handle
chmod: /system/fonts: Stale NFS file handle
chmod: /system/modules/lib/modules: Stale NFS file handle
chmod: /system/xbin: Stale NFS file handle
chown: /data/app_s: No such file or directory
chmod: /data/app_s: No such file or directory
chown: /system/bin: Stale NFS file handle
chmod: /system/bin: Stale NFS file handle
chown: /system/xbin: Stale NFS file handle
chmod: /system/xbin: Stale NFS file handle
chown: /system/bin/netcfg: Stale NFS file handle
chmod: /system/bin/netcfg: Stale NFS file handle
chown: /system/bin/ping: Stale NFS file handle
chmod: /system/bin/ping: Stale NFS file handle
chown: /system/bin/pppd: Stale NFS file handle
chmod: /system/bin/pppd: Stale NFS file handle
chown: /system/etc/bluez: Stale NFS file handle
chmod: /system/etc/bluez: Stale NFS file handle
chown: /system/etc/ppp: Stale NFS file handle
chmod: /system/etc/ppp: Stale NFS file handle
chown: /system/etc/bluez: Stale NFS file handle
chmod: /system/etc/bluez: Stale NFS file handle
chown: /system/etc/dbus.conf: Stale NFS file handle
chmod: /system/etc/dbus.conf: Stale NFS file handle
chown: /system/etc/dhcpcd/dhcpcd-run-hooks: Stale NFS file handle
chmod: /system/etc/dhcpcd/dhcpcd-run-hooks: Stale NFS file handle
chown: /system/bin/su: Stale NFS file handle
chmod: /system/bin/su: Stale NFS file handle
chown: /system/init: No such file or directory
chmod: /system/init: No such file or directory
chown: /system/etc/init.d: Stale NFS file handle
chmod: /system/etc/init.d: Stale NFS file handle
grep: /system/etc/apns-conf.xml: Stale NFS file handle
sed: /system/etc/apns-conf.xml: Stale NFS file handle
/bin/instscripts/fixperms: line 90: can't create /system/etc/apns-conf.xml: Stale NFS file handle
Formatting...
mke2fs: cannot determine if /dev/block/mmcblk0p3 is mounted
Installing...
Formatting...
mke2fs: cannot determine if /dev/block/mmcblk0p3 is mounted
Formatting...
mke2fs: cannot determine if /dev/block/mmcblk0p3 is mounted
Formatting...
mke2fs: cannot determine if /dev/block/mmcblk0p3 is mounted
sh: 1: unknown operand
Using partitioned system
e2fsck 1.38 (30-Jun-2005)
e2fsck: while determining whether /dev/block/mmcblk0p2 is mounted
/dev/block/mmcblk0p2: clean, 793/68544 files, 83433/273104 blocks
e2fsck 1.38 (30-Jun-2005)
e2fsck: while determining whether /dev/block/mmcblk0p3 is mounted
/dev/block/mmcblk0p3: clean, 11/64512 files, 8158/257040 blocks
mount: mounting /data/sysfiles/su on /system/bin/su failed: Stale NFS file handle
mount: mounting /data/sysfiles/su on /system/xbin/su failed: Stale NFS file handle
mount: mounting /data/sysfiles on /system/etc/ppp failed: Stale NFS file handle
Click to expand...
Click to collapse

porting ics to tegra2 failed. what can i do?

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?

[Q] Can someone help me troubleshoot this last_kmseg (random reboots on LG G2)

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.

[Q] How to boot xperia mini android without monitor?

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!

How to debug zygote problems?

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!

Categories

Resources