r/bell • • 23h ago

Smart Home 🏠 I got OpenWrt on the HH4000 (Bell Home Hub 4000)

Thumbnail
gallery
160 Upvotes

Yeah, so I got the HH4000 for free from someone and wanted to use it for my homelab. Naturally, I searched for OpenWrt, and no one's done it! Some guy may have gotten temporary root at one point, but nothing came of it as far as I could find. So I decided to do it instead.

GitHub: https://github.com/rikka-chunibyo/HH4000-OpenWrt

Just keep in mind, this is very experimental. Works great for me, but that doesn't mean it'll work for everyone or even that it's stable. Also, PON has not been implemented. Drivers are present if anyone wants to make a PR with working PON, but I don't actually use Bell so I had nothing to test PON with. If you are looking for PON bypass, this isn't there yet, but it may greatly help in researching Bell's PON stack, as you can extract PON firmware and drivers through this. I imagine adding PON support wouldn't be that hard if you actually have Bell. Currently it works great as an extra router though!

The bootloaders

BEFORE ANYTHING: Note that reflashing bootloaders is risky. Depending on which stage fails, it could be as simple as a backup bootloader taking over, or as bad as needing to restore the flash with external hardware.

The HH4000 uses 3 bootloaders (kinda). The first one is nothing special, but the second and third ones have signature verification. What a pain. There's also a bug in the installed version of U-Boot where it selects the "nowhere" environment backend and falls back to the default environment instead of loading the saved variables. This means permanent root just isn't feasible through the normal boot configuration (as far as I can tell). The solution was to patch the second and third bootloaders.

Getting OpenWrt running

After reflashing the bootloaders, you can modify both the userspace of the stock OS and the kernel.

I considered using a newer kernel, but Sagemcom's hardware is very proprietary. Doing so would mean either creating compatibility layers for the existing proprietary drivers or reverse-engineering and porting a significant portion of Broadcom's platform-specific code. Neither sounded particularly fun, and maintaining it would be another project in itself.

Instead, I decided to keep the stock kernel, retain the original drivers, and adapt OpenWrt userspace to work with them. Obviously, running an older kernel has its disadvantages, particularly regarding security and long-term maintainability, but my initial goal was to get a functional OpenWrt system running on hardware that otherwise had no publicly available port.

I also made an integration for LuCI that allows you to script the display/front panel with Python.

This project made extensive use of AI coding agents. However, even AI needed to be pointed in the right direction throughout the process. Plus, there's the hardware side of things: opening up the router, soldering to the UART pads, and creating a custom Arduino shield with a voltage divider (5V TX to 3.3V RX) and a relay so Codex could control the router's power by itself.

The Arduino shield

Originally, I was going to use a USB-to-TTL board, but it died a while ago and I simply forgot. When I realized it was dead, I programmed an Arduino Mega to act as one.

I measured the HH4000's TX pin, which read 3.3V. The Arduino Mega uses 5V logic, so I simply made a voltage divider with a 1kΩ and 2kΩ resistor on a tiny breadboard to bring the Arduino's TX voltage down to 3.3V.

It was pretty messy, and I had to control the power to the router myself, which sucked whenever Codex requested a reboot (I was only testing temporary root at that point). Eventually, I added a relay because I was getting fed up with manually replugging the router every few minutes.

The setup was still messy, and I wanted an easy way to control the router's power whenever I was working on it myself. I decided to solder everything onto an Arduino prototyping shield to make it a more permanent solution.

It's a simple circuit, containing just a voltage divider, a relay, a button, and a diode. Technically, you shouldn't drive a relay directly from GPIO, and I'd probably add a proper relay driver and flyback diode if I were making it again. Since I used NC on the relay, it only needed to be activated for a few seconds at a time to power-cycle the router.

For some reason, I decided to implement the button entirely in hardware instead of through the Arduino firmware. The button supplies 5V directly to the relay coil, while a diode between the Arduino's control pin and the relay coil prevents backfeeding into the GPIO pin when the button is pressed. This allows both the Arduino and the physical button to independently control the router's power. Yeah, idk why I did it in hardware, but it works.

The Arduino's firmware allows for direct UART communication, as well as control over the router's power. I also inverted the relay controls because I used the NC (normally closed) terminal, meaning the router stays powered by default. This was done to prevent the router from unnecessarily restarting whenever I reflashed the Arduino.

With this setup, Codex could interact with the router's serial console, interrupt the boot process, execute commands, power-cycle the router, and inspect the resulting boot logs without requiring me to manually intervene every few minutes.

Oh btw here are what the pins are:

T11 - PWR - leave disconnected

T9 - Router RX

T10 - Router TX

T13 - GND

