yashsingh1/xdaforums huggingface dataset:
[Moto G Original Android Development] zcacogp:
amarc,

Thanks. It does show up on fastboot if I type in "fastboot devices" (although for some reason I have to use superuser permissions, i.e. "sudo fastboot devices") The problem is that if I then try and install a ROM it gives me the error message "error: update package has no android-info.txt or android-product.txt". If I can get around this error message then I should be able to install a ROM from fastboot without a problem.

Oli.
[Moto G Original Android Development] :
I have never seen these errors, but it sounds like the zips may be bad. Otherwise, you may need to reflash stock firmware images.
[Moto G Original Android Development] zcacogp:
Two of the zips (i.e. both of the cm12 ones) were downloaded within the last hour from the cyanogenmod website. I could try downloading them again but the fact that the same error is coming up on all of them suggests that either there is something wrong with the phone or I am doing something wrong.

How do I reflash stock firmware images?

Thanks again for your help.

Oli.
[Moto G Original Android Development] :
I think you may be doing something wrong. I also think you need to take some time and do some reading around here. There are plenty of tutorials on reinstalling stock firmware and a lot of other useful stuff that keeps getting put into these threads and cluttering them up so its harder and more time consuming for people to read through. Go to the Moto G sections and search around and read, before you get into a worse spot and lose your recovery.
[Moto G Original Android Development] zcacogp:
I think I am doing something wrong and I think your advice is probably sage - thank you. For what it's worth I have changed the recovery to Clockworkmod and tried to mount things from there, but it is also refusing to mount them ("Error mounting /data /system /cache etc etc etc").

I'll do some reading around and see where I get to. Thanks again.

Oli.
[Moto G Original Android Development] :
You wiped everything so there's nothing to mount. What model G do you have by the way?
[Moto G Original Android Development] zcacogp:
It's a first-generation Moto G - XT1032. No 4G. UK model. I think it's referred to as Moto G 2013.

If I wiped all the partitions then that would indeed explain why they can't be mounted. I presume I can recreate them using ADB or fastboot - perhaps that's the way forward.

Thanks again for your help.

Oli.
[Moto G Original Android Development] :
In 128 pages it's been mentioned numerous times. It's also been submitted as bug reports. No one seems to care or is able to fix it. I think it may be about time to retire this thing and make it my new mp3 player.
[Moto G Original Android Development] talhask:
stuck at boot screen?? any fix
[Moto G Original Android Development] :
Yes, all over the place it's mentioned, read and you'll find it!

Edit: your answer is in the big old OP you just quoted.
[Moto G Original Android Development] LuizHenrique91:
I need to test more, but it looks like it's solved if you use nuplayer.

Edit: it's not fixed.
[Moto G Original Android Development] talhask:
bro i found nothing ..... can please provide the link or paste the solution here ......
[Moto G Original Android Development] daniel910821:
Just flash using "adb sideload" and it'll work.
[Moto G Original Android Development] :
Install CM11, boot it and install CM12. I've found it don't bootloop if you format data to ext4 also. Just copy your SD contents first or you'll lose it all.
[Moto G Original Android Development] zcacogp:
So, with the 'phone in bootloader, type "adb sideload <Rom Name>" and it'll install OK?

Thanks, I'll try that.

Oli.
[Moto G Original Android Development] daniel910821:
From recovery trwp, choose advanced then adb sideload, connect to pc and use the command.
[Moto G Original Android Development] :
I've read about a lot of problems with doing it this way. Even after getting it sideloaded, for some reason.
[Moto G Original Android Development] gameeater:
calls insues

I installed the CM12 on the official rom 5.0.2 Brazil xt1033 however noticed that the volume is very loud during the calls. The any way to fix this?
[Moto G Original Android Development] zcacogp:
Thanks. I couldn't make it work with the sideload option, and ended up putting it back to stock using the instructions here:

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

So, the 'phone works again but I'm back with a stock ROM and it's not very nice ... :( I'll have another pop at getting Lollipop to run on another day.

Thanks again for your help chaps.

Oli.
[Moto G Original Android Development] matmutant:
Are you sure you followed these steps ? :

download ROM and gapps

Reboot to recovery

Format /system, /data (data content will be lost, but should not impact /data/media), /cache and wipe dalvik-cache.

Sideload from Computer or install from storage depending on where the download was completed)

wait

Reboot

wait (may take more than 3 minutes)

enjoy!
[Moto G Original Android Development] Common001:
I lost my root

Anyone to help me to recover my root ?

