yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) General] Sean89us:
Thank you [MENTION=3004396]rehpyc[/MENTION] for your awesome guide! I used a slimmed down / altered version of your battery saving guide, and I've gone from 2.5 hours SOT to just over 4 hours! I don't hate my phone anymore!

What I did: STOCK ROM (important! It's the best on battery!)

Install FrankenClark kernel (much better than stock)

Rooted+xposed (for other apps)

Disable everything I don't use (moto voice, etc)

Lower screen resolution to 1080x1920 (this helps a lot)

Greenify (I think this makes the biggest difference) in xposed mode, Greenify EVERYTHING + aggressive doze

Amplify to limit a few wakelocks (nlp and nlp collector)

That's it! I tried underclocking the processor but all it did was slow the phone down, almost no effect on SOT, so I set it back to normal.

I have been getting less than 0.5% standby battery drain per hour, which I think is awesome.

Edit: I also did a "battery calibration" using "Battery Calibration [root]" from the play store, which actually seemed to have helped too.
[X Style (Pure) General] unitz0mbie:
Can I use Naptime instead of powernap
[X Style (Pure) General] tomlemange:
Having a problem where my timers don't wake up the phone. If the timer has expired, next time I unlock the phone, the notification sound will play. Alarms work properly though. Any thoughts on which setting I should change?
[X Style (Pure) General] aybarrap1:
With only two days left on my warranty, I took the plunge and unlocked the bootloader, rooted, and decided to apply the OPs battery management techniques (minus the PowerNap since so many issues was reported with Moto Display which I actually like). I do keep my location and google now running because I actually use these features. I have tasker profiles set up to control brightness/autorotate on certain apps, turn on and off GPS and/or NFC upon launch of specific apps, turn on wifi at select locations, and turn off wifi/mobile data/sync during sleep times. I am using stock rom.

I have missed having root privileges. I forget how convenient it was to have so much control over the functions of my device.

I will report my battery savings difference in a few days once everything has had time to settle.

UPDATE: I have definitely seen better battery life in terms of standby and sleep. I think Greenify had the biggest impact on this, but some can be contributed to amplify. I usually had about 8% drain over a 6 hour sleep period but have been getting about 4% now. SOT is hard to pinpoint as this is dependent on a variety of factors.
[X Style (Pure) General] stej16:
I get 4hr 30 min consistently... I text a lot, browse web a alot (not Chrome, using Via currently) play/stream media mostly- Also use snapchat as my only social media app here n there throughout the day. I think more importantly, I have all moto actions disabled except for moto display- which I have the screen sensors off so it only works when I get a new notification or when I actually pick up the phone only, and NOT my hand waves over the sensors. I'm not sure how many ppl have it like this as I don't read the forums much since I've never rooted, but I was very happy when I figured that out. And I'm always clearing SC's process as it shrinks it to around 50mb from 300+mb. I think that has helped me stay 4+ consistently. I'm just a casual user so not sure if this is what gets me to 4+ consistently as much as it's how I DON'T use my phone. Good luck everyone, I feel getting 4+ hours naturally keeps me holding on to this phone.
[X Style (Pure) General] NahuelMS:
Turning off the front Infrared sensor gives me like 1 hr more Sot, from 4:20 to 5:20. The shame is i like that feature, are you having the same problem? I saw that this affect the awake time from android system with gsam battery.

Also, disabling google play permission like body sensor, cámera, etc, does affect battery life and wakelocks?
[X Style (Pure) General] fortunejr:
Can anyone post up a mirror of rehpyc's scripts?
[X Style (Pure) General] anth0nymDROID:
Thanks for the tipps
[X Style (Pure) General] Aluminium X:
Hey [MENTION=3004396]rehpyc[/MENTION], great guide, mine is working flawlessly with nearly no idle drain.

Just one thing, can you repost your kernel settings? The links you provided seem to be dead.
[One (M7) Q&A, Help & Troubleshooting] MPDi:
Hi all,

first time poster - looonnng time lurker. Hoping you can help me with my One M7 brick.

Phone had been running slow and sluggish for a few weeks. Yesterday morning, it was particularly slow with apps randomly closing/crashing. Decided to reboot. The phone didn't reboot though; it came back with a white screen and "** TAMPERED *** *** LOCKED****" coming up - a fastboot screen I believe.

I can't get it to boot at all and I've tried accessing it via adb but it isn't detected. 'adb devices' shows nothing however 'fastboot devices' does list the phone. Windroid seems to detect it.

Ordinarily, I would just do a factory reset to see if this helps but my problem is this - I have SMS messages and photos/videos on the phone of my daughter that I really, really, really don't want to lose. They are very precious to me. If it was a case of breaking up the phone then I'd do it in a heartbeat to recover this data.

I've attached some images that I hope may help. A friend has mentioned that some of the lines indicate a problem with encryption on the card which means the data is lost completely - I'm desperately hoping this isn't the case and some kind soul can help.

Thanks

[IMG="fastboot"]https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xtp1/v/t1.0-9/s720x720/11222340_10155828947981980_8972379567106624897_n.jpg?oh=8a76abf23133ff8412de2b4a599fef2d&oe=56F95F51[/IMG]

[IMG="recovery"]https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xft1/v/t1.0-9/q81/s720x720/12234872_10155828946856980_7255071348173650608_n.jpg?oh=215a90b2e4a14e3bea3fba4f1141e273&oe=56B275D7[/IMG]

[IMG="logentry1"]https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xfa1/v/t1.0-9/12246871_10155828947711980_6282164747355521163_n.jpg?oh=06becf5768ec144fe13451f3fef3ab58&oe=56B81A35[/IMG]

[IMG="logentry2"]https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xlp1/v/t1.0-9/s720x720/11933445_10155828947346980_3764975417821952144_n.jpg?oh=ac7816938959ca36a677acf6a4a96864&oe=56ED9412[/IMG]

[IMG="logentry3"]https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xpt1/v/t1.0-9/s720x720/12241264_10155828947116980_4255221592905773636_n.jpg?oh=b1bf6c08980b69a85d8726879d0e1c7b&oe=56F4D0EB[/IMG]
[One (M7) Q&A, Help & Troubleshooting] namal.007:
need help to flash factory ruu zip

recently i installed recovery and accidentally deleted system partition..then it wont boot up..

OS- 7. 21 .980. 35

hboot -1.61

can not s-off

mid-PN0714000

cid- HTC__039

there are no ruu zip matches i found..

can anyone suggest me something to back to normal.. thanks..
[One (M7) Q&A, Help & Troubleshooting] alray:
flash the 7.19.980.5 RUU, see post #2 of this thread: http://xdaforums.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944

---------- Post added at 09:24 AM ---------- Previous post was at 09:20 AM ----------

If the phone was encrypted then the only way to recover the phone is a factory reset using the stock recovery which will obviously delete all your files. Any other method that could fix the phone will wipe it: unlock the bootloader to flash a new rom will wipe the phone, flashing a ruu will also wipe it. Thats probably either an encryption problem or a failed emmc chip. I don't think there anything to do to recover your data, especially if the phone was encrypted. Sorry :( at least the phone might be recoverable...
[One (M7) Q&A, Help & Troubleshooting] MPDi:
Well, after asking a company who said they could do it and then said they'd have to wipe it, I've taken it back.

It seems there's nothing I can do about it; I've even tried using guides on here and elsewhere to return it completely to stock but because I can't get adb working, it's a no go. Factory reset does nothing. Trying to use tools and fastboot to change recovery images and all sorts doesn't work either. Seems to be something relating to 'S-ON' as when it's in RUU boot, if I disconnect and reconnect the USB cable, the screen briefly changes from the HTC screen to the white screen showing "Security Failed!" after trying to flash a new image on.

At a bit of a loss!
[One (M7) Q&A, Help & Troubleshooting] alray:
adb commands only works from a booted rom + USB debugging enabled from the developer option menu or from a custom recovery. So there is no problem here.

What is it doing exactly? You select "factory reset and it boot to the HTC splash sceen? It reboot in bootloader mode? It freeze the phone?

Again you need to be more precise, what doesn't work exactly? There is no fastboot connectivity or there is but the recovery won't flash? Did you unlocked the bootloader?

No, Its not related to S-ON.

What image exactly and how did you tried to flash it?
[One (M7) Q&A, Help & Troubleshooting] MPDi:
I've taken it back to another shop this morning to have it reset/flashed back to stock. Will just have to try data recovery once I've got it back and see if I can recover anything.
[8125, K-JAM, P4300, MDA Vario ROM Development] boy_de_ghet:
See Pic :

Info :

- ArcSoft MMS 4.2.8.1 (New version, SMS/MMS accounts splitted)

- PP = 4MB

OEM :

Microsoft Office Mobile 2007 (Word, Excel, PP, OneNote)

- HTC CommManager Touch with 10Button.

- BT FTP v1.2 B30214

- HTC Audio Manager v1.02 B614.712

- HTC Audio Manager Today Plugin v1.0 B227714

- HTC Touch UI HOME v1.5 B620.722

- X-Button (last version)

- NetWizard v1.0 B29982

- MMS 4_0_31_23 (Can use 4.2.8.1 in OEM)

- Voice Speed Dialer v1.2 B070612

- Windows Live 10.6.0028.1100

- SIM Manager 6.18

- Smartkey

- Total Commander 2.5B3

- Advanced Config Tool 1.0 (New)

- TaskManager 2.8 with ShortCut Registry Editor.

- Hibernate 1.4

- Eye on Privacy 0.61 (Password default 1234, good soft)

- Network Plugin for File Explorer 1.0.29714. (In Control Panel)

- SMS Service (In ControlPanel)

- WM5torage 1.75 (In ControlPanel).

- Omap Clock Plus 0.4 (In ControlPanel).

- BioTouch Settings 1.2 (New version, can change Weather on HomePlugin).

- Ermestec Java (last version)

- Remote Desktop Mobile

- Internet Sharing

- Modem Link

- SymbolPad 1.0.24876

- SoftKey 112 asign to TouchFlo (Can change to other shortcut)

- Fixed SMSDrFix.exe

- Keyboard set Locale 0409

- WMP with TouchSkin default.

- Other bugs fixed …………………..

........................................................................................

thanks to dOUbleOfour.

Link KitChenROM : http://rapidshare.com/files/50778855/KitChenROM_6.0.0.0_OCTAIVOI_5.2.1620B18124.0.4.2.rar

My Link : http://rapidshare.com/users/TVZFE6
[8125, K-JAM, P4300, MDA Vario ROM Development] grinminded:
thank u thank u! ur the best!;)
[8125, K-JAM, P4300, MDA Vario ROM Development] nothin:
we will see, won't we...?
[8125, K-JAM, P4300, MDA Vario ROM Development] mikaarce:
any specs for this build and kitchen, while we are waiting
[8125, K-JAM, P4300, MDA Vario ROM Development] boy_de_ghet:
Link the first port.
[8125, K-JAM, P4300, MDA Vario ROM Development] Rhapsody:
Can you provide some more details Boy_de_ghet?

