Hi guys,
I have in my hand an International One X (Endeavour PVT SHIP S-ON) completely bricked.
It’s unlocked and with CWM recovery 5.8.2.7
The SDcard, Cache, Data and System were formatted
So I need to find a way to put it running again, and I would like some tips.
What's the fist step from this point?
I think I need to mount every folder and format... Is it?
And how to flash a new kernel and a new ROM from PC? Or how to put inside the SDcard the necessary zip files to install from CWM?
I'd appreciate if you could help me.
Thanks!
If you can access recovery, mount USB and put a ROM on the SD card after you extract the boot.img file and put it in your fastboot directory. Then reboot back to boot loader, run fastboot erase cache, fastboot flash boot boot.img and fastboot erase cache. Boot into recovery again, flash ROM, win?
One thing to add:
First and foremost upgrade your cwm recovery to 5.8 4.0 to prevent any problems with usb mounting and charging.
Sent from my HTC One X using xda premium
scream_clarity said:
If you can access recovery, mount USB and put a ROM on the SD card after you extract the boot.img file and put it in your fastboot directory. Then reboot back to boot loader, run fastboot erase cache, fastboot flash boot boot.img and fastboot erase cache. Boot into recovery again, flash ROM, win?
Click to expand...
Click to collapse
Ps.: CWM 5.8.4.0 installed
HEY !!!!!!!!!!!!!!!!!!
The new CWM mouted USB fine !!!!
Lets go to the next step !!!!
There is no folders into sdcard...
What should I do Now?!
See my post above
Use
fastboot flash recovery <name of recovery image file>.img
To flash recovery
Sent from my HTC One X using xda premium
eyosen said:
See my post above
Use
fastboot flash recovery <name of recovery image file>.img
To flash recovery
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I have no image file...
Could I put the rom (rom_name.zip) file into sdcard and install it?
And how about the kernel? should I install a kernel first?
And about the SDcard folders!? Will the new ROM create them?
You need to take the boot.img file out of the ROM zip and flash it with fastboot flash boot boot.img
---------- Post added at 08:13 PM ---------- Previous post was at 07:58 PM ----------
Here's a quick step by step.
1, if the ROM.zip is on your desktop, open it and drag the boot.img file to the desk top, then put it in with your fastboot files which is the same place you put the recovery.img.
2, in fastboot mode, type fastboot erase cahce, fastboot flash boot boot.img, fastboot erase cache.
3, boot into recovery, if the ROM.zip isn't already on your phone, mount it and place it on the phone.
4, unmount, then flash the ROM.zip by selecting 'choose zip file to flash, erase cache, dalvic and wipe battery permissions, reboot.
---------- Post added at 08:21 PM ---------- Previous post was at 08:13 PM ----------
The boot.img in the ROM.zip is the kernel. So once you remove it, flash it with the command above, then install the ROM.zip with instructions above, the new installation will make everything needed on the SD card.
Sent from my HTC One X using xda premium
scream_clarity said:
You need to take the boot.img file out of the ROM zip and flash it with fastboot flash boot boot.img
---------- Post added at 08:13 PM ---------- Previous post was at 07:58 PM ----------
Here's a quick step by step.
1, if the ROM.zip is on your desktop, open it and drag the boot.img file to the desk top, then put it in with your fastboot files which is the same place you put the recovery.img.
2, in fastboot mode, type fastboot erase cahce, fastboot flash boot boot.img, fastboot erase cache.
3, boot into recovery, if the ROM.zip isn't already on your phone, mount it and place it on the phone.
4, unmount, then flash the ROM.zip by selecting 'choose zip file to flash, erase cache, dalvic and wipe battery permissions, reboot.
---------- Post added at 08:21 PM ---------- Previous post was at 08:13 PM ----------
The boot.img in the ROM.zip is the kernel. So once you remove it, flash it with the command above, then install the ROM.zip with instructions above, the new installation will make everything needed on the SD card.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
GUYS, YOU ARE Amazing !!!!
ALL WORKING !!!!
TX A LOT !!!
Any time. Glad you're up and running.
Sent from my HTC One X using xda premium
Roberto_Sampaio said:
GUYS, YOU ARE Amazing !!!!
ALL WORKING !!!!
TX A LOT !!!
Click to expand...
Click to collapse
Well then i think you owe some thanx by pressing the thanx button of all the helpful posts!
Sent witH desire from One X
Related
Hi,
I got a HTC One X (JB, ARHD 19.2)
I'd like to use the XM-Kernel (http://forum.xda-developers.com/show....php?t=2136731)
but I don't understand the 4th instruction here given in the kernel thread.
"1.Install modules from recovery (Install the zip)
2.Wipe dalvik cache.
3.Erase fastboot cache
4.Flash kernel image with fastboot"
Flash kernel image with fastboot ?
Do I have to unzip the kernel on my computer, use the " new_boot.img " file inside the folder ?
So... The question is : Where's the kernel image ??
the boot.img could be in the .zip file. open it and check it......i dont know if its need to be repacked for the rom you are using by the way....
Open the xmkernel zip and extract 'boot.img' or 'senseboot.img' to your fastboot folder. Copy the intact zip to your sdcard and flash in cwm after flashing kernel. Xmister advises that no repacking is required, but I used the online service anyway.
Thanks for this post, answered my queston. One more thing:
Is there a specific fastboot command for flashing kernal image like there is for, say, boot.img
i.e. fastboot flash boot boot.img?
iang265 said:
Thanks for this post, answered my queston. One more thing:
Is there a specific fastboot command for flashing kernal image like there is for, say, boot.img
i.e. fastboot flash boot boot.img?
Click to expand...
Click to collapse
Yes its
Fastboot erase cache
Fastboot flash boot boot.img
Fastboot erase cache
And as additional info, if you ever made a nandroid backup with twrp recovery you get a boot.emmc.win file (its the boot.img)
Fastboot erase cache
Fastboot flash boot boot.emmc.win
Fastboot erase cache
Mr Hofs said:
Yes its
Fastboot erase cache
Fastboot flash boot boot.img
Fastboot erase cache
And as additional info, if you ever made a nandroid backup with twrp recovery you get a boot.emmc.win file (its the boot.img)
Fastboot erase cache
Fastboot flash boot boot.emmc.win
Fastboot erase cache
Click to expand...
Click to collapse
Thank you, it's worked a treat. :good:
as title says ive tried loads of stuff and seem to have hit a brick wall.
tried to root phone and thats when it went wrong
system info is
3.14.206.27 version
s on
boot is hboot 1.36.0000
boot loader unlocked
tried recovery from and it comes up with errors it wont flash files over can mount sd card and stuff like that
last night when i was tired i had formated all the storage in the phone got clockworkmod recovery 5.8.3.1 on it
wont recover the O2_001 3.14 Stock JB comes up with errors tried through adb and get an error about a buffer stack.
im running windows 7 any help would be great or if some one near nottinginham i can take the phone too and ither buy drinks or cash to sort it
First flash cwm 5.8.4.0
http://db.tt/Krlm4dPs
Put the file in the fastboot folder and rename it to recovery.img
Put the phone in the bootloader and open a command prompt inside the fastboot folder. Point in the folder, hold shift and right click the mouse - select open command window here
Then type
Fastboot erase cache
Fastboot flash recovery recovery.img
Fastboot erase cache
Then download a rom of your choice, open the rom.zip and copy the boot.img file to the fastboot folder.
Flash that too
Fastboot flash boot boot.img
Fastboot erase cache
Then enter the recovery and mount the sdcard as a mass storage device and copy the rom.zip to it.
Then make a full wipe....
factory reset
Wipe cache partition
Advanced - wipe dalvik cache
Mounts and storage - format cache,data,system
Then install the rom.zip
Mr Hofs said:
First flash cwm 5.8.4.0
Put the file in the fastboot folder and rename it to recovery.img
Put the phone in the bootloader and open a command prompt inside the fastboot folder. Point in the folder, hold shift and right click the mouse - select open command window here
Then type
Fastboot erase cache
Fastboot flash recovery recovery.img
Fastboot erase cache
Then download a rom of your choice, open the rom.zip and copy the boot.img file to the fastboot folder.
Flash that too
Fastboot flash boot boot.img
Fastboot erase cache
Then enter the recovery and mount the sdcard as a mass storage device and copy the rom.zip to it.
Then make a full wipe....
factory reset
Wipe cache partition
Advanced - wipe dalvik cache
Mounts and storage - format cache,data,system
Then install the rom.zip
Click to expand...
Click to collapse
thank you so much i got viper on the phone then copyd the o2 nandroid backup to the phone and it recoverd ok
Good !
CASE CLOSED !
SO, i'm trying to ADB sideload the latest firmware (MRA58V), but when I go to the google developers website, it downloads in a .TGZ file.
https://developers.google.com/android/nexus/images
I've tried changing it to .ZIP, then flashing, but it fails invalid signature.
What am I doing wrong?
Thanks,
Thread moved to proper forum
Simply flash the .img files inside the zip with fastboot. Takes 2-3 minutes.
Since only boot and system changed that's all you need to flash.
The commands I used today for 6.0.1:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot format cache
fastboot reboot
That's it, doesn't wipe anything.
yosmokinman said:
Simply flash the .img files inside the zip with fastboot. Takes 2-3 minutes.
Since only boot and system changed that's all you need to flash.
The commands I used today for 6.0.1:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot format cache
fastboot reboot
That's it, doesn't wipe anything.
Click to expand...
Click to collapse
Thanks worked perfect.
Sent from my SM-G920T using XDA Free mobile app
Can anyone pls tell me where I can download stock rom for (lenovo) p2 preferable in zip format . And is there any unbricking tutorial .
I want this too...? if anyone can help...
I have found the stock ROM, I bricked my device in the rooting process, and am unable to flash the complete stock image, because the device reports "unable to flash bootloader on unlocked device"
itsjustbilly said:
I have found the stock ROM, I bricked my device in the rooting process, and am unable to flash the complete stock image, because the device reports "unable to flash bootloader on unlocked device"
Click to expand...
Click to collapse
Hi, because you should not flash bootloader.
you can try those 2 solutions:
the fast one, it should work. The flashall command flash every.img files he find in the fastboot directory. So try to remove the bootlader.img and execute the flashall command.
the manual one (longer one):
Put only the recovery.img, boot.img, and the system.img files ( you should have something like 13 , named "systemchunk0/12.img") in your fastboot directory and flash with fastboot ( the command is always the same: fastboot flash recovery recovery.img, fastboot flash boot boot.img, and for every single part of system.img you should flash like "fastboot flash systemchunk0(until 12).img " so you flash flash 13 times the system with avery 13 parts .
Sorry for my english i hope you solved that
itsjustbilly said:
I have found the stock ROM, I bricked my device in the rooting process, and am unable to flash the complete stock image, because the device reports "unable to flash bootloader on unlocked device"
Click to expand...
Click to collapse
Then share it no
I'll post links when I get to my computer, but they're not Cwm flash able zips, they are fast boot files that you flash from DOS on a pc
---------- Post added at 09:39 AM ---------- Previous post was at 09:37 AM ----------
aleleo87 said:
Hi, because you should not flash bootloader.
you can try those 2 solutions:
the fast one, it should work. The flashall command flash every.img files he find in the fastboot directory. So try to remove the bootlader.img and execute the flashall command.
the manual one (longer one):
Put only the recovery.img, boot.img, and the system.img files ( you should have something like 13 , named "systemchunk0/12.img") in your fastboot directory and flash with fastboot ( the command is always the same: fastboot flash recovery recovery.img, fastboot flash boot boot.img, and for every single part of system.img you should flash like "fastboot flash systemchunk0(until 12).img " so you flash flash 13 times the system with avery 13 parts .
Sorry for my english i hope you solved that
Click to expand...
Click to collapse
I did try this, but I still have no signal because the modem file is part of the bootloader, and no modem means no mobile signal
itsjustbilly said:
I'll post links when I get to my computer, but they're not Cwm flash able zips, they are fast boot files that you flash from DOS on a pc
---------- Post added at 09:39 AM ---------- Previous post was at 09:37 AM ----------
I did try this, but I still have no signal because the modem file is part of the bootloader, and no modem means no mobile signal
Click to expand...
Click to collapse
Ah ok i didnt understand that you have this modem issue. I don't kno how to help you...you phone is bricked so you can test few solutions without more risks .
before flash the original recovery , boot and system by fastboot, you can try to install TWRP again and flash only the bootloader from TWRP (should support .zip and .img files). Then you turn the phone in fastboot mode and flash other stuff .
Taken from post 4 of the TWRP page on lenovo P2 forum
smaranramesh said:
Then share it no
Click to expand...
Click to collapse
Factory Images & Systemless Mode
Q: I messed up help me?!
So you screwed up and didn't follow Rule Number One in the IT-Handbook?
Which is: Always create a backup before working on a system?
Download the Factory State Images. Which are all flashable with fastboot: https://goo.gl/JTCwKj
Place the files you want replaced into the "Minimal ADB & Fastboot" installation directory and start it's shell:
If you want to flash back the stock image. Simply run:
Code:
Code:
fastboot flashall
You can also replace all partitions if required.
itsjustbilly said:
Download the Factory State Images. Which are all flashable with fastboot: https://goo.gl/JTCwKj
Click to expand...
Click to collapse
Thanks, I was on P2a42_S038...TMO (T-Mobile, checking OTA update = you are using latest software) flashed this P2a42_S048_ and got OTA info to download latest ROM P2a42_S062_170117_ROW (103MB) :good:
veimus said:
Thanks, I was on P2a42_S038...TMO (T-Mobile, checking OTA update = you are using latest software) flashed this P2a42_S048_ and got OTA info to download latest ROM P2a42_S062_170117_ROW (103MB) :good:
Click to expand...
Click to collapse
Witaj. Mozesz napisać jak wgrałeś czysty soft do Lenovo p2. Tez mam rom z t.mobile a nigdzie nie ma poradnika jak wgrać czysty soft.Pozdrawiam
itsjustbilly said:
Taken from post 4 of the TWRP page on lenovo P2 forum
Factory Images & Systemless Mode
Q: I messed up help me?!
So you screwed up and didn't follow Rule Number One in the IT-Handbook?
Which is: Always create a backup before working on a system?
Download the Factory State Images. Which are all flashable with fastboot: https://goo.gl/JTCwKj
Place the files you want replaced into the "Minimal ADB & Fastboot" installation directory and start it's shell:
If you want to flash back the stock image. Simply run:
Code:
Code:
fastboot flashall
You can also replace all partitions if required.
Click to expand...
Click to collapse
Is there an alternative download link? What is Mega? I want to avoid these third party download utility if I can...
I put the following into a BAT file and placed it into ADB / Fastboot directory:
Code:
fastboot flash partition gpt_both0.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash system systemchunk0.img
fastboot flash system systemchunk1.img
fastboot flash system systemchunk2.img
fastboot flash system systemchunk3.img
fastboot flash system systemchunk4.img
fastboot flash system systemchunk5.img
fastboot flash system systemchunk6.img
fastboot flash system systemchunk7.img
fastboot flash system systemchunk8.img
fastboot flash system systemchunk9.img
fastboot flash system systemchunk10.img
fastboot flash system systemchunk11.img
fastboot flash system systemchunk12.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
pause
Extract all the files listed in the BAT file or simply extract the entire archive to ADB / Fastboot and launch the BAT file.
Does this work?? @Undesirable
the above post
Oh yeah, it unbricked me and put me back to stock so I could get OTA updates for Nougat. You need the archive posted earlier in the thread though.
@Undesirable Nice and elegant solution man! Typing all this stuff was so annoying.
For those who need an alternative download source, I offer this magnet link:
Code:
magnet:?xt=urn:btih:ef05ea3af4da8a0cbb137c10621942f3ae16d46f&dn=P2a42_S048_161111_ROW_fastboot.7z
It's slow unless lots of people help to seed it.
Is it possible to flash this firmware 2a42_S048_161111_ROW_fastboot.7z on the P2c72 with firmware build number: V3.5_1652_5.1342.1_ST_p2c72 ???
I bought this phone 4GB Ram/64GB from china, but I want to put the international firmware on it.
Thanks!
itsjustbilly said:
Taken from post 4 of the TWRP page on lenovo P2 forum
Factory Images & Systemless Mode
Q: I messed up help me?!
So you screwed up and didn't follow Rule Number One in the IT-Handbook?
Which is: Always create a backup before working on a system?
Download the Factory State Images. Which are all flashable with fastboot: https://goo.gl/JTCwKj
Place the files you want replaced into the "Minimal ADB & Fastboot" installation directory and start it's shell:
If you want to flash back the stock image. Simply run:
Code:
Code:
fastboot flashall
You can also replace all partitions if required.
Click to expand...
Click to collapse
how can I replace my data partition? It's not getting formatted due to an encryption error
If fastboot erase userdata doesn't work, then use TWRP to change user data file system to EXT4 then change it back to F2FS again.
Need help...
I flashed back the stock ROM (due to encryption error in custom 7.0 ROM) using fastboot commands, but my SIGNAL WON'T WORK after I started d phone . I've tried reflashing the stock firmware (and also custom ROMs) but my phone won't detect the signal. "About phone" settings show unknown baseband and IMEI... how to get it back
---------- Post added at 08:58 AM ---------- Previous post was at 08:06 AM ----------
I've flashed 'ROW' variant of stock ROM. Is there a different version for Indian variant?
hello everyone
My pixel 2xl just only boot on bootloader after erase system_a and bla bla. just follow instruction. but when flash the flash-all.bat seem like postive. but the result shown not a same baseband (something like that)
so now my phone only can open bootloader. if trying open recovery in bootloader it will repeat to bootloader back.
just hope someone can help me. my fault cause take it easy as like others smartphone to root.
maybe cause the erase system. all the partition is empty ?
this all quarantine fault :crying:
please helpppp
:crying::crying::crying::crying::crying::crying::crying::crying::crying:
syeikh52 said:
hello everyone
My pixel 2xl just only boot on bootloader after erase system_a and bla bla. just follow instruction. but when flash the flash-all.bat seem like postive. but the result shown not a same baseband (something like that)
so now my phone only can open bootloader. if trying open recovery in bootloader it will repeat to bootloader back.
just hope someone can help me. my fault cause take it easy as like others smartphone to root.
maybe cause the erase system. all the partition is empty ?
this all quarantine fault :crying:
please helpppp
:crying::crying::crying::crying::crying::crying::crying::crying::crying:
Click to expand...
Click to collapse
Why would you erase the system? Were you trying to flash another ROM or something?
---------- Post added at 11:05 AM ---------- Previous post was at 11:03 AM ----------
You'll most likely need to re-flash a stock image.
https://developers.google.com/android/images
Fastboot flash your bootloader, radio then vendor on both slots then try again.
Ragarianok said:
Why would you erase the system? Were you trying to flash another ROM or something?
---------- Post added at 11:05 AM ---------- Previous post was at 11:03 AM ----------
You'll most likely need to re-flash a stock image.
https://developers.google.com/android/images
Click to expand...
Click to collapse
hm. im just follow instruction from
https://forum.xda-developers.com/pixel-3-xl/how-to/guide-progress-available-t3876849
everything okay but its failed in the step F
now it only can open bootloader.
and my bootloader version change from TMZ30 to TMZ10n
Edmontonchef said:
Fastboot flash your bootloader, radio then vendor on both slots then try again.
Click to expand...
Click to collapse
did you have the instruction or link ?
i will make the problem more hardly :crying::crying::crying:
syeikh52 said:
did you have the instruction or link ?
i will make the problem more hardly :crying::crying::crying:
Click to expand...
Click to collapse
Make sure adb and fastboot are installed
Download and extract taimen factory image
Double click to open
Extract the taimen folder found in the factory image. That has the vendor image
Open terminal and type adb devices to make sure you have adb connected. Boot to bootloader
Here's the commands, after the command hit space then drag and drop the image hit enter.
Fastboot flash bootloader_a (bootloader)
Reboot bootloader
Same command but with _b
Then radio and vendor same way rebooting bootloader after each flash
Now you can use that taimen folder you extracted. Drag and drop same as images
Fastboot update (taimen folder)
It'll take a few minutes to do it's thing
---------- Post added at 02:57 AM ---------- Previous post was at 02:53 AM ----------
ABC ezio has some better instructions
https://forum.xda-developers.com/cu...ive/rom-builders-collective-t2861778/page2324
Edmontonchef said:
Make sure adb and fastboot are installed
Download and extract taimen factory image
Double click to open
Extract the taimen folder found in the factory image. That has the vendor image
Open terminal and type adb devices to make sure you have adb connected. Boot to bootloader
Here's the commands, after the command hit space then drag and drop the image hit enter.
Fastboot flash bootloader_a (bootloader)
Reboot bootloader
Same command but with _b
Then radio and vendor same way rebooting bootloader after each flash
Now you can use that taimen folder you extracted. Drag and drop same as images
Fastboot update (taimen folder)
It'll take a few minutes to do it's thing
---------- Post added at 02:57 AM ---------- Previous post was at 02:53 AM ----------
ABC ezio has some better instructions
https://forum.xda-developers.com/cu...ive/rom-builders-collective-t2861778/page2324
Click to expand...
Click to collapse
already follow but failed
C:\Users\LEGION\Desktop\repair\taimen-opd1.170816.010>fastboot flash bootloader_a C:\Users\LEGION\Desktop\repair\taimen-opd1.170816.010\image-taimen-opd1.170816.010\vendor.img
Sending 'bootloader_a' (349408 KB) FAILED (Write to device failed (Invalid argument))
fastboot: error: Command failed
:crying::crying::crying::crying::crying:
Sorry for slow replying.
btw before im using andriod 10. but im downloading a 8.0.0 (OPD1.170816.010, Sep 2017)
erkk
im using standard cmd. should i open as admin ?
Edmontonchef said:
Make sure adb and fastboot are installed
Download and extract taimen factory image
Double click to open
Extract the taimen folder found in the factory image. That has the vendor image
Open terminal and type adb devices to make sure you have adb connected. Boot to bootloader
Here's the commands, after the command hit space then drag and drop the image hit enter.
Fastboot flash bootloader_a (bootloader)
Reboot bootloader
Same command but with _b
Then radio and vendor same way rebooting bootloader after each flash
Now you can use that taimen folder you extracted. Drag and drop same as images
Fastboot update (taimen folder)
It'll take a few minutes to do it's thing
---------- Post added at 02:57 AM ---------- Previous post was at 02:53 AM ----------
ABC ezio has some better instructions
https://forum.xda-developers.com/cu...ive/rom-builders-collective-t2861778/page2324
Click to expand...
Click to collapse
Thanks bro idk why
but im just changing the port ti 2.0
before using C to C
then using C to A still problem
now using C to A but using usb hub because this LEGION gaming laptop All usb 3.0
:crying::crying::crying:
now just wanna try to install TWRP
Download twrp.IMG
Fastboot boot (twrp.img)
Go to settings and disable screen timeout and the swipe to install twrp app. Don't need it.
You can flash a stock ota on twrp.
Put whatever you need on a type c thumb drive (stock ota, twrp installer zip, roms) and mount it in twrp.
Just keep in mind if you are going backwards, you'll have to format data.