yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] aha360:
TeamWin Recovery for the Moto G LTE has been updated to 3.0.2-1 as CyanogenMod 14.1 nightlies from 20161114 onwards are no longer compatible with 3.0.2-0 according to what [MENTION=4977500]sevenrock[/MENTION] and [MENTION=5075128]LuK1337[/MENTION] said:

https://DL.twrp.me/peregrine

http://review.cyanogenmod.org/#/c/170895

http://xdaforums.com/showpost.php?p=69621239&postcount=321

http://xdaforums.com/showpost.php?p=69622985&postcount=323

If you want a recovery-flashable ZIP for the 3.0.2-1 update, download the attached file.
[Moto G 4G Android Development] jdegreef:
Hi,

I'm not able to connect my xt1039 through adb in TWRP 3.0.2.x recovery mode.

Did I miss something ?

Thanks in advance
[Moto G 4G Android Development] _that:
Apparently you did, because it works for me, at least with x == 0.
[Moto G 4G Android Development] aha360:
TWRP 3.0.2-2 is now out, with the following changes:

Grab it at the below URI, or alternatively, grab the flashable ZIP by downloading the attached file:

https://dl.twrp.me/peregrine
[Moto G 4G Android Development] jdegreef:
You're right, it's working with Ubuntu but not with Windows. What a surprise :D
[Moto G 4G Android Development] tpa-moto:
Is the touchscreen unreliable and hard to use in recovery? (this probably depends on the touch panel vendor)

Also, does the kernel ever panic while starting TWRP?

The problem is caused by TWRP which is not setting the right USB PIDs/VIDs. Linux is less picky than Windows, that's why it works with Ubuntu.
[Moto G 4G Android Development] _that:
Yes, it seems to be a kernel issue.
[Moto G 4G Android Development] tpa-moto:
It's the same with falcon, you need TW_IGNORE_MAJOR_AXIS_0.

Could you maybe try https://gerrit.twrp.me/#/c/1894/ ?

EDIT: public link https://github.com/TeamWin/android_...mmit/ab557b7f81bc3a92a9e270f435d3e20211c3ccf0
[Moto G 4G Android Development] jdegreef:
Woaw, thanks for this technical explanation ;)

I had a look at github : this seems to be fixed for a future release.

Is there a way to test it without compiling the whole tree myself ?

BTW, no problem with touchscreen here.
[Moto G 4G Android Development] tpa-moto:
You'd have to unpack/repack the ramdisk. Anyway, I made a build yesterday, I thought I had deleted it. You can try it if you want, I attached it here.

There are two different touch panels used for Peregrine, one made by Synaptics and the other by Melfas. You probably have the latter.

EDIT: oops, the file is too big, uploading it somewhere else.

EDIT2: Here: https://drive.google.com/file/d/0B9vNfsTdldibMmdtRVlaeHV2MXM/ - This is the same as the official twrp-3.0.2-3, use that instead.
[Moto G 4G Android Development] jdegreef:
It works perfectly at least concerning adb (Windows 7 64 Home Premium SP1).

Let me know if there's something else I can test.

BTW I've read this but I don't see a /misc partition in the backup tab or the mount tab maybe because I'm on CM13 and not CM14.x...
[Moto G 4G Android Development] tpa-moto:
That's normal and it's not due to the fact that you are using cm-13.0. If you look at /cache/recovery/log, you'll see it mentioned there.

/misc is a special partition, you can't mount it since it doesn't have a filesystem and there's no point in backing it up, there are just commands for the bootloader and recovery in there.
[Moto G 4G Android Development] smartuser8:
Why every setting I make (brightness, vibration, clock, etc...) are removed and set by default every time I go in TWRP? Impossible to save them...
[Moto G 4G Android Development] jdegreef:
Hi [MENTION=6937116]tpa-moto[/MENTION],

I've just tested version 3.0.2-3 from https://dl.twrp.me/peregrine/ and adb from Windows doesn't work. Is it another version than your's ?
[Moto G 4G Android Development] tpa-moto:
Well, it should have been the same, but jenkin's log reports:

