• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      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 softwareNintendo 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 contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      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 / suspension / ban.

[GUIDE][DEV]Compiling CM9/10/10.1 for ZTE Skate

115 posts in this topic

Posted

Yes. You need to decompile framework-res and adjust skate related parameters in xml files under values and xml directories

Use framework-res from working ICS rom as a base for config values.

And check your mic during call - this is often problem when porting ICS roms. Other side can't hear you.

This requires config changes in Phone.apk. Again you must decompile and change values.

i hv decompiled framework-res.apk but i dont know what to do... hahaha!!!!

no mic problem when porting from blade, optimus one or ace, but u'll get the problem when porting from other device.

remember i've asked u all here regarding this mic problem when i managed to port lezo v4.0 to our device. actually i solved it (i mean people at the other side can hear us) by replacing both phone.apk & telephonyprovider.apk from cm9, but i faced another problem, dialer crash!

0

Share this post


Link to post
Share on other sites

Posted

What's so difficult on decompiling framework-res from working ics rom and ported rom and comparing the configuration values? :)

No offense but this is the elementary knowledge everyone who want to port roms must be familiar with. :)

I can't remember which values exactly and have not time to check at this moment. Maybe later.

0

Share this post


Link to post
Share on other sites

Posted (edited)

in res/values/arrays.xml check and adjust the following variables


<string-array name="config_tether_usb_regexs">

		<item>usb0</item>

</string-array>

<string-array name="config_tether_bluetooth_regexs">

		<item>bnep\\d</item>

</string-array>

in res/values/strings.xml check and adjust
<string name="config_legacyUmsLunFile">/sys/devices/platform/msm_hsusb/gadget/lun0/file</string>

Also check res/xml/power_profile.xml and res/xml/storage_list.xml

You can compare them with my github @ https://github.com/C...se/core/res/res

Config for Phone.apk is here: https://github.com/C3C0/android_device_zte_skate/blob/ics/overlay/packages/apps/Phone/res/values/config.xml

Edited by C3C0
0

Share this post


Link to post
Share on other sites

Posted

i hv changed framework-res accordingly, but still usb mass storage not working. im now using miui 2.8.31 snapseries from zackconsole lg optimus one. or do i need to make fresh install to make it working? i just wipe cache & dalvik since i was coming from miui 2.7.20 (re-ported from miuiportugal blade version).

0

Share this post


Link to post
Share on other sites

Posted (edited)

Hard to say. Are you sure you have recompiled the framewrok-res correctly? You can check this by decompiling your modified framework-res.

You should see your changed values. I also recommend using logcat to track mass storage error. This can give you further hints.

Edited by C3C0
0

Share this post


Link to post
Share on other sites

Posted

You need to replace some smali files with the skate ones. Especially the ones to do with USB server and legacy USB.

0

Share this post


Link to post
Share on other sites

Posted

what files?

0

Share this post


Link to post
Share on other sites

Posted (edited)

c3c0, i managed to fix usb mass storage using yr guide for my ShenduOS 2.0.3 ICS 4.0.4, big credit to you :-) should i release it? this rom will become my daily rom now, just one more bug left, 4-way reboot not working, whatever option u choose even reboot recovery, it will boot yr phone normally to system

post-941987-0-59409600-1349335294_thumb.

Edited by zukriaksah
0

Share this post


Link to post
Share on other sites

Posted

I've updated this with a rough 4.2 guide.

0

Share this post


Link to post
Share on other sites

Posted (edited)

Hi razz, what do i have to change in order to do that for a Huawei g300?

Also, what differences are between that and compiling for paranoid android?

Thanks! Great work

Edited by Mazrim Taim
0

Share this post


Link to post
Share on other sites

Posted

Hi razz, what do i have to change in order to do that for a Huawei g300?

Also, what differences are between that and compiling for paranoid android?

Thanks! Great work

No one?

0

Share this post


Link to post
Share on other sites

Posted

No one?

Sorry i forgot I'll help you tonight

0

Share this post


Link to post
Share on other sites

Posted

Sorry i forgot I'll help you tonight

Thanks! :-)

0

Share this post


Link to post
Share on other sites

Posted

Thanks! :-)

to repo init:

repo init -u git://github.com/ParanoidAndroid/android.git -b jellybean
Right. Delete all projects in local manifest and copy these <project name="Dazzozo/android_device_huawei_u8815" path="device/huawei/u8815" /> <project name="Dazzozo/proprietary_vendor_huawei" path="vendor/huawei" /> <project name="Dazzozo/android_kernel_huawei_u8815" path="kernel/huawei/u8815" /> Then repo sync. To compile, I think you would do
. rom-build.sh u8815

0

Share this post


Link to post
Share on other sites

Posted

to repo init:

repo init -u git://github.com/ParanoidAndroid/android.git -b jellybean
Right. Delete all projects in local manifest and copy these <project name="Dazzozo/android_device_huawei_u8815" path="device/huawei/u8815" /> <project name="Dazzozo/proprietary_vendor_huawei" path="vendor/huawei" /> <project name="Dazzozo/android_kernel_huawei_u8815" path="kernel/huawei/u8815" /> Then repo sync. To compile, I think you would do
. rom-build.sh u8815

Thanks! I'll try it soon :-)

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

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