yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 & 6T Cross Device Development] lm089:
Problem with Nandroid backup

just found this thread here; I posted the following at a different thread first, but probably this is a better thread for this, so I copy it over here:

==========================

Hi,

the other night I tried to do a full Nandroid. Removed any locking then booted into recovery (latest Blu Spark twrp 3.2.3-0 V 9.96). Phone is running on stock OOS 9.0.4.

At the end of backing up the data partition I received an error (freely translated from the output in German):

Process createTarFork() ended with error: 255

After that the backup stopped. This morning I retried, but with the same result.

There is a recovery.log. Opened it on my PC and found the lines around that error (it's partly in German but you'll get the meaning, I guess):

I:addFile '/data/vendor_ce/999' including root: 1
==> set selinux context: u:object_r:vendor_data_file:s0
failed to lookup tar policy for '/data/vendor_ce/999' - 'a402f629f82ccc32'
I:Error adding file '/data/vendor_ce/999' to '/data/media/0/TWRP/BACKUPS/4085c5e1/2019-04-19--00-46-25/data.ext4.win003'
Fehler beim Erstellen der Sicherung.
I:ERROR tarList for thread ID 0
Fehler beim Erstellen der Sicherung.
I:InfoManager saving '/data/media/0/TWRP/BACKUPS/4085c5e1/2019-04-19--00-46-25/data.info'
Prozess createTarFork() endete mit FEHLER: 255
Sicherung fehlgeschlagen, bereinige Sicherungs-Verzeichnis

Translation: lines #5 + #7: "Error while creating backup"

line #9: "Process createTarFork() ended with error: 255"

line #10: "Backup failed, cleaning up backup folder"

Anyone having an idea what this could mean, and what I can try to create a regular full backup?

Could this be related to TWRP, should I probably post this at their github?
[OnePlus 6 & 6T Cross Device Development] casual_kikoo:
https://xdaforums.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
[OnePlus 6 & 6T Cross Device Development] lm089:
Great, worked! Thanks for that.

Can't remember having enabled parallel apps, but apparently I did.
[OnePlus 6 & 6T Cross Device Development] kryshnakishore:
Flashed the full zip & forgot to flash recovery.. I am not worried about data as I have backup.

Pc is not detecting in fastboot mode.. Any suggestions.

I searched a lot but couldn't make it
[OnePlus 6 & 6T Cross Device Development] Geoz:
It happens to me today, use unbrick tool
[OnePlus 6 & 6T Cross Device Development] kryshnakishore:
Can you share me the link of tool
[OnePlus 6 & 6T Cross Device Development] Mar-cel:
Flash this module :

https://github.com/Magisk-Modules-Repo/twrp-keep
[OnePlus 6 & 6T Cross Device Development] Depressed T.Bear:
Hi guys, I've another question regarding blu.spark TWRP. Today, a friend of mine asked me in the university how to unistall the custom recovery on his OP6 (before flashing the newest update). He said he don't need it anymore, and I had no proper answer for him since I'm not sure how it works on A/B partitioned devices.

As far as I know, TWRP installs itself to both slots, so only flashing the newest firmware won't work I guess?

I'd be glad if you could give me/us a quick guide in this regard :)
[OnePlus 6 & 6T Cross Device Development] thugslug:
Just flash the new ota from system update (it will choose the full not partial ota) then reboot when it tells you to.

Poof, it's gone
[OnePlus 6 & 6T Cross Device Development] ac3theone:
Just flashed this, are there any recommended settings or the default is good enough?
[OnePlus 6 & 6T Cross Device Development] iElvis:
Flashing once is enough to do it. It will still be there on the old slot, but it's now inactive, so it doesn't matter unless you were to manually switch slots.
[OnePlus 6 & 6T Cross Device Development] thugslug:
Yep. Exactly.

Mind you I have no idea what's wrong with leaving twrp there. It's so much better than the stock recovery with all kinds of useful utilities.
[OnePlus 6 & 6T Cross Device Development] patrickt1220:
Been on this Kernal for a couple of days now. That battery life is much better than stock and Franco's Kernal. standby time is SOOOO much better than stock it's amazing. Thanks dev :good:
[OnePlus 6 & 6T Cross Device Development] Depressed T.Bear:
Thanks for your replies, I told him today and now he's happy.

Tbh, I also see no reason why you'd prefer to stay with the stock recovery. But, everyone to his/her own liking.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
blu_spark extras v9.100 (Pie only)

All right crew!

Here's an updated TWRP with all the blu_spark goodies inside and fully synced with TWRP Android-9.0 branch (including more recent upstream than official TWRP) and some specific device fixes.

