yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] 239:
Could you post a screenshot of the second clock icon (since I only have one)?

Check if 'Stay awake' is on in 'Developer options'.
[Moto G 4G Android Development] IronTechmonkey:
Settings > Status bar > System icons > Alarm; should remove the persistent icon (the one on the right side of status bar) but AFAIK there is no way to remove the dynamic icon for an upcoming alarm (the one that appears on left side of status bar some time before the alarm is set for).
[Moto G 4G Android Development] Makis71:
Thank you for your reply and your general contribution to the thread.

Your suggestion did the trick!
[Moto G 4G Android Development] Makis71:
Hi and thanks for the reply!

Uploaded a screenshot so you can see the second alarm clock at the notification bar. IronTechmonkey's tip solved the problem though.

Turning off the 'Stay awake' setting in developers options solved the screen on while charging.

Thanks again.
[Moto G 4G Android Development] mrLoma:
Hmm I'm having so many random reboots with the 11 may build.

1 on Friday. But 3 yesterday and one today.

Does anyone else have this?

It always happens when I'm not even using the phone.

I didn't have time for log cat yet.

Hopefully today's build is more stable.
[Moto G 4G Android Development] 239:
I also had some reboots but not as many as you. They were too random to notice a pattern so far.

Will also try to check the log if it happens again but there were none in the past days.
[Moto G 4G Android Development] mrLoma:
I tried making a log cat, but I seemed to have cleared the log by another action.

I dirty flashed to yesterday's build, didn't have an issue yet, phone feels faster again too.

Last weeks build was sluggish from time to time.
[Moto G 4G Android Development] DeMixx:
Hi,

I can't install Lineageos on my device :(

The Moto G was stock, I just unlocked it and flashed twrp-3.1.1-0-peregrine.img

When trying to flash lineage-14.1-20170518-nightly-peregrine-signed.zip all I get is an error 7: can't install this package on top of incompatible data.

What's going wrong here?

Thanks,

D.

Edit. solved. After the third or fourth factory reset it works. Don't ask me about the difference to the first three tries, I've no idea...
[Moto G 4G Android Development] m00head:
This error means that you need to wipe the /data partition before attempting to install the LineageOS ROM.
[Moto G 4G Android Development] saifer92:
hi folks, i'm (relatively) new with moto g 4g (peregrine) and Lineage OS. I installed LineageOS months ago (all perfect) and now mobile network seems allways in airplane mode... even if airplane mode is off (wifi is on, and no problem). Sim card is obviously full functioning and If i try to make a call phone says me to disable airplane mode. Tryed to enable/disable airplane mode, clean cache etc. by TWRP and so on but nothing... I have read this thread and seems to be a frequent problem... but someone can tell me how solve it? I would avoid reset all phone and change firmware, but if not possibile can you suggest me a good rom? i'm not interested in "extreme" modding, i want stability. Thanks for help :)

EDIT: this problem appeared in a previus Lineage build (don't remember what, in April I think), now I have flashed the last avaible (20170518) and nothing, same problem.
[Moto G 4G Android Development] Nikaragua:
Hello,

First please excuse my English!

I have Motorola Moto G 4G peregrine with installed Cyanogenmod 14.1 on it. I tried to install lineage-14.1-20170518-nightly-peregrine-signed from official Lineage OS download page without lose any already installed app, but I can't. I suppose because I don't have experimental package. Unfortunately I can't find it. Could you help me please?

Thank you in advance!
[Moto G 4G Android Development] mrLoma:
Weird I never had this issue. It's strange that the issue persists. Did you do a clean install of the newer Lineage OS or install it over the old one?

---------- Post added at 07:31 PM ---------- Previous post was at 07:27 PM ----------

The only way is installing the experimental and than upgrade to a later version.

Though I would recommend a clean install, cause you can get weird behaviour of you use the experimental. You can use Titanium backup to save your apps data and settings.
[Moto G 4G Android Development] saifer92:
Thanks for reply. I made a fresh and clean install (delated data, system, cache etc.)

Inviato dal mio ZUK Z1 utilizzando Tapatalk
[Moto G 4G Android Development] Nikaragua:
Thank you but where can i find this experimental? I couldn't find it in the official Lineage OS page or anywhere else. Belive me I tried but without success.

Thank you again!
[Moto G 4G Android Development] mrLoma:
Hmmm they must have removed it from the official download page, because of too much difference between the builds
[Moto G 4G Android Development] damian3581:
Get root?
[Moto G 4G Android Development] IronTechmonkey:
Specifically and in detail, what are you asking?
[Moto G 4G Android Development] damian3581:
Where do I locate root access? excuse my English...
[Moto G 4G Android Development] mrLoma:
First you need to install the su addon, you can find it on the lineage os download page under extras.

Then you need to enable root access under "developer options". That's an option you can only see if you press 7 times on the build number in the settings menu.
[Moto G 4G Android Development] damian3581:
thank :highfive:
[Moto G 4G Android Development] IronTechmonkey:
This week I put the non device specific bug roundup in the Osprey thread https://xdaforums.com/showpost.php?p=72480331&postcount=4763 (including an interesting one about Livedisplay auto setting which may now be fixed https://jira.lineageos.org/browse/BUGBASH-226) but here are the Peregrine specific ones:

-----------------------------------------

MP3 files “skip” for a variable amount of time up to many seconds before beginning to play properly.

https://jira.lineageos.org/browse/REGRESSION-577

New ticket for which there is now a "fix" (workaround until cause is determined) https://review.lineageos.org/#/c/175156/.

This should be reproducible with 2 channel MP3 files played in the native Music app in clean flash before installing apps (and probably after installing apps). Many more details in the ticket including a note from Gabriele M about the "fix" being a workaround until cause of issue is found. It should also be noted that the "fix" might impact battery performance but can be disabled as described in this comment in the ticket https://jira.lineageos.org/browse/R...issuetabpanels:comment-tabpanel#comment-14829.

The ticket does not need votes because G. was quite quick with it, but if anybody notices appreciable battery drain when playing music please do add notes to it.

-----------------------------------------

Camera (and more) FC when attempting to take panoramic picture.

https://jira.lineageos.org/browse/BUGBASH-326

Confirmed fixed, and ticket has since been marked as resolved.

As described in the ticket; In all recent Peregrine builds except May 11 (which I did not test): I'm no longer getting FCs when taking Panorama pictures. Apps are still getting killed, but at this point much less intrusively so in Peregrine than other devices. There are still some bugs in the camera (overlay disappears, and must exit camera to switch modes after pano pic), and IMO this camera is poorly suited to 1GB devices (where it is much more problematic than the Moto cameras) but those issues should probably be pursued on a different track.
[Moto G 4G Android Development] tonibm19:
It's the latest version 7.1.1 or 7.1.2?

Also, is it recommended for daily use?
[Moto G 4G Android Development] mrLoma:
7.1.2.

I use it for daily use, but it is still in alpha, so one build could be less stable then another.

I don't have any big issues, but that depends on your usage as well.
[Moto G 4G Android Development] moonshadeosu:
I seem to have problems when trying to install LineageOS on my peregrine.

First, the bootloader is 41.1A and twrp is 3.1.1-0.

When I wipe data, cache and system and try installing the LineageOS daily zip for peregrine, I get the following error:

...
Patching system image unconditionally...
E1001: Failed to update system image.
Updater process ended with ERROR: 7

I've had LineageOS working before, but it was running on an older Android version if I remember correctly. Until now I've tried downgrading (3.1.0-0) and upgrading TWRP but this didn't solve the problem. Does somebody have an idea of what I could try in order to have the new LineageOS working on my device?
[Moto G 4G Android Development] mrLoma:
I had another random reboot few days ago.

I also had something stranger, I spent the last few days away from home so I had my phone on battery saver​ to last long enough. Yesterday my phone stopped sending and receiving messages and I couldn't call anyone, the network indicator was acting normal. It took a reboot to fix this.

Did anyone else have similar issues?

Might have to do another clean install.

I wonder if it has anything to do with not updating the gapps every time, seems unlikely.
[Moto G 4G Android Development] MisterDM:
I'm also experiencing this every once in a while unfortunately. It is a quick reboot though, only taking 20 seconds or so.
[Moto G 4G Android Development] Makis71:
Hi there all,

using the latest version (lineage-14.1-20170601) and something that happens on my phone is that after watching a youtube video fullscreeen and going back to the home screen, the digital clock size gets very small and have to resize it everytime. A bug? Or is it just me?

Something else is that, when using the do not disturb fucntion and having set an alarm, the "countdown time" until next alarm doesn't calculate the time correctly....

If the alarm is set for example to go after 7 hours and you turn off and reactivate the do not disturbe function two hours later, it still shows 7 hours.

Something else I personally miss is a "details" option when selecting a file in the file manager. Like how large is a file for example.

I know, I can use a file manager from play store for that, but it would be nice if the Lineage ROM file manager had that option.

Those are some small things I've noticed, keep up the good work everyone!
[Moto G 4G Android Development] Pupet_Master:
Maybe this could help

https://xdaforums.com/showthread.php?t=2522762

http://highonandroid.com/android-roms/how-to-fix-status-7-error-with-cwm-recovery-on-rooted-android/

What verison of peregrine do you have? XT 1039, 1040?
[Moto G 4G Android Development] moonshadeosu:
Thank you. I don't think this is the problem though, as the asserts from the update script don't fail, indicating that I have a supported device. I'm positive that the line in the update script that causes the error is after the asserts, namely:

block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") || abort("E1001: Failed to update system image.");

I'm 90% sure I've got the XT1039.
[Moto G 4G Android Development] Pupet_Master:
Have you wipped the system partition?

Maybe it's a corrupted download too
[Moto G 4G Android Development] mrLoma:
The current build seems a bit heavy on the battery. The weird part is that it seems the biggest battery usage is in android OS and play services.

The flat line part is when I put on battery saver. Yesterday I hardly used my phone and the battery was empty in about 13 hours.

It wasn't a clean flash, though
[Moto G 4G Android Development] 239:
I'm using the previous build (20170601) quite often throughout the past days​ (hiking and car navigation, taking pictures, messaging) and the battery is still above 20% at the end of the day.

Also no reboots so far if I remember correctly. It was a clean flash, though.
[Moto G 4G Android Development] mrLoma:
I installed the latest gapps this morning and the battery use looks ok again. Should've done that anyways. I didn't think it would matter, but apparently it does. Guess that's​ what happens when you take shortcuts ?
[Moto G 4G Android Development] IronTechmonkey:
It is quite possible that some ROM/Gapps combinations may cause battery drain. One notable past instance of this in CM11/KK4.4.4 was a case where Google separated or reorganized the Google Services Framework (GSF), which in turn caused wake-locks of the location services. IIRC CM11 had to make a change to fix it. That being said I've noticed no significant battery drain in latest Peregrine LOS build. A recent fix to a previously reported issue of audio files skipping when played in native Music App may cause more battery drain when listening to music but I've not specifically tested for that yet. Details in this Jira ticket: https://jira.lineageos.org/browse/REGRESSION-577?filter=-2

[EDIT] IMO the ROM's native battery stats averaged over time are not very helpful in determine causes of battery drain. If you want to investigate battery usage then consider trying Better Battery Stats https://xdaforums.com/showthread.php?t=1179809
[Moto G 4G Android Development] mrLoma:
I only did a gapps aroma install with the saved settings and the battery usage is back to normal.
[Moto G 4G Android Development] Pupet_Master:
I have a Legacy Question.

On CM13 (the latest Snapshot), how can i theme a single app with a different theme?

I remember once i had a button that allow me to choose a theme when i open an app.. but i can't find it anymore on the snapshot.

Anyone can help, please?
[Moto G 4G Android Development] BryanByteZ:
It's part of CApps, available at nightly builds of CM13 (not available at snapshots but can be flashed).
[Moto G 4G Android Development] Pupet_Master:
Thank you, my friend. I'll see if i still have the latest nightly
[Moto G 4G Android Development] kalava:
Hello, could any body help me out?

I am getting samous "no service" situation (no carriers could be found), and now it doesn't get back to work regardless what ROM installed, or running commands

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

with files from "fastboot-5.1-radio-official-firmware" (somewhere in this forum) or extracted from previous working IdetinyCrisis rom.

Situation - some ROM (latest CM, some other) has this "No service" radio modem issue, "IdentityCrisis" and LineageOs - was working (by the way, first time installing LineageOs there was "no service" too, but after comple wipe of all the data+system+internal etc it began to work).

now after 1 week using, appeare "no service", and no way get it back.

Any help would be appreciated, thank you in advance!!

Edit: tried restore stock rom, via TWRP later via fastboot - the same, "no service" :(
[Moto G 4G Android Development] Pupet_Master:
As CM13 and LOS N use the same (LL) radio. It should work fine with both.

Don't use the Identity Crissis radio files from the ROM.

Get your phone Stock LL ROM and it radio (make sure you are using your phone version, ex XT-1039, XT-1040, etc).

Extract just the files "fsg.mbn" and "NON-HLOS.bin" on your ADB/Fastboot folder on Windows or Linux.

Reboot on Bootloader (not recovery) and open your ADB/Fastboot Command Prompt

Type:

fastboot flash mode NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

then type:

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

open recovery, wipe cache and art and try to reboot.
[Moto G 4G Android Development] kalava:
Thank you for advice, I'll try to extract from lolipod stock rom ( maybe could you provide short hint or link how to extract from rom archive rather than install on phone, and then?).

By the way, in my post I mentioned I tried restore stock LL rom, but "no service" was even then.

So, hw problem? But till the moment I've started to use custom roms, everything were fine
[Moto G 4G Android Development] Pupet_Master:
Very hard to say if it is or isn't hardware problem. As Wifi still work i would guess that not (but yes it is possible to be).

The ROM that i had (stock) that allowed me to extract was called XT1040_Retail_Brazil_51_Untouched.zip (as this is my phone version).

I'll post again if i find the thread link for it

---------- Post added at 21:13 ---------- Previous post was at 21:11 ----------

Go for the untouched version

https://xdaforums.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816
[Moto G 4G Android Development] kalava:
Wifi is working properly. Let's say everything is working except radio.

Doesn't help *#*#4636#*#* trying radio power turning on or off.

Interesting moment, that initially with this lineageos rom was working everything, and only in about week of use it gave "no service".

Right after I've noticed "no service" I still could search for carriers, and I've got list of carrier (but already shoved "no carrier"), then I ran *#*#4636#*#* to chech radio, turned it on, and then carriers were not retrieved anymore giving "error while searching the networks".

Yesterday tried install stock roms I' found for xt1039, via zip and fastboot - the same, "no service" :(

Wifi was working with all roms

edit: tried with NON-HLOS.bin and fsg.mbn EU and GB (bought via amazon.co.uk) stock 5.1 versions from those https://xdaforums.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795 , https://firmware.center/firmware/Motorola/Moto G (1st gen-2013)/Stock/XT1039/

, but still the same "no service"
[Moto G 4G Android Development] Pupet_Master:
You used the files from Falcon

It will never work on Peregrine

Stick with the ones i sent the link. Even if you did tried to install the stock ROM and didn't work.

Get the version i told you from that topic and extract just those files... but peregrine. Falcon is a different thing

XT-1039 EU

https://xdaforums.com/devdb/project/dl/?id=14725

The radio zip for Fastoot:

https://xdaforums.com/devdb/project/dl/?id=13433

https://www.androidfilehost.com/?fid=24052804347796861

Download the radio zip, extract on your ADB folder and do the commands i told you on the other thread.

---------- Post added at 04:23 ---------- Previous post was at 04:15 ----------

As a last resort.. Reinstall the KK Stock ROM and flash the KK radio and see if with that Radio and ROM the celular network work.

If so, you can flash the stock bootloader, do a OTA update to LL and then unlock it again and flash TWRP and N
[Moto G 4G Android Development] IronTechmonkey:
A Peregrine is a type of Falcon in birds but not in Motorola phones. :silly:

As to LOS14.1 builds:

A nice new feature in June 15 build: The ability to "lock" a task to prevent it from being cleared when all recents are cleared https://review.lineageos.org/#/c/175734

Also, many camera related commits in the upcoming build (https://www.cmxlog.com/14.1/peregrine). I hope those improve performance of the camera and perhaps more importantly performance of the rest of the device when the camera is used, because IMO the camera has been a significant weak point in LOS14.1, especially on 1GB RAM devices.
[Moto G 4G Android Development] Pupet_Master:
I agree, in fact i feel that L-OS is going to have a weigh loss once the ROM get in a more baked state. It kind of feel heavier than it should.

About the Peregrine and Falcon, english is not my main language so i actually learned something today :P
[Moto G 4G Android Development] kalava:
It seems I already tried those radio drivers you pointed out, and I've tried Roms for peregrine (xt1039), not falcon.

Anyway, I'll try once again, also KitKat, if needed.

Thank you a lot for yor assistance.
[Moto G 4G Android Development] Pupet_Master:
Good Luck m8
[Moto G 4G Android Development] kalava:
So far (final) outcome of efforts - "no service" :(

Tried 5.1 LL roms (via twrp with radio modem separate install, as well via fastboot with all files replacement), after that desparatelly tried 444.KK roms ( also via twrp and fastboot) - "no service".

Only wondered that from 4.4.4 KK I didn't OTA update to 5.1 LL. Do I missed something? Via fastboot (compete set of restore commands) bootloader (is it boot.img?) should be updated as well to get Ota updates, isn't it?

5.1 LL got system updates immediately, while KK 4.4.4 said "system up to date", no suggestion to ota update (i am talking about stock roms).

Thats it. Any other clues?

Or that really means radio HW problem?
[Moto G 4G Android Development] Pupet_Master:
Yes, bootloader is the boot.img i wonder/hope if motorola still have those servers up ( i think they do).

Hang on let me find the full stock ROM for you

---------- Post added at 19:57 ---------- Previous post was at 19:52 ----------

Get the ROM from this thread:

https://xdaforums.com/moto-g/4g-development/xt1039-moto-g-4g-stock-firmware-kxb21-t2805619

then with 7zip you extract the files at your adb/fastboot folder.

And use those commands (excluse the $ if didn't work with it)

$ fastboot flash partition gpt.bin

$ fastboot flash motoboot motoboot.img

$ fastboot reboot-bootloader

$ fastboot flash logo logo.bin

$ fastboot flash boot boot.img

$ fastboot flash recovery recovery.img

$ fastboot flash system system.img

$ fastboot flash modem NON-HLOS.bin

$ fastboot erase modemst1

$ fastboot erase modemst2

$ fastboot flash fsg fsg.mbn

(optimal those too)

fastboot erase cache

fastboot erase userdata --> THIS WILL ERASE YOUR DATA (SD CARD IS UNTOUCHED). NOT REQUIRED IF ALREADY ON STOCK

fastboot reboot

Don't flash TWRP and the unlocked bootloader yet.. wait for the phone to OTA update to LP

After it, if all work fine, unlock the bootloader and install TWRP
[Moto G 4G Android Development] IronTechmonkey:
Is anyone here testing LOS Peregrine;). JK, but since we may already a bit off topic and the thread is otherwise slow; here is some more bird stuff in Moto device names: Otus (Latin) and Surnia (name made up by a zoologist) are types of Owls. :)
[Moto G 4G Android Development] Pupet_Master:
I actually do, but sadly it isn't my main driver as i'm too dependent of Xposed :(

hahahaha Nice, just remember "The owls are not what they seem"
[Moto G 4G Android Development] jay20tee17:
battery drain since update

Does anyone also experiences battery drain (android operating system is using most) since the last build (june 15th).

There is a significant difference with the previous build I used (june 6th I believe).

Any suggestions? Or do I just keep patient untill the next build :)
[Moto G 4G Android Development] mrLoma:
I had a similar issue. I solved it by installing the latest gapps , not sure if it would solve your issue but you can try

---------- Post added at 12:29 PM ---------- Previous post was at 11:49 AM ----------

Yeah I use my xt1039 as a daily driver device, so I guess I'm testing it on a daily basis.

Btw sometimes I when I come home from work my WiFi doesn't work. It's stuck in the wifi refreshing loop. A reboot fixes this, since I'm not on a clean build I didn't mention it before. I don't have the time right now, you know life gets in the way ?