Related
Hello world ! 8)
I mannaged to mount my complete shares on my windows Network to SD-Card ...
I'm using CM6 RC1 and i can simply do a :
modprobe cifs
mount -t cifs //192.168.0.X/share /sdcard/smbshare -o username=XXX,password=YYY
on Computer (PC-here 192.158.0.X) you have to make a share with the name "share" - on SDCARD in your android you have to make a directory with the name smbshare - the dir you are going to mount the PC-Share into)
magicly my sdcard is now a 1,5 Terabyte hdd ... 8)
No more streaming clients are need - just access MP3/DivX/MKV/PDF/etc.
WITHOUT DOWNLOADING TO SDCARD FIRST ...!
(watched a DivX movie directly with Rock-Player 5 minutes ago ... no copy to SDCARD nessasary)
Problem : after a reboot everything is gone ... 8) ... no automatic rermount - no difference between different WLAN-Routers
I am not firm enough on linux to write a script and do the neccasary things to get some logic behind this feature.
It would be wonderful if someone can programm a gui which fires up the nessasary mount when connecting to a wlan - differing between different wlans (networks) with different ressources.
shelling arround is not the best way for android users - something GUI like (e.g. Astro with SMB Modul - but mounting the share instead of copying to sdcard) would give everyone direct access to every file on the network without the nessasary streaming.
Even VPNing to the share should be possible ... giving direct access without streaming servers like ORK/etc.
Good idea ? please add some comments ...
************************************************************
************************************************************
Edit :
A small GUI frontend for managing CIFS shares is available in the following thread:
http://forum.xda-developers.com/showthread.php?t=756158
Let the show beginn !
Very good idea.
I'll take a look into it. Maybe after the weekend. We'll see..
That sounds f**** great! 8)
Thanks for the positive reply!
Sent from my Desire using XDA App
fogbav you can use GScripts for have a link to a script that do this command for you, and have differents scripts for do the same on different WLan.
Code:
#!/bin/bash
MY_USERNAME="your_user_name_here"
MY_PASSWORD="your_password_here"
modprobe cifs
mount -t cifs //192.168.0.X/share /sdcard/smbshare -o username=${MY_USERNAME},password=${MY_PASSWORD}
Wow ... that looks promising ... will test soon.
Thank you very much for the script !
Edit : Works like hell ... thank you ! Now let's see if beidl can do some magic tricks with "usability" and "different WLAN/Shares" logic.
Thank you all ...
What firmwares are you guys using? I'm on LeeDroid 1.6 and seems like cifs is not present for me after doing 'lsmod'. Thanks.
Cyanogen. 6 RC1. So it is Froyo...
Sent from my Desire using XDA App
If someone can provide me a cifs.ko module working with the official HTC Froyo (kernel version 2.6.32.15) then I can start working on a GUI.
I honestly don't want to go back to CM until it's problems are solved and 720p is working.
beidl said:
If someone can provide me a cifs.ko module working with the official HTC Froyo (kernel version 2.6.32.15) then I can start working on a GUI.
I honestly don't want to go back to CM until it's problems are solved and 720p is working.
Click to expand...
Click to collapse
Isn't the kernel source needed to compile a module for that specific kernel?
martino2k6 said:
Isn't the kernel source needed to compile a module for that specific kernel?
Click to expand...
Click to collapse
Well, it depends. One of the today released ROMs has a tun and ext4 module included, still we don't have HTCs new kernel sources. The thing is that I'm sure someone here on xda has access to the private HTC repositories. I remember the old days of the G1 community when someone gave "cyrowski" (old G1 dev) a dump of HTCs private git repository.
But I guess I'll most probably try the newest CM nightly anyways. So then I can also try to write a nice little GUI.
If you can get this working on roms with no cifs in app form it will be epic. I'll be more than happy to be a tester.
Had the above script workin fine in Adams OD 3.02 but had to go back to DeFrost without cifs (I think, didn't work anyway). I miss being able to stream EVERYTHING.
You can dooooo iiiiiiit!
Sent from my HTC Desire using XDA App
Sorry if this is a nooby question. Which ROM should i try this on and what should i enter the commands in?
I am happy to test this as it looks promising.
Thanks.
Bump......
Hi... i think you have to use a non stocked rom compiled with kernel from source code like cm6 opendesire. Stock roms dont have cifs function even new 2.2 official build doesnt have it until source is released by HTC.
Sent from my HTC Desire using XDA App
So do i enter the code in a terminal app?
ukmaddnes1 said:
So do i enter the code in a terminal app?
Click to expand...
Click to collapse
Yes.
(too short blah blah blah)
i get an error with modprobe that file or directory does not exist
su
modeprobe cifs
if this gives an error ... it seems there is no CIFS modul in your rom ... use CM6 ...
again error....it seems that i don't have the module installed........can anyone upload the module and tell me where to put it ???? i mean into what folder it should be
are there any guides on adding cifs into an existing rom/kernel? dont mind doing the work, just have no idea where to start atm.
hello,
as you probably know ubuntu has bin able to run on the nexus one and evo 4g i have spoken to the dev of both the ''mods'' and he has informed me that if someone can make a kernel for the droid x with loop devices enabled and u follow hes video its possible that ubuntu can run on the droid x.he's exact words are ''You will need a new kernel image with loop devices enabled I think. I haven't tried it on Droid X yet but it should be possible with that new kernel. You should ask someone on XDA to compile a new kernel with loop device support, someone will do it.'' and im hopping someone here can do it and we can all run ubuntu on out droid x's i would do it myself if i had any idea of what to do lol.
thank you for your help and good luck to all ubuntu loving droid x users.
You can't flash a new kernel but you can probably build loop as a module.
As for ubuntu I had sucess in running Debian from my second SD partition in a chroot environment. I installed with debootsrap and have apt nmap wifi, etc. I just need to compile a compatible kernel (for ubuntu not android) for a full install.
Sent from my DROIDX using XDA App
As of right now we have no way to boot a custom kernel even if one were to be created.
yea and how long can it take for u to compile one for ubuntu and once you have compiled one for ubuntu will it actually work for booting ubuntu even in ui mode as i can use terminal but it would be more eye-candy with the UI
drew630 said:
You can't flash a new kernel but you can probably build loop as a module.
As for ubuntu I had sucess in running Debian from my second SD partition in a chroot environment. I installed with debootsrap and have apt nmap wifi, etc. I just need to compile a compatible kernel (for ubuntu not android) for a full install.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
yea and how long can it take for u to compile one for ubuntu and once you have compiled one for ubuntu will it actually work for booting ubuntu even in ui mode as i can use terminal but it would be more eye-candy with the UI
Sorry I lost this thread. Yes if you install x you can have some eye candy. Still working on the kernel. Ill post back soon.
Sent from my DROIDX using XDA App
drew630 said:
Sorry I lost this thread. Yes if you install x you can have some eye candy. Still working on the kernel. Ill post back soon.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
sounds good man , so will this be like a rom i install and that enables me to install ubuntu?
Gotta love open source!
can u tell me how to get debian on my droid x?
Has any progress been made on creating a loop device module and getting ubuntu( or any distro) running on our droidx?
I'm willing to test.
I have been busy lately an unable to post a mini guide on getting this done. Just had my first child!!
In anycase I haven't tried making a loop module, I am waiting for the 2.2 kernel source. But I did make a second ext3 partition on my sd card and used debootstrap to install debian. It is currently only a chroot environment but I can use apt to install pacakgrs over wifi.
Hopefully in a few days I will have some time to post a step by step. If you want to try you can do some research on debootstrapp. I used a card reader to format the sd and use debootstrap to install ubuntu or debian.
Sent from my DROIDX using XDA App
This has me obsessed now... lol
Sent from my DROIDX using XDA App
I use Ubuntu on my other PC, if I could use it on my phone I would die of happiness!
Would the same method run on d2?
Sent from my DROID2 using XDA App
I know this is an old thread already but was curious about this last night and stumbled across it. I am doing a lot more at work with Linux servers and desktop work at home also and would love to do this this just to see how it works.
Nit sure if you are still interested in this but here ya go pal!
http://androlinux.com/
Im having a hell of a time figuring out how to configure git in Ubuntu 11.10. I am very new to the Linux environment and was wondering if someone could help me get my foot in the door and at least get the my work environment set up properly and the proper source code downloaded. Im really only interested in modifying the kernel so if you can help me set up and understand whats going on Id be greatly appreciative.
Thanks...
oh dude dont even get me started on linux ive literally just spent the past 2hrs trying to get flash to work on kubuntu i got so pissed i uninstalled and am switching back to ubu as we speak lol. ubuntu should have an irc help channel i know xubuntu did when i was playing around with it.
i just looked and there channel is #ubuntu
huzza!!!!!!!!!!!!!!!!! freakin a i finally got flash to work properly on kde shell i completly uninsulated kubuntu installed ubuntu downloaded flash from adobe not from the software center then put it in mozilla/ plugins folder and reinstalled kde on ubuntus terminal and all my settings stook. sorry for the rambling but yall have no idea of how stoked i am im probably going to make kde my default desktop now lol
I'm just having trouble getting ADB to recognize my phone. Also it seems Samsung didn't include a config file for the kernel to add things like overclocking etc.. Unless its hidden somewhere else?
Sent from my SCH-I400 using XDA
jaizero said:
I'm just having trouble getting ADB to recognize my phone. Also it seems Samsung didn't include a config file for the kernel to add things like overclocking etc.. Unless its hidden somewhere else?
Sent from my SCH-I400 using XDA
Click to expand...
Click to collapse
U building from source?
Sent from my SCH-I400 using xda premium
I have the source just not too sure how to utilize it in Ubuntu, like I said I'm learning as I go. I tried doing an adb pull from my phone for the config file in windows and I get the error "file or directory does not exist" however it did work when I tried it with my Acer A500...
Is there a config.gz included in the source somewhere? I've been reading about something called defconfig but there are numerous references to that within the source.
If I can find that file I feel like building our own kernel would be infinitely easier... Maybe I'm too optimistic..
i actually recocmend installing linux mint first a lot more stuff works out of the box with it but if you like unity just search for ubuntu in the software manager and u can install it over mint.
Just as an FYI, you are likely not going to be able to use Ubuntu 11.10 to build the Continuum kernel. You'll need to use either 10.04 (LTS) or 10.10 to get the proper build tools. Also, getting git to work should be as simple as installing it. I believe it is under git-core or similar. You should have a look at the page for setting up a build environment for AOSP on what to install and such, as it is a pretty good starting point.
Minty Fresh
I tried installing Mint over Unity with no success. All of the other desktop environments work, but not Mint. I wonders why.
u need to install the mint live cd first then one youve got everything update install ubuntu u can search for it in the package manage or get it in terminal
i believe the command is sudo apt-get ubuntu-desktop
Bierce22 said:
u need to install the mint live cd first then one youve got everything update install ubuntu u can search for it in the package manage or get it in terminal
i believe the command is sudo apt-get ubuntu-desktop
Click to expand...
Click to collapse
Will this erase windows like you too? Jk
Sent from my SCH-I400 using xda premium
10chr
Bierce22 said:
10chr
Click to expand...
Click to collapse
Cheer up chuck. I was just pwaying
Sent from my SCH-I400 using xda premium
Found this today. Came out today lol
http://rootzwiki.com/_/articles/the...or-setting-up-adb-and-transferring-files-r592
Sent from my SCH-I400 using xda premium
Anyone know what defconfig the Continuum uses? There are about 100 different defconfigs within the kernel source. Does the Continuum have a codename or something?
P.S. everything seems to be working fine in Ubuntu 11.10.
jaizero said:
Anyone know what defconfig the Continuum uses? There are about 100 different defconfigs within the kernel source. Does the Continuum have a codename or something?
P.S. everything seems to be working fine in Ubuntu 11.10.
Click to expand...
Click to collapse
Not sure., you might check the fascinate forums. I'd bet its the same.
Sent from my SCH-I400 using Tapatalk 2
jaizero said:
Anyone know what defconfig the Continuum uses? There are about 100 different defconfigs within the kernel source. Does the Continuum have a codename or something?
P.S. everything seems to be working fine in Ubuntu 11.10.
Click to expand...
Click to collapse
It should be listed in the readme with the source, but it should be something like "garnett_defconfig"
The purpose of this thread is to help people to solve their problems using the new MIUI ROM. By using this thread, we will keep the other thread clean and let developers work calmly, and more efectively.
So let's go, I will try to stay here, to see if I can help people solving their MIUI related problems.
Thank u everybody!!!
The pin bug
Any helper could verify that this bug is solved with:
Code:
adb shell
cd data/system
rm password.key
I understand that Franco's kernel was adapted to work with MIUI. Would you mind telling me how this was done? I would like to use these Franco kernel builds: http://forum.xda-developers.com/showthread.php?t=2307463 as well as (possibly) bricked kernel, and trinity kernel.
Thank you for your time,
Connor Baker
Connor Baker said:
I understand that Franco's kernel was adapted to work with MIUI. Would you mind telling me how this was done? I would like to use these Franco kernel builds: http://forum.xda-developers.com/showthread.php?t=2307463 as well as (possibly) bricked kernel, and trinity kernel.
Thank you for your time,
Connor Baker
Click to expand...
Click to collapse
I did not port it, dude, I am really sorry, I don't know how to do it..
Connor Baker said:
I understand that Franco's kernel was adapted to work with MIUI. Would you mind telling me how this was done? I would like to use these Franco kernel builds: http://forum.xda-developers.com/showthread.php?t=2307463 as well as (possibly) bricked kernel, and trinity kernel.
Thank you for your time,
Connor Baker
Click to expand...
Click to collapse
need edit boot.img, bricked kernel, moley kernel, faux kernel can use miui, i using faux kernel
Sent from my Nexus 4 using Tapatalk 2
luiseteyo said:
The pin bug
Any helper could verify that this bug is solved with:
Code:
adb shell
cd data/system
rm password.key
Click to expand...
Click to collapse
I can't confirm if this works or not but if you want to shorten it down you can run the single line to get the same effect
adb shell rm /data/system/password.key
Sent from my Nexus 4 using xda app-developers app
tathanhlam66 said:
need edit boot.img, bricked kernel, moley kernel, faux kernel can use miui, i using faux kernel
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
So they naturally have support for MIUI? Or do you still have to edit the boot.img to get them to work? If so, do you know of a guide that I could use?
Connor Baker
Any kernel that is modded to work with MIUI needs to have a link to the source code posted with all changes properly documented,
I've been messing with it for a bit now and here are some glaring issues I see off the bat that I haven't solved yet.
1) Gallery issues. Not only are there two of them, but neither of them is reading my old pictures.
2) The popular browser bug. FCs every time you open it, even if you follow a link.
3) Does not properly mount as storage when connected via USB.
Other than that the battery life seems to be alright, not a whole lot that isn't working that they already don't know about either.
EDIT: So just to give an update.
1) I'm able to remove the extra gallery via root uninstall. And by manually initiating the media scanner you can get your pictures to reappear. There is an app called rescan media in the market that will do this for you.
2) Other browsers from the market work fine. So not a huge deal to work around while they fix it.
3) Still can't solve the mounting problem. I couldn't mess with it too much because it wasnt my PC.
Sent from my Nexus 4 using XDA Premium HD app
Chomanator said:
I've been messing with it for a bit now and here are some glaring issues I see off the bat that I haven't solved yet.
1) Gallery issues. Not only are there two of them, but neither of them is reading my old pictures.
2) The popular browser bug. FCs every time you open it, even if you follow a link.
3) Does not properly mount as storage when connected via USB.
Other than that the battery life seems to be alright, not a whole lot that isn't working that they already don't know about either.
EDIT: So just to give an update.
1) I'm able to remove the extra gallery via root uninstall. And by manually initiating the media scanner you can get your pictures to reappear. There is an app called rescan media in the market that will do this for you.
2) Other browsers from the market work fine. So not a huge deal to work around while they fix it.
3) Still can't solve the mounting problem. I couldn't mess with it too much because it wasnt my PC.
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
1. Install gapps.Both gallery working fine for me
2. Use some other browser
3.Again working absolutely fine for me
I flashed the russian MIUI Rom yesterday and let it charge whole night but now my n4 has only 25% battery and is extremely hot, Battery solo widget says 39°C.
anyone knows about any wake locks in this rom?
How i can change chrome's icon and how can i set chrome as default browser
Sorry for bad English
safademirel said:
How i can change chrome's icon and how can i set chrome as default browser
Sorry for bad English
Click to expand...
Click to collapse
I just deleted the miui browser apk
Sent from my Nexus⁴
Any one have any luck changing launcher DPI
Sent from my Nexus 4 using xda premium
Re : Miui rom
So far just having minor bug only..
Browser FC, hopefully next update Fix ..
PlayStore old version but can manually install new version..
About phone show 1.2 quad core , it should be 1.5 quad core..
Anyway pretty like MIUI rom.. Using stock MIUI kernel so far no problem with battery life..
1st release sure have a bit bug..
so we just waiting for better relase in feature..
I'm using the miui android version with there slim gapps and so far everything I use has worked. No FC's of any kind.
Sent from my Nexus 4 using xda premium
Hi
I have seen this hacking app called "Reaver" and i had to install "Bcmon" for this to work but i cannot get bcmon up and working it either force closes or it says device not supported, as i tried hacking my own WiFi which my bro change the password and he doesn't want to give the code, so i tried hacking because wifi is my life i cant live without her , anyways so i am asking if there is anyway to make this broadcom wifi chipset work? Anyway at all? If you can mod please do
Thanks alot in advance
Sent from my LG-D682 using XDA Premium 4 mobile app
Bcmon is very finicky when it comes to what it will work with. I suggest checking out their dev page for a better idea of the requirements. Unless you have the ability to code your own driver for mon, it's not likely to find support. For penn testing You can go the linux deploy route, that coupled with a usb otg cable and a wifi card that works with the Bully\aircrack suite (I think that's what reaver needs ).
Sent from my SGH-I927 using XDA Free mobile app
first you need a compatible device
Hi first u need a compatible device to hack a WPA wpa2 WiFi or let it be wep
First u need to get a mobile having 4329, or4330 WiFi chipset I refer u HTC nexus one which is rare mobile having 0.5 % popularity or galaxy gs2 then if u got n1 install cm9 on it (cm10 on gs2) and then I hope u'r bcmon will work once it'll work then u can use either RFA or air crack GUI thanks ...
Im trying to make Reaver for Android work on my device due its not compatible with bcmon, im using custom scripts.
Im getting the following error:
CANNOT LINK EXECUTABLE: library "libpcap.so.1" not found
Due that, i used the following solution command:
export
LD_LIBRARY_PATH=/path/to/your/dir:$LD_LIBRARY_PATH
Obvious /path/to/your/dir is an example, mine is /sdcard/Download/libpcap.so.1
But im not getting success... i continue getting the error... Please somebody help
Sent from my Samsung SM-J510FN using XDA Labs
TheWalkingSans said:
Im trying to make Reaver for Android work on my device due its not compatible with bcmon, im using custom scripts.
Im getting the following error:
CANNOT LINK EXECUTABLE: library "libpcap.so.1" not found
Due that, i used the following solution command:
export
LD_LIBRARY_PATH=/path/to/your/dir:$LD_LIBRARY_PATH
Obvious /path/to/your/dir is an example, mine is /sdcard/Download/libpcap.so.1
But im not getting success... i continue getting the error... Please somebody help
Sent from my Samsung SM-J510FN using XDA Labs
Click to expand...
Click to collapse
same problem
- Official.Caserol23 @ Facebook
- Caserol23 @ XDA
- Caserol23 @ Twitter
It only works with broadcom chips.
sent from IT Heaven