yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
Then you are fine what more do you really need flashing but root. As said not many mods modify data. I can't think of anything important. Just leave it encrypted.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
For example for SuperSU systemless installation. I would recommend that someone who has the skill compiles new TWRP 3.0.3 for XC. I never did that before and have no suitable build machine at the moment.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DannyWilde:
Okay, thank you. Is it possible to reset battery care? I don't get message about battery care since a few week when i plug in the charger. I'm on MM using androplus kernel.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
Wrong thread, this is about Nougat and Genesis Kernel.... anyway, try to disable Battery Care and delete file batterystats.bin from /data/system and reboot
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DannyWilde:
I know it's wrong thread, but i thought this kernel is based on androplus kernel.

Btw i want to use battery care, but it seems not to work.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
Yeah that is of course correct, and I could also see other 'hacks' making use of the same method. But for Kianush, and sorry [MENTION=5647867]Kianush[/MENTION] for my morning grumphyness :) I.did not know that you just restored 25gb. I am usually more or less OK unless my contacts gets lost lol. I would recommend waiting until you stumbled on a mod you really want and needs /data access or a updated twrp.

I have a empty laptop I could try and setup a build environment on, I have never tried playing around with cross compiling anything but there should be documentation enough out there. And I would be willing to give out shell's for those who like to help. I have a steady 250/250mbit fiber connection.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
if you want to unencrypt /data the easiest way (or point in the process) is to do a factory reset after unlocking the bootloader and flashing the genesis-kernel when the device is empty anyway. If you flashed SuperSu you need to flash it again.

Also you NEED to flash the genesis-kernel BEFORE doing a factory reset.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jiangjun413:
There is a new update 292 version available, is this kernel works on the latest 292 Rom ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gizzistar:
It works!

Inviato dal mio F5321 utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jiangjun413:
I tried to flash the kernel into the latest 292 Rom, it works as well.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
The kernel is not based on androplus kernel. It is based on XperiaDev opensource nougat version. And then yes I borrow a few things from AndroPlus and others.

Still feeling unwell, so work will continue after.

Battery care seems to be working just fine here.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] tempurastyle:
Was anybody able to fix the "Phone Idle" battery drain using this kernel and/or tweaks after root?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DannyWilde:
Hope your fine soon!!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
It has nothing to do with this kernel it's the same with stock.

And it does not drain your battery, it has no influence at all actually other more detailed battery monitors does not not show this activity.

---------- Post added at 09:39 ---------- Previous post was at 09:05 ----------

Sorry to hear mate. Life can throw some curve balls at moments I know to much about that. :(

Best of wishes.

Btw. [MENTION=7833215]DannyWilde[/MENTION], battery care kicked in last night/morning I have a habit of turning it off though because the time it comes up with never fits me. :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
I am talking about something else. Even if you do a factory reset or just format DATA, after you setup you mobile and activate Phone Encryption, you will not be able to decrypt DATA in TWRP. No matter if you use PIN or password protection, TWRP just fails to decrypt. So only way is to either use no encryption at all, or encrypt after you did all your flashing and pray that you don't need to reflash SuperSu before new encryption-capable TWRP for XC is released :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
True of course I know :)

I am just thinking many users will probably ask well how do I clear this encryption if I need to. I am just saying if you do not want your /data partition encrypted it is possible if you flash this kernel first (I also know its in the kernel change log) I am just having a friendly pointer, and no you can of course not encrypt your phone again if you want access with the current version of twrp. :)

Once you encrypt you are done and will need to start over. It was also why I brought it up it's a rather important decision. We agree and I hope at least someone else does too. lol

EDIT: Hmm. I flashed supersu while my my phone was encrypted. . Somehow I feel like I am missing something?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
You flashed it brand new, or just re-flashed over previously flashed one?

And also, SuperSu has two modes, system and systemless. Systemless mode will not work, if DATA is inaccessible, because it needs to write to data partition. System mode does not need data. I am not sure, if SuperSu installer finds out that DATA is unaccessible, it installs in system mode..
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
Both first while encrypted I later cleared encryption and had to install it again unencrypted, it was installed the same way both times I still have to figure out/read up on what it exactly did, I am pretty sure system but it's not that transparent. To change subject the app flashfire by chainfire should be able to circumvent all this as it runs when the phone is open, have you tried it, seems cool.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
Yes, it works ... I forgot to mention it as an alternative. Thanks.

---------- Post added at 12:34 ---------- Previous post was at 12:30 ----------

