yashsingh1/xdaforums huggingface dataset:
[Nothing Phone 1] AnotherM1m:
You can download the fastboot rom from here:

Re*Index.Lab

Powered by GitHub Pages & Jekyll

reindex-ot.github.io

Script for the installation through the bootloader

GitHub - LukeSkyD/NP1-FLASH-ALL-SCRIPT: Script to flash fastboot rom to your NP1

Script to flash fastboot rom to your NP1. Contribute to LukeSkyD/NP1-FLASH-ALL-SCRIPT development by creating an account on GitHub.

github.com

If hard bricked, you will need the edl tool.
[Nothing Phone 1] dzjin:
Thanks for your answer! The Roms are in .7z and can be uncompressed to. zip but what's the reason for that? So you mean if I wipe the whole phone, flash 1.5.5 ROM with flash all script through Fastboot in bootloader mode that should take care of it and has worked for most users here? Also do I need to extract. Img files from payload.bin?
[Nothing Phone 1] AnotherM1m:
Inside the 7z file there's payload.bin already extracted to multiple images, which are flashed by the script. Yes that's the correct procedure.

You will need both the bootloader unlocked and critical partitions.

1.5.5 rom could be missing uefisecapp.img, download it from here

File on MEGA

mega.nz

And place it in the same folder you extract the fastboot rom.
[Nothing Phone 1] dzjin:
Dude, that's awesome, thanks a bunch! Can I just install Magisk and patch the stock boot.img and fastboot flash the boot like normal? I've read through the thread seems like a lot of users are running into issues. I'll boot into patched boot.img before just to be sure. I also guess I'll have to grab a EDL cable anytime soon just to be on the safe side. I know you can't be sure if you'll brick the damn phone or not. But did you brick yours and had to EDL the flashing process?
[Nothing Phone 1] AnotherM1m:
If you use the script i sent and not the ones included in the 7z file you'll be good.

The script flashes stock, if you want root i'll advise to boot magisk patched after flashing everything and then directly installing magisk through it's app (direct install)

Boot, not flash magisk patch so that you will be able to do ota updates without flashing back anything since magisk will make a backup of your stock boot.

Never had to edl... For now.

Let me know if you had any issue with the script, if something can get improved etc.
[Nothing Phone 1] dzjin:
Thank you friendo!! I'll do exactly just that run the flash all script you so kindly posted. If its missing uefisecapp.img flash that manually afterwards.

Aha so if I just boot into Magisk patch and run the Magisk install process I'll be able to even get OTAs without having to flash boot.img everytime. It's just uninstall Magisk before OTA and before reboot after installation of OTA. Then flash Magisk to inactive slot? I never got that process to work before because I flashed the patched Magisk boot.img on earlier versions last was 1.1.7. It was impossible to flash 1.1.8 hotfix. I flashed Paranoid instead.

I understand it all now thanks to you. Sure thing I'll keep you posted!

Thanks again, you my friendo you're a legend thank you so much for this. 🙏
[Nothing Phone 1] AnotherM1m:
The script won't start if all partitions are not in the correct folder.

I've made the script this way to avoid phones with broken partitions which were (and still are) a problem.

You'll have to separately download uefisecapp and the script, add them to the extracted rom and run the script.

Yes exactly, boot magisk patched, open magisk, direct install, reboot.

When ota updates will be available, before starting them, open magisk, select uninstall, then DO NOT COMPLETELY UNINSTALL IT, just select restore stock partitions.

Once done start the update, before restarting the phone, open magisk, install to inactive slot, reboot with magisk when prompted.

This can fail sometime, the phone will reboot after a while with the old stock fw.

