Messeed up with build.prop..where to copy it in TWRP recovery? - Xperia Z3 Compact Q&A, Help & Troubleshooting

I changed some values in build.prop and they worked good.
I tried restoring the original build.prop to /system and it got copied but when i reboot my phone is caught in boot loop.
Every time this happened i used to go to TWRP recovery mode and restore the original ones and it used to get fine.
But this time it aint.
I tried it copying to /system but it copies and again same boot loops.
So how to recover??
I dont wanna loose my data as I havent backed it up.
PLZ HELP GUYS!!!!

nri_tech1183 said:
I changed some values in build.prop and they worked good.
I tried restoring the original build.prop to /system and it got copied but when i reboot my phone is caught in boot loop.
Every time this happened i used to go to TWRP recovery mode and restore the original ones and it used to get fine.
But this time it aint.
I tried it copying to /system but it copies and again same boot loops.
So how to recover??
I dont wanna loose my data as I havent backed it up.
PLZ HELP GUYS!!!!
Click to expand...
Click to collapse
so you are sure you have a good build.prop in system? so in /system/build.prop?
permissions are ok? just to be sure mount /system, then chmod 644 it and try again

moly82 said:
chmod 644 it and try again
Click to expand...
Click to collapse
WHat is chmod 644? and how to do that?

from twrp's file manager click on the file you want to chmod, select "chmod" then delete the "0000" and type instead "0644" and then GO
cheers

Related

HOWTO: Custom boot animations on NON-ROOTED phones.

You need adb working.
Download http://www.multiupload.com/SVHPN9AINF into your tools dir of your sdk (/home/jcase/android-sdk/tools/ - c:\android-sdk\tools\ something like that)
go to command line, and change your dir to the tools dir of your sdk
cd /home/jcase/android-sdk/tools - or something like that
run adb push
adb push bootanimation.zip /data/local/
reboot phone. This will override the boot animation in /system/media
Enjoy.
-jcase
yay! first post
and install. works. +1 rep.
Thanks Jcase will try when I get home
Any way to backup the original incase I would like to go back?
adb shell rm /data/local/bootanimation.zip will do it.
the boot process looks in /data/local/ THEN in /system/media. So, if you remove the one you put in /data/local, the original is STILL in /system/media, and is displayed.
Would this work for the Nexus boot animation as long as we change the name of the zip to bootanimation.zip ?
here's the link to the nexus one: sendspace.com/file/0qwx4v
why is it that enevthough I am rooted i get this error when attempting to copy to /system/media?
C:\Users\Derek\Documents\Droid root\android-sdk-windows\tools>adb push bootanimation.zip /system/media
failed to copy 'bootanimation.zip' to '/system/media/bootanimation.zip': Read-on
ly file system
mattoxic,
if its in the right format it should
derekm2j,
mount it as read/write
mount -o rw,remount /dev/block/mtdblock3 /system
or push to data/local
jcase said:
mattoxic,
if its in the right format it should
derekm2j,
mount it as read/write
mount -o rw,remount /dev/block/mtdblock3 /system
or push to data/local
Click to expand...
Click to collapse
thanks a million my linux is a little rusty. now why would it say no space left on device? I know I dont have to do it this way but the blasted thing is telling me no. Therefore, i want to do it this way.
Ok, this must be for 2.1. Cause I am on 1.5 and it will not work. I keep getting the same boot screen.
Chev, not rooted yet?
Nope, just a little chicken$hit. If there was a way to go back I would.
I have a way back to 1.5 if needed, but it doesnt replace the bootloader.
jcase said:
I have a way back to 1.5 if needed, but it doesnt replace the bootloader.
Click to expand...
Click to collapse
You have my attention .
I will post details
Where can I get different boot animations? I'm not sure if i like the Nexus one boot animation much.
Thank you! Works for me!
Question-
Can something like this be done for the Lockscreen?
Chevelle1768 said:
Any way to backup the original incase I would like to go back?
Click to expand...
Click to collapse
The original bootanimation.zip is under /system/media. You dont really need to back it up if you are doing this the non-root way. Just delete /data/local/bootanimation.zip to revert to the original boot animation.
jadesdan said:
Thank you! Works for me!
Question-
Can something like this be done for the Lockscreen?
Click to expand...
Click to collapse
Nope. Need r/w access to /system for that. Need root.
here's a great site with a ton of boot animations for this way
droidboots.com/downloads/boot-animations/
I'm using the nexus one now and it works great.

[Q] Overwrote playlogos1!

As I was following the guide to improve the galaxy's quadrant score, I messed on one of the lines and overwrote the playlogos1 file that was meant to be renamed to playlogosnow.
I'm currently running JM5; do I need a file from the same version or can I take it from something like froyo which I found?
Or will this require me to reflash, and is it safe to do so without the file?
you need this file only to play the startup animation. if you don't care for the animation you can just delete it or replace it with a script (as you did, i suspect?!).
anyway, you can take this file from any firmware to replace your's...
Ah damn. Just to be on the safe side as I had no idea of the file's importance, I've just finished reflashing the firmware to restore it.
Thanks anyway.
SYUNIXT said:
Ah damn. Just to be on the safe side as I had no idea of the file's importance, I've just finished reflashing the firmware to restore it.
Thanks anyway.
Click to expand...
Click to collapse
you'r welcome ... if you want to do the fix again:
the playlogos1 file ist just the binary that play's the animation. it will be started with root-permissions, so you can replace it to run custom commands as root. in our case we want it to
*) make the loop device and set it up
*) mount the ext2.data file
to make the fix permanent.
mine looks like (you have to make the ext2.data file, format it, copy the data and relink before!!!!):
busybox mknod /dev/loop0 b 7 0
busybox losetup /dev/loop0 /data/ext2.data
busybox mount -t ext2 -o noatime,nodiratime /dev/loop0 /data/ext2.data_mp
and if you want your sgs to play the startup animation. you have to rename playlogos1 to something else and start it from the script...got it?
but again, if the file is not there (eg. you deleted it) nothing bad will happen, you will just not see the animation. the sound will still play and everything else will be fine
Can anyone provide me with the playlogos1 file, or somewhere that I can get it? I updated my rom and it somehow was erased.
ayinyesh said:
Can anyone provide me with the playlogos1 file, or somewhere that I can get it? I updated my rom and it somehow was erased.
Click to expand...
Click to collapse
Try OCLF from the market - it used to have a restore playlogo script.
http://www.youtube.com/comment?lc=8KNWgMta4EvqAcKfdwk-z2flON7mZ3RxQDynukPTSjk
Fix boot screen after one click lag fix:
1: Download playlogosnow megaupload. com/?d=M1N9RFMM
2: place the file on your internal sd.
3: replace (copy past) the file using a root manager in /system/bin
4: reboot
Should have posted this in Q&A....
jodue said:
you need this file only to play the startup animation. if you don't care for the animation you can just delete it or replace it with a script (as you did, i suspect?!).
anyway, you can take this file from any firmware to replace your's...
Click to expand...
Click to collapse
You better not advice people to brick their phones. Missing playlogo1 causes your sgs wont boot because it freezes trying to load playlogos1. Thanks for the advice, now i have bricked phone.

Q. HELP (how to)make flashable zip of build.prop

