yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Edge Guides, News, & Discussion] CrEaTiiOn_187:
Change it back to SM-G935F i found out that after editing that file and adding ro.opa.eligible_device=true you can switch model back to SM-G935F and assistant still works
[Samsung Galaxy S7 Edge Guides, News, & Discussion] miles_muso:
OK, I'm guessing the YouTube video I've just watched is a hoax, as it promises a way of "installing Assistant to any android phone in less than 1 minute" withouty xPosed, Magisk or root. Just by sideloading a replacement Google.apk. But just in case it's real, could someone who knows how to unpack apks have a look at this and let me know........?

NB please, if you're a novice user, don't install this to your phone until it's been tested by clever people at XDA. It's probably click-bait for a virus installer.

YouTube link: here

Link to "Google.apk" here

Thanks
[Moto G4 Plus Questions & Answers] YorkIT:
I have a stock Moto G4+ xt1641 from TELUS (Canada) and it refuses to connect to any cellular network (LTE, WCDMA or GSM).

It's not blacklisted by the carrier.

It was working fine last night and all of a sudden as I was on a call, the call disconnected and went "No Service" / "Emergency Calls Only".

I power cycled and I even a factory reset.

I tried a FIDO (Rogers) LTE SIM and it appears INTERMITTENTLY to register on the network, but refuses to make/receive calls, SMS or data. At this moment, it has gone back to no service.

Clearly it's some sort or radio issue. Any suggestions to try to fix it?
[Moto G4 Plus Questions & Answers] sti.general:
it's the same problem, i am in Colombia, i tried with all simcard carrier's, and not working in network.

help please...
[Moto G4 Plus Questions & Answers] daeshawn:
I have the 1641 from koodo so basically telus. I did notice it dropping calls and suddenly not connecting to networks but it seemed to just work itself out. Not sure whats goin on on yours
[Moto G4 Plus Questions & Answers] jkardenas:
De México por aca. Same problem here, please tell me if you fix it...
[Samsung Galaxy S7 Questions and Answers] hawkwind:
View attachment 3947054

Anyone else received this update?

I have just installed it now.

Never expected a second update this month.
[Samsung Galaxy S7 Questions and Answers] churchin:
Just carried out a manual check for update and it downloaded OTA for XEU. Same version as you.
[Samsung Galaxy S7 Questions and Answers] *Detection*:
Because we got Octobers update in November probably, they were late for BTU/XEU
[Android Software/Hacking General [Developers Only]] AdrianDC:
​

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

About the project

Kernel Permissive Patcher is born out of an idea to ease the development of ROMs.

Its purpose is to append the permissive flag to a kernel command-line,

in order to disable the kernel selinux security on boot without user changes.

The project implements the logic from the MultiROM injection (originally by Tasssadar),

