yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 Q&A, Help & Troubleshooting] debopriyobasu:
Hello!

I was trying some custom ROMs on my XT 1550 and then went back to stock using the July security patch full firmware zip posted on XDA by [MENTION=1006674]lost101[/MENTION].

->I updated to January security patch through system updates. I unlocked bootloader again and flashed LineageOS.

->Now when I type the commands used to flash the stock firmware,it shows "Preflash validation error". A quick search on XDA shows not to flash partition gpt .bin and bootloader,but even after skipping that,even the sparsechunk files are showing error-not signed,but I have earlier used them several times to go back to stock. My system was updated to January patch but I'm trying to flash july patch,as January patch for XT 1550 is not available in XDA for download.

Bootloader status: 3(unlocked)

I can boot to twrp,3.0.2-r5,but:

->data and cache can't be mounted

->custom ROMs can't be flashed again as a result of the above

I didn't have backups and I wiped the userdata while following the commands to relock bootloader.

For your kind reference,I generally went back to stock using these commands,specific to XT 1550:

Kindly help as it is my primary device and I can't boot it up into anything.
[Moto G 2015 Q&A, Help & Troubleshooting] debopriyobasu:
adb screen shows this:

C:\adb>fastboot devices

************** fastboot

C:\adb>fastboot oem lock begin

...

(bootloader) Please fully flash the signed build before locking phone!

OKAY [ 0.038s]

finished. total time: 0.039s

C:\adb>fastboot flash logo logo.bin

target reported max download size of 268435456 bytes

sending 'logo' (1352 KB)...

OKAY [ 0.050s]

writing 'logo'...

OKAY [ 0.290s]

finished. total time: 0.344s

C:\adb>fastboot flash boot boot.img

target reported max download size of 268435456 bytes

sending 'boot' (16384 KB)...

OKAY [ 0.520s]

writing 'boot'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 1.056s

C:\adb>fastboot flash recovery recovery.img

target reported max download size of 268435456 bytes

sending 'recovery' (16484 KB)...

OKAY [ 0.524s]

writing 'recovery'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 1.064s

C:\adb>fastboot flash system system.img_sparsechunk.0

target reported max download size of 268435456 bytes

sending 'system' (247489 KB)...

OKAY [ 7.764s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.218s

C:\adb>
[Moto G 2015 Q&A, Help & Troubleshooting] jatintomar:
Try with these commands

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot oem fb_mode_clear

fastboot reboot

Skip gpt.bin and bootloadet.img
[Moto G 2015 Q&A, Help & Troubleshooting] debopriyobasu:
Thanks a lot bro! You saved my device! Now if I want to relock bootloader for security,can I write "fastboot oem lock" on adb?
[Moto G 2015 Q&A, Help & Troubleshooting] acejavelin:
No, you cannot relock the bootloader... The only way to relock is to flash a full signed image, and you did not... And you cannot flash a full signed image until the January security update image (or later version) is released.

There is no advantage to relocking the bootloader, your warranty is gone and it cannot be restored, and you will never lose the unlocked bootloader warning screen unless you flash a custom boot logo file, regardless if relock or not.
[Moto G 2015 Q&A, Help & Troubleshooting] debopriyobasu:
Thanks for the info! One last question: Can I update my system to January patch now? I'm getting system update notifications. I'm asking to be double sure such that I don't brick my device while updating with an unlocked bootloader. Thanks!
[Moto G 2015 Q&A, Help & Troubleshooting] banerjeeayan1996:
You can update with unlock bootloader but make sure to have stock recovery and unmodified files aka no root.

Regards

Ayan
[Moto G 2015 Q&A, Help & Troubleshooting] Ivanlez:
Flashing Problems! :/

You need to wait to the next security patch... then flash all commands except fastboot oem lock begin and fastboot oem lock...... it works! the same thing happen with my old MotoX and i waited months! then i flashed and everything was fine!

I recommend you for your next ROM flashing experiments and updates to flash like this the patches...

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

you may try this commands! hope it works!:good::D
[OnePlus 3T Questions & Answers] navpal93:
I have the bootloader unlocked but I dont know how to root my 3t on 4.0.2. Can someone link me a tutorial.
[OnePlus 3T Questions & Answers] Anova's Origin:
Easiest way is to use the toolkit.

Since you already have an unlocked bootloader, you only have to flash twrp, then SuperSU.

1) Connect your phone to your computer, phone only has to be booted normally (not fastboot). Make sure USB debugging is on.

2) Open the toolkit, make sure that you phone's bootloader is indeed unlocked by using option 5. This will reboot your phone into fastboot to check. Reboot normally after.

3) Use option 6 to flash TWRP, wait until it finishes.

4) Use option 9 to place the SuperSU zip onto your phone's internal storage.

