yashsingh1/xdaforums huggingface dataset:
[Motorola Droid RAZR] sevenup30:
Hi guys :-)

Dtrail skywong frasertag and me tried hard to make working a gsm patch.

why?

Because cdma owner have lot of rom developers and great rom like cm9 aokp eclipse blackwidow and more.

what did we do

We can have every thing working by only adapt build.prop, except network data, so no edge 3g or hsdpa

We also replace thoses lib :

lib-mot-lte-ril.so

libmoto_mdmctrl.so

libmoto_netutil.so

libmoto_nwif_ril.so

libmoto_qmi_ril.so

libpppd_plugin-ril.so

libreference-ril.so

moto-multimode.so

moto-ril-multimode.so

But still nothing, we have apn but data wont connect.

Here s the logcat when i enable data

"D/GsmUmtsOptions( 941): preferenceTreeClick: return false D/NetworkSettings( 941): onPreferenceTreeClick: preference == mButtonDataEnabled. D/ConnectivityService( 296): setMobileDataEnabled(true) W/BackupManagerService( 296): dataChanged but no participant pkg='com.android.providers.settings' uid=1001

We are here now. So any help would be really apreciated !
[Motorola Droid RAZR] HSD-Pilot:
This should be pinned! It's to important to let it go under.

So let's lift it up by comments :thumbup:

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] dtrail1:
Good idea to ask some others. I guess we could learn something about GSM functionality if we take a look into official MIUI. We should compare the libs.
[Motorola Droid RAZR] sevenup30:
I'm wondering if there s not something to do with framework-res.apk i'll try decompile it and look into.
[Motorola Droid RAZR] dtrail1:
Framework has nothing to do with radio functionality, or am I wrong?
[Motorola Droid RAZR] sevenup30:
yeah that's what i thought, but it contains some information about network etc... i tried lot of things, replace libs / etc / ...

So now i try everything i can :D
[Motorola Droid RAZR] sevenup30:
as we expected, nothing to do with framework.
[Motorola Droid RAZR] whirleyes:
but isn't the framework that control what command to be sent to mdm6600??
[Motorola Droid RAZR] dtrail1:
Okay, we should modify the framework or just for testing purposes flash the framework from eu leak.
[Motorola Droid RAZR] dtrail1:
Oh yeahhh... :D

This gonna be so much fun!
[Motorola Droid RAZR] fr0w:
You can't just simply get framework.jar from Motorola and try to force it into CM/AOKP/AOSP/whatever...

It is not as simple as that.

I was also planning to give this a go, maybe we could all try to work it out together.

I'm planning to do something like this:

- Download two of the most recent leaks, a GSM one and CDMA

- Extract theirs system partition and compare ASCII files and some binary files that is missing in one or in the other.

That should point us in some direction.

The comparing process is boring, if you are using Linux you can give 'meld' and its directory comparission functionality a go.
[Motorola Droid RAZR] sevenup30:
good idead, i'll try this tomorow morning.

While trying to build cm9 i realized that x912 & xt910 dont totally work the sameway, lot of lib & etc files are different or missing in xt910 compare to xt912. ICS got this harder to fix than GB
[Motorola Droid RAZR] dtrail1:
We should do that in the group.
[Motorola Droid RAZR] circleofomega:
Any luck with this???

awesome new ICS ROMS are releaseing...sadly all are CDMA...
[Motorola Droid RAZR] dtrail1:
No need for a patch anymore. All roms which will be compiled for the official ICS will also work on GSM devices because Moto made all devices available for worldwide roaming.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] kevinarjun:
so you mean to say i can flash ics leak aokp rom without patch ?
[Motorola Droid RAZR] sevenup30:
are you sure bout that?because cm9 or aokp don't work, or may we wait them to be on official cdma ics?
[Motorola Droid RAZR] dtrail1:
It must be compiled over the official ICS.

Or at least the latest baseband must be used.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] circleofomega:
Could u tell us what baseband that is exactly..i cud ask a Dev right away...
[Motorola Droid RAZR] dtrail1:
Should be the 04.11 R for EU. But maybe in the US it is another version. But also the rom must include its drivers to use the baseband on all networks

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] sevenup30:
just trying latest AOKP, moded build.prop & apn, still dont have data. I'm on latest en eu leak.

