Wednesday, October 8, 2014

minione重启进入recovery又要线刷机才能行~实在是麻烦

MINI ONE 不支持卡刷.请在官网下载对应型号的固件进行刷机.注:根据机器后壳序列号选择对应型号的固件进行升级.确认平板处于关机状态下,然后按住音量减号键不松手接数据线连接到电脑上,可进入到刷机模式.如机器一直处于开机状态,请您按住音量减号键不松手接数据线连接到电脑上,再按一下机器后壳上面的复位键.下载固件后解压出来内附有操作指导,可根据指导先进行操作.
感谢您对原道数码的支持,祝您工作顺利、生活愉快!

每星期瘦1kg 的秘笈

過完了飲食墮落的生活後,肚子肥了一圈,快要迎接秋冬易肥的日子。你是不是也下定決心「要努力減肥!」但一拖再拖,最後因為「來不及了……」只好放棄了!在這裡介紹「一個禮拜可以瘦1公斤」的緊急減肥技巧!

話雖如此,但是並非斷食的方法,也不需要準備一些特別的東西。不用改變生活習慣,也不用花錢,在自家也可以簡單做到,大家一定要試著變美變瘦。

1:以水為主要飲品

水不含熱量也沒有脂肪,能促進新陳代謝,是最適合減肥的飲料。平時飲用白開水以外的飲料,特別是果汁等的人,首先將飲料改為白開水,可以減少熱量的攝取。

2:將穀類換成蔬菜

因為白米、意大利粉及三明治等的穀物類容易被消化,之後肚子會餓,就容易吃過量。所以在這一星期內,只要將三明治換成雞肉(去皮)及水果(不落調味醬),挑戰將穀類換成蔬菜。蔬菜比穀類消化慢,而且還能將多餘的水分排出,達到瘦身的效果。

3:減少攝取甜品

對於喜歡甜品的人說或許會有點殘酷,但是為了盡可能地減少熱量的攝取,這一星期內應該減少甜食的攝取。

4:食用三文魚

三文魚除了含有能夠製造肌肉的優良蛋白質,還富含ω-3脂肪酸、維他命A與E。所以,應該積極攝取三文魚。

5:運動前先喝1杯咖啡(無聽過嘅!)

剛剛說飲料僅攝取白開水,但是在運動前例外。因為咖啡能幫助運動時的脂肪燃燒。黑咖啡熱量只有5大卡,加了無脂牛奶的話大約也僅有11大卡,這樣的低熱量真的很吸引人。

6:每天進行30分鐘的帶氧運動

能夠有效率的活動肌肉提高熱量的消費,帶氧運動是正確的。像是踩單車、自由搏擊、BOOT CAMP類的運動,30分鐘的運動可以消耗200~300大卡的熱量,還可以修飾手臂、腿部及軀幹等各個部位。

7:2天一次伏地挺身&弓箭步

想要讓身體更緊實就要每天做伏地挺身與弓箭步(單腳向前跨大步的動作),一天三回各12次。伏地挺身可以鍛鍊上半身,而弓箭步則有強化臀部及大腿等下半身肌肉的效果。

8:比平時多睡30分鐘

因為在平時的睡眠時間多加30分鐘可以解決嗜睡及倦怠的問題,會想要攝取比平時更健康的飲食,能更有衝勁達到積極活動等效果。此外,睡眠時間大約在7~8小時能夠有效促進代謝。而且,其實肌肉是在睡眠時製造的,可以嘗試下午短睡(只需短短15至30分鐘)。

如何?平常不太在意飲食習慣或是不常運動的人,說不定會覺得有點辛苦,但是只要稍微注意點,1星期後一定可以感受到身體有所變化。就當作是被騙,一定要試著加油一個星期睇睇!

Friday, October 3, 2014

adb backup

ANDROID - ADB Backup/Restore- ADB Extractor (abe) - Extracting adbs with openssl
ADB BACKUPS
############

* Note Citing my sources throughout the article.

