Как сделать бэкап spreadtrum

«Ublaze.ru» — клуб любителей

КПК и спутникового ТВ

Как прошить телефон на Spreadtrum

Spreadtrum Communications, Inc. разрабатывает мобильные платформы чипсета для сматфонов. Среди них можно выделить процессоры Spreadtrum sc6820, SC6530, SC8810 и другие. У владельцев данных устройств возникает вопрос — как сделать резервную копию и прошить телефон на базе процессора Spreadtrum?

Прежде чем прошивать, необходимо сделать резервную копию (если есть возможность)

Если телефон включается и есть возможность установить приложение Android Terminal Emulator, то получите root права для вашего устройства и включите в настройках Отладку по USB. Затем скачайте backuptools.tar и с помощью блокнота Notepad++ откройте скрипт mkbackup.sh — найдите в нем строку:

сохраните изменения. Скопируйте mkbackup.sh и mkyaffs2image в корень SD карты

В Android Terminal Emulator выполните команды

подождите немного, для того чтобы разделы скопировались в папку backup SD карты вашего телефона

Как восстановить телефон из резервной копии

Включите на планшете пункт ‘Отладка по USB‘ (USB debugging).
Скачайте ADB и установите его на локальный диск C вашего компьютера.
Запускается ADB любым из следующих способов:

1. Пуск -> Выполнить -> сmd -> Ввод (Enter).
2. Сочетанием клавиш WIN+R -> сmd -> Ввод (Enter).
3. В папке Windows\System32 находим файл cmd.exe и запускаем его.

Переходим в каталог ADB командой

В окне командной строки введите команды (желательно наличие root прав):

1. Скачайте бинарный файл flash_image (извлеките его из zip архива)
2. Скопируйте на SD карту следующие файлы (получить их можно из вашего бэкапа и переименуйте их в следующий вид)

3. Поместите файл flash_image в папку, где находится утилита adb.exe и выполните команды:

4. Прошейте все образы

5. Перезагрузите телефон в recovery командой

Не забудьте сделать все wipe и factory reset в recovery

Инструкция по прошивке Spreadtrum

а так же драйвера для телефона:

Подключите телефон и установите драйвер.

2. Если вы боитесь что-то наломать при прошивке, то воспользуйтесь программой UpgradeDownload_R2.9.9005 – она сама выставит все нужные настройки для прошивки вашего телефона, вам нужно будет только указать файл прошивки, которую вы хотите установить в свой телефон. Если вы уже прошивали телефон и знакомы с программой ResearchDownload, то воспользуйтесь ей.

3. Скачайте необходимую прошивку для Вашего телефон на платформе Spreadtrum. Чтобы определить модель телефона, воспользуйтесь программой MTK Droid Root & Tools

4. Запустите ResearchDownload или UpgradeDownload с помощью кнопки с шестерёнкой (Load Packet) укажите файл распакованной из архива прошивки, которую вы хотите загрузить в телефон.

5. Выньте из вашего телефона батарею, симки и флешкарту.
Воткните шнур microUSB в телефон, а в ResearchDownload или UpgradeDownload нажмите кнопку с изображением кнопки Play (Start Downloading).

Зажмите на телефоне клавишу громкость вниз и держите её нажатой, воткните USB кабель от телефона в компьютер. Вставьте аккумулятор в телефон. Начнётся прошивка телефона.
Не отпускайте кнопку громкость вниз и не дёргайте телефон пока не увидите зелёную надпись об окончании загрузки прошивки в ваш телефон.

6. Когда прошивка закончится, выньте microUSB кабель из телефона, отпустите кнопку громкость вниз и включите телефон (может понадобиться вынуть и вставить аккумулятор обратно в телефон).

Через некоторое время телефон загрузится и вы увидите новую прошивку телефона.

Имейте ввиду, что в ходе прошивки с телефона будут удалены ваши аккаунты, пароли и установленные в старую прошивку программы.

