[Howto]Acer A210 (A211?) StockROM mit CWM flashen

Can you please do a check on the bootet tablet:

please list the result of the following statements (either from adb or from terminal inside the Tab) (su is not needed from adb):

Code:
su
ls -l /dev/block/platform/sdhci-tegra.3/by-name/

Code:
su
mount

regards Uwe

Der ursprüngliche Beitrag von 00:35 Uhr wurde um 00:49 Uhr ergänzt:

Can you also please post the updater-script you are using and the location where your CWM recovery is from?

In the updater-script I found in Acer Stock ROM, I find the following lines:

Code:
format("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system");

By description of Edify-Language this should result in formatting and mounting device '/dev/block/platform/sdhci-tegra.3/by-name/APP' of Partition Type EMMC and FS-Type ext4 b to mount-point /system, but not to mountpoint /emmc (as specified in the log).

Did you you change the update-binary?

Kind regards Uwe

Der ursprüngliche Beitrag von 00:49 Uhr wurde um 00:52 Uhr ergänzt:

BTW: You should not try to find solutions posted for other kinds of tablets than the A210/A211, and apply them to your device, this will probably make the situation worse.

Kind regards Uwe

Der ursprüngliche Beitrag von 00:52 Uhr wurde um 01:01 Uhr ergänzt:

An other point is the format-command used in the script.

In any reference of edify language, there are only three parameters in the format-command, not five as in the script from acer. I guess, acer is using a very especial update-binary.

Maybe it might be senceful, remove the last both parameters from the format command:

You can try changing
Code:
format("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "0", "/system");
to
Code:
format("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP");
kind regards Uwe
 
CWM recovery came from the JB root thread here: [HowTo] Acer A210 Root [JB 4.1.1!!!] - xda-developers
"updater-script" is from the stock Acer ROM for United States, I edited it to delete the first line as you had in the OP of this thread, recreated the ROM.zip and signed the zip file using the java command line. No other files in the ROM.zip were changed.
Code:
root@android:/ # ls -al /dev/block/platform/sdhci-tegra.3/by-name/
ls -al /dev/block/platform/sdhci-tegra.3/by-name/
lrwxrwxrwx root     root              2013-03-20 23:56 AKB -> /dev/block/mmcblk0p6
lrwxrwxrwx root     root              2013-03-20 23:56 APP -> /dev/block/mmcblk0p3
lrwxrwxrwx root     root              2013-03-20 23:56 CAC -> /dev/block/mmcblk0p4
lrwxrwxrwx root     root              2013-03-20 23:56 DE2 -> /dev/block/mmcblk0p8
lrwxrwxrwx root     root              2013-03-20 23:56 LNX -> /dev/block/mmcblk0p2
lrwxrwxrwx root     root              2013-03-20 23:56 MSC -> /dev/block/mmcblk0p5
lrwxrwxrwx root     root              2013-03-20 23:56 SOS -> /dev/block/mmcblk0p1
lrwxrwxrwx root     root              2013-03-20 23:56 UDA -> /dev/block/mmcblk0p9
lrwxrwxrwx root     root              2013-03-20 23:56 USP -> /dev/block/mmcblk0p7
root@android:/ # mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
tmpfs /mnt/usb_storage tmpfs rw,relatime,mode=755,gid=1000 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 rw,relatime,user_xattr,acl,barr
ier=1,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 rw,nosuid,nodev,noatime,errors=p
anic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered,noauto_da_alloc 0 0
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 rw,nosuid,nodev,noatime,errors=pa
nic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered,noauto_da_alloc 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,defaul
t_permissions,allow_other 0 0
/dev/block/vold/179:97 /mnt/external_sd vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1
000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,sho
rtname=mixed,utf8,errors=remount-ro 0 0

I know better than to flash random firmware to random locations. :) I looked on the tab using "find" and there are no backup image files. My thought was that perhaps the CWM recovery is the problem.

