yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Joekerz_HxM:
How to fix switch on read mode crash restart

No method echo in framework.jar

Tested in rom epic 7.8.31 nouget

Add method

.method public echo(Ljava/lang/String;Ljava/lang/String;)V

.locals 4

.param p1, "value" # Ljava/lang/String;

.param p2, "path" # Ljava/lang/String;

.prologue

.line 42

new-instance v2, Ljava/lang/StringBuilder;

const-string v3, "echo "

invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v2

const-string v3, " > "

invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v2

invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v2

const-string v3, "\n"

invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v2

invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v0

.line 44

.local v0, "cmd":Ljava/lang/String;

:try_start_0

invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;

move-result-object v2

const-string v3, "su"

invoke-virtual {v2, v3}, Ljava/lang/Runtime;->exec(Ljava/lang/String;)Ljava/lang/Process;

move-result-object v2

iput-object v2, p0, Lmiui/hareware/display/DisplayFeatureManager;->suProcess:Ljava/lang/Process;

.line 45

iget-object v2, p0, Lmiui/hareware/display/DisplayFeatureManager;->suProcess:Ljava/lang/Process;

invoke-virtual {v2}, Ljava/lang/Process;->getOutputStream()Ljava/io/OutputStream;

move-result-object v1

.line 46

.local v1, "os":Ljava/io/OutputStream;

invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

move-result-object v2

invoke-virtual {v1, v2}, Ljava/io/OutputStream;->write([B)V

.line 47

invoke-virtual {v1}, Ljava/io/OutputStream;->flush()V

:try_end_0

.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

.line 50

.end local v1 # "os":Ljava/io/OutputStream;

:goto_0

return-void

.line 48

:catch_0

move-exception v2

goto :goto_0

.end method
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Joekerz_HxM:
No

.field private suProcess:Ljava/lang/Process;

In guide add
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Joekerz_HxM:
Done
[Xiaomi Redmi Note 3 Guides, News, & Discussion] S0bes:
[MENTION=5619330]Joekerz_HxM[/MENTION]

If you use the guide right you can not get these errors you discribed. What I see is you took RMcontrol from somewhere else (like my patch_1) cause it contains echo method. Then you pasted suProcess field cause it used in echo method.

this guide doesn't requires root access so, there's no point in echo method.

instead I use that string in RMcontrol method (in place where was echo method called)

invoke-static {v4, v3}, Landroid/miui/Shell;->write(Ljava/lang/String;Ljava/lang/String;)Z

which does the same as echo method in patch_1 I released for turk rom but without root permission
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Joekerz_HxM:
Ok read mode done now fixed thanks you

Do you know how to fix auto brightness I following this guide

https://xdaforums.com/redmi-note-2/development/autobrightness-fix-miui-roms-t3516409

But stille not work
[Xiaomi Redmi Note 3 Guides, News, & Discussion] S0bes:
well, as I heard not everyone is facing the issue with autobrightness. That could be cause of different sensors phone shipped with. As far as I know there're 2 revisions of light sensor on our device - normal one and the one with gyro bug (when there's less then 10lux phone gyro freezes). You can google the issue, a lot of people facing it when trying to play youtube 360 video in the dark area. So, my point is that the problem with autobrightnes could be hardware related, so there won't be any fix at all. Or may be I wrong. May be we just should copy missing libraries for light sensor (just like with 2 revisions of fingerprint scanner).

What I think you should do is to decompile service.jar from MIUI9 MM beta and look inside .smali files and replace lines or even the whole .smali file according to this https://xdaforums.com/redmi-note-2/development/autobrightness-fix-miui-roms-t3516409

BTW, could you describe what is wtong exactly with autobrightness cause I don't use the rom now
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Doublewise01:
Is it possible to make a universal flashable zip for this mod?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Joekerz_HxM:
Not work latest miui 9 nougat 7.11.16
[Xiaomi Redmi Note 3 Guides, News, & Discussion] amank179:
I tried. But not working in miuipro rom
[Xiaomi Redmi Note 3 Guides, News, & Discussion] amank179:
.method private constructor <init>()V

.registers 3

.prologue

.line 40

invoke-direct {p0}, Ljava/lang/Object;-><init>()V

I find this
[Xiaomi Redmi Note 3 Guides, News, & Discussion] S0bes:
Updated. FIxed
[Xiaomi Redmi Note 3 Guides, News, & Discussion] amank179:
UPDATE 03.12.2017

If the hack doesn't work anymore

it's easy to fix

The instruction is the same except the path. Now it's in services.jar/com/android/server/display/DisplayFeatureManager.smali

And after you paste new code you should replace (ctrl+H)

Lmiui/hareware/display/DisplayFeatureManager

to

Lcom/android/server/display/DisplayFeatureManager

[/QUOTE]

Only this can fix the issue without editing framework.jar
[Xiaomi Redmi Note 3 Guides, News, & Discussion] _Deadpool_:
There is a problem with kcal in custom kernel vs miui9 in mido , every time unlocking screen the colors will reset to default by miui , is their any way to disable this function or miui color engine so we can use kcal in custom kernel . thanks
[Samsung Galaxy S7 Edge Questions and Answers] Hydranize:
Folks I initially tried to root my phone *SM-G935F* using Odin and a CF hero2lte file. The flashing was all good to go with a green pass. Then upon rebooting the phone got stuck on the Samsung logo boot screen with red words at the top that said **Recovery Is Not Seandroid Enforcing**. This being the case all I was able to get into was (Download Mode). I tried to do the samething a few times and gave up after no successful attempts and the phone not being able to successfully reboot.

Fast forward to present I downloaded the phone's firmware which was a zip that contained 4 files (5 total actually because there was another CS file in the event that you wanted to preserve your data etc.). I loaded all of the files in Odin and made an attempt to flash the phone again however it got stuck on *System* and never go to Green *Pass*. So I figured I would try it a couple of more times in case Odin or something just got hung up on the first try. Any how that wasn't the case.

Now with the above being said what did change is when I would try to reboot into *Download Mode* again it said something along the lines of Emergency Smart Switch Recover. I downloaded Smart Switch onto my computer and went through the specific steps to try to Recover the phone using Smart Switch. Now after it was all done I got to the blue screen with the Android and it said *Erasing...* then the phone booted up and its now stuck at the Samsung animation screen. This being said as of current I can now access *Download Mode* and also boot into the black screen or *Recovery Mode* I think its called where I can reboot the phone through a bootloader, power off, factory data wipe / reset, etc etc.

The above being said I have tried the factory reset / wipe. The reboot in bootloader, reboot phone, all with no success.

Also would like to add that before doing all of the above I forgot to tick *USB Debugging* in Developers Mode when the phone was in its normal state. I must also mention that all of this was a first for me and I looked at doing so to try and recover lost data on my phone. Also wanna add that I am not too familiar with ADB or twrp or how to mess with any of that stuff given the limited access I have to my device because it can no longer bootup like it normally would.

I'm currently at a lost of words as to what I can do next as I am out of ideas and could really use some help. I would also be more than happy to donate a little to anyone who is able to help me boot my phone back up and get things back to normal.

Any and all help would be greatly appreciated.
[Samsung Galaxy S7 Edge Questions and Answers] Hydranize:
Folks please disregard my post above as I was finally able to figure things out and get my phone back to its factory state. Thanks.
[Samsung Galaxy S7 Edge Questions and Answers] shah22:
Bro would you tell pls , what you did to restore. Thanks
[Samsung Galaxy S7 Edge Questions and Answers] Hydranize:
After me not being successful with the root or with flashing the stock OEM firmware using Odin the phone would get hung up in download mode and the only difference when it would go into download mode it would say to use SmartSwitch Emergency Recover which is what was used and that fixed the issue and the phone rebooted completely fine.

However the above being said I honestly still feel the phone has some small minor issues that I did try to resolve all with no luck. First off when loading to my home screen the icons, and clock, etc etc take about 2 or 3 seconds longer for them to appear on screen than it used like when the phone was new out of the box.

Other thing to note is for some odd reason this issue was thought to be worked out by just booting into recovery mode and doing a factory reset from there, wiping the cache, etc etc. Well this also didn't solve the issue and for some odd reason when performing this the phone didn't reboot on its own.

Basically how it should be normally is after you select that you want to do a factory reset, wipe cache, etc etc, the phone should normally reboot and go through the entire process by itself, however this was not the case. The phone instead went back to the recovery screen and I had to select reboot rather than it normally rebooting on its own.

I've honestly given up on things and given that it is in working order with just a few small minor hiccups I've decided to give the phone to a family member which they plan to use as trade-in credit towards a new Galaxy Note 8.

That being said I will always have a soft spot for the S7 Edge being it was my first smartphone after I had bought a Sony Xperia Z during the same year but returned it the day after because what was to me being poor quality of the Sony phone.
[Samsung Galaxy S7 Edge Questions and Answers] shah22:
Hmm, looks strange bro , your phone didnt worked after flashing stock rom with odin , and this is the last resort , but you said it was normal before you tried to root , so i guess it was still a software issue other than some hardware problem due to software , but anyways wish you good luck in future , another thing is that my s7 edge has also a very poor build quality , has front camera issues , paint peeling around usb port , wifi issue and high battery degradation , but that happens i guess with today's phones
[Samsung Galaxy S7 Edge Questions and Answers] Hydranize:
The version of Odin I used was v3.10.6. I had tried the most current version and a few others, and from the get go for whatever reason this was the only version that would actually pickup the phone being added. Well wait hold on a second the other version would say added when the phone was in but when hitting start nothing would happen, even after waiting an extensive amount of time, also note that the com was highlighted that blue ish color indicating the phone was being recognized by Odin but once again for some odd reason it was only version v3.10.6 that carried out the process of my root attempt and also the attempt I made flashing the original firmware on it.

As for quality the phone had no paint chip or peeling, neither the silver aluminum frame around it either. The build quality was beautiful and up to par with mine. I had a soft spot for my S7 Edge also because it was in the white color which at the time of purchasing was a bit more scarce than the other colors. I purchased the phone from an Amazon.com seller, and during that time I also purchased 2 others from other Amazon sellers but returned those because they had carrier animations for them that were Band LTE or Brand LTE, whatever its called.

This one had no carrier animation upon boot and turned out to be a UK Nougat model. Haven't really seen or came across another one since that would be from a trusted seller or source. Nowadays you never know what you're getting both on eBay and Amazon from these third party sellers.
[Samsung Galaxy S7 Edge Questions and Answers] shah22:
Yeah thats really strange with odin , its good that you dont have quality issues which struck heavily on me , but yes everyone should be quite careful when ordering online and only should do with trusted resellers
[Samsung Galaxy S7 Edge Questions and Answers] vini3237:
I'm facing the same problem buddy. Could you pass me the process for the recovery that was used?
[Samsung Galaxy S7 Edge Questions and Answers] Hydranize:
What phone are you having the issue with and what are you using that caused the issue? I can possibly try to help you out if I know a little more about your situation and device.
[Samsung Galaxy S7 Edge Questions and Answers] vini3237:
Phone is SM-G935FD

I do not know what caused it, I already got the celuar so, in status it says Custom.

I already tried to blink for odin 3 different Stocks and the same thing continues.

When I got it it could not access the recovery mode, only the download mode was accessible, after flashing the Brazilian Stock 6.0.1 I was able to access recovery mode.

The phone turns on, and hangs at boot, Samsung logo, restarts and stays in infinite looping.

Can it be Hardware?
[Samsung Galaxy S7 Edge Questions and Answers] Hydranize:
Try to flash the original Firmware for it, make sure the Firmware is the one specific to that model, download it and load all of the Firmware files into Odin.
[Samsung Galaxy S7 Edge Questions and Answers] shah22:
Ok now i think what was the problem , you didnt enabled usb debugging , and for flashing with odin its a must ! , for guys who want to flash firmware using odin .. please enable usb debugging in developer options or you will have much issues and may also brick your phone , so if you dont want to enable usb debugging or developer options , just use samsung smart switch on pc to flash your firmware.
[Samsung Galaxy S7 Edge Questions and Answers] Hydranize:
Yeah that was my issue was I had OEM Unlock checked off and one other thing in Developer Options and forgot to enable USB Debugging leaving me stuck in the process when the phone couldn't reboot normally after the flash attempts. But yeah SmartSwitch Emergency Recovery should definitely be able to fix and resolve the issue if the phone can't reboot normally.
[Huawei Nova/Nova Plus Questions & Answers] Lord_shadow:
I have a Nova plus MLA-L01 the build number is NDR90m how to make the right build number to showing up
[Android Q&A, Help & Troubleshooting] Zero502:
Guys I am very new here. I created an account for this problem.

