[Q] How to flash stock ROM? - Moto X Q&A

Hi,
I am rooted. I want to play with that xposed framework and I'm just wondering what to do if I boot loop? On Samsung you can use odin or cwm to flash a rom etc. But there's no flashable ROM for Moto X to my knowledge.
I hate restoring from CWM backups as it never feels as snappy as it was when the backup was made, but is that the only solution?

scorpion667 said:
Hi,
I am rooted. I want to play with that xposed framework and I'm just wondering what to do if I boot loop? On Samsung you can use odin or cwm to flash a rom etc. But there's no flashable ROM for Moto X to my knowledge.
I hate restoring from CWM backups as it never feels as snappy as it was when the backup was made, but is that the only solution?
Click to expand...
Click to collapse
Just download cwm framework remover which removes xposed through recovery or use the app. I believe there is a stock image floating around the threads but it is a form that I am not familiar with rsdlite? If you restore from a nandroid be patient, it takes awhile
Sent from my A2109A using Tapatalk 4

Related

How to instal TWRP in rooted phone with CWM?

I'm forgetful and can't remember the procedure I used to install TWRP on my rooted Exhibit which had CWM at the time. I now need to install TWRP on my girlfriend's Exhibit, which is rooted with the stock root (no custom ROM, just rooted) and which already has CWM.
I will copy the TWRP file onto her external SD card. I will then boot into CWM recovery, and flash the TWRP zip file. After I do that, when I reboot the phone, how does the phone now which recovery I want to use? Does TWRP over-write or wipe out the CWM when you flash it? Must I make a selection for my default recovery choice?
I am a dummy and I should remember this stuff, since I already went through this on my phone.
By the way, I am installing AOIP on her phone. I have really liked it on mine, after trying Slimbean and Nexus4 and CM10 etc. Her tired old phone on the rooted stock ROM is giving her fits. So it is time for TWRP and AOIP.
motorapido said:
I'm forgetful and can't remember the procedure I used to install TWRP on my rooted Exhibit which had CWM at the time. I now need to install TWRP on my girlfriend's Exhibit, which is rooted with the stock root (no custom ROM, just rooted) and which already has CWM.
I will copy the TWRP file onto her external SD card. I will then boot into CWM recovery, and flash the TWRP zip file. After I do that, when I reboot the phone, how does the phone now which recovery I want to use? Does TWRP over-write or wipe out the CWM when you flash it? Must I make a selection for my default recovery choice?
I am a dummy and I should remember this stuff, since I already went through this on my phone.
By the way, I am installing AOIP on her phone. I have really liked it on mine, after trying Slimbean and Nexus4 and CM10 etc. Her tired old phone on the rooted stock ROM is giving her fits. So it is time for TWRP and AOIP.
Click to expand...
Click to collapse
Once you flash it it will overwrite cwm so it will be the only recovery. If you wanna go back to cwm just flash that over twrp.
Sent from my Nexus 7 using xda app-developers app
motorapido said:
.
I will copy the TWRP file onto her external SD card. I will then boot into CWM recovery, and flash the TWRP zip file. After I do that, when I reboot the phone, how does the phone now which recovery I want to use? Does TWRP over-write or wipe out the CWM when you flash it? Must I make a selection for my default recovery choice?
.
Click to expand...
Click to collapse
When you flash a recovery zip it overwrites the recovery partition in your phone. You don't have to choose anything because it will stay TWRP until you flash a different recovery.
Question im running twrp 2.3 ver to install a updated version I just flash the newer version right? I wont lose anything will I
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
Medic24 said:
Question im running twrp 2.3 ver to install a updated version I just flash the newer version right? I wont lose anything will I
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
Click to expand...
Click to collapse
Yeah just flash over the version you have.
Sent from my SGH-T679 using xda app-developers app

[HELP] Twrp problems.

