View Single Post
Old 05-21-2018, 10:57 AM   #82
kapaggar
Member
kapaggar began at the beginning.
 
kapaggar's Avatar
 
Posts: 19
Karma: 10
Join Date: May 2018
Device: KT3
Thumbs up Thanks NiLuJe

Quote:
Originally Posted by NiLuJe View Post
@kapaggar: Huh. Guess they sprung a new diags rootfs/menu on us. (And that it supports adb is new, hence @knc1's surprise, we're used to USBNet & dropbear ).
I hope you are doing great in life..

I am only a week old in kindle areana.. only reading with android KOReader till now. so thanks for having patience with me. I have linux exposure but heard lab126 two days ago and how things are structured in kindle world. Going through upstart scripts rn.

but
Code:
/dev # cat /etc/prettyversion.txt 
Kindle 5.8.0 078 Non-OB (~~otaVersion~~)

# modinfo g_android
filename:       /lib/modules/3.10.53-lab126/kernel/drivers/usb/gadget/g_android.ko
version:        1.0
license:        GPL
description:    Android Composite USB Driver
author:         Mike Lockwood
alias:          fs-functionfs
srcversion:     15D9B2BC43668E716D2824A
depends:        libcomposite
intree:         Y
vermagic:       3.10.53-lab126 preempt mod_unload ARMv7 p2v8 
parm:           qmult:queue length multiplier at high/super speed (uint)
parm:           dev_addr:Device Ethernet Address (charp)
parm:           host_addr:Host Ethernet Address (charp)
means its from the update_KT3_5.8.0_initial mentioned in the wiki https://wiki.mobileread.com/wiki/5_x_Jailbreak ??

Good for KT3 owners that they dont have to struggle to make usbnet work in diags as adb shell workds ootb .. When I installed RP and made /ENABLE_DIAGS in usbms i got diags after reboot..
which enables adbd by default

my /etc/upstart/diags has
Code:
CONFIG_USB_MODE=/opt/factory/rit/usb_mass_enable 
init_adb_or_usb_mass_storage()
{
  if [ -f $CONFIG_USB_MODE ]; then
     echo "Config mass stoarge"
     modprobe g_mass_storage file=/dev/mmcblk0p4 removable=1
     rm -fR $CONFIG_USB_MODE
  else
     echo "Config USB adb mode"
     /usr/bin/config_adbd.sh    
  fi
}
For the record, you don't have any issues exiting from diags and restarting into the main system?
No.. just idme -d --bootmode main in adb shell and restart
And is there actually a menu mentioning USBNet and/or SSH?
No, under USB mode there are 3 options.
1. adb
2. mass storage ( havnt tried this )
3. USB_DOWNLOAD ( opens usbms and if update file stored in its root processes it after i unmounts usbms .... i tried this to downgrade from 5.9.5 to 5.8.10 but update error 15 came)

Once you've made proper dumps of all this, I'd sure be glad to take a look at it...
What are dumps in kindle dev parlance ? partition dd dumps ? targz of some dir ?
kapaggar is offline   Reply With Quote