Disable qe service in stockrom - Motorola Photon Q 4G LTE

I know there are only few people using stockrom here, but according to this:
Carrier IQ, round 2: Motorola's Android devices are running "Qe", a process which logs all modifications to the stock OS and sends them back to Motorola
nomatter VZW or MOTO do this, i decide to remove the service.
By disabling "service qe" section in /init.target.rc will totally disable /xbin/qe running while our xt897 is booting, and this will also speed up the booting time.
we can do this by modifying the boot partition.
Disclaimer:
!! This is only for Photon Q 4G LTE stockrom !!
Most custom roms are already removed qe from boot partition.
I cannot be held responsible if anything goes wrong while using this mod.
how to flash:
adb reboot bootloader
fastboot flash boot mmcblk0p31_boot_mod.img
how to check:
every time you reboot the phone, "/xbin/qe /system" will be executed, and the result will be stored in /data/misc/qer
delete /data/misc/qer and reboot, you should no longer see the qer appeared anymore.
I also attached the original boot partition image just in case anything goes wrong.
(mmcblk0p31_boot.img is the original one)

So you have done this? Or are you only reporting it?
Sent from my XT897 using XDA Free mobile app

schmandroid said:
So you have done this? Or are you only reporting it?
Sent from my XT897 using XDA Free mobile app
Click to expand...
Click to collapse
I have already stopped qe from booting in stockrom.
You can just do a simple flash to the boot partition.
Maybe the Droid4 and Razer also have this kind of problem, but i dont have these phones.

Ok, do you have the download to flash, or is it in the link?
Can this be flashed through TWRP etc, or only through ADB?
Sent from my XT897 using XDA Free mobile app

schmandroid said:
Ok, do you have the download to flash, or is it in the link?
Can this be flashed through TWRP etc, or only through ADB?
Sent from my XT897 using XDA Free mobile app
Click to expand...
Click to collapse
The .7z file attached to the OP is what you extract then flash.
Directions are in the OP:
how to flash:
adb reboot bootloader
fastboot flash boot mmcblk0p31_boot_mod.img
Click to expand...
Click to collapse
It could certainly be modified to flash via TWRP.

Ha - I thought the attached zip was the stock - that's how I read it.
Sent from my XT897 using XDA Free mobile app

Related

[Q] Rooted my verizon s3 with instructions on this forum and now I'm am stuck

Everything was fine with the root however I used a font app installer that got the phone stuck in a boot loop (on the rainbow screen). How do I get back to rooted JB?
Did you do a back up of your original rom? You need to get back into recovery...
Sent from my SCH-I535 using xda app-developers app
No I didn't. I didn't see that in the instructions or I missed it. Any thoughts on how to get back to rooted JB?
Well if the font app got you into the boot loop then I don't think you lost root, I would get back into recovery wipe cache and hit reboot... See if that works... Good luck
Sent from my SCH-I535 using xda app-developers app
Unfortunately, I tried that. I think I did an accidental factory reset too but nothing has brought it back from the boot rainbow screen.
Did you unlock using EZ Unlock v1.2? You only mentioned that you rooted.
Sent from my SCH-I535 using xda app-developers app
No, I didn't use that. I followed the instructions to root found here (worked no problem until I met that $&#^%#& app) http://forum.xda-developers.com/showthread.php?t=2046439 I think I can reset using Odin I just don't know what to use
Aight, well did you unlock the bootloader? Your response dictates the suggested route to resolve this.
Sent from my SCH-I535 using xda app-developers app
I did follow the instructions to unlock the bootloader
If that's the case then you just need to boot into recovery and flash a rom. If you were running just stock rooted & unlocked VRBLK3, it's easier to just flash a rooted stock rom like the official VRBLK3 leak here: http://forum.xda-developers.com/showthread.php?t=2034118
Try just flashing that, without wiping, then boot into the rom.
or
If you were on a custom rom, just reflash that rom via recovery and you'll be fine. Unfortunately you lose all your settings of you wipe data in recovery so try reflashing either option without wiping if you absolutely need to try recovering whatever data already exists in your current rom. If this doesn't work, format data, wipe cache then flash the rom.
Sent from my SCH-I535 using xda app-developers app
I will give it a shot and let you know. Thanks so much! I was on stock ROM btw.
Cool, this should work
Sent from my SCH-I535 using xda app-developers app
Ok, this is a zip file. Does it have to be on the phone? If so, how do I put it there?
nctiger said:
Ok, this is a zip file. Does it have to be on the phone? If so, how do I put it there?
Click to expand...
Click to collapse
Yes it does need to be there. If you have an sdcard just drag and drop onto it directly then flash in your custom recovery. Conversely, you should be able to boot into recovery and try connecting your phone to the laptop then dragging the zip over.
The longer method will be to Odin flash VRBLK3 and start all over from there.
Sent from my SCH-I535 using xda app-developers app
I am in Clockwork Mod recovery and my comp is not recognizing my phone as it did earlier.
nctiger said:
I am in Clockwork Mod recovery and my comp is not recognizing my phone as it did earlier.
Click to expand...
Click to collapse
I don't use CWM but did you go to Mounts and Storage and select "Mount /sdcard"? Does it connect now?
Sent from my SCH-I535 using xda app-developers app
I went there but it didn't seem to do anything when I selected mount sdcard and conversely didn't connect either
nctiger said:
I went there but it didn't seem to do anything when I selected mount sdcard and conversely didn't connect either
Click to expand...
Click to collapse
Aight well since that failed, you have to do this the long way: Odin flash the VRBLK3 rooted image from your laptop onto your phone. Choose one of the two images for VRBLK3 and follow the directions.
http://forum.xda-developers.com/showthread.php?t=1984436
Edit: I realize I didn't ask but do you have an sd card?
Sent from my SCH-I535 using xda app-developers app
That worked! Thanks so much. Now, what is the best practice for backing things up so that I don't have this problem again? Should I root first then backup? Do I still have to unlock bootloader? Just wanting to handle this properly from this point forward.
It should be rooted already if you installed the Odin files from MrRobinson thread. It should come with either SuperSU or SuperUser correct? You also should still be unlocked but you can re-unlock using EZ Unlock v.1.2 from the following thread and you're undeniably unlocked. You'll hear a brief audio message if it worked.
http://rootzwiki.com/topic/32456-app-920-ez-unlock-14-easiest-way-to-unlock-your-bootloader/
Also, please perform a nandroid back in CWM so you have something stable to return to if something goes awry in the future. That backup would have cut all this down to one simple step. You don't need to be unlocked to perform a nandroid however you do need to be rooted with a custom recovery.
Lastly, perform an IMEI backup using the "Comprehensive IMEI Backup" thread in the dev section. Do this and save the resulting Synergy zip from backup methods A and B in more than one place not on your phone. This is more so a precaution because flashing things in recovery can and may result in a complete loss of connection with Verizon.
Sent from my SCH-I535 using xda app-developers app

Fastboot error

I get an error when I try to fastboot flash system system.img. It doesn't appear to write the system.img to the phone. It downloads but doesn't seem to write and I get an error that says sp space is not enough.
I have a dev edition unlocked and was trying to return to stock anticipating the update.
Which fastboot are you using ?
Sent from my XT1058 using XDA Premium 4 mobile app
planktoid said:
Which fastboot are you using ?
Sent from my XT1058 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
moto fastboot. I am using the same computer/sdk/fastboot that I was using just a couple of days ago when I wasn't getting the error. FWIW it doesn't seem to actually affect anything. I just flashed twrp, formatted system, booted back to the bootloader and flashed the system and got the same error but the phone boots fine so it must be writing the system image. I am still perplexed as to what the error is. I had never seen it before until last night.
If you're not rooted and you are stock...how do you go about doing this?
Sent from my XT1080 using Tapatalk
justpastfinish said:
If you're not rooted and you are stock...how do you go about doing this?
Sent from my XT1080 using Tapatalk
Click to expand...
Click to collapse
Exact same way as all versions of the phone..... Follow the guide I posted in Dev Section, it gives detailed step by step.

