How do I edit the build.prop file?
I can't seem to edit the build.prop file (located at /system_root/system/build.prop on android 10)
I can only pull the file using adb however, I am unable to push it to the device and adb gives error as read only.
How can I edit this file?
I saw a few methods using file explorers but they all seem old and not working.
One solution others posted was to pull the build.prop file using adb, make edits and flash it using magisk.
If so how to make a flashable build.prop file?
I wish to add the below two lines to the build.prop file and save it so it would help me to enable the apn settings
as the default apn settings are not working for me.
ril.sales_code=LOL
ro.csc.sales_code=LOL
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There's no need to edit build.prop to set props (and there hasn't been for quite some time). You can do this with the MagiskHide Props module. No need to modify system at all.
bencozzy said:
You can also edit build.prop using franco kernel manager app
Click to expand...
Click to collapse
No, you can't, not on stock with dynamic partitions.
bencozzy said:
Have you tried it? I edited build.prop to add vowifi and it added vowifi settings after adding edits. So it does work but it's a systemless edit uninstall app and it goes away.
Click to expand...
Click to collapse
Then you're not actually editing build.prop. So of course yes, you can modify anything systemlessly. But you cannot write to system, which is what I thought you were suggesting.
So here's what i did:
ril.sales_code=LOL
ro.csc.sales_code=LOL
I flashed and added those 2 lines to magisk props instead of build.props and rebooted device which didn't help.
How do i know?
I checked with these adb commands
adb shell getprop ril.sales_code
adb shell getprop ro.csc.sales_code
The results should output "LOL"
But it didnt so nope!
I am going to try this franco kernel method, as it seems promising! I appreciate your help, also hope future twrp would help us edit this file!
I guess adding those 2 lines as said by others didn't help me to get the '+' button to add the APN settings yet. Is there any other way to enable the APN settings manual config?
kartikhm said:
So here's what i did:
ril.sales_code=LOL
ro.csc.sales_code=LOL
I flashed and added those 2 lines to magisk props instead of build.props and rebooted device which didn't help.
How do i know?
I checked with these adb commands
adb shell getprop ril.sales_code
adb shell getprop ro.csc.sales_code
The results should output "LOL"
But it didnt so nope!
I am going to try this franco kernel method, as it seems promising! I appreciate your help, also hope future twrp would help us edit this file!
Click to expand...
Click to collapse
You won't ever be able to do this in TWRP. Please read the TWRP thread FAQ (Post 3) to understand why.
Related
I wanna share about Activate CRT Animation on this forum
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Your HH has been rooted.
Go to system, there's build.prop
Tap and hold on the file. Then, Open in Text Editor.
*Don't forget to mount r/w system on right side.
Find :
debug.sf.hw=1
Give # into it
So, it can be like this :
#debug.sf.hw=1
Up next,
U need to decompile framework-res.apk with APKTOOL that u can download here
*Don't forget to backup your data, if there something that u don't want it happens
After u downloaded it, go extract it into a directory that u wanna, and name it APKTOOL.
Then, u use command prompt.bat file on the folder.
Type these commands :
apktool if framework-res.apk
apktool d framework-res.apk
After u decompiled it, u find bools.xml on folder res/value, u search line :
<bool name="config_animateScreenLights">true</bool>
Change true to false
<bool name="config_animateScreenLights">false</bool>
After u edited the data, u go back to operate command prompt.bat
Then, type :
apktool b framework-res
Have a look folder build.
U'll find file resources.arsc and other folders (Go to folder res, find file u edited).
Drag it into framework-res.apk
May this help ya!
CMIIW ^_^
Would this work on the incredible? Kind of a noob..sorry.
jksigmon said:
Would this work on the incredible? Kind of a noob..sorry.
Click to expand...
Click to collapse
I think it is.
Cause it's a base of activating
I tried to compile but, there isn't values folder.
Command Prompt shows:
W: Could not find sources.
And then compile files without it.
What i can do?
Unn113 said:
I tried to compile but, there isn't values folder.
Command Prompt shows:
W: Could not find sources.
And then compile files without it.
What i can do?
Click to expand...
Click to collapse
do u use Linux OS?
and use terminal?
I use Windows 7 and also don't see any values folder. In fact no such folder exists in the original .apk file either.
It seems whatever is in value folder being saved into resourses.arsc file
[email protected] said:
I use Windows 7 and also don't see any values folder. In fact no such folder exists in the original .apk file either.
It seems whatever is in value folder being saved into resourses.arsc file
Click to expand...
Click to collapse
value folder can be found in res folder.
Like on this picture :
and build folder (results of compiled apk) like this :
I am trying to do this for stock rom on Froyo.
There is no line called <bool name="config_animateScreenLights">false</bool> in Bool.xml, can I just add it?
Also, can you help me understand what to do after I rebuild? Which folders or files to do I need? How do I add it back to framwork-res.apk?
Thank you!
I've been wanting to use Xposed for so long, but I was waiting for a easy click and done root method. Now that there is one for 4.4.2 on Verizon Moto X, I rooted and went to install xposed. I'm either getting a failure to get root, can't access write (which both could be that this is a temp no write root), or recently an i/o issue.
Post exact error messages, preferably in screenshots if you want anyone to try to assist you.
You should read through the FAQ threads pinned to the top of this section first though, as most common problems have already been addressed in them.
Sorry. Thought I should..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Have you verified that you have root? Try Root Checker.
If you have root, you should try mounting /system as R/W with a root enabled file browser like ES file explorer.
If either of those things fail, you should ask around in your device specific forum, as it's not a problem with the Xposed installer.
If you have a custom recovery, you can also install the Xposed framework with that. Just change the install method in the installer.
kingvortex said:
Have you verified that you have root? Try Root Checker.
If you have root, you should try mounting /system as R/W with a root enabled file browser like ES file explorer.
If either of those things fail, you should ask around in your device specific forum, as it's not a problem with the Xposed installer.
If you have a custom recovery, you can also install the Xposed framework with that. Just change the install method in the installer.
Click to expand...
Click to collapse
How do I do it with ES? I turned on the root part, but not sure what to after that, dosen't like theres any recent tutorials. I tried a Mount System R/W app, and it said it work, but same i/o error with Xposed installer. Guess I'll head over to the Moto X forum.
TechTinker said:
How do I do it with ES?
Click to expand...
Click to collapse
Click "Root Explorer" in the same spot where you enabled it (but don't click the toggle), then a little window will pop up. Click "Mount R/W" toward the bottom, then the RW bubble next to "/system." Click OK.
Hi!
I used a few days with much pleasure the Huawei MediaPad X1, imported from HK.
Framework I use on my Galaxy Note 2 beaucou with satisfaction. But can not be installed on the X1.
Here are two screenshot, albeit in French.
If someone has an idea, thank you in advance.
Note that I've ticked the box to accept the unknown sources.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Try this version (FAQ, post #7):
http://forum.xda-developers.com/showthread.php?p=52292102
Also make sure to read post #8 once you install the framework successfully, since you're using a Huawei device.
Ok I'll see it in effect. Thank you
EDIT
I don't know how to disable the resources API in the Xposed Installer settings.
And content of Number 8 link is not reassuring. I would not make fatal error or transform my new toy in gasworks.
HI, look the shot,
Files already exists.
Fone rooted???
Ask here
Xposed FAQ / Known issues
elpabar said:
Ok I'll see it in effect. Thank you
EDIT
I don't know how to disable the resources API in the Xposed Installer settings.
And content of Number 8 link is not reassuring. I would not make fatal error or transform my new toy in gasworks.
Click to expand...
Click to collapse
Open the Xposed installed, go to "Settings" and tap "Disable resource hooks".
blogodoblogodo said:
...
Fone rooted???
...
Click to expand...
Click to collapse
As I said, I used it on my Galaxy Note 2.
GermainZ said:
Open the Xposed installed, go to "Settings" and tap "Disable resource hooks".
Click to expand...
Click to collapse
Thanks! I checked this box, and it makes no difference unfortunately.
elpabar said:
I checked this box, and it makes no difference unfortunately.
Click to expand...
Click to collapse
Did you try installing the framework via your (custom) recovery?
Never tried it, and am not very comfortable with the recovery mode.
I do not even know operate on this model which button during startup.
Hi, I use 7d-504l.
I succed to be enable to activate xposed .
For Xposed Framework ver2.5.1 limited.
I use su ,onboot script by SManager as,
#!/system/bin/sh
mount -o rw,remount /system
chattr -i -R /system
rm /system/set_immutable.list
chattr -i /system/buld.prop
chattr -i /system/bin/app_process
chattr -i /system/bin/app_process.orig
I confirmed to work the latest version of GravityBox,Xblast,advanced power management7.0a.
Sent from my MediaPad X1 7.0
I correct , because of build.prop misspelled.
#!/system/bin/sh
mount -o rw,remount /system
chattr -i -R /system
rm /system/set_immutable.list
chattr -i /system/build.prop
chattr -i /system/bin/app_process
chattr -i /system/bin/app_process.orig
Like the title says, where is the TWRP backup location? When using a file explorer I don't have the folder for TWRP, I wanted to move the backup off my phone but can't access it.
stevew84 said:
Like the title says, where is the TWRP backup location? When using a file explorer I don't have the folder for TWRP, I wanted to move the backup off my phone but can't access it.
Click to expand...
Click to collapse
TWRP seems to be tricky on the Moto X. Boot into recovery and mount it from there, and then you should be able to see the folder from your computer.
Sent from my iPhone 6 using Tapatalk
stevew84 said:
Like the title says, where is the TWRP backup location? When using a file explorer I don't have the folder for TWRP, I wanted to move the backup off my phone but can't access it.
Click to expand...
Click to collapse
/data/media/0/TWRP/BACKUPS
Do you know why it saves the backups in there? Some apps like Nandroid can't find its path, do you know how to solve it, mate?
Copy the twrp folder at data/media/0/TWRP to storage/emulated/0/TWRP and change permissions to chmod 777 (rwxrwxrwx)
skulldreamz said:
Copy the twrp folder at data/media/0/TWRP to storage/emulated/0/TWRP and change permissions to chmod 777 (rwxrwxrwx)
Click to expand...
Click to collapse
What should i do to change the permission, please?
fhreire said:
What should i do to change the permission, please?
Click to expand...
Click to collapse
You can use the command line in a shell or use a app like root explorer, long press on the folder and you will see permissions in the list, go into there and change accordingly
skulldreamz said:
You can use the command line in a shell or use a app like root explorer, long press on the folder and you will see permissions in the list, go into there and change accordingly
Click to expand...
Click to collapse
Tried that but the app couldn't change the permissions.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
Image enhancement files are missing from Lollipop firmware...
Install Instructions
1) Download attached file.
2) Extract 4 files in /system
3) Set RW- R-- R-- permissions for all of them
4) Move 4 files to system/etc
5) Reboot
Screenshots
No image enhancement
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
X-Reality
Super Vivid
Thanks bro @niaboc79 :good:
Is it compatible with Unlocked bootloader ?
EmilRahimzade said:
Is it compatible with Unlocked bootloader ?
Click to expand...
Click to collapse
just try !
Delete
RocketSauce83 said:
I wonder if they forgot those files from Z2 lollipop.
Click to expand...
Click to collapse
we have it now right ?
stop complaining or ask Sony why they forgot it
Delete
RocketSauce83 said:
Naah...i'm not complaining just wondering bro
Click to expand...
Click to collapse
aaah oke is cool bro, well we have it now
Delete
Hmm can't mount /system rw with root-explorer... ??
Why is this missing?
I can't change the read write permissions even though my file browser has root access..
thanks man,,, nice work
Jiyeon90 said:
I can't change the read write permissions even though my file browser has root access..
Click to expand...
Click to collapse
You have to move the files to system/etc first, and then change the permissions after. Worked for me at least.
pattsy said:
Hmm can't mount /system rw with root-explorer... ??
Click to expand...
Click to collapse
Maybe because you have no root acces?
19bjk03 said:
You have to move the files to system/etc first, and then change the permissions after. Worked for me at least.
Click to expand...
Click to collapse
Somehow its working now, thanks
Do we have a root problem?
-I can't mount system with root explorer.
-AdAway can't make any changes to the hosts file
-ES File Explorer force closes
-Link2SD can't uninstall the SuperSU app
-Can't make any changes to the build.prop (I want the NFC icon back)
Not working for me
Not working, i follow all the steps but i dont see the difference.
Please make an installer
so.. is it works with unlocked BL?
sh4d1t0 said:
so.. is it works with unlocked BL?
Click to expand...
Click to collapse
No