yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Fit GT 5670] sarvesh563:
i was using the old cm9 :(

also just downloaded the aokp n replaced the boot from 14 oct cm10... no spund is coming also no rotation!!

but when directly flashed the zip of tass without porting it then all sound comes but no rotation....

i will check this on latest cm9...

n

camera works in aokp Nov 3rd!!!!

---------- Post added at 11:12 PM ---------- Previous post was at 11:11 PM ----------

what is unclear to u buddy???
[Samsung Galaxy Fit GT 5670] :
Which ROM should be restated, and from which ROM files should be taken in order to get fit for the ROM in which working camera, video record, video play, etc.?
[Samsung Galaxy Fit GT 5670] sarvesh563:
hmmm..

@darkpassenger- yes you are right it brakes audio!!!

newer update has different ramdisk...so different boot.img...

as thewhisp said there are minor changes in kerenel...for smoothness but this brakes audio for fit ...

this can be solved by replacing ramdisk in boot....:D

so lets do an experiment...

if i get sucess i will surely share it here:)

srry for that boot img... it only works with old cm9!!!
[Samsung Galaxy Fit GT 5670] Dark Passenger:
Dude checked thewhisps github only changes are for the network and for removing subdelay should technically have no relation to audio but still lets see .
[Samsung Galaxy Fit GT 5670] stranger97:
Ported the latest aokp(3 Nov) to fit and camera is working(video recording too). Only problem is auto rotation anyone willing to help me fix that?
[Samsung Galaxy Fit GT 5670] stranger97:
Download aokp(Nov 3 build) For galaxy mini and then follow my tutorial in the 1st post of this thread. You will get the camera and video working :)
[Samsung Galaxy Fit GT 5670] Dark Passenger:
Flash below patch worked for me. Does the camera have preview also does it take 5 mp shots.
[Samsung Galaxy Fit GT 5670] stranger97:
yup we can take 5 Mp shots and no even after flashing that zip auto rotate not working. I think there is something else we have to do to get it working
[Samsung Galaxy Fit GT 5670] Dark Passenger:
So everthing works (except known bugs like video playback)!!! cool I actually want cm9 cause of video playback cause thats important for me else cm10/aokp are aesome...
[Samsung Galaxy Fit GT 5670] stranger97:
yup u can say that. I am sticking to this rom since all things i need are working properly :)
[Samsung Galaxy Fit GT 5670] :
I'm interested for CM 10.

---------- Post added at 03:35 PM ---------- Previous post was at 03:04 PM ----------

Can you be more specific? From which the Galaxy Fit ROM should I take these files for AOKP Mini?
[Samsung Galaxy Fit GT 5670] Dark Passenger:
deleted.
[Samsung Galaxy Fit GT 5670] :
Is it difficult to answer? From which Galaxy Fit I should replace files for Galaxy Mini?
[Samsung Galaxy Fit GT 5670] stranger97:
any rom for galaxy fit can be used for replacing
[Samsung Galaxy Fit GT 5670] :
I used from Galaxy Fit CM 10 of 14. 10. 2012. I installed it, system is boot or when I need unlock, the system returns to the logo, and so on.

I used wipe data/reset, wipe cashe partition and in advance wipe dalvik cashe, before and after install.
[Samsung Galaxy Fit GT 5670] :
The system is booted without a SIM card.

Camera don't works for me.
[Samsung Galaxy Fit GT 5670] stranger97:
For camera fix see post #126. And use camera illusion. Stock camera has never worked on fit
[Samsung Galaxy Fit GT 5670] sarvesh563:
I managed to solve problem of audio in only aokp...also every camera app (including default one) WORKS WITH PREVIEW and no glitches nor f.c!! Stock camera also takes PANORAMA flawlessly:)

This is lengthy process!!!

Only problem is rotation sensors!!

1)Flash directly the aokp rom of mini of 3rd nov. it will not give any error while flashing. As in updater script there is no "getprop........GTs5570" line.

2)Then flash the boot img of fit's cm10 of oct14.(make zip yourself )

3)flash the camera path by lagloose.

4)Then flash the only usr folder ( take it from cm10 rom built for fit )(you have to make update zip for this, which will erase all usr folder which was on system created when u flashed the tass aokp rom!!l)

