[Q] Need Xperia J stock ROM back - Sony Xperia Miro, Tipo (Dual), J, E

I flashed few custom ROMs in last few days. I used to restore to stock ROM using CWM recovery using backup but now backup itself is not working and I want my data with stock ROM back anyhow. I have nandroid backup copy on my pc. Is there any way I can restore it from PC?
I downloaded original firmware i.e. ST26i_11.0.A.7.5_CE.ftf but when I try to flash using flashtool, device gets disconnected automatically. I am not able to flash. Plz tell me the solution.

anupbokil said:
I flashed few custom ROMs in last few days. I used to restore to stock ROM using CWM recovery using backup but now backup itself is not working and I want my data with stock ROM back anyhow. I have nandroid backup copy on my pc. Is there any way I can restore it from PC?
I downloaded original firmware i.e. ST26i_11.0.A.7.5_CE.ftf but when I try to flash using flashtool, device gets disconnected automatically. I am not able to flash. Plz tell me the solution.
Click to expand...
Click to collapse
rom manager from google play lets you download backup's from pc or cloud storage but im not sure if its for the free users as i have the premium licence but its worth a check. with the flashtool problem try reinstalling the drivers or flashtool its self.

Not the same question, but similar.
When installing CM10 FXP on my stock 4.0.4 Xperia J, i did fastboot flash boot boot.img then entered cwm and made backup.
As far as i know, flashing boot.img erases only kernel and init image, so except wrong boot.img (4.1 JB kernel) in cwm backup, all other data is intact. And now, if i want to get back to more-or-less stock is it sufficient to use vengence (or any other 4.0) kernel boot.elf, rename it to boot.img and put its md5sum into file containing image md5 sums?
Plus, is it possible to get stock firmware 7.5 kernel in boot.img format to create functioning stock backup?

0x4721 said:
Not the same question, but similar.
When installing CM10 FXP on my stock 4.0.4 Xperia J, i did fastboot flash boot boot.img then entered cwm and made backup.
As far as i know, flashing boot.img erases only kernel and init image, so except wrong boot.img (4.1 JB kernel) in cwm backup, all other data is intact. And now, if i want to get back to more-or-less stock is it sufficient to use vengence (or any other 4.0) kernel boot.elf, rename it to boot.img and put its md5sum into file containing image md5 sums?
Plus, is it possible to get stock firmware 7.5 kernel in boot.img format to create functioning stock backup?
Click to expand...
Click to collapse
You can use vengeance, or open the .ftf you used for flashing and extract kernel.sin from it.That's the stock kernel.Open it with 7zip or similar, and you can see the kernel.sin straight from there.It's flashable from flashtool.

Related

[Q] Restoring stock boot.img

I intend to flash a custom ROM on my One S. I've noticed all roms require flashing boot.img
I did some searching on what boot.img is and found that it has the kernel and booting instructions.. Now, if I flash a new boot.img and some time in the future wanted to restore the stock rom, how do I restore the original one?
I have my nandroid and apps backup. Is that sufficient?
Pheroh said:
I intend to flash a custom ROM on my One S. I've noticed all roms require flashing boot.img
I did some searching on what boot.img is and found that it has the kernel and booting instructions.. Now, if I flash a new boot.img and some time in the future wanted to restore the stock rom, how do I restore the original one?
I have my nandroid and apps backup. Is that sufficient?
Click to expand...
Click to collapse
Restoring the Nandroid will restore the boot image, it is backed up during the Nandroid
If you use TWRP as your recovery, you won't need to flash boot image separate. TWRP bypasses the HTC restriction, allowing the boot image to be flashed with the rom.
If you want a copy of the stock boot.img, I know LeeDroid's Supreme ROM has it linked in the thread there. If you dig that thread out, you can download it and keep a copy of it.
Or run ruu if u want to go back to stock completely
Sent from my HTC One S using xda premium
Thanks all..
I should start my journey then
Good Luck and enjoy
Do as it seems you have done--read OP pages and beginning and ending pages of threads and include System wipes when wiping before flashing--
An update..
As I begun testing various roms.. I found out that neither TWRP nor CWM could manage to flash the boot.img from a nandroid.. I had to flash it via fastboot EVERY time.. TWRP took around 5 min just to flash the boot image and although it reported success, it didn't work! I got stuck at boot animation after flashing my stock nandroid until I flashed a stock boot.img..
No big deal, but just a note for those adventurers..
Flashing With RUU
I'm really new to Android. I've rooted my phone and installed something called TWRP. So will installing a RUU restore the original Boot Image and the Bootloader ? Please repli. Soon Thanks in advance.
AW: [Q] Restoring stock boot.img
The RUU will install stock recovery, stock boot.img and stock rom to your phone. You will lose root, custom recovery and your custom rom.
You have to relock your bootloader for running a RUU.
Sent from my HTC One S using xda app-developers app

