yashsingh1/xdaforums huggingface dataset:
[Xperia Z4 Tablet Android Development] Joao_L:
[MENTION=6336863]andralex8[/MENTION],

Sorry for the late reply. During the weekend I went back to stock and, later, tried your CM13 buid. In both cases the SIM card was successfully detected so have to assume it might be some fault on my side when I moved from my personally cooked AOSP to RR. :)

In any case I have some time right now and will re-flash RR. It's the right time as you have published a new build!

Thanks!
[Xperia Z4 Tablet Android Development] andralex8:
No problem.

I'm happy to hear it's working to you now :).
[Xperia Z4 Tablet Android Development] andralex8:
And now this should work ;).

https://www.androidfilehost.com/?fid=24591000424953586
[Xperia Z4 Tablet Android Development] alex009988:
Hi. Seems I've found a new bug.

File transfer works malfunctionly(Windows 10 and our tablet). It can copy files, but it can't copy and delete folders(from PC to microsd via USB). When a folder starts to copy, PC shows the message that the tablet stopped to respond or disconnected(don't remeb!er exactly). So please, check file transfer, especially with folders. Thank you!!!!
[Xperia Z4 Tablet Android Development] Joao_L:
Hi [MENTION=6336863]andralex8[/MENTION]

Quick feedback on my experience one week on since installing your latest version (released on 7 August):

- very stable and responsive; uaage pattern: multiple chrome tabs, intensive YouTube and Facebook / messenger apps. No FC and no hanging apps.

- one thing I notice is that the sound output is not very loud, forcing me to set the volume level quite high. Now I don't recall if this was the same in stock as only used it for around 1 week. Have you noticed this?

Thanks for the great work!
[Xperia Z4 Tablet Android Development] steevou:
Hello Joao_L,

the battery holds up well?

stamina works with this rom?

Thank you for your feedback.
[Xperia Z4 Tablet Android Development] alex009988:
1) yes

2) in aosp/cyonogenmode it is battery saver.
[Xperia Z4 Tablet Android Development] alex009988:
Well, I did some research on the problem. The point is when you want to update a folder with files, it's better to delete and copy it again imho. But when you delete it, files have actually remained on the card, at the same time, it looks like as if they deleted through windows explorer.

So the bug is it just can't delete folders in fact through the computer via USB, file transfer, but it can delete separate files.
[Xperia Z4 Tablet Android Development] andralex8:
Thanks for the feedback ! And sorry for the response delay.

I don't notice about the sound output ( the difference from the stock doesn't hit me but I may be wrong).

We currently use the acdb files (audio calibration database) and audio configurations from the stock rom, so I guess it should be the same.

There is maybe some possible tweaks to increase the volume a bit, i don't check that yet.
[Xperia Z4 Tablet Android Development] andralex8:
Oups, I didn't see your messages about this bug (I only saw the mail about the mention from Joao_L and quickly answer him).

Yes I already notice that bug (but I use essentially adb to copy files, so I didn't search a lot about it).

I will check that this week-end too :).
[Xperia Z4 Tablet Android Development] andralex8:
Update :) !

I didn't make any significant modification to the karin/karin_windy sources (I didn't have a lot of time and I'm focussing on an build with the new 1.3.3 kernel instead of 1.2.2).

So, I only updated the RR sources this time (5.7.2 -> 5.7.3).
[Xperia Z4 Tablet Android Development] alex009988:
Thanks, everything works fine, I think we can already call it stable. Recovery for 771 flashes fine.

I think I won't come back to stock rom, at least in the near future. No more flashes with flashtool, no lose of data. No a bug with YouTube backgraund xposed module.
[Xperia Z4 Tablet Android Development] AndroPlus:
Hi,

did you try to add these code to "on boot" section of init.kitakami.rc?

When I enabled OTG in TWRP, these codes are needed, but I couldn't find these in your source.

write /sys/module/qpnp_smbcharger_extension/parameters/id_polling_timeout 30000
write /sys/module/qpnp_smbcharger_extension/parameters/start_id_polling 1
[Xperia Z4 Tablet Android Development] andralex8:
Happy to hear that :).

I'm still waiting to have a working camera to call it beta.

No, I was hesitant to disable this switch on boot because I don't know the effect of keeping the usb power switch enable on the waterproof capability (I read somewhere that it's the reason of this switch).

But since I saw that this switch is not anymore there in the next 1.3.3 kernel, I think you're right and that it could be a good idea to disable it.

I just try to add this to init.kitakami.rc

write /sys/module/qpnp_smbcharger_extension/parameters/force_id_polling_on 1
write /sys/module/qpnp_smbcharger_extension/parameters/start_id_polling 1

(In my tests, force_id_polling_on disable the timeout after starting_id_polling and keep the switch on.)

And it work well, otg works directly without user intervention.

Thank you for your intervention :).
[Xperia Z4 Tablet Android Development] alex009988:
As far as I understand, it depends on aosp Sony source. Maybe it's better to write a letter to jerpelea and explain the problem. I'm sure he can help us(release fixed Sony aosp source for camera):) Maybe FM radio too)
[Xperia Z4 Tablet Android Development] andralex8:
Yes, it's not working because of the camera binaries (it don't only affects Z4 tablet, but nearly all the recents sony devices : Z5, Z3+, X,...).

Alin Jerpelea is aware of this and is actively working on the AOSP camera blobs. He already said that he will release the new blobs soon. And he cannot release the sources of the binaries because it's proprietary, so we just have to wait ;).

But I could ask about the fm radio :).
[Xperia Z4 Tablet Android Development] andralex8:
New update :).

I add the usb otg fix to disable the switch. Now you only have to plug the usb otg device and it should work directly.

Thanks [MENTION=5169444]AndroPlus[/MENTION].
[Xperia Z4 Tablet Android Development] alex009988:
Thanks, I checked it and it works. You've made it even better than on stock rom:)
[Xperia Z4 Tablet Android Development] alex009988:
Hi. I don't know what happend, but it seems two bugs have been found.

First of all, I can't update my game: war robots. Play store just crashes when downloading is finished

I think it's because the size of the game is more then 200mb. With xiaomi redmi note 2 it's OK.

I've tried to reinstalled play store with lucky patcher and open gapps even with wiping dalvik cash. Nothing helped.

Moreover, twrp for cm can't flashes opengapps, display blinks for one time and hangs. With androplus recovery it's OK.

If you don't mind, please try to install war robots in order to check if it is OK with big files from google store. Thanks in advance.
[Xperia Z4 Tablet Android Development] andralex8:
I see wath is the problem for TWRP, I had it with TWRP for karin_windy, it should be the missing of unzip, I'll fix that.

And I'll take a look to your game too.

[MENTION=5223331]txcLOL[/MENTION] , this is a build with the modification you asked for :

https://www.androidfilehost.com/?fid=24591000424959008

Can you tell me if it's ok for the YouTube problem?

Other point, new camera binaries are out :). But only for 1.3.3 kernel and there is still problems with this kernel (charging problems). But it's on the way ;).
[Xperia Z4 Tablet Android Development] txcLOL:
[MENTION=6336863]andralex8[/MENTION] no, even with factory reset it seems like its identical to the build before. Problem is caused by "ro.product.model" which has the value "Xperia Z4 Tablet". It needs to be changed to "SGP771" as it is in Sony's Stock ROM build.prop.
[Xperia Z4 Tablet Android Development] andralex8:
Yes, I understood that ;). I well changed the PRODUCT_MODEL option but it seem that because I only rebuild instead of making a clean build (it takes me 15min for a rebuild, and 3hours for a clean build), it used the previous value again. I will make a clean build to be sure :).
[Xperia Z4 Tablet Android Development] andralex8:
For me the installation complete without problem and I can launch the app (I didn't try it more). So I don't know where the problem come from with your tablet (maybe a problem with play store ?)
[Xperia Z4 Tablet Android Development] alex009988:
Thanks for the trying. At least, we found out that the problem is not common and it is only on my side. I think yes the problem is with play store. I use modded version from lucky patcher. On xiaomi redmI note 2 is also modded version but no problem. As for now, I installed the game from 4pda. What's more interesting, after as I flashed oppengapps with andro+ recovery and wiping dalvik cash, "the app" which requires modded play store still works as though opengapps haven't replaced it...

I'll check it again when a new version of your ROM appears, and definitely write it out if the problem would still persist.:)
[Xperia Z4 Tablet Android Development] andralex8:
I use the playstore from opengapps, no modded version.

[MENTION=5223331]txcLOL[/MENTION], this is a new clean build : https://www.androidfilehost.com/?fid=24591000424959212
[Xperia Z4 Tablet Android Development] txcLOL:
[MENTION=6336863]andralex8[/MENTION] it's fixed, thanks :)
[Xperia Z4 Tablet Android Development] dunkelfalke:
I have a strange problem after flashing this ROM on my SGP712.

If I connect to a 5 GHz WiFi then the tablet says that this WiFi doesn't have an internet connection. If I enable 2.4 GHz WiFi on my router and connect to it, then everything works fine.

Found something else: fast charging doesn't work.
[Xperia Z4 Tablet Android Development] andralex8:
I tested this now and I've got a problem with 5ghz SSID too.

I know about the charging problem, it should be a kernel problem.

There is a new kernel from sonyxperiadev with a more recent charging driver. But there currently more charging problems with this new kernel (my tablet charge only 20% in all the night). But once it will be fixed it should be better than this one with charging ;).

