yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Q&A, Help & Troubleshooting] MisterT87:
Yep you right, didnt think about to "monitor" electrical charge from USB directly... Thanks :D

I know reading electrical charge out from USB dont show the exact amount of power... I mean you have power loss from the USB resistors (I think) :)

A friend of mine told me also: I have to test more then one "USB testers" - reason: some (not all) passthrough the quick charge signal properly -> phone charging fall back to USB charge on 500mv -> more tollerance from USB tester (If I dont misunderstood) ;)
[Nexus 5X Q&A, Help & Troubleshooting] peterpv:
The USB method will always have some error. But "some (not all) passthrough the quick charge signal properly" isn't relevant, if that is the case then the phone will simply charge slower. Also the Nexus 5 can only use 5V as the USB voltage, it doesn't support 9 V or 12 V Quickcharging at all.

How accurate the USB method is depends on how the phone is designed and how you charge it. When the phone is active (switched on) it will consume some power which is added to the measurement. So I switch my phone off when testing it. Then always some energy is lost in the charging circuit. It depends on how it is implemented.

To really accurately measure the battery capacity you'd have to disconnect it from the phone and connect it to a charger (or discharger) that can measure battery capacity. But then there's the issue of what voltages to use as "empty" and "full" voltage. If you'd charge the battery to 4.3 V you get a bit more capacity but it stresses the battery more resulting in a shorter lifetime. That's why 4.1 V or 4.2 V are more commonly used as the "full" voltage. It is similar with the "empty" voltage, lower gives more capacity at the cost of stress on the battery.

All in all, battery capacity can only be measured accurately under strict and well defined conditions. But for a rough indication the USB method works well.
[Nexus 5X Q&A, Help & Troubleshooting] MisterT87:
OK understand.

Is there any percentage, voltage or other value on liion batterys to identy it as "dead" ? I mean a "common" value to identy dead liion batterys or do they differ ?
[Xiaomi Mi 8 Questions & Answers] Flash-User:
Hi,

is anybody able to get encryption working on MI8 under xiaomi.eu Rom?

I tried several times with "old" Android O and new Android P Roms from Xiaomi.eu, but after "encryption" my data partition was useless and I've to format my phone completely.

I'm on the newest 'unofficial' recovery-TWRP-3.2.3-0918-XIAOMI8-CN-wzsx150.zip and on xiaomi.eu 8.9.20.

Thanks
[Xiaomi Mi 8 Questions & Answers] t0mas_:
hi!

you need to edit vendor/etc/fstab.com

in the file there is "encryptable=ice", you need to change that to "fileencryption=ice"

but you need to format data after that, i dont think it will work if you dont
[Xiaomi Mi 8 Questions & Answers] gulp79:
interesting... next time i've to do a clean flash, 'll try to encrypt the device. Hope it works.
[Xiaomi Mi 8 Questions & Answers] Gunshin82:
Hi t0mas,

I don't have ventor on the phone but I've found vendor, can you confirm whether it was a typo or not?

As for the file itselft, I found a resemblence named fstab.qcom in /vendor/etc/.

Fyi I'm on Mi 8 8.9.24 Xiaomi.eu ROM. In order to search for the file mentioned in your post, I went through TWRP and mounted Data, Cache, System, Vendor and Persist.

Thanks for your assistance
[Xiaomi Mi 8 Questions & Answers] SpiderSGS6:
Hi

Does it work this way?
[Xiaomi Mi 8 Questions & Answers] t0mas_:
oh sorry about that, of course it is a typo. i ment /vendor/etc/fstab.qcom

edit:also roccected my original post to avoid confusion
[Xiaomi Mi 8 Questions & Answers] Gunshin82:
Thanks, I'll give it a try and let you know if everything worked out fine.

---------- Post added at 01:32 PM ---------- Previous post was at 12:51 PM ----------

So in TWRP, I've renamed the fstab.qcom to old_fstab.qcom_old and copied the modified file to /vendor/etc and did a data wipe. I've rebooted the phone to system but it goes to TWRP splash screen and stays there. If I reboot the phone again, it just reboots to TWRP splash screen so my phone is pretty much stuck.
[Xiaomi Mi 8 Questions & Answers] t0mas_:
did you set correct permissions? another thing I did is flash magisk. other than that it should work as far as I know...
[Xiaomi Mi 8 Questions & Answers] Gunshin82:
My phone isn't rooted.

Right now, I can't do anything, even tried to connect it via adb but it doesn't list when I type the command adb devices
[Xiaomi Mi 8 Questions & Answers] t0mas_:
and you did format userdata?

try starting with that. format, not wipe. you have to type in "yes" to confirm. internal sd will be wiped.

flash rom again. adb pull the file, edit it, insert it it attached zip and flash that. download latest magisk and flash that. if that doesnt work, i have no idea, sorry
[Xiaomi Mi 8 Questions & Answers] Gunshin82:
I can't do any of that because the phone doesn't go in the TWRP menus, it stays at the splash screen.

I've managed to access the phone via adb but I can't access /vendor/etc/. I'm trying to put back the original file in place but when I do adb shell ls /vendor/, the only thing I see is compatibility_matrix.xml, lib64 and manifest.xml.

I'm also looking at the option of flashing the vendor partition with an image file but I can't seem to find the chinese ROM for v8.9.24

---------- Post added at 03:21 PM ---------- Previous post was at 03:07 PM ----------

I can't because it doesn't go into the TWRP menu, I'm stuck at the blue splash screen.

I've managed to connect to the phone via adb but can't seem to access /vendor/etc/. When I do adb shell ls /vendor/ the only thing I see are compatibility_matrix.xml, lib64 and manifest.xml

**double post, sorry for that, I didn't see that my post went to the second page**
[Xiaomi Mi 8 Questions & Answers] t0mas_:
now you lost me a bit. twrp splash or xiaomi splash screen?

if twrp, you are accessing twrp system from adb, which is separate from phone. you can try to boot in fastboot and format cache. still you did you format or wipe data before that happened? that is important.

edit: you can also format userdata from fastboot
[Xiaomi Mi 8 Questions & Answers] Gunshin82:
Yes, TWRP and that's where I'm accessing adb.

Not sure how to format cache in fastboot, I'll look it up

Here are the steps that I did:

1-Copy the file fstab.qcom

2-Modify the copy

3-Boot in TWRP

4-Renamed original fstab.qcom in /vendor/etc to old_fstab.qcom_old

5-Copied the modified fstab.qcom file to /vendor/etc

6-Wipe Data

7-Reboot to system

Since then, I can only reboot to TWRP splash screen or fastboot
[Xiaomi Mi 8 Questions & Answers] t0mas_:
as far as i can tell, you did 2 things wrong

1 is you didnt format data

2 didnt set permissions

maybe 3 that backup file.

do this

fastboot format cache

try to reboot into twrp, be sure it doesnt get to booting into system

if this works, backup your sd and format userdata

if that doesnt work, boot into bootloader again

format cache again just to be shure

fastboot format userdata

this should get you to twrp. there you can flash eu again and try to boot. as far as i know eu contains vendor, so you should be fine.

if this doesnt work, the next thing i would try is to fastboot flash stock rom. be sure not to lock bootloader! in this case you might end up with a hard brick.
[Xiaomi Mi 8 Questions & Answers] Gunshin82:
I'm editing my answer because it crossed your response.

So I'm guessing that Wipe Data isn't the same as format data... As for the permissions, I don't see anything regarding this, can you give me more details?

So I did a format cache and then rebooted and went directly to TWRP but it remains on the splash screen so can't access the menu.

Next step, I'll try to format the userdata as suggested and flash eu rom
[Xiaomi Mi 8 Questions & Answers] t0mas_:
maybe reflashing twrp would also help
[Xiaomi Mi 8 Questions & Answers] Gunshin82:
I'm able to access the TWRP menu. Right now I'm copying the ROM from Xiaomi.eu. I tried sideloading it but it couldn't read the file for some reason. Transfer just finish, I'll flash the rom via TWRP and get back to you after. Thanks for you help on this!!
[Xiaomi Mi 8 Questions & Answers] t0mas_:
no problem, im glad you got it working.
[Xiaomi Mi 8 Questions & Answers] Gunshin82:
Ok so ROM installation is done and I've pulled the fstab.qcom from vendor/etc and it's back with the encryptable variable. Phone reboots in system without any problems, just need to reconfigure everything, good thing I backed up.

