yashsingh1/xdaforums huggingface dataset:
[HTC One S] Darknites:
Ya no idea what I done and think I'm going have to RUU it :(.

---------- Post added at 06:47 AM ---------- Previous post was at 06:28 AM ----------

Oh thank god not killed it lol RUU worked and thank god we got S-Off so I don't have to downgrade again.
[HTC One S] Darknites:
Ya but the the silly thing is not unlocking.
[HTC One S] Black_Prince:
Did you got solution ...?

Please send me pm or post here...
[HTC One S] cj360:
Having a similar error to the person above me

frameworks/base/core/jni/android_net_wifi_Wifi.cpp: In function 'jboolean android::android_net_wifi_killSupplicant(JNIEnv*, jobject)':
frameworks/base/core/jni/android_net_wifi_Wifi.cpp:127:46: error: too few arguments to function 'int wifi_stop_supplicant(int)'
In file included from frameworks/base/core/jni/android_net_wifi_Wifi.cpp:26:0:
hardware/libhardware_legacy/include/hardware_legacy/wifi.h:58:5: note: declared here
frameworks/base/core/jni/android_net_wifi_Wifi.cpp:128:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: some warnings being treated as errors
make: *** [/home/andrew/xyaosp/out/target/product/zeusc/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_net_wifi_Wifi.o] Error 1
[HTC One S] Darknites:
Ya give a minute just need to swap to Linux and mine don't boot but that could be something else.
[HTC One S] Black_Prince:
waiting....;)
[HTC One S] Darknites:
Right I added the stuff in bold in frameworks/base/core/jni/android_net_wifi_Wifi.cpp

---------- Post added at 02:51 PM ---------- Previous post was at 02:49 PM ----------

The other way that got passed it but wifi rebooting the phone is to remove the bold part in hardware/libhardware_legacy/include/hardware_legacy/wifi.h
[HTC One S] Black_Prince:
i did try https://github.com/CyanogenMod/andr...mmit/511d5346ced4b37e4ba68e0bd089d4dad8b3bff7

but same error repeating ...

Edit : Did you read the file :~/Baked/frameworks/base/core/java/android/net# gedit DhcpStateMachine.java

all codes showing wrong code errors ...
[HTC One S] Darknites:
Like I said I got past it doing what I said but both ways made something not work but I have another go at it later think I start fresh again and not add any other stuff until its working.
[HTC One S] Black_Prince:
Working for me ... I cherry picked th CM and will see if the Rom got working wifi ...;)

As baked sources are cm based i dont think it will lead to any error ...:p
[HTC One S] Darknites:
Ya do let me know because what you post showed that I was missing other files so that might be why it didn't boot.
[HTC One S] inyourface09:
I have this Exact same error while trying to build pacman for One V, how did you happen to get past this? Ive been stuck on if for 2 days now and cant finish up my build. Help would be greatly apprecianted.
[HTC One S] Darknites:
There is a Android.mk file that you can delete and it will skip over it.

Wish me luck, having a go at building now and hoping for something working.
[HTC One S] inyourface09:
Good luck, thanks for the help, can't beleive I didnt think of that. :P
[HTC One S] Darknites:
Ya not the best way of dealing with stuff but it help at times lol.

If everything goes fine I be test it in about 10 mins.
[HTC One S] Darknites:
Oh ya I did it now I don't feel like a noob :D.
[HTC One S] Darknites:
I didn't get one for that but you could try the deleting the Android.mk for it and when its done place a working one of it in the zip it makes.
[HTC One S] WhiTeRhiNo:
Where is the Android.mk located? Im having exact same error now. Was wifi now this lol
[HTC One S] $droyd$:
Don't delete mk files...then you'll almost always get the error--- no rule to make target---
[HTC One S] WhiTeRhiNo:
K thanks. you have any idea how to fix this im having same error driving me insane lol
[HTC One S] Darknites:
Its how I got passed it because I couldn't make any sense of it but of cause said apk don't get made but can get that from another build.

---------- Post added at 01:47 AM ---------- Previous post was at 01:44 AM ----------

Think it was here or a folder up or 2.
[HTC One S] WhiTeRhiNo:
thanx
[HTC One S] ebs512:
Klin, could you also include information as to how to setup cache other than default for faster building processes?
[HTC One S] Black_Prince:
With above downloadprovider error , baked miss baked/frameworks/base/core/java/com/android/internal/annotations , copy it from cm ...
[HTC One S] Darknites:
Ya I was missing that folder when I looked but at the time did think it was more then that but thanks for that.
[HTC One S] Black_Prince:
packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadNotifier.java:186: cannot find symbol

