[DEV] Need some info for recovery development | Advanced users only! - LG Optimus G (International)

As I see there is no recovery for general version of this device yet and it has been very long since the forum is created, so just wished to compile a custom recovery for you people so that development can proceed.
What I need?
1. A Tester ( I don't own this device and doing this upon a request) to test the build
2. Give me output of
Code:
cat proc/mtd
in Terminal emulator
3. Some info on factory flashing? What this device as a flashing mode? Fastboot? Download mode?
4. boot.img or recovery.img from the device

Related

[ROOT][FASTBOOT] Rooted boot.img for N5206EX_23_141129 (also an unofficial TWRP)

Pretty easy root. This is based off the N5206EX_23_141129 boot.img. All it really does is give you root via adb though.
Sucks we don't have kernel source yet...but this should get us started.
Download this boot.img:
http://www.invisiblek.org/n3/N5206EX_23_141129_rooted_boot.img
md5sum: 416978b586b932e0dbe5d18b74332ad8
Make sure to enable Developer Settings (tap the build number in about a bunch of times), then enable adb debugging in developer options.
Destructions:
Code:
adb reboot bootloader
fastboot oem unlock
fastboot flash boot N5206EX_23_141129_rooted_boot.img
fastboot reboot
Here's an unofficial twrp also, I opt'd not to start a new thread for it as Dees_Troy is planning to release it soon anyway:
http://www.invisiblek.org/n3/TWRP_2.8.3.0_UNOFFICIAL_n3.img
md5sum: 9905f2017dc12584cc4f071b349a10bf
Destructions:
Code:
adb reboot bootloader
fastboot oem unlock (if you have't already)
fastboot flash recovery TWRP_2.8.3.0_UNOFFICIAL_n3.img
fastboot reboot
After you get adb again:
Code:
adb reboot recovery
Looks like the official TWRP is now out, slightly newer version
http://teamw.in/project/twrp2/282
hi
does anyone has a simply way to root with a common 'step'
i left samsung and will come this phone
thanks'
HI... thanks but, the link for the image is broken... can you post it again... Thanks.¡¡¡
can this work on n5207 or do u know where i can root my version please!!!
What link recovery
Godell famz said:
What link recovery
Click to expand...
Click to collapse
https://eu.dl.twrp.me/n3/

[How to] Flashing kernel

I have a rooted HTC one M9. I saw the HTCU tag so the device bootloader is also unlocked. Android version is 5.0.2
I compiled a custom kernel and updated it using abootimage.
I then tried:
Code:
adb reboot bootloader
fastboot boot boot.img
adb wait-for-device shell
I could use also
Code:
fastboot flash boot boot.img
but i want for the begining the boot.img to be lost on reboot.
The device is waiting in fastboot Menu with following options:
Reboot
Reboot to bootloader
Boot to download mode
Boot to recovery mode
Power down
When i give command:
Code:
fastboot devices
I get no device (empty list).
How can i update the kernel?
Is there a problem with fastboot?
The title of the thread is a bit misleading since you are asking a question and not explaining what needs to be done to flash a kernel.
The M9 has no Fastboot Mode like the ones you may know from older HTC devices. You need to boot to Download Mode if you want to use fastboot commands. Besides I think I read somewhere here on xda that fastboot boot commands do not work with the M9 due to new security features. But I can't find that specific post right now so my memories might be wrong...

Root Armani in 2018

Method 1:-
Download Custom Recovery for armani in your pc and rename it to recovery.img
and download root zip and paste it in your sdcard
Download 15 seconds adb & fast drivers and follow the instructions....
In pc type the following commands by opening cmd from shift+right click and open command prompt here after connecting the device to pc
Code:
adb devices
after successful install of drivers you will see the device listed in that
Code:
adb reboot bootloader
After rebooting into fastboot mode type the following commands
Code:
fastboot flash recovery recovery.img
after successful flashing of recovery then type this
Code:
fastboot reboot recovery
Flash SuperSU/Koush superuser in your TWRP/CWM/Philz recovery
Method 2:- Download Kingo ROOT and root
Method 3:- Download Kingo ROOT pc version in your pc and load it and connect your device to pc and root....
Method 4:- Download KingRoot and click to root....if it fails in first attempt, try atleast 5 times...
Yes these are indeed the best methods to root this phone.
Also, note that Magisk will not work for the stock MIUI because the phone has Android 4.4 and Magisk probably requires 5.0+. So, Magisk should be used for newer custom ROMs.
HemanthJabalpuri said:
I want to root my MIUI 9 armani in 2018.....
I don't have PC
Click to expand...
Click to collapse
Also, like you had said earlier, if you don't have a PC due to some reason, you can use another phone or tablet for that purpose (to flash the custom recovery). I've read somewhere that most Android devices having 5.0 and below came preloaded with adb fastboot binaries (for newer Android phones, you can easily obtain the binaries online and add them into the /system/bin folder if it is rooted) and hence you can connect your Redmi to this other device using an OTG cable and use the shell (any terminal app) to issue the commands. The only important thing to be considered in this approach is that the other (host) device should have a big enough battery to be able to provide sufficient current to the Redmi phone such that it should not get disconnected during the process.
This method is usually ignored by people, but it really works.
Reserved
Reserved
Code:
$ fastboot reboot recovery
fastboot: usage: unknown reboot target recovery
Cannot issue the last command.
When I flash TWRP and reboot nothing happens. Same Mi Recovery is present.
I am on MIUI 9. Not rooted. I am trying to get a custom recovery but I fail. Please help.
blazzer12 said:
Code:
$ fastboot reboot recovery
fastboot: usage: unknown reboot target recovery
Click to expand...
Click to collapse
Are you sure recovery was flashed properly?
Try this while in fastboot mode :-
Code:
fastboot devices
Make sure that your device is listed properly.
Try this
Code:
fastboot erase recovery
fastboot flash recovery <path to recovery img>
Then reboot using
Code:
fastboot reboot recovery
If still doesn't work out, try to directly boot into recovery image
Code:
fastboot boot <path to recovery img>
If still doesn't work out, then there might be a problem with the fastboot binary on the PC, try to reinstall the latest version of it on the PC and try again.
---------- Post added at 22:03 ---------- Previous post was at 21:55 ----------
blazzer12 said:
When I flash TWRP and reboot nothing happens. Same Mi Recovery is present.
Click to expand...
Click to collapse
If the issue is specific to TWRP Recovery, try to flash other recoveries. For example, older version of TWRP or maybe try Philz Touch recovery as well.
Yes, the fastboot devices is being listed. Still #2 didn't work. But #3 worked perfectly.
So for me flashing recovery didn't work. I had to temporarily boot into the recovery and then again flash the recovery from there.
Thank you for the help. :good:
Now we can root with Magisk too...
https://forum.xda-developers.com/ap...v7-universal-systemless-t3473445/post78829088
Note:- Magisk v22.1 is the last version to support Android 4.4.2

How to run TWRP Recovery on LG G4 H815 - on LineageOS 14.1 / Android 7.1.2

I am turning to the esteemed community of Xda with a request for help.
I need help booting the TWRP IMG image - using Minimal ADB and Fastboot 1.4.3 on Microsoft Windows 11. It says this phone was Android 6.0. and TWRP Recovery in the latest version available. After successfully flashing Android 7.1.2 / LineageOS 14.1 - it tells you that when you try to boot into TWRP Recovery - from the Power and Vol Down hotkey - how to say. My phone is in erase mode. I inform you that my phone accidentally erased probably TWRP Recovery - which was on the partition.
This phone has an unlocked bootloader.
Dear community, can you help me?
I kindly ask for help. I need to establish communication via Minimal ADB and Fastboot - with the LG G4 H815 device.
I kindly ask for help.
Sincerely, Xzenx1234x
I kindly ask for help.
I am looking for a guide who can help me.
I need to boot the TWRP Recovery IMG image using Minimal ADB and Fastboot.
do you know how to enter fastboot mode? is fastboot devices successful? just install TWRP recovery again same as last time?
Hello, I did this on Android 6.0. Now I have Android Android 7.1.2 and to be honest I'm lost with it. Because the guide for Android 6.0 that I used on XDA - said to rename the TWRP.img file. So I did it. Now I don't know if I should rely on the guide made for Android 6.0 - or should I look for a guide for Android 7.1.2 - that is, for LineageOS 14.1?
please answer the first two questions
aIecxs said:
do you know how to enter fastboot mode? is fastboot devices successful? just install TWRP recovery again same as last time?
Click to expand...
Click to collapse
Please Help Me
please answer the first two questions. a question ends with question mark. no answer, no help. do not spam off-topic across threads or you will get banned
Answer the first question. Yes, I know how to enter Fastboot Mode from a hotkey. The hotkey worked on Android 6.0 I chose this hotkey on Android 6.0. In Android 7.1.2 - it starts to have Wipe Mode.
So the answer is NO. Usually one can enter fastboot mode with Vol + Pwr when device is powered off. according to this link it's Vol Up + USB cable in your case.
https://www.hardreset.info/devices/lg/lg-g4-h815/download-mode
you can however reboot into fastboot mode from adb
Code:
adb devices
adb reboot bootloader
if fastboot devices shows phone serialno you are in fastboot mode ready for flashing.
Code:
fastboot devices
fastboot flash recovery twrp-3.2.3-0-g4.img
Note: after flashing, reboot straightforward into recovery mode (Vol Dn + Pwr) otherwise TWRP recovery will be overwritten from LineageOS recovery on startup.
use older TWRP version for best compatibility with Android 7.1.2
https://dl.twrp.me/g4/twrp-3.2.3-0-g4.img
You say you are already on LineageOS, therefore it's very likely the bootloader is unlocked already. so all it needs is enter fastboot mode, double check installed usb drivers for Android Bootloader Interface (yes, that's different from ADB) and flash TWRP from fastboot...
aIecxs said:
You say you are already on LineageOS, therefore it's very likely the bootloader is unlocked already. so all it needs is enter fastboot mode, double check installed usb drivers for Android Bootloader Interface (yes, that's different from ADB) and flash TWRP from fastboot...
Click to expand...
Click to collapse
He is well known in the g4 forums since several years. Atm I'm aware of at least 3 accounts by him. He usually (re-)appears after months of silence and spams TG and xda with his "incredible sincerely" requests. For several reasons we had let him ban multiple times from xda @sdembiske knows what i mean
But even I sometimes do not recognize him and find me answering on stupid and already answered questions or well documented topics
so now.. that child already signed up with another account and won't read the guide it was desperately begging for?

Oppo A83 [CPH1729] TWRP RECOVERY

⚠Warning: This is not official TWRP, use it at your own risk!!!
Data will be erased. Back up if neccessary
This device is kind of weird so to flash twrp you need these things:
1. Prepare materials​
Install driver so as to have access to preloader (Just install automatically and no need to do anything in device manager)
This software to access to preloader -> fastboot (fastboot is somehow not available via adb methods) Enter fastboot
This tool for flashing
2. Unlock bootloader (need testpoint, python, git (optional) - you can search on google)​
Use this tool - go to this section. Follow guides to unlock bootloader (remember to use testpoint not hardware buttons)
3. Enter fastboot mode​
Use latest MTK META Ultility tool
Select Reboot Fastboot Mode in BRom section
Hold volume down button. While holding connect it to your computer
*Now your phone is in fastboot mode​4. Flash​
Open platform-tools folder in Downloads folder
Shift + Right click then "open command window here"
Input these commands into cmd
fastboot flash boot drag twrp file to cmd
fastboot flash recovery drag twrp file to cmd.
fastboot reboot. Swipe to allow modification in twrp (to make sure that stockboot wont replace twrp). After that reboot to recovery to make it installed on your device permanently.
Now your recovery is ready to flash file you can push stock image file to your root folder using adb command: "adb push. Drag the stock image file. /" (Because Decryption right now doesnt work on my device yet)
Enjoy
*Sounds crazy but it is required to make sure twrp is installed correctly​*If successful, when you power on, you will get a red section on top of your device. If you want to recover to stock recovery, flash the recovery.img below.​*Also, if you want to make your own twrp, you can try recovery.img below.​
Also thanks SebaUbuntu and Mofadal El-Tayeb (مُفَضَّل) for awesome apps
​
​​
​
Here is the PBRB version for this device
Hey I'm stuck in the third step.can you please help me?
Sorry for late reply. What problems do you have?
Is this the stock boot image you provided?
SAMIUL ISLAM 0 said:
Is this the stock boot image you provided?
Click to expand...
Click to collapse
Yes it is. I took it from OTA update
Hey friends
I want to upgrade my oppo a 83 fone to a costum rom to upgrade my androide to android 8 or higher
mahmoud2503 said:
Hey friends
I want to upgrade my oppo a 83 fone to a costum rom to upgrade my androide to android 8 or higher
Click to expand...
Click to collapse
Unfortunately, I have no custom roms available for this phone (

Categories

Resources