Allwinner A10/A13 device firmware backup script/tool - Android Software/Hacking General [Developers Only]

Hello All, this is my first post in Xda-forum, I love they way u all interact and help each other out here...well u see I hav a Allwinner A10 based tablet called Ice Xtreme which is very cheap in India do a google search on this tablet. well the company did not provide any software and I had corrupted mine while trying to use a custom recovery which was not from a allwinner a10 based tab. Anyways after alot of fuss I got it fixed but still they did not provide me with the livesuit image. I looked for ways to backing up my current working firmware from my tablet but found none. So after alot of searching I found this Script at a forum which can dump the recovery, the bootloader, boot partitions and system and data folder. But throughout my experience with this Livesuit firmware things I see that the drivers inside the vendor folder are also important as no two tablets have same chips (some thing will be different) so I modified the script and build it into a script that takes most of the directories (excluding mount,as it has only ur SD n extSD data) The dump thus created may help in modifying another image to suit ur needs.
I have only been able to backup directories and boot,recovery,bootloader partition thanks to the original script. I have no Idea how to send/restore these files to the device after flashing another rom to restore most of the things. Any help would be a boon. Thank u all for ur indirect help in bringing out the geek in me.

Try it!! & post feedbacks and suggestions...
This helps to backup the rom files with only adb. Just start the batch file & relax while ur ROM is being dumped.n it will also keep a copy on ur SDcard too.

Just use
#adb backup
for back up and
#adb restore
for restoring
# command...

But will it be possible to extract different files???!!
Hey, suppose I wanna flash a custom ROM which doesnt hav all of my boards drivers in it. So if I backup using adb can I thn restore driver files from the stock ROM backup to the new Custom ROM...

how to write backup ???
extension *.tgz??/
need expalain for restore backup..
thx..

Related

[Q] Easier way to make .img file

Hi I'm looking to test my new ROM on AVD and I know that you can do this with a data.img file. Well I was curious if there was a different way to create one other than nandroid. I don't want to brick my phone if my rom doesnt work just to create a nandroid backup. Is there any way to test the ROM before flashing it? Or create a data.img file from computer? Thanks for any help
FauxAffliction said:
Hi I'm looking to test my new ROM on AVD and I know that you can do this with a data.img file. Well I was curious if there was a different way to create one other than nandroid. I don't want to brick my phone if my rom doesnt work just to create a nandroid backup. Is there any way to test the ROM before flashing it? Or create a data.img file from computer? Thanks for any help
Click to expand...
Click to collapse
Trial and error is the name of the game... Worst case scenario go
HTML:
here
... What exactly are you nervous about testing? Im not familiar with using AVD so i cant help you there... Are there particular system apps your nervous about or are you worried it wont boot/boot loop?

[Q] [ROM stock] I'm searching for Alcatel OT-4033D ROM

