yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Questions & Answers] SuperR.:
Seems like the slot detection is not working. If you want to run a test, you could add the following to your updater-script:

ui_print("Test Pixel slot:");
ui_print("/dev/block/bootdevice/by-name/system" + file_getprop("/tmp/slotsel", "slotnum"));

I have not tried this but theoretically it should print the path that is being used for /system on the screen and in your recovery.log. Make sure it is after:

run_program("/tmp/slotdetect.sh");

Edit: Attached is a flashable slot test. It will not do anything other than check for the slot and print the full /system path.

Edit2: The symlinks are correct as they are. Just built a system.img, mounted it, and checked them all so we are good there. However, the permissions are not 100%. I will track down the permission differences between a stock system.img and a kitchen created system.img. Hopefully we can get this part working at least :)

edit3: [MENTION=4553200]Mentalmuso[/MENTION] - The permissions are a mess in the kitchen generated system.img. Did you unpack, repack, and edit your system.img as root when you built WETA? I guess I don't know how to repack a Pixel system.img with the correct permissions.

edit4: I found part of the problem but have not solved it yet. The file_contexts are not being set. The kitchen was using system as the mount point in the make_ext4fs command and I think it should be /

make_ext4fs -T 0 -S file_contexts -l 2147483648 -a / system_new.img system/

However, when I do this I get an error

error: build_directory_structure: cannot lookup security context for /d

Which makes me wonder if the file_contexts the kitchen extracts is in the wrong format or missing something. Still working on it

edit5: Making some progress. The error mentioned above is because /d is a symlink and is not in the file_contexts file. If I delete it the system.img builds with what appear to be the correct permissions and contexts. Will keep digging
[Google Pixel XL Questions & Answers] SuperR.:
Building system.img is now working (I think lol).

I still need to know what is displayed on the screen when you flash the Pixel slot test zip in the previous post. Hopefully we can get the flashing working and then I will post an update :)
[Google Pixel XL Questions & Answers] Mentalmuso:
Oh crap sorry. The test zip displayed the correct boot slot. And looked as though it was typed out correctly. I'll try get a screenshot

--->

---------- Post added at 10:28 PM ---------- Previous post was at 10:22 PM ----------

--->
[Google Pixel XL Questions & Answers] SuperR.:
Thanks for testing it. As you said, it is correct so I am not sure why it is not flashing/mounting properly. Here are the updates that I hope will get system.img building and working properly. Let me know how it goes and also if you figure anything out about why it's not flashing. Thanks :)

http://xdaforums.com/showpost.php?p=70195997&postcount=15
[Google Pixel XL Questions & Answers] Sh0X31:
I don't understand one think. Do I need to use "sparse_dat" or can I use "set_metadata" on Pixel Devices?
[Google Pixel XL Questions & Answers] SuperR.:
You can use set_metadata, sparse_dat, or raw_img. However, it seems none of them are flashing at this point and I am not sure why. That's what the slot test was for and it is working but nothing is getting flashed.
[Google Pixel XL Questions & Answers] Mentalmuso:
Set_metadata does flash perfectly, it's just there is that issue with wifi causing huge battery drain which I'm hoping will be fixed by using sparse_dat. As it has done in the past with nougat

--->
[Google Pixel XL Questions & Answers] janjan:
It doesn't add the boot.img in the zip.
[Google Pixel XL Questions & Answers] SuperR.:
The boot.img is recovery on the Pixel, so if you flash the boot.img you lose TWRP. That's why it is not in the ROM.

After talking to [MENTION=5169465]mdalexca[/MENTION], it seems block_image_update might not work on Pixel devices. AOSP has changed to using payload.bin instead of dat for a/b devices. I will look into adding this option but for now please try a raw_img rom. It should work (assuming the system.img is created properly now).
[Google Pixel XL Questions & Answers] Mentalmuso:
OK I'll try one tonight. Thanks

--->
[Google Pixel XL Questions & Answers] Mentalmuso:
So the kitchen is producing a good system.img now. Flashes and boots up great.

Though........... the issue i have with the set_metadata version is also present in the system.img. Regarding the error in logcat / wifi battery drain bug. It has to be a symlink issue or something. But ive been digging through for days comparing and cant find the problem. Aside from that, wifi actually seems to work normally, along with everything else. Do you have any great ideas on how i can trace down the culprit error.? the logcat doesnt really help me. It reads QMI_FW xport_reg failed for service_id=0x35 or something

