[HELP] [Patch] improve GPS and Sensors - Galaxy Ace S5830 General

I have a problem with this script, takes too long to locate a satellite, I wonder how I can remove to use PFGPS FIX v2.0 is much better! I guess you have to delete files that are in the zip, but I have doubts if that files are in the original rom.

tazlooney89 said:
I have a problem with this script, takes too long to locate a satellite, I wonder how I can remove to use PFGPS FIX v2.0 is much better! I guess you have to delete files that are in the zip, but I have doubts if that files are in the original rom.
Click to expand...
Click to collapse
Delete /system/bin/ gpsd
Delete /system/lib/hw/ everything in this folder
Delete /system/etc/ gps.conf
Copy all the files from /system/lib/hw/ from your rom's zip file to your phone's /system/lib/hw/ , set the permissions to rw-r--r--
Reboot to recovery
Install PFGPS.

Related

[Q] How to get back AllShare Play

Hello
How can i get back "AllShare Play" for my Galaxy S3? I installed another firmware and a rom and don't really know when it was deleted. I tried to find a solution but I couldn't find anything to solve the problem.
Cance
Go find a Stockish Rom that still has the bloatware........and just extract the System/app folder and put the apks that you want back into your current system/app folder.
Yeh useful tools are bloatware
Thanks for the fast answer but I don't know how to extract the folder when I have a ROM with the needed APK. Can I do this on my computer or do I have to do this on my phone?
Download the Rom to your phone or Computer.
Extract the Rom using a File explorer on your phone or a 7zip/winzip program on your PC and go through the folders...Find the
System/App folder it will be filled with every system app you can need......pick out the apks you want to add into your current set up.
save them to a folder and put them back on your phone....or if on your phone just copy them from the extracted location and navigate back to your Local System/App folder, make the Folder R/W so you can add and remove the system files.....and just paste them back in your current system folder overwriting the current ones. and set the premission to match the rest of the folder most of the time i think its rw-r-r
and reboot. sounds long.....but it only takes me 2 min to copy and replace the files and reboot.
its really simple once you do it a couple times.
hope this helps
Thank you very much, didn't know that it is this easy. I never opened the zip file of a rom ^^
What's the name of the apk? I don't see an obviously named app?

[SOLVED] Edit .ogg in camera.apk

