Sign in to follow this  
Followers 0
jasonmanley87

Idea: run web/email server from Android phone

13 posts in this topic

Hello, I just thought of something really cool. This idea has several parts.

1. Replace stock Android OS with Debian as per these instructions: http://www.cc.gatech.edu/~ndantam3/android.html and use CyanogenMod7 as the interface. My phone has already been rooted and runs CM7 right now.

2. Not using the gapps (Google Apps) that I downloaded separately from CM website. Instead set up email server using the no-ip.com free DNS service. Is this doable? Say my email address becoming jason@whatevermyusernameis.no-ip.info is that possible? The goal being here to self-host and not depend on Google services, and have privacy.

A mobile server sounds pretty awesome, has anyone done it before?

Possible caveat, the bottom of the instructions I linked to claims that the hostname keeps changing when you change wireless networks. Would this be an issue for what I'm trying to do? Thank you.

FTR, I use an LG Optimus V with Virgin Mobile service. Edited by jasonmanley87

Share this post


Link to post
Share on other sites
This is as a PoC little gig or for penetration testing, right? Like you're not actually going to use this for anything that expects any real amount of traffic, are you?

To fix the hostname issue, try using DDNS.
http://en.wikipedia.org/wiki/DDNS Edited by serrath

Share this post


Link to post
Share on other sites
[quote name='jasonmanley87' timestamp='1334179913' post='360840']
Hello, I just thought of something really cool. This idea has several parts.

1. Replace stock Android OS with Debian as per these instructions: http://www.cc.gatech.edu/~ndantam3/android.html and use CyanogenMod7 as the interface. My phone has already been rooted and runs CM7 right now.

2. Not using the gapps (Google Apps) that I downloaded separately from CM website. Instead set up email server using the no-ip.com free DNS service. Is this doable? Say my email address becoming jason@whatevermyusernameis.no-ip.info is that possible? The goal being here to self-host and not depend on Google services, and have privacy.

A mobile server sounds pretty awesome, has anyone done it before?

Possible caveat, the bottom of the instructions I linked to claims that the hostname keeps changing when you change wireless networks. Would this be an issue for what I'm trying to do? Thank you.

FTR, I use an LG Optimus V with Virgin Mobile service.
[/quote]




Just to clarify:

So is the idea to create a mobile server using a hacked android phone with debian as the OS?

The purpose of the mobile server is so that you can use other android phones to connect to your hacked android mobile server to download apps. The purpose being so that google cant track what apps you're downloading from the google play site. You will be able to locate your mobile server via dynamic DNS services.


Is this correct? Im not understanding the part with email addresses tho....? Please clarify. Edited by Afterm4th

Share this post


Link to post
Share on other sites
[quote name='Afterm4th' timestamp='1334187836' post='360843']
[quote name='jasonmanley87' timestamp='1334179913' post='360840']
Hello, I just thought of something really cool. This idea has several parts.

1. Replace stock Android OS with Debian as per these instructions: http://www.cc.gatech.edu/~ndantam3/android.html and use CyanogenMod7 as the interface. My phone has already been rooted and runs CM7 right now.

2. Not using the gapps (Google Apps) that I downloaded separately from CM website. Instead set up email server using the no-ip.com free DNS service. Is this doable? Say my email address becoming jason@whatevermyusernameis.no-ip.info is that possible? The goal being here to self-host and not depend on Google services, and have privacy.

A mobile server sounds pretty awesome, has anyone done it before?

Possible caveat, the bottom of the instructions I linked to claims that the hostname keeps changing when you change wireless networks. Would this be an issue for what I'm trying to do? Thank you.

FTR, I use an LG Optimus V with Virgin Mobile service.
[/quote]




Just to clarify:

So is the idea to create a mobile server using a hacked android phone with debian as the OS?

The purpose of the mobile server is so that you can use other android phones to connect to your hacked android mobile server to download apps. The purpose being so that google cant track what apps you're downloading from the google play site. You will be able to locate your mobile server via dynamic DNS services.


Is this correct? Im not understanding the part with email addresses tho....? Please clarify.
[/quote]



I'd like to try this...
1. Because it sounds awesome.
2. I'd like to be independent of Google, not have them hosting everything I have.
3. Practice with server administration, as it is crucial to my career.
4. I'm too broke to buy a full-on desktop system plus monthly for wired ISP.
5. Possible file sharing opportunities (if I get a bigger SD card).

Share this post


Link to post
Share on other sites
The project does sound very cool, but im still muddy about the idea. I dont understand what it is exactly you're trying to do.


Is the main goal to be able to install android apps from a server you've made on your cellphone?

Share this post


Link to post
Share on other sites
[quote name='Afterm4th' timestamp='1334194449' post='360847']
The project does sound very cool, but im still muddy about the idea. I dont understand what it is exactly you're trying to do.


Is the main goal to be able to install android apps from a server you've made on your cellphone?
[/quote]

He just wants to break free of gmail and all that, not start a blackmarket app store.

Share this post


Link to post
Share on other sites
[quote name='serrath' timestamp='1334204134' post='360851']
[quote name='Afterm4th' timestamp='1334194449' post='360847']
The project does sound very cool, but im still muddy about the idea. I dont understand what it is exactly you're trying to do.


Is the main goal to be able to install android apps from a server you've made on your cellphone?
[/quote]

He just wants to break free of gmail and all that, not start a blackmarket app store.
[/quote]

Yea. Not really starting my own market. Just a small project really, and I would like to break free from email hosted on other servers. Maybe a small scale file server for my friends, though that's limited as the biggest size SD cards that fit into a phone have 32 GB. While a lot of useful stuff can be kept in that space, it won't be one of those huge 2 TB media servers lol. I suppose there is a way to attach a 1 TB hard drive through micro-USB, but that would be impractical when conflicting with things such as charging, and portability etc.

And seriously, what's NOT awesome and cool about having your own server in your pocket!?

Share this post


Link to post
Share on other sites
[quote name='jasonmanley87' timestamp='1334239876' post='360858']
And seriously, what's NOT awesome and cool about having your own server in your pocket!?
[/quote]

When the snack wrapper in your pocket blocks the signal and your server goes down.

When you walk in the rain and your server gets wet.

When you're comparing server sizes and you whip yours out.

When your server starts paying $0.25/MB because its data plan ran out.

When your server's goes down because the charger wasn't plugged in all the way.

When your server can't handle any mail because its SDCard is full.

Share this post


Link to post
Share on other sites
[quote name='serrath' timestamp='1334249678' post='360859']
[quote name='jasonmanley87' timestamp='1334239876' post='360858']
And seriously, what's NOT awesome and cool about having your own server in your pocket!?
[/quote]

When the snack wrapper in your pocket blocks the signal and your server goes down.

When you walk in the rain and your server gets wet.

When you're comparing server sizes and you whip yours out.

When your server starts paying $0.25/MB because its data plan ran out.

When your server's goes down because the charger wasn't plugged in all the way.

When your server can't handle any mail because its SDCard is full.
[/quote]

Not to mention when your server gets rooted and reveals your gps location, phonebook, sms, forwards phone calls from your bank to nigeria and otherwise drops dox

Share this post


Link to post
Share on other sites
Yes I'm perfectly aware of the pitfalls, it involves taking care of my phone of course.

But I also found something more streamlined along the lines of the link in the original post:
https://play.google.com/store/apps/details?id=com.galoula.LinuxInstall&feature=search_result
They have this app on the market do install Debian, and in the description, it explicitly mentions things like Apache, gcc, etc.

Share this post


Link to post
Share on other sites
[quote name='jasonmanley87' timestamp='1334259628' post='360861']
Yes I'm perfectly aware of the pitfalls, it involves taking care of my phone of course.

But I also found something more streamlined along the lines of the link in the original post:
https://play.google.com/store/apps/details?id=com.galoula.LinuxInstall&feature=search_result
They have this app on the market do install Debian, and in the description, it explicitly mentions things like Apache, gcc, etc.
[/quote]

It actually sounds really cool, I'm just teasing mostly. (You made it kinda easy.) But yeah, I wouldn't recommend that kinda server for anything too important.

Share this post


Link to post
Share on other sites
I think this sounds like an awesome project. I'd like to hear how it goes.

It is called a "proof of concept" people. Stop worrying about the purpose and attacking the usefulness of something. SHUT UP AND HACK for fucks sake!

Share this post


Link to post
Share on other sites
If I asked "And seriously, what's NOT awesome and cool about having your own server in your pocket!?", I'd expect no less than posts highlighting the potential issues.

Here are some links of projects already doing this which might help you jasonmanley87
http://www.xda-developers.com/android/run-a-website-on-android-with-paw-server/
http://code.google.com/p/i-jetty/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0