Swapping recoveries...

So when I unlocked my phone the other day I went to flash twrp but the website was having issues and wouldn't let me download the file. Thus i was forced to install cwm. I can't stand cwm since it bricked my m7. My question is, how do I go about changing to twrp? What files do I need?
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Anthony825 said:
So when I unlocked my phone the other day I went to flash twrp but the website was having issues and wouldn't let me download the file. Thus i was forced to install cwm. I can't stand cwm since it bricked my m7. My question is, how do I go about changing to twrp? What files do I need?
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
CWM bricked your m7.... K
What you need is the recovery itself, which can be found in the original development section. Then just install the same way you did with cwm, or use flashify.. Make sure you hit recovery instead of boot.. It'll cause problems.
Sent from my HTC6525LVW using XDA Premium HD app
Ok I should rephrase that. I had cwm when it bricked. I was making a nandroid backup and it froze in the middle of the process. Sat there hanging on the same screen for 3 hours So I was forced to hard shut off the phone. When I rebooted, it wouldn't mount to anything and is now a beautiful brushed aluminum brick. M7 aside, I can just flash twrp right over cwm? I don't have to revert to a stock recovery first?
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Anthony825 said:
Ok I should rephrase that. I had cwm when it bricked. I was making a nandroid backup and it froze in the middle of the process. Sat there hanging on the same screen for 3 hours So I was forced to hard shut off the phone. When I rebooted, it wouldn't mount to anything and is now a beautiful brushed aluminum brick. M7 aside, I can just flash twrp right over cwm? I don't have to revert to a stock recovery first?
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Correct, you can just flash one recovery over another

Try to install CyanogenMod latest and get loop when startup ...

I tried to install latest Cyanogenmod (cm-11-20140430-NIGHTLY-falcon.zip) but get a loop any time I restart the phone so I restart my phone in "fasboot" mode and then press "Factory" this deleted all the content of the internal SD card including the .zip and now I can't flash it. I have a few questions regarding this topic:
How do I copy ROM files trough fastboot mode?
Why I get this loop if I follow the common steps: wipe data/factory reset, wipe cache partition and wipe dalvik cache?
Any help?
I too got bootloop on my XT1033 of the dame version of the CM11 please help me too.
Sent from my XT1033 using Tapatalk
That happened to me as well, what I did was to flash a complete stock JB 4.3 firmware (the Retail Taiwan works great for most Asian variants), updated via OTA and then attempted to flash CM11 which worked.
No need of downgrading at all.. Download stock firmware and install it via Fastboot...
Sent from my XT1032 using XDA Premium 4 mobile app
But I am on the stock already but still didn't boot completely
Sent from my XT1033 using Tapatalk
padhu1989 said:
No need of downgrading at all.. Download stock firmware and install it via Fastboot...
Sent from my XT1032 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Where I download the stock firmware and how I install via Fastboot? I tried to push any file to /sdcard/ trough adb but this doesn't recognize my device, fastboot does, any advice? I'm stuck since I hit "Factory" option in fastboot mode and it erases all the content of /sdcard/ and now I can't flash nothing
reynierpm said:
Where I download the stock firmware and how I install via Fastboot? I tried to push any file to /sdcard/ trough adb but this doesn't recognize my device, fastboot does, any advice? I'm stuck since I hit "Factory" option in fastboot mode and it erases all the content of /sdcard/ and now I can't flash nothing
Click to expand...
Click to collapse
Which version motog you have?
If you have dual sim version.. Follow this below guide to restore to stock..
http://forum.xda-developers.com/showthread.php?t=2700502
Sent from my XT1032 using XDA Premium 4 mobile app
padhu1989 said:
Which version motog you have?
If you have dual sim version.. Follow this below guide to restore to stock..
http://forum.xda-developers.com/showthread.php?t=2700502
Sent from my XT1032 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I think the same as yours, XT1032 Google Play Edition
padhu1989 said:
Which version motog you have?
If you have dual sim version.. Follow this below guide to restore to stock..
http://forum.xda-developers.com/showthread.php?t=2700502
Sent from my XT1032 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I think the same as yours, XT1032 Google Play Edition, I have downloaded "GPE_XT1032_KOT49H.M004_CFC.xml.zip" from here but I get this error while trying to start the process:
---------------------------
mfastboot.exe - System Error
---------------------------
The program can't start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem.
Click to expand...
Click to collapse
Any help?
Download adbwinapi.dll from the below link and copy to that folder and try...
http://www.dll-files.com/dllindex/dll-files.shtml?adbwinapi
Sent from my XT1032 using XDA Premium 4 mobile app

