yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Q&A, Help & Troubleshooting] adanedhel728:
I tried installing Cyanogenmod on a Nexus 5X, and it didn't work, so now I'm trying to install the stock rom from this site: https://developers.google.com/android/images#bullhead.

I'm doing this on Ubuntu 15.10. When I run the flash-all.sh script (on any of them), I get this output:

target reported max download size of 536870912 bytes

sending 'bootloader' (4382 KB)...

OKAY [ 0.195s]

writing 'bootloader'...

OKAY [ 0.077s]

finished. total time: 0.272s

rebooting into bootloader...

OKAY [ 0.008s]

finished. total time: 0.008s

target reported max download size of 536870912 bytes

sending 'radio' (56614 KB)...

OKAY [ 1.715s]

writing 'radio'...

OKAY [ 0.338s]

finished. total time: 2.052s

rebooting into bootloader...

OKAY [ 0.002s]

finished. total time: 0.002s

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

archive does not contain 'system.sig'

--------------------------------------------

Bootloader Version...: BHZ10i

Baseband Version.....: M8994F-2.6.22.0.56

Serial Number........: 00a9164559592811

--------------------------------------------

checking product...

OKAY [ 0.020s]

checking version-bootloader...

OKAY [ 0.020s]

checking version-baseband...

OKAY [ 0.020s]

sending 'boot' (11469 KB)...

OKAY [ 0.406s]

writing 'boot'...

OKAY [ 0.073s]

sending 'recovery' (12521 KB)...

OKAY [ 0.393s]

writing 'recovery'...

OKAY [ 0.092s]

erasing 'system'...

OKAY [ 0.089s]

sending 'system' (1950236 KB)...

FAILED (remote: data too large)

finished. total time: 1.210s

I'm not seeing many resources online about this error. The only thing I've seen is to update fastboot, but I've already got the latest installed with this ppa: http://askubuntu.com/questions/34702/how-do-i-set-up-android-adb

Is there anything that I can do to get it working correctly?
[Nexus 5X Q&A, Help & Troubleshooting] ulxerker:
the system image always is too large and usually it gets transferred in smaller pieces automatically. I'd try to flash all the images manually on a Windows mashine, following this guide (section 10).

I did it many times this way without issues.
[Nexus 5X Q&A, Help & Troubleshooting] adanedhel728:
Well, I can't get it working on Windows at all, because the driver won't install. (At least I assume that's the reason why-- The driver won't install and fastboot won't show any devices.)

I tried fixing that, but with no luck.

I did also try section 10 from Ubuntu, with the same results for the system part:

target reported max download size of 536870912 bytes

erasing 'system'...

OKAY [ 0.284s]

sending sparse 'system' (514493 KB)...

OKAY [ 12.333s]

writing 'system'...

OKAY [ 3.149s]

sending sparse 'system' (514543 KB)...

OKAY [ 12.427s]

writing 'system'...

OKAY [ 3.117s]

sending sparse 'system' (524291 KB)...

FAILED (remote: data too large)

finished. total time: 31.327s
[Nexus 5X Q&A, Help & Troubleshooting] icrunchbanger:
Fastboot is too old. Remove it from system. apt remove android-tools-fastboot . Place fastboot from dl link into a folder where is your system img. Change permissions if needed and exexute it with ./fastboot

https://mega.nz/#!CYYjHYSK!yjhPZ-OYQNhFxq-0JXVibtUps7AwoFDtvk0yPu_194s

Even better is to place fastboot file into a system /bin folder from where you can execute command in any folder.

Best regards.
[Nexus 5X Q&A, Help & Troubleshooting] adanedhel728:
My gosh, that finally worked, and I didn't believe it would. I had thought that the one I had gotten from that PPA was the newest, but, apparently not. I actually got it directly from Google (which was a chore in itself, but outside the scope of this thread).

Thank you very much. Now, let's see if I can find out how to mark this as solved...
[Nexus 5X Q&A, Help & Troubleshooting] icrunchbanger:
Your welcome. Never trust PPA ?
[Nexus 5X Q&A, Help & Troubleshooting] suleymanov5:
I got issuse

Bro link doesnt work, can you sent me app via email: suleymansuleymanoff@gmail.com
[Nexus 5X Q&A, Help & Troubleshooting] icrunchbanger:
You can download android tools from Google

https://dl.google.com/android/repository/platform-tools-latest-linux.zip

Also you can check my github for some nifty scripts .

https://github.com/icrunchbanger/android
[Wing, P4350 Herald Upgrading] nerdystudmuffin:
Hey all -- Been searching for a few days and I can't find the cab the file for the 6 button HTC Home plugin. Also if anyone has the Touch-Flo cabs, I'd appreciate them as well.

Thanks!!
[Wing, P4350 Herald Upgrading] Ryohara:
http://xdaforums.com/showthread.php?t=344533

All HTC cabs are here.
[Framaroot] Murthy143:
Hi,

I hv Data wind Ubislate tab 7dcx android 4.4.2 KitKat version n 3G calling model. No Google playstore app installed before , once I download end n installed play store n service but its not working... How can I get working play store n service. help me .........

Supersu app unfortunately uninstalled . root checker app said :

Advanced root checker

Adds: Guidance/feedback , super user and su binary detection and version, ADB root shell user detection.

Sorry: root access is not properly installed on this device : DW-UBT7DCX

Android version: 4.4.2

Plz. Help me getting Google play store n service.
[Framaroot] BIG_FAN:
deleted
[Framaroot] visheshbariya:
Did You Find Any Solution I Am Facing The Same Problem But Mine Is Rooted Properly
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] squid2:
This is my "Squid Kernel" for the 2016 Moto G4 Play, codenamed harpia. It shares a common codebase with my kernels for osprey, surnia, and lux. It consists of the latest Motorola MSM8916 kernel, with all the latest changes from CodeAurora and Kernel.org merged in, along with select cherry-picks and additions of my own. Flash it using TWRP. Bug reports and contributions are welcome.

This kernel supports both the stock ROM and custom ROMs.

Disclaimer:

This is for the 2016 Moto G4 Play (harpia) only! Versions r22 and up are for Nougat ROMs with modern blobs only! Don't flash it on a previous Moto G, or surnia, or lux. This kernel is provided AS-IS, with no warranties. I am not responsible for bricking your device. Flash at your own risk.

Features:

Moderately undervolted

Updated to Linux 3.10.108

Synced with latest CodeAurora changes

Improved memory management

Improved memory caching backported from Linux 3.15

Improved storage performance

Optimized ARM crypto routines

Updated f2fs and WiFi drivers

FIOPS and BFQ I/O schedulers

Lionfish CPU governor

IntelliPlug CPU hotplug (by faux123)

KCAL MDP5 colour control (by savoca)

Improved zRAM backported from Linux 4.9

Vibration intensity control

Compiled with Linaro GCC 7.3 and optimized for Cortex A53

Stripped down and optimized configuration

Release History:

r23: August 15, 2018
- More reliable headphone detection on harpia
- Tonnes of security patches
- Updated binder
- Compiled with Linaro GCC 7.3.1

r22b: January 13, 2018
- Audio driver fixes

r22: January 11, 2018
- Security patches
- Updated camera drivers
- Stock Nougat support
- Nougat only, requires modern blobs

r21: December 6, 2017
- Updated to Linux 3.10.108
- Security patches
- Oreo support related patches

r20: August 2, 2017
- Updated to Linux 3.10.107
- Tonnes of security patches from many places
- Updated sdcardfs from Google
- Updated WiFi driver from CAF
- Compiled with Linaro GCC 6.3.1

r19: January 1, 2017
- Added support for Nougat ROMs
- Updated zRAM from Linux 4.9
- Updated (optimized) FUSE from CAF
- Kernel ASLR and many info leak fixes
- ARM PXN support for exploit mitigation
- Tons of security updates
- Some CAF updated from LA.BR.1.2.9_rb1.10
- Fixed kernel panic on VPN disconnection
- Updated compiler to Linaro GCC 6.2.1

r18: November 8, 2016
- Initial release for harpia

Downloads:

Main downloads tab

XDA:DevDB Information

Squid Kernel for Moto G4 Play, Kernel for the Moto G4 Play

