yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] Droidriven:
If you are concerned with being secure, you need to leave the device in enforcing mode, not permissive. I'm not sure exactly how you would switch the Pixel ROM from permissive to enforcing, the ROM may have a setting or you may have to use the Kernel Auditor app to switch to enforcing mode.

If you are not going to be doing any kind of modification to the system partition, you won't need to worry with permissive mode.

If the Pixel ROM is permissive by default, you won't need to change anything.

I'm not sure you understand exactly how the "switch" between enforcing/permissive is achieved. It not simply a "setting" that you enable/disable.

Here are a few ways to enable permissive mode that I know of:

1) if your stock kernel does not support permissive mode, you have to flash a kernel that has permissive support.

2) if your stock kernel does support permissive mode but doesn't have permissive mode enabled, you have to use something like the "SELinux Switch" or "SELinux Toggle" apps, these apps force the stock kernel into permissive mode and can be set to automatically enable permissive mode whenever the device boots and persist from one reboot to the next.

3) it can be enabled via adb commands or adb shell commands via PC or, if you are rooted, you can use a terminal emulator app or the terminal emulator that is built into TWRP to issue commands to enable enforcing/permissive, whichever you need.
[General Questions and Answers] :
I am not planning on rooting or modifying my system in any way, but is there a way to check whether I am running in enforcing mode? I am still running MIUI for now and if it helps, my kernel version is 4.9 186-perf-g1e22c7b and if you need any more details then just let me know. Thank you for helping me out.
[General Questions and Answers] Droidriven:
To check whether your device is set to enforcing/permissive, you should be able to look in system settings>about phone>SELinux Status

Or

system settings>about phone>software info>SELinux Status

Or something similar, the exact location of the info is different for different devices/android versions.
[Samsung Galaxy S9  Guides, News, & Discussion] Micha38GT:
Hello friends,

i am on Android 10, security patch 03/20. Rooted my SM G965F with Magisk and wanted encrypt my phone or my SD Card. Its impossible. Somebody know the reason why and have a solution for my problem ? Android 10 is Stock.

Next Problem:

when i try to debload my Phone from apps like facebook, then the phone dont restart anymore and sucks at the Samsung logo at the very beginng. I used for the debloading "system app remover" (red app).

Thank you very much.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Neil_Armstrong_:
Here's GlassROM. A rom made by [MENTION=5842226]anupritaisno1[/MENTION], based on Lineage OS 17.1 .

It's mainly focused on speed and security.

Don't expect fabulous useless features.

It doesn't come with Gapps inbuilt.

Instructions :

That's the part where you use your brain

- Be sure to be on OOS 10.3.2 Stable

- Flash rom

- Enjoy

Click here to download

Here's the boot image but i couldn't boot on it, had to flash the rom through TWRP : boot.img

Kernel source : LOS SDM845

Credits :

Thanks to anupritaisno1 for its time, patience and coolness.

"The GNU GPL is a software license agreement, under which parts of the Android operating system are licensed. The majority of Android is licensed under the Apache license, but the Linux Kernel (which is present in every running Android ROM in some shape or form) is licensed under the GPL (version 2)"
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Neil_Armstrong_:
reserved for nothing
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Neil_Armstrong_:
yeet it's mine too
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] anupritaisno1:
Imma pretend I didn't see this

Indeed
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] faabiano7:
will rom be kept up-to-date or will this be the only build?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Frog$kyWater:
Excellent question, thanks to ask ! I cannot promess to build monthly,

so take it for a no

I would like to push builds with up to date security patch at least
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Frog$kyWater:
You can't see if i *poke your eyes with a pickaxe* :angel:

I will pretend i haven't seen this too

Don't expect me to resolve bugs and ****, i'm a newborn in this world and for now i do it for fun.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] CYB3R0ID694:
Add link of Kernel Source or thread will get closed..
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sschacko:
Nano Gapps?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Frog$kyWater:
I would use them yes, haven't tested tho
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] faabiano7:
it makes no sense to use the gapps in a privacy-focused rom
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sschacko:
Really like this ROM smooth and fast.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Neil_Armstrong_:
Glad you like it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Neil_Armstrong_:
If people expressly wish to use this daily, I'll try to update

