Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,449
» Latest member: wilyerofficial
» Forum threads: 16,187
» Forum posts: 116,834

Full Statistics

Latest Threads
Won't boot with a MicroSD...
Forum: General Discussion on PineTab
Last Post: acruhl
1 hour ago
» Replies: 0
» Views: 3
Libre Office on Pinetab2?
Forum: General Discussion on PineTab
Last Post: Anonymous1989
Yesterday, 07:48 AM
» Replies: 0
» Views: 36
Experimental Mobian kerne...
Forum: PinePhone Pro Software
Last Post: teekay
Yesterday, 01:40 AM
» Replies: 0
» Views: 58
does the Joplin note taki...
Forum: PineNote Software
Last Post: Francus
08-05-2025, 08:11 PM
» Replies: 4
» Views: 1,359
PulseAudio dropouts after...
Forum: Linux on Pinebook Pro
Last Post: Dendrocalamus64
08-05-2025, 06:40 PM
» Replies: 1
» Views: 102
Any updates on Bluetooth ...
Forum: General Discussion on PineTab
Last Post: biketool
08-05-2025, 06:38 AM
» Replies: 1
» Views: 99
Keyboard availability?
Forum: PinePhone Pro Accessories
Last Post: Peter Gamma
08-04-2025, 08:37 PM
» Replies: 9
» Views: 1,137
PINETAB-V doesn't boot.
Forum: Getting Started
Last Post: FEC
08-04-2025, 03:38 AM
» Replies: 0
» Views: 71
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
08-03-2025, 01:51 PM
» Replies: 4
» Views: 261
Trying to attach a serial...
Forum: RockPro64 Hardware and Accessories
Last Post: marietto
08-03-2025, 08:50 AM
» Replies: 0
» Views: 81

 
  Battery Takes Forever To Charge
Posted by: Bluphire - 10-15-2016, 03:42 PM - Forum: Accessories - Replies (5)

My pine just about died last night so I turned it off and plugged it in to charge over night. We are now at about 18 hours since plugging in the pine-provided charger and the battery indicator is at about a third of the way full. Settings>Battery shows 34%. I'm running Android 5.1.1 Image (LCD Panel Video Output) Release 20160603 64BG rooted on Samsung Evo 64gb SD card.

Any ideas why charging is painfully slow?

Matt


  Sorry, but you can only perform one search every 30 seconds.
Posted by: tampadave - 10-15-2016, 01:39 PM - Forum: General Discussion on PINE A64(+) - Replies (7)

WTF?

I'm loosing confidence in the "goodwill" of this forum's underlying (or is that just lying?) configuration.

I put in a search for working web browsers, and got back shipping information. WTF? Not a peep on what I asked for. And then, trying other searches that do not work either, this forum tells me I cannot submit queries less than 30 seconds apart.

I've NEVER found that policy anywhere else, and I pre-date the world wide web as we know it.

WTF?


David

Oh, and neither firefox nor chromium work for me. Midori is un-acceptable due to it forcing me into duckduckgo for default searches. Chrome is not available, so far as I've found. So, other than Midori, what browsers have anyone else found to work on 3.10.102-3-pine64-longsleep/MATE Desktop Environment 1.12.1?


  Node-RED
Posted by: klliew - 10-15-2016, 08:55 AM - Forum: Pine A64 Projects, Ideas and Tutorials - Replies (5)

Node-RED is a tool for wiring together hardware devices, APIs and online services in new and interesting ways. It build on top of Nodejs

With this, PINE64 going to be more interesting.   Smile

Tested with PINE64 2GB(1GB and 512MB shall work well, anyone with this please help to test out), Debian Base(Others Debian built shall work well, some Debian only support Nodejs 4.x).

1) Install Nodejs
sudo su

cd /home/debian
mkdir src
cd 
wget https://nodejs.org/dist/latest-v6.x/node...m64.tar.gz
tar -xvf node-v6.8.1-linux-arm64.tar.gz
cd node-v6.8.1-linux-arm64

sudo cp -R * /usr/local/
cd ..
rm -rf node-v6.8.1-linux-arm64


2) Install Node-Red
sudo npm cache clean
sudo npm install -g --unsafe-perm  node-red


3) Boot time auto start
a) Create bash file for node-red service
sudo nano /lib/systemd/system/nodered.service

Code:
# systemd service file to start Node-RED

[Unit]
Description=Node-RED graphical event wiring tool.
Wants=network.target
Documentation=http://nodered.org/docs/

