Linux on tv box - Android TV General

I'd like to use some sort of linux distribution on an old tv box. The box is based on the Amlogic AML-8726-m3 processor and has four USB ports and a cardreader. I was not able to find something about a ported os, but maybe you can help me to port it on my own.

I applaud that you want to recycle something and I don't want to be a party pooper, but wouldn't you be better off with a Raspberry Pi?
The Amlogic is an old single core processor. OTOH, availability of RPi is poor now.

Sure, but I don't want to pay 60-100€ for a RasPi Zero 2w. And I think, the processor would be powerful enough for simple office usage.

The Raspberry Pi Zero 2W lists for $15.
Micro Center used to sell in-person, limit one, Pi Zero for $5, Pi Zero W for $10.
Since I lived nearby I used to buy one every time I dropped in.
Since you're quoting in Euros, I'll presume that you're not in the US.
If you were I might be inclined to drop you an RPi in the mail.

I'm living in Germany. The Raspberry Pi is out of stock in every shop. You could only buy it on Amazon for very high prices (https://www.amazon.de/Raspberry-Pi-Zero-2-W/dp/B09KLVX4RT/). I hope that the prices are dropping soon, but since they are very high at the moment, I have to use alternatives, like my old tv box.

Hi, it is possible to use the app Termux to install Qemu package to then be able to install a Linux distro. I wish it was easy as said, done, but if you have time I wrote a guide that could help to teach the basics of gettting qemu up and running. I haven't made a preinstalled linux machine yet but have a couple windows machines built on there as demos.
The guide is structured using Nox android emulator, but would work on most android devices that can run termux https://forum.xda-developers.com/t/...r-android-devices-windows-10-nox-lab.4481613/
Also note that there are lots of premade linux distros for termux, my guide is for those that want to program their own. If you want to save yourself the time though you could search for prebuilt termux linux machines

This sounds good, but I would like to install linux directly to the flash chip, because of the better performance. However, the device is running only Android 4. If it is not possible, to port linux to the device, virtualization would be better than using Android.

I completely understand, I too am trying to learn how to flash directly onto my shield's drive! In my limited knowledge, it would seem that our major limitation would be with the bootloader that is on current and past android devices, it doesn't have efi or the uefi capabilities.
Tianocore is an open source project that a lot of great minds have come together to make the technology readily available to the public, but I'm too novice to be able to successfully implement anything worthwhile yet.
What is TianoCore?
www.tianocore.org
If you're curious about edk2 i posted a bunch of nonsense I learned about it on page three of this guide. It's a bunch of relevant links or at least a starting point.
Root Nvidia Shield TV Pro 2019 Version
THIS IS OUTDATED https://forum.xda-developers.com/t/bootmod-root-your-shield-in-1-minute-2015-2017-2019.4524873/ REPLACES THIS IF YOU WANT ANDROID OR USE THIS GUIDE...
forum.xda-developers.com
I believe I read that edk2 will be implemented into later android firmwares, but if we could figure it out properly, we could add the efi driver to any android firmware and in theory install any OS

Replacing the proprietary bootloader sounds good, but sadly I have absolutely no idea, how I should do that (maybe it would be actually too much effort for an old TV box). So, I think, it would be better to work with the existing one. Wouldn't it be possible to flash the image, using adb?

I think possible yes, anything is possible, but the limitations is going to be with the iso or image you are using, how it unpacks the boot sector or the efi. You can flash any image over, but to get it to boot is the other problem.
Hypothetically, I would think if you were able to edit the image to the point where it was just the linux distro's system files or the system structure unpacked , it could be possible to fastboot flash the image as system.img, as thats kinda how android is structured with the separate system image and boot image, but I don't think the public knowledge is there to be able to do anything easily without developing it yourself.

That's not very optimistic.

A few months ago I downloaded the Android image from the manufacturers website. After I asked them for some information about the TV box, they deleted the whole support webpage for the device. But right now I've found a copy of the file on a USB flashdrive. The file also contains a PDF document with an instruction, for installing the image. May I could use this "update app" instead of adb for my own image?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Oh for sure! It looks like they have their own built in firmware installer, which will save you the headache of using adb fastboot flashing. I hope it works out easily for you! I'd totally throw a copy of that firmware on the cloud and link it somewhere too. You'd surely be helping someone out there some day with that!

That's a good idea! Which cloud would you refer?
I already searched in the internet for images for this device and arm architecture (ARMv7), but I was not able, to find something. Could I also only compile Debian or Ubuntu or anything else for this arm architecture, or do I have to do driver development?

I use google drive now its free and super fast. For me I can download 5gb isos in 5-10 mins. Plus you can keep making google accounts if you go over 15gb limit if you know what I mean.
Personal Cloud Storage & File Sharing Platform - Google
Learn about Google Drive’s file sharing platform that provides a personal, secure cloud storage option to share content with other users.
www.google.com
I think as far as your second question you could do one or the other. You could explore learning how to compile any linux distro you choose, since in theory (my semantics may be wrong here) they all run the same basic linux kernel, the same as any android distro does, so you can choose to explore any distro to recompile into a system.img for flashing.
Else choose to learn driver development to bypass choice 1, if that makes sense. It kinda gives you the freedom to learn whatever sounds most interesting for the time. Hopefully enough of us will start learning this we can create our own solution to what would seem to be a trivial problem but definitely isn't right now XD

