Skip to content

Commit

Permalink
i9100g: added
Browse files Browse the repository at this point in the history
  • Loading branch information
Lanchon committed Mar 17, 2016
1 parent 913a4d4 commit b2d8f73
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 1 deletion.
6 changes: 5 additions & 1 deletion device/galaxy-s2/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ device_init() {

# the block device on which REPIT will operate (only one device is supported):

sdev=/sys/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0
# exynos 4210:
#sdev=/sys/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0
# omap 4430:
#sdev=/sys/devices/platform/omap/omap_hsmmc.1/mmc_host/mmc0/mmc0:0001/block/mmcblk0
sdev=/sys/block/mmcblk0
spar=$sdev/mmcblk0p

ddev=/dev/block/mmcblk0
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 26 additions & 0 deletions device/galaxy-s2/omap-4430/i9100g.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#####################################################
# Lanchon REPIT - Device Handler #
# Copyright 2016, Lanchon #
#####################################################

#####################################################
# Lanchon REPIT is free software licensed under #
# the GNU General Public License (GPL) version 3 #
# and any later version. #
#####################################################

### i9100g

device_checkDevice() {

checkTool getprop

case ":$(getprop ro.product.device):$(getprop ro.build.product):" in
*:i9100g:*) ;;
*:GT-I9100G:*) ;;
*)
fatal "this package is for '$deviceName' devices; this device is '$(getprop ro.product.device)'"
;;
esac

}

0 comments on commit b2d8f73

Please sign in to comment.