Unlocked H815 w/ TWRP v3.0.1 installed: Cannot install any LOS version. - G4 Q&A, Help & Troubleshooting

Hello,
One of my kids SGS5 died so I borrowed an old (and unused) LG G4 H815 w/ Android 5.1 installed (and no available updates).
After a bit of mocking around, I managed to unlock the bootloader (via lg.com account) and somehow got TWRP v2.8.7 installed and after that, I managed to upgrade it all the way up to v3.0.1.
Any attempt to use any version above v3.0.1 fails (dtb not found).
When I try to install LOS of any version (14.1 / 15.0 or above), it throws an error (Error 7) and complaints about mismatched device ("this rom packages is for H815, this device is .").
I attempted to advance wipe the /data and /cache partitions to no avail.
I would imagine I need to a newer kernel and/or bootloader. Am I correct?
Any idea how I can upgrade any of them? Should I simply download a stock v6.0 ROM (of any region) and continue from there? Any preferable region (so I won't brick my device / relock my bootloader)?
Thanks.
- Gilboa

FWIW,
ROM version: V10a-ISR-COM
Software version (according to LG Mobile Support tool): H81520P.
Hardware model: LG-G815
According to the LG Mobile Support tool (under Windows) upgrades are unavailable for this phone.
- Gilboa

gilboa said:
Hello,
One of my kids SGS5 died so I borrowed an old (and unused) LG G4 H815 w/ Android 5.1 installed (and no available updates).
After a bit of mocking around, I managed to unlock the bootloader (via lg.com account) and somehow got TWRP v2.8.7 installed and after that, I managed to upgrade it all the way up to v3.0.1.
Any attempt to use any version above v3.0.1 fails (dtb not found).
When I try to install LOS of any version (14.1 / 15.0 or above), it throws an error (Error 7) and complaints about mismatched device ("this rom packages is for H815, this device is .").
I attempted to advance wipe the /data and /cache partitions to no avail.
I would imagine I need to a newer kernel and/or bootloader. Am I correct?
Any idea how I can upgrade any of them? Should I simply download a stock v6.0 ROM (of any region) and continue from there? Any preferable region (so I won't brick my device / relock my bootloader)?
Thanks.
- Gilboa
Click to expand...
Click to collapse
When you were able to unlock your device on the lg website use LGup to flash h815 20p stock (international/global). And yes you're right that a stock ROM upgrade is needed to flash newer TWRP and custom ROMs. v20p is the recommended version for all avail custom ROMs

Many thanks for the reply.
In the end I decided to risk it, download some random unlocked stock Marshmallow ROM via twrp v3.0.1.
Once done, I managed to upgrade TWRP to 3.0.2 (which previously failed to install) and then (after reboot) 3.2.3.
Once I upgrade twrp, it managed install LinageOS without issues.
Thanks again.

Related

Verizon Unlock/Root Survey

I thought I'd put together a basic survey to possibly help others with their Unlocking/rooting questions.
Please only answer if you have successfully completed the steps and have your bootloader unlocked and phone rooted based on information provided by THIS thread. If you don't currently own a Verizon Retail Note 4, respectfully, PLEASE DO NOT post a reply. Thank you.
If you reply, it is assumed that you have completed the process and have successfully turned your Retail Phone into a Developer Phone. If you are still "tinkering" with your phone after the conversion process, feel free to reply and update your reply as needed, to help others.
Before you began:
Your Android Version?
Your build number?
Did you Odin or Flash to get the above Build Number?
What version of KingRoot did you use to Temp Root your phone?
After Converting to Developer Mode/Rooting (Some questions - If Applicable):
SINCE converting, what Android Version/Build Number have you upgraded from/to? Was the upgrade via OTA or Odin?
What confirmed working root apps are you running (other than Root Checker)?
What have you installed onto your phone that requires an unlocked bootloader that are confirmed to be working?
Has this process changed (made better or worse) how your phone reads extended batteries? State which external batteries you have tested, since the root process was made available this week.
Here's my experience.
STARTED WITH:
Your Android Version? 5.0.1
Your build number? BOG5 Safe Upgrade
DOWNGRADED TO (Because I thought I had to which might've been a mistake)
Your Android Version? 4.4.4
Your build number? ANJ5
Flashed via Odin 3.10.7
Results: After starting the HOWTO Guide on converting from Retail to Developer Mode, I got stuck on THIS step, which gave me an error message
Code:
./samsung_unlock_n4-2
Later, I was told that others had reported issues trying to convert from KK. I then took the Safe Upgrade to BP1. Be sure that you are installing the RETAIL version of the ROM, not the Developer Version. You are not there, yet.
Once you are on BP1, download eMMC Brickbug Check from the Play Store. Verify that your CID begins with 15 followed by a bunch of random numbers. Then, follow the steps on the HOWTO Guide on converting your Retail phone to Developer.
After you do this:
Boot to Download Mode (VOLUME DOWN+HOME+POWER) and flash TWRP 2.8.5 recovery via Odin
If you haven't, already, get your MicroSD card, plug it into your computer and load SuperUser and the kernel (see this reply) onto it. Put it back into your phone
Boot to TWRP recovery (VOLUME UP+HOME+POWER)
Install the two files you just loaded
I this point in time, you SHOULD have BPA, Developer Mode AND root.
With that said........
Your Android Version? 5.0.1
Your build number? BP1
Flashed via Odin 3.10.7
What version of KingRoot did you use to Temp Root your phone? KingRoot 4.8.5
Rather than answer my own questions, I'll just state what so far does work that I've tried:
I've installed CM13 via TWRP. I currently do not have root, but that's about to change.
Before you began:
4.4.4
ANJ5
Don't remember
4.8.5
After rooting:
(If applicable) Have you taken an OTA or Flashed via Odin to a more updated build number? If so, what build number?
Upgrade to 5.0.1 N910VVRU2BOG5_StockRestore.tar.md5 using Odin.
Followed directions to unlock Developer mode.
Flashed N910VVRU2BPA1_StockRestore.tar.md5 to get 5.1.1 through Odin.
Reflashed TWRP and rebooted.
copied MultiSystem-Kernel_LP-5.1.1.zip, BETA-SuperSU-v2.67-20160203160253-TruncatedBoot-Fix.zip, and xposed-v75-sdk21-arm-arter97-snapdragon.zip to phone and flashed them through TWRP. Wiped cache and Davlik cache. Rebooted.
(If applicable) What confirmed working root apps are you running (other than Root Checker)?
Titanium Backup, SD Maid, Xposed Framework, TWRP Manager, Call Recorder, BusyBox Free.
(If applicable) What have you installed onto your phone that requires an unlocked bootloader that are confirmed to be working?
You couldn't install TWRP without an unlocked bootloader, so...
(If applicable) Has this process changed (made better or worse) how your phone reads extended batteries? State which external batteries you have tested, since the root process was made available this week.
Haven't tested yet, but I think the MultiSystem-Kernel_LP-5.1.1.zip and screen auto brightness settings are draining battery less. Too soon to tell.

Moto z play (xt1635-03) transformation 64 GB ROM + 3GB RAM

Dear all
There are so many people looking for exactly samething that iam looking for but unfortunately there is not any proper tutorial available.
Could you confirm if there is anyway to install any other ROM on chinese moto z play ? i don't mind if i have to install each OTA manually.
If so could you please guide step by step guide how to perform this?
If there so no any ROM that can work with chinese variant is there any custom ROM that would and support Moto Mods?
You can read my thread: https://forum.xda-developers.com/moto-z-play/help/problem-reteu-firmwares-chinese-t3619235
Briefly:
1) If you unlock your bootloader you will be able to flash full image of any firmware throug fastboot (with ordinary instruction)
2) OTA at the moment can't be installed even manually due to different device name (addison_retcn vs addison)
I'm looking through different ways to fix device name with no luck at the moment (but I am sure it is possible)
freeman_g said:
You can read my thread: https://forum.xda-developers.com/moto-z-play/help/problem-reteu-firmwares-chinese-t3619235
Briefly:
1) If you unlock your bootloader you will be able to flash full image of any firmware throug fastboot (with ordinary instruction)
2) OTA at the moment can't be installed even manually due to different device name (addison_retcn vs addison)
I'm looking through different ways to fix device name with no luck at the moment (but I am sure it is possible)
Click to expand...
Click to collapse
Did you try editing build.prop?
jameelmemon said:
Did you try editing build.prop?
Click to expand...
Click to collapse
I see that you has not even tried to look through my thread (link was provided in previous post). Suggest to do that (espesially the very end) before further questions / discussion
I have gone through almost all threads including your befiore posting or asking you that question
you are referring to
2) target script is probably /device/company_name/device_name/init.device_name.usb.rc
3) there is a string in that script: write /sys/class/android_usb/android0/iProduct ${ro.product.model}
aactualy {ro.product.model} is variable in build.prop so that script (/device/company_name/device_name/init.device_name.usb.rc) from build.prop
Actually, not there. I have pushed build.prop with adb and has not found any signs of "addison_retcn" there
Hovewer AIDA64 (as well as adb once you try to sideload OTA) will display "addison_retcn" so it is somewhere else
I do not thing that script take the name from build.prop as, for example, it also obtains serial number with the same way and it is the first recommendation on recovering serial (in case it is lost during the some flashing procedure) to manually set it in that script
Finally i manage to install 7.1.1
My phone is addison after installing RETAIL version (7.0)
I installed RETAIL version then downloaded ota then installed 7.1.1 OTA from this thread https://forum.xda-developers.com/moto-z-play/how-to/official-android-7-1-1-download-how-to-t3616352
phone should not be locked/encrypted or protected at least i bricked it and it was not booting up.
Now need to change two things those are in bootloader (SKU and ro.carrier) fastboot getvar all
So just install retail version and sideload OTA through ADB?
I see that my phone is encrypted, shall I decrypt it first?
In any case any news on how you managed to boot 7.1.1 are appreciated
Just found ro.carrier comes from kernel and will be taken from kernel each time devices boots up. so we need someone to customize the kernel and add retru or retus to kernel as ro.carrier.
sku i can not change as i am getting error of command is not allowed
can anyone help regarding this?
So what is the result? You have managed to sideload 7.1.1 аnd it is not booting?
Or everything works fine and you tried to change SKU/channel for further updates?
freeman_g said:
Actually, not there. I have pushed build.prop with adb and has not found any signs of "addison_retcn" there
Hovewer AIDA64 (as well as adb once you try to sideload OTA) will display "addison_retcn" so it is somewhere else
I do not thing that script take the name from build.prop as, for example, it also obtains serial number with the same way and it is the first recommendation on recovering serial (in case it is lost during the some flashing procedure) to manually set it in that script
Click to expand...
Click to collapse
freeman_g said:
So just install retail version and sideload OTA through ADB?
I see that my phone is encrypted, shall I decrypt it first?
In any case any news on how you managed to boot 7.1.1 are appreciated
Click to expand...
Click to collapse
Just install fresh retail version then sideload first ota via adb then boot your phone do not complete setup.
then install 7.1.1 then do factory restore then you are good to go
and it have so many great features you can view them here specially camera app
freeman_g said:
So what is the result? You have managed to sideload 7.1.1 аnd it is not booting?
Or everything works fine and you tried to change SKU/channel for further updates?
Click to expand...
Click to collapse
Initally it didn't work and stuck on bootloader unlock warning but later it worked perfect and iam using 7.1.1 and now trying to figure out how we can change sku and channel to get official OTA.
Sku (XT1635-03) is in bootloader but i can't write is with Fastboot, channel (retcn) is in kernel.
Lucky you I still have the same problem
Yesterday I tried to start with flashing stock retail 7.0 (the link you have provided earlier) but due to fact I had already flashed image with April security patch I didn't manage to downgrade bootloader and gpt (security downgrade issue)
Despite this fact phone boots but small OTA with April security patch did not agree to flash for the same reason: wrong name "addison_retcn"
So I believe the problem is in bootliader and I will probably manage to fix it only with full 7.1.1 retail image.
Glad to see you guys are making some progress. I'll try flashing the retail version on my Chinese Z Play. I'm currently on Epsilon rom (stock rooted 7.0) with January patch. Can I flash retail and then the ota?
I woulf suggest the following:
1) At your current firmware install Aida64 and check if you have addison or addison_cn product name in System section. If you see only addison - then you may install retail firmware and OTAs
2) If you still have addison_cn here then try to install retail firmware provided above (bootloader can be upgraded) and then check product name in Aida64 again. If it changed to addison - you can sideload OTAs. If still addison_cn - then you can't
Thanks @freeman_g
Here is a screenshot of AIDA64 on my device: https://imgur.com/gallery/Or2JF
I guess I should be good to go, right?
Yes, should work
What I can't understand why I still with addison_retcn. Probably, will have to wait for full 7.1.1 retail image
Sorry for the noobie question, but how did you guys with XT1635-03 flash the XT1635-02 firmware? Did you use this script? Did you flash the full rom, including partition, fsg, and modem, no restrictions? I bought my device at Banggood. I know it will come with a shop rom and I would like to install the stock firmware. I want to be prepared when it arrives. Don't want to take the risk of brick it and would like to leave the custom roms for later.
Ok, I have finally found why some people (and myself) have problems with 7.1.1 OTA on xt1635-03
As I mentioned before, OTA just refuses to install mentioning wrong device name (addison_retcn vs addison)
The problem is standard instuction for flashing any firmware with fastboot missing these lines:
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
After flashing these files I saw correct "addison" name in Aida64 and managed to install 7.1.1 OTA on my XT1635-03
People who use RSD Lite did not have such problem as this program use xml file contained both commands (oem and dsp)
It is better to have unlocked bootloader as at first attempt OTA was flashed with some mistake and the phone did not boot. After restoring full image (7.0) with fastboot I managed to sucessfully sideload OTA and now have 7.1.1 on my Chineese device.
Hope this helps
freeman_g said:
Ok, I have finally found why some people (and myself) have problems with 7.1.1 OTA on xt1635-03
As I mentioned before, OTA just refuses to install mentioning wrong device name (addison_retcn vs addison)
The problem is standard instuction for flashing any firmware with fastboot missing these lines:
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
After flashing these files I saw correct "addison" name in Aida64 and managed to install 7.1.1 OTA on my XT1635-03
People who use RSD Lite did not have such problem as this program use xml file contained both commands (oem and dsp)
It is better to have unlocked bootloader as at first attempt OTA was flashed with some mistake and the phone did not boot. After restoring full image (7.0) with fastboot I managed to sucessfully sideload OTA and now have 7.1.1 on my Chineese device.
Hope this helps
Click to expand...
Click to collapse
Awesome, many thanks for sharing. Does this mean you'll receive future OTAs?