finds the bootimage of your device (boot naming similar to Chainfire's boot detection),

and extends the cmdline with the permissive flag if required.

The project also uses my version of libbootimg to support Sony ELF bootimages.

The objective of Kernel Permissive Patcher is therefore to simply enable permissive

on a regular kernel for developers and users who would require it.

Developer no longer need to recompile or edit their bootimages with permissive settings,

nor do users need to perform a setenforce command on boot if they really need it.

The patcher needs to be flashed again after a ROM / bootimage update.​

Downloads (Unlocked Bootloader only)

kernel_permissive_patcher.zip : https://github.com/AdrianDC/kernel_.../master/release/kernel_permissive_patcher.zip​

Other related useful projects

Android Bootimage ADB Unsecure Patcher - http://xdaforums.com/-/-t3618558​

Source code

Project sources - https://github.com/AdrianDC/kernel_permissive_patcher (branch master)

libbootimg sources - https://github.com/multirom-dev/libbootimg (branch master)

MultiROM sources - https://github.com/AdrianDC/multirom_core (branch master)​

Kernel Permissive Patcher created also thanks to :

- Tasssadar for the original MultiROM sources

- The MultiROM-Dev team for our evolution of MultiROM

- Chainfire for the boot detection

- Everyone involved in testing it​

XDA:DevDB Information

Kernel Permissive Patcher, Tool/Utility for all devices (see above for details)

Contributors

Adrian DC

Version Information

Status: No Longer Updated

Created 2016-11-24

Last Updated 2019-08-06
[Android Software/Hacking General [Developers Only]] AdrianDC:
Reserved

Changelog

Kernel Permissive Patcher - 20/12/2016
======================================
* Fix the 32/64 bits dual support

Kernel Permissive Patcher - 18/12/2016
======================================
* Added support for Sony Stock ELF (64 bits) bootimages
* libbootimg changes from my recent updates

Kernel Permissive Patcher - 27/11/2016
======================================
* Add support for newer Sony ELF partitions
* Allows to patch Stock Sony ROMs on the Xperia Z2
* Updated in collaboration with Alexander Diewald

Kernel Permissive Patcher - 24/11/2016
======================================
* Initial public release on XDA

Devices confirmed

Sony Xperia SP (Huashan)
Sony Xperia T/TX/V (Mint, Hayabusa, Tsubasa)
Sony Xperia L (Taoshan)
Sony Xperia Z2 (Sirius)
Sony Xperia X Performance (Dora)

OnePlus One (Bacon)
...
[Android Software/Hacking General [Developers Only]] dic1911:
Thanks, this is really useful in some situation :D
[Android Software/Hacking General [Developers Only]] dic1911:
Seriously? Please try to read the OP, this is rather short than most other threads, if you don't understand what's this for, you probably won't need this.
[Android Software/Hacking General [Developers Only]] rgadge:
Hello AdrianDC,

First of all, thank you for this wonderful MOD, I can set my phone running in permissive mode without rooting it.

I have BlackBerry work and for the same reason I'm not rooting my phone.

I have OnePlus One your MOD worked fine with LineageOS but with the version sultanxda's CAF version this mod won't keep the SELinux permissive.

Please suggest if there is a way to find the root cause and fix it?

Thank you in advance.
[Android Software/Hacking General [Developers Only]] aaron74:
Well this work on samsung kernels? Note4?
[Android Software/Hacking General [Developers Only]] blood1995:
i flashed your zip file with my galaxy j2(j2lte) exynos and its not working still on enforcing status
[Android Software/Hacking General [Developers Only]] Eversmile23:
S-ON problem.

Can I do Operations which are possible when a device is with 'S-OFF', by flashing this zip? I have got HTC desire 10 Lifestyle, which is bootloader unlocked but 'S-ON'. For example, when I write something on to my '/system' partition, the files vanish after a reboot.
[Android Software/Hacking General [Developers Only]] dic1911:
Nope, having a permissive kernel won't change this behavior
[Android Software/Hacking General [Developers Only]] hdc8899:
no working on s7 edge
[Android Software/Hacking General [Developers Only]] VincentJoshuaET:
Thanks for this. Can you make a zip that does the opposite, which is patching the kernel to enforcing? Thanks
[Android Software/Hacking General [Developers Only]] SykoraLukas:
how to uninstall it?
[Android Software/Hacking General [Developers Only]] JumboMan:
This is very simple . you can do yourself.

steps.

1.Take .zip from here and decompile

2. Edit kernel_permissive.sh file

At line No.18 replace "androidboot.selinux=permissive" with "androidboot.selinux=enforcing"

3. Re-compile zip

4. Flash

---------- Post added at 09:12 AM ---------- Previous post was at 09:10 AM ----------

Restore your stock boot.img
[Android Software/Hacking General [Developers Only]] doubledragon5:
Tried on S5 Sprint not working.
[Android Software/Hacking General [Developers Only]] Alonso_Quixana:
Can I use this on a Samsung Galaxy S5 mini Marshmallow Stock Rom to make it permissive?

If not, what else could I do? (except trying to compile a custom kernel)
[Android Software/Hacking General [Developers Only]] ☆KØŁØЯΛĐØ☆:
[MENTION=2233641]AdrianDC[/MENTION] To start off, I have the Galaxy J7 Refine (SM-J737P) (2018) from Boost Mobile & this device seems incapable of setting SELinux to permissive, except in TWRP. The Kernel Patcher receives an error when attempting to flash, yet the adb unsecure patcher flashed no problem. No matter what methods I try or files I flash, SELinux remains set to Enforcing. I am wondering if you could shed some light on this situation or if this device remains permanently enforced by SELinux.

View attachment 4750016​
[Android Software/Hacking General [Developers Only]] Zackptg5:
I made one here that can switch between permissive and enforcing: https://github.com/Zackptg5/Kernel-Sepolicy-Patcher

Hopefully it'll work for your device
[Android Software/Hacking General [Developers Only]] ☆KØŁØЯΛĐØ☆:
I was hoping it would but sadly it doesn't look like it. Even mounted the system in TWRP before flashing.

(See attached screenshots)
[Android Software/Hacking General [Developers Only]] Zackptg5:
It's not supposed to mount system. It's all in the boot I'm headers. Can you send twrp log after flashing?

Also, it's setenforce 0, you don't want the equal there
[Android Software/Hacking General [Developers Only]] ☆KØŁØЯΛĐØ☆:
Didnt mount the system this time; still reads as Enforcing. I've attached a copy of the recovery.log
[Android Software/Hacking General [Developers Only]] Zackptg5:
Okay, just pushed a change to fix one error but your header is messed up - the permissive entry is in there twice. I don't know if that's you issue or not but I'd recommend restoring original boot img (if you didn't make a back up, extract boot.img from your rom zip an flash img in twrp), then flash the zip.

