mer-hybris / hybris-initrd

initrd generation submodule for flashable Sailfish OS image based boot images and recovery images.
2 stars 17 forks source link

[recovery] support linux 4.4 configfs based ub_gadget mode #26

Closed Thaodan closed 5 years ago

Thaodan commented 6 years ago

Ported the changes from hybris-boot to here. However should the manufactor be Mer or Jolla?

krnlyng commented 6 years ago

@thaodan, looks nice but i think we should remove the mass storage parts if USB_FUNCTIONS is always rndis

krnlyng commented 6 years ago

write /sys/class/android_usb/android0/iManufacturer Jolla

should stay the same i think

Thaodan commented 6 years ago

Fixed, that. Should hybris-should support debug init like hybris-boot?

krnlyng commented 6 years ago

@Thaodan thanks!

This is the recovery so i don't think it needs extra debugging because it is already a debugging tool.

Or what do you mean?

Thaodan commented 6 years ago

I mean support being enabled along side boot as hybris-boot when used as init-debug.

Thaodan commented 6 years ago

Fixed

Thaodan commented 6 years ago

Changed as suggested.

Thaodan commented 6 years ago

Np, done.

mkosola commented 6 years ago

Thank you, looks good now, I'll test this on Monday and merge after that.