[General Questions and Answers] bigrammy:
Problems Flashing LeWa ROM

Hi,

I have the pre-installed etotalk rom on my phone.

I have ported TWRP recovery to the phone because etotalks CWM recovery did not work. :(

TWRP seems to be working fine as I can mount all partitions, perform full backup's, explore files etc etc. :good:

When I try to install the LeWa ROM from the sdcard I get the following.

assert failed: (getprop("ro.product.device") == "N1" || getprop("ro.build.product") == "N1" ||

getprop("ro.product.device") == "n1_ics2" || getprop("ro.build.product") == "n1_ics2" ||

getprop("ro.product.device") == "ztenj77_cu_ics" || getprop("ro.build.product") == "ztenj77_cu_ics");

E: Error in /sdcard/LeWa_Newman_N1_ROM.zip

(Status 7)

Error flashing zip '/sdcard/LeWa_Newman_N1_ROM

Updating partition details.....

I am unsure what the problem is I think I read some place about build.props edits or updater.script edits I just wondered if some one has had the same problem and solved it.

Here are the first few lines of the etotalk build.prop.

# begin build properties

# autogenerated by buildinfo.sh

ro.sw.version=NEWMAN-CE-QB18D-N1V1.0.1

ro.sw.version.incremental=B08

ro.build.id=IMM76D

ro.build.display.id=N1V1.0.7-MOD-by-Dean@etotalk.com

ro.build.version.incremental=eng.builder1.20120924.190623

ro.custom.build.version=20120924.190623

ro.build.version.sdk=15

ro.build.version.codename=REL

ro.build.version.release=4.0.4

ro.build.date=2012年 09月 24日 星期一 19:08:58 CST

ro.build.date.utc=1348484938

ro.build.type=user

ro.build.user=builder1

ro.build.host=ubuntu-desktop

ro.build.tags=test-keys

ro.product.model=N1

ro.product.brand=NEWMAN

ro.product.name=N1

ro.product.device=N1

ro.product.board=N1

ro.product.cpu.abi=armeabi-v7a

ro.product.cpu.abi2=armeabi

ro.product.manufacturer=NEWMAN

ro.product.locale.language=en

ro.product.locale.region=GB

ro.wifi.channels=

ro.board.platform=

# ro.build.product is obsolete; use ro.product.device

ro.build.product=N1

# Do not try to parse ro.build.description or .fingerprint

ro.build.description=NEWMAN-user 4.0.4 IMM76D eng.builder1.20120924.190623 test-keys

ro.build.fingerprint=NEWMAN/N1/N1:4.0.4/IMM76D/20120924.190623:user/test-keys

ro.build.flavor=

ro.build.characteristics=default

ro.custom.btname =

# end build properties

Here are the first few lines of the LeWa build.prop.

# begin build properties

# autogenerated by buildinfo.sh

ro.build.id=IMM76I

ro.build.display.id=ALPS.ICS2.MP.V1.3

ro.build.version.incremental=19

ro.custom.build.version=19

ro.build.version.sdk=15

ro.build.version.codename=REL

ro.build.version.release=4.0.4

ro.build.date=Thu Jan 31 04:00:40 CST 2013

ro.build.date.utc=1359576040

ro.build.type=eng

ro.build.user=lewa

ro.build.host=lewa-server

ro.build.tags=test-keys

ro.product.model=N1

ro.product.brand=NEWMAN

ro.product.name=n1_ics2

ro.product.device=n1_ics2

ro.product.board=n1_ics2

ro.product.cpu.abi=armeabi-v7a

ro.product.cpu.abi2=armeabi

ro.product.manufacturer=NEWMAN

ro.product.locale.language=zh

ro.product.locale.region=CN

ro.wifi.channels=

ro.board.platform=

# ro.build.product is obsolete; use ro.product.device

ro.build.product=n1_ics2

# Do not try to parse ro.build.description or .fingerprint

ro.build.description=n1_ics2-eng 4.0.4 IMM76I 19 test-keys

ro.build.fingerprint=NEWMAN/n1_ics2/n1_ics2:4.0.4/IMM76I/19:eng/test-keys

ro.build.flavor=

ro.build.characteristics=default

# end build properties

Here are the LeWa updater.script first few lines anyway.

assert(getprop("ro.product.device") == "N1" || getprop("ro.build.product") == "N1" ||

getprop("ro.product.device") == "n1_ics2" || getprop("ro.build.product") == "n1_ics2" ||

getprop("ro.product.device") == "ztenj77_cu_ics" || getprop("ro.build.product") == "ztenj77_cu_ics");

show_progress(0.500000, 0);

format("ext4", "EMMC", "/dev/block/mmcblk0p3", "0");

mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");

package_extract_dir("recovery", "/system");

delete("/data/nvram/APCFG/APRDCL/Audio_Vol_custom");

package_extract_dir("system", "/system");

symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");

symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");

symlink("aee_aed", "/system/bin/debuggerd");

Any Help would be great.

Thanks in advance. bigrammy :cowboy: