Jump to content

[DEV] AOSP Dev for Zte Blade


Guest t0mm13b

Recommended Posts

Guest burstlam

@tomm13b

Display is completely scratched with update15 to me (first wave OLED machine~)

the display issue maybe related to 16pp pixelflinger (edit : not the flipped screen issue with multitasking popup window )

compare to what I am trying ~

I patched this: 16ppfix.zip

It looks ok with desktop and setting menu

except that the boot animation and the first lockup screen smashed

btw, is yr repo really updated the fix to missing mock-ril folder?

with ur repo the compile process breaks down with mock-ril . same to KostaT feedback in couple pages before~

Edited by burstlam
Link to comment
Share on other sites

Guest liamdunn

@t0mm13b that boot img gives adb but strangely has a knock on effect of removing data connectivity, i was only able to get data back by flashing the update again

Link to comment
Share on other sites

Guest JustasU

justasu, I used wbaw v10 which gives 215mb partition. its the system one that you are looking at, this is the rom portion

But this is only gen1 to gen 2 at least i can find it..... I already bought gen 2 phone from europe. I cant understand thes tpt's :/ or is it ok to use this gen 1 to gen 2 tpt on gen 2 phone?

Link to comment
Share on other sites

Guest ThermalDroid

But this is only gen1 to gen 2 at least i can find it..... I already bought gen 2 phone from europe. I cant understand thes tpt's :/ or is it ok to use this gen 1 to gen 2 tpt on gen 2 phone?

I think it only works like that for Gen 1 phones or Gen 2 phones that has been tpt'ed. Not an expert though huh.gif

Link to comment
Share on other sites

Guest FlatPackPete

I think it only works like that for Gen 1 phones or Gen 2 phones that has been tpt'ed. Not an expert though huh.gif

I used it on my Gen 2 phone (use to be Gen 1 a long time ago) to resize the partitions and it works fine ;)

Link to comment
Share on other sites

Guest the_crevis

I have created a discussion thread here:

For general non devs questions/comments.

Lets keep this thread clean to allow the devs to continue their brillant work! :)

Link to comment
Share on other sites

Guest skywave

I have made a little dirty workaround version which apparently fixes most of the bootloops people where having when the phone registered to the network. The real problem is deep down in the armv6 implementation of Android.

http://code.google.com/p/ics4blade/downloads/detail?name=update16.zip&can=2&q=

Edited by skywave
Link to comment
Share on other sites

Guest ThermalDroid

I have made a little dirty workaround version which apparently fixes most of the bootloops people where having when the phone registered to the network. The real problem is deep down in the armv6 implementation of Android.

http://code.google.c...16.zip&can=2&q=

Any other bug fixes over Update15? Have we figured out whats causing apps to suddenly suicide mid operation? Might just be my phone acting up though.

Link to comment
Share on other sites

Turn off signature verification in clockwork to flash update16.

update16 is the first ICS-ROM that does not bootloop with SIM inserted for me!

Telephony (without sound) and data working!

Edited by FelixL
Link to comment
Share on other sites

im about to flash Update16 (cause i also wanna try ICS :D ) and wanted to know which gapps should I flash?

This one? http://code.google.c...-2.zip&can=2&q=

or some other?

Go there http://android.modac...ser-discussion/ to ask your questions. rolleyes.gif

This is a thread for devs.

The gapps on your link should work.

Edited by ayziaa
Link to comment
Share on other sites

ztemangergo: please be more specific:

a) what doesn't work, do you get bootloops with the SIM inserted, or is it only the sound if you try to call someone?

B) which ROM did you use? U15 or U16?

That's important, because U16 fixed the bootloop issue for most, it would be wired if you still experience it.

Link to comment
Share on other sites

Guest JimJam707

Although most Gapps crash on Update15 they seem to not work at all or reboot the phone on Update16

I'm using Update 16 with the 2011-11-28 GAPPS. Works well here, had to delete the setup apk though as it crashed repeatedly.

