yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 3 General] nels83:
Here it is :

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remove-project name="CyanogenMod/android_bionic" />
<project path="bionic" name="nels83/android_bionic.git" remote="github" revision="cm-12.1" />

<remove-project name="CyanogenMod/android_frameworks_native" />
<project path="frameworks/native" name="nels83/android_frameworks_native.git" remote="github" revision="cm-12.1" />

<remove-project name="platform/hardware/intel/img/psb_headers" />
<project path="hardware/intel/img/psb_headers" name="nels83/android_hardware_intel_img_psb_headers.git" remote="github" revision="ilot-5.1" />

<remove-project name="platform/hardware/intel/img/psb_video" />
<project path="hardware/intel/img/psb_video" name="nels83/android_hardware_intel_img_psb_video.git" remote="github" revision="ilot-5.1" />

<!-- Custom -->
<project path="kernel/samsung/santos10" name="nels83/android_kernel_samsung_santos10.git" remote="github" revision="cm-12.1" />
<project path="device/samsung/p5200" name="nels83/android_device_samsung_p5200.git" remote="github" revision="cm-12.1" />
<project path="device/samsung/p5210" name="nels83/android_device_samsung_p5210.git" remote="github" revision="cm-12.1" />
<project path="vendor/samsung/p52xx" name="nels83/android_vendor_samsung_p52xx.git" remote="github" revision="cm-12.1" />
</manifest>

bionic should be removed tomorrow (compiling with CM repo right now, it should be ok but I want to be sure)
[Galaxy Tab 3 General] social-design-concepts:
thanks i wanna try a build for a different device , how much do you think could be moved to a common clovertrail / redhookbay tree for hooking into?

another thing regarding kernel building - both the intel bsp and the dell released kernel source contain an additional modules directory but i noticed that samsung and the asus kernel sources don't include them?
[Galaxy Tab 3 General] r2d23cpo:
Nice...

I love to see all of you, everyone giving what they can. And achieving the final goal. A working CM/AOSP for our device. Good job.

I been out of service for a while, I guess I am getting old. But I will test the latest when I can.
[Galaxy Tab 3 General] nels83:
I don't know and since the tab3 is the only clovertrail board I have access to, I can't tell you much.

