yashsingh1/xdaforums huggingface dataset:
[LG Optimus Black] xonar_:
Heres the problem

It's not even getting as far as the kernel args before bailing.

It doesn't allocate the VRAM thus there will never be enough memory if there isn't any to go round.

The weirdest thing of all is that it trying to allocating 6.125MB of VRAM !?!

The problem is somewhere else

the omap_vram_def_sdram_start is 0x9fa00000 (not initially this) and the size is 0x620000.(From the Error Message)

This is what sets it (I think, might not be called)

All the code is bits taken from random OMAP Samples, so not necessary that.

I don't know the Linux kernel so well but it looks like it's going to be quite hard to debug without source.

I'm not at a computer with adb so I can't check what the output is supposed to be. I tried going dmesg > /sdcard/dmesg.log in terminal emualtor but it only stores the last 128kB of log and truncates the first bit. Can someone please give me the correct output.

The correct output should be : "Reserving %u bytes SDRAM for VRAM",size

but what is the correct size?

Does it give that error if we do it with normal uboot?

---------- Post added at 09:21 PM ---------- Previous post was at 08:36 PM ----------

Ok I spoke a little bit too soon.

Here is the initialization

the Frame Buffer should be 0:5M that what causing it to fail.
[LG Optimus Black] redy2006:
Hmm, but it's the same with u-boot V20S without VRAM modification...

[URL="http://pastebin.com/YhUsniTS"]Kernel logs, before...[/URL]

<3>[ 0.000000] Illegal SDRAM region 0x9fa00000..0x9fffffff for VRAM

So it means it still won't compatible.. :confused:

Hmm, this kernel log normally V20S