The multiple entry thing wasn't from my zip though (I tested it to make sure it wouldn't do that).

All this does is add/remove the "androidboot.selinux=permissive" from your cmdline (which you can see in the recovery log). If it's present, you should be in permissive mode
[Android Software/Hacking General [Developers Only]] ☆KØŁØЯΛĐØ☆:
Okay very cool. I appreciate you helpin me out bud. Will do that whenever I get home from work
[Android Software/Hacking General [Developers Only]] ☆KØŁØЯΛĐØ☆:
[MENTION=6037748]Zackptg5[/MENTION] After various attempts, SELinux still remains Enforced. I must be doing something wrong & not noticing where. Would you mind giving me a run down on how to edit the cmdline? I know this is elementary but somethin is amiss here. Be it the tools I'm using, the distro, possible file extension error, or maybe I just haven't found the correct way to edit. I'm still learning but this sh*t is bugging the hell out of me.
[Android Software/Hacking General [Developers Only]] Zackptg5:
If you look at the recovery lot, the last cmdline entry is what your cmdline headers are and in the last log you sent, you had the permissive line in there so I'm thinking that there might be something else in your rom setting it to enforcing. What room are you on?

You can edit the boot img on your PC, use osm0sis's image kitchen: https://xdaforums.com/showthread.php?t=2073775

to unpack it. Then edit the boot.img-cmdline file in the split_img folder with a text editor.

Repack and flash boot.img in twrp

Editing it in the device itself is way more complicated (you can go through the zip for that)
[Android Software/Hacking General [Developers Only]] ☆KØŁØЯΛĐØ☆:
I'm not running any custom ROM. I am, however, rooted [obviously] with Magisk & have the boot.img patched but that shouldn't really make a difference. My system obviously has the ability to switch to permissive but I'm with you, I think something else is causing it to start enforced. Any ideas what it could be?
[Android Software/Hacking General [Developers Only]] Zackptg5:
Not really. Magisk hides permissive mode so it's worth checking magisk log to see any mention of that but it should still show up as permissive in terminal though
[Android Software/Hacking General [Developers Only]] ☆KØŁØЯΛĐØ☆:
I edited the cmdline & removed the second permissive argument that you pointed out. However when I repacked it using the AIK-mobile, it sent me into a bootloop. Unsure what was at fault there but I did notice that the default.prop in the ramdisk had what appeared to be a symlink to the prop.default in the /system. Would editing that file (prop.default) to make it unsecure have any effect? Have been pondering that for about an hour now
[Android Software/Hacking General [Developers Only]] laharl_22:
The boot.img modified is flashable with fastboot?
[Android Software/Hacking General [Developers Only]] S8Activelopers:
Just tried this on an S8 active (G892A) and got a message from AT&T saying they found unauthorized software on my phone and to take my phone into at&t. Tried flashing with Flashfire. I wonder if flashing w/ TWRP would make a difference.
[Android Software/Hacking General [Developers Only]] xchaoling:
i think it works
[Android Software/Hacking General [Developers Only]] Smil3yWulf:
Its not patching the boot to permissive. At recovery it said it did, but im still on enforcing
[Android Software/Hacking General [Developers Only]] Smil3yWulf:
Its an Samsung SM-T280 tablet.. 5.1 android.when i go to to about on settings its says enforcing. I even try setenforce permissive. Then i do getenforce i get enforcing
[Android Software/Hacking General [Developers Only]] DroolingDoggie:
After flash it on redmi6a, still got Enforcing.
[Device Reviews and Information] Alberto96:
LEAGOO M8 - Information & Reviews - 5.7" HD | MT6580A | 2GB | 16GB | Fingerprint

LEAGOO M8

Specs:

Leaked News:

LEAGOO M8 Pre-Sale Announcement

After the Leagoo M5 and M5 Plus, the latest in the elegant M-series, LEAGOO has cooked up yet another sleek smartphone that not only comes with a larger phablet display size but also packs a nice set of basic specifications.

One of the major highlight of the M8 is its large display. The LEAGOO M8 features a large 5.7-inch HD display with 2.5D glass and Corning Gorilla Glass 4 protecting the display. The M8*is powered by a MediaTek MTK6580A chipset supported by a 2GB RAM. There is also 16GB of internal storage on the device which can be expanded up to 128GB via microSD.