Only a guess but you may use most of the config files (more specifically houdini configuration and omx configuration (it's not really working atm though)).

In fact, almost everything was in AOSP tree when I started. I pulled and adapted the rest from other samsung devices trees.

So a common clovertrail tree would mostly consist of config files. There is still work needed on the hardware/intel tree to add better clovertrail support.

Which modules directory ?
[Galaxy Tab 3 General] social-design-concepts:
Well I'm going to do a base build against your tree , then move the stuff that i believe to me common between to a device/intel/clovertrail tree and then build the P5200 again maybe you could test the build for me?

Here you go intel / dell place the kernel source as android_linux_kernel & android_linux_modules

android being the top folder of the build directory

This is from the Intel BSP so it should have the commit history , Dell's included it with their open source kernel release for the following devices : Venue_8_3830_CloverTrail_plus , Venue_8_3840_Merrifield , Venue_7_3740_Merrifield , Venue_8_7840_Merrifield , but Dell never includes the commit history, Intel BSP's and Dell source are the only places i've found to included it.

Maybe it has so use to you all.

Build Error :

make: *** No rule to make target `/media/android_development/cyanogenmod/cm-12.0/out/target/product/p5200/obj/SHARED_LIBRARIES/libril_intermediates/export_includes', needed by `/media/android_development/cyanogenmod/cm-12.0/out/target/product/p5200/obj/EXECUTABLES/rild_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....

P5210 seems to be building fine

must get coffee what was i thinking trying to start a build before coffee / palm to face
[Galaxy Tab 3 General] nels83:
No problem.

After having a quick look it seems all these files are included directly in samsung's kernel (at least for the common drivers).

That's normal, to build P5200 (which works now ;)), you have to use this new manifest (added hardware/samsung)

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remove-project name="CyanogenMod/android_frameworks_native" />
<project path="frameworks/native" name="nels83/android_frameworks_native.git" remote="github" revision="cm-12.1" />

<remove-project name="platform/hardware/intel/img/psb_headers" />
<project path="hardware/intel/img/psb_headers" name="nels83/android_hardware_intel_img_psb_headers.git" remote="github" revision="ilot-5.1" />

<remove-project name="platform/hardware/intel/img/psb_video" />
<project path="hardware/intel/img/psb_video" name="nels83/android_hardware_intel_img_psb_video.git" remote="github" revision="ilot-5.1" />

<!-- Dependencies -->
<project path="hardware/samsung" name="CyanogenMod/android_hardware_samsung" remote="github" revision="cm-12.1" />

<!-- Custom -->
<project path="kernel/samsung/santos10" name="nels83/android_kernel_samsung_santos10.git" remote="github" revision="cm-12.1" />
<project path="device/samsung/p5200" name="nels83/android_device_samsung_p5200.git" remote="github" revision="cm-12.1" />
<project path="device/samsung/p5210" name="nels83/android_device_samsung_p5210.git" remote="github" revision="cm-12.1" />
<project path="vendor/samsung/p52xx" name="nels83/android_vendor_samsung_p52xx.git" remote="github" revision="cm-12.1" />
</manifest>

So you have everything in place, that's good.
[Galaxy Tab 3 General] nels83:
cm-12.1-20150425-UNOFFICIAL

New snapshot uploaded with... P5200 support :) (thanks [MENTION=1649190]Angel_666[/MENTION] and [MENTION=6109572]xTear[/MENTION])

What's new

- RIL (for P5200)

- Bluetooth audio support (not sure about input though)

- Battery fixes

- More opensource libraries (libsecril-client, pvrsrvctl, libcorkscrew) thanks to CM

- Custom bionic repo not needed anymore

What's left

- Some crashes with houdini (it's the Android 5.0 version and CM12.1 is Android 5.1)

- HW video encoding (not working)

- Some glitches when using HW video decoding

- HW audio decoding (chip supports AAC and MP3)

- More opensource libraries (work on hwcomposer, pvr_drv_video, sensors...)

- SELinux support

- Recovery compilation from device tree

- Cleanup and fixes

You will need TWRP 2.8.6.0: P5200 (MD5) / P5210 (MD5)

Downloads

- ROM: P5200 / P5210

- Houdini (MD5) (if you want ARM support)

- GAPPS (MD5) (if you want Google Apps, original thread)

Installation from any ROM

- Wipe -> Advanced wipe -> Select "Dalvik Cache", "System", "Cache" and "Data"

- Flash ROM

- Flash houdini-5.0-20150504.zip (if you want ARM support)

- Flash gapps-511-base-20150501-1-x86.zip (if you want Google Apps)

- Reboot

Installation from old CM12.1

- Flash ROM

- Reboot
[Galaxy Tab 3 General] nels83:
I just noticed a bug in init files, MTP might not work on P5200. It should be fixed in next upload.
[Galaxy Tab 3 General] KingUsman:
I'm getting an error in recovery

E:Can't mount /cache/recovery/log

E:Can't open/cache/recovery/log

E:Can't mount /cache/recovery/last_log

E:Can't open/cache/recovery/last_log

Sent from my Nexus 5
[Galaxy Tab 3 General] Dexter885:
With version cm-12.1-20150425-UNOFFICIAL-p5210.zip, the sd-card does not mount. I did rollback to version version cm-12.1-20150421-UNOFFICIAL-p5210.zip and it worked fine.
[Galaxy Tab 3 General] kb8no:
Exactly the same experience. I use a 64G exFAT that works fine on 0421 but not 0425. However, Philz cwm does not read the exFAT no way no how on either ROM. I had this same experience with Restless ROM I was using where Philz would not read exFAT but TWRP did read the exFAT. This led me to use TWRP. These two observations could be related.

Can someone help me figure out how to make the CM contacts sync with Google contacts? Tried everything.
[Galaxy Tab 3 General] nels83:
With which recovery ? Did you do a full wipe ?

That's strange, I checked and I didn't make any storage related changes between these 2 dates. Maybe it has something to do with CM ?

It's because I only put playstore and it's dependencies in playstore-x86.zip (as I only use this app from Google). It does not have any other parts from gapps. I thought most of them where available in the playstore but it seems contacts sync is an exception. I'll try to make a flashable "gapps extras" for this case.
[Galaxy Tab 3 General] kb8no:
THAT would explain it. This is kind of an exercize in super-little mini-micro GApps!
[Galaxy Tab 3 General] KingUsman:
Philz recovery & yes I did, I can't seem to wipe cache it gets stuck on "wiping cache"

Sent from my Nexus 5
[Galaxy Tab 3 General] nels83:
Nothing on the audio side. The errors look very similar to the ones we had before including asound.h Do you use ccache ? I noticed I had to clear the cache before using the new ril.h for example.

Maybe a change in the manifest ? I added a wiki page and will maintain it there

---------- Post added 28th April 2015 at 12:01 AM ---------- Previous post was 27th April 2015 at 11:50 PM ----------

Just tried and it works here. Do you have recovery PhilzAdvCWM-6_55_0-gtP-5210-v2.zip ? Maybe you can try "Format cache" (but I think it does the same as "Wipe cache").
[Galaxy Tab 3 General] Angel_666:
Yes. I use ccache, trying to clean it and see...
[Galaxy Tab 3 General] nels83:
cm-12.1-20150428-UNOFFICIAL

New upload 20150428 : P5200 / P5210

Instructions available here

What's new

- MTP fixed (for P5200)

- SDCard mount fixed (thanks [MENTION=5472582]Dexter885[/MENTION] and [MENTION=4465682]kb8no[/MENTION])

- opensource pvr_drv_video (should fix black thumbnails for some videos and faster video start)
[Galaxy Tab 3 General] kb8no:
Here are [MENTION=5864662]moonbutt74[/MENTION] 's Androidfilehost links for tab 3 recoveries.

https://www.androidfilehost.com/?w=files&flid=23547

Use v2 of Philz or TWRP. The others are obsolete. This is the TWRP I have used with Pimpdroid for about a year. Worked well. I did not like Philz because it could not and still cannot read my exFAT 64G extSDCard so no way to backup/restore onto SDCard. TWRP loves my exFAT. Maybe some smart guy can update our aging recoveries?
[Galaxy Tab 3 General] pug1:
[MENTION=6587211]nels83[/MENTION]

How do you transfer a .IMG you build to test. I have been told that fastboot only works on nexus devices is this true?
[Galaxy Tab 3 General] kb8no:
[MENTION=6587211]nels83[/MENTION]

http://download.chainfire.eu/452/SuperSU/UPDATE-SuperSU-v2.02.zip

Here is the superuser from Pimpdroid that works with the tab3. This ROM needs SU. I tried downloading from play store but it didn't work whereas this one works. Can you bake your favorite SU into the ROM?
[Galaxy Tab 3 General] Angel_666:
This rom have SU. Go to developer settings and turn superuser mode on. That's all. Or you need something else?
[Galaxy Tab 3 General] kb8no:
I looked here but didn't see super user. I now see "root access" which I missed before. Is this the new term for superuser = same thing? Is this what I set? That would be nice.
[Galaxy Tab 3 General] Angel_666:
Yes. In this mode you can choose what access you want - off (by default) standard user or on for superuser apps and adb.
[Galaxy Tab 3 General] nels83:
Some other devices support fastboot but it's not the case of samsung's ones. To flash .IMG files you have to use Odin in Windows (I can't really help with this one, I don't use it) or Heimdall in Linux (available in most distros).

As for my builds, I now provide flashable .ZIP files so you just need CWM or TWRP.
[Galaxy Tab 3 General] kb8no:
Latest version fixed the extSDCard mount problem from the ROM and works well.

I am using TWRP so I have access to the exSDCard from the recovery. I installed the latest ROM using TWRP. Wipe Cash and Dalvik and booted perfectly.

"Root Access" from "Developer options"worked perfectly for super user. How clever.

Now [MENTION=559949]NELS[/MENTION]83 for that "mini-Gapps" with Play store and Contacts sync. This is the only thing I haven't found fully functional in this ROM. My wife loves it. If you can get my wife to say she loves a ROM, that's saying something significant.
[Galaxy Tab 3 General] KingUsman:
Pulling out the SD card causes a reboot

Sent from my Nexus 5
[Galaxy Tab 3 General] nels83:
There you go ;). If I'm not mistaken you should be able to obtain all other Google functionalities from the Play Store.

I can understand, I take care of my wife's phone :D (no offense to you ladies, it's the same for my browser in law)

