Allwinner A10/A13 Adapting any livesuit image to make ur stock ROM - Android Q&A, Help & Troubleshooting

Hi all, some of us allwinner device users find us having a clone n no firmware to download in case a custom ROM fails. Here how to save urself. Download any clones stock rom. If ur on ics dwnload ICS. Nw install n setup adb n pull ur whole tablets internals out. By using commands like adb pull system system. It will make a dir called system n pull ur system partion in. Nw fr da bootloader n boot we use cat to read nand partitions nandc n nanda. Su -c "cat dev/block/nandc > sdcard/boot.img" n sameway read nandc to a file bootloader.img.

Now wit any rom un/packing utility (i use image repacker) unpack the clone image. Replace the boot n bootloader files inside the unpacked livesuit img n chnge extension to .fex (if ur packing program has iso folder change there as well) no repack n flash. If it works on whole its cool. Else use adb to push modules from ur system folder to the rom ur running. Also push the etc folder to system/etc n push the hw folder in lib/hw to system/lib/hw. Nw reboot. It will work.

Nw fr a permanent solution. Use sunxi tools in ubuntu or any linux to 1st make the system.fex of the clone ROM to a system.fex file using SIMG2IMG. Nw mount it by using sudo mount -o loop system.img <system> nw in ubuntu u should type sudo nautilus n open the gui file browser in su mode. It makes changing files a bit easy. Nw frm ur backed up system folder copy the contents of vendor/modules lib/hw n etc to the mounted dir. Aftr ur done use MAKE_EXTFS to make a sparse fex file. Use make_ext4fs -s -l 500M -a system system newsystem.fex . It will make u newsystem.fex. Copy it back to ur unpacked rom. Replace it. Pack. Flash. U got ur stock rom running. (not actually,as u havent changed apps,do it if u want).

