Skip to content

Commit

Permalink
NB1: Add missing blobs
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelthegreat committed Dec 22, 2020
1 parent cf35274 commit 8ed51da
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 41 deletions.
2 changes: 1 addition & 1 deletion BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200,n8 androidboot.console=ttyMSM
BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1
BOARD_KERNEL_CMDLINE += sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=1
BOARD_KERNEL_CMDLINE += androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3
BOARD_KERNEL_CMDLINE += skip_override androidboot.selinux=permissive
BOARD_KERNEL_CMDLINE += skip_override
BOARD_KERNEL_OFFSET := 0x00008000
BOARD_KERNEL_PAGESIZE := 4096
BOARD_KERNEL_TAGS_OFFSET := 0x00000100
Expand Down
4 changes: 0 additions & 4 deletions omni_NB1.mk
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
TARGET_RECOVERY_WIPE := \
$(LOCAL_PATH)/recovery/root/etc/recovery.wipe

# Time Zone data for recovery
PRODUCT_COPY_FILES += \
system/timezone/output_data/iana/tzdata:recovery/root/system/usr/share/zoneinfo/tzdata

# Common product configs
PRODUCT_BRAND := Nokia
PRODUCT_DEVICE := NB1
Expand Down
67 changes: 31 additions & 36 deletions recovery/root/etc/recovery.fstab
Original file line number Diff line number Diff line change
Expand Up @@ -27,48 +27,43 @@

# A/B, non-split(no vendor.img) recovery.fstab variant.

# device mount point fstype [device2] [length=]
#device mount point fstype [device2] [length=]

/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait,slotselect,verify
/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,errors=panic wait,check,latemount,formattable,fileencryption=ice
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,background_gc=off,fsync_mode=nobarrier wait,check,latemount,formattable,fileencryption=ice
/dev/block/mmcblk0p1 /external_sd auto nosuid,nodev voldmanaged=sdcard1:auto
/dev/block/sdg1 /usb-otg auto nosuid,nodev
/dev/block/bootdevice/by-name/boot /boot emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/system / ext4 ro,barrier=1 wait,slotselect,verify
/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,errors=panic wait,check,latemount,formattable,fileencryption=ice
/dev/block/mmcblk0p1 /sdcard vfat nosuid,nodev wait
/dev/block/bootdevice/by-name/boot /boot emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults

#LUN0
/dev/block/bootdevice/by-name/hidden /hidden ext4 defaults wait,slotselect
/dev/block/bootdevice/by-name/cda /hidden/data ext4 defaults wait,slotselect
/dev/block/bootdevice/by-name/systeminfo /systeminfo emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/dsp /dsp emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/modem /modem vfat defaults wait,slotselect
/dev/block/bootdevice/by-name/persist /persist ext4 defaults defaults
/dev/block/bootdevice/by-name/sutinfo /sutinfo emmc defaults defaults
/dev/block/bootdevice/by-name/splash2 /splash2 emmc defaults defaults
/dev/block/bootdevice/by-name/hidden /hidden ext4 defaults wait,slotselect
/dev/block/bootdevice/by-name/cda /hidden/data ext4 defaults wait,slotselect
/dev/block/bootdevice/by-name/systeminfo /systeminfo ext4 defaults wait,slotselect
/dev/block/bootdevice/by-name/dsp /dsp emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/modem /modem vfat defaults wait,slotselect
/dev/block/bootdevice/by-name/persist /persist ext4 defaults defaults
/dev/block/bootdevice/by-name/sutinfo /sutinfo emmc defaults defaults
/dev/block/bootdevice/by-name/splash2 /splash2 emmc defaults defaults

#LUN1, LIN2
/dev/block/bootdevice/by-name/xbl /xbl emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/xbl /xbl emmc defaults wait,slotselect

#LUN4
/dev/block/bootdevice/by-name/rpm /rpm emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/tz /tz emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/hyp /hyp emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/pmic /pmic emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/bluetooth /bt_firmware vfat defaults wait,slotselect
/dev/block/bootdevice/by-name/mdtpsecapp /mdtpsecapp emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/mdtp /mdtp emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/abl /abl emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/keymaster /keymaster emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/cmnlib /cmnlib emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/cmnlib64 /cmnlib64 emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/devcfg /devcfg emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/splash /splash emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/logfs /logfs vfat defaults wait
/dev/block/bootdevice/by-name/storsec /storsec emmc defaults defaults
/dev/block/bootdevice/by-name/rpm /rpm emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/tz /tz emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/hyp /hyp emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/pmic /pmic emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/bluetooth /bt_firmware vfat defaults wait,slotselect
/dev/block/bootdevice/by-name/mdtpsecapp /mdtpsecapp emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/mdtp /mdtp emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/abl /abl emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/keymaster /keymaster emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/cmnlib /cmnlib emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/cmnlib64 /cmnlib64 emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/devcfg /devcfg emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/splash /splash emmc defaults wait,slotselect
/dev/block/bootdevice/by-name/logfs /logfs vfat defaults wait
/dev/block/bootdevice/by-name/storsec /storsec emmc defaults defaults

#LUN5
/dev/block/bootdevice/by-name/nvdef /nvdef emmc defaults wait,slotselect

# Raw partition images
/dev/block/bootdevice/by-name/system /system_image emmc ro,barrier=1,discard wait,slotselect,verify
/dev/block/bootdevice/by-name/nvdef /nvdef emmc defaults wait,slotselect
Binary file added recovery/root/sbin/libhidlbase.so
Binary file not shown.
Binary file added recovery/root/vendor/lib64/[email protected]
Binary file not shown.

0 comments on commit 8ed51da

Please sign in to comment.