[Q] upload tiwlan.ini for 2.1 please - Hero, G2 Touch Q&A, Help & Troubleshooting

Hi everybody,
Could somebody be so kind and upload tiwlan.ini from a 2.1 rom please?
My wifi stopped working. I used to have 1.5. To get wifi connected to ad hoc networks, I had to edit that file and push it back using the sdk. Now that I'm on 2.1, I had to do the same. But instead of pulling the files, editing, and pushing them back, I just pushed the tiwlan.ini file I still had on my computer for 1.5. Hmmmmm laziness gets punished in my case
I could flash again, but I'd rather avoid that.
ps: I have VillainRom 7.3.2 if that matters
thanks

pieterv said:
Hi everybody,
Could somebody be so kind and upload tiwlan.ini from a 2.1 rom please?
My wifi stopped working. I used to have 1.5. To get wifi connected to ad hoc networks, I had to edit that file and push it back using the sdk. Now that I'm on 2.1, I had to do the same. But instead of pulling the files, editing, and pushing them back, I just pushed the tiwlan.ini file I still had on my computer for 1.5. Hmmmmm laziness gets punished in my case
I could flash again, but I'd rather avoid that.
ps: I have VillainRom 7.3.2 if that matters
thanks
Click to expand...
Click to collapse
Can't you just grab the file from the ROM zip? Or is it only generated when running?
Also, are you aware that VR7 (aka VR10 iirc) is not the latest? VillainROM 12 might be of interest to you.
I'm on FroydVillain so can't get that file right now.

ok got it. Thanks. The file is indeed inside the rom zip.
Anyway I upgraded, so wifi is working again thanks.

Related

deodex for the streak?? Anybody.. anybody??

Does anyone know if someone has created a deodex .zip file to flash via customer recovery?
For those that don't know, many of the apk files installed by an official rom will have a .odex file associated with them which slows down your phone considerably. These odex files interact with delvik cache and java VM and from what I understand wreak havoc on data access times and are largely uneccessary. Other dev platforms such as the droid x and evo have a .zip file that you can simply flash via recovery that will "deodex" your apps in system\apps folder. Basicially this zip will take your odex file and associated apk file and take the important information out of the odex and input it into the apk making just one streamlined faster file.... with all of your odex files gone, your phone will spend less time executing programs both for end user and core google apps and your phone will be way faster. Any idea if someone has developed this yet for the streak? Thanks
For others who, like me, didn't understand the question - read this.
But what I gathered from that wasn't that de-odexing speeds anything up, more that it makes it easier to make modifications.
Why are you posting this in more than one forum? This is the same as what you posted in the dev forum, right?
Sent from my Dell Streak using XDA App
alperin1 said:
Why are you posting this in more than one forum? This is the same as what you posted in the dev forum, right?
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
wasn't sure if anybody would follow what I am posting in the QA as most noobs are in here. Why do you care? I meant delete this one and go with the developer post anyway.
marvin02 said:
For others who, like me, didn't understand the question - read this.
But what I gathered from that wasn't that de-odexing speeds anything up, more that it makes it easier to make modifications.
Click to expand...
Click to collapse
Marvin my man.... deodexing more than doubles data access speeds for core google apps and makes the phone more snappy. Seen this performed on a droid x and an HTC evo... works wonders.
I just want to know if someone has developed a simple flashable .zip file that will deodex my system/app apk files so I can speed things up and modify my self. I don't care that dj steve's rom already has this done... I don't care for steves latest roms as they are very buggy on 3g, wifi, gps, notification bar hangs, drops data when wifi toggle is enacted, gmail won't sync... I got tired of messing with he streaddroid roms (for now) and went to stock 318 with just smokku's dj steve kernal mod which allows me to OC to 1.19ghz. I get 2000 quad out of that and I am happy, plus I get the added bonus of having a 99.9% stable rom. Can't wait to see what steve comes out with next. i always try his roms out first.
Thanks
You could probably copy you're system/app folder and write a simple batch script to use baksmali to deodex *.odex, use 7-zip command line to put the .dex file in the apk (I assume that is what has to happen), and then push that folder back to your phone with an adb push. I dont really want to try this because I'm on 319 and cant make a nandroid backup but since you can on 318 it never hurts to try.

Fix for GPS issues in Gingerbread

