yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] damanrico:
I must be doing something wrong, because I can't get it to work.

I'm using Gscript to make it easier to use. I'm using Wildmonk's kernel, so I took that example and edited it to my needs (right IP+share).

Everything I try results into the samba dir being empty all the time. The unmount script says it can't unmount because of an invalid argument.

When using something like ES File manager I can access my shares without any problems, so that can't be the problem.

Is there something I'm doing wrong, or is there an easy step guide that I can follow?

Thanks a lot in advance.
[Nexus One Android Development] dimon1983:
Thank You for help. Great work ;)
[Nexus One Android Development] AllanJacques:
Thanks a lot, but no deal yet...

My line is:

insmod /system/lib/modules/2.6.34-cyanogenmod/kernel/fs/cifs/cifs.ko

busybox mount -t cifs //192.168.0.117/Swap /sdcard/samba -o

username=username,password=password

But it always comes back with some errors, this time it cant mount cifs.ko

and asks for an option for -o

So, kinda lost...

My ip changed because now I am in another router.the exact messa it sends to me is:

mounting //192.168.0.117/Swap on /sdcard/samba failed: invalid argument

Any ideas?

Using estrong I can see and connect and download anything, there must be something I'm doing wrong...
[Nexus One Android Development] brunen9:
AllanJacques

What you see in command line after "insmod /system/lib/modules/2.6.34-cyanogenmod/kernel/fs/cifs/cifs.ko" ?
[Nexus One Android Development] AllanJacques:
Ok, so I changed command a little to:

insmod /system/lib/modules/2.6.34-cyanogenmod/kernel/fs/cifs/cifs.ko

busybox mount -t cifs //192.168.0.117/Swap /sdcard/samba -t ntfs

username=username,password=password

and it stopped giving me errors regarding options for -o, but the infamous "no such device" error came back...

Any other ideas?
[Nexus One Android Development] brunen9:
AllanJacques

Have two keys "-t" in this command is not right.

I think you didn't load cifs module through first command, so you got message "invalid argument", because command "mount" has not arguments "username" and "password" for key "-o". But cifs has it, it's filesystem dependent options.

However, I may be wrong.
[Nexus One Android Development] AllanJacques:
In total despair I went to IRC at freenode, adroid channel and there we managed to solve the issue with this command line:

busybox mount -t cifs //192.168.1.100/Swap /sdcard/samba -v -o user=login,pass=password
[Nexus One Android Development] zerocul:
Does this work for HTC desire ROM as well? I'm using Leedroid ROM.. if so, please some1 tell me how should i get it to work.

I'm a total noob at this, been searching everywhere.. :(
[Nexus One Android Development] Chahk:
If anyone is getting the "Value too large for defined data type" error while trying to do "ls /sdcard/samba/" try mounting with "nounix,noserverino" options:

busybox mount -t cifs //ip.address.here/share_name /sdcard/samba -o username=my_user_name,password=my_pw,nounix,noserverino
[Nexus One Android Development] AllanJacques:
I found out one strange behaviour, this sharing only works if both pcs are on wireless, if you try to do it using the same network but with a wired pc it says "no such device".

any ideas on how to make it work through wireless on N1 and a wired pc?

Forget it, rebooted router an it worked!
[Nexus One Android Development] dimon1983:
Sorry for noob question :(

in file *.sh I wrote the line

busybox mount -t cifs //ip.address.here/share_name /sdcard/samba -o username=my_user_name,password=my_pw,iocharset=utf8

when I run *.sh in ASE wrote me "not permitted" or "you must be root"

how to write to run from a root in ASE?
[Nexus One Android Development] d750:
@dimon1983 add su on top

su
busybox mount -t cifs //ip.address.here/share_name /sdcard/samba -o username=my_user_name,password=my_pw,iocharset=utf8

And updated first post with multi-language support.
[Nexus One Android Development] dimon1983:
I tried this

su
busybox mount -t cifs //ip.address.here/share_name /sdcard/samba -o username=my_user_name,password=my_pw,iocharset=utf8

and this

su "busybox mount -t cifs //ip.address.here/share_name /sdcard/samba -o username=my_user_name,password=my_pw,iocharset=utf8"

not work in ASE :(

in Gscript work perfect..

updated: in ASE need

su -c "busybox mount -t cifs //ip.address.here/share_name /sdcard/samba -o username=my_user_name,password=my_pw,iocharset=utf8"

work perfect :)
[Nexus One Android Development] damanrico:
I posted that I had problems, and I found out why.

Apparently if you have a username on your pc that has a space in between, so something like John Edwards, you need to put two ' around it. So then it would be something like: username='John Edwards',password=blablabla

So in case anyone has this, make sure to use this.
[Nexus One Android Development] AllanJacques:
well, this command seems to be quite moody, it works sometimes and sometimes it doesn't...

anyway, this is the commandline I use and that works, sometimes...

busybox mount -t cifs //192.168.1.100/Swap /sdcard/samba -v -o user=username,pass=password

any ideas why it works only at times?

Once again, found out what was happening, busybox seemed to be the problem, used titanium backup to update busybox and now everytyme I run the script it works, except for the unmount script, wich never worked anyway...

And here we are, back to square zero, once rebooted, mounting stopped working, it works only when it wants...

Any ideas?
[Nexus One Android Development] damanrico:
I've tried to use a program like AndroZip to unrar rar archives through the share, but sadly that doesn't seem to work. It says it unrarred the archives, but it didn't. It only works when I specify a real dir on my SD card and unrar from the share to there.

Is there some kind of trick that can make unrarring on the share work? I usually have my media files in rar archives, and if I forget to unrar them I can't play them on my N1.

Thanks in advance.
[Nexus One Android Development] d750:
@damanrico Use Remote VNC and unrar whatever you want.
[Nexus One Android Development] brunen9:
It's happening because your share, after mounting to dir on sdcard, has not write permissions, yet readonly. I tried make it writable using key "-w"... without success.
[Nexus One Android Development] damanrico:
It actually is writable, I was able to create an empty dir (which also showed up at the PC).
[Nexus One Android Development] brunen9:
It seems that I have another problem - through LAN tab in ES Explorer I can write to my share, but using mount - I can not.

UPD. no, it happened only with one of my share, it had specific options on desktop.
[Nexus One Android Development] Aquila:
How did you do this? For me it is always read-only...

Please post your command line.

[p.s. perhaps it depends on file system... which do you use?]
[Nexus One Android Development] d750:
Try this:

busybox mount -t cifs //192.168.1.3/avi /sdcard/samba -o rw,username=guest
[Nexus One Android Development] damanrico:
Maybe it's because I logon with a useraccount. I use the hidden system shares, like C$ or D$, and logon using my Windows account.
[Nexus One Android Development] Aquila:
thank you, I tried this but the share was mounted as read-only

so am I but no success.

anyway thanks for your answers.
[Nexus One Android Development] f3d0r:
A small GUI frontend for managing CIFS shares is available in the following thread:

http://xdaforums.com/showthread.php?t=756158
[Nexus One Android Development] Adrian312:
problem

Hi,

Ive try to load cifs.ko manually via Terminal in phone. insmod and path to cifs.ko, in my case insmod /system/lib/modules/cifs.ko

I am using CifsManager GUI, I can mount share successfully to my phone. I am sharing one folder with couple avi files. When I mount it, all is green, So I open directory and its empty.

Any idea?
[Nexus One Android Development] Aquila:
OS Linux shares the folder? (I see the same picture)
[Nexus One Android Development] kar10s:
Yes, its the same issue that is happening for StickMount, so chceck there - the Dev Chainfire has said a lot about it there. I will just repeat here that it is releated to the new security meaures and the new way how the system handles mounting points as of now (in 4.2).
[Touch CDMA General] KralHiPolymer:
In the past, I have used several apps on Donut AOSP without any problems, but now that I have upgraded to Warm Eclair, some of those apps have distorted screens to the point I can't tell what is on the screen. Does anyone know how to fix this?

Thanks in advance.
[Touch CDMA General] egzthunder1:
Make sure that the nbh that you are using has the correct screen res and LCD density (same as you had in Donut)
[Touch CDMA General] KralHiPolymer:
Checked and both are the same as Donut at 240x320 and 120 lcd density

Also it looks like the screen was cut into vertical pieces then turned diagonally.
[Touch CDMA General] Barogi44:
I had the same thing... i switched to froyo and all seems to work. :)
[EVO 4G Themes and Apps] skillzo1:
anyone? If there is no app does anyone know how to do it on the computer?
[EVO 4G Themes and Apps] TJDuckett:
I can't speak for anyone else, but, personally I have no idea of what you're getting at. If you add sound to a picture, it's no longer a picture. It's a movie file with a still frame.

Do you have an example of what you're talking about?
[EVO 4G Themes and Apps] skillzo1:
I have a picture stored on my phone of someone, that i would like to add sound or somone's voice over it.

I get text messages all the time, of a still picture with sound over it.
[EVO 4G Themes and Apps] TJDuckett:
When you get MMS like those, the picture and sound are added seperately. On a lot of phones, when you open picture mail, you'll see "add picture" "add sound" and "add text".

Then, when the person opens, they all show/play at once
[EVO 4G Themes and Apps] TJDuckett:
Oh, and to answer your next question in advance: The EVo's MMS doesn't have it, because the MMS on here ****in' sucks.
[EVO 4G Themes and Apps] skillzo1:
Yeah that is what i was trying to do, but couldn't. I'm using handcent for my mms. I figured there was some sort of app to open up a picture and just add sound over it and send away. Would be a nice app to have some fun with if it could be made.

Thanks for the help tj.
[EVO 4G Themes and Apps] TJDuckett:
I agree that it'd be nice... it just bugs me that it's a pretty standard features on even the crappiest phones.
[EVO 4G Themes and Apps] gsx62391:
when you go to send an mms, click menu, attach, slideshow. then when you choose picture, click menu and you will see the option to add picture,capture picture add music,add video.press add music then you are given the option of audio, or record audio. Clicking audio then ask you where to add audio from. Clicking record audio you can record a new audio file to add.
[EVO 4G Themes and Apps] TJDuckett:
You sir, are awesome. I'd just about written off the MMS on here as complete crap. Now, if only there was a way to take that stupid image dithering off.
[EVO 4G Themes and Apps] skillzo1:
Awesome thanks man
[Desire Q&A, Help & Troubleshooting] landwomble:
Guys, I'm running DJ Droid on mine, odexed, and I've enough space given I'm using Froyo's native apps on SD option using setinstalllocation on DJ Droid.

I want to try another ROM but most are deodexed and so seem to need app2sd.

I've never used this - if I use ROM Manager from my current ROM then I can partition up to 512MB ext size, and specify swap (0?) - is this enough?

Once I've partitioned the SD card, then how do I make use of it? Does it only work when you first flash an app2sd-supporting ROM on it - i.e. the ROM notices the ext partition and automatically makes use of it? Could someone help me out here? I have searched but am struggling...

Thanks

Ric
[Desire Q&A, Help & Troubleshooting] lambrospower:
it automatically does the job when you flash the rom with the a2sd+....just have the sdcard with ext partition inserted and it will do it all on its own
[Desire Q&A, Help & Troubleshooting] landwomble:
So if I partition the SD card (usign ROM manager) and reboot without reflashing ROM nothing will happen, but when I next flash using a new ROM like the Neophyte one it will automagically start using app2sd without any intervention on my part? Apologies for confusion but the process seems to have evolved pretty quickly and so a lot of guides are a bit out of date...

Also, seen note of ext2 and ext3 partitions?

Thanks

Ric
[Desire Q&A, Help & Troubleshooting] alegator23:
I have the same question, did you manage to get the answer ?

I have already flushed the ROM and now i want to wipe and use the app2sd is it possible without flushing new ROM ?

Or i can flush the same ROM again after wipe the SD card ?
[Desire Q&A, Help & Troubleshooting] K900:
If your rom has a2sd AND you have your sd card partitioned, then you should be using it automatically.
[Desire Q&A, Help & Troubleshooting] reudyfam:
Once you've flashed a ROM of your choice, download Quick System Info from the Market, this will tell you if your A2SD is working. For example, mine says A2SD storage - Total: 473mb, Free: 255mb.
[Desire Q&A, Help & Troubleshooting] alegator23:
Partition problem SD card with Rom Manager

Hi guys

Thanks for the replies, but currently now i have the issue with the partition the SD card.

I am using the ROM Manager to wipe the SD, (512, swap=0).

The device is rebooted with red question mark and boots again to regular state and actually nothing happens.

Thanks for assistance.
[Desire Q&A, Help & Troubleshooting] K900:
And what did you EXPECT? Your apps should be on sdcard now, congrats.
[Desire Q&A, Help & Troubleshooting] alegator23:
Ok maybe i don't understand something

But i flushed the Leo ROM 2.0C without wiping my SD card and i didn't partition the SD card to ext2/3/4. During the flush of the ROM i got notification that the ext partitions weren't found so the app2sd+ will not be installed.

So the situation now is what i have the device with flushed rom but without the app2sd+ .

In Quick system Information i see A2SD : Information not available.

I would like to have the app2sd+ working, like i understand in order to do this i need to wipe the SD card and partition it properly -> this is the problem i can't do it with Rom Manager, because it's boot with Red question mark, after 3 sec boot again into regular device state without any changes.

If i success in wipe the SD then i can flush the new ROM which will install the app2sd+ properly.

Thanks for the assistance.
[Desire Q&A, Help & Troubleshooting] K900:
I guess your ROM doesn't install a2sd when no ext partition is found at install time. Reflash it, and it should detect stuff properly.
[Desire Q&A, Help & Troubleshooting] alegator23:
I tried to reflash the rom but it's the same.

I have only the option to move the app to the SD card Applications -> Manage Applications -> Move to SD.

In additional i have checked some replies which still telling to use the Rom Manager (for me it's not exactly working -> red question mark).

In additional i saw some places where it says go to recovery -> partition SD ext2/swap. I don't have this option in the recovery.

Still don't have idea how to partition my SD.

Thanks
[Desire Q&A, Help & Troubleshooting] K900:
Well, then you have probably partitioned your card wrong. Try GParted, and make sure that the ext partition goes AFTER the fat one.
[Galaxy S I9000 Android Development] lucasjohny:
Just to share for some finding, I'm able to get back my CSC without official Tar or update.zip.

1) Root your devices

2) Install Root Explorer to the phone. google it yourself may be can find from blAKP MARKET

3) Use Root Explorer

4) goto system/csc copy the csc folder you currently in use to any others location in your SD.

5) Flash upgrade your phone on what ever version you like.

6) root it and install root explorer.

7) copy back the csc folder you save to system/csc delete others if space not enought

8) goto phone key in *#272*HHMM# 24hour.min ie 12.36am = 0036, 1236pm = 1236, then select the csc of your choice and click install.

Try on your own rise. Mine work fine after more the 10 version of upgrading.
[Galaxy S I9000 Android Development] oswade:
Just a note, when I used that "hidden menu" to change my csc a while back, it erased all my apps/settings too. So backup if you wanna use this method :)
[Galaxy S I9000 Android Development] xfile087:
Can you confirm what you mean by *#272*HHMM 24hour.min ?
[Galaxy S I9000 Android Development] quangmach:
HHMM = your recent time in 24hours for example now is 12:29 we type 0029,cheers
[Galaxy S I9000 Android Development] xfile087:
Thanks, very much appreciated and great info :D
[Galaxy S I9000 Android Development] raimondomartire:
wHRE IS apps/settings
[Galaxy S I9000 Android Development] lucasjohny:
not sure what you looking for
[Legend General] kevinjqiu:
The gmail app on legend, when sending an email, it spends minutes sending it out using 3g. I have no trouble browsing the internet on 3g at the same time so the connection and signal are good. I'm wondering if anyone else had similar issues ?
[Legend General] Tommebaas:
i also have this "problem" its pretty annoying though
[Captivate General] ronpinoy253:
After rooting my phone and removing the ATT bloatware, I noticed that my Advanced Task Killer (Free) program lists more programs running in the background than before? Lots of programs that never popped up when the phone was stock now are showing up in the Task Killer program as running? Is this right? Did something screw up? If I kill all those processes the only ones that consistently comes back are HandCent SMS and Clock.
[Captivate General] sn1per420:
I've been noticing the default messaging app and clock open up a lot, and sometimes other apps too, like ESPN ScoreCenter, Facebook, etc. are opening up by themselves. Does anyone have any idea why this is happening?
[Captivate General] Fortune090:
I've noticed that my GPS kicks on every once in awhile too randomly. Usually when I can tell something's running in the background.

If you turn off Background Data in Settings>Accounts and Sync, it stops it almost in its entirety, but you have to turn it on to access the Market. My guess is it's just the programs collecting or sending data regarding use of the program, or with the clock (and possibly other programs) updating itself.
[Captivate General] ronpinoy253:
I can see the logic in that some apps need to update, but I never saw these same apps exhibit this behavior before I rooted. ie) Apps running themselves and showing up in my Advanced Task Killer program and now I have to kill them where before I never knew they were there in the first place. No changes to my phone except root. Are these based on the General Sync Settings options like Background Data or AutoSync? I just don't like the idea of all these apps running when I never started them in the first place.
[Captivate General] designgears:
I think you just didn't see them before... rooting isnt going to make apps randomly start doing things they didnt do before.

This needs to be in the gerenral section as well.
[Captivate General] SiL3nTKiLL:
it shouldnt cause more to run :/
[Captivate General] ronpinoy253:
Sorry if this post is in the wrong section. But yeah, I know those apps that are popping up now weren't there before. I'm sure I didn't miss seeing them as I have all the settings for Advanced Task Killer program set the same in terms of security levels.

Are you saying that rooting my phone made the apps show up now (as in they were just hidden to the OS/program prior to rooting)?
[Captivate General] BA_Flash_GOD:
eh

Well The same thing used to happen to me on my HTC desire so it must just be Android (maybe has to do with the build) or just Android in general. I would get stuff like settings and such in the task managers as well etc, exactly to what you guys are describing. They were not really used or needed programs so ending the tasks was no problem. No clue, but this is not only on this device

And yes my HTC DESIRE was rooted as well
[Captivate General] egzthunder1:
Moved to General.
[G1 Q&A, Help & Troubleshooting] xXJay_RXx:
well i am currently letting my 12 year old niece use my g1 since her current phone is broken. she currently doesnt have a data plan on her phone so i have disabled cellular data on her phone to prevent big data charges on my big brother's (her father) bill. well she is going camping with her mother n her family. quite frankly, i dont trust them because they are a bunch of criminals and drug dealers. knowing how the g1 is still a great phone, i wanted to put a tracking app on her phone in case she "lost" (knowing them, they might steal the phone like they stole her money from her piggy bank) so i can track it down and see where its at. i know it uses the gps but i dont know if it uses data also. anyways, for just tracking purposes, does Mobile Defense use data?
[G1 Q&A, Help & Troubleshooting] xXJay_RXx:
any help? does mobile defense use data? :confused:
[G1 Q&A, Help & Troubleshooting] screwthe49ers:
Yes it uses data to tell you where the phone is. Why don't you just not have her go if you don't trust who she will be with. Seems more logical to me.
[G1 Q&A, Help & Troubleshooting] SolemnWishing:
It does need data to transmit where the device is, HOWEVER, and I don't really know how this works, but Mobile Defense is able to send SIM card information to your email without data. It can tell you if the SIM card has been changed with information including the person's subscriber and SIM number and even phone number and operator. I tested this by putting in an unactivated SIM card into my G1. On the Mobile Defense site, it failed to locate the device but it did detect the new SIM card, the unactivated one I had put in, meaning it did not need data.
[Desire General] 160bpm:
Hi All,

When i look into (almost) all roms i see the problem with the battery drain problem.

To bad i do not have the knowledge to find out what to do.

But i think that some smart developers work together to find a solution about this battery drain problem.

So that's why i start this thread so we can discuss this :)
[Desire General] aggro666:
It would be great if he could share the knowledge :)

I am using LeeDroid 1.4c and I too experience battery drain issues... :(
[Desire General] aggro666:
Someone tried this one http://xdaforums.com/showpost.php?p=7170484&postcount=173 ?
[Desire General] Café King:
There's a really good battery life on the OD 2.3 ROM :) Love it! :)

/CK
[Desire General] 160bpm:
Thanks, but i don't like the interface.. want have the sense feeling :)
[Desire General] Heppieboeddah:
Drain

Tested a lot of roms with froyo and sense. The roms based on 2.06 base are draining relative more then the roms based on 2.04.

Above is not scientificly tested.
[Desire General] Rust123bg:
Charge to 100% , go to recovery , advanced , wipe battery stats. Enjoy greater baterry life :)
[Desire General] ivicask:
I had NONE battery drain problems on any of ROMS 2.1 or 2.2, and i did try alot of them.

Maybe theres something wrong with your phone itself (battery).

But definetly try wipe battery stats in recovery.
[Desire General] 160bpm:
Since 08:00 morning had WiFi on.. network Data of... and now 12:02 battery is now 90%. DId have play with config the Tasker Tool :) (Great app).

Tomorrow i will do the test again but then with Network Data on and WiFi off.
[Desire General] ryanrich:
Yup, that ROM has the best battery life by far...
[Desire General] sckc23:
people are having mixed results on the battery perfermance of adam's sensefroyo rom. i experienced a poorer battery life compared to eclair (i used Amer_v4 and the battery was excellent) but can still manage to last a full day usually. haven't tried out the froyo roms though.

btw aren't you're using opendesire?
[Desire General] andycted:
I've changed about 8 roms, mostly used 4, but can't say there was a huge difference between them. 2 days of normal use, 1 day of heavy use.

Possibly shadowfrost and DeFrost 2.4 had the best battery life and I had the fastest kernel installed...

I would think that - some isolated problem aside - mostly it has to do with some applications/settings
[Desire General] ghesil:
Any ideea why?