evic under linux

Status
Not open for further replies.

Helmut Januschka

New Member
Nov 5, 2013
2
4
A, A
hello

i started a project to get the evic data accessable under linux :)
https://github.com/hjanuschka/freevic

the firmware update code is able to brick your evic without any repair options - so do not use IT or use it at your own risk,
you have to manually uncomment a return - to enable this part of the code - the rest is read only right now


whats done till now:
Code:
[COLOR=#000000][FONT=Monaco]* core/device (readout)[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]   * serial number[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]   * product name[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]* user-settings (readout)[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]   * firstname/lastname[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]   * age[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]   * gender[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]   * battery % stand[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]   * evic mode (V,W,RVW,RVV)[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]   * atomizer resistance[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]   * puff count total
[/FONT][/COLOR]

sample output
Code:
[COLOR=#000000][FONT=Monaco]# freevic -h[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Freevic[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]           -d, --debug          Enable Debug Output[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]           -D, --device         Device (default: /dev/sg2)[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]           -e, --export-cfg     Device (default: not set)[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]           -I, --info           Print info about the device[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]           -R, --records        Get the Vaping Records stored on your device[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]           -o, --output-file        Get the Vaping Records stored on your device[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]           -i, --input-file        Get the Vaping Records stored on your device
[/FONT][/COLOR]

get info
Code:
[COLOR=#000000][FONT=Monaco]# src/freevic -D /dev/sg2 -I[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]###############################[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Core Evic Settings:[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Serial: 304200246[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Product Name: 'eVic'[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]###############################[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]User Evic Settings:[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]###############################[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]First Name:asdf[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Last Name:ddas[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Age: 29[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Gender: 0 Mr[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Battery Life: 79%[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Evic Mode: 1 - Watt Mode (value: 6.50)[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Atomizer Resistance 1.90 ohm[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Puff Count Total:205[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Battery mAh:800[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]###############################[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]RVW Block 1 Settings[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]         Name: RVW1[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]                 Seconds:0.50,0.60,0.70,0.80,0.90,1.00,1.10,1.20,1.30,1.40,[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]                 Watt:2.00,2.00,2.00,2.00,2.00,2.00,2.00,2.00,2.00,2.00,[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]RVW Block 2 Settings[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]         Name: RVW2[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]                 Seconds:0.50,0.60,0.70,0.80,0.90,1.00,1.10,1.20,1.30,1.40,[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]                 Watt:2.00,2.00,2.00,2.00,2.00,2.00,2.00,2.00,2.00,2.00,[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]RVW Block 3 Settings[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]         Name: RVW3[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]                 Seconds:0.50,0.60,0.70,0.80,0.90,1.00,1.10,1.20,1.30,1.40,[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]                 Watt:2.00,2.00,2.00,2.00,2.00,2.00,2.00,2.00,2.00,2.00,[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]RVV Settings[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]                 Seconds:0.50,0.60,0.70,0.80,0.90,1.00,1.10,1.20,1.30,1.40,[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]                 Watt:3.00,3.00,3.00,3.00,3.00,3.00,3.00,3.00,3.00,3.00,[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]###############################[/FONT][/COLOR]


get vape records:
Code:
[COLOR=#000000][FONT=Monaco]# src/freevic -D /dev/sg2 -R[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]Date    Resistance      Voltage Wattage Duration[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]04.10.2012 00:00:19     1.50    3.00    6.0     0.70[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]04.10.2012 00:00:20     1.50    3.00    6.0     0.50[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]04.10.2012 00:00:21     1.50    3.00    6.0     0.60[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]00.05.2013 07:05:39     1.50    3.00    6.0     0.50[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]00.05.2013 07:05:39     1.50    3.00    6.0     0.20[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]00.05.2013 07:05:40     1.50    3.00    6.0     0.40[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]04.11.2013 14:41:55     1.90    3.00    4.7     6.00[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]04.11.2013 14:42:02     1.90    3.00    4.7     5.20[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]04.11.2013 14:42:14     1.90    3.00    4.7     6.30
[/FONT][/COLOR]

Code:
[COLOR=#000000][FONT=Verdana]TODO:[/FONT][/COLOR]
[COLOR=#000000][FONT=Verdana]* settings write[/FONT][/COLOR]
[COLOR=#000000][FONT=Verdana]* fw - flash (lowest prio)[/FONT][/COLOR]


feel free to contribute via github!
regards
 

Helmut Januschka

New Member
Nov 5, 2013
2
4
A, A
thx for the feedback :)
first of all - it is not a project to jailbreak - atleast not with the primary goal :) - the main goal is to make the evic data usable for linux only users - or later on maybe connect your evic to an android device:blush:

as of my trial and error flashing of a hex-modified FW went wrong - and one of my evic heads died - i put the FW stuff at the end of the todo list
 
Status
Not open for further replies.

Users who are viewing this thread