symbol : method formatDuration(long)

location: class android.text.format.DateUtils

DateUtils.formatDuration(remainingMillis));

^

this error i am trying to deal with ... any clue ...?
[HTC One S] klin1344:
No this will not work with the villec2. Unless the villec2 gets cm10, it will not be possible to build baked for it.
[HTC One S] Qs5:
Is 64bit required or recommended? I currently have 12.10 32bit.
[HTC One S] $droyd$:
Its required for all jelly bean...

---------- Post added at 09:41 AM ---------- Previous post was at 09:39 AM ----------

It crossed my mind...but no point if I can't share..
[HTC One S] essentialmindz:
Ran into some issues and had to erase my virtual box and start from scratch. When I run the second line in terminal i see:

essentialz@essentialz-VirtualBox:~$ libncurses5-dev zlib1g-dev openjdk-6-jre openjdk-6-jdk pngcrush schedtool g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline-gplv2-dev gcc-4.7-multilib g++-4.5-multilib

libncurses5-dev: command not found

EDIT: Sorry I understand now. Each is a different package to install, so it should be one line of code. I will try again.
[HTC One S] klin1344:
Thanks for catching that. I have fixed the typo in the OP. It should be all one command to install the various packages. Of course you can install them one by one separately if you wish, but command in the OP is the most efficient way.
[HTC One S] essentialmindz:
No prob... Wow... Downloading source is taking forever....
[HTC One S] LibertyMonger:
Bull****. They are sharing, just not yet. Give and take is all about respect and acting like this about it is no respect. I have BB7 for my Nexus S and my GNex for testing and they asked me not to share it yet they are not ready to release it and then for other people to take it and release it like this is total disrespect. That isn't what you call "sharing" that is stealing. They were going to share.

Hate me if you want but it's true.
[HTC One S] essentialmindz:
ya'll need to quite all that noise.... each of you in entitled to your opinions, and neither is gonna change the others mind. so hush it up.

on another note... how long does it usually take to download source? i've been at it for some hours...

---------- Post added at 03:54 AM ---------- Previous post was at 02:59 AM ----------

error: Exited sync due to fetch errors

after the long wait i got this, lol. any clues?
[HTC One S] Pheroh:
Why would you assume people are going to hate for this? It's a simple matter :cowboy:

The repository is public so I am sure klin assumed it's ok. If they really didn't want anyone building, they could have made it private like how Paranoid team does for example. Klin removed the link the moment team BB showed displeasure so take a deep breath and relax :laugh:

On topic, Klin, how large is AOSP/CM10 code? I hear it's in the 10 GB territory?
[HTC One S] klin1344:
I've never really checked, but I estimate it's at about 5GB, give or take a few GBs. However during the process of building it will generate many many files which will take up space until you do a make clean. So we're talking about 10-15GB of files after a complete build. I just stated 50GB in the guide to be extra safe. :p
[HTC One S] klin1344:
Do you know what part is giving it errors? Maybe you could post a screenshot or the lines of code before the error, so I can take a look at where the sync is failing.
[HTC One S] essentialmindz:
im running the sync again. i'll let you know if it errors again.

---------- Post added at 04:42 AM ---------- Previous post was at 04:33 AM ----------

From https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6

* [new tag] android-4.2.1_r1 -> android-4.2.1_r1

* [new tag] android-4.2_r1 -> android-4.2_r1

* [new tag] android-cts-4.2_r1 -> android-cts-4.2_r1

* [new tag] android-sdk-support_r11 -> android-sdk-support_r11

remote: Total 2854 (delta 1432), reused 2746 (delta 1342)

Receiving objects: 100% (2854/2854), 149.76 MiB | 655 KiB/s, done.

Resolving deltas: 100% (1432/1432), done.72 MiB | 752 KiB/s

From git://github.com/TeamBAKED/vendor_samsung

* [new branch] jb -> baked/jb

* [new branch] jb-4.2 -> baked/jb-4.2

remote: Total 2722 (delta 1275), reused 2633 (delta 1190)

Receiving objects: 100% (2722/2722), 214.58 MiB | 415 KiB/s, done.

Resolving deltas: 100% (1275/1275), done.

From git://github.com/TeamBAKED/vendor_baked

* [new branch] ics -> baked/ics

* [new branch] jb -> baked/jb

* [new branch] jb-4.2 -> baked/jb-4.2

* [new tag] bb5 -> bb5