It don't work
[Motorola Droid RAZR] circleofomega:
Am on this and want to flash the new AXIOM ROM...can i?
[Motorola Droid RAZR] eyriiii:
afaik axiom is only cdma and u will brick ur phone. correct me if I am wrong.
[Motorola Droid RAZR] circleofomega:
Lucky me then...I flashed it, but didnt boot. Stuck at the android logo/splash screen. But yes, its only CDMA and oh BTW..on the older kernel the old patch worked like a charm..
[Motorola Droid RAZR] dtrail1:
You mean the GB kernel or any older ICS kernel?

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] circleofomega:
I meant GB kernel...none of the ICS kernels would allow this patch to run...

Sent from my XT910 using Xparent ICS Blue Tapatalk 2
[Motorola Droid RAZR] dtrail1:
Oh yes, it allows. I've tried it and I got network but no data.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] circleofomega:
That's what I meant, it partially works.

Sent from my XT910 using Xparent ICS Blue Tapatalk 2
[Motorola Droid RAZR] dtrail1:
It's very tricky, because we have to figure out which combination of lib files is working correctly... The interesting thing is that my EU razr was working well with the latest verizon stock ICS...

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] circleofomega:
I have an EU build but I'm from India. And this is the latest build AFAIK.

676.226.3.XT910.Retail.en.EU

Sent from my XT910 using Xparent ICS Blue Tapatalk 2
[Motorola Droid RAZR] dtrail1:
Yeah I know. I was talking about another thing ;)

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] circleofomega:
I've got a magic potion...but who wants to test it first??

There is a slim possibility it might work...but I'm in NO WAY RESPONSIBLE IF SOMETHING goes wrong...

So do u guys want it??

Sent from my XT910 using Xparent ICS Blue Tapatalk 2
[Motorola Droid RAZR] sevenup30:
give it i'll test
[Motorola Droid RAZR] circleofomega:
Ok...again, I am not responsible IN ANY WAY if something goes wrong...

How to use this:

Just flash it over a CDMA ROM from the recovery...

and plz report...

PS: Plz download all three, unzip all of them, put it in a folder and then zip that folder,

I am sorry I had to upload them individually. COuldt upload the .zip for some reason..
[Motorola Droid RAZR] dtrail1:
Did anyone test it with success?

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] sevenup30:
i'm installing eclipse ICS we'll see.

But by only lookin what it contain, i know it wont work...

but i'll even give it a shot i may be wrong but i really doubt...

edit::

yes, it dont work. It's just a script from axiom to debloat ics leak and add somes tweak.
[Motorola Droid RAZR] whirleyes:
you can try decompile setting.apk

in res\values\bool.xml

change

<bool name="data_network_setting_enable">false</bool>
<bool name="need_lock_default_apn">true</bool>

to

<bool name="data_network_setting_enable">true</bool>
<bool name="need_lock_default_apn">false</bool>
[Motorola Droid RAZR] circleofomega:
This decompile bit is a lil confusing...

Sent from my XT910 using Xparent ICS Blue Tapatalk 2
[Motorola Droid RAZR] sevenup30:
theres nothing like that in Settings.apk, but i added them we'll see

i cannot access to setting anymore by adding those two line :o

If you are looking that from china rom, it's built differently than other ics motorola rom. weird
[Motorola Droid RAZR] whirleyes:
I get above differences while comparing between cdma & gsm rom. Sure there's more hidden setting inside other apk.

You should try compare framework-ext as-well. It contains codes for com.android.internal.telephony

I give up china rom, it was too heavy..
[Motorola Droid RAZR] sevenup30:
aokp does not contain framework-ext . . . . . . . . . . . .

we have two system working totally differently. The best thing we could do, is a dev who take sources from STS-dev-team and rework it with gsm files. unless what we're done...
[Motorola Droid RAZR] whirleyes:
I was talking about stock Moto ROM.

J.Y Daddy says he is trying to rebuild AOKP for GSM, maybe he will succeed & share.

This thing should be a priority because I heard STS-dev-team is now cooking a JB from AOSP.
[Motorola Droid RAZR] sevenup30:
Oh great J.Y daddy is a great dev also for what i remember.

I tried to build for gsm, i have a build, but with ton of issue, so its bootloop.

And yes they are cooking JB, for now they are in very alpha nothing work, but they can make it booting. But for cdma......
[Motorola Droid RAZR] circleofomega:
We gotta keep this on the top of our lists people...even I'm trying to figure out something from various other forums..

Will keep y'all posted...

Sent from my XT910 using Xparent ICS Blue Tapatalk 2
[Motorola Droid RAZR] whirleyes:
I have CDMA system & I still can boot any GSM rom. (I never tried on my 1st system though)

