yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] Pacjonek:
I think it's binary 1.22.1 for ARM (see attachment)
[Sony Xperia M] mbc07:
This one you attached is v1.21.1, the same I'm currently using in this script
[Sony Xperia M] Pacjonek:
Are you sure?
[Sony Xperia M] ppprokurator:
Works brilliant

Hi, I tried to flash 4.3 with this method and I must say that you made a great job! Works perfect! :good:
[Sony Xperia M] mbc07:
Uh, you're right, the one you uploaded is 1.22, I accidentally called my current busybox install when I was checking version (silly BASH). Thanks for sharing, will include it in next version...
[Sony Xperia M] paper13579:
Ok, here is my results. I have a c1905 cross flashed with c2005 firmware. It is fully rooted and I deleted all my apps to give me 1.5 gigs. Here is what I did:

I downloaded c1905 ftf 4.3. I then followed your method step by step. But I kept getting a bootloop. I have tried it 4 times now, pushing the .ext4 file to sd card and internal memory twice. But all 4 times I got a bootloop:(. Is this becuz I flashed c1905 system.sin on my C2005, or does that even matter?

Please help, does anyone know what I should do?
[Sony Xperia M] mbc07:
Did you flash the entire FTF (except system) after you ran the script? Did the script output any error or warning? Also, make sure you're using a system.ext4 and FTF of same (eg. if you flash system.ext4 from C1905 use also FTF from C1905)...
[Sony Xperia M] paper13579:
Ah Ok, there is my problem, I just need to download the c1905 4.1.2 ftf and flash it first, root it, then do out the process with the c1905 4.3 ftf. Ok thanks for your help. I'll give it a shot tomorrow hopefully and reply as soon as I can:D
[Sony Xperia M] the gladiator:
That would be great !!!!!!!!!!!!! I thank you in advance
[Sony Xperia M] paper13579:
Nope, I keep gettinga bootloop. This is exactly what I did:

1.Download c1905 4.1.2 and c1905 4.3 FTF's

2.flashed the 4.1.2 ftf on m phone

3.rooted using cydia impactor

4. Installed busybox

5.got full root by using the tool by [NUT]

6.I opened the 4.3 firmware with winrar

7. I extracted the system.sin file

8. Using flashtool sin editor, I extracted data of the system.sin file

. This gave me a system.ext4 file

9. I extracted the nickyroot v1.0 zip

10. Put the system.ext4 in the same folder as the root.bat file in the nickyroot extracted folder

11. Opened root.bat

12. When it said waitingfor device, I attached my c1905, which was in normal mode

13. I pressed 2, so it took it to my sd card

14. waited until it copied the the file to my ad card, then it flashed it.

15. When it told me to, I removed the usb cable, took out the battery of my phone then put it back.

16. I opened flashtool again and flashed the same c1905 4.3 rtf and excluded the system.sin

17.it wiped data and cache and also flashed the rtf

18. I removed the usb cable and turned on my phone. It would show me the xperia boot animation. It would stay on that animation for hours, therefore it is on bootloop.

I didn't get any errors or warnings anywhere in that procedure. And by the way, that was my fifth time trying it. Getting really frustrated :banghead:

If there is anything I did wrong, please tell me, I really wanna be able to root
[Sony Xperia M] gamer649:
Did you do a battery pull and then restart your phone after getting into the 'bootloop'? I've been getting endless bootloops on the device after installing mods and all I've had to do is do a battery pull and let the phone restart, that fixed it.
[Sony Xperia M] himu_joy:
i prefer your method

After flashing fresh 4.3 "towelroot" rooted my device but i couldn't solve the SuperSu binary problem by any way. then i began to start over from flash 4.2>root>flash 4.3 with nicki root....its easier to me then finding out the solution of superSu on towelroot...now i'm flashing latest firmware for c2005>15.5.A.1.5... thanks again dude.:good:
[Sony Xperia M] inunxelex:
you need full root access, your device now in half root state!

http://xdaforums.com/showthread.php?t=2523597

http://xdaforums.com/showthread.php?t=2529561
[Sony Xperia M] Mysteryagr:
Man, thank you for trying to help.

But I already mentioned in the last post that it does not work.

After applying full root/reboot fix, reboot issue still exist.

I can't use foldermount.
[Sony Xperia M] zgonacy:
Can i use kitkat 4.4?

D6503 cihazımdan Tapatalk kullanılarak gönderildi
[Sony Xperia M] himu_joy:
none of this works

i've tried too. but none of the link helped to full root. and unfortunately [NUT] script unrooted my device from half root... :(...

then i came back to nickiRoot. now everything ok. ( 15.5.A.1.4).
[Sony Xperia M] prince10t:
15.4.A.1.9 root question

hey guys, I need an expert advise. I already fully rooted my XM following the guide in page1, from 4.1.2 fullroot going to 4.3 (15.4.A.0.23) without any problem. Now, i just want to upgrade to the recent 15.4.A.1.9 fully rooted. If I follow page1, It seems I may need to go back to 4.1.2 and start all over again from rooting it then flash to the new 4.3 (15.4.A.1.9).

Is there an easier way to do this update? should I flash the 15.4.A.1.9 directly using Flashtool and just excluding /system? or should I use Sony PCC and will it leave my XM still fully rooted after the update?

Big Thanks for anyone who can help me with this.

*btw, Im using XM single sim C1905.
[Sony Xperia M] gamer649:
You can use the toolkit on any rooted firmware. There is no need to downgrade to 4.1.2 to perform the update. Apparently there is a lot of bugs in the update too.
[Sony Xperia M] ki69:
I´m like you, have a C2005 done all that, and the reboot fix is for 4.2.2, need to be updated to 4.3

In 4.2.2 work like charm, in 4.3 if i use the i get only half root

like i post in here

http://xdaforums.com/showthread.php?t=2523597
[Sony Xperia M] Mysteryagr:
Root again using towelroot and try this fix

http://xdaforums.com/showthread.php?p=53490030

Don't forget to install busybox.
[Sony Xperia M] abuzer3:
bootloop stuck

after final flashing while rebooting , sony logo seen and dissapred and phone stuck pls help me

ı try two times flashing but phone diidnt open same way
[Sony Xperia M] ki69:
That worked and fixed the bootloop. tks
[Sony Xperia M] Android Bob:
ADB Root Access

Not directly related to Nicki Root, but a BIG bonus if you lose access to the GUI(but phone still up and running).

This could happen if you 'tinker' with the likes of /system/app/textinput-tng.apk. :cowboy:

This could mean having to redo the root process all over again if a fix can't be found [*sigh*]

C:\> adb root

C:\>

This fails with the following message:

C:\>adb root

adbd cannot run as root in production builds

C:\>

I can get 'su' access via shell using the following:

C:\>adb shell

shell@C1905:/ $

shell@C1905:/ $ su

su

root@C1905:/ #

root@C1905:/ # mount -o rw,remount /system

mount -o rw,remount /system

root@C1905:/ #

This allows me to remount the system partition as RW and then I can mv and cp to /system/app

The crazy thing is, I have had the following working.

C:\> adb root

C:\>

The first time via the standard RSA key on a debugging request from PC (always allow) and OK phone prompt.

I already had adb SuperSU permission granted.

This seems to have stopped working now after a few reboots.

Then via /default.prop and editing ro.debuggable=0 to ro.debuggable=1

This seems to have stopped working now after a few reboots and now just reverts to ro.debuggable=0

Are we able to get adb root 'permanently' to work to compliment adb shell su, or is adb root out of scope on a lock bootloader?

Using adb root allows adb push to system partition as a single action instead of double action of adb push to SD card and then #mv file to /system/app etc. I'm lazy like that. :D

Please ignore this post if it's not a valid 'fit' for the Nicki root thread. I understand.
[Sony Xperia M] inunxelex:
i think it's in ramdisk, try to create init.d script for replace it :p
[Sony Xperia M] par.vez11589:
What if I do factory reset my phone from settings. Root remains or gone.
[Sony Xperia M] mbc07:
Ok, I'll answer that one last time:

Rooting through Nicki Root gives full root. Root access will remain in the following cases:

• Factory Reset

• Using "Reset Customizations" from Service Menu

• Wiping cache and/or data partitions

• Flashing FTFs that doesn't modify system partition

Root access will be lost in the following cases:

• Updating/restoring phone through Sony PC Companion/Sony Update Service

• Flashing any FTF that modify system partition

• Using "Full unroot" option from SuperSU app

• Wiping system partition

• Manually deleting /system/xbin/su and/or /system/xbin/daemonsu from Terminal Emulator/adb shell

Also, updating to a new firmware version through Nicki Root will maintain root access too...
[Sony Xperia M] Kir3:
You soulful put this in the first post

Sent from my Sony Xperia M
[Sony Xperia M] lstplcwnr:
just got back from my vacation and found out that my data doesn't work anymore after rooting and staying on 4.2! help please

---------- Post added at 08:42 PM ---------- Previous post was at 08:37 PM ----------

i think there are a bunch of things that should be in the first post...
[Sony Xperia M] agusnugr:
i want to ask.

when we get a new update, shold we have 1,5 of internal memory space to use nickiroot again? can we just flash the new firmware without we start over the nickiroot script?

sorry for my bad english
[Sony Xperia M] Kir3:
It has been answered thousand times.
[Sony Xperia M] agusnugr:
Sorry for my question, i just a noob
[Sony Xperia M] baazellbub:
new update

Ok guys, I did all this and I am rooted. Now there is a new update, so all I need to do is exclude system partition and Iam done? Like you said it.

So the question is should I do this using flash tool, or updating it using pc companion and then use towelroot?

And if I use flash tool should I delete davlick cache(I'm not sure if flashtool has that kind of option, since i haven't used it in a while) or something like that before flashing the new update. Sorry if you've repeated yourself but its 4 am and I dont feel like searching 40 pages :S

And P.S. Link where I can download latest version of 4.3?
[Sony Xperia M] Arturiuz!:
upgrading to 4.3 with 15.4.A.1.9 firmware,you can use either PCC or use flashtool.kindly search google for latest XMSS firmware download..once you've upgraded to it:

1. Download & install TowelRoot.(your phone will reboot seconds after)

2. Download & install SuperSU from playstore then update it.

3. Download & install busybox from playstore. Wait for the binaries to completely load 'til 100% then click install.

4. Your phone is now fully rooted!
[Sony Xperia M] baazellbub:
info

Btw what is new in the new update, does it worth it to update it. If it's just fix for themes, better is not to bother with the update since I have too much stuff on the phone.
[Sony Xperia M] Arturiuz!:
Just some improvements on the phone features. Not that much,though. But as always,better performance when roted! :cool:

New update of the stock firmware, you mean? I'm not sure for the XMDS but for the SS, it's 15.4.A.1.9 version 4.3JB. :)
[Sony Xperia M] honeycakehorse:
Works perfectly with Stock ROM C2005_15.5.A.1.5_CE, but don't work for me with the German ROM C2005_15.5.A.1.5_DE.

