Crash Detected cycling - Xperia Z2 Q&A, Help & Troubleshooting

Hi.
I have edit this file /system/build.prop
and reboot the phone..
And now the phone not start up..
Is crash i boot up.. over and over .. :crying:
I still have 1st copy of /system/build.prop.
Is it possible to copy that file in flash mode or fastboot mode?
//

postgardh said:
Hi.
I have edit this file /system/build.prop
and reboot the phone..
And now the phone not start up..
Is crash i boot up.. over and over .. :crying:
I still have 1st copy of /system/build.prop.
Is it possible to copy that file in flash mode or fastboot mode?
//
Click to expand...
Click to collapse
Do you have TWRP installed?

V4LKyR said:
Do you have TWRP installed?
Click to expand...
Click to collapse
No. :crying:

Is usb debugging enabled? Should be able to adb push build.prop /system or something.
Update:
Have a look here http://developer.android.com/tools/help/adb.html#issuingcommands
Sent from my D6503 using Tapatalk

postgardh said:
No. :crying:
Click to expand...
Click to collapse
Well, let me tell you what your mistake is.
You should have changed the permissions of build.prop file aswell... After finished modifiying it.
If you had TWRP, you could've done it so easily.

Related

[RECOVERY][BETA] [TESTERS NEEDED]TWRP 2.3.3.0 touch recovery [2013-1-11]

Disclaimer: Do only if you know what you are doing. I am not responsible for any damage although there is no possible damage with this
Click to expand...
Click to collapse
Hello all, just wished to compile TWRP for this phone and I have done that
But I don't own this phone and need someone of you to test it
Click here to Download
Instructions(needs root):
Install Terminal emulator
Put the recovery.img in external storage
Open terminal emulator and type following
Code:
su
dd if=/storage/extSdCard/recovery.img of=dev/block/mmcblk0p21
If recovery doesn't work and gives you a black screen then you can revert back to stock recovery by replacing recovery.img with stock one and sending in same commands
Reserved for future use
Thanks for this!
Is there a way to install this if someone isnt rooted? (eg. via ODIN)
quendil said:
Thanks for this!
Is there a way to install this if someone isnt rooted? (eg. via ODIN)
Click to expand...
Click to collapse
Yes there is
In terminal of Linux on ur pc do this
tar -H ustar -c recovery.img > recovery.tar
Then do
md5sum -t recovery.tar >> recovery.tar
Then rename the recovery.tar formed to recovery.tar.md5 and flash it under PDA tab in ODIN
Or wait for me to do it, I will be home after some hours
varun.chitre15 said:
Yes there is
In terminal of Linux on ur pc do this
tar -H ustar -c recovery.img > recovery.tar
Then do
md5sum -t recovery.tar >> recovery.tar
Then rename the recovery.tar formed to recovery.tar.md5 and flash it under PDA tab in ODIN
Or wait for me to do it, I will be home after some hours
Click to expand...
Click to collapse
Did you setup the wifi modules to get built inside recovery?
Enviado desde mi GT-I8190 usando Tapatalk 2
If you want to do this on phone, then replace the tar line with
tar cf /storage/extSdCard/recovery.img > /storage/extSdCard/recovery.tar
And md5 line with
md5sum -t /storage/extSdCard/recovery.tar >> /storage/extSdCard/recovery.tar.md5
And flash the recovery.tar.md5 in Odin
Terminal Emulator say's :
#su
#ge/extSdCard/recovery.img/ of=dev/block/mmcblk021/storage/extSdCard/recovery.img/ : cannot open for read
: Not a directory
#
OliverG96 said:
Did you setup the wifi modules to get built inside recovery?
Enviado desde mi GT-I8190 usando Tapatalk 2
Click to expand...
Click to collapse
No I have skipped that, will do it next build if this doesn't work.
cheech01 said:
Terminal Emulator say's :
#su
#ge/extSdCard/recovery.img/ of=dev/block/mmcblk021/storage/extSdCard/recovery.img/ : cannot open for read
: Not a directory
#
Click to expand...
Click to collapse
Oops I did a mistake over there
It should be
dd if=/storage/extSdCard/recovery.img of=dev/block/mmcblk0p21
Not
dd if=/storage/extSdCard/recovery.img/ of=dev/block/mmcblk0p21
The trailing backslash is causing the problem.
varun.chitre15 said:
Oops I did a mistake over there
It should be
dd if=/storage/extSdCard/recovery.img of=dev/block/mmcblk0p21
Not
dd if=/storage/extSdCard/recovery.img/ of=dev/block/mmcblk0p21
The trailing backslash is causing the problem.
Click to expand...
Click to collapse
Thank's but not working,Phone will not start after this Test is Still on the Samsung Galaxy S3 mini GT-i8190 Bootlogo.
cheech01 said:
Thank's but not working,Phone will not start after this Test is Still on the Samsung Galaxy S3 mini GT-i8190 Bootlogo.
Click to expand...
Click to collapse
Ok, will do another build today
cheech01 said:
Thank's but not working,Phone will not start after this Test is Still on the Samsung Galaxy S3 mini GT-i8190 Bootlogo.
Click to expand...
Click to collapse
Give me output of
cat proc/cmdline in terminal emulator app
Another thing, when it is stuck on logo, adb pull recovery.log from /cache/recovery/tmp
Like this
adb pull /cache/recovery/tmp/recovery.log Path/where/u/want/to/pull
And gimme the recovery.log.
varun.chitre15 said:
Give me output of
cat proc/cmdline in terminal emulator app
Another thing, when it is stuck on logo, adb pull recovery.log from /cache/recovery/tmp
Like this
adb pull /cache/recovery/tmp/recovery.log Path/where/u/want/to/pull
And gimme the recovery.log.
Click to expand...
Click to collapse
The phone does not boot further stays the logo stand, Nothing helps more. New Rome flashed helps not.
Don't use this !!!!!
cheech01 said:
The phone does not boot further stays the logo stand, Nothing helps more. New Rome flashed helps not.
Don't use this !!!!!
Click to expand...
Click to collapse
Cant you enter download mode?
And if you can enter download mode, doesnt ODIN work to flash an official ROM?
quendil said:
Cant you enter download mode?
And if you can enter download mode, doesnt ODIN work to flash an official ROM?
Click to expand...
Click to collapse
Yes i can enter Download Mode...... i am Downloading Now Offical Rom i hope it's Work
cheech01 said:
Yes i can enter Download Mode...... i am Downloading Now Offical Rom i hope it's Work
Click to expand...
Click to collapse
Cool then. I hope it works for you!
cheech01 said:
Yes i can enter Download Mode...... i am Downloading Now Offical Rom i hope it's Work
Click to expand...
Click to collapse
It has nothing to do with system partition and system should boot
And if still isn't booting then reflashing system partition and recovery partition via ODIN should work.
As I said in disclaimer this is only for advanced users. Soft bricking is nothing new in development, its normal when you are testing something.
If you guys need development to proceed you need to take risks. So only test when you know what you are doing, its completely your own responsibility. That's a unwritten rule of xda now.
varun.chitre15 said:
It has nothing to do with system partition and system should boot
And if still isn't booting then reflashing system partition and recovery partition via ODIN should work.
As I said in disclaimer this is only for advanced users. Soft bricking is nothing new in development, its normal when you are testing something.
If you guys need development to proceed you need to take risks. So only test when you know what you are doing, its completely your own responsibility. That's a unwritten rule of xda now.
Click to expand...
Click to collapse
Ofc it's understood!
:good:
And we're thankful for your efforts!
cheech01 said:
The phone does not boot further stays the logo stand, Nothing helps more. New Rome flashed helps not.
Don't use this !!!!!
Click to expand...
Click to collapse
you can use Ns pro box to write one special file into the phone,and the phone will be fine.good luck
Very quiet but I just did not Accused. Did you just say that the phone will not start after the (your) recovery. Is a beta test, and if what I write is not true is not es.did not Accused.Ok!

[Q] Sony Xperia P stuck at Sony logo

Hello guys,
I will try to explain my problem in few points. I was trying to flash my phone with CM11 and the steps I took are:
1. flashed kernel using fastboot (boot.img)
2. wiped data, cache etc.
3. noticed I forgot to copy CM11 to internal memory
4. the phone can't boot and I'm unable to copy data, it stucked at Sony logo
5. I can't recover it as I wiped all data
6. tried to flash it with stock rom using flashtool, but the green light turn on only for about 2 sec and then the red one appears/ the same with fastboot purple led
7. I can still enter CWM, but I don't know how it could help
dominictrance said:
Hello guys,
I will try to explain my problem in few points. I was trying to flash my phone with CM11 and the steps I took are:
1. flashed kernel using fastboot (boot.img)
2. wiped data, cache etc.
3. noticed I forgot to copy CM11 to internal memory
4. the phone can't boot and I'm unable to copy data, it stucked at Sony logo
5. I can't recover it as I wiped all data
6. tried to flash it with stock rom using flashtool, but the green light turn on only for about 2 sec and then the red one appears/ the same with fastboot purple led
7. I can still enter CWM, but I don't know how it could help
Click to expand...
Click to collapse
very easy,just flash the original kernel for your current ROM.
Then it should boot
Ben Ling said:
very easy,just flash the original kernel for your current ROM.
Then it should boot
Click to expand...
Click to collapse
It's not that easy. I can't flash it because both flashmode or fastboot aren't working.
dominictrance said:
It's not that easy. I can't flash it because both flashmode or fastboot aren't working.
Click to expand...
Click to collapse
don't use flashtool,use the fastboot tools and open command, type the letters i mentioned just now.
Sent from my Nexus 7 using XDA Premium 4 mobile app
Ben Ling said:
don't use flashtool,use the fastboot tools and open command, type the letters i mentioned just now.
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Also tried that. I connected usb cable while kepping pressed volume up key and typed in command line 'fastboot flash boot boot.img and it keep saying < waiting for device >.
Is there a way to upload kernel or whole rom to internal memory when the phone is bricked?
dominictrance said:
Also tried that. I connected usb cable while kepping pressed volume up key and typed in command line 'fastboot flash boot boot.img and it keep saying < waiting for device >.
Is there a way to upload kernel or whole rom to internal memory when the phone is bricked?
Click to expand...
Click to collapse
Extract the zip http://d-h.st/vvJ
Put your boot.img in the extracted folder
Open command in that folder
and type the command
hold volume up while you are connecting your phone to pc
Ben Ling said:
Extract the zip
Put your boot.img in the extracted folder
Open command in that folder
and type the command
hold volume up while you are connecting your phone to pc
Click to expand...
Click to collapse
Still the same. The purple led appears for just 2 seconds and then the red one.
dominictrance said:
Is there a way to upload kernel or whole rom to internal memory when the phone is bricked?
Click to expand...
Click to collapse
Can you upload or do anything with a brick other than to use it as a brick?
Try this http://d-h.st/9Pw
ChikeD said:
Can you upload or do anything with a brick other than to use it as a brick?
Try this
Click to expand...
Click to collapse
I can't, that's why I asked.
The problem is that the phone do not enter flash or fastboot mode so I'm unable to upload kernel or rom using these methods.
dominictrance said:
I can't, that's why I asked.
The problem is that the phone do not enter flash or fastboot mode so I'm unable to upload kernel or rom using these methods.
Click to expand...
Click to collapse
It sure does, what do you think "Device connected in flash mode" means?
Try it
The problem is now solved as I tried flashing it on another computer.
Thank you all for your help.

push file from PC to device on recovery mode?

I have Huawei P6,
It stop booting at logo MIUI (so not possible to use IHM root file manager).
I would like to push a file from my PC to the device (Huawei P6 U06) using ADB Shell in recovery mode.
Push file to device mains push file to /system of device.
Does someone has steps guide or tools to do this?
LikeM8 said:
I have Huawei P6,
It stop booting at logo MIUI (so not possible to use IHM root file manager).
I would like to push a file from my PC to the device (Huawei P6 U06) using ADB Shell in recovery mode.
Does someone has steps guide or tools to do this?
Click to expand...
Click to collapse
Which custom recovery and version do you have installed? I would recommend taking a look at this guide here and following it up through step 10. Let me know if you still have questions.
shimp208 said:
Which custom recovery and version do you have installed? I would recommend taking a look at this guide here and following it up through step 10. Let me know if you still have questions.
Click to expand...
Click to collapse
Thanks Shimp for your time.
custom recovery is TWRP v2.6.3.3
The goal is to remove TWRP recovery by a stock one to perform an update with dload/UPDATE.APP from SDCARD.
To do this I would like to copy the file recovery-from-boot.p file in /system device to remove TWRP when boot to recovery mode.
As I said, the phone stope to boot at MIUI logo (error from TWRP E: unable to mount '/cache').
Sideload failed!
LikeM8 said:
Thanks Shimp for your time.
custom recovery is TWRP v2.6.3.3
The goal is to remove TWRP recovery by a stock one to perform an update with dload/UPDATE.APP from SDCARD.
To do this I would like to copy the file recovery-from-boot.p file in /system device to remove TWRP when boot to recovery mode.
As I said, the phone stope to boot at MIUI logo (error from TWRP E: unable to mount '/cache').
Sideload failed!
Click to expand...
Click to collapse
I apologize @LikeM8 for the delay in getting back to you somehow this thread got lost in the shuffle. In the guide I linked I would recommend using that to get ADB access in recovery going that way you can copy the file recovery-from-boot.p to your device, don't worry about the sideload part only use it to get ADB access in recovery mode :good:.
shimp208 said:
I apologize @LikeM8 for the delay in getting back to you somehow this thread got lost in the shuffle. In the guide I linked I would recommend using that to get ADB access in recovery going that way you can copy the file recovery-from-boot.p to your device, don't worry about the sideload part only use it to get ADB access in recovery mode :good:.
Click to expand...
Click to collapse
No problem @shimp208 thanks for your reply. Where I have to copy recovery-from-boot.p ? Where I could be find the stock file for my Huawei P6 U06? Regards!
LikeM8 said:
No problem @shimp208 thanks for your reply. Where I have to copy recovery-from-boot.p ? Where I could be find the stock file for my Huawei P6 U06? Regards!
Click to expand...
Click to collapse
You can get the stock recovery for your device from this thread here, also you won't even need to use recovery-from-boot.p as you can boot your device into fastboot mode to flash the stock recovery.
shimp208 said:
You can get the stock recovery for your device from this thread here, also you won't even need to use recovery-from-boot.p as you can boot your device into fastboot mode to flash the stock recovery.
Click to expand...
Click to collapse
Thanks for the link @shimp208, but when I flash these stock recovery from fastboot, I still again TWRP 2.6.3.3!!! Help please!!!
I thought I broke my maghine and order new one. Recovery SDcsrd works
LikeM8 said:
Thanks for the link @shimp208, but when I flash these stock recovery from fastboot, I still again TWRP 2.6.3.3!!! Help please!!!
Click to expand...
Click to collapse
Hello again @LikeM8 sorry again for the delay caused by my final exams (still in progress for the next two weeks), you can get the stock ROM for your device here in the index thread from the stock rom you can pull recovery-from-boot.p and attempt to install the stock recovery.
shimp208 said:
Hello again @LikeM8 sorry again for the delay caused by my final exams (still in progress for the next two weeks), you can get the stock ROM for your device here in the index thread from the stock rom you can pull recovery-from-boot.p and attempt to install the stock recovery.
Click to expand...
Click to collapse
Thanks @shimp208...pull recovery-from-boot.p from stock ROM??? Did you mean, I have to pull recovery-from-boot.p fill using adb (recovery mode)?
LikeM8 said:
Thanks @shimp208...pull recovery-from-boot.p from stock ROM??? Did you mean, I have to pull recovery-from-boot.p fill using adb (recovery mode)?
Click to expand...
Click to collapse
What I meant was put the stock ROM on your computer unpack and it and extract the from it then push recovery-from-boot.p from your computer to your phone, then re-flash stock recovery.
shimp208 said:
What I meant was put the stock ROM on your computer unpack and it and extract the from it then push recovery-from-boot.p from your computer to your phone, then re-flash stock recovery.
Click to expand...
Click to collapse
Ok @Shimp2008, I try and lets you know. Thanks for your time!
shimp208 said:
What I meant was put the stock ROM on your computer unpack and it and extract the from it then push recovery-from-boot.p from your computer to your phone, then re-flash stock recovery.
Click to expand...
Click to collapse
hello @shimp208, stock ROM I find in the page are dload/UPDATE.APP form, not zip file to unpack.
I have yet recovery-from-boot.p file. When from recovery and adb shell I put it on /system, after reboot, the recovery-from-boot.p file was been delete by the device???
What I did wrong or I have to perform to keep recovery-from-boot.p file in /system directory after reboot?
PS: Before operation, I perform "mount -o remount,rw /system"
LikeM8 said:
hello @shimp208, stock ROM I find in the page are dload/UPDATE.APP form, not zip file to unpack.
I have yet recovery-from-boot.p file. When from recovery and adb shell I put it on /system, after reboot, the recovery-from-boot.p file was been delete by the device???
What I did wrong or I have to perform to keep recovery-from-boot.p file in /system directory after reboot?
PS: Before operation, I perform "mount -o remount,rw /system"
Click to expand...
Click to collapse
TWRP may be overwriting the file on it's own, another possibility would be to follow the directions for the stock recovery flashing i linked to earlier and seeing if only fastboot booting the stock recovery image will let you re-flash the stock ROM.

