inception: Hands-off auto-configuration tools for android

Search This thread

tgalal

Member
Jul 27, 2014
24
110
33
github.com
Inception is a set of tools for auto configuring android devices. You can do the following:
  • Include any apps to be (pre)installed
  • Remove any stock apps
  • Root the device
  • Install busybox
  • Configure Wifi networks
  • Generate all device settings
  • Patch APKs
  • Replace Kernel, and/or ramdisk data in both boot and recovery imgs
  • Place your adb keys, configure USB debugging

You specify all this in a JSON config file. And then inception creates the following depending on what you specify in your configuration:

  • OTA Update Package that applies all your changes once installed
  • Modified recovery img
  • Modified boot img
  • Cache img that bundles the update package and instructs android to install it once in recovery
  • Odin flashable tar.md5

With the right configuration, you can also generate auto-root update packages, or update packages that just install busybox, or both.
Code:
incept autoroot --code samsung.degaswifi
or
Code:
incept busybox --code samsung.degaswifi

Or out of a stock recovery img:
Code:
incept autoroot --code inception.device --recovery /path/to/recovery.img

Inception does not create a full system image or compile roms. It bundles only the required changes in an Android update package and generates an update script which applies those changes. This results in update packages that are substantially smaller than when flashing a whole ROM.

As an output example, I posted this Samsung SM-T230 auto-root package, and another Samsung SM-T113 auto-root package that were both generated using inception.

Full source code for inception and installation instructions are available here: https://github.com/tgalal/inception

Please post feedback/questions/problems here

XDA:DevDB Information
inception, Tool/Utility for all devices (see above for details)

Contributors
tgalal
Source Code: https://github.com/tgalal/inception


Version Information
Status: Testing

Created 2015-06-11
Last Updated 2015-06-11
 
Last edited:

aIecxs

Senior Member
Feb 17, 2016
1,658
472
gitlab.com
i have a file %USERPROFILE%\.android\adbkey.pub in windows, how to incept into /data/misc/adb/adb_keys with odin? (Samsung Galaxy Tab 3 Lite SM-T113)
where exactly place the key? is this a JSON config file?
Code:
{
    "update": {
        "adb": {
            "__make__": true,
            "keys": [
                "PUBLIC_KEY_DATA_1",
                "PUBLIC_KEY_DATA_2"
            ]
        }
    }
}
edit: found the README.md but it is a lot of information. can you please post minimal steps how to create a tar.md5 from adbkey.pub?
1. install linux
2. add packages (requirements)
3. download and install inception (at this point it fails with exit 1 older version of dulwich)
4. incept bootstrap?
5. pass the adbkey.pup to json?
6. incept make?
7. generate odin package??
8. ... ?
 

Attachments

  • setup.log
    23.9 KB · Views: 55
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Inception is a set of tools for auto configuring android devices. You can do the following:
    • Include any apps to be (pre)installed
    • Remove any stock apps
    • Root the device
    • Install busybox
    • Configure Wifi networks
    • Generate all device settings
    • Patch APKs
    • Replace Kernel, and/or ramdisk data in both boot and recovery imgs
    • Place your adb keys, configure USB debugging

    You specify all this in a JSON config file. And then inception creates the following depending on what you specify in your configuration:

    • OTA Update Package that applies all your changes once installed
    • Modified recovery img
    • Modified boot img
    • Cache img that bundles the update package and instructs android to install it once in recovery
    • Odin flashable tar.md5

    With the right configuration, you can also generate auto-root update packages, or update packages that just install busybox, or both.
    Code:
    incept autoroot --code samsung.degaswifi
    or
    Code:
    incept busybox --code samsung.degaswifi

    Or out of a stock recovery img:
    Code:
    incept autoroot --code inception.device --recovery /path/to/recovery.img

    Inception does not create a full system image or compile roms. It bundles only the required changes in an Android update package and generates an update script which applies those changes. This results in update packages that are substantially smaller than when flashing a whole ROM.

    As an output example, I posted this Samsung SM-T230 auto-root package, and another Samsung SM-T113 auto-root package that were both generated using inception.

    Full source code for inception and installation instructions are available here: https://github.com/tgalal/inception

    Please post feedback/questions/problems here

    XDA:DevDB Information
    inception, Tool/Utility for all devices (see above for details)

    Contributors
    tgalal
    Source Code: https://github.com/tgalal/inception


    Version Information
    Status: Testing

    Created 2015-06-11
    Last Updated 2015-06-11