[Service]
Type=simple
# Run as normal debian user - feel free to change...
User=debian
Group=debian
WorkingDirectory=/home/debian
Nice=5
Environment="NODE_OPTIONS=--max-old-space-size=128"
# uncomment and edit next line if you need an http proxy
#Environment="HTTP_PROXY=my.httpproxy.server.address"
# uncomment the next line for a more verbose log output
#Environment="NODE_RED_OPTIONS=-v"
#ExecStart=/usr/bin/env node $NODE_OPTIONS red.js $NODE_RED_OPTIONS
ExecStart=/usr/bin/env node-red-pi $NODE_OPTIONS $NODE_RED_OPTIONS
# Use SIGINT to stop
KillSignal=SIGINT
# Auto restart on crash
Restart=on-failure
# Tag things in the log
SyslogIdentifier=Node-RED
#StandardOutput=syslog

[Install]
WantedBy=multi-user.target
b) Create bash file to start node-red
sudo nano /usr/bin/node-red-start
Code:
#!/bin/bash
echo -e '\033]2;'Node-RED console'\007'
nv=`node -v | cut -d "." -f1`
if [ "$nv" = "v0" ]; then
   echo -e "\033[0;47m                                                  \033[0m"
   echo -e "\033[0;47m    node.js v0.10 is NO LONGER supported.         \033[0m"
   echo -e "\033[0;47m    please consider upgrading to node.js LTS.     \033[0m"
   echo -e "\033[0;47m                                                  \033[0m"
   echo -e "\033[0;47m    you can do this with the following command:   \033[0m"
   echo -e "\033[0;47m        update-nodejs-and-nodered                 \033[0m"
   echo -e "\033[0;47m                                                  \033[0m"
   echo -e " "
fi
HOSTIP=`hostname -I | cut -d ' ' -f 1`
if [ "$HOSTIP" = "" ]; then
   HOSTIP="127.0.0.1"
fi
echo -e "Start \033[1m\033[38;5;88mNode-RED\033[0m"
echo " "
echo "Once Node-RED has started, point a browser at http://$HOSTIP:1880"
echo "On Pine64 Node-RED works better with the Firefox browser"
echo " "
echo -e "Use   \033[0;36mnode-red-stop\033[0m                          to stop Node-RED"
echo -e "Use   \033[0;36mnode-red-start\033[0m                         to start Node-RED again"
echo -e "Use   \033[0;36mnode-red-log\033[0m                           to view the recent log output"
echo -e "Use   \033[0;36msudo systemctl enable nodered.service\033[0m  to autostart Node-RED at every boot"
echo -e "Use   \033[0;36msudo systemctl disable nodered.service\033[0m to disable autostart on boot"
echo " "
echo "To find more nodes and example flows - go to http://flows.nodered.org"
if [ "$nv" = "v0" ]; then
   echo "You may also need to install and upgrade npm"
   echo -e "      \033[0;36msudo apt-get install npm\033[0m"
   echo -e "      \033[0;36msudo npm i -g npm@2.x\033[0m"
fi
sudo service nodered start
echo " "
sudo journalctl -f -n 0 -u nodered -o cat

c) Create bash file to stop node-red
sudo nano /usr/bin/node-red-stop
Code:
#!/bin/bash
echo -e '\033]2;'Node-RED console'\007'
echo -e "\033[1mStop \033[38;5;88mNode-RED\033[0m"
echo " "
echo -e "Use   \033[0;36mnode-red-start\033[0m   to start Node-RED again"
sudo service nodered stop
echo " "
exit

d) reload systemctl daemon
sudo systemctl daemon-reload
e) create auto start link
 sudo systemctl enable nodered.service
4) Start Node-red without reboot
sudo systemctl start nodered.service
5) View node-red log:
sudo journalctl -f -u nodered -o cat 
6) Configure node-red settings and install node
After first time start up, node-red will auto created a system folder at /home/debian/.node-red
To configure the setting, /home/debian/.node-red/settings.js
To install node, /home/debian/.node-red/node_modules
Default setting node-red will use PINE64 host name to generate flow file. /home/debian/.node-red/flows_pine64.json
If you will change host name, update the "flowFile" path in settings.js
a) to generate password protected
npm install -g node-red-admin
node-red-admin hash-pw
(Enter your password, it will return encoded password string, copy this string)

b) Famous Dashboard UI
npm install node-red-dashboard

c) Useful scheduler node
npm install node-red-contrib-bigtimer


There are thousand of node & flow at here.

after install new node, restart node-red.
sudo systemctl restart nodered.service

7) After all done, you will able to access node-red at browser (Default will use port 1880, can be update in settings.js)
http://[PINE64-IP-Address]:1880
   