Restart the update, reboot when prompted by the phone (you wont be rooted anymore) and when it's restarting boot to bootloader to boot the newer magisk patched boot. Direct install etc
[Nothing Phone 1] dzjin:
Alright buddy, I'll keep that in mind thanks. I'll do this tomorrow after work. I'm running the latest Paranoid Android. It is a really great daily driver. I just miss the NOS UI fonts etc, the "silent" ringtones and some other NOS features on this ROM. I'll post tomorrow after I've done the procedure. Thanks again dude!
[Nothing Phone 1] ManovSteele:
Do you have a patched version of 1.5.6 you could share please? My situation is like the above poster and I lost boot after it restarted and the update failed. I just updated via the OTA prompt now (seeing as I lost root already it didn't matter), but now I want to re-root as Google Wallet is detected my unlocked bootloader (or some leftover root) and I want to hide it!
[Nothing Phone 1] AnotherM1m:
Added 1.5.6 ota incremental, stock and magisk patched boot imgs

I had a bootloop after restarting the phone with magisk (flashed to inactive slot)

Reboot with the android updater, not magisk
[Nothing Phone 1] panni:
Huh. Interesting, I've _always_ rebooted using magisk in the past. How did you get out of the bootloop?
[Nothing Phone 1] AnotherM1m:
If you bootloop after a failed update, the phone automatically reverts to the older fw and boots normally (without root ofc).

I restarted the update, pressed reboot now, held vol down so that i could enter bootloader and booted custom boot 1.5.5 (even if i now was on 156).

Opened magisk, selected direct install and everything's fine.
[Nothing Phone 1] Pepousek67:
ÓK 1.5.6 All ok, thank you...

View attachment 5951971
[Nothing Phone 1] kornysolokorn:
How did you change status bar height?
[Nothing Phone 1] muppetz:
where to download incremental 1.5.6. OTA ?
[Nothing Phone 1] AnotherM1m:
First message of this thread.
[Nothing Phone 1] caffeine01:
i managed to get several partitions flashed and then working, namely

bluetooth

dsp

modem

but now im having an issue with the "odm" partition which is missing from the fastboot rom?
[Nothing Phone 1] muppetz:
Thank you !!!
[Nothing Phone 1] AnotherM1m:
Oh damn.

Other than fastboot roms we dont have other mirrors for full images...

But

In the meantime i've made a script to fully flash a fastboot rom to your phone

If you want (i would recommend a backup before) you could try with updating with a fastboot rom without wiping data

You would be the first one
[Nothing Phone 1] dzjin:
I couldn't find the flash-all.sh script on the Github all I found was the Windows .bat file available for download.

You've written Linux script still in development, does that mean you don't have it ready just yet? Or are you working out the quirks in it and there is a version of the script available?

The fastboot flash unlock_critical is a make or break command i'm really freaked out. I'm keeping my fingers crossed!
[Nothing Phone 1] Pepousek67:
I use NOVA launcher
[Nothing Phone 1] AnotherM1m:
Sorry the linux script is not ready yet!

In the bat file there is a list of partitions (aop abl ecc)

You can follow that to see what's to flash if you are able to
[Nothing Phone 1] dzjin:
Great Idea, thought it had to be in some specific way but thanks I'll do it now.

I will of course flash them exactly as they are entered in the bat file.
[Nothing Phone 1] Adrian312:
Hello. Anyone saw error 1 thru ota updater?

View attachment 5952241
[Nothing Phone 1] dzjin:
My dude!!! It worked like a charm!!! I'm exctatic, my bootloader_critical was already unlocked. I put the uefisecapp.img inside of the extracted folder and that did the trick. I flashed every img file manually and now all is well. I booted in to magisk_patched and installed Magisk and did a "Magisk needs additional installation". Magisk went ahead and rebooted and i'm currently rooted too.

What was weird though was I couldn't add my debit card to Google Wallet. Because it sniffed out that my phone was tampered with during the startup guide (I wasn't rooted even). But I'll handle that after i've restored everything with magiskhide.

Conclusion if you've got a guide telling what you can do have a Q&A for example "Can I flash Incremental through fastboot when on another ROM? "Yes do exactly this and download that and dont forget that you need uefisecapp.img" etc. So you won't need to repeat yourself constantly in the thread and exhaust yourself. You're legend! Many thanks I'm so grateful for your informative step-by-step guide. I guess i won't need that EDL cable after all!! Much obliged friendo!!!!!
[Nothing Phone 1] AnotherM1m:
Look at the engine error: error 20, some partitions are not stock.

You either are rooted and forgot to restore stock boot before updating or while flashing a fastboot rom some partitions where not flashed correctly.

follow this guide

GitHub - LukeSkyD/NP1-FLASH-ALL-SCRIPT: Script to flash fastboot rom to your NP1

Script to flash fastboot rom to your NP1. Contribute to LukeSkyD/NP1-FLASH-ALL-SCRIPT development by creating an account on GitHub.

github.com
[Nothing Phone 1] AnotherM1m:
Perfect!

You'll need to delete cache and data for play services, play store and google wallet, that should do the trick

Perfect, thanks for the feedback! i need to add a q&a section, i thought about it but the university exams are taking a lot of my time, i'll do it asap! Cheers
[Nothing Phone 1] Sluzy:
Hello, has anyone been able to install KernelSU on the Nothing Phone 1?
[Nothing Phone 1] dzjin:
Hey bro!!!

I understand you I'm sure you've got lots on your hands: life, uni and everything in between. It's normal it would be unhealthy otherwise. I'm so glad that you took the feedback so well.🙏 I'd hate to see you exhausting yourself with the same questions from users over and over again. 🙂

