Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAZ Reset? #3

Open
b3ck opened this issue Jul 19, 2024 · 11 comments
Open

RAZ Reset? #3

b3ck opened this issue Jul 19, 2024 · 11 comments

Comments

@b3ck
Copy link

b3ck commented Jul 19, 2024

I wish there was a way to reset the vape juice meter/counter, for people that refill it, that would come in handy, like a simple program that you can run after plugging it in via USB Type-C would be perfect.

And yes I know that you can with your method, but's a little extreme for the normal person, and yes I know you haven't done much research into the "SWD Debugging Port" and how using to to interact with the External Flash, but just wanted to say it here, as you have already thought about it.. you are not alone in this thinking =)

@ginbot86
Copy link
Owner

The requirement for SWD hardware will continue to be a challenge, but another researcher did come up with some software tools to help with editing the juice level: https://github.com/xbenkozx/RAZ-RE/tree/main/Flash%2Freflasher

@b3ck
Copy link
Author

b3ck commented Jul 30, 2024

So I have the "RAZ Vape DC25000 Disposable", what can I do to help? Is there a way to extract the firmware from this? then make modifications etc..?

@ginbot86
Copy link
Owner

The firmware extraction would be with the aforementioned SWD method (I just used my Segger J-Link with the J-Mem tool to grab 0x10000 (64k) bytes from address 0x08000000. The graphics from SPI Flash were dumped by desoldering the chip and mounting it to a 0.5mm-pitch SMD breakout board.

I noticed there are two different "BOOST Mode" graphics in the Kraze model I dumped: one is a plain large flame symbol, and an unused one that looks like tiger's faces in the flames. Which one does yours have in normal operation?

hdmega-boost-alt
hdmega-boost

@b3ck
Copy link
Author

b3ck commented Aug 3, 2024

Normal Mode:
Screen Shot 2024-08-03 at 3 00 24 PM

Boost Mode:
Screen Shot 2024-08-03 at 3 00 33 PM

@ginbot86
Copy link
Owner

ginbot86 commented Aug 4, 2024

Interesting... The Kraze variant uses the plain flame graphic for the boost mode.

@b3ck
Copy link
Author

b3ck commented Aug 5, 2024

Yeah.. dunno.. must have been a approval type of thing with some community board in Canada.

@ginbot86
Copy link
Owner

ginbot86 commented Aug 6, 2024

I just went through some photos I took and the first Kraze HD Mega vape I found used the "tiger flames" boost mode graphic. Not sure when the change was made, or if it's consistent...

@ginbot86
Copy link
Owner

As mentioned in Issue 5, I have found the correlation between versions. Holding the side button for more than 10 seconds will cause a version number to display, and a V1 firmware uses the "tiger flames" graphic, and the V2 uses the plain flames.

@Rea-XEVION
Copy link

On the topic of refilling, years ago when I used to refill rechargeable dumb stick vapes, every single time they would eventually burn out the coil or put a charred hole in the wick even if I never let them run dry.
With the raz/kraze and even the v-play all having two coils, I have to wonder if a software change is possible to swap which coil is primary/secondary. This would be useful in case someone gets a burned taste with the normal mode, but not with boost.

@ginbot86
Copy link
Owner

It would require some firmware reverse-engineering but I think it could be possible. This is speculation on my part but I imagine that the references to certain GPIOs could be find-and-replaced to swap the roles of the heater coils.

@Estacaco
Copy link

Just a note on Firmware versions while the Geek Bar has a completely different looking UI, it is running firmware version "AM.V3"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants