[Q] Recovery and kernel - Optimus L3, L5, L7 Q&A, Help & Troubleshooting

As im new with LG devices (always had Sony (Ericsson) ones) I wanted to be 100% sure before modding.
Recovery is connected with kernel? I mean - when I flash kernel it has built in recovery (like Sony/SE devices, where after falshing kernel u need to use it's built in recovery/ies) or they are not related (like e.g. ASUS Transformer devices (where recovery can be flashed using fastboot or by itself and kernel is flashed using recovery)?

At first specify exact model of ur device

Sorry, forgot that this is multi model forum. My model is L7 P700. But I think that to answer my question, device model is probably irrelevant.
As I didn't want to wait for answer I can answer my own question.
I used guide from this thread:
http://forum.xda-developers.com/showthread.php?t=2486512
But used recovery.img with TWRP 2.8.6.0 and than CyanHacker 2.0.0 and Monster Kernel.
And after flashing kernel TWRP stayed as default (and only) recovery.
So answer is: It's like on ASUS devices, where recovery is not related to kernel (has it's own partition), not like in Sony/SE where it's part of it (now there is possible access to /recovery partition as well).
Thread can be closed.

Related

[Q] How I Can Install Custom Recovery On ICS a500

Hi Everyone, How I can install a custom recovery in a500 On ICS
The Build Number is : 1.031.00_WW_GEN1
Image Version is : RV03RC01_WW-GEN1
If You help me i can help you :highfive:
Sorry For My Bad English
:silly:
________________________________________
Acer A500 Stock ICS
HTC Incredible 2 Stock ( For Now)
1. Install acer recovery installer from market. This apk is free.
2. Keep with you the .zip or .image file of recovery which you want to install and place it in sd card.
3. Run the apk and select install from sd card.
4. If apk do not detect .zip file in your sd card than extract recovery.image from that file and store it in sd card.
---------- Post added at 11:39 AM ---------- Previous post was at 11:27 AM ----------
You can get custom recovery files from tegraowners.com or any other custom recovery in development section.
jancarlos1597 said:
Hi Everyone, How I can install a custom recovery in a500 On ICS
The Build Number is : 1.031.00_WW_GEN1
Image Version is : RV03RC01_WW-GEN1
Click to expand...
Click to collapse
The real answer is if you have ICS, to install a custom recover or custom kernel you must have an unlocked bootloader.
The following resources are related to the new bootloader, a quick read of the OPs of the first two are highly recommended, even if you install with the third link. (This is to have a highlevel idea of what you are changing on your device, as it will help you find what you need to look closer at in future if something goes wrong, or possibly prevent a problem in the first case)
bootloader thread
civato's guide
Afterota tool (windows users bootloader install tool)
If you already have the unlocked bootloader installed, but can't boot into recovery:
This is likely because you have a stock ICS rom overwritting recovery with the stock recovery in every boot; either use fastboot or (if you have root) a program such as acer recovery installer to force the install of a recovery and immediately reboot into it. (Most bootloader installers will also install a recovery that you can immediately boot into)
Once in recovery you can backup/restore/or install a rom modified to prevent the overwrite of recovery. (More advanced users can stop this from adb by removing some files)
Personally I use a lightly modified version of the stock rom you are using now:
http://forum.xda-developers.com/showthread.php?t=1661492
it ought to be safe to do a no wipe update to that and receive a more expected environment with a custom recovery, optional custom OC kernel, and busybox support.
However if you explore the dev section, many other (both more and less modified) versions of ICS roms exist. Themed and otherwise. So feel free to explore.
Closed
:good: MOD Please Close This, I Fix This.

[Q] Ability to replace TWRP with CWM