error: Exited sync due to fetch errors
[HTC One S] klin1344:
Try running repo sync again and see if it errors again for you. Could be your connection.
[HTC One S] sryan1983:
this may be a stupid question, but could we use the same local_manifest file if we wanted to build AOKP?
[HTC One S] klin1344:
No, you would need to modify it to track another device tree. The one that the manifest is tracking is for baked only
[HTC One S] mteezey:
Pretty sure it's around 13gb. Maybe 13.3 ;)
[HTC One S] BallBrain:
shouldn't the local manifest be something like this?

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="github" fetch="git://github.com/" />
<project path="vendor/htc" name="TheMuppets/proprietary_vendor_htc" revision="cm-10.1" remote="github" />
<project path="device/htc/ville" name="klin1344/baked_device_htc_ville" revision="master" remote="github" />
<project path="device/htc/msm8960-common" name="CyanogenMod/android_device_htc_msm8960-common" revision="cm-10.1" remote="github" />
<project path="kernel/htc/msm8960" name="CyanogenMod/android_kernel_htc_msm8960" revision="cm-10.1" remote="github" />
</manifest>
[HTC One S] ernestnwanu:
Quick question: is BB7 actually headed to the One S? (official)
[HTC One S] Darknites:
Ya don't think that going to happen any time soon lol.
[HTC One S] ernestnwanu:
I see... That's the impression I got.
[HTC One S] Darknites:
I think I see that but not sure on the errors now and at the time I couldn't make any sense of it but I be having another go at it later.
[HTC One S] sniper:
I'm getting the same error and am not sure what to try aside from just deleting that line... :confused:
[HTC One S] $droyd$:
The source for it is messed up.. Sync repo again from scratch..
[HTC One S] inyourface09:
The only way to get past that error is to delete the Android.mk in /packages/providers/downloadprovider and it will skip over it when compiling, but be aware if you do that you will not be able to use gapps, or download anything in browser what so ever. In my opinion its safer to wait for the source to be updated by the maintainer.
[HTC One S] championswimmer:
semcRILCDMA is not suited for 4.2

it was written for 4.1 way back
[HTC One S] Darknites:
Will look into the issue and see what I can do.
[HTC One S] $droyd$:
Hey you can't steel my line "I will look into it" lol
[HTC One S] Darknites:
Ok I try think of something better next time lol.
[HTC One S] Black_Prince:
Just a suggestion , means no disrespect... Plz do not missunderstood ...

I have built successfully the baked 8 and i am Official baked device maintainer for SG-S2 ...

This means no disrespect but deleting codes or files wont be answer to anything ... This isnt development...

If you compile , it will but with bugs so why to compile if its gonna have bugs ...

Solve it then go forward with bug less ROM ... Dont just try to find a way to run away from a bug, find solution for a problem...:)
[HTC One S] Darknites:
Ya I'm still new at this and getting my head round github but if you got ideas on fixing this that would be great.
[HTC One S] mteezey:
I ran a build last night and was getting an error with libstagefrightw. The error said the lib was already defined by endeavoru so i rm -rf device/htc/endeavoru then re synced the repo. After that i no longer got that error and everything compiled fine. However upon running the build settings was missing some stuff and headphones were not recognized. Not sure if the settings bug was things that were removed or what but there were no options for hardware keys i had to use the nav bar as a workaround just because i like changing the recents button to menu. Dont take this post as me reporting an issue i just figured i would post the issues ive noticed with the source so we could possibly get it patched up.
[HTC One S] essentialmindz:
i ran into the same issue:

build/core/base_rules.mk:130: *** hardware/qcom/media/libstagefrighthw: MODULE.TARGET.SHARED_LIBRARIES.libstagefrighthw already defined by device/htc/endeavoru/libstagefrighthw. Stop.
[HTC One S] $droyd$:
Delete libstagefrighthw from device/HTC/endeavour..problem solved...
[HTC One S] sniper:
Alright, so to fix this you need to either edit the frameworks/core/base/java/android/text/format/DateUtils.java file on line 609 and add this:

/**
* Return given duration in a human-friendly format. For example, "4
* minutes" or "1 second". Returns only largest meaningful unit of time,
* from seconds up to hours.
*
* @hide
*/
public static CharSequence formatDuration(long millis) {
final Resources res = Resources.getSystem();
if (millis >= HOUR_IN_MILLIS) {
final int hours = (int) ((millis + 1800000) / HOUR_IN_MILLIS);
return res.getQuantityString(
com.android.internal.R.plurals.duration_hours, hours, hours);
} else if (millis >= MINUTE_IN_MILLIS) {
final int minutes = (int) ((millis + 30000) / MINUTE_IN_MILLIS);
return res.getQuantityString(
com.android.internal.R.plurals.duration_minutes, minutes, minutes);
} else {
final int seconds = (int) ((millis + 500) / SECOND_IN_MILLIS);
return res.getQuantityString(
com.android.internal.R.plurals.duration_seconds, seconds, seconds);
}
}

