yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] lunafag:
[MENTION=6175749]GalaticStryder[/MENTION],

Considering you also develop your kernel I'll just ask everything here.

You said there's some potential to be unlocked regarding audio, I always wanted to know what exactly does switching the value of COMP1 Switch in mixer_paths.xml in the "headphones" path from 1 to 0 and why does it fix hissing in the left headphone speaker? Is it possible to bypass Android's audio system limitation of 16 bit 44.1KHz without using an external amp? Also external amps didn't seem to work the last time I checked(I tried using Eleven, Neutron and Onkyo audio players), mice and keyboards worked fine.

Another question, about the GPU. Did you ever try using freedreno drivers? Not only they are open source but they improve performance of some operations up to 100%, according to the Dolphin devs.
[G2 Android Development] android extreme:
Yeah time ago i've tried your cyanogenmod evolve and i must tell that was a fabulous rom fastest and smoothest(compared to the rom of same period). I think that the advantages of heavy code optimization should be seen in heavy games because they push to the limit a device(most of the time because of a poor code optimization on game side obviously)observing the fps and his stability. It's impossible in my opinion see the difference using the phone just for whatsapp or other social network(apart from facebook maybe;)). Obviously i respect your point of view, android is beautiful because various, and this is just a friendly discussion i don't want to criticize your work.
[G2 Android Development] GalaticStryder:
Well, the answer is quite long but I'll suppress the max I can.

When we want to get a given upgrade, let's talk about audio upgrades as it's the main concern here, we need to patch the kernel for it beforehand. We can add 48kHz support as an example and offload support in the code. After that, we need to patch the Android hardware (qcom) audio to be able to access the new features and use them.

E.g.:

Real Hardware <-> Kernel <-> Android "Hardware" backend <-> Android Frameworks A/V <-> Android application.

Using an audio controller driver:

Audio Hardware <-> Kernel Taiko Controller (G2) <-> Kernel Userspace Controller like Faux <-> Faux application or STweaks <-> Android A/V and Android "Hardware" backend for media playback <-> Android application

This is much bigger, the V4L driver and other codecs that have their own controllers in the main frame would be in the middle of all this.

All this depends on the device's hardware, when I applied the Ultra Low Latency driver support I couldn't get any kind of sound playback on my device even the DTS table and harware supporting it.

Same for GPU. How's gonna write the Android backend for freedreno support? I heard of it in KK times but nowadays Qcomm owns this game by far. We use free software when possible, I won't break functionality because of ideology.
[G2 Android Development] remix2:
Just did a clean install

1) My phone instantly rebooted after the initial setup wizard.

2) After that, it kind of resumed (did not ask for wifi password, etc) but while logging in the theming engine crashed.

3) Currently it is still restoring my previously installed apps from play store, crashing theme engine every time an app finished installing

4) Settings -> Themes leads to another FC

Dispite things being a bit wonky in the beginning, everything works quite well once gettting to the point where everything is set up nicely.

Looking forward how the OTAs turn out.
[G2 Android Development] artemiya:
where is Halo mod in this ROM?
[G2 Android Development] khanjui:
Not included yet.
[G2 Android Development] dnyarm:
Lg g2 805

Hi, I'm chilean. I'm new in this, sorry for my questions and my bad english

If I have a lg g2 805 with cloudy 3.3 [android 5.0.2] , what should I do before install this rom. (bootstack ot bootloader, I do not understand any of it) Step by step please :c

appreciate your answers :highfive:
[G2 Android Development] GalaticStryder:
# Update no. 2 [OTA] [07/15]

Paranoid Android has been updated, get your build at Android File Host.

If you are already running PA, just download tap the notification and it will start downloading.

Changelog:

[B]Android:[/B]
Added zramstreams for fs_mgr to allow fstab to specify this argument
Fixed memory corruption from BLKGETSIZE
Use fsck.f2fs -a instead of -f for faster boot
[B]LG G2:[/B]
Use libOpenCL, mpdecison and libqti from OnePlus One
Add Doze support from OnePlus One
Fixed baseband script when selinux is enforcing
[B]Kernel:[/B]
Updated video drivers (vidc) from mainline Lambda Kernel
Updated camera drivers from mainline Lambda Kernel
Send KEY_WAKEUP for D2W

#!/system/bin/su

Dirty flash:

If you use system-less root, reflash your SuperSU zip + bump in order to avoid security boot error.

OTA:

If you use system-less root, go back to recovery after OTA has flashed and reflash your SuperSU zip + bump in order to avoid security boot error.
[G2 Android Development] errikosd:
Hi, I just want to say thank you for bringing PA to the G2, but most of all thank you for your work on porting it efficiently. The 0710 build works magnificently. Kudos.
[G2 Android Development] Eselter:
This rom doesn't have double tap to sleep feature in status bar? Or I can't find it?
[G2 Android Development] dnyarm:
Lg g2 805

Can anybody help me? :(

ultimately by private message
[G2 Android Development] khanjui:
Doesn't have.
[G2 Android Development] GalaticStryder:
Being your device D805 or D806 for non-LG firmware it's just about being a D802. Close your eyes and say:

This is an LG G2 D802, though performs and feels like a Nexus 6. I'm thankful for the screen I've got and for the community around me.

- Backup your data to your PC.

- Install a custom recovery if ya don't have one yet.

- Wipe dalvik/art cache, system, data and cache to avoid hassle. Userdata isn't a must but helps to vanish app caches stored in /sdcard.

- Flash the D805 bootstack that you'll find here: http://xdaforums.com/lg-g2/development/boot-g2-hybrid-bootstacks-t3183219

- Flash PA 6.0.1 latest + open gapps mini.
[G2 Android Development] mb0n.ndan:
Which better cm13 or the new paranoid?
[G2 Android Development] Crowbar Asdfghjkl:
If you are talking about CM13 NIGHTLY (it does not have a SNAPSHOT update for like forever now), you can choose between having more features (CM13) or being more stable (Paranoid Android), though I'll have to admit Paranoid Android's "floating peek" feature sold me.
[G2 Android Development] ghost141:
Does anyone here having a problem when playing music?

I can't play any music at all. Expect sound on video like youtube / instagram is working fine.

I did do clean flash and use opengapps nano.

If you dont have this problem, would you kindly share your step?

Thanks
[G2 Android Development] ChaosD:
I also have no sound in play music. Theme Settings still crash for me (anybody else, too?)

I just took the latest OTA and had to reflash gapps. Is this the normal behavior? When installing the update it said something about backing up my installed apps in TWRP so I thought gapps might survive the update.
[G2 Android Development] ytgbg:
Try flashing ViPERDD_5.5_Sony_Beats_Edition after rom and gapps. I never had sound issues on PA, but I am always flashing this particular version of Viper and never had problems.

For Themes FC try to clear data and cache of the app and see if this helps.
[G2 Android Development] GalaticStryder:
The music format, player and codec are very basic info that everyone should supply. One posting that one has issues on audio playback without covering the information needed is just creating dummy posts.

Supply the same information I said above. If possible, attach dmesg and logcat files.

Confirmed, music playback on speaker is not working.
[G2 Android Development] mb0n.ndan:
Really? Paranoid is more stable? How that can be? [emoji16]
[G2 Android Development] khanjui:
Use and see yourself.
[G2 Android Development] ghost141:
music player that i'm using is google play music.

It's a mp3 file and got 320bit rate.

Codec? Can't find it on the file details.

And also, the previous apps like game are getting mute when there's a notification ring.

Anyone face the same experience?

With this, i also confirmed that dev are very rarely playing a single music on his phone.
[G2 Android Development] artemiya:
please add more features for customize in this ROM.thanks.
[G2 Android Development] errikosd:
Regarding the music playback, Spotify, VLC and PowerAmp work okay. However, I cannot get any sound out of FX File Manager. That's all I have tested.
[G2 Android Development] paul89rulez:
Use Aicp if you want more features.
[G2 Android Development] TSLNL:
My alarm only vibrates once when my flip case cover is closed, if the cover is open it vibrates all the time which it should.

Is there any fix for the alarm to vibrate all the time when the cover is closed? It works in CM, but I really like PA.

Thanks in advance
[G2 Android Development] GalaticStryder:
I'll track down the code, can you get us an 'adb logcat' when the alarm rings with closed cover? Without it I'd go pretty guessing where the code is, with logcat I'd go more accurately. You'll need a PC for this purpose.

Sorry, I don't listen to local music at all. The issue would be there forever if you didn't post it, thanks.
[G2 Android Development] friedandroid:
Alright! I'm finally seeing light. Ive been waiting for Paranoid Android like forever for my G2, tried bliss, rr, and now DU. Guess the beast has come. Will you support F320 soon? Id like to know, sir. Thanks! More power!
[G2 Android Development] ChaosD:
I already cleared cache twice and did nothing fancy, just a clean install with gapps. I don't really need themes, so I can live with that. Just wanted to check if anybody else has this problem.

About the music: i tested it with the sample tracks on play music, not sure about the codec and bitrate.
[G2 Android Development] Hiyaslalabs:
How to install on D802? Clean wipe, flash bootstack, rom,gapps only? Thanks.
[G2 Android Development] divensi:
The Theme Manager worked and stopped showing the FC after I cleaned the data of the Theme Provider app (You have to click Show system apps of the overflow button on the App manager for it to show up), and music worked after I flashed Viper4Android (the speaker sounds kind of bad and too loud, but is better than nothing (sounded better on CM13, here's hoping I didn't bust the speakers with it)).

Besides that, no random reboots or slowdowns so far, and the battery life is pretty good, pretty stable rom overall.

Definitely staying Paranoid again .

07/15 PA build with OpenGapps Stock and Viper4Android (no music without it for me)
[G2 Android Development] jl10101:
[MENTION=6175749]GalaticStryder[/MENTION] Just seen there is a new build (07/15), thanks! - going to give this a try. Shall I report back regarding Proximity check on wakeup?
[G2 Android Development] GalaticStryder:
The music problem will be fixed next update, already running the patch here for testing with some old ripped CDs in a couple of formats (ogg, mp3) with offloading and gapless enabled in Kernel and device trees, this looks dope (almost close to stock).

It's working for me, but if you put like a paper in front of the prox. sensor it will not wakeup for 30s to 1m. Not sure why there's a time protection on it on PA cause I haven't had much time to look at the prox. code in frameworks.

Also, it only works with "double tap", power button should always wake the device as default behavior.
[G2 Android Development] jl10101:
Awesome! This was the default behaviour for some time with Temasek (before the latest builds of the last month or two).

Maybe it is something to do with the reset time of the sensor. Just a thought.

But I absolutely agree that the power button should work regardless, but it seems CM13 is far more concerned about the physical button being disabled when proximity sensor is covered, which makes no sense to me. Thank you!
[G2 Android Development] TSLNL:
Here's the log:

https://drive.google.com/open?id=0B8NVCgAKIhbmUHlZbVdZLUNPQWM

My alarm was set to 18:03.

Thanks for the awesome and fast support!
[G2 Android Development] TSLNL:
I also came across a new bug/issue:

If you turn your phone completely off, and you try to charge it, the phone will boot itself and when the lockscreen appears, the screen won't respond to your touches and you are unable to unlock your screen or turn off your phone.

I had to hold my power button down until the phone shut down.

When you unplug your charger and boot the phone by yourself, everythings works great again.

Anyone else having this issue or can reproduce it?

I hope there will be a fix for this as well!

Thanks in advance
[G2 Android Development] METEMEDO:
Doesn't this come with root? I've rooted, installed TWRP, flashed this rom + gapps and everything works fine except for root (root checker says nope). Is there a quick way to enable root now (through TWRP or something like that)?

[EDIT] Oh, I just found a Chainfire's flashable SuperSU!
[G2 Android Development] dnyarm:
Lockscreen wallpaper

How I can change the lockscreen wallpaper? "Lockscreen changer CM 13" doesn't work
[G2 Android Development] METEMEDO:
Noo! I flashed Chainfire's SuperSU through TWRP and now the phone doesn't boot!

It gives me a "boot certification error", just like in this pic:

http://s28.postimg.org/xtglkbhml/IMG_4315_3.jpg

Now, do I have to wipe everything and flash the rom again? Or is there a way to fix this?

Also, if this is not the proper way to root after installing the rom, which is?

[EDIT]

Btw, the SuperSU that I've tried flashing is this one:

https://download.chainfire.eu/969/SuperSU/UPDATE-SuperSU-v2.76-20160630161323.zip
[G2 Android Development] jeebspawnshop:
Go here and educate yourself;

http://xdaforums.com/lg-g2/general/bump-supersu-t3273251

And don't post about unrelated things in this dev thread.
[G2 Android Development] thiagocnet:
I can reproduce this.
[G2 Android Development] UncleRipper:
Is this suitable for daily usage? I've read about few bugs, how's going overall?

Btw I appreciate so much your work galacticstryder!
[G2 Android Development] GalaticStryder:
Yup, pretty close. I'd say if you stream your music you're good to go. If you download music (wmv, mp3...) then you will need workarounds to get playback going 100% on speaker at least from what I've seen from the reports.

PA gerrit has just open and I'm filling it up with changes, won't take much time to look at this two issues (the power off charging mode and playback of mp3 files on speaker).

All the rest seems stable and solid.

To get the guts:

- Flash PA

- Flash Gapps (banks)

- Flash Viper4Android (to get your codecs we don't ship as CM does)

- Flash my mainline kernel for D802

This is my setup for two weeks or so. No reboots, no hassle... Just the poweroff issue but since I use force fast charge, I don't care too much.

Try 'chmod 755 /sbin/healthd' as root. Didn't test myself but this might work.
[G2 Android Development] ghost141:
everything is working PERFECt expect playing music,

but it does not really matter for me since i only use this phone for Call, Chat, and Mail recently.

Recommended? Yep.

Thanks for the awesome dev. :D

:silly: anyway, where can i get the mainlime kernel?
[G2 Android Development] errikosd:
[MENTION=6175749]GalaticStryder[/MENTION] by saying "mainline", I guess you mean "incremental", right? Great ROM by the way, nice and clean, thanks a lot!
[G2 Android Development] TSLNL:
I have tried it and it does NOT work.

Thanks for looking into it though, I'm able to test more settings if needed.
[G2 Android Development] dnyarm:
Any help to change the lockscreen wallpaper?
[G2 Android Development] Kaleshwar:
Is this flashable on the D800 model?

---------- Post added at 04:14 AM ---------- Previous post was at 04:10 AM ----------
[G2 Android Development] GalaticStryder:
No, don't do this. We're working on getting most variants officially supported and ready for the next release.

Look at our gerrit.
[G2 Android Development] Animuxijk:
Hi,

I tested this rom a while ago and had to go back to Google Edition because of the music problem (flashing viper didn't solve it). Is the bug still here? I'd really run this rom as my daily driver :(
[G2 Android Development] GalaticStryder:
Yes still there, we're working on FFmpeg plugins to extend support. Don't know if next official release will fix it, though unofficial can fix it when I find out.
[G2 Android Development] Kaleshwar:
Ahh I see now. Thanks for the clarification.
[G2 Android Development] adaytoremember:
Is anyone experiencing problems with themes/theme chooser? Some of my themes dont fully apply, leaving some UI elements unthemed... Other themes apply, but when I reboot I get systemui force closes. There is no bootanimations options in theme chooser.

I can reproduce the systemui fcs if I apply certain theme, if that helps...

This is a general bug, thanks for the clarification.
[G2 Android Development] khanjui:
PA bug.
[G2 Android Development] liusi522:
I want to build it for my f320，but I failed.

I repo sync source , it often prompts：

fatal: Unable to create '/home/liusi/aosp/.repo/projects/prebuilts/qemu-kernel.git/shallow.lock':File already exists.

If no other git process is currently running, this probably means a

git process crashed in this repository earlier. Make sure no other git

process is running and remove the file manually to continue.

When I delete it，It prompts the same error.

China's network may be restricted, too bad:crying::crying::crying:

---------- Post added at 06:34 AM ---------- Previous post was at 06:13 AM ----------

You may already have the device for f320，this is my https://drive.google.com/open?id=0B5zBWJ7WYWMpMTBGcWMyb0dLUWM

The fstab.g2，Replace this file to the device_lge_g2-common/rootdir/etc/fstab.qcom.Then f320 can use the external card.

Sorry for my poor English.Thank you for your great work.
[G2 Android Development] UncleRipper:
Hi, this rom is not bad at all, but it has some lack of features.

First thing is the lack of root. You can flash supersu but with a fix. You should have said that in the OP. Because i bricked my g2 in this way. (If it was said excuse me for being a total noob :) )

Other features that I missed are dt2s anywhere on lockscreen and in the status bar, determined by the fact that we have the power button in the back.

I know that you are trying to keep the rom as close to stock as possible but these things can simplify user's life a lot.

With that said after the setup of the rom I rebooted and flashed supersu, viper and your lambda kernel in this order. After that was all ok, for a day or so. Next day almost every app had crashes. Restored a backup of that rom fresh and clean. Now I have the same setup (root kernel and viper) but no crashes or other strangeness.

Maybe I was only unlucky.

Overall the stock feeling of this rom is really nice, but I miss some features. Recommend to give it a try!

As always thanks to the developer for his efforts and hours spent to give us a great experience.
[G2 Android Development] GalaticStryder:
Features | Happening in %

Root | 0%

DT2S on status bar | 60%

DT2S on lockscreen | 20%

Root at your own risk. It's not my fault if SuperSU doesn't detect you need bump.
[G2 Android Development] UncleRipper:
Totally my fault here, I was ignorant, so it's all my fault.

I'm okay with root not be present in the future and I'm happy to see that you are considering the dt2s!

Cheers! :D
[G2 Android Development] drc007:
I got the "wizard has stopped" at first Android boot and got stucked.

---------- Post added at 04:33 PM ---------- Previous post was at 03:53 PM ----------

Is there D805 support?
[G2 Android Development] UncleRipper:
Maybe gapps fault for the wizard.

11 posts ago galacticstrider said something about the support of other devices
[G2 Android Development] TSLNL:
How about controlling the LEDs (enable/disable) and controlling volume button (control media volume/ring volume?
[G2 Android Development] GalaticStryder:
Really don't know, what I can tell is that PA has an internal branch to work on features and stuff. I don't know what they might be adding or not, though I can tell the release is probably gonna be out for most LG G2 and G3 variants officially right after it comes out, all my patches were pushed to AOSPA and merged yesterday/today.

Flash D802 package for D805(BR) and D806(AR).
[G2 Android Development] ChaosD:
Does anybody else have the problem that the phone sometimes does not unlock? Sometimes it works after multiple presses, sometimes not and sometimes there is no problem at all. Pressing two times fast to open the camera always works.

I usually use DT2W then but it is still rather annoying.
[G2 Android Development] Pacer_456:
To those who really want to try Paranoid Android and are really impatient and don't want to wait for GalacticStryder to build other restraints (seriously, you should wait.), you can do a few things to make it work on your device.

Step 1: Download rom, unzip and edit the meta in updater script to change d802 to your varient, then rezip the contents of the folder, not the folder itself. For example, lets say the rom name is AOSPA.zip. In side the zip there should be the roms files,AOSP.ip/(rom files)/, make sure it is NOT AOSP.zip/AOSPA/(rom files)/.

Step 2: Copy to your device and also copy the gapps, supersu etc. if you want to, and Lambda kernel for your device.

Step 3: Enter TWRP, wipe, flash rom, gapps and supersu if you want it, and remember to flash the kernel.

And enjoy the sweet love!

Working on my d800, and another variant which I cannot remember.
[G2 Android Development] GalaticStryder:
No, see post #142 for details on features.

Definitely recommend waiting (D802, VS980 and LS980 are ready). This "trick" should work on GSM variants, if you do it on CDMA variants the phone will be useless (as a phone).
[G2 Android Development] Romagnolo1973:
The rom is fast and stable and with your beta kernel works great!

I noticed just little issue:

- if you reboot in airplain mode at boot clock is 1 january and this is not a good thing if you have scheduled an alarm clock at the morning

- rebooting i saw that in kernel Hypnose last beta GPU (MSnAdrenoTZ choosed) is set at 650 MHZ even if I previously set it a 200 MHZ, so i have to change it everytime I reboot. I'm using KernelAdiutor to set kernel value

- I have tryed several file explorer and no one is able to detect my USB key in OTG, I have to use the file explorer you put in the rom (that can see my otg but is really basic) and move files with it from usb key to internal storage and then I can use a different file explorer to manage the apk or the file. Probably this issue is due to MM and not related to your rom ad in fact I have solved it using Total Commander
[G2 Android Development] GalaticStryder:
# Update no. 3 [OTA] [07/31]

There we go, pushed latest builds to AFH. Hope everyone updates to get the best experience as possible.

Changelog:

- Synced the latest code from AOSPA - it's the same code from older builds for mostly everything

- Patched healthd (charger) to be compatible with our device

- Merged full support for LGE camera drivers in camera app

- Patched music playback issues with QCOM audio drivers

- All my unofficial changes were removed because PA team is approaching the next source code/firmware release soon

- Doze service from OnePlus was also removed due the arrival of the next source drop from AOSPA

- Updated the OTA service to download the latest build for D802 variant

- Pushed support for VS980 variant

DOWNLOAD

Before you asking, the OP will be updated to contain more information and everything needed when official builds for next release start rolling out.
[G2 Android Development] Pacer_456:
Awesome, can't be ask to update again because I have a d800, but I can say this is one of the best roms I have ever used. If you need a tester for d800 then I don't mind ;)
[G2 Android Development] GalaticStryder:
All variants or at least the five main ones are on queue for official support. This makes my life much easier, uploading is my worst enemy.