[Q] How can I get a stock rom from a backup? - General Questions and Answers

I have made a backup of my ROM after I rooted my Acer Z110 (MT6575 based) and made it ready for a possible flash with SP Flash Tool. I wanted to extract only stock ROM (without any app, user data and IMEI info) so that it can be flashed on another Z110 from my same country (Italy, Acer does not provide italian rom) just like the official UK rom that can be downoaded from Acer website.

Additional info: original stock rom and backup have in common boot.img and recovery.img

OK, this might be lengthy, so hang on.
Is it a zip? Is it a rar? Is it something else? Tell me what it says after the dot (e.g. something.zip)
Now, if it is a zip, open it, and delete the data or user files/folders/images/archives.
Try flashing it and see if there is any data left over.
Let me know how it goes

It's a set of .img and .bin files just like the original rom
Code:
MT6575_Android_scatter.txt
DSP_BL
boot.img
cache.img
recovery.img
secro.img
system.img
userdata.img
userdata_nvram_only.img
logo.bin
preloader.bin
uboot.bin
Original ROM lacks cache.img and userdata_nvram_only.img while userdata.img is considerably smaller than the backupped one (6mb vs 171mb) just like system.img and secro.img (these two however are not so different in sizes).
I think that MTK Droid Root & Tools makes also a nandroid backup if necessary but it can't be flashed on the device as there is still no custom recovery for it.
Also it could be helpful to know that originl rom is for a dual-sim version of the device while mine is single-sim (they however are different only in software as someone flashed that rom and everything works, except they can't insert SIM2 as there s no space in our device).

Please, upload your ROM
Gigi4 said:
It's a set of .img and .bin files just like the original rom
Code:
MT6575_Android_scatter.txt
DSP_BL
boot.img
cache.img
recovery.img
secro.img
system.img
userdata.img
userdata_nvram_only.img
logo.bin
preloader.bin
uboot.bin
Original ROM lacks cache.img and userdata_nvram_only.img while userdata.img is considerably smaller than the backupped one (6mb vs 171mb) just like system.img and secro.img (these two however are not so different in sizes).
I think that MTK Droid Root & Tools makes also a nandroid backup if necessary but it can't be flashed on the device as there is still no custom recovery for it.
Also it could be helpful to know that originl rom is for a dual-sim version of the device while mine is single-sim (they however are different only in software as someone flashed that rom and everything works, except they can't insert SIM2 as there s no space in our device).
Click to expand...
Click to collapse
Can you upload that ROM for the dual-sim device? Please!
I really need it...
Thanks in advance!

Related

[Q] how to mod w9 rom system.img

mid w9 use rk2818 chip
i use rk2808 mod tools unpack the system.img but not
pls help me how to unpack/pack to the w9 system.img
thanks master
any one help me
You got any luck with that? I have been trying everything I could think of without success.
http://twitter.com/naobsd has expressed interest in helping.
He needs a system dump
RK2818 can be rooted with UniversalAndRoot
You then need to run a Terminal Emulator application to dump the contents of /system into a tar and upload it
If you can dump the contents of other useful partitions, that might be good as well.
sorry for my inaccurate explaination.
I don't want dump image itself.
I already know
1. system.img in update.img is encrypted (other files are not encrypted, same as RK2808)
2. RKAndroidBatchUpgrade.exe for RK2818 decrypt system.img, then flash into device
3. decrypted system.img(cramfs) can be get by dumping system partition on live device
4. dumped decrypted system.img can be unpacked by fsck.cramfs
then, I want know following procedure can be done:
5. pack update.img with dumped decrypted system.img from device
6. flash update.img(5.) by RKAndroidBatchUpgrade.exe for RK2818
it should be easy to try, but I don't have any RK2818 device. I'll get ONN-N2 but no official firmware is released yet. so I can't make complete update.img for ONN-N2. (no RK28xxLoader(L).bin)
--
I know old flash tool for RK2808 can flash single partition. I think it should work on RK2818 because new flash tool for RK2818 can be used for my RK2808 device (iRobot)
but, anyway, I don't have RK2818. I can't test anything on real RK2818 device.
need your help! see here: http://www.slatedroid.com/index.php?topic=12683.msg105067#msg105067
Wopad?
I'm not sure if I have the same device as in this thread, but I'm familiar with adb and rooting. I've tried universal Androot on my device and it doesn't give me root. Z4root does but only temporary. I would love to help with whatever you guys need, just need a couple commands and will send files.
Oh it's a wopad rk2818 capacitive no trackball 2.1 model 7001
i can give any other info if needed. Hopefully we can get some kind of development going on this tab. It's a good little device, Rom is not so good though.
For reference, W9 ROM:
http://ramos.com.cn/support.php?support_downid=264
2010-12-08
fun_ said:
sorry for my inaccurate explaination.
I don't want dump image itself.
I already know
1. system.img in update.img is encrypted (other files are not encrypted, same as RK2808)
2. RKAndroidBatchUpgrade.exe for RK2818 decrypt system.img, then flash into device
3. decrypted system.img(cramfs) can be get by dumping system partition on live device
4. dumped decrypted system.img can be unpacked by fsck.cramfs
then, I want know following procedure can be done:
5. pack update.img with dumped decrypted system.img from device
6. flash update.img(5.) by RKAndroidBatchUpgrade.exe for RK2818
it should be easy to try, but I don't have any RK2818 device. I'll get ONN-N2 but no official firmware is released yet. so I can't make complete update.img for ONN-N2. (no RK28xxLoader(L).bin)
--
I know old flash tool for RK2808 can flash single partition. I think it should work on RK2818 because new flash tool for RK2818 can be used for my RK2808 device (iRobot)
but, anyway, I don't have RK2818. I can't test anything on real RK2818 device.
need your help! see here: http://www.slatedroid.com/index.php?topic=12683.msg105067#msg105067
Click to expand...
Click to collapse
My tablet is based on the rockchip 2818 ref. design, the pure odm device as it were, model is the yifang m7.
The issue i stumbled upon is that the little ****er is still encrypted on the blocklevel device. (mtdblock4 for /system)

Galaxy 2 (EK-GC200) recovery / backup / restore

Hello all,
I really need, for a commercial project, to flash a great number (>100) of Galaxy Camera 2 (EK-GC200() device, all with the same firmware, rooted and modified as I need.
I have to flash boot.img (modified by me) and system.img (rooted).
I have now to root the camera, then start the system, enable developer options, enable adb debug and at the end flash a new boot.img, and the system.img itself (adb shell, dd ...).
This is time consuming, and error prone.
I'm sure the boot.img & system.img are correct, cause I can flash them without error (and they work fine) with dd from the internal emulated sdcard.
I can see two viable alternatives:
1. A custom recovery, from where I could make a nandroid backup, which I can use later on to update all the rest of the cameras.
But:
I tried to port the EK-GC100 cwm recovery, I've been able to boot it up, but the touchscreen is unusable and I got a lot of error coming from the file system.
Please help me! Any suggestion, half project, everything is really appreciated!
2. To create an Odin package, using the .img files I can optain with dd from a ready camera.
But:
I tried all I can do to build a Odin package, but every time I got an error (Odin Fail) when I try to flash system.img.
I tried to build a package containing recovery.img + boot.img, and that works.
I tried to build a package containing only system.img, and it doesn't work, every time I got a Fail from Odin.
I tried manual compression (tar + md5sum on Linux), and automated scripts you can find on XDA, both under Linux and Windows.
Why is system.img impossible to flash?
What am I missing?
Thank you in advance.
Ciao,
Giovanni

how to flash these

So yeah...
I've downloaded a full dump files for my firmware on my tablet.
After i've downloaded the files, i'd extracted it and .IMGs files
were extracted. These were: backup.img, boot.img, cache.img
kernel.img, kapanic.img, metadata.img, misc.img, recovery.img,
system.img, userdata.img and loader bins. How could i flash these
files for my tablet to work again since a firmware needed to
flash on it. Please tell me how or which should i do or which
tool should i use. I need it asap :crying:

backup of recovery.img

Hi everyone,
I just got a cheap chinese tablet with android 9.0, i tried to root it with the available tools but no success, so i'm thinking of making my own twrp image, therefor this question: is it safe to readback the recovery.img file using spfalsh tool (and since all the scatter files of its chip MT6580 have the same address and length for the recovery.img file), then make my own twrp, flash it, and if it fails, reflash the "original" recovery i extracted? will this work?
fateh.ah said:
Hi everyone,
I just got a cheap chinese tablet with android 9.0, i tried to root it with the available tools but no success, so i'm thinking of making my own twrp image, therefor this question: is it safe to readback the recovery.img file using spfalsh tool (and since all the scatter files of its chip MT6580 have the same address and length for the recovery.img file), then make my own twrp, flash it, and if it fails, reflash the "original" recovery i extracted? will this work?
Click to expand...
Click to collapse
You can backup the recovery file using MTK Droid Tools, yes, but you must install a custom recovery that can fit into the recovery partition. You can find the recovery partition size on the scatter file. If you want a bigger custom recovery, you must edit EBR{1,2} and MBR files.
efec said:
You can backup the recovery file using MTK Droid Tools, yes, but you must install a custom recovery that can fit into the recovery partition. You can find the recovery partition size on the scatter file. If you want a bigger custom recovery, you must edit EBR{1,2} and MBR files.
Click to expand...
Click to collapse
MTK Droid Tools does not work properly with this tablet, it gives me this error
--- ERROR : --- TotalBytesPerChunk Not Found. Set default Page/Spare=2048/64 !!!
Click to expand...
Click to collapse
so, will spflash tool by itself suffice?

[REQUEST] Build system.img

Hello,
I have an ASUS K01A tablet with a blank system partition and unusable recovery. I can flash img files to their respective partitions just fine (boot.img, droidboot.img) in fastboot, but 'system' in the stock firmware zip is a directory instead of a flashable image. Of course, this (and other reasons) means I can't just flash the stock firmware in fastboot, nor flash over the entire 'system' directory.
I need a system.img to recover my tablet from softbrick, but I can't for the life of me compile one. I've exhausted every method and tool I could find in both Windows and Ubuntu.
I beseech the community; if there is anyone reading this who could build such a file for me, I would be eternally grateful. I believe I only need the system.img to recover the tablet.
The stock firmware is at the ASUS website. Here is the download link: UL-K01A-WW-12.8.1.41-user.zip.
Thanks in advance!
Why not extract the system folder of the ZIP linked to, then pack it into a ZIP what you then convert to IMG using an online-convertor that does the job?
jwoegerbauer said:
Why not extract the system folder of the ZIP linked to, then pack it into a ZIP what you then convert to IMG using an online-convertor that does the job?
Click to expand...
Click to collapse
"Why not" indeed; that sounds like it would more than suffice. Can you please recommend one?
Anyone? I have been unable to find this "online-converter" despite days of searching; still at square one.
Only as example ( found via Google search !!! )
Archive Converter - Convert your a7z, rar, zip, gzip, bzip2, tar archives to another format online
Free Archive Converter. Convert your archive files to a7z, rar, zip, gzip, bzip2, tar format online for free using OnlineConvertFree.
onlineconvertfree.com
jwoegerbauer said:
Only as example ( found via Google search !!! )
Archive Converter - Convert your a7z, rar, zip, gzip, bzip2, tar archives to another format online
Free Archive Converter. Convert your archive files to a7z, rar, zip, gzip, bzip2, tar format online for free using OnlineConvertFree.
onlineconvertfree.com
Click to expand...
Click to collapse
Thank you, but I've tried this one and all the others on Google, and none will handle the filesize (~650 MB). It must be purpose-made for Android .img files it seems, which I've been unable to find.
Kehkou said:
Hello,
I have an ASUS K01A tablet with a blank system partition and unusable recovery. I can flash img files to their respective partitions just fine (boot.img, droidboot.img) in fastboot, but 'system' in the stock firmware zip is a directory instead of a flashable image. Of course, this (and other reasons) means I can't just flash the stock firmware in fastboot, nor flash over the entire 'system' directory.
I need a system.img to recover my tablet from softbrick, but I can't for the life of me compile one. I've exhausted every method and tool I could find in both Windows and Ubuntu.
I beseech the community; if there is anyone reading this who could build such a file for me, I would be eternally grateful. I believe I only need the system.img to recover the tablet.
The stock firmware is at the ASUS website. Here is the download link: UL-K01A-WW-12.8.1.41-user.zip.
Thanks in advance!
Click to expand...
Click to collapse
maybe that video helps you...
good luck
solong
speedson
I built it finally using IMGBurn to create the raw img and Sparse Converter to convert it to sparse img fragments.
But now the tab has formatting error, and with -u option, flashing errors (all partitions and imgs now). Ah, well.
Thank you to everyone! Hopefully someone else reading this will have better luck than me.
Kehkou said:
I built it finally using IMGBurn to create the raw img and Sparse Converter to convert it to sparse img fragments.
But now the tab has formatting error, and with -u option, flashing errors (all partitions and imgs now). Ah, well.
Thank you to everyone! Hopefully someone else reading this will have better luck than me.
Click to expand...
Click to collapse
Download the attached file from the link at the bottom of this post and unzip it somewhere on your PC. It is a temporary recovery launcher. We'll come back to it in a moment. Based on your original post I'm assuming you already have your stock firmware downloaded as well as ADB and Fastboot setup. From your stock firmware unpack the following files: fastboot.img, splashscreen.img, and boot.img and place them in your ADB/Fastboot folder. Copy the stock firmware to your sd card (in its original, unzipped form...the way it was when you first downloaded it). Put the tablet in fastboot mode. Run the following fastboot commands from a command prompt.
- fastboot flash fastboot fastboot.img
- fastboot flash boot boot.img
- fastboot flash splashscreen splashscreen.img
Reboot back to fastboot mode. Go to wherever you unzipped the temp recovery that you downloaded earlier. Double click on launcher.bat. Type accept in the window, then type T2 and your device should boot into CWM recovery. Now choose install zip>install from se card>and choose the stock firmware.zip that you previously copied to your sd card then let it do its thing. Once its finished go back to the first page of the CWM recovery that you're in and select reboot system now>no>no. You should be golden now. Post back if you have any issues.
Download Disposable Recovery

Categories

Resources