yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Tablet Compact Original Android Developm] NTRNSTR:
Working great on my sgp611, battery life and camera are not as good as stock but everything else about this rom is great:D. Thank you so much for bringing N to our devices:).

Notes:

When I first booted it up it told me that my SD card was corrupt but after formatting it in settings it works fine.

Root works using Magisk and phh superuser (titanium backup and adaway can't get root for some reason but everything else works fine)
[Xperia Z3 Tablet Compact Original Android Developm] wulfiss:
i've formatted as external.

I tried and now I watching for how long it works.

Thanks
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
Yeah, AdAway does not work for me either. It seems it does not like systemless mode as much. For the time being I am pushing the hosts file by hand.

The SD-Card corrupted message is normal if you have used it as internal storage before. As Android encrypts the SD then, it cannot be read if you install a new system and the keys to read it are overwritten. This leads to android seeing it as corrupt.
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
This will be hard to achive, as we need all the drm related files from a 6.0.1 Stock ROM (codecs, permission xml, manager applications, frameworks) and all these need to work on 7.1. Then we need a hacked credmgr, so we can trick the Android DRM system into thinking our keys are still intact (which they are not, as the BL is unlocked). I may give it a quick stab at the weekend, but I would not count on me succeeding :(
[Xperia Z3 Tablet Compact Original Android Developm] NTRNSTR:
I started using adfree since it also patches the host file but works on this rom, you could give that a shot. The card was formatted as portable storage on the stock sony rom and not internal storage and I had the same problem on Paranoid Android 6.0 but reformatting in settings fixes it so it's not really a problem.
[Xperia Z3 Tablet Compact Original Android Developm] ux50jp:
Just installed Adfree, and it works. Thanks.
[Xperia Z3 Tablet Compact Original Android Developm] l.m.prowse:
I've just stumbled across this ROM for a completely different device, but, a few of my other devices didn't have Google play movies working due to the widevine blobs being incompatible with android 7.0, this ROM claims that it has it working, the developers were pointed in this direction and they now have Google play movies working perfectly on android 7.0/7.1 :) may be nothing but might be worth a look :)

http://xdaforums.com/showthread.php?t=3448481
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
I got it to work. Now I just need to repackage it right.
[Xperia Z3 Tablet Compact Original Android Developm] l.m.prowse:
You are awesome! :D
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
Your card is UHS-I high speed card?

This is "probably" kernel related issue.

Insert SD card and if shows "corrupt",

show dmesg and cat /sys/kernel/debug/mmc2/ios.
[Xperia Z3 Tablet Compact Original Android Developm] wulfiss:
yes, it is a sd USH-I.

here is the "cat /sys/kernel/debug/mmc2/ios" and dmesg.
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
Okey,

Your card is

Kernel error happend this line

So cannot read SD card.

If reduce bus speed DDR50 to SDR25 in kernel code, SD read error will disappear.

But I don't know fundamental fix.
[Xperia Z3 Tablet Compact Original Android Developm] nguyenlucky:
Is there a way to force unlock the bootloader in order to install this ROM (bootloader unlock allowed: no, thanks O2) :p
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
New V3 build is here.

If you come from an earlier version of this ROM it should suffice to only flash boot.img and system.img. Afterwards you need to reflash Superuser as well as GApps again (There are new opengapps available for today!).

Changelog:

08.11.2016 - V3:

- Integrated newest Android Version NDE63X from earlier today.

- Integrated and enabled WideVine DRM, so that Google Play Movies is now working.

- Custom kernel with additional zzmoove governer and adreno_idler patches to lengthen battery life

- Fixes and Enhancements here and there

Tips for battery life:

I installed Naptime to trigger deep doze as soon as the tablet goes to sleep (needs root). I also enabled zzmoove cpu gov and noop scheduler in the kernel options. Because of the high display brightness, I installed Lux Lite, to dim the screen if it is darker. This leads to me getting standby battery consumption of around 1.2% per hour (measured with GSam Battery Monitor) which is nearly the same amount I got with stock.
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
Sorry, I think no dice :( If the bootloader is hard locked, the chances of getting it unlocked are pretty slim.
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
New build is here. Now also for SGP611. Please test and let me know if WideVine works for you.
[Xperia Z3 Tablet Compact Original Android Developm] l.m.prowse:
Just did a clean flash just to be safe, and it google play movies works perfectly, streaming and downloading. Thank you! :)

