Good morning fellow XDA'ers
I recently rooted my s4 to remove all the bloatware, along with samsung hub which i needed to resume screen rotation. I found a solution to fix that which is to paste libgnustl_shared.so in the lib file, which i did, then changed the permission to that (rw--r--r). After getting out of that folder I changed the permission of the entire lib file to (rw--r--r) (original was rwe--re--re). I was wondering if there is a recovery that allowed me to change the permission, or even format only the system files. I just prefer not to reset it. Any ideas will help
I am currently on stock 4.4.4 rooted, no knox (removed that).
PM me anytime
Why not go back into the folder and reset permission and save.
How do you know you changed permission?
Pp.
PanchoPlanet said:
Why not go back into the folder and reset permission and save.
How do you know you changed permission?
Pp.
Click to expand...
Click to collapse
because once i did that everything started to force close, endlessly and would continue to give pop ups
Related
Hey guys, I just installed VeNuM's new ROM version, but I can't install the removed apk's. Any ideas?
Thanks.
Push them to the /system/apps folder and reboot
I use root explorer to do this
sent from the near past
That didn't work. Maybe I'm not reading it right. Could you expand for a newbie?
Which apps are you trying to install?
sent from the near past
You need to set the permissions too... after copying the apk to system/apps long click it and go to permissions and then set too: read/owner on, Group on, others on. Then Write/owner on (turning on by clicking the corresponding box). All the other boxes will be empty. Hit OK. This will make sense when you do it... Reboot phone... You should be good to go...
VeNum ROM Question
Again, sorry for being such a Noob here, but I really like this ROM and desparately want to use it.
So, you said to extract the APKs to the "system/app" folder. I didn't see it a "system or a App" folder, or I'm not in the right place. I am viewing the files structure via Root Explorer on my phone.
Thanks for the patience and the help.
All the basic Epic Touch apks. Weather, clock, gmail, etc.
Permissions
Ok, I found the files, placed the apks where you said to, changed the permissions as instructed, but the apk still will not install.
I'm trying to install the Samsung Weather apk. Some will install, but most of the original system apks won't.
Any clue?
I searched the forum. It seems a rare case that misdeleting the service application.
The story is quite simple. I wish to maximize the use of internal memory so I moved some applications from /system/app to /vendor, where roughly has 120mb unused space. All these files had been created symbol links under /system/app. Most of them worked fine, except the GoogleServicesFramework.apk, which I reckon verifying its physical path.
So I moved it back. The sad part was that I forgot the symbol link was still there. The file overrode the symbol link which linked to itself therefore axed it to 0 byte. Soon I found how serious it was. All google related service were down, the play store, the talk, the map, etc. The google service must do some verification so I can't simply find a GoogleServicesFramework.apk to replace it. I can't install it either. It failed instantly.
I don't know the background of GoogleServicesFramework.apk. Maybe I should remove all related applications then find a package to install all of them. Is there anyone knowing how to fix this problem?
My Xperia Play is 800a, version 2.3.4 kernel 2.6.32.9-perf build 4.0.2.A.0.42. It is my first andriod device and here is my first post so please be kind.
Wait for someone here to upload the file for you or back up your files and reflash.
well as you said you tried to install it and it instantly failed, it will
you should get that app and copy paste it to system/framework and before that CHANGE ITS PERMISSIONS
how? copy it to system folder go to permissions using root explorer and change them to r-w-r-r i.e tick first three row buttons and 2 column buttons
creative_md said:
well as you said you tried to install it and it instantly failed, it will
you should get that app and copy paste it to system/framework and before that CHANGE ITS PERMISSIONS
how? copy it to system folder go to permissions using root explorer and change them to r-w-r-r i.e tick first three row buttons and 2 column buttons
Click to expand...
Click to collapse
yeah, I've checked the permission. It's rw-r-r. But every GoogleServicesFramework.apk I've downloaded are slightly different in size. I suspect this file is highly sensitive to versions.
xiyue077 said:
yeah, I've checked the permission. It's rw-r-r. But every GoogleServicesFramework.apk I've downloaded are slightly different in size. I suspect this file is highly sensitive to versions.
Click to expand...
Click to collapse
i think you should try them and what you have got to lose? if you want your system (without GSF.apk) back just make a nandroid backup.
and you always got option of flashing stock firmware......
Another thing you can try is download a stock .ftf file, extract it and look for the file within the system files.. Copy paste and Bobs your uncle!
albanezi said:
Another thing you can try is download a stock .ftf file, extract it and look for the file within the system files.. Copy paste and Bobs your uncle!
Click to expand...
Click to collapse
The problem has been fixed. Thanks to every one. You guys gave me a lot of hints. The solution was like that:
1, uninstalled the play store from setup and removed the incorrect version GoogleServicesFramework.apk under /system/app
2, extracted the GoogleServicesFramework.apk from a ftf package carried 2.3.4 version. It should be 2MB around. The previous downloaded one was only 1MB. Maybe that's the reason it failed to install.
3, installed it, not to copy to /system/app! Then there will be a file like com.xxx.gsp.apk under /data/app directory.
4, rebooted the phone and would see the google store appeared. All services returned normal. Hooray!
I didn't try to move it back to /system. Most apps in /data had been moved to /system and /vendor so there are 200mb left in /data, fare enough to me
Go here, do what it says, problem solved! - http://forum.xda-developers.com/showpost.php?p=42236196&postcount=4837
All I would add is that you don't need to use twrp to fix permissions. You can do it yourself much quicker if you have this file manager app installed - https://play.google.com/store/apps/...lt#?t=W251bGwsMSwyLDEsImNvbS5yaG1zb2Z0LmZtIl0.
vouty said:
Go here, do what it says, problem solved! - http://forum.xda-developers.com/showpost.php?p=42236196&postcount=4837
All I would add is that you don't need to use twrp to fix permissions. You can do it yourself much quicker if you have this file manager app installed - https://play.google.com/store/apps/...lt#?t=W251bGwsMSwyLDEsImNvbS5yaG1zb2Z0LmZtIl0.
Click to expand...
Click to collapse
Hi,
Came across this post for the very problem, followed the instructions from the link, but the Wallpaper Chooser option still doesn't appear when I want to change wallpaper.
I have an S3 GT-i9300
Copied SecWallpaperChooser.apk & .odex from a backup.
Reset the permissions to -rw-r--r-- on the .apk
but
the .odex has persmissions -rwS--S--T ; I set them to -rw-Sr-Sr-T, but I don't know how to, or if I should, remove the SST permissions.
Any ideas?
Any help highly appreciated.
Cheers,
Alphonse
EDIT: I read somewhere that the numerical value for the permissions -rw-r--r- is 0644 and I had 7644, thus the SST. I simply deleted the 7 and left 644, rebooted, and it works fine now.
Had the bright idea to delete the stock gallery app while clearing bloatware. Unbeknownst to me, that was needed to set the lock screen wallpaper to anything other than the stock wallpapers. I use quickpic instead. Now I can't set a picture as the lock screen background (I can change wallpaper).
I've tried reinstalling the gallery, but when choosing to set the paper from the home screen, the gallery option does not show up. Is there a way to again associate the gallery, or an alternative app to do so?
SilveradoZ71 said:
Had the bright idea to delete the stock gallery app while clearing bloatware. Unbeknownst to me, that was needed to set the lock screen wallpaper to anything other than the stock wallpapers. I use quickpic instead. Now I can't set a picture as the lock screen background (I can change wallpaper).
I've tried reinstalling the gallery, but when choosing to set the paper from the home screen, the gallery option does not show up. Is there a way to again associate the gallery, or an alternative app to do so?
Click to expand...
Click to collapse
I'm no expert, but have you restored gallery back to /system/app or did you just click on .apk and chose to install it? Because if you installed it, it went to /data/app - maybe that's the reason it does not function as it supposed to?
And second, try to run it as an app - see if it starts in first place, maybe there's something else missing. Perhaps you deleted odex file as well, and because of this it does not start?
Just did a little experiment - restored apk and odex files back to /system/app - and option to change wallpaper appeared again. No reboot needed.
Move gallery apk to system/app and set the permissions to rw-r-r aand reboot.
akp.ajinkya said:
Move gallery apk to system/app and set the permissions to rw-r-r aand reboot.
Click to expand...
Click to collapse
I believe you both are right, as I just installed like normal. Noob issue though, when I go to copy and paste the apk into system/app, I get a permission denied message. I'm rooted of course and granted es file explorer su privileges, so I'm not sure why. Any suggestions?
Thanks for the help
SilveradoZ71 said:
I believe you both are right, as I just installed like normal. Noob issue though, when I go to copy and paste the apk into system/app, I get a permission denied message. I'm rooted of course and granted es file explorer su privileges, so I'm not sure why. Any suggestions?
Thanks for the help
Click to expand...
Click to collapse
You need to remount /system as read-write, just like you did before removing apps (if you removed them manually). Go to your terminal emulator or use ./adb shell get superuser (by typing "su") and type: mount -o rw,remount /system
After that you can move files to*/system. Just don't forget to reboot or remount /system as read-only when done.
Root explorer allows pasting and permissions changing. I'm not sure I'm using the right apk. I had a nexus one that installed and worked (though not able to change lock screen). I uninstalled it, and installed 2 different versions of the Samsung app. It never gets recognized on the reboot like the nexus one did. I assume I'm using the wrong one. Any link to an official one? I am on 4.1.2 stock.
Thanks again
SilveradoZ71 said:
Root explorer allows pasting and permissions changing. I'm not sure I'm using the right apk. I had a nexus one that installed and worked (though not able to change lock screen). I uninstalled it, and installed 2 different versions of the Samsung app. It never gets recognized on the reboot like the nexus one did. I assume I'm using the wrong one. Any link to an official one? I am on 4.1.2 stock.
Thanks again
Click to expand...
Click to collapse
I'm using 4.1.2 stock, so here are files from my /system/app:
http://ge.tt/11an8Gz
Sha256sum:
9f1a440e1aefb1bed74c0c8b0cdd0e462d24d70cad3da7063034db5f905f2d52 SecGallery2_Galaxy.apk
cf96394bcce1c1b07915265b953074d79960f530b4872770597f6cd4349ffd0e SecGallery2_Galaxy.odex
Good luck, and let me know if this helps.
P.S. Next time you clean you ROM, just move files to some location (for example your PC) Comes in handy later, I know that from my own painful experience
Userius said:
I'm using 4.1.2 stock, so here are files from my /system/app:
Sha256sum:
9f1a440e1aefb1bed74c0c8b0cdd0e462d24d70cad3da7063034db5f905f2d52 SecGallery2_Galaxy.apk
cf96394bcce1c1b07915265b953074d79960f530b4872770597f6cd4349ffd0e SecGallery2_Galaxy.odex
Good luck, and let me know if this helps.
P.S. Next time you clean you ROM, just move files to some location (for example your PC) Comes in handy later, I know that from my own painful experience
Click to expand...
Click to collapse
Any specific way to install it all back? I put everything back in system/app and rebooted. Nothing changed, it's not installed, and Android didn't "Update Apps" on the reboot. I try to install it with package installer like any other app and that fails. I've tried your odex and mine (which was never deleted).
That's great advice!
Hi
So I am looking at blocking a number of websites - no, I don't really want to do this through app's as a mere uninstall can undo the blocks.
I've rooted my phone, I've given +rw mount to /system/ and I'm able to etc hosts under /system/etc/hosts just fine.
However, as soon as I reboot, the system restores the hosts file to it's original state and all my edits to that file are undone.
Is there anything I can do about this? Please be a bit more specific than just "flash the kernel", thanks.
MohamedH93 said:
Hi
So I am looking at blocking a number of websites - no, I don't really want to do this through app's as a mere uninstall can undo the blocks.
I've rooted my phone, I've given +rw mount to /system/ and I'm able to etc hosts under /system/etc/hosts just fine.
However, as soon as I reboot, the system restores the hosts file to it's original state and all my edits to that file are undone.
Is there anything I can do about this? Please be a bit more specific than just "flash the kernel", thanks.
Click to expand...
Click to collapse
any time i edit anything in system folders i copy it to sdcard do my edits then copy it back and make sure the permissions are set correct i think it rw-r--r-- reboot and it should be good to go... for some reason i cant edit them in that folder but moving it to edit then move it back works for me maybe it will work for you too...
buby78 said:
any time i edit anything in system folders i copy it to sdcard do my edits then copy it back and make sure the permissions are set correct i think it rw-r--r-- reboot and it should be good to go... for some reason i cant edit them in that folder but moving it to edit then move it back works for me maybe it will work for you too...
Click to expand...
Click to collapse
I can edit it no probs. I do my changes, test them out and they all work OK.
As soon as I reboot, everything becomes undone. AFAIK this might be some kernel protection.
The system partition is write-protected.
http://forum.xda-developers.com/showthread.php?t=2701816