5)Now flash the only system/lib/hw folder of mini for audio to work (again you have make zip which will erase all hw folder files which u flashed in step 3.

<<For updater script>>

Here is line which will delete usr and hw folder

Use this to make zip...

I will not describe how to make it:)

**to delete usr**

----mount("ext4", "EMMC", "/dev/block/stl12", "/system");

delete_recursive("/system/user");

package_extract_dir("system", "/system");

show_progress(0.100000, 0);

unmount("/system");---

**to delete hw folder**

---mount("ext4", "EMMC", "/dev/block/stl12", "/system");

delete_recursive("/system/lib/hw");

package_extract_dir("system", "/system");

set_perm_recursive(0, 0, 0755, 0644, "/system/lib/hw");

show_progress(0.100000, 0);

unmount("/system");---

Thats it:)

This may also solve cm9 audio problem...but don't tested!!

There must a app which will calibrate rotation sensor..

Just find it out:)

Press thanks :)

---------- Post added at 12:54 PM ---------- Previous post was at 12:53 PM ----------

Worked on aokp without any issue ..
[Samsung Galaxy Fit GT 5670] Dark Passenger:
Great job mate one question does just replacing the files on thee original zip work the same then just flash single file no...

will test your method for ics and report here.
[Samsung Galaxy Fit GT 5670] sarvesh563:
Yes you can do it also...but i don't have laptop this time to exrtract and repack ..

So i did this:)
[Samsung Galaxy Fit GT 5670] Dark Passenger:
Did you try it on ICS I am trying now and another method too...hope it works

EDIT : Tried all methods i could think of no solution the audio stubbornly refuses to work....
[Samsung Galaxy Fit GT 5670] sarvesh563:
Yes tried but it didn't worked for me too:(
[Samsung Galaxy Fit GT 5670] Harpratap:
What do these lines do exactly?

P.S: Rotation works fine for me..but preview didn't work.. (I am using JB AOKP not the ICS one)
[Samsung Galaxy Fit GT 5670] stranger97:
Which are the sensor files present in your hw folder. Also for audio to work on Aokp you will have to make sure that you keep the audio files of mini and not replace it with fit. IF you do so audio wont work for you. For camera to work use lagloose patch(See post 126) and then camera illusion. Stock camera for me is not working as of now
[Samsung Galaxy Fit GT 5670] sarvesh563:
For me every camera app works with preview except andrid 4.2's:p

This will also works for you if u follow steps carefully :)
[Samsung Galaxy Fit GT 5670] :
I have problem with SIM card.
[Samsung Galaxy Fit GT 5670] :
Works for me:

Stock Camera without preview

Camera Illusion Pro

Videocam Illusion Pro

Sound

Link2SD

Problem with:

SIM Card

Autorotation

Video Play (Video lag)
[Samsung Galaxy Fit GT 5670] praveen_kalasa:
It is not getting installed dude. The message displayed is "Not installed"

I have tried pushing it to Syatem\app still no success!
[Samsung Galaxy Fit GT 5670] stranger97:
Anyone willing to try this maybe it will fix the rotation problem(MAYBE!!)

Download aokp nov 3 build. Replace the usr folder and make a zip and flash it. Make sure you keep the audio files of mini so that audio works.

Now install build.prop editor and edit the following lines in the build.prop

ro.product.model=GT-S5570 to GT-S5670

ro .product.name=aokp_tass to aokp_beni

ro.product.device=tass to beni

ro.product.board=tass to beni

Hit save changes and then reboot the phone. After reboot you will face brightness,rotation and audio problem.

Now download and flash this in recovery http://bayfiles.com/file/qO9J/3ke5a8/Cam,Senosors_Fix.zip

Now tell me if the rotation,audio,cam,etc works. If not then i can further modify the fix

DONT FORGET TO PRESS THANKS BUTTON
[Samsung Galaxy Fit GT 5670] :
After nstall build.prop editor and edit the following lines in the build.prop

ro.product.model=GT-S5570 to GT-S5670

ro .product.name=aokp_tass to aokp_beni

ro.product.device=tass to beni

ro.product.board=tass to beni

Rotation works for me. Camera Illusion Pro and audio works for me.

I still have other problems with the SIM card and the video lag.
[Samsung Galaxy Fit GT 5670] Dark Passenger:
Needs more work moded it to work so installs no problem but fc's a lot am trying solutions for it lets see.
[Samsung Galaxy Fit GT 5670] :
After download and flash this in recovery http://bayfiles.com/file/qO9J/3ke5a8...nosors_Fix.zip system don't boot.

---------- Post added at 12:03 PM ---------- Previous post was at 11:26 AM ----------

When I do this: "Download aokp nov 3 build. Replace the usr folder and make a zip and flash it. Make sure you keep the audio files of mini so that audio works.

Now install build.prop editor and edit the following lines in the build.prop

", only the Home button works, the other two do not work for me.
[Samsung Galaxy Fit GT 5670] stranger97:
i dont understand why the keys dont work for you. since you replaced the usr folder keys should work for you. But is the rotation working for you after editing the three lines
[Samsung Galaxy Fit GT 5670] :
I did everything according to instructions.

My main problem is with the SIM Card. If the system can't boot with a SIM card, then it does not make sense anymore in this ROM. Is there any way to try to solve the problem with the SIM Card?
[Samsung Galaxy Fit GT 5670] stranger97:
what exactly is your sim card problem and is rotation working for you. If yes which sensor file are you using and have you edited the build.prop
[Samsung Galaxy Fit GT 5670] :
When I use SIM Card system is boot, but when I go for unlock before pin, system boot again.

When I don't use Sim Card system boot without problem.

I downloaded AOKP for Mini of 3. november.

File usr I used from Fit CM 10 of 14. october.

I followed the instructions at # 1, # 126 and # 224th page.

After page #224 with Build.prop Editor I solved problem with rotation.
[Samsung Galaxy Fit GT 5670] stranger97:
shall i upload and message the rom i am using to you then you tell me if you are getting the sim problem
[Samsung Galaxy Fit GT 5670] :
1. I downloaded CM 10 Mini of 20. oct. 2012. I replaced files from Fit CM 10 of 14. oct. 2012 to Mini CM 10.

2. I extracted it

3. I replaced the META-INF folder of mini with the META-INF folder of fit

4. I paste Camera Fix from page #126 in lib

5. I paste Camera Fix part 2 from page #126 in hw

6. I replaced 5 audio files from hw of Fit in hw of mini.

7. From hw of Fit, I paste sensorss.beni.so in hw of Mini

8. I replaced the boot image from fit's rom to mini's rom

9. Know, I choosed .zip and flashe in CWM.

System boot OK, camera, audio and rotate don't work.

I installed build.prop editor from page #224, edit 4 lines and reboot system.

After of this, camera don't work. Video lag.

Audio and rotation works for me.
[Samsung Galaxy Fit GT 5670] stranger97:
forget about Cm for a while i am sending you the aokp i am using after 30 mins
[Samsung Galaxy Fit GT 5670] sarvesh563:
Just flash this on directly flashed aokp ROM...

On someone's request...;)

http://www.4shared.com/zip/LCM7VaaI/for__cameraaudio_of_aokp.html
[Samsung Galaxy Fit GT 5670] stranger97:
message sent

@sarvesh i think cam and audio is fixed only problem is rotation
[Samsung Galaxy Fit GT 5670] stranger97:
Sensors Fix

Ok guys i got the auto rotation working on aokp Nov 3 Build

Here is what you do

SENSORS FIX TESTED ON AOKP NOV 3 BUILD

1.Download aokp Nov 3 Build For galaxy mini

2.Replace the usr folder

3.Now make a zip and flash it

4.Now after reebot edit the build.prop to edit the following lines of your build.prop

ro.build.display.id=aokp_tass-userdebug 4.1.2 JZO54K eng.davis.20121022.164556 test-keys To ro.build.display.id=aokp_beni-userdebug 4.1.2 JZO54K eng.davis.20121022.164556 test-keys

ro.product.model=GT-S5570 To ro.product.model=GT-S5670

ro.product.name=aokp_tass To ro.product.name=aokp_beni

ro.product.device=tass To ro.product.device=beni

ro.product.board=tass To ro.product.board=beni