I just read pages 13 & 14 of this thread: CWM-based Recovery 6.0.1.5 for A700 (JB compatible) - xda-developers

I have figured out how to pull the full recovery log from CWM, so will try installing stock from the beginning with factory reset and cache wipe and then get the log.

Log is here: http://pastebin.com/DTZZmU1s Entries are from the failure of the recovery tool to wipe data. No useful output from the ROM update attempt.

I will try changing the format command in the updater-script as you suggested. I will not be able to post results until late tomorrow, as I have other work I need to complete now.

Again, thank you for your advice.
=RV=
 
Zuletzt bearbeitet:
Thanks for your answer.

We have the thread of the CWM which is available in xda-developers in original here. In the first post you'll find the download-link. It might be a bit better maintained, as in xda-developers there is no A210 forum, so we do not too often update our postings in xda-developers...

And, by the way, if you want CIFS (SMB) support or NFS support, the modules for that are already compiled in in the Kiwi++Kernel...

But you need to know, that by design, the CIFS and NFS support do not use nslookup, you need to mount by ip-address instead of network-name.

Regards Uwe
 
I was able to return to this, so a little more information. I downloaded the CWM from here as you suggested. I first flashed the SOS_org_recovery.img, just to verify that recovery was being overwritten. With that I did a data wipe which seemed to take longer than previously with the CWM from xda-developers. I attempted to flash the stock ROM from the external SD card:
Code:
Starting recovery on Thu Mar 21 03:22:30 2013
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (1280 x 800)
recovery filesystem table
=========================
  0 /tmp ramdisk (null) (null) 0
  1 /recovery emmc /dev/block/platform/sdhci-tegra.3/by-name/SOS (null) 0
  2 /boot emmc /dev/block/platform/sdhci-tegra.3/by-name/LNX (null) 0
  3 /system ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP (null) 0
  4 /cache ext4 /dev/block/platform/sdhci-tegra.3/by-name/CAC (null) 0
  5 /misc emmc /dev/block/platform/sdhci-tegra.3/by-name/MSC (null) 0
  6 /data ext4 /dev/block/platform/sdhci-tegra.3/by-name/UDA (null) -1048576
  7 /sdcard vfat /dev/block/mmcblk1p1 (null) 0

I:No arguments from boot message or /cache/recovery/command. Trigger boot menu.
Command: "/sbin/recovery" "--show_text"

-- Install /sdcard ...
Finding update package...
I:Update location: /tmp/sideload/package.zip
Opening update package...
I:1 key(s) loaded from /res/keys
Verifying update package...
I:verify_file returned 1
E:signature verification failed
check.partition.size=[__PROP_UNDEFINED__]
Installation aborted.
I then reflashed the new CWM from here, and tried again to install the stock ROM.
Log for that is longer: a210 stock recovery log w/new CWM - Pastebin.com

Will take some time tomorrow to hack on the updater-script, see if I can work out what is going wrong.

As for your kernel, I believe I had it installed (from your links at xda-developers) but when I listed modules, saw nothing for CIFS nor NFS modules. I will try reflashing, and work on that again as well.

What is your opinion of Lightning Barebone ROM for general use?

Thanks for your help.
=RV=
 
Did you name your self-signed StockRom update.zip?

Code:
I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
 
-- Installing: /external_sd/update.zip
Finding update package...
I:Update location: /external_sd/update.zip
Opening update package...
Installing update...
Installation aborted.

The last thre lines show dont show too much details :ohmy:

I would suggest to to remove any line before the format command from the updater-script.

If it still does not work, I look for other ways of formatting and mounting (There are other possibilities to do so...)

And to your try to list modules:

CIFS and NFS are not pluged in as modules, but are compiled in. You cant see them with lsmod.

regards Uwe
 
Hallo Uwe,

zurück zur Stock hat wunderbar geklappt Dank der Anleitung!!! :thumbup:

Vielen Dank...

Wenn man jetzt noch dem Bootloader wieder "locken" könnte....
 
Kann ich diese Anleitung auch benutzen wenn ich den KIWI Flasher drauf habe? Weil so wie ich es verstanden habe, dieser ja auch CWM Basierend ist. Ich würde nämlich auch gerne wieder Stock gehen.
 
Ja, das sollte auch mit dem Kiwi++Recovery funktionieren.

MfG Uwe
 
  • Danke
Reaktionen: pseudo1981
u.k-f schrieb:
Hi redvelociraptor!

No problem with english, but please dont use maschinetranslation as its much easier to understand english than any result of google-translate.

I read your post and I think about it. I will need some time but I will answer within the next 10 to 15 minutes.

Kind regards Uwe

Hallo u.k-f,

Ich habe genau das gleiche Problem und habe auch schon alles von dir vorgeschlagene ausprobiert. Wenn ich versuche die Stock ROM über CWM Recovery zu flashen, wird mir nur eine Fehlermeldung ausgespuckt und im log steht das gleiche wie bei redvelociraptor. Kennst du vielleicht noch andere Wege um doch noch zum Stock ROM zurückzukommen?

Freundlichen Grüße
 
Kannst Du mir bitte genau Deine Probleme schildern, ich weiß nicht mehr, was damals genau los war.

Grüße Uwe
 
u.k-f schrieb:
Kannst Du mir bitte genau Deine Probleme schildern, ich weiß nicht mehr, was damals genau los war.

Grüße Uwe

Hallo,

Entschuldige, aber ich habe es jetzt schon hin bekommen. Problem waren anscheinend die Formatierungsanweisungen im update-script. Ich habe diese komplett entfernt und es dann noch einmal versucht und siehe da, es funktionierte!
Trotzdem danke für die schnelle Antwort!

Grüße
 
Hallo,
ich versuche derzeit mein A210 auf die Stockrom zu bringen.
Da die Installation mit dem Fehler
check.partition.size=[__PROP_UNDEFINED__]
fehlschlägt, habe ich die habe ich die weiter Änderung des updater-scripts aus https://www.android-hilfe.de/forum/anleitungen-fuer-acer-iconia-a210-a211.1826/howto-acer-a210-a211-stockrom-mit-cwm-flashen.391376-page-3.html#post-5404682 gemacht,. Nun habe ich im CMW folgende Fehlermeldung:
-- Installing /pfad/zur/update.zip
Finding update package...
Opening update package...
Installing update...
Mount Data success
format() expects 5 args, got 3
E:Error in /pfad/zur/update.zip
(Status 7)
Installation aborted.
Weiß jemand, was ich jetzt tun kann?
Oder besser kann jemand ein CWM-Backup der Stockrom uploaden?

MfG, Android4.4KitKat
 
Der Fehler:
Code:
format() expects 5 args, got 3
ist eine unmittelbare Folge der Änderung des format-Befehls, denn wie in dem verlinkten Beitrag geschrieben, benötigt das Acer-Updater-Binary 5 Parameter im Format Befehl.

Wenn Du Probleme mit dem ersten Fehler:
Code:
check.partition.size=[__PROP_UNDEFINED__]
hast, solltest Du besser nicht dem Format-Befehl ändern, sondern den assert-Befehl in dem das Property 'check.partition.size' abgefragt wird, aus dem updater-script entfernen:

Code:
assert(getprop("check.partition.size") == "pass");

MfG Uwe

Der ursprüngliche Beitrag von 20:44 Uhr wurde um 20:58 Uhr ergänzt:

BTW:

Eigentlich wäre es natürlich sinnvoller, zu prüfen, warum das Property 'check.partion.size' nicht korrekt gesetzt wurde.

Hast Du Dich evtl beim Editieren des Updater-scripts vertippt?

MfG Uwe
 
