Hacking AKAIO completely fails...

DaMummy

Well-Known Member
OP
Member
Joined
Dec 22, 2007
Messages
1,265
Trophies
0
Age
37
Location
Cleveland
Website
Visit site
XP
202
Country
United States
ok so i have the rpg, have been using akaio since its 1.1 rls, am running 1.2, or was, everything worked perfectly fine....up until today that is...last changes i remember makin was tellin akaio to hide hidden files, so i turn on my ds, it boots the akaio firmware, i start to run mario kart(which has always worked no problem) the loading screen comes up, and loading completes, but rom doesnt start and ds freezes up, me simply thinking it was no big deal, ill just reboot it and get back to mario kart. wrong, i turn the ds back on, akaio doesnt load, says system file is missing, i try over and over and over...nothing, so i come home and plug my rpg into usb, only to find this in its contents...

windows says the 2 folders, which were the akaio and gba folder are empty(0 bytes) each, and the 3 files, which i cant match to anything since ive had more than 3 files in root of nand, but each of those 3 files say theyre slightly less than 4gb(=12gb all together) even tho nand is only 1gb, anyone have any idea if im fixable w/o loosing newest save files n stuff, ill wait for some comments from users and akaio creators until i just try formating and installing files again
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,212
Country
New Zealand
Nope not fixable without a reformat, sorry but your data is lost. This seems to have happened too someone else aswell but i'm blaming the nand for being unstable and the user for not making backups and keeping their filesystem clean
tongue.gif
 

VatoLoco

Don't crush that dwarf, hand me the pliers.
Member
Joined
Jan 29, 2008
Messages
2,330
Trophies
1
Age
52
Location
Ya Cant Get There From Here
Website
www.backwoodzstudioz.com
XP
3,035
Country
United States
I had a similar experience recently while trying to copy/paste a rom from AcekardRPG to my MMD slot-2 using DualSlotBrowser.

My RPG was all kewl, but the slot-2 got massively corrupted...gibberish style.

I make backups a least once a week, so no major loss.

I'm thinking mine was just a random error, not an AKAIO problem, though.
 

cory1492

Well-Known Member
Member
Joined
Jun 23, 2005
Messages
1,497
Trophies
1
Location
Home, WhereElse?
XP
335
Country
Canada
When writes fail HARD, they overwrite the FAT record with garbage (as seen from window's point of view in first post's image.) In some cases, this can even make a SD card go completely bad (to the point where absolutely no recovery tool can save it by reformat, thankfully that has only happened once to me with an el cheapo junk card.) But, one can always try a restore tool that does not rely on FAT being good... you may have to guess what the file names are later, but they should still be on there content wise and their sectors should be linked (though - using a forensic tool or similar to try and recover them would be a very long and boring process, better just to get the entertainment by playing the games again.)

I've had plenty of fun with bad FAT records while tinkering with dldi (low level read/write) code, all it takes really is a trashed pointer (which, if it's a bug in the loader's save patch/code is going to be are really big pain to reproduce let alone track down; thankfully that's not my job.)
 

Chri5

Well-Known Member
Member
Joined
Jul 4, 2008
Messages
122
Trophies
0
XP
59
Country
United States
way back when i had my r4 the microsd always went corrupt until one day it wen complete retard...
the reformat thing in windows wanted to reformat a 2gb to have only 32mb or something stupid like that so i sent it back to transcend and they sent me a new one.
biggrin.gif
 

Sweater Fish Del

Well-Known Member
Member
Joined
Jul 8, 2006
Messages
269
Trophies
1
XP
264
Country
United States
cory1492 said:
When writes fail HARD, they overwrite the FAT record with garbage (as seen from window's point of view in first post's image.) In some cases, this can even make a SD card go completely bad (to the point where absolutely no recovery tool can save it by reformat, thankfully that has only happened once to me with an el cheapo junk card.) But, one can always try a restore tool that does not rely on FAT being good... you may have to guess what the file names are later, but they should still be on there content wise and their sectors should be linked (though - using a forensic tool or similar to try and recover them would be a very long and boring process, better just to get the entertainment by playing the games again.)
But it should be pointed out that these worst cases you mention are pretty rare and the vast majority of the time, a table of contents corruption like this can be resolved by just running a simple Scandisk/chkdsk (for Windows, right-click on the drive in My Computer>>Properties>>Tools>>Error-Checking) and that will recover all the files. Files that were in subdirectories will even have their correct names, though anything in the root will have dummy names, which can be a problem if you have lots of saves or something like that that you'd never be able to figure out the original names for.


...word is bondage...
 

DaMummy

Well-Known Member
OP
Member
Joined
Dec 22, 2007
Messages
1,265
Trophies
0
Age
37
Location
Cleveland
Website
Visit site
XP
202
Country
United States
ok well i tried to do a check for errors and fix via windows, it said it fixed them, but now theres absolutely nothing in the root, but it says that the nand only has 15mb free.....???
 

cory1492