Link to comment
Share on other sites

Guest Davidoff59

Posting this from ics. The cut down gapps that fonix put in the repository wont flash, i get an error 6 and it aborts the flash so i will try the full version now..the native browser appears to have got slower scrolling from previous versions.

Gmail and market are fine. I just downloaded opera mini from market and its perfect for browsing until the native browser is improved.

Edited by Davidoff59
Link to comment
Share on other sites

Guest KonstaT

btw, is yr repo really updated the fix to missing mock-ril folder?

with ur repo the compile process breaks down with mock-ril . same to KostaT feedback in couple pages before~

I did some dirty work to get mock-ril to compile. Now RIL seems to work ok on my build, also mobile data works after copying apns-conf.xml into place. The one from device folder doesn't get copied btw, it needs to be added to device_blade.mk first. But exellent job with the RIL guys. :)

I attached the two mock-ril files I changed below and changes are as follows:

hardware/ril/mock-ril/src/cpp/requests.cpp


@@ -416,10 +416,10 @@
rilReqConversionMap[RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE] = ReqWithNoData; // 15
rilReqConversionMap[RIL_REQUEST_CONFERENCE] = ReqWithNoData; // 16
rilReqConversionMap[RIL_REQUEST_LAST_CALL_FAIL_CAUSE] = ReqWithNoData; // 18
rilReqConversionMap[RIL_REQUEST_SIGNAL_STRENGTH] = ReqWithNoData; // 19
- rilReqConversionMap[RIL_REQUEST_VOICE_REGISTRATION_STATE] = ReqWithNoData; // 20
- rilReqConversionMap[RIL_REQUEST_DATA_REGISTRATION_STATE] = ReqWithNoData; // 21
+// rilReqConversionMap[RIL_REQUEST_VOICE_REGISTRATION_STATE] = ReqWithNoData; // 20
+// rilReqConversionMap[RIL_REQUEST_DATA_REGISTRATION_STATE] = ReqWithNoData; // 21
rilReqConversionMap[RIL_REQUEST_OPERATOR] = ReqWithNoData; // 22
rilReqConversionMap[RIL_REQUEST_GET_IMEI] = ReqWithNoData; // 38
rilReqConversionMap[RIL_REQUEST_GET_IMEISV] = ReqWithNoData; // 39
rilReqConversionMap[RIL_REQUEST_ANSWER] = ReqWithNoData; // 40
[/code] hardware/ril/mock-ril/src/cpp/responses.cpp
[code]
@@ -138,13 +138,13 @@

ril_proto::RspGetSimStatus *rsp = new ril_proto::RspGetSimStatus();
rsp->ParseFromArray(buffer->data(), buffer->length());
const ril_proto::RilCardStatus& r = rsp->card_status();
- RIL_CardStatus_v6 cardStatus;
+ RIL_CardStatus cardStatus;
cardStatus.card_state = RIL_CardState(r.card_state());
cardStatus.universal_pin_state = RIL_PinState(r.universal_pin_state());
cardStatus.gsm_umts_subscription_app_index = r.gsm_umts_subscription_app_index();
- cardStatus.ims_subscription_app_index = r.ims_subscription_app_index();
+// cardStatus.ims_subscription_app_index = r.ims_subscription_app_index();
cardStatus.num_applications = r.num_applications();
for (int i = 0; i < cardStatus.num_applications; i++) {
cardStatus.applications[i].app_type = RIL_AppType(r.applications(i).app_type());
cardStatus.applications[i].app_state = RIL_AppState(r.applications(i).app_state());
@@ -238,32 +238,32 @@
return rilErrno;
}


-void unmarshallRilSignalStrength(Buffer *buffer, RIL_SignalStrength_v6 *pSignalStrength) {
+void unmarshallRilSignalStrength(Buffer *buffer, RIL_SignalStrength *pSignalStrength) {
// Retrieve response from response message
ril_proto::RspSignalStrength *rsp = new ril_proto::RspSignalStrength();
rsp->ParseFromArray(buffer->data(), buffer->length());
const ril_proto::RILGWSignalStrength& gwST = rsp->gw_signalstrength();
const ril_proto::RILCDMASignalStrength& cdmaST = rsp->cdma_signalstrength();
const ril_proto::RILEVDOSignalStrength& evdoST = rsp->evdo_signalstrength();
- const ril_proto::RILLTESignalStrength& lteST = rsp->lte_signalstrength();
+// const ril_proto::RILLTESignalStrength& lteST = rsp->lte_signalstrength();

// Copy the response message from response to format defined in ril.h
- RIL_SignalStrength_v6 curSignalStrength;
+ RIL_SignalStrength curSignalStrength;

curSignalStrength.GW_SignalStrength.signalStrength = gwST.signal_strength();
curSignalStrength.GW_SignalStrength.bitErrorRate = gwST.bit_error_rate();
curSignalStrength.CDMA_SignalStrength.dbm = cdmaST.dbm();
curSignalStrength.CDMA_SignalStrength.ecio = cdmaST.ecio();
curSignalStrength.EVDO_SignalStrength.dbm = evdoST.dbm();
curSignalStrength.EVDO_SignalStrength.ecio = evdoST.ecio();
curSignalStrength.EVDO_SignalStrength.signalNoiseRatio = evdoST.signal_noise_ratio();
- curSignalStrength.LTE_SignalStrength.signalStrength = lteST.signal_strength();
- curSignalStrength.LTE_SignalStrength.rsrp = lteST.rsrp();
- curSignalStrength.LTE_SignalStrength.rsrq = lteST.rsrq();
- curSignalStrength.LTE_SignalStrength.rssnr = lteST.rssnr();
- curSignalStrength.LTE_SignalStrength.cqi = lteST.cqi();
+// curSignalStrength.LTE_SignalStrength.signalStrength = lteST.signal_strength();
+// curSignalStrength.LTE_SignalStrength.rsrp = lteST.rsrp();
+// curSignalStrength.LTE_SignalStrength.rsrq = lteST.rsrq();
+// curSignalStrength.LTE_SignalStrength.rssnr = lteST.rssnr();
+// curSignalStrength.LTE_SignalStrength.cqi = lteST.cqi();

DBG(”print response signal strength: “);
DBG(”gw signalstrength = %d”, curSignalStrength.GW_SignalStrength.signalStrength);
DBG(”gw_bitErrorRate = %d”, curSignalStrength.GW_SignalStrength.bitErrorRate);
@@ -271,13 +271,13 @@
DBG(”cdma_ecio = %d”, curSignalStrength.CDMA_SignalStrength.ecio);
DBG(”evdo_dbm = %d”, curSignalStrength.EVDO_SignalStrength.dbm);
DBG(”evdo_ecio = %d”, curSignalStrength.EVDO_SignalStrength.ecio);
DBG(”evdo_signalNoiseRatio = %d”, curSignalStrength.EVDO_SignalStrength.signalNoiseRatio);
- DBG(”lte_signalStrength = %d”, curSignalStrength.LTE_SignalStrength.signalStrength);
- DBG(”lte_rsrp = %d”, curSignalStrength.LTE_SignalStrength.rsrp);
- DBG(”lte_rsrq = %d”, curSignalStrength.LTE_SignalStrength.rsrq);
- DBG(”lte_rssnr = %d”, curSignalStrength.LTE_SignalStrength.rssnr);
- DBG(”lte_cqi = %d”, curSignalStrength.LTE_SignalStrength.cqi);
+// DBG(”lte_signalStrength = %d”, curSignalStrength.LTE_SignalStrength.signalStrength);
+// DBG(”lte_rsrp = %d”, curSignalStrength.LTE_SignalStrength.rsrp);
+// DBG(”lte_rsrq = %d”, curSignalStrength.LTE_SignalStrength.rsrq);
+// DBG(”lte_rssnr = %d”, curSignalStrength.LTE_SignalStrength.rssnr);
+// DBG(”lte_cqi = %d”, curSignalStrength.LTE_SignalStrength.cqi);
}

/**
* Handle RIL_REQUEST_SIGNAL_STRENGTH response
@@ -296,9 +296,9 @@
const ril_proto::RILEVDOSignalStrength& evdoST = rsp->evdo_signalstrength();
const ril_proto::RILLTESignalStrength& lteST = rsp->lte_signalstrength();

// Copy the response message from response to format defined in ril.h
- RIL_SignalStrength_v6 curSignalStrength;
+ RIL_SignalStrength curSignalStrength;
unmarshallRilSignalStrength(buffer, &curSignalStrength);

// Complete the request
s_rilenv->OnRequestComplete(token, rilErrno, &curSignalStrength, sizeof(curSignalStrength));
@@ -354,9 +354,9 @@
const ril_proto::RILCDMASignalStrength& cdmaST = rsp->cdma_signalstrength();
const ril_proto::RILEVDOSignalStrength& evdoST = rsp->evdo_signalstrength();

// Copy the response message from response to format defined in ril.h
- RIL_SignalStrength_v6 curSignalStrength;
+ RIL_SignalStrength curSignalStrength;
unmarshallRilSignalStrength(buffer, &curSignalStrength);

s_rilenv->OnUnsolicitedResponse(cmd, &curSignalStrength, sizeof(curSignalStrength));
DBG(”UnsolRspSignalStrength X”);
@@ -514,10 +514,10 @@
rilRspConversionMap[RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE] = RspWithNoData; // 15
rilRspConversionMap[RIL_REQUEST_CONFERENCE] = RspWithNoData; // 16
rilRspConversionMap[RIL_REQUEST_LAST_CALL_FAIL_CAUSE] = RspIntegers; // 18
rilRspConversionMap[RIL_REQUEST_SIGNAL_STRENGTH] = RspSignalStrength; // 19
- rilRspConversionMap[RIL_REQUEST_VOICE_REGISTRATION_STATE] = RspStrings; // 20
- rilRspConversionMap[RIL_REQUEST_DATA_REGISTRATION_STATE] = RspStrings; // 21
+// rilRspConversionMap[RIL_REQUEST_VOICE_REGISTRATION_STATE] = RspStrings; // 20
+// rilRspConversionMap[RIL_REQUEST_DATA_REGISTRATION_STATE] = RspStrings; // 21
rilRspConversionMap[RIL_REQUEST_OPERATOR] = RspOperator; // 22
rilRspConversionMap[RIL_REQUEST_GET_IMEI] = RspString; // 38
rilRspConversionMap[RIL_REQUEST_GET_IMEISV] = RspString; // 39
rilRspConversionMap[RIL_REQUEST_ANSWER] = RspWithNoData; // 39

The flipped screen issue is quite something. My screen rotation animation is interesting to say the least. When I rotate my phone, it first flips the screen 180 degrees. After that it rotates screen 90 degrees to wrong direction (right direction if you look it from perspective how it should be before it flipped) to end up the right way around. Also the the preview pictures in task screen are upside down. I tried few thing with surfaceflinger without notable success. Might have to dig a bit deeper to fix this.

mock-ril.zip

Edited by KonstaT
Link to comment
Share on other sites

Guest fedezubo

OMG!! this is ice cream sandwich! no reboots, no glitches, some bugs (VERY STUPID!), it's AWESOME!

edit: no sound on call but... read above!

Edited by fedezubo
Link to comment
Share on other sites

Guest ztemangergo1234

ztemangergo: please be more specific:

a) what doesn't work, do you get bootloops with the SIM inserted, or is it only the sound if you try to call someone?

B) which ROM did you use? U15 or U16?

That's important, because U16 fixed the bootloop issue for most, it would be wired if you still experience it.

sound doesn't work :( but u16

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.