so for some reason the changes weren't included and 3.0.2-3 and 3.0.2-2 are the same.
[Moto G 4G Android Development] jdegreef:
Ok, I understand.
[Moto G 4G Android Development] tpa-moto:
The build was updated, but it's still named twrp-3.0.2-3-peregrine.img.
[Moto G 4G Android Development] _that:
You linked to a commit earlier, but apparently that commit is not in any branch. I don't know how this can happen, but maybe it is the reason why it wasn't included.
[Moto G 4G Android Development] tpa-moto:
That was the link to the commit generated by gerrit before it was submitted (for every change on gerrit there's a corresponding commit on the public repo). Since the commit wasn't changed before it was submitted, gerrit merged the one I linked, as you can see here: https://github.com/TeamWin/android_device_motorola_peregrine/commits/android-6.0. The build was started after the commit was merged, so I don't know what happened. The same happened with falcon.
[Moto G 4G Android Development] _that:
You're right, now after the merge I can see the commit too. :)When I checked it the first time, it wasn't there, and I wasn't aware that "unmerged" Gerrit commits are already forwarded to Github.

However I downloaded the latest -3 release from twrp.me and unpacked the ramdisk, and the changes from that commit are included in the release.
[Moto G 4G Android Development] aha360:
I didn't see this update coming at all - here's a flashable ZIP for TWRP 3.0.2-3
[Moto G 4G Android Development] schrickz:
never gonna miss an update later on with the new official TWRP app.

looks like we are expecting the new 3.0.3.0 version.
[Moto G 4G Android Development] Jaysin365:
Please excuse my ignorance but by 'flashable zip' you mean flashable from inside an existing TWRP recovery, right?
[Moto G 4G Android Development] schrickz:
yes.
[Moto G 4G Android Development] Marcos60001:
Yes, we are. Also, 3.0.2-4 didn't come out for our device, it seems.
[Moto G 4G Android Development] _that:
The dash releases are always device specific. You shouldn't expect 3.0.3 for our device either. It is a limited release for a few specific devices only, mostly to test the new TWRP app and the support for Pixel devices.
[Moto G 4G Android Development] Marcos60001:
Oh, I didn't know that. Thanks for the info.
[Moto G 4G Android Development] ycarmo:
Unable to `fastboot boot`, but `fastboot flash recovery` works

I've tried to boot the latest image version many times using

fastboot boot

before flashing, to be sure this release would work on my XT1039, and every time, when the bootloader M logo was about to disappear, a blue horizontal stripe appeared on the screen and the screen gradually turned into black from the edges towards the M logo in the center. I've also tried the four previous releases and got the same results, with the only change being the position of the blue stripe.

Then I've tested booting from a stock recovery dump, found in another thread, and it worked, so I was relieved because if anything had gone wrong I could at least flash the stock recovery. I've flashed the TWRP image using the same fastboot (official latest linux release) and it worked like a charm.

I'm posting this reply because I've spent literally hours trying to figure this out.
[Moto G 4G Android Development] _that:
I've never seen this on my device. What bootloader version do you have?
[Moto G 4G Android Development] jdegreef:
+1
[Moto G 4G Android Development] ycarmo:
You are right: it was caused by an incompatibility with the bootloader. I was using version 0x4116. Now I'm using 0x411A and I'm able to boot into TWRP without flashing.
[Moto G 4G Android Development] schrickz:
the new version is out. anyone tested the new backup feature ?
[Moto G 4G Android Development] sub77:
looks like adb-gui-thing is not implemented, yet
[Moto G 4G Android Development] aha360:
Not yet - I don't use my PC for things like TWRP backups unless I run out of space on my microSD card.

Speaking of the updated recovery, here's a flashable ZIP version of the recovery - as always, check the attachment section of this post.
[Moto G 4G Android Development] _that:
adb backup --twrp

works fine for me - the GUI is on the phone.
[Moto G 4G Android Development] Pupet_Master:
Ok i'm with a serious trouble.

I flash TWRP since the 2.6 version on that device.

This time flashing the new one how ever, i'm Stuck at the TWRP log screen after i boot on the recovery.

So i decided to roll back to the latets 3.0 version (the one i was using fine before).. and even on that that i used before i'm stuck on the TWRP logo screen!

Any help?

I flash via adb with the fastboot flash recovery command.
[Moto G 4G Android Development] Rob...:
Have you tried

fastboot erase cache

fastboot reboot

No idea if it helps. I read it somewhere. TWRP 3.1 takes about 10 seconds to boot.
[Moto G 4G Android Development] Pupet_Master:
Thanks Rob.

it actually booted in, but it took a good 3 to 4 mins!! I found out later trying to backup that it take way too long to mount partitions.

Now how ever i have another issue.. I cannot make nanobackups.

With compression on, it give the error:

createTarFork() process ended with signal: 255

When i turn data compression off how ever, the error is:

createTarFork() process ended with signal: 9
[Moto G 4G Android Development] Rob...:
I found this here, but is for the oneplus 3

KNOWN ISSUES

F2FS takes a long time to boot, see below.

If your device is taking more than 10 minutes to boot, you probably have a misc flag enabled that disables passing cmdline, see below.

WHY AM I STUCK ON THE TWRP SPLASH SCREEN FOR 8 HOURS?

Be patient, wait another 8 hours.

Just kidding, try this while stuck on the loading screen:

adb shell wipe_misc; adb shell reboot recovery

Some devices might somehow get a flag set in misc that tells the bootloader to ignore the android boot image command line.

This results in the kernel not receiving the hardware name (qcom), which then confuses recovery and causes it to wait forever. FOREVER.

Personally, I'd have tried this after 15 minutes.

Here the thread to it:

https://xdaforums.com/oneplus-3/one.../recovery-official-twrp-oneplus-3-3t-t3543391

To your error

Maybe the rom dirty flash. And then try again(backup). Maybe something is damaged on your rom.

I have no idea, maybe somebody else can help
[Moto G 4G Android Development] Pupet_Master:
Thanks Rob, i'll try all that.

Thanks a lot m8, i'll post if it work or not
[Moto G 4G Android Development] Pupet_Master:
Sadly it didnt work.

Phone on recovery is just too slow.. Both to mount storage and to start the nanobackup (stick at 0% for mins to later start backing up at the pace it used to go)...

I Wiped Art cache, cache and system.. Than flashed CM13 (the latest snapshot) with the latest custom kernel we have for our device. I think that the only thing left to do is to buy a new microSD card install the stock recovery. Install TWRP on top of the stock recovery (so it would be a "fresh TWRP install").. Make a Titaniumbackup of all my apps. Wipe EVERYTHING, data, system, internal storage... EVERYTHING...

And start fresh.

To be honest i also think that maybe a new device could be a good idea too
[Moto G 4G Android Development] Pupet_Master:
Sorry tem spam.. but if anyone has an idea on how to at least fix the nanobackup aspect (as this is what make me feel very insecure) i would appreciate.
[Moto G 4G Android Development] Pupet_Master:
UPDATE:

I actually found a way to fix it.

After a unsuccessful backup, i decided to pull the log to check out what happen under the hood. Well, it show no error at all for me, except that the log was 30mb of size and i would say that 80% of it was the backup function to backup a single app called Servicely (that i use).

It isn't a system app so i made a nanobackup just of the system partition... and for my surprise... it worked (even though the mounting still took forever).

So i booted on Android, made a titanium backup of Servicely, cleaned it cache and data... and uninstalled it. It took FOREVER to uninstall it on android conventional uninstall mean.

For my surprise, once i booted on Recovery, it booted fast (it didn't take long to mount the partitions anymore) and a full nanobackup of my system worked fine.
[Moto G 4G Android Development] OmarBFC73:
Hi everyone, after flashing the recovery also to me appears the mismatched message and unfortunately I can not do anything. If I go on the recovery command I get the droid with the red triangle

Sent from my bacon
[Moto G 4G Android Development] Pupet_Master:
The miss match message is actually normal.

How ever, it must have show another error.

What bootloader do you use and also, have you unlocked the phone?
[Moto G 4G Android Development] OmarBFC73:
Obviously I unlocked the phone.

I do not understand what you mean by "what bootloader you use"?

Sent from my bacon
[Moto G 4G Android Development] Pupet_Master:
What version of the bootloader..
[Moto G 4G Android Development] OmarBFC73:
Now I do not have the phone in hand, tonight I look at it

Sent from my bacon
[Moto G 4G Android Development] OmarBFC73:
here it is

Sent from my bacon
[Moto G 4G Android Development] Pupet_Master:
You are using the latest one.

I would advise to flash it again via fastbook.

It should work fine, even with the missmatch partition size (as we all get that message)
[Moto G 4G Android Development] OmarBFC73:
I've been flashing twice.

Maybe I should try with a less recent twrp version?

Sent from my bacon
[Moto G 4G Android Development] Pupet_Master:
I read somewhere that if it is the first time you are flashing it you should flash the 2.8.8 version. But i don't know if it is still the case.

Still worth a try.

How are you flashing it, what commands are you using?

Try to erase cache before and after

fastboot erase cache

fastboot flash recovery twrp-3.1.0-0-peregrine.img

fastboot erase cache
[Moto G 4G Android Development] OmarBFC73:
So tell me to try to clear the cache, flash 3.1 and clear the cache again?

Or did I flash 2.8.8?

Sent from my bacon
[Moto G 4G Android Development] _that:
Have you read this paragraph on the official installation page (linked in the OP)?

That has never been the case, as far as I know. I've never installed any pre-3.0 version of TWRP on my device.
[Moto G 4G Android Development] OmarBFC73:
What is the key combo?

Sent from my bacon
[Moto G 4G Android Development] _that:
Hold volume-down.
[OnePlus X Q&A, Help & Troubleshooting] artrokas:
People are stating that the performance is much improved after flashing the kernel. So I want to ask how does GTA sanandreas run on the device is it comparable to the ONEPLUS ONE ? :confused: Could anyone maybe upload a short sample to youtube of the game running at max settings on the device with the Blu_spark kernel ?

Video I found of gta performance with stock kernel skip to 2:00 https://www.youtube.com/watch?v=NCfUUhp_M54
[OnePlus X Q&A, Help & Troubleshooting] sydeu:
With Blu spark it's exactly as one plus one performance.
[OnePlus X Q&A, Help & Troubleshooting] artrokas:
Thats awesome also is it possible to overclock the X to 2.5Ghz ?
[OnePlus X Q&A, Help & Troubleshooting] sydeu:
No overclocking yet
[OnePlus X Q&A, Help & Troubleshooting] artrokas:
Anyone working on it ? Is it even possible ?
[OnePlus X Q&A, Help & Troubleshooting] sydeu:
Possible yes but not with Blu spark. Noone working on it as far as I know. Eng.stk could implement it in Blu spark but does not want to, which is the correct decision in my opinion.
[OnePlus X Q&A, Help & Troubleshooting] artrokas:
Why wouldn't it be the correct decision ? it could be completely optional
[OnePlus X Q&A, Help & Troubleshooting] Fatsodonkey:
Yeah. I wish that someone would even make a 2.5ghz possible as optional. People that tweak with kernels usually know what they are doing plus one setting that is above the normal values would not even bloat it. Also we have thermal limit that will kick in that there will be no damage. It would be nice to experiment just a little bit. :P

Ps. Still one helluva kernel. :) Thanks to eng.stk
[OnePlus X Q&A, Help & Troubleshooting] CertifiedBlyndGuy:
Great kernel. I use it on CM 13 with an incredible undervolt. I'd bet I could hit even 2.8ghz easily and stay under stock voltages. Loving it for everything else though.
[OnePlus X Q&A, Help & Troubleshooting] Fatsodonkey:
That is a jesusphone if it can handle those voltages. :) Mine only does 950mv for 2.3ghz.
[OnePlus X Q&A, Help & Troubleshooting] CertifiedBlyndGuy:
Been my daily driver for a week. 729mhz was unstable so I had to raise it to 730mv from 725, but its great. Hence why I'd like more options for frequencies haha. I think I have an insanely high binned chip even though its an AA model. Can't wait to see what frequencies I can hit though.
[OnePlus X Q&A, Help & Troubleshooting] Fatsodonkey:
Im just testing right now my new voltage values.

Now it seems like 930mv is also working for me. Not crashed after 3dmark, asphalt 8 and stability test. :o Also lowered 1900mhz to 915mv.

I think i can crash this with gta san andreas though. :P

E: WTF??? On OOS i could not uv under 950mv, but now i can. No crash and no slowdowns. Actually got a score of 1080 with 3dmark cloudgate. O_O
[OnePlus X Q&A, Help & Troubleshooting] CertifiedBlyndGuy:
925 actually works too, but I had a few bugs. Rule of thumb is generally 10mv above whatever works so I settled with 935. I will test 930 though. Had to raise 1900 to 910. 905 gave me issues in stability testing.
[OnePlus X Q&A, Help & Troubleshooting] maxweber1981:
The Phone is stable at these settings.
[OnePlus X Q&A, Help & Troubleshooting] CertifiedBlyndGuy:
Now try a stress test from the play store. One of them uses root for scaling. Test each frequency for 15 minutes
[OnePlus X Q&A, Help & Troubleshooting] ZackoFF96:
excuse me for being a noob, but, what's the main advantage of undervolting the cpu? is it done to achieve a longer battery life? it does not limit performance right?

i'm a new opx user and just flashed this awesome kernel and i'm interested in boosting performances of this awesome device.

may i have your current cpu volt setup? thanks a lot, sir.
[OnePlus X Q&A, Help & Troubleshooting] Fatsodonkey:
You dont want to use anyones voltage settings. Undervolting is random. Some people get amazing results while someone gets crashing.

