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
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
jd1639 said:
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
Click to expand...
Click to collapse
Thanks for the awnser, but don't know how to ''flash'' the factory image
mchenier said:
Thanks for the awnser, but don't know how to ''flash'' the factory image
Click to expand...
Click to collapse
Read this http://forum.xda-developers.com/showthread.php?p=34552123
Sent from my SAMSUNG-SGH-I957 using XDA Free mobile app
jd1639 said:
Read this http://forum.xda-developers.com/showthread.php?p=34552123
Sent from my SAMSUNG-SGH-I957 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks, I'm going to take a look
mchenier said:
Thanks, I'm going to take a look
Click to expand...
Click to collapse
Wait a minute, before you flash the factory images. What exactly happened?
vinc10 said:
Wait a minute, before you flash the factory images. What exactly happened?
Click to expand...
Click to collapse
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
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
jd1639 said:
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
Click to expand...
Click to collapse
I think I can push a rom zip to the sd card. Where can I find a rom?
Thanks
mchenier said:
I think I can push a rom zip to the sd card. Where can I find a rom?
Thanks
Click to expand...
Click to collapse
Where you on a particular rom before or just stock?
Edit, this is from the development forum. It's stock 4.4.4. http://forum.xda-developers.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
jd1639 said:
Where you on a particular rom before or just stock?
Edit, this is from the development forum. It's stock 4.4.4. http://forum.xda-developers.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
Click to expand...
Click to collapse
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?
mchenier said:
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?
Click to expand...
Click to collapse
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
jd1639 said:
You'll then need to flash the twrp recovery image in fastboot to get twrp back on your phone.
Click to expand...
Click to collapse
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?
mchenier said:
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?
Click to expand...
Click to collapse
If you flash the factory, yes, you'll have to start all over
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
If you flash the factory, yes, you'll have to start all over
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
OK thanks.
mchenier said:
OK thanks.
Click to expand...
Click to collapse
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)
mchenier said:
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)
Click to expand...
Click to collapse
Glad to hear it's working
Sent from my Nexus 5 using XDA Free mobile app
Related
Alright, I know there are a few sources on this, but none of which I can see resolved it. I'm getting an error when trying to wipe my davlik cache, to do it in adb. When I try to run it in adb i get
C:\android-sdk-windows\tools>adb shell
# cd /system/sd/dalvik-cache
cd /system/sd/dalvik-cache
cd: can't cd to /system/sd/dalvik-cache
#
any help?
update your recovery
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
abcdfv said:
update your recovery
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
Found 1.6.2.. ill see if it helps
fabulous thank you!
I assume I can delete 1.5.2 from my sd card with no harm?
yeah. you can also delete 1.6.2 after you flash it.
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Try:
cd /data/dalvik-cache
/system/sd/dalvik-cache is only if you have the newer A2SD (TrevE or Darktremor).
barnacles10 said:
Alright, I know there are a few sources on this, but none of which I can see resolved it. I'm getting an error when trying to wipe my davlik cache, to do it in adb. When I try to run it in adb i get
C:\android-sdk-windows\tools>adb shell
# cd /system/sd/dalvik-cache
cd /system/sd/dalvik-cache
cd: can't cd to /system/sd/dalvik-cache
#
any help?
Click to expand...
Click to collapse
1.6.2 stopped this error from happening for me. I use my phone mostly at work since they have tight lock-down on machines -- it's extremely handy not to use adb (for me).
Im also having this issue. I was watching a video in which to wipe the dalvik-cache in recovery mode but it keeps giving me an error and to run it via adb?
How do I install the new recovery?
I create the first root for SGS 2.2
it is root and busybox
http://www.multiupload.com/6OU2AGRSOD
created by me Dr.Hani Akrim
www.xdadroid.com
thanks..
How do you flash this? I'm using JP2 and I can't access stock recovery image, I get some screen to do with uploading :S?
Sent from my GT-I9000 using XDA App
Root Froyo via ADB
To easy to do:
Via ADB:
adb shell mount /system
adb push su /system/bin/
adb push su /system/xbin/
adb shell chmod 6755 /system/bin/su
adb shell chmod 6755 /system/xbin/su
adb push Superuser.apk /system/app/
adb push busybox /system/xbin/
adb shell chmod 0755 /system/bin/su
adb shell umount /system
adb shell reboot
Click to expand...
Click to collapse
bratfink said:
How do you flash this? I'm using JP2 and I can't access stock recovery image, I get some screen to do with uploading :S?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Try via ADB, i resolved the problem, and installed SUPERUSER! Now i've Rootexplorer working!
Can you attack Superuser.apk here please? Thanks.
bratfink said:
How do you flash this? I'm using JP2 and I can't access stock recovery image, I get some screen to do with uploading :S?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Put it on the internal sd card in the root folder, then power off. Once off press Vol Up+Power+Home and then flash update.zip.
hani1980 said:
I create the first root for SGS 2.2
Click to expand...
Click to collapse
works nice thanks
bratfink said:
How do you flash this? I'm using JP2 and I can't access stock recovery image, I get some screen to do with uploading :S?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Volume DOWN + Home + Power = Download Mode
Volume UP + Home + Power = Recovery Mode
That was quick, thanks! Gonna try as soon as I flash the FW!
Thanks for this, I'll go ahead and upgrade to JP2
Working on JP2 via update.zip posted by OP.
Thank you.
thanks all
Works well. Thanks!
Thanks for that, how do you flash 2.2 update. Via odin? I've downloaded the firmware but it is asking for password to unzip, does anyone have a password.
riz157 said:
Thanks for that, how do you flash 2.2 update. Via odin? I've downloaded the firmware but it is asking for password to unzip, does anyone have a password.
Click to expand...
Click to collapse
m8.. a little search will help ya on that
try samsung-firmwares.com
I get an error message when trying to flash the update zip. My phones version is PDA:JP2 PHONE:JP2 CSC:JP2 i did the update from the russian site. Anyone got any ideas as to why this isnt working?
Sent from my GT-I9000 using XDA App
bratfink said:
I get an error message when trying to flash the update zip. My phones version is PDA:JP2 PHONE:JP2 CSC:JP2 i did the update from the russian site. Anyone got any ideas as to why this isnt working?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
And you are certain that you are flashing with this update.zip ? Remember apps like RomManager also puts an update.zip in the root folder, so make sure that you are using the correct update.zip
Tried and not functional on JP2, tested root explorer, auto killer, no root achieved, either by adb or update.zip
DocRambone said:
Tried and not functional on JP2, tested root explorer, auto killer, no root achieved, either by adb or update.zip
Click to expand...
Click to collapse
Works fine for me on JP2. Did the flash complete successfully?
Yes im 100% sure i am flashing the correct update.zip. It says the zip is bad? And then says flash failed.
Sent from my GT-I9000 using XDA App
I did the one click root that does not require computer but now I needed to know how to unroot. I have asked several times within that thread but have not had an answer. Any help would be great...
Sent from my SGH-T959 using XDA App
There are a few ways to do it, including manually via something like the Terminal app and doing it on your phone itself, or you can use the one-click Root/Unroot application that TGA_Gunnman created to unroot your phone. Please read the following thread, which will provide you with all the info and instructions you need to unroot your phone.
http://forum.xda-developers.com/showthread.php?t=739300
If you want to do it manually from your Vibrant itself, here's the post that will show you how to do it. You'll need to download Terminal Emulator (free) and then follow the instructions: http://forum.xda-developers.com/showpost.php?p=7374035&postcount=22
LSxChevelle said:
I did the one click root that does not require computer but now I needed to know how to unroot. I have asked several times within that thread but have not had an answer. Any help would be great...
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
If you need to unroot for warranty purposes, i would suggest using ODIN
http://forum.xda-developers.com/showthread.php?t=739091
Well I did the one click root/unroot app that is posted on here but I only see the option to root. The aop says root/unroot so I figured it would be easy with the same app but I guess not?...
Sent from my SGH-T959 using XDA App
I'm not sure, i didnt use either app, but basically, to unroot, the app will do what is posted here
http://forum.xda-developers.com/showthread.php?t=728471
can be run through adb with these commands:
adb shell
su
rm -r /system/app/Superuser.apk
rm -r /system/xbin/busybox
rm -r /system/bin/su
Those are the apps/utils that are installed when you root. You just need to remove them, then reboot, then open terminal and type su, then you should get a "not found" error.
As far as the one click root/unroot app, im not sure.
I can't get into my phone (it turns on but it's fried) and I can't get ODIN or ADB to recognize it.
I've booted it into recovery mode and it's had all user data and cache wiped several times (not just by me). Will that take care of superuser/busybox or will it still appear rooted if I send it in? Thanks.
Hi,
Is there an app that you can run from a Windows XP laptop that can backup a Dell Streak ROM Image as a single file to a hard drive?
My apologies if this has been asked before, but I seem to only find backup apps that run on the device itself.
Thanks.
PS: Assuming if this is not possible, what is the best way to backup to a laptop hard drive?
me4tux said:
Hi,
Is there an app that you can run from a Windows XP laptop that can backup a Dell Streak ROM Image as a single file to a hard drive?
My apologies if this has been asked before, but I seem to only find backup apps that run on the device itself.
Thanks.
PS: Assuming if this is not possible, what is the best way to backup to a laptop hard drive?
Click to expand...
Click to collapse
You have to flash either StreakMod or ClockworkMod recovery and from there you do a nandroid backup and then copy that to your PC
Sent from my cm_tenderloin using Tapatalk HD
cdzo72 said:
You have to flash either StreakMod or ClockworkMod recovery and from there you do a nandroid backup and then copy that to your PC
Sent from my cm_tenderloin using Tapatalk HD
Click to expand...
Click to collapse
Thanks for you reply. That's the step I wanted to avoid by installing a custom recovery.
So I suppose there is no other easier way if I just have a stock Streak with the stock Dell recovery?
me4tux said:
Thanks for you reply. That's the step I wanted to avoid by installing a custom recovery.
So I suppose there is no other easier way if I just have a stock Streak with the stock Dell recovery?
Click to expand...
Click to collapse
Nothing at all. There are non root apps that will allow you to backup your user apps and their settings but anything related to the system will have to be manually reconfigured because your not rooted more than likely either. And those don't work well either.
Sent from my cm_tenderloin using Tapatalk 2
He could do a system dump using ADB, but to do so he would...
...have to be rooted.
...have busybox installed.
...have to determine where the system partitions are (e.g. /dev/mnt/nanda for /system).
From there he could then execute the commands in a command prompt. For example, to do a system dump on my el cheapo Coby tablet, I use the following commands:
Code:
adb.exe wait-for-device
adb.exe shell mkdir /sdcard/dump
adb.exe shell su -c "cat /dev/block/nanda > /sdcard/dump/bootloader.img"
adb.exe shell su -c "cat /dev/block/nandc > /sdcard/dump/boot.img"
adb.exe shell su -c "cat /dev/block/nandg > /sdcard/dump/recovery.img"
adb.exe shell su -c "busybox tar -czvf /sdcard/dump/system.tgz /system"
mkdir dump
adb.exe pull /sdcard/dump dump
Putting it all together into a single file though is not going to happen. Besides, installing ClockworkMod or StreakMod and doing a nandroid backup through it is the best means of backing up the Streak.
unlock bootloder,TWRP,super su, and I hane accidentally format it through TWRP now its not getting on just stuck on circle . in internal there is no data to flash and also not detecting adb or fastboot mode .
please help me
You'll need to get adb or fastboot working. Google 15 second adb drivers xda. Then adb push a rom on to your device while in recovery or side load a rom
Sent from my Nexus 5 using XDA Free mobile app
GS150R said:
unlock bootloder,TWRP,super su, and I hane accidentally format it through TWRP now its not getting on just stuck on circle . in internal there is no data to flash and also not detecting adb or fastboot mode .
please help me
Click to expand...
Click to collapse
Wipe your whole system via TWRP and restart into recovery. Connect your phone with your computer and check if your phone is recognized. Also check if you have install all necessary drivers.
jd1639 said:
You'll need to get adb or fastboot working. Google 15 second adb drivers xda. Then adb push a rom on to your device while in recovery or side load a rom
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
1) ADB is working .recovery mode is also working.
2) i have tried this adb sideload youtube video https://www.youtube.com/watch?v=CivvxcM1PCY.
3) when ever i was sliding abs sideload in TWRP
UPDATING PARTITION DETAILS...
E:STORAGE PARTATION "/TERP/BACKUP/004aef8c978b8659" not found
starting adb sideload feature...
4) by doing all above steps i am stuck at transferring ROM
GS150R said:
1) ADB is working .
2) i have tried this adb sideload youtube video https://www.youtube.com/watch?v=CivvxcM1PCY.
3) when ever i was sliding abs sideload in TWRP
UPDATING PARTITION DETAILS...
E:STORAGE PARTATION "/TERP/BACKUP/004aef8c978b8659" not found
starting adb sideload feature...
4) by doing all above steps i am stuck at transferring ROM
Click to expand...
Click to collapse
Rename the rom zip you're trying to flash to just rom.zip and put it on the root directory of your pc. Then open a command window in the folder your adb.exe is and run the command
adb push c:\rom.zip /sdcard/download
That'll put the rom on your device and you can then flash it in recovery
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Rename the rom zip you're trying to flash to just rom.zip and put it on the root directory of your pc. Then open a command window in the folder your adb.exe is and run the command
adb push c:\rom.zip /sdcard/download
That'll put the rom on your device and you can then flash it in recovery
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
thanks but not working . it behaves same as in screen shot
this might be help
using mskip tool kit
GS150R said:
thanks but not working . it behaves same as in screen shot
Click to expand...
Click to collapse
first use the command
adb devices
Does your device show up or do you get the same as you did before?
If it works use
adb push c:\rom.zip /sdcard/Download/rom.zip
jd1639 said:
first use the command
adb devices
Does your device show up or do you get the same as you did before?
If it works use
adb push c:\rom.zip /sdcard/Download/rom.zip
Click to expand...
Click to collapse
not working.
i am doing
1) open cmd from start run.
2) then type cd (copy address of platform tool in sdk)
3)adb devices it show device no.
4) adb push c:\rom.zip /sdcard/Download/rom.zip then some command run an stop .
GS150R said:
not working.
i am doing
1) open cmd from start run.
2) then type cd (copy address of platform tool in sdk)
3)adb devices it show device no.
4) adb push c:\rom.zip /sdcard/Download/rom.zip then some command run an stop .
Click to expand...
Click to collapse
If adb devices doesn't show a device then you don't have the usb drivers setup. Did you try the 15 second adb install I posted in one of my first posts? Just Google it
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
If adb devices doesn't show a device then you don't have the usb drivers setup. Did you try the 15 second adb install I posted in one of my first posts? Just Google it
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
15 sec adb works now he is showing my device.
but after push command it goes through long execution and stop same.
how i get into this situation
1) bootloder unlock,rooted,custom recovery ,
2) stock 4.4.4 running
3) then instead of flashing velocity rom I flash velocity gapp from TWRP.
4) reboot perform updating app and stuck.
5) then i have done "FORMAT DATA" in TWRP
6) AND STILL NOT BOOTING
GS150R said:
15 sec adb works now he is showing my device.
but after push command it goes through long execution and stop same.
Click to expand...
Click to collapse
Try a different usb port and cable. It will take a long time to push the rom, 5 to 10 minutes. It sounds like your usb connection is not good
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Try a different usb port and cable. It will take a long time to push the rom, 5 to 10 minutes. It sounds like your usb connection is not good
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
not working :crying:
GS150R said:
not working :crying:
Click to expand...
Click to collapse
Boot into recovery and see if you can find the rom you pushed. If you do, flash it
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Boot into recovery and see if you can find the rom you pushed. If you do, flash it
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
whenever i try to send a zip file it execute bunch of instruction and stop.
I have copied it in notepad take a look
GS150R said:
whenever i try to send a zip file it execute bunch of instruction and stop.
I have copied it in notepad take a look
Click to expand...
Click to collapse
This comes up if you try to execute a command adb doesn't know. Are you typing it in correctly?
Edit, I see the problem. You need a space after adb push c:\rom.zip. it should be adb push c:\rom.zip /sdcard....
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
This comes up if you try to execute a command adb doesn't know. Are you typing it in correctly?
Edit, I see the problem. You need a space after adb push c:\rom.zip. it should be adb push c:\rom.zip /sdcard....
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
By giving space it shows error:closed
GS150R said:
By giving space it shows error:closed
Click to expand...
Click to collapse
What error does it give? Everything must be typed correctly and the rom.zip must be on the root directory of your pc.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
What error does it give? Everything must be typed correctly and the rom.zip must be on the root directory of your pc.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
error is - error:closed and execution is terminated.
yes it is in the directory rom.zip