Fix permissions - Samsung Galaxy S (4G Model)

I recently noticed by using busy box there is an option to run a script to fix permissions. My question is can we use this feature to fix perm rather than rebooting to recovery, ie does this give the same results or is it recommended to use recovery just like when you do factory data reset.
Sent from my SGH-T959V using xda app-developers app

Almost always better practice to do things to the system when in single-user mode, or as close to it as you can get. Bad things can happen when you change the system under processes that are running at the time.

Does it accomplish the same result though
Sent from my SGH-T959V using xda app-developers app

You'd have to read the script you found and compare it to the one in your recovery. Even from recovery version to recovery version, the script can do slightly different things.

Adding to what jeff wrote, this rule is also good when messing with system apps and most importantly with framework-res. For these cases I run the Aroma file manager zip from the recovery, copy and replace what I need, fix permissions and reboot (without active processes noise)
sent from me

Ok thanks guys was trying to skip rebooting device but ill stick to recovery.
Sent from my SGH-T959V using xda app-developers app

anoymonos said:
Ok thanks guys was trying to skip rebooting device but ill stick to recovery.
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
Even if you ran fix permissions (from any script), you'd still have to reboot.

Related

[Q] missing apps theory

Is it possible to flash via odin and cwm and some gremlins still lurk. I ask because i've flashed 3 roms today and each one seem to have the same issue with missing market app and such. I don't know if it's a app i'm using, but it seems wierd. I went from Gingerbread (where it started) back to froyo and flashed 2 froyo roms with the issue
Try RaverX3X's KC1. Unfortunately, I don't have the link, so look for it on this forum. That should clear up all gremlins you have.
Yeah i tried that the last time. Possibly I should do my flashing straight from that with the required stuff to get root?
Sent from my SGH-T959V using XDA Premium App
im getting the same issue, I've Odin stock kc1 without root then gained root, installed cwm. Then proceeded to install Audiophile Series: Redux. Still has the same issue. I've even odin gb Kg4, KG5, KH1, & KH2. All gave me the same problem. Everything works perfect up until I shutdown my phone and reboot it. Then I get the grey android icon with these apps:
com.amazon.venezla (Amazon Appstore)
com.monotype.android.font.felbridge (felbridge font)
com.quoord.tapatalkxdapre.activity (XDA premium)
com.touchtype.swiftkey (swiftkey)
net.everythingandroid.smspopup (Smspopup)
org.projectvoodoo.controlapp (Voodoo)
& of course my market app does not work either, even when i install the new market it force closes.
I have also not dont ext4 conversion, so that cant be this issue
Anybody know how to fix this problem?
Try flashing the KC1 Cleanup Rom first. That's at:
http://forum.xda-developers.com/show....php?t=1129933
Then flash KC1 etc.
i figured it out. Thanks!!
digitallure said:
i figured it out. Thanks!!
Click to expand...
Click to collapse
What worked for you? I have the same problem -- lost marketplace app and not sure what to do besides reflashing.
Curious that not everyone else is having this problem as I used the "Step by Step on how to flash any Gingerbread rom". Maybe it's occurring when EXT4 is done.
Lol I'm sitting here and reading all the posts and lolling XD.Just reboot onto recovery and go to mounts there normally should be MUUM but when apps are missing there is MMUM (i think i got that right, the unwanted mount should be data ) after you unmount data reboot and voila none of the apps are missing.
Source: personal experience ;-)
EDIT: don't forget about fixing permissions after rebooting
Sent from my SGH-T959V using XDA App
spy4ka said:
Lol I'm sitting here and reading all the posts and lolling XD.Just reboot onto recovery and go to mounts there normally should be MUUM but when apps are missing there is MMUM (i think i got that right, the unwanted mount should be data ) after you unmount data reboot and voila none of the apps are missing.
Source: personal experience ;-)
EDIT: don't forget about fixing permissions after rebooting
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
Mounts should always be UMMU. You got it the other way around.
You guys should check out my thread.
http://forum.xda-developers.com/showthread.php?t=1223765
If you just want a Froyo cleanup only flash the KC1 ROM, if you want the GB cleanup, follow all the steps in the guide.
spy4ka said:
Lol I'm sitting here and reading all the posts and lolling XD.Just reboot onto recovery and go to mounts there normally should be MUUM but when apps are missing there is MMUM (i think i got that right, the unwanted mount should be data ) after you unmount data reboot and voila none of the apps are missing.
Source: personal experience ;-)
EDIT: don't forget about fixing permissions after rebooting
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
Yeah that didn't work for me. Basically what I did was back up my sd card, partition it, then followed the steps FB posted.
Sent from my SGH-T959V using XDA Premium App
Sent from my SGH-T959V using XDA Premium App
Dont understand why
A factory reset will solve missing app issue
tabii said:
A factory reset will solve missing app issue
Click to expand...
Click to collapse
From my experience over the past couple weeks and through dsextons posts, I believe the issue is that your phone was still partially ext-4 when you flashed.

