Su, Safestrap, any modification to /system removed on reboot! - Moto X Q&A

So I have a problem here. I rooted my X1049 with kingroot, to get temp root, removed write protection with the remount command on the terminal emulator, and installed Safestrap. It installed just fine. But when I reboot my phone to enter Safestrap, it doesn't show up, because when my phone boots up and I check the system partition with my file explorer, both Su and Safestrap have been removed. I have also tried to replace Kingroot with SuperSU, which doesn't work as when I open SuperSU it says I need to upgrade the Su binaries which fails. And when I reboot my phone, Su is removed, yet again. So to me it seems like the main problem is Android rolling back my changes to /system. I really need help with this, so plz respond as soon as possible.
Sent from my XT1049 using Tapatalk

Write protection cannot be turned off yet, all changes to /system will always rollback.

If anybody finds any way to disable write protection on the Moto X 4.4.4 please post here.
Sent from my XT1049 using Tapatalk

I know that some root methods have it so that when you enter recovery from the bootloader, android boots into write protection off. Does anyone know how this is done? And is it possible to do something like this on 4.4.4?

Related

A: 10.3.1.A.0.244 Working Link2SD [ROOT REQUIRED]

AS IS SOLUTION, you are liable for your own device. I'm not responsible for bricked devices.
This is assuming you've rooted .310 rom and upgraded OTA to .244!! This has not been tested on any other progression.
I've owned the phone for 1 week and I found the solution to bootloops on folder mounts.
1. Find this file in the link link below; remountrebootfix-windows.zip - [Click for QR Code] (948.7 KB, 21 views), download it, and extract.
http://forum.xda-developers.com/showthread.php?t=2421730
2. Run the appropriate bat file for your root.
3. Install Link2SD.
i tried everything but it says link2sd doesn not have root excess even though i have supersu installed and root excess and also my mobile is rooted according to this procedure http://forum.xda-developers.com/showthread.php?t=2392865
nikeburrrr said:
i tried everything but it says link2sd doesn not have root excess even though i have supersu installed and root excess and also my mobile is rooted according to this procedure http://forum.xda-developers.com/showthread.php?t=2392865
Click to expand...
Click to collapse
I'm sorry for your troubles, but as the original post states, [ROOT REQUIRED]. However, I'll share some of my notes with you.
I noticed busybox wasn't installed on my device. You may want to look into it.
When I installed it, it didn't have the required permissions, and I couldn't manual change the permissions in the terminal app (not linked). After running the the correct .bat file, I didn't not have anymore boot loops. In fact, I'm able to load FM(foldermount) & Link2sd without issue. My original post works for me, and I'd thought I'd share. That is all. GL
By this way, foldermount also works too. Thank you
FYI, I found that running both link2sd and FM at boot could cause a mount conflict. Example, my sdext2 wasn't showing up in es manager and it affected my apps.
Sent from my C5502
this is the cmd prompt i get... it doesnt show positive results no matter what and i even gave root permissions to the command. any solutions?
I'm going to ask a ton of Qs that may or may not help you. I know I would want someone to help me out. Please thank if successful and a little more detail too.
1. You rooted .310, and did not upgrade OTA to .244 to obtain root, even after downgrading?
2. You have SuperSU or SuperUser installed on your phone?
3. You intalled busybox?
4. You ran the .bat file with busybox installed?
5. What happened? (reboot or bootloop)
6. You installed Link2SD and followed the universal Link2SD steps? (please find a guide if not)
7. What happened? (reboot or bootloop)
I don't know what "everything" is, so I had to ask and I hope it helps you and or anyone else out.....
Sent from my C5502
mobifi said:
I'm going to ask a ton of Qs that may or may not help you. I know I would want someone to help me out. Please thank if successful and a little more detail too.
1. You rooted .310, and did not upgrade OTA to .244 to obtain root, even after downgrading?
2. You have SuperSU or SuperUser installed on your phone?
3. You intalled busybox?
4. You ran the .bat file with busybox installed?
5. What happened? (reboot or bootloop)
6. You installed Link2SD and followed the universal Link2SD steps? (please find a guide if not)
7. What happened? (reboot or bootloop)
I don't know what "everything" is, so I had to ask and I hope it helps you and or anyone else out.....
Sent from my C5502
Click to expand...
Click to collapse
ok now im goona explain wt things i did and try to ans all ur questions..
1)i rooted .310 and then flashed .244 except system option and isntalled pre rooted .244 system to get the root permissions
2)i have supersu installed
3)installed busybox and given proper root permissions
4)yes i ran the bat file after busybox installed
5)bootloop
6)yes i followed all the necessary steps for link2sd including partition and setting primary for both and also tried fat32 and ext2 formats but suffers bootloop anyway
i didnt know about the busybox until u asked me the Qs but no use its still bootlooping....im going to try a ota update if available in india (i dont think they have it yet) if not then this process probably would never work for me...if u can please try to do this link2sd procedure after u have root excess using this method http://forum.xda-developers.com/showthread.php?t=2392865
and please upload a pic of cmd prompt showing successful results...i need to check something
I wouldn't be able to upload the .bat cmd prompt until the weekend at the soonest. But, I did include working screen shots of my firmware and link2sd. I think there's something important in the system only rom file... And that you probably need the OTA for this method to be successful too. There's a permission issue that needs to be resolved and I'm sure it'll work for people that haven't received the OTA. We just don't know the procedure yet.
Sent from my C5502
And FYI; I'd enjoy assisting you further by subjecting my ONLY device to your procedure if I had a spare device to work with, but unfortunately, I don't. And I don't believe anyone would fault me on this...
Sent from my C5502
another crazy thing i tried is that i flashed a global LTE stock rom and rooted it...but no OTA update available...only thing i can do is wait for an official OTA update in india..
There's a screen shot of this file /system/ect/vold.fstab and there's a line missing. If you're able to figure out how to express the missing line, then you may have a shot. I ran into boot loops. The file control the mounting instructions.
Sent from my C5502

Adaway disables after reboot

As stated in the title, Adaway after reboot will be disabled, have to re-enable it each time, have read sometimes it's device specific, reference to the HTC I believe, because of how it's partitioned. Wonder if the same for Moto X?
Wondering if anyone else has figured it out. Thanks
M973 said:
As stated in the title, Adaway after reboot will be disabled, have to re-enable it each time, have read sometimes it's device specific, reference to the HTC I believe, because of how it's partitioned. Wonder if the same for Moto X?
Wondering if anyone else has figured it out. Thanks
Click to expand...
Click to collapse
Are you rooted, booting into recovery to disable write protection, and then running AdAway?
That's all you should need to do. Then reboot normally and the .hosts file changes should stick. This is what I've been doing and it works every time.
Pretty sure this is because the system partition isn't normally mounted read/write. AdAway works by editing the hosts file, which lives in the system partition.
Are you rooted with MotoRoot, or PwnMyMoto? The only way AdAway settings could stick through a reboot is to boot into PwnMyMoto's write protection bypass mode (recovery mode), and run it there.
I rooted with PwnMyMoto, installed xposed framework for Motoxposed, rebooted only then into recovery to enable write so motoxposed would work, which is running fine. I'll have to look at how I run the app Adaway from within recovery.
Thanks
Edit: so meaning, if I reboot, I need to reboot from recovery, as opposed to other rooted apps that stay set even with a normal reboot, I may need to reboot recovery each time? Otherwise, I find after a normal reboot, just launching Adaway and "enabling" does fine, too, no reboot after needed.
I have the same issue, but if I boot from recovery, wifi will not work. So, I can either choose no ad block or no wifi and no idea how to fix either.
Sent from my SAMSUNG-SM-N900A using Tapatalk

[TUTORIAL]Root Without Bootloader Unlock, Replace Kingroot with Super SU