Well-Known Member
Member
Joined
Jun 23, 2005
Messages
1,497
Trophies
1
Location
Home, WhereElse?
XP
335
Country
Canada
Sweater Fish:
indeed, it is rare but unfortunately not entirely uncommon - apparently especially with RPG NAND. Once the FAT record is corrupt, windows has no way of getting the file names (unless the FAT mirror was used and is intact, though I have yet to see FAT0 and FAT1 have mirrored data.)

DaMummy:
Make sure you have "show hidden files" on in windows' explorer options, if it recovered files but couldn't name them properly they'd be in a hidden folder called "Found.000" or something similar, and would still be taking up space (could possibly be taking up the entire data area aside from the initial fat.)
 

Smiths

AKAIO Person of Interest TAGS ARE THE BEST
Developer
Joined
Feb 24, 2003
Messages
1,461
Trophies
2
Location
The land of Dairy Queen
Website
www.gamergeddon.com
XP
2,179
Country
United States
yep... the NAND can crash really badly.
Reset during a write of any sort and you're looking at hell.
I have compiling batch files set up to copy the output to my RPG and my AK2's SD... sometimes I forget the order it copies and remove the RPG before the copying is finished.
That usually corrupts the NAND.

The worst I had was that bricked RPG with unrecoverable NAND when I was initially doing the cheatDB Updating. A ZIP routine just went totally circular and destroyed the NAND.
 

cory1492

Well-Known Member
Member
Joined
Jun 23, 2005
Messages
1,497
Trophies
1
Location
Home, WhereElse?
XP
335
Country
Canada
Smiths said:
The worst I had was that bricked RPG with unrecoverable NAND when I was initially doing the cheatDB Updating. A ZIP routine just went totally circular and destroyed the NAND.
Still got that one by any chance? I like fixing NANDs via replacement when a home made programmer can't reset the blocks...
smile.gif
(not to mention AK denied my request for a sample way back when, I think they thought I wanted to review the thing as they said all review samples had been sent out - which, by the bye I have gotten the trac source for BBS 1.99 working on AK2, even have it loading a few commecial games (randomly works) now without extracting any loaders from other binaries
rofl2.gif
)
12092007349.jpg

Replacing the hynix or reprogramming definitely it wouldn't be terribly difficult
wink.gif
(though, whenever I see a hynix NAND or memory chip I always ask... why!!??!)
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,212
Country
New Zealand
cory1492 said:
Smiths said:
The worst I had was that bricked RPG with unrecoverable NAND when I was initially doing the cheatDB Updating. A ZIP routine just went totally circular and destroyed the NAND.
Still got that one by any chance? I like fixing NANDs via replacement when a home made programmer can't reset the blocks...
smile.gif
(not to mention AK denied my request for a sample way back when, I think they thought I wanted to review the thing as they said all review samples had been sent out - which, by the bye I have gotten the trac source for BBS 1.99 working on AK2, even have it loading a few commecial games (randomly works) now without extracting any loaders from other binaries
rofl2.gif
)



heheh, I take it you using the AKRPG SD loader code? if so i'm supprised it works on the ak2 at all. The saving certainly wouldn't not sure about roms though. If its your own patching code, Congrats.

QUOTE(Smiths @ Sep 13 2008, 12:49 PM)
Actually, I think I finally threw it out, sorry. AK sent me 2 RPGs and 2 AKs as replacements ... so there was no point in totally keeping it.

I've only gotten 2 RPGs and an AK2 for free. Trying to get me an AK+ so i can support it but acekard don't seem to have "any?!?!?!" at all, which i'm surprised to hear because you can't support a product you don't have any of to test things on.
 

DaMummy

Well-Known Member
OP
Member
Joined
Dec 22, 2007
Messages
1,265
Trophies
0
Age
37
Location
Cleveland
Website
Visit site
XP
202
Country
United States
ok i did the whole recovery thing, and windows is showing hidden files, but its not doing any good, its just 4gb worth of 32kb sized .chk files, so i guess its time to format it and start putting files in again, its only been 2-3 weeks since i made a .sav backup, so im kinda okay, thanks anyone for any contributing comments, smiths and normatt, perhaps this is something you two can look into for newer akaio releases, something that wont crash the nanad if rebooted during writing/loading?
 

GH0ST

Your Hero is a Ghost
Member
Joined
Dec 17, 2006
Messages
921
Trophies
0
Location
I was here... before...
Website
www.neuronball.com
XP
187
Country
France
Linux Gparted and other partition tools are just fine when windows fails for any disk.

Boot from a usb key ( or a cd ) . If the disk show on just use the partition tool to clean and delete all partitions on the drive, eventually rewrite the MBR, and after that you can format the raw card to fat16 or fat32 from windows disk management ( "diskmgmt.msc" )

I recover some microSD and even the nand memory of my RPG with it ( the card was zero sized in windows and 4 partitions under linux !). It was with AKAIO 1.1r2 Release but i think it was more likely related to the usb reader not really connected with the card... weird but the thing was new and i was too cautious to push enough since it was a little hard to plug forcefully now it works fine ...so... my bad !

