-
Notifications
You must be signed in to change notification settings - Fork 0
Type 2 Brick
Plug your microsd card to your linux computer
Run the following commands and replace YOURMICROSD with your microsd’s mountpoint (you can view it with gparted)
$ cd sdcard
$ ./create_recovery_sdcard.py -o recovery_sdcard.bin -s sboot.bin
$ dd if=recovery_sdcard.bin of=YOURMICROSD
$ sync
Now we have to enter download mode:
-
DON'T Insert the SD card to your device, insert the battery, press power+volume down+home buttons for approx. 2-3 seconds, release all of them and press the volume up button once.
-
Connect the usb cable.
-
Run the following command in order to low-level format the eMMC and install the new firmware:
exploit/sboot_exploit.py --shellcode shellcode/write_fw.bin -e 0xf7bugfree.bin
If above fails then your phone's bootloader SBOOT is incompatible with this tool. That was what I experienced , and I eventually found a workaround (Go to type 3)
-
Insert the SD CARD and boot again to download mode (insert the battery, press power+volume down+home buttons for approx. 2-3 seconds, release all of them and press the volume up button once) and connect the usb cable. You might see some funky stuff on the phone's screen -- just ignore it.
-
Resize the boot partition:
exploit/sboot_exploit.py --shellcode shellcode/change_boot_partition_size.bin -
Creating the recovery sd card
- Insert SD card (Everything from it will be wiped!)
- Perform on the directory of this file: GT_I9300_unbrick_sdcard_head.bin
dd if=GT_I9300_unbrick_sdcard_head.bin of=/dev/path to SD card device (mountpoint on gparted)
eMMC is functional! You can use Odin to flash the ROM from the .tar.md5 that you downloaded to your device (you also need to repartition, i.e. flash a new PIT). Afterwards, flash TWRP and format these partitions to ext4 (/cache, /data, /preload, /sdcard, /efs). Then flash some firmware and your phone is good to go (except for EFS which is missing now).