--->
[Google Pixel XL Questions & Answers] SuperR.:
Glad to hear the system.img is working now. Did you flash it in the zip using the slot detect? Have you checked to see if wifi scanning is on? If so try turning it off.

edit: You could also try the latest make_ext4fs I posted a while back. It might make a difference
[Google Pixel XL Questions & Answers] DespairFactor:
that QMI error sounds like modem, not wifi, however it is likely not the cause of drain. Can you try to produce a wakelock report on both stock image and the image from the kitchen? I wonder if we can track down the exact wakelock and what is holding the device awake. This can indicate whether or not it's a perm issue or what it is.
[Google Pixel XL Questions & Answers] Mentalmuso:
Im pretty certain that the qmi error in my logcat is pointing to the cause only because my logcat is flooded with it, it is basically erroring every 5 seconds. It also doesnt change whether wifi is on or not. What is the best method for getting a wakelock report to help trace the issue, im sure your not meaning a wakelock app? Im wondering if it has anything to do with the verizon or project fi apps.

EDIT.. ive noticed that superr is creating a vendor folder inside the system/system folder. In reality this is just supposed to be a symlink to the vendor partition. Would this create a problem? if i use simg2img to unsparse the stock system.img it shows it as a folder and not a symlink also. But in the past ive seen it as a symlink or broken symlink

--->
[Google Pixel XL Questions & Answers] SuperR.:
I will fix the vendor directory being added since it should not be there, but it is not causing your problem. The link is being made to /vendor or many things would not work.

edit: actually there is no problem. There is a vendor directory in the stock firmware so it is supposed to be there.
[Google Pixel XL Questions & Answers] Mentalmuso:
Sorry, i may have mixed things up as i have other devices also..

--->

---------- Post added at 08:08 AM ---------- Previous post was at 07:54 AM ----------

After using the newly created system.img for 24 hours, it seems the errors in logcat have been replaced with just loads of information entries now. It's all still related to connectivity. Not sure if battery life is still being impacted as I was charging overnight but will test it out today. I'm hoping as time goes on the logcats point to something useful. The top Wakelocks being reported are only "kernel" and "Android system" which doesn't help either as obviously a ton of stuff falls under those subjects. If you guys know of an app that splits that up better let me know. I'm currently using gsam

After checking the battery drain I'll move back to stock to compare properly.

--->
[Google Pixel XL Questions & Answers] jonniehere:
System.img

I unpacked my system image but it won't boot when I repack and flash with SP flash tool. Any ideas? It's mtk6737t
[Google Pixel XL Questions & Answers] SuperR.:
HELP REQUEST :

Could someone that has a Windows OS use Imgextractor.exe to extract a Pixel system.img and send me the statfile.txt? You can find Imgextractor.exe in the cygwin_binaries.zip. I would appreciate it very much :)

Imgextractor.exe syntax:

imgextractor.exe system.img system

Posting the same question on 2 threads is not needed. This thread is for Pixel devices only. If you post in the main kitchen thread the requested info on post #4 of the main Kitchen thread, someone might be able to help.
[Google Pixel XL Questions & Answers] Sh0X31:
No Problem Bro, have Windows for Gaming :D
[Google Pixel XL Questions & Answers] SuperR.:
Thank you for doing this for me. Unfortunately I can't download the file. Gives me an http error. Any chance you can upload somewhere else or maybe zip it first? Thanks :)

Error I am getting:

<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
[Google Pixel XL Questions & Answers] Sh0X31:
No problem.
[Google Pixel XL Questions & Answers] SuperR.:
Very strange. I can't open that zip file, says it's corrupted. Both files you have attached are exactly 178 bytes when I download them. I wonder if XDA is having issues with attachments. Sorry for the trouble but could you upload it to Drive or Dropbox or something else?

Just to clarify, the file I need contains a list of all the files in the Pixel system.img. Thanks again :)

edit: I was able to get the info I needed another way. Thank you very much for trying :)
[Google Pixel XL Questions & Answers] Scott:
Yep, it was a bad file :crying:
[Google Pixel XL Questions & Answers] Sh0X31:
Once again :)

https://mega.nz/#!XtsmWDAZ!geMJR5F7thrQLOHmRDr7G9zNQmfnlhGSQOAm1YKzmfM
[Google Pixel XL Questions & Answers] SuperR.:
The Pixel test kitchens have been merged with the main kitchen. Thanks for all the help :)
[Google Pixel XL Questions & Answers] Scott:
Cant wait to try it :) :good:

If you need further assistance then send me a PM :)

Would be happy to help! :good:
[Google Pixel XL Questions & Answers] Sh0X31:
We still need help guys, nobody interested to help please :P
[Google Pixel XL Questions & Answers] :
I've been using no issues

---------- Post added at 09:50 PM ---------- Previous post was at 09:14 PM ----------

I am a hundred percent willing to help you guys I've been using for a few weeks would really love to learn everything about this
[Galaxy S 4 Q&A, Help & Troubleshooting] munimjaffer:
Hey developers!

Just have a look at this androidbiits.com/samsung-galaxy-s4-gt-i9500-android-7-1-nougat-cm14-1-unofficial-rom (sorce=androidbit).

I'm just asking is it really for our GT-I9500? Will it work without problems?
[Galaxy S 4 Q&A, Help & Troubleshooting] killer!os133:
Its good idea
[XDA Assist] sai ganesh 123:
I totally messed my moto g4 plus I have tried to load marshmallow without unlocking bootloader. Everything was fine and after turning on mobile the wifi is not connecting and I am unable to anything from outside.I am stuck up at unlocking bootloader as i forgot to turn on the oem setting in developer options . Pls help me
[XDA Assist] :
Hello,

There is no way to turn on oem unlock without turning on the device.

However you may restore back to the latest stock firmware. Please read about it here

Regards

Vatsal,

Forum Moderator.
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
UPDATE: I am no longer maintaining TWRP for devices that I do not possess. I am also no longer posting on XDA.​

*** Disclaimer ***

All flashing is done at your own risk!
While nothing from this thread should break your device,
don't come back here blaming anyone if it does!

Introduction

Images

Installation instructions

Device Changelog

TWRP Official Changelog

Downloads

FAQ

- Post #2

Known Issues

Bug Reporting

Additional Help/Support:

XDA:DevDB Information

Team Win Recovery Project (TWRP), Tool/Utility for the HTC Bolt

Contributors

Captain_Throwback, OMJ, nkk71, Dees_Troy, bigbiff, _that

Source Code: https://github.com/omnirom/android_bootable_recovery

Version Information

Status: Stable

Current Stable Version: 3.2.1-0

Stable Release Date: 2017-12-09

Created 2016-12-14

Last Updated 2018-03-07
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] OMJ:
u da man [MENTION=1162986]Captain_Throwback[/MENTION]!
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
Alright, against my better judgement I decided to post this thread. Based on [MENTION=506238]OMJ[/MENTION]'s testing, TWRP is working properly with decryption. The only remaining bug I'm aware of is that the "Reboot Recovery" option doesn't work, because of how I hacked the kernel to enable touch. I'm working on an alternative method to get around that, but since I can't test on the device, not sure how that will go.

Make a note of what it says in the OP under "BUGS" because if you report one without a log, it will be ignored! I hope everyone with this device enjoys this "unofficial" version of TWRP.
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Team DevDigitel:
you are the man for sure, i still like the idea of a unencrypted device and glad its a option but im more happy knowing that twrp is now able to support both options!

Thanks bro, know you have been working hard for people who dont necessarily effect you. thanks man!
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
Had to update TWRP as I forgot that gunzip isn't working on builds from the 7.1 tree. Using a pre-compiled busybox binary in TWRP as a workaround. 3.0.2-2 now available on Downloads tab with this fix included.
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
Uploaded new version to Downloads Tab. Just some code cleanup mostly and a version bump that coincides to the release of the Official TWRP app.
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
Can someone test whether this TWRP build boots?

«link removed»

That's from the official TWRP Jenkins. It won't decrypt currently, but I really just want to confirm it boots. Thanks!

EDIT: [MENTION=506238]OMJ[/MENTION] confirmed. Official support should *hopefully* be coming soon!
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] OMJ:
yes, it boots, and as u said, doesn't decrypt
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
Can someone please confirm whether this TWRP boots/works/functions properly? Thanks!

https://xdaforums.com/devdb/project/dl/?id=23498

EDIT: [MENTION=506238]OMJ[/MENTION] tested that one and it didn't boot. Updated the link to a new version. I need a log from a ROM flash where the ROM zip includes a root zip to confirm it's getting extracted correctly.
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
3.1.0 Official is out.
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] M.A.P:
Sir, you mentioned that you hacked the kernel to enable touch in recovery can you share how to did that and did you modify the kernel source code or hacked the kernel without the source code as even other htc devices are having this issue and I can see commit in source codes that'll enable touch in recovery but what if there is no kernel source any hack for that? Thanks in advance.
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
https://xdaforums.com/desire-530/help/root-s-off-desire-530-guide-to-root-t3410015/post70697756

Similar procedure to that, only difference is that you don't have to deal with vmlinux since the kernel binary is simply gzip compressed.

And if dtb is combined, you'll need to extract it from the original kernel and re-append it to the modified binary.
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] M.A.P:
Thank you sir will check that out but why is htc doing this? I mean even some devices running 4.2.2 are having touch disabled and mine is 620g and is disabled too.
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
Well, touch isn't needed in stock recovery, so it's really just a way to save power while booted into that mode. Only custom recoveries like TWRP require working touch, so that's why we have to hack the kernel if source isn't available.
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] M.A.P:
Oh. but still it is difficult for devices with no kernel source. Will try the hack sir it's night yesterday.

---------- Post added at 09:50 AM ---------- Previous post was at 09:33 AM ----------

Sir, can you explain it a bit more as I'm newbie in kernel stuff. I'm having boot.img for my phone and the kernel inside it can you help me how to hack the kernel sir? Thanks in advance
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
Your question doesn't belong in this thread. It belongs in Q&A.
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Kisakuku:
TWRP 3.2.0-0

Download

Changelog
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] roadkill42:
i flashed the latest twrp in download and said succes but cant get into it just htc and red letters did i miss somthing
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Cicada_3301:
Is the device tree mentioned in the post sufficient to build a lineage based rom ?
[HTC Bolt / 10 Evo ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
No.
[Galaxy Note 4 Q&A, Help & Troubleshooting] callumbr1:
Does anybody know of a good app or service to fix screen burn? Yellowish tint? Willing to try anything before I have to get a new display
[Galaxy Note 4 Q&A, Help & Troubleshooting] Trex888:
Try blue light filter app from playstore.
[Galaxy Note 4 Q&A, Help & Troubleshooting] DarkGuyver:
Try Screen Burn-in Tool from the Google Play Store. You may have to leave it running for a couple of hours to fix the screen burn-in damage done to your device.

https://play.google.com/store/apps/details?id=com.codefortravel.amoled_screen_burn_in&hl=en_GB
[LG V20 Guides, News, & Discussion] JJ.Evoking:
Just wondering any new radio loads i can do to get better reception
[LG V20 Guides, News, & Discussion] hykhleif:
by far this lg h990 man i miss so many calls, and people tell me they call me and i do not answer, what the hell it seems the reception and antenna is really the worst among all my phones I ever owned
[LG V20 Guides, News, & Discussion] mahdibassam:
You are alone there buddy, its either a faulty device or bad carrier. I havent had a single missed call with the V20 - or with any other device for that matter.
[OnePlus 3 Questions & Answers] albaniandroid:
Hey guys im on stock 3.2.8 , i want to flash open beta 9 .. is there any problem about that?
[OnePlus 3 Questions & Answers] LS.xD:
What do you need to know?
[OnePlus 3 Questions & Answers] albaniandroid:
So im on stock 3.2.8 never flashed beta..and i want to flash open beta 9 .. is there any problem? I just need to unlock bootloader and flash it with adb? Thanks
[OnePlus 3 Questions & Answers] LS.xD:
My recommendation:

- unlock the BL

- flash modded TWRP using fastboot

- perform a full wipe using TWRP

- convert "data" partition to F2FS using TWRP

- flash Open Beta 9 uisng TWRP

- flash SuperSU SR5 to gain ROOT access using TWRP

If you need further support, just ask :D
[OnePlus 3 Questions & Answers] albaniandroid:
Thanks alot for your time sir..still have a few questions..is there any way to flash it without twrp..i mean without gaining root..i just want to be on community build ?
[OnePlus 3 Questions & Answers] LS.xD:
sure, you can unlock the BL, use the stock recovery and adb ;)
[OnePlus 3 Questions & Answers] albaniandroid:
Thanks a lot bro for your time
[Xiaomi Mi 4] rdbhaxor:
I am using a mi4 . Here is the rom info

