yashsingh1/xdaforums huggingface dataset:
[LG Optimus Black] Nofe92:
I've been using this rom for 3 days now and it was the best experience I ever had with this phone :laugh:

No sod no fc or anything similar. After fixing webkit/font bug and sd I can almost say it's bug free and for bug free I mean that the rom is actually working as it should even if it's doing things in a non standard method.

I actually have just 1 bug. When I connect the phone to any computer the phone doesn't even see that it's charging. I don't really care about the icon but the main issue is that the usb storage is not working. From all your comments it looks like I'm the only one with this issue! Am I wrong?

Is there something I didn't change in the settings? Is there something I missed?

Btw what's the issue in keeping the sdcard as internal storage apart from not been able to unmout it?

I don't really care about mount the sd card as an sdcard because the rom is made for a phone that has 2 storage flashes so it would be annoying to select every time sdcard or having issues from installing apk and apps that try to engage the fake storage (I'm supposing all this from the comment about making a fake image of the storage, if I'm saying stupid things just tell me!! :silly:)

Apart from that I don't have any kind of issues, battery life is pretty good too!

Your repack is a masterpiece! Perfect rom for daily use! THX GUYS

kind of a personal ot:

There's something that I'm starting to think about android custom rom. Every time I used any repack (like zeus roms) or any custom built for this phone I always had issues; some of them were worse then others and some of them were stupid but not "fatal". Now with this rom you didn't change much (I'm not saying about the really hard work you did to make it boot), most of it was file editing and compiling lg source? Now, again, if I'm wrong quote me and just write "f*ck you" :D

Anyway the thing that I wanted to ask is, is it our phone that gives a lot of issues with rom developing or is it that not having hardware sources makes impossible to make a 100% stable rom? Will the ics source code from lg allow "us" to build perfect roms?

Now, don't get me wrong, I love all of you code devs and repack guys!! I know how hard is to write codes, script ecc ecc on this kind of machine level as an "hobby", but now it's been more then one year that this device is out and after all this time the only 100% stable rom comes from a port of an lg "official" rom (of course I'm not considering the port's bug because of the different hardware)

If It was me that I didn't try the good ones let me know but remember that I'm talking about 100% bug free

Sorry for the ot but I was thinking about joining the android develop and I wanted to ask this a long time ago and again! I really appreciated your work and your skills!!
[LG Optimus Black] xonar_:
Mounting an img is harder than I though. It bombs out with it's not a 'block device' yet the exact same commands on my ubuntu mounts it fine. (I made a img file just over 16kB and formated it with mkfs.vfat ). Any ideas on why?

Sent From Optimus Black

---------- Post added at 08:34 PM ---------- Previous post was at 08:19 PM ----------

Theres alot of different reason for bugs.

Network bugs come from people having different networks and operators. Thats why you have different official ROMs from different countries. Changes has been made to suit the operator and area specific stuff like gps.

Alot of bugs are from mistakes on the devs side. Ussually these are easier to fix.

Ports ussually have more issues since editing it is harder. Like we can't edit it to not want emmc :P.

The source helps alot, since it makes it easier to edit and see whats exactly whats happening.

There are a few ROMs that are based on 2.3.4 official that were 100% bugless weren't there?

If you want to become a dev, good for you. I enjoy doing it as a hobby. This is just my opinions pheraps wait for a response from people who have been doing it longer than me. I'm still quite new to the game.

Sent From Optimus Black

EDIT: Ok I got it working by using busybox ;) My device now has a 16kB "emmc" :victory:

It actually tries to automount it. Clicking on Mount SD now gives Preparing SD :). SD is ready to remove :(.
[LG Optimus Black] ukrbroker:
Why not to make two partitions on sdcard and mount one as internal, and second like external?
[LG Optimus Black] xonar_:
We have 16kB internal memory now :D. We just need to figure out why it goes directly to safe to remove instead of actually mounting it.

EDIT: Going to check logcat now.
[LG Optimus Black] gabwerkz:
I will reply ASAP. Just a little busy, pardon me. :)

Thanks. It seems that yes charging issue is just on your side. I can see the battery icon charging whenever the phone is plugged.

The only problem we had was the bootloader incompatibility. The ROM will not boot without kernel modification.

It was made possible from arcee's commits on bootloader that made it compatible with old bootloader.

Bugs can be at times both hardware and software. Like the known faulty GPS of OB. Codes can produce bugs, or workarounds like in the case of camera and audio.

Or lack of good drivers. Sometimes hardware is great, but without proper drivers it will perform half of what it can do.

I must say Korean firmware is feature rich compared to international version. It is built for speed and seems they don't care much about battery life.

their governor configuration is more to responsiveness. Like in the ondemand up_threshold it was 60. While most of International v20's it's 90.

With this ICS 4.0.4 preview. i can say they did a good job. It is understandable that the bugs on this port is not a reflection of the ICS for P970 in the future.

KU5900 toggles are different too (Gingerbread). And hope with this ICS they will retain the scrollable toggles that it has.

Currently I have not much bug with this port except for the mirrored files in SD Card.

Great progress xonar. Please check ramdisk. i have commented:

export EXTERNAL_STORAGE /mnt/sdcard

#export EXTERNAL_ADD_STORAGE /mnt/sdcard/_ExternalSD

If you can unpack boot.img. Uncomment it.

Or use this: I have commented it already and see if it works.
[LG Optimus Black] Nofe92:
Last OT don't kill me

"Network bugs come from people having different networks and operators. Thats why you have different official ROMs from different countries. Changes has been made to suit the operator and area specific stuff like gps."

For the nature of those bugs I never really consider them as custom roms bugs

"The source helps alot, since it makes it easier to edit and see whats exactly whats happening."

Of course! I mean, reverse engineering only makes things harder. I know what "having the sourcecode" means, but even if they released it for gb it didn't make thing working as they should. I just don't know how deep the coding from devs goes! (do we need to go down to assembler to makes things right?? jk :laugh:) I should definitively download the sources so I can have a little idea of what people go trough

"There are a few ROMs that are based on 2.3.4 official that were 100% bugless weren't there?"

That's why even if I was using zeus I wanted to go back to stock and remove stock app by my self. Things gets crazy when you cannot really code your system/program

"If you want to become a dev, good for you. I enjoy doing it as a hobby. This is just my opinions pheraps wait for a response from people who have been doing it longer than me. I'm still quite new to the game"

Well I studied a little of pascal, assembler, c, c++, java, html, php ecc ecc but I really didn't use what I know for something usefull xD

And I would like to know if this is a good start since I don't know too much about how the linux kernel works besides the fact that it's monolithic :laugh:

Maybe I know more then I can do, but i never got out from there xD

But still even if I agree in what you said, I still have to see a rom with the same quality of stock ones (talking about general android devices, because lg stock sucks xD except this one)

REMEMBER THAT I'M COMMENTING WITH THE KNOWLEDGE THAT I'M NOT AN EXPERT AND THAT I CONSIDER DEV'S WORK HARD AND SIGNIFICANT FOR ALL OF US (an issue of open source is that nobody cares about who or what besides the guys inside the "game")

Mine is just curiosity and I'm willing to help as much as I can

In thread AGAIN

Anyway!

Am I the only one with the usb bug? And why is xda not installing? Besides the sd card remove fix, I think I read something about files on sd that makes this thing happen. Any solution?
[LG Optimus Black] xonar_:
You have more programming knowledge than me :P from the looks of it. Your over qualified :D. Unless there is a bug in the kernel then there is not much doing with actual programming. (I doubt you'll ever use asm when doing android development except if you are going to work for LG and show them how they should do things :) ) I am really new to this so I can't tell you much in the field of kernel development.

I extracted my boot.img and mine still has that uncommented. I am using the original without any fix. (It is the init.black.rc right?)

Here is the script I am using to mount "emmc" in format_fat32.sh :

busybox mount -rw -t vfat /system/EMMC.img /mnt/sdcard

The EMMC.img is in system and I added it as attachment

It fails with this :

I/Vold ( 1375): Filesystem type is: VFAT
I/Vold ( 1375): Device /dev/block/vold/179:48, target /mnt/sdcard/_ExternalSD mounted @ /mnt/extsecure/staging
E/Vold ( 1375): Failed to make directory link (Read-only file system)
D/Vold ( 1375): Volume extsdcard state changing 3 (Checking) -> 1 (Idle-Unmounted)
W/Vold ( 1375): Returning OperationFailed - no handler for errno 30

I'm not sure why it fails. Change permissions to Read and Write?

I use default vold.fstab. (It is correct except device for emmc doesn't exist)

EDIT: It's quarter to 11 my time and I have to be up early so I can't work on this anymore now.

Good luck.
[LG Optimus Black] BPaul:
whats about here?

vold.fstab

dev_mount sdcard /mnt/sdcard auto /devices/platform/omap/omap_hsmmc.0/mmc_host

format_fat32.sh

#!/system/bin/sh

### Gabwerkz: Temporary use to mount SD Card
### since emmc doesn't exist and nothing to format

#if ls /dev/block/mmcblk1p1 ; then
# mount -rw -t vfat /dev/block/mmcblk1p1 /mnt/sdcard
#else
# if ls /dev/block/mmcblk1 ; then
# mount -rw -t vfat /dev/block/mmcblk1 /mnt/sdcard
# fi
#fi

ln -s /data/disk /mnt/sdcard/_ExternalSD
[LG Optimus Black] Nofe92:
@gabwerkz

Thanks for the answer. So practically when we have the source we never get the code for drivers,right? I love this new era of license, even if lg would like to give it to us it would not be able to do it. Can we mail texas instr. and friends?? :laugh:

I don't mind about the governor, ics has a better code then gb but maybe that single core omap is getting outdated for that kind of ui (just a supposition). I would like to see how much software optimizing they can do to make it more smooth.

Anyway, do you think there's something i can check before flashing again? And the usb mounting works fine for others as well??

Btw what's the issue with the actual solution of the sd card? (the one that sets it to internal storage?)

Any Idea about the xda app?

I actually have a lot of problems with the gps and sometimes it takes forever to get at list 4 sats to get the position (like up to 3 min and sometimes it looses the signal after couple of seconds). I tough it was a rom problem added to the fact that this is a-gps. I will bring it to the store

@xonar_

NO NO NO NO

I'm not qualified at all!! I just know somethings about tons of things (lately I've been working on music and animation for example xD) but nothing to define me as qualified in any field (besides sleeping and waisting time :D)

If you have something good to start with (like documentation, explanation about linux/android and other things like that) I would like to see where it can bring me
[LG Optimus Black] xonar_:
@Nofe

I also have the same problem. I can access adb with Linux so it didn't bother me. I am using V20E u-boot and I suspect your also using a older one. Flash a ROM from another country which is new like a V20S ( I can't test it because of data restriction :( ) then reflash this.

@BPaul

I found removing one of the entries in vold.fstab causes FC. I have no idea what "ln" does :p so I can't say much more than that, maybe it works

Sent From Optimus Black
[LG Optimus Black] BPaul:
Ok, Here

format_fat32.sh

#!/system/bin/sh

### Format EMMC user storage parition : UDB
### this partition is mounted to the /sdcard
### this script is run at the only initial boot

if ls /dev/block/mmcblk0p7 ; then
mkdir /data/emmc_test
if mount -t vfat /dev/block/mmcblk0p7 /data/emmc_test ; then
#	if /system/bin/ls /proc/emmc_format ; then
#	/system/bin/newfs_msdos -F 32 -O android -c 32 /dev/block/mmcblk0p7
# else
echo "Already formatting" > /data/emmc_storage.log
umount /data/emmc_test
# fi
else
echo "FAT32 partition initialization Now..." > /data/emmc_storage.log
echo "Formating /dev/block/mmcblk0p7 as FAT32" >> /data/emmc_storage.log
/system/bin/newfs_msdos -F 32 -O android -c 32 /dev/block/mmcblk0p7
fi
rmdir /data/emmc_test
fi
fi

vold.fstab

# dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
# goldfish_mmc.0	: emulator emmc driver
# mmc1	: sdcard driver
#dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard 7 /devices/platform/omap/omap_hsmmc.1/mmc_host
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/omap/omap_hsmmc.0/mmc_host
[LG Optimus Black] Nofe92:
ahahhahah I have data restriction too! I will try to download from uni tomorrow. Thanks for the support
[LG Optimus Black] ukrbroker:
tested this already? Or just idea?

Отправлено с моего GT-P7300 через Tapatalk

---------- Post added at 10:40 PM ---------- Previous post was at 10:37 PM ----------

Tested this already? Or just idea? Shall we try as well amd report?

Отправлено с моего GT-P7300 через Tapatalk
[LG Optimus Black] BPaul:
no work.
[LG Optimus Black] BPaul:
Done!

SD Card mount good!

Update here:

1. format_fat32.sh

#!/system/bin/sh
# BPaul P970 SD Mounter
if ls /dev/block/mmcblk0p7 ; then
mkdir /data/emmc_test
if mount -t vfat /dev/block/mmcblk0p7 /data/emmc_test ; then
echo "Already formatting" > /data/emmc_storage.log
umount /data/emmc_test
else
echo "FAT32 partition initialization Now..." > /data/emmc_storage.log
echo "Formating /dev/block/mmcblk0p7 as FAT32" >> /data/emmc_storage.log
/system/bin/newfs_msdos -F 32 -O android -c 32 /dev/block/mmcblk0p7
fi
mount -rw -t vfat /dev/block/mmcblk0p7 /mnt/sdcard
fi
fi

2. vold.fstab

dev_mount sdcard /mnt/sdcard 7 /devices/platform/omap/omap_hsmmc.1/mmc_host
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/omap/omap_hsmmc.0/mmc_host

Done!

PS: I do no respond if your files removed from SD
[LG Optimus Black] :
It wipes SD?!
[LG Optimus Black] raffux3:
great!!! can you do files.zip?? can you, also, extend limit from sms characters? 90 is really low :(..please
[LG Optimus Black] Milmirex:
BPaul, the possibility of wipe of the sdcard is just for the first time?, or is a real possibility every time the sdcard is mounted?

Thanks in advance.
[LG Optimus Black] kishore2908:
Daily use

Can i use this ROM as my daily ROM.

What will be the major issues.

How is the battery and overall performance.

Can someone summarize.
[LG Optimus Black] Sisqo:
Install another sms app from play store like go sms
[LG Optimus Black] lowert:
I did what you said,but the sd card doesnt mount automaticly but the system sees the internal memory as 1,09gb so its ok,but i cant mount sd card

the files contains just the lines you said,no others.That can be a problem?

Help me please
[LG Optimus Black] xonar_:
Very good work.I understand how it works and why, but I don't see how it will remove files from SD. It only format mmcblk0p7 and doesn't touch mmcbl1.

Sent From Optimus Black
[LG Optimus Black] chen-1:
About SMS!!!

Edit system/etc/featureset.xml and find <!-- KT Message Start-->	(delete all) <!-- KT Message End-->

Should look like this:

<?xml version="1.0" encoding="utf-8"?>
<profiles>

<FeatureSet>
<!-- Message Start-->
<item name="MMSHiddenConfig">true</item>
<item name="OperatorMessage">true</item>
<item name="spam">true</item>
<item name="KTspam">true</item>
<item name="KRWapPushWithSpam">true</item>
<item name="specialMessage">true</item>
<item name="change_MemoryFull_Threshold">true</item>
<item name="doNotUse_Class2">true</item>
<item name="doNotUse_AP_retry">true</item>
<item name="limitless_unauthorized_SMS_usage">true</item>
<item name="TimeZoneExceptionHandling">true</item>
<item name="SMMA_Intel">false</item>
<item name="KREncodingScheme">true</item>
<item name="addProtocolID">true</item>
<item name="addSCAddress">false</item>
<item name="replyAddress">true</item>
<item name="sendMoreDelay">true</item>
<item name="KROperator">true</item>
<item name="kr_address_spec">true</item>
<item name="KRVMSType">true</item>
<item name="mwi_only_notify">true</item>
<item name="BCDaddedABCandWild">true</item>
<!-- KT Message Start-->

<!-- KT Message End-->
<!-- build error -->
<item name="UsimInfo">false</item>

<item name="copy_submit_to_uicc">true</item>
<!-- Telephony Start-->
<item name="LGE_NumberFormat">false</item>
<item name="RingBackTone">false</item>
<item name="Korea_RAD">false</item>
<item name="Korea_CNAP">false</item>
<item name="Korea_CDNIP">false</item>
<item name="Korea_USSD">false</item>
<item name="KR_Modem_Item">false</item>
<item name="KR_RAD_TEST">true</item>
<item name="Is_QCRIL">false</item>
<item name="KR_REJECT_CAUSE">true</item>
<item name="MANAGED_TIME_SETTING">true</item>
<item name="NITZ_WAITING_TIMEOUT">0</item><!--miliseconds-->
<item name="MANAGED_TIME_LOCAL_AREAS">450</item>
<item name="USIM_PERSONAL_LOCK">true</item>
<item name="GROUP_CUSTOM_RINGTONE">true</item>
<item name="LGE_PHONE_NUMBER_QUERY">true</item>
<item name="SHOW_NETWORK_NAME_WHEN_MANUAL_NETWORK_SETTING_FAIL">true</item>
<!-- Telephony END-->

<!-- Message End-->
</FeatureSet>

</profiles>

Save, reboot, done! you can send 255. :cool:
[LG Optimus Black] lowert:
Bpaul please upload the files,or somebody,thank you
[LG Optimus Black] agritux:
you guys, maybe you can make a flashable zip for them and update the OP?

thanks for your hardworking
[LG Optimus Black] basean:
BPaul SD Fix

View attachment format_vold_BPaul.zip
[LG Optimus Black] kishore2908:
What is this zip for??
[LG Optimus Black] ohadz:
Could someone make a flashable zip for the rom including all the fixes or explain how to apply the sd card fix?

I haven't succeeded in applying the sd card fix.
[LG Optimus Black] gabwerkz:
Woh woh woh! What great progress we have here. Thanks to all people who contributes in solving bugs. I appreciate every effort you do.

I think the community is alive again in helping hand, just like the old days when this forum was new. I was a pioneer of this forum. many thanks.

I will include the fixes on a new clean pack once submitted and tested.

But wait... there's more!

I booted V30i WEBSW already. Sad to say it isn't clean. I used V30G libs.

Can't understand why, since the kernel we have was marked V30i in Open Source Distribution.

I didn't update SGX DDK or anything on the kernel, just the bootloader compatibility, USB and LEDS.

If I can get the dmesg of original V30I WEBSW kernel, I will see what changes they made.

I will test/try further if I can boot a pure/clean V30i. Or if anyone reading and would like to try...

EDIT: I'm out of thanks already. Thanks to BPaul, xonar_, chen-1.
[LG Optimus Black] a12tu120:
Is there a General thread about this rom? don't wanna start an off topic here
[LG Optimus Black] G@vi:
I have telephony.xml in my 4XHD having detail of almost all country. Can it help u guys ? You all are doing great work keep it up Thanks:D
[LG Optimus Black] kishore2908:
SD Fix

Is this zip working fully. Can someone pls reply?
[LG Optimus Black] bayangan_hitam:
this not cwm zip file, just extract, copy and replace with root explorer.
[LG Optimus Black] mix231:
Hey mates!

Please, make new release of repack with all patches :highfive:
[LG Optimus Black] :
can anyone give me a fix?? i receive an sms with correct time but my clock has a +8hrs time. fixing?? i tried automatic time already. no use
[LG Optimus Black] lowert:
set time manually,oh my god...
[LG Optimus Black] basean:
Fix SD BPaul flashed in CWM (mount SD, no work place on SD app)

View attachment Fix_SD_BPaul_CWM.zip

Fix SD N00BY0815 flashed in CWM

View attachment Fix_SD_CWM.zip

Fix SD N00BY0815 + UTF8 KU5900I flashed in CWM

format_fat32.sh

View attachment Fix_SD_UTF8_CWM.zip
[LG Optimus Black] thealmightypro12:
lol-ed :)

Thanks ;)

---------- Post added at 03:29 PM ---------- Previous post was at 03:27 PM ----------

Thanks bro, appreciated it!

pressed thanks :)
[LG Optimus Black] agritux:
i am here to test with you

only pm me when you want

i want to do what can i do in this great work

you guys, you are the best. you are not doing this work for applause.

you are doing it for making ob better.

it is not important the rom is stable or unstable.

important thing is your hardworking for only ob

thanks for this!
[LG Optimus Black] lowert:
What a progress!THank you all,bpaul gabwerkz redy and the others for the work!

One thing,but its just cosmetics.Can you remove the korean characters from dialer and calendar?it would be great
[LG Optimus Black] kishore2908:
SD Fix

Which one works better?

or Are both same??

Also will using any of the above SD fixes format the SD card??
[LG Optimus Black] honey12345:
can someone please make this ROM packed with all fixes until now..

THANKS in advance..
[LG Optimus Black] G@vi:
Thanks to Bpaul ..... now SD mounted i can click picture by just saying..... smile.;)Video recording is awesome :D
[LG Optimus Black] BPaul:
My files removed :D but dont know how:laugh:
[LG Optimus Black] G@vi:
My sd mounting fine reboot 4times no issue all files are there. I used basean's cwm zip. Thanks mate good work. :beer:
[LG Optimus Black] Dragusdrake:
my files are arranged some in "external sd" some in /sd card... so BPaul, maybe are there???
[LG Optimus Black] BPaul:
Yes i think
[LG Optimus Black] xonar_:
What do you mean no work place on SD app? I tried it yet. I am going to when I get home/
[LG Optimus Black] rrgrrg:
guys your making a good progress , maybe we can have a somehow stable rom by the end of this month

thanks alot gabwerkz,BPaul,xonar_
[LG Optimus Black] allahmar:
I've been trying to figure out how to take screen shots, does anyone know? This room has been my daily driver.
[LG Optimus Black] Rance1006:
Use QuickMemo
[LG Optimus Black] basean:
SD mounted as "/mnt/sdcard/_ExternalSD" . Internal memory mounted as "/mnt/sdcard (in /data/emmc_test ~8MB).

I used the old Fix SD for navigation. My app use path /mnt/sdcard/CityGuide.
[LG Optimus Black] honey12345:
Can someone plz make this Rom to flash with all fixes.. until now
[LG Optimus Black] ukrbroker:
Guys. If you need to test smthng, but have no time for it, let us know, we can do it. I am not so experienced with dev and programming, but can test and report and assist if any, ofcse in frames of my possibilities/knowledge. In any case google serch can help :)

We all u.stand, waiting for LG rom (in my case Samsung as well for gt-p7300) - looks like endless story. So lets cooperate

All the best.

Отправлено с моего GT-P7300 через Tapatalk
[LG Optimus Black] mix231:
basean, thank mate!

Guys, you rock! I love you all! :laugh:
[LG Optimus Black] raffux3:
i can't install any apps!! what fix i have to use???
[LG Optimus Black] abhi_g1:
Guys after flashing this rom

1) Which led fix should i flash? (the led fix with blue or the stock ku5900)

2) Which sd card fix should i flash? (given by nooby or bpaul)

and aditionally do i have to do anything else :confused:
[LG Optimus Black] G@vi:
I have problem ....I can't check my Balance when I dial *111#.... I end with some long numeric massage. :(
[LG Optimus Black] marius987:
same bug in Poland. USSD code don't work well
[LG Optimus Black] basean:
Fix all-in-one:

SD Fix

LED Fix Blue

Bootanimation

RootExplorer

Morelocale

View attachment Fix_KU5900-P970_CWM.zip