Worked Well on All Lollipop Versions of ALE-L21​
After many unsuccessful attempts, finally i found a solution, and it works like a charm...
First of All Download KINGROOT.apk
install it and run Kingroot... It will take some time to root your ALE-L21.
if unsuccessful, try again, it will surely work after retries... in my case it rooted my phone in third attempt.
After rooted successfully with Kingroot. then another step is to replace kingroot with SUPER SU, because Super SU works with all rooted apps, KINGROOT lack this feature.
I have made a small script to remove Chinese kinguser, all related files and folders, and install SuperSU.
This script will do all the work for you without using PC, just by terminal, first of all, thanks to chainfire for his SuperSU files.
Before starting :
Download and install Terminal emulator app.
Download and unzip "Replace_Kingroot_With_SuperSU.zip" file.
Steps :
Send the extracted folder "mrw" to the internal storage of your device and make sure that this folder contains 4 files
Open Terminal emulator and type :
Code:
su
Allow root permission
Type :
Code:
sh /sdcard/mrw/root.sh
It might display some error, at the end it will launch supersu or open supersu manually.
Update su binary normal, then reboot.
Done !
Now you can enjoy the power of root and Super Su...
Terminal Emulator for android
https://play.google.com/store/apps/...ore/apps/details?id=jackpal.androidterm&hl=en
Replace_Kingroot_With_SuperSU.zip
http://www.mediafire.com/download/x1efi7ev6nf3mvd/Replace_Kinguser_with_SuperSU-v2.0.zip
KingRoot.apk
http://androidmtk.com/download-kingroot-application
Thanks,
It works with me.
ALE-L21C185B130
--------
Hopefully soon we get simple way to unlock boot loader.
Huawei cloud application accounts for the unlock code is not on this phone log more than 14 days!
Happy to Hear this from you.
But can't works on the beta build marshmallow's.
dkonect said:
But can't works on the beta build marshmallow's.
Click to expand...
Click to collapse
Not Tested on Marshmallow.. that's why mentioned that it works on Lollipop..
Some errors on script start
Kingroot icon is still there and can't remove
com.kingroot.kinguser still active, if freezed supersu doesn't work anymore
ItalianWolf said:
Some errors on script start
Kingroot icon is still there and can't remove
com.kingroot.kinguser still active, if freezed supersu doesn't work anymore
Click to expand...
Click to collapse
You got error because you did not send mrw folder in main directory of sd card, you should send that folder to internal and external memory also to avoid any errors... update me when done...
saifkhan9187 said:
You got error because you did not send mrw folder in main directory of sd card, you should send that folder to internal and external memory also to avoid any errors... update me when done...
Click to expand...
Click to collapse
I'm following your instruction exactly, why not?
how can i blame you if i don't follow exactly what you wrote?
mrw was in root of sdcard, supersu and su binaries are working (if i don't freeze com.kinroot.kinguser) but what i wrote it's valid.
I launched again the script and after a lot of errors this time supersu asked me to reboot, first time didn't; now seems all kingroot trace are gone!
EDIT:
After testing i see that a lot of times supersu needs to be started manually to have the auth promp for an app, my english isn't so good, i'll write an example:
start (first time) an app that requires root
wait for auth prompt by supersu
wait a lot, so open supersu, then it shows the request for authorize
a second app started just after show immediatly the auth promp
When com.kingroot.kinguser was active the promp from supersu was everytime immediate.
Latest: kngroot unlocks bootloader
Is some chance this work in future on marshmallow ? thanks
Dear saifkhan9187,
How to update superSU?
I got failure message when SuperSU try updating.
Making this I still can get the OTA updates?
Is that ota still available?
Recently, about a month, I got the b188 update... Android 5.0.1
aab44 said:
Dear saifkhan9187,
How to update superSU?
I got failure message when SuperSU try updating.
Click to expand...
Click to collapse
Got the same error first time, reboot, launch again the script (you will see lot of errors this time file are already deleted no matter) then start supersu if not starts; this time doesn't fail.
@ItalianWolf how did you check for unlocked boot loader? Fastboot? Thanks!
@rHycH yes, reboot in fastboot mode and you can see in red that bootloader is unlocked
ItalianWolf said:
Got the same error first time, reboot, launch again the script (you will see lot of errors this time file are already deleted no matter) then start supersu if not starts; this time doesn't fail.
Click to expand...
Click to collapse
Thanks, its updated now.
--------
Waiting for simple way to unlock boot loader of ALE-L21
@aab44 bootloader is unlocked now, you can see in fastboot!
Please, is there any way to undo this and use kingroot again ??
or at least have an option to use an different busybox ??
since this have made Link2sd and foldermount unuseable for me
Many Thanks in advance
nibb-1 said:
Please, is there any way to undo this and use kingroot again ??
or at least have an option to use an different busybox ??
since this have made Link2sd and foldermount unuseable for me
Many Thanks in advance
Click to expand...
Click to collapse
Junst do full unroot from supersu and use again kingroot (install and root)

kingroot to supersu switching problem

So recently i rooted my Xperia z1 using kingroot and it went smoothly i got root access,then i tried to switch it to supersu and it didnt work,i have used terminal emulator to run the shell file,the method in which you place mrw folder in phone memory,but it just uninstalls the kingroot and installs the supersu,it didnt upate the root app,so supersu doesn't update its binary,i have tried multiple times and i cant do it manually because i camt mount /system to r/w what can i do? Any help please i am so frustrated with this kingroot app.
Hamzashujah said:
So recently i rooted my Xperia z1 using kingroot and it went smoothly i got root access,then i tried to switch it to supersu and it didnt work,i have used terminal emulator to run the shell file,the method in which you place mrw folder in phone memory,but it just uninstalls the kingroot and installs the supersu,it didnt upate the root app,so supersu doesn't update its binary,i have tried multiple times and i cant do it manually because i camt mount /system to r/w what can i do? Any help please i am so frustrated with this kingroot app.
Click to expand...
Click to collapse
First and foremost: Do NOT use Kingroot. There are many threads that explain why Kingroot is shady:
http://androidforums.com/threads/kingroot-safe-to-use.923983/
https://www.reddit.com/r/Android/comments/3vmspw/thoughts_regarding_kingroot/
http://forum.xda-developers.com/showthread.php?t=2604749
Yes, I know there's guides that recommends users to use KingRoot. But unless you want to send private IMEI to China or leak information to the world, just don't use it.
Second, use THIS guide to obtain root.
Alternatively, you can go to the custom ROM route: this will save you a lot of time and headache. Jaguar ROM if you want some AOSP flavor, or DStrikerz if you like Sony's UI. Both includes root, but DStrikerz will allow flashing with locked bootloader. Read THIS for custom recovery.

Need Help with Z3 Compact

***UPDATE***
I removed Kingroot through their app and unrooted my phone. I tried another one click root, Kingoroot (I know, quite similar names.) The SU which this one installs, isn't restricting me and I successfully set read/write to /system.
I still would prefer to be using superSU but I get a binary occupied message, and the kingouser app doesn't have an option to switch SU app.
For anyone else struggling with kingroot not letting apps work properly, try kingo, who knows.
-----------------------------------------------------------------------------
I have the Z3 Compact, and I HAVE NO ACCESS to a PC, and thus have rooted my phone with King root (which was a terrible idea but any root is better than no root)
I have this issue, where King root in some way shape or form is not allowing anything that requires write permission to /storage access to it.
This is not allowing me to install/use things like busybox, lucky patcher, freedom, and is also, stopping me from using terminal emulator to do things such as mount -o rw,remount,/system or anything else. I tried to use a system I found on XDA to replace Kingroots superuser to SuperSU to get around this, however, the replace_kinguser method, fails with no write permission, and also, fails to remove kinguser from /system/apps/kinguser because that doesn't exist as a directory and I think Kingroot may have made changes to their superuser handler.
I really, really need help getting Kingroot out, and superSU in. Without the use of a PC. Considering I do, have root, there must be something I can do.
I also can't set system to write with ES file explorer or pretty much any other method on the first ten pages of Google.
Any time I try to set /system to r/w I get permission denied.
I'm running, android 5.0.2
Also, BOOTLOADER UNLOCK ALLOWED? NO
So I don't think I can flash a custom recovery of any kind.

Categories

Resources