[Q] Stuck in recovery mode

Search This thread

mchenier

Member
Aug 9, 2014
17
2
Hello every one,

I'm trying to root my Nexus 4 and I messed up. Can't boot the phone except in recovery mode in TWRP. If a try to boot I got ''Google'' on a black screen and that's it. Don't know what to do from there.

I started to root with Windows 7, but I want to continue with Ubuntu on my computer if it's possible.

Any advice to where to start from?

Thanks,

Martin
 

Attachments

  • TWRP.jpg
    TWRP.jpg
    198.6 KB · Views: 45

jd1639

Inactive Recognized Contributor
Sep 21, 2012
16,833
5,404
Minnesota
What did you do to get to where you are? Without more info I'm going to tell you to boot into the bootloader and flash the factory image

Sent from my SAMSUNG-SGH-I957 using XDA Free mobile app
 

mchenier

Member
Aug 9, 2014
17
2
Wait a minute, before you flash the factory images. What exactly happened?

I followed a procedure (in french) and got stock on these lines:

Installation de SuperSU et Busybox :
Vous êtes sur TWRP
Sur le smartphone faites : Wipe > Advanced Wipe > Dalvik Cache (case cochée) > Cache (case cochée) > Swipe to Wipe
Sur le smartphone faites : Mount > System (case cochée)

Wasn't able to wipe Dalvik and after that and for some reasons was not able to connect to the phone from the Windows 7 computer. I'm not certain of what happen after, I probably erase important files on the Nexus with the TWRP menu.

This is what I got when booting in safe mode
 

Attachments

  • Boot.jpg
    Boot.jpg
    98.4 KB · Views: 25
Last edited:

jd1639

Inactive Recognized Contributor
Sep 21, 2012
16,833
5,404
Minnesota
Sounds like you wiped your system and internal sd card and now don't have anything to boot into. You could use adb to push a rom zip to your internal sd and install it with twrp. Or you could sideload it with twrp. Or you could flash the factory image and start all over.

Sent from my Nexus 5 using XDA Free mobile app
 

mchenier

Member
Aug 9, 2014
17
2
Sounds like you wiped your system and internal sd card and now don't have anything to boot into. You could use adb to push a rom zip to your internal sd and install it with twrp. Or you could sideload it with twrp. Or you could flash the factory image and start all over.

Sent from my Nexus 5 using XDA Free mobile app

I think I can push a rom zip to the sd card. Where can I find a rom?

Thanks
 

jd1639

Inactive Recognized Contributor
Sep 21, 2012
16,833
5,404
Minnesota
I think I can push a rom zip to the sd card. Where can I find a rom?

Thanks

Where you on a particular rom before or just stock?

Edit, this is from the development forum. It's stock 4.4.4. http://xdaforums.com/showthread.php?p=50453541

Edit,edit, also, when you flash super su you don't need to do the wipes your French procedure told you to do. Just flash super su in twrp, use the install.

Sent from my Nexus 5 using XDA Free mobile app
 
Last edited:

mchenier

Member
Aug 9, 2014
17
2
Where you on a particular rom before or just stock?

Edit, this is from the development forum. It's stock 4.4.4. http://xdaforums.com/showthread.php?p=50453541

Edit,edit, also, when you flash super su you don't need to do the wipes your French procedure told you to do. Just flash super su in twrp, use the install.

Sent from my Nexus 5 using XDA Free mobile app

Well, don't know what to do at this moment.

1. Should I try to complete the '' french'' procedure? I tried to continue with those command:

adb push busybox /system/xbin
adb push supersu.zip /sdcard
adb shell
chmod 04755 /system/xbin/busybox
/system/xbin/busybox --install /system/xbin/
exit


But got a error message at chmod :

chmod 04755 /system/xbin/busybox /system/xbin/busybox --install /system/xbin/
unknown option -- install
BusyBox v1.21.1-jb bionic (2013-07-25 21:23 +0100) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst

-R Recurse

Then I pushed the mako_Kitkat.zip and supersu and try to install from TWRAP but both failed. Is there an order to do it?
 

Attachments

  • IMG_20140810_085804.jpg
    IMG_20140810_085804.jpg
    113.3 KB · Views: 29

jd1639

Inactive Recognized Contributor
Sep 21, 2012
16,833
5,404
Minnesota
Well, don't know what to do at this moment.

1. Should I try to complete the '' french'' procedure? I tried to continue with those command:

adb push busybox /system/xbin
adb push supersu.zip /sdcard
adb shell
chmod 04755 /system/xbin/busybox
/system/xbin/busybox --install /system/xbin/
exit


But got a error message at chmod :

chmod 04755 /system/xbin/busybox /system/xbin/busybox --install /system/xbin/
unknown option -- install
BusyBox v1.21.1-jb bionic (2013-07-25 21:23 +0100) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst

-RRecurse

Then I pushed the mako_Kitkat.zip and supersu and try to install from TWRAP but both failed. Is there an order to do it?

I'm not sure why the rom you tried to flash failed. You should flash the rom first and then super su. I think at this point I'd flash the factory image. Just download it and extract it. Then double click on the flash-all.bat with your phone booted into the bootloader and connected to your usb port. You'll then need to flash the twrp recovery image in fastboot to get twrp back on your phone.

Sent from my Nexus 5 using XDA Free mobile app
 
  • Like
Reactions: mchenier

jd1639

Inactive Recognized Contributor
Sep 21, 2012
16,833
5,404
Minnesota
It's done, thanks a lot for your help. It was easier for me on a Linux system. I didn't root it this time. I just want to know if it will resolve the problem I had with the phone (closing randomly and at the end wasn't even able to open it)

Glad to hear it's working

Sent from my Nexus 5 using XDA Free mobile app
 
  • Like
Reactions: mchenier

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Thanks for the awnser, but don't know how to ''flash'' the factory image

    Read this http://xdaforums.com/showthread.php?p=34552123

    Sent from my SAMSUNG-SGH-I957 using XDA Free mobile app
    1
    Well, don't know what to do at this moment.

    1. Should I try to complete the '' french'' procedure? I tried to continue with those command:

    adb push busybox /system/xbin
    adb push supersu.zip /sdcard
    adb shell
    chmod 04755 /system/xbin/busybox
    /system/xbin/busybox --install /system/xbin/
    exit


    But got a error message at chmod :

    chmod 04755 /system/xbin/busybox /system/xbin/busybox --install /system/xbin/
    unknown option -- install
    BusyBox v1.21.1-jb bionic (2013-07-25 21:23 +0100) multi-call binary.

    Usage: chmod [-R] MODE[,MODE]... FILE...

    Each MODE is one or more of the letters ugoa, one of the
    symbols +-= and one or more of the letters rwxst

    -RRecurse

    Then I pushed the mako_Kitkat.zip and supersu and try to install from TWRAP but both failed. Is there an order to do it?

    I'm not sure why the rom you tried to flash failed. You should flash the rom first and then super su. I think at this point I'd flash the factory image. Just download it and extract it. Then double click on the flash-all.bat with your phone booted into the bootloader and connected to your usb port. You'll then need to flash the twrp recovery image in fastboot to get twrp back on your phone.

    Sent from my Nexus 5 using XDA Free mobile app
    1
    I'm not sure to understand what do you mean by flashing the TWRP recovery image. I will have to reinstall TWRP on the phone after that? Restart all the procedure I did first?

    If you flash the factory, yes, you'll have to start all over

    Sent from my Nexus 5 using XDA Free mobile app
    1
    It's done, thanks a lot for your help. It was easier for me on a Linux system. I didn't root it this time. I just want to know if it will resolve the problem I had with the phone (closing randomly and at the end wasn't even able to open it)

    Glad to hear it's working

    Sent from my Nexus 5 using XDA Free mobile app