I'll still need to encrypt the phone. You've mentioned the steps that I did wrong. Could we go through the proper steps for this?
[Xiaomi Mi 8 Questions & Answers] t0mas_:
dont restore the phone yet

edit file

put it in the zip i posted on prevoius page

go in recovery

format userdata->confirm with typing in yes

flash zip

i allways flashed magisk also, not sure if this is necesarry

if you just flash without formatting, you will probably break stuff again
[Xiaomi Mi 8 Questions & Answers] Gunshin82:
Sorry, I had to leave last night so I wasn't able to give it a try. I'll look into it some more this weekend if I have time.

So to be clear and make sure that I don't mess up this time:

Boot in TWRP

adb Pull fstab.qcom file from /vendor/etc

Update fstab.qcom by replacing encryptable=ice with fileencryption=ice

Put the file in your zip file in /vendor/etc

Format user data by going in Wipe, then press Format Data and type yes

adb Push zip file on storage (/sdcard/download for example)

Then install the zip file via Install in TWRP

The Magisk part, I'll skip because one of the security checks done by Outlook for my work emails is that the device isn't rooted. Hopefully this won't cause any issues.

Once this is done, just need to reboot and view the results. Before the install part, do I need to make sure that any particular partition are mounted other than vendor and data (zip file location)?
[Xiaomi Mi 8 Questions & Answers] frale98:
It Works!

Hi all, thanks to this thread I managed to encrypt userdata partition of my MI8 running latest Xiaomi.eu MIUI10!
[Xiaomi Mi 8 Questions & Answers] gulp79:
What method you used?

That reported by Gunshin82 ?
[Xiaomi Mi 8 Questions & Answers] frale98:
Yes,

It works like a charm.

Inviato dal mio MI 8 utilizzando Tapatalk
[Xiaomi Mi 8 Questions & Answers] GiSK:
So what happens after you encrypt it? Do you have to do all this again for the next update?
[Xiaomi Mi 8 Questions & Answers] t0mas_:
yes or it won't boot
[Xiaomi Mi 8 Questions & Answers] lolo9393:
Thanks to All

This stuff is working well.

I've encrypted my 8SE following the guides. (miui9.0)

That's perfect!
[Xiaomi Mi 8 Questions & Answers] gokhans:
Is that work with MIUI Global 10.2? Thanks.
[Xiaomi Mi 8 Questions & Answers] cracktrix:
Works correctly on xiaomi.eu 10.3.3.0 stable in my dipper. Thx...
[Xiaomi Mi 8 Questions & Answers] roldev:
On my Mi 8 Lite TWRP don't ask for password. What I done:

1.Format data, coming from 10.3.7 pie eu stable. TWRP latest 0517.

2. Flashed fcencript.zip, replacing encryptable=footer with fileencryption=ice in fstab.qcom. fileencryption=footer results phone boot only on recovery (tested)

3. Installed the same ROM, added PIN.

On settings I get phone encrypted.

Booting to recovery don't ask for password and the data is visible.

Any idea what happened and how to fix?

Thanks.
[Xiaomi Mi 8 Questions & Answers] t0mas_:
what I do to make it work is format data, wipe system, flash rom, flash forceencrypt, flash magisk, than boot. if you boot first and then flash forceencrypt it won't work afaik.

---------- Post added at 10:58 PM ---------- Previous post was at 10:55 PM ----------

also, you should replace fileencryption=encryptable with fileencryption=ice.
[Xiaomi Mi 8 Questions & Answers] roldev:
Thank you, [MENTION=2686243]t0mas[/MENTION]. I done this without wipe system. I read few years ago that the /system partition shouldn't be wiped for xiaomi eu rom. Never wiped. I will do the same as you:

1. Format data

2. Wipe /system (or need to wipe more things here?)

3. Flash ROM

4. Flash Forcencrypt - my original fstab was encryptable=footer (not ice), I replaced with fileencryption=ice (is OK?)

5. Flash Magisk

6. Reboot to system

Seems OK? Thanks, again.
[Xiaomi Mi 8 Questions & Answers] t0mas_:
in that case I have no idea how to modify your fstab... try pulling it from original xiaomi rom and try changing according to that. I am guessing though...

gl
[Xiaomi Mi 8 Questions & Answers] saifssj6:
Hi, i have been trying to encrypt my mi max 3 on eu rom. Can some one please help me with this?
[Xiaomi Mi 8 Questions & Answers] roldev:
I finally encrypted on MIUI 11 EU. Encrypt Phone from Settings works fine. No need to bother with other (obsolete) methods.
[Xiaomi Mi 8 Questions & Answers] Seyaru:
Hi with MIUI 11 EU Stable or Beta?
[Xiaomi Mi 8 Questions & Answers] roldev:
Stable. I need my phone and data for work, so weekly is time consuming. I stuck with Stable.
[Xiaomi Mi 8 Questions & Answers] saifssj6:
Hey

Do you have twrp installed? I switched to stable, but i still cannot encrypt, it just reboots
[Xiaomi Mi 8 Questions & Answers] roldev:
Sure, I have TWRP latest for my device. Supports encryption. TWRP ask for pass and decrypt and mount data correctly.
[Xiaomi Mi 8 Questions & Answers] Agimax:
Let's not get everyone paranoid. Anti-Rollback is still at "1" meaning it is not yet fully enabled. I have proven along with others you can successfully downgrade even to MIUI 9 Global Official 9.6.7 (8.1). Please don't spread mis-information to users. Check yourself. Boot to fastboot mode, then enter "fastboot getvar anti" in the terminal. If it returns a "1" or lower or errors returning nothing -it is not yet enabled.
[Xiaomi Mi 8 Questions & Answers] roldev:
Sorry. I saw such question in this threads and tried to cited the xda:

https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/

If you are sure that 100% of Mi 8 are safe to rollback I trust you. I don't do ROM development. Just tried be hopeful.

Peace.
[OnePlus 6 Questions & Answers] STEKAM:
Hello Guys,

i recently add the new pie update and i do have some question

1 Why dont we have the standard "app" provided by Android Pie which give the usage per app

2 Didn't they tell they would enhance the gesture ( when you remove the onscreen navigation button ) as the "iPhone" ?

3 In the screenshot attached bellow : is there any way to remove that f*ck*ng "Manage notification" ? because i get it, i can manage the notification but that button is wat too big and sometimes i mixes the manage notification and remove all notification button

gracias a todos!
[Lenovo K6 / K6 Power / K6 Note ROMs, Kernels, Reco] Ravuri yaswanth:
PITCHBLACK RECOVERY PROJECT FOR LENOVO K6 POWER