I have a rooted Galaxy M Style phone with stock Gingerbread 2.3.4 firmware. I am trying to customize my stock camera app, but am not sure what I'm doing wrong. I plan to replace the autofocus_ok.ogg with a different tune from my phone. I checked the properties of the autofocus_ok.ogg and saw it's a mono, 44100hz, and 96 bitrate file. The tune that I have has the same properties. So this is what I have done so far:
I backed up camera.apk to /system/app/camera.apk.bak and the camera.odex to /system/app/camera.odex.bak. I left a copy of camera.odex in /system/data. I copied the camera.apk to my memory card and placed the file on my computer. I renamed the file to a .rar. I then deleted the autofocus_ok.ogg and placed the tune that I wanted in that directory. Then I renamed it to autofocus_ok.ogg. I renamed the file back to .apk and transferred the file back to the memory card, then over to /system/app. The camera app will not install/not showing up on my phone. I am transferring the files through root explorer on my phone.
I worked with the original apk file again with apktool. I was able to decompile and replaced and renamed the files that I needed again. I compiled the file and transferred the file to /system/app again, but the apk will still not install. I checked the complied apk file and noticed that the file didn't have the META-INF folder, so I copied that over to. Tried to install it again by copying the file to /system/app, but it still won't show up on my phone. Is there anyway for me to change the autofocus_ok.ogg without a custom rom?
Thanks.
ImAhNoBoDy said:
I have a rooted Galaxy M Style phone with stock Gingerbread 2.3.4 firmware. I am trying to customize my stock camera app, but am not sure what I'm doing wrong. I plan to replace the autofocus_ok.ogg with a different tune from my phone. I checked the properties of the autofocus_ok.ogg and saw it's a mono, 44100hz, and 96 bitrate file. The tune that I have has the same properties. So this is what I have done so far:
I backed up camera.apk to /system/app/camera.apk.bak and the camera.odex to /system/app/camera.odex.bak. I left a copy of camera.odex in /system/data. I copied the camera.apk to my memory card and placed the file on my computer. I renamed the file to a .rar. I then deleted the autofocus_ok.ogg and placed the tune that I wanted in that directory. Then I renamed it to autofocus_ok.ogg. I renamed the file back to .apk and transferred the file back to the memory card, then over to /system/app. The camera app will not install/not showing up on my phone. I am transferring the files through root explorer on my phone.
I worked with the original apk file again with apktool. I was able to decompile and replaced and renamed the files that I needed again. I compiled the file and transferred the file to /system/app again, but the apk will still not install. I checked the complied apk file and noticed that the file didn't have the META-INF folder, so I copied that over to. Tried to install it again by copying the file to /system/app, but it still won't show up on my phone. Is there anyway for me to change the autofocus_ok.ogg without a custom rom?
Thanks.
Click to expand...
Click to collapse
erm... is the permissions set correctly rw-r--r-- ?
MoonBlade said:
erm... is the permissions set correctly rw-r--r-- ?
Click to expand...
Click to collapse
Yup, permissions were set correctly like rw-r--r--. Owner is root:root. Those are the permission that I set on the apk file like they were on the original file. I just realized that the compiled apk's from apktools doesn't show up on my phone. The apk that I created by opening up winrar and just replacing the .ogg files do show up, but I get the error "The application Camera (process com.sec.android.app.camera) has stopped unexpectedly. Please try again."
Anything else I can try or a thread to refer to?
ImAhNoBoDy said:
Yup, permissions were set correctly like rw-r--r--. Owner is root:root. Those are the permission that I set on the apk file like they were on the original file. I just realized that the compiled apk's from apktools doesn't show up on my phone. The apk that I created by opening up winrar and just replacing the .ogg files do show up, but I get the error "The application Camera (process com.sec.android.app.camera) has stopped unexpectedly. Please try again."
Anything else I can try or a thread to refer to?
Click to expand...
Click to collapse
why dont you try to push the modified apk manually using root explorer or so instead of pushing via adb ..
after decompiling apk and modifying it, compile it into some folder and then copy it into you sd card then use root explorer and manually push(copy) the apk into system/app .. give proper permissions and then reboot your phone..
Here are some guides to use apktool
http://forum.xda-developers.com/showthread.php?t=1891686
http://forum.xda-developers.com/showthread.php?t=1989533
MoonBlade said:
why dont you try to push the modified apk manually using root explorer or so instead of pushing via adb ..
after decompiling apk and modifying it, compile it into some folder and then copy it into you sd card then use root explorer and manually push(copy) the apk into system/app .. give proper permissions and then reboot your phone..
Here are some guides to use apktool
http://forum.xda-developers.com/showthread.php?t=1891686
http://forum.xda-developers.com/showthread.php?t=1989533
Click to expand...
Click to collapse
I have been pushing the modified apk through root explorer all this time. I don't even have adb install, haha. The procedure you explained have been the way I have been doing it the whole time, lol. I read the threads you posted and the procedure is the same as I've been doing it, except for the second thread. I can't grab the apktool from 4shared because I don't have an account. I am using the latest apktool 1.5.2. Also, I didn't understand what PulseDroid was talking when he said "We are NOT done just yet, we cannot use the new apk's... we have to take what we did and add it back to the original apk file to keep proper signature use something like 7zip, take the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into Original apk". So I'm suppose to replace the resources.arcs and the .ogg files that I created from the new apk to the old apk? I didn't mess with any xml file.
Anyways, is there anything else I can try?
EDIT: ........I feel so embarrassed. I checked out this thread http://forum.xda-developers.com/showthread.php?t=2378177 and saw this post "Drag your replacement files into WinRAR and (here's the important part) in the Compression Method drop-down choose "Store"." All this time I have been compressing the file as "Normal" in Winrar, instead of "Store".
All in all, I did not need apktool at all. I used the original apk and opened it up in Winrar. I deleted the files that I wanted to replaced and put in the files that I wanted. Each time I put something in the file in Winrar I get a prompt for compression and instead of "Normal" compression just use "Store". It was that simple.
This helped me, thank you!

