How to flash official ROM zip? - Lenovo A6000/Plus Questions & Answers

My friend's device has TWRP 2.8.7.7 and CyanogenMod 12.1 by @ED300 (not up to date).
She wants it to be restored in its original state. How could I flash this file?
Code:
http://phonedl.ota.lenovomm.com/dls/v6/Kraft-A6000_S058_151030_KK2L_WC67.zip
Should I just wipe system, data, and cache in TWRP then flash the zip from the link?

1. Reboot into recovery.
2. Wipe the normal way (Factory reset).
3. Flash the .zip.
4. Wipe cache and Dalvik cache after flashing, just in case.
5. Reboot. Enjoy!

Using TWRP? Don't I have to wipe system first when coming from another ROM? Thanks,

You have to wipe system, data, cache, dalvik cache

For me that didnt work you have to extract stockrom.zip then extract system.zip then take boot.img and flash it first, followed by system.zip and yourcountry.zip

Related

How to flash a kernel

How do I flash this kernel http://forum.xda-developers.com/showthread.php?t=1788759
http://www.derkernel.com/jb-seven.php
"Apply zip from sd card"???
I though that all the kernels were *.img files.
download it onto your device, boot into your custom recovery, select it, then flash it. after, boot up. do not wipe a thing. no data wipe, no cache wipe, and no dalvik cache wipe. these kernels are in a flashable zip form. if you flash a rom, youll have to reflash the kernel too.
Thanks, I will try.

[Q] No Baseband sometimes?

Hi usually change roms and kernels i do everything steps correctly but sometimes when it starts from zero it appears no simcard no baseband.
so i must reflash again factory image from google via fastboot so it's so annoying.
for example i wipe factory reset / data / dalvik i install .zip rom . zip gapps .zip kernel and reboot
im in the latest CWM and it happens to me now when i did a wipe cache and dalvik.
thank you

[Q] Can't upgrade JORDN_U3_97.21.51.sbf

Hi, my Defy (Green Camera) is stuck on JORDN_U3_97.21.51.sbf - strange chineese Eclair ROM - screenshot here http://forum.xda-developers.com/showpost.php?p=27590063&postcount=4.
I installed it after my battery died during updating Cyanogen to newer version - I panicked a bit and needed working phone asap, so I used mcGyver hack and flashed it with RSD Lite as I found in some guide.
Now I want to install any better system on top of it (it's real crap - all google apps crashes immediately for example) Cyanogen 10+ would be best.
There are some similar threads, but they wanted to downgrade system, not upgrade.
http://forum.xda-developers.com/showpost.php?p=14762402&postcount=143 - I didn't tried it yet as download pages
looks suspicious. //edit: downloading it, but it's really slow.
I've also read:
http://forum.xda-developers.com/showthread.php?t=1486731
http://forum.xda-developers.com/showthread.php?t=1365673
http://forum.xda-developers.com/showthread.php?t=1065798
http://forum.xda-developers.com/showthread.php?t=1216982
http://forum.xda-developers.com/showthread.php?t=1795647
What I tried to do so far is:
I. Rooting phone with SuperOneClickv2.3.3-ShortFuse
II. Installing SndInitDefy_1.4_2.apk
III. One of following:
a)
1) Go to Custom Recovery.
2) Wipe data/factory reset, wipe Cache and go to Advanced ► Wipe dalvik.
3) Go to install zip from sdcard ► Choose zip from sd card.
4) Flash cm-10-20131030-NIGHTLY-mb526.zip
6) Wipe Cache and Dalvik again
7) Restart.
It didn't boot in 10 minutes (Motorola logo) so I flashed sbf again and returned to I.
b)
1) Go to Custom Recovery.
2) Wipe data/factory reset, wipe Cache and go to Advanced ► Wipe dalvik.
3) Go to install zip from sdcard ► Choose zip from sd card.
4) Flash froyo kernel
5) Flash CM10-20120924-NIGHTLY-mb525.zip.
7) Wipe Cache and Dalvik again
8) Restart.
It didn't boot in 10 minutes (Motorola logo) so I flashed sbf again and returned to I.
c)
1) Go to Custom Recovery.
2) Wipe data/factory reset, wipe Cache and go to Advanced ► Wipe dalvik.
3) Go to install zip from sdcard ► Choose zip from sd card.
4) Flash froyo kernel
5) Flash cm-72-20120921-NIGHTLY-Defy.zip
7) Wipe Cache and Dalvik again (recommended).
8) Restart
It didn't boot in 10 minutes (Motorola logo).
I also tried some other Quarx builds, some times with gapps and RLRv2.16_base.zip but I don't remember details.
Any ideas what can I do? Now i'm trying downloading various roms and trying to install them with recovery.
EDIT:
Now I have DEFYPLUS_U3_4.5.1-134_DFP-231_GR_SIGN_UCADEFYEMARAB1B80AA004.0R_PDS03C_USAJRDNGIBRRTCEE_P022_A022_Service1FF.sbf which works, but I cant root it - zerg rush fails
Well.. After I flash something I don't wipe cache and dalvik , this maybe should be the problem..Before I install something I do a data/factory reset , wipe cache , and then wipe dalvik. You should try after you install something don't wipe cache and dalvik..
OK, i fixed it.
With DEFYPLUS_U3_4.5.1-134_DFP-231_CEE_ROOTED_No_Signed.sbf from http://forum.xda-developers.com/showthread.php?t=1542956 i got root, after that i installed SndInitDefy_2.3.apk and was able to flash CM10.

