Jump to content

Create rom img files from bin files to complete rom repository (2.000.5 and 1.008img files added !) / Flash with img files


Recommended Posts

Posted (edited)

Create rom img files from bin files to complete rom repository

==============================================================

Roms 2.000.03_AAP_GEN2 and 1.008.00_EMEA_GEN1 are out but still no img files !

Here is a method to create those img files from bin files.

Bin files provides by acer can only be used by acer update tools and flash all partitions in your phone including radio.

Moreover your phone must be in order to boot in normal mode.

Img files are better. In fact, you choose wich partition you want to flash and keep the overs unchanged. No wipe of data is done. Even if you can't boot in normal mode ( corrupted system partition) you can flash.

It would be a good thing if those who flashed their phone with acer update tools could provide img files for later firmwares (Acer_Liquid_2.000.03_AAP_GEN2 or Acer_Liquid_1.008.00_EMEA_GEN1).

As a result we could complete the stock rom repository.

To do that there is 3 ways :

1a) Temp directory while flashing (not tested yet but no possible issue and would be really easy)

========================================================================

During flash procedure with runme.exe, look inside directory and find temp directory. Backup everything !

1b) Dump fom /dev

===================

You just flashed your phone with a bin file from acer, please follow these steps.

root your phone following this instructions : http://android.modaco.com/content/acer-liq...ing-the-liquid/

adb shell

# su

#cat /proc/mtd

should show the filesystem devices, something like this

#cat /proc/mtd

dev: size erasesize name

mtd0: 000a0000 00020000 "misc"

mtd1: 00500000 00020000 "recovery"

mtd2: 00500000 00020000 "boot"

mtd3: 08000000 00020000 "system"

mtd4: 0c0c0000 00020000 "userdata"

mtd5: 05b60000 00020000 "cache"

mtd6: 00040000 00020000 "dinfo"

mtd7: 00060000 00020000 "setupdata"

then dump the recovery.img with

#cat /dev/mtd/mtd1 > /sdcard/recovery.img

then dump the boot.img with

#cat /dev/mtd/mtd2 > /sdcard/boot.img

then dump the system.img with

#cat /dev/mtd/mtd3 > /sdcard/system.img

then dump the data.img with (don't share this file as it contains all your personnal data)

#cat /dev/mtd/mtd4 > /sdcard/data.img

img files will be in your SD card root.

1c) Using nandroid (easier)

============================

After flashing

Direclty launch Lickonn recovery :

- boot in bootloader mode and use fastboot -i 0x0502 boot recovery.img (where recovery.img is the recovery image from Lickonn and is in current directory)

Or Install launch Lickonn recovery :

- Install custom recovery 0.3 by Linckonn

fastboot -i 0x0502 flash recovery recovery.img (where recovery.img is the recovery image from Lickonn and is in current directory)

Launch a nandroid backup

img files will be in /nandroid/recovery/CBDMRSxxxxxx/ on SD card.

2) Publish resulting images

===========================

Then pull img files from your SD card to your computer and put them in a zip file and share it so that anyone could flash to your rom version directly using fastboot.

Don't forget to indicate precise ROM version you use and what languages are included.

Hope this will help to provide a comprehensive rom stock.

Any comments are welcome.

Edit : Thanks to glassman2010 and drigerott, roms 1.008 and 2.000.5 were added.

Edit 2 : a complete "how to install from img files" was added above

Edited by malez
Posted
Create rom img files from bin files to complete rom repository

==============================================================

Roms 2.000.03_AAP_GEN2 and 1.008.00_EMEA_GEN1 are out but still no img files !

Here is a method to create those img files from bin files.

Bin files provides by acer can only be used by acer update tools and flash all partitions in your phone including radio.

Moreover your phone must be in order to boot in normal mode.

Img files are better. In fact, you choose wich partition you want to flash and keep the overs unchanged. No wipe of data is done. Even if you can't boot in normal mode ( corrupted system partition) you can flash.

It would be a good thing if those who flashed their phone with acer update tools could provide img files for later firmwares (Acer_Liquid_2.000.03_AAP_GEN2 or Acer_Liquid_1.008.00_EMEA_GEN1).

As a result we could complete the stock rom repository.

To do that there is 3 ways :

1a) Temp directory while flashing (not tested yet but no possible issue and would be really easy)

========================================================================

During flash procedure with runme.exe, look inside directory and find temp directory. Backup everything !

