yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] am10nxw:
Mobileiron still detecting root

My company recently stopped allowing us to access company e-mail on phones that have root access. In order to comply I have followed the instructions to unroot the phone and the instructions to set the Lock state and the tamper setting back to default. Everything appears successful to me. However mobileiron is still reporting that my phone has root access.

Mobileiron gives me no insight into how or why it's detecting root. This is the mobileiron website message.

"CURRENT ALERTS×

Your device is out of compliance for the reason(s) below. When you resolve the issues, please click the CHECKIN button to wake your device to check in and put you back in compliance.

Device is Jailbroken or Rooted. 1This device is ROOTED and is currently in a compromised security state."

I have opened a ticket with my companies IT team and I'm waiting for them to get back to me.

Does anyone have any idea's that I could try?
[Nexus 5 General] jd1639:
Check in /system/xbin to see if su is still there. You may have to flash the factory image to get your phone in an as new condition.

Sent from my Nexus 5
[Nexus 5 General] am10nxw:
I flashed the factory image 4.4.2 (KOT49H). Is this the same version the phone would ship with? I checked the /system/xbin only has one file called dexdump in it.
[Nexus 5 General] abaaaabbbb63:
So your phone was wiped?

Is your bootloader still unlocked?
[Nexus 5 General] am10nxw:
Yes the phone was wiped. Bootloader is locked.
[Nexus 5 General] abaaaabbbb63:
Huh..weird. Root should have been wiped.

Tamper flag was reset?

The only thing you could do is repeat the whole process again.
[Nexus 5 General] am10nxw:
Yes the tamper flag was reset.

Everything looks like it is back to factory to me. I'll try the whole process over again. If that doesn't work then I'm going to talk to someone at my company to see if mobileiron is finding anything or if mobileiron is just not updating their records.

I'll post an update if I find anything out.
[Nexus 5 General] moralesh23:
Not Relocking

Hey guys i've tried following the steps in the process but for some reason when i try to flash the script in recovery it says device is not supported i have a big issue as my screen is not responding and im sending it back to google so i need to relock my bootloader but its not working
[Nexus 5 General] xb1z:
Sorry, but I am new here and have problems that I can not navigate to the Nexus Bootunlocker zip....

What is meant by "put the zip on your internal storage"?

Sorry my English is not so good, perhaps you could help me??

Problem solved - thanks anyway
[Nexus 5 General] am10nxw:
I figured out the issue. Mobileiron looks for apps that can use root and if it finds any it considers the phone rooted. I uninstalled the apps that can use root, wiped my phone and started over and now mobileiron is happy. I hope this finding helps other people.
[Nexus 5 General] calembic:
Hi after unrooting my Nexus 5 i have no signal i have followed everything in step 2. I have 3g [can browse the web] but no signal for calls. I need some advise please?
[Nexus 5 General] jd1639:
Use the flash-all.bat from method 1 and see if that fixes your problem

Sent from my Nexus 5
[Nexus 5 General] calembic:
I have tried that & i have also flashed back to purity rom still just data no signal, I have a bad feeling its scrap :(
[Nexus 5 General] jd1639:
Have you checked your apn? You can Google the correct ones for your carrier

Sent from my Nexus 5
[Nexus 5 General] calembic:
When i type *#*#4636#*#* into the dialer i have the phone info its says emergency calls only. Then i click the settings at the top right to select band all it has as a option is usa band.

I have searched for apn but my data is work just no gsm do i need apn for gsm?
[Nexus 5 General] jd1639:
Don't use the dialer, go into settings, wireless& networks, more, mobile networks, access point names. See if they're set up correctly for lte on your carrier

Sent from my Nexus 5
[Nexus 5 General] calembic:
It all looks to be correct. Also it shows im connected to emobile but it says emergency calls only. I have data tho i can browse the net
[Nexus 5 General] abaaaabbbb63:
Go to settings>about phone. What's your baseband version?
[Nexus 5 General] bydal:
Good guide, thanks!!!

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 General] calembic:
Hi aba you can see my baseband on the image. I have data connection, i just dont have call signal.
[Nexus 5 General] calembic:
I just flashed a cm11 rom and kernel its still the same so i think its time to get another phone :( any chance the flashing could have done it?
[Nexus 5 General] jd1639:
Have you checked your apn?

Sent from my Nexus 5
[Nexus 5 General] calembic:
Yeah but not sure what settings are for the gsm signal. I have 2g/3g data connection so just missing cell signal. It even knows my operator emobile ireland but it says emergency calls only. Do u know what settings would affect that?
[Nexus 5 General] jd1639:
I would Google your carriers apn settings and make sure what's on your phone is the same. You could also contact your carrier and ask them for the settings

Sent from my Nexus 5
[Nexus 5 General] sirovai:
Apn settings are only for setup 3G connection (internet) afaik.

Sent from Tapatalk with Nexus 5
[Nexus 5 General] xb1z:
resetting tamper flag

after resetting tamper flag how should i remove the zip file from phone (is this a must) ??

and please could you explain me how I come in recovery mode after I have flashed the phone with method 1?
[Nexus 5 General] sirovai:
Make another factory reset or simply boot the phone and remove it from /sdcard.

To enter in recovery press vol down+key then with volume rocker choose recovery. When you see android robot press volume up et voilà.
[Nexus 5 General] xb1z:
To make another factory rest makes no sense for me but than I must make another tamper flag. is tis right?
[Nexus 5 General] sirovai:
You can make a factory reset from recovery, its very easy....

And more: once you resetted the tamper flag with the Nexusbootunlocker your device have a lock bootloader.

Don't do another temp flag reset!

Follow the guide in the OP, its explained veeery well.
[Nexus 5 General] xb1z:
Thanks but I dont unterstand it all. What are exactly the steps after flashing the phone with flashall.bat?
[Nexus 5 General] jd1639:
Just boot into fastboot on your phone, connect your usb and double click the flash-all.bat

Sent from my Nexus 5
[Nexus 5 General] xb1z:
Ok that is clear. But after flashing weich is meant by booting in Recovery?
[Nexus 5 General] jd1639:
You want to boot into the bootloader, then use the volume keys to go to recovery.

Sent from my Nexus 5
[Nexus 5 General] xb1z:
Ok thank you.
[Nexus 5 General] atishey23:
I see No images in op. Plz reupload.
[Nexus 5 General] Primokorn:
Check your ad blocker. I do see them eg under "Extract the archive you downloaded...."
[Nexus 5 General] atishey23:
I'm using tapatalk BTW. And I use no adblocker

---------- Post added at 10:12 AM ---------- Previous post was at 10:09 AM ----------

And if I flash full package of google factory images, will it erase my internal memory..(all files etc.??)
[Nexus 5 General] Primokorn:
Yep so backup first. Check the warning ;)
[Nexus 5 General] DrunkFuX666:
Ok i been trying to figure this out for the past 2 hours to no avail...

iv flashed stock image using method 1... but im trying to lock the bootloader and reset the tamper meter...

now when im running fasboot boot twrp.img i keep getting this...

cannot load 'twrp.img':no such file or directory

No im sure im in the right folder and what not... iv opened command prompt in the correct folder by holding SHIFT and right click...

Im also sure the phone is detected because fastboot devices is showing me my phones serial number... what the heck is going on :S
[Nexus 5 General] samersh72:
Make sure that you have renamed the recovery to "twrp"
[Nexus 5 General] DrunkFuX666:
I did that ofcourse.

EDIT: oh my god im so dumb... i remaned as twrp.img... ****... thanks dude...
[Nexus 5 General] calembic:
Thanks for all your help and suggestions i thought i would report back as it may help someone else. Sent the phone for repair and they have changed the main board. Only thing i can think of is i never backed up my efs partition and maybe flashing the stock rom damaged it, as it was only after this i had trouble. Thanks again
[Nexus 5 General] atishey23:
Can I leave that image that erase or overwrite that internal partition? And what would that image would be?
[Nexus 5 General] jd1639:
Don't flash userdata.img if you don't want to over write your user data

Edit, you might want to just flash the system.img and see if that fixes your problem

Sent from my Nexus 5
[Nexus 5 General] danny4386:
when i try to run the batch file it says that "fastboot" is not and operable command. im just trying to unroot my 32gb nexus 5
[Nexus 5 General] abaaaabbbb63:
You skipped the Install Adb and Fastboot part.
[Nexus 5 General] p-slim:
where is the archive located that runs the windows program?
[Nexus 5 General] gee2012:
You mean the android-sdk file? It should be installed on the C drive directly, not in the program files.
[Nexus 5 General] Private.Indo:
i download it factory image, but it only have 1 file inside
[Nexus 5 General] samersh72:
Use 7zip to extract
[Nexus 5 General] pathtologos:
I'm a different person but having same issue. I installed the adb and fastboot like 3 times and I keep getting "fastboot is not a recognized command." I'm trying to find where fastboot was put in order to move the extracted files into same folder as I've seen b4 (I'm not COMPLETELY new to this) but I can't find it. I went to device manager and mine doesn't look like the pics u gave us in OP. I don't have an "other devices" in my list. I do see android bootloader interface (or something like that). I'm on windows 8.1. Any suggestions?

Thanks.
[Nexus 5 General] abaaaabbbb63:
Fastboot is installed, if you used the tool in the OP, in system32.
[Nexus 5 General] gee2012:
Did you disable usb driver signature authentication in Win8.1? Link for how to http://www.google.nl/url?sa=t&rct=j...u0g0qbx04QxQo3DpZozO4SQ&bvm=bv.64507335,d.bGQ.
[Nexus 5 General] lopri:
Thank you!
[Nexus 5 General] cobyman7035:
ot: so i did that twrp NANDROID backup, it was around 1gb

can i safely delete that TWRP folder from my phone? i already backed up that folder to my PC

thanks
[Nexus 5 General] abaaaabbbb63:
Yes, you can delete the backup. Be sure you remember its path.
[Nexus 5 General] Primokorn:
Yes you can BUT you'll need it when you'll want to restore a backup. I always keep one backup on my phone (at least).

Otherwise if you have a weird issue you'll have to transfer your backup via ADB afaik.
[Nexus 5 General] Yasko91:
Method one does not work for me

Hi everybody, I hope someone can help me.

I'm going to give a full explenation of what i have done so you could follow everything

So first i wanted to root my nexus by using CF-autoroot, therefore i activated usb debugger and installed the google usb driver.

Once started it said "error fastboot path specific etc" i first didn't realise what this was so i gave up. But now after everything i realised that my drivers of adb and fastboot weren't installed properly.

Then i made the biggest mistake of all. I used the nexus 5 multi kit 3.0 (apparently using a tool as a beginner isnt recommended) so it unlocked, then it asked witch custom recovery i wanted and it installed CMW. (without rebooting the device) and there it stopped. so i wanted to go out of cmw and it asked if i wanted to go back to the original recovery but i denied that. waiting waiting waiting, but my device was stuck in bootloop.

So i went to another toolkit (kwogger) and i selected unbrick device, but that followed with a lot of errors (i think it had to do with the drivers of adb and fastboot)

Then i say this tutorial, first i didnt manage to install the drivers properrly and it said "fastboot is not recognized as an internal or external command operable program or batch file". But today i managed to install them correctly.

Next it said like someone else mentioned "error cannot open see image" So the way i executed this proces was by right mouse clik ot the file "flash all" open it as an administrator". but i dont know what else i would supposed to do

(I can get into my bootloader, (so if i press power vol up and down i can see a big android with a blue belle and at the bottem it says bootloader uunlocked. It is from this location that i try to install everything)

I actually don't know what i have to do, Can someone please help me. I tried to explain everything that i have done, i really hope someone could help me with this one
[Nexus 5 General] abaaaabbbb63:
Right click the "image-hammerhead-Xxxx.zip". What permissions does it have?
[Nexus 5 General] Yasko91:
Thank u for trying to help me, do you mean this one?
[Nexus 5 General] abaaaabbbb63:
Permissions seem ok. Tick the "Full control".

Try moving the whole folder on another disk partition (From C to D), and try again.
[Nexus 5 General] Yasko91:
I moved it to another partition, and it still didn't worked.

The i thought let me try it without "Run as administrator" and it WORKED!!!

BUT

Wait for everything to flash.

★After everything finished, select "Recovery" using the volume buttons.

★When a small Android appears, press Power Button + Volume UP.

★Select "Wipe data/factory data reset"

★Reboot. Your phone should be stock.

These were the stuff it did not do, it went straight to rebooting and stock rom was still on it. (I have put the "flashing proces in the discription)

is this it?? bootloader is still unlocked and i guess i have still cmw (didnt try to go in there)

Should i do anything else

I really thank u a lot my friend
[Nexus 5 General] abaaaabbbb63:
I don't really get what you did, but I'm glad you sorted it out :)
[Nexus 5 General] Yasko91:
Normally i ran "flash all" as an administrator, (i also tried this when i moved everything out to an other partition, it still didnt work, but then i tried it by just double clicking on it and it just started to do its thing, i did not do anything else, it just finished the process and went straight to the installation proces of android so choosing language, giving your email adress etc)

I am done for today, but could i still try to get root on this device, just follow your tutorial right (bootloader is unlocked, and i checked that cmw is nott on it, so just the normal official recovery mode), this time i wont use any of the toolkits

Btw, how can i donate something to you? you might have realised it, but i'm quite new to these things

Thank you very much
[Nexus 5 General] abaaaabbbb63:
[TUTORIAL] How to flash a factory image | Return to stock | Unroot your Nexus 5

Follow Chromium's tutorial for rooting. Just skip the unlocking boodloader part.

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

No need for donations. I'm just happy to help.

If you want to find out more about all these things, check out my other thread:

http://xdaforums.com/showthread.php?t=2508292
[Nexus 5 General] gee2012:
CF Auto Root http://xdaforums.com/showthread.php?t=2507211 is a safe and easy way to root, this would have unlocked your bootloader too bro. Read the OP well before you do anything.
[Nexus 5 General] Yasko91:
Well i'm just trying to support you, though I really like your gesture, Thank you
[Nexus 5 General] blackie100:
I can't seem to get it to work. I get error: cannot load bootloader.img in both methods.

What am I doing wrong? I follow all the steps exactly =/

EDIT: Nvm, I renamed the files to boot.img, so it was boot.img.img...

So stupid :D
[Nexus 5 General] abaaaabbbb63:
Don't run anything as admin, and make sure your path is correct.
[Nexus 5 General] blackie100:
Got it to work, I renamed the file wrong lols.

Thanks alot for the tutorial <3
[Nexus 5 General] previse:
Using either method this ends up making my recovery show an android with a red exclamation mark.
[Nexus 5 General] Chromium:
That is supposed to happen. The red exclamation with the dead android is the splash screen to the stock recovery. Hold power + volume up to access the actual menu.
[Nexus 5 General] previse:
EDIT: Doh! Got it
[Nexus 5 General] raghavsharmaxda:
Did root..umlocked bootloader..installed twrp..did many things..xposed and all..i falshed walkman.Zip then..it required wiping cache and dalvik cache(i have used cwm on sammy device and it takes seconds), it took like 2minutes..i got worried..and switched force off device..dis restart..it did..just all files were not getting reased by ny app......when i did format , it says cache not found...some good frnd gave this link..i tried flashing scratch rom..i have flashed via fastboot earlier too...this time ..It says..fast boot mode is not recognised as internal or external command...it comes like 4times..and says,click any button to exit..pls do help...i didnt had any backup before simple walkman flash...(as never have in any device)..it doesnt has odin to make everything alright...! Just do help..now nothing works as internal memory is not getting read by any app...and its formatted too now....there was no rom zip in it too..i tried to sideload...i failed..i need step by step guide....pls do help..just pls do.its my frnds device..not mine...
[Nexus 5 General] pathtologos:
Figured it out. Thanks.
[Nexus 5 General] MugenK0DE:
Nice
[Nexus 5 General] whytechapel_x:
When I flash the stock image using method 1, everything goes successfully except that the recovery doesn't get installed correctly? Any idea why?
[Nexus 5 General] samersh72:
What did you mean by not installed correctly?

Sent from my Xperia L
[Nexus 5 General] whytechapel_x:
I try booting into recovery and the little android icon appears with a red exclamation mark.
[Nexus 5 General] samersh72:
Press volume up when you see the icon

Sent from my Sanei N91
[Nexus 5 General] berniedc:
working fine

Gesendet von meinem Nexus 5
[Nexus 5 General] deathgame:
Do I need to put Temper flag value to "false" to get official OTA update ?
[Nexus 5 General] DigitalUnderground:
No
[Nexus 5 General] smashcz:
I'm getting this error.... any help appreciated

error: cannot open 'bootloader-hammerhead-HHZ11d.img'

rebooting into bootloader...

OKAY [ 0.081s]

finished. total time: 0.081s

error: cannot open 'radio-hammerhead-M8974A-1.0.25.0.17.img'

rebooting into bootloader...

OKAY [ 0.078s]

finished. total time: 0.078s

error: failed to load 'image-hammerhead-krt16m.zip': No such file or directory

Press any key to exit...
[Nexus 5 General] samersh72:
did you unzip the downloaded package?

what commands are you using?
[Nexus 5 General] smashcz:
i did unzip it

I just ran "flash-all.bat"
[Nexus 5 General] vin4yak:
Please don't use the flash all script... Do it manually... It will just take few minutes more... This way you can be sure where you've gone wrong..
[Nexus 5 General] smashcz:
I just did, it flashed radio fine... now its stuck on this.. (over 10 mins)

c:\adb>fastboot -w update image-hammerhead-krt16m.zip

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

archive does not contain 'system.sig'

--------------------------------------------

Bootloader Version...: HHZ11d

Baseband Version.....: M8974A-1.0.25.0.17

Serial Number........: 019c23e208e4bc1f

--------------------------------------------

checking product...

OKAY [ 0.100s]

checking version-bootloader...

OKAY [ 0.100s]

checking version-baseband...

OKAY [ 0.099s]

sending 'boot' (8620 KB)...

OKAY [ 0.489s]

writing 'boot'...

OKAY [ 0.738s]

sending 'recovery' (9202 KB)...

OKAY [ 0.532s]

writing 'recovery'...

OKAY [ 0.777s]

erasing 'system'...

OKAY [ 1.233s]

sending 'system' (692940 KB)...

OKAY [ 21.953s]

writing 'system'...
[Nexus 5 General] samersh72:
unzip the image-hammerhead-krt16m.zip, and flash each image separately

perform before flashing system: fastboot erase system
[Nexus 5 General] smashcz:
thanks

somehow when i unplugged it loaded fine, so all good
[Nexus 5 General] sempot:
Excellent guide! Kudos!
[Nexus 5 General] dallas220:
Question

Sorry if this doesn't quite belong here but I was curious to go back just to stock kernel, not completely stock itself. Could anyone link me to a good step by step for me to do this? Do i use adbfastboot the boot.img only? Im just a a little confused..

Sorry I am still new and learning. Thanks for any help!
[Nexus 5 General] samersh72:
Just flash boot.img

fastboot flash boot boot.img

Sent from my N91
[Nexus 5 General] dallas220:
Thanks brother

so I understand this correctly, I just type in adb devices, then the flashboot.img code then its done? Is this correct?

What if I want to flash the system.img too (because say that custom kernels have some change in this and the stock rom should be flashed along with the boot.img)

is this right?

If so, do i just do the boot.img then the system.img after?

Does that make sense?
[Nexus 5 General] jd1639:
You want to use fastboot commands, so fastboot devices, not adb devices. If you want to flash the system then it's:

fastboot flash system system.img

Sent from my Nexus 5
[Nexus 5 General] dallas220:
yes, sorry for the confusion! I guess my second question is does it matter if I were to flash the system img before or after the boot.img or does this matter?

Thank you for the fast response brother
[Nexus 5 General] jd1639:
It doesn't matter which you flash first

Sent from my Nexus 5
[Nexus 5 General] dallas220:
Okay when I type in fastboot devices it recognizes the phone (I'm in fastboot mode on it) but when i type in any commands such as Fastboot flash boot boot.img nothing happens...

Do i have to have the images in a certain directory?? Im kind of lost
[Nexus 5 General] jd1639:
I

Does it give you any errors? Fyi, Fastboot has to be fastboot, lower case not sure of it's just a typo on your post

Edit, are you getting boot.img and system.img grin the factory image? You have to download that and extract the file. In there is another zip file which had to be extracted

Sent from my Nexus 5
[Nexus 5 General] dallas220:
Yes i did both those steps

I downloaded the factory images and extracted it, then extracted the second one as well. I have all the boot, system etc files. .. Do I need to put the boot and system .img (the two i want to flash for stock kernel) inside the platform tools so when I load up fastboot it is all in the same place? Does that make sense brother?

Like my cmd line is c/android/platform tools (should my boot.img and sys.img be in this folder?)

I hope I am clear enough for you to understand me, so sorry If I am not. I will explain better if i need to ...
[Nexus 5 General] jd1639:
7

Yes, put then in that folder, the same one fastboot.exe is in. Then open a cmd window in that folder. You can shift, right click on the folder then open a cmd window there

Sent from my SAMSUNG-SGH-I727
[Nexus 5 General] dallas220:
thank you so much brother for your patience , i really appreciate the help.

Im going to try this out...

oh one last thing ,, do i need to reboot between flashing the boot.img and sys.img?
[Nexus 5 General] jd1639:
You don't need to reboot

Sent from my SAMSUNG-SGH-I727
[Nexus 5 General] dallas220:
okay it all seemed to work perfectly, back on stock kernel, and flashed the system.img as well.

But it seems as if I lost root, is this normal? if so, whats the quickest way to go back? :)
[Nexus 5 General] jd1639:
Losing root is normal. Where you on a custom recovery and do you still have it. If so flash the supersu.zip in it. Google supersu by chainfire if you don't have it. If you don't have a custom recovery let me know.

Sent from my SAMSUNG-SGH-I727
[Nexus 5 General] dallas220:
Yes! I think I managed to get it :)

So, for future knowledge, if I were to flash these .img again losing root and gaining it back is simply a matter of flashing through TWRP ?

I have supersu btw. :)
[Nexus 5 General] vin4yak:
Yes, if you loose root, simply head over to recovery and flash the latest supersu! ;)