yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Hacker432:
[MENTION=5991747]neonkat[/MENTION]

Hi, I'm trying to port cm12.1 and new twrp for my device but, that's not the point xD

I'm working with two device trees, one for the rom and one specific for the twrp

I have done changes based on similar device trees but there's one part in boardconfig files that I don't know how to edit properly

Kernel flags.

Where can I get these informations?

BOARD_KERNEL_CMDLINE BOARD_KERNEL_SEPARATED_DT

BOARD_KERNEL_BASE BOARD_KERNEL_PAGESIZE BOARD_KERNEL_TAGS_OFFSET BOARD_RAMDISK_OFFSET

BOARD_DTBTOOL_ARGS

BOARD_MKBOOTIMG_ARGS

TARGET_CUSTOM_KERNEL_HEADERS

Inviato dal mio HUAWEI Y550-L03 utilizzando Tapatalk
[Android Software Development] neonkat:
which device?is there any aosp or cm rom for your device?if yes,then you can look into the boardconfig.mk in the sources.i think you should ask this in any rom building thread because its related to device tree.
[Android Software Development] Hacker432:
Huawei Y550

Yes, cm11

Thanks for the answer and sorry for wrong thread

Inviato dal mio HUAWEI Y550-L03 utilizzando Tapatalk
[Android Software Development] Hacker432:
Hi

I have an error compiling kernel+dt

Someone can help me with this error?

http://pastebin.com/Hw5eQKJJ

Inviato dal mio HUAWEI Y550-L03 utilizzando Tapatalk
[Android Software Development] Pavlex4:
When I run command make -j3 I get error:

drivers/usb/core/driver.c: In function 'usb_hnp_polling_work': drivers/usb/core/driver.c:1318:2: error: implicit declaration of function 'do_unbind_rebind' [-Werror=implicit-function-declaration] drivers/usb/core/driver.c:1318:25: error: 'DO_UNBIND' undeclared (first use in this function) drivers/usb/core/driver.c:1318:25: note: each undeclared identifier is reported only once for each function it appears in cc1: some warnings being treated as errors
[Android Software Development] Arvind7352:
http://xdaforums.com/nexus-4/orig-d...ernally-powered-usb-otg-t2181820/post43141712

He Experienced the same problem and solved it. He Attached a Patch which tells you the changes he has done. There are Guides on how to perform changes given in a '*.patch' file.

One of these Guides - http://rypress.com/tutorials/git/patch-workflows

Just understand the format of a *.patch (diff) file, apply it, and you may get it solved.

Manually applying changes would be better since the code surrounding the "to-be changed" code will be different, so patch commands may fail.
[Android Software Development] Pavlex4:
How to apply patch?
[Android Software Development] neonkat:
try:

patch < patchfile's location
[Android Software Development] Pavlex4:
Can I just copy everything inside makefile and paste it inside /drivers/usb/makefile
[Android Software Development] neonkat:
can't say if that will work or not.if the patch file has 100% identical files like your device(or if it is made specifically for your device),then you can try that.

ps-i will not recommend it but you can try.
[Android Software Development] Pavlex4:
To do this: patch < patchfile's location

Do I need to go to /drivers/usb location open terminal and run that command????
[Android Software Development] neonkat:
cd to the location where you want to apply the patch.like if i have to patv

ch my kernel source(doesn't matter which file),i will go to bla/bla/bla/*kernel sources directory* and then do that command.

patch < /home/xyz/abc.patch

you can extract it if it is in compressed form to abc.patch.

just make a quick google search on "how to apply a patch". there are several guides and youtube videos.
[Android Software Development] Arvind7352:
Naah, if you're doing it from a patch, coz it contains only part of Code.

And as I said, the Code Differs for Each and Every Device. Never Attempt Total Replacement unless it is the SAME Source Code maintained by other Guy + You're Lazy :laugh:
[Android Software Development] Pavlex4:
Then, what part of the code from patch to put inside makefile???
[Android Software Development] neonkat:
add the additions(+) and remove those which are replaced(-) and modify values in repsective file listed in .patch file.

but that's nightmare(if that's a huge patch).
[Android Software Development] Pavlex4:
What means this:

