retrieve accidentally deltede activity

Answered

Comments

18 comments

  • Official comment
    Avatar
    Franklin Prince

    Hey Christoph. We have created a support ticket for you and will be emailing you right now. Please respond back to that email and we will certainly help you get this resolved.

    Comment actions Permalink
  • Avatar
    Chris Fleming

    I've done exactly the same thing! Interested to know if it is possible to get the ride back!

    0
    Comment actions Permalink
  • Avatar
    Christoph Mouton

    Hi Chris,

    I managed to get the file from my device.
    It appears thant when you delete it it's just nog visible anymoer on hte device but the activity is till on the device as a FIT file

    Steps to get is working (distilled from the posts on : https://karoousers.org/viewtopic.php?t=73)

    1.  activate the developpers menu
    Go into Settings -> About, scroll down to "Build number" and then tap the Build number box seven times in a row. When you've done it enough times, it will give you a message about now being a developer, and then you will have a couple of new options on your Settings menu, Apps and Developer Options. Don't start messing around with the Developer Options unless you know what you're doing.

    2. Activate USB connection
    Go into Settings -> Developer Options and scroll down until you see the USB debugging option, which you need to turn on. Then connect your Karoo to your PC via USB.

    So far so good but her i had a problem, my Karoo wasn't found by my PC.
    Several hours of searching and reading the entire post on the forum (link above) i found a tip to use a different USB-cable.
    Magic Occured and my Karoo was found

    The folder however of your Karro device will be empty.

    3. Get the files
    In Settings -> Developer Options, scroll down further until you get to "Select USB Configuration" in the Networking section. This will be showing MTP by default. Tap on this entry, and then you will get a menu asking you to pick the USB Configuration. Select RNDIS and now you should get a new window popping up on your PC which actually shows some of your Karoo's files. Note that you'll have to go through this step (picking RNDIS) each time you connect your Karoo via USB, because it resets each time to MTP.

    This is what's lacking on the Hammerhead official supportpages, there is said MTP is enough.

    4. FIT-files
    In the folder FITFiles i found my fitfile (based on the date it was created) , ik copied it to my pc and uploaded it manually on Strava.
    I didn't manage to upload it to the hammerhead dashboard, there are no tools to do thsi for now

    I hope this works for you
    Let me know and if it worked vote up this explanation

    Greetings

    Christoph


    3
    Comment actions Permalink
  • Avatar
    Paul Deans

    christoph  many thanks for this  worked  1st time  after i deleted  85 mile ride by accident 

    1
    Comment actions Permalink
  • Avatar
    Chris Fleming

    Yes thanks, worked perfectly for me.

     

    1
    Comment actions Permalink
  • Avatar
    Jim Ahearne

    Does this method work with a Mac?

    I tried these steps, but my Karoo is not showing up on my Mac. For what it's worth when I select the RNDIS USB configuration, the select button indicates I've made the selection, but when the screen returns to the developer menu "MTP (Media Transfer Protocol)" remains in gray beneath Select USB Configuration.

    0
    Comment actions Permalink
  • Avatar
    Jim Ahearne

    I also tried this method with Android File Transfer, but my Karoo is not showing up.

    https://support.hammerhead.io/hc/en-us/articles/360007012873-Downloading-a-FIT-file-from-the-Karoo-using-a-Mac

    0
    Comment actions Permalink
  • Avatar
    Jim Ahearne

    Hi all,

    Support helped me sort this out with the following steps:

     

    • After enabling the developer option, Under Developer Options, toggle "USB Debugging" on
    • Connect your Karoo to your Mac using the USB Cable.
    • Open the Android File Transfer app on your Mac.
    • A popup message would appear "Can't access device storage", click "Ok".
    • On the Karoo, under developer options, tap on 'Select USB configuration'
    • Select the MTP from the list.
    • Android File Transfer app will now show the folders inside the Karoo.

    It seems that the order of the steps was the key.

     

    3
    Comment actions Permalink
  • Avatar
    Samir Chandoo

    I cqn't get this to work. Fit files show up but only to the 12th of August. My ride on 13th August hasn't got a FIT file and none of my ride fit files of today are showing up either.

    0
    Comment actions Permalink
  • Avatar
    Samir Chandoo

    Also, none of the FIT files have a date attached to them. I need to hover iver each one to see what date it relates to.

    0
    Comment actions Permalink
  • Avatar
    John Graham

    This worked perfectly for me with my new Karoo2. Thank you for posting.

    0
    Comment actions Permalink
  • Avatar
    PeterT

    Is possible to restore ride which was deleted right after the activity? I thought it's saved and started to unmount the device realizing that I just pushed magic combination left and right buttons. I checked fit files but nothing there from current date.

    0
    Comment actions Permalink
  • Avatar
    Craig Detter

    I just finished a ride, then deleted it by accident.

    I couldn't see the file in my list using the standard Android File Sharing interface described above. However, I was able to successfully undelete the file using the "adb" command.

    Download the "adb" command, using a google search, use instructions like the ones found here: https://www.xda-developers.com/install-adb-windows-macos-linux/ 

    then....

    Start by using the above instructions above to get into developer mode, (make sure you check the Karoo 2 device for the permissions question, approve permissions).

    Open command prompt, on MacOS Go/Utilities/Terminal.app
    (Note: the "$" here isn't typed by you, but rather the prompt from the Operating System).

    $ adb -d devices (press enter)

    output looks like this:

    $ adb -d devices
    List of devices attached
    KAROO20ALC030800143    device

    If the above command says "unauthorized" instead of "device", make sure to check your Karoo 2 for the permissions checkbox. Check it, then try the command again.

    Now, run the command (shows a sorted list of your fit files by date/time stamp):
    $ adb -d shell ls -alt /sdcard/FitFiles/

    Will look something like this (notice the date/time stamps - will tell you which file you need to copy):

    drwxrwx--x  3 root sdcard_rw   8192 2022-11-25 14:22 .
    -rw-rw----  1 root sdcard_rw 134332 2022-11-25 14:22 116df330-1637-4ff1-967b-23340e4f110e.fit
    drwxrwx--x  2 root sdcard_rw   3488 2022-11-25 14:22 temp
    -rw-rw----  1 root sdcard_rw 129240 2022-11-23 15:31 2cfadcc5-96f3-4999-9034-d02ca095a887.fit
    -rw-rw----  1 root sdcard_rw    479 2022-11-23 14:09 387e2144-2320-45d9-8164-446e5ae33b18.fit
    drwxrwx--x 20 root sdcard_rw   3488 2022-11-23 14:08 ..

    To copy the file from your Karoo 2 to your computer, run a "pull" command, like this:
    $ adb -d pull /sdcard/FitFiles/[File Name From list above]

    For example, the file the deleted file in my case was:
     116df330-1637-4ff1-967b-23340e4f110e.fit from the list above...

    Run the "pull" command to copy the file, substituting the file name as follows:
    adb -d pull /sdcard/FitFiles/116df330-1637-4ff1-967b-23340e4f110e.fit

    The successful response looks like:

    $ adb -d pull /sdcard/FitFiles/116df330-1637-4ff1-967b-23340e4f110e.fit
    /sdcard/FitFiles/116df330-1637-4ff1-967b-23340e4f110e.fit: 1 file pulled, 0 skipped. 9.0 MB/s (134332 bytes in 0.014s)
    -- To show where your file has been copied to, in the case of MacOS, it's in your /User/YourUserName, to show the folder, type:
    $ pwd (press enter)

    On Windows, type" 
     dir (press enter)

    -- To see the file size:
    $ ls -al 116df330-1637-4ff1-967b-23340e4f110e.fit

    In using my Garmin for 4 years, I never accidentially deleted a workout. I've had my Karoo 2 for 5 months, I've deleted 2x by accident.

    Okay, so my plea to Hammerhead.io is to do at least one of the following:

    1.) Make it harder to delete a file (the delete icon looks way too much like the "stop" icon). For example, make it red, and make the trash can fatter or something.
    2.) Make it easier to undelete (create an undelete / trash function). 
    3.) Don't allow deleting workouts from Karoo 2. What does it hurt to have them in the history? Nobody looks at that anyway.
    4.) Only allow deleting workouts from the cloud. This would keep them on the Karoo 2 device until some expiration time (4-6 months). The dashboard already allows deleting (from dashboard.hammerhead.io). It's the simplest solution to this problem. 

     

     

     

    0
    Comment actions Permalink
  • Avatar
    Anna Ronkainen

    The simplest simplest solution would be just moving the deletion confirmation to one of the two upper buttons. Now it is not difficult to delete an activity by accident whenever the screen is laggy and this creates a mismatch between what you meant to do and how the system understands it for your button presses in the save dialog, since both save and delete consist of just pushing the two bottom buttons in some order.

    I have so far only managed to delete one activity worth saving. It too was not in the usual location when I first looked, but somehow mysteriously it did appear there after I had shut the unit down and restarted it, so no adb necessary for me.

    0
    Comment actions Permalink
  • Avatar
    yen

    You do have to think when you stop a ride on the k2, to have the option to delete said ride, initially after stopping a ride just doesn't make sense to me. If you've just sweated ya ass off deleting a ride isn't part of my mindset I can assure you and you can be a little confused at times..

    0
    Comment actions Permalink
  • Avatar
    yen

    A bit like the Lap function, I certainly don't use these options so it may be good from a ideaological pov but practicality it's 💩..and begs the question, customisability of the unit and what you want on it rather that what Hammerhead want you to use and how to use it..

    0
    Comment actions Permalink
  • Avatar
    Anna Ronkainen

    I do use the delete ride function on purpose quite often, but pretty much exclusively after having started a ride by accident (or very infrequently just to test something), so restricting the delete function based on duration and/or distance (say 2 min/1 km) would also be a good safeguard. I think my old Polar even suggested deletion as the default when the activity was short enough.

    Oh, and my problem with the lap button is the opposite. When I do use it (which admittedly is a bit seasonal), it’s like every second ride that I miss the first lap because I have forgot that the button works differently in map screens...

    1
    Comment actions Permalink
  • Avatar
    Hunter Petersen

    Jim’s advice is still valid as of 08/2023 on Mac.

    1. Enable developer mode, enable USB debugging.
    2. Download Android file transfer for Mac.
    3. Change the USB mode on the Karoo from charging to MTP (media transfer protocol).
    4. You should then be able to access the files on the Karoo from your laptop and pull the fit file.

    If anyone from Hammerhead reads this, I had a ride that appeared to delete itself.

    Finished the ride.
    Got to the screen that asks for title/desc (includes the check mark or delete buttons)..
    I did not enter any info or hit any buttons, and definitely did not ever get to the “confirm delete” screen.
    Set the Karoo down without performing any actions and hopped in the river. Came back 10 minutes later, turned the Karoo on and the Home Screen came up and the ride was missing from the history.

    0
    Comment actions Permalink

Please sign in to leave a comment.