Fully synced with TWRP 3.3.0+, name changing to reflect base 9.version, full compatible with Pie stuff. There's a fastboot bootable img and a zip installer.

Delete your twrp settings or else issues may arise if coming from other version besides blu_spark.

twrp-3.3.0-x_blu_spark_v9.100_op6

Wakelock blocker info and example script

I'm just sharing my personal mods since people asked, meaning no support will be given (don't bother post about it).

If your cat get's on fire you're on your own ;p

No mirrors please

If you like my work, donations are always welcome.

Don't forget to hit thanks and rate the thread nicely, it's free ;)
[OnePlus 6 & 6T Cross Device Development] Flasher8:
Thanks :svetius:
[OnePlus 6 & 6T Cross Device Development] meiax93:
Yeah. This is what I'm waiting for. Thanks ?
[OnePlus 6 & 6T Cross Device Development] only4dank:
Good looks on the updated TWRP [MENTION=3873953]eng.stk[/MENTION] !
[OnePlus 6 & 6T Cross Device Development] Sh0X31:
Any source for changes?
[OnePlus 6 & 6T Cross Device Development] only4dank:
Post #1799 on previous page
[OnePlus 6 & 6T Cross Device Development] ac3theone:
Does wifi calling work with this Kernal? it's not working for me
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Not kernel related.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] 白明玄:
can somebody tell me which kernel is most powersave in daily life use without gaming.
[OnePlus 6 & 6T Cross Device Development] nichobrooks:
Hey eng.stk, is this kernel good for the just released OOS 9.0.5 on the oneplus 6?

I was using your kernel before the update, now I'm 100% stock 9.0.5 and I miss my blu_spark! :D

Thank you for your hard work.
[OnePlus 6 & 6T Cross Device Development] only4dank:
Honestly, they are all probably pretty similar. Just read through features etc, and see which one you want. Comes down to personal opinion - I recommend this one.
[OnePlus 6 & 6T Cross Device Development] villadecai:
R78 gives to me better results than r80
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Yeah, no kernel changes from Oneplus so far.

Placebo, no changes between builds to make it so.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] villadecai:
I will check again but I had more active and idle drain with r80 on beta 16
[OnePlus 6 & 6T Cross Device Development] villadecai:
Repeated
[OnePlus 6 & 6T Cross Device Development] adeelsmatrix:
@ eng.stk, Sir, I'm using your kernel and it's working great so far. Please add sound driver control options in your kernel. Thanks...
[OnePlus 6 & 6T Cross Device Development] n0ryn:
per app volume and outputdevice control, i'm missing most in Android. Is there something similar you know?
[OnePlus 6 & 6T Cross Device Development] eng.stk:
I don't add any sound changes to any of my kernels since years now.
[OnePlus 6 & 6T Cross Device Development] vonstarr:
I know the kernel is compatible with both OP6 and 6T, but I couldn't help noticing that the file name for the modded TWRP ends with op6, not 6/6T. Do you recommend using on the 6T?
[OnePlus 6 & 6T Cross Device Development] eng.stk:
kernel is unified, twrp is not, there's a build for each device.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] vonstarr:
Where might I find the 6T TWRP build please?
[OnePlus 6 & 6T Cross Device Development] skyknife93:
On the 6T thread mate
[OnePlus 6 & 6T Cross Device Development] zyonlie:
Bootloop

Please help, I just flashed the new r80 kernel and twrp 9.100, and when I reboot it to system it bootloops. Any fixes? Recovery works fine, but not my OS. Thanks.
[OnePlus 6 & 6T Cross Device Development] iPsychoGeek:
Flash magisk and then flash kernel
[OnePlus 6 & 6T Cross Device Development] zyonlie:
Thanks for the suggestions, I've tried it but it didn't fix the issue. It still bootloops on me :(
[OnePlus 6 & 6T Cross Device Development] -Deco-:
Flash OOS from within TWRP again, add on the TWRP 3.100 in the ZIP queue, reboot to the recovery and flash Magisk 19.0.

Once it has fully booted,, flash the blu kernel - never flash a kernel after a ROM update **until you have booted into it**.
[OnePlus 6 & 6T Cross Device Development] iPsychoGeek:
Is it a real thing? I always flash kernel right after rom update.
[OnePlus 6 & 6T Cross Device Development] -Deco-:
Yes it is a real thing, the stock kernel needs time to patch any changes to the base OS - which is why after OTA updates they should only be flashed once you have successfully booted into it.
[OnePlus 6 & 6T Cross Device Development] Totone56:
Never heard anything about this, do you have any sources ? Not that i am doubtful, but i'm curious.
[OnePlus 6 & 6T Cross Device Development] vjdennis77:
How you used wakeblocker ? I'm on op6 and tried many times to install Cole and stuck at boot , if u don't mind pls pm me for the guide ?
[OnePlus 6 & 6T Cross Device Development] Mar-cel:
What happened to fastlane
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Lives in HMP devices, doesn't make sense in EAS logic.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] Twitch Prakyy:
Need Android Q support

Dude are you gonna make the twrp compatible with Android Q??
[OnePlus 6 & 6T Cross Device Development] casual_kikoo:
I've made a build with Q support here...
[OnePlus 6 & 6T Cross Device Development] Tagion:
Wow, sO qUicK!! Thenks sur
[OnePlus 6 & 6T Cross Device Development] Twitch Prakyy:
Pls lmk

I tried booting twrp img but the phone remains on a screen with a 1+ logo and "fastboot mode" below it, am I doing something wrong or does twrp need to be modified to run on an Android Q phone?
[OnePlus 6 & 6T Cross Device Development] rav101:
If you've tried Android Q on the OP6 then you know it's no way near daily driver ready.
[OnePlus 6 & 6T Cross Device Development] -Deco-:
TWRP has not been updated to be compatible with Android Q (yet).
[OnePlus 6 & 6T Cross Device Development] Harry44:
Hey everyone! I have a bit of a problem...one that I have NEVER been able to solve with this kernel. Stability, speed, battery life are all great. However, I have NEVER been able to access Blu Spark settings. They have never been injected into the UI. Doesn't matter how many times I have tried, what builds, etc.

I just did the following steps.

MSM to 9.0.5

Boot TWRP

Wipe

Install 9.0.5

Install TWRP

Reboot to TWRP

Install Blu Spark

Reboot to OOS

?????

No luck

Any help would be appreciated.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
You need Magisk installed before flashing kernel, so the settings are injected.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] eng.stk:
blu_spark r84 release (pie unified)

All right crew!

New build is up, smoothy smooth baby :highfive:

This kernel is unified, good on OP6/6T.

Also checkout latest recommended blu_spark extras with blu_twrp v9.100 (Pie support).

This is only for Pie ROMs! (with Pie based kernels also in case of custom ROMs)

blu_spark_r84-oos_op6-op6t_489dde443

blu_spark_r84-custom_op6-op6t_17cbc41e2

Keep in mind: I will give no active support for custom ROMs (including OOS based ones).

I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).

Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.

Also don't go spam and bug reporting on ROM threads if using this.

No mirrors please

If you like my work, donations are always welcome.

Don't forget to hit thanks and rate the thread nicely, it's free :)
[OnePlus 6 & 6T Cross Device Development] jc1266:
Hi ,sir

I am new to op6 , and I am on OB OOS PIE

Is that any installer zip for this twrp? Pls help how to flash this lastest twrp . Already unlocked bootloader . Thanks in advance .
[OnePlus 6 & 6T Cross Device Development] spartan268:
Goto the guides forums for the OP6 and there's a thread which has instructions for installing recovery.
[OnePlus 6 & 6T Cross Device Development] jc1266:
Thanks I found it ..thanks ya
[OnePlus 6 & 6T Cross Device Development] iPsychoGeek:
[MENTION=3873953]eng.stk[/MENTION] what is the reason behind removing sched boost?
[OnePlus 6 & 6T Cross Device Development] :
Where am I supposed to find the Blu Spark settings? I have Magisk and I just installed r84 but I can't find the settings anywhere. :confused:
[OnePlus 6 & 6T Cross Device Development] Lownita:
It's not an app, it's just the kernel settings being applied on boot.
[OnePlus 6 & 6T Cross Device Development] :
Mhhh... Reading the thread it really seems that people are talking about a blu_spark page in the system settings: a few posts ago I read about "injecting the settings into the UI" and earlier someone else mentioned that he can no longer find the "blu settings". Still confused. :(
[OnePlus 6 & 6T Cross Device Development] eng.stk:
I didn't remove boosting, only dyn stune.

I feel sometimes not runnig as I wanted and introduces some overhead in touch events, the driver became a bit fat.

So I prefer to mess around with some boost settings on my own.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] eng.stk:
My settings are injected and applied if you have root.

If you don't have root it will run with stock defaults.

For toogling settings like usb fast charge, klapse etc youshould use an app.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] BruntaX:
I'm on havoc now (10.05.19 build). When entering twrp requires a password and always “failed, please try again” :( How to fix this?
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Start searching you custom rom thread and the plenty twrp threads out there.

