yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 3 General] Angel_666:
Very interesting idea. :) But where i can find needed audioblobs? (from razr-i). I tried geekfone blobs, lenovo blobs and asus zenfone blobs but no luck... I tried to buld lib from [MENTION=1434892]Ketut P. Kumajaya[/MENTION] sources and route switches are almost the same, but when audiolib start to parce xml config files, it just can't change routes as i need. It just sayng: "can't change control blablabla = .0 to control blablabla =1". This part i can't understood. Why routing values are .0 or .1 for some routes? It must be 0 or 1 i think (int values, without dots)
[Galaxy Tab 3 General] Angel_666:
To All: Need help! Please show me your /data/property/ folder content from stock firmware device. You can open this folder on device by any rooted file explorer. Need information from stock samsung device. It's important. I think we miss some props in cm init.
[Galaxy Tab 3 General] :
from cag-rom modified stock 4.4.2 rom
[Galaxy Tab 3 General] Angel_666:
Yep! we miss all "persist.audio.***" properties in cm init. Need to add it to device_perms.h and recompile...

This is some kind of brainf***k!!! All routes working ok, primary output device started aaaaaand....... mediaserver dying. Tired of this..

[MENTION=4479363]Hazou[/MENTION] I found new kernel (3.10) with our boards support:
[Galaxy Tab 3 General] Hazou:
The audio blobs from the razr i? My cm11 thread :P Will extract the needed blobs for you in a couple of days. the audio.primary alone isn't enough off-course. There also could be a permission error. Sometimes is says that it can't change something becuase it has no right to do it. Look in your ueventd* and give root permissions to your audio/modems. See what happens and then experiment with what it needs.

---------- Post added at 06:16 PM ---------- Previous post was at 06:15 PM ----------

What where?

here: https://github.com/ZenfoneArea/android_kernel_asus_zenfone5

On it!
[Galaxy Tab 3 General] Angel_666:
Yes. It's from Zenfone, but it's Intel universal kernel for all mid-devices. May be it will help us to be closer to LoliPop...:)
[Galaxy Tab 3 General] Hazou:
Ye indeed. Will try it out this night :D
[Galaxy Tab 3 General] Angel_666:
Bluetooth works. Workin on camera for now...
[Galaxy Tab 3 General] bithunter_99:
camera is unimportent for me. I prefer thats the GPU Wifi, 3g and Sound works

but its nice to see, thats everything is possible
[Galaxy Tab 3 General] Dexter885:
From Stock firmware P5210XXUBNH1_P5210XACBNH1_XAC KitKat 4.4.2
[Galaxy Tab 3 General] xTear:
Is there any new?
[Galaxy Tab 3 General] NeoPreacher:
just wait, buddy. work seems to be in progress and it also seems to be a hard one. so everyone who can't do anything useful just stay cool, patient and greatful. thanks
[Galaxy Tab 3 General] Angel_666:
MTP storage mount works. Audio inputs (mic record) work for now, working on audio outputs (speakers, headphones). TinyAlsa and routing are killing me....
[Galaxy Tab 3 General] Nonta72:
Please remove me from developers list -.-

I noticed I occupied the spot while I'm doing nothing at all.

It's really hard to work on a device if you don't have it.

I'vd been trying to port Multi-window, Advanced Reboot, Init.d natively to KK firmware but I got no tester and and don't have the tablet.

Here's the biggest problem with this section of the forum: There's NO DEVELOPER and NO TESTER O.o !
[Galaxy Tab 3 General] slipsystem:
Hey guys I can test for 5200 if there is still a spot.
[Galaxy Tab 3 General] Angel_666:
Ok. Sound works now by tinyalsa and mixer_paths.xml, but only plays 48000HZ sample rate files. If I trying usual 44100HZ files by tinyplay it says: "Sample rate is 44100Hz, device only supports >= 48000Hz." Change rates in audiopolicy.conf not take any effect for this.

And if we see kernel driver for wm1811 - 48000 is defined by default. How can we convert 48000 ->44100? Any ideas? @Hazou?

Only sound and camera, and we will have full CM11.
[Galaxy Tab 3 General] ThaJay:
you guys are doing awesome work here.

i can help testing with the 5210.
[Galaxy Tab 3 General] bithunter_99:
sound is very important to me... i use it for streaming with my PVR... but i think, you have done a very good job. I dont think thats possible to get CM on the Tab3 10.1
[Galaxy Tab 3 General] Hazou:
Yes, there us a program in the android source that converts audio from one hz to another. I think it was libaudioresampler.so. But it needs to be implemented in the audio.primary.(board).so. I have seen some comment on how to do that, but never needed it myself. I will have an eye open if i find it
[Galaxy Tab 3 General] JSH12345:
I wish you accept me as a developer

I can also be a tester SM-T210
[Galaxy Tab 3 General] NeoPreacher:
This thread is just for 10.1 tab3. OP says p5200 p5210 p5220 only.
[Galaxy Tab 3 General] paef:
Hey. if wanted, I'm willing to jump in and help as a developer.

Can also help test on the P5210.
[Galaxy Tab 3 General] {4PDA}Rocketmanchik:
Hello if you want I can test this Rom on gt p 52 10 ;)
[Galaxy Tab 3 General] Tquarter:
​

+1
[Galaxy Tab 3 General] xTear:
Is it possible to get the current state of cm?
[Galaxy Tab 3 General] LegendSmoker:
It would be great if you could build an alpha/beta zip for users which don't care about camera and sound.

And if you guys still searching tester for P5210 needed then here I am :)
[Galaxy Tab 3 General] Angel_666:
I can build rom only for p5200 for now. If anyone can help with audio hal and tinyalsa it will be great. If anyone need p5200 rom i can upload. As for p5210 - there is 2 ways: change boot.img or build from source. If anyone want to do this - i upload sources tomorrow.

Rom state for now: Audio playback can't resample sound in needed freqency. Kernel driver support only 48Khz and audio play only 48Khz for now by the tinyplay. Audiocapture seems to work fine. Mic record works. As for camera - driver load correct, but can't connect to camera interface. Rom will be uploaded in this post later.

UPD. OK. Here is rom zip.

https://mega.co.nz/#!dBtFSYiA!JFp2xo8nQLWpFdPIXeShclJtefaAoiYWeY1aFb38_9Q

1. Install PhilZ recovery

2. Copy zip to SD

3. Select "Clean to install new rom" option. Your current rom will be wiped!

4. Select "Install zip" and wait cm installed.

5. Reboot. Wait for loading.

For P5200 ONLY! If U do not know what U doing - DO NOT INSTALL! It's early alpha for test and fix bugs!
[Galaxy Tab 3 General] :
Sounds good,

i still have my last build for 5210, i'm hoping maybe your boot.img will hold the answer for

why mount points are wrong on my build. :confused:

m
[Galaxy Tab 3 General] LegendSmoker:
[MENTION=5864662]moonbutt74[/MENTION] can you post your boot.IMG or give me some hints what has to be done /changed in Boot.IMG to get cm to Boot on P5210

edit . Just tried out [MENTION=5378432]Restl3ss[/MENTION]'s old boot.img from [MENTION=1649190]Angel_666[/MENTION] old Cm11 thread in dev section but no luck.

Can anyone of you great guys tell me wich files has to be modified?
[Galaxy Tab 3 General] :
L,

can you try this one out? straight compile of kk source, gt-p5210

flash through recovery, no assert.

angel, have you found any patches for the kk kernel source ? 52xx, i don't own the tab anymore, but stillle have ource [kernel]

m
[Galaxy Tab 3 General] Angel_666:
Rom that i uploaded was builded on KK kernel sources. No need to patch anything, just correct inits. As for audio - it seems like our tab do not use any of parameter-framework feauters, it have own special audioblobs. But geeksphone revolution and Zenfone use parameter-framework for routing audio. In second - only in our tab different wm1811 kernel driver is used. In other Clovertrail sorces used Intel SST driver. If i take hal sources from [MENTION=4021423]ketut.kumajaya[/MENTION] audio and route it for our device we have audio capture, but no resample in audio out and sound plays only by tinyplay and only 48Khz 16 bit. No sound in Android system at all. Only in tinyplay. Any thoughts? Anyone?
[Galaxy Tab 3 General] :
-deleted
[Galaxy Tab 3 General] LegendSmoker:
just tried out still stuck on ''Galaxy Tab 3''

tried with TWRP first, wiped, install rom, install bootimg, factory reset, reboot = Tab3 Logo

tried with Philz as Angels says : wiped to install new rom, install cm11, install bootimg, reboot = Tab 3

should i delate boot.img from Angels cm11 and replace with the new one and then try flashing again?

PS . and i was not able to flash your Philz Recovery via Odin 3,10+ only with 3.07 it worked
[Galaxy Tab 3 General] Angel_666:
If you use my last CM11 rom - moonbutt74's boot.img is not enough. You need also open my CM zip and correct /system/build.prop to santos10wifi values. Then repack zip and flash. I can make sources for wi-fi tab, but only when i fix audio.
[Galaxy Tab 3 General] LegendSmoker:
i try right now

Angel can i replace Moonbutt's boot.img with yours in zip ?

edit: tested out with moonbutts boot.img and edited build.prop which still stuck at Samsnug Galaxy Tab 3

here is the build.prop maybe someone can take a short look at this

DROPBOX
[Galaxy Tab 3 General] Restl3ss:
Just decompile the kernel / ramdisk and swap out all the init.*device*.rc's for the ones from the 4.4.2 stock kernel. Rebuild, edit build.prop in the system folder, and flash. For the previous build that's all i did to make it work on the p5210. Should in theory also work on the newer builds but since it's kk and not jb source you likely need to use the newer inits.
[Galaxy Tab 3 General] :
hey hey,

hi guys,

then kernel and modules are from 5210 kk source, it's likely my edit of the .rc's is missing something,

no longer having the tab I couldn't actually test myself, sorry.

m
[Galaxy Tab 3 General] xTear:
If i restart my Tab, the wifi password wont get saved..
[Galaxy Tab 3 General] Angel_666:
Thanks fo this. Will be fixed in next build.
[Galaxy Tab 3 General] xTear:
If i should enter my pin, the numbers wont show complete

And in some apps the statusbar (where the clock is e.g) somtimes colored green.. in a shout amount of time.

And the GUI is a bit Laggy (i use nova launcher)
[Galaxy Tab 3 General] Angel_666:
Go to developer settings and check "Disable HW overlays" this must help with green stripe untill next reboot.
[Galaxy Tab 3 General] xTear:
THX i try it later but what gapps we habe to use?
[Galaxy Tab 3 General] :
X,

[MENTION=5378432]Restl3ss[/MENTION] GAPPS x86

http://xdaforums.com/galaxy-tab-3/development-10/x86-frankengapps-20140813-4-4-x-t2847310

m
[Galaxy Tab 3 General] xTear:
The apps oft this package geht force killed. Only playstore works afaik.

//EDIT:

The Vibration wont work.
[Galaxy Tab 3 General] Restl3ss:
odd, works fine on the p5210 with the previous build. Some issues with google plus but updating fixes it. Wonder if I might have grabbed something specific to the wifi tab by mistake
[Galaxy Tab 3 General] :
Restl3ss,

hey hey, good morning,

that build was with jb kernel source, maybe a library.

m
[Galaxy Tab 3 General] slipsystem:
I think I can Make a Gapps Package that works.

currently I got everything except gmail as far as I can see.
[Galaxy Tab 3 General] khaledreno:
Great effort guys keeb going :D
[Galaxy Tab 3 General] xTear:
I really love the CM Build, but i switched back to SlimTab, because the WiFi Pw wont get saved..
[Galaxy Tab 3 General] :
[MENTION=1649190]Angel_666[/MENTION], does that have to do with wpa_supplicant ? meaning the following information should be stored in

/data/misc/wifi/wpa_supplicant.conf

u0_a62@android:/ $ su

root@android:/ # cat /data/misc/wifi/wpa_supplicant.conf

ctrl_interface=/data/misc/wifi/sockets
disable_scan_offload=1
update_config=1
device_name=<device-name>
manufacturer=samsung
model_name=<model-name>
model_number=<model-number>
serial_number=<serial-number>
device_type=<device-type>
config_methods=physical_display virtual_push_button
p2p_disabled=1

network={
ssid="CONNECTION_NAME"
psk="PASSWORD-PSK"
key_mgmt=WPA-PSK
priority=1
}

root@android:/ #

Failing to save ?

m
[Galaxy Tab 3 General] xTear:
You're right, the wpa_supplicant wont get saved. Could it be an permission problem?

But if i'm at home i try to edit the wpa_supplicant per hand.
[Galaxy Tab 3 General] khaledreno:
So what is the bugs till now ?
[Galaxy Tab 3 General] xTear:
How to Fix No-Saved WiFi:

i loaded the /data/misc/wifi/wpa_supplicant.conf file from the TouchWiz Rom

adb pull /data/misc/wifi/wpa_supplicant.conf wpa_supplicant.txt

Flashed the CM-Rom

Create a new File called: wpa_supplicant.conf and Open It, open the wpa_supplicant.txt from the TouchWiz Rom too.

ctrl_interface=/data/misc/wifi/sockets
disable_scan_offload=1
update_config=1
device_name=cm_santos103g
manufacturer=samsung
model_name=GT-P5200
model_number=GT-P5200
serial_number=<INSERT SERIALNUMBER>
device_type=<INSERT DEVICE TYPE>
config_methods=physical_display virtual_push_button
p2p_disabled=1
p2p_no_group_iface=1

INSERT your Serial Number and Device Type From your TouchWiz/Stock Rom wpa_supplicant.conf

push the File into the device

adb push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf

Now we set the permissions:

adb shell
cd /data/misc/wifi/
chown system wpa_supplicant.conf;
chgrp wifi wpa_supplicant.conf;
chmod 660 wpa_supplicant.conf

and now the WiFi Save should be works.

//EDIT:

Could it be possible that there is no init.d support build into this rom?

//EDIT EDIT:

Add Init.d Support and Disable HW Overlay on boot!

I've uploaded a zip file which contains the term-init.sh and an init.d script which automatically set the 'Disable HW Overlay' on boot(its an init.d script), the term-init.sh is to enable the init.d support.

Unzip the init.d.zip

Upload the 80disablehwoverlay to /etc/init.d/

After that, remove the sysinit from /system/bin

e.g.

adb shell
su
mount -o remount,rw /system
rm /system/bin/sysinit

After that place the term-init.sh on your sdcard e.g

adb push /YOUR_TERM_INIT_DIR/term-init.sh /sdcard/term-init.sh
adb shell;
cd /sdcard
./term-init.sh

And follow the instructions of the term-init.sh script.

After the Reboot, there shouldn't be any green stripe, and you got init.d support for some more tweaks! :D
[Galaxy Tab 3 General] social-design-concepts:
[MENTION=1649190]Angel_666[/MENTION] are you building the hwcomposer from source or using a prebuilt blob?
[Galaxy Tab 3 General] Angel_666:
Hwcomposer is prebuild blob for now. But HW video acceleration and omxil components are builded from source.
[Galaxy Tab 3 General] ward0:
i got a tab3 7.0 if you want my help .. i can test / develop ( PS , basic program .net , linux and cmd we all know the basics right? )
[Galaxy Tab 3 General] Angel_666:
Yes. But tab 10.1 is an intel x86 cloverview platform, and you device is different.. It means that all we do for our x86 - is not applying fo arm..
[Galaxy Tab 3 General] chchia:
I have a LTE P5220, i am great if i could help to test.
[Galaxy Tab 3 General] knoneNull:
hello samsung group im from zenfone 5 clovertrail x86 we already booted but the problem with audio mediaserver crush no sound and camera disconnected

can we get help or idea for audio to be hear, in our aosp 4.4.2 sound and camera working but in cm11 audio is dead and camera disconnected
[Galaxy Tab 3 General] quanganh2627:
Intel x86 OEM source (aka. BSP)

Hello , I'm trying to devel for my Zenfone 5, and I found that we can download all source from Intel through Windriver -support page. However, it aim to Baytrail building roms, but from its tags, branches... , I can see all our brand-name redhookbay, clovertrail, sc1 ,a500cg, ....No more words here is my reply email from Windriver

Recently you visited the Wind River web site https://support.windriver.com/android_bay_trail_eval/ and submitted a request for the Intel Android BSP for Atom Bay Trail M/D/I processors.

Attached are the instructions you need to secure the Intel Bay Trail M/D/I Android Kit Kat v4.4.2, v4.4.4 and v5.0 BSPs.

If you have any other questions, or need Wind River Systems to help with your Android project, please let me know.

Thank you.

and its attach which have download link inside at below
[Galaxy Tab 3 General] Hazou:
So u are saying that the 20,3 GB file contains some genuine source code about our phones? Especially interested in the sc1 off-course.

That it is more like a Git repo u get and we can checkout to one of the branches or is that not working?

Just trying to get some answers before i can download the file in more than 8 hours to test it myself :P
[Galaxy Tab 3 General] Angel_666:
[MENTION=4479363]Hazou[/MENTION] ftp://ftp.windriver.com/pub/IAS/android_442md here is the link witch you can find smaller file, separated by 5 parts:

bytmd_442_ww19. 00

bytmd_442_ww19. 01

etc..

overall about 5 Gigs i think...
[Galaxy Tab 3 General] Hazou:
Good, a lot smaller :) Want to try the ww47 too, but that one is 25 GB :o
[Galaxy Tab 3 General] social-design-concepts:
I got about 15 hours on all three from what I read the smaller split files don't contain the commit history so I went for the larger downloads.

Any one know where that script to compare the git history I'd like to see all the commits that diff from the aosp base.

Need to read the EULA it be nice to push the full repo to github
[Galaxy Tab 3 General] quanganh2627:
These links not to any Git-like repo, just a snapshot compressed file of AOSP-mix/fix by Intel+partners. It's very large, 'cause contains ".repo" folder (~ 17GB for 4.4, >20GB for 5.0.1_r2). It's for Baytrail (device/intel/baytrail) only, not actually for our chip, but when i check "git log", i can see alot of tags or commits for ours. It's look like:

[IMG="by command "git log""]https://drive.google.com/open?id=0BwEWY6gMvYOeRUpSZzh0X29mTlk&authuser=0[/IMG]

or [IMG="by "gitk" tool"]https://drive.google.com/open?id=0BwEWY6gMvYOeZ3R5UW9wODRneVU&authuser=0[/IMG].

i think maybe we can use this trick to get the source for our need. By the way, in Android 5 source code, i find a folder named "vendor/intel/google-diffs" which have patches sets for 4.2, 4.3, KK, lolipop, for a full trees and even for extractly redhookbay/clovertrail in it.

or this method in case you like to reference only ;)

Yes, [MENTION=4821597]social-design-concepts[/MENTION] right. It's spent me ~ 2 days to downloaded 4.4 in first time, i guess due to server.

i don't understand what you want, but i often use gitg or gitk to see within a project's commits, and git-gui or git-cola to add then fetch and diff within remotes of aproject (Aosp vs. CM...)

A stupid question, how to upload image direct from my lap to use in my xda post (not in attach) ?
[Galaxy Tab 3 General] social-design-concepts:
i think its something like this

repo forall -c '
if git rev-parse android-5.0.1_r1 >/dev/null 2>&1
then
git log --oneline --no-merges android-5.0.2_r1..android-5.1.0_r1
else
git log --oneline --no-merges android-5.1.0_r1
fi
' | cat

they post it on xda all the time showing the diff between android versions , I't be nice if it can be done to isolate the Intel commits.

But now i'm interested in the patches. . . [MENTION=5392204]quanganh2627[/MENTION] you think you could upload vendor/intel/google-diffs some where ?
[Galaxy Tab 3 General] quanganh2627:
This's for the patches (bout > 600M for full): https://github.com/quanganh2627/android_vendor_intel_google-diffs

For change-logs i will do it tonight
[Galaxy Tab 3 General] Hazou:
:good: I still hadn't have the time to look at it.. No Disk space on my linux machine :(

Hopefully they provide some nice code to optimize our android devices or even build kitkat/lollipop for it.
[Galaxy Tab 3 General] social-design-concepts:
Well 3 days and 127GB later I've downloaded all the repos their are.

I haven't looked into the commit history yet

But a quick glance through and I found we now have the tools needed to generate the ifwi / iafw files

