yashsingh1/xdaforums huggingface dataset:
[Android] neonkat:
i will suggest you to read #1914 if you are new to these stuffs,else read this.
[Android] ayazm.140895:
Yeah, indeed the proprietary blobs were missing. I just added those to my local manifest.

Are proprietary blobs version specific? Like blobs of Kitkat won't work on Lollipop?
[Android] spezi77:
I don't know the exact situation for your device. But there is a chance that vendor blobs are in general upwards compatible. Sometimes a few modifications or updates are needed.

Best of luck.. and have a happy 2016.

Cheers! ;)
[Android] zeetroman:
Happy new year guys
[Android] hahagu:
Happy New Year!

I have a problem building CM12.1

I get this error below when I try to build CM for my E300K, S4 Korean variant.
[Android] KeTuRr74:
Wich device repo are you using ? Send me the link.

There is no E300K folder, the S4 korean version probably have the same specs as S4 i9505 or i9500 so you should use the same repo.
[Android] hahagu:
I was using the repo from i9500.

However, I'm now trying to compile from the kernel source here,

the vendor here

and the device here.

So I added this

to my local_manifests.xml and ran repo sync.

Then, I ran . build/envsetup.sh && brunch e300k, but the following error appears.

Please help?
[Android] KeTuRr74:
Youre device tree is not up to date so you cant build. You need to add some new blobs wich is needed..
[Android] bylithium:
Hello guys, I got this error when trying to build MoKee ROM for my Asus Zenfone 2 (ZOOA) Device.

target C++: libhealthd.mofd_v1 <= device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp: In function 'int mapBatteryStatusString(const char*)':
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp:26:12: error: 'HEALTHD_MAP_CONTINUE_SEARCH' was not declared in this scope
return HEALTHD_MAP_CONTINUE_SEARCH;
^
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp: In function 'int mapChargeTypeString(const char*)':
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp:32:16: error: 'BATTERY_CHARGE_TYPE_FAST_CHARGING' is not a member of 'android'
return android::BATTERY_CHARGE_TYPE_FAST_CHARGING;
^
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp:34:16: error: 'BATTERY_CHARGE_TYPE_UNKNOWN' is not a member of 'android'
return android::BATTERY_CHARGE_TYPE_UNKNOWN;
^
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp: In function 'void healthd_board_init(healthd_config*)':
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp:39:13: error: 'struct healthd_config' has no member named 'batteryChargeTypePath'
config->batteryChargeTypePath = "/sys/class/power_supply/battery/status";
^
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp:40:13: error: 'struct healthd_config' has no member named 'mapBatteryStatusString'
config->mapBatteryStatusString = mapBatteryStatusString;
^
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp:41:13: error: 'struct healthd_config' has no member named 'mapChargeTypeString'
config->mapChargeTypeString = mapChargeTypeString;

Hope someone could help, thanks!
[Android] hahagu:
how do I add new blobs?

and what are blobs?

oh, and I updated the sources

vendor

device

kernel
[Android] adityaupreti:
can anyone help me in fixing this error

required: boolean
found: boolean,int
reason: actual and formal argument lists differ in length
Note: frameworks/opt/net/ims/src/java/com/android/ims/ImsUt.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
14 errors
build/core/java.mk:346: recipe for target '/home/aditya/ownrom/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes-full-debug.jar' failed
make: *** [/home/aditya/ownrom/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes-full-debug.jar] Error 41

im building own rom for ms013g grand 2
[Android] hahagu:
Please help?
[Android] KeTuRr74:
Blobs are the proprietary files needed for the device. You error is related to a missing blob so it dont build. You need to get the es365blabla.bin and put it in vendor/samsung/jaltskt or e300k/proprietary/vendor/firmwares.
[Android] hahagu:
Where do I obtain those so called 'blobs'?

Also, I do not have verndorsetup.sh

How do I make it?
[Android] KeTuRr74:
All you want is here.