Hmm, nun habe ich folgende Fehlermeldung:
-- Installing :/pfad/zur/update.zip
Finding update package...
Opening update package...
Device probably was encrypted, skip check data partition size
format() expects 5 args, got 3
E:Error in /pfad/zur/update.zip
(Status 7)
Installation aborted.

Habe dann den Befehl "show log"
gestartet und folgendes Ergebnis:
Opening update package...
Installing update...
mount :failed to mount /dev/block/platform/sdhci-tegra.3/by-name/UDA at /data: Device or resource busy
Bevice was encrypted, skip check partition sizescript aborted: format() expects 5 args, got 3
E:Error in /pfad/zur/update.zip(Status7)
Installation aborted.

I:Can't partition non-vfat: datamedia
I:Can't partition unsafe device: /dev/block/mmcblk1p1
I:Can'T format unknown volume: /emmc

MfG, Android4.4KitKat
 
Zuletzt bearbeitet:
Wie schon oben geschrieben:
u.k-f schrieb:
Der Fehler:
Code:
format() expects 5 args, got 3
ist eine unmittelbare Folge der Änderung des format-Befehls, denn wie in dem verlinkten Beitrag geschrieben, benötigt das Acer-Updater-Binary 5 Parameter im Format Befehl.

Dann hast Du die Änderung im updater-script bezüglich des Formatierens nicht Rückgangig gemacht.

Poste mal, was Du inzwischen aus dem Update-Script gemacht hast.

MfG Uwe
 
Ist gemacht
Mfg, Android4.4KitKat

PS:Könnte man eigentlich mit dem DualBootProjekt CM und StockRom gleichzeitig laufen lassen?
 

Anhänge

  • updater-script.zip
    1,4 KB · Aufrufe: 212
Code:
if mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/UDA", "/data") != "/data"
then
ui_print("Device probably was encrypted, skip check data partition size\n");
else
ui_print("Mount Data success\n");
package_extract_dir("CPS", "/tmp/CPS");
set_perm(0, 2000, 0777, "/tmp/CPS/cps");
run_program("/tmp/CPS/cps", "/data", "100");
delete("/tmp/CPS/cps");
unmount("/data");
if getprop("check.partition.size") == "fail"
then
package_extract_file("logo/icon_error_userdata_space_is_not_enough_1280x800.png", "/res/images/icon_customization.png");
abort("Data partition size is less than 100MB!");
endif;
endif;
show_progress(0.500000, 0);
[B][COLOR="Red"]("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "0", "/system");[/COLOR][/B]
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system");
package_extract_dir("recovery", "/system");
...

Vor der rot markierten Zeile fehlt auf jeden Fall das Schlüsselwort format.

Fange einfach am besten noch mal mit der original updater-script von Anfang an an.

Die Frage nach dem Dual-OS bitte in dem dortigen Thread stellen, die gehört nicht zu diesem Thema. Danke

MfG Uwe
 
  • Danke
Reaktionen: Android4.4KitKat
Danke, Installation lief ohne Murren, Tablet cachet grad die Datein, melde mich gleich nochmal,
MfG Android4.4KitKat

Edit: läuft
die Meldung mit dem Encrypted Device kam trotzdem, aber sie bereite der zip keine Probleme
 
Hallo, hab ein Problem...

wenn ich die signed_AcerStockRom.zip installieren will kommt diese Meldung: E:Cant open/external_sd/signed_AcerStockRom.zip
(bad)
Installation aborted

was kann man dagegen machen?
 
Ich würde empfehlen, das Zippen nochmal zu machen, vielleicht ist dabei was schief gegangen.

MfG Uwe
 

Ähnliche Themen

R
Antworten
0
Aufrufe
1.610
rbe76
R
acwob
Antworten
1
Aufrufe
2.911
acwob
acwob
Mupfnase
Antworten
2
Aufrufe
2.489
Mupfnase
Mupfnase
Zurück
Oben Unten