yashsingh1/xdaforums huggingface dataset:
[Optimus L3, L5, L7 Android Development] cheqolada:
Hello. Today i want to show you how to compile CM 10.2 using TeamHackLG Device tree. :)

I using Ubuntu 12.04 x64

First, perpare your ubuntu :)

Open Terminal And:

Install JDK

sudo apt-get install openjdk-6-jdk

Install python and GIt

sudo apt-get install python
sudo apt-get install git-core

Install required packages.

sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev x11proto-core-dev \
libx11-dev libreadline6-dev libgl1-mesa-glx \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev

sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

Then : get source

mkdir ~/bin
PATH=~/bin:$PATH
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo

create workspace

mkdir cm102_e610
cd cm102_e610

get CM source

repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2

Put your Name and email. then

repo sync

When you get CM Source , get files required for our device

curl --create-dirs -L -o .repo/local_manifests/local_manifest.xml -O -L https://raw.github.com/TeamHackLG/local_manifest/cm-10.2/local_manifest.xml

and

repo sync

again and enter this line in your terminal

cd cm102_e610/system/vendor/cm
./get-prebuilts

After sync, load "lunch combo"

source build/envsetup.sh

lunch

choose cm_e610-userdebug or cm_e610-eng

Then press

make -j2

After make do

make otapackage

and you get flash zip Cm 10.2 for LG l5.

Happy Build :cowboy:

Using tutorials for compile:

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

https://github.com/TeamHackLG/local_manifest
[Optimus L3, L5, L7 Android Development] aidasaidas75:
use brunch e610 instead of make.

use oracle java 6 not jdk.
[Optimus L3, L5, L7 Android Development] F4uzan:
OpenJDK 7 works on some Ubuntu version, while Oracle Java (any version) won't work.

CMIIW ;)

#F4UZAN : Team Optima
[Optimus L3, L5, L7 Android Development] aidasaidas75:
openjdk used for aosp rom
[Moto G Q&A, Help & Troubleshooting] akshay.ku:
hello guys,

i have converted my moto g xt1033 to gpe edition.

but i have a problem on network issues.

i tried copying and pasting the files (fsg.mbn&NON-HLOS.bin) as told on:-

http://xdaforums.com/showthread.php?t=2661022&page=2.

but still i don't find my network and hence i can't make and receive calls.

can anyone help me out please.

i like to be on gpe only.

please don't tell or advice to convert to non gpe.

because i like google more than the stock motorola,

for the conversion purpose only i unlocked the bootloader.

please guys help me to gain network back.

thanks and regards

-AK

INDIAN user Purchased from FLIPKART.
[Moto G Q&A, Help & Troubleshooting] akshay.ku:
Any of the INDIANS who have converted to gpe are there?
[Moto G Q&A, Help & Troubleshooting] dragonvasu:
Yeh I am an Indian user.. I hadn't faced any problem.. U can try paranoid its far custumizable then stock... And battery is also very good... It has the theme engine... If I helped u plzzz hit thanks :cool::cool::cool:
[Moto G Q&A, Help & Troubleshooting] marvvv:
Hi I'm facing the same issue as you, did you have any progress on fixing the network issues? My phone is also useless due to this issue.

Thanks & good luck finding a fix
[Moto G Q&A, Help & Troubleshooting] toki:
You can try follow the steps from this https://www.youtube.com/watch?v=6wvjQHvIWjQ

It seems fsg.intl is for users outside US. Hope it helps. Cheers
[Moto G Q&A, Help & Troubleshooting] akshay.ku:
thanks all i was able to fix my phone by the link :-http://xdaforums.com/showthread.php?t=2739919.

i would like to thank krishna chethan for the providing the link.

thanks guys,

for your support.

thanks and regards

