Root for D2303 Kitkat (18.3.C.0.40) locked bootloader - Sony Xperia M2

Hi guys, i managed to get my xperia M2 (D2303) root (rw /system too) with locked bootloader and kitkat (18.3.C.0.40). I don't know how did this method work, but i will explain what i did.
1. Flash stock JB and root with towelroot
2. Install SuperSU
3. Upgrade to KitKat via OTA. Now you are root without rw /system permission.
4. Download Easyroot tool (http://forum.xda-developers.com/show....php?t=2784900)
5. Edit the install.bat file removing the "adb shell "/data/local/tmp/towelzxperia_ert"" line
6. Follow the instructions in the Easyroot tool thread (http://forum.xda-developers.com/show....php?t=2784900)
7. Install SuperSU in /System. You can do this in the Menu of SuperSU.
8. Now you're root with rw /System permission.
This worked for me, and i could install Xposed framework, gravity box, busybox...
You can try this and tell if this works for everyone or if i've been lucky. I think i didn't forgot any step.
Sorry for the bad english, but i think that everyone will understand it.

Confirmed working on my own D2303.

Engineer91 said:
Hi guys, i managed to get my xperia M2 (D2303) root (rw /system too) with locked bootloader and kitkat (18.3.C.0.40). I don't know how did this method work, but i will explain what i did.
1. Flash stock JB and root with towelroot
2. Install SuperSU
3. Upgrade to KitKat via OTA. Now you are root without rw /system permission.
4. Download Easyroot tool (http://forum.xda-developers.com/show....php?t=2784900)
5. Edit the install.bat file removing the "adb shell "/data/local/tmp/towelzxperia_ert"" line
6. Follow the instructions in the Easyroot tool thread (http://forum.xda-developers.com/show....php?t=2784900)
7. Install SuperSU in /System. You can do this in the Menu of SuperSU.
8. Now you're root with rw /System permission.
This worked for me, and i could install Xposed framework, gravity box, busybox...
You can try this and tell if this works for everyone or if i've been lucky. I think i didn't forgot any step.
Sorry for the bad english, but i think that everyone will understand it.
Click to expand...
Click to collapse
Ill try on my D2306 with the latest 4.4.4 firmware doing that steps but on flashtool instead of OTA. Anyone knows if it will work? Thanks!
EDIT: Can't do it, flashtool remove the root, and the 4.4.4 its not on OTA yet. Maybe when someone release CWM for D2306 we can flash a pre-rooted firmware, but for now its impossible.

this works people, I tryed it.
If you have problems with service (no network) after the OTA update, then you have to flash the right jelly bean ftf. For my region (Bosnia and Hercegowina) it was: D2303_18.0.C.1.13_R2A_Customized_CE5.ftf

244
Engineer91 said:
Hi guys, i managed to get my xperia M2 (D2303) root (rw /system too) with locked bootloader and kitkat (18.3.C.0.40). I don't know how did this method work, but i will explain what i did.
1. Flash stock JB and root with towelroot
2. Install SuperSU
3. Upgrade to KitKat via OTA. Now you are root without rw /system permission.
4. Download Easyroot tool (http://forum.xda-developers.com/show....php?t=2784900)
5. Edit the install.bat file removing the "adb shell "/data/local/tmp/towelzxperia_ert"" line
6. Follow the instructions in the Easyroot tool thread (http://forum.xda-developers.com/show....php?t=2784900)
7. Install SuperSU in /System. You can do this in the Menu of SuperSU.
8. Now you're root with rw /System permission.
This worked for me, and i could install Xposed framework, gravity box, busybox...
You can try this and tell if this works for everyone or if i've been lucky. I think i didn't forgot any step.
Sorry for the bad english, but i think that everyone will understand it.
Click to expand...
Click to collapse
Cant update it via OTA. in something like 5% updating afted download, system just restart and reboot on Android what i had on phone. Just cant update via OTA. Someone know how can i fix it?

Easy root tool link
Engineer91 said:
Hi guys, i managed to get my xperia M2 (D2303) root (rw /system too) with locked bootloader and kitkat (18.3.C.0.40). I don't know how did this method work, but i will explain what i did.
1. Flash stock JB and root with towelroot
2. Install SuperSU
3. Upgrade to KitKat via OTA. Now you are root without rw /system permission.
4. Download Easyroot tool (http://forum.xda-developers.com/show....php?t=2784900)
5. Edit the install.bat file removing the "adb shell "/data/local/tmp/towelzxperia_ert"" line
6. Follow the instructions in the Easyroot tool thread (http://forum.xda-developers.com/show....php?t=2784900)
7. Install SuperSU in /System. You can do this in the Menu of SuperSU.
8. Now you're root with rw /System permission.
This worked for me, and i could install Xposed framework, gravity box, busybox...
You can try this and tell if this works for everyone or if i've been lucky. I think i didn't forgot any step.
Sorry for the bad english, but i think that everyone will understand it.
Click to expand...
Click to collapse
The link to the easy root tool thread is dead ...
can you tell me how i should use it?
thanks.:silly:

WORKING!!!
Engineer91 said:
Hi guys, i managed to get my xperia M2 (D2303) root (rw /system too) with locked bootloader and kitkat (18.3.C.0.40). I don't know how did this method work, but i will explain what i did.
1. Flash stock JB and root with towelroot
2. Install SuperSU
3. Upgrade to KitKat via OTA. Now you are root without rw /system permission.
4. Download Easyroot tool (http://forum.xda-developers.com/show....php?t=2784900)
5. Edit the install.bat file removing the "adb shell "/data/local/tmp/towelzxperia_ert"" line
6. Follow the instructions in the Easyroot tool thread (http://forum.xda-developers.com/show....php?t=2784900)
7. Install SuperSU in /System. You can do this in the Menu of SuperSU.
8. Now you're root with rw /System permission.
This worked for me, and i could install Xposed framework, gravity box, busybox...
You can try this and tell if this works for everyone or if i've been lucky. I think i didn't forgot any step.
Sorry for the bad english, but i think that everyone will understand it.
Click to expand...
Click to collapse
Working for me Xperia M2 LTE KitKat 4.4.4. I reupload link.

i dont want to reset my device. is there a way to do it with 4.4.4?

supertiger1234 said:
i dont want to reset my device. is there a way to do it with 4.4.4?
Click to expand...
Click to collapse
No, if you have looked bootloader.
Sent from Xperia M2 D2303

Engineer91 said:
Hi guys, i managed to get my xperia M2 (D2303) root (rw /system too) with locked bootloader and kitkat (18.3.C.0.40). I don't know how did this method work, but i will explain what i did.
1. Flash stock JB and root with towelroot
2. Install SuperSU
3. Upgrade to KitKat via OTA. Now you are root without rw /system permission.
4. Download Easyroot tool (http://forum.xda-developers.com/show....php?t=2784900)
5. Edit the install.bat file removing the "adb shell "/data/local/tmp/towelzxperia_ert"" line
6. Follow the instructions in the Easyroot tool thread (http://forum.xda-developers.com/show....php?t=2784900)
7. Install SuperSU in /System. You can do this in the Menu of SuperSU.
8. Now you're root with rw /System permission.
This worked for me, and i could install Xposed framework, gravity box, busybox...
You can try this and tell if this works for everyone or if i've been lucky. I think i didn't forgot any step.
Sorry for the bad english, but i think that everyone will understand it.
Click to expand...
Click to collapse
How will I flash stock JB and where do I get it from. I already have Kitkat 4.4.4 and my bootloader is locked

NIce work man, been searching everywhere to root my D2303 with kittkat.
Have one question. Is OTA (over the air) a simple update that my phone trying to install when im on wifi, or there is some app for this?
Ty very much and keep up the good work, we dummies depend of people like u.

Related

ICS4.0.4 can't use a one click root tool?

Rencently, my phone update to the ICS4.0.4 ROM via official rom。
I tryed to root my device use a 4.0.3 root tool (which worked fine with official 4.0.3rom),but it doesnt work.(2.3.6 is doesnt work too).
BOOT:locked
Reproduce
1.Flash the signed su update pack.
2.run the root tool.
the problem seems su command cant run use "su -c"
after update su zip pack ,I try run su use "adb shell su" in bat file , the # is appeared ,but the terminal freezed,the cursor flash continued,i can't input anythiny anymore,so other commane can't be run too.
Any ideas?
I don't believe there is a way to 1 click root 4.0.4 yet. It's a brand new update so the tools may not work.
The only way I could think of to keeping your root would be to downgrade back and the download "Voodoo OTA" root keeper and "Root Check" from the android market.
Voodoo is an app that creates files in your phone that will store the su- binary and restore it when you update your phone.
Root Check will do just as it says: Check to see if your phone is rooted.
So you will either have to wait for the 1 click root to be updated. Or Downgrade an try again.
Hope this helps!

[How to] Xperia E-Deodex rom on locked BL

I'll show you how deodex on locked bl
Needed:
- XPERIA E
- ADB
- pack deodex
- Root
- Flash Gordon
1. Download Flash Gordon, and install.
2. Put a pack on the phone, and run Flash Gordon.
3. Select a package and click Flash deodex.
4. Reboot
5. Run CMD, go to adb, and type (will be easiest to do this: Go to the folder with adb, stick shift, and the open the Open dialog recommending here)
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot​6. Ready
Download:​
Code:
http://www27.zippyshare.com/v/32240545/file.html
@Tejo001 Can you confirm you successfully used FlashGordon to flash the complete /system/apps folder before I try this method.. Thx
As I thought.. Bricked due to fc when trying to flash over running apps/system.. Ftf to the rescue!! (on E1 4.4.2 kitkat, with my own flashable deodex patch)
This method only works on E because it is converted from the ROM 2.33
I need comfirmation Have you try this methode ? Because i need a deodex rom for the systemui.apk i will install ^^ Because i have deleted the stock systemui.apk accidentally.. So you can certified this methode
And, you can make screenchot Thank you !
Sry my bad english :3
Yes
Thank you ! ♥
THANK YOU !
You have save me 2 times ! Because i deleted my systemui and with the flash i have it ! And i have now a deoxdex ROM ! Thank you !
There is no problem. Since I'm here
Tejo001 said:
This method only works on E because it is converted from the ROM 2.33
Click to expand...
Click to collapse
thanks, so are you saying FlashGordon does overwrite system/apps successfully or not (forget about what device I am on - I've made a perfectly good flashable deodex patch for my E1, as I did for Z Ultra and other sony devices http://forum.xda-developers.com/showthread.php?t=2798690).
Sorry for bugging you on this - I'm just confused how this could work on a running system (and I have an "unlockable" bootloader hence looking into other methods like this).
thanks again..

[Completed] CM11s install SU

Hello Gentlemen's
I am having One Plus One A0001
I need to install SU on it , but i cant install Update SU.zip from Cyanogen Recovery
(there were 4-5 option's)
{
1. Reboot
2. Apply Update
3. Wipe Disk/Factory Reset
4 .Wipe Caches
5. Wipe Media
}
When i tried to install SU from Apply Update
It was giving me signature error .
So please you people help me?
I get this information from this forum
Code:
You can s-off and after it gets root and you have s-off, (after you run revone -s 0) then:
Code:
adb remount
adb push su /system/xbin/su
adb shell chmod 04755 /system/xbin/su
Then you just simply install the SuperUser app from the playstore.
I was not able to understand any of this ,
So Please help me to install SU as i need root access for a particular app.
PS:
I dont want to install Custom Recovery , as i want to keep like it only .
Thank You Very Much
Hi
Thanks for writing to us at XDA Assist. You can't install SU from the CM recovery because the CM recovery can only install zips signed by CM. In order to root your phone you need to do this:
1. Unlock the bootloader.
2. Install a custom recovery.
3. Use TWRP recovery to install SuperSU.
I put together a guide specifically for this phone which is very detailed and will explain all you need to know, you'll find it here:
[GUIDES][Q&A]How-To Guides For Beginners + Q&A
Good luck, and if you have any questions please don't hesitate to ask in the guide thread.
timmaaa said:
Hi
Thanks for writing to us at XDA Assist. You can't install SU from the CM recovery because the CM recovery can only install zips signed by CM. In order to root your phone you need to do this:
Good luck, and if you have any questions please don't hesitate to ask in the guide thread.
Click to expand...
Click to collapse
Firstly Thank You for your valuable reply .
So we can't push files manually in /system/bin like locations ?
After reading deeply about rooting and what is actually does , I understand that twrp just pushes files for us that busybox and Superuser.apk in read-only file systems which cant be accessed by side-load or MTP's .That UPDATE-SuperSU-v2.46.zip it is a universal kind of rooter, it is having all kind of files for rooting almost all kind of phone with different architecture's.
My Point is cant we manually push those files by adb interface in USB debugging mode , by SDK's or other command-line executable ?
and my issues are in those method's like ./psneutor is not working for me
Reference
http://forum.xda-developers.com/showthread.php?t=2684210
No you can't just push it. The way to root this phone is how I outlined it above. Is there a reason you don't want to unlock your bootloader?
No response, thread closed.

[Solved] Replace KingUser with SuperSU and Binary Update fix

Hey everyone,
I'll be showing you the easiest way to replace Kinguser/KingoSuperUser or any other superuser app with SuperSU.
Procedure:
1. Download & Install ES File Explorer
2. In ES File Explorer menu ☰ , scroll down and enable the Root Explorer option
3. Now click on Homepage > Device > System > app
4. Once you're in the system/app folder, look for Kinguser.apk or KingoSuperUser.apk or any other Superuser apk that you have.
5. Delete that Superuser.apk, and go to Playstore and install that same Superuser app. Once installed, uninstall it from Playstore.
6. Now download and install SuperSU and update binaries via normal mode.
7. After 2 to 5 minutes, your binary will be updated, SuperSU will be installed correctly and now reboot your phone.
Note: Do not worry, deleting the SuperUser .apk will not unroot your phone. And this is also a fix for binary update issue.
MSalmanKhan17 said:
5. Delete that Superuser.apk, and go to Playstore and install that same Superuser app. Once installed, uninstall it from Playstore.
Click to expand...
Click to collapse
I don't understand that step. I rooted with KingRoot but this App isn't on playstore.
So I deleted the .apk, installed new from my downloaded apk and uninstalled with Titanium Backup.
The SuperSU still complains that it cannot replace the su-binary.
Any idea?
My phone is a Honor 4X Che2-L11 with an ARM Cortex-A53 Processor.
tosho1 said:
I don't understand that step. I rooted with KingRoot but this App isn't on playstore.
So I deleted the .apk, installed new from my downloaded apk and uninstalled with Titanium Backup.
The SuperSU still complains that it cannot replace the su-binary.
Any idea?
My phone is a Honor 4X Che2-L11 with an ARM Cortex-A53 Processor.
Click to expand...
Click to collapse
I followed the manual steps that Supersu says when installing the app (redirects to a web). It says there are 2 options, the other is installing Supersu-Me, but I haven't tried that (there seems to be issues for Lollipop). Also, in my device there was only one Kingo Superuser app and a Kingo Link app (I have seen webs where Kingo installs up to 3 things).
You need root (Kingo), su binary file, busybox, terminal emulator, ES explorer, supersu app.
Step 1: Install ES explorer with root.
Step 2: Rename Su to .SU
Step 3: Copy .SU to system/xbin
Step 4: Authorize .Su. For that, open terminal and type:
system/bin/su
mount -o rw,remount -t rootfs rootfs /system
chmod 777 /system/xbin/.su
Step 5: delete the other SU files, such as ksu, etc.
# check attributes
busybox lsattr /system/xbin/su
# remove a and i
busybox chattr -a /system/xbin/su
busybox chattr -i /system/xbin/su
# remove su
rm /system/xbin/su
Step 6: Rename.SU to SU
Step 7: Go back to the desktop to delete the other authorization apps, uninstall KingoRoot,
open SuperSU, it should ask to update binaries, choose yes, choose NORMAL, and reboot.
Hope it helps!
where is file ,
pzl upload the su file here,
and ur procedure is not understanding
properly ,
plz give procedure how to do this ,
or upload video,
@tosho1 its because huawei protect system partition on locked bootloader devices.
reflash stock rom, root with kingroot, flash twrp with rashr, unroot inside of kingroot and flash supersu with twrp
(you will be able to unroot because system is still mounted after rooting but after reboot you wont be able to touch it, thats why you have to use kingroot only to flash twrp and then remove it when you are still able to)
(method tested and working on my own che2-l11)
Thanks for your reply MarcoPLs.
Meanwhile I managed to get root working flawlessly. Don't ask me, how It's too long ago.
hijackerdev said:
where is file ,
pzl upload the su file here,
and ur procedure is not understanding
properly ,
plz give procedure how to do this ,
or upload video,
Click to expand...
Click to collapse
What worked for me was finding older version of kingroot app and rooting with that then using super SU me.apk
Replace kingroot with supersu
Here you will learn how to replace kingroot with supersu
Replace Kingroot With SuperSU

BLU Advance 5.0 HD

It looks to me like the best phone $80 can buy I spent couple hours trying to figure out how to enable Multi User module.
My understanding is that adding this to /system/build.prop would bring users module back:
fw.max_users=3
fw.show_multiuserui=1
None of the commonly used apps can root this phone.
Without root I cannot remount /system to read-write to edit build.prop
Stock recovery can mount /system
There are options in recovery to run update from sd card or to update via adb sideload but the phone does not show in adb devices while in recovery. There is also fastboot option.
I also tried dirty cow exploit but it fails with "only position independent executables (PIE) are supported"
I am into this for only couple hours, so I know I am missing a lot. Any pointers that could get me closer to enabling Users module would be welcome.
So, after some reading, i figured I should be able to apply update form recovery that will replace build.prop with modified one. For start, to test things out, I just want to copy file from update.zip to /system/build.prop.test
I created update.zip with update-script and the file I want to add to /system.
Here is update.zip: www . filedropper.com /update_10
I signed update.zip using this:
www . learn2crack.com /2014/02/sign-android-apk-zip.html
I get error "Signature verification failed". Is the problem that keys are test keys or that they are outdated? Is some special manufacturer key required to sign updates?
I am not looking for someone to do this, I just need to be pointed in the right direction.
I have multiple users now :
- downloaded TWRP from bluroms.info
- connected the phone, enabled USB debugging and OEM unlocking in developer options
- run "adb reboot bootloader"
- after phone booted in fastboot mode
fastboot oem unlock (followed instructions on screen / all data wiped)
fastboot boot blutwrp.img (downloaded TWRP)
- twrp started...
- mounted /system
adb pull /system/build.prop
- edited build.prop
adb push build.prop /system/build.prop
adb reboot
- phone got stuck on logo after reboot
removed battery and started the phone again and all seems good
@sasha_ Hey I know this isn't about how to root but could you tell me exactly how you managed to root your Blu Advance 5.0 HD? PM me.
mrfunnybone said:
@sasha_ Hey I know this isn't about how to root but could you tell me exactly how you managed to root your Blu Advance 5.0 HD? PM me.
Click to expand...
Click to collapse
If by rooting you mean, installing supersu so that apps can request root access, i did not do that, because i do not need it. There must be some tutorial around about installing supersu once you root access to the /system - and the steps I described can you get there.
sasha_ said:
If by rooting you mean, installing supersu so that apps can request root access, i did not do that, because i do not need it. There must be some tutorial around about installing supersu once you root access to the /system - and the steps I described can you get there.
Click to expand...
Click to collapse
So is getting root access to system like booting recovery TWRP? then pressing the Mount button and checking System? Sorry I'm a newb at this.
I'd love to gain root on this phone I have twrp installed but can't seem to find a root method that works
Just in case you guys are still watching this, I posted my experience with this phone here
https://forum.xda-developers.com/showpost.php?p=75164672&postcount=26

Categories

Resources