[Q] Froyomod 2.9.3 have 5 points multitouch? - Motorola Droid and Milestone Q&A, Help & Troublesh

How can I change the number of multitouch from 2 points to 3 points. Or more.
Froyomod 2.9.3 forum to say that multitouch 5 points, but I checked with multitouch tester that has only two points.

You can edit the number of touchpoints in build.prop AFAIK.

I have tried editing build.prop but it was still only 2 points the same.

That's strange, my phone is on FM 2.9.3 and 5-point multicouch is working fine. Try to reflash the rom and see if it works.

1 - Download a ROM (I suggest a Cyanogem ROM);
2 - Open the downloaded file with Winrar;
3 - Go to folder System;
4 - Open the file build.prop;
5 - Search for the string: ro.product.max_num_touch=;
6 - Set the final number after the searched string to 5 (In this case,
ro.product.max_num_touch=5)
7 - Save the file;
8 - Winrar will ask you to update the zip file, press YES;
9 - Flash the ROM and test it!;
Be Happy!

I have tried reflash but it was still only 2 points.

santiphapc said:
I have tried reflash but it was still only 2 points.
Click to expand...
Click to collapse
You tried to change the build.prop like I wrote?

Make a try with CM7 it now have an option to choose the multitouch points

afonsolage said:
You tried to change the build.prop like I wrote?
Click to expand...
Click to collapse
I have the same ****, it doesn't work

I have same Problem. It has only two point.

Hmm, I think that I have found source of the problem. Maybe old digitizers had 5-point, but Motorola fixed it in new(Because I have a new digitizer and it has only 2-point).

You need a ROM that have the settings of how many points you want, set the desired number of points, reboot, once reboot is complete, turn off the screen, turn it back on, voila...
If that doesn't work them probably for some reason your phone doesn't support it. Mine does, and following the above mentioned steps, it works like a charm.

Related

[MOD] Display A Custom PLMN (with no SPN)