My last attempt to backup my saves from SD to NAND gave me some random corruption with AKAOI v1.2 : four lost files ( 2x64k, + 256k + 512k saves files ) recovered after a chkdsk... BACKUP from PC is my best advice.

A bit off topic: did someone manage to read a EZ 3-in-1 extension with a G6lite usb reader ? Cory1492
wink.gif
?
(Nevermind ... after digging here and there ... )
 

cory1492

Well-Known Member
Member
Joined
Jun 23, 2005
Messages
1,497
Trophies
1
Location
Home, WhereElse?
XP
335
Country
Canada
AceKard and AceKard+ were their first two cards, as far as I know they didn't get around very far as no one really distributed them like current cards.
old review of AceKard: http://gbatemp.net/index.php?showtopic=39686

Smiths said:
Actually, I think I finally threw it out, sorry. AK sent me 2 RPGs and 2 AKs as replacements ... so there was no point in totally keeping it.
Damn. Ah well, keep me in mind if one of you manage to damage block 0 on another nand
wink.gif


QUOTE(Normmatt @ Sep 12 2008, 10:38 PM) heheh, I take it you using the AKRPG SD loader code? if so i'm supprised it works on the ak2 at all. The saving certainly wouldn't not sure about roms though. If its your own patching code, Congrats.
I'm not quite that ambitious, my asm knowledge is barely enough to recognize the commands in the asm gelu has been working on. I was indeed quite surprised to see it load anything (all I did really was change up the RPG stuff to use a dldi instead of the normal RPG only inits/code), as far as I can tell with the RPG loader even homebrew is going to be broken on ak2.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    the legal drinking age here in the US is 21, as some of you may know, but i think either it should be 18 or the age you're an adult should be 21.
    +1
  • BakerMan @ BakerMan:
    and i know what you may be thinking, "why become an adult at 21? doesn't that mean that banging an 18 year old would be illegal?"
    first of all, being in a relationship with someone who's 18 is technically ok, as long as it started when they were 18, but the age gap is still weird depending on how old you are. besides, the age of consent differs between different states
    +1
  • BakerMan @ BakerMan:
    also my reasoning for adult age being 21 is because the reason that's the drinking (and now smoking) age is because it "gives them more time to think rationally and not drive drunk"
    so you should have that extra time to mature and think rationally before going to serve in the military or vote
    +1
  • BakerMan @ BakerMan:
    tl;dr the "adult" age and the legal drinking age (and voting age) here in the US should be the same
    +4
  • Psionic Roshambo @ Psionic Roshambo:
    It's all good no one pays attention to the law anyway lol
  • BigOnYa @ BigOnYa:
    What about making kids wait till 18 or 21 to drive? And yea is messed up, you can join army and die for your country at age 18, but you can't drink alcohol or smoke a cig til 21, is ridiculous
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    If someone is in the military they should be allowed to smoke and drink at 18.... Would help drive recruitment lol
    +3
  • BigOnYa @ BigOnYa:
    We all know they do and will anyways. I think laws prevented them only pushes them to illegally do it. Even tho if was legal, most prob wouldn't even bother. Not a big deal or risque if its legal, no fun.
    +2
  • ZeroT21 @ ZeroT21:
    That's why some kids don't mind having a rap sheet or two just so they never get drafted
    +2
  • BakerMan @ BakerMan:
    also, i think the voting age should match the adult and drinking ages too, because by the logic of giving them time to mature and think rationally so they don't drive drunk, then they should also have that time to mature and think rationally so they can think for themselves
    +2
  • BakerMan @ BakerMan:
    fucking hell i'm becoming a mini leo with the way i yap aren't i?
    +1
  • impeeza @ impeeza:
    I was unable to create the VM for the debloat windows, but found the video where I learned it:

    https://www.youtube.com/watch?v=mZm6mY3I7J4
    +2
  • BigOnYa @ BigOnYa:
    No you def no leo, and I like your insight. You are a smart Baked cookie.
  • K3Nv2 @ K3Nv2:
    Chicken drumsticks and sweet potato for dinner tonight turned out good
    +1
  • BakerMan @ BakerMan:
    "i promise not to get all political and/or philosophical"
    3 drinks later:
    "so yeah think for yourself and i think the government sucks"
    +1
  • K3Nv2 @ K3Nv2:
    Is @BigOnYa drunk again
  • BakerMan @ BakerMan:
    no, i was poking fun at myself
  • BigOnYa @ BigOnYa:
    Again? I have a IV feeding me so I never come down.
    +2
  • BakerMan @ BakerMan:
    because self deprecating humor is important, as long as it doesn't turn into self hate. because you can't really make fun of anyone if you can't even make fun of yourself
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Booze enemas are real lol
  • The Real Jdbye @ The Real Jdbye:
    that explains a lot
  • K3Nv2 @ K3Nv2:
    @BigOnYa, invented the first ever pill that gets you instantly hammered, now filling the streets of Miami
  • BigOnYa @ BigOnYa:
    That was what called a qaaulude, instant drunk, luckily they not around anymore.
    BigOnYa @ BigOnYa: That was what called a qaaulude, instant drunk, luckily they not around anymore.