yashsingh1/xdaforums huggingface dataset:
[Droid RAZR M General] mr3p:
Looks like bat file missing apks? Phone flashed back to factory with RSD lite and all steps followed exactly as described Long instructions . I'm out of ideas, any help appreciated thank you

=======================================================

= =

= Hydrogen PeroXide for MotoRAZR =

= based on GiefRooT V2 =

= =

= Special Thanks to: serg_gangubas =

= Many thanks to: =

= 4pda.ru =

= ITSTEP.ORG LUGANSK =

= =

= =

= - MohammadAG =

= - Keen Team =

= =

= Please donate with paypal: hydrogenxs@gmail.com =

= giefroot created by by zxz0O0 =

= Hydrogen PeroXide created by HydrogenXS =

=======================================================

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

* daemon started successfully *

=============================================

Waiting for Device, connect USB cable now...

Make sure that you authorize the connection

if you get any message on the phone

=============================================

Device found

=============================================

Sending files

=============================================

63 KB/s (259 bytes in 0.004s)

5416 KB/s (22188 bytes in 0.004s)

115 KB/s (237 bytes in 0.002s)

4424 KB/s (13592 bytes in 0.003s)

949 KB/s (1946 bytes in 0.002s)

4808 KB/s (34473 bytes in 0.007s)

3771 KB/s (4016989 bytes in 1.040s)

4143 KB/s (657704 bytes in 0.155s)

512 KB/s (1050 bytes in 0.002s)

1448 KB/s (5932 bytes in 0.004s)

Failure

can't find 'exploitServiceApp.apk' to install

can't find 'tr.apk' to install

3644 KB/s (5904858 bytes in 1.582s)

pkg: /data/local/tmp/supersu.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]

=============================================

Running exploit

Make sure you have enabled "Allow mock locations"

in Developer Settings

=============================================

Starting: Intent { cmp=org.keenteam/.ServiceExploitActivity }

Error type 3

Error: Activity class {org.keenteam/org.keenteam.ServiceExploitActivity} does no

t exist.
[Droid RAZR M General] sd_shadow:
check md5, possible virus protection removed files
[Droid RAZR M General] mr3p:
Argh, you are correct looks like Antivirus autodeleted files. In process of reflashing back to factory with RSD lite and will attempt again. Thank you
[Droid RAZR M General] mr3p:
Making some progress but not there yet. After initial hang as shown below

=======================================================

= =

= Hydrogen PeroXide for MotoRAZR =

= based on GiefRooT V2 =

= =

= Special Thanks to: serg_gangubas =

= Many thanks to: =

= 4pda.ru =

= ITSTEP.ORG LUGANSK =

= =

= =

= - MohammadAG =

= - Keen Team =

= =

= Please donate with paypal: hydrogenxs@gmail.com =

= giefroot created by by zxz0O0 =

= Hydrogen PeroXide created by HydrogenXS =

=======================================================

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

* daemon started successfully *

=============================================

Waiting for Device, connect USB cable now...

Make sure that you authorize the connection

if you get any message on the phone

=============================================

Device found

=============================================

Sending files

=============================================

25 KB/s (259 bytes in 0.010s)

21 KB/s (22188 bytes in 1.000s)

23 KB/s (237 bytes in 0.010s)

13 KB/s (13592 bytes in 1.000s)

1 KB/s (1946 bytes in 1.000s)

33 KB/s (34473 bytes in 1.000s)

4218 KB/s (4016989 bytes in 0.930s)

4587 KB/s (657704 bytes in 0.140s)

1 KB/s (1050 bytes in 1.000s)

5 KB/s (5932 bytes in 1.000s)

Success

43 KB/s (44259 bytes in 1.000s)

pkg: /data/local/tmp/exploitServiceApp.apk

Success

3681 KB/s (113099 bytes in 0.030s)

pkg: /data/local/tmp/tr.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]

4026 KB/s (5904858 bytes in 1.432s)

pkg: /data/local/tmp/supersu.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]

=============================================

Running exploit

Make sure you have enabled "Allow mock locations"

in Developer Settings

=============================================

Starting: Intent { cmp=org.keenteam/.ServiceExploitActivity }

I then followed instructions below:

if root stops at or just after

" "Starting: Intent { cmp=org.keenteam/.ServiceExploitActivity } "

Disconnect USB cable, Power off Phone, Hold Volume Down Button, Press Power for ~5 secs, Release Power button, then release Volume Button.