I'm waiting for April security patch I guess
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sschacko:
Looking AOD while Charging. I love super touch sound and vibration, and Good battery life too. Really I like this Rom.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Neil_Armstrong_:
it's intended to be safe and reliable for you good fellow user(s)

The dev and i are happy you can enjoy this rom

we will strike again
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sschacko:
Can you add AOD , :)and AOD while Charging. Any Updates
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Neil_Armstrong_:
I'm about to release an update
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sschacko:
Thank you so much. Try to add AOD and AOD while charging. Hope do so. Thank you so much.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Neil_Armstrong_:
Test update ! Download here

Make a backup of your important files, just in case.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Neil_Armstrong_:
I don't think it's dev priority, i'll forward your request though
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sschacko:
New update can't boot to system. It's on logo long time. I tried 3 time after clean install like other Roms. I don't know why. Rounding on lineage logo.:confused:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sky104hk:
is not matter at all~:eek:

as long as it's stable mate!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sschacko:
I don't know, tried 3 times, and dropped.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] refai:
Can someone please explain the installation process.
[OnePlus 8 Questions & Answers] NisseGurra:
I just hate edge screens, will any of the oneplus 8's have a flat screen?
[OnePlus 8 Questions & Answers] Dabarr:
As far as I have read about it in the past weeks the regular 8 will have a flat screen
[OnePlus 8 Questions & Answers] h4lli:
on the latest pictures it seems like it is flat for the 8 and curved edge for the 8 pro..

if 8 is really flat.. it's mine :fingers-crossed:
[OnePlus 8 Questions & Answers] Ippolito1971:
Standard 8 flat screen. Pro will offer curved
[OnePlus 8 Questions & Answers] NisseGurra:
Both looks curved to me:

https://www.gsmarena.com/oneplus_8_phones_officially_confirmed_to_cost_less_than_1000-news-42377.php
[OnePlus 8 Questions & Answers] eXelero:
damn I wish the 8 comes with a non-curved screen. the pro is not on my list just due to this one. ok, maybe because of the price too, but i hate that curved display :/
[OnePlus 8 Questions & Answers] xocomaox:
I'm surprised so many people are saying the 8 will be flat. Everything that has leaked about these phones tells us that it is going to be curved.

Now, it seems the curve will be closer to Samsung's latest phones (sharp curve) and not like the OnePlus 7 Pro from last year. We'll know tomorrow.
[OnePlus 8 Questions & Answers] NisseGurra:
Confirmed Curved = no buy
[OnePlus 8 Questions & Answers] jaseman:
Same here - no sale.

Curved glass = STUPID, useless, easier to break.

Punch hole selfie = UGLY, stupid, useless and stupid and UGLY!

Too much $$$$ for this.
[OnePlus 8 Questions & Answers] alan sh:
It's curved right at the end. I agree. flat would have been nicer, but I can live with it.
[OnePlus 8 Questions & Answers] Linuxkek:
Curved is such a trash
[OnePlus 8 Questions & Answers] bramgoodwin:
Hate curved. Just bought flat-screen OP7T. Hopefully, not last flat screen OP.
[Android Q&A, Help & Troubleshooting] LazorBlind:
I am using the latest F-droid build of Retroarch (aarch64) which is from today, since it seems to get an update every day.

The device I am running is a rooted Amazon FIre TV 2 (codename Sloane)

For the past few days, I have been unable to save via a game's in game saving option. Save States still work fine, and so does changing config options for Retroarch itself as well as Cores.

I have been exiting properly, as I have read that if you just kill the app saves don't usually get retained as they are not written to a file until Retroarch closes. I have the SaveRAM autosave interval option set to the default 10 seconds, but I have also been trying to close the core and then exit Retroarch, as well as exit Retroarch eith the core still running, to see if that helps, to no avail.

I have not changed the save directory. The only directories I changed is the system folder and the File Browser start folder to USB, as that is where I keep the BIOS pack and my games, but the saves are set to the default location on internal memory.

Saving was working just fine about a week ago on mGBA, which was the only core I had installed at the time. But I have since installed PCSXreARMed and the Opera 3DO cores. I only noticed this issue two days ago when I tried to save my progress in the 3DO version of Killing Time. I have not tried to save anything in PCSX, but considering mGBA no longer saves, I would imagine it would do the same.