After flashing the root was removed. I had to begin with flashing downgrade 4.2.2 and root...

Then I swapped internal SD with external SD with init.d support:

http://xdaforums.com/showthread.php?t=2711280

This is a Folder Mount replacement. You no longer need this app.
[Sony Xperia M] Amanation:
Atlast rooted without much mess. I am on C2004 version 4.3 and build no 15.5.A.1.5.

Just what I did is installed towelroot app.

Installed supersu app and busybox. If my phone is fully rooted or half rooted. How to know :( any help???

Send from phone using Internet ;)
[Sony Xperia M] gamer649:
Your phone will more than likely be half rooted. Try to edit the /system partition, if it reboots then you are half rooted and you will need to fix it using the stuff from here.
[Sony Xperia M] Franxx:
Thanks for this very well explaindd post, I'm gonna try... Will report it soon
[Sony Xperia M] danielcsax:
bro!

please help me!

i'm doomed
[Sony Xperia M] gamer649:
You haven't stated any of your problem so how are people meant to help?
[Sony Xperia M] Warst675:
It could be possible to adopt this method for a custom recovery installation in a phone with locked bootloader?
[Sony Xperia M] danielcsax:
i want to change my " Bootloader Unlocked Allowed : No" to " Bootloader Unlocked Allowed : Yes"