So I canceled the additional installation process in Magisk and did the direct install and it worked perfectly!

I also wiped data and cache in: Play service, Google play and Wallet. But it still gives me "can't add card because this phone might be rooted". This is very peculiar I never run into this issue before on Paranoid Android or Stock NOS v1.1.7(rooted).

When I flashed PA I was unrooted from the get go and I went through the startup wiz process with no wallet issues in PA ROM. Even when I rooted it on PA (Magisk Delta canary) using magiskhide, no zygisk and denylist there weren't any issues of using the wallet. I also went ahead and installed Lposed and Hide-My-Applist and it still worked flawlessly.

Could it be that since PA ROM is flashing some things in fastbootd mode too is the reason why the PA ROM is more Safetynet friendly? I don't know I'm talking through my behind here lol. 😂

Edit: [SOLVED] Installing Universal Safetynet Fix v2.4.0 by kdrag0n in Magisk and enabling zygisk got rid of the issue. I tested wallet to my flipper and it reads the card perfectly so it works. All is well!! 🙏😃

Cheers!
[Nothing Phone 1] caffeine01:
yo thatd be sick yea sure as long as i can back everything up (i.e working images and also the super parition) then id be happy to try update that way
[Nothing Phone 1] AnotherM1m:
A full backup can be done throgh the edl program here

Then, download the fastboot rom for 1.5.5, extract it in a folder

download uefisecapp from here and place it in the same folder

Do the same for this script, then run it.

When selecting the boot partition choose auto

Let me know how it goes, you shouldn't need to wipe after flashing,

If you want root you will need to download the magisk patched boot and boot it separately
[Nothing Phone 1] Adrian312:
I am rooted. Unfortunately magisk can't find stock image. I tried to boot with stock image from post#1 but no change. Also i tried to check if any partition is busted. But its not working. Yet i placed filed in the phone mem. And I just tried the suggested and it says I am missing 26 files :D is that possible?
[Nothing Phone 1] AnotherM1m:
If magisk is not finding stock boot you'll haveto flash stock and boot patched, not boot stock.

You have to place the flash all script inside the extracted fastboot rom folder, where all the img files are.
[Nothing Phone 1] caffeine01:
i use linux, i cant use the edl program so ill just dualboot, however, i can make a version of the flash all script for linux.
[Nothing Phone 1] AnotherM1m:
Tomorrow i will make one but if you want you could try following the bat file to replicate the commands

there are just checks and flashing commands for partitions, nothing special.
[Nothing Phone 1] Ma3str0:
Can someone who is already rooted check and list the available codes from

sys_secrecy_switch_list.xml

Or whatever it's now called
[Nothing Phone 1] 1stStep:
OK, please tell me where it is. find / -iname sys_secrecy* spits huge list of "No such file or directory"
[Nothing Phone 1] 1stStep:
Hi

Trying to update my rooted NP1 from NOS 1.5.5 to 1.5.6 on my own, I downloaded INCREMENTAL 1.5.6 FROM 1.5.5 then I adb pushed it to /storage/emulated/0/ota.

I still need help : is it the right first step?

Then I'll uninstall magisk with restore stock option, then use offline updater, don't reboot, then reinstall magisk to inactive slot then reboot? Right?
[Nothing Phone 1] 1stStep:
Hmmm, I did it the way above and it seems there is a problem:

When I uninstalled Magisk choosing restore image option, the application seemed to do the job but once done the GUI did not reflect Magisk was uninstalled (at least I don't remember), and at this point I was not prompted to reboot (normal? - I did not). Then I updated with the Nothing Offline OTA Updater and that ran OK until the end where I was prompted to reboot, what I did not. Instead I went back to Magisk and choose Install followed with Direct install (recommended), which succeeded until reboot prompt what this time I did. After longer than usual reboot I checked the version in Setting, it shows 1.5.6, fine :)

Although, checking at Magisk, it shows Installed release : Not available, and bottom Super User button is grayed (lost root?)o_O.

When I tap "Install" a single "Select patch target file" option is available that opens files browser where I choose Magisk-d390ca2f(26104) then Go. The log shows

...
- Processing zip file
! No boot image found
! Process error
! Installation failed

My bad: I guess I should select something else. The zip file I downloaded in ota folder on first step (https://android.googleapis.com/packages/ota-api/package/9b59f7c44dee9c7712b163af950a554d63950ff3.zip)? Right? Or Magisk Patched 1.5.6 instead ?
[Nothing Phone 1] 1stStep:
Or the workaround way is fastboot boot Magisk Patched 1.5.6 then "Direct install (recommended)" ? I wander what I made wrong ❓❓❓.
[Nothing Phone 1] AnotherM1m:
After updating you should not do direct install, but install to inactive slot.

Direct install is done in a normal context, not during updates.
[Nothing Phone 1] 1stStep:
Hi @AnotherM1m

So now I only have a single option in Magisk ("Select the target file for patch" (translation from french of my own)) and root seems lost, what is the path?

fastboot boot Magisk Patched 1.5.6

then ???
[Nothing Phone 1] AnotherM1m:
Then direct installation and you will boot rooted
[Nothing Phone 1] Ma3str0:
I looked everywhere. We need someone smarter than I to figure out how to access the secret menus
[Nothing Phone 1] 1stStep:
Hi @AnotherM1m

Many thanks, all is fixed. I know what drove me to mistake : I saw the option "Install in inactive slot (after OTA update)" but I did not choose it because I thought that as I updated with offline updater, the OTA option did not suit because OTA means Over The Air which implies Online, so OTA option was not the good one. There are pitfalls and non intuitive things in these little things.

Many thanks for help
[Nothing Phone 1] mGforCe:
Hello All, I am on 1.5.2, rooted.

Can I directly flash fastboot 1.5.5 full rom? Or need to go to 1.5.3, 1.5.3 hotfix, 1.5.4 etc.

Also, one has to flash the full fastboot rom on inactive partition, right?

PS: I would like to retain the data

EDIT: 29 Jul 2023

Ok, so was able to update from 1.5.2 to directly 1.5.5 using the fastboot rom.

Only challenge is that Magisk is not working even with patched file. Need to check more.
[Nothing Phone 1] BertProesmans:
You'd need a full install package, or a partitions backup from someone else.

What does the updater UI tell you? Best case it applies multiple incrementals at once.

Generally not many people will have experience with this because Nothing hasn't released (according to first page of thread) a full install package in a long time.
[Nothing Phone 1] mGforCe:
Thanks for the reply.

Aren't the fastboot rom here, at the full package?

Re*Index.Lab

Powered by GitHub Pages & Jekyll

reindex-ot.github.io

For me, being rooted, updater UI doesn't work.
[Nothing Phone 1] BertProesmans:
Yes, very high chance upgrading will work with those partition backups. The process is on your own responsibility, ofcourse.

Out of curiosity, what's the cause for the updater not working on your phone?
[Nothing Phone 1] mGforCe:
Not an expert here, but with rooted rom, there will be modified boot.img which leads to tripping of integrity check when ROM update happens
[Nothing Phone 1] AnotherM1m:
NOS 2.0 for NP1 has leaked and released online.

Since it's not official i wont be sharing this leaked ota here and i wont offer support until the real release.
[Nothing Phone 1] dav1234444:
I will flash it on my main and see how it goes
[Nothing Phone 1] g4seb:
Hi, is it ok for EU Phone ?
[Nothing Phone 1] AnotherM1m:
Hi, read the message again.

I will not offer support for the leaked update.
[Nothing Phone 1] dav1234444:
Yea so I updated but I don't like it
[Nothing Phone 1] dav1234444:
Yes I updated
[Nothing Phone 1] kinq06:
I'm trying to update Android 14 but i'm having error

error code -2: pre-build-incremental is different from ro.build.date.utc

I have to update it because i just did a stupid thing and i updated to leaked NOS 2.0.2 but i lost my service. So i have to get into this beta in order to rollback because my bootloader is locked and i can't see my device on fastboot. Would anyone help me please? :(
[Nothing Phone 1] lucy1983:
Why don't you use the EDL method to flash back 1.1.7 firmware and go from there with the normal updates untill 1.5.6?
[Nothing Phone 1] lucy1983:
And what do you mean by "lost my service"?
[Nothing Phone 1] kinq06:
It's telling no service, only emergency calls. I can get calls from vowifi but without it i can't use my mobile data. Do i have to open my phone's back for EDL Method?
[Nothing Phone 1] lucy1983:
No. If your phone is booting into system then you only need to use the command "adb reboot edl" while you are into the operating system. And then use the tutorial that you can find here on XDA to flash the 1.1.7 firmware.
[Nothing Phone 1] lucy1983:
https://xdaforums.com/t/unbrick-tool-edl-flash-read-repair-region-change-tool.4552471/post-88582567

This one. You only need to open the phone OR use a edl cable if the phone is NOT booting into system.
[Nothing Phone 1] kinq06:
Yes it is booting to the system. OH MY GOD I LOVE YOU. I'm gonna try it right away. I'll keep you posted.
[Nothing Phone 1] lucy1983:
I'm gonna sleep now because it's night for me. But will check out tomorrow. Read carefully the tutorial. The advantage of this method is that it does NOT require to have an unlocked bootloader. I use it all the time when I want to go back to stock from custom rom. Never failed.
[Nothing Phone 1] jenyasafronov:
Good afternoon. I ran into error 20 and can't beat it. I did a full firmware via fastboot. Stitched in sections a and b.

In the instructions, it’s neat

But I don't have partition.img file. In the firmware files there is only uefisecapp.img.

Where to deliver them, or how to do it to flash the phone and restore all partitions
[Nothing Phone 1] kinq06:
It worked like a charm! I was able to downgrade to offical version from leaked Nothing OS 2.0.2.

I still don't have service though. My phone is imei repaired and i guess i have to write imei again to fix this issue.
[Nothing Phone 1] lucy1983:
That's weird. Technically if your IMEI is displayed in "about phone" section you have celular connection and the phone should automatically recognize your provider as soon as you insert the sim.

Have you tried all the basic stuff like rebooting, reinserting the sim in another slot, resetting or checking the "apn" values are correct or resetting the network settings?

Also in the "about phone" section it is displayed your serial number along with the two IMEIs?
[Nothing Phone 1] lucy1983:
Did you make sure that you unlocked flashing in critical partitions before following the GitHub guide?
[Nothing Phone 1] kinq06:
Indeed it is weird. I can get calls through Wi-Fi but i can't use my mobile data. Imei is here, serial number is here and there's not any problem. As soon as i switch to only mobile data it says no service and only emergency calls. I'm on verge of going crazy. I already tried resetting, formatting and apn seems okay i turned it to default but it didn't help.
[Nothing Phone 1] lucy1983:
Do you have another phone to insert the sim in it and make a screenshot of the apn settings? And then compare it with those that are automatically selected when you put your SIM in Nothing Phone 1?
[Nothing Phone 1] kinq06:
It's identical. I think problem is modem.img is not writed properly when technician repaired my imei.
[Nothing Phone 1] lucy1983:
Then you can flash it manually from fastboot mode. But only after you unlock the bootloader and also the critical partitions (fastboot flashing unlock_critical I remember is the command for that). This will format the device, of course. But if you want you can lock it back after flashing the modem partition.
[Nothing Phone 1] quantummonk:
Hi, I am not a developer. My nothing phone 1 is showing installation failed everytime while trying to upgrade to 1.5.5 from 1.5.4. I saw the XDA forum where option of updating offline was mentioned. I have tried updating manually the 1.5.5 version but it does not work. I am attaching the screenshot of offline updater after I try to update to 1.5.5 using *#*#682#*#*. I am not very well versed with the developer jargons, so please kindly explain as if you explain it to a laymen. I am very frustrated with this situation and feel trusting nothing was a mistake as they do not even respond to such problems.

PS: I also tried changing the time zone to Shenghai, China.
[Nothing Phone 1] restrand:
it just got released, is there any file already??
[Nothing Phone 1] AnotherM1m:
Just updated the first post with incremental zips

Im on a holiday now so i wont risk updating without a pc in my hands, no boot imgs from me for now, sorry for the inconvenience

Edit: links updated, incremental from 1.5.6 was wrong.
[Nothing Phone 1] Pepousek67:
Kdo má uniklou beta 2.0.2 za nic (1)

můžete přejít z Beta 2.0.2 na oficiální 2.0.2!!

Moc děkuji za soubor!!!!

Opravný soubor:

Mod translation:

who has leaked beta 2.0.2 for nothing (1)

you can go from beta 2.0.2 to official 2.0.2!!

thank you very much for the file!!!!

patch file:

Nothing Phone (1) - Repo [ NOS ][ OTA ][ IMG ][ GUIDE ][ ROOT ]

Note: This is not a support thread for issues you may have with Nothing OS ROMs. If you need help installing or updating, feel free to ask here. If you have any other issues, please ask in another thread. Regarding problems with PHONE(1), you...

xdaforums.com

https://android.googleapis.com/packages/ota-api/package/3000f38fcc6276e73e754e3540b22eb7777dc29d.zip

View attachment 5988705
[Nothing Phone 1] DiogoPdC:
need the boot.img for the new update of nothing os 2.0 if anyone wants to help a brother out
[Nothing Phone 1] Shuyin10:
Any update file for EEA ? I dont have OTA for now :/
[Nothing Phone 1] AnotherM1m:
Update is unified for global and eea device: same file for every version.
[Nothing Phone 1] Colonel Torchere:
Has anyone tried running this script? Doesn't work for me, ends up with "ota.txt not found in /mnt/product/nt_log/*/ folder"