I am using apps2sd pro to "expand" my internal memory and link bigger apps to a 20gb EXT4 partition on the 32gb microsd card I have installed in Fire TV. I thought the fact that I have linked Retroarch into the sd might have caused the issue, but unlinking and even completely re-installing did not fix the problem. The Retroarch folder where all of the default directories were stored are still in the real internal memory even when the rest of the app is linked to the microsd. I have also used the app's SDFix function to allow apps to save to external storage, but Retroarch still doesn't save even if I try to save my games to the 10gb FAT32 partiton of my sdcard (which the Fire TV can use normally), or to a folder in my USB drive.

Thankfully I at least have the savestates, but I would really prefer to be able to use the actual save function in the games themselves. Any help would be appreciated.
[8525, TyTN, MDA Vario II, JasJam General] DoofDoof13:
I have been updating my camera software from various xda posts and they have all failed. So i uninstalled and went back to my normal software (htc camera 4.0).

Now, when i put the flashlight on, it does not come on (flashlight works with VJCandelaLite) and i able to capture videos but not pictures ("unable to capture photo").

Even when i try a program like cool camera or any of them. They do not work and they come up with a different error. "a problem has occurred with filesys.exe"

Any ideas what to do, other than a hard-reset. Is there a program that might have caused a conflict?

Is htccamera.dll corrupted from the many different versions installed?

Thanks
[Xiaomi Redmi Note 7 Questions & Answers] Skye1080p:
Hello! I would like to know if it is okay if I don't update my PE rom to the latest version and stay with it as long as I want to? Would I encounter any problems on the future? Kinda scared to catch more bugs on the latest updates PE, I really like my current PE version. Looking forward for answers! Tia
[Samsung Galaxy Tab S6 Questions & Answers] gigino:
Hi everyone,

I need some help with this dilemma I have a Tab S6 and I'm trying to connect a Samsung Watch so I can use all the functions of the watch.

What I understand is that the software of Samsung the Galaxy Wearable is not comparable with a tablet so cannot connect the watch to my tablet.

Is they any another way to connect the watch to the tablet like a different software or any type of hack that I could do to connect the watch?

Thanks

Gigino
[Treble-Enabled Device Questions and Answers] Bonnnn:
EvolutionX or HavocOS or MSMXtended in terms of customizations?
[Meizu Pro 5 Questions & Answers] python_rocks:
Note: Posting it here even though

ROMs, Kernels, Recoveries, & Other Development

would be more appropriate category but this site isn't allowing me to post there 'coz I'm a new user.

Here's a situation: I've got Meizu 5 pro flashed with Flyme 6 which I flashed using TWRP recovery. I made few tweaks of the partitions (deleting and recreating and renaming) and then I wiped data.

Now the phone boots but as soon as it hits main interface I get error saying "internal storage is running out the process has been stopped" then it reboots and starts over, hits the message, reboots, starts over .... stays in this loop.

I still have access to:

- Meizu's recovery mode (which is kinda useless if I can't access root directory)

