Rooting with locked bootloader - Xperia Z Q&A, Help & Troubleshooting

http://forum.xda-developers.com/showthread.php?t=2186368
From this thread, I can't post there due to lack of posts.
I'm stuck at:
14. "Display" (screen will turn white), the toolkit will now start executing some commands
15. now press power button to turn off screen wait for few seconds and press it power button again (repeat it a few time) till then keep observing the command prompt for outputs
executing /data/local/tmp/onload.sh...
Help?
EDIT: nevermind, rebooted phone and it works now, mod close thread please

Related

resetting your zio

Apparently there are a few different methods:
If you can get into the phone:
Dial: ##4357*
Select view
Scroll down to select reset.
6 digit code: 000000
Click Ok
Should reboot.
Dial *228
Click to expand...
Click to collapse
Which is somehow different that simply selecting 'factory reset'.
If you can't get in:
Hard Reset.
Power down the phone
Hold down the volume up, end key, trackball and send key simultaneously.
Phone boots. After it vibrates you let go.
Phone is completely reset as if it came out of the box. You'll need to *228 and reload ALL of your data.
Click to expand...
Click to collapse
The REALLY CRAZY method:
WARNING: This process will clear all user settings and downloaded apps. Data on the SD Memory Card and My Backup will be retained. Prior to following the steps below, ensure the phone is powered off.
Power off the phone.
Press and hold red END key for 2 seconds >> Phone Options >> select Power Off >> Phone will shut down >> Ok​
Remove battery for 15 seconds & replace battery.
Power up the phone.
Press and hold red END key for 2 seconds and wait until the device powers up completely.​
Power off the phone.
Press and hold red END key for 2 seconds >> Phone Options >> select Power Off >> Phone will shut down >> Ok​
Press and continue to hold the Volume Up button using your left thumb.
While still holding the Volume Up key, use your right hand to depress the green Send key, the white Track ball and the red End key (sequential order).
Continue to hold all 4 until keys completely down until the handset vibrates twice then let go of the keys & track ball.
Formatting Data and Cache appears​
If you do not see the above (Formatting Data and Cache) redo steps 1 through 7.
If you get a Fast Boot, Self Test or Blue screen redo steps 1 through 7.
Allow the phone to completely reboot. This may take a few moments.
The phone has now been re-set to factory default settings. Please proceed through standard set up and activation procedures.
NOTE: If you receive a self-test screen or blue screen, the hard reset was done incorrectly. Please try again, from step 1.
Click to expand...
Click to collapse
zio reset
alternately, u can hold volume down, talk, trackball, and end and boot to fastboot. then connect to pc, open command prompt, change directory to where u have your sdk and fastboot, and type these:
fastboot devices (to ensure ur computer sees the device. should see "? fastboot")
fastboot -w (should tell you "erasing userdata....")
afterward, pull battery and reboot
You could do...
"fastboot erase system"
"fastboot reboot"
Then put your phone into Modem Download Mode and run the updater to 2.2
Sent from my from my rooted 2.2 no bloat Zio using XDA App

need help, installing ota zip to my nexus 6

Hello guys,
i was following this article, from yahoo, i cannot post it
and reached the point of
The fastboot menu will appear and you should see Start in the top right. Press Volume Up till it changes to Recovery. Press the Power button to select it.
You will see an Android with a red exclamation point icon, press and hold the Power key, then press the Volume up key to show the Recovery Menu.
You will get a new menu. Navigate to apply update from adb and select it by pressing the Power button.
but it says this in the cmd
device <null> NOT attached.
the phone is still connected, what do i do now?
please help
hendyanto said:
Hello guys,
i was following this article, from yahoo, i cannot post it
and reached the point of
The fastboot menu will appear and you should see Start in the top right. Press Volume Up till it changes to Recovery. Press the Power button to select it.
You will see an Android with a red exclamation point icon, press and hold the Power key, then press the Volume up key to show the Recovery Menu.
You will get a new menu. Navigate to apply update from adb and select it by pressing the Power button.
but it says this in the cmd
device <null> NOT attached.
the phone is still connected, what do i do now?
please help
Click to expand...
Click to collapse
Where does it say this and at what point? Your phone is 100% stock then, correct? You set up adb correctly?
We'll need more information than supplied. You should walk us through step by step
hendyanto said:
Hello guys,
i was following this article, from yahoo, i cannot post it
and reached the point of
The fastboot menu will appear and you should see Start in the top right. Press Volume Up till it changes to Recovery. Press the Power button to select it.
You will see an Android with a red exclamation point icon, press and hold the Power key, then press the Volume up key to show the Recovery Menu.
You will get a new menu. Navigate to apply update from adb and select it by pressing the Power button.
but it says this in the cmd
device <null> NOT attached.
the phone is still connected, what do i do now?
please help
Click to expand...
Click to collapse
I was having the exact same problem last night, following the same instructions. I still could not figure out how to sideload the OTA, so I ended up just flashing the update and starting from fresh. Wish I had the answer for you.
Here was my thread asking pretty much the same thing: http://forum.xda-developers.com/nexus-6/help/disconnects-computer-entering-bootloader-t3230705
danarama said:
Where does it say this and at what point? Your phone is 100% stock then, correct? You set up adb correctly?
We'll need more information than supplied. You should walk us through step by step
Click to expand...
Click to collapse
100% Stock, yes! 1 week old.
Yes i have set up ADB
I have followed the instruction until this part (i cannot post any link sorry, not authorized by xda)
The following ADB commands are for Windows machines. If you’re using a Mac, just add “./” before each command, for example: “./adb reboot bootloader”.
Assuming you device is already connected to your computer via USB and USB Debugging is enabled, you need to re-start it in fastboot mode. Follow one of the two methods below. Option A may be preferable because it’s another confirmation that your computer recognizes your Nexus device.
A) Type “adb reboot bootloader”
B) Turn your device off, then turn it back on while holding down the relevant key combinations for your device. For many devices it’s Volume Up + Volume Down + Power. You can see what your device’s key combinations are here.
The fastboot menu will appear and you should see Start in the top right. Press Volume Up till it changes to Recovery. Press the Power button to select it.
You will see an Android with a red exclamation point icon, press and hold the Power key, then press the Volume up key to show the Recovery Menu.
You will get a new menu. Navigate to apply update from adb and select it by pressing the Power button.
In the command window — make sure you are in the directory where ADB and Fastboot reside — type: “adb sideload [the full name of the file].zip” without the brackets around the file name.
The update will install and reach 100 percent.
Reboot and enjoy the latest version of Android Marshmallow.
Click to expand...
Click to collapse
(red arrow) and then the cmd says the null error, i am trying this now
I had the same problem. Turned MTP on and then it worked. You're told to turn it off but don't... Its in Settings-Storage-touch the ... Menu top right corner, USB settings and turn ON MTP mode. It worked well for me. I also used the Nexus Root Toolkit - makes things much easier!
Click to expand...
Click to collapse
My phone is able to rebooot (the options comes out sometimes after i did not do anything) and now optimising app (like it usually did after an OTA update)
hendyanto said:
100% Stock, yes! 1 week old.
Yes i have set up ADB
I have followed the instruction until this part (i cannot post any link sorry, not authorized by xda)
(red arrow) and then the cmd says the null error, i am trying this now
My phone is able to rebooot (the options comes out sometimes after i did not do anything) and now optimising app (like it usually did after an OTA update)
Click to expand...
Click to collapse
There are lots of additional steps in that guide and not always the simplest way of doing it.
First thing to do is boot into recovery.
- Turn off the phone.
- Hold volume down + power
- At the bootloader screen, use volume keys to navigate to recovery and press power to select#
- At the Red warning triangle, hold power then press volume up.
At this stage, type "adb devices" in your command prompt and see if it returns your serial number or not. If it does, you can follow the steps to use adb to flash the update.
Please note, the guide talks about USB debugging. This only works in android. Nothing you need to do needs to be done via android so this is nonsense. Also the MTP option only works in android, so setting this in settings as a fix is also nonsense.
danarama said:
There are lots of additional steps in that guide and not always the simplest way of doing it.
First thing to do is boot into recovery.
- Turn off the phone.
- Hold volume down + power
- At the bootloader screen, use volume keys to navigate to recovery and press power to select#
- At the Red warning triangle, hold power then press volume up.
At this stage, type "adb devices" in your command prompt and see if it returns your serial number or not. If it does, you can follow the steps to use adb to flash the update.
Please note, the guide talks about USB debugging. This only works in android. Nothing you need to do needs to be done via android so this is nonsense. Also the MTP option only works in android, so setting this in settings as a fix is also nonsense.
Click to expand...
Click to collapse
I cannot get my windows to detect the phone during recovery mode, it always disconnected at that point.
I'll try again when i have the time, thank you all.
hendyanto said:
I cannot get my windows to detect the phone during recovery mode, it always disconnected at that point.
I'll try again when i have the time, thank you all.
Click to expand...
Click to collapse
Could be a driver issue. You'll need to check device manager. Perhaps uninstall the existing drivers and let it auto detect.
Failing that, install the Naked driver from my adb and fastboot thread (Nexus 6 general > Sticky roll-up thread > Adb and fastboot. What is it?)
I had the same issue with you until i did the following: I used wugfresh's nexus utility. Then I downloaded the respective file from XDA and saved it in the same folder as the Wugfresh's tool. Restarted in Recovery mode and chose 'update from adb'. Connected the phone with the usb having USB debugging on from before going to recovery. Started the CMD window from Wugfresh's tool (Advanced Utilities -> Launch) and check that the phone is connected (I think "adb devices") . Then "adb sideload xxxx.zip" and waited for the process to finish.
Instruction here: androidpolice 2012/11/13/android-4-2-build-jop40c-rolling-out-to-the-nexus-7-now-manual-download-link-available/
You do not have to install the full Android utility. Just use wugfresh;s cmd screen. Good luck!
danarama said:
Could be a driver issue. You'll need to check device manager. Perhaps uninstall the existing drivers and let it auto detect.
Failing that, install the Naked driver from my adb and fastboot thread (Nexus 6 general > Sticky roll-up thread > Adb and fastboot. What is it?)
Click to expand...
Click to collapse
qwerty1gr said:
I had the same issue with you until i did the following: I used wugfresh's nexus utility. Then I downloaded the respective file from XDA and saved it in the same folder as the Wugfresh's tool. Restarted in Recovery mode and chose 'update from adb'. Connected the phone with the usb having USB debugging on from before going to recovery. Started the CMD window from Wugfresh's tool (Advanced Utilities -> Launch) and check that the phone is connected (I think "adb devices") . Then "adb sideload xxxx.zip" and waited for the process to finish.
Instruction here: androidpolice 2012/11/13/android-4-2-build-jop40c-rolling-out-to-the-nexus-7-now-manual-download-link-available/
You do not have to install the full Android utility. Just use wugfresh;s cmd screen. Good luck!
Click to expand...
Click to collapse
Thank you guys! But after this "happy"night, i woke up to the OTA for marshmallow arrived on my phone, so see you guys on the rooting section instead, Thank you thank you for the help

[SOLVED] Can't enter safe mode

The phone doesn't start after installing EdXposed and the Riru Core Magisk module.
I want to enter Safe mode, but it doesn't work. I somehow managed to enter safe mode previously out of pure coincidence (no idea what I did, I pressed some buttons and i got there during a boot sequence, but it was nothing like the tutorial that Google gives you on how to do it properly).
So, I read you can do it like this:
https://support.google.com/pixelphone/answer/2852139?hl=en
However, this doesn't work for me, here's my boot process:
Power on
Unlocked bootloader warning (I skip it)
Google logo shows up
Screen color calibration changes slightly
Google animation starts (i press volume down)
Google animation ends
Normal Google logo stays there for a few seconds
Loading bar appears
Loading bar stayed there overnight (phone doesn't get hot or anything)
Is there any way to:
Enter safe mode properly
Start a terminal in recovery mode (like TWRP) to use the mm module to disable Magisk
Have an on device file manager (like TWRP) to manually delete the app
Delete files using adb
Get a normal adb shell (not sideload)
EDIT 1:
Starting "rescue mode" via fastboot shows the bootloader warning again, then the Google logo and then it's stuck (no color shift, no animation). Same for "recovery mode".
I cannot connect via adb/fastboot while the Logo is showing.
EDIT 2:
I managed to start "rescue mode" by doing the following:
Press power button
Press power button again (Entry selected: "Start")
Press both volume buttons and don't release them (I'm getting desperate here lol)
Bootloader warning (not skipped)
Rescue mode shows up (opened up Android, says "No command")
I can connect via adb, but "adb shell" or any other useful command says "error: closed"
EDIT 3:
Wtf, I got an adb shell by doing the following inside rescue mode:
"adb shell" -> Error
"adb pull /system/" -> Error
"adb pull /etc/hosts" -> Error
Phone restarted
Bootloader warning (skipped it)
Google logo, Animation & loading bar
adb connected
EDIT 4:
I entered the adb shell and used "setprop persist.sys.safemode 1" (source) (which registered correctly), but after rebooting, the phone still loads forever.
EDIT 5:
Turns out Safe mode didn't work because of Magisk/Riru/EdExposed or whatever, so I disabled Magisk by "touch /cache/.disable_magisk" (source) and now I successfully booted into safe mode.
Can you type up a more coherent guide to what you did? I'm facing the same problem and hoping to fix it without having to wipe my phone again! Thanks!
cubsrule93 said:
Can you type up a more coherent guide to what you did? I'm facing the same problem and hoping to fix it without having to wipe my phone again! Thanks!
Click to expand...
Click to collapse
Using this will most likely get you booted up to fix what you need...
https://forum.xda-developers.com/pixel-4-xl/themes/magisk-modules-disabler-booting-magisk-t3990557
cubsrule93 said:
Can you type up a more coherent guide to what you did? I'm facing the same problem and hoping to fix it without having to wipe my phone again! Thanks!
Click to expand...
Click to collapse
Where are you stuck?

