yashsingh1/xdaforums huggingface dataset:
[Nothing Phone 2] Kylewolf:
I ended up using the edl tool and just sending it in, I likely could of updated it to be safe, but they have already started on the repair so it should be fine! Excited to get it back and throw this oneplus 9 pro with it's 4 hour batter life back in my shelf. I forgot how amazing the battery life on the nothing is.
[Nothing Phone 2] dlads:
Ah well that's good news, so EDL works regardless what you're on, that's good to know.

And lol yea I've got a OnePlus 10 pro constantly waiting for me to use it if anything goes wrong with the phone.

Really glad the tool worked for you mate, hopefully they don't take too long with your device.

Cheers 👍🏼
[Nothing Phone 2] Kylewolf:
Even better news, they just sent me a brand new device in the box with cable ect. Could not be happier with my decision.

Coming from oneplus it's absolutely night and day.
[Nothing Phone 2] dlads:
There's superb news..

Really happy for you mate 👍🏼
[Nothing Phone 2] Kylewolf:
potentially really stupid question, but I only ask because your guide specifies a specific magisk version, but should I be updating the magisk app or am I asking for trouble. I remember in the past I had a v30 that bootlooped after updating it. View attachment 6072973
[Nothing Phone 2] simdll:
I updated magisk to version 27 without any problems. You update the app first, then magisk with the recommended options (Direct installation).

No problems with NOS 2.5.1.A
[Nothing Phone 2] ffejy462:
It's safe to update to 27.0.
[Nothing Phone 2] dlads:
Yes feel free to update, once you have it'll offer you a direct install for the boot image in use.

Feel free to install it.

Bottom one first then top 👍🏼
[Nothing Phone 2] irmas5:
I unlocked bootloader. And now a bit confused, I want too flash custom rom, what steps should i follow? Just follow steps on the rom thread? And then how to root on custom rom? Thank you in advance.
[Nothing Phone 2] dlads:
Rooting just uses a boot image, so obtain the boot image from whatever ROM you want then patch it, then boot it.

In regards to installation, they do vary so yes I'd advise to follow the OP in whatever ROM you choose to install.
[Nothing Phone 2] irmas5:
Thanks. I flashed banandroid, then adb sideloaded ofox, and rooted with magisk.zip
[Nothing Phone 2] dlads:
That's one way of doing it..

Personally I prefer to patch it myself...then I've got a copy of it should I wipe or make a big change.
[Nothing Phone 2] phoe zay:
How to relock bootloader?
[Nothing Phone 2] dlads:
Use EDL (Nothing flash tool) to go back to pure stock then relock it.
[Nothing Phone 2] phoe zay:
Can i flash fastboot method to relock bootloader

I have no edl cable
[Nothing Phone 2] dlads:
You don't need the EDL cable if your phone is working. Have you you read the flash tool thread yet?

Nothing Phone 2 Unbrick Tool.

Credits: Nothing Community Telegram Group For any questions please feel free to directly message me. CLICK HERE TO MESSAGE ME Qualcomm HS-USB 9008 Drivers For download related errors you can Message me. For EDL cable tutorial...

xdaforums.com
[Nothing Phone 2] kocso:
Hello!

I apologize in advance if I am asking something that is completely clear to those here. I'll be honest, I didn't read all 33 pages of comments. If anyone knows where I can find the answer to the question, I would be grateful. Or if someone could describe it briefly, especially.

What I would like to ask for help, i have: Nothing Phone 2, open bootloader, magisk root, Magisk 27.0, NOS 2.0.3

