| 82 | == Reset to factory defaults == |
| 83 | $ unzip XEN-S7710XWAOB1-20150206063723.zip |
| 84 | $ tar -xf S7710XWAOB1_S7710XENAOA2_HOME.tar.md5 |
| 85 | $ ls *.img |
| 86 | {{{ |
| 87 | boot.img cache.img hidden.img recovery.img STE_boot1.img STE_boot2.img system.img |
| 88 | }}} |
| 89 | |
| 90 | |
| 91 | Use the PIT file to find out the mapping between image files and partition name to use: |
| 92 | $ heimdall print-pit --file ./S7710.pit | grep -e '---' -e 'Partition Name' -e 'Flash Filename' |
| 93 | {{{ |
| 94 | --- Entry #0 --- |
| 95 | Partition Name: MBR,GPT |
| 96 | Flash Filename: |
| 97 | --- Entry #1 --- |
| 98 | Partition Name: MasterTOC |
| 99 | Flash Filename: STE_boot.bin |
| 100 | --- Entry #2 --- |
| 101 | Partition Name: PIT |
| 102 | Flash Filename: skomerxx.pit |
| 103 | --- Entry #3 --- |
| 104 | Partition Name: MD5HDR |
| 105 | Flash Filename: md5.img |
| 106 | --- Entry #4 --- |
| 107 | Partition Name: STEboot1 |
| 108 | Flash Filename: STE_boot1.img |
| 109 | --- Entry #5 --- |
| 110 | Partition Name: STEboot2 |
| 111 | Flash Filename: STE_boot2.img |
| 112 | --- Entry #6 --- |
| 113 | Partition Name: Dnt |
| 114 | Flash Filename: dnt.ssw |
| 115 | --- Entry #7 --- |
| 116 | Partition Name: reserved |
| 117 | Flash Filename: |
| 118 | --- Entry #8 --- |
| 119 | Partition Name: CSPSAFS |
| 120 | Flash Filename: cspsa.img |
| 121 | --- Entry #9 --- |
| 122 | Partition Name: CSPSAFS2 |
| 123 | Flash Filename: cspsa2.img |
| 124 | --- Entry #10 --- |
| 125 | Partition Name: EFS |
| 126 | Flash Filename: EFS.img |
| 127 | --- Entry #11 --- |
| 128 | Partition Name: ModemFS |
| 129 | Flash Filename: modemfs.img |
| 130 | --- Entry #12 --- |
| 131 | Partition Name: ModemFS2 |
| 132 | Flash Filename: modemfs2.img |
| 133 | --- Entry #13 --- |
| 134 | Partition Name: Fota |
| 135 | Flash Filename: ssgtest.img |
| 136 | --- Entry #14 --- |
| 137 | Partition Name: IPL Modem |
| 138 | Flash Filename: ipl.bin |
| 139 | --- Entry #15 --- |
| 140 | Partition Name: Modem |
| 141 | Flash Filename: modem.bin |
| 142 | --- Entry #16 --- |
| 143 | Partition Name: Loke4 |
| 144 | Flash Filename: normal.bin |
| 145 | --- Entry #17 --- |
| 146 | Partition Name: 2ndLoke4 |
| 147 | Flash Filename: normal2.bin |
| 148 | --- Entry #18 --- |
| 149 | Partition Name: PARAM |
| 150 | Flash Filename: param.lfs |
| 151 | --- Entry #19 --- |
| 152 | Partition Name: Kernel |
| 153 | Flash Filename: boot.img |
| 154 | --- Entry #20 --- |
| 155 | Partition Name: Kernel2 |
| 156 | Flash Filename: recovery.img |
| 157 | --- Entry #21 --- |
| 158 | Partition Name: SYSTEM |
| 159 | Flash Filename: system.img |
| 160 | --- Entry #22 --- |
| 161 | Partition Name: CACHEFS |
| 162 | Flash Filename: cache.img |
| 163 | --- Entry #23 --- |
| 164 | Partition Name: HIDDEN |
| 165 | Flash Filename: hidden.img |
| 166 | --- Entry #24 --- |
| 167 | Partition Name: DATAFS |
| 168 | Flash Filename: userdata.img |
| 169 | }}} |
| 170 | |
| 171 | Ensure device is connected using a good quality USB cable, battery is changed and turn it on to download mode using simultaneous press of Volume Down + Home + Power. |
| 172 | |
| 173 | |
| 174 | Now flash the device: |
| 175 | $ sudo /usr/local/bin/heimdall flash --pit ~/S7710.pit --STEboot1 ./STE_boot1.img --STEboot2 ./STE_boot2.img --Modem ./modem.bin --Kernel ./boot.img --Kernel2 ./recovery.img --SYSTEM ./system.img --CACHEFS ./cache.img --HIDDEN ./hidden.img |
| 176 | {{{ |
| 177 | Heimdall v1.4.2 |
| 178 | |
| 179 | Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna |
| 180 | http://www.glassechidna.com.au/ |
| 181 | |
| 182 | This software is provided free of charge. Copying and redistribution is |
| 183 | encouraged. |
| 184 | |
| 185 | If you appreciate this software and you would like to support future |
| 186 | development please consider donating: |
| 187 | http://www.glassechidna.com.au/donate/ |
| 188 | |
| 189 | Initialising connection... |
| 190 | Detecting device... |
| 191 | Claiming interface... |
| 192 | Setting up interface... |
| 193 | |
| 194 | Initialising protocol... |
| 195 | Protocol initialisation successful. |
| 196 | |
| 197 | Beginning session... |
| 198 | |
| 199 | Some devices may take up to 2 minutes to respond. |
| 200 | Please be patient! |
| 201 | |
| 202 | Session begun. |
| 203 | |
| 204 | Downloading device's PIT file... |
| 205 | PIT file download successful. |
| 206 | |
| 207 | Uploading STEboot1 |
| 208 | 100% |
| 209 | STEboot1 upload successful |
| 210 | |
| 211 | Uploading STEboot2 |
| 212 | 100% |
| 213 | STEboot2 upload successful |
| 214 | |
| 215 | Uploading Modem |
| 216 | 100% |
| 217 | Modem upload successful |
| 218 | |
| 219 | Uploading Kernel |
| 220 | 100% |
| 221 | Kernel upload successful |
| 222 | |
| 223 | Uploading Kernel2 |
| 224 | 100% |
| 225 | Kernel2 upload successful |
| 226 | |
| 227 | Uploading SYSTEM |
| 228 | 100% |
| 229 | SYSTEM upload successful |
| 230 | |
| 231 | Uploading CACHEFS |
| 232 | 100% |
| 233 | CACHEFS upload successful |
| 234 | |
| 235 | Uploading HIDDEN |
| 236 | 100% |
| 237 | HIDDEN upload successful |
| 238 | |
| 239 | Ending session... |
| 240 | Rebooting device... |
| 241 | Releasing device interface... |
| 242 | }}} |