I'm looking to fix my GPS issues once and for all. It's really frustrating that on some ROMs, my GPS locks within 10 seconds and on others, I can't get a lock at all. So my question to developers is this, what are the underlying GPS configuration files? Besides /etc/gps.conf - where are the actual binaries responsible for GPS behavior?
Thanks
penninajx said:
I'm looking to fix my GPS issues once and for all. It's really frustrating that on some ROMs, my GPS locks within 10 seconds and on others, I can't get a lock at all. So my question to developers is this, what are the underlying GPS configuration files? Besides /etc/gps.conf - where are the actual binaries responsible for GPS behavior?
Thanks
Click to expand...
Click to collapse
I've had the same issues on all roms you can think of. I'm now on the new baseband on a stock GB and couldn't be happier. Locks are almost instant.
penninajx said:
I'm looking to fix my GPS issues once and for all. It's really frustrating that on some ROMs, my GPS locks within 10 seconds and on others, I can't get a lock at all. So my question to developers is this, what are the underlying GPS configuration files? Besides /etc/gps.conf - where are the actual binaries responsible for GPS behavior?
Thanks
Click to expand...
Click to collapse
I would also be interested in this information. I have been reading around like crazy trying to figure out how to locate and open the files for specific pieces such as GPS and bluetooth. I have learned an incredible amount the last week but i can only read so fast. Any pointers from people, such as links to go read, would greatly help in all the searching around I am doing.
Assuming we can find and grab the GPS files, does this require any decompiling of code? (Yes I am searching for this info as well on the net but can only read so fast).
With CM 7.2 & Faux - stable versions - March BB
http://review.cyanogenmod.com/#/c/6774/1
Paul ReiouxJul 17, 2011
Patch Set 1:
Yes, the cold start may take up 3~4 mins depending on availability of clear sky. Warm start locks instantly. Not sure if clock sync or lack of ephemeris data is the culprit or just an LG implementation issue.
Click to expand...
Click to collapse
http://review.cyanogenmod.com/#/c/6766/
star: Don't inherit GPS config
* Let the devices specify their own gps.conf. Google's servers don't
work well at all on the G2X.
Click to expand...
Click to collapse
I was wondering the same thing and I just happened to be browsing gerrit and found these two items good to know info...
I attached the gps.conf file that I use...it's pretty much the one from the v21y update (screenshot attached)...has worked for me pretty well (around 10 sec lock) compared to the default CM gps.conf which references SuplRootCert, lists north american ntp server and phone type as utms...
EDIT: zip file is now flashable in CWM thanks xBkKx!!! (attached here as well so that way no one has issues)
djvoleur said:
I attached the gps.conf file that I use (zip NOT flashable-permissions must be rw-r--r-- and put into /system/etc)...it's pretty much the one from the v21y update (screenshot attached)...has worked for me pretty well (around 10 sec lock) compared to the default CM gps.conf which references SuplRootCert, lists north american ntp server and phone type as utms...
Click to expand...
Click to collapse
I will have to give this file a try. I like gems like this, it has given me some more ideas
djvoleur said:
http://review.cyanogenmod.com/#/c/6774/1
http://review.cyanogenmod.com/#/c/6766/
I was wondering the same thing and I just happened to be browsing gerrit and found these two items good to know info...
I attached the gps.conf file that I use...it's pretty much the one from the v21y update (screenshot attached)...has worked for me pretty well (around 10 sec lock) compared to the default CM gps.conf which references SuplRootCert, lists north american ntp server and phone type as utms...
EDIT: zip file is now flashable in CWM
Click to expand...
Click to collapse
I have found that setting INTERMEDIATE LOCATION = 1 and THRESHOLD = 1000 to work better/faster for cold starts. sometime helps hot start too. the rest of my gps.conf looks like what you posted.
what it does is before I can get a full lock on the satellite, it'll try to compute your location with whatever data it got... giving less accurate but still a decent lock; faster.
(sry, dont remember the exact spelling of the parameter, you should see it in the conf file though)
The .zip file threw an error for me when I tried flashing it in CWM. So I opened up the file to cut and paste the relevant changes into my existing /system/etc/gps.conf file. The changes worked really well. Locks as fast as stock 2.3.4! BTW I am using Temasek 128 and Faux 050stable if that matters?
I noticed in the .zip file "ACCURACY_THRESH =" was initially commented out. I first tried it like that with "#ACCURACY_THRESH = " and it seemed to be working OK without passing this line of code. But, I too am finding it's better to include that line and lower the accuracy threshold...
atb1183 said:
I have found that setting INTERMEDIATE LOCATION = 1 and THRESHOLD = 1000 to work better/faster for cold starts. sometime helps hot start too. the rest of my gps.conf looks like what you posted.
Click to expand...
Click to collapse
My initial locks were taking about 60-120 sec. while in the house or in the car. Now I am seeing 12-20 seconds or as little as 5 seconds with a completely clear view of the sky! After that initial lock, I am getting really instantaneous GPS locks.
Muchas Gracias:good:
---------- Post added at 02:30 PM ---------- Previous post was at 02:23 PM ----------
penninajx said:
I'm looking to fix my GPS issues once and for all. It's really frustrating that on some ROMs, my GPS locks within 10 seconds and on others, I can't get a lock at all. So my question to developers is this, what are the underlying GPS configuration files? Besides /etc/gps.conf - where are the actual binaries responsible for GPS behavior?
Thanks
Click to expand...
Click to collapse
Besides thanking djvoleur and atb1183 for the fix... I want to thank you for posting this thread! By following this thread, I finally got my CM7 GPS working as well as stock 2.3.4!!!:good:
djvoleur said:
http://review.cyanogenmod.com/#/c/6774/1
http://review.cyanogenmod.com/#/c/6766/
I was wondering the same thing and I just happened to be browsing gerrit and found these two items good to know info...
I attached the gps.conf file that I use...it's pretty much the one from the v21y update (screenshot attached)...has worked for me pretty well (around 10 sec lock) compared to the default CM gps.conf which references SuplRootCert, lists north american ntp server and phone type as utms...
EDIT: zip file is now flashable in CWM
Click to expand...
Click to collapse
I get an error when trying to flash this
What CWM version do you have? And what error?
Sent from my LG-P999 using Tapatalk 2
djvoleur said:
What CWM version do you have? And what error?
Click to expand...
Click to collapse
I used CWM 5.0.2.0 and the error reads...
Installing update...
E:Error in /sdcard/Boat_Browser_Free/downloads/gps-conf-flashable.zip
(Status 6)
Installation aborted.
I was able to view the contents of the file, so I just cut and paste your code fixes into my gps.conf file. Its working great - Thanks!
hairycheapo said:
I used CWM 5.0.2.0 and the error reads...
Installing update...
E:Error in /sdcard/Boat_Browser_Free/downloads/gps-conf-flashable.zip
(Status 6)
Installation aborted.
I was able to view the contents of the file, so I just cut and paste your code fixes into my gps.conf file. Its working great - Thanks!
Click to expand...
Click to collapse
i got the same error, same CWM version. how exactly did you go about cutting and pasting the fixes into the android system file (gps.conf)?
yourwhiteshadow said:
i got the same error, same CWM version. how exactly did you go about cutting and pasting the fixes into the android system file (gps.conf)?
Click to expand...
Click to collapse
I think I had to use Script Manager to make the changes stick. If using Script Manager, tap the ".." until you find yourself at the root of your file system. Select system, then etc, and if you scroll down a little you should find an individual file named gps.conf. Open as a text file and use SM Editor to make the changes. Press the menu button > Save when you are done (although if you forget, I think the program still prompts you when you try to exit out). I could post a screen shot of how the file looks after making changes, but I gotta break up a fight now between a 5,4, and 2 year old...
hairycheapo said:
I think I had to use Script Manager to make the changes stick. If using Script Manager, tap the ".." until you find yourself at the root of your file system. Select system, then etc, and if you scroll down a little you should find an individual file named gps.conf. Open as a text file and use SM Editor to make the changes. Press the menu button > Save when you are done (although if you forget, I think the program still prompts you when you try to exit out). I could post a screen shot of how the file looks after making changes, but I gotta break up a fight now between a 5,4, and 2 year old...
Click to expand...
Click to collapse
thanks, ended up using ES file explorer and giving it root access, copied and pasted the file to the necessary location. GPS locks are almost instantaneous now, not sure why all the ROMs can't just use that file.
Right! Why is it such an easy fix, but CM and other devs neglect it? BTW I prefer ES too. The file explorer is better and the text editor is easier to use.
djvoleur said:
I attached the gps.conf file that I use...it's pretty much the one from the v21y update (screenshot attached)...has worked for me pretty well (around 10 sec lock) compared to the default CM gps.conf which references SuplRootCert, lists north american ntp server and phone type as utms...
EDIT: zip file is now flashable in CWM
Click to expand...
Click to collapse
I couldn't even get a lock with the one I had -_- works great now appreciate the file.
E: this zip should flash properly gps.config-CWM.zip
Sent from my LG-P999
Three little files lol
Wow, yes! This has fixed my GPS locks. They are now instant. Anyone having any issues GPS wise should use this file. Thanks!
Related
Hi everyone, as many of you guys have noticed, the newer firmwares do not come with the Amazon MP3 application. For those of you who want this, here is a tutorial on installing.
First, download the com.amazon.mp3.zip file uploaded, and place it on your desktop. DO NOT OPEN IT OR EXTRACT IT. Change .zip extension to .apk. For those of you who do not know how to do that, hit Start> My Computer> Organization> Folder and Search Options> and Uncheck "Hide Extentions for Known File Types". Then, delete the .zip extension and type in .apk. Have your G1 ready and plugged in, as you will be using ADB to install this program.
Open up command prompt and type:
cd desktop
adb install com.amazon.mp3.apk
exit
It should now be installed!
For those of you who do not have ADB installed for whatever reason, place the com.amazon.mp3.apk onto your SDcard. Then, using a file manager on your G1 (I use OIfilemanager) navigate to the location where the file is placed and install.
Also, the com.amazon.mp3.apk can also be extracted directly from RC and JF 1.4x builds.
NOTE TO MODS: I understand that Amazon MP3 is not an open source application. Therefore, if for any reason if you guys do not feel that uploading this apk is allowed, feel free to remove this post.
Paying $1 per mp3 can add up over time
With RC 33 i wanted to removed this program, now that JF 1.50 removed automatically, do you believe that i will tried this? But thanks anyway...
PS- People DL music MP3's on theirs PC' for free, Amazon Sucks!
Sometimes I find Amazon MP3 useful for previewing a CD while I am at the library.
By the way, there is no need to distribute the apk here when anyone can just extract it themselves legally from an official update.zip
jashsu said:
Sometimes I find Amazon MP3 useful for previewing a CD while I am at the library.
By the way, there is no need to distribute the apk here when anyone can just extract it themselves legally from an official update.zip
Click to expand...
Click to collapse
Yeah I understand that, I'm just saving them the trouble of having to do it themselves. However, when you say "legally" do you mean distributing this apk is illegal? If so I will remove it.
SolemnWishing said:
However, when you say "legally" do you mean distributing this apk is illegal? If so I will remove it.
Click to expand...
Click to collapse
It's not expressly forbidden. The general stance on xda is as long as the software in question isn't payware, then it is okay (of course a mod is free to make a judgement otherwise). However, everyone should have a RC33 or somesuch build lying around that they can extract the file from themselves anyway.
Seems that most folks don't appreciate the usefulness of Amazon MP3 as a source of track preview. I just wish that it still integrated into ShopSaavy and CompareEverywhere. Used to be you could scan a barcode of a CD and it would pull up the CD on Amazon MP3. If anyone knows how to make this work with current software versions, let me know.
Thank you for the explicit directions. This worked great on my G1 and my friend's using a mac.
Well, I guess that means we will wait for a mod to say something... next in line.. PDFviewer.
Okay, PDFviewer will not work on my JF1.50 build. Just for fun I also tried to push the H build camera and the H build dialer. The pushed camera resulted in the camera app disappearing all together along with the camcorder, gallery and picture frame widget. The H build dialer caused the phone to be completely unresponsive.
Remember, always use a Nandroid backup when attempting risky procedures
SolemnWishing said:
Well, I guess that means we will wait for a mod to say something... next in line.. PDFviewer.
Okay, PDFviewer will not work on my JF1.50 build. Just for fun I also tried to push the H build camera and the H build dialer. The pushed camera resulted in the camera app disappearing all together along with the camcorder, gallery and picture frame widget. The H build dialer caused the phone to be completely unresponsive.
Remember, always use a Nandroid backup when attempting risky procedures
Click to expand...
Click to collapse
If you want to extract features from Haykuro's H build for 1.50 installation, I suggest you hook up ddms so you can get realtime debugging and see what libraries/functions are being called that are causing problems. It should work in the emulator too.
By the way PDFViewer's dependencies have been well established, but the program checks some unknown properties of the build and will refuse to run for non-HTC builds. Decompiling the dex might lead to clues as to what it is and how to workaround it or patch the apk. I'm actually hoping it will just run unmodified on the official T-Mo 1.5 rom expected any day now.
jashsu said:
If you want to extract features from Haykuro's H build for 1.50 installation, I suggest you hook up ddms so you can get realtime debugging and see what libraries/functions are being called that are causing problems. It should work in the emulator too.
By the way PDFViewer's dependencies have been well established, but the program checks some unknown properties of the build and will refuse to run for non-HTC builds. Decompiling the dex might lead to clues as to what it is and how to workaround it or patch the apk. I'm actually hoping it will just run unmodified on the official T-Mo 1.5 rom expected any day now.
Click to expand...
Click to collapse
hehehhe! We can always dream can't we...
lol HTC dream.. well, I do not know how to work apps, or port them or anything, so that is pretty much out of the question. Ill just stick with the obvious ones.
Much thanks!! I wanted Amazon back.
thanks
works on JF flawless. no issue yet. Thanks.
I installed the Amazon MP3 apk night before last and found that the search function wouldn't open its search box. I uninstalled and then pushed it to /system/app via adb and now it works just fine. FWIW, I have apps on SD (the symlink version).
That is good, and does anyone know if the Teeter game from the original Haykuro H build requires some sort of special resource or something? As the game installs, but force closes on startup.
thank you very much for this... anybody got a fix for myfaves???
jashsu said:
If you want to extract features from Haykuro's H build for 1.50 installation, I suggest you hook up ddms so you can get realtime debugging and see what libraries/functions are being called that are causing problems. It should work in the emulator too.
By the way PDFViewer's dependencies have been well established, but the program checks some unknown properties of the build and will refuse to run for non-HTC builds. Decompiling the dex might lead to clues as to what it is and how to workaround it or patch the apk. I'm actually hoping it will just run unmodified on the official T-Mo 1.5 rom expected any day now.
Click to expand...
Click to collapse
hehehe. the properties aren't unknown. It's a library, and 2 framework files.
TheDudeOfLife said:
hehehe. the properties aren't unknown. It's a library, and 2 framework files.
Click to expand...
Click to collapse
So you have PDFViewer working without the "Only for HTC devices" nag screen?
Haha mind enlightening us??
someone run some diffs on thedudes libs and framework files =P!
Hi All,
Here is my second contribution to the Android community, android2sd!
I tried to make the installation a bit more straight forward and the readme very verbose.
There is NO going into recovery and wiping of the Android to install this construct. (Of course you can if you want to have a clean slate to build from but it is by your choice only!)
Remove .zip from filename, then unrar (sorry to zip users, zip was too big) the package and copy the android2sd.sh install script to the Android say /data/local and make executable with something like chmod 0750 and copy the android2sd.img install image to the sdcard. (Detailed instructions are in the readme file.) Once the install is complete, you can delete both install files.
Execute the script {where ever you installed it}ie:
/data/local/android2sd.sh and follow the instructions.
Included are several of my scripts (updated from the ones in data2sd) and the rules still apply, adjust or remove as you see fit. The readme explains them all.
I have noticed an improvement in speed based on the install, but you can judge for yourself and tweak as you see fit!
The construct uses Overlay Profiles to overlay the Android system and thus any changes to the Android once loaded, are actually done to the overlay profile thus you have like a safe mode which is the untouched Android under the overlay.
Hope you find it useful!
Darkstrumn
Darkstrumn said:
Hi All,
Here is my second contribution to the Android community, android2sd!
I tried to make the installation a bit more straight forward and the readme very verbose.
There is NO going into recovery and wiping of the Android to install this construct. (Of course you can if you want to have a clean slate to build from but it is by your choice only!)
Remove .zip from filename, then unrar (sorry to zip users, zip was too big) the package and copy the android2sd.sh install script to the Android say /data/local and make executable with something like chmod 0750 and copy the android2sd.img install image to the sdcard. (Detailed instructions are in the readme file.) Once the install is complete, you can delete both install files.
Execute the script {where ever you installed it}ie:
/data/local/android2sd.sh and follow the instructions.
Included are several of my scripts (updated from the ones in data2sd) and the rules still apply, adjust or remove as you see fit. The readme explains them all.
I have noticed an improvement in speed based on the install, but you can judge for yourself and tweak as you see fit!
The construct uses Overlay Profiles to overlay the Android system and thus any changes to the Android once loaded, are actually done to the overlay profile thus you have like a safe mode which is the untouched Android under the overlay.
Hope you find it useful!
Darkstrumn
Click to expand...
Click to collapse
Damn man. Good work.
sounds interesting, what is this all about?
brilliant?!? I think.
So basically, this is a non-destructive method that enables us to run new roms on the G1 without flashing? Am I reading this right? If so... wow.
edit: or, erm... maybe not... i think i've been up too long. Gonna have to watch this thread to get a better grasp on this. interesting nonetheless.
Rename To RAR
Darkstrumn said:
Remove .zip from filename, then unrar (sorry to zip users, zip was too big) the package and copy the android2sd.sh install script to the Android say /data/local and make executable with something like chmod 0750 and copy the android2sd.img install image to the sdcard. (Detailed instructions are in the readme file.) Once the install is complete, you can delete both install files.
Click to expand...
Click to collapse
very interesting .. at first i failed to see this part as i'm sure many pay skip over the whole "rename to rar" thing - LOL - so this loads profiles from the SD to the phone
for anyone having trouble with the whole "rename" process try this:
http://files.lucidrem.us/jf/android2sd.rar
as i know windows with hidden file extensions does not allow a rename easily
So what exactly does this do? I see install instructions, but no description.
Overlay Profiles...
tr.slate said:
So what exactly does this do? I see install instructions, but no description.
Click to expand...
Click to collapse
Well,
I've worked up the natural progression to this XXX2SD business, and have made an Android2SD construct which can expand the Android similarly to the the previous constructs, but puts /system, /data and /cache on sd.
So let me explain the overlay thing:
An overlay profile is a snapshot of the Android file system, namely /system, /data, and /cache.
The initial profile is called 'android2sd' and is a snapshot of your android at the time of install, plus the file system structure as explained in the readme adding the mnt/ dir structure and additional scripts in bin/ (which you can remove or adjust as you need).
Typically I reckon folks would only have the one profile and under it your original Android. But you can create additional profiles and set them up however you like. The overlay is overlayed on top of the Android file system with any changes or edits to the system affecting the profile and not the Android under.
The effective change is that the /system /data/, cache are moved to the sdcard thus expanding them to however large your sdcp2 is; on a class 6 card also improving access time.
A second benefit is that the underlying Android is safe from alteration and can be booted into like a 'safe mode'. (It can also serve as the base for new profiles, or you can make new profiles from active overlays. These snapshots can serve as a form of backup, but that is a fringe benefit.
It cannot protect the Android from update.zip installs exactly, as those will modify the Android directly, but say you try a theme and it gafs your 'droid...you can reapply the firmware update to clean out the theme, then copy the desired profile back to the Android and restore the Android to the state of the profile. (I would recommend having a 'base' profile of the Android but not using that as an active profile which will thus serve as a backup) Note: To restore the Android as described above, you cannot restore using a profile with 250+ apps in /data as the Android doesn't have the space for it!
Originally I used unionfs for the overlays but it was too slow.
Hope that explains things here; the readme has far more detail.
I've gotta go, but if I see that I've been as clear as mud, I'll try to explain better when I have more time.
Hmm just out of curiosity: What are you using now? Bind mounts?
I got a little bit lost in setup, I am not sure if I had problems because I was using Cyanogens latest or something else but either way Im going back to JF to try this.
I installed it using the "-COMMIT" addition
But when I made it to installing/linking apps things wouldnt link
Maybe I will let a few other people try it first.
More info...
[email protected] said:
Hmm just out of curiosity: What are you using now? Bind mounts?
Click to expand...
Click to collapse
Yes. Originally it was to have a multi profile layered system using unionfs: union0 the ro base snapshot and union1 the rw profile containing the copy-on-write data. But as the tests went on, the unionfs was too slow to use for /data; Android is unforgiving of unresponsiveness and was ANR'ing the apps that didn't respond fast enough.
The faster bind mount means that union1 is now not used and union0 is rw.
The reason I wanted the union0,union1 path was that the union0 could serve as base and various profiles could be layered over any part of the file system granting "Lego" like flexibility in how the user could adjust their a2sdLoader.sh script (the android2sd loader which controls the overlay process).
You could have a pristine base and several "change" profiles that you layered to your liking and could change any sub layer to different effect.
While you still can under this paradigm, it is not as compact.
But the unionfs option is not completely done away with. It can still be used for the above layering but shouldn't be used for that apps and package system.
An example of the layering I'm on about:
The Android 0-layer which the base layer is a snapshot of.
The base layer is pristine (fully configured settings, but minimal apps loaded, maybe a particular base launcher layout and wallpaper).
A change profile containing my apps and package system
A change profile containing a version of etc with reconfigured bluetooth settings.
A change profile with a theme (manually installed, or snapshot to profile and restored to pristine)
Now I could take these 4 profiles and arrange several different setups:
'base' with all apps loaded, themed with custom bluetooth
'base' with all apps loaded, themed with normal bluetooth
'base' with all apps loaded with custom bluetooth
'base' with all apps loaded with normal bluetooth
'base' with all apps loaded
'base' themed with with custom bluetooth
'base' themed with normal bluetooth
'base' with custom bluetooth
'base' with normal bluetooth
...
Those would be set to serve as the ro union0 and the rw union1 which will hold the copy-on-write changes to the overlay (which preserves the sub layers)
You could have several more theme profiles and have a script that randomly chooses one at boot...
You could simply use the overlay to protect a favored configuration. Should anything untoward happen such as accidentally damaging the packages.xml file while experimenting with the system, you could simply delete the change profile, make a new blank change profile and the damaged files are undone.
The things one can do with the overlay concept are limited only by your imagination and need (and if they slow down app processing too much causing ANR's)
It vary well could if done correctly allow one to have multiple roms as profiles and switch them based on the selected profile, but I have yet to experiment on that...I reckon that is my next move! (Note that this path would have a high space cost as the roms are about 40MB zipped!)
brandenk said:
I got a little bit lost in setup, I am not sure if I had problems because I was using Cyanogens latest or something else but either way Im going back to JF to try this.
I installed it using the "-COMMIT" addition
But when I made it to installing/linking apps things wouldnt link
Maybe I will let a few other people try it first.
Click to expand...
Click to collapse
Taken from [Rom] CyanogenMod:http://forum.xda-developers.com/showthread.php?t=518851
"DO NOT RUN ANY OTHER APPS2SD APPLICATIONS ON THIS BUILD. YOU WILL BREAK YOUR SYSTEM. THEY ARE NOT NECESSARY BECAUSE THIS ROM WILL DO A2SD AUTOMATICALLY AND BETTER!"
The android2sd construct pretty much falls into the A2SD category and thus is likely the reason you had issues with the install.
My Android is based on JF 1.51... and thus your mileage will vary based on the rom you are using. I reckon with a rom derived from theh JF roms, the install may work as intended.
As I go into the next construct build process, I will see if I can't make it multi-rom compatible (to support multi-rom profiles) I'm sure it will take some time to do as I would have to use my actual Android to test with, but no worries!
Hope that helps a little. Sorry it's not better news though.
An excellent "misuse" of this concept would be to run ion (picking it for its speed and almost stock nature) with a hero overlay (picked due to known instability as we are still developing it) so that ion would serve as a "safe mode" for when you crash hero.
I have a spare phone if i crash this and a secondary sd for if that gets corrupted. Let me know if you need help testing.
twistedumbrella said:
An excellent "misuse" of this concept would be to run ion (picking it for its speed and almost stock nature) with a hero overlay (picked due to known instability as we are still developing it) so that ion would serve as a "safe mode" for when you crash hero.
Click to expand...
Click to collapse
Interesting thought, and if this could be done, I suppose it would be possible to have bluetooth working in ION while using a Hero overlay?
Request for feedback...
Hi All,
Those who've installed android2sd, how is it going?
Can you give some pros and cons of your experience so I may improve things going forward? (Hopefully no cons exists!)
I know that roms that already make use apps2sd will encounter issues as the apps2sd and android2sd function similarly and thus step on each other. I may be able to detect this condition and adjust for it going forward...we'll see.
Thanks in advance for your input!
Darkstrumn
LucidREM said:
very interesting .. at first i failed to see this part as i'm sure many pay skip over the whole "rename to rar" thing - LOL - so this loads profiles from the SD to the phone
for anyone having trouble with the whole "rename" process try this:
http://files.lucidrem.us/jf/android2sd.rar
as i know windows with hidden file extensions does not allow a rename easily
Click to expand...
Click to collapse
Thanks for putting the rar up, XDA wouldn't take the .rar and I didn't want to signup to a file-share site just yet.
And it being seemingly natural to make windows show file extensions, it didn't cross my mind to make a note about that.
Thanks again!
Darkstrumn said:
Thanks for putting the rar up, XDA wouldn't take the .rar and I didn't want to signup to a file-share site just yet.
And it being seemingly natural to make windows show file extensions, it didn't cross my mind to make a note about that.
Thanks again!
Click to expand...
Click to collapse
How come no one is trying this? It seems to me an excellent idea and would be really cool to boot mutipe roms if someone figures that out. I'm not testing this because I'm using appstosd and didn't want conflicts...but no one else with jf1.51 Rom is testing this idea?
Just curious
so wait a second. let me get this straight ... if I have a class 6 8gb card i might be able to install a hero build without rosie or widgets with the original launcher on the sd card that might actually come sorta, kinda, a little close to a speed that might be bearable? at least for like 5 minutes?
Can this be adapted to install bigger roms such as hero without the dangerspl .
XD
Ill try this with ion later tonight
wow this is beautiful work! now to test it!
Im trying so hard to understand this lol.. Correct me on my errors but from what i read this is my hypothesis on what i think this does..
This is like a apps2sd but with data and that type thing from the build we are using? And you Said this takes snapshots So we can create several profiles of the phone? Like for example have a profile with some apps loaded and another profile with all removed and be able to switch between them at will?
Ok first things first... I just came to the EVO from the Epic, so I'm gonna join this community now .
..::..Disclaimer..::..
You are voluntarily flashing this at your own risk. I can not be held accountable for anything you choose to do on your own. If you try to blame me, I will laugh at you. ....While pointing.
..::..Data Service Governer Killer..::..
1. What does this do?
This is a modification to the services.jar framework file, that allows you to have an un-throttled internet.
2. Will this make my internet faster?
Yes and No. This will not "Upgrade" your internet. This only takes the trottle off, so you can download, or play games and not have to worry about it hitting a certain peak and lagging from that point on. It doesn't provide you with a new internet, only a warm fuzzy feeling from knowing you don't have to worry about it capping off.
3. If I flash this, will it break my phone?
If it did, yours would be the first case I heard of. I've personally flashed it NUMEROUS times.
4. Will this work on any ROM?
Yes. This is not based off a particular ROM, and can be used with ANY EVO ROM. ALTHOUGH If you're Dev has made changes to the services.jar file, this could wipe those changes out. If you are unsure, send me your services.jar file, and i will look for you. Hopefully, i'll be able to make a download list in a couple days with all the Dev's services.jar files, so you can download that specific one. You can always ask your Dev.
5. Do I have to be rooted?
Yes. In order to be able to flash this, you are going to need to have root with a custom recovery. I.E. Amon_Ra.
..::..Install Instructions..::..
Simply download, and place on the root of your sdcard. Then go into recovery and flash it as you would a ROM. Done.
..::..Download..::..
Data Service Governer Killer
..::ALTERNATIVELY::..
You can follow this method if you're Services.jar framework is already modified, or if you aren't sure.
1. Download these 2 files:
Smali_Baksmali
[fixed link for baksmili- op you can remove this line when u get to it ]
2. Create 2 folders on your C: Drive labeled "Smali" and "Baksmali". (This is for easy access to the folders when being cd'd)
3. Place the 2 downloaded files in the C: Drive folders accordingly. (I.E. Smali.jar in "Smali" folder, and Baksmali.jar in "Baksmali" folder.)
4. Using 7zip or WinRAR (or any other zip program) open the services.jar file that you pulled from your phone. Copy the "classes.dex" file and paste it into the "Baksmali" folder.
5. Open your command prompt and type the following:
cd C:/Baksmali
java -Xmx512M -jar baksmali.jar -o classes/ classes.dex
6. Open the newly created "classes" folder (its inside your Baksmali folder that you should already be in) and navigate through "/com/android/server/". Scroll down till you see the 6 or 7 "Throttle" files. They will be located between "TelephonyRegistry" and "TVCableObserver$1$1". DELETE ONLY THE "THROTTLE" FILES.
7. Back out of the folders until you are in the "Baksmali" folder again. Now open the "Smali" folder you created earlier. Place the "classes" FOLDER in the "Smali" folder.
8. Return to your command prompt and type this:
cd C:/Smali
java -Xmx512M -jar smali.jar -o classes.dex classes/
9. You should now see a "classes.dex" file in your "Smali" folder. This is the NEW compiled services.jar classes.dex file. Pull up the 7zip or WinRAR file you had open earlier, delete the current classes.dex file from the services.jar, and place the newly compiled one in it's place.
10. Place the services.jar file back into your ROM, and boot up. You are now running Unthrottled.
11. If you do not see the "Throttle" files, don't complain they're not there, your Dev may have already taken them out.
If you have any questions, feel free to shoot me a PM.
going to flash and test now
Can you provide the edits or edit my file individually?
I am pretty sure Cyanogenmod edits the services.jar as well as other rom builders. Might not be safe to say its made for other roms. Working yes, but it will only replace their services.jar edits.
True... I edited the post.
freeza said:
Can you provide the edits or edit my file individually?
Click to expand...
Click to collapse
Are you comfortable with decompiling? If not, send your services.jar file my way, i don't mind helping out .
lithid-cm said:
I am pretty sure Cyanogenmod edits the services.jar as well as other rom builders. Might not be safe to say its made for other roms. Working yes, but it will only replace their services.jar edits.
Click to expand...
Click to collapse
I can say by looking at Cyanogens source code, he did NOT make this modification yet. There ARE other modifications, and i will try to have it for download asap.
BThomas22x said:
Are you comfortable with decompiling? If not, send your services.jar file my way, i don't mind helping out .
Click to expand...
Click to collapse
Why not just release the changes. and what files you made those changes to? then we can edit that jar... I am using the latest cm gingerbread builds. so i wouldn't mind testing it.
I got boot loops on virusrom airbourne 5.0..
wiping cache/dalvik didn't fix
Um does sprint throttle service?
Mitchell's EVO
Would this work on Fresh. My internet on 4g isnt teribly slow at all but if you say there is a cap? then i would love to flash this with Fresh rom 3.5.0.1
Thanks in advance
BThomas22x said:
2. Will this make my internet faster?
Yes and No. This will not "Upgrade" your internet. This only takes the trottle off, so you can download, or play games and not have to worry about it hitting a certain peak and lagging from that point on. It doesn't provide you with a new internet, only a warm fuzzy feeling from knowing you don't have to worry about it capping off.
Click to expand...
Click to collapse
mitchellvii said:
Um does sprint throttle service?
Mitchell's EVO
Click to expand...
Click to collapse
According to the OP where its in BOLD and Highlighted above they do...
no dice...whitescreen of death..... anyone get this to work????
flashed using amon ra and calks format all zip
Flashed but the data is not faster if anything seems slower the way I tested is I turned tether on and turned on the Kenict went to Netflix and tested the quality and speed of movie loading turns out I had trouble loading just the movie title gonna reboot and test again
lithid-cm said:
Why not just release the changes. and what files you made those changes to? then we can edit that jar... I am using the latest cm gingerbread builds. so i wouldn't mind testing it.
Click to expand...
Click to collapse
I'm guessing this is the same services.jar edits highlighted in this thread:
http://forum.xda-developers.com/showthread.php?t=863923
and is pretty easy, provided you can smali and backsmali a little. That thread is mostly concerned with T-mobile, and I'm not entirely sure we even get throttled on Sprint - yet, that could explain some of the inexplicable "slow 3G/4G/data" speeds people pop up with every now and then.
Within that thread there seems to be varying results but it will be interesting to see if this makes much a difference with the EVO on Sprint, ow that we might have, potentially, more people and data points testing it.
Within that same thread, this post:
http://forum.xda-developers.com/showpost.php?p=9940780&postcount=257
looks like it provides a pre-modded and back to stock CM 6.1.1 services.jar.
If this is what the OP is employing here, kudos to bringing this to the EVO forum so others that might not forum hop as much get to see it.
If the OP is doing something different, Kudos again for thinking outside the box
Anyway, good post. Thanks
T3hPWN said:
Flashed but the data is not faster if anything seems slower the way I tested is I turned tether on and turned on the Kenict went to Netflix and tested the quality and speed of movie loading turns out I had trouble loading just the movie title gonna reboot and test again
Click to expand...
Click to collapse
Again folks, this is NOT an internet upgrade. It simply REMOVES the throttle. If you have poor service where you are, it's not going to help any.
pseudo_nomen said:
I'm guessing this is the same services.jar edits highlighted in this thread:
http://forum.xda-developers.com/showthread.php?t=863923
and is pretty easy, provided you can smali and backsmali a little. That thread is mostly concerned with T-mobile, and I'm not entirely sure we even get throttled on Sprint - yet, that could explain some of the inexplicable "slow 3G/4G/data" speeds people pop up with every now and then.
Within that thread there seems to be varying results but it will be interesting to see if this makes much a difference with the EVO on Sprint, ow that we might have, potentially, more people and data points testing it.
Within that same thread, this post:
http://forum.xda-developers.com/showpost.php?p=9940780&postcount=257
looks like it provides a pre-modded and back to stock CM 6.1.1 services.jar.
If this is what the OP is employing here, kudos to bringing this to the EVO forum so others that might not forum hop as much get to see it.
If the OP is doing something different, Kudos again for thinking outside the box
Anyway, good post. Thanks
Click to expand...
Click to collapse
Sprint soft caps 3G speeds after 5GBs. 4G is truly unlimited.
and how many people really get to 5GB? I have broadband at home so i use that and at work i use the LAN there, to go over 5GB..... you deserve no cap haha
cheapskate88 said:
Sprint soft caps 3G speeds after 5GBs. 4G is truly unlimited.
Click to expand...
Click to collapse
Does this work on the most recent fresh with out issue?
Not sent at all.. You never saw this.
cheapskate88 said:
Sprint soft caps 3G speeds after 5GBs. 4G is truly unlimited.
Click to expand...
Click to collapse
sprint doesn't, show proof
I've gotten 2.4mb 3g speed while in the middle of a 30gb month. I don't have 4g
Good morning everyone. I will be splitting this topic into two parts. The first post will be my a FAQ and my anecdotal evidence supporting my claim and how I came to this conclusion, and the second will be the instructions on how to duplicate. I didn't put the instructions in the first post because I want people to actually read this part first before jumping in and then asking the same questions over and over again.
FAQ
Q. Does this work everywhere, all the time?
A. No. As with any cellular technology, results will vary greatly. I know this works where I am. I make no promises that it will work where you are.
Q. I can't get more than X speed, help!
A. If you have followed these steps TO THE LETTER then I already have done everything possible. The only way YOU will see better speeds is to either connect to WiFi, move to an area with better infrastructure, build your own tower with fiber connection, or get a Femtocell.
Q. I'm running JimBob's SuperDeluxeAwesomestMegaWhooptieXXL ROM, does this work with it?
A. Most likely. As with ANY system change, make a full backup before attempting any changes. I am not responsible for you bricking your device.
Q. Can I ask a question that was answered either in the OP or right above where I asked?
A. I like turtles.
OK, on to my reasoning.
First, I have looked at each thread promising better speeds. All have, in my experience, been on the right track. However, none have really brought it all together to truly work perfectly. I was pretty happy with my 4mbit own connection.
Until the update from HTC came out. I hit 7-8mbit regularly where I was hitting 4 max before. Even in high traffic areas like Downtown Fort Worth, I had averaged 1.5-2 throughout the day on any custom ROM. With the new update, 4-5 average.
I wondered what the differences were that caused custom ROM's to not be able to achieve full speeds, when I could nandroid restore to the stock updated ROM and get those blazing speeds without ANY modification connected to the same towers.
So, I decided to "merge" my ROMs.
All of a sudden, 8mbit down on RCMix 6.1. 8mbit down on AR. 8mbit down on CM7(Edit: Only on versions which support the HTC RIL's, not all older versions do).
Holy smokes.
Second post with instructions en route.
Instructions
Prerequisites:
A basic knowledge of flashing ROMs and Radios on the HTC Inspire 4G and ADB commands
S-Off HTC Inspire 4G with CWM Recovery and AT&T service
MicroSD card inserted in phone
Root capable file explorer (I prefer Root Explorer, as it can set permissions)
Download the following three files and extract to the location of your choice on your SD Card: MultiUpload(Updated 05-13-2011)
EDIT: for testing, please download This instead, it should place the telephony.db FOR you. Please report back any permissions issues, or if it even works...
Steps:
NANDROID BACKUP BEFORE BEGINNING!
1. Place PD98IMG.zip(12.39a.60.19x_26.06.06.30_M) on root of SD Card (location: \mnt\SDCard) Reboot into bootloader to install updated Radio(If necessary, if you have already flashed this radio you do NOT need to reflash radio.)
2. Once radio is installed, reboot into ClockworkMod Recovery, go to mounts and mount /system, and install the Speed Boost .zip from CWM. This includes the (verified)updated RIL files for the radio as well as propeditor for the next step.
3. Once rebooted, Prop Editor should now be present in your app tray. Open and grant Root Access. Once you have completed that, BACK UP YOUR build.prop and copy to your ADB location on computer (this way you can recover if this step gets a little messed up, reboot recovery and ADB push build.prop /system)
4. Using Prop Editor, make the following changes and additions to your prop file(Note: Any line not expressly mentioned here SHOULD NOT BE CHANGED OR TOUCHED):
Code:
ro.ril.ecc.HTC-GCC=999,112,997
ro.ril.ecc.HTC-WWE=999
ro.ril.ecc.HTC-ELL=92,93,94
ro.ril.enable.a52.HTC-ITA=1
ro.ril.enable.a53.HTC-ITA=1
ro.ril.enable.a52=0
ro.ril.enable.a53=1
ro.ril.hsdpa.category=14
ro.ril.hsupa.category=7
ro.ril.hsxpa=3
ro.ril.disable.fd.plmn.prefix=23402,23410,23411
ro.ril.enable.sdr=0
ro.ril.enable.ucsq=2
ro.ril.enable.amr.wideband=0
ro.ril.att.feature=1
ro.ril.enable.gea3=1
ro.ril.radio.svn=3
ro.ril.enable.prl.recognition=1
*media.a1026.enableA1026=1
*htc.audio.hac.enable=1
*Ignore on CM7 based ROMs. It will eat your battery.
5. Reboot phone TWICE.
6. [EDIT: Not needed on CM7 sourced ROM's after nightly build 57, MIUI, Inspired Ace by gtg465x, see step 6a] Open your Root File explorer of choice, then copy telephony.db and navigate to /data/data/com.android.providers.telephony/databases and rename existing telephony.db to telephony.db.old, then paste the new telephony.db in that location, and set permissions to rw-rw----. Reboot phone. *see below if phone.apk crashes on reboot
6a. Change APN's to match what is in THIS thread by henrybravo.
Be sure to hit his Thanks button too!
7. Once phone is rebooted, go to settings, wireless and networks, mobile networks, and access point names. Select the locked APN (Note: WiFi Hotspot still works)
This should complete the modifications, speeds should be much better.
* - If you get crashes in Phone.apk, reboot into ClockworkMod Recovery, choose Advanced, and Fix Permissions. This will cause a temporary issue in which Contact pictures do not appear in the Messaging app. To fix this,get a terminal emulator, then do these steps:
su
chmod 666 /data/data/com.android.providers.contacts/files/*
This will fix this issue after reboot.
Many thanks to:
henrybravo, for the telephony.db method
IsraelR for the original build.prop thread
Any others I left off the list are purely unintentional. Please PM me and let me know!
I'm using the Inspire on Straight Talk, an AT&T MVNO. The APN settings won't work for me, should I just use what I have and apply the other steps in the process?
Also, thanks for the work!
What radio is it?
entropism said:
I'm using the Inspire on Straight Talk, an AT&T MVNO. The APN settings won't work for me, should I just use what I have and apply the other steps in the process?
Also, thanks for the work!
Click to expand...
Click to collapse
Skip the telephony.db as well, it only has AT&T settings in it.
Sent from my Inspire 4G using XDA Premium App
Flashing now, hoping it works. AT&T around here fluctuates like crazy, and it's a lot worse with the Inspire. I can get 400k/300k one minute, 4mb/2mb the next. Right before I started flashing this, I was getting 900k/300k.
harlenm said:
What radio is it?
Click to expand...
Click to collapse
Whoops, thought I copied and pasted it into there. 12.39a.60.19x_26.06.06.30_M - The AT&T updated radio from the OTA update.
Definitely not seeing prop editor installed after flashing the speed boost zip (flashed twice). Going to edit it with a text editor under Root Explorer and see how it goes.
entropism said:
Definitely not seeing prop editor installed after flashing the speed boost zip (flashed twice). Going to edit it with a text editor under Root Explorer and see how it goes.
Click to expand...
Click to collapse
Hmm, I will check it. It did on the two test Inspires I have used. Text editor will work fine.
Edit - Reuploading files.
If some of the ro.ril lines of code aren't in my build.prop, should I be adding them manually? These lines were missing:
Code:
ro.ril.enable.ucsq=2
ro.ril.att.feature=1
ro.ril.enable.gea3=1
ro.ril.radio.svn=3
Edit: Running CM 7.0.2, CM kernel.
entropism said:
If some of the ro.ril lines of code aren't in my build.prop, should I be adding them manually? These lines were missing:
Code:
ro.ril.enable.ucsq=2
ro.ril.att.feature=1
ro.ril.enable.gea3=1
ro.ril.radio.svn=3
Edit: Running CM 7.0.2, CM kernel.
Click to expand...
Click to collapse
Yes, this is part of the update we are doing.
I have not tried yet but since no one has and probably will not, at least for awhile lol. Just wanna say thank you for putting the time and effort into, in my oppinion , such a huge project
Will probably take a bit to get all the little kinks of diffrent roms,devs , peoples set ups . Again thank you and thanks for the huge tech support hours you will be putting in,
Sent From My HTC Inspire 4G @ 1.5Ghz
entropism said:
If some of the ro.ril lines of code aren't in my build.prop, should I be adding them manually? These lines were missing:
Code:
ro.ril.enable.ucsq=2
ro.ril.att.feature=1
ro.ril.enable.gea3=1
ro.ril.radio.svn=3
Edit: Running CM 7.0.2, CM kernel.
Click to expand...
Click to collapse
Redownload the mod and rerun the CWM flashable .zip, the updater script in there was the wrong one, my fault!
Kizzmiazz said:
I have not tried yet but since no one has and probably will not, at least for awhile lol. Just wanna say thank you for putting the time and effort into, in my oppinion , such a huge project
Will probably take a bit to get all the little kinks of diffrent roms,devs , peoples set ups . Again thank you and thanks for the huge tech support hours you will be putting in,
Sent From My HTC Inspire 4G @ 1.5Ghz
Click to expand...
Click to collapse
Haha, I am ready for the hours. Fortunately, my method SHOULD work for any ROM for the Inspire, as it only affects certain files. We shall see, I suppose!
Locked APN?
I didn't come up with a locked APN after the procedure. They are all currently unlocked. I started with two:
MMS and MediaNet
I now have 4, they are "Entitlement", "MEdia Net", "MEdiaNet", and "MMS"
Not sure which to pick.
EDIT: It appears that my MediaNet and your Media Net are the same APN, and I am unable to choose Entitlement. I guess that answers that?
ou4me said:
I didn't come up with a locked APN after the procedure. They are all currently unlocked. I started with two:
MMS and MediaNet
I now have 4, they are "Entitlement", "MEdia Net", "MEdiaNet", and "MMS"
Not sure which to pick.
Click to expand...
Click to collapse
Choose menu then reset to default.
Sent from my A500 using XDA Premium App
id10terrordfw said:
Choose menu then reset to default.
Click to expand...
Click to collapse
I'm not sure that was what was needed. I ended up with the default APN from my UltimateDroid ROM, which has some missing parameters and has always been very slow. In fact, I went from no appreciable speed increase with the procedure and 4 APNs to now quite a speed decrease. I'm going to add back the MediaNet APN. Let me know if I need any of the others added in there. ie: Entitlement.
ou4me said:
I'm not sure that was what was needed. I ended up with the default APN from my UltimateDroid ROM, which has some missing parameters and has always been very slow. In fact, I went from no appreciable speed increase with the procedure and 4 APNs to now quite a speed decrease. I'm going to add back the MediaNet APN. Let me know if I need any of the others added in there. ie: Entitlement.
Click to expand...
Click to collapse
You shouldn't, the new telephony.db should have provided two new APN's at that point. That is the purpose of copying it over.
Speeds are just as bad, if not worse for me. Granted, do NOT use my experiences to see if you should install this or not, as I'm not using AT&T for my service, I'm using Straight Talk.
Results after installing this:
700k down, 590k up
1300k down, 85k up
698k down, 590k up
426k down, 852k up
1543k down, 136k up
937k down, 137k up
468k down, 140k up
entropism said:
Speeds are just as bad, if not worse for me. Granted, do NOT use my experiences to see if you should install this or not, as I'm not using AT&T for my service, I'm using Straight Talk.
Results after installing this:
700k down, 590k up
1300k down, 85k up
698k down, 590k up
426k down, 852k up
1543k down, 136k up
937k down, 137k up
468k down, 140k up
Click to expand...
Click to collapse
Did you reinstall the zip in the new download?
APKSPY - RESURRECTED
First:
I want to thank @ido for the original application -- It was his idea (and his code I've hacked :cyclops and modified.
Second:
Since Ido seems not to be active anymore I'll re-publish the application here.
Unless for some reason Ido will specifically ask me to remove it.
The original post
ido said:
ApkSpy is a simple tool I hacked up tonight which allows you to easily view the manifest of an APK (screenshots attached - not up to date though) just by double clicking it. (It can even associate with the .apk filetype, yay!)
ApkSpy relies on the aapt.exe tool from the android SDK, so you must have that installed (or just copy aapt.exe from somewhere, that's the only file needed to run ApkSpy).
Click to expand...
Click to collapse
Third:
Requires Microsoft©® .Net Framework v4
(Kind of since I've done it some time ago and waited for Ido [the orignal developer] to respond and allow or disallow me to re-publish... So, I don't remember all the changes I've already done...)
v1.8.19 CHANGELOG:
Fixed some Date parsing function (zipped file with no time stamp) in ZipStorer (by @Jaime Olivares) maybe causing some of the error reported here...
v1.8 CHANGELOG:
Changed Icon - CONTRIBUTED BY @Jarmezrocks
Removed unneeded tabs (System, Batch Rename, Log)
Minimize / Maximized restored back
v1.7 CHANGELOG:
(Actually 4.1.7.870, but the first and the last parts are internally used :fingers-crossed:)
Try to automatically find adb.exe and aapt.exe in ApkSPY directory or in PATH variable: If failed finding any of the executables, the user is asked to manually locate them
(★ Currently the location is not saved... ★).
Check if the ADB server is running and Start or ask if to Restart ADB server
Tidy up the code
Refining the original libraries written by Ido related to ADB and AAPT
Some more minor code updates
Revised most of the "General" tab (other tabs ware not touched) of the UI:
Grouped and ordered controls on form
Added DropDown of devices attached (★ Not automatically updating upon plugging... ★)
Added some control over ADB actions
Added status bar that some other details are shown, e.g. device type (Nexus, I9100...), OS version (4.1.2, 4.4.2...) and OS build (KOT49H, KVT49L...)
Added (nice looking) information panel with clickable links (for actions on the form) and coloring
Other changes (I can't recall right now, since I've done it some time ago and waited for a response from Ido for permission to republish)
(★ Maybe I'll add an option for this later, depending on my -- not to much -- free time and requested by users .... ★)
Known bugs:
Sometimes ADB fails to return build.prop property for the status bar (however it has not caused any critical problem, so (I think) it can be safely ignored) -- haven't been able (yet) to find the exact state it is happening
Please take the time to look at the application ABOUT tab
Any Other ideas are welcome!
If you like it, Don't forget to Thank me
If you enjoy using this application as much as I have enjoyed re-writing it
please donate to show your appreciation
RESERVED
Nice
Sent from my SM-N900T using Tapatalk
Good news
Bug report, every time I open this program, this dialog pops up, after click OK, this program works well.
PS, aapt.exe is in the same dir with ApkSpy
I got this errors:
1:
2:
Error in property: [email protected]@usrdata
cmlx said:
Good news
Bug report, every time I open this program, this dialog pops up, after click OK, this program works well.
PS, aapt.exe is in the same dir with ApkSpy
Click to expand...
Click to collapse
Hey dude,
I am not sure what you are doing wrong on your PC but it's certainly not the app as it works perfectly fine on my computer? Out of interest and for the sake or helping the new dev I thought I would raise a few points just to eliminate any finger pointing. There's a wishy-washy area when it comes to building/hacking things that were originally someone elses work...so yeah one can easily make great improvements yet open the door to bugs at the same time too. Anyway...thought I'd ask this:
Does aapt sit on your path? I know you said it is in the same directory, however just like a batch script in Windows it needs to "CD" or change directories to the %~dp0 if it is to understand what an executable is that happens to be sitting in the same directory as it's self. So this is is kinda directed at the new dev now. What I think is happening is that aapt is assumed to be in the system path when quite often it is not (i.e. those on XDA who have not yet played with the Android SDK properly). Put simply unless the application knows it is in the same directory as your executable it won't at all understand what aapt is. Does that make sense?
@dmagician , I would make sure that the apkspy app can do a check (even if it is a string search for the first few lines returned from aapt.exe), a simple if statement before throwing that error ....actually it would likely be an 'if not' statement. I don't have any of the code in front of me atm but I can help you out if you like? I was hacking this app myself sometime ago when ido first released it just using reshacker.
Note: If you are stuck and don't have source code you technically could write a full AutoIT wrapper for this app that could do all the checks and more and then bundle everything up into the one exe still. Check out the newer WinAPI stuff for AutoIT and in particular "Run binary" (yes that's correct you can just about run anything repackaged now and not need to deploy the original exe's or even libraries....they can all be stream fed to AutoIT @Compile time and need not be typically "installed" like you used to have to do. Anyway...I am waffling on shoot me a PM man.
@cmlx, to overcome your ApkSpy woes, and until dmagician can put his finger on what the cause is or what ido did when building it ages ago.....then you will firstly need to be patient (props to dmagician to figuring sh!t out so far) but till then where ever you have dumped the ApkSpy and aapt.exe on your system; just copy the address and put it on your system path. To do this 1) right click on My Computer or Computer if you are on Win 7 or 8. 2) Choose properties. 3) Advanced System settings and then at the bottom of tab you will see 'Environment Variables', click it and you will see some "User" and "System" options. Depending on your User access rights on the system you are running on (hopefully you are running as Admin surely?) then you can choose to edit your main system path or create a new variable in your user settings called 'path' Note User variables are always postfix to system variables but should always work anyhow.
Disclaimer: cmlx, if however you have already got an aapt.exe already existing on your system path but it is dodgy then you have to ensure that the good aapt.exe in your app directory is placed on path BEFORE the dodgy one....just sayin. Cause your system searches till it finds what it wants and then doesn't search anymore. Simple but can stuff people up quite often....and likely your case. Nowdays we tend to work from the known application location and not from a "Global environment path" when we know that there are going to be conflicts...and I can assure you that aapt is possibly the worst and most modified binary out there LOL. Hence this is also a note to the dev to ensure that ApkSpy reads from the current directory.....or like I am suggesting, wrap aapt up in the main application as well and that way there is no confusion EVER.
And I am done.....
Oh wait no I am not....sorry bug reports LOL :good: you thought I was all praise eh? Got another thing coming man
OK....so um the red boxes should explain everything. A picture says a thousand words (and yeah I needed at least 1 picture for this god damned long arsed post - sry). Um why in gods name would you remove the minimise and expand buttons? WTF? Anyway...it works but errrm yeah it doesn't wrap the text anymore? and it cuts the words off lol.
Other than that....I only really have one suggestion and it isn't even really a suggestion as I have kind of already made it so I can just give it to you if you want it? And that is that most people (well I can't say most as I am not speaking for everyone) tend not to like how apps take over their system. This isn't your fault at all in anyway as the first dev thought it was a good idea back then.....and back then hardly anything in Windows knew what a freakin apk was so it was a GOOD thing.....However now, every man and his dog wants to steel .apk extension for himself. I myself tend to be all over the shop with apks so I tend not to want to have any particular Windows app take it away from my control. I use WinZip as the main app for simple double click open as I want to see the contents of apks without needing to decompile them (great for theming) however I have apk shell extensions displaying the apks main icon to explorer, so if I set WinZip as default I get a nice lumping hunk of gold turd/box running rampet all over my Windoze bro ......so if you like I can show you my code that allows me to have default apps for specific tasks without interfering with anyones existing sh!t It looks neat too as you can right click any apk and just choose from a dropdown list what particular app you want at the time. If one has the need to use more apps then they need only put those apps in a list. There is nothing worse than double clicking an apk to find that Bluestacks or some other rubbish Windoze crApp has taken offf with your apk.
Lastly I thought I'd ask, Why no config file? Why store everything in memory? I know it's only small....but seeking for things everytime it is executed is a pain in the arse and not good practice. At the very least if you have no idea how to make an exe totally portable then you could reference a config file in the same directory....Or do as most do and write entries to the registry all neat and tucked away. If we get paranoid about "portable-ness" then we write to temporary space in the registry and make sure we clean up upon closing and/or inspect at runtime. simple!
I have plenty of AutoIT scripts that do exactly that too, so if you are stuck for ideas let me know. Anyway I have rambled enough, good luck and I will keep reporting bugs haha
Edit: That's waaaay too many emoticons. Oooops someone is a little high aren't they?
PS: I have attached my PNG of the icon I used for this bugger waaaaaay back....it's less generic and feel free to take it and abuse it and do as you please.
cmlx said:
Good news
Bug report, every time I open this program, this dialog pops up, after click OK, this program works well.
PS, aapt.exe is in the same dir with ApkSpy
Click to expand...
Click to collapse
Yes, I know of this one (and I've specifically wrote about it in the OP), it is NOT related to AAPT executable but to the way ADB is acting (sorry, out of my hands... :angel:
Explanation
The error comes from the application when trying to query the "ro.build.id" property via adb ('ADB shell getprop "ro.build.id" ') command.
I've came across this one but cannot determine the exact situation it is happening (as it can occur when first launching of the app, but after the app is loaded, clicking on refresh does not show this error)...
[ I've tried it on with the (only) two devices I own (1st dev. is stock (only the kernel is changed) 4.4.2 Nexus 4, 2nd dev. is S2-i9100 with customized RR ROM)and it seems to happen ONLY on the S2...]
It looks that in times, the getprop is being executed before the whole "build.prop" is being processed by ADB (This one I cannot control since it is happening on the ADB shell side [running on the device] -- unless MAYBE doing some [UGLY] delay after first initialization of ADB, which is, by far NOT best practice of process handling according to the literature)...
CyberianIce said:
I got this errors:
1:
2:
Error in property: [email protected]@usrdata
Click to expand...
Click to collapse
Which came first, the "SpkSpy spy stopped working" or the "Error in property" (if anyways related)?
Was it on the same run or two different runs?
As of the 1st one:
I do not have enough information from your post to check it up...
I'll post a new version which shows the exception details
As of the 2nd one:
Can you send me a copy of your /system/build.prop (so i'll be able to dig trough it and check it)?
It looks like my name-value splitter character exist as part of a given value in your build.prop .
Wooow, Long one! But it is nice to know people are using (trying) it!
Jarmezrocks said:
Hey dude,
I am not sure what you are doing wrong on your PC but it's certainly not the app as it works perfectly fine on my computer? Out of interest and for the sake or helping the new dev I thought I would raise a few points just to eliminate any finger pointing. There's a wishy-washy area when it comes to building/hacking things that were originally someone elses work...so yeah one can easily make great improvements yet open the door to bugs at the same time too. Anyway...thought I'd ask this:
Does aapt sit on your path? I know you said it is in the same directory, however just like a batch script in Windows it needs to "CD" or change directories to the %~dp0 if it is to understand what an executable is that happens to be sitting in the same directory as it's self. So this is is kinda directed at the new dev now. What I think is happening is that aapt is assumed to be in the system path when quite often it is not (i.e. those on XDA who have not yet played with the Android SDK properly). Put simply unless the application knows it is in the same directory as your executable it won't at all understand what aapt is. Does that make sense?
Click to expand...
Click to collapse
Hi
As I've replied to @clmx, This error is not related to AAPT (either executable [location or whatever] or results), but to the ADB command being used...
Jarmezrocks said:
@dmagician , I would make sure that the apkspy app can do a check (even if it is a string search for the first few lines returned from aapt.exe), a simple if statement before throwing that error ....actually it would likely be an 'if not' statement. I don't have any of the code in front of me atm but I can help you out if you like? I was hacking this app myself sometime ago when ido first released it just using reshacker.
Click to expand...
Click to collapse
Sorry I did not understand... Check for what?
Jarmezrocks said:
Note: If you are stuck and don't have source code you technically could write a full AutoIT wrapper for this app that could do all the checks and more and then bundle everything up into the one exe still. Check out the newer WinAPI stuff for AutoIT and in particular "Run binary" (yes that's correct you can just about run anything repackaged now and not need to deploy the original exe's or even libraries....they can all be stream fed to AutoIT @Compile time and need not be typically "installed" like you used to have to do. Anyway...I am waffling on shoot me a PM man.
Click to expand...
Click to collapse
I do not need the Auto-IT to wrap these files (although I am using it for other automation in windows), as I can do it right in the C# code (on one of my early versions these files was embedded...)
BTW, I know there are some antiviruses out in the wild that do not like the embedded executables -- but it can be done -- and probably will save some time to anyone using this app...
If it will be required / asked, I'll embed the 4 binaries (AAPT.EXE, ADB.EXE, and two DLL's AdbWinApi.dll and AdbWinUsbApi.dll [I'm not sure both are required]) needed by the application.
Jarmezrocks said:
@cmlx, to overcome your ApkSpy woes, and until dmagician can put his finger on what the cause is or what ido did when building it ages ago.....then you will firstly need to be patient (props to dmagician to figuring sh!t out so far) but till then where ever you have dumped the ApkSpy and aapt.exe on your system; just copy the address and put it on your system path. To do this 1) right click on My Computer or Computer if you are on Win 7 or 8. 2) Choose properties. 3) Advanced System settings and then at the bottom of tab you will see 'Environment Variables', click it and you will see some "User" and "System" options. Depending on your User access rights on the system you are running on (hopefully you are running as Admin surely?) then you can choose to edit your main system path or create a new variable in your user settings called 'path' Note User variables are always postfix to system variables but should always work anyhow.
Disclaimer: cmlx, if however you have already got an aapt.exe already existing on your system path but it is dodgy then you have to ensure that the good aapt.exe in your app directory is placed on path BEFORE the dodgy one....just sayin. Cause your system searches till it finds what it wants and then doesn't search anymore. Simple but can stuff people up quite often....and likely your case. Nowdays we tend to work from the known application location and not from a "Global environment path" when we know that there are going to be conflicts...and I can assure you that aapt is possibly the worst and most modified binary out there LOL. Hence this is also a note to the dev to ensure that ApkSpy reads from the current directory.....or like I am suggesting, wrap aapt up in the main application as well and that way there is no confusion EVER.
Click to expand...
Click to collapse
The application IS searching for AAPT and ADB executables; The order is
Application directory (where ApkSpy.exe resides)
PATH environment variable
Jarmezrocks said:
OK....so um the red boxes should explain everything. A picture says a thousand words (and yeah I needed at least 1 picture for this god damned long arsed post - sry). Um why in gods name would you remove the minimise and expand buttons? WTF?
Click to expand...
Click to collapse
Mostly I like it this way, otherwise - No specific reason...
It will be back in the next version...
Jarmezrocks said:
Anyway... it works but errrm yeah it doesn't wrap the text anymore? and it cuts the words off lol.
Click to expand...
Click to collapse
This Tab was NOT changed by me in any way... To be honest, I've thought of removing it completely -- But -- out of respect to Ido's work -- I've left it in.
I assume it is not wrapping due to Font size changed by me globally...
I'm seriously giving it second thoughts -- if it should stay at all (It was originally meant for batch rename of multiple APK's... I haven't used it even once...)...
I'm Really, REALLY, think of removing it completely (unless someone is / will be using it -- then I'll fix it all)...
Jarmezrocks said:
Other than that....I only really have one suggestion and it isn't even really a suggestion as I have kind of already made it so I can just give it to you if you want it? And that is that most people (well I can't say most as I am not speaking for everyone) tend not to like how apps take over their system. This isn't your fault at all in anyway as the first dev thought it was a good idea back then.....and back then hardly anything in Windows knew what a freakin apk was so it was a GOOD thing.....However now, every man and his dog wants to steel .apk extension for himself. I myself tend to be all over the shop with apks so I tend not to want to have any particular Windows app take it away from my control. I use WinZip as the main app for simple double click open as I want to see the contents of apks without needing to decompile them (great for theming) however I have apk shell extensions displaying the apks main icon to explorer, so if I set WinZip as default I get a nice lumping hunk of gold turd/box running rampet all over my Windoze bro ......so if you like I can show you my code that allows me to have default apps for specific tasks without interfering with anyones existing sh!t It looks neat too as you can right click any apk and just choose from a dropdown list what particular app you want at the time. If one has the need to use more apps then they need only put those apps in a list. There is nothing worse than double clicking an apk to find that Bluestacks or some other rubbish Windoze crApp has taken offf with your apk.
Click to expand...
Click to collapse
The application is NOT taking over anything, Unless you've clicked the asterisk ("*") button on the System Tab...
Was it registered for you without clicking this button?
If so, I'll recheck the code (may be it's some residue from the original code).
BTW
As the previous part of the answer I've wrote -- this one was left in as of respect to @ido's work...
2nd BTW
I'd like to see that explorer extension (and [preferable] the code of it - if you are willing to share it) you ware writing about...
Jarmezrocks said:
Lastly I thought I'd ask, Why no config file? Why store everything in memory? I know it's only small....but seeking for things everytime it is executed is a pain in the arse and not good practice. At the very least if you have no idea how to make an exe totally portable then you could reference a config file in the same directory....Or do as most do and write entries to the registry all neat and tucked away. If we get paranoid about "portable-ness" then we write to temporary space in the registry and make sure we clean up upon closing and/or inspect at runtime. simple!
Click to expand...
Click to collapse
Yep, I've thought of it... But... I was thinking, that (at least) everyone is as geeky as me dauuh , and the most are setting the path correctly...
It'll be added in next version (I hope... TIME, TIME!!!! :cyclops...
Jarmezrocks said:
I have plenty of AutoIT scripts that do exactly that too, so if you are stuck for ideas let me know. Anyway I have rambled enough, good luck and I will keep reporting bugs haha
Click to expand...
Click to collapse
I prefer writing my own code (sorry, I'm a developer in heart and soul...) then using automation like Auto-IT...
Jarmezrocks said:
Edit: That's waaaay too many emoticons. Oooops someone is a little high aren't they?
Click to expand...
Click to collapse
Jarmezrocks said:
PS: I have attached my PNG of the icon I used for this bugger waaaaaay back....it's less generic and feel free to take it and abuse it and do as you please.
Click to expand...
Click to collapse
(@Jarmezrocks please see my PM to you.)
PHEW...
Long Answer, BUT HEY, I'm not the only one writing longies... :angel: (and i like referencing each and every part separately)...
dmagician said:
PHEW...
Long Answer, BUT HEY, I'm not the only one writing longies... :angel: (and i like referencing each and every part separately)...
Click to expand...
Click to collapse
Ahh yes. I write long messages sometimes when my medication has kicked in and I am high....not my fault I kinda need to get all the info out of my head in one go while I am awake.....or else there would just be zeds on the response zzzzzzzzzzzzzzzzzzzzzz lol :laugh: (ref narcolepsy).
I commend you on your efforts at responding to such gibberish and making good sense of it! :highfive:
I have responded to your PM accordingly, and hopefully covered all you need? I have attached all info and sources etc.....well most of it...actually a fair bit of it you will have to workout your self but that is part the fun. Shoot me any questions if you need to...although I have a feeling that you will have mostly all of it covered as you are streets ahead of my knowledge already. I may have misjudged a little in my previous post (although hopefully not to make you feel any less than you actually are? please excuse me if I had said anything that may offended - being naive or what ever....you ARE definitely on the right track). As for the middle menu....I think you could easily remove it and not offend the original dev. It wasn't being used as you mention...and I think it could make way for more/better functionality don't you think? (discuss). However I would ensure all the things I mentioned in my PM first before going too deep and releasing on here.
Good move on bringing the buttons back. They were functional. But I DO like the single button close GUI myself on just about everything else....It looks clean. We have similar taste in that regard. It just isn't functional for me to pressing the task notification desktop link everytime I want to minimise the app LOL.
The rest I we can discuss via PM, this is pretty much only posted here as an open area for other forum members to provide input and opinion (or complaint....like how often it usually is, eh?).
CyberianIce said:
I got this errors:
1:
2:
Error in property: [email protected]@usrdata
Click to expand...
Click to collapse
I'd got the same error!
For me it helped to copy two files to the install dir
"adb.exe" and "AdbWinApi.dll"
Both are installed with the well known MyPhoneExplorer into "Program Files\MyPhoneExplorer\DLL"
Hope it helps!
Feature Request
I use this tool for testing new APK builds on a project I am working on it. It allows me to quickly verify the version number and push to the device. However, since I am usually installing another version of an existing installed APK, I must manually uninstall before using APKSPY. Would it be possible to add a check box that would uninstall any previous versions? It would be really helpful.
Nevermind - I didn't fully read the message presented when it fail. It say uninstall/update and it allows the installation. HOWEVER, that brings up a question... Does it uninstall or does it update? There is a difference as you know.
Thanks,
Jonathan
Hi, I try to run this on Mac via Wineskin Winery, but no luck. Do I need something like .Net, or something else to run ApkSpy?
Thank you.
Ja_som said:
Hi, I try to run this on Mac via Wineskin Winery, but no luck. Do I need something like .Net, or something else to run ApkSpy?
Thank you.
Click to expand...
Click to collapse
The only requirement is the Microsoft .Net 4.
(I'll add this to OP)
jmo said:
I use this tool for testing new APK builds on a project I am working on it. It allows me to quickly verify the version number and push to the device. However, since I am usually installing another version of an existing installed APK, I must manually uninstall before using APKSPY. Would it be possible to add a check box that would uninstall any previous versions? It would be really helpful.
Nevermind - I didn't fully read the message presented when it fail. It say uninstall/update and it allows the installation. HOWEVER, that brings up a question... Does it uninstall or does it update? There is a difference as you know.
Thanks,
Jonathan
Click to expand...
Click to collapse
Yes I know there is difference between the two (update vs uninstall and install again).
It is updating the application (like using "adb install -r apk_file_name.apk"), not doing remove and install
Removed unneeded tabs (System, Batch Rename, Log)
Click to expand...
Click to collapse
The unneeded Batch Rename tab was the only tab I needed really. :laugh: Luckily I found Ido's original version. It's ideal for renaming all those apk's I downloaded and still have the package name when I back them up to my PC.
I have an Asus Memo Pad 10 and an Asus Memo Pad 7 and neither are recognised by APKSpy. Not that it's a problem as I have no problem copying to and from them with Windows Exploder or Total Commander.
Other than that, it's been a handy little app for this tablet/smartphone virgin newbie.
Martin.
wolrik said:
The unneeded Batch Rename tab was the only tab I needed really. :laugh: Luckily I found Ido's original version. It's ideal for renaming all those apk's I downloaded and still have the package name when I back them up to my PC.
I have an Asus Memo Pad 10 and an Asus Memo Pad 7 and neither are recognised by APKSpy. Not that it's a problem as I have no problem copying to and from them with Windows Exploder or Total Commander.
Other than that, it's been a handy little app for this tablet/smartphone virgin newbie.
Martin.
Click to expand...
Click to collapse
Hello.
1st:
I can -- if requested - re-add the Batch rename.
2nd:
I don't know why these two devices are not being recognized -- unless not being recognized by ADB itself -- since I'm spawning devices by parsing the resulting text of "ADB devices" command, So unless being unrecognized by ADB, there should be NO PROBLEM detecting ANY android device with ADB on...
if you have any exception messages thrown by the application, please post them here.
dmagician said:
Hello.
1st:
I can -- if requested - re-add the Batch rename.
2nd:
I don't know why these two devices are not being recognized -- unless not being recognized by ADB itself -- since I'm spawning devices by parsing the resulting text of "ADB devices" command, So unless being unrecognized by ADB, there should be NO PROBLEM detecting ANY android device with ADB on...
if you have any exception messages thrown by the application, please post them here.
Click to expand...
Click to collapse
No need to re-add the tab just for me, but thanks for the offer. As I get to know my way around Android I'll probably need such things less and less.
Sorry, but I know nothing about ADB other than APKSpy needing it. As you can see from the attached pic, the Asus is recognised by Total Commander
Martin.
Hi dmagician,
Nice work, and a shout-out to Ido who originally created it.
I have a feature request:
Could you add the option to remove certain permission(s) and save the modified APK file?
There are many apps which I feel allow themselves way too much permissions, and this option could be very useful to tame them apps.
One more thing:
I noticed that APKSpy v1.8.2 doesn't work with the latest version of AAPT.exe (1432KB), from the Android SDK r24.
So I had to use a previous version of AAPT.exe (833KB), which worked.
Thanks,
Eric
Hey does anybody know where the name of the apk is in the XML files inside the apk?