yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy Note 8 Guides, News, & Discuss] PajammasBinLaden:
the %80 max battery issue

I've enjoyed a rooted Note 8(sm-n950u) Nougat7.1.1 for over a week via samFAIL method and am quite thankful to the samfail/pwned team for providing it.

The max battery issue is the only drawback as far as I've noticed so far. I have a nice and speedy phone that is devoid of bloating apps, and vendor/carrier garbage.

As far as the max battery issue, I've done some digging and haven't found a cure yet.

I've noticed a couple things.

in /efs/Battery and in /sys/class/power_supply/battery there is a file named batt_capacity_max that has something to do with the max battery limit which is obvious by name of course.

Notes:

1. You can not change the value in /sys/class/power_supply/battery/. You can edit and write the file without any error or sign of failure; But checking the file immediately afterwards, you'll find that the contents did not change.

2. You can change the file in /efs/Battery/, but the contents are reset upon reboot.

3. The file contains only a number.

In my case, batt_capacity_max contains the number 1000 regardless of the charged state. i.e. It is 1000 when the phone if charged to max, and it is 1000 when the phone is nearly drained.

I change the value to see if it has any effect, and it does.

I interpreted the 1000 as binary 8, and changed to number to 1010 (binary 10). Then I charged the phone only to find that I could not charge the phone past 17% eep! This wasn't a problem though as rebooting the phone or returning the file to its original value restored the function to normal(rooted normal, that is..max 80%).

I've also deleted the file, then charged the phone to find that there was no effect.

I then came across a slightly older xda thread charge to 100 snapdragon root(s8 sampwn)

The thread had a great number of contributors and provided a great deal of background info, but the method described therein has become obsolete or does not apply to the Note 8 i believe.

If anyone has discovered anything effective regarding the battery max limit, I hope they will contribute that info here, or at least link to an existing thread that I may have missed.

One thing I would like to understand is what processe(s) are being employed in this battery limit system. Is it merely a sub-function of the SafetyNet, or something else? I've filtered what I believe are the pertinent logs(dmesg and logcat) trying to find reference to batt_capacity_max but have come up empty.

I have't tinkered with this in a couple days, but I plan to get back to it tomorrow. Anyone has ideas or suggestions, please contribute. personally I don't really care wether I "fix" this issue as much as I am using this pursuit to glean a better understanding of the android/samsung subsystems relative to it. .. to fix it, of course, is ideal.
[AT&T Samsung Galaxy Note 8 Guides, News, & Discuss] DarkkEnergy:
delete
[P8lite Q&A, Help & Troubleshooting] kingsoomro:
hi dear my huawei p8 lite otg not work plz help me
[P8lite Q&A, Help & Troubleshooting] D1stRU3T0R:
It doesn't has OTG support...
[Honor 7X  Questions & Answers] ZB2016:
Hi,

the first time after years of installation of custom roms ... seems it happens to everyone once a while. What happened? I installed TWRP and Magisk with a bit of trouble but finally it worked well. Put the box aside to finalize installation a day later. During the night an OTA update came in together with a Magisk v15 update. So in the morning not really fresh in my head I looked on the display, thought it was my son's 7X (which is untouced on stock rom) and accepted installation and reboot ... BAMMM ... only the line "Your device is booting now ..." gets added to the unlock message screen, that's it. TWRP can still be reached, it is the only mean of shutting the box down, since holding down the power button until shutdown gets it back to the boot screen.

AH ... just for completeness: It is a BND-L21 ... or at least it has been one.

Update: After another night just laid down and switched off even TWRP is gone, now the EMUI recovery gets booted. No way to shut down the device besides let it drain the battery. I have no idea what this piece of crap will do after next reboot.

Already checked: There is currently no way to download the stock rom. And also the EMUI recovery can't locate a downloadable package on the servers.

Second Update: I still can reach TWRP by pressing all 3 buttons together during boot. By this I can get to bootloader and it gets recognized by fastboot on connected PC. But the EMUI resore kicked in again and now TWRP is again on just Vol+ together with PWR. TWRP is not able to save the settings (e.g. TZ). Is there a corrupted file system responsible for some of the issues? Power off initited by TWRP can only be reached if no charging USB cable is connected.

Any help or any idea? Tnx in advance. :good:
[Honor 7X  Questions & Answers] SVR:
Restoring the backup is the only solution it seems.
[Honor 7X  Questions & Answers] ZB2016:
Yes ... hmmm ... backup ... that was what I intended to do that morning when the BAMMMM happened. I really had a bad start with the 7X ...

So in case someone has a backup of a clean or nearly clean system partition, please send me a PN. Tnx in advance!
[Honor 7X  Questions & Answers] letschky:
Normal make a Backup in Twrp before modify the System Partition.

Make not an Official Ota Update with Rooted and Twrp installed Rom
[Honor 7X  Questions & Answers] sid21:
Its not the phones mistake that you mess up and wakeup and take the phone for a spin in half sleep

and bamm, i really dont know what that meant. i would say go to the honor care center and get it to them to work.

the procedure which i know of is tough and things like bamm happening might worsen things like TWRP not starting at all.

i have seen people bricking their phones but its never the phones fault.

i would never recommend doing a "BAMM" thing doing and flashing all the stuff randomly cz i dont think magisk is supported fully yet to our phone and you flashed it without asking anyone.

the other russian forums are flashing chinese stock firmware which is the only original firmware available, but the task to change the settings to work for other variant is a huge stock which i gave link to a few people but for you i wont recommend that cz obviously your situation is totally different so go to the honor center and explain them and they would help you.

good luck! next time verify and be careful before flashing anything at random cause its not the phones fault.
[Honor 7X  Questions & Answers] ZB2016:
Thanks for help, guys. Really ... even though it helped me not a single bit.

My activity has obviously not been on purpose. 2 phones, both looking exactly the same and they are without any apps so far. Since TWRP installation did not went smooth I will not tweak my son's device, therefore even if I have a second device more or less available, I will not touch it to get a system backup. And yes, TWRP backup should be the first thing to do but I have not had the time at that moment. So ... it is the way it is. Magisk is been described as a recommendation at another site, therefore I put it in also for the root hide functionality (my son loves Pokemon go, which will not run on rooted phones), because I wanted to try it first on my phone. Bad luck I would say.

And yes, I'm quite clear about the fact, that the computer just does what you tell it to do ... if you ruin the areas where the OS is located, then it is your own fault and not the device's. Nevertheless it freaks me a bit.

I am really looking forward for a nice AOSP or LineageOS version for the 7X. Oreo or Nougat, I'm fine with any of those. But I would expect, that this will take some time.
[Honor 7X  Questions & Answers] sid21:
I have sent you the pm for a procedure i know of been tested by members of the other forums but since their language is russian i was skeptical and i asked a few devs to test it but none have tried it yet.. Im sending u the link and use google translate but obv.. No one from xda can help you if its from another forum.. Test if you want to at your own risk.. Good luck.. Or wait for a release
[Honor 7X  Questions & Answers] ZB2016:
Thanks a lot, you made my day. Iwill at least try to investigate the content of the articles. If the translation leads to confusing sections, I will hand over the phone to the care center as you suggested earlier. Again ... YOU REALLY MADE MY DAY!
[Honor 7X  Questions & Answers] sid21:
I am in contact with the user who posted the article and tested it himself and requested a proper one in english language but he is busy so it hasnt proceeded.. But soon he ll be free to write one up for me so i will post it on XDA..
[Honor 7X  Questions & Answers] sasuke33:
I'm in a very similar boat. The Magisk v15 update bricked my L24. I had another one available and have made back ups through twrp to restore on the bricked one. It actually boots, but all I get is a black screen with the menu, home, and back buttons now. Holding power gives me the options to restart and power off. Hope they release the stock rom soon, or custom roms be available soon.
[Honor 7X  Questions & Answers] Sudeep Duhoon:
root your son's 7x, make a boot and system backup and restore that in your phone.

