yashsingh1/xdaforums huggingface dataset:
[Motorola Photon 4G] jokersax11:
Well to truly learn android you need to grab the sdk and make a simple app. Learn what android is suppose to do. i plan on making a rom building guide one day. Im even going to make a special webtop with all the tools ready to go. Research goes a long way. Start with the boot sequence of Android. Grab root explorer( or free alternate) and follow that sequence in your phone. Install linux on your computer(wubi is easy).

Start reading up on guides you can find. Trust me everything is out there. Take a rom apart and study it folder by folder. Once you know what it is and does you can fix issues that come up. I answer questions as im asked but it would take too long to type every detail. It pretty easy once you get into it.
[Motorola Photon 4G] slyder33:
I'm curious, is the issue with mms APN related? If so is there a way to edit it in the phone w/o using gosms or similar apps?

I'm asking because I backed up the APN from a stock photon and restored that on mine and it didn't resolve the issue so I'm not sure if it didn't change it or if the problem lies elsewhere.

Sent from my MB855

Update: this time I deleted the apn and restored the stock apn and Voila :)
[Motorola Photon 4G] anaragayevafr:
I think it is calm before storm and we`ll see a new and better miui build
[Motorola Photon 4G] :
It appears TWRP has some issues...

I have submitted some bugs to their github for review so hopefully they will get fixed sometime soon.

1. Internal Storage is not mounted (not related to this rom thread)

2. Error on flashing stating unable to mount /misc (causing some problems for flashing this rom)

3. Wipe everything doesn't actually wipe everything - if you wipe everything and reboot without flashing anything it will boot into your previously flashed rom (i think this is also causing issues with flashing this rom, obviously)

so, just be aware...i am going back to CWM, sadly, until these issues are fixed as it makes it impossible to flash anything...
[Motorola Photon 4G] slyder33:
Any new builds to flash today?

I played around with the APN settings and got mms to send, but still cannot receive without using gosms :(
[Motorola Photon 4G] :
Yes...two actually...

One usuing normal Atrix sources with MMS fixed - still looking into why it fc's after sending. No errors receiving mms however...

One using Nexus One sources (to speed up time between MIUI releaseing new version and us releasing new version)

I have yet to flash these to my phone due to the recovery issues - and I am having issues with fastboot at work so I am unable to flash back to CWM recovery. Working on it though...
[Motorola Photon 4G] slyder33:
Awesome, let me know I'll gladly test them out!

I have been playing with the your build and sky's and using samcripp's FCM to make a single flashable update.zip with the fixes built in. getting ready to flash that now and see what happens!
[Motorola Photon 4G] RockoDev:
Good work guys
[Motorola Photon 4G] RockoDev:
Why dont you flash cwm.zip
[Motorola Photon 4G] slyder33:
He needs a working recovery to flash a .zip
[Motorola Photon 4G] RockoDev:
I mean if he lost his recovery some us installed bootstrap installed that then flashed cwm and worked
[Motorola Photon 4G] :
Here is a copy of the test build i put together based off the nexus...i have yet to do anything with it since i cannot flash any zips with TWRP and i have yet to go back to CWM due to fastboot not working at work.

http://dl.dropbox.com/u/8020060/MIUI/Nexus MIUI.zip

It will probably just bootloop on you...but what the heck give it a try...

Also, have the download links been working ok for everyone, besides test 5? Are the downloading fast enough?

I'm trying dropbox, i have never used it for such large files before and was unsure how the download speeds would be from their servers.

Here are some goodies from my dropbox - something extra for you guys (i take no credit for anything in that link - they are not my own creations).

https://www.dropbox.com/gallery/8020060/1/Android?h=dde29f
[Motorola Photon 4G] RockoDev:
Ok ill test right now
[Motorola Photon 4G] R2DeeTard:
I'm backed up and ready to test. i'll let you know what happens

-edit-

Downloaded, wiped, and flashed. Installation aborted and booted back to CM7 with no apps/data/settings saved. Restoring my nandroid now and will try to dl it again, it may have been interrupted or something the first time around.
[Motorola Photon 4G] bricky23:
Wouldn't install for me either. Nexus that is
[Motorola Photon 4G] :
yeah, I noticed that...it has a bad updater-script.

I just got home and was able to flash back to CWM and tested the zip. I am putting together the new ones and testing them now. I will have them uploaded when they are done.
[Motorola Photon 4G] xboxfanj:
ebbinger_413, how did you get mms working?
[Motorola Photon 4G] jokersax11:
Just curious, has anyone tried one of my cm7 kernels on this. If it doesn't boot ill make a miui set
[Motorola Photon 4G] :
They work great. I was running your 1.4 oc kernel for awhile and I know before the wifi was fixed others were using your kernels to fix wifi.
[Motorola Photon 4G] RockoDev:
Yea they work great
[Motorola Photon 4G] Custodian:
When you get time please do make a miui set.
[Motorola Photon 4G] jokersax11:
Looks like i dont have to if cm7 works fine. Miui is based on cm7
[Motorola Photon 4G] slyder33:
ebbinger,

was the MMS issue related to the APNs or the APK itself?
[Motorola Photon 4G] :
Missing files in the framework.jar...there are a few carrier specific MMS files in com\google\android\mms and a few in android\provider

- just a note: if you guys want to get working MMS before i post up another build - because at this point it might be a day or two...you should be able to take build 5-2 and delete system\framework\policy.jar and replace it with the one from build 4. That policy.jar is what is causing the boot loops.
[Motorola Photon 4G] slyder33:
good lookin' out!!
[Motorola Photon 4G] anaragayevafr:
There are some problems i think, when i set a mp3 ringtone it does not ring on incoming call and video player cant play mkv videos neither mVideo player
[Motorola Photon 4G] slyder33:
Phone booted, still has the FC on MMS sending, cannot receive MMS, and constant force close on com.android.phone. sent the FC report to mophomiui@gmail.com
[Motorola Photon 4G] DethMetalz69:
MMS Broken

Just waiting for working mms to flash, good job guys!

Hopefully ill be seeing mms soon! :D
[Motorola Photon 4G] :
Uploading two builds now...should have links tomorrow morning...

1. atrix build...test 6, basically its test 5 but without the bootloops from policy.jar - fixed that

2. the nexus test build...but boots and has about the same issues as atrix...going to be working twoards using nexus one as the source rather than atrix so that when miui.com releases an update photon will get it quicker (as soon as nexus gets it)...
[Motorola Photon 4G] xboxfanj:
Dude, doesn't miui.com release in chinese and not english? If so, use miui.us or miuiandroid.com
[Motorola Photon 4G] :
The nexus is released on miui.us and already translated. I was just saying that when miui.com releases an official update nexus is one of the first roms to be updated and translated.

Here are the links to the two builds I mentioned earlier:

Test Build 6

MD5: 9EE11B525E4F9670AAA73B7AFF19D88F

Nexus port Test 1

MD5: 1F693FE0B32790CD5AC2918948CD063A
[Motorola Photon 4G] DethMetalz69:
Does test 6 have working MMS? I heard you mention you got it to work. (i dont care about the fc as long as it sends)

Actually i guees ill just flash it and find out myself.
[Motorola Photon 4G] R2DeeTard:
Thanks for uploading, i will flash both and post what i find
[Motorola Photon 4G] DethMetalz69:
Im currently flashing test 6.
[Motorola Photon 4G] :
Yes, test 6 has working mms. It will force close after it sends but it still sends. And you can receive mms without any force closes.

Also, camera works the same as before. It will take a picture and save it but it force closes when the shutter animation is shown. This is due to the shutter animation not being sized properly - i already have a fix for it. The front facing camera still doesn't work - if you switch to it the camera app will lock up. And the torch app works perfect but if you activate torch from the lockscreen the camera led will quickly flash then go off - it doesn't stay on like it is supposed to.
[Motorola Photon 4G] DethMetalz69:
YES! Thats what ive been waiting for.

Booting into test 6 now.

As soon as the camera gets working, this will be my daily driver :D

Im also gonna flash the nexus build after i run this for an hour or two.

Edit:Working great so far, ill be back a little later to report in.
[Motorola Photon 4G] R2DeeTard:
If you are flashing test 6, i'll flash nexus build to test.
[Motorola Photon 4G] DethMetalz69:
Alright, its running.

Imported contacts correctly, i can send texts.

Ill post everything that doesnt work, later.
[Motorola Photon 4G] R2DeeTard:
ok, i have been running nexus build for about an hour and here's what i've found....

-Camera fc's after pic is taken, but the picture is still stored.

-Cant send MMS. I get FC's when i am selecting a picture to send.

-The volume rocker fc's and doesn't change the volume, instead it opens up the last app used.

-Can't access SD cards via usb. It doesn't give me an option for USB mass storage, charge only, etc. (or if it does i may just not be able to find it).

I'm not familiar with MIUI so i don't know what else to test. Everything else works like a charm (call, sms, data, wifi).
[Motorola Photon 4G] slyder33:
can you see internal storage and sdcard or internal only?
[Motorola Photon 4G] R2DeeTard:
i can see them in My Computer, but when i click they wont open. also, i can't get my pictures to show up that are stored on SD-ext im my gallery.
[Motorola Photon 4G] DethMetalz69:
Might have fixed the front facing camera, flashing the fix now.

Didnt work :(
[Motorola Photon 4G] anaragayevafr:
Can anyone tell us which build has less fc?
[Motorola Photon 4G] :
Test build 6...

Don't flash the nexus build unless you want to mess around...i am going to be getting the atrix port (the normal test builds that build 6 is based off) working perfect. and then work towards getting the nexus build to that point so that we can get updates quicker when miui updates are released weekly.
[Motorola Photon 4G] anaragayevafr:
Is test bulid 6 is only for cdma users? Because there is notification next to signal bar says: Connection problem or invalid f...

I cant do anything from network settings menu,changed network selection type to 2g or 3g and nothing. Does anybody have the same problem?

I tried both of the builds, no result to ` mobile network problem`

Whatever, i`m going back to sky`s build, at least it has not network problem
[Motorola Photon 4G] xboxfanj:
Why nexus one? There are a lot of devices more similar to this mopho than that. Evo 3d is not only cdma, but also dual core and has the same res (I think) and other things. N1 is gsm and has nothing internally in common.
[Motorola Photon 4G] lesjaw:
have the same problem, i can't change the signal to GSM mode.. forcing it through *#*#4636#*#* make it FC..
[Motorola Photon 4G] :
The base for the port really doesn't need to have anything in common - the only reason for choosing nexus is because of the time it takes to get updates.

Miui.com releases updates then nexus translates and releases their update.

Atrix is a port of a port...so miui.com releases an update then we'd have to wait for two or three devices to push updated builds before ours could be updated.

That's why on miui.us there are a lot of devices that have build dates 3-4 days after miui.com's Friday release.

- and about the GSM in the test builds: I have no way of testing gsm...use sky's as you already found out for GSM for now...sky and I are working together to get GSM and cdma working like it does in cm7
[Motorola Photon 4G] RockoDev:
When it comes to roms like cm7/MIUI most of the time no codes will work that work for blur roms
[Motorola Photon 4G] DethMetalz69:
Im still working on the Front facing camera. I cant really figure it out o.o

has anyone else tried moving all the camera libs from cybiks cm7 to eb's MIUI?

Im not very experienced so i may be missing something.

Has anyone else attempted this? (Cybik has FF Camera working)

Also is the FM radio problem permission related?
[Motorola Photon 4G] :
I have pushed all the camera libs that I know about. The fix for front facing camera may also be missing some smali files in the framework.

FM is missing a few libs - I pushed them before and it still didn't work, I think it may also be missing some files in the framework.
[Motorola Photon 4G] jokersax11:
The camera is very picky. Moto did this on purpose
[Motorola Photon 4G] DethMetalz69:
maybe i can take a look at cm7's framework and see what i can do about the camera, ill let you know later tonight, im flashing joker's skinny complete right now.

Fixed camera, uploading now.

http://www.multiupload.com/4QEHWZ4VM6

Its working for me.
[Motorola Photon 4G] yepitsme19:
,

Hell yea, great fix. No FCs at all either.
[Motorola Photon 4G] DethMetalz69:
Glad its working for ya man.
[Motorola Photon 4G] xboxfanj:
What'd u change? And also, thanks for the build. Its going in the op.
[Motorola Photon 4G] mesmerbelly:
Is there a way to mount internal sd and im just missing it? Thays all I need from this ROM for it to be my daily driver

Sent from my electrified mopho
[Motorola Photon 4G] yepitsme19:
It's already mounted. Look here /mnt/emmc
[Motorola Photon 4G] bricky23:
Files are not shown. Can't access Music and pics. If I install quickpic it sees pics on emmc. But other programs don't.
[Motorola Photon 4G] mesmerbelly:
Same here doesnt see internal sd

Sent from my electrified mopho
[Motorola Photon 4G] yepitsme19:
That's odd...works fine for me
[Motorola Photon 4G] DethMetalz69:
@xboxfanj I pushed the cm7 camera apk, along with some libs i think.

OP update? Im honored ;P

Edit: It also fixed MMS!! :D

Double Edit: Is anyone else having trouble receiving now? D:
[Motorola Photon 4G] :
Sweet - with holidays I wasn't going to be able to do much till end of this next week...that's awesome that you got it to work.

What did you all do to get camera and mms working? I'm putting together an overlay with script that will make the future ports as easy as clicking a button...

Someone requested a full GUI app to go along with the script so ill be doing that after the script...
[Motorola Photon 4G] :
Also did you just fix the fc in the camera or is ffc working too?
[Motorola Photon 4G] DethMetalz69:
the camera and gallery are all working no fc's.

but i get an fc when i receive mms now, i cant figure out whats wrong.

maybe you could take a look?

and i pushed the cm7 camera + libs

Working on MMS

Well thats the first battery pull ive had to do in a while LOL.

Its safe to say i did not fix MMS LOL
[Motorola Photon 4G] :
Lol...any progress is progress...glad there's more people working on it. Xboxfanj doesn't have photon so no matter how great he is its difficult to get working builds. And I've never ported or done any rom work before...

Which camera libs though - can you pm me specifics?

And is mms only force closing on receiving or sending and receiving. My builds only fc sending...so if its changed you did something right somewhere...
[Motorola Photon 4G] yepitsme19:
The camera is working great for me, both front and back and video recording. Only problem I have is the Gallery closes out when I try to look at one specific album(Camera)...Doesn't FC with the prompt, just closes and goes back to album view.

MMS FC's when I send and recieve, but it works. I just had to add my MSID to APNS. SMS won't send if it's over 120 characters(pretty sure everyone is aware of it, just posting all of my findings)

Also, com.android.phone FC's for me as soon as I try to use data right after a fresh boot but after that it works great. Every now and then I get a text that doesn't want to send but sends after I hit resend once or twice.

So far that's all I can think of that's a problem or "bug", if you will. If I find anything else or notice anything else I'll post and let you guys know.
[Motorola Photon 4G] kennypow3rs:
Does xboxfanj have sprint at least? I see photons in the marketplace going for 240-260 we could easily chip in to get him one if he really wants to tackle miui like that. That way we have xboxfan, ebb, mrhinehart, lokifish shabby, joker and the entire justice league dev'ing for the photon. A super collab to get ics/miui etc. ;)
[Motorola Photon 4G] :
Check his sig ... I think it is the fascinate that he devs for normally so whatever carrier that's on...is it Verizon...I don't know which one that phones on personally.
[Motorola Photon 4G] kennypow3rs:
Ahh I guess you have a point. I always use the mobile app and I keep forgetting you can click on people's avatar to see their info etc. Thanks :)
[Motorola Photon 4G] yepitsme19:
Fascinate is Verizon. Good phone if you ask me.
[Motorola Photon 4G] slyder33:
Is anyone else having issues with you tube? It will Start to play, but I get no audio and then it just stops and the circle spins forever.

Did you have to change apn's for mms? I attempted without it after flashing the Cam fix build but still a no go.

also does anyone else use you mail? Audio will not play for me at all.

All in all I really appreciate all you guys are doing on here, really missed running miui!

Sent from my MB855
[Motorola Photon 4G] xboxfanj:
I have the epic 4g slider on sprint
[Motorola Photon 4G] DethMetalz69:
Uh Every lib with the word camera in it LOL. And i pushed cybiks cm7 camera. and my MMS sends but i cant receive, it restarts my data and says unsuccessful.

maybe if we try different combinations of libs?
[Motorola Photon 4G] xboxfanj:
I'm glad that my idea of all the camera libs worked. I did not think it would. For mms, idk. We're still trying to figure it out on the epic too. Receiving is the tough part. GoSMS works well though, so we should start including that in our releases.
[Motorola Photon 4G] :
That's weird...cause I searched for camera in the libs folder and pushed all of the libs with the word camera in them already and it didn't make a difference. I did it from cm7...must have missed a few
[Motorola Photon 4G] DethMetalz69:
go sms works?
[Motorola Photon 4G] daddymikey1975:
I didn't read all the posts here but when cybik was struggling with MMS he determined it was APN related.

Also for YouTube, we zeroed out the proxies and ports in the build.prop for streaming (RTSP etc) .. hope this helps.
[Motorola Photon 4G] slyder33:
yes

Sent from my MB855
[Motorola Photon 4G] slyder33:
Going to try that for you tube. And I wonder if using there apn config from cm7 would work? I tried modifying them and pushing them after a clean install but still had issues

Sent from my MB855
[Motorola Photon 4G] xboxfanj:
I don't think its apn related. We have the same issues on the epic 4g miui.us, but we have mms on cm7 and I've copied their files. There's probably something in framework that we need.
[Motorola Photon 4G] cornelious2:
are the correct apn values set in the build.prop?
[Motorola Photon 4G] olegfusion:
how is the battery life on this firmware comparing with CM7 of cybik?
[Motorola Photon 4G] :
Stock miui...over a day and a half on one full charge
[Motorola Photon 4G] DethMetalz69:
I was just gonna post the build.prop fix,

but yes i tested it and it fixes youtube and any other video streaming.

@olegfusion this is the best battery life ive ever gotten outta my phone.

and, i got gosms pro and i have everything but fm radio working! :D
[Motorola Photon 4G] Custodian:
Request. Once this port is fully working... can we get it optimized for battery savings aswell as performance?.. the miui on my nexus makes photon look like the first froyo build lol... even with jokers kernel...
[Motorola Photon 4G] :
Of course...were still getting hardware fixes taken care of so ATM that's the last thing on our minds ...

Silly, I've had the proxy fix on my phone since I started tweaking the miui builds - thought I had it in the build prop already but it must've been taken out on accident when I was making other tweaks - sorry
[Motorola Photon 4G] DethMetalz69:
I didnt notice it was missing since someone said something.

If i remove the MMS app and push gosms would that mess anything up? (newb question)
[Motorola Photon 4G] :
Yes and no...

Best to just let people download gosms on their own - its free anyways. It shouldn't be bundled with miui...but if you feel like it to make it easier for people just add gosms free to the app folder, leave stock...then people just have to set gosms as default till we fix stock mms.
[Motorola Photon 4G] yepitsme19:
So, I got a little confused...Which version of MIUI is this? I see a bunch of different dates lol.
[Motorola Photon 4G] DethMetalz69:
I will upload a build with all the current fixes a little later today. Come back tonight :p

Im gonna work on fm radio a little then go hang with some buddies.
[Motorola Photon 4G] :
Its using the atrix port as its base - so whatever version they have. I think it is 12/16/11 but i'm not 100 percent positive.

Also, the dates that are on all the builds have nothing to do with what miui version it is based off of - those are the dates those builds were put together. Since all of this work is really pre-alpha we are not really worried about using the latest miui builds at the moment. After we get all the hardware working we will be using the latest weekly builds and hopefully get the device up on miui.us and release weekly updates alongside all the other devices - but that will be down the road.

@deathmetalz

Do you have gtalk? or are you on irc? I have off all day today and will be trying to get some things to work. I was just about to push all the latest camera fixes and work on mms and fm. I have some updated FM lib's that i think will fix fm along with the framework changes i have already made in previous builds.

It would be nice to collaborate if it's possible.
[Motorola Photon 4G] yepitsme19:
+1 You guys are doing a phenomenal job! Thanks for the great work!
[Motorola Photon 4G] :
@deathmetalz

BTW, took a look at what you did to get camera working. I did already have all the libs pushed. CM7's camera.apk works great but miuicamera.apk has issues. If you just push cm7's camera to my build's both front and rear camera work with pictures and video without any fc's.

i tried a few different miuicamera.apk versions and couldn't find one that worked from any other devices - i'll have to decompile it later and see what can be done to get it to work...otherwise, like other miui builds, cm7 camera will just have to replace it.

the only downside i have noticed with cm7's camera is that the quality is crap - i tried using a different media_profiles.xml but that doesn't help (i used cybik's cm7, and jokers rom's), also tried a few build.prop camera tweaks to increase quality but everything i tried didn't help.
[Motorola Photon 4G] slyder33:
can you post three build.prop fix?

Sent from my MB855
[Motorola Photon 4G] :
Modify this section:

#BEGIN Motorola, 30Jan2011, w19837, IKSUNFIRE-215, Feature ID: 35761.
#[sprint tv transport protocol support]
sprint.mm.http.proxy = pd.vog.sprintpcs.com
sprint.mm.http.port = 8085
sprint.mm.rtsp.proxy = rtsp.vog.sprintpcs.com
sprint.mm.rtsp.port = 554
sprint.mm.network.type = unknow
sprint.mm.nai = unknown
#END IKSUNFIRE-215

to look like this:

#BEGIN Motorola, 30Jan2011, w19837, IKSUNFIRE-215, Feature ID: 35761.
#[sprint tv transport protocol support]
sprint.mm.http.proxy = 0
sprint.mm.http.port = 0
sprint.mm.rtsp.proxy = 0
sprint.mm.rtsp.port = 0
sprint.mm.network.type = unknown
sprint.mm.nai = unknown
#END IKSUNFIRE-215
[Motorola Photon 4G] DethMetalz69:
Tech23time@gmail.com

and me on gtalk

im free all night, and id be happy to make some progress.

@slyder33

go to build.prop and edit the two proxys as 0.0.0.0

and the two ports as Port= 0
[Motorola Photon 4G] :
Invitation sent...
[Motorola Photon 4G] DethMetalz69:
Alright, i gotcha :D