Giter VIP home page Giter VIP logo

msm8974-mobian's Introduction

mobian-recipes

A set of debos recipes for building a debian-based image for mobile phones, specifically targetting msm8974 Phones.

The default user is mobian with password 1234.

Build

To build the image, you need to have debos and bmaptool. On a debian-based system, install these dependencies by typing the following command in a terminal:

sudo apt install debos bmap-tools android-sdk-libsparse-utils xz-utils f2fs-tools

Do note that the debos provided in Debian 10 (Buster) is not new enough (it will error out with "Unknown action: recipe"), the one in Debian Bullseye works. If you want to build with EXT4 filesystem f2fs-tools is not required.

The build system will cache and re-use it's output files. To create a fresh build remove *.tar.gz, *.sqfs and *.img before starting the build.

If your system isn't debian-based (or if you choose to install debos without using apt, which is a terrible idea), please make sure you also install the following required packages:

  • debootstrap
  • qemu-user-static
  • binfmt-support
  • squashfs-tools-ng (only required for generating installer images)

Then simply browse to the mobian-recipes folder and execute ./build.sh.

You can use ./build.sh -d to use the docker version of debos.

Install

Connect your phone on fastboot mode into your computer, and type the following command:

fastboot flash boot <boot>
fastboot flash userdata <root>

Note: Make sure to use the actual image, not <root> / <boot>.

CAUTION: This will format the device!!!

Contributing

If you want to help with this project, please have a look at the roadmap and open issues.

#mobian:matrix.org.

License

This software is licensed under the terms of the GNU General Public License, version 3.

msm8974-mobian's People

Contributors

davidebangelista avatar fakeshell avatar

Stargazers

J.V.B. avatar Hany Zaher avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.