One thing, its not really important to me as I never use a tablet to take pictures, but no aosp ROMs for this device are able to focus using the back camera, it only works on stock ROMs, any ideas on this? Its not an issue for me, but just curious :)
[Xperia Z3 Tablet Compact Original Android Developm] ux50jp:
New V3 battery life is perfect so far.

Everything works great. Thank you so much for your effort.
[Xperia Z3 Tablet Compact Original Android Developm] ux50jp:
Is FM radio working?
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
For me it works, but I just saw, that I made changes to it, that have not ended up in the ROM images. I am looking into it. Sorry.
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
It seems, me getting it to work was just a fluke when I tried it on the first release. I moved it to not working in the opening post and am now investigating on how to fix it. I also opened a bug report with sony, maybe they can help. Sorry for the inconvenience. I am trying to get it to work ASAP.
[Xperia Z3 Tablet Compact Original Android Developm] thommcn:
I'm also getting full system crashes, playing Solitairecg and Twidere (twitter) have both caused full reboots. I didn't do a full wipe from v2 to v3 instead I fastbooted boot.img & system.img then wiped the two caches in twrp. That was a couple of days ago, all was fine until today.

FM radio doesn't work for me either, but I don't use the app anyway.
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
So on V2 the crashes did not happen? Or didn't they happen on V3 also, but suddenly started? Any way to reproduce them specifically? I didn't wipe either from V2 to V3, but I did not have any crashes. I will look up the apps you mentioned and play around a bit. If you happen to catch a logcat of a crash it would be most helpful.

EDIT: Also if you can reproduce easy. Could you try flashing the boot.img from V2 only and see if it makes any difference. So I can be sure that my patches to the kernel have not caused this.
[Xperia Z3 Tablet Compact Original Android Developm] thommcn:
I can't remember if v2 was an upgrade from v1. I didn't have any issues with v1 or 2. It could also be SuperSU it's beta software but it hasn't been a problem with v1 or 2. I also use fdroid instead of gapps. When I've the time I'll switch to Magisk-V8 and phh-SuperUser so we're all on the same playing field (I'm changing distros on my computer tomorrow).
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
I uploaded vannilla boot images, so you can test the kernel from sony without my modifications. If this fixes your crashes, I investigate further.

If anyone else experiences crashes with the newest V3, please try these bootimages as well and get back to me.

boot-scorpion-v3-vanilla.img

boot-scorpion_windy-v3-vanilla.img
[Xperia Z3 Tablet Compact Original Android Developm] thommcn:
I flashed the vanilla boot image this morning, no hiccups so far.
[Xperia Z3 Tablet Compact Original Android Developm] ux50jp:
With V3, Lux Lite was blocking apk installation and also causing SuperSu misbehavior.

But I am not sure this happens just for my SGP621.

ps. I have just tested with v3-vanila, and Lux Lite blocked apk installation.

So I assume SuperSu misbehaves, too.
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
This has nothing to do with the kernel. I guess this was a change in the updated Android system. It is not Lux Lite blocking anything, it is the Android system, which wants to spare you from harm. As Lux Lite is able to draw over other Application and display whatever it want, android security disables clicking on anything sensitive (like installing an App or accessing your Banking App) while an overlay App is active. This is because an overlay App with malicious intent could overlay the list of permissions with something that seems safe to you, and you would install it not knowing what permissions it really got. In the last version Lux Lite seems to have detected this somehow and disabled itself (or Android did, I dont know), but in the current version it seems to be broken (or works as designed again, IDK).
[Xperia Z3 Tablet Compact Original Android Developm] NTRNSTR:
Notes after testing v3 for a while

I did a clean install of V3 and after formatting the SD card as portable on the first boot it hasn't corrupted since, this compared to V2 where it would get corrupted very often after reboots.

Sometimes the cpu usage increases to around 90% and stays that way until a reboot, not sure what's causing that.

Msm_OT3 (I think) kernel wake lock after fully charging but is also fixed by a reboot.

Sometimes the tablet will freeze and do a soft reboot.

Titanium backup and AdAway work with the latest version of phh superuser.
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
Thank you for your feedback. Have you had the wakelock and the 90% cpu and freezing issues on the V2 kernel as well? Have you enabled the zzmoove cpu governor? Have you tried using the vanilla boot images from here to see if that fixes any of those things? If not, could you try and get back to me, so I can get to the bottom of these problems?
[Xperia Z3 Tablet Compact Original Android Developm] Bladeinger:
First of all, thank you very much, lowtraxx, for bringing the Nougat experience to our devices. :good:

I installed the v.3 a few days ago on my SGP611. Clean install according to your advice in first post.

In general, the build runs smooth and quickly, but I encounter between 5 - 10 random reboots a day.

Unfortunately, I can't see any regularity in the reboots. Sometimes they happen when I am playing, sometimes while I am browsing the web and even when I am simply having a look in the settings.

If I can do anything to find out what is the reason for the reboots, please let me know.

Ok, just saw your post from tonight and flashed the boot image with the kernel without modifications. Will report back.
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
Okay, thank you for testing. I really want to figure out what is causing those issues. I myself haven't had a single reboot or freeze since I started using V3 on the 8th. But I am tinkering with it all the time. Hopefully the vanilla boot image fixes the issues for you. If so, I will post them on the main page and add different customised kernels for the users to test also, so I can get broader feedback on changes I make and early feedback. FM Radio and better battery for example won't be possible with the default kernel from Sony (as long as they do not incorporate it), because those things need custom kernel patches to work.
[Xperia Z3 Tablet Compact Original Android Developm] Bladeinger:
Unfortunately the same problems with random reboots with the unmodified kernel/bootloader... :(

And last night I saw the first reboot while the device was simply lying on the table, screen was already off for some time.
[Xperia Z3 Tablet Compact Original Android Developm] thommcn:
Random reboots are back. Installed everything fresh, switched to Phh's superuser http://xdaforums.com/moto-x-play/general/switching-supersu-to-phhs-su-t3495080 and switched to Aptoide from F-droid to see if that has any significance. It crashed first on V3 rom then V3 vanilla boot image.
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
I am very sorry to hear that :( It would be very helpful if any of you guys could get a logcat of a case where the device reboots. Attach it to your computer and do an

adb logcat

Then try to reproduce a crash or reboot and post the output here. At the moment I am totally in the dark on why this would happen on your devices and not on mine. I used the normal build the whole day yesterday and the vanilla the whole day today and did not have a single problem.

One last question that may shed light on the issue: On which ROM were you before? Did you install the latest stock rom before you installed mine? Maybe it is an issue with an older bootloader or radio image, though I find it highly unlikely.
[Xperia Z3 Tablet Compact Original Android Developm] serialkillazzs:
Any raw picture file support in this. Android Lightroom now supports it, have a sony a6000 that would like to use. If not maybe sell on for a raw supported device
[Xperia Z3 Tablet Compact Original Android Developm] thommcn:
I've a logcat but it's post reboot and I haven't be able to make it crash again.
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
Just opened the ARW files from my Alpha 6000 with no problem. Show perfect in the included Gallery App.
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
That does not help I am afraid. I would need a logcat while it is crashing, so I can see where the problem lies. Can you plug it in, start the logcat and play around with it and do things that you did while it crashed the most. Maybe we get lucky... It would also be really helpful if you could answer the questions about the last ROM you used and if you came from latest stock. Thanks again for your patience!
[Xperia Z3 Tablet Compact Original Android Developm] thommcn:
I now have aLogcat root installed and running on my tablet so I should catch the next crash.
[Xperia Z3 Tablet Compact Original Android Developm] NTRNSTR:
I came from the latest stock which was 6.0.1 from April I think and have the crashes. The device doesn't fully reboot but just does a soft reboot, one thing I noticed is that it crashed right after I applied the zzmoove governor and when it rebooted it was still applies even though I hadn't yet enabled apply on boot. I'm still checking on the wakelocks and cpu spikes. On the bright side no SD corrupts so far:fingers-crossed:.
[Xperia Z3 Tablet Compact Original Android Developm] serialkillazzs:
What about raw editing in Lightroom app
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
Yes it works. Here are the Screenshots to prove it ;)
[Xperia Z3 Tablet Compact Original Android Developm] ux50jp:
After uninstalled Lux Lite, I don't have even a single soft reboot for the past 2.5 days of heavy use.

And the battery life is excellent during standby(enabled zzmoove & noop, +Naptime).
[Xperia Z3 Tablet Compact Original Android Developm] bogdaniux:
I never installed Lux Lite, and I still have random reboots. Sometimes in minutes, sometimes after 16h. Tried both boot.img.

And I could never make it recognize the microsd(128GB evo+). Corrupted. Some say that it is so because I left it inside while unlocking the bootloader and that somehow it changed the size. I cannot tell... I tried reinitializing, deleting partition and recreating it. Used AParted mostly. Also TWRP doesn't detect it. Actually, if I boot to recovery while the microsd is in, TWRP freezes until I remove the card. If I stick it in after recovery has booted, then 0MB. Nothing worked. EVERY other microsd works in my tablet, and my microsd works in ALL other devices. Just this combination doesn't work. Pretty frustrating.
[Xperia Z3 Tablet Compact Original Android Developm] NTRNSTR:
How do I enable noop?
[Xperia Z3 Tablet Compact Original Android Developm] Bladeinger:
I came from 5.1.1 Stock/Rooted, (23.4.A.1.264).

Doing a logcat will be difficult, as the reboots are absolutely unpredictable.

Sometimes 3 or 4 reboots per hour, sometimes half a day without any problem...
[Xperia Z3 Tablet Compact Original Android Developm] ux50jp:
Just install Kernel Auditor and change the settings.

---------- Post added at 10:38 AM ---------- Previous post was at 10:23 AM ----------

I have exactly the same problem from the beginning with this kernel and twrp combination. Initialized with Ubuntu, W10, Mac, SD manufacturer's fix & formatter but no luck.:crying: I did everything I can think of...and still thinking:cool:
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
Could the people who have reboot issues try installing my boot image and enable zzmoove cpufreq governor? Install Kernel Toolkit or Kernel Auditor and set it as default. If that does not help, try also setting noop as default I/O scheduler. I have had not a single crash since I started using V3 and I had both of them set since the beginning.

Earlier today I did a clean flash of V3. I will not change anything kernel related and just use it as such, in the hopes that I can reproduce crashes or reboots and finally figure out, where they come from.
[Xperia Z3 Tablet Compact Original Android Developm] Bladeinger:
As the reboots were the same with the unmodified boot image, I reinstalled the modified one this morning and tried to get a logcat from a reboot.

Since now (after about 8 hours) not a single reboot - devil is a squirrel, as we say in Germany... ;)

