yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4i] faizauthar12:
[MENTION=4869275]thewisenerd[/MENTION]

i already tried to build your CAF kernel

with cm-12.1 source,but the results is... i can't pass Mi splash screen

and the Mi Splash screen going broken with a rainbow color

is it any extra libs / repo we need to use?

thank you
[Xiaomi Mi 4i] kannanvivek:
i have probelem after installing coustom rom.plz help me

after finishing boot the phone get switch off and after turning it on the touch is not responding stucked on language on language selection.﻿
[Xiaomi Mi 4i] arunon2013:
Check ur version.. ur MIUI version should be 6.6.10 baseband.. this baseband only supports custom roms .. flash 6.6.10 baseband and then flash any custom roms.. ur problem will be solved.. happy flashing
[Xiaomi Mi 4i] hashroot:
project dead? [MENTION=4869275]thewisenerd[/MENTION]
[Xiaomi Mi 4i] thewisenerd:
op updated.

[MENTION=4473453]hashroot[/MENTION], project isn't dead ;)
[Xiaomi Mi 4i] tej1697:
Is this kernel compatible for the stock rom global beta?
[Xiaomi Mi 4i] faizauthar12:
There is no build for public...

This thread is dedicated for discussion about a project, so if you want the kernel right now

Compile it by yourself..

Also, did you read the working list ?
[Xiaomi Mi 4i] thewisenerd:
quite a few things work ;)

but support for miui is on the wont-fix list. this decision is intentional. it may or may not work with miui. if it doesnt, adding support for it wouldn't take much changes (just have to add back xiaomi cruft), which i won't be doing. maybe you can ask your custom kernel developer to do so.
[Xiaomi Mi 4i] thewisenerd:
if someone has a focaltech touch driver, please respond.
[Xiaomi Mi 4i] thewisenerd:
i've been facing random USB disconnects when connected to PC (and only when connected to PC) when charge > 90%. not sure if this is an issue with only my system.

this issue is present both in CAF's stock smb1360 driver, and the smb1360 driver with xiaomi's changes (except a few changes, I didn't see much use of others, though i might need to add back rboost_workaround and taper_handler).

i've added back a few of the changes here: https://github.com/ferrari-dev/andr...mmit/f50e0b490430510ff6f9542d5630e99937e9af4d

here's two dmesg diffs. in case someone can help me figure this out.

https://paste.debian.net/909988/

https://paste.debian.net/909989/

in other news,

disabled qpnp-leds (we don't use it) and evbug (much logspam).
[Xiaomi Mi 4i] hashroot:
what about compatibility bro?

is this kernel compatible with all aosp rom and android version?(6.0/7.1)? or limited to lp only?

by the way which rom u use as a daily driver? [MENTION=4869275]thewisenerd[/MENTION]
[Xiaomi Mi 4i] faizauthar12:
see this

tags info

chipset: msm8916_64
tag: LA.BR.1.2.9-01610-8x16.0
android: 07.01.01
date: December 29, 2016

and this

https://github.com/ferrari-dev/android_kernel_xiaomi_ferrari/tree/n/LA.BR.1.2.9-01610-8x16.0

also this

https://xdaforums.com/showpost.php?p=70497668&postcount=2

no public "image" cuz this is under development by [MENTION=4869275]thewisenerd[/MENTION]..

if you want to use it, compile it by your self...

Honestly it's pretty lagging and random reboot :)

read and understand it please :) before making a Tottaly a different topic :(
[Xiaomi Mi 4i] thewisenerd:
I partially agree with you about the lagging part. Optimizations specific for android arent merged into CAF, and those come in later. cyanogenmod's 8916 kernel (cm-8916/cm-14.1) is noticeably smoother, or might be placebo.

random reboots? what are they? jk.

haven't had a random reboot (except once, wcnss crashed causing a kernel panic causing SoC to reset) in over 20 hours now. ( 20 hours since full charge, running at ~50% now; so i'd probably say most battery issues are fixed with f50e0b49 ).

i'm using a custom build spun up by [MENTION=5689422]faizauthar12[/MENTION] so I attribute all bugs and crashes to his ROM :angel:
[Xiaomi Mi 4i] thewisenerd:
Dual Tone LED Flash

[IMG="liar liar pantsu on fire"]http://i.imgur.com/nC0Adcc.png[/IMG]

So, after I rewrote the lm3646 driver clean (all the credit to moto's lm3646 driver), [MENTION=5689422]faizauthar12[/MENTION] informs me that dual tone flash works in custom ROMs already ( but I just removed it during the clean re-write ). uh-oh. so, after much faiz bashing on the telegram group, I looked again at c26d53c221, to find;

fctrl->reg_setting->high_setting->reg_setting[0].reg_data = (0x7F - fctrl->flash_op_current[0]) * 2 / 3;

So, the camera blobs give flash_op_current value, and doing this _simple_ calculation, you set the current levels for each LED.

about flash_op_current; it gives you the current level based on how much brightness change to the actual image (preview) takes place when flash is turned on [1].

if there's very less change to the preview (example, camera pointed at sky with flash turned on makes little difference to image), value is low.

if there's significant change to the preview (example, camera pointed in a dark room with flash turned on, makes quite some difference), value is high.

the 2/3 multiplier is to get it in the {0x00, 0x56} range, based on their max current values.

Don't know whether that's botched up or really subliminally clever. Hmm.

---

so, now there's some things to discuss;

1. whether to control overall LED brightness (as in, the entire flash actually becomes dimmer)?

2. how much % of the current should be assigned for the warm led at different flash_op_current values? (these ranged from 0 to ~50 in my testing)

---

[1]: This might be completely wrong, please correct me if I am.
[Xiaomi Mi 4i] hashroot:
what about camera focus(auto/manual)?

camera focus doesn't work in any custom ROM
[Xiaomi Mi 4i] thewisenerd:
camera autofocus works splendidly for me, not sure why it isn't working for you.

What ROM/kernel are you running?
[Xiaomi Mi 4i] hashroot:
Currently on tesla n with faizauthar12 kernel

Have tried almost every popular custom rom available for Ferrari. Camera focusworks only in stock rom. Any workaround /fix would be great

. Thanks in advance
[Xiaomi Mi 4i] thewisenerd:
what exactly do you mean by autofocus?

I move the camera around the room to point at different _depths_ and it autofocus-es on them automatically. Isn't that autofocus?

---

rebased onto updated tags. the first tag of 2017, LA.BR.1.2.9-01710-8x16.0; and some upstream picks for charger and updated prima. also picked up low volume fix, thx [MENTION=5790433]Rohan purohit[/MENTION] .
[Xiaomi Mi 4i] hashroot:
Focus as in unable to scan qr codes. Or use lens blur in Google camera

---------- Post added at 12:02 PM ---------- Previous post was at 11:57 AM ----------

Focus as in unable to scan qr codes. Or use lens blur in Google camera
[Xiaomi Mi 4i] thewisenerd:
i just tested this with this app: tw.mobileapp.qrcode.banner

works fine ( its approx 20x30mm barcode )
[Xiaomi Mi 4i] hashroot:
Which rom?
[Xiaomi Mi 4i] faizauthar12:
[MENTION=4869275]thewisenerd[/MENTION] using 24 January 2017 LineageOS

Which include his own rebase kernel :fingers-crossed:

The build can be found here

https://www.androidfilehost.com/?w=files&flid=140475 ...

Also it support firmware 8.1.5.0
[Xiaomi Mi 4i] hashroot:
what about whatsapp web or shareit connect to pc? doesn't seem to be working for me
[Xiaomi Mi 4i] thewisenerd:
whatsapp web works for me. not sure about shareit because i've never used that app.

edit:

do not try to focus keeping your phone _very_ close to something. not going to happen. that's not (from what I know) how lenses work.
[Xiaomi Mi 4i] hashroot:
Whatsapp web

Ikr, It's not working for me
[Xiaomi Mi 4i] nightwalkerx22:
Recommended for daily use?
[Xiaomi Mi 4i] faizauthar12:
I am not really recommend you to use this build

But..

You can try it

it's booted :)
[Xiaomi Mi 4i] hell1134:
I tried it yesterday for a very short period (1 hr). Didn't seem any different to me from the regular build of lineage os. Are there any improvements as compared to the unofficial build of lineage OS ?

Though, I did notice during booting that the lux penguin icon was displayed on the top right corner.
[Xiaomi Mi 4i] sharan.nyn:
Yeah that tux icon I also saw. One thing more it didn't have root access to apps. Just adb only showed. So I flashed SuperSu zip. But it gave me a bootloop. So I switched to regular build.
[Xiaomi Mi 4i] thewisenerd:
changes

make sure lcd and button backlight brightness scale is linear (button backlight didn't work for me because of this)

added support for disabling buttons (thx [MENTION=7009240]Nihhaar[/MENTION] )

added core_ctl (thx [MENTION=5689422]faizauthar12[/MENTION] )

enabled cpusets

bunch of defconfig changes (mostly disabling debug options for perf)

[lm3646] added back support for dual tone LED flash

[lm3646] sysfs control for torch

updated ROM build, lineage-14.1-20170204-UNOFFICIAL-ferrari.zip (doesn't have lm3646 changes), pick it up from [MENTION=5689422]faizauthar12[/MENTION]'s post #40 on the same thread.

---

lm3646 (camera flashlight) updates.

1. added a sysfs interface for torch control.

supports 8 different varying brightness levels (hardware only supports 8). the value is mapped to corresponding brightness level.

echo [0-255] > /sys/class/leds/torch/brightness

2. added a 'flash' sysfs.

This switches on the flash once. 400ms blocking is added because flash timeout is 400ms.

0 does nothing.

anything !0 switches on flash.

( why? because watch -n 1 "echo 1 > /sys/class/leds/torch/flash" ? don't try it though. )

echo [0-255] > /sys/class/leds/torch/flash

3. dual tone flash/ warmth correction factor/ wcf

slightly tweaked original values to use the full 0ma - 1030mA range. you have options to disable dual tone led, or increase or decrease the "warmth".

0 - disable dualtone LED (only cold light)
...
6 - (6/8)x
7 - (7/8)x warm
8 - 1x warm (stock/default)
9 - (9/8)x warm
10 - (10/8)x warm
...
16 - 2x warm

look at code for explaination if interested : d994ae81f6.

echo [0-16] > /sys/class/leds/torch/wcf
[Xiaomi Mi 4i] nightwalkerx22:
So is the latest build recommended for daily use? :confused:
[Xiaomi Mi 4i] thewisenerd:
this is a thread for discussion related to development.

this is a thread for discussion related to development of a kernel.
[Xiaomi Mi 4i] faizauthar12:
The torch fix explanation..

So from nowhere we have a fixed torch

It's due to our camera hal , we need a little hax right here

So the systemui can load our torch sys...

The commit already in lineageos gerrit..

You can cherry-pick it from here

https://review.lineageos.org/#/c/160320/

So guys , use this commit to compile a new rom

Starting from now (if this changes isn't merged)
[Xiaomi Mi 4i] thewisenerd:
a _bit_ of detail;

camera subsystem wasn't init by the time it was being called for (by mediaserver? ), erroring. retrying a couple of times, it works. had a hunch this was the problem from the very beginning. randomly searched for torch in lineage gerrit the other day, and saw the commit, and forwarded to faiz and rohan.

other devices had the same issue, and decided to restart media subsys upon boot complete, but this is a more proper fix.
[Xiaomi Mi 4i] thewisenerd:
teh liblight update.

the upstream generic + lm3533 led drivers in the kernel already had _almost_ all we needed to get blinking led working. so, i've removed the cruft added, and updated liblights. now, blinking lights work across all colors. also, custom blink speed works (lineageOS has this option).

here's updated liblights: lights.msm8916.so. place it in your " /system/lib64/hw/ " directory.

you'll need to manually patch your init.target.rc in ramdisk: 3310d8da3d.
[Xiaomi Mi 4i] Sourav95:
How to do this patch up thing???
[Xiaomi Mi 4i] thewisenerd:
unpack boot.img

unpack ramdisk

make changes

repack ramdisk

repack boot.img
[Xiaomi Mi 4i] Sourav95:
Unpack and repack means unzip and rezip...???
[Xiaomi Mi 4i] UniQ01:
Its .img not zip lol
[Xiaomi Mi 4i] Sourav95:
Oh yea...my fault

---------- Post added at 07:09 AM ---------- Previous post was at 07:07 AM ----------

With lp 8.1.5.p it failed to boot up. Moreover it went into a bootloop. I could not even boot into recovery. I had to connect it to my lappy via fastboot and flash the lp 6 via mi flash tool. Then only was I able to boot into recovery...:(
[Xiaomi Mi 4i] thewisenerd:
LA.BR.1.2.9-01810-8x16.0

LA.BR.1.2.9-01810-8x16.0 pushed on feb24; and I've rebased (and squashed) the changes so as to make it easier to cherry-pick the changes henceforth.

one major change, is I've added f2fs, which is 452 patches ( taken from git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable.git ; linux-3.10.y branch ); I've attached the list of patches in order so if you'd like to cherry-pick from git.kernel.org, you can use this list. (and oh, revert this: 30a6b8007211 (BACKPORT: f2fs: add a max block check for get_data_block_bmap) before apply patches)

twrp-3.0.3.0 : https://basketbuild.com/filedl/devs...errari/twrp/TWRP-3.0.3.0-20170227-ferrari.img ( this has the mouse cursor fixed :wink: )

experimenting with updated wifi configs lets see how that one goes. might fix wncss crash, or might have to revert back to an older prima.
[G4 Q&A, Help & Troubleshooting] khanhvipdinhpro:
i have an LG G4 isai lgv32 and there's some apps from japan! i'm wondering how to root and port rom cook for this device! help me :o
[G4 Q&A, Help & Troubleshooting] cubula:
stock rom: LGV32HL-04-V10o-440-51-OCT-13-2015+0.zip.

You can find it on lgbbs.com:41 and stock root rom (LGV32HL-04-V10o-440-51-OCT-13-2015+0-ROOT.zip) is also at there.
[Galaxy S II Q&A, Help & Troubleshooting] TopRound:
Hi.. Im looking for a way to permanently disable wifi from my device, either by deleting the drivers, or changeing inner settings to turn off immidiatly when turned on.. I also want it as a permanent solution, not by installing an app that can be uninstalled...

I found a few other solution but none is good for s2, there is no /systems/lib/modules folder, and theres nothing about wifi in the Build.prop file...

Phone is rooted, stock 4.1.2

Thanks
[Galaxy S II Q&A, Help & Troubleshooting] Devaz01:
Try looking these two files at /system/etc/permissions/ folder:

com.android.hardware.wifi.xml

com.android.hardware.wifi.direct.xml

Rename these both files (in the case you'll need them back later), for example:

com.android.hardware.wifi.xml.bak

com.android.hardware.wifi.direct.xml.bak

(When rename them, just make sure they don't ended with .xml extension)

Now reboot the phone. The system shouldn't detect the WiFi presence now. You can check it from Android settings, WiFi parts should be gone.

The drawback is, if you upgrade your ROM or install a new one, you need to repeat this procedure again. Also, I don't know if WiFi still can be detected someway from Android system.

A bit off topic:

I also have similar problem with my S2 regarding to defected WiFi. I've been thinking of pulling off WiFi chip near leaked clock battery (which is causing phone's date time always reset every time I remove the main battery). The only thing to prevent me doing that is because the bluetooth still good— well, sometimes it won't turned on before I switch the WiFi on (in that case, bluetooth goes on and WiFi still remain off).

Hope this help.
[Galaxy S II Q&A, Help & Troubleshooting] Ayumi_Jitsukawa:
Is this - theoretically - possible with any process on any android phone? Would be the solution for a problem i'm doing research now for hours...
[Windows Mobile Development and Hacking General] ronysha:
I am trying to play a midi file on my PDA running mobile 5.0 and control some if its parameters. On my PC I used either the MCI control (MCI32.ocx) or direct commands (mcisendcommand), but I found no way to use them on the PDA.

Any clues?
[General Questions and Answers] k0smynutzu:
hello I need your help please

Huawei y511 - u10 have one and not opened beyond logo

I tried everything I know to install the software but gives me another card innstalation aborded

is not rooted and debugging mode is not activate

PLEASE HELP :(
[Teclast X98 Air 3G] omgsmite:
Hello everyone, ionioni as provided us c6j7 users a way to unbrick our tablets through dnx mode. Make sure your device is c6j7 before flashing or you can hard brick your device.

1. Copy the following files into your fastboot directory on your pc:

https://drive.google.com/file/d/0B6T0AoMyuEfHM09JemJnNGhBa28/view?usp=sharing

2. Boot the device into dnx/fastboot (pressing power and Vol+/Vol- at the same time)

3. Plug the device in via usb, open up a command prompt in your fastboot directory and type the following:

4. fastboot flash osloader bios_restore_c6j7.efi

5. fastboot boot boot.img
[G 2014 Q&A, Help & Troubleshooting] puravyas:
Hi there,

Yesterday I was trying to copy a movie on the internal memory of my device. The device froze and when I forced restart the phone, it just got stuck on the bootloop screen. The phone shows the Moto Logo and then vibrates and black screen and boots again.

I tried to go into recovery but when I press recover, it just reboots. Let me mention that bootloader is locked.

When I took it to a mobile shop, the person told me he tried to connect it to the computer. Maybe he was trying to flash it or unlock the bootloader, but he said that the phone did not detect on the computer.

Can anyone please help me?

If possible, some detailed steps on how to proceed.

(This is the Indian Dual Sim version - XT 1068. Not rooted, no custom rom, running on 4.4.4 KitKat)

Can anyone help with any links which will start the phone again. Fastboot etc r alien words to me so any detailed instructions will be helpful.

Thanks
[Xperia Z2 Q&A, Help & Troubleshooting] Billyoz:
There is no ar effect. i tried to search it on play store but i didn't found it
[Xperia Z2 Q&A, Help & Troubleshooting] mr.loverlover:
Try this one https://app.box.com/s/z6k4fver6ppb0ha44mmuf1h7za48wjxp

Sent from Xperia Z2

Luckily not from an iPhone = Yesterdays technology at tomorrows prices
[YU Yureka Q&A, Help & Troubleshooting] shrinidhi2508:
Hello everyone. I'm Shrinidhi.

I'm new to this forum. So pls forgive me if I make mistakes or break the forum rules.

Now, let me explain the problem I'm facing in my YU Yureka Mobile.

I recently updated my Yureka mobile from cyanogen OS 12.0 to Cyanogen OS 12.1 through OTA update.

I haven't rooted my phone.

After the Update, I did a factory reset and wiped cache partition in boot menu.

Updated all the apps including the Google Play Services on play store.

I thought of changing my default lock screen to smart lock feature. Specifically Face recognition unlock feature.

After all set up to unlock through smart unlock, I locked my phone and pressed power button expecting that gave unlock feature would show up.

But nothing happened.

It's not even displaying that oval shaped face recognition screen. It's just ask me to slide unlock the phone.

I tried all possible troubleshooting. But no luck.

I even tried to enable Smart Lock in Trust agents option in security screen.

But I couldn't find Trust Agents too in Settings menu.

I believe I've Updated Google play services to the latest version. Coz, i hope my problem is connected to it.

I need a solution ASAP.

Pls help me out this issue.

I would definitely appreciate if anyone from this forum seeing my post, reply to my e-mail address : shrinidhi2508@gmail.com

Or even here in this forum.

Thank you in advance.
[X Play Q&A, Help & Troubleshooting] blackmaffia:
Hello everyone,

I was using my moto x play normally and I was surfing on the internet. Suddenly the device disconnected, I pick up my phone, disabled wifi, and re enable it, since that the device freezes and suddenly rebooted. Showed me a quick animation of moto bootanim and restarted.

When the phone booted up again, the moto shows me ''optimizing apps''. I have no idea what the problem is but it is no the fifth time that the moto did this problem. I have try everything like a hard reset and the provider had replace my battery, but with no results.

I have also filmed my problem if you want to see the video I can send you a link with the URL.

Please is there anyone who can help me.
[X Play Q&A, Help & Troubleshooting] K.khiladi:
Is your phone rooted or has unlocked bootloader?
[X Play Q&A, Help & Troubleshooting] blackmaffia:
What does rooted and bootloader mean? I have never download some illegal software on my phone.
[X Play Q&A, Help & Troubleshooting] Haesslich:
They're asking if you've unlocked the bootloader by getting the unlock code from Motorola, and then enabling root access.

Have you done a full factory reset or reflashed the firmware using your computer? The former is in the Settings -> Backup and Restore menu. You'll be wiping the phone and resetting all the settings to their defaults, to see if there's an application is crashing your phone.
[X Play Q&A, Help & Troubleshooting] blackmaffia:
,

No I havent unlocked the bootloader on my Motorola

I have done a hard reset and a full factory reset but with no result.

I think that this is a problem of Lollipop 5.1.1. or not?
[X Play Q&A, Help & Troubleshooting] K.khiladi:
You are still on lollipop.

Man It's full of bugs and problems.
[X Play Q&A, Help & Troubleshooting] blackmaffia:
I wanna know or this bug is from Lollipop or not.

Marshmallow is not available yet in Holland/Netherlands
[X Play Q&A, Help & Troubleshooting] K.khiladi:
No one has reported this bug till now on either lollipop or Marshmallow.

Updating to MM would resolve these issues(hoping it's software)it fixes a lots of bugs. ☺
[X Play Q&A, Help & Troubleshooting] blackmaffia:
I have als filmed the bug but I van upload my video here.
[X Play Q&A, Help & Troubleshooting] blackmaffia:
Video of my problem

https://www.youtube.com/watch?v=oar3ofDGFLs

Look this is my problem.
[X Play Q&A, Help & Troubleshooting] blackmaffia:
Have you seen the video with the problem?
[X Play Q&A, Help & Troubleshooting] K.khiladi:
Unfortunately I am at home and net speed isn't great.

Once 1 go to college, I will watch it.
[X Play Q&A, Help & Troubleshooting] blackmaffia:
Have you any idea what the problem can be?
[X Play Q&A, Help & Troubleshooting] blackmaffia:
Have you seen it?
[X Play Q&A, Help & Troubleshooting] alresave:
Take your device to warranty service. It's the best thing to do if your device is unlocked and running stock firmware.
[X Play Q&A, Help & Troubleshooting] blackmaffia:
I have the phone already sent to manufacturer and they have replaced the nfc module and the battery but is does not work
[Galaxy S 5 Q&A, Help & Troubleshooting] Sarakate:
Hello,

I don't like the Lollipop 5.0 keyboard and I would like to import the keyboard of Lollipop 5.1.1 (It is on the S6, etc.). I'm rooted and I have custom recovery. Someone can tell me if I can do that please?

Lollipop 5.0 Keyboard:

Lollipop 5.1.1:

Thank you. :)
[Galaxy S 5 Q&A, Help & Troubleshooting] Sarakate:
Fixed! I followed this tutorial: http://www.naldotech.com/download-samsung-galaxy-s6-keyboard-apk/

:)
[Xiaomi Redmi Note 3 Questions & Answers] BremFM:
Dear,

Will the Xiaomi Redmi Note 3 get Cyanogenmod 13? If so, when?

Has anyone started trying to create it?

What others mentionable ROMs are there out there for Xiaomi Redmi Note 3?

Kind regards,

BremFM
[Xiaomi Redmi Note 3 Questions & Answers] SignumOne:
I can't wait too.
[Xiaomi Redmi Note 3 Questions & Answers] Pumpino:
We may get CM12 first, since that's what the Note 2 has on offer.

When is the Note 3 going to get its own forum on xda?
[Xiaomi Redmi Note 3 Questions & Answers] Krystyna:
Hi friends, I also want to know.
[Xiaomi Redmi Note 3 Questions & Answers] Rab D:
+1.

On another thread, a comment is made that Xiaomi has good hardware but poor software; the support is not there for international customers.

The MIUI forum for this phone is spammed by Xiaomi advertising new devices, rather than useful information.
[Xiaomi Redmi Note 3 Questions & Answers] DarthKeizer:
Pray for cyanogenmod :)
[Xiaomi Redmi Note 3 Questions & Answers] lukaszde:
You can follow progress here: http://en.miui.com/thread-205649-1-1.html
[Xiaomi Redmi Note 3 Questions & Answers] oomwaa12038:
redmi note3

i wait too.
[Xiaomi Redmi Note 3 Questions & Answers] tjaaaa:
cyanogenmod +1
[Xiaomi Redmi Note 3 Questions & Answers] alchimia:
Is it official CM12 for RN2?

Inviato dal mio Redmi Note 3 utilizzando Tapatalk