Contributors

squid2

Source Code: https://github.com/sultanqasim/android_kernel_motorola_msm8916

Kernel Special Features: undervolted, lionfish, fiops, intelliplug, latest Linux and Qualcomm fixes

Version Information

Status: Stable

Current Stable Version: r23

Stable Release Date: 2018-08-15

Created 2016-11-09

Last Updated 2018-08-15
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] mario156090:
it is for all Harpia XT16XX?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] squid2:
Yes, all harpia variants running all Marshmallow ROMs (stock and custom) should work with r18. A Nougat-only version will be coming later once I bring CM14.1 to this device.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Frank_s_ph:
I'm trying it now. No issues so far.

Just in case, how I would I could go back to stock kernel?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] 903tex:
Flash your stock twrp backup
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] mario156090:
[MENTION=6485916]squid2[/MENTION], Your kernel is very good, is it possible to overlock?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DanHutchins:
Just wanted to say this kernel is amazing. Not sure how accurate the seetings for the battery are but it says I have 4 days remaining at 86%. Even if its half that its still a massive improvement, thanks for your devotion and work on the g series [MENTION=6485916]squid2[/MENTION].
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Subhrajyoti Sen:
You are ruling the harpia forum.

Great job :)
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Mark963:
For whatever it's worth, I installed BaseMark OS II and ran a before and after test of the Nov 8 kernel. It slowed down the memory a bit. The first four columns are stock and the last four columns are with the Nov 8 kernel.

Overall	628	625	628	621 | 542	538	541	539

System	1043	1029	1062	1054 | 1028	1048	1067	1040

Memory	852	853	847	828 | 517	496	503	505

Graphics	315	315	315	313 | 305	304	299	304

Web	554	551	549	545 | 531	533	535	527

For such a big hit to the memory score, it didn't affect the rest all that much. I wonder if there isn't some boost in battery life that I'm not sure how to measure. I didn't notice much warmth from the phone while running the benchmark, but I didn't really make a good test of that. If the battery life is xx% better, then it's a choice of what you value.

Please don't take this as being negative. I really appreciate the chance to try this out. Keep going Squid! I'm dying to see the CM's going on this phone!! :) :) :)
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Modder001:
Hello [MENTION=6485916]squid2[/MENTION] sir

I can't find any undervolting commit on github

Can you help me find it ?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] nick_white:
Should I be seeing better battery life when compared to stock? Because it looks to be worse (higher consumption when using, like wifi browsing). Do I have to change the governor?

Also, if I switch back to stock kernel, do I have to reset something (like some settings)?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] nick_white:
I guess that the kernel wasn't the differentiating factor, as I just got similar performance as with stock - 3 days standby and 10 hours screen on time.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DanHutchins:
No need for setting anything when going back to stock kernel.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] K.E.:
I'm wondering if this kernel makes it possible to use the white battery LED as notification LED?

To me the G4 Play's only flaw is not having a notification LED, but an "battery is being charged" LED... Very odd.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] sgace2:
yeah this would be cool
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] fireball0093:
I second this. I found it really odd how it's charging only, but not for notifications. I really would love to see if anyone could incorporate a notification light setting
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] nick_white:
Is the carging led somewhere at the bottom left of the phione? I can see something beneath the glass (looks like the proximity sensor), but mine is not lighting up when charging...
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] fireball0093:
It's in the slightly on the bottom left side when plugged in. Surprised me the first time I installed CM after running stock for a little while, I didn't see a setting in the stock rom for it.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] sgace2:
just found these commits - maybe this can be adapted to harpia? :)

https://review.cyanogenmod.org/#/c/144769/

https://review.cyanogenmod.org/#/c/144770/

https://review.cyanogenmod.org/#/c/144768/
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] PatC11:
No WiFi on XT1602

Hi - I flashed this and now have no WiFi on my XT1602 (EU model). Suggestions? Thanks.

EDIT: Never mind -- in fact, flashing this

solved

my no WiFi problem (resulting from attempts to recover from flashing a new boot image). Double thanks!

