yashsingh1/xdaforums huggingface dataset:
[LG Optimus 3D] troopii:
My sensors Behaivior is total different. I cant turn on\off the screen with it. Has never worked. Most time when the value is 0(dark) it jumps to 255 and give full brightness to the screen. Its working normal when the value is bigger one.

I have this phone since it came out.

Maybe they have Changed the sensor on phones produced later.

my proximity sensor knows only two states 0 and 5cm

I/ActivityManager( 465): Process eu.chainfire.supersu (pid 5083) has died. (wheel of dead?)

I/ActivityManager( 465): Process android.process.acore (pid 4873) has died. (wheel of dead?)

yes its wheel of death releated.

to avoid restarting when the app hangs set in the sysctl

kernel.panic 0

kernel.panic_on_oom 0

vm.oom_dump_tasks 0

vm.panic_on_oom 0

vm.swappines 10

vm.vfs_cache_pressure 10

with that settings im able to get back to the homescreen

also lower the dalvik heap cache to 64 or less, 128mb are to much

this changes can be made with the device control under tools/more
[LG Optimus 3D] itsmemario:
I have set everything in Sysctl / VM and read about all the linux commands now. :)

Thank you !

You can try the free app "Elixir 2" to get the vendor name and model number of your proximity sensor. Would be really interesting if you would have a different one.

(but as all sensors are by 2 companies only, I dont think so..Id rather bet that yours is defective) :eek: -> You can test it with the app...

...best would be in a dark room, to tell me that you can see the red light too. :'D

Mine also only knows 0 and 5 cm.

kernel.panic_on_oom is called kernel.panic_on_oops here btw. o_O

Regarding network freezing :

Sometimes it feels, that only if Im not on "H"SDPA and phone switches down to "3G", that these network-freezing appears.

I managed to log it, but it is too much to read through for me and I have to edit phone numbers and emails 1st. :P

I still have to play with the filters of catlog, to make catlog log less logs. xD

If I do call-after-call on 3G, the network freezes, if I do it on "H"SDPA, it wont...well, could still be random. Will have to test even more. -_-

UPDATE:

Googling a lot reveals, that many people have this "3G" freeze problem, since 2010, mostly with grey network indicators.

It is not always custom ROMs, but most of the google results are.

While most seem to be able to recover from this problem by en/disabling "Flight Mode", dis/enabling "data" or just set the APN again and select it, most of the people have to restart their device.

I even read about people that had to reflash their baseband to get a connection again.

Some of them claim, it only happened in "low quality connection" areas. That might explain this phenomenon on my p920, as Id say, it usually happens when I jump from "H" to "3G".

But I will have to read through all the log files 1st that I created in the meantime. Yeahhhiii.... :p

Again, it was on various phones, mostly using custom ROMs.
[LG Optimus 3D] troopii:
my sensor is the same as yours v1.

i cant reproduce your problem with the call freez. did today more than 20 calls on edge, 3g and h. i have no idea whats wrong. maybe it has something with the provider cell todo. i read something about, but i dont remember what and where.
[LG Optimus 3D] itsmemario:
1.)st of all :

Thanks for hijacking me into the world of interesting and usefull linux commands ! :'D

I only got 1 random "SMS/MMS got closed" message so far and did not have to restart the phone yet.

Every app loads and can be used just fine, without crashing/closing.

About the dalvik heap cache, I read that if its "bigger", the "app" acts more...efficient. Because it is the "real RAM" beeing used.

So, lets say Id test GTA 3 or San Andreas, wouldnt it be "better" to use 128 or even 256 ?

I mean, this phone has 512 MB of RAM and usaully only 70-100 are free...regardless of the ROM...which is emberassing. (?) ;)

Sure, this is a test ROM and other things like the "wheel of death" will probably prevent me from experimenting positively with the heap cache...yet.

Thanks again ! =)

2.)

Were you just "testing/playing" with these values or are the "well known" tricks / improvements / little helpers in the world of custom ROMs ? :)

