Huawei HG533 & HG532 Headwind

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware
Author Message
heyadrian
DD-WRT Novice


Joined: 15 Mar 2013
Posts: 16

PostPosted: Sun Nov 17, 2013 21:47    Post subject: Huawei HG533 & HG532 Headwind Reply with quote
Hi,

Just thought I'd share this. Seeing as some time ago I managed to get some pre-release FW's for the Above two models I thought I'd get working on them. Hey what else have I got to do after having done my others and having a broken leg!

Well there 2 bins I got were:

HG532V100R001C21B021SP02_upgrade_main.bin
HG533V100R001C21B033_upgrade_main.bin

This is courtesy of the friendly unsuspecting folks at the Service Management Centre @ TalkTalk Technology back home in Manchester Very Happy

I had a sniff around the firmwares and they seem pretty primitive :-/

Here's my findings (the models I have here):

Unit: HG532TRA
...I'll start on the other first and my 533TRA has a missing power socket which I had to borrow for another router Very Happy When I get round to rigging up my new bench PSU I'll update... Off to the HG533...

Unit: HG533TRA
SoC: Ralink: RT3352F
Firmware file: HG533V100R001C21B033_upgrade_main.bin

file structure:

Code:
0x0 - uImage header, header size: 64 bytes, header CRC: 0x6BF0C77E, image size: 5636610 bytes, Data Address: 0x80000000, Entry Point: 0x80390000, data CRC: 0x2A1C07BB, OS: Linux, CPU: MIPS, image type: OS Kernel Image, compression type: lzma, image name: "HG533"

0x40 - LZMA compressed data, properties: 0x5D, dictionary size: 33554432 bytes, uncompressed size: 3852404 bytes

0x11C242 - Squashfs filesystem, little endian, non-standard signature,  version 3.0, size: 4472077 bytes,  232 inodes, blocksize: 65536 bytes


What was interesting was that looking at the creating times, they were made at 0400 in the morning. Too bad their support aren't up them when your pay-per-view isn't working Very Happy

That's as far as I'll go tonight as I have to me up at 0500 tomorrow.

I've attached both the pre-release binaries, the binary descriptors i.e. mappings... Please DO NOT install these on your live routers.. Post back if you get any further news.. I'll update as I go along Smile

After this, along side my WDR3600 total modification projects, I'll probably start on the you view DN370T box Very Happy But that's for another forum I guess Wink

Cheers,

A
Sponsor
heyadrian
DD-WRT Novice


Joined: 15 Mar 2013
Posts: 16

PostPosted: Sun Nov 17, 2013 23:09    Post subject: Reply with quote
Well, I've managed to pull some strings (lol) and found the ver of linux and a bit more:


Code:
%s version %s (lijian@rtu2) (gcc version 3.4.2) %s
Linux version 2.6.21.5 (lijian@rtu2) (gcc version 3.4.2) #1 Mon Jan 19 04:22:41 CST 2013
run_workqueue
2.6.21.5 mod_unload MIPS32_R2 32BIT
heyadrian
DD-WRT Novice


Joined: 15 Mar 2013
Posts: 16

PostPosted: Mon Nov 18, 2013 9:13    Post subject: Reply with quote
Hmm had a quick skim over this morning just before leaving.. I managed to extract the rootfs... Nothing too interesting there really :-/

I did notice thought that there are utterances of httpd and ftpd here and there. I can't see much in /etc showing that it actually is ever fired up.

When I get home, I'll have a look deeper into that parts of the firmware which I pulled apart.

At the mo I've just got:

1) header
2) uboot
3) LZMA image

pulled apart 3 and found:

1) header
2) another boot
3) LZMA image

pulled apart the next LZMA and now faced with:

1) LZMA image
2) LZMA image

I wasn't able to decompress these two using LZMA, LZMA2 etc... I've got a feeling it has to do with either how I pulled them out or the little endian order of things...

When I did a 'strings -8' on both of them, I got back a LOAD of references to directories which seem to haves bespoke Huawei drivers in them. I can deco confirm that the RT drivers are there, but I didn't see much about the TrendChip mentioned anywhere.

EVEN MORE interesting, is that I saw ALOT of reference to QuallCom... I wonder... :-/

Well, have fun Smile

Cheers,

A
smc217
DD-WRT Novice


Joined: 19 Nov 2013
Posts: 2

PostPosted: Tue Nov 19, 2013 13:04    Post subject: Reply with quote
Hey Adrian

good job, keep it that way. I am looking forward to functional custom FW on HG533.

Will keep an eye on this thread. Just letting you know that there are people interested in your work.

Waiting for updates,

Regards,

SMC
dawsonweb
DD-WRT Novice


Joined: 19 Nov 2013
Posts: 1

