Copy file from SDCARD in recovery and Paste it in the device (/system) - Huawei Ascend P6, Mate

As the title said, I would like to copy a file from SDCARD in recovery and paste it in the device (/system) the two files are:
1) recovery-from-boot.p (past to device /system)
2) install-recovery.sh (paste to device /system/etc)
The goal is to remove TWRP (versoin 2.6.3.3) and replace it by a factory one.
My device is: Huawei P6 U06 with Android 4.2.2 MIUI ROM
My problems are:
1) No succes to flash other recovey using fastboot. When it flashed, the old recovery still here after.
2) My handset boot and stop at logo MIUI.
3) Despite flashing other OS, the probleme in (2) still here after.
4) When I mount the /system from recovery mode and push the files to the system after umoun and new mount, the files are deleted???

try this http://forum.xda-developers.com/showthread.php?t=2767093

mlsvcbbn said:
try this http://forum.xda-developers.com/showthread.php?t=2767093
Click to expand...
Click to collapse
After enable custom recovery, I have to flash with fastboot my custome recovery and boot in recovery mode to run it?

Related

[Q] Need help rooting

This is my first time rooting a device so I'm not sure what I'm doing but I have unlocked the bootloader and am trying to use the HTC quick root tool and also have the clockwork mod installed. When I try to root using the universal exploit on this program I get:
Checking device connection... device connected
preparing universal exploit... okay
rebooting to recovery... okay
waiting for device... okay
running universal exploit... okay
rebooting device... okay
waiting for device... okay
checking TEMP ROOT access... failed
error universal exploit failed
any ideas?
Easy Ace Root Tool.
Huh, you have CWM already installed that means you only need to flash Superuser or a custom rom.
1. download the zip file here : http://forum.xda-developers.com/showthread.php?t=1538053
2. Put the ZIP file in your SD.
3. Reboot into CWM Recovery
4. Choose install from ZIP.
5. Find your zip file
6. Install it.
8. Reboot and your done!
Installing a custom rom :
1. Download a custom rom (1000 of Roms on XDA search the developer section)
2. Extract the boot.img
3. Save it somewhere
3. Place the zip file in tour SD
4. Reboot in CWM
5. Install the ROM in tour SD with Install from zip
6. Reboot in Bootloader
7. Open CMD and type in : /fastboot flash boot.img (Depends on where you have saved it, fort example if you saved it on C:/ type in /fastboot flash C:/boot.img)
8. Reboot and your done!
Fantassy123 said:
Huh, you have CWM already installed that means you only need to flash Superuser or a custom rom.
1. download the zip file here : http://forum.xda-developers.com/showthread.php?t=1538053
2. Put the ZIP file in your SD.
3. Reboot into CWM Recovery
4. Choose install from ZIP.
5. Find your zip file
6. Install it.
8. Reboot and your done!
Installing a custom rom :
1. Download a custom rom (1000 of Roms on XDA search the developer section)
2. Extract the boot.img
3. Save it somewhere
3. Place the zip file in tour SD
4. Reboot in CWM
5. Install the ROM in tour SD with Install from zip
6. Reboot in Bootloader
7. Open CMD and type in : /fastboot flash boot.img (Depends on where you have saved it, fort example if you saved it on C:/ type in /fastboot flash C:/boot.img)
8. Reboot and your done!
Click to expand...
Click to collapse
cheers I'll try that now and let you know
EDIT: It worked thanks!
db316 said:
cheers I'll try that now and let you know
EDIT: It worked thanks!
Click to expand...
Click to collapse
have some trouble flashing the custom ROM. When I boot to bootloader, should I select fastboot and then connect to pc? because when i type /fastboot flash C:/boot.img i get this:
c:\>/fastboot flash C:/boot.img
'/fastboot' is not recognized as an internal or external command,
operable program or batch file.
1.Unlock your bootloader and flash a custom recovery (CWM or 4ext)
2.Download the rom zip file you are willing to flash to your PC.
3.Extract the the boot.img from inside the zip file (do not extract the whole rom)
6.Put the zip file in your sdcard.
5.Boot into recovery and do a full wipe (wipe data/factory reset, wipe cache partition, format system)
6.Flash rom (install zip from sdcard)
7.Reboot into bootloader again and plug the phone to the PC.
8.You need to be in fastboot usb (if you see HBOOT USB PLUG in the phone, just press power to toggle)
9.Open a cmd/terminal and navigate to where the boot.img file is located.
10.Type: fastboot flash boot boot.img
11.Reboot and now you should be enjoying your custom rom
Here is a better explained instruction for flashing custom rom's on DHD
Fantassy123 said:
1.Unlock your bootloader and flash a custom recovery (CWM or 4ext)
2.Download the rom zip file you are willing to flash to your PC.
3.Extract the the boot.img from inside the zip file (do not extract the whole rom)
6.Put the zip file in your sdcard.
5.Boot into recovery and do a full wipe (wipe data/factory reset, wipe cache partition, format system)
6.Flash rom (install zip from sdcard)
7.Reboot into bootloader again and plug the phone to the PC.
8.You need to be in fastboot usb (if you see HBOOT USB PLUG in the phone, just press power to toggle)
9.Open a cmd/terminal and navigate to where the boot.img file is located.
10.Type: fastboot flash boot boot.img
11.Reboot and now you should be enjoying your custom rom
Here is a better explained instruction for flashing custom rom's on DHD
Click to expand...
Click to collapse
awesome done it thanks so much