There is no battery drain on Nougat. Those PANIC messages about battery drain are published by people who have absolutely no fckng clue, what they speak/write about and do not understand power management in Android. Nougat informs you additionally on how much energy your phone consumed, when in idle state. So if someone uses his phone rarely, the Phone Idle counter will of course be in first place, because phone is most of time .... just idle. But also in idle state phone needs energy. My XC runs on decent usage about 1,5 days, giving me nice 7-7,5 SOT.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
I read up a bit on systemless root and where chainfire's supersu is heading, interesting reading.

and yeah second rooting was done systemless, I have a su.img in /data and it has patched boot.img to mount it under /su as loopback device, start deamon, etc. :) i wonder what it did when i could not access data from twrp. anyway i am not going to play to much around getting myself into trouble although it is a good way to learn i do not have the time right now. :)

---------- Post added at 16:03 ---------- Previous post was at 15:58 ----------

:good: what i didn't even bother explain.. thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] tempurastyle:
thank you for your info! will upgrade back to nougat asap then.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] kik_o:
What if I want to update my X Compact to another upper version, I should star all over again from step (Download TWRP from AndroPlus Advanced Stock kernel thread (TWRP-3.0.2-3-F5321) ?

I far as I understand, when you open your bootloader you stop getting any OTA updates so any update you want to get should be installed through Flashboot right?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] schuberth777:
Maybe I'm blind or something, but how did you get 34.1.A.3.49 firmware? I only see N firmwares using the XperiFim from flashtool, or older MM ones. Is there a way to select previous releases?

To explain a bit, each region shows only the newest firmware, which is usually Nougat. Couple have MM, but older version. I'm weary of trying those other regions.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
You should be able to flash it with flashtool. If it/you wipes recovery you need to flash or boot it again then flash genesis kernel and supersu. If things have not changed your device key should be retained during upgrade.

---------- Post added at 15:14 ---------- Previous post was at 15:11 ----------

I suppose we are talking about N. 292? There are only first MM version. 198 available in a few countries on xperifirm (poor guys) anyway I do not think you have to downgrade to MM first. You will find out. ;)

Edit: or maybe you mean the next upgrade coming? Then again; yeah you will need to use flashtool.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
If you want to update Nougat from one version to another, you just flash the ftf in Flashtool excluding Data, kernel and recovery. I would advise you to wipe Dalvik and cache afterwards.

I flashed the firmware from Singapore Region. But for sake of backing up TA it doesn't matter which version of MM you use.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] schuberth777:
Thanks realtuxen and ondrejvaroscak!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DanielMode:
[MENTION=6351145]ondrejvaroscak[/MENTION] your post #60 and flashing the dk.ftf with Flashtool

i don't get the question about FSC anymore....just tried again few minuets ago with new fresh instalation of Flashtool v0.9.22.3 on C: but still the same error
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
Did you delete the userdata folder c:\users\$username$\.flashtool also and completely remove the new version of flashtool from the control panel (sometimes c:\flashtool does not get completely deleted either) then make sure it is the old version 0.9.22.3 in the password protected zip that gets installed. It should work both ondrejvaroscak and I confirmed it after bumping into the exact same issue as you are experiencing. I can only say make sure the nrw version of flashtool is completely deleted and make sure its the old version that ondrejvaroscak shared that you install. I know it sounds stupid do not take it as talking down to you, but I know from my own experience that sometimrs it is something silly I forgot.

---------- Post added at 22:07 ---------- Previous post was at 21:47 ----------

Btw you should click NO when it asks to use default.fsc with the old version 0.9.22.3, does it ask you at all?

---------- Post added at 22:24 ---------- Previous post was at 22:07 ----------

Oh sorry I see you write you do not get the prompt, it's the exact same issue I and ondrejvaroscak had with version 0.9.23.2 (if you tead back in the thread) I can only say what I said before then; make sure flashtool is completely uninstalled before installing 0.9.22.3 :/
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DanielMode:
i did both ways deleting with flashtool uninstall.exe and next time via control panel

also searched for everything thats named flashtool by hand...nothing helped

also tried to install and flash on my Laptop he never saw Flashtool before same error