efd3ffc2c0c6b2f76ec12ebfa88f4535d4b4da56 msm_otg: add usb unbind/rebind drivers

diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile

index b1ec3fc..4cad64d 100644

--- a/drivers/usb/Makefile

+++ b/drivers/usb/Makefile

@@ -2,6 +2,10 @@
[Android Software Development] J0SH1X:
[MENTION=5373435]Eliminator79[/MENTION]

i need some help i downloaded the cm source code for my g3 then added the features now i wanna type make cyanogenmod_d855_defconfig i get

"make: *** No rule to make target 'cyanogenmod_d855_defconfig'. Stop."

can anyone give me a tip how to solve the problem
[Android Software Development] neonkat:
try this:

copy your defconfig and paste it at *main kernel source folder* and rename it to ".config".

afterwards just continue with make -jx.

i would also like to know a "solid" fix for this.:p
[Android Software Development] J0SH1X:
thanks

sadly its not working now i get this

make: *** No rule to make target 'FORCE', needed by '/config_data.gz'. Stop.
[Android Software Development] limjh16:
Could I ask how to build a custom kernel, like boeffla, for a different device? eg. how to port it? I'm trying to port boeffla from i9300 to i9305
[Android Software Development] abhishekr700:
Hello, [MENTION=5991747]neonkat[/MENTION]

I found my defconfig file named ze550kl_defconfig in arm64 folder instead of arm in Kerne source.There was no similar named file in arm folder which could be assumed to be the defconfig file for making .config

Also i would mention that my kernel architecture is arch64.

Please tell me if the above mentioned file is correct. Also I would like to know whether ndk toolchain will be able to compile arm64 kernel.

Also tell me the changes to be made in cross compile command to build arm64 kernel.
[Android Software Development] neonkat:
arm is for 32 bit devices.for 64 bit,you will have arm64 named folder.choose the defconfig for your device model from arm64 folder.

yeah,ndk tools support 64 bit proc.you can read about them here.

for ndk tools guide,check http://valgrind.org/docs/manual/dist.readme-android.html.

i would recommend you to use google toolchain(arm64-GCC 4.9)or ubertc(GCC 4.9) instead of ndk tools as most of the guides are based on standalone toolchains so it will be easy for you.

about the command(i have never used ndk tools)you need to change:

ARCH=arm64

rest,look at some ndk kernel building guide.
[Android Software Development] abhishekr700:
I tried it , making .config file went good but while compiling kernel without any edits I got an error

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

line 816:

vmlinux: scripts/link-vmlinux.sh $(vmlinux-deps) FORCE

Google search gives lots of people facing this but no satisfactory answer.What could be wrong??
[Android Software Development] neonkat:
can you post the full error?(last lines)you can post on pastebin or use hide tag.
[Android Software Development] abhishekr700:
here it is

abhishekr700@builduntu-VM:~/android/kernel/kernel$ sudo make -j1 ARCH=arm64 CROSS_COMPILE=arch-linux-androideabi-

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

before this I ran

abhishekr700@builduntu-VM:~/android/kernel/kernel$ make ARCH=arm64 CROSS_COMPILE=arm-linux-androideabi- ze550kl_defconfig

and I have alrady mentioned the line in which there is error in above post.

Also can we talk on facebook / whatapp etc so that this conversation can be a little fast..
[Android Software Development] neonkat:
please check post #4 for correct order of commands(better add one by one).

export ARCH=arm64

export CCOMPILE=~/location to toolchain/arm64-linux-android-

make nameofyourconfig_defconfig

make -j4

are you using ndk's toolchain?if yes,then you may need to look at some guide which help to build with ndk tools toolchain(afaik,it require some "export ndk" command).
[Android Software Development] abhishekr700:
Actually I did complete edits to bash.rc after watching a video and your advise.

Also saw I have to use another toolchain version for arm64, so I setup that new toolchain.

Then manually deleted .config file and then make defconfig file

Then make -j2

Its ongoing now,

Lets wait...

---------- Post added at 07:15 PM ---------- Previous post was at 06:37 PM ----------

The build completed, but I cannot find the zimage in /arch/arm or arm64

While the build was ongoing there was some errors about touchscreen / drivers

But if it was a serious error build would have stopped right?

Again Please tell me if this conversation is possible through fb/whatsapp etc

Thanks..
[Android Software Development] neonkat:
do a "make -j1" and paste the error here.

better post here,maybe someone else could help too.
[Android Software Development] abhishekr700:
Any way I can log whatever is displayed on the screen to a file?
[Android Software Development] neonkat:
http://askubuntu.com/questions/420981/how-do-i-save-terminal-output-to-a-file
[Android Software Development] yarpiin:
when compiling 64bit kernel there is no zimage file created you have image file instead . and it is absolutley fine im using anykernel base for mine kernel and all you have to do is change zimage into image in flasher script
[Android Software Development] abhishekr700:
And where does that image file get stored?
[Android Software Development] yarpiin:
if compilation succesfull you hace image named file in arch/arm64/boot directory of your kernel
[Huawei Ascend P6, Mate] dasoul2004:
Dear all,

Given the latest leaks and apps (e.g. music player), does anyone have any information about if and when P6 will receive EMUI 3.0 ?

Best regards to all
[Huawei Ascend P6, Mate] taaeem:
Huawei Germany said that so far as they know currently first the new devices get EMUI 3.0. About the P6 they don't know if there will be an update.
[Huawei Ascend P6, Mate] warea:
After Honor6, its now P7 that is going through beta test releases for Emui3.0. I would expect other newer and popular phones like Honor 3x/3c to get Emui3.0 before it comes to P6. Not to forget that the Chinese P6 users havent got any updated firmware for many months now and hence Emui3.0 could be soon.
[Huawei Ascend P6, Mate] blueIBI:
in the hisuite there is a overview which devices are supported..

unfortunately the p6 is not listed..

Gesendet von meinem P6-U06
[Moto G Q&A, Help & Troubleshooting] slugger09:
I've read quite a few threads on the this, basically very bad call quality from the earpiece, it crackles, its distorted, it actually sounds like sound is coming from the loud speaker rather than ear piece.

Has anyone found a cure for this? Some say its software related and going back to 4.3 helps, problem is on my XT1039 it came with 4.4, 4.3 isn't available, some have returned the phone and had the exact same problem with the next phone.

Any ideas?
[IDEs, Libraries, & Programming Tools] ziahaqi:
which best ym api library for android ? :confused:
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Clutch13:
Hi i need help ok i belive my phone is a g4. the phone is locked to cingualr i think. the rom is 2.25.11.1 wwe. ok well i want to update my rom to another 1 so i tried unlocking the cid and i tihnk i did it but when i tried updating a another rom it says that theirs an error in the update utilty PLZ if some 1 has AIM i need help on what to do plZ HELP ME
[8125, K-JAM, P4300, MDA Vario Software Upgrading] thankins:
I will be the first to tell you...read the stickys :)

Second off you do have a G4 phone, which can be a little tricker flashing, I would try and use one of Molskis Roms for the G4, should upgrade easily. If you are getting that error, then you may have downloaded a 3g one.

Be careful, i broke my first 8125 by bricking it trying to flash it.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Clutch13:
i downloaded the new mda 2.26 rom
[8125, K-JAM, P4300, MDA Vario Software Upgrading] phathead785:
Well, can any rom go onto a G4 device? I was reading up on farias new windows crossbow themed rom, an AK2 based rom...

