Coder Social home page Coder Social logo

angela-d / firmware_oneplus Goto Github PK

View Code? Open in Web Editor NEW
24.0 7.0 4.0 1.38 GB

Extract only firmware and radios from the official OxygenOS image for Oneplus 3, 3T, 5 & 5T devices to create flashable zip files for OTA updates on Lineage OS.

License: GNU General Public License v2.0

Shell 100.00%
oneplus3 oneplus3t oneplus5 oxygenos lineage-device lineageos microg oneplus5t

firmware_oneplus's People

Contributors

angela-d avatar joelpet avatar koenkk avatar onenormalusername avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

firmware_oneplus's Issues

Add the 6T

Hello,

is it possible to add the 6T? Or is the Zip/Firmware to different.
I would invest some time, but i never worked with such stuff before.

Git clone takes ages because of big files in the history

If you do a git clone from scratch, it takes ages because it has to downlaod hundreds of MB of files that used to be in this repository (and still are because they are in the git history). It would be nice if you could either alter the git history removing those files or at least mention it in the README.

Personally I cancelled my git clone after a minute because it took too long. Then I used:

git clone --depth=1 https://github.com/angela-d/firmware_oneplus.git

so that it only downloads the files contained in the latest commit. You could mention that command in the README.

Other than that, I love it and it worked great for me.

One more question: Can you tell me what this update-binary file is and what this part of the original updater-script does?

ifelse(msm.boot_update("backup"), (
package_extract_file("firmware-update/cmnlib64.mbn", "/dev/block/bootdevice/by-name/cmnlib64bak");
package_extract_file("firmware-update/cmnlib.mbn", "/dev/block/bootdevice/by-name/cmnlibbak");
package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hypbak");
package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tzbak");
package_extract_file("firmware-update/abl.elf", "/dev/block/bootdevice/by-name/ablbak");
package_extract_file("firmware-update/keymaster.mbn", "/dev/block/bootdevice/by-name/keymasterbak");
package_extract_file("firmware-update/xbl.elf", "/dev/block/bootdevice/by-name/xblbak");
package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpmbak");
), "");

Are these optional or do they serve a special purpose?

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.