3.)

I wasnt aware I could pull down the "status bar" (network, time, wlan) in newer android versions...when inside a fullscreen game for example...nice!
[LG Optimus 3D] berni987654321:
about camera rotation, I think changing this lines:

[I]227[/I] static const char ORIENTATION_SENSOR_NONE[];
[I]228[/I] static const char ORIENTATION_SENSOR_90[];
[I]229[/I] static const char ORIENTATION_SENSOR_180[];
[I]230[/I] static const char ORIENTATION_SENSOR_270[];

in https://github.com/CyanogenMod/android_hardware_ti_omap4xxx/blob/cm-11.0/camera/inc/TICameraParameters.h#L227 could do the job.

edit:

and also:

from https://github.com/CyanogenMod/android_device_lge_p920/commit/24625d5540aa8d14660d52416cc56026ab4bf9d5
[LG Optimus 3D] troopii:
when doing it this way the camera is rotated but the 3d camera is mirrored.

hw layer have no natural rotation. its always prerotated by dss. that is done in the omxcameraadapter.

i dont have much time to play with it. but next week i have some free days.

for me the overall performance has more priority. small apps loading great. but big games get killed or freez. if that is working i try to fix bt and after that the camera.
[LG Optimus 3D] lzzar:
[MENTION=2863096]dreccon[/MENTION] I get these errors when running your convert ZIP script. The boot.img gets screwed up

\DUAL BOOT RECOVERY v3.1 built by dreccon@XDA

Processing:
nameless-4.4.4-20140621-p920-HOMEMADE.zip
This is a ROM/Kernel zip

Editing...

/mnt/sdcard/_ExternalSD/DualBoot/DBootRecoveryV3.1.sh[532]: cpio: not found
sed: fstab.*: No such file or directory
sed: fstab.*: No such file or directory
sed: fstab.*: No such file or directory
sed: fstab.*: No such file or directory
sed: fstab.*: No such file or directory
sed: fstab.*: No such file or directory
sed: *.rc: No such file or directory
sed: *.rc: No such file or directory
sed: *.rc: No such file or directory
Edited:
and/or all
relevant files in RamDisk.

Creating new archive...

Compressing...
failed on '/mnt/sdcard/_ExternalSD/DualBoot/img/boot2.img' - No such file or directory

Backing up primary boot.img...
failed on '/mnt/sdcard/_ExternalSD/DualBoot/img/boot1.img' - No such file or directory
20480+0 records in
20480+0 records out
10485760 bytes transferred in 0.653 secs (16057825 bytes/sec)

Operation complete!

Press Enter to continue: [CODE]

//Sent from somewhere in your house
[LG Optimus 3D] dreccon:
Please guys, let's take all Dual-Boot discussions to the proper thread.

[MENTION=4487432]lzzar[/MENTION], your answer is here.
[LG Optimus 3D] itsmemario:
1.) Whats the "221" icon up there ?

I get it when I recieve an email. But its always this "221" icon. (right now I have 225 mails in my account, just in case)

2.) I wanted to check the RIL with the app "GetRIL" by sibbor and it said "unkown RIL".

Im on ICS v30 baseband and I never changed (reflashed) it.

After Stock ICS ROM 4.0.4 I rooted and flashed PACMAN ROM.

Later this nameless ROM.

md5 checksum for current "lge-ril.so" :

d92410d1b6204b1fb14f0d651ac4ff6a

Question would be, which RIL is this then ? I compared md5 sums to other RILs for the p920, even to different v30a/b RILs.

I couldnt find the same md5 sum on any of these.

And as Im still on v30a baseband, can I just exchange this RIL from this nameless ROM (/system/lib) with another v30a RIL I downloaded?

Or do I have to re-flash baseband as well then in any case ? Or is it not a good idea to "experiment" with RILs yet ?

Also I read about v20a that even more files have to be exchanged in /system/lib (libril.so + libini.so)

