yashsingh1/xdaforums huggingface dataset:
[LG Optimus Black] xonar_:
Glad that someone is still developing this phone. (I'm eager to move on to my next phone though. My ones just about reached the end of it's life time and is currently hanging on a very thin thread)

Google made some changes to the SurfaceFlinger in 4.4 and without updates to proprietary binaries that might be an (almost) unsolvable bug. Even the Galaxy Nexus guys are having a hard time dealing with that challenge.

Sorry that I never got back to you with the SmartReflex thing. (I don't have time to properly go through those trenches of undocumented code)

Regards
[LG Optimus Black] Evisceration:
worst case scenario would need some reverse engineering, but im optimistic that we can do it :)

never mind about smartreflex, i just split it.

default has no OC, optional OC flashable zip for phones who can handle it.

thanks for everything you did, you really helped me a lot back these days :)
[LG Optimus Black] cevrepinar:
Is that 4.4 ?
[LG Optimus Black] jzetina:
How's battery life in 1.0.6? I like the ROM but I need a decent battery life.
[LG Optimus Black] tramp20:
Hi,

I would really use your ROM, but without a functional GPS it makes no sense for me.

I used the latest fix of dcop7 which helped really with the ROMs of Huexxx and Mackay.

I noticed that these two ROMs have always 4 datafiles in \data\gps, your ROM has only one. Perhaps this is the cause that your ROM cannot compute the correct position.

Please look at this problem, it is more important as overclocking and new themes and so on.
[LG Optimus Black] Evisceration:
gps always worked for me, proven it quiet some posts ago when comparing the gps of this rom with the one on my galaxy s4.

//Edit

got the phone now.

1) Smartflash, rooted and installed CWM

2) formatted all partitions in cwm

3) installed Velox 1.0.6

4) installed GAPPS

5) downloaded Maps

6) turned gps on

result: http://d-h.st/Xy3

note, the star marks my home, in which i was during the test.
[LG Optimus Black] Dumbelek:
1.0.6 preview working fine for me :good:

(only daily use not tested all features)
[LG Optimus Black] Evisceration:
thanks for reporting, removing the preview state then :)

next release will be tested by me again :D
[LG Optimus Black] mint-an:
just got this

unfortunately, the process com.android.phone has stopped.

if i boot the phone the error message displays all time cant even reach first cyanogenmod screen

full wipe/reset and only flashed 1.0.6

cant logcat, usb debugging deactivated

ill do a fullflash now, maybe it resolves error
[LG Optimus Black] tramp20:
I cannot count how often I did a fresh install (full wipe) of your ROM and never got a fix, I only saw 1-3 sats in "GPS Test" or similar apps and these sats were outside of the sky (that means the apps cannot compute the position).

And of course other apps as Locus Maps or Copilot did not get a fix too.

Please make a test with

"GPS Test" (https://play.google.com/store/apps/details?id=com.chartcross.gpstest) or

"GPS Status" (https://play.google.com/store/apps/details?id=com.eclipsim.gpsstatus2).

And please look in \data\gps how many files you see after an AGPS update.

I am really desperate :)

Edit: GPS should really work with all apps not only Maps.
[LG Optimus Black] mint-an:
full flash done same error

unfortunately, the process com.android.phone has stopped.

okay redownload 1.0.6 now

if the error is still there your build has same garbage
[LG Optimus Black] Evisceration:
i also wrote it at the third post, these apps dont display a fix but gps works.

installing copilot and locus maps as you said to test.

didnt get that, but seems a recent CM commit causes trouble at some places (the sms middleware one) and causes other phones to make the phone service crash as well.

not experiencing that on jfltexx, gt-i9100, gt-i9300, e975 and p880, so seems only older phones are affected.

looking into it.

// Edit

Flashed 1.0.6, works.

Flashed the Overclock Kernel afterwards, got "unfortunately, the process com.android.phone has stopped."

Flashed 1.0.6 again, works.

please try without flashing the overclock kernel.

Tests still going on.
[LG Optimus Black] mint-an:
ok hope you can fix it,

i tested with and without simcard and got just the same error.

redownload doesnt help, md5 sum is correct

würde dir wirklich gerne eine logcat liefern, muss aber passen komme nicht mal zum cyanogenmod screen beim ersten start

If i deled sms app, should the isue be gone?
[LG Optimus Black] Evisceration:
i will do some testing and upload another version. :)

just got my phone some hours ago today, so didnt have enough time to do a comprehensive test.
[LG Optimus Black] Dumbelek:
how to use zRam on 1.0.6?
[LG Optimus Black] Evisceration:
Settings -> Performance.

it will open built-in performance control.

then go to the tab "Memory Settings", press on KSM / zRam.

Press on zRam, Settings.

there you can enter the size zRam should use.

enter it, press Start.

optional you can tick "Apply automatically on boot"

tough, zram never really worked for me, have to look deeper into the Performance Control source.
[LG Optimus Black] za996:
huge problems

Well, i have installed velox rom. Everithing seems to works except one thing WI-FI. It's a strange problems because the device doesn't recognize my wi fi networks, (it recognize wi fi of my neighboors).

So i can't use iit. I also have got a s3 and a nexus 7 connected over wi fi.

Solved flashing another time the rom. Very weird.

I also can't reboot to recovery ( you have removed the option from the menu that appears long pressing powerr menu.) Solved with rom manager, but not very functional. Advice?

What should i do ?

Could i ask you to make the useless G button a copy of the power button (after a lot of usage, it's hard to "use")
[LG Optimus Black] Dumbelek:
Some games working very laggy. I thought ram may be the problem. Available ram is too low, why? I wanted to test zRam to increase available ram.

What's the size parameter? Original parameter was percentage. Anyway, it doesn't look working. Nothing changes.
[LG Optimus Black] jason600:
zRam uses a portion of the devices memory as swap as compresses it, compression rate is usually about 60%, therefore with 100mb allocated to zRam, compresses down to 60mb, you potentialy gain about 40mb. It´s not really very effective.

Best option is to disable zRam, then install the Turbo Boost mod on XDA (search for it), which uses spare space on your system/cache/data partition as swap. With this, you can load just about any game. Personally, I use a 200mb swap on the system partition, but set it for whatever you want.
[LG Optimus Black] Evisceration:
Developer Options -> Advanced Reboot menu :)

for the button, there is a tutorial where you can change it.

i dont want to change it by default, as other persons might not like the new use, for example if i make it a second power button, they press it by mistake and then the screen locks, can be very annoying.

so its up to you :)

exactly that ;)

use turbo boost if you want more ram.

android caches apps, to make them launch faster, so your ram may be not that free as you want it to be.

but as soon as the system needs more ram, it drops the cached apps and frees more memory.

auto app killer apps etc are just placebo in my mind and even decrease battery life, as they are active + they always kill cached apps, which aare getting cached by android again, which then get killed by the auto killer app and the circle starts again.

so best option is to use Turbo Boost, as creating swap on your sd card drastically decreases life of your sdcard and it can slow things down though.

my gaming settings on my p970 were:

smartassv2

SIO

Dynamic Writeback enabled, default values

KSM enabled, 32 pages to scan, 5000ms (5 seconds) sleep

ZRAM disabled

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

as you may have noticed, i removed Velox Control settings from the android settings app and made it a standalone app.

one of the reasons is, that i can deliver updates via Google Play this way.

It is only available for alpha and beta testers though.

if you want to be a part of the testers team, please let me know via a PM, PM me your email and ill invite you to the google beta tester group for Velox Control :)

that way, you receive alpha / beta updates of Velox Control as well.
[LG Optimus Black] xonar_:
The wifi mac address defaults to the dummy mac address (00 90 4c c5 00 34) (and my nvram is not corrupt - wifi mac is where it should be in nvram - last time I checked at least). I suspect it's a regression (Used to work with CM10).

I'll look into more detail later, but I've spent enough time procrastinating and I probably should get back to studying.
[LG Optimus Black] Evisceration:
that doesnt matter, its designed to be like that by cm.

there are no troubles with that and as long as selinux is permissive, it shouldnt matter though, if i am correct.

wifi always worked well on both phones i had.

ok to admit, the second phone i have since a day, but still it worked so far :D
[LG Optimus Black] xonar_:
WiFi should work regardless of what the MAC address is.

The dummy MAC address is only to be used when the nvram cannot be read or is corrupt.

https://github.com/CyanogenMod/andr...mmit/fd7fcbb4c56a77c0115d00f6f59d6cd31440a3b5

Using a fixed MAC address for a range of devices is not a good idea. Problems will then occur when numerous mac addresses are connected to a single access point that all have the same mac address. (Usually only a few conflicts are allowed if any - Implementing a MAC table that handles indefinite conflicts is just not feasible and will cause serious slow down.)

Most secure access points also use MAC filtering.

Changing the dummy mac address to the actual MAC address is a temporary workaround.
[LG Optimus Black] Evisceration:
thats what i meant, only not that professional as i wrote it with one eye open haha :P

but now i understand your point, reverted that commit, if it didnt break my wifi, ill keep it there.
[LG Optimus Black] xonar_:
Sorry I meant to link to the file not the last commit on the file.

Theres nothing wrong with the commit. (Will only break wifi on those who tried to flash the KU5900 bin file - or at least it should have in normal circumstances)

/data/misc/wifi/config is not generated in my case. Either it's not being run or it's being run with insufficient permissions (or the files permissions are to high - can't go any higher than root, root).

The dummy MAC generated by that file has some seeded randomness to it and is in the form (0b ad c0 ff ee %x)

A device needs an MAC address and is set to start with (00 90 4c c5 00 34) in this case and should then be set when the actual address is read from the nvram, but the problem is that it's not.

EDIT:

running wifi mac results in a segfault (with or without su permissions).

All that I can think can cause that if it failed to open either of the files and tried to access them (fd1 and fd2 will be 0 and NULL respectively if they failed to open)

I don't have a micro-usb cable handy atm so I can't do further debugging.

EDIT 2:

There's also a race condition here (line 41):

sprintf(macaddr,"%s:%.2x",macaddr,macbyte);

Change it to

sprintf(macaddr + i*3 - 1, ":%.2x", macbyte);

(Note I am not able to test the fix to the race condition)
[LG Optimus Black] Evisceration:
here it gets created but its empty. rw------- permissions, so only the owner can read, write to it.

could really be something with file ownerships and permissions, though havent looked into that yet, so cant tell anything.

never did anything with mac adresses on the phone.

// Edit

https://github.com/Evisceration/and...mmit/cd133b5db9df8f9b528d54e87c47728e51c61fbb

// Edit 2

compiling, then testing if wifimac segfaults
[LG Optimus Black] xonar_:
It's missing a "-1". I missed it the first time round. (First address doesn't have ':')
[LG Optimus Black] Evisceration:
youre sure that i missed it? ;P

https://github.com/Evisceration/and...mmit/8a28962b094c9374b6faf95bf783c2abcb96fe91

so, compiling again and testing.

// Edit

Tested and wifimac doesnt segfault :)

// Edit 2

/data/misc/wifi/config

root@p970:/data/misc/wifi # cat config
cat config
vlan_mode=0
mpc=1
wme=1
wme_apsd=0
wme_qosinfo=0x00
wme_auto_trigger=0
wme_apsd_trigger=290000
roam_off=0
roam_scan_period=20
roam_delta=20
roam_trigger=-70
PM=2
assoc_listen=1
assoc_retry_max=7
cur_etheraddr=74:a7:22:66:81:ce
[LG Optimus Black] tramp20:
I assume that you rely only on Google Maps as a proof of a functional GPS :(

You have for sure activated in the settings at Location Service "Standort per WLAN & Mobilfunknetz".

This means that all Google apps can get your location not only from GPS but from WLAN and mobile net too. As Google knows all of you (where you live) it shows you your location even without GPS if you are in your own WLAN (from earlier tries with GPS, Google stores all).

I tried this yesterday in the house without GPS and Google shows my location only 20 meters away. If I uncheck this setting Google Map is blind :(

So please make a new test at home with unchecked "Standort per WLAN & Mobilfunknetz".

All GPS app call Android functions to get the position of the satellites and then a fix.

And please remember my hint that in \data\gps your ROM stores only one of 4 data files (as the other ROMs do so), so I assume GPS apps cannot compute the position due to missing satellites data.

Again, I will really use your ROM and of course help you to develop, you are the last one here :)
[LG Optimus Black] Evisceration:
deactivated, getting a fix after 2 minutes.

with Standort per WLAN i get the same result only immediatly.

looking into that in later versions, i have other priorities at the moment :)
[LG Optimus Black] xonar_:
Also it should be

char macaddr[18]; //17 doesn't include the '\0'

Yeah I probably should just wait before I speak so that I can say everything in one go.

I don't think it will make a difference though as a char array will probably have padding.
[LG Optimus Black] mixednuts:
Sorry to interupt... you guys look like you're working something out constructivley.

Is it at all possible to get Bluetooth calling working at all, or is it a lack of driver sources from LG leading to the fact that it'll never happen? :p
[LG Optimus Black] Evisceration:
ok, changing!

// Edit

https://github.com/Evisceration/and...mmit/8e4b8184dc45a7c0bdc4091ed9ff1d38330c6a33

have to dig deeper into the official provided sources by lg, maybe it will get fixed, maybe not. i cant promise anything :)
[LG Optimus Black] mixednuts:
Never expecting a promise :)

It hasn't worked with every build that I've tried beyond CM10, so I'm just starting to think that maybe it's not possible.
[LG Optimus Black] tramp20:
Thank you, I understand.

