This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is how fstab looks like: | |
==================================== | |
/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot | |
/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery | |
/misc emmc /dev/block/platform/msm_sdcc.1/by-name/misc | |
#/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system | |
#/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata | |
#/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache | |
/sbl1 emmc /dev/block/platform/msm_sdcc.1/by-name/sbl1 | |
/sbl2 emmc /dev/block/platform/msm_sdcc.1/by-name/sbl2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From fb20bb58ba93d13c52f532e1ad445d764e1144e8 Mon Sep 17 00:00:00 2001 | |
From: Vojtech Bocek <vbocek@gmail.com> | |
Date: Wed, 25 Sep 2013 22:18:49 +0200 | |
Subject: [PATCH] Implement kexec-hardboot | |
"Allows hard booting (i.e., with a full hardware reboot) to a kernel | |
previously loaded in memory by kexec. This works around the problem of | |
soft-booted kernel hangs due to improper device shutdown and/or | |
reinitialization." | |
More info in /arch/arm/Kconfig. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This file contains device specific hooks. | |
* Always enclose hooks to #if MR_DEVICE_HOOKS >= ver | |
* with corresponding hook version! | |
*/ | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <sys/stat.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 074ac0e9087ab1ecf95bba019787b4aa4b82bef6 Mon Sep 17 00:00:00 2001 | |
From: Vojtech Bocek <vbocek@gmail.com> | |
Date: Fri, 27 Sep 2013 20:47:54 +0200 | |
Subject: [PATCH] Implement kexec-hardboot | |
"Allows hard booting (i.e., with a full hardware reboot) to a kernel | |
previously loaded in memory by kexec. This works around the problem of | |
soft-booted kernel hangs due to improper device shutdown and/or | |
reinitialization." | |
More info in /arch/arm/Kconfig. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a5c71c50da839c6932af1903bcc0036daa033f7e Mon Sep 17 00:00:00 2001 | |
From: Vojtech Bocek <vbocek@gmail.com> | |
Date: Mon, 30 Sep 2013 18:02:43 +0200 | |
Subject: [PATCH] Implement kexec-hardboot | |
"Allows hard booting (i.e., with a full hardware reboot) to a kernel | |
previously loaded in memory by kexec. This works around the problem of | |
soft-booted kernel hangs due to improper device shutdown and/or | |
reinitialization." | |
More info in /arch/arm/Kconfig. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" ?><manifest> | |
<include name="base-jb.xml"/> | |
<remote fetch="git://github.com/Tasssadar/" name="tasssadar"/> | |
<default remote="caf" revision="refs/tags/android-4.3_r2.1" sync-j="4"/> | |
<!-- flo specific things --> | |
<project name="android_device_asus_flo" path="device/asus/flo" remote="tasssadar" revision="b2g-4.3_r2.1" /> | |
<project name="device/generic/armv7-a-neon" path="device/generic/armv7-a-neon"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program priklad_soubory; | |
var soubor:text; // proměnná pro uchování otevřeného souboru | |
i:byte; // počítadlo | |
cisla:array[1..10] of integer; // pro uložení načtených čísel | |
begin | |
// ********* NAČTENÍ 10 ČÍSEL ZE SOUBORU ********* | |
// přiřazení jména souboru (vstup.txt) k proměnné soubor | |
assign(soubor, 'vstup.txt'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a550e9f996b20ea00866bf115f95b5aeb122de0c Mon Sep 17 00:00:00 2001 | |
From: Vojtech Bocek <vbocek@gmail.com> | |
Date: Fri, 6 Dec 2013 22:56:29 +0100 | |
Subject: [PATCH] Implement kexec-hardboot | |
"Allows hard booting (i.e., with a full hardware reboot) to a kernel | |
previously loaded in memory by kexec. This works around the problem of | |
soft-booted kernel hangs due to improper device shutdown and/or | |
reinitialization." | |
More info in /arch/arm/Kconfig. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/twrp.cpp b/twrp.cpp | |
index 54f3ea6..0777784 100644 | |
--- a/twrp.cpp | |
+++ b/twrp.cpp | |
@@ -60,6 +60,56 @@ static void Print_Prop(const char *key, const char *name, void *cookie) { | |
printf("%s=%s\n", key, name); | |
} | |
+ #include <sys/time.h> | |
+#include <dirent.h> |