yashsingh1/xdaforums huggingface dataset:
[Moto X Q&A] gangrif:
SO, i have a 1st gen Moto X, the 2013 model. Verizon if that matters.

I havent used it in a while, and it was working when i replaced it. I decided to tinker with it a bit a few months ago, and was trying an unlock method i found online, and appear to have bricked it in the process. I figured, no big deal, and tossed it in a cabinet and figured i'd come back to it later. Well now is later. I'd like to get the thing working so my daughter might be able to play with it.

It wont power on, if you connect it to power, either USB or a wall plug, it does nothing, no charging indicator, nothing. I cant power it on, cant fastboot, cant get to recovery, nothing.

In my attempts to restore it, i've got the moto drivers and whatnot installed, and my Windows laptop will recognise it and add it to device manager, as "Qualcomm HS-USB QDLoader 9008 (COMx)". Which makes be believe there is hope.

I tried the procedure here: https://xdaforums.com/moto-x/general/how-to-resurrecting-bricked-moto-x-t2629057, with no success, i get an error while it's trying to get an handshake from the device.

C:\Users\war\Desktop\MotoX Recovery\blankflash\blankflash>qflash -com7 -ramload MPRG8960.hex -mbn 33 MSM8960_bootloader_singleimage.bin -v -o
Motorola qflash Utility version 1.3
COMPORT :COM7
RAMLOADER :MPRG8960.hex
type is 0x21
7 mbn file name MSM8960_bootloader_singleimage.bin type 33
verbose mode on
Motorola qflash dll version 1.6
RAMLOADER VERSION: PBL_DloadVER2.0
------------------------------------------------------
DEVICE INFORMATION:
------------------------------------------------------
Version : 0x8
Min Version : 0x1
Max Write Size: 0x600
Model : 0x90
Device Size : 0
Description : Intel 28F400BX-TL or Intel 28F400BV-TL
------------------------------------------------------
Using passed in packet size, changing from 0x600 -> 0x600
EXTENDED_LINEAR_ADDRESS_REC @ 0x2a000000

Write 65536 bytes @ 0x2a000000
100EXTENDED_LINEAR_ADDRESS_REC @ 0x2a010000

Write 11840 bytes @ 0x2a010000
100START_LINEAR_ADDRESS_REC @ 0x2a000000
EOF_REC
Sleeping for 3s
No data read from USB. This may not be an error. Trying again...
No data read from USB. This may not be an error. Trying again...
No data read from USB. This may not be an error. Trying again...
No data read from USB. This may not be an error. Trying again...
No data read from USB. This may not be an error. Trying again...
Still no data, giving up!
sdl_hello() - Failed to receive ACK
sdl_hello() - Invalid response: 7e030003331b7e
sdl_hello() - This is a NAK response from ROM code, which means the device has been reset back to blank flash mode. Usually this is caused by power supply issues. Please try again with battery eliminator if it persists

I've had no luck finding a way around that.

If i hold the power button for 10 seconds, while plugged into my PC's usb port, the green indicator light behind the speaker lights up for a second, and then goes out. Same deal if I try to do power+vol-up or vol-down.

Any suggestion that might help me move this along? If i can get it to fastboot, or a recovery image, I think I can get it from there.

Thanks!
[Moto X Q&A] s5610:
That's obsolete, and won't work for your lastest bootloader. See next thread. And don't flash Moto at random next time)
[Moto X Q&A] gangrif:
Thanks for the response. I'll give that thread a look!
[Android Q&A, Help & Troubleshooting] Deleted member 7378898:
Deleted
[Tilt, TyTN II, MDA Vario III General] chrisnash:
This is one I havent encountered before but apologies if its been reported already. I couldnt find an obvious thread.

I have noticed recently that my Kaiser is not keeping time - quite dramatically so!

When I turn my device on from standby, the clock is often 20, 30 mins or even hours behind.

I have tweaked the hell out of it recently so I am quite sure it is related to something ive done as it hasnt happened on previous builds.

I am using synchrotime almost everytime i turn it on just to make sure the clock is right (hope this doesnt clock up too much data :-( ).

Anyway just wondered if anyone else had come across this?
[Tilt, TyTN II, MDA Vario III General] RemE:
Try turning the auto time setting in the phone settings to OFF, early on we found this to cause random time problems as well as causing active sync to run all the time.
[Tilt, TyTN II, MDA Vario III General] chrisnash:
Thanks. I'll give it a go.
[Tilt, TyTN II, MDA Vario III General] warmkiwi99:
Mine did that last night - 40 minutes slow. Never had that problem since i first got it a couple of months ago. Once it got coverage again, it syn'd back up.
[Tilt, TyTN II, MDA Vario III General] KyleK29:
Did that fix your issue?

I've got another interesting one. My clocks are right, but my text-messages show as an hour ahead (received one at 3pm PST and it shows as 4pm PST in the list). I do have the 2007DST patch from Microsoft and everything else is configured right. Is there another setting somewhere for txt-msgs?
[Tilt, TyTN II, MDA Vario III General] NguyenHuu:
this happens for me too. i dont no what is causing the delay. when i have my phone on device lock, whatever time it was when i locked it, it stays like that until i unlock. i noticed it recently, almost missed an appointment because of it!

tried turning off that auto time thing that dont have any effect.
[Tilt, TyTN II, MDA Vario III General] chrisnash:
worked perfectly thanks
[Xperia Z2 Q&A, Help & Troubleshooting] yenero:
I'm using existenz and XPERIA XZ StereoMod V23 MM mod. ( https://xdaforums.com/crossdevice-dev/sony/ths-dontbelive-marshmallow-stereomod-v1-t3366065 ) I did not backup anything. I want to remove this sound mod. I know there is no uninstaller. If i re-flash existenz rom via recovery (delete data, dalvik, cache), will my sound mod removed? Or is there any stock sound files for z2 6503?
[Xperia Z2 Q&A, Help & Troubleshooting] Knutselmaaster:
Yes, if you reflash the rom, the mod will be gone.

You could even try doing it without deleting data, it might be enough to just flash with clearing the cache and dalvik. You can always do it again, including the wipe data, if it doesn't work well. (although the method including the wipe data is always the best way to flash a rom)
[Xiaomi Mi MIX  Questions & Answers] loudog3114:
Well?
[Sony Xperia M] petjacz:
Hello, please write here your experience with custom kernel (ElixER, SmartDeviL etc.) for Xperia M Dual C2004/C2005 if possible with the same configuration like me: JB 4.3 build 15.5.A.1.5 and recovery PhilZ Touch 6.50.6 [Nicki] [CWM 6.0.5.0 Advanced Edition]. Thank you!
[Xiaomi Mi 5 Questions & Answers] Silv3r79:
At this time, What you recommend? the mi5 3gb 32gb or the zuk z2 4gb 64gb, i dont care about the money difference
[Xiaomi Mi 5 Questions & Answers] memorec:
Buy OP3 or OP3T

Odoslané z MI 5 pomocou Tapatalku
[Xiaomi Mi 5 Questions & Answers] achickennugget:
Yup, would recommend you getting the OP3T too. If the price is too high, OP3 or Mi 5 is a good deal!
[Xiaomi Mi 5 Questions & Answers] AaronWhiting:
OP3 is excellent device, but it wasn't part of the OP's question.

MI5 is the better device, but MIUI is bad news, so make sure you're comfortable with the steps required to put a custom ROM on it before purchase.

I don't know about Lenovo's implementation of Android.
[OnePlus 2 Android Development] anupritaisno1:
PS: The anime character "Haruhi Suzumiya" is copyright of its owner

PS: arise fix

Open up a file manager and go to the root folder. You need to have SuperSU installed for this

You'll see a folder called su, go to /su/su.d

In this folder create a text file, label it as "permissive.sh" and put the following code in

supolicy --live "permissive *"

Then save the file and go to recovery and flash arise and Dolby Atmos addons again and then reboot

It should now work

Stop reading my bs! Here's the download link

https://srv1.botstack.host:8000/oneplus/op2/custom-kernel-for-haruhios-v3.8-STABLE.zip

Or

http://srv1.botstack.host:9000/oneplus/op2/custom-kernel-for-haruhios-v3.8-STABLE.zip

This is a project that started as a kernel for my ROM and that is what it's going to be

It can be flashed on other ROMs too and I will gladly provide support however I can't guarantee results

Do note that this is a "secure" kernel. It has many of the security patches merged from CAF and selinux enforcing is forced with no way to go to permissive

What about v4a?

Get SuperSU and input these lines in a terminal

supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };
allow audioserver audioserver_tmpfs:file { read write execute };"

Wait for a few seconds, swipe away v4a from the recent apps list and launch it again. It should now work

Why isn't a thermal throttling tweak included inside this kernel?

Well in my usage the kernel is so fast that thermal throttling modifications are not needed. You can apply if you want

Currently known bugs?

Nothing

OMG you're copying boeffla!

Relax. I used boeffla's anykernel base as I was in a hurry and didn't have time to make my own zip. Also, boeffla's anykernel zip is one of the best around trust me

What are the features?

Too lazy to write, check back here in a few days but there are quite a lot of features you're gonna like

I'm a nerd, I support the GPL, I'm gonna take you down because you didn't release the source code and neither did you tell me whose toolchain you used!

Bro you need to take it easy

Toolchain: https://bitbucket.org/mdalexca/aarch64-linux-android-6.x

Kernel source: https://github.com/anupritaisno1/android_kernel_oneplus_msm8994_custom
[OnePlus 2 Android Development] NeoVsk:
I'll try it when there is ROM with new security patch. Looking forward to it!
[OnePlus 2 Android Development] anupritaisno1:
I don't care about other ROMs but I'm actively adding security patches into my kernel's source so relax
[OnePlus 2 Android Development] chxei:
uuu, every time i see new thread, and especialy new kernel i'm goign crazy excited :eek: thanks and good luck!

btw, so this kernel is same that comes with halogenos?
[OnePlus 2 Android Development] anupritaisno1:
Not at all
[OnePlus 2 Android Development] NeoVsk:
Anyone else having slow charging speeds with this kernel? Usually I get around 1.9A, here I only get around 0.5A
[OnePlus 2 Android Development] anupritaisno1:
Known issue
[OnePlus 2 Android Development] NeoVsk:
Could you include fast charge in following builds?
[OnePlus 2 Android Development] anupritaisno1:
That was my mistake. I forked fast charging from halogenos without realizing that it never worked

This is something I sadly can't fix. You'll have to wait for halogenos devs to update this
[OnePlus 2 Android Development] anupritaisno1:
Fast charge coming in next build like....

Camera bug fixed!

I don't usually gamble but when I do I buy note7
[OnePlus 2 Android Development] xarisCY:
May we have two versions? A reverted version for the camera and the current one...? Some ROMs are behind and are not working properly with the new commits about camera. Sorry if I am saying something wrong. I am a noob on these
[OnePlus 2 Android Development] anupritaisno1:
If you start the camera, my kernel fails to turn it off so the camera will be unavailable for use after the first time you use it and you'll have to reboot

I'm working on fixing this bug. Why are you interested in this bug?
[OnePlus 2 Android Development] xarisCY:
Sorry, my mistake. I though was something different.. Sorry
[OnePlus 2 Android Development] peluillo:
Where can i download naruhi ROM?
[OnePlus 2 Android Development] anupritaisno1:
Kernel has been updated

All known bugs squashed!
[OnePlus 2 Android Development] FPSUsername:
Seems cool but an enforcing only kernel has its downside for me. I'm not sure if arise works with an enforcing kernel, would love to see a permissive version as well.
[OnePlus 2 Android Development] NeoVsk:
Great job! But I'm still getting only about 700mA when charging :(
[OnePlus 2 Android Development] playkish:
Although the Kernel make the ROM very smooth but it's not battery friendly.
[OnePlus 2 Android Development] anupritaisno1:
On my phone I can't find a difference between my kernel and stock

Also this is a cm kernel. Expect some general battery drain

That being said, I've really worked hard on wakelocks and doze
[OnePlus 2 Android Development] abhijeet715:
Hi got your quote on bens kernel page [MENTION=5842226]anupritaisno1[/MENTION], could you explain me more about this kernel. I guess it will break the focus of my camera due to some new commits, etc as bens kernel v5 had done the same to me. Also, as im using bens RR Rom, will this have any bugs or side affects with that rom (i had flashed boeffla kernel and had to face a lot of problems on his rom such as the xposed modules becoming inactive or not performing after some time, etc.) and last main thing, idle battery drain :D
[OnePlus 2 Android Development] anupritaisno1:
Re-read. That bug was fixed yesterday
[OnePlus 2 Android Development] anupritaisno1:
Btw don't be expecting support from me if you're on RR, the entire code is full of bugs and most likely any bug you face has more to do with the ROM than with what you're flashing
[OnePlus 2 Android Development] abhijeet715:
Yes i read. Was just confused whether it was fixed or not... Ty for clearing :)

---------- Post added at 09:25 AM ---------- Previous post was at 09:22 AM ----------

I know rr has a lot of bugs. Cant find any good rom to flash, i wanna be on mm just coz of xposed, and thanks to my exams that i dont get time for flashing and stuff :( also, theres no good rom that i know i can flash, and i dont wanna do trial and error testing for any rom as it requires clean wipe and all that **** to be done. RR has lots of bugs, specially the soft reboots that happen whenever i need my phone urgently, and it also soft reboots after i have missed an incoming call.. do you know about any other good mm rom to which i can switch easily without wiping the data partition. I was literally screwed when my phone was in a bootloop and i had to make a twrp and then clean flash the rom and extract the twrp to restore it...
[OnePlus 2 Android Development] FPSUsername:
Nice kernel, good audio performance using bluactive. Tripndroid io doesn't stick and I would like to see these in your kernel:

Maple io

Westwood+ tcp algorithm

Gpu uc/oc, 27mhz and 650mhz

Lets see how well the battery is, the permissive trick works, but system settings still reports enforcing. Is this normal?
[OnePlus 2 Android Development] anupritaisno1:
Yes it's normal for system to say enforcing

Tripndroid is broken. Working on fixing it

GPU OC, it's there and enabled by default

Underclocking is present in the source code but for some reason kernel adiutor or exkm doesn't want to show it. Play around with the adreno idler to confirm that it really works
[OnePlus 2 Android Development] FPSUsername:
Kernel adiutor reports 180 to 630 mhz :/

Weirdly in the graph it does show 27mhz when idling
[OnePlus 2 Android Development] anupritaisno1:
You know, there's actually something I want you to test

I learnt most of my development from Sony devs. When it comes to good kernel development, you definitely can't go wrong with Sony

Anyways these devs also develop audio mods like project meli and xtrememusic and these devs suggest a weird fauxsound + high performance audio tweak. They set the headphone gain to minimum and set the headphone poweramp gain to maximum

Can you try it? Let me know if it actually does improve quality

Just a side note, headphone poweramp gain can only be adjusted while music is playing and resets to default values immediately after the music stops playing, so I advise changing these values while you're playing music
[OnePlus 2 Android Development] FPSUsername:
Camera focus doesn't work. Ill try that one in a bit

About the poweramp gain, I don't use poweramp itself and it sounds worse when I do that trick. The sound is noticingly shifting from left to right. Very unpleasant to listen to.
[OnePlus 2 Android Development] StarSix01:
for me it helped to install this camera, now the focus is working fine http://www.apkmirror.com/apk/oneplu...-0-release/camera-1-4-0-android-apk-download/ hope its gonna help you too
[OnePlus 2 Android Development] FPSUsername:
app crashes on startup and I use snapchat as well, so it's a no go for me. Waiting for xposed to update to android n
[OnePlus 2 Android Development] anupritaisno1:
Link has been changed. I'm testing the new version and you'll get an update very soon
[OnePlus 2 Android Development] FPSUsername:
Can you make a version with the old camera blobs? (useful for android 6.0.1 roms)
[OnePlus 2 Android Development] anupritaisno1:
Will see
[OnePlus 2 Android Development] chxei:
voltage control doesn't work or it is only for me?
[OnePlus 2 Android Development] FPSUsername:
It's nice to see what voltages work on what speeds, this way you know that you can oc your cores without needing more voltage, I don't think undervolting will do much here though
[OnePlus 2 Android Development] anupritaisno1:
Hardware limitation

It's a work-in-progress

GPU voltages may come soon too
[OnePlus 2 Android Development] benschhold:
there is no voltage control, its only showing the current voltage

if you edit it, it does nothing

and this kernel is not compiled with ofast, its os
[OnePlus 2 Android Development] anupritaisno1:
Looking into how the guys on Samsung and oneplus one (boeffla) did it to achieve voltage control

What makes you think it's -Os?
[OnePlus 2 Android Development] benschhold:
i had tested the "real" voltage control, if you want i can give you the commits but its not working well cause voltage on modern arm64 cpus are floating applied

you can undervolt the voltages in your kernel but not on the go

ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS	+= -Os $(call cc-disable-warning,maybe-uninitialized,)
else
KBUILD_CFLAGS	+= -Ofast $(call cc-disable-warning,maybe-uninitialized,)
endif

CONFIG_CC_OPTIMIZE_FOR_SIZE is defined so you are using the first flag

if you delete that in your defconfig you are using second flag

my kernels didnt boot with higher optimizations than o2/os

i think because of the qcacld drivers
[OnePlus 2 Android Development] anupritaisno1:
Well just going to remove the -Ofast in the title

Maybe it could be possible to apply -Os specifically to qcacld
[OnePlus 2 Android Development] SynisterWolf:
Thread closed at OP request.

If you would like for this thread to be re-opened please report the OP and we will take care of it.

Thanks

Wolf
[LeEco Le Max 2 Questions & Answers] nelnel002:
Hi guys, I would like to know what are the stables cm roms to this device, I tried 2 and I had same bugs. Thank you in advance
[LeEco Le Max 2 Questions & Answers] rxracer7:
For me the most stable and functional CM ROM is the 'CM13 LeMaX 2 TeaMSpaiN RevolutioN' ROM. I've been using it since Xmas day with zero issues so far. There's also the 'Unofficial LineageOS' (CM14.1) ROM in mid development. I'm just about to try it. According to the OP everything works except for IR and the camera. No camera is a big problem, so I'm on the TeaMSpaiN ROM until they (hopefully) sort it. There's the 'CM13 MaX2 S19 UmBreLLaTeaM SpaiNTeaM' ROM. Slow motion issues and no IR. There was also one other CM13 I saw in the ROMS section. It was unnamed. I never checked it out.

The TeaMSpaiN RevolutioN ROM is likely the best atm. It benched just over 144k in AnTuTu, and it's stable. Not one FC for me so far. I haven't got into Xposed with it yet or tried tons of apps, so I'm sure there's some bugs. For general use though, I see no point switching unless they get the camera working in the 7.1.1 build. Hope that helps.
[LeEco Le Max 2 Questions & Answers] nelnel002:
Well I'll give a try. and I used Xposed on other cm based room and I had the 7.0 features and works very well.

That's true the cm14 based ROM without came it's a big bug. I'm going to wait, I have other devices to.

Axon 7, Xiaomi mi5s plus 6gb and LeEco le 2 pro ;)
[LeEco Le Max 2 Questions & Answers] lukam01:
I think mokee is the best cm rom avaliable for this device
[LeEco Le Max 2 Questions & Answers] Personmans:
Just to let you know, the LinageOS build did not work for me last night. It sounds like you're comfortable flashing, so it shouldn't be a problem for you, but just a heads up in case it's your daily use device and you need it to work. It looks like cr3p is actively working on it though, so I do hope to see it become a solid platform.
[LeEco Le Max 2 Questions & Answers] chemavilla:
I was a user of official mokee ROM from ffboy, the development now is stopped, it has a bug that is a no go for me, when Bluetooth is enabled the wifi stop working. I prefer a build with precompiled kernel from Teamspain or Umbrella, they are more stable.
[LeEco Le Max 2 Questions & Answers] lukam01:
That bug was there from the start, but it's true there is no development for our device
[LeEco Le Max 2 Questions & Answers] nelnel002:
I tried and there's some bugs, and the fingerprint doesn't work well to me.
[LeEco Le Max 2 Questions & Answers] Personmans:
When I posted this I had done a full wipe of data and cache and flashed the LineageOS Unofficial clean. The result was about 2 minutes of boot screen followed by a solid black screen. When pressing buttons I could get a "Setup Wizard isn't responding", with options to wait or close. Either option resulted in black screen. I left the phone on during the day today, and several hours later I checked it and got the setup screen! I finished setup and it is now working. :good:

Camera does not work in this ROM.
[LeEco Le Max 2 Questions & Answers] rxracer7:
Mokee is it's own OS. Not CM. If you're talking about the best ROM out there, I have no idea. I'm not completely new here (I try and search for answers, so almost never post), but I haven't been here for ages. Especially here in the Le Max 2 forum. I didn't hate EUI. There were a couple of things I liked, but CM13, stable and benching over 144k. I'll take it. For now anyway. There's a fair bit of fighting in the 7.1.1 ROM thread, so who knows if they'll work it out. They owe us nothing though, so we wait.
[LeEco Le Max 2 Questions & Answers] lukam01:
The question was "what is the best CM based rom?"

Mokee is CM based. Nevermind, I'll head to the lineage thread to see the fighting going on there ?

Edit: no fighting, very peaceful out there ?
[LeEco Le Max 2 Questions & Answers] rxracer7:
My bad. Yeah it did seem to settle down. ffboy left officially so there wasn't really any point going on. A little back some guy claimed to have, as one member put it - 'the cure for cancer, but couldn't tell us until he'd spoken to his priest'.... heh. Something about him or a friend working with Qualcomm processors, but signed an NDA. Sounded a bit off. Who knows. I'm using Dual Boot Patcher to see what's out there. Great tool. Can try (edit) LineageOS, and quick switch to CM13 if I need the camera (unless it's a fast UFO sighting). Or whatever ROM you like. The only limit is storage.
[LeEco Le Max 2 Questions & Answers] lukam01:
Yup, ffboy was a very capable dev. He was able to port CM, MIUI and H2OS in very short time and was working on cm14 aswell.. well, let's wait and see
[LeEco Le Max 2 Questions & Answers] nelnel002:
I installed and the phone is fast as hell, I installed the exposed too and I have all naugat features.

But the fingerprint it's a lil bit slow, there's no custom rom whit nice fingerprint reader to this mobile, only the stock one.
[LeEco Le Max 2 Questions & Answers] rxracer7:
Cool. I'll have to get in to Xposed. The fingerprint feels like a memory thing to me. If you leave the phone for a while the first reads is slow, but straight after it's fast. Like the print images aren't cached. Doesn't bother me. It is a minus, but some reviewers are so spoilt for choice they make it a bigger deal than it is.
[LeEco Le Max 2 Questions & Answers] rasmali:
I'm am running the latest Mokee release 08-01-2017 with no issues on the FP and with only 1 print registered.

Super smooth, super quick.
[LeEco Le Max 2 Questions & Answers] nelnel002:
Well maybe they fix it, that's cool. By I'm going to stay with the revolution ROM.