-AK
[Galaxy S 4 Q&A, Help & Troubleshooting] meya_20:
So I looked everywhere and no one seems to know how to unlock a straighttalk s4 :(

since this site the best with cellphones problem solving I'm askin for some help :/

its a

SM-S975L
[Galaxy S 4 Q&A, Help & Troubleshooting] keith2012:
when i ran the network unlock tool it was already unlocked the boot loader wasn't locked either the only thing we need now is rom development to include our devices. I have twrp and used towel root to root the device.
[Galaxy S 4 Q&A, Help & Troubleshooting] BoominSVX:
I'm dealing with this same issue right now. Bought an SM-S975L for straight talk last night and I want to use it on Metro PCS. Metro says all is well on their end and I just have to wait, but all I see is "Invalid Sim" on the status bar. How did you unlock the SM-S975L? There's very limited information around the internet about this model. I'm tearing my hair out and the wifey is driving around without a phone. Figured you (or anybody else) could point me in the right direction.
[Galaxy S 4 Q&A, Help & Troubleshooting] Joku1981:
:confused:
[Galaxy S 4 Q&A, Help & Troubleshooting] ControlNode:
LOL, the $249 deal was hard to pass up. I got a couple of them, one for me and one for the misses. She'll be fine with the 4.3 that is on the phone out of the box, but I wanted to convert mine to be like the I9505G (GPE). I was thinking it would be simple as I've heard all of the LTE models were like the I9505 and they seem fairly broken into. But I think this is more like the SGH-I337 and maybe boot loader locked, but looking into ways to test that. I did root it already using towelroot. Installed SuperSU and Titanium Backup and root is working, now so see if I can get CMW and a GPE rom on it. If I find a way I'll be sure it is mentioned here as a working method for the SM-S975L. I'm not using it yet as I have my GT-I9500 that I'm using, but seeing better support for the qualcomm for custom roms I decided to get it. The I9500 should get Android 5.0 official rom first though.
[Galaxy S 4 Q&A, Help & Troubleshooting] lilmul123:
For what it's worth, I just picked up this phone from the Black Friday sale, and I would *really* like to put a custom ROM on it. I won't even pretend to be proficient in this. How difficult would it be to convert the custom ROMs on other models of Galaxy S4's to this one?
[Galaxy S 4 Q&A, Help & Troubleshooting] ndowens:
I am unsure my self the closest variant is the att s4. Both the att one and this one is bootloader locked. Since we have 4.3 version of Android safestrap would be likely what to use. I am afraid of this my self so I have not attempted it
[Galaxy S 4 Q&A, Help & Troubleshooting] aromerblz:
:D
[Galaxy S 4 Q&A, Help & Troubleshooting] lilmul123:
Whoa whoa whoa. What am I looking at? It looks like that's the model of the T-mobile variant, but the baseband is the same as the S975L!?
[Galaxy S 4 Q&A, Help & Troubleshooting] thebestiam:
Even a custom kernel flashed! What.

Sent from my SM-T310
[Galaxy S 4 Q&A, Help & Troubleshooting] aromerblz:
It is the SM-S975L with a T-Mobile ROM and the custom kernel. The SGH-I337 ROM does not work, it erases the system partition every flash.
[Galaxy S 4 Q&A, Help & Troubleshooting] carlyman:
Awesome work aromerblz. Anything special you had to do to load the ROM with the S975 baseband...or any issues you're experiencing? Will be testing this out later in the week when I get some free time.

-JC
[Galaxy S 4 Q&A, Help & Troubleshooting] ControlNode:
That is cool, at the very least its Kit Kat. I still would like to find a method to convert completely to GT-I9505G. Just no time. I'm hoping with jtag access it can be completely reconfigured, then just make sure the IMEI is set to that the device should be. Ideally the only way to see it was a SM-S975L would be to look under the battery. I don't really care about removing the SIM lock though, I plan to stick with my ST SIM. I did get a new BYOD SIM and it is showing 4G now (Not sure if it should indicate LTE like old ATT S3 does) as my old BYOD SIM would not and ST support said that I could not move the included SIM to any other device as it would be bound to the S975L.
[Galaxy S 4 Q&A, Help & Troubleshooting] lilmul123:
I would love to get off the Tracfone ROM. I'm going to assume that Samsung/Tracfone will never upgrade this phone beyond Android 4.3. The last native update was in February of this year, and it was just a minor patch. I'm not too concerned about unlocking, but being able to use a different ROM seems to be a step in the right direction. If anyone could post a tutorial or what ROMs they used, that would be extremely helpful. I've looked everywhere and this info is not available anywhere.

For what it's worth, someone over on GSM Forums has claimed to have flashed the AT&T ROM too. They also were unable to unlock it, however. Unfortunately, I can't post the direct link until I have hit 10 posts :( That poster has been inactive for two months, and before that, he was inactive for three years. It may be hard to get in touch with him..
[Galaxy S 4 Q&A, Help & Troubleshooting] aromerblz:
I first flashed a T-Mobile TWRP recovery v27.1, but the latest v28 works fine. After that i downloaded the TMB firmware NB4 from sammobile.com created a custom rom with the android kitchen. After that the usual flashing of the rom via TWRP. Without a custom kernel the phone does not boot up. So i used the ktoonsez kernel. Once booted i rooted with towelroot and pjone has been working fine. Only things to know is that when booting up it says "Kernel is not SeAndroid"

"Set Warranty Bit: Kernel"

As that specifies it trips the knox flag. Which i dont care if it does as am not in the USA.
[Galaxy S 4 Q&A, Help & Troubleshooting] lilmul123:
You used the TWRP for jfltetmo, correct? Did you use Odin to flash it?

Also, this might seem obvious, but even if I do this, it'll still work/remain locked to ST/AT&T, correct?
[Galaxy S 4 Q&A, Help & Troubleshooting] aromerblz:
Yeah TWRP for jfltetmo. The jflteatt does not seem to work at all on this model. I flashed with odin, no need to use safestrap on this phone as i think the bootloader is not locked like the one found on the SGH-I337, although its the identical variant.

Yes the phone remains locked to ST/AT&T. A friend of mines was able to get the unlock cod for this phone but even with the unlock code its not a permanent lock. Reason is because you can unlock and be able to use all the features available to the phone but once restarted it asks for the code again. Not sure why it does that, I believe the radio has to be the culprit for that here. Not sure how TracFone will handle the unlocks for this phone after 01/01/15. does the same even on full stock TF firmware.
[Galaxy S 4 Q&A, Help & Troubleshooting] aromerblz:
Can you PM me that GSM forums link you are talking about. I want to take a look.
[Galaxy S 4 Q&A, Help & Troubleshooting] lilmul123:
Np, just a sec. (building up my post count)
[Galaxy S 4 Q&A, Help & Troubleshooting] carlyman:
GSM Forum stating AT&T-based ROM...not much detail I could glean from it tho. http://forum.gsmhosting.com/vbb/f286/unlock-samsung-sm-s975l-tracfone-straighttalk-1866981
[Galaxy S 4 Q&A, Help & Troubleshooting] lilmul123:
I updated to the Beanstalk ROM today with the Gapps Minimal+. Mostly went off with a hitch. I had to change the APN settings, and LTE didn't come on for an hour or two afterward. Some of the Gapps did not install, but that was as easy as going to the Play Store and grabbing them. The camera didn't work at first, but a reboot fixed that. The phone was also getting warmer than usual at first, but it seems to have calmed down.

All in all, I can also recommend the ROM! It's pretty awesome that I was expecting to have a severely limited phone, but I actually have one that has Lollipop well before many other phones have it. Thanks, everyone! Hopefully the unlock hurdle can be crossed, and we can end up with a pretty damn good phone that many of us got for just $249.
[Galaxy S 4 Q&A, Help & Troubleshooting] ndowens:
Yep. Nice to have lollipop
[Galaxy S 4 Q&A, Help & Troubleshooting] >DroidPower<:
upgraded to the newest beanstalk 5.0 build and still everything is running fine. only problem i have had is a couple times a day it registers no service for like a minute then comes back but that could be on straight talk's side. i have tested a couple other roms with no success so sticking with this one for now.
[Galaxy S 4 Q&A, Help & Troubleshooting] lilmul123:
Yeah, after a few days of using it, I'm noticing some weirdness, but nothing too crazy. I don't like that the green "charged" LED comes on when the charge is 90%+. I turn my phone off at night and leave it on the charger, and it won't let me turn the phone on when it's on the charger. Service and Wifi takes a few minutes to come on at power on. The official Google Camera app likes to tell me that it "can't connect to the camera" occasionally, and I have to restart to get it to work again. It's strange because the camera continues to work in other apps. Besides that, I'm pretty happy. Personally, I think the T-Mobile KitKat ROM ran a little better, but it's nice to have the latest and greatest.
[Galaxy S 4 Q&A, Help & Troubleshooting] ndowens:
you should be able to change the LED colors in settings. seen it some where

Sent from my SGH-S975L Lollipop using Forum Fiend v1.3.
[Galaxy S 4 Q&A, Help & Troubleshooting] lilmul123:
It's not the colors, it's when the color changes from red to green. I found out that this is a "feature" of CyanogenMod on which Beanstalk is based. I'll just get used to it, I guess. I came from an iPhone which doesn't even have a notification LED.
[Galaxy S 4 Q&A, Help & Troubleshooting] ndowens:
Yeah though I like having the notification led I don't always hear the ringtones
[Galaxy S 4 Q&A, Help & Troubleshooting] WartuneBteam:
Any news regarding the unlock or the new OTA update? I can't check since it says that my phone has been modified
[Galaxy S 4 Q&A, Help & Troubleshooting] ndowens:
Do you have any issue with Bluetooth crashing
[Galaxy S 4 Q&A, Help & Troubleshooting] lilmul123:
I only use bluetooth in my car, and I haven't yet seen it not working.
[Galaxy S 4 Q&A, Help & Troubleshooting] ndowens:
Mine has been crashing lately. Probably will download a newer build soon
[Galaxy S 4 Q&A, Help & Troubleshooting] WartuneBteam:
Ive tried the sammobile service with srs using cable and it failed..

I'm almost going to get crazy and put this phone on fire.
[Galaxy S 4 Q&A, Help & Troubleshooting] >DroidPower<:
i have noticed in this beanstalk rom there is no smart screen or smart scroll etc. i am wondering if anyone knows how to add this features back onto the phone.
[Galaxy S 4 Q&A, Help & Troubleshooting] marianoyaca:
Benstalk with odin

Please i need help flashing with the benstalk rom, did you use odin to do it? It needs a tar file and the benstalk 5.0 is a zip file, i tried converting with arcconvert to a tar but i get a bigger file, so when i start with the odin process i get this error: FAIL! (Size)

Im a newbbie and i couldn t find a complete tutorial to flash my SM-s975L.

I would be ver grateful if someone could help me !
[Galaxy S 4 Q&A, Help & Troubleshooting] lilmul123:
You need to flash TWRP for jfltetmo using Odin first, and then you use TWRP to install the ROM.

Looking quickly, this video seems to show that process pretty well: https://www.youtube.com/watch?v=ngG9e4Qyog4

You can get the TWRP tar from here: http://techerrata.com/browse/twrp2/jfltetmo The latest one should be fine.

There are a ton of other videos on youtube showing how you can use TWRP to backup your current ROM (which you should ALWAYS do first), and flash your ROM of choice.

DroidPower, those are Samsung-specific features, so someone would have to create a custom ROM including those features.
[Galaxy S 4 Q&A, Help & Troubleshooting] >DroidPower<:
i know that they are samsung specific but this is a samsung rom so i was just wondering if there was a simple quick way to add those features maybe a xposed module or something similar.

---------- Post added at 05:37 PM ---------- Previous post was at 05:35 PM ----------

after you download the file for TWRP custom recovery be sure to put your phone in download mode you can just google it very simple then try using odin and be sure to put the file in the pda slot on odin once you get the custom recovery then you can start flashing
[Galaxy S 4 Q&A, Help & Troubleshooting] asistenciahh:
Help

First, thanks so much for all the information you share in this post. I am writing from Chile, one friend of mine brought this cell phone as gift for me and here is imposible to find a place tu unlock sim.

Please, could you confirm if I change the rom following the steps you have posted , will be posible to put another sim card?

I have downloaded all the files, but I want to confirm if the new rom will solve my problem.

Thanks so much for your help
[Galaxy S 4 Q&A, Help & Troubleshooting] lilmul123:
No, as of now, there's no way to unlock this phone. The custom ROM is only useful if you intend on staying on Straight Talk.
[Galaxy S 4 Q&A, Help & Troubleshooting] WartuneBteam:
I've unlocked my phone but it is not permanent. It means that you need to configure it everytime you turn off/on or restart the phone.

I will make a guide to do this when I have some free time.
[Galaxy S 4 Q&A, Help & Troubleshooting] ndowens:
I used twrp installer through the play store instead of odin
[Galaxy S 4 Q&A, Help & Troubleshooting] arringtj:
can we use region lock away?

Will region lock away brick this phone since it modifies the modem?
[Galaxy S 4 Q&A, Help & Troubleshooting] ndowens:
I wouldn't do it
[Galaxy S 4 Q&A, Help & Troubleshooting] aromerblz:
Ive used region lock away with no issues. No bricks at all. it does nothing to unlock the phone either. www.unlocksamsungonline.nl seems to unlock this phone for $20. I thank [MENTION=6237700]WartuneBteam[/MENTION] for the information he shared with me.
[Galaxy S 4 Q&A, Help & Troubleshooting] marianoyaca:
www.unlocksamsungonline

I tried to use this service, but this model is not in the list, do you know of any other service to unlock this phone?

---------- Post added at 11:32 PM ---------- Previous post was at 11:23 PM ----------

WartuneBteam I've unlocked my phone but it is not permanent. It means that you need to configure it everytime you turn off/on or restart the phone.

I will make a guide to do this when I have some free time

------------------

Please could you help me to do the same as you did?
[Galaxy S 4 Q&A, Help & Troubleshooting] aromerblz:
It is listed. Just checked the website. SM-S975L
[Galaxy S 4 Q&A, Help & Troubleshooting] thedillybar:
Downgrade modem, unlock, flash stock?

Has anyone attempted downgrading to MF3 modem, unlocking with RegionLockAway, then flashing stock to get the baseband and IMEI back?

---------- Post added at 10:55 PM ---------- Previous post was at 10:26 PM ----------

After unlocking with RegionLockAway, then flashing the stock modem from this post, the network lock reappears.
[Galaxy S 4 Q&A, Help & Troubleshooting] Creeper36:
Found a ROM for SM-S975L

.

.

I found TWRP and a 4.4.2 custom ROM with Superuser Pre-Installed that works with the SM-S975L and created a guide to install it.. ENJOY!

My Install Guide can be found here >> http://xdaforums.com/galaxy-s4/general/guide-sm-s975l-twrp-4-4-2-custom-roms-t3009757

.

.
[Galaxy S 4 Q&A, Help & Troubleshooting] aromerblz:
No way to downgrade the straighttalk modem. Flashing that partition bricks the phone.
[Galaxy S 4 Q&A, Help & Troubleshooting] thedillybar:
You can flash RockRatt's MF3 modem with Safestrap, but you lose baseband & IMEI. But it doesn't accomplish anything because you're locked again when flashing back the stock modem.
[Galaxy S 4 Q&A, Help & Troubleshooting] aromerblz:
Have you tried this? Please post a screenshot showing the baseband changed.
[Galaxy S 4 Q&A, Help & Troubleshooting] thedillybar:
Yes I've flashed the modem w/ SS and run RegionLockAway. The baseband was blank and the IMEI was blank. Then I flashed the stock modem and baseband/IMEI came back, but so did the network lock.

I'm not going to do it again just to get a screenshot.
[Galaxy S 4 Q&A, Help & Troubleshooting] aromerblz:
Thanks man, appreciate you doing that in the name of development. am sure something can be done about this to make the modem work. if it allows to be flashed with SS its at least a good sign.

Got 13 of those to play with, so I'll see what i can do and experiment.
[Galaxy S 4 Q&A, Help & Troubleshooting] ControlNode:
OK not had much time at all so I'm still on stock rom, just with towelroot still, and for this reason my I9500 is still my daily. So, my question: I've heard T-Mo roms work on this phone if you keep the ST modem. So, if I have the S975L 4.3 image from sammobile for my phone and a stock 5.0 image for the i9505g (GPe) would it likely work or not if I repackage my mix of the image files from those, really use all from the GPe rom except the modem that would be from the 4.3 image from sammobile. Wishing I had more time to devote to this, but can't add hours to the day.

And a question concerning BeanStalk 5.0.1, does WiFi Tether work or does the modem restrict this somehow? I don't really like CM on my I9500 due to very poor BT support, but official 5.0 is not out for it yet. Still looking at best option for GPe clone with this SM-S975L that will give LTE speed also. Since I don't use any of the Smart Stay/scroll/hover features its not a loss to me.

************** vv added at edit time vv ***********

Well, I installed BeanStalk 5.0 (BeanStalk05.0020-20150119-jfltetmo) on lunch and so far so good. BT works for calls, and media (though it was playing music slow and stutterish, pause and resume from the controls on the BT headset and it sounds like it should now). Not tested tethering yet. LTE is working. May look into the GPe rom later, but didnt' want to mess up the phone in the meantime until I really have time to maybe fix it if needed.
[Galaxy S 4 Q&A, Help & Troubleshooting] ndowens:
Gpe is jflteatt I believe, so it won't work. Only ones that are meant for T-Mobile will work
[Galaxy S 4 Q&A, Help & Troubleshooting] lilmul123:
Stock tethering works on Beanstalk ROM.
[Galaxy S 4 Q&A, Help & Troubleshooting] ControlNode:
Yeah, WiFi tethering is working, tested that Friday night at the pub. Some issues with BT media audio still. Sometimes a pop up about some BT server stopped or something. Important part for me is that BT for phone calls is working fine, something that I could not get with my I9500 and a custom rom.

GPS has very poor performance compared to my I9500 (stock 4.4.2 or CM12), I didn't really use this S975L on stock so don't know if GPS was an issue there too. Problem is that while using Maps or Waze for navigation often it will just stop tracking or the GPS speed is way off, showing variation from 0MPH to actual speed + 25MPH while actual speed is about 55MPH. Also while running Ingress and driving on a road that curves or taking a corner the GPS keeps going straight on the original path for a while before updating that I've turned.

I plan to keep using it for now, if I need really good GPS I'll just unable WiFi tether and use my I9500, but the the LTE from the S975L
[Galaxy S 4 Q&A, Help & Troubleshooting] aromerblz:
Seems TracFone will release their Galaxy S5 SM-S902L. Saw it on there tutorial page for net10. There is an app named device management. Seems that's what tracfone will use to unlock their phones.

Also the FCC ID is for the SM-G900V Verizon variant with LTE. Seems Verizon will be allowing LTE devices on its network for MVNO's.
[Galaxy S 4 Q&A, Help & Troubleshooting] seeess777:
I've been using this site for a while but have never needed to contribute. I flashed this rom and it's working great except for GPS. In fact, I seem to have no GPS at all. If I use any app like GPS locker it shows No GPS and I'm getting nothing like the GPS isn't even talking with the system period. It worked fine stock. Does anyone know what can resolve this issue? Would a different kernel or flashing something like the stock kernel fix it? Or will that brick the phone? I may do some testing once I get a cheap back up incase I do brick it.