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.
Related
Hello, my hero's version is 2.73.728.5,
I have no Market in my hero, other than that it is ok
I read lots of post,
I'm really new to android,
I tried lots of method,
I see some post said it can be rooted, some not,
and I'm confused now,
can anyone who root successfuly tell me how to root it?
where and which version of flashrec should I download
and wt rocovery img?
pls,, if u dont mind, pls give me step by step instruction too~!
I'm really dumb on this~~pls help me out><
I will love u guys~><
miranda616 said:
I read lots of post,
Click to expand...
Click to collapse
You lost me there, searching with your Build Number will reveal multiple threads with step-by-step instructions to root/flash the phone.
I had the same firmware on my Hero when I got it, but I followed this walk-through:
http://forum.xda-developers.com/showpost.php?p=4655885&postcount=1
Only part I had issues with was getting the RA-HERO recovery image flashed. I dragged it onto my sd card (not in a folder) and typed in this location on the FlashRec app:
/sdcard/Recovery-RA-HERO-v1.2.2.img
and then was able to hit "Flash Recovery Image". Then load a ROM on the SD card, turn phone off, and hold Home+Power to turn it back on in the recovery menu and then you can flash away.
I tried the post that you gave me, it still not working
when I try to wipe it, it said wipe aborted
when I try to install the rom, it said installation aborted
srt4mn said:
Only part I had issues with was getting the RA-HERO recovery image flashed. I dragged it onto my sd card (not in a folder) and typed in this location on the FlashRec app:
/sdcard/Recovery-RA-HERO-v1.2.2.img
Click to expand...
Click to collapse
Woah, totaly forgot to add that XD Fixed now.
miranda616 said:
I tried the post that you gave me, it still not working
when I try to wipe it, it said wipe aborted
when I try to install the rom, it said installation aborted
Click to expand...
Click to collapse
Well, that guide does work for a phone with that Build Number, I have done it, and srt4mn has also. Follow it step by step... And post where you have a problem
I tried that, when I flash the recovery image it said : flash FAILED: Could not run command....
but I download the recover image already, and put it at the root of the sdcard,and type
/sdcard/Recovery-RA-HERO-v1.2.2.img
I dunno which step go wrong.
Frist I download Fleashrec, recovery img, and the update.zip,
put them at the root of sdcard,
install Flashrec,
type /sdcard/Recovery-RA-HERO.v1.2.2.img
flash recovery, but it doesnt work><
miranda616 said:
I tried that, when I flash the recovery image it said : flash FAILED: Could not run command....
but I download the recover image already, and put it at the root of the sdcard,and type
/sdcard/Recovery-RA-HERO-v1.2.2.img
I dunno which step go wrong.
Frist I download Fleashrec, recovery img, and the update.zip,
put them at the root of sdcard,
install Flashrec,
type /sdcard/Recovery-RA-HERO.v1.2.2.img
flash recovery, but it doesnt work><
Click to expand...
Click to collapse
Did you backup your original recovery image first via flashrec (the lower of the 2 buttons)?? May be you can try to flash it via ADB:
Put the recovery.img in sdk/tools
Then in the terminal type this:
adb shell reboot bootloader
fastboot boot recovery-RA-HERO-v1.2.3.img
adb shell mount /sdcard
adb push recovery-RA-HERO-v1.2.3.img /sdcard/recovery-RA-HERO-v1.2.img
adb shell flash_image recovery /sdcard/recovery-RA-HERO-v1.2.3.img
adb shell reboot
Try this and see whether it helps.
Fastboot will not work this way...
I'm confused now, what is ADB???
any instruction???
thank you for helping><!!
Can any one help me on this??
on can I just add the android market and make it work on this version???
hi all,
I have followed MikeyCiggz's post:http://forum.xda-developers.com/showthread.php?t=1233154&page=2, thanks MIkeyCiggz first!
But I cannot find a suitable bootable recovery image for evo 3d:-(. I have tried twrp 1.0.3, twrp 1.1.1, twrp 2.0, it seemed that twrp image file is not bootable. I have tried:
dd if=./twrp-1.1.1.img of=/dev/mmcblk01 bs=1M
but the sd card it not bootable.
I have searched google but find nothing...so anyone can give any hints that where can I download the bootable recovery image, both twrp and cwm is ok. thanks in advance!
I don't have the answer to your question but, I don't think you should put ./ in the if= section. Your not executing the file.
Sent from my PG86100 using Tapatalk
megabiteg said:
I don't have the answer to your question but, I don't think you should put ./ in the if= section. Your not executing the file.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
./ means the current directory, ./twrp-1.1.1.img means twrp-1.1.1.img in the current directory
Anyone tried twrp 2.0 with bootable sdcard? please share your success story, thanks!
subaochen said:
hi all,
I have followed MikeyCiggz's post:http://forum.xda-developers.com/showthread.php?t=1233154&page=2, thanks MIkeyCiggz first!
But I cannot find a suitable bootable recovery image for evo 3d:-(. I have tried twrp 1.0.3, twrp 1.1.1, twrp 2.0, it seemed that twrp image file is not bootable. I have tried:
dd if=./twrp-1.1.1.img of=/dev/mmcblk01 bs=1M
but the sd card it not bootable.
I have searched google but find nothing...so anyone can give any hints that where can I download the bootable recovery image, both twrp and cwm is ok. thanks in advance!
Click to expand...
Click to collapse
Never heard of copying the recovery image directly onto the sdcard and then booting off of it.
As my understanding of the boot process goes, recovery mode will only load the recovery image for the specific recovery partition. Recovery mode doesn't search the device for recovery images in any random partition.
The link you provided had no directions or evidence to support it being possible. Perhap if there is more information on this process, it might seem more feasible.
hope that helps! good luck!
joeykrim said:
Never heard of copying the recovery image directly onto the sdcard and then booting off of it.
As my understanding of the boot process goes, recovery mode will only load the recovery image for the specific recovery partition. Recovery mode doesn't search the device for recovery images in any random partition.
The link you provided had no directions or evidence to support it being possible. Perhap if there is more information on this process, it might seem more feasible.
hope that helps! good luck!
Click to expand...
Click to collapse
I think a bootable recovery sdcard maybe the same as the command:
fastboot boot recovery.img
the above command should boot into recovery despite of the recovery partition on the inner storage of the phone. Is that right?
subaochen said:
I think a bootable recovery sdcard maybe the same as the command:
fastboot boot recovery.img
the above command should boot into recovery despite of the recovery partition on the inner storage of the phone. Is that right?
Click to expand...
Click to collapse
The above command will send the recovery.img located on the host computer, through the host computer's fastboot binary and USB connection to the device which is also in fastboot mode and will then temporarly booted into the transferred recovery image on the device.
Never heard of fastboot boot a full sdcard?
Not sure how that deals with sdcard ..
Recently I rooted and changed my vold.fstab in a hope of bigger phone storage and then all I got after reboot is a logo.
I using Philips w6610.
I have original vold.fstab file
My phone rooted, and have recovery
My phone don't have usb debug
I tried to make an update.zip but maybe I did not know how to do it right
Now I can't not do anything and through the search on google nothing can help too.
Thank in advance
Update, The update.zip always endup with installation aborted . adb shell commend end up with closed line
Pls helppppppppp ( I just used my phone for 2 weeks
OMG nobody care!
The only two things that pop to mind, are an update.zip (like you already tried) or trying to access 'adb shell' in recovery. Though in the last case you probably need to mount stuff manually, or via the UI of the recovery to get to the vold.fstab file and revert it back.
Can you flash your firmware
The only two things that pop to mind, are an update.zip (like you already tried) or trying to access 'adb shell' in recovery. Though in the last case you probably need to mount stuff manually, or via the UI of the recovery to get to the vold.fstab file and revert it back.
Click to expand...
Click to collapse
Update.zip will be aborted in the first step. I got an installation aborted everytime I update via sdcard.
I also tried adb shell and get command: closed . adb sideload update.zip return same thing with update via sdcard
Can you flash your firmware
Click to expand...
Click to collapse
I really don't know how to flash it right way.
I got and cook ROM from a russian forum for my phone. Only tried to update through sdcard and adb sideload
I am able to get into fastboot but I can not do anything with it!
Is there any methods I can do ?
I just want to unbrick my device, and use the Phone Flash Tool Lite to Flash "Flash-DDO_BB.XML" and "Flash-IFWI-only.XML", then launch “IntelAndroid-FBRL-05-16-2015-PTR” to choose T4, and writing recovery and enter. then i found that i can't use command " umount /system" or "dd if=/..." , the error is permission is denied. What's wrong with it. Thanks a lot.
I flashed the "Flash-DDO_BB.XML", and I now have an empty phone. there is no easy way to get the system.img back on to it. I had to downgrade to the droidboot_502, then i was able to get tethered cwm to load. Now even with "Minimal ADB and Fastboot" or using T4 recovery, I have not been able to push the system.img file.
Let me know if you make progress.
mrgardiner said:
I flashed the "Flash-DDO_BB.XML", and I now have an empty phone. there is no easy way to get the system.img back on to it. I had to downgrade to the droidboot_502, then i was able to get tethered cwm to load. Now even with "Minimal ADB and Fastboot" or using T4 recovery, I have not been able to push the system.img file.
Let me know if you make progress.
Click to expand...
Click to collapse
just like you, i have an empty phone,too. Did you downgrade to the droidboot_502 by flash the "1-502 droidboot_502...firmware.xml"? Just like to root 5.1? And what is the detail about your error of being able to push the system.img file? My trouble is no permission. i'm trying my best to find a way out.
enzymeyllw said:
just like you, i have an empty phone,too. Did you downgrade to the droidboot_502 by flash the "1-502 droidboot_502...firmware.xml"? Just like to root 5.1? And what is the detail about your error of being able to push the system.img file? My trouble is no permission. i'm trying my best to find a way out.
Click to expand...
Click to collapse
Try this method to push system.img.
I installed SultanXDA's CM13 ROM and I am using TWRP (not the 3 version). I haven't installed SuperSU, so it means that I am not rooted, too... But...
I wanted to flash this camera: http://forum.xda-developers.com/one...t-oxygenos-3-0-1-beta-camera-cm-aosp-t3386799
The problem is that when I get to recovery mode in order to install the zip file, I see all kinds of folders, but not my "normal" ones... I am using my SD card as internal space...
I read somewhere that I have to update to new TWRP 3 in order to overcome this...
So, does it have to do with the version of twrp and if so, how can I update it without being root and without being able for the current TWRP to read the zip files that I will "feed" it?
Maybe my only method is through adb?
Flashing through adb will erase anything else other than changing the TWRP version?
Thanks in advance guys!
dimxr said:
Maybe my only method is through adb?
Flashing through adb will erase anything else other than changing the TWRP version?
Thanks in advance guys!
Click to expand...
Click to collapse
If your Bootloader is unlocked try Fastboot.
Reboot OPX into Fastboot Mode. (Power + Volume Up i think or trough TWRP or CM)
Connect it to your PC
On PC: Download the latest TWRP img File
Start CMD in same Folder as the downloaded File is.
Type: 'Fastboot devices' to make sure your OPX connected properly
Typ: 'Fastboot Flash Recovery *DownloadedTWRP*.img'
Flashing new TWRP only overwrites current TWRP and doesn't erease anything else
OverBit said:
On PC: Download the latest TWRP img File
Click to expand...
Click to collapse
Can you download it?
I can't seem to be able to start a download no matter which browser I use...
dimxr said:
Can you download it?
I can't seem to be able to start a download no matter which browser I use...
Click to expand...
Click to collapse
Without any problem.
Maybe you be able to download it when i attach it.
Was to big to upload it as img, so I renamed it to .apk,
So don't forget to rename it to .img
Great! So, the procedure begins!