Related
The problem
You have a Java application that makes use of the internet, eg Opera Mini or Google Local Maps, and you are finding that whenever it wants access the net you get prompted with a Yes/No dialog to either allow or disallow it to go through. With Opera Mini, this would occur everytime you clicked on a link to goto another page and in Google Local Maps it would happen everytime you pressed a button to scroll the map. Obviously this gets very frustrating as it slows down your use of the application.
This method of permitting net access each time it is required is known as "Oneshot".
The solution
The other method is "Session" where users are only prompted once per run of the application. However, some ROMs don't have this option under the security settings in the Midlet Manager despite being a newer version.
After much experimentation by a number of users, including myself, we have managed to determine that the rofs_target.zip file found in \Application Data\Tao\intent can be overwritten with one from a ROM where the "Session" option was available and it will give you this option in the ROM you are currently using.
1) Copy the attached cab file to anywhere on your device.
2) Make sure that you are not currently running any Java apps and that Midlet Manager has been closed down.
3) Execute the cab file and wait for it to finish.
4) Start up Midlet Manager and tap and hold on any app icon and then choose Security. Under Net Access you should now see the option of "Session".
Notes
This has only been tested on Wizard ROMs where Tao-Group's intent Midlet Manager is included. Whether it works on other devices that also have the same Midlet Manager has not been determined but other users are certainly welcome to try. The only thing the cab file does is overwrite (or create if it doesn't exist) \Application Data\Tao\intent\rofs_target.zip. It does not touch the registry or any other system related files or folders. As such it shouldn't break anything major if it doesn't work. All you would have to do is delete that zip file.
Having only been a recent "discovery", this method of getting the Session option back isn't refined as of yet. Collectively, we went through at least 3 other ways of doing it first, involving more files and doing it manually, before we arrived at the current cab installation. We may delve deeper into the folder structure found in the rofs_target.zip file to find out which file contains the appropriate setting so that we can make the solution even more compact. As such, this will be an ongoing thread and this post will be updated to include any developments.
Thanks to BAKup, gilbreen, aron7awol, gamescan
A little more information on the options this CAB adds. On a clean install you will get the following options in the Tao Java MIDlet Manager:
Net Access: No, Oneshot, Session (Session is default)
Local Connectivity: No, Oneshot, Session, Blanket (Session is default)
App Auto Run: No, Oneshot, Session (Session is default)
Messaging: No, Oneshot, Session (Oneshot is default)
Multimedia Recording: No, Oneshot (Oneshot is default)
Now, if you already have MIDlets installed you may have to remove them and reinstall to get the new options to show up. Also, you will want to make sure that the MIDlet Manager is NOT running when you install the CAB. Best advice is to do a soft reset and then install the patch immediately on boot. If you're customizing your Extended ROM, then slap it in there.
NOTE: This patch only fixes the security settings issue with the MIDlet Manager. It does not add JPEG support.
Seems to work well enough on the Hermes.
Thanks
Hi newbe from the UK here...
I have a MDA Pro with T-Mobile with the same problem, tried the fix above, copied & installed successfully... but still as before: only "Oneshot" and "No" options!!!
This is driving me insane!
Any help appreciated!
Yey! It works now!!
Just had to uninstall and reinstall the MIDlets and voila!
Reread gamescan's message
Thanks very much to all
Excellent; it works perfectly on my T-Mobile MDA Vario II with Opera Mini.
Hermes with T-mobile UK WM6 update
I was using the cab on my device (T-mobile Vario II) when it was running WM5. Having applied the recent t-mobile WM6 update, I found that the cab refused to install (citing that it was not meant for my device).
Bad times.
However, managed to force it back onto my device by opening the cab in post #2 (java_session_fix_-_june_15_2006.cab) in winzip and extract the file 00cab172.001 from it. I renamed the extracted file as rofs_target.zip and manually placed it in the location in post #1 on the device (\Application Data\Tao\Iintent) - I kept the original one backed up just in case - it was substantially larger than the replacement so you never know.
And now, once again, I can tag applets as having session based net access again!
Good times!
T-Mobile MDA pro now works with sessions
Hi
I spent ages looking for a solution this is great, I use my MDA for Betfair and could not use Betfair mobile as it kept asking for permission every page update, now it just keeps refreshing prices every 5 seconds.
A huge thankyou...
Dave
I am trying to run a program that a friend gave me when he upgraded phones.
I have a T-Mo MDA with the latest T-Mo USA ROM on it.
Whenever I try to run the app, I get th efollowing message:
The file cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. You might need to reinstall or restore this file.
I verified that all the files are there, and everything is in one directory. How can I alter/add "trusted certificates"? Do I need to unlock my phone for it to run?
Thanks!
With a simple click of the "Search button" I found THIS topic. Read over it.
Wolvereen said:
I am trying to run a program that a friend gave me when he upgraded phones.
I have a T-Mo MDA with the latest T-Mo USA ROM on it.
Whenever I try to run the app, I get th efollowing message:
The file cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. You might need to reinstall or restore this file.
I verified that all the files are there, and everything is in one directory. How can I alter/add "trusted certificates"? Do I need to unlock my phone for it to run?
Thanks!
Click to expand...
Click to collapse
try the registrywizard, available on this forum or try:
http://forum.xda-developers.com/showthread.php?t=275081&highlight=registrywizard
Thanks guys,
I found the following, however I am stuck at step 1. Can either of you assist with issuing a "Code Signing Certificate"?
Sorry, I guess I am a bit more nube than I thought...
FYI - Registry Wizard has no effect... Says my device has AKU 2.3.0 and some options will be diabled? However, "Disable Security Warnings" is checked. I applied and soft reset, still no love...
Yes I tried it and it works!
1.First you have to issue a Code signing certificate:
- Add a code signing template using Certification Authority snap-in
- Issue a code signing certificate
2. Download and Extract code signing tools:
http://ftp.intron.ac/pub/security/ra...signingx86.exe
3. Run signcode.exe on WM5 executable file using the certificate you created earlier.
4 Copy executable file to WM5 device
An trying to install navigator 6 from CD. Keep getting message that I need to update rom. Tried to do that yesterday, got into trouble and you guys saved me (thanks again) ,but still cant install navigator6. Am using TyTNII with rom version 1.81.701.1WWE radio1.27.12.11. Does anybody have any ideas?
cutter1954 said:
An trying to install navigator 6 from CD. Keep getting message that I need to update rom. Tried to do that yesterday, got into trouble and you guys saved me (thanks again) ,but still cant install navigator6. Am using TyTNII with rom version 1.81.701.1WWE radio1.27.12.11. Does anybody have any ideas?
Click to expand...
Click to collapse
Its a known issue and it doesn't matter what radio you are using. There is a fix, but it takes longer and is more of a hassle. First I don't know if you have signed up at MyTomTom.com yet or not, but you have to because the version that does work is not English speaking voices, so you will have to download an English voice. Go to the link in my signature under Programs, its called "Working TomTom", download it and install it to the device. If you need help getting the voices set up just let me know and I will walk you through it.
TYKDKobes finally got that installed. hopefully its better then the other navigation softwares I've tried so far.
Thanks will try this, finally got Nav 5 installed, but would like version 6 for newer maps. Sorry to be a bit thick, but do you mean to install the file I downloaded onto my device and the try to install Nav 6?
cutter1954 said:
Thanks will try this, finally got Nav 5 installed, but would like version 6 for newer maps. Sorry to be a bit thick, but do you mean to install the file I downloaded onto my device and the try to install Nav 6?
Click to expand...
Click to collapse
That CAB is TomTom Navigator 6. So just install it from your device.
Got it working, downloaded voices, Thanks heaps for you help!
In my signature is a link for all the free TomTom voices instead of trying to find them all. Just download the Zip file and extract it to your computer. You will need to REPLACE your current "voices" folder with this one. For instance my TomTom is installed on my Device, under Programs, Navigation, and in that folder you will see another folder called "voices" that is where TomTom stores its voices. All you are doing is taking the one you downloaded and replacing it with the old one. **this will replace any current downloaded voices**
"the zip file is located under cabs"
will install and test the application.
thanks
KDKobes said:
Its a known issue and it doesn't matter what radio you are using. There is a fix, but it takes longer and is more of a hassle. First I don't know if you have signed up at MyTomTom.com yet or not, but you have to because the version that does work is not English speaking voices, so you will have to download an English voice. Go to the link in my signature under Programs, its called "Working TomTom", download it and install it to the device. If you need help getting the voices set up just let me know and I will walk you through it.
Click to expand...
Click to collapse
Hi, can you help me, I'm trying to install Tomtom 6 to my HTC cruise. I keep getting the message to update my ROM, I tried to follow the advice in this thread, but have failed. Can you walk me through it? Cheers
what is the speed of tomtom like on your device mate? mine is painful, screen refreshes every 1.5 seconds, whereas i get 15fps on another sat nav program (which actually holds reception better than tomtom too!)
TomTom support were helpful, told me to hard reset and try again. I think its a software issue with 6.032.
The other sat nav programs arem much more graphic intensive too, so i doubt its the graphics drivers.
drkozman said:
Hi, can you help me, I'm trying to install Tomtom 6 to my HTC cruise. I keep getting the message to update my ROM, I tried to follow the advice in this thread, but have failed. Can you walk me through it? Cheers
Click to expand...
Click to collapse
Which version of TomTom did you download and install. Usually that error appears when you download the TomTomWWE(World Wide English). The one you need to download and install if you get that error is the Working TomTom CAB which can be found in my signature under CABS, Programs. Should work then.
how do I install the program from you're cab to my HTC cruise? I'm a bit of a novice at this, sorry.
Download the cab file to your computer, and copy it to your Device or Storage Card. Remember where you place the cab file because you will need to open it from you Phone using File Explorer. Now navigate to the file and click on it. It will automatically start to install, usually it will ask you to install to the Device or Storage Card, but this CAB will just install to the Device.
when I do this I get a message 'there is no application associated with..' run the application first, I can't get the tomtom application off my CD? sorry for being such a pain. Thanks for you're help.
flashy said:
what is the speed of tomtom like on your device mate? mine is painful, screen refreshes every 1.5 seconds
Click to expand...
Click to collapse
Check your GPS speed in TomTom.
Go > Change Preferences > Show GPS Status > Configure > Oter NMEA GPS receiver > GPS baud rate > COM4
The GPS baud rate should be between 4800 and 9600, if its too fast mine exhibits the jerkiness as described in your post.
drkozman said:
when I do this I get a message 'there is no application associated with..' run the application first, I can't get the tomtom application off my CD? sorry for being such a pain. Thanks for you're help.
Click to expand...
Click to collapse
Kinda confused now. What do you mean you cant get the application off your cd? If you have downloaded the cab then you dont need the CD. After moving the cab to your phone go open it, by using your phones file explorer program(single click or double click) should automatically install itself. have you made it to that point?
This is also a great resource to TomTom 6 http://forum.xda-developers.com/showthread.php?t=330235
I downloaded the cab files from you're signature and then had a list of files which weren't associated with any program (they had the generic icon next to them) I then put all these files on my micro SD and put in my phone. I then went to these files on my phone using file explorer and there was still a list of generic icons. Maybe I did something wrong in the download. I downloaded with winRAR and extracted all the files to a folder on my desktop. I really appreciate you helping me, thank you.
KDKobes said:
Kinda confused now. What do you mean you cant get the application off your cd? If you have downloaded the cab then you dont need the CD. After moving the cab to your phone go open it, by using your phones file explorer program(single click or double click) should automatically install itself. have you made it to that point?
This is also a great resource to TomTom 6 http://forum.xda-developers.com/showthread.php?t=330235
Click to expand...
Click to collapse
I downloaded the cab files from you're signature and then had a list of files which weren't associated with any program (they had the generic icon next to them) I then put all these files on my micro SD and put in my phone. I then went to these files on my phone using file explorer and there was still a list of generic icons. Maybe I did something wrong in the download. I downloaded with winRAR and extracted all the files to a folder on my desktop. I really appreciate you helping me, thank you.
drkozman said:
I downloaded the cab files from you're signature and then had a list of files which weren't associated with any program (they had the generic icon next to them) I then put all these files on my micro SD and put in my phone. I then went to these files on my phone using file explorer and there was still a list of generic icons. Maybe I did something wrong in the download. I downloaded with winRAR and extracted all the files to a folder on my desktop. I really appreciate you helping me, thank you.
Click to expand...
Click to collapse
No these files dont get extracted before moving to your phone. When downloaded the file should be a blue file folder icon called a .CAB. Once downloaded take that exact file and move it to your phone. Here is the link to the cab http://www.4shared.com/file/47123724/832a2d34/Working_TomTom.html
KDKobes said:
No these files dont get extracted before moving to your phone. When downloaded the file should be a blue file folder icon called a .CAB. Once downloaded take that exact file and move it to your phone. Here is the link to the cab http://www.4shared.com/file/47123724/832a2d34/Working_TomTom.html
Click to expand...
Click to collapse
Hey it worked, you're a dead set legend, thanks a lot mate
Im a medical student and I really would love to be able to use the newly available Android Medscape app (free from the market) on my phone.
Unfortunately, it says in description of the app that it may have problems with "rooted" phones. Im assuming it means our HD2's running android on NAND as well, because after installing the App on my phone, I am unable to update/download the Clinical reference data required for the app to work offline.
It gives the error "Internet connectivity was interrupted..Please try again"
Any help from the developers or anyone else would be very greatly appreciated
dude0014 said:
Im a medical student and I really would love to be able to use the newly available Android Medscape app (free from the market) on my phone.
Unfortunately, it says in description of the app that it may have problems with "rooted" phones. Im assuming it means our HD2's running android on NAND as well, because after installing the App on my phone, I am unable to update/download the Clinical reference data required for the app to work offline.
It gives the error "Internet connectivity was interrupted..Please try again"
Any help from the developers or anyone else would be very greatly appreciated
Click to expand...
Click to collapse
Looking at the description and the error you gave, have you tried disabling any ad-blocking software? It may be something cooked into the ROM - if so, try asking the dev how to disable it. DLing now - i'll post back what I find.
.............................
EDIT:
Ok, having found this question asked on the thread for the ROM I use, you can remove medscape from the adblock 'hosts' list. (find it in \system\etc).
Original Post URL: http://forum.xda-developers.com/showthread.php?p=11521445&highlight=block#post11521445
I had to copy the file to PC before editing and copied back again using droidexplorer.
kinsago said:
Looking at the description and the error you gave, have you tried disabling any ad-blocking software? It may be something cooked into the ROM - if so, try asking the dev how to disable it. DLing now - i'll post back what I find.
Click to expand...
Click to collapse
Thanks for the reply. I forgot to mention the ROM im using. Its Core Droid DHD 1.5, and it seems you may be right. It says in the description of the ROM that the "Adds are Blocked (Host files modified)". Is there any way to reverse this host file change?
Fixed it with the help of the developer of the Core Droid ROM. Just opened the app "Add free" and hit "revert". Restored the original host file. Medscape works now.
im having the same issue and clicking the "revert" bottom on AdFree did not fix it
I have uninstalled AdFree and have the same problem all the time. Anybody fixed this?
i had the same problem!
After i revert the hosts file in ad-free, medscape did not update the reference!
So what i did:
I did not unistall ad-free, but:
- i revert the host file 3 times in a row;
- i stopped the access of AD Free from SuperUser (root access);
- and i restart medscape (i killed the process with automatic task killer) and start it again;
- and voila, my htc g1 is updating the reference while i text.
(i don't know what are the steps that make medscape update, but i guess, is the revert host file and restart the app, to it starts didn't knowing that can't access that host to update)
I hope this help you!
Good luck
It works for me, reverted host files, stopped Adfree acces to Superuser and voila!! Medscape is updating again. Thanx
how to correct medscape installation please?thx\
SOLVED!
Just got an OTA update for my flyer and software got updated to version 2.27.1540.32
The android version is 2.2.4 while sense is 1.0
Just for the record, AdFree only works on ROOTED devices. i mentioned in another thread on xda that adfree does not work for me. with this OTA update, my Medscape is finally installing as i type this - - -
Just kill the AdFree app and immediately run Medscape app,it'll definitely take the update.I did the same and it worked
i try looking for file in \system\etc
in use editor to open file host.. thera are a lot of files,
and it make me confuse, where the file "medscape from the adblock 'hosts' list" is ???
wisnu19 said:
i try looking for file in \system\etc
in use editor to open file host.. thera are a lot of files,
and it make me confuse, where the file "medscape from the adblock 'hosts' list" is ???
Click to expand...
Click to collapse
i had found problem solve
copy host file from \system\etc (in yr device) to PC
[*]and open using worldpad in pc
[*]use search from worldpad..type medscape
[*]and delete all file which has name medscape
[*]save !!
[*]move and replace host file which edit from pc to \system\etc in yr device (use es file explorer)
[*]install again medscape
[*]and the update reference should work again..done !!
not solved for me!
Hi everyone!
Well, I've experienced the same "connectivity error" as everyone with a root cellphone, after reinstalling medscape app at my cell. I never had AdFree, and even though I'm able to found the hosts file and take a look of it with my pc it says absolutely nothing about medscape (only 127.0.0.1 localhost and emptyness after), so I guess I must be getting the wrong file or not accesing to it correctly?
I've tried everything you said, but is still not working.
I'm pretty new with android, and I would really aprecciate you help, given the fact that this is one of my favorities app!
lalauri089 said:
Hi everyone!
Well, I've experienced the same "connectivity error" as everyone with a root cellphone, after reinstalling medscape app at my cell. I never had AdFree, and even though I'm able to found the hosts file and take a look of it with my pc it says absolutely nothing about medscape (only 127.0.0.1 localhost and emptyness after), so I guess I must be getting the wrong file or not accesing to it correctly?
I've tried everything you said, but is still not working.
I'm pretty new with android, and I would really aprecciate you help, given the fact that this is one of my favorities app!
Click to expand...
Click to collapse
i just rename file host in /system/etc via root explorer..then it works like a charm
note: ypu can rename it by any programs that's can mount and write root folder and explore (es file explore,x-plore,etc)
Rename?
ivaneris said:
i just rename file host in /system/etc via root explorer..then it works like a charm
note: ypu can rename it by any programs that's can mount and write root folder and explore (es file explore,x-plore,etc)
Click to expand...
Click to collapse
i have got a file in /system/etc called "hosts" , so what should i rename it after? im using root explorer.
Thanks
Thanks Ivaneris
Iam on CM 7.2 LG p500.I had same probs and ur method really worked like a charm.I thought I almost lost it but thanks to you.BTW I renamed hosts file as explorer
Soon after having updated to oreo I started noticing something very odd: upon downloading, certain files cannot be found, or show up in the my files app or fx file manager app with the name, but when trying to access (e.g. open) are followed by an error on the lines of "need to reindex". I do just that, or refresh, or forceably stop one or both file managers, or reboot phone, but the files are eventually gone (not even showing up with the name). Anyone else having experienced this?