[DEV][ROM] RacerMod 1.7 [19/04/2013] CyanogenMod 7.2 port with 2.6.35.7 kernel & CWM Recovery 5.0.2.8
#221
Posted 17 December 2012 - 01:57 AM
#222
Posted 19 December 2012 - 02:14 PM
Can we use your device to build ICS for Racer?
I'm from Russia
#223
Posted 19 December 2012 - 02:53 PM
idrisov, on 19 December 2012 - 02:14 PM, said:
Can we use your device to build ICS for Racer?
You can use the ics branch from my github for the device folder & the vendor folder... you need to use the ics-dev branch for the kernel.
Currently the source builds successfully but it doesn't boot, stuck on the boot logo and the screen turns slowly white.
If you like my work, don't forget to press the vote up button!
Current phones:
SE Xperia x10 mini - MiniCM10 & nAa-jb kernel
Using custom built roms by me:
SE Xperia mini - CyanogenMod 10 & FXP kernel
ZTE Carl - CyanogenMod 7 & 2.6.35.7 kernel
#224
Posted 19 December 2012 - 05:13 PM
Edited by miki994, 19 December 2012 - 05:15 PM.
#225
Posted 20 December 2012 - 10:26 PM
I am new to this and I need a specific functionality to be enabled on my ZTE Racer.
I need the USB Accessory mode to work for connection the mobile to the Arduino Mega ADK for Android. I am not sure if this is possible on this particular device, but my simplistic vision of it is that if there is a USB port, then it should be available to be controlled in any way you need.
So the USB Accessory is introduced in API 10 as a special library com.android.future.usb.accessory.jar. That library is present in the cm-7-20120819-NIGHTLY-mooncake rom that I have installed, but it was not found when I tried to put a simple demo app on the phone, giving error that library is not found. I already had this problem with the previous rom that I tried (cm7_2.3.7_Racer_full-257) and I solved it by putting the permissions definition file android.hardware.usb.accessory.xml at /system/etc/permissions/ as suggested in many forums (on the previous rom I had to put the jar too). This is how the application was successfully installed.
Unfortunately the application is not working as expected. It should start when USB is connected, but it doesn't. Even if I start it manually, it doesn't see that there is a device connected (the method mUsbManager.getAccessoryList() returns null). In the same time the phone green light is on, showing (I think) that it has USB connection or at least a charger.
From the Arduino side I see that it detects USB connection and tries to start communication, but gets some error 5 - protocol not supported - which usually means that the other side (the phone) is not reacting correctly as USB device. Log:
Device addressed... Requesting device descriptor.
found possible device. swithcing to serial mode
Data packet error: 5could not read device protocol version
So my question is can you compile next rom to support USB Accessory? I also read in forums that the compilation needs 'CONFIG_USB_ANDROID_ACCESSORY=y' in the '/proc/config.gz' but I don't really know if this is enough and what is its meaning.
Please respond if I can expect this feature or not, so I can decide what my next steps will be...
Thanks in advance!
#226
Posted 21 December 2012 - 11:33 AM
AngelVel, on 20 December 2012 - 10:26 PM, said:
I am new to this and I need a specific functionality to be enabled on my ZTE Racer.
I need the USB Accessory mode to work for connection the mobile to the Arduino Mega ADK for Android. I am not sure if this is possible on this particular device, but my simplistic vision of it is that if there is a USB port, then it should be available to be controlled in any way you need.
So the USB Accessory is introduced in API 10 as a special library com.android.future.usb.accessory.jar. That library is present in the cm-7-20120819-NIGHTLY-mooncake rom that I have installed, but it was not found when I tried to put a simple demo app on the phone, giving error that library is not found. I already had this problem with the previous rom that I tried (cm7_2.3.7_Racer_full-257) and I solved it by putting the permissions definition file android.hardware.usb.accessory.xml at /system/etc/permissions/ as suggested in many forums (on the previous rom I had to put the jar too). This is how the application was successfully installed.
Unfortunately the application is not working as expected. It should start when USB is connected, but it doesn't. Even if I start it manually, it doesn't see that there is a device connected (the method mUsbManager.getAccessoryList() returns null). In the same time the phone green light is on, showing (I think) that it has USB connection or at least a charger.
From the Arduino side I see that it detects USB connection and tries to start communication, but gets some error 5 - protocol not supported - which usually means that the other side (the phone) is not reacting correctly as USB device. Log:
Device addressed... Requesting device descriptor.
found possible device. swithcing to serial mode
Data packet error: 5could not read device protocol version
So my question is can you compile next rom to support USB Accessory? I also read in forums that the compilation needs 'CONFIG_USB_ANDROID_ACCESSORY=y' in the '/proc/config.gz' but I don't really know if this is enough and what is its meaning.
Please respond if I can expect this feature or not, so I can decide what my next steps will be...
Thanks in advance!
The kernel doesn't have support for USB_ANDROID_ACCESSORY, it's too old
If you like my work, don't forget to press the vote up button!
Current phones:
SE Xperia x10 mini - MiniCM10 & nAa-jb kernel
Using custom built roms by me:
SE Xperia mini - CyanogenMod 10 & FXP kernel
ZTE Carl - CyanogenMod 7 & 2.6.35.7 kernel
#227
Posted 21 December 2012 - 11:50 AM
#228
Posted 21 December 2012 - 02:52 PM
#229
Posted 23 December 2012 - 02:12 PM
mikeioannina, on 11 December 2012 - 03:24 PM, said:
A new build of CM7 is coming with some new features cherry-picked from CyanogenMod gerrit.
What do you mean? Overclocking is already enabled.
#230
Posted 23 December 2012 - 02:31 PM
#231
Posted 23 December 2012 - 05:53 PM
#232
Posted 26 December 2012 - 06:24 AM
i've tried the 1.4 on my freddo and beside the wifi everything is perfect!!
thanks mikeioannina!!...
#233
Posted 26 December 2012 - 06:26 AM
btw mine stable at 725.. ^_^d
#234
Posted 31 December 2012 - 03:14 PM
#235
Posted 02 January 2013 - 11:58 AM
edit: that happened because your boot script detect my phone like a gen2 when it is a gen1, i just copied and renamed the gen1 boot file like gen2, and i forgot to do the same with the libs, i do this and everything works
i'll try it a few days and if i get a bug i'll report it
Edited by Aloxi Heiligsohn, 03 January 2013 - 12:49 AM.
#236
Posted 03 January 2013 - 08:34 PM
How to set the screen calibration in the original state it was when the firmware (software used for the calibration of the firmware - I do not like the result.)
What do you recommend settings for performance tuning.
thanks
Sorry for the google translate
#237
Posted 08 January 2013 - 06:12 PM
One detail: the boot/check_generation.sh file is wrong for my phone (chilean zte racer gen1), so I had to modify it a bit, and replace "generation=2" with "generation=1"
This is the script I'm talking about:
#!/sbin/sh check_gen1=`cat /proc/mtd | grep "mtd1: 0048"` if [ "$check_gen1" != "" ] then echo "generation=1" > /tmp/gen.prop else echo "generation=2" > /tmp/gen.prop fi
For the record:
# cat /proc/mtd dev: size erasesize name mtd0: 00500000 00020000 "recovery" mtd1: 00500000 00020000 "boot" mtd2: 00180000 00020000 "splash" mtd3: 00080000 00020000 "misc" mtd4: 02800000 00020000 "cache" mtd5: 0dc00000 00020000 "system" mtd6: 0a280000 00020000 "userdata" mtd7: 01500000 00020000 "oem" mtd8: 00180000 00020000 "persist"
Anyways, thank you VERY MUCH for your work!
#238
Posted 10 January 2013 - 01:23 PM
however i'd like to report some glitches that i have found:
1. wifi: as we all now, it isn't working yet..
2. bluetooth: it works but sometimes you need to enable it couple of times.
3. screen orientation: works fine but sometimes it splashes a green screen before rotating from portrait to landscape and vice versa.. and sometimes the green screen is gone by itself.. not a big deal for me though..
4. i dunno which sensor that deal with this. i am using an app named google sky map for locating stars, etc. it seem like the compass on the phone only working when the phone is held flat but not working if the phone is held upward..
that is all that i have found so far but the phone is blazing fast now!!
great work mike and thanks.. you have given this old phone a new life... ^_^d
#239
Posted 11 January 2013 - 04:02 PM
If you like my work, don't forget to press the vote up button!
Current phones:
SE Xperia x10 mini - MiniCM10 & nAa-jb kernel
Using custom built roms by me:
SE Xperia mini - CyanogenMod 10 & FXP kernel
ZTE Carl - CyanogenMod 7 & 2.6.35.7 kernel
#240
Posted 12 January 2013 - 05:34 PM
Nokia Lumia 520 - Windows Phone 8
Genesis GT-8230 - ParanoidAndroid 2.53 (AOSP 4.1.2 w/ 3.0.42 kernel)
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users







Sign In
Create Account

Back to top









