MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.
Sign in to follow this  
Followers 0

[DEV][Port] Swedish Snow RLS 7 [TEST][BETA]

22 posts in this topic

Posted · Report post

Hi guys.

Here's a beta port of KonstaT's SwedishSnow.

All credits go to KonstaT.

Advanced users only!

IMPORTANT:

  • This Build is extremely BETA!
  • Use at your own risk!
  • Only for the SF2!!
  • May not boot!

I just did the basic porting, you have to fix the ROM yourself!

If you're familiar with adb logcat/ddms it won't be that hard.

I'm not responsible for any damage this ROM makes!

Download

0

Share this post


Link to post
Share on other sites

Posted · Report post

Nice one :) i take it this just got put though your tool? while I'm at it do you have a list of what your tool moves/copies so i run in to less dead ends while testing.

thanks :) again. this rom is awsome on the blade :)

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

For a start, this suffers from the same issue as the ROM iharrybao ported, dhd.ko is missing. Only the Blade Wi-Fi module and firmware is present and there is no sign of the Crescent's at all.

Edit: in response to raverrr, the porting tool seems to have a preset list of files in each directory, some of which we could do without as they're the same for all devices, and some extra that could be needed (dhd.ko for Crescent) though mostly it's a very good start and does a ton of the work for you.

The things to test really are the hardware functions (Bluetooth, RIL, Wi-Fi, etc.)

Edited by Dazzozo
1

Share this post


Link to post
Share on other sites

Posted · Report post

I would be glad if you could tell me what files have to be changed, so I can add them to my script! :D

I just used the standard setup from Blade...

0

Share this post


Link to post
Share on other sites

Posted · Report post

