system and root - General Questions and Answers

hello
i need to ask
if i moved an app to system partition do it will stilll need the root permotion or the app become a system means it have the permition ??
thanx in advance

thebiggboss180 said:
hello
i need to ask
if i moved an app to system partition do it will stilll need the root permotion or the app become a system means it have the permition ??
thanx in advance
Click to expand...
Click to collapse
I cant clearly get U.
Anyway..
1. If it's an ordinary app,
U'll need root permissions in case if u want to uninstall it.
2. If u mean it as an app that requires root to work on things,
Then root permission is required even if it is a system app.
Hit thanks rather than typing it now Free

thebiggboss180 said:
hello
i need to ask
if i moved an app to system partition do it will stilll need the root permotion or the app become a system means it have the permition ??
thanx in advance
Click to expand...
Click to collapse
first you need root permission to move apps from data partition to system partition, once you made it as system app it gets root access automatically because system partition user id and group id is 0 that means root. so it has full access
infact all files inside system folder are in userid 0 so all apps get root permission without any restrictions and it will not ask you to give root permission
---------- Post added at 02:05 PM ---------- Previous post was at 02:03 PM ----------
thebiggboss180 said:
hello
i need to ask
if i moved an app to system partition do it will stilll need the root permotion or the app become a system means it have the permition ??
thanx in advance
Click to expand...
Click to collapse
have a look at this thread http://forum.xda-developers.com/showthread.php?t=2535953 i made to know user id and group id i mentioned
its about updater-script

pradeepxtremehacker said:
first you need root permission to move apps from data partition to system partition, once you made it as system app it gets root access automatically because system partition user id and group id is 0 that means root. so it has full access
infact all files inside system folder are in userid 0 so all apps get root permission without any restrictions and it will not ask you to give root permission
---------- Post added at 02:05 PM ---------- Previous post was at 02:03 PM ----------
have a look at this thread http://forum.xda-developers.com/showthread.php?t=2535953 i made to know user id and group id i mentioned
its about updater-script
Click to expand...
Click to collapse
that what i thught about system apps
and i didnt understand about updater-scripts...i got a tablet and i dont want it to soft brick while trying cuz i dont have a stock software of it
thanx anyway

Related

[Resolved] Titanium Backup saying not enough space

I've flashed a new ROM and restored the app from Google Play.
Among them, Titanium Backup and it's Pro key.
First I've saw the error "not enough free storage".
Then uninstalled both the app and the key. Reinstalled.
Wipe dalvik cache and cache...
Nothing works more.
I can install but it always shown Version Pro (donation) - Thank you! but I cannot backup anything.
P.S. I do not have an .odex file in system\data folder (as suggested in other threads).
What can I do?
Technical said:
I've flashed a new ROM and restored the app from Google Play.
Among them, Titanium Backup and it's Pro key.
First I've saw the error "not enough free storage".
Then uninstalled both the app and the key. Reinstalled.
Wipe dalvik cache and cache...
Nothing works more.
I can install but it always shown Version Pro (donation) - Thank you! but I cannot backup anything.
P.S. I do not have an .odex file in system\data folder (as suggested in other threads).
What can I do?
Click to expand...
Click to collapse
Find the solution: http://forum.xda-developers.com/showpost.php?p=45457317&postcount=14
tobymacfreak said:
Follow these steps to fix...
1.) Open Preferences and choose backup folder location
2.) Select Detect and choose whole device
3.) Choose the option /storage/emulated/legacy
4.) Select Use the current folder
5.) Benefit
Click to expand...
Click to collapse
Thanks xda forum.
Technical said:
Find the solution: http://forum.xda-developers.com/showpost.php?p=45457317&postcount=14
Thanks xda forum.
Click to expand...
Click to collapse
having the same issue, but not being given the option to select a different directory..
faaaaq said:
having the same issue, but not being given the option to select a different directory..
Click to expand...
Click to collapse
It's on the TB Preferences: Backup location.
Technical said:
It's on the TB Preferences: Backup location.
Click to expand...
Click to collapse
yes, thats where i was, but it did not detect the legacy location and give me that option like it normally does. Tried editing the post after I figured it out, but I had to wait 5 minutes then didnt care any more lol. In the screen where you select to scan or use current, the back button goes up a level in the directories, so I just had to manually navigate to the proper location
Do for me the job!
https://play.google.com/store/apps/details?id=nextapp.sdfix&hl=en_GB
Why not use root?
Vincho said:
Do for me the job!
https://play.google.com/store/apps/details?id=nextapp.sdfix&hl=en_GB
Click to expand...
Click to collapse
Sadly This did not help me either. It's a root app — why not use root power to write to the SD card?
---------- Post added at 03:26 PM ---------- Previous post was at 02:49 PM ----------
Technical said:
What can I do?
Click to expand...
Click to collapse
Several fixes have suggested so far and different fixes have helped different people. So here an additional option wich migth help.
I moved the backup folder from it's previous location to /storage/B3EC-1310/Android/data/com.keramidas.TitaniumBackup/Backup using adb shell which is a lot faster then using a file manager which moves every file in a directory separately.
The B3EC-1310 is the ID of the SD card which will be different for every SD card.
Then I changed the location in Titanium Backup itself as well. That works for now but is still not perfect. I guess I need to change from the AOKP rom to a rom which does not protect the SD card.
AtlanDaGonozal said:
Sadly This did not help me either. It's a root app — why not use root power to write to the SD card?
---------- Post added at 03:26 PM ---------- Previous post was at 02:49 PM ----------
Several fixes have suggested so far and different fixes have helped different people. So here an additional option wich migth help.
I moved the backup folder from it's previous location to /storage/B3EC-1310/Android/data/com.keramidas.TitaniumBackup/Backup using adb shell which is a lot faster then using a file manager which moves every file in a directory separately.
The B3EC-1310 is the ID of the SD card which will be different for every SD card.
Then I changed the location in Titanium Backup itself as well. That works for now but is still not perfect. I guess I need to change from the AOKP rom to a rom which does not protect the SD card.
Click to expand...
Click to collapse
if i may know, what makes it imperfect? is there something bothering you during backup / restore?
and one more thank you for your help, its solution for me

[Q] Titanium Backup not working on 4.4.2

I tried backing up from Titanium Backup, but whatever I tried, it kept complaining about insufficient space.. Tried changing the backfolder to either /storage/0/TitaniumBackup and /storage/legacy/TitaniumBackup, but it still failed. Had to resort to backupping to a USB-OTG stick..
Any settings I need to change or something?
May be you bro, I tried it on my N5, 4.4.2 and I had no issue. I'm assuming you do have plenty of space? You have 6.1.4.3 running?
jackpollard said:
May be you bro, I tried it on my N5, 4.4.2 and I had no issue. I'm assuming you do have plenty of space? You have 6.1.4.3 running?
Click to expand...
Click to collapse
4.something GB free.. Even trying to backup a single app fails. Checking settings shows that every TitaniumBackup-folder is Write-protected...
Latest version
Humm, plenty of space. I checked mine and my files are being stored on; /storage/emulated/legacy/titaniumbackup. Let me know if I can check any settings for you, sorry I could not help more.
---------- Post added at 05:25 PM ---------- Previous post was at 05:22 PM ----------
I checked my folder for TB and it shows DRW, I think and I could be wrong, that means the owner can read/write. Are you using a different profile?
jackpollard said:
Humm, plenty of space. I checked mine and my files are being stored on; /storage/emulated/legacy/titaniumbackup. Let me know if I can check any settings for you, sorry I could not help more.
Click to expand...
Click to collapse
Think I found the problem, permissions on that folder was effed up some how, couldn't even delete the folder, had to delete it from TWRP.. Trying now again!
Yeah, I think you got it.
The_Hamster said:
Think I found the problem, permissions on that folder was effed up some how, couldn't even delete the folder, had to delete it from TWRP.. Trying now again!
Click to expand...
Click to collapse
Did you manage to solve your problem...? I am having the exact same issues right now, could you please tell m e what/if your fix was? I was able to delete the Titanium Backup folder from/storage/emulated/0 But now as I cannot make a backup it can't make a new folder and I no longer have a backup folder location, even if i make a folder via Root Explorer it still can't detect it....
thanks
Edit Device: Galaxy S5 Rom: Alliance v5.3 Android version 4.4.2

[Q] "Couldnt capture screenshot"

Here's one for you boys,
Successfully rooted .77, LB on D6653 (thanks to zombiej79). Everything's running smoothly except for Screenshots. I get the "Content may be protected or the memory may be full" every time. Now some may think this isn't a big issue but i screenshot almost 20 times a day. its a major buzzkill.
Before you ask it's not while running an app its even on my homescreen/lockscreen. I've tried the following with no success:
- Downloading third party screenshot app with SU access
- Manually deleting the Pictures folder and sceenshots folder then recreating
- Wiping Change/Dalvik Cache
- Re-setting permissions in Recovery
If anyone has any idea's besides re-flashing it'd be greatly appreciated. If flashing is the only way can someone direct me to a guide on how to do it without re-rooting and downloading all my apps etc.
Just a thought have you flashed latest relese recovery? Maybe a r/w problem get root browser and try and set system to r/w see if it works
zombiej79 said:
Just a thought have you flashed latest relese recovery? Maybe a r/w problem get root browser and try and set system to r/w see if it works
Click to expand...
Click to collapse
Yeah! 2.8.1 nut's dual recovery? I've tried the whole r/w and no success.
The weird thing is I can't seem to delete the Pictures folder. It just comes back instantly every time after a refresh and I can't make another one (it doesn't tell me i can't it just disappear/reappears after i create/delete it), which makes me assume its the permissions, but all other r/w features work perfectly.
Do you save them to internal or sd?
---------- Post added at 11:46 PM ---------- Previous post was at 11:46 PM ----------
Im not a dev by any means lol but I know enough to get by
---------- Post added at 11:57 PM ---------- Previous post was at 11:46 PM ----------
Have you tried going to recovery and wiping cache?
---------- Post added 2nd February 2015 at 12:04 AM ---------- Previous post was 1st February 2015 at 11:57 PM ----------
Ok try this downkoad this app and install and run grant root and reboot then try screenshot again
---------- Post added at 12:04 AM ---------- Previous post was at 12:04 AM ----------
https://play.google.com/store/apps/details?id=nextapp.sdfix
https://play.google.com/store/apps/details?id=com.icecoldapps.screenshotultimate
Try this too sre if it can capture the screen
Okay the SD card fix did nothing, it's telling me everything already has the permissions. As for the screenshot app it worked, because it didn't save in the default location (/sdcard/pictures/screenshots) it saved in it's own app folder. Which brings me back to the fact I have no permissions in my internal storage. is their a way to change the Sony default screenshot save location?
It honestly has me stumped. Everytime i try to manually delete the folder @ sdcard/Pictures/Screenshots it will instantly re-create both folders it's self with a time stamp of 30/4/1970 and be non-writable.
Try settin your date and time manualy reboot and see what happens. Been trying to find something to help but not really sure. The folder have these permissions?
Only other thing I can think is reflash the. 77 zip dont wipe see if that corrects it. Wont lose any data that way
zombiej79 said:
Try settin your date and time manualy reboot and see what happens. Been trying to find something to help but not really sure. The folder have these permissions?
Click to expand...
Click to collapse
Solved.
So, I've narrowed it down to all Stock Xperia folders i can't change permissions or don't have permissions. Weird. but I've worked around it. I couldn't change/delete/rename or modify the folders without them suddenly re-appearing. But the system let me cut/move them (strange i know). so I've completely moved all folders to a trash folder and re-created new ones. and Bam. it works.
Here's a screenshot of my fully rooted working phone. Wish i could pay ya back for your efforts mate thanks!
Awesome man glad you got it worked out. No worries just happy to help thats how a Z3 should look

[Q] Is it possible to remove Bloatware with CWM Recovery ?

