yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Fit GT 5670] DQiB:
i give none my bugfree method so ;-)

I wont guide how to port roms coz i want to continue my work and not that anyone is so good to port roms ^^

Cheers DQiB

Try this version here but left in mind that not everyone can use ported rom using this method :´D
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
If u follow my method correctly, it'll wrk! And it wil be bug free! ;) i've ported 2 roms and both are bugfree! ;)
[Samsung Galaxy Fit GT 5670] DQiB:
yup but not for others coz i already tryed with my like Sense Port in the past but for some users it is not working correctly;)
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
Maybe! I dont knw. But this wrks for porting roms to fit frm mini.. ;)
[Samsung Galaxy Fit GT 5670] wilfredcool007:
the best

Cool... Great guide feras.... This should work with no bugs ;-)

@dqib: if u could say this method is of buggy y dont u produce urs......
[Samsung Galaxy Fit GT 5670] davidjuke:
really look for this guide:D:D:D:D:D..

i've been waiting too long time for this guide dude...

finally it's come to our fit...hihihihi:D:D:D:D

btw, bro feras...could you give a guide to resize apk????:D

i wanna port a rom...
[Samsung Galaxy Fit GT 5670] Jhayzt:
---------- Post added at 08:38 AM ---------- Previous post was at 08:35 AM ----------

As for sir feras, thank you sir for le guide. I sure hope I can use this in the near future. n_n
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
i ported a rom from Ace it installed also but got stuck on "android" text :eek:

What to do ?
[Samsung Galaxy Fit GT 5670] a.cid:
Format system and then flash and see...

Btw, how big is the resulting flashable zip?
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
145mb :confused:

Using cwm i wl format system ??
[Samsung Galaxy Fit GT 5670] kkrocks:
Sir will this method work if i port Sam Galaxy Y Rom?
[Samsung Galaxy Fit GT 5670] TeeJay3800:
I've now had to edit two posts because of bad language and personally attacking another member. Needless to say, that is a violation of the rules and has no place in a thread discussing the porting of ROMs.

If you have any issues you want to discuss, PM me rather than cluttering up threads with nonsense. Thanks all for your cooperation. :)
[Samsung Galaxy Fit GT 5670] DQiB:
it will never wor ;-)

Espectially if u want to port CM9 :D
[Samsung Galaxy Fit GT 5670] speed_bot:
you cant resize the apk extract it using apk manger and resize each icon using any resizing software ..
[Samsung Galaxy Fit GT 5670] a.cid:
You probably should delete a few unnecessary system apps...try to bring it down to 120mb (around)...

Else it won't boot...
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
u mean above 120mb the rom will not boot .. ?? :confused:
[Samsung Galaxy Fit GT 5670] a.cid:
Depends...

The system rom is 216mb, and the internal mem is 187mb...

So you need to make the rom in suach a way that the system rom and internal mem aren't completely full...

If its full (or tries to go above), your rom won't boot...
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
ok will try it !!

Is there any problem in updater script ??:eek:
[Samsung Galaxy Fit GT 5670] nishantsikri13:
(status 6) error is coming in cwm......

:confused::confused::confused::confused::confused:
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
Maybe u didnt replace d meta-inf folder.. ;)
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
Na, then how did it install..
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
M gonna a port a rom from Ace ... r u sure this method will work.. ?? reply asap.. i have downloaded the rom ... !! :cool:

---------- Post added at 07:11 PM ---------- Previous post was at 07:02 PM ----------

i am not porting cm9 lol ... !! :p
[Samsung Galaxy Fit GT 5670] :
haha fail this will not work xD :D:D:D

EDIT: what u r porting?
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
rom porting from ace will not work.. ?? :o
[Samsung Galaxy Fit GT 5670] :
will work :P

i already done it xD

And so on, my most ports are from Ace/Gio :D
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
but the steps of feras is so lengthy .... ! i will become mad by resizing apk's ... :mad:
[Samsung Galaxy Fit GT 5670] :
xD u must have skill xD
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
skill ... ??? :cool: what kinda of skill .. ??
[Samsung Galaxy Fit GT 5670] Aspire:
Uska Talent hai yaar...
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
Be patient while resizing etc. Calm! Tht's d skill! :p
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
ha ha ha ... !! ;)

---------- Post added at 10:42 AM ---------- Previous post was at 10:41 AM ----------