Both files are also still in this kitkat ROM.

I was hoping for "better" battery performance and less connection issues. (I dont expect wonders though)

p.s.

I also found out, especially on candycrush (;p), that if the network is frozen, the game will only load for like 20 seconds, without reaching the main screen and close.

p.s. p.s.

Also I dont have "H" anymore, neither "3G" since I dis/enabled Flightmode yesterday and tried to disable data, as I had frozen network again.

1st I thought it might be a provider problem, but everything is alright (according to them). I restarted and stil only have 2G. :(

Guess I got to reflash.

Nope, no more "H" or "3G" for me after flashing. :'(
[LG Optimus 3D] BadMilo:
Rom is working good on my end, no freezes no random reboots freedcam fixed orientation, only thing is that with oc kernel i cant lower it under 1600 wich drains my battery.
[LG Optimus 3D] troopii:
hm strange you phone should reboot when you set it so high. i dont have problems to lower it with device control or trickstermod

with trickster you can set also the screen off max freq

i will remove frequenzys below 300 and higher 1400 because the are not stable

after reflashing its also gone? strange behavoir

about that icon, i have no idea, it seems its a mix from all gapps, it count updates and email..
[LG Optimus 3D] itsmemario:
"H" and "3G" are back.Maybe it was the weather, maybe not. (I bet provider had a problem anyway) xD
[LG Optimus 3D] troopii:
found how to fix the camera orientation

its so easy shame on me i didnt found it earlier

[MENTION=4396325]Eklovya[/MENTION]

libcameraservice/api1/CameraClient.cpp

this code is already changed

int CameraClient::getOrientation(int degrees, bool mirror) {
if (!mirror) {
if (degrees == 0) return HAL_TRANSFORM_ROT_180;
else if (degrees == 90) return HAL_TRANSFORM_ROT_270;
else if (degrees == 180) return 0;
else if (degrees == 270) return HAL_TRANSFORM_ROT_90;
} else { // Do mirror (horizontal flip)
if (degrees == 0) { // FLIP_H and ROT_0
return HAL_TRANSFORM_FLIP_V;
} else if (degrees == 90) { // FLIP_H and ROT_90
return HAL_TRANSFORM_FLIP_V | HAL_TRANSFORM_ROT_90;
} else if (degrees == 180) { // FLIP_H and ROT_180
return HAL_TRANSFORM_FLIP_H;
} else if (degrees == 270) { // FLIP_H and ROT_270
return HAL_TRANSFORM_FLIP_H | HAL_TRANSFORM_ROT_90;
}
}
ALOGE("Invalid setDisplayOrientation degrees=%d", degrees);
return -1;
}

download on first post or http://xdaforums.com/attachment.php?attachmentid=2829130&d=1404323567
[LG Optimus 3D] Eklovya:
[MENTION=5128617]troopii[/MENTION] are you able to implement it in 4.4 and fix other camera rotation problem ?
[LG Optimus 3D] troopii:
this is for 4.4, your problem is exactly the same, you have to rebuild the libcameraservice

frameworkpart

devicepart
[LG Optimus 3D] itsmemario:
1.) I flashed ROM, read about orientation fix and flashed "cameraorientationfix.zip" via CWM.

2.) The "double rotation" feature is gone...or shall I say, well hidden behind scary graphical glitches now :confused:

Glitches like in the 1st ROM. :(

3.) Is it okay I still set these ? Or shouldnt I anymore ?

Or will/can you include these into the flashable ROM ?

kernel.panic 0

kernel.panic_on_oom 0

vm.oom_dump_tasks 0

vm.panic_on_oom 0

vm.swappines 10

vm.vfs_cache_pressure 10

lower the dalvik heap cache to 64, because 128 is (still) too much ?

4.) Should I format even more then just the (ext.) sd-card, before flashing ?

Because it seems photos from internal-sd and android.secure on ext.-sd will not go away after all wipes & format system.

