No GPS ... help ;/ - Samsung Infuse 4G

I'm having a problem with my GPS signal on Infuse.
I cannot get any satellites connection, moreover the phone does not see any satellites in GPS Test. (I had phone sitting outside for quite some time and nothing happend, while other phone with the same GPS test got fix within seconds).
I thought that the problem was in ROM I've been running, first CM10 and then Paranoid, but today I flashed back to stock hopeing that it was faulty flash of ROM but .... no connection at all.
Does anyone ever had similar problem or knows the solution?
I'm using my Infuse in Europe (Poland) if that matters at all to any of the settings.

Hi,
More information :
Post the link to your ROM
Post gps.conf (system/etc/)
Post logs when your GPS turn on (ex:grep in logcat command)
Sent from my GT-N7000 using xda app-developers app

karamelos said:
Hi,
More information :
Post the link to your ROM
Post gps.conf (system/etc/)
Post logs when your GPS turn on (ex:grep in logcat command)
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Currently I'm running Option C from the following link - http://forum.xda-developers.com/showthread.php?t=1613523
My gps.conf:
NTP_Server=pl.pool.ntp.org (tried nort-america as well)
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276
I will post logs tomorrow

Try this
add in gps.conf (not duplicate XTRA_SERVER_*=http://xtra*.gpsonextra.net/xtra.bin)
Code:
NTP_SERVER=pl.pool.ntp.org
NTP_SERVER=0.pl.pool.ntp.org
NTP_SERVER=1.pl.pool.ntp.org
NTP_SERVER=2.pl.pool.ntp.org
NTP_SERVER=3.pl.pool.ntp.org
NTP_SERVER=europe.pool.ntp.org
NTP_SERVER=0.europe.pool.ntp.org
NTP_SERVER=1.europe.pool.ntp.org
NTP_SERVER=2.europe.pool.ntp.org
NTP_SERVER=3.europe.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
reboot & try

karamelos said:
Try this
add in gps.conf (not duplicate XTRA_SERVER_*=http://xtra*.gpsonextra.net/xtra.bin)
Code:
NTP_SERVER=pl.pool.ntp.org
NTP_SERVER=0.pl.pool.ntp.org
NTP_SERVER=1.pl.pool.ntp.org
NTP_SERVER=2.pl.pool.ntp.org
NTP_SERVER=3.pl.pool.ntp.org
NTP_SERVER=europe.pool.ntp.org
NTP_SERVER=0.europe.pool.ntp.org
NTP_SERVER=1.europe.pool.ntp.org
NTP_SERVER=2.europe.pool.ntp.org
NTP_SERVER=3.europe.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
reboot & try
Click to expand...
Click to collapse
Now i cant even save that file. I have rooted phone with superuser on it. Tried total commander and astro manager with no luck. I have changed from north-america to pl using faster fix app but it doesnt have edit option. Any suggestions ?
Sent from my SAMSUNG-SGH-I997 using xda app-developers app

Root works properly ?
Application have root permission ?
Sent from my GT-N7000 using xda app-developers app

karamelos said:
Root works properly ?
Application have root permission ?
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
yes, it seems like it is working right.
I even upgraded the ROM to see if that would make a difference but the same thing happens.
I cannot save any gps.conf file (i found two of them, one in system/etc, and the other one in etc/ - or is it the same location ?)
regards the new rom - i'm running the newest release of PA (http://forum.xda-developers.com/showthread.php?t=1742073) that supposed to have the best GPS so far.
the wierd thing is, i've tried to change the permission of that file in total commander but it gave me an error message saying that the file is "read only", but when i downloaded faster fix from market to change the ntp file it did it right away.....
Can it be a hardware issue ??

Test with adb shell
Sent from my GT-N7000 using xda app-developers app

karamelos said:
Test with adb shell
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
... how can i do that ? by looking around on forum i found that i shall put something in command line in terminal emulator (sorry i admit i am a noob). can please provide some more information on how to perfomr that gps test in adb shell ? thanks in advance

bsieron said:
yes, it seems like it is working right.
I even upgraded the ROM to see if that would make a difference but the same thing happens.
I cannot save any gps.conf file (i found two of them, one in system/etc, and the other one in etc/ - or is it the same location ?)
regards the new rom - i'm running the newest release of PA (http://forum.xda-developers.com/showthread.php?t=1742073) that supposed to have the best GPS so far.
the wierd thing is, i've tried to change the permission of that file in total commander but it gave me an error message saying that the file is "read only", but when i downloaded faster fix from market to change the ntp file it did it right away.....
Can it be a hardware issue ??
Click to expand...
Click to collapse
remount /system r/w
try this command in terminal emulator or adb shell
sudo mount -o remount,rw /dev/block/stl9 /system
if you do this from adb you might need to grant it superuser permissions from a popup on the phone screen or you might get a permission denied error.
then try to edit and save gps.conf

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I get "sudo: not found"
Sent from my SGH-I997 using xda app-developers app

bsieron said:
I get "sudo: not found"
Sent from my SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
weird.... type;
su
then type;
mount -o remount,rw /dev/block/stl9 /system

Re typed it, went to total commander but still not able to save gps.conf file ...
Is there any app/software that would tell me if the hardware part of gps is faulty or not ? Maybe this is the issue ?
Sent from my SGH-I997 using xda app-developers app

bsieron said:
Re typed it, went to total commander but still not able to save gps.conf file ...
Is there any app/software that would tell me if the hardware part of gps is faulty or not ? Maybe this is the issue ?
Sent from my SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
try changing the file permissions again. try it in command line.
su
cd /system/etc
ls -l
(this should print the files in the folder and show the permissions, note what the permissions for gps.conf are i'm guessing wr-r--r--)
chmod 666 gps.conf
then edit the file.
now if the permissions for the file were wr-r-r- then the proper code to set it back to is 644
after you edit the file go back to command line and type
su
cd /system/etc
chmod 644 gps.conf

This time it worked. I types the settings from the code, rebooted but after 15 minutes or so sitting outside with gps test on still could not get any satellites in view. Also i can no longer edit gps.conf (after the reboot). I tried changing the attributes to 666 like before but now i'm getting info in terminal emulator that the file is read only...
Sent from my SGH-I997 using xda app-developers app

Sent from my SGH-I997 using xda app-developers app

bsieron said:
This time it worked. I types the settings from the code, rebooted but after 15 minutes or so sitting outside with gps test on still could not get any satellites in view. Also i can no longer edit gps.conf (after the reboot). I tried changing the attributes to 666 like before but now i'm getting info in terminal emulator that the file is read only...
Sent from my SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
You have to remount /system again. For some reason some ROMs don't let some apps do this even if it's a root app. You might be able to leave GPS.conf as 666 or 664 permissions but you will always have to remount /system rw after a reboot. Root explorer is usually good with being able to Mount rw but it might also be some configuration file in the rom so I don't know if buying root explorer will solve that for you.
Edit; if you are on a stock ROM and see no satellites you may have some weird error that needs a factory reset, when the GPS is completely stuck like that a full wipe through settings might help. I don't really know why this is but it seems to help sometimes. First thing to do is back up anything important to your computer. A reset through setting even formats the sdcard. Consider it a last resort but it sometimes helps.

Dani897 said:
You have to remount /system again. For some reason some ROMs don't let some apps do this even if it's a root app. You might be able to leave GPS.conf as 666 or 664 permissions but you will always have to remount /system rw after a reboot. Root explorer is usually good with being able to Mount rw but it might also be some configuration file in the rom so I don't know if buying root explorer will solve that for you.
Click to expand...
Click to collapse
I've ben able to use root explorer with this rom to change the GPS.conf, after you select rw, you have to open the file with a text edit program, make your changes, save the file, and reboot.

I was able to access the file after remounting the system.
But still no satellites in view
Sent from my SGH-I997 using xda app-developers app

Related

Guide to remove Moxier mail and replace with new version

Hi
This is for those who actually use Moxier mail to get that needed exchange fix!
I use exchange for my job, so I needed this one badly, and I would like the newest one with nice little widgets. Unfortunately this can not be done out of the box, because when you try to install the newest version, the installer still detects the old one.
The problem is that the package information is still present in the package.xml file.
To fix this, you need to have completed to rooting guide!
http://forum.xda-developers.com/showthread.php?t=711907
Remember also to see post number two inside that thread, since su needs to be working properly. I can also recommend to download the latest version of busybox inside the Android Marked, this will provide you with mere unix/linux basic commands.
Another tool I use is SciTE, this is for editing the xml file, notepad will do, as long as you make sure to save as ASCII.
http://prdownloads.sourceforge.net/scintilla/Sc212.exe
Ok, now for the guide.
Go into your step4 folder from the ROOT folder (see root thread)
run the following commands.
**UPDATE**
In case moxier still exist more actions is needed, this is now included in this one! Also added backup of the original files both moxier and packages.
Code:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell
su
mkdir /sdcard/backup
cp /system/app/moxiermail* /sdcard/backup
rm /system/app/moxiermail*
Code:
adb pull /data/system/packages.xml .
You will now have a file named packages.xml inside your working folder.
Open this file inside you editor.
search for com.moxier.mail
delete the following content
Code:
<package name="com.moxier.mail" codePath="/system/app/moxier.apk" system="true" ts="1277719108000" version="2153" userId="10019">
<sigs count="1">
<cert index="61" key="long key number here!" />
</sigs>
</package>
Save the file.
Now We need to get the file onto the device.
Run
Code:
adb push packages.xml /sdcard/packages.xml
adb shell
su
cp /data/system/packages.xml /sdcard/backup/packages.xml
cp /sdcard/packages.xml /data/system/packages.xml
chown system:system /data/system/packages.xml
chmod 664 /data/system/packages.xml
rm /sdcard/packages.xml
reboot
Now you are free to install Moxier from market or from the official website, finally we can get the newest version instead of SEs old version.
** UPDATE 2 **
If moxier report an error with install after this, install the version from the /sdcard/apps/moxiermail.apk (from the root) or /sdcard/backup, then uninstall, this can now be done, since we removed the package from packages.xml as a system application. You should now be able to install moxier from market.
Feel free to ask any questions.
Just out of curiousity, does this allow you to upgrade the moxier client that came free on the phone, or just allow you to uninstall that and purchase a newer version of moxier for 30 bucks?
Sent from my X10a using XDA App
uabtodd said:
Just out of curiousity, does this allow you to upgrade the moxier client that came free on the phone, or just allow you to uninstall that and purchase a newer version of moxier for 30 bucks?
Sent from my X10a using XDA App
Click to expand...
Click to collapse
Unfortunately it is not possible to update the one provided by SE, even if you reinstall the application after the fix.
does it update to the lastest with step4 v2?
robbyf66 said:
does it update to the lastest with step4 v2?
Click to expand...
Click to collapse
No, you have to get the latest Moxier from moxier.com, Android Marked or from another source if you already have paid for the application on another phone.
This method cleans the X10 from any moxier reference, so that the application can be installed in the user domain instead of a system app (where we can't update the applications without SE).
I had thought that changes firmware version to R2BA020 included updated moxier?
I'll try to steps after my 4th root. lol. I need exchange for work.
I'm on the stock firmware(with Rogers in canada.. don't remember what its called) and exchange works fine for me on Moxier... use it regularly at work so its pretty useful
Edit: Sorry, misread your post. The new version has widgets? Coool
robbyf66 said:
I had thought that changes firmware version to R2BA020 included updated moxier?
Click to expand...
Click to collapse
SE only included a small updates version 2.1.58.3, this one is from February 17th, the newest version is 2.7 and is from May 26.
pngface said:
I'm on the stock firmware(with Rogers in canada.. don't remember what its called) and exchange works fine for me on Moxier... use it regularly at work so its pretty useful
Edit: Sorry, misread your post. The new version has widgets? Coool
Click to expand...
Click to collapse
Yeah, the widget came in 2.5 (finally)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I can afford to pay 25 for the extra features.
Should be able to upgrade via market imo
Sent from my X10i using XDA App
I allready removed the Moxierfolder and tried to install 2.5 but it's still a system application. Your walkthrough doesnt work here because of that. What can I do?
I editted the packages.xml file by copying it to my sd card en editting it on the computer. When i want to replace the original xml file can i use the following code?
Code:
cp /sdcard/packages.xml /data/system/packages.xml
chown system:system /data/system/packages.xml
chmod 664 /data/system/packages.xml
rm /sdcard/packages.xml
Erwinn said:
I allready removed the Moxierfolder and tried to install 2.5 but it's still a system application. Your walkthrough doesnt work here because of that. What can I do?
I editted the packages.xml file by copying it to my sd card en editting it on the computer. When i want to replace the original xml file can i use the following code?
Code:
cp /sdcard/packages.xml /data/system/packages.xml
chown system:system /data/system/packages.xml
chmod 664 /data/system/packages.xml
rm /sdcard/packages.xml
Click to expand...
Click to collapse
Yes you can, as long you are root on your phone. After this, install the OLD version of moxier and uninstall it again, this will update all the phones databasen and you can now install the newest moxier.
What do these commands do?
chown system:system /data/system/packages.xml
chmod 664 /data/system/packages.xml
Cant I not just edit the file and then overwrite the old one with the new editted one using a file manager like Root explorer? Or do these commands do something to the file as well?
this sets the file permissions for the file, and yes, you need to set them in order to get it working.
rofl, anybody needs moxier-mail? Noooo...
QuentinCosta said:
rofl, anybody needs moxier-mail? Noooo...
Click to expand...
Click to collapse
Yes it's actually a pretty good application for exchange users. Probably better than any I have used in the past.
Candy[MAN] said:
What do these commands do?
chown system:system /data/system/packages.xml
chmod 664 /data/system/packages.xml
Cant I not just edit the file and then overwrite the old one with the new editted one using a file manager like Root explorer? Or do these commands do something to the file as well?
Click to expand...
Click to collapse
You should do:
chown system.system /data/system/packages.xml
if you do chown system:system /data/system/packages.xml it will return:
"No such user system:system" as it won't detect the : as a separator between user and group.
Hope this helps some of you!
Speaking of the Moxier, do we actually need them? How do I remove / delete them? I tried, but couldn't, for some reasons.
If u don't use it then u don't ready need it. Your phone needs to be rooted in order to remove it!
Sent from my rooted 026 X10i using swype via Xda
Hi
can anyone make a script in .exe for dummies.
i dont understand all that stuff about programming.
anyone??
Singh
Q: How could you guys access the control prompt panel? Or the code panel, whatever you called it nowadays?

[SCRIPT][6/19/2011] Inspirefy 1.1 for CM7 nightly - Delete stuff & Replace stuff

Hello, I wrote this shell script to make the CM7 nightly the way I like. It was a pain to do it manually every time I would flash a new nightly.
NOOB WARNING:
THIS SCRIPT IS FOR CM7 NIGHTLY ONLY. IT MAY WORK FOR OTHER CM7 BASED ROM BUT USE IT AT YOUR OWN RISK. IT DELETE SOME FILES ON THE /SYSTEM/APP AND MODIFY YOUR BUILD.PROP FILE. I'M NOT RESPONSIBLE IF YOU DESTROY YOUR PHONE NOR IF YOUR PET DIES AND THINGS LIKE THAT.​​
This script do this:
1) delete some APKs from /system/app that I don't need
/system/app/Camera.apk - replaced by Miui camera
/system/app/Calculator.apk - I use RealCalc
/system/app/FileManager.apk - I use Root Explorer
/system/app/Music.apk - I use the new Music App
/system/app/BooksPhone.apk - I don't use this
/system/app/Protips.apk - Useless
Click to expand...
Click to collapse
2) replace the boot animation with a sharper and bigger version (file size is bigger too)
The original boot animation size is too small for our screen. Some people could car less for this as you don't reboot your phone that often.
Original boot image:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
New boot image:
Click to expand...
Click to collapse
3) replace the default camera for a Miui camera
We all know the AOSP camera sucks...
Click to expand...
Click to collapse
4) backup and edit build.prop to display "Inspire 4G" as device name
Some people asked how it affect the market and so far so good for me.
I have no idea if automatic backup/restore from Google is working or not. I use Titanium Backup to restore my apps before I login with my Google account.
Click to expand...
Click to collapse
Things you will need:
1) Scripting Layer for Android (SL4A)
Free app. We will use this to run the script.
Click to expand...
Click to collapse
2) Script and other files - RAR version inspirefy_files_v1.1.rar or ZIP version: inspirefy_files_v1.1.zip
All the files needed for the magic to happen...
VERSION 1.1 UPDATE: If you already have the version 1.0 on your phone you can download the attached zip file from this post to update the script to version 1.1 - Just extract the zip file to /sdcard/inspirefy/ and replace the old 'inspirefy.sh' script.
Click to expand...
Click to collapse
How to install & use it:
1) Extract the inspirefy_files.rar (or inspirefy_files.zip) to the root of your sdcard (/sdcard).
You will have 2 new folders (or just 1 new folder is SL4A was already installed): /sdcard/inspirefy and /sdcard/sl4a
2) Install the sl4a on your phone and run it.
2a) Select "run-inspirefy.sh" from the main screen. If it's your first time running the script you must confirm the super user request.
3) After the script is done (about 2s) you can close SL4A and reboot your phone.
Done
You can edit the file /sdcard/inspirefy/inspirefy.sh with your preferred text editor to make any changes you would like, maybe you want to keep the Tips widget
Have fun!
Thanks to dog77k for the feedback and suggestions and everybody who is using this script.
Good stuff LGSilva. Will let you know how things go after I find a free method to extract the rar (don't use root explorer) or when I get to my desk...
Very cool and glad to see this. Nice job
Sent from my Desire HD using XDA Premium App
Just added a ZIP version for the necessary files in case you want to do this on your phone.
forgive me, but I've never ran a script on android before. I loaded up the folders on the root of my sdcard, installed SL4A and ran it. Superuser didn't ask for permissions. Also, I can't figure out how to run what I need to. Help?
poetofsound said:
forgive me, but I've never ran a script on android before. I loaded up the folders on the root of my sdcard, installed SL4A and ran it. Superuser didn't ask for permissions. Also, I can't figure out how to run what I need to. Help?
Click to expand...
Click to collapse
When you ran the script did you get the terminal window output with something like this?
Code:
Inspirefy 1.0 by LGSilva
Remounting system partition rw...
Deleting apk files and boot animation...
Copying new boot animation and camera...
Setting permitions and ownership...
Backuping build.prop and changing device name...
Remounting system partition as ro...
DONE
.
The text is tiny but you can read it. Is there any error message on the terminal window?
Check the superuser app, sometimes it will have the SL4A marked to deny root...
Edit: Just testing on build 103... looks like SL4A is not happy with this build, time to investigate.
LGSilva said:
Edit: Just testing on build 103... looks like SL4A is not happy with this build, time to investigate.
Click to expand...
Click to collapse
They (nightly forum) are saying that the SU app is jacked on 103...
Nightly build #103 have a problem with Superuser not working right therefor my script won't work either.
To fix this download the Superuser from Rom Manager > Extras, reboot in recovery and install it.
dog77k said:
They (nightly forum) are saying that the SU app is jacked on 103...
Click to expand...
Click to collapse
Yep, you beat me to that, I blame the internet
Two suggestions/hints for the inspirefy.sh code:
"chown root.root /sys..." gave me an unknown user/group error, but "chown 0.0 /sys..." worked for me.
I was getting an error when trying to remount /system as ro that it was still busy so I added a 2 sec pause before trying to remount:
Code:
echo -e "Remounting system partition as ro...\n"
sleep 2
mount -o ro,remount -t ext4 /dev/block/mmcblk0p25 /system
echo -e "DONE.\n"
Otherwise the code worked well for me. Great work LGSilva.
I was having problems with SU thats why lol I'll fix it and try this again and update when I'm done
dog77k said:
Two suggestions/hints for the inspirefy.sh code:
"chown root.root /sys..." gave me an unknown user/group error, but "chown 0.0 /sys..." worked for me.
I was getting an error when trying to remount /system as ro that it was still busy so I added a 2 sec pause before trying to remount:
Code:
echo -e "Remounting system partition as ro...\n"
sleep 2
mount -o ro,remount -t ext4 /dev/block/mmcblk0p25 /system
echo -e "DONE.\n"
Otherwise the code worked well for me. Great work LGSilva.
Click to expand...
Click to collapse
Thank you dog77k for the suggestions.
I've updated the script with them and also added a 2sec pause after mounting it as RW just in case...
Files with version 1.1 updated on the first post, no need to reinstall SL4A.
tested and seemed to run just fine on build 104. thanks for the awesome script! very cool
Thank you!
+1 to both of you, thanks for the great scripting solution.

[MOD]viperMOD Bloat Manager v3.1.4 for HTC Sensation | Updated 8.7.11 |

Welcome everyone to viperMOD Bloat Manager, a wonderful little script that manages bloatware right on your device! No more generic scripts uninstalling whatever they want, choose from different presets or choose any app installed on your phone to enable/disable!
Here is what the script looks like...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I like the colors over the standard blue/white
Updated 8/7
Fixed "permission denied" error on flashable .zip by settings perms in updater-script
Updated 8/6
Fixed coding for /system mount
Edited .bat file to mount system R/W before pushing files from PC
Updated 8/1
Updated for perm root (no more /system not mounted issues)
Removed overclock feature - since there are custom kernels now, no need to insmod.
Still a .bat file. If there is a demand for an update.zip, please post.
Updated 7/19
Fixed Advanced menu for HTC Sensation users
Updated 7/18
Enhanced Overclock feature
--- Added Telstra OC driver (experimental, please test)
--- Auto backup OC settings and prompt to reapply if file detected
Disable custom apps and enable custom apps allows manipulation of individual packages within presets
Minor scripting changes
Updated 7/16
Customizable overclock mod right from your phone! (Advanced menu)
Better support for the HTC Sensation
--- Disable\Enable T-Mobile Apps
--- Remove Sprint references on HTC Sensation
Enable custom apps will show packages and apps by presets and allow you to enable things 1 at a time.
Updated 7/14
Totally reworked with many enhancements and fixes!
Better /system detection
More intuitive UI and easier to use from the phone
5 categories of preset bloat disable\enable
--- *Sprint apps, *HTC apps, *other apps, *Rosie, HTC Widgets, and Live Wallpapers, and *Lockscreen
Moved custom options into "Advanced"
Moved backup/restore into "Advanced"
Added option to enable all custom bloat at one time
Warnings when disabling apps (depending on the menu)
Added count for disabled apps
Descriptions of what will be disabled\enabled before doing so
Added pause until enter button between menus (script was too fast )
Added better detection and action when entering an invalid option in all menus
Updated 7/13 @ 2PM
HTC Sensation support!
Allowed script to continue without R/W /system access with warning
Currently disabled bloat list is now sorted alphabetically and without "package:" in front of it
About info updated
Requirements:
Terminal Emulator (recommend setting to 12pt font)
Root Access (I like this one, personally)
Common Sense - please don't disable everything and wonder why things aren't working.
Features
Disable\Enable bloatware
Disable\Enable HTC Sense and HTC Widgets
Disable\Enable Experimental Apps
See what apps are still enabled or disabled
Ability to disable\enable ANY installed app on your phone!
Ability to backup your settings
Ability to restore your settings
Directions and Information
Apps will STILL BE DISABLED when you reboot - rooted or not!
Just download the .zip, extract, and run the viperMOD_Bloat_Manager_v3.1.1.bat file from your computer.
To run this, go into Terminal and type "su" (without quotes) then "viperbloat" (without quotes) and it will run. You can also set Terminal Emulator to run this right when you run the app by going to Menu > Preferences > Initial Command > Press "Enter" > type "su" (all lowercase, no quotes) > press Enter > type "viperbloat" (all lowercase, no quotes)
You can also run this through ADB on your computer by doing adb shell then ""viperbloat" (all lowercase, no quotes). Much easier to read the app list!
You can MAJORLY screw up your phone by using this! Be mindful of what you're playing with and if you really mess things up, just reboot and reroot.
Here is a helpful link to what some of the apps are.
Known Issues
None!
Download flashable .zip HERE
Download .bat HERE​​​​​
Special Thanks to:
Netarchy for some great shell scripting help!
freeza and ffolkes for their initial thread which I based the script on!
agrabren for getting the E3D rooted!
xdviper for the build.prop info needed for Sensation support!
Let me know if I forgot anyone!
giving this a go now. ill report back ;-)
Cant seem to get this to work. i just type viperbloat in adb or terminal emualtor and it says not found. then i type /sdcard/viperbloat and i get permission denied?
ran through terminal emulator and just removed safe bloatware and recommended. no errors and ill report back how it does for my battery life. there is a option that says no recommended and i followed it because i didnt want to start from scratch. So far i give this app a thumbs up.
Thanks for the hard work.
bpear96 said:
Cant seem to get this to work. i just type viperbloat in adb or terminal emualtor and it says not found. then i type /sdcard/viperbloat and i get permission denied?
Click to expand...
Click to collapse
Did you run the .bat file? Run it again.
And I assume you guys have the same deal as the EVO 3D and we are using /vendor for /system (symlink)? That's how I have it setup is to push it to /vendor/bin and chmod. Please let me know.
charlieb620 said:
ran through terminal emulator and just removed safe bloatware and recommended. no errors and ill report back how it does for my battery life. there is a option that says no recommended and i followed it because i didnt want to start from scratch. So far i give this app a thumbs up.
Thanks for the hard work.
Click to expand...
Click to collapse
what exactly did you type in terminal emu?
bpear96 said:
Cant seem to get this to work. i just type viperbloat in adb or terminal emualtor and it says not found. then i type /sdcard/viperbloat and i get permission denied?
Click to expand...
Click to collapse
are you temp rooted already? and when u run the bat file wait till it says press any button to continue than type su in terminal emulator to see if u have permission after that type viperbloat and the app should pop up.
bpear96 said:
what exactly did you type in terminal emu?
Click to expand...
Click to collapse
i typed viperbloat and i got the above screenshot but in white/blue.
charlieb620 said:
are you temp rooted already? and when u run the bat file wait till it says press any button to continue than type su in terminal emulator to see if u have permission after that type viperbloat and the app should pop up.
Click to expand...
Click to collapse
nevermind got it
-viperboy- said:
Did you run the .bat file? Run it again.
And I assume you guys have the same deal as the EVO 3D and we are using /vendor for /system (symlink)? That's how I have it setup is to push it to /vendor/bin and chmod. Please let me know.
Click to expand...
Click to collapse
what app are u using for screenshots? so i can post what i see and what i did....thanks.
bpear96 said:
yes im temprooted. when i type viperbloat in terminial emulator all i get is permission denied?
Click to expand...
Click to collapse
restart your phone. run the final temp root again and than do the viperbloat.bat
you may have made a error so the best thing to do is just start from scratch
I got it to run but my /sytem is r/o
My screenies
Sent from my HTC Sensation 4G using XDA Premium App
Go from my screen shots first line and second line should be diff
Sent from my HTC Sensation 4G using XDA Premium App
bpear96 said:
I got it to run but my /sytem is r/o
Click to expand...
Click to collapse
here too, script fails with the "busybox mount | grep /vendor/system" as there are no /vendor/system on my phone, and the grep finds 'ro' from probably /vendor/firmware ?
in /vendor/ i have bin and firmware directory
Also i cant seem to root now heres what i get in adb http://pastebin.com/gWb0eAsP
Also make sure that the exploit ran to ur Sd card. That may be the cause of the errors.
Sent from my HTC Sensation 4G using XDA Premium App
i changed
systemcheck=$(busybox mount | grep /vendor/system | cut -d \( -f 2 | cut -d \, -f 1)
to
systemcheck=$(busybox mount | grep /system | cut -d \( -f 2 | cut -d \, -f 1)
and got rw
then when disable bloat, i get
/vendor/bin/viperbloat: line 402: pm: not found
/vendor/bin/viperbloat: line 402: pm: not found
/vendor/bin/viperbloat: line 402: pm: not found
/vendor/bin/viperbloat: line 402: pm: not found
/vendor/bin/viperbloat: line 402: pm: not found
repeated maybe 20-30 times
bpear96 said:
Also i cant seem to root now heres what i get in adb http://pastebin.com/gWb0eAsP
Click to expand...
Click to collapse
Are u using the temp root final? I was getting errors as well in the beginning before this mod and I just rebooted my phone and everything worked
Sent from my HTC Sensation 4G using XDA Premium App
charlieb620 said:
Are u using the temp root final? I was getting errors as well in the beginning before this mod and I just rebooted my phone and everything worked
Sent from my HTC Sensation 4G using XDA Premium App
Click to expand...
Click to collapse
yes im sure.. the older v. actually works for me i get root. but the final doent work at all

[Q] Nexus S voice/sound recorder hidden and not installed?

Hi,i was searching for the stock voice recorder in Ice Cream Sandwich,but i did not find it...
So I've searched into phone memory (root /system/app) and i found Soundrecorde.apk ,bu if i try to install it,installation aborts saying "This application cannot be installed".
Why?
No one use voice recording on Ics?
Neo on Nexus S with Tapatalk®
bump?.......
.:Crack:. said:
bump?.......
Click to expand...
Click to collapse
???
Neo on Nexus S with Tapatalk®
..
Election Day said:
It indeed doesn't seem to work. Just like Tag.apk, SoundRecorder.apk does not show up in the app drawer, even if it's in /system/app. Apparently it just isn't compatible.
What about some Market apps?
Click to expand...
Click to collapse
There is not much compatibility for this kind of apps and Ics...
Stock Sound recorder was perfect for me on Gingerbread,i don't understand why it's not compatible anymore...
Neo on Nexus S with Tapatalk®
not sure how you tried to install but you cant install system apps like other apk you have to sign it first....anyways i signed it and installed fine but dont give an option to open after install and still don't see it
edit
just for future reference if you edit an apk or want to install a system app like a normal apk
download Sighnapktic from the market its free and it does it right from your phone really easy to use
https://market.android.com/details?id=com.stericson.signapktic&hl=en
i used Sanity with gingerbread, but I don't know if it still works with ICS
https://market.android.com/details?..._result#?t=W251bGwsMSwxLDEsImNyaS5zYW5pdHkiXQ..
Election Day said:
It indeed doesn't seem to work. Just like Tag.apk, SoundRecorder.apk does not show up in the app drawer, even if it's in /system/app. Apparently it just isn't compatible.
What about some Market apps?
Click to expand...
Click to collapse
Both of those apps don't show in the drawer because the "LAUNCHER" intent lines in their respective AndroidManifest.xmls are not present/were omitted that instruct the app to be visible in the drawer.
To the best of my recollection, SoundRecorder never officially included the lines because it was supposed to be present solely as a function for other apps to use, despite it having an actual interface. Tag, on the other hand, appears to have had those lines removed in the transition to ICS. Adding the intents in their manifests will cause them to show up in the drawer again.
XK72 said:
Both of those apps don't show in the drawer because the "LAUNCHER" intent lines in their respective AndroidManifest.xmls are not present/were omitted that instruct the app to be visible in the drawer.
To the best of my recollection, SoundRecorder never officially included the lines because it was supposed to be present solely as a function for other apps to use, despite it having an actual interface. Tag, on the other hand, appears to have had those lines removed in the transition to ICS. Adding the intents in their manifests will cause them to show up in the drawer again.
Click to expand...
Click to collapse
Once added,will the app works with its interface?
Neo on Nexus S with Tapatalk®
..
(THE REAL) Neo said:
Once added,will the app works with its interface?
Neo on Nexus S with Tapatalk®
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Correct.
Election Day said:
Probably yes. I'm trying to modify the xml's at the moment, but I can't get any usable output.
If I can get it to work I'll post the modded apk here.
Click to expand...
Click to collapse
Directly after this line:
Code:
<action android:name="android.intent.action.MAIN" />
Add:
Code:
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
..
You also just can use anycut from market and create a homescreen shortcut to soundrecorder.apk
Election Day said:
I guess this should be it. I unpacked the apk with apktool, added the lines, packed it again, unzipped it, added META-INF and rezipped it.
You can flash it with "adb push SoundRecorder.zip /system/app".
Click to expand...
Click to collapse
No changes here...i've copied the file in sistem/app,but nothing changes.
Neo on Nexus S with Tapatalk®
(THE REAL) Neo said:
No changes here...i've copied the file in sistem/app,but nothing changes.
Neo on Nexus S with Tapatalk®
Click to expand...
Click to collapse
I haven't looked at the attached APK yet, but try these steps:
I'm not sure if it's because the instructions have you install a ZIP file that doesn't exist (because the attachment is an APK).
The command should be: adb push SoundRecorder.apk system/app
If you happened to have changed the command to APK anyway, make sure that you specify the right path for the file
(e.g. adb push path/to/downloaded/file/SoundRecorder.apk system/app) or that you are in the same directory as the file (then use the command listed above).
If the file got pushed successfully, you may need to reboot your phone for the changes to take effect.
Try that out and if you're still not having any luck, let me know what ADB tells you. If it helps, I'll build a version with the Launcher icon visible that'll work.
XK72 said:
I haven't looked at the attached APK yet, but try these steps:
I'm not sure if it's because the instructions have you install a ZIP file that doesn't exist (because the attachment is an APK).
The command should be: adb push SoundRecorder.apk system/app
If you happened to have changed the command to APK anyway, make sure that you specify the right path for the file
(e.g. adb push path/to/downloaded/file/SoundRecorder.apk system/app) or that you are in the same directory as the file (then use the command listed above).
If the file got pushed successfully, you may need to reboot your phone for the changes to take effect.
Try that out and if you're still not having any luck, let me know what ADB tells you. If it helps, I'll build a version with the Launcher icon visible that'll work.
Click to expand...
Click to collapse
Tried this and it didn't worked for me. I get this error from adb:
failed to copy 'SoundRecorder.apk' to 'system/app/SoundRecorder.apk': Permission denied
XK72 said:
I haven't looked at the attached APK yet, but try these steps:
I'm not sure if it's because the instructions have you install a ZIP file that doesn't exist (because the attachment is an APK).
The command should be: adb push SoundRecorder.apk system/app
If you happened to have changed the command to APK anyway, make sure that you specify the right path for the file
(e.g. adb push path/to/downloaded/file/SoundRecorder.apk system/app) or that you are in the same directory as the file (then use the command listed above).
If the file got pushed successfully, you may need to reboot your phone for the changes to take effect.
Try that out and if you're still not having any luck, let me know what ADB tells you. If it helps, I'll build a version with the Launcher icon visible that'll work.
Click to expand...
Click to collapse
I've not used adb,but manually copied the .apk to system/app after renaming of original file.
Obviously i've used EsGestore File,with root permissions/root mounted read and write.
File copied perfectly,rebooted phone.
But nothing happens...
Neo on Nexus S with Tapatalk®
jitzbox said:
Tried this and it didn't worked for me. I get this error from adb:
failed to copy 'SoundRecorder.apk' to 'system/app/SoundRecorder.apk': Permission denied
Click to expand...
Click to collapse
This may not be the most efficient way of doing this, but it always works for me. Assuming that you have root permissions on the phone, try the following steps:
Access the phone through ADB:
Code:
adb shell
Mount the volume as writable:
Code:
mount -o remount,rw /dev/block/mtdblock4 /system
Remove the existing SoundRecorder.apk file:
Code:
rm system/app/SoundRecorder.apk
Exit ADB:
Code:
exit
Copy the APK file (attached below) from your system to your phone, replacing path/to/file with the location of your file (e.g. c:\android) as detailed in previous post.
Code:
adb push [I]path/to/file/[/I]SoundRecorder.apk system/app
Reboot phone (might be optional):
Code:
adb reboot
(THE REAL) Neo said:
I've not used adb,but manually copied the .apk to system/app after renaming of original file.
Obviously i've used EsGestore File,with root permissions/root mounted read and write.
File copied perfectly,rebooted phone.
But nothing happens...
Neo on Nexus S with Tapatalk®
Click to expand...
Click to collapse
I'm sorry, I'm not familiar with using third-party apps for file management duties. Assuming that everything else you're doing is correct, try using the APK file attached below.
XK72 said:
This may not be the most efficient way of doing this, but it always works for me. Assuming that you have root permissions on the phone, try the following steps:
Access the phone through ADB:
Code:
adb shell
Mount the volume as writable:
Code:
mount -o remount,rw /dev/block/mtdblock4 /system
Remove the existing SoundRecorder.apk file:
Code:
rm system/app/SoundRecorder.apk
Exit ADB:
Code:
exit
Copy the APK file (attached below) from your system to your phone, replacing path/to/file with the location of your file (e.g. c:\android) as detailed in previous post.
Code:
adb push [I]path/to/file/[/I]SoundRecorder.apk system/app
Reboot phone (might be optional):
Code:
adb reboot
I'm sorry, I'm not familiar with using third-party apps for file management duties. Assuming that everything else you're doing is correct, try using the APK file attached below.
Click to expand...
Click to collapse
Using this apk,the phone shows me an app called "Recorder" in the app drawer,but i can't tap it,and all the icons showed in the same page of the app drawer.If i change page,icons of other pages are selectable...weird thing...
Now i'm rolled back to previous apk file and everything works...so scary...
Neo on Nexus S with Tapatalk®

[Q] su binary update failure on Atrix II 2.3.6

The command box that worked through the root on my laptop said the root was successful, so that isn't what I'm worried about. The problem is that when I go under preferences through Superuser and attempt to update the su binary, it reads the following:
>Downloading manifest... okay!
>Parsing manifest... okay!
>Latest version... 3.0.3.2
>Checking installed version = legacy
>Fixing database... okay!
>Checking for busybox... not found
>Downloading custom busybox... okay!
>Checking md5sum... okay!
>Checking current install path... fail!
>Failed to find currently installed su binary.
>Update cannot continue
If anyone knows what to do, that would be great... Thanks!
It looks like its not installed properly, or you're not rooted. The install path should be system/bin/su
First make sure you're rooted. Try this little guy: https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck
Or if you have a terminal emulator, type in su at the prompt. If all is well your prompt should change to a "#".
If those fail, re root using the method here: http://forum.xda-developers.com/showthread.php?t=1396650
Good luck! Let us know how it goes!
Sent from my MB865 using xda premium
I had this bad root once also... I was just testing ota rootkeeper coming from 2.3.5 to 2.3.6 - and it apparently didn't fully keep root. Had to re-root..
Sent from my mind using XDA
alteredlikeness said:
I had this bad root once also... I was just testing ota rootkeeper coming from 2.3.5 to 2.3.6 - and it apparently didn't fully keep root. Had to re-root..
Sent from my mind using XDA
Click to expand...
Click to collapse
I had the same issue. Just try to re-root it should be ok.
Try this ?!
https://play.google.com/store/apps/details?id=com.noshufou.android.su.fixer
Sent from my ME865 using xda premium
[Re:]
Thank you guys for your help! Okay here we are now...I used dickluo's (cute name by the way, honestly) to try and re-root like jimbridgman said to, and the command box that pops up once I open the .bat file to root again isn't recognizing my phone. I only make it to this prompt:
>Connect device to begin
It won't recognize that my phone is connected to the computer. Any suggestions?
turn on usb debugging
41rw4lk said:
turn on usb debugging
Click to expand...
Click to collapse
Yes. Turn on usb debugging and allow unknown sources (I think it works with/without unknown sources) <-- both in settings>applications
And put it in charge only mode when you plug it into your computer.
I was curious to see where superuser was installed in my device, so I checked Root Explorer and it was in system/xbin.
So, I moved to system/bin/ and now its saying I'm not rooted when trying to open root applications! Say wha...?
Sent from my MB865 using xda premium
Apex_Strider said:
I was curious to see where superuser was installed in my device, so I checked Root Explorer and it was in system/xbin.
So, I moved to system/bin/ and now its saying I'm not rooted when trying to open root applications! Say wha...?
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
Did you set the permissions? With superuser I always found it better to adb push the file then chmod it.
---------- Post added at 10:32 PM ---------- Previous post was at 10:03 PM ----------
here taken straight from the tutorial. I think originally given by the jedi master Jimbridgeman.
type the following commands
---> adb shell (only type this if you are no longer in [email protected])
---> mount -o rw,remount /dev/null /system
---> cat /data/local/su > /system/bin/su
---> cat /data/local/Superuser.apk > /system/app/Superuser.apk
---> chmod 4755 /system/bin/su
---> chmod 4755 /system/app/Superuser.apk
---> reboot
Apex_Strider said:
I was curious to see where superuser was installed in my device, so I checked Root Explorer and it was in system/xbin.
So, I moved to system/bin/ and now its saying I'm not rooted when trying to open root applications! Say wha...?
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
Moving apps around in root explorer never and I mean NEVER works. Always use ADB to push pull chmod, etc apps.
mtnlion said:
Did you set the permissions? With superuser I always found it better to adb push the file then chmod it.
---------- Post added at 10:32 PM ---------- Previous post was at 10:03 PM ----------
here taken straight from the tutorial. I think originally given by the jedi master Jimbridgeman.
type the following commands
---> adb shell (only type this if you are no longer in [email protected])
---> mount -o rw,remount /dev/null /system
---> cat /data/local/su > /system/bin/su
---> cat /data/local/Superuser.apk > /system/app/Superuser.apk
---> chmod 4755 /system/bin/su
---> chmod 4755 /system/app/Superuser.apk
---> reboot
Click to expand...
Click to collapse
Still not sure how to work adb or Android sdk, but I'll find the tutorial (hopefully, and surely there's one in here somewhere I can understand!) and try that out when I get home. Thanketh ye!
Sent from my MB865 using xda premium
farshad525hou said:
Moving apps around in root explorer never and I mean NEVER works.
Click to expand...
Click to collapse
That's not true. You just have to do it right..
Sent from my mind using XDA
I downloaded Titanium Backup, haven't been using it but want ti back up apps for easy recovery after flashing new roms, etc. When I opened TB, it gave me a message about the superuser binary using "non-optimal options rights" and the choice fir TB to fix them itself.
I clicked okay after it said it was successful and rebooted, then opened TB again and same thing. What rights or permissions need to be given to su that I'm missing?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my MB865 using xda premium
It does the same thing with me man. I haven't noticed any difference. Selected yes and it asks me again next time also. TB always works properly though. I've used ita ton too lately.
Sent from my MB865 using xda premium
Fall of Enosis said:
It does the same thing with me man. I haven't noticed any difference. Selected yes and it asks me again next time also. TB always works properly though. I've used ita ton too lately.
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
Thanks. I won't worry about it again after clicking "no" when it asks to optimize su rights.
Sent from my MB865 using xda premium
Apex_Strider said:
Thanks. I won't worry about it again after clicking "no" when it asks to optimize su rights.
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
I used to get that all the time too..
There's an option in Preferences>GUI Preferences to turn that warning off.. but mine doesn't pop-up anymore and the box is still checked. I thought it went away with the latest su binary update and reboot.. but not sure
Sent from my mind using XDA
alteredlikeness said:
I used to get that all the time too..
There's an option in Preferences>GUI Preferences to turn that warning off.. but mine doesn't pop-up anymore and the box is still checked. I thought it went away with the latest su binary update and reboot.. but not sure
Sent from my mind using XDA
Click to expand...
Click to collapse
Thanks for that tip!
Sent from my MB865 using xda premium
Okay gang, one more question about superuser: I flashed the (updated) Bullet rom zip -which includes all three updates now in one "full install" zip, and checked su location. I see it in both system/bin AND system/xbin. Should I do anything about this, I mean, it seems redundant to be in both folder locations. But, I don't know. (?)
Apex_Strider said:
Okay gang, one more question about superuser: I flashed the (updated) Bullet rom zip -which includes all three updates now in one "full install" zip, and checked su location. I see it in both system/bin AND system/xbin. Should I do anything about this, I mean, it seems redundant to be in both folder locations. But, I don't know. (?)
Click to expand...
Click to collapse
The one in /system/xbin is a link back to /system/bin. It is for legacy compatibility. Don't change anything!

Categories

Resources