yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] Envious_Data:
After Trying this out for my self i have been exited by it. course i have to flash back to stock firmware b4 college class starts.

(id keep using it if camera and mobile data worked)

problems: Screenshot doesnt work (pretty much all that was expected. moible data/etc)

very stable

:D
[Xperia Z2 Original Android Development] skitty:
http://xdaforums.com/showthread.php?p=56742026
[Xperia Z2 Original Android Development] 3f1f37:
[MENTION=3816568]Myself5[/MENTION]

http://xdaforums.com/showpost.php?p=56742026&postcount=1420

Thats the post that has some details regarding the camera & mobile data.

Its not just the Z2, its most compiled builds
[Xperia Z2 Original Android Development] azam426:
Latest build with Probably Data Fixed.. Test it Please..

Latest synched build, something changed..

Probably data fixed..

please try and let me know..

BOOT IMG : https://mega.co.nz/#!4FQEWRrI!70BWk0VXUtQbXQkD1GteoQpAndXHA0SESGe4ZbBnJuM

SYSTEM : https://mega.co.nz/#!ZNYn0RaR!pU7iYetsBqbN8GRSewSa8Fey00VLZvXrZxfzcL4aAxo

USER DATA : https://mega.co.nz/#!9ERGnQiA!YWMKTQQJnPhCVyBneY2s-DoQ-96CJ8PIIY5q0JfcDjc

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash userdata userdata.img (THIS WILL WIPE YOUR DATA/SDCARD0) and This is not needed if you already on Lollipop

please let know network/ data fixed or not..
[Xperia Z2 Original Android Development] Envious_Data:
Ill be trying later today :D

Unless someone can test before me, go ahead
[Xperia Z2 Original Android Development] GalaxyUser:
Hi,

Is this build is from Sony AOSP ?

http://developer.sonymobile.com/kno...ld-aosp-lollipop-for-unlocked-xperia-devices/

I don't have Xperia Z2 but i maybe will buy one.

Thanks for your work.
[Xperia Z2 Original Android Development] Envious_Data:
I think Sonys aosp tree is outdated, its 4.4.2_r2 last time i checked
[Xperia Z2 Original Android Development] Jinsuke32:
Nope...still same problem. No data and wifi doesn't work either.
[Xperia Z2 Original Android Development] cheep5k8:
You will need to add the modem firmware to /system/etc/firmware in the first place before mobile data can even work at all. I have a build running where the RIL and mobile data basically works, but there are still issues with the network on a very low level.

I will try this build and apply my modifications to it (my own kernel and specific firmware files and libraries from 4.4 and KitKat) and see if I can get mobile data to work now.
[Xperia Z2 Original Android Development] azam426:
Try Flashing this RIL lib files for Network..

A test fix for RIL (Network)

Please Flash in Recovery (as a temporary workaround for a recovery flash doomkernel and flash the zip, then flash original Lollipop kernel)

or

Extract the zip and use Root explorer to push to appropriate Directories and set permission..

And let us know It worked or not..
[Xperia Z2 Original Android Development] MattJaO3D:
will test, give me hour, have to back up and so on, hope this works (y)

edit

nope does not work :( i flashed zip too clarify
[Xperia Z2 Original Android Development] deezid:
Tried your zip but it doesn't help, sadly. The same as before. Error if I try to connect to a network manually.
[Xperia Z2 Original Android Development] cheep5k8:
The RIL test fix zip contains some rild and libril.so from I don't really know where, but the libril.so needs libuicc.so, which is not part of the ZIP.

Perhaps add it to the ZIP and we can test it again? Not sure if it will work, but it's sure worth a try.
[Xperia Z2 Original Android Development] MattJaO3D:
yeah could try that , im free all week end to do testing, btw screen brightness now works, so does screen shot lol, volume keys work, but still no sound, making progress slowly
[Xperia Z2 Original Android Development] Jinsuke32:
Was the wifi working for you? For me it just got stuck on "turning on"
[Xperia Z2 Original Android Development] Reb0rn:
Its amazing how bloody smooth it is. I mean it feels like a iOS device in smoothness. Same bugs as stated already. On/Off button creates crash... its pretty awesome its come this far in so little time.

Tried RIL also both flashed and pushed with right permission but does not work.
[Xperia Z2 Original Android Development] Jhon998:
Do wifi work? Data and cell connection? What about recovery? And kernel? And root?
[Xperia Z2 Original Android Development] Reb0rn:
Wifi and data or cell for that matter doesnt work. Recovery isnt there im afraid. I fastboot a CM kernel and then flash the AndroidL boot.img and system from cm11 recovery after ive done what i need to... made a flashable zip...

Now root is interesting. Cant get it to work. Tried flashing supersu.zip latest but it doesnt show... Might have to do with that restrictive SE Linux stuff... SuperSU might need an update... i dont know,,..
[Xperia Z2 Original Android Development] Jhon998:
Looks complicated.

Sent by me from my Z2.
[Xperia Z2 Original Android Development] bluheart:
Jhon998, this is not for people who are simple. Let the devs do their work while we wait in peace.

Great discussions here indeed. I am waiting for my Z2 to be back from service center :(
[Xperia Z2 Original Android Development] vendetta718:
So in from 0% to 100% how close is this to being completed?
[Xperia Z2 Original Android Development] Reb0rn:
Well actually getting it to boot is an amazing accomplishment. But considering Sony practically handed it on a silver platter one can question how come more doesn't work straight from source as it's supposed to.

It's like: Here you are, oh BTW, we just made it barely bootable. The rest is up to you :)

0 - 100... Well maybe 40. Radio is dead. Camera is not there. Sound is off and seems like on/off on the screen causes crashes and root is not available at the moment and kernel doesn't have recovery...

Give it time. Most of these bugs are relatively easy to fix for a good dev.
[Xperia Z2 Original Android Development] cheep5k8:
Umm.. OK so:

* I have radio working up to the point where I even obtain an IP address from the cell provider's router, but the local routing table on the android device is somehow broken and I can't actually use the connection. So I would say mobile data in itself is at something of 75% done.

* I have working texting and calls. 100% text and calls?

* I have working sound, but routing doesn't work (different kind of routing than above). It means that when I plug in the headphones, sound still comes from the speaker. Working on it but, also 50 or even 75% done?

* Sensors work: I can rotate, screen goes black when making a call and you cover the sensor area. Maybe not all sensors are working yet, but at least those two are. ???% done

Working on fixing bluetooth right now.

I wanted to attach screenshots but there is still some error with surfaceflinger which doesn't allow it.

Either way, we're making progress.

---------- Post added at 04:43 PM ---------- Previous post was at 04:27 PM ----------

Small correction:

Just tested and checked: ALL sensors work.
[Xperia Z2 Original Android Development] Dragooon123:
Does camera count as a sensor :P
[Xperia Z2 Original Android Development] krabappel2548:
Nice work on sensors, how did you fix them? :p
[Xperia Z2 Original Android Development] dkionline:
Can u share your build on github?
[Xperia Z2 Original Android Development] cheep5k8:
I copied all neccessary config files from a 4.4 ROM in /system/etc to the L installation and made sure that hardware-wise (driver/library wise) everything is OK. If you need specific help with your Z1 ROM maybe we could meet on Hangouts or something?

I'm trying to fix backlight control now, but the Linux driver is somehow broken, it has a range of 0-4095 instead of 0-255. I just went through all the framework code and there is nothing I can do except fix the Linux driver..
[Xperia Z2 Original Android Development] krabappel2548:
Ok, also mic issues on Z2? It doesn't work on Z1 for now
[Xperia Z2 Original Android Development] cheep5k8:
Uuh.. well, mic itself DOES work fine, but same routing problem really. So I can make calls and everything and people hear me but routing is broken.

Mind I ask how you fixed the audio routing (if it was broken in the first place)?
[Xperia Z2 Original Android Development] krabappel2548:
People can't hear me on Z1. But mic indeed seems to work like you say. I haven't fixed audio routing yet. But I'm almost finished with full selinux support for rhine platform :) might help for some things maybe with all security stuff in lollipop :p
[Xperia Z2 Original Android Development] Envious_Data:
~just a note

Jerpelea has published android 5.0 code to the sony github

Not sure if this would be any use or what, same goes with aosp binaries and stuff but thats about a month old
[Xperia Z2 Original Android Development] adwinp:
AFAIK, most official 5.0 builds are based on the 3.10 kernel version (except for Nexus 5).

If you're still using a 3.4.10 kernel, you should replace the kernel-headers in the device tree to correspond to the kernel version you're using.

Check out device-shinano/kernel-headers/linux/msm_audio.h & msm_audio_acdb.h

The former definitely defines some audio routing.

You should also look at your overlay for:

packages/services/Telephony/res/values/config.xml

These should at the very least contain:

<resources>
<!-- Determine whether calls to mute the microphone in PhoneUtils
are routed through the android.media.AudioManager class (true) or through
the com.android.internal.telephony.Phone interface (false). -->
<bool name="send_mic_mute_to_AudioManager">true</bool>

<!-- Flag indicating if the tty is enabled -->
<bool name="tty_enabled">true</bool>

<!-- Show enabled lte option for lte device -->
<bool name="config_enabled_lte" translatable="false">true</bool>
</resources>

Automatic brightness should be fixed if you set a value of "1" in /sys/devices/mdss_dsi_panel/cabc
in your init.device.rc
[Xperia Z2 Original Android Development] bobs158:
This may help

Hey this form may help, its another developer working on lollipop for Xperia Z2.

http://xdaforums.com/xperia-z2/orig-development/rom-aosp-5-0-beta-v2-0-lollipop-xperia-t2942721

He has a link to his source codes under all the screenshots, he has also managed to make:

- Bluetooth

- Wifi

- NFC??

- LED

- Texting

- Calling

- Sound

- Sensors

- Auto-Brightness

- Vibration

- Screen/Touch

- SELinux

all work but hasn't managed to make camera, mobile data and GPS work
[Xperia Z2 Original Android Development] 3f1f37:
I think the dev's working on this should just pool their talent & resources and collectively create a build with the basic functions working, then focus on adding increased stability.

My 2 cents
[Xperia Z2 Original Android Development] Envious_Data:
They all seem to be working on Getting mobile data working right now.

It apears stable enough to use daily but not exacly normal use ready.

Good idea tho.
[Xperia Z2 Original Android Development] brouwerchris:
http://tapatalk.imageshack.com/v2/14/11/17/101041a5accddb75f3caa9fcb0e9fd53.jpg

yet another build in progress...
[Xperia Z2 Original Android Development] cheep5k8:
Here's a quick heads-up from me: It is stable enough for daily use, but not everything works, yes.

Working in my WIP:

- Calls (everything)

- Texting

- Wifi (everything)

- Screen on/off (basically depends on a bug with Wifi: if Wifi is on, then the device doesn't reboot on screen off)

- Mobile data basiclly works, but you can't use it because there is an internal routing problem with netd. The modem connects fine, it shows 3G (or for me 4G), I even have an IP address from the cell tower, but Android doesn't manage to get the routing right, and I can't seem to do it either

- Proper backlight control (not like in the other ROMs; for the other devs: I had to change liblights for shinano for lib/hw/lights.shinano.so); I can control the backlight in the full range

- Notification LED

- All sensors

- Sound (except the sound routing is broken; you have to use an app like SoundAbout)

What doesn't work:

- Bluetooth

- GPS

We're all working on it. Be patient, people, we'll all have it soon enough.
[Xperia Z2 Original Android Development] adyscorpius:
Could the mobile routing be an issue with the hosts file?
[Xperia Z2 Original Android Development] cheep5k8:
I don't really think so because it's all IP-address based, not host name based, but I'll keep it in mind regardless.
[Xperia Z2 Original Android Development] lonely2k5:
can we get this img files?

i don't need gps for now (don't know where i'm going so gps is no use :) ) and also don't use headphones...

but would like to play with it a bit...
[Xperia Z2 Original Android Development] cheep5k8:
Definitely. I'm at work right now, I'll try to create a boot.img and system.img file in a break later on, you can use userdata.img from any of the other 5.0 Z2 ROMS. I'll make a top-level post when it's done.
[Xperia Z2 Original Android Development] lonely2k5:
thanks

i smell donation :)
[Xperia Z2 Original Android Development] Envious_Data:
If i have time ill make a flashable Zip and if i have even more time ill unpack your boot img and ill try adding a recovery

(slow computer=15 mins to boot ubuntu 14.10 LXDE)
[Xperia Z2 Original Android Development] furrypotato:
Flashble zip appreciated.

Not that I haven't used flashboot hundreds of times over the years, but with a 2 year old running around the room its safer with a zip.(he had unplugged cable mid flash once, luckily phone survived )
[Xperia Z2 Original Android Development] Myself5:
That's CM12: Running it on my Phone ATM too, no data at all tho :(

[MENTION=1077833]infected_[/MENTION] I was faster :P Check the Kernel build date :P

We might should talk to each other if we can help us somehow tho ;)

Maybe a SELinux issue ? SELinux managed to kick my ass in the last time, it was even resposible for CM12 not booting on my device. (Now it is tho).
[Xperia Z2 Original Android Development] cheep5k8:
To give you guys a sign of hope, an as I can't make screenshots (note the "shell@sirius".. it's the Z2):

