View Single Post
Old 05-21-2018, 10:54 PM   #86
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
Quote:
Originally Posted by kapaggar View Post
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 ?



thanks for posting all of this:

I can confirm that that driver is in the "kindle8" source code, but is not available in the "paperwhite7" source code, which makes me sad.

Do you do anything special to boot into diags to get to that ADB option, are you using the shell script in rescue pack, or using the serial port?

Thanks for any more information you can give!



Edit:





So I downloaded several software packages:, and only one of them has this file:
/lib/modules/3.10.53-lab126/kernel/drivers/usb/gadget/g_android.ko



oasis9 - update_kindle_all_new_oasis_5.9.5.2.bin - NO

oasis8 - update_kindle_oasis_5.9.5.1.bin - NO

kindle8 - update_kindle_8th_5.9.5.1.bin - YES

paperwhite7 - update_kindle_all_new_paperwhite_5.9.5.1.bin - NO

voyage7 - update_kindle_voyage_5.9.5.1.bin - NO

kindle7 - update_kindle_5.9.5.1.bin - NO

Last edited by coplate; 05-21-2018 at 11:21 PM.
coplate is offline   Reply With Quote