yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] salmanghiyas:
hi all,

i bought this phone few days back T989 ... it was running stock GB 2.3.6 ... a week ago i rooted it uninstalled all bloatwares ... the phone was running very well and was smooth ...

today i decided to install a custom ROM ... i first installed ROM manager and was planning for a nandroid backup ... first it prompted me to installed the latest CWM recovery i accepted it .. and CWM recovery was installed ...

then i tap on back up my current rom ... first it gave me a FC error that ROM manager suddenly stopped responding .. i ignored that, started ROM manager again and again tap on back up my current ROM ... after that my phone went BLANK ..

i removed the battery, put it back and tried to turn it on but no response ?

when i press the power button my phone vibrates shows the samsung logo and thats it .. nothing is happening and nothing is coming after that ...

it is not even going in the Recovery mode ...

i attached the data cable and started ODIN .. luckily it successfully showed the DOWNLOAD mode window ...

i downloaded a Stock ROM to flash it and start from beginning ...

T989UVLH1_T989TMBLH1_TMB this is what i downloaded .. i put the .tar file on pda and clicked start ... it took about 6 to 8 mins to install the system .. then i came on installing MODEM and gave me an error that ODIN cannot continue ... ODIN was forced closed with the error .. i tried it 2 , 3 times but same result ...

now i am stuck .. my phone is not getting flashed from ODIN as well .. still it is being detected on PC on downloading mode ..

and on my phone's screen at download mode it is showing firmware update encountered an error .. select recovery option from KIES ..

any solution ?
[T-Mobile Samsung Galaxy S II SGH-T989] salmanghiyas:
i did not had External Sd card installed on my phone when i tap on back up my current rom on ROM manager ...

does this caused and started all the problems ?
[T-Mobile Samsung Galaxy S II SGH-T989] sirdowski:
Hopefully it's not a hard brick... It doesn't sound like it is.

Try this : http://galaxys2root.com/t-mobile-ga...-to-ics-stock-on-t-mobile-galaxy-s2-sgh-t989/
[T-Mobile Samsung Galaxy S II SGH-T989] salmanghiyas:
i was on the same link and currently downloading the stock ROM :)

thx alot bro .. hope it solves
[T-Mobile Samsung Galaxy S II SGH-T989] salmanghiyas:
Tried this but this is what i am getting every time ...
[T-Mobile Samsung Galaxy S II SGH-T989] sirdowski:
Try flashing this in odin:

http://xdaforums.com/showthread.php?t=1391174
[T-Mobile Samsung Galaxy S II SGH-T989] salmanghiyas:
I already did with UVKL1 .. its giving me this error
[T-Mobile Samsung Galaxy S II SGH-T989] salmanghiyas:
MOD please close the thread.

Issue resolved !!

just flashed a stock KERNEL UVKL1 in .tar form from ODIN and it worked ..
[LG Optimus 2x] korsa5791:
First ics 4.0.4 update released by lg. What do you think?:laugh:
[LG Optimus 2x] louiscypherbr:
Really? Where's the link?
[LG Optimus 2x] korsa5791:
In the coming days I think.
[LG Optimus 2x] louiscypherbr:
As supposed, a troll.

Please, somebody close this thread. It's already public on dev's section, on appropriate thread.
[LG Optimus 2x] flopower1996:
Omg yeah please close this thread.

Gesendet von meinem Optimus 2X mit Tapatalk 2
[LG Optimus 2x] lgp500user:
ahahah nice :D
[LG Optimus 2x] korsa5791:
Sorry but I do not want to be a news that should surprise

but just remember that soon we will have our o2x with official ics. mine is a question to ask you all: what do you think of this update will change enough that I read the ns. loved o2x?. But apparently your interests are just a link to download. The thread is in the general section which discusses in general o2x and this is a discussion.
[LG Optimus 2x] The-Hulk:
Thread Closed, Please use the ICS Sticky to post any news, also please make sure you have some news to post.

Thanks

The-Hulk
[AT&T LG Optimus G] iamtha1:
Anyone else's LG optimus g have issues switching from lte to standard 4g mine seems to lior lte the best when I am in a low signal area 1-2 bars I have no internet!
[AT&T LG Optimus G] cloudraker:
Mine has the exact opposite issue. Ill be in the middle of an LTE area and it will still just show 4G. I have the slower speeds and all until i go into airplane mode and back out then it goes to LTE no issues.
[Android Q&A, Help & Troubleshooting] nd290:
Hello,

I've never rooted a device before, so please forgive me should I come across stupid :)

