Windows Phone Internals - Unlock bootloader, enable Root Access, create Custom ROM

Dude360

Senior Member
Nov 22, 2006
1,173
903
113
This is a problem with your account on the PC. Your account doesn't seem to have administrator-privileges. What OS are you using? Try these:

- Start wpinternals.exe by right-click and "run as admin"
- Log in windows with a different account with Localadmin privileges
- Temporary disable anti-virus
- Or try on a completely different computer.

Please let me know the results.
Main PC is W7U/W81P/W10P x64
Laptop is W7U/W81P/Mint x86

Looking like it doesnt like my Windows 7 Install on either of my PCs. Tried it in 8 and it worked first time. Funny thing is I havnt even setup 8 properly on my laptop, not even got system drivers in it yet (too lazy atm) but it went straight though.

Heres some 7 info though just for the record.

I get rid of all the Admin stuff on a fresh install and never had any sort of Admin issue before. (UAC is completey disabled through registry and Admins are granted full access silently)

I did notice that I missed a driver that hadnt got installed on x64 (a qualcomm one) but it did on x86 but the result was still the same.

Enabled the in-built Administrator account but that failed as well.

Also tried running WPI as SYSTEM using PsExec but it failed to load


25/12/2015 20:26:29.894: Starting Windows Phone Internals version 1.1.5835.1923
25/12/2015 20:26:55.713: Found device on interface: 53f56307-b6bf-11d0-94f2-00a0c91efb8b
25/12/2015 20:26:55.713: Device path: \\?\ide#diskhitachi_hts545025b9sa00_________________pb2oc64g#5&29c4b8e&0&0.0.0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
25/12/2015 20:26:55.713: Found device on interface: 53f56307-b6bf-11d0-94f2-00a0c91efb8b
25/12/2015 20:26:55.713: Device path: \\?\usbstor#disk&ven_&prod_usb_disk_2.0&rev_pmap#0708326912907125&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
25/12/2015 20:26:55.713: Found device on interface: 53f56307-b6bf-11d0-94f2-00a0c91efb8b
25/12/2015 20:26:55.713: Device path: \\?\usbstor#disk&ven_qualcomm&prod_mmc_storage&rev_1.00#7&5313ab4&0&1234567890abcdef&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
25/12/2015 20:26:55.806: Found device on interface: 86e0d1e0-8089-11d0-9ce4-08003e301f73
25/12/2015 20:26:55.806: Device path: \\?\usb#vid_05c6&pid_9006&mi_00#6&2de2ba12&0&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}
25/12/2015 20:26:55.806: Found Phone. Mode: Qualcomm Emergency 9006. <- missing driver from x64 but still failed
25/12/2015 20:27:01.219: Found Lumia. Mode: Mass storage.
25/12/2015 20:27:03.575: Applying Root Unlock to EFIESP...
25/12/2015 20:27:03.996: Attempt patch: RootAccess-EFIESP
25/12/2015 20:27:04.261: Apply: 8.10.12393.890
25/12/2015 20:27:04.261: Applying Root Unlock to MainOS...
25/12/2015 20:27:04.261: Attempt patch: RootAccess-MainOS
25/12/2015 20:27:05.217: Apply: 8.10.12393.890
25/12/2015 20:27:05.427: Attempted to perform an unauthorized operation.
25/12/2015 20:27:05.749: at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeHandle handle, SecurityInfos securityInformation, SecurityIdentifier owner, SecurityIdentifier group, GenericAcl sacl, GenericAcl dacl)
at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, SafeHandle handle, AccessControlSections includeSections, Object exceptionContext)
at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections, Object exceptionContext)
at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections)
at System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath)
at System.IO.File.SetAccessControl(String path, FileSecurity fileSecurity)
at ..( )
at WPinternals.PatchEngine.(String )
25/12/2015 20:27:05.751: Failed to apply Root Unlock on MainOS!


Anyway, at least I now I can access the rooting tools from my PCs now just not from my main OS :)
 
  • Like