Furthermore, the M8 sports a 13MP rear camera with f/2.2 aperture, AF and LED flash and on the front there is an 8MP front-facing camera with f/2.0 aperture. There is a rear mounted fingerprint sensor that is said to be super fast in unlocking the device. The device runs on Freeme OS 6.0 based on Android Marshmallow 6.0 and packed under its hood is a large 3500mAh battery.

The M8 comes in three cool color variants namely, Titanium gray, Galaxy Silver and Champagne Gold. As stated, the Leagoo M8 will be on pre-sale running from November 25 to December 6​
[Device Reviews and Information] ghostmobb:
i get mine in a few weeks and ill be posting a review
[Device Reviews and Information] Alberto96:
I am still waiting for mine, you will need to wait a bit to see my review.
[Device Reviews and Information] crisis_trustee:
Where are builds on base of Android 7.1.x?
[Device Reviews and Information] Alberto96:
Are you serious? Android 7 on a MT6580 device? Do not expect it. (at least not officially, Mediatek abandoned this CPU)

UPDATE: i was wrong, there are some devices to be released with Android 7 running on MT6580 (weird, but true) so...
[Device Reviews and Information] Iliyena:
A review on the way? Wanna get a cheap phone with a big screen and good batterylife, my RN2 (hermes) went to the heavens in dec :'(
[Device Reviews and Information] Alberto96:
Unfortunately i still have to get it :(
[Device Reviews and Information] stephendt0:
The lack of 4G is a little bothersome., but considering that most of the world here is on 4G, the 3G network remains relatively uncongested, so it's fast enough.

Has anyone got theirs and are able to comment on the software side of things? I gather it will be packed with bloat possibly vendor spyware...
[Device Reviews and Information] Kitarist:
So guys how does this phone hold up? . Also found the post how to root it so it seems like a really good phone for the price :) There's also a Leagoo M8 Pro version already out now so it will be interesting how that one stacks up against the original one.
[Device Reviews and Information] stephendt0:
M8 Pro is just a dual camera version... nothing to write home about.
[Device Reviews and Information] Alberto96:
The M8 Pro looks to be much better though, better CPU/GPU (MT6737 instead of MT6580), 4G Support, etc...
[Device Reviews and Information] Kitarist:
Does anyone know what the price would be for the M8 Pro?
[Device Reviews and Information] Palm Trees:
It's listed for 101$.
[Device Reviews and Information] Kitarist:
Hm if its gonna run for around 100 EU then its better to spend tiny more and get Xiaomi Redmi 4 way better specs and even better support...
[Device Reviews and Information] Alberto96:
I have to agree with you, unless it will feature a better CPU, minimum MT6737T. (that is also the minimum required to support the dual camera feature)
[Device Reviews and Information] stephendt0:
The only reason I bought a Leagoo M8 was because it offered better specs than Xiaomi at this price point. Once you get up to Redmi Note 3 pricing, then it makes it very hard to compete against. LineageOS 14.1 is beautiful.

Question to those who have received your package already - does the package include a TPU case? The last phone I bought at this price (Homtom HT7) included one, but I did want to check before I buy a separate one.
[Device Reviews and Information] Palm Trees:
Price drop. It's listed for 84 USD now and labeled "global first batch" from the AliExpress seller (the only seller at the moment found via Kimovil). It will ship in April. Likely that's why none of the big B2C sellers haven't listed it yet.
[Device Reviews and Information] Alberto96:
I got it today. (the M8)

No TPU Case included.
[Device Reviews and Information] stephendt0:
Another question. How much does it weigh? Some sites say 224g, others say 176g...
[Device Reviews and Information] Alberto96:
I still have to weight it, but 224g seems to be a bit too much, at least this is what i feel. If you want a confirm just wait for my review :)

Something that might interest you is that my M8 has a fake SLR feature in the Camera App xD I can't believe it, without a dual camera this is technically impossible, which means that there is just a software effect applied to the photo. A bit confusing sincerely.

What confuses me even more is the M8 Pro, Dual Camera with MT6737 (not T)? This is, again, technically impossible. (no Dual ISP...)

Mediatek Website: "Camera: 13MP 28fps with ZSD (or 30fps in MT6737T variant, with Dual ISP)"
[Device Reviews and Information] stephendt0:
Yeah the M8 Pro is a weird device for sure. Dual cameras are utterly useless at this price range...

