[Q][newbie] Porting B2G to Xperia ray - Firefox OS General

Can someone prepare a clear guide for porting B2G? Or if any exist rather than unclear mozilla one
"https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Porting"
Point me in that direction?
The guide should have this things,With the steps of forking and cloning git repos and other necessary steps.
1)What changes we have to do to the kernel (Briefly explained in the original port guide,But not clear)
2)What changes we have to do in config.sh (I think I figured it out.But need to be clear)
3)What changes we have to do in manifest xml
4) How to create a new configuration tree?
I'm a newbie at porting and building android or B2G so any help you can do is greatly appreciated.
Thanx in advance!

Yes it would be awesome!
Odesláno z mého HUAWEI U8815 pomocí Tapatalk 4 Beta

Please
Sent from my potato

You could see the Porting guide in Spanish:
https://developer.mozilla.org/es/docs/Mozilla/Firefox_OS/Portando
I edited with a lot of changes and explanations more clear that the one in English.

Gioyik said:
You could see the Porting guide in Spanish:
https://developer.mozilla.org/es/docs/Mozilla/Firefox_OS/Portando
I edited with a lot of changes and explanations more clear that the one in English.
Click to expand...
Click to collapse
I am not the best with spanish but I will try to port it to Galaxy W.
Sent from my potato

Ray Firefox OS
See this video. youtube.com/watch?v=Ghv4wsj8Q4U I don't know how to port but this post will help maybe.

this video dont having region ? problem

I think its from japan.
Sent from my ST18i using xda app-developers app

Related

Jellybean Porting Thread