<6>[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
<6>[ 0.000000] Reserving 5242880 bytes SDRAM for VRAM
<4>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129794
<5>[ 0.000000] Kernel command line: mem=511M init=/init videoout=omap24xxvout omap_vout_mod.video1_numbuffers=6 omap_vout_mod.vid1_static_vrfb_alloc=y vram=5M,0x9FA00000 omapfb.vram=0:5M lpj=2334720 rs=s fuelgauge=g muic_state=0 console=/dev/null

so the omapfb.vram still need to be default at omapfb.vram=0:5M?
[LG Optimus Black] xonar_:
Yes, that should be fixed since that is only used to store frame buffers. There is only 6 and they stay the same size because number of pixels stay the same.

I think we need that full bootargs for it to work or atleast closer to the args from V30. That bring us back to our original problem. We can't test it without possibly frizzling our device.

I'm going to sleep now.

Good luck.

EDIT: I think the problem is that on V20 the start of vram is passed as a pointer from the bootargs and in V30 it's done automaticly.

If I understand correctly then that address is 6M before the end of the RAM. (I've made quite a few assumptions that could be wrong)

If it is trying to get 6.125M then it will always fail.

EDIT2 : From the bootargs I see that we only have 511M of RAM so it uses the last 5M of RAM for VRAM which makes more sense than 6M.

Sent from my LG Optimus Black
[LG Optimus Black] gabwerkz:
Now someone fried his bootloader. I wonder what he had done. :confused: For us who flashes a great amount and never failure at bootloader.

I think this will satisfy me for now :p No ICS or No phone.
[LG Optimus Black] redy2006:
Who is it bro? Well, I already gave a warning at first post... If he does really tried this experiment, it's his own responsibility, he should know what he's doing with this... :confused:
[LG Optimus Black] xonar_:
Nothing to do with this. Something went wrong with flashing and it died.

Here is the link to the thread : Link
[LG Optimus Black] gabwerkz:
No bro. I just told you to be careful. I didn't modify u-boot as I am hesitant too. :p
[LG Optimus Black] redy2006:
Yup, my chopper was already landed there... :D

Of course I know what to do aye bro... ;) There's no one else hacking this beside us, navossoc, and xonar_ :D
[LG Optimus Black] gabwerkz:
It seems that, in the kernel defconfig you can modify the vram, it has: https://github.com/paul-xxx/android_kernel_lge_sniper/blob/2.6.35.9-JB/arch/arm/configs/paul_p970_fb_defconfig#L421

CONFIG_CMDLINE="console=tty0,115200 fbcon=rotate:1 fbcon=font:VGA8x8 mem=511M init=/init videoout=omap24xxvout omap_vout_mod.video1_numbuffers=6 omap_vout_mod.vid1_static_vrfb_alloc=y vram=5M,0x9FA00000 omapfb.vram=0:5M lpj=2334720 rs=s fuelgauge=g muic_state=0 console=/dev/ttyS2"

Does it follow, or still u-boot will determine?
[LG Optimus Black] xonar_:
I'm not sure, but is that file not generated by the Makefile? In either case if there's not someone around that know a lot about kernels then the only way to find out is to test. Of it works then we don't have to worry about U-boot.

EDIT: Here is how to get console over serial connection

You need a to have fully functional u-boot
[LG Optimus Black] timvdhoorn:
http://xdaforums.com/showpost.php?p=31829923&postcount=152

maybe usefull

thank him!
[LG Optimus Black] gabwerkz:
Yes it's out.

EDIT: It's communicating with the bootloader "CONFIG_CMDLINE_FROM_BOOTLOADER=y" which V20 kernels doesn't have. Here's the kernel config.

# Boot options
#
# CONFIG_USE_OF is not set
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_CMDLINE="mem=512M init=/init videoout=omap24xxvout omap_vout.video1_numbuffers=6 omap_vout.vid1_static_vrfb_alloc=y vram=16M omapfb.vram=0:8M lpj=2334720 fuelgauge=g muic_state=0 console=ttyO2,115200n8 androidboot.hardware=blackg androidboot.console="
CONFIG_CMDLINE_FROM_BOOTLOADER=y
# CONFIG_CMDLINE_EXTEND is not set
# CONFIG_CMDLINE_FORCE is not set
# CONFIG_XIP_KERNEL is not set
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
# CONFIG_AUTO_ZRELADDR is not set
[LG Optimus Black] xonar_:
That good news. We can change it to 'n' and then we don't have to worry about modifying u-boot. Also mem should be 511 on our device.

Sent from my LG Optimus Black
[LG Optimus Black] :
xonar, victory seems close
[LG Optimus Black] xonar_:
I am downloading the source at a whopping 4kB/s. Still going to be another 11h if it keeps going like this.

Sent from my LG Optimus Black
[LG Optimus Black] CrawnberyJack:
use "Internet download manager". you can integrate in explorer..even chrome.
[LG Optimus Black] xonar_:
Only allows 1 connection so it won't make a difference unfortunately. Using FDM already.

Sent from my LG Optimus Black
[LG Optimus Black] George Jetson:
Which mirror is fastest for you? We can upload where you want.
[LG Optimus Black] xonar_:
All file-sharing sites hit my line limit of 40kB so any will work.Thanks
[LG Optimus Black] ontour:
Guys, do you want me to share the file via google drive? I've downloaded the source code file some hours ago.
[LG Optimus Black] meddistar:
Just do it :D
[LG Optimus Black] George Jetson:
My upload speed is very slow if you or anyone can upload somewhere pls upload ASAP for xonar_.:good:
[LG Optimus Black] ontour:
Uploading to Google Drive and Dropbox...

---------- Post added at 03:28 PM ---------- Previous post was at 03:24 PM ----------

Download link:

https://docs.google.com/open?id=0Bz5LEN6p5GsbRC1JOHl1QkF1NG8

https://www.dropbox.com/sh/flg22oobxup1dox/fxBRQdXrDy
[LG Optimus Black] redy2006:
Let's hacking!!!
[LG Optimus Black] androidjel:
Lol

http://imageshack.us/a/img849/1434/screenshot1348231235301.png
[LG Optimus Black] xonar_:
Haha. I think I'll try get stock LG working then.

Wonder if it's CM9 or 10 :confused:

but otherwise :victory:
[LG Optimus Black] androidjel:
Its cyanogenmod 10
[LG Optimus Black] xonar_:
We're a bit behind them. I don't even have the source. :silly:

EDIT: New mirror is much faster thanks.
[LG Optimus Black] nsakhare:
Come on guys you can make this to work..:D
[LG Optimus Black] xonar_:
It just finished downloading and I have to go now :(

You guys should work out a Calender so that I can plan ahead. I always seem to be on my way out when something happens :D

Sent from my LG Optimus Black
[LG Optimus Black] redy2006:
Output: http://pastebin.com/8T0FfFuU
[LG Optimus Black] androidjel:
What is this?
[LG Optimus Black] sexation:
what means that?

LG bring out ics kernel?

so new Roms will have kernel 3.08? :D
[LG Optimus Black] redy2006:
Compile testing for v30i KU5900 ;)
[LG Optimus Black] mannyAk47:
https://plus.google.com/115049428938715274412/posts

coming soon from Ricardo C
[LG Optimus Black] donjamal:
Ohh yeah :D
[LG Optimus Black] theaks30:
he got JB with kernel 3.0 :D

(i guess it means we got camera :$)
[LG Optimus Black] androidjel:
I think everting will work :)
[LG Optimus Black] theaks30:
i heard camcoder has a bug :P