i have been tried to edit build.prop,
got stuck at bootloop,
did that twice,
had to reflash JB Twice,
anyway to make build.prop flashable,
can i just move it to sdcard,
compress it to .zip
and apply update from external storage?
i dont want to flash firmware again and again,
help please.
mj111996 said:
i have been tried to edit build.prop,
got stuck at bootloop,
did that twice,
had to reflash JB Twice,
anyway to make build.prop flashable,
can i just move it to sdcard,
compress it to .zip
and apply update from external storage?
i dont want to flash firmware again and again,
help please.
Click to expand...
Click to collapse
For that we need custom recovery, like we had TWRP in GB. Developers are working on it, and soon we will have that. Meanwhile you can reflash whole firmware.
You can try to use zip file from Shaan's root. Just delete system/app, and system/bin, and put build.prop in system folder. But I am not sure if it will work this way.
I attached how I think it should work. If you got any more bootloops editing it, try it.
i cant,i dont have a pc,
i went to my frnd twice and flashed twice today,it feels bad to go to others house
all the time,
another guy sucessfully edit by solid explorer,
mine got bootloop when i tried by es explorer,
is that got smthng do with es explorer?
mj111996 said:
i cant,i dont have a pc,
i went to my frnd twice and flashed twice today,it feels bad to go to others house
all the time,
another guy sucessfully edit by solid explorer,
mine got bootloop when i tried by es explorer,
is that got smthng do with es explorer?
Click to expand...
Click to collapse
Maybe you better wait for custom recovery. With it would be lot easyer. You will have backup to restore.
I just tried it, it is not working because of signature.
Reboot phone In recovery mode, connect usb, run adb shell In PC:
su
mount -o remount system /system
cat /sdcard/build.prop > /system/build.prop
reboot
(Assuming u have a backup build.prop In /sdcard)
Sent from my GT-I9070 using xda app-developers app
i want to avoid
PC part
mj111996 said:
i want to avoid
PC part
Click to expand...
Click to collapse
Then you have to wait custom recovery.
@shut down,
now we have temp cwn,
can i flash build.zip of build.prop
which i compress by zarchiver?
mj111996 said:
@shut down,
now we have temp cwn,
can i flash build.zip of build.prop
which i compress by zarchiver?
Click to expand...
Click to collapse
I did not try, but I think you can. Just make it CWM compatibile. I have empty zip that is compatibile with TWRP, but I do not know if it is compatibile with CWM. I will try it later.
will wait for you to test
build.zip
mj111996 said:
will wait for you to test
build.zip
Click to expand...
Click to collapse
This CWM is buggy. When I press option install from SD - it refresh. I needed 3 times to push restart to get phone restarted. I am waiting for fully working CWM, and I will try then. I am not pushing my luck after problems with TWRP last time.
YES solid explorer works,
changed to S2,
RESOLVED
Use another .zip that extract things to system, if u replace files In the cwm zip it wont work because of the update-script inside
Sent from my GT-I9070 using xda app-developers app
what you mean exactly?
shut_down said:
For that we need custom recovery, like we had TWRP in GB. Developers are working on it, and soon we will have that. Meanwhile you can reflash whole firmware.
You can try to use zip file from Shaan's root. Just delete system/app, and system/bin, and put build.prop in system folder. But I am not sure if it will work this way.
I attached how I think it should work. If you got any more bootloops editing it, try it.
Click to expand...
Click to collapse
Man, you just saved my phone by this zip. Thank you
Hi, I know this is an old h thread but I'm pretty sure this will be handy to someone
Try this app for an easy way to make an update.zip It's still in beta but seems to be working fine on my N7100 so give it a go...
Zip.me can be found here (playstore)
Cheers

Changing boot animation on Android M Preview 3

I tried to change the boot animation, running M Preview 3, and despite the fact that the flash claims to have performed successfully, it did not. I'm trying to flash the Marvel boot from the Themes and Apps section, and I know the flashable file worked on 5.1.1. It didn't overwrite the bootanimation.zip in /system/media. At one point, I was able to manually move the file there myselfusing Root Explorer, but I did not realize that the /system partiton did not have enough space to hold the entire zip file, so it was a corrupted zip at that point, and now my boot animation is just "android" in gray lettering. I cleared up enough space to hold the entire zip file of the marvel boot, but now I cannot move the file there, ES File Explorer and Root Explorer simply say it failed to copy.
I just tried to use adb to push the zip file from my computer, but it fails because /system is a read-only file system. So, I tried to remount with a shell as read-write, after some initial issues with apparently /system/xbin/mount not working properly, it did remount as read-write when using /system/bin/mount. But, adb push still fails because /system is a read-only file system.
Code:
mount | grep system
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 rw,seclabel,relatime,data=ordered 0 0
But, as you can see, it's mounted as read-write.
I, also, just tried to move the file as root in an adb shell, with no luck. A bootanimation.zip shows up in /system/media, but apparently it is corrupt because I cannot open it with root explorer, or in Windows when I pull it. When I try to move the boot animation that I want, the shell reports that there is not sufficient space, which is true now. The bootanimation.zip takes up 40MB of the 55MB of free space in the /system partition. Any time I try to delete the zip, it is automatically recreated before I have a chance to move anything in it's place, even when I do:
Code:
rm /system/media/bootanimation.zip | mv /storage/emulated/0/Download/marvelboot/system/media/bootanimation.zip /system/media/bootanimation.zip
So, what am I missing? Is it even possible to change the boot animation on Android M? Am I doing something wrong, or not doing something I need to?
why flash it? its a boot animation.. extract it from the zip, then pkace the bootanimation.zip into /system/media/ then just reboot. thats all it takes.
edit.. i didnt read ypur whole post and realuze that yoh have other issues.
Yeah, I wish it was just as easy as flashing or moving the zip file to /system/media/... Normally it is, but with Android M there seems to be a problem?
cappiez said:
Yeah, I wish it was just as easy as flashing or moving the zip file to /system/media/... Normally it is, but with Android M there seems to be a problem?
Click to expand...
Click to collapse
no, no problem here. do you have full root? i mean do you have the ability to edit anything in /system/?
Everything seems fine according to root checker. And, if I make small changes to my build.prop (Just editing build.id), the changes stick after a reboot. Soooo.. Yes?
cappiez said:
Everything seems fine according to root checker. And, if I make small changes to my build.prop (Just editing build.id), the changes stick after a reboot. Soooo.. Yes?
Click to expand...
Click to collapse
so you fo have full root. i use root explorer to put animations into /system/meda/, havent had any issues. does that animation work on a n6?
It worked on 5.1.1. Since I moved to the M Preview 3 builds, it appears to have stopped working.
cappiez said:
It worked on 5.1.1. Since I moved to the M Preview 3 builds, it appears to have stopped working.
Click to expand...
Click to collapse
nope. im on m preview 3, and it works fine here.

How to move TWRP Backup to PC, permission required?

Dear Friends
I've been searching for infos about how to move TWRP folder to pc. My MIUI8 backup spend 5gb
Standard copy method doesnt work because of permission thing . Adb pull sdcard/TWRP in recovery also doesnt work. Permission change required.
How to change forlder permission? Or any idea how to copy the folder?
Thanks in advance.
Man, Just drag the folder on PC.... Use USB 2.0 not 3.0
Philb90 said:
Man, Just drag the folder on PC.... Use USB 2.0 not 3.0
Click to expand...
Click to collapse
that the first thing i did.
doesnt work
no file copied
ginjopowder said:
Dear Friends
I've been searching for infos about how to move TWRP folder to pc. My MIUI8 backup spend 5gb
Standard copy method doesnt work because of permission thing . Adb pull sdcard/TWRP in recovery also doesnt work. Permission change required.
How to change forlder permission? Or any idea how to copy the folder?
Thanks in advance.
Click to expand...
Click to collapse
same thing happening to me , my backup is of 9GB
?? someone help
Go the recovery (TWRP) and then try again to copy the data.
TWRP does mount the storage and you can then use the Windows Explorer to copy the data safely.
Should work.
elot01 said:
Go the recovery (TWRP) and then try again to copy the data.
TWRP does mount the storage and you can then use the Windows Explorer to copy the data safely.
Should work.
Click to expand...
Click to collapse
I did what you told , but my storage space insufficient to copy the backup.
But i have succeded copy the TWRP Back up by accident actually.
What i did , set the twrp folder to chmod 755 and enter then restart phone to recovery again.
TWRP came up and ask wether to keep system as read only or allow system modification.
I set allow , then connect to pc. And it works! Copy drag drop etc work as usual.
However I cannot manually see the TWRP setting for the read/write system... hmm
ginjopowder said:
I did what you told , but my storage space insufficient to copy the backup.
But i have succeded copy the TWRP Back up by accident actually.
What i did , set the twrp folder to chmod 755 and enter then restart phone to recovery again.
TWRP came up and ask wether to keep system as read only or allow system modification.
I set allow , then connect to pc. And it works! Copy drag drop etc work as usual.
However I cannot manually see the TWRP setting for the read/write system... hmm
Click to expand...
Click to collapse
how extactly did you chmod 755??
dkmsn8 said:
how extactly did you chmod 755??
Click to expand...
Click to collapse
it is inside TWRP>advance
and folder setting for /TWRP/Backups
button chmod 755
im wasn't sure this command did change permission or not , but when restart TWRP asked about file system setting.
ginjopowder said:
it is inside TWRP>advance
and folder setting for /TWRP/Backups
button chmod 755
im wasn't sure this command did change permission or not , but when restart TWRP asked about file system setting.
Click to expand...
Click to collapse
I did but twrp didn't asked anything ..
Edit: i can copy files to pc while device is booted into twrp

Categories

Resources