I lost it after installing the rom. And when I go in SuperSU I have the error message : "There is no SU binary installed, and SuperSU cannot install it. This is a problem! If you just upgraded to Android 5.0, you need to manually re-root - consult the relevant forums for your device" and the app close.
[Moto G Original Android Development] Droidriven:
That's probably because you didn't choose the "fix root" that it prompts you with when you reboot after flashing the ROM. Also in LP there is a setting for root access in developer options, set it to apps and adb

Tapped in ice from my Ice Cold lollipopped S3

---------- Post added at 02:01 PM ---------- Previous post was at 01:55 PM ----------

Restoring a backup should give you root access back if you've lost it then reflash whatever ROM you're on now, flash superSUzip just to be sure, don't forget to select "fix root" when you reboot. Then set access to apps and adb in developer options, you should be good then.

Tapped in ice from my Ice Cold lollipopped S3
[Moto G Original Android Development] zcacogp:
Thanks - that's precisely what I am now trying to do. However it never gets beyond the boot screen of the new ROM. It just keeps going with the face with the expanding halo around it.

I'm currently putting the 'phone back with a backup but will try this again later on tomorrow.

Oli.
[Moto G Original Android Development] matmutant:
Then simply force reboot if it takes longer than 10min at first boot, it should boot

:)
[Moto G Original Android Development] :
Either flash CM11 and let it boot and reinstall CM12 or format data partition to ext4 then flash and it will boot in a minute or 2. Just copy what you want to keep from your internal storage because it will wipe /data/media.
[Moto G Original Android Development] zcacogp:
Tried that - no joy. But thanks for the suggestion.

Oli.

---------- Post added at 08:53 PM ---------- Previous post was at 08:51 PM ----------

Now that's an interesting idea - thank you again. How do I format the data partition to ext4? (And what is it otherwise formatted as? Ext3?)

Oli.
[Moto G Original Android Development] :
It's f2fs. Use TWRP, go to format options and click the box for data. Next click change file system option and it should say your current file system is f2fs. Click the box for ext4 and swipe the slider to format. You need to format back to f2fs before reinstalling stock and don't forget to copy what you want off your internal storage. I've done this 3 times and it boots faster than stock.

Edit: this should be added to the OP to save a lot of posts about the boot problem. Not that most people actually read the whole OP instead of just looking for the download link.
[Moto G Original Android Development] Common001:
How do I get the "fix root" option ?

Is it in the recovery ?

So I need to flash the Rom in the recovery, and choose to reboot ? When I did this there was no option to fix root.
[Moto G Original Android Development] leeisme:
An easy way I've had to get root is to use the cf_auto_root. You can download the falcon package from chainfires website. Can use the batch file that comes with it, or extract the .IMG file and do fastboot boot imgname.IMG

Make sure you do fastboot boot and not fastboot flash.

---------- Post added at 12:56 AM ---------- Previous post was at 12:52 AM ----------

Exceeded data and phone is slow.

https://www.iblogpoint.com/root-all-moto-g-x-on-android-lollipop-5-0-with-cf-auto-root/

They have links for some falcon models. Get the one right for your phone. This is for lollipop only.
[Moto G Original Android Development] josip-k:
Video lag is still present.I'm on 27th build
[Moto G Original Android Development] baluviswanath:
Ring Volume Issue Still Persists

Hi Guys,

Did anyone noticed or having the ring volume issue ? The ring volume is getting to low level even if I set it high. It goes to low levels by itself and have to manually increase it again.

Thanks
[Moto G Original Android Development] -TheKoolAnie-:
How To increase Flashlight brightness???
[Moto G Original Android Development] khensin:
when try to wipe, i stuck in wipe system partition? I wait about one hours, but nothing happen. i use TWRP 2.8.1.0. Any solution?

my device XT1033 with Lollipop 5.0.2
[Moto G Original Android Development] baluviswanath:
CM12 - App Drawer

Team,

Could you please move away from the default white background of the app drawer plssss.. Would have enjoyed if it was a transparent one or else giving us the option to change the app drawer backgrounds and opacity settings :)

Thanks
[Moto G Original Android Development] moralesnery:
Priorities
[Moto G Original Android Development] reversegear:
Use xgel module in xposed framework
[Moto G Original Android Development] Swift2603:
Since when does xposed work with lollipop [emoji15]

Gesendet von meinem Moto G mit Tapatalk
[Moto G Original Android Development] reversegear:
You are ~3000 posts outdated ;)

Check this thread

