yashsingh1/xdaforums huggingface dataset:
[XDA Assist] bradym512:
Hi!

I have recently been trying to build the LG stock kernel, and been recieving numerous errors.

I unzipped the kernel source into my working directory, cd'd into there and ran "git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9"

the return of "ls" is

android drivers MAINTAINERS samples
AndroidKernel.mk firmware make_defconfig_64.sh scripts
arch fs make_defconfig.sh security
arm-linux-androideabi-4.8 include Makefile sound
arm-linux-androideabi-4.9 init mm tools
block ipc modules.builtin tuxera_update.sh
COPYING Kbuild modules.order usr
CREDITS Kconfig net virt
crypto kernel README
Documentation lib REPORTING-BUGS

so I run the following commands before I build

export CROSS_COMPILE=arm-linux-androideabi-4.9/
export ARCH=arm
export SUBARCH=arm

All complete fine

"make g4stylusn_tmo_us_defconfig" returns

drivers/thermal/Kconfig:243:warning: multi-line strings not supported
arch/arm/configs/g4stylusn_tmo_us_defconfig:372:warning: override: reassigning to symbol LGE_USE_DEFAULT_HARD_RESET
arch/arm/configs/g4stylusn_tmo_us_defconfig:554:warning: override: reassigning to symbol IP_MULTICAST
arch/arm/configs/g4stylusn_tmo_us_defconfig:676:warning: override: reassigning to symbol INET_XFRM_MODE_BEET
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM_KRAIT && ARCH_MSM8909 && ARCH_MSM8916 && ARCH_MSM8610 && ARCH_MSM8226) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM_KRAIT && ARCH_MSM8909 && ARCH_MSM8916 && ARCH_MSM8610 && ARCH_MSM8226) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
#
# configuration written to .config
#

A few errors, but it writes fine.

Here it is. "make"

The output of "make" is:

Makefile:603: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
arm-linux-androideabi-4.9/gcc: No such file or directory
Is your PATH set correctly?
make[1]: *** [kernel/bounds.s] Error 2
make: *** [prepare0] Error 2

How can I fix this?
[XDA Assist] GuestK0087:
Greetings.

Thank you for using XDA Assist. For the best assistance, please ask your question here:

Android Q&A, Help & Troubleshooting

You'll find expert advice there. Good luck!
[App Stores] stefers:
So I was programming in some In app Billing code for my Android app using Android Studio. I was following an Android tutorial called 'Preparing your In-app Billing Application' at the Android Developer website (not allowed to give a link because I'm a new user). All was going well, until I get to the part where I have to paste their code into my code. Check out their code put into mine (I left the base64EncodedPublicKey empty so nobody would steal it):

public class MainActivity extends ActionBarActivity {

//Add other java files to the main class

private JokeBook mJokeBook = new JokeBook();
private ColorWheel mColorWheel = new ColorWheel();

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

//Declare View variables
final TextView jokeLabel = (TextView) findViewById(R.id.jokeTextView);
final Button showJokeButton = (Button) findViewById(R.id.showJokeButton);
final RelativeLayout relativeLayout = (RelativeLayout) findViewById(R.id.relativeLayout);
final Button moreJokes = (Button) findViewById(R.id.moreJokes);
//On Click
View.OnClickListener listener = new View.OnClickListener() {
@Override
public void onClick(View v) {
String joke = mJokeBook.getJoke();
//Update label with fact
jokeLabel.setText(joke);
int color = mColorWheel.getColor();
relativeLayout.setBackgroundColor(color);
showJokeButton.setTextColor(color);
moreJokes.setTextColor(color);
}
};
showJokeButton.setOnClickListener(listener);

goToTwitter();
goToFacebook();
goToExxellerate();

IabHelper mHelper;

@Override
public void [U]onCreate(Bundle savedInstanceState)[/U] {
// ...
String base64EncodedPublicKey = "";

// compute your public key and store it in base64EncodedPublicKey
[B]mHelper = new IabHelper(this, base64EncodedPublicKey);[/B]
}

mHelper.startSetup(new IabHelper.OnIabSetupFinishedListener() {
public void onIabSetupFinished(IabResult result) {
if (!result.isSuccess()) {
// Oh noes, there was a problem.
[I]Log.d(TAG, "Problem setting up In-app Billing: " + result);[/I]
}
// Hooray, IAB is fully set up!
}
});

@Override
public void [U]onDestroy()[/U] {
super.onDestroy();
if (mHelper != null) mHelper.dispose();
mHelper = null;
}
}

The code that they gave me had many errors when pasted into Android Studio, which were:

TAG has private access in 'android.support.v4.app.FragmentActivity' (Italicized text)

Annotations are not allowed here (@Override)

; expected (Underlined text)

IabHelper (android.view.View.onClickListener, String) in IabHelper cannot be applied to (com.exxellerate.joketeller.MainActivity, String) (Bolded Text)

Any help with fixing there errors? I'm a beginner at code and very confused that the code they gave me was wrong...:confused:
[Zenfone 5 Q&A, Help & Troubleshooting] pedromd:
I am one of many who have freezing problems after unlocking bootloader my zen 5 and a501cg t00j no matter how and made ​​the release or which files because I believe that all are equal ifwi 59.a1 after unlocking the screen begins to freeze a boot . img signed with intel key in some rom how Resurrection Remix enable block bootloader and continue rom already that the relock and single solution for freezing one ifwi file and dnx without freezing it would be great also ask help from developers and User more experienced with this for please this is perhaps greater problem zenfone 5:crying::crying:
[Zenfone 5 Q&A, Help & Troubleshooting] pakpenyo:
Any solution? This is main issue for me when using RR.
[Zenfone 5 Q&A, Help & Troubleshooting] itsarjunsinh:
Interesting. I used to face freezes myself. The first time that happened was when I was on Resurrection Remix (some old build). Funny thing is that it continued on to my Stock ROM.

And the truth is I had unlocked my bootloader long before CM/RR came into existence for our device. I did not have that problem before. So my assumption would be that the Resurrection Remix ROM could be the one to blame. However, I have not faced a single freeze on RR 6.9! I think this has something do with the flashing wrong IFWI files. I have the 1.6GHz/2GB/16GB ZenFone 5 (A501CG), what model do you have?
[Zenfone 5 Q&A, Help & Troubleshooting] pedromd:
is not due to the rom and because of ifwi files used to unlock bootloader they cause freezes have faith that alguee find a solution
[Zenfone 5 Q&A, Help & Troubleshooting] Jaleel Ahmed:
The rr old build like 5.x. Have freezing issue , but it fixed in 6.7 build

So it's not from custom rom , done mobiles having this issue , not the same model

They said it's due to motherboard problem

But i thing it's wrong ifwi files
[Zenfone 5 Q&A, Help & Troubleshooting] itsarjunsinh:
That's what I said. The IFWI files are supposedly the one to blame.
[Zenfone 5 Q&A, Help & Troubleshooting] Jaleel Ahmed:
You know about edablogs?

There is a post to fix this
[Zenfone 5 Q&A, Help & Troubleshooting] pedromd:
does not work it be a copy of a post made here on xda who do not have success also expect a solution have no money to another cell and hate asus stock
[Zenfone 5 Q&A, Help & Troubleshooting] yasin0005:
Screen freezing its annoying...plz anyone find its soln??????
[Zenfone 5 Q&A, Help & Troubleshooting] TechGenius:
English : Go To Service And Change Mainboard , This Problem Only Fix Service . Sorry My Bad English .s

Türkçe: Cihazı Servise Yollayın Bu Sorunu Bir tek servis anakart değişimi yaparak çözebilir
[Zenfone 5 Q&A, Help & Troubleshooting] yasin0005:
There is way redevelop unlock relock boot loader tool...
[Zenfone 5 Q&A, Help & Troubleshooting] monky99:
freeze and reboot . can not use any custom rom. :crying:
[Zenfone 5 Q&A, Help & Troubleshooting] arbikun:
We're in the same specs of phone and yet my phone is freezing when bootloader is unlocked. it's kinda weird :confused:
[Zenfone 5 Q&A, Help & Troubleshooting] YujinYuz:
my phone doesnt freeze but the camera cant be found
[Zenfone 5 Q&A, Help & Troubleshooting] JhonyC:
I have the same problem.

My ifwi version is 59.49 .

I found no bootloader unlock for my ifwi . Someone help us fix this problem , please! :crying:
[Zenfone 5 Q&A, Help & Troubleshooting] cnswico:
I have the same problem as well. Unfortunately, there doesn't seem to be a developer who faces this issue. In order for them to make a solution to this, they need to have such a wretched device to test fixes on.

I guess no one gives a s#!t about our problem since they're not experiencing it. I guess I'll just have to buy a new, non-ASUS phone.

Unfortunately, mates, there is NO FIX FOR THIS ISSUE. Just stay in your stock ROMS (I know. I hate them, too.) and hope that ASUS Main HQ is North Korea's next missile target. (Jk xD)
[Zenfone 5 Q&A, Help & Troubleshooting] yasin0005:
Yeah there is no fix so better to use stock Rom...

And stock Rom has so many bugs ...lol
[G4 Q&A, Help & Troubleshooting] echomkd:
Hello guys,

I just got a new LG G4 812 Canadian version. There is one thing that I noticed so I was wondering whether this issue is happening just to me or not. While talking on Facebook Messenger, Viber or Skype and using the ear speaker the call quality is bad and I can even hear like cracking noises at times. However, when using the earphones or the rear speaker the quality is perfect. This is not happening when using the regular calls over the cell network, meaning the ear speaker is working fine. I have also tried using different WIFI access points and also cell connection, but it is the same. Can you please give me some comments on that? Thanks :):):)
[G4 Q&A, Help & Troubleshooting] echomkd:
No one?
[G4 Q&A, Help & Troubleshooting] Hani88:
I'm not having this problem dude
[G4 Q&A, Help & Troubleshooting] echomkd:
[MENTION=4230648]Hani88[/MENTION] h812 model? Which software version?
[G4 Q&A, Help & Troubleshooting] Hani88:
H815

