Help with deleting an error.

  • Thread starter 787bcgr
  • 12 comments
  • 1,073 views
784
United States
Florida
CG3284
Hey guys, in my app, I have an error track. I've tried deleting it but the app won't erase it. Any ideas?
QuickMemo+_2015-11-06-19-08-41.png
 
What did you do to get it?

I think you need to manually delete it from the data/data/jp.co.polyphony.GTCourseMaker/files/ -folder.
I think I was editing a track and accidentally exited without saving the changes.
 
I think I was editing a track and accidentally exited without saving the changes.

I have three of those :( It happened when I switched to another application (like google to check the real circuit length) without saving the track in Course Maker. When I switched back to the CM it started with the PD logo and the track I was making changed to an error.
 
@787bcgr
@508920

Deleting the corrupted course files from the data/data/jp.co.polyphony.GTCourseMaker/files/ -folder most likely gets rid of them.

And if either of you can provide those corrupted files here, I could take a look at them and possibly fix them (In case you lost some work there).
 
@787bcgr
@508920

Deleting the corrupted course files from the data/data/jp.co.polyphony.GTCourseMaker/files/ -folder most likely gets rid of them.

And if either of you can provide those corrupted files here, I could take a look at them and possibly fix them (In case you lost some work there).
Is root necessary for that method?
 
Is root necessary for that method?
Yes, BlueStacks comes rooted, smart devices not rooted initially, The first thing I do with a device though, once in possession. I use Root Explorer as my goto file/folder manager.
 
Yes, BlueStacks comes rooted, smart devices not rooted initially, The first thing I do with a device though, once in possession. I use Root Explorer as my goto file/folder manager.
I have to look up how to root my device then. Thank you all for the help.:cheers:
 
@787bcgr
@508920

Deleting the corrupted course files from the data/data/jp.co.polyphony.GTCourseMaker/files/ -folder most likely gets rid of them.

And if either of you can provide those corrupted files here, I could take a look at them and possibly fix them (In case you lost some work there).

I've searched through every folder in my phone (I installed the course creator with an .APK) but couldn't find it. Neither on my SD card nor Internal memory.

Any other solution?
 
I've searched through every folder in my phone (I installed the course creator with an .APK) but couldn't find it. Neither on my SD card nor Internal memory.

Any other solution?

That's because you need to have rooted device in order to browse into that folder using your android device. If you don't want to root your device, there is an alternative way which is a bit more complicated but works just fine.

With adb, you can backup and restore your apk/data.

1. Backup
Backup command: adb backup -noapk jp.co.polyphony.GTCourseMaker
You will get backup.ab file which contains the track files.

2. Edit
2 A) Extract and modify
Now you need to delete the track(s) which is/are corrupted. That backup.ab file is zlib compressed so you will need to decompress it in order to edit it's contents. Compressed data starts at 0x18. After you've got it decompressed, you can extract it with for example winrar, just rename the decompressed file to have the extension *.tar and double click it.

The track files will be in path apps\jp.co.polyphony.GTCourseMaker\f. You can just directly modify what you want.

2 B) Packing
So, now you will need to get the modified files back into backup.ab file/create a new one. Would be nice if you could just drag and drop them back to winrar but you can't because it handles the slashes in the way that android won't be able to read them. Now this is where bsdtar can make a tar file which android can read. After you've got the tar file made, you will need to compress it and add the android backup header.

3. Restore
Restore command: adb restore backup.ab
Will restore the backup.ab file back to your android device.

Now to make step 2 a bit easier:
You can download my Decomp_Comp.exe from here along with little video tutorial:
https://www.gtplanet.net/forum/thre...k-limit-at-least-on-tpe.336947/#post-11039329


Remember to take a copy of the original backup.ab file in order something goes wrong.
 
Back