EDIT: BUT, flashing SU seems to hang booting.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Plamb1r:
I need yu help dude contact me on xda or on telegram [MENTION=6105908]Plamb1r[/MENTION] . I haas some ask for some kernel feature like selinux. Thnks, plz report me in little time. Thnks. Good day , dude:)
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Subhrajyoti Sen:
Try doing this

1. Flash SU

2. Boot phone

3. Go back to recovery and flash kernel.

SU can have issues when flashed directly after flashing a kernel
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] PatC11:
Problem is ...

Thanks. The problem is, though, that after flashing SU the phone won't boot. I tried flashing SU then the kernel and then rebooting, but no luck.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] spiked_mistborn:
I flashed the kernel first, then the SU fixer (which tells the SU installer to use the systemless method), then the newest SuperSU. Wipe dalvik/cache. It might reboot once or twice before the ROM loads. You can always restore the stock boot partition from the backup you made before flashing anything if you have a problem.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] PatC11:
Ah, yes

Thanks, Spiked. I remember reading about the fixer but obviously completely forgot about it. That worked.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] squid2:
Thanks for the report, I can reproduce your issue. Do you still have any other Motorola MSM8916 family devices I support with this kernel (surnia/osprey/lux)? If so, do you remember which release your issue started on? I have a new version (r19) ready to go that I'll be releasing soon, but I haven't yet investigated the cause of your issue.

EDIT: I did some testing and narrowed it down to something that changed between r16g and r17. Will track down the issue and fix it before releasing r19.

EDIT 2: Fixed here: https://github.com/sultanqasim/andr...mmit/2e13f2f92e7d70c01aaff0e29f6b214a837676ed
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Gokulb1:
Firstly.. Happy new year bro... ?

Secondly.. im using rr rom currently will i be able to use this kernal.. thnk u
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Subhrajyoti Sen:
Yes. You can use it on custom ROMs like RR.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Gokulb1:
ok..ill give it a try..shuld i be careful or something cause this is kernal flashing.. so will i lose any data or so...
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] spiked_mistborn:
There's always a chance of losing data, but if you don't have a full backup you should at least make a backup of your /boot partition in case you have problems and want to go back to the kernel that came with the ROM.

---------- Post added at 09:27 AM ---------- Previous post was at 09:21 AM ----------

I can confirm that it's working fine now on r19. Thanks! Now if setting up an OpenVPN server and configuring the Android client wasn't such a pain I could move away from PPTP.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Gokulb1:
ok thnx ... i flashed it succesfully...
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] nick more:
Installed in ROM zephyr-OS successfully
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] zeeBomb:
Awesome, nougat support! You the real MVP [MENTION=6485916]squid2[/MENTION]
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] AndroidX:
Can it work in stock 6.0 or cm13 ??
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] mario156090:
Yes friend.

Enviado desde mi XT1063 mediante Tapatalk
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jasonmerc:
Good job with this kernel squid, just flashed about 10 minutes ago on RolandDroid's CM14. For anyone wondering, I can notice performance improvements with the user interface navigation, and apps that used to lag are now working just fine (namely Telegram messenger, which would freeze up for a bit when sending a message or loading a conversation). I'll keep an eye out for bugs and report them back here, but so far this thing is working great.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] fireball0093:
^ Same here, with the same rom. Also increased my battery life too by a little bit, which I really enjoy. Things load faster and it's definitely pretty buttery smooth the vast majority of the time. Thanks for the work.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] AndroidX:
Tested wrkg great thax squad for ur hard work!!
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] :
Finally! The Squid2 came back to life!
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] MaanasDwivedi:
Whenever I try to restart into system after flashing this via TWRP it restarts into TWRP again, doesn't goto system at all, not even the splash screen. I can restart to bootloader but not to system. Tried on AOKP and Zephyr.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Gokulb1:
yah..same here.. i tried it on aokp today it rebpots to recovery.. bt works fine on cm and rr rom
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] lu1gj3s:
I installed on RR and it booted up in safe mode?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thanhvx:
In plain English they are short form for double tap to wake and double tap to sleep.

I think the names explain the features.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Marcos60001:
I second this
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Abh98:
Does this kernel improve the battery life?

