yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Android Development] Windows10PC9342:
Thanks!!!! My Favorites and I am Xperia Fan!!!
[Nexus 5X Android Development] liammmmnnnn:
sooooo funny, so i flashed this kernel with TWRP and when i turned the phone on the bootloader said YOUR PHONE IS CORUPT something cant verify, lol, im just using a backup to put it back, how it works, ill have another dead phone if this doenst work, doesnt matter, i only got it for $20 at goodwill, fully working, thank you so much! :) liammmmmmmm
[Nexus 5X Android Development] kalashnikov6468:
does this support android 10?
[OnePlus 5 Questions & Answers] dashinlife:
please delete
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] japher:
did you try the command:

boot

It should boot up your phone and allow you to use it. When you reboot though you'll be back to the tri-colour screen.

Apparently, the correct fix here is to flash a rom from your original vendor. This didn't work for me :( but it has worked for others.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mrootman:
Thank you for reply

"boot" did not help. Returned ivalid command.

Who can, please help me with link to correct ROM?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Martinhdk:
Did you try to search...SEARCH !!! before asking a questíon that has probably been asked many many times before...

This is a developers forum...so use the threads already made for questions like that.

Its ok to be a NEWIE - but dont waste space

:-)

Welcome BTW
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mrootman:
Yes I did for last 8 hours :-(

I tried to upload German reconstructed ROM- UPDATE ERROR

WWE - Invalid vendor

No any other solutions curently found....

Please help me....
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mrootman:
German rom

Appearantly I need official German ROM.

Can somebody suggest where I can find one?

As I see it should be OFFICIAL and not reconstructed....

Please advise.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mrootman:
Any Help?

All,

Any possible help with it? Please...

What should I do with device? it's dead colored....

Thank you.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ionutz6:
I just fixed one with the same problem. It just worked running the boot command in mtty. try it again, its not a regular behaviour...

Read here more info: http://xdaforums.com/showthread.php?t=362300
[Moto G4 Play Questions & Answers] theoctavist:
Very curious to see the community response . also list kernel , mods, etc if you will! Thank yall
[Moto G4 Play Questions & Answers] -RDR-:
Stock rom with xposed is best . Enough said .
[Moto G4 Play Questions & Answers] fireball0093:
Used to use Zephyr, now I tend to find myself on Lineage or AICP, and kernel depends on what I feel like flashing :p AICP is what I mainly end up using nowadays
[Moto G4 Play Questions & Answers] DB126:
Same.
[Moto G4 Play Questions & Answers] Luis Ibarra:
How do you install closed on stock?
[Moto G4 Play Questions & Answers] venturajpo:
Resurrection Remix. I would be using xposed if there was for Nougat
[Moto G4 Play Questions & Answers] angelus_kun:
Stock debloated by myself magisk And OGyoutube stock recovery waiting for nougat :(
[Moto G4 Play Questions & Answers] -RDR-:
Xposed is not available for Nougat . On Marshmallow u just have to root your phone , flash the xposed framework and install the xposed apk and then download modules from the download section
[Moto G4 Play Questions & Answers] Luis Ibarra:
When I flash the zip file and try to restart TWRP freezes and sits there. My phone has MM.
[Moto G4 Play Questions & Answers] -RDR-:
Well I haven't rooted this phone yet.i was talking about my previous phones where I was always on stock with xposed
[Moto G4 Play Questions & Answers] crailey01:
I am currently using Pure Nexus as my daily driver. Not too many mods over stock except for Pixel features that I prefer. Only thing I miss from Stock ROM is Moto Active Display. Ambient display is not even close. Oh yeah, no custom kernel or root. I'm getting like 6hrs screen on time with this ROM. On Stock ROM I only got 4.5 to 5 hrs.
[Moto G4 Play Questions & Answers] -RDR-:
Installed RR and AospEX today . both have problem in audio recording on video :(
[Moto G4 Play Questions & Answers] crailey01:
The only ROM that I've used that has a lockscreen even close to Moto's Stock ROM is crDroid V3.4
[Moto G4 Play Questions & Answers] ProudlyTM:
ViperOS, it's a very stable and nice ROM!
[Moto G4 Play Questions & Answers] crailey01:
I haven't tried that one yet.
[Moto G4 Play Questions & Answers] fireball0093:
I've switched over to the PureNexus ROM, one of the smoothest I have ever used for our device. Had to get a few third party apps in order for it to fully work, but after that I haven't had any problems at all with it. No root currently either, I had problems in the past with Safetynet even with the setting to hide root.
[Moto G4 Play Questions & Answers] Ctafolla2:
I was using that rom but I had FC with every Google app, don't know if was a problem of gapps package . Which gapps are you using?
[Moto G4 Play Questions & Answers] crailey01:
I use Gapps 7.1.x Stock edition. I read another post where recommended BeanApps for the Pure Nexus ROM but I haven't had any issues.
[Moto G4 Play Questions & Answers] fireball0093:
I use OpenGapps Pico
[Moto G4 Play Questions & Answers] DB126:
Open GAaps Nano.
[Moto G4 Play Questions & Answers] Castaldelli:
ViperOS with Magisk13.0 but I also like XOSP but uninstalled because in the last update did not recognize my SIM cards.
[Moto G4 Play Questions & Answers] Marioandroid777:
ViperOS kicks ass, It has just a few customizations but they're enough. It has a dark mode that makes it looks slick.
[Samsung Galaxy J7 Questions & Answers] beinghunny:
my device charge very slow past 80% and i noticed that its voltage reaches highest level and charging current stays at 110-120ma. anyone can help me out on this? or anyone having similar issue? what is the max charging current supported by our device?
[Android Q&A, Help & Troubleshooting] juan.c.guzman.jg:
Does anyone know how to bypass the FRP on a LG K20 android version 7.0. Please help.
[LG V20 Questions & Answers] Tamer samir:
I want to buy this phone and urgently want to know if it dual sim full active or not
[LG V20 Questions & Answers] sbacham:
Yes.
[Shield Android TV Q&A, Help & Troubleshooting] Zacharybinx34:
Shows the NVIDIA logo, but then after a while it shows the Android guy with the Exclamation point and says NO COMMAND.

I can get to fastboot, but now I'm getting one of two errors in the CMD.

Either:

target didn't report max-download-size

sending 'recovery' (15140 KB)...

FAILED (command write failed (No error))

finished. total time: 0.003s

or

target reported max download size of 67108864 bytes

sending 'recovery' (15140 KB)...

FAILED (data transfer failure (Unknown error))

finished. total time: 5.012s

Then the shield reboots and I see the NVIDIA logo, and goes right back to the android guy with the exclamation point.

Any ideas?
[Shield Android TV Q&A, Help & Troubleshooting] dontbeweakvato:
do you have the latest fastboot and adb? when in fastboot go into control panel and update drivers if you see the yellow exclamation. sounds like a pc to shield connection issue
[Shield Android TV Q&A, Help & Troubleshooting] Zacharybinx34:
Figured it out. 2 bad USB cables. 3rd one solved the issues.

Thanks!
[Shield Android TV Q&A, Help & Troubleshooting] lavero.burgos:
Same old story, yeah the Shield TV is picky.

Sent from my Tapatalk beta Hub

If I helped hit the Thanks button. Follow Me! ~ DroidMote user ~ Full Android for Shield TV and Nexus Player
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] XxAndroidlyxX:
Hello XDA!

I need the Rom of GT-S5830L (Operator: Entel Chile) or at least a South American unbranded rom .

I tried to find the rom in Sammobile but it seems that the webpage is on maintenance only for free downloads :(.

Edit: It seems this post (https://xdaforums.com/showthread.php?t=1399917) had the rom, but the download is not working right now.

And the page of the rom on Sammobile is https://www.sammobile.com/firmwares/galaxy-ace/GT-S5830L/CHE/download/S5830LUBLP1/7954/.

Thank you.
[Moto G5 Plus Questions & Answers] alevity:
Guys please dont flame me i am having a pannic attack and cant think strait. i rooted and flashed twrp with moto g5 plus tool kit, then later used ex kernel, then got update ota notioce...i knew it wouldnt work but was suprised it downloaded and propt to restart..so i did thinking it would say no you cant.. instead stuck in twrp like there is no os! please help. I dont know how to reflash the stock os, my backup didnt work when i restored it, and besides that after trying to restore i ended up wipin g and formatu=ing data and looso=ing it now anyway. i am shaking help please
[Moto G5 Plus Questions & Answers] alevity:
I have just tried to flash lineage zip and it said succesful but when rebooting it goes strait back to twrp, have i lost my boot img ? what can i possiblu do, i am concerned if i download the 1.6 gig stock rom file from g5 plus kits "factory rom kit" it wont be the propper rom for my region "australia" or wont even have a modem..what can i do.. god why dont i stillhave any xanax
[Moto G5 Plus Questions & Answers] alevity:
when trying to flash stock rom with toolkit the log says bootloader slot suffix not found and bad key
[Moto G5 Plus Questions & Answers] alevity:
So i finally drank enough scotch to calm down, and realized the "errors" were not actually preventing the stock rom from flashing... and i now have not only a working rom but a baseband..so my reccomendation goes out to anyone panicked to just flash the downloaded stock rom found in the links of the moto g5 plus toolkit
[Moto G5 Plus Questions & Answers] djzero86:
Never,take otas with custom recovery , the solution is flash whole rom
[Moto G5 Plus Questions & Answers] alevity:
Yes.. I truly thought there would be a "wah wah wah" notice being rooted.. But it went straight in to it. Just didn't know where any stock rocks were and wasn't prepared.. And ended in a hyperventilating mess. At least I now have the files
[Moto G5 Plus Questions & Answers] djzero86:
Every day we learn something new, brick this phone is very difficult, all we need is the correct files and some of magic and come back to life ,?

Cheers..

Excuse my bad english...
[Moto G5 Plus Questions & Answers] alevity:
:) true! My last phone I felt secure and that it was completely unbrickable all because I had all the necessary rescue files and backups. And I had learned from every previous disaster. Thank you for your kind words friend.
[Moto G5 Plus Questions & Answers] WiteFlash:
Can't get fastboot to recognize device

So I'm kind of in the same boat as you were. I unlocked the bootlader and rooted the phone before giving it to my wife. During that whole process, fastboot had no problems recognizing the phone (obviously). Then my wife tried to update via the OTA which got her stuck in TWRP. I'd like to reflash the stock ROM, but the problem I have is that TWRP won't just flash the zip file ("invalid zip file format"), and I can't use fastboot to do commands line by line since "fastboot devices" doesn't show my phone anymore. I was able to get her going on a custom ROM for now, but I'd like to put her back on the stock ROM so we won't encounter this problem again. I've reinstalled the Motorola driver several times, but no luck. ADB has no problems recognizing the phone when in TWRP recovery. One thing that happened recently was a big update to Windows 10, but I'm not sure if that is the reason for my fastboot issues.

Any advice would be appreciated.
[Moto G5 Plus Questions & Answers] WiteFlash:
Just a follow up, I tried uninstalling/reinstalling the Motorola driver and ADB on the original computer, but for some reason it still won't "see" the phone in fastboot. I was able to install ADB/Fastboot and the Motorola driver on a separate computer (also Windows 10) to get fastboot to recognize the phone so I could issue commands to reinstall the stock firmware. I noticed, though, that the following commands FAILED when I entered them:

fastboot erase customize

fastboot erase clogo

I'm not sure what those were for, but the phone seems to be working fine on the stock firmware now.
[Android Software/Hacking General [Developers Only]] mosimchah:
You're on fire with this kernel stuff:D
[Android Software/Hacking General [Developers Only]] NoNameMi:
Nice and clear introduction on how to build a kernel. This small how-to was so simple, I can keep it in my head! Awesome!
[Android Software/Hacking General [Developers Only]] Subham:
A really helpful guide much needed around for upcoming developers. This is the perfect guide for them. Nice work ?
[Android Software/Hacking General [Developers Only]] NZnewbie:
The guys a Feckn Champ.

Thanks a lot!!.
[Android Software/Hacking General [Developers Only]] jacbarahona72:
Thanks [MENTION=6842057]The Flash[/MENTION]

Enviado desde mi Nexus 6 mediante Tapatalk
[Android Software/Hacking General [Developers Only]] karandpr:
On a scale of 1-10 how much Off-Topic is allowed ? :highfive::laugh::silly::eek:

Nice guide :good: :highfive: ..
[Android Software/Hacking General [Developers Only]] kevintm78:
I have been using ./build_kernel.sh to compile kernels as was suggested by another guide and I'm wondering if there's any pros or cons doing it that way as opposed to using the make defconfig way.

They seem to be working ok but this is the second guide on xda that suggest the way you're doing it and I'm definitely open to change if this way is better. Any thoughts on the two methods would be much appreciated. I also would like to say thanks for these new guides as finding kernel dev info for newbies is very scarce and mostly outdated. I really look forward to seeing this thread take off. :good:
[Android Software/Hacking General [Developers Only]] nathanchance:
Well this build_kernel.sh script is most likely doing just this. I personally use a script to compile and package my kernel, I would never do the "manual" way like this once you know how.
[Android Software/Hacking General [Developers Only]] nathanchance:
I have updated the OP with a note about compiling newer CAF releases (3.18 and 4.4 to my knowledge). As was pointed out by [MENTION=4684315]flar2[/MENTION] while I was making an idiot of myself accusing him of violating the GPL (for which I truly do apologize), you may need to specify an output directory (by adding an O= flag). This is actually done automatically when a ROM compiles a kernel inline so you will only run into this while compiling standalone.

I have added it to my script here if you want an idea of how to add it to yours.
[Android Software/Hacking General [Developers Only]] AhmAdDev99:
So here i'am what should i do to fix the initramfs problem?

I tried "chmod -R a+x kernel" but i still get the same problem.
[Android Software/Hacking General [Developers Only]] nathanchance:
Why aren't you compiling in your home folder?
[Android Software/Hacking General [Developers Only]] AhmAdDev99:
Moved both kernel source and gcc to /home but still the same problem :confused:
[Android Software/Hacking General [Developers Only]] nathanchance:
Have you tried the bit about specifying an out folder?
[Android Software/Hacking General [Developers Only]] AhmAdDev99:
Yes , And this is exactly what i get

GEN /Kernel/android_kernel_samsung_t1-android-4.4/out/Makefile

scripts/kconfig/conf --silentoldconfig Kconfig

GEN /Kernel/android_kernel_samsung_t1-android-4.4/out/Makefile

CHK include/linux/version.h

UPD include/linux/version.h

CHK include/generated/utsrelease.h

UPD include/generated/utsrelease.h

Using /Kernel/android_kernel_samsung_t1-android-4.4 as source for kernel

HOSTCC scripts/genksyms/genksyms.o

Generating include/generated/mach-types.h

CC kernel/bounds.s

GEN include/generated/bounds.h

CC arch/arm/kernel/asm-offsets.s

SHIPPED scripts/genksyms/lex.c

SHIPPED scripts/genksyms/parse.h

SHIPPED scripts/genksyms/keywords.c

SHIPPED scripts/genksyms/parse.c

HOSTCC scripts/genksyms/lex.o

CC scripts/mod/empty.o

HOSTCC scripts/mod/mk_elfconfig

GEN include/generated/asm-offsets.h

CALL /Kernel/android_kernel_samsung_t1-android-4.4/scripts/checksyscalls.sh

HOSTCC scripts/genksyms/parse.o

HOSTCC scripts/selinux/genheaders/genheaders

MKELF scripts/mod/elfconfig.h

HOSTCC scripts/mod/file2alias.o

HOSTCC scripts/selinux/mdp/mdp

HOSTCC scripts/mod/modpost.o

HOSTCC scripts/kallsyms

HOSTLD scripts/genksyms/genksyms

HOSTCC scripts/conmakehash

HOSTCC scripts/recordmcount

HOSTCC scripts/mod/sumversion.o

HOSTLD scripts/mod/modpost

CHK include/generated/compile.h

CC init/main.o

HOSTCC usr/gen_init_cpio

CC arch/arm/vfp/vfpmodule.o

UPD include/generated/compile.h

CC init/do_mounts.o

GEN usr/initramfs_data.cpio

File ../../ramdisk.cpio could not be opened for reading

line 32

File ../../ramdisk-recovery.cpio could not be opened for reading

line 33

/Kernel/android_kernel_samsung_t1-android-4.4/usr/Makefile:67: recipe for target 'usr/initramfs_data.cpio' failed

make[2]: *** [usr/initramfs_data.cpio] Error 255

/Kernel/android_kernel_samsung_t1-android-4.4/Makefile:945: recipe for target 'usr' failed

make[1]: *** [usr] Error 2

make[1]: *** Waiting for unfinished jobs....

AS arch/arm/vfp/entry.o

AS arch/arm/vfp/vfphw.o

CC arch/arm/vfp/vfpsingle.o

CC arch/arm/vfp/vfpdouble.o

CC init/do_mounts_rd.o

CC init/do_mounts_initrd.o

CC init/initramfs.o

CC init/calibrate.o

CC init/version.o

LD arch/arm/vfp/vfp.o

LD arch/arm/vfp/built-in.o

LD init/mounts.o

LD init/built-in.o

Makefile:130: recipe for target 'sub-make' failed

make: *** [sub-make] Error 2
[Android Software/Hacking General [Developers Only]] chevycam94:
I've been working a little more on my Pixel XL kernel. Question...

I do:

make clean && make mrproper
make marlin_defconfig
make menuconfig

I go through several options, save, and exit. But when I do "git status", it thinks nothing has changed? I'm not sure if that's true, or if it just doesn't track whatever files were modified by menuconfig (of which I have no idea which ones they are).
[Android Software/Hacking General [Developers Only]] nathanchance:
I'm sorry I forgot to reply to your message, I looked at it then left my computer. make menuconfig saves the changes to the .config file in the kernel source. You need to copy that file to your arch/arm64/configs/<defconfig_name>.
[Android Software/Hacking General [Developers Only]] chevycam94:
No problem. I'm not in a huge rush. It builds, and runs better than any kernel I have tried yet. Not joking. :P

So you're saying I need to copy the contents of the .config file INTO the "marlin_defconfig" file? Just append those lines to the end of the file?

Also, did I mention my little headache with my 9 "section_mismatch" errors? Doesn't seem to affect anything, but on this same build VM, I can build any other kernel source without any issues at all. So strange.
[Android Software/Hacking General [Developers Only]] nathanchance:
You should just be able to copy the whole file (cp .config arch/arm64/configs/marlin_defconfig).

You could run a git bisect on your kernel source and see if there is a commit causing those mismatch errors. Very rarely is that a result of a toolchain or environment configuration.
[Android Software/Hacking General [Developers Only]] ZawZaw:
Hi..Sir Flash,

I want to ask a question for ARM Device. ( Nexus 6 )

This is right method for ARM?

example:

- - - - -

export CROSS_COMPILE=${HOME}/Kernel/Toolchain/bin/arm-eabi-

export ARCH=arm && export SUBARCH=arm

make clean && make mrproper

make shamu_defconfig

make -j$(nproc --all)

- - - - -

I want to know this about.

If this method is wronged, Please teach me Sir.

Thanks.

•••
[Android Software/Hacking General [Developers Only]] milouk:
Error when "make clean"

Hey first of all thanks for this helpful guide! Im trying to compile my first kernel for Nexus 5X bullhead. When typing

make clean

i get

Makefile:796: ***multiple target patterns. Stop.

My steps were :

1)

cd Desktop/bullhead_kernel

2)

git clone https://github.com/LineageOS/android_kernel_lge_bullhead.git

(got the lineage kernel source)

3)downloaded gcc-linaro-7.2.1-2017.11-i686_aarch64-linux-gnu.tar.xz from https://releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/

4) Extracted gcc-linaro-7.2.1-2017.11-i686_aarch64-linux-gnu.tar.xz in /Desktop/bullhead_kernel

5)

cd Desktop/bullhead_kernel/gcc-linaro-7.2.1-2017.11-i686_aarch64-linux-gnu

6)

export CROSS_COMPILE=$(pwd)/bin/aarch64-linux-gnu-

7)

cd Desktop/bullhead_kernel

8)

export ARCH=arm64 && SUBARCH=arm64

9)

cd Desktop/bullhead_kernel/android_kernel_lge_bullhead

10)

make clean

Makefile:796: ***multiple target patterns. Stop

Any help would be much appreciated.
[Android Software/Hacking General [Developers Only]] tripLr:
Check your file and folder permissions. I made a boobo in one of my shell shortcuts that does a sudo mkdir when I type md foldername. This creates a folder with only root rwx not user. So I have to chown -r (recursive) user: /foldername to fix.

---------- Post added at 08:11 AM ---------- Previous post was at 08:05 AM ----------

And you don't want to run make as sudo or Sunday. You can compile something over the top of a running program.

Suggest everyone make a directory on your desktop mkdir ~/Desktop/Build/Kernels

And download all sources into your permissions. If something crashes, first thing to do is check your file permission
[Android Software/Hacking General [Developers Only]] mashuto:
Thanks, but I did try taking ownership of the folder to make sure things werent weird, but I wonder if its also because I am using nathans flash kernel and the configuration is different. Make clean just doesnt seem to work. But I managed to eventually get clang installed and working, and can build with just the defconfig and final make commands. Seems to be working well. Interestingly, running make clean afterwards seems to work. Does make clean require something to have already been built before (and then to clean it)?

Either way, I am up and running for what I wanted to due. Nathans flash kernel is excellent, but I wanted to try and add a few things I personally like using it as a base, and so far I have had some success... of course, my virtual machines are acting up, but one thing at a time.
[Android Software/Hacking General [Developers Only]] tripLr:
Yes. Make (anything) starts a scripting process with outputs based on the type of make.

Let's say you forget a step and cancelled the make process halfway through, or finished the make and you need to start over or do another make process. You need to make clean

---------- Post added at 10:41 PM ---------- Previous post was at 10:39 PM ----------

That's why I run a dual boot, have a stable updated kernel, and build with Linux rather than a VM. I use Linux mint installed on another series of partitions, and have a separate drive not on the kernel drive to run the make processes. I used to build servers, so the kernel drive was never accessed by user processes
[Android Software/Hacking General [Developers Only]] rwxr-xr-xis:
I've cloned Google's 32bit toolchain but I'm unsure which makefile I should point out for it to use, could someone help me out with this?

nwah@nwah android_kernel_motorola_msm8916]$ ls arm-eabi-4.8/bin/
arm-eabi-addr2line arm-eabi-g++ arm-eabi-gdb arm-eabi-ranlib
arm-eabi-ar arm-eabi-gcc arm-eabi-gprof arm-eabi-readelf
arm-eabi-as arm-eabi-gcc-4.8 arm-eabi-ld arm-eabi-size
arm-eabi-c++ arm-eabi-gcc-ar arm-eabi-ld.bfd arm-eabi-strings
arm-eabi-c++filt arm-eabi-gcc-nm arm-eabi-nm arm-eabi-strip
arm-eabi-cpp arm-eabi-gcc-ranlib arm-eabi-objcopy
arm-eabi-elfedit arm-eabi-gcov arm-eabi-objdump
[Android Software/Hacking General [Developers Only]] nathanchance:
It should be:

export CROSS_COMPILE="$(pwd)/arm-eabi-4.8/bin/arm-eabi-"
[Android Software/Hacking General [Developers Only]] attack11:
[MENTION=6842057]nathanchance[/MENTION]

It's possible to add to this guide the steps to build with clang instead of gcc toolchain? I cant find any guide yo build a stand alone kernel with clang