Site Tools


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.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
repartition_mmc [2012/10/05 16:06] fly-awayrepartition_mmc [2015/02/27 17:07] (current) stuw
Line 8: Line 8:
 </span> </span>
 </HTML> </HTML>
 +See [[http://tosh-ac100.wetpaint.com/page/Repartition+Internal+Storage]] for additional information.
 +
 ==== 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/file/view/part.cfg|part.cfg]]+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=~/ac100/ldk/bootloader/nvflash nvflash=~/ac100/ldk/bootloader/nvflash
-fastboot=~/ac100/ldk/bootloader/harmony/fastboot.bini+fastboot=~/ac100/ldk/bootloader/harmony/fastboot.bin
  
-$nvflash --bl $fastboot --sync || exit 1 
  
 mkdir work mkdir work
 cd work cd work
 +$nvflash --bl $fastboot --sync || exit 1
 echo -n "Making a backup .." echo -n "Making a backup .."
 for i in $(seq 2 6) for i in $(seq 2 6)
Line 52: Line 54:
 echo -n "Creating new layout .." echo -n "Creating new layout .."
 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 fastboot.bin +ln -s $fastboot bootloader.bin 
-$nvflash --bl $fastboot --bct original.bct --setbct --configfile ../part.cfg --create --verifypart -1 --go|| exit 1+$nvflash --bl bootloader.bin --bct original.bct --setbct --configfile ../part.cfg --create --verifypart -1 --go|| exit 1
 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 --go+$nvflash -r -q --download 6 part6.img
 echo " Done" echo " Done"
 </file> </file>
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 will ask you for it).\\ 
 + 
 +You could return default layout back using this file: [[https://raw.github.com/Stuw/ac100-repart/master/configs/default.cfg|default.cfg]]
  
 ====Resulting layout==== ====Resulting layout====
repartition_mmc.1349445991.txt.gz · Last modified: 2012/10/05 16:06 by fly-away