This thread is to assist porting of Android 4.1 (Jellybean) to ICS devices
A good base ROM for porting: http://forum.xda-developers.com/showthread.php?t=1737849
Ramdisk diff
This is a diff file for the Jellybean ramdisk from ICS. This is from the galaxy nexus and will have to be changed for your specific device. Some notes that are not shown in the diff are that /sbin/adbd and init changed -- These are both binaries so they need to be manually taken from the jb ramdisk.
http://pastebin.com/xwCLRrT0
Files changed in /system/
This is a list of files that have changed in JB... Please check /vendor/{device vendor}/{device name}/ and[/SIZE][/SIZE] /device/{device vendor}/{device name}/ in the CM source to make sure they don't overlap... If any do, just keep your cm9 versions.
/system/app/ - Basically every apk, don't even bother copying individual changed files
/system/bin/
adb.p dumpsys.p mksh.p sdptool.p
applypatch.p fsck_msdos.p mtpd.p sensorservice.p
app_process.p gzip.p ndc.p servicemanager.p
bluetoothd.p hciattach.p netcfg.p service.p
bootanimation.p hostapd.p netd.p setup_fs.p
brcm_patchram_plus.p installd.p pand.p smc_pa_ctrl.p
bugreport.p ip6tables.p ping.p surfaceflinger.p
dalvikvm.p ip.p pppd.p system_server.p
dbus-daemon.p iptables.p racoon.p tc.p
debuggerd.p keystore.p rild.p tf_daemon.p
dexopt.p linker.p run-as.p toolbox.p
dhcpcd.p logcat.p schedtest.p vdc.p
dnsmasq.p logwrapper.p screencap.p vold.p
drmserver.p make_ext4fs.p screenshot.p wpa_supplicant.p
dumpstate.p mediaserver.p sdcard.p
NEW
atrace content e2fsck mdnsd requestsync uiautomator
/system/xbin/
dexdump.p/system/etc/apns-conf.xml.p fallback_fonts.xml.p permissions
audio_effects.conf.p gps.conf.p ppp
dhcpcd media_profiles.xml.p security
event-log-tags.p NOTICE.html.gz.p system_fonts.xml.p
NEW
audio_policy.conf media_codecs.xml security
fallback_fonts-ja.xml preferred-apps
/system/media/ & /system/fonts/ - Just take it all from jb as pretty much none is device specific.
/system/framework/ - Everything
Very cool, and answers a few problems I was having. Great work man, really helpful
Sent from my Incredible S using xda premium
I think I might just start from scratch again and use this to make a new first version.I hope this can help me get a booting version for the Sensation, but I make no promises. What I have so far is just bootlooping. Thanks for your work and the post......
Edited: Nvm I got it. I'm dumb.
T-Macgnolia said:
I think I might just start from scratch again and use this to make a new first version.I hope this can help me get a booting version for the Sensation, but I make no promises. What I have so far is just bootlooping. Thanks for your work and the post......
Click to expand...
Click to collapse
Do you have gtalk? I might want some help porting to my device.
Sent from my SPH-D700 using Tapatalk 2
MДЯCЦSДИT said:
Do you have gtalk? I might want some help porting to my device.
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
Yeah I got it now lol, my user name is tmacgnolia on gtalk.
Edit: My mistake man it is Tony Roach.
anyone else having pastebin issues? site seems like its down D:
Same here! Lots of answers solved.
Anyone having any luck? Im porting it to the Droid Incredible and im getting the same errors in my logcats no matter what i do.
Albinoman said:
Anyone having any luck? Im porting it to the Droid Incredible and im getting the same errors in my logcats no matter what i do.
Click to expand...
Click to collapse
Have you edited the ramdisk?
Sent from my SPH-D700 using Tapatalk 2
MДЯCЦSДИT said:
Have you edited the ramdisk?
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
Thats what my friends doing right now.
What exactly do we edit in the ramdisk?
Can somebody explain a bit more?
Sent from my LG-E739 using Tapatalk 2
medicjunKie said:
What exactly do we edit in the ramdisk?
Can somebody explain a bit more?
Sent from my LG-E739 using Tapatalk 2
Click to expand...
Click to collapse
Extract the boot.img using a kitchen on linux
Sent from my SPH-D700 using Tapatalk 2
MДЯCЦSДИT said:
Extract the boot.img using a kitchen on linux
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
I hate feeling like a Noob, and Having to ask, but once its extracted, and we have the kernel and the Ramdisk, what do we actually edit?
medicjunKie said:
What exactly do we edit in the ramdisk?
Can somebody explain a bit more?
Sent from my LG-E739 using Tapatalk 2
Click to expand...
Click to collapse
budm said:
I hate feeling like a Noob, and Having to ask, but once its extracted, and we have the kernel and the Ramdisk, what do we actually edit?
Click to expand...
Click to collapse
The main thing you have to edit is the init.rc, but you may need to edit other things as well. I still have not found the right combinations of edits for my port to boot, Anyway use something like WinMerge to compare the files from the ramdisk of your base ROM with the ramdisk of the SDK. You can also edit the files while you have them in WinMerge.
Thank you so much, I will definitely try using that tool, and that gives me a direction to try towards.
cheers!
Ok guys i feel like im getting closer. The exact error im getting is,
Could not find method com.android.providers.settings.DatabaseHelper.setWriteAheadLoggingEnabled, referenced from method com.android.providers.settings.DatabaseHelper.<init>
Anyone have any ideas? I know that settings is crashing but i don't know what to do about it. Here is the full logcat http://paste.ubuntu.com/1065069/
Is the whole pastebin is to replace everything in init.rc? Or some of it?
DaXmax said:
Is the whole pastebin is to replace everything in init.rc? Or some of it?
Click to expand...
Click to collapse
It is a diff
Sent from my SPH-D700 using Tapatalk 2
Albinoman said:
Ok guys i feel like im getting closer. The exact error im getting is,
Could not find method com.android.providers.settings.DatabaseHelper.setWriteAheadLoggingEnabled, referenced from method com.android.providers.settings.DatabaseHelper.<init>
Anyone have any ideas? I know that settings is crashing but i don't know what to do about it. Here is the full logcat http://paste.ubuntu.com/1065069/
Click to expand...
Click to collapse
That means that it can not find com.android.providers.settings.DatabaseHelper.setWriteAheadLoggingEnabled that is referenced in the init of the ramdisk. So you need to look at the init of the ramdisk and see where it is looking for that file and then place that file where it is suppose to be.
Also I finally got my port booting but it does not get passed the bootanimation and I got the adb working, yay.

I want to make my own ROM..

Sent from my GT-S5360
I want to make my own ROM,not by kitchen.Please say me what should i study.My friends told me to learn LINUX.Please help me ...
Sent from my GT-S5360
learn to search b4 posting :thumbup::sly:
Sent from my Nexus 4 using Tapatalk 2
if you want to create your own rom,
it's not a walk in the park,
you need to learn the basics,
updater-script editing, theming, xml editing,
smali is good but not nessesarrily required,
you can use windows through cywin if you dont want to change OS
deathnotice01 said:
if you want to create your own rom,
it's not a walk in the park,
you need to learn the basics,
updater-script editing, theming, xml editing,
smali is good but not nessesarrily required,
you can use windows through cywin if you dont want to change OS
Click to expand...
Click to collapse
Hey can you teach me, means I want a complete detailed video or information about all this..
Plz help he out...
I want yo learn all this, I too want to b a dev when become older...:what:
Or anyone other who have time for me can pm me...
Plz plz
And if you guruprasanth19 you learn all this plz teach me
parth_galaxy_y said:
Hey can you teach me, means I want a complete detailed video or information about all this..
Plz help he out...
I want yo learn all this, I too want to b a dev when become older...:what:
Or anyone other who have time for me can pm me...
Plz plz
Click to expand...
Click to collapse
you can check youtube,
i also have no formal programming lessons, ever!,
i'm a business and human resources management bachelor, way far from IT related studies,
i learned through googling things and constantly failing (not to mention all the bootloops i have to undergo through),
in order to learn android,
YOU WILL FAIL!. YOU WILL FAIL!.
after that you learn and make things right!
Now!!What all basics i should get through?
First we should get a backup of the rom and modify it our PC...is that the basic need ?Help me out in what software we need do all that compiling.What all programming languages we need,i googled it but no use soo,understand...i passionate about making roms,I am hungry but no food :banghead::what:
Sent from my GT-S5360
you wanna make your own rom
bro you should say that u wanna make custom stock rom !
making rom is not easy ! making custom stock rom is easy !
spend some months on xda you will learn how custom stock roms are made ...........
Ya i want to make a custom rom
Sent from my GT-S5360
I'm trying to make my own stock based cusyom rom too! But it's for personal use
One thing I have to ask, will the framework.Apk and systemui of custom ROMs work on deodexed stock?
Saving the universe, one game at a time.
as cyanogen and all ERD's say u must first learn the basics of programming and some languages and after u hv good knowledge of all the things required to make a good custom rom than u shud make it....
u hv to spend time in xda reading and experimenting things....
Sent from my GT-S5360 using xda app-developers app
simple.
read.learn.try.fail.succeed
Dude you're out of your mind. That may possibly be the hardest task to accomplish without a reasonably sized dev team. Just make a custom stock rom. Its much easier to do and you already have the base of it from the original stock rom, so you just have to add in what you want. If you're trying to make one from scratch, forget about it.
Sent from my U9200 using xda app-developers app
At least tell me a programme to modify apk...
---------- Post added at 07:55 PM ---------- Previous post was at 07:54 PM ----------
And some thing to create theme
parth_galaxy_y said:
At least tell me a programme to modify apk...
---------- Post added at 07:55 PM ---------- Previous post was at 07:54 PM ----------
And some thing to create theme
Click to expand...
Click to collapse
VTS Studio for modifying smali and xmls also decompiling and recompiling java based apps,
for theming go with Photoshop or paint.net
deathnotice01 said:
VTS Studio for modifying smali and xmls also decompiling and recompiling java based apps,
for theming go with Photoshop or paint.net
Click to expand...
Click to collapse
In VTS studio when I select new project In the smali tab there is no 2.3.3 gingerbread there is only 2.3 gingerbread. also The default is 4.0.3 Ice cream sandwitch Shall I change It to 2.3 before decompiling
Bidyadhar said:
In VTS studio when I select new project In the smali tab there is no 2.3.3 gingerbread there is only 2.3 gingerbread. also The default is 4.0.3 Ice cream sandwitch Shall I change It to 2.3 before decompiling
Click to expand...
Click to collapse
of course,
we are 2.3.x android
deathnotice01 said:
of course,
we are 2.3.x android
Click to expand...
Click to collapse
Sir how to move clock to middle in jellyblast rom??????
I searched it but did not get it?
deathnotice01 said:
of course,
we are 2.3.x android
Click to expand...
Click to collapse
If I am on jelly bean still I have to choose Android 2.3?

[Q] How to compile github java source?

Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
elesbb said:
Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
Click to expand...
Click to collapse
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Maybe you will need to add some external libraries like the supportv4 library.
dcsms said:
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Click to expand...
Click to collapse
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
elesbb said:
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
dcsms said:
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
Click to expand...
Click to collapse
Thanks man!
I was able to use smali to do what I wanted and theo0so was able to help me sign it with CM keys to allow it to run
But there were a lot more things I wanted to mess around with, so when I get a day off I will follow all steps Thanks again!
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2

Need help with adding two android projects into one project

