Related
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
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?
After moving my Mi6 from EU ROM to Global Stable 8.2.2.0, I realised that MIUI has now programmed either the boot.img or system.img to overwrite recovery partition on every "normal"/system boot.
So much for unlocking the bootloader...
Although the source system.img has a recovery-from-boot.p file, but it appears to be different from the stock recovery.img file. Attempting to replace it with the TWRP image or removing it entirely (and flashing the rebuilt system.img) results in boot failure (see below for more information).
Does anyone know:
where the "protected" recovery image may be found? and/or
how to repack/rebuild a system.img which will not cause a boot hang?
Note that I have rebuilt it "correctly" (as "correct" as I know) using the properly extracted file_contexts (as extracted from the file_contexts.bin) from the initrd.img from inside the boot.img using the command:
Code:
make_ext4fs -s -T -1 -S file_contents -L system -l <size of partition> -a system system.img <mount point>
I have tried both a blind fastboot flash system system.img, and also a standard "clean" flash using the MiFlash tool (after ensuring that the correct MD5, CRC and sparse CRC strings are edited in the various files, of course).
Thanks!
fastboot flash recovery TWRP.img
That's the solution.
And if you flash a MIUI rom with TWRP simply flash twrp.img without Reboot under TWRP, after rom.zip flash. That's all
reb00tz said:
After moving my Mi6 from EU ROM to Global Stable 8.2.2.0, I realised that MIUI has now programmed either the boot.img or system.img to overwrite recovery partition on every "normal"/system boot.
Click to expand...
Click to collapse
dennis46419 said:
fastboot flash recovery TWRP.img
That's the solution.
And if you flash a MIUI rom with TWRP simply flash twrp.img without Reboot under TWRP, after rom.zip flash. That's all
Click to expand...
Click to collapse
Hi @dennis46419,
Thanks for replying. I have always done that upon forced reboot by the MiFlash tool (i.e. the moment it powers off for a reboot, I put it right back into fastboot mode to flash TWRP again, then directly boot with the TWRP.img).
As mentioned, I believe the new global stable ROM actually overwrites recovery on every boot.
Have you experienced this (i.e. when using the global stable ROM)?
OK, seems I missed the solution as already provided by @TheStrix:
https://forum.xda-developers.com/showpost.php?p=72620133&postcount=2
But the instruction (which I missed because I downloaded directly from the TWRP site) was already here: https://forum.xda-developers.com/showpost.php?p=72620133&postcount=2
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.
so I've been trying to install a gsi for 5+ hours, I can never even get to the system boot animation. I've used permissiver, disable dm-verity, I've tried phh, erfans miui, oneui, oos, but cant get to the bootanimation. here are the steps i followed:
1. format
2. flash lineageos
3. wipe cache, dalvik, system, data
4 flash system.img gsi to system
5. flash permissiver and disable dmverity
6. reboot system
7. I get a redmi logo for 4 seconds, a black screen for 1 second and it keeps looping.
pls somebody help
You need to create a vendor.
hussain_mdj said:
You need to create a vendor.
Click to expand...
Click to collapse
pls elaborate, do i need to backup my current vendor, and then restore after installing the system.img?
I don't know why you have process steps like above, but basically the steps should be ( tested and used by me and all 2k members of my grp ) :
1st, you should be on stock, because GSI has only System images, and for a device to work, it need more than just a System images.
Boot into system, using adb reboot bootloader to get into bootloader mode ( or you can use hard keys, its up to you ). Execute these command in correct order :
fastboot devices ( check if device is connected )
fastboot reboot fastboot
fastboot --disable-verification flash vbmeta vbmeta.img ( remember to use patched vbmeta.img )
fastboot erase system
fastboot flash system system.img ( change to gsi's image file name )
fastboot -w
fastboot reboot bootloader
fastboot erase userdata
fastboot reboot
It may depends on what kind of device u have, but basically it should be like this. Try and feedback.