will this work properly on my G4 8125 currently with Cingulars 2.26 rom? Ive been reading these posts, but cant keep up with them all lol

Thanks for the help
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Clutch13:
CAn any 1 plz help me ?
[8125, K-JAM, P4300, MDA Vario Software Upgrading] shogunmark:
hmmm, wonder how that happened :D but at least you got a G3 out of the deal
[8125, K-JAM, P4300, MDA Vario Software Upgrading] shogunmark:
start here:

http://xdaforums.com/showthread.php?t=284292
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Clutch13:
i need personal help can some 1 IM ME
[8125, K-JAM, P4300, MDA Vario Software Upgrading] demontefixo:
For what it is worth, Shogunmark has been personally helping you. Also, if you are using anything other than Cingular's ROM you run the very real risk of the "missing calls, tons of voicemail" issue. You are probably better off just waiting for a better ROM from Cingular until the challenge has been sorted out.

--M
[8125, K-JAM, P4300, MDA Vario Software Upgrading] shogunmark:
When it comes to flashing you need to read and fully understand what you are about to do to your phone. Its also very important to know whether its a G3 or G4. Judging by the error you recieved there is 1 of 2 things here, either:

A: you have a G4 and need to check out the G4 section for roms available to you. or

B: You did not successfully cid unlock your phone. So see A
[AirDroid] DRTMI:
Everything was working yesterday. I tried to upload an apparently I downloaded and once it gets out of the windows window it has the circle with the line through it not letting me upload anything.
[AirDroid] Penny06:
Upload issue

Hi,

Would you please send us a screenshot to help us better solve this issue? Does the file save on your external sd card? What is your Android version? :)
[Mi 3 Q&A, Help & Troubleshooting] YedaAnna:
Hello everyone. i'm using mi 3 W with stock rom miui 5 v23 . is there any way to remove lock screen animation like the weather and clock.

i want a simple plain lock screen.

thanks in advance
[Mi 3 Q&A, Help & Troubleshooting] reneftw:
Just go to themes and select the lockscreen you like.
[Moto X Q&A] tt c6:
So, I just got a Moto X and I keep accidently shutting off the volume with the volume buttons. (I'm clumsy. I know)

Is anyone else doing the same thing?

Motorola said there is no way to shut them off in settings.

So, I just downloaded "Volume Locker" from the Google Play store and it seems to be working OK.

Does anyone have any better suggestions for a better method or app from disabling the Volume Up/ Down keys ???

Thanks.
[Xperia Z2 Q&A, Help & Troubleshooting] Croize:
Damn, Can you hide soft buttons while gaming ?? They are so annoying >.<

Edit: Found an app for it =)
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
yes although you found it

you can use xposed + app settings (root required)

this worked best for me
[Xperia Z2 Q&A, Help & Troubleshooting] Croize:
Could you explain ? The app made the phone lag a bit =/ And can i take the soft buttons back easly ?? :)
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
are you talking about the app your using, alot of those apps that arent xpose modules create lag

and in imersive mode just swipe up from bottom or top to get they keys back
[Xperia Z2 Q&A, Help & Troubleshooting] Croize:
is the module named " app settings " ?

Edit : Figured it out :) Thanks ALOT ! :D Have you got your Z2 back ? :)
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
no

sony is being realy weird, they said it should be here friday, friday is already gone :/
[Xperia Z2 Q&A, Help & Troubleshooting] Croize:
Sorry man =/ Hopefully tomorrow :D im really consider downgrading to 402, Just to use your rom xD
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
should be here soon otherwise im going to bug sony relentlessly
[Galaxy Note 8.0 (Tablet) General] bradipovsky:
Hi all,

I've made a video about undervolting following the guide that omniwolf made.

[YOUTUBE]aSW3lUd3UsU[/YOUTUBE]