Undervolting cpu makes the phone run cooler and will save a bit of battery also.

Less heat also means that the cpu will propably survive a bit longer. Same goes for battery because cpu temps affect the battery too.

You just need to test all the voltages yourself and see what works and what does not.

Always make a backup that if something goes wrong you can always restore the system.

Also if you undervolt dont go complaining to devs about crashing or system lockups.
[OnePlus X Q&A, Help & Troubleshooting] ZackoFF96:
i didn't know if it was going to be this difficult haha. i thought using the same settings should be okay since its a same chipset and all, but i think its worth a shot.

okay then i'll go straight to kernel adiutor and set my own voltages.

another question and sorry if its out of topic, im using twrp 2.8.7.0 at the moment, i can create backup but i can't restore the backup, the error mentions about locked systems or partitions, forgot the exact error code, any ideas?

thanks
[OnePlus X Q&A, Help & Troubleshooting] Fatsodonkey:
Just install the latest bluspark TWRP. It is working fine for me.

You can chmod 755 or 775 the sd card in TWRP it could make things better????

Dont know for sure about that one though.

If i remember correctly you can use the chmod command in TWRP's fike manager.
[OnePlus X Q&A, Help & Troubleshooting] ZackoFF96:
okay i'll try backing up again and then changing my cpu settings.