https://wiki.cyanogenmod.org/w/Doc:_porting_intro
[Android] hahagu:
I kinda is having problem understanding, but I'll try.

I have to have the CM repo synced up already with the target CM build version before starting right?
[Android] istperson:
Everybody started somewhere. I recommend you build a version that works then follow the cm porting guide.
[Android] gururoop:
Hey there, I got a similar error when compiling CM13 for Nexus 5X from source:

build/tools/generate-notice-files.py /home/gururoop/android/cm13/out/target/product/bullhead/obj/NOTICE.txt /home/gururoop/android/cm13/out/target/product/bullhead/obj/NOTICE.html "Notices for files contained in the filesystem images in this directory:" /home/gururoop/android/cm13/out/target/product/bullhead/obj/NOTICE_FILES/src
Combining NOTICE files into HTML
Combining NOTICE files into text
Installing recovery patch to system partition
Warning: could not find SYSTEM/build.prop in <built-in function zip>
using prebuilt recovery.img from BOOTABLE_IMAGES...
using prebuilt boot.img from BOOTABLE_IMAGES...
Traceback (most recent call last):
File "./build/tools/releasetools/make_recovery_patch", line 53, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/make_recovery_patch", line 49, in main
common.MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img)
File "/home/gururoop/android/cm13/build/tools/releasetools/common.py", line 1443, in MakeRecoveryPatch
_, _, patch = d.ComputePatch()
File "/home/gururoop/android/cm13/build/tools/releasetools/common.py", line 1131, in ComputePatch
p = Run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/home/gururoop/android/cm13/build/tools/releasetools/common.py", line 87, in Run
return subprocess.Popen(args, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [/home/gururoop/android/cm13/out/target/product/bullhead/system/bin/install-recovery.sh] Error 1
make: Leaving directory `/home/gururoop/android/cm13'

#### make failed to build some targets (01:32:35 (hh:mm:ss)) ####

There is no such section in my makefile as suggested by you. What do I do?
[Android] limjh16:
Hey,

I read the guide and I was a bit confused at post 4. Where do you get the device, kernel and vendor tree if you are trying to port a rom to a phone which isn't supported?

----edit----

To be more specific the OP states that you can find the device tree blah in device forum in CM but im trying to port a rom which isn't cm. To be even more specific, im trying to port haxynox. Do i use /vendor/samsung/smdk4412-common ?

----edit----

I figured out which device tree and kernel, but i still cant figure out vendor as in the manifest it states /vendor/samsung but in /samsung there is still an option for smdk4412-common. Which do i use?
[Android] KeTuRr74:
For wich device ?
[Android] limjh16:
I9305 aka sgs 3 lte
[Android] KeTuRr74:
The phone is supported with this rom.

You only need to use a different device tree for i9305 thats all. For vendor use TheMuppets one and for kernel Haxynox one should be good ?
[Android] limjh16:
1. Where to get themuppets 2. There isn't a specific device tree for i9305 there is only device tree for i9300 so do I use smdk4412-common or the device tree for i9300?
[Android] KeTuRr74:
S3 and S3 4G have a difference.

Always build with the repos for your device only.

Just a search a found that ?

https://github.com/rodman01?tab=repositories
[Android] limjh16:
Oh so the device tree musn't be rom-specific? I can take it from say rodman even though its not for haxynox?
[Android] nitin.chobhe:
It should work more or less. Some ROMs have different handling of mk files.

You can try... One way if to check the drive tree of existing (rom supported) device tree.
[Android] limjh16:
Okay, i'll test it out. What about the vendor tree then? I still dont understand whats themuppet :(
[Android] nitin.chobhe:
It's this: https://github.com/TheMuppets

It's the repository that has vendor files for (almost) all devices. Every ROM (WELL the major ones) use vendor from specific providers. Like CM uses then from the muppets, omni uses from donkey coyote and so on.
[Android] limjh16:
last problem (i think) how do i include the device and vendor tree into my local manifest.

to make it clearer: <project path=" directory in work tree" name="name of the repository in remote" remote="name of remote defined earlier" revision="branch of the repository" />what do i write inside each of these things im quite confused.

thanks for your help!

----edit----

another question: should i ask permission from the devs (of haxynox, of the device trees that im taking it from) now or later after i finished the rom?
[Android] nitin.chobhe:
Did you really read the guide? Specially this 4th post... [MENTION=5216756]jackeagle[/MENTION] has taken efforts to write this guide and he has also given an example in this post.

Please read that once, if you don't get it, read again and even then you don't understand then search this thread. People are here to help but you will have to do your part :)

Regarding the permissions for device trees, it's not needed but of course you can thanks and give credit to them in your xda thread...
[Android] limjh16:
Yes I did but I do not understand the name=", remote=" and revision="

----edit----

I'll try searching the thread I ddint read the last part of your post before posting my reply sorry :(
[Android] nitin.chobhe:
Example:

<project path="device/samsung/i9082" name="pawitp/android_device_samsung_i9082" remote="github" revision="cm-11.0" />

Remote is name of the repo site (here github and this would be defined in default.xml), revision is branch name
[Android] limjh16:
So this will be what my local manifest would look like?

<manifest>
<project path="device/samsung/i9305" name="rodman01/[COLOR=Black]android_device_samsung_i9305" remote="github" revision="lollipop" />
<project path="kernel/samsung/smdk4412" name="android_kernel_samsung_smdk4412" remote="haxynox" revision="haxynox"/>
[/COLOR]<project path="vendor/samsung" name="TheMuppets/proprietary_vendor_samsung" remote="github" revision="cm-12.1" />
</manifest>

(I still don't know what revision is and now i'm even more confused about whats path)

----edit----

I found the branch name. However more questions, can I use themuppets vendor tree problem here is that its for cm and im trying to port haxynox.

----edit2----

I just checked my manifest and it says

<remote revision="refs/heads/aosp-5.1"
name="github"
fetch="ssh://git@github.com/haxynox" />

must I change the fetch="?
[Android] nitin.chobhe:
As someone suggested above, try CM ROM first... AOSP is difficult to build...
[Android] limjh16:
Oh okay so I should start with CM first and gain some experience before moving on to AOSP?

----EDIT----

What about slimrom, is it also easier? I'm more interested in lightweight than feature-packed
[Android] nitin.chobhe:
As I said start with any CM based ROM. SlimROM is also AOSP based...
[Android] Kapiljhajhria:
i am trying to build omni rom and i have added necessary stuff to local manifest and did the "repo sync"

but where are the files or stuff downlaoded that i put in local manifest??

i need to edit those files. i can't seem to find them.

i am porting OMNIrom to oneplus2 using regalstreak cm device tree

here is what i my local manifest contains

<manifest>
<project path="device/oneplus/oneplus2" name="regalstreak/android_device_oneplus_oneplus2" remote="github" revision="cm-13.0" />
<project path="kernel/oneplus/msm8994" name="regalstreak/android_kernel_oneplus_msm8994" remote="github" revision="cm-13.0" />
<project path="vendor/oneplus" name="regalstreak/android_vendor_oneplus" remote="github" revision="cm-13.0" />
</manifest>

"omn" is my omni rom working folder.

its placed under android/omn/.repo/manifests/local_manifest.xml

is the right place or should have i placed it under

android/omn/.repo/manifests.git

and after these files have been downloaded then where iwll i find them? location of cm.mk , dependencies file and androidproducts.mk.

or do i have to download them from github myself and place them manually?
[Android] KeTuRr74:
After you downloaded them,you can find them in device/oneplus/oneplus2

kernel/oneplus/oneplus2

vendor/oneplus/oneplus2

No your manifest is in the right place so no need to change the location
[Android] Kapiljhajhria:
under device i have 4 folder

common, generic, google, sample

under vendor there is just one

omni

there is no kernel folder.

i used https://github.com/omnirom/android.git -b android-6.0 to initiate repo and sync it

already told you about the local manifest file

didn't get any error during repo sync, so whats the issue? can't seem to find the issue. why are those files not getting downlaoded??
[Android] KeTuRr74:
Ctrl+h and see if you have the roomservice.xml in .repo/local_manifests

If its noy add the roomservice.xmlabove and repo sync and only after you should be able to see device, kernel & vendor.
[Android] Kapiljhajhria:
No such folder under .repo

but i have seen a file by that name, don't remeber where.

this is my 2nd try

1st rty i made folder and named it omni. messed it up real bad and didn't knew how to restore it to deafult state.

so i created 2nd folder "omn" and inititated repo again but took "omni" folder as reference so that i don't have to download the whole sources again.

thats how i got "omn"

the folder which you mentioned is there under "omni/.repo" but its empty

and no such folder under "omn/.repo"
[Android] KeTuRr74:
Create local_manifests folder in .repo

Create roomservice.xml file in local_manifests

Open roomservice.xml with gedit and add the device, kernel & vendor repo in.

Open terminal and repo sync and all should be fine after that
[Android] hahagu:
Hi KeTuRr74!

I'm here to ask you something

OK, I built the recovery.img successfully and now I'm messing with the vendor files.

I found out that the *.spi files inside system/media has to do with the battery charging animations when phone is off.

Have any idea how to enable this on cyanogenmod?
[Android] KeTuRr74:
As i know its impossible because you need samsung files (lib framework and others things)
[Android] hahagu:
how about maybe extracting and putting the files in res/images/charger?
[Android] KeTuRr74:
Dont know if it work but not sure.
[Android] hahagu:
hmm... thx anyway though

will try and contact u?
[Android] KeTuRr74:
As you want
[Android] Kapiljhajhria:
Will give it a try tomorrow and see.

Thank you for your help.
[Android] Jeik:
Hey guys!

Well,after trying to build NamelessRom,Euphoria,PA,PAC and a few other roms without success,I tried with BlissPop.

Now,it built everything,and when it is making the damn OTA file,I am getting errors with the bliss/build/tools/releasetools/ota_from_target_files

http://hastebin.com/fefoyiwihi.vhdl

I already tried removing the previous troublesome lines(GetProp ro.product.time.utc ,etc.),but now this "device_specific" error occurs.

I used the "lunch bliss_idol3-userdebug" and "mka bacon" to create the rom.

All img files are built,it just cant make a zip out of them...
[Android] ayazm.140895:
Trying to copy output file from google cloud.

ftp method:

Last login: Fri Jan 1 03:17:07 2016 from 74.125.41.180ayazm_140895@instance-1:~$ f[B]tp uploads.androidfilehost.com[/B]
Connected to qc0.uploads.androidfilehost.com.220-Welcome to the Android File Host QC0 FTP Server!220 Welcome to the Android File Host FL1 FTP Server!Name (uploads.androidfilehost.com:ayazm_140895): ayaz331 Username OK. Need password.Password:230 Password OK.
Connected. logged inRemote system type is UNIX.
Using binary mode to transfer files.ftp> put /home/ayazm_140895/cm12.1/out/target/product/tomato/cm-12.1-20151231-UNOFFICIAL-tomato.ziplocal: /home/ayazm_140895/cm12.1/out/target/product/tomato/cm-12.1-20151231-UNOFFICIAL-tomato.zip remote: /home/ayazm_140895/cm12.1/out/target/product/tomato/cm-12.1-20151231-UNOFFICIAL-tomato.zip200 PORT command successful. 10.240.0.2:39946.

hastebin: http://hastebin.com/ralaxevuye.avrasm

and the gcloud compute copy files method.

Last login: Tue Jan 5 15:55:33 2016 from 74.125.41.49ayazm_140895@instance-1:~$ gcloud compute copy-files example-instance:~/home/ayazm_140895/cm12.1/out/target/product/tomato \> ~/home/mohammed --zone us-central1-b[COLOR=#EF2929]ERROR:[/COLOR] (gcloud.compute.copy-files) Could not fetch instance: - The resource 'projects/iron-potion-117109/zones/us-central1-b/instances/example-instance' was not foundayazm_140895@instance-1:~$ gcloud compute copy-files instance-1:~/home/ayazm_140895/cm12.1/out/target/product/tomato \> ~/home/mohammed --zone us-central1-bWarning: Permanently added '146.148.62.180' (ECDSA) to the list of known hosts.scp: /home/ayazm_140895/home/ayazm_140895/cm12.1/out/target/product/tomato: No such file or directory[COLOR=#EF2929]ERROR:[/COLOR] (gcloud.compute.copy-files) [/usr/bin/scp] exited with return code [1]. See https://cloud.google.com/compute/docs/troubleshooting#ssherrors for troubleshooting hints.ayazm_140895@instance-1:~$ gcloud compute copy-files instance-1:~/cm12.1/out/target/product/tomato \> ~/home/mohammed --zone us-central1-bWarning: Permanently added '146.148.62.180' (ECDSA) to the list of known hosts./home/ayazm_140895/home/mohammed: No such file or directory[COLOR=#EF2929]ERROR:[/COLOR] (gcloud.compute.copy-files) [/usr/bin/scp] exited with return code [1]. See https://cloud.google.com/compute/docs/troubleshooting#ssherrors for troubleshooting hints.ayazm_140895@instance-1:~$

Hastebin: http://hastebin.com/viqifahuko.hs

and build location is : Package Complete: /home/ayazm_140895/cm12.1/out/target/product/tomato/cm-12.1-20151231-UNOFFICIAL-tomato.zip

make: Leaving directory `/home/ayazm_140895/cm12.1'

#### make completed successfully (28:37 (mm:ss)) ####

ayazm_140895@instance-1:~/cm12.1$

can you guys help me out? I can't copy the file from gcloud.
[Android] Kapiljhajhria:
it worked. thank you very much.
[Android] Simba83:
Hi Im trying to build a Resurrection Remix for my D802.

But i get some strange errors:

How can i change this path? bin/bash: prebuilts/python/linux-x86/2.7.5//bin/python

it has two // and i think this could be one of the problems.
[Android] Mestreian:
excellent tutorial , it is unfortunate that I have no internet enough to download 16GB of files or a good enough computer to compile. One day I 'll make a custom rom

:crying:
[Android] KeTuRr74:
I dont have a good computer too and i build but it take some hours ?

---------- Post added at 00:20 ---------- Previous post was at 00:18 ----------

Put your computer in english and post a log in english because i cant see what is the error.

Thanks
[Android] Mestreian:
I live in Brazil and I have an internet 2mb lowering the 230kbs = / 16 hrs lowering source
[Android] Felipebt1:
Hello, I made a complete partitions dump from a working phone, and want to write system partition, to another one, not working.

I can write back, using abd, all parititions, to other phones, but this method can not be used on broken phones, so, I must write back partitions, using fastboot.... or some other method...

this phone has not twrp, or cwm, or others, support

I can write almost all of them, but I can not write back system partition... so, what other ways could I try using my system partition dump from the working phone?

thanks
[Android] EdwinMoq:
Hello.

I have made a CM12.1 build for the LG Optimus L9 and everything works fine so far. Now I'm trying with CM13 and I got it to build. But there's something working the generated boot.img because the device doesn't boot. Just when the phone try to load the ramdisk it reboots to recovery.

I'm guessing it has something to do with the reocovery_from_boot_patch in the build makefile. I tried adding board_cant_build_recovery_from_boot_patch := true in my BoardConfigCommon.mk file but it still doesn't boot. It doesn't happen with CM12.1 so I think recent changes in the CM13 build system are causing this.

Any help would be appreciated.
[Android] Simba83:
Sorry i changed my language and make a new attempt.

http://pastebin.com/UmWzdCYU
[Android] nitin.chobhe:
​I too had similar challenges...

Then Google could came to rescue. Try it out, it has 2 months free subscription. Get the free trial and start building the ROMs that you love: cloud.google.com

Ping me if you need any help in that.... :good:
[Android] KeTuRr74:
It look like a missing build rule into the vendor or a missing file.

Wich vendor are you using ?
[Android] hdorius:
Hi,im sync the repo but its error

http://pastebin.com/HYzNeqny ,may i know what problem is it?
[Android] EdwinMoq:
Try to sync with repo sync -j1 --force-sync
[Android] hdorius:
its error too

http://pastebin.com/b4ngEbxz
[Android] KeTuRr74:
repo init back the issues should be fixed if the devs of the rom fixed it.
[Xperia Arc Q&A, Help & Troubleshooting] XEROling:
I've Xperia arc s running android 4.2.2 CM10.1 (rom: moPROJECT42) ,

When I reboot to CWM and try to mount /sdcard it says "Can't mount /sdcard

is there any way to fix it?
[Xperia Arc Q&A, Help & Troubleshooting] Someguyfromhell:
Does your SD card work at all?
[Xperia Arc Q&A, Help & Troubleshooting] XEROling:
yes...

New information: I found that my sdcard's location is "/storage/primary/legacy", I tried to change its name and move it to "/storage/sdcard", but after rebooting the phone it returned automatically to the previous location.
[Xperia Arc Q&A, Help & Troubleshooting] XEROling:
Solved!

just formut sdcard...

The problem is in the file system, it's not fat32 it's unknown, because this sd card has been used on Nokia 3110c (this phone is very old!!)

Sent from XPERIA arc s
[Nvidia Tegra Note 7] JakeTheOneDude:
Hey guys, just wondering if anyone out there has tried rooting their Note 7 with this method, and if it worked or not?
[Nvidia Tegra Note 7] karehaqt:
Worked perfectly for me, you will need to download SuperSu from the store afterwards.
[Nvidia Tegra Note 7] Rotondo:
Can I do OTA after install towelroot?
[Galaxy S 4 Q&A, Help & Troubleshooting] Rakaan:
Got an S4 i9505 and I believe it was running 4.2.2. I rooted it with CF Auto Root and everything was fine,

A few days ago, little one messed around and accidently managed to install 4.3 update. Now wifi cannot be enabled giving an error that "your device security has blocked an action that is not permitted"

Clicked on SuperSU and it said that knox has been found and some applications may not work,,,,,decided to disable it and disabling it was successful.

Even now when I try to turn the wifi on, it doesnt work but dont get the above message anymore.

Any help would be appreciated as it's driving me mad.

Thanks
[Galaxy S 4 Q&A, Help & Troubleshooting] Rakaan:
Anyone? Please make some suggestion.
[Galaxy S 4 Q&A, Help & Troubleshooting] MAX 404:
Hi ,

My first option would be to try the so call wifi fix, read here:

http://xdaforums.com/showthread.php?t=2192025

select the same wifi fix as the modem you have installed in your phone ( read first , ask there if there is any doubts)

Second option would be to flash stock rom again and root .
[General Questions and Answers] glenervanrobert@gmail.com:
Hallo,

I have a China-made Mini-Laptop with WM-8880-MID SoC-chip and Android 4.2.1, factory rooted.

In the moment I can't start the system on this device.

Could anybody give me a tip, which keys combination must I apply to start the device in Recovery Mode ?

On the WEB I have found a lot of keys combination therefor, but for the phones only.

My device is no phone, but a Mini-Laptop with the solid keyboard, I attach a picture of it.

Many thanks for your answers in advance.

Regards - Robert
[HTC One Max] jraz305:
Hello looking for a list and or location for the sprint htc one max radio .trying to downgrade radio if any one can help thanks in advance