Hi I have 2 android projects in eclipse a subnet calculator and a data tester The problem is that they are in two different projects! I want to add the data tester one into the subnet calculator! The question is how do I do this?
I have tried almost everything I can think of!!
Please help!!
Thanks in advance!!
Rapsong11
That can be done only manually afaik. From where you want to move from one project to another you'll have manually create intents of fragment calls or whatever is needed. Copy-paste the needed classes to newly created packages etc, update your manifest, copy-paste layoutfiles etc etc. I know, quite some work but there is no automated process for this.
Zatta said:
That can be done only manually afaik. From where you want to move from one project to another you'll have manually create intents of fragment calls or whatever is needed. Copy-paste the needed classes to newly created packages etc, update your manifest, copy-paste layoutfiles etc etc. I know, quite some work but there is no automated process for this.
Click to expand...
Click to collapse
Thanks for the reply!! would you mind showing me how to do this? via team viewer?
please let me know
Rapsong11
rapsong11 said:
Thanks for the reply!! would you mind showing me how to do this? via team viewer?
please let me know
Rapsong11
Click to expand...
Click to collapse
He means copy the src of project1 to src of project2
res/ of project1 to res of project2
Donot overwrite
For files with same name copy the contents manually
Sent from my GT-S5302 using Tapatalk 2
rapsong11 said:
Thanks for the reply!! would you mind showing me how to do this? via team viewer?
please let me know
Rapsong11
Click to expand...
Click to collapse
I'm not in the situation I can do it. But also I don't want to do it and you shouldn't want to do that either.
I got everything over no errors and when you are at the main menu I have two buttons one that says subnet calculator and one that says network tester when you click the network tester button it works when you click the subnet calculator button the app crashes what am I doing wrong please let me know
Sent from my Nexus 4 using xda app-developers app
Nevermind I figured it out
Sent from my Nexus 4 using xda app-developers app
The best way to do this is to use maven projects instead standard android projects. Both projects can be children projects of superpom (maven parent project). Search for maven-android-plugins for more details.
Cheers
Sent from my SK17i using xda app-developers app

[DEV][DUMP]S5 Mini Apps[NOT PORTED]

Hey Guys,
I just want to create this Thread because I see a lot of Developers working on S5Mini based ROM for our GT-I9300.
This Thread Contains all S5Mini Apps untouched direcly from Samsung.
To answer one question before: This Files aren't Ported so don't try it on S3.
This Thread is ONLY a Dump Thread to make it easy To devs to find an Specific app and port it.
Its only for Development purposes. So this Thread is Only For Developers
I Will complete this Thread as soon as possible.
[DUMP]
APP Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyURG5tMGtwUE1XODQ&usp=sharing
BIN Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUU0h4UEZvVktmMDQ&usp=sharing
CAMERADATA Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUYU5lN21NVUZDdlE&usp=sharing
CSC Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUVlAxTndDbmhXQ1E&usp=sharing
ETC Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUaHRWZ2pNOXZOVGM&usp=sharing
FONTS Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUSldoLWtET1dPTEE&usp=sharing
FRAMEWORK Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUdExiOEgtbGpUQ0E&usp=sharing
LIB Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUN0JCMTUxY1JJS1k&usp=sharing
LOST+FOUND Empty Folder
MEDIA Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUcDB6S2pWWmdUUkU&usp=sharing
PRELOADEDKIOSK Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUSk1zTHpoQzE0aWc&usp=sharing
PRELOADEDSSO Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUOWVYWFJnaVhQd28&usp=sharing
PRIV-APP Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUOGVVaWs5ODV0SVk&usp=sharing
SIPDB Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUaEM0Z0lVRUVaSU0&usp=sharing
TTS Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUb0dBWXd0eGpXLW8&usp=sharing
USR Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUczdDdjNKR3RUd3c&usp=sharing
VENDOR Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUSmlOTDQ3cUVidFk&usp=sharing
VODB Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUakp5QnREaktxc2c&usp=sharing
VOICEBARGEINDATA Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUSkFFdUxjX3VQR0U&usp=sharing
WAKEUPDATA Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUNVVTcTdkUWdQWHM&usp=sharing
XBIN Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyUcTBoUXk4SkdTbTg&usp=sharing
OTHER (Kernel, Build.Prob, etc) Uploaded
https://drive.google.com/folderview?id=0B8gdWaaPYAyULUZUaDluN19yTnM&usp=sharing
Enjoy
Reseved
Thanks bro
Sent from my SM-G900F using Tapatalk
Very good, congratulations for the initiative.
[email protected] said:
Very good, congratulations for the initiative.
Click to expand...
Click to collapse
Thanks... Links are following
Bluetooth Failed
I need solution: bluetooth failed in S5 sensation v7.0 for S3
I need solution: one hand operation Failed in S5 sensation v7.0 for S3
XxTimoteoxX said:
I need solution: bluetooth failed in S5 sensation v7.0 for S3
I need solution: one hand operation Failed in S5 sensation v7.0 for S3
Click to expand...
Click to collapse
Please Read OP carefully.
This apps needs to be Ported. They will not work by pushing to system.
Uploads Ready. All Download Links Available right now.
Enjoy and have Fun by Porting. Good Luck
Thanks for such a great work ☺
Sent from my SM-G900F using XDA Free mobile app
Can someone port the s5 mini camera for s3?
jamespanget19 said:
Can someone port the s5 mini camera for s3?
Click to expand...
Click to collapse
+1 i want that too
Awesome
Thanks bro
thanks a lot
link error media pls upload

Categories

Resources