The \data\gps of the other custom ROMs:
[LG Optimus Black] Evisceration:
just updated some blobs, including gps blob, file structure is still the same.

compare kernel configurations, init.rc scripts, they are all the same as mine.

either im blind again and cant see the forest because of those many trees or im seriously stupid.

can be a mix of option 1 and 2 though.

// Edit

oh, also here is 1.0.6.1

includes the fixes by xonar_, which were discussed before in this thread.

cleanup of code, tiny code improvements, some less debugging output.

updated proprietary blobs

prebuilt Velox Control app, which is updateable via Google Play, for those who pm'ed me to join the Google Beta Group.

http://d-h.st/vz2
[LG Optimus Black] ptxpaulo:
Sorry guys... mabe this help... I think in MIUI ROM last update (3.10.25) bluetooth working fine (at least was the only JB ROM where my car stereo was able to play music by bluetooth without any problem)
[LG Optimus Black] mixednuts:
Sorry for the OT - do you mean the Avatar build?
[LG Optimus Black] ptxpaulo:
No, I mean MIUI Rom. It's JB 4.1.2 .
[LG Optimus Black] vsg24:
Is Blutooth problem with sending .apk files fixed or what? (also the bt icon needs to be fixed)
[LG Optimus Black] Evisceration:
no one reported that "or what"?
[LG Optimus Black] mixednuts:
Yeah, well that's a 4.1.2 build... main sources from back then have Bluetooth calling figured out. From my impressions, BT is one of the more difficult, and often last, feature to implement. :p
[LG Optimus Black] Evisceration:
i can remember the time as child, when i was a hero with my Ericsson phone with bluetooth, you couldnt do anything with it, but at least you had this brand new feature haha :)
[LG Optimus Black] mixednuts:
lol... are you saying BT is useless??! :D
[LG Optimus Black] Evisceration:
nono, at that time it was, there where no bluetooth headsets or car kits, bluetooth was a brand new technology, only used to say "hey, i have bluetooth!" :D

nowadays a lot changed of course :)
[LG Optimus Black] Dumbelek:
Will be a OC kernel for future versions? :fingers-crossed:
[LG Optimus Black] vsg24:
Well... I did.
[LG Optimus Black] Evisceration:
without a logcat, that shows evidence of it, yes. ;)

-----

also would need some suggestions about Velox Control.

adding some tools, already added System Font Changer.

focusing on Velox Control, until new Kitkat comes to cyanogenmod.
[LG Optimus Black] repulse:
Maybe the ability to change hold back to kill delay :D
[LG Optimus Black] Evisceration:
thanks for that nice idea ;)

looking into it, but that would rather effect development settings, though trying.

// Edit

in the google group discussion, gman49 said he wants a backup feature.

anyone else?

and if, what you want to back up and how?
[LG Optimus Black] mixednuts:
Currently, I'm indifferent to that idea.
[LG Optimus Black] Evisceration:
means? :p
[LG Optimus Black] mixednuts:
lol... not a feature I'm currently looking for. :D

Actually, you probably already know what I'm really looking for in the ROM. :p
[LG Optimus Black] vsg24:
I think it would be nice if you provide a special theme with the ROM.

----

Is the latest version of Velox based on M1 version of CM10.2?
[LG Optimus Black] gman49:
I think a velox boot animation would be cool.

As for the back up feature...I think it would be helpful to help fine tune settings. And troubleshoot problems.
[LG Optimus Black] Evisceration:
you want that i remove bluetooth, i know.

but some need it, so i cant do it, sorry :(

but seriously, reading a lot of source, trying to figure it out.

that will be done later, once all main / core features are fixed :)

yes, it is based on M1, i always sync and merge the newest cm sources before building.

talked to a friend about it today, he is no gfx or themer but still i bet he is 1000times better at designing than me.

me and graphics is like cat and dog, and i am the cat.

about the backup, already got some nice ideas :)

you updated to the newest version via playstore?

if, how is the new navigation and setup of everything? i feel something is missing and yes, the design is ugly as i put more priority in features, designing once i have a good base :)
[LG Optimus Black] BlackPie:
Patch kernel version to 3.0.101 it is the final,EOL of the kernel.
[LG Optimus Black] Evisceration:
look at my github and then tell me the date, when i merged it ;p

// Edit

new Overclock Kernel attached to the second post, fixes the process phone died error.

use it on your own risk, as always!