Root Access on Miui 8.1 Global rom without Volume up Key

Hi Guys,
I'm trying to add root access to my Miui 8.1 global rom but my volume up key doesn't work so I can't go into recovery to do this. Does anyone know of another way?
Much appreciated
Assuming your TWRP image file is named TWRP.img and it's in your current directory, try
Code:
fastboot boot TWRP.img
That should reboot your device reading the image from your PC.
Make any adjustment to the above command according to your twrp image file name.
This just installs TWRP which I've already done. I need to be able to boot into it.
rndm said:
This just installs TWRP
Click to expand...
Click to collapse
That should be
Code:
fastboot [B]flash recovery[/B] TWRP.img
Did you try before replying?
rndm said:
This just installs TWRP which I've already done. I need to be able to boot into it.
Click to expand...
Click to collapse
Have you tried through adb (adb reboot recovery)?
ser.clansman said:
Have you tried through adb (adb reboot recovery)?
Click to expand...
Click to collapse
How do I do that?
gnazio said:
That should be
Code:
fastboot [B]flash recovery[/B] TWRP.img
Did you try before replying?
Click to expand...
Click to collapse
Thanks for the reply...when you say "that" what exactly are you referring to?
Can you notice the difference in the two commands I wrote?
I'm referring to the part of your message I've quoted.

Disable Force-encrypt [TESTERS NEEDED!]

Hello! I've recently gotten disable force-encrypt line on the fstab.qcom. So if you'd like to try it out, you have to have unlocked bootloader [duh] and TWRP: https://forum.xda-developers.com/motorola-one/how-to/twrp-similar-device-t3873875
Put fstab in the folder you run adb "aka where you boot twrp"
When you are in TWRP you will have to go to mount and mount the Vendor partition.
Next, execute this line in ADB: adb push fstab.qcom /vendor/etc/fstab.qcom
After that, Reboot and your phone should be decrypted. Please tell me results. I don't wanna risk my phone since i barely got it and i was almost getting a heart attack when it was stuck on boot for like 3 minutes.
Link: https://drive.google.com/open?id=189NeVlJmyEHpv3PGe_5ZeSIZZhW2HYK1
Oh! And don't forget to format data. Go to Wipe, Press data And then press format.
Didn't work. No effects whatsoever
lucasdeeiroz said:
Didn't work. No effects whatsoever
Click to expand...
Click to collapse
Yep. I know. This is old
borksek said:
Yep. I know. This is old
Click to expand...
Click to collapse
is there any other method? I need to execute zip file on twrp and with encryption I can't
It works but from what I understand it doesn't survive a reboot.
What did you mean?
It doesn't brick your phone and it doesn't make it un-force-encrypted. It just does.. nothing.

Categories

Resources