I just set the governor to zzmove, according to your recommendation.
[Xperia Z3 Tablet Compact Original Android Developm] thommcn:
Must be murphy's law but I have no reboots.

Previously I came from Paranoid Android to version 1, upgraded to 2 then to version 3 (scorpion_windy-nougat-7.1-v3.zip) then loads of reboots.

This time I installed the latest cyanogenmod nightly (cm-12.1-20161016-NIGHTLY-scorpion_windy.zip) then installed scorpion_windy-nougat-7.1-v3.zip, installed all my apps, adb logcat to my computer and waited to see what I could do to make it crash - still waiting :)
[Xperia Z3 Tablet Compact Original Android Developm] Bladeinger:
Yes, it's really weird.

Since I switched back to the modified boot.img, after one day testing the unmodified one, I also didn't have a single reboot (for 24 hours now).

Is it possible, that simply switching the bootimages back and forth solves the problem? Sounds crazy to me... :silly:
[Xperia Z3 Tablet Compact Original Android Developm] NTRNSTR:
One reboot so far after enabling noop and zzmoove, on a clean install of v3. Still have that weird kernel wake lock after a full charge though.
[Xperia Z3 Tablet Compact Original Android Developm] bogdaniux:
Can't seem to be able to provoke a reboot while charging, even USB charging. I played today for hours while adb logcat was waiting. Nothing. Also, I wasn't able to get a crash when battery was over 50%. I find that interesting. Is it the same for you guys?
[Xperia Z3 Tablet Compact Original Android Developm] Bladeinger:
No, for me it was definitely not like this.

While my Tab had the reboot issue, it also rebooted while charging and also when battery was over 50%.

The reboots stopped after switching back to the modified boot.img and trying to do a logcat from a reboot.