OC kernel is unsupported.
[LG Optimus Black] repulse:
Maybe you can add a multiple dpi setting ? By the way, don't know if do-able or not :confused:
[LG Optimus Black] hendry1239:
Halo problem keep going , any update plan you

LG-P970 cihazımdan Tapatalk 2 ile gönderildi
[LG Optimus Black] Evisceration:
looking it up and trying :)

Fix is in the third post.

i didnt do changes to the framework etc, because i wait for cyanogenmod to merge 4.4 in their repositories.

meanwhile i only update the cm-10.2 sources and work on Velox Control
[LG Optimus Black] Cedlad:
hello, i've been abscent for a while on this software updates on the LG P970 ! since i updated to ICS 4.0.4 original LG one, and i've rooted it, i stopped updating it, but now it lags so much that make impossible use, it's frustrating ! so i check a youtube video, and saw that, it's pretty cool one, but i have a problem, CMW doen't flash on a 4.0.4 official, how can i do the installation ? please help :$ the last time i did that i've had to reflash the rom and lost all my content ! reply asap
[LG Optimus Black] Duumke1:
Wrong topic buddy, place your question where it belongs. In the q&a section not in development. And if you want cwm recovery back and use a different rom, you will lose everything again because you need to start from scratch. And please put any replies in the q&a where it belongs.
[LG Optimus Black] Dumbelek:
Thank you Alex.

OC kernel working just fine! Clash of clans was freezing, it's smooth now. :good:

Edit: It is perfect. Better than ever before. Good Job!
[LG Optimus Black] Evisceration:
Glad that it works for you! :)

by the way, any designer here, who is bored and wants to do some GFX for Velox, like bootanimations, banners, a logo or whatever? :D

// Edit

just polishing VC a bit, looks good or bad?

and please excuse the German in the screenshot, App is developed in English and added German translation, as its my mother language, so it displays German :D
[LG Optimus Black] BlackPie:
Oh sorry,didn't see that.Ahead of us by a couple of steps eh?:D
[LG Optimus Black] gman49:
Looks good. Do you have the update available on Google store yet?

---------- Post added at 05:36 PM ---------- Previous post was at 05:28 PM ----------

Nm...I should have looked first :D
[LG Optimus Black] furb3t:
This is my problem: first installed Velox Rom and all work fine; than installed oc kernel and had a bootloop (my hardware is not so hard :) ). So I installed stock kernel, and after I have always a popup message of error on com.android.phone; also pressing OK on message, this return to infinity. The strange thing is that now I can't go in CWM mode ??? Power + botton down don't work anymore !!!! Any solution?
[LG Optimus Black] iirisa:
The easiest way is to install ROM manager or Quick Boot. They both have a feature to enter recovery mode. If that does not work, the only way I know is using ADB. I haven't done that personally though.
[LG Optimus Black] repulse:
Or just type "reboot recovery" (without quotes) in a terminal app...
[LG Optimus Black] hare89:
Any chance evisceration for gps to be fixed cause apps like igo primo without number of sattelites and fix cant be used :(

All of the rest is awesome :D
[LG Optimus Black] iirisa:
So, today I decided to try this ROM, but ran into a problem already. I am not able to sync Google calendars. Under my Google account the option for calendar sync is missing. Did reflash and factory reset, also checked calendar settings via web, but nothing suspicious showed up.
[LG Optimus Black] Evisceration:
Quoting rrrrrampage!

could be .. ;)

another new one is up too, should be available after some time.

changed the design, please let me know what you think and if i should continue that way :)

stock kernel?

what did you flash?

if you flash any other kernel, it wont work.

if you flash the 1.0.4 kernel i attached ONLY FOR 1.0.4, it wont work too.

just reflash the rom again, without wipe, and you got the non-OC kernel :)

waiting for 4.4 to come, if i am able to port it, i will take a look at the GPS then :)

Flash the right gapps, boot it.

enter your google account, wait a bit, it will sync then :)

if not, try to factory reset.

we had the same case in this thread some posts ago, it got solved with flashing the correct GAPPS.

quoting rampage end :P
[LG Optimus Black] furb3t:
I resolve in this way; tapping fast between popup message and menu; when I was in performance control installed kernel OC; in restart boot went to cwm where I reflashed rom + gapps; now rom is ok and also cwm is return.

[MENTION=4171764]iirisa[/MENTION], what gapps do you installed? I use full pa gapps and I have no problem with calendar sync
[LG Optimus Black] iirisa:
I flashed Velox_1.0.6_gapps. Isn't it the correct one? If not can you suggest which one from cyanogenmod homepage would work? There are like 10 different gapp .zip files for CM 10.2. As I'm a bit noobish, I don't know the difference between them.