yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S General] Andreid_su:
Bootloader...

Hello, ( sorry newbie nere) I have a SM-T700 on 6.0.1, these bootloaders above listed... i kind of assume once flashed, the device has an unlocked bootloader.... right?

Does is matter is the device is rooted or not? i want to root it and i seem to get conflicting advices... i read that the bootloader should be unlocked first and in other instances it should be rooted before unlocking the bootloader... hence my confusion...

Thank you

PS: my ultimate goal is to be able to move apps off internal to SD-card, and learn about fixing Android apps too.
[Galaxy Tab S General] ashyx:
Your device doesn't have a locked bootloader.
[Galaxy Tab S General] Andreid_su:
Thank you! lol! that took care of it ;)

now i am rooted, have a 120G sd-card partitioned 93.75GB ( exFat) / 26GB(Ext2) .

The exFat seems fine, but the Ext2 is reported as corrupt and does not mount, i tried to reformat it but have not redone partition yet. Does the tool matter? i think i created the partition with Win10 tools, formated the exFat with it, then went to another tool to format the unallocated into Ext2.

I am hoping to have the ext2 "adopted" and mounted as internal storage for apps.
[Galaxy Tab S General] ashyx:
Don't use a tool to do it. Use the native partition command of your device.
[Galaxy Tab S General] Andreid_su:
Thanks... done, no error showing.

i moved an app to external storage... how can i confirm that the sd-card ext2 partion is being used? because it "feels" like it is using the exFat.

In settings, general, storage, i see internal; sd-card, and the size of it matches the exFat partition... the ext2 partition is not showing anywhere, but i know it is there.

for the command "pm set-install-location"... o-auto; 1-internal; 2-external ..... is external the exFat?

because if my ext2 partition is useless... i will get rid of it and only use the exFat.... unless there is a good reason to have it... ;)
[Sprint Note 7  Questions & Answers] akikhia:
Hi all,

Tried figuring out how to unroot the note 7 but no luck

samsung plus is detecting it and i cannot download updates

I only rooted so i can unlock the phone

any help?

SOLVED:

http://xdaforums.com/sprint-note-7/how-to/sm-n930p-stock-odin-firmware-t3444733

Launched ODIN and did only AP first, phone crashed and had a strange error screen. Then did the other three and the phone asked for a factory reset then started working.

The unlock STAYED

The device is able to get updates and everything seems to work fine including Samsung Pay

Only issue is that the hotspot does not show in the settings at all. All hotspot apps fail.
[Sprint Note 7  Questions & Answers] akikhia:
Also, does anyone know if the unlock will hold after returning to stock? Considering it's probably a soft unlock.

I want to be able to use all samsung services normally. as well as download updates and install them.

Thanks!
[Xperia Z5 Compact Android Development] agnath18:
============================={Update}{Version 4}=================================

***Fixed Bootloop On Z5 Premium

***Better Battery Life

***Advanced Thermal Configuration

***Updated SuperSu

***Updated BusyBox

***Updated DRM Patch

***Fixed Minor Bugs

============================={Update}{Version 3}=================================

***Added Support For Xperia Z5 Premium

***Fixed Screen Flickering Issue On ZP

***Optimized Kernel Size

***Updated CPU Optimizer

***Updated Thermal Driver

============================={Update}{Version 2}=================================

***Fixed all bugs of twrp.

***Fixed all bugs of kernel.

***Improved boot time.

***Kernel is now pure and very fast.

***Added CPU optimizer for better battery life (I guarantee won't affect performance)

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

Customized Stock Kernel

This is a modified/customized kernel for the firmware 32.2.A.0.305 - 6.0.1 .

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

****************************************Features****************************************

*** Thermal Manager

*** Disabled Sony RIC

*** CPU Optimizer

*** Disabled DM-VERITY

*** Added Root Support

*** Added DRM Fix

*** Added Busybox Support

*** Added TWRP Recovery

**************************************How To Install?*************************************

** Download The Zip From The Google Drive.

** Extract The Zip File And Run The Kernel Flasher!

Note : Kernel Flasher Has Some Problem So Uploaded The Boot Images Itself.

Install The Images Using :

fastboot flash boot boot.img

Note : ADB And FastBoot Should Be Installed On Your PC!

**************************************Downloads*************************************

Google Drive

MOD EDIT: no links to source

***************************************************************************************************

Please Hit Thanks If Helped :o

Thank You! :o

****************************************************************************************************
[Xperia Z5 Compact Android Development] Minn14:
Do I need to unlock bootloader first? I have stock firmware 32.2.A.0.305. I don't want to back up my DRM, just want to have root access.
[Xperia Z5 Compact Android Development] agnath18:
Well, I think it is not possible to root without unlocking the bootloader. It is recommended to backup ta partition. Unless you backup the ta partition you will not be able to use x reality engine,software updates etc..

I don't know whether a prerooted firmware can be used to root without unlocking the bootloader.
[Xperia Z5 Compact Android Development] pandu.negara:
can i install TWRP with this kernel??
[Xperia Z5 Compact Android Development] agnath18:
I hope so.
[Xperia Z5 Compact Android Development] harry_turtle:
You can install TWRP with every kernel.

---------- Post added at 03:02 PM ---------- Previous post was at 02:24 PM ----------

1. No exploit has been found, you indeed need to unlock BL to gain root access. You will lose usage of x reality engine etc once unlocked.

2. But, you are able to use x reality engine etc. as long as the DRM fix is in place in new kernel.

3. You cannot use anything else than official firmware as long as the bootloader is locked.
[Xperia Z5 Compact Android Development] agnath18:
Now you don't have to install twrp manually. I have merged recovery with the kernel. :o

Download the same from attachements.

Thank You! :)
[Xperia Z5 Compact Android Development] paq1170:
HELP

Thanks Dev for all ur hard work. I am coming from a Htc One M8, rooting is very different now. Pls house help me out;

My xperia isE5803 on. 305, locked BL, unrooted. If i want root i just have to unlock BL and instal Kernel right? No need to revert back to lollipop {root} b4 installing. 305 then root again?

Pls can someone be so kind to give me steps. Dont want to loose d Sony features and updates. But need root so i dont feel like an i-sheep.
[Xperia Z5 Compact Android Development] agnath18:
If you have pc and teamviewer installed then i will do the rest.

heptyle@gmail.com
[Xperia Z5 Compact Android Development] TheEndHK:
Not sure the backup TA tool works or not in MM, if not working you'll need down to LP first.

Okay, if you can backup your TA in 305, then yes, lock bl via Sony offical unlock site and flash the elf kernel in this thread with flashtool. Remember to flash the supersu in twrp too.
[Xperia Z5 Compact Android Development] agnath18:
I think it is not possible to backup TA on 305 because the ta backup tool only supports LP kernel.

You don't have to flash supersu because the kernel contains the latest supersu build.
[Xperia Z5 Compact Android Development] TheEndHK:
If you don't care void warranty or come with no warranty, you can just unlock the BL now.

http://www.xperiablog.net/2015/03/17/guide-to-installing-xperia-lollipop-using-xperifirm-and-flashtool/

If you need to keep the warranty, you'll need to run XperiFirm to download any 152/200 firmware and follow this guide to create the image to flash.
[Xperia Z5 Compact Android Development] agnath18:
Did anyone experience any bug in the kernel?
[Xperia Z5 Compact Android Development] TheEndHK:
installing your kernel now probably need a day or two to tell any problem from your kernel or 305
[Xperia Z5 Compact Android Development] agnath18:
Ok,Thank You!
[Xperia Z5 Compact Android Development] TheEndHK:
Early testing showed no problem. DRM patched and twrp working fine but default set at enforcing mode, can you set the kernel to permissive mode?

