[App] Proposal - Android TV web console - Shield Android TV Q&A, Help & Troubleshooting

I just got a Shield TV, and I love it. I'm probably going to root it tonight to tinker further.
One issue I have with it is how annoying it is to configure, side-load apps, upload files to, etc. I'd love to have a web console for it, and I'm willing to do most/all of the heavy lifting for the front-end and server-side web development perspective. I'm going to need help on other fronts, however.
I'm a full-stack web developer. Most of what I've done professionally is PHP, but I'm not married to that. I'm also pretty good at configuring apache/nginx/ha-proxy/etc. Though once upon a time, I wrote front-end applications in Java and C++, that's ancient history, and I don't really have time to re-learn those skills and the Android SDK. Also, I'm not much of a designer, so unless I'm just using a pretty stock framework like Bootstrap, I'll need someone else to provide the art.
What I'm envisioning is an app that we can have in the play store that has a very simple UI to:
- install an SSH server
- install bash
- install web server/app server
- install DDNS client
- launch server on boot
- check server for new versions of the software it installed
Stuff I want the web interface to do:
- install/uninstall apps (file submission, URLs, etc.)
- 1-click installs of common things people want (Kodi, Amazon Prime Video, etc.)
- start/stop sshd
- manage mounting/unmounting NFS/AFS/CIFS/etc. shares (is this even possible on Android?)
- restart the device
- configure most settings on the device, including some hidden stuff
- file management
So, what I can do:
- script the download/install/upgrade of stuff on already rooted box in bash
- write back-end web code in PHP, Python, or Go
- write HTML/CSS/JS for front-end
What I need help with:
- writing the Android TV app to trigger the install script
- some help understanding/bootstrapping the process (what's installed by default on Android? What's the minimum we can get away with? Do we need Python?)
- someone to design the app (honestly, this can wait until we've got a baseline functionality if we like)
Anyone interested in joining me?
I'm leaning towards Go for the web app, because the binary can (in theory) be deployed standalone, and can be its own web server, obviating the need for apache or nginx or whatever. Also, performance and memory utilization -- PHP and Python are fairly expensive to run, and this is a really minor background thing.
This would be open source on Github.

While I unfortunately don't have a machine to helpwith code, nor the time for the code, I thought I'd give you a dev/modders look on the possibility/dificulty of things. Please don't think that I am discredditing this idea, in fact, I like it. Just want to passibly help you consider dev order and dificulty oy each item as listed, and hopefully add my own as others may have interest.
- install/uninstall apps (file submission, URLs, etc.) <-- Would be pretty easy. Users should provide apks, or you'll need a site that stores a lot of them.
- 1-click installs of common things people want (Kodi, Amazon Prime Video, etc.) <-- Similar to last point. You'll have to have a mirror of updated apks, weather you or another host provides it. You'll probably need a web scraper if going to an external host.
- start/stop sshd <-- I suggest dropbear, even if it's not my cup of tea. It can be easily found in other apps and should find code in open source ones to get you started.
- manage mounting/unmounting NFS/AFS/CIFS/etc. shares (is this even possible on Android?) <-- can be done. Check Kodi or other open source apps for code, though there are usually caviats to each approach. Luckly Android has fuse in most kernels these days.
- restart the device <-- Very easy
- configure most settings on the device, including some hidden stuff <-- Gonna be a long process, but you can probably reverse engeneer the apks and parse the XML files for a shortcut.
- file management <-- Super easy. Use the ssh server, or adb connection.
Over all, I think a lot of this is possible. Luckly these machines have the beef for a web server, and several are ported last I checked, though they may be out of date. Even still, check their codebase for a massive head start as they are mostly required to keep open source by licence (Apache excluded, though some still are). I would also suggest these features as they would be somewhat easy to imprement once the base file management is started, and would broaden the scope to bring in more users, support and interest, and hopefully devs.
-Rom Manager for emulators.
Mass File Renamer based on Filebot (Both are java, so should not be TOO hard to port) as many buy this box for Kodi.
I'll think of more.
I'm not an app dev, though I do rom modding and sometimes porting, and I can offer insite to things, so if you have questions on specifics, please pm me. If I get some free time, and a dev machine, I'll let you know antd get things going in the right direction. May also want to, once this idea is flushed out, post something in a more general android TV/ App Development thread for cleanness and to get devs on board (don't post in dev till there is code to show on github though please.

Something like remix os would be nice, this x1 has a lots of power
Sent from my trltetmo using Tapatalk

This is a great idea. This device is in serious need of developer attention. Im not a dev at all but Ive gotten pretty familiar with this device and Android OS in general, especially after spending so much time digging around trying to make android things happen that apparently were not indended for Android TV. I will be more than happy to be a tester and keep up so as to offer any ideas and some of the ways Ive found to do stuff.

@kdb424 - Thanks for the info. I'm working on a prototype right now. First build is going to list a bunch of stuff from the setting status, and allow you to reboot the device. I'll post the Github repo when I have that.

Great ideas!
There is a tool sorta in development already that does a lot of this (I've mentioned it on the Shield Zone a couple of times)
https://sites.google.com/site/nvidiashieldtvutilityapp/home/
My main needs (personally) is a means to move files to and from and my current solution is a free FTP server that works even when the Shield TV is sleeping.
https://play.google.com/store/apps/details?id=com.theolivetree.ftpserver
... works very well despite having to side load, has a terrible interface, etc. Set and forget. What's great is, I can use my file-manager-on-steroids Directory Opus to manage files since it is a standard FTP connection.

@darkuni - Yeah, I saw that, but I've got no Windows PC's in the house -- 2 Macs, a Chromebook, a Linux server, phones and tablets. I'm an old-school UNIX guy, and Windows doesn't strike my fancy. Plus, it seems like the sort of thing a web app is best for. No need for a fat client.

darkuni said:
Great ideas!
My main needs (personally) is a means to move files to and from and my current solution is a free FTP server that works even when the Shield TV is sleeping.
https://play.google.com/store/apps/details?id=com.theolivetree.ftpserver
... works very well despite having to side load, has a terrible interface, etc. Set and forget. What's great is, I can use my file-manager-on-steroids Directory Opus to manage files since it is a standard FTP connection.
Click to expand...
Click to collapse
Thanks for that I'll give it a go. I use ES file manager currently but it closes the server when you exit the app. Will also try this on a couple of FireTV Sticks I have dotted around the house as Kodi boxes :good:

Related

Which approch should I go?

This is my last semester before I graduate.
So, I decided to add my own Android application to my portfolio.
After a few meeting with my friends, we decide to create a game.
Our rough game's specs (Could be changed).
1. Collect all statistic locally, No statistic/central server.
(Low budget project)
2. 2d turn-base game, have some but not much amimations.
(Imagine a multi-player board game)
3. Multi-player over Bluetooth, WiFi or 3G. No single player.
4. Should playable on most of the 2.1 device
What we know/are learning
1. 3 years experience in mid-level Java programing (J2SE, J2EE)
2. 3 years experience in SQL-base database
3. 3 years experience in HTML, CSS, Javascript and Ajax
3. A year experience in Mid-level of Python, OpenGL
4. A year experience in Design pattern, Project Planing, Application Development
5. Android Application Development with Eclipes, Android SDK, JRE (In progress)
6. Titanium Appcelerator (In progress)
7. WebView, PhoneGap (In progress)
8. Publish into Android Market
Now, what we don't know/are questioning
1. Communication between android device
We decided not to use a statistic/central server. Which mean a device have to communicate to each other directly. We are not sure is it possible or not and how to accomplish that. Also some issues such as handle communication failure.
2. Approch
I'm not sure which language will be suited between C++ and Java (Best gaming experience, less issue, library/add-on support). Also still no clue which approch to go. Standard (SDK + Eclipes + JRE) or Titanium or WebView.
3. Device hardware difference
It will be not cool if this game can run smoothly on one device but laggy/false display on others. Most important question is the screen resolution.
4. Game engine
Still don't know that we need a game engine or not. Which one is suited to our project.
5. Server
We plan to go for commercial version in the future which will have more features such as Matchup, Ranking, Upgrade character and else. By the time, we do need a server right? If we do, do we need more than 1 server to handle global incoming connections?
6. What else should be take a look?
I'm currently spend my time to understaning all above question but advise from you guys would be much help. Correct me if I misunderstanding anything.
Thanks in advance, Sincere.
Still looking for answers
1. You will still need to use a central server, this server would keep track of all active(logged in ) accounts. This server will have the soul purpose of linking players or sending request from one player to another. As the ip address of our phones dynamic i see no way around this. For local games this is obviously a different story.
2. Depends on how gfx intensive your program is, if you are even semi fluent in ogl i would use this. But if not the standard Canvas android offers should be fine for 2d. I like c++, so i use java & c through jni. But if time is an issue(and u dont want headakes) i would just stick to java.
3. Android offers a compatibility mode which adapts software meant for one res to fit on others. I have zero experience in this so i can not elaborate on its effectiveness. if not with ogl it wouldnt be hard to make your program scalable to other resolutions. Tho of course you would have to alot of backend work to make sure it looks good. Wide ranging of devices is a huge plus for android users, huge headake for us devs :S.
4. If you are doing just a 2d board game ish game i dont think an actual game engine is needed...but w/e floats your boat.
5. Go to question 1. hehe.
6. No time, will comment later.
I am probably not as skilled dev as should be commenting in this thread, just fyi lol.
You can check out AndEngine as well, it is a free 2d opengl engine. It has a multiplayer extension based on java sockets but this part is incomplete, you should look out for more info on java.net.* for multiplayer purposes.
Another free opengl engine is Rokon.
Both use opengl es 1.0 and are compatible from android 1.6 onwards. I´m actually starting a 2d project based on AndEngine and have no complaints so far.
Since its not that intensive i woudn´t sugest to go for c++. I heard that not all devices are compatible with the ndk, but it is just hearsay, if some one can confirm this better.
@jug6ernaut
Thanks for your comment. Clarify me a lot.
About the server, do you have any suggestion where should I place/rent a server?
I'm living in south-east asia. I'm worry about lag issue will accur to US and Europe user when they communicate with server in this region. Our infrastructure is 10-20 years behind yours.
@rastanthology
Thanks for your comment. As you suggest, I think we will stick to Java as we planned. Plus, I'll take a look on AndEngine and Rokon.
1.- You don't need a webbased server for gameplay. You can just pair the devices over bluetooth or send the data over wifi (hell, if you wanted to make it really expensive and laggy, you could send the data over sms ). I think, connectivity wise this would be the way to go, not only because people some have data limitations in their phoneplan.
However, sending the gameplay data to a central server and distributing it back to the other player would make data collection and tracking easy, but that would be equally easy (and less data intensive for your data costs on your server) with a robust log you send to your server as you grow the game. Of course, even your peer-to-peer game will have a kind of client/server infrastructure, internally/programmaticaly speaking: maybe both devices run a client and a server, as you'll need classes/threads which send data, receive data and process data. Depending on the speed of the game and send/recieve speeds, you might want to have one of the devices be the one which has absolute say over timings/positions, or you might allow both devices to keep track and have some kind of collaborative conflict resolution
2.- pick the programming language you're best in. If you have to pick up c/c++ whilst you make the game, you're only doubling your frustration Make that be a factor in your choice of framework/engine, too. For a 'simple' game, you might just use pure java and libraries. For the game you're describing, you don't need the speed of c/c++. Nowhere near
3.- that's not a question 2D boardgames have a better chance of scaling well than even a 2d fast moving action game; I'd say that if you don't make it too complex (hundreds of transparent .png's simultaneously moving), most android devices should be able to run a 2 player boardgame without AI. Be sure to use suitable (correctly scaled etc) graphics, maybe even have multiple data sets for diff. devices.
4.- depends Sometimes, learning to use a game engine takes as much time as building those few things you need from scratch or using smaller routines/code/libraries. Design your program, find out what you need and then stack up "how much time will it take to build these classes/systems ourselves, to our exact specs" against "how much time will it take to find an engine which does kinda what we want, learn how to use the systems we want and modify them for what we want (and maybe not end up with exactly what we want)". Sometimes the (learning of the) engine is simple to learn and use, and saves you much time ... sometimes it doesn't
5.- yes. Depends on traffic (amount of connections, size of data). If you only sends logs etc and not realtime (gameplay) communications, you might have enough with one server. If you have many, many users, you might need more, and if the data has to have low latency, you will have to get more geographically situated servers.
6.- don't forget sound. Test your game on people. Prototype first, fast and often and don't be afraid to change the gameplay if what you prototype doesn't seem to be found "fun" by the people test your game
Good luck!
@MacDegger
Thanks so much. You just gave me a lot of Idea. I mean I can see the whole picture more clearly with your answer. Cheers!!
One more thing I want to know. If this game can be play only via BT or WIFI. Will people buy it?
As we plan to sell it in the market in the future. Even the gameplay is fun, nice or whatever. But, the game cant be play unless you have a friend with Android device and this game installed. That's sound not so interesting game anyways (at least for me).
I woudn't like to be pessimist but i don't think so. The best approach would be to release a free version with webview adds and a payed version add-less. From what i heard you might be receiving the same profit from both versions
rastanthology said:
I woudn't like to be pessimist but i don't think so. The best approach would be to release a free version with webview adds and a payed version add-less. From what i heard you might be receiving the same profit from both versions
Click to expand...
Click to collapse
I'm thinking about that too.
Free version with adds and less feature.
Paid version without adds and full feature.
Still don't have a clue how google adds works. Pay for each view or something I guess.
XeCeL said:
I'm thinking about that too.
Free version with adds and less feature.
Paid version without adds and full feature.
Still don't have a clue how google adds works. Pay for each view or something I guess.
Click to expand...
Click to collapse
given my software is not very ad exploiting(live wallpaper so only shows ads in settings), but in my experience ads pay like crap. 4000+ hits and ive made like 36c. Most if not all coming from clicks on the ads.
jug6ernaut said:
given my software is not very ad exploiting(live wallpaper so only shows ads in settings), but in my experience ads pay like crap. 4000+ hits and ive made like 36c. Most if not all coming from clicks on the ads.
Click to expand...
Click to collapse
Well, 4000+ hits but 36c I would better exclude it

[Q] Masters Project question(s)

Hey guys/gals, the folks over at android forums sent me to bug you guys about my endeavor, so if i am annoying, blame them . Also loved the registration video and there were no results of forum posts when it came to robotics.
"Just picked up my new Acer A500 yesterday and have been playing with it just a little bit. It has the unupdated 3.1 OS (honeycomb I THINK). So i have a few questions but first let me explain my purpose for the tab and my background.
My purpose for the tablet is for my Masters project, to interface it to a IOIO (pronounced YOYO) controller board in for motor and senor control. The IOIO is an android driven device hence an android tab. Also the tab is going to the the brains and face of a telepressence robot i am building. My background in mobile devices is windows mobile (forget the version) which i did not mod very much and my IPHONE 3GS which i have jailbroken and modded for my amusement. I also have a background in C# and VHDL but not so much in mobile application development (which i suspect should not be too difficult to pick up)
Now on to some questions. I plan to root this just to have root access but is there any other benefit such as an underground app store. My favorite is book access such as stanza. Can i host a web server on the tab or will i have to remote into it using some other utility? And i thought i had another question but i think that will do for now. Anyways thanks for any help and i look forward to future interaction."
SD
Regarding root, some apps need it. For instance, the advanced features of Titanium Backup or AdFree. As for setting a server, I am using File Expert, a file manager with some cool options (including root access) that also allows http and ftp sharing of files to and from the tablet. I am sure there are other apps with similar functionality.
superdave14 said:
I plan to root this just to have root access but is there any other benefit such as an underground app store.
Click to expand...
Click to collapse
You don't expect anyone to answer that with a link, right? You can install whatever apk you want with or without root on your own risk. The benefits of rooting have nothing to do with stealing of applications. You simply get r/w access to the filesystem.
Sent from my A500 using XDA Premium App
No need for an "underground" app store. You can use the regular Google Market, Amazon App Store, AppBrain, and GetJar to acquire and install applications.
If you are writing one yourself, then merely compile it and package it appropriate for the Android OS and you can install it without a market as long as you enable "Unknown Sources (Allow installation of non-Market applications)".
Thanks, I have never used the android device before so i was not sure of the actual restrictions the OS has as far as modifications compared to the Iphone, which is what i'm use to. If i offended anyone as far as the thinking i'm looking for free apps, i apologize. I'm more interested in direct access to the accelerometer, 6 axis gyroscope, and compass for instant feedback for my robot navigation system, as well as setting up either web server or remote capabilities to motors and functions through the device. It's all about what type of control and feedback i can gain from root versus not rooting. As well as tethering my iphone to it for greater bandwidth range, when WIFI is not available or weak.
Again any info regarding this type of information would be great.
superdave14 said:
Thanks, I have never used the android device before so i was not sure of the actual restrictions the OS has as far as modifications compared to the Iphone, which is what i'm use to. If i offended anyone as far as the thinking i'm looking for free apps, i apologize. I'm more interested in direct access to the accelerometer, 6 axis gyroscope, and compass for instant feedback for my robot navigation system, as well as setting up either web server or remote capabilities to motors and functions through the device. It's all about what type of control and feedback i can gain from root versus not rooting. As well as tethering my iphone to it for greater bandwidth range, when WIFI is not available or weak.
Again any info regarding this type of information would be great.
Click to expand...
Click to collapse
Have a look at the sdk. You don't need root for the things you intend to use your tab for. Root is needed if you need to modify the filesystem and you don't. You aren't helping yourself with thinking in the ios box. Android is much more open and thus much more friendly to the developers. All google apps are created using the same sdk that's available to us all, so if they can do anything, we can do it too (or at least we have the means to do it). There are some good examples in the sdk too, that can really help you to understand the means of reading sensor data. If I remember correctly, you had some C/C++ background, so it might help you to look as the ndk too.
Sent from my A500 using XDA Premium App
Android is much more open that the iOS, if you have a basic linux background, you can apply it here too. Rooting allows you to edit the filesystem, the equivalent of being able to write to the c:\windows and c:\program files folders. Occasionally, you may need it, but for most applications, you don't. The SDK is pretty powerful and its tutorials are quite comprehensive, with a little studying, you should be able to write an app that extracts the information you want. In general, Android app development is quite open and flexible.
As for the underground app store, there are many free apps in Google Market. Angry Birds and AdFree for instance (this is just to show that not just second rate developers offer free apps). Also, Amazon has a marketplace and they occasionally have offers for free or very discounted apps. In general, if you need an app, there is probably a free version that is supported by ads, or a lite version you can try before buying the full thing.
Just buy the Iconia tablet already.Erica promises you will love it..
Giggles.

Terminal access via ssh

I am thinking of getting a Nexus 4 (or a Nexus 5 if such a thing appears in the not too distant future) as my first smartphone, with the eventual possibility of running Ubuntu for Android if and when it becomes available. However, for now the only capability I need the phone for is to be able to open up a Linux style command line terminal on the phone where I can ssh into a couple of other Linux based devices I have, via wifi, so I can run some "C" executables that I have written on these other devices. These other devices are running SSH servers. Is this doable? Do I need a special app or a special ROM, etc.
I assume you mean to run the C executable on the remote machine... not the phone itself?
If yes, then: YES, you can do that. And there are many ways to do it.
At the most basic, the only app that you would need is a Terminal Emulator app (several terminal apps are available for free... some are better than others). From that, you can do what you want. Any of the good ones will work just like any other Terminal on a PC.
But there are other apps that will make it easier because typing out commands, on a phone, isn't the funnest thing ever. Copy-pasting commands is an obvious way to make it easier...
But there are even easier ways than that...
ConnectBot (ssh-agent-patch) app would allow you to ssh into a remote host with a single tap (even using public-private key authentication if you want). Then you can run your ./command (or copy-paste it).
You can even VNC into a remote host and control it graphically (assuming a VNC server is running on the host machine).
You can even go the other way too... you can run an ssh server on the phone and access it from your PC.
Like all ssh capabilities, all of this can be done over the internet too, you aren't limited to WiFi LAN.
Also, on all of my file explorers (on all of my computers AND my Phones) I've made shortcuts for easy file sharing too (all using pub/private key authentication for security). Not only does that make file transfers super easy no matter what machine I have my hands on at the moment, but it also makes my desktop PC at home my own personal cloud server to my phone. Who needs dropbox?
Basically anything you can do with ssh on a computer, it can be done on an Android phone.
ps... if you re-compiled your C executables for the Android system... you could even run them natively on the phone.
iowabeakster said:
I assume you mean to run the C executable on the remote machine... not the phone itself?
Click to expand...
Click to collapse
Yes.
Fantastic, thanks for the detailed answer. I wanted to know right away before I wasted my time, but now am googling around for all the details. I have a raspberry pi running Debian that I need to communicate with and it is headless (No monitor, keyboard, etc., just a wifi dongle) so this would be perfect. I also have desktop computers that run a bunch of OS's (Centos, Scientific Linux, Fedora, Ubuntu, etc) that I might want to connect to.
From what I understand, all of that can be done without modifying the phone (rooting, etc.), correct?
However, down the road I may want to try and root it anyway, because the bigger set of Linux commands offered by Busybox would nice. I have been putting off getting a smartphone because of the cost, but the Nexus 4 with something like straight talk is the same monthly price as my 400 minutes of just talk with Verizon, so it is time. The coverage and uptime with Verizon is really good, but the costs are just not keeping up with the times.
From what I understand, all of that can be done without modifying the phone (rooting, etc.), correct?
Click to expand...
Click to collapse
good question.
I don't know with absolute certainty what functions would require root (I always root right away... so I don't ever think about it... like you said... additional functions... and I forget about it).
Basic, ssh-client functions should not require root. Running the ssh-server on the phone, that I mentioned, certainly does require root though. I know that my Terminal Emulator and File explorer apps have root access, but root is not needed just for the ssh-client functions (I am pretty sure).
Rooting on the nexus 4 is pretty easy. Rooting does require the installation of a custom recovery (at least temporarily). That is something that sounds like it would take someone like a you only a few minutes to do (not counting the time you would likely spend reading about it before hand... and installing the android sdk on a PC). Certainly, no other mods other than rooting would be needed.
iowabeakster said:
good question.
I don't know with absolute certainty what functions would require root (I always root right away... so I don't ever think about it... like you said... additional functions... and I forget about it).
Click to expand...
Click to collapse
Great, I will probably just root the phone after using the phone for a while; I have zero experience with smartphones, plus I want to make sure that the phone works properly. The important thing is that it will do exactly what I need it for.
Last question. I see there are several guides for rooting and unlocking the bootloader.....Any recommendation of which one to use? I see that the one written by Jubakuba "Ultimate Nexus Root Guide" has pointers to urls that are broken (Therefore many critical steps are missing), and apparently it has been that way for quite a while.
I started looking for what I thought the best guide... but I gotta do some stuff... I will be back in a couple hours (hopefully with a good suggestion).
I will piece together a guide tomorrow morning from all the various "how-to" guides out there for you. So many of them are geared towards Windows users, and they start babbling about installing and removing drivers and stuff that you won't bother with in Linux. But I need sleep, right now. It'll just be some copying and pasting from a few of them out there. It shouldn't take long.
iowabeakster said:
I started looking for what I thought the best guide... but I gotta do some stuff... I will be back in a couple hours (hopefully with a good suggestion).
I will piece together a guide tomorrow morning from all the various "how-to" guides out there for you. So many of them are geared towards Windows users, and they start babbling about installing and removing drivers and stuff that you won't bother with in Linux. But I need sleep, right now. It'll just be some copying and pasting from a few of them out there. It shouldn't take long.
Click to expand...
Click to collapse
It's not necessary to go through all of that; I thought there was maybe one document that a lot of people were using. It is really up to me to start reading up on the subject.
Just bit the bullet and placed an order for the Nexus 4 before it is out of stock again.
Found some simple instructions for unlocking and rooting the Nexus 4:
http://forums.androidcentral.com/nexus-4-rooting-roms-hacks/224861-guide-nexus-4-unlock-root.html
Also found better descriptions of what the various terms floating around mean and what each piece of software does, however it is on the Galaxy S III section of this forum, so obviously I am not going to follow any of the procedures listed:
http://forum.xda-developers.com/showthread.php?t=1927113
Here's my favorite instructional...
http://forum.xda-developers.com/showthread.php?p=37823933#post37823933
iowabeakster said:
Since googling around to find a good "How to" for Android noobs, I kind of felt like I could maybe help a few other folks out there too So, I went ahead and made my own "How to".
Click to expand...
Click to collapse
Nice.
I just ran across this, and thought about you... looks like a nice new SSH client. I've never used it. But Jerry at Android Central is a pretty serious Linux nerd, so I do put some stock in his recommendations. Just thought I'd throw it out there for you to see.
http://www.androidcentral.com/apps-week-juicessh-7x7-audible-android-and-more
iowabeakster said:
I just ran across this, and thought about you... looks like a nice new SSH client. I've never used it. But Jerry at Android Central is a pretty serious Linux nerd, so I do put some stock in his recommendations. Just thought I'd throw it out there for you to see.
http://www.androidcentral.com/apps-week-juicessh-7x7-audible-android-and-more
Click to expand...
Click to collapse
Well, I had the phone for a couple of weeks and I think I turned it on twice. I really didn't get addicted and start to install apps until I used the GPS feature for a long trip I took yesterday. First time using a GPS....Yeah, just a little behind the times.
So, without rooting, today I installed the following apps which gives me everything I need:
ConnectBot. Works great and allows me to ssh to my Linux boxes.
Terminal Emulator. For basic command access.
FreebVNC. Has a secure tunnel feature built in, so you don't have to go through the whole two step process of setting up a tunnel and then running VNC through the tunnel. Also, it has a zoom feature, access to special keys and mouse emulation.
Wifi Analyzer. Gives you access points, signal strength, etc. There was another app that I added to that app to easily connect to the access points.
Fing. Network Info like mac addresses, etc.
Still will root eventually and install Busybox. However, now that I can access my raspberry pi remotely, my priority is to finish writing my software programs and building electronics for a project that uses that little ARM computer.
pjc123 said:
I am thinking of getting a Nexus 4 (or a Nexus 5 if such a thing appears in the not too distant future) as my first smartphone, with the eventual possibility of running Ubuntu for Android if and when it becomes available. However, for now the only capability I need the phone for is to be able to open up a Linux style command line terminal on the phone where I can ssh into a couple of other Linux based devices I have, via wifi, so I can run some "C" executables that I have written on these other devices. These other devices are running SSH servers. Is this doable? Do I need a special app or a special ROM, etc.
Click to expand...
Click to collapse
For a ssh client, try ConnectBot. I have been using this since the G1 came out for work (Sys Admin) and home.
For a better keyboard, check out Hacker's Keyboard.
SpookyTunes said:
For a ssh client, try ConnectBot. I have been using this since the G1 came out for work (Sys Admin) and home.
For a better keyboard, check out Hacker's Keyboard.
Click to expand...
Click to collapse
As mentioned above, I already installed ConnectBot and it has nice features. However, I am interested in the keyboard (keys in the right place, Crtrl/Tab/Esc keys, etc.), so I will be installing that next.
Yep, ConnectBot is the old standard (if there is such a thing in Android world). I use it.
I've pretty much always used Jack Palevich's Terminal Emulator app. Very small and lightweight. It's always done everything I've ever needed to do. But there are many Terminal apps to choose from. I usually stop trying apps, when I find one that meets my needs, and stick with it until it doesn't... I started using that Terminal my first week with my first Android, after trying a couple of others. I've never used anything since.
Hacker's keyboard is an awesome suggestion! Thanks man! How have I survived without this!
For VNC purposes (which I rarely use) I use androidVNC. I've never tried anything else since I use it so rarely. It seems to do everything I can imagine it should. Mostly I use it to mess with my wife's head with some "ghost in the shell" pranks when she is using her laptop. She will scream from the living room, "WTF!!!! My computer just told me it's going to eat my brains tonight!"
And I'm just innocently sitting there reading emails on my phone "That is strange, honey."
iowabeakster said:
For VNC purposes I use androidVNC.
Click to expand...
Click to collapse
I actually looked at androidVNC first due to the amount of reviews and positive ones, but I liked the extra features of FreebVNC even though it violates my following policy. I have found, just like shopping at Amazon, that in general the quantity and quality of reviews quickly narrows the search dramatically from the huge database of products/apps. The only side effect of this is to weed out excellent apps that are new and could be excellent, but just like major operating system updates, with anything new I let them weed out the bugs first.
iowabeakster said:
I've never tried anything else since I use it so rarely.
Click to expand...
Click to collapse
I totally agree with you that I don't ever see myself using the VNC client on the smartphone again other than just as a novelty. What does intrigue me is putting a VNC server on the smartphone. I wonder if there would be a way to use an external computer's mouse and keyboard to control the gui portion of the smartphone while displaying it on the computer's large screen, the problem being that the smartphone is touch based; that is something that I could see using.
iowabeakster said:
I use it to mess with my wife's head with some "ghost in the shell" pranks.
Click to expand...
Click to collapse
Me and a friend used to do similar pranks at work, messing each others displays, keyboards, etc. I think the best non-computer prank that someone did to me while I was on vacation was to line one of my desk drawers with plastic and fill it full of goldfish. The best prank that some colleagues did, was to inflate a weather balloon in our departmental director's office and turn the nozzle away from the door so he couldn't get in.