PostPosted: Tue Nov 19, 2013 22:31    Post subject: Good luck with this Reply with quote
I hope you crack this soon I can't wait to get my HG533 working. Will be watching closely.

Thanks.
heyadrian
DD-WRT Novice


Joined: 15 Mar 2013
Posts: 16

PostPosted: Wed Dec 18, 2013 3:11    Post subject: Reply with quote
Just an update:

I've managed to pull some interesting WAN end passwords from their /etc/*.conf files, but nothing which was actually handy....

I've managed to get another stock release firmware (well release from TT themselves)

The odd things are:

1) Quite a few of the IO constant symbols (at least it looks like they should be) are present.. Question is, was it compiled in developer mod with symbols etc??? Can someone send me a 'current' firmware or up a link to one?

2) One of the HG units I was send was actually a D-LInk (yes and confirmed too)... That was weird and unexpected, so I'll have to have a look in that direction too.

3) I'm currently digging through the Atheros code to add to the AR7xx branches of things. Reason is, I popped my home made logic analyser (10 channel) and think I can use an old TP-Link router I have and reuse the GPIO's to the LED's as IO's Very Happy It's a long-shot, but I'm just waiting for the 74HC573's I've ordered to come in... Once they're in I'll be able jimmy something together to make things easier to snoop around this HG.

4) Just to add, while I'm on the topic of TalkTalk and the new HG models... That port (1024) to (8081) you see open is a weird one, but I worked it out. It was a bitch RevEnginineering the data that the talk talk you view boxes pumps in and out, but all that port does is act as a 'hard-coded' 'UPNP' port I guess you could call it.

notes about that port are:

1) You WONT get anything out of that port at all, ever, not whilst they have it in the current state it is. All it is, is a port for the TT ACS (Automatic Configuration Server) to "ping" i.e. send a header to" the YouView box telling it to call it back. From there its all encrypted. I'm working on MITM proxies at the moment to see how far I get
2) What I findtime to build another logic analyser (from an ol router), I'll get to see what are the basic IO's (maybe a few of the JTAG headers) are on the board. But because Broadcom specialise in SoC, it's not gonna be easy. On top of that, the chip that lot is bundles into isn't public yet BRCM7409. It merely has an application tech sheet and thats it.
3) My other approach is looking at the 'font panel' i.e. where the IR remote sends its signals to. This has some arg far-east MCU which literally is as low end as you can find. If I can find a compiler for it I'll be able to work out what arch it works on and hopefully work from there.

I do appreciate IPTV isn't really DD's thing, but hey it's all part and parcel of TT Smile

Cheers,

A

(PS any additions or findings would be handy! after all I'm human and can miss things!) Till soon, cheers.
heyadrian
DD-WRT Novice


Joined: 15 Mar 2013
Posts: 16

PostPosted: Sat Jan 11, 2014 12:44    Post subject: Reply with quote
Another update.

I can't see anything of use in the actual firmware files. I've got a feeling that some (or most) of the firmware is already on the device.. Which leads me to the next load of fun.

I've ordered myself a 32 channel logic analyser so I can:

1) Get a dump of the EEPROM (25q64fv) hopefully this will have a lot more to show.
2) See what exactly is happening at the ADSL chip. Maybe I can get some insight as to what the driver does..

What I have worked out:

1) The actual firmware serves as a multi-firmware. This is used by several of the chips on the board. This is probably why I've found several images within the firmware.
2) That seems like JTAG connections, isn't, they're purely a SISO connection (serial in serial out), which I can almost bet is purely for debug purposes.

Can someone kindly post any of the latest firmwares for me on here? I don't have ADSL any more (went fibre) so the firmware upgrade tool is a bit pointless.

Updates to follow..

Cheers

A
smc217
DD-WRT Novice


Joined: 19 Nov 2013
Posts: 2

PostPosted: Tue Jan 14, 2014 7:28    Post subject: HG533 FW Reply with quote
Is this what you were looking for?
v1.13t (HG533V100R001C21B028_upgrade_main.bin)
v1.14t (HG533V100R001C21B033_upgrade_main.bin)

could not get file for 1.15t. My own router got upgraded to it few days ago.
Let me know if this helps
Yizi
DD-WRT Novice


Joined: 19 Jul 2013
Posts: 5

PostPosted: Tue Apr 01, 2014 10:21    Post subject: Reply with quote
You guys got any further with this, I have the same router from TT and I'm gonna do some digging later when I get a chance.

Yizi
cranie
DD-WRT Novice


Joined: 17 Jan 2015
Posts: 1

PostPosted: Sat Jan 17, 2015 1:50    Post subject: Reply with quote
Probably out of date now in terms of the topic... but the firmware is open source:

http://consumer.huawei.com/en/support/downloads/detail/index.htm?id=17643
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum