yashsingh1/xdaforums huggingface dataset:
[LG Optimus Black] xonar_:
I've been trying to fix USSD bug. I didn't get far. I made a script that converts the grable into actual readable words.

It is a simple hexadecimal string. I don't know where the the USSD codes are decoded but it's decoded wrong (or just displayed wrong). If one of you guys know and can fix it or you can tell me where and I can see if I can quickly fix it from there.

Here is a shot from the script (It's in python so that it can also work on windows , thats if you have python installed )

The script is for python 2. It won't work on 3. There is minimal changes required to make it work on 3. It's got a txt extension because XDA won't allow me to upload .py files.

My exams are just around the corner and I won't be able to work on this for quite some time. Hopefully LG will have released the Official ICS when my exams are finished I'll start looking at the kernel in more detail ,if not I'll continue helping out trying to fix the bugs from this port.

EDIT: I didn't type out the full string from the USSD code in the screenshot. I got lazy/ :p
[LG Optimus Black] Cedlad:
Can i use the swipe lockscreen with pin passworld ? You know protecting my phone from school thieves..

Sent From my Nokia™ 3310 CM12 Android 4.2.0. using a keyboard and XDA Premium.
[LG Optimus Black] ukrbroker:
Anybody have my problem? - while charging, indicator show nothing, looks like cable did not connected, but phone charging. Also battery statistic shows like working on battery. Very strange.

From positive - installed cpuset soft and have changed from 'ondemand' to 'conservative', now battery holds better, bcse seems by default it has only two position 300 and 1000 MHz, and even phone idling its use 1000 MHz. Need smbdy who can check this, why its use max cpu even for very small useless soft.
[LG Optimus Black] duke_dreadmoore:
system background to light gray

can someone tell me how to change the white system background, to light gray (f7f7f7)? which value on the framework-res? can I recompile the framework and then place it back to the ROM without problem? I've tried this in custom ROM and it's working okay. I don't know if odexed ROMs like this.. thanks
[LG Optimus Black] xonar_:
I had that problem. It went away after I formatted my sd card and after I reflashed with SFT. I don't know which one did the trick.

Sent from my LG-P970

---------- Post added at 06:17 AM ---------- Previous post was at 06:15 AM ----------

Yes you can replace it without problems. I don't know which value you should change.

Sent from my LG-P970
[LG Optimus Black] ukrbroker:
What we may have if insted wipe data/system do format data/system then install this rom? Like clean setup. Or this break phone?

Regarding official rom from LG - seems they may do like Samsung with ICS for their tab 8.9 , they did test rom for USA month ago, and after that silence. May be they leave this for developers, means they will not do it official for all countries, its not interested for them as OB in thet past already... IMHO:(op
[LG Optimus Black] George Jetson:
Hi xonar I want ask question is this ussd error or bug about the phohe.apk or kernel?If it's about phone apk I tried change apk files between L7 and 4x that apks(deodexed) not working.
[LG Optimus Black] Cedlad:
Too much no ?

Sent From my Nokia™ 3310 CM12 Android 4.2.0. using a keyboard and XDA Premium.
[LG Optimus Black] xonar_:
I don't think that apk transplants will be the fix (It can lead to very hard to track down bugs). Both the phone.apk and ril libs are used when running USSD codes. I don't know where the problem is and what is responsible for what. If I had the source of everything I could simply follow the execution path and add a few debug msgs to narrow it down and get it solved fairly quickly. Unfortunately I don't and the source from LG need to be merged with more sources and I can't download that.

Sent from my LG-P970
[LG Optimus Black] florin250:
well I could download them (if u give me link) , I have fiber optics and unlimited net , then I could compress them and upload them as a torrent , if I can help some how pls just tell me ;)

PS I love this rom :D
[LG Optimus Black] xonar_:
It'll still be too big for me, but thanks for the offer.

Sent from my LG-P970
[LG Optimus Black] gabwerkz:
Compiling KU5900 V30I Kernel
[LG Optimus Black] T-1311:
Status Report after about one week with this Rom:

Georgeous! This is a big step forward for the OB. Bevore I was using official V20g.

PLUS:

+ Realy smooth

+ Camera: focus by tipping the area

+ Free mem min. 60MB

+ Nice Lockscreen

+ Quick-setup on Top-Infobar

+ Faster Programm launch (imagination?)

MINUS:

- Sometimes unmounted SD-Card - need to reboot (4 times in one week)

- higher battery drain - in spite of JuiceDefender I can use my OB about 16 hours

- Dialing the zero opens the "phone test mode" - need to dial +49....

Problmes I've read about:

- SMS max. 90

Running without problems:

Facebook, AdFree, Adobe Reader, AgrarWetter, Amazon, AndroidAssistant, BFV Mobile, BusyBox, gDrive, Dropbox, eBay, ES File Explorer, FlashPlayer, Flashlight, FotMob, Geizhals, Gtastks, Keepass Droid, Opera Mobile, QuickBoot, Root Explorer, Smooth Calendar, Superuser, Tapatalk 1, TV Spielfilm, WhatsApp, Youtube, Zedge, No-frills CPU Conroll

Testing:

Set Gonernor to "interactive" to save Battery?!?!
[LG Optimus Black] Cedlad:
Since im using this rom like 1,5 month. I am very satisfied. No sod. No freeze. Nice and smooth. I wont go far bcz every time i say good things on a rom. It goez crazy then everything goes wrong :D btw 2x had ics today so maybe we are next ;)
[LG Optimus Black] s0cks:
This is the best ROM so far. But with these recurrent bugs, I gave up and returned to the original GB.

I will wait for official release, without bugs (I hope).

Anyway, I would like to thank who is contributing to make this ROM better. :)
[LG Optimus Black] florin250:
2X has official ICS ? wow that ir realy cool , I'm sure we are next :fingers-crossed: (at least I hope so ) :D
[LG Optimus Black] naeem86:
Its the 2x korean version that got ICS. CMIIW.
[LG Optimus Black] George Jetson:
next is optimus su760:D
[LG Optimus Black] Edvin73:
Really no one is getting it?The korean 2X(SU660) got the ics today but just and only Korea, the rest of the world "nada".The korean P970(KU5900) got it some time ago and after that our extraordinary devs made a port for us.Can't you see that for the P970 is the same like with 2X?Rest of the world "nada".

I hope I'm wrong but I'm afraid I'm not.Regards to all.
[LG Optimus Black] sajjji:
I can not find delivery report option in message app!

why ? :(
[LG Optimus Black] Cedlad:
Can any one repeat how to modify the amout of lettres in messages ? Thanks
[LG Optimus Black] florin250:
edit system/etc/featureset.xml

Code:

<item name="max_user_data_bytes_ex">160</item>

i tested with 160 and 200 characters. ：D
[LG Optimus Black] Cedlad:
Cant find this line :/ do i add it ? And where ?
[LG Optimus Black] sajjji:
I can not find delivery report option in message app!

why ?
[LG Optimus Black] callsignapollo:
Can someone pahhhleeeeasssseee pull the LG calendar widget for me?
[LG Optimus Black] Zaihanzainal:
Even if you did the ku files are odex you need to deodex them first before it would properly run on most custom roms I think cos most roms are deodexed.... I might be wrong tho
[LG Optimus Black] Edvin73:
I think you are not wrong but absolutely right.:cool:
[LG Optimus Black] xonar_:
They would only work on stock based ROMs. They need some of LG's framework files to work.

Sent from my LG-P970
[LG Optimus Black] raffux3:
nothing about complete SD fix???
[LG Optimus Black] wessyh0:
I can't use this ROM because Titanium Backup won't let me restore App + Data.
[LG Optimus Black] WIIstpM:
Same problem, well some apps succeed to get restored some don't...

Try restoring App only first then Data only
[LG Optimus Black] theaks30:
or install app then restore data ;)

(works for me)
[LG Optimus Black] Cedlad:
can anyone provide me an .apk of Picsart 3.0.8. please i can't download it feom playstore of SD Problem Thing.. thanks in advance
[LG Optimus Black] WIIstpM:
Doesnt work for me... Seems like apps reauiring SD card is not installing, from both Titanium backup and Google Play.
[LG Optimus Black] gabwerkz:
I replaced Messaging (KROemMessage.apk) to Unofficial CM9 MMS app (Mms.apk). But the ROM is deodexed.
[LG Optimus Black] di3cbl:
Any problems with the deodexed rom that isn't present on the odexed one?
[LG Optimus Black] gabwerkz:
So far only the LG Keyboard, doesn't work. Replaced direct with CM9 KB (LatinIME).

Slow initial boot as readahead_list doesn't seem to work. I also felt it's a little slow. Might be placebo with odexed.

What I use now differs to what was offered before. I have fixed the LED, the with blue one that doesn't turn off in settings. And an updated kernel.

I use the SD fix that xonar and I talked about few pages back. The one that replaces vold in system/bin. Clean install scans all media.

Can install any app/game. Drawback, can't use App2SD, can't check storage (it will reboot). But I monitor RAM by the widget.

I tested BackStab, runs fine. And some games that doesn't want to install before.

The "Updating App" or whatever every boot was due to disabled functions in ramdisk. Like:

setprop ro.crypto.tmpfs_options size=128m,mode=0771,uid=1000,gid=1000

exec /system/bin/tune2fs -o extents,uninit_bg,dir_index /dev/block/mmcblk0p9

etc.
[LG Optimus Black] sajjji:
gabwerkz Please Fix ussd problem. many user need it for get balance
[LG Optimus Black] gabwerkz:
The baseband is what your last .fls flashed through smartflash or last kdz you flashed. You will see that when you use CM10 in settings>about>baseband. Mine shows the XXX-V20S which was correct.

The RIL of this ROM is still the Korean default. Try replacing "lge-ril.so" from CM10 in system/lib.

For a complete overview what is baseband and what is RIL, read this: http://xdaforums.com/showthread.php?t=1658047

It might be a different phone but the idea is the same. Calls, SMS, USSD are reported to be fixed with a mix and match of those 2.

EDIT:

Settings scrolling (framework.jar patch). This works, tested it. Without "Foce GPU rendering" in Developer options, it scrolls smooth now.

http://xdaforums.com/showthread.php?t=1411317

RAM Management: I patched services.jar as well. http://xdaforums.com/showthread.php?t=1869663
[LG Optimus Black] xonar_:
REPOST :p

I downloaded V30I last night. I don't think I'll have time to make a patch for V30I in the next few days. I have to study.
[LG Optimus Black] florin250:
We are waiting :D

sent from my Nokia 1100 with droid 4.0 :D
[LG Optimus Black] wessyh0:
How did you get Backstab working?
[LG Optimus Black] gabwerkz:
I just installed it through wi-fi. And that's it! No additionals.
[LG Optimus Black] wessyh0:
Hmm, i'll try. It'll probably FC but it's worth trying.
[LG Optimus Black] wessyh0:
It FC'ed. :(
[LG Optimus Black] timvdhoorn:
Could you create a flashable zip for all the fixes?
[LG Optimus Black] matthewye:
PLEASE HELP with photos recovery

I went back to Zeus from this rom and all the photos disappeared. I tried to go back to this rom but the photos were still not in the SD card. Please advice what to do. I have some pictures that are important to me.
[LG Optimus Black] florin250:
Search them with some file manager in DCIM folder on yore SD card.:)

sent from my Nokia 1100 with droid 4.0 :D
[LG Optimus Black] thealmightypro12:
Hey guys!

last time, i had read somewhere about changing the software name from ku5900 to P970!

i wanted to try that, but couldnt find it!

could anyone help me to navigate to the post? :)

thanks! ;)
[LG Optimus Black] George Jetson:
build.prop?
[LG Optimus Black] thealmightypro12:
i have no idea, any clues on how to change that? :D

Nailed it, embarrased by how easy it was :eek:
[LG Optimus Black] Cedlad:
dont do it. i bricked my phone one time doing it :/ i tried to insert my name on it and restart it. a message say. android.system.com has stopped working. si used to reflash the rom again.. :/
[LG Optimus Black] timmymarsh:
Thread cleaned. @WII - pm me if you are still having account problems, thanks. :cool:
[LG Optimus Black] theaks30:
lol...witch hunt specialist xD

are you our new mod? :)
[LG Optimus Black] timmymarsh:
Nope, just a senior lurking in the dark ;)
[LG Optimus Black] avcosta:
:laugh: Woa... is that lurking in the dark as in Peeping Tom or Serial Killer Joe? :D
[LG Optimus Black] matthewye:
No, they are not there.
[LG Optimus Black] theaks30:
can anyone please upload the camera apk of this rom for me please

Timmymarsh ;)
[LG Optimus Black] Dragusdrake:
but isn't better this for something?

http://csmg.lgmobile.com:9002/swdata/RNDTESTSW/LGKU5900/KTF/QO2CHQFCPP/V30J_00/V30J_00.kdz
[LG Optimus Black] wild_one_ro:
play.google.com/store/apps/details?id=com.adobe.flashplayer&hl=ro

they didn't remove it .....
[LG Optimus Black] LookedPath:
You can't install it on ics and jb... Search for the new online...

Sent from my rooted LG Optimus Black - Zeus v6.39(Android 2.3.4)
[LG Optimus Black] gabwerkz:
There are still few system apps unneeded in the ROM. In Titanium Backup try deleting some.

For example I deleted:

com.android.smspush

I rebooted and I can still send SMS.

Trial and error. It might solve a few bugs or not. Always create backups.

I also deleted UsimOTAKR.apk (Titanium Backup name: OTA 4.0.4-LG-KU5900-V30i.48120359) and still fine.

Long press apps, then select Open system details to see reference on them.

And If I may ask, my inbox is filled with questions. I don't want to ignore your messages. But post in the forum instead if you have questions in the proper thread.

I cannot answer you all. Members can answer that, or read the topic. A simple "Is it rooted?" will be answered on the forum. Thanks.
[LG Optimus Black] G@vi:
I installed it y'day from play store in OB (ics) :D
[LG Optimus Black] neeewwww:
boype or someother dev.

Theres a change to get the FM Radio working?
[LG Optimus Black] djnino4style:
I have a problem .. basically it says that my memory is full ... when I go in my memory as "internal storage" 7mb, why?
[LG Optimus Black] toptakachi:
couldn't install

http://image.ohozaa.com/view2/wmkmMtHA0VNQP1G1
[LG Optimus Black] xonar_:
A Temporary solution to install apps that by default go onto sd :

Mount system as rw

App will then install to asec

Since asec is a tmpfs it will be gone when rebooting o move it to phone from setting/apps.

I though my changes to vold.fstab made the change. Took me forever to find out why it didn't work from clean flash.

I am looking into the possibilaty of mounting asec manually so that apps can be properly installed on sd.
[LG Optimus Black] 90amper:
1) I have "??????" insted of russian characters in FileMan, Poweramp etc. In GUI russian leters showed correctly.

2) Sometimes full freezes, need reset (vol_up+power).
[LG Optimus Black] zubyro:
freezes for me too :( but it's works 95% and i'm glad :)
[LG Optimus Black] basean:
Use fix UTF8. (в шапке)

Отправлено с моего LG-KU5900 через Tapatalk
[LG Optimus Black] zubyro:
NEW Mirror on ShareBitz.Net

http://www.sharebitz.net/download.php?id=280
[LG Optimus Black] huntersoftware:
Clear data play store(;
[LG Optimus Black] toptakachi:
as it was :(
[LG Optimus Black] lowert:
delete your google account then create it again
[LG Optimus Black] turhadi:
nedd fix for USSD, because it's needed for load a balance, and choose the data plan for internet. everything work fine for every apps that i needed....i'm indonesian...thanks
[LG Optimus Black] florisaliu:
Change mobile data from 2G to 3G

How about to change mobile data from 2G to 3G?
[LG Optimus Black] wild_one_ro:
yup ..... is a problem too ... the phone restart when i change between 2g, 3g and automatic
[LG Optimus Black] gabwerkz:
I had some very fast test today.

when I typed *#06# to show IMEI it says "null".

When I replace "rild" from V20S in system/bin (permissions: rwxr-xr-x) rebooted and typed *#06# again, it shows correct IMEI.

I am not sure if it has something to do with this http://thenextweb.com/google/2012/09/26/heres-check-android-device-vulnerable-remotely-wiped-hackers/ that the firmware is already patched

or you really need to hybrid things to solve few bugs.

Up to you users to test.

It prompted you right? That the phone needs to reboot in order to apply the settings. That's a firmware feature and not a problem or bug.

Thing is I don't use much data. I am not tied to any carrier, nor on data plan. I don't use USSD or such.

If you have problems with this firmware, my advise is to flash another ROM or wait for Official ICS for P970.

The ROM is a preview and not a project.
[LG Optimus Black] lowert:
When i turn on wifi i get sod:(please help me
[LG Optimus Black] Edvin73:
:confused: ...and this is the rom of....???:confused: ICS but which one?
[LG Optimus Black] theaks30:
Its a new one :)

Can someone please upload the camera apk for me :(
[LG Optimus Black] lukasamu:
Here is http://db.tt/3RwhT2ol

Sent from my awsome OPTIMUS wit ICS
[LG Optimus Black] xerol:
is this rom is working on global optimus black p970?

is camera is fully working?

---------- Post added at 09:36 AM ---------- Previous post was at 09:28 AM ----------

is this rom is working on global optimus black p970?

is camera is fully working?
[LG Optimus Black] theaks30:
thanks man :)

(sorry reached your 8 thanks limit per day :p )
[LG Optimus Black] lukasamu:
Its ok :D

Sent from my awsome OPTIMUS wit JB
[LG Optimus Black] Edvin73:
:confused:Yes, right.I went so far by myself too.I wanted to know if it's better than V30I or is maybe some kind of "official" version cause is in kdz.?Is sd card mounting working normally or are there the same twists? Someone, please?:cool:
[LG Optimus Black] xonar_:
V30I and V30J are both official their just not for our phone. It's possible to male a repack that works with our phone. Sdcard problem comes from the KU5900 having internal and external storage where we only have external storage.

Sent from my LG-P970
[LG Optimus Black] Edvin73:
Thanks but I know all that, I already tried the repack of V30i, I just wanna know if V30j is better and why?Because sometimes the sd card (in this case like internal storage) unmounted itself and some minor bugs.:p
[LG Optimus Black] xonar_:
There isn't a V30J repack. If someone is to make a repack it'll still suffer from sd problems unless the failure was due to a mistake in vold from LG. I think it was intentional to not allow removable storage as primary storage not by accident.

Sent from my LG-P970
[LG Optimus Black] WIIstpM:
Phew thanks for cleaning the thread! Hopefully the problem stopped o(^-^)o
[LG Optimus Black] xonar_:
I just now though about this.

@gabwerks

I remember you saying the V30I repack is using V30G libs. Have you tried just using vold from V30I or V30J?
[LG Optimus Black] panda_linger:
Sorry but is this ROM already in a STABLE stage?
[LG Optimus Black] s0cks:
Yes and no.

It is very stable, but contains a few bugs...
[LG Optimus Black] Zaihanzainal:
Define stable....
[LG Optimus Black] gabwerkz:
Only GPU libs as i suspect the SGX was altered on the official kdz release. A no boot on this case usually graphics drivers and gralloc. There was also a line about it in dmesg in regards with V30G (SGX) being not final. In that sense, the kernel level SGX driver doesn't match the libs in the ROM. What matches is from V30G firmware and the V30I kernel in the Open Source Distribution. That's why I suspected the V30I kernel source is not updated, though they marked it V30I.

If you have V30I extracted, you can boot it by replacing system/vendor/lib/egl files. I have to test yet V30J, I have extracted it already.

EDIT: I visited the old dmesg, maybe kernel driver needs revisit.

<6>[ 4.227569] PVR_K:(Warning): SysFinalise: Version string: SGX revision = 1.2.5 [580, /home/ilnam.yu/source/QE_Final_0822/android/kernel/drivers/gpu/pvr/omap3/sysconfig.c]
[LG Optimus Black] panda_linger:
stable as in,

Is camera, SD card, video recording, play store, wifi, 3g data connection, bluetooth

working?

i only need basic daily purpose usage mention above.

But if its 100% bug free even better. :o
[LG Optimus Black] gabwerkz:
Well V30J booted pure. V30J files+V30J ramdisk+compiled kernel (zImage).

Diffs on CM10 defconfig:

CONFIG_PVR_NEED_PVR_ASSERT=y
CONFIG_PVR_DUMP_MK_TRACE=y
[LG Optimus Black] skumar786:
Great news

wow. Nice to know this. I hope it will be more stable than V30 I repacked which i am using for last 20 days and loving it.
[LG Optimus Black] xonar_:
Thats good news. Is the vold different from that in V30I and V30G or didn't they change it?
[LG Optimus Black] gabwerkz:
From the looks of it, it's the same.

V30J is deadly... Superuser doesn't work. :eek:

3 fresh flash. Reviewed ramdisk, superuser files. Still no permission. I'll try new busybox...
[LG Optimus Black] xonar_:
Ouch. Does the permissions just not stick when set?
[LG Optimus Black] gabwerkz:
I think LG's delaying ICS because they are on to something. Superuser doesn't work. I already flashed superuser.zip, updated busybox.

Open superuser app, it granted permission already.

Ramdisk (default.prop) is already on correct configuration. And I think I wouldn't miss that. It's the same procedure on all ROMs concerning superuser/root.

What sorcery LG implemented on the new firmware, I'm puzzled. I fired logcat and it has none as well. I think I'll just wait till November.
[LG Optimus Black] Sisqo:
you can modify the groups of users that can su and create a user with root permissions or just modify the user root password from shadow or something like that before you flash the rom so that you could get root access.
[LG Optimus Black] Cedlad:
maybe LG is protecting there product from rooting ?
[LG Optimus Black] gabwerkz:
I'm trying SuperSU one last time and moving the binary to xbin, and repack it again. I think there's no more reason for repacks of Korean variant since we are approaching year end. I'm just experimenting here for the knowledge I can gain, as always.
[LG Optimus Black] N00BY0815:
Hey bro, did you add the patch for old bootloaders, like rmcc did? If yes, i also dont have any idea at all...

Sent from my think of something creative here. :)
[LG Optimus Black] gabwerkz:
Yep. It boots bro. I compiled it on newer gcc (4.6). I can use the ROM. The problem is it doesn't recognize root. SU and SuperSU. Updated binaries and busybox.

(/system/bin/sh -permission denied) Terminal app, Root Explorer has no superuser permissions.

It doesn't have bash. There's a duplicate format_fat32.sh in /system/bin/ (orig extracted files). It has same contents, don't know why. I see bluetooth files with different size, so they have fixed some things.

Last year arcee mentioned LG sometimes visit forums in XDA. See G-button as a wake button, they implemented it.

Later I'll try to get logcat. In build.prop too, put 1 into these and you have logs inside root. Browsing them connected to USB with adb, they have 0 bytes.

persist.service.main.enable=1
persist.service.system.enable=1
persist.service.radio.enable=1
persist.service.events.enable=1
persist.service.kernel.enable=1
[LG Optimus Black] Duarte777:
You have the file "su" on xbin ? If yes try another one or try to root it with dxidas kitchen.
[LG Optimus Black] gabwerkz:
Superuser (su in bin, superuser.apk in app). SuperSU (su in xbin and apk in app). Tried both bin and xbin su binary. No go.

Disixda will only put those two files on right place. It's the same placing them manually.
[LG Optimus Black] xonar_:
Try giving sh full permissions everywhere.

Sent from my LG-P970
[LG Optimus Black] gabwerkz:
Solved :D up and running...
[LG Optimus Black] George Jetson:
what about 30j?is there any different thing?
[LG Optimus Black] hugoglezp:
Congratulations, please upload it...:victory:
[LG Optimus Black] rrgrrg:
he will sure upload it but wait for him to make it bugless because the file is usuallly big :cyclops:
[LG Optimus Black] xonar_:
Awesome. What did the trick?

If you haven't tested this already please modify vold.fstab so that sdcard points to hmmc0 to see if it can mount sd as primary.