Advice on updating new VS986

Hi all - I received a brand new VS986 today with 5.1 installed (VS98611A specifically). I followed the UsU procedure to unlock the bootloader and installed Magisk.
Basically I'd like to either remove some of the bloatware on 5.1 / Lollipop or upgrade to 6 / Marshmallow. If I choose to upgrade, is there a recommended ROM to flash that won't undo the UsU I already performed? Can I use my existing SALT flash drive to manually disable / remove unwanted apps in download mode?
I had a custom ROM on my previous phone (Galaxy S5) but I think I'll stick with a vanilla ROM this time, at least for now, unless there's a highly recommended M/N/O custom ROM that doesn't have any glaring issues, and will be an easy upgrade path from my current Lollipop installation.
Thanks for any advice here.
After further research, it appears I did a no-no and applied UsU to a Lollipop bootloader. Now that that's done, is flashing a stock Nougat ROM (e.g. as described here) safe to do? Or should I go through the procedure listed in #20 of the FAQ from steadfasterX and try to flash elements from a MM .ndz file first? If so, I downloaded a VS98626A kdz file - should that work to pull the necessary MM boot files from?
Sorry for the newbie-ish questions, I'm just trying to avoid bricking my new phone.

[SOLVED] I want to update/change my rom to LineageOS 17(Android 10), coming from LineageOS 14.1(Android 7.1.2)