I was really getting tired of my carrier name showing up twice on the lockscreen and taking up extra real estate on my notification drop-down so I figured out how to disable the SPN from showing and how to customize the PLMN to say whatever I want.
KEY FILES TO EDIT
/data/data/com.android.providers.telephony/optable.db
/system/etc/apns-conf.xml
/system/etc/spn-conf.xml
In the apns-conf.xml make sure your provider is listed with a numeric value.
Here's an example: numeric="311370" mcc="311" mnc="370"
* As you can see the numeric is the MCC plus the MNC.
In the spn-conf.xml make sure your provider is listed with an spnOverride.
Here's an example: <spnOverride numeric="311370" spn_display_rule="SPN_RULE_SHOW_PLMN" spn_override_only_on="310,311"/>
The optable.db needs to be edited with SQLite Database Browser to add your numeric and the text to display.
Here are a few pre-configured downloads:
PLMN: CyanogenMod
http://www.4shared.com/file/BawWWTpv/cm7_plmn_gsm_crespo.html
PLMN: The Ultimate Droid
http://www.4shared.com/file/jo0455rx/tud_plmn_gsm_crespo.html
PLMN: GCI Wireless
http://www.4shared.com/file/l3fZUzGu/gci-apns-plmn.html
PLMN: B*** I Got An Android (with no asterisks)
http://www.4shared.com/file/Vkz6poYC/*****_plmn_gsm_crespo.html
NSFW YouTube Video - B*** I Got An Android
Flash these files AFTER you have flashed a ROM and booted up at least once! I tested all four files on TUD 3.0.0 Beta, CM7 A3, and various CM7 Crackflasher builds.
*Screenshots are from CM7 Crackflasher build #54 with the Jungle Waterfall livewallpaper
Very cool mod. I will try this out when I have the time!
thank you
Love this, it worked great on Bionix with 1.3 kernel. For some reason running the same rom with the new 1.4b kernel it no longer works and yes I tried reflashing and wiping a few times. Any ideas?
Hey could you make me one and either PM me or post it up?
I'm on CM7 on a Nexus S, and I don't see a '/system/etc/spn-conf.xml' file. It doesn't seem to exist on mine. I'm on the latest nightly (#8) and have updated everything. Am I missing something?
How exactly did you get these files? I'm having all sorts of trouble with this. First off, the optable.db file is zero K, even when I extract it through ASTRO or Root Explorer with R/W permissions. Secondly, as I mentioned in the last post, the 3rd file is missing from the stated directory.
I'm really confused, as it seems that none of these instructions add up for a Nexus S. I'd like my T-Mobile message to instead display "Nexus S: Pure Android, Pure Google"
Did not work on Modaco R9, CM7 or The Cracker builds...
nickmv said:
I'm on CM7 on a Nexus S, and I don't see a '/system/etc/spn-conf.xml' file. It doesn't seem to exist on mine. I'm on the latest nightly (#8) and have updated everything. Am I missing something?
Click to expand...
Click to collapse
spns-conf.xml does not exist on the Nexus S originally, but if you place it in /system/etc/ the OS knows to use it.
nickmv said:
How exactly did you get these files? I'm having all sorts of trouble with this. First off, the optable.db file is zero K, even when I extract it through ASTRO or Root Explorer with R/W permissions. Secondly, as I mentioned in the last post, the 3rd file is missing from the stated directory.
Use the optable.db from my zip and just edit it as you see fit.
I'm really confused, as it seems that none of these instructions add up for a Nexus S. I'd like my T-Mobile message to instead display "Nexus S: Pure Android, Pure Google"
Click to expand...
Click to collapse
I'm not sure what the character limit is but that might be too long.
I have all the files in the proper folders but it still doesn't work. Modaco R9
for those having problems getting this to work try using clockwork and press mount/storage then mount/system. hope this works.
tsalate said:
for those having problems getting this to work try using clockwork and press mount/storage then mount/system. hope this works.
Click to expand...
Click to collapse
You might be on to something, it worked for about 3 seconds then went right back to T-Mobile.
Still doesn't work. Mounted /system and /data. Does it only work for certain carriers? I'm using a&t
Is there a way to apply this to ALL carriers, rather than selecting one manually.
thanks

[MOD/HOW-TO] Remove hard key vibes via android.policy.jar

I thought I'd offer my solution to disabling the hard key vibrations on the Atrix since other people might find this useful. This method differs from the other solutions in that it doesn't tamper with your Silent Mode vibrations (like StreakVibrations does) and it's code based, so it shouldn't tamper with any themes you have installed (like the framework-res.apk method). It is firmware dependent though since it's a code modification.
You'll need an android.policy.jar modified for your firmware.
What I'm doing is I'm modifying the method called performHapticFeedbackLw, and telling it to skip triggering the vibrate pattern for all effects (there are 5) except for keyboard taps. Long press vibe, virtual key vibe, safe mode disabled vibe, and safe mode enabled vibe will no longer trigger... Incidentally, does anyone know what safe mode on this phone refers to?
To use the file, you need to be on Bell, Telstra, GingerBlur, Gladiatrix or stock ATT 1.8.3 firmware, and be deodexed. Can you copy the file to your phone without being deodexed? I don't know. I'm a programmer, but an Android newbie so just to be safe it's best if you're deodexed.
Before you try anything, obviously make sure you are backed up. At least copy your existing android.policy.jar so that you can restore it if necessary.
All you need to do is either:
a) Run the novibes.bat script packaged in the zip. There are a couple prerequisites:
1. Make sure to set your USB connection to "None" on your phone.
2. On your phone, go to Settings > Applications > Development and make sure USB debugging is turned on.
3. Plug your phone into your PC and let it install any necessary drivers.
4. Then you can run novibes.bat.
or
b) Follow the steps outlined below to do it manually:
1. Replace /system/framework/android.policy.jar with the one that I've attached.
2. Make sure the permissions of the file are set to rw-r--r-- (thanks for reminding me, Meloy and for correcting, natboy!). The easiest way is to use Root Explorer, long press the file, choose permissions, and set owner: read/write, group:read, others:read. Otherwise, use Terminal and type "chmod 644 /system/framework/android.policy.jar" without the quotations.
3. Reboot.
For those not on stock Bell, I'd be willing to modify your android.policy.jar and post it here if you provide somewhere for me to download it, and specify what firmware it comes from. It's quite quick to do once you're set up so I don't mind. Alternatively, make the change yourself:
1. Download baksmali and smali (both .jars and scripts, total 4 files).
2. Copy /system/framework/ from your phone to your computer.
3. Copy all the files from step 1 to the framework directory from step 2 on your computer.
4. Unzip android.policy.jar and copy its classes.dex file to the framework directory on your computer.
5. From the command line, navigate to the framework directory and run "./baksmali classes.dex". It will create a directory named "out".
6. Open "out/com/android/internal/policy/impl/PhoneWindowManager.smali" in a text editor.
7. Search for a method called "performHapticFeedbackLw". Go to near the bottom of that method, and you will see the Dalvik bytecode representation of a switch statement:
Code:
.sparse-switch
0x0 -> :sswitch_27 #This is for long press vibe
0x1 -> :sswitch_35 #This is for virtual key vibe
0x3 -> :sswitch_38 #This is for keyboard tap vibe
0x2710 -> :sswitch_3b #This is for safemode disabled vibe
0x2711 -> :sswitch_3e #This is for safemode enabled vibe
.end sparse-switch
8. Here's an example of how you might want it to change. Basically you want to replace the original goto labels with one that causes the method to step out without triggering a vibe, and that notifies the calling method there was no vibe by returning false. The label to use is called ":cond_1d":
Code:
.sparse-switch
0x0 -> :cond_1d #This is for long press vibe
0x1 -> :cond_1d #This is for virtual key vibe
0x3 -> :sswitch_38 #This is for keyboard tap vibe
0x2710 -> :cond_1d #This is for safemode disabled vibe
0x2711 -> :cond_1d #This is for safemode enabled vibe
.end sparse-switch
9. From the command line in the framework directory, run "./smali -o classes.dex out". You now have a new classes.dex that has your modification.
10. Zip up the classes.dex with the META-INF directory from your original android.policy.jar. Rename the zip to android.policy.jar.
11. Copy the new file to your phone and reboot.
12. At this point you should be done.
Will this be possible on the AT&T atrix? I currently use the streak vibe method but I'd like this much better.
Sent from my MB860 using XDA App
n1ckr0th said:
Will this be possible on the AT&T atrix? I currently use the streak vibe method but I'd like this much better.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1079873&page=3
Check out that thread over in general. The info for how to edit framework.res is there, but there is a flashable .zip that will disable the vibrations in either stock/rooted 1.83 or Gingerblur 3.5 for you.
bearsfan172 said:
http://forum.xda-developers.com/showthread.php?t=1079873&page=3
Check out that thread over in general. The info for how to edit framework.res is there, but there is a flashable .zip that will disable the vibrations in either stock/rooted 1.83 or Gingerblur 3.5 for you.
Click to expand...
Click to collapse
thank you, but i wonder if this specific method is possible on the atrix as to retain themes and such.
interesting that its in general, development may be a better home for it.
n1ckr0th said:
thank you, but i wonder if this specific method is possible on the atrix as to retain themes and such.
interesting that its in general, development may be a better home for it.
Click to expand...
Click to collapse
Yes, this would work perfectly fine on ATT. You can either follow the instructions I provided, or if you like you can post /system/framework/android.policy.jar from your phone somewhere and pm me the link so I can download it and I'll do it for you. Also mention what firmware you're on. I just don't want to download hundreds of MB of firmwares which is why I didn't set one up for all the ATT firmwares.
That other method requires editing a file that is guaranteed to change with any theme you install. That means anytime you change themes you'll need to edit that .apk yourself, or wait for someone to bring the change over. android.policy.jar is unlikely to change for themes.
Ok, I've posted a version for ATT 1.8.3 that was given to me by n1ckr0th.
n1ckr0th, let me know whether it works fine or not. There should be no problem, it looked just like the other 2 versions I modified.
Incidentally, he's using GingerBlur 3.5 so anyone on stock be careful (ie. copy your original file to somewhere else on your phone). It shouldn't matter at all because from what I see, there aren't any resources to modify in android.policy.jar so GingerBlur's should be the same as stock. At any rate, it won't brick your phone if you put the wrong one on. I put Telstra's on my phone by accident and it just messed up the the graphics on screen (maybe because the addresses were all wrong for my phone). You can still use adb, or sshdroid to copy and replace with your original android.policy.jar.
please delete
meloy said:
Don't use this on AT&T 1.83!
After the replace and reboot my phone was really laggy and some applications doesn't start anymore (camera, contacs for example). After i have replaced it with the original file i have still the same problem.
My phone config:
- SBF 1.83
- rooted (GingerBreak 1.20)
- sideloading enabled (GladEnabler)
- GladiAtrix 3 b0.2 ROM
- LauncherPRO
- GingerBread Theme only
Click to expand...
Click to collapse
What? That can't be right, if you still have the same problem after copying the original file, that means that you must have done something wrong. It's a single file change, provided you returned the file to the original, it will be back to the way it was. How did you copy the file? And also, are you deodexed? As mentioned in the original post, you have to be deodexed, because I don't know the results of using it on a non-deodexed system. Your posted config makes it sound like you might not be.
Sorry, my mistake. It is deodexed, I have just forgot to set the permissions to rw-r-r, you should maybe mention this in your start post. It's all working fine now. Thanks for the good work.
By the way, your mod (android.policy.att_1.8.3.zip) has added an "reboot" function to my phone, it is working well too.
meloy said:
Sorry, my mistake. It is deodexed, I have just forgot to set the permissions to rw-r-r, you should maybe mention this in your start post. It's all working fine now. Thanks for the good work.
By the way, your mod (android.policy.att_1.8.3.zip) has added an "reboot" function to my phone, it is working well too.
Click to expand...
Click to collapse
Haha, that's good. Had me scared for a moment, I didn't want to break anyone's phone!
Thanks for the tip, I'll mention that in the original post. Oh, and what do you mean by the reboot function...? Where did you access that? I certainly didn't add it, so it might be a mod added to GingerBlur?
maledyris said:
Oh, and what do you mean by the reboot function...? Where did you access that? I certainly didn't add it, so it might be a mod added to GingerBlur?
Click to expand...
Click to collapse
When i go to the phone options i have now these selection:
- Silent Mode
- Airplane Mode
- Power off
- Reboot
Yes, i think it is a GingerBlur mod. But it doesn't bother me, it is a good feature.
meloy said:
When i go to the phone options i have now these selection:
- Silent Mode
- Airplane Mode
- Power off
- Reboot
Yes, i think it is a GingerBlur mod. But it doesn't bother me, it is a good feature.
Click to expand...
Click to collapse
Interesting, that never occurred to me. I usually go into terminal and type in reboot to reboot my phone. I think I'll add that to my phone too...
maledyris said:
Haha, that's good. Had me scared for a moment, I didn't want to break anyone's phone!
Thanks for the tip, I'll mention that in the original post. Oh, and what do you mean by the reboot function...? Where did you access that? I certainly didn't add it, so it might be a mod added to GingerBlur?
Click to expand...
Click to collapse
the reboot function is cooked into GingerBlur. for some reason my phone wouldnt boot after i replaced the file? i used root explorer and set the permissions to whats specified.
n1ckr0th said:
the reboot function is cooked into GingerBlur. for some reason my phone wouldnt boot after i replaced the file? i used root explorer and set the permissions to whats specified.
Click to expand...
Click to collapse
Hmm, how far does it get? Do you at least get to the boot animation? I notice that it may sit at the boot animation for a really long time after changing a file sometimes. Probably updating the cache or something. It's odd that it wouldn't work for you considering it's your file and it worked for meloy. How did you copy the file over?
If you try again, delete the original file, so you can be sure it's no longer there, then try the copy again.
I'm on AT&T 1.8.3. I followed instructions just as in OP (yes, including the proper setting of permissions), but I soon found a significant problem. Everytime I held down my power button in order to invoke the power options menu, instead of the menu popping up, my phone just freaked out (the screen quickly FADED to black and the phone rebooted). I did this about four times, and each time it happened exactly the same. So I brought back the original framework file, and now everything works fine.
Any ideas?
I have no problems with this mod. It works all fine.
Been waiting on this mod. Streakvibrations has me missing my notification vibes. Thank you
It gave me a red light on boot, stuck at Motorola logo for infinity. I booted into recovery and reflashed gb 3.5 to fix it. Ill try your idea of deleting it then moving the new one.
Sent from my MB860 using XDA App
EDIT: still didnt boot, had to flash again..
I'm getting the flashing red light and rebooting as well. I can't get into CWM though, going to have to flash a SBF. Only think I can think of is maybe the Dalvik cache needs to be wiped before rebooting?
Edit: I'm on an AT&T phone and used GB to deodex as well.. maybe it's not catching all the files..
lurchbyrep said:
I'm on AT&T 1.8.3. I followed instructions just as in OP (yes, including the proper setting of permissions), but I soon found a significant problem. Everytime I held down my power button in order to invoke the power options menu, instead of the menu popping up, my phone just freaked out (the screen quickly FADED to black and the phone rebooted). I did this about four times, and each time it happened exactly the same. So I brought back the original framework file, and now everything works fine.
Any ideas?
Click to expand...
Click to collapse
Are you on stock 1.83? Now that we know that android.policy.jar has some mods built into it for Gingerblur pseudo rom, the att 1.83 file I posted probably isn't ideal for stock users.
If you're on stock, maybe you could post your android.policy.jar somewhere and pm me the link to download. Then I could put together a pure stock att one when I get home.
Sent from my MB860 using XDA App