but we still have the routing problem:
[Xperia Z2 Original Android Development] adwinp:
There are a few sources which might be affecting the issue:

1: changes to core/java/android/net/ConnectivityManager.java

2: changes to services/core/java/com/android/server/ConnectivityService.java

3: changes in system/netd

4: is netd run in the proper selinux context? Try disabling selinux

- echo 0 >/selinux/enforce

- newrole -r sysadm_r

- setenforce 0

- add selinux=0 in the kernel build command line args

5: does netd have the proper permissions? is it properly configured as a service in init.rc?

6: do we have the proper /system/bin/ip /system/bin/netcfg /system/bin/route set?

Are you having a competition with [MENTION=4340984]krabappel2548[/MENTION]? Maybe you both could collaborate instead of working separately on the same issues.
[Xperia Z2 Original Android Development] sindre2104:
Krabappel mentioned something in his thread about working with another developer.

Might be the guys in this thread hes talking about?
[Xperia Z2 Original Android Development] cheep5k8:
It seemed to be selinux... Now I'm facing another issue:

---------- Post added at 06:46 PM ---------- Previous post was at 06:46 PM ----------

We are already working together.
[Xperia Z2 Original Android Development] deepongi:
i didn’t know that i was even in some sort of a competition ... :)

check your inbox, i sent you a PM.
[Xperia Z2 Original Android Development] hotnikkelz:
All you guys are so awesome. Thank you all for the amount of effort you guys are putting into this. Love this community :highfive: I wish I had the technical expertise to help, but I'm a Chemistry major, all this jargon is like rocket science :)
[Xperia Z2 Original Android Development] m0rph3us:
Does anyone managed to get the kernel loading the modem firmware?

