yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] K900i:
I wish you could pocket the 200 $ (actually more)......you are sooo worth it ! :good: :good: :fingers-crossed:
[Galaxy S 4 i9505 Android Development] geiti94:
i am working now on it. its easy to fix. when i have the rom ready i wil relase it. first version without audio and lite (full debloated and only 350mb) to test the rom and then when audio is working 100% i wil relase the full version that is 1gb
[Galaxy S 4 i9505 Android Development] iamnotkurtcobain:
Great!! Which kernel do you use? Can ktoonsez kernel be used?

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Android Development] geiti94:
at the moment chronikkernel because it have some htc one files in it but we can still use ktoonez kernel. when the rom is working i wil mod some kernel for this rom
[Galaxy S 4 i9505 Android Development] iamnotkurtcobain:
Could you mod the latest 28.8. ktoonsez kernel? It's better than chronic.

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Android Development] Bafacchio:
Eheh...let him fix the main issues like audio, first! ;)
[Galaxy S 4 i9505 Android Development] geiti94:
is must fix android.process.media and gaps fc. that wil be a bit hard to fix
[Galaxy S 4 i9505 Android Development] geiti94:
so i am uploading a developer edition now. i need help with the fc`s. media and gapps + phone (when i set apns) have fc`s
[Galaxy S 4 i9505 Android Development] K900i:
350 MB ?
[Galaxy S 4 i9505 Android Development] geiti94:
no. developer edition is full version with all apps.

Only for Developers!!!!! this rom only boots and nothing other!! is only for fixing the fc`s!!! Alpha 2.0 Developer Edition Download

Graphics have gliches but is not needed to fix it because i fixed it allready.
[Galaxy S 4 i9505 Android Development] Shreyas:
Ah, Finally.. Wonderful combination here. Samsung H/W and HTC S/W. Fantastic. Wish to see this a successful rom and also if we could get this on I9500 model too. Wonderful work. Hats off to you.
[Galaxy S 4 i9505 Android Development] :
Well just ask what files were replaced from the others and find out and you should be able to play around with it. But you have a diff soc

---------- Post added at 10:10 AM ---------- Previous post was at 10:08 AM ----------

So basically you lost me now .
[Galaxy S 4 i9505 Android Development] tids2k:
stuck at NFC .. grrr
[Galaxy S 4 i9505 Android Development] geiti94:
i fixed nfc 5 min ago. now its time to fix the gapps error and media error. but after apple event xP i will see what fails wil make apple this year. never and never again i wil buy an iphone. i love android. my best buy phone is SGS4
[Galaxy S 4 i9505 Android Development] tids2k:
how did u fix it ? copy nfc_jni.so from GE ? or made changes thru smali ?
[Galaxy S 4 i9505 Android Development] geiti94:
i added the flibnfc*****.so from original 4.3 sense rom.
[Galaxy S 4 i9505 Android Development] tids2k:
That's good. The android.process.media is linked to the SD card ... The rom is not seeing sdcard .. Which HTC ROM have you taken for porting ..
[Galaxy S 4 i9505 Android Development] geiti94:
i used 4.3 google edition
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
Huh? Not the leak version sense 4.3?
[Galaxy S 4 i9505 Android Development] geiti94:
i mean i used files from google edition. yes is the 4.3 leak. i becomed today my htc one in black. now is time to see how the phone works and extract all data and mace logcats to see what files the phone loads
[Galaxy S 4 i9505 Android Development] K900i:
Did you just buy a new HTC one for porting ?
[Galaxy S 4 i9505 Android Development] geiti94:
yes i buyed a new htc one because i have an htc one but is my second dayli and i dont touch my daili devices
[Galaxy S 4 i9505 Android Development] Laurentiu27:
lol

so u buyed a htc one for testing purpose only?
[Galaxy S 4 i9505 Android Development] geiti94:
for testing and exctract data and more. i think it can help me with the sense 5 porting
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
You'r a son of a millionaire?
[Galaxy S 4 i9505 Android Development] Laurentiu27:
ahahaha nice question :))
[Galaxy S 4 i9505 Android Development] K900i:
So you have 4 s4s and 2 htc ones ?
[Galaxy S 4 i9505 Android Development] Mikeytjee:
Let the man work! Haha
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
By now he must have 50% shares with htc and Samsung. Keep up the good work.
[Galaxy S 4 i9505 Android Development] geiti94:
no now are 2 s4 1x i9500 (japan version i dont know the modell number) and 1x i9505. i have 4 htc 2x htc one and 1x desire z and 1x desire and the broken one x+. and no i am not a son of a millionare. i have money myself xP i fix phones here in switzerland like iphone and galaxy s3/4

i gived the other 2 s4 my dad and my mother
[Galaxy S 4 i9505 Android Development] Bafacchio:
Thanks for your dedication in developing :)
[Galaxy S 4 i9505 Android Development] geiti94:
so the media.process error comes from mtp service. i wil now try to find what files are for mtp and i wil change it with google edition one
[Galaxy S 4 i9505 Android Development] geiti94:
so found a newer 4.3 leak. i think this would be the official one http://xdaforums.com/showthread.php?t=2440427
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
Leak is not official Official shows up in your notification bar. :silly: Will this new leak help you?
[Galaxy S 4 i9505 Android Development] geiti94:
i only think this could be the original one because is a at&t build. i dont know when it can help but i wil try to use it. because the old 4.3 leak have to much fc`s
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
The old leak is in fact newer that this latest leak.
[Galaxy S 4 i9505 Android Development] geiti94:
but with this build i dont have gapps fc. only media fc. i got it booting without problems only the media fc. now is time to test 3g and see if here are phone process fc`s
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
Man your fast
[Galaxy S 4 i9505 Android Development] geiti94:
i have all files ready to copy :p only copy and paste and then logcat
[Galaxy S 4 i9505 Android Development] perrito3:
Good news:D
[Galaxy S 4 i9505 Android Development] geiti94:
4.3 is suspended. back to 4.2.2 because 100% stabler and it can boot without fc`s. the rom wil stay at 4.2.2 . now is time to work on 4.2.2 but from new from my clean extracted system from htc one
[Galaxy S 4 i9505 Android Development] :
Oh you guys are never going to stop of topic threads. At least write something related first then of topic.
[Galaxy S 4 i9505 Android Development] atadres:
This is a much better way to go then 4.3 untill a stable is out hopefully by then we have audio 3g 4g exd and only have to fix the fcs I have been working with this rom for att gs4 still no luck flashed old radios and latest radios wifi works as static ip
[Galaxy S 4 i9505 Android Development] Joeyxc:
Same here pm me I've had the same issues but maybe together we can get it working for I337
[Galaxy S 4 i9505 Android Development] atadres:
alright i msgd u while were at it lets also look into getting audio going for 9505 as well i will hopefully be getting a htc one by months end
[Galaxy S 4 i9505 Android Development] geiti94:
does anyone know hoe i can contact cayanogenmod maker? i think they know what are all libs for audio
[Galaxy S 4 i9505 Android Development] xXchrizhurtyXx:
https://plus.google.com/100275307499530023476/about

Thats the founders Google Plus, try using hangouts to contact him.
[Galaxy S 4 i9505 Android Development] geiti94:
thx i wil try now
[Galaxy S 4 i9505 Android Development] xXchrizhurtyXx:
No prob. I also went ahead and tried messaging him.

hopefully he responds.
[Galaxy S 4 i9505 Android Development] geiti94:
or i try to contact samsung it self :p they dont give information :crying: i must look to find out every singel lib for audio in cm 10.1
[Galaxy S 4 i9505 Android Development] ktetreault14:
Cabt wait to run this dualboot with GPe ROM :D

_____________________________________

If I actually did help, how bout a Thanks:D
[Galaxy S 4 i9505 Android Development] Laurentiu27:
rom

no stable rom yet?

i mean still problems with sound?
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
Avatar doesn't reflect you.
[Galaxy S 4 i9505 Android Development] Laurentiu27:
and point is?
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
Here are all the answers to your questions. READ!

http://xdaforums.com/showpost.php?p=44528442&postcount=1

And if you still have questions go here http://xdaforums.com/showthread.php?t=2413725
[Galaxy S 4 i9505 Android Development] geiti94:
here an image. sense 5 on htc one and sense 5 on SGS4. i wil have and make a 100% working port because i love sense. it is smoth and all. i hoope i get audio working soon
[Galaxy S 4 i9505 Android Development] iamnotkurtcobain:
Danke! :)

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Android Development] :
Can it be the detection of speakers that's the problem. That it search for 4 (3 sound speaker) and one for call? As we only got two and most likely not same "link" to those. If I'm not wrong but htc one uses something more. Not beats audio. But something more related to the audio. If we could kill it or anything it would be awesome. If not try read how they made a linker to get audio processing from ics to jb I'm sure you must find your own way to make the sound work. But I'm sure it will help you allot. The linker is good in those times. However just need to know if we can make a linker so it's processing like our phones are intended to.