When you see AP Fastboot Mode, reconnect usb cable

if it fails to continue within a min or so, restart Phone and Root.bat

As install did not continue after entering Fastboot mode, restarted phone and ran install_root.bat again. Bat file gets past where it hung previously, phone reboots and cmd prompt hung at:

=============================================

Device found

< waiting for device >

Toggling USB debugging off-on does not seem to restart bat file. Suggestions? Seems like its close.
[Droid RAZR M General] sd_shadow:
boot to fastboot mode and check device manager, it should be listed as

like in this post
[Droid RAZR M General] mr3p:
When phone booted into fastmode and connected via USB cable, Windows Device Manager correctly shows device exactly as per forum post referenced above.
[Droid RAZR M General] sd_shadow:
Could try another factory reset, different pc, different usb port, different usb cable...
[Droid RAZR M General] sd_shadow:
another option is root with Kingroot
[Droid RAZR M General] mr3p:
LOL. After flailing around for a few hours, Kingroot works in under 5min. Thank you for maintaining this thread and for trying to get the bat file working.
[Droid RAZR M General] mr3p:
Unfortunately nothing is ever as easy as it seems. While Kingroot did get me root which I was able to transfer to SuperSU, motoapocalypse hangs and thus I cannot unlock bootloader. Any last suggestions before I call it quits for the day?
[Droid RAZR M General] sd_shadow:
you cannot lock bootloader if kernel date is 03 June 2014 or newer
[Droid RAZR M General] mr3p:
thank you, somehow I overlooked this even thoughts its posted everywhere. Guess I"m a few months too late to load CM. At least I have root.
[Droid RAZR M General] manushamil:
So if i got the date thu may 1 19:48:33 PDT 2014 then will i able to unlock my bootloader right?
[Droid RAZR M General] sd_shadow:
Yes, but no guarantee

root with towelroot, unlock bootloader with Motopocalypse

see 2. BOOTLOADER UNLOCKING
[Droid RAZR M General] khopkhun:
Themes

Thanks to everyone for keeping this thread going as the ROM changed. I too used Kingroot and found it simple and fast to root the 183.46.15 July 29,2014 kernel. I release that custom ROM is impossible but is there any way to add Themes to my razr m?
[Droid RAZR M General] SigmunDroid:
Happy New YEAR! So I have a weird situation that enabled me to gain root while still on the latest firmware (AUG 25-2014)

Was this supposed to happen? For some reason I wasn't able to gain root the first few times I did followed the directions. I discovered that I didn't have a recovery so factory resetting with the phone off was a no go.

The phone never prompted me to towel root so I did it on my own and gained root.

Now, I factory reset the phone with the newly installed recovery that I got from fastboot...and now lost root again lol:good:
[Droid RAZR M General] sd_shadow:
try reinstalling supersu app
[Droid RAZR M General] SigmunDroid:
Ok I didn't try that only because I didn't see the reply that quickly so...

I tried duplicating what I had done before.

I watched the video and for some reason it ALWAYS fails (for me) trying to install the CVE-2014 correctly. The video guy simply exits the DOS prompt and runs the .bat file with the 2nd time being successful...whereas when I run it again it says that I already have tried and failed....

So What I did was carried on acting as though it worked. and upon the 2nd reboot

I opened up Towel root, exited airplane mode and used wifi to root successfully my Luge. What I noticed was that the last reboot I checked the date of the build:

It was May 25th 2014....When I rebooted one last time...it was back to AUG 25th 2014!

I've run Titanium BU and it works, SU binary updated fine. I don't get it.

I realize that with a locked bootloader..I cannot flash custom roms/recovery.

Can I run hotspot or some other way to use it without incurring a charge?:silly:
[Droid RAZR M General] sd_shadow:
[MOD][4.4.2]Native Tether for Build 183.46.15 requires root
[Droid RAZR M General] sd_shadow:
http://xdaforums.com/showthread.php?t=3070499

Working CWM Recovery for LOCKED 183.46.15 + Deodex and more
[Droid RAZR M General] SigmunDroid:
Are you a wizard!?!? Thank you very much! I've been out of the game for about 10yrs or so...I'm setting up PayPal too hint hint so if you have a link share it brother! BTW my build is 185 not 183...does that matter?
[Droid RAZR M General] sd_shadow:
should work fine with 185
[Droid RAZR M General] iam22haha:
Hey whats the point of rooting if we cant install custom roms? Im a noob lol
[Droid RAZR M General] sd_shadow:
remove stock apps, tethering hack, Deodex,...
[Droid RAZR M General] yossijoe:
Success!