My Internal Storage says that im already occupying 51.89 gb out of 64. So Im wondering why is that since i dont have much movies and games in it.

Then i checked my internal storage and checked it's overall data via highlighting all files and folders and clicking details it said 28.81 gb overall.

SO I DONT REALLY KNOW WHERE THAT PRECIOUS 30 GB IS ! SOMEBODY HELP ME. IM LITERALLY CRYING RN.

Was searching someone who has the same problem but i cant find one ;_;

Update:

Just found out the storage breakdown (Lel pretty dumb sorry)

System Memory: 10.02 gb

Used Space: 24.48 gb

Other: 16.93 gb

cached data: 1.94 mb

Is it normal that the used space is separated from the "Other" AFAIK the used space is everything in the internal storage. Now whenever i select the other it also leads me to the internal storage so I am Very confused. I need Halp
[Moto G5 Questions & Answers] Mathsiel:
I unlocked and changed ROM in a Moto G5, but then the Manual controls on the camera is gone. The app of the Motorola does not work as expected. It has a couple of nice features, like the before mentioned manual controls and slow motion shoot mode. Anyone used any APK and can contribute?

Been researching about it, and found the build.prop line to turn on the camera2 api from google, but no camera work after line is added for me.

Anyone has fixed the fine controls with some hack? Any tip or information about this matter?
[General Topics] lucyo95:
I just got root on the phone, I know that custom roms in some cases improve the experience and even the battery life, so I'm convinced that the phone itself has untapped potential, it can see a new light. please be kindly asked if you can link me in case there is the download.:)
[HTC Vox] bup12:
Hi,

I was thinking of installing a satnav app onto my SPV E650, and just wondering what will be best. How do they both compare in performance, usability etc.

Also, having read through some of the posts already, for TomTom, I will have to install fakecursor? Can anyone explain what it does and why it is needed, and does it make much of a difference to the phone?

Will I need fakecursor on Garmin XT aswell, considering that they make a version specifically for smartphones. I've used TomTom before which i found to be great, but never Garmin, how do they compare, which one would you guys recommend?

Thanks!
[HTC Vox] zeissc:
a stupid question from a newbie: does garmin xt work with EVERY gps? I have a vox (no build-in gps) and i am planning to buy a bluetooth gps...
[HTC Vox] matrix77:
For garmin you don't need fakecursor it works great on non-touch screen wm phones
[HTC Vox] bup12:
Thanks for your replies!

Browsing through the forum, found someone saying that the processor speed becomes slower after installing Garmin? Anyone else have this problem?
[HTC Vox] matrix77:
I've tried garmin and I didn't have any problem at all
[HTC Vox] bup12:
Thanks for quick response ;). Another thing... How are the speed camera databases on it? Are they easy to find/install?

Thanks!
[HTC Vox] matrix77:
You have in this thread link of their official site, dowload and try it for free with the basemap but you cannot conect to external gps reciver except you buy full version

:

http://xdaforums.com/showthread.php?t=364928
[HTC Vox] oliven_99:
Copilot 7 works v. well on the spv e650

After trying several apps I found copilot to be excellent. Well worth giving it a go.
[HTC Vox] wizgnome:
I have run Tomtom 5.2 for a long time (2 years) and had no problems with it.

Recently I had a look for something more up to date, I tried Route 66 which ran ok, and had free traffic updates, but it did use up all the free memory on my phone and ocasionally crashed.

Then I tried Garmin XT, this seems to run ok, and also has free trafic updates. I also like the way it beeps if I go over the speed limit. The auto zoom out on the map is good as it shows a nice overview of the route.

So far Garmin XT seems to beat Tomtom (5.2) with speed alerts and the free trafic information.

Not tried Tomtom 6 - which is intended for a touch screen, but can work with fake cursor apparently.

