persmission editing - General Questions and Answers

Anyway to edit system file permission without root? ADB or something?

aviranx said:
Anyway to edit system file permission without root? ADB or something?
Click to expand...
Click to collapse
This is the meaning of rooting the device

Related

How to remove system APP?

ROM 12.15.15 (SU1-15) + ROOT
i'm DELETE many apk in system/app and system/vendor - OK
After rebooting all returns
Astap said:
ROM 12.15.15 (SU1-15) + ROOT
i'm DELETE many apk in system/app and system/vendor - OK
After rebooting all returns
Click to expand...
Click to collapse
you have to delete them in bootloader
ceelos218 said:
you have to delete them in bootloader
Click to expand...
Click to collapse
how? where?
Astap said:
ROM 12.15.15 (SU1-15) + ROOT
i'm DELETE many apk in system/app and system/vendor - OK
After rebooting all returns
Click to expand...
Click to collapse
Wrong place to post questions dude.. Anyways have you rooted using jcase's method? Then reboot to your bootloader and enter recovery which will boot into android with (system RW ) so u can delete the stuff u dont want and then just normally reboot again... this time your changes should stay.
Gundabolu SC said:
Wrong place to post questions dude.. Anyways have you rooted using jcase's method? Then reboot to your bootloader and enter recovery which will boot into android with (system RW ) so u can delete the stuff u dont want and then just normally reboot again... this time your changes should stay.
Click to expand...
Click to collapse
I forgot the commands on there can briefly put a sample command line like
adb erase note.apk or something thanks in advance.
flacco40 said:
I forgot the commands on there can briefly put a sample command line like
adb erase note.apk or something thanks in advance.
Click to expand...
Click to collapse
I eventually made differently
TotalCommander + ADB plugin + Device mount SYSTEM in Safestrap recovery mod :good:

ApkMultiTool

Anybody know how to change the destination folder when installing the modified apk?
wileout said:
Anybody know how to change the destination folder when installing the modified apk?
Click to expand...
Click to collapse
What do you mean exactly?
Are you installing using a flashable zip or the application?
A flashable zip is the easiest way so you can edit the installer script to place it in whatever directory you wish.
I never use the apk tools themselves for installing.
You can also boot to recovery and mount system.
Then from terminal, EX:
Code:
adb push MyCoolMod.apk /system/app
Let me know if that helps, or if you need more info, or are deadset on using that app to install and we can go from there.
santod040 said:
What do you mean exactly?
Are you installing using a flashable zip or the application?
A flashable zip is the easiest way so you can edit the installer script to place it in whatever directory you wish.
I never use the apk tools themselves for installing.
You can also boot to recovery and mount system.
Then from terminal, EX:
Code:
adb push MyCoolMod.apk /system/app
Let me know if that helps, or if you need more info, or are deadset on using that app to install and we can go from there.
Click to expand...
Click to collapse
I was trying to use the tool to push iy becaude i cant get adb to push it at all...but the tool keeps trying to push it to data/app or something like that and i need it to go to system/priv-app
ok tried adb pushing it again and no go even doing it with your command. any ideas?
wileout said:
ok tried adb pushing it again and no go even doing it with your command. any ideas?
Click to expand...
Click to collapse
My bad, forgot a slash, try it again.
Code:
adb push MyCoolMod.apk /system/priv-app/
santod040 said:
My bad, forgot a slash, try it again.
Code:
adb push MyCoolMod.apk /system/priv-app/
Click to expand...
Click to collapse
I did that man it just restarts adb like i put in a bad command or it says cannot stat blah blah blah file or directory not found
Ive had tigerstown tryin to help me out too and he has no idea whats going on
well got adb to push it but I lost my clock widget all together lol
wileout said:
well got adb to push it but I lost my clock widget all together lol
Click to expand...
Click to collapse
Using stock data cable? Had that be a problem on other devices when pushing files.
Sent from my HTC6525LVW using Tapatalk
wileout said:
well got adb to push it but I lost my clock widget all together lol
Click to expand...
Click to collapse
You need to do:
adb remount /system rw
adb push test.apk /system/priv-app
jsaxon2 said:
You need to do:
adb remount /system rw
adb push test.apk /system/priv-app
Click to expand...
Click to collapse
Do i replace test with the name of the file?
wileout said:
Do i replace test with the name of the file?
Click to expand...
Click to collapse
Yes sir.
You also need to have the file in your adb directory and start the command prompt from there.
There are other ways to do it, but this should work for you.
jsaxon2 said:
Yes sir.
You also need to have the file in your adb directory and start the command prompt from there.
There are other ways to do it, but this should work for you.
Click to expand...
Click to collapse
I got the widget back by going into the priv-app folder and clicking it and installing it but now it force closes so im assuming its something on my end with how it was signed and stuff
wileout said:
I got the widget back by going into the priv-app folder and clicking it and installing it but now it force closes so im assuming its something on my end with how it was signed and stuff
Click to expand...
Click to collapse
After you push to the /system/priv-app folder, did you reboot? That should have installed it for you. Might also be a permissions problem. Make sure the permissions on your file are the same as the permissions on the rest of the files in that folder.
jsaxon2 said:
After you push to the /system/priv-app folder, did you reboot? That should have installed it for you. Might also be a permissions problem. Make sure the permissions on your file are the same as the permissions on the rest of the files in that folder.
Click to expand...
Click to collapse
Ok ill try that...thanks for your help ill report back
jsaxon2 said:
After you push to the /system/priv-app folder, did you reboot? That should have installed it for you. Might also be a permissions problem. Make sure the permissions on your file are the same as the permissions on the rest of the files in that folder.
Click to expand...
Click to collapse
Tried that and im still getting force closes so its something on my end im assuming