thanks a lot for your help.
[OnePlus X Q&A, Help & Troubleshooting] anshu goel:
can you please post screens of all the settings you are using in kernel auditor or a walkthrough
[OnePlus X Q&A, Help & Troubleshooting] Fatsodonkey:
You can first try to lower all voltages till the 300mhz is 750mv.

Remember yo make a backup in TWRP before trying.

The thing is that everyone has different performing chip in their phone so you need to test out what works for you. There is no guaranteed uv amount that everyone can get. You can use stability test to test out stability plus few games like gta san andreas and 3dmark.

My voltages are lowered just like i said you to do. So i lowered all my voltages until the lowest clock was 750mv then changed the two lowest clocks to 725mv and the highest clock is now at 935mv. I had some instability with 930mv, but 935mv is working fine for me.

MAKE A BACKUP AND ALSO I TAKE NO RESPONSIBILITY.
[OnePlus X Q&A, Help & Troubleshooting] ZackoFF96:
1. install kernel adiutor and stress test (the one with the root scaling test)

2. open kernel adiutor, and go to cpu voltage

3. start with +20 of my values, as all proc might be different in handling voltages. DO NOT SET APPLY ON BOOT

4. start stress test, choose scaling test, apply for 10 minutes of each frequency.

5. if all cores run fine, decrease -5 with global offset. repeat step 4-5 until my values or lower.

notes :

start changing from the lowest frequency (300 MHz) not the highest (instant reboot)

DO NOT SET APPLY ON BOOT, if the voltage is too low and you set apply on boot, boom! bootloop and you need to go to safe mode or even reinstall rom

DO NOT START FROM MY VALUES, minimum +10 or +20 is recommended to avoid reboot and crashes
[OnePlus X Q&A, Help & Troubleshooting] SlanDev:
By the way, overclocking to 2.55 GHz is now possible with the new Boeffla Kernel.
[OnePlus X Q&A, Help & Troubleshooting] artrokas:
thank you :) makes me more anxious to get the device
[G3 Q&A, Help & Troubleshooting] syndacate2004:
Hello... Does anybody had experience of battery drains caused by

Bluetooth?. If I use my smartband the battery of the phone does not last an entire day. Can you help me?
[G3 Q&A, Help & Troubleshooting] JEGwds:
LG G3 Battery Drain - Android OS

Yes! We have two LG G3 phones and very high battery drain with very slow WiFi has been a problem since early March 2016. Android OS is the indicated culprit. Now testing with Bluetooth off and Wi-Fi speed is back to normal.
[G3 Q&A, Help & Troubleshooting] netmaniack:
It is happening to Me to. On stock 30n and Lineage OS 14.1 battery drain on Bluetooth on is massive. Phone can't last a day and SOT is barely 2h. I'm using it whit Mi Band 1 second version.
[Other Tools & General Discussion] BibPimpin:
hello,i come looking to inquire about how dificult in would be to create a rom, that would boot directly to a browser (prefferably iceweisel) to run a series of html5 based apps my developement team is working on. security would be a massive factor. any developers that might have input please contact me and i can better fill you in on whats happening. :)
[Other Tools & General Discussion] BibPimpin:
side note

the team i mentioned in the original post is very good with java script and the like but actual mobile devices are out of their line of expertise. thank you in advance for any help.
[Other Tools & General Discussion] vfarafonov:
Maybe you should think of creating a Launcher app especially if you want your soft be able to launch on a different devices.
[Android] mohsengiraii:
Hi i want android 5 for huawei g610

Please help me
[Android] Magnum_Enforcer:
This is not a ROM request forum. Please use the search feature to try and locate a ROM for your device.

Thread closed.
[Fire General] KLit75:
ENDING ON SATURDAY THE 13th--Available at BESTBUY AND AMAZON. I just picked one up. ggow is my favourite developer and this was too good to pass up. This makes 3 devices I own that've been freed from the Amazon ecosystem. I passed on this earlier on, but looking at the aosp rom got me excited!
[Fire General] borisevstratov:
F*CK!

Just bought two of them for $50 each!

:'(
[Fire General] dnelson_1901:
The Amazon Deals page says "Ends February 13", so everyone's got lots of time!
[Fire General] twinturbor:
Hop on a support chat with them, if it's within 7 days they will do price difference refund. I felt the same way.
[Fire General] cameljockey1:
I just bought one and i am trying amazon prime now. 2 hour delivery with 10 bucks off first purchase on amazon now app