Heat some oil in a pan and shallow fry eggs and potatoes till golden brown.Keep aside.
take a small bowl take all the dried masalas and our some water make liquid paste and keep aside.
Now heat some more oil and saute onions and green chili till golden brown,then add ginger-garlic paste and cook it till the raw smell gone.Now add the masala paste,tomato,salt,sugar 1/2 cup of water mix it well and cook it for 5-10 minutes or till the masala release oil.
Now add fried potatoes,eggs and water 1-2 cups(according to your preferance about the gravy) give it a good stir,let it cook for another 10-15 minutes.
Then,Serve with steamed rice or any kind of pulao or fried rice.