[Q] Can't flash ROM - No OS installed

Hi,
I'm trying to install paranoid rom for galaxy nexus.
I updated the twrp recovery and I checked all this option and then I wiped the smartphone
Dalvik Cache
Cache
System
Data
External SDCard
USB--OTG
now I want copy the .zip rom files into the sd and install it via twrp but I don't know how to copy the .zip into the sd.
If I try to plug the device to computer I cannot see it.
I can access to twrp recovery and explore the file system so I think there is a way to copy some files into the phone.
What can I do?
thanks for help
samu93 said:
Hi,
I'm trying to install paranoid rom for galaxy nexus.
I updated the twrp recovery and I checked all this option and then I wiped the smartphone
Dalvik Cache
Cache
System
Data
External SDCard
USB--OTG
now I want copy the .zip rom files into the sd and install it via twrp but I don't know how to copy the .zip into the sd.
If I try to plug the device to computer I cannot see it.
I can access to twrp recovery and explore the file system so I think there is a way to copy some files into the phone.
What can I do?
thanks for help
Click to expand...
Click to collapse
Do you still able to boot into recovery. Try installing ROM via fastboot
If adb drivers are installed correctly, u can flash ROM zip via sideload
Code:
adb sideload rom.zip
Also you can push files to sdcard via adb
Code:
adb push xyz.zip /sdcard/xyz.zip
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
ok, I solved using fastboot
but I have a new problem now... I can't boot into recovery (isn't this ironic?)
I flash the twrp for galaxy nexus in this way:
fastboot flash recovery openrecovery......
and it seems flashed but when I try to boot into twrp it failed and reboot the operating system
I also tried to flash twrp via gooManager... it says "recovery has been installed" but I get the same problem
samu93 said:
ok, I solved using fastboot
but I have a new problem now... I can't boot into recovery (isn't this ironic?)
I flash the twrp for galaxy nexus in this way:
fastboot flash recovery openrecovery......
and it seems flashed but when I try to boot into twrp it failed and reboot the operating system
I also tried to flash twrp via gooManager... it says "recovery has been installed" but I get the same problem
Click to expand...
Click to collapse
try with nexus root tool kit

Device bricked? No adb-access

Hello!
My Oppo Find 7 (international) seems to be bricked.
I'm on stock ROM COS 1.2.5 with stock recovery 1.0
After booting it stuck in the Setup-Wizzard with "settings has stopped"-Loop.
Unfortunately in stock-ROMs the USB-debugging is disabled, so i can't acces via adb fastboot to flash other recoverys.
And cause of the loop i can not enable USB-debugging...
The recovery (stock 1.0) let me only flash 1.2.5, no other ROMs work.
Things that work:
- entering fastboot (but no access via adb as i wrote)
- entering recovery and execute "zip from sd" (while sd means only internal sd here)
- normal boot to the f****** Setup-Assistant, enter PIN. At slect Language the "setting has stopped"-loop starts
- while the device is in loop, i can access the internal and external SD-card via PC, copy and delete files works
Please, has anybody an idea what to do ?
Thanks to all
Marco
Since you can get into fastboot, download a custom recovery, go to fastboot, type
fastboot flash recovery x
Replacing x with the full name and extension of the file, and install a ROM. Alternatively, if you want ColorOS, try downloading 1.2.4i, and installing it through the stock recovery. Then you can update from there
Hmmmm....
Positive! At this moment i learned that USB-debugging is needed for adb-access on a booted device, not for fastboot-access
Yes, i could flash TWRP via fastboot (puuhh, not bricked)
THANKS !!
Now i can mess around the "settings has closed"-Loop, wich is still in place.
(No wiping fixes the problem, even 1.2.1 nor 1.2.3 or whatever)
But i'm on the road again and can check out fixes.
Thanks again!!
That's weird. Did you ever install custom ROMs before having this issue?
Did you try formatting System in TWRP? But be careful, when you format System you have to install stock Color OS BEFORE rebooting your device. That means stay in TWRP after you format and install the ROM, then reboot.

OS is completely gone on my HTC one X