how can i be calm .. ?? i will die resizing 100+ images.... :(

is their any other optn .. either through kitchen ... ?? :o
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
There cant be everything done easily! Sacrifice ur time for this! Kitchen can port ldpi to ldpi (tht too gb based roms only)
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
I made a rom ... but when the home screen turns on ... "STATUS BAR FC" , "KEYBOARD FC" ... all things starts to Fc .. what to do .. ?? :mad:
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
Old memories! :D Whose framewrk-res.apk u used? And who's boot.img?
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
boot image is of cyanmobile .. . and dont say it does not work .. i have tried it by adding it to stock rom .. it booted... !!

framework is secret ... :p
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
Hahahahaha. Use the boot.img of gb based roms ;) not of cyanmobile!! :cool:
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
there is nothing to laugh... :p

i said it worked ....
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
There is something to laugh if we have d brains in d right place. Even a noob wont use cyanmobile's boot.img for gb based roms XD It wil wrk but wifi wont!! :/ Tas why i laughed? Understood!!
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
And framewrk can cause d apps to fc. Im 100% sure. :/
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
but when i use stock rom boot.img it does not boot.. !!

and lol it's my first project k ... !! i just booted and it did... !! how will i know whether wifi works or not. ?? i did not checked it ... ;)

so what to do now.. ?? can u provide me one.. ?

---------- Post added at 12:15 PM ---------- Previous post was at 12:14 PM ----------

and yeah a noob might not use a boot.img also.. if he was dev his first rom... :p
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
Use some other gb rom's boot.img (Creeds, razodroid, dark fantasy etc.)
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
creeds have zimage.. .!! what's that .. ?

u r the dev of fantasy.. then upload plz... !!! i want it
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
Zimage aka kernel. I'll upload d boot.img of dark fantasy! Wait.. :)
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
ok thanx... !! :)
[Samsung Galaxy Fit GT 5670] :
he use this mod ;-)

assert(package_extract_file("zimage", "/tmp/boot.img"),

write_raw_image("/tmp/boot.img", "boot"),

delete("/tmp/boot.img"));
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
i got this in kitchen...
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
what's this now.. ?? :confused:
[Samsung Galaxy Fit GT 5670] Aspire:
it's nothing... creed's boot.img is just named zImage.

and he made changes accordingly in the update-script

---------- Post added at 04:02 PM ---------- Previous post was at 04:01 PM ----------

rename it to boot.img and use it with the normal update script and you're good to go
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
I am gonna use feras "boot.img" ... i was earlier using cyanmobile boot.img but he told that wifi is not gonna work so ... !!

Waiting. .. ! :D
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
i build up the rom ... !!

ISSUES:-

1.In "My files" all thing is black when i select then text becomes visible

2.Phone FC,Camera FC .. !!

3.Yet to review again ..!!

4.How to remove Samsung Home .. ?

---------- Post added at 08:28 PM ---------- Previous post was at 08:21 PM ----------

added root files but still the rom is not rooted... !! :(
[Samsung Galaxy Fit GT 5670] Aspire:
Usually, the FCs can be fixed by replacing the lib files... you should also check your lcd density

To Remove Samsung Home, just delete TouchWiz30Launcher.apk/SamsungHome.apk from system/app

For the my files bug, try changing the textColor attribute in the layouts

---------- Post added at 10:25 PM ---------- Previous post was at 10:24 PM ----------

you also need to give proper permissions to the su binary
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
apps are not getting installed.. means on selecting nothing happens..

---------- Post added at 11:08 PM ---------- Previous post was at 10:54 PM ----------

one more thing ... no network after flashing my new rom :(
[Samsung Galaxy Fit GT 5670] :
hehe let the DEVs do their job xD
[Samsung Galaxy Fit GT 5670] SohamJ:
all the resizing must be done in the drawable ldpi na? and what resolution must the icon be of for our device
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
Some are big nd some are small. So compare wid other's one! :)
[Samsung Galaxy Fit GT 5670] speed_bot:
eg if you r resizing systemuui.apk

then decomplie that and the one meant for our device with apk manager....have both the folders in tabs see the resoulion in stock and resize the corresponding image of the ported systemui.apk easyyy........ :):):)
[Samsung Galaxy Fit GT 5670] Arif.Setiawan:
thanks bro, if I already have a device, I'll try porting your way.