Now 3 days without a reboot, one day with interactive, two days with zzmove. So the problem seems also not to be governor-related.
[Xperia Z3 Tablet Compact Original Android Developm] thommcn:
I think why we're getting random reboots because we're installing this rom without wiping the device before install. If we're installing a custom rom in TWRP the most stable route is to: wipe -> advanced wipe -> select Dalvik, System, Cache, Data and then Swipe to Wipe. Then we would go to Install and install our rom ie. aicp, omnirom and so on.

http://androidforums.com/threads/guide-how-to-flash-a-nexus-factory-image-manually.706533/

This is what I did this morning. I put my tablet in boot mode and executed the following commands.

Wipe

fastboot erase boot

fastboot erase cache

fastboot erase recovery

fastboot erase system

fastboot erase userdata

Flashing:

fastboot flash boot boot.img

fastboot reboot-bootloader

fastboot flash system system.img

fastboot flash boot boot.img

fastboot flash userdata userdata.img

fastboot flash FOTAKernel twrp-3.0.2-0-scorpion_windy.img

If only updating your device, flash boot.img and system.img

Then before your device boots, go in twrp, -> wipe -> advanced wipe -> select Dalvik, Cache and then Swipe to Wipe. Then Reboot System.
[Xperia Z3 Tablet Compact Original Android Developm] thommcn:
I did all the stuff I mentioned in my previous post, just booted it for the first time and it's just crashed after making a simple language change from U.S. English to U.K. English. I hadn't even got around to hook it for an adb logcat.
[Xperia Z3 Tablet Compact Original Android Developm] michael_hamada:
How to update?

[MENTION=615507]lowtraxx[/MENTION];

Fist of all, THX so much for your great work. It's so amazing and I haven't imagined I can run Nougat on my old SGP611.

Honestly, the ROM is very simple compared with CM14, but it's ok and I love it.

I haven't encountered serious issue so far, but I wonder how can I play around with next V4?

Should I do same procedure again? Boot PC, flash "img" using fastboot, flash TWRP, get root and reinstall apps all over again?:confused:

My only hope is we could have the version which is TWRP flashable like CM and so on...so that we won't need to reinstall apps.:fingers-crossed:

Anyway, I have to thank you again, lowtraxx. You are the Savior! :good:
[Xperia Z3 Tablet Compact Original Android Developm] thommcn:
To upgrade from V3 to V4 all you need to do is repeat part of the initial install process. Extract the boot.img and system.img files and flash them over to your tablet.

fastboot flash boot boot.img

fastboot flash system system.img

Then reboot into TWRP recovery, go to Wipe, then to Advanced Wipe, select Dalvik, Cache and then Swipe to Wipe. Then Reboot System.
[Xperia Z3 Tablet Compact Original Android Developm] michael_hamada:
THX mate;

I'm so glad to hear that!

I thought flashing by 'fastboot flash' process includes somewhat like re-partitioning with *.img so that I must flash boot/system/data whole thing.

Now I can see that 'fastboot flash (only) system.img' is much like flashing rom.zip by TERP without 'wipe data'.

THX!
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
Sorry to hear that it still does crash on you :( Without logs my only idea that is left is, that as you are not using GApps, it is related to the widevine codecs having problems without those.

[MENTION=4199191]thommcn[/MENTION] is right, but do not forget you also need to reflash GApps (if you use them) and all other modifications to /system you have made if you flash a new system.img, otherwise you end up without them ;) Also if you flash a new boot.img you need to reflash Magisk and Superuser (if you use them). But as long as you do NOT flash userdata.img, your data should be safe ;)
[Xperia Z3 Tablet Compact Original Android Developm] takeoverkids:
[MENTION=615507]lowtraxx[/MENTION]

This is my first post on here,

and just to say a million thanks to you!

You did an amazing job!

ThanksThanksThanks.!
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
V4 is here :)

New Update is here: 18.11.2016 - V4:

- Integrated newest Android Patches from Sony and Google.

- New binaries from qcom (camera, sensors, display, ...)

- Custom kernel with additional fixes, FMRadio patches (not working yet) and zen I/O scheduler

- Fixes and Enhancements here and there

I tested functionality on my SGP621. Everything seems to work fine. SGP621 and SGP611 images are online now.