I've got a Nexus 4 and had 4.2.1 installed and after playing with it, I decided to root. Which I did using Nexus Root Toolkit v1.6.1, and it worked great!

Just a couple of questions, after I unlocked the bootloader to gain my root access, do I then need to lock it again?

Also, if Google release a new Android version (4.2.2, 4.3, 5.0 etc) will installing that OTA update remove my root access? And to install that update, would the bootloader need to be locked?

Thanks!
[Android Q&A, Help & Troubleshooting] xmrenegade7:
No you dont need to relock the bootloader, thats what you unlock to gain root access. If google release a new version of their OS you will be able to flash it as a custom rom from the development section of your device, so ota wouldnt be needed, and plus you cant do ota updates if your device is rooted anyway.

Hope i could be of some help :)
[Android Q&A, Help & Troubleshooting] devwithzachary:
Not strickly true at least on the nexus 7 after rooting and installing cwm you can still install ota updates as cwm will reroot and prevent a new recovery being flashed as the update is installed, this is what I have done with all ota updates.

So if you have cwm and it has this feature all is good :)
[Android Q&A, Help & Troubleshooting] xmrenegade7:
Ah okay. I've never used the nexus devices before I'm just going on previous experience with other phones but its nice to learn something new :)

Sent From My Omega'd Galaxy S3 ...
[Android Q&A, Help & Troubleshooting] nd290:
Thanks for your help, that is useful :)

If I were to flash a rom, would it erase all my data such as apps, settings, pics etc?
[Android Q&A, Help & Troubleshooting] xmrenegade7:
It will only delete apps and stuff if you do a full wipe. Most roms require a full wipe if its the first time you install it, use an app called titanium backup to backup your apps and data then just recover your apps and data after installing the new rom.

Sent From My Omega'd Galaxy S3 ...
[LG Optimus 2x] Raum1807:
Reserved for future use
[LG Optimus 2x] mivv:
nice guide :silly:
[LG Optimus 2x] Ferrum Master:
mivv a lazy one....

Are the sources downloading fast? I didn't try Paranoid... You said few coffees... I think I drank a bucket of coffee and it still wasn't there = went to sleep :D

I'll try, Although I am busy with my pi... that sdcard corruption bug with OC driwes me crazy, I guess I'll ssh my kitchen PC too do something in parallel... :D
[LG Optimus 2x] puma99dk|:
Does this build has the call bug or it's like Benee's hackfest free of it?

and Raum1807 does HW acceleration work?
[LG Optimus 2x] DesertHawk:
Will do this guide next week. Just finished REMICS TOUCHWIZ UX now released for everyone. Then Motorola UI... So next week I'll have time
[LG Optimus 2x] Custom40:
Might give this a go myself, but as you said, it's still in pretty early stages of development.

Thanks for the useful guide though :)
[LG Optimus 2x] svante38:
Shouldn't the file's name be local_manifest.xml?

I.e.

$ gedit ~/cm10.1/.repo/local.manifest

needs to be changed into

$ gedit ~/cm10.1/.repo/local_manifest.xml

in order for it to work. Right?
[LG Optimus 2x] Raum1807:
Of course. Corrected it. Thanks!
[LG Optimus 2x] Raum1807:
HWA is working. It is basically running like CM10.

The call bug hasn't occurred to me (yet). But I think it is the wrong name anyway: in my opinion it is an microphone/audio bug.

In this ROM the RIL and audio are a bit different. So maybe this bug isn't there. But this is a good reason why I would like to see more people building and testing CM10.1.
[LG Optimus 2x] svante38:
Also, looking at your patch, it seems to point to directories on your local machine:

/home/ac64/cm10.1/...

Shouldn't this be changed to:

~/cm10.1/...

In order for it to work on all computers?
[LG Optimus 2x] Cice96:
Can someone upload a build of this?
[LG Optimus 2x] XXMrHyde:
By applying the patch with the "-p 4" argument, the first 4 "parts" of the path will be ignored,

by typing:

cd ~/cm10.1
patch -p4 < CM10.1_building.patch

the path will be "set" correct.

It`s a better to do it this way, so the patch is working also if your path to your repo is different,

e.g. your repo path is CM10.1/android/system/

you have to type:

cd ~/cm10.1/android/system/
patch -p4 < CM10.1_building.patch

But you can change the path in the CM10.1_building.patch to ~/CM10.1...

but in this case, you have to change the -p4 argument to -p0, or just apply the patch without -p argument
[LG Optimus 2x] svante38:
Oh I see. Thanks for clearing that up. :)

Thanks OP for the building instructions too, teaching people to fish instead of just providing them one!
[LG Optimus 2x] tonyp:
I highly doubt a magic fix :D
[LG Optimus 2x] natalya:
if you get it done, please share :cool:
[LG Optimus 2x] MetaIIica:
last i have test a CM10.1 from EaglesBlood and there work no camera and BB28g has no Signal... would in this CM10.1 all fixed??
[LG Optimus 2x] XXMrHyde:
See the Screenshots in post #1, signal is working,

just building CM10.1, will report if camera is working
[LG Optimus 2x] Imperticus:
EaglesBlood is not CM, its based on AOSP.
[LG Optimus 2x] rugglez:
He has built that on his pc and that is where it resides. No wonder you didn't find it in search ;)
[LG Optimus 2x] k101d:
Kindly to share please :fingers-crossed:
[LG Optimus 2x] hermitek:
Yes. If you look at the mentioned device/lge/star-common/BoardConfigCommon.mk.rej file you'll see that it just cannot find WPA_SUPPLICANT_VERSION := VER_0_6_X and replace it with VER_08_X. But that's because it is already set to VER_08_X in the original file. So you can ignore this error.
[LG Optimus 2x] mivv:
its the same rom as the one that posted raum http://xdaforums.com/showthread.php?t=2047118
[LG Optimus 2x] k101d:
Thanks for your information that rom has some problem as he said. Does your rom solve some problem such as wifi signal not turn blue color it still gray and sometime got bsod I had 3-4 time/days (btw I had set min clock to 312 this problem seem to be gone).
[LG Optimus 2x] mivv:
same here with wifi but no bsod for now
[LG Optimus 2x] Wolf80:
I can't finish building the rom,when giving the command "brunch p990" it works for a bit then it gives an error,here's the code:

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
59 errors
make: *** [/home/alessandro/cm10.1/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/alessandro/cm10.1/kernel/lge/star'

Thanks to who will help me :)
[LG Optimus 2x] hermitek:
What are the mentioned errors? They should be mentioned somewhere around. Did you move the LGEInfineon.java file before building the ROM?
[LG Optimus 2x] Wolf80:
Yes,I moved the file as mentioned in the guide,the errors are this ones:

Note: Recompile with -Xlint:unchecked for details.
59 errors
make: *** [/home/alessandro/cm10.1/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/alessandro/cm10.1/kernel/lge/star'

and after Leaving directory /home/alessandro/cm10.1/kernel/lge/star,it stops and if I go to the output folder where the archive ready for flashing should be,there's nothing :confused:
[LG Optimus 2x] bitdomo:
Hi, I followed the instructions what the OP says, but whenever I use repo sync command after 2 hours of downloading I get these errors:

remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
remote: Counting objects: 683431, done.
remote: Compressing objects: 100% (205947/205947), done.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
error: Cannot fetch CyanogenMod/android_frameworks_baseKiB/s
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
remote: Counting objects: 20804, done.
remote: Compressing objects: 100% (6058/6058), done.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
error: Cannot fetch CyanogenMod/android_prebuilt

error: Exited sync due to fetch errors

I tried everything.

Sync with repo sync -j1.

Updated repo to 1.19.

Deleted cm10.1 folder and do everthyng from the begining, even I reinstalled my ubuntu, but i still get these errors.

What I am doing wrong? :confused:
[LG Optimus 2x] Raum1807:
From time to time there are some problems with the github servers and you get this error message. Check here for the github status messages: https://status.github.com/messages

If this happens, wait a bit and try again. There is no need to delete your cm10.1 repo or even reinstall Ubuntu. Just make another "repo sync" and it will resume the sync process.
[LG Optimus 2x] Wolf80:
I'm getting this error when giving repo sync command.

... A new repo command ( 1.19) is available.
... You should upgrade soon:

cp /home/alessandro/cm10.1/.repo/repo/repo /home/alessandro/bin/repo

warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead
Fetching projects: 100% (357/357), done.
warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead
error: Your local changes to the following files would be overwritten by checkout:
star.mk
Please, commit your changes or stash them before you can switch branches.
Aborting

error: device/lge/star-common/: CyanogenMod/android_device_lge_star-common checkout 1c6ffa0e6be83a8cac0b25833d5c80008e119c32

any solutions?
[LG Optimus 2x] Raum1807:
Yes.

First: update to repo version 1.19 by using the command you quoted.

Second: ignore the local_manifest warnings.

Third: star.mk is in your way. If you have changed this file then you have to commit your changes. But if you haven't changed anything then the easiest solution would be to delete all directories and files in your CM10.1 directory but to keep the hidden .repo directory. Then repo sync and the directory structure will be built up again. Don't panic, there is no new download needed. It is just copying the necessary files from .repo. And finally, apply the patch again.

Happy building!
[LG Optimus 2x] Wolf80:
Well I didn't modify anything,i've done all you said,and when giving command brunch p990,it works for some minutes,and at the end of the process i get this message

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

and if I go to cm10.1 folder,there's no "out" folder in it..

EDIT:When starting the process i get the error: "find: `src': No such file or directory" but it keeps working
[LG Optimus 2x] Raum1807:
Well, you have to copy and paste more lines of the error message or nobody can help you.
[LG Optimus 2x] Raum1807:
Then brunch again.
[LG Optimus 2x] Wolf80:
Rebuild now,seems like it's working,i'll let you know :) Where I can find the zip when it finishes building?
[LG Optimus 2x] Raum1807:
CM10.1/out/target/product/p990/cm-10.1-20130105-UNOFFICIAL-p990.zip
[LG Optimus 2x] Raum1807:
You forgot to move the ril file. Please read post #1 again. Check the bluetooth instructions as well.