[Solved] Flash OTA zip?

I've applied previous OTA zips by just flashing in TWRP. However I'm getting an error this time around. I'm on the KK build ending in P, but when i try to flash Lollipop it says my build fingerprint is incorrect, that it's the KK build ending in H. Anyone have insight on why this is?
Sent from my Nexus 5 using XDA Free mobile app
As it says, you're not 100% stock so it won't flash
This would be due to my recovery and xposed i take it? Or strictly xposed?
Sent from my Nexus 5 using XDA Free mobile app
Definitely Xposed, probably recovery as well
Xposed. You'll not just need to uninstall the xposed files, but the app too as ART doesn't like to boot with that app installed.
Recovery is fine. Only issue would be that an OTA.wouldnt automatically install. You'd have to manually boot into recovery to flash.
rootSU said:
Xposed. You'll not just need to uninstall the xposed files, but the app too as ART doesn't like to boot with that app installed.
Recovery is fine. Only issue would be that an OTA.wouldnt automatically install. You'd have to manually boot into recovery to flash.
Click to expand...
Click to collapse
Many thanks. Got it working. Appreciate it!
Sent from my Nexus 5 using XDA Free mobile app
rootSU said:
Xposed. You'll not just need to uninstall the xposed files, but the app too as ART doesn't like to boot with that app installed.
Recovery is fine. Only issue would be that an OTA.wouldnt automatically install. You'd have to manually boot into recovery to flash.
Click to expand...
Click to collapse
Hmm, it didn't work. Removed xposed and unistalled, still getting same error. I'm stock, rooted, had xposed.
Sent from my Nexus 5 using XDA Free mobile app
rootSU said:
Xposed. You'll not just need to uninstall the xposed files, but the app too as ART doesn't like to boot with that app installed.
Recovery is fine. Only issue would be that an OTA.wouldnt automatically install. You'd have to manually boot into recovery to flash.
Click to expand...
Click to collapse
Do i need to sideload the ota zip in recovery or flash like normal?
Sent from my Nexus 5 using XDA Free mobile app
You may want to look at flashing a full ROM.zip instead as it will be much easier.
rootSU said:
You may want to look at flashing a full ROM.zip instead as it will be much easier.
Click to expand...
Click to collapse
I can just fastboot flash the images separately... Which ones do i omit to keep recovery and user data?
Sent from my Nexus 5 using XDA Free mobile app
Don't flash userdata.img and your storage data will be fine. If you want to keep your custom recovery, don't flash recovery.img.
Phaded said:
I can just fastboot flash the images separately... Which ones do i omit to keep recovery and user data?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Funnily enough, recovery.img and userdata.img haha
Also you'll need to delete:
/system/recovery.init.boot.p
/system/bin/install-recovery.sh
Before boot, although flashing superSU should prevent them installing stock recovery
rootSU said:
Funnily enough, recovery.img and userdata.img haha
Also you'll need to delete:
/system/recovery.init.boot.p
/system/bin/install-recovery.sh
Before boot, although flashing superSU should prevent them installing stock recovery
Click to expand...
Click to collapse
You listed two files i need to delete. Is that before or after flashing the img files?
I've never had a problem before, i don't get why it's failing now... Keeps saying I'm showing an old build fingerprint. Never seen this error before.
Short of being rooted, I've removed any modifications to my system. Really don't feel like wiping the whole device.
Sent from my Nexus 5 using XDA Free mobile app
Sent from my Nexus 5 using XDA Free mobile app

Categories

Resources