yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] Carlos_Manuel:
Dreams 5.3.0 (Lollipop 5.0.1):

System.img https://drive.google.com/file/d/0Bxl...ew?usp=sharing

Boot.img https://drive.google.com/file/d/0Bxl...ew?usp=sharing

Mobile data works.

Thanks to Ziyan for pointing out which commits I needed for kernel to fix RIL. :)

Kernel is here: https://github.com/DreamsTuna/android_kernel_samsung_tuna/tree/Lp-5.0-Test

I cherry-picked the commits from mwisbest's kernel repository as my modified older kernel branch didn't get built, as I forgot one commit and I wanted to make commits cleaner... :D

I still need to work on kernel... So for a few days I probably wont upload any new versions of this ROM....
[Samsung Galaxy Nexus] Carlos_Manuel:
I've disabled pie security feature for now, because of fRom binary.

Recording videos and capturing pictures works but not with AOSP's camera

on the recorded video, there will appear a green line, but I don't know why

Sometimes google play works and sometimes it doesn't work.

Root is not working and I don't know why. It should work, but something is wrong with it

Next version also should have appops enabled

It takes a while for Android to recognize Radio baseband and SIM card, (minute or two). I don't know if that is caused by SElinux stuff or just the commits on hardware/ril ...

The school WiFi still doesn't work for me on Lollipop. (2.4 GHz) which requires username and password to log-in... Connecting to AndroidAP Hotspot (Wi-Fi) worked fine..

For better performance I probably should use -O3 flags, some other optimizations and enable dexpreopt
[Samsung Galaxy Nexus] Carlos_Manuel:
Dreams 5.3.0.1 (Lollipop 5.0.1):

System.img https://drive.google.com/file/d/0BxlYDVLp_RkMYnB4NXVxY1MwSkE/view?usp=sharing

Boot.img https://drive.google.com/file/d/0BxlYDVLp_RkMT1ZkOTFFVE9JeTA/view?usp=sharing

The reason why I don't post a zip archive for flashing this ROM through a recovery is because KK compatible recoveries aren't compatible with lollipop and another reason why, is because this ROM (lollipop) is not stable enough yet.

The way how I flash this ROM, is using CWM to wipe cache and then to format system and boot. after that I boot my nexus into bootloader and flash those 2 images.

Dreams 5.3.0.1:

Selinux changes to the device tree (not stable and must be fixed some day)

-------------

A few changes for battery save mode (Gapps stuff)

system/etc/sysconfig/google.xml

system/etc/sysconfig/google_build.xml

--------------

config_recents_fake_shadows for better performance

