what made the adb to show the device in offline mode? Is that the problem
with adbd or adb itself?

On Thu, Jul 26, 2012 at 7:32 AM, guo0693 <guo0...@gmail.com> wrote:

> **
> If you can modify the hardware-make a serial port. Then you will be able
> to see the output since you push the power button. If system crashed during
> booting, you will of course be able to see what's going on through the
> serial port. To make a serial port, you need to find the RX and TX pin, and
> an arbitrary ground. With these 3 pins you will be able to make the serial
> port. Then you may also need a serial-usb convertor board and
> minicom/hypercom.
>
>  Regards,
> Jun Guo
>  ------------------------------
>  *From:*Jeremy Morales
> *Date:*2012-07-26 02:57
> *Subject:*Re: [android-kernel] For any of the phones, Galaxy Nexus, Nexus
> S, Motorola Xoom, are there any external log files produced?
> *To:*"android-kernel"<android-kernel@googlegroups.com>
> *Cc:*
>
> I think you have to set your debuggin level, but its been a while since I
> have done my kernel
>
>
> Maybe this in my init.rc
>
> sysclktz 0
>
> loglevel 3
>
>
>
> On Wed, Jul 25, 2012 at 12:43 PM, 9exceptionThrower9 
> <ago...@bucknell.edu>wrote:
>
>> That's what I've been lead to believe, the phone never reaches
>> initialization state.  I'll check my init.rc and init.tuna.rc to see if I
>> have the same line of code.
>>
>> However, what file do you edit to enable "earlyprintk"?  I've opened the
>> kernel config menu with "make", but could only find under "kernel hacking"
>> the option for "dynamic printk" no earlyprintk which is actually what I
>> want from the phone/emulator.
>>
>> On Wednesday, July 25, 2012 2:38:05 PM UTC-4, Giveen wrote:
>>>
>>> In your init.rc you should have adb set up for it.
>>> Maybe its stuck on a point before gets to activating adb
>>> For example on my init.rc I have this (Jelly Bean port on CM10)
>>>
>>> # adbd is controlled via property triggers in init.<platform>.usb.rc
>>>
>>> service adbd /sbin/adbd
>>>     class core
>>>     disabled
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Jul 25, 2012 at 12:25 PM, Jason Shim <nguja...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> You can enable early printk from config option.
>>>>
>>>> Thanks,
>>>> Jason
>>>>
>>>> On Wed, Jul 25, 2012 at 11:20 AM, 9exceptionThrower9 <
>>>> ago...@bucknell.edu> wrote:
>>>>
>>>>> But what if your phone or emulator gets stuck in a "boot-loop"?  It
>>>>> seems that ADB only works if the ADB daemon can detect the phone or
>>>>> device/emulator.  I've tried "$ ./adb logtcat" before, but it hangs b/c it
>>>>> cannot detect the device.
>>>>>
>>>>> I've tried using the phone's emulator as a work-a-round:  however,
>>>>> upon running the adb server I get the following error:
>>>>> error: device offline
>>>>>
>>>>> I've tried killing adb server, rebooting it, and then running "$ ./adb
>>>>> devices" to get:
>>>>> * daemon not running. starting it now on port 5037 *
>>>>> * daemon started successfully *
>>>>> List of devices attached
>>>>> emulator-5554    offline
>>>>>
>>>>> Is there a way to turn the phone online?
>>>>>
>>>>>
>>>>> On Wednesday, July 25, 2012 2:05:49 PM UTC-4, Giveen wrote:
>>>>>>
>>>>>> adb logcat > logcat.txt
>>>>>>
>>>>>> Thats how I do it. Look up how to use the 'adb' tool.
>>>>>>
>>>>>> On Wed, Jul 25, 2012 at 8:55 AM, 9exceptionThrower9 <
>>>>>> ago...@bucknell.edu> wrote:
>>>>>>
>>>>>>> I've been trying various methods on getting some kind of debugging
>>>>>>> log from one of these three phones as they boot up.
>>>>>>>
>>>>>>> I've read that the "init" process produces a boot log, and some
>>>>>>> kernel messages are produced and can be found via "strace" and such.
>>>>>>> However, does this mean that you can only access these phone logs (from
>>>>>>> boot mode onward) if the phone makes it to a stable state?
>>>>>>>
>>>>>>> What if the phone crashes during the "Google" splash-screen?  Is
>>>>>>> there any way to get some kind of boot log or error log or messages from
>>>>>>> the phone to the terminal or to an output file as it boots up?  How far
>>>>>>> does the phone need to get in the boot process before any kind of log 
>>>>>>> could
>>>>>>> be accessed?
>>>>>>>
>>>>>>> When the kernel is loaded into memory after the main bootloader
>>>>>>> stage, does it produce logs that can be accessed?  That is, it does not
>>>>>>> just simply produce log messages that are only found in the phone's file
>>>>>>> system but somewhere perhaps on the computer the phone is plugged into 
>>>>>>> via
>>>>>>> USB.  Is there any way to configure this if it doesn't do so anyway?
>>>>>>>
>>>>>>> Thank you.
>>>>>>>
>>>>>>> --
>>>>>>> unsubscribe: 
>>>>>>> android-kernel+unsubscribe@**goo**glegroups.com<android-kernel%2bunsubscr...@googlegroups.com>
>>>>>>> website: 
>>>>>>> http://groups.google.com/**group**/android-kernel<http://groups.google.com/group/android-kernel>
>>>>>>
>>>>>>
>>>>>> --
>>>>> unsubscribe: 
>>>>> android-kernel+unsubscribe@**googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com>
>>>>> website: 
>>>>> http://groups.google.com/**group/android-kernel<http://groups.google.com/group/android-kernel>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Jason Shim
>>>> Software Engineer, Motorola, Inc
>>>>
>>>> --
>>>> unsubscribe: 
>>>> android-kernel+unsubscribe@**googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com>
>>>> website: 
>>>> http://groups.google.com/**group/android-kernel<http://groups.google.com/group/android-kernel>
>>>>
>>>
>>> --
>> unsubscribe: android-kernel+unsubscr...@googlegroups.com
>> website: http://groups.google.com/group/android-kernel
>
>
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel
>
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel
>



-- 
Thanks & Regards,
M.Srikanth Kumar.

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to