but as far as everything else work...am fine with it :D
[LG Optimus Black] dieselman6969:
Good news i see :) if bug is only camcode i dont by :)
[LG Optimus Black] redy2006:
But sorry guys, please don't talking that topic here, I myself against post that unrelated with the title [DEV] [ROMTEST] Debugging ICS KU5900 ROM on Optimus Black P970.

So please, talk about that CM10 development elsewhere... Not here... :(

Thank you for your concern... :highfive:
[LG Optimus Black] xonar_:
I just got home and I'm really tired so I will only work on it in the morning.

@Redy

Is that compile test without any modifications?

Sent from my LG Optimus Black
[LG Optimus Black] redy2006:
My first test are using default defconfig: black_kt_kr_defconfig, without any modification...

2nd compile, using black_open_eur_defconfig, with modification after struggle with error :crying:

But I haven't test it to boot the phone :p need to be packed with ramdisk...
[LG Optimus Black] gabwerkz:
This is what we need...

hub: Fixup cmdline arguments for compatibility with the older bootloader
[LG Optimus Black] xonar_:
That look to me like a config that can be used on more than just the P970, I think we can get it working with much less code. I just woke up so I might be wrong.

Sent from my LG Optimus Black

EDIT: I am going away... again.

Replace the CONFIG_CMDLINE line with this in config file.

It should boot now if the cmd line was the only problem. My 511M was wrong, it is 512M.

There is a lot of changes between the open and kr version. Use the config from CM, the kr one will also run into trouble when setting up a swap file (It's Defined but some of those Macros doesn't appear anywhere, probably were only used for testing purposes, so it might work, but probably not. )

The solution from CM is probably better since it takes the cmdline from bootloader and modifies only what needs to be modified. I want boot and not efficient :D

EDIT:Can someone please compile with my changes and see if it works,I recently had to format my Ubuntu and I can't set it up in this short window of time while I'm still at home.
[LG Optimus Black] gabwerkz:
GOOD NEWS!

It's ALIVE!

****ING YES! Wait screenshots!
[LG Optimus Black] CrawnberyJack:
waiting :D you rock !
[LG Optimus Black] George Jetson:
WOHUOOOAAOAO this is big news thanks a lot...

Sorry, you are limited to 8 thanks per day
[LG Optimus Black] :
Gab: Please make a Ota package thanks :) Please give me the source :) I want to Start adding features. pissed off and fed up debugging AOSP.
[LG Optimus Black] George Jetson:
Thanks screenshots from "gabwerkz"
[LG Optimus Black] meddistar:
Is all working ?
[LG Optimus Black] gabwerkz:
This will be a flashable zip like most of the ROM's. If anyone (redy, xonar, Bpaul, Chenlei) just follow the commits on bootloader of arcee. USB commits too. update your updater script. Do not touch the "BLACK" configs.

Follow the config erasure on CMDLINE. there should be no VRAM there just (="")
[LG Optimus Black] TheGripper:
Are you uploading it ?
[LG Optimus Black] gabwerkz:
Not yet. I have FC on LG Keyboard and Launcher. And the ROM is already deodexed.
[LG Optimus Black] agritux:
Woow. Maybe this night we have a ics rom. :) thanks :) and you guys, you are the best :) you will give us ics before LG :)
[LG Optimus Black] Mexickano:
Those FC could be fixed using another Kb&Launcher? Or it is more complicated than that?
[LG Optimus Black] Dragusdrake:
no, simply put .apk in system/app

yeah gab, you are roooocks!!! :laugh:

another launcher and another keyboard!
[LG Optimus Black] gabwerkz:
We will upload... patience...
[LG Optimus Black] Mexickano:
That's it?!, OMG UPLOAD IT NOW I will change the kb and launche by myself, I wanna prove it :yaoming:
[LG Optimus Black] raduku009:
FINALLY , i can't wait... my hands are shaking like hell
[LG Optimus Black] xonar_:
I think the FC are caused by one of the commits of arcee. The one were he said he removing LG stuff. I'm on phone now so I can't search the link. Haven't got enough data left.

Sent from my LG Optimus Black
[LG Optimus Black] naeem86:
me too cant wait! i keep on refreshing every second! looks like it will be a good weekend for our p970! houhouuuuuuuuuuuuuuuuuuuuuuuu!!!!
[LG Optimus Black] George Jetson:
Pls upload any buggy ics for us than you can still working on it we are waiting for months...
[LG Optimus Black] dcop7:
There are other ICS Roms...
[LG Optimus Black] ghost_pilot:
True! Its unfair forget that...
[LG Optimus Black] gabwerkz:
UPLOADING!
[LG Optimus Black] Imperticus:
You had to rebuild kernel with P970 defconfig?
[LG Optimus Black] linzer_:
that means the only bug of the korean ICS on our OB is the Launcher and Keyboard??

Gesendet von meinem LG-P970 mit Tapatalk 2
[LG Optimus Black] N00BY0815:
Nope, the only bug is sd card mounting ;) At least the only one i found till now :D
[LG Optimus Black] raduku009:
where's the upload??? are you uploading it ?
[LG Optimus Black] gabwerkz:
Just wait for it. 384 MB, an hour + or so.
[LG Optimus Black] N00BY0815:
Yaaaay MEMETIME :D
[LG Optimus Black] inso420:
Sd card mounting inside rom? Does it work from recovery?
[LG Optimus Black] aasimkhan30:
how much is the internal memory

is the camera working fine

and is it ok for daily use

are you still getting fc in launcher and keybaord.
[LG Optimus Black] BPaul:
Thanks
[LG Optimus Black] N00BY0815:
Inside ROM mount doesnt work yet, gabwerkz is working on it ;) It ALWAYS works in recovery.

Camera is working, ready for daily use, no FC's on Launcher and keyboard so far...

Browser is damn fluid ;) Can't test more guys, gotta study my biology stuff :p Allain will keep you guys up to date :D
[LG Optimus Black] vincevince55:
Great news so....:laugh:

Good luck with ur biology studies....biologist too:good:

yeah i know i'm Ot and nobody cares...

bye
[LG Optimus Black] aasimkhan30:
so it means we cannot install apps
[LG Optimus Black] :
Let's just let them fix the Storage mount issue Patiently :)
[LG Optimus Black] CrawnberyJack:
you're so right....

now...
[LG Optimus Black] George Jetson:
Storage is important if it not fixing we cant use camera cant use music player.
[LG Optimus Black] N00BY0815:
Dont worry guys, upload will be done soon, gabwerkz is working on a solution for SD card, so everything will work fine either today, or the coming days ;)

Just chill :D
[LG Optimus Black] gabwerkz:
Well let's take things one at a time. I'm giving you a preview of the ROM. Eventually SD mounting will be fixed few hours from now.

If you don't want the ROM I will share it only to chosen few.
[LG Optimus Black] pk76:
I want badly this rom to test, so please give us link. Thank you.
[LG Optimus Black] imam.krismanto:
please open share...
[LG Optimus Black] vincevince55:
We want it!!!!

Can i be one of the few if taht is ur choice??

Thx
[LG Optimus Black] CChowprince:
+1.THX
[LG Optimus Black] androidjel:
I think its beter if he give it to us when sdcard is fixed
[LG Optimus Black] no14me:
please share it to all. we really really want it :o
[LG Optimus Black] tysovsky:
Of course we want it. How much time is left for uploading to finish ?
[LG Optimus Black] George Jetson:
You can download when sd card is fixed:good:
[LG Optimus Black] mix231:
Please share for all. We want very much this!!:highfive:
[LG Optimus Black] CrawnberyJack:
please share :) because it's weekend.. and i have time to... try it :)
[LG Optimus Black] nhanzes:
Yes! Sd card mount isn't a problem, because can it access it in recovery.

You guys are amazing! I'm really glad to have good devs to help in our device! THANKS! :)
[LG Optimus Black] imam.krismanto:
i think sdcard problem can fixed with modify ramdisk...
[LG Optimus Black] hamzababar:
the link of ics v30i is not working
[LG Optimus Black] GPaul:
Are you guys still working at this project?

Regards.
[LG Optimus Black] Nihiliu:
We already have ics so why bother with same but buggy soft?
[LG Optimus Black] SaschaKH:
Let me recap, the tread starters OB is 'dead' and this is a port from a very alike LG phone that already had ICS what wasn't out for our OB. Well ICS is here for some time now.

I think the changes that anything will come are very very slim to non existent. Maybe a mod should close it.
[Galaxy S III Q&A, Help & Troubleshooting] IamIrene:
help guys need help here

don't know why my mobile odin pro apps has become system application

is it due to I use it to flash stock ROM (download from sammobile)

if yes any idea how to change it back to normal application which can uninstall it without using root uninstaller, titanium backup, etc

try delete the mobile odin apk inside the system > app folder and uninstall using root uninstaller and titanium backup, once download and install mobile odin pro from play store

then try uninstall, is can't, only show uninstall update, after uninstall update then disable

any idea ?
[Galaxy S III Q&A, Help & Troubleshooting] sharingan92:
have you tried mounting as r/w then deleting odin then reboot i had the same problem on my atrix 2 an this seemed to help

---------- Post added at 10:31 PM ---------- Previous post was at 10:29 PM ----------

also try using root explorer to delete the app
[Galaxy S III Q&A, Help & Troubleshooting] Thealshear:
easier wway just get titanuim backup and convert it to user app
[Galaxy S III Q&A, Help & Troubleshooting] IamIrene:
how to mounting as r/w ??

I am using ES file explorer with root function delete the mobile odin pro apk inside the system / app

how ? can you guide me ?
[Galaxy S III Q&A, Help & Troubleshooting] slaphead20:
long press on the app in titanium and it throws up a list of options and you will see "convert to user app"
[Galaxy S III Q&A, Help & Troubleshooting] IamIrene:
woots working perfectly

but it shows convert to system app only

so I try convert to system app, then convert it back to user app

and then can uninstall already

thanks
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] rmhoh:
hi guys.

i'm just wondering if you have any good/best configuration for savies kernel?

and how can i make deep sleep activate with savies kernel?

im noob guys.
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] djvithin:
use

FOr battery saving

min:312 Mhz

max:624 Mhz

gov:consevative

i/o:deadline

for gaming+battery draining

max:832

min:624

gov:lagfree

i/o:cfq

