Indonesian here, electronics are everywhere yeah, especially Chinese-made. But the law leans a lot on protectionism, if you try importing one you'll be subject to 10% tax on customs and "other fees".
If you try to import a phone, you'll also have to pay additional fees to "activate" the IMEI, otherwise you won't be able to connect to local cellular providers.