Even SD-Maid did not help here.
[LG Optimus 3D] troopii:
1 if the zip is not flashing, extract the libcameraservice and copy it manual, set perm rw- r- r-

I did something wrong only preview rotation is fixed. Crap

2

3. just keep them

4.

im on twrp, there you can select wich stuff should get deleted

photos and every other stuff wich get saved from apps to the sdcard will get removed when you format the sdcard

twrp can erase android secure folder
[LG Optimus 3D] itsmemario:
1.) Man, I got happy when attaching USB Cable and a selection menu popped up and I got offered to select mass storage... :'D

(did not work before)

Still...connection only works via (MTP), as on mass storage Windows claims it could not install "USB Cosmo".

But this driver is there since 2011, when I got this PC and installed my cosmo. Hmmmm, problem on Win7 side or p920 side ?

p.s.

Didnt know p920 had 1612 MHz x 2 CPUs :p

(might explain the over 9000 points) ;)

p.s. p.s.

I might have missed the part with the glitches, sorry ^^
[LG Optimus 3D] troopii:
The blaze tablet has 2 cpu with 1,6ghz. Lg did it lower to reduce the battery usage. I where not able yet to get over 1,4ghz.

Default usb is adb,mtp i dont know if it will work when you change it in the build.prop
[LG Optimus 3D] itsmemario:
1.) The TI datasheet says max. MHz would be 1500 on OMAP4.

Or is the 4430 "special", just like the rest of our phone ?

2.) The Blaze Tablet 2 I found has a 4460 / 4470 OMAP4 @1.5GHz

http://www.svtronics.com/index.php?route=product/product&product_id=15

Still, I did not know about that and reading about the 1.6GHz in Antutu it really started to get interesting for me as well. :D

p.s.

The "old" Blaze tablet had a 4430 @1GHz :

http://www.engadget.com/2010/06/25/...-tablet-coming-your-way-this-august/#comments

On an "old" Archos tablet the max was 1.44GHz as well on the 4430 :

http://xdaforums.com/showthread.php?t=1592535
[LG Optimus 3D] troopii:
Well its then coming from the frequenz table in the kernel. Have to remove it. Also everything below 300
[LG Optimus 3D] itsmemario:
Also I can see all APN variations are detected automatically now and it selects the right one as well.

No need to enter it automatiucally anymore ! :D

Maybe you should add that to your initial post. :good:
[LG Optimus 3D] troopii:
updated a bit the init post^^

new orientation fix for camera, now also taken pictures have the correct orientation

http://xdaforums.com/attachment.php?attachmentid=2830777&d=1404402786

ok i truly dont understand whats going wrong

for the google camera the orientation is fixed, for freedcam not...

forget that fix, only google cam has correct orientation
[LG Optimus 3D] itsmemario:
With google cam you mean the cam that comes with the nameless ROM right ?

Because after flashing fix 2.3.7 (is this an antutu related insider ? ;D ) I still see no change. :rolleyes:
[LG Optimus 3D] troopii:
no i mean that camera wich you can get from google on the playstore

https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera
[LG Optimus 3D] itsmemario:
As I had the "Orientation Fix" already flashed, installing the Google Cam afterwards did not seem to be a good idea ? :p

Also I flashed the "fix" once again after the google cam downloaded and installed...did not help.

I guess I got to re-flash ROM, re-download cam and then flash the fix. :silly:

No, it does not work (here).

Also today I had my 1st frozen phone while entering the "phonebook/dialer". Ever !

Back button pressed did not help, screen stayed on...had to press power for 10 seconds :/

p.s.

I know I know, this doesnt belong in here (yet), but on the last ROM of nameless, PlayServices 5.0 and Playstore from Android "L" preview ran just fine,

while they now get force closed.
[LG Optimus 3D] troopii:
I flashed it with gapps and it replaced the cm11 cam. Its realy crazy how different cams use different orientation. Its not so easy than i thought

---edit