so on 3 PC same issue :(
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
I do not get it then sorry. We did have nougat on our phones but I do not think that it is related. If you look at the dirty cow backup thread users where able to install DK.ftf on MM befote flashtool 0.9.23 was even out. Sorry but you seem very sure that you used 0.9.22.3 on a clean install (although it doesn't seem to behave like that) , so I don't know what to say to help then. :(
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
Have you checked your device key status in the service menu now? I missed that sorry. It seems to have written dk.ta inside the ftf but not completely. I wish i saved my log. The only difference I can come up with is we where on nougat. Are you still on stock? If so try see if xreality etc works.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DanielMode:
i checked them by using *#*#7378423#*#*

all ok cause the Key fix of the Advanced Stock Kernel and TWRP for Xperia X Compact but the Fido_Keys: Not provisoned, SUNTORY error

so that should mean key file DK.ftf not written
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
Yeah something is wrong. Is it intended that you stay on MM?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
In my case it worked as I described. Also Androplus kernel is for MM not for Nougat.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
Why i added the question about if it's intended to stay on MM because you are and are not following ondrejvaroscak's guide. I can only suggest that you follow it upgrade to nougat and use the kernel this thread is dedicated to.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DanielMode:
i know i know

and i like to stay on MM cause i already hate the new Android stuff more and more apps not working anymore

airplane toogle, Data Connection on/off, my bbm messanger, multiPicture Live Wallpaper ect. :(

and on top...till Xposed not working on Nougat i'll not updating my cell phone !!

caus feature's of Xposed more usefull than Fido_Keys for me :rolleyes:

and on the other hand...that TAbackup and DK.ftf stuff was out before Nougat so what shout be other to get it running on MM ;)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
I know about your problem man, your error is about flash script and thats the .fsc file for your phone

You should first uninstall flashtool completely and then remove .fashtool folder from your users directory and then reinstall the version you want

After runing you have to be connected to the internet so flashtool can sync .fsc data

After syncing is complete go to .flashtool folder and copy you device folder to mydevices folder it should be something like F53xx(Im not behind my pc I dont remember the exact names)

Now go to that folder that you copied you will see a .fsc file

I think the name is 34.fsc

To be sure, copy that file in the same folder with the name of default.fsc

So now you will have two same files in the same folder with just different names

Now try flashing again

Answer here if it was solved

Btw I dont know why some people say you have to say no when it asks you to use it or not, using .fsc files for 2016 phones is mandatory and it's by no means a bad thing unless you are in the last step where you want to flash devicekeys

---------- Post added at 10:46 PM ---------- Previous post was at 10:41 PM ----------

The way flashtool is made, it first looks for .fsc in the rom and if it's not there, then it looks in mydevices folder and if its not even there, it would go for devices folder that is the dafault directory for flash scripts.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
It could be the AndroPlus kernel doing something funny. If it patches what you need you can always just forget it and wait until you really need the device key. I know it's an annoyance but this thread is about nougat and the genesis kernel. It's not that I do not want to help. But we confirmed that the guide works and I am not familiar with the AndroPlus kernel.

---------- Post added 28-01-2017 at 00:01 ---------- Previous post was 27-01-2017 at 23:53 ----------

We are talking about flashing tje DK.ftf. I can only say what did not work and what did.

And you say it yourself

He IS in the last step (kinda) did you click yes to the fsc script when flashing the DK.ftf. And did your Fido_Keys get provisioned? In that case you contradicting yourself. :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DanielMode:
can't find a folder with a default.fsc :confused:

and its not about the kernel we'r talking...its about a Flashtool problem and Flashtool everyone needs doesn't matter we'r on MM or Nougat ;)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
Maybe the kernel takes over so it wont read the teal device key, unlikely i know. Again we van only describe what worked for us and what did not.

Don't ask me about the fsc dir thing.

I wish you the best of luck.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DanielMode:
log file still says: No flash script found. using 0.9.18 flash engine
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
I can only refer to this post. It worked for me too in first try. I tried, and I wish I could help. Will write if I stumble on something.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
Wrong version. Use 0.9.22.3, I also posted a link to it. Uninstall and DELETE both installations and user folders. Then install the 0.9.22.3 version and copy DK.ftf to your firmwares directory. Open Flashtool, choose DK.ftf and when Flashtool asks about default fsc, answer no.

Flashing device key has nothing to do with kernel or firmware. It just writes few bytes to one partition.

By the way, both Genesis and Androplus Kernel Drm bypass routines are getting flashed device keys properly.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DanielMode:
THX but like i said i'm not eaven getting that question about fsc

i know them caus at the begining when i debranded my cell phone i got them always...but now not anymore on both PC's

and trust me i used the version from your link as well just the log file saying:....No flash script found. using 0.9.18 flash engine
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
0.9.18.6 is just wrong version
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
I just tried replicating. I had v. 0.9.23.2 installed and flashing DK.ftf resulted in no prompt and no fsc found. Uninstalled and installed v. 0.9.22.3 and flashtool prompts me about default.fsc. I do not know what goes wrong [MENTION=8023946]DanielMode[/MENTION]

---------- Post added at 02:36 ---------- Previous post was at 02:32 ----------

I said that several times., explicitly said to use 0.9.22.3. But he does mention that version in he's first post. And if you say you use the link from the Google drive post something is wrong.

EDIT :sorry about the bi-chattering. The 0.9.18 thing is definitely wrong.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DanielMode:
ya need a screenshoot to believe me i"m on v0.9.22.3 or what ?

and i know what ya talking about the fsc pop up but again i don't get them anymore

and btw. i'm on a 2 days old fresh installed Win7 64bit system here cause i liked to switch to an SSD HDD so not to mutch junk at my HDD i would say ;)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
Hey dude. Why would we not believe you. If you have not noticed we are all actually trying to help you! No one here is hostlie. As i said before I do not have any more ideas we are starting to run in circles, and can only tell you what it does here and what the version it states.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DanielMode:
cause ya saying wrong Flashtool Version over and over again screenshot
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
It did not ask me about fsc in that step and it went smooth, my Fido_Keys are provisioned
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
Ok cool or it deepened the plot heh. did you have to downgrade flashtool?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
man did you try what I said?!

there isnt any default.fsc so dont look for it

there is 34.fsc in F53XX folder you can search it!

it's in users/***/.flashtool

just search man that shouldnt be hard

----

if it isnt there then your flashtool is not completely synced
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
I have that file. But if i try to flash device key with the latest flashtool I get the same result as [MENTION=8023946]DanielMode[/MENTION] get with any version: no default.fsc prompt and:

28/030/2017 09:30:34 - INFO - Device connected in flash mode

28/030/2017 09:30:34 - INFO - Opening device for R/W

28/030/2017 09:30:35 - INFO - Reading device information

28/030/2017 09:30:35 - INFO - Phone ready for flashmode operations.

28/030/2017 09:30:35 - INFO - Opening TA partition 2

28/030/2017 09:30:35 - INFO - Current device : F5321 - BH903GE75P - 1304-9586_R3C - 1302-7793_34.2.A.0.266 - GENERIC_34.2.A.0.273

28/030/2017 09:30:35 - INFO - Closing TA partition

28/030/2017 09:30:35 - INFO - Start Flashing

28/030/2017 09:30:35 - INFO - No loader in the bundle. Searching for one

28/030/2017 09:30:35 - INFO - No matching loader found

28/030/2017 09:30:35 - WARN - No loader found or set manually. Skipping loader

28/030/2017 09:30:35 - INFO - Loader : S1_Root_d553 - Version : 1299-4841_S1_Boot_MSM8956_LA1.0.1_N_158 / Boot version : 1299-4841_S1_Boot_MSM8956_LA1.0.1_N_158 / Bootloader status : ROOTED

28/030/2017 09:30:35 - INFO - Max packet size set to 4M

28/030/2017 09:30:35 - INFO - USB buffer size set to 512K

28/030/2017 09:30:36 - INFO - No flash script found.

28/030/2017 09:30:36 - INFO - Flash script is mandatory. Closing session

28/030/2017 09:30:36 - INFO - Ending flash session

28/030/2017 09:30:36 - INFO - Flashing finished.

28/030/2017 09:30:36 - INFO - Please unplug and start your phone

28/030/2017 09:30:36 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings

28/030/2017 09:30:36 - INFO - Device connected in flash mode

If I flash it with the old version of flashtool I get a default.fsc prompt and it only works if I say no to it then a few bytes are written to the ta partition from dk.ta and it ends. if no prompt are shown or it works with latest version of flashtool I can not say. I can say what worked for me and a few others. as I said I really wish I had another idea and could help, anyway I think it's about time I get of the bus. :)

If I stumble across something I will try let you know. if you figure it out please try let us know. =)

EDIT : BTW those log files you show where it does seem to write some bytes to the TA partition looks like if I answer yes to the default.fsc. Not very usable but odd indeed. I actually thought they were written but the service menu told otherwise.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DanielMode:
first to say again i always appreciate your help very mutch guys !!

yes i did and tried same u explained on both (3) pc's still the same....no ? about fsc script

and than Flashtool says:

No flash script found. using 0.9.18 flash engine

and that engin should't working at the new devices

i looked into some folders at C:\Users\*******\.flashTool\devices\ and there are more files in some folders

example: in folder F33xx are 7 files default.fsc and F33XX.properties and 5 other F3311....fsc files

just at my F53xx folder there are 2 files only F53XX.properties and 34.fsc

is that same at your folders??

i copied the 34.fsc in every folder i thought but Flashtool still can't find it at flashing process

while it keeps coming up with that message: No flash script found. using 0.9.18 flash engine

BTW:

u said this

but i have no clue where that has to be now
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
Look you have to copy F53xx folder in mydevices folder, not only the file

Also try this, rename 34.fc to default.fsc and then add it to the file you are trying to flash (add it with 7z or winrar)

That might work
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DanielMode:
https://xdaforums.com/showpost.php?p=70778691&postcount=1879

another opinion about my issue ;)

and i did copie the whole folder too
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
guys anyone know if the development for this kernel is going on or droped?!