[KERNEL] Battery drain fix for my ROM's - Huawei Y6 Guides, News, & Discussion

As some people reported a battery drain and the CPU always at max bug, I figured out what's causing the problems and I decided to release a Kernel with a fix included.
Supported devices:
ATU-L11
ATU-L21
ATU-L22
ATU-L42
Installation:
Unlock your Bootloader!
Download the Kernel
Enter fastboot mode on your device
Flash the Kernel with: fastboot flash kernel [LOCATION AND FILE HERE]
Reboot your phone with : fastboot reboot
Enjoy!
Download
Build 20092018

Thanks gonna try in a little bit

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash kernel"C:\Users\R4V3N\Documents\MEGAsync Downloads\Kernel.img"
unknown partition 'kernelC:\Users\R4V3N\Documents\MEGAsync Downloads\Kernel.img'
error: cannot determine image filename for 'kernelC:\Users\R4V3N\Documents\MEGAsync Downloads\Kernel.img'
Edit:sending 'kernel' (45667 KB)...
OKAY [ 1.439s]
writing 'kernel'...
OKAY [ 0.614s]
finished. total time: 2.056s
---------- Post added at 03:02 PM ---------- Previous post was at 02:50 PM ----------
ex3da.ex3 said:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash kernel"C:\Users\R4V3N\Documents\MEGAsync Downloads\Kernel.img"
unknown partition 'kernelC:\Users\R4V3N\Documents\MEGAsync Downloads\Kernel.img'
error: cannot determine image filename for 'kernelC:\Users\R4V3N\Documents\MEGAsync Downloads\Kernel.img'
Edit:sending 'kernel' (45667 KB)...
OKAY [ 1.439s]
writing 'kernel'...
OKAY [ 0.614s]
finished. total time: 2.056s
Click to expand...
Click to collapse
Bootloop using lineage 15.1

This is just a stock kernel based on an old system update
ex3da.ex3 said:
Bootloop using lineage 15.1
Click to expand...
Click to collapse
Because your system has been updated to a newer one (not just the system partition)

pascua28 said:
This is just a stock kernel based on an old system update
Because your system has been updated to a newer one (not just the system partition)
Click to expand...
Click to collapse
My phone is now open running i just flashed the hybrid kernel 2.0 and man that battery life is awesome

iDecrypt said:
As some people reported a battery drain and the CPU always at max bug, I figured out what's causing the problems and I decided to release a Kernel with a fix included.
Supported devices:
ATU-L11
ATU-L21
ATU-L22
ATU-L42
Installation:
Unlock your Bootloader!
Download the Kernel
Enter fastboot mode on your device
Flash the Kernel with: fastboot flash kernel [LOCATION AND FILE HERE]
Reboot your phone with : fastboot reboot
Enjoy!
Download
Build 20092018
Click to expand...
Click to collapse
its just giving me boot loop. device atu-l42. rr6.1.0 os

nafis5566 said:
its just giving me boot loop. device atu-l42. rr6.1.0 os
Click to expand...
Click to collapse
Can you take a logcat, please?

iDecrypt said:
Can you take a logcat, please?
Click to expand...
Click to collapse
coudnt take logcat from your kernel because of bootloop. adb coudnt recognize mu device during bootloop. so i flashed hybrid kernel v2.1 and took this logcat. dont know if its gonna help tho.
https://drive.google.com/file/d/10gj2Hw-rNVXRYRT7mxOecYZ4oOSi5PCF/view?usp=sharing

iDecrypt said:
Can you take a logcat, please?
Click to expand...
Click to collapse
Logcat won't help here. The device won't go into android anyway. The device would refuse to boot if a kernel image (not the compiled kernel) is older. For example, a kernel.img from 8.0.0.130 will be rejected by a phone recently updated to 8.0.0.142

Boot loop for me too thanks ...
---------- Post added at 02:54 PM ---------- Previous post was at 02:35 PM ----------
This kernel fix it https://drive.google.com/file/d/1CqQ298ul9G7gF1Y6oYzp0NLiz-MBA4un/view

This is just a stock kernel

pascua28 said:
This is just a stock kernel
Click to expand...
Click to collapse
Yes i know I was meaning that this kernel fixed the bootloop

coubertin said:
Yes i know I was meaning that this kernel fixed the bootloop
Click to expand...
Click to collapse
I mean, not the link you posted, but this thread itself

Can i flash this kernel is it ok to flash it i am using Lineageos 15.1?
---------- Post added at 10:09 AM ---------- Previous post was at 09:57 AM ----------
is it ok to flash this kernel if im currently use lineage 15.1 rom?

Rapzkie said:
Can i flash this kernel is it ok to flash it i am using Lineageos 15.1?
---------- Post added at 10:09 AM ---------- Previous post was at 09:57 AM ----------
is it ok to flash this kernel if im currently use lineage 15.1 rom?
Click to expand...
Click to collapse
Use @pascua28's Hybrid kernel instead. it supports both stock and custom roms.

vihanga123 said:
Use @pascua28's Hybrid kernel instead. it supports both stock and custom roms.
Click to expand...
Click to collapse
Are you sure i cannot experience bootloop if im gonna flash this kernel using lineage 15.1 im afraid if its gonna bootloop again

Rapzkie said:
Are you sure i cannot experience bootloop if im gonna flash this kernel using lineage 15.1 im afraid if its gonna bootloop again
Click to expand...
Click to collapse
Oh sorry i forgot to mention but you also need @TenSeventy7's patched ramdisk as well for the kernel to boot