I am currently on rr and battery life has significantly got affected over the stock rom, So looking forward to flashing it
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Not working on stock Marshmallow with audio MODs: audio lags and clicks all the way.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] MaanasDwivedi:
Yes. Had this isuue with extreme beats audio maximizer but only in video playback.

---------- Post added at 10:55 AM ---------- Previous post was at 10:54 AM ----------

Try the r19 version it works fine if you flash it before booting the ROM first.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jasonmerc:
Did you try ViperAudio? I had that with Squid kernel and CM13 and I don't remember any clicks or anything in the sound. Great equalizer by the way, it can make $20 earbuds sound like $60 headphones IMO.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Subhrajyoti Sen:
[MENTION=6485916]squid2[/MENTION] Sir, can I please use this kernel for few AOSP ROMs?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] BigNaes:
Downloaded and tried the kernel after getting this phone a couple days ago. So far so good on Lineage OS nightlies! Thanks for the great work.

I saw it asked earlier in the thread but what are the chances of Double Tap to Wake and Double Tap to Sleep making their way into the kernel eventually? not looking for a time line, just curious if its in the plans for the future.

Thanks again!
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] squid2:
Sure, it's GPL licensed so do whatever you want with it.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Federic999:
Is it recommended to use Resurrection Remix 5.8.2?

Se recomienda usar en Resurrection Remix 5.8.2?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] RawSlugs:
What issues can I run into when flashing this? If my kernel breaks would TWRP still boot?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] :
Yes (I've had this happen to me while porting some stuff), it'll just boot into the bootloader and say that there was an error booting the system. From there you can boot into TWRP and flash kernel/zip or flash a boot.img through fastboot.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] RawSlugs:
Any issues regarding my system? Do I have to do factory reset when flashing kernel?

The kernel is stored in boot.img? So in TWRP that is what I have to restore? (ICE)
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] hp420:
This kernel breaks tethering and hotspot on AOSPextended rom. I've verified the kernel is the issue. I first flashed the rom alone and both worked. Then I flashed this kernel...no hotspot or tethering. Then I flashed SomeFeak (based on this kernel) and it was still broken. Reflashed base rom and both worked again....once again, just for completeness of testing, flashed SomeFeak without first flashing this kernel, and both hotspot and usb tether were again both broken. Flashed the base rom once more, and both hotspot and usb tether both worked again.

If you need any testing to fix the issue, I'm available, [MENTION=6485916]squid2[/MENTION] ;) Please drop me a line if you need anything!
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] batmann4:
I've tested this Kernel while i was using (daily) the LineageOs project by [MENTION=6485916]squid2[/MENTION] , then i've tested also the performance and everything, after the Kernel installation, my cell phone have a performance decrease. I still having this issue also with the installation from 0. I wiped all partitions, installed the rom, gapps, su, then the kernel, and the performance stills decreased
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] fireball0093:
Try the SameFreak kernel, that's my second go-to kernel. I found another build based off this one but I forget where I found it currently

*Edit*

Heliox is the name, I found it on Android Filehost. I dunno if it's ready for public release but I've been using it for a week or so now and it's really good performance wise
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] XMoDuLeSx:
It can be used on stock rom?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] MaanasDwivedi:
Yes SomeFeak should support MM as well because its based off of squids kernel.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Orjakone:
Hello [MENTION=6485916]squid2[/MENTION], I know you are a very busy person.

I have a question to ask you, Is this kernel outdated relative to the Lineage OS base kernel? I ask this because there is a time when there are no new updates.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Gokulb1:
Hes busy with his life i guess
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] squid2:
This kernel is outdated at the moment compared to the LineageOS kernel. I have been bogged down with a variety of things over the past few months that have prevented me from working on my Android related projects. I continue to be busy, but at least I'm back at home after having been away for some time. I started working on updating the kernel yesterday, but I'm not yet done the update and still need to do some testing. The first update I plan to put out is to my TWRP builds (they will be using my half finished kernel update). Later (perhaps next week), I'll put out updates to this kernel. I also have a backlog of issues on LineageOS JIRA that I need to address.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Alex230799x:
Some configurations (tweaks) to have a good performance and an excellent battery?