前幾天在網路上挖到東西 不知道有沒有重複 希望對高手有幫助 也麻煩幫我翻譯看看是什麼內容 讓我滿足好奇心 謝謝各位!!!!

文件一 名稱:WARNING
內容:ONLY RUN flash.sh IF YOU ARE BOOTED UNDER MAGLDR
HARET does not supply the kernel with MTD partition info, so mtd0 will be the entire flash
since the flash.sh script erases mtd0, it will erase your entire flash, and your device will be permanently bricked.
YOU HAVE BEEN WARNED.
check /proc/mtd for 3 partitions before flashing !


文件二 名稱:INSTALL
內容:
You will need MAGLDR 1.08 with hotfix running on your HD2

Since 1.08 supports partitions defined by user, the first time you want to flash this, you will have to create them
This is how:

Enter into TTY mode from MAGLDR menu
Connect usb cable, a new device will appear.
Go into device manager and update it's drivers to MTTY ones (thread here: http://forum.xda-developers.com/showthread.php?t=623356)
You only need to do the driver installation once.
Run mtty.exe and click USB button (or just run PuTTY, choose serial and 115200 bitrate, and enter \\.\WCEUSBSH001 as the serial device)
Either way, you will be presented with a MAGLDR Cmd> prompt
Perform the following commands:
ad fastformat
ad addpart boot 28 50 81
ad addpart system 400 50 01
ad addpart data 800 50 11
Verify that you have the correct partition layout by doing:
ad listpart
The output should be similar to this:
Android partitions count = 3

Name Size RealSize Start Type Flags
boot | 28 | 28 | 219 | 50 | 81
system | 400 | 3FF | 241 | 50 | 1
data | 9BF | 9BD | 641 | 50 | 11
RealSize can be different on your device depending on the location of your bad blocks.
Exit TTY mode by pressing the End Call button.

After the partitions are defined, you can flash Android to them
This is how:

Copy contents of ./sdcard folder into the root of your sdcard (either using MAGLDR mass storage mode, or otherwise)
In MAGLDR, from Config choose to boot from SD card.
Boot android from MAGLDR
The flash progress will be displayed on the screen, after flashing is complete, the device will be rebooted
In MAGLDR, from Config choose to boot from NAND.
The next time you boot Android from MAGLDR, it will be running from nand.
In case you mess up and want to restore state from update.sfs on sdcard, simply choose SD card boot from Config and boot Android.
This will reflash your NAND partitions.
Then choose Boot from NAND from Config in order to boot flashed Android.

In case you want to change Kernel without reflashing, you can change it from within Android.
Here's how:

Connect via USB to your HD2 while Android is running.
Spawn an ADB shell
Do the following commands as superuser:
mkdir /mnt/boot
mount -t yaffs2 /dev/block/mtdblock0 /mnt/boot
After that, you can replace the zImage that's located in /mnt/boot
When you're done, you have to unmount the boot partition, like so:
umount /mnt/boot
Restart your device to use the new kernel.

If your wifi is stuck at Loading... inside Android (sdio_timeout), either reformat your sdcard as a Superfloppy under windows, or simply take it out while booting and insert it after Android has loaded.

By Rajko

文章關鍵字
文章分享
評分
評分
複製連結

今日熱門文章 網友點擊推薦!