Well, it so happened that I was on omni rom 4 3.1 with cocore kernel twrp recovery and I saw in a thread that we can theme our recovery by adding a ui.zip file in the theme folder of twrp. Ever since then, my phone boots in recovery only (without the three button combination). Plus in twrp, the theme is applied but I get a super zoomed view of the recovery so I can't restore nandroid as well. Of course, I used my last resort and brought back my phone to stock through odin but the problem is what did I do wrong and what should I take care of to prevent this sort of **** from happening in the future?
Sent from my GT-I9070 using xda app-developers app
Why did you use the co-core kernel for a cm ROM??
The rom shouldn't boot if you did this..
BTW You are getting the super zoomed recovery maybe because you are using the ui.zip designed for a mdpi/ldpi screen resolution.
Our screen is hdpi.
Sent from my GT-I9070 using Tapatalk
But I used the ui.zip for hdpi devices only.. and I dont know.. the rom just flashed when I used cocore. By the way.. I dont see any other method for obtaning recovery except shaan's temporary cwm.. is there any other method as well??
Sent from my GT-I9070 using xda app-developers app
RazaVakil7995 said:
Well, it so happened that I was on omni rom 4 3.1 with cocore kernel twrp recovery and I saw in a thread that we can theme our recovery by adding a ui.zip file in the theme folder of twrp. Ever since then, my phone boots in recovery only (without the three button combination). Plus in twrp, the theme is applied but I get a super zoomed view of the recovery so I can't restore nandroid as well. Of course, I used my last resort and brought back my phone to stock through odin but the problem is what did I do wrong and what should I take care of to prevent this sort of **** from happening in the future?
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Do not mess with something that you are not sure that works on our phone. If you read that someone that has I9070 phone is using something, you can use it. Searching and using stuff from other phones can make you mess like that you got.
Omni MUST use its kernel, you CAN'T use COCORE on it. You will end up with a bootloop if you use COCORE on OMNI.
What you need to do is to flash stock FIRMWARE with ODIN. Download CoCore kernel, UNPACK it and use KERNEL.BIN.MD5 (copy to phone memory). Install UKF and ROOT EXPLORER. Open Universal kernel flasher and follow the procedure to install COCORE. Install, reboot and you have permanent recovery (CWM or TWRP depends what CoCore version you choose).
Perhaps you guys misunderstood me.. I did not flash cocore on Omni.. I flashed cocore on stock and then I flashed omni rom.. so I guess I have permanent recovery..
Im sorry if I sound like a noob but hey, every expert was once a noob, Im learning
I agree to the part of messing with things that people Dont use on our phone, I'll see to that in future..
Sent from my GT-I9070 using xda app-developers app
RazaVakil7995 said:
Perhaps you guys misunderstood me.. I did not flash cocore on Omni.. I flashed cocore on stock and then I flashed omni rom.. so I guess I have permanent recovery..
Im sorry if I sound like a noob but hey, every expert was once a noob, Im learning
I agree to the part of messing with things that people Dont use on our phone, I'll see to that in future..
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
I missunderstood. Because you wrote: "that I was on omni rom 4 3.1 with cocore kernel twrp"
P.S. Maybe that theme problem have something to do with version of TWRP. But I can't tell for sure.
dagger said:
Why did you use the co-core kernel for a cm ROM??
The rom shouldn't boot if you did this..
BTW You are getting the super zoomed recovery maybe because you are using the ui.zip designed for a mdpi/ldpi screen resolution.
Our screen is hdpi.
Sent from my GT-I9070 using Tapatalk
Click to expand...
Click to collapse
By the way, why did you tell the rom should not boot? Is it because the cocorekernel is only supported on android 4.1 or some other reason?
shut_down said:
I missunderstood. Because you wrote: "that I was on omni rom 4 3.1 with cocore kernel twrp"
P.S. Maybe that theme problem have something to do with version of TWRP. But I can't tell for sure.
Click to expand...
Click to collapse
And when I went from omni rom to cm11 by maclaw, my recovery changed to cwm... any idea why did this happen because I was supposed to have permanent twrp
RazaVakil7995 said:
And when I went from omni rom to cm11 by maclaw, my recovery changed to cwm... any idea why did this happen because I was supposed to have permanent twrp
Click to expand...
Click to collapse
The recovery in our phone is dependent on the kernel.
So if the kennel changes, the recovery changes..
Sent from my GT-I9070 using Tapatalk
custom recovery in cm11
So if i flash from stock rom jb to cm11 (tc) , the recovery changes to cwm , no matter if u had CoCore+cwm or CoCore+ TWRP in stock rom.
What happens to the kernel in cm11?
i have done nandroid backup with TWRP, but since recovery changes to cwm in cm11 , will i no longer be able to restore the backup ?
Would it be better to do a nandroid backup with CoCore+Cwm then?
[email protected] said:
So if i flash from stock rom jb to cm11 (tc) , the recovery changes to cwm , no matter if u had CoCore+cwm or CoCore+ TWRP in stock rom.
What happens to the kernel in cm11?
i have done nandroid backup with TWRP, but since recovery changes to cwm in cm11 , will i no longer be able to restore the backup ?
Would it be better to do a nandroid backup with CoCore+Cwm then?
Click to expand...
Click to collapse
If you flash stock JB firmware you get stock recovery (not CWM or TWRP). And you can't use nandroid backup of JB if you are on CM11 because Preload partition is used for SWAP, and it will be non usable for JB. You must flash script to repartition it or flash stock JB firmware. If you have TWRP backup, flash stock JB, root it, install CoCore with TWRP recovery and there you go...
Backup
shut_down said:
If you flash stock JB firmware you get stock recovery (not CWM or TWRP). And you can't use nandroid backup of JB if you are on CM11 because Preload partition is used for SWAP, and it will be non usable for JB. You must flash script to repartition it or flash stock JB firmware. If you have TWRP backup, flash stock JB, root it, install CoCore with TWRP recovery and there you go...
Click to expand...
Click to collapse
Thank you. So i understand that nandroid backup is useful only when something goes wrong during the process of upgrading from stock JB to CM11 .
one more doubt, I have also backed up app user data + system data with Titanium Backup Pro. That can be used to restore all data after i upgrade to cm11 right? Will Titanium Backup Pro take care of efs ( related to IMEI no.) if something goes wrong after flashing cm11. Btw i have also backed up efs with Samsung Tools app.
Also could you enlighten me about my first question in previous post " what happens to kernel in cm11" ?
[email protected] said:
Thank you. So i understand that nandroid backup is useful only when something goes wrong during the process of upgrading from stock JB to CM11 .
one more doubt, I have also backed up app user data + system data with Titanium Backup Pro. That can be used to restore all data after i upgrade to cm11 right? Will Titanium Backup Pro take care of efs ( related to IMEI no.) if something goes wrong after flashing cm11. Btw i have also backed up efs with Samsung Tools app.
Also could you enlighten me about my first question in previous post " what happens to kernel in cm11" ?
Click to expand...
Click to collapse
CM11 ROM 4.4.2 or 4.4.3 is the result of an update of version 4.1.2 of Android Jelly Bean. If right now, you have a backup system and applications that have been stored in the system when you are Jelly Bean. Then you want to restore the backup to the CM11, then I guess you will get an error. Because the system is Jelly Bean, and Kitkat system is 2 different things in the context of the "system". So you can do this while using TB Pro applications only restore data only, such as: backup contacts, sms / mms, third-party applications such as, apk, application of playstore etc.. Not the whole system ROM previously, JB.
Related to the kernel, system jelly bean, and kitkat system, has different kernel. In this case the kernel is owned by CM11 ROM, not the stock ROM 4.4.2/4.4.3 by samsung. CM11 kernel 4.4.2/4.4.3 allows us to perform GPU OC and CPU OC/UC/OV/UV In the default kernel Stock ROM (JB), you will not be able to do it, unless you replace it with a custom kernel, as the Cocore kernel. Hopefully it can be more clear.

