简体   繁体   中英

Make a system app Android

I'm coding an Android Application to activate the Warranty of my Company's Phone automatically

  • Bootupreceiver : Call Khoidong.java Service when Phone Boot Up
  • Khoidong.java service: Send data (Imei, Model) to my Server

Everything works ok. (User App) I want to make it to system app for factory reset it still there

I sent my APK to the manufacturer and asked they to add my apt to system/app

They sent my a firmware that included my apt in system app. But it don't work.

I try to copy my apk myself to system/app. it works fine when I restart. But when I factory reset the phone, the phone boots up, my app force closes.

Can anyone help me please.

System apps are baked into the ROM image, and signed with the same key the ROM was signed with, giving them extra access to the system.

You cannot add a new system app on the same level without updating the ROM image of the device, and even then you'll need the OEM key to sign your app and you will have to request them to include it in their ROM.

Having a rooted device allows standard apps to gain extra access without being system apps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM