yashsingh1/xdaforums huggingface dataset:
[Moto E Original Android Development] ProudRed:
Considering to try it. Having used Temasek for almost 2 years now, looking for a change. More to something updated. Any ustom kernel with this which is updated in last 3-4 months ?

---------- Post added at 11:20 PM ---------- Previous post was at 10:39 PM ----------

Tried the Lineage 13. Apps cant be moved to Adopted SD. How's that stable ?
[Moto E Original Android Development] Modder001:
Aosp extended nougat /cosmic os nougat / firehound / resurrection remjz etc

Above are nougat ROMs

You can try aosp caf marshmallow is you want marshmallow version
[Moto E Original Android Development] Ujwal Agrawal:
Slim6 2.1 in case anyone want it

https://www.androidfilehost.com/?fid=961840155545573821
[Moto E Original Android Development] DineshKumarMSD:
Remap your buttons by editing. Hope you got root access. Use ES File Explorer, and grant Root permissions. Now go to Device > System > usr > Keylayout > and you'll find a file named "Generic.kl" and open it as a text file and you will find key 113, key 114, and key 115, if you want to use your volume down button as power button remove these lines VOLUME_DOWN and replace it with POWER. Save the file and reboot. Now your volume down key functions as your power button.
[Moto E Original Android Development] piku 123:
Thanks for the tip but I am using le 2 :)
[Moto E Original Android Development] DineshKumarMSD:
Oh Good. :)
[Moto E Original Android Development] chirag2474:
Hey mobile data is not working
[Moto E Original Android Development] gamerricky:
please provide slimgapp link

please provide slimgapp link for moto e 1st gen... thanks in advance
[Honor 7 Q&A, Help & Troubleshooting] aladeb70:
Hello

There was a problem because of the two program kingroot

And now I can not log into gmail account or google play

Please help me solve the problem

or

Provide me with Stoke rom

PLK-L01C185B120

Please help me
[Honor 7 Q&A, Help & Troubleshooting] aladeb70:
Please help me
[Honor 7 Q&A, Help & Troubleshooting] aladeb70:
hts here android 5

http://www.carbontesla.com/2015/12/download-honor-7-l01-b120-lollipop-firmware-russia/

and android 6 update

http://www.carbontesla.com/2015/12/download-honor-7-l01-b311-marshmallow-ota-zip-beta-russia/
[XDA Assist] ianm1004:
I have bought a canvas spark 3 which i rooted using kingroot app. i have accidentally deleted some system files . now the phone switches on but after i swipe to unlock i get a black screen . i have checked various sites and as the phone uses a spreadtrum

sc7731g processor it has no wipe option like mediatek processors . i have checked and downloaded a software like sp tools called spd tools however it needs a .pac file to flash with . if any one can help me or if an existing canvas 3 user can make one it would help me unbrick my phone. micromax service center wont help as my phone shows its rooted . any help or suggestion would be most welcome
[XDA Assist] Trafalgar Square:
Hello and welcome on XDA,

Please ask here, if anyone knows a ROM:

Android Q&A, Help & Troubleshooting

Kind regards

Trafalgar Square

XDA Assist
[Android Q&A, Help & Troubleshooting] cadetes:
Hello, my samsung galaxy fresh gt-s7392 not power only appears the samsung and type nothing more.

I have flashed the phone with kies3 all ok, but the same, i can´t flash with memory card because i can´t enter in menu

to update via sdcard or format, i try this CWM_Recovery, all ok but phone is the same. The phone language is PT-PT

Please help,

Br
[Zenfone 5 Android Development] dgadelha:
Development: Building a Marshmallow Kernel for Zenfone 5/6​

Prerequisites:

Ubuntu 16.10 (Installation Guide)

~5 GiB of Available Disk Space

Establishing a Build Environment

Open a Terminal Emulator (Ctrl+Alt+T)

Install the latest Ubuntu updates:

sudo apt-get update
sudo apt-get dist-upgrade

Add the OpenJDK 7 Repository:

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update

Install the Required packages by Android:

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip maven yasm optipng openjdk-7-jdk

Install Repo:

sudo wget https://storage.googleapis.com/git-repo-downloads/repo -O/usr/bin/repo
sudo chmod +x /usr/bin/repo

Install Wine (you'll need it for AndImgTool):

sudo dpkg --add-architecture i386
sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
sudo apt-get install --install-recommends winehq-devel

Setup Wine (don't modify the settings, just press OK):

WINEARCH=win32 winecfg

Setup Git:

git config --global user.name "Your Name"
git config --global user.email "you@example.com"

Recommended: Reboot.

Downloading the Source:

Create a Working Directory:

mkdir -p ~/Kernel
cd ~/Kernel

Initialize the Repository:

repo init -u git://github.com/intel-ctp/android.git -b zf5/kernel

Download the Code:

repo sync -c -j4

Important: Remove a Conflicting Directory: (you may face build errors if you don't run that)

rm -Rf bionic/tests

Building the Kernel:

Prepare the build environment:

. build/envsetup.sh
lunch mini_T00F-user

Build minigzip:

make -j4 minigzip

Build the Kernel:

make -f KernelMakefile -j4 build_kernel
make -f KernelMakefile -j4 modules_install
make -f KernelMakefile -j4 copy_modules_to_root

Generating the Boot Image:

Download the Ramdisk to a Working Directory:

cd ~
git clone https://github.com/zf5/Kernel.git Boot -b cm-13.1

Enter Working Directory:

cd Boot

Download AndImgTool:

wget https://basketbuild.com/uploads/devs/dgadelha/ASUS_T00F/Tools/AndImgTool.exe

Remove my prebuilt files:

rm -v PARTS/BZIMAGE
rm -Rv ramdisk/lib/modules/*

Copy your just-built kernel files:

cp -v ~/Kernel/out/target/product/T00F/kernel PARTS/BZIMAGE
cp -Rv ~/Kernel/out/target/product/T00F/root/lib/modules/* ramdisk/lib/modules/

Generate your Boot Image:

wine AndImgTool.exe . boot.img

Enjoy your Kernel!

Also check out: Development: Building CyanogenMod 13 for Zenfone 5/6
[Zenfone 5 Android Development] Edorewiel:
Great,

Thank you!
[Zenfone 5 Android Development] ccxex29:
i dont think its a good idea by using wine for building
[Zenfone 5 Android Development] dgadelha:
You'll just use Wine to generate the boot.img. It works and I tested it. All my Boot images were generated using it.
[Zenfone 5 Android Development] smgdev:
[MENTION=6292495]dgadelha[/MENTION] Hey, thanks for the good work there. How would you suggest me to edit kernel default config with menuconfig? I tried to copy and use defconfig but it was problematic. I wanted to hear your opinions on this. Thanks.
[Zenfone 5 Android Development] dgadelha:
Hi [MENTION=5065662]smgdev[/MENTION]

I already played a lot with menuconfig, but if you want to try out, that's how I recommend you to do:

Cleanup your build environment, delete the out/target/product and kernel/asus directories

Run a repo sync

Play with menuconfig:

make -f KernelMakefile TARGET_DEVICE=hd menuconfig

When you finish, press Save and save it as "defconfig", your file will be now at out/target/product/asusctp_hd/kernel/linux/defconfig

Copy your new defconfig to Desktop and cleanup the environment again (delete out/target/product/asusctp_hd and kernel/asus)

Run another repo sync

Copy your defconfig to kernel/asus/T00F, replacing mine

Build it.

That's my recommended way to use menuconfig, keeping the environment cleanest as possible.

Thanks.
[Zenfone 5 Android Development] smgdev:
Oh, and i was wondering why I was getting compilation errors. Thank you so much! Never thought a repo sync. But I have a 2-3 line mac802.11 patch. Can I apply it as soon as I repo sync? I do not experience problems with that patch.

Thank you so much again!
[Zenfone 5 Android Development] dgadelha:
Hi [MENTION=5065662]smgdev[/MENTION]

Yes, you can do it.

But also you could submit the patch directly to the GitHub repository to be available to everyone.

Thanks.
[Zenfone 5 Android Development] smgdev:
[MENTION=6292495]dgadelha[/MENTION] hey, its me again and sorry for bothering you again.

I am porting nethunter kernel, its a tx injection patch but I can submit it if you want.

Anyways, can you see the problem?
[Zenfone 5 Android Development] dgadelha:
Edit cpiostatfile.txt and remove the mentioned missing file.

Thanks.
[Zenfone 5 Android Development] smgdev:
Fixed one line and moved modules to lib/modules from lib root. That might be an issue of Makefile. Suggest you to check it. Anyway, I built the image and its working. Thank you for dealing with my ignorance.

By the way, do you have communication with BORETS24? I have to get into touch with him/her for his/her HID keyboard patch.
[Zenfone 5 Android Development] dgadelha:
Hi [MENTION=5065662]smgdev[/MENTION]

Your issue was because you modified your defconfig and disabled (or changed to built-in) the module t4k35_180 and then it was not generated, not fault of Makefile or etc.

Then, AndImgTool threw an error because it could not find the file (which was mentioned at cpiostatfile.txt).

So basically it is, for every file that you add or remove from the ramdisk, you need to update cpiostatfile.txt.

Thanks.
[Zenfone 5 Android Development] smgdev:
I found out the error wasn't t4k35_180.ko generating. Modules were copied to a wrong directory. boot/lib instead of boot/lib/modules which was declared in the cpiostatfile. I was talking about that. Anyway,

You are the best, thanks for everything.
[Zenfone 5 Android Development] dgadelha:
Ah, thanks. I'll fix that. :)
[Zenfone 5 Android Development] ozank:
Hey, probably a silly question but;

What should I change to port a stock-rom booting kernel to run CM-based rom kernel?

I have both sources of two kernels and I need to make stock-booting kernel to CM-booting kernel (for an experiment).
[Zenfone 5 Android Development] dgadelha:
By "stock-rom booting kernel" you mean the kernel-only (bzImage) or full boot image (bzImage+Ramdisk)?
[Zenfone 5 Android Development] ozank:
Actually I need to port Borets24 to CM13 again for some experiments and I think the both of source codes has bz+RDisk.
[Zenfone 5 Android Development] dgadelha:
Build his bzImage, normally, and use my Ramdisk.

I built his kernel before and it had many issues (drain, lag, etc) and then I got back into stock. Unfortunately, I don't keep history of my builds.

And remember: disable SELinux
[Zenfone 5 Android Development] ozank:
Thank you; yes, I saw that you were using in the earlier builds, I wanted to try with latest freeze-reboot things (some people were saying the freeze is not happening and I thought what if I recompile again for CM13 based roms and try it for 2-3 days).

Thanks again and have a good day. :)
[Zenfone 5 Android Development] smgdev:
Hey [MENTION=6292495]dgadelha[/MENTION] , so sorry to bother you again but as far as I know this devices boot.img structure is different. If so, can you explain it?

Thanks
[Zenfone 5 Android Development] dgadelha:
Hi [MENTION=5065662]smgdev[/MENTION],

Yes, Intel x86 Android boot images (legacy) are different, but it's a little hard to explain, but you can take a look at the Python script in this post made by Intel and analyze how the functions `unpack_bootimg_intel` and `unpack_bootimg_google`, also check the function `unpack_bootimg` on how to identify the boot images.

Thanks.
[Zenfone 5 Android Development] smgdev:
Thank you, wanted so get in some crazy projects with this phone and this will help much.
[Zenfone 5 Android Development] hungximbex:
HELP

Unknown type for pack

Pack from boot fail
[Zenfone 5 Android Development] q0kHaN:
are you using another version of andimgtool ? they are not supporting x86 kernels
[Zenfone 5 Android Development] dgadelha:
Yeah I've sent him a new version.

His issue is fixed now :)
[Zenfone 5 Android Development] q0kHaN:
could you send me too ? :D
[Zenfone 5 Android Development] dgadelha:
It's here, same version as the one available in my BasketBuild.
[Zenfone 5 Android Development] q0kHaN:
BasketBuild is down i cant download it :(

Thanks !

---------- Post added at 01:57 AM ---------- Previous post was at 01:03 AM ----------

After flashing generated boot.img phone doesnt boot and reboot itself to recovery mode (i've just added few .sh files to ramdisk.Didnt changed other things)
[Zenfone 5 Android Development] dgadelha:
Hi.

What changes did you make?
[Zenfone 5 Android Development] q0kHaN:
I've changed init.dgadelha.rc, dgadelha.sh and added 2 sh files to /sbin

And i found there is no initrd.cpio.gz in generated kernel
[Zenfone 5 Android Development] dgadelha:
Check if you didn't clone the nougat branch instead of the marshmallow branch.
[Zenfone 5 Android Development] q0kHaN:
repo init -u git://github.com/zf5/android.git -b kernel

git clone https://github.com/zf5/Kernel.git boot -b cm-13.1

isnt that codes for mashmallow ?
[Zenfone 5 Android Development] dgadelha:
Yes, these are.

But I've updated recently the post to match marshmallow branch, so maybe you cloned the nougat branch.
[Zenfone 5 Android Development] q0kHaN:
How to change kernel version in about phone section ? editing bzimage.version isnt working
[Zenfone 5 Android Development] dgadelha:
This is autogenerated by the kernel building system.

I keep BZIMAGE.version just to track.
[Zenfone 5 Android Development] smgdev:
[MENTION=6292495]dgadelha[/MENTION] Since that thread got bumped again :) I would like to ask a question. How do you debug the freaking kernel(or panic)? Uart serial console or something else? I am gonna go insane.

Thanks btw.
[Zenfone 5 Android Development] dgadelha:
Hi,

On Zenfone 5, you can, after a kernel panic and only a kernel panic, reboot to a custom recovery, connect via adb and run the following code:

cat /dev/block/by-name/panic

Looks like this (8 MiB) partition is reserved especially for saving kernel panic logs.

I tried to find on kernel how to enable /proc/last_kmsg (which has a more detailed log), but had no luck.

Thanks!
[Zenfone 5 Android Development] smgdev:
last_kmsg depends on ram_console whose driver is not present in zf5. And thanks for that advice.

I built a kernel and and when I try to load it with kexec there is no error but it performs a full reboot and phone boots up.

Although, I cant identify neither which kernel is running (I always get same output from uname -a :( ) nor if kexec failed. Any advice on kexec?

Thanks for handling my stupid ****.
[Zenfone 5 Android Development] dgadelha:
Hi,

You can set a custom LOCALVERSION variable in your defconfig. That should allow you to identify your current kernel in uname -a.

I may try to add that driver later but I don't have a Zenfone anymore to test.

Thanks!
[Zenfone 5 Android Development] sayan7848:
Source ramdisk not found

AndImgTool giving error "source ramdisk for block ramdisk not found" though i have ramdisk folder in ~/Boot/boot/ ??

[edit] solved by editing config.ini
[Zenfone 5 Android Development] dgadelha:
Due to recent Travis-CI integration, you gotta do "cd boot; AndImgtool . boot.img" now.

EDIT: Tutorial has been updated to match changes.

Thanks.
[Zenfone 5 Android Development] sayan7848:
thank u for a quick response :good: i was also wondering that your guide for building marshmallow rom for zenny 5 uses cm 13.0 branch whereas the kernel section is using 13.1 branch.....can i use the rom and kernel together then??? sorry if this is a simple question but this is my first try in building a rom :):)
[Zenfone 5 Android Development] dgadelha:
Yes.

And there's no longer support for ROM building so I can't help you with it.

Thanks.
[Galaxy Note5 Q&A, Help & Troubleshooting] stas333:
I recently noticed that my camera module makes rattles when I barely shake my phone. It almost sounds like there is something loose inside near the camera module. With the s pen out, it still rattles the same, so it's not the s pen.

Thanks.
[Galaxy Note5 Q&A, Help & Troubleshooting] Jammol:
That's the OIS Lens making that noise. All OIS camera lens do that until the camera is activated. Launch the camera app and you'll see the nose goes away. If it doesn't go away then the magnetic stabilizer is no longer functioning as it should. It should activate and hold the lens in place and modify the wave length strength it receives based on what the camera is focusing on.
[Galaxy Note5 Q&A, Help & Troubleshooting] stas333:
Thank you. It's doesn't rattle with camera app opened.
[Android Q&A, Help & Troubleshooting] user822:
Hi,

questions about the big.LITTLE architechture:

Which part of the kernel decides which task ends up on which cluster.

Is that a proprietary code from Qualcomm/Samsung/Mediatek or is there a "standard" solution in the mainline Linux kernel that does this?

Thanks
[Moto G Q&A, Help & Troubleshooting] yocool86:
Does anyone have a solution to read the SPC? Normally I would use the SPCutility APK or the MSLutility APK but the server is down on both and it will not work like it used too. They are android 4.4.2 KITKAT. I have looked into rooting and then seeing if there was a rooted app that would work but I have have tried 5 different rooting methods which all said would work for the 1031 but none of them did.

I do have CDMA WS but I can not get it to connect or know what would work if it did connect.
[Moto G Q&A, Help & Troubleshooting] bw 1:
I saved the SPCUtility.apk from when I needed it for the XT1031 Boost Moto G.

Here you go:
[Moto G Q&A, Help & Troubleshooting] yocool86:
Thank you but the problem is the app talks to a server and the server is shut down.
[Moto G Q&A, Help & Troubleshooting] bw 1:
Sorry, I didn't realize that.
[Galaxy S 5 Q&A, Help & Troubleshooting] keithxboxv1:
hi i need help i went to look at my phone and there is no touch function what so ever, i rebooted and the logo was grey and pixelated and then it got stuck in a boot loop.

i reflashed it and same problem and my phone not rooted
[Galaxy S 5 Q&A, Help & Troubleshooting] ketulharini:
I have similar problem I have no touch and when I try to swipe from top right corner the screen color changes to greenish yellow.

I try factory reset from recovery doesn't help.

Try to do firmware upgrade through odin with no help.

Can any one help with this?
[Android Q&A, Help & Troubleshooting] thewildnative:
I'm looking for an email app that can connect to gmail and yahoo mail without necessarily connecting through accounts that are on the device.

An app that is independent of the information that is on the device. The same way an app from a website connects to your account on their site without having to go through the accounts set up on device (if i understand it right.)

Is there such a thing?
[Android Q&A, Help & Troubleshooting] thyttel:
Outlook

Sendt fra min SM-G925F med Tapatalk
[Android Q&A, Help & Troubleshooting] Sgace:
Cloudmagic, i think does what you want.

Cheers
[Android Q&A, Help & Troubleshooting] thewildnative:
Are these options safe? Well what i mean exactly is, is my personal info and privacy kept from being sold and what not? Cloudmagic does use cloud services and i assume outlook works in a similar fashion. If these email apps do the same thing that the native gmail app will do with any information i summon use and keep on my phone anyway, then it's kinda back to square one. I'm using moboclean to keep as much info on my phone (mainly my contact list) away from these communicative apps. Since i have a couple of alternate email accounts, i would like to use a particularly different app for one of my accounts and not get it mixed up with all the info sharing the other apps do.

Now if there is something that i've misunderstood on how some of these apps work, let me know. There is still some learning i need to do, but i really don't like the idea that some of these apps have inevitable permissions to access account details stored by other apps on my device and what not.

I just need the email app to work literary like a browser, like how i would access gmail through google's mail.google.com web page, but instead, the apps will use my credentials to login to my inbox automatically and not tie my device to my account in anyway, nor tie my account to my device. And google or yahoo or whatever, will think i'm accessing my email through a normal desktop computer.

Maybe i'm asking too much in our "out of control" world of today.

But thank you. I do appreciate all your help.
[LG G5 Questions & Answers] xbenjii:
I've managed to flash it and install the driver, but none of the effects are working.
[LG G5 Questions & Answers] srimay:
It needs root
[LG G5 Questions & Answers] xbenjii:
I have root...
[LG G5 Questions & Answers] Lycidias:
Over Bluetooth it works (processing) but not with headphones/speaker. Changed selinux to permissive with selinuxchanger
[LG G5 Questions & Answers] xbenjii:
I have it on permissive too. Haven't tested bluetooth yet but it's definitely not working with the 3.5mm port.
[LG G5 Questions & Answers] Lycidias:
First Flash: "ViPERAudio 5.5 Sony Beats Edition.zip" from

http://xdaforums.com/android/software/viperaudio-viperatmos-3-8-sq-driver-t3289075

And then these two things::

Working great for me
[LG G5 Questions & Answers] Josey Wales:
Awesome! ! !

Sent from my SPH-L720

ROM: Wicked X v10.9

Kernel: Aurora

Powered By VIPER4ADROID

Beats by Sony MDR-XB50AP
[LG G5 Questions & Answers] srimay:
On th g5? How'd ya do that?
[LG G5 Questions & Answers] Lycidias:
Since we are able To unlock the bootloader by lg since a few days (H850)
[LG G5 Questions & Answers] xbenjii:
Didn't seem to work, still getting Processing: No. :(

It does work with bluetooth though.
[LG G5 Questions & Answers] Lycidias:
For Poweramp v3 try these settings
[LG G5 Questions & Answers] xbenjii:
I only really use Spotify.
[LG G5 Questions & Answers] iGridZ:
Any fix found?
[LG G5 Questions & Answers] shannoncole05:
I use DSP since I can't get root.
[LG G5 Questions & Answers] iGridZ:
DSP doesnt work aswell

Sent from my LG-H850
[LG G5 Questions & Answers] iGridZ:
Working now

Sent from my LG-H850
[LG G5 Questions & Answers] xbenjii:
What did you do?
[LG G5 Questions & Answers] iGridZ:
Just too simple.

Wiped /system partition and updated to 10C android.

Installed Viper4Android 2.4.0.1 apk and installed driver. Rebooted and it worked

Sent from my LG-H850
[LG G5 Questions & Answers] iGridZ:
Should i write it detailed in Mods section?

Sent from my LG-H850
[LG G5 Questions & Answers] xbenjii:
Ah that works. Thanks alot!

I was trying the flashable one but it didn't seem to work, installing the apk and then the driver worked for me.
[LG G5 Questions & Answers] Savoury:
Just flashing the ViPERAudio 5.5 Sony Beats Edition, cleaning cache/art worked fine for me without any other modifications (on V10a).
[LG G5 Questions & Answers] tribalartgod:
Can confirm, this does work. Just installed and my music is sweet again. :D

This needs to be posted in the Apps Section... It works, and works well!
[LG G5 Questions & Answers] iGridZ:
Maybe I put these two Methods in one Threat.
[LG G5 Questions & Answers] freebee269:
So I installed the Sony viperaudio and everything seems to be working except my viper will not process. I wiped cache already. Anyone have ideas? I posted a screenshot.
[LG G5 Questions & Answers] iGridZ:
SeLinuxModeChanger set to Permissive?
[LG G5 Questions & Answers] DimidiusDeus:
What method did you use to do this? I used the 5.5 Sony Beats and just installed it and wiped cache. Didn't have to change permissions for anything, and it works well...
[LG G5 Questions & Answers] Perpatoura:
Here also only processing over Bluetooth, have 10C and the dolby atmos edition.

The App Selinuxmodechanger doesnt work btw, status gets reseted after a reboot.
[LG G5 Questions & Answers] Lycidias:
Try arise Soundmod Aroma http://xdaforums.com/android/software/r-s-e-sound-systems-auditory-research-t3379709/post67524980
[LG G5 Questions & Answers] Will_Xda:
V4A Beats edition works great with the HIFI module on my H850
[LG G5 Questions & Answers] TheMadScientist:
Dont know if u got it workin but on g4. Root is needed. Then click the force tab in viper. Also need to set the kernal to permissive. I use selinux changer. Sometimes in dev options u have to click use awsome player or vice versa