[ How to ] How to get the V6 supercharger to work on the 10.1 tab

What this does is speed up your tab. Its crazy how well zepplinrox got this to work, but it makes the tablet fly. It doesnt require more battery, nor stress the hardware any. It alters and fixes the OOM groupings, lowmemorykiller and the priorites. I don't want to get into the nitty gritty, but do it and I'm sure you will be amazed!
If you do not have the init.d folder, then you need to load a custom rom. Some custom roms will have this folder. Read on page two, zepplinrox explains it more.
Here is the process to get the supercharger to work and stick on out tabs. Its all spelled out on the original post ( by zepplinrox ) , but this is the short and sweet version.
You need to be rooted and have busybox 1.18.2 or lower.
First off go here and download the script : www.mediafire.com/?w6682pwu52ty5o6
Then download this app : https://market.android.com/details?id=os.tools.scriptmanager&feature=search_result
1. Then you run the script manager and find the V6 script that we first downloaded.
2. When you click on the script, the manager will open,( Make sure the run as root box is ticked under the "run" button ) just hit run in the top left of the screen.
3. Then, you have to just click in the black anywhere and the keyboard will open. Select a number 1, 2, or 3 , this is how fast the text will scroll. Being the screen is so big, select number 1. You will be fine. Hit enter on the keyboard, then lower the keyboard away.
4. You can now see a lot of options, don't get nervous. The script does it all itself. Being that we have so much ram already, the minfrees are already huge, but can be bigger . So options 1 - 7 are smaller than the stock minfrees. You can use either setting 8 or 9. I'm using the setting number 9. So to select the minfrees you want ( either number 8 or 9 ), click on the screen to bring up the keybpard, and hit the number you want ( again 8 or 9 only )!
5. Once that is done you will see the script run some info in front of you. It will say to reboot but don't yet. Type the number 17 in, and you will see it say bye etc. Ok, once it says bye, hit the back soft key in our launcher. Now navigate to this on the screen that in front of you. Keep hitting back until you get to the ''/'' of the tablet. Rom there you will click on ''system'', then click on ''etc'' and lastly on '' init.d '' . In there you will see a file called '' 99SuperCharger'' . Click on that and the script manager will open again, but you need to select certain boxes this time before hitting run. When the screen comes up hit '' run as root '' and '' run on boot ''' and hit save. Once that is done hit run ( nothing happens here, so don't expect to see anything scrolling) , then back out using the back arrow in our launcher. Then reboot your tablet, and that's it. The custom minfrees now stuck, and your supercharged!
Thanks to zepplinrox for this script!
P.s. to find out of the script stuck, reload the FIRST V6 script. Select your speed like we did, then once it is all loaded up you will see a line in there that says prior mifrees ( prior is still your current ) . Just match that up with the number you selected at first.
Thats it.
Here is the op on supercharging, from zepplinrox forum.xda-developers.com/showthread.php?t=991276
Sent from my Galaxy Tab!
so what does this do exactly?
In a nutshell, its a memory manager.
It will speed up your phone, multiasking etc. Its kinda crazy how well it works, and does not require more battery life like overclocking does. What it does it rearrange the OOM groupings, lowmemorykiller and priorties.
Sent from my Galaxy Tab!
cool thanks for the quick reply, can this be used in conjunction with a Task's ROM and pershoot's kernel?
I think I'll wait for others to test this out first seems too good to be true
mickey78 said:
cool thanks for the quick reply, can this be used in conjunction with a Task's ROM and pershoot's kernel?
Click to expand...
Click to collapse
yes. you can use in on basically anything bro.
yes it works anything android based. And for the skeptics, its been out for sometime now. Look here..
forum.xda-developers.com/showthread.php?t=991276
That's the op on this.
Sent from my Galaxy Tab!
Samsung Adrenaline Shot
This has been developed for some days and I am using on my Captivate, it's amazingly fast. I know some files are HC based but written for GB, maybe someone take a look and see if it will work?
http://forum.xda-developers.com/showthread.php?t=1236779
I use SAS, not USAS as it is just a script.
I've been using it for a while on my evo and the same with the tablet. All works well.
Sent from my Galaxy Tab!
I'll follow this thread closely. It always amaze me how a small group of people working together can achieve things beyond what Google themself can achieve with their OS.
Im getting permission denied during the last step (run as boot etc.)
Any ideas? My tab is deffo rooted as other apps that require root work fine.
Cheers!
I haven't got the init.d? What's wrong? I'm using broadcom KH7.
Here is a screen shot.
same for me, i dont get the init.d folder. I saw many permission denied lines in the script, so i run the script again with root. It doesnt help and i restart my Tab... and now i am in a bootloop. So i restore my backup, but can someone tell me what i do wrong?
Thx in advance
Flash
Edit: same for me, like klass1 , i use the Broadcomb stock too
klass1 said:
Here is a screen shot.
Click to expand...
Click to collapse
I also have the same problem, running stock rom.
Is root required?
Hey sorry guys, I'm out of the house. But yeah root required, I think. But not 100% sure as I have always been rooted. And as far as not seeing the init.d folder.. are you fellas all the way back to the '/' in the script manager? Go system, etc,init.d and the 99SuperCharger should be there. In sure why you can't see back that far. Are all or you guys rooted that are having issues? The ron type doesn't matter, as these folders are universal on all roms.
Also I too received some denied lines, but all is working as should. So that shouldn't be an issue.
Sent from a miui powered HTC Evo.
Yes, I am all the way back at / going to /system/etc and I could NOT find the init.d folder after running the script. I am rooted and using the Broodcomb ROM for GT-P7500. I have the same problem the other guys have. Help please!
i didnt have it either, the init.d folder, so i ran a kernel tweak from the creator of V6 scrpit and that created a init.d folder for me then i ran the script again and there it was the 99Suercharger file. So i think you can just create the folder your self, no need to run the kernel tweak, just ad new folder to system/etc called init.d that should fix it for thoose that dont have it created by the script.
And did you noticed a good speed improvment?
Sent from my GT-P7500 using xda premium
How do you create a folder?

[GPS] T959 4.2 JB GPS Reset / Fix [GPS]

Looking around in various threads I found numerous gps fixes. In some (most) the files are not original T959 files. While they may work, since they are not T959 KB5 files the possibility of 911 working diminishes. I set out to find any gps fix out there and build a flash-able package that would reset everything back to the proper (or as close to) files for our phones (T959).
Also I have found some ROMs utilized the SUPL port of 7276. This port was found to create gps log-spam and the "fix" was to reset the port to 7275. This IMO also resulted in quicker locks.
See HERE and HERE for more info.
For the 911 info go HERE (or just click it in FaultException's signature)
What this tells me is you want matched GPS libraries with the proper T959 RIL.
So I have searched a few threads and found 1 GPS fix so far and built mine to reset or undo any possible mismatched files flashed. If you find any GPS fix that some might use for CM10.1 please post it an I shall try to adapt mine to reset it to the proper files.
I have made:
North American version (NA)
Europe Version (EU)
Global Version (GL)
USA Version (US)
Asia Version (AS)
YMMV between USA and North America if you live in the states.
2nd post I will also post my custom version with some extra advice and good signal locks. What I need is for people to nanadroid first and test it. Also to post / link and GPS fixes they may have come across so I can check them. Point to note is I am attempting to fix non T959 GPS fixes as much as make a good GPS fix for our phones. Posting links to other "fixes" will help. Thanks
With any JB / ICS ROM you have taken the responsibility of possible breaking 911. No difference here. Flash at own risk.
NANDROID FIRST!!!
Big thanks to FaultException for the time, info, and files required for our phones.
Original version may mute calls > Revert to nanadroid if the case. V2 shouldn't effect calls. Please test.
Checking original Froyo gps files here is the the MD5's Ive found so far:
JFD (558kb)
0F3376A81E85AE6044D2BF68D63E2A55
JI6 (554kb)
4761E7B01E0A71A048458F50DE64BC62
KB1 (554kb)
870A5D6F3542FD7421B215FCB37D884C
KB5 (554kb)
870A5D6F3542FD7421B215FCB37D884C
(KB5 is what is in CM10.1 also)
Ok here is the file for my custom GPS setup. I have not had and deep-sleep issues (DS). Some of the following may work, or not. Its just some tips and stuff I do.
Zip file attached. NTP is set to north america so you can edit as needed.
This will also install Angrygps app for you. When you boot up open the app and set the following:
Settings > General Settings > Operation Mode = "MSBASED"
Settings > SUPL Settings > Server = supl.sonyericsson.com and PORT = 7275
Also I suggest you install an app called LeoAGPS injector. Found HERE
Install it like any normal app (no push), open the app and select "Pop-up message". After that go to your home screen and app the LeoAGPS widget. Click the widget to inject AGPS data. Wait a few seconds then reboot.
Try out the GPS and see how it goes.
Version 1 broke sound on the RemICS ROMs so I pulled the RIL files out. Now just custom gps files / fixes
Change log:
Added a USA version. May or may not work better than the North America version.
1/10/2013 - Since it appears the version 1 broke phone sound on the RemICS builds I removed the RIL files. Now v2 will only fix / replace gps files and not RIL files.
1/18/2014 - Added some MD5's of gpsd/agpsd files Ive extracted from Samsung dumps.
GPS fixes reset:
http://forum.xda-developers.com/showpost.php?p=33575684&postcount=504
If you want to try and adapt it to your specific country:
Open in a text editor: /system/etc/gps.conf
Change the NTP server line (top line) to your country. Country list found HERE
Edit / reboot / check
I do suggest the LeoAGPS app in post #2. It has seemed to work well for me.
Moped_Ryder said:
Ok here is the file for my custom GPS setup. I have not had and deep-sleep issues (DS). Some of the following may work, or not. Its just some tips and stuff I do.
Click to expand...
Click to collapse
Thanks for this awesome post! I know I'm suppose to test these files before asking but you might already have the answer: with these fixes, in your experience, do you still need to get a lock before DS in order to prevent issues after DS? Or after you reboot and getting into DS before locking first, you are able to get GPS to lock after DS?
Thanks for all your help!
davidgs said:
Thanks for this awesome post! I know I'm suppose to test these files before asking but you might already have the answer: with these fixes, in your experience, do you still need to get a lock before DS in order to prevent issues after DS? Or after you reboot and getting into DS before locking first, you are able to get GPS to lock after DS?
Thanks for all your help!
Click to expand...
Click to collapse
It was not addressed to me, my 5 cents anyway. I think it's more a kernel issue, at least it was so on ICS until the great SubZero came into play. You should try his GPS-wrapper, I think it could help (preventing the GPSD getting incidentally corrupted) - find the flashable zip in the "3 files fix" post of Jrafael (see post No 3 above).
I am also very interested in getting our Vibrant's GPS as much functional as it can be. My own "fix" (check for Igps.zip) was giving me best results for accuracy (down to 3 m!) on some ROMs (JB 4.1 and 4.1.2, but not 4.2.1). I found out that there are many useless files (such as gps.xml or secgps.conf), and that GPS will still lock and pretty quickly even without gps.conf tweaks (and even without this file). However I don't have coding skills to organize my empirical findings.
@ MR - where did you get your RIL files from, with the Europe fix file I have no sound on phone call (I use instead the MP's RIL files, working fine for me).
Got the RIL from KB5 / CM10.1 - same boat here about sound. Gonna pull the downloads and check on it. If anything Ill re-up without the RIL and just GPS files and try again. Im getting what looks to by Bluetooth errors when trying to connect. Even when BT is turned off with the RemICS ROMs.
Whenever able CM10.1 use the Froyo KB5 RIL / Drivers and such. Some times it just doesn't work. The RIL and AGPS files from Froyo KB5 match the CM10.1 ROMS.
Testing my original fixes - the following so far are the outcomes:
RemICS-JB: Breaks sound. Version 1 RIL and GPS doesnt match CM10.1 / KB5.
Slimbean: No issues - Sound works fine. Confirmed the base RIL / AGPS files in ROM match CM10.1
HellyBean: No issues - Sound works fine. Confirmed the base RIL / AGPS files in ROM match CM10.1
CM10.1: No issues - Sound works fine. Confirmed the base RIL / AGPS files in ROM match CM10.1
FIRST
I will apologize to those who flash the original version on RemICS ROMs. It broke your call sound. Return to your nandroid and all should be well. For those on Slim / Helly / CM10.1 you are fine.
The RemICS ROM is very smooth but the RIL / GPS files don't match the Samsung T959 KB5 (also in CM10.1) files. Replacing 3 of the RIL files with the proper KB5 ones broke the sound. Ill keep at it.
For now - Version2 no longer replaces and RIL files. All the above GPS fixes will replace gps files / remove un-needed gps files.
First I want to thanks Mr. Moped for jb GPS fix great job.I am using remics jb 4.2 and moped GPS files NA-Version 2 it works good, I lost signal than it reconnect so that issue is fixed in Version 2 and sound is working also thanks .
Sent from my SGH-T959 using xda app-developers app
Gps works good sound also ,only sound is bad when I put on speaker when i am on phone call to much noise . we used to control mic from in call volume control feature in advance setting and now we are missing that feature in 4.2.
Sent from my SGH-T959 using xda app-developers app
Moped_Ryder, I just flashed 4.2.1 and flashed your USA version GPS fix after flashing GAPPs. I'm coming from 4.1.2, and only got locks down to 30m intermittently. The norm was 800 m accuracy (vik5 responded to some of my posts). More importantly, thank you for doing this post (clicked the Thanks) and appreciate you explaining the reasoning behind your updates as well.
*Update* First lock in GPS Checker occurred after 31s with 8 "fixed satellites". Marked improvement over GPS performance on Team RemICS 4.1.2 (highest I ever got was 3 satellites, lock took 242 s). Thanks Moped!!
Cap'nO said:
Moped_Ryder, I just flashed 4.2.1 and flashed your USA version GPS fix after flashing GAPPs. I'm coming from 4.1.2, and only got locks down to 30m intermittently. The norm was 800 m accuracy (vik5 responded to some of my posts). More importantly, thank you for doing this post (clicked the Thanks) and appreciate you explaining the reasoning behind your updates as well.
*Update* First lock in GPS Checker occurred after 31s with 8 "fixed satellites". Marked improvement over GPS performance on Team RemICS 4.1.2 (highest I ever got was 3 satellites, lock took 242 s). Thanks Moped!!
Click to expand...
Click to collapse
Do me a favor if you have time. Do a Nandroid and try my Custom fix in post #2 (to include AngryGPS settings). Also combine that with the LeoGPS I linked as well.
See if that works any better for you. Revet back to your Nandroid after if you wish.
Moped_Ryder said:
Do me a favor if you have time. Do a Nandroid and try my Custom fix in post #2 (to include AngryGPS settings). Also combine that with the LeoGPS I linked as well.
See if that works any better for you. Revet back to your Nandroid after if you wish.
Click to expand...
Click to collapse
Will do
Sent from my SGH-T959 using xda app-developers app
Moped_Ryder said:
If you want to try and adapt it to your specific country:
Open in a text editor: /system/etc/gps.conf
Change the NTP server line (top line) to your country. Country list found HERE
Edit / reboot / check
I do suggest the LeoAGPS app in post #2. It has seemed to work well for me.
Click to expand...
Click to collapse
Hi, I tried to edit gps.conf file as mentioned. But whether I changed the supl_port to 7275 it remains 7276 it asks me to save the changes but doesnt save
Probably /system is not set for read/write.
Ill make ya a Flashable zip tonight if you give me the country you want from that list.
Moped_Ryder said:
Probably /system is not set for read/write.
Ill make ya a Flashable zip tonight if you give me the country you want from that list.
Click to expand...
Click to collapse
I don't suppose I could request a flashable zip for New Zealand (Oceania) gps settings?
I flashed from 2.3 to Cyanogen 10 then 10.1 and now have no gps when I did initially have it working in 2.3
Moped_Ryder said:
Probably /system is not set for read/write.
Ill make ya a Flashable zip tonight if you give me the country you want from that list.
Click to expand...
Click to collapse
Hi,
Thanx for the reply Moped I am using root explorer and set the r/o to r/w and opened the conf file in text editor.. I can edit the file but changes wont stick
I am living in sri lanka which comes under Asia — asia.pool.ntp.org Sri Lanka — lk.pool.ntp.org
Thank you again.
EDIT: I edited the gps.conf file using the es explorer (with root access enabled). there is a new file created inside root explorer gps.conf.bak and theres nothing inside gps.conf file (inside root explorer).
BUT gps.conf file (inside es explorer) has the changes I made. I rebooted but still the same
EDIT (update): Set the permission READ for all USER, GROUP, OTHERS and voila gps.conf file has the changes
Hope these info will help anyone having this issue
I can take care of it tonight.
If anyone wants to do it themselves its not hard.
1. Download and install a program called 7zip
2.. Download any of my GPS fixes
3. Right click on it (GPS fix). Browse thru 7zip to the /system/etc folder and drag the gps.conf file out to desktop (or somewhere).
4. Dont close the 7zip yet
5. Open the gps.conf file you just extracted and edit the NTP line to suit your needs. Save it.
6. With the archive still open in 7zip drag the edited gps.conf file into the /system/etc folder in 7zip. Overright old file.
7. Close zip. Its ready to transfer to your phone and flash it.
...You may be abnle to edit the gps.conf file right from 7zip (cant test Im at work right now)
I can always help someone with it. Just though peopl would like to try it out themselves too.
Moped_Ryder said:
I can take care of it tonight.
If anyone wants to do it themselves its not hard.
1. Download and install a program called 7zip
2.. Download any of my GPS fixes
3. Right click on it (GPS fix). Browse thru 7zip to the /system/etc folder and drag the gps.conf file out to desktop (or somewhere).
4. Dont close the 7zip yet
5. Open the gps.conf file you just extracted and edit the NTP line to suit your needs. Save it.
6. With the archive still open in 7zip drag the edited gps.conf file into the /system/etc folder in 7zip. Overright old file.
7. Close zip. Its ready to transfer to your phone and flash it.
...You may be abnle to edit the gps.conf file right from 7zip (cant test Im at work right now)
I can always help someone with it. Just though peopl would like to try it out themselves too.
Click to expand...
Click to collapse
One can make a custom flashable zip right on his/her phone.
1. Use a file explorer which has archiving function (I have Solid Explorer) and unzip any flashable zip you want to change.
2. Make your changes.
3. Compress to zip again. IMPORTANT: you must ONLY include the content itself and NOT the uppest folder (if your zip has two folders, META-INF and System, first select the two and compress these two in a single archive). Otherwise it won't be cwm flashable.
To change the gps.conf file on the go use Faster GPS (NOT Faster fix) free in Playstore.
Moped...i tried the other zip; No good lock on this one. Flashed Custom zip file and changed settings in Angry GPS as instructed. No lock..no satellite signals. Reverting back to old setup..using your US version, which worked perfect.
Sent from my SGH-T959 using xda app-developers app

[MOD] PRL Write Enabler for Sprint Galaxy S4 [MDC][MDL][MJA]

First off this work is based on Digiblur's PRL Write Enabler from the Sprint Galaxy S3 forum. I simply modified it & packaged it for our Sprint Galaxy S4 devices.
Here is the original S3 post that this was found in... http://forum.xda-developers.com/showthread.php?t=2159054
Also, post #8 below provides additional info.
I tested it by flashing with TWRP and it worked on my stock, rooted S4 with the MDC and MDL releases.
If you're on a stock rooted Rom and not using TWRP, you can just copy the HiddenMenu.apk from inside the zip file downloaded into /system/app/ and overwrite the one that's there. (You'll need a root enabled file browser to do this of course).
Thanks to Unknownforce here is a version for MJA...
http://www.androidfilehost.com/?fid=23212708291676468
Enjoy!!
This certainly will save me from having to use CDMA WS to switch like I just did yesterday. 55014 was not working well for me in my market so I switched back to 25014.
What is write enabler?
Keeps aborting for me
THEGAMEPLAY94 said:
Keeps aborting for me
Click to expand...
Click to collapse
You mean the install of the zip?
If so, you can pull the APK out of the zip and replace HiddenMenu.apk in the system folder (make a backup first). You may want to also set the permissions to rw-r-r after replacing the system app. Reboot, then you should be good to go.
@ChadH42,
I know it seems like I'm harping on you but I'm really not..
You need to update the OP on - 1. What is this? 2. What does this do? 3. Why is this in the Development Section.. ?
A good OP leads to less questions.. Development Sections aren't for information. That would be considered a Discussion Thread that belongs in General.
Let's keep the Dev section clean from the start.
My suggestion - Edit the OP on the What's/Why's?/How To's and you won't get posts like mine.
To the OP, updated your title as [WIP], and I suggest you provided additional information so that folks aren't bricking their new devices.
I will check in, if you need anything, let me know.
What this MOD does (in case the OP takes a little while to chime in)
What this MOD does is modifies our ##DATA# (select View) menu to allow for the PRL Write option to appear and function. With this menu option, the user can change their PRL on the fly from the device itself by placing a copy of the desired PRL in the root directory of Internal Storage and name it "test.prl" (no quotes), dial ##DATA# (choose View), tap Write PRL, tap the sub-menu option Write PRL ---wait--- and then the device reboots with the test.prl PRL applied upon reboot. Not every PRL works and sometimes it takes a couple of tries.
A tip for multiple PRL options is to, of course, keep a folder of the PRLs you like and keep them labeled in there. Copy the desired PRL to proper place as needed and just remember to rename the copy to "test.prl". Switch back and forth as you please. I hope this helps clear some confusion and helps some find purpose with the MOD like I have.
For a clear set of instructions that I did not want to just copy verbatim, check the link below. Also, if you are having issues with the zip not installing in CWM, just extract the APK from the ZIP (inside the system/app folder), use Root Explorer or your favorite root-access file explorer to place the APK in the APP folder, apply the proper permissions and reboot.
Ref from the GS3: http://forum.xda-developers.com/showthread.php?t=1748516
So I unzipped the file, replaced the hidden menu original apk with the new one, then set permissions, rebooted, then tried ##3282# and the view and edit options do not appear.. .. It just blanks out the items I just entered
Sent from my SPH-L720 using Tapatalk 2
jayjay7411 said:
So I unzipped the file, replaced the hidden menu original apk with the new one, then set permissions, rebooted, then tried ##3282# and the view and edit options do not appear.. .. It just blanks out the items I just entered
Sent from my SPH-L720 using Tapatalk 2
Click to expand...
Click to collapse
Did you clear Cache when you rebooted?
What ROM are you using?
ChadH42 said:
Did you clear Cache when you rebooted?
What ROM are you using?
Click to expand...
Click to collapse
+1...same thing is happenening to me...Im on force rom. when i type in the dialer code it just blanks out.
lilmikeyv said:
+1...same thing is happenening to me...Im on force rom. when i type in the dialer code it just blanks out.
Click to expand...
Click to collapse
I just tried this mod with the Force ROM and it did the same thing (blank options). The only thing I can think of is that it works with the odex version of the stock ROM so maybe its a problem with deodex ROMs of which Force is one.
O okay. Its currently not a necessary thing for me at the moment, just nice for when I travel to Alabama. Hopefully later on someone gets it working on deodex.
Sent from my Nexus 4 using Tapatalk 2
ChadH42 said:
I just tried this mod with the Force ROM and it did the same thing (blank options). The only thing I can think of is that it works with the odex version of the stock ROM so maybe its a problem with deodex ROMs of which Force is one.
Click to expand...
Click to collapse
I am actually running it on the Rooted Stock DeOdexed ROM. So I don't think it is an Odex/DeOdex issue...might be a Force ROM issue.
Also, moot point for Force ROM (1.0+) anyway because the PRL Write mod is already included with that.
I'm also having this problem and I'm pretty sure it was working this morning. I haven't flashed anything since then.
edit-- I tried:
1. wiping both cache's
2. killing background process "OIThiddenmenu"
neither fixed it.
I reinstalled the stock odex ROM and flashed this again and it worked.
Just an FYI, OP, I get Error Status 6 when trying to flash this via recovery, which indicates one of two things. Either the format of the file is incorrect or there is a syntax error. The syntax looks fine, but opening in basic Notepad shouldn't "look pretty" like it currently does. So it's likely it was edited with a non-Unix-compatible text editor like Notepad or MS-Word...
To make modifications to an updater-script (or just about any Android/Linux files like this) you need something like Notepad++ or gVim.
Anyways, I did a quick test with this, and it does in fact not work on my ROM as it is, but I see why it's failing, but I don't know what exactly it's trying to reference yet. (It fails with an id number instead of a name, so I'll have to de-compile some things to find it.)
I'm not sure it's a ROM issue or a MOD issue yet. (meaning it might have to be updated for each custom ROM, depending on how they are configured) But I'll track it down and update when I can.
Unknownforce said:
Just an FYI, OP, I get Error Status 6 when trying to flash this via recovery, which indicates one of two things. Either the format of the file is incorrect or there is a syntax error. The syntax looks fine, but opening in basic Notepad shouldn't "look pretty" like it currently does. So it's likely it was edited with a non-Unix-compatible text editor like Notepad or MS-Word...
To make modifications to an updater-script (or just about any Android/Linux files like this) you need something like Notepad++ or gVim.
Anyways, I did a quick test with this, and it does in fact not work on my ROM as it is, but I see why it's failing, but I don't know what exactly it's trying to reference yet. (It fails with an id number instead of a name, so I'll have to de-compile some things to find it.)
I'm not sure it's a ROM issue or a MOD issue yet. (meaning it might have to be updated for each custom ROM, depending on how they are configured) But I'll track it down and update when I can.
Click to expand...
Click to collapse
Thanks for all your help here..
I had the error status 6 problem in the beginning and thought I fixed it. You are correct that I used MS WordPad to edit the files.
ChadH42 said:
Thanks for all your help here..
I had the error status 6 problem in the beginning and thought I fixed it. You are correct that I used MS WordPad to edit the files.
Click to expand...
Click to collapse
I think TWRP can read the non Unix type characters, which is why it works on a different recovery.
I'm hoping it's a mod issue and I can just modify the mod to work universally regardless of the rom. But we'll see.
Sent from my SPH-L720 using xda app-developers app
fails in recovery for me.
says error executing updater binary in zip
in stock rooted...

Categories

Resources