7. Если же вы хотите прошить телефон и не потерять свои данные, то есть способ, который позволяет это сделать, но он не всегда работает и может так получиться, что всё же вам придётся воспользоваться описанными шагами и прошить телефон полностью с потерей данных.
Для этого вам надо воспользоваться программой ResearchDownload.
С помощью кнопки с шестерёнкой (Load Packet) выберите прошивку, затем зайдите в кнопку с двумя шестерёнками (Settings) и на вкладке Main Page оставьте все галки кроме UserData.
Нажмите Ок и потом действуйте также, как описано в пунктах 5-6.

8. Если в ResearchDownload во время прошивки возникнет ошибка, например Progress: Failed: Operation failed, то Вам необходимо указать правильные FDL файлы в настройках программы ResearchDownload нажав на кнопу Settings с двумя шестеренками

Источник

Как сделать бэкап spreadtrum

Отсутствие cwm-recovery заставило меня искать альтернативные способы создания бэкапа для прошивки своего Блэда АФ3. И конце-концов выход был найден. И о нем сейчас по-подробнее.

Для создания бэкапа (backup) сначала я воспользовался программой для удаленной работы с телефоном через компьютер — ADB. С её помощью удобней вводить команды. Нужен Рут-доступ на устройство.

Первое — установить драйвера. Подключаем Blade AF3 к компьютеру. На экране смартфона появится такое окно подключения. Выбор — Виртуальный диск.

На рабочем столе ПК появится окно автозапуска. Подтверждаем автозапуск и устанавливаем программу на ПК.

После установки программы на компьютер в телефоне надо зайти в Настройки раздел — Дополнительно и активировать строку — Для Разработчиков. Далее поставить галочку напротив — Отладка по USB.

На компьютере произойдет окончательная установка драйверов ADB.

Заходим в папку ADB и нажимая клавишу Shift и правую кнопку мышки вызываем контекстное меню где выбираем — Открыть окно команд.

Откроется окно командной строки, где сначала надо ввести — adb devices. На телефоне откроется окно с сообщением — Цифровой отпечаток ключа… — надо нажать ОК. Появится список подключенных устройства или надо повторить команду нажав навигационную клавишу со стрелкой вверх на клавиатуре.

Далее ввести — adb shell. А затем — su. В телефоне должно появится окно для подтверждения доступа данной программы к телефону. Разрешить. В дальнейших наших действия воспользуемся разметкой телефона по названиям и месту расположения в памяти телефона блоков прошивки, которую мне пришлось создавать самостоятельно из нескольких файлов.

Далее начинаем сам процесс копирования и вводим команду для основного блока прошивки — system:

dd if=/dev/block/mmcblk0p17 of=/sdcard/system.img

Блок system будет скопирован на sd-карту телефона… Таким же образом можно скопировать все блоки. Но главное для начала надо разобраться с разметкой потому что в некоторых телефонах есть дополнительные блоки в виде oem, internalsd и другие. Основные блоки — boot, system, recovery, wmodem (и некоторые другие) на разных разметках находятся по одному и тому же пути.

Точно также можно скопировать блоки непосредственно на телефоне через приложение Терминал. Сначала вводится su, затем — dd if=/dev/block/mmcblk0p17 of=/sdcard/system.img (для блока system).

Скачать простой пакет ADB можно — ЗДЕСЬ (распаковать желательно в корневой каталог диска С:)

Читайте также:  Как сделать группу твич

Еще статьи о смартфоне ZTE Blade AF3

Источник

How To Backup Spreadtrum ROM to SDcard or SDcard1

Backing up your phone’s firmware is very important and necessary if you’re the type that loves trying new stuffs on your device. Like rooting, flashing kernels, custom ROMs, etc.

Also, if you want to build a custom ROM for your device, a backup of your original firmware is required if you do not have a downloaded firmware package.

If you want to backup a device from another Chipset, click here.

Requirements:

  • Spreadtrum Drivers – SCI-android-usb-driver-jungo-v4.7z and Spreadtrum Drivers.7z. Download and install both!
  • Backup tools – Download (for internal sdcard)
  • Backup tools – Download (for external sdcard)
  • ADB / Fastboot – Click here to learn how to setup
  • *Rooted Spreadtrum device
  • Computer / PC