Just rooted my old RAZR m thanks!
[Droid RAZR M General] huzaifaaleem:
Is this a read only root or a proper root?
[Droid RAZR M General] sd_shadow:
[ROOT ANDROID][2.x-5.1] KINGROOT: The One-Click Root Tool for Almost All Devices
[Droid RAZR M General] sd_shadow:
It's for real, but if it's too complicated see link to Kingroot
[Droid RAZR M General] siberian85:
when trying peroxide root method phone boots to bootloader and stays like that also in cmd/peroxide tool stays this "=============================================

Please wait for the device to reboot

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

* daemon started successfully *
[Droid RAZR M General] sd_shadow:
check device manager
[Droid RAZR M General] siberian85:
on PC? Motorola got recognized when in debugging mode also it responds to some commands in cmd peroxide
[Droid RAZR M General] sd_shadow:
watch my video
[Droid RAZR M General] cisz8:
I downloaded the Hydrogen_PEROXIDE_1_0_0_5.zip version from https://mega.co.nz/#F!YUhGDBJR!krrmJ1tqWeTXG8HjUGO-cQ and checked it with bitdefender anti-virus which said it was infected. Is that normal, or could the file be corrupted?
[Droid RAZR M General] sd_shadow:
it's normal, rooting requires an exploit, which is like a virus
[Droid RAZR M General] cisz8:
This is a droid razr m xt907 with 183.46.15 and kernel from July 2014. Installation failed. It got successfully to the reboot to fastboot but fastboot didn't come up. It also gave a message "can't find tr.apk".

I tried disconnecting the usb, power off, boot to fastboot. It wrote files but didn't prompt for starting towelroot.

I tried reinstalling a few times but it no longer would write the files using fastboot and still didn't prompt for towelroot.
[Droid RAZR M General] cisz8:
I saw that tr.apk was towelroot. I installed it on the phone and the root installation succeeded.

---------- Post added at 11:09 AM ---------- Previous post was at 11:03 AM ----------

Towelroot said it was rooted but I'm wondering how to verify that it is?

And thanks.
[Droid RAZR M General] sd_shadow:
root checker from play store
[Droid RAZR M General] sd_shadow:
https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck
[Droid RAZR M General] osk4rin:
Hi Master here i am now.

I tried to root my xt907 with Hydrogen_peroxid. but i got this error:

Failure

can't find 'exploitServiceApp.apk' to install

can't find 'tr.apk' to install

3539 KB/s (5904858 bytes in 1.629s)

pkg: /data/local/tmp/supersu.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]
[Droid RAZR M General] sd_shadow:
if you have an unlocked bootloader, use TWRP to flash SuperSU.zip
[Droid RAZR M General] osk4rin:
Ok, thank you so much for your help!
[Droid RAZR M General] DButcha:
I just wanted to post here saying that by following sd_shadow's guides to upgrade the system version from 182.46.15 to 183.46.15, rooting with hydrogen peroxide, and installing the sunshine app, I can definitively say with proof that all droid razr m's are now free forever. I took the leap of faith with 25$ to see if the unlock would work with sunshine, unlocked the phone with no problems, flashed twrp, and am now currently flashing cm12.1.
[Droid RAZR M General] kingwaqar:
Is There Anyway To Unlock bootloader
[Droid RAZR M General] Tech180:
I'm getting random errors in certain places... It still finishes but I can never get root? Does anybody know why? One of them is at the end with a memfile error
[Droid RAZR M General] sd_shadow:
what errors?
[Droid RAZR M General] Tech180:
These errors

https://www.flickr.com/photos/145852481@N02/31695959496/in/dateposted-public/

and

https://www.flickr.com/photos/145852481@N02/31360556030/in/dateposted-public/

not as many errors occurred this time but still unable to get root and one of them is not necessarily an error but the other one is a fail do you recognize that?
[Droid RAZR M General] sd_shadow:
first one should be covered in my video, second one is easy, it's already on the phone, so ignore, or remove it from the phone

