yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] geiti94:
/system/lib/libsoundpool.so

/system/lib/soundfx folder

/system/lib/hw/audio.primary.goldfish.so

/system/etc/audio_policy.conf

/system/lib/hw/audio.primary.msm8960.so

/system/lib/hw/audio_policy.msm8960.so

/system/lib/libsamsungDiamondVoice.so

/system/lib/libcontrolcsc.so

/system/lib/libssaudio-client.so

i think because with this files audio loads
[Galaxy S 4 i9505 Android Development] CNexus:
HTC services are definitely there, I added them to mine. It will fix things like charging and proper shutdown, as well as some necessary post-boot initializations.
[Galaxy S 4 i9505 Android Development] CNexus:
Ignore that for now, they're just warnings anyway. It won't keep the rom from booting if that's what you're getting at
[Galaxy S 4 i9505 Android Development] geiti94:
is that because some libs are missing? all time i make a new build a lib is missing and i am adding it. when all libs are here it boots?
[Galaxy S 4 i9505 Android Development] CNexus:
No, that does not mean that a lib is missing

And yes, when all libs are there that it needs, it will boot. A lot of stuff will be broken of course
[Galaxy S 4 i9505 Android Development] geiti94:
by replacing audio files 3g got working and wifi too but only with static ip :confused: i think android is a little bit confusing me
[Galaxy S 4 i9505 Android Development] :
That is fixed by replacing some wifi files, remember 4.3 leak had same issue. And it was fixed however this is a different stage though 0.0
[Galaxy S 4 i9505 Android Development] geiti94:
now i have a problem. when i use cm 10.1 files to get audio working. audio (logcat) loads but rom stay at htc logo and after 15 min comes the bug report message. rom dont boot only when i change libalsa-intf.so. i think sense have lines in it
[Galaxy S 4 i9505 Android Development] geiti94:
so for the moment i must make a pause. i must buy a new s4 test phone because mine is dead >.< redbull on it i think i have the money in 1 week to buy a new one when not then i must go to work :crying: i dont touch my daily because i bricked it one time and was lucky to unbrick it
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
In other words ....
[Galaxy S 4 i9505 Android Development] geiti94:
i wil continue porting in max one week. i orderet a new s4 3 min ago. but my neighbor have an s4 with cracked screen. i can ask to have it as test phone. i think it say yes. i call it now

EDIT: i can have his phone for porting and cost me nothing bu i must root his htc one and i can have the s4.
[Galaxy S 4 i9505 Android Development] Droid_Dustin:
thank you for doing this hard work! :)

oh, und grüße an die schweiz :p
[Galaxy S 4 i9505 Android Development] Joeyxc:
Yay! Hopefully v2 will arrive soon! Thank you for everything
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
I can Sense that this will be continued. Well One thing this thread proofs is that red bull really makes you fly.
[Galaxy S 4 i9505 Android Development] geiti94:
i am rooting the htc one now. i can continue in 30 min (i have the test s4 with brocken glas). i have a build with working wifi/data. i am working on audio now.
[Galaxy S 4 i9505 Android Development] Joeyxc:
Awesome this is going to be perfect is the sense blinkfeed going to work with data? Blinkfeed is the default flipboard like home screen
[Galaxy S 4 i9505 Android Development] K900i:
sorry for your bricked phone.....this thing better work atleast for the hard-work you put into it :good:
[Galaxy S 4 i9505 Android Development] geiti94:
so now i can continue.i need anyone who can read logcat because in logcat i am a noob xP i have a build and loads audio but stay at htc logo
[Galaxy S 4 i9505 Android Development] Oweida:
hi again ,, what did you do to make the audio working ?! what libs you used the AOSP or the CM ?!
[Galaxy S 4 i9505 Android Development] geiti94:
cm 10.1 files. you have a pm
[Galaxy S 4 i9505 Android Development] Joeyxc:
http://developer.android.com/tools/debugging/debugging-log.html I'm not much help in logcat but I hope this is
[Galaxy S 4 i9505 Android Development] Joeyxc:
I've done a little reading if you haven't finished analysing the logcat with my link I'll try to take a look
[Galaxy S 4 i9505 Android Development] geiti94:
i looked in it. but i dont see anything in my logcat why rom dont boots at all
[Galaxy S 4 i9505 Android Development] Joeyxc:
But without audio it still boots?
[Galaxy S 4 i9505 Android Development] CNexus:
Post a link for me

pastebin/ubuntu paste
[Galaxy S 4 i9505 Android Development] geiti94:
http://pastebin.com/CuFGMn2d here
[Galaxy S 4 i9505 Android Development] CNexus:
Line 281

grep for that symbol in your CM/GPE rom (_ZN8...)

Did you replace hwcomposer with your version?
[Galaxy S 4 i9505 Android Development] geiti94:
no i dont replaced hardware compose. its yours. for grep i need linux?

i am installing ubuntu as vm. how i can grep correct? i readet some article but i dont understand
[Galaxy S 4 i9505 Android Development] CNexus:
You can use Windows grep, it's got a gui and everything

Also, replace hwcomposer, liboverlay, and gralloc with gpe
[Galaxy S 4 i9505 Android Development] geiti94:
but when i replace gralloc i dont have graphics
[Galaxy S 4 i9505 Android Development] CNexus:
Try just replacing hwcomposer and liboverlay then

Oh, and libmemalloc
[Galaxy S 4 i9505 Android Development] geiti94:
so building rom now with the file you said me

[MENTION=4645794]CNexus[/MENTION] rom stays with black screen =( but logcat say i must grep another xP

do you know how i can mount the system when i am in recovery? i dont wand to make alltime a new build and copy it on my sd.
[Galaxy S 4 i9505 Android Development] CNexus:
What I do is I set the following values in the boot.img/ramdisk/default.prop so I can do adb remount and then adb push files.

ro.secure=0
ro.adb.secure=0
persist.service.adb.enable=1
ro.debuggable=1

Then I can do this.

adb remount
adb push libxxxxx.so /system/lib
[Galaxy S 4 i9505 Android Development] duarteslb:
I am a total noob in terms of development yet this thread id really exciting!
[Galaxy S 4 i9505 Android Development] javier13javier:
I installed it for test purposes, wow ! this port is amazing i want the v2 as soon as possible! great job!
[Galaxy S 4 i9505 Android Development] Joeyxc:
Greatest ever I hope 3g and Wifi is released soon but Ik he's waiting for sound too
[Galaxy S 4 i9505 Android Development] :
And we can't make a wrapper or anything ?
[Galaxy S 4 i9505 Android Development] Joeyxc:
Since 3g is coming does that mean that market installs and blinkfeed work?
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
You can look in the future? As of now it does not do anything yet. Your way ahead
[Galaxy S 4 i9505 Android Development] Joeyxc:
Sorry for noob question but what's a wrapper
[Galaxy S 4 i9505 Android Development] kevin95:
Wow, this rom looks amazing! Hope to see it become stable very soon. Keep up the good work :D
[Galaxy S 4 i9505 Android Development] HellRoot:
If this becomes stable and development continues and / or I can do anything to help let me know.. I will gladly donate if it gets finished :)

Just write me a PM if I can help... I am a software developer... So i might be able to do something
[Galaxy S 4 i9505 Android Development] Joeyxc:
Same here you deserve it I can't wait
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
Quote wrong person
[Galaxy S 4 i9505 Android Development] :
I remember they've made a wrapper to get audio work on galaxy s2 but this was from 4.0.X to 4.1.X but it worked. But maybe this is a different situation.

---------- Post added at 08:56 PM ---------- Previous post was at 08:41 PM ----------

Since I suck at explain http://developer.android.com/reference/java/sql/Wrapper.html

Read there for better information. I can't explain it in English since I don't know how should write but if you know what wrap is you sure can understand what a wrapper is
[Galaxy S 4 i9505 Android Development] Joeyxc:
Are you still using cm files for audio?

---------- Post added at 08:45 PM ---------- Previous post was at 07:56 PM ----------

That might be the issue, using cm and ge files to make it functional
[Galaxy S 4 i9505 Android Development] Oweida:
@CNexus @giteti94 @laststandingdroid

I built a new rom based on AOSP not Cm the rom boots and even the sdcard is mount in my pc the logcat is showing every thing except sound is working but the screen is completely black !

Any idea ?!
[Galaxy S 4 i9505 Android Development] Joeyxc:
So did it go black after the boot screen or after
[Galaxy S 4 i9505 Android Development] Oweida:
It got black just after Samsung logo !
[Galaxy S 4 i9505 Android Development] Joeyxc:
Hmm that's odd what did the logcat show?
[Galaxy S 4 i9505 Android Development] :
Hm if I'm not wrong it did the same for me once but it was due to vold g think. But it seems to be surfacefinger problem, if I'm not wrong or does it only handle the screen orientation , well what's the logcat?

I remember porting honeycomb and the screen was upside down. But I'm not sure if it handles more info than that.
[Galaxy S 4 i9505 Android Development] geiti94:
i tried to. is a lib problem. you need to swap hwcomposer with ge one and these 2 libs libqservice.so and external.so. i get with these libs screen working but rom dont boot. but look logcat because some libs muss you grep
[Galaxy S 4 i9505 Android Development] geiti94:
so buildet new version. now its time to see if the rom boots. when not i have a long logcat night
[Galaxy S 4 i9505 Android Development] Joeyxc:
Fingers crossed!
[Galaxy S 4 i9505 Android Development] Oweida:
It's indeed a surfaceflinger problem :(

ok I completely based my build on AOSP (GE)

- egl folder.

- hw folder.

- in lib folder I have added/replacced ( libgenloc.so, libmemaloc.so. egl.so, libgl***.so, libexternal.so.libgsl.so, libdl.so, liboverlay.so, libopencl.so, libopenvg.so plus libqservice.so.

I will post the logcat soon
[Galaxy S 4 i9505 Android Development] Joeyxc:
[MENTION=1649452]geiti94[/MENTION] how did the newest test go I wonder
[Galaxy S 4 i9505 Android Development] geiti94:
a bit beder. it stay at blackscreen after samsung logo. no way to get it booting. now i am grebing all gpu and graphics file and i wil retry. for audio i see we must change a lot of files
[Galaxy S 4 i9505 Android Development] Joeyxc:
Are you still using a mix of cm and ge?
[Galaxy S 4 i9505 Android Development] geiti94:
nope. at the moment only cm 10.1 files for the whole rom because with ge files we need more files for audio,network etc. ge rom for audio need ca 28libs but cm one only need 10-15 libs

i am using my Alpha rom V1.1 non public version (i changed all apps+framework with these from original one update + ktoonez kernel in it)
[Galaxy S 4 i9505 Android Development] geiti94:
[MENTION=4645794]CNexus[/MENTION] i need to know what data have you changed all in your rom. because when i build a new rom on cm 10.1 base (i used your github links and the libs you say) for the s4 international it dont boots. and when i use your rom and fix all hw composer error in logcat with cm 10.1 (sprint version) libs rom boots but have some graphics error

when we add audio files in rom wil not boot! i dont know why but is so. now working on others. i wil make audio as last
[Galaxy S 4 i9505 Android Development] Joeyxc:
I pray that your next build works :)!
[Galaxy S 4 i9505 Android Development] geiti94:
so to fix data permanently i need to know what file are for dns. i see that when i use ip adresses to surf i can surf xP my fix that i have in my rom is not permanently and i wil make it permanently now
[Galaxy S 4 i9505 Android Development] Joeyxc:
Sounds great I can't wait!
[Galaxy S 4 i9505 Android Development] geiti94:
i dont find the libs tath cause problem with dns >.<
[Galaxy S 4 i9505 Android Development] Joeyxc:
That doesn't sound great :(
[Galaxy S 4 i9505 Android Development] geiti94:
but when you use set dns app 3g works too. it dont automatic set dns and that make me :eek:
[Galaxy S 4 i9505 Android Development] Joeyxc:
If I could figure out how to get 3g on my htc one rom I'd help but I just get boot loops, I'm just looking forward now to your rom like many of us willing to donate to your awesome work
[Galaxy S 4 i9505 Android Development] geiti94:
on what is based your htc rom? send me a link with the rom + a list with file you changed and i can look why you have bootloop.

in my rom when i set dns for 3g with adb internet works >.< i need to wait that dev doga is online. i think doga can help me with dns problem
[Galaxy S 4 i9505 Android Development] K900i:
Is wifi working ?
[Galaxy S 4 i9505 Android Development] geiti94:
yes and no =) in v1 alpha is not working but on my non public version works when i set dns manualy (not in settings. i must set vpn with adb) for 3g on v1 you can use set dns or adb to set 3g dns and it wil work for connect
[Galaxy S 4 i9505 Android Development] :
Have you changed the file in bin folder? Dnsmasq?

---------- Post added at 12:52 PM ---------- Previous post was at 12:50 PM ----------

Also do you have p2p_supplicant in your bin folder

also to skip adb logcat u can use this app: http://xdaforums.com/showthread.php?t=1513166

pretty smart eeh?
[Galaxy S 4 i9505 Android Development] Joeyxc:
How would I set dns or adb to test 3g on v1
[Galaxy S 4 i9505 Android Development] Joeyxc:
I'm on v1 on my phone how does I set up dns or adb to get 3g anyone know? I have an AT&T S4
[Galaxy S 4 i9505 Android Development] :
Try replace dnsmasq for wifi and 3g om Google it? I have no clue
[Galaxy S 4 i9505 Android Development] Joeyxc:
I managed to root it and manually force my apps through titanium so I'm all ready for v2 to install over this
[Galaxy S 4 i9505 Android Development] LOSTLOGIC89:
Nice [MENTION=5154457]Joeyxc[/MENTION]
[Galaxy S 4 i9505 Android Development] Joeyxc:
I'm just eagerly awaiting 3g and WiFi not to mention sound i still can't get 3g I really hope his update is ready soon

:thumbup:
[Galaxy S 4 i9505 Android Development] CNexus:
We added all those files in that list plus hwcomposer, liboverlay, and libmemalloc
[Galaxy S 4 i9505 Android Development] :
hmm no QCRilHook in framework ??

i though we needed this to get it working :confused:

well nope CM doesn't use it, but since we use GE edition to get sim/data we might need this file
[Galaxy S 4 i9505 Android Development] geiti94:
V1 is using ge files for data. but in my build i have here its working with cm files. i am now trying buttefly s rom because it have sd, same cpu clock etc =)
[Galaxy S 4 i9505 Android Development] Joeyxc:
Awesome its working? So v2 is almost here?
[Galaxy S 4 i9505 Android Development] geiti94:
when butterfly s rom boots yes. because butterfly s have the same 3g/wifi chipset and more.

EDIT: Flashing now. hope it boots
[Galaxy S 4 i9505 Android Development] Joeyxc:
Awesome! Finally (millions rejoice and hail your name)lol

Please boot please boot!
[Galaxy S 4 i9505 Android Development] :
Good luck, i've started a channel on IRC

irc.freenode.net

#Sense4S4

everyone who want's to talk or wants to help out can go there
[Galaxy S 4 i9505 Android Development] Joeyxc:
It's sad that I'm this addicted to this rom that I'm paying more attention to it than my own and keep hitting refresh to see if it booted lol
[Galaxy S 4 i9505 Android Development] Miustone:
Same here:D i stop working on my Miui V5 Port for Xperia Z to test this Port here:silly:

Awesome to see whats going on here since my last Visit :good:

Viel glück [MENTION=1649452]geiti94[/MENTION]:fingers-crossed:

BR:cowboy:

PS:still waiting for the 'V2 is Booted' post :P
[Galaxy S 4 i9505 Android Development] Joeyxc:
Yeah but I guess it failed sadly no good news
[Galaxy S 4 i9505 Android Development] Miustone:
to bad:(

Any instructions to flash V1? i want to help (fixing) if i can... :fingers-crossed:
[Galaxy S 4 i9505 Android Development] Joeyxc:
Just flash it like any other rom,

So is blinkfeed going to work I guess since Internet is? And has anyone tried blue tooth? It wouldn't work for me it'd turn on but never find anything
[Galaxy S 4 i9505 Android Development] geiti94:
first version of the new rom not booting. im building a new version with some change. hope it boots
[Galaxy S 4 i9505 Android Development] Joeyxc:
Is it still based off htc one? With butterfly files now?
[Galaxy S 4 i9505 Android Development] geiti94:
its butterfly s rom but witl all htc one apps and feature
[Galaxy S 4 i9505 Android Development] Joeyxc:
okay cool i cant wait fingers crossed please work! let us know how this build goes :fingers-crossed:
[Galaxy S 4 i9505 Android Development] geiti94:
with a black screen. i need a stock butterfly s rom and not a custom rom but i dont find a stock one. a nanddroid backup is good too
[Galaxy S 4 i9505 Android Development] Joeyxc:
I'll look
[Galaxy S 4 i9505 Android Development] geiti94:
can someone look in this logcat? i only see an error for the camera but not why rom stay at black screen http://pastebin.com/M3Mw8Jqb
[Galaxy S 4 i9505 Android Development] Joeyxc:
Which model number do you want
[Galaxy S 4 i9505 Android Development] geiti94:
its 901s
[Galaxy S 4 i9505 Android Development] CNexus:
Add libqc-opt from stock TW and it will boot
[Galaxy S 4 i9505 Android Development] Joeyxc:
That's is the greatest news I've heard in days (wow that's sad) but awesome! Thanks
[Galaxy S 4 i9505 Android Development] ktetreault14:
Same here:D

_____________________________________

If I actually did help, how bout a Thanks:D
[Galaxy S 4 i9505 Android Development] Joeyxc:
Is the tw file all that's really needed to get us v2?
[Galaxy S 4 i9505 Android Development] jamal2367:
And its Working (Boot the Rom) ?
[Galaxy S 4 i9505 Android Development] geiti94:
yes that file and a lot of work that i am making ^^ sd card works but at the moment not perfect (fc)
[Galaxy S 4 i9505 Android Development] Joeyxc:
Is v2 ready than for upload? I know I just really don't care about sd lol just wanna development on this :D
[Galaxy S 4 i9505 Android Development] geiti94:
i wil upload v2 when is stable. at the moment it is unstable
[Galaxy S 4 i9505 Android Development] geiti94:
yes it boots now
[Galaxy S 4 i9505 Android Development] jamal2367:
What is all unstable ???
[Galaxy S 4 i9505 Android Development] Joeyxc:
Okay thank you very much though I hope SD is fixed soon :thumbup: just saying but how awesome would it be if he fixes SD card and uploads v2 I'm in definitely for donation for his hard work

---------- Post added at 02:20 AM ---------- Previous post was at 01:29 AM ----------

I guess just sd card for FCs
[Galaxy S 4 i9505 Android Development] jamal2367:
:cyclops:

Thanks for answer ......i cant wait for v2 <3
[Galaxy S 4 i9505 Android Development] Joeyxc:
If you need any help let us know I'm ready to get v2 out it'll be great
[Galaxy S 4 i9505 Android Development] Oweida:
ok I think semi-working camera will be a fully working one :p
[Galaxy S 4 i9505 Android Development] youngwake:
Relax, let the man workout the issues. Give him a chance to do his work. We are all definitely excited that is for sure.
[Galaxy S 4 i9505 Android Development] CNexus:
What files are you using?
[Galaxy S 4 i9505 Android Development] Oweida:
The camera will semi-work when you will add all needed libs ( from the Github ) plus add

-libcamera-client.so

-libcamera_metadata.so

-libcameraservice.so

Most likely the fix will be eaaaaasy :p

Enjoy
[Galaxy S 4 i9505 Android Development] Joeyxc:
I know that the current v2 is booting just not stable, not to make anyone mad but could you possibly release a v2 developer edition because if it's not stable with all of us looking at it it should only take a bit than able to release a stable build
[Galaxy S 4 i9505 Android Development] CNexus:
Thanks
[Galaxy S 4 i9505 Android Development] Garner:
Have you got voice calls working and sms?
[Galaxy S 4 i9505 Android Development] K900i:
no sound :( but sms may work

---------- Post added at 09:24 AM ---------- Previous post was at 09:22 AM ----------

Edit-nvm happy porting ^_^
[Galaxy S 4 i9505 Android Development] geiti94:
wil stay the same as the one rom because the butterfly s have the same cpu with same clock as s4 etc
[Galaxy S 4 i9505 Android Development] Aerys:
I wanna help with this port. Im experienced with porting roms.

PM me.
[Galaxy S 4 i9505 Android Development] :
Hm I'm not going to download any build from butterfly to try work on this. I'll have to wait for va my workstation is already full and slow (developer preview of os x) so until then I'll wait due to my workstation is already slow and lacks of memory and I've got no external drive. (Will definitely purchase one, when I get money from this week. I'll get around a good amount to buy a good external hard disk drive. Right now I'm broke. Well good to see progress. But I'll wait to help with trying to fix issues since I've got v1 only and yeah. All info above clarify it all

[MENTION=1649452]geiti94[/MENTION] if you want to share the build private you can do so. Don't feel forced. If not I'm happy to wait until v2 is released. Good progress you've made though.
[Galaxy S 4 i9505 Android Development] plakers:
I'm gonna buy a HTCOne... :D

Bored of my i9505, and the i9500 is not available here. Found that i9505 beyond my old i9300, pretty perfect for a "previous" generation one, sound was amazing, microphones' / speakers, far better than the S4 ones. And as dev' is quite limited on this device (far more than on i9500)... My choice is made.

Good job, good luck, and keep goin' on guys!

Thanks again to the whole community and job done by Dev's
[Galaxy S 4 i9505 Android Development] westentertainer:
i loved my blinkfeed on my ex one ,it would be brilliant to use this on my s4 ,please keep it up.
[Galaxy S 4 i9505 Android Development] K900i:
I see alot of porting threads more than 95% of them are projects abandoned halfway through....lets hope this isn't the case in this 1 :D

dev give us some hope :angel:
[Galaxy S 4 i9505 Android Development] jamal2367:
i can help for developing ...... ;)
[Galaxy S 4 i9505 Android Development] boterkaaseneieren:
+1

Don't want to insult you but this is real development. It's more complicated than tweaking a stock rom. :o
[Galaxy S 4 i9505 Android Development] jamal2367:
i know ........this is hard to port ....
[Galaxy S 4 i9505 Android Development] beston94:
I think the moderators should start banning people for these disrespectful posts.

With regards,

Beston94
[Galaxy S 4 i9505 Android Development] jamal2367:
+1 Thanks you say it all right :)
[Galaxy S 4 i9505 Android Development] Oweida:
nothing new :- just a comment

Hi all.

1. Yes we need a lot of developers to team up to optimize this Rom.

2. This port is progressing well regardless of the bugs.

3. Both gralloc and hwcomposer are not yet working properly , I strongly need people to work with me to solve it.

4. Sound is a big issue but I have noticed that in logcat the copybit.so doesn't load ,, any body know which binary file needed ?!
[Galaxy S 4 i9505 Android Development] jamal2367:
which rom you have a base? Butterfly S or One M7?

if you have the Butterfly S as a base then try the file copybit.so of the TW and copy them into the ROM.......Butterfly S has a better Rom than One........

The Butterfly S have the same board and prozessor and more as i9505 :)

Test this ?
[Galaxy S 4 i9505 Android Development] JDR0iD:
You are an idiot. Reported. Get a life. Why do mods like idiots like him here
[Galaxy S 4 i9505 Android Development] Oweida:
I know it was my idea that I told the op about it .

Take a note that butterfly s roms are essentially HTC one ported ones.

I have currently two roms one is based on GE the other one on CM both do not load their corresponding copybit.so.

Now the GE based rom has already booted as the logcat is showing fully booting Rom but no graphics only black screen.

I thought it could be due to the cm kernel but GE kernel is weird during unpacking and repacking althought it creates a kernel but it's smaller in size and the rom does not boot at all !

CM based rom doesn't even boot .

So I came to a conclusion that basing on GE will be better but graphics won't work mostly due to overlay problem in gralloc and hwcomposer.