ro.build.product=tass To ro.build.product=beni

Hit save changes and reboot your device. Now you will face audio and lights problem.

Now go to system/lib/hw and delete the following files:

audio.a2dp.default.so; audio.primary.default.so; audio.primary.tass.so; audio_policy.default.so; audio_policy.tass.so; lights.tass.so; sensors.goldfish.so; sensors.tass.so

After deleting download and extract this in your pc http://bayfiles.com/file/qVQ3/pncRdn/Sensors,audio_fix_by_Stranger97.rar

Now reboot your phone in recovery mode and connect it to your pc with a USB cord.

Go to mounts and storage and select mount system

Now push each and every file that you get after extracting after you download the above file to /system/lib/hw. You need to have sdk tools and adb installed on your pc to push files

The command are very simple as you can see in the image below

http://tinypic.com/r/akv9zm/6

The command is

adb -d push location of file you want to push location on your device where you want to push the file

.

After that remove the usb chord and reboot your phone. Audio and sensors should be working for you now.

If u find adb a difficult task then you can copy and paste each and every file manually using root explorer but that will take a bit longer. That is why i showed the adb method

For camera fix see post #126

PLZ PRESS THANKS BUTTON GUYS AS IT TOOK A LONG TIME FOR ME TO WORK THIS OUT AND POST THIS FIX. HOPE IT WORKS FOR EVERYONE :)
[Samsung Galaxy Fit GT 5670] sarvesh563:
Silly mistake...

We used our libs but we dont used our fit's name in build prop...:(
[Samsung Galaxy Fit GT 5670] Dark Passenger:
Anyone on cm9 or can use cm9 fast please upload a logcat while playing music with all volumes at full.

Am gonna figure it out once and for all.

Thanks
[Samsung Galaxy Fit GT 5670] stranger97:
ya i figured that out and now everything is working well :)
[Samsung Galaxy Fit GT 5670] Dark Passenger:
Anyone tried latest cm9.1 Does it fix audio or not ??
[Samsung Galaxy Fit GT 5670] stranger97:
i really have no time to flash a cm rom and make a logcat. But if anyone is on cm9.1 and is willing to make a logcat. Here is a tutorial you need to follow http://xdaforums.com/showthread.php?t=1616059
[Samsung Galaxy Fit GT 5670] Syfer_Fever:
if i wanna port PA 2.23 from mini can i use the same method as AOKP or CM10 method?

edit : i ported the latest CM 9 (stable) from mini 08/11/2012, and i have a problem with my signal, after a few second get into homescreen and suddenly my signal is gone. please help :(

i used kernel from sir sarvesh at page 1
[Samsung Galaxy Fit GT 5670] Dark Passenger:
Can you try and logcat the items i requested(mainly run a logcat while playing music at full volume) i.e. if audio doesnt work.(CM9)

as for your signal try and check the ril class in build.prop cause so far never faced this problem.
[Samsung Galaxy Fit GT 5670] Syfer_Fever:
forget to do that, i'll do that after my signal problem is solve.

what should i do with ril class in build.prop?
[Samsung Galaxy Fit GT 5670] stranger97:
i dont think you need to port that. Just see this http://xdaforums.com/showthread.php?t=1971873
[Samsung Galaxy Fit GT 5670] Dark Passenger:
Hi

Ok this is just experimental

in build prop check this

ro.telephony.ril_class=SamsungMSMRIL

and in the lib folder replace all files with lib in them from the base cm10 especially :

libsec-ril.so(this contols telephony)

libsecril-client.so(this should help display correct signal).

Try and report here for all you know might not work and I am a noob.
[Samsung Galaxy Fit GT 5670] Syfer_Fever:
i just wanna try

thanks, will try and give review

but in CM 9 build.prop from ini already SamsungMSMRIL
[Samsung Galaxy Fit GT 5670] Dark Passenger:
wrong thread link thats PACman port Paranoid Android Port is here : Paranoid Android.

Use the method to port aokp but you are on your own as no one but ravi has tried it use cm10 as base.

Experiment freely

So replace lib files give correct permissions and do wipes and check...
[Samsung Galaxy Fit GT 5670] stranger97:
ohh sorry my mistake
[Samsung Galaxy Fit GT 5670] Syfer_Fever:
my signal problem on CM9 is solved, just change to network type in *#*#4636#*#* > Phone information > change the network type to GSM/CDMA Auto (PRL) it work for me

and about logcat, if im not wrong how to create logcat just like this right?

su

cd sdcard

logcat logcat.txt

after 10 Minutes terminal not finish yet to create logcat, then i close the terminak window and the logcat is not created yet. and yeah the no Sound, anyone know how to fix no sound problem in CM9? no sound in music, ringtone, notification, alarm, screen lock/unlocn sound etc
[Samsung Galaxy Fit GT 5670] Dark Passenger:
use an app like alogcat or catlog really easy then...

for logcatting(is that even a real word ...) via terminal emulator.
[Samsung Galaxy Fit GT 5670] Dark Passenger:
Log cat for audio debugging any help appreciated

Audio libs are of mini.

Edit : initial review problem lies with libpowermanager.so and libaudioflinger.so

Anyone brave enough to try my solution for working audio :

Replace libpowermanager.so from cm10 also replace libaudioflinger.so from cm10 to cm9

Oh and found error in camera also by accident its cameraservice.so it doesnt seem to be able to load camerahal.
[Samsung Galaxy Fit GT 5670] sarvesh563:
good...

i wish i can be tester but i am not on cm9...also this days i am going to stick to cm7 because of cera needed to diwali
[Samsung Galaxy Fit GT 5670] Dark Passenger:
the reason I can do it yet gotta use my phone its my only one and need it for diwali. will test it earliest by next week I think.
[Samsung Galaxy Fit GT 5670] Syfer_Fever:
i tried to change the lib from cm10 and end up in bootloop lol
[Samsung Galaxy Fit GT 5670] sarvesh563:
Anybody successful in getting camera working on cm9 .. ???

Lol:cool:
[Samsung Galaxy Fit GT 5670] Dark Passenger:
Nope. does the sound even work ??
[Samsung Galaxy Fit GT 5670] thama89:
blackcsreen

can you give solutions...?:confused::confused:
[Samsung Galaxy Fit GT 5670] :
How to open ROM when Unlock SIM card do problem?
[Samsung Galaxy Fit GT 5670] neil.richard:
Hey...the sounds are not working on speaker (no tone on calls,media,mortification)!...any fix for that?
[Samsung Galaxy Fit GT 5670] :
I maked factory reset, and problem not solved.
[Samsung Galaxy Fit GT 5670] sarvesh563:
which rom are you using and which boot.img??
[Samsung Galaxy Fit GT 5670] :
What install? S2E, A2SD or Link2SD?

Before I installed CM 10, and now I installed AOKP 5. In AOKP 5 from post for Fit in system > lib > hw is "sensors.tass.so,

and not "sensors.beni.so".

Every so often I get a notification that the SuperSU stopped working.

What camera did you installed?
[Samsung Galaxy Fit GT 5670] stranger97:
make sure u are running the baseband ddkq5 if not then change it. Try replacing the audio files from hw folder if sound in speaker is not working
[Samsung Galaxy Fit GT 5670] droider007:
This is a bug......go to settings>sound>volumes and then maximize them......
[Samsung Galaxy Fit GT 5670] Dark Passenger:
anyone got the following bugs:-

1.superuser doesn't remember choice.

2.general lag during rom usage like it takes about 10sec to open dialer.

3.brightness cannot be changed.
[Samsung Galaxy Fit GT 5670] stranger97:
which rom are you tring to port. Plz guys before posting here mention the rom u are porting
[Samsung Galaxy Fit GT 5670] :
Is it possible that no one knows the answers to my questions about S2E, A2SD, Link2SD and camera?
[Samsung Galaxy Fit GT 5670] Dark Passenger:
ain't trying to port anything done a sucessful port of cm10 and asked if anyone had these bugs if yes any possible solution.
[Samsung Galaxy Fit GT 5670] stranger97:
no i have not faced this bug after porting aokp
[Samsung Galaxy Fit GT 5670] :
Why am I being ignored?
[Samsung Galaxy Fit GT 5670] stranger97:
what is the baseband u are using?
[Samsung Galaxy Fit GT 5670] :
Baseband is S5670XWKT6

I downloaded AOKP 5 for Fit and for Mini.

I acted according to instructions.

I do not know which program I need to install for internal memory and which camera install.
[Samsung Galaxy Fit GT 5670] stranger97:
so u are replacing files from aokp 5 of galaxy fit right. dont do that replace the files using cm 10 for galaxy fit ;)
[Samsung Galaxy Fit GT 5670] :
I do not understand.

I replaced the files from the AOKP 5 Fit in AOKP 5 Mini.
[Samsung Galaxy Fit GT 5670] sarvesh563:
May this help you -replace he folder :rolleyes:.if you did this increase volume manually

---------- Post added at 09:25 PM ---------- Previous post was at 09:15 PM ----------

I don't have answer for s2e or link2sd...I will investigate this...because I have had seen that there is no option for sd-ext in boot.img but in which boot.img I don't remember :(

I will try to solve problem..

I said you for su there problem in aokp you have to add superuser from kitchen...

Replace the four camera libs from cm10 to aokp except the libarccamera.so...:)

This will make you work third party camera apps:)

Like night vision,twisted camera...

I will ttry for that s2e problem

hope I helped you and I was busy studding while because my exam is on Sunday :(
[Samsung Galaxy Fit GT 5670] :
Will I move other files from AOKP 5 Fit in AOKP 5 Mini?
[Samsung Galaxy Fit GT 5670] sarvesh563:
No..just that four files

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

For apps2sd

http://xdaforums.com/showthread.php?t=1799828
[Samsung Galaxy Fit GT 5670] stranger97:
wht i meant to say was not to move the files from AOKP 5 for Fit but to move the files from cm 10 for fit to aokp of mini
[Samsung Galaxy Fit GT 5670] creativeguy09:
bro i would like to ask u these 3 steps. can u tell me which AOKP for galaxy fit do i download as i can't figure out. i was able to successfully port CM10 of mini to fit using the first page instructions but for CM9 and AOKP i'm confused. can u explain me these 3 steps for both CM9 and AOKP of mini as i badly want to port these roms on my fit.

PORTING AOKP LATEST BUILD FROM MINI TO FIT

3)Replace the folder usr in system from your galaxy fit's rom to mini's rom(This will make the soft keys work for you)

5.)Now replace the boot image from fit's rom to mini's rom

7)Now the last step is to add the 3 folders system, boot.img and META-INF to archive.

i want to ask u that which CM9 and AOKP for fit i download and where can i find these 2 for fit. i have downloaded the CM9 and AOKP by tass which is for mini but for fit where do i get these 2 so that i can replace the files for fit from mini :confused:
[Samsung Galaxy Fit GT 5670] Dark Passenger:
you need to take the files for fit from cm10 build for fit again use the replacement files from cm10(galaxy fit) for porting all roms mentioned in the guide.

For cm9 the boot.img need altering using cygwin (google how to there's a guide) .

the instructions are pretty clear and I have successfully done the ports no problems.
[Samsung Galaxy Fit GT 5670] :
PORTING AOKP LATEST BUILD FROM MINI TO FIT

For AOKP you do:

3.)Replace the folder usr in system from your galaxy fit's rom to mini's rom(This will make the soft keys work for you)

PORTING CM10 FROM MINI TO FIT

For CM 10 you do:

3)Now replace the META-INF folder of mini with the META-INF folder of fit

Rest of the steps are same as you did for porting the AOKP

---------- Post added at 10:46 AM ---------- Previous post was at 10:31 AM ----------

PORTING AOKP LATEST BUILD FROM MINI TO FIT

PORTING CM10 FROM MINI TO FIT

3.)Replace the folder usr in system from your galaxy fit's rom to mini's rom(This will make the soft keys work for you)
[Samsung Galaxy Fit GT 5670] sarvesh563:
Go to the post no.3 for modified boot.img

Extract it from zip. Put image in your roms folder. Then make the zip as i said in post no.3 and flash it ....if you already have created cm9 with other boot.img then just flash rom created by you and then flash downloaded zip...

Press thanks if i helped you...!!!
[Samsung Galaxy Fit GT 5670] stranger97:
wht dark passenger said is exactly what i mean to say