yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 2 Questions & Answers] cypherx1998:
My device is not listed in fastboot devices. However it can be seen in adb mode. I have tried doing:-

1)entering in fasboot manually as well as via "adb reboot bootloader" command.

2)Updating drivers or installing them manually(tried several of them, but none works)

List of drivers that i have tried

1.Universal adb driver by koushik dutta

2.Samsung adb driver

3.Google sdk drivers

4. Installing some random unsigned driver(Last method done)

Please help me i want to revert back to miui by flashing it clean via Flash tool but device isnt detected what to do?
[Xiaomi Redmi 2 Questions & Answers] Bang Fulan:
You try install mi pc suite
[Xiaomi Redmi 2 Questions & Answers] kpratama24:
had experienced this before. Do you use Windows 10 ?
[Xiaomi Redmi 2 Questions & Answers] Ronnie.mac94:
Install MiPc suit

N u r done!
[Xiaomi Redmi 2 Questions & Answers] cypherx1998:
Yes..i do use windows 10....the solution that worked for me this time is to delete every driver of my phone present in my pc and connecting it....by every driver i mean each and every one(inclusive of adb and fastboot and also usb drivers)...so pc installs a driver by itself and surprisingly it works
[Xiaomi Redmi 2 Questions & Answers] kpratama24:
Good to hear that.
[Xiaomi Redmi 2 Questions & Answers] DesiTech:
Download Adb and fastboot.rar from google.

Extract it to desktop.

Then install Miflash , downloaded from google.

And for fastboot watch video from youtube.

If you are again unable to found or for any type of help.

I'll provide you the files with the video.
[Xiaomi Redmi 2 Questions & Answers] Bhavesh_khatri:
download MI Pc suit http://pcsuite.mi.com/

and you won't be needing drivers. and your device would be listed.
[Galaxy Note 3 General] Mohamad313:
Very thanks

Reserved

When your rom uploaded?
[Galaxy Note 3 General] rasoulia:
tnx for port rom. android LP or MM ?

ok i found this ( i dont know about port or fix bug , just find it with google , sorry if not help you i dont know a lot of Port and build Custom rom ) :

1- SystemUi Carsh : wrong permissions

2- Clear Cache and Dalvik Cache

maybe help :

http://xdaforums.com/showthread.php?t=2759479

http://www.zopomobile.com/forum/thread-439-1-1.html
[Galaxy Note 3 General] omarilzz:
after i fix those 2 bugs
[Galaxy Note 3 General] omarilzz:
my rom is 6.0.x MM
[Galaxy Note 3 General] Mohamad313:
Screen shot please
[Galaxy Note 3 General] omarilzz:
i cant mate it reboots directly after booting and showing force close
[Galaxy Note 3 General] Mohamad313:
Ok we waiting
[Galaxy Note 3 General] RYAN SHAY:
http://xdaforums.com/android/software/guide-build-port-miui-rom-to-device-t3250984

look at this i think u forgot sth to do

and i have question , we had miui 5 which fully worked with air command is it possible to add aircommand to this rom ?
[Galaxy Note 3 General] omarilzz:
Kernel LOG

[MENTION=4925642]tincho5588[/MENTION] [MENTION=4222965]deadman96385[/MENTION]

Miui 8 is One step a head i posed a log from kernel to fix random reboot and the three apps FC

So Help please :)
[Galaxy Note 3 General] omarilzz:
i Will add all u want :D but i want to fix the kernel reboot issue and force close first so we can at least have a booted rom :) and i used this already while porting :D XD
[Galaxy Note 3 General] Mohamad Elkadi:
It will be almost impossible to add aircommand to this ROM since it's not based on TW ROM :(

---------- Post added at 02:17 PM ---------- Previous post was at 02:16 PM ----------

Thanks a lot mate for your work I hope this will be our Christmas gift :D
[Galaxy Note 3 General] omarilzz:
nothing is impossible :) and yes :D merry Christmas :)
[Galaxy Note 3 General] beepoff15:
It's for N9005? and this custom have multilanguage?
[Galaxy Note 3 General] rahulkheria:
No. Its for exynos version
[Galaxy Note 3 General] Mohamad Elkadi:
It's for SM-N900 but there is already a MIUI 8 ROM for SM-N9005
[Galaxy Note 3 General] lordondi:
[MENTION=4635200]omarilzz[/MENTION] When will it come Miui v8. Waiting impatiently please send me pleaaaaassseee :) i said im waiting and we waiting
[Galaxy Note 3 General] Abandoned War Place:
what the point of spending time port crappy ios ripped off os to beautiful great aicp

better if import features from oneplus phones or motorolla
[Galaxy Note 3 General] Mohamad Elkadi:
If you think that the MIUI is just a copy paste from IOS then you know nothing about it
[Galaxy Note 3 General] omarilzz:
if god wills it the rom will be bugless ^^ but the problem that all apps crash when rom boots and i cant find any dev to help i messaged them all and no help so am stuck at no point the rom boots but all apps crash and self reboots :(
[Galaxy Note 3 General] omarilzz:
Reboots After Apps Crashing which means reboots after boot[Fixed]
[Galaxy Note 3 General] Mohamad Elkadi:
Great news what's next? :)
[Galaxy Note 3 General] tamer tarek:
عاش فشخ اقسم بالله ?

Great news!
[Galaxy Note 3 General] omarilzz:
well the whole problem is in the permissions in updater - script i fix something in it the other part breaks but now no rebooting :D but cant find what breaks the apps :(
[Galaxy Note 3 General] omarilzz:
Egypt is Every where like Virus :cool::cool:

Thanks man :D Batal faday7 xD
[Galaxy Note 3 General] PaYDaY:
Good Luck With This XD
[Galaxy Note 3 General] tamer tarek:
Is there any progress?! , i wish for good news
[Galaxy Note 3 General] omarilzz:
Still trying mate Still...
[Galaxy Note 3 General] G3fr:
ربنا يوفقك يسطي عايزين روم نضيفه تعبنا من الرومات بتاعت الناس اللي هنا :D

good luck bro
[Galaxy Note 3 General] Mohamad Elkadi:
[MENTION=7782083]SirAnKeKu[/MENTION] can you help him?
[Galaxy Note 3 General] SirAnKeKu:
I can, but not now. My PC is kinda screwed now. That's why i haven't uploaded my version of MIUI. Sorry mate

But you can consult the MIUI porting forum tho
[Galaxy Note 3 General] omarilzz:
/home/omarilzz/patchrom/tools/apktool --quiet b out/framework -o out/framework.jar
Exception in thread "main" brut.androlib.AndrolibException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:129)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:69)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:376)
at brut.androlib.Androlib.buildSources(Androlib.java:335)
at brut.androlib.Androlib.build(Androlib.java:292)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:124)
... 7 more
Caused by: java.lang.NullPointerException
at org.jf.dexlib2.writer.pool.PoolClassDef.<init>(PoolClassDef.java:59)
at org.jf.dexlib2.writer.pool.ClassPool.intern(ClassPool.java:88)
at brut.androlib.src.SmaliBuilder$1.call(SmaliBuilder.java:116)
at brut.androlib.src.SmaliBuilder$1.call(SmaliBuilder.java:94)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

That is the error i face man when it finishes adding lines to framework (make fullota)
[Galaxy Note 3 General] omerdeniz99:
[MENTION=4635200]omarilzz[/MENTION] good work bro :) i hope to make this miui 8 built from source
[Galaxy Note 3 General] omarilzz:
just solve this error everything will be good :)

but i still need help to solve it
[Galaxy Note 3 General] omerdeniz99:
I sended my developer friend to have a look this error if i found any update i message to you
[Galaxy Note 3 General] omarilzz:
ohh man thats dope sick :D much respect to u ^^
[Galaxy Note 3 General] omerdeniz99:
Try with different java version to compile this miui 8
[Galaxy Note 3 General] APAKROHK:
Spen support ?
[Galaxy Note 3 General] omarilzz:
u mean update java in linux ?
[Galaxy Note 3 General] omarilzz:
will add ^^
[Galaxy Note 3 General] omarilzz:
i updated java to 8 but still same error
[Galaxy Note 3 General] omarilzz:
updated the apktool and i got this

/home/omarilzz/patchrom/tools/apktool --quiet b out/framework -o out/framework.jar
Exception in thread "main" org.jf.util.ExceptionWithContext: Unsigned short value out of range: 95509
at org.jf.dexlib2.writer.DexDataWriter.writeUshort(DexDataWriter.java:116)
at org.jf.dexlib2.writer.InstructionWriter.write(InstructionWriter.java:329)
at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1027)
at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:803)
at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:252)
at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:230)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:63)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:38)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:405)
at brut.androlib.Androlib.buildSources(Androlib.java:336)
at brut.androlib.Androlib.build(Androlib.java:292)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)

make: *** [out/framework.jar] Error 1
[Galaxy Note 3 General] APAKROHK:
Thank you very much and thank you for this work??
[Galaxy Note 3 General] osas514:
don't update the apktool, use the one that comes with patchrom by default.. For the first error you got before updating apktool, you can try and delete the out/framework.jar or the full out folder then run make fullota again. Got this error one time but i fixed it this way but it's a 50-50 chance

---------- Post added at 06:02 PM ---------- Previous post was at 06:01 PM ----------

Use Java 7 don't use 8
[Galaxy Note 3 General] omarilzz:
will try now btw i pmed u my fb for faster response and progress if its cool
[Galaxy Note 3 General] osas514:
It's fine :p
[Galaxy Note 3 General] rasoulia:
i dont know this app help you or not but use this app :

https://xdaforums.com/chef-central/android/best-android-roms-editor-assayyedkitchen-t3410545
[Galaxy Note 3 General] omarilzz:
Thanks Man am still trying tho also android building is done in linux and well the problem ouccures with dexlib thing which i showed in log

no errors about smali files cause all fixed but it wont compile idk why?
[Galaxy Note 3 General] rasoulia:
i dont have linux and don't know about porting or building rom but use this :

https://xdaforums.com/chef-central/android/guide-patchrom-rejects-fixing-tutorial-t3203287

https://xdaforums.com/chef-central/android/linux-apk-dcs-decompiling-compiling-t3281486

https://xdaforums.com/chef-central/android/guide-tool-projekt-scribt-v1-33-t3503018

https://xdaforums.com/chef-central/android/tool-universal-tool-t3519911

https://xdaforums.com/chef-central/android/kitchen-superrs-kitchen-t3202296

https://xdaforums.com/showthread.php?t=2597220
[Galaxy Note 3 General] bumi0908:
have any downlink miui 8 for N900
[Galaxy Note 3 General] APAKROHK:
Chance saw first-ROM version will be ready in a few days?
[Galaxy Note 3 General] omarilzz:
i cant pass this error of java null thing and i cant find anyone to help :(
[Galaxy Note 3 General] omarilzz:
any thoughts ?
[Galaxy Note 3 General] APAKROHK:
http://en.miui.com/thread-121812-1-1.html

I hope this helps.
[Galaxy Note 3 General] omarilzz:
Compiled Success !! :D

but i got this
[Galaxy Note 3 General] APAKROHK:
You're the best man. I do not know Java.

Can I help with the CSharp and Python?
[Galaxy Note 3 General] omarilzz:
Thanks man :D i just want to know why it fails to create image ?

search with me and send other miui devs like me so we can finish this and i will credit you ^^
[Galaxy Note 3 General] APAKROHK:
This was one of the best ROM for Galaxy Note 3 MIUI. I am truly grateful. Trying to build a new version of it.
[Galaxy Note 3 General] 3lei:
what is your pc os? if u r running windows 10 u will face many issues. u should use requested os from apktools or do some fixes to easy create ur image.
[Galaxy Note 3 General] APAKROHK:
Android developers usually use Ubuntu. But you're waiting for an answer.
[Galaxy Note 3 General] PedroMarthon:
You have it on github? Send me a link for the source as private message, will check it out...
[Galaxy Note 3 General] omarilzz:
i use ubuntu in Virtual box and main windows 10 64
[Galaxy Note 3 General] omarilzz:
will do man but just tell me extactly how or how can i share what u need exactly

https://github.com/MiCode/patchrom_miui

or shall i upload u the rom ? :)
[Galaxy Note 3 General] PedroMarthon:
You have hangouts or whatsapp?
[Galaxy Note 3 General] omarilzz:
all social media mate ^^ :D
[Galaxy Note 3 General] PedroMarthon:
Contact me via hangouts @ ****tergo@gmail.com

--Edit--

Xda censored (s h i ttergo@gmail.com) remove spaces :D
[Galaxy Note 3 General] omarilzz:
done
[Galaxy Note 3 General] APAKROHK:
I still do not know how long you need to wait?

SOMEBODY HELP?

I love miui?
[Galaxy Note 3 General] omarilzz:
Mate its soon :D just fixing the updater script issues to make it bootable ^^

and they say arabs are dumba**es and terrorists and racist :P
[Galaxy Note 3 General] APAKROHK:
Terrorists are not Muslims. Muhammad forgave all.

The punishment for sin is death? These innocent children were killed.

http://fmohmedi.blogsky.com/1391/07/30/post-163/
[Galaxy Note 3 General] omarilzz:
at last someone understands :D that we are not bad ppl :D does bad ppl make u miui rom xD?!!!!
[Galaxy Note 3 General] APAKROHK:
Hey man, how advanced is it?
[Galaxy Note 3 General] Mohamad313:
omarilzz we waiting

Please share rom link here to fix it together
[Galaxy Note 3 General] tamer tarek:
Any update on the progress?, i just can't wait :D
[Galaxy Note 3 General] omarilzz:
still trying
[Galaxy Note 3 General] nubitolz:
Oh well, I sold my Note 3 and use the money to buy Redmi Note 3 Pro.

Worthed for the peformance and network band(4G), but not the camera. The Note 3 camera was much better, especialy in zooming :)
[Galaxy Note 3 General] APAKROHK:
Is it successful?

Do not lose your hope.

God is larger
[Galaxy Note 3 General] omarilzz:
man i made it boot :D but the problem with some apks that wont get me passed the setup wizard but fixing ^^ thanks to pedro :D
[Galaxy Note 3 General] rasoulia:
wow its awesome. tnx a lot. keep working.
[Galaxy Note 3 General] lordondi:
I am waiting with excitement and i hope soon comes back. Send me :D [MENTION=4635200]omarilzz[/MENTION]
[Galaxy Note 3 General] cnkzlyr:
[MENTION=4635200]omarilzz[/MENTION] bro i think you can fix the porblem with deleting setup wizard
[Galaxy Note 3 General] omarilzz:
the problem is with sim card which crashes settings.apk which annoys setup wizard

and also its a kernel bug too
[Galaxy Note 3 General] APAKROHK:
What kernel you want to use?
[Galaxy Note 3 General] omarilzz:
the problem is the kernel needs to be full miui support and i dont think that aicp or cm13 kernels would do cause i tested them
[Galaxy Note 3 General] cnkzlyr:
[MENTION=4635200]omarilzz[/MENTION] bro can you ask it to s4 development? because I think they made it from aosp kernel
[Galaxy Note 3 General] APAKROHK:
Note 4 of the kernel can not be used?
[Galaxy Note 3 General] APAKROHK:
https://github.com/flashka07/android_kernel_samsung_ha3g

I like what are you doing.

Is the project stopped?

Are you disappointed?
[Galaxy Note 3 General] kristiangad:
Good day, we expect the firmware or not?
[Galaxy Note 3 General] osas514:
Deleted

A mistake :silly:
[Galaxy Note 3 General] omarilzz:
Still Trying :(( exynos is a dumb system
[Galaxy Note 3 General] rahulkheria:
Sorry dev but we already have 7.1 version on our so called dumb system
[Galaxy Note 3 General] cnkzlyr:
[MENTION=4635200]omarilzz[/MENTION] can you pm me please I made a kernel for your try

---------- Post added at 09:43 PM ---------- Previous post was at 09:32 PM ----------

Or, to be quick, get the file here https://mega.nz/#!GYowmQhA!8dlQxa9vt32uYNAyI9I8e-EG_McYA0OuXjjCJCj9H-E
[Galaxy Note 3 General] tincho5588:
be aware that boot.img does not only contain the kernel image, it also contains the ramdisk...
[Galaxy Note 3 General] cnkzlyr:
Oh okay :( cant [MENTION=4635200]omarilzz[/MENTION] share the current build with us. Many people can try it with adb logcat and many people equals to many idea. So we can find the problem bro? :(
[Galaxy Note 3 General] omarilzz:
Sorry for absence am still working on it trying from different sources and codes it will be soon out if god wills
[Galaxy Note 3 General] APAKROHK:
What remains to success?
[Galaxy Note 3 General] devilmycryd:
reserved thanks :)
[Galaxy Note 3 General] APAKROHK:
Hey brother faster

---------- Post added at 12:14 AM ---------- Previous post was at 12:11 AM ----------

If you succeed, we thank you from the heart under

---------- Post added at 12:15 AM ---------- Previous post was at 12:14 AM ----------

with love

---------- Post added at 12:33 AM ---------- Previous post was at 12:15 AM ----------

https://youtu.be/Jwobv-cOzuI

SM-n9005 ????
[Galaxy Note 3 General] APAKROHK:
http://en.miui.com/forum.php?mod=viewthread&tid=24552&extra=page=1&mobile=2
[Galaxy Note 3 General] APAKROHK:
Hi bro lol are you still alive? ?
[Galaxy Note 3 General] rajeshtecki:
when will u upload it we are waiting
[Galaxy Note 3 General] 3lei:
reply

i dont know where should i start....but use this guide if it didnt work for u i will tell u more...

1st disable windows driver protection

2nd use apps that u should use as admin and compatible with windows 8 or windows 7

3rd u should install drivers that u need with device manager or somehow

i wish luck for you:fingers-crossed:

---------- Post added at 07:33 PM ---------- Previous post was at 07:27 PM ----------

i dont know where should i start....but use this guide if it didnt work for u i will tell u more...

1st disable windows driver protection

2nd use apps that u should use as admin and compatible with windows 8 or windows 7

3rd u should install drivers that u need with device manager or somehow

i wish luck for you:fingers-crossed:
[Galaxy Note 3 General] APAKROHK:
Why stop?

Please if anyone can help.

Please miui make for sm n900.
[Galaxy Note 3 General] SirAnKeKu:
http://indiafreestuff.in/miui-9-android-nougat-xiaomi/

Maybe he will target straight to that? Or waiting?
[Galaxy Note 3 General] cnkzlyr:
[MENTION=4635200]omarilzz[/MENTION] bro is there any progress?
[Galaxy Note 3 General] Lomaa2:
We are all Waiting For u, Please do ur best <3

Waaaaaaitiiing :D
[Galaxy Note 3 General] zoldikzxz:
keep it up:) bro. thx for dev
[Galaxy Note 3 General] Yahia Angelo:
Port MIUI8

Hi bro...i tried to Port MIUI8 MM from S4 and couldnt boot it (bootloop) so check my logcat and please tell me what is wrong...or u can send me your rom to can fix its issues...Tnx
[Galaxy Note 3 General] cnkzlyr:
+1 [MENTION=4635200]omarilzz[/MENTION]
[Galaxy Note 3 General] Lomaa2:
cmon brothers we need that Aowsome rom :"D don't make it dead thread.. :rolleyes:
[Galaxy Note 3 General] APAKROHK:
Rom files from [MENTION=4925642]tincho5588[/MENTION] Catch

I do not think you could receive from [MENTION=4635200]omarilzz[/MENTION]
[Galaxy Note 3 General] haniennajjar:
Thank you.

Please, Do your best , all of us Waiting this rom.

Regards,

---------- Post added at 03:50 PM ---------- Previous post was at 03:48 PM ----------

Egyptian people are the sweet of world,

اخوك المفشوخ
[Galaxy Note 3 General] Arbaz choudhary:
Is the rom is ready or not we are waiting bro....... plz make it
[Galaxy Note 3 General] DarkFrenzy:
man i also got the same error but i m using lg g3 d850 i couldnt get any help. have you fixed it
[Galaxy Note 3 General] ram1MB:
I wish the developer is still Alive?
[Galaxy Note 3 General] JJEgan:
Yes but not on Note 3 according to posts in profile .
[Galaxy Note 3 General] rohitsurawat:
any update?
[Galaxy Note 3 General] JJEgan:
Rules say don't ask for updates .

Suggest you read the thread .
[One (M9) Q&A, Help & Troubleshooting] pinn___________:
Hi,

Have just got a 2nd hand m9 that I'd like to update to Nougat. It is rooted but not s-off and on lollipop custom rom. Am I right in thinking that I need to install the latest ruu for lollipop, then the same for marshmallow and then lastly for nougat before I can install a nougat ROM?

Thanks
[One (M9) Q&A, Help & Troubleshooting] shivadow:
Yes. Updates are incremental. You need to have a stock phone before you can flash ruu's. You need s-off otherwise, which is well worth the money!.

Beamed in by telepathy.
[One (M9) Q&A, Help & Troubleshooting] Flippy498:
RUUs are not incremental. However, HTC changed the encryption key between firmware 3.x and 4.x. You therefore need to flash a 3.x ruu and to install the non-encrypted OTA afterwards. Be aware that you can't change your sku without S-OFF. That means if you don't own the developer edition (sku 617) you won't be able to update to android 7 since that version is the only one that received the update, yet.

That's not correct. A RUU doesn't care whether your phone is stock or that. It reflashes every partition of your phone as long as your download mode is working.
[One (M9) Q&A, Help & Troubleshooting] pinn___________:
So am I right in assuming that I can't flash any RUU without s-off? Also, how would I know if it's a dev edition or not? Thanks
[One (M9) Q&A, Help & Troubleshooting] Flippy498:
The dev edition is indicated by the sku (617) which is part of the firmware version: x.xx.SKU.xx

Please read the HTC One (M9) Readme Thread. All needed information should be located on its first page.
[One (M9) Q&A, Help & Troubleshooting] pinn___________:
Hi Flippy,

Thank for the links. As I mistakenly tried to flash a custom nougat rom on my lollipop device, I'm trying to get it back up and running. I still have access to TWRP and was looking at the back ups that you provided. However, I'm uncertain which to flash as I don't know which is the SKU of my mob. How can this be found out?
[One (M9) Q&A, Help & Troubleshooting] Flippy498:
The readme thread should contain steps (in the RUU section and the twrp section II) for finding out the current firmware version of your phone. Did I forget to add them to the flashing instructions?
[One (M9) Q&A, Help & Troubleshooting] pinn___________:
No,,that's there but I already know what f/w I'm on - 1.32.401.15. Tried flashing a custom ROM of that version but it's sticking at the HTC logo. I would have thought reflashing a ROM of the same version would have worked but did I bork something when flashing a N rom?

I'm uncertain how to find the SKU but guessing it's 61 (EE UK). Is that going to be my only way forward - ruu or twrp backup?

Thanks for the help!
[One (M9) Q&A, Help & Troubleshooting] Flippy498:
Re-read what I wrote before and pay attention to the part I highlighted in my quotes. ;)

Btw, since many users make the same mistake I need to ask the following: You checked your firmware in download mode and not in settings>about, correct? The latter only shows you the base of the (custom) rom you're currently using and not your actual firmware.

You're firmware is quite old. I'd suggest you to flash the 3.35.401.12 RUU and to start from scratch. In general, you can't use roms that are based on a different firmware version than your current one. (Sidenote: I'm only talking about the major version number here - in this case the 3.)

There is no Nougat for SKU 401 at the moment but it should get released in the near future.
[One (M9) Q&A, Help & Troubleshooting] pinn___________:
Ahah, yep , I get it now!

Yes, checked as suggested in your very helpful thread. I'll follow your suggestion re. flashing also. Thanks for all your help.