AppOps enabled (it's not working yet)

Changes for kernel

Root is still broken.
[Samsung Galaxy Nexus] Carlos_Manuel:
Dreams 5.3.0.2 (Lollipop 5.0.2):

LINKS REMOVED!

Flash through fastboot

I've been trying to fix WiFi hotspot, but no luck yet.

Adb shell works

Updated to LRX22G

___________________________________________________

Could someone please tell me does WiFi hotspot work on other Nexus's Lollipop ROMs?
[Samsung Galaxy Nexus] h4xx0rr:
Wifi hotspot works on liquidsmooth 4.0 lp
[Samsung Galaxy Nexus] Carlos_Manuel:
OK, Thank You!
[Samsung Galaxy Nexus] Carlos_Manuel:
I had to remove the latest version 5.3.0.2 because of one change which broke accessibility to sdcrad (I forgot to test it) ad because I cannot get WiFi hotspot working. Also I don't know how to disable a SELinux.

If I cannot fix WiFi hotspot then I probably must give up and abandon this ROM or to move back into KitKat. Everything else seems to work fine expect root, screen record and WiFi hotspot.

Good thing is that P2P and internet sharing through USB works and the WiFi access problem I had, seemed to only happen with one single WiFi network.

I don't know if the WiFi hotspot problem is caused by a kernel or SELinux or what.. :eek: :confused:
[Samsung Galaxy Nexus] Carlos_Manuel:
WiFi hotspot is working now. I had one typo on device.mk which was the reason to non wokring WiFi hotspot.

Also.. I've updated a kernel with a few changes.

Next version will be available soon.. :p :silly:
[Samsung Galaxy Nexus] Carlos_Manuel:
Dreams 5.3.0.2 (Lollipop 5.0.2):

System.img https://drive.google.com/file/d/0BxlYDVLp_RkMTkVQVjlxS2lEdlE/view?usp=sharing

Boot.img https://drive.google.com/file/d/0BxlYDVLp_RkMUXVJVnZDWXViTFU/view?usp=sharing

I'm using these gapps: https://s.basketbuild.com/gapps

device/samsung/tuna (https://github.com/Dreams-Lp/device-samsung-tuna/commits/lollipop-release) :

restorecon changes from MWisBest's device repository - Thanks to him

hostpad to hostapd (FIX)

Add Grouper WiFi lines back to fix P2P

fstab.tuna: simplify /factory partition handling - Ty Ziyan

remove charger from device.mk (Not needed here anymore)

fRom seclabel line original: Ziyann/android_device_samsung_tuna@b1944ec …

tuna: Add ambient temperature sensor. - Ty MWisBest

kernel/samsung/tuna (https://github.com/DreamsTuna/android_kernel_samsung_tuna/commits/Lp-5.0):

gamma control: allow sysfw write access to all - Ty imoseyon

omapdss: remove warnings in gamma code - Ty imoseyon

Asynchronous I/O latency to a solid-state disk greatly increased - Ty kleikamp

defconfig: disable example rpmsg client/server spam - Ty Ziyann
[Samsung Galaxy Nexus] Carlos_Manuel:
​

I'm having problems using google play music on my nexus..

Google play muaic shows a notification that my "device does not support google play.." And when I try to play music, the player crashes.

Is anyone else having this same problem with this ROM or is it just me?

If others are having this same problem, then this is probably caused by the fingerprint on the build.prop
[Samsung Galaxy Nexus] h4xx0rr:
use apollo player
[Samsung Galaxy Nexus] Carlos_Manuel:
In fact I don't like CM's apollo player anymore and I will try to fix that play service problem to support it correctly on lollipop. :)

Anyways I would prefer this: http://xdaforums.com/showthread.php?t=1551747 instead of apollo. :good:
[Samsung Galaxy Nexus] Carlos_Manuel:
Next version of this ROM will have Android L audio pack, fingerprint based on Mako LP 5.0.1, a little modification to mac_permissions.xml, AOSP browser with CM-11 changes like auto hide url bar, incognito mode, maybe CM 12 materialized look for browser, etc.

but for now I'll just upload browser.apk for testing, if it crashes for you then please tell me...
[Samsung Galaxy Nexus] h4xx0rr:
Works great, no crashes :)
[Samsung Galaxy Nexus] Carlos_Manuel:
One of the goodies from next version of this ROM:
[Samsung Galaxy Nexus] Carlos_Manuel:
New version: 5.3.0.3:

boot.img: https://drive.google.com/file/d/0BxlYDVLp_RkMemx0VzN1NHNZcms/view?usp=sharing

system.img https://drive.google.com/file/d/0BxlYDVLp_RkMbnNDNjE2VlJIbms/view?usp=sharing

Instead of just enabling silent, users and airplane global actions, I decided to include advanced power menu from CM.

https://github.com/Dreams-Lp/platform_frameworks_base/commits/lollipop-release

https://github.com/Dreams-Lp/platform_packages_apps_Settings/commits/lollipop-release

Advanced reboot from CM

Samsung STK support to frameworks/base, ty rmcc

Clear all recents, ty 0xD34D

statusbar brightness control from CM

Screenshot delete, ty DvTonder & cypressious

ColorFade: Fix memory leak when screen turns on/off, ty Ayysir

Smoother Upload and Download Animation, ty mnm9994u

Keyguard: Enable quick unlock (1/2), ty Kufikugel

etc.

AppOps should be fixed
[Samsung Galaxy Nexus] AndreiVolk:
i searched in the thread but i didn't find nothing so don't get mad at me for the stupid question :P does the kk version of this rom have the 2g/3g tile ? :D
[Samsung Galaxy Nexus] Carlos_Manuel:
If I remember correctly, then the Qs tiles should be stock with rotation lock tile but no 2g/3g tile. :)
[Samsung Galaxy Nexus] Carlos_Manuel:
I have included some changes into this ROM's kernel from Grouper:

ARM: 7301/1: Rename the T() macro to TUSER() to avoid namespace conflicts

ARM: 7527/1: uaccess: explicitly check __user pointer when !CPU_USE_DOMAINS

CONFIG_NETFILTER_XT_TARGET_TCPMSS=y

SELinux: include definition of new capabilities

Battery life is pretty good, but some init untracked pid lines in the logs are bothering me. I don't know if those are caused by SELinux's denials or some things in the kernel. :eek:

I've tried to enable USB audio support but no success. I read this quickly http://www.head-fi.org/t/582179/samsung-galaxy-nexus/240 but I didn't find anything helpful.. :/
[Samsung Galaxy Nexus] Carlos_Manuel:
Working USB Audio:

https://drive.google.com/file/d/0BxlYDVLp_RkMLV80dUNpRTgyWEU/view?usp=sharing

Flash that boot.img through fastboot, no wipe is needed.

Sound quality through USB isn't good, but at least it works. I'm not sure if changing sampling rate for USB Audio will fix that problem.
[Samsung Galaxy Nexus] IceVip:
Carlos, if a usb headset like the Siberia Elite or V2 forst have led on it, can it by any chance light up when connected to the phone? cuz from the 3.5mm jack it doesn't work, but now that usb audio is working... any idea?
[Samsung Galaxy Nexus] Carlos_Manuel:
If it is supposed to light up led on the headset while connected, then yes (if the headset gets power enough).
[Samsung Galaxy Nexus] Carlos_Manuel:
Oh I miss KitKat :( I can't go back to KitKat because I love to have the latest version of Android on my Nexus. :silly:

Only bad thing with lollipop on tuna, is the RIL problem and performance. using old ddk makes this phone slower. RIL problem with sending long SMSs.

My plans on this ROM is to get better stability and better performance, but if you guys want to see some features on this ROM then you can make requests here:http://goo.gl/forms/2lEW5CLfxP

Next version should have:

Volume rocker seek feature

maybe: battery icons, battery percentage

I'm not sure what else.

Happy new year! :D
[Samsung Galaxy Nexus] lovejoy777:
HAPPY NEW YEAR MATE. hope you have a good one :D
[Samsung Galaxy Nexus] lovejoy777:
My new Sion app. for installing ota's and init.d scripts etc. https://play.google.com/store/apps/details?id=com.sion.lovejoy777sa.sion :)
[Samsung Galaxy Nexus] Carlos_Manuel:
I hope you have a good one too! :)
[Samsung Galaxy Nexus] Carlos_Manuel:
Going back to Estonia now.

I'll continue working on this ROM tomorrow.

About the feature requests:

"

Smart lock (trusted face)(after camera fix)

All features from kk roms (carbon and ls)

"

A: Smart lock should work fine with this ROM, but with NFC it may not work. To enable a Smart Lock, you will need GApps (I recommend these: https://s.basketbuild.com/gapps)

Enable PIN lock, swipe lock or face unlock and then..: http://www.cnet.com/how-to/a-quick-tip-for-using-smart-lock-on-android-5-0-lollipop/

Guys try to understand this is not any copy of another project so I am not going to add any "all features" from another custom Android ROM project(s). Sure I can think about adding some features from those ROMs but not every single feature.

Camera is working, but just AOSP's Camera app won't work until the API issues with the camera gets fixed for Tuna.

"

Long sms work

Torch

Camera

Speed and stability

Good Battery"

A: These are already included on this ROM but AOSP's camera is not working because of the API issues and that's why also a flashlight QS tile is no working. Sure I'm trying to get a better performance and stability into this ROM but I can't make any magic.

For better battery life:

Kill apps from running in background that you aren't using.

Don't use 100% brightness level

Use lower CPU frequency

Use battery saver (Volta) feature when you need a longer battery life

Fixing long sms:

That is a RIL problem and we have no newer RIL lib files to get this problem fixed so FOR NOW we must live with this.
[Samsung Galaxy Nexus] freshgiammi:
It never will, Carlos. Our hardware doesn't support Camera API 2. You'll have to force the rollback to Camera API 1 in the build.prop, otherwise you'll run into issues with the AOSP camera, or maybe even other camera apps.
[Samsung Galaxy Nexus] adrianbravom:
How i can rollback to camera api 1 to get aosp camera working?. Also, green tone is solved?
[Samsung Galaxy Nexus] Carlos_Manuel:
Honestly I don't know what's wrong with a proximity sensor. It actually works and during call it blanks screen like it should but if you touch the screen with your skin..., it'll react to that and chooses the thing you touched to.. I'm really dumb, because I don't know how to explain this. I don't know where's the problem. All the sensor files from my tuna device tree are updated correctly with the latest changes from AOSP (Manta, Grouper, ...), this and this

:eek:
[Samsung Galaxy Nexus] Carlos_Manuel:
Hi!

The reason why I don't upload a .zip package is because I have not built any custom recovery which is able to flash lollipop AOSP ROMs on Tuna. I'm using myself CWM touch recovery (6.0.4.8?) and I have not tried to flash this ROM with any other recovery.

So for now... I'm not going to upload any .zip package of this ROM.
[Samsung Galaxy Nexus] Carlos_Manuel:
Did you download the boot.img from here: http://xdaforums.com/showpost.php?p=57848953&postcount=1006

?

The one on the OP doesn't have USB audio enabled.

About fixing USB audio quality: I don't know. I'm not good with kernels at all and I can only test USB audio at home as I don't own myself any USB audio headset and I live in the dorm as long I go to the vocational school.

Guides about flashing these two image files:

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

Recovery: Wipe cache and dalvik cache

reboot into bootloader

In a botoloader (fastboot mode):

fastboot erase boot

fastboot erase system

fastboot flash system system.img

fastboot flash boot boot.img

Boot into recovery and flash GApps from internal storage or flash them using adb sideload. adb sideload gapps-package.zip
[Samsung Galaxy Nexus] Carlos_Manuel:
Np. :good: :)
[Samsung Galaxy Nexus] Carlos_Manuel:
This shouldn't be CPU's problem.

It's probably because of sampling rate or audio_hw.c
[Samsung Galaxy Nexus] Carlos_Manuel:
usb audio support is in the audio_hw.c, dumb me, I didn't notice it.. :laugh:

#define MIXER_PLAYBACK_HS_DAC

This is fixable.. I just have to make some research and tests later...
[Samsung Galaxy Nexus] Carlos_Manuel:
It's not in the system. It'll be built as a lib.

see: https://github.com/Dreams-Lp/device-samsung-tuna/blob/lollipop-release/audio/Android.mk

:)
[Samsung Galaxy Nexus] jrs007:
After i have installed the android 5 of this ROM (Fork my life) my GPS does not work anymore. (GPS Works only in my Fork my life) .

strange.... :rolleyes: :eek:

http://xdaforums.com/galaxy-nexus/development/rom-fml-fork-life-06-05-2014-v2-t2764064

Towards the perfect ROM

thanks guys
[Samsung Galaxy Nexus] Carlos_Manuel:
Make a clean install before flashing another ROM.
[Samsung Galaxy Nexus] jrs007:
I always do that. why I found strange.

