yashsingh1/xdaforums huggingface dataset:
[LG Optimus Black] rajeshmk2012:
gabwerz ,i already found the solution...for linaro a compiler flag needs to be changed ...-march must be changed to some -mu..=cortex a8...

I dont remember the flag now....after this compilation continued and now i got a new error ... in driver/muic file ...some _bad...when calling udelay....there is some limit to value that can be sent to this api;200 as per i googled and found....and it was being sent 1000.

can u tell me about this error...
[LG Optimus Black] gabwerkz:
I use Google's 4.6 toolchain for stability/compatibility. https://github.com/gabwerkz/arm-eabi-4.6

As for Linaro, there are selected patches around github and CM code review that will solve compile errors. Like this one https://github.com/CyanogenMod/android_kernel_samsung_tuna/commit/ec1ac589d49081286164246fbaaba0012ae7ecac

You must filter what's needed and not. Example of unneeded: ashldi3
[LG Optimus Black] rajeshmk2012:
Hi Nooby,

Do you use linaro?did you get the problem as i have got?
[LG Optimus Black] N00BY0815:
AW: [HOW TO] Cook your own ROM.

No i dont, since i compiled rather for stability, than speed. I used the 2010q3 google toolchain (see my devhost site or github for a link).
[LG Optimus Black] rajeshmk2012:
i have fixed the compilation error and now have a zimage etc in arch/arm/boot folder.

for the first error i got " Error: selected processor does not support ARM mode `smc #0'"

..i fixed this by changing "-march=armv7-a" with "-mcpu=cortex-a8" in \kernel\arch\arm\Makefile file...

reference from ===== http://lists.linaro.org/pipermail/linaro-toolchain/2012-December/002997.html

for error 2 \kernel\drivers\muic\p970_muic.c ....

/*

* Linux bug: If a constant value larger than 20000,

* compiler issues a __bad_udelay error.

*/

void muic_udelay(u32 microsec)

{

u32 microseconds;

microseconds = microsec;

udelay(microseconds);

}

this funtion is called with muic_udelay(100000)....but as per kernel\arch\arm\include\asm\delay.h the max delay is 2000....no idea how it compiles with other toolchains...to fix this changed it to muic_udelay(2000) .....

so how can i push this in my phone..i am planning to put this kernel in noobys v30b repack to test...

so how can i do this?I searched in forums and found this...

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

is this what i am supposed to do...

also i have not changed anything else in this kernel....i think some bootargs is to be changed to make it bootable....

can someone guide me to that change......