I'm woking on it and others people too (other sony devices have the same problem).

I don't know yet if the 5ghz wifi problem is a kernel matter or not, but it wouldn't surprise me. I will see with the 1.3.3 kernel.

New binaries with working camera need this new kernel too. So a lot of things are linked and should change as soon as this 1.3.3 kernel will be stable enough :).
[Xperia Z4 Tablet Android Development] dunkelfalke:
Thanks a lot for the information. I can live with both problems for a while, because this is a very good ROM otherwise ;)
[Xperia Z4 Tablet Android Development] Maciek602:
Hi does this ROM enable SD card access for second user (not the owner user)?
[Xperia Z4 Tablet Android Development] andralex8:
I just tried with the guess account and I was able to read and edit files on the sd card using the file explorer, so I think it's working :).
[Xperia Z4 Tablet Android Development] andralex8:
Updated !

Like with cm, no major modification, mainly syncing last rr's sources

Edit : Bluetooth problem corrected :)
[Xperia Z4 Tablet Android Development] alex009988:
Hi. Thanks for update, everything works fine, twrp too(flashed the rom and xposed ) If you press volumes buttons on boot, twrp doesn't load.
[Xperia Z4 Tablet Android Development] andralex8:
Yes! First time twrp for cm fully working on sgp771 I think (In fact I had forgotten to rebuild it with busybox).

Except that it doesn't load when pressing volume up at boot for you ? Did you wait to see the led turn purple before pressing vol+ ?
[Xperia Z4 Tablet Android Development] alex009988:
Oh, sorry, I pressed vol-, with vol+ it works.
[Xperia Z4 Tablet Android Development] alex009988:
I'm sorry for bothering you again . But I noticed fxp released android 7 including our device. https://www.androidfilehost.com/?w=files&flid=109243

So sources should be available. What about releasing caynogenmod 14 for our device?)
[Xperia Z4 Tablet Android Development] andralex8:
Yes the build tree for nougat is ready for AOSP and I already make adaptations to it for cyanogenmod, and it builds.

But there two reasons why I didn't make a cm14 yet:

- cm14 sources are not yet finalized (cm-14.0 branch is available on github and cm devs are working on it, but there is usually a delay of some weeks between a new AOSP release and new cm release, some websites are talking about second week of October)

- the kernel used for making these build is the same kernel I was talking about and is really unstable (the charge is very slow, my device charge from 40% to 60% of battery after a night of charging with this kernel, there is a problem with framebuffer and no bootlogo,...). So not suitable for daily usage.

But you can be sure that I will make a cm14 build when the cm14 sources will be ready ;).

Do you want me to already make a build, even if unstable, to try it?
[Xperia Z4 Tablet Android Development] alex009988:
Hmmm. If it's really really unstable I think, even for me it's better to wait. Anyway, thanks for the answer.!
[Xperia Z4 Tablet Android Development] andralex8:
In fact, the most problematic thing is the slow charging problem. We could deal with the remaining I think.

I already succeed to charge at optimal speed by disabling some kernel securities (automatic input current limit), but it was a test and I don't think it's really safe.
[Xperia Z4 Tablet Android Development] jongcruz:
So far everything is ok with this ROM. Great work!
[Xperia Z4 Tablet Android Development] alex009988:
Hi. I noticed that the tablet can't take a photography with hdr enabled. I remember that you've told that the camera is a bit buggy at the moment, something with colors . I think you know about the problem. Wrote a message just in case. Thank you!
[Xperia Z4 Tablet Android Development] spsweaty:
Thank you so much! Great ROM! Installed it on Xperia Z4 Tablet. Keyboard BKB50 works. Very satisfied.
[Xperia Z4 Tablet Android Development] jongcruz:
Can you try open camera from play store? For me is working great, no issues.
[Xperia Z4 Tablet Android Development] riveria:
Sorry, I don't know whether is it my tablet, ear being weird or the rom acting up. Basically, when using the tablet in a very quiet room, invoking a sound such as the touchscreen sound will lead to the tablet making a soft popping sound at the lower spearker (the one at the charging port).

This was my second time installing this rom, where the first time having my tablet restarting at random. The second install seems to have resolved the issue. Both times I have cleared the System, cache, dalvik cache and data.

Let me know whether is my ear acting up so I can get the doctor to check!
[Xperia Z4 Tablet Android Development] andralex8:
I don't realy know why your tablet reboot randomly at the first installation, did you install something else at the same time or did you have an error at the installation ?

For the popping sound, I just tried and I only hear the "pop" sound of RR when touching the screen, I have the same on my phone. If you want you can disable it in the sound settings (Sounds/other sounds/Touch sounds), that's what I usually do because I don't like to have a touch sound, but it's a matter of preferences :).

If you want I can watch to your ears too, I'm myself nearly a doctor (I will have my diploma in june ;) ). But I don't think that they have a problem.
[Xperia Z4 Tablet Android Development] riveria:
Thanks for the reply! Haha, so I was not wrong when I heard the popping sounds :D! Apparently, any sound triggered from the tablet will result in a popping sound, but tis' a trivial issue. I want to ask, however, if we want to re-enable SELinux on the tablet, is there anyway to do it?

Okay, the restarts are happening again, spontaneously.

First half of logcat: http://pastebin.com/tA4CuGxX

Second half: http://pastebin.com/xYYtQD2u

Recent install is Minminguard. First instance of bootloop (am able to get into lockscreen, but reboots immediately) was when enabling greenify xposed settings (all the options except the systems one).

I sort of was able to get out of the loop by doing a hard reset.
[Xperia Z4 Tablet Android Development] andralex8:
Maybe a problem with Xposed ? I use it to without problem, but I don't use the sames modules as you, and sometime Xposed can make conflicts with custom roms (it's only an hypothesis).

It's not possible to activate SELinux with this kernel because I disable it in the kernel conf at build time, it's enabled on the 1.3.3 kernel, but as always it's too much instable... So I stay with the 1.2.2 for the moment. I hope that the official stock kernel for android N will help to solve the problems with the 1.3.3 kernel by comparing the sources codes (the stock N rom should be released by the end of the year).
[Xperia Z4 Tablet Android Development] jongcruz:
Any way to increase the speakers volume?

Thanks
[Xperia Z4 Tablet Android Development] andralex8:
You can modify the /etc/mixer_paths.xml file. You should search for "<path name="speaker">", a few line bellow there is two controls for "RX7 Digital Volume" and "RX8 Digital Volume", you could increase the number in "value=84" by something like +10% (I'll try 93 for my side). Then reboot the tablet.

Can you give me a feedback after a few days using theses parameters? If it works well I will include this in the next build ;).
[Xperia Z4 Tablet Android Development] jongcruz:
Ok done, 95 is working great for me without battery drain and volume is loud and decent.......thanks.

Yes it should be modified for the next build.
[Xperia Z4 Tablet Android Development] alex009988:
Hi guys. Did you check nfc, seems it doesn't work, no detection. Checked it with two apps on my subway magnetic ticket.
[Xperia Z4 Tablet Android Development] jongcruz:
[MENTION=6336863]andralex8[/MENTION] what version of Exposed is working for this ROM?
[Xperia Z4 Tablet Android Development] alex009988:
Official. Mine is 86, amr64.
[Xperia Z4 Tablet Android Development] jongcruz:
I really appreciate if you share the link because for some reason I flashed those but is not sticking after reboot, Xposed installs but the modules

are not active.

Thanks
[Xperia Z4 Tablet Android Development] alex009988:
You can find it on xda, try to wipe dalvik cash via twrp.
[Xperia Z4 Tablet Android Development] alex009988:
Me too. Now speakers sound well. 95 is a good value.
[Xperia Z4 Tablet Android Development] andralex8:
Ok, I just made a build with increased volume speaker (it's uploading, should be there in a few minutes ;) ).

I changed it to 93, with that setting sound seem to start saturating at maximum with lound sounds like explosions, that's why I didn't increase again to 95. There is probably not a lot of differences between 93 and 95, but if you tell me it's not enough I will increase again.
[Xperia Z4 Tablet Android Development] andralex8:
NFC is working (pairing the BKB50 by NFC works for exemple).

Your subway tickets should be MIFARE cards, I disabled MIFARE support since it caused some crash with the NFC on cyanogenmod roms and derivated.

But now I think it's corrected on cm's source code. I will try to re-enable MIFARE to see if it works now.
[Xperia Z4 Tablet Android Development] andralex8:
http://dl-xda.xposed.info/framework/sdk23/arm64/

You should be sure to use Xposed for arm64, and sdk23 for android M. I use the v85 but later versions should work too.

But it seem that there is problems with Xposed on build 20161113, I don't know why (I had bootloop after flashing Xposed). But it works for me with today's build.
[Xperia Z4 Tablet Android Development] andralex8:
New update is here :).

Max sound is increased and minimum brightness can now be set lower (the minimum brightness was I bit high in my feeling, so It can go lower now. It's better to use the tablet in the evening without waking up your girlfriend ;) ).
[Xperia Z4 Tablet Android Development] alex009988:
Year, right. These cards use mifare classic standard. Hope it will work in next builds. Thank you:)

---------- Post added at 01:11 PM ---------- Previous post was at 12:30 PM ----------

I forgot to say. Did you check Microsoft word when you type? It's lagging much. Just try to type some words, you'll see delays. By the way, I use gokeyboard , but with aosp keyboard it works well. On my xiaomi phone gokeyboard works well. I need this keyboard as it has copy/past function and emoji smiles. So it problem with the system or app?
[Xperia Z4 Tablet Android Development] DzungLe:
Hi,

I tried to flash your Rom and very interested with it, I think it is better than sony AOSP rom.

I saw that you are facing with same problem with me before, so I post my solution here, hope it can help:

- Minor bug with led while charging

This problem happen because led folder changed and missing permission to write to led file in charger mode.

I fixed it by change led folder from : /sys/class/leds/red/... to /sys/class/leds/led:rgb_red/... (same for green, blue)

at system/core/healthd/healthd_mode_charger.cpp

and change group for these file at : system/core/rootdir/init.rc

on charger

+ chown root system /sys/class/leds/led:rgb_red/brightness

+ chown root system /sys/class/leds/led:rgb_green/brightness

+ chown root system /sys/class/leds/led:rgb_blue/brightness

class_start charger

After that, Led work fine in charger mode (my source is AOSP version from Sony).

I have one question, about Qcom blob, why do you use M version (SW_binaries_for_Xperia_AOSP_M_v05a) instead of MR1 (lastest is SW_binaries_for_Xperia_AOSP_M_MR1_v06)?
[Xperia Z4 Tablet Android Development] alex009988:
Adnralex. It happens not often, but happens. Today my tablet was charging all night. But the charge drained to absolute zero, instead of charging. So I can't even turn on my tyblet during an hour, the same situation now. Please, fix it as soon as possible cause it is the big and dreadful scar on the face of your work(rom). It just spoils and ruins everything in dramatic fashion.
[Xperia Z4 Tablet Android Development] alex009988:
Well. Over more than two hours I was be able to switch on my tyblet. If you discharge the tablet to 0%, youll see what a horror will go on. I hope you'll fix this very bad problem soon.
[Xperia Z4 Tablet Android Development] andralex8:
Hello !

Thank you a lot for the fix, I will definitely use it for the next build.

I deliberately use the M blobs because of the kernel still in 1.2.2. The MR1 blobs are build with kernel 1.3.3, wich is/was less stable than the 1.2.2 in my opinion (problems about charging limited current, with the backlight not always turning off when turn the screen off, ...). But it's been a while since I worked with 1.3.3 for the last time. I plan to try it again soon, I've got again some unrelated importants things to do but from the next week I will have more time to work on the rom again.
[Xperia Z4 Tablet Android Development] andralex8:
Oh, I agree it could be a big big problem !

I never experimented this problem myself, but I know that if the charger don't feed the tablet fast enough (weak charger or big load), it could be disabled. And that I experimented it on multiples devices. I don't know if it's related, it's only an hypothesis.

What charger did you use? Did the tablet had some particulars software or something special running on it while charging?
[Xperia Z4 Tablet Android Development] alex009988:
Hi. Thanks for your reply. I use native charget it was in one box with the tablet. I dont think that software can cause the problem as it can occur(not chraging) only when the tablet is switch off. So it definitely conected to the kernel, there are definately some issues, for example, it cant be switch on when the charger is plugged in. To avoid this problem(another problem with discharging, problem described above) you should plug in the charger before switching off, then turn off the tablet. And if you do it afterwars or have 0% charge you can face the problem.
[Xperia Z4 Tablet Android Development] rintala@hakunila.com:
Is anyone else having wifi signal very weak? Have i do something wrong?