Hi!
I lend my HTC one X to my friend that said that he would boost my phone up to KitKat 4.4.4. But he returned it completely blank. I am pretty sure he erased the whole system.
When I start the device it stops at the HTC logo. I am able to enter the bootloader and it says "Unlocked". When I enter "Recovery" the device loads a grey screen with a couple of options. The main title is "ClockworkMod Recovery v6.0.4.8".
When I connect my phone to the PC it shows the device ( H: ).
Please help, how do I restore my phone? I don't care if it is rooted or not. I just want it to work again.
Kind regards,
Alexander
you can restore your phone either by nandroid backup or by flashing a custom rom..
Poojan Patel said:
you can restore your phone either by nandroid backup or by flashing a custom rom..
Click to expand...
Click to collapse
I am not so good at this. Did I not have to have made a backup in nandroid before things got out of hand? The storage seems to be totally deleted. How do I put in an OS again?
I tried to use adb but I might have done it wrong because my PC says that there are no devices found. Are you able to help me?
alera207 said:
I am not so good at this. Did I not have to have made a backup in nandroid before things got out of hand? The storage seems to be totally deleted. How do I put in an OS again?
I tried to use adb but I might have done it wrong because my PC says that there are no devices found. Are you able to help me?
Click to expand...
Click to collapse
Download any custom rom, boot into recovery,connect the phone to pc,select usb mass storage in recovery,copy custom rom file and flash.
Poojan Patel said:
Download any custom rom, boot into recovery,connect the phone to pc,select usb mass storage in recovery,copy custom rom file and flash.
Click to expand...
Click to collapse
aaah, okey.
How do I transfer nandroid to my phone? I'm unable to connect my phone to my PC, it makes the sound that the PC found my phone but it does not pop up anymore. Tried to search on google and when I looked in sdcard/clockworkmod/ the folder is empty.
Do you have a guide on how to use this? I do not know if it is possible but i am afraid that my friend has erased all data.
Saviour
Follow the steps
-Download latest cyanogenmod nightly(endeavoru) from their website.
-Extract boot.img from the zip.
-Download latest Gapps. Google PA gapps and download the gapps which suits you, from the xda thread.
-Download ONEXROOT.zip from http://downloadandroidrom.com/file/HTCOneX/root
-Extract the zip,name it as 'onexroot' and copy the extracted boot.img to the folder.
-Power phone in fastboot mode.
-While in the onexroot folder, press shift key and right click, open command terminal here.
-type 'fastboot flash boot boot.img'
-Go to cwm recovery and mount your internal storage.
-Copy the cyanogenmod and gapps zip in internal storage
-Install/Flash the cyanogenmod and gapps zip.
-Reboot phone. Kitkat instaled.
INDIAN-MAfIA said:
Follow the steps
-Download latest cyanogenmod nightly(endeavoru) from their website.
-Extract boot.img from the zip.
-Download latest Gapps. Google PA gapps and download the gapps which suits you, from the xda thread.
-Download ONEXROOT.zip from
-Extract the zip,name it as 'onexroot' and copy the extracted boot.img to the folder.
-Power phone in fastboot mode.
-While in the onexroot folder, press shift key and right click, open command terminal here.
-type 'fastboot flash boot boot.img'
-Go to cwm recovery and mount your internal storage.
-Copy the cyanogenmod and gapps zip in internal storage
-Install/Flash the cyanogenmod and gapps zip.
-Reboot phone. Kitkat instaled.
Click to expand...
Click to collapse
Thank you for a good guide but I got stuck on 'Go to cwm recovery and mount your internal storage'
What I have available in the main menu (IMG_1) is 'mounts and storage'. When I select that I have the options from IMG_2 and IMG_3. If i Choose mount USB storage the device shows IMG_4 but nothing happens.
Am I doing it wrong? The only thing that happens is when I connect my device to the computer, it makes the sound as if it was found.
Try flashing this recovery. http://d-h.st/nmh
Download the image and put it in the onexroot folder.
In fastboot mode, type fastboot flash recovery <name-of-recovery/file>.img
Did this because the cwm mount never worked for me too :/
INDIAN-MAfIA said:
Try flashing this recovery.
Download the image and put it in the onexroot folder.
In fastboot mode, type fastboot flash recovery <name-of-recovery/file>.img
Did this because the cwm mount never worked for me too :/
Click to expand...
Click to collapse
Great thanks!
Works like a charm!

i tried some stuff to change the rom i am lost please help

software status modified i wand to use linieageos with gapps and recovery TWRP somone to help me stap by step and save my life!!!!
love you all
You need to download the latest twrp for the Z2F/Nash from the TWRP site. One of the files is the twrp installer, which should be moved to your z2's sdcard. The img file stays on a PC.
Before you do anything, the Android platform tools should be present. Or you can instead install minimal adb/fastboot from XDA. Once you boot twrp you have to format data and type yes, so the rom and other files should be on an SD card. Alternatively, one may opt for adb sideload.
1.Flash LOS. Without rebooting, flash the twrp installer otherwise it won't stick.
2.Reboot recovery and flash gapps, then reboot recovery again
3. Reboot system

Categories

Resources