also i would like to know that if i want to build the kernel again...how can i clean and rebuild it......
[LG Optimus Black] rajeshmk2012:
Can anyone answer my previous questions...I want to try this on weekend
[LG Optimus Black] rajeshmk2012:
Looks like everyone is busy:(

Still waiting for reaponse..

Just for reference the fix i made for bad_error is not right...the call udelay must be replaced to mdelay..and the current parameter shud be divided by 1000.
[LG Optimus Black] rajeshmk2012:
Hi Devs ..a little help here would be appreciated ....

i have compiled the kernel v30c successfully and now want to use it with Nooby's v30b repack...

i have the zimage etc....do i need to change anything to make this kernel bootable?

Please give me steps.....
[LG Optimus Black] gabwerkz:
Well, you're in the wrong thread that is. This is for repacking the ROM and not compiling a kernel. :)

Anyway, if you didn't

modify the cmdline

, that won't boot with NOOBY's ROM. At the OP, you will find a link of "dsixda". It can unpack

boot.img

. We use it for most general purpose, unpacking boot.img, deodexing, repacking a ROM. A boot.img contains the

ramdisk and zImage

. You need to replace the zImage inside. There is also "kernel injector" here at OB thread, where you inject (as the term implied) the zImage only. Just search the keywords and you'll find it.

Most repo (github) around here, you'll find the necessary codes on what to modify regarding cmdline. Just read the commits. huexxx, NOOBY, rmcc, and all the kernel compilers.

2 Options:

1. Use that zImage (no cmdline mod) together with the

unlocked V30 bootloader

which was newly posted at

General Thread

.

2. Mod/force the cmdline in order to boot on

old bootloader

. Meaning if you have NOOBY's ROM currently, it means your bootloader is V20 hence you need a modified defconfig.
[LG Optimus Black] rajeshmk2012:
Thanks..found the kernel injector update.zip ....

but i could find the cmdline...i see nooby's git and he has reverted the change....what should i do?

also i see that once Nooby gave me wireless.ko with boot.img...i have just zimage.....
[LG Optimus Black] rajeshmk2012:
this is current defconfig

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"

CONFIG_CMDLINE_FROM_BOOTLOADER=y

# CONFIG_CMDLINE_FORCE is not set

i see in one forum Xonar saying that we can just do

CONFIG_CMDLINE_FORCE = y

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

and should i comment "CONFIG_CMDLINE_FROM_BOOTLOADER=y"

Gabwerz you or Nooby or Xonar can some one confirm this...

Note:I am on stock android 2.2....v10g with root and CWM...but i used Nooby's v30b repack and works fine
[LG Optimus Black] gabwerkz:
Please don't double post. One will reply if they see your post. Just edit the last one.

This is the problem when you don't follow what's happening around your own phone. You jumped compiling a kernel without gathering data first. You will find everything you need around here, tutorials. You fire away questions immediately.

If you do CONFIG_CMDLINE_FORCE=y, charging when phone is off won't work.

When you compiled the kernel, at the very end message in Terminal, you have the "paths" of zImage and wireless.ko. And any module (.ko) that was included in the compilation. It5 will not make you wonder where the hell are those files.

NOOBY's repack has a self compiled kernel with modifid cmdline. That's why it works fine as you said. Every ROM and kernel that you can flash via CWM has a modified cmdline, else you'll get security error. Unless you use the V30 unlocked bootloader.
[LG Optimus Black] rajeshmk2012:
ok!!!

This is what i see in your git

https://github.com/gabwerkz/bproj-i...9306fe6b2698ac68#arch/arm/mach-omap2/Makefile

i am doing same ...added lge_cmdline.c ...empty the bootargs..and modify setup.c.....

Let me know if i am wrong in any step....

By the where is this file lge_cmdline.c coming from,,,,means from where did you get it...its not there is any LG source

EDIT:also saw Nooby gits..

https://github.com/n00by0815/kernel...ter/arch/arm/configs/black_open_eur_defconfig

i am too much confused by the commits...what am i supposed to do exactly to make it bootable with modified bootargs
[LG Optimus Black] gabwerkz:
Yes that is correct.

Came from rmcc. https://github.com/CyanogenMod/lge-kernel-sniper/commit/d04b912a8dce2ca70792afa65f866dd78865e00e

Commits are just added stuff to the "stock" kernel, like added governors, schedulers, patches, and so on. If you just want to compile it stock and boot it, that's all you need (modified cmdline). Forget about the other commits, that is another step and maybe another question for you.
[LG Optimus Black] rajeshmk2012:
OK thanks...will build the kernel..

also regarding the .ko file....i have seen the console output ..it just show zimage and image ..being output,,,

am i missing something?

One more Question.i have just completed the kernel building....now if i flash v30b repack...

then install my kernel with injector script ...will i loose root and CWM?

Edit:gabwerz i flashed my kernel zimage on nooby repack with kernel injector and then my phone was just showing lg boot logo...led's not even blinking...the leds were lit all the time.....whats the problem?

Then from sft flashed patched v10g and restored my backup with cwm.....

Can anyone tell me where may i have gone wrong

EDIT2: OK i just checked

http://xdaforums.com/showthread.php?t=1350679 and original forum

http://xdaforums.com/showthread.php?p=19450739#post19450739...

here modules are also packaged..i.e ".ko" files....but didn't find any ko files....????

EDIR2: OK i just saw that there is another file AndroidKernel.mk which builds modules also...

i was just giving "make ARCH=arm zImage" as per readme...

now i am running "make ARCH=arm modules" to get the modules .....

hope this works fine...

can someone explain me "AndroidKernel.mk " and when this is used...there are lots of stuff in this..viz ;recovery.img ,boot.img

ok now i got wireless.ko and scsi_wait_scan.ko files...i will put this in modules in update.zip...

there are also wireless.o ,wireless.mod.o ...are these files also needed??

one more thing ..do i need to do somekind of signing to kernel ..to make it bootable....

Does absence of these modules put my phone on LG boot logo with LED lit state last time?

EDIT: i was so impatient that i flashed it again and was on the same state as earlier....can someone tell me what am i missing or doing wrong?

Nooby i am flashing my kernel on your v30b repack...can you tell where i am wrong?
[LG Optimus Black] rajeshmk2012:
I again build everything and also signed the update.zip ...but still only lg boot logo....now how can i debug this.....

is this happening because i compiled it with linaro......

i can share my zimage etc....can any tell me whats the problem with it

in update.zip i put following files

zimage in root

wireless.ko and scsi_wait_scan.ko in modules folder...

its just stock and still i am not able to make it bootable!!!!!!!!!!!!!!!!!!!
[LG Optimus Black] gabwerkz:
NO. Root/Superuser is an apk and binary in the "ROM", while CWM is recovery. What got to do with kernel?

You only need to type "make" or "make -j4". You will get an output:

Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
MODPOST 2 modules
LZMA arch/arm/boot/compressed/piggy.lzma
CC arch/arm/boot/compressed/misc.o
CC drivers/net/wireless/bcm43291/wireless.mod.o
CC arch/arm/boot/compressed/decompress.o
CC drivers/scsi/scsi_wait_scan.mod.o
SHIPPED arch/arm/boot/compressed/lib1funcs.S
AS arch/arm/boot/compressed/lib1funcs.o
LD [M] drivers/scsi/scsi_wait_scan.ko
LD [M] drivers/net/wireless/bcm43291/wireless.ko
AS arch/arm/boot/compressed/piggy.lzma.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready

NO.

NO.

Wireless module is needed only for wireless purposes obviously, like wi-fi.

https://github.com/gabwerkz/bproj-ics/commit/ab3e13802d647f5a90bbb06b365ed088f934e0ec#commitcomment-2309507

zImage in root folder/zip is ok.

wireless.ko in modules folder is only for CM based ROM. Do you see a module folder anywhere ICS? Unless you create one and mod your ramdisk.

In ICS, the path is system/etc/wifi. Just put it there. But even without this module, it will not brick your phone.

Try the Google 4.6 first

as what suggested at the very beginning.

I can tell a no blinking keys is related with toolchain.

Check kernel compilers here who used Linaro, then check their repo if they have a commit regarding that.

Depending on toolchain used, check your path in Makefile.

If you would not want to follow suggestions I can do nothing for you. As your questions is one after the other. Suggested something but you went your own way... have it your way then.
[LG Optimus Black] rajeshmk2012:
I am downloading the google toolchain....

I downloaded the linaro toolchain from http://www.linaro.org/downloads/

from the "Binaries" section "linaro-toolchain-binaries".....is this the right one,,,,because there are lots of tool-chains there
[LG Optimus Black] kid1519:
but folder "Adb"??? what is this. sir???
[LG Optimus Black] rajeshmk2012:
Android Debug Bridge (adb) ..i didn't say about that anyway

---------- Post added at 11:54 AM ---------- Previous post was at 11:48 AM ----------

Hi Gabwerz/Nooby,

I changed the toolchain...and it worked fine...i got the toolchain from someone who compiled the 32bit version in xda....

because first i clone your toolhchain..it didn't work i guess it was 64bit ...then cloned from google still same error...i read somewhere it was too 64bit....

mine is 32bit ubuntu...

link of toolchain i am using and working ....

https://github.com/yath/android_prebuilts_gcc_linux-x86-32_arm_arm-linux-androideabi-4.6

In this forum some one is compiling linaro toolchains optimized to work with our coretex a8....

http://xdaforums.com/showthread.php?t=2098133&page=3

I think i will try this...

Hey Nooby ..what about ur v30c repack?
[LG Optimus Black] N00BY0815:
AW: [HOW TO] Cook your own ROM.

I dont feel like doing one :p got better and more interesting things to do these days ;)
[LG Optimus Black] rajeshmk2012:
building ubuntu for optimus black?
[LG Optimus Black] N00BY0815:
AW: [HOW TO] Cook your own ROM.