New to rooting. Applications aren't working.

Recently rooted Samsung Galaxy Tab 2 10.1. As of now I'm running Cyanogen Mod 10. Before that I was using Cyanogen Mod 9.0. However I've experienced the same issue with both roms. My favorite apps wouldnt open. However Google play store works so I figured its not my gapps.
1) Spotify- just shows a blank screen nothing else.
2) Evernote- not able to create the database file and tells me to restart the device and make sure my memory card isn't full.
3). Lecture Note- App needs a directory at the media/shared/external storage (SD card) to store the notebook.
So just by searching the forum and not seeing much on the topic, I figured I missed something in the process.
I don't use titanium backup and neither am I familiar with it. But if I have to learn then please tell me so.
I've always wiped before flashing roms.
I know CM 10 is a nightly and all that jive but I really like it. But without apps working then it is useless for me.
Oh and not sure if this is related but every download from a hyperlink on a web page results in a download unsuccessful.
Sent from my SAMSUNG-SGH-I777 using xda app-developers app
May be try to reflash rom again latest nightly for your specific device + flash gapps jellybean not ics + full wipe after flashing those (wipe cash+wipe dalvik cash in advanced options)
If not working so try wipe data of apps you want in setting
If not so send messages to developers may be their apps not compatible with jellybean need update
Sent from my GT-I9100 using xda app-developers app
I too am having problems with certain apps not working, mine are more job specific such as the Cadillac mobile workbench and Cadillac mobile showroom. My Chevy components work no problem tho
However I m not new to rooting
Sent from my GT-P5113 using Tapatalk 2
I'm just now getting to the reflashing my ROMs from the advice given up above. Have you had any luck at all?
Sent from my GT-P5113 using xda app-developers app
I gave up. Going to cm 9 stable
Sent from my SAMSUNG-SGH-I777 using xda app-developers app
Okay so attempting to go back to cm9 to ended up in something that seemed like a hard brick but thank god it wasnt. Ended up going back to cm10 and now it ls running like a beast.
Sent from my SAMSUNG-SGH-I777 using xda app-developers app
Netflix
My device P5113 4.04 stock
I rooted using this : http://forum.xda-developers.com/showthread.php?t=1657056 but now netflix will load up, and I go to play a video and load forever then i get error 11003(note netflix works fine on my phone/ps3).
Does any body know a fix for this?
The original reason i rooted was to attempt to move the notification bar to the top (i hate it at the bottom b/c I constantly hit buttons). So i tried to do this:
http://rootzwiki.com/topic/18063-move-the-status-bar/
(1) download ES File Explorer
(2) go to settings and activate root explorer and mount r/w
(3) navigate to /system/
(4) click on build.prop and select "ES Note Editor"
(5) look for the line item called "ro.sf.lcd_density=160"
(6) edit it to read "ro.sf.lcd_density=161"
(7) exit and save the file
(8) reboot
Click to expand...
Click to collapse
and I broke android(would not boot, go only a black screen) b/c i added this to the file, because i didn't find it, so i had to reinstall.
So my other question is is there anyway to move the status/notification bar to the top? Im about to go back to stock but, i will root again if i can fix netflix.

