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.
Related
Hello,
I found today a version of the default htc_ime with included cyrillic(bulgarian) language in it and tried to install it. The guide said to replace the .apk file in /system/app. I did that, restarted the phone and now the Touch Input method is missing in the options and missing when i try to change the input method.
Before replacing the file I kept a copy of the original on the sdcard. When things went wrong i copied my original file back to /system/app and restarted, but the problem remains. Still I don't have the Touch Input (htc_ime) keyboard present.
What else could go wrong when copying that file, what else could have changed, and how can I restore it ?
Yes I know i should have done a nandroid backup before doing that, but just thought nothing can go wrong, silly me ..
Did you change the permissions via chmod to 640 / rw-r-r ?
If not this could be the Problem...
This could be the problem. The other files in /system/app as seen in root explorer have permissions rw-r--r--, but the file I have copied has ---rwxr-x. My original file also has these, so i guess they are changed when I copied it through adb shell. I will change them when I get home and post an update of the situation.
You should be able to change the permissions from within RootExplorer.
Yes it worked. I changed the permissions through root explorer. I have the default keyboard again. Thank you, you are a life saver.
CyberTod said:
Hello,
I found today a version of the default htc_ime with included cyrillic(bulgarian) language in it and tried to install it.
Click to expand...
Click to collapse
Hi Tod, can you give me the link to htc_ime with Bulgarian?
PhilipZ said:
Hi Tod, can you give me the link to htc_ime with Bulgarian?
Click to expand...
Click to collapse
I second that - can you please post a link to the Bulgarian layout ?
I have taken and expanded on this thread.
I added the following.
Allows the phone to sleep better
ro.ril.disable.power.collapse=1
Saves power when phone is sleep
pm.sleep_mode=1
Allows your wifi to scan less, saving more battery
wifi.supplicant_scan_interval=180
Helps Scrolling Responsiveness
windowsmgr.max_events_per_sec=180
Increase overal touch responsivenss
Debug.performance.tuning=1
Video.accelerate.hw=1
Raises quality of JPEG images
ro.media.enc.jpeg.quality=90
Change the Dalvik VM heap size
dalvik.vm.heapsize=48m
Render UI with GPU
debug.sf.hw=1
I tried adding the market fixes from this thread but it doesn't seem to work on stock.
To install
rename your current build.prop in /system/ to build.prop.bak and copy this build.prop to /system/ and reboot.
Make sure the file permissions are rw-r--r-- or chmod 644
I recommend using root explorer. Below is the file permissions diagram if you use root explorer to change them.
XX0
X00
X00
All installers include a backup script as of 1-23-2012
If you have an error with the installer. Unplug your kindle wait a couple seconds and plug it back in. Make sure to eject and the sdcard from the computer and click disconnect on the kindle.
Download the automated Mac installer for stock here. | Download the build.prop for stock here.
Download the automated Mac installer for Paul's Modaco stock here.
Download the automated Mac installer for CM7 here. removed for now| Download a build.prop for kindle fire CM7 here.
If you have any suggestions please share them with me so I can add them.
If you wanna buy me a drink for my time go Here.
I'm assuming this is for stock KF firmware?
Correct this tweak is for the stock firmware.
Will this allow the market to show more apps, right now with stock build prop a lot of apps are not available
Nope. This does nothing for the Market. I don't think anyone has been successful in getting the market hacks to work yet.
Permissions?
Are you sure about those permissions? Everything I'm reading is suggesting it should be :
rw-r--r--
Or
XX0
X00
X00
I'm pretty sure. 777 is what mine was pre-editing. I am running the build.prop I have available above and it is working fine for me. I think you may be referring to the default.prop which has the permissions you listed.
Is this compatible with CM7?
Okay, I may have been mistaken. I checked the permissions of my build.prop.bak and they were listed as I posted above so I figured it should be the same. Would permissions change from renaming a file?
Also, I haven't touched default.prop.
Sent from my SGH-T959 using XDA App
I have had problems with permissions changing when moving them to the computer but not sure I'd just renaming them would do it. Are you able to check your active build.prop?
Matt V said:
Is this compatible with CM7?
Click to expand...
Click to collapse
I don't think you should use this with CM. If you want to post a link where I could download a copy of yours I will add the edits and make one for CM. Although I am sure some are already there.
northmendo said:
I have had problems with permissions changing when moving them to the computer but not sure I'd just renaming them would do it. Are you able to check your active build.prop?
Click to expand...
Click to collapse
Unfortunately I already replaced my build.prop with the one you posted. I have my permissions currently set to the same values as my .bak and have since rebooted with no issues. Should I be experiencing issues if my permissions are incorrect? Also, searching other forums (for other devices) and looking at the build.prop on my phone (Samsung vibrant) the permissions are rw-r--r--.
Sent from my SGH-T959 using XDA App
For anyone wanting to try this on CM7, don't do it because it doesn't work. In fact it turned the display 90* but still left the touch functions in the area they should be in, took me forever with playing with the buttons and a display that didn't match to get it fixed.
northmendo said:
I don't think you should use this with CM. If you want to post a link where I could download a copy of yours I will add the edits and make one for CM. Although I am sure some are already there.
Click to expand...
Click to collapse
Here's the CM7 build prop. Let me know what you can do with it and I'll give feedback.
Matt V said:
For anyone wanting to try this on CM7, don't do it because it doesn't work. In fact it turned the display 90* but still left the touch functions in the area they should be in, took me forever with playing with the buttons and a display that didn't match to get it fixed.
Click to expand...
Click to collapse
That'll be the ro.sf.hwrotation=270 setting.
tduermeier said:
Are you sure about those permissions? Everything I'm reading is suggesting it should be :
rw-r--r--
Or
XX0
X00
X00
Click to expand...
Click to collapse
You are correct, rw-r--r-- are the proper permissions for build.prop
Has anyone tried incorporating any of the Amazon build.prop stuff into ones for CM7 to see if they could get the Kindle reader application to allow you to read magazines and other documents that you have set up in the documents of the reader software? I have a few magazines that I do like to read on my Fire and would hate to give them up by switching ROMs but if that was the ONLY thing I lost I would live.
Thanks working great here on stock kindle rom rooted. Seems a bit snappier after implementing said tweaks.
neilrl79 said:
You are correct, rw-r--r-- are the proper permissions for build.prop
Click to expand...
Click to collapse
Thanks for the feedback I am going to test and change the post.
Weird, I am looking at the permissions on the build.prop listed above from CM7 and the permissions are 755.
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 there,
I accidentally deleted the video stock app from my phone after rooting and did not have a back up of it. Now when i play recorded videos from the gallery, I don't have a player to play it!
Can anyone please give me a link to the stock APK?
Thank you! Much appreciated!
-H
Here you go..
Hi thank you. I tried to install it, with a root Explorer too... Thing is after doing so it doesn't work probably because I didn't do it correctly.
Could someone tell me how to install it correctly?
Been a year since I've been into android hacking stuff ^. ^
Extract the folder and place into your /system/priv-app folder and set the correct permissions and reboot. You can check the right permissions by looking at the permissions of other folders and files in /system/priv-app directory.
Alex9090 said:
Extract the folder and place into your /system/priv-app folder and set the correct permissions and reboot. You can check the right permissions by looking at the permissions of other folders and files in /system/priv-app directory.
Click to expand...
Click to collapse
Hi Alex, thanks for getting back to me.
I did what you said but it still did not work for me.
when I try to open the video app which appears after reboot. The app automatically closes and says 'unfortunately, video has stopped working'
I'm rooted. Using es Explorer
Any other solutions?
Thanks a lot!
use mxplayer?
I've just flashed a stock rom and reset my phone,
Thanks for the help anyways, all!
Alex9090 said:
Extract the folder and place into your /system/priv-app folder and set the correct permissions and reboot. You can check the right permissions by looking at the permissions of other folders and files in /system/priv-app directory.
Click to expand...
Click to collapse
Is the arm64 folder supposed to be placed somewhere different or in the priv-app folder with the apk?
Because I put everything where it was supposed to be and set the permissions correctly for the folder and apk and still when I restart "unfortunately video has stopped working
Latest April update and I have magisk 16.3 with 5.64 manager version. Everything works fine, but now i've hit a snag.
I wanted to change the boot animation, I changed the file /media/bootanimation.zip and set permissions 644 (rw-r-r) using 1)solid explorer 2)root explorer 3)adb shell (using mount-wo remount rootfs / to make the /media partition writable. multiple reboots of course. the files I set are "sticking" after reboot.
It's still showing stock animation.
I found an app that would change it though: https://play.google.com/store/apps/details?id=website.olivermillers.customboot2
I don't know what file it changed but it made a backup of my stock animation, and it was my stock animation (not the one that I had set for /media/bootanimation.zip). I tried to restore the stock animation manually, as described above, but now it just shows the boot animation set by that app, and I can't change it.
Questions:
1. What am I doing wrong and what did that app do correctly, that it was able to change the boot animation?
and/or
2. Is there a substratum module with a black pixel 2 animation? That's all I really want and I can change animations with magisk easily and reliably. Just can't find the one I need.
I did it using the root browser app and the bootanimation changed.. it's system/media I think
mistermojorizin said:
Latest April update and I have magisk 16.3 with 5.64 manager version. Everything works fine, but now i've hit a snag.
I wanted to change the boot animation, I changed the file /media/bootanimation.zip and set permissions 644 (rw-r-r) using 1)solid explorer 2)root explorer 3)adb shell (using mount-wo remount rootfs / to make the /media partition writable. multiple reboots of course. the files I set are "sticking" after reboot.
It's still showing stock animation.
I found an app that would change it though: https://play.google.com/store/apps/details?id=website.olivermillers.customboot2
I don't know what file it changed but it made a backup of my stock animation, and it was my stock animation (not the one that I had set for /media/bootanimation.zip). I tried to restore the stock animation manually, as described above, but now it just shows the boot animation set by that app, and I can't change it.
Questions:
1. What am I doing wrong and what did that app do correctly, that it was able to change the boot animation?
and/or
2. Is there a substratum module with a black pixel 2 animation? That's all I really want and I can change animations with magisk easily and reliably. Just can't find the one I need.
Click to expand...
Click to collapse
EnIXmA said:
I did it using the root browser app and the bootanimation changed.. it's system/media I think
Click to expand...
Click to collapse
Like EnlXmA said, it goes on system/media. Using root explorer, I just place my new bootanimation.zip in that folder, add a .bat to my old animation, and just reboot. No need to change permissions at all. Here's a dark pixel bootanimation if you want/need it :good: https://drive.google.com/file/d/1zStFsJiqq5bLTp5krQnpwlztoJfK_B33/view?usp=drivesdk
EnIXmA said:
I did it using the root browser app and the bootanimation changed.. it's system/media I think
Click to expand...
Click to collapse
Badger50 said:
Like EnlXmA said, it goes on system/media. Using root explorer, I just place my new bootanimation.zip in that folder, add a .bat to my old animation, and just reboot. No need to change permissions at all. Here's a dark pixel bootanimation if you want/need it :good: https://drive.google.com/file/d/1zStFsJiqq5bLTp5krQnpwlztoJfK_B33/view?usp=drivesdk
Click to expand...
Click to collapse
Thanks so much guys. I feel so stupid. i've read your posts on this before, BAdger, even saw that same screenshot and download that same file from your drive. And yet I still thought it was /media, not /system/media. Thanks for the tip that I don't need to change permissions, too, I did not know that.
:good::good::good:
Would you mind posting a copy of the .bak file (the stock boot animation)? In my stupid attempts, I deleted mine.)
mistermojorizin said:
Thanks so much guys. I feel so stupid. i've read your posts on this before, BAdger, even saw that same screenshot and download that same file from your drive. And yet I still thought it was /media, not /system/media. Thanks for the tip that I don't need to change permissions, too, I did not know that.
:good::good::good:
Would you mind posting a copy of the .bak file (the stock boot animation)? In my stupid attempts, I deleted mine.)
Click to expand...
Click to collapse
https://drive.google.com/file/d/1ANeiImRWslWN3aY2bLM_1Ps6zCyPua9C/view?usp=drivesdk
mistermojorizin said:
Thanks so much guys. I feel so stupid. i've read your posts on this before, BAdger, even saw that same screenshot and download that same file from your drive. And yet I still thought it was /media, not /system/media. Thanks for the tip that I don't need to change permissions, too, I did not know that.
:good::good::good:
Would you mind posting a copy of the .bak file (the stock boot animation)? In my stupid attempts, I deleted mine.)
Click to expand...
Click to collapse
Here ya go bro. Just remove the .bat and your good :good:
https://drive.google.com/file/d/1nj5cLuziVMjFvE6stmKQhrAcy9tbpMMk/view?usp=drivesdk