Now we have a working 2nd-init for BootMenu, I think it's not a big problem for making a patch from their JB release.
[Motorola Droid RAZR] sevenup30:
on cdma devices you can run gsm rom without issue?

then why can't we do the opposite? running cdma rom on gsm devices.

only since ics damn i feel stuck... Anyway i'm going to holiday for a week i'll be over there few time to see what's going on but that's all! :D

thanks for your support & answer whirleyes!
[Motorola Droid RAZR] whirleyes:
I'll give you my customized CDMA rom after your holiday. Hopefully it will work on yours.
[Motorola Droid RAZR] dtrail1:
I can also boot cdma roms on my gsm razr, but it doesn't work without issues.. Except the latest verizon ICS worked great on my razr. So the razr will get multiple roaming functionality. AOKP has its own base and that's the reason why it doesn't work on every razr. If we would have a rom based on the latest verizon system, it should work also on GSM.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] whirleyes:
I never shared my CDMA ROM. It is less bloat than VZW ROM & also support Global Mode
[Motorola Droid RAZR] circleofomega:
Im trying to make a port of the GNEXUS ROM and I might need the devs' help...hopefully it wil work..lets c.
[Motorola Droid RAZR] dtrail1:
Could you share it to some of us?

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] circleofomega:
Yeah I can you please share it with us

Sent from my XT910 using Xparent ICS Blue Tapatalk 2
[Motorola Droid RAZR] whirleyes:
Not the stock one.. I need to de-branding it first, then merge good stuff from VZW, EU, CN & Jellly Bean.

Hopefully the outcome will be usable for you (GSM) & me (NO-LTE-CDMA)..
[Motorola Droid RAZR] circleofomega:
Will it be a ROM or just a small file to be flashed from CMW?? Thanx!

Sent from my XT910 using Xparent ICS Blue Tapatalk 2
[Motorola Droid RAZR] whirleyes:
Complete package. It will take some time, I only do it nightly (little by little).
[Motorola Droid RAZR] circleofomega:
Take ur time man...and by complete package I think u mean a ROM right...? Thanx a ton..

Sent from my XT910 using Xparent ICS Blue Tapatalk 2
[Motorola Droid RAZR] whirleyes:
Today I found out that EU ROM also has Global Mode. After comparing them, I found out that CDMA & GSM ROM is almost identical in it's core framework & app. It just a matter of enabling/disabling hidden setting buried deep inside the framework & system app to switch between them.

And for the first time, I can get CDMA signal on EU ROM. Data & Voice is working as expected.
[Motorola Droid RAZR] dtrail1:
This is what I mean. No GSM Patch needed if the base rom is the latest ICS. That's why I could use a Verizon Rom with 3G signal on my EU razr

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] HSD-Pilot:
But I get FC Android Phone on start, when I flash the newest Black Widow (214).

So without some Modifications it won't work.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] circleofomega:
I don't think its that way...the ROM I tried to flash didn't even boot.

it was just stuck on the splash screen...

That's the catch. First of all, to flash a CDMA ROM on a GSM device, you need safe strap. And safe strap wont work on GSM devices. Secondly what version of the ROM are u using...I mean is it the latest?

Could u plz proved the version ?

Thanx!

Sent from my XT910 using Xparent ICS Blue Tapatalk 2
[Motorola Droid RAZR] dtrail1:
This based on AOKP. So there are not all needed sydtem files included for using of global mode.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] whirleyes:
Try playing with build.prop

ro.telephony.default_network=7

1st system : Blur_Version.67.51.8.IS12M.KDDI.en.JP (Tue May 15 12:45:19 KST 2012) (customized)

2nd system : Blur_Version.676.226.3.XT910.Retail.en.EU (Wed Jun 27 12:20:57 CST 2012) (Highly customized)
[Motorola Droid RAZR] sevenup30:
Thanks whirleyes i already try global network on aokp, but dont work , i think you re right when saying it need somes tweak in framework.

Dtrail, about safestrap, just remove hijack from /system/bin and logwrapper and edit updater-script and it boot on 2nd system
[Motorola Droid RAZR] dtrail1:
Booting it on 2nd system is not the the problem. Just put the mount line on the top over the backup tool thing and change the second line below. Now I have it installed on 2nd system without a problem.

AOKP doesn't include the latest ICS build. That's why we cannot use it with global mode. It has its own base.

If we had an older ICS AOKP GSM version, we could use its phone.apk and just the modified build.prop. Then it should work. In some cases we also need the setup.apk. But there is no GSM AOKP out there for the razr.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] sevenup30:
I tried this on eclipse1.2 with build.prop set to global network, still no data :(

edit:

i found that

07-25 13:42:47.742 469 786 I TelephonyRegistry: notifyDataConnection: state=0 isDataConnectivityPossible=true reason='dataEnabled' apn='null' apnType=cbs networkType=2
07-25 13:42:47.742 469 483 D MobileDataStateTracker: mms: Received state=DISCONNECTED, old=DISCONNECTED, reason=dataEnabled

It seems that my APN is null, but i do have the right APN selected... and i also have randrom reboot.
[Motorola Droid RAZR] whirleyes:
It still a big puzzle..

aside from setting.apk, there's also configuration inside phone.apk & systemui.apk

maybe you should compare between these file's bool.xml & eu's bool.xml

That's how I managed to get eu ROM to work on CDMA.

Update : add permissions files (copy from gsm)

/system/etc/permissions/android.hardware.telephony.gsm.xml
[Motorola Droid RAZR] farhanito:
I kept loosing gsm signal, and can't even add any apn setting :(

And random reboots as well
[Motorola Droid RAZR] whirleyes:
which ROM?
[Motorola Droid RAZR] farhanito:
Ah, sorry... Eclipse.

Do you think it's baseband related? Maybe newer leak has better radio? I know there's .215 for vzw
[Motorola Droid RAZR] whirleyes:
eclipse working fine on my phone. (but no data)

I managed to get over the wrong sim error by replacing eclipse build.prop with my phone stock ics build.prop. must be something to do with the setting inside buil.prop
[Motorola Droid RAZR] sevenup30:
yes i'm here too, my apn are detected automatically, i do have signal but no data, and signal drop randomly sometimes, i'll try to edit moe build.prop.
[Motorola Droid RAZR] dtrail1:
We tried that already. We are at the same point here as some weeks ago... It should work if we had an GSM phone.apk from the original rom. That means, if we want to port an AOKP rom, we have to use an phone.apk from an older GSM AOKP. But there doesn't exist any older GSM AOKP...

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] circleofomega:
Can I be helpful in any way...??

Sent from my Moto RAZR.
[Motorola Droid RAZR] dtrail1:
If you can offer us an GSM-AOKP or GSM-CM phone.apk and maybe also settings.apk, you would help us a lot!

But I think, we don't have to build that patch anymore because dhacker29 is porting his CDMA roms to GSM right now. The first CM9 release is working except mobile data. That is exactly the same situation we were in before..and he needs help, as we could read on twitter..but twitter is down for the moment.
[Motorola Droid RAZR] circleofomega:
plz do let me know if there is anything I can do/offer...I will be more than happy... :)

So do u want me to give u the apks?????
[Motorola Droid RAZR] dtrail1:
If you have them...? But from where? They doesn't exist as I know?

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] circleofomega:
I have the Stock ICS from Moto installed EU version..do u want me to pull the files???
[Motorola Droid RAZR] BakaPhoenix:
Have someone asked help to the miui team to ask how they make it works on the miui? Or they are using the stock phone apk?
[Motorola Droid RAZR] farhanito:
AFAIK, MIUI uses EU ROM as base, not CM9
[Motorola Droid RAZR] circleofomega:
And I HAVE AN EU ROM!!

Should I pull the apks???
[Motorola Droid RAZR] dtrail1:
Mate, we need AOKP files. But now we have a working CM9 for GSM thanks to dhacker29.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] sevenup30:
Why do you want AOKP phone.apk since eclipse is based on Stock rom?

we better ask dhacker what he did to fix DATA on gsm cm9.
[Motorola Droid RAZR] dtrail1:
I have already finished the patch. Look in my thread in the development section. :)

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] sevenup30:
well done, but still no eclipse ;)

I tried to replace phone.apk from moto ics eu but still not work, i'll try to add phoneprovider also.
[Motorola Droid RAZR] dtrail1:
There are some more changes needed. You have to modify the build.prop, this takes the most time. You will need all lib files which are called "ril" and maybe some others. Also one file from the framework and 4 apk from system/app. Take a look in my patch and take the same files from the EU ICS for copy into eclipse patch.

Gesendet von meinem XT910 mit Tapatalk 2
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] kishke:
I wanna clean my phone and get a fresh rom install and I wanted to know is there effective way of cleaning the internal SD card from all the junk that accumulated over the time with a command or I'll have to do it manually?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xcrazydx:
I format emmc in cwm, that's how i do it before rom flashes.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] kishke:
I thought that was the way but I googled it and everything that came up said never to do it.

I just noticed in the settings>storage theres an option to format usb storage will that do the trick?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] cdshepherd:
I wipe from recovery. Under mounts and storage I believe
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] kishke:
Tried wiping sd card from recovery last time, it wiped my external one and then I had to restore it ><
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xcrazydx:
It's called emmc
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Bealzibooze:
You can factory data reset from settings, and you can format usb storage from settings.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xcrazydx:
Never do that on ics, though
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] kishke:
I actually tried it said it formatted but nothing was missing from internal or external.

I used cwm emmc format, had troubles because installing from sd card didnt get passed the samsung logo even after downloading the rom again.

Had to do a nandroid and copy the installation to the internal and then flash.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mahanddeem:
Connect phone to PC

In CWM , mount USB storage...

When the phone storage is dispalyed on PC explorer , wipe everything you see (ctrl+a then del)

Do you have a PC ?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] kishke:
Actually I'm usually using my mac because it's nicer to do it from the bed. But I'll remember it for next time everything is already working great, well almost(see my other thread if interested).
[Galaxy S III General (US Carriers)] screwhead728:
I didnt had a problem connecting to the internet via wifi in my house... but today it is not working. It does connect to wifi, but when I try to go to a website, it doesn't takes me to it. It works everywhere else, laptop, xbox, but not on my phone. Does anyone know how to fix this?
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] MintiIceCream:
Hello Everyone,

Im facing a problem:

Theres a channel on YouTube (Yogscast) and i want to see the full list of their ALL videos (multi-tousand), but YouTube app can list only ~255 videos...

Can someone make a MODDED YouTube app or something tp see the full list please?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] romano_ezzat:
all android phones have much background apps processes

and i think its kill our ram memory

what is the best solution for this bad thing in our SGN or all android phones

thanks for all
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] azzledazzle:
No need to worry about background processes. Android is very efficient, Its releases apps from memory when the user needs it.

App killers are a waste of time, If you want to use one, Use the built in task manager.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] p107r0:
the common (and mostly true) wisdom is that "free RAM is wasted RAM"

PS. check here: http://www.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] devwithzachary:
As others have said you should not worry about RAM being used android will kill processors when ram is needed, unless of cause you have a rouge app leaking memory, but you would see this as a app not a background process
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Abagnale:
Actually apps running in background is a good thing ;)
[Nexus One Accessories] chp:
XDA Marketplace link
[Nexus One Accessories] chp:
Bump
[Samsung Galaxy Nexus] levi-17:
Has anyone else experienced a problem connecting to Tor network on jelly bean.
[Samsung Galaxy Nexus] shugbug:
I had a notification error about transparent proxying when starting TOR in Orbot. It can be resolved by enabling the option 'Use Default Iptables' in settings.
[Samsung Galaxy Nexus] strumcat:
Not a problem connecting for apps that can be configured to use Orbot's proxy address, but yes, transparent proxying stopped working.

Thanks, I didn't know there was a way to get it working. I hope the Guardian Project is aware of the issue.

galaxy nexus (gsm) / cm9 / trinity @ 1.4GHz
[Samsung Galaxy Nexus] sadeqi:
Transparent Proxy Problem with recent update on Galaxy Nexus

After recent update in Galaxy Nexus Orbot's transparent proxys no more works, checking default IP table was no help for me. My phone is:

Galaxy Nexus 4.0.4

I9250XXLA2

cat /proc/version is:

Linux version 3.0.8-gda6252b (android-build@vpbs1.mtv.corp.google.com) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Fri Apr 13 11:35:09 PDT 2012

On my CM9 SGS I used devil kernel to overcome this issue and with semaphore kernel I should use netfilter which I will give it a try. Any body has any Idea to make orbot work in Galaxy Nexus?
[Samsung Galaxy Nexus] recognitium:
After updating my tablet I also can't do transparent proxying. Checking default iptables just appeared to solve the problem but didn't

Sent from a Xoom MZ604
[Samsung Galaxy Nexus] mauro2390:
In the settings menu, choose "use system iptables'' at the bottom of the list

That solved the prob as suggested TO me by the developer
[Samsung Galaxy Nexus] opsahl:
Anyone else? "Default" IP tables is the only option I have, rather than "system." - but it doesn't fix things.