Hi,
I'm trying to connect my SGS (2.2 Froyo) to an ad hoc network here.
I know about virtual access point but I don't want that for some reason. Please do not suggest that here. I want my SGS to connect to an ad hoc, that's it.
Have looked at a lot of forum posts, blog posts etc. on this and tried many ways to push wpa_supplicant to /system/bin but it has been very unlucky.
First of all, I've rooted my SGS with SuperOneClick and everything was fine there and I've been granted with Superuser access.
Below are a list of my failures in attempting to push/copy/move/overwrite the wpa_supplicant (in)to /system/bin
adb push wpa_supplicant /system/bin
failed to copy 'wpa_supplicant' to 'system/bin/wpa_supplicant': Read-only file system
Click to expand...
Click to collapse
adb remount
remount failed: No such file or directory
Click to expand...
Click to collapse
adb push it to /mnt/sdcard then attempting to move wpa_supplicant from sdcard to /system/bin using Root Explorer
tried su - mount too but it doesn't help (or maybe I did this wrongly)
Will appreciate someone to guide me through this.
Thanks!
Joseph
with root explorer click on mount r/w
luismanson said:
with root explorer click on mount r/w
Click to expand...
Click to collapse
Thanks a lot for your help, luismanson.
However, that doesn't solve it.
Here's what I did.
Open Root Explorer, click on mount r/w, browse to mnt/sdcard, move wpa_supplicant, browse to system/bin, paste.
Unfortunately, the size doesn't change and wpa_supplicant still remain in mnt/sdcard.
Then I tried copy wpa_supplicant to / directory (root), I can't find that file there too.
Is something wrong?
im new to i9000 but why dont you:
adb shell
su
cat /sdcard/wpa.. > /system/path/wpa
and see if it works
try that or post the link and i will try by myslef
luismanson said:
im new to i9000 but why dont you:
adb shell
su
cat /sdcard/wpa.. > /system/path/wpa
and see if it works
try that or post the link and i will try by myslef
Click to expand...
Click to collapse
It returns with this message:
cannot create /system/bin/wpa_supplicant: read-only file system
Click to expand...
Click to collapse
What do you mean link? The person who provided wpa_supplicant never showed any specific instruction. He/she just said, push the file to /system/bin or push it in recovery time.
I tried that too. Boot into recovery mode but adb couldn't detect the device when it's in recovery mode.
hey i didnt replaced this file, but yesturday i mess with other file, you just need to remount /system rw
either use root explorer or:
busybox mount -o remount,rw /system
and then try to replace the file
Thanks a lot for your help, luismanson!
I managed to overwrite the file using:
Code:
busybox cp /mnt/sdcard/wpa_supplicant /system/bin
And I'm now connected to ad hoc with SGS Froyo!
{
"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"
}
Can you now make a step by step method for setting adhock network in xp and then the steps for the galaxy with the file that we are supposed to replace
Sent from my GT-I9000 using XDA App
Not sure about that.
I'm just some newbie who are trying things out.
Couldn't risk making a fake guide and end up "sabotaging" others' phone. Lol~
Maybe you should request someone that's expert in this to make a proper one.
hey anyone help ...i bought my IDEOS phone with android froyo... i need to configure it to accept adhoc connections...anyone guide me oh how to push the wpa_supplicant and get the adhoc working ...am a new to android...am using windows 7..
Where did you get the file?
I'm trying this, but i don't have the correct file. The wpa_supplicant i'm trying to replace is corrupted or not appropriate, and it causes the force-close vibrate (not actual force close) whenever i turn on wifi, and it turns off after saying 'unable to scan for networks'. and also something about an illegal argument.
josephting, could you tell me where you got the file that made yours work, so that i can try it too? Mine is a galaxy ace, not an S, but they're similar enough to be worth trying.
Also, my Ace doesn't have that WPS icon. Not supported on Ace?
Thanks.
vinaydargar said:
PLEASE, josephting, tell me where you got the file that made yours work, so that i can get it too. mine is a galaxy ace, not an S, but they're similar enough, i know.
also, in your screenshot, how are you getting the WPS button thing, i don't have it..
anyway, please, the file you used. thanks.
Click to expand...
Click to collapse
Currently, I'm not using Samsung's Android anymore. (Formatted into MIUI)
So, I don't have the file. Try look around again for the file.
I'm not sure, I didn't paid any attention to that.
Maybe it's because SGS support WPS?
Sorry that I couldn't be of any help.
Just create a new thread and wait for someone who really can help to help you out.
Good luck.
i have a tablet running android 2.3.3 rooted with superoneclick...i follow the instractions to copy paste the wpa_supplicant using root explorer.but when i open my wifi shows false and my table restarts.what i do wrong...i am lucky that i made copy of the original file
Related
hi
when im trying to use the increase max volume guide
http://forum.xda-developers.com/showthread.php?t=517745
im doing METHOD 1
i have done "adb remount" it worked
but when im typing "adb push Desktop/AudioFilter.csv system/etc"
and press enter it sais the file do not exist and it does on my desktop what do i need to do
thx for the helpers
titanos said:
hi
when im trying to use the increase max volume guide
http://forum.xda-developers.com/showthread.php?t=517745
im doing METHOD 1
i have done "adb remount" it worked
but when im typing "adb push Desktop/AudioFilter.csv system/etc"
and press enter it sais the file do not exist and it does on my desktop what do i need to do
thx for the helpers
Click to expand...
Click to collapse
make sure that where it says 'Desktop' is the exact location of your desktop and not just the word 'Desktop' ... for example on my computer it would be "C:\Documents and Settings\Administrator\Desktop\AudioFilter.csv"
not ok
xidominicanoix said:
make sure that where it says 'Desktop' is the exact location of your desktop and not just the word 'Desktop' ... for example on my computer it would be "C:\Documents and Settings\Administrator\Desktop\AudioFilter.csv"
Click to expand...
Click to collapse
ok your right but when i do that i type this "adb push C:\Documents and Settings\Titanos\Desktop\AudioFilter.csv system\etc
i get this
{
"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"
}
i guess its not ok
is there any program besides the adb i need to use?
titanos said:
ok your right but when i do that i type this "adb push C:\Documents and Settings\Titanos\Desktop\AudioFilter.csv system\etc
i get this
i guess its not ok
is there any program besides the adb i need to use?
Click to expand...
Click to collapse
Code:
adb push "C:\Documents and Settings\Titanos\Desktop\AudioFilter.csv" system\etc
its not liking the space between documents and settings .. it thinks that local location is 'C:\Documents' and that the remote location is 'and' and then everything else it just doesn't know lol so try it with the quotes
nop
xidominicanoix said:
Code:
adb push "C:\Documents and Settings\Titanos\Desktop\AudioFilter.csv" system\etc
its not liking the space between documents and settings .. it thinks that local location is 'C:\Documents' and that the remote location is 'and' and then everything else it just doesn't know lol so try it with the quotes
Click to expand...
Click to collapse
still didnt work
it sais fail to copy read only file system
titanos said:
still didnt work
it sais fail to copy read only file system
Click to expand...
Click to collapse
did you do adb remount first lol.
its also a lot easier to do that if you use the New Audio Mod v2.4 at the bottom of the first post
ok
david1171 said:
did you do adb remount first lol.
its also a lot easier to do that if you use the New Audio Mod v2.4 at the bottom of the first post
Click to expand...
Click to collapse
ok i made it eventually i found out that the (\) was inverted so i changed it to (/) and it worked fine
i could see it copied the files into the device
but i cant feel a change in the speakers volume lvl do you know why?
titanos said:
ok i made it eventually i found out that the (\) was inverted so i changed it to (/) and it worked fine
i could see it copied the files into the device
but i cant feel a change in the speakers volume lvl do you know why?
Click to expand...
Click to collapse
which version did you push
Here you go
adb remount
adb push Desktop/AudioFilter.csv system/etc
adb push Desktop/AudioPara4.csv system/etc
adb push Desktop/AudioPreProcess.csv system/etc
just put AudioFilter.csv, AudioPara4.csv and AudioPreProcess.csv on your desktop...not in a folder
soloxp said:
Here you go
adb remount
adb push Desktop/AudioFilter.csv system/etc
adb push Desktop/AudioPara4.csv system/etc
adb push Desktop/AudioPreProcess.csv system/etc
just put AudioFilter.csv, AudioPara4.csv and AudioPreProcess.csv on your desktop...not in a folder
Click to expand...
Click to collapse
i did that
and i saw that the AudioPreProcess.csv is not needed
first i pushed v3 then i pushed v6
titanos said:
i did that
and i saw that the AudioPreProcess.csv is not needed
first i pushed v3 then i pushed v6
Click to expand...
Click to collapse
it should definitely be louder, try rebooting the phone if you haven't already or either use headphones and see if there is a change there
open the command prompt start and run...type cmd then enter.
then type adb remount then hit enter
then type adb push Desktop/AudioFilter.csv system/etc
so on and so on.
looking at the pic you post don't look like you did that.
david1171 said:
it should definitely be louder, try rebooting the phone if you haven't already or either use headphones and see if there is a change there
Click to expand...
Click to collapse
ok thx i redo the proccess but this time i used v3 only and now i can fell the difference
thx for all the help m8's
Audio over earpiece.
I can barely hear anything from the ear piece after I upgraded to 4.0 Jac. I'm currently running Shadows latest release but still the same issue. The speaker phone is loud and clear but even pushing version 4 or version 6 from the audio hack I can't hear through the ear piece.
MOD EDIT: Full Root is now available. Please see this for Full Root
[GUIDE] One Click How to Root the Wildfire with Unrevoked 3.21
Hi all,
As posted the other day, I have managed to get a temporary software-only root solution that will allow you to run some applications that require su. I am currently in discussion with some of the unrEVOked team to take this a step further and get the NAND protection defeated, clockworkmod etc. For now, though, I present an extremely simple, low risk, software root. Yes, it's not quite 1-click (it's 1-click once you've done the initial steps), but it's pretty easy.
Prerequisites:
You must have adb working.
Root instructions:
Step 1: Download and install Superuser.apk from the Market. ( http://forum.xda-developers.com/showthread.php?t=682828 )
Step 2: Download my SoftRoot package ( http://www.martineve.com/wildfiresoftrootoneclick/SoftRoot.apk )
Step 3: Execute from a command prompt in the directory where you downloaded SoftRoot.apk:
Windows:
adb install SoftRoot.apk
Linux:
adb install ./SoftRoot.apk
Step 4: Run the SoftRoot application that is now installed.
The application will now crash. Wait 2 seconds, close it and you are rooted.
You will need to re-perform stage 4, only, each time you reboot.
Source code (all GPL):
http://www.martineve.com/wildfiresoftrootoneclick/DoRoot.java
http://www.martineve.com/wildfiresoftrootoneclick/R.java
http://www.martineve.com/wildfiresoftrootoneclick/rootshell
http://www.martineve.com/wildfiresoftrootoneclick/exploid.c
To compile Java app, you will need to create a project that has su, rootshell and compiled exploid inside the resources/raw folder.
Works great. Thank you.
Now I have access to paid apps easily via Market Enabler (v3.0.8). I've missed them.
Now I just hope Spotify will fix their playback issues og Wildfire (and Hero). THEN life will be good again.
MartinEve said:
Hi all,
I am currently in discussion with some of the unrEVOked team to take this a step further and get the NAND protection defeated, clockworkmod etc.To compile Java app, you will need to create a project that has su, rootshell and compiled exploid inside the resources/raw folder.
Click to expand...
Click to collapse
Hey Martin Awesome dude .. also where did u find contact info of unrevoked team.. I think Koush is here on xda.. it would be really nice if you can PM me ..
Thanks
Hi, Martin awesome work.. its working superb on my
0.802, 1.14.405.2, VodafoneCZ
thx man!
Excellent work, thanks Martin! So this means I don't have to follow anything in your other thread, I can just use this? Found it difficult to understand all that stuff!
Also, when downloading the Android SDK, as I'm about to, do I need to get the 2.1 component package as well, being as the Wildfire comes with 2.1 on it? Very new to the world of Android, so your help would be much appreciated!
normally you just need the adb not the whole SDK.
Simple to use :
download SDK :http://developer.android.com/sdk/index.html
extract the zip(or tgz if Linux) where you want
go to tools
copy the SoftRoot.apk in this dir
open a cmd prompt
type adb install ./SoftRoot.apk
Install the SuperUser.apk (http://forum.xda-developers.com/showthread.php?t=682828) or QR code :
{
"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"
}
Launch the SoftRoot app.
Wait 10 sec
Kill it
SOFT-ROOTED
Easy no ?
grate job Matrin, any idea's, plan's to bypass "mtdblock3" writing protection.
Dark_Balor said:
Easy no ?
Click to expand...
Click to collapse
Yeah I suppose it is! Thanks for that Balor
Dr_Death said:
grate job Matrin, any idea's, plan's to bypass "mtdblock3" writing protection.
Click to expand...
Click to collapse
Working on it; first job is, apparently, to build a clockworkmod recovery image from the stock rom...
Thread Stickied!
Great job MartinEve. Nice way to start off your experience here at XDA. Cheers
MartinEve said:
Working on it; first job is, apparently, to build a clockworkmod recovery image from the stock rom...
Click to expand...
Click to collapse
all the best my friend, YOU ARE THE MAN
what's the method you are going to try to bypass the protection >> I'm interested in knowing the mechanism of the NAND protection, how it's work
Well, from the fact I was told to make a clockworkmod recovery image, it seems that the route is going to be to get a custom recovery image booting which will allow full access to the system and then flash from that.
TBH, this is where it starts to get risky ;/ If people wanted to start pooling together a disaster fund should the Bricking Gods not smile favourably on me, I'd be a lot happier! Haha!
Hey Martin..or anyone else..can you confirm whether this will work on HTC Legend ..??
zabaknilesh said:
Hey Martin..or anyone else..can you confirm whether this will work on HTC Legend ..??
Click to expand...
Click to collapse
I'm afraid I don't know about the Legend, but I see no reason why it should not provided that:
/system is mounted from /dev/block/mtdblock3
You are running 2.1 or 2.2
If you get an adb shell up an paste me the output of the mount command, I'll be able to tell you more clearly.
MartinEve, I just copied the two .apk to my phone
1.Install with some explorer
2.Launch SoftRoot
3.Enjoy
no adb at all for me and worked
demolition23 said:
MartinEve, I just copied the two .apk to my phone
1.Install with some explorer
2.Launch SoftRoot
3.Enjoy
no adb at all for me and worked
Click to expand...
Click to collapse
Excellent, glad to hear it
Perhaps I'll put a more concise set of instructions up at the start
not work
I managed to do ROOT previous method. In this method, the system aborts SoftRoot. What could be the reason?
Piron said:
I managed to do ROOT previous method. In this method, the system aborts SoftRoot. What could be the reason?
Click to expand...
Click to collapse
When you say "the system aborts", I think you are referring to the fact the application crashes.
Which was in my original post.
It should still be rooted, despite the crash.
MartinEve said:
Excellent, glad to hear it
Perhaps I'll put a more concise set of instructions up at the start
Click to expand...
Click to collapse
Glad...I think its working!! i can now use set cpu...
Only did install these two apk's on HTC legend and its working...!!!
any others signs to confirm check that my device is rooted..please advice which is best apk to check my legend is rooted or not..?
zabaknilesh said:
Glad...I think its working!! i can now use set cpu...
Only did install these two apk's on HTC legend and its working...!!!
any others signs to confirm check that my device is rooted..please advice which is best apk to check my legend is rooted or not..?
Click to expand...
Click to collapse
Go to a terminal and type:
su
If the phone then prompts you to allow root, allow it and then type:
id
if it says uid=0 then you are root.
Let me know and I'll make a post in the Legend forum too.
Tired of typing out that long "mount" command for remount system as read/write in Android?
NOTE: This is for S-OFF only!
Before you start, run this command in adb:
Code:
ls /system/bin/bash
If you get "bash: no such file or directory", run this command
Code:
ln -s /system/bin/sh /system/bin/bash
A new command prompt means the command completed successfully.
Now ensure bash is there:
Code:
ls /system/bin/bash
If it finds "bash", then continue on!
Here are two easy ways to stop the typing and make your life easier!
If you like using adb:
1. Download this zip, extract, and push the "sysrw" and "sysro" files to /system/xbin
2. Then run chmod 755 /system/xbin/sysrw and chmod 755 /system/xbin/sysro
Now, all you have to do is shell in and type "sysrw" to remount as read/write, or "sysro" to remount back to read-only!
If you don't like using adb:
1. Download Scripter from the market, QR:
{
"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"
}
2. Open Scripter, and tap on "Scan script" and scan these two QR codes:
sysrw:
sysro:
You can run them to make sure they work.
3. Long press on each one and save as "system read/write" and "system read-only" to know which one does which. (If you forget, the one with the command remount,rw is read/write, and the one with remount,ro is read-only)
That's it! Just open Scripter and tap on each to run them when you need to remount system!
Cool, you beat me to it. I was going to post something similar. Another option to keep in mind if you are using adb is the command:
Code:
adb remount
Run that command before anything else and it will remount your partitions as rw. Then you can push anything you want to /system.
This makes developing within the phone much easier and more fun.
What I did before these scripts was when I opened my Terminal Emulator on my phone, I had the mount -r blah.. as an initial command. Worked nicely for a while. I like this better because I can set it back as read only with ease.
Thanks.
Awesome, thank you!
This is the same as going into root explorer and clicking mount R/W for read/write, correct?
Is this supposed to make the build.prop file rw? Because when I run the script, the file still says -r-.
I'm not seeing a change to the /system folder when running the script. The permissions in Astro say dr- before I run the script and don't change after I run it.
mozetti said:
Is this supposed to make the build.prop file rw? Because when I run the script, the file still says -r-.
I'm not seeing a change to the /system folder when running the script. The permissions in Astro say dr- before I run the script and don't change after I run it.
Click to expand...
Click to collapse
This has nothing to do with changing file permissions--it shouldn't permanently change anything. Running this script is like kinda giving Ubuntu elevated privileges -- you are authorizing read-write access for yourself to make changes to /system, temporarily. It ends when you run the other script, reboot, or kill the terminal session you started (I assume).
rynosaur said:
This has nothing to do with changing file permissions--it shouldn't permanently change anything. Running this script is like kinda giving Ubuntu elevated privileges -- you are authorizing read-write access for yourself to make changes to /system, temporarily. It ends when you run the other script, reboot, or kill the terminal session you started (I assume).
Click to expand...
Click to collapse
Ok, so if I run this script then should I be able to open build.prop with Astro (long-hold, open as text, using file editor), make changes, and then save the file?
Because if that's the case, it's not working. I'm not a Linux pro, but I run Ubuntu on my desktop. I'm pretty sure that if you mount /system as read-write (which this script is supposed to do), then the permissions that show in Astro for the /system folder shouldn't b dr-, correct?
mozetti said:
Ok, so if I run this script then should I be able to open build.prop with Astro (long-hold, open as text, using file editor), make changes, and then save the file?
Because if that's the case, it's not working. I'm not a Linux pro, but I run Ubuntu on my desktop. I'm pretty sure that if you mount /system as read-write (which this script is supposed to do), then the permissions that show in Astro for the /system folder shouldn't b dr-, correct?
Click to expand...
Click to collapse
AFAIK, Astro does not do root privileges, you need Root Explorer to do what you trying to do. Perhaps someone else will chime in who knows how to give multiple processes r/w. The way I would do that without Root Explorer is to open the build.prop in a text editor, make changes, then write it to /data, then in terminal emulator, remount /system, and then move the file to system with build.prop.new, rename the original something like build.prop.old, then rename new to build prop.
rynosaur said:
AFAIK, Astro does not do root privileges, you need Root Explorer to do what you trying to do. Perhaps someone else will chime in who knows how to give multiple processes r/w. The way I would do that without Root Explorer is to open the build.prop in a text editor, make changes, then write it to /data, then in terminal emulator, remount /system, and then move the file to system with build.prop.new, rename the original something like build.prop.old, then rename new to build prop.
Click to expand...
Click to collapse
Ok, thanks. I'm not ready to pay for root explorer because I'm not sure how much I'm going to need it. I'll give your method a shot.
mozetti said:
Ok, thanks. I'm not ready to pay for root explorer because I'm not sure how much I'm going to need it. I'll give your method a shot.
Click to expand...
Click to collapse
In your position, I'd use adb, actually. It's pretty easy to push/pull in adb rather than all that copying and renaming
kentoe said:
This is the same as going into root explorer and clicking mount R/W for read/write, correct?
Click to expand...
Click to collapse
Yes, it's for people who don't want to spend the money or who like the command line.
mozetti said:
Is this supposed to make the build.prop file rw? Because when I run the script, the file still says -r-.
I'm not seeing a change to the /system folder when running the script. The permissions in Astro say dr- before I run the script and don't change after I run it.
Click to expand...
Click to collapse
No, this doesn't let you edit specific files on system, it just lets you add or delete files while in Android. If you want to change build.prop, you need to pull it, edit it, and push it back and reboot. Before, we had to do this in recovery mode, now you can do it in Android by making system read/write with these scripts.
mozetti said:
Ok, thanks. I'm not ready to pay for root explorer because I'm not sure how much I'm going to need it. I'll give your method a shot.
Click to expand...
Click to collapse
I think Android Mate has root file explorer. It's free as well. Try that.
ihtfp69 said:
I think Android Mate has root file explorer. It's free as well. Try that.
Click to expand...
Click to collapse
Thanks, installing it now.
**EDIT** Just in case anyone else is following this, Android Mate didn't work. It requested and received ROOT privileges but when I try to paste a file into /system, it doesn't work. It gives me a message that says it copied the file, but the file doesn't actually get put into the folder. **/EDIT**
ihtfp69 said:
Cool, you beat me to it. I was going to post something similar. Another option to keep in mind if you are using adb is the command:
Code:
adb remount
Run that command before anything else and it will remount your partitions as rw. Then you can push anything you want to /system.
Click to expand...
Click to collapse
remember that "adb remount" only works if the default.prop has the "ro.secure=0" in the boot.img(ramdisk), most most kernels are using the anykernel method, which uses the existing ramdisk. so unless you or the ROM cook change the ramdisk it will be set to "ro.secure=1"
CW recovery uses its own default.prop with the setting changed.
I think these scripts are something Adrynalyne has had in his ROMs since he put out the "One ROM to Rule Them All".
*shrug* Cool that you got a simpler/portable way instead of pulling them out of Adryn's roms
these work great, very handy thanks!
NOTE: Root is required
When an application fails to install - even side loads - an error message is logged.
First thing to check is the logcat -> it will point to a secure file issue.
for error -18 it is
smdl2tmp1.asec
this file, and all other *.asec files are in the /mnt/secure/ directory.
If this file cannot be removed by the installing application a failure message results.
to manually remove this file you need a terminal application
android terminal emulator works just fine.
{
"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"
}
Step 1.
launch the terminal application of choice
Step 2.
SU
Step 3.
At the # command prompt type
cd /mnt/secure/asec/
Step 4.
type
ls
This will locate the file causing the issue.
Step 5.
type
rm smdl2tmp1.asec
Step 6.
close the terminal application
Step 7.
enjoy the fruits of your labor by installing the application that initially failed.
Thanks, manikin13!
Do you know any other error codes?
joe75 said:
Thanks, manikin13!
Do you know any other error codes?
Click to expand...
Click to collapse
I believe this fix works on most install error codes.
Interesting. Been getting the Error code 18 when attempting to install VitalPlayer. (Vegan Beta1) Folowed your steps to the letter (miss DOS at times) but that folder appears empty. Actually there is no asec folder on either sdcard or sdcard2. Did I miss something? thanks
skeeterpro said:
Interesting. Been getting the Error code 18 when attempting to install VitalPlayer. (Vegan Beta1) Folowed your steps to the letter (miss DOS at times) but that folder appears empty. Actually there is no asec folder on either sdcard or sdcard2. Did I miss something? thanks
Click to expand...
Click to collapse
Are you using a terminal app on the tablet?
this folder does not show up without using a terminal app on the tablet.
once in the terminal app
cd to /mnt/secure/ to see the files. There is no asec folder. The file extension is asec as in *.asec
You bet. Android terminal emulator from the market. At /mnt (via FileManager) there are folders named secure and asec. Both are empty. Notice that when I cd to even mnt/secure I get same message "not found" Verrrrrrrry interesting!
skeeterpro said:
You bet. Android terminal emulator from the market. At /mnt (via FileManager) there are folders named secure and asec. Both are empty. Notice that when I cd to even mnt/secure I get same message "not found" Verrrrrrrry interesting!
Click to expand...
Click to collapse
I saw the samething that nothing shows up in any file manager. only in the terminal ls do the files show up.
you should definitely get a not found for mnt/secure as the actual path is
/mnt/secure/asec/
the initial / is the root of the OS. (linux or unix)
so you are looking for a dir under root called mnt -> /mnt
so if you are having difficulty finding the full path break it down into each step, and do a ls to find the next step
ie
cd /
ls
cd mnt
ls
cd secure
ls
cd asec
ls
etc
hope that helps
Permission denied in Terminal
How do I get terminal permissions?
JackedNY said:
How do I get terminal permissions?
Click to expand...
Click to collapse
Typically typing su at the $ prompt should bring up the superuser prompt (allow / deny) as seen on screen 3. If not you should be able to go into the superuser app, and specifically add terminal.
once you allow the su request the prompt should change to the
# symbol
That did it. Only difference this time was I added the ls step you suggested (ls same as dir in DOS?) Got to where I needed to be and deleted the *.asec. Thanks.
skeeterpro said:
That did it. Only difference this time was I added the ls step you suggested (ls same as dir in DOS?) Got to where I needed to be and deleted the *.asec. Thanks.
Click to expand...
Click to collapse
Exactly
Dos = Dir
Linux, Unix, OsX, Android = ls (small letters)
Awesome little tut
Was having the same issue - but not receiving an error when attempting to install - walked straight through - had to stop in the dir and see the filename to rm but worked like a champ - thanks!
Thanks for this great walk through. I followed it and was able to correct the problem I was having with some installs. I knew intellectually that Android was similar to Linux, but I did not realize how close it is. It is good to see that my Linux knowledge, I know enough to get me into and sometimes out of trouble (Linux Abuser) , can be applied somewhere else.
Thanks again!
linesma said:
Thanks for this great walk through. I followed it and was able to correct the problem I was having with some installs. I knew intellectually that Android was similar to Linux, but I did not realize how close it is. It is good to see that my Linux knowledge, I know enough to get me into and sometimes out of trouble (Linux Abuser) , can be applied somewhere else.
Thanks again!
Click to expand...
Click to collapse
Android is actually very close to OsX in the respect that it is gui first, with the BSD base doing the heavy lifting.
Android is linux in the background with a gui first to allow the ordinary user some familiarity. The reason linux on the phone is not popular and linux on the desktop is not mainstream is because the command line gets equal or higher billing.
Google was smart with Android (basically a linux port with java framework) by promoting it as a gui just like iOS even though to truely see all the potential you need to get to the command line.
NOT TO BE CONFUSED WITH ANDROID CONTROL ON THE PORTAL TODAY
Check out this awesome tool!
install and adb/sqlite/apksigning files at bottom put together by me for you!
http://androidcommander.com/
http://forum.xda-developers.com/showthread.php?t=597098
Program Features:
Explore files:
- copy multiple files/dirs between Phone and PC
- copy multiple files/dirs between Phone folders
- delete multiple files/dirs from Phone
- new dir and rename options
- drag&drop multiple files/dirs in to progrm
- drag&drop files/dirs between program tabs
- partitions size info
- bookmarks
Manage apps:
- windows integration WINDOWS WILL "know" apk files! double click to install to phone!!!!!
- backup multiple apps to any dir on Phone/PC
- batch/single apps install
- install as private
- install on SD (Froyo+ only)
- update app
- batch/single uinstall apps
- uninstall with option to keep data or not
Console:
- type any shell command
- run sh script from PC
and more...
- flashing zip and img files
- options to reboot, reboot to recovery, reboot to bootloader, power off device
- device screenshots (beta)
- signing apk/zip files
{
"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"
}
Looks like just what I needed, huge THANKS!
Looks awesome. I wish that my PC (or my brain) wasn't broken.
I haven't been able to get ADB (of any kind, from any source) to run on my win7 64 bit machine...ever. I've had the SDK installed for a while now and have tried several times to get ADB working- today is no different.
Try the adb setup link in my sig!
But you don't need to know how to use adb to use this program
Edit: I got it. The link in your sig is what saved me. Checking this out now. Thanks!!
Well it work with windows xp?
Sent from my GT-I9000 using XDA Premium App
leezrd said:
Well it work with windows xp?
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
well the site only says you need " Windows "
so probably.. no harm in trying...
TRusselo said:
well the site only says you need " Windows "
so probably.. no harm in trying...
Click to expand...
Click to collapse
Ok well thanx for helping with this wether works or not
Sent from my GT-I9000 using XDA Premium App
sorry but i dont have xp to try it and the authors website quoted in first post only says windows, im sure if there was more of a requirement he would have said so.
it runs on my win7 64x and that is usually the last supported windows so i would think xp is ok...
Doesn't recognize my phone. Droid Explorer does but this didn't. I already have adb installed on my win 7 64bit laptop.
did you point the program to where adb is installed?
TRusselo said:
did you point the program to where adb is installed?
Click to expand...
Click to collapse
Yes I did. Not sure why it won't recognize my phone.
Trouble getting hard adb root on Captivate GB 2.3.5 ROM
Android Commander 0.7.9.9 at http://androidcommander.com/ xda link http://forum.xda-developers.com/showthread.php?t=597098
I have a Samsung Captivate running a modified stock leaked GB 2.3.5 One flash ROM that has been Fugu rooted. TiBU, Rom Toolbox and other Super User apps all work.
So this program by PanPiotr looks like just what the noob in me is after, and I'm sure a few others out there too.
Once installed the program seems to be fine. I have one problem that I can't seem to overcome. That is getting a hard or adb root on the phone. I have tried to follow the instructions of PanPiotr but I don't have a boot.img file in my nandroid BU as outlined in his FAQs. Only cache.img, data.img, sd-ext.img and system.img I can use unyaffs-windows to extract the files in these but the default.prop appears to be calling to be loaded from ro.com.google.clientidbase=android-samsung, which I can't seem to find.
I can modify the default.prop ro.debuggable=0 to =1 with root explorer but just doing it in the root doesn't help. I can't seem to find out which IMG file in my nandroid BU has or how to modify the default.prop file loader to get the ro.debuggable=1 to take or stay.
Consequently the Root Access indicator always says Root Access:NO
Any help would be appreciated.
TYIA
Bud
May have this worked out.
So I flashed a custom rom and kernel. Connected Android commander to phone and I have Root access:OK. Program works great. Thanks PanPiotr.
On the brighter side of all this while in recovery mode of the new kernel (CornKernel_UCKJ3_v403) I found a way of switching the toggle for debugging enabled to on if that kernel works with the rom I was on then that will work. It should so I'll give that a try and let you know.
EDIT:
So I just finished and this worked brilliantly. Hope it helps someone else.
Bud
WOW nice tool very needed
+1
please add option for screen shots for more resolutions
Or to manually edit screen size CUSTOM.
I am using this on my sensation and image is captured but due to wrong resolution rows are shifted
Nice app bro.