Help needed in file permission fix - Galaxy S III Q&A, Help & Troubleshooting

i have shv-e210l and i have cm13 installed on it. i decompress system.new.dat and make addition in system/app and again compress it and it flashed successfully. but when system starts up my application (ChatSecure) which i added to rom was popup ("stoped working"). do i need to add some permissions or what? because my general concept is that when i download application from google play store it asks certain permissions. i need help if i need permissions or not and if i need permissions how can i add them.

Related

(SOLVED )GPS permission fix with Root Explorer

I have a tablet that does not have GPS and it causing me not to be able to download certain apps ( facebook, evernote etc.. ) i know its due to the developer GPS manifest or at least I think I do, I have seen a thread on here about using script to add permission of gps to the tablet so the market will let me have these apps due to their lovely filters, can someone help me with a step by step edit using script manager, I think I have found the right area system/etc/permissions/tablet xml etc... but im just still kinda new at this, I have sideloaded some apps to get around this but there are many apps i use that i cant find and would like to get this script changed, please help
Here is how to fix this issue
A. Backup /system/etc/permissions (just take a copy with ES file explorer or root explorer.recommended just in case)
B. copy the xmlfiles files into /system/etc/permissions (android.hardware.location.gps.xml, android.hardware.location.xml, com.android.location.provider.xml, tablet_core_hardware.xml) agree to over write all of them
C. Make sure the file permission are rw-r-r (with ES file explorer, long tap then change properties on each file..to help you out all files in that directory need to be rw-r-r)
D. Go to settings->apps->all and tap Google Play Store
E. Click on Clear data
F. REBOOT tablet
market still not working
Go to settings->apps->all Go to “Google Play Store” again
‘Clear Cache’ if it lets you then ‘Force Stop’ — DO NOT Clear data
back and Go to “Google Services Framework”
‘Clear data’ then ‘Force Stop’
REBOOT your machine.
Then after reboot market is still not working.. then go into..
settings->apps->all google play store again open it but this time clear data if it lets you..
thats it exit open market up, login and you should now have full market access
Get the xml files from this link http://www.mediafire...ft28i70alfchc0m
Can you repost the xml files? I am wondering if I can follow these steps to do this on a Amazon FireTV.
Files ..Dave..you can get the files here: android. googlesource. com/platform/frameworks/native/+/master/data/etc - i put a space in the link as I dont have enough permissions to post external links yet

