How to make nexus one to find Ad hoc - Nexus One General

it looks nexus one can not find ad hoc. my computer shows it is there, but nothing appears on the nexus one.
some people said
There is a file in /system/etc/wifi called "tiwlan" - maybe we can edit it?
There is a line saying "ADHOC=0"
we can change it to ADHOC=1
Does anyone know how to edit it? I mean which software we should use to edit it?
thanks

I don't even find tiwlan.ini file on my Nexus One. Any help please?

you can use vi (a text editor for linux) to edit tiwlan.ini. but u need to mount system r/w first.

for nexus one, this is the way:
http://forum.xda-developers.com/showthread.php?t=637534&highlight=ad-hoc
it works well on cyanogenmod rom but there is problems with stock rom.

Related

[Q] Replacing build.prop?

hi!
in order to test something, i need to replace the build.prop in root/system with a modified one. but trying to delete this file with astro manager displays an error message, and just copying the modified build.prop over the old one doesn't work too (nothing happens).
so my question is: how do you replace such a file?
thanks in advance for your help
are you serious!?!?!?
If the build.prop is located on the Android folder IT HAS TO BE A SYSTEM FILE !!!
if you mod the system files you could break android or the system just won't let you do it, you will need R and W privileges to do that.
edit the system files from your PC or just boot up in to windows mobile.
use some common scene next time.
hope it helps!
Sent from my HTC HD2 using XDA App
Do you use a cyanogen build?
yes and there is already a cyanogen rom posted with the proper build.prop fixed, so you won't have to edit anything, just search for it.
Sent from my HTC HD2 using XDA App
mmmh actually cyanogen made things easy to replace a system file, just copy your file into sdcard/android/root/system and reboot.
thanks for your help / posts. but unfortunately they're not helpful.
yes, i am serious! and yes, of course it's a system file. i know as well that modification might brick android.
there are reasons for modifying this file. some people seem to be able to, e.g. for chaning screen point density or modify the data passthrough.
so, please tell me, how can i edit/modify a system file from pc or windows mobile when its within the data.img-file?
thanks for any tips / hints on this.
use root explorer
Sichroteph said:
mmmh actually cyanogen made things easy to replace a system file, just copy your file into sdcard/android/root/system and reboot.
Click to expand...
Click to collapse
Thank you VERY much for your help - I finally got it to work by listening your instructions. It is simply different if you have HD2 and plus CM mod. That figures why it was going back all the time to 180 instead of changing it - because it runs from sd card and that's where it needs to be replaced as well ...
Droid Explorer

How to host an .apk file?