http://xdaforums.com/showthread.php?t=3030118
[Moto G Original Android Development] khensin:
i try to instal cm12 with twrp 2.8.1.0 but it can't. there is warning 'E:Unable to open zip file'. any one can hel me?:(
[Moto G Original Android Development] talhask:
the file may be broken due to bad download... Redownload it !!
[Moto G Original Android Development] bilatche:
Hi every one!

Someone knows where to find the apk of original launcher of cm12 (lollipop with smaller icons than GNL) like on this following screen?

http://acurrie.me/wp-content/uploads/2015/02/dm-01-home-576x1024.png
[Moto G Original Android Development] yashgandhi_79:
Moto G XT1033

Hello, I have a Moto G XT1033 and I tried to flash candy 5 ROM but ended up hard bricking my device :( I formerly had a Samsung Galaxy S duos ( GTS7562 ) and I had flashed like 5 ROMs before without bricking. Idk I did everything stepwise, even flashed donkey kang kernel and all but it gave me a strict error " Unfortunately System UI has stopped working ". When I tried to flash candy 5 ROM my phone's android version was 4.4.4.

So I hope someone can tell me the exact steps about from where do I start. My phone's current android version is 5.0.2 ( stock ).
[Moto G Original Android Development] moralesnery:
The CM launcher is called Trebuchet, and you can download it by downloading "CM Apps" on PlayStore. I did so, I feel it better than GNL and a bit more customizable, but miss the Google Now section.

https://play.google.com/store/apps/details?id=com.maartendekkers.cmapp&hl=es
[Moto G Original Android Development] SammyP6:
If it says system UI has stopped working then that is not a hard brick. A hard brick is when your phone wont boot at all. If it really is a hard brick idk how to help. If it boots up and say system UI has stopped working then reboot into bootloader and clean reinstall your ROM(Wipe system data cache and dalvic/art cache and re flash your ROM. you might want to re download in case of a bad download). It might also be a problem with candy5(Try posting in that thread). You can also try a different ROM. Also make sure you are using the latest version of twrp/cwm/philz touch. It could also be that your ROM does not work with donkey kang.
[Moto G Original Android Development] zcacogp:
It's working! Complete with Root (thanks to leeisme for his post a couple of pages back with that one.)

Having used it for less than a day, almost everything seems to work. I'm on 20150226 build, but the following are annoyances;

- Llama is unstable on it. Very, very unstable. Is there a solution to this as not having Llama operational will be a deal-breaker for me?

- On Kitkat, there was the possibility of putting a tile in the notification drawer that cycled through the network data modes (2g > 3g > 3g preferred). I can't find any equivalent on Lollipop. Is there one?

- What happened to facial recognition to unlock the screen? That was pretty neat (and useful when driving).

Thanks again for your help up to this point.

Oli.

UPDATE: After a bit of reading around, it looks like Llama simply doesn't play nicely with Lollipop. Which is a huge shame. I guess my options are to go back to Kitkat or to learn Tasker. What are the odds of Llama being made to work with Lollipop (or vice-versa)? Slender, by the looks of it.
[Moto G Original Android Development] :
Donkey Kang kernel may not work on ROMs built after it. Try something newer.
[Moto G Original Android Development] mikk150:
Is cpuz right or wrong, but seems like my motog is running on dalvik rather than art
[Moto G Original Android Development] :
Look in settings/ developer oprions, if select runtime says run ART it's not dalvik.
[Moto G Original Android Development] abeloman:
Maybe app is outdated
[Moto G Original Android Development] mikk150:
I have already watched there on cm12 seems like there is no menu to select runtime
[Moto G Original Android Development] legendarren:
I have XT1033 ASIA RETAIL (dual sim) but flashed BRA XT1032 (single SIM) of 5.0.2 before flashing the latest nightly. Is it really normal that it still detects it as a dual-sim phone (with the settings for dual sim)? If ever, is there a way for it to be fixed or nah? TIA.
[Moto G Original Android Development] itouchables:
About facial unlock...

set up a password/pin/pattern

go to settings -> security-->Smart Lock --> Trusted Face

I know! but a Google search will help you with most tasks with tasker
[Moto G Original Android Development] -TheKoolAnie-:
Anyway to increase Flashlight brightness???
[Moto G Original Android Development] yashgandhi_79:
XT1033?

I already have stock lollipop 5.0.2 so can i flash ?
[Moto G Original Android Development] padhu1989:
I think CM12 fixed this in latest nighly. Some updates I saw in Latest changelog
[Moto G Original Android Development] khensin:
thanks for reminded me. The zip file less 3MB. i'm success flashing CM12 after redownload it, but now i have new problems. first screen wont rotation when on home screen or app drawer, when i open app rotation work fine and second, i cant install super SU, there is message 'There is no SU binary installed and Super SU cannot installit...."

my device xt1033 with Lollipop 5.0.2 stock

sorry for my bad english
[Moto G Original Android Development] dnach:
Wrong permissions

Hello,

I guess internal storage permissions went wrong on my Moto G with CM12 or bad mouting path maybe, not sure, but I can't write on internal storage so many settings and applications failed :

It started few weeks ago with an new nighlty.

root@falcon_umts:/ # ll /data/media
drwxrwx--- media_rw media_rw 2015-02-28 14:17 0
drwxrwxr-x media_rw media_rw 1970-09-04 23:45 legacy
drwxrwxr-x media_rw media_rw 1970-09-04 23:42 obb

shell@falcon_umts:/storage/emulated $ ll /storage/emulated/
lrwxrwxrwx root root 1970-09-05 23:11 legacy -> /mnt/shell/emulated/0

shell@falcon_umts:/ $ ll /storage/emulated/legacy/
drwxrwx--- root sdcard_r 1970-09-04 23:45 Alarms
drwxrwx--x root sdcard_r 1970-09-04 23:45 Android
drwxrwx--- root sdcard_r 1970-09-04 23:45 DCIM
drwxrwx--- root sdcard_r 1970-09-05 20:17 Download
drwxrwx--- root sdcard_r 1970-09-04 23:45 Movies
drwxrwx--- root sdcard_r 1970-09-04 23:45 Music
drwxrwx--- root sdcard_r 1970-09-04 23:45 Notifications
drwxrwx--- root sdcard_r 1970-09-04 23:45 Pictures
drwxrwx--- root sdcard_r 1970-09-04 23:45 Podcasts
drwxrwx--- root sdcard_r 1970-09-04 23:45 Ringtones
drwxrwx--- root sdcard_r 1970-09-05 00:26 TWRP
drwxrwx--- root sdcard_r 1970-09-05 04:15 clockworkmod

How can I recover permissions on internal storage for my current user ?
[Moto G Original Android Development] talhask:
flash the latest version of super su ( i think v2.6 ) it compatible with lollipop....
[Moto G Original Android Development] SammyP6:
Some launchers do not allow the screen to rotate/have it disabled by default. If its not working try to see if your launcher has setting that you can change to allow rotation or try installing a different launcher from the play store such as nova, apex, trebuchet, or Google launcher. IK nova supports screen rotation but IDK about the others.
[Moto G Original Android Development] tzzeri:
This keeps on coming up. Root is built in to cm. You need to enable it in developer options.
[Moto G Original Android Development] khensin:
I have enable it, but still same.
[Moto G Original Android Development] mdsaif92:
Tired of launcher redraws, could someone post the apk for the stock moto g launcher that comes with stock lollipop?
[Moto G Original Android Development] iDynamics:
*looks at latest nightly (mar 1)* No point in updating.
[Moto G Original Android Development] tzzeri:
If someone's on a version older than yesterday, then it's good for them to update to
[Moto G Original Android Development] khensin:
thanks, it work. i just need to reflash TWRP than instal SuperSu 2.46 from recovery. now i can restore my app from titanium.:D
[Moto G Original Android Development] baluviswanath:
Thanks Buddy, XGEL doesn't gel with the default launcher (Launcher3) of CM12.. Launcher crashes while clicking the back button always.. :(

Setting the Google Now launcher as default only solves this.. (May be terbuchet too)..
[Moto G Original Android Development] tzzeri:
Launcher3 in cm is trebuchet. And in the xgels description on Google play, it says that it doesn't work for trebuchet on lollipop yet, but it will in the near future.
[Moto G Original Android Development] baluviswanath:
Xposed Framework

Does anyone here got success in getting the Call Recording and Ambient Display modules working ? (Official CM12 nightly). Would appreciate if someone shares the details...
[Moto G Original Android Development] y@$h98:
As of now, I dont think Xposed itself is working properly on cm12. I myself tried ambient display module and I can confirm that it doesnt work
[Moto G Original Android Development] tzzeri:
Xposed is working properly as long as you have a kernel with SELinux permissive. And not all modules work yet
[Moto G Original Android Development] Juicee91:
gps doesnt work for me

I have XT1032 and I'm using official CM nightlies, I've updated it several times already.

So my problem is that GPS doesnt work. I've tried all sorts of apps and none gets a signal.

Anyone else has same problem ? Or any suggestions how to fix it ?

Thanks.
[Moto G Original Android Development] BBobby:
As far I know in cm11 the same issue occurred with many ROMs. Something that fixes this you have to flash a stock ROM, turn on your GPS and get it to find your location (like opening up maps). Then by leaving GPS on, clean install CM11, then dirty flash CM12.

Just a small step that, If missed, your GPS won't work
[Moto G Original Android Development] SammyP6:
If you don't want a custom kernel you can also use SELinux mode changer from the play store. However if you do that then you need to soft reboot after every (re)boot. I'm pretty sure this is an issue with XPosed not cm12.
[Moto G Original Android Development] methuselah:
Well why you don't try other ROMs based on cm12 . well regularly other devs cherry pick the latest commits from cm to their ROMs. So you can enjoy it In other ROMs. Cm is still in early days of development. So to reach end it will take time. And moreover lollipop is Still no matter what anybody say in early days . it should work with 512 ram phones but even 1 GB ram phones sometime lag.
[Moto G Original Android Development] Feche:
I have slow video playback on Facebook app, anyone else? :confused:
[Moto G Original Android Development] vhuiya:
every software installations is very slow
[Moto G Original Android Development] balaji345:
Please refer to the below post. Solved it for me.

http://xdaforums.com/showpost.php?p=58433172&postcount=660
[Moto G Original Android Development] LuizHenrique91:
What is the best way for a user that is interested in helping the developer to help?
[Moto G Original Android Development] Common001:
It looks like its working, you're a genius thank you
[Moto G Original Android Development] tzzeri:
The problem is that the app sets it as permissive too late in the boot process.
[Moto G Original Android Development] padhu1989:
Check this guide..

http://xdaforums.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245
[Moto G Original Android Development] remo0073:
It is possible also to use this app

SELinux Mode Changer
[Moto G Original Android Development] khensin:
I have a little issue. when i minimize apps animation little bit not smooth, its like a bit flickering.

Anyone have same issue?

Moto G XT1033

CM12-Nightly

Optimus Kernel R7
[Moto G Original Android Development] shubham.ydv:
i think there is a bug in cm12 -20150301-nightly-falcon
[Moto G Original Android Development] abeloman:
Are you serious? DO NOT QUOTE THE ENTIRE OP
[Moto G Original Android Development] xpirt:
are you serious? you quoted the op + his post.. D:
[Moto G Original Android Development] Eurofighter_ty:
Good news guys for multitasking !!!!
[Moto G Original Android Development] billybully:
browser video is lagging on my xt1032. why is this? anyone having that problem??
[Moto G Original Android Development] Juicee91:
Thank you very much, that worked.
[Moto G Original Android Development] padhu1989:
Bro.. Everyone knows this... but if you hardreboot your phone, SELinux will set to Enfrce again. The guide I suggested is to set the SELinux to set to Permissive in boot itself, so hard reboot will not cause any probs.
[Moto G Original Android Development] khensin:
Ya, me too. Its lag when streaming video

Moto G XT1033

CM12-Nightly

Optimus Kernel R7
[Moto G Original Android Development] Shub77:
This bug appeared in a nightly all of a sudden, and never disappeared, up to now. :(
[Moto G Original Android Development] Mazer.one:
Hi guys, is there a problem with latest build from 03032015 ? systemui force closed each time at reboot

xt1032 with stock theme
[Moto G Original Android Development] :
About Srlinux permissive

Hello. Who know how edit this script for moto g? The script fr nexus 7 2013 lte and flash via twrp. It switch selinux to permissive on boot level ( rebild kernel with adding line in bootcmd about selinux). If it flash for moto g, system in not boot., because this zip for nexus 7 lte. Who can learn this and edit for moto g?
[Moto G Original Android Development] abeloman:
You can also edit the boot.img with WinHeX... I've done without problems, and everything is working fine

Here the guide, post 23

http://xdaforums.com/showthread.php?t=3034245
[Moto G Original Android Development] :
If anyone is having g trouble with the init.d script in that thread, make it:

#!/system/bin/sh

setenforce 0

With the /bin added, it works for me.
[Moto G Original Android Development] xheon:
Fix the damn video lag already!!
[Moto G Original Android Development] abeloman:
I think its easier with WinHeX... There no other process on boot, the kernel itselfs does the job
[Moto G Original Android Development] Mazer.one:
sorry guys to insist, but does the latest nightly worked for you (03032015) ?

Just "yes" or "no" make me happy ?

Thanks in advance.

Xt1032
[Moto G Original Android Development] :
Work nice