Try to add in script "mount -o rw,remount /storage/sdcard1" before mkdir
also you can use command dmesg to read kernel logs, so you can add in
script something like "dmesg > kernel.log"

To use usb as debug console, you can try to enable gadget serial device in
kernel and connect to pc through usbserial module
But I strongly advice you to get serial cable for debug, there will be all
debug output and easy to use logcat

2015-03-10 21:11 GMT+03:00 Rancid Frog <[email protected]>:

> Thank you for your suggestions
> For me it is easier to deal with init.*.rc
> Is there no way to mount and copy files that way?
>
> I do not have UART serial cable.
> How can I use USB as serial?
> My device has "console=ttyHSL0"
>
> As for debug port, can you clarify what you meant, more specific.
>
> Thank you
> On Tuesday, March 10, 2015 at 11:00:02 AM UTC-4, Abdul Haseeb wrote:
>>
>> Collect serial logs or if possible connect it to any debug port
>>
>  --
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to