If you have accidentally deleted build.prop for no reason you have no option but to reflash. Build.prop holds loads of technical data therefore sadly believing that root explorer made a .bak and finding its empty, your phone is screwed
EDIT: Use ADB (Android Debug Bridge) to copy original build.prop into your phone. You could also try creating an updater-script.
Sent from my GT-S5830 using XDA App
So please don't fiddle with build.prop unless you know what your doing
Sent from my GT-S5830 using XDA App
NO. I disagree. Use ADB (Android Debug Bridge) to copy original build.prop into your phone. You could also try creating an updater-script.
fla.sh said:
NO. I disagree. Use ADB (Android Debug Bridge) to copy original build.prop into your phone. You could also try creating an updater-script.
Click to expand...
Click to collapse
Fla.sh wins .
Forever living in my Galaxy Ace using XDA App
fla.sh said:
NO. I disagree. Use ADB (Android Debug Bridge) to copy original build.prop into your phone. You could also try creating an updater-script.
Click to expand...
Click to collapse
I was just about to say that... *lies*
Seny from my Android 2.3 SDK
But if your gonna delete it I don't think that newbie person would be happy doing it through ADB
Seny from my Android 2.3 SDK
if you find build.prop.bak empty, rename back to build.prop to see if it is still empty.
Jun Hong said:
if you find build.prop.bak empty, rename back to build.prop to see if it is still empty.
Click to expand...
Click to collapse
That would be difficult to do when your phone won't turn on
scoffyburito said:
That would be difficult to do when your phone won't turn on
Click to expand...
Click to collapse
Go to recovery, run adb, type "adb pull /system/build.prop.bak" to get build.prop.bak
fla.sh said:
Go to recovery, run adb, type "adb push /system/build.prop.bak" to get build.prop.bak
Click to expand...
Click to collapse
You mean pull
Sent from my GT-I9100 using XDA App
jun hong said:
you mean pull
sent from my gt-i9100 using xda app
Click to expand...
Click to collapse
yep. Thank you
scoffyburito said:
If you have accidentally deleted build.prop for no reason you have no option but to reflash. Build.prop holds loads of technical data therefore sadly believing that root explorer made a .bak and finding its empty, your phone is screwed
EDIT: Use ADB (Android Debug Bridge) to copy original build.prop into your phone. You could also try creating an updater-script.
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
let's say you have a backup of the file and you have TWRP. Could you restore it using the recovery?
Related
Hey
I would like to edit the default.prop of my device so I can use some Android debugging tools.
I know I need to change the file in the ramdisk, but I have no idea how to do this.
Can anyone help me with this?
Thanks!
Try a tool like Root Explorer to mount the folder read/write, then edit/save to your heart's content.
Thanks, but that wont work, as the file gets replaced every reboot by the original one
Sent from my GT-I9100 using xda premium
You need to modify the Ramdisk - split the kernel/boot image.
firefds said:
Thanks, but that wont work, as the file gets replaced every reboot by the original one
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Everytime you modify Default.prop it will create a .bak file. Just press back button and whoop back in again . You will see a Default.prop.bak just delete it before rebooting your device.
Hope it helps.
Thanks for your help.
I managed to do this by using this guide for preparing the environment:
http://forum.xda-developers.com/showthread.php?t=1186409
And this guide for unpacking and repacking the kernel:
http://forum.xda-developers.com/showthread.php?t=1294436
I want to edit the build.prop of my phone to add some lines, but i do not want to flash the rom all over again. If i just edit it through a file manager on my phone, will it take effect on the rom? or do i have to edit the build.prop in the .zip fil;e of the rom and flash it all over again?
Edit the Build.prop and then just restart your phone .
Sent from my GT-I9100 using xda app-developers app
okmijnlp said:
Edit the Build.prop and then just restart your phone .
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
same thing with any init scripts right? cuz i want to edit them too
evilcuber said:
same thing with any init scripts right? cuz i want to edit them too
Click to expand...
Click to collapse
Yep.
Sent from my GT-I9100 using xda app-developers app
evilcuber said:
same thing with any init scripts right? cuz i want to edit them too
Click to expand...
Click to collapse
You can edit stuff on the /system partition and they'll survive the device reboot, so go ahead edit /system/build.prop
This does not apply to stuff on the root partition, so you can not edit e.g. /init.rc in the same way and get any lasting change. The root partition is unpacked from flash every boot, restoring any edits you've done. I.e. the running root is only a copy in ram of the root file system from the flash image boot.img containing this plus the kernel. To change files here, you'll have to reflash your device.
It changed after i flashed my ROM
Recently i made a ROM and flashed it , i made many changes to build.prop but when i open it through es file explorer it is not showing those changes ! please help thanks
edit - save - and restart ur phone
Check that you don't have 2 build.prop files after installation
Hi GUys
I was using Ram Manager . I changed the Heap size to 128 Byte and Noow the phone is stuck on Boot Logo.
I'm rooted on Stock Firmware.
Please help, urgent
Did you backup?
Sent from my GT-I9300 using xda app-developers app
Try another kernel
Nandroid ftw!!
Sent from my GT-I9300 using xda premium
philicibine said:
Try another kernel
Nandroid ftw!!
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
No backup. I've not made any backup beacuse I'm stupid.
Please help; will Reset to factory setting help?
Boot into recovery, connect to your computer, open command prompt and type adb pull /system/build.prop
Edit the build.prop with notepad++ and fix the VM size, chances are that app set the VM size as 128 or 128mb instead of 128m which it should be.
Then once its fixed just adb push it back to /system/build.prop
Sent from my GT-I9300 using xda premium
nodstuff said:
Boot into recovery, connect to your computer, open command prompt and type adb pull /system/build.prop
Edit the build.prop with notepad++ and fix the VM size, chances are that app set the VM size as 128 or 128mb instead of 128m which it should be.
Then once its fixed just adb push it back to /system/build.prop
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I'm Really noob . Please tell how to :
Boot into Recovery?
How do I push adb ?
eggman89 said:
I'm Really noob . Please tell how to :
Boot into Recovery?
How do I push adb ?
Click to expand...
Click to collapse
Hold volume down, home button and power button together and it will boot into recovery.
I take it you don't have the android sdk on your computer? You need that to use adb.
If not then the easiest option is to factory reset, or maybe someone will make you a flashable zip that will replace your build.prop.
Sent from my GT-I9300 using xda premium
How do I :
"open command prompt and type adb pull /system/build.prop" .
Is it the windows Command Propmt?
If you have these questions you honestly shouldn't be messing with heap size.
Sent from my LG-E739 using Tapatalk 2
eggman89 said:
How do I :
"open command prompt and type adb pull /system/build.prop" .
Is it the windows Command Propmt?
Click to expand...
Click to collapse
Yes, that's it.
First type "adb devices" (no" ")
If you get a long serial number then adb is set up on your computer but I doubt it seeing as you are asking how to boot into recovery.
I take it you have a custom recovery?
If you give me a few mins I'll make you a flashable zip that will replace your build.prop, tell me what rom you are on
Sent from my GT-I9300 using xda premium
Lutin said:
If you have these questions you honestly shouldn't be messing with heap size.
Sent from my LG-E739 using Tapatalk 2
Click to expand...
Click to collapse
I know. I made a stupid mistake and I don't even know why I changed it?
How do I do factory reset?What will I lose?
nodstuff said:
Yes, that's it.
First type "adb devices" (no" ")
If you get a long serial number then adb is set up on your computer but I doubt it seeing as you are asking how to boot into recovery.
I take it you have a custom recovery?
If you give me a few mins I'll make you a flashable zip that will replace your build.prop, tell me what rom you are on
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Hi
I'm on stock LFB (Indian Version).
I am on CWM-based Recovery c5.5.0.4
nodstuff said:
Yes, that's it.
First type "adb devices" (no" ")
If you get a long serial number then adb is set up on your computer but I doubt it seeing as you are asking how to boot into recovery.
Click to expand...
Click to collapse
I get adb is not a recognized internal or external command.
I also deleted dalvik cache; but it didn't help
eggman89 said:
I get adb is not a recognized internal or external command.
I also deleted dalvik cache; but it didn't help
Click to expand...
Click to collapse
Get me a build.prop from that firmware and I'll make you a zip you can flash in cwm.
You'll find it in the system folder.
Sent from my GT-I9300 using xda premium
nodstuff said:
Get me a build.prop from that firmware and I'll make you a zip you can flash in cwm.
You'll find it in the system folder.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I'm unable to access filesystem
Let me ask someone?
eggman89 said:
I'm unable to access filesystem
Let me ask someone?
Click to expand...
Click to collapse
Download another one from samfirmware.com
I'm not downloading it for you.
Sent from my GT-I9300 using xda premium
nodstuff said:
Download another one from samfirmware.com
I'm not downloading it for you.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Yes. I'm already downloading it. It's about 800mb and it'll take about 36minutes more.
Once I get that I'll provide it to you.
Thanks a lot for the help
But how will I push the build.prop ?
nodstuff said:
Download another one from samfirmware.com
I'm not downloading it for you.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
he needs adb to push the zip to his mobile first.
bala_gamer said:
he needs adb to push the zip to his mobile first.
Click to expand...
Click to collapse
How do I get adb?
eggman89 said:
Yes. I'm already downloading it. It's about 800mb and it'll take about 36minutes more.
Once I get that I'll provide it to you.
Thanks a lot for the help
But how will I push the build.prop ?
Click to expand...
Click to collapse
man if you are downloading the full rom, better flash it via odin . job done. almost all the stock roms are non wipe
Hi is there a way to clean up these /0 directories who looks identical?
It add's an additional /0 directory in emulated every time I do a clean flash. Don't that use up my internal storage?
I'm using Temasek's cm 10.1 unofficial v83 + kernel but i don't think it has to do with the ROM
Is it safe to just delete these directories or is there any other way around this?
Sent from my GT-I9300 using xda premium
Klype said:
Hi is there a way to clean up these /0 directories who looks identical?
It add's an additional /0 directory in emulated every time I do a clean flash. Don't that use up my internal storage?
I'm using Temasek's cm 10.1 unofficial v83 + kernel but i don't think it has to do with the ROM
Is it safe to just delete these directories or is there any other way around this?
Click to expand...
Click to collapse
You need to upgrade your recovery application to the latest version to stop getting multiple /0 folders.
You only need one level of /0. And, yes you can delete the redundant levels. But make sure your files under the last level are copied to the sole remaining level.
/0 level came in with multi-user support in 4.2
Sent from my GT-I9300
BillGoss said:
You need to upgrade your recovery application to the latest version to stop getting multiple /0 folders.
You only need one level of /0. And, yes you can delete the redundant levels. But make sure your files under the last level are copied to the sole remaining level.
/0 level came in with multi-user support in 4.2
Sent from my GT-I9300
Click to expand...
Click to collapse
Thanks for answering
I've flashed cwmtouch 6.0.2.8 awhile ago and the levels of /0's stopped adding up.
I've copied all the files from the last levels to emulated/0.
Then i deleted the files from the last levels except one made by a rom i had several months ago. It can't seem to be deleted because of some elevated permissions. I've tried with several Explorer's with no luck.
How do I get around to change permissions or simply get rid of former systemfiles not in use anymore?
Sent from my GT-I9300 using xda premium
Klype said:
Thanks for answering
I've flashed cwmtouch 6.0.2.8 awhile ago and the levels of /0's stopped adding up.
I've copied all the files from the last levels to emulated/0.
Then i deleted the files from the last levels except one made by a rom i had several months ago. It can't seem to be deleted because of some elevated permissions. I've tried with several Explorer's with no luck.
How do I get around to change permissions or simply get rid of former systemfiles not in use anymore?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
You can try with philz recovery and aroma file manager inside the recovery, see first posts of thread.
and please search next time, this has been discussed way too much
Klype said:
Thanks for answering
I've flashed cwmtouch 6.0.2.8 awhile ago and the levels of /0's stopped adding up.
I've copied all the files from the last levels to emulated/0.
Then i deleted the files from the last levels except one made by a rom i had several months ago. It can't seem to be deleted because of some elevated permissions. I've tried with several Explorer's with no luck.
How do I get around to change permissions or simply get rid of former systemfiles not in use anymore?
Click to expand...
Click to collapse
Use terminal. Then remove the folder using the 'rm -rf' command. You may need to read up on this if you aren't familiar with Linux commands.
Sent from my GT-I9300
Back you files up to a PC, then boot to recovery and format /sdcard. That will remove all the 0/0/0/0/0/0 folders, then boot and copy your files back.
BillGoss said:
Use terminal. Then remove the folder using the 'rm -rf' command. You may need to read up on this if you aren't familiar with Linux commands.
Sent from my GT-I9300
Click to expand...
Click to collapse
Yes i might have to read up a bit on terminal commands if i should have a chance to use it...
Sent from my GT-I9300 using xda premium
Glebun said:
and please search next time, this has been discussed way too much
Click to expand...
Click to collapse
Actually i did search but didn't understand what to do and what to search for. Thats why i finally asked the question here in the Q n A section. The search motor in the android app is also really difficult to search with.
Sent from my GT-I9300 using xda premium
delsus said:
Back you files up to a PC, then boot to recovery and format /sdcard. That will remove all the 0/0/0/0/0/0 folders, then boot and copy your files back.
Click to expand...
Click to collapse
Thanks that's a good idea
At least it solve my problem for now till i learn more about using the terminal
Sent from my GT-I9300 using xda premium
Striatum_bdr said:
You can try with philz recovery and aroma file manager inside the recovery, see first posts of thread.
Click to expand...
Click to collapse
I flashed aroma file manager and it worked like a charm
Thanks for pointing me in this direction now everything works as it should :thumbup:
Sent from my GT-I9300 using xda premium
Klype said:
I flashed aroma file manager and it worked like a charm
Thanks for pointing me in this direction now everything works as it should :thumbup:
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
hi..
i have the same pb.. can u pls assist me how can u solve it..?
my sinternal storage is now storage\emulated\0
wbr..
t-mobile_mda said:
hi..
i have the same pb.. can u pls assist me how can u solve it..?
my sinternal storage is now storage\emulated\0
wbr..
Click to expand...
Click to collapse
Yes look here http://forum.xda-developers.com/galaxy-s3/general/info-flashed-4-2-sdcard-data-t2274218
How do i access /system of my rom on my computer ??
I want to change whole /system folder from another rom and es file explorer doesn't work for it !
Maybe someone can help me ?
invince2 said:
How do i access /system of my rom on my computer ??
I want to change whole /system folder from another rom and es file explorer doesn't work for it !
Maybe someone can help me ?
Click to expand...
Click to collapse
Es works. You need to go to settings-tools-root explorer-mount R/W and mount system as writeable
donkeykong1 said:
Es works. You need to go to settings-tools-root explorer-mount R/W and mount system as writeable
Click to expand...
Click to collapse
Did that...i wanted to replace the whole /system....and the phone crashes between the copying process...it cannot be done by es.
Need another method to do itfrom my laptop .
invince2 said:
Did that...i wanted to replace the whole /system....and the phone crashes between the copying process...it cannot be done by es.
Need another method to do itfrom my laptop .
Click to expand...
Click to collapse
Crash could happen because you don't have enough memory. I did it for some system files on my phone and it always worked fine. But I always deleted the files I wanted to replace first
donkeykong1 said:
Crash could happen because you don't have enough memory. I did it for some system files on my phone and it always worked fine. But I always deleted the files I wanted to replace first
Click to expand...
Click to collapse
i really need a solution to access that on my laptop !!
Someone help !
http://m.androidcentral.com/android-201-10-basic-terminal-commands-you-should-know
I would imagine adb would be your best option
Sent from my PG86100 using xda app-developers app
Oh GOD seriously?
Man you cannot replace the WHOLE system in any way except from recovery or bootloader...........NO ADB NO ES NOTHING will work.
ADB is feature that relies in the system of android. And when replacing the WHOLE system, the files needed for adb to work cannot change as they are in use, or if they change your phone will crash.
You can in no way change necessary system files while android is booted up beacause they are in use. Your whole operating system is in /system. Only recovery or bootloader will do.
mnomaanw said:
Oh GOD seriously?
Man you cannot replace the WHOLE system in any way except from recovery or bootloader...........NO ADB NO ES NOTHING will work.
ADB is feature that relies in the system of android. And when replacing the WHOLE system, the files needed for adb to work cannot change as they are in use, or if they change your phone will crash.
You can in no way change necessary system files while android is booted up beacause they are in use. Your whole operating system is in /system. Only recovery or bootloader will do.
Click to expand...
Click to collapse
I thought you could use adb in fastboot?
Then push the files
Sent from my PG86100 using xda app-developers app
hossman said:
I thought you could use adb in fastboot?
Then push the files
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
Im pretty sure you can't. ADB commands does not work in fastboot and vice-versa. ADB only works in Android environment AFAIK. Though you can use fastboot flash commands and not adb push....
Gotcha, thanks for clearing that up.:thumbup:
Sent from my HTCEVOV4G using xda app-developers app
What if i want to just replace some files ??
Is that possible ??
invince2 said:
What if i want to just replace some files ??
Is that possible ??
Click to expand...
Click to collapse
Yes, as long as they are not needed for the system to function properly. You can replace them with ES or Push them via ADB with root access.