Tegrak Recovery Guide

(made by Cypher_X and marcedli)

Any comments and opinion regarding these guides are highly appreciated, feel free to contact us on xda!

Back to Tegrak Kernel META-Guide

You can enter Tegrak Recovery Mode by clicking the HOME button on boot time while its counting down from 3 to 0.

You will get a note from tegrak that do NOT wipe device while on ONENAND mode and press any key.

1. EXIT: exit recovery

We don’t think that this should be explained

2. UPDATE: from zip package

Selecting this option will flash/install a zipfile from the update-folder located inside the tegrak-folder on you internal SD. (/sdcard/tegrak/update/...).

If the update-folder doesn’t exist, you can create it manually inside the tegrak-folder.

First you copy the zip into /sdcard/tegrak/update and flash from recovery.

All commands in the updater script will be executed, so it's good for flashing a rom,

modem or whatever. NOTE: when you flash a rom from recovery it might not wipe!

So your update-folder could look like this: (the 00~05 folders are mentioned in the next part)

ATTENTION !!

If you want to flash a zip while using the Onenand mode, you have to remove the mount/unmount command lines from the updater-script which is located inside the .zip file (look for this inside the zip: \META-INF\com\google\android\updater-script) in order to avoid wrong paths, since the /system and /data partitions are swapped.

All the partitions are mounted correctly by the kernel when you enter Tegrak Recovery Mode!

If you don’t know how to edit the updater-script,

you should check  THIS GUIDE.

3. UPDATE: from internal sdcard

This option is mostly used for pushing themes and apps to the system.

Selecting this option will push the files from the update/00-05 folders, located inside the tegrak-folder on you internal SD, to the system. If the update-folder doesn’t exist, you can create it manually inside the tegrak-folder (/sdcard/tegrak/update/...).

First you create a folder inside the update-folder called “00” (/sdcard/tegrak/update/00/).

Next you extract (unzip) your zip-file to the “00” folder.

Now you can flash/install the files from the Tegrak-Recovery.

An example with detailed instructions can be viewed on this link.

*Note*

You’re able to create up to 6 folders from which you can push files to the system.

These should be named: 00, 01, 02, 03, 04 and 05.

You don't have to create them all. Only the ones you need for pushing stuff.

E.g a theme in the ”00” folder and an app in the  ”01” folder.

So your update-folder could look like this:

4. UPDATE: from external sdcard

This option is almost the same as update from internal sd, but then from the external SD card.

Selecting this option will push the files from the update/00-05 folders, located inside the tegrak-folder on your external SD, to the system. If the tegrak-folder and update-folder don’t exist, you can create them manually on the external SD card (/sdcard/external_sd/tegrak/update/...).

First you create a folder inside the update-folder called “00” (/sdcard/external_sd/tegrak/update/00/).

Next you extract (unzip) your zip-file to the “00” folder.

Now you can flash/install the files from the Tegrak-Recovery.

An example with detailed instructions can be viewed on this link.

*Note*

You’re able to create up to 6 folders from which you can push files to the system.

These should be named: 00, 01, 02, 03, 04 and 05.

You don't have to create them all. Only the ones you need for pushing stuff.

E.g a theme in the ”00” folder and an app in the  ”01” folder.

5. RESTORE: /data, /dbdata

This option restores all the data in /data and /dbdata. These folders contain all your user-apps and app-data. If something goes wrong during e.g. flashing, you can restore from a previous made backup. You can create a backup by choosing Backup /data, /dbdata as mentioned below.

6. BACKUP: /data, /dbdata

If you select this option, it will create a backup of the /data and /dbdata folders. These folders contain all your user-apps and user-data. Backups are saved in the tegrak-folder

(/sdcard/tegrak/backup/data.bak and dbdata.bak).

7. RESTORE: /system

If you select this option, it will restore /system partition. In order to use this you have to backup /system first as it is described below.

The /system folder contains all the system-apps, framework and system data.

If something goes wrong during flashing, you can use this to restore a previous made backup.

8. BACKUP: /system

This option will create a backup of the /system folder. This /system folder contains all the system files that your phone needs to run the rom. Backups are saved in the tegrak-folder.

(/sdcard/tegrak/backup/system.bak)

*Note*

When you enable or disable a lagfix, it automatically backups the /data, /dbdata and /system folder.

9. RECOVERY: reboot recovery

This option reboots the phone and enters Samsung’s default 3E recovery.

10. DOWNLOAD: reboot download mode

This option will reboot the phone and bring you to the Download Mode.

This mode is used for uploading e.g. firmware to the phone using a flashing tool like Odin or Heimdall

11. Wipe Cache

This option wipes all the content from the cache partition. This partition contains temporary data for quicker access by the system.

12. Wipe Dalvik-Cache

This option will wipe the Dalvik-cache.

Dalvik-cache contains semi-permanent data, all the apps you use are cached here for quicker access.

13. Wipe init.d

This option will wipe the content of the init.d-folder. (/system/etc/init.d/...)

This folder contains kernel related scripts, like RAM optimization scripts or whatever it’s in there (only custom roms use init.d scripts).

Back to Tegrak Kernel META-Guide