- locked fastboot mode (also little bit useless if it's locked)

- recovery partition through USB

I also have MRT dongle for repairing Chinese phones but it doesn't seem to work unless the phone boots fully into Android.

What I can do about this ? Any help much appreciated.
[Meizu Pro 5 Questions & Answers] alecxs:
hm.. is it Exynos or Mediatek?
[Meizu Pro 5 Questions & Answers] python_rocks:
My guess is Exynos as all people here who have dealt with Meizu 5 pro say so.

Allegedly, on this Meizu you can press and hold Vol up and down and press power button once and the

phone's chipset will appear on the screen but my phone doesn't show anything.
[Meizu Pro 5 Questions & Answers] alecxs:
[TUTORIAL] Restore hard bricked + lost recovery with locked bootloader Meizu Pro 5
[Meizu Pro 5 Questions & Answers] python_rocks:
Funny. I was just reading the thread when you sent me the link. Looks like my phone's last chance for resurrection, doesn't it ?
[Meizu Pro 5 Questions & Answers] alecxs:
besides official meizu flash tool (if exist)
[Android Q&A, Help & Troubleshooting] gardeimasei:
I build and flashed a blueline-userdebug (Android 9 Pi) onto my Pixel 3. It does not have Google Play Store and I followed the typical instructions of copying over the GoogleServicesFramework.apk, Phonesky.apk, PrebuiltGmsCore.apk from the factory image for my build into my /system/priv-app folder. After changing the permissions on the folders and applications and rebooting, my phone gets stuck in a boot loop and never gets passed the android logo. Simply removing the folders in /system/priv-app fixes it.

How can I install Google Play Store on a userdebug AOSP build without getting into a bootloop? Do I have to change any permissions files in the source tree? My phone is rooted and the bootloader is unlocked.
[Android Q&A, Help & Troubleshooting] Deleted member 1890170:
Read here
[Android Q&A, Help & Troubleshooting] gardeimasei:
Thanks haven't read that one yet.

Actually I was able to get out of the bootloop by using adb shell logcat to find the package I needed to provide permission to. To get a human readable permission error output I followed the official android docs

After that having the APK files I mentioned on in the priv-app folder did not throw boot errors.
[Windows Mobile Development and Hacking General] kaino:
hello search SPB.Mobile.Shell 2.1 skin working g900
[Windows Mobile Development and Hacking General] Oskala:
hmm? :pwhat's the point in creating these threads? really?
[Moto Z2 Play  Questions & Answers] Isaac33ag:
Hi, I reciently got an Moto Z2 play the Verizon version with 3gb ram. I search a tutorial on youtube to upgdate Android 9 but i dont unlock the bootloader ando now just stay in recover mode, i can´t pass frome there. Help pliz. I already try the Lenovo Moto assistant but nothing.

PD: in the bootloader says: ERROR: Failed to pass validation, back up to fastboot

Fasboot reason: Fall-through from normal boot mode.
[Moto Z2 Play  Questions & Answers] Sherzaman Khan:
Hellow dear i have already this problem but i installed verizon software asistant on my pc and install online frimware but download when flashing start it says device not conected so i tried same frameware manually from adb fastboot
[MENTION=10661553]Isaac33ag[/MENTION]
[Xiaomi Redmi 5 Questions & Answers] nico21it:
hello, please help me, my redeemer 5 plus rom stock miui 11 stable, rooted with ORANGE FOX and MAGISK, with today it has changed the color of the notification bar, it has turned black, as per the attached photo, I don't understand if the cause is an app that I used for Android Auto that I uninstalled, but I would like it to return to its original color ..

I also tried to install the stock rom as an update but it hasn't changed. the background of the photo gallery and the settings menus related to the notification bar are also black.
[Xiaomi Redmi 5 Questions & Answers] Antramx:
There is not photo attached so I can't see what you see.

First of all - did you try restarting it?
[Xiaomi Redmi 5 Questions & Answers] nico21it:
sorry for the image but I do not understand why it does not display it, however in the end I did a factory data reset and it returned to place ..
[General Questions and Answers] Naxil:
Hi. Lot of app client/server use wi-fi and communicate with other device with a router in the middle. But if the phone is the hotspot itself (for share LTE) lot of app refuse to work. Like playstation second screen app ask for conf1=ps4<>router<>android device.

If the connection is conf2=ps4<>android device as hotspot the playstation app refuse to work because ask for enable android device wifi.

Exist a way for use conf2 ? For my opinion conf1 and conf2 can send data to each other device right? Because some app work with conf2 (like bubbleupnp, other upnp app have the same problem of playstation second screen app).
[General Questions and Answers] Droidriven:
I don't know how to explain it properly, but, it doesn't work like that. It can't be the hotspot AND link with another device to share screen, etc...

As you said, you need a Wifi router between PS4 and your phone. If you have another android device, you can try enabling the hotspot on one android device, then use the other android device to connect to PS4<>hotspot phone<>android device. This would be the same as using your phone and PS4 via wifi router.
[General Questions and Answers] Naxil:
Ok. But the two device can share data in conf2 and conf1
[General Questions and Answers] Droidriven:
There is a difference between sharing data and sharing data while connecting to another device for other purposes. The radio/modem in your device can't do both at the same time, only one or the other.
[Moto G5 Plus Questions & Answers] Sandy2Coats:
Hey guys, I'm new to all this so bear with me. I rooted my Moto G5 Plus and installed the Pixel Experience. I've run into a few issues. First, the camera and flashlight would not work, but randomly they are now working.

But here is the biggest problem. When I answer a call from someone they can hear me, but I can't hear them. I have to switch to speaker in order to hear them. Plugging in headphones also works. But with the headphones in the volume is really loud and I'm unable to lower it. Does anyone have any thoughts on this? If there's some diagnostic things to try please explain them as easy as possible.

Thanks for taking the time to read this! :)
[Moto G5 Plus Questions & Answers] riyan65:
Seems mixer path config got changed, you can try mine, replace the mixer path with mine to yours, if it works then just leave it. if not, you can try a clean flash to make it work normal. If clean flash didn't help. Move to stock rom and then try other ROMs.