How to Backup Spreadtrum ROM to Internal or External SDcard

Now, navigate to C:\user\.android\adb_usb.ini and edit via Notepad++ or any text editor. Add this PCI ID to the file, to inform adb that you’re working with a Spreadtrum device.

Backing up Spreadtrum Firmware

  • Once you have fulfilled the requirements above, launch Command Prompt and key in the following commands hitting Enter button after each command line.

Note: Be sure to launch CMD from where your downloaded backuptools.tar archive is located. If you downloaded the backup package for external sdcard, don’t forget to rename to backuptools.tar.

Commands:

adb push backuptools.tar /data/local/tmp

adb shell su -c “tar -xvpf /data/local/tmp/backuptools.tar”

Wait for sometime then check the backup folder in your sdcard and you will find the backup files of your phone’s firmware.

If you get an error message like: sh: applet not found, uninstall the busybox you have installed and install this- Busybox.

To learn how to flash or install stock firmware on your Spreadtrum phone, click here.

If you have any questions or complaints, please post in comments section. Don’t forget to share if you find this useful.

Источник

Spreadtrum SC6820/SC8810 Full Backup

ElectronikHeart

Senior Member

Today I will teach you how to make a full backup of your Spreadtrum phone !

This tutorial may also work on several other phones.

CWM can make a nearly full backup of your Spreadtrum, but it’s not enough unfortunately.

Android is compartmented in 4 main partitions. You have theses partition:
* boot — It contains the Linux kernel
* System — It contains Android
* Recovery — It contains the recovery system, CWM if you installed it.
* DATA — It contain your personal datas, and should not be published online if you share your backup online.

But Android is one thing, your phone also have a lot of bios, firmwares, and bootloaders. Theses are not saved by traditional backup utilities such as CWM.

Theses partitions includes:
* UBoot — Very important, this thing is the low level bootloader. It starts Linux !
* Modem Firmware — used to dial with your GSM provider
* DSP Firmware — Make video playback smoother using DSP resources.
* NV — It’s some kind of encryption key with some low levels parameters. Very important !
* Lots of misc stuffs — Like the boot logo, the kernel panics logs (record the boot-up errors to help the debugging process), etc .
* Lots of important misc stuffs — For example what start-up the device even before handing the phone to Uboot.

This thread will cover a new way to backup your device, working «only» on rooted Spreadtrum devices.
With this you can recreate your original firmware file, and then rescue your phone even on the worst case you can find. (And help those with the same phone as you but have made a big flashing mistake)

So first, you will need to root your device. It may be simple or difficult, it all depends of the device you have. The instructions on how to root your device are here: http://forum.xda-developers.com/showthread.php?t=2165554

When you are rooted, you will have to install the Spreadtrum drivers if it’s not already the case and log into your device with ADB.

Then you will have to tell adb what phone to use. By that I mean adding the PCI ID to a text file to tell adb that this peripheral is compatible.

The Spreadtrum PCI ID is 0x1782

add this line to «Your user directory/.android/adb_usb.ini»

So when you are ready to go, you have to download this file: http://www.mediafire.com/download.php?y6wmegkc22gkr97

Then with adb, push it on your device with this command:

Now we will extract the tools with this command:

And now, let’s start the backup process:

and here we go, just wait a while and every partitions on your phone will be saved in the backup directory on the sd card !

