yashsingh1/xdaforums huggingface dataset:
[Onetouch Idol 3 Q&A, Help & Troubleshooting] ddgarcia05:
Have you tried XDA One? It's on the forum if you search it.
[G4 Q&A, Help & Troubleshooting] kasiopc:
Auto rotate option on my H815 keeps turning itself off and I have to reenable it.

Has anyone had this issue, and have they managed to fix it?
[G4 Q&A, Help & Troubleshooting] Pfeffernuss:
Same issue (even with a "failing" sensor (unable to calibrate)), no fix yet :rolleyes:
[G4 Q&A, Help & Troubleshooting] nitrous²:
According to a friend who talked to LG about this, it's a "feature". It's supposed to do that. I'm not sure though.
[G4 Q&A, Help & Troubleshooting] 5nickers:
It's turned off after every reboot I think. Never turned itself off while running which would be an error.
[Android Software/Hacking General [Developers Only]] ketut.kumajaya:
I assume you are a ROM builder. When your device vendor continue violate the GPL, refuse to open the device kernel source, let's we reverse engineering our device stock kernel.

Dedicated to ex Google Hugo Barra. Ends up as a GPL violator a pretty miserable.

Tools:

Python tool csplitb https://github.com/mypalmike/csplitb

dtc binary from out/target/product/<device>/obj/KERNEL_OBJ/scripts/dtc

unpackbootimg from out/host/linux-x86/bin

extract-ikconfig from kernel/<vendor>/<device>/scripts

Copy all needed tools to your PATH, $HOME/bin/

Steps:

Unpack stock boot.img using unpackbootimg:

$ mkdir boot
$ cd boot
$ unpackbootimg -i ../boot.img -o .

Split DT image to DTB files, for MSM8916 in this example:

$ mkdir dtb
$ cd dtb
$ csplitb.py --prefix msm8916- --suffix .dtb --number 4 D00DFEED ../boot.img-dt

Find proper DTB file for your device, device model "Qualcomm Technologies, Inc. MSM 8916 QRD SKUM" string from my device dmesg output in this example:

$ grep -r "QRD SKUM"
Binary file msm8916-0011.dtb matches

Convert DTB to DTS files:

$ dtc -I dtb -O dts -o ../msm8916-0011.dts msm8916-0011.dtb
$ cd ../

Extract kernel config

extract-ikconfig boot.img-zImage > msm8916_defconfig

This how to success story: http://xdaforums.com/android/development/rom-cyanogenmod-unofficial-builds-t3200883
[Android Software/Hacking General [Developers Only]] ketut.kumajaya:
RESERVED.
[Android Software/Hacking General [Developers Only]] ela1103:
what is use of convert DTB TO DTS
[Android Software/Hacking General [Developers Only]] ketut.kumajaya:
Reconstruct a closed source kernel or vendor kernel update not in sync to their open source version or vendor DTS completely not available, prepared outside the kernel source.
[Android Software/Hacking General [Developers Only]] Arun Av:
Amazing! Hope Hugo Barra stumbles upon this post! :D
[Android Software/Hacking General [Developers Only]] Android-Andi:
Nice Ketut! I love the way you live OpenSource!
[Android Software/Hacking General [Developers Only]] Guizão BR:
guys, someone can send me dtc binary for me please? I extrcting the boot img of mtk device and I dont have the dtc binary

Thanks and sorry fir my bad english
[Android Software/Hacking General [Developers Only]] bgcngm:
Thanks for sharing this. :highfive:

Do you know any way to circumvent lz4 zImage compression? Trying to do it for Xiaomi Mi 5.
[Android Software/Hacking General [Developers Only]] nicknitewolf:
[MENTION=4021423]ketut.kumajaya[/MENTION] What if my boot.img does not have any dt files. My boot.img-dt is 0 bytes and the error prints this:

Traceback (most recent call last):

File "/home/nick/bin/csplitb.py", line 64, in <module>

main()

File "/home/nick/bin/csplitb.py", line 61, in main

return csplitb.run()

File "/home/nick/bin/csplitb.py", line 26, in run

self.mm = mmap.mmap(f.fileno(), 0)

ValueError: cannot mmap an empty file

Halp
[Android Software/Hacking General [Developers Only]] bgcngm:
For anyone that may need, another way to split appended dtbs is by using this tool.
[Android Software/Hacking General [Developers Only]] prabaecepct:
i have only stock boot and recovery how to unpack in decompile plz upload video your tutroial
[Android Software/Hacking General [Developers Only]] zainifame:
[MENTION=4021423]ketut.kumajaya[/MENTION] on step 2 you using this value D00DFEED, and what is that value mean? Is that value for dtb header or what? Can u explain sir, thanks
[Android Software/Hacking General [Developers Only]] evilwombat:
Sometimes device tree binaries live in a separate partition. That's sort of the idea behind a device tree - it's just that the bindings on ARM are so in flux that keeping a static device tree embedded in "firmware" becomes impractical, and so vendors will ship a kernel with a device tree (or a bundle of device trees) appended to it.

You can get the 'dtc' binary by installing the 'device-tree-compiler' package on Ubuntu, or just use 'kernel/scripts/dtc' if you've got a kernel built.
[Android Software/Hacking General [Developers Only]] ATechnoHazard:
Instead of using that tool, use this one, it requires no arguments - https://github.com/dianlujitao/split-appended-dtb.

Hope it helps
[Android Software/Hacking General [Developers Only]] zainifame:
Can anyone explain to me, how to extract touchscreen firmware from kernel binary? Thanks
[G4 Q&A, Help & Troubleshooting] Mymarvel21:
I am having a problem while trying to root my . When I try to make sure that my device is connected by typing 'adb.exe devices' through command prompt I get the error message:

* daemon not running. starting it now on port 5037 *

ADB server didn't ACK

* failed to start daemon *

error: cannot connect to daemon

Please help!!!
[G4 Q&A, Help & Troubleshooting] passion8059:
Command is adb devices. Then once device is shown adb reboot-bootloader to enter fastboot.

---------- Post added at 10:46 AM ---------- Previous post was at 10:44 AM ----------

Also make sure adb and fastboot are in root folder of their own eg c:\adb
[G4 Q&A, Help & Troubleshooting] Mymarvel21:
still not working I still get the same error, I don't know what I' m doing wrong. I followed the LG G4 "Low Effort Root" guide but as stated earlier I still cant get the command window to recognise my phone
[G4 Q&A, Help & Troubleshooting] passion8059:
Use twrp and ensure you have supersu 2.49.zip on phone storage.

use this guide to assist hope it helps: http://www.theandroidsoul.com/how-to-install-lg-g4-twrp-recovery-easily-79553/
[G4 Q&A, Help & Troubleshooting] Mymarvel21:
While following the steps on how to install twrp recovery on lg g4 I still get the same error above. I don't know what I'm doing wrong that my computer is not recognising my device.
[G4 Q&A, Help & Troubleshooting] nitrous²:
If you happen to have a Dell PC, uninstall the Dell PC Suite. Many users report issues with Dell PC Suite and ADB. Various AntiVirus Software, Samsung's Kies (3), Norton and McAffee Safe Filter services are known to cause issues with ADB. Also, make sure you're not using a USB 3.0, which isn't your problem but could be once you establish a functioning connection via adb.
[G4 Q&A, Help & Troubleshooting] Mymarvel21:
Just to let you know I am trying this on a samsung laptop, after uninstalling Samsung kies I get the error:

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

** daemon still not runningerror: cannot connect to daemon

My guess is that there are software on the laptop that are conflicting with the process so I'll uninstall all the programs that I don't use but if anyone has anymore solutions please contribute
[X Style (Pure) Q&A, Help & Troubleshooting] papamalo:
So I am pretty ecstatic over all with the performance of my Moto X pure, and a little impressed by the moto voice command function. I can access just about everything on the phone by voice alone, except there's one problem. Everytime the phone understands one of my commands, it responds with a very loud and obnoxious sounding "bloing!"

I can even tolerate the robotic voice of the Moto lady, who sounds like my 3rd grade teacher, but the response sound is just too much. Does anybody know what folder it is in so I can nuke it, or is there a way to turn that sound off.? I looked in the media files, and in the notification files, of both the phone and the SD card, looking for a matching sound but did not find it there. Any suggestions?

Thanks!
[X Style (Pure) Q&A, Help & Troubleshooting] eregev:
The response chime is connected to the media volume control. Keeping the media volume down has helped me a bit but it's still no fun. Also, I've noticed that it uses the old Google Now sounds so when I initiate a search it gives a loud "old GNow" confirmation then a more pleasant "new GNow" tone. If I could at very least do away with the double confirm, I'd be happy.
[X Style (Pure) Q&A, Help & Troubleshooting] papamalo:
I wonder what would happen if we found the folder containing that sound and nuked the file.

do you know what the actual file name for that sound is?

Anybody here have a better idea?

Thanks
[X Style (Pure) Q&A, Help & Troubleshooting] TrenchKato:
My question is how else would you know the phone is responding to your commands. For example if your phone is across the room.
[X Style (Pure) Q&A, Help & Troubleshooting] papamalo:
I don't know, every other function in android seems to have both visual, and audio option.

They could just have a flashing screen,, the problem is, when I want to use Moto X voice, that sound, is way louder, then most of the other confirmation sounds used in speech to text conversion. If you turn the media volume down, the female voice is reduced in volume along with the confirmation sound.

Or they could just have an option, like most of the other audio in android, that allows me to choose a sound.

Which brings me, to my quest. Or question

if it is a regular audio file, or a .ogg or MP3 or MP4, I should be allowed to go to the containing folder, and simply drop in an audio file of the same kind into that folder, right?

Anyway the "bloing" is annoying, has no individual volume control, and makes me look like less than the coolest kid on the block, which is what I so desperately crave, which is why I spent so much money to buy the coolest gear.

Please help my quest for coolness
[X Style (Pure) Q&A, Help & Troubleshooting] carlz28:
From previous experience, sometimes these sound files are inside the apk file itself. Really no way to change or get rid of it unless you start decompiling them, remove/add your own file. Samsung used to do it with their screen unlock sounds. Looked forever in folders and found nothing. One day while searching inside the apk, found it. Just a bit of help to maybe help your search :)
[Nexus 4 General] ktetreault14:
COMPLETELY BASED OFF OF [MENTION=259336]Dmitry[/MENTION] KERNEL WITH PATCHED SUPOLICY

DISCLAIMER: Blah blah blah I didn't break your phone don"t blame me.

Background

Well It actually wasn't too hard to achieve even though I know nothing of the boot.img. Just followed [MENTION=631273]Chainfire[/MENTION] guide on installing SuperSu for Android 6.0 Marshmallow. Booted my nexus into a lollipop rom and flashed SuperSu beta 2.51, did some adb commands to patch the selinux policy and recompiled and flashed boot.img

SELINUX IS ENFORCING

Steps to Root your new Nexus 4 running the latest Marshmallow

1) FLASH YOUR PREFFERED 6.0 ROM.

2) FLASH MODIFIED BOOT

BOOT.IMG V2

MEGA MIRROR

3) FINALLY FLASH SUPERSU BETA 2.51

4) PROFIT

CREDITS:

[MENTION=631273]Chainfire[/MENTION] for his amazing SU work and great guide on noob patching selinux

[MENTION=259336]Dmitry[/MENTION] Grinberg for his awesome 6.0 rom I'm running and for providing a boot.img with dmverity already disabled

Leave a thanks if you felt like I helped
[Nexus 4 General] ktetreault14:
Video Proof https://goo.gl/photos/ZWNNNRiMQzRwuZXP8

CHANGE LOG

V1: First boot image throw together for root.

V2: Data Fix merged from [MENTION=259336]Dmitry[/MENTION]
[Nexus 4 General] sd3993:
Selinux is permissive in the modded boot.img right?
[Nexus 4 General] ktetreault14:
How can I easily check this? Looking for an app now.
[Nexus 4 General] ktetreault14:
Looks like its enforcing according to SElinuxModeChanger apk. Asks if I want to put it into permissive at least.
[Nexus 4 General] siddhesh.raikar:
It works.. Thank you.. :)
[Nexus 4 General] sd3993:
It's enforcing then. root on L at first needed selinux to be in permissive. That's why i needed to ask. Thanks for boot.img!! :)
[Nexus 4 General] sidnoit22:
What Gapps and how you are using them? Instructions?
[Nexus 4 General] ktetreault14:
Awesome thanks guy glad i could help :D sorry about the permissive thing. Ill look into it
[Nexus 4 General] djsubterrain:
Thanks very much for your work :)

I've uploaded your modified boot image to my AFH host, hope you don't mind, if you do let me know and I'll take it off, just thought it might save your Google Drive getting hammered :)

https://www.androidfilehost.com/?fid=24052804347833281
[Nexus 4 General] sd3993:
There is nothing to look into about that. Enforcing is what it should be. :p

---------- Post added at 02:11 PM ---------- Previous post was at 02:08 PM ----------

Also a google engineer on aosp on m live thread is making a boot.img that's going to enable data. He'll be adding selinux policies to it after a bit of experinentation. When that's working do integrate those changes into your boot.img so we can have root and data together(in enforcing mode) which is the way it's all supposed to work :D

EDIT:- here you go :3

http://xdaforums.com/showpost.php?p=63211817&postcount=278
[Nexus 4 General] djsubterrain:
OK Dmitry has fixed the data issue and uploaded a new boot image, hopefully [MENTION=4491606]ktetreault14[/MENTION] can fix that (after a well earned sleep session :) ) so we can root also, thanks again.

http://xdaforums.com/showpost.php?p=63211817&postcount=278
[Nexus 4 General] ktetreault14:
I will get around to looking at it in roughly 12 hours. About to be going to work

EDIT: going to attempt real quick :)

Done!!! Redownload from Op. Going to post in other threads. Tell me if all works [MENTION=4418475]djsubterrain[/MENTION]
[Nexus 4 General] djsubterrain:
Don't feel pressured to do it, people can wait ;)
[Nexus 4 General] ktetreault14:
Thanks man :) I can't test as my S6 has a tiny sim lol. But it booted
[Nexus 4 General] djsubterrain:
Very nice of you, have a good time at work :)
[Nexus 4 General] insigma28:
How do I get it work guys as I tried through wugs toolkit no success could anyone help me.
[Nexus 4 General] djsubterrain:
Get to what?

It's a boot.img replacement so you need to use fastboot to flash it, just reboot your phone to the bootloader and use fastboot.exe to flash it using "fastboot flash boot <filename>" (Obviously replacing <filename> with whichever file you want to flash.
[Nexus 4 General] insigma28:
Did not mean to put get to lmao thank you for the reply dude appreciate it.

Tapped from my N4
[Nexus 4 General] emanoj.i9103:
Mirror please

I'm sorry if I missed to notice. GDrive throws me 404 error when i try to download the latest boot.img. Could someone be kind enough to provide a mirror?

Thanks in advance.
[Nexus 4 General] djsubterrain:
Here you go...

https://www.androidfilehost.com/?fid=24052804347833767
[Nexus 4 General] ktetreault14:
Will upload to mega now

There it is ;) https://mega.nz/#!8lshGIoL!byAQAjMScA6BtoXgZm7-Zd0qsm6M12yuKnGck0cGE24

EDIT:eek:p updated
[Nexus 4 General] Onknight:
How to flash the Img file ?

Want to put in on my Retired Nexus 4
[Nexus 4 General] Detafewa:
There's already SuperSU v2.52 Beta: http://download.chainfire.eu/743/SuperSU/BETA-SuperSU-v2.52.zip

It would be easier to just link the official thread: http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
[Nexus 4 General] Carolinux:
tks man, but how i flash the archives? ive lost my twrp before flash android 6 rom...
[Nexus 4 General] djsubterrain:
Seems to be a few people who don't know how to apply img files, you need to use fastboot, I've uploaded adb and fastboot in a zip file for anyone who doesn't have them :

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

Just to make sure you're aware, you can't just apply this if you're still on KitKat/Lollipop, you need to wipe the phone (NOT SDCARD, JUST THE DATA, CACHES AND SYSTEM PARTITIONS) then apply these images:

Go into the folder you extracted the adb and fastboot exes into

Hold down SHIFT on your keyboard and right click in the folder, then choose "Open command window here"

Copy any img files into the same folder

You would be best flashing the twrp recovery first (You can grab that from here - 2.8.7.0 is the latest version at this time), then you can boot into it by holding down your VOL DOWN button as the phone is booting then choose recovery using the volume buttons and power button to select.

Go into "Wipe" and then choose ADVANCED WIPE and then select "Dalvik Cache", "System", "Data" and "Cache" and swipe the lock to wipe them.

Once you have done that, come back out to the main menu on TWRP and select "Reboot" and then "Bootloader", this will bring you back to Bootloader where you would flash the boot and system images.

You use the following format depending on which partition you are flashing:

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash recovery twrp-2.8.7.0-mako.img (or whatever the filename/recovery you want to flash is. *Little tip, if you start typing the filename and hit TAB it will autocomplete*) - This is how you get the TWRP in place for step 4.

TWRP can be used to flash any custom rom zips you might grab from the other threads here, just make sure to copy the file before you wipe (Although you should still be able to mount your phone on the PC while in Bootloader mode so you could still copy files over)
[Nexus 4 General] Detafewa:
No, forget it.
[Nexus 4 General] alexinc:
Is there any chance to get an updated boot.img for MDB08M plz?

Tried this boot.img with SuperSU 2.52 and SuperSU 2.56 and didn't succeed. SuperSU 2.52 isn't showing the app anymore and 2.56 leads to battery stats not working anymore... (https://plus.google.com/107012941673895232570/posts/hgSAKzdh9kP)

Or do we need to wait for a follow up to SuperSU 2.52 (not the new way 2.56 is trying to work)?
[Nexus 4 General] ladysuin:
great thanks........
[Android Themes] Hifimaniac:
Hello,

first of all, many thanks to those who develop themes and makes our phones, tablets more prettier. They really do a nice and useful job.

Studying and using several themes, I noticed that a few of them are developed without taking a look on a major thing, namely readability.

In my opinion, a theme should not only look good, but it should be visible (aka readable) in all lighting conditions, especially the main applications, like the Dialer or the Settings etc. and so on.

The bigger, darker and bold fonts on a light backround will always be more readable in direct sunlight, on a weaker phone screen.

What do you think?

Regards...

(PS. Correctly: thoughts...)
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] fraq.rb:
Sorry for my bad English but i saw Z4 Tablet now listed in official Sony Developer page for Unlock Bootloader. So if I selected Z4 Tablet in drop-down list to Unlock Bootloader my Z4 Tablet won't get brick even I open My Xperia, right? :D:D:D
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] AndroPlus:
If you enable (not just opening), your device will brick.

Yoy have to read notice carefully...
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] fraq.rb:
I following your guide but i saw you choose Z3 Tablet Compact in devices list, but now Sony added Z4 Tablet in devices list, so I think if we UB choose Z4T we won't get brick :highfive:
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] AndroPlus:
It's old guide now...

I'll update it, but choosing Z3TC was just a workaround to get unlock code.

Actually Sony generate unlock code based on IMEI, so device list won't affect anything.
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] fraq.rb:
Okay, thank for your help :fingers-crossed:
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] farfetch:
I did that mistake and now I can't use fastboot commands, everything is ok, but fastboot.

Is there a way back?! I just want to root my device :(
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] fraq.rb:
Do you have fastboot drivers? What does it say when you enter commands? :confused:

You can try re-install adb and fastboot via

http://xdaforums.com/showthread.php?p=48915118#post48915118

Goodluck!
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] farfetch:
My drivers are ok, since I unlocked the BL.

Also tryed (again) to reinstall drivers, following your link, same:

S:\Android\Toolkit>fastboot flash boot boot.img

sending 'boot' (39980 KB)...

OKAY [ 0.895s]

writing 'boot'...

FAILED (remote: Command not allowed)

finished. total time: 0.916s
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] fraq.rb:
so you can flash via flashtool using fastboot mode. try this
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] farfetch:
I had same output
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] fraq.rb:
i think your bootloader is locked

have you check in *#*#7378423#*#* in Service Info -> Bootloader Unkocked:Yes?
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] farfetch:
I receive same output trying to unlock BL.

BTW I have WiFi version, how to enter Service Mode?
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] fraq.rb:
so your BL doesn't unlocked yet. You need to try this. Wifi version just enter code like that in Phone call
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] farfetch:
I unlocked BL in the first 10 minutes I had this device.

I haven't a phone app.
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] Mr. Schnabel:
Hi!

Had the same problem! Wiped the tablet and after it it worked to unlock the Bootloader w/o problems.

It is because of MyXperia beeing active.

I could not disable it in device administration so i wiped the tablet and after that everything was ok.
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] farfetch:
Thanks, I tried same thing, how did you wipe?
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] Mr. Schnabel:
Settings - Backup & Reset - Factory Data Reset

After the reboot, setup your tablet but do not activate MyXperia in that process

When all is set up i was able to fastboot the commands w/o error
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] farfetch:
failed: remote command not allowed!!!

What the **** to do?!?!
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] farfetch:
Up :(
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] mg210789:
same here i also have this problem.

and my rooting status was unknown right now.

havent found the solution also.

i tried to flash with flashtools and after that i wipe aswell from the settings and still unknown.

any help please.

my condition is after 1 day i received the device i unlock the bootloader and root it. after a couple weeks i backup titanium and after it i restart my tablet and after that the red light just flashing about 6 second 1 time and not even turn on. after i reading at the internet i try the pc companion repair and works my tablet can turn on but after i check the *#*#7378423#*#* the rooting status become unknown.

please anyone help this situation.

thank you