diff --git a/_includes/_site/comment.html b/_includes/_site/comment.html new file mode 100644 index 0000000..8536de7 --- /dev/null +++ b/_includes/_site/comment.html @@ -0,0 +1,36 @@ +{% if page.nocomments %} +{% else %} +{% if site.disqus_shortname %} +
+
+ +
+{% endif %} +{% if site.duoshuo_shortname %} +
+ +
+ + + + +
+{% endif %} +{% endif %} \ No newline at end of file diff --git a/_includes/_site/footer.html b/_includes/_site/footer.html new file mode 100644 index 0000000..c400e8f --- /dev/null +++ b/_includes/_site/footer.html @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/_includes/_site/head.html b/_includes/_site/head.html new file mode 100644 index 0000000..ca89ea8 --- /dev/null +++ b/_includes/_site/head.html @@ -0,0 +1,29 @@ + + + + + + {% if page.title %}{{ page.title }} « {{ site.title }}{% else %}{{ site.title }}{% endif %} + + + + + + + + + diff --git a/_includes/_site/header.html b/_includes/_site/header.html new file mode 100644 index 0000000..78de311 --- /dev/null +++ b/_includes/_site/header.html @@ -0,0 +1,12 @@ +
+
+ {{ site.title }} + +
+
\ No newline at end of file diff --git a/_includes/_site/icon-github.html b/_includes/_site/icon-github.html new file mode 100644 index 0000000..e501a16 --- /dev/null +++ b/_includes/_site/icon-github.html @@ -0,0 +1 @@ +{% include icon-github.svg %}{{ include.username }} diff --git a/_includes/_site/icon-github.svg b/_includes/_site/icon-github.svg new file mode 100644 index 0000000..4422c4f --- /dev/null +++ b/_includes/_site/icon-github.svg @@ -0,0 +1 @@ + diff --git a/_includes/_site/icon-twitter.html b/_includes/_site/icon-twitter.html new file mode 100644 index 0000000..e623dbd --- /dev/null +++ b/_includes/_site/icon-twitter.html @@ -0,0 +1 @@ +{% include icon-twitter.svg %}{{ include.username }} diff --git a/_includes/_site/icon-twitter.svg b/_includes/_site/icon-twitter.svg new file mode 100644 index 0000000..dcf660e --- /dev/null +++ b/_includes/_site/icon-twitter.svg @@ -0,0 +1 @@ + diff --git a/_includes/_site/sidebar.html b/_includes/_site/sidebar.html new file mode 100644 index 0000000..c7c729f --- /dev/null +++ b/_includes/_site/sidebar.html @@ -0,0 +1,29 @@ +
+ {{ site.author }} +
{{ site.author }}
+

{{ site.profile }}

+

+ {% if site.github_username %} + GitHub + {% endif %} + {% if site.twitter_username %} + Twitter + {% endif %} + {% if site.email %} + Email + {% endif %} +

+
+ +
+
Newest Posts
+ +
+ +
+
TOC
+
\ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index da2a2b1..ca89ea8 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -19,4 +19,11 @@ ga('send', 'pageview'); + + diff --git a/_posts/.2016-10-28-some-of-my-previews-exper-work.md.swp b/_posts/.2016-10-28-some-of-my-previews-exper-work.md.swp deleted file mode 100644 index cabe8c3..0000000 Binary files a/_posts/.2016-10-28-some-of-my-previews-exper-work.md.swp and /dev/null differ diff --git a/_posts/2016-10-28-some-of-my-previews-exper-work.md b/_posts/2016-10-28-some-of-my-previews-exper-work.md index cd05e40..573db59 100644 --- a/_posts/2016-10-28-some-of-my-previews-exper-work.md +++ b/_posts/2016-10-28-some-of-my-previews-exper-work.md @@ -95,11 +95,11 @@ CONFIG_STACK_TRACER=y ### How to extract android images: Dump an image -If we want to hold a rooted status after flashing boot, we need to extract an image from android devices. We can first use following command to find which blocks belongs to. According to some references, [this article](http://getpocket.com/redirect?url=http%3A%2F%2Fforum.xda-developers.com%2Fshowthread.php%3Ft%3D2450045) provide three ways to dump an image, I picked one for easy using. +If we want to hold a rooted status after flashing boot, we need to extract an image from android devices. We can first use following command to find which blocks belongs to. According to some references, [this article](http://forum.xda-developers.com/showthread.php?t=2450045) provide three ways to dump an image, I picked one for easy using. ~~~~bash adb shell -ls -al /dev/block/$SOME\_PLATFORM/$SOME\_DEVICE/by-name # {Partitions} -> {Device Block} +ls -al /dev/block/platform/$SOME\_DEVICE../../by-name # {Partitions} -> {Device Block} # dump file su diff --git a/_site/404.html b/_site/404.html index d139699..f14241d 100644 --- a/_site/404.html +++ b/_site/404.html @@ -23,6 +23,13 @@ ga('send', 'pageview'); + + diff --git a/_site/about/index.html b/_site/about/index.html index 5cb76ca..e67378a 100644 --- a/_site/about/index.html +++ b/_site/about/index.html @@ -23,6 +23,13 @@ ga('send', 'pageview'); + + diff --git a/_site/archivers/charles-is-not-a-good-tool.html b/_site/archivers/charles-is-not-a-good-tool.html index b223fd7..b23bffe 100644 --- a/_site/archivers/charles-is-not-a-good-tool.html +++ b/_site/archivers/charles-is-not-a-good-tool.html @@ -22,6 +22,13 @@ ga('send', 'pageview'); + + diff --git a/_site/archivers/design-a-board-game.html b/_site/archivers/design-a-board-game.html index eb10210..dc8ad90 100644 --- a/_site/archivers/design-a-board-game.html +++ b/_site/archivers/design-a-board-game.html @@ -22,6 +22,13 @@ ga('send', 'pageview'); + + diff --git a/_site/archivers/freshman-from-china.html b/_site/archivers/freshman-from-china.html index 2b9d9f4..5aab08d 100644 --- a/_site/archivers/freshman-from-china.html +++ b/_site/archivers/freshman-from-china.html @@ -22,6 +22,13 @@ ga('send', 'pageview'); + + diff --git a/_site/archivers/hello.html b/_site/archivers/hello.html index eba74c0..b4bbf19 100644 --- a/_site/archivers/hello.html +++ b/_site/archivers/hello.html @@ -22,6 +22,13 @@ ga('send', 'pageview'); + + diff --git a/_site/archivers/some-of-my-previews-exper-work.html b/_site/archivers/some-of-my-previews-exper-work.html index 41740ec..9e5c849 100644 --- a/_site/archivers/some-of-my-previews-exper-work.html +++ b/_site/archivers/some-of-my-previews-exper-work.html @@ -22,6 +22,13 @@ ga('send', 'pageview'); + + @@ -167,10 +174,10 @@ sync

How to extract android images: Dump an image

-

If we want to hold a rooted status after flashing boot, we need to extract an image from android devices. We can first use following command to find which blocks belongs to. According to some references, this article provide three ways to dump an image, I picked one for easy using.

+

If we want to hold a rooted status after flashing boot, we need to extract an image from android devices. We can first use following command to find which blocks belongs to. According to some references, this article provide three ways to dump an image, I picked one for easy using.

adb shell
-ls -al /dev/block/$SOME\_PLATFORM/$SOME\_DEVICE/by-name # {Partitions} -> {Device Block}
+ls -al /dev/block/platform/$SOME\_DEVICE../../by-name # {Partitions} -> {Device Block}
 
 # dump file
 su
diff --git a/_site/category/index.html b/_site/category/index.html
index 26b3c3b..89af855 100644
--- a/_site/category/index.html
+++ b/_site/category/index.html
@@ -23,6 +23,13 @@
     ga('send', 'pageview');
 
   
+  
+  
 
 
 
diff --git a/_site/feed.xml b/_site/feed.xml
index ab3a2c4..881be2c 100644
--- a/_site/feed.xml
+++ b/_site/feed.xml
@@ -6,8 +6,8 @@
 
     https://codersherlock.github.com//
     
-    Thu, 29 Dec 2016 11:06:02 -0500
-    Thu, 29 Dec 2016 11:06:02 -0500
+    Fri, 20 Jan 2017 14:17:35 -0500
+    Fri, 20 Jan 2017 14:17:35 -0500
     Jekyll v3.0.1
     
       
@@ -165,10 +165,10 @@ sync
 
 <h3 id="how-to-extract-android-images-dump-an-image">How to extract android images: Dump an image</h3>
 
-<p>If we want to hold a rooted status after flashing boot, we need to extract an image from android devices. We can first use following command to find which blocks belongs to. According to some references, <a href="http://getpocket.com/redirect?url=http%3A%2F%2Fforum.xda-developers.com%2Fshowthread.php%3Ft%3D2450045">this article</a> provide three ways to dump an image, I picked one for easy using.</p>
+<p>If we want to hold a rooted status after flashing boot, we need to extract an image from android devices. We can first use following command to find which blocks belongs to. According to some references, <a href="http://forum.xda-developers.com/showthread.php?t=2450045">this article</a> provide three ways to dump an image, I picked one for easy using.</p>
 
 <div class="highlighter-rouge"><pre class="highlight"><code>adb shell
-ls -al /dev/block/<span class="nv">$SOME</span><span class="se">\_</span>PLATFORM/<span class="nv">$SOME</span><span class="se">\_</span>DEVICE/by-name <span class="c"># {Partitions} -&gt; {Device Block}</span>
+ls -al /dev/block/platform/<span class="nv">$SOME</span><span class="se">\_</span>DEVICE../../by-name <span class="c"># {Partitions} -&gt; {Device Block}</span>
 
 <span class="c"># dump file</span>
 su
diff --git a/_site/index.html b/_site/index.html
index 5f835c2..65d92f0 100644
--- a/_site/index.html
+++ b/_site/index.html
@@ -23,6 +23,13 @@
     ga('send', 'pageview');
 
   
+  
+