Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [linux]

Use this tag when your issue involves a Linux laptop/PC, or addresses Linux specific topics of your Android device. (Note that running Linux distros on Android is off-topic.) In the latter case, consider if other tags like e.g. 'command-line' or 'shell' might be better fitting. See the full tag wiki for additional details and hints.

1
vote
1answer
34 views

How to set SELinux enforcing, config file not found?

I have Samsung Galaxy J7 Core (SM-J701F), I'm running Magisk on my device and I ran the SafteyNet test and it failed. While trying to solve this I tried to change selinux state to enforced by editing /...
0
votes
0answers
36 views

how to create android sepolicy based on the denial execute_no_trans

I am trying to execute my init.inmod.sh from /vendor/bin and using below method: init.inmod.sh -> /vendor/bin/test_disp hdcp disable in vendor specific .rc file i will do start inmod_sh service ...
0
votes
0answers
30 views

how do I connect an android phone to a Linux wifi? [duplicate]

I am using my Debian Linux computer (called 'theresia') as a wifi access point. I can use the network from iOS, Meego and Maemo, and from my other Debian machine obviously, but none of my Android ...
0
votes
0answers
11 views

How come desktop Linux has /dev/mmcblk0 and Android /dev/block/mmcblk0?

Why is mmcblk0 at /dev/block/mmcblk0 in Android and /dev/mmcblk0 on desktop Linux distributions? Other block devices (listed using lsblkcommand) are also under /dev/. Why is it under /dev/block/ on ...
0
votes
1answer
21 views

Block Instagram for Android to access the Internet, using a software like SQUID on my Laptop/Desktop

Is there any way I could block Android Apps for example Instagram from accessing the Internet, using the SQUID software or something similar on my Personal Computer?
1
vote
1answer
52 views

Forgot password on Samsung Galaxy S7 Edge, trying to access for Google Authenticator

I never wrote my password down for my old S7 Edge and managed to forget it. Overthinking the security and privacy, I also never signed up for Samsung's service and Google's Find My Phone only ...
1
vote
1answer
32 views

How to run SSH/SFTP server for multiple user logins with password authentication on Android?

I want to run an SSH server on my Android phone so that my clients (varying between 10 to 20) can easily and securely share data with me when I'm on the go, without using any third party hosting ...
0
votes
0answers
17 views

Nexus 7 wont turn on or get to bootloader

My nexus 7 2012 was running fine one day with ubuntu 13.04 on it until I installed the cheese webcam booth and when it finished installing the tablet froze then shut off. I tried to turn it back on ...
0
votes
0answers
24 views

How does init knows when to relaunch a process?

I know the Zygote listens to a socket in /dev/socket/zygote in order to know when to fork a new process. I want to know how init usually does it. I have a persistent process (not service) X whose ...
0
votes
1answer
52 views

How to create a copy of a file immediately when it's created? [duplicate]

I have an Android app that will create a file in /data/ and immediately delete it. I want to know how can I catch this file or create a copy or even disable user permissions to delete a file? I have ...
2
votes
1answer
17 views

How to create a copy of a file immediately when it's created?

I have an Android app that will create a file and immediately delete it. I want to know how can I catch this file or create a copy or even disable user permissions to delete a file. I have root access ...
1
vote
0answers
54 views

SD card had bad sectors after chkdsk. Is that Logical or physical ?and path from here

This is about data corruption on android . The primary issue relates to bad blocks / clusters and it happens to be android platform. So this is a super user and NOT android enthusiast question. ...
0
votes
0answers
23 views

Is it possible to make init stop restarting one of it's “services”?

