[Q] build.prop disappearing after reboot - Xperia Z Q&A, Help & Troubleshooting

I've attempted to do a search but yielded no results...
I attempted to modify build.prop but of course, being the noob that I am, forgot to change permissions and got my Xperia Z into a boot loop...
Now the catch is this - I've tried pushing a stock build.prop through adb and also using the file manager in TWRP to move the correct (stock) build.prop in /system. However, the bootloop still continues, and booting into recovery shows that the build.prop file has disappeared from the directory every time I reboot. I've tried the process a few times and it doesn't work. I did change permissions to 0644 after copying build.prop to /system, and I've also tried doing a factory reset, restoring the nandroid (without the build.prop, somehow it's not in the backup) and then pushing build.prop through both adb and the inbuilt file manager. It shows up, but my phone continues to be in a bootloop while booting into recovery shows that the whole build.prop file is gone.
I'm on stock firmware .233, rooted.
Anyone could provide any help or solutions to this problem? My goal is to restore without losing any data... Thanks in advance for any help!

Flash a stock FTF with Flashtool with no wipes. You'll have to root again, but your phone should then at least boot.
Sent from my C6603

Related

[Q] Stuck on Bootscreen

Hi,
I'm using Jellaxy ROM and I think there's something wrong that makes my phone stuck on bootscreen.
I noticed my ROM is having an issue with some services called 'netd', which using too many CPU usage, so I have to kill the process using Terminal Emulator everytime my phone feels laggy. It works but I have to do that multiple times on single day.
So I think if I just move the 'netd' files from /system/bin to another folder (in this case, /system), my phone won't be able to run it. And yes it works, but here's comes the next problem, when I try to reboot it, my phone stuck on CW bootscreen. I have solved it for the first time, I boot into CWM recovery, and run ADB through my computer to move the file back to its original folder. My phone had successfully reboot, problem solved and I move the file back again.
And today, I decided to reboot my phone after copy the file back to /system/bin folder, but it stuck on bootscreen again. I've tried to re-copy again, but now it seems my phone won't let me access its /system folder via ADB. I've tried to using Aroma File Manager but the result is the same.
Please help, and sorry for the long post.
EDIT : I've solved it by choosing "Fix Permissions" in CWM.

[Q] -viperboy- HTC One Disable system rw flash fail

Just got HTC One launch day.
Immediately began work on rooting the phone. Installed TWRP and got root access for the most part, but found that this did not give rw access to the system partition.
Found viperboy's post regarding this issue. When I tried to flash the zip file "Sprint_One_Root_Disable_System_RW_Protection.zip" the phone rebooted. After, SuperSU was no longer installed nor was su for root access. TWRP is now no longer able to flash anything at all. The phone still works fine but I seem to be back to ground zero.
Just hoping someone else has encountered this.
- Update -
Upon further exploring I found that all the files were pushed to the android system and that the su file still exists in /system/xbin/, but There is no longer permission to run said command. I tried manually re-pushing all the files but no change.
It seems if anything (even TWRP) tries to access the system partition the phone reboots.

Build.prop, stuck in boot screen

Hello guys, i need a little help.
I was looking for some tutorial to unlock dev cameras on my xt1225. I found one tutorial and he said to edit Build.prop, i'm noob at this, so I downloaded a file manager and entered in /system/, copied build.prop for backup, and edited the original build.prop. I restarted my phone and now i'm stuck in the boot screen.
I don't know for what reason but ADB (properly configured) does not show any device connected to the PC so I can't use the commands adb pull and adb push.
I have tried copy the backup of build.prop and overwrite the modified one, but no sucess (I did it in TWRP file manager)
I'm using XT1225 5.0.2 Stock ROM.
Edit: So, i tried to change his permissions (or think that i tried, in twrp filme manager with chmod command,), now the phone runs the boot animation and turn black, before he did not do it, before he just stuck in the white screen with motorola logo. (Tried chmod 644, 755, 777)
Sorry for bad english.
Neblue said:
Hello guys, i need a little help.
I was looking for some tutorial to unlock dev cameras on my xt1225. I found one tutorial and he said to edit Build.prop, i'm noob at this, so I downloaded a file manager and entered in /system/, copied build.prop for backup, and edited the original build.prop. I restarted my phone and now i'm stuck in the boot screen.
I don't know for what reason but ADB (properly configured) does not show any device connected to the PC so I can't use the commands adb pull and adb push.
I have tried copy the backup of build.prop and overwrite the modified one, but no sucess (I did it in TWRP file manager)
I'm using XT1225 5.0.2 Stock ROM.
Edit: So, i tried to change his permissions (or think that i tried, in twrp filme manager with chmod command,), now the phone runs the boot animation and turn black, before he did not do it, before he just stuck in the white screen with motorola logo. (Tried chmod 644, 755, 777)
Sorry for bad english.
Click to expand...
Click to collapse
I don't know about the chmod command, but the TWRP "Fix Permissions" does not work with our current (old) version of TWRP. It just messes up the phone.
1) since you have TWRP, did you make a back-up? If so, restore that. Problem solved.
(If no back-up, why not? That's one of the reasons we use TWRP, so we can restore a good backup when we screw something up.)
2) If you have TWRP, that means your bootloader is unlocked. GOOD.
Boot back into recovery, reflash your ROM. Problem solved.
Reboot, make sure everything is OK, then make a TWRP back-up!
EDIT: OOPS. I see you are using stock 5.0.2, not custom ROM. OK, I hope you made a backup. See #1.
There may be other solutions but all the ones I find seem to involve pushing new files to your phone and you say you can't do that...
______
Also in our version of TWRP, if you wipe cache do NOT attempt it from the "install" prompt (There's an option there to wipe cache. Ignore it.) Only wipe Cache from the "Wipe" section/Advanced Wipe/checkmark Cache and Dalvik Cache. (Even though we use ART, habits die hard.)
OK, I restored a backup following your thread, but before, searching for a solution, I formated the cache/data partition from f2fs to ext4 (so dumb), there's a way to undo it? There's no f2fs wipe option in twrp, I think I'll need to wait to a new version of twrp? Or flashing with rsd lite will do it?
Everything is working fine.
Thanks for your answer.
Sent from my XT1225 using XDA Free mobile app
Neblue said:
OK, I restored a backup following your thread,
Everything is working fine.
Thanks for your answer.
Click to expand...
Click to collapse
Glad your phone is back up and running! Aren't you glad you made a back-up?
Not sure about the F2Fs stuff. I haven't messed with it.
Yes, I agree we need a newer version of TWRP. I would gladly donate money toward to the developer!

Edited build.prop and stuck in boot loop

I made a minor adjustment to my build.prop file, and when I reboot my phone, it is stuck in a boot loop. I tried to re-flash the rom that I use, but its still in the boot loop. Is there a simple way to manually edit the build.prop file using adb? I have the backup I took of my phone on my computer, but it doesn't look like any of the files contained are accessible to pull the default build.prop file out to sideload. I tried restoring my backup, but I'm getting an error saying it cant restore. Any ideas? FYI I am rooted and unlocked.
**Update** SOLVED. Installed a new rom using TWRP instead of MOFO.

Edited build.prop and now stuck in boot loop

I made a minor adjustment to my build.prop file, and when I reboot my phone, it is stuck in a boot loop. I tried to re-flash the rom that I use, but its still in the boot loop. Is there a simple way to manually edit the build.prop file using adb? I have the backup I took of my phone on my computer, but it doesn't look like any of the files contained are accessible to pull the default build.prop file out to sideload. I tried restoring my backup, but I'm getting an error saying it cant restore. Any ideas? FYI I am rooted and unlocked.
**Update** SOLVED. Installed a new rom using TWRP instead of MOFO.

Categories

Resources