OMG, opencamera can't recording 4K video(actually FHD seems not work too) on 305 while no problem on 224/253. I've to roll back and stick with XPower V3 now.
[Xperia Z5 Compact Android Development] ric69:
It would be so nice if you could give us the complete rom to be flashed via twrp :p I don't have a pc
[Xperia Z5 Compact Android Development] sheraro:
is xposed integrated as well ? would be nice to have all the stuff system-less like supersu
[Xperia Z5 Compact Android Development] agnath18:
Nope! Xposed has not been integrated. :(
[Xperia Z5 Compact Android Development] TheEndHK:
You can just flash the SuperSU+Aroma+2.78-SR1+v3.zip in twrp, it got options to pick system mode or system-less mode.
[Xperia Z5 Compact Android Development] sheraro:
was talking about xposed
[Xperia Z5 Compact Android Development] tuanck2004:
heptyle plz - tks

whats different between your kernel and kernel_v2?

is your kernel available to Z5P e6883?
[Xperia Z5 Compact Android Development] agnath18:
The kernel that was uploaded first does not have twrp recovery and the second attachment that is kernel_v2 has twrp recovery. The kernel only supports z5c. If you can give me the kernel.sin of E6883 then i shall provide you the customised kernel of your version.

Thank You! :)
[Xperia Z5 Compact Android Development] tuanck2004:
thank you very much for your help and quickly repply :)

this is my the kernel.sin from FW E6883_32.2.A.0.305_1299-1308_R9C

https://www.mediafire.com/?v4d50osv21rf4jw

I also need TWRP :)
[Xperia Z5 Compact Android Development] agnath18:
Thank You!

Will let you know once the kernel is ready. :)
[Xperia Z5 Compact Android Development] agnath18:
I have updated the thread. You can now download the kernel from the attachments .

If you don't know how to flash .elf then please read the instructions.

Thank You! :o
[Xperia Z5 Compact Android Development] tuanck2004:
Kernel_v3 (E6883) works fine for me

you are awesome :fingers-crossed:

I just tested:

- TWRP - OK

- superSU - OK

- no problem yet

thank you again :)
[Xperia Z5 Compact Android Development] agnath18:
Most Welcome! :o
[Xperia Z5 Compact Android Development] agnath18:
I will make a detailed guide regarding the same. Will let you know once posted. Thank You! :)
[Xperia Z5 Compact Android Development] mickael91210:
Hello,

If I'm in Stock ROM MM (6.0.1) with Locked BL how can I backuo my TA partition to unlock BL?

This kernel can be directly use to root .305 stock ROM?

Thanks.
[Xperia Z5 Compact Android Development] agnath18:
I am creating a detailed guide regarding the same. Will let you know once ready. Thank You! :o
[Xperia Z5 Compact Android Development] tuanck2004:
you should refer to this link first [during waiting heptyle]

http://xdaforums.com/z5-premium/development/stock-root-xperia-z5-premium-sony-stock-t3335974
[Xperia Z5 Compact Android Development] agnath18:
See The Post.

https://goo.gl/lDfjaK

Thank You! :)
[Xperia Z5 Compact Android Development] ric69:
I finally found a pc to flash .305 with your kernel, it's working thanks a lot :good:

One question : green bootanimation with "I decide, I choose ..." is it kernel related or is it only bootanimation in /System/Media ?
[Xperia Z5 Compact Android Development] agnath18:
Most Welcome! :o

Bootanimation is not related with kernel.

Bootlogo is related to kernel.

You can change bootanimation by

Replacing the bootanimation.zip from /System/Media. Also ensure to delete bootanimation.zip from /OEM/Media.

Thank You!
[Xperia Z5 Compact Android Development] ric69:
So it's original sony picture ?
[Xperia Z5 Compact Android Development] agnath18:
Didn't get it. Please can you elaborate.
[Xperia Z5 Compact Android Development] ric69:
This horrible green pic :p

Xposed is working too, but I have nothing in download section Edit no it's ok
[Xperia Z5 Compact Android Development] agnath18:
Is this bootanimation or bootlogo?