Hello,
Here how to make it, with an android box X96 mini :
Blog WiFi / 3G / 4G / Hotspots – Box Android X96 sous Linux
blogwifi.fr
good luck

fabien philipp said:
Hello,
Here how to make it, with an android box X96 mini :
Blog WiFi / 3G / 4G / Hotspots – Box Android X96 sous Linux
blogwifi.fr
good luck
Click to expand...
Click to collapse
Thank You For Sharing This Sir~! Amazing!!

Good evening everyone and Happy New Year!
I have a counter question.
I decided to buy a TV box with Linux OS and made a choice on https://www.edision.gr/en/detail/ping
I would like to install some applications, but how much I did not dig and nothing happened.
Can anyone advise where and how to start. Thank you in advance.

Related

HTC Droid Eris AVD Skin

Hey guys here's an HTC Droid Eris AVD skin that I made since I want to start getting a little more into Android development.
Let me know if anyone has any suggestions or anything for this thing!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
sickbox said:
Hey guys here's an HTC Droid Eris AVD skin that I made since I want to start getting a little more into Android development.
Let me know if anyone has any suggestions or anything for this thing!
Click to expand...
Click to collapse
really cool man thanks
I only see a red screen.. what am I doing wrong?
I noticed that search button isn't working and that I can add a hardware.ini to make the AVD automatically input hardware settings for the Eris when using this skin.
Here's what I have so far:
Code:
# skin-specific hardware values
hw.sdCard=yes
hw.accelerometer=yes
hw.dPad=no
hw.lcd.density=160
hw.camera.maxHorizontalPixels=480
hw.trackBall=yes
hw.audioOutput=yes
hw.camera.maxVerticalPixels=320
hw.battery=yes
hw.camera=yes
hw.touchScreen=yes
hw.audioInput=yes
hw.gps=yes
hw.keyboard=no
hw.ramSize=288
hw.gsmModem=yes
Let me know if anyone has any different settings.
Sweet, thanks!
now I can make awesome "HEY I HAVE ANDROID 2.1" screenshots
lol glad i could help
Hello!
Great work man!
Do you know where I can Find some other QCGA skins ( for tattoo for instance)
I need them to make videos of my app's
Thank a lot for any information ( Don't blame me I searched Google, that's why I came here..)
Android Virtual Devices
AVD quickviewYou need to create an AVD to run any app in the Android emulator
Each AVD is a completely independent virtual device, with its own hardware options, system image, and data storage.
You create AVD configurations to model different device environments in the Android emulator.
The android tool offers a graphical Android AVD Manager and a command-line interface for creating AVDs.
In this documentCreating an AVD
Listing targets
Selecting a target
Creating the AVD
Setting hardware emulation options
Default location of the AVD files
Managing AVDs
Moving an AVD
Updating an AVD
Deleting an AVD
Command-line options
See AlsoAndroid Emulator
Android Virtual Devices (AVDs) are configurations of emulator options that let you better model an actual device.
Each AVD is made up of:
A hardware profile. You can set options to define the hardware features of the virtual device. For example, you can define whether the device has a camera, whether it uses a physical QWERTY keyboard or a dialing pad, how much memory it has, and so on.
A mapping to a system image. You can define what version of the Android platform will run on the virtual device. You can choose a version of the standard Android platform or the system image packaged with an SDK add-on.
Other options. You can specify the emulator skin you want to use with the AVD, which lets you control the screen dimensions, appearance, and so on. You can also specify the emulated SD card to use with the AVD.
A dedicated storage area on your development machine, in which is stored the device's user data (installed applications, settings, and so on) and emulated SD card.
You can create as many AVDs as you need, based on the types of devices you want to model and the Android platforms and external libraries you want to run your application on.
In addition to the options in an AVD configuration, you can also specify emulator command-line options at launch or by using the emulator console to change behaviors or characteristics at run time. For a complete reference of emulator options, please see the Emulator documentation.
To create and manage AVDs, you use the android tool provided in the tools/ directory of the Android SDK. The tool provides both a graphical AVD manager and a command-line interface that you can use to create AVDs. To access the graphical AVD manager, run the android tool without options. The sections below describe how to use the android command-line interface to create and manage AVDs. Note that some functionality, such as the capability to create an AVD with a custom hardware configuration, are only available through the command-line interface.
For more information about how to work with AVDs from inside your development environment, see Developing in Eclipse with ADT or Developing in Other IDEs, as appropriate for your environment.
@profete162
Sorry I don't.
I looked around for a bit then had to dig deeper to find the bits and pieces needed to throw the AVD skin text file together plus a good amount of photoshop time creating the images used.
It's all out there I just can't remember where since its been a while.
Thank a lot sickbox...
I just spend a few hours playing with the actual skin of the device...
As you said, I just need a looot of time and photoshop skills.
Thank a lot for answering me.
many thank's, that's sooooo cool... I dont have an Android smartphone yet (HTC Desire is on my wish list ;-) same the Dell Streak Tablet. )
I am just in the re-design of logo and website for my non commercial radio show... and with installing Eclipse and Android AVD even for a total "non Techi" (never I programmed, only 1981 little bit "Basic" before Bill brought his DOS into the market.) it was possible to be successful.
Mainly I have the usability and marketing in focus and "your skin" is a great help to give the designer something on hand to proof accessibility of the web design/logo etc. ...
To set it up was done in view minutes (same Eclipse, just took me an hour to install with Android AVD), and the results I could see on my screen in a real time simulation are great. Awesome... so happy with that. Look the screen splashes (as new user I was not allowed to link the graphic into here :-( ) on your own pls. : http : // bit.ly/cHx6TL
So many thank's for this skin and your time... TC/SM2010
__________________________
P.S.: Maybe a silly question: Why do not offer the big concerns like HTC, Nokia, Motorola, Samsung etc. ... the skins on their own, its quick done I suppose to knock on the door of the design department and give away the photoshop screensplash so you less can get the mask for programming the skin.

Does an equivalent of i-FunBox exist for Android?

I hate the way MTP in general is so slow and clunky on my Windows 7, and my Wifi is a crapshoot much of the time so wifi transfer solutions like AirDroid don't really do the trick, especially with large files.
It's quite astounding that a program like i-FunBox for my old iPhone 4 can transfer files back and forth across phone and PC at blazing fast transfer speeds, when I thought Android had matured enough to do exactly the same.
I know there's an official transfer program for Mac, but what about for Windows users? I'd rather do all my transferring through a USB cable and with the speedier transfer connection that should be possible without having MTP in the way. Isn't there anything that could read/mount an ext2/ext4/whatever filesystem as easily?
Maybe I need some special drivers....
What USB port type on the machine you are using? 12 or 3 ?
If I connect up in mass storage mode mines rocket fast...
Sent from my GT-I9505 using xda premium
Try the Wondershare MobileGo program. Might be what your looking for.
MarzSyndrome said:
I hate the way MTP in general is so slow and clunky on my Windows 7, and my Wifi is a crapshoot much of the time so wifi transfer solutions like AirDroid don't really do the trick, especially with large files.
It's quite astounding that a program like i-FunBox for my old iPhone 4 can transfer files back and forth across phone and PC at blazing fast transfer speeds, when I thought Android had matured enough to do exactly the same.
I know there's an official transfer program for Mac, but what about for Windows users? I'd rather do all my transferring through a USB cable and with the speedier transfer connection that should be possible without having MTP in the way. Isn't there anything that could read/mount an ext2/ext4/whatever filesystem as easily?
Maybe I need some special drivers....
Click to expand...
Click to collapse
Windows has terrible ext4 support. I'd suggest you install a beginner distro of GNU/Linux. GNU/Linux usually uses ext4 by default so I think you could figure out a way to mount your nexus from there. Haven't personally tried it though, so I don't really know if it's possible, but it's a better shot than using windows.
If you're a beginner to GNU/Linux, I'd suggest a distro called Gentoo. It's the best of the best for beginners, so install Gentoo now.
Keion said:
If you're a beginner to GNU/Linux, I'd suggest a distro called Gentoo. It's the best of the best for beginners, so install Gentoo now.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Seriously though, if your Wifi is crap, you can try to create a Wifi hotspot with your phone (assuming you have a capable phone), and use this network for file transfer.
Gentoo is complicated as hell! There is no GUI setup to install it, you need quite a lot of linux knowledge to install and use gentoo.
It is a 'beginner' distro in a way where you do learn a lot about linux with it, that is, if you want to. It takes a lot of time and effort though.
The actual beginner distros are Mint and Ubuntu (go for LTS (long term support) with ubuntu, the latest version is buggy as hell).
Mint is based on ubuntu, so software and tips, tweaks for ubuntu also apply to mint.
If you want a distro just for the sake of syncing with N7, go for mint. It's lightweight, fast, and quite simple to use.
Be careful if installing on SSD, you need to make some adjustments: google 'mint/ubuntu ssd'
I have had a Jail broke iPhone for 2 years and often use i-funbox to transfer files as I hate iTunes. I recently acquired my nexus 7 and love being able to just open it as a drive in My Computer (I use XP). I was astonished how much faster the nexus transfers files. A typical 750 mb file will take 15 mins with ifunbox but 1-2 mins with nexus (I think my XP box only has USB 1.0! it is ten years old).
Transfer using my iPhone hotspot is also impressively fast....I use ES file explorer to browse shared folders on the XP box.
(I have tried to get Ubuntu running dual boot on the machine (it has a32 GB drive so just about room) it worked OK, but I had difficulty with the drivers for the very legacy Nvidia graphics card, which i'm too much of a Linux noob to overcome). We will meet again, Linux, we will meet again,...........this isn't over.
MarzSyndrome said:
I hate the way MTP in general is so slow and clunky on my Windows 7, and my Wifi is a crapshoot much of the time so wifi transfer solutions like AirDroid don't really do the trick, especially with large files.
It's quite astounding that a program like i-FunBox for my old iPhone 4 can transfer files back and forth across phone and PC at blazing fast transfer speeds, when I thought Android had matured enough to do exactly the same.
I know there's an official transfer program for Mac, but what about for Windows users? I'd rather do all my transferring through a USB cable and with the speedier transfer connection that should be possible without having MTP in the way. Isn't there anything that could read/mount an ext2/ext4/whatever filesystem as easily?
Maybe I need some special drivers....
Click to expand...
Click to collapse
Have you tried DroidManager?

[Q] How to Dual Boot Linux and Windows 8?

Id like to Dual boot linux onto windows 8, yet I have no idea how. Help please!
There are a large number of questions you need to answer first, which you haven't. For example:
1) What model of computer?
2) Are you trying to set up a dual-boot machine, or to boot Linux within Windows? Both are possible and your post does not make it clear.
3) Is there a particular Linux distribution you intend to use?
4) Do you have a 32-bit or 64-bit system?
5) Do you care whether the Windows or Linux bootloader loads first?
6) Do you have BitLocker drive encryption enabled?
7) Do you intend to have a "shared" partition for data used by both OSes, or to keep them fully separate?
... I'm just going to stop there.
Seriously, there are hundreds, possibly thousands of tutorials on the Internet for installing various distros of Linux onto various machines. Win8 introduces the possibilities that you'll need to disable Secure Boot and also the possibility that the CPU you're using is crippled to only work with Windows. You haven't even provided us with enough info to tell you which one, and we are *not* here to hold your hand through installing an OS you apparently know basically nothing about. Besides, if you hadn't noticed, this is a Windows forum, not a Linux forum.
GoodDayToDie said:
There are a large number of questions you need to answer first, which you haven't. For example:
1) What model of computer?
2) Are you trying to set up a dual-boot machine, or to boot Linux within Windows? Both are possible and your post does not make it clear.
3) Is there a particular Linux distribution you intend to use?
4) Do you have a 32-bit or 64-bit system?
5) Do you care whether the Windows or Linux bootloader loads first?
6) Do you have BitLocker drive encryption enabled?
7) Do you intend to have a "shared" partition for data used by both OSes, or to keep them fully separate?
... I'm just going to stop there.
Seriously, there are hundreds, possibly thousands of tutorials on the Internet for installing various distros of Linux onto various machines. Win8 introduces the possibilities that you'll need to disable Secure Boot and also the possibility that the CPU you're using is crippled to only work with Windows. You haven't even provided us with enough info to tell you which one, and we are *not* here to hold your hand through installing an OS you apparently know basically nothing about. Besides, if you hadn't noticed, this is a Windows forum, not a Linux forum.
Click to expand...
Click to collapse
Yes, I understand you're not here to hold my hand, but I am willing to learn even though I am extremely inexperienced. I want to become experienced.
1) HP Dv6-6033cl
2) Id like to run a dual boot machine.
3) I need to use 13.04 or 13.10, either will work fine.
4) I have a 64-bit version
5) I really dont care which boots first, Id just like to be able to run Linux so I can use it to program.
6) No, bitlocker is not on.
7) Id like to keep them completely seperate.
Again, I understand that this isn't a hold your hand deal. I apologize for that, but I want to learn and dont know where to start. Id love to learn all about partitions, booting different OS, being able to know the computer inside and out, not just your average user. Maybe you can point me in the right direction. That much is more than appreciated.
OK, from the version numbers you quoted, I'm assuming you're referring to Ubuntu ("Ubuntu" is not another word for Linux; it's a particular configuration of software packages running atop a Linux kernel, called a "distribution". Specifying Ubuntu is the kind of thing you should have included in your first post. There are over 750 Linux distros out there, no joke). The good news is that there are *so many* tutorials about installing Ubuntu as a dual-boot that it's literally not even worth finding a particular one to recommend. They also have their own forums (not here on XDA; you want http://ubuntuforums.org) full of info.
Another important point is the "what you want to do with it" bit, which you did cover a bit. Unless there's a specific reason it needs to be Linux, you actually almost certainly could get by with using either Windows development tools, installing MinGW (Linux-style development tools running in the Windows environment), or installing and running Cygwin and using the Linux-like tools in the POSIX-on-Windows environment it provides. For older Windows versions there was actually an official POSIX-on-NT environment from Microsoft, called Interix, but it's been deprecated (a shame; I used it to do some Linux-targeted development back in college when my laptop wasn't really beefy enough that a VM was a good idea and dual-booting would have been a pain, and I still use it today for everything from my preferred command-line shell to remote login to version control software to... you get the idea). Ubuntu is actually far from my first recommendation for a dev environment - it's a "least common denominator" desktop-oriented distro, so you may need to configure it a bit for dev work - but it's certainly capable and its popularity means you won't have any trouble finding help.
Looking for help on a Windows subforum of a mobile device forum when your question involves installing Linux on a non-mobile device isn't the best idea, though.
As far as I know what I'm going to do with it, it's an OS to start developing. I have no clue what to do yet, but I am in the process of learning! I thought itd be a good idea to go to a Windows 8 subform because my current OS is Windows 8 and, from what Ive read, I need to disable "Secure Boot", change BIOS settings, etc. I have literally done EVERYTHING I can think of and look up, including tutorials, talking to people who have already done it, the whole lot. I feel stuck! I need a solution I cant solve! Im sure after I figure the solution I will be perfectly fine! The issue is, though, I can not access the BIOS. I even created an unallocated partition. When I go to settings I do this:
Settings > Change PC Settings > General > Restart Now
On Restart, I go Troubleshoot > Advanced Options
Now, theres suppose to be some kind of settings for BIOS/UEFI, yet its missing! I cant access it because it doesnt exist on my bootup!
Ive also tried to get to the BIOS by pressing F1, F2, and DELETE to no avail.
Like I said, I am so stuck its not even funny. Its quite frustrating. If you have any developing environment setups you recommend, please reco, mmend away! I love doing this kinda stuff. Its a challenge and frustrating, yet when I get through it, its rewarding. Thats why I really want to start developing and giving back to this site. Theyve given me so much for my E4GT, I wanna give back.
Anyway, do you think you could have a possible solution?
As far as I know what I'm going to do with it, it's an OS to start developing. I have no clue what to do yet, but I am in the process of learning! I thought itd be a good idea to go to a Windows 8 subform because my current OS is Windows 8 and, from what Ive read, I need to disable "Secure Boot", change BIOS settings, etc. I have literally done EVERYTHING I can think of and look up, including tutorials, talking to people who have already done it, the whole lot. I feel stuck! I need a solution I cant solve! Im sure after I figure the solution I will be perfectly fine! The issue is, though, I can not access the BIOS. I even created an unallocated partition. When I go to settings I do this:
Settings > Change PC Settings > General > Restart Now
On Restart, I go Troubleshoot > Advanced Options
Now, theres suppose to be some kind of settings for BIOS/UEFI, yet its missing! I cant access it because it doesnt exist on my bootup!
Ive also tried to get to the BIOS by pressing F1, F2, and DELETE to no avail.
Like I said, I am so stuck its not even funny. Its quite frustrating. If you have any developing environment setups you recommend, please recommend away! I love doing this kinda stuff. Its a challenge and frustrating, yet when I get through it, its rewarding. Thats why I really want to start developing and giving back to this site. Theyve given me so much for my E4GT, I wanna give back.
Anyway, do you think you could have a possible solution?
I apologize, I hadnt realized I posted the same post twice. Still new at this!
If its a hewlett packard, usually they use F2 as the bios key. Shut the laptop down. Press power and as soon as the screen backlight comes on (which is usually instantly) hit F2.
But I really dont recommend going through the hassle of dual booting ubuntu with windows just to learn how to program. Most of the time you dont need linux, Cygwin or MinGW at all and can purely go windows based from day 1. Learning C or C++ without an IDE I do find is easiest in a linux environment so that I would recommend at least cygwin. But even so, for just programming you would probably be better off just using virtualbox if you dont want to use cygwin, it allows you to run one operating system within another like so:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thats bodhi I was using there, my favourite linux distro. Its ubuntu based so anything that says "hey I work on ubuntu" works on it usually and guides that walk you through the process of setting something up on ubuntu often apply to bodhi. But out of the box you get the enlightenment desktop instead of unity and you basically dont get any software beyond midori and terminology. Fits on a CD. Because of the lack of software though I won't recommend a linux newcomer who would probably be better suited to ubuntu or mint (of the 2 I prefer mint, also ubuntu compatible).
Never be afraid of a command line interface/console/terminal/command prompt/cmd/whatever you want to call it. Hell, on windows right now hold the windows key + R, enter CMD and then click ok. You might suddenly think you've stepped into a time machine, but its a powerful tool and still relevant in this day and age. All of your first programs will be on the command line. Many software dev tools will be on the command line. My preferred text editor on linux is also on the command line (nano, bit barebones but thats how I like my editors).
Now more importantly. The entire reason for this was programming. Programming what is a better question. It would probably be more useful to you to know where to start and what tools are right for you than to know how to set up linux. Honestly, if the aim is just to have a bit of code you wrote flashing your name on the screen all over the place etc without a particular aim yet, then I would suggest Python, specifically Python 2 over Python 3 as I personally find the online resources and 3rd party libraries are more plentiful for 2, although either one works. actually, scratch that, python is probably a good starting point for learning how to program regardless.
On windows all you will need to do is download and install python: http://www.python.org/download/ and also have a decent text editor with syntax highlighting so basically anything but notepad and certainly not an office type program, python includes IDLE which I have a severe disliking of, notepad++ is a popular choice on windows though, code-edit is on the windows store and pretty decent (yeah I went there suggesting a windows 8 app, deal with it haters ) and I personally use GEdit. On OSX and linux Python 2 is preinstalled so all you need is the text editor.
Google Fu is also required Plenty of tutorials out there.
Yes, the whole point is learn how to program properly and setup a decent developing enviornment! Ill try the suggestions you made, since I cant access UEFI/BIOS at all. It's as if the damn thing is non-existent.
SixSixSevenSeven said:
If its a hewlett packard, usually they use F2 as the bios key. Shut the laptop down. Press power and as soon as the screen backlight comes on (which is usually instantly) hit F2.
But I really dont recommend going through the hassle of dual booting ubuntu with windows just to learn how to program. Most of the time you dont need linux, Cygwin or MinGW at all and can purely go windows based from day 1. Learning C or C++ without an IDE I do find is easiest in a linux environment so that I would recommend at least cygwin. But even so, for just programming you would probably be better off just using virtualbox if you dont want to use cygwin, it allows you to run one operating system within another like so:
Thats bodhi I was using there, my favourite linux distro. Its ubuntu based so anything that says "hey I work on ubuntu" works on it usually and guides that walk you through the process of setting something up on ubuntu often apply to bodhi. But out of the box you get the enlightenment desktop instead of unity and you basically dont get any software beyond midori and terminology. Fits on a CD. Because of the lack of software though I won't recommend a linux newcomer who would probably be better suited to ubuntu or mint (of the 2 I prefer mint, also ubuntu compatible).
Never be afraid of a command line interface/console/terminal/command prompt/cmd/whatever you want to call it. Hell, on windows right now hold the windows key + R, enter CMD and then click ok. You might suddenly think you've stepped into a time machine, but its a powerful tool and still relevant in this day and age. All of your first programs will be on the command line. Many software dev tools will be on the command line. My preferred text editor on linux is also on the command line (nano, bit barebones but thats how I like my editors).
Now more importantly. The entire reason for this was programming. Programming what is a better question. It would probably be more useful to you to know where to start and what tools are right for you than to know how to set up linux. Honestly, if the aim is just to have a bit of code you wrote flashing your name on the screen all over the place etc without a particular aim yet, then I would suggest Python, specifically Python 2 over Python 3 as I personally find the online resources and 3rd party libraries are more plentiful for 2, although either one works. actually, scratch that, python is probably a good starting point for learning how to program regardless.
On windows all you will need to do is download and install python: http://www.python.org/download/ and also have a decent text editor with syntax highlighting so basically anything but notepad and certainly not an office type program, python includes IDLE which I have a severe disliking of, notepad++ is a popular choice on windows though, code-edit is on the windows store and pretty decent (yeah I went there suggesting a windows 8 app, deal with it haters ) and I personally use GEdit. On OSX and linux Python 2 is preinstalled so all you need is the text editor.
Google Fu is also required Plenty of tutorials out there.
Click to expand...
Click to collapse
Clarification: OP was wanting to learn more about kernel/AOSP build development, hence why I suggested a dual boot Linux. Virtualized Linux processes, at least even on Win 7, took a serious performance hit where a kernel build took over an hour even on a i7.
I'm aware that apps can be developed without going to Linux but it was my understanding that he'll need to to do the above - and at least in my experience VMs won't cut it. Options welcome.
I ended up dual booting Ubuntu 13.10 alongside Windows 8. I had troubles creating a partition for Ubuntu and seemed to have accidentally formatted the biggest drive, which I believe was where the Windows 8 OS was stored. I successfully put Ubuntu on there, or so I thought. Upon restart, I entered the GRUB boot selector. I first attempted to enter the Ubuntu OS, which brought me to a black writable page. I restarted the HP and tried booting into Windows 8. It gave me the error that the OS is missing. Now Im stuck in the bootloader and cant access my PC. I have an HP Dv6-6033cl laptop with a 750 hard drive I believe. Any help is appreciated.
I ended up dual booting Ubuntu 13.10 alongside Windows 8. I had troubles creating a partition for Ubuntu and seemed to have accidentally formatted the biggest drive, which I believe was where the Windows 8 OS was stored. I successfully put Ubuntu on there, or so I thought. Upon restart, I entered the GRUB boot selector. I first attempted to enter the Ubuntu OS, which brought me to a black writable page. I restarted the HP and tried booting into Windows 8. It gave me the error that the OS is missing. Now Im stuck in the bootloader and cant access my PC. I have an HP Dv6-6033cl laptop with a 750 hard drive I believe. Any help is appreciated.

Raspberry PI3 with temperature/humidity sensor , further monitoring via android app

Hi there,
I would like to make my first project related to Raspberry PI3, where the sensor would collect data and send it to the app, thus I would be able to monitor temperature from my phone. My plan is to set up a PI with one or two sensors, in my case temperature and/or humidity sensor. Collect data and send it to the Android app (which I could also develop, simple as possible).
It's time for me to buy all necessary tools for this project.
In terms of costs would you suggest to buy them separately or just at once from one vendor?
As far I know based on reading, I need following:
1. Raspberry PI3
2. Raspberry PI3 - micro USB power supply 2000mA (not 100% sure about mA number?)
3. Micro SD (what class, size, brand ?)
4. Screen (so I can see what I program, or there is another magical way to see it)
5. Breadboard and cable (so I can attach sensors and so on)
6. Resistors (what kind of?)
7. Relays (what kind of?)
8. Jumper cables
9. Analog to digital converter (is it necessary?)
10. Sensors - DHT11 or DHT22 (as DHT22 is more accurate?)
Is there something else I should add?
hi!
found this while googling "android for raspberry pi"
As for your project :
*where to buy... no clue,I got my stuff from 10+ different places
* 2,5A is better for raspberry pi3 (2A works as well,yet under full load,Im not sure)
* MicroSD at least 16GB ,better 32GB (if your using noobs / other os´s)
* screen :
the Pi has hdmi out,so just attach it to your desktop monitor.
You can code via ssh,or use the build in VNC viewer to use the LXDE desktop.
But to be honest,to really get things done on a pi,you only need a ssh terminal ,and do everything in the
commandline,at least thats what I do.
You can even set up a pi without the need ever to attach it to your monitor.
just put the wifi configuration (wpa_supplicant.conf) and an empty "ssh" file in the root directory of the boot partition of your microsd.
The pi will connect to the wifi,and you can login via port 22 and the pi´s ip address.
* if your only using temp/humidity sensors,you dont need a breadboard/resistors/JumperCables/A2D converter.
get a DHT22 sensor module (NOT just the sensor,buy the MODULE,it comes with cables,AND build in resistor).
THis is a digital sensor,you just attach it with 3 cables on the raspberry pi´s pins.
Install wiringPI and lol_dht22 ,its really simple to read out the sensor data and with further commandline tools you can do anything with the data you want.
Final/futher conclusions :
you dont really need a pi3 for temperatur monitoring.
get a pi zero W. it has everything you need for your task / it uses WAY less power than a pi3,even battery driven projects are possible,its smaller,I just love it. (and YEAH the W stands for wifi just in case your wondering... it has wifi and bluetooth build in)
I use 10 of these tiny pi´s for all kinds of stuff.
Also,you dont need an android app to code,just to get the temperature data... use automagic on your android phone/tab.
It can connect via ssh to the pi,and read out the sensor data.
You can create custom widgets to show the temperatur/humidity on your desktop.
check the screenshots,you can create widgets any way you like,there are very few limits.
I can view my piZero camera´s pictures,read temperatur/humidity from several piZeros,and also control the relay modules on two pi zeros.
Btw.. each camera view is a widget on its own,you can refresh all,or just the view you like.
you can get a full quality image ,or a quick/smaller low quality image. the filename includes the date/time it was shot,so you see if the view is old/new.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is very helpful! Thank you! For the ssh terminal I could use putty. I would like to learn what OS should I put on the card and also how to correctly put wifi configuration, but there is a lack of tutorials, or my searching skills? Could you advise on this?
managed to connect and see data on SSH.
now wondering if there is actual chance to make an android app (or find the code), so data can be seen on the app instead (not automagic)
hi!
sorry for not checking earlier if someone replied.
I use putty on the computer,its really cool.
you can even make shortcuts to commands.
I use jessie lite on my raspberry pi (2017-03-02-raspbian-jessie-lite)
its terminal only,it boots fast,and its very stable.
You can even activate a watchdog,so if the pi ever gets unstable,the watchdog reboots it.
as for the wifi configuration,thats easy
just flash the image to the sdcard,and after your done,simply put a file named
"wpa_supplicant.conf" into the fat partition (which is actually the boot partition).
the file contains the wifi configuration.
i.e.
Code:
country=AT
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="rasperrypi"
psk="passwordINhere"
}
also put a file named "ssh" (0byte/nothing in it) onto the fat partition.
when first booting your pi,the wifi configuration will be used,and a ssh server awaits connections @port 22.
you should /MUST change your ssh password/port after first use !!!!!
just edit : /etc/ssh/sshd_config for port change
and use raspi-config to change user password !
its a bit time consuming,but ALL TUTORIALS are available out there.
just let me know what you still need,and I will lookup the links and post them here !
I also just googled me into understanding linux/raspberrypi. needs time,but the feeling when you figure something out yourself.. its priceless
@androidapp:
i dont like coding/so I have no clue about that.. but think wider => coding an app,takes time,you have to know your target plattform (android versions/api/...).
while using automagic,your beyond all that,you can modify the flow very easily,and there are PLENTY of options,and ways to customize the way data is presented.
My widgets.. are custom designed,and do not reflect automagic.. meaning=> your widgets can look totally different.

All this hardware must be put to use one way or another

Hi everyone!
I read that this forum was specialized in providing the kind of knowledge I am having a hard time finding on my own.
Here is the situation: I subscribed a contract with an internet provider which included all the material included to use internet and tv.
The hardware was part of the contract so upon purchasing the membership I also paid for the tv boxes and a router.
The thing is that I moved to another country, and I am now with these things in a box, rotting without a prupose.
Now, I know my way around computers and some tech stuff to a certain extend, but this things involve a whole new level of knowledge and skills that I do not have.
I would like to ask engineers or any developer what could be done with these old tv boxes. Based on what is provided on the market, I do not think they are of much value knowing that a random cheap android box costs about 30 USD.
Is it possible to install some kind of arcade game interface on the motherboard for exemple? Or use it as an emulator for vintage
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
console?
Thank you for your time and any help or tip that you would be so kind to provide.
Have a great day!
Regards.
Jimmy
im not realy knowlageable in this stuff but perhaps just google the manufacturer of the tv box with its model and linux at the end and something will come up?
i did some research and it seems that the tv boxes are android based. could you plug one in and make a photo of what it displays?
Thank you for your fast reply.
Here are some pictures. One is the loading screen and the other is the first step navigable with the remote. There is no point in trying to connect it since it's another country and I just would like to access it and reboot it.
I unmounted it but i could not say if it could some kind of raspberry. There is a USB port though that maybe be used to plug in a bootable key?
Have a great day.
Your old TV boxes and router, which you received as part of your internet and TV subscription agreement, appear to be unnecessary now that you have moved to a different nation. You are interested in finding a new use for these gadgets, but you are unsure of where to begin.
One choice would be to try selling the gadgets online, either through an auction site like eBay or a website for local classified ads. The bother of trying to sell them might not be worthwhile, as you said that these gadgets could not be worth much.
A different choice would be to try giving the equipment a new purpose. You may, for instance, attempt to use them as media servers or streaming
Hi there and thank you for your feedback.
Indeed, I would like to find a new use for them but it seems that they are stuck on the first step of the booting. I cannot get past that as it is not like the usual OS where I can bypass the initial boot.
Would you know any way to create a bootable key or anything else to install a new OS or even wipe out the existing one?
Thanks in advance.
Your IP1400 devices are AOSP based. That means no playstore. But you could try sideloading apps via ADB. In most cases, the firmware and software of Set-Top Boxes are tightly controlled by the manufacturer and may not have an active custom development community or custom recovery options available. The device contains digital signatures.
option1: Stick with your device default os and sideload apps via ADB... someone did this on JioFI STB(similar to yours by following this hack... this particular model was Amlogic not Arcadyan, but this hack might work on yours by some digging around https://www.xda-developers.com/how-to-unlock-jiofi-jio-stb/] This way you get to keep your remote and other accessories and wifi and bluetooth will work. There are risks to consider.
Option2 [second best?]
If you can enter the bootloader by entering recovery (in a jio set top box, same manufacturer (one of the many)as your devices- Arcadyan with Synaptics chip, it involves long pressing reset button while the device is ON.), you can install any Linux/windows os that supports your device.
I recommend Alpine Linux since it supports ARM and is targetted at routers and embedded systems.
1st thing to do is to unlock bootloader if it is locked i.e. the option isn't there in recovery to reboot to bootloader. Try enabling dev options in the about menu of the device the same way as on android phone. [But it may not be that easy if the Manufacturer has covered the default settings menu of android with a custom UI as was the case with JioFI STB in the hack provided above. Some help from a friend in college(CSE/electrical branch) for a Mango Shake or a freebie (if a device is extra) could get you help, if more digging is needed.(looking up device specific info in the right place/using a development board or specific software etc...]
Alpine Linux:
this will make your device into a linux box. 1st step is to backup your device's system image. You would use clonezilla, a tiny linux distro that is designed to run off a usb thumb drive and backup a system image to any drive (typically the thumb drive itself) Installation and usage instructions: https://clonezilla.org/clonezilla-live.php
then you would want to make a bootable usb drive of Alpine linux and install it. An internet connection is recommended in order to install windowmanager and drivers and packages. You could use a LAN Cable. Below are the links to installation instructions.
Alpine Linux
wiki.alpinelinux.org
Requirements - Alpine Linux
wiki.alpinelinux.org
https://wiki.alpinelinux.org/Installation
You can install desktop environments (too heavy) or window managers (better and lighter ) use it as a pc(low end). I have other recommendations: you could connect SSD or an external hard drive ( to the USB 3.0 port) and configure it as a personal media server to store and retrieve via SSH your photos and videos from anywhere in the world as long as it is up and connected. Of course, you may not be able to share it since the ISPs generally have usage restrictions to avoid abuse of bandwidth. You could use it as a gateway for static or even dynamic to a degree/websites within an organization (public websites would break it since the device cannot handle that much traffic but given it is a media streaming device, it can take at least up to one Gigabit per second I guess, some are even designed for 1Tbps I saw this Tbps in the jioSTB documentation attached)
https://wiki.alpinelinux.org/wiki/Gaming_on_Alpine
remember driver support may be there or not... but it is worth a try.
There are distros specifically meant to be used as media center (like lIbreELEC and CoreELEC) but I couldn't find your device listed there.
Also during this process, you may need a USB hub to play around with IP1800 since I see only a single USB port on it in the photos provided, If a keyboard works.. if in recovery mode your STB remote isn't detected, you may need other input tools: Keyboard/mouse etc, if they are detected...[That's the thing. we are dealing with highly customized hardware and may not be able to use it as a PC, since it wasn't designed to be used as such...but it may work]

Categories

Resources