Git Product home page Git Product logo

nothing-phone-1-tools's Introduction

Nothing phone(1) tools

Collection of useful scripts for the Nothing Phone(1)

I made these two scripts to make the life easier to who has a bricked NP(1) or if you simply want a clean install of the OS!

DISCLAIMER:

I am not responsible for any damage you made to your device. You have been warned.

The flash_all script should work in most cases.

OS support:

  • macOS (x86 and arm64 support)
  • GNU/Linux (x86 and arm64 support)
  • Windows

Prerequisites:

  • Latest android-platform-tools installed for your OS

  • A Nothing phone(1) with unlocked bootloader running (or that was running) nothingOS <= 1.5.5

  • wget, curl, unzip and tar installed (macOS/Linux only)

  • Windows needs at least Windows 10 21H2 and powershell scripts enabled (Set-ExecutionPolicy Bypass)

Usage (Windows):

  • Download this repository

  • Run the download.ps1 script with powershell (Right click on the file > click "Run with Powershell")

  • Now you can proceed with the flash running the flash_all.bat file (this will obviously delete all your personal data)

Usage (macOS/Linux):

  • clone this repo using
git clone https://github.com/sh4tteredd/nothing-phone-1-tools.git
  • cd into the downloaded folder
cd nothing-phone-1-tools/
  • give execution permissions to all the scripts
chmod +x *
  • and first of all download all the entire firmware that you need using
./download.sh
  • if everything goes as expected, at the end your folder should be something like this:

Screenshot 2022-08-09 at 19 43 34

  • Now you can proceed with the flash using (this will obviously delete all your personal data)
./flash_all.sh

Your Nothing Phone(1) will reboot and it (shoud) be alive!

TIPS:

  • After the flash procedure, it may help wipe and format data from recovery.

TODO:

  • Fix super partition sporadics issues. On some cases it seems to "lock" the flashing directly to the dynamic partition (system, vendor etc...)

  • Maybe a GUI App to make easier for everyone

Credits:

Links:

nothing-phone-1-tools's People

Contributors

displax avatar fryupdoe avatar sh4tteredd avatar smdaa avatar svinayak780 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  avatar  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

nothing-phone-1-tools's Issues

Feature-Request: Backup all partitions of a rooted device.

There could be an option to backup as well, get su permissions and then just create snapshots, which can be restored later.

Just like we do in custom recoveries, having this here would be a huge +, since nothing one doesn't have custom recoveries support that well.

this script is only for nothing phone 1

./flash_all.sh
nothing phone(1) fastboot flash by @sh4tteredd

DON'T flash a nothingOS version lower than that one that's currently installed on the phone!

In order to gather all the files that we need, consider to run my other script available on https://github.com/sh4tteredd/nothing-phone-1-tools

Instead, if you already have the .img files, put all your files in a subfolder called 'images' to continue

Now connect your phone in fastboot mode to the PC via USB, then press enter to continue
This script is only for nothing phone(1)

2.0.X update

The download script have not been updated in a while.

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.