he must have broken the GPS...:(
[Samsung Galaxy Nexus] Carlos_Manuel:
OK, I don't know.
[Samsung Galaxy Nexus] Reviz:
[edit]
[Samsung Galaxy Nexus] jrs007:
It only works when the 3G is disabled. :(

but thanks
[Samsung Galaxy Nexus] Carlos_Manuel:
Next version of this ROM will have probably only some minor changes and some fixes. I've been too busy with the school. :eek:
[Samsung Galaxy Nexus] Carlos_Manuel:
Dreams 5.3.0.4 (Lollipop 5.0.2):

boot.img: https://drive.google.com/file/d/0BxlYDVLp_RkMMzE4MXgwSnRtMm8/view?usp=sharing

system.img https://drive.google.com/file/d/0BxlYDVLp_RkMSmNvR3R6Y2hlRWs/view?usp=sharing

Just some minor changes and fixes.

frameworks/base/:

services: fix memory leak in ColorFade Lethargy@e30ccdb

device/samsung/maguro/:

maguro: fix long sms sending - Ty Ziyann

device/samsung/tuna/:

tuna: update storage_list.xml" - Ziyann/android_device_samsung_tuna@8c1a4fb

tuna: dumpstate: dump mmc0 properties" Ziyann/android_device_samsung_tuna@86e8a38

packages/apps/DSPManager/:

Update it with the latest CM changes...

______________________________________________________________________
[MENTION=5605825]Ben Feutrill[/MENTION] I had plans to try fixing it at home, but I was too busy..

So currently no changes to USB audio.
[Samsung Galaxy Nexus] Carlos_Manuel:
Next version of this ROM should have AOSP camera fixed. (The green line on the video cannot be fixed until I start using ddk 1.9 with the camera changes from mwisbest and ziyan. But.. that won't probably happen any time soon.)

Hopefully some optimizations to kernel for better performance.

Volume rocker seek feature

and maybe something else too.. :)
[Samsung Galaxy Nexus] h4xx0rr:
Why you don't start using ddk 1.9 to fix camera ?
[Samsung Galaxy Nexus] Carlos_Manuel:
Ddk 1.9 won't fix the camera.. I don't use ddk 1.9 (yet) because stability is more important for me than performance and with the newer ddk offline charging is broken...

:)
[Samsung Galaxy Nexus] h4xx0rr:
Is possible to fix these things on newer ddk?
[Samsung Galaxy Nexus] Carlos_Manuel:
offline charging works, camera works. Adb screen record doesn't...

With the newer ddk and with the camera changes ... You would get better performance but camera isn't working well (yet) and those who are using newer ddk on tuna, seems to experience video playback problems..

But.. I really don't know what kind of things does ddk 1.9 fix on tuna.. The development is still early..
[Samsung Galaxy Nexus] freshgiammi:
You should know that upgrading a driver, isn't intended to fix stuff, but to improve stuff, mostly.. And i wouldn't call it early since it's been a while we achieved that.

30% more battery life is a great deal.

Also ADB screen record is working. And it's not DDK breaking offline charging but probably DSS commits. Who knows.
[Samsung Galaxy Nexus] Carlos_Manuel:
1. I know upgrading driver won't always FIX something and I didn't even mean that.

The problem with offline charger on tuna's LP ROMs with new ddk is caused by kernel, that's all I know.

If I choose to keep original and to use old original ddk then I also do so.

GOOD if screen recording is working for you. but on my ROM it is not working.
[Samsung Galaxy Nexus] freshgiammi:
I wasn't judging you bro, keep calm.

As For ADB screenrecord, check out omnirom's framework_AV repo, android-5.0 branch, i committed the fix there.
[Samsung Galaxy Nexus] Carlos_Manuel:
if you mean "MediaBuffer.cpp: fix screenrecord abort issues" - That's already included..
[Samsung Galaxy Nexus] disclwd65:
is it possible that this rom comes in a flashable zip?
[Samsung Galaxy Nexus] Carlos_Manuel:
I tried to make the USB audio output quality better, but no luck. If I change sampling rate or format, then Galaxy Nexus just reboots while USB audio headset is connected. And currently I have no idea what else to try... :laugh:
[Samsung Galaxy Nexus] Carlos_Manuel:
Next version of this ROM will have some changes in kernel and device tree and USB audio seems to be currently broken but I test it again later.

Volume rocker seek feature from SlimRoms - thanks to mnm9994u

Working flashlight tile (retry EGL config without EGL_RECORDABLE_ANDROID) - thanks to ziyan for giving me the link to this commit and thanks to stargo for the commit..

Revert: "tuna: update storage_list.xml" (May be temporary)

Use USB audio dynamic channel mask (Need testing)

Force API1 for camera

Update full_base.mk

etc.

Which also means this is getting pretty stable.

proximity sensor must get fixed correctly...

Camera2 won't work well every time so I recommend using another camera like for e.g. Google camera from play store..

Currently I have no plans to fix or work around those screen glitches

I should remove CM's root if I cannot get it working.
[Samsung Galaxy Nexus] Carlos_Manuel:
USB audio seems to work fine now.

Even thought audio quality is still a bit choppy. :confused:

I still have to make some changes into kernel and device tree before uploading a new version of this ROM.
[Samsung Galaxy Nexus] Carlos_Manuel:
Dreams Test version:

https://drive.google.com/file/d/0BxlYDVLp_RkMNHF2Zk9ON2ZqVHM/view?usp=sharing

https://drive.google.com/file/d/0BxlYDVLp_RkMVXhha055T2R0M1k/view?usp=sharing

Could someone please test camera if it works fine like before or is it working worse than before.. ? :p

This test version uses Ziyann's dumpdcc binary and doesn't use fRom anymore. For me camera seems to be working fine, even though I haven't made a clean install.

This test version also includes the USB audio changes and volume rocker seek feature

+ https://github.com/Dreams-Lp/platfo...mmit/496e3cdd6cc3efb0553d8ec96dec1546ef7a388b to avoid a screen burn-in.

(Formatting system and boot is required) fastboot erase boot && fastboot erase system

wipe dalvik cache, wipe cache...
[Samsung Galaxy Nexus] Carlos_Manuel:
For now I am not going to make any other changes for USB Audio.

I'm focusing on the performance now.
[Samsung Galaxy Nexus] santi1993:
How can admins refers the rom builder to hid own Q&A post?

Wtf :V

Sent with love @LS 3.2
[Samsung Galaxy Nexus] jrs007:
Root on lollipop

For now those who want the root can make the flash Supersu 2.45

http://download.chainfire.eu/695/SuperSU/UPDATE-SuperSU-v2.45.zip

;)
[Samsung Galaxy Nexus] ashclepdia:
that is just something that is added to final post on development section threads (I'm pretty sure is on all Dev section threads, or at least all ROM threads) so that people hopefully see it before adding a new post, I had thought the same thing when they first started doing that and I saw it all over the place in Tapatalk app in bold. then I realized it's just added to the end of thread regardless who posted last, it just cascades to the bottom upon each new post....

I remember thinking to myself at first "wow, are they really going thru EVERY thread and posting that on every reply containing a question?

(sorry for off topic tangent ramblings don't mind ash.......)

---------- Post added at 11:47 AM ---------- Previous post was at 11:40 AM ----------

regarding audio choppiness

have you considered looking into the audio changes I believe done by [MENTION=3390093]MWisBest[/MENTION] ? I seem to recall reading about some changes done to audio buffer or something that helped to reduce latency as well as lower hiccups/choppiness, not sure if it would apply to USB audio as well or not. just thought I'd throw the info out there tho you devs are always five steps ahead of anything I suggest anyways cuz that's just what you DO :D ;)
[Samsung Galaxy Nexus] Carlos_Manuel:
mwisbet's chnages are mostly optimizations and audio flac changes, no usb audio changes.

Galaxy Nexus doesn't have officially USB audio support, but kernel supports it (also twl6040 supports it(DAC)) and now when also LP supports USB audio, I thought I should enable USB audio support from kernel and make changes to device tree to support USB audio.. but because I don't own any USB headset, I cannot make a lot of tests with it. :)
[Samsung Galaxy Nexus] Carlos_Manuel:
Dreams version 5.3.0.6

->

boot.img: https://drive.google.com/file/d/0BxlYDVLp_RkMTEE4R21oaElIWGs/view?usp=sharing

system.img: https://drive.google.com/file/d/0BxlYDVLp_RkMMWZsWlhCZXJfMVU/view?usp=sharing

Sepolicy changes to vendor_ds

Sepolicy changed to tuna device tree

Koush's root removed, replaced with CM's extras_su which unfortunately requires privacy guard, so that one will be removed too.

Removed CM's DSP Manager and removed MusicFX.

CM's AudioFX

device tuna:

sec_jack.kl: Follow Google: "Remove stale keylayout annotations"

Replace fRom with dumpdcc: Ziyann/android_device_samsung_tuna@54ca11d

debug.hwui.render_dirty_regions=false

audio-effects: Remove DSP Manager related lines

power_tuna.c: boostpulse_duration

Settings:

Settings: su: Remove the superuser app

Browser:

Browser: Added DuckDuckGo as search provider

Show JS alerts over their origin tab

...

Kernel:

pstore: selinux: add security in-core xattr support for rootfs, pstore and debugfs

https://android.googlesource.com/kernel/common/+/563897de4a217ee19a4dfbade23d75a0ef024550^!/#F0

And some other minor changes..
[Samsung Galaxy Nexus] thelgog:
i might be the biggest noob asking but can this be flashed on the toroplus and have working data
[Samsung Galaxy Nexus] Carlos_Manuel:
Nope. Toroplus needs different changes to get RIL and some other things working.