Hi,
As the title suggests I'm looking for the original firmware of the Alcatel OT 4033D because, after I bricked mine, I can't find a working ROM for my phone (I've tried various ROM for MT6572 processor and Android 4.2.2 but I don't read the SD card and the SIM (Although setting the correct IMEI))
If someone is own this device could make me a dump? I just need the file "system.img", the others I already have.
PS: It's okay if it's not the file .Img but the zip of the partition with the files contained in /system
Thanks in advance to who answers C:
RESOLVED
Full ROM dump (MTKtools): https://www.mediafire.com/?1q2k2ppl1qvhvqr
recovery.img CWM5: https://www.mediafire.com/?bg4rtah9tsbhszs
nandorid backup without data partition: https://www.mediafire.com/?kbenlbzd5qvi73k
n1osbb2 said:
Hi,
As the title suggests I'm looking for the original firmware of the Alcatel OT 4033D because, after I bricked mine, I can't find a working ROM for my phone (I've tried various ROM for MT6572 processor and Android 4.2.2 but I don't read the SD card and the SIM (Although setting the correct IMEI))
If someone is own this device could make me a dump? I just need the file "system.img", the others I already have.
PS: It's okay if it's not the file .Img but the zip of the partition with the files contained in /system
Thanks in advance to who answers C:
Click to expand...
Click to collapse
i need it too.. i had also bricked mine.
mixterz92 said:
i need it too.. i had also bricked mine.
Click to expand...
Click to collapse
Tomorow maybe I have the ROM dump from a phone of my friend.. I'll try to flash it. If it works I'll upload the ROM and I'll link you the file
( sorry for my bad english >_> )
n1osbb2 said:
Tomorow maybe I have the ROM dump from a phone of my friend.. I'll try to flash it. If it works I'll upload the ROM and I'll link you the file
( sorry for my bad english >_> )
Click to expand...
Click to collapse
okay
I also need it please. thanks in advance
Sorry
chryophobia said:
I also need it please. thanks in advance
Click to expand...
Click to collapse
My Alcatel is in assistance for a ROM reset.. When I'll have it again maybe I'll do a ROM dump and upload it..
So wait about 20 days.. I hope ( ****ing assistance >_> )
15-01-2014 and is still in assistance keep waiting..
I have a backup of my ROM
I made a backup of my phone, it's a 4033A, if it's useful for you, I can upload it.
Ty
giovann134 said:
I made a backup of my phone, it's a 4033A, if it's useful for you, I can upload it.
Click to expand...
Click to collapse
It could be a good idea, mabybe the software is the same..
I'm trying to backup mine new 4033D but I always get a error! How u done a backup? via MTK droid tools?
Hope u can understand, my english is so bad~
I made it with CMW
n1osbb2 said:
It could be a good idea, mabybe the software is the same..
I'm trying to backup mine new 4033D but I always get a error! How u done a backup? via MTK droid tools?
Hope u can understand, my english is so bad~
Click to expand...
Click to collapse
I installed CWM using MTK droid tools, then I made my backup. System is the same, difference is your phone is from Europe and mine from Latin America.
giovann134 said:
I installed CWM using MTK droid tools, then I made my backup. System is the same, difference is your phone is from Europe and mine from Latin America.
Click to expand...
Click to collapse
Can u tell me how did u installed CWM? I can't find the compatible image..
Or, if u want, can u upload it? So I'll do a backup and I'll upload it! TY
Edit:
I've installed CWM 5 ad I did a nandroid backup.. It's 1.6GB ( uncompressed ).. So, I'll begin to upload it 31 night (GMT+1) splitted in parts in MEGA or MediaFire.
If someone can test it is better, but it should work!
I made a backup!
n1osbb2 said:
Can u tell me how did u installed CWM? I can't find the compatible image..
Or, if u want, can u upload it? So I'll do a backup and I'll upload it! TY
Edit:
I've installed CWM 5 ad I did a nandroid backup.. It's 1.6GB ( uncompressed ).. So, I'll begin to upload it 31 night (GMT+1) splitted in parts in MEGA or MediaFire.
If someone can test it is better, but it should work!
Click to expand...
Click to collapse
I uploaded it: https://www.mediafire.com/?kbenlbzd5qvi73k
It's only ~200MB 'cause I removed the data partition and I high compress it in a .arc archive. If someone test it let me know if it work pls
n1osbb2 said:
I uploaded it: ...
It's only ~200MB 'cause I removed the data partition and I high compress it in a .arc archive. If someone test it let me know if it work pls
Click to expand...
Click to collapse
Thank you for that n1osbb2;51494733.
I also have a bricked one, it gets stuck at animation. I can boot into stock recovery.
Can someone tell me what I need to do to fix it?
Another idea is if we could change the firmware version number to something lower, then the Alacatel "Mobile Upgrade S" would be essentially forced to overwrite it. Right now it sees my phone's version as up to date and stops there.
So... Is it at all possible to alter the firware version number on the phone?
edit
n1osbb2, could you please take a backup with MTK Droid Root & Tools as well?
You can find it here under Android Software and Hacking General [Developers Only]
kyrastas1 said:
Thank you for that n1osbb2;51494733.
I also have a bricked one, it gets stuck at animation. I can boot into stock recovery.
Can someone tell me what I need to do to fix it?
Another idea is if we could change the firmware version number to something lower, then the Alacatel "Mobile Upgrade S" would be essentially forced to overwrite it. Right now it sees my phone's version as up to date and stops there.
So... Is it at all possible to alter the firware version number on the phone?
edit
n1osbb2, could you please take a backup with MTK Droid Root & Tools as well?
You can find it here under Android Software and Hacking General [Developers Only]
Click to expand...
Click to collapse
Hi, the backup by MTK droid tools fails everytime, I'm trying to debug the error.. If I have sucess I'll upload it.
BTW you can try another methods:
-Flash the CWM using MTK droid tools ( if you want the modified recovery,img I can upload it, or if u want MTK generates the img automatically: there is a guide on google; and then you can flash my backup without user data trought the CWM
If u want CWM make adb works, so you can do a backup of your firmware in order to can come back in the prevoiuos situation if it's needed
OR
-Using the latest version of SP flash tools, u can flash the system.img that u can find in my CWM backup. The latest version have no bugs with the generation of the scatter file, so it could work, but I'm not sure
Sorry for my bad english, I hope you understand..
Let me know if one of this methods works, thank you!
n1osbb2 said:
Hi, the backup by MTK droid tools fails everytime, I'm trying to debug the error.. If I have sucess I'll upload it.
BTW you can try another methods:
-Flash the CWM using MTK droid tools ( if you want the modified recovery,img I can upload it, or if u want MTK generates the img automatically: there is a guide on google; and then you can flash my backup without user data trought the CWM
If u want CWM make adb works, so you can do a backup of your firmware in order to can come back in the prevoiuos situation if it's needed
OR
-Using the latest version of SP flash tools, u can flash the system.img that u can find in my CWM backup. The latest version have no bugs with the generation of the scatter file, so it could work, but I'm not sure
Sorry for my bad english, I hope you understand..
Let me know if one of this methods works, thank you!
Click to expand...
Click to collapse
Thanks for the reply.
Is the modified recovery.img not the one included in the zip you uploaded?
Re the second option, there is no system.img inside - that's the reason I asked for a MTK Droid Root & Tools backup.
The contents of your zip are these:
Code:
.android_secure.vfat.tar
boot.img
cache.ext4.tar
recovery.img
system.ext4.tar
kyrastas1 said:
Thanks for the reply.
Is the modified recovery.img not the one included in the zip you uploaded?
Re the second option, there is no system.img inside - that's the reason I asked for a MTK Droid Root & Tools backup.
The contents of your zip are these:
Code:
.android_secure.vfat.tar
boot.img
cache.ext4.tar
recovery.img
system.ext4.tar
Click to expand...
Click to collapse
I confused the system.ext4.tar with the system.ext4.img
So, I have done half MTK droid backup (it stops when it give me the error, so is not thecomplete backup, but the system.img os ok..) and there is the system image file.. I can upload it 5-04 night (GMT+1) or maybe this night. I'll post the link when it's uploaded.
The firmware of the 4033D have the custpack partiotion too, adn I don't know if it's needed too, so if the flash of system.img fails I'll upload the custpack too
The recovery with CWM is here: https://www.mediafire.com/?bg4rtah9tsbhszs
EDIT: I done a full backup with MTK adn I prepared files for flash tool. I compressed it all in ~460MB archive, t should contain everything. The upload time is the same!
EDIT2 4-3-14 0051 gmt+1: I'm uploading it on Mediafire! It's a high compressed arc archive, so it can drop the pc perfomance while extracting, so have patience
With my connection it wants a lot of time, it say ~8hrs
link rom: https://www.mediafire.com/?1q2k2ppl1qvhvqr
n1osbb2 said:
I confused the system.ext4.tar with the system.ext4.img
So, I have done half MTK droid backup (it stops when it give me the error, so is not thecomplete backup, but the system.img os ok..) and there is the system image file.. I can upload it 5-04 night (GMT+1) or maybe this night. I'll post the link when it's uploaded.
The firmware of the 4033D have the custpack partiotion too, adn I don't know if it's needed too, so if the flash of system.img fails I'll upload the custpack too
The recovery with CWM is here: ...
EDIT: I done a full backup with MTK adn I prepared files for flash tool. I compressed it all in ~460MB archive, t should contain everything. The upload time is the same!
EDIT2 4-3-14 0051 gmt+1: I'm uploading it on Mediafire! It's a high compressed arc archive, so it can drop the pc perfomance while extracting, so have patience
With my connection it wants a lot of time, it say ~8hrs
link rom: ...
Click to expand...
Click to collapse
You aced it! A million thanks!
kyrastas1 said:
You aced it! A million thanks!
Click to expand...
Click to collapse
Of nothing :laugh:
Let me know if it works or if u have troubles with it, TY :good:
Alcatel 4033d Bricked
kyrastas1 said:
Thanks for the reply.
Is the modified recovery.img not the one included in the zip you uploaded?
Re the second option, there is no system.img inside - that's the reason I asked for a MTK Droid Root & Tools backup.
The contents of your zip are these:
Code:
.android_secure.vfat.tar
boot.img
cache.ext4.tar
recovery.img
system.ext4.tar
Click to expand...
Click to collapse
Ive Brick My alcatel 4033d And I Need To Flash It ..Need Help On Doing So .. the phone is not turning on Just show charging light only ..Helllllllllllllp plz
---------- Post added at 01:51 PM ---------- Previous post was at 01:37 PM ----------
n1osbb2 said:
Can u tell me how did u installed CWM? I can't find the compatible image..
Or, if u want, can u upload it? So I'll do a backup and I'll upload it! TY
Edit:
I've installed CWM 5 ad I did a nandroid backup.. It's 1.6GB ( uncompressed ).. So, I'll begin to upload it 31 night (GMT+1) splitted in parts in MEGA or MediaFire.
If someone can test it is better, but it should work!
Click to expand...
Click to collapse
Ive Brick My alcatel 4033d And I Need To Flash It ..Need Help On Doing So .. the phone is not turning on Just show charging light only ..Helllllllllllllp plz
Alecupid said:
Ive Brick My alcatel 4033d And I Need To Flash It ..Need Help On Doing So .. the phone is not turning on Just show charging light only ..Helllllllllllllp plz
Click to expand...
Click to collapse
Full ROM dump (MTKtools): https://www.mediafire.com/?1q2k2ppl1qvhvqr
recovery.img CWM5: https://www.mediafire.com/?bg4rtah9tsbhszs
Nandorid backup without data partition: https://www.mediafire.com/?kbenlbzd5qvi73k
download the mtktools backup ( cause u bricked, so u don't have the CWM, right? ), u have to flash it trough SPflashTools ( http://forum.xda-developers.com/showthread.php?t=1982587 )
PS: use it on your own risks!
n1osbb2 said:
Full ROM dump (MTKtools): https://www.mediafire.com/?1q2k2ppl1qvhvqr
recovery.img CWM5: https://www.mediafire.com/?bg4rtah9tsbhszs
Nandorid backup without data partition: https://www.mediafire.com/?kbenlbzd5qvi73k
download the mtktools backup ( cause u bricked, so u don't have the CWM, right? ), u have to flash it trough SPflashTools ( http://forum.xda-developers.com/showthread.php?t=1982587 )
PS: use it on your own risks!
Click to expand...
Click to collapse
excuse me, im new here this is my first time on this device so totally empty, can you please make an idiots guide on how to get on with this, i have the same problem here stuck at boot screen. i really appreciate it.

What to do next after deodexing?

Hi all,
I've tried this tool package [Script/Tool][Windows]>>Auto-Deodexer 4.3<<[All Android Versions] and it worked fine but there's no specific instruction on how to flash/install it back to my phone. Can someone guide me on what to do next?
I'm done with the very last instruction but have no idea what to do with the generated "ROM" folder
"When done, copy the modified files (in the zipaligned__ folders) back to the original app and framework directories in the "ROM" directory"
I'm fairly new to doing this deodexing thing on my own, I usually just flash roms that are already deodexed but sadly this new phone doesn't have support yet from the experts.
Thank you in advance.
cshock2010 said:
Hi all,
I've tried this tool package [Script/Tool][Windows]>>Auto-Deodexer 4.3<<[All Android Versions] and it worked fine but there's no specific instruction on how to flash/install it back to my phone. Can someone guide me on what to do next?
I'm done with the very last instruction but have no idea what to do with the generated "ROM" folder
"When done, copy the modified files (in the zipaligned__ folders) back to the original app and framework directories in the "ROM" directory"
I'm fairly new to doing this deodexing thing on my own, I usually just flash roms that are already deodexed but sadly this new phone doesn't have support yet from the experts.
Thank you in advance.
Click to expand...
Click to collapse
Which phone are you using??
Its better don't go further if you hav no experience with this.. doing wrong or for first time will create some mistakes and will create problems...
Thums up if you are ready to take all responsibility and go further there are many guides around XDA to cook your ROM
Tel the clear information of your device... I.e. device name, android version..
SadEff said:
Which phone are you using??
Its better don't go further if you hav no experience with this.. doing wrong or for first time will create some mistakes and will create problems...
Thums up if you are ready to take all responsibility and go further there are many guides around XDA to cook your ROM
Tel the clear information of your device... I.e. device name, android version..
Click to expand...
Click to collapse
Cloudfone 400dx
Android 4.2.2
mt6572
Yes I would really like to learn how to cook my own rom from my rom dump and integrate the deodexed system there.
I've successfully loaded the deodexed framework and apps and removed .odex files via adb. Phone working fine after all that. :laugh:
Thanks!
cshock2010 said:
Cloudfone 400dx
Android 4.2.2
mt6572
Yes I would really like to learn how to cook my own rom from my rom dump and integrate the deodexed system there.
I've successfully loaded the deodexed framework and apps and removed .odex files via adb. Phone working fine after all that. :laugh:
Thanks!
Click to expand...
Click to collapse
May be this helps you

[Q] Lost IMEI (NO SIM) - MTK MT6589M (Intex Aqua i-5)

Hello! I need some genius to find solution for my problem , my phone (Intex Aqua i-5) doesn't recognize any SIM Card and my IMEI is empty. The problem occurred when I flashed wrong recovery, somehow I got it working again by removing battery for 15 minutes, and holding power key for a minute before that, then flashed proper CWM recovery again via MobileUncle Tool., but now phone doesn't charge when its turned off, and doesn't recognize SIM. Everything else works fine.
This is IMPORTANT: Cant recover IMEI via PC (my usb port is broken (charging part is working but cant connect to PC, pins for data transfer are damaged). So IT'S NOT AN OPTION. But can transfer files from PC to Phone - Wifi transfer.
Need to recover IMEI trough phone! (there is numerous methods I've tried, gonna list them below)
- Engineer mode, - CDS info, Radio info, AT COMMAND - AT+EGMR=1,7,"1234567890XXX15" (tried variations with empty space before AT or before + , not working, gives me an error "AT command failed at sent ".
- Tried to generate original IMEI on the computer, write it to MP0B_001 file, transfer to phone, set permissions for it, transfer it to data/nvram/md/NVRAM/NVD_IMEI and replace file at destination with custom one (tried variations: all this but at the and making IMEI backup with MobileUncle Tools and restoring it, also tried different MP0B_001 generators, different permissions, tried deleting original file in NVD_IMEI folder first, then copying new one, etc). --- NO SUCCESS.
- Tried MTK65xx apk software for changing IMEI , NO SUCCESS. - got error msg: "pttycmd1 device NOT found!"
- Installing terminal emulator , writing for SIM 1 line of code: echo ‘AT+EGMR=1,7, “IMEI_NUMBER” ‘ >/dev/pttycmd1 and for SIM 2 this line: echo ‘AT+EGMR=1,10, “IMEI_NUMBER” ‘ >/dev/pttycmd1 - nothing happens , even after reboot..
I'm not allowed to post links for methods above, cause this is my first thread .
My phone is rooted, there is custom ROM on it. (MIUI V5 FOR INTEX AQUA I-5 ). And CWM recovery for this ROM.
Have backup of my STOCK ROM, but couldn't restore it via CWM, It is corrupted or something, but have original folders in it , NVRAM folder for example. (tried coping and flashing MP0B_001 from that folder to phone, but nothing).
Any other ideas guys?
Unless you find what file you need to overwrite. There is not much help any one can offer as editing the IMEI is illegal in many places so that the only approved way is restoring a backup with is hard to do in your case without a pc connection as those files will need to be flashed.
zelendel said:
Unless you find what file you need to overwrite. There is not much help any one can offer as editing the IMEI is illegal in many places so that the only approved way is restoring a backup with is hard to do in your case without a pc connection as those files will need to be flashed.
Click to expand...
Click to collapse
Thank you for your quick reply. I'm just looking the way to restore or flash my origina IMEI , which is written under my battery, or from my probably damaged backup. Pretty sure restoring original IMEI is not illegal and I'm aware that those files need to be flashed, but maybe someone knows how to flash it without usb connection, with CWM, MobileUncle etc..
ImYourMan said:
Thank you for your quick reply. I'm just looking the way to restore or flash my origina IMEI , which is written under my battery, or from my probably damaged backup. Pretty sure restoring original IMEI is not illegal and I'm aware that those files need to be flashed, but maybe someone knows how to flash it without usb connection, with CWM, MobileUncle etc..
Click to expand...
Click to collapse
It depends on the country and the laws. If you already know it needs to be flashed then all you have to do is get the files from the backup (hope it's not coruppted) and then make a zip to flash in recovery. There is not alot of development done with that chip set here so I am out of ideas.
Figured out why my nandorid backup cant be restored, and gives an error "error while flashing boot image". When I made a backup there was no boot.img file in it. (as you cant see below in log file) So I added a file from only stock rom found on the net (that stock Is not made for cwm and cant be flashed via cwm, just via SP Flash Too so I cannot use it). but my logic was that I can borrow missing boot.img and put it in my backup folder). So obviously its not solution.
Log file: (nandroid backup)
Backing up /boot...\c
02:18:25 Backing up /recovery...\c
02:18:25 Backing up /modem...\c
02:18:26 Backing up /system...\c
02:19:59 Backing up /data...\c
02:21:28 Backing up /cache...\c
02:21:30 Backing up /.android_secure...\c
02:21:34 Replacing old backup with new backup...\c
02:21:36 Generating md5sum...\c
02:22:04 Verifying md5sum...\c
02:22:05 Online Nandroid Backup Completed in 3 minutes 43 seconds!
###########################
But after this there is no boot.img at all in backed up files as you can see.
Files Backed-up:
"----rwxr-x 1 11264 Dec 8 02:21 cache.ext4.tar
----rwxr-x 1 530526720 Dec 8 02:21 data.ext4.tar
----rwxr-x 1 1024 Dec 8 02:18 modem.img
----rwxr-x 1 191 Dec 8 02:22 nandroid.md5
----rwxr-x 1 553781248 Dec 8 02:19 system.ext4.tar"
Why I dont have file boot.img in my backup and how can i fix it? :/
Someone said that I make another backup via cwm and keep just boot.img in it, then copy my old files in that new created folder , but i doubt it will work cause Im on custom ROM now (MIUI) and i want to restore stock (Andorid 4.2.1).
I started another thread here http://forum.xda-developers.com/general/help/stock-rom-intex-aqua-5-t3007603 in hope someone will upload stock ROM for my phone that is flashable with cwm.

[newbie] How to for customizing a given Android firmware ?

Hello
I own a Chinese phone with a lot of unneeded applications.
Fortunately, the maker has given the .zip software to flash it.
I'm able to open and mount on my Ubuntu computer the .img files and I can see the .apk I would remove. So far so good.
But I bet it is not that easy....
I've tried searching but all I can find is for flashing back the ROM and not about making it.
I would also like to add an su binary at the correct place ...
So I would like to find some documentation for packing back the software and flash it to the device. An How TO would be great and/or some documentation about the process.
Many thanks in advance for your help !

Categories

Resources