reboot
[Honor 7X  Questions & Answers] sid21:
Kindly refer to my thread for the procedure in order to unbrick or flash the stock firmware : Link to the thread
[Honor 7X  Questions & Answers] ZB2016:
As long as the 7X behaves unusual compared to other phones that I know (entered Android's world with Gingerbred), I will not customize my son's device.
[Honor 7X  Questions & Answers] ZB2016:
Back to life ... at least about 80%. Rooting leads to corrupt system partition (unable to boot afterwards) and bootloader can only be reached while a USB cable is connected (unusual behaviour). Nevertheless ... got it running. SID ... you are my hero of the day. Will PM you regarding comments for your thread.
[Honor 7X  Questions & Answers] Sudeep Duhoon:
i think i have to write a guide now. this was the first but more can come soon enough. may be today i'll write a guide to backup your phone (all 48 partitions) and then root so you always have all the necessary files to restore it back to life.
[Honor 7X  Questions & Answers] dhananjay 007:
Plz give link of custom rom for honor 7x
[Honor 7X  Questions & Answers] sid21:
Who made custom rom for the phone?
[Honor 7X  Questions & Answers] dhananjay 007:
I don't know

---------- Post added at 11:00 AM ---------- Previous post was at 10:59 AM ----------

I have honor 7x.
[Honor 7X  Questions & Answers] sid21:
So why are you even asking me for a custom rom?

If you know no one has made yet :confused: :rolleyes:
[Essential Phone Questions & Answers] ~~Tito~~:
Does anyone have this issue? When ever I am dialing out, there are times it seems like the call is going through, but I have to "end" the call so the call initiates... Its odd, but generally after that my calls are fine. Doesn't matter if its through Bluetooth, wifi calling, or regular calls through the phone itself.

How can I fix this if there is a fix? Running latest OTA, NMJ51B via Sprint.
[Essential Phone Questions & Answers] rignfool:
I've had this happen across a couple of phones with the Google Dialer... And actually with a Samsung just before I got my PH-1...
[Essential Phone Questions & Answers] cheddaface:
Happens every day to me
[Essential Phone Questions & Answers] Caltinpla:
Nope
[Essential Phone Questions & Answers] Euclid's Brother:
I've had happen several times where after dialing (regular phone app) and it shows the call "connected", it takes about 5 to 10 seconds or so before there is any audio. Once the other end had already answered before the audio comes on, but usually I hear the ringing after the delay. Doesn't happen all the time. I don't make many phone calls out.
[Essential Phone Questions & Answers] Zargone:
I usually see the app hang at the end of the call. Not all the time about once every day or two.
[General Questions and Answers] RealPsygnosis:
I all, i was a pretty happy user of a xiaomi kenzo until my parents brought to me a huawei p10 this Christmas....

I love their gifts, I'm happy this is an awesome phone, but... This stupid kirin =( the community is so sad... No one develops for it.

And there is another thing: to root i have to unlock the boot, but with a new phone in my hand I don't want to break the warranty just yet.

So I can I live without root?

I already know that there isn't an alternative for viper4android.

Is there a rootless alternative for adaway? That doesn't start mining (I read about Netguard)

And an alternative for titanium backup or substratum? And iytbp?

Thank you a lot in advance
[General Questions and Answers] ze7zez:
You can not make scrambled eggs without breaking eggs.
[General Questions and Answers] RealPsygnosis:
I love your answer really but I can't break eggs with this p10 I always mod every phone of mine because I bought it with my money and I was the only responsible of them but if something happens on this phone who tells to my parents that bought it to me?
[General Questions and Answers] ze7zez:
If there was an alternative without root for everything you need, then the android would be vulnerable in terms of security (any understanding of this concept).

Of course, android without root is not 100% safe, but it's definitely more secure than with root.
[General Questions and Answers] Yotoprules:
I'd say wait a couple of weeks, see if the phone is not faulty. If the phone is fine then I'd root it, if something goes wrong you can always re lock the bootloader and install stock Huawei android back.
[General Questions and Answers] Char_G:
Substratum requires root, except on Oreo, and no, there is no app you can use to theme without root.
[Magisk] JohnFawkes:
Please stop putting template=1500 in your props. you can not install even when V15 is installed. it throws an error saying saying please install magisk 15+. you have to put minMagisk=1500. i know wireguard installer 1.1 did this and Systemless_TZData did this. thank you very much and happy holidays and new year to all
[Magisk] jenslody:
"minMagisk=1500" is also in the actual module-template, so if the update to new template is done properly it should be not a problem.

Nevertheless, the change could be stated clearly or magisk can accept it silently (at least for some time).
[Magisk] Didgeridoohan:
According to the release post for v15.0 and the 1500 template, "template" and "minMagisk" should both work...

Great find!
[Magisk] jenslody:
I did not read this.
[Magisk] JohnFawkes:
yes your right. it says it should accept either but when i changed the two modules mentioned from template to minMagisk they both installed with no problems but using template they both gave me the error please install magisk 15+.
[Magisk] jenslody:
@Didgeridoohan already mentioned this issue in the magisk slack-group, so it should be fixed in the next beta/release. Unfortunately until this will be pushed, you have to stick with minMagisk.

And as written before: great find.
[Android Q&A, Help & Troubleshooting] xMenii:
Hello,

I installed bcmon and then I launched it, he asked me for root access, I accepted then nothing, the screen is white. I went to the files ( /data/data/ com.bcmon.bcmon ) there were 4 folders (cache, code_cache, files, shared_prefs) I look at the inside of the 4 files there was nothing

I have Samunsung galaxy J5 2017 SM-J530F 7.0 Nougat

Thanks.
[Android Q&A, Help & Troubleshooting] Teddy Lo:
Try to Reset your phone by holding together Vol+ and Power button , if it doesn't work try to enter in to the Recovery mode

Vol + , Home button and Power key for about 7 second.
[Android Q&A, Help & Troubleshooting] xMenii:
It's doesn't working :/
[Android Q&A, Help & Troubleshooting] Teddy Lo:
See if your PC recognize your phone if it does , try to flash your phone to stock Firmware with odin or with Samsung Smart Switch .
[Android Q&A, Help & Troubleshooting] xMenii:
Already try
[Tilt, TyTN II, MDA Vario III General] bapssystupr3m3:
what does it mean when i start a program and it gives me this message??

TIA
[Tilt, TyTN II, MDA Vario III General] XtreMe_G:
ah yes......i found the solution to your problem here
[Tilt, TyTN II, MDA Vario III General] bapssystupr3m3:
mods can close this now

i reinstalled the program

thx
[General Questions and Answers] allincheung:
Smartisan is one of the few Chinese manufacturers that pays serious attention to its design. The design of Nut pro 2 is quite stunning. More importantly, the specs is quite decent, 4+64, 6+64, 6+128 and 6+256, and i personally will like to go for the 6+128 version、5.99 Inch、Qualcomm Snapdragon 660、Face ID Recognition、USB Type C&OTG&Bluetooth 5.0

What do you guys think?

[IMG="Nut pro 2"]http://5b0988e595225.cdn.sohucs.com/images/20171107/7c2d97e3a4d84724af18351ea1e25b0c.jpeg[/IMG]
[General Questions and Answers] allincheung:
[IMG="nutpro2"]http://img5.pcpop.com/ArticleImages/0x0/4/4295/00429537212318103.jpg[/IMG]

here is another one, red/black/golden, I am into the red version
[General Questions and Answers] reefmonger:
I am also interested in this phone. I am wondering if Google Play can be installed without root?
[General Questions and Answers] allincheung:
Yes, the other day i ask one Chinese online retailer if they can install the google play for us before shipping, they said yes, of course. Here is their selling the 6gb+128gb version: https://www.coolicool.com/smartisan-u3-pro-nut-pro-2-6gb-ram-128gb-rom-qualcomm-snapdragon-660-22ghz-octa-core-599-inch-corn-g-47748
[General Questions and Answers] reefmonger:
Thank you for your prompt reply.
[General Questions and Answers] Smithappens84:
I own it.

Hi guys, I own and love everything about this phone. The design is fantastic, camera is great, screen is superb and the battery life is brilliant etc... There are a few work arounds I'm still having to get used to coming from an iphone, but there really are very few drawbacks.

The few niggly things (being based in the UK) are:

- I can't use Android pay as it doesn't pass Android safety net. Looking online this seems to be true of a lot of Chinese phones and all of Smartisans. This one is a biggie to me.

- All 4 app doesn't work on the phone

- Some of the unread badges (WhatsApp for example) don't show up on the stock OS. I believe this is an Android thing though? Same for no easy way to copy and paste images...

- it says 3G on the network even when you're getting 4G signal and speeds (I tested them using speed test).

Other than these though I couldn't be happier. Especially for the money. The phone really is beautiful, more so than I was expecting.
[General Questions and Answers] flipp0:
Are you still happy with this device? Seems to offer most bang for the buck of all chinese upper midrange phones. Do you have any major problem with notifications, whatsapp for instance?
[General Questions and Answers] apkraven:
Google play market is installed directly without any messing around, but were you able to find a way to root it?
[General Questions and Answers] Hape4:
Another Smartisan owner (from Netherlands)

Hi there, I’m using this phone for about 6 weeks now and I’m happy with it too.

For the money it’s a great device, looking beautifully. The 128/6GB variant is very smooth in all situations.

It’s easy to install Google from the Smartisan store, search for gugi app and afterwards you’ll find Play Services an Play Store working.

Screen and battery life are great, 4g is displayed now (after update) when receiving 4g signal. Before it always said 3g.

Sound quality is average, the camera is not bad but I expected a bit more from it (less pronounced colors, a little less contrast and less noise in some occasions). It seems the hardware of the camera is good enough, it just needs further tweaking in my opinion (i am a camera nerd, owning Vivo Xshot before).

I received already 4 updates, mainly for tweaking and stability but I never encountered a crash so far.

Idea Pills, Big Bang are nice to haves, software features are good but some are not so easy to find out. As are the settings for Google apps.

Notifications of WhatsApp is working for me, however you do need to change settings in the app manager otherwise Messenger and WhatsApp for instance freeze at 5 minutes after closing the app (for battery savings). Therefor it’s important to get settings right.

All in all I think for the money it’s a good buy.
[General Questions and Answers] reefmonger:
I just received this phone with a "global rom" but now it will not update. Does anyone know where I can find the stock ROM and the update procedure. Thanks in advance
[General Questions and Answers] AleXX1976:
I've recieved my Smartisan Nut Pro 2 Smartphone this week! I was so impressed. This is really one of the best looking (and performing) Smartphones.

But as [MENTION=6120764]reefmonger[/MENTION] I have the same problem with the fist OTA update I recieved.

It will download, but when installing it just comes back with: Error --> Press Volume UP + Power button to return...

I'm looking for a way / file to install the update manual. It's about Version 4.1.6. I'm now running V4.0.4.

Hope anyone has got an idea or better: the solution :)
[General Questions and Answers] reefmonger:
I am thinking this problem is created by Gearbest customizing the stock smartisan ROM. See 5:28 point of this video

https://youtu.be/J50iBANw9MA
[General Questions and Answers] Hape4:
Hi there,

I think it is Gearbest ROM related.

Mine is from Joybuy with original ROM and so far I received 4 successful updates.

Even with Play Store installed from Smartisan market.
[General Questions and Answers] AleXX1976:
Thnx All.

I Already discovered it is ROM/ version related.

I wanted to update manual to the new version and then the bootloader said it was a wrong version ...

I should be xxxxxxx (forgot the name) and I have the xxxxxxx.hawai version ...

So a difference in Chinese / Global / international version ??

I'll take a look at the youtube film a poster added earlier ...
[General Questions and Answers] reefmonger:
https://youtu.be/Y2hRCAUO8DI
[General Questions and Answers] limestar:
I just ordered the 6GB/64GB version which apparently has the new rom with OTA support. It arrives on Wednesday. I really love how customisation the OS is! Just a shame we can't have Android Pay working in the UK!
[General Questions and Answers] reefmonger:
What are they doing now?

https://www.gizmochina.com/2018/03/...l-9-launch-event-could-it-be-launching-nut-2/

---------- Post added at 10:49 AM ---------- Previous post was at 10:47 AM ----------

https://www.gizmochina.com/2018/01/21/smartisan-announce-revolutionary-product-may-15/

---------- Post added at 10:50 AM ---------- Previous post was at 10:49 AM ----------

https://www.gizmochina.com/2018/01/21/smartisan-announce-revolutionary-product-may-15/