/*
* Your warranty is now void.
*
* We're not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

PitchBlack is a TWRP based on TWRP 3.2.1-0 developed by Reza Adi, maintained by Manjot Sidhu and Mohd Faraz and themed by FireWolf.

Download:

KARATE
​

How to flash:

-Just flash from Existing Recovery.

Credits:

*Based on TWRP version: 3.2.3

*Authors build : [MENTION=9252126]Reza_adi[/MENTION], [MENTION]Mohd Faraz[/MENTION]

*Developers : [MENTION=9252126]Reza_adi[/MENTION], [MENTION]Mohd Faraz[/MENTION]

*Thanks : [MENTION=9252126]Reza_adi[/MENTION] P - Indonesia (Owner / Lead Developer PBRP), [MENTION]George Pasakalis[/MENTION] (G.M.L) - Greece (UI Developer), [MENTION=8102966]firewolfxda[/MENTION] - Bangladesh (UI Developer), [MENTION=5207230]Manjot Sidhu[/MENTION] - India (Source Maintained), Mohd Faraz - India (Co-Lead Developer, Source Maintained), [MENTION=6474405]Arbaz khan[/MENTION] - India (Source Maintained), PitchBlack Recovery, [MENTION=8393345]ATG Droid[/MENTION] & [MENTION=3792100]dadi11[/MENTION] (Redwolf Developer) for MIUI OTA Support

XDA:DevDB Information

PitchBlack Recovery, Tool/Utility for the LENOVO K6 POWER

Contributors

karthick mostwanted,Ravuri yaswanth

Source Code: https://github.com/PitchBlack-Recovery

Version Information

Status: Stable

Current Stable Version: 2.8.1

Created 2018-09-24

Last Updated 2019-05-15
[Lenovo K6 / K6 Power / K6 Note ROMs, Kernels, Reco] Ravuri yaswanth:
some photos of PBRP
[Lenovo K6 / K6 Power / K6 Note ROMs, Kernels, Reco] kunaldas65:
why not 3.2.3
[Lenovo K6 / K6 Power / K6 Note ROMs, Kernels, Reco] Ravuri yaswanth:
Source not updated ;-;
[Lenovo K6 / K6 Power / K6 Note ROMs, Kernels, Reco] kaisar11:
Nice work man... Keep it up :)
[Lenovo K6 / K6 Power / K6 Note ROMs, Kernels, Reco] Ravuri yaswanth:
Thanks :)
[Lenovo K6 / K6 Power / K6 Note ROMs, Kernels, Reco] Ravuri yaswanth:
New update

Download the build from here

PBRP for karate

CHANGELOGS:

1.Source upstream

2.Based on twrp version 3.2.3

3.Fixed internal storage issue
[Lenovo K6 / K6 Power / K6 Note ROMs, Kernels, Reco] Ravuri yaswanth:
New update

Download the build from here

PBRP for karate

PBRP for karatep

CHANGELOGS:

1.intial support for pie roms

2.Added support for karatep too
[Lenovo K6 / K6 Power / K6 Note ROMs, Kernels, Reco] pranayadmn:
Nyc bro:good:
[OnePlus 5T  Questions & Answers] rushier.ivan:
I was reading some posts in oneplus forums and somebody mentioned about NitrogenOS Pie for dumpling. I got curious and googled it.

No luck finding a thread.. only this: https://androidfilehost.com/?fid=1322778262904009850

I dunno. Anyone here running this ROM? :confused:
[OnePlus 5T  Questions & Answers] Jamie_oppo:
I've compiled it too. If you search in the questions and answers here you might see my thread "help with compiling nitrogen"

I compiled with gzosp sources and it doesn't boot but it nitrogen was never compilable before but it is now. Soon we will have it.
[OnePlus 5T  Questions & Answers] moraskater:
So.. nitrogen not working? Have to wait?
[OnePlus 5T  Questions & Answers] rushier.ivan:
Yup. Just got confirmation on G+ that he's the official maintainer. I discovered it in an embarrassing way tho. lol :fingers-crossed:
[OnePlus 5T  Questions & Answers] Jamie_oppo:
Does that one link work or he's working on it?
[OnePlus 5T  Questions & Answers] m_reyna_16:
Has anybody tried it? Curious to know what features are working
[OnePlus 5T  Questions & Answers] rushier.ivan:
I think he's still doing tests for it. That's why it has no thread yet. I dunno :eek:
[Razer Phone Guides, News, & Discussion] spooke:
Spoke to the Live support for an issue I was having, thought I'd ask about Android P update coming to our phones. Seems like it is! :fingers-crossed:

Mobile Support

As of August 2018 Google, has begun to roll out Android P to select Pixel Phones. Razer will be working with Google to release Android P for the Razer Phone. We do not have a defined release date yet and the dates may vary based on your region and mobile provider. To ensure you get the release as soon as it is available, please be sure your Razer Phone always has the latest software updates installed.

7:25:02 AM

What are your thoughts, will we get it?
[Razer Phone Guides, News, & Discussion] tay200k:
Early next year is my bet.
[Razer Phone Guides, News, & Discussion] freemini:
That’s my guess as well. Logically I’d assume it would be much faster considering the P GSIs already work for the most part. If the Razer Phone 2 launches with P, it might be sooner than that though.
[Razer Phone Guides, News, & Discussion] tay200k:
Yeah let's hope! This is truly my most favourite phone I've had in years.
[Razer Phone Guides, News, & Discussion] Yorita Yoshino:
Wow!This is a surprise.
[Razer Phone Guides, News, & Discussion] SeriousFlash:
I'm no fortune teller but if the Phone 2 doesn't come out with Pie I think we'll get it end of Q1 2019, same as Oreo for Phone 1.
[Razer Phone Guides, News, & Discussion] shalomjackie:
Android 9

Just got off web chat with razer support. They said the mobile team are in the 'middle' of releasing pie.

No idea how long that means.
[Razer Phone Guides, News, & Discussion] bartmw:
I found this: https://www.androidauthority.com/razer-phone-2-android-pie-update-954889/

It said in article that Razer rolling update for Razer Phone 2 on 27th Feb, hope Razer 1 will have update at the same time.
[Razer Phone Guides, News, & Discussion] nexy33:
Gave up on all things Razer had a full desk set Blackwidow v2 keyboard naga trinity mouse

kraken v2 7.1s firefly chroma mat and a razer orb weaver, razer phone 1 and pretty much every phone case made including the official ones and some that were 3d printed, and hammerhead usb cs I bought with the phone, Min-Liang Tan made some huge boasts on the support side regular updates fast fixes he's full of crap talks bigger than he can back up abandoned like the nextbit robin guys, anyone who buys stuff of razer pray you don't have a warranty claim , synapse 3 has been beta for 2 years and it still doesn't support half their products, 1 product can mean having to run v2 and v3 and either set your lighting to a fixed colour as chroma wont sync between the 2 programs.

TL:dr good hardware let down by mickey mouse software
[Razer Phone Guides, News, & Discussion] matt0323:
Razer phone 2 OTA update to Android P already in place. I guess Razer phone 1 will not be getting Android P.
[Razer Phone Guides, News, & Discussion] ChaoticCompound:
It says on this page that RP1 is under evaluation for Pie, whatever that means https://support.razer.com/mobile/razer-phone-2/
[Razer Phone Guides, News, & Discussion] showdownking17:
Razer Phone 2 from what I've read just started to get there's yesterday.
[Razer Phone Guides, News, & Discussion] guillermohs9:
In any case, the fact that they released Pie for aura makes me hope cheryl gets it too. I certainly don't expect it these days, but maybe in the future.
[Razer Phone Guides, News, & Discussion] sinkoo1979:
At least update the security patch or make the phone work better with GSI.
[Razer Phone Guides, News, & Discussion] 42o247:
what does this mean?
[Razer Phone Guides, News, & Discussion] ChaoticCompound:
Just confirmation that RP1 is still receiving Pie
[Razer Phone Guides, News, & Discussion] 42o247:
is that person with the blue check next to their name associated with razer?
[Razer Phone Guides, News, & Discussion] guillermohs9:
A quick Google search makes it seem like that. It'd be weird if he wasn't related to Razer. Anyway, I wonder what "soon" means to him.
[Razer Phone Guides, News, & Discussion] 42o247:
yeah the razer 2 support site says under evaluation and razer support told me "still under evaluation", then thanks for your patience, all we can do is be patient, and thanks for the positive attitude.
[Razer Phone Guides, News, & Discussion] ChaoticCompound:
Yes that's Min-Liang Tan the CEO
[Razer Phone Guides, News, & Discussion] guillermohs9:
Afaik the RP2 got pie a few days ago so it might need updating?
[Razer Phone Guides, News, & Discussion] 42o247:
the razer 2 page addresses the razer phone 1 as still under evaluation.
[Razer Phone Guides, News, & Discussion] guillermohs9:
So, while we wait on Pie, I just got a 386 MB update, downloaded it, rebooted, and.... Still Oreo 8.1 with July 5th sec patch. It said it was successfully applied, but I expected a bit more... Anybody else got it? I'm on stock (obviously) with unlocked bootloader.
[Razer Phone Guides, News, & Discussion] 42o247:
i didnt get it and there's nothing new on the factory image page
[Razer Phone Guides, News, & Discussion] guillermohs9:
I checked the page while downloading too. Weird.
[Razer Phone Guides, News, & Discussion] spooke:
Got that a while back... nothing new. I'm with Three UK too, we must be due Pie any day really if they're still going to push it out to RP1.
[Razer Phone Guides, News, & Discussion] spooke:
An update from Razer chat.

No idea how long this normally takes but it shouldn't be long?
[Razer Phone Guides, News, & Discussion] leap_ahead:
---------- Post added at 10:25 AM ---------- Previous post was at 10:24 AM ----------

[/COLOR]

thanks for info