Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 2 [3] 4 5 ... 16

Author Topic: ZyXel VMG8324-B10A Preliminary findings.  (Read 128230 times)

Blackeagle

  • Reg Member
  • ***
  • Posts: 257
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #30 on: April 03, 2014, 11:24:37 AM »

Yes.  The firmware is big endian but must be converted to little endian to be mounted.  What I did was to use binwalk to find the offset in the file for the jjfs2 filesystem, then used dd to copy from there.
Code: [Select]
dd bs=1 skip=131072 if=V100AAKL4b1.bin of=kitz1.bin
I then reversed the endian
Code: [Select]
jffs2dump --bigendian kitz1.bin --endianconvert=kitz1.jffs2

Then dd to /dev/mtdblock0, and finally mount that to a suitable point.


@les-70

I'm wondering if the blob is not starting correctly, possibly due in part to differences between the xdslcmd and xdslctl binaries.  Also the HG612 loads libxdslapi.so whereas the ZyXel loads libxdslctl.so

My thinking is that there is possibly some mapping issue between the xdsl*** binaries and the actual adsl_phy.bin driver.  There is no issue actually loading the driver, just starting it seems to be problematic !!


*** EDIT ***

Further investigation reveals that the VMG8324-B10A is based upon Broadcoms BCM63168 vs the HG612 BCM6368 chipset.

