Heat olive oil in a pan over medium heat and add the onions. Saute until translucent. Add salt, chili flakes, cumin, and garlic flakes and continue to cook for 15 minutes. Add honey, vinegar, and pepper and cook until the onions are very soft and creamy (about another 15 minutes). Note: if it starts to stick try not to add more water or oil, just reduce the heat!