Skip to content
Browse files

update config

  • Loading branch information...
0 parents commit 19d188e2e0e5efd5cef920dc99ac87cff44f26c6 @mnlk2 committed Jan 29, 2011
8 .gitignore
@@ -0,0 +1,8 @@
+.zip
+/Workdir/Decompile
+/Workdir/Final
+/Workdir/Out
+/Workdir/Temp
+/Workdir/Origin
+/Base_ROM/bravo
+/Base_ROM/N1
0 Base_ROM/N1/Place N1 deodexed.zip here
No changes.
0 Base_ROM/bravo/Place bravo deodexed.zip here
No changes.
0 Output_ROM/Placeorder
No changes.
0 README
No changes.
236 Setup.cmd
@@ -0,0 +1,236 @@
+@echo off
+Set /P ver= Version a compiler :
+Set home=%CD%
+set workdir=%home%\workdir
+set base=%home%\Base_ROM
+set out=%home%\Output_ROM
+set tools=%home%\Tools
+set apktools=%tools%\apktool
+set sign=%tools%\sign
+set common=%tools%\Common
+set zip=%tools%\7zip
+
+
+:menu
+cls
+cd %home%
+@echo **********************MENU**********************
+@echo *1. Decompiler *
+@echo *2. Copier la trad FR *
+@echo *3. Compiler *
+@echo *4. Finaliser les fichiers *
+@echo *5. Creer Update.zip *
+@echo *6. Suppimer les fichier temporaire *
+@echo *7. Quitter *
+@echo ************************************************
+Set /P choix= Que voulez-vous faire?
+if "%choix%"=="1" GOTO Decompile
+if "%choix%"=="2" GOTO Copy
+if "%choix%"=="3" GOTO Compile
+if "%choix%"=="4" GOTO Final
+if "%choix%"=="5" GOTO model
+if "%choix%"=="6" GOTO Clean
+if "%choix%"=="7" GOTO Finish
+if "%choix%"=="" GOTO menu
+if not "%choix%"=="89" GOTO menu
+
+
+:Decompile
+cls
+rmdir /S /Q %workdir%\Decompile\%ver%
+cmd /c %apktools%\apktool if %workdir%\origin\%ver%\framework-res.apk
+FOR /r %workdir%\origin\%ver%\ %%i IN (*.apk) DO (
+echo.
+echo.
+echo ###### %%~ni ######
+cmd /c %apktools%\apktool d %%i %workdir%/decompile/%ver%/%%~ni)
+pause
+GOTO menu
+
+
+:Compile
+cls
+rmdir /S /Q %workdir%\out\%ver%
+FOR /r %workdir%\origin\%ver%\ %%i IN (*.apk) DO (
+echo.
+echo.
+echo ###### %%~ni ######
+cmd /c %apktools%\apktool b %workdir%\decompile\%ver%\%%~ni %workdir%/out/%ver%/%%~nxi)
+pause
+GOTO menu
+
+
+:Copy
+cls
+FOR /r %workdir%\origin\%ver%\ %%i IN (*.apk) DO (
+xcopy /SY ..\Fr\%%~ni %workdir%\Decompile\%ver%\%%~ni)
+pause
+GOTO menu
+
+
+:Final
+cls
+rmdir /S /Q %workdir%\final\%ver%
+rmdir /S /Q %workdir%\temp\%ver%
+mkdir %workdir%\Temp\%ver%
+mkdir %workdir%\Final\%ver%
+FOR /r %workdir%\Out\%ver%\ %%i IN (*.apk) DO (
+echo.
+echo.
+echo ###### %%~nxi ######
+mkdir %workdir%\temp\%ver%\%%~ni
+cd %workdir%\temp\%ver%\%%~ni
+cmd /c "%zip%\7z.exe x %%i"
+cd %tools%
+copy listfile.txt %workdir%\temp\%ver%\%%~ni\listfile.txt
+copy %workdir%\origin\%ver%\%%~nxi %workdir%\final\%ver%\%%~ni.zip
+cd %workdir%\temp\%ver%\%%~ni\
+cmd /c "%zip%\7z.exe u %workdir%\final\%ver%\%%~ni.zip @listfile.txt"
+ren %workdir%\final\%ver%\%%~ni.zip %%~nxi
+cd %home%)
+pause
+rmdir /S /Q %workdir%\temp
+GOTO menu
+
+
+:Clean
+cls
+rmdir /S /Q %workdir%\decompile
+rmdir /S /Q %workdir%\out
+rmdir /S /Q %workdir%\temp
+rmdir /S /Q %workdir%\final
+pause
+GOTO menu
+
+
+:model
+cls
+@echo *********************Model**********************
+@echo *1. Nexus One *
+@echo *2. Desire *
+@echo ************************************************
+Set /P mod1= Model :
+if "%mod1%"=="1" ( Set mod=N1
+GOTO menu2 )
+if "%mod1%"=="2" ( Set mod=bravo
+GOTO menu2 )
+if "%mod1%"=="" set mod=autre
+if not "%mod1%"=="3456789" set mod=autre
+if "%mod%"=="autre" GOTO model
+
+:menu2
+cd %workdir%
+cls
+@echo ******************MENU %mod%********************
+@echo *1. Patch FR *
+@echo *2. AIO FR *
+@echo *3. Hotfix *
+@echo *4. Suppimer les fichier temporaire *
+@echo *5. Retour choix modele *
+@echo *6. Retour Precedent menu *
+@echo *7. Quitter *
+@echo ************************************************
+Set /P choix2= Que voulez-vous faire?
+if "%choix2%"=="1" GOTO patch
+if "%choix2%"=="2" GOTO aio
+if "%choix2%"=="3" GOTO hotfix
+if "%choix2%"=="4" GOTO clean2
+if "%choix2%"=="5" GOTO model
+if "%choix2%"=="6" GOTO menu
+if "%choix2%"=="7" GOTO Finish
+if "%choix%"=="" GOTO menu2
+if not "%choix%"=="89" GOTO menu2
+
+
+:patch
+cls
+rmdir /S /Q %workdir%\PatchFr
+xcopy /SQY %workdir%\final\%ver%\*.apk %workdir%\PatchFr\system\app\
+xcopy /SQY %workdir%\final\%ver%\framework-res.apk %workdir%\PatchFr\system\framework\
+xcopy /SQY %common%\system\app\*.apk %workdir%\PatchFr\system\app\
+xcopy /SQY %common%\system\bin\clear_dalvik.sh %workdir%\PatchFr\system\bin\
+xcopy /SQY %common%\system\lib\*.* %workdir%\PatchFr\system\lib\
+xcopy /SQY %common%\%mod%\build.prop %workdir%\PatchFr\system\
+xcopy /SQY %common%\META-INF %workdir%\PatchFr\META-INF\
+xcopy /SQY %common%\%mod%\updater-script.patch %workdir%\PatchFr\META-INF\com\google\android\
+del /Q %workdir%\PatchFr\system\app\framework-res.apk
+ren %workdir%\PatchFr\META-INF\com\google\android\updater-script.patch updater-script
+cmd /c "%zip%\7z.exe a miui-%mod%-%ver%-patch_fr.zip %workdir%\PatchFr\*"
+@echo ########## Signe Update ##########
+java -jar %sign%\signapk.jar -w %sign%\testkey.x509.pem %sign%\testkey.pk8 miui-%mod%-%ver%-patch_fr.zip miui-%mod%-%ver%-patch_fr-signed.zip
+del /Q %workdir%\miui-%mod%-%ver%-patch_fr.zip
+move %workdir%\miui-%mod%-%ver%-patch_fr-signed.zip %out%\
+pause
+rmdir /S /Q %workdir%\PatchFr
+GOTO menu2
+
+
+:AIO
+cls
+rmdir /S /Q %workdir%\Temp
+rmdir /S /Q %workdir%\Temp
+mkdir Temp\%mod%
+cd Temp\%mod%
+cmd /c "%zip%\7z.exe x %base%\%mod%\miui-%mod%-%ver%_deodexed-signed.zip"
+cd %workdir%\
+xcopy /SQY %workdir%\Temp\%mod%\system %workdir%\AIO\system\
+xcopy /SQY %workdir%\Temp\%mod%\boot.img %workdir%\AIO\
+xcopy /SQY %workdir%\final\%ver%\*.apk %workdir%\AIO\system\app\
+xcopy /SQY %workdir%\final\%ver%\framework-res.apk %workdir%\AIO\system\framework\
+xcopy /SQY %common%\system\app\*.apk %workdir%\AIO\system\app\
+xcopy /SQY %common%\system\bin\*.* %workdir%\AIO\system\bin\
+xcopy /SQY %common%\system\lib\*.* %workdir%\PatchFr\system\lib\
+xcopy /SQY %common%\%mod%\build.prop %workdir%\AIO\system\
+xcopy /SQY %common%\META-INF %workdir%\AIO\META-INF\
+xcopy /SQY %common%\%mod%\updater-script.aio %workdir%\AIO\META-INF\com\google\android\
+del /Q %workdir%\AIO\system\app\framework-res.apk
+del /Q %workdir%\AIO\system\app\AppShare.apk
+ren %workdir%\AIO\META-INF\com\google\android\updater-script.aio updater-script
+cmd /c "%zip%\7z.exe a miui-%mod%-%ver%-French-AIO.zip %workdir%\AIO\*"
+@echo ########## Signe Update ##########
+java -jar %sign%\signapk.jar -w %sign%\testkey.x509.pem %sign%\testkey.pk8 miui-%mod%-%ver%-French-AIO.zip miui-%mod%-%ver%-French-AIO-signed.zip
+del /Q %workdir%\miui-%mod%-%ver%-French-AIO.zip
+move %workdir%\miui-%mod%-%ver%-French-AIO-signed.zip %out%\
+pause
+rmdir /S /Q %workdir%\AIO
+rmdir /S /Q %workdir%\Temp
+GOTO menu2
+
+
+:hotfix
+cls
+rmdir /S /Q %workdir%\Hotfix
+xcopy /SQY %home%\final\%ver%\*.apk %workdir%\Hotfix\system\app\
+xcopy /SQY %home%\final\%ver%\framework-res.apk %workdir%\Hotfix\system\framework\
+xcopy /SQY %common%\system\bin\clear_dalvik.sh %workdir%\Hotfix\system\bin\
+xcopy /SQY %common%\%mod%\build.prop %workdir%\Hotfix\system\
+xcopy /SQY %common%\META-INF %workdir%\Hotfix\META-INF\
+xcopy /SQY %common%\%mod%\updater-script.hotfix %workdir%\Hotfix\META-INF\com\google\android\
+del /Q %workdir%\Hotfix\system\app\framework-res.apk
+ren %workdir%\Hotfix\META-INF\com\google\android\updater-script.hotfix updater-script
+cls
+echo %ver%
+Set /P Nver= Nouvelle Version :
+cmd /c "%zip%\7z.exe a miui-%mod%-%ver%-to-%Nver%.zip %workdir%\Hotfix\*"
+@echo ########## Signe Update ##########
+java -jar %sign%\signapk.jar -w %sign%\testkey.x509.pem %sign%\testkey.pk8 miui-%mod%-%ver%-to-%Nver%.zip miui-%mod%-%ver%-to-%Nver%-signed.zip
+del /Q %workdir%\miui-%mod%-%ver%-to-%Nver%.zip
+move %workdir%\miui-%mod%-%ver%-to-%Nver%-signed.zip %out%\
+pause
+rmdir /S /Q %workdir%\Hotfix
+GOTO menu2
+
+
+:clean2
+cls
+rmdir /S /Q %workdir%\AIO
+rmdir /S /Q %workdir%\PatchFr
+rmdir /S /Q %workdir%\Hotfix
+rmdir /S /Q %workdir%\Temp
+del /Q *.zip
+pause
+GOTO menu2
+
+
+:Finish
+exit
30 Smali a editer.txt
@@ -0,0 +1,30 @@
+BACKUP.APK
+ AbstractBackupListActivity.smali :
+ ligne 88 -> yyyy\u5e74MM\u6708dd\u65e5 -> dd-MM-yyyy
+
+ AbstractBackupSelectActivity.smali
+ ligne 86 -> yyyy\u5e74MM\u6708dd\u65e5 -> dd-MM-yyyy
+
+ AbstractRestoreSelectActivity.smali
+ ligne 82 -> yyyy\u5e74MM\u6708dd\u65e5 -> dd-MM-yyyy
+
+ FILEEXPLORER.APK
+ \com\android\fileexplorer\Util.smali
+ ligne 1471 -> \u7167\u7247 -> Photos
+ ligne 1490 -> SD\u5361 -> Carte SD
+ ligne 1503 -> MIUI\u622a\u5c4f -> Dossiers MIUI
+ ligne 1522 -> \u94c3\u58f0 -> Sonneries
+
+
+MONITOR.APK
+ /src/com/android/monitor/TrafficSmsAdapter.smali
+ ligne 161 -> yyyy-MM-dd -> dd-MM-yyyy
+
+
+
+
+UPDATER.APK
+ /utils/Preferences.smali
+ ligne 260 -> http://update.miuirom.com/updates/update.json -> http://miui.enterinmydream.info/update.json
+
+
BIN Tools/7zip/7-zip.dll
Binary file not shown.
BIN Tools/7zip/7z.dll
Binary file not shown.
BIN Tools/7zip/7z.exe
Binary file not shown.
BIN Tools/Common/META-INF/com/google/android/update-binary
Binary file not shown.
81 Tools/Common/N1/build.prop
@@ -0,0 +1,81 @@
+# begin build properties
+# autogenerated by buildinfo.sh
+ro.build.id=MIUI
+ro.build.display.id=1.1.28
+ro.build.version.incremental=1.1.28
+ro.build.version.sdk=8
+ro.build.version.codename=REL
+ro.build.version.release=2.2.1
+ro.build.date=Fri Dec 11 10:22:00 GMT 2010
+ro.build.date.utc=1282960777
+ro.build.type=user
+ro.build.user=android-build
+ro.build.host=miui
+ro.build.tags=release-keys
+ro.product.model=Nexus One
+ro.product.brand=google
+ro.product.name=passion
+ro.product.device=passion
+ro.product.board=mahimahi
+ro.product.cpu.abi=armeabi-v7a
+ro.product.cpu.abi2=armeabi
+ro.product.manufacturer=HTC
+ro.product.locale.language=fr
+ro.product.locale.region=FR
+ro.wifi.channels=
+ro.board.platform=qsd8k
+# ro.build.product is obsolete; use ro.product.device
+ro.build.product=passion
+# Do not try to parse ro.build.description or .fingerprint
+ro.build.description=passion-user 2.2.1 FRG83D 75603 release-keys
+ro.build.fingerprint=google/passion/passion/mahimahi:2.2.1/FRG83D/75603:user/release-keys
+# end build properties
+
+#
+# ADDITIONAL_BUILD_PROPERTIES
+#
+
+ro.ril.hsxpa=2
+ro.ril.gprsclass=10
+ro.ril.hsdpa=8
+ro.ril.hsupa=5
+
+ro.ril.enable.managed.roaming=1
+ro.config.ringtone=Ring_Synth_04.ogg
+ro.config.notification_sound=pixiedust.ogg
+keyguard.no_require_sim=true
+ro.setupwizard.mode=OPTIONAL
+ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995
+ro.ril.emc.mode=2
+ro.com.android.dateformat=dd-MM-yyyy
+ro.com.android.dataroaming=false
+ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
+ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
+ro.config.ringtone=CaribbeanIce.ogg
+ro.com.google.clientidbase=android-google
+ro.config.notification_sound=OnTheHunt.ogg
+ro.config.alarm_alert=Alarm_Classic.ogg
+media.stagefright.enable-player=true
+media.stagefright.enable-meta=true
+media.stagefright.enable-scan=true
+media.stagefright.enable-http=true
+ro.com.android.wifi-watchlist=GoogleGuest
+ro.error.receiver.system.apps=com.google.android.feedback
+ro.setupwizard.enterprise_mode=1
+ro.setupwizard.mode=DISABLED
+ro.sf.lcd_density=240
+rild.libpath=/system/lib/libhtc_ril.so
+wifi.interface=eth0
+wifi.supplicant_scan_interval=15
+ro.telephony.default_network=0
+ro.opengles.version=131072
+dalvik.vm.heapsize=32m
+media.a1026.nsForVoiceRec=0
+media.a1026.enableA1026=1
+dalvik.vm.dexopt-flags=m=y
+net.bt.name=Android
+dalvik.vm.stack-trace-file=/data/anr/traces.txt
+ro.media.dec.aud.wma.enabled=1
+ro.media.dec.vid.wmv.enabled=1
+ro.moddevice=N1
+ro.modversion=LibraMod-1.1.28
160 Tools/Common/N1/updater-script.aio
@@ -0,0 +1,160 @@
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print(" ___ ___ ");
+ ui_print(" /__/\\ ___ /__/\\ ___ ");
+ ui_print(" | |::\\ / /\\ \\ \\:\\ / /\\ ");
+ ui_print(" | |:|:\\ / /:/ \\ \\:\\ / /:/ ");
+ ui_print(" __|__|:|\\:\\ /__/::\\ ___ \\ \\:\\ /__/::\\ ");
+ ui_print("/__/::::| \\:\\\\__\\/\\:\\__ /__/\\ \\__\\:\\\\__\\/\\:\\__ ");
+ ui_print("\\ \\:\\~~\\__\\/ \\ \\:\\/\\\\ \\:\\ / /:/ \\ \\:\\/\\");
+ ui_print(" \\ \\:\\ \\__\\::/ \\ \\:\\ /:/ \\__\\::/");
+ ui_print(" \\ \\:\\ /__/:/ \\ \\:\\/:/ /__/:/ ");
+ ui_print(" \\ \\:\\ \\__\\/ \\ \\::/ \\__\\/ ");
+ ui_print(" \\__\\/ \\__\\/ ");
+ ui_print("------------------------------------------------");
+ ui_print(" M I U I - v 1 .1 . 2 8 - AIO - FR ");
+ ui_print("------------------------------------------------");
+ ui_print(" DEVICE: N1 TWITTER: MIUI_mnlk2 PACKAGER: Mnlk2");
+ ui_print("------------------------------------------------");
+ ui_print(" SUPPORT:FrAndroid.com / miui-dev.com ");
+ ui_print("------------------------------------------------");
+ ui_print("");
+assert(getprop("ro.product.device") == "passion" ||
+ getprop("ro.build.product") == "passion");
+assert(getprop("ro.bootloader") == "0.33.2012" ||
+ getprop("ro.bootloader") == "0.33.0012" ||
+ getprop("ro.bootloader") == "0.35.0017" ||
+ getprop("ro.bootloader") == "0.30.2000");
+package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
+set_perm(0, 0, 0777, "/tmp/backuptool.sh");
+run_program("/tmp/backuptool.sh", "backup");
+ui_print("Sauvegarde des Gapps presents : OK");
+show_progress(0.500000, 0);
+format("MTD", "system");
+format("MTD", "cache");
+show_progress(0.500000, 40);
+mount("MTD", "system", "/system");
+package_extract_dir("system", "/system");
+ui_print("Copie des nouveaux fichier : OK");
+symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
+ "/system/xbin/arp", "/system/xbin/ash", "/system/xbin/awk",
+ "/system/xbin/basename", "/system/xbin/bbconfig", "/system/xbin/brctl",
+ "/system/xbin/bunzip2", "/system/xbin/bzcat", "/system/xbin/bzip2",
+ "/system/xbin/cal", "/system/xbin/cat", "/system/xbin/catv",
+ "/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
+ "/system/xbin/chroot", "/system/xbin/cksum", "/system/xbin/clear",
+ "/system/xbin/cmp", "/system/xbin/cp", "/system/xbin/cpio",
+ "/system/xbin/cut", "/system/xbin/date", "/system/xbin/dc",
+ "/system/xbin/dd", "/system/xbin/depmod", "/system/xbin/devmem",
+ "/system/xbin/df", "/system/xbin/diff", "/system/xbin/dirname",
+ "/system/xbin/dmesg", "/system/xbin/dnsd", "/system/xbin/dos2unix",
+ "/system/xbin/du", "/system/xbin/echo", "/system/xbin/ed",
+ "/system/xbin/egrep", "/system/xbin/env", "/system/xbin/expr",
+ "/system/xbin/false", "/system/xbin/fdisk", "/system/xbin/fgrep",
+ "/system/xbin/find", "/system/xbin/fold", "/system/xbin/free",
+ "/system/xbin/freeramdisk", "/system/xbin/fuser", "/system/xbin/getopt",
+ "/system/xbin/grep", "/system/xbin/gunzip", "/system/xbin/gzip",
+ "/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
+ "/system/xbin/ifconfig", "/system/xbin/insmod", "/system/xbin/install",
+ "/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
+ "/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
+ "/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
+ "/system/xbin/lsmod", "/system/xbin/lspci", "/system/xbin/lsusb",
+ "/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/md5sum",
+ "/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
+ "/system/xbin/mkfs.ext2", "/system/xbin/mknod", "/system/xbin/mkswap",
+ "/system/xbin/mktemp", "/system/xbin/modprobe", "/system/xbin/more",
+ "/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mv",
+ "/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
+ "/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
+ "/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
+ "/system/xbin/ping", "/system/xbin/pkill", "/system/xbin/printenv",
+ "/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pwd",
+ "/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
+ "/system/xbin/renice", "/system/xbin/reset", "/system/xbin/rm",
+ "/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
+ "/system/xbin/run-parts", "/system/xbin/sed", "/system/xbin/seq",
+ "/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
+ "/system/xbin/sha256sum", "/system/xbin/sha512sum",
+ "/system/xbin/sleep", "/system/xbin/sort", "/system/xbin/split",
+ "/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",
+ "/system/xbin/swapoff", "/system/xbin/swapon", "/system/xbin/sync",
+ "/system/xbin/sysctl", "/system/xbin/tac", "/system/xbin/tail",
+ "/system/xbin/tar", "/system/xbin/tee", "/system/xbin/telnet",
+ "/system/xbin/test", "/system/xbin/tftp", "/system/xbin/time",
+ "/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
+ "/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/tty",
+ "/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uniq",
+ "/system/xbin/unix2dos", "/system/xbin/unlzop", "/system/xbin/unzip",
+ "/system/xbin/uptime", "/system/xbin/usleep", "/system/xbin/uudecode",
+ "/system/xbin/uuencode", "/system/xbin/vi", "/system/xbin/watch",
+ "/system/xbin/wc", "/system/xbin/wget", "/system/xbin/which",
+ "/system/xbin/whoami", "/system/xbin/xargs", "/system/xbin/yes",
+ "/system/xbin/zcat");
+symlink("iwmulticall", "/system/xbin/iwconfig", "/system/xbin/iwgetid",
+ "/system/xbin/iwlist", "/system/xbin/iwpriv",
+ "/system/xbin/iwspy");
+symlink("toolbox", "/system/bin/cat", "/system/bin/cmp",
+ "/system/bin/date", "/system/bin/dd", "/system/bin/dmesg",
+ "/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
+ "/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
+ "/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
+ "/system/bin/kill", "/system/bin/log", "/system/bin/lsmod",
+ "/system/bin/mkdir", "/system/bin/nandread", "/system/bin/netstat",
+ "/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
+ "/system/bin/ps", "/system/bin/reboot", "/system/bin/renice",
+ "/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
+ "/system/bin/schedtop", "/system/bin/sendevent",
+ "/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
+ "/system/bin/smd", "/system/bin/start", "/system/bin/stop",
+ "/system/bin/sync", "/system/bin/top", "/system/bin/uptime",
+ "/system/bin/vmstat", "/system/bin/watchprops",
+ "/system/bin/wipe");
+set_perm_recursive(0, 0, 0755, 0644, "/system");
+set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
+set_perm(0, 3003, 02750, "/system/bin/netcfg");
+set_perm(0, 3004, 02755, "/system/bin/ping");
+set_perm(0, 2000, 06750, "/system/bin/run-as");
+set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
+set_perm(0, 0, 0755, "/system/etc/bluetooth");
+set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
+set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
+set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
+set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
+set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
+set_perm(0, 0, 0755, "/system/etc/init.d");
+set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
+set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
+set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
+set_perm(0, 0, 06755, "/system/xbin/apply_firewall");
+set_perm(0, 0, 06755, "/system/xbin/apply_theme");
+set_perm(0, 0, 06755, "/system/xbin/dumplog");
+set_perm(0, 0, 06755, "/system/xbin/hcitool");
+set_perm(0, 0, 06755, "/system/xbin/librank");
+set_perm(0, 0, 06755, "/system/xbin/mv2sd");
+set_perm(0, 0, 06755, "/system/xbin/ota");
+set_perm(0, 0, 06755, "/system/xbin/procmem");
+set_perm(0, 0, 06755, "/system/xbin/procrank");
+set_perm(0, 0, 06755, "/system/xbin/su");
+show_progress(0.200000, 0);
+package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
+set_perm(0, 0, 0777, "/tmp/backuptool.sh");
+run_program("/tmp/backuptool.sh", "restore");
+ui_print("Restaure des Gapps presents : OK");
+show_progress(0.200000, 10);
+package_extract_file("system/bin/clear_dalvik.sh", "/tmp/clear_dalvik.sh");
+set_perm(0, 0, 0777, "/tmp/clear_dalvik.sh");
+run_program("/tmp/clear_dalvik.sh");
+ui_print("Nettoyage cache /Dalvik-cache : OK");
+assert(package_extract_file("boot.img", "/tmp/boot.img"),
+ write_raw_image("/tmp/boot.img", "boot"),
+ delete("/tmp/boot.img"));
+show_progress(0.100000, 0);
+unmount("/system");
+unmount("/data");
+ui_print("Installation complete.");
15 Tools/Common/N1/updater-script.hotfix
@@ -0,0 +1,15 @@
+mount("MTD", "system", "/system");
+package_extract_file("system/bin/clear_dalvik.sh", "/tmp/clear_dalvik.sh");
+set_perm(0, 0, 0777, "/tmp/clear_dalvik.sh");
+run_program("/tmp/clear_dalvik.sh");
+ui_print("Nettoyage cache /Dalvik-cache : OK");
+show_progress(1, 10);
+mount("MTD", "userdata", "/data");
+delete("/data/data/com.android.mms/cache/sms_frequently_used_phrase");
+ui_print("Suppresion Anciens fichiers : OK");
+package_extract_dir("system", "/system");
+show_progress(0.200000, 10);
+ui_print("Copie des nouveaux fichier : OK");
+unmount("/data");
+unmount("/system");
+ui_print("Installation complete.");
43 Tools/Common/N1/updater-script.patch
@@ -0,0 +1,43 @@
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print(" ___ ___ ");
+ ui_print(" /__/\\ ___ /__/\\ ___ ");
+ ui_print(" | |::\\ / /\\ \\ \\:\\ / /\\ ");
+ ui_print(" | |:|:\\ / /:/ \\ \\:\\ / /:/ ");
+ ui_print(" __|__|:|\\:\\ /__/::\\ ___ \\ \\:\\ /__/::\\ ");
+ ui_print("/__/::::| \\:\\\\__\\/\\:\\__ /__/\\ \\__\\:\\\\__\\/\\:\\__ ");
+ ui_print("\\ \\:\\~~\\__\\/ \\ \\:\\/\\\\ \\:\\ / /:/ \\ \\:\\/\\");
+ ui_print(" \\ \\:\\ \\__\\::/ \\ \\:\\ /:/ \\__\\::/");
+ ui_print(" \\ \\:\\ /__/:/ \\ \\:\\/:/ /__/:/ ");
+ ui_print(" \\ \\:\\ \\__\\/ \\ \\::/ \\__\\/ ");
+ ui_print(" \\__\\/ \\__\\/ ");
+ ui_print("------------------------------------------------");
+ ui_print(" M I U I - v 1 . 1 . 2 8 Frenck pack ");
+ ui_print("------------------------------------------------");
+ ui_print(" DEVICE: N1 TWITTER: MIUI_mnlk2 PACKAGER: Mnlk2");
+ ui_print(" SUPPORT:FrAndroid.com / miui-dev.com ");
+ ui_print("------------------------------------------------");
+ ui_print("");
+mount("MTD", "system", "/system");
+show_progress(1, 10);
+delete("/system/app/music.apk");
+delete("/data/data/com.android.mms/cache/sms_frequently_used_phrase");
+delete("/system/app/GooglePinyin.apk");
+delete("/system/app/AppShare.apk");
+delete("/system/app/Superuser.apk");
+ui_print("Suppresion Anciens fichiers : OK");
+package_extract_file("system/bin/clear_dalvik.sh", "/tmp/clear_dalvik.sh");
+set_perm(0, 0, 0777, "/tmp/clear_dalvik.sh");
+run_program("/tmp/clear_dalvik.sh");
+format("MTD", "cache");
+ui_print("Nettoyage cache /Dalvik-cache : OK");
+package_extract_dir("system", "/system");
+show_progress(0.200000, 10);
+ui_print("Copie des nouveaux fichier : OK");
+unmount("/system");
+ui_print("Installation complete.");
88 Tools/Common/bravo/build.prop
@@ -0,0 +1,88 @@
+# begin build properties
+# autogenerated by buildinfo.sh
+ro.build.id=MIUI
+ro.build.display.id=MIUI.1.1.28
+ro.build.version.incremental=1.1.28
+ro.build.version.sdk=8
+ro.build.version.codename=REL
+ro.build.version.release=2.2.1
+ro.build.date=Fri Jan 28 11:15:03 CST 2011
+ro.build.date.utc=1296184503
+ro.build.type=userdebug
+ro.build.user=hanzhupeng
+ro.build.host=builder
+ro.build.tags=test-keys
+ro.product.model=HTC Desire
+ro.product.brand=generic
+ro.product.name=libra_bravo
+ro.product.device=bravo
+ro.product.board=bravo
+ro.product.cpu.abi=armeabi-v7a
+ro.product.cpu.abi2=armeabi
+ro.product.manufacturer=HTC
+ro.product.locale.language=fr
+ro.product.locale.region=FR
+ro.wifi.channels=
+ro.board.platform=qsd8k
+# ro.build.product is obsolete; use ro.product.device
+ro.build.product=bravo
+# Do not try to parse ro.build.description or .fingerprint
+ro.build.description=passion-user 2.2.1 FRG83D 75603 release-keys
+ro.build.fingerprint=google/passion/passion/mahimahi:2.2.1/FRG83D/75603:user/release-keys
+# end build properties
+
+#
+# ADDITIONAL_BUILD_PROPERTIES
+#
+ro.sf.lcd_density=240
+rild.libpath=/system/lib/libhtc_ril.so
+ro.ril.ecc.HTC-ELL=92,93,94
+ro.ril.ecc.HTC-WWE=999
+ro.ril.enable.a52.HTC-ITA=1
+ro.ril.enable.a53.HTC-ITA=1
+ro.ril.enable.a52=0
+ro.ril.enable.a53=1
+ro.ril.enable.dtm=1
+ro.ril.gprsclass=12
+ro.ril.hsdpa.category=8
+ro.ril.hsupa.category=5
+ro.ril.hsxpa=2
+wifi.interface=eth0
+wifi.supplicant_scan_interval=15
+ro.telephony.default_network=0
+ro.ril.disable.power.collapse=1
+ro.ril.avoid.pdp.overlap=1
+ro.ril.enable.prl.recognition=1
+ro.ril.def.agps.mode=2
+ro.ril.def.agps.feature=2
+ro.opengles.version=131072
+dalvik.vm.heapsize=32m
+dalvik.vm.dexopt-data-only=1
+ro.media.dec.jpeg.memcap=20000000
+keyguard.no_require_sim=true
+ro.com.android.dateformat=dd-MM-yyyy
+ro.com.android.dataroaming=true
+ro.ril.hsxpa=1
+ro.ril.gprsclass=10
+ro.config.notification_sound=OnTheHunt.ogg
+ro.config.alarm_alert=Alarm_Classic.ogg
+media.stagefright.enable-player=true
+media.stagefright.enable-meta=true
+media.stagefright.enable-scan=true
+media.stagefright.enable-http=true
+ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
+ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
+ro.com.google.clientidbase=android-google
+ro.com.android.wifi-watchlist=GoogleGuest
+ro.setupwizard.enterprise_mode=1
+ro.setupwizard.mode=DISABLED
+ro.com.android.dataroaming=true
+ro.ril.enable.managed.roaming=1
+ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995
+ro.ril.emc.mode=2
+ro.moddevice=G7
+dalvik.vm.lockprof.threshold=500
+dalvik.vm.dexopt-flags=m=y
+net.bt.name=Android
+dalvik.vm.stack-trace-file=/data/anr/traces.txt
+ro.modversion=LibraMod-1.1.28
156 Tools/Common/bravo/updater-script.aio
@@ -0,0 +1,156 @@
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print(" ___ ___ ");
+ ui_print(" /__/\\ ___ /__/\\ ___ ");
+ ui_print(" | |::\\ / /\\ \\ \\:\\ / /\\ ");
+ ui_print(" | |:|:\\ / /:/ \\ \\:\\ / /:/ ");
+ ui_print(" __|__|:|\\:\\ /__/::\\ ___ \\ \\:\\ /__/::\\ ");
+ ui_print("/__/::::| \\:\\\\__\\/\\:\\__ /__/\\ \\__\\:\\\\__\\/\\:\\__ ");
+ ui_print("\\ \\:\\~~\\__\\/ \\ \\:\\/\\\\ \\:\\ / /:/ \\ \\:\\/\\");
+ ui_print(" \\ \\:\\ \\__\\::/ \\ \\:\\ /:/ \\__\\::/");
+ ui_print(" \\ \\:\\ /__/:/ \\ \\:\\/:/ /__/:/ ");
+ ui_print(" \\ \\:\\ \\__\\/ \\ \\::/ \\__\\/ ");
+ ui_print(" \\__\\/ \\__\\/ ");
+ ui_print("");
+ ui_print(" M I U I - v 1 . 1 . 2 8 - AIO - FR ");
+ ui_print("");
+ ui_print(" DEVICE:Desire TWITTER: MIUI_mnlk2 PACKAGER: Mnlk2");
+ ui_print("");
+ ui_print(" SUPPORT:FrAndroid.com / miui-dev.com ");
+ ui_print("------------------------------------------------");
+ ui_print("");
+assert(getprop("ro.product.device") == "bravo" ||
+ getprop("ro.build.product") == "bravo");
+package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
+set_perm(0, 0, 0777, "/tmp/backuptool.sh");
+run_program("/tmp/backuptool.sh", "backup");
+ui_print("Sauvegarde des Gapps presents : OK");
+show_progress(0.500000, 0);
+format("MTD", "system");
+format("MTD", "cache");
+mount("MTD", "system", "/system");
+show_progress(0.500000, 40);
+package_extract_dir("system", "/system");
+ui_print("Copie des nouveaux fichier : OK");
+symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
+ "/system/xbin/arp", "/system/xbin/ash", "/system/xbin/awk",
+ "/system/xbin/basename", "/system/xbin/bbconfig", "/system/xbin/brctl",
+ "/system/xbin/bunzip2", "/system/xbin/bzcat", "/system/xbin/bzip2",
+ "/system/xbin/cal", "/system/xbin/cat", "/system/xbin/catv",
+ "/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
+ "/system/xbin/chroot", "/system/xbin/cksum", "/system/xbin/clear",
+ "/system/xbin/cmp", "/system/xbin/cp", "/system/xbin/cpio",
+ "/system/xbin/cut", "/system/xbin/date", "/system/xbin/dc",
+ "/system/xbin/dd", "/system/xbin/depmod", "/system/xbin/devmem",
+ "/system/xbin/df", "/system/xbin/diff", "/system/xbin/dirname",
+ "/system/xbin/dmesg", "/system/xbin/dnsd", "/system/xbin/dos2unix",
+ "/system/xbin/du", "/system/xbin/echo", "/system/xbin/ed",
+ "/system/xbin/egrep", "/system/xbin/env", "/system/xbin/expr",
+ "/system/xbin/false", "/system/xbin/fdisk", "/system/xbin/fgrep",
+ "/system/xbin/find", "/system/xbin/fold", "/system/xbin/free",
+ "/system/xbin/freeramdisk", "/system/xbin/fuser", "/system/xbin/getopt",
+ "/system/xbin/grep", "/system/xbin/gunzip", "/system/xbin/gzip",
+ "/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
+ "/system/xbin/ifconfig", "/system/xbin/insmod", "/system/xbin/install",
+ "/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
+ "/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
+ "/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
+ "/system/xbin/lsmod", "/system/xbin/lspci", "/system/xbin/lsusb",
+ "/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/md5sum",
+ "/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
+ "/system/xbin/mkfs.ext2", "/system/xbin/mknod", "/system/xbin/mkswap",
+ "/system/xbin/mktemp", "/system/xbin/modprobe", "/system/xbin/more",
+ "/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mv",
+ "/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
+ "/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
+ "/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
+ "/system/xbin/ping", "/system/xbin/pkill", "/system/xbin/printenv",
+ "/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pwd",
+ "/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
+ "/system/xbin/renice", "/system/xbin/reset", "/system/xbin/rm",
+ "/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
+ "/system/xbin/run-parts", "/system/xbin/sed", "/system/xbin/seq",
+ "/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
+ "/system/xbin/sha256sum", "/system/xbin/sha512sum",
+ "/system/xbin/sleep", "/system/xbin/sort", "/system/xbin/split",
+ "/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",
+ "/system/xbin/swapoff", "/system/xbin/swapon", "/system/xbin/sync",
+ "/system/xbin/sysctl", "/system/xbin/tac", "/system/xbin/tail",
+ "/system/xbin/tar", "/system/xbin/tee", "/system/xbin/telnet",
+ "/system/xbin/test", "/system/xbin/tftp", "/system/xbin/time",
+ "/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
+ "/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/tty",
+ "/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uniq",
+ "/system/xbin/unix2dos", "/system/xbin/unlzop", "/system/xbin/unzip",
+ "/system/xbin/uptime", "/system/xbin/usleep", "/system/xbin/uudecode",
+ "/system/xbin/uuencode", "/system/xbin/vi", "/system/xbin/watch",
+ "/system/xbin/wc", "/system/xbin/wget", "/system/xbin/which",
+ "/system/xbin/whoami", "/system/xbin/xargs", "/system/xbin/yes",
+ "/system/xbin/zcat");
+symlink("iwmulticall", "/system/xbin/iwconfig", "/system/xbin/iwgetid",
+ "/system/xbin/iwlist", "/system/xbin/iwpriv",
+ "/system/xbin/iwspy");
+symlink("toolbox", "/system/bin/cat", "/system/bin/cmp",
+ "/system/bin/date", "/system/bin/dd", "/system/bin/dmesg",
+ "/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
+ "/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
+ "/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
+ "/system/bin/kill", "/system/bin/log", "/system/bin/lsmod",
+ "/system/bin/mkdir", "/system/bin/nandread", "/system/bin/netstat",
+ "/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
+ "/system/bin/ps", "/system/bin/reboot", "/system/bin/renice",
+ "/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
+ "/system/bin/schedtop", "/system/bin/sendevent",
+ "/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
+ "/system/bin/smd", "/system/bin/start", "/system/bin/stop",
+ "/system/bin/sync", "/system/bin/top", "/system/bin/uptime",
+ "/system/bin/vmstat", "/system/bin/watchprops",
+ "/system/bin/wipe");
+set_perm_recursive(0, 0, 0755, 0644, "/system");
+set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
+set_perm(0, 3003, 02750, "/system/bin/netcfg");
+set_perm(0, 3004, 02755, "/system/bin/ping");
+set_perm(0, 2000, 06750, "/system/bin/run-as");
+set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
+set_perm(0, 0, 0755, "/system/etc/bluetooth");
+set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
+set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
+set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
+set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
+set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
+set_perm(0, 0, 0755, "/system/etc/init.d");
+set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
+set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
+set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
+set_perm(0, 0, 06755, "/system/xbin/apply_firewall");
+set_perm(0, 0, 06755, "/system/xbin/apply_theme");
+set_perm(0, 0, 06755, "/system/xbin/dumplog");
+set_perm(0, 0, 06755, "/system/xbin/hcitool");
+set_perm(0, 0, 06755, "/system/xbin/librank");
+set_perm(0, 0, 06755, "/system/xbin/mv2sd");
+set_perm(0, 0, 06755, "/system/xbin/ota");
+set_perm(0, 0, 06755, "/system/xbin/procmem");
+set_perm(0, 0, 06755, "/system/xbin/procrank");
+set_perm(0, 0, 06755, "/system/xbin/su");
+show_progress(0.200000, 0);
+package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
+set_perm(0, 0, 0777, "/tmp/backuptool.sh");
+run_program("/tmp/backuptool.sh", "restore");
+ui_print("Restaure des Gapps presents : OK");
+package_extract_file("system/bin/clear_dalvik.sh", "/tmp/clear_dalvik.sh");
+set_perm(0, 0, 0777, "/tmp/clear_dalvik.sh");
+run_program("/tmp/clear_dalvik.sh");
+ui_print("Nettoyage cache /Dalvik-cache : OK");
+show_progress(0.200000, 10);
+assert(package_extract_file("boot.img", "/tmp/boot.img"),
+ write_raw_image("/tmp/boot.img", "boot"),
+ delete("/tmp/boot.img"));
+show_progress(0.100000, 0);
+unmount("/system");
+unmount("/data");
+ui_print("Installation complete.");
15 Tools/Common/bravo/updater-script.hotfix
@@ -0,0 +1,15 @@
+mount("MTD", "system", "/system");
+package_extract_file("system/bin/clear_dalvik.sh", "/tmp/clear_dalvik.sh");
+set_perm(0, 0, 0777, "/tmp/clear_dalvik.sh");
+run_program("/tmp/clear_dalvik.sh");
+ui_print("Nettoyage cache /Dalvik-cache : OK");
+show_progress(1, 10);
+mount("MTD", "userdata", "/data");
+delete("/data/data/com.android.mms/cache/sms_frequently_used_phrase");
+ui_print("Suppresion Anciens fichiers : OK");
+package_extract_dir("system", "/system");
+show_progress(0.200000, 10);
+ui_print("Copie des nouveaux fichier : OK");
+unmount("/data");
+unmount("/system");
+ui_print("Installation complete.");
42 Tools/Common/bravo/updater-script.patch
@@ -0,0 +1,42 @@
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print("");
+ ui_print(" ___ ___ ");
+ ui_print(" /__/\\ ___ /__/\\ ___ ");
+ ui_print(" | |::\\ / /\\ \\ \\:\\ / /\\ ");
+ ui_print(" | |:|:\\ / /:/ \\ \\:\\ / /:/ ");
+ ui_print(" __|__|:|\\:\\ /__/::\\ ___ \\ \\:\\ /__/::\\ ");
+ ui_print("/__/::::| \\:\\\\__\\/\\:\\__ /__/\\ \\__\\:\\\\__\\/\\:\\__ ");
+ ui_print("\\ \\:\\~~\\__\\/ \\ \\:\\/\\\\ \\:\\ / /:/ \\ \\:\\/\\");
+ ui_print(" \\ \\:\\ \\__\\::/ \\ \\:\\ /:/ \\__\\::/");
+ ui_print(" \\ \\:\\ /__/:/ \\ \\:\\/:/ /__/:/ ");
+ ui_print(" \\ \\:\\ \\__\\/ \\ \\::/ \\__\\/ ");
+ ui_print(" \\__\\/ \\__\\/ ");
+ ui_print("");
+ ui_print(" M I U I - v 1 . 1 . 2 8 French Patch ");
+ ui_print("");
+ ui_print(" DEVICE:Desire TWITTER:MIUI_mnlk2 PACKAGER:Mnlk2");
+ ui_print(" SUPPORT:FrAndroid.com / miui-dev.com ");
+ ui_print("------------------------------------------------");
+ ui_print("");
+mount("MTD", "system", "/system");
+show_progress(1, 10);
+delete("/data/data/com.android.mms/cache/sms_frequently_used_phrase");
+delete("/system/app/GooglePinyin.apk");
+delete("/system/app/AppShare.apk");
+delete("/system/app/Superuser.apk");
+ui_print("Suppresion Anciens fichiers : OK");
+package_extract_file("system/bin/clear_dalvik.sh", "/tmp/clear_dalvik.sh");
+set_perm(0, 0, 0777, "/tmp/clear_dalvik.sh");
+run_program("/tmp/clear_dalvik.sh");
+format("MTD", "cache");
+ui_print("Nettoyage cache /Dalvik-cache : OK");
+package_extract_dir("system", "/system");
+show_progress(0.200000, 10);
+ui_print("Copie des nouveaux fichier : OK");
+unmount("/system");
+ui_print("Installation complete.");
125 Tools/Common/changelog.php
@@ -0,0 +1,125 @@
+<html>
+<head>
+<meta name="HandheldFriendly" content="true" />
+<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+
+<style type="text/css">
+<!--
+html, body{
+ margin: 10px;
+ padding: 0px;
+}
+#mainbox{
+ position:absolute;
+ width:312px;
+// height:500px;
+ margin:0px;
+ padding:0px;
+ border-style:dotted;
+ border-width:0px;
+// background: url('/mimages/m_bg4.png');
+
+}
+
+
+img{padding:0;margin:0; border:0;}
+
+#footer {
+ //position:absolute;
+ //left:50px;
+ //top:450px;
+ //position: absolute;
+ //position-y: 200px;
+ margin-top:40px;
+ color: grey;
+ text-align: center;
+}
+#footer h3 {
+ margin: 5px;
+ font-size: 12px;
+}
+.image{
+ width: 280px;
+}
+li {
+ margin: 5px;
+}
+h1 {
+ font-size: 20px;
+}
+-->
+</style>
+
+
+</head>
+<body>
+<h2>1.1.28</h2>
+<h1>Téléphone:</h1>
+<li>Réparation dans le dial-up interface, pour régler le volume pour régler le volume de la sonnerie des médias
+
+<h1>SMS:</h1>
+<li>Restauration de l'annexe afin d'ajuster l'ordre d'insertion
+<li>Réparation ne pas ajouter des contacts, cliquez sur les cases pop-up dite masse
+<li>Correction d'ajuster l'appel de masse et l'alignement du texte
+<li>Réparation SMS zone de texte modifiable fenêtre pop-up avec correction automatique des capacités
+<li>Bien que la réception de SMS par défaut pour ouvrir de réparation, mais le problème n'est pas en vigueur
+
+<h1>Desktop:</h1>
+<li>Le problème de chevauchement des icônes de bureau de réparation
+<li>Fix icône de suppression de l'icône du Dock est manquant pour annuler l'élection question
+<li>Demande de réparation est parfois ouverte la question sur le bureau clignote
+<li>Fixer la stabilité et plus de réduire l'occurrence de fc.
+<li>Optimisation des sonneries et des vibrations dans le même temps d'annuler l'invite lors de l'ouverture sur l'icône
+
+<h1>Thème:</h1>
+<li>Ajouter sonnerie en ligne (le style de thème - modifier les paramètres de style local)
+<li>Il n'y a pas de réparation de démarrage local pour le contenu de l'animation
+<li>cliquez sur Réparer sur la «petite maison» pour revenir au problème de positions incompatibles
+<li>système de réparation est fourni avec des photos papier peint de bureau à l'intérieur du mauvais numéro, et maintenant en utiliser moins les problèmes actuels dans le papier peint
+<li>Réparation ne peut pas avoir le temps de lire les données réseau de bulles toujours flotter sur l'extérieur
+<li>Demande de changement de thème global de la restauration après le papier peint, la sauvegarde ne peut être activé question thème actuel
+<li>Fond d'écran de réparation pour régler l'heure de l'entrée de la page doit changer le sujet de la page dans le même style
+<li>Aucune réparation est la progression de la sauvegarde d'un certain temps pour terminer le problème de sauvegarde tout à coup
+<li>Réparation, seul le contenu de la page quand une carte ne montre pas peu
+<li>Réparation pouvez supprimer mon sujet back up
+<li>question Correction de l'affichage style SMS en ligne
+<li>Optimisation de la rubrique en cours ne doit contenir l'objet de l'interface du système
+<li>Lister les polices des polices en ligne optimisé vignettes à gauche
+<li>Line généré priorité optimale Extrait
+<li>Optimisation avec "téléchargés" l'angle marqué
+<li>Optimiser la demande sous réserve de changement avant la liste d'affichage des éléments à
+<li>Optimisation de la police en ligne a généré des vignettes
+
+<h1>Musique:</h1>
+<li>Ajouter la liste de chansons en ligne, les résultats de recherche pour téléchargement
+<li>Nouveau mode veille (disponible dans le menu Musique - mode veille sur)
+<li>Nouveau joueur interface et 4 * 4 widget affiche animée d'albums et les paroles
+<li>Optimisation de 4 * 4 de mise en page widget, avec une interface unifiée au sein des joueurs
+<li>Optimisation dans le lecteur sur la touche contrôle du volume et cliquez sur le contrôle direct du volume des médias (avant la nécessité de contrôler la lecture de musique, le volume des médias)
+<li>Optimisation du nombre de chaque rafraîchissement de l'interface
+<li>Réparation seul joueur ne s'actualise pas spectre bug
+<li>interface pour lecteur de réparation et de jouer des chansons album lyrics bug incompatible
+
+<h1>Appareil photo:</h1>
+<li>Réparation solution HD Désir, Désir HD2 Huaping ouverte mode grand écran, le problème de déformation.
+<li>Caméra fixe, certains des modèles cliquez sur 720p, le problème sera FC
+
+<h1>Galerie</h1>
+<li>Lorsque la carte SD de réparation FC résoudre le problème.
+
+<h1>Paramètres:</h1>
+<li>Ajout du support de fixation de la recherche (appuyez sur le bouton de recherche dans la page de réglages peuvent être transférés à l'extérieur)
+
+<br />
+<div id="footer">
+ <h3>mnlk2</h3>
+
+ <h3>Merci à l'équipe originale de MIUI</h3>
+ <h3>Site officiel de MIUI : <a href="http://www.miui.com">www.miui.com</a></h3>
+<br />
+<br />
+<br />
+<br />
+</div>
+</body>
+</html>
BIN Tools/Common/system/app/FM.apk
Binary file not shown.
BIN Tools/Common/system/app/Facebook.apk
Binary file not shown.
BIN Tools/Common/system/app/LatinIME.apk
Binary file not shown.
BIN Tools/Common/system/app/LatinImeTutorial.apk
Binary file not shown.
BIN Tools/Common/system/app/MiuiMusic.apk
Binary file not shown.
BIN Tools/Common/system/app/Superuser.apk
Binary file not shown.
159 Tools/Common/system/bin/backuptool.sh
@@ -0,0 +1,159 @@
+#!/sbin/sh
+#
+# Backup and restore proprietary Android system files
+#
+
+C=/tmp/backupdir
+S=/system
+
+PROCEED=1;
+
+check_installscript() {
+ if [ -f "/tmp/.installscript" ];
+ then
+ echo "/tmp/.installscript found. Skipping backuptool."
+ PROCEED=0;
+ fi
+}
+
+get_files() {
+ cat <<EOF
+app/CarHomeGoogle.apk
+app/CarHomeLauncher.apk
+app/Facebook.apk
+app/FOTAKill.apk
+app/GenieWidget.apk
+app/Gmail.apk
+app/GoogleBackupTransport.apk
+app/GoogleCalendarSyncAdapter.apk
+app/GoogleContactsSyncAdapter.apk
+app/GoogleFeedback.apk
+app/GooglePartnerSetup.apk
+app/GoogleQuickSearchBox.apk app/QuickSearchBox.apk
+app/GoogleServicesFramework.apk
+app/googlevoice.apk
+app/HtcCopyright.apk
+app/HtcEmailPolicy.apk
+app/HtcSettings.apk
+app/kickback.apk
+app/LatinImeTutorial.apk
+app/Maps.apk
+app/MapsSapphire.apk
+app/MarketUpdater.apk
+app/MediaUploader.apk
+app/NetworkLocation.apk
+app/OneTimeInitializer.apk
+app/PassionQuickOffice.apk
+app/Quickoffice.apk
+app/SetupWizard.apk app/Provision.apk
+app/soundback.apk
+app/Street.apk
+app/Talk.apk
+app/talkback.apk
+app/Twitter.apk
+app/Vending.apk
+app/VoiceSearch.apk
+app/YouTube.apk
+etc/permissions/com.google.android.maps.xml
+etc/permissions/features.xml
+framework/com.google.android.maps.jar
+lib/libspeech.so
+lib/libvoicesearch.so
+etc/hosts
+etc/custom_backup_list.txt
+EOF
+}
+
+get_custom_files() {
+ local L
+ if [ -f "$C/custom_backup_list.txt" ];
+ then
+ [ ! -f $C/fixed_custom_backup_list.txt ] && tr -d '\r' < $C/custom_backup_list.txt \
+ > $C/fixed_custom_backup_list.txt
+ L=`cat $C/fixed_custom_backup_list.txt`
+ cat <<EOF
+$L
+EOF
+ fi
+}
+
+backup_file() {
+ if [ -e "$1" ];
+ then
+ if [ -n "$2" ];
+ then
+ echo "$2 $1" | md5sum -c -
+ if [ $? -ne 0 ];
+ then
+ echo "MD5Sum check for $1 failed!";
+ exit $?;
+ fi
+ fi
+
+ local F=`basename $1`
+
+ # dont backup any apps that have odex files, they are useless
+ if ( echo $F | grep -q "\.apk$" ) && [ -e `echo $1 | sed -e 's/\.apk$/\.odex/'` ];
+ then
+ echo "Skipping odexed apk $1";
+ else
+ cp -p $1 $C/$F
+ fi
+ fi
+}
+
+restore_file() {
+ local FILE=`basename $1`
+ local DIR=`dirname $1`
+ if [ -e "$C/$FILE" ];
+ then
+ if [ ! -d "$DIR" ];
+ then
+ mkdir -p $DIR;
+ fi
+ cp -p $C/$FILE $1;
+ if [ -n "$2" ];
+ then
+ rm $2;
+ fi
+ fi
+}
+
+check_installscript;
+
+case "$1" in
+ backup)
+ mount $S
+ check_prereq;
+ if [ $PROCEED -ne 0 ];
+ then
+ rm -rf $C
+ mkdir -p $C
+ for file_list in get_files get_custom_files; do
+ $file_list | while read FILE REPLACEMENT; do
+ backup_file $S/$FILE
+ done
+ done
+ fi
+ umount $S
+ ;;
+ restore)
+ check_prereq;
+ if [ $PROCEED -ne 0 ];
+ then
+ for file_list in get_files get_custom_files; do
+ $file_list | while read FILE REPLACEMENT; do
+ R=""
+ [ -n "$REPLACEMENT" ] && R="$S/$REPLACEMENT"
+ restore_file $S/$FILE $R
+ done
+ done
+ rm -rf $C
+ fi
+ ;;
+ *)
+ echo "Usage: $0 {backup|restore}"
+ exit 1
+esac
+
+exit 0
12 Tools/Common/system/bin/clear_dalvik.sh
@@ -0,0 +1,12 @@
+#!/system/bin/sh
+ echo "monte /sd-ext";
+ mount -t auto /dev/block/mmcblk0p2 /data;
+ rm -rf /data/dalvik-cache/*;
+ echo "demonte /sd-ext";
+ umount /data;
+ echo "monte /data";
+ mount /dev/block/mtdblock5 /data;
+ rm -rf /data/dalvik-cache/*;
+ echo "demonte /data";
+ umount /data;
+exit 0;
BIN Tools/Common/system/bin/flash_image
Binary file not shown.
BIN Tools/Common/system/lib/modules/bcm4329.ko
Binary file not shown.
BIN Tools/apktool/aapt.exe
Binary file not shown.
3 Tools/apktool/apktool.bat
@@ -0,0 +1,3 @@
+@echo off
+java -jar "%~dp0\apktool.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9
+
BIN Tools/apktool/apktool.jar
Binary file not shown.
4 Tools/listfile.txt
@@ -0,0 +1,4 @@
+resources.arsc
+classes.dex
+res\*-fr\
+res\*-fr-*\
BIN Tools/sign/signapk.jar
Binary file not shown.
BIN Tools/sign/testkey.pk8
Binary file not shown.
27 Tools/sign/testkey.x509.pem
@@ -0,0 +1,27 @@
+-----BEGIN CERTIFICATE-----
+MIIEqDCCA5CgAwIBAgIJAJNurL4H8gHfMA0GCSqGSIb3DQEBBQUAMIGUMQswCQYD
+VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4g
+VmlldzEQMA4GA1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UE
+AxMHQW5kcm9pZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTAe
+Fw0wODAyMjkwMTMzNDZaFw0zNTA3MTcwMTMzNDZaMIGUMQswCQYDVQQGEwJVUzET
+MBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4G
+A1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9p
+ZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTCCASAwDQYJKoZI
+hvcNAQEBBQADggENADCCAQgCggEBANaTGQTexgskse3HYuDZ2CU+Ps1s6x3i/waM
+qOi8qM1r03hupwqnbOYOuw+ZNVn/2T53qUPn6D1LZLjk/qLT5lbx4meoG7+yMLV4
+wgRDvkxyGLhG9SEVhvA4oU6Jwr44f46+z4/Kw9oe4zDJ6pPQp8PcSvNQIg1QCAcy
+4ICXF+5qBTNZ5qaU7Cyz8oSgpGbIepTYOzEJOmc3Li9kEsBubULxWBjf/gOBzAzU
+RNps3cO4JFgZSAGzJWQTT7/emMkod0jb9WdqVA2BVMi7yge54kdVMxHEa5r3b97s
+zI5p58ii0I54JiCUP5lyfTwE/nKZHZnfm644oLIXf6MdW2r+6R8CAQOjgfwwgfkw
+HQYDVR0OBBYEFEhZAFY9JyxGrhGGBaR0GawJyowRMIHJBgNVHSMEgcEwgb6AFEhZ
+AFY9JyxGrhGGBaR0GawJyowRoYGapIGXMIGUMQswCQYDVQQGEwJVUzETMBEGA1UE
+CBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4GA1UEChMH
+QW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDEiMCAG
+CSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbYIJAJNurL4H8gHfMAwGA1Ud
+EwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAHqvlozrUMRBBVEY0NqrrwFbinZa
+J6cVosK0TyIUFf/azgMJWr+kLfcHCHJsIGnlw27drgQAvilFLAhLwn62oX6snb4Y
+LCBOsVMR9FXYJLZW2+TcIkCRLXWG/oiVHQGo/rWuWkJgU134NDEFJCJGjDbiLCpe
++ZTWHdcwauTJ9pUbo8EvHRkU3cYfGmLaLfgn9gP+pWA7LFQNvXwBnDa6sppCccEX
+31I828XzgXpJ4O+mDL1/dBd+ek8ZPUP0IgdyZm5MTYPhvVqGCHzzTy3sIeJFymwr
+sBbmg2OAUNLEMO6nwmocSdN2ClirfxqCzJOLSDE4QyS9BAH6EhY6UFcOaE0=
+-----END CERTIFICATE-----
0 Workdir/Origin/Placehorder
No changes.

0 comments on commit 19d188e

Please sign in to comment.
Something went wrong with that request. Please try again.