It's nothing more than me talking (too much) about it and actually doing it, I'm really not adding anything to the guide itself besides the fact that you can watch me making a fool of myself, think that if I can do it, anybody can... So it's more an encouragement than anything else :D

The voltages I got are:

100 MHz - 675 mV

200 MHz - 700 mV

300 MHz - 725 mV

400 MHz - 750 mV

500 MHz - 800 mV

600 MHz - 825 mV

700 MHz - 850 mV

800 MHz - 900 mV

900 MHz - 925 mV

1000 MHz - 950 mV

1.1 GHz - 950 mV

1.2 GHz - 950 mV

1.3 GHz - 1000 mV

1.4 GHz - 1050 mV

1.5 GHz - 1075 mV

1.6 GHz - 1150 mV

Please don't just copy them, every CPU is different and they may not work for you. I also raised them all by 25 mV to avoid instabilities.

I don't have results and probably I will never have them... So I can't actually tell how much this affects battery life and temperature. I'm not convinced it makes a lot of sense to undervolt a tablet, since the screen is pretty much going to be the main drainer anyway, that's why I'm not focusing on collecting data to support the usefulness of the process :)

Did anyone else try undervolting the Note 8 (old thread about it here)? Also I'd be glad to hear the opinion of someone who's more qualified than me (basically anybody) about the subject in general and about undervolting this specific device :)

Cheers :)
[LG Optimus L3 II, L5 II, L7 II, L9 II] weritos:
Cyanogenmod 10 BETA version LG P713,715 (Dual sim) By Weritos

What works?

-GPS

-Ril

-Root

-Bluetooth

-2G,3G

-Display

-Audio (partially)

-Camera

-Video recording

-Sending SMS messages

-Internal and external memory

-Language: English, Chinese, Russian

What doesn't work?

-Wi-fi

-There is no sound in the microphone when you call

-4 sensors do not work

Screenshots:

Install

1. Firmware on sdcard.

2. Run CWM Recovery

3. Wipe data/reset and Wipe cash partition

4. Install zip from sd card

5. Choose zip from sd card

6. Choose the firmware.

7. Yes - Install update

8. Wait install from sd card complete

9. Reboot system now

Help with setting up

To activate the mobile network, put a tick

Block download

REMOVED

You can contact me by e-mail weritos94@gmail.com

Donations developer:

Webmoney:Z335425717892

VISA card: 4693957110668857
[LG Optimus L3 II, L5 II, L7 II, L9 II] AngryGamer025:
Praise this man.

He did it!

OT:

Even though it is very inconvenient for me that wifi is not working, I will definitely test this rom.

Keep up the good work man!

EDIT:

I just tested it and man it is fast and smooth. Big improvement over stock! Because of the fact that wifi doesnt work atm I could not try everything but everything worked except Apollo( the cm music app) didnt want to play my music, maybe thats a problem on my side but idk, and the keyboard was all bugged and laggy. I suggest you to just put in the stock google keyboard inplace for the keyboard app thats now on it. I think most the people would like it more over the keyboard app you put in it.

If you fix the wifi issues I will test again and I will use it as my daily driver.

Good job man!
[LG Optimus L3 II, L5 II, L7 II, L9 II] Sottam:
Pretty awesome!

The rom is running pretty smooth and no lag at all!

Great work man!

I found some bug that you can work on:

-Keyboard completely buggy - I instaled Android AOKP keyborard but the bug persisted. I try to use and I noticed that the keymap is ok, but background is bigger than normal.

-Audio jacker does not redirect the sound correctly, when there is a plug in the jack, it makes the speaker sound lower, but does not redirect the sound to headphone.

-Bluetooth headset connects and works like a charm, but there is no bass sound.

-menu soft key does not work correctly. it does the same as back button.

without wifi working, i couldn't check anything else...

I'd like to thank you again for porting this rom, i've been waiting for it since i bought this p714!

I'll be waiting for any updates, i'll test it as fast as possible and post a feedback for you. :)
[LG Optimus L3 II, L5 II, L7 II, L9 II] ljukigrobar:
cm10

Omitted the language pack, I hope that the final version to be corrected, all praise for the effort about roma ..
[LG Optimus L3 II, L5 II, L7 II, L9 II] XtremeVnzla:
This Rom is only for the dual version or is also available in P710 version? can you help me? I need a Rom from P710 because I do not think will get update. It look great. Follow like this, I will be expecting for the official version :good:
[LG Optimus L3 II, L5 II, L7 II, L9 II] jondolf07:
im glad to see this thread,,, but i'm still waiting for the fix. :) :D thanks
[LG Optimus L3 II, L5 II, L7 II, L9 II] michaelvoliveira:
Why you use Nova Launcher instead the Google one?

Despite it,

HOORAY!!! THANK YOU MAN!
[LG Optimus L3 II, L5 II, L7 II, L9 II] winxuser:
mods please move to original development thread,,, well done OP i was just about to start trying for this right nwo, but you beat me to it.

ALSO please show your sources as per GPL
[LG Optimus L3 II, L5 II, L7 II, L9 II] Varcain:
You are perfectly legally able to sell something under GPL (yes, for money) given that you provide the source code together with binary release. Same rule applies when you provide binary for free - you have to provide the source code as well.

My own two CM ports are well and healthy at the "finished" stage and I have yet to see any money o my paypal. Not that I complain - I have done this for myself to be able to use debloated OS. But you shouldn't bash him since he has already provided something that actually works (which shows he knows what he is doing).

But I agree he should release his source code, as per GPL.
[LG Optimus L3 II, L5 II, L7 II, L9 II] weritos:
No, I am not obliged to give you anything.

Like a good, not like I do not enjoy it!

Sales are not present, there is only a voluntary donation!

And accordingly there is no violation of License text!
[LG Optimus L3 II, L5 II, L7 II, L9 II] Varcain:
Yes, you are obliged to give Linux Kernel source for the release you are providing - under GPL. If you fail to do that you are in breach of the license and will face the consequences.

Regarding other android specific stuff - since those are Apache license mostly you don't have to provide sources. Linux kernel is not apache license though.
[LG Optimus L3 II, L5 II, L7 II, L9 II] weritos:
Walk :D
[LG Optimus L3 II, L5 II, L7 II, L9 II] KennyG123:
Per GPLv2 and XDA requirements source code needs to be posted for the kernel. Please do so.

Also per XDA rules donations are ONLY in appreciation for work given. There can be no asking of donations in the promise of future releases.

Moved to Android Development for now. When source is provided it can be moved to OD ONLY until an official CM10 is released then it will be moved to AD again. If this is updated to CM11, there already is an unofficial CM11 in OD so this will be moved to AD in that case too.

Thread has been cleaned

FNSM
[LG Optimus L3 II, L5 II, L7 II, L9 II] ositandroid:
You're the greediest developer I've seen. I don't need your cm10. other developers will port for us.

we are fine with our debloated Roms.
[LG Optimus L3 II, L5 II, L7 II, L9 II] winxuser:
Trying to do a port for cm11. Plus device tree for this device is a mess and have been working on trying to clean it up. Not going to be home for a few days due to family problems so I can't do anything till then. May need some help from some devs tho.. the last error I came up to was a busybox error while compiling kernel. Get more info soon
[LG Optimus L3 II, L5 II, L7 II, L9 II] shiftyHungary:
That sounds great, what about an AOSP JB for first? Maybe that would be easier since you have sources for JB and KK should be released soon, maybe with the sources(as it was with JB)
[LG Optimus L3 II, L5 II, L7 II, L9 II] Sottam:
Great! Cm11 is even more good! I'm excited about it, this ROM will be the first 4.4 based ROM :)

I have a doubt. What did you mean when you said: device tree for this device is a mess?