datz it....
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] Kousthubha Kumar:
Governers main function is to change frequencies, so you should keep the min-max as 312-824, and let the governer do the rest (battery saving governers tend to keep freq as low as possible and performance governers the other way). In that way, you can get maximum efficiency without losing performance..

For complete/only battery saving:

governer: powersave

i/o: deadline

For battery saving with moderate performance:

governer: ondemand

i/o: deadline

For good performance with moderate battery savings :

governer : smartass v2

i/o: sio/deadline (sio for more perfomance)

For pure performance or extreme gaming:

governer: performance

i/o: sio

Ref : http://xdaforums.com/showthread.php?t=1507204

For deep sleep, you dont need to activate anything, it activates itself when the screen goes off, its the setting where cpu is at lowest freq state and minimal load
[Asus Transformer TF700] Neuman.Tim:
Nice! Thanks brother
[Asus Transformer TF700] bigrushdog:
I'll jump in just for fun.
[Asus Transformer TF700] chugger93:
Wow now teameos comes through in a big way. Why haven't I unlocked yet again?? :eek:
[Asus Transformer TF700] okantomi:
hey bigrushdog! Now that EOS is here, I know this tablet has arrived!
[Asus Transformer TF700] legendary1022:
My favorite ROM on the Transformer Prime has made the jump. Can't wait to get home and try this. Finally a reason to unlock and root my device.
[Asus Transformer TF700] eyosen:
Now I have a reason to change my stock recovery. Thanks a lot guys.
[Asus Transformer TF700] Schrotty35:
What can the CM10 version better than the others that it's here already?
[Asus Transformer TF700] MartyHulskemper:
The portrait bug is the one thing holding me back from flashing this. Grrrrrrr!

With the risk of pointing you to something either very stupid or very obvious, or both, the ROM referenced here:

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

reputes it has fixed the screen tearing, and enhanced portrait mode (and some not specified fixes to portrait mode). Would it be of use to contact the dev and see what (s)he has been up to?
[Asus Transformer TF700] htcvidi:
What about the lag problem with bluetooth headset we have with stock ROM ?

Does it still exist with this ROM ?
[Asus Transformer TF700] hiemanshu:
And I will maintaining this ROM as well. So contact me for any issues :) Working on solving the tearing and portrait mode issues :)
[Asus Transformer TF700] gmfeny:
Mother effer!!! Bigrushdog from miui on the evo 4g? Of so what's the chances of getting miui on the infinity?
[Asus Transformer TF700] hiemanshu:
You want me to try that too ;)
[Asus Transformer TF700] Drewman294:
Jesus, what can't you do?

Sent from my JellyBean Burrito (Inspire 4G)
[Asus Transformer TF700] maedox:
Will this fix the I/O-issues?
[Asus Transformer TF700] ishamm:
i get lots of reboots, to the point of being unusable :( what has this rom got to offer that cm10/bb/others dont?
[Asus Transformer TF700] hiemanshu:
Sprint faster than Bolt :P
[Asus Transformer TF700] eyosen:
Can't get the rom to boot. It gets stuck at the Asus logo.

Unlocked ICS bootloader

Twrp 2.2.2.1 the latest.

Fully wiped including data, system, Cache and dalvik.cache

Then installed hiemanshu's cm10 9/14 alpha and boots fine.

And for some strange reason

I can't go into fastboot. It says starting fastboot USB download however don't see the device in fastboot. Just waiting for device. All win drivers are installed. I do see Asus bootloader in device manager.

I was going to erase cache from fastboot just like my hox.

EDIT I'm not sure about seeing Asus bootloader while in fastboot. Have been at this for 5 hours now. So if you ask me my name I probably say Asus bootloader

EDIT2 I think fastboot issue is resolved. Thanks hiemanshu.
[Asus Transformer TF700] MartyHulskemper:
I no longer seem to have access to fastboot either...
[Asus Transformer TF700] hiemanshu:
fastboot -i 0x0B05 devices try that :)