1b) Dump fom /dev

===================

You just flashed your phone with a bin file from acer, please follow these steps.

root your phone following this instructions : http://android.modaco.com/content/acer-liq...ing-the-liquid/

adb shell

# su

#cat /proc/mtd

should show the filesystem devices, something like this

#cat /proc/mtd

dev: size erasesize name

mtd0: 000a0000 00020000 "misc"

mtd1: 00500000 00020000 "recovery"

mtd2: 00500000 00020000 "boot"

mtd3: 08000000 00020000 "system"

mtd4: 0c0c0000 00020000 "userdata"

mtd5: 05b60000 00020000 "cache"

mtd6: 00040000 00020000 "dinfo"

mtd7: 00060000 00020000 "setupdata"

then dump the recovery.img with

#cat /dev/mtd/mtd1 > /sdcard/recovery.img

then dump the boot.img with

#cat /dev/mtd/mtd2 > /sdcard/boot.img

then dump the system.img with

#cat /dev/mtd/mtd3 > /sdcard/system.img

then dump the data.img with (don't share this file as it contains all your personnal data)

#cat /dev/mtd/mtd4 > /sdcard/data.img

img files will be in your SD card root.

1c) Using nandroid (easier)

============================

After flashing

Direclty launch Lickonn recovery :

- boot in bootloader mode and use fastboot -i 0x0502 boot recovery.img (where recovery.img is the recovery image from Lickonn and is in current directory)

Or Install launch Lickonn recovery :

- Install custom recovery 0.3 by Linckonn

fastboot -i 0x0502 flash recovery recovery.img (where recovery.img is the recovery image from Lickonn and is in current directory)

Launch a nandroid backup

img files will be in /nandroid/recovery/CBDMRSxxxxxx/ on SD card.

2) Publish resulting images

===========================

Then pull img files from your SD card to your computer and put them in a zip file and share it so that anyone could flash to your rom version directly using fastboot.

Don't forget to indicate precise ROM version you use and what languages are included.

Hope this will help to provide a comprehensive rom stock.

I still don't know how to dump the radio.img. If someones could help, I would edit this post with instructions. Any comments are welcome.

I think the radio files are given as amss.mbn no need to back up or dump

Guest glassman2010
Posted

I have the full 1.008 EMEA rom as separate files, I saved them while the temp folder was there (1st method).

Don't know where to host them however.

Posted (edited)
I have the full 1.008 EMEA rom as separate files, I saved them while the temp folder was there (1st method).

Don't know where to host them however.

Good news, congratulation for the first share.

You can try to upload your file via rapidshare http://www.rapidshare.com/. Max file size by upload is 200 Mo, so if you zip file is more than 200 Mo, you will have to create an archive using winrar intead, asking for multiple file with a max size of 150 Mo by file. Then you will be able to upload each resultant file one by one to rapishare. When the first file is uploaded, create a collector account (it's free) to share the file more than 10 times and activate the security lock do disable delete by over users. One done, continue with you upload. Don't forget to add rapidshare links to your file in this thread.

If need help, ask.

Thanks to you.

Edited by malez
Posted

Thank you very much both glasman2010 and digerott. I'll try to find time to test them and add exact information about them (build, languages).

Really good work ! Thank You

Posted

Here are some additionnal informations about uploaded img files :

build Acer_Liquid_1.008.00_EMEA_GEN1

Languages (Deutsch, English, Espanol, Francais, Italian, Nederlands, Portuges, Pyccknn)

Superboot v1.4 compatible

LCR0.3 compatible

build Acer_Liquid_2.000.05_AAP_GEN2

Languages (English, 2 asiatic (Chinese ??))

Guest RazorICE
Posted

