[Q] Loopback devices? - Nook Touch General

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

Related

[Q] Kernel Fails To Boot With Increased Version In Makefile

I have been woeking on a custom kernel I will be releasing shortly but I am having a problem with it. Everything works great with it but when I change the kernel version # and attempt to boot it freezes at rhe samsung screen. I tried insmod -f and compiling with modversions enabled and it continues to freeze and I do not know how to pull a /proc/kmsg during a failed boot to find out as adb does not appear to be active. I suspect a module is barfing at the higher kernel version #. Anyone have a suggestion?
Don't change it.
Its a problem several have had, but with no clear solution yet.
Solution found
Hex edit binary modules from samsung with current required source version...not kosher but it boots and plays well with others. Use my soon to be released kernel as an example.

Netfilter support in savies kernel.

here is a noob question.
yesterday i changed my kernel from kuro to savie#73 (i dont remember version of kuro. it came with jellyblast rom). when im on kuro i was able to use psiphon3.
i used it enable transparent proxying.
yesterday i flashed savies kernel #73. (Flashed directly over kuro. didnt flashed stock kernel). after that im unable to start transparent proxing using psiphon.
error message:
Failed to start transarent proxy configuration command failed:
FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378
iptables: No chain/target/match by that name
so started searching.
here is an explanation from droidwall FAQ for "iptables: No chain/target/match by that name":
Common error messages:
1. can't initialize iptables table 'filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
This error message unfortunately means that your kernel does not support iptables/netfilter, so DroidWall will not work.
The only possible solution is to flash a customized ROM (or kernel) with full netfilter support.
2. no chains/target/match by that name
This error message unfortunately means that your kernel does not support netfilter owner match module, so DroidWall will not work.
The only possible solution is to flash a customized ROM (or kernel) with full netfilter support.
ROM developers, please ensure that the following configuration option is enabled in the kernel (either built-in or as a module): CONFIG_NETFILTER_XT_MATCH_OWNER
Click to expand...
Click to collapse
im sure that i installed droid wall module in savies kernel. but still i cant solve this problem.
is there a solution other than changing kernel? because i would like to keep savies kernel.
can i resolve this issue by flashing stock kernel first and then savies kernel#73?
can i update droidwall module (if there is a new version available)?
sorry i cant add links.
update from droidwall
flashing this zip,
mikstev_add_initd_to_boot.img__kernel_modules_initd_scripts_for_droidwall_v2.zip
fromthe thread "[CUSTOM][KERNEL][HOWTO] Droidwall on the Samsung Galaxy Y"
will solve this issue?
SORRY I CANT ADD LINKS. IM A NOOB.

[Q] How to enable swap on P700/P705 with CM11?

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?

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

Fine OS Custom Rom Version-7 For J7 Nxt-Core-Neo By Abdullah AL-Noman

------- Fine OS Custom Rom Version-7 For J7-Nxt-Core-Neo . Exynos 7870
............Feature...........
# Based On J701F Pie 9
# One Ui 1.1
# Binary 8 Firmware .
# Latest Security Patch
# 1 November 2019 Security Patch
# De-Knoxed
# Debloat
# All Latest App Included
# Recycle Bin Supported File Manager App
Special Feature
# Supported One Ui 2.0 Apps Included
# Show Data Speed Enable Menu On Status Bar
# Vpn Suported
# Busy Box Included
# Magisk 20.3 Included
# Twrp 3.2.1 Included
# Oem Lock Disabled
# Mock locations - Hide mock locations status, allowing apps like Pokemon GO to treat them as genuine location updates.
# Secure flag - Allow screenshots/screensharing in secure apps.
# Signature verification - Disable signature verification allowing modification/execution of signed system apps.
# Signature spoofing - Enable signature spoofing app permission.
# Added Screen Capture And Screen Record On Status Bar
# Call Record Allowed By Call App
# LTE Only Option
# Show LTE on 4G Network
# Enable Use Mobile Data Option During Call On Settings
# Enable Google Face Lock Option On Smart Lock
Kernel Information
Kernel Name - Oxygen Kernel Version- 4.0.138
Kernel Creator- Siddhant Naik
# Selinux Status - Permissive
# Binary Lock Disabled
# No Problem For Mount Data Partition And Internal Storage
................... What's New ...............
# Fix wifi
# Add New Charging Logo
# Add J7 Nxt White Boot Logo
XDA:DevDB Information
Fine OS Custom Rom Version-7 For J7 Nxt-Core-Neo By Abdullah AL-Noman, ROM for all devices (see above for details)
Contributors
Abdullah AL-Noman
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
ROM Firmware Required: Latest Bootloader
Based On: Samsung One Ui
Version Information
Status: Stable
Current Stable Version: Version-7
Stable Release Date: 2020-03-03
Beta Release Date: 2020-03-03
Created 2020-03-02
Last Updated 2020-08-26

Categories

Resources