https://drive.google.com/file/d/10WN459UfpFqlzWWoN-tiVxp0tUPY3O4n/view?usp=drivesdk
[Android Q&A, Help & Troubleshooting] morpheus______:
Hello all!

I'm deep into writing an update to my Android Internals book, and I'm trying to catch it up with contemporary devices, and compile stats from all leading chipsets - namely, QCOM SD8250 (SnapDragon 865), Exynos 990, MediaTek's latest, and even Nvidia, if I can get someone who's rooted the latest Shield.

The idea is somewhat similar to El Grande Partition Table - which I found really useful, so thanks to all there, but more. It entails running several commands:

cat /proc/cpuinfo: To get the CPU architecture and details
cat /proc/version: To get the running kernel version
cat /proc/partitions: To get the partition map (might need root)
mount and df: To get the mounted partitions stats
ls -l /dev/block/platform/*/*/by-name: To get the partition names (might require root. As of Android 10, /dev/block/by-name can be used)
dumpsys: For a dump of all services
getprop: To get all the properties set on the device
getevent: To get a list of input devices (after which you can press CTRL-C)
service list: To get a list of all binder services
ps -Zef: To get a list of all processes and kernel threads on your device
ls -l /sys/module: To get a list of all modules, compiled in or loaded. lsmod would also be appreciated if you have loaded modules.

and I am also working on getting sample OTAs so whoever is interested can use for static analysis.

Over time I hope this could serve as a reference not just for my own research, but for anyone interested in reversing OS components of a device - especially when a device can't be obtained easily.

What I have so far at newandroidbook.com/ddb - is pretty rudimentary, but already quite useful for last year's devices. I would greatly appreciate any help. If you can contribute, either email or DM me at will.

Much obliged

J
[Android Q&A, Help & Troubleshooting] morpheus______:
New devices added

If anyone is interested, several new devices added, including:

- Amazon Fire HD10 "Maverick", (MTK8183, rooted)

- VIVO IQOO3 (SD8250, not rooted)

- OppoFindX2Pro (SD8250, not rooted)

- Sony Xperia A1 Ultra (MT6757, rooted)

Overall, over a dozen devices, and counting. If you feel like you can contribute, please do!
[Android Q&A, Help & Troubleshooting] morpheus______:
Many more devices added, including Pixel 6 (Oriole). contributions always welcome.

NewAndroidBook.com/ddb/
[Android Q&A, Help & Troubleshooting] morpheus______:
The Android Device Database now has rooted images (all with Magisk) to help people who can't get their hands on the stock boot.img. If you have any images not listed there (which, right now is a lot, since I only did Pixels), please contribute.
[Moto G4 Plus Questions & Answers] Z7X4Y2HQ:
This thing bothers me alot that Moto G3, even G2 I think has Android 10 ROMs, so I was thinking if it's possible to install another phones ROM into a different phone. I was thinking of installing Moto G3's Lineage 17.1, I know that it can be really unstable, but if it's possible, please tell me how ?
[Moto G4 Plus Questions & Answers] sd_shadow:
It won't work
[Moto G4 Plus Questions & Answers] fuyukihidekii:
Not possible, and we already hav Android 10 ROMs
[Moto G4 Plus Questions & Answers] Z7X4Y2HQ:
yes, i saw the arrow os 10 ROM yesterday and now i am going to try it although i know that camera and sd card doesnt work and its really unstable, because i had already installed some arrow os 10 from a google drive that was said to be for athene, it was way better than i expected but still very broken