Enable Samba Network File Sharing for Any Nvidia Shield TV! - Shield Android TV General

If you want an easy way to move files onto and off of your Nvidia Shield TV, then try installing Funky Fresh's Samba File Server for Android.
REQUIREMENTS
root
a USB or bluetooth keyboard to navigate this app
a USB or bluetooth mouse to navigate this app
Shield TV software version 3.x
INSTRUCTIONS
Download the .zip file and rename extension to .apk
Use your favorite way to sideload the APK onto your Nvidia Shield TV, like a USB flash stick
Launch the app
Press <CTRL> + <ESC> to pull up the menu and then click SETTINGS
Now, you can set up your SMB Network file sharing settings, ie, password, username, workgroup name, etc. I would highly recommend changing the orientation setting to LANDSCAPE.
When you're done with the settings, go back to the app's main activity and pull up the menu again, Press <CTRL> + <ESC>
Click (+)ENABLE to start the server
Now, you should be able to access the SMB share you just created on the Nvidia Shield TV from any Windows machine connected to the same network. This makes it super simple and easy to move files on and off the device.
The NETBIOS Name will be the name that shows up in Windows Network places. The internal storage will show up as SDCARD.
This won't show up in the Play store so I'm archiving it with this thread to make it easier to get.
This app won't enable the server automatically after reboot, so if you reboot, then you have to hook up your mouse and keyboard to enable it again.

I like SambaDroid much better than Samba Filesharing. I've been using it for a few years with great success. However, after the update to Marshmallow I had to install the app to set SELinux permissions to permissive. After that it works like a champ again.
Might try your app as well to see how it works.
Sent from my XT1096 using Tapatalk

bradwatson said:
I like SambaDroid much better than Samba Filesharing. I've been using it for a few years with great success. However, after the update to Marshmallow I had to install the app to set SELinux permissions to permissive. After that it works like a champ again.
Might try your app as well to see how it works.
Sent from my XT1096 using Tapatalk
Click to expand...
Click to collapse
Never heard of SambaDroid either, but thanks! I'll try that one out too! Funky Fresh Samba is super reliable. I've used it for over a year on my AFTV. The only thing annoying about it is that it doesn't start up automatically after reboot.

sambadroid is better and available in the playstore. thanks for the info though

xd4d3v said:
sambadroid is better and available in the playstore. thanks for the info though
Click to expand...
Click to collapse
What does it have that's better?
UPDATE: It has a lot of options! But I can't get it to start? I click start and it says "starting" but then it says "stopped"?
Have you been able to get this working on Marshmallow?
Yea, it's not working on Marshmallow:
http://forum.xda-developers.com/showpost.php?p=65281896&postcount=607
http://forum.xda-developers.com/showpost.php?p=64298639&postcount=595
Too bad, it's a polished looking app.

i personally use servers unlimited. It starts on boot and i have alot more options than just samba. It also has a server that allows you to connect to the shield tv server and manager it from your mobile phone... Its been a godsend!
https://play.google.com/store/apps/details?id=com.icecoldapps.serversultimatepro&hl=en

Will this mount the samba share so that apps will see it as a local resource??
Neo3D said:
If you want an easy way to move files onto and off of your Nvidia Shield TV, then try installing Funky Fresh's Samba File Server for Android.
REQUIREMENTS
root
a USB or bluetooth keyboard to navigate this app
a USB or bluetooth mouse to navigate this app
Shield TV software version 3.x
INSTRUCTIONS
Download the .zip file and rename extension to .apk
Use your favorite way to sideload the APK onto your Nvidia Shield TV, like a USB flash stick
Launch the app
Press <CTRL> + <ESC> to pull up the menu and then click SETTINGS
Now, you can set up your SMB Network file sharing settings, ie, password, username, workgroup name, etc. I would highly recommend changing the orientation setting to LANDSCAPE.
When you're done with the settings, go back to the app's main activity and pull up the menu again, Press <CTRL> + <ESC>
Click (+)ENABLE to start the server
Now, you should be able to access the SMB share you just created on the Nvidia Shield TV from any Windows machine connected to the same network. This makes it super simple and easy to move files on and off the device.
The NETBIOS Name will be the name that shows up in Windows Network places. The internal storage will show up as SDCARD.
This won't show up in the Play store so I'm archiving it with this thread to make it easier to get.
This app won't enable the server automatically after reboot, so if you reboot, then you have to hook up your mouse and keyboard to enable it again.
Click to expand...
Click to collapse

bradwatson said:
I like SambaDroid much better than Samba Filesharing. I've been using it for a few years with great success. However, after the update to Marshmallow I had to install the app to set SELinux permissions to permissive. After that it works like a champ again.
Might try your app as well to see how it works.
Sent from my XT1096 using Tapatalk
Click to expand...
Click to collapse
Do you mind sharing how you were able to set the app or the Shield SELinux permissions permissive? Does the SELinuxModeChanger app work on Shield 3.0?

d0ubl3_d1zzl3 said:
Do you mind sharing how you were able to set the app or the Shield SELinux permissions permissive? Does the SELinuxModeChanger app work on Shield 3.0?
Click to expand...
Click to collapse
Yes that app is how I got it to work. You only have to run it once, and then the script executes after each reboot to rest the permissions.
Sent from my XT1096 using Tapatalk
---------- Post added at 08:09 PM ---------- Previous post was at 08:08 PM ----------
Neo3D said:
What does it have that's better?
UPDATE: It has a lot of options! But I can't get it to start? I click start and it says "starting" but then it says "stopped"?
Have you been able to get this working on Marshmallow?
Yea, it's not working on Marshmallow:
http://forum.xda-developers.com/showpost.php?p=65281896&postcount=607
http://forum.xda-developers.com/showpost.php?p=64298639&postcount=595
Too bad, it's a polished looking app.
Click to expand...
Click to collapse
Install the SELinuxModeChanger app and set the permissions to permissive. Then it will start.
Sent from my XT1096 using Tapatalk

jerzayboi said:
Will this mount the samba share so that apps will see it as a local resource??
Click to expand...
Click to collapse
Its not samba, but ive recently found a way to do this using ssh, mount remote mount as local mount, android to android mind you, i dont have access to a pc/mac to test, confirmed working on shield 2.1 full android
Im able to use any app on my tablet to access the usb on my shield, all apps on my tablet, or at least the ones ive tested so far, see it a as a local file system
The server app i used on my shield was
Sshelper (server)
https://play.google.com/store/apps/d...sshelper&hl=en
http://arachnoid.com/android/SSHelper/
The app that does the mounting
Easysshfs
https://play.google.com/store/apps/d...asysshfs&hl=en
https://bitbucket.org/bobrofon/easysshfs
I think their both opensource, although dont quote me on that one
Edit
Wait, "confirmed working on my" .........tablet...........which i now realise, is not the shield
So to clarify, the server side is confirmed working on the shield, ive not tested the mounting app on the shield, so cant confirm that works, but i assume it should, unless android tv is missing/never added stuff this depends on

the dev who's made the kernel with NTFS said he's going to try to port samba.
It might be difficult for him, specially if we want to configure different permissions for different folders..
sshd should be much easier for him, and although not configurable should give us all the access we need via sftp

{
"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"
}
SambaDroid it's best of the bests.

bradwatson said:
I like SambaDroid much better than Samba Filesharing. I've been using it for a few years with great success. However, after the update to Marshmallow I had to install the app to set SELinux permissions to permissive. After that it works like a champ again.
Might try your app as well to see how it works.
Sent from my XT1096 using Tapatalk
Click to expand...
Click to collapse
Do you mind sharing how you set the SELinux permissions to permissive?

Neo3D said:
Do you mind sharing how you set the SELinux permissions to permissive?
Click to expand...
Click to collapse
[quote name="d0ubl3_d1zzl3" post=65510060]Do you mind sharing how you were able to set the app or the Shield SELinux permissions permissive? Does the SELinuxModeChanger app work on Shield 3.0?[/QUOTE]
Install the SELinuxModeChanger app and set the permissions to permissive. Then it will start. Just Google search the app. Only has to be installed and run once.
Sent from my XT1096 using Tapatalk

I used nvidia shield tv utility software to sideload it.
bradwatson said:
[quote name="d0ubl3_d1zzl3" post=65510060]Do you mind sharing how you were able to set the app or the Shield SELinux permissions permissive? Does the SELinuxModeChanger app work on Shield 3.0?
Click to expand...
Click to collapse
Install the SELinuxModeChanger app and set the permissions to permissive. Then it will start. Just Google search the app. Only has to be installed and run once.
Sent from my XT1096 using Tapatalk[/QUOTE]

SambaDroid working again
bradwatson said:
I like SambaDroid much better than Samba Filesharing. I've been using it for a few years with great success. However, after the update to Marshmallow I had to install the app to set SELinux permissions to permissive. After that it works like a champ again.
Might try your app as well to see how it works.
Sent from my XT1096 using Tapatalk
Click to expand...
Click to collapse
Thank you, sambadroid is now working again.

How does it compare to NFS? From what I have read, on lower powered ARM platforms, NFS is generally much faster, but it would be nice to know if it would be significant on the Shield.

Hi,
I've used both this app and SambaDroid, both great apps, working well.
I do however have one common issue.
I have added a 500Gb drive to my system (its an Android based TV device with Kodi now on it) formatted as Ext4 in one single partition.
Both the Samba apps work and I have a Windows server pushing various files to the shares without problem....until now.
Despite the drive having 147Gb free on the 500Gb drive, I now keep getting "There is not enough space on the disk" when attempting to copy files.
I know copying works, as I can copy some smaller files, and I know there is no problem with copying say a 1.5Gb file as that has worked previously.
My questions are:
1. is there a limit to the disk size that these Samba implementations can access? (is 500Gb too big? should I have more than 1 partition?)
2. is Ext4 the correct format to use or is there a preferred format?
many thanks
Andy.

cardblower said:
Hi,
I've used both this app and SambaDroid, both great apps, working well.
I do however have one common issue.
I have added a 500Gb drive to my system (its an Android based TV device with Kodi now on it) formatted as Ext4 in one single partition.
Both the Samba apps work and I have a Windows server pushing various files to the shares without problem....until now.
Despite the drive having 147Gb free on the 500Gb drive, I now keep getting "There is not enough space on the disk" when attempting to copy files.
I know copying works, as I can copy some smaller files, and I know there is no problem with copying say a 1.5Gb file as that has worked previously.
My questions are:
1. is there a limit to the disk size that these Samba implementations can access? (is 500Gb too big? should I have more than 1 partition?)
2. is Ext4 the correct format to use or is there a preferred format?
many thanks
Andy.
Click to expand...
Click to collapse
"I know copying works", "as that has worked previously"
Im a little curious
Do you mean, it WAS, working on marshmellow at first, but now, does not
Or do you mean, it WAS, working on lollipop, but not, on marshmellow

banderos101 said:
"I know copying works", "as that has worked previously"
Im a little curious
Do you mean, it WAS, working on marshmellow at first, but now, does not
Or do you mean, it WAS, working on lollipop, but not, on marshmellow
Click to expand...
Click to collapse
Hi, still on Lollipop, OS has not changed, just reached this odd limit....

Related

Cifs.ko for Defy

What we need to compile it ?
Sent from my MB525 using XDA App
Perhaps you should include some information as to what it is.
But let me do that for you, for once.
In short, this module would allow mounting of samba shares, to, for instance, play media from your network onto your phone.
yes please.....
Sent from my Defy
Like that : http://android.doshaska.net/cifs
It's for Milleston but probably work on Defy Millestone Overclock work so why not but it's just probably don't use if you are not sur .
I see that to : http://forum.xda-developers.com/showthread.php?t=756158
defy cifs.ko and nls_utf8.ko modules
I just grabbed these modules from various forums and edited the version string with a hex editor and they load ok on stock 2.6.29 moto kernel (2.51 defy rom rooted). Tested them with cifs manager and rockplayer, videos streaming smoothly from shares.
Have fun!
hkmaverick
...deleted wrong tests results...
SORRY. It's work fine! Thank you
Sent from my MB525 using XDA App
works really good! big thx!
i'm on 2.34CE noblur
Sent from my Defy
What is this file can someone enlighten us?
Sent from my ME525 using XDA App
chaihg,
mick711 said:
Like that : http://android.doshaska.net/cifs
It's for Milleston but probably work on Defy Millestone Overclock work so why not but it's just probably don't use if you are not sur .
I see that to : http://forum.xda-developers.com/showthread.php?t=756158
Click to expand...
Click to collapse
This module for mounting Samba (Windows) shares from your Android phone.
1. Need Root
2. Unzip cifs.zip and put files from it in "/system/lib/modules" (by Root Explorer)
3. Install Cifs Manager from market
4. In Cifs Manager set path to your windows share, login and pass for it
5. Mount and use for play video or music without copying files to smartphone
mshooter said:
chaihg,
This module for mounting Samba (Windows) shares from your Android phone.
1. Need Root
2. Unzip cifs.zip and put files from it in "/system/lib/modules" (by Root Explorer)
3. Install Cifs Manager from market
4. In Cifs Manager set path to your windows share, login and pass for it
5. Mount and use for play video or music without copying files to smartphone
Click to expand...
Click to collapse
Ah thank you so much. I was looking at something like this but was using FTP apps on market which was quite a pain.
hkmaverick said:
I just grabbed these modules from various forums and edited the version string with a hex editor...
hkmaverick
Click to expand...
Click to collapse
Can you help with modules nls_cp1251.ko, nls_koi8-r.ko and nls_koi8-ru.ko too ?
ok, the modules are in the attached rar.
you can try grabbing the modules from here "htp://arago-project.org/files/releases/2009.09/ipk/beagleboard/"
and then edit the version string with a hex editor like xvi32.
cheers
hkmaverick said:
I just grabbed these modules from various forums and edited the version string with a hex editor and they load ok on stock 2.6.29 moto kernel (2.51 defy rom rooted). Tested them with cifs manager and rockplayer, videos streaming smoothly from shares.
Have fun!
hkmaverick
Click to expand...
Click to collapse
i have problems to unmount the shares ?! is this a problem on this module or in cifsmanager ?
inteks
inteks said:
i have problems to unmount the shares ?! is this a problem on this module or in cifsmanager ?
inteks
Click to expand...
Click to collapse
i have unmounted shares ok using cifs manager. haven't tried mounting or unmounting by script or console.
inteks said:
i have problems to unmount the shares ?! is this a problem on this module or in cifsmanager ?
inteks
Click to expand...
Click to collapse
this may help, use busybox fuser to see if the mount is being used by any process.
this works fine on UK FROYO
http://forum.xda-developers.com/showthread.php?t=918663
in cifsmanager enter
"/system/lib/modules/slow-work.ko:/system/lib/modules/cifs.ko"
Can support the chinese tradiontal format?
where is version string?
hkmaverick said:
I just grabbed these modules from various forums and edited the version string with a hex editor and they load ok on stock 2.6.29 moto kernel (2.51 defy rom rooted). Tested them with cifs manager and rockplayer, videos streaming smoothly from shares.
Have fun!
hkmaverick
Click to expand...
Click to collapse
Where did you find the version-number? Did you edit the mod_version number (it's set to 1209 in your version of cifs) of the ioctl_version (which is set to 1.57 in your version)?
gr
Bas
utf8 support?
Anyone know if it support UTF8? I thought it does or maybe I am doing something wrong.
nls_utf8.ko loaded ok, mounting Win XP folders OK,
but I can't see Chinese characters
I am on stock 2.51 ROM
Thanks
I found it out after hours of searching, here it is for people who need to have International Characters support (UTF8)
In Cifs Manager, add share ----> option, you have to put in "iocharset=utf8"
It works well now.

CIFS - Manager with Perseus Kernel

Is it possible to use Cifs-Manager with the current Perseus-Kernel?
Cause i dont find the cifs.ko
Im on Stock.
Thanks
Nobody so far?
robotnikz said:
Nobody so far?
Click to expand...
Click to collapse
/lib/modules/cifs.ko
truedim said:
/lib/modules/cifs.ko
Click to expand...
Click to collapse
Same problem here, can't find the cifs.ko in the /system/lib/module with a stock rom.
Anyone with custom rom may look for this file necessary to make cifsmanager working ?
thank you
Ikar34 said:
Same problem here, can't find the cifs.ko in the /system/lib/module with a stock rom.
Anyone with custom rom may look for this file necessary to make cifsmanager working ?
thank you
Click to expand...
Click to collapse
Do not confuse
/system/lib/module
with
/lib/modules
truedim said:
Do not confuse
/system/lib/module
with
/lib/modules
Click to expand...
Click to collapse
yes that's right sorry but not much cifs.ko in /lib/modules/
which Rom/kernel do you use truedim ?
Ikar34 said:
yes that's right sorry but not much cifs.ko in /lib/modules/
which Rom/kernel do you use truedim ?
Click to expand...
Click to collapse
Baseband Version N7100XXALJ2
Kernel version 3.0.36-Perseus-alpha25
Buld number Omega v5.0 - ZSALJ7
truedim said:
Baseband Version N7100XXALJ2
Kernel version 3.0.36-Perseus-alpha25
Buld number Omega v5.0 - ZSALJ7
Click to expand...
Click to collapse
Could you share your cifs.ko please ?
Ikar34 said:
Could you share your cifs.ko please ?
Click to expand...
Click to collapse
attached
has anyone got this cifs module working with cifsmanager ?
Thanks
this might seem silly but why would you need cifs?
No. I tried with this file and with stock rom, always the same problem : no such device wjen I try to connect my nas with cifsmanager.
Anyone succeed with its note II connecting its cifs share with cifsmanager?
Sent from my GT-N7100 using xda app-developers app
Alkazar34 said:
No. I tried with this file and with stock rom, always the same problem : no such device wjen I try to connect my nas with cifsmanager.
Anyone succeed with its note II connecting its cifs share with cifsmanager?
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Tried to insmod this cifs.ko, but got an exec format error.
djashjones said:
this might seem silly but why would you need cifs?
Click to expand...
Click to collapse
with cifs i can make a network share to any windows machine..
Cifs Manager is working fine with Perseus kernel 25.4
Sent from my GT-N7100 using xda app-developers app
truedim said:
Cifs Manager is working fine with Perseus kernel 25.4
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
only want to use stock rooted rom ..
any help please..
i tried to get cifs working on my note tablet so it looks like its not working on the note II either.
For file access i use Solid Explorer with SMB shares to access files files on my NAS
djashjones said:
i tried to get cifs working on my note tablet so it looks like its not working on the note II either.
For file access i use Solid Explorer with SMB shares to access files files on my NAS
Click to expand...
Click to collapse
my friend got cifs working on the note 10.1 are you saying that it does not work ?
truedim said:
attached
Click to expand...
Click to collapse
Thanks man. I took and extracted this cifs.ko and simply pasted a copy into my:
/lib/modules
......directory. Adjusted CIFS Manager settings and it worked great, even on my Bell Mobility SGH-i317M model.
Afterwards the cifs.ko file appears to have disappeared from that directory (even another copy/paste action into that directory never called up an overwrite option ). Regardless, however, my CIFS mounts still work flawlessly everytime I mount them.....100%
To others wondering what the purpose of the cifs.ko or why we need to mount to our sdcard. Some apps.....in my case QuickPic work by browsing designated local folders on your device. With CIFS mounts, I can treat network shared folders as local (ie it sees them as being on my device). This allows QuickPic to see all my pictures (thousands of them on my hard drives attached to my PC), and the ones on my device as well, and display them in gallery form. As long as I am connected to my local network via wifi I have immediate, and pleasant viewing in gallery form, of every single picture in my collection regardless if they are on the device or not. Add VPN porting into home network and I can view all my pics, using QuickPic even on the go never having to actually waste limited SDcard space on my device.
I could use ES File Explorer (or similar) to view these same photos but it requires navigating thru directories or creating shortcuts.....its just clunky. With CIFS mounts I open QuickPic and I have instant stunning gallery access to every picture in entire collection. The only time it is clunky is the first time a network directory is accessed, or if the QucikPic thumbnael cache is deleted and has to be rebuilt.
Another app CIFS works well with is Mizuu for video playback and stunning gallery presentation.....same concept. Ive made it work with BS Player as well as Car Tunes also. That is what I use CIFS for but I am sure there are many more reasons or actions possible it.
Valkillmore said:
Thanks man. I took and extracted this cifs.ko and simply pasted a copy into my:
/lib/modules
......directory. Adjusted CIFS Manager settings and it worked great, even on my Bell Mobility SGH-i317M model.
Afterwards the cifs.ko file appears to have disappeared from that directory (even another copy/paste action into that directory never called up an overwrite option ). Regardless, however, my CIFS mounts still work flawlessly everytime I mount them.....100%
To others wondering what the purpose of the cifs.ko or why we need to mount to our sdcard. Some apps.....in my case QuickPic work by browsing designated local folders on your device. With CIFS mounts, I can treat network shared folders as local (ie it sees them as being on my device). This allows QuickPic to see all my pictures (thousands of them on my hard drives attached to my PC), and the ones on my device as well, and display them in gallery form. As long as I am connected to my local network via wifi I have immediate, and pleasant viewing in gallery form, of every single picture in my collection regardless if they are on the device or not. Add VPN porting into home network and I can view all my pics, using QuickPic even on the go never having to actually waste limited SDcard space on my device.
I could use ES File Explorer (or similar) to view these same photos but it requires navigating thru directories or creating shortcuts.....its just clunky. With CIFS mounts I open QuickPic and I have instant stunning gallery access to every picture in entire collection. The only time it is clunky is the first time a network directory is accessed, or if the QucikPic thumbnael cache is deleted and has to be rebuilt.
Another app CIFS works well with is Mizuu for video playback and stunning gallery presentation.....same concept. Ive made it work with BS Player as well as Car Tunes also. That is what I use CIFS for but I am sure there are many more reasons or actions possible it.
Click to expand...
Click to collapse
Thanks for this! I was able to get it working by using the Note2Core 2.21 AS (LTE) as well. I have a Rogers-based i317M as well, so chose the 7105 based (LTE) version of the kernel.
I had to google around for that specific kernel, though. The 3.x version wouldn't detect my SIM card, but I was able to use CIFS.
I wasn't able to get CIFS working with the Peresus kernel.

[ROOT[RECOVERY] Loki + TWRP + Motochopper CASUAL-R527b release:27May13

Update: This will not work on Build Number I337UCUAMF3
Thanks to Dan Rosenberg, aka @djrbliss, this device can now be unlocked and CASUAL can make it easy as all get out.
Introduction
CASUAL will guide you through the process. Put your device into “Developer Mode>USB Debugging”. Click the do it button. If you experience a problem, PLEASE USE THE PASTEBIN button to post a log. CTRL+L>Pastebin> come back here and press ctrl+V.
Overview
You will need to download and execute the CASUAL application below. Then click the Do It! button. You need Java. Do you have Java?.
note: if it fails, try turning everything off and back on, then run it again before posting for help, and remember... Log or it didn't happen, CTRL+L->Pastebin.
Windows 32/64 Users: CASUAL will put your device into Download Mode. It will automatically flash everything. If drivers are required, jrloper's CADI (CASUAL Automated Driver installer) will handle it. Make sure you're connected to the internet.
Windows 8 is supported but you must install drivers for Download Mode first. See this post
We managed to squeeze in support for Windows XP. Let me know how it works XP users.
Linux 32/64/raspberry pi Users There may be a permission escalation in order to install heimdall, either way sit back and relax. CASUAL automates the entire process. Please run the following in a terminal first:
Code:
sudo apt-get install openjdk-7-jdk gksu dpkg
Mac Users: Mac works easier than any other system at the time of this systems. Some Macs (especially Macbook Air) have a problem with USB port voltages and that causes the device not to be recognized.
Download
Root and Recovery for ATT-TMO GS4-CASUAL-R527b CASUAL is used to automate the process. The exploit was developed by Recognized Developer djrbliss. Any donations should go to him. I'm just here for error logs. To run CASUAL you need Java. Do you have Java?
For Nightly CASUAL builds go here: http://goo.im/devs/AdamOutler/i337-GalaxyS4
Help and Troubleshooting
Are you having a problem? First check this post out for remedial troubleshooting. . If that doesn't fix it, then press CTRL+L, press the Pastebin button, come back here and press CTRL+V to paste your log. Don't hit the donate button, that doesn't fix it. Use CTRL+L and then hit Pastebin and paste the log here if you need help. Most problems simply require you to reboot your device or computer or removing and "delete driver" any drivers you installed. If you installed drivers to start with, remove them (and delete driver from device manager), because this device is fully supported natively by Windows and 3rd party drivers cause problems.
Linux Video
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"
}
About CASUAL
CASUAL stands for Cross-platform Android Scripting, Univeral Auxiliary Loader. CASUAL jar files are a wrapper for the CASUAL scripting language. CASUAL can be modified with your favorite zip tool and full source code (including this exploit) is available at http://android-casual.googlecode.com . CASUAL allows rapid and accurate deployment of hacks and exploits. At any time, if a serious problem is detected with any script, the kill-switch will be flipped and you will be brought to a support page (most likely here) so you can download the latest version. Otherwise for minor corrections, new CASUAL scripts can be deployed remotely.
Credits @djrbliss - Motochopper and Loki
Updates
TODO:I need the name of the update APK so I can target and kill it with CASUAL.
27MAY13: Initial Release
AdamOutler said:
Thanks to Dan Rosenberg, aka @djrbliss, this device can now be unlocked and CASUAL can make it easy as all get out.
Click to expand...
Click to collapse
adam does the casual now completely unlock the bootloader or is it still the exploit? thanks adam for all the hard work bro you are Awesome!!
will this wipe the device?
Rotary Parts said:
adam does the casual now completely unlock the bootloader or is it still the exploit? thanks adam for all the hard work bro you are Awesome!!
Click to expand...
Click to collapse
This uses @djrbliss 's Loki Exploit. From what I've read TWRP will auto-lok anything you flash. It is practically the same as a bootloader unlock.
RawisTheGameHhH said:
will this wipe the device?
Click to expand...
Click to collapse
No. It will not.
Thank you adam, should be noob proof!!!
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
jroyalty7 said:
Thank you adam, should be noob proof!!!
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Do not speak of such things. You will bring the wrath of one-hundred AOL users upon us.
Can someone tell me the difference between this and bhp090808's one click 3 way tool?
jm1999 said:
Can someone tell me the difference between this and bhp090808's one click 3 way tool?
Click to expand...
Click to collapse
i believe this does it all; it will root your phone; unlock the boot loader and install TWRP; the other one you have to have your phone rooted already and then pick which recovery you want to install (cmw or twrp)
jm1999 said:
Can someone tell me the difference between this and bhp090808's one click 3 way tool?
Click to expand...
Click to collapse
This installs drivers
This troubleshoots problems
This single java executable works on Linux, Windows and Mac
This can be kill-switched on the fly (in case of auto-bootloader update from Samsung)
This can be updated on the fly
This will auto-log your problems to pastebin if an error is encountered so you can paste it here.
This uses a GUI and no command line
This give you Root and Recovery in a single click
This is easier/noob friendly/much more difficult to screw up.
This will check before doing things to make sure it doesn't damage a device it was not intended for.
I'm pretty sure I missed a few points.. CASUAL R527 stands for Cross-platform Android Scripting and Unified Auxilliary Loader - Revision 527.. We've been working on a lot of things that you just can't get from a simple batch file.
edit. Sorry I did not see your reply.
jm1999 said:
No sir, bhp090808's tool roots as well. The only difference I see it with bhp090808's tool you can install cwm or twrp. This tool only twrp.
Click to expand...
Click to collapse
Wow... dude, are you seriously going to make me add in a selection box to this? I'm going to build a special version just for you.
AdamOutler said:
This uses @djrbliss 's Loki Exploit. From what I've read TWRP will auto-lok anything you flash. It is practically the same as a bootloader unlock.
No. It will not.
Click to expand...
Click to collapse
I think (based on what I've read) CWM will auto-lok everything, I am not sure about TWRP, please could you confirm, thanks
AdamOutler said:
This installs drivers
This troubleshoots problems
This single java executable works on Linux, Windows and Mac
This can be kill-switched on the fly (in case of auto-bootloader update from Samsung)
This can be updated on the fly
This will auto-log your problems to pastebin if an error is encountered so you can paste it here.
This uses a GUI and no command line
This give you Root and Recovery in a single click
This is easier/noob friendly/much more difficult to screw up.
This will check before doing things to make sure it doesn't damage a device it was not intended for.
I'm pretty sure I missed a few points.. CASUAL R527 stands for Cross-platform Android Scripting and Unified Auxilliary Loader - Revision 527.. We've been working on a lot of things that you just can't get from a simple batch file.
Click to expand...
Click to collapse
you forgot one
This is AWESOME:good:
AdamOutler said:
Wow... dude, are you seriously going to make me add in a selection box to this? I'm going to build a special version just for you.
Click to expand...
Click to collapse
Here's your choice of TWRP or CWM. http://d-h.st/n5A
AdamOutler said:
Here's your choice of TWRP or CWM. http://d-h.st/n5A
Click to expand...
Click to collapse
You should put this in op; great work!
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
AdamOutler said:
Wow... dude, are you seriously going to make me add in a selection box to this? I'm going to build a special version just for you.
Click to expand...
Click to collapse
Sorry bro, Replied before I saw your explanation. Thanks for your hard work!
cant wait to here some reviews before trying it; give it a day or two to make sure there are no bugs; can you always odin back to factory image?
There will always be the following problems:
User is using a bad USB cable/USB port and something didn't transfer
User has installed bad drivers on the computer and the device won't connect.
User has installed a virus scanner which wipes out the Android exploits before they are deployed to the device.
so just use a good USB cable. Uninstall any drivers you installed "for samsung mobile devices" especially, Disable your virus scanner before downloading CASUAL. I don't think the driver issue will be a massive problem as it is with the other devices because we're not using Odin mode here.
DominicanYorkJL said:
You should put this in op; great work!
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
I prefer the KISS method. I'd rather have one known working CASUAL script to maintain and be able to repackage around any errors encountered. One app, one branch. it keeps things simple and there's no explaining necessary. If someone wants CWM, they can use the Android market to install Rom Manager. Otherwise, if there is a problem with TWRP, I can switch to CWM on this device.
I've been following all your hard work Adam, and I just wanted to say thank you. Its nice to see amazing developers stick around when sometimes they are bashed for their work. Thanks!
Sent from my SAMSUNG-SGH-I337 using xda premium
mmanjj said:
I've been following all your hard work Adam, and I just wanted to say thank you. Its nice to see amazing developers stick around when sometimes they are bashed for their work. Thanks!
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
I'll always be around I love XDA... But who's bashing my work and honestly, what's there to bash?

Android 5 and FolderMount

Android 5 should allow apps access to external SD.
Is Folder Mount still required?
Thanks
zolom said:
Android 5 should allow apps access to external SD.
Is Folder Mount still required?
Thanks
Click to expand...
Click to collapse
Doesn't look like LG have enabled this new option, either that or it is something individual apps have to update for.
I have contacted the developer of FolderMount and was provided a test build which works. Why not try yourself? I will feed back to the developer soon so there should be a fixed update soon!
ThePurpleK said:
I have contacted the developer of FolderMount and was provided a test build which works. Why not try yourself? I will feed back to the developer soon so there should be a fixed update soon!
Click to expand...
Click to collapse
You might need it for WhatsApp linking media files and other things.
Here is a guide to make FolderMount work on Android 5.0+
http://forum.xda-developers.com/gal.../app-foldermount-support-android-5-0-t3013462

[Q] could someone help me in Bluetooth.apk?

I did some modifications to Bluetooth share in /system/app/Bluetooth.
But after that I pushed the app via adb...then a lot of error messages that said (Bluetooth Share Stopped).
Then I removed the modified Bluetooth app and pushed the stock one via adb and rebooted the device but the error message still appears although I make
1) wipe cache+dalvik
2) reflash the kernel
Why the error message still appears although I used the stock unmodified app.
Where is the problem?
Could someone help me with this problem?
Here are some logs
{
"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"
}
Check your ROM zip for symlink. Different Bluetooth Sharing apk may require different different libbluetooth_jbi.so if linked to /system/app/Bluetooth/lib/arm folder from /system/lib/libbluetooth_jni.so For that reason, you have to watch for 0 bit lib files when pulling application from another ROM flashed on phone. (It may been a symlink if true).
Did you try verifying permissions and ownership and clearing data for Bluetooth Sharing and reboot?
Got a backup? If not, try dirty flashing ROM. You may just have to start over. Consider making a backup before making changes.
Sent from my SM-N930P using Tapatalk
samep said:
Check your ROM zip for symlink. Different Bluetooth Sharing apk may require different different libbluetooth_jbi.so if linked to /system/app/Bluetooth/lib/arm folder from /system/lib/libbluetooth_jni.so For that reason, you have to watch for 0 bit lib files when pulling application from another ROM flashed on phone. (It may been a symlink if true).
Did you try verifying permissions and ownership and clearing data for Bluetooth Sharing and reboot?
Got a backup? If not, try dirty flashing ROM. You may just have to start over. Consider making a backup before making changes.
Sent from my SM-N930P using Tapatalk
Click to expand...
Click to collapse
How to verify permission and ownership from terminal?
Yes I have a backup but I want to know more about the problem.
I have some logcat about the problem.
It may help to figure out what happened
And
Could be mismatch of apk and lib. Did you replace both and set a new link?
It's easy to set with a root browser.
Sent from my SM-N930P using Tapatalk
samep said:
Could be mismatch of apk and lib. Did you replace both and set a new link?
It's easy to set with a root browser.
Sent from my SM-N930P using Tapatalk
Click to expand...
Click to collapse
Thank you very much @samep
Yes that works like a charm.
Recreate the symlink solve my problem.
samep said:
Could be mismatch of apk and lib. Did you replace both and set a new link?
It's easy to set with a root browser.
Sent from my SM-N930P using Tapatalk
Click to expand...
Click to collapse
can u give me a easy throughput as a newbie ?
hessamx said:
can u give me a easy throughput as a newbie ?
Click to expand...
Click to collapse
I think the members moved on to oyher endeavors. Not much activity on the Sprint Note 4. However, I used this method posted by Lawyer-06 to port some system apps and CSC files from my stock rooted rom to a customer rom I was having issues with.
https://forum.xda-developers.com/showpost.php?p=60831252&postcount=3443
hessamx said:
can u give me a easy throughput as a newbie ?
Click to expand...
Click to collapse
Mr. JAVI said:
I think the members moved on to oyher endeavors. Not much activity on the Sprint Note 4. However, I used this method posted by Lawyer-06 to port some system apps and CSC files from my stock rooted rom to a customer rom I was having issues with.
https://forum.xda-developers.com/showpost.php?p=60831252&postcount=3443
Click to expand...
Click to collapse
Nice tutorial share. Thanks for helping.
What may be missing is linking the lib so the application works. It's a matter of checking original file as installed on phone before replacing and duplicating with a root browser. Long press the lib file, scroll through options, select link to this folder (maybe last option) and then browsing and selecting same folder location as seen from original link. Hint: the lib linking and appearance in its location will look the same when linked properly.
In the case of this thread, unzipping the ROM and reading the install scripts for proper linking may have been done to link the files after installing. The Bluetooth application simply needed to know where to get it's vital resources to work with. There are exceptions where replacing apk and lib, setting permissions, clearing data and rebooting aren't enough. Developers may write install scripts into patch zip accordingly as needed to get this done without a ROM update. Or even alternately in an aroma installer. Or those that test ROMs to support a developer may need to do this manually in that support capacity. Then again, it could be user in another country or region needing to make changes for themselves in order to use a developed ROM.
Sent from my PH-1 using Tapatalk
samep said:
Nice tutorial share. Thanks for helping.
What may be missing is linking the lib so the application works. It's a matter of checking original file as installed on phone before replacing and duplicating with a root browser. Long press the lib file, scroll through options, select link to this folder (maybe last option) and then browsing and selecting same folder location as seen from original link. Hint: the lib linking and appearance in its location will look the same when linked properly.
In the case of this thread, unzipping the ROM and reading the install scripts for proper linking may have been done to link the files after installing. The Bluetooth application simply needed to know where to get it's vital resources to work with. There are exceptions where replacing apk and lib, setting permissions, clearing data and rebooting aren't enough. Developers may write install scripts into patch zip accordingly as needed to get this done without a ROM update. Or even alternately in an aroma installer. Or those that test ROMs to support a developer may need to do this manually in that support capacity. Then again, it could be user in another country or region needing to make changes for themselves in order to use a developed ROM.
Sent from my PH-1 using Tapatalk
Click to expand...
Click to collapse
thanks for replying but i have log cat and its said cant find some files can u help me ?
E/AndroidRuntime(11055): Process: com.android.bluetooth, PID: 11055
E/AndroidRuntime(11055): java.lang.RuntimeException: Unable to instantiate application com.android.bluetooth.btservice.AdapterApp: java.lang.ClassNotFoundException: Didn't find class "com.android.bluetooth.btservice.AdapterApp" on path: DexPathList[[zip file "/system/framework/javax.obex.jar", zip file "/data/app/com.android.bluetooth-2/base.apk"],nativeLibraryDirectories=[/data/app/com.android.bluetooth-2/lib/arm64, /data/app/com.android.bluetooth-2/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
Click to expand...
Click to collapse
hessamx said:
thanks for replying but i have log cat and its said cant find some files can u help me ?
Click to expand...
Click to collapse
Sorry. Gotta say I'm not experienced with resolving an issue like this. Not sure what you're doing when getting this logcat? References to zipped files? Should they be zipped?
What I would do in a situation like this and ensure I've done everything properly. Could be a simple mistake.
Otherwise, no idea if this helps you or not but a little searching found this blog:
https://javarevisited.blogspot.com/2011/08/classnotfoundexception-in-java-example.html?m=1
If Java tutorials makes sense to you, there's some suggested fixes to look into. Maybe it helps? Best wishes you resolve this and learn enough to help the next guy.
Sent from my PH-1 using Tapatalk
samep said:
Nice tutorial share. Thanks for helping.
What may be missing is linking the lib so the application works. It's a matter of checking original file as installed on phone before replacing and duplicating with a root browser. Long press the lib file, scroll through options, select link to this folder (maybe last option) and then browsing and selecting same folder location as seen from original link. Hint: the lib linking and appearance in its location will look the same when linked properly.
In the case of this thread, unzipping the ROM and reading the install scripts for proper linking may have been done to link the files after installing. The Bluetooth application simply needed to know where to get it's vital resources to work with. There are exceptions where replacing apk and lib, setting permissions, clearing data and rebooting aren't enough. Developers may write install scripts into patch zip accordingly as needed to get this done without a ROM update. Or even alternately in an aroma installer. Or those that test ROMs to support a developer may need to do this manually in that support capacity. Then again, it could be user in another country or region needing to make changes for themselves in order to use a developed ROM.
Sent from my PH-1 using Tapatalk
Click to expand...
Click to collapse
I just want to say, thank you samep. I really appreciate your input on this subject. Your way of explaining this is well put and your points are valid. Bluetooth issues is something I have not had in any custom rom as of yet. However, I like to be prepared and knowledge is power.
Thought I'd give a little of my personal background followed by a few questions. I have no formal education with computers or Android. Although, I have not been a member on XDA for very long, I have been on this site for many years. Having lost my previous N4,
the only n910ps for sale were on the latest update 5DQ15. The fused 5 aboot prevents downgrading to previous firmwares. No chance of downgrading the boot or modem without SW REV CHECK Odin fail. Fortunately, 6.0 MM roms can still be flashed. With every single custom rom I flashed, my hotspot settings disappeared, except stock rooted deodexed roms. in which the hotspot setting remained. I remember reading a post somewhere on XDA stating that it was in CSC others.xml so I copied the entire CSC in stock rooted rom to external sd then flashed the custom rom and with the tutorial in the link above I replaced the custom roms CSC's with the stock rooted CSC's. Rebooted to TWRP wiped dalvik /chache and booted the phone. My Hotspot now appeared in the custom rom settings. However, I am not questioning your information. In fact, I remember reading an XDA thread about custom rom development that specifically backs up what you stated. More to it than simple copy and past, Its just I didnt know any other way. Although this worked for me with setting option , I know the phones Bluetooth connection is a bit more intricate than a simple CSC others.xml.
Which brings me to my question and I quote "Long press the lib file, scroll through options, select link to this folder (maybe last option)" What root browser do you recommend. This option is not provided as an option when I long press with my current root file manager. Yea, I know ES file manager has been kick of Google PS but Im still using it . LOL.. I wish to thank you ince again for your very informative posts.
Mr. JAVI said:
I just want to say, thank you samep. I really appreciate your input on this subject. Your way of explaining this is well put and your points are valid. Bluetooth issues is something I have not had in any custom rom as of yet. However, I like to be prepared and knowledge is power.
Thought I'd give a little of my personal background followed by a few questions. I have no formal education with computers or Android. Although, I have not been a member on XDA for very long, I have been on this site for many years. Having lost my previous N4,
the only n910ps for sale were on the latest update 5DQ15. The fused 5 aboot prevents downgrading to previous firmwares. No chance of downgrading the boot or modem without SW REV CHECK Odin fail. Fortunately, 6.0 MM roms can still be flashed. With every single custom rom I flashed, my hotspot settings disappeared, except stock rooted deodexed roms. in which the hotspot setting remained. I remember reading a post somewhere on XDA stating that it was in CSC others.xml so I copied the entire CSC in stock rooted rom to external sd then flashed the custom rom and with the tutorial in the link above I replaced the custom roms CSC's with the stock rooted CSC's. Rebooted to TWRP wiped dalvik /chache and booted the phone. My Hotspot now appeared in the custom rom settings. However, I am not questioning your information. In fact, I remember reading an XDA thread about custom rom development that specifically backs up what you stated. More to it than simple copy and past, Its just I didnt know any other way. Although this worked for me with setting option , I know the phones Bluetooth connection is a bit more intricate than a simple CSC others.xml.
Which brings me to my question and I quote "Long press the lib file, scroll through options, select link to this folder (maybe last option)" What root browser do you recommend. This option is not provided as an option when I long press with my current root file manager. Yea, I know ES file manager has been kick of Google PS but Im still using it . LOL.. I wish to thank you ince again for your very informative posts.
Click to expand...
Click to collapse
I can appreciate your background and effort and even the experiences you share. Best wishes for your success.
I used to use script manager pro for a root browser. When I started working with developers in XDA, they pointed me to Root Explorer by speedsoftware (link below). I use it exclusively since and find it as capable as the other. I had gotten this one years earlier as a free promotional app on Amazon Prime through their Android app store. I was ecstatic when the developers of Root Explorer asked for my license key to transfer it to Google Play! Really? I asked, not expecting satisfaction, and they complied stating they've done it for others as well. It's their discretion and pleasure to do so. The app is still in Google Play; I get my updates there now.
https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer
But I haven't done much at all since leaving the Note 4 and Sprint. I forget so much when not using it. Sad but true and being honest. I miss those days but always wanted better data coverage and a faster phone. But even that's a work in progress.
Sent from my PH-1 using Tapatalk

Categories

Resources