Question Hi Not working fastboot mode on Oppo reno 5 (CPH2159)

What's on the buttons, all buttons are in working order
oem-unlock & usb debugging included
no password on the phone
holding the power button and sound -, I get into recovery, I don't need to go there
holding down the power button and sound +, some **** the system is loaded
================================================== ==============
On the command line:
adb devices - it shows up as (9cd64a6d device)
adb reboot bootloader - a picture appears (fastboot mode. To exit, pull out the battery or hold it off for 6-10 seconds) for a quarter of a second and reboot into the system.
What have I not done yet to enter fastboot mode?
If you need to install Deep Testing / in-depth test / deep scanning, then it cannot be installed, the application is not installed
Are you solved your problem
Are you solved your problem? Please answer me.

How To Guide Recover from hard brick (no fastboot or recovery)

Situation:
shows redmi logo for 10 -12 seaconds then black screen for 3-4 seaconds then redmi logo again
i cant boot into fastboot mode by holding volume down button or volume down and power button and cant boot to to recovery either.
Edit: this will work even if your phone shows black screen and dosen't seem to boot or even vibrate. Just press all three buttons(volume and power) and hold while its connected with pc, for a second it will boot to bootrom while showing nothing and keep rebooting,then you can use bypass.bat,when cmd window (of bypass.bat) shows some more text,just release all buttons and it will stop rebooting in the background, then use sp flashtool to flash firmware
Solution:
you need to have adb,fastboot drivers
Download daa and sla bypass tool from : https://romprovider.com/disable-daa-sla-authentication/
also install all of the drivers mentioned on that page
now,extract the it and run bypass.bat, it will show 'waiting for brom device in cmd window
now connect your device to yout pc and hold both volume buttons
when device reboots this time it will show black screen and cmd window will show you some text
if it says protection disabled you are good to go otherwise use tools from this guide : https://forum.xda-developers.com/t/...d-flash-in-edl-with-no-auth-for-free.4229683/
if you still cant flash using this auth file might help (this is not mine, i downloaded it off the internet)
Useful Links In Next Post
use 7z to extract rom files
use dda file given in rom
use scatter file given in rom/images
if you see error expected 0x5f got 0xa0 (or simply 0x) try using diffrent tools i experienced the same error but somehow seemingly randomly it worked
if main.py closes after split second, try opeaning it in edit mode and run it from there using F5
here are fixes to some common errors : https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4238161/
other useful links :
https://www.reddit.com/r/Xiaomi/comments/p3bak1

Categories

Resources