B581 Root?

Is there anyway to root B581 for model L09C432
Which twrp need and where and how do that
Thanks for all help
www.facebook.com/groups/huaweifanclub
Use my Guide: https://forum.xda-developers.com/ma...s-root-nxt-t3619766/post72618844#post72618844
Boosik said:
Use my Guide: https://forum.xda-developers.com/ma...s-root-nxt-t3619766/post72618844#post72618844
Click to expand...
Click to collapse
Why i cant change anything with root explorer?i grant access but cant change from read only to write mode i cant edit build.prop i try build.prop editor and grant access but anyway cant edit
www.facebook.com/groups/huaweifanclub
blinkt88 said:
Why i cant change anything with root explorer?i grant access but cant change from read only to write mode i cant edit build.prop i try build.prop editor and grant access but anyway cant edit
www.facebook.com/groups/huaweifanclub
Click to expand...
Click to collapse
Well it is systemless root, you can't change system files directly and still pass SafetyNet. For what purpose you need to edit build.prop?
Boosik said:
Well it is systemless root, you can't change system files directly and still pass SafetyNet. For what purpose you need to edit build.prop?
Click to expand...
Click to collapse
I want edit build.prop for double tap for wake i want add line in build.prop
www.facebook.com/groups/huaweifanclub
blinkt88 said:
I want edit build.prop for double tap for wake i want add line in build.prop
www.facebook.com/groups/huaweifanclub
Click to expand...
Click to collapse
Try terminal emulator and write this (replace prop_name and prop_value with what you need):
/data/magisk/resetprop prop_name prop_value
blinkt88 said:
I want edit build.prop for double tap for wake i want add line in build.prop
www.facebook.com/groups/huaweifanclub
Click to expand...
Click to collapse
Did you try my script here that you install via TWRP?
franzyroy said:
Did you try my script here that you install via TWRP?
Click to expand...
Click to collapse
Is this work on L09C432B581 or only on chines AL10 model
Does i just flash via twrp?or need do any wipe or something
blinkt88 said:
Is this work on L09C432B581 or only on chines AL10 model
Does i just flash via twrp?or need do any wipe or something
Click to expand...
Click to collapse
It should work. At work, you will not have any problems.
Just flash it via TWRP.

How I can add my app permissions need it to system/etc/permissions

Hi All
I put my app in system/priv-app but when I run it in first time it show permissions request popup
I read some post and understand we can using xml in system/etc/permissions but I can't know how
anyone know how ??
ahmad_sbaih said:
Hi All
I put my app in system/priv-app but when I run it in first time it show permissions request popup
I read some post and understand we can using xml in system/etc/permissions but I can't know how
anyone know how ??
Click to expand...
Click to collapse
Did you change the folder and apk permissions the same way as other once?
-Hope- said:
Did you change the folder and apk permissions the same way as other once?
Click to expand...
Click to collapse
I don't think I understand you, you mean if I move my app to priv-app that mean all permissions have allow automatically
that is not happen for me because my app need administration permission and when I move it still request to change it manually from setting security
ahmad_sbaih said:
I don't think I understand you, you mean if I move my app to priv-app that mean all permissions have allow automatically
that is not happen for me because my app need administration permission and when I move it still request to change it manually from setting security
Click to expand...
Click to collapse
What happens is
In priv-app
You must change permissions manually
-Hope- said:
What happens is
In priv-app
You must change permissions manually
Click to expand...
Click to collapse
How can I do that
ahmad_sbaih said:
How can I do that
Click to expand...
Click to collapse
Here
Permissions must be set as follows
(First pic for permissions of folder
2nd for permissions of the apk

build.prop

I think I messed something up, can you share build.prop file please?
How is it possible you request the build.prop file if you need to be a root user to be able to modify it, and the Mate 30 Pro has the bootloader blocked?
You cant exit the build prop file, retrack what you did to what files.
luisvalino said:
How is it possible you request the build.prop file if you need to be a root user to be able to modify it, and the Mate 30 Pro has the bootloader blocked?
Click to expand...
Click to collapse
You can use ADB to pull buildprop file out to your PC via this command: adb shell getprop > yourbuildpropname.txt

Categories

Resources