8) Create a sample flow. You can import the this sample flow at Menu(Right Top Corner) -> Import -> Clipboard
Code:
[{"id":"60ba3a72.b24c54","type":"ui_button","z":"5bd1466.b4e63b8","name":"","group":"7e934c94.882ef4","order":0,"width":0,"height":0,"label":"Click Me!","color":"","icon":"","payload":"","payloadType":"str","topic":"","x":188,"y":93,"wires":[["529c0ec4.837a7"]]},{"id":"529c0ec4.837a7","type":"function","z":"5bd1466.b4e63b8","name":"","func":"var d = new Date();\nmsg.payload = d;\nreturn msg;","outputs":1,"noerr":0,"x":326,"y":90,"wires":[["29ee44ea.ad52ec"]]},{"id":"29ee44ea.ad52ec","type":"ui_text","z":"5bd1466.b4e63b8","group":"7e934c94.882ef4","order":0,"width":0,"height":0,"name":"","label":"Current Date","format":"{{msg.payload}}","layout":"row-spread","x":542,"y":95,"wires":[]},{"id":"7e934c94.882ef4","type":"ui_group","z":"","name":"Hello PINE64","tab":"1680a81f.a5aec8","disp":true,"width":"6"},{"id":"1680a81f.a5aec8","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]
   

9) This sample flow using node-red-dashboard, you can access the UI at http://[PINE64-IP-Address]:1880/ui/#/0
   

Hope you guy enjoy this.  Big Grin Big Grin  Have fun!!!


  How to Setting Proxy Server in Android x-86 Kitkat, Lollipop and Marshmallow
Posted by: deniyulianti - 10-15-2016, 07:34 AM - Forum: Android on Pine A64(+) - Replies (1)

I have problem to set proxy server permanently (impose into the android system) in Android x-86 version 4.4 (Kitkat), version 5.1 (Lollipop) and version 6.0 (Marsh mallow) using terminal emulator.

I use that android emulators on VM-ware. Thanks.


  Guest Account in Android x-86 OS cannot Access Internet
Posted by: deniyulianti - 10-15-2016, 07:30 AM - Forum: Android on Pine A64(+) - No Replies

I have a problem with my account. When I used my administrator account, I can access internet for my android applications, such as LINE, Viber and so on and web browser (Chrome).
But when I changed to be a guest account in Android x-86 OS, I cannot get any internet connectivity. I installed Android x-886 5.1 (Lollipop) OS on VM-ware.
Please help me out. Thanks.


  I can get Internet Access, Though I cannot Use Instant Messagings (LINE, Zalo, Viber)
Posted by: deniyulianti - 10-15-2016, 07:29 AM - Forum: Android on Pine A64(+) - No Replies

I have a problem regarding the internet connection to my android applications, e.g. Instagram, LINE, Viber, etc.
I use Android x-86 version 5.1 (Lollipop) on Vm-ware.
Actually, I have internet connectivity, I can access internet via web browser. Though I cannot use my android application that I mentioned above.
How to solve that problem. Please help me out. Thanks in advance.


  I can get Internet Connection, However I cannot download APK File (Kitkat and Lollipo
Posted by: deniyulianti - 10-15-2016, 07:28 AM - Forum: Android on Pine A64(+) - No Replies

I have problem related on internet connection in Android x-86 version 5.1 (Lollipop) and version 4.4 (Kitkat). I run that android emulators on VM-ware.
I use android-x86-4.4-r5.iso for Kitkat and android-x86-5.1-rc.iso for Lollipop.
I have internet connectivity and I can use web browser for both android emulators, but I cannot download the APK files.
The status of the APK files at Download Folder always show Queued status and I waited for so long but there was no any APK file at that folder (Download folder), or there is no any response.
Please help me out. Thanks in advance.


  Guest Account in Remix OS cannot Get Internet Connection
Posted by: deniyulianti - 10-15-2016, 07:13 AM - Forum: Remix OS - Replies (1)

I have a problem, using my administrator account, I can access internet both my android applications, such as LINE, Viber and so on and web browser (Chrome).
But when I change to be a guest account in Remix OS, I cannot get any internet connectivity. I installed Remix OS on VM-ware.
I use Android version 6.0.1 and Remix OS version 3.0.205.
Please help me out. Thanks.


  Guest Account in Remix OS cannot Get Internet Connection
Posted by: deniyulianti - 10-15-2016, 06:32 AM - Forum: Android on Pine A64(+) - No Replies

I have a problem, using my administrator account, I can access internet both my android applications, such as LINE, Viber and so on and web browser (Chrome).
But when I change to be a guest account in Remix OS, I cannot get any internet connectivity. I installed Remix OS on VM-ware.
I use Android version 6.0.1 and Remix OS version 3.0.205.
Please help me out. Thanks.


  Hardware acceleration
Posted by: hamzahbondok - 10-14-2016, 04:48 PM - Forum: Linux on Pine A64(+) - Replies (8)

hello everybody. Today I finally managed to boot up my pine 64 but kodi was very laggy. I looked around on the forum and found that there was missing hardware acceleration. So my question is:

  • is there working hardware acceleration
  • is there an image of linux with hardware acceleration
also I dont want to use android to use kodi as I had other things I want to do with linux so if there is not I just wasted my money.


thanks and sorry for bad english