[XAP][Source] Webserver v0.6.0 (File uploads)

Version Alpha 0.6.0 is now available
I'm back! Not dead yet, I promise. This is actually a relatively small update in terms of user-facing features, with only one really big new thing - support for file uploading - but that's a lot bigger than it might sound. It's the first write support I've implemented in the server, and it also required some fairly massive updates to the HttpServer component (support for binary requests, for POST parameters, for MIME multipart parsing). These will be built upon in forthcoming versions to add support for things like registry editing, in-browser file viewing (possibly editing), and so on. There are also a large number of small fixes and improvements that I've made over the last two-weeks-shy-of-a-year, which should make the server faster, more robust, better able to support concurrent connections, and lighter on device resources. Finally, while the app still targets WP8.0 and should run on 8.0, it now is designed for 8.1 compatibility (especially the AllCapabilities version).
Previous update (0.5.6): This version is mostly bug fixes and UI changes. The biggest changes are: clearer display of weird registry data types, the server now consumes fewer threads (it used to spawn them with wild abandon) and does faster string compares, the app version is now shown on the phone, error pages are now better, if you launch the app without a WiFi IP address it'll offer to take you to the WiFi settings page, connections are no longer closed as soon as the app starts sending a response, and the server now defaults to using the Connection: keep-alive header, with a two-minute timeout. The last change, combined with the second-to-last, should hopefully both do away with the tendency to have the app fail to display a page. However, I shouldn't have *needed* to switch it to "keep-alive" - using "close" should have worked - but it still veeeery occasionally would kill the connection early. Agh. Anyhow, this is better in the meantime.
DevDB offers me a support / Q&A thread. Please use that thread to ask questions; don't PM me unless it needs to be kept private for some reason!
ISSUES ON WP8.1:
It *should* work to deploy the app with "Application Deployment", but if you have a problem try deploying with "Windows Phone Application Deployment 8.1" instead.
Problems have been reported in the past when the app is installed to the SD card. It's small, though; putting it on internal storage shouldn't be a problem.
RESOLVED The AllCapabilities version included a few capabilities that were present in 8.0 but removed in 8.1. Those capabilities have been removed; the AllCapabilities version now deploys and runs on capability-unlocked WP8.1 phones.
IN CASE OF OTHER ISSUES: Please provide a *detailed* error report - what phone and OS version you have, what hacks you've installed, what Webserver version you're running, what you do to get the error to occur, and exactly *what* occurs - and I'll fix it as soon as I can! There's a DevDB section for posting bug reports, and you can also use CodePlex if you want.
I finally implemented file upload! I'll work on getting more stuff like that (file delete, possibly file rename/move/copy, various registry edits), hopefully soon! I also hope to add support for different areas, like an "Applications" path, a "Processes" path, a "Services" path... eventually. Many of those are really hard without good privileges. I'm also looking at moving the server to a background process and making the app just a control UI for it, adding support for authentication and/or HTTPS, adding some stylesheets to the web UI, adding caching, and much more. I did finally implement Connection header support.
Once again, the XAP is published twice. One is a fairly standard XAP that any phone can sideload, and the second has many exotic capabilities to enable viewing of (and writing to) slightly more of the file system and registry. The standard XAP has had its list of capabilities expanded to pretty much all of them that can be used without interop-unlock. The high-capability variant requires not just interop-unlock, but the additional capability-unlock hack available in the interop-unlock thread. The AllCapabilities version now works with WP8.1; sorry for the long delay on that!
An item of note: the AllCapabilities version (or either version, on WP8.1) can open other drives in the file system. On phones with an SD card, it is mounted at D: and you can browse it as normal. Credit to @hjc4869 for this discovery!
DESCRIPTION: This is a simple webserver app which can enumerate those files that are in folders readable from the sandbox, can download and upload (access permitting) files, can browse the registry, and can display the contents of registry values of any type. It runs on WP8.x (not yet tested on W10M). It is a spiritual successor to the Functional Webserver / WebServer (Mango) projects from WP7. This version is still missing a lot of functionality as I decided to implement it from scratch, but it is advancing swiftly. Note that there's no access controls implemented; use it on a public network only at your own risk!
Instructions are simple: sideload the XAP, connect to WiFi (required), run the app (called "WebServer Native Access"), point a web browser (on a PC or phone that is also on that local network) to the URL that the app displays. You should get a basic index page. Click on a Filesystem or Registry link to begin browsing the phone. There's a textbox near the top of all filesystem pages, type in a path there (for example, "C:windows" with no quotes) and hit Enter or click Get Files. You'll see a list of the contents of that folder. Click on a file to download it or a directory to open it. There's also a box for uploading files, one at a time, to the current directory. Navigating the registry is similar, except you'll need to specify the registry hive and then the path from that hive (or no path, to access the root of the hive).
As of v0.6.0, uploading files is finally supported! Other modifications (editing files, creating, deleting, or changing registry keys or values) are currently not supported. They will be "soon" although my personal testing suggests that basically the whole registry, and most of the file system, is off-limits for writing unless you use restricted capabilities.
You might see an error code (error 5 is "ACCESS_DENIED", you'll see it a lot; I should replace it with an appropriate 403 or whatever). Or you might see a status 500 message because of an exception in the server. Or the server may just crash (hopefully not so often anymore...). I'm making it more resilient, but there are still bugs. Please report any previously-unreported issues you find, including how to reproduce them, and I'll fix them if possible.
Also feel free to request features or changes; I'll implement them if reasonably possible. The app is a mixture of C++ and C# code; I could probably have done it all in one or the other but wanted to have a C++ component in case I ran into something that wasn't available in C#, and although it probably would have saved some time, I decided that hacking up a web server in C++ was maybe not the best idea.
The source code is on Codeplex, at the following projects: https://wp8webserver.codeplex.com/ for the server and the app (C#) and https://wp8nativeaccess.codeplex.com/ for the native access wrappers (C++). You may have to fix up the reference paths to get the C# component to see the C++ component correctly. The code is reasonably well documented, but let me know if you have any questions. Permission to re-use the code or components is granted under the MS-PL (Microsoft Permissive License) as posted on Codeplex.
Go forth and find cool stuff!
Version history (see the git commit logs for more detail:
07 July 2013 - 0.2.0: Initial release, FS only, 920 downloads (source: 652 downloads)
14 July 2013 - 0.3.2: initial registry, HTTP server and web app encapsulation, source on Codeplex, 225 downloads
0.3.3: bugfixes, 454 downloads
0.4.2: basic registry values display, 86 downloads
0.4.3: bugfixes, 326 downloads
0.4.6: multistring registry values, bugfixes, updated libraries, first AllCapabilities version (950 downloads), 453 downloads
25 Oct 2013 - 0.4.8: binary and long registry values, formatting and bugfixes, 451 downloads AllCaps, 201 normal
22 Dec 2013 - 0.4.9: all registry value types, better threading, proper resume, remembers port, 97 downloads AllCaps, 53 normal
24 Dec 2013 - 0.5.0: background operation using Location APIs. Downloads: 1011 AllCaps, 963 Normal
20 Jul 2014 - 0.5.1: More capabilities, better navigation. Downloads: 358 AllCaps, 352 normal
07 Aug 2014 - 0.5.3: .REG export, better traversal, bugfixes. Downloads as of 0.5.5 release: 260 AllCaps, 164 normal
10 Oct 2014 - 0.5.5: Bugfixes and back-end work. Downloads as of 0.6.0 release: 140 AllCaps, 113 normal
25 Oct 2014 - 0.5.6: Bugfixes and UI tweaks. Downloads as of 0.6.0 release: 1720 AllCaps, 1334 normal
12 Oct 2015 - 0.6.0: Binary requests, file uploads, bugfixes.
XDA:DevDB Information
WebServer Native Access, Tool/Utility for the Windows Phone 8 General
Contributors
GoodDayToDie
Source Code: https://wp8webserver.codeplex.com/
Version Information
Status: Alpha
Created 2014-10-17
Last Updated 2015-10-12
I'm going to use this space to mention something that's pretty cool:
J. Arturo of http://www.komodosoft.net is using a modified version of the HTTP server that powers this app in the ShareFolder app (http://www.windowsphone.com/s?appid=e2b9c82e-eaa1-4a3b-9d4a-8a2933a8bdb4) to support opening video files directly from Windows network shares! This was done to work around a limitation of the WP8 media control: it can only source from an isolated storage file or a HTTP URL. By running a server in the background and streaming the video file through it, and pointing the video player control at the localhost URL, it becomes possible to play the file on the phone without first copying it to the app's isolated storage. A very cool way to solve the problem! Also, reviewing the changes that were made to the network code of the server pointed me toward those threading fixes I made that have hopefully much improved version 0.4.9.
Please note that the updated version of ShareFolder with this feature may not yet be available, although it should be soon. It is a commercial (paid) app, but the author sought and received permission to use my code (although the license does not require such permission be received).
What exactly is the problem with sockets? I am battling myself with sockets atm too, maybe we can share knowledge?
Strictly speaking, the problem was with the phone's limited subset of the Sockets API forcing me to access it through functions I wouldn't normally use (asynchronous everything, SocketAsyncEventArgs and lambdas and AutoResetEvents and so on everywhere...) but I've got a pretty good handle on it now, at least for the System.Net.Sockets.Socket and its friends. The new .NET 4.x ones (using the async keyword and all) are in a different namespace; I didn't mess with them. They are more abstracted from the Bekeley sockets interface that I'm used to from C, but they are also (supposedly) more user-friendly, especially if you don't feel like writing all your own thread management code (and in fairness, I should re-write the webserver's threading to use threadpools; they're better for this type of work).
If you want to ask questions about the topic, I suggest starting a new thread (possibly in the Q&A subforum, although it's also dev related...) and I'll answer if I can.
GoodDayToDie, just an idea: how about sharing your source code via CodePlex or GitHub?
Oh man, this is pretty nice! GoodDayToDie does it again!
So far, I can read \Windows, the current install folder which you access just by typing "." with no quotes and the current application folder by typing ".." I can access the .dlls, .winmd and AppManifest.xml from the current install, but from everywhere else, it goes boom. This is a great step towards something awesome though!
EDIT:
I was wrong. For some reason, when you click on a folder it's trying to "download" it, rather than chdir. I can get pretty far into the Windows directory.
THAT's what you meant by "Click on a file (note: there's no current way to tell the difference between files and folders) to download it.
You might see an error code (error 5 is "ACCESS_DENIED", you'll see it a lot). Or you might see a status 500 message because of an exception in the server. It's getting a lot more resilient but there are surely still some bugs. ".
If you see a folder, just type the full path to it instead of clicking on it and you will be able to read the contents.
ANOTHER EDIT:
I just found a file inside of the \Windows\System32 directory named [guid].devicemetadata-ms (It's easier to just search for "devicemetadata-ms"). It's a cab file with some metadata about WP8 with a sign.cat and packagesign.cat file in the archive. I don't know what these files could potentially be useful for.
New version in a day or two (busy tonight). Features I plan to implement (not necessarily in the next version or at any particular time):
File upload (IsoStore and, of all crazy things, install directory are writable. I think I'll put a flag on each FS page that says whether the current dir is writable...).
File deletion (where possible, of course).
File and Directory distinction in the listing (clicking a dir should open it, not error out).
Filesystem index page with links to folders that can be accessed successfully (since the root isn't readable).
Some more file info (size, probably attributes, possibly permissions).
Possibly an option to preview a file (as plain text) without downloading it.
Some kind of background mode (the server uses minimal resources when not actively servicing a request, so I'll see if I can get it to work in the background, perhaps by abusing the music transfer agent...)
Some kind of offline mode (at least basic file browsing within the app, as an alternative to using the web interface, though I might just make a second app for that).
Source code changes: separate the server code from the webapp / phone app code (move it into its own project).
Source code changes: move to a hosted version control service, probably CodePlex (good suggestion sensboston).
Maybe add an icon and such...
Any other suggestions?
I also want to try experimenting with various non-standard capabilities and see if I can get access to more of the system . I've already added the ability to access removable storage, but I've also found a bunch of really weird and frequently undocumented capabilities in the OS's policy configuration files, and I need to look into those... The interesting (and possibly the uninteresting) ones are probably blocked for unsigned sideloaded apps, but it's worth checking on anyhow.
Yeah sorry, I should have been more explicit about clicking on dirs. not working in 0.2.0. Also, it's "unofficial" but if you check the URL bar you'll see a URL parameter called something like "pattern" (by default, it's *) and if you change that, you can filter the results. For example, "foo*.exe" (note: no quotes!) will search for EXE files whose names start with "foo". Among other uses, this makes it a lot faster to load large dirs like System32. This will be added to the UI at some point. Also note that URL decoding is applied correctly to querystring parameters (Probably already noticed with the path sometimes written using %5C for \) so you can add special characters that way if needed, though currently any of them but \ will probably just cause an exception.
...
Actually, does this filesystem support Alternate Data Streams? If so, you should be able to download them by appending a : and the ADS name to the filename in the download URL...
OK, so that was a new version in five days. Sorry, stuff takes time.
The source code is now on Codeplex. The native access portion is at https://wp8nativeaccess.codeplex.com/, and the web server portion is at https://wp8webserver.codeplex.com/. Both are licensed MS-PL and use Git for version control. The full XAP is also available for download from the Webserver project on Codeplex.
GoodDayToDie said:
OK, so that was a new version in five days. Sorry, stuff takes time.
The source code is now on Codeplex. The native access portion is at https://wp8nativeaccess.codeplex.com/, and the web server portion is at https://wp8webserver.codeplex.com/. Both are licensed MS-PL and use Git for version control. The full XAP is also available for download from the Webserver project on Codeplex.
Click to expand...
Click to collapse
You are a god. I'll be sure to post my findings .
Hmm. When I first load up WebServer File Access then access from my laptop, I get the main page then the program crashes on my phone. It seems to hold a lock on to the socket as i can no longer access port 9999 from any other device when re-opening the app. I can access it again when I reboot, but the same thing happens.
EDIT: I think it may be due to the WiFi at work... it's junky. I'll try again when I get home. I was just able to browse some directories.
Wow, that's completely unexpected... I can beef up the error chacking and handling around the listener port though. That part of the code is really straightforward, so I actually haven't hardened it very much. I can also put in a Finally block to close the socket and/or mark the socket as re-usable so that other apps (or the same one again) can listen on it in the future.
I also plan to add support for setting your own port, but that doesn't solve the underlying problem. I'll put in more error reporting as well, to enable better debugging. Thanks for the report! Always good to have users report problems so I know where to prioritize fixes.
GoodDayToDie said:
Wow, that's completely unexpected... I can beef up the error chacking and handling around the listener port though. That part of the code is really straightforward, so I actually haven't hardened it very much. I can also put in a Finally block to close the socket and/or mark the socket as re-usable so that other apps (or the same one again) can listen on it in the future.
I also plan to add support for setting your own port, but that doesn't solve the underlying problem. I'll put in more error reporting as well, to enable better debugging. Thanks for the report! Always good to have users report problems so I know where to prioritize fixes.
Click to expand...
Click to collapse
I tried the app at home and it DOES crash on the first hit of the home page, but I'm able to open it up again and it works fine.
The new version 0.3.3 should be more rebust; try it and let me know if you still have issues. If you do, let me know what the exception message is (and any other info you can provide) and I'll try to track it down.
Downloading really big files should also work now. The app will read and push files in smaller chunks (the code to do this existed in the NativeAccess library before, but wasn't used).
a simple SDK?
Dear Sir
Will it be possible for you to make some sort of SDK from this so other developers can integrate this into their apps and enable browsing isolatedstorage?
Sorry if it is a stupid question.
Bruce_X_Lee said:
Dear Sir
Will it be possible for you to make some sort of SDK from this so other developers can integrate this into their apps and enable browsing isolatedstorage?
Sorry if it is a stupid question.
Click to expand...
Click to collapse
With the restrictions in permissions, this app only allows browsing of the app's isolatedstorage locally. You are able to use the IsolatedStorage API within your app to browse files and directories already.
snickler said:
With the restrictions in permissions, this app only allows browsing of the app's isolatedstorage locally. You are able to use the IsolatedStorage API within your app to browse files and directories already.
Click to expand...
Click to collapse
That's right. What I want is to allow the end user to be able to browse the isolatedstorage. Imagine I have a video download app, I want the user to be able to transfer those downloaded videos from the app's isolated storage to, say, a PC.
One can do this by integrating the webserver code into the said app.
Bruce_X_Lee said:
That's right. What I want is to allow the end user to be able to browse the isolatedstorage. Imagine I have a video download app, I want the user to be able to transfer those downloaded videos from the app's isolated storage to, say, a PC.
One can do this by integrating the webserver code into the said app.
Click to expand...
Click to collapse
Ahh I see what you mean now. That sounds like a pretty nice idea. I think more research needs to be done to see whether it would even be allowed in the marketplace.
The webserver portion is stand-alone (builds to its own .NET DLL with no dependencies on the other parts) and has a pretty clean interface. You'd need to implement the web application portion of it yourself - the thing that generates the response pages for a given request - but the HttpResponse class in the server does a lot of the work of that for you; you basically just specify the content you want to send (as a String or byte array) and it sends it.

[Q] Corporate Android Usage

Hello Guys,
before I start: My apologies for this, I am not quite sure if I am even in the right Topic.
I think of myself as pretty new to Android, but got some experiences in Rooting, Custom Roms and such. But that is already as far as it gets.
Now my Problem: We lost our BES and now my Company decided to go with Android (SG4 I9505) and I have to make it happen :angel:.
1. I Need some Kind of Freeware tool to administer Android Devices (Basic: find device, delete data, restrict Apps)
2. If something like this dont exist (which I dont think-I just havent found it)), I would Need to know if I can use CM 10.2 as our Standard Rom and before you start rolling your eyes with experimental and such....
I have to restrict the phone solely to Telefone, Exchange and some preselected (mostly travel)Tools. NO GAPPS!!! and I think that nightly CM provides this with no problems
To realize this I downloaded the nightly from 18th, I think. I then added some APK´s into \System\app Folder and installed the ROM. This actually worked fine until I updated to phone afterwards via build in updating tool - all Tools were gone.(what did I miss?)
Now, our Standard is SG4 I-9505.
Any ideas on how I could do this? (I couldnt find what I was looking for)
1. Adminster a fleet of androids (free)
2. Customize a Custom ROM for corporate Identity (How to pre-setup Exchange Boot Logo, Lockscreen, etc.)
3. or customize a ROM to the Point it cannot do much except what is in the \System\app Folder and turn off updates
Any link is much appreciated. Sadly there is sooooo much andoid articles out there that I seem to get lost while searching for the right one. Thanks in advance!!!!
AccEss-dEniEd said:
1. Adminster a fleet of androids (free)
2. Customize a Custom ROM for corporate Identity (How to pre-setup Exchange Boot Logo, Lockscreen, etc.)
3. or customize a ROM to the Point it cannot do much except what is in the \System\app Folder and turn off updates
Click to expand...
Click to collapse
My guess is I'll get flamed for saying this - but here goes.
Android corporate (MDM) leaves a lot to be desired next to iOS, at least as far as I've been able to find. We manage a lot of iPads and obviously minus the custom ROM we've been able to do it all for little to no cost. We've shied away from Android a lot because of the limited MDM control.
But, since you asked:
1. Meraki Systems Manager (and the accompanying app from Google Play)
2. Good luck with that
3. See number 2
I think the reality is you're going to need to do something to the effect of either cook your own ROM and deploy it or use a tool like CWM to create an "image" that you would then restore to the devices. I did that with a batch of 60+ Nexus 7s and it worked out pretty well.
Edit:
With all that said - I would urge your management to reconsider their approach as the world has changed since Blackberry was the only game in town. Yes, still stick with MDM, device location, remote wipe etc. But unless you're dealing with highly sensitive information (exp banking), let people actually USE the device you're giving them. Don't lock it down to where its basically a first generation iPhone. I'm a big fan of giving someone a good tool and letting them use it the way that works best for them, while still keeping the device and more importantly the data under corporate control.
Assuming you have Exchange, does this not provide the management part?
AccEss-dEniEd said:
Hello Guys,
before I start: My apologies for this, I am not quite sure if I am even in the right Topic.
I think of myself as pretty new to Android, but got some experiences in Rooting, Custom Roms and such. But that is already as far as it gets.
Now my Problem: We lost our BES and now my Company decided to go with Android (SG4 I9505) and I have to make it happen :angel:.
1. I Need some Kind of Freeware tool to administer Android Devices (Basic: find device, delete data, restrict Apps)
2. If something like this dont exist (which I dont think-I just havent found it)), I would Need to know if I can use CM 10.2 as our Standard Rom and before you start rolling your eyes with experimental and such....
I have to restrict the phone solely to Telefone, Exchange and some preselected (mostly travel)Tools. NO GAPPS!!! and I think that nightly CM provides this with no problems
To realize this I downloaded the nightly from 18th, I think. I then added some APK´s into \System\app Folder and installed the ROM. This actually worked fine until I updated to phone afterwards via build in updating tool - all Tools were gone.(what did I miss?)
Now, our Standard is SG4 I-9505.
Any ideas on how I could do this? (I couldnt find what I was looking for)
1. Adminster a fleet of androids (free)
2. Customize a Custom ROM for corporate Identity (How to pre-setup Exchange Boot Logo, Lockscreen, etc.)
3. or customize a ROM to the Point it cannot do much except what is in the \System\app Folder and turn off updates
Any link is much appreciated. Sadly there is sooooo much andoid articles out there that I seem to get lost while searching for the right one. Thanks in advance!!!!
Click to expand...
Click to collapse
I currently work in the infrastructure of a good sized corporation. We're using IOS with a mixture of android hardware and there's some good news and bad news for what you want to do.
Good news is, like Jpcurrie said, exchange will handle remote wiping and locking the phone down. you can require the phone to use a PIN, remote wipe and and a bit more. As for locating the phone, Google actually has finally built in remote locating of your device and remote wipe as well. There's a couple good apps out there (lookout) will turn on your GPS and allow you to locate the phone and they're free. If you happen to have a virtualized environment with VMware, you could also use VMware View Horizons which builds in a secure sector on the phone and you can remotely manage which apps and files the user can use. the best part of View is you can use a BYOD model and keep corporate data secure. The biggest issue is if you don't happen to already use a VMware architecture it gets pricey quickly.
Here's the rub now. you want to install your own logos on the bootup which you could do by installing a custom ROM. This will void your warranty on the hardware and as it isn't 100% stable you'll be spending a LOT of time trying to keep a consistent environment.
Like netsyd said, talk to management about an MDM, and the branding of the devices, maybe even talk to them about using a BYOD to reduce costs of hardware and administration of that hardware.
Isn´t Knox supposed to allow administrators to only delete the data that belongs to the Corporate account (emails, calendars, tasks, etc.), or an administrator can still force a full device wipe? Sorry if the questions is too basic, I've tried searching around for info on Knox but couldn't find anything besides press releases.
I'm not a network administrator, I'm just a user and my school secure wifi installs a device administrator.
I'm sorry to deviate the topic a little bit from the original.
At Delta we use Air Watch but it's far from free. You can however manage devices and remote wipe. You can also view installed apps and remove what should not be there. Options for device profiles also. I help maintain these devices everyday. Not Free but an MDM is your best bet.
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
long time - no see
Hiya,
sorry I didn t answer - kinda was overwhelmed with this Task.
Wanted still to thank you: I did what you suggestet and wanted to let you know where I am now.
1. Meraki = implemented - now runnning 160+ devices. (at no costs)
2. CM12.1 implemented (without GAPPS/no SU)
3. Standard Image/w Apps defined. (Mostly Offline capable Tools like "here" etc.(which actually reduced costs))
4. Since Android has limited capability to be administered in a "real" professional Fashion we mitigated this issue by creating a policy to forbid the user to temper with the device (e.g. Installation of Software/SU etc) yet to allow the Installation of Software manually by us via creating a ticket. We check the Software mainly for "sanity" and malware and install it if ok.
This has been working so far like a charm for us. None of the user were happy to loose the Gapps obviously - but once they had their Software and settled in, all was ok. For the Administering part: Meraki can tell me if Software is beeing installed without our Knowledge, also we see if SM doesnt speak with us anymore. So, for now, we got the most out of the System and I am happy to say: I got minimal Control in a Quality sense. No no more "KO Critera" - and we have implemented Android. Tracking etc. is forbidden in Germany anyway - so we use Meraki mainly to wipe if lost and to check if someone goes against policy.
What is still open:
- I am still working on a way to have the user enter his credentials and automatically enter These in all respective config files. (haven't had much luck - with the absense of SU obviously.
- a Little cosmetics still open (I am still trying to figure out how the theming really works ... I usually f**k up the Pictures and sounds.... but so far making Progress
- with less and less good Android devices coming out (now, I am probably beeing flamed now ) that suits our needs (open bootloader, known/supported CPUs, removable battery, SD Card Slot) - I think we might Switch by Q4/2016.
netsyd said:
My guess is I'll get flamed for saying this - but here goes.
Android corporate (MDM) leaves a lot to be desired next to iOS, at least as far as I've been able to find. We manage a lot of iPads and obviously minus the custom ROM we've been able to do it all for little to no cost. We've shied away from Android a lot because of the limited MDM control.
But, since you asked:
1. Meraki Systems Manager (and the accompanying app from Google Play)
2. Good luck with that
3. See number 2
I think the reality is you're going to need to do something to the effect of either cook your own ROM and deploy it or use a tool like CWM to create an "image" that you would then restore to the devices. I did that with a batch of 60+ Nexus 7s and it worked out pretty well.
Edit:
With all that said - I would urge your management to reconsider their approach as the world has changed since Blackberry was the only game in town. Yes, still stick with MDM, device location, remote wipe etc. But unless you're dealing with highly sensitive information (exp banking), let people actually USE the device you're giving them. Don't lock it down to where its basically a first generation iPhone. I'm a big fan of giving someone a good tool and letting them use it the way that works best for them, while still keeping the device and more importantly the data under corporate control.
Click to expand...
Click to collapse

Categories

Resources