About camera. It's most likely some bad librendering stuff. At least it connects. That's also sometimes a bit of a problem. Now it's only camera rendering that's need to be fixed. No idea how to resolve it. But maybe you need to find a working lib by experimenting. Or again making some sort of linker. I wish I could help. But a daily phone and you don't have a spare phone makes you unable to work as you want to.

Well good luck and try to see if someone is willing to try a linker. I assume the great developers for galaxy sii former known as codeworkX (not sure if he changed name) but if they're willing to help it would be good. I know they're more inte aosp. But at least give it a shot to contact them.

End of my comment. Sent from my phone without nv_data.bin
[Galaxy S 4 i9505 Android Development] geiti94:
i here any software or a script that i can see what lib/files is the htc one loading when i am using audio or 3g etc? when here is any software or script then i can use my htc one.

3g because is now working for all
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
Back to first page :p
[Galaxy S 4 i9505 Android Development] geiti94:
nono. camera is working and 3g too but 3g is not working for all. i wil fix it permanentli for all
[Galaxy S 4 i9505 Android Development] ktetreault14:
Could you upload the latest version with 3g working for all :D please!!

_____________________________________

If I actually did help, how bout a Thanks:D
[Galaxy S 4 i9505 Android Development] geiti94:
i got audio semi working (only headphone) thx for this file list. i hoope i can get audio working with this file

audioflinger must we not touch because device would boot if we change this
[Galaxy S 4 i9505 Android Development] :
it will boot only if its the same size when edited, we can hex edit it but it hase to be exactly the same size, not a single byte wrong
[Galaxy S 4 i9505 Android Development] CNexus:
How did you get audio semi-working?

Also, the list of all crucial files you need are here:

https://raw.github.com/CyanogenMod/android_device_samsung_jf-common/cm-10.1/proprietary-files.txt

and here

https://raw.github.com/CyanogenMod/...f-common/cm-10.1/common-proprietary-files.txt

The reason it won't boot doesn't really have anything to do with the size, it has to do with the fact that the Sense libaudioflinger has more symbols and methods than the CM one, and the Sense rom is looking for the additional symbols that are only present the Sense libaudioflinger

EDIT: Can someone check if bluetooth is working also..?
[Galaxy S 4 i9505 Android Development] :
yes but adjusting the size can make it to not boot :)
[Galaxy S 4 i9505 Android Development] CNexus:
Yeah but that's a different issue not specific to Android since it has more to do with how source code is compiled
[Galaxy S 4 i9505 Android Development] :
i never said it was android issue mate :)

anyway thanks for the list, it can be useful,
[Galaxy S 4 i9505 Android Development] skrapi:
I look forward to trying out a usable one soon :) keep up the good work
[Galaxy S 4 i9505 Android Development] Joeyxc:
This is amazing if you need any help let me know!

Sent from my SGH-I337
[Galaxy S 4 i9505 Android Development] :
every help is welcome :silly:
[Galaxy S 4 i9505 Android Development] ktetreault14:
Alright thanks. I'm going to try again

_____________________________________

If I actually did help, how bout a Thanks:D
[Galaxy S 4 i9505 Android Development] Oweida:
How did you get it semi working ?!

What files did you add ?!

And please would post your logcat ?!
[Galaxy S 4 i9505 Android Development] Joeyxc:
Im using the ATT s4 and have no wifi or internet is there anyway to get 4g? It wont let me edit the apns
[Galaxy S 4 i9505 Android Development] Joeyxc:
I'm not asking for etas but is this going to be a regularly updated rom or the type that's purely a base than you release fixes or otas?
[Galaxy S 4 i9505 Android Development] geiti94:
a new version wil be here soon
[Galaxy S 4 i9505 Android Development] LOSTLOGIC89:
Awesome
[Galaxy S 4 i9505 Android Development] Joeyxc:
Cant wait this is my dream only reason I didn't get the one was battery, sd, and screen now I can finally have sense this is amazing just need data Wifi and few other necessities and it'll be great
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
I think camera will be nearly impossible with all those feature. Hope it will be possible.
[Galaxy S 4 i9505 Android Development] geiti94:
tats my same reason. i dont get the one because it dont have sd
[Galaxy S 4 i9505 Android Development] Joeyxc:
Is there anything I can try to edit apns to get Internet I can get texts and calls but not Internet from Wifi or data

---------- Post added at 09:59 PM ---------- Previous post was at 09:53 PM ----------

Yeah but it's a beautiful rom I love sense and now we're so close to having it this is going to be great as soon as it has sound and data and Wifi it's my daily from now on I've always been flashing aosp and tw custom stuff trying to find a fit for me this is so great
[Galaxy S 4 i9505 Android Development] :
Have you tried to enable the airplane mode and disabled it, that should help you being able to access the apn settings. At least I was able to.
[Galaxy S 4 i9505 Android Development] geiti94:
only when its fixed prtmanentli. in 1.5 alpha 3g works but not for all
[Galaxy S 4 i9505 Android Development] ktetreault14:
I am definately ready to swe this. Great work :D

_____________________________________

If I actually did help, how bout a Thanks:D
[Galaxy S 4 i9505 Android Development] geiti94:
so last step to get audio working!!!!

here can you see. i only need to find the speaker config

I/AudioFlinger( 254): loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 1

E/AudioPolicyManagerBase( 254): Not output found for attached devices 00000003

E/AudioPolicyManagerBase( 254): Failed to open primary output

V/AudioPolicyManagerBase( 254): getDeviceForStrategy() strategy 0, device 2

V/AudioPolicyManagerBase( 254): getDeviceForStrategy() strategy 1, device 2

E/AudioPolicyManagerBase( 254): getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION

V/AudioPolicyManagerBase( 254): getDeviceForStrategy() strategy 2, device 2

E/AudioPolicyManagerBase( 254): getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION

V/AudioPolicyManagerBase( 254): getDeviceForStrategy() strategy 2, device 2

V/AudioPolicyManagerBase( 254): getDeviceForStrategy() strategy 3, device 2

V/AudioPolicyManagerBase( 254): getDeviceForStrategy() strategy 0, device 2

V/AudioPolicyManagerBase( 254): getDeviceForStrategy() strategy 4, device 2

V/AudioPolicyManagerBase( 254): getDeviceForStrategy() strategy 5, device 2

E/AudioPolicyService( 254): couldn't init_check the audio policy (No such device)

but rom boots now with files in it
[Galaxy S 4 i9505 Android Development] ktetreault14:
That would be amazing if we can hear it . tonight:D

_____________________________________

If I actually did help, how bout a Thanks:D
[Galaxy S 4 i9505 Android Development] Cal-El:
Your amazing. I have been here a long time and have yet to see a fully working Sense to Samsung port. You have already passed any expectations I would have had for this Rom. Well done good sir.
[Galaxy S 4 i9505 Android Development] K900i:
Sac23 said a few days ago that he almost got the camera working 100 %........we might be able to fix the camera from his port too ?
[Galaxy S 4 i9505 Android Development] :
(OT)The camera seems just about working other than the pink display, however, as mentioned already it does function just perfectly with many Play Store apps and if anyone wants to try this experimental port and report back, I don't have the Alpha 1.5 installed currently but would like to know whether this works.

Regards

Flashmore
[Galaxy S 4 i9505 Android Development] K900i:
I know other cameras work, I am talking about the stock camera.

the lenovo camera didn't zoom at all for me when using aosp rom
[Galaxy S 4 i9505 Android Development] :
I understand about the stock camera, however, we're dreaming to think that the HTC camera app will ever function as it does in M7, with Zoe etc.

That is seriously expecting too much, to be honest, simply any app, mod, code, hex etc that gets the camera working or any other hardware on a ported ROM should be considered achievement.

EDIT: Also I wasn't asking about AOSP please keep my OT post on topic :P

Regards

Flashmore
[Galaxy S 4 i9505 Android Development] geiti94:
i know i am working with sac23. i have sac in gtalk :D
[Galaxy S 4 i9505 Android Development] geiti94:
so now i have more hard drive in my pc and can continue with the rom. porting need to much hard drive space >.<
[Galaxy S 4 i9505 Android Development] goobieracing:
Thanks for all the great work, dedication, and expense your putting in this!
[Galaxy S 4 i9505 Android Development] Oweida:
[MENTION=1649452]geiti94[/MENTION]

You mentioned that somebody got audio working in note II !

Who is he and what type of note II he has ?!
[Galaxy S 4 i9505 Android Development] Laurentiu27:
When do you think will be ready?
[Galaxy S 4 i9505 Android Development] Oweida:
Can you provide a full logcat of audio Hal ?!
[Galaxy S 4 i9505 Android Development] geiti94:
is the exynos note 2 n7100. i have his note here because i must fix his sim and sdcard reader. yes i put now the complete logcat on pastebin
[Galaxy S 4 i9505 Android Development] Oweida:
Which rom did you use to get it working in note is it m7 ?! Can you upload the rom , I have S III may be I can work on it too ?!

For the sdcard try replacing sdcard from bin folder ..
[Galaxy S 4 i9505 Android Development] geiti94:
no i need to replace the sd and sim reader because sim pins are broken. i must ask my naigboar for sharing the rom because it wil not relase it. it wil relase it only when the rom is finished but i ask him. here the logcat https://www.dropbox.com/s/qi06xbgfy2wqskl/newaudio8.txt i cant put it on pastebin because to big

