ElectricMotorcycleForum.com

  • November 26, 2024, 01:46:21 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Electric Motorcycle Forum is live!

Pages: [1]

Author Topic: Reverse engineer Zero app?  (Read 513 times)

domingo3

  • Sr. Member
  • ****
  • Posts: 390
    • View Profile
Reverse engineer Zero app?
« on: October 25, 2017, 03:41:38 AM »

I tried to search, but didn't find anything.  Has anyone thought of or tried reverse engineering the Zero App?  I have some programming experience, but not with Android apps.  If it's a dead end, then you'll save me some time and frustration.  If nobody's tried, I might give it a go. 
Logged
2016 Zero FXS 2018 Zero FXS 2016 SR

Shadow

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1085
  • 130,000mi electric since 2016
    • View Profile
Re: Reverse engineer Zero app?
« Reply #1 on: October 25, 2017, 03:55:34 AM »

These threads mention reverse engineering the Zero Mc App:
http://electricmotorcycleforum.com/boards/index.php?topic=6374
http://electricmotorcycleforum.com/boards/index.php?topic=2722

Actually you don't necessarily need to touch the app internals just turn on hci packet logging feature in Android OS and view with Wireshark.
Logged

domingo3

  • Sr. Member
  • ****
  • Posts: 390
    • View Profile
Re: Reverse engineer Zero app?
« Reply #2 on: October 25, 2017, 09:28:06 PM »

  I re-read through those threads and only saw the briefest mention of reverse engineering.  Maybe I'm not using the correct term, but what I'm thinking about is disassembling the app, making changes and recompiling.  I'd start with something simple, like changing the fonts so that all the numbers fit on the riding screen.  For me, sometimes the numbers go on two lines and I can't read them. 
  Later I might see if the app would allow something like setting regen to >100%, or if I could get the app to report the correct values where they are wrong (eg miles remaining or time to charge).  Probably beyond my capability, but I'm willing to spend some time trying.
Logged
2016 Zero FXS 2018 Zero FXS 2016 SR

Shadow

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1085
  • 130,000mi electric since 2016
    • View Profile
Re: Reverse engineer Zero app?
« Reply #3 on: October 25, 2017, 10:13:51 PM »

Documenting the Zero Motorcycles app communication stream would be very useful for creating a replacement app. Modifying the official app would probably raise the attention of legal consul... good luck!
Logged

togo

  • It's like flying. But with more traction.
  • Hero Member
  • *****
  • Posts: 1639
    • View Profile
Re: Reverse engineer Zero app?
« Reply #4 on: October 26, 2017, 03:51:52 AM »

Yes, start by documenting the protocol between the app and the bike.

Logged
our knowledge about Zeros collects here: https://zeromanual.com/
Pages: [1]