yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] Dirk:
So using this today i was able to Root, unlock Bootloader, install CWM+Xposed+Gravitybox and update to 4.4.4 all without needing to plug my phone into a PC and without ADB!

Love it. :cool:

Edit: Also all done without Data wipe!
[Nexus 5 Q&A, Help & Troubleshooting] Staggerlee66:
You can ? and lock the bootloader at will with apps like Trickster mod donate. Depending on the kernel, but you could flash say fla2s elementalx just to lock or unlock as i know it works on that with NO data loss

Please fix the F/C on this application. Thx.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
I love how all of a sudden there are a bunch of "brick" threads lol, as well as people telling others to use toolkits to recover from a "brick".
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Dopes will be dopes
[Nexus 5 Q&A, Help & Troubleshooting] jssingh:
Can someone pm me a link to V1 of towelroot please? V2 presenting some challenges. Thanks much.
[Nexus 5 Q&A, Help & Troubleshooting] gkillerx:
Because? V2 works perfectly.
[Nexus 5 Q&A, Help & Troubleshooting] st-w:
It's still available on the official website:

http://towelroot.com/tr1.apk
[Nexus 5 Q&A, Help & Troubleshooting] nick123ablxx32:
towelroot worked great after I rebooted and ran it again :good:
[Nexus 5 Q&A, Help & Troubleshooting] WwR4:
Nexus 5 just tested

I made an account just to verify and put others at ease, just got my Nexus 5 couple days ago.

Stock, updated to 4.4.4, used Towelroot V3, worked flawlessly.. didn't even need a reboot

initially for the root procedure. SuperSU however I rebooted and updated binaries, selecting Normal.

After that, works perfectly.
[Nexus 5 Q&A, Help & Troubleshooting] joecool666:
hi, yeah i have being on towelroot for awhile now very handy that, and nexus unlock bootloader from play store, and twrp installed, all work's well, regard's joe
[Nexus 5 Q&A, Help & Troubleshooting] Mairo:
Hi, do OTA work after towelroot.

If I had understand correctly then it should work, but when I unlock bootloader after towelroot, then probably OTA stops. is it so?
[Nexus 5 Q&A, Help & Troubleshooting] bitdomo:
Ota only stop works if you modified or removed any file which have to be patched by ota.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
There is a thread linked in general > sticky roll up called "ota help-desk"

It answers all OTA questions
[Nexus 5 Q&A, Help & Troubleshooting] Mairo:
I got my answer, but looks like something is wrong with towelroot.com page. When I click to Lambda then Chrome goes nuts, starts opening new windows. I waited a few seconds and already 32 windows was open :D.

And I don't want to use fastboot method. I want to keep my data.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Try dolphin browser?
[Nexus 5 Q&A, Help & Troubleshooting] Mairo:
With Dolphin it works, so simple solution, thanks. So I'm rooted now. I also tried unroot (superSU), just in case and everything is working. :good:
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Now get bootunlocker and unlock your bootloader without wipe so you can flash a recovery. All rooted.users should have one
[Nexus 5 Q&A, Help & Troubleshooting] Mairo:
Yeap, I did this. But can I lock my bootloader after flashing TWRP, without any future problems with custom recovery. Is it even necessary to lock it after custom recovery.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
You can lock it and unlock it with the app. There's no need to lock it necessarily. If you do lock it, make sure you keep your data backed up to PC because if you get a boot loop which may require unlocking your bootloader, you'll wipe all your data
[Nexus 5 Q&A, Help & Troubleshooting] grgana:
Wait..but if you have a root & cwm or twrp with lockedBL i think you can not flash custom roms..only mods and xposed... Right???

So practicaly you can root with towelroot, install recovery with flashify and unlock BL with bootunlocker..install busybox..=> done!! ..??

So no need for PC at all and there's no difference than using CMD fastboot..or rootkit..? ?

Ps: When i remember rooting xperias..and all the readings and tricks and step by step tutorial..

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] bitdomo:
Locked bootloader for nexus devices ONLY means that you cannot use the following commands: fastboot flash, fastboot boot, fastboot erase, fastboot format and etc... It does not verify kernel signatures even if its locked.
[Nexus 5 Q&A, Help & Troubleshooting] srm1973:
Would Towelroot work on Nexus 5 with Android L Developer Preview installed on?
[Nexus 5 Q&A, Help & Troubleshooting] :
Try it. But I'm betting no way.

?
[Nexus 5 Q&A, Help & Troubleshooting] srm1973:
Ill try it

I flashed android l preview a few days ago but now only able to charge my phone when switched off, not sure if hardware or software fault

Want to flash back to stock but cannot connect to pc via usb

How could i root without usb?
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Towelroot is the only way if you haven't got custom recovery.

So you can't even connect in fastboot mode?
[Nexus 5 Q&A, Help & Troubleshooting] srm1973:
Towelroot not working for me and cannot connect via fast boot
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Not a lot you can do then.
[Nexus 5 Q&A, Help & Troubleshooting] srm1973:
Towelroot says device not currently supported. Maybe it doesn't work with L preview
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Probably not,. No. This was already stated
[Nexus 5 Q&A, Help & Troubleshooting] srm1973:
OK I can get into fastboot but this is where I'm stuck to be honest, not sure what to do next
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
If you're wanting to root, you'll need to.flash a boot.img which allows root and a recovery.img.which you can flash super su from.

To use fastboot to flash, read the adb and fastboot thread available via my signature. there are.also.L root threads in general
[Nexus 5 Q&A, Help & Troubleshooting] srm1973:
Got back to 4.4.4 stock. Still have charging issues, phone only charges when off or I restart after plugging in charger, must be hardware related
[Nexus 5 Q&A, Help & Troubleshooting] FourPointedFreak:
I am unsure if anyone has addressed this (i didn't find it), but I got a replacement N5 and wanted to use TowelRoot as I did previously. Upon trying to download it, it brings a blank Chrome tab up then duplicates nonstop until I force close Chrome?

Anyone seen this?
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Are you using https://towelroot.com ?
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
I've had this issue with some sites in chrome. Try your backup browser
[Nexus 5 Q&A, Help & Troubleshooting] hard91:
@ rootsu

Plz help me how to use

ch_con /system/etc/init.d/99SuperSUDaemon

Using adb command

This command line is used in zip file of su(inside update-binary)

It call a function

ch_con() { /system/bin/toolbox chcon u:object_r:system_file:s0 $1 chcon u:object_r:system_file:s0 $1 }

I want to know the direct command which i can fed by adb through pc
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
What do you think you're trying to do?
[Nexus 5 Q&A, Help & Troubleshooting] hard91:
I want to execute update-binary of supersu through adb by doing this i can root my moto e by running a bat file
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
You have to flash the binary first and that gives you the binary and all the necessary scripts anyway.
[Nexus 5 Q&A, Help & Troubleshooting] birdie:
Can anyone confirm that TR works on a released version of Android 5.0 for Nexus 5?

I will not upgrade unless I'm 100% sure I can root my device.
[Nexus 5 Q&A, Help & Troubleshooting] :
I've heard Cf auto root works.

Not sure about towelroot.
[Nexus 5 Q&A, Help & Troubleshooting] birdie:
Yeah, I've already installed CF Auto Root but I hate how it works (it patches the kernel and God knows what it does else).
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
CF autoroot works, but it's almost a toolkit IMHO

Towelroot doesnt work

Flashing Chainfire's boot.img or sykopompos' bnoot.img followed by SuperSu works.
[Nexus 5 Q&A, Help & Troubleshooting] :
Good to know! Been busy as poop in Assist section.... I'm not up to date in 5.0. ?

Thanks my friend for the knowledge.
[Nexus 5 Q&A, Help & Troubleshooting] mrfluffy906:
Android 2.2 comes out.. "YAY"
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] jasongimeno:
Does anyone else's Email app crash immediately using the thor-gapps-rom V2? I searched all over forum and couldn't find anyone reporting this so am thinking I may be the only one. Would have posted in Dev section but I don't have enough posts yet.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] toon159:
It works for me

do u know how to show the battery percent?:confused:
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] :
Actually, seems like it's just the exchange portion that isn't working. Sorry, I don't know how to display battery percentage.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] frc3260:
GravityBox's Status Bar settings allows you to change the battery as well as show percentage.
[Themer General Discussion] princekelvin38:
Pls can anyone help me install themes on my lg cu920 am tired of the theme in it. Pls help
[Themer General Discussion] ThemerSupport:
Hi,

Unfortunately your device isn't supported just yet. The developers are working very hard to improve Themer's performance and other features, however adding more device support won't be easy due to lack of resources. Once Themer is more stable we'll look into more device support such as the CU920 :)
[Xperia Z1 Compact Android Development] munjeni:
delete thread!
[Xperia Z1 Compact Android Development] Beso:
1click root for 4.4.2 ROM?

