[Q] [dev] help me in porting rom - Android Q&A, Help & Troubleshooting

hi friends
I want to port rom for my device (optimus one) from (optimus gt540)
well I do all basic things like
changing kernel
build.prop
vold.fstab
usr folder
but
phone is stuck at LG loge here is the logcat
--------- beginning of /dev/log/main
I/DEBUG ( 1418): debuggerd: Jun 13 2011 00:42:24
E/RPC ( 1426): error opening /dev/oncrpc/3000008c:00040000: No such file or directory
E/RPC ( 1426): ERROR OPENING [/dev/oncrpc/3000008c:00040000]: No such file or directory
E/RPC ( 1426): failed to initialize client (permissions?)!
E/loc_api_rpc_glue( 1426): Error: cannot create RPC client.
D/WiperIface( 1426): WiperIface open : Location handle -1234, pid 1426
D/libloc ( 1426): loc_read_gps_conf: using /etc/gps.conf
D/libloc ( 1426): loc_read_gps_conf: PARAM INTERMEDIATE_POS = 1
D/libloc ( 1426): loc_read_gps_conf: PARAM ACCURACY_THRES = 3000
D/libloc ( 1426): qct_loc_eng_wiper_init: wiper enable = 0
--------- beginning of /dev/log/system
I/Vold ( 1416): Vold 2.1 (the revenge) firing up
D/Vold ( 1416): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1416): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 1416): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
W/Vold ( 1416): Ignoring unknown switch 'usb_connected'
W/Vold ( 1416): Ignoring unknown switch 'usb_configuration'
W/Vold ( 1416): Ignoring unknown switch 'usb_connected'
W/Vold ( 1416): Ignoring unknown switch 'MSM72K_UDC'
W/Vold ( 1416): Ignoring unknown switch 'MSM72K_UDC'
W/Vold ( 1416): Ignoring unknown switch 'usb_configuration'
Click to expand...
Click to collapse
after this there is no changes(I wait 15 minutes)
any idea?
thanks for help

It may help U:
http://forum.xda-developers.com/showthread.php?t=1273718

Related

[Q] Internal SDCcard automount problem

EDIT: The problem has vanished for me when installing firmware "KE7" rather than "KE2". Lesson learnt: even if a stock (!) firmware version is recommended as a stable fallback in recovery tutorials, it might still be that it causes fundamental problems that do not occur elsewhere. Going back to an old, well-tested built of firmware is not better than any other attempt at fixing things. Problems on Android-based systems are not fixed by analysing/understanding the issue but by wiping/reflashing/reformatting until a stable solution is found.
I am running Android 2.3.3 using Samsung stock firmware "KE2" and a CFRoot kernel on a Galaxy SII (I9100). I have wiped and reflashed the device multiple times.
Problem: The internal SD card is not mounted, and not available in any application (cannot install apps, cannot see free memory on SD card in settings).
Diagnosis:
Using adb I see that the sdcard is mounted under /mnt/secure. Relevant output of "mount":
Code:
/dev/block/vold/179:11 on /mnt/secure/staging type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard)
The SD card works and can be read and written (as root accessing /mnt/secure/). It can be mounted manually under /mnt/sdcard.
I couldn't spot relevant data in dmesg, the only mentioning of the device is in the lines:
Code:
<3>[ 1.691465] init: [disk_config] :::: /dev/block/mmcblk0p11 (vfat):::::
<3>[ 1.692752] init: [disk_config] vfat_identify -> ok
The output of "logcat Vold:I *:S" is:
Code:
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
I/Vold ( 2566): Vold 2.1.1 (the revenge) firing up
I/Vold ( 2566): Volume::setState -> Volume sdcard /mnt/sdcard state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 2566): Volume::setState -> Volume sdcard1 /mnt/sdcard/external_sd state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 2566): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 0 (No-Media) to 2 (Pending)
I/Vold ( 2566): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 2 (Pending) to 1 (Idle-Unmounted)
W/Vold ( 2566): Duplicate state (1)
I/Vold ( 2566): /dev/block/vold/179:11 being considered for volume sdcard
I/Vold ( 2566): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 1 (Idle-Unmounted) to 3 (Checking)
I/Vold ( 2566): discard -> /system/bin/discard_util -s 1000 /dev/block/vold/179:11
I/Vold ( 2566): discard OK
I/Vold ( 2566): NetlinkHandler::onEvent ->[switch] from uevent
I/Vold ( 2566): Filesystem check completed OK
I/Vold ( 3636): Vold 2.1.1 (the revenge) firing up
I/Vold ( 3636): Volume::setState -> Volume sdcard /mnt/sdcard state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 3636): Volume::setState -> Volume sdcard1 /mnt/sdcard/external_sd state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 3636): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 0 (No-Media) to 2 (Pending)
I/Vold ( 3636): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 2 (Pending) to 1 (Idle-Unmounted)
W/Vold ( 3636): Duplicate state (1)
I/Vold ( 3871): Vold 2.1.1 (the revenge) firing up
I/Vold ( 3871): Volume::setState -> Volume sdcard /mnt/sdcard state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 3871): Volume::setState -> Volume sdcard1 /mnt/sdcard/external_sd state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 3871): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 0 (No-Media) to 2 (Pending)
I/Vold ( 3636): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 1 (Idle-Unmounted) to 2 (Pending)
I/Vold ( 3871): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 2 (Pending) to 1 (Idle-Unmounted)
I/Vold ( 3636): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 2 (Pending) to 1 (Idle-Unmounted)
W/Vold ( 3871): Duplicate state (1)
W/Vold ( 3636): Duplicate state (1)
E/Vold ( 3871): Unable to start CommandListener (No such file or directory)
Related threads:
There are but a few threads with slightly similar topics, but none of them provided answers: [Q] Phone doesn't recognize USB internal storage as SD Card, [Q] i9000 - internal sdcard gone - problems with boot / external sdcard mounting, [Solved] sdcard unmounted or not present,
Any pointers how I can further diagnose this are appreciated (helping me to help myself). I am not aware of any more logs that could be relevant. Thanks!

[Q] Boot Fail - Netd loop

Hey guys I recently edited the init.rc in the boot.img of my ROM to try and fix the SD card mount problem. After I made select changes to the file while comparing it to IceColdSandwich 8.2's init.rc file, I now get stuck at the white HTC screen and the logcat shows netd just keeps saying starting... but never starts. Any ideas as to what's causing this?
Code:
--------- beginning of /dev/log/main
I/cm ( 1299): Welcome to Android 4.0.4 / CyanogenMod-CM9-Woot!
I/cm ( 1300): _
I/cm ( 1301): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
I/cm ( 1302): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
I/cm ( 1303): )) _))
I/cm ( 1304):
I/DEBUG ( 1309): debuggerd: Jul 3 2012 00:16:21
I/rmt_storage( 1319): rmt_storage user app start
I/rmt_storage( 1319): rmt_storage open success
I/rmt_storage( 1319): rmt_storage shared memory ioctl success
I/rmt_storage( 1319): rmt_storage mmap addr = 4000d000
E/HtcEbdLog( 1322): open /devlog/.htc_ebdlog.daemon.pid: Read-only file system
E/HtcEbdLog( 1322): write /devlog/.htc_ebdlog.daemon.pid: Bad file number
I/Netd ( 1308): Netd 1.0 starting
D/AK8975 ( 1318): AK8975 daemon 1.0.8 Start
D/AK8975 ( 1318): (Library version : 1.2.1.1125)
--------- beginning of /dev/log/system
I/Vold ( 1307): Vold 2.1 (the revenge) firing up
D/Vold ( 1307): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1307): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 1307): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 65, PARTN 1
D/Vold ( 1307): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/ ( 1313): ServiceManager: 0x18910
I/Netd ( 1408): Netd 1.0 starting
I/Netd ( 1430): Netd 1.0 starting
I/Netd ( 1452): Netd 1.0 starting
I/Netd ( 1474): Netd 1.0 starting
I/Netd ( 1496): Netd 1.0 starting
I/Netd ( 1518): Netd 1.0 starting
Also I can never seem to find any information on what hell is going on when the logcat shows -
E/HtcEbdLog( 1322): open /devlog/.htc_ebdlog.daemon.pid: Read-only file system
E/HtcEbdLog( 1322): write /devlog/.htc_ebdlog.daemon.pid: Bad file number
Does anyone know what that means and how it can be fixed?
You should post the original and your modified init.rc files, as well as the diff between the two, so people could see rapidly what you have changed and how it affected the boot. Just saying
adlx.xda said:
You should post the original and your modified init.rc files, as well as the diff between the two, so people could see rapidly what you have changed and how it affected the boot. Just saying
Click to expand...
Click to collapse
Thanks, I'll make sure to do that next time I ask a question related to the boot.img. I figured this one out on my own though
ZaySk said:
Thanks, I'll make sure to do that next time I ask a question related to the boot.img. I figured this one out on my own though
Click to expand...
Click to collapse
Hey,
any chance you could share your resolution or what you did wrong in the first place ?
Would be very appreciated.
With Regards,
meld0
ZaySk said:
Thanks, I'll make sure to do that next time I ask a question related to the boot.img. I figured this one out on my own though
Click to expand...
Click to collapse
I would also be interested in knowing how the problem was remedied.
I have the same problem
Here's my output from logcat. What did you do to solve this?
--------- beginning of /dev/log/system
I/USB3G ( 90): usb 3g monitor v0.1 start
I/USB3G ( 90): event { 'add', '/devices/platform/sw_hcd_host0/usb1', 'usb', '', 189, 0 }
I/Netd ( 81): Netd 1.0 starting
I/Vold ( 80): Vold 2.1 (the revenge) firing up
D/Vold ( 80): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 80): Volume extsd state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 80): Volume usbhost1 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 80): Volume sdcard state changing 0 (No-Media) -> 1 (Idle-Unmounted)
I/Netd ( 119): Netd 1.0 starting
I/Netd ( 140): Netd 1.0 starting
I/Netd ( 179): Netd 1.0 starting
I/Netd ( 191): Netd 1.0 starting
I/Netd ( 220): Netd 1.0 starting
I/Netd ( 229): Netd 1.0 starting

[Q][2.3] Vold ignores partition number?

VOLD seems to ignore partition number specified in vold.fstab:
Stock vold.fstab:
Code:
dev_mount sdcard /mnt/sdcard [COLOR="Red"][B]auto [/B][/COLOR]/devices/platform/msm_sdcc.3/mmc_host
I changed it to:
Code:
dev_mount sdcard /mnt/sdcard [COLOR="Red"][B]21 [/B][/COLOR]/devices/platform/msm_sdcc.3/mmc_host
But VOLD still tries to mount partition No 20 (the stock partition meant for sdcard, which is now formatted as EXT4) and fails.
logcat output:
Code:
I/Vold ( 124): Vold 2.1 (the revenge) firing up
D/Vold ( 124): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 124): Volume extsdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 124): Volume sdcard state changing 0 (No-Media) -> 1 (Idle-Unmounted)
W/Vold ( 124): Duplicate state (1)
W/Vold ( 124): Ignoring unknown switch 'usb_mass_storage'
W/Vold ( 124): Ignoring unknown switch 'usb_connected'
D/Vold ( 124): USB disconnected
D/Vold ( 124): Share method ums now unavailable
W/Vold ( 124): Ignoring unknown switch 'MSM72K_UDC'
W/Vold ( 124): Ignoring unknown switch 'usb_connected'
W/Vold ( 124): Ignoring unknown switch 'usb_mass_storage'
W/Vold ( 124): Ignoring unknown switch 'MSM72K_UDC'
D/Vold ( 124): USB connected
D/Vold ( 124): Share method ums now available
D/VoldCmdListener( 124): volume list
D/VoldCmdListener( 124): share status ums
D/VoldCmdListener( 124): share status ums
D/VoldCmdListener( 124): volume mount /mnt/sdcard
D/Vold ( 124): partNode : 0xb314
E/Vold ( 124): no need to check the rest of partitions, skip : 23
E/Vold ( 124): no need to check the rest of partitions, skip : 22
E/Vold ( 124): no need to check the rest of partitions, skip : 21
I/Vold ( 124): /dev/block/vold/179:20 being considered for volume sdcard
D/Vold ( 124): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
E/Vold ( 124): Filesystem check failed (not a FAT filesystem)
W/Vold ( 124): /dev/block/vold/179:20 does not contain a FAT filesystem
E/Vold ( 124): no need to check the rest of partitions, skip : 19
E/Vold ( 124): no need to check the rest of partitions, skip : 18
E/Vold ( 124): no need to check the rest of partitions, skip : 17
E/Vold ( 124): no need to check the rest of partitions, skip : 16
E/Vold ( 124): no need to check the rest of partitions, skip : 15
E/Vold ( 124): no need to check the rest of partitions, skip : 14
E/Vold ( 124): no need to check the rest of partitions, skip : 13
E/Vold ( 124): no need to check the rest of partitions, skip : 12
E/Vold ( 124): no need to check the rest of partitions, skip : 11
E/Vold ( 124): no need to check the rest of partitions, skip : 10
E/Vold ( 124): no need to check the rest of partitions, skip : 9
E/Vold ( 124): no need to check the rest of partitions, skip : 8
E/Vold ( 124): no need to check the rest of partitions, skip : 7
E/Vold ( 124): no need to check the rest of partitions, skip : 6
E/Vold ( 124): no need to check the rest of partitions, skip : 5
E/Vold ( 124): no need to check the rest of partitions, skip : 4
E/Vold ( 124): no need to check the rest of partitions, skip : 3
E/Vold ( 124): no need to check the rest of partitions, skip : 2
E/Vold ( 124): no need to check the rest of partitions, skip : 1
E/Vold ( 124): no need to check the rest of partitions, skip : 0
E/Vold ( 124): Volume sdcard found no suitable devices for mounting :(
D/Vold ( 124): Volume sdcard state changing 3 (Checking) -> 1 (Idle-Unmounted)
D/VoldCmdListener( 124): volume shared /mnt/sdcard ums
Does anyone have any clue on how does VOLD know which partition to mount?
(My device is LG E405 running rooted stock firmware, android 2.3.)

[Q] [HELP] understand my logcat

Hello, here is my problem,
I have always ported the miui rom to my thl w200 device.
in the latest builds, after porting it to my phone I get stuck at bootlogo.
I did a logcat but cant really find what causes this.
someone can look at it and help me?
--------- beginning of /dev/log/main
I/Resize ( 86): The size of data already meet the request.
I/Resize ( 86): Partition has been resized,so nothing to do!
D/ADB_SERVICES( 158): install_listener('tcp:5037','*smartsocket*')
D/ADB_SERVICES( 158): adb_main(): pre init_jdwp()
D/ADB_SERVICES( 158): adb_main(): post init_jdwp()
D/ADB_SERVICES( 158): Event loop starting
D/ADB_SERVICES( 158): transport: 0xf67520 init'ing for usb_handle 0xf67498 (sn='')
I/ADB_SERVICES( 158): transport: usb
D/ADB_SERVICES( 158): transport: (null) registered
D/ADB_SERVICES( 158): transport: (null) (16,17) starting
W/ADB_SERVICES( 158): (null): starting transport input thread, reading from fd 17
W/ADB_SERVICES( 158): (null): starting transport output thread on fd 17, SYNC online (2)
D/ADB_SERVICES( 158): recv: SYNC 00000001 00000002 0000
W/ADB_SERVICES( 158): (null): transport SYNC online
E/ccci_mdinit(0)( 121): md_init ver:1.00
E/ccci_mdinit(0)( 120): md_init ver:1.00
I/6620_launcher( 117): open device node succeed.(Node:/dev/stpwmt, fd:3)
I/6620_launcher( 117): keypersist.mtk.wcn.combo.chipid)-value0x6628),chipId:0x6628
I/6620_launcher( 117): index:1, chipId:0x6628
I/6620_launcher( 117): chiId:0x6628
I/6620_launcher( 117): index:1, chipId:0x6628
I/6620_launcher( 117): set chipId(0x6628) to HIF-SDIO module
I/6620_launcher( 117): Info:key:mt6620.defAnt value:mt6620_ant_m3.cfg
I/6620_launcher( 117): Info:key:mt6628.defAnt value:mt6628_ant_m1.cfg
I/6620_launcher( 117): NULL is returned, eighter EOF or error maybe found
I/6620_launcher( 117): close /system/etc/firmware/WMT.cfg succeed
I/6620_launcher( 117): index:1, chipId:0x6628
I/6620_launcher( 117): STP Mode is not set, fetching default mode...
I/6620_launcher( 117): chipId(0x6628), default Mode(1), strlen(gWmtCfgName)(39), wmtCfgFile(/system/etc/firmware//mt6628_ant_m1.cfg)
I/6620_launcher( 117): HifConfig:0x0001, wmtCfgFile:/system/etc/firmware//mt6628_ant_m1.cfg
I/6620_launcher( 117): keyro.build.type)-valueuser)
I/6620_launcher( 117): MCU patch folder path: /system/etc/firmware/
I/6620_launcher( 117): Common Interface: UART mode
I/6620_launcher( 117): MCU patch folder path: /system/etc/firmware/
I/6620_launcher( 117): Common Interface: UART mode
I/6620_launcher( 117): uart name ttyMT2
D/MsensorDaemon( 151): Msensor deamon statr!!!!!!!!!!!!
D/MsensorDaemon( 151): msensor demon start process detect demon name = memsicd3416x
D/MsensorDaemon( 151):
D/MsensorDaemon( 151): msensor demon start process detect demon prop = init.svc.memsicd3416x
D/MsensorDaemon( 151):
D/MsensorDaemon( 151): start_msensor_demon
D/MsensorDaemon( 151): HAVE_LIBC_SYSTEM_PROPERTIES
E/MsensorDaemon( 151): [99] ''
D/permission_check( 145): permission check ver:0.01
D/permission_check( 145): Empty, not decrypt!
D/permission_check( 145): change_md_nvram_attr++
--------- beginning of /dev/log/system
E/POAD ( 155): boot_mode = 0
E/POAD ( 155): update boot reason = 0
D/permission_check( 145): new_ver file exist!!!
D/permission_check( 145): change_md_nvram_attr--0
I/stp_dump( 143): ==>main
I/stp_dump( 143): stp_dump_ctrl_iface_trace_logger_sendto_fd succeed
E/stp_dump( 143): [STP_DBG] family id = 19
I/stp_dump( 143): sending dummy command
I/stp_dump( 143): set sock number to 9
I/stp_dump( 143): addr.sun_path:stp_DIR=/data/misc/stp_dump GROUP=stp
I/stp_dump( 143): Using existing control interface directory.
E/stp_dump( 143): mkdir (/data/misc/stp_dump) succeed
I/stp_dump( 143): ctrl_interface_group=1000 (from group name 'stp')
I/stp_dump( 143): chown (/data/misc/stp_dump) succeed
I/stp_dump( 143): CTRL: chmod[/data/misc/stp_dump] succeed
E/stp_dump( 143): ctrl_iface bind(PF_UNIX) failed: Address already in use
E/stp_dump( 143): ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination
D/stp_dump( 143): Successfully replaced leftover ctrl_iface socket '/data/misc/stp_dump/stpd'
I/stp_dump( 143): set sock number to 10
I/stp_dump( 143): stp_dump_ctrl_iface_init succeed.
I/stp_dump( 143): ==>main222
I/busybox ( 114): run-parts: /system/etc/init.d: No such file or directory
D/wlanLoader( 144): checkSupport 0x6628
D/wlanLoader( 144): Match 0x6628
D/wlanLoader( 144): Get the correct chip version mt6628
D/wlanLoader( 144): Get chip Version mt6628.
D/wlanLoader( 144): DRIVER_MODULE_PATH is /system/lib/modules/wlan_mt6628.ko
D/MsensorDaemon( 151): HAVE_LIBC_SYSTEM_PROPERTIES
D/MsensorDaemon( 151): memsicd3416x running
D/MsensorDaemon( 151): Msensor deamon2 statr!!!!!!!!!!!!
D/MsensorDaemon( 151): open demon attr err = No such file or directory
E/stp_dump( 143): table == NULL || table->table == NULL
E/stp_dump( 143): table == NULL || table->table == NULL
D/wlanLoader( 144): Success to insmod the /system/lib/modules/wlan_mt6628.ko
I/thermal_repeater( 154): START+++++++++ 154
I/thermal_repeater( 154): Success to write 154 to /proc/wmt_tm/tm_pid
I/thermal_repeater( 154): Fail to chmod ffffffff
I/thermal_repeater( 154): Enter infinite loop
I/AEE/AED ( 122): Built Jan 30 2013 19:35:15
D/AEE/AED ( 122): ChangeAEEWorkMode: 3
I/AEE/AED ( 122): AED config
I/AEE/AED ( 122): mode '3'
I/AEE/AED ( 122): exp level '1
I/AEE/AED ( 122): dal enable '0'
I/AEE/AED ( 122): db count '20'
I/AEE/AED ( 122): db storage '1'
I/AEE/AED ( 122): SMP Info => 1
I/MobileLogD( 123): [void change_permission()] set mobile_log_d is in root user, adjust caps for its thread
I/MobileLogD( 123): mobilelog start after boot, mode:0
D/MobileLogD/cache( 123): init cache configure items....
D/MobileLogD/cache( 123): value of ro.build.type:user.
I/installd( 140): installd firing up
D/PQ ( 130): PQ init start...
D/PQ ( 130): PQ test...
I/ ( 137): ServiceManager: 0x41661698
D/PQ ( 130): PQ init end !
E/AEE/LIBAEE( 122): Can't remove file /sdcard/mtklog/aee_exp/temp: No such file or directory
E/AEE/LIBAEE( 122): Can't remove file /data/aee_exp/temp: No such file or directory
V/AEE/AED ( 122): ETB buffer length = 512
I/AEE/AED ( 122): wdt_status = 2, fiq_step=0
I/AEE/AED ( 122): reboot_reason = 0
V/AEE/AED ( 122): ETM start
D/installd( 140): LBE is enabled, starting...
D/NVRAM ( 152): NvRAMAgent created
E/NVRAM ( 152): Haman, serviceManager work well
D/NVRAM ( 152): NvRAMAgent Service is now ready
I/DPFD ( 149): [DPFD] main start ...
I/DPFD ( 149): [DPFD] set priority to RR:268435540
I/DPFD ( 149): [int adjustPriority()] set dpfd is in root user, adjust caps for its thread
D/DPFD ( 149): [DPFD] Wait Request.....
I/DMAgent ( 147): DMAgent created
I/DMAgent ( 147): [DMAgent]register OK.
D/DMAgent ( 147): DMAgent Service is now ready
D/MobileLogD( 123): write "mobilelog start after boot, mode:0" to mblog
E/installd( 140): Failed to load liblbesec.so
I/installd( 140): add service shelld success!
W/installd( 140): service start entry 'shelld', flag :0
W/installd( 140): starting 'shelld'
E/ccci_fsd(0)( 118): md_fsd Ver:v1.00
I/Hald ( 133): Hald 1.1011 starting
D/ccci_fsd(1)( 118): /dev/ccci_fs is opend(600).
D/ccci_fsd(1)( 118): Check OTP...
D/Hald ( 133): Create ResetManager
D/Hald ( 133): Size of initial message: 6
D/Hald ( 133): [MTK_WIFI] family id = 20
D/Hald ( 133): Reset Manager Prepare Dummy command
D/Hald ( 133): Reset Manager Send Command for binding
D/Hald ( 133): Start ResetManager
E/ccci_fsd(0)( 119): md_fsd Ver:v1.00
E/ccci_fsd(2)( 119): /dev/ccci2_fs is not enabled(2).
D/MobileLogD/cache( 123): config autostart=0 same as current value
D/MobileLogD/cache( 123): config logpath=/mnt/sdcard same as current value
D/MobileLogD/cache( 123): config logsize=300 same as current value
D/MobileLogD/cache( 123): config AndroidLog=1 same as current value
D/MobileLogD/cache( 123): config KernelLog=1 same as current value
D/MobileLogD/cache( 123): config BTLog=1 same as current value
D/MobileLogD/cache( 123): config BTLog=1 same as current value
E/MobileLogD/cache( 123): cant get true log path through property
E/MobileLogD/cache( 123): true path is /mnt/sdcard
D/MobileLogD( 123): create local socket server success
D/Vold ( 116): Check whether nvram restore ready!
D/NVRAM ( 128): g_i4CFG_File_Count: 25
D/NVRAM ( 128): NVM_Init Max Lid: 43
D/NVRAM ( 128): Total nvram Lid number is 43
I/Netd ( 125): Netd 1.0 starting
W/InterfaceController( 125): Warning (Cannot load library: load_library(linker.cpp:745): library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
D/agps ( 142): [agps] WARNING: [Main] mtk_agpsd is running ver=0.46
D/agps ( 142): [agps] WARNING: [Main] mkdir failure for /data/agps_supl/log reason=[File exists]
D/MtkAgpsNative( 142): SuplRawLog.bEnable:0
D/MtkAgpsNative( 142): SuplRawLog.szPath:/sdcard
D/MtkAgpsNative( 142): SuplRawLog.szFile:agps_raw.log
D/MtkAgpsNative( 142): SuplSslLog.bEnable:0
D/MtkAgpsNative( 142): SuplSslLog.szPath:/sdcard
D/MtkAgpsNative( 142): SuplSslLog.szFile:agps_ssl.log
I/MtkAgpsNative( 142): Enter up_int_init
I/MtkAgpsNative( 142): Enter mtk_agps_up_init
D/MtkAgpsNative( 142): FS_CreateDir: /data/agps_supl
W/MtkAgpsNative( 142): -> errno(EEXIST) => dir already exists
D/MtkAgpsNative( 142): ############ mtk_agps_up_init --> agps_disable_enalbe_times = 1 ############
Click to expand...
Click to collapse

[Q] Phone bootloops on first boot with lollipop ROMs

I think my i9100 (16 GB model) has a serious KitKat addiction issue...
I've tried to switch from SlimSaber 4.4.4 to a 5.1 ROM and the phone just gets stuck on the first boot. Since I can't access the logcats on the first boot i don't know what is causing the phone to get stuck.
Here's what i tried and came up with the same result:
- From a KitKat ROM -> Flash a 5.0.4 one with a full wipe before and /system format, or just a data / cache / dalvik wipe
- From various TWRP / CWM KitKat Recovery -> FULL format on ALL partitions on the phone (sdcard included) -> Flash 5.0.4 / 5.1
- From a KitKat ROM -> Flash a 5.1 one with a /system format before and a data / cache / dalvik wipe after
- From various TWRP / CWM KitKat / Lollipop Recovery -> Flash a 5.0.4/5.1 one with data / cache / dalvik wipe before and / or after
Note: Some of the flashing tries were ROM only, others were ROM + Gapps (and + SuperSU in some cases).
Basically I've tried many combinations of flashing and the freaky phone just hangs on first boot (and yes I've waited more than 20 minutes for the phone to boot and it doesn't pass the animation screen).
However... If I flash any KitKat ROM the phone boots perfectly fine!
I'd appreciate any help solving this issue as I don't know any KitKat Annonymous Android Addicts Association in my area
I got this log on a first boot logcat-enabled ROM:
Code:
--------- beginning of main
I/lowmemorykiller( 1860): Using in-kernel low memory killer interface
W/auditd ( 1858): type=2000 audit(0.0:1): initialized
I/auditd ( 1858): type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
W/auditd ( 1858): type=1404 audit(0.0:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
W/vold ( 1862): type=1400 audit(0.0:4): avc: denied { search } for name="/" dev=mmcblk0p1 ino=2 scontext=u:r:vold:s0 tcontext=u:object_r:efs_file:s0 tclass=dir
--------- beginning of system
I/Vold ( 1862): Vold 2.1 (the revenge) firing up
D/Vold ( 1862): Volume sdcard0 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1862): Volume sdcard1 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1862): Volume usbdisk0 state changing -1 (Initializing) -> 0 (No-Media)
I/Cryptfs ( 1862): Check if PFE is activated on Boot
E/Cryptfs ( 1862): Cannot open footer file /efs/metadata for get
E/Cryptfs ( 1862): Error getting crypt footer and key
D/Vold ( 1862): Volume sdcard0 state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 3, PARTN 3
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 4, PARTN 4
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 5, PARTN 5
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 6, PARTN 6
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 7, PARTN 7
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 0, PARTN 8
E/DirectVolume( 1862): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p8' has a different major than its disk!
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 1, PARTN 9
E/DirectVolume( 1862): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p9' has a different major than its disk!
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 2, PARTN 10
E/DirectVolume( 1862): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p10' has a different major than its disk!
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 3, PARTN 11
E/DirectVolume( 1862): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p11' has a different major than its disk!
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 4, PARTN 12
E/DirectVolume( 1862): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p12' has a different major than its disk!
D/Vold ( 1862): Volume sdcard0 state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/Vold ( 1862): Volume sdcard1 state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 9, PARTN 1
D/Vold ( 1862): Volume sdcard1 state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/slim ( 1917): Welcome to Android 5.1.1 / SlimKat Slim-5.1.1.alpha.0.1-UNOFFICIAL-20150509-0944
I/SurfaceFlinger( 1863): SurfaceFlinger is starting
I/SurfaceFlinger( 1863): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 1863): loaded /system/lib/egl/libEGL_mali.so
I/run-parts( 1869): /data/system: No such file or directory
D/libEGL ( 1863): loaded /system/lib/egl/libGLESv1_CM_mali.so
W/ls ( 1935): type=1400 audit(0.0:5): avc: denied { search } for name="wifi" dev=mmcblk0p10 ino=16399 scontext=u:r:sysinit:s0 tcontext=u:object_r:wifi_data_file:s0 tclass=dir
I/run-parts( 1869): /data/misc/wifi/wpa_supplicant.conf: Permission denied
I/SELinuxLabel( 1937): data is unlabeled, fixing...
W/ls ( 1938): type=1400 audit(0.0:6): avc: denied { getattr } for path="/system/bin/surfaceflinger" dev=mmcblk0p9 ino=24672 scontext=u:r:sysinit:s0 tcontext=u:object_r:surfaceflinger_exec:s0 tclass=file
I/run-parts( 1869): /system/bin/surfaceflinger: Permission denied
D/libEGL ( 1863): loaded /system/lib/egl/libGLESv2_mali.so
I/run-parts( 1869): /system/priv-app/GoogleServicesFramework.apk: No such file or directory
I/SELinuxLabel( 1944): /data relabel starting...
E/ ( 1863): Device driver API match
E/ ( 1863): Device driver API version: 23
E/ ( 1863): User space API version: 23
E/ ( 1863): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct 9 21:05:57 KST 2013
I/gralloc ( 1863): using (fd=14)
I/gralloc ( 1863): id = s3cfb
I/gralloc ( 1863): xres = 480 px
I/gralloc ( 1863): yres = 800 px
I/gralloc ( 1863): xres_virtual = 480 px
I/gralloc ( 1863): yres_virtual = 1600 px
I/gralloc ( 1863): bpp = 32
I/gralloc ( 1863): r = 16:8
I/gralloc ( 1863): g = 8:8
I/gralloc ( 1863): b = 0:8
I/gralloc ( 1863): width = 56 mm (217.714279 dpi)
I/gralloc ( 1863): height = 93 mm (218.494629 dpi)
I/gralloc ( 1863): refresh rate = 60.38 Hz
I/run-parts( 1869): SELinux: Loaded file_contexts from /file_contexts
I/run-parts( 1869): SELinux: Skipping restorecon_recursive(/data)
I/SurfaceFlinger( 1863): Using composer version 1.0
I/SurfaceFlinger( 1863): EGL information:
W/SurfaceFlinger( 1863): Ignoring duplicate VSYNC event from HWC (t=0)
I/SurfaceFlinger( 1863): vendor : Android
I/SurfaceFlinger( 1863): version : 1.4 Android META-EGL
I/SurfaceFlinger( 1863): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 1863): Client API: OpenGL_ES
I/SurfaceFlinger( 1863): EGLSurface: 8-8-8-8, config=0x60000014
I/SurfaceFlinger( 1863): OpenGL ES informations:
I/SurfaceFlinger( 1863): vendor : ARM
I/SurfaceFlinger( 1863): renderer : Mali-400 MP
I/SurfaceFlinger( 1863): version : OpenGL ES 2.0
I/SurfaceFlinger( 1863): extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map
I/SurfaceFlinger( 1863): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger( 1863): GL_MAX_VIEWPORT_DIMS = 4096
E/cutils-trace( 1863): Error opening trace file: No such file or directory (2)
I/SELinuxLabel( 1948): /data relabel complete
D/SurfaceFlinger( 1863): Set power mode=2, type=0 flinger=0x40c82000
I/SELinuxLabel( 1956): /cache relabel starting...
I/run-parts( 1869): SELinux: Loaded file_contexts from /file_contexts
I/run-parts( 1869): SELinux: Skipping restorecon_recursive(/cache)
I/SELinuxLabel( 1959): /cache relabel complete
D/SurfaceFlinger( 1863): SF. shader cache generated - 26 shaders in 48.281040 ms
D/libEGL ( 1955): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 1955): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 1955): loaded /system/lib/egl/libGLESv2_mali.so
E/ ( 1955): Device driver API match
E/ ( 1955): Device driver API version: 23
E/ ( 1955): User space API version: 23
E/ ( 1955): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct 9 21:05:57 KST 2013
E/cutils-trace( 1955): Error opening trace file: No such file or directory (2)
E/BootAnimation( 1955): couldn't find audio_conf.txt
W/BootAnimation( 1955): Audio service is not initiated.
D/BootAnimation( 1955): Use save memory method, maybe small fps in actual.
D/BootAnimation( 1955): Use save memory method, maybe small fps in actual.
I was having the same problem for weeks until I stumbled on this post:
http://forum.xda-developers.com/showpost.php?p=60473209&postcount=1106
Attached the PhilZ-kernel for flashing after the concerning PIT-file was flashed successfully. This kernel allows to format the Preload-partition from recovery. This is needed, that you don't stuck in a bootloop, after flashing a custom LolliPop-ROM.
Click to expand...
Click to collapse
I flashed PhilZ kernel, wiped the /pre-load, /data, /system, /cache, flashed another TWRP kernel, then finally successfully flashed cm12.1. I'm not sure why the attached PhilZ failed to flash cm12.1, perhaps the recovery is not updated.
Hope this helps.

Categories

Resources