I can't reproduce it, can you send me the content of /proc/last_kmsg after the reboot ?
[Galaxy Tab 3 General] kb8no:
[MENTION=6587211]nels83[/MENTION] contacts sync worked flawlessly. I'm at a loss right now to find anything to complain about. Been waiting a loooooong time for this day. It's now a super nice tablet.
[Galaxy Tab 3 General] nels83:
Thanks ;) But please don't try to take a video with the camera... You'll have something to complain about :D
[Galaxy Tab 3 General] KingUsman:
Removing the SD card doesn't cause a reboot anymore it seems to have only happened twice. However I charged my tablet to 100% and later on rebooted and seem to have lost most my charge
[Galaxy Tab 3 General] kb8no:
[MENTION=6587211]nels83[/MENTION] starting to try different things. My wife and I like Hangouts. Went and got one off the play store and it crashes after a brief start up. Might this need a special gapps kind of version for this device with 5.1?
[Galaxy Tab 3 General] Tquarter:
very nice

great rom, this should be in the developers section. (just my humble opinion) MANY thanks to all who made this a reality.
[Galaxy Tab 3 General] nels83:
I noticed something similar with other devices when changing rom. It needs a few charging cycles to be stable. Your case looks extreme though... I don't know where to check for now. I'll try to reproduce the problem at home.