v20B

also before in lollipop I was not having thouse issues
[G4 Q&A, Help & Troubleshooting] freddyharjanto:
Hi I just wonder if you already fixed this issue? I have the same problem with LG G4 from rogers (H812). Thanks
[G4 Q&A, Help & Troubleshooting] echomkd:
Hi [MENTION=7180312]freddyharjanto[/MENTION]. Nope, the issue is still there. I thought that after upgrading to 10n it will be fine but its again the same. Now at least we know that its not just mine or just your device...meanwhile if you find what is the problem please post it here. I will do the same. Cheers.
[G4 Q&A, Help & Troubleshooting] IonDe:
Same problem here... (LG g4 H815 european version MM) Wifi works like a charm in general.. But when i make video calls using FB messenger or viber i get "weak connection" and poor call quality even though wifi signal indicator is full.... HEEELP :p :confused: :cowboy:
[ZenFone 2 General] kanagawaben:
The CM devs are unable to include this functionality for our device (it is against CM design guidelines to enable soft keys, because zenfone's hard keys are not backlit and therefore cannot be hidden), so I thought I'd share my findings on a simple method to do it yourself.

(Disclaimer: while this does not involve anything difficult, you do have to make minor changes to important system files. Please proceed with caution and at your own risk. I cannot be held responsible for any problems that may result in following this guide.)

First, open the CM file manager and if you haven't done so already, give it root access (open the sidebar, press the gear icon at the bottom, then open "general settings" and scroll down to "advanced" and you'll find "Access Mode", which you set to root access).

To enable soft keys:

Use the file manager to navigate to the system folder, where you'll find the build.prop file. Tap it and select to use editor to open it. Then scroll down to the end of the file and add this line:

qemu.hw.mainkeys=0

Then click the disk icon up top to save the edited file. Reboot your device and you should have the soft keys.

If you want to turn them off temporarily just open the build.prop file again and add a # in front of qemu.hw.mainkeys=0 then save and reboot.

Next, how to disable the hard capacitive keys:

Again using file manager, navigate to system-usr-keylayout. Open the ftxxxx_ts.kl file with editor. Add a # to the front of the first three lines. They should look like this:

#key 158 BACK VIRTUAL

#key 102 HOME VIRTUAL

#key 139 APP_SWITCH VIRTUAL

Now save the file and reboot your device, and the hard keys should now be disabled.

If you want to enable them again just go back to the ftxxxx_ts.kl file and remove the three # marks that you added, and as usual save and reboot.
[ZenFone 2 General] kanagawaben:
I have not tried this on rooted stock firmware, so don't know if the method is the same. Would be good if someone on stock could try and let us know. Think you need a 3rd party file explorer (something like ES Explorer) to do it in stock?
[Xiaomi Mi 4] hitagent47:
Hey Guys,

I wanted to post this as a new thread after i googled a lot for the solutions.

I still cant figure out , in the miui 7 demos the status bar and notification toggles are translucent, but am i the only one who gets grey colour in their status bar and notification shade? I even tried almost every xposed module like blurred UI and flat style, immersive etc but no results . I always wanted to see it since miui6 pls reply to this thread and help me out with the query .

Thank You!
[Xiaomi Mi 4] yashshah7197:
You're using the Global ROM it seems. To get the translucent notification shade, you gotta flash the China ROM.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] dewanalam55:
Ok, so I was trying to install TWRP on my Samsung Galaxy Note 3 Verizon (N900V). It's running Stock Lollipop Android 5.0 (Unrooted). I was trying to install it in Odin but I have encountered some errors. Here's what it says on my phone:

ODIN MODE

PRODUCT NAME: SM-N900V

CURRENT BINARY: Samsung Official

SYSTEM STATUS: Official

REACTIVATION LOCK: OFF

QUALCOMM SECUREBOOT: ENABLE (CSB)

RP SWREV: S1, T1, R1, A4, P1

SECURE DOWNLOAD: ENABLE

Here's What I believe are the errors

UDC START

SYS REV CHECK FAIL: No Version

SECURE MAGICCODE CHECK FAIL: Recovery

Here's what it says in Odin:

<ID:0/006> Odin v.3 engine (ID:6)..

<ID:0/006> File analysis..

<ID:0/006> SetupConnection..

<ID:0/006> Initialzation..

<ID:0/006> Get PIT for mapping..

<ID:0/006> Firmware update start..

<ID:0/006> recovery.img

<ID:0/006> NAND Write Start!!

<ID:0/006> FAIL! (Auth)

<OSM> All threads completed. (succeed 0 / failed 1)

If anyone could help me, I'd really appreciate it. After all, I just joined this website 5 minutes ago and this is my first post :)
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] donc113:
You should read before you post. You can not load TWRP on a Verizon note 3. Period.

You can not load anything except Verizon OS 4.4.4 or 5.0

Period
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] ArtfulDodger:
TWRP does offer recovery for this phone (https://twrp.me/devices/samsunggalaxynote3verizon.html) but in reality you're right, it's unusable. It's obvious that if get this phone you are going to have to be happy with stock or get another device (or the international version of the Note 3). At first I was disappointed about that but now I think I am a bit relieved. For nearly 4 years I have tried a million ROMs on inferior phones and ultimately I have never been happy with anything for long. This device came with LP already installed too, and despite the bloat (which I disabled a lot of it) the phone is running smooth and bug free which is by far more important than having a million useless features IMO. Only thing that does suck is not being able to block ads and install audio mods, but I guess I'll get over it. Least I will have more time for other things. A lot of other people that used to be on XDA move on after they get a high end device for a reason, no need to fix what isn't broken.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] donc113:
I'll admit...I didn't know TWRP finally supported the Note3 Verizon model, SafeStrap was modeled on TWRP but not pure TWRP.

I agree...I have root for 3 reasons only....in order to backup the ROM (stock less bloatware), in order to use SetCPU profiles to save battery life and to use the native hotspot app without a subscription (I have an unlimited data plan).
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] fredboy:
Setting up Safestrap

Hey guys. Came across this thread while trying to get everything I need to update my rom from Jasmine 5.1.1 to 6.1. Love that fresh ROM feel after a while of overloading.

It seems I lost safestrap, or any custom recovery (I seem to remember that I used something that looked like TWRP).... And I can't find the right threads that explain this here on XDA. Busybox installed and tried installing safestrap through the app but to no avail. (says it was successful, but rebooting to it never works).

I appreciate any help
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] HoshiH:
------------------------------------------------------------------------------------------------

I have the verizon note 3 N900v stock 5.0. Can i activate the hotspot without rooting? similar to you i have the unlimited plan and verizon on top of the $49.99 data plan they want another $29.99 to activate the hotspot.

is there any other way to activate the hotspot or i need to go get note 4-5 ? what do you recommend.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] donc113:
As far as I know...you need to be rooted to use the Verizon hotspot app without a subscription. This thread says FoxFi works, other than that I have no information for you.

http://xdaforums.com/showthread.php?t=3256845
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] Hemi2014:
Why am I only just NOW seeing this pig **** after 3 days of trying every single freaking possible method to get TWRP installed on my SM-N900V so I can get a new Kernel and ROM?!?! I just need to take control of the world and mandate a single global cell provider, which will use ONLY the original, unmolested version of pure STOCK Android and ONE and ONLY ONE version of each phone!!!!! I essentially wasted a week trying to FINALLY get Root access... and now I find out that I could have been drinking beer and watching porn instead! There is zero point in me having wasted all that time to get root access :(
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] bftb0:
well there seems to be some tongue in cheek there ^^^^ but it is worthwhile to point out that this thread is over one year old and there were significant developments which occurred after all the posts contained in this thread which allowed for bootloader unlocking and therefore let you boot custom recoveries and customized (non-Samsung) boot images.

TWRP can indeed be installed now on unlocked SM-N900V devices ("hltevzw") - since 15 April 2016:

Unlocking is possible:

(a) if and only if is rooted first and

(b) if and only if the eMMC chip in it was manufactured by Samsung (the device will have a CID value beginning with 0x15...)

After unlocking the bootloader, you can flash whatever you darn well please into the recovery partition using Odin, or even easier you just "dd" the recovery image file blob into partition 15 from a root terminal prompt

dd of=/dev/block/mmcblk0p15 bs=2048 if=/sdcard/twrp-3.0.2-0-hltevzw-4.4.img

But if you insist on using Odin, knock yourself out.

good luck on your next few weeks of flashing. make sure to use whichever hand of yours is least tired. :p
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] paramax55:
I'm probably missing a detail somewhere...

I'm also having trouble getting TWRP to install on a Note 3. I have a VZW Note 3 that is on KitKat. I've been able to unlock it - I get MODE:DEVELOPER on the recovery screen (I read all 63 pages of the thread). I've tried both the TWRP app from the play store and the "dd" command above using the "4.3-hltevzw.img" file from the TWRP website. When I try to boot into recovery - volume up/home/power (that should give me TWRP, right?) - I get my normal screen (Samsung Galaxy Note 3 with custom unlock symbol), then I get "recovery booting" in the upper left corner, then "set warranty bit : recovery" under that, then the screen goes black and the phone reboots into its normal operating mode.

I've been reading for 2 weeks. Have I just missed something simple?
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] bftb0:
The symptoms sure sound like your bootloader is simply unable to properly set up the boot image that is in the recovery partition, or it passes control to the kernel, which wedges and eventually a watchdog timer barks (and it then goes back to the regular boot). Either one of those indicate a problem with the boot image in the recovery partition though.

Which KItKat bootloader do you have? (NC2 / NC4 / NJ6 / NK1)

Not sure if this is it, but maybe try the -hltevzw-4.4.img file. I've used both 2.8.7-0-hltevzw-4.4 and 3.0.2-0-hltevzw-4.4, and I'm on the NC4 bootloader

(As I recall, the JB bootloaders had to use the -4.3 images because of a change in the way that the DTBs (Device Tree Blobs) were packed together with the kernel. Although I thought that the KK and LL bootloaders were backward compatible, so that they should be able to boot the -4.3 images. Perhaps not?)

FYI when you use the "dd" method, you:

- need to do this as root

- the "dd" command will tell you how many bytes it transferred - should be the same as the size of the .img file. (Zero bytes/blocks if you are not root)

- you can verify that the write took place by using dd again to read the data out of the recovery partition and verify that it has the same MD5 checksum. The trick here is to make the blocksize (bs=) the same as the length as the original image size, and set the number of blocks (count=) to be 1. e.g. suppose the .img file is 10,123,456 bytes

md5sum /sdcard/twrp-3.0.2-0-hltevzw-4.4.img

dd if=/sdcard/twrp-3.0.2-0-hltevzw-4.4.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery

sync

dd if=/dev/block/platform/msm_sdcc.1/by-name/recovery bs=10123456 count=1 | md5sum

hope that helps.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] paramax55:
Thanks for the help - and that does help. I'm actually not stupid, just a little ignorant right now because I haven't kept up with the changes after my bionic.

How do I know if I'm on NC2 / NC4 / NJ6...? Is that the last part of the "baseband version?" If so, I'm on NC4 and I might need TWRP-4.4. I had thought all KitKat needed 4.3.

And in your commands above, I'm imagining that I need to replace "/device/block/platform" with my specific information? Or is that literally what I should use?

Update- I used 4.4 and all is well. Now I just have to look for which rom I want. BTW - I never checked the other things so, if you wanted to answer those questions, it might help someone who's searching.