Let's keep ontopic.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] EmRav:
I've read on the havoc forum this is a twrp issue with may security patched roms. Doesn't that mean it is a bluspark twrp thing that needs fixing?
[OnePlus 6 & 6T Cross Device Development] tommyzatt:
I can't use openrecoveryscript, is this specific to this recovery img or base twrp?
[OnePlus 6 & 6T Cross Device Development] Stoowyguy:
Are my cores supposed to be maxed out or is that just what the kernel apps are reporting? Also, I think the iPhone runs similarly to that just maxing out all the cores.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Nope, you have already been told so before.

You need to figure out whats making load or derping your cpufreq.
[OnePlus 6 & 6T Cross Device Development] -Deco-:
This is a ramdisk issue - reflash the kernel ZIP.
[OnePlus 6 & 6T Cross Device Development] iElvis:
No.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
When OOS will have may security patch the same issue will most likely happen though.

See here: https://xdaforums.com/showpost.php?p=79515334&postcount=2559
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Not quite, OOS is always behind is keymaster and other crypto related stuff.

When pass v2 was introduced, it was only an "issue" for custom ROMs.

When we have updates for it, I'll update stuff.

Until then, people just need to chill. I truly care about kernel, not about doing twrp nice and cozy for custom ROM users and whatnot.

Let's keep on topic guys.
[OnePlus 6 & 6T Cross Device Development] Stoowyguy:
My frequencies were playing normal but here I am checking it now to find it behaving as before. Idk what is "derping the CPU freq" or creating load. Probably just GCC 9 being too nerdy and unstable.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Nope, you already had that no matter the compiler. GCC is fine, freqs are fine.

On the OP5 for instance, one thing that caused a similar issue was Kernel Adiutor acting up sometimes and locking up the freqs.

I'm not a fortune teller, start troubleshooting, check OP.

Other that that nothing I can do for you.
[OnePlus 6 & 6T Cross Device Development] Step-han:
Are you planned to develop for the OP7 Pro?
[OnePlus 6 & 6T Cross Device Development] eng.stk:
I'm an Oneplus Recognized Developer and part of the development seed program for years now.

When I have my hands in one of those, you bet ya :)
[OnePlus 6 & 6T Cross Device Development] Step-han:
Good the hear! Just preorderd the 8/256GB version. See you on the OP7 Pro forums! :D
[OnePlus 6 & 6T Cross Device Development] TheMellowOne:
[MENTION=3873953]eng.stk[/MENTION] How did you "KGSL fixes and reworked GPU driver" rework the GPU driver?
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Ride on, awesome beast :highfive:

kgsl and devfreq fixes like governors for instance, patches needed by custom ROMs for panel modes and whatnot, stuff to improve smoothness and better UX.

Checkout git for details.
[OnePlus 6 & 6T Cross Device Development] egandt:
Bluespark 3.30 TWRP unable to unlock storage

Blu_spark 3.3.0 TWRP unable to unlock storage, I'm able to change the Pattern, or PIN when booted up in the OS, but when I try to access TWRP and I enter the same Pattern or PIN I get a failure to decypt error, this makes it very hard to backup the phone..., and I've never encountered it before I'm on 9.0.5, any idea what is wrong or how to resolve I just spent 4+ hours configuring the phone after a clean install and now I can not back it up.

TWRP knows that I have a Pin or a Pattern when I access it , I just can not decrypt the partition using what I enter which matches what I used when I boot the OS.

Tried 3.2.3 as well same issue we decryption, cloud it be I started with 3x3 and then moved to something else?

ERIC
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Read the last 10 messages...
[OnePlus 6 & 6T Cross Device Development] kalpik:
This now happens on the latest OOS beta too. TWRP cannot decrypt data anymore, if you enabled pattern on beta 18. Just letting you know :)
[OnePlus 6 & 6T Cross Device Development] Meepaco:
Might be a stupid question but how can I get klapse to work?
[OnePlus 6 & 6T Cross Device Development] tanish2k09:
You switch it on using a kernel manager app.

On OOS you might wanna use custom display mode.
[OnePlus 6 & 6T Cross Device Development] Stoowyguy:
Running only ex manager and clean flashed OOS like install instructions say and so far r84 is running LIKE A GEM?
[OnePlus 6 & 6T Cross Device Development] Meepaco:
On OOS you might wanna use custom display mode.[/QUOTE]

Hmmm yes I can't switch it on but it doesn't stick after reboot

---------- Post added at 02:14 AM ---------- Previous post was at 02:08 AM ----------

Hmmm turned on with kernal manager, not sticking after a reboot?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Hmmm yes I can't switch it on but it doesn't stick after reboot

---------- Post added at 02:14 AM ---------- Previous post was at 02:08 AM ----------

Hmmm turned on with kernal manager, not sticking after a reboot?[/QUOTE]

Then tick the option to apply it on boot? :D
[OnePlus 6 & 6T Cross Device Development] meiax93:
You can use EX Kernel Manager.

https://play.google.com/store/apps/details?id=flar2.exkernelmanager
[OnePlus 6 & 6T Cross Device Development] fidanzata:
Deleted.
[OnePlus 6 & 6T Cross Device Development] StDevious:
I seem to be losing WiFi after installing this on the latest Syberia ROM as of May 23rd
[OnePlus 6 & 6T Cross Device Development] xpakage:
What kernel were you on?
[OnePlus 6 & 6T Cross Device Development] StDevious:
Whatever the default kernel on the ROM is. I've tried this process 3 times
[OnePlus 6 & 6T Cross Device Development] xpakage:
Deleted. ROM answered above.

The OP of your ROM state it is based on AOSP. The OP of this kernel states it is for stock OOS.

????

Edit. I see he has kernels for other ROMs. I cannot help other than stock. Sorry for the delay in a helpful answer.
[OnePlus 6 & 6T Cross Device Development] only4dank:
[MENTION=2742073]StDevious[/MENTION] - are you installing the kernel or recovery?

[MENTION=3090042]xpakage[/MENTION] - what exactly are you talking about, you make no sense. I still have no idea if the guy is talking about kernel or recovery. Based on his answer to your question, I assume he is coming from a custom ROM to install this kernel. Your answer delayed or not does not help his situation at all.

[MENTION=2742073]StDevious[/MENTION] - can you explain what you are trying to do, and how you did it?
[OnePlus 6 & 6T Cross Device Development] StDevious:
Correct, I'm installing this kernel on a custom ROM (Syberia). As soon as I flash it in TWRP, the wifi that was working before doesn't work after reboot.
[OnePlus 6 & 6T Cross Device Development] xpakage:
[MENTION=5578928]only4dank[/MENTION], there is your answer.
[OnePlus 6 & 6T Cross Device Development] more_than_hater:
I know it's not exactly right to ask it here, but i'd like to stay with blu.spark base and just to slightly reconfigure it. What i'm searching for is that where can i change base min/max freq for gpu core? Thanks in advance.
[OnePlus 6 & 6T Cross Device Development] tURkOsANsE:
Hello friends, can you confirm if this kernel works on the OnePlus 6t? Thank you.
[OnePlus 6 & 6T Cross Device Development] kryshnakishore:
Yes but download the 6t version
[OnePlus 6 & 6T Cross Device Development] tURkOsANsE:
Hello, thanks for answering, in the subforum of the OnePlus 6t there is no this thread. So I go to the first page of this thread, I give downloads and the latest version for OOS 6t is this ?:

https://github.com/engstk/op6/releases/tag/r84-oos
[OnePlus 6 & 6T Cross Device Development] fidanzata:
Yup.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
ofc here is a thread for 6t.

Kernel is unified, works in bith models 6/6t.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Use a kernel app for that, most have controls for that.

I'm preparing a little surprise regarding gpu, stay tuned :)

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] more_than_hater:
just want to use your kernel with possible to tweak this part of config, dont wanna exchange it for any other kernel:good:
[OnePlus 6 & 6T Cross Device Development] eng.stk:
lol bad typping: I meant a kernel app!

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] more_than_hater:
Well, then rip kernel adiutor:D

Can you or maybe someone suggest me the app that can done such changes?

https://dl.xda-developers.com/4/7/6....jpg?key=DlfUXJHX3n0mOKatO6qDsQ&ts=1559068370
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Exkm and fkm I think they have controls for that.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] more_than_hater:
Just checked - nope, but now i can change initial freq:D

i mean, i wanna try to slightly increase core freq for gpu. guess, that should be implanted on kernel side
[OnePlus 6 & 6T Cross Device Development] eng.stk:
You can change min and max freq, governor, etc

If you're talking about OC/UC mumbo jumbo you're not going to find anything like that in blu_spark, nope.

Sent from my blu_spark'd OnePlus
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
He meant kernel manager.

Like

Ex kernel manager from flar2

Franco Kernel Updater

Kernel adiutor (free and open source)

Smart pack kernel manager (fork of KA with more settings and up do date)