yashsingh1/xdaforums huggingface dataset:
[Motorola Photon Q 4G LTE] interloper:
That's what I assumed but I'll still fix it as soon as I get home. Thanks.
[Motorola Photon Q 4G LTE] tetrabyt:
Definitely going to try this after I recharge.

Edit: tried the flashable. It failed in twrp. Maybe the download wasn't complete?

Edit part 2: re-downloading.. Gonna try again.

Edit part 3: re download did not work. Still failed. Anyone else?

Edit part 4: tried fastboot

C:\Program Files\Android\android-sdk\tools>moto-fastboot flash system cm10_photo

n_q_pre-alph.asystem.img

sending 'system' (187108 KB)... OKAY [ 87.646s]

writing 'system'... INFOUnknown chunk type

FAILED (remote failure)

C:\Program Files\Android\android-sdk\tools>
[Motorola Photon Q 4G LTE] zrmxp95:
Mine failed in TWRP too...good thing I made a backup...lol :)
[Motorola Photon Q 4G LTE] interloper:
It would help if you gave me a little more information, like error codes, when you post reports.
[Motorola Photon Q 4G LTE] shabbypenguin:
why does everyone keep thanking me? i play halo and borderlands 2 and yell at kids on my lawn. i do nothing else!
[Motorola Photon Q 4G LTE] arrrghhh:
Hey now, who started the asanti device tree? Dats right. Who compiled the first kernel from source? Dats right. Who made a flashable zip just so I could kang it for my kernel!??!

I rest my case.
[Motorola Photon Q 4G LTE] zrmxp95:
From what I remember I just said error....no codes......I can try it again later today and see after I run errands around town
[Motorola Photon Q 4G LTE] Rangerbry:
didnt give a error on install just aborted but did notice when you just try and extract the file it gives error saying file is already there like 5 times

in folder

system\etc\terminfo\
[Motorola Photon Q 4G LTE] interloper:
Alright lads, head on to the new link and give it some welly! I rebuilt the system with changes to the vendor side, fixed the install script and a few other jelly rolls. Let me know what happens.
[Motorola Photon Q 4G LTE] KitsunePaws:
Using this link :

Gives format() expects 5 arguments, got 4.

E:Error in /sdcard/cm-10-(etc etc) (Status 7).
[Motorola Photon Q 4G LTE] interloper:
UPDATE

Ok, I fixed a few things so the ROM should flash properly. Remember to wipe properly or you'll get a rash. Cheers!
[Motorola Photon Q 4G LTE] JamesChilds:
Didn't work for me

I tried flashing it this morning and all I got was some looping flickers, Never even a moto logo... So not sure.
[Motorola Photon Q 4G LTE] interloper:
I've done a couple builds that have not been posted in this thread, for private testing. I am doing my best, but without testers committed to helping me fix this, it won't be me who puts out CM10. I'm working with arrrghh and lmartin but they are only on a limited amount of time. No one is giving me logs, kmsg, dmesg etc, and if that doesn't happen, all I can do is guess. If you are interested in testing, I am committed to getting CM10 out for this device.
[Motorola Photon Q 4G LTE] arrrghhh:
IIRC, I couldn't get adb up on your build... So I was unable to pull logs.

I did provide you a last_kmsg, but that's about all I could do without adb.

I kinda wish I knew more about how to fit the pieces of CM together better, as I think CM9 would be done if I did :p
[Motorola Photon Q 4G LTE] interloper:
Updated OP. I think it's still gonna boot loop, and if so please try adb. If adb works please try and get a logcat or dmesg. If you need help getting adb setup, need to know the commands to use adb, or have any other questions, please chat with me on IRC. Good luck.
[Motorola Photon Q 4G LTE] fallnSaint:
I didn't have any luck getting adb to recognize the 10-08 build. Installed and booted past boot logo, then looped between black screen & screen off.
[Motorola Photon Q 4G LTE] interloper:
Thank you. Check back tonight for a new build, if you would.

Does it boot into recovery? Would you mind testing some kernels on IRC later tonight?
[Motorola Photon Q 4G LTE] interloper:
Updated the OP with a new attempt. Following newer CM "lets have everything in common that's common" there is a bit more merging in the code base. While this means nothing to the end user in general it means that IF this get working properly it will more likely get to be official. That is significant. Official means more people get to enjoy it served up from a nice list of perfectly good links from an organized website. As an end user myself, that excites me. So, here's to hoping the stupid thing boots because as humiliating as this is, I think quitting now would be even worse.

1. Make a backup

2. Flash the zip in recovery.

3. WIN or LOSE!

4. Let me know what happened with as much detail as possible.

5. I'm going to get some sleep now maybe.
[Motorola Photon Q 4G LTE] fallnSaint:
Sorry bud, saw all this this am & been stuck @ work all day. Tried flashing & failed (redownloaded & tried again, same error) w error status 0. Idk how IRC works, tried finding u there but I was lost.

-Saint
[Motorola Photon Q 4G LTE] interloper:
Seems somehow I lost some ground due to my ignorance of the git system. I fixed the script, fixed the recovery.fstab and have another build uploading now. Thanks for trying. I'll bump the thread as soon as there is something to bump about...:good:
[Motorola Photon Q 4G LTE] AvRS:
Please don't bump your thread within 24 hours, unfortunately it's the rules:
[Motorola Photon Q 4G LTE] fallnSaint:
23:16:53 flashed successfully & hangs on boot logo.

-Saint
[Motorola Photon Q 4G LTE] interloper:
Is it the CyanogenMod boot animation, or something else? Did you try ADB? I did some editing to the boot instruction to try and get adb as soon as files systems could handle it...thanks for trying again fallnSaint. Also, I edited my sig so the IRC link wouldn't open four channels, just the one I like to hang out in most. I won't be around much until next week, however.
[Motorola Photon Q 4G LTE] fallnSaint:
Nah, never made it to boot animation. Sorry man, saw the link was up & I tried it before I had to run out the door this mornin. Won't be able to do much more til late this evening.

-Saint
[Motorola Photon Q 4G LTE] spyderkoz:
I will be willing to help test if you would like me too.

sent from my giant f$%&en Q
[Motorola Photon Q 4G LTE] fallnSaint:
Tried it again this evening, ADB never saw it.

Welcome to the party spyder, you have any luck booting the most recent?
[Motorola Photon Q 4G LTE] zrmxp95:
You just beat me to it.....I also tried it and it flashed but hangs at the Bootloader Unlocked Screen....no ADB...I just wiped cache / d-cache....back to Stock....
[Motorola Photon Q 4G LTE] fallnSaint:
Right on, the more folks testing this & helping Interloper, the sooner he can get a working CM rom for us all to enjoy.

-Saint
[Motorola Photon Q 4G LTE] arrrghhh:
CM9 boots, adb works...

Yet I don't think anyone has even tried it. Would love some help on it!! I want to see CM10 as well, but our devices already run ICS.

I am *hoping* CM9 will be easier to achieve, and then we can work towards CM10... Perhaps I'm wrong, but regardless, I want a fully functional ROM - whatever gets us that quicker I am for :).
[Motorola Photon Q 4G LTE] spyderkoz:
Has anyone gotten this to work yet or should i just try flshing?

sent from my giant f$%&en Q
[Motorola Photon Q 4G LTE] arrrghhh:
Obviously you read the thread...

It doesn't boot, no bootani, no adb.
[Motorola Photon Q 4G LTE] spyderkoz:
Wow i just pulled a noob thing, i apologize to the android gods :banghead:

sent from my giant f$%&en Q
[Motorola Photon Q 4G LTE] interloper:
Alright, so I linked a new build for the day. I'm trying to sort things out enough each day to make a "nightly" build, however unsuccessful it has seemed. Also, if anyone who flashes this can try to get the dmesg or last_kmsg that would be great. If you need to know how to do that I can help you with it on IRC, or if you are really brave I can do TeamViewer.
[Motorola Photon Q 4G LTE] arrrghhh:
Here's the last_kmsg.