:D
[Samsung Galaxy Fit GT 5670] sj1021:
Feras can u tell us more about porting kernels from min :)
[Samsung Galaxy Fit GT 5670] speed_bot:
it requires to change all the lines before some text not sure about it
[Samsung Galaxy Fit GT 5670] torbatepak:
hi

i think CM roms haven't modules folder:confused:

what should i do?
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
Cm's have, but if they dun hve then no need to chnge d modules.
[Samsung Galaxy Fit GT 5670] torbatepak:
ask

i have port stuck g_mini cm rom wuthout any problem...

do i share it or no? what do you think?:confused:

it is so stable.
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
Share it if u want :) it shd be bug free and fully stable :)
[Samsung Galaxy Fit GT 5670] torbatepak:
yes it is,but it i couldn't port kernel ..:(

can U help me?

i have attached original boot.img file
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
Why u wanna use mini's kernel? U have many kernels of squadzone, vish etc readymade. :)
[Samsung Galaxy Fit GT 5670] FxSxKx:
I try to port the official cm7.2 rc2 galaxy mini, but in the rom in system / lib / there is no folder called "modules" and system / lib / there are files with extension .so, i do? , replacing those files with those of another rom CyanogenMod 7.2 to galaxy fit? :/
[Samsung Galaxy Fit GT 5670] torbatepak:
because it is made by CyanogenMood team:D

---------- Post added at 05:43 PM ---------- Previous post was at 05:42 PM ----------

your answer is here:
[Samsung Galaxy Fit GT 5670] rahuladsule:
sir.. can you please help me? i want to port my ICS rom from galaxy s (gt-i9000) to galaxy y (gt-s5360)... please provide me the full length guide...
[Samsung Galaxy Fit GT 5670] speed_bot:
you cant port from s to y ...the hardware and software vary by miles...
[Samsung Galaxy Fit GT 5670] @ssasin.monish:
Hey can yu tell y pavel73 and TanmoyCool gives thanx to ur every post :p
[Samsung Galaxy Fit GT 5670] a.cid:
They appreciate his work, as well as his off-site (facebook group) help that he gives to all...

Typed using a small touchscreen
[Samsung Galaxy Fit GT 5670] TeeJay3800:
Since "how to port a ROM" seems to be such a common question (not just here, but all over XDA), how do you all feel about this thread being stickied?
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
Don't know about pavel, but I have some doubt regarding tanmoycool :rolleyes:

Si usted le da respeto luego de tomar Respeto .. Cuidado con él .. ;)
[Samsung Galaxy Fit GT 5670] speed_bot:
ya sir most of them like to start their developments by porting a rom......this thread deserves to be stickied
[Samsung Galaxy Fit GT 5670] a.cid:
You get my vote also...

+1

Edit: though I think a note is required, telling people to port stuff for their own use, and not to spam our dev section with too many unnecessary ports...

I'll add guidelines which feras can then edit into the stickied thread :P

Typed using a small touchscreen
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
What does replacing the file with ones for our device mean .. ?? :confused:

If i am taking ur cm7 as the base then only i can port another cm7 to our cm7 .. ??

For porting only cm7 is required .. ? Cant port to stock rom . ?
[Samsung Galaxy Fit GT 5670] Feras.Rehman:
He told me in fb that he liked my rom and he would thank me! He started thanking me. Then I pm'd him to stop thanking me for useless posts.. From that time he stopped.. as u can see..
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
Ok i see .. Well that's none of my business ;)

I have just posted my review
[Samsung Galaxy Fit GT 5670] speed_bot:
It's not just xda we thank people who have helped us on fb.... Feras rehman and Wilfred clement clear lot of doubts and help us lot on fb
[Samsung Galaxy Fit GT 5670] Avilove.Cullen:
Yeah obviously we can thank any one any where ;)
[Samsung Galaxy Fit GT 5670] torbatepak:
hi,

i want to port a kernel, after extracting with kitchen , i have find & open init.rc in it.

but i don't now where is bootpath & what should i copy!

thx for your help!:fingers-crossed:
[Samsung Galaxy Fit GT 5670] Harpratap:
will this work on porting roms from galaxy y too??

