Jump to content


Photo

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

* * * * * 1 votes

  • Please log in to reply
114 replies to this topic

#101
zukriaksah

zukriaksah

    Enthusiast

  • Members
  • PipPipPip
  • 195 posts

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

#102
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
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
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.

#103
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
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/C...lues/config.xml

Edited by C3C0, 13 September 2012 - 04:26 PM.

  • 0
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.

#104
zukriaksah

zukriaksah

    Enthusiast

  • Members
  • PipPipPip
  • 195 posts
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

#105
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
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, 14 September 2012 - 05:11 AM.

  • 0
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.

#106
tilal6991

tilal6991

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,781 posts
  • Gender:Male
  • Devices:ZTE Skate, Huawei U8150
You need to replace some smali files with the skate ones. Especially the ones to do with USB server and legacy USB.

  • 0
If you like my work or if I helped, click the Plus button.

#107
zukriaksah

zukriaksah

    Enthusiast

  • Members
  • PipPipPip
  • 195 posts
what files?

  • 0

#108
zukriaksah

zukriaksah

    Enthusiast

  • Members
  • PipPipPip
  • 195 posts
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

Attached Files


Edited by zukriaksah, 04 October 2012 - 07:21 AM.

  • 0

#109
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate
I've updated this with a rough 4.2 guide.

  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#110
Mazrim Taim

Mazrim Taim

    Newbie

  • Members
  • Pip
  • 4 posts
  • Gender:Male
  • Devices:Huawei g300
  • Twitter:@TMazrim
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, 24 February 2013 - 02:58 PM.

  • 0

#111
Mazrim Taim

Mazrim Taim

    Newbie

  • Members
  • Pip
  • 4 posts
  • Gender:Male
  • Devices:Huawei g300
  • Twitter:@TMazrim

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

#112
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate

No one?


Sorry i forgot I'll help you tonight

  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#113
Mazrim Taim

Mazrim Taim

    Newbie

  • Members
  • Pip
  • 4 posts
  • Gender:Male
  • Devices:Huawei g300
  • Twitter:@TMazrim

Sorry i forgot I'll help you tonight

Thanks! :-)

  • 0

#114
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate

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

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#115
Mazrim Taim

Mazrim Taim

    Newbie

  • Members
  • Pip
  • 4 posts
  • Gender:Male
  • Devices:Huawei g300
  • Twitter:@TMazrim

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




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users