If u want u can make the ext4fs directly frm ur backed up system folder. Now copy the new fex file back.repack.flash. It will bring u ur true stock rom back. N on some livesuit images it corrupts the diskfs so da internal sd doesnt mount. (in eken T01A's ROM) the do the following. Open adb shell cd to dev/block the last nand partition is ur sdcard. Format it by using busybox mkfs.vat dev/block/nand(the last letter u saw in dev/block i.e. nandj). Then type vold. Ull get it mounted. Now u can hav peace of mind while flashing custom ROMs. Enjoy.

U will need things- tablet running stock ROM. U can get it frm a frnd also . Sunxi tools from github by amery. A linux box. A windows pc fr un/repacking the image. N common sense. I didnt goto very details abt da commands. U will need it there. N one thing to note u dnt even need a linux box if u hav a working tablet. In the system/bin folder u hav ur simg2img n make_ext4fs binaries. So u can do that part on a tablet. I leave this part fr u to figure out own ur own. N while ur at it,change ur stock bootanimation wit sumthing cool if u want. Copy it in system/media. If a file is already there then back it up.set permission to rw-r-r. Enjoy. Hope ull hit the thanks button.

where i can find stock rom??
i messed it up.
flash custom rom nuclear_pfdq88c-eng 4.0.4 IMM76D 20120821 test-keys and wifi not working.
AND THE TABLET IS NOT MINE!!! LOL!!!

Custom ROM for Ampe 96
I have an original ROM for my tablet (download here w_w.szampe.com/en/support_down.asp?id=1205
Can you help me creating a custom ROM with CMW recovery and some current android OS?

Related

how to Soft Unbrick (black screen after samsung logo) and no application memory..

Well before i begin ..
This procedure involves flashing and erasing partitions manually on your internal memory card.. if you dont know wat youre doing .. lemme remind you .. you may brick your device..(well i still dont know if its possible to brick this device.. but stil ...)
you hv been WARNED!!
Here's wat happend to my phone..
I was on stock 2.1 and wanted to flash a custom rom for which I tried to backup my current rom..which didnt work well.. I got thrown in the clockmod recovery mode..were I tried to back up n gave me error..And I accidently reformatted the sdcard thinking its the external sd.. but this thing actuallly soft bricked my phone..
I had to flash a stock Rom with Odin .. but then now it never passed the samsung boot logo.. n went to the black screen of death .. with soft buttons working .. (aka Soft brick)
The only rom that works after this is "Eugenes froyo that doesnt brick"
After I flashed that rom .. the phone finally comes up agian .. but this time without any Application memory.. it shows 0.00 in Application memory..and I cannot install any apps now nor download any from market ...
On top of which I couldnt flash any other rom even from clockworkmod recovery as it gives me this error>>
"Can't mount /dev/block/mmcblk0p2 (File exists)"
"Can't mount DATA"
"Installtion aborted"
Well here are the steps of how to fix this and repartition your sd card manually bcoz after loads of research I found out that my internal partitions are messed up .. that the system partitons are alright but the /DATA and /SWAP arent ..
Heres wat youll need:
1:working android sdk and samsung drivers installed
2:"Eugenes froyo that doesnt brick(with 2E recovery)"rom
3arted (attached)
4:clockworkmod recovery.zip(attached update.zip)
step1:
Flash the froyo rom from eugene using odin .. ofcourse coz thats the only one that works ..
Step2:
Turn on usb debugging and connect your phone to the pc..
go to command promopt and type this:
>adb devices
you wil see sum serial no in the connected devices .. which means your adb and drivers are working fi9..
if you get any other error or no devices found your sdk isnt configured properly or its drivers issue ..
step3:
Download and extract the Parted to a folder(you'll hv six files)
you wil hv to push all six files to your device in the /sbin folder of your device...
use the push command
>adb push [path]filename /sbin
If it works..gr8 (it didnt work for me ... bcoz it kept on givin me "permission denied" errors..)
If thats the case ..push them to /system that by default in eugenes rom is mounted as RW
>adb push [path]filename /system
do this for all 6 files...
now get into the adb shell
>adb shell
it wil display '$' prompt
type "su"
at this point tap accept button displayed on your phone ..
after which it wil display # prompt
now you're in shell as root..
Step 4:
okay now copy all the six files you pushed into the /system directory to the /sbin directory and set permissons like this:
#cp /system/[xyz] /sbin
#chmod 0755 /sbin/[xyz]
(replace the [xyz] with the filenames..do this for all 6 files..)
now get into the /sbin directory
#cd /sbin
#ls
This should display all the files in your /sbin
The parted files you copied should be here...
Now lets start partitioning..
#parted /dev/block/mmcblk0 and hit enter.
here it should get you into the parted prompt..(parted)
enter "print"
>(parted) print
this should display your card status and partitions..
Mine displayed:
total 16.0 GB
and had 3 partions
15.5 GB fat32 (which is /SYSTEM)
512 MB ext3 (which is /DATA)
32.2 MB linux swap(v1) (which is /Swap)
which ofcourse wasnt right do the math your self .. on a 16 GB card you cannot hv memory space more den 14.5 GB LOL
wel so youll need to remove the rest of the 2 partitons.. use these commands:
(parted) rm 2 (the second partition)
(parted) rm 3 (the third partition)
you wont be able remove /SYSTEM as its currently mounted and parted wil throw you errors..
now youre almost done .. DO NOT repartition..
now exit from parted and shell
(parted)quit
#exit
$exit
you should be back to command prompt..
Use clockworkmod .zip and install using 2E recovery.. and boot into Clockworkmod recovery mode..
der in partions menu format /system
(yes this wil format your phone n without flashing wil not boot up again...)
step 5:
Reboot device in downloading mode
after odin recognises device flash it again with Eugene's froyo rom (you can flash it with stock rom also but i suggest eugenes rom)
make sure the "reformat partitons" is checked.. and hit Start..!!
After it flashes you phone wil boot up and BAM!!.. you hv a fully working froyo with application memory back .. you should hv around 1.73gb of application memory after that...smiles... congrats ... now you can go ahead and download any apps n install them ..
And also flash from clockworkmod recovery with the custom rom of your choice ... ...
i hope this was helpful for ppl.. coz i really needed this wen all tht happened to me .. i had to read data all over the internet,get commands from manuals of adb and parted, and majorly spend a lot of time coz couldnt find straight answers .. for the same device..
dont forget to hit the thanx button>>
I've followed all steps successfully up until this one... Could you be a little more specific? I used adb to push the supplied update.zip to the system/bin dir, then rebooted into 2e recovery, then reinstalled packages, but when I go to reboot from there I cannot get into CWMrecovery. Please clear this up for me as this is my only hope to fix my phone!! thanx!! nick
azizreallycool said:
Use clockworkmod .zip and install using 2E recovery.. and boot into Clockworkmod recovery mode..
der in partions menu format /system
(yes this wil format your phone n without flashing wil not boot up again...)
Click to expand...
Click to collapse
how can i find Eugenes froyo that doesnt brick(with 2E recovery) rom?
I found EUGENE373_SamsungS_Froyo_PDA.tar, but it dosen't seem right.
when i'm in adb and trying to push 6files it gives me permission denied even with /system. i have to say that recovery is in 3e.
For I9192
azizreallycool said:
Well before i begin ..
This procedure involves flashing and erasing partitions manually on your internal memory card.. if you dont know wat youre doing .. lemme remind you .. you may brick your device..(well i still dont know if its possible to brick this device.. but stil ...)
you hv been WARNED!!
Here's wat happend to my phone..
I was on stock 2.1 and wanted to flash a custom rom for which I tried to backup my current rom..which didnt work well.. I got thrown in the clockmod recovery mode..were I tried to back up n gave me error..And I accidently reformatted the sdcard thinking its the external sd.. but this thing actuallly soft bricked my phone..
I had to flash a stock Rom with Odin .. but then now it never passed the samsung boot logo.. n went to the black screen of death .. with soft buttons working .. (aka Soft brick)
The only rom that works after this is "Eugenes froyo that doesnt brick"
After I flashed that rom .. the phone finally comes up agian .. but this time without any Application memory.. it shows 0.00 in Application memory..and I cannot install any apps now nor download any from market ...
On top of which I couldnt flash any other rom even from clockworkmod recovery as it gives me this error>>
"Can't mount /dev/block/mmcblk0p2 (File exists)"
"Can't mount DATA"
"Installtion aborted"
Well here are the steps of how to fix this and repartition your sd card manually bcoz after loads of research I found out that my internal partitions are messed up .. that the system partitons are alright but the /DATA and /SWAP arent ..
Heres wat youll need:
1:working android sdk and samsung drivers installed
2:"Eugenes froyo that doesnt brick(with 2E recovery)"rom
3arted (attached)
4:clockworkmod recovery.zip(attached update.zip)
step1:
Flash the froyo rom from eugene using odin .. ofcourse coz thats the only one that works ..
Step2:
Turn on usb debugging and connect your phone to the pc..
go to command promopt and type this:
>adb devices
you wil see sum serial no in the connected devices .. which means your adb and drivers are working fi9..
if you get any other error or no devices found your sdk isnt configured properly or its drivers issue ..
step3:
Download and extract the Parted to a folder(you'll hv six files)
you wil hv to push all six files to your device in the /sbin folder of your device...
use the push command
>adb push [path]filename /sbin
If it works..gr8 (it didnt work for me ... bcoz it kept on givin me "permission denied" errors..)
If thats the case ..push them to /system that by default in eugenes rom is mounted as RW
>adb push [path]filename /system
do this for all 6 files...
now get into the adb shell
>adb shell
it wil display '$' prompt
type "su"
at this point tap accept button displayed on your phone ..
after which it wil display # prompt
now you're in shell as root..
Step 4:
okay now copy all the six files you pushed into the /system directory to the /sbin directory and set permissons like this:
#cp /system/[xyz] /sbin
#chmod 0755 /sbin/[xyz]
(replace the [xyz] with the filenames..do this for all 6 files..)
now get into the /sbin directory
#cd /sbin
#ls
This should display all the files in your /sbin
The parted files you copied should be here...
Now lets start partitioning..
#parted /dev/block/mmcblk0 and hit enter.
here it should get you into the parted prompt..(parted)
enter "print"
>(parted) print
this should display your card status and partitions..
Mine displayed:
total 16.0 GB
and had 3 partions
15.5 GB fat32 (which is /SYSTEM)
512 MB ext3 (which is /DATA)
32.2 MB linux swap(v1) (which is /Swap)
which ofcourse wasnt right do the math your self .. on a 16 GB card you cannot hv memory space more den 14.5 GB LOL
wel so youll need to remove the rest of the 2 partitons.. use these commands:
(parted) rm 2 (the second partition)
(parted) rm 3 (the third partition)
you wont be able remove /SYSTEM as its currently mounted and parted wil throw you errors..
now youre almost done .. DO NOT repartition..
now exit from parted and shell
(parted)quit
#exit
$exit
you should be back to command prompt..
Use clockworkmod .zip and install using 2E recovery.. and boot into Clockworkmod recovery mode..
der in partions menu format /system
(yes this wil format your phone n without flashing wil not boot up again...)
step 5:
Reboot device in downloading mode
after odin recognises device flash it again with Eugene's froyo rom (you can flash it with stock rom also but i suggest eugenes rom)
make sure the "reformat partitons" is checked.. and hit Start..!!
After it flashes you phone wil boot up and BAM!!.. you hv a fully working froyo with application memory back .. you should hv around 1.73gb of application memory after that...smiles... congrats ... now you can go ahead and download any apps n install them ..
And also flash from clockworkmod recovery with the custom rom of your choice ... ...
i hope this was helpful for ppl.. coz i really needed this wen all tht happened to me .. i had to read data all over the internet,get commands from manuals of adb and parted, and majorly spend a lot of time coz couldnt find straight answers .. for the same device..
dont forget to hit the thanx button>>
Click to expand...
Click to collapse
I had similar experience with some difference, just sharing my thoughts which can be used by others if required. In my case it was selection of right ROM but wrong recovery tool which made me stuck at boot logo with no activity kind of situation.
(1) I connected my device with my PC ,switched on Odin, fortunately it was able to detect my device .
(2) I went through all the desired process which are required at the time of installing a custom recovery tool.
(3) Flashed through the correct recovery tool, rebooted the device in recovery flashed with correct ROM..reboot..and all back to normal for me.
Hope it will be helpful for someone in case of soft brick situation, tutorial related to flashing with ODIN can be found easily on web.
Hey thanks for your work .but when i flash eugene after the samsung s logo it gives me black screen with touch buttons light up and when i flash stock the phone shuts down after vibrant logo
Please help me

Stock theme in Void ?

Hi there.
Anybody knows how can i install the default froyo theme in my void rom O1. ?
Please, i really wanted it.
hey i m not so sure abt this...But u can give this a shot...DO TAKE A NANDROID BACKUP first
...Open Megatron rom's zip archive...extract /system/framework folder to any folder u like and copy it to your phone's sdcard
...reboot phone into recovery (assuming u r on AMON ra recovery)
...connect your phone to pc while in recovery
...mount system and sdcard using mounts option in recovery menu
...if u know how to use adb ..then using adb shell command ,log into your phone
.. once u have # prompt execute this command // rm -Rf /system/framework/*
...then try this command cp /sdcard/framework/* /system/framework/
once done try reboot
REMEMBER if this doesnt work..U CAN ALWAYS BOOT INTO recovery and restore nandroid backup...

[Q] Flash rom using nandroid-mobile.sh/adb

Can we flash rom using PC ?? Its not that big a deal but sounds cool to me.. i cudnt find any such option in nandroid-mobile.sh.. I mean after i reboot into recovery i dont want to press any buttons on my phone..Juts hook up the phone to pc and flash the new rom using say adb
It should be possible. When flashing zips, the recovery checks the update-script file found in the META-INF folder. Mimicking the steps there and inputting the correct adb commands and copying the files on the appropriate folders and partitions on your phone should yield the same results.
But as you may have guessed, this isn't practical.
so u mean to say that i unzip the contents of the zip archive and just execute the script from terminal ???That shud be it??? I know its impractical but wat the hell i love doing things from my debian terminal
Update: that script is just a set of messages to be shown during actual update process..it isnt the script ..
instead the script apparently "update-binary" is a binary executable and not a shell script..DO you think that unzip and calling this binary might work??
I'm not entirely sure. I think adb has it's limitations. Check other's replies xD

Use Custom Rom as .img

Hello people.
Good morning everyone.
I`m testing AVD Manager and the Note skin with the default .img of system.
I`m looking for info, because i cant load my custom rom.zip
I`m looking at google and xda but cant find this answer.
Apologize about my english.
--
finally found it
i have to convert my .zip to .img
with what program?
pacogp said:
i have to convert my .zip to .img
Click to expand...
Click to collapse
how did you convert .zip to .img ???
As far as I know it's so easy by the DD commands .
enter recovery and connect phone to your PC (of course you need the drivers and enabled usb debugging) .
go to the folder where you have ''adb.exe'' ,, press and hold ''shift'' key ,, right click ,, then choose ''open command window here'' .
write :-
Code:
adb shell
su
dd if=/dev/block/mmc.... of=/sdcard/system.img
{''if'' means ''input file'' ,, ''of'' means ''output file''}
where mmc.... is your system partition ,, it is diffrent from phone to phone .
and you will find it in your sd card (make sure you have enough space)
Good Luck

Allwinner Livesuit Hacking Tools [ROM maker/editor]

Hi all, I have made been using these tools to modify and customize livesuit images to suit my needs, now I have packed all of them for u to get ur workstations to get ur hands dirty with some ROM editing/making. before u jump right in I must say though allwinner devices are not brickable, but still u may get ur warrenty void,get ur data wiped or miss a trip with ur mama or gf, and for all those reasons Ill not be held liable.
Now, my toolset includes the following - A ROM backup utility that backs up ur BOOT,BOOTLOADER,SYSTEM n RECOVERY, this will be ur starting point if u dont have any stock image.
A blank livesuit image with fake bootloader,boot,system n recovery fex files. which u will have to fill in with ur own stock roms, after u take backup. (if u dont have a stock ROM already.)
Linux tools to help u edit script.bin files and image tools to split boot images, pack or unpack system.fex etc.
The image packing/unpacking program.
#### GUIDE ####
Now we have our tools, get started....
To make stock image :
1. Get ur fimware dumped using the backup tool.
2. On a linux pc use the tools in the tools.tar.gz archive to make the dumped system file into a system.fex file by doing the follwing :
Make a directory called system.
Unpack the whole system.tgz file which u got from the dump tool inside it.
run a shell, inside the shell run the make_ext4fs binary and give these arguments [make_ext4fs -s -l 500M -a system {location of the system directory} <filename.fex>] u will get a system.fex file as output.
3. Now copy the boot.img bootloader.img recovery.img (rename the .img extension to .fex) and the system.fex u made inside the blank livesuit image and replace the nessecary files. And also replace files in the _iso folders. here ull hav to add .iso at the for filename. its pretty simple, just see how the blank files are kept.
4. Now u can pack the whole directory using the image_repacker program. Fire up runner.bat and put the directory make_stock.img.dump in it. It will generate a stock image of ur tablet. back it up as it will save u from many blunders in future.
Now if u want to modify any other livesuit image what will u do:
Just unpack the tool using the image_repacker program. run the runner.bat file, put the .img file on it(drag n drop) and use the /skip parameter in the options and let it do its work. u will get lots of files. now in a linux machine u can use the simg2img binary to make the system.fex file to a mountable image by using [simg2img <system.fex system.img>]
now mount it...make a directory called system, type these commands in the shell , [sudo mount -o loop system.img system ] this will mount the system.img inside the folder. now to make life simpler type [sudo nautilus] (on ubuntu) n start the file manager with super user access. n navigate to the system folder. now u can change files,delete unwanted stuff etc. after ur done with it pack the system directory using the make_ext4fs binary,type [ make_ext4fs -s -l 500M -a system {location of the system directory} <filename.fex> ] u will get ur system.fex file which u can pack in a livesuit image and flash.
Allwinner tools2.rar
http://www.4shared.com/rar/S3cbf46k/Allwinner_tools2.html
Editing bootloader scripts
Well, we have the freedom to try images of diffrent vendors to see what works and what doesnt, but some times the display resolution makes a problem, and theres alot of associated problems too. heres how u can edit the bootloader scripts.
I personally would say u download magicISO, and open the bootloader.fex with it, n copy the script.bin n script0.bin from ur backed up stock bootloader n then flash.
but otherwise u can do this via adb too.
run adb shell
type mkdir sdcard/bootloader
type mount -t vfat dev/block/nanda mnt/sdcard/bootloader
then goto sdcard/bootloader to see if it has actually mounted or not.
then with adb push script0.bin n script.bin to mnt/sdcard/bootloader.
then in adb shell type umount bootloader n then reboot.
If u want to mannually edit the bin files use the tools inside sunxi-tools-static.tar.bz2. the bin2fex will decode the bin n make a readable fex file which u can edit, and then use the fex2bin to make it back to bin. commands are [ bin2fex script.bin script.fex] and same goes for [ fex2bin script.fex script.bin]
SDcard Problems...
U must backup ur sdcard data... and after u flash a custom image if u dont see ur internal sd mounting the use following commands...
[ busybox mkfs.vfat dev/block/nand(x) ] here the x refers to the last nand partition that u can check by typing [cd dev/block] and then type [ls]
then type [vold] and u will see ur internal sd.
p.s I had uploaded the toolset but i dont seem to understand the upload system of xda, each time i close the window of attachments,my file is gone. so Im uploading it in 4shared. wait...ill link it.
I have no credits except that I collected and archived these tools. All these tools are made by their original programmers who have given us enough freedom to ruin our devices. So the credit goes to them.
Happy Hacking!!!!
cybermate123 said:
run a shell, inside the shell run the make_ext4fs binary and give these arguments [make_ext4fs -s -l 500M -a system {location of the system directory} <filename.fex>]
Click to expand...
Click to collapse
Shouldn't it be [make_ext4fs -s -l 500M -a system <filename.fex> {location of the system directory}]?
alright, following all instructions, I got a img made for my current setup, I flashed with LiveSuit to test if the img worked to get back to original...now im stuck at the android loading screen...any ideas?
EDIT: I'll just post details on my thread... http://forum.xda-developers.com/showthread.php?p=42373627
OMG!!! Why??? Im running my stock,its working...
EarthBoundX5 said:
alright, following all instructions, I got a img made for my current setup, I flashed with LiveSuit to test if the img worked to get back to original...now im stuck at the android loading screen...any ideas?
Click to expand...
Click to collapse
hey,did u unpack the system.tgz in linux or in windows? Aftr getting the rom backup copy the system.tgz file to linux. Unpack it there. Else ull broke symlinks as windows FAT n NTFS file system can contain symbolic links. U pls calm dwn n do the following, extract the system.tgz,make the system.fex n use the blank image i gave. Use ur own boot n bootloader. Replace files in ISO folder too n pack. N flash it.. It will work. I hav tested alot of roms. If u keep the whole system.tgz intact and dnt change anything ull get a working image. Im using mine. Still u try with a cool head n know each tool well 1st. Thn try again. If u hav a backup dnt wrry,u will b able to build ur image. Tell me if it works or not.ok.
Oops!!! Ya I made a typo on the make_ext4fs part.
EarthBoundX5 said:
Shouldn't it be [make_ext4fs -s -l 500M -a system <filename.fex> {location of the system directory}]?
Click to expand...
Click to collapse
Ya I made a typo on the make_ext4fs part. Yup file name should come first. Then directory containing system files. If all else fails u can upload ur backup (boot,bootloader,system) n ill hav a go at it.
cybermate123 said:
hey,did u unpack the system.tgz in linux or in windows? Aftr getting the rom backup copy the system.tgz file to linux. Unpack it there. Else ull broke symlinks as windows FAT n NTFS file system can contain symbolic links. U pls calm dwn n do the following, extract the system.tgz,make the system.fex n use the blank image i gave. Use ur own boot n bootloader. Replace files in ISO folder too n pack. N flash it.. It will work. I hav tested alot of roms. If u keep the whole system.tgz intact and dnt change anything ull get a working image. Im using mine. Still u try with a cool head n know each tool well 1st. Thn try again. If u hav a backup dnt wrry,u will b able to build ur image. Tell me if it works or not.ok.
Click to expand...
Click to collapse
99% sure I extracted in windows! Didn't even cross my mind about symlinks! I'll make a new img then, but just for archival purposes at this point...
EDIT: Again, I'm gonna continue a bit more, but at my thread, as I don't want yours to get garbaged up with my specific posts that are not 100% on topic to your thread...
EDIT 2: and nvm, I've been up late, and looking at my linux machine...I definitely extracted my system in linux, not windows...but again, doesn't really matter moving forward...
Thanks for providing very nice tool suite. I've just started to find decompile/compile tool for fex file. Fortunately soon your tool was found in XDA and I could start modding bootloader in order to solve hsync area problem on my device!!
Sent from my ATB701A using xda app-developers app
There must be something wrong going on, Ive tested my tools again...
EarthBoundX5 said:
99% sure I extracted in windows! Didn't even cross my mind about symlinks! I'll make a new img then, but just for archival purposes at this point...
EDIT: Again, I'm gonna continue a bit more, but at my thread, as I don't want yours to get garbaged up with my specific posts that are not 100% on topic to your thread...
EDIT 2: and nvm, I've been up late, and looking at my linux machine...I definitely extracted my system in linux, not windows...but again, doesn't really matter moving forward...
Click to expand...
Click to collapse
Im nt able to understand what might have gone wrong. As I hav unpacked ROMs of LY-F1,Eken T01,My stock ROM,an Sanei A90 ROM,Digma ID7 etc. I only got bootloop while making a livesuit image out of a Cyanogen mod build. But that was all about symlinks. I hav a doubt though I tested everything still I say u take a look at the blank livesuit image I provided, If its the problem( mines 7inch tab n that blank img is my base) u dwnload a img file which nearly matches urs n rip it apart,change n push ur things in n pack. Dnt wrry ur tabs nt bricked. And u can post here, it will nt trash my thread. Giv a logcat if u can. Ok.
cybermate123 said:
Im nt able to understand what might have gone wrong. As I hav unpacked ROMs of LY-F1,Eken T01,My stock ROM,an Sanei A90 ROM,Digma ID7 etc. I only got bootloop while making a livesuit image out of a Cyanogen mod build. But that was all about symlinks. I hav a doubt though I tested everything still I say u take a look at the blank livesuit image I provided, If its the problem( mines 7inch tab n that blank img is my base) u dwnload a img file which nearly matches urs n rip it apart,change n push ur things in n pack. Dnt wrry ur tabs nt bricked. And u can post here, it will nt trash my thread. Giv a logcat if u can. Ok.
Click to expand...
Click to collapse
I have already been flashing other images, and I am not concerned about bricking it anymore (now that I understand FEL and LiveSuit). I've already moved passed getting this working and am not working on getting CM10 working with compatibility packs...as I have no idea which to use for my tablet.
EDIT: I mean, should I just make my own compatibility pack? If so, I wouldn't know where to begin with what files out of my old system partition I'd need are...or even if they were jb compatible (coming from ics)
EDIT 2: Its a BRONCHO A710 according to the build.prop if that will help
EDIT 3: Which I've found is a clone of LY-F1, so I'll try messing with installing CM10 with that compatibility pack...although it appears many have had issues with it...which apparently I am having too, as its hanging on booting CM...
EDIT 4: I updated my thread with my absolute current situation and made 3 posts in other threads...
Also, to clarify, I'm not getting booting problems after I flash my created image, I'm getting Android loading problems...it passes the boot screen and enters the 2nd loading screen just fine, but it sits at the 2nd loading screen (3rd different screen visible during boot) forever.
Size of the system partition should never be set as fixed 500 mb, it should be taken from sys_partition.fex or sysconfig.fex (depends of AW chip) * blocksize. Setting wrong size can cause image corruption and partition will be always mounted as read only.
Yup. Sysconfig file should also be set properly.
EarthBoundX5 said:
I have already been flashing other images, and I am not concerned about bricking it anymore (now that I understand FEL and LiveSuit). I've already moved passed getting this working and am not working on getting CM10 working with compatibility packs...as I have no idea which to use for my tablet.
EDIT: I mean, should I just make my own compatibility pack? If so, I wouldn't know where to begin with what files out of my old system partition I'd need are...or even if they were jb compatible (coming from ics)
EDIT 2: Its a BRONCHO A710 according to the build.prop if that will help
EDIT 3: Which I've found is a clone of LY-F1, so I'll try messing with installing CM10 with that compatibility pack...although it appears many have had issues with it...which apparently I am having too, as its hanging on booting CM...
EDIT 4: I updated my thread with my absolute current situation and made 3 posts in other threads...
Also, to clarify, I'm not getting booting problems after I flash my created image, I'm getting Android loading problems...it passes the boot screen and enters the 2nd loading screen just fine, but it sits at the 2nd loading screen (3rd different screen visible during boot) forever.
Click to expand...
Click to collapse
yup sysconfig files should be set properly n u should see logcat. If ur file system is read only it will nt let u run anything n say sh permission denied. If thats the prob thn its error wit livsuit or system img making. As Ive seen sum roms use a bootloader script o make some symlinks n set permissions. I think ur bootloader is also doing same but as ur using the ROM frm ur tablet the flag fr da script is already present so its nt making the changes. Thus in someplace its stuck. A logcat would hav really given clr indications.
why its hard for me to this?
this is the files i get at first satge aka dumping :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It's an Allwiner A20 tablet and I just want to have a backup img nothing more.
is there an easier way to do this?
I can install lnux inside vbox and go for step two but
what about " putting .iso files in _iso folder? where are they? I don't have any .iso files in dump folder.
sr i hope u can help please
hi bro i have my dump rom but i need make a .img file to take my own stock rom cause my divice es too strange and i have no way to take my stock rom. my tab is now in some rom but dint work anythink just boot and thats it.
can use my dump to make me a img file to flash with live suit? i realy dont know linux i use windows.
cybermate123 said:
Hi all, I have made been using these tools to modify and customize livesuit images to suit my needs, now I have packed all of them for u to get ur workstations to get ur hands dirty with some ROM editing/making. before u jump right in I must say though allwinner devices are not brickable, but still u may get ur warrenty void,get ur data wiped or miss a trip with ur mama or gf, and for all those reasons Ill not be held liable.
Now, my toolset includes the following - A ROM backup utility that backs up ur BOOT,BOOTLOADER,SYSTEM n RECOVERY, this will be ur starting point if u dont have any stock image.
A blank livesuit image with fake bootloader,boot,system n recovery fex files. which u will have to fill in with ur own stock roms, after u take backup. (if u dont have a stock ROM already.)
Linux tools to help u edit script.bin files and image tools to split boot images, pack or unpack system.fex etc.
The image packing/unpacking program.
#### GUIDE ####
Now we have our tools, get started....
To make stock image :
1. Get ur fimware dumped using the backup tool.
2. On a linux pc use the tools in the tools.tar.gz archive to make the dumped system file into a system.fex file by doing the follwing :
Make a directory called system.
Unpack the whole system.tgz file which u got from the dump tool inside it.
run a shell, inside the shell run the make_ext4fs binary and give these arguments [make_ext4fs -s -l 500M -a system {location of the system directory} <filename.fex>] u will get a system.fex file as output.
3. Now copy the boot.img bootloader.img recovery.img (rename the .img extension to .fex) and the system.fex u made inside the blank livesuit image and replace the nessecary files. And also replace files in the _iso folders. here ull hav to add .iso at the for filename. its pretty simple, just see how the blank files are kept.
4. Now u can pack the whole directory using the image_repacker program. Fire up runner.bat and put the directory make_stock.img.dump in it. It will generate a stock image of ur tablet. back it up as it will save u from many blunders in future.
Now if u want to modify any other livesuit image what will u do:
Just unpack the tool using the image_repacker program. run the runner.bat file, put the .img file on it(drag n drop) and use the /skip parameter in the options and let it do its work. u will get lots of files. now in a linux machine u can use the simg2img binary to make the system.fex file to a mountable image by using [simg2img <system.fex system.img>]
now mount it...make a directory called system, type these commands in the shell , [sudo mount -o loop system.img system ] this will mount the system.img inside the folder. now to make life simpler type [sudo nautilus] (on ubuntu) n start the file manager with super user access. n navigate to the system folder. now u can change files,delete unwanted stuff etc. after ur done with it pack the system directory using the make_ext4fs binary,type [ make_ext4fs -s -l 500M -a system {location of the system directory} <filename.fex> ] u will get ur system.fex file which u can pack in a livesuit image and flash.
Allwinner tools2.rar
http://www.4shared.com/rar/S3cbf46k/Allwinner_tools2.html
Click to expand...
Click to collapse
ok but can i use it in win7 it very helpfull and i wnna it so
need livesuit image file for ice x treme tab
Hi Bro,
Please share me link of any working JB livesuit Roms for ice extreme tablet ,
my tablet specs here : http://www.icexelectronics.com/shop/ice-xtreme/
Bro , if u have the same tablet with u , plz plz help me by making a livesuit image of yours...
currently , my tablet hangs around the boot logo .... cant get in to recovery either...
Please do help me...
Thanks
Hari
cybermate123 said:
Hi all, I have made been using these tools to modify and customize livesuit images to suit my needs, now I have packed all of them for u to get ur workstations to get ur hands dirty with some ROM editing/making. before u jump right in I must say though allwinner devices are not brickable, but still u may get ur warrenty void,get ur data wiped or miss a trip with ur mama or gf, and for all those reasons Ill not be held liable.
Now, my toolset includes the following - A ROM backup utility that backs up ur BOOT,BOOTLOADER,SYSTEM n RECOVERY, this will be ur starting point if u dont have any stock image.
A blank livesuit image with fake bootloader,boot,system n recovery fex files. which u will have to fill in with ur own stock roms, after u take backup. (if u dont have a stock ROM already.)
Linux tools to help u edit script.bin files and image tools to split boot images, pack or unpack system.fex etc.
The image packing/unpacking program.
#### GUIDE ####
Now we have our tools, get started....
To make stock image :
1. Get ur fimware dumped using the backup tool.
2. On a linux pc use the tools in the tools.tar.gz archive to make the dumped system file into a system.fex file by doing the follwing :
Make a directory called system.
Unpack the whole system.tgz file which u got from the dump tool inside it.
run a shell, inside the shell run the make_ext4fs binary and give these arguments [make_ext4fs -s -l 500M -a system {location of the system directory} <filename.fex>] u will get a system.fex file as output.
3. Now copy the boot.img bootloader.img recovery.img (rename the .img extension to .fex) and the system.fex u made inside the blank livesuit image and replace the nessecary files. And also replace files in the _iso folders. here ull hav to add .iso at the for filename. its pretty simple, just see how the blank files are kept.
4. Now u can pack the whole directory using the image_repacker program. Fire up runner.bat and put the directory make_stock.img.dump in it. It will generate a stock image of ur tablet. back it up as it will save u from many blunders in future.
Now if u want to modify any other livesuit image what will u do:
Just unpack the tool using the image_repacker program. run the runner.bat file, put the .img file on it(drag n drop) and use the /skip parameter in the options and let it do its work. u will get lots of files. now in a linux machine u can use the simg2img binary to make the system.fex file to a mountable image by using [simg2img <system.fex system.img>]
now mount it...make a directory called system, type these commands in the shell , [sudo mount -o loop system.img system ] this will mount the system.img inside the folder. now to make life simpler type [sudo nautilus] (on ubuntu) n start the file manager with super user access. n navigate to the system folder. now u can change files,delete unwanted stuff etc. after ur done with it pack the system directory using the make_ext4fs binary,type [ make_ext4fs -s -l 500M -a system {location of the system directory} <filename.fex> ] u will get ur system.fex file which u can pack in a livesuit image and flash.
Allwinner tools2.rar
http://www.4shared.com/rar/S3cbf46k/Allwinner_tools2.html
Click to expand...
Click to collapse
Help wit custom ROM AMPE A96
I have an original ROM for my tablet (download here w-w-w.szampe.com/en/support_down.asp?id=1205 or here w-w-w.szampe.com/UploadFile/file/2011-08/0317.rar
Can you help me creating a custom ROM with CMW recovery and a current android OS?
a31 ?
Does this tool also work for allwinner a31?
Thanks in advance.

Categories

Resources