summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyotaek Shim <hyotaek.shim@samsung.com>2022-01-26 19:56:31 +0900
committerHyotaek Shim <hyotaek.shim@samsung.com>2022-01-26 19:56:38 +0900
commit83e348217aa4a7455b77fc52917d2ac6aef11aaf (patch)
tree070d5de8ae43a0d3388586bbee1b341541707261
parent45858fb24bd458f950ccde042bf1f4380bd1d7c1 (diff)
parentcff976c40267cef4368b877cccb9015b0d12ed9b (diff)
downloadfactory-reset-tizen_6.5.tar.gz
factory-reset-tizen_6.5.tar.bz2
factory-reset-tizen_6.5.zip
Change-Id: I9afc55dea5439676188f9a82854bc99d6fcde74f Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
-rw-r--r--[-rwxr-xr-x]CMakeLists.txt55
-rw-r--r--LICENSE.Apache-2.0 (renamed from LICENSE)0
-rwxr-xr-xdata/factory-reset-util-small-display.edc193
-rwxr-xr-xdata/factory-reset-util.edc175
-rw-r--r--data/images/A01-1_icon_factoryreset.pngbin24413 -> 0 bytes
-rw-r--r--data/images/A01-1_progress_bg.pngbin2654 -> 0 bytes
-rw-r--r--data/images/A01-1_progress_bg_dim.pngbin2557 -> 0 bytes
-rw-r--r--data/images/A01-1_progress_pending_01.pngbin2164 -> 0 bytes
-rw-r--r--data/images/A01-1_progress_pending_01_dim.pngbin2117 -> 0 bytes
-rw-r--r--data/images/A01-1_progress_pending_02.pngbin2113 -> 0 bytes
-rw-r--r--data/images/A01-1_progress_pending_02_dim.pngbin2074 -> 0 bytes
-rw-r--r--factory-reset.rule5
-rw-r--r--[-rwxr-xr-x]packaging/factory-reset.service0
-rw-r--r--packaging/factory-reset.spec121
-rw-r--r--po/CMakeLists.txt23
-rw-r--r--po/POTFILES.in2
-rw-r--r--po/ar.po22
-rw-r--r--po/as.po22
-rw-r--r--po/az.po22
-rw-r--r--po/bg.po22
-rw-r--r--po/bn.po22
-rw-r--r--po/bn_BD.po22
-rw-r--r--po/ca.po22
-rw-r--r--po/cs.po22
-rw-r--r--po/da.po22
-rw-r--r--po/de.po22
-rw-r--r--po/el_GR.po22
-rw-r--r--po/en.po22
-rw-r--r--po/en_PH.po22
-rw-r--r--po/en_US.po22
-rw-r--r--po/es_ES.po22
-rw-r--r--po/es_US.po22
-rw-r--r--po/et.po22
-rw-r--r--po/eu.po22
-rw-r--r--po/fa.po22
-rw-r--r--po/factory-reset.pot22
-rw-r--r--po/fi.po22
-rw-r--r--po/fr.po22
-rw-r--r--po/fr_CA.po22
-rw-r--r--po/ga.po22
-rw-r--r--po/gl.po22
-rw-r--r--po/gu.po22
-rw-r--r--po/he.po22
-rw-r--r--po/hi.po22
-rw-r--r--po/hr.po22
-rw-r--r--po/hu.po22
-rw-r--r--po/hy.po22
-rw-r--r--po/id.po22
-rw-r--r--po/is.po22
-rw-r--r--po/it_IT.po22
-rw-r--r--po/ja_JP.po22
-rw-r--r--po/ka.po22
-rw-r--r--po/kk.po22
-rw-r--r--po/km.po22
-rw-r--r--po/kn.po22
-rw-r--r--po/ko_KR.po22
-rw-r--r--po/ky_KG.po22
-rw-r--r--po/lo.po22
-rw-r--r--po/lt.po22
-rw-r--r--po/lv.po22
-rw-r--r--po/mk.po22
-rw-r--r--po/ml.po22
-rwxr-xr-xpo/mn_MN.po22
-rw-r--r--po/mr.po22
-rw-r--r--po/ms.po22
-rw-r--r--po/my.po22
-rw-r--r--po/nb.po22
-rw-r--r--po/ne.po22
-rw-r--r--po/nl.po22
-rw-r--r--po/or.po22
-rw-r--r--po/pa.po22
-rw-r--r--po/pl.po22
-rw-r--r--po/pt_BR.po22
-rw-r--r--po/pt_PT.po22
-rw-r--r--po/ro.po22
-rw-r--r--po/ru_RU.po22
-rwxr-xr-xpo/si.po22
-rw-r--r--po/sk.po22
-rw-r--r--po/sl.po22
-rw-r--r--po/sq.po22
-rw-r--r--po/sr.po22
-rw-r--r--po/sv.po22
-rw-r--r--po/ta.po22
-rw-r--r--po/te.po22
-rw-r--r--po/tg_TJ.po22
-rw-r--r--po/th.po22
-rw-r--r--po/tk_TM.po22
-rwxr-xr-xpo/tl.po22
-rw-r--r--po/tr_TR.po22
-rw-r--r--po/uk.po22
-rwxr-xr-xpo/update-po.sh81
-rw-r--r--po/ur.po22
-rw-r--r--po/uz.po22
-rw-r--r--po/vi.po22
-rw-r--r--po/zh_CN.po22
-rw-r--r--po/zh_HK.po22
-rw-r--r--po/zh_TW.po22
-rwxr-xr-x[-rw-r--r--]script/dump-frlog.sh0
-rwxr-xr-xscript/factoryreset-verify-result.sh36
-rwxr-xr-x[-rw-r--r--]script/factoryreset-verify.sh0
-rwxr-xr-xscript/run-factory-reset.sh4
-rwxr-xr-xsrc/ccerror.h14
-rwxr-xr-xsrc/factory-reset-util.c389
-rw-r--r--src/factory-reset-util.h51
-rw-r--r--[-rwxr-xr-x]src/factory-reset.c312
-rwxr-xr-xsrc/resetCCMode.c72
-rw-r--r--src/rstsmack.c2
107 files changed, 95 insertions, 3200 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0f22d70..c3d6cc4 100755..100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,62 +1,19 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(factory-reset C)
-SET(PREFIX ${CMAKE_INSTALL_PREFIX})
-SET(EXEC_PREFIX "\${prefix}")
-SET(LIBDIR "\${prefix}/lib")
-SET(INCLUDEDIR "\${prefix}/include")
-SET(EDJDIR "\${prefix}/share/edje")
-SET(VERSION 0.1)
-
-SET(SRCS_RESET_CCMODE src/resetCCMode.c)
-SET(SRCS_RSTSMACK src/rstsmack.c)
-SET(SRCS src/factory-reset.c)
-
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
-
INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs REQUIRED libsmack dbus-1 glib-2.0 ${PKG_MODULES} )
+pkg_check_modules(pkgs REQUIRED libsmack)
FOREACH(flag ${pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-FIND_PROGRAM(UNAME NAMES uname)
-EXEC_PROGRAM("${UNAME}" ARGS "-m" OUTPUT_VARIABLE "ARCH")
-IF("${ARCH}" MATCHES "^arm.*")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF()
-
-ADD_DEFINITIONS("-DVENDOR=\"${VENDOR}\"")
-ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE}\"")
-ADD_DEFINITIONS("-DPACKAGE_NAME=\"${PKGNAME}\"")
-ADD_DEFINITIONS("-DPREFIX=\"${PREFIX}\"")
-ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"")
-ADD_DEFINITIONS("-DEDJDIR=\"${EDJDIR}\"")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE")
+SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie")
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed")
+ADD_EXECUTABLE(rstsmack src/rstsmack.c)
+ADD_EXECUTABLE(factory-reset src/factory-reset.c)
+TARGET_LINK_LIBRARIES(rstsmack ${pkgs_LDFLAGS})
-ADD_EXECUTABLE(resetCCMode ${SRCS_RESET_CCMODE})
-ADD_EXECUTABLE(rstsmack ${SRCS_RSTSMACK})
-ADD_EXECUTABLE(factory-reset ${SRCS})
-TARGET_LINK_LIBRARIES(rstsmack ${pkgs_LDFLAGS} -pie)
-TARGET_LINK_LIBRARIES(factory-reset ${pkgs_LDFLAGS} -pie)
-
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/script/run-factory-reset.sh DESTINATION bin)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/script/factoryreset-verify.sh DESTINATION bin)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/script/factoryreset-verify-result.sh DESTINATION bin)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/script/build-backup-data.sh DESTINATION bin)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/script/dump-frlog.sh DESTINATION /opt/etc/dump.d/module.d)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/factory-reset.rule DESTINATION /etc/smack/accesses2.d)
INSTALL(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/rstsmack DESTINATION bin)
INSTALL(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/factory-reset DESTINATION bin)
-
-IF("$ENV{CFLAGS}" MATCHES "-DTIZEN_CC")
- INSTALL(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/resetCCMode DESTINATION bin)
-ENDIF()
-
-#add sub directory
-#ADD_SUBDIRECTORY(po)
diff --git a/LICENSE b/LICENSE.Apache-2.0
index 3b1668e..3b1668e 100644
--- a/LICENSE
+++ b/LICENSE.Apache-2.0
diff --git a/data/factory-reset-util-small-display.edc b/data/factory-reset-util-small-display.edc
deleted file mode 100755
index 9145d2b..0000000
--- a/data/factory-reset-util-small-display.edc
+++ /dev/null
@@ -1,193 +0,0 @@
-#define IMAGE_DIR "./data/images/"
-#define ICON_FILE IMAGE_DIR"A01-1_samsung_gear_s_logo.png"
-
-collections {
- group {
- name: "main";
- images {
- image: ICON_FILE COMP;
- }
-
- parts {
- part {
- name: "bg";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 255;
- }
- }
- part {
- name: "top_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 10 10;
- fixed: 0 0;
- rel1.relative: 0.0 0.0;
- rel1.to_y: "bg";
- rel2.relative: 1.0 100/480;
- rel2.to_y: "bg";
- align: 0.5 0.0;
- color: 0 0 0 255;
- }
- }
- part {
- name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel1.to_x: "bg";
- rel2.relative: 0.02 1.0;
- rel2.to_y: "bg";
- align: 0.0 0.5;
- color: 0 0 0 255;
- }
- }
- part {
- name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- rel1.relative: 0.98 0.0;
- rel1.to_x: "bg";
- rel2.relative: 1.0 1.0;
- align: 1.0 0.5;
- color: 0 0 0 255;
- }
- }
- part {
- name: "img_icon";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- max: 240 120;
- min: 240 120;
- fixed: 1 1;
- rel1.relative: 1/3 1.0;
- rel1.to_x: "bg";
- rel1.to_y: "top_padding";
- rel2.relative: 2/3 220/480;
- image.normal: ICON_FILE;
- align: 0.5 0.5;
- }
- }
- part {
- name: "mid_padding1";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 10 10;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- rel1.to_y: "img_icon";
- rel2.relative: 1.0 150/320;
- align: 0.5 0.0;
- color: 0 0 0 255;
- }
- }
- part {
- name: "txt_mesg_box";
- type: RECT;
- scale: 0;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 160 90;
- fixed: 1 1;
- rel1.relative: 1.0 1.0;
- rel1.to_x: "left_padding";
- rel1.to_y: "mid_padding1";
- rel2.relative: 0.0 260/320;
- rel2.to_x: "right_padding";
- align: 0.5 0.0;
- color: 0 0 0 255;
- }
- }
-
- part {
- name: "txt_mesg";
- type: SWALLOW;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 160 30;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel1.to_y: "txt_mesg_box";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- rel2.to_y: "txt_mesg_box";
- align: 0.5 0.45;
- }
- }
- part {
- name: "mid_padding2";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 10 10;
- fixed: 0 1;
- rel1.relative: 1.0 1.0;
- rel1.to_x: "left_padding";
- rel1.to_y: "txt_mesg_box";
- rel2.relative: 0.0 268/320;
- rel2.to_x: "right_padding";
- align: 0.5 0.0;
- color: 0 0 0 255;
- }
- }
- part {
- name: "pending_pbar";
- type: SWALLOW;
- scale: 0;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 16;
- fixed: 0 1;
- rel1.relative: 3.0 1.0;
- rel1.to_x: "left_padding";
- rel1.to_y: "mid_padding2";
- rel2.relative: -2.0 288/320;
- rel2.to_x: "right_padding";
- align: 0.5 0.0;
- }
- }
-
- part {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 10 10;
- fixed: 1 1;
- rel1.relative: 1.0 1.0;
- rel1.to_x: "left_padding";
- rel1.to_y: "bg";
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- color: 0 0 0 255;
- }
- }
-
- }
-
- }
-}
diff --git a/data/factory-reset-util.edc b/data/factory-reset-util.edc
deleted file mode 100755
index 3c0158f..0000000
--- a/data/factory-reset-util.edc
+++ /dev/null
@@ -1,175 +0,0 @@
-#define IMAGE_DIR "./data/images/"
-#define ICON_FILE IMAGE_DIR"A01-1_icon_factoryreset.png"
-
-collections {
- group {
- name: "main";
- images {
- image: ICON_FILE COMP;
- }
-
- parts {
- part {
- name: "bg";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 255;
- }
- }
- part {
- name: "top_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 10 10;
- fixed: 0 0;
- rel1.relative: 0.0 0.0;
- rel1.to_y: "bg";
- rel2.relative: 1.0 290/1280;
- rel2.to_y: "bg";
- align: 0.5 0.0;
- color: 0 0 0 255;
- }
- }
- part {
- name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel1.to_x: "bg";
- rel2.relative: 0.05 1.0;
- rel2.to_y: "bg";
- align: 0.0 0.5;
- color: 0 0 0 255;
- }
- }
- part {
- name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- rel1.relative: 0.95 0.0;
- rel1.to_x: "bg";
- rel2.relative: 1.0 1.0;
- align: 1.0 0.5;
- color: 0 0 0 255;
- }
- }
- part {
- name: "img_icon";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 120 120;
- fixed: 1 1;
- rel1.relative: 1/3 1.0;
- rel1.to_x: "bg";
- rel1.to_y: "top_padding";
- rel2.relative: 2/3 530/1280;
- image.normal: ICON_FILE;
- align: 0.5 0;
- }
- }
- part {
- name: "mid_padding1";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 10 10;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- rel1.to_y: "img_icon";
- rel2.relative: 1.0 633/1280;
- align: 0.5 0.0;
- color: 0 0 0 255;
- }
- }
- part {
- name: "pending_pbar";
- type: SWALLOW;
- scale: 0;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 16;
- fixed: 0 1;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left_padding";
- to_y: "mid_padding1";
- }
- rel2 {
- relative: 0.0 665/1280;
- to_x: "right_padding";
- }
- align: 0.5 0.0;
- }
- }
- part {
- name: "mid_padding2";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 10 10;
- fixed: 0 1;
- rel1.relative: 1.0 1.0;
- rel1.to_x: "left_padding";
- rel1.to_y: "pending_pbar";
- rel2.relative: 0.0 699/1280;
- rel2.to_x: "right_padding";
- align: 0.5 0.0;
- color: 0 0 0 255;
- }
- }
- part {
- name: "txt_mesg";
- type: SWALLOW;
- scale: 0;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 20 20;
- max: 720 300;
- fixed: 1 1;
- rel1.relative: 1.0 1.0;
- rel1.to_x: "left_padding";
- rel1.to_y: "mid_padding2";
- rel2.relative: 0.0 799/1280;
- rel2.to_x: "right_padding";
- align: 0.5 0.0;
- }
- }
- part {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 1.0 1.0;
- rel1.to_x: "left_padding";
- rel1.to_y: "txt_mesg";
- rel2.relative: 1.0 1.0;
- align: 0.0 0.0;
- color: 0 0 0 255;
- }
- }
-
- }
-
- }
-}
diff --git a/data/images/A01-1_icon_factoryreset.png b/data/images/A01-1_icon_factoryreset.png
deleted file mode 100644
index 9274d6b..0000000
--- a/data/images/A01-1_icon_factoryreset.png
+++ /dev/null
Binary files differ
diff --git a/data/images/A01-1_progress_bg.png b/data/images/A01-1_progress_bg.png
deleted file mode 100644
index d247212..0000000
--- a/data/images/A01-1_progress_bg.png
+++ /dev/null
Binary files differ
diff --git a/data/images/A01-1_progress_bg_dim.png b/data/images/A01-1_progress_bg_dim.png
deleted file mode 100644
index f1b1ab2..0000000
--- a/data/images/A01-1_progress_bg_dim.png
+++ /dev/null
Binary files differ
diff --git a/data/images/A01-1_progress_pending_01.png b/data/images/A01-1_progress_pending_01.png
deleted file mode 100644
index b1f5189..0000000
--- a/data/images/A01-1_progress_pending_01.png
+++ /dev/null
Binary files differ
diff --git a/data/images/A01-1_progress_pending_01_dim.png b/data/images/A01-1_progress_pending_01_dim.png
deleted file mode 100644
index 664c638..0000000
--- a/data/images/A01-1_progress_pending_01_dim.png
+++ /dev/null
Binary files differ
diff --git a/data/images/A01-1_progress_pending_02.png b/data/images/A01-1_progress_pending_02.png
deleted file mode 100644
index 186fdc8..0000000
--- a/data/images/A01-1_progress_pending_02.png
+++ /dev/null
Binary files differ
diff --git a/data/images/A01-1_progress_pending_02_dim.png b/data/images/A01-1_progress_pending_02_dim.png
deleted file mode 100644
index c86c590..0000000
--- a/data/images/A01-1_progress_pending_02_dim.png
+++ /dev/null
Binary files differ
diff --git a/factory-reset.rule b/factory-reset.rule
deleted file mode 100644
index df4604a..0000000
--- a/factory-reset.rule
+++ /dev/null
@@ -1,5 +0,0 @@
-factory-reset telephony_framework::api_manager r
-factory-reset telephony_framework::api_modem x
-factory-reset telephony_framework::api_private rwx
-factory-reset security-server::api-privilege-by-pid w
-factory-reset e17::notification rw
diff --git a/packaging/factory-reset.service b/packaging/factory-reset.service
index 02ca376..02ca376 100755..100644
--- a/packaging/factory-reset.service
+++ b/packaging/factory-reset.service
diff --git a/packaging/factory-reset.spec b/packaging/factory-reset.spec
index 0692c37..8853ddf 100644
--- a/packaging/factory-reset.spec
+++ b/packaging/factory-reset.spec
@@ -1,6 +1,6 @@
Name: factory-reset
Summary: factory-reset scripts and uitls
-Version: 1.0
+Version: 1.1
Release: 2
Group: Applications/Core Applications
License: Apache-2.0
@@ -12,23 +12,35 @@ Source4: org.tizen.factory-reset.conf
ExclusiveArch: %{arm} aarch64
BuildRequires: cmake
BuildRequires: pkgconfig(libsmack)
-BuildRequires: pkgconfig(dbus-1)
-BuildRequires: pkgconfig(glib-2.0)
-
-Requires: util-linux
-Requires: zip
-Requires: /usr/bin/tar
-Requires: unzip >= 6.0
+BuildRequires: pkgconfig(libsystemd)
+Requires: %{name}-userdata-backup
+Requires: rstsmack
+Requires: /usr/bin/rm
+Requires: /usr/bin/ls
Requires: /usr/bin/ps
+Requires: /usr/bin/tr
+Requires: /usr/bin/tar
+Requires: /usr/bin/pwd
+Requires: /usr/bin/cat
+Requires: /usr/bin/awk
+Requires: /usr/bin/expr
+Requires: /usr/bin/echo
Requires: /usr/bin/grep
+Requires: /usr/bin/sync
+Requires: /usr/bin/mkdir
+Requires: /usr/bin/unzip
Requires: /usr/bin/sleep
Requires: /usr/bin/mount
Requires: /usr/bin/umount
Requires: /usr/bin/md5sum
-Requires: /usr/bin/expr
-Requires: /usr/bin/tr
-Requires: /usr/bin/awk
-Requires: /usr/bin/zip
+Requires: /usr/bin/killall
+Requires: /usr/bin/readlink
+Requires: /usr/bin/dbus-send
+Requires: /usr/sbin/blkid
+Requires: /usr/sbin/reboot
+Requires: /usr/sbin/mkfs.ext4
+Requires: /usr/sbin/mkfs.f2fs
+Requires: /usr/sbin/mkfs.btrfs
%description
Factory-reset is for returning the phone to the initial state. This makes the
@@ -40,75 +52,66 @@ but it also be called by Manufacture Steps for all products.
%package userdata-backup
Summary: Vconf internal keys (devel)
Group: Application Framework/Configuration
-
+Requires: /usr/bin/tar
+Requires: /usr/bin/zip
+Requires: /usr/bin/sed
+Requires: /usr/bin/mkdir
+Requires: /usr/bin/bash
+Requires: /usr/bin/chmod
%description userdata-backup
userdata-backup make a backup data for user r/w data area by archieving with tar/zip.
+%package -n rstsmack
+Summary: Utility to restore smack attributes
+Group: Application Framework/Configuration
+
+%description -n rstsmack
+rstsmack is small utility to set Smack labels from configuration file.
+
%prep
%setup -q
%build
-%if 0%{?sec_product_feature_telephony_disable}
-export CFLAGS+=" -DTELEPHONY_DISABLE"
-%endif
-
-%if 0%{?sec_product_feature_csc_disable}
-export CFLAGS+=" -DCSC_DISABLE"
-%endif
-
-%if 0%{?sec_build_binary_debug_enable}
-export CFLAGS+=" -DDEBUG_BINARY"
-%endif
-
-%if 0%{?sec_product_feature_security_mdfpp_enable}
-export CFLAGS+=" -DTIZEN_CC"
-%endif
-
-cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
--DDISPLAY_RESOLUTION=%{sec_product_feature_display_resolution}
-
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
make %{?jobs:-j%jobs}
-
%install
rm -rf %{buildroot}
%make_install
-mkdir -p %{buildroot}%{_unitdir}/delayed.target.wants/
-install -m 0644 %SOURCE1 %{buildroot}%{_unitdir}/factory-reset.service
-install -m 0644 %SOURCE2 %{buildroot}%{_unitdir}/factory-reset-launch.service
-ln -s ../factory-reset.service %{buildroot}%{_unitdir}/delayed.target.wants/factory-reset.service
-mkdir -p %{buildroot}%{_datadir}/dbus-1/system-services
-install -m 0644 %SOURCE3 %{buildroot}%{_datadir}/dbus-1/system-services/org.tizen.factoryreset.service
-mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d/
-install -m 0644 %SOURCE4 %{buildroot}%{_sysconfdir}/dbus-1/system.d/org.tizen.factory-reset.conf
+install -D -m 0700 script/build-backup-data.sh %{buildroot}%{_bindir}/build-backup-data.sh
+install -D -m 0700 script/run-factory-reset.sh %{buildroot}%{_bindir}/run-factory-reset.sh
+install -D -m 0700 script/factoryreset-verify.sh %{buildroot}%{_bindir}/factoryreset-verify.sh
+install -D -m 0700 script/dump-frlog.sh %{buildroot}/opt/etc/dump.d/module.d/dump-frlog.sh
-%post
-
-%postun
+install -D -m 0644 %SOURCE1 %{buildroot}%{_unitdir}/factory-reset.service
+install -D -m 0644 %SOURCE2 %{buildroot}%{_unitdir}/factory-reset-launch.service
+%install_service delayed.target.wants factory-reset.service
+install -D -m 0644 %SOURCE4 %{buildroot}%{_sysconfdir}/dbus-1/system.d/org.tizen.factory-reset.conf
+install -D -m 0644 %SOURCE3 %{buildroot}%{_datadir}/dbus-1/system-services/org.tizen.factoryreset.service
%files
+%manifest factory-reset.manifest
+%license LICENSE.Apache-2.0
%{_unitdir}/factory-reset.service
%{_unitdir}/factory-reset-launch.service
%{_unitdir}/delayed.target.wants/factory-reset.service
-%license LICENSE
-/etc/smack/accesses2.d/%{name}.rule
-%attr(700,root,root) %{_bindir}/factoryreset-verify-result.sh*
-%attr(700,root,root) %{_bindir}/factoryreset-verify.sh
-%attr(700,root,root) %{_bindir}/run-factory-reset.sh*
-
-%attr(755,root,root) %{_bindir}/rstsmack
-%attr(744,root,root) %{_bindir}/factory-reset
-%{_datadir}/dbus-1/system-services/org.tizen.factoryreset.service
%{_sysconfdir}/dbus-1/system.d/org.tizen.factory-reset.conf
-%manifest factory-reset.manifest
-%attr(110,root,root) /opt/etc/dump.d/module.d/dump-frlog.sh
+%{_datadir}/dbus-1/system-services/org.tizen.factoryreset.service
-%if 0%{?sec_product_feature_security_mdfpp_enable}
-%attr(700,root,root) %{_bindir}/resetCCMode
-%endif
+%{_bindir}/run-factory-reset.sh
+%{_bindir}/factoryreset-verify.sh
+%attr(700,root,root) %{_bindir}/factory-reset
+%attr(100,root,root) /opt/etc/dump.d/module.d/dump-frlog.sh
%files userdata-backup
-%attr(700,root,root) %{_bindir}/build-backup-data.sh*
+%manifest factory-reset.manifest
+%license LICENSE.Apache-2.0
+%{_bindir}/build-backup-data.sh
+
+%files -n rstsmack
+%manifest factory-reset.manifest
+%license LICENSE.Apache-2.0
+%attr(700,root,root) %{_bindir}/rstsmack
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
deleted file mode 100644
index 016c26b..0000000
--- a/po/CMakeLists.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-# for i18n
-
-SET(POFILES ar as az bg bn bn_BD ca cs da de el_GR en_PH en en_US es_ES es_US et eu fa fi fr_CA fr ga gl gu he hi hr hu hy id is it_IT ja_JP ka kk km kn ko_KR ky_KG lo lt lv mk ml mn_MN mr ms my nb ne nl or pa pl pt_BR pt_PT ro ru_RU si sk sl sq sr sv ta te tg_TJ th tk_TM tl tr_TR uk ur uz vi zh_CN zh_HK zh_TW)
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}.po)
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile}
- DESTINATION share/locale/${lang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo)
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
diff --git a/po/POTFILES.in b/po/POTFILES.in
deleted file mode 100644
index fd2736b..0000000
--- a/po/POTFILES.in
+++ /dev/null
@@ -1,2 +0,0 @@
-# List of source files containing translatable strings.
-factory-reset-util.c
diff --git a/po/ar.po b/po/ar.po
deleted file mode 100644
index 54ce9cd..0000000
--- a/po/ar.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "جار تنفيذ إعادة ضبط بيانات المصنع‬. الرجاء الانتظار..."
diff --git a/po/as.po b/po/as.po
deleted file mode 100644
index 2b0e7d6..0000000
--- a/po/as.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "ফেক্টৰী ডাটা পুনঃছেট সম্পন্ন কৰি আছে। অনুগ্ৰহ কৰি অপেক্ষা কৰক..."
diff --git a/po/az.po b/po/az.po
deleted file mode 100644
index 4c5c1fb..0000000
--- a/po/az.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Zavod məlumatlarının bərpası aparılır. Lütfən gözləyin..."
diff --git a/po/bg.po b/po/bg.po
deleted file mode 100644
index b85f33a..0000000
--- a/po/bg.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Извършва се нулиране с фабричните данни. Моля, изчакайте..."
diff --git a/po/bn.po b/po/bn.po
deleted file mode 100644
index 78fe170..0000000
--- a/po/bn.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "ফ্যাক্টরি তথ্য পুনরায় সেট করা হচ্ছে৷ দয়া করে অপেক্ষা করুন..."
diff --git a/po/bn_BD.po b/po/bn_BD.po
deleted file mode 100644
index 7fc6ab0..0000000
--- a/po/bn_BD.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "ফ্যাক্টরি তথ্য পুনঃনির্ধারণ করা হচ্ছে৷ অনুগ্রহপূর্বক অপেক্ষা করুন..."
diff --git a/po/ca.po b/po/ca.po
deleted file mode 100644
index a69a8a1..0000000
--- a/po/ca.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "S'estan restablint les dades de fàbrica. Esperi..."
diff --git a/po/cs.po b/po/cs.po
deleted file mode 100644
index f974df7..0000000
--- a/po/cs.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Obnovování výchozích nastavení.<br>Počkejte prosím..."
diff --git a/po/da.po b/po/da.po
deleted file mode 100644
index 48973b0..0000000
--- a/po/da.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Udfører nulstilling til fabriksstandard. Vent ..."
diff --git a/po/de.po b/po/de.po
deleted file mode 100644
index f4b8674..0000000
--- a/po/de.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Auf Werkseinstellungen zurücksetzen. Bitte warten..."
diff --git a/po/el_GR.po b/po/el_GR.po
deleted file mode 100644
index 7c23d94..0000000
--- a/po/el_GR.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Γίνεται επαναφορά των εργοστασιακών δεδομένων. Περιμένετε..."
diff --git a/po/en.po b/po/en.po
deleted file mode 100644
index dd91ae4..0000000
--- a/po/en.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Performing factory data reset.<br>Please wait..."
diff --git a/po/en_PH.po b/po/en_PH.po
deleted file mode 100644
index dd91ae4..0000000
--- a/po/en_PH.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Performing factory data reset.<br>Please wait..."
diff --git a/po/en_US.po b/po/en_US.po
deleted file mode 100644
index dd91ae4..0000000
--- a/po/en_US.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Performing factory data reset.<br>Please wait..."
diff --git a/po/es_ES.po b/po/es_ES.po
deleted file mode 100644
index 5b148e9..0000000
--- a/po/es_ES.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Restableciendo datos de fábrica.<br>Espere..."
diff --git a/po/es_US.po b/po/es_US.po
deleted file mode 100644
index 741c0c9..0000000
--- a/po/es_US.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Realizando restablecimiento de datos de fabrica. Espere..."
diff --git a/po/et.po b/po/et.po
deleted file mode 100644
index 0d3163d..0000000
--- a/po/et.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Tehaseandmete lähtestamine.<br>Palun oodake..."
diff --git a/po/eu.po b/po/eu.po
deleted file mode 100644
index 0053ba0..0000000
--- a/po/eu.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Fabrikako datu berrezarpena egiten. Itxaron mesedez..."
diff --git a/po/fa.po b/po/fa.po
deleted file mode 100644
index 16a9501..0000000
--- a/po/fa.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "در حال بازنشانی داده های کارخانه. لطفاً صبر کنید..."
diff --git a/po/factory-reset.pot b/po/factory-reset.pot
deleted file mode 100644
index 175a98c..0000000
--- a/po/factory-reset.pot
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr ""
diff --git a/po/fi.po b/po/fi.po
deleted file mode 100644
index 6460ca6..0000000
--- a/po/fi.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Alkuperäisiä tietoja palautetaan. Odota..."
diff --git a/po/fr.po b/po/fr.po
deleted file mode 100644
index 0252a95..0000000
--- a/po/fr.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Réinitialisation des données par défaut. Veuillez patienter..."
diff --git a/po/fr_CA.po b/po/fr_CA.po
deleted file mode 100644
index 0252a95..0000000
--- a/po/fr_CA.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Réinitialisation des données par défaut. Veuillez patienter..."
diff --git a/po/ga.po b/po/ga.po
deleted file mode 100644
index 898c3bb..0000000
--- a/po/ga.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Athshocrú sonraí monarchan á dhéanamh. Fan go fóill..."
diff --git a/po/gl.po b/po/gl.po
deleted file mode 100644
index d36ba7a..0000000
--- a/po/gl.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Realizando o restablecemento dos datos de fábrica. Agarda..."
diff --git a/po/gu.po b/po/gu.po
deleted file mode 100644
index 6fc67db..0000000
--- a/po/gu.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "ફેકટરી ડેટાને ફરી ગોઠવી રહ્યું છે. કૃપયા પ્રતીક્ષા કરો..."
diff --git a/po/he.po b/po/he.po
deleted file mode 100644
index 7c8c320..0000000
--- a/po/he.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "מבצע איפוס לנתוני היצרן. נא המתן..."
diff --git a/po/hi.po b/po/hi.po
deleted file mode 100644
index 4583fce..0000000
--- a/po/hi.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "फैक्टरी डाटा रीसेट निष्पादित कर रहा है। कृपया प्रतीक्षा करें..."
diff --git a/po/hr.po b/po/hr.po
deleted file mode 100644
index 43d1892..0000000
--- a/po/hr.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Vraćanje tvorničkih postavki.<br>Pričekajte..."
diff --git a/po/hu.po b/po/hu.po
deleted file mode 100644
index aa006df..0000000
--- a/po/hu.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Gyári adatok visszaállítása.<br>Kis türelmet..."
diff --git a/po/hy.po b/po/hy.po
deleted file mode 100644
index 6658f81..0000000
--- a/po/hy.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Կատարվում է գործարանային տվյալների հետադարձում: Խնդրում ենք սպասել..."
diff --git a/po/id.po b/po/id.po
deleted file mode 100644
index 0602bb1..0000000
--- a/po/id.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Melakukan reset data pabrik. Harap tunggu..."
diff --git a/po/is.po b/po/is.po
deleted file mode 100644
index bab526e..0000000
--- a/po/is.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Framkvæmi gagnafrumstillingu.<br>Augnablik..."
diff --git a/po/it_IT.po b/po/it_IT.po
deleted file mode 100644
index 910bc98..0000000
--- a/po/it_IT.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Esecuzione del ripristino dati di fabbrica in corso. Attendere..."
diff --git a/po/ja_JP.po b/po/ja_JP.po
deleted file mode 100644
index ddd096a..0000000
--- a/po/ja_JP.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "工場出荷状態に初期化中です。<br>しばらくお待ちください。"
diff --git a/po/ka.po b/po/ka.po
deleted file mode 100644
index 2dff77c..0000000
--- a/po/ka.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "სრულდება ქარხნული მონაცემების დაბრუნება. გთხოვთ, დაელოდოთ..."
diff --git a/po/kk.po b/po/kk.po
deleted file mode 100644
index 937f977..0000000
--- a/po/kk.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Зауыттық деректер қалпына келтірілуде. Күте тұрыңыз..."
diff --git a/po/km.po b/po/km.po
deleted file mode 100644
index cc13c9b..0000000
--- a/po/km.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "កំពុង​ធ្វើ​ការកំណត់​ទិន្នន័យ​ពី​រោងចក្រ​ឡើង​វិញ។ សូម​រង់ចាំ..."
diff --git a/po/kn.po b/po/kn.po
deleted file mode 100644
index 86854e9..0000000
--- a/po/kn.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "ಫ್ಯಾಕ್ಟರಿ ದತ್ತಾಂಶ ಮರುನಿಯೋಜನೆ ನಡೆಸುತ್ತಿದೆ. ದಯವಿಟ್ಟು ನಿರೀಕ್ಷಿಸಿ..."
diff --git a/po/ko_KR.po b/po/ko_KR.po
deleted file mode 100644
index 5cc742f..0000000
--- a/po/ko_KR.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "[디바이스 전체 초기화] 실행 중입니다.<br>잠시 기다리세요..."
diff --git a/po/ky_KG.po b/po/ky_KG.po
deleted file mode 100644
index dd91ae4..0000000
--- a/po/ky_KG.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Performing factory data reset.<br>Please wait..."
diff --git a/po/lo.po b/po/lo.po
deleted file mode 100644
index 3c4f007..0000000
--- a/po/lo.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "ດໍາເນີນການຕັ້ງຄ່າຂໍ້ມູນໂຮງງານໃໝ່. ກະລຸນາ ລໍຖ້າ..."
diff --git a/po/lt.po b/po/lt.po
deleted file mode 100644
index 1024f1b..0000000
--- a/po/lt.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Gamykliniai duomenys nustatomi iš naujo. Palaukite..."
diff --git a/po/lv.po b/po/lv.po
deleted file mode 100644
index 4d85217..0000000
--- a/po/lv.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Veic sākotnējo datu atiestati.<br>Lūdzu, uzgaidiet..."
diff --git a/po/mk.po b/po/mk.po
deleted file mode 100644
index c5efd4f..0000000
--- a/po/mk.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Се врши фабричко ресетирање на податоците. Почекајте..."
diff --git a/po/ml.po b/po/ml.po
deleted file mode 100644
index a860909..0000000
--- a/po/ml.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "ഫാക്ടറി ഡാറ്റാ പുനസജ്ജീകരണം നിര്‍വഹിക്കുക. ദയവായി കാത്തിരിക്കുക..."
diff --git a/po/mn_MN.po b/po/mn_MN.po
deleted file mode 100755
index 9a3eaa2..0000000
--- a/po/mn_MN.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-05-13 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Үйлдвэрийн өгөгдөл дахин тохируулж байна. Хүлээнэ үү..."
diff --git a/po/mr.po b/po/mr.po
deleted file mode 100644
index 45790d8..0000000
--- a/po/mr.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "फॅक्टरी डेटा पुन्हा मांडणी करत आहे. कृपया प्रतीक्षा करा..."
diff --git a/po/ms.po b/po/ms.po
deleted file mode 100644
index 7b9e26a..0000000
--- a/po/ms.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Menjalankan tetap semula data kilang. Sila tunggu..."
diff --git a/po/my.po b/po/my.po
deleted file mode 100644
index 4a26ff2..0000000
--- a/po/my.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "စက္ရံု ေဒတာ ျပန္ဆင္ျခင္း ေဆာင္ရြက္ျခင္း။ ေက်းဇူးျပဳ၍ ေစာင့္ပါ..."
diff --git a/po/nb.po b/po/nb.po
deleted file mode 100644
index 088e51f..0000000
--- a/po/nb.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Tilbakestilling til fabrikkstandard pågår. Vent litt..."
diff --git a/po/ne.po b/po/ne.po
deleted file mode 100644
index cd77a57..0000000
--- a/po/ne.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "फ्याक्टोरी डाटा रिसेट कार्य हुँदैछ। कृपया पर्खनुहोस्..."
diff --git a/po/nl.po b/po/nl.po
deleted file mode 100644
index 6e0d111..0000000
--- a/po/nl.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Fabrieksinstellingen worden gereset. Even geduld..."
diff --git a/po/or.po b/po/or.po
deleted file mode 100644
index 1201656..0000000
--- a/po/or.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "ଫେକ୍ଟୋରୀ ଡାଟା ରିସେଟ୍ ସମ୍ପାଦନ କରୁଛି। ଦୟାକରି ଅପେକ୍ଷା କରନ୍ତୁ..."
diff --git a/po/pa.po b/po/pa.po
deleted file mode 100644
index 364de3d..0000000
--- a/po/pa.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "ਫੈਕਟਰੀ ਡੈਟਾ ਰੀਸੈੱਟ ਹੋ ਰਿਹਾ ਹੈ। ਕਿਰਪਾ ਕਰਕੇ ਉਡੀਕ ਕਰੋ..."
diff --git a/po/pl.po b/po/pl.po
deleted file mode 100644
index 99a1478..0000000
--- a/po/pl.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Przywracanie ustawień fabrycznych. Czekaj..."
diff --git a/po/pt_BR.po b/po/pt_BR.po
deleted file mode 100644
index 86a5269..0000000
--- a/po/pt_BR.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Realizando redefinição de dados de fábrica. Aguarde..."
diff --git a/po/pt_PT.po b/po/pt_PT.po
deleted file mode 100644
index a33ee62..0000000
--- a/po/pt_PT.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "A executar reposição de dados de fábrica. Aguarde por favor..."
diff --git a/po/ro.po b/po/ro.po
deleted file mode 100644
index 7bf256c..0000000
--- a/po/ro.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Se execută resetarea la datele din fabrică. Aşteptaţi..."
diff --git a/po/ru_RU.po b/po/ru_RU.po
deleted file mode 100644
index c6291a8..0000000
--- a/po/ru_RU.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Выполнение сброса данных. Подождите..."
diff --git a/po/si.po b/po/si.po
deleted file mode 100755
index 9cb307d..0000000
--- a/po/si.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "කර්මාන්ත දත්ත නැවත සැකසීම සිදු කරමින් පවතී. කරුණාකර රැඳී සිටින්න..."
diff --git a/po/sk.po b/po/sk.po
deleted file mode 100644
index 7b8e1db..0000000
--- a/po/sk.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Obnovuje sa nastavenie údajov od výrobcu. Počkajte, prosím..."
diff --git a/po/sl.po b/po/sl.po
deleted file mode 100644
index d697b29..0000000
--- a/po/sl.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Ponastavljanje na tovarniške podatke. Počakajte ..."
diff --git a/po/sq.po b/po/sq.po
deleted file mode 100644
index 571c096..0000000
--- a/po/sq.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Duke kryer ricilësimin e të dhënave të fabrikës. Prit pak..."
diff --git a/po/sr.po b/po/sr.po
deleted file mode 100644
index f715896..0000000
--- a/po/sr.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Obavlja se fabričko resetovanje. Sačekaj..."
diff --git a/po/sv.po b/po/sv.po
deleted file mode 100644
index 4b0553f..0000000
--- a/po/sv.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Genomför återställning till fabriksdata. Vänta..."
diff --git a/po/ta.po b/po/ta.po
deleted file mode 100644
index 5c2d57c..0000000
--- a/po/ta.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "ஃபேக்டரி தரவு ரீசெட் செய்கிறது. தயவுசெய்து காத்திருக்கவும்..."
diff --git a/po/te.po b/po/te.po
deleted file mode 100644
index 3217e56..0000000
--- a/po/te.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "ఫ్యాక్టరీ డేటా రీసెట్‌ని అమలు చేస్తోంది. దయచేసి వేచి ఉండండి..."
diff --git a/po/tg_TJ.po b/po/tg_TJ.po
deleted file mode 100644
index 7d0d467..0000000
--- a/po/tg_TJ.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Иҷрокунии танзими дубораи иттилооти аслӣ. Интизор шавед..."
diff --git a/po/th.po b/po/th.po
deleted file mode 100644
index 2f8cbad..0000000
--- a/po/th.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "กำลังดำเนินการรีเซ็ทข้อมูลจากโรงงาน โปรดรอ..."
diff --git a/po/tk_TM.po b/po/tk_TM.po
deleted file mode 100644
index acefe07..0000000
--- a/po/tk_TM.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Asyl sazlamalara nol edilýär. Garaşyň..."
diff --git a/po/tl.po b/po/tl.po
deleted file mode 100755
index 993369f..0000000
--- a/po/tl.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Nagsasagawa ng pag-reset ng factory data. Mangyaring maghintay..."
diff --git a/po/tr_TR.po b/po/tr_TR.po
deleted file mode 100644
index cebd95e..0000000
--- a/po/tr_TR.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Fabrika veri sıfırlaması yapılıyor. Lütfen bekleyin..."
diff --git a/po/uk.po b/po/uk.po
deleted file mode 100644
index e618c9e..0000000
--- a/po/uk.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Скидання даних до заводських значень. Зачекайте..."
diff --git a/po/update-po.sh b/po/update-po.sh
deleted file mode 100755
index 42c1f25..0000000
--- a/po/update-po.sh
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd All Rights Reserved
-#
-# This file is part of the native-installer
-# Written by Jayoun Lee <airjany@samsung.com>, Sewook Park <sewook7.park@samsung.com>,
-# Jaeho Lee <jaeho81.lee@samsung.com>, Shobhit Srivastava <shobhit.s@samsung.com>
-#
-# PROPRIETARY/CONFIDENTIAL
-#
-# This software is the confidential and proprietary information of
-# SAMSUNG ELECTRONICS (Confidential Information).
-# You shall not disclose such Confidential Information and shall
-# use it only in accordance with the terms of the license agreement
-# you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-# representations or warranties about the suitability
-# of the software, either express or implied, including but not
-# limited to the implied warranties of merchantability, fitness for a particular purpose, or non-
-# infringement. SAMSUNG shall not be liable for any damages suffered by licensee as
-# a result of using, modifying or distributing this software or its derivatives.
-#
-
-
-PACKAGE=factory-reset
-SRCROOT=../src
-POTFILES=POTFILES.in
-
-#ALL_LINGUAS="ar az bg ca cs da de_DE el_GR en_PH en en_US es_ES es_MX et eu fi fr_CA fr_FR ga gl hi hr hu hy is it_IT ja_JP ka kk ko_KR lt lv mk nb nl_NL pl pt_BR pt_PT ro ru_RU sk sl sr sv tr_TR uk uz zh_CN zh_HK zh_SG zh_TW"
-ALL_LINGUAS="as bn fa fil gu he id khmer kn lo ml mr ms my ne or pa sinhala sq ta te th ur vi"
-
-XGETTEXT=/usr/bin/xgettext
-MSGMERGE=/usr/bin/msgmerge
-
-echo -n "Make ${PACKAGE}.pot "
-if [ ! -e $POTFILES ] ; then
- echo "$POTFILES not found"
- exit 1
-fi
-
-$XGETTEXT --default-domain=${PACKAGE} --directory=${SRCROOT} \
- --add-comments --keyword=_ --keyword=N_ --files-from=$POTFILES
-if [ $? -ne 0 ]; then
- echo "xgettext error"
- exit 1
-fi
-
-if [ ! -f ${PACKAGE}.po ]; then
- echo "No such file: ${PACKAGE}.po"
- exit 1
-fi
-
-rm -f ${PACKAGE}.pot && mv ${PACKAGE}.po ${PACKAGE}.pot
-echo "done"
-
-for LANG in $ALL_LINGUAS; do
- echo "$LANG : "
-
- if [ ! -e $LANG.po ] ; then
- sed 's/CHARSET/UTF-8/g' ${PACKAGE}.pot > ${LANG}.po
- echo "${LANG}.po created"
- else
- if $MSGMERGE ${LANG}.po ${PACKAGE}.pot -o ${LANG}.new.po ; then
- if cmp ${LANG}.po ${LANG}.new.po > /dev/null 2>&1; then
- rm -f ${LANG}.new.po
- else
- if mv -f ${LANG}.new.po ${LANG}.po; then
- echo ""
- else
- echo "msgmerge for $LANG.po failed: cannot move $LANG.new.po to $LANG.po" 1>&2
- rm -f ${LANG}.new.po
- exit 1
- fi
- fi
- else
- echo "msgmerge for $LANG failed!"
- rm -f ${LANG}.new.po
- fi
- fi
- echo ""
-done
-
diff --git a/po/ur.po b/po/ur.po
deleted file mode 100644
index e13f2e2..0000000
--- a/po/ur.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "فیکٹری کوائف پھرسیٹ انجام دے رہا ہے۔ برائے مہربانی انتظار کریں..."
diff --git a/po/uz.po b/po/uz.po
deleted file mode 100644
index 2ecbf29..0000000
--- a/po/uz.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Ishlab chiqaruvchi parametrlariga o‘tkazish. Iltimos, kuting..."
diff --git a/po/vi.po b/po/vi.po
deleted file mode 100644
index cd8da17..0000000
--- a/po/vi.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-02-10 11:16+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:41
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "Đang thực hiện khôi phục cài đặt gốc. Vui lòng chờ..."
diff --git a/po/zh_CN.po b/po/zh_CN.po
deleted file mode 100644
index 1c01cbf..0000000
--- a/po/zh_CN.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "正在进行出厂数据重置。请稍候…"
diff --git a/po/zh_HK.po b/po/zh_HK.po
deleted file mode 100644
index 67b2afb..0000000
--- a/po/zh_HK.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "正在執行重設為原廠設定。請稍候..."
diff --git a/po/zh_TW.po b/po/zh_TW.po
deleted file mode 100644
index 2817b46..0000000
--- a/po/zh_TW.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-20 16:47+0900\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: factory-reset-util.c:34
-msgid "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING"
-msgstr "正在執行原廠資料重設。請稍候..."
diff --git a/script/dump-frlog.sh b/script/dump-frlog.sh
index 6fd5a8b..6fd5a8b 100644..100755
--- a/script/dump-frlog.sh
+++ b/script/dump-frlog.sh
diff --git a/script/factoryreset-verify-result.sh b/script/factoryreset-verify-result.sh
deleted file mode 100755
index 551bfba..0000000
--- a/script/factoryreset-verify-result.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 20014- 2017 Samsung Electronics Co., Ltd.
-#
-# Contact: MyoungJune Park <mj2004.park@samsung.com>
-# Created by Wonil Choi <wonil22.choi@samsung.com>
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-
-PATH="/usr/bin:/bin:/usr/sbin:/sbin"
-
-logfile="/opt/var/log/.verify.log"
-frlog="/opt/.factoryreset.log"
-
-if [ -e $frlog ]; then
- logfile="$frlog"
-fi
-
-/bin/grep "NG," ${logfile}
-if [ $? -ne 0 ];then
- exit 0;
-else
- exit 1;
-fi
diff --git a/script/factoryreset-verify.sh b/script/factoryreset-verify.sh
index f0b7d25..f0b7d25 100644..100755
--- a/script/factoryreset-verify.sh
+++ b/script/factoryreset-verify.sh
diff --git a/script/run-factory-reset.sh b/script/run-factory-reset.sh
index cdbd185..44a0fc4 100755
--- a/script/run-factory-reset.sh
+++ b/script/run-factory-reset.sh
@@ -17,6 +17,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+
PATH="/usr/bin:/bin:/usr/sbin:/sbin"
logfile="/opt/.factoryreset.log"
@@ -32,6 +33,9 @@ rdir=/usr/system/RestoreDir/
FLAG_FTRRST_CP=
FLAG_WITHOUT_CP=
+## backup logfile
+/bin/mv -f $logfile $logfile1
+
for arg in $@
do
case "$arg" in
diff --git a/src/ccerror.h b/src/ccerror.h
deleted file mode 100755
index e9d0d6c..0000000
--- a/src/ccerror.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef CC_ERROR_H
-#define CC_ERROR_H
-
-#define CC_ERROR_BASE 500
-#define CC_ERROR_FILE_BASE 100
-#define CC_ERROR_FUNCTION_BASE 20
-#define CC_ERROR_NONE 0
-
-#define CC_ERROR_UTIL_GETCCMODE CC_ERROR_BASE //500
-#define CC_ERROR_UTIL_RESETSBFCCM CC_ERROR_UTIL_GETCCMODE+CC_ERROR_FUNCTION_BASE
-#define CC_ERROR_ZEROISE CC_ERROR_UTIL_GETCCMODE+CC_ERROR_FILE_BASE
-#define CC_ERROR_VERIFY 100 //100
-
-#endif
diff --git a/src/factory-reset-util.c b/src/factory-reset-util.c
deleted file mode 100755
index 7564366..0000000
--- a/src/factory-reset-util.c
+++ /dev/null
@@ -1,389 +0,0 @@
-/*
- * Copyright (c) 2000 - 2017 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- * Created by Wonil Choi <wonil22.choi@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include <stdio.h>
-#include <getopt.h>
-
-#if 0
-#ifndef TELEPHONY_DISABLE
-#include <tapi_common.h>
-#include <TapiCommon.h>
-#include <ITapiModem.h>
-#include <ITapiCfg.h>
-#endif
-#endif
-
-//#include <Ecore_X.h>
-//#include <utilX.h>
-#include <appcore-efl.h>
-
-#include "factory-reset-util.h"
-
-#ifndef FACTORY_RESET_FONT_SIZE
-#define FACTORY_RESET_FONT_SIZE 34 /* default font size */
-#endif
-
-#define FACTORY_RESET_PROCESS_MSG dgettext("factory-reset",\
- "IDS_ST_BODY_PERFORMING_FACTORY_DATA_RESET_PLEASE_WAIT_ING")
-
-static void win_del(void *data, Evas_Object *obj, void *event)
-{
- elm_exit();
-}
-
-static void main_quit_cb(void *data, Evas_Object *obj,
- const char *emission, const char *source)
-{
- elm_exit();
-}
-
-static Evas_Object* create_win(const char *name)
-{
- Evas_Object *eo;
- //Ecore_X_Window xwin;
- int w, h;
-
- w = 200;
- h = 400;
-
- eo = elm_win_add(NULL, name, ELM_WIN_BASIC);
- if (!eo)
- return NULL;
-
- elm_win_title_set(eo, name);
- elm_win_borderless_set(eo, EINA_TRUE);
- evas_object_smart_callback_add(eo, "delete,request", win_del, NULL);
- //ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
- evas_object_resize(eo, w, h);
-
- /* For default color */
- //ea_theme_changeable_ui_enabled_set(EINA_TRUE);
-
-#if 0
- /* Get x-window */
- xwin = elm_win_xwindow_get(eo);
- if (xwin == 0) {
- FR_LOGD("elm_win_xwindow_get() failed\n");
- return eo;
- }
-#endif
-
- /* set notification type */
- //ecore_x_netwm_window_type_set(xwin, ECORE_X_WINDOW_TYPE_NOTIFICATION);
-
- /* set notification's priority */
- //utilx_set_system_notification_level(ecore_x_display_get(), xwin, UTILX_NOTIFICATION_LEVEL_NORMAL);
-
- return eo;
-}
-
-static Evas_Object* load_edj(Evas_Object *parent, const char *file,
- const char *group)
-{
- Evas_Object *eo;
- int r;
-
- eo = elm_layout_add(parent);
- if (eo) {
- r = elm_layout_file_set(eo, file, group);
- if (!r) {
- evas_object_del(eo);
- return NULL;
- }
-
- evas_object_size_hint_weight_set(eo,
- EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- }
-
- return eo;
-}
-
-#if 0
-static Evas_Object* _create_progressbar(Evas_Object* parent)
-{
- Evas_Object *progressbar;
- Evas_Object *layout = parent;
-
- /* pending_list style */
- progressbar = elm_progressbar_add(layout);
- elm_object_style_set(progressbar, "pending");
- elm_progressbar_horizontal_set(progressbar, EINA_TRUE);
- evas_object_size_hint_align_set(progressbar, EVAS_HINT_FILL, EVAS_HINT_FILL);
- evas_object_size_hint_weight_set(progressbar, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_progressbar_pulse(progressbar, EINA_TRUE);
- elm_object_part_content_set(layout, "pending_pbar", progressbar);
- evas_object_show(progressbar);
-
- return layout;
-}
-#endif
-
-static Evas_Object* _create_label(Evas_Object* parent)
-{
- Evas_Object *label, *layout = parent;
- char mesg[1024];
-
- if (parent == NULL)
- return NULL;
-
- snprintf(mesg, sizeof(mesg),
- "<align=center><font color=#C7C7C7><font_size=%d>%s",
- FACTORY_RESET_FONT_SIZE, FACTORY_RESET_PROCESS_MSG);
-
- label = elm_label_add(layout);
- elm_label_line_wrap_set(label, ELM_WRAP_MIXED);
- evas_object_size_hint_align_set(label, EVAS_HINT_FILL, EVAS_HINT_FILL);
- evas_object_size_hint_weight_set(label, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_object_part_content_set(layout, "txt_mesg", label);
- elm_object_text_set(label, mesg);
- evas_object_show(label);
-
- return layout;
-}
-
-static int app_create(void *data)
-{
- struct appdata *ad = data;
- Evas_Object *win;
- Evas_Object *ly;
- int r;
-
- /* create window */
- win = create_win(PACKAGE);
- if (win == NULL)
- return -1;
- ad->win = win;
-
- elm_win_indicator_mode_set(ad->win, ELM_WIN_INDICATOR_HIDE);
- evas_object_show(win);
-
- /* load edje */
- ly = load_edj(win, EDJ_FILE, GRP_MAIN);
- if (ly == NULL)
- return -1;
- elm_win_resize_object_add(win, ly);
- edje_object_signal_callback_add(elm_layout_edje_get(ly),
- "EXIT", "*", main_quit_cb, NULL);
- ad->ly_main = ly;
-
- /* init internationalization */
- r = appcore_set_i18n(PACKAGE, LOCALEDIR);
- if (r)
- return -1;
-
- //_create_progressbar(ly);
- _create_label(ly);
-
- evas_object_show(ly);
- evas_object_show(win);
-
- return 0;
-}
-
-static int app_terminate(void *data)
-{
- struct appdata *ad = data;
-
- if (ad->ly_main)
- evas_object_del(ad->ly_main);
-
- if (ad->win)
- evas_object_del(ad->win);
-
- return 0;
-}
-
-static int app_pause(void *data)
-{
- return 0;
-}
-
-static int app_resume(void *data)
-{
- return 0;
-}
-
-static int app_reset(bundle *b, void *data)
-{
- struct appdata *ad = data;
-
- if (ad->win)
- elm_win_activate(ad->win);
-
- return 0;
-}
-
-#if 0
-#ifndef TELEPHONY_DISABLE
-#define CP_OFF_TIMEOUT 15
-static Ecore_Timer *timer_id;
-
-static void cp_shutdown_exit(TapiHandle *handle, const char *noti_id,
- void *data, void *user_data)
-{
- tel_deinit(handle);
- ecore_main_loop_quit();
-}
-
-static void tapi_response(TapiHandle *handle, int result,
- void *data, void *user_data)
-{
- if (result != TAPI_API_SUCCESS) {
- tel_deinit(handle);
- ecore_main_loop_quit();
- }
-}
-
-static Eina_Bool timeout_exit(void *data)
-{
- perror("no notification from telephony!!");
- ecore_main_loop_quit();
- return EINA_TRUE;
-}
-
-static int cp_shutdown(void)
-{
- int ret = 0;
- TapiHandle *tapi_handle = 0;
-
- tapi_handle = tel_init(0);
-
- if (tapi_handle == NULL)
- return -1;
-
- FR_LOGD("CP shutdown\n");
-
- ret = tel_register_noti_event(tapi_handle, TAPI_NOTI_MODEM_POWER,
- cp_shutdown_exit, NULL);
- if (ret != TAPI_API_SUCCESS)
- goto out;
-
- ret = tel_process_power_command(tapi_handle, TAPI_PHONE_POWER_OFF,
- tapi_response, NULL);
- if (ret != TAPI_API_SUCCESS)
- goto out;
-
- timer_id = ecore_timer_add(CP_OFF_TIMEOUT, timeout_exit, NULL);
- if (timer_id == NULL)
- ret = -1;
-out:
- if (ret < 0) {
- tel_deinit(tapi_handle);
- return -1;
- }
- return 0;
-}
-
-/* reset modem configs */
-static int cp_resetcfg(int reset_config)
-{
- int ret = 0;
-
- ret = tel_sec_init();
- if (ret != TAPI_SEC_API_SUCCESS)
- return -1;
- /*
- * Full reset: Initialize all configuration data.
- * Factory reset (AT+FACTORST=0,0): except IMEI(or ESN, MEID), RF
- * calibration date, MAC address.
- * Service reset (Settings -> Back up and reset -> Factory data reset):
- * except IMEI(or ESN, MEID), RF calibration date, MAC address, Life
- * time.
- * Custom reset: except IMEI(or ESN, MEID), RF calibration date, MAC
- * address, Life time, connection settings, WAP settings.
- */
- /* we use the Service reset currently. (except verizon) */
- ret = tel_set_cfg_default_configuration(reset_config);
- FR_LOGD("request cp reset with the flag value: %d\n", reset_config);
- tel_sec_deinit();
- return ret;
-}
-#else /* TELEPHONY_DISABLE */
-static int cp_shutdown(void)
-{
- return -1;
-} /* in order to avoid main loop */
-
-static int cp_resetcfg(int reset_config)
-{
- return 0;
-}
-#endif /* TELEPHONY_DISABLE */
-
-#endif
-
-
-int main(int argc, char *argv[])
-{
- struct appdata ad;
- struct appcore_ops ops = {
- .create = app_create,
- .terminate = app_terminate,
- .pause = app_pause,
- .resume = app_resume,
- .reset = app_reset,
- };
- int opt;
- int index = -1;
- struct option options[] = {
- {"displayui", 0, 0, 0},
- {"svcrstcp", 0, 0, 0}, /* modem service reset */
- {"ftrrstcp", 0, 0, 0}, /* modem factory reset */
- {"", 0, 0, 0},
- {"", 0, 0, 0},
- {0, 0, 0, 0}
- };
-
-
- opt = getopt_long(argc, argv, "", options, &index);
- if (opt == -1)
- return 0;
-
- switch (index) {
- case 0:
- memset(&ad, 0x0, sizeof(struct appdata));
- ops.data = &ad;
- return appcore_efl_main(PACKAGE, &argc, &argv, &ops);
- case 1:
- ecore_init();
- //cp_resetcfg(TAPI_CFG_DEFAULT_SERVICE);
- //if ( cp_shutdown() == 0) ecore_main_loop_begin();
- ecore_shutdown();
- break;
- case 2:
- ecore_init();
- //cp_resetcfg(TAPI_CFG_DEFAULT_FACTORY);
- //if ( cp_shutdown() == 0) ecore_main_loop_begin();
- ecore_shutdown();
- break;
- break;
- case 3:
-
- break;
- case 4:
-
- break;
- default:
- ;
- }
-
- return 0;
-}
-
diff --git a/src/factory-reset-util.h b/src/factory-reset-util.h
deleted file mode 100644
index 7a19628..0000000
--- a/src/factory-reset-util.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (c) 2000 - 2017 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- * Created by Wonil Choi <wonil22.choi@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include <Elementary.h>
-
-#if !defined(PACKAGE)
-# define PACKAGE "factory-reset-util"
-#endif
-#undef PACKAGE
-#define PACKAGE "factory-reset-util"
-#if !defined(LOCALEDIR)
-# define LOCALEDIR "/usr/share/locale"
-#endif
-
-#if !defined(EDJDIR)
-# define EDJDIR "/usr/share/edje"
-#endif
-
-#define EDJ_FILE "/usr/share/edje/factory-reset-util.edj"
-#define GRP_MAIN "main"
-
-struct appdata {
- Evas_Object *win;
- Evas_Object *ly_main;
-
- /* add more variables here */
-};
-
-#ifdef DEBUG
-# define FR_LOGD(fmt, arg...) printf(fmt, ##arg)
-#else
-# define FR_LOGD(fmt, arg...)
-#endif
-
diff --git a/src/factory-reset.c b/src/factory-reset.c
index aee4d59..b297454 100755..100644
--- a/src/factory-reset.c
+++ b/src/factory-reset.c
@@ -19,342 +19,74 @@
*/
#include <stdio.h>
-#include <stdlib.h>
#include <unistd.h>
-#include <string.h>
-#include <linux/reboot.h>
-#include <linux/limits.h>
-#include <sys/reboot.h>
-#include <sys/wait.h>
#include <sys/types.h>
-#include <time.h>
-#include <getopt.h>
-#include <dbus/dbus.h>
-#include <glib.h>
-
-//#define _USE_DBUS_OPTION
-
-#ifdef _USE_DBUS_OPTION
-#include <dbus/dbus-glib-lowlevel.h>
-#endif
-
-#define RESET_FLAG_FILE "/opt/.factoryreset"
-static const char RESET_BACKUP_FILE[2][40] = {
- "/usr/system/RestoreDir/opt.tar.gz",
- "/usr/system/RestoreDir/opt.zip"
-};
+#include <sys/wait.h>
+#include <sys/reboot.h>
+static const char *RESET_FLAG_FILE = "/opt/.factoryreset";
static const char *RUN_SCRIPT_FILE = "/usr/bin/run-factory-reset.sh";
-static const char *LOG_FILE = "/opt/.factoryreset.log";
-static const char *LOG_OLD = "/opt/.factoryreset.log.1";
-
-static char *reset_flag;
-void usage()
-{
- printf("Options: \n");
- printf(" -b, --dbus Start with dbus signal message\n");
- printf("\n");
-
- exit(0);
-}
-
-//extern int csc_svc_config_set_pre_config_for_factory_reset( void );
-/*==================================================================================
-* CSC API Code (12/10/11 applied)
- - Include header : #include "csc-dispatch.h"
- - API : int csc_svc_config_set_pre_config_for_factory_reset( void );
- - Return value : 1 (Success), 0 (Failure, 미리 저장해놓은 거래선 코드가 없을 경우 발생)
-====================================================================================*/
-int __system(const char *argv[])
+int run_factory_reset(void)
{
int status;
pid_t cpid;
+ const char *script_cmd[] = {RUN_SCRIPT_FILE, NULL};
cpid = fork();
+ /* error */
if (cpid == -1) {
perror("fork");
return -1;
}
+ /* child */
if (cpid == 0) {
- execvp(argv[0], (char *const *)argv);
+ execvp(script_cmd[0], (char *const *)script_cmd);
_exit(-1);
- } else {
- if (waitpid(cpid, &status, 0) == -1) {
- perror("waitpid failed");
- return -1;
- }
- if (WIFSIGNALED(status)) {
- perror("exit by signal");
- return -1;
- }
- if (!WIFEXITED(status)) {
- perror("exit abnormally");
- return -1;
- }
- if (WIFEXITED(status) && WEXITSTATUS(status)) {
- perror("child return error");
- return -1;
- }
- }
- return 0;
-}
-
-
-
-#ifdef _USE_DBUS_OPTION
-
-#define RESET_DBUS_SERVICE "org.tizen.factoryreset"
-#define RESET_DBUS_INTERFACE RESET_DBUS_SERVICE".start"
-
-static const char granted_caller[6][16] = {
- "setting",
- "cscmgr",
- "wms",
- "bt", /* when the host device is changed */
- "omadmagent",
- "testmode"
-};
-
-static const char list_reset_flags[2][16] = {
- "ftrrstcp",
- "withoutcp"
-};
-
-
-static GMainLoop* loop;
-static DBusConnection *bus_conn = NULL;
-static const char *dbus_obj_path = "/org/tizen/factoryreset";
-
-static void unregistered_func(DBusConnection *connection, void *user_data)
-{
- perror("factory-reset dbus unregistered\n");
-}
-
-static DBusHandlerResult message_func(DBusConnection *connection,
- DBusMessage *message,
- void *user_data)
-{
- /* store the name of factory reset caller. */
-
- char caller_name[NAME_MAX];
- FILE *fp = NULL;
- int i = 0;
-
- if (dbus_message_get_type(message) != DBUS_MESSAGE_TYPE_SIGNAL) {
- perror("Not a dbus-signal\n");
- return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
- }
-
- if (strncmp(dbus_message_get_interface(message), RESET_DBUS_INTERFACE,
- strlen(RESET_DBUS_INTERFACE)) != 0) {
- printf("Not correct interface: \"%s\"\n",
- dbus_message_get_interface(message));
- return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
- }
-
- strncpy(caller_name, dbus_message_get_member(message),
- sizeof(caller_name));
- caller_name[NAME_MAX - 1] = '\0';
-
- while (strncmp(granted_caller[i], caller_name,
- strlen(granted_caller[i]))) {
- if ((++i) >= sizeof(granted_caller) / sizeof(granted_caller[0])) {
- printf("Not a granted caller, %s\n", caller_name);
- /* XXX Warning: Comparing granted caller list cannot
- * grant good caller or not. Security is and should be
- * protected by the SMACK rule. This code is only for
- * preventing that a new unknown caller use factory
- * reset without confirmation of the factory reset
- * developer.
- */
- return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
- }
- }
- fp = fopen(LOG_FILE, "a");
- if (fp != NULL) {
- fprintf(fp, "Requested by %s, %s\n", caller_name,
- dbus_message_get_sender(message));
- fclose(fp);
- }
-
- /* member name of dbus signal message may contains reset flags */
- for (i = 0; i < sizeof(list_reset_flags) / sizeof(list_reset_flags[0]);
- i++) {
- if (strstr(caller_name, list_reset_flags[i])) {
- snprintf(caller_name, NAME_MAX, "--%s",
- list_reset_flags[i]);
- reset_flag = strdup(caller_name);
- break;
- }
}
- g_main_loop_quit(loop);
- return DBUS_HANDLER_RESULT_HANDLED;
-}
-
-
-static DBusHandlerResult filter_func(DBusConnection *connection,
- DBusMessage *message, void *user_data)
-{
- if (dbus_message_is_signal(message, DBUS_INTERFACE_LOCAL,
- "Disconnected")) {
- /* Exit cleanly. */
- printf("Disconnected");
+ /* parent */
+ if (waitpid(cpid, &status, 0) == -1) {
+ perror("waitpid failed");
+ return -1;
}
- return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
-}
-
-static DBusObjectPathVTable dbus_vtable = {
- unregistered_func,
- message_func,
- NULL,
-};
-
-static int process_dbus(void)
-{
- int ret;
- DBusError error;
-
- loop = g_main_loop_new(NULL, FALSE);
-
- dbus_error_init(&error);
- bus_conn = dbus_bus_get(DBUS_BUS_SYSTEM, &error);
- if (!bus_conn) {
- perror("failed to get dbus system bus");
- dbus_error_free(&error);
+ if (WIFSIGNALED(status)) {
+ perror("exit by signal");
return -1;
}
- /* Add message filter to handle Disconnected. */
- dbus_connection_add_filter(bus_conn, (DBusHandleMessageFunction) filter_func,
- NULL, NULL);
-
- ret = dbus_bus_request_name(bus_conn, RESET_DBUS_SERVICE, 0, &error);
-
- /* Should be ret == -1, if error is set */
- if (ret == -1 && dbus_error_is_set(&error)) {
- dbus_error_free(&error);
+ if (!WIFEXITED(status)) {
+ perror("exit abnormally");
return -1;
}
-
- if (!dbus_connection_register_object_path(bus_conn, dbus_obj_path,
- &dbus_vtable, NULL)) {
+ if (WIFEXITED(status) && WEXITSTATUS(status)) {
+ perror("child return error");
return -1;
}
- dbus_connection_setup_with_g_main(bus_conn, NULL);
- g_main_loop_run(loop);
return 0;
}
-
-#endif // _USE_DBUS_OPTION
-
int main(int argc, char **argv)
{
FILE *fp;
- int i = 0, c;
- const char *reset_cmd[] = {RUN_SCRIPT_FILE, NULL, NULL};
- time_t t = time(NULL);
-
- struct tm lt;
- if (localtime_r(&t, &lt) == NULL) {
- perror("localtime_r() error");
- return -1;
- }
- static struct option long_options[] = {
- {"dbus", no_argument, NULL, 'b'},
- {0, 0, 0, 0}
- };
-
-#if 0
- int ret = setuid(0);
- if (ret < 0) {
- perror("wrong permission");
- return -1;
- }
-#endif
-
- /* If there is no factory-reset backup file, don't try to reset. */
- while (!(fp = fopen(RESET_BACKUP_FILE[i++], "r"))) {
- if (i >= sizeof(RESET_BACKUP_FILE) /
- sizeof(RESET_BACKUP_FILE[0])) {
- perror("backup file is not exist");
- return -1;
- }
- }
- if (fp != NULL) fclose(fp);
-
- if (rename(LOG_FILE, LOG_OLD) < 0)
- perror("can't rename the old log file");
-
- while (1) {
-
- int option_index = -1;
- c = getopt_long(argc, argv, "b", long_options, &option_index);
- if (c == -1)
- break;
-
- switch (c) {
- case 'b':
-#ifdef _USE_DBUS_OPTION
- if (process_dbus() < 0) {
- perror("dbus has some errors.");
- return -1;
- }
-#endif
- break;
-
- default:
- usage();
- break;
- }
- }
-
- if (optind < argc)
- usage();
-
-#if 0
+ /* touch /opt/.factoryreset */
fp = fopen(RESET_FLAG_FILE, "w");
if (fp == NULL) {
perror("reset flg file open error");
return -1;
}
fclose(fp);
-#endif
-
- // Factory Reset Run
- reset_cmd[1] = reset_flag;
- __system(reset_cmd);
- // open log file (add local time)
- fp = fopen(LOG_FILE, "a");
- if (fp == NULL) {
- perror("reset log file open error");
- return -2;
- }
-
- // write finish log file
- fprintf(fp, "End Factory Reset\n%d-%02d-%02d %02d:%02d:%02d\n",
- lt.tm_year + 1900, lt.tm_mon + 1, lt.tm_mday,
- lt.tm_hour, lt.tm_min, lt.tm_sec);
- fclose(fp);
+ run_factory_reset();
- // remove reset flag file, sync and reboot
-#if 0
+ /* unlink /opt/.factoryreset */
unlink(RESET_FLAG_FILE);
-#endif
sync();
-#ifdef DEBUG_BINARY
- reboot(LINUX_REBOOT_CMD_RESTART);
-#else
- const char *reboot_cmd[] = {"/usr/sbin/reboot", "debug0x4f4c", NULL};
- __system(reboot_cmd);
-#endif
+ reboot(RB_AUTOBOOT);
return 0;
}
diff --git a/src/resetCCMode.c b/src/resetCCMode.c
deleted file mode 100755
index 2d3e8fe..0000000
--- a/src/resetCCMode.c
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * Copyright (c) 2000 - 2017 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- * Created by Wonil Choi <wonil22.choi@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include <stdio.h>
-#include <stdint.h>
-#include <fcntl.h>
-#include <string.h>
-#include <sys/types.h>
-#include <unistd.h>
-#include <errno.h>
-
-#include "ccerror.h"
-
-#define PARAM_CC_ENC_RAW_SIZE 64
-#define PARAM_CC_FLAG_OFFSET 0x800
-
-static const char dev_params[] = {
- "/dev/disk/by-partlabel/param"
-};
-
-int resetSBFCCM(void)
-{
- int ret, fd;
- uint8_t eraw[PARAM_CC_ENC_RAW_SIZE];
-
- memset(eraw, 0, PARAM_CC_ENC_RAW_SIZE);
- if ((fd = open(dev_params, O_WRONLY)) == -1) {
- ret = -CC_ERROR_UTIL_RESETSBFCCM;
- goto open_fail;
- }
-
- if (lseek(fd, -(PARAM_CC_FLAG_OFFSET), SEEK_END) == -1) {
- ret = -(CC_ERROR_UTIL_RESETSBFCCM + 2);
- goto out;
- }
-
- if (write(fd, eraw, PARAM_CC_ENC_RAW_SIZE) != PARAM_CC_ENC_RAW_SIZE) {
- ret = -(CC_ERROR_UTIL_RESETSBFCCM + 3);
- goto out;
- }
-
- ret = CC_ERROR_NONE;
-out:
- close(fd);
-open_fail:
- return ret;
-}
-
-int main(void)
-{
- int ret = resetSBFCCM();
- printf("resetSBFCCM() returns %d\n", ret);
- return ret;
-}
-
diff --git a/src/rstsmack.c b/src/rstsmack.c
index 8513897..1a97c93 100644
--- a/src/rstsmack.c
+++ b/src/rstsmack.c
@@ -95,7 +95,7 @@ static int parse_and_set(const char *srcfile)
linebuf[linebuf_len - 1] = '\0';
else {
LOGINFO("Invalid label length (%u)\n", linebuf_len);
- fclose(fp);
+ fclose(fp);
return -1;
}
LOGINFO("no label, set label: %s, access=\"_\"(floor)\n", linebuf);