There is a thread about it, search it please. I dont have the time, nor the will to do anything atm.
[LG Optimus Black] rajeshmk2012:
I was just asking whether u were in it or not..!!!!as i have already seen that thread
[LG Optimus Black] PRichardson:
Thankful for Cool People

I am so very thankful that N00BY0815 ignored this early on comment. While I agree an index of links to tutorials might be helpful, it is a far less efficient (investment:payoff ratio) contribution to the community, to merely document what you are already doing (breadcrumbs on the trail, that others are likely to walk later), than to post a document with a list of exception to some other tutorial.

The index table of other tutorials, would not be very helpful to the average person only seeking one of them, for their own device. Payoff in learning is much greater in this case, to have RE-CREATED a tutorial that already existed, but instead of just listing all the exceptions, to have it fully represented, with edits/exceptions embedded.

There is no substitute for seeing the 'whole picture' all in one place, vice some ridiculous set of caveats, updates, and edits, that you are supposed to integrate in your head, or bounce back and forth to read.

This is why there are separate documents for each model/manual at corporate sites, and why math books that only update/revise/build upon what came before, will include stories that are unbroken explanations, vice segmented revisions that refer back to other books.

Until educational technology (via embedded forums) figures out separation of concerns, the consensus of opinion of curriculum designers will remain that it's a lesser sin to duplicate effort while lowering learning curves, than (alternatively) to spare one's self that extra effort during curriculum design and loose up to half of learners who won't make the extra hurdle (and not always due to lack of desire to learn, for example, if they are short on time).
[Samsung Epic 4G Touch] jdenn:
I am coming to Sprint (and locked into the network) from a Verizon Droid Incredible. I loved the phone and I am sad to see it go, but Verizon doesn't do well in my new location. Sprint is the best and I am torn. The area also does not have 4g.

My entire family has gone with the 4s but I am on the fence. I love the openness of Android. I have an old Ipod touch 2g that has been used just for music since I got the Dinc.

Is this the phone to get or should I just get an Iphone?
[Samsung Epic 4G Touch] cidica:
E4GT is an amazing phone period even with it being a bit older then the 4S. Honestly if you do love Android (as you have one already) You will love the E4GT
[Samsung Epic 4G Touch] Overstew:
Epic Touch for the win! The screen size is the best, compared to the tiny screensize of the iPhone. You'll get more out of this device than the iPhone.
[Samsung Epic 4G Touch] Tiffany84:
I had this phone and decided I wanted to try the 4s. The 4s was a great phone but in the end I missed Android so much and I really missed the screen size of the Epic Touch so I went back to the Epic Touch. If you really love Android and your on Sprint the Epic Touch is hands down the best phone Sprint has to offer at the moment.
[Samsung Epic 4G Touch] kingdazy:
trust me, your iPhone toting family/friends will be envious. all of mine are.

of the screen. of the android features. of the tethering. of the camera. but mostly of the screen, all of the iPhone folk that know nothing about the tech behind it or the possibilities that android gives you are Always jealous of the screen, because thats all they see, that's the only feature that matters to them that they can understand. (f*cking magpies. lol.)

every. single. iPhone. user. I have encountered since picking this phone stops. stares. asks in a quiet voice... "what phone is that?", mouth slightly agape.

I tell them it's a Galaxy S II. as casually offhandly possible.

"... is that... an Android phone?... I... didn't know it could (insert awesome feature here)..."

every. damn. time.
[Samsung Epic 4G Touch] stkiswr:
Yeah...,the gs2 gets attention. Very very nice phone. If sprint is strong in your area I don't see you regretting it
[Samsung Epic 4G Touch] gtuansdiamm:
Yes ask android fan boys which phone is better
[Samsung Epic 4G Touch] cidica:
Actually While I do love my android phones I don't have an issue telling someone they will like the iPhone more for what they are going to use it for. It's pretty simple if you like another phone use it if not stick with what you know. As it is there is a 14 day "period" of time he can use/try the iPhone 4S and if he does not like it return it and get the E4GT. Either way it's really up to him.
[Samsung Epic 4G Touch] krisI0N:
Lol. I be honest to. Everyone in my soho has either a flip/keyboard phone, or an Iphone and Everytime some one sees it they always are like wow.. I wish I would of got that phone.. And yes the main thing the focus on is the beautiful screen because that's he first thing they see, of course they always love the lockscreen also
[Samsung Epic 4G Touch] Rob4828:
Wait till we get the note......hopefully lol
[Samsung Epic 4G Touch] jdenn:
I am still really torn. My mom got the iphone on my recommendation for its simplicity/intuitive UI. She isn't a power user. My dad got it because he needed a mac for his work education and really liked the iCloud. Is there any inkling on when the galaxy S3 will go on sale?
[Samsung Epic 4G Touch] cidica:
Samsung will not even talk about the SG3 period all anyone knows is "summer" and that's about it. And honestly that's not even saying much I will say this however even though the GS3 will have better specs then the GS2 the GS2 regardless is still a beast of a phone. Out of the box it stands against pretty much every single phone released right now including the GNexus. Like I've said in another post you do have a 14 day window you can test a phone out. Give both the iPhone and the GS2 a go and see which one YOU like more.
[Samsung Epic 4G Touch] ydoucare:
I find nothing appealing about the iPhone at all. My GF has a 4s, and I honestly cannot stand it. There's no way I could ever go from *any* android phone to an iPhone. Just looking at the iPhone 4s screen after using my E4GT makes it look like a pile of barf. Yeah, it has really high pixel density, but who cares when the screen is so small that your thumb can cover 6 buttons at once.
[Samsung Galaxy Nexus] alexthearmo:
Hey guys! My phone's wifi antenna seems to be borked. Won't turn on (stuck at: "turning on wifi...", but never goes on), and it's causing my phone to reboot over and over and over again without stopping! Horrible! I tried to get Samsung to send me a replacement, but they won't because it was made in Korea. Anyone know what I can do? Has anyone had success getting a replacement GSM phone made by Samsung?

Please help! I'm really stuck! Thanks!
[Samsung Galaxy Nexus] Mitchmoney:
did you buy it off a website? Contact the website..

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] lrs421:
How do you know it's a hardware defect? Did you try reflashing the stock images?
[Samsung Galaxy Nexus] Esteway.619:
We need more info. Are you rooted? What rom u on? Have you tried to use adb to go back to stock?
[Samsung Galaxy Nexus] alexthearmo:
i was rooted when it started rebooting, so I went back to stock and the same thing happened. I'm 100% stock everything right now, locked bootloader and it wont stop rebooting. I don't really care to solve the problem of the rebooting, I just want to know how others here were able to send it in to Samsung and get a replacement (GSM model).

Anyone know?
[Samsung Galaxy Nexus] lafrad:
Thye have told me they won't fix my UK supported GSM nexus also.

I would have to send it to the UK facility to get it repaired or replaced, but that facility will NOT accept shipment to/from the USA.... So I would have to find someone in the UK to accept the phone, send it it, receive it, and send it back to me.

BOOOOOOOOOOOOO.
[Samsung Galaxy Nexus] alexthearmo:
Sounds like you and I are in the same boat. That is so sucky! I will never buy a phone off contract again!
[Samsung Galaxy Nexus] lafrad:
buying a canadaian phone outright would probably be a pretty "normal" warrenty experiance...
[Samsung Galaxy Nexus] i n f a m o u s:
Where did you purchase your Nexus? Try contacting the reseller to see if they can handle the warranty or repair for you.

Next time go with Negri Electronics if plan on purchasing another international phone.
[Samsung Galaxy Nexus] justanothernoob:
I had the same problem but luckily I purchased my phone from Negri and well they have shipped it to Samsung for repair but I am without my Nexus for going on two weeks now and it could be up to 4 weeks before I see it again. But atleast they were kind enough to get it repaired for me.
[Samsung Galaxy Nexus] martonikaj:
OP tell us where you bought the phone from... it matters. Samsung (usually) won't process warranty claims if you imported a grey market device. You have to contact the site you purchased from to initiate the warranty claim.

This is why its so important to choose your importer carefully based on how they handle warranties.
[Galaxy S II Q&A, Help & Troubleshooting] kieronw3:
Hi,

New to the sgsII forum after finally divorcing my x10i.

Does anyone else suffer from a weak wifi signal.

Could be standing next to the router and still not have full signal and a much decreased signal strength compared to the x10i at any distance from the router.

Many thanks

Kieron
[Galaxy S II Q&A, Help & Troubleshooting] kurtis.pullin:
Nope my WiFi is fine, my phone can even connect from outside the house. Maybe its your router that's the problem. Try another wireless network to see if that works ok?
[Galaxy S II Q&A, Help & Troubleshooting] kieronw3:
Thought that but wifes x10 and ipod have no pronlem with signal strength.
[Galaxy S II Q&A, Help & Troubleshooting] JJEgan:
How are you measuring signal -DB or just using the not very accurate wifi indicator .

You could check if your firmware has an upgrade .

jje
[Galaxy S II Q&A, Help & Troubleshooting] woodstock_ahem:
Yes may be due to quite a few reasons...

As mentioned in the above post... try upgrading the firmware of router (if theres any)..to start with...

if it doesnt works..or no firmware upgrade available for your router..

install free app wifi analyzer from market..

check the router channel ...from the app... there might be some interference with neighbours...change the router channel..if theres any interference...

in the wifi analyzer the router signal strenght should be above above -60dB/-50dB...

if thats the case...the wifi signal indicator on status bar may not be accurate...(showing low signal)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ian1:
So apparently Samsung makes the skyrocket think that the usb storage is the sd card. Because of this when i tap to move an app to the sd card it moves it from system storage too usb storage. I am pretty much out of storage internally. Has anyone else had this problem or does anyone know how i can solve the problem.