and i want to install CWM Recovery and flash CM11!

i am unable to do this and i want to get CM11 on my Xperia M C1905 4.3 CE anyhow! :crying:

i am rooted with towelroot though

please help me!
[Sony Xperia M] mbc07:
Sorry, you can't. Your carrier permanently locked your bootloader and there's no way to unlock it, so, no CM11 for you...
[Sony Xperia M] jotecnologo:
little typo in linux script
[Sony Xperia M] mbc07:
Quick update

Nicki Root is now merged in dd Flasher, read OP for more info.
[Sony Xperia M] mohtabbaa:
how?

how ? Z5 and 4.3?:confused:
[Sony Xperia M] gamer649:
I haven't used the Xperia M in some time, roughly a year now. At the time of my post I was using the Xperia M. I've now got the Xperia Z5.
[Sony Xperia M] paper13579:
Yes, I have allowed to boot hours at a time. After first bootloop, I do a battery pull and reboot but still get a bootloop. I do that again and again leavingit for ages to boot but nothing.:banghead:
[Sony Xperia M] kirev:
Can you return to stock at all? Did you try with 4.2.2 instead of 4.1.2?
[Sony Xperia M] paper13579:
I flashed the c1905 4.1.2 firmware again and my phone is functioning once again. And no, I have not tried it with c2005 firmware. Will it make a difference?
[Sony Xperia M] gamer649:
Out of interest, how big is the system.ext4 file you are flashing?
[Sony Xperia M] paper13579:
It is 1.17. Gigs
[Sony Xperia M] kirev:
I don't know. Maybe there's some incompatibility or something.
[Sony Xperia M] gamer649:
Okay, so I doubt that it the problem. That is the same size as mine. Is your phone originally a SS or DS?
[Sony Xperia M] paper13579:
God dammit, I will try c2005 in a second, will reportas soon as I can
[Sony Xperia M] mbc07:
Before step 12, were both USB Debugging and MTP mode enabled? Also, in step 16 you could untick "Wipe Data" before flashing, that way you will be able to use adb logcat or adb shell dmesg during boot after flashing 4.3 FTF, see if you find error messages or things like that during the bootloop...
[Sony Xperia M] paper13579:
SUCCESS, I am talking to you from my 4.3 locked rooted xperia m C2004. For me, it only worked for dual sim. I have tried the single sim at least 5 times, and all five were a failure. Is it right to say that this fix is for dual sim only, or did I mess up the installation process?:D:D:D:D
[Sony Xperia M] mbc07:
I think you messed up the install (maybe somewhat corrupt FTF), other Xperia M single SIM users already reported successfully rooted phones with that script... But anyway, I'm glad it worked for you :)
[Sony Xperia M] paper13579:
Alright man, thanks for the help anyway
[Sony Xperia M] arnabJ:
Works perfectly in C2004 M Dual.