Backing up and Restoring
========================
Good articles: http://forum.xda-developers.com/showthread.php?t=1420351
Another good article: http://www.thesuperusersguide.com/adb-backup--restore.html

First install  Android SDK Platform Tools on windows usually it goes to "C:\android-sdk-windows\platform-tools"

On phone enable USB Debugging from SEttings->Developer Options

Open explorer and go to "C:\android-sdk-windows" directory and hold shift while right clicking on "platform-tools" and select "open command window here", thats a good shortcut to open a cmd window into any folder

adb devices

To see connected devices

if you see your device

BACKING UP
----------

adb backup -apk -shared -all -f C:\outputfile.ab

* NOTE ABOUT FLAGS (excerpts from: http://forum.xda-developers.com/showthread.php?t=1420351)
-apk|-noapk: This flags whether or not the APKs should be included in the backup or just the apps' respective data. I personally use -apk just in case the app isn't available in the Market, so that I don't have to go hunt it down again. The default is -noapk.
-shared|-noshared: This flag is used to "enable/disable backup of the device's shared storage / SD card contents; the default is noshared.", which for the Nexus I would certainly flag to -shared, but from my test, it did not restore all of the contents of my internal storage, so I recommend backing up music, pictures, video, and other internal storage items manually, just to be on the safe side. The default is -noshared.
-all: This flag is just an easy way to say to backup ALL apps. The packages flag (further on) can be used to choose individual packages, but unless you're just wanting to backup a specific application, use -all for a full system backup.
-f <filename>: specifies file save location on the computer

Now on phone you should see a screen, if you see a lock screen then unlock it.

Click backup now or set a password and backup. Note if you set a password using ADB Extractor becomes a hassle and using simple linux tools like openssl becomes impossible (at least undocumented on the web as far as I can tell, besides looking through the source code of android or the abe.jar)

RESTORING
----------

adb restore C:\backup\mybackup.ab

Then look at phone, unlock the lock if you need to and if you need to type in a password then type it in.

How to Extract ADB backups With ADB Extractor & Manual extraction with openssl
===============================================================================

LINK: http://sourceforge.net/projects/adbextractor/
* Download the zip file.
* Extract the abe.jar
* JUST COPY abe.jar INTO DIRECTORY WHERE YOU HAVE adb backup .bak or .ad OR .whatever FILE AS LONG AS IT WAS MADE WITH adb backup (OR MAYBE AS LONG AS IT WAS JUST MADE WITH adb)
* JUST OPEN CYGWIN INTO DIRECTORY AND RUN:
# java -jar abe.jar unpack backup.bak backup.tar [password]

* Prerequisties for above method:
- To test run "java -jar abe.jar" then just CONTROL-C, if works good you will have no output, if works bad you will have errors as seen below.
- openjdk-7-jdk (openjdk-6-jdk causes errors)
- check vurrent active version with "java -version"
- if output of "java -version":
---- java version "1.7.0_21" GOOD
---- java version "1.6.0_27" NOT GOOD
Error message when running the program looks like this:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/nick/abe/Main : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:266)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)

* Note running the program with the incorrect prereqs doesnt hurt the source file

* Note if there is a password make sure you have the following:
Oracle Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 if you are going to work with password encrypted backups.
You need to install the files local_policy.jar and US_export_policy.jar under jre's lib/security folder, for example:
- For Windows:
C:\Program Files\Java\jdk1.7.0_09\jre\lib\security\
C:\Program Files\Java\jre7\lib\security\
C:\Program Files (x86)\Java\jdk1.7.0_07\jre\lib\security\
C:\Program Files (x86)\Java\jre7\lib\security\
- For Linux or BSD:
/usr/local/jdk1.7/jre/lib/security/
/usr/lib/jvm/java-7-openjdk-*/jre/lib/security/
/usr/local/openjdk7/jre/lib/security/
- For OS X:
/Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/security/

Another way to extract with abe.jar, only works with none password encrypted backups:

# dd if=nexus7.ab bs=24 skip=1 | openssl zlib -d > nexus7.tar
Get pv to get a progress bar :-) LINUX: "apt-get install pv" or CYGWIN:"apt-cyg install pv"
# dd if=nexus7.ab bs=24 skip=1 | pv | openssl zlib -d > nexus7.tar
The above pv command just provides speeds but no measure of when the task will be complete (no ETA and no PERCENTAGE PROG BAR), below method has a PROG BAR because it gets the size in bytes into "pv -s" argument
# SRC1="nexus7.ab"; dd if=${SRC1} bs=24 skip=1 | pv -s `stat --format="%s" ${SRC1}` | openssl zlib -d > nexus7.tar

Sidenote about packing the file as written in the forum:
# dd if=nexus7.ab bs=24 count=1 of=gta3.ab ; openssl zlib -in gta3.tar >> gta3.ab
* "dd if=nexus7.ab bs=24 count=1 of=gta3.ab" that portion of the command gets the 24 byte header, as its the same on all adbs (or most), then the next portion appends the openssl zlib encrpyted file
WITH PROGRESS BAR CAN GET SPEED
# dd if=nexus7.ab bs=24 count=1 of=gta3.ab ; openssl zlib -in gta3.tar | pv >> gta3.ab

Monday, September 22, 2014

bread receipt 1

Recipe :
All the following recipes use this same general method:
1. Measure ingredients into baking pan.
2.Use tepid water 21-28"C
3. Insert baking pan securely into unit, close lid.
4. Select appropriate bread setting.
5. Push start button.
6. When bread is done, remove pan from unit using oven mitts.
7. Remove bread from baking pan,(and kneading blade from bread if necessary)
8. Allow cooling before slicing. '
This method is modified by notes, if applicable, at the end of each recipe.

1. Recipes for basic breads

Basic white bread
                            1.5lb                                       2lb

Water                        1+1/8 cup                                1+1/2 cup
Skimmed milk powder    2+1/2 tbsp                                 4 tbsp
Sunflower oil               2+1/2 tbsp                                 4 tbsp
Sugar                        2+1/4 tbsp                                3 tbsp
salt                             1+1/4 up                                2 tsp
Strong white bread flour        3 cups                              4 cups
Fast action yeast            1+1/4 tsp                            +1/4 tsp
Use setting                       1 Basic                              1 Basic

Soft grain blend
                                  1.5lb                                        2lb
Water                        1+l/8 cup                               1+1/2 cup
Skimmed milk powder    2+l/2 tbsp                                    4 tbsp
Sunflower oil                2+l/2 tbsp                                    4 tbsp
Sugar                        2+1/4 tbsp                                   3 tbsp
Salt                                1+1/4 tsp                                  2 tsp
Strong white bread flour        3 cups                                  4 cups
Fast action yeast               +1/4 tsp                             1+1/4 tsp

Use setting 1 Basic l Basic

方药:
以下所有的食谱使用此相同的一般方法:
1,测量材料放入烤盘。
2,使用微温的水21-28“C
3,将烤盘牢固地插入单元,盖上盖子。
4,选择合适的面包设置。
5,按下启动按钮。
6,当面包完成后,由使用单位烤箱手套取出锅。
7,从饼铛,(揉刀片从面包如果需要的话)取出面包
8,允许切片之前冷却。 “
此方法是通过笔记,改性如果适用,在每个配方的末端。

1,配方基本面包

基本白面包
                            1.5磅                     2磅

水                      1+ 1/8杯                 1 + 1/2杯
脱脂奶粉           2+ 1/2汤匙             4汤匙
葵花籽油            2+ 1/2汤匙             4汤匙
糖                        2+ 1/4汤匙             3汤匙
盐                        1+ 1/4茶匙             2茶匙
强白面粉                3杯                       4杯
快行动酵母            1+ 1/4茶匙         1+1/4茶匙
使用设置                1基本                   1基本

软颗粒混合
                                  1.5磅                    2磅
水                         1+ 1/8杯                    1 + 1/2杯
脱脂奶粉            2+ 1/2汤匙                   4汤匙
葵花籽油            2+ 1/2汤匙                  4汤匙
糖                        2+ 1/4汤匙                  3汤匙
盐                        1+ 1/4茶匙                  2茶匙
强白面粉                      3杯                       4杯
快行动酵母           1+1/4茶匙                1+ 1/4茶匙

使用设定                  1基本                      l基本

Sunday, September 21, 2014

bread page 2

Start/Stop button
This starts and stops the selected baking program.
Start
In order to start a program, press the "start/stop" button for approx 1 second. A short beep is heard
and the two dots in the time display begin to flash and the program starts.
Stop
In order to stop a program, press the "start/stop" button for approx 2 seconds until a beep
confirms that the program has been terminated.
OnlOff
Two dots flashing: Program is started.
Two dots continuously lit: Program is stopped.
Delay Timer
You can delay the time your bread maker starts to have fresh bread ready at a particular time. This
is ideal when you would like fresh bread when you get up in the morning or when you come home
from work Use the "Timer" button to advance the time in 10 minutes increments. If necessary,
use the "Timer" button to decrease the time. When the delay timer is set where you want it, make
sure to press the "Start/Stop" button. The colon";" flashes and your bread will be ready when you
planned.
The time that appears on the clock after it switches on automatically is the remaining baking time.
Therefore ensure you set the time for when you would like the bread ready. The maximum delay is
13 hours. "
For Example
It is 8:30pm and you would like your bread to be ready the next morning at 7 clock. ie in 10
hours and 30 minutes. Press the "arrow pointing upwards" until 10:30 appears, as the time
between "now"(8:30pm) and the time the bread should be ready is 10 hours and 30 minutes. If
you work with the delay timer option, do not use any easily perishable ingredients such as eggs,
fresh milk, etc,
Keep Warm
Your bread is kept warm for 60 minutes after baking. If you would like to take the bread out
during this time, switch the program off with the Start/Stop Button.
Warning display
If the display shows "H:HH" after you have pressed Start, the temperature inside is still too high.
Press Stop: open the lid and let the machine cool down for 10 to 20 minutes.
lf the display shows "E:EE"after you have pressed Start, the temperature sensor is disconnected.
The sensor must be checked by an authorized service agent.



开始/停止按钮
这将启动和停止所选择的烘烤程序。
开始
为了启动一个程序,按下“启动/停止”按钮约1秒钟。短哔的一声
而在时间显示的两个点开始闪动和程序启动。
停止
为了停止程序,按下“启动/停止”按钮约2秒,直到发出哔
确认该计划已被终止。
OnlOff
两点闪烁:程序已启动。
两个点连续亮:程序停止。
延时定时器
您可以耽误您的面包机开始有新鲜的面包准备在特定的时间的时间。这
是理想的,当你想新鲜的面包,当你早上起来或者当你回家
从工作中使用的“计时器”按钮,进入时间10分钟为增量。如果需要的话,
使用“计时器”按钮来减少所需的时间。当延迟计时器设置您想要的位置,使
务必按“开始/停止”按钮。冒号“;”闪烁,你的面包就准备好,当你
计划。
之后,它会自动切换上的时钟显示的时间是剩余的烘烤时间。
因此,确保你设置的时间当你想在面包准备。最大延迟是
13小时。 “
例如
这是下午8:30,您希望您的面包准备第二天早上7点。即10
小时和30分钟。按“箭头朝上”10:30之前出现,随着时间的
“现在”(下午8:30)与时间之间的面包应该准备好为10小时30分钟。如果
你有延时定时器选项工作时,不要使用任何容易易腐食材如鸡蛋,
鲜牛奶等,
注意保暖
面包保持温暖,烘烤60分钟后。如果你想利用面包出来
在此期间,与开始/停止键切换程序关闭。
警告显示
如果显示屏显示“H:HH”你按下Start后,里面的温度仍然过高。
按停止:打开盖子,让机器冷却10〜20分钟。
LF显示屏显示“E:电子工程专辑”你按下Start后,温度传感器断开。
传感器必须由授权的服务代理商进行检查。

Takada Electric Bread Maker page1

Takada Electric Bread Maker Congratulations on the purchase of your new Takeda Electric Bread Maker. Before first using your Electric Bread Maker, it is important that you read and Follow the instructions, even if you feel you are quite familiar with this type of appliance. Your attention is drawn particularly to the section dealing with IMPORTANT SAFEGUARDS. Find a place and keep this manual for future reference. This appliance has been designed to operate from a standard domestic power outlet. It is not intended for industrial or commercial use. Preparing Your Bread Maker for Use l. Carefully unpack your Bread Maker. Remove all packaging materials and discard or retain for future use. 2. Remove the baking pan. Wipe the baking chamber with a soft damp cloth or sponge. Never use abrasive or strong household cleaners since they may damage the finish of the chamber. 3. Wash the baking pan with warm soapy water. Rinse and dry thoroughly. 4. Grease the halting pan and return to the chamber and bake empty for approximately 10 minutes. Clean once more. 5. Return the baking pan to the chamber and place the kneading bar on the axle in the baking area. Your Bread Maker is now ready for use. ' Operating The Bread Maker Before Fist using your bread maker, please read the instruction manual carefully and ensure the voltage of your electricity supply is the same as that indicated on the rating label on the appliance. l. Connect the Bread Maker to a power outlet When the bread maker is connected to power, a beep will he beard and "3:00" will appear on the display after a short time. 2, The machine is now ready to operate and is automatically set to program "1", but the program has not yet started. _ _ Functions of the Bread Maker Program Menu This is used to select the baking program. Each time it is pressed (accompanied by a short beep) the program changes. The current program is shown on the LCD display. The machine has 12 programs. Refer to the program menu. Color of crust This is used to select a light, medium or dark color for the crust. Loaf Size This is used to select a small (l,5lb) or u large (2,0lb) loaf setting for bread recipes.


 高田电器面包机 恭喜您购买了新武田电器面包机的。 首先用你的电面包机之前,您已阅读并遵循非常重要的 说明,即使你觉得你很熟悉这种类型的设备的。 您的关注,尤须处理的重要保障措施一节。 找一个地方,并保持此手册以备将来参考。 本产品已被设计为一个标准的家用电源插座进行操作。它不是 用于工业或商业用途。 准备你的面包机的使用 升。小心地打开您的面包机。除去所有包装材料和丢弃或保留 将来使用。 2,取出烤盘。擦拭烘焙室用柔软的湿布或海绵。从来没有 使用磨蚀性或较强的家用清洁剂,因为它们可能会损坏室内的光洁度。 3,清洗烤盘用温肥皂水。彻底清洗和干燥。 4脂停机锅,并返回到所述腔室和烘空约10 分钟。清洗一次。 5,返回烤盘到室并将混炼栏上,在烘烤的轴 区。你的面包机现在可以使用了。 “ 操作面包机 使用面包机拳之前,请仔细阅读使用说明书,并确保 您的供电电压是一样的设备上的铭牌上标明。 升。该面包机连接到电源插座上。当面包机已连接到电源中, 嘟嘟将他的胡子和“3:00”,将在很短的时间出现在显示屏上。 2,本机现在已经准备就绪,并自动设置为编程“1”,但节目 还未开始。 _ 对面包机的功能 程序菜单 这是用来选择烘烤程序。每按一次(伴有短促的哔声) 该程序更改。当前的程序显示在LCD显示屏上。本机具有12 程序。参阅节目菜单。 外壳颜色 这是用来选择一个轻型,中型或深色的地壳。 面包大小 这是用来选择一个小的(L,5磅)或u大(2,0lb)设定面包面包食谱。