I found a fix on XDA forums right here. Instead of 'asia' I input north-american into the gps.conf file. For those of you that don't want tolook for the file, I have supplied the gps.conf file for you to download right here. Post responses with how well this works. Works 100% of the time for me nearly instant locks on all gingerbread ROM's I put on my device.
If you are downloading my file, simply use adb to push it to /system/etc/ and you are golden.
**Warning|Disclaimer|Blah Blah**
If you brick your phone I am not responsible ... yadda yadda, ya'll know the drill.
thank you! that did solve the problems i've been having with the latest cm builds.
Wow! Thank you so much! I went from a 2+ minute lock to a <20 second lock.
I did find a method to make this adjustment simpler. I used root explorer, available in the market, then simply copied your 'gps.text' file to system/etc. I then deleted the gps.conf file and renamed gps.text to gps.conf. Finally, I rebooted and opened maps, enabled gps, and waited for a lock. Then, after I was locked I did one final reboot and behold, locked in less than 20 seconds.
So, maybe not simpler but it can all be done without adb, straight from the phone.
Nevertheless, thank you, thank you, annnnnd thank you!
Sent from my T-Mobile myTouch 3G Slide using XDA App
Did you guys use his file or make your own? Mine already said North America but was missing the extra servers.
skulnik, is your phone s-off? I can never make that kind of change with root explorer. It acts like it did something, but it doesn't. Same with ADB if the phone is on.
I read on another thread that apparently if you are s-off, you need to go into recovery, mount system and then use adb to push the files.
I am not sure this worked for me though, once I got the file in there, nothing much changed. I used the old fix which involved putting the cm6 gpslib.so file into the system/etc folder. Using both, I seemed to get a quick lock.
I made flashable fix for myself that includes both fixes and the wifi fix (just in case) and things seem better on both CM7 and the xm rom based on CM7.
The extra servers is what made the difference for me. Glad that this is helping. I stopped using cm7 for the longest time because GPS wouldn't lock for me. I loaded the xm7 and is was so awesome I just HAD to find something to make GPS work because I rely on it all the time. Downtown San Antonio is very easy for me to get lost in and MapQuest was never reliable.
Sent from my T-Mobile myTouch 3G Slide using XDA App
I used a different file after reading his method. However same concept of replacing the config file. I'm just rooted without s off. Another method to replace the file is to mount via clockwork and use android commander to push the file. FYI after this i now I get an accurate gps lock in under 10 seconds.
WhoWhere said:
I used a different file after reading his method... after this i now I get an accurate gps lock in under 10 seconds.
Click to expand...
Click to collapse
What file did you use or what did your file contain? Locks are still taking around a 1 min for me.
ovar said:
What file did you use or what did your file contain? Locks are still taking around a 1 min for me.
Click to expand...
Click to collapse
I used the gps.conf file for the us midwest file on this thread: http://forum.xda-developers.com/showthread.php?t=953630
WhoWhere said:
I used the gps.conf file for the us midwest file on this thread: http://forum.xda-developers.com/showthread.php?t=953630
Click to expand...
Click to collapse
Thanks a ton. Instant locks!
WhoWhere said:
I used the gps.conf file for the us midwest file on this thread: http://forum.xda-developers.com/showthread.php?t=953630
Click to expand...
Click to collapse
You just used the gps.conf file right? Nothing else?
jacewt said:
You just used the gps.conf file right? Nothing else?
Click to expand...
Click to collapse
Yep thats all I did. But you may want to use a different file based off your location if you aren't in that area of the us
WhoWhere said:
Yep thats all I did. But you may want to use a different file based off your location if you aren't in that area of the us
Click to expand...
Click to collapse
Thanks! I used the southwest file and I am getting real fast locks, even indoors. I wonder if I need to keep a northeast file for when I travel east.
Just want to make sure i get the steps right, all i have to do is unzip the .zip file, put gps.conf in platform-tools folder for android sdk, run adb and type "adb push gps.conf /system/etc/" right? It's been a while since i did any sort of work with adb, so i don't want any major goof-up.
txdeathray said:
Just want to make sure i get the steps right, all i have to do is unzip the .zip file, put gps.conf in platform-tools folder for android sdk, run adb and type "adb push gps.conf /system/etc/" right? It's been a while since i did any sort of work with adb, so i don't want any major goof-up.
Click to expand...
Click to collapse
You could do that or a more foul proof method would be to use android commander. Just mount the system in clockwork plug your phone in "assuming you already have adb, jdk etc. Installed" and push it that way. Android commander is pretty much a gui for adb... also could push it in terminal emulator if you were feeling adventurus. hope this helps. Android commander is most likely going to be the safest method for you. That way you can easily do a backup of the file. Though I would do a nandroid backup just to be safe.
WhoWhere said:
You could do that or a more foul proof method would be to use android commander. Just mount the system in clockwork plug your phone in "assuming you already have adb, jdk etc. Installed" and push it that way. Android commander is pretty much a gui for adb... also could push it in terminal emulator if you were feeling adventurus. hope this helps. Android commander is most likely going to be the safest method for you. That way you can easily do a backup of the file. Though I would do a nandroid backup just to be safe.
Click to expand...
Click to collapse
Haha thanks, definitely gonna give Android commander a try. And definitely gonna remember that nandroid backup (lol, learned it the hard way today).
txdeathray said:
Haha thanks, definitely gonna give Android commander a try. And definitely gonna remember that nandroid backup (lol, learned it the hard way today).
Click to expand...
Click to collapse
Sorry guys, no dice for me, same performance as before.... dunno why...
Sent from my T-Mobile myTouch 3G Slide using xda premium
Ekorshus said:
Sorry guys, no dice for me, same performance as before.... dunno why...
Sent from my T-Mobile myTouch 3G Slide using xda premium
Click to expand...
Click to collapse
hmm can't imagine why it would be different for you. Did you push the correct GPS file for your location & confirm that it took the change /view the file after you pushed the file/rebooted your phone?
Yeah, took the midwest file & moved it to the system/etc folder & removed the old file., did it all w/ root explorer rebooted the phone & everything... got the same performance as I did before, 2 min or so for a lock. Then consecutive, immediate locks as long as I didn't leave the maps app alone for too long.. @ one point I wound up using gpsfix to actually get a damn lock, it was so bad....
I'll just have to settle for slow locks.
Sent from my T-Mobile myTouch 3G Slide using xda premium
Ekorshus said:
Yeah, took the midwest file & moved it to the system/etc folder & removed the old file., did it all w/ root explorer rebooted the phone & everything... got the same performance as I did before, 2 min or so for a lock. Then consecutive, immediate locks as long as I didn't leave the maps app alone for too long.. @ one point I wound up using gpsfix to actually get a damn lock, it was so bad....
I'll just have to settle for slow locks.
Sent from my T-Mobile myTouch 3G Slide using xda premium
Click to expand...
Click to collapse
Hmm. I wonder if it's a hardware or driver problem. One thing I did want to note; I had tried using the latest version of root explorer to replace the file, mounting the system as write, etc prior to using adb. The result showed the file as being replaced however after rebooting to confirm changes the file was back to default. It might be worth double checking the file to confirm that the replacement actually took. If not possibly mount the system in clockwork and push the file using adb.
Hmmmmm, good call, I DID make sure to mount the system as r/w as opposed to r/o but I didn't chk to see if the file got overwritten by the system on restart (if I'm understanding you correctly?).
I'll try it again, this time using adb...
Sent from my T-Mobile myTouch 3G Slide using xda premium