The out directory will be there when the process has been finished successfully. You will see...;)
[LG Optimus 2x] Wolf80:
I copied it instead of moving,LOL!
[LG Optimus 2x] bitdomo:
Now it is snyced :) I successfully builded my cm10.1 for new bl and pt layout and it works really well. When I applied the patch it returned with failures that some files rejected the patch so I applied it manually.

Thank you for your great tutorial! :beer: :beer: :beer:
[LG Optimus 2x] Wolf80:
Just managed to build it,finally! Now I have to apply the patch to make it work on new bl and pl,and i'm done :) thank you dude,you're the man!

---------- Post added at 03:10 PM ---------- Previous post was at 02:27 PM ----------

Could you tell me how you patched the build for new bl and pt layout? Thank you :)
[LG Optimus 2x] mivv:
just follow the instructions in mettalicas thread it is very simple

http://xdaforums.com/showthread.php?t=2022858
[LG Optimus 2x] bitdomo:
Yes just follow the instructions :), no need to use wkpark's patch.
[LG Optimus 2x] Wolf80:
Just booted the rom right now ! :) I have to find a way to put acid sound mod now :)

EDIT: I messed up something with the partitions in the files that had to be modified,now reverting to ICS with unlocked BL :|
[LG Optimus 2x] bitdomo:
If your building fails again try to replace these file I atttached to this post. It may helps you :fingers-crossed:
[LG Optimus 2x] Wolf80:
I will try with the files for new BL and pl layout,I'll let you know,thanks dude :highfive:

EDIT: It worked,thank you very much dude! :highfive:
[LG Optimus 2x] Raum1807:
Hi guys!

Some updates to the guide (first post) and FAQ section (second post) of this thread to stay up-to-date with the development. Now you can build the newest version of CM10.1 yourself, even without patching! It has never been easier...

Start building now! :D

How to build CM10.1 (Android 4.2.1) for the LG-P990 O2x

Guide updated!

Revision V1.3 2013.01.09 Updates: No more patching needed. local_manifest.xml updated to new branch revision. Text updates.

FAQ-Section Update

Revision V1.4 20130109 Sections updated: bootloader section, Baseband section, partition size, mass storage mode. Sections removed: building smaller ROMs, mobile data connection, Flight mode, WIFI & BT
[LG Optimus 2x] alakyr:
this is related to the release of the first cm10.1 nightly right?

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] Raum1807:
Exactly! Just follow the updated guide in the first post. It is no longer required to patch the code.
[LG Optimus 2x] mivv:
good work raum thanks

its normal that im still getting local_manifist.xml its deprecated?
[LG Optimus 2x] Raum1807:
Yes, this is totally fine. Ignore it. As long as you are using repo version 1.19 or lower nothing will happen.
[LG Optimus 2x] mivv:
yes im using 1.19 one thanks 4 reply
[LG Optimus 2x] Litderose:
I quote this post here because maybe it's the right place, no ?

Thanks Rugglez, if you could help me, it will be nice !

ATM, I just succeed building an CM10 rom.

But it's time to CM10.1, so I gonna update all my dev environment.

If I succeed in building my own CM10.1, then your help will be welcome to build a SlimRom.

