How to mount SMB share to Sony Android TV file system? - Shield Android TV Q&A, Help & Troubleshooting

I did not find a category for Android TVs so i created a post here.
I want to mount my network share into the android file system. The background is, that the internal player can not access to the SMB files, only USB and DLNA. I want to use Kodi for file browsing and via external player to open the files in the internal player.
I hope there is a way without rooting my TV. It would be OK to start a script or app after every shutdown.

Yes, should be possible with a playercorefactoy.xml within Kodi or SPMC userdata folder.
You can also access your SMB shares from Kodi (no mounting though) and with playercorefactory.xml setup correctly it will prompt you which third party player to use to play the media file.
Does your Sony Android TV has Android Nougat or older? i ask because for example on Shield TV only since Nougat there is a feature developed by Nvidia to Mount network storage, otherwise an app like Mount Manager v1.0.41 by Ryan Conrad (no longer available in Play Store) still works but:
♦♦ REQUIRES ROOT ♦♦♦♦ YOU MUST HAVE EITHER A KERNEL THAT SUPPORTS CIFS OR THE MODULES TO LOAD TO ADD SUPPORT ♦♦♦♦ BUSYBOX RECOMMENDED ♦♦
Sent from my Tapatalk beta Hub
If I helped hit the Thanks button. Follow Me! ~ Buy Me a Coffee ~ DroidMote user ~ Full Android for Shield TV and Nexus Player

I have configured the playercorefactoy.xml and my network drive inside kodi, but the files from network can not be openend by the internal player.
I also tested with files from USB, then the files can be opened by the internal player. I think the issue is, that Kodi passes the location of the file to the internal player. But for my case kodi should pass the file, maybe as temporary cached file. In same way as ExFileExplorer do.
My TV runs with Marshmallow 6.0.1.

Did you also include the rules inside the .xml file?
e.g:
<rules action="prepend">
<rule protocols="smb" player="LocalCast" />
<rule dvdimage="true" player="LocalCast" />
<rule protocols="rtmp" player="LocalCast" />
<rule protocols="rtsp" player="LocalCast" />
<rule protocols="sop" player="LocalCast" />
<rule internetstream="true" player="LocalCast" />
<rule video="true" player="LocalCast" />
</rules>
what are you using latest kodi krypton 17.1 or SPMC?
Sent from my Tapatalk beta Hub
If I helped hit the Thanks button. Follow Me! ~ Buy Me a Coffee ~ DroidMote user ~ Full Android for Shield TV and Nexus Player

Yes i did include some additional rules. I am using Kodi v16.1 and SPMC 16.6.0.
When i configure DLNA in my network, the movies can be started by Kodi and passed to the internal player. But i dont like this way because it takes 5-10 seconds till a movie starts and Kodi can not associate the movies with the movie data base. So i only see the file names. Transcoding is deactivated on DLNA server.

Related

OpenVPN?

The N7 just got delivered. I immediately and successfully unlocked and rooted, thanks to Wugs (thanks Wugs!). Now I need to figure out how to connect to my VPN provider who uses OpenVPN and .ovpn config files. There are a few apps in the store, and I'm not sure which ones to install, or how to configure.
Thanks,
RF
I think Android supports VPN's (or at least it does in ICS) without the need of any 3rd-party apps, but then again I don't think I ever messed with OpenVPN.
If it means anything, I was able to connect to my own VPN I made with Windows 7 from ICS.
Install both OpenVPN apps from F. Schäuffelhut.
One is the binary, the other checks your setup and manages your tunnels.
You will also need busybox.
just tested all this today.
espionage724 said:
I think Android supports VPN's (or at least it does in ICS) without the need of any 3rd-party apps, but then again I don't think I ever messed with OpenVPN.
If it means anything, I was able to connect to my own VPN I made with Windows 7 from ICS.
Click to expand...
Click to collapse
If a standard port etc, yes, this should just work.
martyg7 said:
Install both OpenVPN apps from F. Schäuffelhut.
One is the binary, the other checks your setup and manages your tunnels.
You will also need busybox.
just tested all this today.
Click to expand...
Click to collapse
If not on a standard port (like I have set up, so I can OpenVPN out of my work wifi), or an oddball configuration, it works out of the box, rooted of course. I was afraid of the TUN module/config but it was compiled in. Thanks Google
There is also another openvpn by schwabe that doesn't require you to install any binaries. You just need to copy the authentication cert files, edit the .ovpn file to include the correct cert files and the server and import the profile. If you're having trouble, i can write a small tutorial on how to do so. There are also other tutorials on how you can do it if you Google openvpn on Android tutorials/guides.
Sent from my Nexus 7
I used the OpenVPN apps from F. Schauffelhut. I copied the config files from my Windows PC setup, and edited the ovpn file. However I don't know how to store the login credentials as encrypted. The OpenVPN Settings from F.S. doesn't query the user for id/pw. It just fails. So I added "auth-user-pass pwd_file" entry into the ovpn file, but it's in plaintext.
I don't want to have to type the login each time, but I do want it encrypted. Can anyone provide some info here? I'm a noob with OpenVPN. TIA.
Edit: It is working right now, just that the login info is unencrypted.
BTW, here is my ovpn file:
Code:
client
dev tun
proto tcp
remote xxxxxxxxxxx ###
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
cipher BF-CBC
keysize 512
comp-lzo
verb 4
mute 5
tun-mtu 1500
mssfix 1450
auth-user-pass pwd_file
reneg-sec 0
route-method exe
route-delay 1 10
route-metric 512
route 0.0.0.0 0.0.0.0
I believe you can encrypt the .cert files that are used by adding them to the credentials manager in settings-security. I haven't tried it so i can't confirm. Alternatively you could try an app that encrypts that folder so that it needs to be decrypted before use.
Sent from my Nexus 7
Thanks for the replies.
I went a different route, and it worked flawlessly: I made a folder in the N7 main directory (same place as Alarms, Music, etc..) called OpenVPN. Inside that, I placed a folder from my PC OpenVPN/config folder, that contained my ,ovpn file and the .crt files, etc. I then installed OpenVPN For Android from Arne Schwabe. Launching that app, and going into the 'Precious VPNs' option, allowed me to 'Import'. I navigated to the OpenVPN folder, and then the folder containing the VPN files. Highlighting the *.ovpn file and then hitting 'Select' has the app 'do it's thing'. When done, you hit finish/complete/done (forget what it was), and the VPN connection shows up in the list. Activating it and browsing to an IP check website, showed my VPN provider's exit IP. It was all easier than it looks by typing it.
RF
PS. I also installed Orbot, and since I'm rooted, the 'Transparently Proxy All Applications' option. After also checking the option to use the N7's default IP Tables (this is not the default, the app tries to use it's built in binaries and it will fail on the N7) everything connected through Tor as well...so I have two options for browsing - VPN or Tor.
I love this device (rooted) !
Glad it worked out however remember that the app is also storing info in a file that can only be read by the app but it is still in plain text. The author of the app describes it in detail in the faq section. However it is much better than having to keep the files available in plain text at all times.
Sent from my Nexus 7

[APP]Volume Boost for Nexus 5 [V. 2.1.4] 100,000+ Installs - Full MARSHMALLOW support

Formally the "Nexus 5 Real Volume Booster" The app is now Called "Volume Boost for Nexus 5".
Hey guys. I just published a free app based on the work done by SuperHanss http://forum.xda-developers.com/showthread.php?t=2532788&page=63
This app will create the file for you with the values you specify for Headset and Speaker volumes. Makes the whole process even easier and you can try multiple values really fast until you are satisfied.
The app will actually generate a file that you can then install with you custom recovery image.
Web Site: www.pc-rev.com
Very easy to use:
Detailed Video Instructions: http://www.pc-rev.com/instructions.html
1- Download the app from the playstore Nexus 5 Real Volume Booster
2- Run App
3- Enter desired volume values. (Please be careful and don't enter something crazy, max values are suggested in the app)
4- Hit "Save"
5- Hit "Reboot to Recovery" (requires root, if you dont have root, reboot into recovery as you normally would)
6- Install (Flash) /sdcard/N5VolumeBoost.zip (Tested wit TWRP and CWM)
Please backup first. As always, use at your own risk.
Hope you like it, let me know if you encounter any bugs.
More editable values to come in future updates.
{
"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"
}
Update: Version 2.1.4
Minor error in displayed text
Update: Version 2.1.3
The last update prevented users with Marshmallow to save the file. This new version will ask for permission when running the app.
Update: Version 2.1.2
Possible fix for black screen that affected some phones on Android 6.0.1
Update: Version 2.1.1
Added full support for Android Marshmallow
Removed old "Restore to defaults" buttons for Lollipop preview versions
Minor code tweaks
Update: Version 2.1.0
Name changed from "Nexus 5 Real Volume Booster" to "Volume Boost for Nexus 5" in order to comply with Google policies: http://developer.android.com/distribute/tools/promote/brand.html
Update: Version 2.0.7
This version ads an "instructions button" which links to my website containing text and video instructions.
Update: Version 2.0.6
Corrected TWRP output that said the app was compatible with 4.4.2 based ROMs. Now says that it's also compatible with 5.x
Update: Version 2.0.5
Added "Restore Defaults Lollipop" button
Update: Version 2.0.3
Compatible with Lollipop
Fixed issues with LPX13d (Latest L preview)
Integrated all original mixer_paths.xml files when the restore defaults button is used. These files will now match the original files MD5 which google may try to detect in future OTA updates.
Change location of temporary files from SD Card to internal storage (you can now delete the N5VolumeBoost folder from the root of your SD card)
Changed the way temporary files are deleted
Update: Version 2.0.2
Added:
- Spanish
- Russian
- Italian
- Hindi
Update: Version 2.0.1
French language added
Update: Version 2.0.0
Major update.
I have completely changed the way the file is being generated. The app now reads your existing mixer_paths.xml and changes only the speaker and headphone values. To my knowledge no other mod or app does this. The app would previously overwrite the entire mixer_paths.xml with one stored in the app along with the values you specified for speaker and headphones.
Implications:
1- Any other modifications you or one of your apps have previously done to the mixer_paths.xml will not be overwritten by my app.
2- This also makes the app pretty much future proof. Since it is reading your existing file, the app doesn't have to store different versions of the mixer_paths.xml for every new version of Android. It just reads your existing file looks only for the values it needs to change and doesn't touch the rest of the file.
3- Because of reason 2 the app should now be compatible with the L Preview and any modifications that could be applied to the L Preview until the final release.
Update: Version 1.3.0
The most requested feature has now been added:
The app will now read and show the active values for speaker and headphone volume instead of showing the Nexus 5 defaults.
Update: Version 1.2.9
Minor UI Modifications
Update: Version 1.2.8
Added 2 buttons. "Restore Defaults 4.4.2" and "Restore Defaults 4.4.3"
This will help users that are having issues upgrading to Android 4.4.3 with the OTA update.
Update: Version 1.2.7
- Added support for Android 4.4.3
Update: Version 1.2.6
- Fixed a minor bug
Update: Version 1.2.5 for free version
- Fixed a minor bug with the ads which is why there is no new release for the PRO version
Update: Version 1.2.4
- Added Instructions
- Added a popup confirming that the file was written to disk
- Made the app scrollable for users using a larger font
Update: Version 1.2.3
- Minor bug fixes
Update: Version 1.2
- New cleaner background and layout changes
- Code cleanup
- Minor bug fixes
NEW PRO VERSION AVAILABLE
PRO Version has same functionnality as the FREE version.
$0.99
Advantages of PRO version
- No ADS
- You help support my work
- You have my eternal gratitude
- You feel so much better about yourself
- I can buy myself half a cup of coffee (to help me stay alert while working on the app of course)
Click HERE to go PRO
Thank you for your support
tenf00t said:
Hey guys. I just published a free app based on the work done by SuperHanss http://forum.xda-developers.com/showthread.php?t=2532788&page=63
This app will create the file for you with the values you specify for Headset and Speaker volumes. Makes the whole process even easier and you can try multiple values really fast until you are satisfied.
The app will actually generate a file that you can then install with you custom recovery image.
Very easy to use:
1- Download the app from the playstore Nexus 5 Real Volume Booster
2- Run App
3- Enter desired volume values. (Please be careful and don't enter something crazy, max values are suggested in the app)
4- Hit "Save"
5- Hit "Reboot to Recovery"
6- Install /sdcard/N5VolumeBoost.zip (I only tested with TWRP)
Please backup first. As always, use at your own risk.
Hope you like it, let me know if you encounter any bugs.
More editable values to come in future updates.
Project thread here: http://forum.xda-developers.com/showthread.php?t=2688283
Click to expand...
Click to collapse
i just tried it, and it works well. thank you
Subscribeded!
Nice!!!!
I was asked if I could add in call volume settings to the app. It currently only supports headphone and speaker volume.
This is easy but I want to make sure sure to name them correctly in the app so people know what these values actually do.
The following values are modified by SuperHanss in the /system/etc/mixer_paths.xml. I'm not 100% sure on what they actually accomplish and don't want to mislead users that install the app.
Can anyone let me know if the followin assumptions are correct?
Not sure what this does?
<path name="handset">
<ctl name="EAR PA Gain" value="POS_6_DB" />
This would improve microphone sensitivity?
<path name="handset-mic">
<ctl name="DEC6 Volume" value="99" />
This would increave voice volume using the phone when next to the ear?
<path name="voice-handset">
<ctl name="RX1 Digital Volume" value="99" />
This would increave voice volume using the speakerphone?
<path name="voice-speaker-mic">
<ctl name="DEC4 Volume" value="99" />
If you could also recommend maximum values, that would be great.
Thanks a lot
mind asking why you need root to create a file on sdcard? should be possible with regular app permissions...
kendong2 said:
mind asking why you need root to create a file on sdcard? should be possible with regular app permissions...
Click to expand...
Click to collapse
You don't need root to create the zip file, but you do need root ot install it. At least as far as I know, unless you can install and have a fully working custom recovery image without root?
I believe to edit files in the system partition, you need root. You do not need root to edit files in the sdcard/storage directory.
Sent from my Nexus 5 using XDA Premium 4 mobile app
ballaz said:
I believe to edit files in the system partition, you need root. You do not need root to edit files in the sdcard/storage directory.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes, I know that. Here is a clarification of how the APP works.
It creates the .zip file that you will need to import later with your custom recovery image (NO ROOT NEEDED HERE)
You then reboot into recovery to install the ZIP file (ROOT NEEDED HERE)
So in theory ROOT is not required for the APP to generate the zip file but the zip file alone is useless. ROOT is needed to install this zip file which is why I'm saying the app needs ROOT. If I don't write that i'll get a bunch of bad feedback saying the app doesn't work.
I have also added a "Reboot to recovery" button for convenience which does require ROOT if you decide to use it.
Hope this clarifies everything.
Thank you
Works great!!
Sent from my Nexus 5 using Tapatalk
Great job there. I tryed 95 but it's way too much the sound isn't clean at all. I found 91 to be perfect for me. Just a question, do i have to keep the files it has created or can i delete them all once i've flashed?
You can safely delete the files after you flash the zip file.
Sent from my Nexus 5 using xda app-developers app
FuMMoD said:
Works great!!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thank you, glad you like it.
Nice job
Any news with " In call volume boost " + MIC boost?
( Take your time, i just wanna know if u r still investigating the correct values )
:good:
Spectrum75 said:
Nice job
Any news with " In call volume boost " + MIC boost?
( Take your time, i just wanna know if u r still investigating the correct values )
:good:
Click to expand...
Click to collapse
I know the values that have to be changed, unfortunately no one seems to be able to answer my questions. I can easily add these values in the app but I want to be sure to name them correctly. Until then I cannot add them.
I still need an answer to the following questions:
Not sure what this does?
<path name="handset">
<ctl name="EAR PA Gain" value="POS_6_DB" />
This would improve microphone sensitivity?
<path name="handset-mic">
<ctl name="DEC6 Volume" value="99" />
This would increave voice volume using the phone when next to the ear?
<path name="voice-handset">
<ctl name="RX1 Digital Volume" value="99" />
This would increave voice volume using the speakerphone?
<path name="voice-speaker-mic">
<ctl name="DEC4 Volume" value="99" />
Hi everyone, and thank you for your support. The number of installations has surpassed my expectations and will soon hit the 500 mark after just a couple of days. Reviews and comments are very good. (don't forget to add yours to the play store). When I first started, I was just looking for an idea for my first Android APP, but it looks like the app is getting some traction.
Considering the apps early success, here is a little survey.
I was contemplating the idea of adding a little banner ad to the top of the APP. I don't think this would bother anyone but I'd like your feedback. Would something like this bother you? Would it affect your perception of the APP to the point of not using it or to lower the rating you would normally give it?
I was also thinking of maybe creating a second "Pro" version whithout ads for $0.99. The free version would have the exact same functions but with a little banner ad. The pro version would be there for people that would like to support my work.
Hey, i'm sure we would all like a couple more $
Please note the Free version will always stay free and will always have the same functions as the pro version.
Let me know you opinion.
Thank you
The only suggestion I can make is to get rid of the custom background and keep it the plain dark KitKat style. It'll look much more professional that way.
LiquidSolstice said:
The only suggestion I can make is to get rid of the custom background and keep it the plain dark KitKat style. It'll look much more professional that way.
Click to expand...
Click to collapse
Will apply the modification in the next update.
Thank you
Hello, how can I return to the stock settings if needed? Thank you
Sent from my Nexus 5 using xda app-developers app
stakoz said:
Hello, how can I return to the stock settings if needed? Thank you
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Yes, just leave the default values. 15 and 88. Save and flash again.
Sent from my Nexus 5 using Tapatalk

Frequently Asked Question - SFE devices

Hi guys,
i've started a general Q&A thread for n4 and others. Everything related to sailfish and of course n4 can be posted here.
1. Which HW components are working?
A: take a look at the spreadsheet libhybris: https://wiki.merproject.org/wiki/Adaptations/libhybris
2. Can I run my android apps?
A: atm = no. due to licensing issues the dalvik runtime is not included in android ports. Join community efforts in this XDA thread. The jolla phone run android apps.
3. What about playing videos and music
A: new ports with gstreamer1.0 (Nexus 5) play MP3, MP4, H264 out-of-the-box.
Install gstreamer1.0-libav for more codecs.
For old gst0.10 ports:
MP3: install gst-fluendo-mp3-0.10.23-1.armv7hl.rpm via rpm -i fluendo
Video: Install gst streamer plugins and ultimate codec support. detailed instructions: http://forum.xda-developers.com/showpost.php?p=53552092&postcount=424
4. I'm able to install apps?
A: On Nexus 4 and Nexus 5 yes, soon on other devices too, always use Jolla Store for tested quality apps! Not there might still be scalability/stability issues on ported = non-official Sailfish OS devices.
As alternative and if you want to try many but NOT QUALITY-TESTED/POTENTIALLY DANGEROUS apps you can try Warehouse (openrepos.net):
* Navigate via your phone's browser to https://openrepos.net/content/basil/warehouse-sailfishos
* Download latest RPM
* In Terminal type `devel-su zypper in Downloads/harbour-warehouse*.rpm` and install
If you have Jolla Store also working on your ported device, you can install that app via UI instead of terminal:
* Ensure you have download at least one app from Jolla Store beforehand (which triggers `pkcon refresh`)
* Ensure Settings->System->Untrusted software is allowed
* Go to Settings->System->Transfers, click on downloaded file, and it will be installed
5. whatsapp?
A: Beware of WhatsApp temporary banning 3rd party app users. You can try WhatsUp: http://forum.xda-developers.com/showpost.php?p=60264278&postcount=137
Next Mitäkuuluu version is rumoured to be unbannable, lets all wayt
6. How to access the device?
A: Via ssh or sftp. Take a look on @Daycrawler thread: http://forum.xda-developers.com/jolla-sailfish/general/sailfish-android-devices-release-t2696409. He released the ea mail where everything is described.
7. How to install sailfish on my Android device ?
A: You will be able to install when an image is available. Check "Downloadable Image" column in https://wiki.merproject.org/wiki/Adaptations/libhybris .
Porting Sailfish OS by yourself is possible via following the HADK: https://sailfishos.org/hadk
For Nokia N9: http://wiki.maemo.org/Sailfish#Sailfish_Images
9. What about multirom?
A: MultiROM is supported on Nexus 4, Nexus 5, and OnePlus One (possibly Nexus 7 too)
10. Why I have to flash so much to get sailfish on my device?
mmmmmhhhh. Answer question by yourself and try
E.g. for Nexus 4 please do all steps you'll find in: http://forum.xda-developers.com/nexus-4/development/rom-sailfish-os-community-port-t2969823 . It's necessary to have the right baseband / modem firmware. Maybe wifi won't work if you haven't.
11. How to take a screenshot?
A1: Install screenshot app by lbt, from Jolla Store.
A2: do `zypper in lipstick-qt5-tools lipstick-qt5-tools-ui` - iconless Screenshot app will be among the App Grid
A3: This can be done on the phone via terminal and also on a remote SSH PC client.
grabscreen /home/nemo/Pictures/Test.png
If you need a times then use the 'sleep' command. e.g. below is a timer for 5 seconds.
sleep 5 && grabscreen /home/nemo/Pictures/Test.png
The picture can be accessed in the Gallery or via a file manager (question #17 below).
12. How to get files from/to device, if USB Mass Storage mode or SD card are not available ?
A1: ssh + scp combo (windows[putty] & linux)
This combo is a set of linux standard tools. You can connect to the phone via secure socket shell from your pc and transfer files to your phone and vice versa.
A2: sftp + filezilla (windows & linux)
You can access the files via filezilla. You can transfer files like you're doing with an ftp server.
A3: Gnome Desktop Environment
The gnome filemanager nautilus has an build in option for accessing sftp / ssh servers or devices easily.
A4: WinSCP (windows)
To connect via these methods, enable developer mode, set a new password and take a look what ip you've get. Behind the wlan symbol. Then choose one of the above methods:
username = nemo
password = the one you entered in developer mode section
[ssh]= ssh [email protected]_ip
[filezilla] = sftp://device_ip
[nautilus] = select: Connect to server (on the left side) and enter: ssh://device_ip
13. How can I use the Backup app when there's no (working) SD Card?
A: Launch Settings->System->Backup to save all the settings you want to preserve
Perform
Code:
tar cf $HOME/backup.tar -C $HOME .vault
scp backup.tar onto your PC (other ways of how pull files, see FAQ #12 above)
Install new Sailfish OS.zip, put the tarball back onto device (say at $HOME), then perform:
HTML:
cd $HOME && tar xpf backup.tar
Go to Settings->System->Backup and restore your content from a chosen backup
14. How can I provide another radio.img only for Sailfish OS?
Put radio.img onto Sailfish OS rootfs somewhere safe.
Edit /lib/systemd/system/firmware.mount and replace "What=/dev/mmcblk0p1" with "What=/path/to/firmware.img"
Be careful with that and always do backup (i.e. comment the first What out )
15. How can I skip tutorial?
On first screen, tap on corners in sequence: top-left, top-right, bottom-right, bottom-left
16. How can I mount android's virtual sdcard partition (Nexus4,5) with all my goodies?
Try:
Code:
devel-su
mkdir /android
mount /dev/mmcblk0p28 /android
# virtual sdcard content is then available in /android/media/0/
# enable nemo user to read/write the contents (use file manager for those):
usermod -aG media_rw nemo
# And for media to be tracked:
ln -s /android/media/0/DCIM /home/nemo/Pictures/Android
ln -s /android/media/0/Music /home/nemo/Music/Android
ln -s /android/media/0/Movies /home/nemo/Videos/Android
# To make this permanent, update your /etc/fstab file by adding the following line at the end:
/dev/mmcblk0p28 /android ext4 rw,relatime,data 0 0
17. Filemanager?
Install File Browser by Kari from Jolla Store.
For root access add on https://openrepos.net/content/schturman/startasroot-file-browser (See question #4 on how to access openrepos via Warehouse app)
18. OTA?
Over-the-air updates are not straightforwardly supported (it's possible to hack around via ssu release 1.x.y.z and version --dup commands but not been tested and breakages might happen).
Just do backup and restore via a backed up file (question #13), and reflash new .zip (which will overwrite the whole Sailfish OS partition), then restore backup
--
This thread should be a collection for sailfish on devices and I will update frequently if news or tipps & tricks are available.
Reserved
Sorry if I'm asking in a wrong thread.but this information was missing from QA.
Are there any information about android apps running in ART instead of Dalvik on Nexus4, or even on Jolla?
Morderen said:
Sorry if I'm asking in a wrong thread.but this information was missing from QA.
Are there any information about android apps running in ART instead of Dalvik on Nexus4, or even on Jolla?
Click to expand...
Click to collapse
on jolla art isn't available or usable. Almost every app is running under art.Titanium Backup, Whatsapp and a hand full of other was critical. But they updatet theire apps and everything is working fine.
carepack said:
Hi guys,
No. Please do all steps you'll find in the ea mail. It's necessary to have the right baseband / modem firmware. Maybe wifi won't work if you haven't. You will get this by flashing the google factory image:
https://dl.google.com/dl/android/aosp/occam-jdq39-factory-345dc199.tgz
After this you have to flash a clean base. That's why you have to flash cm_10.1.3: http://get.cm/get/aWH
Now you've done the preperations and can flash sailfish.
Click to expand...
Click to collapse
Its not important to flash the factory image for the Nexus 4. All you need to do is flash the Radio from the 4.2.2. which can be available as a flashable zip for TWRP Recovery. The radio is called 0.48 availabe in one of the xda threads.
Thats what I did flashed this zip after I flashed CM 10.1.3 and EA2 worked as a charm. For reference my Nexus 4 was already on 4.4.3
DeepPurple15X said:
Its not important to flash the factory image for the Nexus 4. All you need to do is flash the Radio from the 4.2.2. which can be available as a flashable zip for TWRP Recovery. The radio is called 0.48 availabe in one of the xda threads.
Thats what I did flashed this zip after I flashed CM 10.1.3 and EA2 worked as a charm. For reference my Nexus 4 was already on 4.4.3
Click to expand...
Click to collapse
you're right. You have the choice. The important part is the right baseband / radio. But to keep it user friendly reading and simple I only described this way.
Looks like the next update is early june.
https://together.jolla.com/question/43464/next-os-update-in-early-june/
from
http://forum.xda-developers.com/nexus-4/general/sailfish-os-progress-nexus-4-t2667622/page36
i am not sure how to install warehouse.. can anyone help me please??i downloaded the harbour-warehouse-0.2-13.armv7hl.rpm what excatly do i have to type to make it work?
misal6666 said:
i am not sure how to install warehouse.. can anyone help me please??i downloaded the harbour-warehouse-0.2-13.armv7hl.rpm what excatly do i have to type to make it work?
Click to expand...
Click to collapse
If you have a file manger, like cargo dock, look for your file in download folder, simply click on it and you're done.
First be sure to have enabled, in settings,->system->untrusted software, otherwise you won't be able to install.
Inviato dal mio iPad utilizzando Tapatalk
misal6666 said:
i am not sure how to install warehouse.. can anyone help me please??i downloaded the harbour-warehouse-0.2-13.armv7hl.rpm what excatly do i have to type to make it work?
Click to expand...
Click to collapse
quote from first post. hope it helps
a.) Download warehouse from opnrepos.net: https://openrepos.net/content/basil/...use-sailfishos
transfer it to you're device and install it via: rpm -i package
After that you'll be able to install apps from openrepo
Click to expand...
Click to collapse
hello.
usually i dont use camera,gps and Bluetooth in my daily life, so can i say that every thing else in nexus 4 is working
Sobaro said:
hello.
usually i dont use camera,gps and Bluetooth in my daily life, so can i say that every thing else in nexus 4 is working
Click to expand...
Click to collapse
How is the call quality? I thought the volume was still rather low.
Darakian said:
How is the call quality? I thought the volume was still rather low.
Click to expand...
Click to collapse
Yes, it is very in version 5, let's hopes we will good in version 7..
Sent from my Nexus 4 using XDA Premium 4 mobile app
Would it work on Optimus G?
Darakian said:
How is the call quality? I thought the volume was still rather low.
Click to expand...
Click to collapse
mailyaseen said:
Yes, it is very in version 5, let's hopes we will good in version 7..
Click to expand...
Click to collapse
I messaged Stskeeps on #SailfishOS IRC channel, this is what he said.
wait for next update; it fixes all that and more.
we had a bug in float vs integer valeus
Click to expand...
Click to collapse
Here are the logs for that day.
DeepPurple15X said:
I messaged Stskeeps on #SailfishOS IRC channel, this is what he said.
Here are the logs for that day.
Click to expand...
Click to collapse
I don't see that particular message in the logs, but it's good to hear none the less
I found this thought it would be useful to share and maybe add to the list
How to take a Screenshot on the Nexus?
Code:
su-devel
grabscreen /home/nemo/Pictures/Test.png
This can be done on the phone via terminal and also on a remote SSH PC client.
If you need a times then use the 'sleep' command. e.g. below is a timer for 5 seconds.
The picture can be accessed in the Gallery or via Filetug.
Code:
sleep 5 && grabscreen /home/nemo/Pictures/Test.png
DeepPurple15X said:
I found this thought it would be useful to share and maybe add to the list
How to take a Screenshot on the Nexus?
Code:
su-devel
grabscreen /home/nemo/Pictures/Test.png
This can be done on the phone via terminal and also on a remote SSH PC client.
If you need a times then use the 'sleep' command. e.g. below is a timer for 5 seconds.
The picture can be accessed in the Gallery or via Filetug.
Code:
sleep 5 && grabscreen /home/nemo/Pictures/Test.png
Click to expand...
Click to collapse
added to list! thx
updated the thread with new hints. ea3 is coming soon! The version is more fluidly on mako devices. The resulotion fits better the screen. Had problems with mitäkuuluu because can't open chats. Working codec support is now easier to activate. Have fun guys!
carepack said:
updated the thread with new hints. ea3 is coming soon! The version is more fluidly on mako devices. The resulotion fits better the screen. Had problems with mitäkuuluu because can't open chats. Working codec support is now easier to activate. Have fun guys!
Click to expand...
Click to collapse
For mitakuuluu u need to install location and positioning packages..
Install pkcon qt5-qtdeclarative-import-location
Install pkcon qt5-qtdeclarative-import-postioning
Sent from my Nexus 4 using XDA Premium 4 mobile app

VRTV Free for Cardboard 3.0 open beta

Hi XDA! I'm the developer of VRTV, a video player for Cardboard. I'm running an open beta of my latest release, and I was hoping I could get some feedback here. Hope this doesn't count as me spamming. The app is free, with a banner ad, but there is a paid version available.
Anyway, here's a small description of the news in 3.0 beta:
Big news:
Uses libVLC backend, with support for replacing the decoding library.
Regular 2D video player UI.
Configurable bluetooth controls.
Smaller news:
Support for 220/270 degree panoramas.
Audio track selection.
Guess video config from filename.
Setting for phones/headset in reverse landscape configuration.
Like MX Player, I've disabled support for DTS/AC3, but you can build and load your own libvlcjni.so from the libvlc source code if you are not under the jurisdiction of software patents. To get the correct version I recommend using the same source as I used to build the version that's distributed with the app. Link below.
The other big new thing in 3.0 is that I've implemented a simple "normal" video player UI, so ideally you would get by with VRTV for all your videos and can set it as the default video player. Something that's been bugging me with VRTV for a while (and with most other players I believe). Uncheck "VR Player" to use the regular player.
I use the beta functionality in the Play Store, so to join, click the appropriate link below to join the beta with your Google account, then find VRTV in the Play Store to update to the beta.
https://play.google.com/apps/testing/se.chai.vrtv.free
https://play.google.com/apps/testing/se.chai.vrtv (requires buying/owning the paid version)
Follow the link below to get the source code for libvlc used in VRTV. Let me know if you would be willing to help me test loading a self-built library!
https://github.com/svenhenrik/vlc_vrtv_1.7.x
Any feedback is valuable, and if you have the ability to provide logs for crashers I will love you forever! Especially Nougat seems to be a bit troublesome, and I don't have a device to test with myself.
Hi Sven,
I bought the pro app in the Play store and I am willing to build my own libvlcjni.so. From all the players I have tried so far your app had the best results for non-VR 3D-movies by far.
I will install an Ubuntu on an usb stick tonight and have a couple of questions since I am not familiar with developing in Linux.
- Will it compile correctly under 64-it linux?
- What settings do I have to change to enable AC3/DTS?
- Do I need the Android SDK or just the libraries mentioned at https://wiki.videolan.org/AndroidCompile/?
So I will just do a
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install zlib1g:i386 libstdc++6:i386 libc6:i386
sudo apt-get install automake ant autopoint cmake build-essential libtool \ patch pkg-config protobuf-compiler ragel subversion unzip git
git clone https://github.com/svenhenrik/vlc_vrtv_1.7.x
./compile.sh --release -l -a armeabi-v7a
Copy the new libvlcjni.so to data/app/se.chai.vrtv-1/lib
?
Thank you for your help.
OK, I ran into a couple of issues (some URLs where additional packages were being fetched were dead, you need to use NDK 10e because newer versions are missing the required release.txt, you need to install Oracle Java and set the JAVA_HOME variable).
ColinMacLaren said:
OK, I ran into a couple of issues (some URLs where additional packages were being fetched were dead, you need to use NDK 10e because newer versions are missing the required release.txt, you need to install Oracle Java and set the JAVA_HOME variable).
Click to expand...
Click to collapse
Hi, so sorry for not checking in here sooner to help. Did you manage to get it all to compile? Let me know if you have more questions, I'll check a little more often
I'll update the patch later today with the new contrib links. I really should upgrade VLC since they released a new version recently, I used the one that was released when I started adding support.
I'll add the part about needing NDK r10e to the instructions, thanks!
ColinMacLaren said:
- What settings do I have to change to enable AC3/DTS?
Click to expand...
Click to collapse
Missed this part. You basically want to revert my changes relating to the a52 library. These are the modifications I've made:
- Make sure to use the last tested SHA of VLC instead of the latest checkout, to get some stability in what VRTV is using.
- Disable GPL, and fix building without GPL libraries (all changes relating to -lmad and -lpostproc
- Disable a52, in both the vlc build script and in the ffmpeg config.
The latter two are mixed and spread over two commits unfortunately so you can't just revert them.
https://github.com/svenhenrik/vlc_vrtv_1.7.x/commit/39bfc574661484f3d6e6f4371c1582aec57dbe35
Here you need to remove the --disable-a52 lines and add back the linker flag -la52 that was removed.
https://github.com/svenhenrik/vlc_vrtv_1.7.x/commit/961142382010ef3bb74028163cd66e11244d139a
Remove the --disable-decoder lines the patch added to vlc/contrib/src/ffmpeg/rules.mak
I think I might have had to add --enable-a52 to the compile script to get it to pick up the changes when rebuilding, try that if it doesn't download the a52 contrib lib or doesn't link.
By the way, the latest beta supports reading zip:ed libvlcjni.so files (make sure it's the only file in the archive).
Also gave this a shot. The developer still hasn't updated the source with new links to libraries, but I managed to get it to build and load after some tinkering.
If anyone else wants AC3/DTS support but can't build it themselves, PM me, new account so I can't post links.
Where do I put the zipped library and what are the naming restrictions?
ColinMacLaren said:
Where do I put the zipped library and what are the naming restrictions?
Click to expand...
Click to collapse
Haven't tried zip, but if you pick "load library" in the menu in VRTV you get a file browser so just put the file anywhere on the phone.
Instructions
A paid customer and also joined the Beta testing team.. Want to say thank you for this great Video player. Took me a while to land on it after trying so many VR players.
Two questions.
Are there better instructions anywhere?
1.) How / where to find Codec's for this? Trying to play .MKV files (no audio)
UPDATE: used VLC codec, thanks..
2.) Is there a way to have the filename syntax , pre-configure settings on video type, VR DOME etc.., so it starts without having the non-3D menu first ? Does this make sense?
​Using;
Note 5 -Samsung Gear VR​, streaming videos from Local NAS
sounds cool. will give it a try
Cool. Will give it a try
[WIP] Docker Build Steps
This isn't working but I thought I'd post anyone, I will edit when I figure out what I'm missing.
If you already have a build environment setup these steps may or may not be helpful, but here's what I did to build the library file with docker:
Code:
# Grab a docker image that's has the NDK and SDK install for you
docker pull dbndev/android-ndk-r12b-build-samples
# Grab the source for building VRTV's VLC Lib, and checkout the version before any changes were made
git clone https://github.com/svenhenrik/vlc_vrtv_1.7.x
cd vlc_vrtv_1.7.x
git checkout 58181046e79112450a3362df7195cc35dd332096
# EDIT compile.sh, otherwise gradle don't download, the url changed, and redirect isn't caught. Note change xxxx to http, I can't post links with my account
# ORG: GRADLE_URL=xxxx://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip
# NEW: GRADLE_URL=xxxx://downloads.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip
docker run -it --rm -v $(pwd):/build_vlc -w /build_vlc dbndev/android-ndk-r12b-build-samples bash
# Install needed tools and setup the environment for building
apt-get update
apt-get install zlib1g:i386 libstdc++6:i386 libc6:i386
apt-get install automake ant autopoint cmake build-essential libtool patch pkg-config protobuf-compiler ragel subversion unzip git
export ANDROID_SDK=/opt/android-sdk-linux
export ANDROID_NDK=/opt/android-ndk-r12b
echo "r10 (64-bit)" > $ANDROID_NDK/RELEASE.TXT
./compile.sh --release -l -a armeabi-v7a
exit
There should now be a libvlcjni.so around xKB in the root of the vlc_vrtv_1.7.x directory, copy to android and enjoy audio!
Here's the error I'm having now, it looks like I'm trying to build a 32bit library on a 64bit OS, and looks like I need to set some other envs to get past this.
Code:
configure: error: in `/build_vlc/vlc/contrib/contrib-android-arm-linux-androideabi/fribidi':
configure: error: C compiler cannot create executables
See `config.log' for more details
../../contrib/src/fribidi/rules.mak:26: recipe for target '.fribidi' failed
make: *** [.fribidi] Error 77
contribs: make failed
Getting the same thing on mac when trying the following. Hope someone know's how to fix this issue.
Code:
------ NATIVE MAC ------
Download Android studio
Configure / SDK Manager / SDK Tools / NDK
Open the vlc_vrtv_1.7.x folder (maybe not needed who knows...)
echo "r10 (64-bit)" > $HOME/Library/Android/sdk/ndk-bundle/RELEASE.TXT
brew install automake ant cmake libtool patchutils pkg-config protobuf ragel subversion
ANDROID_SDK=$HOME/Library/Android/sdk ANDROID_NDK=$HOME/Library/Android/sdk/ndk-bundle ./compile.sh --release -l -a armeabi-v7a
Hi.
Also using the paid version and I really like the app, it's the best yet!
Two things I'd like to see and it would be even better:
1. support for web streams. Youtube, vimeo, etc.
2. automatic switch off for locked view when browsing your videos in app. It's impossible to click on the X when the image follows your head.
- Mik
Version 3.2 beta / vc61
Not sure what happened since last update, but the back button does not exit from VRTV back to anymore. The only way to exit player is through VR mode and clicking on the small X on top left side.
Also, Gear VR controls don't seem to work anymore.
Also there is a serious drift now.
Future function; a way to save settings or backup settings. I lost my config of my gamepad controls and can't get them back.
---------- Post added at 11:50 AM ---------- Previous post was at 11:37 AM ----------
ColinMacLaren said:
Hi Sven,
I bought the pro app in the Play store and I am willing to build my own libvlcjni.so. From all the players I have tried so far your app had the best results for non-VR 3D-movies by far.
I will install an Ubuntu on an usb stick tonight and have a couple of questions since I am not familiar with developing in Linux.
- Will it compile correctly under 64-it linux?
Click to expand...
Click to collapse
An actual 64bit Android support would be cool, not sure if it would be needed if Hardware support works... just an idea that was triggered from above.
Hi. I am just a noob in this, but please help me. I love VRTV player, but I can't
in VR mode in cinema choose another video to play. Have to pull off my phone, go to another movie tapping it, then pull phone back and watch. very uncomfortable.
Wilsonb said:
A paid customer and also joined the Beta testing team.. Want to say thank you for this great Video player. Took me a while to land on it after trying so many VR players.
Two questions.
Are there better instructions anywhere?
1.) How / where to find Codec's for this? Trying to play .MKV files (no audio)
UPDATE: used VLC codec, thanks..
2.) Is there a way to have the filename syntax , pre-configure settings on video type, VR DOME etc.., so it starts without having the non-3D menu first ? Does this make sense?
​Using;
Note 5 -Samsung Gear VR​, streaming videos from Local NAS
Click to expand...
Click to collapse
Hi, can you explain how did you install VLC coded? Thanks.
--- deleted by user ---
Reason. This has been answered in the very first post of this thread.
I have a nexus 5X and I can't find a good setup to have a quality like in another app.
Trying to play with shader and opengl 3.0 or Vertex hq, but I can't reproduce a good image quality.
What do you suggest ?
Envoyé de mon Nexus 5X en utilisant Tapatalk
Could you revert back the exit behavior as it was 4-5 revisions ago? If it was launched using a File Manager, then backing out brought it back the the app that launched it, instead of now it exits to the launcher.
Hope this make sense. I was able to select movies while closing one eye using my file manager.
This would be important at least until SMB authentication is working.
Thanks
Wilsonb said:
Could you revert back the exit behavior as it was 4-5 revisions ago? If it was launched using a File Manager, then backing out brought it back the the app that launched it, instead of now it exits to the launcher.
Hope this make sense. I was able to select movies while closing one eye using my file manager.
This would be important at least until SMB authentication is working.
Thanks
Click to expand...
Click to collapse
What is your rendering settings plz ?
Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk

[NOOB] Organizing OTA channels list within "Live Channels" App

Hello everyone !
( if this is not the right place to ask, let me know ! )
I want to descramble and organize in increasing order the channels in "Live Channels" App.
With an android TV Box, I have no clue to address a simple issue:
Organizing "terrestrial Herzian network" in a classified TV channels list within "Live Channels" App.
I have a Usb tuner stick (august DVB-T202) and the Backend App "FTA Tuner Loader" finds easily all the Channels.
I can enjoy the channels thanks to the FrontEnd App "Live Channels".
But :
- The list is scrambled.
- There is no way to organize the TV channels List. ( afaIk )
___
1) My first wish would have been to use this simpliest tool "Live Channels" with an organised list!
1-a) Is there any .m3u config file from "FTA Tuner Loader" or "Live Channels" ?
1-b) Can I re-organise this .m3u file in order that "Live Channels" will show the orderly Channels?
1-c) How ? ( termux ? sort of rooted stuff ? )
___
2) Can another App ( sort of plex or st. ) handle the results of "FTA Tuner Loader" ?
___
Thanks!
___Config:___
Android TV BOX: ENGEL EN1015K androidTV Box ( +-= strong Ematic SRT202 )
OS: androidTV 9
Tuner: Usb tuner stick august DVB-T202.
Backend: App "FTA Tuner Loader"
FrontEnd: App "Live Channels"
___App- FTA Loader/_______
APK/services/com.Pad.tvservices.TVService
APK/services/com.geniatech.ftatif.FTAInputService
APK/Providers/com.Pad.tvservices.DVBDataProvider
APK/Receivers/com.geniatech.ftatif.BootupReceiver
APK/Activities/com.geniatech.ftatif.InputSetupActivity
APK/Activities/com.geniatech.ftatif.usbtuner.MainActivity
/storage/emulated/0/Android/data/com.lonelycatgames.Xplore/cache
/storage/emulated/0/logcat.txt ( log file )
extract from log file
[..]
[..] TVService: open_device path=/data/user/0/com.geniatech.tiftuner/files
[..]
[..] channelUri=content://android.media.tv/channel/32 ( actual # channel to be read I guess )
[..]
[..] I UsbTunerInputControl: isPlay false
[..] D FTA : FTAInputService--onDestroy
[..] I UsbTunerInputControl: onDestroy
[..] D DVBClient: disconnect
[..] D TVService: onDestroy

Categories

Resources