mining Cryptonote currency on scrypt and sha-256 miner
Not possible.  Monero uses the Cryptonight hash algorithm which is distinct from scrypt and sha-256.  However, you should be able to find other CPU mining implementations for this algorithm.  The place to ask would be https://monero.stackexchange.com.