Hello, I just received my leeco, But I received it with a modified rom
I have try to install TWRP recovery, for recovery its good It is installed
But since the phone dosent started he stay on the logo leeco android As if there were no rom
So I tried to push a rom via ADB but I have a closed error, and Since the recovery I can not mount the system or the SD on my PC for copy rom
i try this :
C:\Program Files (x86)\Minimal ADB and Fastboot> adb sideload leco.zip
loading: 'leco.zip'
* cannot read 'leco.zip' *
C:\Program Files (x86)\Minimal ADB and Fastboot> adb push leco.zip /data/media/0/
adb: error: connect failed: closed
I do not know what to do
EDIT : in recovery he says me he have not rom installed, so i think usb debuging is desactivated
thanks
Nobody ?
Haha i have find how to, If it can help some
http://www.gizmochina.com/2016/11/20/leeco-x820-max-2-super-unbrick-guide/
Man, honestly your English sucks big time. I had to read 3-4 times to get the point and still I'm confused. Are you sure that you have installed a ROM after you successfully installed TWRP? I don't think there is something wrong if you don't have USB debugging enabled while you're installing a ROM in TWRP, but maybe I'm wrong. Still, the "leco.zip" looks very fishy.
Still, I would really recommend you to ask a fellow of your country (that speaks the same language) to help you somehow as you can explain your problem much better and you would overcome the language barrier.
Simple English - steps to install a ROM:
1. Install TWRP
2. Mount USB in TWRP
3. Copy ROM to Internal Storage
4. Wipe Dalvik, Cache and System
5. Install ROM
6. OPTIONAL - In TWRP you can install SuperSU 2.78 to have root (if you're installing Stock ROM)
7. Reboot
Good luck!
Sorry I don't speak English very well
So I have success debrick my phone
But before that, mount USB storage since twrp doesn't work. Adb push too
Related
my phone wont go past HTC starting screen.
How can i flash stock att rom ?
I am stuck. suggestions appreciated.
Why won't it? What did you do to get to this state? What did you flash?
The more details you give...the more likely someone will be able to help you!
well i have unlocked bootloader.
i flashed one mod for extended power menu and after that my phone wont go past HTC one screen so i wiped and did factory reset still phone wont boot.
I went in to recovery menu and formated system and now i dont know how to flash stock rom.
varuun said:
well i have unlocked bootloader.
i flashed one mod for extended power menu and after that my phone wont go past HTC one screen so i wiped and did factory reset still phone wont boot.
I went in to recovery menu and formated system and now i dont know how to flash stock rom.
Click to expand...
Click to collapse
Here is all you need to know.
HTC One FAQ
I take it you did not make a NAND backup?? Always advised to make a BU before flashing anything!
What recovery did you install?
shawman said:
Here is all you need to know.
HTC One FAQ
Click to expand...
Click to collapse
Somehow i can not access USB storage so in this case how can i put rom into internal storage?
varuun said:
Somehow i can not access USB storage so in this case how can i put rom into internal storage?
Click to expand...
Click to collapse
ADB Sideload it. Here's the stock Deodexed ROM I used when I had that problem.
Download a ROM that you want to flash. Use ADB Sideload method.
Have a recovery installed on your device that supports ADB sideload like TWRP 2.3 or higher.
Set the device into ADB sideload mode. In TWRP you do this by going to Advanced then ADB Sideload.
From the command line, type adb sideload /path/to/rom.zip (e.g., adb sideload C:/ADB/[name of ROM].zip...or open the command prompt when in your adb folder; in Windows 7, go to your adb folder on your pc...use shift and right-click, open command window here...then just type
adb sideload [name of ROM].zip)
The file will be copied to your device to whatever the current storage location is that you have selected in the mount page. It will always be placed in the root of that storage location and named sideload.zip (e.g. /sdcard/sideload.zip) and it will automatically delete / overwrite any existing sideload.zip you may have on your device. As soon as the file is copied to your device, it will automatically be installed. When the install is finished you will be presented with a reboot system button so that you can reboot to test your zip.
wmg316 said:
Download a ROM that you want to flash. Use ADB Sideload method.
Have a recovery installed on your device that supports ADB sideload like TWRP 2.3 or higher.
Set the device into ADB sideload mode. In TWRP you do this by going to Advanced then ADB Sideload.
From the command line, type adb sideload /path/to/rom.zip (e.g., adb sideload C:/ADB/[name of ROM].zip...or open the command prompt when in your adb folder; in Windows 7, go to your adb folder on your pc...use shift and right-click, open command window here...then just type
adb sideload [name of ROM].zip)
The file will be copied to your device to whatever the current storage location is that you have selected in the mount page. It will always be placed in the root of that storage location and named sideload.zip (e.g. /sdcard/sideload.zip) and it will automatically delete / overwrite any existing sideload.zip you may have on your device. As soon as the file is copied to your device, it will automatically be installed. When the install is finished you will be presented with a reboot system button so that you can reboot to test your zip.
Click to expand...
Click to collapse
..... Is that..... Mike G.??? You're an Android Guy too!
That's me! Who is this?
wmg316 said:
That's me! Who is this?
Click to expand...
Click to collapse
Josh S. from Landmark
Small world!!
wmg316 said:
Small world!!
Click to expand...
Click to collapse
No kidding.
P.S TrickDroid is a pretty sweet ROM.
Hi
I am doing as you said but i am getting attached screen. its not working for me.
wmg316 said:
Download a ROM that you want to flash. Use ADB Sideload method.
Have a recovery installed on your device that supports ADB sideload like TWRP 2.3 or higher.
Set the device into ADB sideload mode. In TWRP you do this by going to Advanced then ADB Sideload.
From the command line, type adb sideload /path/to/rom.zip (e.g., adb sideload C:/ADB/[name of ROM].zip...or open the command prompt when in your adb folder; in Windows 7, go to your adb folder on your pc...use shift and right-click, open command window here...then just type
adb sideload [name of ROM].zip)
The file will be copied to your device to whatever the current storage location is that you have selected in the mount page. It will always be placed in the root of that storage location and named sideload.zip (e.g. /sdcard/sideload.zip) and it will automatically delete / overwrite any existing sideload.zip you may have on your device. As soon as the file is copied to your device, it will automatically be installed. When the install is finished you will be presented with a reboot system button so that you can reboot to test your zip.
Click to expand...
Click to collapse
Do you have TWRP recovery?
If so, did you boot device to recovery?
If so, did you then select Advanced, ADB Sideload...then swipe to start?
THEN...run the command adb sideload One_1.29.401.13_deodexed.zip
EDIT:
ADB Sideload does not work until you are in recovery, and select and run adb sideload within recovery.
Also, if you get device not recognized...run:
adb kill-server
adb start-server
then try adb sideload again...
i have clockworkmod recovery v6.0.3.1
I booted into recovery then selected install zip from sideload. but its not working as it suppose to. Am i doing something wrong?
varuun said:
i have clockworkmod recovery v6.0.3.1
I booted into recovery then selected install zip from sideload. but its not working as it suppose to. Am i doing something wrong?
Click to expand...
Click to collapse
"Fastboot erase cache"
when i checked log in to recovery its says that"failed to open adb driver control:no such file or directory"
and when i type adb devices it says
"
C:\fastboot>adb devices
List of devices attached
HT348W900356 host
"
Any clue?
I don't use CWM, so don't know anything about it. Try buying a USB-OTG cable, get a USB stick (USB flash drive) and put the ROM on the USB stick, connect USB stick to phone and mount USB-OTG in recovery. Flash from that. That's the only other thing I can think of.
Sent from my HTC One using Tapatalk 2
varuun said:
when i checked log in to recovery its says that"failed to open adb driver control:no such file or directory"
and when i type adb devices it says
"
C:\fastboot>adb devices
List of devices attached
HT348W900356 host
"
Any clue?
Click to expand...
Click to collapse
Do you have HTC Sync Manager installed? Do you have all the HTC Drivers?
UPDATE!
Finally got it working. All in one tool kit + adb sideload the rom = win
Hope this helps anyone else in the future that does this!
So I formatted data and have no ROM to flash anymore - I'm trying to mount USB but it keeps saying "E: Unable to oust 'usb-otg' - How can I get this thing to mount so I can flash my ROM back on and use the phone again!
TWRP Recovery is what I'm using if that helps
Edit: Update!
I also ran into a similar predicament a few days ago. I found adb push to be much easier than sideload. Make sure that your drivers and adb is installed on your PC (I assume Windows). In recovery mode, plug phone into USB and your PC should detect the phone but you won't be able to see phone contents; mine made a connection sound.
Then open a command prompt and type: adb push ROM.zip /data/media/ROM.zip
Rom.zip is the rom file that you want to flash, which should be in the same folder as adb. For the path, I used "/data/media" because the custom recovery defaults to that but you may be able to use "/sdcard" as well.
Then flash the rom using recovery
Click to expand...
Click to collapse
Tried to do this as well, moved AR 10.3 rom to adb folder, did the push command and it couldn't find/connect to device.
Would finding a non-aroma rom and flashing it using fastboot work?
so.... I screwed up & wiped my dna. no recovery img, nothing left on it a side from recovery.
i have team win v2.5.0.0
been trying to use adb sideload to install another rom. my pc recognizes the phone & i get adb running. been trying this method:
going to "advanced" in recovery, then:
adb /kill-server
adb usb
starting up "adb sideload",
adb devices
adb sideload (romname)
every single time, it keeps saying - *failed to write data 'protocol fault (no status)' *
anyone else experience this and know how to fix it?
FIXED!!!!!!!!
--------------------------
Rather then do "sideload", I just stayed in 'Advanced' and performed:
adb /kill-server
adb usb
adb push (romname) /sdcard
it successfully copied the rom to the sdcard folder, then I was able to install the rom just fine.
Thanks mate! You just saved my day.
I had the exact same problem and couldn't get sideload to work in TWRP 2.7.0.0 on Nexus5. But simple "adb push..." worked.
this doesn't work
thank you very much, you saved my day,too.
voxigenboy said:
so.... I screwed up & wiped my dna. no recovery img, nothing left on it a side from recovery.
i have team win v2.5.0.0
been trying to use adb sideload to install another rom. my pc recognizes the phone & i get adb running. been trying this method:
going to "advanced" in recovery, then:
adb /kill-server
adb usb
starting up "adb sideload",
adb devices
adb sideload (romname)
every single time, it keeps saying - *failed to write data 'protocol fault (no status)' *
anyone else experience this and know how to fix it?
FIXED!!!!!!!!
--------------------------
Rather then do "sideload", I just stayed in 'Advanced' and performed:
adb /kill-server
adb usb
adb push (romname) /sdcard
it successfully copied the rom to the sdcard folder, then I was able to install the rom just fine.
Click to expand...
Click to collapse
Thanks man... you just saved me a ton of trouble. Tried this on the Nexus 4 and works like a charm! :good:
just wanted to say thanks!
for some odd reason, my twrp (even though its the latest for my nexus7 grouper) had the same flashing no status error)
used the kill, usb, and push commands to copy over 3 different zips (rom,kernel,gapps) and it all copied over ready to flash
thanks!
23468
seriously thanks mate! work like charm :good::good:
for me it copies the small files but my rom is 1gb plus it gives me the error 'protocol failure' can some one give me a helping hand here?
please?
Same Issue
jacktackle said:
for me it copies the small files but my rom is 1gb plus it gives me the error 'protocol failure' can some one give me a helping hand here?
please?
Click to expand...
Click to collapse
Three days and All I can do is flash a recovery. Insertcoint goes though and says it's installed but nothing but HTC Screen
voxigenboy said:
so.... I screwed up & wiped my dna. no recovery img, nothing left on it a side from recovery.
i have team win v2.5.0.0
been trying to use adb sideload to install another rom. my pc recognizes the phone & i get adb running. been trying this method:
going to "advanced" in recovery, then:
adb /kill-server
adb usb
starting up "adb sideload",
adb devices
adb sideload (romname)
every single time, it keeps saying - *failed to write data 'protocol fault (no status)' *
anyone else experience this and know how to fix it?
FIXED!!!!!!!!
--------------------------
Rather then do "sideload", I just stayed in 'Advanced' and performed:
adb /kill-server
adb usb
adb push (romname) /sdcard
it successfully copied the rom to the sdcard folder, then I was able to install the rom just fine.
Click to expand...
Click to collapse
Thanks man. You're lifesaver
Awesome, this worked for me too
HELP
I have htc one s somthing wrong happend turned the storage from 16 giga into 48 mega byts i cant get back my storage what to do please help me* i still can push roms but i cant because there is no storage what to do
mahmoud hakim said:
I have htc one s somthing wrong happend turned the storage from 16 giga into 48 mega byts i cant get back my storage what to do please help me* i still can push roms but i cant because there is no storage what to do
Click to expand...
Click to collapse
Can you ruu. Then do a factory restore. That should reset the partition
This does not work for me. Firstly, I tried installing Cyanogenmod by putting it on my internal SD card, then booting to recovery and installing the zip, and this did not work. So I tried to sideload it and got the error " * failed to write data 'protocol fault (no status)' * ". I don't know what to do. I've also tried the same with Paranoid Android but I get the same errors. Any help would be greatly appreciated.
derekokelly said:
This does not work for me. Firstly, I tried installing Cyanogenmod by putting it on my internal SD card, then booting to recovery and installing the zip, and this did not work. So I tried to sideload it and got the error " * failed to write data 'protocol fault (no status)' * ". I don't know what to do. I've also tried the same with Paranoid Android but I get the same errors. Any help would be greatly appreciated.
Click to expand...
Click to collapse
Exact same problem I have, any suggestions?
try changing to usb 2.0, usb 3.0 sometimes not working with adb command.
much love
Thanks for saving the day voxigenboy!!! I love you man. lol
And for those that simply can't get their stupid computer to recognize the LG drivers... PDANet wins with whatever voodoo they freaking use!
Thanks for your help, rescued my evening!
voxigenboy said:
so.... I screwed up & wiped my dna. no recovery img, nothing left on it a side from recovery.
i have team win v2.5.0.0
been trying to use adb sideload to install another rom. my pc recognizes the phone & i get adb running. been trying this method:
going to "advanced" in recovery, then:
adb /kill-server
adb usb
starting up "adb sideload",
adb devices
adb sideload (romname)
every single time, it keeps saying - *failed to write data 'protocol fault (no status)' *
anyone else experience this and know how to fix it?
FIXED!!!!!!!!
--------------------------
Rather then do "sideload", I just stayed in 'Advanced' and performed:
adb /kill-server
adb usb
adb push (romname) /sdcard
it successfully copied the rom to the sdcard folder, then I was able to install the rom just fine.
Click to expand...
Click to collapse
I'm sorry, that's a bit confusing.
So are u suggesting to "sideload" by:
adb /kill-server
adb usb
starting up "adb sideload",
adb devices
adb sideload (romname)?
Waiting for your response.
Zenfone 5 a501cg (India) (WW)
Stock Recovery
This didn't work for me but I found this other way of passing the archive to my phone :
https://www.youtube.com/watch?v=Z3SpI7m7mFI
So...some mistake in update-script with setperm on stock slot and now I have a device:
- device is turning on
- clean, pure unregistered stock firmware
- adb work (pull/push)
- adb shell/install doesn't work (bin/sh not found)
- adb backup/restore doesn't work
- i have no safestrap (its missing after unsuccessful flashing)
- com.amazon.dcp.apk renamed, so future ota doesnt help
- wifi bluetooth doesn't work (no mac-address)
- I can copy files to/from sdcard
- i have su and daemonsu in /xbin (maybe....)
Any method to install apk ? Something like "file:///sdcard.1apk" like other android device, or maybe through silk debugging I could make same html-code to access sdcard? or fastboot flashing something to restore to stock. If I could install safestrap or es file explorer its would be great...
Thanks. Sorry my English.
./adb install mypackage.apk
on linux or
adb install mypackage.apk
on windows
dieter_m said:
./adb install mypackage.apk
on linux or
adb install mypackage.apk
on windows
Click to expand...
Click to collapse
As a note and just to clear it up a little, should someone find this while researching. When i was looking for this command and found the answer elsewhere, it wasn't quite clear on where the APK was taken from. It's from the system you issue the command from, not the device where you want the APK to be installed.
So for example. If you have the APK on your harddrive (D:\) in windows, you would issue this command in the command line:
adb install D:\APK_to_be_installed.apk
Adb install doesn't work, I already write this.
Hey xda members,
My name is Pierre, from France and new owner of X820 version 6GB 64GB (from Aliexpress).
I made a big mistake yesterday, wiping from TWRP all data (Sytem, applications etc.)
Now if I put "ON" again, it is just showing "EUI" logo, without end
I have still access to TWRP but no backup, not .img loaded in the phone.
I can't connect and load from USB the ROM, so I am honestly lost.
If you have just any idea,how to solve it! Please let me know
Thank you very much, and good evening,
TWRP has a backup solution for you. I did this same misstake like you.
In Advanced settings you can run ADB SIDELOAD.
I hope you have proper ADB drivers in your PC and command prompt in Windows is your friend.
With ADB SIDELOAD you can install ROM from your PC via USB to your bricked phone. ADB uses whole base of commands to control what you can do.
Follow this steps:
https://forum.xda-developers.com/showthread.php?t=2318497
Twrp also supports MTP so you should also be able to copy a rom on the sdcard when in twrp.
just use:
fastboot boot twrp.img (if TWRP you have in twrp.img file)
mobile boot in TWRP
then
adb push rom_file.zip /sdcard
after OK just install that rom from SDCARD via TWRP...
Thank you Razor, mikey and cr3pt !
If I am not mistaken, you provide me: 2 different solutions (ADB Sileload or abd push ROM).
It does mean, if I select the "one more easy" :
1. I boot in TWRP my phone
2. connect by USB (ADB drivers must be installed). Usually it is written MTP or "Android" but I can't see the external drive in Win10.
3 Then adb push rom_file.zip /sdcard in the Wincommand
4. wait and after disconnect USB
Then I will find the ROM to install in my phone.
Is it correct?
Yes
If you have TWRP, connect the phone to your computer, mount storage in TWRP, copy the rom of your choice, and install it. That simple
Sent from my Le X821 using Tapatalk
I use TWRP and always just drag and drop the ROM zip from PC to the phone's internal storage and it shows up in TWRP under install. It's super easy. As long as you have the correct drivers installed on your PC you shouldn't need to use adb.
kanagawaben said:
I use TWRP and always just drag and drop the ROM zip from PC to the phone's internal storage and it shows up in TWRP under install. It's super easy. As long as you have the correct drivers installed on your PC you shouldn't need to use adb.
Click to expand...
Click to collapse
Hey
My computer (Win 10) does NOT recognized sometimes: MTP, or sometime "Android". So in fact, I never the external storage in my windows.
That is why I can not simply "drop" unfortunately.
Should I maybe install ADB again?
install ADB, all necessary drivers. without that you can only dream about correct fix'a
piyerre said:
Hey
My computer (Win 10) does NOT recognized sometimes: MTP, or sometime "Android". So in fact, I never the external storage in my windows.
That is why I can not simply "drop" unfortunately.
Should I maybe install ADB again?
Click to expand...
Click to collapse
I'd try to start again clean. First completely remove adb and android device drivers from your computer. Then boot your phone into TWRP and connect it by usb to your computer and see if it auto installs the right drivers. If not, I guess you have to find where to download them from to install manually.
cr3pt said:
install ADB, all necessary drivers. without that you can only dream about correct fix'a
Click to expand...
Click to collapse
Can you give me please a link with the correct ADB and the correct drivers.?
I can't see the external drive even if adb devices gives me OK result.
Thank you,
you don't need external drive - correct is adb device. just push file when is visible in device manager
Hello !
It does work perfect, I finally use the "adb push" function!
Thank you very much all
cr3pt said:
just use:
fastboot boot twrp.img (if TWRP you have in twrp.img file)
mobile boot in TWRP
then
adb push rom_file.zip /sdcard
after OK just install that rom from SDCARD via TWRP...
Click to expand...
Click to collapse
It works! Thank you very very much!
Bro Its is new security added in windows 10... U can only install official and signed drivers in windows 10.. U should turn it off.. only then u can access adb and fastboot...
One more thing bro...
If u have lost every thing, but u r able to boot in twrp, then follow me:
1. Download any rom for le max 2 U want to
2. After downloading,copy it in ur pendrive
3.Boot in twrp
4.connect the pendrive to ur device using OTG adapter
5.Mount USB storage
6.wipe every thing again.
7.After installation,reboot
8.first boot may take time and then wgwghrussuwgskaaiiawg (U know the rest??)