Hi there fellow Moto G5 users. I've been fiddling some time now with the 14.1 version and I want to try out the new 17 version with nightly's. Normally I've have no problems with upgrading or downgrading rom's for my devices, but since newer versions are now 64-bit it's throwing me off.
Since there are so many topics around with tips and procedures I'm a bit confused how to get started to migrate/change to LineageOS 17.
So could anybody help me on how to upgrade to LineageOS 17? As far as I know my phone has: a unlocked bootloader, TWRP with 64-bit support and LineageOS 14.1. What would the first step for me do?
As far as I understand it would be something like this:
(0. Backup up everything + written down both imei's) - done this in advance
1. Lock the bootloader again (whilst LineageOS 14.1 is still installed?)
2. Erase everything (with commands)
3. Flash an official Moto G EU rom (with commands)
4. Update it using OTA to the latest supported version to get a 64-bit rom/kernel/bootloader installed
5. Unlock bootloader again
6. Flash custom recovery again
7. Flash LineageOS 17?
That is what I'm thinking for me to do, is it correct? Or do I miss some stuff?
Any help will be appreciated.
Never lock the bootloader once you have unlocked it - if anything goes wrong in the future you will never be able to fix it without specialist hardware or a motherboard replacement
There is no need to lock the bootloader to change roms
See my post below that is basically answering the same question for full instructions on how to upgrade
Basically update stock firmware to latest retail then format data with latest offical twrp, wipe system data cache & flash rom
[SOLVED] LineageOS stuck at first boot (moto G5 xt1676)
Hello everyone, I just got a Moto G5 (on a refurbishment store) that works perfectly fine with stock OS. My goal is to install lineageOS on it. I managed easily to : - unlock bootloader - install TWRP (3.5.2_9.0) or the lineageOS recovery -...
forum.xda-developers.com
Thanks for the warning, I will try your instructions and see what I can manage. Will post any updates.
I've just updated the rom to 8.1 official. Thanks for the help. @TheFixItMan
And now i'm on Lineage 18.1/Android 11 working great so far.

How do I upgrade from rooted Android 8 to latest Android or LineageOS?

My G7 Thinq (G710EM) has been neglected for a while now, ever since I got a new phone. Right now, I want to setup the G7 as a backup phone, and to make it compatible with my current apps, I have to update it either to the latest official firmware (https://lg-firmwares.com/downloads-file/26010/G710EM30h_00_OPEN_EU_OP_0927) or the latest LineageOS (the latter is preferred).
Right now, the phone is still on Android 8 with an unlocked bootloader, and fastboot installed. However, I don't remember exactly how I flashed that firmware, nor how I unlocked the bootloader ¯\_(ツ)_/¯. I just remember flashing a .KDZ file.
I can't get anything to install/flash. What I tried so far to get the stock Android to work is:
- Update OTA: says no updates available; this was the case even before I unlocked the bootloader and installed fastboot
- Flash using LGUP_Cmd from this guide: I get Error!!! [SW_PATH] is null
- Flash using LG Flash Tool 2014 from various sources on the web: flash fails with the message Required info cannot be found (Contact the system administrator)
- Flash using LG FlashTool v2.0.1.6 from this guide: when I press start, a message box appears saying Failed to load
The earliest unofficial LineageOS I could find requires stock Android 9 to be installed, so I haven't tried that at all.
I'd like to know how can I upgrade to latest stock Android 10 or preferably to LineageOS 19.1? Losing all data in the process is perfectly acceptable, since the phone no longer contains anything crucial. However, in the end, I'd like banking apps to work.
Unzip this file and put the .dll file into> LGUP 2.0.1.6 folder > model > common folder.
If there is no common folder, make one yourself. Then try to flash .KDZ again.

Categories

Resources