What is included? (touch-flo? HTC X button? etc) Or did I miss a thread somewhere :)

Can somebody provide a mirror? It seems like I'm already at my limit at Rapidshare after downloading HyperCore...
[8125, K-JAM, P4300, MDA Vario ROM Development] famewolf:
Just wanted to get clarification..the "modem link" included is the ir/usb one and not the hacked bluetooth dun?

Thanks!
[8125, K-JAM, P4300, MDA Vario ROM Development] cnghaha:
very good, thank you.

I have downloaded and am testing now...
[8125, K-JAM, P4300, MDA Vario ROM Development] acubens:
How to remove Touchflo and finger scrolling from the kitchen?

Hi, great job on the port and thanks for sharing this with us:) , i like the rom but not tochflow, can you tell me how to remove touchflow from the kitchen.

i think many of us like to do that.

thanks in advance

Have a nice weekend all.:)
[8125, K-JAM, P4300, MDA Vario ROM Development] zoki:
I hope this kitchen doesn't have bugs like you're rom, witch showing wrong time/date and 3G in commmanager. To be honest, I'm not sure is this true porting of 5.2.1620 at all.
[8125, K-JAM, P4300, MDA Vario ROM Development] boy_de_ghet:
Can you try it, If you don't belived then don't care, no problem.

