Android Enthusiasts
Q&A for enthusiasts and power users of the Android operating system
Latest Questions
1
votes
0
answers
124
views
How to flash vanilla AOSP and root my Samsung A51 device?
Hello I have an old Samsung Galaxy A51 (SM-A515F/DSN) running on Android 13. I want to turn it into a small server, so to do so, I need to install "Linux deploy" (it needs root), but for debloating and efficiency reasons, I want to install a pure Android version, as I need no Google service. The ope...
Hello I have an old Samsung Galaxy A51 (SM-A515F/DSN) running on Android 13.
I want to turn it into a small server, so to do so, I need to install "Linux deploy" (it needs root), but for debloating and efficiency reasons, I want to install a pure Android version, as I need no Google service. The operating system will just be the host for "Linux deploy".
I know this may seem out of the scope of my question and may be the topic for the next thread but I'm just giving background information.
The main question is "How to flash vanilla AOSP and root my Samsung A51 device?"
Life Long Learner
(11 rep)
Jan 13, 2025, 05:28 PM
• Last activity: Jan 13, 2025, 05:33 PM
0
votes
0
answers
23
views
Android Local Server Webpage Help
Android newbie here, whilst I have a good understanding of networks. I’m not great with the Android processing on devices. I am wanting to create a local webpage on one device, playing a looping video and then have 3/4 other tablets access the same video on the WLAN, is this possible?
Android newbie here, whilst I have a good understanding of networks. I’m not great with the Android processing on devices.
I am wanting to create a local webpage on one device, playing a looping video and then have 3/4 other tablets access the same video on the WLAN, is this possible?
Jake Johnson
(1 rep)
Nov 11, 2024, 09:32 PM
23
votes
6
answers
105361
views
How to set up a host to IP mapping on unrooted Android?
I've a website running on my computer, and I want to test it from my Nexus 7 tablet. I.e. over the local WiFi LAN. If I type in the IP address it connects, but shows the wrong web site, because I'm using named virtual hosting. So, what I want to do is be able to type `mysite.local` in to Chrome/Fire...
I've a website running on my computer, and I want to test it from my Nexus 7 tablet. I.e. over the local WiFi LAN. If I type in the IP address it connects, but shows the wrong web site, because I'm using named virtual hosting.
So, what I want to do is be able to type
mysite.local
in to Chrome/Firefox on the Nexus, have them convert that to 10.1.2.3
(or whatever the local IP address is), then call the 10.1.2.3
server giving mysite.local
as the Host to request.
*My Question:* Does an Android 4.x tablet have an /etc/hosts
files, or equivalent, that I can edit? (Without having to root the tablet, or anything like that.)
On my Linux computers I do this by adding an entry in /etc/hosts
:
10.1.2.3 mysite.local
(Or Windows\System32\drivers\etc\hosts
on a Windows machine does the same.)
BTW, this is a semi-duplicate of https://android.stackexchange.com/q/9633/36187 , but that question was for Android 2.2, where apparently it was not possible. (One of the alternative ideas suggested there was configure DNS at the local router, but as far as I can tell my router does not do DNS locally so does not have that option. I could set up my own DNS server to do this, but that feels like a Big Job Solution.)
Darren Cook
(393 rep)
Jul 29, 2014, 08:36 AM
• Last activity: Jun 7, 2024, 03:18 PM
5
votes
1
answers
17460
views
Setting up an Android device as file server
I have a spare Android device which I always leave at home. I wonder if i can use it as a file server using its mobile hotspot because I don't have a router and internet at home. Friends always come and always ask to share a few MP3s. I'd like them to browse my Android server at their own leisure wi...
I have a spare Android device which I always leave at home. I wonder if i can use it as a file server using its mobile hotspot because I don't have a router and internet at home. Friends always come and always ask to share a few MP3s. I'd like them to browse my Android server at their own leisure without deleting anything.
I have servers ultimate installed, but it always requires to be connected via router or Wi-Fi. Can't seem to find the option so that it will not require an active net connection.
Randy Seriosa
(51 rep)
Oct 12, 2015, 05:18 AM
• Last activity: Apr 29, 2024, 03:00 PM
2
votes
1
answers
4453
views
How to redirect all web requests from hosts connected to hotspot to a local web server?
I literally have the same question as found in this post: https://android.stackexchange.com/questions/56373/how-to-redirect-complete-outgoing-phones-traffic-to-a-proxy-server[.][1] I have an Android phone acting as a hotspot server (using KWS). I am able to connect another device and access my littl...
I literally have the same question as found in this post: https://android.stackexchange.com/questions/56373/how-to-redirect-complete-outgoing-phones-traffic-to-a-proxy-server[.]
I have an Android phone acting as a hotspot server (using KWS). I am able to connect another device and access my little webpage by typing
192.168.43.1:8080
into the URL search of my browser, so no problem there.
However, I would like for all requests by connected devices to be redirected to my webpage.
The answer in the linked question suggests running two DNS servers using the Server's Ultimate app. My only hesitation is that it is not free, and the 'free' version is a 7 day trial.
I have tried another app called "Set DNS," which seems promising, but it will not recognize my hotspot as a network; it keeps waiting for me to connect to something.
**QUESTIONS:**
- Can I simply change the /system/etc/hosts
file as mentioned in the linked post?
- Would I add a line such as: 192.168.43.1:8080 *
?
- If not, must I purchase Server's Ultimate, or is there another alternative?
**PS:** This is for an advertisement. The webpage is to be static and informative (no malicious activity).
123wee
(21 rep)
Nov 12, 2016, 11:06 PM
• Last activity: Jun 7, 2023, 10:01 PM
1
votes
0
answers
159
views
How to configure Android to act as server in the local network?
I have two devices (an Android phone and an Orange Pi) connected to the same Wi-Fi network via the notebook's hotspot. I do have a server running on the Android device which I want to make accessible to the Orange Pi. How do I do that? As far as I know Android doesn't have a firewall or anything lik...
I have two devices (an Android phone and an Orange Pi) connected to the same Wi-Fi network via the notebook's hotspot. I do have a server running on the Android device which I want to make accessible to the Orange Pi. How do I do that?
As far as I know Android doesn't have a firewall or anything like that. Accessing the server via IP opens the server OK, but on the Orange Pi, I get that "cannot find host" error and can't ping the Android's IP address. What am I missing? How do I fix that?
Jack
Apr 22, 2023, 06:41 PM
• Last activity: May 11, 2023, 05:27 PM
1
votes
0
answers
355
views
DNS_PROBE_FINISHED_NXDOMAIN on one of many
I have an issue with one Android device accessing the local web server. We have about ten of the same devices, but one refuses to connect. It always returns the following error in any of the browsers used on the device: DNS_PROBE_FINISHED_NXDOMAIN. I have checked the server IP and DNS name settings...
I have an issue with one Android device accessing the local web server. We have about ten of the same devices, but one refuses to connect.
It always returns the following error in any of the browsers used on the device: DNS_PROBE_FINISHED_NXDOMAIN. I have checked the server IP and DNS name settings in local DNS servers, and everything is set as it should be.
I am really puzzled, and do not know where should I start. Even if I enter the IP address directly, it doesn't work and returns the same error.
I suspect there might be something in the device settings, but I can't find what. We tried returning to factory settings, and nothing.
What is the possible cause and how to fix it?
mrmut
(111 rep)
Feb 9, 2023, 08:03 AM
• Last activity: Feb 9, 2023, 08:26 AM
2
votes
0
answers
124
views
Why can I access a local webserver on iphone, but not my Android phone?
I have an ESP32 Cam connected to my local wifi. As I understand it, the ESP32 Cam connects to the wifi and runs a webserver which serves up video controls and a video stream. I can access this on my Linux PC, and my daughter's iphone, simply by typing http://192.168.1.132 into the web browser, but m...
I have an ESP32 Cam connected to my local wifi. As I understand it, the ESP32 Cam connects to the wifi and runs a webserver which serves up video controls and a video stream.
I can access this on my Linux PC, and my daughter's iphone, simply by typing http://192.168.1.132 into the web browser, but my Samsung Android phone does not let me see the device.
Strangely, the very first time I tried to access the ESP32 on my Android phone, I saw the camera image appear briefly. Subsequently I get ERR_ADDRESS_UNREACHABLE.
Any idea what is going on, and how I can fix it ?
user1759557
(121 rep)
Oct 22, 2022, 12:44 PM
0
votes
2
answers
5989
views
Run PHP MySQL web application on Android
I want to run a PHP MySQL web application on an Android device. The device is not rooted. Is there any way? If there isn't, can the device connect to a PC's localhost offline?
I want to run a PHP MySQL web application on an Android device. The device is not rooted.
Is there any way? If there isn't, can the device connect to a PC's localhost offline?
Shehan Karunarathne
(1 rep)
Oct 14, 2017, 03:46 AM
• Last activity: Jun 2, 2021, 04:44 AM
10
votes
2
answers
21114
views
SSH Key generation
How do I generate a pair of SSH keys to be able to use in several apps (Juice SSH, Turbo, etc) to access my remote host? I've tried generating them with Connectbot, JuiceSSH and on a Linux machine, but none seem to work... EDIT: I've generated the keys the way I usually do, with `ssh-keygen -t rsa -...
How do I generate a pair of SSH keys to be able to use in several apps (Juice SSH, Turbo, etc) to access my remote host? I've tried generating them with Connectbot, JuiceSSH and on a Linux machine, but none seem to work...
EDIT: I've generated the keys the way I usually do, with
ssh-keygen -t rsa -b 4096
, copied the private key to a ssh/
folder on my phone's internal memory (which I later point to in the client software) and added the public key to the .ssh/authorized_keys
file on my server.
joaocandre
(231 rep)
Mar 12, 2015, 02:03 AM
• Last activity: Apr 16, 2021, 04:28 AM
1
votes
0
answers
189
views
Printer server set up through router
I've got an `Epson L220 series` printer and connected it to my `Huawei EG8145V5` router using my printer's usb, I can print wirelessly from my laptop without any problem, but when it's different in android, I tried Epson iprint and other printing apps and all of them doesn't support my printer excep...
I've got an
Epson L220 series
printer and connected it to my Huawei EG8145V5
router using my printer's usb, I can print wirelessly from my laptop without any problem, but when it's different in android, I tried Epson iprint and other printing apps and all of them doesn't support my printer except from Let's print droid
as I manage to connect my printer to my android the only problem is it print random characters instead of printing the actual document.
Is there an app the would let me print wirelessly using a usb printer that is connected to a router?
Janelle
(11 rep)
Mar 1, 2021, 10:18 AM
2
votes
0
answers
554
views
How to host a public website with my domain name on Android?
I have my own domain name, richardbrowning.cf, and I want to host my own website (using this domain name) on my Android phone. My Android isn't connected to Wi-Fi (I am using Mobile Data). I started locally hosting my website on my Android, (and it was available at http://mylocalipaddress:myport. Th...
I have my own domain name, richardbrowning.cf, and I want to host my own website (using this domain name) on my Android phone. My Android isn't connected to Wi-Fi (I am using Mobile Data).
I started locally hosting my website on my Android, (and it was available at http://mylocalipaddress:myport . Then I went to my registrar and added an A DNS Record setting the target to my local IP Address. Now if I go to richardbrowning.cf:myport, I can view my website. But it is still only local.
So I have two issues. I want to make my website public, not just local (so everyone can view my website) and I want to remove the need for putting :port at the end of the domain/website.
By the way, an end note is that I tried putting my external IP Address into my DNS Record instead of my local IP Address, but this doesn't work because there is nothing being hosted to this external IP Address. So if I could maybe host my website to my external IP Address and then put this external IP Address into my DNS Record, then that would work. But I can't find a way to host my website to my external IP Address. I only see ways to host my website to my local IP Address (locally). Thanks in advance.😀
Richard Browning
(21 rep)
Jan 16, 2021, 02:17 AM
• Last activity: Jan 16, 2021, 05:18 PM
3
votes
1
answers
2226
views
UPNP over the internet?
I have a home media server running minidlna daemon, and I can stream media to my android phone when I am connected to the home LAN, but I can't seem to be able to do it over the internet. I'm using BubbleUPNP and I've already forwarded the ports on the home router, but I don't see any option/setting...
I have a home media server running minidlna daemon, and I can stream media to my android phone when I am connected to the home LAN, but I can't seem to be able to do it over the internet. I'm using BubbleUPNP and I've already forwarded the ports on the home router, but I don't see any option/setting on the app to change the server address/port.
joaocandre
(231 rep)
Mar 12, 2015, 02:26 AM
• Last activity: Sep 17, 2020, 01:07 PM
0
votes
1
answers
6486
views
Can I turn my Android tv box into a NAS server?
I've got a MXQ Pro 4k TV Box and a 4TB hard drive that I rarely use and I was wondering if there was any software I can use to make it a server. The MXQ box has 1GB RAM, a 2.0GHz quadcore chip and ethernet, usb and hdmi ports. Do you think it would be easier for me to put linux on the box and run it...
I've got a MXQ Pro 4k TV Box and a 4TB hard drive that I rarely use and I was wondering if there was any software I can use to make it a server.
The MXQ box has 1GB RAM, a 2.0GHz quadcore chip and ethernet, usb and hdmi ports.
Do you think it would be easier for me to put linux on the box and run it from there? Also would there be a way for me to set up a segment of this drive as a time capsule?
Thanks :D
Deji
(1 rep)
Aug 1, 2017, 04:31 PM
• Last activity: Sep 13, 2020, 12:05 AM
2
votes
0
answers
331
views
Tablet Genesis 7240 + Android + Bit Web Server dont work
I buyed a table ***GENESIS 7240 + Android 4.0.3*** and I've installed the app named [Bit Web Server](https://play.google.com/store/apps/details?id=com.andi.serverweb) -- but it is not working correcly, not starting. The App works fine on my Galaxy Note, That proves Its not a problem with the app, bu...
I buyed a table ***GENESIS 7240 + Android 4.0.3*** and I've installed the app named [Bit Web Server](https://play.google.com/store/apps/details?id=com.andi.serverweb) -- but it is not working correcly, not starting.
The App works fine on my Galaxy Note, That proves Its not a problem with the app, but we need it working in my GENESIS tablet.
ERROR: when I access the address
http://localhost:8080
, says it can not access:
> Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the connection
====================================================================
The bug was resolved.
Restarting the tablet with Wifi disabled and then start the app, thats it.
Mauro Rocha
(21 rep)
Apr 24, 2013, 01:11 PM
• Last activity: Aug 5, 2020, 05:30 PM
1
votes
2
answers
1405
views
How to redirect local hotspot traffic to webserver
I want to redirect all incoming traffic in my android shared hotspot to my local webserver (192.168.43.1:8080), so if anybody connected to me put any url like "www.google.com" will automatically be redirect to "192.168.43.1:8080", **I do have root access**, what should I do to accomplish this?
I want to redirect all incoming traffic in my android shared hotspot to my local webserver (192.168.43.1:8080), so if anybody connected to me put any url like "www.google.com" will automatically be redirect to "192.168.43.1:8080", **I do have root access**, what should I do to accomplish this?
user3306761
(113 rep)
Feb 18, 2017, 08:30 PM
• Last activity: Jun 29, 2020, 07:27 AM
2
votes
1
answers
2014
views
Android webserver via usb not wifi
I was wondering is there a way to run an android websever via usb? I can find lots of wifi version of this but I would like to use this locally only while the pc is connected to the wifi and have it undetectable. eg via usb. Does anyone know of any apps/software that this would work on? Thanks Paul
I was wondering is there a way to run an android websever via usb? I can find lots of wifi version of this but I would like to use this locally only while the pc is connected to the wifi and have it undetectable. eg via usb.
Does anyone know of any apps/software that this would work on?
Thanks
Paul
YokoBlac
(91 rep)
Jul 20, 2014, 05:24 PM
• Last activity: Jun 25, 2020, 09:09 AM
2
votes
1
answers
11600
views
How to host Wordpress site on Android device
I am trying to host a Wordpress site on my old Android phone, but so far I have been unsuccessfull... I tried with [KSWEB][1] and [Ulti Server][2], extracted the Wordpress.zip in the sdcard, and when I try to connect to the server I am getting error with the database... Error establishing a database...
I am trying to host a Wordpress site on my old Android phone, but so far I have been unsuccessfull...
I tried with KSWEB and Ulti Server , extracted the Wordpress.zip in the sdcard, and when I try to connect to the server I am getting error with the database...
Error establishing a database connection
Does it also has to run some other SQL server on the phone for everything to work?
I really don't know what am I doing, and there aren't any good explanations on the internet, so please help me
Sartheris Stormhammer
(245 rep)
May 6, 2015, 05:38 PM
• Last activity: May 6, 2020, 06:30 AM
2
votes
0
answers
42
views
Turn android into server to livestream its own camera and serial data
In my project, I need to turn an old android into a web server. I need to be able to access live video from this phone **and** be able to send/receive data to/from a mobile app. Data received from the app will be sent via serial to an Arduino to carry out a respective task, and likewise data receive...
In my project, I need to turn an old android into a web server. I need to be able to access live video from this phone **and** be able to send/receive data to/from a mobile app.
Data received from the app will be sent via serial to an Arduino to carry out a respective task, and likewise data received by the Arduino will be sent to the app.
After a lot of Googling, I still can't figure out a solution.
How can I accomplish this?

Ryan Churchill
(21 rep)
Nov 20, 2019, 01:52 AM
1
votes
0
answers
41
views
'Recycling' off-the-shelf Android devices as server ('Toaster-Net')
Since Android devices tend to be relatively low-power un*x devices, this seems like an obvious usage, I was already able to run the basic setup of what I had in mind, but I think it's a right time for me to consult about this. I have a few unused Android devices (tablets and phones, some with a brok...
Since Android devices tend to be relatively low-power un*x devices, this seems like an obvious usage, I was already able to run the basic setup of what I had in mind, but I think it's a right time for me to consult about this.
I have a few unused Android devices (tablets and phones, some with a broken display), I've seen there are several ways to install various Linux distributions on them, installed some scripting environment (Node.JS or Python) I've successfully ran a few that did not require rooting, and I've ran some server software from them (like Node-Express based REST etc) I'm left with the following open questions, maybe there are much simpler solutions to this scenario.
I'd be happy to hear of such a usage scenario.
1. All these non-rooted Linux apps I've installed - were running as long as the device did not go to 'sleep', I've tried several 'insomnia' apps, but actually non of them worked correctly, and they were all trying to keep the Display awake. I would actually prefer the Display to be Off, but the device to not sleep, is there a scheme for that, or is that not the general design of a common off-the-shelf Tablet let's say?
2. The app seemed to randomly go into 'background' even with the display on; Is there a settings to prevent that, so that I would have a reliable HTTP listener?
3. I understood that Battery life / performance - might be deteriorate severely - by keeping Tablets Changed 24/7, is there a standard solution for that? I've seen some recommendations for rooted apps that prevent charging on and off, but lacking another solution - a timer-AC-mains-Socket can be installed
Generally this seems like an ecological idea for 201x style ARM based Toaster-Nets; I found that I often need some 'cronjobs' to run and serve some not very CPU demanding experiments. It also seems like a good exercise in local net setup;
I can see this setup being used in schools for example to provide students a network they can play with and setup web-apps.
If there's a proper guide for this anywhere, please point, I've seen good guides for how to install Linux / a similar setup - on your phone for example for 'on and off' usage, but nothing that covered the actual aspect of leaving a bunch of these machines as a small server-farm.
Thank you!
oyd11
(111 rep)
Jul 23, 2019, 04:45 PM
Showing page 1 of 20 total questions