[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

Official PlayStore apk install and More for android wear

1.- Move all these apks to the /system/priv-app folder of the android wear watch, and chmod 644 all apks with adb/terminal or change permissions to rw,r,r and change the owner to System and the group to System with file manager.
/system/Priv-app Apks -
ES filee explorer https://app.box.com/s/j4u1hiwymkbyvh4py2welvn88puyrn8w
Google Backup transport https://app.box.com/s/tvothkbt7yv0vw3fd6rcuxuf2vwa09qw
Google calendar sync https://app.box.com/s/i4ribv2kta4nhapb93tsesblgm3efvox
Google onetime init https://app.box.com/s/llxqniqy3thddj11g4jletk5qxpduw08
Google partner setup https://app.box.com/s/yg18h5rhs8d3ozdgmd2cufjgkynm55rs
UCBrowser https://app.box.com/s/misbdk8dg2nw1pz01ik8zrhxemvk5v9l
PlayStore https://app.box.com/s/cndzlazkq1z3599u39r842ocn7addlra
2.-Reboot watch to recovery and wipe dalvik and cache partitions.
3.- delete and move the dummy apks to system/priv-app folder
Google Play Store dummy apk https://app.box.com/s/thyhe4fscsbfnzacjpzh8ee5ufz5t8wu
UC Browser dummy apk https://app.box.com/s/epbyt8q2s1un5weigxeugphglbrjo01z
4.- Install these apks with ES file explorer -might not need to install all apks but that's what I use
Apks- https://app.box.com/s/rf5870pwmaeym7i132tlf5nt7uho72eg
4.- Reboot watch twice
Let me know how it goes!
Reserved
Hello,
thanks for this. But I need help.
I get this message: "com.google.process.gapps has stopped". Can you help me please ?
Thanks
mister-gwada97one said:
Hello,
thanks for this. But I need help.
I get this message: "com.google.process.gapps has stopped". Can you help me please ?
Thanks
Click to expand...
Click to collapse
Did you get apks installed ok?
iAppleDev said:
Did you get apks installed ok?
Click to expand...
Click to collapse
Yes I got all intalled ok. I did everything as you said.
I can't figure out what's wrong.
Does UCBrowser open and work?
"Google play services has stopped to work" after this process. I can´t get uc browser or play store working (installing as user apps as shown at step 3) If I move it to priv-app, UC browser works, but playstore´s still crashing. I don´t understand the dummy apks and its purpose...
If I install the dummy and before the user app UC browser, it doesn´t work. It needs to be pushed on priv-app to get networking
iAppleDev said:
Does UCBrowser open and work?
Click to expand...
Click to collapse
I got UC Browser working in system/app folder.
prototovsky said:
"Google play services has stopped to work" after this process. I can´t get uc browser or play store working (installing as user apps as shown at step 3) If I move it to priv-app, UC browser works, but playstore´s still crashing. I don´t understand the dummy apks and its purpose...
If I install the dummy and before the user app UC browser, it doesn´t work. It needs to be pushed on priv-app to get networking
Click to expand...
Click to collapse
Yes I guess it needs to be done first! If you use /system/app mover to move playStore to system then after it reboots install the newer PlayStore apk as an user with ES file explorer then delete the play store apk on the system/priv-app folder and add the older dummy apk again and it should work! I think it needs to be installed to system for real first then update it then move the older dummy apk to /system folder after you've updated it, the point of the dummy apk is to save space! if you want you could just leave the real apk in the System/folder
iAppleDev said:
Yes I guess it needs to be done first! If you use /system/app mover to move playStore to system then after it reboots install the newer PlayStore apk as an user with ES file explorer then delete the play store apk on the system/priv-app folder and add the older dummy apk again and it should work! I think it needs to be installed to system for real first then update it then move the older dummy apk to /system folder after you've updated it, the point of the dummy apk is to save space! if you want you could just leave the real apk in the System/folder
Click to expand...
Click to collapse
I don´t understand the steps. If I install something outside from priv-app, it won´t work on network, that´s a fact. I think google play services must be in priv-app also with play store and other google apps, but I don´t have space enought on /system partition (the play store crashes saying google play services has stopped, and I cannot install play services as user app because it says that already exists). Why it already exists? Must I delete the default Android wear Play services and replace with this new package? And what´s the installation order?
1- Install the dummy as user app and move it to /system with permissions, etc.
2- Reboot and install the real google play apk as user app
3- Reinstall the dummy on /system again (mantaining the real Gplay as user app and getting free space on /system)
Is this?
I only got UC browser working while being on priv-app, but nothing with play store... Really I´m trying to get it working
Yes any apps in the system folders get networking! And if you update that app it moves it to /data and still works as long as an dummy apk is in system folder. And yes I might have use the adb -r command to install play services or threw ES file explorer as an update? I'm not to sure
iAppleDev said:
Yes any apps in the system folders get networking! And if you update that app it moves it to /data and still works as long as an dummy apk is in system folder. And yes I might have use the adb -r command to install play services or threw ES file explorer as an update? I'm not to sure
Click to expand...
Click to collapse
Then, how I update an app for save space on /system? And how I install new play services without corrupting anything?
And what´s adb -r command for?
Sorry for all of that questions, but I´m interested in learning And thanks for all!
Have you tried to install play services apk with ES file explorer or threw adb? Android wear has play services installed already so it's just an update! It's called prebuiltGmsCoreForClockworkWearable.apk on my watch and is in the priv-app folder!
you have to install the app or apps to the /system/priv-app or /system/app folder first - you can use the app /system/app mover or adb or terminal or file manager. then you need to use ES File explorer and install an newer version of the same app and it will be updated and re-installed to the /Data partition where there is more space, it does not remove the apk from the /system folders but it's not used only checked for and wastes space so that's why the dummy apk is used. If you don't want to install other apps to system then just install PlayStore or UCBrowser and leave it in system but there isn't much space 30+mb.
adb install -r package.name.apk reinstalls the app without replacing the data like an update.
Ahh I found what was going on I forgot an apk GoogleAccountManager.apk it don't need to be in the system folder but if you reset the watch it will get deleted too unless it's in the system folder!
Can you upload it please? I'll try it
@iAppleDev : Hello, is there a way to store google contacts directly on the watch please ?
mister-gwada97one said:
@iAppleDev : Hello, is there a way to store google contacts directly on the watch please ?
Click to expand...
Click to collapse
Nope
iAppleDev said:
1.- Move all these apks to the /system/priv-app folder of the android wear watch, and chmod 644 all apks with adb/terminal or change permissions to rw,r,r and change the owner to System and the group to System with file manager.
/system/Priv-app Apks -
ES filee explorer https://app.box.com/s/j4u1hiwymkbyvh4py2welvn88puyrn8w
Google Backup transport https://app.box.com/s/tvothkbt7yv0vw3fd6rcuxuf2vwa09qw
Google calendar sync https://app.box.com/s/i4ribv2kta4nhapb93tsesblgm3efvox
Google onetime init https://app.box.com/s/llxqniqy3thddj11g4jletk5qxpduw08
Google partner setup https://app.box.com/s/yg18h5rhs8d3ozdgmd2cufjgkynm55rs
UCBrowser https://app.box.com/s/misbdk8dg2nw1pz01ik8zrhxemvk5v9l
PlayStore https://app.box.com/s/cndzlazkq1z3599u39r842ocn7addlra
2.-Reboot watch to recovery and wipe dalvik and cache partitions.
3.- delete and move the dummy apks to system/priv-app folder
Google Play Store dummy apk https://app.box.com/s/thyhe4fscsbfnzacjpzh8ee5ufz5t8wu
UC Browser dummy apk https://app.box.com/s/epbyt8q2s1un5weigxeugphglbrjo01z
4.- Install these apks with ES file explorer -might not need to install all apks but that's what I use
Apks- https://app.box.com/s/rf5870pwmaeym7i132tlf5nt7uho72eg
4.- Reboot watch twice
Let me know how it goes!
Click to expand...
Click to collapse
Hi, may I ask, what is the purpose of doing this? Is it for times when Android Wear becomes unstable?
I have put the apps to /system/priv-app. I chmod-ed them to 644. But i am not able to change user/group.
when in sdcard/Downloads the files are shown as root:sdcard_r. chown system:system filename result in no error, but ls -al still delivers root:sdcard_r
after putting the files in system/priv-app i am shown to have no rights to change user/group (no rights to write on system?). I dont know how to get these rights. Standard linux code doesnt work, necessary commands not integrated in wear?
In the file manager of twrp i dont find any option to change user/group. ES File Explorer is installed, but activation of root explorer returns an error. And yes, the device IS rooted
Edit:
When in /system/priv-app by adb shell su the files are shown root/root as user/group.
So the whole procedure results in:
I can start ES File Explorer (only through native GUI, not wear mini launcher, dont know why) - but i am not able to install an apk by it. Every try results in no app/no gesture. Now i am stuck...
Edit:
Ok, i made it by TWRP/Terminal. baaaaad work with that smaaaall keyboard and big fingers...
but it doesnt look as if that was the big point. File Explorer still cant get root explorer and i still cant install apps...
iAppleDev said:
1.- Move all these apks to the /system/priv-app folder of the android wear watch, and chmod 644 all apks with adb/terminal or change permissions to rw,r,r and change the owner to System and the group to System with file manager.
/system/Priv-app Apks -
ES filee explorer https://app.box.com/s/j4u1hiwymkbyvh4py2welvn88puyrn8w
Google Backup transport https://app.box.com/s/tvothkbt7yv0vw3fd6rcuxuf2vwa09qw
Google calendar sync https://app.box.com/s/i4ribv2kta4nhapb93tsesblgm3efvox
Google onetime init https://app.box.com/s/llxqniqy3thddj11g4jletk5qxpduw08
Google partner setup https://app.box.com/s/yg18h5rhs8d3ozdgmd2cufjgkynm55rs
UCBrowser https://app.box.com/s/misbdk8dg2nw1pz01ik8zrhxemvk5v9l
PlayStore https://app.box.com/s/cndzlazkq1z3599u39r842ocn7addlra
2.-Reboot watch to recovery and wipe dalvik and cache partitions.
3.- delete and move the dummy apks to system/priv-app folder
Google Play Store dummy apk https://app.box.com/s/thyhe4fscsbfnzacjpzh8ee5ufz5t8wu
UC Browser dummy apk https://app.box.com/s/epbyt8q2s1un5weigxeugphglbrjo01z
4.- Install these apks with ES file explorer -might not need to install all apks but that's what I use
Apks- https://app.box.com/s/rf5870pwmaeym7i132tlf5nt7uho72eg
4.- Reboot watch twice
Let me know how it goes!
Click to expand...
Click to collapse
Do you have root for this? If so how have you granted access if superuser doesnt work yet? Also how do you change the groups? And do the apks need to be in a folder in system/priv-app like they are in our phones? I moved all the apks but none of them installed I have TWRP but im still trying ti work out my root on Sony Smartwatch 3

Sony apps direct download from play store even keyboard

Guys I want to share with u the easiest way to use sony media apps and keyboard that to directly from play store download the file from the link below and copy and paste them in the correct folder with correct permissions it is not a flashable zip just copy framework from the zip to root system/framework folder and set permissions and then from zip etc/permission to. root system/etc/permission and set permission
NOTE ALL PERMISSIONS WILL BE 644...enjoy
https://drive.google.com/file/d/0B6kqLKEy_UG6dEx0aW9PcHcwakE/view?usp=docslist_api
How to set permission??
Darshan50283 said:
How to set permission??
Click to expand...
Click to collapse
u need to manually set permission using any root explorer
how can i set permission in detail please ??

How to block certain APK Installs automatically in Android AOSP Code?

Is there a way you can add apk package names to a file so when a user tries to install any of them, it fails with an error message that the app couldn't be installed?
Here is a patch for Android 10 but I don't know how to feed an external file eg. system/etc/blocked.xml to it so only those apps are blocked or fail to install but all other apps can still install normally.
Is there another way too to add the package names to block from being installed to the Android code itself so there isn't a system/etc/*.xml file they can see and easily delete.
Patch
https://pastebin.com/L892ntMP
Hi ,
Your pastebin link is not working can you please share the patch or the link again
dewettie said:
Is there a way you can add apk package names to a file so when a user tries to install any of them, it fails with an error message that the app couldn't be installed?
Here is a patch for Android 10 but I don't know how to feed an external file eg. system/etc/blocked.xml to it so only those apps are blocked or fail to install but all other apps can still install normally.
Is there another way too to add the package names to block from being installed to the Android code itself so there isn't a system/etc/*.xml file they can see and easily delete.
Patch
https://pastebin.com/L892ntMP
Click to expand...
Click to collapse
Can you please share the patch or the link again
If I remember this correctly, the signature of apk to be installed has to be the same as before if apk has been removed keeping the data. Now, rewrite the signature of the apk and install it and then uninstall keeping the data. That might make it harder to install that app in future...

Categories

Resources