Can anyone tell me how to flash the 1.008 file in this thread (the file at the russian site /garbage is now password protected)? I don't know which files I'm supposed to use (what's with all the .mbn files?)

Guest glassman2010
Posted

The easy way : use the Acer download tool, and modify the INI file to read UserMode=1 instead of 0.

You then only have to choose the folder where you uncompressed the files, and it will flash everything.

Guest RazorICE
Posted

Thanks for the help glassman, but when I try that I cannot select the .zip file provided (the 1.008 download above is in a zip file, I can't find the .bin version anywhere because the russian/garbage site is password protected now). So it won't let me flash it :/

Inside the 1.008 zip I can see these files:

amss.mbn

appsboot.mbn

boot.img

dbl.mbn

dsp1.mbn

fsbl.mbn

initlogo.rle

NPRG8650.hex

osbl.mbn

recovery.img

system.img

userdata.img

Now, I'm guessing that if I flash boot boot.img, and flash system system.img (and leave my lickonn recovery.img) then I will have 1.008, am I correct? But if so, what is the point of all the other files? Or, how do I change this .zip into a .bin file with the right format, do I just pack all those files into a .bin?

Guest glassman2010
Posted
Thanks for the help glassman, but when I try that I cannot select the .zip file provided

You HAVE TO uncompress the zip file somewhere.

Then :

- Open the INI folder that's inside the Acer Download tool folder

- Modify the Settings.ini file to have UserMode=1

- Then open the Acer Download tool, and use the "Browse" button to find the folder where you extracted the content of the zip file

- You should now be able to flash the whole stuff.

You cannot as of now rebuild a .BIN file from separate files

The mbn files are aditionnal files used to flash radio, dsp, ...

Posted (edited)
Thanks for the help glassman, but when I try that I cannot select the .zip file provided (the 1.008 download above is in a zip file, I can't find the .bin version anywhere because the russian/garbage site is password protected now). So it won't let me flash it :/

Inside the 1.008 zip I can see these files:

amss.mbn

appsboot.mbn

boot.img

dbl.mbn

dsp1.mbn

fsbl.mbn

initlogo.rle

NPRG8650.hex

osbl.mbn

recovery.img

system.img

userdata.img

Now, I'm guessing that if I flash boot boot.img, and flash system system.img (and leave my lickonn recovery.img) then I will have 1.008, am I correct? But if so, what is the point of all the other files? Or, how do I change this .zip into a .bin file with the right format, do I just pack all those files into a .bin?

Here is how your can flash to 1.008 WITHOUT losing any of you personnal data (don't use acer tools or it will wipe). That's the reason why I started this thread.

This works for updating any ststem with img files.

Uncompress the zip file and go to the uncomrpessed directory. You must have at least boot.img and system.img in that directory.

Reboot your phone in recovery mode and make a nandroid backup ( power + volume - + camera )

I stongly recommand to install Lickon recovery. If you have not installed lickon recovery (I think you have but I am trying to provide a generic howto), see this http://android.modaco.com/content/acer-liq...recovery-image/

Reboot your phone in bootloader mode (power + camera)

fastboot-linux -i 0x0502 flash boot boot.img

fastboot-linux -i 0x0502 flash system system.img

fastboot-linux -i 0x0502 reboot

Don't worry about the very long first boot. It's normal ! (about 5 minutes)

Here you have a 1.008 base system

The you root your phone with 1.4 superboot (no need to do that i you plain to install LCR 0.3, boot.img is already rooted in the update.zip)

Reboot your phone in bootloader mode (power + camera)

fastboot-linux -i 0x0502 flash boot liquid.superboot.img

fastboot-linux -i 0x0502 reboot

If you want to install Lickonn Custom ROM 0.3 :

place the LCR 0.3 update.zip on your SD card root

Reboot your phone in recovert mode ( power + volume - + camera )

If you have lickonn recovery, it will apply update by itself, otherwise, choose update sdcard:update.zip in standard recovery

reboot

Try to go to your contacts and add a contact. If things are ok, all good. Otherwise you can have a crash of the acore process. I can give you a procedure to avoid this (Contacts database structure has changed beetween 1.004 and 1.008. A is_sim fields was added but don't worry I have the solution)

If for any reason you want to go back to your original, rom, just restore your nandroid backup by booting in recovery mode.

Edited by malez
Posted (edited)

If for any reason you have a crash while using roms try the following :

boot you phone in normal mode

plug in your usb cable

adb logcat

Make you application crash.

Post the result of logcat here for help.

Edited by malez
Guest RazorICE
Posted

Thank you Malez, it worked perfectly (though I don't see anything different in 1.008, I'm sure it is! It is definitely 1.008 now though B)).

Also thank you to glassman for the help! :)

Guest RazorICE
Posted

Ah, yes, contacts do crash when trying to edit them. What's your method for fixing that, please? :)

Guest three_pineapples
Posted

I'm having trouble with acer download tool flashing 1.008. So assuming i haven't bricked my liquid i'll probably try this method next B)

My question is, does this flashing of the boot and system images update the radio version? What is in the other img files that we're not flashing? I'd rather have a clean flash that a partial one that might run into problems down the road...so yeah. just wondering? :)

Posted (edited)
Ah, yes, contacts do crash when trying to edit them. What's your method for fixing that, please? :)

How to fix contact crash

================

Make sure all your contacts are synchronized within your google account (you find all of then in your gmail contacts)

Disable synchronization on your phone

reboot your phone

# adb remount

# adb shell

sh-3.2# su

sh-3.2# id

uid=0(root) gid=0(root)

sh-3.2# cd /data/data/com.android.providers.contacts/databases

sh-3.2# ls

contacts.db contacts.db-mj20C05683 contacts.db-mj636F85F7

contacts.db-mj010A4428 contacts.db-mj24C6640E

sh-3.2# rm contacts.db*

sh-3.2# ls

sh-3.2# exit

# adb reboot

Enable synchronisation

All your contacts are back and no crash anymore !

Edited by malez
Posted
I'm having trouble with acer download tool flashing 1.008. So assuming i haven't bricked my liquid i'll probably try this method next B)

My question is, does this flashing of the boot and system images update the radio version? What is in the other img files that we're not flashing? I'd rather have a clean flash that a partial one that might run into problems down the road...so yeah. just wondering? :)

No this flashing method won't update your radio version. The only way to do that is to use acer download tool. (radio files are provided as mbn files). If you want to update your radio to the lastest one, then use acer downlaod tool to flash to 2.000.05. I you want to downgrade to 1.008 or less after that, just flash boot.img and system.img.

I you want to be sure to avoid any problem after flashing with img files, just use "wipe user data" in recovery mode after flashing but you will lose all your personnal stuff. Personnaly I don't want that. That's why I analyse specific issues to correct them (contact crash for exemple)

Other img files that we don't use in this method contain user data partition and recovery partition + radio firmware. We don't need to flash them to change our system version.

Guest three_pineapples
Posted
No this flashing method won't update your radio version. The only way to do that is to use acer download tool. (radio files are provided as mbn files). If you want to update your radio to the lastest one, then use acer downlaod tool to flash to 2.000.05. I you want to downgrade to 1.008 or less after that, just flash boot.img and system.img.

I you want to be sure to avoid any problem after flashing with img files, just use "wipe user data" in recovery mode after flashing but you will lose all your personnal stuff. Personnaly I don't want that. That's why I analyse specific issues to correct them (contact crash for exemple)

Other img files that we don't use in this method contain user data partition and recovery partition + radio firmware. We don't need to flash them to change our system version.

Sounds reasonable! Is there anyway to use the img files with radio firmware (as per your last sentence) to update the radio version? It's obviously there somewhere but i guess maybe we don't have a mechanism to tell it to update? Acer download tool just isn't working for me under windows 7 so i'm looking for alternatives before I start hunting for a windows XP machine!

Thanks for your reply!

Guest RazorICE
Posted
How to fix contact crash

================

Make sure all your contacts are synchronized within your google account (you find all of then in your gmail contacts)

Disable synchronization on your phone

reboot your phone

# adb remount

# adb shell

sh-3.2# su

sh-3.2# id

uid=0(root) gid=0(root)

sh-3.2# cd /data/data/com.android.providers.contacts/databases

sh-3.2# ls

contacts.db contacts.db-mj20C05683 contacts.db-mj636F85F7

contacts.db-mj010A4428 contacts.db-mj24C6640E

sh-3.2# rm contacts.db*

sh-3.2# ls

sh-3.2# exit

# adb reboot

Enable synchronisation

All your contacts are back and no crash anymore !

Worked perfectly, thank you!

Posted (edited)
Sounds reasonable! Is there anyway to use the img files with radio firmware (as per your last sentence) to update the radio version? It's obviously there somewhere but i guess maybe we don't have a mechanism to tell it to update? Acer download tool just isn't working for me under windows 7 so i'm looking for alternatives before I start hunting for a windows XP machine!

Thanks for your reply!

Unfortunatly the only solution to update your radio file is to use acer tools. So win XP higly recommanded.

When you have fully updated to 2.0005, for example, and have 2.005 radio on your phone, you can use the method I described not far from the beginning of this thread tu downgrade your system to 1.0008 and keep 2.005 radio in place.

Sorry for the late answer. I have a really busy life (android, wii, dev, work, personnal life, and so on) but don't hesitate to ask. I'll answer as soon as I can.

Edited by malez

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.