Thanks once again [MENTION=5604590]mbc07[/MENTION]
[Sony Xperia M] Dr Goodvibes:
Successful Android 4.3 upgrade

Thank you very much [MENTION=5604590]mbc07[/MENTION] and those that contributed.

I have successfully upgraded to Android 4.3 on an Xperia C1905 with a locked bootloader (Is un-lockable, but I choose not to)

The following is just FYI and not related to the upgrade which went smoothly with no problems.

• I had Link2SD with a second partition formatted as ext3 when I was using Android 4.1.2

This failed on Android 4.3 and I had to re-format it as ext4 before I could get Link2SD to work again.

ext4 is better anyway, but used ext3 previously, as it was backward compatible with older devices (a.k.a Xperia X10i)

• I now have a robust Bluetooth Message Access Profile (MAP) service using Android 4.3

Never worked with Android 4.1.2 and now I can use the home phone (with Bluetooth/charging) for audible txt alerts and to make/receive cellular phone calls. Sweet.

[SOLVED] Panasonic Link2Cell KX-TG78 Bluetooth connection

Thanks again for your perseverance in making this Android 4.3 upgrade happen on a Locked Blootloader.
[Sony Xperia M] paper13579:
LOL, i just read the credits, nice to know i was a big part of this project

:D:D:D:D:D
[Sony Xperia M] esrom02:
Thank you so much for this!! Works first try ! Hoping for the CWM you're working on :))
[Sony Xperia M] paper13579:
Is there work being done on cwm foor locked bootloader? If so, who is doing it?
[Sony Xperia M] mbc07:
Whoa, I'm not working in CWM, I said it's something I may look into after finishing this script...
[Sony Xperia M] Shazam_strikes:
Works perfectly ...

