Giter Site home page Giter Site logo

toniebox-reverse-engineering / hackiebox_cfw_ng Goto Github PK

View Code? Open in Web Editor NEW
106.0 106.0 7.0 261.63 MB

HackieboxNG is a fully open source custom bootloader for the Toniebox (CC3200).

Home Page: https://t.me/toniebox_reverse_engineering

Makefile 0.13% C 35.85% HTML 9.03% CSS 0.11% JavaScript 0.20% C++ 39.93% Batchfile 0.28% Shell 0.53% Python 0.86% XS 4.53% Java 0.01% XC 0.02% Roff 8.43% Assembly 0.04% DTrace 0.01% VBScript 0.01% PLSQL 0.03% PowerShell 0.01% Tcl 0.02%
hackiebox toniebox

hackiebox_cfw_ng's People

Contributors

scilor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hackiebox_cfw_ng's Issues

File not Found when uploading to flash

Hi,
when I want to Upload the ca.der from Teddycloud as /cert/c2.der into the Box's flash I receive the following error on the URL
http://10.0.0.184/api/upload/flash-file?overwrite=on&filepath=%2Fcert%2Fc2.der&filesize=787

File Not Found

URI: /api/upload/flash-file
Method: POST
Arguments: 3
 overwrite: on
 filepath: /cert/c2.der
 filesize: 787

Improve Wiki

I'm currently trying to install the HackieboxNG bootloader, but I got some questions:

In the ngCfg.json for firmware slot ofw1 "flashImg" is set to: "/sys/pre-img.bin", but in the wiki under Bootloader Stage 2 it says:

"Copy over the original bootloader (mcuimg.bin from your backup) to the first ofw slot sd:/revvox/boot/ng-ofw1.bin. Now the HackieboxNG bootloader will instantly boot the original bootloader and run the original firmware."

Which one is correct?

Change Port for cloud server

I am using Teddycloud but due to the setup of my network and virtual machines the port 443 is taken by a different service already. I was not able to successfully forward via virtual host yet. Is there any chance that you could provide a patch for changing the port for the cloud / teddycloud server inside the firmware?

I have tried this myself by changing all occurrences of 0xBB 0x01 to 0xBC 0x01 in the firmware binary (should have changed all occurrences of the ushort 443 to 444). But this didn't work and might have been a bit to naive (i didn't notice any difference in all those 8 different binaries whatsoever). I have no disassambler for armv7 sadly to dig into it.

after installing bootloader, box does not boot

Hi all,

I tried to install the hackiebox bootloader with original firmware as first step. But I'm not able to bring up the box with bootloader. If I revert the change and use the backuped/original mcuimg.bin, box is booting again and worked fine, so no hardware related issue, I think.

Toniebox-Chip:
'CC3200R1
M2
953
ZJY1 G4'
Installed bootloader version: hbng-bootloader_debug.release_v0.9.3c.zip (tried also version v0.9.3a but same behavior)

I got some logs:
`
INFO main.c:777:main: HackieboxNG preloader debug 0.9.3 b14eb68
INFO main.c:789:main: Wakeup by cause 0
DEBUG main.c:797:main: Mounting sd card...
TRACE helper.c:49:SdFileExists: sd:/revvox/boot/ngbootloader.bin exists.
DEBUG main.c:850:main: Open sd:/revvox/boot/ngbootloader.bin ...
DEBUG main.c:854:main: Read sd:/revvox/boot/ngbootloader.bin ...
DEBUG main.c:858:main: Read 36095 bytes
INFO main.c:629:prepareRun: SHA256 hash=06c54cac0c61cd6fba21ab94c76969198ce41c25b10f105edc7ce60e537cd6b6
DEBUG main.c:342:BoardDeinitCustom: Prepare board deinitialization...
INFO main.c:758:prepareRun: Start firmware sd:/revvox/boot/ngbootloader.bin ...
INFO main.c:777:main: HackieboxNG bootloader debug 0.9.3 b14eb68
INFO main.c:789:main: Wakeup by cause 0
TRACE config.c:193:Config_InitImageInfos: Initialize ImageInfos
DEBUG main.c:797:main: Mounting sd card...
TRACE config.c:222:Config_ReadJsonCfg: Reading config with 2233b in size.
---:--:--.--- BSP Unknown newer hw platform (57592), last known is (16)

CC3200 bootloader v4287950848-DEBUG (M���
0) build: dl:243.90.129 sl:32.104.144.248 hw:tb-smt-57592:253:141 sw:UNKNOWN img_ix:4
loaded battery critical level = 260866
battery_level = 4789
battery too low
---:--:--.--- BSP Entered hibernate
`

changes in "ngCfg.json" related to battery level make no difference, It's also no difference if charger is pluged in, not plugged in, battery is connected or battery is not connected. always battery level is around 4789 and "loaded battery critical level = 260866"

Can someone give me a hint what I'm doing wrong?

Thanks for support.

Found https://forum.revvox.de/t/original-bootloader-hibernates-with-battery-too-low/186 and solved it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.