Now to reach out to [MENTION=5078631]xxx-man-by[/MENTION] to see if we can extract the need proprietary individual parts from a devices firmware to generate custom firmware for devices possibility giving us the ability to unlock Locked devices

More than willing to offer my locked dv7 device as a guinea pig

Can't wait for the weekend
[Galaxy Tab 3 General] Hazou:
Hey, can u see if librapid-ril and/or libtcs is in one of the directory's? most likely vendor/intel/hardware?

I downloaded the lollipop one last night and it doesn't contain those 2 or any audio parts that are usable.

I can off-course find out myself by downloading them all, but u already don't it, so why not ask it :P
[Galaxy Tab 3 General] social-design-concepts:
I will when when I get home from work, I'll send you a full list of the directories too so you can see if you would like anything else.
[Galaxy Tab 3 General] Hazou:
If you could do that, that would be amazing. If you do this with only the intel sources in device, hardware and vendor it would be even greater.

I also noticed that most if not all of those files are protected by an NDA. But we/I never signed one, does it apply to us then aswell?
[Galaxy Tab 3 General] social-design-concepts:
I was only planning on searching list hardware , vendor/Intel, and if I find anything interesting in external.

Technically the NDA chain is Intel - windriver - user windriver sent download instructions to.

A couple .deb I installed were NDA agreed during installations.

But some would argue that simply knowing that the NDA exist is acceptance of the NDA.
[Galaxy Tab 3 General] social-design-concepts:
i can confirm librapid-ril in this source bytmd_ww40 , i'm extrcating the rest now. . .
[Galaxy Tab 3 General] quanganh2627:
yes, if your disk still have spaces, and filter out of Intel folders so you're the great. i've downloaded 2 tarball of them, then i must deleted one for spaces issue. but after that, i know it's very stupid. like i see, some proj appear in 4.4, but missing in 5.0 , even in code/patch relate, it still appear or link to it. i'm trying re-download it by uget, but it hang up after a long day/60~70%, i must reboot then it restart from the scratch[emoji49] [emoji49] [emoji49]
[Galaxy Tab 3 General] social-design-concepts:
so it took some time to extract so i have just attached the manifest from the four i downloaded , View attachment 3242446 , oddly the bytmd_442_ww28.tar.gz suggest it would be a 4.4.2 build but it is a 4.4.4 also.
[Galaxy Tab 3 General] Hazou:
Thanks, Look like i need to download the ww40 one. It also contains some kernel thingy's and a long as the Razr I still has no open kernel source for 4.4.2 i need to figure out myself.

Good thing is the rapid-ril is there, let's see if it is better then the one on github.

The main thing I miss is the audio sources. Some of those are metioned by the code in intel/common and intel/baytrial. Unlucky for us they didn't provide it. It could be a huge factor if we could get that. If i only look at the Rom part.
[Galaxy Tab 3 General] social-design-concepts:
There looks to be a lot of good stuff for recovery / droidboot the sources for backing up the osii / osip images as well as the sources for writing them some documentation on how those images are stored and on the boot process.

the OEM partitioning tool source could be useful to add the entries for grub2 , chrome ,and windows gpt ID's

The tools for generating ifwi files though we first have to properly disassemble the needed parts from a stock firmware.
[Galaxy Tab 3 General] Angel_666:
Found it in hardware\alsa_sound directory i think. It's from ww_40
[Galaxy Tab 3 General] social-design-concepts:
repo forall -c '
echo $PWD
if git rev-parse android-4.4.4_r1-byti >/dev/null 2>&1
then
git log --no-merges android-4.4.4_r1..android-4.4.4_r1-byti; echo;
else
git log --no-merges android-4.4.4_r1-byti
fi
' | cat >> ~/android-4.4.4_r1-byti.log

View attachment 3264954 android-4.4.4_r1-byti-2015ww05 BSP Change Log
[Galaxy Tab 3 General] social-design-concepts:
So all hope isn't lost for clovertrail plus and lollipop The Asus ME372CG got lollipop, they all use the same GPU so shouldn't the proprietary libs for the redhookbay be able to be used?
[Galaxy Tab 3 General] Angel_666:
Tried libs from zenfone and geekfone - didn't work. Some changes on kernel level i think...