[Q] How should I de/recompile a system app? What did I do wrong?

Hi,
So the situations is like this:
Just got a new LG Nexus 4, NFC enabled, GREAT!!!!
But then I start using it, and the NFC sound (everytime the phone reads a nfc-tag it makes an sound) annoys me beyond belief.
So I start looking around, it seems there's no solution, except recompiling the app.
So I learn how to compile an app (noob here), using this guide: http://forum.xda-developers.com/showthread.php?t=1860115
I'm up to the point where my apk is decompiled, and I have modified the sound files, located in my decompiled files folder respectively at res/raw/start.ogg & res/raw/end.ogg.
I modded the files using audacity, lowering the volume to zero, used them to replace the original .ogg files. The file size is a bit smaller as the original ones (1Kb difference).
Next I use the recompile command: apktool b decompiled_apk_folder_with_modified_files modded_apk_file.apk
So now I have the new nfc apk file, called NfcNci.apk, with which I replace the original file in /system/app.
Next up I reboot my phone into recovery, wipe all cache and dalvik cache, and reboot again.
First thing that pops up on my screen is a force-close message, saying that the nfc-service force closed.
Anyone who can tell me what I did wrong? Or how I can fix this?
Attached are: my decompiled-files-folder (compressed to zip)
the original NfcNci.apk file
my modded NfcNci.apk file which causes the FC's.
Any help will be greatly appreciated!!!!
S.
Looks like you're still on 4.2
The latest NfcNci.apk has some more files.
And your apk is missing the META-INF folder.
I guess that this is the problem.
But you should use "adb logcat" to ensure we're on the right track.
Micky
1 thing i would recomend is not using the actual apk you just built. instead, open your new apk with a file manager such as 7zip and remove your newly compiled files out of it, then put them into the original apk from your rom using 7zip as well! thus keeping the apk's original signature
try to copy the least amount of files from one to another, so to be safe only pull out your new .ogg files, then put them into your original apk! hope this helps
ldrifta said:
1 thing i would recomend is not using the actual apk you just built. instead, open your new apk with a file manager such as 7zip and remove your newly compiled files out of it, then put them into the original apk from your rom using 7zip as well! thus keeping the apk's original signature
try to copy the least amount of files from one to another, so to be safe only pull out your new .ogg files, then put them into your original apk! hope this helps
Click to expand...
Click to collapse
Hi, I tried this, installed 7zip, and double clicked the original apk, I opende the res/raw/ directory, and only copied the files I was using: start.ogg & end.ogg. Then I close 7zip, and send the file to my phone. But as soon as I it them to /system/apps on my phone, and reboot to recovery, wiping the dalvik cache. I get FC's on reboot (NFC-service has FC'd).
Any reasons for this?
Thanks for the help, both of you!
BTW: I'm on Android 4.3 JB

how to create flashable.zip for any system file modded ???

hello everybody
a lot of times I find system modded files and I wanna use them but the developers often offer the file is not flashable so I have to replace the older and set the permissions
but in all times I did that , the system sent an error and was damaged
so I wanna learn how to make a flashable.zip for any system file to be installed to its location and set the permissions
please help me
thanks
engnajjar said:
hello everybody
a lot of times I find system modded files and I wanna use them but the developers often offer the file is not flashable so I have to replace the older and set the permissions
but in all times I did that , the system sent an error and was damaged
so I wanna learn how to make a flashable.zip for any system file to be installed to its location and set the permissions
please help me
thanks
Click to expand...
Click to collapse
Its quite simple. Download a superuser.zip file that is for your device. Extract it. You will find two folders, System and Meta-Inf. Open System folder and you will find a folder called app inside it. Open it and delete the superuser.apk file and copy your modded system file into it.
For eg., Let the file be Gallery2.apk .
Now open META-INF folder -> com -> google -> android. You will find a file called updater-Script. You have to edit that file. There will be a line, where the system mount command is given. Do not do anything until that line. Delete the lines below it and enter these lines.
delete("/system/app/Gallery2.apk");
# [here Gallery2 is the name of the apk file you copied]
package_extract_dir("system","/system");
ui_print("Installation complete!");
Now rezip the folders together and you have your own flashable zip to install modded system files.
Hit thanks if this helped! :laugh:
PM me if you require further help.
dev27 said:
Its quite simple. Download a superuser.zip file that is for your device. Extract it. You will find two folders, System and Meta-Inf. Open System folder and you will find a folder called app inside it. Open it and delete the superuser.apk file and copy your modded system file into it.
For eg., Let the file be Gallery2.apk .
Now open META-INF folder -> com -> google -> android. You will find a file called updater-Script. You have to edit that file. There will be a line, where the system mount command is given. Do not do anything until that line. Delete the lines below it and enter these lines.
delete("/system/app/Gallery2.apk");
# [here Gallery2 is the name of the apk file you copied]
package_extract_dir("system","/system");
ui_print("Installation complete!");
Now rezip the folders together and you have your own flashable zip to install modded system files.
Hit thanks if this helped! :laugh:
PM me if you require further help.
Click to expand...
Click to collapse
thanks so much it works well
engnajjar said:
thanks so much it works well
Click to expand...
Click to collapse
Glad that I could help. :good:

[Q] Google Play Services on Coolpad 8675