have now both previews (googlecam, freedcam) working with correct orientation, but taken pics are upsidedown wtf

its funny when fooling the camera.info orientation google cam works correct, freedcam not

when fooling the geOrientation both previews have the correct orientation, but pics not
[LG Optimus 3D] troopii:
new orientation fix out

taken pictures are forced to landscape, that means when the taken picture should have the correct orientation take pics only in landscape

i tried to make it dynamic depending on the screen orientation but its ignoring my values then. that doesnt mean i had give up on it.

the main problem is that the cameraclient doesnt listen to a orientationevent.

only the backcamera hast the correct orientation in landscape

if anyone can tell me why he not takes the correct value from the display it would be great

https://github.com/troop/android_frameworks_av/commit/058a5f63e4563b3da57d83093c3f5b5f2c5ecafb
[LG Optimus 3D] hamidezat20:
Tnx mr troopii great rom
[LG Optimus 3D] ilie321:
What if it reads some settings from a file or something and decide orientation just an idea
[LG Optimus 3D] berni987654321:
I dont think so, ricardo fixed by just using a precompile libcameraservice. In my opinion he didnt merged something from lgs kernel source so the best would be to search there for something orientation and/or camera related
[LG Optimus 3D] troopii:
omap_vout.c contains interesting stuff in function "static inline int cal_rotation" (kernel/drivers/media/video/omap)

if vout mirror is true its switching the orientation +180.

now the question is where comes that vout from.
[LG Optimus 3D] dreccon:
You probably remember that [MENTION=377973]defcomg[/MENTION] enabled 3D shooting and solved the orientation problem for CM10 by porting a few precompiled libs along with ArcCamera. Has anyone tried if that fix works on Nameless?

Even if it doesn't directly work, it might be helpful to see which libs did the trick and in what way they were different from the ones they replaced.

I do believe that there has been some kind of mixup in the device trees of P920 and SU760. The cameras in these two devices have reversed physical orientation. So, if we are using SU760 libs, then camera is reversed for us, but it should be fine on a true SU760. Since we know which these libs are, we might as well merge the correct ones from source.

Sent from the 3rd dimension!
[LG Optimus 3D] shaqfu786:
Hi guys. [MENTION=5128617]troopii[/MENTION] and [MENTION=4315456]bernie9[/MENTION]87654321,if you guys have any knowledge on building kernels, one dev has managed to update the 3.0 kernel with the new you drivers DDK1.9, at the moment he is busy cleaning the sources and OMX camera isn't working. But maybe you could cherry-pick some stuff to make owe kernel better.maybe he could help.seems he used alor of stuff from 4430 board and their galaxy nexus is 4460.here is the link to the post,

http://xdaforums.com/showthread.php?t=2801072
[LG Optimus 3D] yehison:
Thanks troopii.

Victory!! Enjoy Kitkat Lg P925

Used particion Ics

Sent from my Kitkat Lg optimus 3D
[LG Optimus 3D] troopii:
i tired simliar already but i have a problems with the hwcomposer

im using v0 and ddk1.9 now expects min v1.0.

using hwc from ti is not working out of the box and need to modified

im working in the correct lib^^ the preview rotation is already working. and the captured image rotation also soon

the kernel itself does only very basic stuff, i didnt find there something related. the parameters are attached from outside, when i change there stuff it affects all views.

i think libcameraservice is the right place. it handels everything releated about mirror and rotation.
[LG Optimus 3D] yehison:
Hello Troopii

You can reply to an MP.

Thank you!

Sent from my kitkat Lg optimus 3d
[LG Optimus 3D] itsmemario:
Two questions/suggestions regarding (even) more performance boosting on this ROM :

1.) I read about increasing the read/write cache values from 128kb to 2000kb on Class 2 sd-cards in the system files would bring even more performance. (xda member brainmaster found out about that)

Change the value in :

/sys/devices/virtual/bdi/179:0/read_ahead_kb

Which is indeed set to "128".

