Giter Club home page Giter Club logo

b2g-misc's People

Contributors

geekshadow avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

b2g-misc's Issues

Make a script to add ringtones

Currently, it's not possible to define those using an application.
So I was thinking of making a script to allow an user to add those without build/reflashing the device.

This script will involve ADB.

Steps would be:

  1. start ADB as sudo
  2. do adb remount
  3. retrieve (pull) application.zip (of settings or clock)
  4. unzip
  5. modify list.json or index.html to include/remove the new file
  6. copy/delete the file in the right folder
  7. zip
  8. upload (pull) application.zip (to replace the old one)

The parameter of script would be a song file.
A later version would be nice to encode file in right format as B2G currently seems to only accept Ogg/MP3/Opus with Mono sound (Stereo doesn't get accepted).

Several improvements

  • adb remount && adb push system/...
  • unzip just files needed like json & update zip instead of rezip everything

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.