[Solved] FM Radio in Liberty ROM

I originally posted this wondering if anyone had success installing the Stock Blur FM Radio on top of Liberty (or another ROM for that matter).
I finally got it working by pushing 6 files to various locations in the system folder and setting their permissions respectively. I originally had some trouble because several of the files already existed, and I left them as-is. I found that I had to overwrite all the files with newer ones (which I got from Eclipse 1.2).
If anyone else is interested in installing the FM Radio, I have made and attached two update.zip files that can be flashed from BSR. You only need one, so just choose the one you are most comfortable with.
1) FMRadio-update_system.zip
This will install the FM radio to your /system/app folder. (The app should show up in your app drawer automatically)
2) FMRadio-update_user.zip
This will install the FM radio to your /data/app folder. But the app may not show up in your app drawer automatically. You might have to use use a file browser to run/install the file "com.motorola.motofmradio.apk" in the /data/app folder.
Alternatively, if you want to place all the files manually, you can download either zip and put the included files in the following locations (required permissions are in bold)
/data/app/com.motorola.motofmradio.apk rw-r-r
/system/app/FMRadioService.apk rw-r-r
/system/bin/fmradioserver rwx-rx-rx
/system/lib/libFMRadio.so rw-r-r
/system/lib/libfmradioplayer.so rw-r-r
/system/lib/libfmradio_jni.so rw-r-r
Special thanks to nitroglycerine33 for the files. They all came from Eclipse 1.2
What's FM radio?
The Droid X2 has built-in hardware for an FM Radio. The stock ROM came with an app that let's you access the radio. This is really useful when you want to listen to live music (or NPR etc) and you don't have good 3G or wifi service.
There are no apps on the Market that work with the specific chipset in our phones, so the functionality of the stock moto software cannot be replaced by another app.
ignore this
I was also trying to get FM radio to work with liberty.
I downloaded spirit FM radio from market and.it works.
U have to go into settings and choose one.of the.Motorola hardware for it to work right but it does work after u change the settings...
---------- Post added at 01:33 PM ---------- Previous post was at 01:25 PM ----------
Only thing is I haven't been able.to figure out.how to adjust volume...
But it does work...open spirit FM...press menu..settings...audio settings...method...choose.one.of the.Motorola ones...best.I can do...seems to turn on.Bluetooth for some reason...
Thanks ash. I did try Spirit radio, but didn't get it to work. I didn't realize there were hardware settings. Maybe I'll try it again now that you told me how.
Anyway, if you want the Stock FM Radio, you can probably follow the solution I posted above. Let me know which radio you think is better, and if you try my fix, let me know if it worked.
Thanks!
ricovox said:
Thanks ash. I did try Spirit radio, but didn't get it to work. I didn't realize there were hardware settings. Maybe I'll try it again now that you told me how.
Anyway, if you want the Stock FM Radio, you can probably follow the solution I posted above. Let me know which radio you think is better, and if you try my fix, let me know if it worked.
Thanks!
Click to expand...
Click to collapse
Oh no....I definitely like stock app better....didn't realize u got it working...no volume control and needs root access for spirit...stock is better....
If anyone else is interested in installing the FM Radio, I added a few update.zip files in the OP.
ricovox said:
If anyone else is interested in installing the FM Radio, I added a few update.zip files in the OP.
Click to expand...
Click to collapse
Sweet! Thank you.
EDIT: zip works like a charm.
Sent from my DROID X2 using XDA App
Works with Molten 2.1 too.
Your zip works with Motlen 2.1 too. Thanks again!
You rock. Thanks for bringing back my radio
Has anyone had any luck getting these files to work in Molten v2? I get a parse error when trying to install. If I open them as a zip file and extract the APK's and install the FM radio icon is installed but when opening the app it either hangs or force closes constantly.
Mrfixitx said:
Has anyone had any luck getting these files to work in Molten v2? I get a parse error when trying to install. If I open them as a zip file and extract the APK's and install the FM radio icon is installed but when opening the app it either hangs or force closes constantly.
Click to expand...
Click to collapse
The zip worked for me with Molten 2.2.
How are you trying to install the zip?
You say tried to extract the apk from the zip. If you do that you need to put the apk in /system/app and you will also need to extract the library files from the zip and put them in /system/lib. Then make sure you set the permissions that same as the other files in those directories.
Mrfixitx said:
I get a parse error when trying to install.
Click to expand...
Click to collapse
You need to use the Boot-Strap-Recovery (BSR) by Koush to install the zip. (i.e. Not the default moto recovery). If you are already using BSR, then perhaps you can re-download the zip file and try again.
BTW, These zips should work (in theory) with any current ROM on the X2, because the only custom recovery we have so far is BSR, and the updater script in the zip IS compatible with installation via BSR. Also, I doubt there are any ROMs that use different system, lib, and app folders than the ones these files are installed into. So there should be no reason I can think of that this fix wouldn't work on any of the current ROMs.
I've personally tested it on Liberty, hedwig has had success on molton (thanks for testing and reporting, hedwig), and it obviously isn't necessary at this point on Eclipse. Anyone should feel free to post their results with other ROMs.
hedwig34 said:
...you need to put the apk in /system/app and you will also need to extract the library files from the zip and put them in /system/lib...
Click to expand...
Click to collapse
And don't forget about the one that goes in /system/bin
It really is easier to just use the update.zip if you can get it to work
Hi all, I may be talking out of my hat but in my case I have (3, maybe 4 times so far) successfully installed the stock FM app using TB.
Before wiping and installing a new ROM I make a TB backup of both:
FM Radio 2.3.4
FMRadioService 2.3.4
And I simply restore both of these after my new ROM is up and running. Currently I have this working on Molten 2.1
derelictarchive said:
...I simply restore both of these after my new ROM is up and running. Currently I have this working on Molten 2.1
Click to expand...
Click to collapse
Thanks for the info. It's nice to know that works on Molten.
Originally I tried to install just those two files (taken from Eclipse) on top of a Liberty install, and it didn't work. I assume it was because the lib and bin files from Liberty were not compatible with the apks from Eclipse for some reason (digital signature etc?). But perhaps that incompatibility is not an issue in Molten. Whatever the case, I certainly advocate using the simplest and easiest method possible to install the radio. If you can get away with using TB, that's great. The update.zip file is just a good, sure method that should work on any ROM.
I hope this isn't too late of a reply but I wanted to report on the above.
I have just installed liberty 3 and I used titanium backup to install the radio just as I did with molten 2.1.
It is working perfectly.
I will say that my backups are from the 2.3.4 SBF. I cannot say if backing the files from eclipse or anywhere else would work.