I will test that carefully over the next days.

2.) I read about "RAM overclocked" kernels for the Optimus 3D.

Is there a way to edit the RAM timings/values manually on this ROM ?

Would it even make sense on this KitKat ROM anymore ? And are there any comparsion tables I could check for working values ?

This guy posted :

http://xdaforums.com/showthread.php?p=53982640

that the values are in :

/proc/freqhopping/dramc

But there is no such folder on this device/ROM. (?)

Just 2 suggestions ^^
[LG Optimus 3D] troopii:
sd read ahead do a performance boost, but dont set it higher then 512 or the system performance will go down.

samno played with the ram timings but reverted everything, seems not to bring more performance.

i could release a new version but its heavy battery draining, because uim-sysfs service is trying to open the hci_tty. im a bit closer to get bt working. something wrong with the kernel driver, the 3.4 driver seems not to work as it should
[LG Optimus 3D] DiveNNN:
here is easy way to do all this stuff this is MUST HAVE app

http://xdaforums.com/devdb/project/dl/?id=1599

you can change everything throught this app just play a little bit with values and you are ready to boost your phone :)
[LG Optimus 3D] troopii:
--edit

the problem is the firmware download wtf

(hci_tty): inside hci_tty_open (d9683748, d0376600)
<6>[07-10 15:58:42.133] (stc): st_register(4)
<6>[07-10 15:58:42.133] (stc): chnl_id list empty :4 plat_uart_enable
<4>[07-10 15:58:42.133] plat_uart_enable: omap_serial_ext_uart_enable
<6>[07-10 15:58:42.133] (stk) : st_kim_startplat_uart_enable
<6>[07-10 15:58:42.250] (stk) :ldisc_install = 1serial_omap_start_tx::tx_buf_size = 0
<6>[07-10 15:58:42.360] (stc): st_tty_open
<6>[07-10 15:58:42.360] (stk) : line discipline installed
<7>[07-10 15:58:42.360] <out<01 01 10 00
<7>[07-10 15:58:42.368] >in>04 0e 0c 01 01 10 00 04 00 00 04 0d 00 1f 1d
<6>[07-10 15:58:42.368] (stk) :TIInit_7.2.31.bts[Power] ui_cap = 97, volt = 4155, chg_status = 1, temp_C = 221, chg_source = 3.
<3>[07-10 15:58:42.414] (stk) : request_firmware failed(errno -2) for TIInit_7.2.31.bts
<3>[07-10 15:58:42.414] (stk) :download firmware failed
<6>[07-10 15:58:42.414] (stk) :ldisc_install = 0
<6>[07-10 15:58:42.414] (stc): st_tty_close plat_uart_enable
[LG Optimus 3D] hamidezat20:
Hi troopii. Hi all this is lg stock camera great and perfect work on your rom but upside down ������

Links for downloads...

http://d-h.st/gDu
[LG Optimus 3D] troopii:
i know and the orientation fix does not copy the libcameraservice.

extract the zip and copy it manual then it will work in landscape

--edit

have bt working =D

but something wrong, it starts alot app_proccess witch kills the phone

-- edit

its everything else than stable, turning on bt kills wifi, and wifi comes back only after a restart.
[LG Optimus 3D] ilie321:
Something similar was on ics also with bt and wifi. Someone changed the firmware files for bt chip system/etc/firmware and worked. You can try with those from zip archive from my thread old Gb fm radio..... and see if any changes
[LG Optimus 3D] troopii:
the old binarys are not working. i using now theTIInit_7.6.15.bts and renamed it to TIInit_7.2.31.bts. bt is turning on/off and wifi stays on:victory:.

but bt is not sending or recieving packets.... somethings wrong with the permissions :crying:

i dont see whats wrong:

http://pastebin.com/z3RSZfBu
[LG Optimus 3D] ilie321:
Panda board has this chip maybe here http://omappedia.org/wiki/Android:_Working_with_pre-built_binaries you can get other files