I think you are talking about Boot Logo..

To change that you will have to change the .rle file from kernel ramdisk. If you need i shall do the same.

Please confirm whether it is bootlogo or bootanimation. If the picture is static it is bootlogo else if it is moving it is bootanimation.

Thank You!
[Xperia Z5 Compact Android Development] ric69:
Yes at the end of boot animation or when I restart phone, ok so it's your pic ... sorry

I can live with this ... no prob
[Xperia Z5 Compact Android Development] agnath18:
I have not integrated any picture in the kernel. I think it's your carrier logo. I hope you are using official Sony rom,aren't you?

Can you shoot a video of your phone boot? So i better understand and might be able to rectify the issue.
[Xperia Z5 Compact Android Development] ric69:
Damned you are right ... it's carrier logo in Ireland as I downloaded 1299-9153-R1C / operator id IE :p
[Xperia Z5 Compact Android Development] agnath18:
:victory:

I think it can be disabled.

Can you send me the bootanimation.zip from /System/Media so that i can check whether the carrier logo is in bootanimation.
[Xperia Z5 Compact Android Development] ric69:
No don't waste your time with this, I tried to remove bootanimation and it's still there, soI will download customized ftf tomorrow,

Thank you so much :good:
[Xperia Z5 Compact Android Development] agnath18:
Thank You! :)
[Xperia Z5 Compact Android Development] sheraro:
can you tell us in details what's these 2 updates are for ? tks !
[Xperia Z5 Compact Android Development] zegovernator:
Hey, I'm currently using the 32.2.A.0.253 build rooted on stock kernel with TA backed up and DRM fixed.

I'm now wondering how I can update to the .305 build using your kernel for preserving root.

Do I update via OTA first (coming from rooted .253) and then flash your kernel?

Or should I download the update using XperiFirm, install it using Flashtool and then flash your kernel?

Thanks anyways ;)
[Xperia Z5 Compact Android Development] botanicfts:
so i think the best way is just install .ftf from xperifirm and then flash this kernel.. the fastest way :P
[Xperia Z5 Compact Android Development] agnath18:
CPU Optimizer

This is a feature extracted from Cyanogenmod.

Per-App Profile

By default the CPU governor will be in interactive mode. I have added a small tweak in the kernel that switches between different governer according to the app that you use. Suppose if you are running a game the governer is automatically switched in to Performance mode and if your phone is in idle the the governer goes to Powersave.

Thermal Driver

This enables the Qualcomm MSM-Thermal control from the thermal settings.

Thank You!

:)
[Xperia Z5 Compact Android Development] agnath18:
Yep! I think the same!
[Xperia Z5 Compact Android Development] TheEndHK:
I suggest to remove it if we run in performance mode we will all going to get X Compact soon bcoz of overheating and burn :D
[Xperia Z5 Compact Android Development] ric69:
I agree, it would be better to have 2 versions : stock or modded kernel :good:
[Xperia Z5 Compact Android Development] X-ITER:
Really awesome kernel! 3% at night(9h) in standby and all data off.Its first good result for me.On all others 253 custom kernels was 7-10% at night.

Kip it up!Good work!
[Xperia Z5 Compact Android Development] agnath18:
I agree! :laugh:
[Xperia Z5 Compact Android Development] harry_turtle:
I'm flashing v3 via Flashtool but I am not able to enter recovery.

I've flashed TWRP manually but now I lose root after each reboot. (Which makes sense)

What am I doing wrong?

Seems fine to me. Downloaded multiple times.
[Xperia Z5 Compact Android Development] agnath18:
You don't have to install twrp manually because the kernel has built in twrp recovery installed

Hope your problem is fixed

Thank You! :o.
[Xperia Z5 Compact Android Development] harry_turtle:
That's my exact problem. After flashing your kernel I am not able to enter TWRP.

As a solution I flashed it manually, but if I do that I lose root after each reboot.
[Xperia Z5 Compact Android Development] ric69:
4K was working here and >>XZ™ Camera Project<< is working too
[Xperia Z5 Compact Android Development] agnath18:
I will upload kernel without supersu and twrp integrated. Install TWRP and flash supersu manually using that kernel.
[Xperia Z5 Compact Android Development] agnath18:
Try this kernel!

https://goo.gl/QY7GsB

Hope this works!

Unfortunately this problem is not there for other users i think.

I hope your device is E5823. Isn't it?
[Xperia Z5 Compact Android Development] ric69:
Not sure it's kernel related, but podcast from music or video is not working here "no connection"
[Xperia Z5 Compact Android Development] agnath18:
Will look in to it and If it is kernel issue then i will try to fix it.

Thank You! :)
[Xperia Z5 Compact Android Development] ric69:
It seems to be an old problem of root ... not fixed afaik http://xdaforums.com/xperia-z5/help/podcasts-native-music-app-t3367041
[Xperia Z5 Compact Android Development] agnath18:
:svetius:
[Xperia Z5 Compact Android Development] SebastianAlejandro:
I have the same problem but my model is E5803, can you put another link download because the .exe doesn't work for me :( Thanks!.

Edit: the link download works, im the fool xD now im flashing and tell you if twrp works
[Xperia Z5 Compact Android Development] agnath18:
While downloading from datafilehost you have to untick the option "Download using download manager". Then you will get the zip file itself.

I can't confirm whether the kernel works for E5803. If you have the kernel.sin of E5803 firmware then i shall give you the modded version.

Try installing the kernel of E5823 it should work if not tell me.
[Xperia Z5 Compact Android Development] SebastianAlejandro:
Nothing, i flash the kernel modded and then flash twrp but doesn't work.

How i can give you the kernel.sin?

U mean this? h**ps://gyazo.com/05dfc2314e0b0b0e3566656180512328

---------- Post added at 02:18 PM ---------- Previous post was at 02:16 PM ----------

My kernel phone says: 3.10.84-perf-gf38969a

Builduser@BuildHost 1

Fri Sep 16 11:29:29 2016

It's yours?
[Xperia Z5 Compact Android Development] agnath18:
Yes,upload the kernel to datafilehost and sent me.

Never mind i will give you a another solution.
[Xperia Z5 Compact Android Development] SebastianAlejandro:
Oh i upload this in google drive. I share you the link but im now uploading to datafilehost for any problem.

Another thing: take your time, i wont be a trouble for you. But i appreciate so much what you're doing :).
[Xperia Z5 Compact Android Development] agnath18:
I like doing stuff like this so don't think you are a trouble for me. Will let you know once the kernel is ready!

Thank You ! :o
[Xperia Z5 Compact Android Development] agnath18:
Updated the thread for E5803 Models,Please see the thread.
[Xperia Z5 Compact Android Development] agnath18:
Updated the thread! :o
[Xperia Z5 Compact Android Development] harry_turtle:
I have E5823.

I do have root access but I cannot access recovery. (so kernelwrite is successful it seems)

I'm on customized DE .305

I've tried multiple writes, via manual fastboot and flashtool, and tried it as .img instead of .elf, but no success.
[Xperia Z5 Compact Android Development] agnath18:
I am also on. 305 and has E5823 but i don't have any problem accessing twrp. Try reinstalling the kernel.
[Xperia Z5 Compact Android Development] harry_turtle:
Which region? Let me try yours.
[Xperia Z5 Compact Android Development] agnath18:
I am on Customized AU.
[Xperia Z5 Compact Android Development] harry_turtle:
I got it. I have no idea if you caused it or what but..

Normally recovery is entered by pressing power + volume down, I can access it after flashing your kernel by pressing power + volume up....
[Xperia Z5 Compact Android Development] agnath18:
:rolleyes: :eek:
[Xperia Z5 Compact Android Development] adrianaisena:
Wow! Installed the kernel yesterday. Now battery life is awesome!! Thanks Man <3