Send from my Z1C using tapatalk
[Xperia Z1 Compact Android Development] munjeni:
I have tested on my phone and seems its working. I am not sure whats happening when there is active Sony ric service (I have disabled them since already have chargemon replaced). Simple install apk and run root, device will reboot. After booting your phone, establish adb shell connection and type "su", if you get root than probably everything is working! If you get root but can not get system rw than probably tool is not enought for us since sony ric service need to be killed (we need kernel module hack for that)... let me know! If some one found source code of the tool let me know!
[Xperia Z1 Compact Android Development] g27:
Don t work for me

---------- Post added at 09:54 PM ---------- Previous post was at 09:22 PM ----------

Anyone
[Xperia Z1 Compact Android Development] marsx1984:
Not working for me also.
[Xperia Z1 Compact Android Development] g27:
So jm sad !

---------- Post added at 10:06 PM ---------- Previous post was at 10:05 PM ----------

Munjeni please make à tuto step by step

---------- Post added at 10:07 PM ---------- Previous post was at 10:06 PM ----------

Munjeni please make à tuto step by step

J M on 757 bootlooder locked and not root of course !
[Xperia Z1 Compact Android Development] WildMoves:
Doesn't seem to work here either... It just makes the phone unresponsive after a while.
[Xperia Z1 Compact Android Development] Attitude.SSJ:
Doesn't seem to work on stock 757 build... According to logcat mount rw step fails immediately after rain button is clicked but the app keeps running and will eventually reboot phone after some time...
[Xperia Z1 Compact Android Development] SSyar:
didn't work on 757

pc did restart ,., on adb shell, at su command ,., su not found.,.,,
[Xperia Z1 Compact Android Development] CoolDevelopment:
Hmm where is ric service started? In ramdisk?

If yes we need to use this exploit to get root, stop ric service and then mount system.

What is the ric service actually doing? Does it just prevent the system partition to get mounted?
[Xperia Z1 Compact Android Development] zxz0O0:
Pretty sure the app can successfully get root but on Sony devices there is still RIC security which disallows write access to /system partition. So currently it's pretty much useless for us unless someone finds an exploit to disable RIC security.
[Xperia Z1 Compact Android Development] Attitude.SSJ:
Not sure but can this be used: http://xdaforums.com/xperia-z/orig-development/lb-definitive-root-remount-reboot-fix-t2317432
[Xperia Z1 Compact Android Development] CoolDevelopment:
Thanks. Maybe i will find time today to try some things out
[Xperia Z1 Compact Android Development] zxz0O0:
Everything important of the app is inside libexploit.so. Basically it copies all the necessary files for SuperSU (which are also bundled inside libexploit.so) after running the exploit.

Well to try it someone needs to do the following:

1. Go to recovery and wipe /system

2. Install system flashable zip without dualrecovery bundled (maybe some of my old files or make a custom)

3. Install SuperSU flashable zip

4. Try file from link (not the flashable)

+ need to have locked bootloader.

I might try it after work. :)