Reactions: Heathcliff74

Heathcliff74

Inactive Recognized Developer
Dec 1, 2010
1,646
2,609
0
Main PC is W7U/W81P/W10P x64
Laptop is W7U/W81P/Mint x86

Looking like it doesnt like my Windows 7 Install on either of my PCs.
Anyway, at least I now I can access the rooting tools from my PCs now just not from my main OS :)
Glad you got it working. Thanks for testing and reporting the details!! Someone else mentioned this problem on Windows 7. I had a hard time believing it had to do with Windows 7, but now I start to doubt. Possibly I need to use different privileges on Windows 7 to apply patches on the phone. I will do more testing.
 

Dude360

Senior Member
Nov 22, 2006
1,173
903
113
Glad you got it working. Thanks for testing and reporting the details!! Someone else mentioned this problem on Windows 7. I had a hard time believing it had to do with Windows 7, but now I start to doubt. Possibly I need to use different privileges on Windows 7 to apply patches on the phone. I will do more testing.
No worries, I modify my Windows indexes quite heavily before deployment so I always assume its one of the tweaks or something Ive removed that causes the problems but if its happened to someone else then I always blame Microsoft :D

Im very new to WP8, have always shyed away due to the 'lockdown' but thanks to WPI I might pay a little more interest to the scene!

Thanks again :)
 

djamol

Senior Member
Jun 3, 2014
444
405
0
29
Pune
www.twitter.com
Emergency mode has MANY limitations. Emergency mode on MSM8974 and higher have even more limitations. You can write only specific locations on the phone (full flash is not possible). Payload has integrity checks (custom payload cannot be flashed). Once flashed to the device, there is still SecureBoot, so phone will not boot custom code.

I have not seen these in action. I believe it when I see it. If Lumia 1520 was hacked, wouldn't it be big news by now?
Unlocking bootloader on 1520 it's so easy...
I've 640 BootLoader Unlocked,
Even, On 950 also possible but not yet tested.
I can't share more info because promise to author. This hack original not based on any hacks.
 

Heathcliff74

Inactive Recognized Developer
Dec 1, 2010
1,646
2,609
0
Question: when I restore bootloader, why is mandatory flash a stock rom? Why don't happened the same like happen when unlock boot?
Because it is a "half flash". And when the bootloader is locked, it is not possible to simply escape from Flash mode. I know another method which possibly works as you want, but I need to implement that in a future version.
 

derausgewanderte

Senior Member
Aug 9, 2009
1,938
614
143
Unlocking bootloader on 1520 it's so easy...
I've 640 BootLoader Unlocked,
Even, On 950 also possible but not yet tested.
I can't share more info because promise to author. This hack original not based on any hacks.
djamol, if 640 works, does that mean the 640XL is possible as well?
Specs:
640:
Chipset Qualcomm MSM8926 Snapdragon 400
CPU Quad-core 1.2 GHz Cortex-A7
GPU Adreno 305

640XL:
Chipset Qualcomm MSM8226 Snapdragon 400
CPU Quad-core 1.2 GHz Cortex-A7
GPU Adreno 305
 

winphouser

Senior Member
Jul 3, 2015
158
153
0
djamol, if 640 works, does that mean the 640XL is possible as well?
Specs:
640:
Chipset Qualcomm MSM8926 Snapdragon 400
CPU Quad-core 1.2 GHz Cortex-A7
GPU Adreno 305

640XL:
Chipset Qualcomm MSM8226 Snapdragon 400
CPU Quad-core 1.2 GHz Cortex-A7
GPU Adreno 305
+640XL LTE single-sim RM-1062, I'm also looking for this!


I now think it's like this though (as opposed to what gsmarena says)
640, 640XL = MSM8226
640 LTE, 640XL LTE = MSM8926


I read that only 8926 supports LTE and on my phone
Settings ➡ System ➡ About says "Chip SOC version: 8926"
 

Heathcliff74

