yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] Sturdy_99:
so that is the source right......i have downloaded a developers source..matrix kernel...and i have google toolchain....when i compile it starts and at the end i dont get anything in the boot folder...:confused:
[Nexus 4 General] prbassplayer:
Read what compiler says. Are you exporting everything you need correctly?
[Nexus 4 General] Sturdy_99:
What exporting.....i did as instructions were given...and export cmds are export arch=arm n other of the compiler....right....i did these steps...

I get this...and no output..:-

---------- Post added at 07:55 PM ---------- Previous post was at 07:47 PM ----------

Is the source not proper or i am doing anything wrong...

---------- Post added at 07:56 PM ---------- Previous post was at 07:55 PM ----------

What should i do....plz instruct me...
[Nexus 4 General] prbassplayer:
Are you sure that source compiles with a 4.8 Toolchain?
[Nexus 4 General] Sturdy_99:
ya, matrix is using 4.8 toolchain. i saw in his features...4.8 gcc google

---------- Post added at 03:24 AM ---------- Previous post was at 03:18 AM ----------

if i copy pasted your address git clone -b android-msm-mako-3.4-kitkat-mr1 https://android.googlesource.com/kernel/msm

will i get the right folder....coz it is again saying cloning msm.
[Nexus 4 General] prbassplayer:
Then don't know, I haven't poked around matrix repo in a while. As for the example I gave msm is Google's name for kernel repo for all qcom based devices, branch is device specific ;)
[Nexus 4 General] Sturdy_99:
ok..thankz for help will try out with other sources.
[Nexus 4 General] Sturdy_99:
after so much fails finally build was succesfull that too with linaro toolchain......:D...just changed the kernel sources...now how to pack the zimage..:confused:

---------- Post added at 03:15 PM ---------- Previous post was at 02:38 PM ----------

i have the zimage but no modules.....is it normal?
[Nexus 4 General] thiagox:
Hello, I do this way, you can find others out there...

1) Take the compiled file (arch/arm/boot/zImage) and put in any directory, eg 'new_boot';

2) Unzip the original boot.img in any directory, eg 'old_boot', using the following command:

"abootimg -x boot.img";

3) From boot.img that was unzipped, you will need bootimg.cfg and initrd.img (ramdisk), copy them to the directory of step 1;

4) Plug the phone to PC in bootloader mode, go to directory of step 1 and enter the following command:

"fastboot boot zImage initrd.img";

*** This makes the device try starting with a temporary kernel if your bootloader is unlocked, it does not quite replace your kernel...

*** It was the way I found to calculate the size of the new zImage with ramdisk already...

*** If the device does not start on first boot, restart it, and it deletes the temporary kernel...

5) The log displayed in the console, has a number... copy it, convert it to hex (Google: XXXXXXX to hexadecimal), take the converted number and update the value of 'bootsize' in bootimg.cfg file;

6) Generate the new boot.img:

"abootimg --create boot.img -f bootimg.cfg -k zImage -r initrd.img".

Now you have a boot.img...

Sorry for the english, it is not very good.:p
[Nexus 4 General] prbassplayer:
There's a link somewhere here for, zhack or something. Pretty nifty.
[Nexus 4 General] Sturdy_99:
Wow....such a confusing thing....anywayz thankz....it is helpfull....but i made a flashable zip....without boot.img....just took a ready made kernel and removed their zimage and inserted mine....and voila...success....

---------- Post added at 04:11 AM ---------- Previous post was at 03:41 AM ----------

can someone please help me to optimize kernel. Where can i optimize it in sources or menu config.. And how to add feature to the kernel.:confused::good:
[Nexus 4 General] thiagox:
I read it somewhere, for some time, but can't remember where.
[Nexus 4 General] Gnome:
You need to cherry pick or add them. Check my SOURCE I'm building my kernel with SaberMod 4.8.3
[Nexus 4 General] Sturdy_99:
I love ur roms.......can you plzz instruct me how to cherry pick features.....and plzz give me the link for sabermod toolchain.....or can we build a kernel with linaro and sabermod both.......also thnkz for your sources...:good:
[Nexus 4 General] Gnome:
SaberMod Toolchains

KERNEL:

SM: git clone https://github.com/SaberMod/android_prebuilts_gcc_linux-x86_arm_sabermod-arm-eabi-4.8.git

ROM:

SM: git clone https://github.com/SaberMod/android_prebuilts_gcc_linux-x86_arm_sabermod-arm-linux-androideabi-4.8.git

You can cross compile using different toolchains. Just remember arm-eabi is for the kernel and androideabi is for the ROM. I was building my ROM before CC with Google 4.8 for the kernel and SM 4.8.3 for the ROM. So yeah it's possible.

Cherry picking:

git fetch (the link of the one you'll be cherry picking plus the branch) && git cherry-pick (the commit you'll be cherry picking)

make sure you're cherry picking on the same repo. Ex. frameworks/base needs to be on frameworks/base, etc.
[Nexus 4 General] Sturdy_99:
Thanks for your help....bt i didnt get u at cherry picking...can you give me example....like i want hotplug from franco plus kernel.....so what i need to do....do i have to download the whole git.....and after i downloaded the files...how can i add it to my source or kernel.....im new in this so i have so many questions.... Thank u very much for your help....:o
[Nexus 4 General] thiagox:
I think a real example would be quite interesting, but I think if that happens, we should start with something simpler, such as upgrading the kernel version from 3.4.0 to 3.4.XX, or even cherry pick features to compile with the Linaro Toolchain 4.8.X. Well, that's my opinion...
[Nexus 4 General] Gnome:
All of those are in my source, you just need to look for it. Upgrading to 3.4.XX, features, etc.
[Nexus 4 General] thiagox:
Ok, I'll give some research about cherry picking, and try to download from your source. Thanks!!! :highfive:
[Nexus 4 General] zorginho:
Hey gnome, what are the vantages of building with sabermod?

Differences between sabermod and linaro?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 General] Gnome:
SaberMod is more optimized than stock linaro since [MENTION=2394329]sparksco[/MENTION] did some modifications to it.
[Nexus 4 General] zorginho:
Good! So I compiled my kernel with linaro 4.8, I have to do some modifications to compile with sabermod?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 General] Gnome:
Yes sir! Check my patches from my source:

https://bitbucket.org/Gnome509/plat...mits/852da6b5b493283391c1c602feaea0bde25b9443

https://bitbucket.org/Gnome509/plat...mits/c9da737e7858a5bee1bb9fc89951db25746e72da

https://bitbucket.org/Gnome509/plat...mits/265ca5b7dbab759b373d358a33ed0f1c7bb1de63
[Nexus 4 General] zorginho:
Thx u're the best!

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 General] sparksco:
Your first commit contains changes and code from other people but you don't explain what it's doing, besides "Google gcc 4.8 fixes"... Why don't you leave the original authors and just cherry-pick???
[Nexus 4 General] Sturdy_99:
Guys someone teach me how to cherrypick from other dev repo to my repo.....PLZZZ:confused:
[Nexus 4 General] sparksco:
Add a repo as a remote.

http://sourceforge.net/p/stskernelmako/code/

git remote add sts git://git.code.sf.net/p/stskernelmako/code stskernelmako-code

git fetch sts

Cherry-pick

http://sourceforge.net/p/stskernelmako/code/ci/784a0ddd219c97baa8c94be1cee4adf559f5fc7b/

git cherry-pick 784a0ddd219c97baa8c94be1cee4adf559f5fc7b

Get updates

git fetch sts
[Nexus 4 General] Sturdy_99:
can you help me.. I want to cherrypick faux sound from gnome source..i get this..

:confused:
[Nexus 4 General] Gnome:
you need to:

git fetch https://bitbucket.org/Gnome509/platform_kernel_lge_mako gnome-kk-mako && git cherry-pick (INSERT COMMIT)

You need this commits:

9b1ab02

82d279a

50c9866

6c10042

d9cc516

Just insert those commits on where (INSERT COMMITS) is, and press enter afterwards. Just put in the commits nothing else.
[Nexus 4 General] Sturdy_99:
Thank you very much...but just one question i should open the terminal in source of the kernel dir..right..And how will i find the commits if i need other features...:good::good::good:
[Nexus 4 General] Gnome:
Yes, you should be in the directory of your kernel to do that.

the source is HERE and HERE
[Nexus 4 General] Sturdy_99:
getting this...
[Nexus 4 General] Gnome:
Its showing you the error, you need to commit your changes, seems you did some configurations already and haven't commited them. you need to do that first before you can cherry-pick. ;)

Check this thread here for instructions to use git: CLICK ME!
[Nexus 4 General] Sturdy_99:
nothing just did some .config edit and made the kernel...thnkx for the guide.

typed git commit -a and got this now what..

Solved it by my own...

---------- Post added at 09:14 AM ---------- Previous post was at 08:15 AM ----------

After cherrypicking some of your features getting error while compiling..
[Nexus 4 General] thiagox:
Hello, could someone tell me what are the necessary changes to enable doubletap2wake support?
[Nexus 4 General] Gnome:
Check this: https://github.com/jfdsmabalot/mako_arkenstone/commit/3be3268322cb5e4d241749954dbfd750564ec91f
[Nexus 4 General] thiagox:
Thanks Gnome, but I have one more doubt... I added the commits below to my build, I wanted to know if all of them are really necessary, or if I messed up?:D

1) https://github.com/jfdsmabalot/mako_arkenstone/commit/3be3268322cb5e4d241749954dbfd750564ec91f

2) https://github.com/jfdsmabalot/mako_arkenstone/commit/76c4d0bd9ecc6741aa255d6fc57f5b687f5d0d4d

3) https://github.com/jfdsmabalot/mako_arkenstone/commit/4e5fcfb85dec8525d98f21a12245ea5b40a4bfa4
[Nexus 4 General] Gnome:
Yes you need them.
[Nexus 4 General] thiagox:
Worked perfectly, thanks a lot!:good:
[Nexus 4 General] Sturdy_99:
hey gnome getting makefile 274 error...after reverting some features which where causing error...i had took it from your sources...check my git...and can you help me.. i am using stock sourves and trying to build it with sabermod, getting errors...and how can i clear the conflicts on the commit...ty., link to my git here. also cant put iphone color...gettting lots of errors..please can you help
[Nexus 4 General] Gnome:
Throw in a log so i can see it.

Do this: make -j4 2>&1 | tee kernel.log

paste the log in pastebin.com
[Nexus 4 General] Sturdy_99:
http://pastebin.com/DGaDUZaK here you go....k i had removed the makefile error now getting the gamma error....and i had commited the iphone color then reverted it..then also getting same error...i had committed some commits from your sources...

every cherrypick is getting these things (<<<<<<< HEAD, ========, c084rnvdsf.... name of pick) in middle and i am getting errors...

ty
[Nexus 4 General] Sturdy_99:
did you got any clue....you can check my git also of what i have done and what has happend....
[Nexus 4 General] Gnome:
You need to check this Lines in arch/arm/mach-msm/lge/mako/board-mako-display.c

Lines: 759 - 785

Remove the things that has"<<<<<< / HEAD / ====== >>>>>>>"
[Nexus 4 General] Sturdy_99:
removed all that and it was in many files which i cherry pick i replaced msm_otg.c and hooks.c and makefile from boot/compressed folder because there were many error in thoses files and also no head and all that objects....the zimage was made but itz not booting....

and i had replaced those with original files..

and this is the only error i am getting now... i checked and got this commit Google GCC 4.8 patches which made changes to head.s file....

---------- Post added at 03:03 PM ---------- Previous post was at 02:52 PM ----------

fixed it by myself.....just one doubt when i cherry pick why do i get these types of errors any way to clear them....and how to remove conflicts...
[Nexus 4 General] Gnome:
That usually shows up if it'll have conflicts. So be ready for that specially when after cherry picking there will be something that says "Recorded pre-image of blah blah..." You need to check those files and fix em. Nice job by fixing it by the way. :good:
[Nexus 4 General] Sturdy_99:
but not booting still....stucks at boot...but not getting errors too..

---------- Post added at 03:29 PM ---------- Previous post was at 03:25 PM ----------

again got same errors after cleaning and building it again...getting error in that one file only.....

just these errors can you help..
[Nexus 4 General] Sturdy_99:
Removed that errors also...but still no boot zimage ready...
[Nexus 4 General] thiagox:
Guys, how to set a other governor (non ondemand) by default? I found this (adding-features-to-your-kernel), but did not understand how to set the default governor... seems that ondemand is set by magic!:silly:
[Nexus 4 General] Gnome:
You need to set it on your defconfig. Check my git.
[Nexus 4 General] Sturdy_99:
hey gnome getting this error when i try to download my git from bitbucket

any help...
[Nexus 4 General] xtrymind:
i think that problem is with your connection

i'm always getting that error because i'm using very poor connecntion :(

when change to better connection, i never got that error
[Nexus 4 General] Sturdy_99:
Nope no problem with connection when i try out different site it i get no error....
[Nexus 4 General] xtrymind:
then try cloning with ssh, not https :)
[Nexus 4 General] Sturdy_99:
ill try..
[Nexus 4 General] Gnome:
That kind of problems are usually caused by connection issues. Try retrying it or try manually hardcoding the dns to your machine.
[Nexus 4 General] Sturdy_99:
i had tried about more than 20 time....but nothing.. how can i hardcod dns?

And how can i add control to enable or disable mp decision in my kernel..any commit?
[Nexus 4 General] thiagox:
Hmm, I looked at your repository (mako_arkenstone), but did not notice anything different in mako_defconfig file.
[Nexus 4 General] Gnome:
Look for gnome_defconfig
[Nexus 4 General] thiagox:
I believe it is this: CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y !?

Apparently did not work for me...
[Nexus 4 General] jjhiza:
Hey guys, hope everyone's doing well. I have a bit of an OT question that I'm hoping someone can answer... I'm trying to compile a kernel for the Nexus 5, and I landed in this thread, because both the N5 and the N4 have Qualcom chipsets, and because this guide is very well written. As a test for the integrity of the guide, I went through it as-is (ie. followed the Mako instructions to the "T") and things worked fine. However, when I attempt to repeat the process for Hammerhead, I'm running into git log errors:

git log kernel
fatal: ambiguous argument 'kernel': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

Obviously, I can't continue past this step, but I did notice one point of interest... The Mako git clone pulled down 1.6GB of files, while the Hammerhead git clone only pulls down about 200MB... Is it normal for a new device to have such a small repo?

I also noticed that, while Mako DOES have a "kernel" file in its repo, Hammerhead has a "zImage-dtb" file. Are these interchangeable, or should there be a kernel file there as well? I'm really stuck here guys, so any help you can give me would be most appreciated. Unfortunately, there's no kernel building guides for the N5 (at least none that I've found), so this thread is kinda my last resort. Thanks in advance for any/all feedback guys. :good:

Edit: I answered my own question, lol. Yes, the zImage file is interchangeable with the kernel file, so now I should be good to go. I'll leave this post up for the time being, just in case 1) I run into any other issues, or 2) in case one of my N5 brethren happen to drop in, looking for the same type of help.
[Nexus 4 General] thiagox:
In relation to the "git log kernel" error, forget, go straight to the github repository and look for last commit, look at the attached image.

Regarding the size of the repo, is very relative, I use the repository mako, and he has about 600 MB, so because I removed all the branchs that did not interest me before cloning the repository.

Hope that helps.
[Nexus 4 General] thiagox:
Hi guys, I've tried several ways, but the only one that worked was removing all governors I do not want, leaving only active the interactive, thus it is set by default.

I wanted to find a way to let others governors active, because sometimes we need them.

Any idea?:confused:
[Nexus 4 General] Sturdy_99:
do defconfig then type this

make menuconfig and select the defalut gov in the settings:good:
[Nexus 4 General] jjhiza:
Thanks for the response... In my case, I was getting the error, because I was looking for the kernel file, instead of just using the zImage-dtb file that hammerhead has. I also found that specifying a kernel branch yielded a larger package size (about 800mb) than the master branch, which I find a little odd.

I am running into make errors when trying to run make hammerhead_deconfig though. It might be toolchain related (I've tried with both the Google 4.8 and sabermod 4.8 toolchains), so I'll take a look at those tomorrow. Overall though, I'm getting closer, and hopefully I'll be up and building soon. Thanks again for your help. :thumbup:
[Nexus 4 General] Gnome:
Try checking this: https://github.com/jfdsmabalot/hammerhead_arkenstone/commits/kk-linaro

I have some things there that might be helpful.
[Nexus 4 General] thiagox:
Hehe, it seems like something crazy, but it did not work. I did the way you said, I put interactive by default in menuconfig, and nothing... the way will disable ondemand same.:crying:

But anyway, thanks for the willingness to help!
[Nexus 4 General] Gnome:
Check THIS as reference.
[Nexus 4 General] Sturdy_99:
Check for these two things...if itz there in your drivers/cpufrq/kconfig file....

Check it properly....n see if they are in thier places...:good:
[Nexus 4 General] jjhiza:
Hey guys! First and foremost, I want to thank all of you for helping me out... I've learned a lot (mainly about patience, lol) from my trials and errors with kernel building. I've finally gotten a kernel to compile for the N5, and my issues were entirely down to me running

make hammerhead_deconfig

instead of

make hammerhead_defconfig

... When I figured that out, I must say, I really felt stupid, lol.

In any event...Now that I have a zImage compiled, I'm running into problems getting a boot.img together for testing. I've used numerous tools and scripts to unpack and repack ramdisk (I pulled the boot.img from a stock N5 kernel.zip), and I was hoping someone could lend me a hand. Most of the tools and guides seem to be depreciated (early 2013 at best), and I don't think any of them were written with the Nexus 5 zImage-dtb format in mind. Thus far, all of the boot.img files I've created from my newly copiled kernel and the stock boot.img (with no modifications of any kind), have failed to boot via fastboot... Can any of you guys point me in the direction of a more up-to-date method to unpack and repack these files? I'm excited that I've overcome one hurdle (my apparent lack of reading comprehension), and I'm itching to complete the process, by getting a kernel to boot. As always, any/all help is much appreciated. :)
[Nexus 4 General] Gnome:
Try using the abootimg command and direct it to get the zImage-dtb not the zImage, now that should boot.
[Nexus 4 General] jjhiza:
I finally got a booting kernel, by using a dtb perl script from a new N5 kernel package I found! I'm running the kernel now, and all is good... I'm going to add some governors and the intelliplug driver tonight, and hopefully have equally good results. Gnome, you've been a great help to me, and I really appreciate it! Would you mind if I drop you a PM once in a while, if I run into future issues? :thumbup:
[Nexus 4 General] Gnome:
No Problems, yeah I'll answer your PM's once I have time, or just me on hangouts. My G+ is in my sig.
[Nexus 4 General] Luigi_2:
After git clone took about 15min to download ~1GB of data, the msm folder on my drive has nothing :( . Tried twice, help
[Nexus 4 General] prbassplayer:
Well did you specify a branch? Are you sure it actually finished?
[Nexus 4 General] Dryblow:
Where can I check last version of toolchain?
[Nexus 4 General] sparksco:
You can build it from source www.github.com/SaberMod
[Nexus 4 General] Dryblow:
This is not official toolchain gcc?

Sorry for my noobs questions but I'm very confused.
[Nexus 4 General] prbassplayer:
Officially from who? Gnu? Google? Linaro? Sabermod?
[Nexus 4 General] Dryblow:
what is differents between Google gcc and SaberMod gcc?

https://github.com/SaberMod/android_prebuilts_gcc_linux-x86_arm_sabermod-arm-linux-androideabi-4.8

this is last gcc release of SaberMod?
[Nexus 4 General] prbassplayer:
Saber and Linaro are just "optimized" but in my experience they don't amount to much when using the device. As for googles I don't know. Just the gcc googles uses lol
[Nexus 4 General] sparksco:
That's the last "prebuilt". You can still compile newer versions.
[Android Q&A, Help & Troubleshooting] naz666:
I have searched around but cannot find any forum posts relating to this tablet.

I just picked up a Viewsonic Viewpad e100 tablet and would like to root this thing.

It is running ICS 4.0.3 and i believe its a bit branded/customized from viewsonic.

I am still a bit new to rooting and i have tried a few tools out there but nothing seems to work.

I have tried superoneclick and it appears to randomly say its rooted but fails on copying stuff.

It will say its rooted but it isnt. then i run it again and it says it isnt rooted and attempts it. it just seems like its random.

Ran through a few scripts I found on other forums relationg to the viewpad 10e and 7 but it seems like the folder structure may be a bit different.

But, my experience in linux is minimal so ya...there it is.

Can one of you awesome gurus here help me out at all?
[Android Q&A, Help & Troubleshooting] hugh1988:
Hi, give this a try. It's meant to be able to root almost all 4.0 devices

http://xdaforums.com/showthread.php?t=1886460
[Android Q&A, Help & Troubleshooting] naz666:
Well, I have tried it and it said it was successful but its not. I try to run root app delete and it says it has no root access. I think it may be due to the system/xbin not being writable. SOClick tries to mkdir in there but fails. any ideas?

I have reset to factory defaults several times and tried again but no luck.

ehhh. appreciate your help.
[Sprint HTC EVO 4G LTE] durandetto:
I'm in an area with decent Verizon coverage and I force roaming and all I get is 0-1 bars of 1X. Is there a trick to getting 3G while roaming?
[Sprint HTC EVO 4G LTE] rubyknight:
1. Don't do it.

2. No really, don't do it.

Sprint will give you a nice fat boot for Christmas if you try to force roaming.
[Sprint HTC EVO 4G LTE] om4:
You would need to flash a Verizon prl and like its been mentioned, not a good idea. Sprint throttles first, send a polite warning and then terminate if you continue to roam.
[Sprint HTC EVO 4G LTE] durandetto:
I was more talking a setting I'm in PA hunting and I know Verizon gets good service here. If we're supposed to be roaming on Verizon, why do I get nothing?
[Sprint HTC EVO 4G LTE] rubyknight:
Like he said, you'll need to manually install a Verizon prl to do it :P But in all seriousness, I wouldn't try it... Once upon a time I tried a mod to force Verizon roaming on my old HTC Hero and promptly got a letter from Sprint less than a week later. It's just not a smart thing to do.
[Sprint Samsung Galaxy S III] Bielinsk:
I loaded up Cyan 10, and restored apps and stuff and somehow am down to 3 gb free on internal storage.

I have no idea what is taking up the space. I have crawled through the phone and can't find anything.

Where does Google Music download offline songs to?