(q) loss of space

Hello I need some help here.. I don't have Any idea what to do or how to unlock a Motorola or I would've done it by now... I have a triumph and its losing in phone storage space. I'm not sure? If it q build up cache? Or a build of left over system file. Like data logs or something. Please help!!!
Sent from my shooter using xda app-developers app
It's most likely the alog files that are eating up all your storage. The only way to fix it is to either root the phone and use a file explorer to delete them or do a factory data reset.
Rooting this phone is incredibly easy and safe as long as you follow directions. There is a decent selection of Roms to choose from with all kinds of added goodies.
If you want to stay stock, there is a script that you can flash that automatically deletes the alog files upon reboot. (requires root though)
If you need any help understanding all of this stuff just ask.
Sent from my Nexus 4 using Tapatalk 2
That phone is not worth having I have it and it's crap sure you can get cm 10 and all but the camera don't work unless you on a stock rooted Rom
Sent from my ADR6400L using xda app-developers app

Stuck in a boot loop after changing app permissions

I posted this in the Nexus 7 section, but this can apply to all AOKP based ROMs that have the "Permissions Manager" option.
Running SmoothROM with 4.2.2 (I think) and I was messing with the "Permissions Manager" settings under "Settings". I turned off several permissions on Facebook, such as SMS view/sender and location on it as well on some other apps. I then rebooted the tablet and now I'm stuck on a boot loop. I don't get how because these aren't system apps, so I don't think it should affect the system booting up at all. Sadly I didn't make a nandroid backup before doing this, since I thought the worse that could happen would be the apps force closing which is easily fixed. Since I didn't make a backup I rather try things that wouldn't make me lose any data.
I can get into recovery (TWRP) and have already made a backup of the current boot looping state. I have already tried deleting cache and dalvik-cache and still won't boot.
I have an idea: Turning the "Permission Management" setting to "Off" would make the apps have their default permissions. I would have to get into /data/data/com.Android.Settings and find the "Permissions Management" setting and set it to "false" or "off" through ADB. So I would have to pull the file and push the edited file back through fast boot or recovery. Anyone think this would work??
FWIW: I updated the kernel (Franco) with his franco.Kernel app 1 reboot ago, but it rebooted fine, not sure if it could be the kernel that has me in this bootloop?
Sent from my DROID RAZR using Tapatalk 4
Fix permissions in recovery mode
Sent from my GT-P3100 using xda app-developers app
sukkukikku said:
Fix permissions in recovery mode
Sent from my GT-P3100 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the reply.
I'm not talking about .apk or file permissions. I'm talking about permissions apps request, such as location, internet access, billing, reading contacts, etc. That's something the "Fix permissions" option in recovery mode has nothing to do with.
rda990 said:
Thanks for the reply.
I'm not talking about .apk or file permissions. I'm talking about permissions apps request, such as location, internet access, billing, reading contacts, etc. That's something the "Fix permissions" option in recovery mode has nothing to do with.
Click to expand...
Click to collapse
Im sorry but it sounds like if this issue cant be resolved you might need to reset youre phone but try to go into recovery mode and mess around and see if you can find anything that has to do with booting, good luck and ohh one more thing if all else fails in recovery mode try and find the wipe cache partition option and proceed to that ^.^ :good::good::good:
If you have the backup file you can try to reflash the rom
Sent from my GT-P3100 using xda app-developers app
^ also a very good idea
Sent from my SPH-L710 using XDA Premium 4 mobile app

[Q] Settings lost after reboot