- What's wrong time/date ?

- 3G in Commanger that compalitie with Advanced Config Tool.

- This KitChenROM base ROM Chinese 5.2.1620.

- So today, i'm repaired KitchenROM and replaced it with all module 1260.
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
itsn't true porting, i checked all modules and found exactly same as 1437 bugs.

i'm working on porting a true one but really i have some problems with XIP, but all the dll's and modules are ready, this time i will never stop till have a true porting
[8125, K-JAM, P4300, MDA Vario ROM Development] email123:
I'm sure it's ported from newest herme rom(including xip) and oem driver from whiterat's rebased modules,only luanguage folder from Windows Mobile 6 Professional Images (CHS) SDK.
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
thats for 1437 build not this one bro
[8125, K-JAM, P4300, MDA Vario ROM Development] boy_de_ghet:
OS 5.2.1620 (B181250.4.2)

New XIP : Work for me

http://rapidshare.com/files/51129362/XIP.rar

New SYS : Work for me

http://rapidshare.com/files/51133642/SYS.rar

I'm testing new OEM_Driver, if it work, then upload later.
[8125, K-JAM, P4300, MDA Vario ROM Development] jruser:
Whenever you get the new OEM_Drivers will you upload the entire fixed kitchen in one file on the first post?

Thanks
[G 2014 Q&A, Help & Troubleshooting] cuzzo94:
Hi, i need to buy an sd card for my Moto g 2014 (32 GB should be ok) but I don't know which one I should buy.

I was thinking about an sdhc uhs-I U3, but I have 2 questions:

-does the Moto g support this kind of sd card?

-would the difference between u3 and u1 be noticeable in this phone ( considering that with marshmallow I will use it as an extension of the internal storage) or I should save some money and go for an u1 one?

Thank you :)

Edit:maybe I should have posted in q&a, sorry.
[G 2014 Q&A, Help & Troubleshooting] kunal00700:
Go for Samsung evo+ [MENTION=282156]700[/MENTION] on flipkart

U3 gives more speed than u1

But it is hardly noticeable in moto g 2014
[G 2014 Q&A, Help & Troubleshooting] cuzzo94:
Can you confirm that Moto g2 is compatible with it?
[Zuk Z1 Q&A, Help & Troubleshooting] EggZenBeanz:
hi,

trying to flash the breadcrust recovery using my linux pc, but the Z1 doesn't appear in the list of devices when running adb devices. Image attached. Normally I would get a request to accept the RSA key for a trusted pc when enabling usb debug. But I don't get this option.

- Adb tools are loaded and working on my linux laptop

- My nexus 7 responds to ADB devices and shows up ok

- tried on wifes windows laptop with adb/sdk tools loaded and no joy there too

- i have developer USB debug options enabled, i've tripple checked this

could it be the cable? I'm using the one which came with the phone, so that should be ok?!!

cheers

SOLUTION - I ran this One Plus Two script modified with the Z1 device ID and now I can see my device in adb devices and interact with it. I get the SHA screen to allow access and can run commands from linux terminal. YAY!

See the attachments for script.
[Zuk Z1 Q&A, Help & Troubleshooting] lurchi17:
I think it´s a driver fault. Did u install them in windows?
[Zuk Z1 Q&A, Help & Troubleshooting] EggZenBeanz:
im using linux, i dont get any rsa pop up confirmation either!
[Zuk Z1 Q&A, Help & Troubleshooting] drtarga:
and that was the reason, why i installed windows last night. as long you dont get rsa pop up, the device will not listed (i think so)
[Zuk Z1 Q&A, Help & Troubleshooting] lurchi17:
But u said, that u tried ur wifes Windows notebook. Did u install the drivers there?
[Zuk Z1 Q&A, Help & Troubleshooting] MKKLR21:
ADB doesn't work for me, too. I work around this problem by booting into recovery (simultaneously press Vol+ and Vol- and Power until phone vibrates) and choose "Boot to bootloader" from there. After rooting I installed "Power Toggles" from Play Store and use the toggle to reboot to recovery or bootloader.

