yashsingh1/xdaforums huggingface dataset:
[Motorola Photon 4G] my2cents:
I dont care who you are... :p
[Motorola Photon 4G] SS2006:
Hows the build coming

sent from MoPho
[Motorola Photon 4G] mrinehart93:
Didn't have any time to work on it yesterday because I was busy with classes and such. Since kernel.org is STILL down and the CodeAurora source seems to be broken, I am going to look around and see if I can find the individual file that seems to be messed up. The problem is someone made a commit to CodeAurora that broke a file :P
[Motorola Photon 4G] Kcarpenter:
/*waiting for kernel.org....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5...opens beer....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5....takes a piss....presses f5....presses f5....presses f5....presses f5....presses f5....presses f5...goes to bed.........presses f5 in sleep....presses f5 in sleep....presses f5 in sleep....presses f5 in sleep....presses f5 in sleep....presses f5 in sleep....presses f5 in sleep....presses f5 in sleep....presses f5 in sleep....presses f5 in sleep....presses f5 in sleep....presses f5 in sleep....presses f5 in sleep....presses f5 in sleep*/
[Motorola Photon 4G] kennypow3rs:
Lets not forget to thank this guy^^^^ for his work as well. We do appreciate the few devs we have in here and im glad to see great minds putting their heads together. Keep it going guys! That is all
[Motorola Photon 4G] htcSlide:
ok.. For the sake of being stubborn, I flashed the latest and tried the *#*#4636#*#* on my MoPho.. It does indeed take you to the testing menu where you have the options to choose GSM/CDMA/BOTH etc.. I was able to mess around a bit but I was having the phone.com bs force close issue, making any kind of changes near impossible as it would close. Again.. Dont know if it will help.. But hey.. If it is an easy way to convince this MoPho to shake hands with CM sexiness then..
[Motorola Photon 4G] mrinehart93:
Wait... you were able to type that code in in CyanogenMod?!
[Motorola Photon 4G] htcSlide:
Yessir. Just did.. Gotta start working.. SO cant do too much more now.. See what u can do with it! *hopeful anticipation rising!!*
[Motorola Photon 4G] mrinehart93:
I'm checking this out right now... if this works, you sir, are awesome.
[Motorola Photon 4G] htcSlide:
Is it wrong that I am giddy right now?? LOL!!
[Motorola Photon 4G] xTMFxOffshore:
This was a nice way to start off my morning jumping on the forums and I see we've got this booting and some what functional. Hell yeah. That's awesome Dude. Keep up the good work. Really appreciate it.
[Motorola Photon 4G] abowlby:
Oh, most def. I've already expressed that I think Webtop deserves its own Dev section and regretfully I can't help Loki with it either. I mean, if Shabby keeps banging out Kernels and Loki turns this device into Phobuntu, coupled WITH mrine's CM work, I'll be satisfied. Hell, I'm satisfied now, I'm just trying to illustrate that we have a nice Triple Entente of devoted Devs in here and I praise them, I praise them like I should.

Anyway, sorry for straying off topic...
[Motorola Photon 4G] mrinehart93:
Optimism is key to success :)
[Motorola Photon 4G] mrinehart93:
Wow! The *#*#4636#*#* does WORK. I think I just need to figure out configuring the RIL, and then we will be able to switch between CDMA/GSM :) I'm not sure when I'll be able to get that since I have a midterm tomorrow and then I'm going back home for the weekend (no laptop)... but I can't wait to get that working!
[Motorola Photon 4G] rohit3192:
We can wait buddy.

Exams and family first(though xda is extended family).
[Motorola Photon 4G] htcSlide:
Awesome! Do what you gotta do man.. We'll be here..
[Motorola Photon 4G] mrinehart93:
Yeah, I'd consider you guys family :p

Oh, and check out the mod I just posted in the OP (below Downloads). It enables 10-point multitouch :)
[Motorola Photon 4G] noefects:
I get force closes from the phone app constantly, im positive i forgot to wipe cache or something just good to see it on my phone in any sort of manner! thanks for your hard work!
[Motorola Photon 4G] Smoke314:
I'm pretty sure we still need to take out the sim card to get rid of the force closes for now.
[Motorola Photon 4G] htcSlide:
I tried that.. Still had constant force closes... Do u need to boot once with the sim in?? Then pull it? I flashed, powered down, pulled my similar then booted..
[Motorola Photon 4G] the12nv:
Because of my extreme excitement to the development of the CM7 Sunfire, I thought I would try my luck at creating (or porting) some CM7 themes. What better place to start than with the Motorola Atrix. While searching to see if they have any CM7 themes, I came across this link:

http://xdaforums.com/showthread.php?t=1167075

holy smokes - there are a ton - there goes my porting career!!!
[Motorola Photon 4G] shabbypenguin:
matted blues kthxbai ^^^^

;)

anyways mrinehart yea sorry shoulda mentioned that dialer codes still work, they are built into android.. just silly things like checking your [insert crappy cell provider that doesnt give you unlimited] balance etc will not. anyways acs is working on a server for its devs so i can remote in and compile, the big news for that is i can compile from anywhere in any os and hopefully it will be faster than my dual core computer :P

downsides is i have to share :( but im trying to win my gf over on letting me get a 6 core cpu so i can compile stuff faster than 30-40 mins XD
[Motorola Photon 4G] iconeo:
Don't forget to donate to shabby too. He has been a huge help. Will donate when I get home tonight. Thanks guys.
[Motorola Photon 4G] kennypow3rs:
He's getting something as well. That was already a given. Im gonna buy all of them beers lol
[Motorola Photon 4G] Custodian:
Well...does anyone know if its possible to take the ril info from our stock roms and apply it to cm....
[Motorola Photon 4G] iconeo:
That would be ideal since it might solve our cdma/gsm problems

/system/lib/lg-ril.so I think
[Motorola Photon 4G] Kcarpenter:
Last time I compiled froyo for the epic it took 2 hours :-(
[Motorola Photon 4G] Custodian:
I dont see that file in lib directory. I see ril.so
[Motorola Photon 4G] iconeo:
That's prob it. Sorry I grabbed info from google so lg is prob from an lg phone...
[Motorola Photon 4G] mrinehart93:
I can TRY putting in the ril.so from our stock ROM, but that will not help us much. If you want to get an official CyanogenMod build, it must build using their build script and have nothing broken and there is nothing in there build script that will put that RIL.so into our ROM... unless we can reverse engineer that and see what modifications they made :P
[Motorola Photon 4G] Custodian:
Bro contact nadlabak to help you with this. Remember he fixed it for the milestone. So im pretty sure he knows exactly whats going on.
[Motorola Photon 4G] mrinehart93:
Will do! Any help will be much appreciated.
[Motorola Photon 4G] Kcarpenter:
It's libmoto_ril.so on our phones, but like mrinehart said, if we break up stream dependencies we can't have official support. Now, taking our stock ril and decompiling it could be beneficial and at least let us know what is different and what we can change. That being said, ive never decompiled anything other than c sharp executables and the code doesn't survive the process very well at all, not sure if c code works any better.
[Motorola Photon 4G] cornelious2:
C doesn't decompile NEARLY as well as java/.net languages.
[Motorola Photon 4G] mrinehart93:
Alright, I can't find anyone on XDA named nadlabak... do you have a way I can contact him?
[Motorola Photon 4G] Nerorising:
Did he mean kabaldan maybe?
[Motorola Photon 4G] Custodian:
Cant find that guy on here anymore. Here you go though.

https://github.com/nadlabak
[Motorola Photon 4G] Nerorising:
Well, if you go to the Milestone's page on here...the OP for the CyanogenMod is Kabaldan which is nadlabak backwards...or vice versa, however you decide to view it.
[Motorola Photon 4G] Custodian:
Ahh good catch. Lawl
[Motorola Photon 4G] mrinehart93:
Ok well in any case, I PM'ed him... hopefully he can help out :D

Thanks for linking me his GitHub as well. I picked through it a little bit and found some stuff I can implement into our build... one thing I found will make the Torch app work for us :)
[Motorola Photon 4G] xTMFxOffshore:
I was watching the video. I'm pretty stoked, the ROM looks pretty legit Man. Doing some great work. Will sprints OTA updates kinda be void and not necessary? Or is that something that will be included later on down the road once we get the other kinks worked out. I only ask cause I'm not sure. Thanks! :)
[Motorola Photon 4G] htcSlide:
OTAs from Sprint will be no longer of any use to us once we get CM7 on our MoPho. It will no longer be the stock Tom.. Hence they would not work. Nothing will be OEM about our MoPhos.. Other than the sheer sexiness that is MoPho!
[Motorola Photon 4G] htcSlide:
*ROM. Stupid auto correct/fatigue..
[Motorola Photon 4G] mrinehart93:
Right. Sprint/Moto OTA's are really just to fix flaws in the stock ROM, so they do not apply to CyanogenMod. That is the beauty of running CM vs Stock... no more reliance on Moto/Sprint for fixes. All that is needed to update CM is for me or someone else to sync repositories with CM and then push out an updated build :)
[Motorola Photon 4G] xTMFxOffshore:
So basically just like flashing a new ROM? Sweeet. I'm diggin' it. Stoked! Thanks again for the work you're putting into this Man. I'm excited.
[Motorola Photon 4G] Lokifish Marz:
CM7 build CM10122011

CWM 5.0.2.3-photon2

Wiped and installed latest build via CWM5 without the sim. Getting com.android.phone fc issue. Am I the only one or is anybody else getting this?

EDIT:

Seeing that I'm working on an unrelated area for now, I simply removed the apk from the install til it can be figured out.

EDIT 2:

With the com.android.phone fc issue set aside this is what I got. Gonna leave it here as I have to be at work in 6hrs and am looking at an 8-8 with little or no breaks. *&^%$#@ iPhone launch.
[Motorola Photon 4G] xTMFxOffshore:
Actually, oddly enough. Out of no where I started getting that on the Home Base ROM. I know it's not CM7. But I was getting it outta no where. Phone was fine and ten minutes later, started doing that, I had to boot into recovery, and restore to a backup. So maybe it's not ROM specific?
[Motorola Photon 4G] John Kotches:
That looks a launcher, maybe adw pro?
[Motorola Photon 4G] mrinehart93:
The launcher in CM7 is ADW Launcher.

Lokifish, do I see what I think I am seeing?
[Motorola Photon 4G] Custodian:
Thats great news man.Were getting closer to a beta release rapidly. And to be honest..once we have that radio working ill be using this rom as a daily drive. Of course after slimming and tweaking it to my liking. :)
[Motorola Photon 4G] abowlby:
Moar Geebeez!
[Motorola Photon 4G] htcSlide:
@Loki: I had the same issue.. Haven't had much time to play tho.. I too am prepping to sell the kool-aid to the sheeple.. I cannot put into words how much I HATE that stupid device! Sorry.. on topic.. Did u have any luck with a fix?
[Motorola Photon 4G] iconeo:
sent you some mula
[Motorola Photon 4G] DWake014:
If we got rid of the phone.apk and used a market dialer would that help? Or is it deeper than that? just throwing out ideas :-\
[Motorola Photon 4G] dingo502:
does 3g work? If so I can switch over and use google voice...Just an idea.
[Motorola Photon 4G] Lokifish Marz:
Yes sir, you are. Unless we are both hallucinating and cameras lie.

Seeing that I'm working in what is, for the most part, an unrelated area of the os I'll leave it to others to fix. Android (java) is not my strong point anyway so I'd probably make it worse.
[Motorola Photon 4G] Custodian:
Radio isnt functional atm.
[Motorola Photon 4G] mxmarcus:
You need the phone.apk

A dailer from the market is useless without it

MM

Sent from my Motorola Photon!
[Motorola Photon 4G] mrinehart93:
Correct. The dialer contains objects and (probably) classes necessary for other apps to work.
[Motorola Photon 4G] 2JZ GZE:
What do you guys see?!
[Motorola Photon 4G] shabbypenguin:
ok well i tried to use koush's anykernel to help further the cause but it doesnt seem to be taking, ill try again late but it will certainly make things a bit easier on me if we get it working :P

it basically takes teh zimage and makes a boot.img on the fly using whatever ramdisk the phone has. aka if your on a stock rom then you have a stock based ramsdisk. cm7? you have a cm7 one based off the cm7 kernel that is flashed during install :) it would allow kernels to be universal and be just one version, instead of 2 kernel versions for each revision
[Motorola Photon 4G] mrinehart93:
Right, I'm familiar with AnyKernel (used it a bit back in the Hero days). What do you mean by the phone isn't taking it? Is it just not booting? Whatever you do, you have to make sure that /system stays formatted as ext3. Mounting ext3 as ext4 works thankfully, because I have tried mounting as ext3 and it didn't feel like booting.

Oh and I'm really sorry that my GitHub sources are gone. I deleted them to upload my new repo's (that actually work) but GitHub wasn't pushing my files properly... and then I had to leave my dorm to go visit home. I found some interesting things to look at though when I get back.
[Motorola Photon 4G] shabbypenguin:
i mean that it goes thru its whole song and dance but at the end of it all im still on rc2
[Motorola Photon 4G] mrinehart93:
Oooooh ok. Could you pastebin the script for me? I only have my Chromebook with me for this weekend so I can't really do any development or even look at files :P

EDIT

nvm found his source on GitHub.

EDIT

EDIT

I still think we should hack up our own CWM recovery. There seems to be some weird stuff going on with ours.
[Motorola Photon 4G] shabbypenguin:
or... say screw cwm and get twrp >.> :P
[Motorola Photon 4G] edgemaster191:
What shabby said :-D
[Motorola Photon 4G] criptix:
+1 ;)
[Motorola Photon 4G] mrinehart93:
Agreed! Let's work on it.
[Motorola Photon 4G] Custodian:
So any word on the radio?..
[Motorola Photon 4G] SS2006:
with my 1000th post!!

i shower my blessings upon this project ;D
[Motorola Photon 4G] mrinehart93:
Unless someone else can try putting the libmoto_ril.so file in our ROM (renamed, of course), I can't do anything. I went home from college this weekend and my main machine is back at my room.

:)
[Motorola Photon 4G] BravoMotorola:
I own an Atrix, but great job on this. I'm happy for Photon users.
[Motorola Photon 4G] pagapervedere:
A question for International users...

will be multi language like other CM7 ?
[Motorola Photon 4G] Custodian:
That wont be a problem. So im positive there will be multi languages. Right now the devs responsible for maintaining this rom are working on getting the build fully functional. Or as much as possible. Meaning the key functions. Sit tight. They will issue a beta once those said critical issues are resolved. That you can count on my friend. ;)
[Motorola Photon 4G] olegfusion:
Guys, did I understand right that the calling is not working by GSM networks?

And since there RC2 kernel, there no wifi currently?
[Motorola Photon 4G] bricky23:
Yes correct for now.
[Motorola Photon 4G] olegfusion:
Thats little sad, but I saw the video, very good to see much working correctly. Once wifi and gsm will be fixed, Im ready to help with testing!
[Motorola Photon 4G] bricky23:
Don't know where you are, but this one has working gsm in other countrys. Don't know if it works in U.S. or not. Wifi is still borked tho. http://xdaforums.com/showthread.php?t=1304881
[Motorola Photon 4G] olegfusion:
thanks, bricky23. I'm in Russia, so that's cool if GSM really works!!

I only need to wait wifi fix then. I'm not able to test a lot, but if base functions like GSM and wifi will work, I'm ready to test it a lot. Currently sitting on the stock firmware, but want to have a custom one (stock has too much non-needed apps)
[Motorola Photon 4G] mrinehart93:
Well I'm going back to my dorm room today... which is where my main machine is at. I finished my Java project a week ahead of time, so I should have plenty of time to work on CM7 :)
[Motorola Photon 4G] Custodian:
A man with his priorities in order. Just hope your java project isnt halfed assed. Lol
[Motorola Photon 4G] shabbypenguin:
fix'd that for ya
[Motorola Photon 4G] bricky23:
Mmm what? Don't mess with me Shabby :-)
[Motorola Photon 4G] mrinehart93:
Damn you shabby! Forcing me to work on twrp :P Don't worry though... I put in 6 hours straight on my Java project. Compiles without errors catches any mistake the user enters... should be A+ grade.
[Motorola Photon 4G] John Kotches:
I'm stepping out of my comfort zone here, but a page back on tapatalk there was discussion about dropping libmoto_ril.so into the CM build .

Are you sure this will provide exactly what's needed? I suspect the functions or class libs don't align with what cm needs.

I hope I'm wrong but I have reservations.
[Motorola Photon 4G] cybik:
did it and it makes the GSM work but CDMA is off.

Right now I'm trying to get the wifi driver to compile. next issue WILL be the CDMA but right now, since this rom offers CDMA and mine offers GSM/HSPA, I'll concentrate on getting the /bleep/ing wifi driver to compile.
[Motorola Photon 4G] mrinehart93:
Unless you somehow got CDMA to work in my ROM, CDMA currently doesn't work.
[Motorola Photon 4G] shabbypenguin:
well gsm is better than nothing :(
[Motorola Photon 4G] mrinehart93:
Right. I'm going to add the ril file into here and see what happens. I'll need someone to test it since domestic GSM is blocked.
[Motorola Photon 4G] pmcnano:
Someone said some posts back that CDMA worked, im pretty sure he didnt know what he was saying because clearly it doesnt work. :S
[Motorola Photon 4G] Custodian:
Take it that guy never got back to you...-sigh-
[Motorola Photon 4G] cybik:
OH. Sorry, misread the OT.
[Motorola Photon 4G] mrinehart93:
The baklaradan or w/e his name is guy? Nope... no PM's from him.
[Motorola Photon 4G] Custodian:
Lmao...sure thats not the name but ok LMAO! Ill see if I can get his attention!
[Motorola Photon 4G] John Kotches:
if its an issue of tracking the required libraries there are supposed to be two tools to track dependencies, objdump and readelf. i use ldd in solaris for this and these are supposed to be similar in function.
[Motorola Photon 4G] mrinehart93:
Thanks for the tip. Next time I have free time and I'm working on this (I've been BUSY :( ), I'll try those tools out.
[Motorola Photon 4G] _Alex_:
As requested, last couple of OT posts cleaned up. Nobody cares if you've tried CM7 on another device, so let's keep this thread on topic and only post if you have something to contribute to the development effort.

Thanks!
[Motorola Photon 4G] aikata:
any chance someone can update the source link?
[Motorola Photon 4G] FrameCityJackal:
Yea if you do his homework for him :D
[Motorola Photon 4G] xTMFxOffshore:
If I did that I would just build the ROM. Lol. :-) Since he mentioned something about a Java project.
[Motorola Photon 4G] mrinehart93:
Sorry I haven't been active lately. This past week, as well as this week and the next are extremely crazy. Exams, combined with Java programs, and speeches in my COM class, I haven't had any real time to sit down and work on this lately. As soon as I get some time though, expect some updates.
[Motorola Photon 4G] xTMFxOffshore:
No worries Man. School comes first.
[Motorola Photon 4G] Whiskey103:
Oke, take a note, next time a mod has to come in here cleaning, it,s not just cleaning. Period!
[Motorola Photon 4G] shabbypenguin:
its all good man, ive been busy with xbox myself :P refreshing on assassins creed brotherhood before the new one comes out. was there anything you wanted me to try or do while i have some spare time?

i hope that due to people talking off topic in this thread wont cause it to be closed or anything like that, its not mrineharts fault :(
[Motorola Photon 4G] htcSlide:
Hashcode has had some luck getting phone and data over in the Droid 3 land.. Maybe there is something of use there??
[Motorola Photon 4G] 27s:
I have been all over that..so far little luck.
[Motorola Photon 4G] kennypow3rs:
Sad bump......
[Motorola Photon 4G] dcowboys2184:
As soon as I get my internet on... Just brought a new house .. I'll take a stab at this.. Take it I'm no Dev but I know my stuff...
[Motorola Photon 4G] Elendil_23:
Help

Hi guys

I would like to have some help from you, I know that his is still an alpha but I tough that at I should be able to use it; this is the deal, whenever I install this, the phone reboots and reboots all the time, no way to stop it unless a flash the sbf file again, is there any way to do fix this? and I doing something wrong?

thank you for your support, regards.
[Motorola Photon 4G] xTMFxOffshore:
Did you make a back up before you flashed this?
[Motorola Photon 4G] shabbypenguin:
are you wiping when you flash?
[Motorola Photon 4G] itsallsubliminal:
hey OP, looks like MophoK[i/a]ng CM7 now has cdma working! Any chance you've taken a glance? I know both your projects are unrelated but hopefully his work over there can help!
[Motorola Photon 4G] Kcarpenter:
Sounds like it was a small change to the ril. Should just have to grab that file. I've been running it all day and only have a force close with the dialer. All else seems awesome.
[Motorola Photon 4G] itsallsubliminal:
That "ril" went over my head, not sure what ur talking about. U replaced a file in this build or uve been running the other build all day? Sorry to seem a lil noob here
[Motorola Photon 4G] xTMFxOffshore:
Nice Man. Glad to hear you guys got it up and going. Does data work?
[Motorola Photon 4G] itsallsubliminal:
apparently yes but its really slow (i honestly think its cuz sprints 3G has dogged down to almost 1x-like speeds anyways)..

I'm about to take the plunge... i think Kcarpenter was talking about the "rild" file (not ril) in the system/bin folder? I'm guessing i can just replace it using 7zip...

am i right Kc?

EDIT!!! Wait i may be waaay wrong... someone chime in here, i'm itching maaadstyle to get this up n running :)
[Motorola Photon 4G] Kcarpenter:
I've been running the other build since about 10 this morning. 11 hours later all I can say is don't let your battery die all the way out, its a ***** to turn back on. And if your making a call (who does that anymore?) Don't click force close when the error pops up it it will drop the call. Other wise all is good.
[Motorola Photon 4G] shabbypenguin:
yea i found out the battery issue a week or so ago. ill never make that istake again.

phone: ZOMG A USB CABLE TURN ON!!!!

::!!error!! battery low shut off::

phone: dude we got usb we can turn on again!!!!

rinse and repeat til it finally lost too much power trying to turn on that it gave up
[Motorola Photon 4G] Custodian:
Lmao!!!!!!!!!!
[Motorola Photon 4G] Kcarpenter:
Truth....