diff --git a/C1Parts/res/values-fr/arrays.xml b/C1Parts/res/values-fr/arrays.xml
new file mode 100644
index 0000000..c9d223c
--- /dev/null
+++ b/C1Parts/res/values-fr/arrays.xml
@@ -0,0 +1,60 @@
+
+
+
+ - IU (Défaut)
+ - Vidéo
+ - Vidéo Chaud
+ - Vidéo Froid
+ - Caméra
+ - Navigation
+ - Galerie
+
+
+
+
+
+ - Standard (Défaut)
+ - Dynamique
+ - Film
+
+
+
+
+
+ - Toujours allumé
+ - 2 secondes
+ - 5 secondes
+ - 10 secondes
+ - 15 secondes
+ - Toujours éteint
+
+
+
+
+
+ - Jamais
+ - 5 minutes
+ - 10 minutes
+ - 15 minutes
+ - 30 minutes
+ - 60 minutes
+
+
+
+
+
+ - Activé
+ - Désactivé
+
+
+
+
+
+ - UMTS Seulement
+ - HSDPA Seulement
+ - HSDPA + HSUPA
+
+
+
+
+
diff --git a/C1Parts/res/values-fr/strings.xml b/C1Parts/res/values-fr/strings.xml
new file mode 100644
index 0000000..c11aa13
--- /dev/null
+++ b/C1Parts/res/values-fr/strings.xml
@@ -0,0 +1,24 @@
+
+
+ Paramètres Galaxy SII
+
+ Paramètres de l\'écran
+ Couleur
+ Choix du mode de couleur mDNIe
+ Netteté
+ Choix du mode de netteté mDNIe
+
+ Touches Tactiles
+ Délai Rétroéclairage
+ Délai de rétroéclairage des touches tactiles avant extinction
+
+ Notifications par LED
+ Notifications
+ Activer le support des notifications par LED dans le noyau. Note: Une notification active empêche le téléphone de rentrer en veille profonde
+ Délai Notification
+ Délai de l\'indicateur de notification avant extinction
+
+ Radio
+ HSPA
+ Activer HSDPA/HSUPA
+
diff --git a/common.mk b/common.mk
index 8a04b02..5b169ff 100644
--- a/common.mk
+++ b/common.mk
@@ -50,7 +50,7 @@ PRODUCT_PACKAGES := \
libexifa \
libjpega \
com.android.future.usb.accessory \
- bdaddr_read
+ bdaddr_read
# These are the hardware-specific configuration files
PRODUCT_COPY_FILES := \
@@ -67,7 +67,8 @@ PRODUCT_COPY_FILES += \
device/samsung/c1-common/lpm.rc:root/lpm.rc \
device/samsung/c1-common/init.smdkc210.rc:root/init.smdkc210.rc \
device/samsung/c1-common/init.smdkv310.rc:root/init.smdkv310.rc \
- device/samsung/c1-common/ueventd.smdkv310.rc:root/ueventd.smdkv310.rc
+ device/samsung/c1-common/ueventd.smdkv310.rc:root/ueventd.smdkv310.rc \
+ device/samsung/c1-common/etc/init.d/10soundbooster:system/etc/init.d/10soundbooster
# mDNIe
PRODUCT_COPY_FILES += \
@@ -90,6 +91,7 @@ PRODUCT_COPY_FILES += \
# Configuration files for audio
PRODUCT_COPY_FILES += \
+ device/samsung/c1-common/etc/audio/soundbooster.txt:system/etc/audio/soundbooster.txt \
device/samsung/c1-common/etc/audio/LVVEFS_Rx_Configuration.txt:system/etc/audio/LVVEFS_Rx_Configuration.txt \
device/samsung/c1-common/etc/audio/LVVEFS_Tx_Configuration.txt:system/etc/audio/LVVEFS_Tx_Configuration.txt \
device/samsung/c1-common/etc/audio/Rx_ControlParams_EARPIECE_WIDEBAND.txt:system/etc/audio/Rx_ControlParams_EARPIECE_WIDEBAND.txt \
diff --git a/etc/audio/soundbooster.txt b/etc/audio/soundbooster.txt
new file mode 100644
index 0000000..42a6ad9
--- /dev/null
+++ b/etc/audio/soundbooster.txt
@@ -0,0 +1,4 @@
+H,0
+G,6
+C,2
+S,2
diff --git a/etc/init.d/10soundbooster b/etc/init.d/10soundbooster
new file mode 100644
index 0000000..1522582
--- /dev/null
+++ b/etc/init.d/10soundbooster
@@ -0,0 +1,7 @@
+#!/system/bin/sh
+# copy soundbooster config if not exists
+
+if [ ! -e /data/soundbooster.txt ];
+then
+ cp /system/etc/audio/soundbooster.txt /data/soundbooster.txt
+fi;
diff --git a/releasetools/c1_edify_generator.py b/releasetools/c1_edify_generator.py
index a2ccc30..95bdf48 100755
--- a/releasetools/c1_edify_generator.py
+++ b/releasetools/c1_edify_generator.py
@@ -35,3 +35,12 @@ class EdifyGenerator(edify_generator.EdifyGenerator):
('assert(package_extract_file("%(image)s", "/tmp/%(image)s"),\n'
' write_raw_image("/tmp/%(image)s", "%(partition)s"),\n'
' delete("/tmp/%(image)s"));') % args)
+
+ def Unmount(self, mount_point):
+ """Unmount the partition with the given mount_point."""
+ fstab = self.info.get("fstab", None)
+ if fstab:
+ p = fstab[mount_point]
+ self.script.append('unmount("%s");' %
+ (p.mount_point))
+ self.mounts.add(p.mount_point)
diff --git a/releasetools/c1_ota_from_target_files b/releasetools/c1_ota_from_target_files
index bb6b61b..358b3b2 100755
--- a/releasetools/c1_ota_from_target_files
+++ b/releasetools/c1_ota_from_target_files
@@ -68,6 +68,7 @@ def WriteFullOTAPackage(input_zip, output_zip):
if OPTIONS.wipe_user_data:
script.FormatPartition("/data")
+ script.Unmount("/system")
script.FormatPartition("/system")
script.Mount("/system")
script.UnpackPackageDir("recovery", "/system")