First of all thanks to everyone who got a hand in " [SS/DS] [LB] Full root method for 4.3 update with locked bootloader" , I upgraded and rooted my Sony XMD C2004 yesterday successfully with this method. I upgraded my firmware to 4.3 so late because i was waiting for the INDIAN FIRMWARE of JB 4.3 like every Indian Xperia M dual owner but even after 2 weeks of the update launched in several countries, there was no update in INDIA ,even the SONY customer support don't know when it's coming, they just keep saying you will receive it shortly based on your imei . So i don't wanna wait anymore and downloaded the 4.3 JB XMD C2004 FTF file of brazil and flashed it and rooted it ( locked bootloader) and its working like a charm. So i wanna tell my Indian friends who are waiting for the Indian Firmware that they better stop waiting and start flashing with the brazil ftf file, because you know how slow, things work in INDIA.
[Sony Xperia M] sunny54_8:
so there is no need to unlock bootloader to downgrade? for root process [MENTION=5604590]mbc07[/MENTION]
[Sony Xperia M] mbc07:
No. The entire process (including downgrade) works even with locked bootloader.
[Sony Xperia M] paper13579:
No, to downgrade, all you need to do is flash the 4.1.2 or 4.2.2 onto your phone using flashtool. Unlocking the bootloader is not necessary
[Sony Xperia M] sunny54_8:
wow you rock. I'm rooted. will I have to install busybox X also manually? to move apps to external SD or for playing high size games and which second partition type should I use in external memory card?
[Sony Xperia M] ebram96:
can you give me a link for android 4.2.2 ftf file please ?

my phone is m dual c2005 android 4.3 locked bootloader

thaaaanks for your efforts
[Sony Xperia M] paper13579:
Here ya go

http://xdaforums.com/showthread.php?t=2523368
[Sony Xperia M] mbc07:
If you rooted using version 1.1 or newer of this script, then busybox is already installed and working, no need for BusyBox X ;)
[Sony Xperia M] sunny54_8:
and to use link2sd will I have to create secondary partition?
[Sony Xperia M] mbc07:
I don't know because I never tried Link2SD...
[Sony Xperia M] ansebovi:
yes u need to create 2nd partition for link2sd
[Sony Xperia M] sunny54_8:
yup now link2sd working by creating two fat32 primary partitions
[Sony Xperia M] Kir3:
I don't think this is actually true because the core files of android are in the /system partition and you are not flashing it, those I think this is just changing the Android version to 4.3. Can someone who did this install app which is 4.3+. I may be wrong.
[Sony Xperia M] gamer649:
Nope, this does flash 4.3 for you. Since you extract the system.sin file and then extract the data from that to get the system.ext4 file and then flash that it is flashing 4.3 for you. The system.sin and system.ext4 files both contain the /system partition, just the .ext4 is a bit more flash friendly.

The process works as follows (from my understanding);

1) You flash full 4.1.2 or 4.2.2 to your device,