[Q] Unable to restore TWRP backup

Hi all.
I unlocked my DS (4.0.4) using Desire S All-In-One kit 2.0, flashed TWRP, and rooted. Phone is S-ON
I took a backup with TWRP, and flashed a new ROM. After the flash, I also flashed the boot.img as I read in the XDA forums and elsewhere.
Everything went fine, I flashed anothe ROM, same procedure, no problem.
After playing with ROMs, I decided to restore the TWRP backup I took before starting.
It just boots into TWRP again. I tried flashing the stock boot.img (which I extracted from the official EU 4.0.4 RUU), but no luck. The phone stays at a black screen after the HTC logo.
I can flash any other ROM, flash the boot.img and I am good to go, I just cannot restore my backup.
Any solutions?
in order to restore backup, you have to flash your backup and the corresponding boot.img
Sent from my supercharged :tank:
hisname said:
in order to restore backup, you have to flash your backup and the corresponding boot.img
Sent from my supercharged :tank:
Click to expand...
Click to collapse
I did.
After the restore, I flashed the boot.img in the official RUU.
That's all I have anyway, as the one in the backup is in a different format (it has a different size anyway).
Is there another source I can get the ICS boot.img to flash?
I tried some other boot images and it didn't work.
As an experiment, I tried restoring another twrp backup from another rom I tried before, and it also didn't work, even after flashing its own boot.img it originally came with.
Today I tried a method of just booting into recovery (temporary recovery) which has (allegedly) the ability to restore the kernel, with no luck.
I can only restore with the same rom.

How to backup current kernel or extract it from ROM zip?

