[Q] How to enable swap on P700/P705 with CM11? - Optimus L3, L5, L7 Q&A, Help & Troubleshooting

I have read so many guides, but I got some messages when I do swapon file.swp or something like:
Function Not Implemented.
# CONFIG_SWAP is not set
What can I do, change the kernel or what?

Related

[Q] Loopback devices?

Does the stock kernel come with support for loopback devices, or would I need to build my own to get that feature?
Stock kernel has support.
grep LOOP arch/arm/configs/omap3621_gossamer_evt1c_defconfig
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set

Multiuser max_users

Hi together,
i tryed to active Multiuser on different roms but it will not work.
What i've done: Edit build.prop and made new entries:
# Multiuser
fw.max_users=5
fw.show_multiuserui=1
After that reboot. After reboot i have in the settings menĂ¼ the new entry "Users". But when i make a new user and want to change to it the system reboots always.
I've tryed that with original rom and 2 different custom roms (Android 5.0). Always the same problem (reboot)
Can someone help me?

Disable DT2W and S2W in MX4 by kernel?

Hi,
It's a long story (if You want to read, please look at https://bugs.launchpad.net/canonical-devices-system-image/+bug/1592412 ). My problem for now is to disable manually (before ROM start) DT2W and S2W. I want to do it, because I've flashed Ubuntu and there is no control of that features and they are enabled by default in kernel. I've found file /sys/bus/i2c/drivers/mtk-tpd/2-0020/input/input1/gesture_test where is
Code:
gesture_value=0
gesture_mask=0
disable_all=0
gesture_only=0
gesture_control=3 tap(1),swipe(1),O(0),V(0),unicode(0)
swipe_control=c :UP(1),DOWN(1),L(0),R(0)
unicode_control=ff: C(1),E(1),W(1),M(1),S(1),Z(1)
And I want to somehow set in that file
Code:
disable_all=1
How can I do that? Or somehow disable kernel module responsible for gestures control - is there any? How to do that? Or simply remove that new kernel and flash some other?
I heard that there is something like Xposed - does it change kernel modules pernamently (that after factory reset, previous settings will not go back)?

How do I set selinux to permissive ?

Current status of my Note 3
Root,Unlocked bootloader,twrp recovery and the firmware is OF1.
The reason I think I need permissive mode is because I am having problems with trying to get linux deploy to work.
From reading some posts I have gathered that selinux might be the problem.
To get into permissive mode I need to replace the kernel I think, how is permissive mode done ?
thank you.
The phantomOne kernel ("hlte-vzw" version) seems to be permissive. You can use it with the AryaMod ROM if you like.*
There are kernel build-time configuration option(s) determining whether SELinux is (a) disabled, (b) alterable by kernel boot arguments (or post-boot changes), or (c) permanently enabled and immutable, and finally (d) either permissive or enforcing. In the case of (b) the default (absent a kernel boot command line argument) could be either permissive or enforcing.
Some of the above combinations are not used in practice - e.g. it makes little sense to be immutable and permissive.
In any event, you would have to see the kernel build configuration files to know what the exact setup was (or the kernel has /proc/config.gz enabled).
Typically a vendor will use "permissive" as a stepping stone towards getting full-up immutable, enforcing SElinux running without problems: the kernel will issue violation warnings without enforcing the SElinux constraints, so that kernel logs can be used to diagnose improper setups of SElinux execution contexts (domains) and filesystem extended attributes on a live testing system.
* I'm on NC4 bootloader; ymmv.
W T F no write access to ext sd card as default ?
still poking about trying to figure out why the linux install script's dont work.
I have discovered that as a default programs or apps dont have the permissions to write to the extsdcard . The extsdcard is read only. I think that actually is my problem.
where do I look to perminatly change my permissions on my extsdcard to 777 for all users and groups.
does android have somthing like an fstab file or mounting options ??
If it's any encouragement to you, I got the "Linux deploy" app to work on
AryaMod6.6 + phantomOne kernel (permissive SELinux).
I had similar troubles creating the initial container on the /sdcard, and I'm pretty sure that was just operator error because the interface is not intuitive and of course I completely failed to RTFM. So, maybe the container creation issue has nothing to do with SELinux at all.
Useful hint: with a default "linux" (==debian jessie ARM) profile container, the default username for all the services (httpd, sshd, vnc) is "android", and the initial passwords are found in two different places: under the "Settings" menu pick for httpd and telnetd, and under the little "inbox" icon menu for the profile for sshd and vnc. I had to use "apt-get install tightvncserver" to get vncserver up and running from the ssh command line. ("sudo /bin/bash" first).
I had to log in to the phone via adb and do a " netstat -n -a | grep 'tcp.*LISTEN' " to convince myself the various servers were up. That helped a bunch. httpd on :5080, telnetd on :5023, vncserver on :5901.
good luck, I struggled with it.
What are you going to use this for? I suppose if you have access to a full native-ARM Linux environment, perhaps it is easier to build native tools against libc without the constraints of bionic and the NDK?
bftb0 said:
If it's any encouragement to you, I got the "Linux deploy" app to work on
AryaMod6.6 + phantomOne kernel (permissive SELinux).
I had similar troubles creating the initial container on the /sdcard, and I'm pretty sure that was just operator error because the interface is not intuitive and of course I completely failed to RTFM. So, maybe the container creation issue has nothing to do with SELinux at all.
<SNIP>
What are you going to use this for? I suppose if you have access to a full native-ARM Linux environment, perhaps it is easier to build native tools against libc without the constraints of bionic and the NDK?
Click to expand...
Click to collapse
What I am trying to do is explore just how well I can really use this brilliantly wonderful device as my main computer. I have good reasons for this but there all related to my personal circumstances and I won't bore you with the details, sufice it to say that I am now living in a electricity/power scarce inviroment and a cell phone is about as power efficient as I can get and have reasonably powerfull hardware.
I had considered sbc's like the Rasb. pi but there are none that even come close to the capabilities of this phone.
GPS,wifi,cellular,acceleromiter etc.
In an Ideal world I could wipe android fully from the phone and load a distro of linux that fully supported all the hard ware of the note 3 giving me as fast and lean a computing enviroment to work with Or perhaps a duel boot configuration like grub boot either android or linux.
Phantom kernel and lss works great ..been going back and forth with the latest international roms since there's not too much happening on our Verizon forum.
Sent from my SM-N930F using Tapatalk

[SM-G355M][LineageOS 14.1] No mobile data, (how to debug?) (disabled during comp?)

Hi All!
I have a Galaxy Core 2 running LineageOS 14.1 (Nougat 7.1.2). It works really well, but ... I can't get the mobile data working.
I downloaded the ROM from "Sandroid Team" (XDA doesn't allow me to post the URL)
The "author" (Ih24n) seems to be unreachable (COVID-19 problems?).
I found that /system/build.prop mentions:
Code:
#
# ADDITIONAL_BUILD_PROPERTIES
#
...
ro.com.android.mobiledata=false
This make me think the mobile data support was disabled at compile time. Is this correct?
What can I test in my phone? I can use adb shell and I have some Linux knowledge.
I took a look to other Nougat ROMs from Ih24n and all has the same value in adb shell.
Note that when I say "I can't make it work" I mean that I don't even see the option to enable it in the settings menu. I already configured the APN.
If I can solve it I'll be forced to try Android 6.
Does anybody has experience with other ROMs from Ih24n?

Categories

Resources