diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-06-20 23:53:37 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-06-20 23:53:59 +0200 |
commit | 02f90c95aef1020985e94a3c18ff7fb2ec97446a (patch) | |
tree | 6c604b181bcf3e809a490439fe571651749fa4aa | |
parent | 3bb0ae46169ae99923fcfe62ada26f66603cc18f (diff) | |
download | device_samsung_i9100-02f90c95aef1020985e94a3c18ff7fb2ec97446a.tar.gz device_samsung_i9100-02f90c95aef1020985e94a3c18ff7fb2ec97446a.tar.bz2 device_samsung_i9100-02f90c95aef1020985e94a3c18ff7fb2ec97446a.zip |
Add support for i9100HEADreplicant-11-nlnet-eu-grant-825310-replicant-updatereplicant-11
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | AndroidProducts.mk | 4 | ||||
-rw-r--r-- | BoardConfig.mk | 11 | ||||
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | fstab.smdk4x12 | 11 | ||||
-rw-r--r-- | replicant_i9100.mk (renamed from replicant_i9305.mk) | 8 | ||||
-rw-r--r-- | system.prop | 2 |
6 files changed, 20 insertions, 22 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk index ecf6b21..03c17e7 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -15,7 +15,7 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/replicant_i9305.mk + $(LOCAL_DIR)/replicant_i9100.mk COMMON_LUNCH_CHOICES := \ - replicant_i9305-userdebug + replicant_i9100-userdebug diff --git a/BoardConfig.mk b/BoardConfig.mk index a1bbb0a..9dace55 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -17,18 +17,17 @@ -include device/samsung/midas-common/BoardConfigCommon.mk # Kernel -BOARD_DTB_IMAGE_NAME := exynos4412-i9300.dtb +BOARD_DTB_IMAGE_NAME := exynos4210-i9100.dtb # Recovery -TARGET_RECOVERY_FSTAB := device/samsung/i9305/fstab.smdk4x12 +TARGET_RECOVERY_FSTAB := device/samsung/i9100/fstab.smdk4x12 TARGET_RECOVERY_PIXEL_FORMAT := ABGR_8888 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 8388608 -BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1610612736 -# TODO: figure out if it is possible to increase USERDATA partition size -BOARD_USERDATAIMAGE_PARTITION_SIZE := 11378320 +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 536870912 +BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 -BOARD_CACHEIMAGE_PARTITION_SIZE := 1073741824 +BOARD_CACHEIMAGE_PARTITION_SIZE := 104857600 BOARD_BOOTIMAGE_PARTITION_SIZE := 8388608 BOARD_FLASH_BLOCK_SIZE := 512 @@ -1,16 +1,16 @@ -# Device tree for Samsung Galaxy SIII 4G (GT-I9305) +# Device tree for Samsung Galaxy SII (GT-I9100) Run the following commands to build AOSP: ` . build/envsetup.sh -lunch replicant_i9305-userdebug +lunch replicant_i9100-userdebug make -j9 ` Run the following command to test the built image: -`heimdall flash --BOOT out/target/product/i9305/boot.img --RECOVERY out/target/product/i9305/recovery.img --SYSTEM out/target/product/i9305/system.img` +`heimdall flash --KERNEL out/target/product/i9100/boot.img --RECOVERY out/target/product/i9100/recovery.img --FACTORYFS out/target/product/i9100/system.img` # License diff --git a/fstab.smdk4x12 b/fstab.smdk4x12 index 0198384..2c40e92 100644 --- a/fstab.smdk4x12 +++ b/fstab.smdk4x12 @@ -14,11 +14,10 @@ # limitations under the License. # -/dev/block/platform/soc/12550000.mmc/by-name/SYSTEM / ext4 ro,noatime wait -/dev/block/platform/soc/12550000.mmc/by-name/CACHE /cache ext4 rw,noatime,nosuid,nodev,errors=panic wait -/dev/block/platform/soc/12550000.mmc/by-name/USERDATA /data ext4 rw,noatime wait +/dev/block/platform/dw_mmc/by-name/FACTORYFS / ext4 ro,noatime wait +/dev/block/platform/dw_mmc/by-name/CACHE /cache ext4 rw,noatime,nosuid,nodev,errors=panic wait +/dev/block/platform/dw_mmc/by-name/DATAFS /data ext4 rw,noatime wait # Recovery -/dev/block/platform/soc/12550000.mmc/by-name/BOOT /boot emmc defaults recoveryonly -/dev/block/platform/soc/12550000.mmc/by-name/OTA /misc emmc defaults recoveryonly -/dev/block/platform/soc/12550000.mmc/by-name/RECOVERY /recovery emmc defaults recoveryonly +/dev/block/platform/dw_mmc/by-name/KERNEL /boot emmc defaults recoveryonly +/dev/block/platform/dw_mmc/by-name/RECOVERY /recovery emmc defaults recoveryonly
\ No newline at end of file diff --git a/replicant_i9305.mk b/replicant_i9100.mk index 5df8e7a..f3f889a 100644 --- a/replicant_i9305.mk +++ b/replicant_i9100.mk @@ -16,12 +16,12 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) -$(call inherit-product, device/samsung/i9305/device.mk) +$(call inherit-product, device/samsung/i9100/device.mk) -PRODUCT_NAME := replicant_i9305 -PRODUCT_DEVICE := i9305 +PRODUCT_NAME := replicant_i9100 +PRODUCT_DEVICE := i9100 PRODUCT_BRAND := Samsung -PRODUCT_MODEL := Galaxy SIII 4G (GT-I9305) +PRODUCT_MODEL := Galaxy SII (GT-I9100) PRODUCT_MANUFACTURER := Samsung # Disable A/B update diff --git a/system.prop b/system.prop index 059254e..6f2665b 100644 --- a/system.prop +++ b/system.prop @@ -14,7 +14,7 @@ # limitations under the License. # -ro.sf.lcd_density=320 +ro.sf.lcd_density=240 ro.hardware.hwcomposer=drm ro.hardware.gralloc=gbm drm.gpu.force_software=1 |