I should have noticed this earlier  :-[  I will happily stand corrected on this but I can't see that extracted BLOB working on a different chipset.  I believe the current latest BLOB in use on the Huawei was extracted from firmware for a Netgear DGND3700v1 which is 6368 based also.
« Last Edit: April 03, 2014, 02:48:36 PM by Blackeagle »
Logged
ASCII stupid question, get a stupid ANSI -- TalkTalk Broadband since 2006

les-70

  • Kitizen
  • ****
  • Posts: 1254
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #31 on: April 03, 2014, 02:58:40 PM »

I should have noticed this earlier  :-[ 

    Oops  ...  your not alone  :-[

   Given that I am very surprised the adsl_phy.bin swap did not cause an real failure.
« Last Edit: April 03, 2014, 03:02:52 PM by les-70 »
Logged

dmcdonnell

  • Member
  • **
  • Posts: 93
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #32 on: April 03, 2014, 04:54:02 PM »

I did wonder about the blob hunt.

There are a few modem/routers about with the BCM63168 SoC and you can find different boot logs posted. No sign of OpenWRT but it's early days.
There is early support in OpenWRT for the related BCM63138 SoC, which cant be bad news.
See http://pastebin.com/Ex23Mmz8

Thank you so much for the lessons in endianess and firmware extraction, Blackeagle. Greatly appreciated.
Logged

Blackeagle

  • Reg Member
  • ***
  • Posts: 257
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #33 on: April 03, 2014, 06:12:29 PM »


Thank you so much for the lessons in endianess and firmware extraction, Blackeagle. Greatly appreciated.

Just passing on stuff I learnt on here from others.
Logged
ASCII stupid question, get a stupid ANSI -- TalkTalk Broadband since 2006

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #34 on: April 03, 2014, 06:44:44 PM »

Bit confused here. The les version is swapped into an HG612 hence trying to use xdslcmd.  Kitz probably does not have anything called xdslcmd in the zytel.   The fact that they are different may be why, on first try, I have not got it working in an HG612

Apologies for the confusion.
I hadn't picked up on the fact you were using a HG612  :-[
Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #35 on: April 04, 2014, 09:18:50 AM »

Quote
Further investigation reveals that the VMG8324-B10A is based upon Broadcoms BCM63168 vs the HG612 BCM6368 chipset.

I did wonder especially as I'd quoted the chipset..  but since I know nothing when it comes to firmware and blobs so I just thought perhaps it was similar to how the same drivers can cover multiple hardware versions.

No it doesnt support xdslcmd, which is why I'd had to use  adsl --version to get the fw details .  Theres a list of the available commands here if it helps.
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

dmcdonnell

  • Member
  • **
  • Posts: 93
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #36 on: April 04, 2014, 11:03:21 AM »

...
Code: [Select]
sudo modprobe mtdram total_size=32768 erase_size=256
sudo modprobe mtdblock
sudo modprobe mtdchar
sudo mknod /dev/mtdblock0 b 31 0   (not needed if /dev/mtdblock0 exists already)
sudo dd if=image.jffs2 of=/dev/mtdblock0

Strangely, "sudo modprobe mtdchar" produces "FATAL: Module mtdchar not found." on my linux mint box. I am using recently released kernel 3.14 generic. I do have mtd-utils installed.
Logged

les-70

  • Kitizen
  • ****
  • Posts: 1254
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #37 on: April 04, 2014, 01:10:02 PM »

 @kitz   Returning the topic of the thread I am looking forwards to hearing about your experiences in the long run.   I will be especially interested in the wireless performance a few walls and rooms away from the router and the wireless connection stability there.   My experience with internal antenna routers so far has not been good and has lead to them going into my bits cupboard!

    I notice HG630's with the same 63168 chipset and vectoring, only Huawei branded and fully unlocked on Taobao and also isp branded HG658's all at low prices - of order £40 inc pp if imported through an agent.  I have found importing works OK and am tempted to try one those (unlocked HG630 being safest) as (gigabit) does not worry me but with the zytel there is at least the prospect of later firmware updates.
Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #38 on: April 04, 2014, 04:39:44 PM »

Strangely, "sudo modprobe mtdchar" produces "FATAL: Module mtdchar not found." on my linux mint box. I am using recently released kernel 3.14 generic. I do have mtd-utils installed.

Briefly (as not wishing to prolong the hijack of this thread), the mtdchar module does not exist in recent 3.X Linux kernels.  :no:  For example --

Code: [Select]
[Duo2 ~]$ find /lib/modules -type f | grep -E 'mtdblock|mtdchar' | sort
/lib/modules/2.6.32-431.11.2.el6.x86_64/kernel/drivers/mtd/mtdblock.ko
/lib/modules/2.6.32-431.11.2.el6.x86_64/kernel/drivers/mtd/mtdblock_ro.ko
/lib/modules/2.6.32-431.11.2.el6.x86_64/kernel/drivers/mtd/mtdchar.ko
/lib/modules/3.10.36-1.el6.elrepo.x86_64/kernel/drivers/mtd/mtdblock.ko
/lib/modules/3.10.36-1.el6.elrepo.x86_64/kernel/drivers/mtd/mtdblock_ro.ko
/lib/modules/3.14.0-1.el6.elrepo.x86_64/kernel/drivers/mtd/mtdblock.ko
/lib/modules/3.14.0-1.el6.elrepo.x86_64/kernel/drivers/mtd/mtdblock_ro.ko
[Duo2 ~]$
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #39 on: April 04, 2014, 07:38:46 PM »

No it doesnt support xdslcmd, which is why I'd had to use  adsl --version to get the fw details .  Theres a list of the available commands here if it helps.


It's taken a while to amend the graphing code, ensuring compatibility for the HG612 remans, but I have attached the snapshot montage from your connection's data that you provided.

If you are happy to test things out, I'll have a dabble with amending my data harvesting code to use in conjunction with DSLStats for easy shorter term & longer term monitoring.

Logged

les-70

  • Kitizen
  • ****
  • Posts: 1254
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #40 on: April 05, 2014, 12:00:38 PM »

@kitz   Returning the topic of the thread I am looking forwards to hearing about your experiences in the long run.   I will be especially interested in the wireless performance a few walls and rooms away from the router and the wireless connection stability there.   My experience with internal antenna routers so far has not been good and has lead to them going into my bits cupboard!

  @kitz  Any chance of an update?
Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #41 on: April 05, 2014, 06:35:39 PM »


It's taken a while to amend the graphing code, ensuring compatibility for the HG612 remans, but I have attached the snapshot montage from your connection's data that you provided.

If you are happy to test things out, I'll have a dabble with amending my data harvesting code to use in conjunction with DSLStats for easy shorter term & longer term monitoring.

Yes please, that would be brilliant.  :)
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #42 on: April 05, 2014, 06:51:30 PM »


  @kitz  Any chance of an update?

No sorry - havent had chance and Ive been running around like the proverbal **  for the past few days and not even found time to read much past page 15 on the 500 412 page manual.  The Zyxel still has its protective sleeve on the front and its not yet in its proper location.    :(

But I can say that it worked well in what can be a deadspot.  Ideally Id like to test it down the bottom of my garden as that will for me be a good indication, but Im not going out in the pouring rain to do it  :D   Its current location is on the desk, upstairs front of house and I have no problem using it in the back of the house downstairs.

Ive not noticed any problems with it, its remained in sync since I put it on.  It recovered by itself after some ISP network problems.   Now that its set up... it just kinda works how it should and since the stats are slightly better than with the HG612 Im definitely not complaining.     
« Last Edit: April 05, 2014, 07:30:20 PM by kitz »
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

les-70

  • Kitizen
  • ****
  • Posts: 1254
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #43 on: April 05, 2014, 07:50:13 PM »

   I am very tempted and wondering over http://www.stuff-uk.net/p-1726433.aspx which curiously has the same stock level as broadband buyer.  The cheapest can prove troublesome in the end so I wonder it others have used stuff-uk ? - its not an appealing name.
Logged

renluop

  • Kitizen
  • ****
  • Posts: 3326
Re: ZyXel VMG8324-B10A Preliminary findings.
« Reply #44 on: April 06, 2014, 07:39:36 AM »

   ..... stuff-uk ? - its not an appealing name.
Likely it's better than stuff-u! :D
Logged
Pages: 1 2 [3] 4 5 ... 16