By the way, when I boot into recovery, I'm able to ADB sideload. So I don't think there's a driver issue.
[Zuk Z1 Q&A, Help & Troubleshooting] EggZenBeanz:
Good tip - I'll give it a go.

My nexus 7 works as expected on all PCs and laptops Linux/windows so it must be the phone
[Zuk Z1 Q&A, Help & Troubleshooting] Klanac89:
Maybe sudo or check this:

http://1.bp.blogspot.com/-rDdBnJTh870/U-hxVzxMf3I/AAAAAAAAKwQ/WrZkaMjaReo/s1600/Unlock-Bootloader-linux-terminal-xperia-z.png[img/]

Source: [url]http://linuxwelt.blogspot.de/2014/08/cyanogenmod-unter-linux-installieren.html[/url]
[Zuk Z1 Q&A, Help & Troubleshooting] EggZenBeanz:
ok some progress.....

got the trusted device RSA screen to appear on my wifes windows pc. i could then run adb devices and see the device.

I could run adb reboot bootloader, but the device doesn't boot into fastboot, just reboots as normal!

I could also hold down up/down volume buttons and get into the bootloader, but again the device isn't picked by any fastboot oem checks for unlocking!!

arrrgh!!!
[Zuk Z1 Q&A, Help & Troubleshooting] MKKLR21:
You'll have to add -i switch followed by the device ID to your fastboot command. I don't have it at hand, so just read the TWRP thread.
[Zuk Z1 Q&A, Help & Troubleshooting] EggZenBeanz:
ok! Some progress...ish.

running "adb reboot bootloader"command in windows worked when I switched Cyanogen recovery updates off in developer options. The Z1 reboots into bootloader.

Running "fastboot -i 0x2b4c oem get-device-info" returns nothing just "....."

So I tried "fastboot -i 0x2b4c oem unlock" an error returns cannot unlock use command "fastboot -i 0x2b4c oem unlock-go" which works. The phone wipes data and reboots back into OS.

I re-enable the developer options and adb debug. and reboot into bootloader

Run "fastboot -i 0x2b4c flash recovery z1.twrp.2.8.7.0.By.Breadcrust-UPDATE3.img" - some time stats are retunred and OKAY message. But when I boot into recovery it's still the cyanogen stock recovery. not TWRP.

weird!
[Zuk Z1 Q&A, Help & Troubleshooting] othe01:
Your commands are simply wrong, thats why they don´t work.

It is:

fastboot -i 0x2b4c oem device-info

fastboot -i 0x2b4c oem unlock-go

Flashing does NOT work on the international version, you have to boot into it directly from fastboot.

fastboot -i 0x2b4c boot z1.twrp.2.8.7.0.By.Breadcrust-UPDATE3.img

Should be correct instead of the flash command.
[Zuk Z1 Q&A, Help & Troubleshooting] johnyboo:
What made the change? I was able to see the RSA screen only once, but after device restored to defaults I can't get it back. same drivers installed, and it appears in the device manager.
[Zuk Z1 Q&A, Help & Troubleshooting] EggZenBeanz:
I honestly don't know, it just worked after many attempts. I read somewhere about USB 3 ports with Linux so might be the same for windows?
[Zuk Z1 Q&A, Help & Troubleshooting] MrColdbird:
It's an USB 3.0 issue. Plug the phone into an USB 2.0 port, or an USB 2.0 hub plugged into an USB 3.0 port and it will magically start working. God knows why this is the case...

Ironically, fastboot works fine even on USB 3.0...
[Zuk Z1 Q&A, Help & Troubleshooting] Planet X:
For to be able to boot (not flash) the TWRP recovery you shouldn't need to unlock bootloader. Am I right?
[Zuk Z1 Q&A, Help & Troubleshooting] MrColdbird:
Booting should work.

