[Q] Searching for a compatible Custom Recovery... - Android Q&A, Help & Troubleshooting

Hello all,
My problem is I have a phone with null development (AFAIK), a LG K4 K-120E, running Android 5.1.1 with root access, and I need to find a compatible custom recovery in order to create Nandroid Backups and, logically, restore them.
I've tried Online Nandroid Backup (previous discussion in this forum here), but my device is not supported. This app generates a device code for my phone (me1) but is not on the device list. I've sent an automated support request to the developer to identify my phone but an user of this forum told me that this app is no longer mantained. Other apps such as ROM Manager and TWRP Manager are also not supported.
All in all, I wonder if it could there be a compatible custom recovery for my model, for example a K5 or K10 recovery image, and if not, how to adapt it. And if this is not possible, how could I make full system backups and restore them?
Thank you very much in advance. Regards.

Given the "success" of my post, I will try a different approach to my issue.
Since it's possible to boot a recovery image without flashing it, by connecting the phone to the computer and typing
Code:
fastboot reboot <downloaded img>
there goes my new question: Could I harm my device if I boot from several images for different LG Kx devices? For example, with K5, K8 and K10 TWRP images.
Thanks again.

Related

[Recovery] TWRP with hardware encryption for Moto E 2015

For LTE model only!
Usual disclaimers apply (i.e., I am not responsible for bricking your device).
Version: 2.8.6.0-12-gf746dbb
Rationale: CM 12 uses the hardware encryption capabilities of the Qualcomm SoC to strengthen the derived encryption key. To be able to decrypt the data partition, the recovery needs a proprietary daemon blob (qseecomd).
Image available in the Downloads section. Install with
Code:
fastboot flash recovery recovery.img
Known issues:
Date is plain wrong
fastboot boot recovery.img breaks hardware encryption. Please flash the image.
Inspiration/Thanks:
cybojenix's recovery
scritch007's CM12.1 ROM
TeamWin's work on qcom hw encryption for the OnePlus One
XDA:DevDB Information
TWRP with hardware encryption, Tool/Utility for the Moto E 2015
Contributors
vlcdsm
Source Code: https://github.com/vianney/android_device_motorola_surnia
Version Information
Status: Testing
Created 2015-05-25
Last Updated 2015-05-28
Great!
Date is wrong! This is unacceptable!
Just playing. Thanks a ton for the updated recovery. You might want to put which version of TWRP in the subject of the OP
Does this make it to where my Stock Backup will restore and boot properly?? After installing CM12.1 my phone won't boot the backup of my Stock 5.0.2 for some reason
jahrule said:
You might want to put which version of TWRP in the subject of the OP
Click to expand...
Click to collapse
Added in the description (it would make the title too long for my taste ).
goldeneagle1972 said:
Does this make it to where my Stock Backup will restore and boot properly?? After installing CM12.1 my phone won't boot the backup of my Stock 5.0.2 for some reason
Click to expand...
Click to collapse
There should be no reason why this recovery works better than another when it comes to restoring a previous backup. How did you make your backup (which recovery, which version, which format/compression)? Was your device encrypted when you took the backup? Can you read the backup files from a desktop computer?
Just bought the Virgin Mobile Moto E this evening and wanted to make sure I could root before I activated. I use Google Authenticator, and I can't backup and restore my keys without Titanium Backup, so root is essential. Not sure if it's a new BL or what, but not a single damn one of the recoveries I have been trying to flash would open. No errors in flashing, just nothing at all would happen when I try to enter recovery after flashing. Finally this worked. I was pretty close to giving up. Thanks so much for the hard work it takes to create these recoveries for the rest of us.
After flashing this recovery I was unable to flash cm12.1 unified. Any ideas? Reverting back to the other version without encryption enabled me to flash custom ROM again.
Is this intended to allow encryption with stock 5.0.* firmware, or is it just for cyanogenmod etc? I've installed this recovery with stock firmware, but hangs on reboot with a black screen after selecting 'encrypt' from security menu.
I have my device encrypted. After installing this recovery, it asks for a password when I enter recovery mode. However, it only asks for a 3x3 pattern - which is not the size of my pattern. So I'm unable to actually use the encryption support :-/ . Is there any way to change the size of the pattern?
(For now, I'll just switch to a PIN, but still...)

[HELP] Write recovery image in recovery partition

Hi XDA. I'm looking for help here, because i have't found anything like i need in many researches that i made. I have a qualcomm based phone that is comercialized only in my country; it's based on ZTE parts but it is sold over a brand called Vtelca.
There's litteraly any official way to flash this phone neither than an official firmware. The only thing that one can find are custom roms that are made by local coockers, based on system dumps of functional phones. There's a port of CWM that one can install in this phone over ADB. One can be able to flash CWM when the phone is operative, but if the phone has a soft brick, one can just do anything.
Theres no fastboot in this device, so one can't flash images over there, but there is a way to connect the phone that mounts all of its partitions (litteraly all of them, including the recovery one). Only linux can obviously read all of this partitions because of the filesystems, and here is my question:
Is there a way to write an image into a partition?
My theory is that if i know which of the partitions corresponds to android recovery, i 'should' be able to write the recovery image into it. Right?
Thank you in advance, even if there's no way to do this.

How to Root Nuu R1 (R5001LA) ?

I just bought a Nuu R1 Rugged Phone. It has Oreo 8.1.0 on it.
It is an "unlocked" phone. But I don't know if unlocked refers to the phone carrier or to the boot loader. (I'm thinking phone carrier.)
The last I rooted my tablets was Android 5, which required using a custom script that a dev here wrote that temporarily ran CW via fast boot.
I would like to root my R1. I hear now that Magisk is the way to go. (Instead of SU.)
Most every Guide says that I have to have TWRP installed before installing Magisk. But there's no TWRP for the R1. And I am incapable of compiling my own.
I learned, from Nuu Tech Support, that I can get into the phone's Recovery mode with some hidden button pushes. Here's a screen shot:
My first question is, could I simply install Magisk by selecting "Update from SD card"?
If it's not that easy, then, second: I can also get to a fastboot screen. (Not shown here.) Could I install Magisk from ADB on my computer?
I suppose a third question: Is there a version of TWRP that's compatible with this phone? And if so, how do I find it? It would be nice to have a Nandroid backup.
I am willing to show various screens that come up from various button pushes if that would help a dev here.
More data for TWRP'ing
So, I see that one needs an image of the OEM ROM to compile TWRP. I found two sites on the web that claim to have the ROM. (Before the R1 was officially released.) Sounds sketchy. Will try to get an image from Tech Support.
In the meantime, I found that the bootloader can be unlocked (or allowed to be unlocked) via a setting under Developer Options.
I contacted Nuu Mobile Support and they were kind to send me the MediaTek USB drivers for the R1.
It was a two step process to get the driver installed for ADB. But now I have access to the R1 via ADB.
I read here on the forums that I can boot TWRP via fastboot, and not risk ruining/corrupting the R1's Recovery Partition.
Anyone know of a TWRP model version that's close enough to work on the R1? (I presume a TWRP for another MediaTek device might work?)
I would hate to try KingRoot to get root.
I found a website called unofficialtwrp.com. It has a TWRP for the MediaTek 6739, running Oreo 8.1, with 16/2 GB. That's exactly what the Nuu Mobile R1 has.
So, hopeful that this would allow me to root my R1, I tried it. (Short version: Didn't work.)
I already had ADB installed and could talk to my R1 via ADB.
But once the R1 had booted into fastboot mode via ADB, I got a message from fastbood devices that it was "waiting."
I learned that that message means that I didn't have drivers for fastboot.
I ended up installing a fresh version of Win8.1 and using the Windows' updater to find the needed drivers. I had to have the R1 plugged in to the USB in fastboot mode for this to work. After that, I could talk to the device via the fastboot command.
So I unlocked the boot loader (which wiped my data - not every Guide warns you about that) and I did "fastboot boot recovery.img."
I got the message that the recovery file had transferred. After abotu 15 seconds, the phone rebooted. But no TWRP.
Rats.
I didn't want to try the fastboot flash command in case this unoffiical twrp from an unofficial site bricked my phone. If I understand things correctly, booting in fastboot to the recovery.img should give me a temporary instance of TWRP.
Presumably, after copying Magisk into memory, I would be able to get root that way.
PMikeP said:
I found a website called unofficialtwrp.com. It has a TWRP
Click to expand...
Click to collapse
Whoa you have been busy you must've heard XDA helps those who help themselves.. :highfive:
I just dropped by to say, 1st rule of modding is taking a pristine stock backup..
For MTK devices, there is a tool called SP Flash Tools, a quick search will help you take a full backup using this tool.
Afterward, you can even try using SP Flash Tools to flash a Magisk patched boot image to your device for ROOT!
Hope this helps!
Thanks. I did see SP Flash Tools mentioned and I did take a look at it. While I've rooted before, I'm trying to get my head around a Scatter File.
Everything I've read so far - well, almost everything - says that I need TWRP to get Magisk installed. But if you think it can be done via SP Flash Tools, I'll start playing with it.
Root nuu r1
Did u ever manage to figure out how to do this & get TWRP to install? :fingers-crossed:
No, I haven't had time to play with rooting lately. I still would like to root it tho.
Anyone know how to root the nuu phones?
someone has the boot.img i need the image
I will port TWRP for you in case you have stock recovery.img
jjgvv said:
I will port TWRP for you in case you have stock recovery.img
Click to expand...
Click to collapse
plis
do you have stock rom?

Bundle TWRP without recovery.img

I'm on a quest to root my Hisense A9 e-ink phone. There isn't a stock ROM available online, and my attempts at extracting the recovery.img or boot.img with an EDL client or through ABD have failed. So the next thing I can think of trying is bundling a TWRP build, or possibly borrowing the TWRP from a similarly architected device and seeing if I can boot into it (without flashing).
So is there a way to build TWRP for an unsupported device, when there's no recovery.img available?
Also, is it safe to ./fastboot boot recovery.img without risk of bricking the phone (ie., booting instead of flashing)? If so, then I can try existing TWRP builds for similar devices.
Alternatively, are there any other avenues for rooting a new device which has no available stock ROM? Or other possible workarounds to get Google Services working correctly? I've tried MicroG, but the Hisense A9's ROM doesn't support signature spoofing, and to enable support I need TWRP.
Here's a thread which details some of my failed attempts at getting the boot.img via the EDL client.
And some more details about the phone:
Hisense A9 / HLTE556N
Processor: Qualcomm Snapdragon 662
Android 11
Software version: L2037.6.03.11.00
Kernel: 4.19.157
A/B partitions
Thanks everyone!
Did you tried those experiments…..
I have same question…kinda….
As their is no twrp recovery for my device (vivo 1802 mtk device) I was thinking of booting into twrp recovery not made for my device specifically Without flashing it.
To get the job done maybe some backups or flashing using twrp. But I don’t know what will be the consequences of it…… If anyone got idea or hands on experience on it, I would like to know

Question TWRP doesn't have an option to flash only the System Image!

Basically title, Tried a bunch of GSIs using DSU Sideloader and now want to try GSIs by flashing it on my device using TWRP as using the fastboot option seems a bit too complicated.
To my dismay, as I was trying to install my GSI.img there is no option to flash only the system image!
I had already formatted the data so I thought, what could go wrong? so I went all in.
I tried to install the GSI using the system option (it had a parenthesis with labels on it like, vendor vendor_boot, etc) and, of course it failed and my device got stuck in TWRP w/no os installed, PC can't read my internal storage and TWRP fails to install any roms, I even tried installing my stock rom using TWRP again but it also fails.
A rising heartbeat and half an hour spent trying to calm myself thinking what to do next, I tried going into my phone's Fastboot mode and it still worked!, so I had the idea to use MiFlash tool.
So I used MiFlash tool to flash my stock rom while on Fastboot mode. And it was a success.
Now I'm back to my stock rom.
All in all, a scary situation for me, but I still want to flash my device with a GSI image using TWRP. So my question is, is there really no option to flash only the system image for the 12T Pro?
For reference, I'm using this TWRP(v7.7) linked here: https://forum.xda-developers.com/t/...p-for-android-13-shared.4535575/post-88438567
Take a look at chapter 4
[Android13] Custom GSI ROM Installation - Full Process
I'm going to explain the complete process for getting up and running on a custom GSI ROM as the guides so far seem to either have only parts of information or incorrect information. Following this process will wipe your data and alter your phone...
forum.xda-developers.com
NOSS8 said:
Take a look at chapter 4
[Android13] Custom GSI ROM Installation - Full Process
I'm going to explain the complete process for getting up and running on a custom GSI ROM as the guides so far seem to either have only parts of information or incorrect information. Following this process will wipe your data and alter your phone...
forum.xda-developers.com
Click to expand...
Click to collapse
Ah, I see. that's too bad... Thanks!
NOSS8 said:
Take a look at chapter 4
[Android13] Custom GSI ROM Installation - Full Process
I'm going to explain the complete process for getting up and running on a custom GSI ROM as the guides so far seem to either have only parts of information or incorrect information. Following this process will wipe your data and alter your phone...
forum.xda-developers.com
Click to expand...
Click to collapse
Greetings, it's me again. Since it seems like you're very knowledgeable, I wanted to ask something in regards to backups.
While scouring around online, I read that as a precaution for flashing roms/stuff, I have to backup my IMEI by backing up my EFS using TWRP. However, while fiddling around in TWRP's backup settings, I can't find anything to backup a folder named "EFS". There's also no option to "mount" the "EFS", closest I could find was "modem" and "persist".
It says online that without EFS, my IMEI should not be working, but my IMEI is there in the settings and working and it shows the same IMEI number on the sticker on the back of my phone.
So I'm wondering, why can't I see or backup my EFS/IMEI in TWRP when I can see my IMEI in my phone's settings. Any idea what this could be? Or is it that the IMEI is stored in another folder and not on the EFS? Thanks and kind regards.
I don't have a Mediatek device but there are many tools, do a search.
There is no longer this option on recent TWRPs.
You must do it manually with commands, the device must be rooted or use an app from the playstore.
efs imei backup wanam - Android Apps on Google Play
Enjoy millions of the latest Android apps, games, music, movies, TV, books, magazines & more. Anytime, anywhere, across your devices.
play.google.com

Categories

Resources