http://pastebin.com/QHeHMZLH
[Motorola Photon Q 4G LTE] fallnSaint:
Sorry bud, I thought you were lookin for dev help on that. What can I do to help?

-Saint
[Motorola Photon Q 4G LTE] arrrghhh:
Heh, pretty much that :p.

I've never owned let alone gotten CM working on an Android device before, so this is all new to me. I got it booting, the radio seems to work... but the remaining issues are pretty much endless. LTE seems borked, although I can't test that. Wifi, BT, completely broken. Cam is also broken. Audio, seems to work at times and others not at all.

I'm sure I'm still missing a lot in my device tree - I'm just struggling to fill in the gaps, y'know?
[Motorola Photon Q 4G LTE] fallnSaint:
Hah! I don't even know where to begin helping. Thought I was doing pretty good learning to do some theming, but this kind of stuff is beyond my understanding at this point. S'pose this is as good a time as any to start learning tho.
[Motorola Photon Q 4G LTE] interloper:
The NEW NEWER NUNU link is alive with a new build. Again, effort is targeting the ramdisk. The issues I'm dealing with are merging of extemporaneous init.*.rc and init.*.sh scripts, proper fstab so that the radio partitions and all the others are mounting properly for CM, initializing all the right services, so that when we get a booting device, it might stand a chance at staying alive. I figure I'll just keep taking it byte by byte until we have some happyhappyjoyjoy. Cheers!
[Motorola Photon Q 4G LTE] arrrghhh:
Still can't get past the warning bootloader unlocked screen >>> which usually means ramdisk issue. I'll swap with my boot.img and see what happens - but of course I can't just do that on Windoze as your .zip's have "duplicate" file names (stupid Windoze...)

Edit - odd, my boot.img did the same thing... didn't boot past the warning bootloader screen (1st bootloader boot image if you will).
[Motorola Photon Q 4G LTE] interloper:
seems there were no modules in the last build...cough...sorry. give this one a whirl and let me know what happens please.
[Motorola Photon Q 4G LTE] UnicronAlpha99:
On the Epic 4g (my previous phone) CM10 resizes the file system partition so you have to Odin back to stock if you don't want cm 10. Is that the case with the Photon?
[Motorola Photon Q 4G LTE] KitsunePaws:
New build 10-17 didn't boot past boot logo for me.
[Motorola Photon Q 4G LTE] interloper:
Epic4G was released with two filesystem types. BML and MTD. This device is vfat/ext4, which CM likes very much. So, no, there is no repartitioning to go between stock and custom.
[Motorola Photon Q 4G LTE] interloper:
Any chance of adb? I was looking at arrrghhh's CM9, which boots but not much works yet. Its like 220mb, usually CM is about 160-170mb, where mine is at. He has every lib and binary known to man and I'm set up to do the same and see what happens. I'm building right now and will build immediately after but I won't be able to UL until tonight. Thanks for trying again. Please try adb every time if possible so I can gauge how far the ROM is getting. Thanks everyone.
[Motorola Photon Q 4G LTE] KitsunePaws:
Did it from work so that's currently not possible to provide. If it would help you at all I can fire up my pi and let you ssh into it when I get home. It's got adb. ARM environment though.
[Motorola Photon Q 4G LTE] spyderkoz:
I changed all the boot loader to the stock and got it stuck in boot loop had to repush a back up, i am trying just cant figure whats wrong...