Or just replace that file with the one attached.
[HTC One S] ajrulez:
Getting this error; can someone please help? Appreciate it.
[HTC One S] WhiTeRhiNo:
I'm getting same error. I'll let u know if I get it fixed
[HTC One S] ajrulez:
Thanks :cowboy:
[HTC One S] ajrulez:
I was looking into this a little more. It seems a change was committed 4 days ago (about the same time I tried to build):

https://bitbucket.org/cyanogenmod/a...mits/720055270a0412311d39ca77ff1c0e6d744d6b5e

I am trying to find out where AUDIO_PARAMETER_KEY_ADSP_STATUS is declared. So far I have not found it.

Any ideas?
[HTC One S] ajrulez:
I guess someone forgot to commit their header file changes to the trunk....AUDIO_PARAMETER_KEY_ADSP_STATUS is not declared anywhere in the source tree.

However, AudioParameter::keyADSPStatus is used in AudioFlinger.cpp.

I wanted to proceed with the build, so I changed the problem line to the following in media/libmedia/AudioParameter.cpp.

I know this is not a fix, I just wanted to see what happens. I was able to build successfully and flash successfully after the change...now I want to see it's side effects.
[HTC One S] WhiTeRhiNo:
Done a fresh repo sync earlier today. Everything building fine now
[HTC One S] 1ceb0x:
if someone else is facing this, you also need this one in hardware/libhardware

https://github.com/Andromadus/andro...mmit/b7dc9be784539f4cba1d6589d77dee5ed3ba5dd1
[HTC One S] mteezey:
I've been running into issues on 3 seperate repos. I think this is what i need to fix them. Thanks
[HTC One S] Darknites:
Wrong thread dude.
[HTC One S] mteezey:
Well.... Funny story. All the issues I was having compiling were due to my ram. I lowered the CPU multiplier by one DEC which lowered ram frequency by only 1mhz and everything is working fine now. :banghead: glad I found the info about GCC not playing well with certain ram if its over clocked at all(I guess even if its one MHz) lol.
[HTC One S] Darknites:
Oh the joys of overclocking, glad you sorted it tho.
[HTC One S] Nerd019:
sup darknites
[HTC One S] Darknites:
Whats up dude?
[HTC One S] Nerd019:
pm bro
[HTC One S] Darknites:
I be waiting lol.
[HTC One S] aznrice2k4:
I had the same issue. This commit right here fixes it.

https://github.com/CyanogenMod/andr...mmit/1c7976f38a7ff96f43ff56a7fb32e0b49bba17aa

BLAH, I didn't read the other posts. mybad
[HTC One S] $droyd$:
Why build when you can flash.. http://androidforums.dawesomeb.com/index.php?topic=86.msg348.msg#348

We've got a whole new world over here... My roms up here too...
[HTC One S] WhiTeRhiNo:
Thanks for the heads up. Heading over there now
[HTC One S] Darknites:
Just a heads up that 8 is out now and asked for my thread to be unlocked so I can update that.
[HTC One S] Bowmanspeer:
Ubuntu 12.10 VM Java 1.7

Still at step 1:

Getting "Unable to open: Read only file system" as well as "not using locking for read only file" and "The package list or status file could not be parsed or opened"

---------- Post added at 06:19 AM ---------- Previous post was at 06:17 AM ----------

Thanks, but I want to learn this stuff.
[HTC One S] Darknites:
What you trying to do? because you don't need to do what you quoted.
[HTC One S] Bowmanspeer:
I'm trying to install the initial packages from #1 and that's the error i got. I found that post i quoted and tried to install first line and got the same error. Decided I'm going to start over on separate partition rather than VM. That will take me all night after work. Never messed with Linux before. ;-P

Sent.
[HTC One S] Darknites:
Oh then ya got no idea because I barely know Linux myself lol.
[HTC One S] Bowmanspeer:
I have wanted to get into this for years and never took the time. I'm over 50 now so i figure its now or never.

Sent.
[HTC One S] Darknites:
Its not too late just need Linux setup right.
[HTC One S] Bowmanspeer:
Still working on that. Ended up getting a network storage and dumping a bunch of files off the laptop to make more room for the dual boot.

Sent.
[HTC One S] Darknites:
Ya You want a good amount of space.
[HTC One S] WhiTeRhiNo:
U are getting errors because u can't use VM Linux has to be installed
[HTC One S] travisjustin:
funny, ive built succesfully using a vm....

HTC One S - BB7

Asus TF101 - EOS 4 with KatKernel

---------- Post added at 03:12 AM ---------- Previous post was at 03:09 AM ----------
[HTC One S] Bowmanspeer:
Now I got the dual boot setup and I only have 8 GB of space total!!! What can I do to change that? Start over? How?:confused: Researching...

Edit: I found this: http://ubuntuforums.org/showthread.php?t=777797 I seems to have run like it said so now I will reboot and find out.

Edit: Yeah!!!! I'm in step 2!!!!
[HTC One S] Darknites:
Ya because you going to need more then that.
[HTC One S] Bowmanspeer:
I was trying for 80. LOL. See edits above...
[HTC One S] Darknites:
No get the iso and install it like you meant too.
[HTC One S] Bowmanspeer:
I assume you meant "Now".

Downloading!!!!

The thanks is for the encouragement!

Edit: Seeing this come up a few times: "curl: (22) The requested URL returned error: 404 Not Found

Server does not provide clone.bundle; ignoring."
[HTC One S] $droyd$:
That is normal...
[HTC One S] Darknites:
Nope mean no to using web installer.
[HTC One S] Bowmanspeer:
From where I sit with all this code scrolling, it really is helpful to here that simple phrase. LOL.
[HTC One S] Bowmanspeer:
I had to go back and read it again. You meant install Linux like I meant to, right? I was search for something to delete the partition and start over but I found the page that I linked which allowed me to extend what I already made. Looking in the file system it appears I now have 110 GB total available now.

Initial major download is done! Moving on. I'm feeling a bit giddy right now. LOL :p

Edit: Brought back to earth-- the Lunch menu brought up the following:

32. baked_tf700t-userdebug

33. baked_vibrantmtd-userdebug

34. baked_ville-userdebug

35. baked_wingray-userdebug

Which would you like? [full-eng] 34

build/core/product_config.mk:193: *** _nic.PRODUCTS.[[vendor/baked/products/i9100.mk]]: "device/samsung/i9100/full_i9100.mk" does not exist. Stop.

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

** Do you have the right repo manifest?

randall@ubuntu:~/baked$

I thought those specs were already added? So I guess I do need to do step 3 ignoring the big red letters? Assuming I need to do step 3, it says create a file "local_manifest.xml" and then "paste this in" then "save and close". It doesn't specify what to paste into that file.
[HTC One S] Darknites:
Try resyncing again.
[HTC One S] mteezey:
I got that same error after syncing last night and trying to build. Didn't get a chance to play around with it though. i synced and compiled on Monday night though. So if its in the source it just happened.
[HTC One S] Darknites:
Well I should still have that so I have a look and if it's there I upload it but it be some time later.
[HTC One S] $droyd$:
Your getting two files conflicting with each other.. You say ville and read what it says its trying to build samsung i9100.. First look in your repo and make sure you have vendor/baked/products/ville.mk and open android.mk make sure you have ville in there then back out to vendor/baked and look for the sh file make sure ville is added to lunch menu then device/htc/ville and msm8960-common are there if all those files are there you have what you need( if not resync..) so go back to vendor/baked locate that sh file again and remove i9100 from lunch and also in vendor/baked/products/ move i9100.mk..and in android.mk also remove i9100
[HTC One S] Bowmanspeer:
Thanks for this. Wont be able to do it though at least till tomorrow. Wife is expecting to go out tonight so better do it. ;)

Sent.
[HTC One S] $droyd$:
Stupid families, always getting in the way...
[HTC One S] Black_Prince:
Hey mate sorry for inconvenience , I am submitting patches to baked for i9100 , n7000 and n7100 so device tree for i9100 is added now and for other two , it will be added asap ... Just edit AndroidProduct.mk file in vendor so there will be no error for you ;)
[HTC One S] $droyd$:
And there you have it.. Run an update sync to pull changes he made and good to go no need to do the prior steps I posted...
[HTC One S] Darknites:
Thats how it always is one day won't work and another works fine.
[HTC One S] Bowmanspeer:
Ok. Glad I waited then. LOL. You say I could just edit AndroidProduct.mk file, but how? Do I just delte those devices? or should I re-run the whole thing like $droyd$ says? If I re-run the command will it overwrite what I already did with the correction? O wait. I better read that again to even be sure of what he said...OMG! :laugh:

Edit: Ok, Did the edit. Starting lunch again...