Inactive Recognized Developer
Dec 1, 2010
1,646
2,609
0
Unlocking bootloader on 1520 it's so easy...
I've 640 BootLoader Unlocked,
Even, On 950 also possible but not yet tested.
I can't share more info because promise to author. This hack original not based on any hacks.
djamol, if 640 works, does that mean the 640XL is possible as well?
Specs:
640:
Chipset Qualcomm MSM8926 Snapdragon 400
CPU Quad-core 1.2 GHz Cortex-A7
GPU Adreno 305

640XL:
Chipset Qualcomm MSM8226 Snapdragon 400
CPU Quad-core 1.2 GHz Cortex-A7
GPU Adreno 305
+640XL LTE single-sim RM-1062, I'm also looking for this!


I now think it's like this though (as opposed to what gsmarena says)
640, 640XL = MSM8226
640 LTE, 640XL LTE = MSM8926


I read that only 8926 supports LTE and on my phone
Settings ➡ System ➡ About says "Chip SOC version: 8926"
Please keep it on-topic. It would be great if these devices get unlocked. But so far I have not seen anything in action, so it is only speculation. I have heard too many times from people who thought they had found an unlock, but it was just a bad hunch. If these unlocks exist, they deserve their own thread. This thread is about Windows Phone Internals.
 

werty100

Senior Member
Aug 31, 2011
828
678
0
Finally got it working :D
How you change that icon i am upgrading to win10 and then enable root acess to make a FFU untoched for Lumia 920 and then start to make custom roms removing and adding things

---------- Post added at 12:29 PM ---------- Previous post was at 12:19 PM ----------

Lumia 920 unlock bootloader sucessfully now installing win10 update to after if there is not more updates Enable Root Access...
I will say if i successfully get ful lumia 920 unlocked.
I have follow the manual inside WP Internal very carefully
 

HATA28

Senior Member
Jun 7, 2009
54
20
0
Europe
How you change that icon i am upgrading to win10 and then enable root acess to make a FFU untoched for Lumia 920 and then start to make custom roms removing and adding things

---------- Post added at 12:29 PM ---------- Previous post was at 12:19 PM ----------

Lumia 920 unlock bootloader sucessfully now installing win10 update to after if there is not more updates Enable Root Access...
I will say if i successfully get ful lumia 920 unlocked.
I have follow the manual inside WP Internal very carefully
Bootloader of my Lumia 920 got relocked again after upgrading from 10.0.10586.29 to 10.0.10586.36.. Do I have to roll back to WP8.1 to unlock it again..?
 

werty100

Senior Member
Aug 31, 2011
828
678
0
Bootloader of my Lumia 920 got relocked again after upgrading from 10.0.10586.29 to 10.0.10586.36.. Do I have to roll back to WP8.1 to unlock it again..?
I dont know my phone still upgrading ... I have install win8.1 clean ffu then update to lastest win 8.1 , and then unlocked bootloader, and i install widnwos insider and I update to win10 10.0.10586.29 and i still flashing, the plan is them to continue update and when the are not more updates, Enable Root Access and perform a hard reset, i will coment...
Maybe Microsoft have path the unlock bootloader when you upgrade to new SO
 

Heathcliff74

Inactive Recognized Developer
Dec 1, 2010
1,646
2,609
0
Bootloader of my Lumia 920 got relocked again after upgrading from 10.0.10586.29 to 10.0.10586.36.. Do I have to roll back to WP8.1 to unlock it again..?
I doubt this has to do with the last update. The Windows 10 updates so far have not overwritten the bootloaders. I did the update myself and the bootloader was still unlocked. Or do you mean that you had to disable Root Access?

If you want to unlock the bootloader on Windows 10, you can follow the same procedure. But there is a risk. If your partition layout was changed during the updates (probably not, but not sure), then your phone won't boot properly after unlocking the bootloader. You can still recover from that, because you can still flash a stock ROM or custom ROM after that. But your data on the phone will obviously be gone then.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone