repartition_mmc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| repartition_mmc [2012/10/05 16:12] – fly-away | repartition_mmc [2015/02/27 17:07] (current) – stuw | ||
|---|---|---|---|
| Line 30: | Line 30: | ||
| ==== Repartitioning ==== | ==== Repartitioning ==== | ||
| - | Download partition table [[http://ac100.wikispaces.com/ | + | Download partition table [[http://paz00.ru/index.php/File:Part.cfg|part.cfg]] |
| - | and command file in same dir | + | and command file in the same dir |
| <file bash repartition.sh> | <file bash repartition.sh> | ||
| #!/bin/bash | #!/bin/bash | ||
| Line 38: | Line 38: | ||
| # Change this paths to you own | # Change this paths to you own | ||
| nvflash=~/ | nvflash=~/ | ||
| - | fastboot=~/ | + | fastboot=~/ |
| - | $nvflash --bl $fastboot --sync || exit 1 | ||
| mkdir work | mkdir work | ||
| cd work | cd work | ||
| + | $nvflash --bl $fastboot --sync || exit 1 | ||
| echo -n " | echo -n " | ||
| for i in $(seq 2 6) | for i in $(seq 2 6) | ||
| Line 54: | Line 54: | ||
| echo -n " | echo -n " | ||
| dd if=part2.img bs=1 count=4080 of=original.bct | dd if=part2.img bs=1 count=4080 of=original.bct | ||
| - | ln -s $fastboot | + | ln -s $fastboot |
| - | $nvflash --bl $fastboot | + | $nvflash --bl bootloader.bin |
| echo " Done" | echo " Done" | ||
| Line 64: | Line 64: | ||
| $nvflash -r -q --rawdevicewrite 1792 1024 part4.img | $nvflash -r -q --rawdevicewrite 1792 1024 part4.img | ||
| $nvflash -r -q --download 5 part5.img | $nvflash -r -q --download 5 part5.img | ||
| - | $nvflash -r -q --download 6 part6.img | + | $nvflash -r -q --download 6 part6.img |
| echo " Done" | echo " Done" | ||
| </ | </ | ||
| Line 70: | Line 70: | ||
| You should power on you device in recovery mode and connect it to the computer via USB.\\ | You should power on you device in recovery mode and connect it to the computer via USB.\\ | ||
| - | Edit repartition.sh to fix pathes for nvflash and fastboot.bin\\ | + | Edit **repartition.sh** to fix pathes for **nvflash** and **fastboot.bin**\\ |
| - | Then run **repartition.sh**\\ | + | and run **repartition.sh**\\ |
| - | While repartion you also need to reboot ac100 in recovery mode twice when script ask you for this.\\ | + | While repartion you also need to reboot ac100 in recovery mode twice (script |
| + | |||
| + | You could return default layout back using this file: [[https:// | ||
| ====Resulting layout==== | ====Resulting layout==== | ||
repartition_mmc.1349446331.txt.gz · Last modified: by fly-away