[Q] Can't just replace TWRP with Stock 12b Recovery?

Can someone point me to a thread that explains why someone on rooted stock 12b with TWRP can't simply flash a stock recovery to get the OTA? No one seems to be doing it, or even talking about doing it. Not knowing why is driving me crazy!! Thanks guys
wolf5150 said:
Can someone point me to a thread that explains why someone on rooted stock 12b with TWRP can't simply flash a stock recovery to get the OTA? No one seems to be doing it, or even talking about doing it. Not knowing why is driving me crazy!! Thanks guys
Click to expand...
Click to collapse
Yup can do it as long as nothing else is modified but most people who root modify system,files. I did exactly what you're saying except a little different. I used flashify to back up stock recovery, then I flashed twrp and when kitkat came I restored to suck recovery uninstalled xposed framework and manually installed kitkat. Then I used Autorec to install twrp again and backed up recovery worth flashify first. This time though I forgot to backup the kernel too because Autorec modifies it. So now I'll probably have to kdz to stock uhh f a later update comes unless there's a flashible zip for it.
Sent from my VS980 4G using xda app-developers app
abdel12345 said:
Yup can do it as long as nothing else is modified but most people who root modify system,files. I did exactly what you're saying except a little different. I used flashify to back up stock recovery, then I flashed twrp and when kitkat came I restored to suck recovery uninstalled xposed framework and manually installed kitkat. Then I used Autorec to install twrp again and backed up recovery worth flashify first. This time though I forgot to backup the kernel too because Autorec modifies it. So now I'll probably have to kdz to stock uhh f a later update comes unless there's a flashible zip for it.
Sent from my VS980 4G using xda app-developers app
Click to expand...
Click to collapse
Can you post the 12B recovery, I cannot find a copy and want to do this to update with OTA
Thanks
Matt
abdel12345 said:
Yup can do it as long as nothing else is modified but most people who root modify system,files. I did exactly what you're saying except a little different. I used flashify to back up stock recovery, then I flashed twrp and when kitkat came I restored to suck recovery uninstalled xposed framework and manually installed kitkat. Then I used Autorec to install twrp again and backed up recovery worth flashify first. This time though I forgot to backup the kernel too because Autorec modifies it. So now I'll probably have to kdz to stock uhh f a later update comes unless there's a flashible zip for it.
Sent from my VS980 4G using xda app-developers app
Click to expand...
Click to collapse
mzimand said:
Can you post the 12B recovery, I cannot find a copy and want to do this to update with OTA
Thanks
Matt
Click to expand...
Click to collapse
I found a repository here: http://forum.xda-developers.com/showpost.php?p=48794341&postcount=4
When I renamed the 12b version from .bin to .img and flashed with Flashify, it factory reset my phone and even wiped internal storage. So I restored my nandroid (that I'd backed up externally), then flashed the 11a version. That installed on my 12b phone successfully.
The OTA then errors out with 0x1111004.
Upgrade Assistant tries but fails to detect the phone in ethernet mode.
In download mode the phone is detected but PC displays "Authentication fail"
I can't recall doing any mods outside of g2xposed and I've uninstalled the framework but maybe I did?
Was recovery was updated when 12b rolled out?
I'll try to dig up an earlier nandroid of my system partition and see if I can rule out other mods. Ideas welcome, thanks

TWRP recovery for liquidsmooth rom 4.4.2 for galaxy s advance

I've installed liquidsmooth rom kitkat 4.4.2 on my galaxy s advance GTI9070.. I made a backup of my stock jellybean update using TWRP recovery mode. But it seems that the new rom has CWM recovery mode. I want to restore my phone to backup rom, but i can't access TWRP recovery mode.. Everytime i enter into recovery mode it shows CWM mode and it doesn't show my backup.. Plzz help..
bhaukali said:
I've installed liquidsmooth rom kitkat 4.4.2 on my galaxy s advance GTI9070.. I made a backup of my stock jellybean update using TWRP recovery mode. But it seems that the new rom has CWM recovery mode. I want to restore my phone to backup rom, but i can't access TWRP recovery mode.. Everytime i enter into recovery mode it shows CWM mode and it doesn't show my backup.. Plzz help..
Click to expand...
Click to collapse
On what ROM you was before?
If it was on 4.4 too, take its kernel, install it with Universal kernel flasher and go to recovery and restore it.
Kernel is in ROMs zip, name of it is boot.img.
shut_down said:
On what ROM you was before?
If it was on 4.4 too, take its kernel, install it with Universal kernel flasher and go to recovery and restore it.
Kernel is in ROMs zip, name of it is boot.img.
Click to expand...
Click to collapse
No, i was not on v4.4. I was on stock jellybean update.
bhaukali said:
No, i was not on v4.4. I was on stock jellybean update.
Click to expand...
Click to collapse
Then best way is to flash stock JB with Odin, install CoCore with TWRP and do nandroid restore.
shut_down said:
Then best way is to flash stock JB with Odin, install CoCore with TWRP and do nandroid restore.
Click to expand...
Click to collapse
isn't there any other way without downloading stock JB.. Is there any way i can get get a kernel with TWRP for kitkat 4.4.2 for my phone?
bhaukali said:
isn't there any other way without downloading stock JB.. Is there any way i can get get a kernel with TWRP for kitkat 4.4.2 for my phone?
Click to expand...
Click to collapse
I was lazy to give you full answer there.
First on 4.4. our developers repartitioned preload partition to use it as a swap, and on 4.1.2 there were some apks. So if you want to go from 4.4 (and 4.3.) you must repartition it with this guide.
Then you download SlimKat or OmniROM and use its kernel to get TWRP, extract its ZIP and copy kernel to phone (it is boot.img in root of ZIP file). Then install Universal kernel flasher and some root explorer from the Play store and install kernel. When it is done go to recovery (you will have TWRP) and restore your backup.
P.S. You can use CoCore kernel with TWRP too. But the process is the same.
shut_down said:
I was lazy to give you full answer there.
First on 4.4. our developers repartitioned preload partition to use it as a swap, and on 4.1.2 there were some apks. So if you want to go from 4.4 (and 4.3.) you must repartition it with this guide.
Then you download SlimKat or OmniROM and use its kernel to get TWRP, extract its ZIP and copy kernel to phone (it is boot.img in root of ZIP file). Then install Universal kernel flasher and some root explorer from the Play store and install kernel. When it is done go to recovery (you will have TWRP) and restore your backup.
P.S. You can use CoCore kernel with TWRP too. But the process is the same.
Click to expand...
Click to collapse
Sorry for bothering you guys here, but does someone know how to flash cocore remix r 10 on any rom that is not stock? I mean any other flashable zip roms....... because everytime I end up in bootloop .
pictorul20 said:
Sorry for bothering you guys here, but does someone know how to flash cocore remix r 10 on any rom that is not stock? I mean any other flashable zip roms....... because everytime I end up in bootloop .
Click to expand...
Click to collapse
You get a bootloop because CoCore is for Stock ONLY. You can't use CoCore on any other ROM than on Stock based one.
@shut_down
My zip to restore is needed in 4.4 ROMs based on Team Canjica sources built till 14 June, after that date (since we removed /preload as swap partition on 15 June) is no longer needed with new builds this is only an info, most of the users don't know neither on what build they are :silly: better to continue to tell them to flash that zip before restoring that kind of ROMs, nice work.

[REQUEST] Stock ROM Flashable ZIP

I was just wondering why nobody has bothered making a flashable ZIP of the stock ROM. It would be super great if someone could make one because it would be so much easier to just flash the ZIP using TWRP instead of flashing the factory image which wipes everything.
I am sorry I dont know apart from flashing a ROM. Hence the request
That's what twrp backup is for.do a trwp backup on stock and you have a stock image for yourself. Do that before flashing anything.
I'd love to have a stock zip file to flash from twrp. A 5.0.2 port would be wonderful
Sent from my victara using XDA mobile app
I agree a stock zip would be great. I had issues with twrp and wasn't able to get a good backup. I ended restoring from someone else's twrp backup.
Sent from my XT1095 using XDA Free mobile app

Categories

Resources