Originally Posted by bamsbamx
but i suppose... if we boot the complete kernel with recovery and copy it to the ram memory, we could flash flash the partition where recovery is insatelled...am i wrong??
That sounds plausible to me. Just like you can run some Linux distributions live off a USB drive and then remove (or format the USB drive) - only certain ones like Puppy linux can do this though, they have to run from RAM like you're saying. Another option might be to copy the recovery (or necessary files) to the cache partition (if there is enough room) so that the recovery isn't dependent upon that partition so it can be wiped/reflashed. I'm not familiar enough with this level of Android development to know how hard this might be though - but I think it should be possible.
But it would be dangerous... if something goes wrong and your device fails in the middle of the process, the partition may be hosed, in which case you might not be able to boot at all (not into recovery or normally). You'd be hosed until you get to a computer to flash a firmware or kernel, making flashing away from a computer dangerous anyway.
So it's probably more error-prone and more hassle to implement for such small reward (it just takes one extra step with a computer to flash a kernel).
HTC One (AT&T) - HTC Developer ROM
Xperia Play (AT&T) - Custom CM10 (previously used Gin2Jellybean)
Nexus One (AT&T) - CyanogenMod (Gingerbread)
NVIDIA Shield (Tegra 4)
OUYA (Tegra 3)
Notion Ink Adam (Tegra 2 w/ full APX mode access)