At least it worked fine on other fastboot capable devices I've had in the past.
[Zuk Z1 Q&A, Help & Troubleshooting] Planet X:
Okay, I have found out that it is impossible to boot from TWRP as log as the bootloader is locked. It just took me 2 hours to setup my phone again after unlock.
[Zuk Z1 Q&A, Help & Troubleshooting] Droid_Nut:
Have a look at this thread, I am going to give it a try later.

http://xdaforums.com/showthread.php?t=2408802
[Zuk Z1 Q&A, Help & Troubleshooting] crian:
This did the trick on Linux (Ubuntu):

- run on terminal "sudo gedit ~/.android/adb_usb.ini"

- put "0x2b4c" in

- run on terminal "adb kill-server" and "adb start-server"

And run the fastboot commands with "sudo".
[Zuk Z1 Q&A, Help & Troubleshooting] luiseteyo:
For those having adb problem in windows 10: this morning, a spanish user, Pts1897 posted in htcmania.com, the spanish forum, a way he found to be working in windows 10 to make your PC recognize our z1 in adb mode. I only translate his words:

1. Go to control panel / Hardware and Sound / Device Manager.

2. Go to Universal serial bus controllers and find your phone (I do it by unplugging and plugging the phone back to the PC).

3. Right click on the device and go to "Properties".

4. Go to "Details" tab and find Hardware Id. You will find something like:

USB\VID_24BC&PID_1005&REV_0232

5. We will only need what is between "VID_" and the first "&". In this case, it would be "24BC". Copy it.

6. After that, paste the copied text (check the number in bold) in a new notepad document this way:

# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.

0x[B]24BC[/B]

7. Then, save the notepad document as adb_usb.ini in Windows (C:) / Users / YOURNAME / .android.

I didn't test it yet, but today I will. All the credits are for him, and not for me.

I really hope it helps,

Cheers
[Zuk Z1 Q&A, Help & Troubleshooting] djibux:
Worked for me, thanks. sudo is not needed though.

---------- Post added at 12:34 PM ---------- Previous post was at 12:13 PM ----------

Actually, creating an udev rule seems to be the right way to do it :)
[Zuk Z1 Q&A, Help & Troubleshooting] Dagon84:
worked for me also.

I'm unable to see the device as MEDIA DEVICE (MTP) AND MASS storage (UMS).

PTP works fine.

any solution?
[Zuk Z1 Q&A, Help & Troubleshooting] Teckler:
Hello

one solution could be to check the USB cable !

I had same problem with failing MTP driver at the original new ZUK USB Cable

My solution was an little micro-USB to USB-C Adapter and an old Samsung USB cable...... it works fine an stable

sorry for my poor english

i spend much time the last Days in this problem

It could be you must delete the wrong ZUK Z1 USB-Device in the device manager before

Greetings from South-Germany
[Zuk Z1 Q&A, Help & Troubleshooting] gerstavros:
thank you, that was the only way to manage connect to adb. of course that works on windows too, just search for the adb_usb.ini file to youruser\appdata maybe, i m not using win now to check that but i ve done that a long ago for other phone
[Zuk Z1 Q&A, Help & Troubleshooting] EggZenBeanz:
hello,

I've finally got the Z1 to be visible in my linux machine on USB2 port NOT USB3 by using a One Plus Two modified script. I can now see my device on ubuntu machine as normal. yay!
[Zuk Z1 Q&A, Help & Troubleshooting] juzz86:
I would like to confirm that this works.

I bought a Z1 from eBay that shipped with a 0.9 version of ZUI onboard.

After using an older QDM file to update it to 1.0 through the Lenovo Recovery/SDFUSE method, and then subsequently updating to 1.2 and now 1.5 (Marshmallow) via OTAs (the 0.9 one won't update OTA), the above steps got my device recognised on Windows 10 over USB 3.0, and at least allowed me to boot to Fastboot.

Trying bootloader unlock/TWRP now.
[Zuk Z1 Q&A, Help & Troubleshooting] luiseteyo:
Happy to hear that! ;)
[Zuk Z1 Q&A, Help & Troubleshooting] kcalb.kcrad:
It worked!!!

Great work arounnd, it worked for me!!!:o:)