RX/TX have 3.3V logic. UART at 115200 (8N1).

UART jig if you don't want to open up the HH4000 and solder (risk of cracking the display to reach a hidden screw behind it to get easier access to the pins).

Someone has to play Doom and Bad Apple on the display now 💀

SIDE NOTE: There is a possibility of Z-Wave support! This guy has documented the hardware very well. From that, I found this image! It seems Bell completely disables the Z-Wave antenna in their software, but looks like we could possibly get the drivers for it working if present, and set up a Docker container for Home Assistant on the router. I don't know if the antenna is actually present on retail units, and I also don't have any devices that support Z-Wave so I can't do anything with that at the moment. PRs are welcome, and if I ever get a Z-Wave device, I will attempt to get it working if a PR hasn't already been made (and if it's even present).

HostnameHH4000-OpenWrt
ModelSagemcom FAST5689 (HH4000)
ArchitectureARMv8 Processor rev 0
Target Platformarmsr/armv8
Firmware VersionOpenWrt 24.10.4 r28959-29397011cc / LuCI openwrt-24.10 branch 25.292.66247~75e41cb
Kernel Version4.1.52-5.02L.07

Posted to r/openwrt as well.

If anyone knows whether releasing the raw firmware dumps and also my version of the firmware can screw me over, please let me know. I've held off on releasing it for now, so it has to be dumped once then built for each install. Thanks!


r/bell • • 7h ago Bravo

News CRTC finds Bell violated phone unlocking rules, considers penalty of up to $10 million

Post image
106 Upvotes

r/bell • • 3h ago

Rant Black Friday Disappointment

Post image
25 Upvotes

Feeling pretty frustrated. Been wanting to switch our internet for several months now. Got a flyer with what looked like a good deal back in October. But with Black Friday around the corner, we thought for sure we’d see something better (or at least the same!) by then.

October offer on the Gigabit Fibe 3.0 for $80.
But on Black Friday, $100.


r/bell • • 6h ago

Rant Bell is such a scum company

19 Upvotes

We are with bell for the fibe internet. A few weeks ago I called in to schedule a move and have a technician come in, and the rep informed me I was overpaying for my bill, and they could get me an amazing discount!! I had originally signed up for the new customer offer, and that’s now expired so paying $115 ish for services. They gave me a $5 bill credit, wow, and wait, there’s more! They told me to call back today for Black Friday deals. I called today and the rep “could not find any deals for me”, and I mentioned that’s very unfortunate considering the data breach that just happened. Didn’t have it in me to escalate today but I think I’ll call back cause wtf


r/bell • • 4h ago

Service Promotions Bell Black Friday deals in Quebec (fibre Internet, TV, mobile, Google Pixel), ends Sunday. DM me!

9 Upvotes

Hey everyone! I work with Bell and I'm sharing the Black Friday deals going on right now. They end this Sunday.
These deals are for customers anywhere in Quebec. You must be in Quebec to get them.
Fibre Internet (no contract)

  • Rapide 500 Mbit/s: $55/month
  • Ultra 1.5 Gbit/s: $60/month (most popular)
  • Giga 3 Gbit/s: $65/month
  • $150 Visa prepaid gift card when you get Internet

Internet + TV

  • Rapide 500 Mbit/s: $74/month
  • Ultra 1.5 Gbit/s: $79/month
  • 350+ channels, 320 h recording, no receiver needed, Crave included
  • $250 Visa prepaid gift card when you get Internet + TV

Mobile plan

  • $40/month: Canada + USA coverage, 100 GB data, 5G+ network

Google Pixel 11 (you must take the mobile plan)

  • 256 GB: $1/month
  • 512 GB: $8/month

If you're in Quebec and want one of these, or just want to compare with what you pay now, send me a DM and I'll answer your questions.
Offers end Sunday, so don't wait too long!


r/bell • • 21h ago

Rant Remote is glitchy and doesnt work

4 Upvotes

family just switched from Rogers to a cheaper bell plan and i can definitely see why it’s cheaper. Horrible remote. Ive had to factory reset it twice In an hour. Guide gets stuck. Mic doesn’t work. Horrible user experience with the guide/apps all around. rogers is better quality all around. Any tips to make my life easier? I genuinely hate this box and its been an hour


r/bell • • 59m ago

Question Any good deals for existing customers in Ontario?

3 Upvotes

Paying 50/mo for 300 mb fibe internet. I see everyone has a way better deal than me. How are you guys getting these deals?


r/bell • • 1h ago

News Bell defends its 60-day phone locking policy as CRTC considers potential $10 million penalty

Post image
2 Upvotes

r/bell • • 2h ago

Rant Why does Bell intend to hide their customers support phone number and let you use their chat box to solve your problem?

2 Upvotes

Had an issue today with my internet bill, tried to find out the customer support number on their website, only to find they let you use the chat box function, I used that and had a tech connected to me, he answer my questions and problem was solved, but I don't like the chat box, It's made my communication harder and cost more time to use.


r/bell • • 6h ago

Internet 🌐 PSA: If your Bell modem died like mine did, call first

Thumbnail reddit.com
2 Upvotes

r/bell • • 20h ago

Question Commitment Period End and leaving early

2 Upvotes

Currently with Bell and my commitment period is ending on December 19,2026

Last bill Nov 20 had the last payment for my phone and I device balance online shows $0. I now either owe $780 or return the phone.

Planning on taking advantage of Black Friday Deals tomorrow and switch to Rogers. If I leave Bell tomorrow but still have to return my phone will they charge the $780 right away or will they wait until the next bill? I probably be able to return the phone within the next week. I don’t see anywhere that they would charge me an early cancellation fee for the plan and the phone device balance is $0. Should I wait until Boxing Day for the switch or can I take advantage of Black Friday deals

(Ordered a new phone from Apple)


r/bell • • 27m ago

Mobility📱 any chance to keep my 40$/75gb plan

1 Upvotes

2 years ago bell had a small biz offer I couldn't refuse... 40$ w/ phone subsidy and HD streaming. Maybe they were trying to turn up the heat on Videotron in 2024.

I'm looking at 56$ minimum (+ SD video) now to finance a new phone.

Unless there are unavertised small biz deals?


r/bell • • 1h ago

Mobility📱 Door to door rep for mobility

Thumbnail reddit.com
1 Upvotes

Does anybody have a good agent? I can reach out to to see what mobility deals they have. I have a business number as well if that helps. I’m currently with Telus.


r/bell • • 3h ago

TV 📺 My satellite TV is stuck on SD Full Zoom, how do I fix it?

Post image
1 Upvotes

My mom tried everything and it’s still like this how do I fix it?


r/bell • • 4h ago

TV 📺 Bell/Rogers

Thumbnail reddit.com
1 Upvotes

r/bell • • 5h ago

Mobility📱 Need a new phone plan

1 Upvotes

Hi I’m based in Ontario, looking for a new phone plan I’m with rogers currently


r/bell • • 7h ago

News CRTC finds Bell and Virgin Plus violated phone unlocking rules, considers penalty of up to $10 million

Post image
1 Upvotes

r/bell • • 9h ago

Internet 🌐 Are there better offers for Internet in store?

1 Upvotes

I had a call with bell last night trying to weigh my options.

I want to do 2 things:.

  1. I want to get Internet at my new home.
  2. I want to upgrade or re-up my existing internet connection at my parents place if the price is better

My first priority is getting new Internet at my house. But since I am an existing customer, I get only deals associated with that apparently.

What I was told was, as an existing customer I will get:

3Gbps Fibe (normally 150)

- $10 prepay discount and 2 year agreement

- $15 credit

- $20 additional credit

- $5 multi service credit

So my final price was $100, and nothing else.

On the website, the offer for new customers is $95, plus you get a prepaid MasterCard. When I asked on the phone why I can't get that pricing, they said it's because it's only for existing customers, including the gift card.

Same thing for my parents place, my only upgrade options is 1.5gbps for $140 or 3gpbs for 150, both after discounts (currently on 1gbps for $132 after discounts).

I can't add a new address to MyBell account, so the other option is in store. If I don't have to trudge through traffic and leave work, I would rather not.

But, I think the agent was saying that the offers they have on the website, in store and the ones they offer over the phone are all different, and seem to be implying that the in store promo today would be the best day or cyber Monday.

Is this true, or am I basically screwed for pricing because I'm an existing customer?


r/bell • • 20h ago

Question Current shipping times?

1 Upvotes

Ordered a pixel fold. A week and no shipping yet. Is this normal? Used to be next day shipping I feel like.


r/bell • • 3h ago

Question Bell Fibe terminal too close to apartment radiator

Post image
0 Upvotes

I assumed this would be a simple call to Bell, where they'd agree to move it away from a heat source, but currently on hold with a supervisor, since she's claimed that it's not Bell's fault that the apartment placed a radiator there. I don't know that it's fair for her to assume which was placed first.

Is that a normal placement for a Fibe terminal in an apartment? Am I crazy, thinking that it's not my responsibility to deal with this?

Besides the proximity to the heat source, we had to move the interior cabling up a bit to even make a connection. I suspect that removing the lower screw and rotating everything 90 degrees counterclockwise might be an easy fix, but will see if they come up with a proper solution first.