My init is making the eris persistent, I don't know if the /system/bin/eris is important to keep android's good functionality but at this moment this "service" (the quotation marks are because i ...
0
votes
1answer
33 views

How dumb is it to try to remount /proc as w?

I'm trying to run a little python code that check some files in my phone's /proc/pid the thing is the program won't run properly because /proc is read only. Because I know proc has a special ...
1
vote
0answers
35 views

Is it possible to see which process is calling the zygote socket?

I want to see a verbose from the zygote socket (located in /dev/socket/zygote ) I know i can list all of the services from adb but I wanna see who is calling zygote to fork an specific process. Do you ...
0
votes
0answers
74 views

Running metasploit on android error

I am trying to run metasploit on Android using Termux. I've already installed it but when i try to run msfconsole command i get this error: ruby: No such file or directory -- /data/data/com.termux/...
0
votes
0answers
141 views

How can I access/retrieve data from an SD card formatted as internal storage from my PC?

My phone's screen broke and I would like to retrieve the data on the external SD (which was used as internal storage). Using KDE's partition manager tool I can see on my Linux Mint 19.1 that this is ...
0
votes
0answers
40 views

fastboost doesn't see device on linux even with su and sudo

so i Had a trouble booting into download mode on my Samsung Galaxy J4 to boot twrprecovery.img and not flashing it after enabling "developers options" and "USB debugging" and "Unlock OEM" now ...
1
vote
0answers
62 views

3g Modem connection using ppp2 widget on android x86

I am trying to connect to internet using huawei 3g dongle e1731 on android-x86-7.1-r2 using ppp2 widget (tried ppp and ppp3 but not worked).I was able to browse the internet using chrome but ...
1
vote
1answer
551 views

Reset Partition Table for Nexus 7 2013 (Flo)

To cut a long story short I wanted to make the system partition larger on my tablet PC as it's far too small to do anything practical on. I used ADB push to put Parted into the root directory and ...
0
votes
0answers
15 views

Subsonic Android app doesn't show any files in Media Library

I had setup a Subsonic server on Ubuntu and running smooth. I can access the music files & video through http on web browser. I tried to do the same with Subsonic android app, after connected with ...
0
votes
0answers
127 views

How to disable auto mount of USB OTG drive when connected?

I'm looking for a way to disable auto mounting a USB OTG connected HDD to an Android 5.1 phone. So, basically, i dont want it to be mounted to /storage/usbotg. I cant find anything about this. ...
2
votes
1answer
92 views

Fastboot commands extremely slow

I'm trying to unlock my HTC U11 and I've tried to run fastboot both from the packages of my Ubuntu derivative (fastboot version 1:7.0.0+r33-2) and from the platform tools (fastboot version 28.0.1-...
3
votes
0answers
54 views

Which process is preventing me using Wifi?

I have a TV box provided by ISP (also TV channels provider), which has Android 4.4.4 Linux kernel 3.10.23. (I have root already) It uses PPPoE to get a network so can receive TV stream, but this ...
1
vote
1answer
169 views

Disabling power button restart

How can I disable android from rebooting when the power button is pressed for few seconds? Is this done in software? Context: my power button is broken. I tried to remap it by changing the relevant ...
0
votes
2answers
907 views

How to Play Sound from Termux when using Linux?

I have a problem with audio streaming that I can not listen audio from Pulseaudio when using VNC with a Linux Desktop Environment. However it works if I export the audio to XSDL. But the problem is ...
2
votes
1answer
156 views

How to use lsof, netstat and ps commands with complete options on Android?

I tried T-ui and although it has the lsof command, it cannot do lsof -i for example, so I need to go through every single process in Android. My phone is rooted and I wanna know the PID of the process ...
0
votes
0answers
204 views

Controlling Android phone with Seven Square under Ubuntu 18.10 does not work

I would like to remotely control my Android device (a Motorola Moto G5 running LineageOS 15.1) with my Ubuntu 18.10 laptop. So, I watched this tutorial and got this result instead of this. Not only ...
2
votes
1answer
210 views

Why can't I see Android storage as a partition on PC?

I'm trying to recover accidentally deleted video from HUAWEI P10. I use Ubuntu so I tried to recover it using photorec. The problem is that I can't see mobile internal storage or SD card storage in ...
1
vote
0answers
187 views

Best way to access the full Android internal storage directory tree from an Ubuntu pc

Background I am trying to free up memory from my phone that is becoming more and more unusable, as it reports only ~600MB free memory out of 16,0GB; but deleting cache files, moving images/videos to ...
1
vote
1answer
208 views

Python on android (not the usual solutions)

I'm trying to get Python 3 to run natively on android. By "native" I mean native Linux, just Androids variation of it. I'd like to be able to simply open a terminal and type "python /path/to/script.py"...
2
votes
1answer
77 views

Nexcom VTC 6200 installing Android 4.2 or higher

I've got a Nexcom VTC 6200-NI-DK box wich is a bit obsolete but nevertheless I'd like to install Android on it. As far as I understand its spec is far from being top notch: CPU - Intel Atom D510 Dual ...
2
votes
1answer
771 views

Linux on Dex - Can you install additional programs? R? Vim?

Linux on Dex is on an Arm processor, not Intel processor. Does this mean I can't install most normal programs? If you have Linux on Dex could you try and install these two programs, run them, and ...
1
vote
0answers
42 views

Linux automount corrupts ext4 partitions of Android install?

I've been experimenting with dual-boot between Linux and Android on an x86 device which came with Android + Windows preinstalled (Chuwi Hi10 Pro). I soon found out that simply booting Ubuntu (either ...
0
votes
1answer
1k views

Cannot flash twrp-3.2.3-0-cedric.img (Motorola Moto G5) (“Image not signed or corrupt”)

I have followed all the steps of this guy but flashing twrp-3.2.3-0-cedric.img failed. When I open my Ubuntu console and type fastboot flash recovery /home/username/folder/twrp-3.2.3-0-cedric.img, it ...
5
votes
0answers
157 views

Offline safe sync directory on sd card on non-rooted Android with Ubuntu PC

Is there a way how to offline safely synchronize directories between sd card on Android which is not rooted and PC with Ubuntu? Safely = using secured connection between the devices (for example ...
0
votes
1answer
603 views

Android-x86, can't install any app

So, I've been wanting to play PUBG for a while now, but my PC is pretty awful, then Mobile came out, and TGB didn't work properly, and I've been trying out several different Android OS, but all of ...
2
votes
1answer
591 views

Why my DCIM folder is empty seen in the computer but not empty in the phone [duplicate]

I am using HuaWeiNova device, and I tried to access it with aft-mpt-cli. $ aft-mtp-cli $ ls DCIM/ I got folders listed here: |-photos |-Camera .... When I tried to list or download my photos in ...
1
vote
0answers
32 views

Moved files within Internal Storage and file can't be accessed from android

I have Moto G S5 (Android 8.1). I connected it to my laptop (Ubuntu 18.04). I moved some files (about 4 Gb) from a folder in internal storage to root folder of the internal storage. Transfer ...
0
votes
1answer
90 views

IP Address changes when using SSHDroid

I want to transfer files wirelessly between my android phone and Linux computer (XUbuntu 18.04). It works when I use SSHDroid as an SSH server on my phone and connect to it with sshfs to mount the ...
0
votes
1answer
416 views

ADB: Phone is not recognised but Ubuntu 18.04 recognises it

My LG G3 phone (phone is rooted; OS is Android Fulmics) is recognised by my laptop when I plug it in. The laptop is running Ubuntu 18.04 and I can easily copy data from and to my phone. I have ...
0
votes
2answers
1k views

Why chmod gives “Operation not permitted” error?

I try to execute chmod on a file with Termux, but it sends back an error which I'm unable to solve. My phone is not rooted. If you can help me I would be most grateful to you for this! Here is the ...
1
vote
0answers
115 views

ADB permission failure since upgrading to LineageOS

I just upgraded my Samsung Galaxy S5 from Android 6 to LineageOS 15.1, and now ADB does not want to access my phone any more. All I get is: % adb shell error: insufficient permissions for device: ...
1
vote
0answers
237 views

KDE Connect Cannot Use SD Card?

I'm using KDE connect from my Kubuntu 18.04 desktop to try and connect to my tablet (Tab A 10.1 running Android version 7). The internal SD card registers (I can see it) in Dolphin (File Explorer), ...
0
votes
2answers
326 views

How to do GREP text searching without root?

There is busybox and there are terminal emulators that include grep, but they require root to run. It would be better if they could also run without root but with limited access. I only need to grep (...
0
votes
1answer
103 views

Unroot Galaxy Note 5 SM-N902i (XSA Australia) with Heimdall - “System UI has stopped”

I am running a linux machine and trying to unroot my Galaxy Note 5. I've downloaded the lastest firmware from sammobile: N920IDVU4CRG1_N920IXSA4CRG1_XSA.zip which extracts to: boot.img cache.img cm....
0
votes
0answers
10 views

Different android with multi-user for huawei mediapad t3? [duplicate]

Today I received confirmation from Huawei that multi-user user has never been included on my huawei mediapad t3. However, that is one feature that I would really like to have. Can I install a ...
1
vote
1answer
2k views

Can't create new folders on SD card?

I'm using Lenovo A7000 with Lollipop and I can't create new folders on SD Card. Attempt to create folder on SD card always end with error, however, android phone is not going to tell me what error it ...
0
votes
1answer
86 views

How do I add Android user (linux level) to a group?

groupadd and useradd aren't available, so how I can add a user (app's assigned user) to a group? Also, the file /etc/group does not exist and I couldn't find where Android saves this information. (...
0
votes
0answers
209 views

How can I share my wifi Internet connection from Android phone to a Linux Raspberry Pi?

How can I share my wifi Internet connection from an Android phone to a Linux Raspberry Pi? I am trying to share my Wifi connection from the phone to a Raspberry Pi 3B. USB tethering is connected. I ...