Random names TWRP

Hi, I'm from Nougat 4.5.14 and these are the steps I made:
1. Flash codeworx then reboot to twrp
2. Wipe cache and dalvik
3. Install OS 5.0.2
4. Install magisk
5. Wipe cache dalvik
6. Reboot to system
However after rebooting to system it started bootlooping so I decided to reflash OS and wipe data as recommended. So I power off the phone then hold volume down + power to boot to recovery. However when I boot to recovery, file folders started to become random names like its encrypted. Luckily I backed up my internal storage and data so I'm okay to flash everything but can someone help me how to fix the twrp random file names and the steps for reflashing the OS?
EDIT: I rebooted to recovery, wiped dalvik, cache, and data. flashed OS 5.0.2, wipe dalvik cache, flashed magisk, wipe dalvik, reboot to system and it does not proceed to circling dots. So what I did is just, wipe dalvik, cache, data, flashed OS, wipe again dalvik cache, boot to system and it proceeds to circling dots however it takes so long that I can consider this as bootloop. I'm very tempted to wipe everything (data, system, internal storage, cache, dalvik) then just flash again the OS but I don't know if it would work so I hope someone could give me some steps how to fix this
Edit 2: This is solved now: What I did is just after trying the flash OS with no magisk, I booted to system. However, i just dont boot at all so I decided to boot to recovery again, but this time the recovery is the stock one. I wipe everything I could including cache, system reset, and data (music pics etc) and it booted to the system in no time but everythings lost.
You have to format data... Not just wipe it. From TWRP go to format data, write yes, and let it format everything. Then transfer over to the phone all the fil a you need (ROM, kernel, no verity zip) and flash them as per the instructions of your rom thread. You should be fine.
panooos said:
You have to format data... Not just wipe it. From TWRP go to format data, write yes, and let it format everything. Then transfer over to the phone all the fil a you need (ROM, kernel, no verity zip) and flash them as per the instructions of your rom thread. You should be fine.
Click to expand...
Click to collapse
What I did is just after trying the flash OS with no magisk, I booted to system. However, i just dont boot at all so I decided to boot to recovery again, but this time the recovery is the stock one. I wipe everything I could including cache, system reset, and data (music pics etc) and it booted to the system in no time but everythings lost.
Edit: nvm you've solved it
Peshyy said:
Edit: nvm you've solved it
Click to expand...
Click to collapse
You can still show other solutions as others may need it sometime

I forgot to wipe the dalvik in twrp and proceeded to install a custom rom

it failed when I tried to wipe the dalvik in twrp and then I proceeded to install a custom rom now the rom is not being installed and I cant quit twrp becuase my power button is not working somebody help
you have other issue than dalvik. format userdata partition.

Categories

Resources