2) You fully root it so that it will not reboot on modification of the /system partition and so that the superuser binaries are installed,

3) You move the system.ext4 to your phone,

4) You stop all processes what are running to 'freeze' your phone and to stop it rebooting,

5) You extract and then copy all of the files from the system.ext4 to the /system partition, overwriting the old files,

6) You reboot into flash mode to now get the correct kernel and boot instructions from the rest of the .ftf,

7) You now have 4.3 without removing the superuser binaries.
[Sony Xperia M] Kir3:
Thank you for explaining, I'll try tommorow, I just bought the phone, but knowing it have bugs annoy me (even I don't see them :D)

And for my previous experince (I had LwW, still good shape, rooted), you can't hard-brick your phone if you don't mess with the bootloader. :)
[Sony Xperia M] sunny54_8:
you're going to have a great life ahead because you bought this phone
[Sony Xperia M] mbc07:
Inside .sin file you have a partition image encrypted into Sony proprietary format. Using FlashTool you get system.ext4 which is the RAW image (just like a ISO from a CD/DVD). After pushing system.ext4 to the phone, the script mount it in a loop device (so it can edit the contents), copy the su binaries and busybox and then unmount the system.ext4. Since locked bootloaders can't directly flash RAW images through FlashTool, we do this directly in you phone by using dd command. After dd finishes, your phone will have the system partition identical of the 4.3 update (plus the su binaries we added to them before), however, modem and kernel still is of 4.2.2 ROM, and that's why you have to flash the remaining files of FTF after the process excluding system.sin, otherwise FlashTool would overwrite the modded system partition we flashed before, losing the su binaries. Also, if you just run the script and doesn't flash the modem and kernel images of 4.3 update after, you will stuck in a bootloop because the new system partition expect 4.3 modem and kernel :p
[Sony Xperia M] Kir3:
Thank you Very much, it worked :D

Now, let the fun begin :)
[Sony Xperia M] Dr Goodvibes:
I crashed and burned my rooted Android 4.3 on a C1905 Locked Blootloader.

So, I reinstalled Android 4.1.2 and rooted it.

I then attempted to use the Android 4.3 root process again

When I attempted to install the system partition and SuperSU component I get the following error.

Checking for root (look at your device and grant access if necessary)...

Initializing (your phone will die now, don't worry)...

Mounting image...

losetup: /storage/sdcard0/system.ext4

mount: mounting /dev/block/loop0 on /data/local/tmp/system failed: Device or resource busy

Installing SuperSU and disabling ric service...

Setting permissions...

Unmounting image...

umount: can't umount /data/local/tmp/system: Invalid argument

Flashing modified system image (this process will take a while)...

I'll have to look closer at what is attempting to 'hold/lock' the resource, but I only had ES File Explorer and Root Explorer installed aside from the standard build.

I'm currently using Firmware C1905 15.1.C.2.8-Central Europe ,

but after two failed attempts, I may try, Firmware C1905 15.1.C.2.8-GLOBAL (Indonesian ROM does not support 5GHz WiFi!!!. Only supports 2.4GHz)

Android 4.3 is successfully install... but just without su/SuperSU access in my failed attempts.

I'll re-installed Android 4.1.2 'again'... and try to analyzer what is holding a lock on /dev/block/loop0 on /data/local/tmp/system.

Any thoughts or pointers on where I'm going wrong would help.

I didn't have this problem when I installed Android 4.3 from the original fw the first time round. :confused:

[Update]

Doh!!!!!!!

I had flashtool open while running the PC push script.... third time is a charm. :o

All works without any problems ..when you DO NOT have flashtool open at the same time.
[Sony Xperia M] mindyabiznis:
Thanks OP, ive not yet updated to 4.3 because at first there wasnt a root method and then when you found a root method the ac!d audio mod wasnt yet compatible with 4.3... now that it is i will be updating to 4.3 shortly :victory: :good:

**edit: i have a hardlocked bootloader
[Sony Xperia M] ebram96:
applying it now 00000 be back after applying to give feedback