[MENTION=4120742]munjeni[/MENTION] maybe you can edit the thread title to something like "[Discussion] Porting new root exploit"
[Xperia Z1 Compact Android Development] zxz0O0:
Bad news guys, tried remountrebootfix but it can't mount root filesystem as rw. I also tried the exploit from Z2 section but no chance since we don't have kmem device :(

Guess geohot's exploit can only be useful to backup TA partition.
[Xperia Z1 Compact Android Development] TheQwertiest:
It seems that in z1s thread there is a similar discussion taking place, hopefully we can apply their findings to z1c as well.

Link: http://xdaforums.com/showthread.php?t=2644946
[Xperia Z1 Compact Android Development] zxz0O0:
Did anyone on locked bootloader and no root try this? http://xdaforums.com/showpost.php?p=53407127&postcount=1004

There might be a good chance it will work. I will look into porting geohot's app, I have an idea :)
[Xperia Z1 Compact Android Development] g27:
Is it work ?

---------- Post added at 12:38 PM ---------- Previous post was at 12:37 PM ----------

Post the. Apk please and explain how do
[Xperia Z1 Compact Android Development] zxz0O0:
Do you have locked bootloader and no root? I need someone to test.
[Xperia Z1 Compact Android Development] g27:
Yes

My bootlooder is locked

---------- Post added at 12:48 PM ---------- Previous post was at 12:48 PM ----------

And of course j didn t have root
[Xperia Z1 Compact Android Development] zxz0O0:
Download the file from this post: http://xdaforums.com/showpost.php?p=53407127&postcount=1004 and run as described. If you don't have adb installed, you can for example use the one from flashtool (C:\flashtool\x10flasher_lib\adb.exe)

Try this method first and if it doesn't work I will pm you some modified geohot files and instructions.
[Xperia Z1 Compact Android Development] munjeni:
Is there source code from Z2? We are in problem since we can not perform "insmod" or something to break down ric service. I thinking to make kernel module for breaking down ric but since we unable to perform insmod without temp root, we are in problem. Probably we will need to wait for our root exploit source code to make some small changes in getting into temp root to perform insmod command. Today I will research in kernel for probably ric breakout from userspace.

You must see this to understand how to kill ric + how these procedure is crazy -> https://github.com/munjeni/nut_root/commits/master Thats realy crazy! I spent 2 days to understand why I was unable to disable ric, but after enabling (crazy) loging, ric got stopped by "timing isue" .
[Xperia Z1 Compact Android Development] zxz0O0:
I think I have working port of geohot's app + disable sony ric :) But I want to know first if the method from Z1s works.

By the way you can download Z2 exploit from here: http://xdaforums.com/showthread.php?t=2781109 not sure if the rooting exploit works on our phone (it's service menu exploit) but sony ric disabling does not work since it's using /dev/kmem and we don't have that device (atleast not on 757, maybe on older versions).
[Xperia Z1 Compact Android Development] munjeni:
removed
[Xperia Z1 Compact Android Development] Attitude.SSJ:
Z1s method not working for me and also someone has mentioned in thread that it was only for z1s tmobile variant.
[Xperia Z1 Compact Android Development] beast_drc:
maybe I do something wrong, but nothing happens. done all 3 adb commands, then reboot and.. nothing.
[Xperia Z1 Compact Android Development] munjeni:
Just to let you know... pwn is not working if you thinking to use them! Only which we need at the moment is to disable sony ric! I will be glad if some one found new exploit source code!
[Xperia Z1 Compact Android Development] beast_drc:
[MENTION=4120742]munjeni[/MENTION] and what to do with your getroot?
[Xperia Z1 Compact Android Development] munjeni:
Nothing since its not working since ric is active! But you can push them to the /data/local/tmp folder, chmod them to 755 and execute. I will try something today with modified libexploit
[Xperia Z1 Compact Android Development] munjeni:
We can hack libexploit easily :) Just for example (if you look into libexploit by ida) you can see string "/system/bin/mount -o rw,remount /system", so if exploit allready have TEMP root than we can modify "mount" call to use external script instead of mount call, for example to use an script from /data/local/tmp folder :D or for example to call insmod blablabla :p ... First of all I will try to make kernel module for broking ric service, than will try something :)
[Xperia Z1 Compact Android Development] zxz0O0:
I have already done it. Confirmed working by Attitude.SSJ. Will publish root tool in some hours :good:
[Xperia Z1 Compact Android Development] beast_drc:
Yes, no success

D:\XPERIA\Z1 Compact\adb>adb shell /data/local/tmp/getroot
ro.build.product=D5503
ro.build.id=14.2.A.1.114

Runing exploit...
device will reboot when finish!
mount: Operation not permitted
[Xperia Z1 Compact Android Development] munjeni:
You have done by module?
[Xperia Z1 Compact Android Development] munjeni:
My version of the root is done, enjoy! :)
[Xperia Z1 Compact Android Development] munjeni:
Instructions changed since terminal emulator runing as a diferent user and have no enought permissions to root phone, so everything must be done by adb shell! I have removed device check so now Z1 and Z2 users can use newroot to root his phone, only recovery will need to replace manualy when you finish root since recovery.munjeni.gz in /system/bin folder is only for Z1C, but root is fully working!
[Xperia Z1 Compact Android Development] davidd6:
not working for me Z1C

unable to open input and output for patching

failed to patch kernel wp mod module

:'(
[Xperia Z1 Compact Android Development] munjeni:
Please try with adb shell!
[Xperia Z1 Compact Android Development] munjeni:
Ok, probably you are right since I using c function uname which call busybox uname function but since unrooted phones not come with busybox than error is the same like you mentioned! I will fix this now and make new version! :good: Is kernel version displayed on your adb window??
[Xperia Z1 Compact Android Development] munjeni:
New version is out! I am sure it will work now!
[Xperia Z1 Compact Android Development] bschuele:
does not work on mine

C:\Program Files (x86)\Minimal ADB and Fastboot>adb
t
....................................
NEWROOT FOR XPERIA Z1 COMPACT
BY MUNJENI @ 2014

this might work or most Xperias
credits to libexploit by Towelroot
credits to wp mod by MohammadAG
Thank you guys!
....................................

ro.build.product=D5503
ro.build.id=14.3.A.0.757
kernel version=3.4.0-perf-g6f5bf40

unable to open input and output for patching!
failed to patch kernel wp mod module :(
[Xperia Z1 Compact Android Development] munjeni:
Hey sorry, I worgot one thing related to the adb connection, must post detiled instruction now:

- establish adb shell connection (adb shell)

- go to /data/local/tmp folder (cd /data/local/tmp)

- change perms to newroot (chmod 755 newroot)

- than execute (./newroot)

In any way new version will work for sure without need to establish connection. Going to upload new version. Thanks for test! :)
[Xperia Z1 Compact Android Development] munjeni:
New version is out!
[Xperia Z1 Compact Android Development] munjeni:
Is working now?
[Xperia Z1 Compact Android Development] yozas:
this is what I get :)

C:\adb>adb shell /data/local/tmp/newroot

....................................

NEWROOT v1.3 FOR XPERIA Z1 COMPACT

BY MUNJENI @ 2014

This might work on most Xperias

credits to libexploit by Towelroot

credits to wp mod by MohammadAG

Thank you guys!

....................................

ro.build.product=D5503

ro.build.id=14.3.A.0.761

kernel version=3.4.0-perf-g6f5bf40

Rooting your phone...

mount: Operation not permitted

^C
[Xperia Z1 Compact Android Development] munjeni:
Ok thanks, I have installed stock ftf just for testing new version, new version is out, its working now! Let me know please!
[Xperia Z1 Compact Android Development] optic-XPERIA:
this is for locked bootloader?
[Xperia Z1 Compact Android Development] Attitude.SSJ:
It works on locked bootloader...
[Xperia Z1 Compact Android Development] munjeni:
I'm glad to hear that!
[Xperia Z1 Compact Android Development] munjeni:
New version is out! Added option for unrooting!
[Xperia Z1 Compact Android Development] optic-XPERIA:
what i have to do with the file called "newroot"?

:confused::confused::confused:
[Xperia Z1 Compact Android Development] Pakman123:
you have to put in the same folder where you have got adb.exe then open adb.exe threw command prompt and they the codes
[Xperia Z1 Compact Android Development] munjeni:
See instruction from the first post! You need adb shell to get it working, but if you have no idea what is adb shell than I can not help you, sorry.
[Xperia Z1 Compact Android Development] aigaming:
Nice tool,is there any reason why you didn't automatize even more procedure with zip file containing adb and one exe file that runs automatically adb command for rooting,user only needs to extract archive and run exe file,totally noob proof :)
[Xperia Z1 Compact Android Development] munjeni:
I thinking but I am lazy to do it :o
[Xperia Z1 Compact Android Development] aigaming:
Simple batch script could do the work and all user has to double click on it ;)
[Xperia Z1 Compact Android Development] munjeni:
No need since everyone know what mean adb shell... here need only 3 command to get into root :)
[Xperia Z1 Compact Android Development] aigaming:
It's ok but i would like to see in z1c forum a one click tool like they have for other phones ;)
[Xperia Z1 Compact Android Development] paulieboy2112:
I'm sorry, but I get permission denied even for "adb push newroot /data/local/tmp/"
[Xperia Z1 Compact Android Development] knowingplague:
Flawless

Reporting back it is working fine on Z1C with locked bootloader. Finally.

Gazillion thanks.

plague
[Xperia Z1 Compact Android Development] munjeni:
You're on jellybean? I have tested only on kitkat and it worked!
[Xperia Z1 Compact Android Development] paulieboy2112:
Nope, I just bought my phone yesterday and it came with 4.4.2 - .757 preinstalled.

I get access to the folder with adb but it doesn't let me push the file inside (shouldn't it be normal, since I'm not rooted?)

I was thinking about trying to change the permissions to the whole folder with chmod -R, but I don't know if it would work/be good.

---------- Post added at 05:30 PM ---------- Previous post was at 04:43 PM ----------

I wasn't running the prompt as admin.

I feel so stupid, sorry for wasting your time. Worked great, you made it easier than I thought. Thank you very much.