I'll keep you informed.
[LG Optimus 2x] alakyr:
deleted the old VM with both cm10 and 10.1 and created a new one with the updated procedure and java from the other guide and now it's awesome without any patch or stuff that complicate the building of the rom...

thank you again man!
[LG Optimus 2x] rugglez:
Sorry for the OT, but here is an update on the Slim bean progress. Hope you're ready to be the one to build and maintain this ROM :D
[LG Optimus 2x] mivv:
looks great rugglez :)
[LG Optimus 2x] Litderose:
Off-Topic (it will be my last here) : I'm not ready yet, but, if I'm not the one, it does'nt matter. But I'll try, for sure !

End of OT and sorry Raum for squat your wonderful guide !
[LG Optimus 2x] alakyr:
even if the repo is now ok, i still continue to get the manifest warming message...there isn't a way to fix it?
[LG Optimus 2x] Wolf80:
You should try moving the file local_manifest.xml in the local_manifest directory,that should Do the trick :)
[LG Optimus 2x] alakyr:
created this directory moving inside the xml and now work without any warnings

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] rugglez:
Since a discussion of building slim bean was going on here,

Get your taste of slim bean here

Last OT here, sorry :)

Only posted here because that discussion was going on here
[LG Optimus 2x] Raum1807:
I think it is a bit more complicated. Would you please check if you still have 356 projects or more when doing a repo sync? And please check if you still have the following directories in ~/cm-10.1

/device/lge/p990

/device/lge/star-common

/kernel/lge/star

/vendor/lge

If these projects aren't there anymore, then maybe you just moved the local_manifest.xml out of the focus of the python script of repo and the above directories got deleted. So no local_manifest.xml, no warning. But no extra projects from local_manifest.xml either.

I had to change the repo script to make it work... That's why I hesitate to post a solution for this problem. I am waiting for a new repo version.

Please check it. Without these projects you won't be able to build ROMs properly.
[LG Optimus 2x] alakyr:
after about 4 repo sync it started again to give me the warning and at the first build it says me something like that ity didn't find the device and some folder like the one you wrote (can't remember cause i was at work via putty and i didn't took a screen of it) and synced it during the build...

btw i have 355 projects atm not 356
[LG Optimus 2x] Raum1807:
This is exactly what I am talking about. And 355 makes sense too. You should have 356 projects at the moment. After moving the local_manifest.xml file you have 352. Then the projects

/device/lge/p990

/device/lge/star-common

/kernel/lge/star

get synced while you are using 'brunch p990'.

That's 355 altogether.

Now you are missing just one and that is

/vendor/lge

Funny enough, a while back (CM10) I made the observation that the ROM is building fine even without the proprietary files from /vendor/lge. But then the built ROM just works as an update. You can install this over a previously flashed ROM but not after you formatted the system partition. That is happening because of the missing files of /vendor/lge.

Will make a patch for repo v1.19 soon. With instructions, of course. In the meantime please use the standard local_manifest.xml in the .repo directory.
[LG Optimus 2x] alakyr:
ok and thank you for the explanation
[LG Optimus 2x] Raum1807:
You are welcome! The patch I have attached is not the one I used. My approach was a bit different. This one is from a commit I just found on googlesource.com.

Here is what you have to do:

Download the attached file 'repo_deprecated_1.19.patch'

Put it in your hidden 'cm10.1/.repo/' directory

Delete any 'local_manifest.xml' files and directories you find there. E.g. 'local_manifest' or 'local_manifests'. Also delete the files and directories you created to make the deprecated warning disappear. Just delete them.

Now open a terminal window with Ctrl+Alt+T

Use the following commands to create a new directory and file

$ cd ~/cm10.1/.repo

$ mkdir local_manifests

$ gedit ~/cm10.1/.repo/local_manifests/local_manifest.xml

Copy the following lines to the editor

<manifest>
<project name="TheMuppets/proprietary_vendor_lge.git" path="vendor/lge" remote="github" revision="cm-10.1"/>
<project name="CyanogenMod/android_device_lge_p990" path="device/lge/p990" remote="github" revision="cm-10.1"/>
<project name="CyanogenMod/android_device_lge_star-common" path="device/lge/star-common" remote="github" revision="cm-10.1"/>
<project name="CyanogenMod/lge-kernel-star" path="kernel/lge/star" remote="github" revision="cm-10.1"/>
</manifest>

Save it.

Now patch the repo

$ patch -p1 < repo_deprecated_1.19.patch

Go back to your building directory and try to sync the repo

$ cd ~/cm10.1

$ repo sync

and the warning is gone.

Happy building!