One problem I have with Garmin XT is that I am unable to update the maps/poi's on the card with activesync - the Garmin poi update program crashes with an error relating to a PPC class its trying to call - I guess its because its a smartphone. But I can update the SD card by connecting it to a card reader on my PC.
[Google Pixel XL Questions & Answers] Jiibus:
Has anyone else experienced high battery drain recently? System is chewing through my battery and I'm not sure why. I cleared cache and installed elemental x kernel but haven't seen a change.
[Google Pixel XL Questions & Answers] ahent:
If this is android 8, try going to the beta Google Play Services. I also disabled the automatically turn on wifi when in range of familiar wifi toggle. Both seemed to help me a lot.
[Google Pixel XL Questions & Answers] tnmurdock:
I'm having the same problem...charged phone before bed... woke up to dead phone. Charged again... and in 8 hours. It's at 30%
[Google Pixel XL Questions & Answers] Jiibus:
No, this is on Pure Nexus 7.1.2.
[Google Pixel XL Questions & Answers] ahent:
Oh, you hadn't said so I went on the assumption that you were having this problem in 8 since a group of people were complaining about battery life on 8.
[Google Pixel XL Questions & Answers] bobby janow:
Don't you think this belongs in the pn forum? Why would you put an op like that here with no explanation of what rom or release you were on?
[Android Q&A, Help & Troubleshooting] Mixalhs212:
Okay so the problem has been for many days now and I have been trying to fix it on my own to no avail,I will break down the problem to days because there are many things wrong with it at the moment

Day 1: My mother spilled wine on my phone and I immediately closed it so as to not damage anything,I immediately dryed externally and then put it in rice to help it dry out (I've heard it helps)

Day 2: I wake up and try to open the phone to see if it's working,the phone opens up with no problems,everything running smoothly,I put it to charge because the battery was low,I take it out after an hour or so and try to use it,the screen became unresponsive and it shut down on it's own,since then whenever I tried to open it it would blink 3 LED lights in the same pattern (red,green,green) and wouldn't open.I put it in rice again

Day 3-5:I let it be in the rice for 2 days just incase there was still some wine inside of it

Day 6: I go to open it and it's starts to boot,I wait and wait and wait and the phone is stuck in the Huawei logo (bootloop),I wipe cache partition and try to open it again,still bootlooped,I don't wanna try a factory reset yet because I want what is in the phone.I meddle around with it to try and get it to boot so I can at least back up my files and the phone battery dies.I again put it to charge overnight

Day 7:I try to open it in the morning to see if I can fix the bootloop issue but again it starts blinking the 3 LED lights (red,green,green).Since then I let the battery drain and now it opened again (still in bootloop)

Conclusions: I think the battery may need replacement because if I charge it over a certain amount it won't open at all but when it drains below a % it opens normally.If anyone knows a way I can salvage my data from inside the phone please let me know otherwise let me know if I can fix it

Lastly my warranty hasn't expired yet but I don't know if it covers the fact my mother spilled wine on it and because there's fee's included to send it I wanna leave that as a last resort

Thanks for taking the time to read this

The model should be ALE-21 by the way

Edit: The phone opened up normally with 5% battery,I did a back up to salvage my files and now I am charging it and I'll see where it leads,for now it's good
[Verizon Samsung Galaxy S8 Questions & Answers] Raryn:
Is there any option to get the Visual Voicemail working on an S8+ bought on amazon? I flashed the VZW firmware and even after a factory reset there's no bloatware (which I don't want anyway) or visual voicemail. My VoLTE started working again (thank god), but the voicemail would be nice to have.
[Moto Z Accessories] Vcek:
I have broken some pins on the Sim1 reader and took the phone to authorized repair center, they told me the only option is to replace the motherboard.

So I'm seeking any help to find the SIM reader part usually it's easy to find online on AliExpress and other Chinese retail but it seems I can't find it anywhere for this model xt-1650-03 (optional dual SIM international version)
[Moto Z Accessories] Jeik:
Nowadays it's not rare that they implemented the SIM reader into the motherboard. In my opinion, a motherboard replacement, although expensive, might be the only solution for you.
[Moto Z Accessories] Vcek:
For future reference I found a seller who sells "original" sim reader replacement on ebay. If anyone is interested I'll pm the link.

Edit: removed link till I receive the replacement part

Update: the seller refunded after not receiving the order