bins seem fine, though in the future (if I fix Bluetooth being dependent on Wi-Fi) you might need to add btld to that list (it's not in CM7 yet), and that might also require BrcmBluetoothServices.apk (not entirely sure on this, just noting it before I forget).

BCM4330B1_002.001.032.0518.0520.hcd seems missing from etc and the same can be said for the aforementioned dhd.ko (we don't have source for a kernel build) at lib/modules for Wi-Fi. As far as I can tell, the firmware files for the Wi-Fi are missing too. The Blade seems to have the /system/wifi convention (this is present in the Swedish Snow port above and contains the Blade Wi-Fi firmware) while I believe our dhd.ko expects them in /system/etc/ (fw_4330b1.bin, etc.)

Most of what isn't necessary to be ported (the ones in the ROM can be kept) should be the EGL libs, libril and liboemcamera (these are identical for the Crescent and Skate at least, I don't know enough about the Blade to comment there, though)

This would need much more extensive testing and is just what I can tell from a first glance.

1

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks bro!

Will have a look into it.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Additionally, you might want to transfer /usr/keylayout and /usr/idc straight across from the base ROM. I just had some issues with having the infamous cursor to drag around instead of using the touchscreen properly because of missing idcs.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

I just pulled /usr/keychars/*device*_keypad.kcm and /usr/keylayout/*device*_keypad.kl...

There is actually no usr/idc on Blade (and I think on Skate) ROMs.

Is the whole /keychars and /keylayout needed or only the keypad stuff?

The most common *need to fix* things on my ports for Blade are RIL, HW Rendering/Handling/, BT and WIFI.

RIL is tricky. You said libril isn't necessary to port?

DDMS didn't tell me much, but I think it's a bit about smali replacing in framework.jar, could that be?

Edited by XMasterNinni
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

I just pulled /usr/keychars/*device*_keypad.kcm and /usr/keylayout/*device*_keypad.kl...

Not enough. We have atmel-touchscreen.idc, synaptics-rmi-touchscreen.idc and synaptics-rmi4-ts.idc as one of the phones has capacitive buttons attached to the screen (and various touchscreen models), and keylayouts to go with these, though I believe this is 4.0 specific... Let the headache begin!

There is actually no usr/idc on Blade (and I think on Skate) ROMs.

Is the whole /keychars and /keylayout needed or only the keypad stuff?

What's to lose in copying it all? A ROM isn't going to have anything useful here, it's for device support and device support only.

The most common *need to fix* things on my ports for Blade are RIL, HW Rendering/Handling/, BT and WIFI.

RIL is tricky. You said libril isn't necessary to port?

DDMS didn't tell me much, but I think it's a bit about smali replacing in framework.jar, could that be?

RIL files from the Skate work on the Crescent, so I'm assuming from this that they're all compatible. It would need testing on the Blade.

What do you need to change in smali? I ported something and RIL works.

Edited by Dazzozo
0

Share this post


Link to post
Share on other sites

Posted · Report post

On 2.3.7 ROMs, RIL (and nearly everything) works like a charm but not on 2.3.5 ones...

I get a hell more errors on those...

0

Share this post


Link to post
Share on other sites

Posted · Report post

If you want the names for the Wi-Fi files:

/lib/modules/dhd.ko -or- /lib/dhd.ko (differs based on ROM which is a pain)

/etc/fw_4330b1.bin

/etc/fw_4330b2.bin

/etc/fw_4330_b1_apsta.bin

/etc/fw_4330_b2_apsta.bin

/etc/nv_4330b1.txt

/etc/nv_4330b2.txt

...and for Bluetooth:

/etc/BCM4330B1_002.001.032.0518.0520.hcd

/bin/BCM4330B1_0243.0000_ZTE_P736V.hcd

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks...

Are these files implented in all ROMs or only in 2.3.5 ones?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks...

Are these files implented in all ROMs or only in 2.3.5 ones?

They're in all and necessary for the function of Wi-Fi and Bluetooth. dhd.ko is in either one of the locations, though I think you can assume it's in /lib/dhd.ko if and only if it's 2.3.5 (stock).

Interestingly, if it is 2.3.5 stock, /lib/modules/ can actually contain some other KO files, such as tun.ko (which is present in FnC), so I'm not sure how you want to handle these (you could ignore them, they're not completely necessary and some ROMs do ignore them (FLB2), but do provide additional functions).

1

Share this post


Link to post
Share on other sites

Posted · Report post

I think your best bet would be to copy the modules directory and then /lib/dhd.ko if present.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Yeah, would be the best. Will change some things today ;)

PS: Do you know what a _FORTIFY_SOURCE error during compilation is? A PM would be nice! :)

0

Share this post


Link to post
Share on other sites

Posted · Report post

Yeah, would be the best. Will change some things today ;)

PS: Do you know what a _FORTIFY_SOURCE error during compilation is? A PM would be nice! :)

I'll reply later - on my phone. Spending some time with the missus ;)

1

Share this post


Link to post
Share on other sites

Posted · Report post

Having a little crack at this today. With a slightly different aproach. I'm going to use FNC as a base for the port. Hopefully make things easier.

0

Share this post


Link to post
Share on other sites

Posted · Report post

@raverrr

Can I use FnC as the default base_rom for my tool? :D

0

Share this post


Link to post
Share on other sites

Posted · Report post

@raverrr

Can I use FnC as the default base_rom for my tool? DA3K8uHVGEVRUPTrQVIwV5E0OZcfUHIg94YEOiuywADEMjktKjI0I8TWABQgo6DTNXYICnE004EEHDmR+KTU1KX54IGMBAGd3XCYdIc62AAAAAElFTkSuQmCC

What do you even use at the moment? FLB2?

0

Share this post


Link to post
Share on other sites

Posted · Report post

@raverrr

Can I use FnC as the default base_rom for my tool? DA3K8uHVGEVRUPTrQVIwV5E0OZcfUHIg94YEOiuywADEMjktKjI0I8TWABQgo6DTNXYICnE004EEHDmR+KTU1KX54IGMBAGd3XCYdIc62AAAAAElFTkSuQmCC

Yep,yep go ahead :)

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

@raverrr

Thanks friend! ;)

@Daz

sebastian404's debranded ROM

Edited by XMasterNinni
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

@raverrr

Thanks friend! ;)

@Daz

sebastian404's debranded ROM

Any updates on this XMasterNinni? We'd like to help in getting this ROM developed more, now that things such as Bluetooth also has been fixed on CM.

And I believed that Seb's debranded ROM (which you used as a base) was deodexed, but any idea why .odex files are still present in that zip while none of the others except stock contain them? Would that have been an issue here?

Edit - Seems somehow your build has got rid of the .odex files.. :unsure:

Edited by BLu3HaZe
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.