yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] Codster314:
Ow, I'll try Magisk... I always thought if the underlining ROM (no root) didn't pass SafetyNet, then didn't think RootHide could make it work... I noticed it says that screen shot was "Sent from my Nexus 6P", making sure it was the SAOSP for the Nexus 4 right?

Default Everything (Kernel/ect) > Wipe Everything (Data/System/Cache) > Flash saosp_mako-ota-4-12-17.zip > Flash BeansGapps-Mini-7.1.x-20170415.zip > Wipe Dalvik > Reboot

Didn't pass SafetyNet for me. I'll try a clean install, with Magisk Flashed at the end and try. Thanks.
[Nexus 4 Android Development] Vil_ostreiko:
Trying to flash last saosp + beans gapps mini (from 15 april) and still have crash while installing gapps. Any ideas how it can be fixed?
[Nexus 4 Android Development] Codster314:
Just a follow-up on my previous post... I still can't get SafetyNet to work, even with Magisk. I've attached screenshots. I'm unsure what you did above to get it to work... did you use a custom Kernel? Other than that, I am on default everything, with Clean Flashes and doesn't seem to work... Below are the steps I tried:

First try: No Magisk:

Default Everything (Kernel/ect) > Wipe Everything (Data/System/Cache/evenSDCARD) > Copy files inside TWRP on clean SDCard > Flash saosp_mako-ota-4-12-17.zip > Flash BeansGapps-Mini-7.1.x-20170415.zip > Wipe Dalvik (tried no wipe too) > Reboot

Second try: Magiskv12:

Default Everything (Kernel/ect) > Wipe Everything (Data/System/Cache/evenSDCARD) > Copy files inside TWRP on clean SDCard > Flash saosp_mako-ota-4-12-17.zip > Flash BeansGapps-Mini-7.1.x-20170415.zip > Flash Magisk-v12.0.zip > Wipe Dalvik (tried no dalvik wipe too) > Reboot -------- Then opened Magisk Manager (required update from Play Store) > Then Enable Magisk Hide, Restart, Checked SafetyNet >

FAILED

Unsure how you got SafetyNet to work... U sure you are on your Nexus 4 (mako) device? Maybe you are on SAOSP on Nexus 6P?

EDIT: 1st screenshot just showing the SafetyNet Failed, 2nd screenshot shows after a clean flash with beans gapps, there are 2 Calculator Apps (BUG?). And the 3rd screenshot is showing "FE Heroes" is not showing up in the Play Store (because of the SafetyNet Fail).
[Nexus 4 Android Development] Poor Grammar:
This this work with multirom as secondary ROM?
[Nexus 4 Android Development] hauckk@sfreserves.org:
No no nougat ROM works in secondary ROM slot in multirom its a problem with multirom

---------- Post added at 08:30 PM ---------- Previous post was at 08:28 PM ----------

I'm having random wifi disconnects while screen is on and I'm stationary in the building I'm at anybody else experiencing this

I'm using hellspawn nougat aosp kernel rev 5

And latest build of saosp
[Nexus 4 Android Development] davide@10:
Sometimes it appends to me with mobile radio connection, same kernel
[Nexus 4 Android Development] hauckk@sfreserves.org:
Maybewe should try quanta v21 or n4 revival nougat kernel

---------- Post added at 10:45 PM ---------- Previous post was at 09:50 PM ----------

I'm getting two errors in logcats battery stats service missing api

And second one pertains to WiFi hal

WiFi error acquire supported features error 95

Also getting Bluetooth disconnects randomly

Will try to find the relevant error for Bluetooth disconnects

Pixel launcher is giving me errors missing permissions Bluetooth maybe the cause ?
[Nexus 4 Android Development] mrk2815:
your not the only ones tha cant get safety net to work. did the same started clean to see if i could reproduce the issue or resolve it in any way. came to the same conclusion that android 7.1.2 roms are not able to pass safety net. as i had this happen to me on two different devices both running custom roms based off of 7.1.2. so i dont know what google has done but i can tell you that safety net fails check when you install custom roms based off of 7.1.2. i can tell you that this is a 7..1 and 7.1.2 issue as i did not have the issue when i tested a device with custom rom based off of 6.0.1 and safety net passed so what ever is the underlying cause i dont know. but my conclusion is hat it has something ot do how 7.1 and 7.1.2 are designed with passes for safety net checks. Have tested this theory on nexus 4, nexus7 2013 and nexus 6 2014. flashing both custom roms based on 6 an 7. so now if people want safety net on there custom roms they have to figure out a way going forward for future roms based on future android AOSP code versions..
[Nexus 4 Android Development] Has_anDroid:
safety net stock original roms work not work custom roms
[Nexus 4 Android Development] Codster314:
hehe, there are a lot of custom roms safetynet works on (and a lot that dont as well).... Pure Nexus (for redminote3), AndDiSa's AOSP (for nexus 7) are just a couple custom roms that work. Those are the ones I use for my devices and both work out of the box with safetynet (assuming no root), and they both work with magisk (if rooted).

Both the roms i mentioned above are based off of Andriod 7.1.2. And both pass SafetyNet...

From my 3 android devices, all are on custom 7.1.2 Roms, and all pass SafetyNet, except for this one (my Nexus 4). Was gonna check out Pure Nexus for the Nexus 4 after the new version comes out this week by dragos see if that passes safetynet. It does on my redminote3.
[Nexus 4 Android Development] mrk2815:
which one of the pure nexus roms has safety net that can pass for a nexus device. i said that I have three nexus devices nexus 4, nexus 7 2013 and nexus 6 2014. if so will go back and reflash and see if these devices with those roms will pass safety net on 7 roms.
[Nexus 4 Android Development] Codster314:
As I said I haven't found one on Nexus 4 which passes yet. And I do not have the other two u mention. I do have a Nexus 7 (2012-grouper) though, and as I said above, AndDiSa's AOSP 7.1.2 rom does pass SafetyNet on Nexus 7 (2012-grouper). Unsure about ur tilapia, but the rom is supported for both devices.

https://xdaforums.com/nexus-7/development/rom-android-7-aosp-grouper-t3467514

And again, as I said above, my Xiaomi Redmi Note 3 Pro Prime has Pure Nexus (7.1.2) on it and it passes safetynet as well. Of course that is not a Nexus device.
[Nexus 4 Android Development] mrk2815:
agree with you nexus 4 is the only device hthat safety net will not pass on. I just tried to flash a few different roms for nexus 7 2013 with android n in mind and I could get safety net to pass on that device but with nexus 4 no matter what rom I flash safety net fails. so I have decided to keep the nexus 4 current and not worry about safety net. I much rather have a device that I can enjoy and keep current then worry about every thing that google is doing as far as x or y.
[Nexus 4 Android Development] justmix4:
Hi, I have one suggestion. I suggest you put in the next ROM releases (If you plan it for mako) a simple file manager (eg. Amaze <open-source>), it would make life easier for people.
[Nexus 4 Android Development] snak3ater:
Can you point me to its sources?
[Nexus 4 Android Development] justmix4:
Here is the link:

https://github.com/arpitkh96/AmazeFileManager
[Nexus 4 Android Development] AntonioJaramillo:
It is the best ROM in stability and battery there is for mako :fingers-crossed:
[Nexus 4 Android Development] Codster314:
I must admit, I was trying some of the other "Pixel'ish Roms" for mako. And this one is by far the nicest and cleanest one straight out of the box. Google Assist just works. Not a lot of bloatware and such. Thank!

Two things for the next release:

1) There are two Calculators installed (com.google.android.calculator and com.android.calculator2) after doing the basic install (clean flash + beans gapps mini). Remove one of them.

2) SafetyNet doesn't pass (CTS profile match AND basic integrity) both fail. Most other mako roms can pass "basic integrity". I'm not sure what would be involved to get this rom to pass both tests. But I think passing one of them is easy.

Other than that! Good work! Thanks.

EDIT: For the tests, if you wanna compare to another 7.1.2 AOSP rom that does pass both tests, take a look at AndDiSa's Nexus 7 Rom: https://xdaforums.com/nexus-7/development/rom-android-7-aosp-grouper-t3467514
[Nexus 4 Android Development] cyprien T:
[youtube]brpXs2JFp7M[/youtube]
[Nexus 4 Android Development] mrk2815:
will this rom get its may patches. just wondering. maybe there is work on it and i dont know about it.
[Nexus 4 Android Development] snak3ater:
Yes. Very soon. Stay tuned [emoji106]
[Nexus 4 Android Development] justmix4:
Are you planning to add a file manager in May build?
[Nexus 4 Android Development] kesnfs:
Pushed new update

saosp_mako-ota-5-6-17.zip

- Merged tag 7.1.2_r11

Detailed changelog can be found inside Settings--> About phone
[Nexus 4 Android Development] ze7zez:
Just for what? :eek:

SAOSP is nobly clean and that is what it should remain.

You yourself install the program you like.
[Nexus 4 Android Development] Oops...:
Exactly. No need to add user apps. :good:
[Nexus 4 Android Development] PauloNeto15:
the navbuttons works with inactive touch at the bottom of the screen like pure nexus and AOKP?
[Nexus 4 Android Development] ze7zez:
Same problem as Pixel Dust.

For me respond poorly, because it lacks the "Navigation bar height = 56 dp".

The ROM listing with full response I have placed >here<.
[Nexus 4 Android Development] PauloNeto15:
I remember to see "SAOSP" in your list. is there some problem with recent builds?
[Nexus 4 Android Development] ze7zez:
I do not know why, but it is variable.

For example, PureNexus had problems with it for a while, and now it works well.
[Nexus 4 Android Development] Vladislav n0th1ng:
Problems with sip

Hello, i'm have problems with SIP -> this function is build in Phoner. Have anybody a same problems ? :rolleyes:

Error what i see is : transaction terminated
[Nexus 4 Android Development] Mrcactuseater:
Absolutely love this ROM but the ambient display is semi annoying, any chance we could dt2w on ambient display?
[Nexus 4 Android Development] Burn02:
Work like a charm, like always. THank's a lot for the work done for us.
[Nexus 4 Android Development] snak3ater:
Sorry. No plans of adding Dt2w on Ambient display
[Nexus 4 Android Development] Codster314:
Installed latest build and the 2 calculators were fixed! Thanks! :) Just tried to install Netflix, and it seems Netflix won't show up in the Play Store in the ROM anymore. Netflix just changed to requiring SafetyNet to pass to download:

https://www.extremetech.com/mobile/...ger-available-rooted-unlocked-android-devices

I used my Nexus 4 as a remote to cast netflix shows to my Roku. Now that even Netflix App is requiring ROM to pass SafetyNet, maybe it's time to work on making the ROM pass Basic/CTS SafetyNet API... Currently a bunch of popular apps are in this boat (FE Heros, Mario, Netflix). Netflix being the biggest one so far. U can still download and run it off APKMirrior, but I doubt updates will work through the playstore.

Be good to get this ROM passing Basic/CTS SafetyNet API. I assume a custom kernel hiding the bootloader unlock status (Bypasses the verified boot flag like in francokernel on other phones), and some work on the ROM will be needed.
[Nexus 4 Android Development] justmix4:
If you need SafetyNet passed you can try any MM ROM's with security updates before November 2016.
[Nexus 4 Android Development] cb474:
LineageOS for Mako was discontinued (maybe temporarily) because the kernel was not getting updated with the latest security patches. What is the status of the kernel in SAOSP, as far as security patches/updates are concerend?
[Nexus 4 Android Development] jazzcat81:
Make sure you're on the latest "L" Bootloader and radio

can someone give me a hint how to do this? Also any recommended kernel? Im on hellscore and android 6. Time to update and overhaul the phone :) I still love this thing.
[Nexus 4 Android Development] mparmpas122321:
Download and flash the latest Factory Image from Google ie. 5.1.1 from adb. This will erase all the partitions with internal storage too so make a backup of your important files. Maybe you can flash it via twrp too. Wugfresh Nexus toolkit can help you with all the processes. Also update twrp to the latest version of you haven't already. Then you can go on wipe system, cache, data, dalvik (or factory reset) the phone from twrp and flash your rom.

A pretty good custom kernel for Nougat is Quanta v21. Smooth and good battery life (as good as it can be with such an old battery ?)

By the way if you are on marshmallow and have installed that lollipop version in the past manually or automatically from the ota updates of Google you may not need to flash the image at all as you already have latest radio and bootloader.
[Nexus 4 Android Development] snak3ater:
Mako support was stopped long ago. You can have the security patches inside rom but kernel isn't being updated. It's mako that we're talking about. Google stopped pushing updates. Now all we can do is porting Nougat and make sure that things don't break
[Nexus 4 Android Development] cb474:
Thanks for the reply. I'm confused though, the CyanogenMod github for the Mako kernel shows it being patched as recently as last December:

https://github.com/CyanogenMod/lge-kernel-mako/commits/cm-14.1

And when the following refers to the recent CVE not being patched in LineageOS, for Mako, what is it referring to?

https://review.lineageos.org/#/c/170473/

Also, what about the customer kernels like Hellspawn, they can't be patched when they're compiled?

Thanks for any further details.
[Nexus 4 Android Development] djonik1562:
When i get latest "L" Bootloader and radio?
[Nexus 4 Android Development] Pac-Man:
You shouldn't look at CM's repo but LineageOS, which has the latests CVE patched :) (at least it shows so at gerrit, I don't know if they were merged yet).
[Nexus 4 Android Development] mrk2815:
so does this mean that the good old mako nexus 4 cant receive android 8 android o when its available in teh AOSp branches.
[Nexus 4 Android Development] snak3ater:
You guys are worried about the security stuff for a device that's more than 4 years old. Lol.

Main thing is porting rom for Mako. Other stuff comes next. You guys are getting readymade flashable zips having no idea what's going on behind the scene and how much effort it takes to fix stuff.

Anyways there would be no Android O Saosp Mako builds unless i find some maintainer who knows what's he's doing. [MENTION=5621886]kesnfs[/MENTION] has done a great job with current builds. But now he is busy and cannot continue any further.
[Nexus 4 Android Development] mrk2815:
snak creator, why wer you so harsh. i figured it may no logner be supported i know what it takes to code and debugg soemthing so i had a feeling N would be the end of the hroad for nexus 4 mako.
[Nexus 4 Android Development] cb474:
I understand the work the developers put into the ROMs. And I appreciate it greatly. But I don't understand how appreciating this work or not means security is not important.

Only in the world of smartphones is 4 years considered old. Only in the world of smartphones are they abadoned for updates by their manufacturers and by the OS creator after two years. I'm running Debian Stable on a 10 year old Thinkpad and it works great as well as running a much more recent version of the Linux kernel and getting regular security updates (much more frequently than the monthly basis that even Google has trouble sticking to).

There is a world of opensource operating systems out there that will run on very old hardware, has all the driver support for all kinds of different hardware, and is completely up to date--good enough for running misssion critical servers.

What's more, not everyone can afford to replace thier phone every couple years, Does that mean they just have to give up on security? Especially in this world where hacks and identity theft and ransomware have become a mass phenomenon on a daily basis. People have a lot of sensitive data on their phones. They should be concerned about security.

So I really don't think security on 4 year "old" phone is an unreasonable concern. Security should come first. Instead every new OS focuses on this assistant and that assistant and a million different new messenging platforms and hey lets change how the settings menu looks constantly for no benefit.

Anyway, I wish someone would make something for phones like Debian Stable, that's tried and true, works on a huge amount of hardware, and focuses on stability and security.

Again this is not to complain about developers, who put a ton of work into the ROMs and I really appreciate that. But appreciating that doesn't mean it's illegitimate to point out that priorities about security are way off in the world of smartphones (both by the OS and phone manufacturers and in the custom ROM world).

I suppose what it's going to take is one huge hack that scews up a lot of people's lives at significant financial burden and then maybe things with smartphones will change. Sadly every time I've made a prediction like this about some type of computer system in recent years it has come true, often much more quickly than even I expected. Sooner or later with smartphones, the shoe is going to drop.
[Nexus 4 Android Development] hauckk@sfreserves.org:
In case you haven't heard mako's lineage os 14.1 official maintainer is bringing lineage build for nexus 4 up to date security wise in the kernel side but it is still a wip at the moment :fingers-crossed:
[Nexus 4 Android Development] cb474:
I had heard some comments, but it wasn't clear to me exactly what was going on. Thanks for the clarification.

Does that mean, if it gets done, that it will have a better patched and more secure kernel than other Nexus 4 ROMs and custom kernels like Hellspawn?
[Nexus 4 Android Development] justmix4:
If you don't trust Mako kernel creators (spezi, zaclimon, etc) in security aspect you just show your disrespect for their hard work.
[Nexus 4 Android Development] hauckk@sfreserves.org:
I can't make a statement for other kernels/roms but you can check here https://review.lineageos.org/#/c/173795/
[Nexus 4 Android Development] snak3ater:
No I'm not being harsh.

The way i see things, it's a miracle itself that mako is booting up having Nougat & got working camera. Many kernels were tested and the one working best was added to saosp sources. It's up to [MENTION=5621886]kesnfs[/MENTION] that he wants to make changes in Kernel or not.
[Nexus 4 Android Development] cb474:
People were saying the kernel in LineageOS was not getting security patches anymore. I was just asking what that status of the kernel in SAOSP is. That is a completely reasonable question. I didn't know the answer, so I asked.

Anyone who thinks security in the kernel or elsewhere in the OS on their phone is not important is just asking to get their email hacked, their financial information stolen, identity theft, ransomware, and so on. In fact, I generally avoid using my phone for anything I think requires real security.

But frankly, it is just beyond ignorant to think questions about security are not important. Granted, most people are foolish and ignorant about this stuff. But actually being actively hostile to someone asking about security is bizarre to me. And again I did not criticize anyone. I just asked what the status is of the SAOSP kernel, because I didn't know. It is beyond me to imagine how if I don't know it's not okay to ask.

Maybe it is a miracle that Mako still boots at all on more recent versions of Android, as snak3ater says. But still, if it's not secure, people should know that and be advised, so they can be careful about what they do with their phones.

And again, I have great respect and gratitude for what the devs do. But why shouldn't I be able to ask a techical question about security in a particular ROM?

Anyway, I guess if I can't really get a straightforward answer about security patches in SAOSP then I'm going to be skeptical about using it, no matter what its other benefits are.
[Nexus 4 Android Development] sanflores:
I'm using this rom from march and is awesome, it is the first and only rom I installed on my nexus, and I'm completely satisfied. Now I want to try to install the hybrid radio to enable LTE, does anyone knows if it will work with Android 7.1.1?

Thank you!
[Nexus 4 Android Development] stevenmozz:
Yes, it works. You just have to enable at every reboot dialing *#*#4636#*#* (haven´t find the fix for this) . :)
[Nexus 4 Android Development] mjehan:
Will this rom be updated ?
[Nexus 4 Android Development] hauckk@sfreserves.org:
Normally if rom developer is absent for a month+ i assume until other wise proven rom is dead it has been 6 weeks so far.
[Nexus 4 Android Development] davide@10:
I like this ROM, is complete and stable. But sometimes I'm finding problems when unlocking the phone. The phone freezes and I have to brutally restart my phone. Any solution to this? Or suggestions for other good ROMs?
[Nexus 4 Android Development] borisenkosergei:
The best ever ROM.

We all really want to see Oreo for mako.
[Nexus 4 Android Development] davide@10:
Sadly I think this ROM is no more under development.
[Nexus 4 Android Development] drdru:
Try LineageOS for microG ;)
[Nexus 4 Android Development] enqless:
del
[Nexus 4 Android Development] dhayat1919:
Salam
[Nexus 4 Android Development] Subala Sahu:
Ok
[Nexus 4 Android Development] jkyoho:
How much spare space do you have after ROM flash? I got around 160MB left in system partition
[Nexus 4 Android Development] snak3ater:
Latest build is odexed. Build size also increased. But there shouldn't be any problem with running out of space. What Gapps are you using?
[Nexus 4 Android Development] kreda:
Is there "over the air update" option in this build ?
[Nexus 4 Android Development] snak3ater:
Nope. There's no such option in the build :)
[Nexus 4 Android Development] jkyoho:
I used pa gapps mini. Switch to pa micro now, seems I got 90MB more spare space now. Good!
[Nexus 4 Android Development] alan-31:
Works fine for me so far. I'm using 'gaaps-L-4-21-15.zip'.

Did you wipe cacke/dalvik? Try Catlog, maybe it will tell you what's happening.
[Nexus 4 Android Development] jkyoho:
Thanks, I figured out the problem comes from xposed framework, I have to wait for the update from the xposed developers.
[Nexus 4 Android Development] snak3ater:
How's the new update running.. Is there any difference in smoothness compared to previous build? Odexed this build to see if there's any gain in performance.

Need some feedback
[Nexus 4 Android Development] jimyiak:
Can't say if it's smoother due to kernel change..but i finally have my notifications back via headsup!!!!:D:D:D

sent by nexy 4
[Nexus 4 Android Development] Oops...:
Can't tell if it is significant. For me this ROM was and is one of the smoothest. I have no lags at all using it with latest semaphore kernel with default settings. Seems to be a good combo.
[Nexus 4 Android Development] snak3ater:
Same setup. I'm also using Semaphore. Smoothest kernel out there ☺

Don't even remember when was the last time i flashed any other kernel
[Nexus 4 Android Development] Fenvarien:
+1

Semaphore kernel by [MENTION=3750240]stratosk[/MENTION] is working great and rockstable.

Your latest ROM build seems to be smoother for me. But I need to test some more apps and heavy load situations. :)
[Nexus 4 Android Development] xshallowgrave:
So this doesn't have RRO support, correct?
[Nexus 4 Android Development] TheDarkDefender:
Nope
[Nexus 4 Android Development] alan-31:
Works great for me too. I'm very happy with this rom and so glad I switched. I have no feedback so far.

Just one thing though. Can the Nav bar options for height be increased from 48 dp, and add options up to something like 80dp?
[Nexus 4 Android Development] snak3ater:
80dp. Can be added but it's too much [emoji33]

I'll see what i can do
[Nexus 4 Android Development] AhmtOzdmr:
İt's works with this rom?
[Nexus 4 Android Development] TheDarkDefender:
Ask that in the appropriate thread. Not here.