I'am trying the whole week now, but no success. It seems that adding the modem firmware files to /etc/firmare is not enough.
[Xperia Z2 Original Android Development] cheep5k8:
It works for me. I can send SMS and make calls, and basically have mobile data except for a small "big" problem.
[Xperia Z2 Original Android Development] plmaniek:
Try add -fno-pic top the makefile of kernel and rebuild kernel modules: make clean and make modules.

Or try modprobe or insmod the kernel modules.
[Xperia Z2 Original Android Development] adwinp:
Have you referenced the init.qcom.rc in init.rc? It contains a lot of firmware loading definitions, including modem.

Take a look at a 4.4 ramdisk. [MENTION=2203800]m0rph3us[/MENTION], see my post http://xdaforums.com/showpost.php?p=56855769&postcount=35 for new hints on fixing mobile data. This might just be it.
[Xperia Z2 Original Android Development] vendetta718:
So I was wondering, there are currently two other developers making android 5.0 work on the z2. Wouldn't it be appropriate to just combine the efforts and contribute to one Rom? or are we in a "Rom" race?
[Xperia Z2 Original Android Development] GeekyAndroid:
They are already working together but they have two threads.
[Xperia Z2 Original Android Development] pabx:
I had the same issue on the C6603 (Xperia Z) - your kernel is probably missing uid-based routing: The missing support freaks out netd and causes incomplete routing tables.

This should do it:

https://github.com/adrian-bl-yuga/k...mmit/768ec05fd4b48ffe02c2657e3d00b27a7184e199

..and this to avoid kernel-panic-funtimes:

https://github.com/adrian-bl-yuga/k...mmit/77c0a69a00ea86ef9b1121bc8de441d56cd321d0

(cherrypicked from the google-msm kernel)

If you need any help with the device bringup feel free to PM me: I got everything working on the C6603 (http://www.blinkenlights.ch/ccms/android/yuga-l.html) and the hardware of the Z2 is almost the same anyway.
[Xperia Z2 Original Android Development] MattJaO3D:
Bow down to [MENTION=3911109]pabx[/MENTION] , :) , awsome work you have done with the Z , one can wait patiently for the magic to come to our z2 (y)
[Xperia Z2 Original Android Development] XeKToReX:
Thanks for popping in [MENTION=3911109]pabx[/MENTION]!

Good to see you back after all the ruckus with KitKat on the Z, hopefully you can give the Z2 devs some good pointers and get our devices up and running!
[Android Software Development] Vervolf:
Hi all,

Eltechs launches emulator for running iconic RPGs directly on Android mobile devices

ExaGear RPG is an emulator for Android that allows to play classic PC versions of role playing games on Android devices. Aimed at gamers who love classic PC games ExaGear RPG gives them flexibility to play PC games on the go directly on their mobile devices. The main feature is deep customization of classic keyboard contorls of RPG games for touchscreen. Current controls are customized and adapted for:

• Fallout 1, 2 * (controls ‘Ferrum’ are recommended)

• Might and Magic VI, VII, VIII * (controls ‘Magnesium’ are recommended)

Customizations for a lot of cool games are coming soon!
[Android Software Development] berryman13:
This is nuts!!!!! Congrats on the release, I hope this works well compared to earlier attempts at a similar project
[Android Software Development] Vervolf:
Thanks! We will try to achieve a real good usability.
[Android Software Development] Sage:
How does Ultima 6 and 7 run?? :)
[General Questions and Answers] switchiomzy:
I am connected to wifi that blocks all chat related app from working - whatsapp,bbm,fbmessenger,viber,skype. But every other app works on it.Is there any recommended app or solution that can make the network not see them as threats or bypass it.
[Android Q&A, Help & Troubleshooting] QA Bot:
Q&A for Gionee Pioneer P2 Root & Custom Recovery (CWM-Unofficial)

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for Gionee Pioneer P2 Root & Custom Recovery (CWM-Unofficial). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Android Q&A, Help & Troubleshooting] kunal.solanki.965:
i tried the rom of walton primo f2 as told by you sir but its not booting up it only shows the logo of walton and nothing else is happening please help me sir or father will beat me
[Android Q&A, Help & Troubleshooting] Ku's Bin:
Hi sir,

I need TWRP new vesion....

---------- Post added at 08:34 AM ---------- Previous post was at 08:30 AM ----------

You did wrong the steps above or you have not installed CWM
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] piao:
Please help!

I have upgraded raido 1.29.00.11 form "Experimental", now I can't change radio to any version.....

How can I do?

Thanks
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] mousey_:
You've Probably Flashed Radio Bootloader 108 On To Your Device.

This Means That You Will Not Be Able To Flash Just A Radio Rom Any More. You'll Have To Flash A Whole Rom Just To Upgrade The Radio. There Are Notices About 108 All Over The Forum
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] piao:
Thanks for your information.

I already fixed this issue. ^^
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] wpbear:
If you accidentally flashed your Radio Bootloader, how did you go back to the previous version.

My guess is that you were already SuperCID and you had to load a complete older ROM to get back. Am I correct?
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] piao:
Yes, I had SuperCID.

My method was upgrade to latest ROM (Include SPL-1.09) and twice successive flash.

First, SPL will upgrade 1.09, but radio still 1.29.00.11

Second, Radio will upgrade 1.34.00.10
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Sleuth255:
not quite. Your radio bootloader is not downgraded. You can no longer flash radio in nbf with bl 1.04. You must flash in nbh using bl1.09. Then you can downgrade bootloader to 1.01MFG and flash os/extrom of your choice.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] liva:
So he can change radio or not?
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Sleuth255:
He can change. But he must start with a specific Bootloader and flash a full RUU in nbh. Then he must put on BL1.01MFG and flash seperate os.nb and extrom to change to the os build he wants. The "radio only" upgrades flash in nbf and will not work any more.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] liva:
ok thanks, i'm iterresting for radio upgrade only (after bigggg mistake Flashed HTC_BOOT 1.08).

SO no issue for me now:-(
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Sleuth255:
The key here is that Bl1.09 and radio bl 1.0108 work together. 1.09 will not allow the radio to upgrade unless flashed in NBH. Radio bl 1.0108 will not permit upgrades unless initiated from bl 1.09. If superCID is enabled then bl 1.09 will permit any operator's rom, flashed in nbh, to upgrade the radio.

I really need to flowchart this for the wiki... I barely understand this myself... :rolleyes:
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] apokryphus:
but why, after restoring all, bootloader 1.01mfg etc. it is still impossible to flash radio rom only?

i can´t get it.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] piao:
Actuality, I used this ROM "RUU_Hermes_HTC_WWE_2.05.255.1_6275_1.34.00.10 _108 _Test.exe".

After flashed, I don't change SPL to 1.01 MFG or 1.04, just re-flashed it again.

The radio will be change 1.34.00.10.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Ninja1:
Device BL 1.09 acts as the "key" for Radio BL 1.0108. By flashing to Device BL 1.01, or any other, you have broken the "key" and now can't access the radio rom...basically.

Ninja1
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Sleuth255:
radio bl 1.0108 won't allow upgrade to occur unless initiated by bl1.09. bl1.09 won't allow radio flashing in nbf (which is what all extracted radio rom only files use)