5) Reboot into recovery (you can either use option 15 in the toolkit or do it manually through your phone's advanced reboot or hardware buttons).

5.5*) I would advise you to take a nandroid backup in TWRP at this point, in case anything goes wrong.

6) In TWRP, select "Install" and find SuperSU.zip, it should be in /sdcard

7) Flash SuperSU (click SuperSU.zip, swipe right when prompted) and reboot. You should be rooted.
[HTC 10 Questions & Answers] ej_424:
Anyway to get the pixel icons on our HTC 10's? Looking for a flashable zip or something. All the thems on Google play require a launcher that I'm not willing to use.

Thanks in advance!
[HTC 10 Questions & Answers] afuller42:
go to HTC Themes, theres a few on there for free and work with sense launcher
[HTC 10 Questions & Answers] ej_424:
Thanks. That worked, now just wish I could replace blink feed with Google now.
[Nexus 6P Q&A, Help & Troubleshooting] ast32:
I'm on PN 7.1.1 on a release day model. Began after switching from stock Marshmallow to stock Nougat and stayed with me on a clean flash to PN. Sound gain kernel settings have been untouched.

I've been trying to pinpoint what the problem is exactly. The bottom speaker has no distortion and can produce sound. However, it's intermittent and refuses to stick. I don't believe it's a hardware issue.

Stereo tests will go mute no matter the orientation, but the moment you rotate the device, for approximately 4 secs the bottom speaker emits perfect sound.

I haven't found any recent discussions on this issue. Can anyone shed any knowledge?
[Nexus 6P Q&A, Help & Troubleshooting] Andypandiiee:
Having the same issue. Would love a solution!
[ZTE Axon 7 Questions & Answers] fevieiraleite:
I'm looking into enabling Google Assistant now that we have Nougat. Has anyone done this already? I was looking for a method that didn't need root.
[ZTE Axon 7 Questions & Answers] awsomjgp:
If you have root, you can edit the build prop and add ro.opa.eligible_device=true to the end
[Xiaomi Redmi Note 3 Questions & Answers] RootNightmareX:
I just wonder if a samsung charger can increase the speed of charging. I am on NITROGEN OS stock kernel.

I have the original charger, a samsung charger and an apple ipad charger.

Should i charge it with the apple one for faster charging? Or samsung ?
[Xiaomi Redmi Note 3 Questions & Answers] theoneofgod:
Try both. Use the one that charges it the quickest :)
[Xiaomi Redmi Note 3 Questions & Answers] ckflash09:
Doesent make a diff, try radon or agni kernal for fast charging!

If you are using kenzo, although the chip supports fast charging, Xiaomi hasn't integrated the extra chips required for fast charging since its a budget phone but anyways u can use custom kernels like radon or agni to boost the charge time!! *USE THE KERNEL AT YOUR OWN RISK, I AM NOT RESPONSIBLE FOR ANY HARM*

Like if I helped u, I'll appreciate that!
[Xiaomi Redmi Note 3 Questions & Answers] BabyTedhu:
It's foolish to do so, you will end up harming battery due to heating
[Xiaomi Redmi Note 3 Questions & Answers] RootNightmareX:
My battery always change very often when its charging from rapid charge to slow charge. Ane help?
[Desire 816 Q&A, Help & Troubleshooting] Osamaashoor:
Hey everyone

I need [gapps] [2017_02_08] [cm14.1]

[Htc desire 816 dule sim _A5_dug ]

Where find gapps
[Desire 816 Q&A, Help & Troubleshooting] Magnum_Enforcer:
Per the forum rules:

5. Create a thread or post a message only once.

As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.

Cheers,

Magnum_Enforcer

FSM
[Galaxy Note5 Q&A, Help & Troubleshooting] immarcel:
Please help, I've been trying for hours to flash the stock firmware with Odin but Odin always fails. I don't know if I'm using the wrong firmware or it's a problem with odin but I need help fast

Thank you
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] car209los:
PTT is not on dutty's latest dualtouch rom.....is there anyway to add this or is there a cab file to enable it??? :confused:

Spent all day looking for it and my 8525 cab won't work....:( ......Any info very appreciated
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
how to gather logs:

There are several apps that can do this process for you, Here is one: PlayStore: SysLog

And here is another: PlayStore: Andy Log (ROOT)

ramopps: is an oops/panic logger that writes its logs to RAM before the system

crashes. It works by logging oopses and panics in a circular buffer. Ramoops

needs a system with persistent RAM so that the content of that area can

survive after a restart.

logcat: the logoutput of the Android system

kernel log: (kmsg / dmesg): the kernel messages

Additionally there's the last_kmsg which is a dump of the kernel log until the last shutdown.

radio log: the log outpur ot your System / BB / RIL communication

4

ramopps:Some Documentation on Ramopps

Normal Logcat:

Radio Logcat:

Ramoops:

Via adb:

adb shell su -c cat /sys/fs/pstore/console-ramoops > kmsg.txt

Via terminal on phone:

su

cat /sys/fs/pstore/console-ramoops > /sdcard/kmsg.txt

Kernel Log:

Kernel Log:

adb shell su -c dmesg > dmesg.log

Last_Kmsg:NOTE:

New location of last_kmsg on Android 6.0 and above: /sys/fs/pstore/console-ramoops

adb shell su -c "cat /proc/last_kmsg" > last_kmsg.log

NOTES:

-v time will include timestamps in the logcats

-d will export the complete log.

If you want to save a continuous log you can remove the -d parameter - then you need to cancel the logging process via CTRL+C.

To export a continuous kernel log use adb shell su -c "cat /proc/kmsg" > dmesg.log (and cancel it via CTRL+C again).

PS: This Document was taked from another XDA Thread Called: [Reference] How to get useful logs

URL: http://xdaforums.com/showthread.php?t=2185929

Also check this one out: [Tutorial] How To Logcat

I only Revived it a bit for ramopps.

I will update this more at a later time..
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] 557953:
Excellent work my friend thanks for supporting the Pixel XL :) I hope you get lots of joy from your new hobby!

Will flash in the morning and see how it goes...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] franciscofranco:
Most of those audio patches you backported seem to be interesting, specially the ones that are meant to reduce power comsumption. Will pick. Suggestion, you don't need to specify the slot in the fastboot command, just fastboot flash kernel kernel_binary
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] almightysiman:
can you disable storage force-encryption？thanks！
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ghostENVY:
Are the safetynet patches implemented by any chance?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
When I did only fastboot flash, I ended up twice with a system that somehow didn’t know which boot slot to boot to.

Each reboot it would boot into the different boot slot. The only thing that resolved this was to flash the factory image from google.

Even specifying the boot slot via fastboot did not alter this behaviour.

Somewhere in the q & a section someone is describing the problem too. It occured the first time after using fastboot flash kernel command.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
I will look into it.

No I didn’t implement them yet. I will look into it.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xocomaox:
Let us know when you'll have a flashable zip for this! Sounds good!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Reechings:
Thanks for another kernel option!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] franciscofranco:
Well, I've been using that command since day 1. I've flashed countless times, it never failed to boot once...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
are you running stock rom? I believe you, if you say, you never had issues.

I ran into the issue I described earlier. It would Change Slots upon each reboot and nothing except flashing back stock Google Image fixes it.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
new kernel 0.2 is available

I added safetynet patch and another commit that may help with Performance

Download is here or in the OP

https://www.androidfilehost.com/?fid=529152257862702410
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Player-J:
It's great to see development for our beloved Pixel XL! I'll be checking this out. I thank you friend!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] CZ Eddie:
Anything related to aptX Bluetooth?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
Don’t know. What are you searching for exactly?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
Hey

I updated the kernel to 0.3

Main changes are:

- Add GPU OC to 652mhz like the performance edition of our soc

- Update wake gestures

- Many new Performance Patches

- Updated dm verity

Download is here:

https://www.androidfilehost.com/?fid=745425885120707916
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Alcolawl:
Lots of sweet features and commits. Definitely keeping my eye on this kernel. :good:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Reechings:
Can you make it TWRP flashable please?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] DR3W5K1:
It just keeps getting better with every release!

With regards to my rom provoking input boost are you saying that I could experience a CPU race condition?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
when you touch the screen and certain conditions are met, the power Hal will raise the min freq of all four cores to 1,1ghz for 1,5 seconds even if the boost is not needed. Walt will scale on top of that and it (may/will) cause unneeded cpu spikes yes.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] DR3W5K1:
I think I'm unaffected by this on DU luckily.

Thanks again
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Ofthecats:
I'm affected on DU. IIRC top app boost is set to 50
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] DR3W5K1:
Do you remember the command by chance?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
There is no command. DU has the touchboost integrated into the power Hal.

Look into power.c.

https://github.com/DirtyUnicorns/android_device_google_marlin/blob/n7x/power/power.c

Line 412-460
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Ofthecats:
On DU, disabling perfd works, and I set schedtune.boost for top app to 10. Both set on boot with EX kernel manager.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Reechings:
Sorry I must be blind, where did you find schedtune boost in EXKM?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Ofthecats:
Go to tools, user settings and add:

/Dev/stune/top-app/schedtune.boost and set the value to 10, then tap the apply on boot icon