i.imgur.com/b9h5e6f.png

i want to update to miui8 . but whenever i try to update via the updater it says no update is available. Any solution ? my locale is set to india
[Note Edge General] gnik luap:
I have found new Note Edge phones at two T-Mobile stores near Atlanta. Should I use my Jump plan to get one?

I love my regular Note 4 and was planning to hand it off to my wife when I got a Note 7 (replacing her Note 3). A few days ago the Note 4 started claiming the battery was too cold and refusing to charge, then said it was too hot and shutting down after 30 seconds of up time. The warranty replacement is backordered, but when it comes in I might switch to a newer phone. I really need to keep a stylus phone, so what do you advise?
[Note Edge General] ubigred:
So what did you decide on?
[Note Edge General] gnik luap:
I decided to get a Note 5, despite the glass back, non-expandable memory, and sealed battery. At least it'll get one more OS update,and my wife always uses a heavy case, so I can pass it on to her when I get a Note 8.

The problem now is that every store I called said they had sold the last Note 5 and don't know when or even if they'll get more in. I even looked for a refurbished on the Samsung site, but they just point back to Tmobile.

My replacement Note 4 is in great shape, but it seems to lose the GPS signal pretty often.
[Note Edge General] ubigred:
Still have my Note 4 waiting on something better. Note 8?
[Note Edge General] gnik luap:
Yes, I don't think Samsung will kill the Note line, so there'll be a Note 8 release next August or September.
[Mogul, XV6800 General] motrid:
Has anyone found a way to have the time zone automatically change when flying to a different zone? All my past phones did this automatically,

thanks

motrid
[Mogul, XV6800 General] Shadowmite:
Windows mobile doesn't do this on purpose. If you use calender and have lots of entries they need to be tracked accurately to your present timezone. Thus when you cross a timezone, simple go into the clock settings and setup "visiting" timezone to where you now are and select it. That will start the process of re-timing all your meetings and entries to the "adjusted" times for the new zone.
[Mogul, XV6800 General] motrid:
Shadowmite,

Please excuse my belated thanks, I just read your resonse today. I missed this thread completely.

Thank you for the clear explanation, I will simply adjust the "visiting" time to match where I am.

Thanks again!

Joe
[SuperSU] Spielmops:
I'm familiar with rooting. Today was the first time that I had not rooted a device within an hour.

The story:

Device is Huawei Mediapad T2 10 Pro. I unlocked it via Huawei unlock-code, flashed TWRP and booted into TWRP. From there a made a complete backup and when I wanted to leave TWRP it asked me to install SuperSU. OK. I started the tablet again to system and locked for SuperSU, but that was only an installation app, that needed a data-connection. I declined and deinstalled that app.

Booted into Recovery again and installed this file: BETA-SuperSU-v2.71-20160331103524.zip. Installation went fine without error-messages. When I had booted into system, there was no SuperSU- Icon as normal. But when I looked into the folder /system/xbin I found su. So that is ok.

I always use a sd-card while rooting and on this storage I copied several useful apps like Fdroid, TotalCommander and SuperUser from Fdroid the version for Lollipop with the black label. I installed this and could start it, but the app froze several times, when I wanted to edit the settings.

Ok, test: started TotalCommander and clicked on the Folder /data. Normally now I get the question to allow root to TC, but no! Nothing! TotalCommander was unusable. I uninstalled SuperUser.

Back to TWRP: Now I installed the file: SuperSU v2.78 SR5 and booted to system. same tests and no change.

I have no clue what's going on, have you? Need advice ...

Spielmops
[SuperSU] mattzeller:
You need to install the supersu app

Sent from my SCH-R220
[SuperSU] Spielmops:
You need to read posts:

You need to think of full-quote ....

Spielmops
[SuperSU] Spielmops:
Found the solution myself: SuperSU was deactivated. How? No clue! When I activated SuperSU, all enquiries came nearly at once, I answered them and the system was OK.

Spielmops