Oh no, kb8no again :p (just kidding, thanks for all the tests ;) ) Hangouts is a big problem since it's closed source and I only have a sig 11 with no other informations. I try to have a look when I have free time.

It should be possible, but I won't do anything without [MENTION=2549602]r3stless[/MENTION], [MENTION=1649190]Angel_666[/MENTION] and [MENTION=5864662]moonbutt74[/MENTION] approval (and I think I forgot some other devs).

On a sidenote, updated TWRP is on its way and sensors hal is now opensourced (still needs geomagneticd and orientationd though :()
[Galaxy Tab 3 General] :
N,

dude, just go for it.

m
[Galaxy Tab 3 General] xTear:
Could the hangouts be a Problem with Houdini? Like jetpack in dolphin.?
[Galaxy Tab 3 General] bbr999:
Is multi users is avalaible, i can t find it?

Thks for this very good rom
[Galaxy Tab 3 General] KingUsman:
Its not enabled

Sent from my Nexus 5
[Galaxy Tab 3 General] nels83:
Ok, I'll create a thread after cleaning up some things and getting TWRP working correctly.

I don't think so, hangouts has x86 libraries now.

Thanks for the report, it will be enabled in next upload.
[Galaxy Tab 3 General] nels83:
TWRP 2.8.6.0

TWRP 2.8.6.0 for P5200 and P5210 is now available (all compiled from source :) but we need to add a kernel module by hand so it's not fully automatic for now).

I checked the kernel and the most serious EMMC Bugs fixes are applied (Samsung eMMC secure erase bug and MAG2GA TRIM bug) so there should be no problem. However I'm not responsible of what can happen to your device...

I think all functionalities are here (including MTP, Mass storage, battery, CPU temp, brightness). For the fearless testers, the files are here. You will find .img to flash with heimdall, .tar to flash with odin and .zip to flash with cwm/twrp (choose the one you prefer).
[Galaxy Tab 3 General] KingUsman:
The IR blaster doesn't work. Is it possible to make that work?

Sent from my Nexus 5
[Galaxy Tab 3 General] kb8no:
Flashed the new TWRP zip smoothly from the old TWRP recovery. It looks good. Seems smooth. Reads the SD card. Have nothing new to flash so no comment on functionality.
[Galaxy Tab 3 General] Parley!:
First of all thank you for this awesome ROM! :D

ROM runs very fine so far. What doesn't work for me is the google-calendar sync; the option to activate the calendar sync is missing in the google-account sync-options.

cheers!
[Galaxy Tab 3 General] kb8no:
You have to install calendar after flashing play store. There are really no gapps for this rom except playstore. My calendar works great and syncs great after installing calendar from playstore. What didn't work was contacts sync which nels83 fixed with a contacts sync zip file.
[Galaxy Tab 3 General] Parley!:
Thx, I tried again and it works now. I guess before it was just a problem with the privacy guard settings.
[Galaxy Tab 3 General] nels83:
cm-12.1-20150503-UNOFFICIAL

New upload 20150503 : P5200 / P5210

Instructions available here

Warning you need the latest TWRP version to flash: P5200 / P5210

What's new

- Multiuser enabled (thanks [MENTION=3840712]bbr999[/MENTION])

- IR blaster fixed (thanks [MENTION=5379415]KingUsman[/MENTION])

- Long press on home set to recent apps by default

- opensource sensors hal (still needs 2 binary blobs)

- Some cleanup (and maybe more bugs...)

Can you tell me if it works correctly for you ? If everything is ok I'll create a thread in the developers section ;)
[Galaxy Tab 3 General] tomtom1265:
Hi, I have a question about cm12, I have an intel tablet, it is 4.4.2, hoping i can use that kernel, no source code for kernel.

Right now i am trying to download cm12 source.

repo init -u git://github.com/CyanogenMod/android.git -b cm-12.0
repo sync

it errors out so I have now

repo sync -f

seems to be downloading now, my question once I get source downloaded make tree for my device, Can I then try and compile or do I need to edited the source in one way or the other to make cm12 build for intel?

Does cm12 automatically build intel or does it need patched? if it needs patched can this be changed so I could compile for another device that isn't intel, an arm device?
[Galaxy Tab 3 General] :
minor point of duh

Restl3ss

just in case you haven't done it, i just realized,[stumbled into it]

scour board make file using terms santos and angel to repoint a few things

getting further along with santos10wifi devtree, when i'm puuling the same errors as when using angel's for santos103g

i'll upload to devhost as i'm not sure how to do the git stuff.

concerning angel's notes about wifi/bluetooth/audio/hwcomposer in the devtree in lib directory i was curious

if there aren't some libraries missing or are those built during build?

done syncing, building devtree now, then patching [hazou's] again, then sticking my head into woodchipper,

all in all it should be a blast. :laugh::good:

m

what's up with bacon?

update: okay so, building with my tre via angel's example Thank You [MENTION=1649190]Angel_666[/MENTION]

without applying hazou's patches yet i get to this:

target C: powertop <= external/powertop/tuning/iw.c

external/powertop/lib.cpp:40:21: fatal error: pci/pci.h: No such file or directory

compilation terminated.

make: *** [/home/cm11/out/target/product/santos10wifi/obj/EXECUTABLES/powertop_intermediates/lib.o] Error 1

make: *** Waiting for unfinished jobs....

root@kali:/home/cm11#

kick it to make sure it's dead and... I'm feeling optimistic. =D
[Galaxy Tab 3 General] :
device tree

Restl3ss, angel_666

device tree santos10wifi devhost - http://d-h.st/Pti

my thread http://xdaforums.com/showthread.php?t=2787136&page=3 post #28

thank you for reading

m

btw, does anyone know how to add a sound notification for when my build fails?

having my comp tell me i suck is kind of a lifelong dream of mine.....

i need this solved

system/core/libcorkscrew/arch-x86/backtrace-x86.c:24:22: fatal error: ucontext.h: No such file or directory
[Galaxy Tab 3 General] Angel_666:
Open backtrace-x86.c in text editor and see where it trying to find ucontext.h, then check the correct file place.

Go to Hazou Github and check his patched version of powertop, then replace\patch your version by Hazou's.
[Galaxy Tab 3 General] :
patches

angel,

i patched powertop just fine, the frameworks_base.patch is my problem it comes up malformed in kompare

so i can't patch that way and since

i'm don't quite understand where i'm supposed to run the scripts from, i'm patching

manually. i am also uncertain of the need and placement of intel/libva or is it intel/libva-cos

or intel/libva/libva-cos

as for system/core/libcorkscrew/arch-x86/backtrace-x86.c:24:22

line 24- #include <ucontext.h>

which as the build error tells is a pointer to nothing.

further down below #if defined(_BIONIC_HAVE_UCONTEXT_T)

@ line 51 #include <asm/ucontext.h>

now that point to something, resync did not fix this.

m

a suggestion as fix i read in another post was to comment out

#include <ucontext.h>

i am uncertain of how that [comment out] works/looks like in c.

i added an additional # in front of the line, it didn't grab.

does anyone know the location of the ucontext.h that this line refers to?

[MENTION=4487948]skeevydude[/MENTION] in atrix hd q&a, just wondering if you had a thought on this?

resync did not resolve, header is just plain absent. [MENTION=1649190]Angel_666[/MENTION] , [MENTION=5378432]Restl3ss[/MENTION] , please see if ucontext.h is present in

system/core/libcorkscrew/arch-x86/

if so please post
[Galaxy Tab 3 General] Angel_666:
Remove all Intel stuff, hwcomposer and so on from device config. In first you need to build clean native img without any aditional files and try to boot device. In other words: leave only basic android and\or CM stuff needed to boot.(inits, vendor files with openGL e.t.c). Then if img builded OK and device booting, try to add aditional components one by one and build again after each component added (libva and so on). Use "ccache" building option to speed up your next build processes.
[Galaxy Tab 3 General] :
about ucontext.h ?

angel,

thank you for the tip on libva, i haven't added anything superflous/additional yet.

my question remains the issue of backtrace-x86 and it's missing header #include <ucontext.h>

which should be located in same directory and yet is not present.

m

edit- so i've commented the lines from backtrace-x86 concerning ucontext.h

whether this will make for more problems i don't know [sigh]

application of hazou's patches failed; 2nd time succeeded maybe?

should i be adding kernel source?
[Galaxy Tab 3 General] Hazou:
I dont have the patch for backtrace in my patches folder. instead i use my own repo for system build, but that one is not for 4.4 yet and outdated. try to add it in manually.

Patch:

* Backtracing functions for x86.
*/

-#if !defined(__BIONIC__)
+#define __BIONIC__
+
+#ifndef __BIONIC__
// glibc has its own renaming of the Linux kernel's structures.
#define _GNU_SOURCE // For REG_EBP, REG_ESP, and REG_EIP.
#include <ucontext.h>

This is still a temporary fix. 'ucontext.h' is libc should be updated sometime, but nobody does it ;) so we sort of outcomment it.
[Galaxy Tab 3 General] :
patches

hazou,

thank you so much, it's strange to me than cm team hasn't addressed that.

on the big framework patch, when try to look at it through kompare it comes up

as malformed so i have a hard time pinning down the actual individual files being patched

as i would like to back them up and keep repo re-sync to a minimum. any tips would be

appreciated. when i run apply script it errors out first time across the board unable to find *patch

second time no error but says patches already applied mbox added anyway.

i am re-syncing :silly:. anyway thanks again.

m

Restl3ss,

would you post update on build progress?

specifically if you are crashing at skpaint.cpp unknown register errors?

thanks m