Hi,
A friend of mine recently returned from China with a Coolpad 8675, which he gave to me. I tried to install various apps such as Google Search and the Play Store, to no avail. This makes it impossible to use apps like Google+ and Ingress. This is quite annoying, and i was wondering if there was a solution to this problem. I really have no idea how android phones work or how to do stuff like rooting, so basic solutions would be appreciated!
Thanks,
LeCrazyPanda
same here
I am having the same issue.
I installed Google account log in service, and Google play store with successfully I even found those on the Chinese coolpad app store.
My trouble comes with trying to install Google play services, as even when I download it from the coolpad store, the install always fails.
SOLVED
Hi I have one and i had same problem.
First you must root phone, that is simple and here is instructions:
https://translate.google.cz/translate?hl=cs&sl=zh-CN&tl=en&u=http%3A%2F%2Fsjbbs.zol.com.cn%2F166%2F1606_1657041.html
after that you can manualy install GAPPS.
I get Universal Pico from Paranoid then unzip it on pc and create this pack https://drive.google.com/file/d/0BzMLUR1MF4g3RHBqQjBsTGlyVm8/view?usp=sharing
You must copy to Phone disk and manualy copy to system folder directories.
EACH FILE YOU MUST MANUALY SET PERMISSION 644
AND DIRECTORY \etc\preferred-apps\ THAT YOU CREATE MUST SET PERMISSION 755
After that you must restart phone and enjoy
For Copy and set permissions i use Root Explorer that you must manualy install from disk
Sorry for my bad English
Hagen656 said:
Hi I have one and i had same problem.
First you must root phone, that is simple and here is instructions:
https://translate.google.cz/translate?hl=cs&sl=zh-CN&tl=en&u=http%3A%2F%2Fsjbbs.zol.com.cn%2F166%2F1606_1657041.html
I' don't find anywhere this "1, in the mobile phone standby interface, click to enter [Cool housekeeper] - [Settings] (Click pinion upper right corner) - [on], as shown below;"
Please can you help me to perform this fisrt part of instructions?
Click to expand...
Click to collapse
Phenomen said:
Hagen656 said:
Hi I have one and i had same problem.
First you must root phone, that is simple and here is instructions:
https://translate.google.cz/translate?hl=cs&sl=zh-CN&tl=en&u=http%3A%2F%2Fsjbbs.zol.com.cn%2F166%2F1606_1657041.html
I' don't find anywhere this "1, in the mobile phone standby interface, click to enter [Cool housekeeper] - [Settings] (Click pinion upper right corner) - [on], as shown below;"
Please can you help me to perform this fisrt part of instructions?
Click to expand...
Click to collapse
Hi sorry for my late respond.
This is in Setting - Security - CoolManager
Click to expand...
Click to collapse
Hagen656 said:
Hi I have one and i had same problem.
First you must root phone, that is simple and here is instructions:
https://translate.google.cz/translate?hl=cs&sl=zh-CN&tl=en&u=http%3A%2F%2Fsjbbs.zol.com.cn%2F166%2F1606_1657041.html
after that you can manualy install GAPPS.
I get Universal Pico from Paranoid then unzip it on pc and create this pack https://drive.google.com/file/d/0BzMLUR1MF4g3RHBqQjBsTGlyVm8/view?usp=sharing
You must copy to Phone disk and manualy copy to system folder directories.
EACH FILE YOU MUST MANUALY SET PERMISSION 644
AND DIRECTORY \etc\preferred-apps\ THAT YOU CREATE MUST SET PERMISSION 755
After that you must restart phone and enjoy
For Copy and set permissions i use Root Explorer that you must manualy install from disk
Sorry for my bad English
Click to expand...
Click to collapse
Hi
Can you specify where to put those apks exactly. Thanks for your time.
mirchichamu said:
Hi
Can you specify where to put those apks exactly. Thanks for your time.
Click to expand...
Click to collapse
Hi directories from my zip (app, etc, framework, lib, priv-app) must extract to /system directory. Means
files from zip/GAPPS/app/*.apk copy to /system/app/*.apk on your phone
files from zip/GAPPS/etc/permissions/*.xml copy to /system/etc/permissions/*.xml on your phone
files from zip/GAPPS/etc/preferred-apps/*.xml copy to /system/etc/preferred-apps/*.xml on your phone
files from zip/GAPPS/framework/*.jar copy to /system/framework/*.jar on your phone
files from zip/GAPPS/lib/*.so copy to /system/lib/*.so on your phone
files from zip/GAPPS/priv-app/*.apk copy to /system/priv-app/*.apk on your phone
EACH FILE YOU MUST MANUALY SET PERMISSION 644
AND DIRECTORY \etc\preferred-apps\ THAT YOU CREATE MUST SET PERMISSION 755
Hagen656 said:
Hi directories from my zip (app, etc, framework, lib, priv-app) must extract to /system directory. Means
files from zip/GAPPS/app/*.apk copy to /system/app/*.apk on your phone
files from zip/GAPPS/etc/permissions/*.xml copy to /system/etc/permissions/*.xml on your phone
files from zip/GAPPS/etc/preferred-apps/*.xml copy to /system/etc/preferred-apps/*.xml on your phone
files from zip/GAPPS/framework/*.jar copy to /system/framework/*.jar on your phone
files from zip/GAPPS/lib/*.so copy to /system/lib/*.so on your phone
files from zip/GAPPS/priv-app/*.apk copy to /system/priv-app/*.apk on your phone
EACH FILE YOU MUST MANUALY SET PERMISSION 644
AND DIRECTORY \etc\preferred-apps\ THAT YOU CREATE MUST SET PERMISSION 755
Click to expand...
Click to collapse
Thank you very much.
Sent from my HUAWEI MT7-TL10 using Tapatalk
Didnt get that screen
Hagen656 said:
Phenomen said:
Hi sorry for my late respond.
This is in Setting - Security - CoolManager
Click to expand...
Click to collapse
I dont get that screen. i get this:
Click to expand...
Click to collapse
Hagen656 said:
Hi directories from my zip (app, etc, framework, lib, priv-app) must extract to /system directory. Means
files from zip/GAPPS/app/*.apk copy to /system/app/*.apk on your phone
files from zip/GAPPS/etc/permissions/*.xml copy to /system/etc/permissions/*.xml on your phone
files from zip/GAPPS/etc/preferred-apps/*.xml copy to /system/etc/preferred-apps/*.xml on your phone
files from zip/GAPPS/framework/*.jar copy to /system/framework/*.jar on your phone
files from zip/GAPPS/lib/*.so copy to /system/lib/*.so on your phone
files from zip/GAPPS/priv-app/*.apk copy to /system/priv-app/*.apk on your phone
EACH FILE YOU MUST MANUALY SET PERMISSION 644
AND DIRECTORY \etc\preferred-apps\ THAT YOU CREATE MUST SET PERMISSION 755
Click to expand...
Click to collapse
I see all these files are APK's. Do I install them like regular APKs? Then how do I grant permissions? I have two left thumbs as far as technology is concerned, so I would sincerely appreciate someone guiding me, step by painful step. Thanks.
DUSANT_AP said:
I see all these files are APK's. Do I install them like regular APKs? Then how do I grant permissions? I have two left thumbs as far as technology is concerned, so I would sincerely appreciate someone guiding me, step by painful step. Thanks.
Click to expand...
Click to collapse
Read my first post
Hagen656 said:
Hi I have one and i had same problem.
First you must root phone, that is simple and here is instructions:
https://translate.google.cz/translate?hl=cs&sl=zh-CN&tl=en&u=http%3A%2F%2Fsjbbs.zol.com.cn%2F166%2F1606_1657041.html
after that you can manualy install GAPPS.
I get Universal Pico from Paranoid then unzip it on pc and create this pack https://drive.google.com/file/d/0BzMLUR1MF4g3RHBqQjBsTGlyVm8/view?usp=sharing
You must copy to Phone disk and manualy copy to system folder directories.
EACH FILE YOU MUST MANUALY SET PERMISSION 644
AND DIRECTORY \etc\preferred-apps\ THAT YOU CREATE MUST SET PERMISSION 755
After that you must restart phone and enjoy
For Copy and set permissions i use Root Explorer that you must manualy install from disk
Sorry for my bad English
Click to expand...
Click to collapse
Hagen656 solution works, tried & tested
DUSANT_AP said:
I see all these files are APK's. Do I install them like regular APKs? Then how do I grant permissions? I have two left thumbs as far as technology is concerned, so I would sincerely appreciate someone guiding me, step by painful step. Thanks.
Click to expand...
Click to collapse
Do exactly as @Hagen656 says: copy ALL files from GAPPS, *.apk *.jar *.xml *.so into the corresponding folders from the /system/ folder on your phone. If the folder is not present in /system/ on your phone, copy the entire folder from GAPSPS. You don't have to install anything, just to change permissions to 755 for /system/etc/preferred-apps/ folder and to 644 for ALL files (including the ones from /system/etc/preferred-apps/).
To understand file permissions in Android, read this:
http://androidforums.com/threads/understanding-android-file-permissions.73177/
For changing file permissions, I used ES File Explorer, you can directly download the .apk from here http://www.estrongs.com/?lang=en
After installing ES File Explorer, you need to install ES Permission Manager plugin, which can be found here http://getandroidapp.org/applications/libraries-demo/93311-es-permission-manager-plugin-1-0.html
Pls how did you change d language of d coolmanager app

Categories

Resources