yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] Bairdog35:
I just ended up installing ubuntu... Haha I found an old DVD and used that, took a few steps to get it installed on it tho... This better be worth it ;)
[Sprint HTC One (M7)] rlasalle15:
Well look at you BMP7777 with all these guides! Congrats dude!
[Sprint HTC One (M7)] BMP7777:
Hey, I know you....how's it going, man?! Good to see you! Thanks for the support.
[Sprint HTC One (M7)] rlasalle15:
Welcome...not much is up...took the summer off. I didnt touch android all summer long. Lol just updated Arch and had soooooooooo many updates.
[Sprint HTC One (M7)] BMP7777:
I hear you. So, what's up? Yo get a ONE? Been trying to talk spleef into coming here and would love to see some more familiar faces around here
[Sprint HTC One (M7)] rlasalle15:
I have had a one since June. Been running Vipers Rom since around July 1st. Longest continuous rom I have ever run.
[Sprint HTC One (M7)] BMP7777:
Sweet! Beanstalk is pretty cool, the pacman is rocking and rolling and ktempleton has dirty unicorns but we always need more IMHO. He's looking into someone taking over PA here if you have any interest. I've been trying but I seem to have an AOSP handicap. Or are you still down for the rootbox?
[Sprint HTC One (M7)] rlasalle15:
Nice...if I do anything its going to be with Codefire Experiment. I was working with them prior to taking all of this time off. I have no idea how far they have gotten since I took the time off.
[Sprint HTC One (M7)] BMP7777:
Great! If you have any suggestions here or elsewhere I'm all ears. Be cool
[Sprint HTC One (M7)] CNexus:
I just had to say, this link: http://lifehacker.com/5743814/become-a-command-line-ninja-with-these-time+saving-shortcuts

Is literally the most useful article I've ever read!! Thanks for sharing OP! :D:thumbup:
[Sprint HTC One (M7)] BMP7777:
I was hoping to see more new build instruction being brought in......if you have a new build of anything, and want to share your steps, I'm sure there will many thankful users.
[Sprint HTC One (M7)] MallardDuck:
Repost:

Looking for people in here to help as well. :cowboy:
[Sprint HTC One (M7)] gimmeitorilltell:
I've been wanting to compile the BeanStalk. One question, is there a typo building 4.3 Beanstalk & using cm10.1 prop files or is this the way it's meant to be built?
[Sprint HTC One (M7)] BMP7777:
No, you're right, its 10.2 on the local_manifest. I haven't updated these in a while because there has been very little interest. But, you may not have much success with a 4.3 build at this point anyway, with everything transitioning to 4.4 and 11. Give it a try if you like; can't hurt. I am working on a new build of Beanstalk as we speak and as soon it builds and boots, I'll update the tutorial here. If you have other questions, I'll be glad to help. BTW, all of the building steps here are going to be like this in some way or another; everybody is working on the newest thing. But, updates are forthcoming! Be cool
[Sprint HTC One (M7)] gimmeitorilltell:
Much appreciated, I plan on building 4.4, well attmepting to. Lol I was just asking to make sure that beanstalk wasn't using the older prop files. Thanks again for your reply. I look forward to seeing your newest build.

Edit: I've finished the 4.4 build for BeanStalk. I haven't ran into any issues as of yet.
[Sprint HTC One (M7)] BMP7777:
OP updated to reflect building steps for CM11 and Beanstalk 4.4. PAC, AOKP, and Carbon are all in flux as they change over, but I'll get those steps up ASAP. If anyone has successful steps for these or any other ROMs, please feel free to share as long as the steps are verified.
[Sprint HTC One (M7)] MallardDuck:
Hey Bud; thought I'd drop by in here to let you know the PAC building instructions are still current (WITH A MINOR CHANGE); if people want to use KitKat (even though it's missing a lot of PAC stuff still) they can just swap cm-10.2 for pac-4.4.

To update the directions for 4.3:

repo init -u git://github.com/PAC-man/pacman.git -b cm-10.2

For kitkat Pac-man:

repo init -u git://github.com/PAC-man/pacman.git -b pac-4.4
[Sprint HTC One (M7)] BMP7777:
Cool. I'll get that updated. :highfive:
[Sprint HTC One (M7)] kiko3:
After 2 hours of building i got these 4 errors. Can anybody help?

packages/apps/Settings/src/com/android/settings/Settings.java:79: cannot find symbol

symbol : class LockscreenInterface

location: package com.android.settings.cyanogenmod

import com.android.settings.cyanogenmod.LockscreenInterface;

^

packages/apps/Settings/src/com/android/settings/Settings.java:82: cannot find symbol

symbol : class SystemUiSettings

location: package com.android.settings.cyanogenmod

import com.android.settings.cyanogenmod.SystemUiSettings;

^

packages/apps/Settings/src/com/android/settings/Settings.java:373: cannot find symbol

symbol : class LockscreenInterface

location: class com.android.settings.Settings

LockscreenInterface.class.getName(),

^

packages/apps/Settings/src/com/android/settings/Settings.java:374: cannot find symbol

symbol : class SystemUiSettings

location: class com.android.settings.Settings

SystemUiSettings.class.getName(),

^

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

4 errors

make: *** [/home/kiko/bs/out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41

make: *** Waiting for unfinished jobs....
[Sprint HTC One (M7)] BMP7777:
What java version are you using? Also, is this for building Beanstalk?
[Sprint HTC One (M7)] kiko3:
Yes build for beanstalk. I am using sun java 6
[Sprint HTC One (M7)] BMP7777:
If you're trying to build BS, it isn't a java error. It's the build not having been completed yet. No one is able to build right now. Best bet is to wait it out, keep an eye on the developers thread and do a make clobber so your build files are clean when it is ready.
[Sprint HTC One (M7)] kiko3:
I already do 2 times make clobber. Should i switch to openjdk

---------- Post added at 12:50 PM ---------- Previous post was at 12:25 PM ----------

Ok i have found main development thread
[Sprint HTC One (M7)] BMP7777:
No. If you're running 6, stay with it. Avoid installing other versions too. I had open jdk, 6, and seven at one point and I would get errors that were unexplainable. Just give it a few days until Scott has time to finish what he's working on.
[Sprint HTC One (M7)] m4570d0n:
Hey @BMP7777 I'm all up in your m7spr thread. :p

Just thought I would let you know I saw a typo in your OP in the instructions for setting up the build environment. You forgot to add the install command for installing java and forgot to add the command before that to add the webupd8/java PPA.

You have:

sudo apt-get oracle-java7-installer

It should read:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

And some additional info for anyone interested can be found here: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html

Also, you said to use JDK 6, but then provided the command for JDK 7. JDK 7 works fine for building JB, but for some reason, it seems that you have to revert back to JDK 6 to build for KitKat. For JDK 6 just change the "7" in the command above to a "6" and you're good to go.

Okay, that is all. :)
[Sprint HTC One (M7)] BMP7777:
Thanks for the heads up. I'll get that fixed asap.
[Sprint HTC One (M7)] thonatos:
while i am building the cm , there are some mistakes :

target Java: gson (/home/thonatos/Android/Cm11/out/target/common/obj/JAVA_LIBRARIES/gson_intermediates/classes)
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
CC arch/arm/boot/compressed/misc.o
CC arch/arm/boot/compressed/decompress.o
LZO arch/arm/boot/compressed/piggy.lzo
/bin/sh: 1: lzop: not found
make[4]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1
make[4]: *** Waiting for unfinished jobs....
target Prebuilt: CMAccount (/home/thonatos/Android/Cm11/out/target/common/obj/JAVA_LIBRARIES/play_intermediates/classes.jar)
target Prebuilt: Calculator (/home/thonatos/Android/Cm11/out/target/common/obj/JAVA_LIBRARIES/libarity_intermediates/classes.jar)
target Prebuilt: Calculator (/home/thonatos/Android/Cm11/out/target/common/obj/JAVA_LIBRARIES/chartengine_intermediates/classes.jar)
target Prebuilt: Calculator (/home/thonatos/Android/Cm11/out/target/common/obj/JAVA_LIBRARIES/ejml_intermediates/classes.jar)
make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[2]: *** [zImage] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/thonatos/Android/Cm11/kernel/htc/m7'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....

can you help me ? or i need PREBUILD_KERNEL ?

---------- Post added at 03:29 AM ---------- Previous post was at 03:19 AM ----------

Solved , it it the updating that removed my lozp , using "sudo apt-get install lozp" can get it done .
[Sprint HTC One (M7)] nathantaylor:
First of all, I would like to thank BMP7777 and everyone else for this great thread. I was running into two major issues that I couldn't find the solutions to. I looked here and bam, both of them were answered. On the same page even.

Problem solved, in the above post, it should be lzop instad of lozp
[Sprint HTC One (M7)] BMP7777:
Added building instructions for CFX to the OP. It is a WIP, and I will verify what I have added when I get home from work. Would love to have some other devs chip in with their building tuts; maybe we could get some fresh blood building around here. Be cool everybody....:cool:
[Sprint HTC One (M7)] gimmeitorilltell:
I'll throw my 2 cents in here since this thread plus a few others helped me to get started! This will be for compiling Mokee Open Source 4.4.2+.

First you'll need the basics which are already listed in the OP. Next you want to create a folder named "mokee" cd into that folder and type "repo init -u git://github.com/MoKee/android.git -b kk_mkt" hit enter. You may need to enter your github username & password to start the repo, I don't recall exactly. Now once the repo is initiated type "repo sync" Let it grab the mokee source and we'll worry about our device trees later. After source finishes type "vendor/mk/get-prebuilts" this is a quick download here. Now it's time for your device tree, if the device is not supported yet by mokee then you'll need to do something like this to make your repo pull in your device trees. Create an xml file, it can be named "anything.xml" so long as it is a ".xml".

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="github" fetch="git://github.com" />
<project name="TheMuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="cm-11.0" />
</manifest>

NOTICE the remote name to fetch "github"? That's the special fetch we need for mokee, DON'T forget the rest of your device tree if mokee does not support it. Below is an example of what mokee does support & you'll see that we don't need the github url for our manifet to fetch these trees.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="MoKee/android_device_htc_msm8960-common" path="device/htc/msm8960-common" remote="mokee" revision="kk_mkt" />
<project name="MoKee/android_device_htc_m7-common" path="device/htc/m7-common" remote="mokee" revision="kk_mkt" />
<project name="MoKee/android_vendor_htc_m7-common" path="vendor/htc/m7-common" remote="mokee" revision="kk_mkt" />
<project name="MoKee/android_vendor_htc_m7spr" path="vendor/htc/m7spr" remote="mokee" revision="kk_mkt" />
<project name="MoKee/android_kernel_htc_m7" path="kernel/htc/m7" remote="mokee" revision="kk_mkt" />
</manifest>

After getting everything setup you want to set the output of your rom. Find the "mk" file in the root of your source. You WILL need to open your source folder with "root" perms to change the "mk" file. Go to line 67 & delete the "#" before this writing "OUT_DIR=/mokee/out/target/product/$DEVICE" .

# if you set another OUT_DIR,set this before use.

#OUT_DIR=/mokee/out/target/product/$DEVICE
if [ "mk$OUT_DIR" == "mk" ]

You want to type in "repo sync" again to grab the device trees, once this finishes you're ready to start compiling.

Type in ". build/envsetup.sh && breakfast "UrDevice-Name" && ./mk "UrDevice-Namer" without the quotations, of course you'll want to put your devices name in that you wish to build for.

I would like to thank BMP7777 for this thread since it was a huge help when I hit speed bumps compiling BeanStalk. If anyone tries this and has any issues let me know, I may have made a mistake somewhere along the way.
[Sprint HTC One (M7)] BMP7777:
I'll get it in the OP ASAP. Thanks for the tutorial!
[Sprint HTC One (M7)] gimmeitorilltell:
No problem, it's my pleasure to share. If you wish to fix any typos, feel free to do so & any word swapping or whatever. I was thinking that we could use a guide on actually committing our work to github. The initial commit is self explanatory but I've had some tuff times pushing new commits or rebasing to my github. I am able to do it now but it still takes a little trial & error. I have actually read several guides that seem way to complicating for myself! Scotthartbti has helped me a bit with rebasing but device trees can be a problem for me at times. I could share what I have learned and maybe others help to correct anything I add? Of course if you have this almost perfected, maybe your input would be best? I believe this would be like "The icing on the cake" for this thread. Every day we must learn something new I reckon.
[Sprint HTC One (M7)] BMP7777:
No, I agree, I have been doing this for over a year now and have very little knowledge of how to use github. Have had my own git since day one and still don't really know how to use it properly. If you wanna get a tut together, I'll get it in the OP. Good to have someone who wants to help! Not trying to sound like a jag, but there has been VERY little interest in building for yourself here. Most just wanna wait for it to be done. Not a problem, just makes new things take a lot longer. I would like to have you as a 'team member' for all things M7 if you're down. Talking with some of the guys (Matthew form the Candy Store, mar5hal, and a few others) and they are getting a custom rom together. Maybe you would fit right in.....
[Sprint HTC One (M7)] gimmeitorilltell:
I'm up for new things and helping out where I can. I really only have one rom that keeps me busy currently but I also try to stay on top of all my others as well. I build nightlys for the d2spr because it seems to be the popular rom, my other roms seem pretty stable and they get an update usually when needed.

I'll give it a go at github here. When you "create" a new repo it has to be named correctly and the rest will follow with a tut on how to make your initial commit. Well once you start compiling and changing things, it can get pretty difficult to figure out how to push your commits. I'm not gonna get into setting up github because there are several tutorials for that. Ok let's say you've changed some things and try to run a "repo sync" and you get ERROR: you must stash or commit your changes or they will be lost during checkout. Hmm what do we do here? Well I track down the folder which has the changed commit and open it in terminal. Here I use something like "git checkout kk44" since this is my branch name. Sometimes if I get an error I will use "git branch kk44" I don't know the difference but I always seem to get the job done. I'll break this down later into just the cmds by themselves. Now the commands are not all the same & you need different ones for rebasing your repo but for now we want to commit our device changes. Below I will list some things that eventually work to allow me to push my commits to my git.

UPDATE existing branch!
git checkout kk44
"or"
git branch kk44
git init
git update-server-info
git add "any changes here"
git commit -m "Your message for the commit".. You need to be on the specific branch
git push origin kk44 "here put in your username & PW for git"
git rm <filename> to remove a file if the build did NOT work for you!

Sometimes the above don't always work so we go below. This will be a way to "rebase" your repo & in some cases commit your work. I'm not even close to being an avid git user but I'm trying here!

Thanks to Scotthartbti for pointing some of the below out to me.

The above will get you some place and if it doesn't, try the below. I believe below are commands to "rebase" a repository?

git pull origin kk44
git push origin kk44

If you do the above steps it will usually lead you to what needs to be committed and you can "git add boardconfigcommon.mk <this is for informational purposes only!

"git add ." is supposed to add all files to be committed but I find it doesn't work most times. You can always go to your github to see what you have named your device tree.

I really just play around with most of these cmds until I get my repo to commit. If you get a message stating "nothing to commit, up to date" but you know you have files to commit, keep working with different cmds until you push your work. Hopefully this guide will get more clear as others help out or as I learn more. These steps are trial & error for me so maybe keep this post from the OP until we get things more organized? Lol I know git will tell you what needs done and to some extent how to do it.
[Sprint HTC One (M7)] BMP7777:
Adding the Mokee tut to the OP now; it'll be a while before its complete. trying to do it at work. Thanks to gimmeitorilltell for his work on this! More to come as I have time....
[Sprint HTC One (M7)] gimmeitorilltell:
I messed up a bit. The anything.xml needs to go in a folder under .repo that folder needs to be named local_manifests
[Sprint HTC One (M7)] BMP7777:
On it. :highfive:
[Sprint HTC One (M7)] Black!Jack:
I built this last night for my device (Evita). Overall, the tutorial was right on point. Especially pay attention to the "fetch" command when modifying the local manifests XML. Having to add the CM device tree required a few extra steps though. i.e. vendorset up.sh addition, renaming of cmdependencies. mk and cm.mk.

One thing of note though. OpenJDK 6 does not play nicely with the build process. 412 minutes in and I received 3 errors related to this (error 41).
[Sprint HTC One (M7)] gimmeitorilltell:
Thanks for that reminder. I'll message BMP777 to modify a few steps and to change some cyanogenmod names to mokee. The build will pretty much steer you in that direction tho. I'm glad to see the tut helped you out :)
[Sprint HTC One (M7)] Black!Jack:
Definitely provided a good starting point. I was building for a different device, so obviously porting is a bit more involved. The M7SPR is already supported so it should be much easier for those users.

I have been building BeanStalk for my device and OpenJDK works fine; Mokee no likee though!

Edit: The error was not JDK related. It was device tree related. Unofficial build now up for the Evita!
[Sprint HTC One (M7)] gimmeitorilltell:
Ya know I think the java really depends on your pc because mine builds pretty quick for mokee running OpenJDK and my beanstalk builds can take up to 5 hours. Last night I built cm 11 in just 2 minutes less than 8 hours! Time for the java hunt for me. Lol

EDIT: Go to your device tree "IF" it's not supported by mokee & change the name of this folder---> device/htc/s4-common/cmhw/org/"cyanogenmod"<--RIGHT HERE change it to "mokee"

Also in you unsupported device such as device/htc/m7spr and change the "cm.mk" to "mokee.mk"

There is another instance where you need to edit a file itself but if you get that error it's pretty self explanatory. My github has the files in place for some devices so check it out & you'll see what you need. gimmeitorilltell My mokee source trees are named "mk_mkt" this should get you a finished build.
[Sprint HTC One (M7)] tdhite:
m7-common-vendor.mk

Hoping for a hint ... I had a build of cm11.0 going fine, but had to nuke it (I use LVM so easy to nuke and start fresh).

Alas -- this time I'm stuck at:

build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/htc/m7spr/cm.mk]]: "vendor/htc/m7-common/m7-common-vendor.mk" does not exist. Stop.

** Don't have a product spec for: 'cm_m7spr'

** Do you have the right repo manifest?

For the life of me, I cannot remember how I got past that prior (I don't think I actually had to make special tricks to move forward. Any clues to jog my memory would be so much appreciated.
[Sprint HTC One (M7)] ktempleton:
make sure you have your vendor files in vendor/htc
[Sprint HTC One (M7)] tdhite:
That's the thing, proprietary is there, from the standard extract script, but no .mk or otherwise. Is there a repo for those, or am I having a amnesia moment and forgetting I had to hand generate those?
[Sprint HTC One (M7)] gimmeitorilltell:
You can grab it from a repository.
[Sprint HTC One (M7)] BMP7777:
No, that did sync along with everything else up until recently. Don't know what the deal is....
[Sprint HTC One (M7)] tdhite:
got 'er fixed up. But one last err and I'm golden (I believe) --

Extracting /system/lib/hw/camera.vendor.msm8960.so ...

remote object '/system/lib/hw/camera.vendor.msm8960.so' does not exist

Does the extract-files.sh have to execute with a CM11 build on the phone -- I can load that, just before I do want to make sure I'm not running down a rathole.

Thanks so much for any comments.
[Sprint HTC One (M7)] pug1:
Hey all... Can I get some help/advice.

I am trying to port cm to my tab and have synced the source for 4.4.2

When I run make -j4 otatools I get an error, "no file 'SRC' found.

Have I missed a step in the setup or do I need to start from scratch.

Also when I run the mkvendor.mk command it says have you installed the environment and the host files

Bit stuck at this point

Thanks for the guide @op
[Xperia Z1 General] finoqq84:
i have uploaded some comparison on 8mp manual vs 20mp manual. Seems 20mp needs a real steady hands, 20mp seems turn out a bit blur then 8mp in ALL samples!! all samples taken are indicated (8) or (20). Enjoy, best viewed on your PC.

View attachment 2313291

View attachment 2313293

View attachment 2313294

View attachment 2313301

View attachment 2313305

View attachment 2313309

View attachment 2313312

View attachment 2313317

View attachment 2313318

View attachment 2313320
[Xperia Z1 General] predator21:
amazing pics bro.... this fone really is amazing.... can u plz share the setting of the pic on street with cars infront​
[Xperia Z1 General] Timaustin2000:
This is a great, and timely, demonstration of the argument I'm having over in the camera thread. Thank you.

Sony put their processing effort into the oversampling algorithm - that's where the time was spent and it shows. Clearly, they spent less time on the 20mp algorithm and I don't particularly mind.

A nice, clean, sharp 8mp image is just as good as a 20mp image for just about all purposes. It's the same people complaining about the 20mp image quality who otherwise like to crow about how "Megapixels don't matter". No, they don't. So stick your Z1 onto 4:3 8mp manual and stop griping.

(Nice pictures, by the way)
[Xperia Z1 General] finoqq84:
No special settings, just click manual 8mp(4:3) & ur ready to go!!
[Xperia Z1 General] ImAnurag:
Can you post the links of original image resolutions, upload them somewhere and send the link having images with exact size they were clicked.
[Xperia Z1 General] wezzel98765:
Just taken the same picture in 8MP 4:3 or whatever it is, with all auto setting, then same picture on 20MP 100ISO. The 20MP image obliterates the 8MP. It's an indoor image... but the 8 is really not good,.especially compared to the 20

Will post pic in half hour

Edit: just noticed on,the 8MP image I,had HDR on, without its same as 20MP unless you zoom

Anybody know why there's a purple ring around edge of the photo at night time outside?

Only in 8MP not 20MP