did you try factory reset or flashing firmware with RSD lite?
[Droid RAZR M General] Tech180:
So, it worked the factory reset, and the root, but immediately after I try to go past the towelroot stage the phone reboots (like it's suppose to) and I lose root... What am I suppose to do did I do something wrong in the process (the screen showed that everything was a success)?

Edit: and the video did help... Alot
[Droid RAZR M General] sd_shadow:
guess I would flash firmware with RSD Lite
[Droid RAZR M General] asdf2345:
Towelroot keeps telling me to check my internet connection, but my internet connection works fine.
[Droid RAZR M General] asdf2345:
Kingoroot works, but I don't like the Kingoroot software. I found a script that is supposed to remove it and replace it with SuperSU, but it was broken with a newer release of Kingoroot.
[Droid RAZR M General] Alixbot:
Is this still the latest?
[Samsung Galaxy Nexus] Doctor Dedroid:
A while back, after sweating profusely into my phone during a workout session, my gnex started behaving badly when I wanted to charge it. Needless to say I've got a battery app installed that is able to detect the plugin state (whether the phone is on battery, whether the charger is plugged in or whether it's just a usb connection such as a computer) and actual % voltage the thing has in the status bar. The app itself is: Battery by MacroPinch.

Well I figured the usb port was probably going so I got a new one of those (i.e. flex cable microusb etc.) for my sch-i515. I also decided to get a new battery just in case... so I replaced the battery (it's an oem samsung one) and fwiw, the thing stabilized its behavior! I've since swapped them back and forth with no apparent issues. However, I took my phone out with me on a run and it started acting flakey again. I've (in the past) had to clean out the port with a toothpick, I've had to on occasion bend the flap in there, do battery pulls (which believe it or not worked for a while), and so on. This time however was different. The phone wouldn't wake when I plugged in or unplugged the charger... and in no way shape or form would the charge indicator come on (you know, lightning bolt in the batter icon etc.) and to make matters even worse this time, my laptop simply didn't recognize the phone was plugged in. So I bit the bullet and and did the surgery and replaced the usb board and mic.

It could not have gone more smoothly, unfortunately (as might have guessed) all is not well... so now:

if the screen is dark -

the phone will wake when the charger is plugged in

the phone will wake when the charger gets unplugged

Using a moto droid cable (from my og droid)

the phone/computer realize they are plugged in together and Wug's NRT works and so on.

BUT the battery STILL won't charge.

I guess the phone is a couple of years old and it doesn't really owe me anything (I guess) but I'd really like this thing working better until I can get a new one. Does anybody out there have any ideas on what I might have missed? The phone works as before, exactly fine except it won't chare so I'm pretty sure I managed to get all the connectors back together properly... I suppose the usb port I replaced the original with might be defective but....

Any help is greatly appreciated...

Oh I'm rooted but stock, android 4.2.2
[Samsung Galaxy Nexus] Doctor Dedroid:
No advice at all??
[Samsung Galaxy Nexus] ashclepdia:
I WOULD have said bad usb port, MAYBE try another? They are cheap enough, mine has been broken forever and I do not want to take device apart to change it because crack in my screen I'm worried will get worse if I take device apart.

so since its impossible for me to charge battery in device, I'm NOT worried about THAT tho, BECAUSE a LONG while back I had purchased 2 extra OEM batteries, PLUS a OEM samsung EXTERNAL CHARGER/stand which ALSO came with a battery. so I NOW have 4 total batteries, and I charge them up in the external charger, then just swap them out as needed.

which honestly is GREAT, cuz if I'm going out all day, I can just bring my extra fully charged batteries with me, and not have to worry about battery drain from heavy use cuz I have 3 other fully charged ones WITH me.

that's really all I can say, if you would like help finding the exact external charger that comes with a battery as well let me know, I had bought mine on amazon couple YEARS ago for only like 25-30$ BRAND NEW, I'm guessing TODAY that price would be like ten bucks
[Samsung Galaxy Nexus] Doctor Dedroid:
Thanks... that may be the way to go but I use this thing for my gps... but the thing doesnt get power when plugged in at all it seems (I plug it in, pull the battery and it does not stay on) so far I've been using my wife's gnex to charge my main and spare... but like I said the thing is, the phone doesn't even stay on when plugged in and I pull the battery (hers does so I'm thinking that there may be something deeper in that's failed here). I cracked the thing back open last weekend to make sure all the connectors were engaged, but I did not find any issues with them past that point.

Does anyone know if there is a hidden connecter somewhere in there that i could possibly have accidentally unhooked that prevents input power from reaching the guts of this thing?
[Samsung Galaxy Nexus] Doctor Dedroid:
OK it's getting crazier all the time...

Since my gnex was "working" except for charging (also, the phone would not stay powered on with the usb plugged in and the battery removed) I decided to go for a long run yesterday... I take the phone with me for music, tracking and general "safety". About half-way through my run, I look at the window in the neoprene armband I'm using and it looks like a sauna... the bluetooth cuts out on me... so I pull the phone out and with a minimum of fiddling I get the music back on... regarding the charging issue ... I was using my wife's gnex to charge my two oem batteries.

Well after this run, I try and use voice to text in a text message after I got home... well guess what... the phone records NOTHING. It's like I'm not talking. So I try a few phone calls... the display shows the call in progress, but I hear nothing! So I use my land-line to call the phone... NOTHING NOTHING NOTHING.

I had previously replaced the usb port, so I took out the tools and disassembled the phone. there was some moisture in there... anyway I dry it out as best I can and reassemble. Now I plug in the headphones, and guess what... I make calls... i.e. the damn phone works as a phone. I pull the jack out and nothing. I turn on speaker mode ... I can hear the phone ringing when I place a call... turn off speaker nothing. Bluetooth works with the phone fine, and the volume control for multimedia makes no sound when I toggle it...

Fast forward to today. I disassemble it again thinking I might have not reconnected one of the straps... I disconnect the volume rocker connector and the usb port connecter plus I remove and re install the antenna housing.

NOW the phone CHARGES but no lightning bolt indicator in the battery... but the battery level is CLEARLY increasing! Also when I plug into a laptop, the usb debugging symbol comes on (since I have it enabled) but when I unplug it does NOT go away... I unplug, disable usb debugging it goes away... reenable usb debugging and the symbol comes back without the phone plugged in until reboot.... but now the phone WORKS again as a phone!

so now the phone:

charges but without any visual indication (other than the % reporting of the battery widget I use)

phone recognized by my laptop (which wasnt' working either until I reset some of the connectors today), but unplugging doesn't make usb debugging indicator in status bar go away.

Phone speaker and mic now working without having to use bluetooth, plug-in headphones or speaker phone. (mic was not working with speakerphone turned)

This is just too messed up. My sweat does carry a lot of salt.... and Im wondering if I managed to shake something loose... I did also pry the usb tab up a bit as well...

Is there some way... some fluid I can dunk the phone into, which might clean the thing without destroying it?
[Samsung Galaxy Nexus] newbee1982:
My galaxy nexus after some drops not charging.

It can only work only when i have connected with my laptop, charger.

I think usb port is ok.

I must buy a charging port to make that work?
[General Questions and Answers] sac02:
So I have an AT&T Samsung Galaxy S4 that I have rooted and running on a custom ROM (Goldeneye v53). I have posted this question in the S4 section, but the developer or this ROM has moved on and ended support (and most S4 dev work in general is the same situation). So I may or may not get much help in my device specific forum, so I thought I'd post here as well - but in a more General context.

Speaking NOT specifically in regards to my device, but instead IN GENERAL:

How can I find out what is causing wakelocks and keeping my device active? (and hence draining battery)

I'm not necessarily asking "what is the issue with my device?"

But instead I want to know, "How to I find out what is the issue with my device?"

(At least in my mind, these are two different questions)

Here are screenshots of what I feel is my issue. Note the frequent and sometimes long "awake" periods.

This screenshot is from first thing this morning, and shows constant and frequent awakenings all night:

This is from later this morning, and shows long periods of awake time when I'm not using the device:

All the system settings that I'm aware of are set to not constantly talk to Google. The only things I sync are contacts and calendar - location access is off, google now/search is disabled, no resource hog apps like facebook, etc.

I have GSAM Battery Monitor (screenshots above) and Better Battery Stats installed. But I don't really know how to use these to track down what is causing these issues. I can see that "Google Services", "Android System", and "Kernel (Android OS)" appear to be the highest hitters.

But I don't know:

What metric should I be monitoring? "Total battery use", "Kernel wakelocks", "Time held awake", or any of the many other options?

If I'm looking at a wakelock, how do I find out what actually caused it? (other than not-so-helpful "Android OS") Is that possible?

Where do I start?

Am I getting into the realm of taking logcats to track and track down these types of issues? (never done that before)

Thanks