How do I format SYSTEM partition from adb on ideaPad K1 ?
adb shell
and
wipe system
does not work becuase I lack permissions
ClockwordMod installed and replaced k1recovery and I cannot boot into it. I cannot also start CWM, fastboot doesn't work.
When I am in adb and issue:
sdb shell
# recovery
I receive:
[1] Segmentation fault recovery
I need to get to recovery or remove CWM. Any tips will be appreciated.
Are you able to boot to the main screen at all? If so, you should be able to soft reboot (hold power button down), then select "reboot to recovery" from the menu to get to CWM.
Related
Well I need help. Last week when verizon was having probelms with service my friend thought that it was his phone. He got to messing with **** and now he cant load any roms. Im hoping someone can help. When he boots into recovery mood he no longer has the option to flash zip from sd. Also Nand backup is now missing so he can not backup to a restore point. the only options he has is flash update reboot wipe cache and factory reset. I have heard of people losing root but with that would you even be able to boot by pressing power and the volume up key... he wont leave me alone about fixing his problem so any info someone could shed on the situation I would really appreciate... Thanks
leech2082 said:
Well I need help. Last week when verizon was having probelms with service my friend thought that it was his phone. He got to messing with **** and now he cant load any roms. Im hoping someone can help. When he boots into recovery mood he no longer has the option to flash zip from sd. Also Nand backup is now missing so he can not backup to a restore point. the only options he has is flash update reboot wipe cache and factory reset. I have heard of people losing root but with that would you even be able to boot by pressing power and the volume up key... he wont leave me alone about fixing his problem so any info someone could shed on the situation I would really appreciate... Thanks
Click to expand...
Click to collapse
Just redo Amons recovery. That should fix it.
Follow these steps: (Also found in Sticky section)
III: Flashing a Custom Recovery
Flashing a custom recovery will make your life easier when flashing ROMs in the future.
1. Download this file: Recovery.zip
2. Extract file contents to your \tools\ directory of your Android SDK.
3. Open up a command prompt and go to your tools directory, and execute these commands:
* adb shell mount -o rw,remount /dev/block/mtdblock3 /system
* adb push recovery.img /sdcard
* adb push flash_image /system/bin
* adb shell chmod 755 /system/bin/flash_image
* adb shell flash_image recovery /sdcard/recovery.img
4. Success! You now have a recovery partition installed on your phone. You can access it by running "adb shell reboot recovery" or by powering off your phone, holding "Volume Up + Power On"
Once you do this...power down... then volume up + end = recovery..
The behavior of the recovery boot that you are describing is an HTC recovery; it is not Amon_RA. Amon_RA didn't change, it got replaced.
That strongly suggests that "your friend" re-flashed an HTC ROM onto the phone, probably using a HBOOT method (using a "PB00IMG.ZIP" file).
droidkevlar said:
Just redo Amons recovery. That should fix it.
Click to expand...
Click to collapse
droidkevlar assumes here that what got flashed was the HTC Root PB00IMG.ZIP file.
For the sake of "your friend who won't leave you alone", I hope droidkevlar is correct; otherwise your friend has joined the leak club.
Good luck,
bftb0
vash8806 said:
* adb shell mount -o rw,remount /dev/block/mtdblock3 /system
* adb push recovery.img /sdcard
* adb push flash_image /system/bin
* adb shell chmod 755 /system/bin/flash_image
* adb shell flash_image recovery /sdcard/recovery.img
Click to expand...
Click to collapse
or you could do it from the PC with a single command. Put the phone into FASTBOOT mode (power on phone holding down both Send+End/Power), and then
Code:
fastboot flash recovery recovery-RA-eris-v1.6.2.img
The md5sum of Amon_RA v1.6.2 for the Eris is e3932991f097993602af3c7a4b61a4f8
You can check to see if fastboot is communicating with the phone by using the command "fastboot devices". (Note that if running fastboot from Linux, fastboot needs to be run as root to access the USB device).
bftb0
Hi everyone, I have a little problem i don't know why my magic doesn't want to enter in recovery mode (boot while holding HOME)
I do it before, but now doesn't want it
Can somebody tell me why or want i can do?
tnks a lot
Your probably going to have to reflash the recovery. Can you still get into fastboot (back+power)?
tnks for answer and you have right
I do this and i can enter again in recovery mode
Code:
Copy recovery-RA-dream-v1.7.0.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
Connect your G1 via usb to your pc/mac/...
adb shell
#mount -a (this can give back an error if you don't have an ext partition, don't worry about it and just proceed)
#flash_image recovery /sdcard/recovery-RA-dream-v1.7.0.img
tnks a lote
I had the stock CWM from rom manager and I tried reinstalling team rouge. Now everytime i hit reboot, it reboots to recovery the rom manager version. Any advice?
Ive also tried a hard shutdown, it powers up into recovery.
Well I solved it. I rebooted it held the vol down button and instead of telling it to go into recovery i let it sit till my system booted normal. Good job me, I wish i could add thanks to myself
Go here and see how to fix it.
http://forum.xda-developers.com/showthread.php?p=23256536
If not you'll have to go through the cold boot process with the buttons every time
I also had this problem few days ago. But, I deal with there steps:
1. press power button and volume down
2. seeing the ASUS logo, don't press volume up and wait for few seconds
3. the TF will turn to a screen and ask you whether to wipe or cold boot
4. Cold boot it and the TF should boot regularly
and try these steps to install new recovery:
1. after booting, use cmd to access adb shell
2. type: echo boot | dd of=/dev/block/mmcblk0p3 bs=1 seek=0
3. place your new recovery in sdcard
4. flash it through rom manager
5. wait for flashing and rebooting. the frickin' recovery should be gone
Without adb
s6261 said:
I also had this problem few days ago. But, I deal with there steps:
1. press power button and volume down
2. seeing the ASUS logo, don't press volume up and wait for few seconds
3. the TF will turn to a screen and ask you whether to wipe or cold boot
4. Cold boot it and the TF should boot regularly
and try these steps to install new recovery:
1. after booting, use cmd to access adb shell
2. type: echo boot | dd of=/dev/block/mmcblk0p3 bs=1 seek=0
3. place your new recovery in sdcard
4. flash it through rom manager
5. wait for flashing and rebooting. the frickin' recovery should be gone
Click to expand...
Click to collapse
Worked for me from shell too. Just switched off the device and cold booted after entering the above command (echo boot .... ) to bypass the damaged 5.5.0.4 recovery.
-- Instructions require adb Don't know what adb is? Check a tutorial, here's one of many: http://forum.xda-developers.com/showthread.php?t=502010 --
If you've used TWRP and can't get out of a repeated loop of recovery boots, follow the instructions at TeamWin's page:
http://teamw.in/project/twrp2/79
Specifically:
- If your device is always booting TWRP run:
Code:
adb shell "idme bootmode 4000"
- If you still can't get out of booting TWRP, first run:
Code:
adb shell "idme bootmode 4002"
reboot your device, then run:
Code:
adb shell "idme bootmode 4000"
reboot again and you should be out of your bootloop
(PS to Mods - Seen so many asking this, and if it belongs in General, sorryandthanks for moving if you do !)
Where or how do you run this?
MrSchroeder said:
-- Instructions require adb Don't know what adb is? Check a tutorial, here's one of many: http://forum.xda-developers.com/showthread.php?t=502010 --
If you've used TWRP and can't get out of a repeated loop of recovery boots, follow the instructions at TeamWin's page:
http://teamw.in/project/twrp2/79
Specifically:
- If your device is always booting TWRP run:
Code:
adb shell "idme bootmode 4000"
- If you still can't get out of booting TWRP, first run:
Code:
adb shell "idme bootmode 4002"
reboot your device, then run:
Code:
adb shell "idme bootmode 4000"
reboot again and you should be out of your bootloop
(PS to Mods - Seen so many asking this, and if it belongs in General, sorryandthanks for moving if you do !)
Click to expand...
Click to collapse
idme: not found?
Followed your steps, but I keep getting a message saying : "/sbin/sh: idme: not found" any idea what must have gone wrong?
MrAznGuy8 said:
Followed your steps, but I keep getting a message saying : "/sbin/sh: idme: not found" any idea what must have gone wrong?
Click to expand...
Click to collapse
I have the same problem. Can you share how you fixed it.
MrAznGuy8 said:
Followed your steps, but I keep getting a message saying : "/sbin/sh: idme: not found" any idea what must have gone wrong?
Click to expand...
Click to collapse
This worked for me (Galaxy A7 SM-700FD) 5.0.2
-u need to remove TWRP recovery from your phone totally.
-i Flashed stock android recovery (well i got it by experimenting, as i rooted my phone again by ODIN it replaced the TWRP recovery with android recovery(turn off Auto-Reboot))
-you will be stuck in boot loop mode (stuck with the logo- good news is you are out of TWRP recovery boot loop)
-you have to get to boot loader anyhow (either by adb commands or vol down, home, Power key pressed all together)
-Flash TWRP recovery again using ODIN (turn of Auto-Reboot)
-hold the power key which will try to restart the phone.
-still it is boot loop mode.
-enter Boot loader (pressing Power key, Volume down, home- all three keys together or by adb commands)
-enter TWRP recovery (pressing Power key, Volume up, Home key- all three keys together or by adb commands)
-Restore your backup
-and you are good to go
---------- Post added at 11:01 PM ---------- Previous post was at 10:55 PM ----------
kyc said:
I have the same problem. Can you share how you fixed it.
Click to expand...
Click to collapse
This worked for me (Galaxy A7 SM-700FD) 5.0.2
-u need to remove TWRP recovery from your phone totally.
-i Flashed stock android recovery (well i got it by experimenting, as i rooted my phone again by ODIN it replaced the TWRP recovery with android recovery(turn off Auto-Reboot))
-you will be stuck in boot loop mode (stuck with the logo- good news is you are out of TWRP recovery boot loop)
-you have to get to boot loader anyhow (either by adb commands or vol down, home, Power key pressed all together)
-Flash TWRP recovery again using ODIN (turn of Auto-Reboot)
-hold the power key which will try to restart the phone.
-still it is boot loop mode.
-enter Boot loader (pressing Power key, Volume down, home- all three keys together or by adb commands)
-enter TWRP recovery (pressing Power key, Volume up, Home key- all three keys together or by adb commands)
-Restore your backup
-and you are good to go
nimesh.batra93 said:
This worked for me (Galaxy A7 SM-700FD) 5.0.2
-u need to remove TWRP recovery from your phone totally.
-i Flashed stock android recovery (well i got it by experimenting, as i rooted my phone again by ODIN it replaced the TWRP recovery with android recovery(turn off Auto-Reboot))
-you will be stuck in boot loop mode (stuck with the logo- good news is you are out of TWRP recovery boot loop)
-you have to get to boot loader anyhow (either by adb commands or vol down, home, Power key pressed all together)
-Flash TWRP recovery again using ODIN (turn of Auto-Reboot)
-hold the power key which will try to restart the phone.
-still it is boot loop mode.
-enter Boot loader (pressing Power key, Volume down, home- all three keys together or by adb commands)
-enter TWRP recovery (pressing Power key, Volume up, Home key- all three keys together or by adb commands)
-Restore your backup
-and you are good to go
---------- Post added at 11:01 PM ---------- Previous post was at 10:55 PM ----------
This worked for me (Galaxy A7 SM-700FD) 5.0.2
-u need to remove TWRP recovery from your phone totally.
-i Flashed stock android recovery (well i got it by experimenting, as i rooted my phone again by ODIN it replaced the TWRP recovery with android recovery(turn off Auto-Reboot))
-you will be stuck in boot loop mode (stuck with the logo- good news is you are out of TWRP recovery boot loop)
-you have to get to boot loader anyhow (either by adb commands or vol down, home, Power key pressed all together)
-Flash TWRP recovery again using ODIN (turn of Auto-Reboot)
-hold the power key which will try to restart the phone.
-still it is boot loop mode.
-enter Boot loader (pressing Power key, Volume down, home- all three keys together or by adb commands)
-enter TWRP recovery (pressing Power key, Volume up, Home key- all three keys together or by adb commands)
-Restore your backup
-and you are good to go
Click to expand...
Click to collapse
what do i do if i have a google pixel
theshark556 said:
what do i do if i have a google pixel
Click to expand...
Click to collapse
You could try asking in the Google Pixel forum?
- If your device is always booting TWRP run:
Code:
adb shell "idme bootmode 4000"
How should I type this command in TWRP Terminal Command?
Please, advice.
Hello I rooted my tablet and try to do a system backup (filed cause no memory in sd) now I can't get out TWRP
In my case, EMMC rom was stuck in read-only mode. I ordered a new one, changed it and completely updated my phone via Flashtool.
thanks you too man
Easiest solution for a700fd is... reflash the same twrp from odin(turn off auto reboot) and simply reboot.... worked for me... and please someone tell me that this phone jumps again after some time or i flash something(not always) in twrp or recovery bootloop...????
I just used this method
""Enter the following commands to flash TWRP Recovery on your tablet:
adb reboot bootloader
fastboot flash recovery openrecovery-twrp-2.2.1-grouper.img
TWRP Recovery will then be flashed on your Nexus 7.
You will also get a “Finish/Okay” message at the command prompt. Type this command to reboot your tablet:
fastboot reboot
To enter TWRP Recovery, switch off your tablet. Press and hold the Volume Up, Volume Down, and Power buttons together.""
to install twrp on my nexus 7(rooted and unlocked with stock ROM).
It went well but when i try to boot it into recovery mode from bootloader, its just stuck a the google symbol screen.
I tried an alternative, using goo manager. when i reboot it using goomanager, it goes into twrp but not when i manually reboot the device and go into bootloader mode... Please help!!!!!
There's a bug in the boot loader that requires you to be plugged into a computer to access recovery.
prashaanth1992 said:
I just used this method
""Enter the following commands to flash TWRP Recovery on your tablet:
adb reboot bootloader
fastboot flash recovery openrecovery-twrp-2.2.1-grouper.img
TWRP Recovery will then be flashed on your Nexus 7.
You will also get a “Finish/Okay” message at the command prompt. Type this command to reboot your tablet:
fastboot reboot
To enter TWRP Recovery, switch off your tablet. Press and hold the Volume Up, Volume Down, and Power buttons together.""
to install twrp on my nexus 7(rooted and unlocked with stock ROM).
It went well but when i try to boot it into recovery mode from bootloader, its just stuck a the google symbol screen.
I tried an alternative, using goo manager. when i reboot it using goomanager, it goes into twrp but not when i manually reboot the device and go into bootloader mode... Please help!!!!!
Click to expand...
Click to collapse
as previously mentioned, there is a bug.
I can boot into TWRP via hold Power button -> Reboot -> Recovery, if your ROM [stock rom?] does not have this, download ROM Toolbox on Play Store, and select "Rebooter" on the bottom, and "Reboot recovery"
Or I think you can use Terminal Emulator, and type
# su
# reboot recovery
that should work too..
or you can just plug it into a computer
Thanks a butt load!!!!!!!!!!
I also think goomanager or rom manager has a bug that it wont let me power on my tablet unless i hold the power button down for 10 seconds. I remove those apps then all is fine.
Sent from my SPH-L710 using xda premium