I rooted with first post (https://xdaforums.com/t/guide-unloc...d-patched-boot-images-model-a065-eea.4605979/)

I would like to update NOS 2.5.2, but I can't. Can someone describe the exact steps?

Thank you in advance for your support and have a nice evening!

(sorry my english)
[Nothing Phone 2] theq86:
I haven't been in android hacking for almost 10 years. Tried to recap some new knowledge, especially about A/B devices and GKI kernels, VerifiedBoot and all the things that came out the last recent years.

I also read magisk installation instructions and I wonder, why the boot.img is used to get patched on the NP2 when it should actually be a device with GKI 2.0 and thus should have an init_boot partition containing the generic initrd. Those devices, according to magisk should be patched by the init_boot.img because magisk patches some things in the ramdisk and on those GKI 2.0 devices boot.img does not include ramdisks anymore.
[Nothing Phone 2] dlads:
So the update method is also in the OP.

In short you've simply altered one partition, the boot image and you've replaced the stock one with a patched variant (patched with magisk)

So in order to update you should revert back the changes you made....so all you need to do is find the stock 2.0.3 boot image then accept the update.

It should work as expected from there.

If it doesn't then for whatever reason a change has remained, so if it were me (I've been in that situation before)

I would flash the phone using the Nothing flash tool.. it will install stock 2.0.3 then you can update.

Bare in mind the second method (nothing flash tool) will wipe your whole phone.
[Nothing Phone 2] dlads:
Not too sure buddy...maybe KSU uses Init, NP2 for whatever reason does not and I'm happy about that... Keeps it simple for me.
[Nothing Phone 2] theq86:
Okay so this is official google documentation vs real devices in the wild 😀

Generic boot partition | Android Open Source Project

source.android.com

Though NP2 is a device initially shipped with A13 Nothing obviously still uses the A12 format for boot partitions. NP2 has no init_boot partition and that means boot.img contains also the ramdisk.

So my confusion is solved
[Nothing Phone 2] Neisim:
Hey folks!

Just received the phone and it's amazing! I've been reading a little bit about rooting this last days, and I have some doubts. Let's see if you can help me:

- Rooting makes the OTA update process risky. Can I flash the update from the official thread with the nothing flashing tool? If I do so, I guess I'd need to root again and apply all the changes I did. Is that correct?

- What about banking apps and wallet after rooting? Any issues?

My main goal to root is to change the font.

Thanks in advance!
[Nothing Phone 2] dlads:
Rooting is simply manipulating the boot image on the device, booting it then installing directly once you have access (OP has all boot images, stock and patched)

Wallet works if you get the play integrity fix installed, nothing to do with root, it's the unlocked bootloader that breaks it..

Mine works, just need to get a working pif.json file.
[Nothing Phone 2] Neisim:
Thanks mate! Sorry, I'm a noob in the modding scene...If I understand correctly then, rooting and unlocking bootloader are independent, meaning I can root without unlocking the bootloader? Is that correct?

I just want to understand everything before doing anything.

Thanks again mate!
[Nothing Phone 2] theq86:
They are different things but not independant from each other. You can unlock the bootloader without rooting but not vice versa.

You need unlocked bootloader in order to be able to flash the patched boot images.

Also the android kernel checks bootloaders lock state to allow/prohibit specific actions and even the kernel itself gets prohibited specific actions by lower level firmware parts, if bootloader is locked.
[Nothing Phone 2] Neisim:
Thanks mate! I'll check the play integrity fix

OP, like the pif file. Thanks @theq86 for the information!
[Nothing Phone 2] dlads:
Yea you basically need to unlock the bootloader in order to modify your phone, that's simply an access thing...then writing / booting new images is open to you...

Root, kernels, recovery, super images.

Without unlocking the bootloader, none of this would work.
[Nothing Phone 2] zozo932:
where i can have the boot of Nothing os 2.5.2
[Nothing Phone 2] dlads:
In the OP
[Nothing Phone 2] cdpa:
Hi guys. Does anyone have the stock image V2.5.2?
[Nothing Phone 2] theq86:
Sorry mates but can't anyone read fully at least the OP and the most recent 5 posts?

You'll find all the stock AND patched images up to 2.5.2 reading the OP. And @cdpa you could have found that out by looking over the last couple of posts ;-)

edit: 2.5.2 is just available patched, sorry.
[Nothing Phone 2] cdpa:
I've been searching and I only see stock up to V2.5.1 that's why I'm asking.
[Nothing Phone 2] theq86:
Oh, my bad. I see 2.5.2 is just available as a patched image. Sorry ;-)
[Nothing Phone 2] cdpa:
Please if someone can upload the stock image V2.5.2 I will be grateful 😀
[Nothing Phone 2] theq86:
Sure, since that goes on me 🙃

2.5.2 STOCK

source: Pong_U2.5-240116-1446-image-boot.7z

credits to @spike0en
[Nothing Phone 2] cdpa:
Thank you so much 💪
[Nothing Phone 2] Neisim:
@dlads may I ask you what else has to be done besides installing the play integrity fix? I've been reading the OP, but couldn't figure out the extra work you mention in the first post. Thanks mate!
[Nothing Phone 2] dlads:
Tbh it's something you have to find out yourself... It's to do with a pig.json file, the fingerprint is unique in each device, so if they're shared and one fails then they all fail if we're all using the same one.

For that reason it's something no one can really do for you, ideally obtaining your own pif file is beneficial, the people who've done that have lasted longest (wallet still works)

The integrity thread is the place to be, try some older versions for the fix. Lot of info there 👍🏼
[Nothing Phone 2] Neisim:
Ah, I see! This is the kind of info I was looking for. Thanks for the hint mate!
[Nothing Phone 2] simdll:
This is the stock NOS 2.5.3 boot image (requested from Nothing support, and extracted from payload.bin with payload dumper go. Original file name: "merged-qssi-Pong-otafull-20240327_214027")
[Nothing Phone 2] PhantomApollyon:
No issues updating and re-rooting here. 2.5.3 patched boot image attached.
[Nothing Phone 2] dlads:
I couldn't update on nothing much ROM... Just failed
[Nothing Phone 2] simdll:
You have Magisk 27.0, right?

I'm sorry, now I read the file name
[Nothing Phone 2] PhantomApollyon:
Would you expect to be able to take a stock OTA on a non-stock ROM? I don't see how that would ever work.
[Nothing Phone 2] dlads:
It's extremely close to stock, someone told me it should work which made sense to me... Guess not
[Nothing Phone 2] PhantomApollyon:
Yea - Though my dev knowledge is from early Android days, I don't see any way that would ever really work. Even a different build name would likely cause something to fail, let alone different packages and what not.
[Nothing Phone 2] dlads:
No idea mate... Tbh it's neither here nor there.

If it was a fully custom ROM like PA or otherwise then yea I'd never assume it'd work..but NM ROM is basically stock, his only modification is the super.img

Everything else is stock, I certainly questioned it but thought maybe
[Nothing Phone 2] kurskoo40:
Dudeeee you're like the hero we need! Thanks!
[Nothing Phone 2] dlads:
OP UPDATED: Stock and patched images available, i pinched your one @PhantomApollyon thanks for that.

96 MB folder on MEGA

mega.nz
[Nothing Phone 2] dlads:
Also I had updated to 2.5.3 and then installed CR Droid, wanted to go back to stock so used edl tool as it's easier tbh...

Please be careful if you use it, it's got a problem on 2.5.3 and you'll end up in a persistent crash dump.

Just be careful 👍🏼
[Nothing Phone 2] mvikrant97:
In case anyone faces a problem to restore their device with NOS 2.5.3 all you need to do is downgrade to older version like 2.0.3 and then flash the phone with the updated tool and it shall fix your issue.
[Nothing Phone 2] drieg:
Hi all,

Trying to follow this guide but having an issue.

The device is recognized by adb, reboots to fastboot when using 'adb reboot bootloader', but when trying to run 'fastboot flashing unlock' it seems like this command is not supported.

What am I doing wrong?

Thanks in advance!
[Nothing Phone 2] buu'buu:
Hi,

you must download and use the latest fastboot directly from Google.
[Nothing Phone 2] drieg:
Thank you for your response.

Getting the exact same result with the latest fastboot
[Nothing Phone 2] buu'buu:
Is OEM unlocking enabled in developer settings?

View attachment 6092090
[Nothing Phone 2] dlads:
Are you using the fastboot / adb files from the OP ? Also the driver is in the OP too although there may be updates since then..

Make sure you're following each step plus it's pre requisites, so can you type fastboot reboot when in fastboot...does it reboot? If so then it'll be due to OEM unlock not being turned on.

What windows version are you using?

Also when you type fastboot click tab thereafter and you'll see the word change to fastboot.exe then press space and continue typing the rest of the command..

Just check that doesn't work. If it does then that happens on mine too.
[Nothing Phone 2] drieg:
OEM unlocking is enabled

when in fastboot, fastboot reboot works fine..
[Nothing Phone 2] dlads:
Ok then that's quite odd.

Try the tab feature to show the exact name of the fastboot exe file.

Beyond that, change cable, change laptop / pc, use power shell instead of CMD.

We could troubleshoot the crap out of it but switching to another device could just be easier.

Least youll know it's not your phone.

What OS are you on ATM? 2.5.2 2.5.3?
[Nothing Phone 2] drieg:
Running 2.5.3

I will try with a different laptop later today. Thanks!
[Nothing Phone 2] drieg:
I've managed to unlock bootloader. It was a driver issue, it worked after uninstalling and reinstalling the drivers.

Thanks a lot for your help @dlads and @buu'buu , much appreciated!

I have another question, as you can see I am a wee noob :)

I think I am on global version, not eea. Can I skip the payload dumper part and just boot to the 2.5.3 patched img in this guide?
[Nothing Phone 2] buu'buu:
Try to boot with 2.5.3 boot img

fastboot boot "name_of_253_patched.img"

If your nothing pass boot, you can flash the patched img.

fastboot flash boot "name_of_253_patched.img"

If I can advise you, try the (y) @arter97 (y) boot image rooted with kernelSU. The battery life results are excellent.
[Nothing Phone 2] buu'buu:
@drieg Apply the code without quotes obviously
[Nothing Phone 2] dlads:
Well done mate, easy once you know what it is 👍🏼

As for rooting, it's not a problem, the firmwares are all unified now so you're good to go.

I wrote the title of this thread when I got the device on release day, I'm in the UK.

Feel free to use the boot images in the OP.

As a rule of thumb, don't flash, just boot.

It's all in the OP 👍🏼

PS: I have arters kernel installed, but I still use magisk, I just get his stock kernel and patch it with magisk then boot and direct install it.

Either way you're golden
[Nothing Phone 2] drieg:
Managed to root.

Thank you for your detailed guide and help kind sir
[Nothing Phone 2] dlads:
You're welcome man.. glad you got sorted 👍🏼
[Nothing Phone 2] phoe zay:
2.5.5 magisk patched IMG
[Nothing Phone 2] phoe zay:
2.5.5 stock boot img
[Nothing Phone 2] dlads:
Cheers man...I haven't updated yet... I'm always late to be offered it.. weird how a London / England based company makes the UK have the slowest updates in the world, worst rma in the world and most expensive devices in the world.
[Nothing Phone 2] dlads:
OP UPDATED: Stock and patched images in OP, thanks @phoe zay

STOCK

A065 Nothing V2.5.5

96 MB folder on MEGA

mega.nz

PATCHED

A065 Nothing V2.5.5

96 MB folder on MEGA

mega.nz
[Nothing Phone 2] PhantomApollyon:
FWIW - No issues here with 2.5.5 using the typical process.
[Nothing Phone 2] dlads:
There's a new hotfix from 1247 which is 2.5.5 200MB up to 1248 which is also 2.5.5 50.7MB
[Nothing Phone 2] PhantomApollyon:
I guess I'll need to do the shuffle again when that rolls around, haven't seen it available yet here.

I guess I actually never got 1247 and started with 1248.
[Nothing Phone 2] simona70:
I have 2.5.3. I use also magisk + lsposed + orange fox recovery. It is safe upgrade to 2.5.5?
[Nothing Phone 2] dlads:
Yea but you'll need to temp unroot at the very least. Not too sure about orange fox probably flash stock recovery.
[Nothing Phone 2] dlads:
So 1247 failed for me (incremental) so i contacted support and they gave me the full firmware, that worked via 682... Then I got 1248 advertised to me, that worked via system update (incremental)

Honestly they should just offer the full zips, it's mental that they don't.
[Nothing Phone 2] AlbertoDR:
I feel like I am missing something stupid. Is booting the .img not supposed to update the os version as well? I'm used to using twrp so I might definitely just being a noob here.

When I first fastboot boot 2.5.2 it worked perfectly. Now if i fastboot boot 2.5.5 it continues to boot to 5.2. And I can't OTA even with magisk completely uninstalled so i'm not sure how to handle this. Help is appreciated.

Am I missing something?
[Nothing Phone 2] dlads:
Nah mate,

The boot images is 96MB usually.

The OS is Gigabytes... Not megabytes.

The boot image is simply a part of the boot process in an image format.

We manipulate this image to obtain root access.
[Nothing Phone 2] AlbertoDR:
Yes I figured. Thanks a lot.

Unfortunately no matter what I do I can't seem to update beyond 5.5.2 and I'm not sure why (I'm on a Mac so I cant use Enhanced Fastboot - but Mac has never really been a problem; I alsways modded without an issue).

I fully unrooted now, but i still get errors from the settings updater, as well as getting errors from the offline tool.

From https://github.com/arter97/nothing_archive I only see split full OTA files, and the only full OTA I could find is from https://xdaforums.com/t/nothing-phone-2-official-ota-zip-full-incremental.4604803/ but it's NOS 2.0.1.

Do I have to go all the way back to 2.0.1 to be able to update?

I've been trying to figure a solution for a couple weeks and it's starting to piss me off - I wasn't expecting such hassle from Nothing, coming from a few OnPlus devices.

I'll probably just have to give up and stay on 2.5.2 if i dont find a solution
[Nothing Phone 2] Wawax:
What's the typical process please because when i want to uninstall magisk it says that defaut savedata don't exist and from here the download of the incremental doesn't want to start so ... i dunno what to do more

Sad because i've just rooted my phone 2 a week ago day by day in mind that we don't really get many update on this phone so let's root it, it was a long time since i last rooted a phone (nexus 5X the last) and i don't have much time to fully unroot and restart the process to update.

The chatgpt things is really convenient for me since i use it regularly so it would be very cool if I can update with the "typical process"
[Nothing Phone 2] PhantomApollyon:
I've never encountered that specific situation, but what I do for each OTA is:

Grab the latest stock boot image from the OTA using whatever repo/location you prefer

Load that onto the device's storage and then open Magisk and patch that boot image

Transfer that boot image to my PC so I can boot/flash it when I'm ready to re-root

Though probably unnecessary, I start the OTA process by uninstalling anything root-related/adjacent

Remove all Magisk modules

Complete uninstall Magisk, letting it reboot as usual

Reboot again, just in case (probably highly unnecessary)

Download/install OTA

Reboot again, just in case (probably highly unnecessary)

Re-root using whatever your preferred method is (I typically boot my patched boot image, then install magisk and do a direct install

EDIT: if Magisk for you is missing the stock boot image, which could be driving that error, I guess you could just remove the app manually, reboot into the bootloader, flash the stock boot image, restart, and then just begin the OTA process as normal after that.
[Nothing Phone 2] Wawax:
Ok I will try that tonight thank you
[Nothing Phone 2] simona70:
Failed to upgrade from 2.5.3 to 2.5.5 I did "Restore images" on Magisk, and after i launch OTA, but it say: "Unable to update. installation problem." (after download). How can I solve?
[Nothing Phone 2] HippoMan:
This level of detail (all 10 steps) is, in my opinion, the recommended way to upgrade pretty much any Magisk-rooted ROM on pretty much any device.

Skipping steps and perhaps taking other shortcuts will greatly increase the probability of failures such as bootloops, crippled resulting functionality, and even bricking.
[Nothing Phone 2] simona70:
nothing phone 2 offers 2 ota updates per month. which is also a great thing from the users' point of view. I have the April 1st update done days ago before the root and we are at the 20th and there is already another one available. it is not possible to go through 2 updates a month and each time redo the complete root by reconfiguring everything and reinstalling all the magisk modules. humanly. I'll kill myself first.
[Nothing Phone 2] simona70:
If I restore original recovery with "fastboot flash recovery_a" and "fastboot flash recovery_b" then after boot and magisk uninstall with "Image restore", the OTA should be able to work? Custom recovery modify only recovery_a and recovery_b partitions? Magisk modify only boot? I have in use 2140 build.
[Nothing Phone 2] simdll:
I had this error, it is due to the fact that you did not restore the images from Magisk.

The procedure I have always adopted for updates is the following:

0. (optional: download stock boot image and patch with Magisk, but usually if available I download the already patched image)

1. Open Magisk, uninstall, restore images (wait a few seconds and it completes, no reboot)

2. Download the update via settings, and reboot when finished

3. From your computer run adb reboot bootloader, then fastboot boot PATCHED_BOOT.img

4. Open Magisk, click on install magisk, then on direct installation (recommended) and restart when prompted

I didn't have any problems with this procedure (not even when I went from Android 13 to 14). My firmware version is the European one, and I don't have any custom recovery

I hope that helps you

Simdll
[Nothing Phone 2] dlads:
Honestly if you're on 2.5.2 (definitely not 2.5.3)

Then you could use the nothing flash tool and that will fix everything, do not use it on a firmware above 2.5.2, you will end up in crash dump.

It will wipe everything though, but then again so will a fastboot ROM.

You could also use a fastboot ROM but personally I find the nothing tool easier to use.

You'll need windows, use parallels on a Mac, there's a free trial you could use, tbh on a Mac for me its a must.

Your call.
[Nothing Phone 2] dlads:
Typical process is in the OP mate.

Temp unroot, update, install after ota in magisk.

If that doesn't work then try the full update, if that doesn't work then make sure you restore whatever partitions you've modified (boot, recovery)

Beyond that, you'd need a fastboot ROM or the flash tool, but only use the flash tool on firmwares prior to 2.5.3 so 2.5.2 or before.
[Nothing Phone 2] dlads:
Tbh it can go wrong with no custom recovery, I myself have had a bunch of issues and I have a second device that I perform the same steps on, my device seems to fails whereas the other does not, works fine..

It's odd and extremely annoying
[Nothing Phone 2] simona70:
I did but no luck.

I also restored a true boot.img.gz stock in my /data/magisk_backup_60dcda9942c4926a9e1d4b2927840de892ab4f64/

but no OTA...

It remains only to try to restore original recovery.img
[Nothing Phone 2] Wawax:
View attachment 6094234
[Nothing Phone 2] Wawax:
Sorry but i cannot bypass this (sorry it's in french but it say "installation problem")

How can i get it please 🙏🏾
[Nothing Phone 2] simona70:
Like me
[Nothing Phone 2] Wawax:
View attachment 6094240Even here the update don't want to install
[Nothing Phone 2] Wawax:
i'll give up for tonight ...
[Nothing Phone 2] Wawax:
i'll stay on 2.5.3 til i find a solution (before redo everything)
[Nothing Phone 2] dlads:
@Wawax @simona70 I've already said what can be done..

If you're on 2.5.3 then flash a fastboot ROM.

If you're on any firmware prior to that then use the flash tool.

There are literally dozens of situations within these pages where people have had the same thing happen and the solutions has been provided, have either of you looked?