sent from my giant f$%&en Q
[Motorola Photon Q 4G LTE] interloper:
That would be great, thanks. But, for some reason I'm not getting emails for every response to this thread so if you post here and it takes me a while to respond, thats why.
[Motorola Photon Q 4G LTE] lickarock:
Pre-Alpha Test? As in: HOLY CRAP!!! I GOT IT TO COMPILE!!!
[Motorola Photon Q 4G LTE] interloper:
I suppose. Do you have the device? Do you want to help?
[Motorola Photon Q 4G LTE] lickarock:
I doish have one. I received one as our store advocate, but I am not currently in posession of it. I am letting another guy from work play with it. Once I get it back I will gladly be of any assistance I can.
[Motorola Photon Q 4G LTE] Xodium:
And as I've already said via PM, I have one I'm willing to experiment on. It's my primary, but I'm willing to help. If it does somehow get bricked, well, that's what Black Tie protection is for. :D
[Motorola Photon Q 4G LTE] interloper:
Get yer fresh hot CWMR from the other thread and make a backup. So far there haven't been any mishaps flashing this or the cm9. If you flash this, try ADB. Thanks xodium.
[Motorola Photon Q 4G LTE] spyderkoz:
Which thread, i want to rock and test this

sent from my giant f$%&en Q
[Motorola Photon Q 4G LTE] UnicronAlpha99:
I don't mind giving cm 9 or 10 a try as long as I can restore a cwm backup without incident. Cyanogen Mod on the Photon's hardware is a tantalizing thought
[Motorola Photon Q 4G LTE] wingzeroismine:
http://download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.1.3-asanti.img

That's the link to the latest recovery environment for the photon Q
[Motorola Photon Q 4G LTE] spyderkoz:
Ya no this did not work still for me soft bricked it again
[Motorola Photon Q 4G LTE] interloper:
Well, fudgesickles. Did you try adb? Thanks for letting me know. I'll keep looking into thangs!
[Motorola Photon Q 4G LTE] interloper:
I swear I'm not completely incompetent! New build posted. Please flash it and let me know how it goes.
[Motorola Photon Q 4G LTE] spyderkoz:
Yes i tried adb and no flash it loaded the unlock screen and that was it downloading now will let you know the out come..

sent from my giant f$%&en Q
[Motorola Photon Q 4G LTE] fallnSaint:
Problem w the link?

-Saint
[Motorola Photon Q 4G LTE] spyderkoz:
interloper

the link you sent me

TWRP... did what it always has I let sit for 10 flashing the boot loader screen with nothing

CWM... factory wipe bootloader came on stayed on for about 2 mins flashed off then came back on let that cycle for about 20 mins with no luck

Also tried an format all that I brought over for my SII with the same results

ADB... nothing

I have an odd feeling that it could have something to do with the boot image and animation because I can rip the system out and get part of it to work after I unzip it and manual put it
[Motorola Photon Q 4G LTE] interloper:
New build. Changes to the ramdisk again, trying to get it close to stock while still being compatible with CM10. I reverted most of it and am using good, known to boot kernel code. Thanks for the guys who keep trying to flash. Also, looking more into what makes this an MMI (Motorola Mobility Inc.) and less like say, the HTC Jewel, and the Ville, or even the Samsung Galaxy Victory. So far most of the source is based on msm8960 generic (common) for camera, flash, leds, CPU, charger, USB switch and what I've found is that for all these devices Moto has added just snippets of code to "enhance" their product. These enhancements check for proprietary drivers and processes or they issue kill orders, ala Photon4G kernel breaks radio if its messed with. Well, since we have to use some Moto binaries and libs we could be safe. I think its a big reason why CM9 boots but nothing seems to work at all. Of course we have to be able to mount the partitions where the radios exist, not to mention this device has Webtop, so there are partitions and drivers for that. Anyway,one good thing has come of the scouring of the code. I found a file that when built makes a binary like mkbootimg, but its called rdbootimg and it tells a developer everything he needs to know about a bootimg without disassembling it like unpackbootimg. Good luck flashing! Ramble done.
[Motorola Photon Q 4G LTE] PythonFanTN:
Unless I'm misreading and you're referring to a different phone, this is incorrect....the Photon Q doesn't have Webtop.

http://www.engadget.com/2012/10/07/motorola-phases-out-webtop-points-to-a-lapdock-shy-world/
[Motorola Photon Q 4G LTE] JamesChilds:
*facepalm*
[Motorola Photon Q 4G LTE] arrrghhh:
Indeed... While the Photon Q has the proper ports for Webtop, it does NOT include the software...

Edit - 10/24 build does the same thing. Seems to be ramdisk, as I get stuck @ the 'locked bootloader' screen. I tried the CM10 boot.img on the stock system, and same deal... :/
[Motorola Photon Q 4G LTE] interloper:
Yeah, not actually owning the device I don't see the top only the bottom. There are partitions, drivers, script, binaries and libraries for it so to me it look like its there.
[Motorola Photon Q 4G LTE] interloper:
Alright, I know y'all ain't herd from me for a while so I'm just tossing out a little update. In an effort to migrate to a larger hard drive I lost my local repo and have had to rebuild it from memory for all the devices I've been working on. The good news is, if you own a Samsung Galaxy Victory, Reverb, Rush, Galaxy S3 etc, you'll be happy to know I am almost ready for you. The bad news is Photon-Q is my only CM10 device right now and has the most depth to restore. The good news is I have a donor who is gonna swap me my phone for his Q and then its gonna be on. The bad news is my dogs bark a lot at night. So, there ya have it. I haven't seen lmartin or arrrghhh much lately either, so I have no idea about CM9. Cheers and out.
[Motorola Photon Q 4G LTE] arrrghhh:
I have no clue where to go with it. It boots, but nothing works. :eek:
[Motorola Photon Q 4G LTE] Xodium:
*bows*

I hope she shall serve you well. Though you might have trouble with mobile hotspot. Not sure if it's something low level on my phone or it just needs a factory reset, but hotspot's been FUBAR lately.

I love this phone, it's just Motorola's tinkering with ICS has made it as stable as a martian prodding a landmine.
[Motorola Photon Q 4G LTE] spyderkoz:
Interloper what are you using to build this rom, my android kitchen is dead and trying to figure we need more to try to build something...

sent from my giant f$%&en Q
[Motorola Photon Q 4G LTE] interloper:
Standard gnumake. CM repo. My github. I have no idea what Android kitchen is. I know my wife wants me to get into the kitchen and make some cookies. I haven't done much because I started school and erased all my junk trying to set up a dual boot comp. I also figured I would just wait until I have the device before spending what little time I have for developing on it.

Demand>=reources==true

IF string school(easy)

then time*7 ! days(6,7) "work"

else FAIL[!]

Cheers and OUT!
[Motorola Photon Q 4G LTE] Xodium:
AND HE HAS THE DEVICE.

Commence partying.
[Motorola Photon Q 4G LTE] bigtex06:
This is awesome news as I have been getting vsncp errors and other issues. I can not wait to give this a try.
[Motorola Photon Q 4G LTE] Aaargh!:
Off topic question, what the heck is a vsncp error mean? I am getting them quite regularly also
[Motorola Photon Q 4G LTE] Xodium:
Guessing it's some error related to authenticating to the network.

I noticed I get one of them (GW-Reject) when I'm entering an LTE area, or am close to an LTE area. So when I get those errors I usually get real excited.
[Motorola Photon Q 4G LTE] tetrabyt:
Stopped getting then after updating.
[Motorola Photon Q 4G LTE] bigtex06:
I still get them as often as before the update did nothing for me. Glad that it worked for you though.
[Motorola Photon Q 4G LTE] drakeheart77:
What is the best Linux Distro to work on Android dev tools? I have thr new Ubuntu (12) and it's a tad confusing (running on Windows 7 VMWare).
[Motorola Photon Q 4G LTE] N1XRR:
The Android tools in Windows are not bad at all. There is no general reason to use Linux for Android Development (unless you really want to). Also, there are 2 "12" versions on Ubuntu out (12.04 and 12.10). Using 12.10 is not necessarily better or worse than using 12.04.