No suport for 8.0.0.143 then?
Need kernel for ATU-L21. Stuck with a jenkins kernel after a hack attack trogh a open network! Still on my phone, even after eRecover.. Any sugestions?
EDIT:
Flashed linage os, with the hope that the kernel would be replaced as well. It didn't.
Thinking I'm going to make an attempt to flash the hybrid kernel instead, but now I'm not getting twrp to work.
Flashed twrp into recovery- that faild. Then flashed into recovery_ramdisk. Seems to work, but when i`m holding volume up + power, the phone is just looping, and when release the keys it starts eRecovery. Even tried a few difrent twrp images..
No need of SU to getting twrp to work, right?
What to do?!
EDIT:
enabled option for advaced restart. That helped me to boot into TWRP. Then flashed hybrid kernel with sideload.

bootloop
I'm new with this phone! Thanks for your work!
I'm experiencing bootloop with ATU-L11
I flashed LOS 15.1 and it works great!
I flashed this kernel on LOS 15.1 and then bootloop.
I flashed Hybrid kernel on stock rom and all worked great
I flashed LOS15.1 on custom rom and Hybrid kernel and then bootloop.
Restoring stock kernel everything comes back to normal.
Is there something I miss?
Thanks!

bonerserk said:
I'm new with this phone! Thanks for your work!
I'm experiencing bootloop with ATU-L11
I flashed LOS 15.1 and it works great!
I flashed this kernel on LOS 15.1 and then bootloop.
I flashed Hybrid kernel on stock rom and all worked great
I flashed LOS15.1 on custom rom and Hybrid kernel and then bootloop.
Restoring stock kernel everything comes back to normal.
Is there something I miss?
Thanks!
Click to expand...
Click to collapse
Hi,
Can you send me a copy of the stock kernel? I lost mine and I'm in a bootloop with this one...
I also have a ATU-L11.
Thank you.

Related

Yoga Tab 2 Kernel Compilation

Has anyone else made any serious attempts at compiling a kernel? Prompted by doctorow's thread about the wakelock issue, I got interested in compiling a kernel so it could actually be fixed. For anyone who's tried at all, there are obviously some missing files in Lenovo's release.
I tried copying over the missing files from ASUS's Zenfone kernel release (since it uses the same SoC and their kernel had all the files that make was complaining about). Between that and commenting out some references to a nonexistent tablet_config.h header, it managed to at least finish compiling. Unfortunately I don't have a bootloader-unlocked device to test on yet, so I'm not terribly confident that it actually works.
P.S.: I'm not really sure if this belongs in the dev section or not? Sorry if it's in the wrong place, but I can't start threads there anyway at my current post count.
iampanis said:
I tried copying over the missing files from ASUS's Zenfone kernel release (since it uses the same SoC and their kernel had all the files that make was complaining about). Between that and commenting out some references to a nonexistent tablet_config.h header, it managed to at least finish compiling. Unfortunately I don't have a bootloader-unlocked device to test on yet, so I'm not terribly confident that it actually works.
Click to expand...
Click to collapse
Interesting, I haven't even gotten that far when I tried to compile them. The sources are most likely not up to date or even representative of the actual firmware kernel. For example, when I looked at the battery driver, I noticed in the published sources, the polling interval was hard-coded in such a way that it would completely ignore the setting of the poll_interval kernel parameter. But we know that this is not true for the actual firmware which is in fact respecting the setting of said parameter.
@Grarak and me have managed to get the messy "source code" of Lenovo to build. I have additionally added some security patches and stripped some kernel modules. Since we don't want to violate the GPL like Lenovo, we have pushed the kernel to GitHub.
Bear in mind that there may be some issues, given the kernel is a work in progress. It boots on stock as well as on cm-12.1, though.
Olivier said:
@Grarak and me have managed to get the messy "source code" of Lenovo to build. I have additionally added some security patches and stripped some kernel modules. Since we don't want to violate the GPL like Lenovo, we have pushed the kernel to GitHub.
Bear in mind that there may be some issues, given the kernel is a work in progress. It boots on stock as well as on cm-12.1, though.
Click to expand...
Click to collapse
Same kernel works for both 830f and 1050f?
Could you please post a compiled kernel? (which I assume can be flashed simply via fastboot)
Thanks!
raenye said:
Same kernel works for both 830f and 1050f?
Could you please post a compiled kernel? (which I assume can be flashed simply via fastboot)
Thanks!
Click to expand...
Click to collapse
Sure, here you go: kernel-yt2-20160327.img. I think it will boot on 1050F.
Olivier said:
Sure, here you go: kernel-yt2-20160327.img. I think it will boot on 1050F.
Click to expand...
Click to collapse
Hello, I have a 1050F too is somebody tried this kernel on 1050F? Is it possible to support wake gesture kernel extensions with this kernel?
Olivier said:
Sure, here you go: kernel-yt2-20160327.img. I think it will boot on 1050F.
Click to expand...
Click to collapse
I was able to unlock bootloader, install TWRP and flash this kernel via fastboot on both 830F and 1050F.
It works fine (and the battery life seems better since there's no wakelock bug).
Thanks!
Looking forward to alpha-grade CM....
raenye said:
I was able to unlock bootloader, install TWRP and flash this kernel via fastboot on both 830F and 1050F.
It works fine (and the battery life seems better since there's no wakelock bug).
Thanks!
Looking forward to alpha-grade CM....
Click to expand...
Click to collapse
Did you use.
Fastboot Flash recovery recoveryname.img.
or
Fastboot flash boot bootname.img
To send it to the tablet.
corasman said:
Did you use.
Fastboot Flash recovery recoveryname.img.
or
Fastboot flash boot bootname.img
To send it to the tablet.
Click to expand...
Click to collapse
The kernel goes to the boot partition. So 2nd option.
raenye said:
The kernel goes to the boot partition. So 2nd option.
Click to expand...
Click to collapse
Thanks ,I'll give it a try.
O.K tried this
I put the file in to my ADB folder
from a command prompt I typed Fastboot flash boot c:/adb/kernel-yt2-20160327.img and it returned
FAILED (remote: unknown command) any suggestion please.
corasman said:
Thanks ,I'll give it a try.
O.K tried this
I put the file in to my ADB folder
from a command prompt I typed Fastboot flash boot c:/adb/kernel-yt2-20160327.img and it returned
FAILED (remote: unknown command) any suggestion please.
Click to expand...
Click to collapse
Using windows? paths are c:\directory\file and not c:/directory/file
I used the fastboot executable from the tethered recovery package.
Checklist:
Did you unlock bootloader? it won't boot otherwise.
Did you backup current boot partition from TWRP/CWM?
Did you boot the tablet in fastboot mode? (down+pwr)
Can fastboot detect your tablet? (fastboot devices)
raenye said:
Using windows? paths are c:\directory\file and not c:/directory/file
I used the fastboot executable from the tethered recovery package.
Checklist:
Did you unlock bootloader? it won't boot otherwise.
Did you backup current boot partition from TWRP/CWM?
Did you boot the tablet in fastboot mode? (down+pwr)
Can fastboot detect your tablet? (fastboot devices)
Click to expand...
Click to collapse
Yes to all.
I wondered if the command slashes were the right way / or \ the way I used is what I used to unlock the bootloader and install TWRP.
I have tried the slashes the other way and get the same result, as in \ .
raenye said:
I was able to unlock bootloader, install TWRP and flash this kernel via fastboot on both 830F and 1050F.
It works fine (and the battery life seems better since there's no wakelock bug).
Thanks!
Click to expand...
Click to collapse
Hmm, I'm getting a high battery_wake_lock (on the April OTA firmware) -- even when running this kernel!
Any idea how can this be?
Hi,
I was trying to play a little bit with kernel provided by @Olivier and @Grarak ...
1. Binary Image kernel-yt2-20160327.img boots up fine on 1050l, but LTE is not working. Rest seems to be fine...
2. In next steps I replaced initrd.img with a little modified stock one - and LTE started to work - I removed from initrd almost all modules leaving only bcm43241.ko.
3. Battery wakelock problem seems not be resolved - brief check at bq27x00_battery.c in repository shows that wake_lock is still set under bq27x00_battery_suspend_resume()
... so I trying to fix this battery driver but I have problem with kernel - I can compile it successfully, but it doesn't boot
@Olivier:
1. Which branch was used to build kernel-yt2-20160327.img?
2. Which config did you use ?
My procedure using android-ndk-r12b toolchain:
# git clone ...github.com/lenovo-yt2-dev/android_kernel_lenovo_baytrail
# export PATH=~/android_yoga/toolchain/bin:$PATH
# export CROSS_COMPILE=x86_64-linux-android-
# export ARCH=x86
# make cyanogenmod_YT2_10_defconfig --- if this right config?
# make -j8 ----- lot's of warninigs, but kernel is compiled sucesfully.
# abootimg --create boot_test5.img -f bootimg.cfg -k bzImage -r initrd.img ---- bzImage from arch/x86/boot
> fastboot.exe flash boot boot_test5.img
... kernel stuck somewhere, it's doesn't even come to Zygote phase (lenovo animation). Is there any way to see kernel boot messages ?
Hi
I would also like to experiment with the Kernel, but I need to unlock the bootloader. unfortunately the thread is deleted files and I can not, can anyone help me even for private?
I have a 1380F in KitKat
Kind regards
airmalaga said:
Hi
I would also like to experiment with the Kernel, but I need to unlock the bootloader. unfortunately the thread is deleted files and I can not, can anyone help me even for private?
I have a 1380F in KitKat
Kind regards
Click to expand...
Click to collapse
I used this procedure: mobility.forumsee.com/a/m/s/p12-9574-0973888--yoga-tab-unlocking-daaa-deee-daaa-dooo.html
Patched ESP file I found on another forum: forum.android.com.pl/topic/259763-odblokowanie-bootloader%C3%B3w-yoga-tab-2/#entry4598175
For me it worked on Lolipop, but I as know bootloader changed arch x32->x64 during Lolipop->KK upgrade... I don't know if this esp will work on KK (at least do backup of ESP and boot partitions before).
---------- Post added at 12:07 PM ---------- Previous post was at 11:52 AM ----------
BTW: I was able finally to compile and startup my modified kernel using CM building engine from this thread .
I removed all wakelock code from bq27x00_battery_x8.c
For 1050L I merged: kernel from @Olivier repository + my patch on bq27x00_battery_x8.c + my initrd based on stock + stock Lolipop.
First tests seems to be very promising:
- finally NO battery_wakelock in Wakelock Detector
- LTE is working
- GPS is working
- Sound system is working
- No crashed till now
If anybody is interested i can attach img file.
Thx :good:
jasfasola said:
I used this procedure: mobility.forumsee.com/a/m/s/p12-9574-0973888--yoga-tab-unlocking-daaa-deee-daaa-dooo.html
Patched ESP file I found on another forum: forum.android.com.pl/topic/259763-odblokowanie-bootloader%C3%B3w-yoga-tab-2/#entry4598175
For me it worked on Lolipop, but I as know bootloader changed arch x32->x64 during Lolipop->KK upgrade... I don't know if this esp will work on KK (at least do backup of ESP and boot partitions before).
---------- Post added at 12:07 PM ---------- Previous post was at 11:52 AM ----------
BTW: I was able finally to compile and startup my modified kernel using CM building engine from this thread .
I removed all wakelock code from bq27x00_battery_x8.c
For 1050L I merged: kernel from @Olivier repository + my patch on bq27x00_battery_x8.c + my initrd based on stock + stock Lolipop.
First tests seems to be very promising:
- finally NO battery_wakelock in Wakelock Detector
- LTE is working
- GPS is working
- Sound system is working
- No crashed till now
If anybody is interested i can attach img file.
Click to expand...
Click to collapse
jasfasola said:
I removed all wakelock code from bq27x00_battery_x8.c
For 1050L I merged: kernel from @Olivier repository + my patch on bq27x00_battery_x8.c + my initrd based on stock + stock Lolipop.
Click to expand...
Click to collapse
Cool, could you push your patch to GitHub?
jasfasola said:
First tests seems to be very promising:
- finally NO battery_wakelock in Wakelock Detector
- LTE is working
- GPS is working
- Sound system is working
- No crashed till now
Click to expand...
Click to collapse
The kernel should be working, but the ALS is broken (seems to be a sensor from Avago) - you'll notice that if you use automatic brightness.
Olivier said:
The kernel should be working, but the ALS is broken (seems to be a sensor from Avago) - you'll notice that if you use automatic brightness.
Click to expand...
Click to collapse
Fixed. That was quite easy. Driver al3320 was in place. The problem was permissions set by script init.byt_t_ffrd8.rc in initrd. By default it's root/root, but it should be system/system. I already corrected paths and checked it - it's working. If you could give me permission to repo I can push the patch.
BTW: I see lot's of things are being hard-coded into initrd scripts. Since we changed config kernel, all those scripts must be checked. I can try to do it in free time...but some things are platform depended so, another original initrd from lolopop on 830f would be nice to compare...
jasfasola said:
so, another original initrd from lolopop on 830f would be nice to compare...
Click to expand...
Click to collapse
What do you need exactly? @jasfasola

Lineage OS (official nightly) installation problem

I was trying to flash official lineage os downloaded from official website through twrp but ended up with an error i can't figure out what to do of. i am uploading screenshot of twrp. help.
Are you coming from Cos 12.1 ?
Than you need to flash ZUI 2.5 ROM first or cm-13 ROM .
Because even if you flash nogout some problem like sim1 will stay always active and sim2 will be greyed out.
i am on zui 2.3.045
hardikkchavda said:
Are you coming from Cos 12.1 ?
Than you need to flash ZUI 2.5 ROM first or cm-13 ROM .
Because even if you flash nogout some problem like sim1 will stay always active and sim2 will be greyed out.
Click to expand...
Click to collapse
i am on zui 2.3.045 tell me full installation process if possible
Mikuzukz1 said:
I was trying to flash official lineage os downloaded from official website through twrp but ended up with an error i can't figure out what to do of. i am uploading screenshot of twrp. help.
Click to expand...
Click to collapse
Error 7 is caused by the custom recoveries. It occurs both on CWM and TWRP. Just wipe the whole phone and via ADB boot it to recovery (Command 'adb reboot recovery' -- without quotes.) Then copy the ROM to internal storage and now flash. It will work like a charm.
---------- Post added at 07:36 AM ---------- Previous post was at 07:29 AM ----------
hardikkchavda said:
Are you coming from Cos 12.1 ?
Than you need to flash ZUI 2.5 ROM first or cm-13 ROM .
Because even if you flash nogout some problem like sim1 will stay always active and sim2 will be greyed out.
Click to expand...
Click to collapse
Huh? How will that help? Why do need a 6.0 M ROM before you flash nougat? You can't dirty flash Lineage. It'll end in a boot loop. You have to wipe and flash. So how will the ROM that was installed before influence nougat flash?
+∆bhijith said:
Error 7 is caused by the custom recoveries. It occurs both on CWM and TWRP. Just wipe the whole phone and via ADB boot it to recovery (Command 'adb reboot recovery' -- without quotes.) Then copy the ROM to internal storage and now flash. It will work like a charm.
---------- Post added at 07:36 AM ---------- Previous post was at 07:29 AM ----------
Huh? How will that help? Why do need a 6.0 M ROM before you flash nougat? You can't dirty flash Lineage. It'll end in a boot loop. You have to wipe and flash. So how will the ROM that was installed before influence nougat flash?
Click to expand...
Click to collapse
Can i flash in fastboot or install Lineage os recovery?
Mikuzukz1 said:
Can i flash in fastboot or install Lineage os recovery?
Click to expand...
Click to collapse
Just flash in the normal way bro... Use TWRP > Install > then select the zip file.
+∆bhijith said:
Just flash in the normal way bro... Use TWRP > Install > then select the zip file.
Click to expand...
Click to collapse
it's showing error that way
Mikuzukz1 said:
it's showing error that way
Click to expand...
Click to collapse
Even now? Even after rebooting to recovery via ADB?
+∆bhijith said:
Even now? Even after rebooting to recovery via ADB?
Click to expand...
Click to collapse
I don't know how to boot via adb ijust wiped all partitions in twrp
got it working finally....installed it over cm13.0 and done
Mikuzukz1 said:
got it working finally....installed it over cm13.0 and done
Click to expand...
Click to collapse
Wonderful ! Good to go for any 7.x.x rom now...
---------- Post added at 03:30 PM ---------- Previous post was at 03:27 PM ----------
+∆bhijith said:
Error 7 is caused by the custom recoveries. It occurs both on CWM and TWRP. Just wipe the whole phone and via ADB boot it to recovery (Command 'adb reboot recovery' -- without quotes.) Then copy the ROM to internal storage and now flash. It will work like a charm.
---------- Post added at 07:36 AM ---------- Previous post was at 07:29 AM ----------
Huh? How will that help? Why do need a 6.0 M ROM before you flash nougat? You can't dirty flash Lineage. It'll end in a boot loop. You have to wipe and flash. So how will the ROM that was installed before influence nougat flash?
Click to expand...
Click to collapse
Because i faced same problems before and searched in XDA and that is the solution available right now.
Mikuzukz1 said:
I was trying to flash official lineage os downloaded from official website through twrp but ended up with an error i can't figure out what to do of. i am uploading screenshot of twrp. help.
Click to expand...
Click to collapse
I think file is not completely downloaded...
Once same happened when I checked I chose wrong file wwhich was half downloaded.. Check it
i'm facing the same problem. i don't know how to use adb boot.
isn't there any other way.
also i checked the file was completely downloaded
and i'm on zui 2.5
I also have problem when flash nuclearom from cm13. I have some zuk devices but got problem with 2
First, it has bootloop
I have to flash China ROM then it works
I can flash CM 13
But up to 14 or 7.x will have bootloop again
Pls help

LineageOS 7.1 for SGP771

Hi. As a result of Androplus stoppage of his kernel support I decided to create this theme. I'm not a developer.
I use LineageOS more than two months, and it's stable. Originally it was built by andralex, he didn't create this threat as he was waiting the permission from other developer whose groundwork he used. But I lost contact with him. Seems he is very busy.
Now the other developer builded the rom, his nickname is kv123.
--------------
To get usb otg working use this in terminal when you inserted usb stick
Code:
su
echo 1 > /sys/module/qpnp_smbcharger_extension/parameters/start_id_polling
------------
After any lineageos update dont forget about play store to give permissions for storage. Otherwise it wont download any apps larger the 20 mb.
Lineage camera is a bit buggy, so it's better to use open camera.
---------
There are the links
[STRIKE]https://www.androidfilehost.com/?fid=745425885120730219[/STRIKE]
https://yadi.sk/d/Zfxi3agx3HkLQL
Some developer links:
https://review.lineageos.org/#/q/project:LineageOS/android_kernel_sony_msm8994
https://github.com/LineageOS/android_kernel_sony_msm8994
If you want I can ask kv123 to build the rom for sgp712 too.
------------
Some screenshots:
Oh. You need also replace wifi calibration file here: /system/etc/firmware/wlan/bcmdhd/bcmdhd.cal and reboot
It's forgotten to be added.
Updated fixed version at yandex disk.
Thanks for this. It is exactly what I am looking for and I hope my tech skills are up to the task.
BTW, this link comes up "404 not found. Can't find it!"
https://www.androidfilehost.com/?fid=745425885120730219
Would you have another we can try?
Thats because kv123 removed version with wifi buggy.
Use my mirror link or this.
https://www.androidfilehost.com/?fid=817550096634767960
alex009988 said:
Hi. As a result of Androplus stoppage of his kernel support I decided to create this theme. I'm not a developer.
I use LineageOS more than two months, and it's stable. Originally it was built by andralex, he didn't create this threat as he was waiting the permission from other developer whose groundwork he used. But I lost contact with him. Seems he is very busy.
Now the other developer builded the rom, his nickname is kv123.
--------------
To get usb otg working use this in terminal when you inserted usb stick
------------
After any lineageos update dont forget about play store to give permissions for storage. Otherwise it wont download any apps larger the 20 mb.
Lineage camera is a bit buggy, so it's better to use open camera.
---------
There are the links
https://www.androidfilehost.com/?fid=745425885120730219
https://yadi.sk/d/Zfxi3agx3HkLQL
Some developer links:
https://review.lineageos.org/#/q/project:LineageOS/android_kernel_sony_msm8994
https://github.com/LineageOS/android_kernel_sony_msm8994
If you want I can ask kv123 to build the rom for sgp712 too.
Click to expand...
Click to collapse
Hi, could you please add some screenshots?
Ok. Added to the top.
need rom for SG712 please...
Thanks for sharing. SGP712 build would be great
Charsher47 said:
Thanks for sharing. SGP712 build would be great
Click to expand...
Click to collapse
Kv123 told me that he's gonna build the rom for 712 too.
I don't have SPG712, so i cannot test it. I was lazy to download firmware for 712, so libs are from 771. Hope they are the same. Who have please leave some feedback.
SGP712_lineageos_14_1
P.S. Nfc may not work. I will need to do some tests.
kv123 said:
I don't have SPG712, so i cannot test it. I was lazy to download firmware for 712, so libs are from 771. Hope they are the same. Who have please leave some feedback.
SGP712_lineageos_14_1
P.S. Nfc may not work. I will need to do some tests.
Click to expand...
Click to collapse
I flashed the rom with Androplus' TWRP-3.0.2-0-20160604, Error 7 because target device is karin_windy but the recovery says the device is karin (actually SGP712, it's karin_windy).
So i deleted the device verification in the updater-script, and it's Error 6 now...
Phil_Libra said:
I flashed the rom with Androplus' TWRP-3.0.2-0-20160604, Error 7 because target device is karin_windy but the recovery says the device is karin (actually SGP712, it's karin_windy).
So i deleted the device verification in the updater-script, and it's Error 6 now...
Click to expand...
Click to collapse
Why do you use androplus recovery? Use normal recovery, take it from yandex disk. And boot by vol- and power till it vibrates.
alex009988 said:
Why do you use androplus recovery? Use normal recovery, take it from yandex disk. And boot by vol- and power till it vibrates.
Click to expand...
Click to collapse
Nothing happens after I flashed the recoveries from yandex disk(both 3.0.3 and 3.1), so I tried androplus recovery...
Is there a modified boot.img for those recoveries?
P.S. I flashed 32.3.A.2.33.ftf first.
---------- Post added at 10:29 AM ---------- Previous post was at 10:22 AM ----------
I flashed 32.3.A.2.33 with flashtool, then flash the recovery in fastboot mode with:
Code:
fastboot flash recovery [I]recovery name[/I]
then pressed vol- and power, nothing happens and the tablet boots to the system.
Maybe it's better: fastboot flash recovery twrp.img ?
This twrp only requires updated bootloader from 7.0 stock.
Also i need to keep these buttons pressed untill it vibrates that is 2-3 seconds.
You can find kv123 at this thread http://4pda.ru/forum/index.php?showtopic=706675
Also you can try to contact with andralex8. He has just 712 tablet. And it worked for him. But I'm not sure if he answers you quickly.
If you keep trouble with the recovery, try twrp from this https://forum.xda-developers.com/z4-tablet/general/guide-nougat-drm-fix-root-twrp-sgp771-t3555265
Phil_Libra said:
Nothing happens after I flashed the recoveries from yandex disk(both 3.0.3 and 3.1), so I tried androplus recovery...
Is there a modified boot.img for those recoveries?
P.S. I flashed 32.3.A.2.33.ftf first.
---------- Post added at 10:29 AM ---------- Previous post was at 10:22 AM ----------
I flashed 32.3.A.2.33 with flashtool, then flash the recovery in fastboot mode with:
Code:
fastboot flash recovery [I]recovery name[/I]
then pressed vol- and power, nothing happens and the tablet boots to the system.
Click to expand...
Click to collapse
Sorry if I have missed something obvious, but are you attempting to flash LineageOS? In which case I am confused as to why you are flashing the Sony Rom 32.A.2.33?
For my part I am gearing up to attempt the LineageOS install but would like to have a backup copy of the Sony firmware in case it goes wrong.
Assuming you installed an English version, which one did you select from here:-
https://xpericheck.com/device/SGP771
Indeed, if you try something especially unchecked, better to have a backup.
But you also need to have last sony rom(any of android 7.0) in order to update bootloader and have last twrp working.
alex009988 said:
Maybe it's better: fastboot flash recovery twrp.img ?
This twrp only requires updated bootloader from 7.0 stock.
Also i need to keep these buttons pressed untill it vibrates that is 2-3 seconds.
You can find kv123 at this thread http://4pda.ru/forum/index.php?showtopic=706675
Also you can try to contact with andralex8. He has just 712 tablet. And it worked for him. But I'm not sure if he answers you quickly.
If you keep trouble with the recovery, try twrp from this https://forum.xda-developers.com/z4-tablet/general/guide-nougat-drm-fix-root-twrp-sgp771-t3555265
Click to expand...
Click to collapse
Androplus‘ recovery need a modified boot.img so I wonder if the same as the recovery in yandex disk?
And recovery from https://forum.xda-developers.com/z4-tablet/general/guide-nougat-drm-fix-root-twrp-sgp771-t3555265 is the same as Androplus’ recovery.
Ok. If you've done everything right I guess 712 dosent work with 771 recovery. I'll tell about it to kv123 and you can say it on your own on 4pda.
Please anybody who has 712 model. Test 3.1 recovery from yandex disk and confirm or contradict if it dosent work for you.
Phil_Libra said:
Nothing happens after I flashed the recoveries from yandex disk(both 3.0.3 and 3.1), so I tried androplus recovery...
Is there a modified boot.img for those recoveries?
P.S. I flashed 32.3.A.2.33.ftf first.
---------- Post added at 10:29 AM ---------- Previous post was at 10:22 AM ----------
I flashed 32.3.A.2.33 with flashtool, then flash the recovery in fastboot mode with:
Code:
fastboot flash recovery [I]recovery name[/I]
then pressed vol- and power, nothing happens and the tablet boots to the system.
Click to expand...
Click to collapse
alex009988 said:
Please anybody who has 712 model. Test 3.1 recovery from yandex disk and confirm or contradict if it dosent work for you.
Click to expand...
Click to collapse
I'm seeing the same results. Tried the same recoveries to no avail.

Asus Zenfone Max Z010D 2016 Snapdragon 615 rooting method and Install TWRP recovery

Hello everone! I am new here. Asus officially released an app to unlock bootloader for Asus max z010d. Now it seems Asus will no longer release an OTA update for this model So Asus want users can go for Custom ROMS.
I have already unblock bootloader but now i want root access, install TWRP recovery and custom rom.
So Please guys help me
Kingroot (Android version) didn't help me
Provide all files, drivers, and image for Asus max z010d cpu8939
Zenfone max SD 615 root Successful
::::::::::::::::::::::::::::::::::::::Root Guide for Zenfone Max Snapdragon 615:::::::::::::::::::::::::::::::::::::::
Warning: Rooting a device automatically voids the warranty. We assume you know what you are doing and we shall not take any responsibility if your device blows up in your face. Be warned.
You must be on latest Marshmallow build 13.8.26.98
Fastboot Driver:: http://dlcdnet.asus.com/pub/ASUS/Ze...27.1989298661.1502195255-770807829.1502195255
SuperSu zip::: https://drive.google.com/file/d/0B-0qEY9zypslT1VBMTJvbkNydTA/view
TWRP::: https://drive.google.com/file/d/0B-0qEY9zypslSnNKaWpXVXo0dXM/view
KERNEL::: https://forum.xda-developers.com/zenfone2/general/kernel-reaper-t3468632
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::STEPS::::::::::::::::::::::::::::::::::::::::::::::::
FIRST: Unlock your bootloader of zenfone max CPU 8939
SECOND: Flash TWRP through fastboot
THIRD: flash SuperSu zip
MOST IMPORTANT PART :::: You must Flash Reaper kernel developed by ShadowReaper1 after Flashing SuperSu zip for successfull boot..... Kernel link is given above and also Clear dalvik cache and cache..
Proof video:::: https://www.youtube.com/watch?v=77TDOrntsMo
You have given wrong link of Video its my edit video not the specific video please correct it
and is tht kernel for 8916 not 8939 , will it case any issue
manishkpr11 said:
You have given wrong link of Video its my edit video not the specific video please correct it
and is tht kernel for 8916 not 8939 , will it case any issue
Click to expand...
Click to collapse
My mistake
and the kernel reaper darkness edition works fine in my phone no issue has been encountered.
Its been 3 days since I was using that kernel in my Zenfone max cpu 8939..
Any custom ROMs for sd615 variant? Help me
Check this video description box for download
---------- Post added at 04:24 PM ---------- Previous post was at 04:12 PM ----------
Which kernel u flashed cutom rom or stock rom there r 2 kernel in tht link, give me the same proper link u installed
manishkpr11 said:
Check this video description box for download
---------- Post added at 04:24 PM ---------- Previous post was at 04:12 PM ----------
Which kernel u flashed cutom rom or stock rom there r 2 kernel in tht link, give me the same proper link u installed
Click to expand...
Click to collapse
THIS ONE I have tried Stock rom 13.8.26.98 :::::: https://www.androidfilehost.com/?fid=673368273298957749
my phone is stuck on the asus logo
dbzraen said:
::::::::::::::::::::::::::::::::::::::Root Guide for Zenfone Max Snapdragon 615:::::::::::::::::::::::::::::::::::::::
Warning: Rooting a device automatically voids the warranty. We assume you know what you are doing and we shall not take any responsibility if your device blows up in your face. Be warned.
You must be on latest Marshmallow build 13.8.26.98
Fastboot Driver:: http://dlcdnet.asus.com/pub/ASUS/Ze...27.1989298661.1502195255-770807829.1502195255
SuperSu zip::: https://drive.google.com/file/d/0B-0qEY9zypslT1VBMTJvbkNydTA/view
TWRP::: https://drive.google.com/file/d/0B-0qEY9zypslSnNKaWpXVXo0dXM/view
KERNEL::: https://forum.xda-developers.com/zenfone2/general/kernel-reaper-t3468632
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::STEPS::::::::::::::::::::::::::::::::::::::::::::::::
FIRST: Unlock your bootloader of zenfone max CPU 8939
SECOND: Flash TWRP through fastboot
THIRD: flash SuperSu zip
MOST IMPORTANT PART :::: You must Flash Reaper kernel developed by ShadowReaper1 after Flashing SuperSu zip for successfull boot..... Kernel link is given above and also Clear dalvik cache and cache..
Proof video:::: https://www.youtube.com/watch?v=77TDOrntsMo
Click to expand...
Click to collapse
i just followed your method .... i was successful in unlocking the bootloader , flashing twrp and rooting my device ....thank you so much for that..
but after that i tried installing resurrection remix rom .. it was installed successfully .. but i am stuck on the asus logo ...
i tried many times installing it ... still its the same ,,,,
i even tried to install the stock firmware , but through twrp it is not able to open it , some kind of error is displayed ..
and even the asus flash tool cant help this ....
please help me ... what should i do????
dbzraen said:
::::::::::::::::::::::::::::::::::::::Root Guide for Zenfone Max Snapdragon 615:::::::::::::::::::::::::::::::::::::::
Proof video:::: https://www.youtube.com/watch?v=77TDOrntsMo
Click to expand...
Click to collapse
This Video link not works
adrajvrm2012 said:
i just followed your method .... i was successful in unlocking the bootloader , flashing twrp and rooting my device ....thank you so much for that..
but after that i tried installing resurrection remix rom .. it was installed successfully .. but i am stuck on the asus logo ...
i tried many times installing it ... still its the same ,,,,
i even tried to install the stock firmware , but through twrp it is not able to open it , some kind of error is displayed ..
and even the asus flash tool cant help this ....
please help me ... what should i do????
Click to expand...
Click to collapse
Dude just flash with stock rom using service firmware with ASUS flash tool and after done with flash wait for atleast 15 mins .......BEfore flashing select YES for wipe data in ASUS Flash tool
::::::::::::links:::::::::::
Service firmware WW_ZC550KL_8939_V13.8.26. 98:::::: https://cloud.mail.ru/public/DSh6/xysKkg6yW
ASUS FlashTool v1.0.0.57-ATD-20170426 ::::::::: https://cloud.mail.ru/public/BjE7/vqUtVSq7y
And make sure fastboot drivers are installed
dbzraen said:
::::::::::::::::::::::::::::::::::::::Root Guide for Zenfone Max Snapdragon 615:::::::::::::::::::::::::::::::::::::::
Warning: Rooting a device automatically voids the warranty. We assume you know what you are doing and we shall not take any responsibility if your device blows up in your face. Be warned.
You must be on latest Marshmallow build 13.8.26.98
Fastboot Driver:: http://dlcdnet.asus.com/pub/ASUS/Ze...27.1989298661.1502195255-770807829.1502195255
SuperSu zip::: https://drive.google.com/file/d/0B-0qEY9zypslT1VBMTJvbkNydTA/view
TWRP::: https://drive.google.com/file/d/0B-0qEY9zypslSnNKaWpXVXo0dXM/view
KERNEL::: https://forum.xda-developers.com/zenfone2/general/kernel-reaper-t3468632
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::STEPS::::::::::::::::::::::::::::::::::::::::::::::::
FIRST: Unlock your bootloader of zenfone max CPU 8939
SECOND: Flash TWRP through fastboot
THIRD: flash SuperSu zip
MOST IMPORTANT PART :::: You must Flash Reaper kernel developed by ShadowReaper1 after Flashing SuperSu zip for successfull boot..... Kernel link is given above and also Clear dalvik cache and cache..
Proof video:::: https://www.youtube.com/watch?v=77TDOrntsMo
Click to expand...
Click to collapse
wtf @ShadowReaper1 when did you made kernel for 8939???
---------- Post added at 01:44 PM ---------- Previous post was at 01:18 PM ----------
IM A DEVELOPER OF ZENFONE MAX
IF YOU GUYS ARE READY TO HELP AND CONTRIBUT WE WILL MAKE ROMS FOR SD 615
JOIN OUR TELEGRAM GROUP AND DONT BE MESSY ,, SHARE MAXIMUM
http://telegram.me/zenfonemaxdevelopment
how to flash stock recovery
how to flash stock rom using flash tools.....z010d my mobile is turn on and showing asus logo only plsss tell me thank u
ravi hly said:
how to flash stock rom using flash tools.....z010d my mobile is turn on and showing asus logo only plsss tell me thank u
Click to expand...
Click to collapse
Flash stock recovery using fastboot
And the flash stock rom using stock recovery
::::::::::::::::::::::::::LNK::::::::::::::::::::::::::
Stock recovery https://drive.google.com/file/d/0BzbhuPeg0I1BemRXWFc0MzJOdEE/view?usp=drivesdk
Fastboot command:::::: fastboot flash recovery (stockrecovery file name .img)
Failed to unlock your device.
Hey Guys,
I am on the latest build .98 . When I tried to use apk for unlocking I am getting error "Failed to Unlock your device, please try again." Any suggestion?
sam1243 said:
Hey Guys,
I am on the latest build .98 . When I tried to use apk for unlocking I am getting error "Failed to Unlock your device, please try again." Any suggestion?
Click to expand...
Click to collapse
Make sure you're connected to the internet while using the unlock tool.
jide1 said:
Make sure you're connected to the internet while using the unlock tool.
Click to expand...
Click to collapse
Thanks, I was connected to WIFI but the issue was solved after inserting sim and connecting to Mobile internet.
Now I am facing a new issue, even after successful flashing of TWRP recovery still stock recovery remains. Any comments?
sam1243 said:
Thanks, I was connected to WIFI but the issue was solved after inserting sim and connecting to Mobile internet.
Now I am facing a new issue, even after successful flashing of TWRP recovery still stock recovery remains. Any comments?
Click to expand...
Click to collapse
After flashing twrp, you should boot straight into twrp without allowing the device to boot into home screen at first boot.
jide1 said:
After flashing twrp, you should boot straight into twrp without allowing the device to boot into home screen at first boot.
Click to expand...
Click to collapse
I have tried that, but it stucks at the Asus logo. I have waited for 10 minutes then I have to do fastboot reboot.
sam1243 said:
I have tried that, but it stucks at the Asus logo. I have waited for 10 minutes then I have to do fastboot reboot.
Click to expand...
Click to collapse
Use the instructions here https://forum.xda-developers.com/showthread.php?t=3652518
TWRP provided in this thread did not work. I used recovery.img (https://doc-0c-8g-docs.googleusercontent.com/docs/securesc/6h1gj4u0352bh178vg9ce90sgfakudj0/nflmtubkvkqpfq4u6l0b58ina30cfaa9/1502899200000/05888804415672663760/00202497907955220170/0B10DIKafyFzDVmpXamotWkVtbUU?e=download)
Installed SuperSU and kernel provided after restart phone is not rooted. Am I missing something?
---------- Post added 17th August 2017 at 12:07 AM ---------- Previous post was 16th August 2017 at 11:24 PM ----------
jide1 said:
Use the instructions here https://forum.xda-developers.com/showthread.php?t=3652518
Click to expand...
Click to collapse
Thank you. Followed the instructions. Finally rooted

Moto X pure Boot only recovery

Good Morning everybody,
so yesterday was a rough day and when it eventually end i recive the october security update on the phone, without thinking i installed it and the phone does not boot up , instead i face my recovery (TWRP 3.1.1-0).
Of course i've made a mess because i was on stock rooted 7.0 on my retEU XT1572 phone with unlocked bootloader and status 3
i've tryed to restore a previous nandroid backup wihtout success, so today i downloaded the new RESURRECTION REMIX v5.8.4 (4 december wich is based on stock android 7) but i have no luck even with that...
Do i miss something?is there any rom to try with now? or i have to make a downgrade of my firmware to make it work again?
thanks in advice!
UPDATE:
phone boot now but always in recovery and after rebooting in bootloader i can reboot system from there.. it seems that if you download an update and the install process doesen't go in place every time you restart the device it always try to re-flash it, that's why i'm always in recovery.. i foun a similar post with this solution but i think it need some changes before it will work on our device (but i don't have the knowledge to set it right :S )
LAST UPDATE:
boot fixed by using this command in twrp recovery
dd if=/dev/zero of=/dev/block/platform/f9824900.sdhci/by-name/misc
misc file running at the startup redirecting the boot in the recovery, put blank in the file let the system boot up normally
You missed very much.
Here is stock RetEu, before october update:
https://forum.xda-developers.com/moto-x-style/general/stock-xt-1572-reteu-7-0-ddumped-files-t3712521
Wipe all with twrp and flash all. After it you can get OTA's.
---------- Post added at 10:59 AM ---------- Previous post was at 10:57 AM ----------
Here is RR 5.8.5 working on N modem:
https://forum.xda-developers.com/mo...ial-resurrection-remix-v5-8-3-t3637204/page40 post #397
Wipe all with twrp, update twrp to 3.2 and you can flash it right now.
@
---------- Post added at 11:03 AM ---------- Previous post was at 10:59 AM ----------
@Husky34
oh thanx man! i've already seen that post but i wasn't sure that it can work for me. i have some question befor starting:
1) i need the new twrp 3.2 to flash resurrection-remix? because as i mention before i've already tried to flash it with twrp 3.1 and it doesen't work (the rom is the same that you linked page40 post #397 )
2) do i have to flash stock-xt-1572-reteu-7-0-ddumped-files before point 1)?
dzidexx said:
You missed very much.
Here is stock RetEu, before october update:
https://forum.xda-developers.com/moto-x-style/general/stock-xt-1572-reteu-7-0-ddumped-files-t3712521
Wipe all with twrp and flash all. After it you can get OTA's.
---------- Post added at 10:59 AM ---------- Previous post was at 10:57 AM ----------
Here is RR 5.8.5 working on N modem:
https://forum.xda-developers.com/mo...ial-resurrection-remix-v5-8-3-t3637204/page40 post #397
Wipe all with twrp, update twrp to 3.2 and you can flash it right now.
@
---------- Post added at 11:03 AM ---------- Previous post was at 10:59 AM ----------
@Husky34
Click to expand...
Click to collapse
Husky34 said:
oh thanx man! i've already seen that post but i wasn't sure that it can work for me. i have some question befor starting:
1) i need the new twrp 3.2 to flash resurrection-remix? because as i mention before i've already tried to flash it with twrp 3.1 and it doesen't work
2) do i have to flash stock-xt-1572-reteu-7-0-ddumped-files before point 1)?
Click to expand...
Click to collapse
1. I think so. 3.2.x will be needed for future builds.
1a. You flashed RR for MM modem.
2. No, but this is only way to get ota update.
"swearing in italian" it was a twrp bug.. after a backup restore if you hit restart the phone restart in recovery, you need to boot into bootloader and reboot system from there -.-
thanks to all of you guys!!
strange fact, now if i turn off the phone and again on i'm still on recovery, i have to reboot bootloader and system from there.
i think something is pointing at the recovery instead system..
edit: it seems that if you download an update and the install process doesen't go in place every time you restart the device it always try to re-flash it, that's why i'm always in recovery.. i foun a similar post with this solution but i think it need some changes before it will work on our device (but i don't have the knowledge to set it right :S )
Ota update didn't end.
I think you can try clear data & cache otaupdate app and disable it. Link2sd can help with it. @Husky34
dzidexx said:
Ota update didn't end.
I think you can try clear data & cache otaupdate app and disable it. Link2sd can help with it. @Husky34
Click to expand...
Click to collapse
just tried but wihout luck.. maybe i can wait someone make the flashable update but i don't think this fix the issue
Flash uploaded stock.
dzidexx said:
Flash uploaded stock.
Click to expand...
Click to collapse
actually i fixed the issue using this command
dd if=/dev/zero of=/dev/block/platform/f9824900.sdhci/by-name/misc
misc file running at the startup redirecting the boot in the recovery, put blank in the file let the system boot up normally
Husky34 said:
actually i fixed the issue using this command
dd if=/dev/zero of=/dev/block/platform/f9824900.sdhci/by-name/misc
misc file running at the startup redirecting the boot in the recovery, put blank in the file let the system boot up normally
Click to expand...
Click to collapse
thanks, this command just saved me. but misc file in my XT1575 is under
/dev/block/platform/0/f9824900.sdhci/by-name/misc
but now I can't check system update in the OS anymore, I think flash back factory recovery mine help. Do you know where to download stock 7.0 recovery for 1575?
Edit: found it for 1575 here.
pshadoww said:
thanks, this command just saved me. but misc file in my XT1575 is under
/dev/block/platform/0/f9824900.sdhci/by-name/misc
but now I can't check system update in the OS anymore, I think flash back factory recovery mine help. Do you know where to download stock 7.0 recovery for 1575?
Edit: found it for 1575 here.
Click to expand...
Click to collapse
you can also use link2sd to disable the update app so it doesn't bother you,
or wait untill someone create a zip of the update and flash it into recovery.
thanks, that worked for me as well.
File was located at /dev/block/platform/soc.0/f9824900.sdhci/by-name/misc

Categories

Resources