Hey Guys,
I have a small problem with my HTC one s S4. I'm currently on viper 3.1.2 and everytime after I reboot some systems settings are gone. When I change my DPI for example nothing happens after a reboot(it stays on the same 240). I can't use a adblock(since it has to reboot) or change my boot animation. I can change the settings successfully but after a reboot the settings are back to stock
I'm thinking that the problem it's that I'm s-on. My hboot is 2.15
It's there anyone with a solution?
Thanks in advance
Sent from my HTC One S using xda app-developers app
BoazCoenraad said:
Hey Guys,
I have a small problem with my HTC one s S4. I'm currently on viper 3.1.2 and everytime after I reboot some systems settings are gone. When I change my DPI for example nothing happens after a reboot(it stays on the same 240). I can't use a adblock(since it has to reboot) or change my boot animation. I can change the settings successfully but after a reboot the settings are back to stock
I'm thinking that the problem it's that I'm s-on. My hboot is 2.15
It's there anyone with a solution?
Thanks in advance
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
Thats not caused by S-ON Have you manually changed any read/write permission or installed another kernel or any "..." scripts? Wiped cache/dalvik btw?
Thanks for your quick response. I didn't change any write permissions or something like that. I haven't done any wiping and the image shows my kernel
Sent from my HTC One S using xda app-developers app
BoazCoenraad said:
Thanks for your quick response. I didn't change any write permissions or something like that. I haven't done any wiping and the image shows my kernel
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
Have you checked if your sdcard is working And superuser is installed properly ?
The Rom is working completely fine. Apps for example stay installed. The problem occurs when I change a system setting. I can change the bootanimation.zip and change the permission, but after a reboot it's back to stock, even though I deleted the stock. Same happens when I change the dpi.
Sent from my HTC One S using xda app-developers app
BoazCoenraad said:
The Rom is working completely fine. Apps for example stay installed. The problem occurs when I change a system setting. I can change the bootanimation.zip and change the permission, but after a reboot it's back to stock, even though I deleted the stock. Same happens when I change the dpi.
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
The only case I can remember something like that is when superuser wasn't working properly. If only file related operations on /system partition get reverted you should try SuperSU flashing via RECOVERY and check the R/W permissions anf if the kernel may be does not feature mounting /system as R/W. Also try another filemanager please. I prefer using Total Commander
I tried the Sipersu and out didn't work. Also tried another file manager but that didn't work either. So I think it might be the kernel. I tried to enable mount system rw on venom tweaks, but (as you can expect) that was reversed after a reboot
Sent from my HTC One S using xda app-developers app
BoazCoenraad said:
I tried the Sipersu and out didn't work. Also tried another file manager but that didn't work either. So I think it might be the kernel. I tried to enable mount system rw on venom tweaks, but (as you can expect) that was reversed after a reboot
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
Viper changelog:
"ViperOne S 3.1.0
Fixed Gallery FC when trying to view images from MMS and other sources
Fixed statusbar icons for T-Mobile users
Fixed wrong color being applied when using overscroll tweak
Fixed image artifacting on some overscroll colors
Removed /system RW protection for S-On users (thanks to @flar2, S-On users will need to manually flash their appropriate boot.img found in /sdcard/downloads/ViperOneS_3.0.1_3.1.0.zip)
Removed Disable logcat tweak (caused GAPPS FC)"
I don't want to sound like a noob or something, but I already flashed boot.img when I flashed the Rom in the beginning. Do I have to flash it again just once or everytime I change a system settings?
Sent from my HTC One S using xda app-developers app
BoazCoenraad said:
I don't want to sound like a noob or something, but I already flashed boot.img when I flashed the Rom in the beginning. Do I have to flash it again just once or everytime I change a system settings?
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
I did not say you did anything wrong or be a noob. I just read the changelog and for me it seems as from version 3.10+ you should be able to R/W system.
But may be you just ask in the rom thread?
LS.xD said:
I did not say you did anything wrong or be a noob. I just read the changelog and for me it seems as from version 3.10+ you should be able to R/W system.
But may be you just ask in the rom thread?
Click to expand...
Click to collapse
Before I forget to mention, the problem occurs on other ROMS as well, but I'm gonna ask my question in the Viper section. Thanks in advance!
Have you just tried stock based roms? Or e.g. CM11 too. If its on all roms you should go back to stock once using the matching RUU. Keep in mind to change CID to original before run the RUU.
Sent from my loved HTC One S using (most time buggy) Tapatalk

Categories

Resources