I need to buy a Chinese phone and add gapps on it. No problem to do it since I can flash gapps package from CWM Recovery (custom one...) without rooting my phone...
I would like to know if there is any way to remove Bloatware with CWM (or other custom recovery) ?
Since Custom recovery have root access, it should be possible to remove anything unwanted, this without having to root the ROM itself... I am right?
All thread I have found recommends to...
Root, use application like Titanium Backup to do the clean and finally unroot (if root is not wanted)
or
Disable application from "Application management" menu...
I can't use first solution because AirWatch (Mandatory in our company) will not work anymore (Device compromised) even after Full unroot from SuperSu (I made the test) and I don't like the second solution (keeping the bloatware on the phone even if disabled)…
Any idea ? Thanks in advance and sorry if this topic as already been discussed... I didn't find it!
You can make a flashable zip to remove bloatware
utsha.saha.58 said:
You can make a flashable zip to remove bloatware
Click to expand...
Click to collapse
Thanks but honestly speaking I have no idea how to do that...
Any help, sample or link will be appreciated even if I will search on my side.
FredFromShanghai said:
Thanks but honestly speaking I have no idea how to do that...
Any help, sample or link will be appreciated even if I will search on my side.
Click to expand...
Click to collapse
I found it : http://forum.xda-developers.com/showthread.php?t=1721680
Thanks for the clue, I will dig this way!
Read this command " delete("/system/app/calendar.apk"); "
Add this command in your updater script and make a flashable zip with that updater script. Flashing it will delete the calendar app. Add more delete command lines in the updater script to remove those boalt wares
---------- Post added at 12:21 PM ---------- Previous post was at 12:20 PM ----------
Delete("/system/app/calendar.apk");
---------- Post added at 12:23 PM ---------- Previous post was at 12:21 PM ----------
If you need more help regarding this feel free to ask!
Thanks utsha.saha.58 !
One more question...
To get an apk list I want to first make a flashable zip with something equivalent to "dir *.apk>c:\AllApk.tx" in DOS in order to get a txt file on my SD card...
Then I can just copy and past all I want remove and create a list of delete command in a second flashable zip.
Do you know how to do that? Or is there some application that can do the trick ?
I just now remembered a better idea, download aroma file manager, flash it via cwm and delete anything you want! It's a file manger for recovery mode
Works great! Thanks!
Awesome
it will be big help

[Q] Out of space when trying install certain apk.

My problem is when im trying ito install certain apk like blackmart, manga rock, and show box, this out of space problem happen. But i cn install certain apk also like coc, mango and other apk. I have done all solution in the web like delete odex file, clear cache of download manager. but in my app data folder doesnt even hv any odex file.
.
so did anyone hv any solution for this?
kuroneko95 said:
My problem is when im trying ito install certain apk like blackmart, manga rock, and show box, this out of space problem happen. But i cn install certain apk also like coc, mango and other apk. I have done all solution in the web like delete odex file, clear cache of download manager. but in my app data folder doesnt even hv any odex file.
.
so did anyone hv any solution for this?
Click to expand...
Click to collapse
why dont you uninstall apps instead of clearing the cache and stuff, it isnt necessary in this matter
well i already delete a ton of app from 500mb app like world of warrior. i already delete and transfer all vid and pic from phone storage into memory card storage. stil cnt get it done
kuroneko95 said:
well i already delete a ton of app from 500mb app like world of warrior. i already delete and transfer all vid and pic from phone storage into memory card storage. stil cnt get it done
Click to expand...
Click to collapse
Try downloading it from some other site and see if it works.
If you are rooted, clean dalvik cache
well i already clear dalvk cache using lucky patcher. and i already download the apk from different site and its main site. but still the problem occur. any idea?
In that case, uninstall google play, Google play services, and delete "hosts" from system/etc directory.
---------- Post added at 10:56 AM ---------- Previous post was at 10:55 AM ----------
Then again normally install play store and services, and make them system app
---------- Post added at 10:56 AM ---------- Previous post was at 10:56 AM ----------
Hope that will work
i already do this step today using lucky patcher but too bad the problem still occur. i cnt install certain app only. really need the blackmart app for somthing just afraid this problem occur in future which will prevent me from download really importnt app.
.
still thanx everyone whobreply. just hoping theres some solution about it.
Did you ever figure this out?
Best way is to clear your cache

Categories

Resources