they have a different processor Broadcom BCM2763 VideoCore IV...
[Samsung Galaxy Fit GT 5670] pavel73:
i did something wrong ?
[Samsung Galaxy Fit GT 5670] dredremon:
can i port jana rom to my ace?? without.rezing the dialer tab?? it.is gonna work?
[Samsung Galaxy Fit GT 5670] speed_bot:
ya but you may end up with half resolution of ace so it may boot five it a try..
[Samsung Galaxy Fit GT 5670] dredremon:
will.try hope for the success
[Samsung Galaxy Fit GT 5670] Utkarsh-ezzo:
Can I use this methode to port rom from Fit to Pocket??
[Samsung Galaxy Fit GT 5670] speed_bot:
nope both run on different soc
[Samsung Galaxy Fit GT 5670] Utkarsh-ezzo:
Soc mrans what?
[Samsung Galaxy Fit GT 5670] D@rekills4:
http://www.pcmag.com/encyclopedia_term/0,1237,t=SoC&i=51603,00.asp
[Samsung Galaxy Fit GT 5670] speed_bot:
system or socket on chip in lay man's words the processor which ur fone is using
[Samsung Galaxy Fit GT 5670] bharathbondfire:
i have tried porting a rom from ace ad resized Framework-res and SystemUI app using " MULTIPLE IMAGE RESIZER .NET " reduced to 66% of image but no use.

can any one give me other method to resize to our Fit from Ace -

Thanks in Advance.......
[Samsung Galaxy Fit GT 5670] Mr GRiM:
Did you unpack the akp files with akptool to preserve the .9 images and then redo the .9 images after to make sure they worked?
[Samsung Galaxy Fit GT 5670] bharathbondfire:
NO i didnt check it.

i resized all image files i found in drawable-mdpi and replaced to drawable-ldpi
[General Questions and Answers] kawaiiDango:
i was compiling for lg optimus one. why is this happening? is it a cause of a bad download of liba2dp.so?

host Java: signapk (out/host/common/obj/JAVA_LIBRARIES/signapk_intermediates/classes)
SignApk.java:19: warning: sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
import sun.misc.BASE64Encoder;
^
SignApk.java:20: warning: sun.security.pkcs.ContentInfo is internal proprietary API and may be removed in a future release
import sun.security.pkcs.ContentInfo;
^
SignApk.java:21: warning: sun.security.pkcs.PKCS7 is internal proprietary API and may be removed in a future release
import sun.security.pkcs.PKCS7;
.
.
.
.
<some more SignApk.java errors :confused:>
.
.
.
.
make: *** No rule to make target `vendor/lge/thunderg/proprietary/lib/liba2dp.so', needed by `out/target/product/thunderg/system/lib/liba2dp.so'. Stop.
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[HTC One X] telc:
Hey guys,

I obtained the phone through vodafone Australia and im running a custom rom (LeeDroid 4.0). Its based on build 1.28. My question is do I still have to obtain the Vodafone 1.28 OTA or does the LeeDroid 4.0 Rom pretty much include it??

cheers,
[HTC One X] jazznaura:
roms will eventually be updated, read the changelog ;)
[Samsung Galaxy Nexus] melethron:
Hey,

There was a change in API 12 (Honeycomb and later) with the way "wifi lock" is handled. Even if the sleep policy in settings->wifi->advanced->"Keep wifi on during sleep" is set to "always", wifi will still be in a "low performance mode". This results in throttled speed (f.e: stuttering streaming), high latency (ping your phone) and can even cause disconnects, when the screen is off.

Still this is not bug but a feature of Android and should be addressed by any app that needs full wifi performance. Any app that needs full wifi performance (like streaming or file shearing over wifi) should call for "WIFI_MODE_FULL_HIGH_PERF". This can be found in the official "android developer reference". Before API 12 (honeycomb) an app just needed to call WIFI_MODE_FULL for "wifi lock". If an app isn't coded proberly for honeycomb and ICS and has issue with Wifi performance appart from calling "wifi wake lock", you should report that to the developer of that app.

I still found a simple workaround for scenarious in which this function is not properly called. There is an rather simple widget on google play called "WIFI High Performance Widget". If the widget is enabled, the function WIFI_MODE_FULL_HIGH_PERF is called and the wifi performance is on full speed even when the screen is off. Im not in any way involved in the developement of this app and there might be other apps out there, that could achieve the same (for example: Android Terminal emulator also calls WIFI_MODE_FULL_HIGH_PERF if "wifi lock" is enabled.) Still this widget is the simplest solution i found thus far. Just enable the widget and get full wifi performance when screen is off.

Greetings

melethron
[Samsung Galaxy Nexus] slavi:
Thank you very much mate it's really cool app successful on my GN
[Samsung Galaxy Nexus] moe6:
Nice post OP, wish there was more like this more often :).

Just wanted to add that Franco's kernel (and app) has a Wifi toggle that does this also.
[Samsung Galaxy Nexus] RogerPodacter:
So will that API eventually be deprecated at some point in the future? That's the way I interpreted it which stinks meaning at some point this trick won't work...?
[Samsung Galaxy Nexus] atkhobby:
Thanks a lot! I was afraid that my phone was defective. I must say I'm a little disapointed with google. Theres an open case for this for months over at code.google.com issue 26654. Nobody from google has bothered answering this.

Maybe you should pop over and enlighten them?

Btw. Same with the bluetooth play/pause function. Google changed the code in ics and obviously are not able to communicate this in a clear way to the developers. Thought that was a hw fault too...

That was the last possible hw issue for me. Now i'm ready to unlock without fear of having to return it for service.
[Samsung Galaxy Nexus] melethron:
I doubt they will ever remove this new feature

I doubt that they will change this. To have 2 "wifi lock" modes is feature and not a bug. And think it's a good feature.

Providing low performance Wifi functionally is enough in most cases. For example an establieshed IMAP IDLE connection (push email) doesn't need full performance Wifi. Also other apps that get push notification (Whatsapp, facebook, google+ etc.) don't need full performance. Those 40 kb/s i get on low performance mode is way enough for all those background syncs and push stugg and any way to save Power is a good feature for those powerdraining smartphones.

If an app now needs more Performance it should make use of the WIFI_MODE_FULL_HIGH_PERF funtcion. To avoid disconnects by sleep policy, an app had to call WIFI_MODE_FULL before anyway. If the app needs more speed for some streaming, file transfer etc. it just needs to call WIFI_MODE_FULL_HIGH_PERF while its running.

Its not Google that should change anything in the way this is handled now. Its the App Developer that should do that. The SDK documentation is pretty good and although i'm not a programmer myself it didn't take long for me to find out where the issue with stuttering streams or slow file transfer lies. Since i had this issue with "Samba filesharing" i wrote a bug report to the dev and i hope this issue will be fixed soon, making this workaround obsolute. Samba filesharing already has the options to call "wifi look" and the code that needs to be changed is just some lines. If this is fixed, wifi will only be in high_perf mode, when im connected to the AP at home and power will be saved, when im out of range of the AP.

Anyone that has issue with an app, that needs full performance should actually file a bugreport and give the developer a hint by linking to the official android SDK documentation about HIGH_PERF mode. All they need to do then is replace code like:

int wifiLockMode = WifiManager.WIFI_MODE_FULL;

... which should already be present in any app that needs wifi, when screen is off, by something like that:

int wifiLockMode = WifiManager.WIFI_MODE_FULL;
if (AndroidCompat.SDK >= 12) {
wifiLockMode = WIFI_MODE_FULL_HIGH_PERF;
}

(don't rely on that code, thats just a guess from looking at the code from "Android terminal emulator" which does wifi lock "properly" for newer android versions)

This way is fully compatible with Android 1.5 - 3.0 for old "wifi lock" and also compatible with any Version newer than 3.1. that has support for newer powersaving Wifi Hardware.

So actually the only thing that google might change, may be some Kernel adjustments of the low perf mode itself, for issues with disconnects (due to some large overhead by wifi securty protocols etc). But actually i don't know if this is really some Kernel stuff or done by the Wifi hardware itself.

The reason i doubt, that google won't change anything on this function introduced in SDK API 12, is that the SDK should assure downward compatibility. Compatibility of an app with new features from NEWER versions of Android is up to the developers of an app, and not the job of google.
[Samsung Galaxy Nexus] Colemak:
Great explanation and the workaround works for me. We need more posts like this around.
[Samsung Galaxy Nexus] RogerPodacter:
I'm surprised more apps aren't using this that require it such as audio streaming apps etc...
[Samsung Galaxy Nexus] EP2008:
Yeah, like Google's own built in SIP client for voip, which has been known to suffer from issues when the screen is turned off.
[Samsung Galaxy Nexus] EP2008:
Now, the million dollar question... how does this affect battery life?