My two devices are a Sony Xperia T and a Google Nexus 10. For the last 24 hours, my Xperia T has tilal's OmniROM build and I'm waiting for some official nightly to install to my N10.
I've seen from Xperia T that OmniROM's recovery of choice is TWRP. Personally speaking, I'm a fan of the simplicity of CWM.
Now my question is, are we able to replace the TWRP recovery with CWM? Or it will break certain things and the phone/tablet will become unusable?
I've found that Nexus 10 has a thread where the newest CWM recovery image file is posted, so changing that will be easy. But for Xperia T (and for Sony devices in general), the Clockworkmod site (http://www.clockworkmod.com/rommanager) doesn't offer any recoveries. For Xperia T, the last CWM recovery image was posted by tilal more than a year ago, and I believe a lot of things have changed since then.
So, my second question is, in case we are able to replace the default recovery, would it be safe to use one built by the official CWM recovery builder? (http://builder.clockworkmod.com/)
Thanks in advance for any answer!
_Raziel666 said:
My two devices are a Sony Xperia T and a Google Nexus 10. For the last 24 hours, my Xperia T has tilal's OmniROM build and I'm waiting for some official nightly to install to my N10.
I've seen from Xperia T that OmniROM's recovery of choice is TWRP. Personally speaking, I'm a fan of the simplicity of CWM.
Now my question is, are we able to replace the TWRP recovery with CWM? Or it will break certain things and the phone/tablet will become unusable?
I've found that Nexus 10 has a thread where the newest CWM recovery image file is posted, so changing that will be easy. But for Xperia T (and for Sony devices in general), the Clockworkmod site (http://www.clockworkmod.com/rommanager) doesn't offer any recoveries. For Xperia T, the last CWM recovery image was posted by tilal more than a year ago, and I believe a lot of things have changed since then.
So, my second question is, in case we are able to replace the default recovery, would it be safe to use one built by the official CWM recovery builder? (http://builder.clockworkmod.com/)
Thanks in advance for any answer!
Click to expand...
Click to collapse
Recovery builder will most likely fail with devices that use a unified kernel (recovery and normal operation in one image). I think Dees_Troy's FOTAKernel trick is implemented on the blue family in addition to the fusion3 family, but I'm not sure.
Building CWM in an omni tree is not possible - CWM has too many tentacles throughout the entire Android source tree to allow it to build, TWRP is much more self-contained.
Entropy512 said:
Recovery builder will most likely fail with devices that use a unified kernel (recovery and normal operation in one image). I think Dees_Troy's FOTAKernel trick is implemented on the blue family in addition to the fusion3 family, but I'm not sure.
Building CWM in an omni tree is not possible - CWM has too many tentacles throughout the entire Android source tree to allow it to build, TWRP is much more self-contained.
Click to expand...
Click to collapse
Thank you for your answer, Entropy512! So, basically, from what I understand there's no way using CWM recovery with any OmniROM build.
I guess we'll have to get used to TWRP, the only problem to that being the fact that I (and many others from what I see in the Xperia T forum) have problem accessing their internal storage using TWRP. Strange thing is that this wasn't the case in CWM.
Sent from my Nexus 10 using Tapatalk 4
_Raziel666 said:
Thank you for your answer, Entropy512! So, basically, from what I understand there's no way using CWM recovery with any OmniROM build.
I guess we'll have to get used to TWRP, the only problem to that being the fact that I (and many others from what I see in the Xperia T forum) have problem accessing their internal storage using TWRP. Strange thing is that this wasn't the case in CWM.
Sent from my Nexus 10 using Tapatalk 4
Click to expand...
Click to collapse
Then there's probably a TWRP configuration issue that needs to be resolved in Omni - And it may be a result of temporary KitKat fallout. The recipe for getting storage working on the blue family in kitkat is... convoluted... This is resulting from the fact that the blue family have non-unified storage that is formatted as ext4 AND uses nonstandard UID/GID - no other device has this configuration. It's either FAT on /sdcard or unified storage (/sdcard is emulated on /data/media).
If you find a recent CWM FOTAKernel installation that should work - but almost all FOTAKernel approaches were used to replace CWM with TWRP, not the other way around.

[INDEX][GUIDE][FAQ] All Things RAZR I

Welcome to the “All Things” Razr I Index thread. This Index thread contains basic information about the Motorola Razr I a.k.a. XT890 to get you started. It won’t contain any KERNEL and ROM Development, because of the numerous kernels and roms people can make. It would just flood this thread if it happens.
All the work that is presented in this thread belong to their rightful owners. I just sorted them and linked the threads in here.
Everything that u do to your phone it totally your own responsibility. Nobody here or elsewhere can be held account for a failure in flashing, device bricked or a rom problem if u tempered with your own device. But maybe we can help if u ask nicely.
This Index thread contains the following in this order:
A. GENERAL DISCUSSIONs
B. GENERAL (DEV) TOOLs
C. UNLOCK BOOTLOADER and ROOT
D. RECOVERYs
E. FIRMWAREs
F. MODs
G. WARNINGs, BRICKED DEVICEs SOLUTIONs/DISCUSSIONs
H. DOWNGRADE TO ICS
I. FROM STOCK TO CUSTOM ROM
J. FROM CUSTOM ROM TO STOCK (with RELOCK BOOTLOADER)
Some important notes:
When using 3rd party software to alter your device u warranty may be voided. In every country this is different. Before going ahead, read your legal rights!!!
Each thread/sections can contain “important” notes
Do your research before doing anything
Read the information the owner of the thread gives u
Highly recommended to have a look at the ‘warnings, bricked devices solutions/discussions’ threads before using RSD-Lite and fastboot commands like flashing manual firmware versions.
Last note:
If u find something missing that should definitely be in this Index thread, please share.
If u find anything wrong and u know the answer, please share.
Can someone have a look at the downgrade section. That’s the only one I don’t know for sure.
A. GENERAL DISCUSSIONs
Are recommended discussions about new firmware and features
RAZR I Help Guide (2013)
Motorola 4.4 (2014)
FM Radio (2013)
RAZRi XT890 USB OTG Capabilities
B. GENERAL (DEV) TOOLs
Contains threads with information about tools that you may need for your device
Motorola USB drivers
Motorola Device manager (driver)(Windows)
Motorola Device manager (driver)(Mac)
Motorola usb drivers for all devices. It also installs the device manager that checks for updates for your device. You can delete the program and still use the drivers. If u want the drivers alone, search the internet. No valid official link yet.
[TOOL] [WINDOWS] ADB, Fastboot and Drivers - 15 seconds ADB Installer
In different threads are different methods to acquire those tools. If u have them ones installed right, u don’t need them twice. It isn’t bad to have them multiple times though.
Motorola mFastboot (fastboot file sized > 100mb)
Put the mFastboot executable as 'mfastboot' in the directory where adb and the normal fastboot file are stored
RSD-Lite
Motorola Tools [Specially for Noobs] (November, 2012)
RSD-Lite in this thread is outdated(5.7), use the newest 6.1.x series from here
If one version doesn’t work, try another. 1 of the 3 should work for you!
ALWAYS USE YOUR CURRENT FIRMWARE OR HIGHER! DON’T DOWNGRADE WITH RSD-LITE. Downgrading with RSD-Lite will cause a soft-brick or if really screwed up a hard-brick. See ‘warnings, bricked devices solutions/discussions’ for more information.
[How to] Change Radio Firmware (February, 2013)
Flashing the radio can do more harm than good, but can also be rewarding, be careful
[DEVS only] Unpacking RAZR i boot images (November, 2012)
C. UNLOCK BOOTLOADER and ROOT
Threads about the bootloader and getting root access.
How To Update/Unbrick/Root Razr I To Jelly Bean (With Review) (Maart, 2013)
Makes use of video’s, a tad outdated.
Unlock the Bootloader on Your RAZR i (Oktober, 2012)
If this doesn’t work, your device isn’t supported (can happen). At this moment u can only achieve root access with the method: TwerkMyMoto, if your bootloader can’t be unlocked.
[Root] TwerkMyMoto 1.0 (no unlock root)(Jellybean) (november, 2013)
Doesn’t require unlocked bootloader
RAZR i Root 2 (Jellybean 4.1.2) (January, 2013)
RAZR i Root (ICS) (December, 2012)
D. RECOVERYs
The recovery’s can behave at every device differently. So a user can have no problems with CWM and almost can’t use TWRP. But it is the same the other way around. Try them and see which one u like and works for u.
To enter Fastboot mode to get to the Recovery
After booting up fastboot mode, navigate with volume - down to the recovery and select it with volume + up
[RECOVERY] Installer for CWM 6.0.1.9 / CWM 6.0.3.6 / TWRP 2.6.3 / STOCK (February, 2014)
To enter stock recovery, press volume up and down at the same time when the Android appears.
CWMR or TWRP install easy 19-Sep-13 (September, 2013)
E. FIRMWAREs
The Unofficial Thread of Official OTA Updates (April, 2013)
Motorola Razr i XT890 Firmware (up-to-date)
F. MODs
Recommended to make a backup before applying
[MOD] Collections of mods for Omar-Avelar Rom (April, 2013)
[MOD] Changing the brightness curve in stock JellyBean (September, 2013)
[Tool] Swap Internal SDcard With External SDcard no init.d need UPDATE (December, 2012)
Enabling USB Mass Storage on the Razr I (Needs root access) (November, 2012)
G. WARNINGs, BRICKED DEVICEs SOLUTIONs/DISCUSSIONs
Downgrade problems JB -> ICS | Black screen green led | service required code currupt
Downgrading from JB to ICS with a locked bootloader is bad. According to a lot of users it will give u a bricked device. This is because RSD-Lite can also flash the motoboot (bootloader), gpt.bin (partition table) and motobp (radio?) and those 3 may never be downgraded only upgraded. Can only be resolved at a service station.
With an unlocked bootloader it is possible, but then again, don’t flash the motoboot, gpt.bin and motobp!
WARNING - Avoiding Bricked Phones + RSD Lite Tutorial (April, 2013)
Recommend to read before attempting to downgrade
RSD-Lite tutorial, not a downgrade tutorial
Unbricking JB to ICS downgraded hardbricks (Maart, 2013)
This is a unbrick method when u have the following message: Service Required Code Corrupt or black screen - green light. But be careful. This fix can help most of the problems, but not all because of the firmware differences. If it doesn't work for you, have a look at the one below. The owner and thread is still worth mentioning because of the finding of a possible fix, the many devices the owner saved and the discussion about the problem that came along.
Unbricking "Service Required Code Corrupt" (May, 2013)
A better documented unbrick method as the one above, but the same. Still won’t help everybody. But won’t harm your device more than it can and already is if u need this. Only for downgrade problems, everything other needs RSD-Lite or Jellybean versions of the files.
Other issues/discussions
Locked Bootloader, can't access Recovery
If u have a locked bootloader and u can’t access the recovery anymore and even RSD-Lite (latest version) with stock firmware (JB) won't work, there is no possible way to resurrect it, yet. Most of the time it means that you have a bad sector in your EMMC (flash memory) and with a locked bootloader it can’t be erased/written to.
PDS Partition Fix (July, 2014)
In TWRP recovery u can erase PDS. Never do it! Will be fixed when 4.4 is out.
Issue Locked bootloader
If u have any issue with your phone (bootloop, stuck on bootlogo) and u have a locked bootloader, try the following:
Reboot to stock recovery
Do a "factory reset"
If that doesn't solve it, flash your original firmware (JB) with RSD-Lite! Make sure u use one of the latest versions of RSD-Lite, 6.1.x. 6.1.5 is the latest (Augustus, 2014)
Unlocked bootloader
If u have any issue with your phone (bootloop, stuck on bootlogo) and u have a unlocked bootloader, try the following (all staps are on there own. If one doesn't work, try another):
Reflash your custom ROM if u use one (don't wipe) (Renews your system partition, stays of your data)
Wipe your data/cache in recovery (does what it says)
Wipe partitions system/data/cache and flash new rom (reflash whole new system)
Do a nandroid restore if u have a nandroid backup of the rom (restore a previous nandroid)
Do a RSD-Lite flash, use latest versions of your stock firmware and RSD-Lite. (reflash to complete stock)
H. DOWNGRADE TO ICS
If u still want to downgrade from JB to ICS for whatever reason, those are the most save methods, because we disable the flashing of the ‘motoboot’, ‘gpt.bin’ and 'motobp'. There are 2 methods, 1 is by RSD-Lite with a modified xml file and the other one is flashing all the files manually. CANNOT BE DONE WITH LOCKED BOOTLOADER only unlocked!!!
RSD Lite:
Follow and read one of the tutorials for RSD-Lite and download your ICS Stock version of your device!
Set everything up and before flashing remove the following lines from the included XML file of the firmware u want to flash:
Code:
“<step operation= “flash” partition= “gpt” filename= “gpt_signed” MD5= “*****”>”
“<step operation= “flash” partition= “motoboot” filename= “motoboot” MD5= “*****”>”
“<step operation= “flash” partition= “motobp” filename= “motobp” MD5= “*****”>”
U maybe need to delete the following line also:
Code:
“<step operation= “getvar” var=”max-download-size”
U should be good to go!
Manually:
For manually flashing we need “mFastboot”. See GERNERAL (DEV) Tools for more information.
Download your firmware and extract it.
Now use the following commands in a command prompt. Make sure they are correctly spelled and return an “OKEY”!
Code:
[LIST]
[*]mfastboot flash boot boot_signed
[*]mfastboot flash recovery recovery_signed
[*]mfastboot flash system system_signed
[*]mfastboot erase cache
[*]mfastboot erase userdata
[/LIST]
I. FROM STOCK TO CUSTOM ROM
See threads that are mentioned above for more details.
Backup your important data from your phone to PC or elsewhere
Get ADB, Fastboot and your device drivers working
Unlock your bootloader with the above method
Install one of the recovery’s
Install a Rom and/or kernel from one of the threads in the Development section of the Razr I Board through custom recovery.
J. FROM CUSTOM ROM TO STOCK
See threads that are mentioned above for more details. If u want to relock too, have a look here (only for jellybean)
Backup your important data from your phone to PC or elsewhere
Get RSD-Lite working
Download the latest official android firmware for your device. (Always jellybean, unless u had ICS installed before the custom rom and to be on the safe side, never used a Jellybean version, then u can try ICS too)
Flash through RSD-Lite
Enormous post hazou! THank's a lot for all your work!
(work on rom, work on thread... etc)
Excellent job!
Thanks for this guide !
A question :
I'm whith KTR rom 2.2 ( JB 4.1.2 ) and, as all users, i have the unlocked phone screen when i boot my razr I.
If i do the step H. of the guide in order to downgrade to ICS, can i change the unlocked screen whith another one, and after reflash KTR rom ( JB ) in order to don't have anymore this unlocked screen at boot ???
elreydelaplaya said:
Thanks for this guide !
A question :
I'm whith KTR rom 2.2 ( JB 4.1.2 ) and, as all users, i have the unlocked phone screen when i boot my razr I.
If i do the step H. of the guide in order to downgrade to ICS, can i change the unlocked screen whith another one, and after reflash KTR rom ( JB ) in order to don't have anymore this unlocked screen at boot ???
Click to expand...
Click to collapse
To flash a working logo image u need the bootloader (motoboot) from ICS. But if u flash the motoboot from ICS coming from a jellybean rom (is using the motoboot from jellybean) u will brick your device. (unless as stated, u have never bean on stock JB or installed the firmware from stock JB and u flashed from stock ICS to KTR-rom. So u have the stock ICS bootloader. But i think nobody in this world has that anymore.)
The bootloader and its necessary files may never be downgraded!! I will make a point in the guide to address your question.
So, to answer your question. No u can't!
OK , thanks hazou !
There is definitively no solutions to remove this shi...of bootscreen ....
hey, I wanted to flash the stock rom with the rsd tool and I got my phone bricked, green light flashing, no code error message. Is there any solution for that problem?
edit: ok, I made a stupid mistake by accidentally downloading the ICS stock rom instead of the JB... f**k
bongofred said:
hey, I wanted to flash the stock rom with the rsd tool and I got my phone bricked, green light flashing, no code error message. Is there any solution for that problem?
edit: ok, I made a stupid mistake by accidentally downloading the ICS stock rom instead of the JB... f**k
Click to expand...
Click to collapse
Always read as much as you can and do lots of research to prevent a brick.
waj3k said:
Always read as much as you can and do lots of research to prevent a brick.
Click to expand...
Click to collapse
yep sure, I got it unbricked with the tut hazou linked in his post, so everything is fine
THX!
Nice thread. Thank you! This helps so much!
Motorola RAZR i xt 890 stuck at bootloader is unlocked
Please help!!!
My Motorola razr i xt 890 is stuck at AP Fastboot Flash Mode(secure boot)
and there are options like:
Normal Poweup
Recovery
Factory
BP tools
Switch Console [NULL: null]
Power Off
Now when I select any of the options from above it shows the screen saying "warning bootloader is unlocked" and after that it remains in the same condition.I can't access any of the options.
Please help me....
anuragtripathi said:
Please help!!!
My Motorola razr i xt 890 is stuck at AP Fastboot Flash Mode(secure boot)
and there are options like:
Normal Poweup
Recovery
Factory
BP tools
Switch Console [NULL: null]
Power Off
Now when I select any of the options from above it shows the screen saying "warning bootloader is unlocked" and after that it remains in the same condition.I can't access any of the options.
Please help me....
Click to expand...
Click to collapse
i have the same problem.
I managed to enter after many power + volume up press and it rebooted after many minutes, to the rom.
and it worked!
the only problem is that I can't make the antenna work. it's not working

[SOLVED][REQ] Stock RAMDISK or BOOT image for A3(2016) - SM-A310F

Hello,
I am just new with Samsung smartphones, previously I was on some other devices such Nexus which are easier to mod.
I would like to tweak the kernel( I already got the sources) to add few things but I need for that eventually the ramdisk and the kernel image to make a boot image.
I wanted to download the latest firmware, hoping a default boot image was integrated in it and that I could unpack but I got issue and connection loss so I can't even take a look at it.
I think I will be able to get the boot image with the dd command but to do so I need to be in a mod recovery(such twrp) and currently I can't.
Thx u
Firstly you've created a voting thread. If this is a standard question I suggest in future you leave the options at default.
Why can't you use TWRP?
My build also supports raw image backup of the boot partition.
Sorry about creating wrong thread type
I have extended this feature to include BOOT
Click to expand...
Click to collapse
Woot Yeah I didn't know about that!
So I can just get the current boot image, unpack it, replace with my kernel image, repack and done.
And then flash the boot image throw a zip install or your extended function.
Btw, I am was looking over the net but couldn't find an exact answer to this extra Q, is there any fastboot mode ? So I can just boot in a custom kernel image before flashing it.
Yep, just backup the boot partition using twrp.
Locate the boot image backup in the twrp backup folder.
Unpack it, make your mods, rename it boot.img, copy it to internal or external storage and flash it with TWRP using the INSTALL button.
Samsung devices dont have a fastboot mode.
@ashyx answered my questions, thx to him!
>Samsung devices dont have a fastboot mode.
My latest Samsung Tablet has a fastboot mode but it was manufactured around the end of 2012 ... So it is not quite recent
I've never known a Samsung device to use FASTBOOT, so that's news to me.
Samsung uses its own proprietary ODIN mode.
Which device is this?
Ahhah you gonna say I am half of a lier.
It was my nexus 10. Built by Samsung and running the 5250 exynos chip

KW98 - twrp and rooting

Hello,
I am using kingwear 98 (kw98)
https://www.smartwatchspecifications.com/Device/kingwear-kw98/
It's a smart watch based on MTK6580.
I am trying to understand what is the best method to install twrp on mediatek devices.
1. Is it by using the magic twrp installer ?
2. Or by manually porting twrp to our specific device , as seen in some tutorials here (porting twrp with same chipset into socket recovery)?
Well, actually I did try a 3rd option:[/B][/B]
3. I tried to use AllCall-W1_recovery recovery.img ( which has the same chipset).
https://mega.nz/#!kfgmmRRD!RcvPwf0Jc-BAwM4Sf9fYJrmF3DsTQTEYtE2LVeWyE10
Surprisingly it worked . Yet, after several days without issues, last week it became dead.
So, I don't understand how it worked in the first place (it is same chipset, but probably use totally different interface , and drivers ! ) , and if it became dead because something it might be wrong to put same recovery image of another device, without. proper porting.
So, should I flash same image (allcall W1 recovery) again on a new kw98 device that I will buy, or use one of the above methods (port twrp manually into my stock, or install magic twrp for mediatek).
Thank you,
ranran

Categories

Resources