EDIT: i used the 4.1.2 rom port for the incredible s on the note 2 but it is self fixing the rom. i only got it booting
[Galaxy S 4 i9505 Android Development] Oweida:
I really impressed how did you reach to this point ?!!!!

In build.prop just change the name to match cm ones and etc folder replace the audio_policy file .

When you press in phone buttons do you hear any sounds ?!

Very impressive work :good:

Edit: [MENTION=1649452]geiti94[/MENTION] try also replacing libhardware_legacy.so
[Galaxy S 4 i9505 Android Development] dgcyears:
So I guess this is a cm based port? It has the stock android camera, no samsung galaxy s4' stock one?
[Galaxy S 4 i9505 Android Development] geiti94:
the file in etc is replaced but no audio. i replaces that files to get to this point

etc:

firmware/wcd9310 (folder)

snd_soc_msm/snd_soc_msm_2x_Fusion3

audio_policy.conf

lib:

hw folder the original htc one files because it have the same soc chip and there are some required line because when i swap these files it dont start. i only replaced in this folder audio_policy_default.so and audio_policy_msm8960.so

libacdbloader.so
[Galaxy S 4 i9505 Android Development] geiti94:
thats the original htc one rom. i only used device blobs (driver) from the cm 10.1 build to get it booting
[Galaxy S 4 i9505 Android Development] Oweida:
Try replacing two libs for hardware ( libhardware_legacy.so & libhardware.so ).

Plus in vendor folder did you add audio_policy.conf ?!

Also soundfix folder if you are using cm put back the htc one files.
[Galaxy S 4 i9505 Android Development] geiti94:
sound fx is the htc one i dont used cm one. with libhardware+ legacy lib i wil try now.

no i dont added audio_policy.conf in vendor folder i wil try too now
[Galaxy S 4 i9505 Android Development] Oweida:
But if in soundfix you didn't use cm files plz use them because in audio_policy.conf the reference is using cm ones !!!
[Galaxy S 4 i9505 Android Development] geiti94:
i think i found the fix!! i nedd to hex edit audio.primary.msm8960.so and change the output port

we nedd to change all AUDIO_OUTPUT_FLAG_PRIMARY lines to match the samsung one

UPDATE: i changed the 2 libs you say. same result and rom dont boots
[Galaxy S 4 i9505 Android Development] geiti94:
so i decompiled all audio hw files and now i know what libs they need xP i think audio wil be working soon
[Galaxy S 4 i9505 Android Development] ktetreault14:
You sir, are amazing
[Galaxy S 4 i9505 Android Development] sd_N:
Im totally stoked to see this rom in working order. U are doing a great job. Thanks for your effort and for not giving up.
[Galaxy S 4 i9505 Android Development] geiti94:
so now building rom and then flash. i hoope it works or i wasted 3h work
[Galaxy S 4 i9505 Android Development] geiti94:
first try dont worked. but i wil try the whole night to get audio working
[Galaxy S 4 i9505 Android Development] Joeyxc:
If im correct the new version will be compatible with any s4 like my att s4?
[Galaxy S 4 i9505 Android Development] geiti94:
when all ends good yes it will be compatible with all s4 but i can not confirm at the moment
[Galaxy S 4 i9505 Android Development] ktetreault14:
You are doing great and have gotten far farrher than any other sense port I have seen. No matter how long it takes everyone knows it gonna be awesome:D
[Galaxy S 4 i9505 Android Development] atadres:
We will indeed have it working for s4 att this however will require a lokid kernel of the original i9505 kernel used in the build
[Galaxy S 4 i9505 Android Development] goobieracing:
Data doesn't work when you Loki the kernel that's what he was talking about. He wants to make it work with all carries that's what he talking about.
[Galaxy S 4 i9505 Android Development] geiti94:
no when all works on the gsm s4 i wil make other versions with at&t device blobs and kernel etc
[Galaxy S 4 i9505 Android Development] goobieracing:
I thought since he was talking about the loki'd part Loki doki takes care of that and that the version 1.5 everything works with that but data. I know you are working on version that'll work with all but wasnt a sure thing so I just wanted to make sure it was know that I rt wasn't just a loki'd kernel issue.
[Galaxy S 4 i9505 Android Development] atadres:
Oh no I know at the moment we dont have data on att gs4 I was refering to after the gsm with all 3g working that op says he will have
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
Stop you all about talking and asking will it work on this or that. Let ther man work. This is the international forum. So those questions are of topic and of forum. Go ask there to a kernel dev for Loki kernel.