Also disable perfd and apply on boot, in cpu section
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] anomalous3:
[MENTION=3428502]Freak07[/MENTION], I love your kernel, but I have noticed a bit of a hitch: installing it after elementalx causes a bootloop. Your kernel version 0.8-0.10 tested so far, Ex1.05-1.07 tested so far, purenexus as well as stock/rooted NOF26V. Not sure the boot cycle gets far enough in to start logging, I'll have to check. I suspect ElementalX makes some changes to /system that don't get completely cleaned up by your kernel, since the only way to fix it is a clean rom install or readding ElementalX, so not really your fault, but it'd be nice to have a smooth transition.

[edit]Verified that wherever it's happening, it's doing it before adbd starts so I can't get a proper logcat. Also occurs if I reflash only the stock boot.img from my build before installing yours (after ElementalX has been installed)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
Did you follow my instructions in the op?

Boot to recovery, flash my kernel zip and afterwards the twrp zip.

Reboot the recovery and flash latest SuperSU zip.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] anomalous3:
Yup, every time. It works fine as long as I follow those instructions when first installing on stock or on purenexus, it's only after installing elementalX that I'm unable to install your kernel over it. To some extent I could see this being a problem I'd want to contact [MENTION=4684315]flar2[/MENTION] about as well; I wonder how much of this is due to his use of the aroma installer, which is making it a bit tricky to pick apart the install scripts. I'm also wondering if I'd see similar results when flashing other kernels after elementalX, though most of them don't really have useful features and/or need to be fastboot intalled.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] joetheshmo:
You're not really supposed to flash custom kernels over other custom kernels. Usually only over stock or the kernel included with your ROM.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] DustinB621:
I've experienced a boot loop trying to flash this one on top of the last 9.5 version. Flashed vendor image (latest) new kernel (.10) , then twrp... Boot loop. Reflashed 9.5 and fixed the loop. I tried to then just flash kernel and TWRP giving same results. Flashing 9.5 seems to fix my issue. Running latest RR build, kirisakura 9.5.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] anomalous3:
With the marlin? maybe, but I've been a flashaholic since the days of the original mytouch, and this is the first time I've had this particular problem. I mean, yes, some kernels would only work with AOSP or CM or stock based ROMs, but they're typically interchangeable within a base. Marlin is a weird beast though
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] DaveHTC200:
This might be true, however I've never restored stock before flashing another kernel. Could be lucky though :cowboy:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
I have flashed exkernel in between my testing and it was no issue to switch back to my kernel.

I always did dirty flashes and never had problems so that is rather strange. I'm on my own DU build if that matters to anyone.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] anomalous3:
That might be a good enough reason for me to switch to du, it was my favorite for my Moto x
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] yahya1054:
Hey [MENTION=3428502]Freak07[/MENTION] thanks for this great kernel, working great w/ DU ROM although I can't seem to change schedboost top app stays 50 tried in EX manager disabled prefd no go added in tools/usersettings/ I add value to 10 won't change at all, any other way to try in change value?

Thanks!

Edit: I wasn't paying attention to

/Dev/stune/top-app/schedtune.boost should be like this

/dev/stune/top-app/schedtune.boost

Now I can change the value ?

Though I maybe need to try .10 kernal again because I was getting on big cluster 1132 MHz would not go lower causing battery drain.

So got the new value settings working, my mistake..?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Eyalkn:
0.10 gets stuck on a bootloop when flashing on the latest stock full image even with a clean install. I tried 4 times and other kernel do work with no issues including old versions of this kernel
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
Can anyone confirm this? I am not on stock. But already on a rom with march security updates...

And [MENTION=4842752]Eyalkn[/MENTION], does it loop between the google splash screen and the black cant check for corruption screen or does it actually come to the bootanimation? (moving dots)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] anomalous3:
Just an update, on DU .95 does work even switching back and forth from ElementalX on DUy, but .10 bootloops even on a clean install. The only use case where .10 seems to work is on a clean install of stock
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Eyalkn:
It didn't reach the moving dots so no adb
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
I only had that when the kernel wasn’t flashed successfully. Maybe try to redownload or check md5
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
I can assure you there is something different going on for you. I flashed many versions of my kernels on DU, also 0.10 and it was working everytime.

Did you follow exactly my instructions found in the op?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] DaveHTC200:
It doesn't stick though....

Edit: forgot to turn off prefd and it does now :svetius:

---------- Post added at 03:20 PM ---------- Previous post was at 03:04 PM ----------

Running .10 on latest DU, no issues!!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Eyalkn:
Yes, I didn't flash SuperSU, just flashed kernel and TWRP. The steps were:

Flashed clean latest stock and booted

Fastboot boot TWRP.img

Flashed TWRP and booted to recovery

Flashed kernel and TWRP and rebooted

I know that the for is not corrupted cause it lets me open it in the file explorer
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Freak07:
Just out of curiosity can you flash it with supersu please? I never ran unrooted on marlin.

If you want can also extract the zImage and flash it via fastboot and report back :)