Look forward to what you hear about the weight of this device. Can't wait to get my hands on one.
[Device Reviews and Information] stephendt0:
Quick question. Still haven't got my device yet.

I was looking at this review, Leagoo changed the multi-tasking button to a menu button???: https://youtu.be/eBuAYJXNdCM?t=4m2s

Any way to change this with root? This would drive me nuts.
[Device Reviews and Information] Iliyena:
Think the UI they put on top lets you change what the buttons do... Feels like it were shown in a youtube-vid. I've seen.
[Device Reviews and Information] stephendt0:
Hmm, Leagoo does seem to make a lot of bad UI changes. I'd love to see a de-bloated ROM for this device - bare basics with Nova Launcher should run quite snappy :good:
[Device Reviews and Information] Alberto96:
No customizable keys here unfortunately, but the UI isn't as customized as other LEAGOO devices.
[Device Reviews and Information] stephendt0:
Any possibility that the keys can be remapped by changing config files or via xposed modules?
[Device Reviews and Information] Alberto96:
It should be possible to enable the proper Android soft-keys navigation bar. (qemu.mainkeys)
[Device Reviews and Information] stephendt0:
If the current softkeys are emulated, would flipping this flag not result in two sets of softkeys...? I think they've recompiled something to change the button actions
[Device Reviews and Information] Alberto96:
Of course there will be another flag to disable, almost all mediatek devices have flaggable features.
[Device Reviews and Information] Alberto96:
[MENTION=4586534]stephendt0[/MENTION] : 221g is the real weight.
[Device Reviews and Information] stephendt0:
Whoa, so it is pretty heavy. Thanks.
[Device Reviews and Information] stephendt0:
If understand this correctly, Leagoo invented their own softkeys with custom functions, which can be disabled, and the stock android keys can be enabled?
[Device Reviews and Information] Alberto96:
Basically...yes.
[Device Reviews and Information] stephendt0:
Neat. Probably the first thing I'll do once it arrives and I root it :D
[Device Reviews and Information] Alberto96:
Review (Part 2)

Benchmarks

I have used 3DMark, AndroBench, Antutu Benchmark, Epic Citadel, GeekBench 4, GFXBench, PCMark (Work 2.0, Computer Vision, Storage & Work 1.0) and Vellamo to stress the device to the limit. I won’t test Games or Video Playback because there are already some related tests included in these Benchmark suites.

3DMark – GPU Performance is decent, this is a low-end device with an old Mali-400 GPU so we can't expect something better.

AndroBench – eMMC Performance is better than what i would have expected. Pretty Good!

Antutu Benchmark – I won’t say a lot about this benchmark, this isn’t as reliable as others. I’m providing this just for benchmarks lovers.

Epic Citadel – Based on this result, OpenGL 2.0 Games should run pretty smooth here.

GeekBench – CPU Performance is a bit low, there are 4x Cortex-A7 CPUs here that can't provide much computational performance. Sufficient for basic daily tasks.

CPU

Compute

GFXBench – Not the best GPU performance here, but i might have expected something even worse.

PCMark – Well, it isn't possible to get better performance on this MT6580 SOC, low-end performance is confirmed.

Work 2.0

Computer Vision

Storage

Work 1.0

Vellamo – Browsers Performance seems to be decent, nothing to complain about it.

Conclusions

What to say about this phablet...this is a decent device with decent performance and decent price. A good compromise for those in search of a 3G phablet? Well based on my research, currently, there isn't any better device that offer the same, or better, specs (excluding the upcoming M8 Pro), so...yeah, this is a good compromise if you don't need 4G Network Access.

Considering that some bugs i found are easily fixable with a software update, i can recommend this device, but stay tuned for the M8 Pro that might become an even better alternative.

Pros:

Impressive Battery Life

Decent Price-Performance Ratio

5-points Touch Screen

Solid and Well-Built

Super-Bright Screen

Good GPS Performance

Cons:

No Notification LED and No Magnetometer/Gyroscope

Heavy

Still using the old MT6580 chipset

No Android Nougat update available yet

Camera Auto-Focus makes Macros look out-of-focus

WiFi Performance needs to be improved

Rating: 8.4

Packaging and Accessories: 8.5

Design and Materials: 8

Performance and Heat Dissipation: 7

Screen: 9

Camera: 8

Sound: 7.5

Battery Life: 9

Software: 9

OEM Support: 8.5

Price: 9.5

You can find full-res images (I know, Quality isn't excellent) here: http://imgur.com/a/kk7YN

Official Website: http://www.leagoo.com/mobile/M_Series/M8.html

You can buy it on many online shops. Official, and authorized, Retailers are listed in the LEAGOO website.​