I want to install a different kernel on my n8013 but want to be able to go back to the latest stock kernel (which is included with Darkman's latest n8013 deodexed stock ROM). I've looked around for a flashable zip of just the stock kernel for the CMD3 build of the ROM but can't find one.
If I run a backup in TWRP and only check "boot," will that be enough?
Or, can I just grab the "boot.img" located in the root of the ROM's zip file? (if yes, how do I turn into a flashable zip?)
Basically, I want to be able to go back to my stock kernel without have to re-flash the entire ROM or reinstalling an entire backup.
drdoombot said:
I want to install a different kernel on my n8013 but want to be able to go back to the latest stock kernel (which is included with Darkman's latest n8013 deodexed stock ROM). I've looked around for a flashable zip of just the stock kernel for the CMD3 build of the ROM but can't find one.
If I run a backup in TWRP and only check "boot," will that be enough?
Or, can I just grab the "boot.img" located in the root of the ROM's zip file? (if yes, how do I turn into a flashable zip?)
Basically, I want to be able to go back to my stock kernel without have to re-flash the entire ROM or reinstalling an entire backup.
Click to expand...
Click to collapse
If you are running TWRP you just need to backup "boot".
Sent from my GT-N8013 using XDA Premium 4 mobile app

[Q] Get back to Sock OS with Backup

Hi,
Before I flashed my first rom, I backed up the stock OS, and I still have it. If I wanted to flash it back onto my phone, can I just use the ClockworkMod recovery and choose restore? I know after that it will still have an unlocked bootloader and will be rooted, but I just wanna know if I need to use RUU to flash the stock rom which I still have because I backed it up.
Thanks!
elias.acab said:
Hi,
Before I flashed my first rom, I backed up the stock OS, and I still have it. If I wanted to flash it back onto my phone, can I just use the ClockworkMod recovery and choose restore? I know after that it will still have an unlocked bootloader and will be rooted, but I just wanna know if I need to use RUU to flash the stock rom which I still have because I backed it up.
Thanks!
Click to expand...
Click to collapse
I am assuming you made the backup of the stock with ClockworkMod.
Yes, you can restore it and do not have to RUU and you will be fine. Most likely you have fastboot flashed a new boot.img when you installed the new Rom. If you are S-on a restore will not be able to change your boot.img back.
You will need to fastboot flash the backup's boot.img.
This is why it is good to have your backup on your pc. When you open that backup file on your pc, you will see the boot.img file that you need to flash.
If you have changed your recovery or updated it you most likely will have to flash the recovery that made the backup.
The exceptions to the rule would be something like: Maximus HD, where you would need to downgrade your firmware, clear storage in bootloader when you have the stock recovery installed. Reinstall your custom recovery and restore your backup.
tivofool said:
I am assuming you made the backup of the stock with ClockworkMod.
Yes, you can restore it and do not have to RUU and you will be fine. Most likely you have fastboot flashed a new boot.img when you installed the new Rom. If you are S-on a restore will not be able to change your boot.img back.
You will need to fastboot flash the backup's boot.img.
This is why it is good to have your backup on your pc. When you open that backup file on your pc, you will see the boot.img file that you need to flash.
If you have changed your recovery or updated it you most likely will have to flash the recovery that made the backup.
The exceptions to the rule would be something like: Maximus HD, where you would need to downgrade your firmware, clear storage in bootloader when you have the stock recovery installed. Reinstall your custom recovery and restore your backup.
Click to expand...
Click to collapse
Yes! I made it with clockworkmod, thanks, I will try that!
Sent from my One S using xda app-developers app

[Q] Can't find my nandroid backup on TWRP (XT1032)

Hi, I have a moto g x1032 with TWRP as a custom recovery and I have installed an unofficial CM 12 rom. I made a nandroid backup with TWRP before flashing CM 12 and I want to restore my device back to the stock motorola firmware because I have some battery issues with the custom rom and the Lollipop OTA update is coming soon anyway.
Here's my issue : I saved the nandroid backup on my computer and I just copied it back on my internal storage in the TWRP folder, but when I boot in TWRP and go to restore I can't see my backup. :/
I think I made a mistake because I renamed the folder to Android/BACKUPS/Moto g/2014-11-27--06-21-08 KXB21.14-L1.40 and I suppose TWRP only recognizes the original folder name (can't find the original name anywhere).
Can someone confirm the issue comes indeed from there, and if so, tell me the name of this stupid folder ?
Thanks
astrlz said:
Hi, I have a moto g x1032 with TWRP as a custom recovery and I have installed an unofficial CM 12 rom. I made a nandroid backup with TWRP before flashing CM 12 and I want to restore my device back to the stock motorola firmware because I have some battery issues with the custom rom and the Lollipop OTA update is coming soon anyway.
Here's my issue : I saved the nandroid backup on my computer and I just copied it back on my internal storage in the TWRP folder, but when I boot in TWRP and go to restore I can't see my backup. :/
I think I made a mistake because I renamed the folder to Android/BACKUPS/Moto g/2014-11-27--06-21-08 KXB21.14-L1.40 and I suppose TWRP only recognizes the original folder name (can't find the original name anywhere).
Can someone confirm the issue comes indeed from there, and if so, tell me the name of this stupid folder ?
Thanks
Click to expand...
Click to collapse
Hey mate,
To get the ota you'll need stock recovery so it would be best to just flash a stock zip and stock recovery
But to answer your question, on my moto 1032..the folder is ..... TWRP/BACKUPS/TA93008Q52
Thanks, I made a small nandroid backup of just my boot partition to get the number, changed the name of the file and it worked.
I didn't know that I had to go back to stock recovery for the update, is there any way to do that without wiping the data ?
astrlz said:
Thanks, I made a small nandroid backup of just my boot partition to get the number, changed the name of the file and it worked.
I didn't know that I had to go back to stock recovery for the update, is there any way to do that without wiping the data ?
Click to expand...
Click to collapse
Yes, however you'll have to revert all system modifications you made to the ROM (Root, Xposed, e.t.c.)
itouchables said:
Yes, however you'll have to revert all system modifications you made to the ROM (Root, Xposed, e.t.c.)
Click to expand...
Click to collapse
The ROM is untouched, I made the nandroid backup just after I installed TWRP, I just double-checked and it's unrooted. The only modification I made was changing the bootlogo animation (I put back the original one instead of the "unlocked bootloader" one).
I know it's not the original request of the thread but can you point me where I can find a way to do it ?
Where to revert the bootloader locked image?...I don't think you need to....only to flash the stock recovery .....
Stock recovery file for x1032 can be found here....after reverting to backup, flash this (bye bye twrp )
http://forum.xda-developers.com/showthread.php?t=2649763
But if you need to put back the unlocked warning, try this thread, open the app then make a blank zip (with the logo bin files for logo unlocked blank)
And flash that in twrp.
http://forum.xda-developers.com/showthread.php?t=2848667
itouchables said:
[...]
Click to expand...
Click to collapse
I just mentioned the fact that I changed the bootloader logo but I don't think it matters when installing OTA updates.
I found a stock recovery in the thread you mentioned, but it is a zip file (I opened it and there is a recovery.img file and a folder named META-INF). Can I just flash the recovery.img through fastboot or is there any other step to the process ?
astrlz said:
I just mentioned the fact that I changed the bootloader logo but I don't think it matters when installing OTA updates.
I found a stock recovery in the thread you mentioned, but it is a zip file (I opened it and there is a recovery.img file and a folder named META-INF). Can I just flash the recovery.img through fastboot or is there any other step to the process ?
Click to expand...
Click to collapse
Flash the zip file you downloaded in twrp (your custom recovery)....
Or you can extract the recovery image and flash via fastboot

Categories

Resources