Buy this Domain

Community Discussions

Explore the latest discussions and community conversations related to this domain.

Aegis X Custom Firmware Reverse Engineering

Main Post:

Hi!

I am a reverse engineer and I am new to embedded devices. I have been looking at the Firmware for the Aegis X because I want my own custom themes and whatnot but this is prooving difficult (especially for an amateur like me).

I have done some investigations, and using the firmware updater found here I found a mention to NuMicro (a Nuvoton chip) in the firmware updater executable.

Logically, like Smok products I downloaded the NuMicro ISP Programming tool found here and I clicked connect, and it worked! It found my mod and it even gave me the chip model too! (this is very important for reverse engineering firmware for embedded devices).

The chip the mod uses is the NuMicro NUC029SGE CRU that is based on Arm® Cortex®-M0.

Arm® Cortex®-M0
Architecture : Armv6-M (32-bit)
ISA Support : Thumb/Thumb-2 subset

I found the data sheet for the CRU here and I found all the regions for RAM and ROM for disassembling the firmware using IDA. (The chip in the Aegis X uses the 256KB Flash)

0x0000_0000 – 0x0001_FFFF FLASH_BA FLASH Memory Space (128 KB)
0x0000_0000 – 0x0003_FFFF FLASH_BA FLASH Memory Space (256 KB)
0x0004_0000 – 0x0005_FFFF Reserved Reserved
0x0006_0000 – 0x0007_FFFF Reserved Reserved
0x2000_0000 – 0x2000_4FFF SRAM_BA SRAM Memory Space (20 KB)
0x2000_4000 – 0x2000_BFFF Reserved Reserved
0x2000_C000 – 0x2000_FFFF Reserved Reserved
0x6000_0000 – 0x601F_FFFF EXTMEM_BA External Memory Space for EBI Interface (2 MB)

After loading into IDA and setting setting the entry point for auto-analysis (at 0x00000000) I got the disassembled code up in a graph view as well as a bunch of other discovered functions.

I had also found some undefined strings (which I later defined myself).

Now this is the first major step in reverse engineering ANY firmware. Especially when it comes to Nuvoton CRUs as all Smok products and (I think) all GeekVape products use Nuvoton chips.

I am currently in the process of finding images in the firmware file, because once I do that I'll be able to directly replace them with custom wallpapers, themes etc.

Unfortunately, with what I currently got at most I could change strings (text) to say "MODDED" or something (the strings needs to be the same length as the original, as I cannot find xrefs to the found strings because they are only referenced in RAM). I could faff around with the disassembled instructions but I would probably only corrupt the firmware.

I hope this post finds someone who is on the same journey as me and wants to report their findings!

The long end goal of this is to make a program to patch the firmware to change backgrounds and other images similar to how this works.

Thanks for reading, and I'm sorry if I left some normal e-cig users confused.

Top Comment:

Up voted for effort. I have no idea what It all meant though.

Forum: r/GeekVape

Matlab for Mac OS X

Main Post:

I have an engineering class that requires Matlab and I don't want to buy it or stay on campus for countless hours working on their computers. Is there any way of getting it for free or alternatives to buying it?

Top Comment: you should NOT pirate it. DON'T use this site to find the torrent. i did NOT do this, and matlab is NOT running perfectly for me right now. if i continue to use it after school, i will definitely buy it AGAIN

Forum: r/engineering

What do we think about Nakamae x Zoom Engineering x Artworks Dewa?

Main Post: What do we think about Nakamae x Zoom Engineering x Artworks Dewa?

Top Comment:

I am a stock sorta guy, but this is outstanding.

Forum: r/Miata

Computer Programming x Computer Engineering Technology - Computing Science

Main Post:

Hi guys, I am in doubt about wich course should I take.

In terms of jobs prospects (salary, opportunities) which one is better?

Are you enjoying the courses?

Did you got a jog as early as you gratuated?

What about Co-op programming? Does it really help to get some experience.? I have none

Does it worth take the the 3 years program?

In Ottawa, speak french is essential in IT field?

PS. I already studied C, Java, HMTL and CSS.

Thank you for your attention.

Top Comment:

I was going to ask a similar question, would appreciate if recent grads of the CET program share their academic and coop experience here. Im upvoting this.

Forum: r/Algonquin_College

I have all the FREKVENS modules from IKEA x Teenage Engineering. AMA : IKEA

Main Post: I have all the FREKVENS modules from IKEA x Teenage Engineering. AMA : IKEA

Forum: r/IKEA

X plus vs X elite as an engineering student?

Main Post:

Which one should I choose as someone studying engineering. Will be using mathlab, blender, fusion, etc quite a lot.

Anyone have any experience to share with either?

Top Comment: https://www.reddit.com/r/Surface/comments/1dmvlps The diff is small so ive been recommending plus for everyone. But, matlab runs on the slower side on snapdragon cuz emulated so maybe any performance bump is worth it

Forum: r/Surface

Bando Stone X Teenage Engineering Ko ii?

Main Post: Bando Stone X Teenage Engineering Ko ii?

Top Comment:

You actually might be right but what a random ass collab that would be 😭

Forum: r/donaldglover

My first X-wing attempt was more of a boat.

Main Post: My first X-wing attempt was more of a boat.

Top Comment:

Some of the sky islands have low gravity. You can try it there. There was a star wars video posted here before which was shot there, I think in the north Gerudo archipelago.

Forum: r/HyruleEngineering