original instructions for GB Battery Fix v0.8?

I have the .zip file from the GingerBread Battery Fix v0.8 thread that I downloaded to my computer on 1/21/12. What were the original instructions to use the file? I have a replacement X2 with 2.3.5 and I need to fix the battery issue.
LINK to thread.
Thanks.
Aren't the instructions by Lorenzo on the last page of that thread what you're looking for? The zip doesn't work via CWM so you'll have to use something like File Expert to place them in those locations manually and set permissions. You'll want to use the ones in there from 2.3.3 if I remember correctly. Those are the ones in the system folder, not the backup 2.3.5 folder.
Sent from my Android device using Tapatalk
royta said:
I have the .zip file from the GingerBread Battery Fix v0.8 thread that I downloaded to my computer on 1/21/12. What were the original instructions to use the file? I have a replacement X2 with 2.3.5 and I need to fix the battery issue.
LINK to thread.
Thanks.
Click to expand...
Click to collapse
not sure if your problem was solved, but as of now, you cant really just flash the zip. you have to open the zip, get the lib and bin files, and put them in their respective plkaces using a file explorer. in the same thread you linked, it has the folders that these need to be in. if on 2.3.5, why not just flash eclipse? stock just sounds yuck.
I thought that I flashed it on my old phone, which was running 2.3.4. Will flashing not work with 2.3.5?
I'll probably give Eclipse a shot, but I rely on BT, wifi, GPS, various mapping programs, camera, and video camera, and I'm hoping those things run well on it. From what I've read, GPS might not work quite as well as I need it to.
I'm trying to find the time after work to study up on this stuff and start trying some different things out. Roms, the V8 or V6 speed packages, etc. I'm hoping to find something I'll be happy with.
Thanks for the help.
Sent from my DROID X2 using Tapatalk 2

[Q] How To Use .apk.p Files From OTA Update? Is It Possible?

I want to try and flash a single patched .apk from the OTA update everyone else got except T-Mobile (I am looking at the AT&T update specifically). Yes, I could wait until we get ours, but I also want to learn. For what it's worth, I want to try and flash the patched bluetooth.apk to see if it fixed my bluetooth issues.
First off, is it even possible to flash or push a single patch file from an OTA update like that? If not, can I somehow decompile the patch and the original .apk, combine, and flash that? Do I need to extract the apk.p somehow?
Second, how can I deodex it for my ROM? Most decompliers I have seen don't recognize the apk.p format, only .apk. Obviously I can change the extension, deodex it with a tool, then change it back, but I don't know if that's "correct".
Any input on this would be great! Thanks in advance!
PS - Sorry this is posted in two areas, but I thought maybe here was a better spot than device specific. If there is an issue please move/delete as needed. Thanks!
Bump! Is there anyone out there that can direct me to a thread or something about it?

Categories

Resources