Keep it up! :D
[Xperia Z5 Compact Android Development] ric69:
Hello Miracast is not working here
[Xperia Z5 Compact Android Development] agnath18:
Actually it is not a problem of kernel but of unlocked bootloader. It is very easy to fix this issue.

Go to :

/system/etc/wfdconfig.xml:

And change

... <ContentProtection> <Valid>1</Valid> ...

To :

... <ContentProtection> <Valid>0</Valid> ...

Next :

Go to :

/system/build.prop

Find this line :

persist.debug.wfd.enable=1

Under this line add:

persist.debug.wfd.appmonitoring=1

That's it.

Now reboot your device and check whether the problem is resolved.

Thank You! :)
[Xperia Z5 Compact Android Development] ric69:
Excellent thnx a ton, works perfect now
[Xperia Z5 Compact Android Development] mickael91210:
Thanks a lot for your help and your answers during all the day... I'm now on rooted .305 with your kernel...

THANKS THANKS THANKS....

If I can abuse again... Which version of xposed must I install? What is the necessary mod to change thermal monitoring? And I haven't still restore my ta partition. Is it mandatory or your kernel restore functions lost after unlocking bootloader?

Thanks again a lot

Envoyé de mon D5803 en utilisant Tapatalk
[Xperia Z5 Compact Android Development] agnath18:
Download Xposed Installer Apk From

https://goo.gl/cySGqM

And Download Xposed Flashable Zip From

https://goo.gl/mB9WFy

Install the apk and flash the zip file using twrp.

That's it.

Necessary mod for thermal has been already configured in the kernel so you don't have to make any changes.

You don't have to restore TA partition as the kernel restore all the lost functions during unlocking the bootloader.

Enjoy your device! :)
[Xperia Z5 Compact Android Development] mickael91210:
Thanks again.

I already found your package for xposed in the night after a little bit more search so it's already ok with xposed.

Can I ask you help to create my ftf file to restore ta partition in future because my computer said I have not the service to create this file with your command? Is it possible to send it in pm?

Thanks a lot

Envoyé de mon E5823 en utilisant Tapatalk
[Xperia Z5 Compact Android Development] agnath18:
Sent me the ta backup as PM. I will create the ftf and will sent it to you.

Thank You! :)
[Xperia Z5 Compact Android Development] mickael91210:
Thank you to you....

Envoyé de mon D5803 en utilisant Tapatalk
[Xperia Z5 Compact Android Development] agnath18:
Flash this file using Flashtool if you want to restore TA Partition and lock the bootloader. :)

https://goo.gl/RTFG3X

Note : This file is only for Michael's device.
[Xperia Z5 Compact Android Development] rich2007:
Is there a different between the - E5923 and E5803 kernel? I accidentally flashed E5823 on my E5803.
[Xperia Z5 Compact Android Development] agnath18:
I think it won't be a problem if the phone works/boot. If the phone boots/working then the kernel is compatible with E5803.

Else

There is a link of E5803 kernel in the thread.

You may flash it.
[Xperia Z5 Compact Android Development] rich2007:
Thanks for the quick response. Do I flash on top of the E5823 kernel?
[Xperia Z5 Compact Android Development] Dirt_2013:
Has anyone compared the battery life on the cores of the second and third version?

It seemed to me that the battery lives longer on version 2.
[Xperia Z5 Compact Android Development] ric69:
Can you share V2 ? It's no more in first post
[Xperia Z5 Compact Android Development] agnath18:
Friends, Version 4 is on the way.

Main Changes!

Adjusted thermal configuration to best.

Killed more bugs.

Much more battery life.

Improvements for CPU Optimizer.

Updated SuperSu.

Imporved Stability.

New GUI Installer (Helps Noobs For Installing Kernel Easily)

Will post it once the testing phase completes. Thank You! :)
[Xperia Z5 Compact Android Development] ponior:
Waiting:p
[Xperia Z5 Compact Android Development] gpdb:
Wow!

Waiting for V4