yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
UPDATE: Testbuild for Magisk and support for microG

Build 20170330

Magisk:

On this build I changed the buidin root from lineageos superuser to Magisk. The contained magisk version is a fresh build from https://github.com/topjohnwu/Magisk, yesterday at 12:00h UTC. The main advantagemof this change is rom passing saftynet out of the box. (Yes, super mario run runs... ;) )

All credits for magisk go to [MENTION=4470081]topjohnwu[/MENTION].

Changelog regarding Magisk:

add Magisk as default root solution. — nvertigo

su: ship without lineage superuser. — nvertigo

update magisk.zip to v20170330- — nvertigo

initial commit: add magisk v11.6 and MagiskManager v2.4.7. — Nvertigo

Build: Switch to Magisk as the built in root [2/2] — LorDClockaN

microG:

The micoG homepage and the microG XDA thread.

Changelog regarding microG:

Allow location providers also outside of /system. — danielegobbetti

Add signature Spoofing permission — Benoît Mauduit

Honestly I had to admit that I have no expirience with microG and I have no time left atm to get familar with and test. [MENTION=4958579]Primokorn[/MENTION]: it would be great, if you would check and test this (or tell me, what patches I've missed...).

Clean flash is recommended.

If you want to try to dirty flash:

Disable lineageos superuser in devops.

Reboot to recovery.

MANDATORY: nandroid your current installation.

Flash addonsu-remove-arm64.zip to uninstall lineageos superuser.

Flash rom.

Theorethically you can skip flashing the remover script, but the above steps worked for me.

ROM: https://drive.google.com/open?id=0B_f72wz8rwc6ZE1uTFk5dXBMeWM

MD5: d53ffd636c4502c0c5dee9816eb37303

If you want to run the rom completely unrooted, flash this one after flashing the rom:

https://drive.google.com/open?id=0B_f72wz8rwc6NUFNa3YxSDZqTzQ

Happy Flashing!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Primokorn:
[MENTION=4405529]nvertigo67[/MENTION] I'm gonna flash your build in the coming hours and report back.

Here's the XDA thread of microG. New microG users should also read this thread where they can find great information about microG and Gapps-free user experiences.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] xpissio:
Thanks for the update [MENTION=4405529]nvertigo67[/MENTION], I want ask you one thing.

In these days I see many ROMs (for 3T) are including "2.4GHz bonding channel".

What do you think about that?

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
This is widely overrated - if not completly misunderstood:

First of all I have a completly different understanding of the meaning of "double" then vendors of wifi equipment, when talking of real world transfer rates... ;)

Second: in a perfect world, there would be no other wifis in the air, but mine... ;)

Third: ...of course there would be no other noise on the air... ;)

Channel bonding requires a channel width of 40MHz (instead of 20MHz). If those freqs are free, your router is configured accordingly (40MHz and only 802.11n [no b/g/n or auto]), you are close to the router and your device is the one of max. two connected devices you will gain about 30% netto datarate (sustained; meaning large data transfers - no change for many small requests).

In all other conditions you will loose 0 - 60 % compared to 20MHz channel width.

Since I don't use wifi in a perfect world... ;)

...I use 802.11ac whenever possible.... ;)

Any way - feel free to try: get a root enabled fs browser (i.e. es explorer, but other will do, too) and edit /system/etc/wifi/WCNSS_qcom_cfg.ini. Find the line:

gChannelBondingMode24GHz=0

and change it to

gChannelBondingMode24GHz=1

Reboot and run your tests to tell if it's an advantage in your world.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Primokorn:
microG is working flawlessly :)

FYI I had a FC while trying to compose a new email from K-9 mail (unofficial version with Material Design). Of course, I have no issues with my usual custom ROM.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mad-murdock:
Nice to see, you are not THAT busy after all!

---------- Post added at 04:25 PM ---------- Previous post was at 04:20 PM ----------

so, how does this work? can i just remove gapps (wipe system, install rom) and flash microg? do you have access to full playstore apps? How is battery life? Are you missing something? What are the advantages from your point of view?

The website is very detailed and interesting in technical matters, but doesn't say a lot about the user side of things. Some words from you might help me (and probably others) decide how and when to go down this road.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Primokorn:
Wiping /system partition is enough to start using microG.

There are several possibilities for the installation. It depends on what you want/need: GCM, official Play Store or Blank Store / Yalp Store / APKmirror, geolocalisation,... Everything is explained in the XDA thread.

It takes some time to understand what and where to install those apks. Since Nougat microG Gms Core has to be installed into system/priv-app folder. The same applies for the Play Store if you need it.

Online license checking is working but you have to buy new apps from a web browser.

microG has less features than the offcial Play Services so it might be a problem for some users.

However it's privacy and battery friendly.

You can make the installation process easier thanks to custom scripts. During a clean flash I install Gmscore and Play Store into priv-app folder and they survive a dirty flash thanks to an addon.d script.

Signature spoofing is also required. Some custom ROMS support it out of the box. For other custom ROMs you have to deal with Tingle. It's very easy to use but you have to use it after each dirty flash... Hopefully OP will find a way to improve his tool.

Here's the "presentation" of microG in a nutshell. microG is mainly developed by one person BTW.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
Lazy question: Isearched the microG thread for custom scrpts, but only found one comment on those. Do you have a link?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] NisseGurra:
Same problem with todays release.

Tried full wipe, different FW. Official linage installs tho

Edit: Bad download, fixed!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Lada333:
[MENTION=4405529]nvertigo67[/MENTION] if the microG thingy works out for the rom, are you going to include a download link for future builds that do not include microG? Or is there any way to flash them while keeping GApps?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] yannmrt:
Question I already have magisk running, and I'm in 0328. Can I dirty flash as usual?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
I will make only one build - feel free to use my gits to make a build matching your personal preferences.

Including sig spoofing and loc outside system doesn't mean you can't use gapps: with this two changes you can use gapps XOR microG. Otherwise I wouldn't have mentioned dirty flashing.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
I guess so. On the other hand: it doesn't hurt and takes only additional 10 s to flash the Magisk-Uninstaller I provided in the test build announcement. Since you have taken a nandroid you can try bothnways and report back.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] yannmrt:
OK I will probably try tomorrow.

Not sure I remember to see magisk-Uninstaller.

Thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
Voila!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] yannmrt:
Merci :svetius:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Primokorn:
It's a personal script but I can share it if you want. I add and remove other stuffs of course.

There's also an unofficial installer: https://xdaforums.com/android/development/microg-unofficial-installer-t3432360
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] yannmrt:
Not sure why but when i connect the phone to the PC via USB i don't see all files that are in my download folder phone ? I missing to see a big files that i download yesterday and want to transfer to my PC. I still can see in the phone and even open so it is still in.

Any idea ?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Lada333:
Maybe your phone downloaded in a weird extension, so your PC hides it? Do you have 'show all files/hidden files' turned on?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Just Passing By:
In addition to lada, perhaps a simple reboot will fix your problem. I have a similar problem like yours. Happens with all ROMs and not just this though.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Lada333:
alternatively, if you have an otg cable, try copying the file over from your phone to a usb stick.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
Assuming yourun win on your pc it could also be an codepage problem: what is the name and the ssize of the file? Have you tried renaming the file to something ultra sinple like "file.zip"? (win has still old issues like not showing files via cifs/samba if they end on dot ("."). Perhaps something like this.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] yannmrt:
The solution was to shut down and turn on again. A simple restart was not enough.

My extension was a simple RAR

---------- Post added at 06:16 PM ---------- Previous post was at 06:00 PM ----------

I try to dirty flash on the top of 0328 with Magisk 12 already install and result was all good. Magisk v12 turn to v20170330 (not sure what ver is the most updated) and SafteyNet is passed without the need to do anything else.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Lada333:
How does a "shutdown and turn on again" differ from restarting?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
On some pins the electricity is droped - which does only happen for some nano seconds if you restart. I remember situations on my s3, where I need to drop the batt for 30 seconds...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
UPDATE

Build 20170401

Since nobody complained about the changes in the test build, Magisk and microG signature spoofing as well as allowing location providers will be from now on part of this rom. Thanx for testing!

Magisk:

On this build I changed the buidin root from lineageos superuser to Magisk. The contained magisk version is a fresh build from https://github.com/topjohnwu/Magisk, yesterday at 12:00h UTC. The main advantagemof this change is rom passing saftynet out of the box. (Yes, super mario run runs... ;) )

All credits for magisk go to [MENTION=4470081]topjohnwu[/MENTION].

microG:

The micoG homepage and the microG XDA thread.

Changelog:

update blobs to OpenBeta 4 (7.1.1). — nvertigo

add Magisk as default root solution. — nvertigo

su: ship without lineage superuser. — nvertigo

update magisk.zip to v20170401 (aka v12) — nvertigo

initial commit: add magisk v11.6 and MagiskManager v2.4.7. — Nvertigo

Build: Switch to Magisk as the built in root [2/2] — LorDClockaN

Allow location providers also outside of /system. — danielegobbetti

Add signature Spoofing permission — Benoît Mauduit

Clean flash is recommended.

If you want to try to dirty flash:

Disable lineageos superuser in devops.

Reboot to recovery.

MANDATORY: nandroid your current installation.

Flash addonsu-remove-arm64.zip to uninstall lineageos superuser.

Flash rom.

Theorethically you can skip flashing the remover script, but the above steps worked for me.

ROM: lineage-14.1-20170401-UNOFFICIAL-nvertigo-firmware-oneplus3t.zip

MD5: 6ea8e490a26c19f3115b9a90052864e3

If you want to run the rom completely unrooted, flash this one after flashing the rom:

https://drive.google.com/open?id=0B_f72wz8rwc6NUFNa3YxSDZqTzQ

Happy Flashing!

Firmware

OxygenOS OpenBeta4: https://drive.google.com/open?id=0B_f72wz8rwc6cUctQjZzT1ZPN0E

Renamed blobs (for use with custom kernels build for unifie roms)

OxygenOS OpenBeta4: https://drive.google.com/open?id=0B_f72wz8rwc6NVFfZVlSaUdjOW8

Magisk Uninstaller

v20170401: Magisk-uninstaller-20170401.zip
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mumapizza:
Is the touch latency fix in this?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
??? Link?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mumapizza:
https://mobile.twitter.com/arter97/status/848057246479130624
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
I've updated the blobs. Since oneplus doesn't supply them in source (I think that's why we call them Binary Large OBjects... ;) ), I have no chance to tell, if something is fixed in a file we use or in any higher level changes (i.e. frameworks, apps). There are no chnages to oss so far.

Honestly I've not expirienced any scrolling latency, when using buildin webview.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Bugsbunny 2017:
nice rom
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mcdachpappe:
sir i guess you have to reedit your post 1 again due to different installation steps don't you?

im a little confused about the microg thingy. i think it replaces gapps so we don't need to flash it after the rom?

could you be so kind to tell us the difference for a normal user which are achieved with the change to microg? in some simple sentences if you got some time?

as far as i got this is that microg works as like as gapps (if you want) but uses less system capacity (cpu load, battery)? does normal app downloading works with this new build? any major advantages? im curious to upgrade to this build..

thank you in advance
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
Allready did that less then 3 pages ago: The two patches enables the rom to run with microG. So you can use either open-gapps-nano-20170120 or microG.

Also: if you look at the changelog, you won't find anything about adding microG other then the patches.

I also stated, that I don't have the time, to test with microG, but I gave the links to their homepage and the xda thread.

Next "also": https://xdaforums.com/showpost.php?p=71668619&postcount=1004
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Lada333:
Okay so, downloaded latest rom, firmware, and suremover, flashed them (not in that order, obv.), booted up, everything's working fine, however in "Magisk Manager" when I tap the SafetyNet status checker, I get "SafetyNet Failed: CTS profile mismatch".

I'm not really aware of what SafetyNet actually is, and why Magisk is better than SuperSU, for all I know having passed SafetyNet is (one of) the advantage(s) of having Magisk over builtin LOS root?

Is this a ****up on my part?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Lada333:
[MENTION=4405529]nvertigo67[/MENTION] are your future builds going to include Br0Zip?

I'm curious to see what the "ROM builder wizard" actually does.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] knpk13:
What is suremover? Anyway, you need to enable magisk hide to pass safetynet. Read the magisk thread for details.

Uh I hope that was a joke.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Lada333:
"addonsu-remover-arm64.zip", linked in the first post, as OP recommended running that if we're going to attempt a dirty flash

And yes Kappa
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] spida_singh:
Anyone lost root after this, adaway and titanium Backup complain if no root?

---------- Post added at 11:39 PM ---------- Previous post was at 11:36 PM ----------

Never mind got it sorted hae to enable apps and adb in app itself
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Stefa.:
Hi guys!

I am reading this thread since some week and now I decided to try flashing this awesome ROM.

Just a noob question: Now I am running OOS 4.0.3 with Franco Kernel and my wish is to flash the latest Lineage ROM version published by nvertigo.

Do I need to flash files like "firmware" and/or something else or is sufficient to follow the OP instructions for the first install?

Thanks a lot for you help!

Wishing you a nice day.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mcdachpappe:
you have to flash the correct firmware, otherwise you get a tz mismatch i think.

so flash the firmware mentioned in the op, flash the rom and directly after it the gapps package if you need it.. now boot up and thats it.

if you want to continue using a custom kernel you should flash the. zip file (renamed blops for custom kernels) mentioned in the op as well.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
As stated - at least - three times: the builds with firmware in its name contain the updated firmware. This is for comfortability of users allready using this rom.

As with the buildin root, you have to enable it first.

Yes of course. But only with builds having the string "0401" in its name... *lol*
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
If you flash the 0401 build the updated firmware is included.

As mentioned - at least four times - builds with firmware in its name contain the updated firmware.

Just stick to the directions from OP.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
Question to all

It seems that my way of providing the neccessary firmware files within the rom if it's changed, but leave the firmware out if it hasn't changed, is too complecated for some users. I wonder which of the three options would be the best way to go:

Only ship fw if it has changed (this is the current way of shipping).

Always ship fw. (I don't like this, because I hate redundancies.)

Never ship fw - just provide the firmware zips.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] serious96:
application still detecting root even though i already select the application in magisk hide, does passing safety net doesn't meant passing root detection?

edit: i vote number 3
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
Which app? Logs? Have you checked Magisk thread for that specific app?

When implementing magisk I tested with super mario run - no problem at all.

You can use Magisk-uninstaller, since this rom passes saftynet even without magisk.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mumapizza:
We need this: https://review.lineageos.org/#/c/167612/

For update touch screen fw right? after april 2
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] serious96:
it's a local app, but when i use OOS with magisk hide the app can run. Even with the previous LaOS without Magisk included, the app still detect root. is it possible that the app flag custom rom as root?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Stefa.:
Thanks for the help, very appreciated :good:

On my opinion, talking from the side of one of the user for which this "is too complicated", I am personally ok with the way you are currently shipping the firmware, so "Only ship fw if it has changed", my only doubt was about "In which conditions it's necessary to flash the provided firmware" because I am not so much familiar with the OnePlus 3T modding even if I am trying to move my first step here ;)

From my side, as complete are the instructions in the OP (yes, If I were able to find an [If you are coming from old firmware version it's needed to flash the latest one provided]) probably I would not have posted this question) as easy is from user that are less familiar with the whole things.

Don't misunderstand me (it's easy to misunderstand things while writing/reading), I really appreciate your very very hard work and the help you are providing here on XDA, this are only my "modding monkey" opinions from which maybe you can have the opportunity to understand where lots of users have doubts, and even more, maybe they are "scared" of "flash things" because they are scared of "mess up their phones".

For example, when I found the string "Wipe system, data and cache. (Before flashing anything, make sure the system partition is NOT mounted: TWRP-home->mount->uncheck system)" on the OP, the question that comes in my mind was "I need to check again "system" before rebooting?", but since I did not found this on the OP I answered myself that this is not necessary ;)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mad-murdock:
1) - leave it as it is. Most users comprehended it. The quiet majority is bigger than the few loud minority members, who run into problems.

It's good as it is. If one flashes every new build, he has no problems at all. If one switches to this rom, or skipped some builds, he can stick to the separate firmware file. Its perfect.

---------- Post added at 02:38 PM ---------- Previous post was at 02:22 PM ----------

Very OT:

Man, you really love brackets. And brackets in brackets. While brackets make it easier to structure sentences the way you think - i.e. "A (but not when B [except C])" they HURT reading when overused. A reader has to process certain parts multiple times to follow your conditional logic. Which is especially hard if you make bracket errors as in quoted sentence. To fix this, I suggest for half a year: Force yourself to not use brackets when writing at all and quotes only if they form a single sentence.

It might be difficult at first. But after that time, you will choose brackets more wisely, to either save writing effort or be humorous. Also what you write will be much more fluent to follow.

Of course, that's just my opinion. You can do whatever you want.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Lada333:
I have root, I'm not having any problems, all I wanted to say was that my device doesn't pass "SafetyNet" check, and I wanted to know if that's normal, or if I have screwed up something.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] endursa:
Open magisk manager go to settings and enable magisk hide
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
https://github.com/nvertigo/android_device_oneplus_oneplus3t/commits/141-work

I merged this allready 8 h ago...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
You screwed up something.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Stefa.:
Touchè, yu got my brackets error and, I had fun on reading this :D

In the onor of truth the "[" and "]" standed for "optional" and not as nested brackets, by the way this + my fault on brackets use makes the "brackets lover" effect you mentioned. Again , 1 - 0 for you, ball to the center :laugh:

Exiting from the OT.. I were able to flash the latest build, I will report back soon.

Considering that I am coming from one of the latest OOS versions it's interesting for me to discover differences and other peculiarities, maybe there are other user wondering to flash this ROM as OOS replacement :)

Thanks to all for the help :good:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Lada333:
Oh well.

Could it be caused by me being a retard, and forgetting to disable root access before removing SU and flashing the latest build with MagisK?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
Don't know.

Rule of thumb: if after dirty flash some issues occur - just clean flash... (then it doesn't matter what settings you had before.

Have you tapped on Saftynet? (Or: is it gray or red?)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] knpk13:
This sounds ideal. Keep the ROM separate from firmware; let users track firmware changes. Nothing wrong with your current method unless a user decides to skip builds.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Lada333:
Honestly, the reason why I don't like doing clean flashes, is because it screws up the order of my music folder (I have it selected in my music app so that it sorts the songs by date added), and I cba to delete and then copy over 13 gigs of music again.

Yes, I have tapped it:

Becomes red, "cts profile mismatch"
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] endursa:
Works for me, i did even dirty flash the last two versions, since i used magisk since the beginning with this rom