Ubuntu versions are based off of year and month of release. 12.04 was released in April of 2012 (4/2012). 12.10 was released last month (10/2012). Ubuntu uses "year.month" for their versioning. The primary difference is 12.04 is a Long Term Support release (the kernel and all of the packages will be maintained for 5 years without upgrading the base software revision), where 12.10 is on the 6-month release cycle.

I've developed on Windows XP, Windows 7, Ubuntu, Debian, OpenSuse, Fedora and a few others. I personally prefer Aptitude over YUM and RPM, but they all work. ADB works just as well in Windows as it does Linux.
[Motorola Photon Q 4G LTE] drakeheart77:
Ahhhh...I am a decent modder with a knack for things like this, and I want to help out so much with this phone's development. My methods are...unorthodox, if u will but hey it's science. I was using the October distro.

I came across TickleMyAndroid. Any opinions on that?

And what are some programs used on Windows for ROM development?

PM me if u wish..

Ty for your time.

-D-
[Motorola Photon Q 4G LTE] topherrjames:
Any progress? I'd be willing to test
[Motorola Photon Q 4G LTE] interloper:
Yes, there has been progress. I have been making my way through the kernel and ramdisk. I am eliminating boot errors one by one. I have the device so I don't need any outside testing done yet, but if anyone else would like to jump in, that would be welcome. I don't always push my changes to github, but will on request. If you want to try things another way, go ahead. The more the merrier.

I only have a couple days a week to work on this so progress may be slow. Still no boot, but closer.
[Motorola Photon Q 4G LTE] interloper:
Sum guns this is a hard nut to crack! I now own the device and have put some time into it already, but still no boot. I ain't a quitter so I'll be working on it until it's done. I just wanted to update the interested users and let you all know this thread is not dead, this device is not dead and CM is not dead. Since there are not ANY newer Motorola devices to even look at, there is no "template" to spring or learn from. I really like the device and believe it's worthy of the effort. If anyone wants to join in, come on and get some of this! Cheers and out!!!
[Motorola Photon Q 4G LTE] xLoveHateLegend:
You have my support! I can't wait to play with cm again.

Just showing some love to this thread :)
[Motorola Photon Q 4G LTE] interloper:
Well, it worked. Thanks for the cheerful post!
[Motorola Photon Q 4G LTE] wintrxtrem:
YOU CAN DO IT!! :]]
[Motorola Photon Q 4G LTE] Hammerfest:
some jackwagon 1stared this thread...

I for one am thankful for the work you are doing towards getting CM10 and beyond working on the Photon Q

/thanks!
[Motorola Photon Q 4G LTE] Nippero:
Thanks for your continued hard work. Really looking forward to this!
[Motorola Photon Q 4G LTE] tetrabyt:
+1 :)
[Motorola Photon Q 4G LTE] topherrjames:
What's your github then? I'm not saying I'll be able to help, but I might as well try and see if I can.
[Motorola Photon Q 4G LTE] arrrghhh:
https://github.com/xInterlopeRx

That's his base github... There's a few repo's for the device tree, I'm not sure which one he is actively working on. Just look at the most recent updates...
[Motorola Photon Q 4G LTE] interloper:
I'm pushing the kernel source right now. It's gonna take a while because I'm also uploading a system.img for another device. I just pushed the device tree, and I'll do vendor later also. We rely on htc-msm8960-common also. The guts of this device are disturbingly similar to the jewel (EvoLTE) You will also need CM jb branch of course. The CM wiki has a lot of info already on how to build from source.
[Motorola Photon Q 4G LTE] Nippero:
Will promises of more free beer help the process along? haha

Using the stock ROM makes me miss my HTC G2 with CM10 so much ):
[Motorola Photon Q 4G LTE] solitarywarrior1:
It's awesome to be getting some developer love here. I'm glad there's someone at least working on it!!
[Motorola Photon Q 4G LTE] topherrjames:
Thanks for what you've done so far, I'll see if I can help any, though this would be my first time trying so we'll see how well that goes lol..