Hi!
I've been trying to upload an .apk to my webhost (through ftp) and when I try to download it through the given url, the file doesn't download. Instead I only get text, just as if my host don't understand the file.
Any idea how I can fix this? Is it though .htaccess or what? /:
(I've tried to search this but with no luck)
First off I don't know too much about ftp but from what I do know I would imagine what you want to do would involve the .htaccess file in the apk's directory
My guess would be in the .htaccess file you'd have to edit/add the FilesMatch line
(if that doesn't work it may me just "Files" instead of "FilesMatch" - not sure)
Code:
<FilesMatch "\.(apk)$">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>
Other alternatives I can think of are either:
Change the link from [B]ftp[/B]://your.ftp.org/blah/android.apk to [B]http[/B]://your.ftp.org/blah/android.apk when you give it out - but I realize this kinda defeats the purpose of using a FTP in the first place
Upload the .apk into a zip. That should force the 'save as' dialog
Hopefully this does the trick for you
**I hope this post looks correct - adding the html myself I may have messed up somewhere along the line, if it you see /LIST] or anything like that I'll fix it when I have access to a computer **
Sent from my Android using Tapatalk
kyouko said:
First off I don't know too much about ftp but from what I do know I would imagine what you want to do would involve the .htaccess file in the apk's directory
My guess would be in the .htaccess file you'd have to edit/add the FilesMatch line
(if that doesn't work it may me just "Files" instead of "FilesMatch" - not sure)
Code:
<FilesMatch "\.(apk)$">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>
Other alternatives I can think of are either:
Change the link from [B]ftp[/B]://your.ftp.org/blah/android.apk to [B]http[/B]://your.ftp.org/blah/android.apk when you give it out - but I realize this kinda defeats the purpose of using a FTP in the first place
Upload the .apk into a zip. That should force the 'save as' dialog
Hopefully this does the trick for you
**I hope this post looks correct - adding the html myself I may have messed up somewhere along the line, if it you see /LIST] or anything like that I'll fix it when I have access to a computer **
Sent from my Android using Tapatalk
Click to expand...
Click to collapse
Geniuous! Worked like clockwork!
(I used the http://-link from the start, that's where it failed.. but the .htaccess content did it's job!)
1+Thanks! ^^

[q] wpa_cli file for nexus 7?

Hi,
I am going to great lengths to try to get the Nexus 7 WiFi working with ad-hoc (IBSS) internet connections and have posted some details here on my research:
http://forum.xda-developers.com/showthread.php?t=1787680
However, it seems one of the solutions for the Nexus 7 does not have a required file to fix it manually. It is the "wpa_cli" file. I want to copy it to the system/bin folder so I can test out one of the solutions...
Could someone please post the binary for the "wpa_cli" file?
Thanks in advance!

[Q] Problem to fix PAPREFERENCES Defy Green Lens

Hi all:
I was reading the response of skeevy420 in order to fix the PAPREFERENCES problem when you try to select TABLET UI workspace in Paranoid 2.14 for my Defy, but when i was trying this fix, i find another little problem, my properties.conf file is readable only and y can't change the owner by the chown command, so i can't change the permissions. I try this through Terminal Emulator following the intructions but doesn't work. Anybody can tell me how to change the owner & permissions of this file otherwise?
I appreciate a response, sorry for my bad english.
Regards.-
I found a solution for this. ES File Explorer in order to change the permissions of the file, after this, through sshdroid change the owner, select TABLET UI and restart phone. Done.
If anyone have a question, please feel free to ask.
Regards!

[Q] Edit the USB connection screen text

On the gingerbread usb screen. Does anyone know where to find the file that contains the text to tell you to click on the button below to connect to usb on my rom there is no button and you have to touch the android to connect the usb I would like to correct the text.
Thanks
Help with editing usb connection screen text
downloader50 said:
On the gingerbread usb screen. Does anyone know where to find the file that contains the text to tell you to click on the button below to connect to usb on my rom there is no button and you have to touch the android to connect the usb I would like to correct the text.
Thanks
Click to expand...
Click to collapse
Can anyone help me?
I don't know for sure, but I think it will be difficult (or let's say not worth it). You will need to find that apk (provided it is actually an apk), decompile it, find the text you want to edit inside the strings.xml (if it actually has one) and edit it, recompile it, (maybe you'll need to sign it, too) and then hope that it works (at least that's me when I try to edit apks).
I don't think it's just a text file that you edit, but I could be wrong. You can wait for more experienced users. For that, I suggest posting this in the general android forum's appropriate sub-forum. (not here in the HD2 section). You will get more responses there.
EDIT:
Done a little search and found this: http://forum.xda-developers.com/showthread.php?t=2344399
Not sure if it's applicable to the version of android you're running, but it's worth a shot. It also tells you where the text is.
USB connection ui text
Marvlesz said:
I don't know for sure, but I think it will be difficult (or let's say not worth it). You will need to find that apk (provided it is actually an apk), decompile it, find the text you want to edit inside the strings.xml (if it actually has one) and edit it, recompile it, (maybe you'll need to sign it, too) and then hope that it works (at least that's me when I try to edit apks).
I don't think it's just a text file that you edit, but I could be wrong. You can wait for more experienced users. For that, I suggest posting this in the general android forum's appropriate sub-forum. (not here in the HD2 section). You will get more responses there.
EDIT:
Done a little search and found this: http://forum.xda-developers.com/showthread.php?t=2344399
Not sure if it's applicable to the version of android you're running, but it's worth a shot. It also tells you where the text is.
Click to expand...
Click to collapse
Hi image is where you shown in above thread but can't find the text in this rom
[15-09-2012][ROM][GB][2.3.8] CyanMobileX Leo v1.0 [NativeSD][A2SD][WIP][tytung_r14]
downloader50 said:
Hi image is where you shown in above thread but can't find the text in this rom
[15-09-2012][ROM][GB][2.3.8] CyanMobileX Leo v1.0 [NativeSD][A2SD][WIP][tytung_r14]
Click to expand...
Click to collapse
Have you searched the string file? Both of them?
Marvlesz said:
Have you searched the string file? Both of them?
Click to expand...
Click to collapse
there is no string.xml in the framework-res.apk which is strange in fact there is no values folder
downloader50 said:
there is no string.xml in the framework-res.apk which is strange in fact there is no values folder
Click to expand...
Click to collapse
Then it'd somewhere else. Can you find USBmassstorage.apk in /system/app/ ?
Marvlesz said:
Then it'd somewhere else. Can you find USBmassstorage.apk in /system/app/ ?
Click to expand...
Click to collapse
No apk of that name or anything similar looks like I will have to give up thanks for your help
usb mass storage screen edit text
I have looked all over this rom [15-09-2012][ROM][GB][2.3.8] CyanMobileX Leo v1.0 [NativeSD][A2SD][WIP][tytung_r14]
can not find how to edit the text in the usb mass storage screen there must be a file somewhere with the text
I want tyo change the text below from
You have connected your phone to your computer via usb. Select the button below if you want to copy files between your computer and your android's sd card.
To
You have connected your phone to your computer via usb. Touch the android above if you want to copy files between your computer and your android's sd card.
Can anyone help me achieve this aim?
Just looked in every .xml file and can't find the text "You have connected to your computer via USB. Touch the button below if you want to copy files between your computer and your Android‘s SD card" where is it can anyone help it is a gingerbread rom and looking on github it should be in framework-res\res\values-en-rGB\string.xml but I think that is for Ice cream sandwich not gingerbread
Finally sorted it by recompiling the framework-res,apk using this guide
http://forum.xda-developers.com/showthread.php?t=2014062

Categories

Resources