Thanks for the reply. I ran into a glitch where I can access adb but not fastboot. While I expect this is an issue for another forum if any readers are familiar with fastboot hassles using Ubuntu 18.04 I'd appreciate the advice.
Once I figure this out I shall return.
Dave
I'm confident it has something to do with the updated gps blobs lineage switched to a few weeks ago. Everyone was working fine till about the last release or so when they merged that change. I just wish I could help trouble shoot.
I know going back to stock would work, but love lineage.
I just installed the Build from 29.11 on my axon 7. It runs just fine but I can not download any apps from the appstore. It says something like download pending...
What can I do, to resolve that?
I have a stupid question, this, and any custom ROM will always fail safetynet since bootloader must remain unlocked to boot yes?
I figured out what I did wrong. I need to keep holding the volup button until I enter twrp again.
Anyway, at step 11, I tap on Expand OS and nothing happens. Then I tried to boot to system. At the very first google set up screen I got the google.media has stop and then google services framework keep stopping keep persisting and I cant proceed with the set up.
Then boot into twrp I installed 8.1 gapps micro and tried to boot to system but same thing happen with google services framework keeps stopping.
Please advise.
Edit: keeping everything else from Oki, I tried installing just the latest Los 15.1 rom and gapps and same errors
edit2: I follow all installation steps from OP and still got the google.process.media and google services framework errors at initial set up. can't proceed.
I also tried installing just the rom without gapps but same error
Also tried ext4 and no luck
I'm also having this issue. Keep getting random apps that say "keeps stopping". If I ignore them, the phone doesn't get past the looking for updates screen. Perhaps a modem issue? I did flash the correct modem though so I have no idea what's causing this. I'm coming from stock everything. Just unlocked the bootloader using miflash and used party to create vendor partition.
You have to remove encryption if you want to be able to mount data in TWRP. Or use nfounds TWRP with vendor support.Anybody have problems to mount /data in twrp? As I can't mount /data partition after first booting. Formatted /data again and again after booting can't mount /data in twrp. Came yesterday from stock 8.0 A2017G
diff --git a/drivers/video/msm/mdss/mdss_fb.c b/drivers/video/msm/mdss/mdss_fb.c
index e4dee9359a2c..30cc6fe3e64d 100644
--- a/drivers/video/msm/mdss/mdss_fb.c
+++ b/drivers/video/msm/mdss/mdss_fb.c
@@ -835,7 +835,7 @@ static ssize_t mdss_fb_change_persist_mode(struct device *dev,
struct mdss_panel_info *pinfo = NULL;
struct mdss_panel_data *pdata;
int ret = 0;
- u32 persist_mode;
+ unsigned int persist_mode;
if (!mfd || !mfd->panel_info) {
pr_err("%s: Panel info is NULL!\n", __func__);
@@ -858,8 +858,10 @@ static ssize_t mdss_fb_change_persist_mode(struct device *dev,
mutex_lock(&mfd->bl_lock);
pdata = dev_get_platdata(&mfd->pdev->dev);
- if ((pdata) && (pdata->apply_display_setting))
+ /*if ((pdata) && (pdata->apply_display_setting))
ret = pdata->apply_display_setting(pdata, persist_mode);
+ else pr_err("could not apply");*/
+ pdata->vr_mode_enable(pdata, persist_mode);
mutex_unlock(&mfd->bl_lock);
Thanks I'm backporting the updated version from A2017G Oreo and I will apply the persist_mode dependency to enable it each time the light HAL writes to msm_fb_persist_modethis will fix low persistence mode on oreo
Code:diff --git a/drivers/video/msm/mdss/mdss_fb.c b/drivers/video/msm/mdss/mdss_fb.c index e4dee9359a2c..30cc6fe3e64d 100644 --- a/drivers/video/msm/mdss/mdss_fb.c +++ b/drivers/video/msm/mdss/mdss_fb.c @@ -835,7 +835,7 @@ static ssize_t mdss_fb_change_persist_mode(struct device *dev, struct mdss_panel_info *pinfo = NULL; struct mdss_panel_data *pdata; int ret = 0; - u32 persist_mode; + unsigned int persist_mode; if (!mfd || !mfd->panel_info) { pr_err("%s: Panel info is NULL!\n", __func__); @@ -858,8 +858,10 @@ static ssize_t mdss_fb_change_persist_mode(struct device *dev, mutex_lock(&mfd->bl_lock); pdata = dev_get_platdata(&mfd->pdev->dev); - if ((pdata) && (pdata->apply_display_setting)) + /*if ((pdata) && (pdata->apply_display_setting)) ret = pdata->apply_display_setting(pdata, persist_mode); + else pr_err("could not apply");*/ + pdata->vr_mode_enable(pdata, persist_mode); mutex_unlock(&mfd->bl_lock);
Thx @Unjustified Dev for backporting the function from nougat. It will now be automatically triggered (at least in the LOS unoffical builds).
The vr_mode_enable function will be called by /sys/class/graphics/fb0/msm_fb_persist_mode file handle.
bool vr_mode_judge = 0;
static ssize_t mdss_fb_change_persist_mode(struct device *dev,
struct device_attribute *attr, const char *buf, size_t len)
{
struct fb_info *fbi = dev_get_drvdata(dev);
struct msm_fb_data_type *mfd = (struct msm_fb_data_type *)fbi->par;
struct mdss_panel_info *pinfo = NULL;
struct mdss_panel_data *pdata;
int ret = 0;
u32 persist_mode;
if (!mfd || !mfd->panel_info) {
pr_err("%s: Panel info is NULL!\n", __func__);
return len;
}
pinfo = mfd->panel_info;
if (kstrtouint(buf, 0, &persist_mode)) {
pr_err("kstrtouint buf error!\n");
return len;
}
mutex_lock(&mfd->mdss_sysfs_lock);
if (mdss_panel_is_power_off(mfd->panel_power_state)) {
pinfo->persist_mode = persist_mode;
goto end;
}
mutex_lock(&mfd->bl_lock);
pdata = dev_get_platdata(&mfd->pdev->dev);
if ((pdata) && (pdata->vr_mode_enable))
pdata->vr_mode_enable(pdata, persist_mode);
mutex_unlock(&mfd->bl_lock);
if (!ret) {
pr_debug("%s: Persist mode %d\n", __func__, persist_mode);
pinfo->persist_mode = persist_mode;
}
vr_mode_judge = pinfo->persist_mode ;
end:
mutex_unlock(&mfd->mdss_sysfs_lock);
return len;
}
To avoid more device bricks I have created very detailed, easy to follow instructions on how to update with minimal risk. The Bootstack in the OP is fine, but it doesn't support Emergency DownloadI made this thread detailing a bit more how I got my phone bricked, so people don't do the same thing as me.
https://xdaforums.com/axon-7/help/bricked-phone-trying-to-install-los-15-1-t3847517
Jealous? No sir lol I'm just subscribing myself trying to catch up on things I just came back from a 21st birthday vacation. I do want to wait around and see what all issues people find that we couldn't. To be fair about battery life etc we didn't get the latest and greatest Oreo kernel source I received a bad beta with horrible overheating and battery life. I decompiled the dtb (device tree blob) from the prebuilt B12 kernel and that helped a lot as you can see no one hand is burning which is what I experienced before. Hopefully we can get everything solved and worked out eventually. I'm basically handing everything over to OP I'll continue to contribute though so I'll probably be getting back in touch with everyone on Hangouts soon to see if I can get some of the small necessary things out of the way like SELinux, offline charging mode, and the flip cover. At this point there's no reason to report anything previously reported, I've read every single comment and page just be patientLol all those thumbs up. I don't get it. Is this a hint or something?