yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] V4LKyR:
This ROM formats my SD card with FAT32. Is there any other format I can use? I doesn't read exFAT or NTFS filesystems, only FAT32.

What if I have a file larger than 4GB?

:rolleyes:
[Xperia Z2 Android Development] FellipeSilvaRJ:
Everything ok here
[Xperia Z2 Android Development] raminta:
[MENTION=5621191]rcstar6696[/MENTION] hi I have flashed the rom on d6502 and now i have problem with flashing gapps!!!

when i try to flash the full version recovery not respond and reboot the phone

can u please help me???
[Xperia Z2 Android Development] Shri Arun Karthikeyan:
try this ... it worked fo me

http://xdaforums.com/xperia-z2/development/d6502-universal-rom-network-patch-t3312959
[Xperia Z2 Android Development] akshay2shah:
Install micro or nano version of OpenGapps !

Micro version - https://github.com/opengapps/arm/releases/download/20161111/open_gapps-arm-7.1-micro-20161111.zip

Nano version - https://github.com/opengapps/arm/releases/download/20161111/open_gapps-arm-7.1-nano-20161111.zip
[Xperia Z2 Android Development] raminta:
[MENTION=5621191]rcstar6696[/MENTION] can I use d6502 kernel for android 6.0???
[Xperia Z2 Android Development] V4LKyR:
Okay I solved the GApps problem by installing pico package first and then AROMA package.

Btw, my phone doesn't have NFC. Anyone else has it?
[Xperia Z2 Android Development] :
Doesn't fat32 have a limit to max 32gb partition size? What if we have a bigger sd, we will first lose our data because the format and then have a lower capacity sd. Aren't filetypes supported baked into the linux kernel?

Can anyone who has 32gb or more sd card confirm that they can have a file system other than fat32?
[Xperia Z2 Android Development] iXaidyiu:
D6502 has no NFC sensor(?)

Afaik, NFC is available for D6503.
[Xperia Z2 Android Development] m1st3r1:
Lol, the partition limit is Microsoft's trick so people use ntfs, Android aint MS's so, the fat32 is capable with larger partition size. I have 64gB card, and it runs fine with more than 50% full.

but it's true, the filesize limit is 4gB. If u really need more than 4 gB for filesize (which i dont really need), u can use the adoptable storage one, backup your microsd, and go to storage setting the chose format as internal, you should read more about it first tho (just google it). it's gonna use ext4 filesystem.
[Xperia Z2 Android Development] Vexens:
Hi friends, I have been following the post in silence and using the rom daily since the 1031 version.

Rom is amazing, thank you so much for all this work.

Today I want to help improve the new version (1109), I have a Xperia z2 - D6503 and in the latest version is more fluid but I found several errors does not appear the NFC, also had frequent restarts and a drained battery fast, I made two format clean

I made two clean reboots and solved the problem of reboots but I still do not have NFC and I feel that the battery drains fast.

I'm sorry, my English is not good ... I speak Spanish.
[Xperia Z2 Android Development] raminta:
Sorry for repeatedly posts but how can I change wifi region code???

My phone cannot find any wireless network

Thank in advance
[Xperia Z2 Android Development] ticktock666:
Just checking, were you having issues using the aroma version? You said in your other post that once you installed pico you were able to use aroma version normally?
[Xperia Z2 Android Development] raminta:
I have flashed the micro version and it worked fine, didn't try other versions
[Xperia Z2 Android Development] ceciladams85:
Just a minor problem

I installed everything fine thanks to you guys on my D6502 but sometimes my phone just automatically does a fast reboot where the boot screen loads for some seconds and then the phone continues normally. I've had this problem since installation. I am not really affected by it much but I thought I'd report it.

The rebooting seems to be getting worse with time...

Are the battery drain and slow charging normal?
[Xperia Z2 Android Development] :
when you flashed the rom, did you have to format the sd card in order to use it or did you use it normally without the need for formatting?
[Xperia Z2 Android Development] i am Kal-El:
Don't know about him but I had to. Mine's a d6502.
[Xperia Z2 Android Development] number28:
Will the camera still unusuable in 6.0.1?
[Xperia Z2 Android Development] iXaidyiu:
The AOSP 6.0.1 is DSCONTINUED.
[Xperia Z2 Android Development] V4LKyR:
FAT32 file system has a max size limit of 4GB on one single file.

Let's say... I have a 1080p movie file around 10GB and I want to watch it on my phone.

What do I do?

This is not Android 2.3, this is Android 7.1 !
[Xperia Z2 Android Development] Shri Arun Karthikeyan:
Hi bro [MENTION=5621191]rcstar6696[/MENTION] . The rom is super smooth. Hopefully camera gets better soon. I hv a doubt though. How can I update if new build is up? OTA? or should I download and flash it?
[Xperia Z2 Android Development] m1st3r1:
I used existenz before this rom, so it used exfat for the microsd, just backup microsd, then this rom will ask to format it. if you want to use ext4 filesystem, make it as adoptable storage (read about it first), else it'll use fat32.

Back up your microsd and make it adoptable storage (it'll use ext4 fs). I dont think there's other way, unless rcstar decided to support other fs for microsd.
[Xperia Z2 Android Development] MHN.1515:
A link that is broken for 6502 put (404 error) :

http://xdaforums.com/xper...patch-t3312959

Please provide the correct link

Thank you
[Xperia Z2 Android Development] raminta:
use this : https://drive.google.com/file/d/0B4T...5UZHBmQ2M/view
[Xperia Z2 Android Development] Farooq95:
Battery seems better on latest build.
[Xperia Z2 Android Development] DiogoSilva48:
The performance is now better in the last build? Last time I tried it, it had a little bit lag on animations.
[Xperia Z2 Android Development] MHN.1515:
Bro error again :(

"Sorry, the file you have requested does not exist.

Make sure that you have the correct URL and the file existed."

Did you try your link?
[Xperia Z2 Android Development] iXaidyiu:
Actually any baseband fix available for D6502 will do the trick (afaik).

Just find any one on the forum and flash it will be okay...
[Xperia Z2 Android Development] MHN.1515:
like :

http://xdaforums.com/xperia-z2/development/baseband-d6502-baseband-patch-t3385567 ؟

Really?
[Xperia Z2 Android Development] V4LKyR:
That's not convenient for me. I guess I'll have to stick this "ANCIENT" FAT32 fs. My first computer in 1995 had 2.1GB HDD weighing almost 1 kilo and it had FAT32 fs too.

This ROM is amazing, so fast and really battery friendly. I'm very happy with it so far BUT,

The camera is terrible. Why is it always like this? Is camera too hard to get working? If camera was working fine and fs was better, I'd use this ROM forever.

AOSP is the best. But it always has camera problems on EVERY device.
[Xperia Z2 Android Development] DiogoSilva48:
That's why i'm not using aosp too, and because of echo in calls. No one can make the camera driver work like the Sony, its normal. AOSP camera never will BE so good like stock. But it will BE good enough some day, Just wait.
[Xperia Z2 Android Development] m1st3r1:
Lol, u can try to partitioned your microsd, and using apps like link2sd, etc to utilize the other partition (format it to ext4). And there's some hacks to to enable exfat (and even some cm-based roms support exfat for microsd), but it's not recommended, u might lose your data. exfat and ntfs are microsoft's proprietary, and i think Google thinks MS has enough :D.

For camera, i think the devs are working to make it (somewhat) better, but it's true, it wont go like the stock rom quality, as oem manufacturers tend to "hide" their camera's enhancement, which is make sense.
[Xperia Z2 Android Development] Raspberry Pi:
Can I update ROM if I use encryption?

I want to enable encryption (FDE), but I'm worried about update rom.

I always wipe cache, dalvik before update rom.

Is there any problem?
[Xperia Z2 Android Development] iXaidyiu:
You may try this;)

---------- Post added at 03:42 PM ---------- Previous post was at 03:39 PM ----------

Theoretically no. But I dont actually see the point for adding an extra layer of data encryption layer on top of the original one for /Internal Storage.

And if you are in doubt, then leave it out.
[Xperia Z2 Android Development] nhuduy:
Now, this rom can be flashed with D6502.

Thank you!
[Xperia Z2 Android Development] V4LKyR:
Actually, call quality on AOSP is MUCH BETTER than stock ROM. :)

Well... How about Google phones? Does Google hide their camera technology too? They say Pixel phones have amazing camera quality and AFAIK (As Far As I Know) they use image sensors from Sony. This AOSP 7.1 ROM we are using on our Z2 phones is extracted from a Google phone!
[Xperia Z2 Android Development] DiogoSilva48:
So, echo is not noticible?
[Xperia Z2 Android Development] m1st3r1:
Yes, if u use headset for call, it works well (no echo).

"camera enhancement" is in the rom, the driver, focus, etc is in the kernel. And being Linux, everyone "must" share their kernel from their rom (stock rom). Sony did this, but Sony "forces" devs to use new kernel (3.10), sadly the camera driver (blobs or whatever) is somewhat "broken" there :D While other devices (such as G3, Galaxy S5) uses released kernel from their stock rom so they have "decent" camera, yet their quality will never be as good as their stock rom, cause the enhancement (pic processing, etc) is in the rom, and it's proprietary to each manufacturer.

And no, the rom isnt extracted from Google phone, it's from Android source, every rom-maker (Google, OEM (sony, samsung, lg), and third-parties) makes rom from it, and they put their own enhancement in it. CMIIW :D
[Xperia Z2 Android Development] V4LKyR:
Nope, no echo at all. People say my voice is loud and clear on AOSP ROM. On stock ROM, my voice is terrible, people say that they can't hear me.

Ahh, now it all makes sense. Thank you for this beautiful explanation. So, in a way, this is SONY's fault, their camera library doesn't work well in 3.10 kernel which they force the devs to use. First, they need to adapt their camera software in 3.4 kernel to 3.10, right? 3.4 is old now anyway, I want to use 3.10, which I am already using on AOSP.
[Xperia Z2 Android Development] raminta:
Yes i did
[Xperia Z2 Android Development] FellipeSilvaRJ:
Hey mates

I'm here to share with you guys my experience with battery today. I'm working on a translate job (translating a book), and since my notebook is nearly dead, I have to use my phone to translate. I've connected my keyboard on device using and OTG cable, and worked all this time with google docs and quickedit on dual window mode. My keyboard is retroiluminated so I guess it have a little bit more energy consumiption than standart keyboards. Also, I don't feel the device slow down while I check WhatsApp and download some files on background.

Loving this AOSP guys, recommend this to everyone
[Xperia Z2 Android Development] RyTekk:
Sony doesn't force us to use 3.10 kernel, but 3.4 kernel somehow is "buggy", even camera driver (or something like that) was hacked to work. 3.10 kernel comes with official camera blob and it's WIP, you need to give them time to improve, I read that lots of people who are using Z5 report that camera quality on AOSP based ROM is much better than stock one.
[Xperia Z2 Android Development] Raspberry Pi:
I want to know installation process.

Do I have to use pc to flash boot.img?

Or just flash zip on recovery?
[Xperia Z2 Android Development] LongLuu:
how long the device be used with battery charge full?
[Xperia Z2 Android Development] m1st3r1:
I dont think i was being impatient in my post :D i was just stating what *i think* happen in this device (Z2) development. so let me explain couple of things.

by "force" i mean Sony made instructions to build newer Android (MM and N) using new kernel (3.10), and the devs (third party) for Z2 (and Z series afaik) seem to follow suit. Can the new rom be built by old kernel (3.4), in theory yes. For Nougat, Xperia S is using 3.4 kernel that was released by Sony for 4.1.2 rom, and everything seems working fine. But i think it needs more work (hack) to make that kernel to work with newer Android (N and MM) compared with using "ready to built newer Android" by Sony (cmiiw).

3.4 is "buggy"? the 3.4 kernel source released is supposedly the same as the one the stock rom use. The aosp-based LP roms for Z2 are using that source (3.4) and they have "decent" camera (afaik :D ). But again, it still needs to be worked so it can be use with newer Android. And i think the devs for Z2 (and Z series) prefer to work with this new kernel, rather than old one (which is fine and i dont have the right to complain anw :D ).

For Z5, its stock rom is already using 3.10 (afaik), so no wonder the kernel is working fine, being already tested and all, while Z2 got WIP kernel (i dont blame anyone though). And yes, all we (i) can do is wait, and hope for the best. :)
[Xperia Z2 Android Development] pixel0:
Its a personal choice of devs which kernel to prefer.

rcstar wants to develop new 3.10 as it makes future development easy.And be patient, we will have a full featured aosp soon bcz of [MENTION=5621191]rcstar6696[/MENTION].
[Xperia Z2 Android Development] m1st3r1:
Again, did i seems impatient? Haha. I even told us (and myself to wait). I was just stating what i think happen in the z2 dev compared with similar (sd801) devices (such as g3, s5). Im using this rom for almost 2 weeks alr, dont use camera that much, so really, i wasn't complaining anything.
[Xperia Z2 Android Development] RyTekk:
3.4 kernel is stable, yah, but it doesn't seem that can be improved, it works, but can't be better. 3.10 kernel has been merged with drivers what come from official kernel, why do you need a new Android version but not kernel version? AFAIK, 3.10 kernel is buggy due to unified (I think so), and you know, there's just Xperia that has unified kernel (am I wrong?), 1 code for all, that means bugs, features are the same for all, and I think 3.10 is more ideal (and 3.18 will replace in the future). And if devs just use 3.4 kernel, then they won't improve 3.10 one and you will never can reach a new life, you had better stick at stock and wait until all bugs are fixed, and when you decide to use, never talk about the kernel version.
[Xperia Z2 Android Development] ceciladams85:
After flashing SuperSU the camera stopped working
[Xperia Z2 Android Development] pixel0:
It shouldn't.

1.Reboot and check again.

2.Wipe cache then check again if no change after first.

3.Even now if not solved,Reinstall rom clean with supersu2.78 in the last .
[Xperia Z2 Android Development] ceciladams85:
http://xdaforums.com/showpost.php?p=69589187&postcount=1928

this guy was using it a lot for 5 hours

---------- Post added at 08:10 AM ---------- Previous post was at 08:01 AM ----------

Thanks for the tips. 1 and 2 didn't work well individually so here's what I did:

1. wiped camera app data

2. rebooted the device directly

3. it's back :D
[Xperia Z2 Android Development] ceciladams85:
Is this "Miscellaneous" the reason of the battery drain?
[Xperia Z2 Android Development] iXaidyiu:
Misc. contain energy loss that cannot be counted by the CPU, eg energy loss due to humidity, energy loss due to temperature, etc...

IT IS NOT A SOURCE OF BATTERY DRAIN.
[Xperia Z2 Android Development] pixel0:
There is a way to check this is rom related or not.

One who have huge miscellaneous drain in aosp,

go back to stock and check u have the miscellaneous drain there too or not.

In stock even dont have miscellaneous present in stats by default.
[Xperia Z2 Android Development] Shri Arun Karthikeyan:
Hi [MENTION=7790746]pixel0[/MENTION], [MENTION=5862770]hamzxoxo[/MENTION] . I've been using 7.1 for the past two days. I flashed gapps7.1 pico. Ok google from any screen option is hid. And I tried clearing the google app cache. It didn't work. Should I flash gapps7.1 full? .

Also I wanted to flash Pixel conversion pack. Should I just flash it directly. Or should I flash everything from all over the beginning?
[Xperia Z2 Android Development] pixel0:
Flash nano or above.

And you can flash pixel pack directly.
[Xperia Z2 Android Development] Wd-Ibrahim 94:
Hi, I want to flash nougat on my D6502, but the link to the universal baseband patch is not working for me
[Xperia Z2 Android Development] itsnie:
Try this link https://drive.google.com/file/d/0B4TWfrb9-m18aFo0d05UZHBmQ2M/view
[Xperia Z2 Android Development] Shri Arun Karthikeyan:
Thanks buddy... Nothing to wipe??? Like cache or something???

Currently Im using gapps pico. If I flash gapps(full), will it get replaced?
[Xperia Z2 Android Development] FellipeSilvaRJ:
You shoudn't flash pixel conversion pack on build 1109, you will have issues
[Xperia Z2 Android Development] Shri Arun Karthikeyan:
Thanks fr the info buddy. I'm on 1031 build...It won't be a problem right?

Also Do u know If i flash gapps(full) will it replace the existing gapps(pico)?

What's in the new build 1109
[Xperia Z2 Android Development] FellipeSilvaRJ:
yeah using conversion pack on 1031 is fine, enjoy the Pixel blue :D
[Xperia Z2 Android Development] iXaidyiu:
Yup.

---------- Post added at 04:23 PM ---------- Previous post was at 04:23 PM ----------

That's "Pixel Really Blue" lol.
[Xperia Z2 Android Development] FellipeSilvaRJ:
Pixel is the name of device, blue because... :D
[Xperia Z2 Android Development] Shri Arun Karthikeyan:
[MENTION=7265736]FellipeSilvaRJ[/MENTION] [MENTION=6891123]iXaidyiu[/MENTION] It won't be a problem if I flash gapps(full) with existing gapps(pico), right?
[Xperia Z2 Android Development] iXaidyiu:
Theoretically yes. But I dont see the need for dong this... Since all the other apps can (mostly) be installed from Google Play...
[Xperia Z2 Android Development] Shri Arun Karthikeyan:
thanks Buddy will tell you what happened as soon as I flash gapps full
[Xperia Z2 Android Development] pixel0:
Theoretically there will be no issues flashing full over pico but may be some fc happens. So give it a try and wipe cache afterwards.
[Xperia Z2 Android Development] FellipeSilvaRJ:
Someone said a few pages back that this ROM doesn't work with Gapps full package, I can't confirm this but keep your eyes open
[Xperia Z2 Android Development] pixel0:
Gapps full cause no issue.

Flash it without worry.

Personally i used micro and full gapps with no issue.

This is nothing to discuss upon.

For everyone I always recommend micro.

I hope no questions about gapps now.

Enjoy
[Xperia Z2 Android Development] Wd-Ibrahim 94:
thanks, the patch worked, only one issue so far, wifi doesn't seem to work, it can't find any wifi network

reflashed the rom a couple of times but nothing changed

Thanks for the support :)
[Xperia Z2 Android Development] fahim siam:
i would please like to know what are the big problems in AOSP mm and nauget...is the camera great? i don't wanna flash it if the camera isn't great!

please say the state of both m.m. and nauget...i'm currently running official 6.0.1 .570

thanks in advance
[Xperia Z2 Android Development] itsnie:
Stay on stock is better for you thanks :p
[Xperia Z2 Android Development] fahim siam:
i wanted to see Android n if the camera is fine....is it not?
[Xperia Z2 Android Development] DiogoSilva48:
Camera is pretty bad. Stay in stock.
[Xperia Z2 Android Development] iXaidyiu:
The D6502 patch? Or the Pixel transformation one?
[Xperia Z2 Android Development] xerxes101:
I will flash this rom when volte works
[Xperia Z2 Android Development] subhanjavadov:
Is there voice problem in call? In MM version, other phone hears his noise when he call Z2 (same thing when Z2 calls him). Is this problem happens in latest 7.1?
[Xperia Z2 Android Development] iXaidyiu:
In-call echo has not been fixed yet.
[Xperia Z2 Android Development] Wd-Ibrahim 94:
The D6502 patch
[Xperia Z2 Android Development] pixel0:
In-call echo will be fixed soon.
[Xperia Z2 Android Development] rcstar6696:
if you have ideas share it
[Xperia Z2 Android Development] pixel0:
PM you.
[Xperia Z2 Android Development] djgigi94:
Hi :) this ROM is great. Except known problems. I have the unstable camera problema (it gives reboots? Sometimes my phone reboots itself andò the camera doesn't work anymore. I nave to do some reboots to fix camera). I have some reboots on loudspeakers calls but no echo problems strangelly . But the real problems is , that i can't turn to stock ROM anymore . I flash via recovery (with wipes) but bootloop . Same with flashtool androxyde with wipes data and appslog. Xperia companion doesn't recognize the phone. What i should i do?
[Xperia Z2 Android Development] RyTekk:
Use Emma tool from Sony instead.
[Xperia Z2 Android Development] magpte:
Please find the attachment for the logcat about the issue for NFC. the NFC is persisting restart in the system control panel until I manually shut the NFC. the issue happens when I am trying to read a card for public transportation. May I know if there is a way to fix it and make the ROM more perfect?

Btw, I am using 1109 with 7.1 ROM for it.

Thanks in advance.

View attachment logcat_and_device_info.zip
[Xperia Z2 Android Development] zBLacKy:
Try flashing recovery in fastboot, never had a problem flashing recovery or boot through fastboot
[Xperia Z2 Android Development] djgigi94:
I try it when i back home... thanks :). I advice everyone to use snap camera hdr . The various settings helps a lot expecially in orrible aosp front camera. :) the focus problems are always there but helps in those difficulties :) EDIT : One example there :) EDIT 2 : front camera differences too :)
[Xperia Z2 Android Development] Pbhushan363:
guys universal baseband patch link is not working
[Xperia Z2 Android Development] iXaidyiu:
Freaking known issue. Use any other universal patch for D6502 you can find on this forum and flash it will do the trick.

P's please search before posting.
[Xperia Z2 Android Development] pixel0:
D6502 users link given in OP is not correct url for the universal baseband patch.

The link is here:

http://xdaforums.com/xperia-z2/development/d6502-universal-rom-network-patch-t3312959
[Xperia Z2 Android Development] mohoram:
I am trying several apps, less notification and they do not work, I always get the led color in the options in exitenz
[Xperia Z2 Android Development] djgigi94:
This is nougat aosp thread ..not Existenz ;) search there...there is the solution ;)
[Xperia Z2 Android Development] mohoram:
Sorry ?,
[Xperia Z2 Android Development] djgigi94:
i try emma to return to stock firmware, but to use it , i need to register. I create my account but no email to confirm it. What should i do?
[Xperia Z2 Android Development] FellipeSilvaRJ:
You can just lock your bootloader, then flash stock ROM and unlock the bootloader if you want later
[Xperia Z2 Android Development] itsnie:
I just restore my stock backup then flash apps_log only with flashtool and bootloop should be gone
[Xperia Z2 Android Development] DiogoSilva48:
When i want to back to the stock, i Just flash 4.4.2 with Flashtool , i root it, i restore my ta partition and then i flash 6.0.1 with Flashtool too.
[Xperia Z2 Android Development] djgigi94:
i want to test the phone with unlocked bootloader and use custom kernel....this is the only way?

I try it but it starts but when i click on start ...the phone restar

with kitkat no bootloop? i try 4.4.4 now who i have ftf

EDIT: with kitkat the phone works! thank you :D
[Xperia Z2 Android Development] DiogoSilva48:
No bootloop
[Xperia Z2 Android Development] RyTekk:
There's a customize (I don't remember exactly name, I remember that is an ini file) file inside the zip, copy it to Emma installation directory and you can use it without registration.
[Xperia Z2 Android Development] iXaidyiu:
Why not use flashtool by androxyde? It is much more simpler.
[Xperia Z2 Android Development] DiogoSilva48:
I always use Flashtool and i never had bootloop. Always remember to clean all user data and wipe cache. Mine does not bootloop but it really takes some time in the first time, like 5 minutes.
[Xperia Z2 Android Development] pixel0:
Flashing ftf by Flashtool cause no bootloop. Its confirmed.Just select all in wipe section.