You will never have to backup this way again as those partitions are read only, if you don’t do crazy things they will never change. But if you want to make another backup I suggest you go with CWM (read this page if you don’t have it: http://forum.xda-developers.com/showthread.php?t=2165554).
Please do another backup with CWM even if everything as gone right with this method. Just to double check !

PS: if CWM does not work for you, you just have to send me your boot.img file from your backup and I will make one compatible with your phone.

To restore your backups you will also need to have CWM, you also can use ResearchDownload if you manage to entirely brick your phone or if any attempts to make a CWM recovery fails. I will have to do a tutorial about that too.

monster-exodia

Member

Thanks a lot :good:

this is my boot.img after a full backup :www .mediafire.com/?gmnm65rn65b28c3

i need a CWM image for my GT-I9300 clone.

ElectronikHeart

Senior Member

Thanks a lot :good:

this is my boot.img after a full backup :www .mediafire.com/?gmnm65rn65b28c3

i need a CWM image for my GT-I9300 clone.

Can I have the exact name of your device ? (it must be in the battery compartment)

Did you tried all the CWM already in the rooting tutorial ? (I added one this morning)

If none of them work, I made this recovery with the boot.img you provided: http://www.mediafire.com/download.php?aj2nman38j5cfip

Please don’t forget to tell me what CWM work for you so I can add the name of your phone on the tutorial.

monster-exodia

Member

phone model (in battery) : N9300

phone model : (system info) GT-I9300

Build number : MT6515M_C909_HT_V14

cpu hardware : SP6820A

I never tried . firslty how to to flash CMW recovery ?

thanks in advance.

ElectronikHeart

Senior Member

ElectronikHeart

Senior Member

Well it’s explained in the rooting tutorial.

If your phone have Fastboot you can flash using it. If you don’t you can use the Spreadtrum flash utility called ResearchDownload.

Читайте также:  Как сделать бурлящий коктейль

As your phone is already rooted it will be a lot more simple to flash using «dd» or some android flashing utilities. Actually it doesn’t work that way on theses phones, sorry . So just do as the rooting tutorial explains.

janzlev

Member

Hi, I’m succesfully rooted my phone with the «rooted system partition image» method, but none of the CWM images work, so I would be grateful if you can send me the recovery image.
Device Info:

Phone model (in battery) : S6500-TV
Phone model : (system info) S560
Android Version: 4.0.3
Baseband Version: DM_BASE_12A_W12.32|sc8810_modem|08-9-2012 16:47:10
Kernel Version: 2.6.35.7 [email protected] #3
Software Version: T162_JYY_G2_P2_1_W1220P12_DNY_V0.8.1_20121015
Hardware Version: 1.1.0

boot.img : www .dropbox.com/s/ka43sd45em9lu9k/mtd9.boot.img

Thanks in advance.

jvrey5

Member

I never tried . firslty how to to flash CMW recovery ?

thanks in advance.

ElectronikHeart

Senior Member

Hi, I’m succesfully rooted my phone with the «rooted system partition image» method, but none of the CWM images work, so I would be grateful if you can send me the recovery image.
Device Info:

Phone model (in battery) : S6500-TV
Phone model : (system info) S560
Android Version: 4.0.3
Baseband Version: DM_BASE_12A_W12.32|sc8810_modem|08-9-2012 16:47:10
Kernel Version: 2.6.35.7 [email protected] #3
Software Version: T162_JYY_G2_P2_1_W1220P12_DNY_V0.8.1_20121015
Hardware Version: 1.1.0

boot.img : www .dropbox.com/s/ka43sd45em9lu9k/mtd9.boot.img

Thanks in advance.

Please tell me if it works so I can add it to the rooting tutorial ^^

Thank you very much !

janzlev

Member

ElectronikHeart

Senior Member

You mean the recovery is looping ? and if you try to boot as normal everything working ok ?

I don’t know what has gone wrong . Where did you find your boot.img ? Did you extract it from the rom as the tutorial said or extracted from a .pac file ?

Have you flashed it with fastboot or with ResearchDownload ?

janzlev

Member

You mean the recovery is looping ? and if you try to boot as normal everything working ok ?

I don’t know what has gone wrong . Where did you find your boot.img ? Did you extract it from the rom as the tutorial said or extracted from a .pac file ?

Have you flashed it with fastboot or with ResearchDownload ?

ElectronikHeart

Senior Member

That’s weird, really weird. Because the recovery partition is not involved in the normal boot procedure. So flashing a new recovery should not harm in any way the normal boot procedure.

I really don’t know what have brought your phone in such state I’m afraid.

Maybe you should try to flash the recovery again. and see if everything is the same.

As the recovery is not involved in the normal boot process, it surely will not change anything, but as you have tried the over ones (CWM I mean), and that have not screwed your booting process, you may try to flash one of the non working ones again (but known for sure to not harm the boot process) to see if it work again.

Have you used the same FDL set as when you flashed the system partition and the over CWM ?

It’s a good thing you have the full backup on your hand. Because you may surely be able to recover from that. I just have to make a tutorial about flashing the backup with ResearchDownload and explaining what file goes where from the backup.

janzlev

Member

That’s weird, really weird. Because the recovery partition is not involved in the normal boot procedure. So flashing a new recovery should not harm in any way the normal boot procedure.

I really don’t know what have brought your phone in such state I’m afraid.

Maybe you should try to flash the recovery again. and see if everything is the same.

As the recovery is not involved in the normal boot process, it surely will not change anything, but as you have tried the over ones (CWM I mean), and that have not screwed your booting process, you may try to flash one of the non working ones again (but known for sure to not harm the boot process) to see if it work again.

Have you used the same FDL set as when you flashed the system partition and the over CWM ?

It’s a good thing you have the full backup on your hand. Because you may surely be able to recover from that. I just have to make a tutorial about flashing the backup with ResearchDownload and explaining what file goes where from the backup.

ElectronikHeart

Senior Member

janzlev

Member

ElectronikHeart

Senior Member

Can you tell me what version of ResearchDownload have this bug. It’s a pretty scary one. I have to be sure I don’t have it on my computer .

By the way what CWM image is working ? The first or the second one ? (the two should work but I want to be sure before adding it to the main tutorial)

Thank you very much ! That’s one more phone to the list of easily rootable Spreadtrums thanks to you !

Edit: And what FDLs you use precisely so I can rename the folder to reflect the use of this set for this phone (Is this the ones on the .pac firmware you’ve uploaded on the over topic ?)

janzlev

Member

ElectronikHeart

Senior Member

I think I have every informations I need ^^
I have added the recovery for S6500-TV to the main tutorial and will add in a short while the fdls to the FDL pack file.

jvrey5

Member

attached is my boot.img

to follow: entire backup

Similar threads

Top Liked Posts

Today I will teach you how to make a full backup of your Spreadtrum phone !

This tutorial may also work on several other phones.

CWM can make a nearly full backup of your Spreadtrum, but it’s not enough unfortunately.

Android is compartmented in 4 main partitions. You have theses partition:
* boot — It contains the Linux kernel
* System — It contains Android
* Recovery — It contains the recovery system, CWM if you installed it.
* DATA — It contain your personal datas, and should not be published online if you share your backup online.

But Android is one thing, your phone also have a lot of bios, firmwares, and bootloaders. Theses are not saved by traditional backup utilities such as CWM.

Theses partitions includes:
* UBoot — Very important, this thing is the low level bootloader. It starts Linux !
* Modem Firmware — used to dial with your GSM provider
* DSP Firmware — Make video playback smoother using DSP resources.
* NV — It’s some kind of encryption key with some low levels parameters. Very important !
* Lots of misc stuffs — Like the boot logo, the kernel panics logs (record the boot-up errors to help the debugging process), etc .
* Lots of important misc stuffs — For example what start-up the device even before handing the phone to Uboot.

Читайте также:  Как сделать гель смазку

This thread will cover a new way to backup your device, working «only» on rooted Spreadtrum devices.
With this you can recreate your original firmware file, and then rescue your phone even on the worst case you can find. (And help those with the same phone as you but have made a big flashing mistake)

So first, you will need to root your device. It may be simple or difficult, it all depends of the device you have. The instructions on how to root your device are here: http://forum.xda-developers.com/showthread.php?t=2165554

When you are rooted, you will have to install the Spreadtrum drivers if it’s not already the case and log into your device with ADB.

Then you will have to tell adb what phone to use. By that I mean adding the PCI ID to a text file to tell adb that this peripheral is compatible.

The Spreadtrum PCI ID is 0x1782

add this line to «Your user directory/.android/adb_usb.ini»

So when you are ready to go, you have to download this file: http://www.mediafire.com/download.php?y6wmegkc22gkr97

Then with adb, push it on your device with this command:

Now we will extract the tools with this command:

And now, let’s start the backup process:

and here we go, just wait a while and every partitions on your phone will be saved in the backup directory on the sd card !

You will never have to backup this way again as those partitions are read only, if you don’t do crazy things they will never change. But if you want to make another backup I suggest you go with CWM (read this page if you don’t have it: http://forum.xda-developers.com/showthread.php?t=2165554).
Please do another backup with CWM even if everything as gone right with this method. Just to double check !

PS: if CWM does not work for you, you just have to send me your boot.img file from your backup and I will make one compatible with your phone.

To restore your backups you will also need to have CWM, you also can use ResearchDownload if you manage to entirely brick your phone or if any attempts to make a CWM recovery fails. I will have to do a tutorial about that too.

How you have created a pac from the full backup please explain so that it can be useful to others

———- Post added at 03:46 PM ———- Previous post was at 03:38 PM ———-

Can any one explain the mtd files with corresponding files in research download

How to create a full .pc out of a backup from this script.

In this post i assume you bricked your phone, and you should NOT try flashing all of these unless you are very sure you have the time and the will to fix files and search for an fdl2 for your device, if your phone its ok.. don’t mess then with this stuff.

1. First you need a hex editor, go and download HxD Hex Editor its free.
2. You need a .pac from another rom, so you can compire the files in the hex editor and see how they should start or not.
3. The filenames more clear are, the ones that need to be hex edited to remove any paddings or junk hex.

mtd6.backupfixnv.yaffs2.img = nvitem.bin
mtd0.spl.img = spl.img
mtd1.2ndbl.img = uboot.img
mtd3.vmjaluna.img = vmjaluna.img
mtd9.boot.img = boot.img

Now, open from the downloaded .pac the file you want to fix, see whats the header (where it starts from, and where it ends) for example, nvitem.bin (NV) starts arround the line that says 42Headset,so you click search, hit 42Headset go to that line and one up, and remove the remaining, so your file looks like the one from the random rom you downloaded.

All the files (boot, vmjaluna, etc) are very easy to get fixed, they just need to remove some junk from the top, and some from the bottom maybe. BUT NV has a junk hex that gets repeated every while and then..which makes it really hard to be fixed, i have uploaded a picture of a screen shot that explains how to fix this one.

The rest of the files you can easily fix them if you look at the files of an original .pac of another rom eg.

As i said before, the people in this forum wasnt clear how to flash, flashing with a wrong FDL2 can brake the rom as i guess the FDL2 is something like scatter files for MTK’s.. so if you have a working rom.. be carefull when you search for CWM recovery, you may endup with a brocken recovery EVEN YOU HAVE backup of the original recovery.img.. will never work with a wrong fdl2 even if it says it got flashed.

So? you need to find the right fdl2 for your phone, it toke me like hours of downloading roms and testing fdl2’s until i find one that flashses AND boots to rom, because you see «flashed ok / passed» message, doesn’t mean its really ok..even if you used an fdl2 to flash system.img for rooting it, Doesn’t mean that it will work for boot, and for uboot and for everything else.. some fdl2’s for me worked until to uboot, but they didnt worked to boot, some fdl2s worked to boot, but when i flashed system.img phone didn’t boot up.

so heres how you will find a good fdl2 if there are no already an official pac for your device.

You download 10-15 different .pac roms, (there are plenty out there) your use researchdownload to open the roms and extract their files into the temp folder, from were you get system,boot,fdl etc etc out of a .pac. i assume you know how to copy/past the file path from the settings of research downloader.

Now you collect all fdl2s you can find, including the ones in CWM/root thread. and after that you try to flash nv, up to DSP.. and bootlogo, nothing else, just to see if the screen turns on and the logo apears, if this can happen, you try to flash the rest of your files, system boot etc, if the phone doesn’t boot, you try another fdl2.. etc etc.

Источник

Поделиться с друзьями
Ответ и точка