Hotfix release available: 2024-02-06a "Kaos".
upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos".
upgrade now! [55] (what's this?)
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:06] – fly-away | repartition_mmc [2015/02/27 17:07] (current) – stuw | ||
---|---|---|---|
Line 8: | Line 8: | ||
</ | </ | ||
</ | </ | ||
+ | See [[http:// | ||
+ | |||
==== Backup ==== | ==== Backup ==== | ||
[[backups|First backup everything]] if you care. | [[backups|First backup everything]] if you care. | ||
Line 28: | 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 36: | 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 52: | 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 62: | 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 68: | 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.\\ | ||
- | Then run **repartition.sh**\\ | + | Edit **repartition.sh** to fix pathes for **nvflash** and **fastboot.bin**\\ |
- | While repartion you also need to reboot ac100 in recovery mode twice when script ask you for this.\\ | + | and run **repartition.sh**\\ |
+ | 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.1349445991.txt.gz · Last modified: 2012/10/05 16:06 by fly-away