How to change CID with S-ON, without SunShine - HTC U11 Guides, News, & Discussion

How to change CID with S-ON, without SunShine
Not so long ago, I got my U11 back under warranty - kindly replaced with a new phone (it has nothing to do with marriage). Naturally, the S-OFF license from SunShine is gone, as it is tied to the motherboard. I know before they could transfer the license to another phone, asked @beaups about it .. received the answer that no, only within a month after the purchase you can transfer the license SunShine. I understand why the month is like for the USA and it’s not that I’m offended .. and for the sake of diversity I didn’t buy S-OFF more on this device and the result is here .. and I’ll put it on xda .. This technique applies exactly to U11, U11 +, HTC 10, HTC One M9 where checked, I think today and to the U12 + too.
How to change CID with S-ON, without SunShine
(to a friend: How to save $ 25 or how much he pays for the mean )
ATTENTION!!! There is a danger that the instructions will not be properly followed, which will cause the phone to scrape and go to the SC. Therefore, if you do not have a full understanding of what it is about or you do not know how to do it, then it is better not to start! Here the author of the post or anyone else on this forum is not responsible for what was done, all responsibility lies only with you.
Baseline:
OCEAN DUGL (Dual SIM), Product ID: htc_ocndugl, MID: 2PZC30000, unlocked bootloader Unlocked, the last permanent TWRP configured by the PC to run adb utilities.
By compulsory preliminary reading: Which version you can remake your U11
For example, EMEA with SKU 2.33.401.19 and the task to remake in Taiwan, CID HTC__621 Taiwan needs
RUU for flashing the phone after changing the CID, available for this phone from the cap 2.31.709.1
#
Initial data
Reduced by 88%
Attached Image
2240 x 4000 (2.47 MB)
Reduced by 81%
Attached Image
1440 x 2560 (86.28 KB)
0. Connect the phone to the PC and load it into TWRP and move it aside:
adb reboot recovery
1. In order to be able to flash the desired RUU, we clear the software number in the phone:
1a. Execute the command from the terminal:
adb shell "dd if = / dev / zero of = / dev / block / bootdevice / by-name / misc bs = 1 seek = 2208 count = 16"
Should get an approximate result:
16 + 0 records in
16 + 0 records out
16 bytes (16B) copied, 0.007466 seconds, 2.1KB / s
1b. Check done:
adb shell "dd if = / dev / block / bootdevice / by-name / misc bs = 1 skip = 2208 count = 16"
We see instead of the software number an empty space:
16 + 0 records in
16 + 0 records out
16 bytes (16B) copied, 0.006654 seconds, 2.3KB / s
If everything is so, we move on ..
2a. Copy to the internal SD the desired section for further editing:
adb shell "dd if = / dev / block / bootdevice / by-name / board_info of = / sdcard / board_info.img"
2b. The resulting file can be edited by third-party * programs on Android on SD or copied to your PC (as I did) to the subdirectory where adb utilities, in any way or:
adb pull /sdcard/board_info.img
Attention! Save a copy of this to your original file.
3. On a PC, you can edit this file with a regular editor, such as Notepad, but better, more professionally, Hex Editor
Attention !!! There is a danger of the human factor, automatic whistles, typos. HTC's CID consists of 8 characters ... for example, Taiwan should be right: HTC__621, Europe: HTC__001, Russsia: HTC__A07. Before saving, check that you have not touched IMEI, which is written together for CID. It is necessary to edit only within 8 characters of CID, otherwise problems cannot be avoided !!!
We are looking for the current CID and fix it to the desired one:
#
save.
4a. We return the edited file to the phone in SD:
adb push ./board_info.img /sdcard/board_info.img
4b. We sew in its place edited board_info.img:
adb shell "dd if = / sdcard / board_info.img of = / dev / block / bootdevice / by-name / board_info"
The result can be seen in the download mode with the command fastboot getvar all or fastboot getvar cid
#
5. Reboot into download mode:
adb shell reboot download
from where we sew a pre-prepared RUU with extSD according to the instructions from the header, confirming it with the Volume + button, or using the RUU firmware method from a PC.
We end up with a phone on another full stock firmware:
#
5a. If someone wants to stay on the stock, then you can close the bootloader for Google Pay and similar applications according to the instructions: HTC U11 - Firmware (Post ziand # 64292895)
PS It is especially useful for those who want to change Hong Kong to another to display Russian letters in the dialer stock dialers .. etc.
PSS Of course, there is a technique and MID changes, but I do not post it for reasons of general bricks, especially on U11 ... there you also need to change something else too mfg
enjoy HTC : derisive:

The CID number is also in the files, sdf1, sde1, and it must be changed there.
Wysłane z mojego HTC U11 przy użyciu Tapatalka

kajfux said:
The CID number is also in the files, sdf1, sde1, and it must be changed there.
Wysłane z mojego HTC U11 przy użyciu Tapatalka
Click to expand...
Click to collapse
Hello. Please teach us if you know this tutorial.

AHMADHAFEZY said:
Hello. Please teach us if you know this tutorial.
Click to expand...
Click to collapse
You have to copy the / dev / block / sdf1 and / dev / block / sde1 files as described above, and edit them using the hex editor. Remember to edit so that you do not delete anything because it will change the structure of the file, just set the cursor in front of the CID number and overwrite it.
Wysłane z mojego HTC U11 przy użyciu Tapatalka

kajfux said:
You have to copy the / dev / block / sdf1 and / dev / block / sde1 files as described above, and edit them using the hex editor. Remember to edit so that you do not delete anything because it will change the structure of the file, just set the cursor in front of the CID number and overwrite it.
Wysłane z mojego HTC U11 przy użyciu Tapatalka
Click to expand...
Click to collapse
Please complete the tutorial from the beginning.

AHMADHAFEZY said:
Please complete the tutorial from the beginning.
Click to expand...
Click to collapse
You can find everything on the U11 and U11 + forums, but you must know that playing with files is a big risk, I did so but there were always problems, during the attempts to update the phone hung on the bootloader. In the end, I used the SunShine application, and now everything works fine. It is not known how much and what files, apart from those given by you and me, must be changed to make everything work well.
Wysłane z mojego HTC U11 przy użyciu Tapatalka

kajfux said:
You can find everything on the U11 and U11 + forums, but you must know that playing with files is a big risk, I did so but there were always problems, during the attempts to update the phone hung on the bootloader. In the end, I used the SunShine application, and now everything works fine. It is not known how much and what files, apart from those given by you and me, must be changed to make everything work well.
Wysłane z mojego HTC U11 przy użyciu Tapatalka
Click to expand...
Click to collapse
Unfortunately, it's not possible to buy and use Sanshin for my country.

AHMADHAFEZY said:
Unfortunately, it's not possible to buy and use Sanshin for my country.
Click to expand...
Click to collapse
I used this tutorial, but remember that this data may still be in other files.
You must look for any information in which files the CID is still stored.
https://www.google.com/url?sa=t&sou...Vaw2AbzuA2qFdPOxKDJqUrppd&cshid=1547131288110
Wysłane z mojego HTC U11 przy użyciu Tapatalka

kajfux said:
I used this tutorial, but remember that this data may still be in other files.
You must look for any information in which files the CID is still stored.
https://www.google.com/url?sa=t&sou...Vaw2AbzuA2qFdPOxKDJqUrppd&cshid=1547131288110
Wysłane z mojego HTC U11 przy użyciu Tapatalka
Click to expand...
Click to collapse
This worked for your u11 or do you have u11+? And which model did you change to and from ?

DaveedDB said:
This worked for your u11 or do you have u11+? And which model did you change to and from ?
Click to expand...
Click to collapse
The method is the same for both models.
Wysłane z mojego HTC U11 przy użyciu Tapatalka

kajfux said:
The method is the same for both models.
Wysłane z mojego HTC U11 przy użyciu Tapatalka
Click to expand...
Click to collapse
Are you sure ? The commands are different the other thread points the sdf2 img ,while this one points to board img or something like that I'm a noob here ,I want to change my sprint version but idk which method is best

DaveedDB said:
Are you sure ? The commands are different the other thread points the sdf2 img ,while this one points to board img or something like that I'm a noob here ,I want to change my sprint version but idk which method is best
Click to expand...
Click to collapse
For sure, the CID number is in the files sdf1, sde1, board_info. In what other, I do not know, these are certainly needed to be edited.
Wysłane z mojego HTC U11 przy użyciu Tapatalka

Okay so I was successful in changing my sprint to us unlocked version and got the update to the June 2018 which is old but still better than 2017 Nov ,and I think US unlocked will get Pie I'm not sure about Sprint hence why I changed thanks to @ziand for tutorial and op for pointing me to it and saving me from needing to s-off

Is absolutely necessary an unlocked bootloader? Can those adb commands be executed within stock recovery?
I mean, we are flashing official firmware so the ideal scenario would be not touching the bootloader status.

DaveedDB said:
Okay so I was successful in changing my sprint to us unlocked version and got the update to the June 2018 which is old but still better than 2017 Nov ,and I think US unlocked will get Pie I'm not sure about Sprint hence why I changed that's to @ziand for tutorial and op for pointing me to it and saving me from needing to s-off
Click to expand...
Click to collapse
Pls help us a tutorial to change from Sprint to US unlocked. Tks in advance .

phuonglev said:
Pls help us a tutorial to change from Sprint to US unlocked. Tks in advance .
Click to expand...
Click to collapse
just follow the link in op he copy and pasted the translated version ,but what i did was firstly backup your internal such as pics and vids then
open both the original and translated in 2 tabs because the translated version puts spaces in the commands like:
adb shell "dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=1 seek=2208 count=16"
became
adb shell "dd if = / dev / block / bootdevice / by-name / misc bs = 1 skip = 2208 count = 16"
also just remove the " so
adb shell dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=1 seek=2208 count=16
then I copied the file from my internal edited and make sure to back up this file pushed it back to my u11 i used hex editor we change our cid from SPCS_001 to BS_US001 (in the pic from other link the guy changed to TW variant i think HTC__621 only some variants can be changed which share the same mid)
dont try to boot into system like a normal reboot
the boot into download mode with cmd:
adb shell reboot download
and i used external xd card RUU method to flash the us unlocked ruu
from
https://androidfilehost.com/?fid=962157660013070749
then it will boot and you should be on us unlocked the go to settings and search for updates and they should be 2 updates there for you

AHMADHAFEZY said:
Unfortunately, it's not possible to buy and use Sanshin for my country.
Click to expand...
Click to collapse
I was bought and get s-off for my M8 (summer 2014 as I remember) if you asked how? I tell you: I buy some Prepaid Credit Card from an webstore (be carefull from cheaters!) then I got connected with an vpn apps(at that time I used psiphon) and in 5 -15 second I was paid and that's it!
however,I believe that was risky!

DaveedDB said:
just follow the link in op he copy and pasted the translated version ,but what i did was firstly backup your internal such as pics and vids then
open both the original and translated in 2 tabs because the translated version puts spaces in the commands like:
adb shell "dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=1 seek=2208 count=16"
became
adb shell "dd if = / dev / block / bootdevice / by-name / misc bs = 1 skip = 2208 count = 16"
also just remove the " so
adb shell dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=1 seek=2208 count=16
then I copied the file from my internal edited and make sure to back up this file pushed it back to my u11 i used hex editor we change our cid from SPCS_001 to BS_US001 (in the pic from other link the guy changed to TW variant i think HTC__621 only some variants can be changed which share the same mid)
dont try to boot into system like a normal reboot
the boot into download mode with cmd:
adb shell reboot download
and i used external xd card RUU method to flash the us unlocked ruu
from
https://androidfilehost.com/?fid=962157660013070749
then it will boot and you should be on us unlocked the go to settings and search for updates and they should be 2 updates there for you
Click to expand...
Click to collapse
im trying to connect the dots here, but having problems with this tutorial.
I have adb on my comp set up, I can enter bootloader on the phone, and thats where I get lost....
device I have is U11 2PZC500 (model name)
in htc download mode this is the info:
***locked***
htc_ocnwhl PVT S-ON
LK-1.0.0.000
radio blabla
opendsp...
etc etc
what do I do to get this junk from that 2pzc500 version, as it has some Claro bloatware on it, and it wont update to android 8.0... stuck at 7.1.1.

Gabre said:
im trying to connect the dots here, but having problems with this tutorial.
I have adb on my comp set up, I can enter bootloader on the phone, and thats where I get lost....
what do I do to get this junk from that 2pzc500 version, as it has some Claro bloatware on it, and it wont update to android 8.0... stuck at 7.1.1.
Click to expand...
Click to collapse
You enter recovery mode then enter the commands,not bootloader
But if you just want to get rid of bloat a clean flash and custom rom is better method

DaveedDB said:
You enter recovery mode then enter the commands,not bootloader
But if you just want to get rid of bloat a clean flash and custom rom is better method
Click to expand...
Click to collapse
ok, im close to figure this out.
figured out how to find out my CID, it is actually BS_US001
so I downlaoded latest RUU from HTC and need to flash it on the phone... but this is where Im stuck...
whats the simplest way?

Related

[HOW TO] Unlock your Captivate to work on all networks for free

This NEEDS to be stickied in here so everyone can use it.
I copied this from the i9000 forum.
Ok before we get started I need to make this REALLY clear. This did not work for my i9000 at first…. I cannot guarantee you will find your code…. If your device freezes (to many attempts) I am sorry but I cannot be held responsible.
Using ADB
Step 1. – Get the file
You need to have root
Code:
adb shell
su
dd if=/dev/block/bml3 of=/sdcard/bml3.bak
mount USB storage and copy the file off the internal SD card
Step 2. – Find the code
Try this
Originally Posted by rbnet.it
Try this: http://www.multiupload.com/2IAYWWGF8A
It's a win32 executable. Run the program from command line with the blockdevice backup as parameter:
c:\sgux.exe bml3.bak
IT returns the unlock code fory your phone.
It's based on the tip posted on this thread by rhcp0112345.
It's works with european sgs.
Click to expand...
Click to collapse
OR
Open the file in a HEX editor
Search for SSNV
At the end of this block of data there should be a string of numbers
(my unlock code started at 0x18005a)
The format will be numbers.unlockcode.numbers
Step 3. – Enter the code
As far as I know the *#0111*code# and #7465625*638*Code# codes don’t work so you MUST
Power down your phone
Put in a SIM card from another carrier
Power up your phone
When it boots up it will ask for the unlock code that you found above
Step 4. – Flash back (IF THE CODE DIDN'T WORK)
Flash back to an older firmware (I9000XXJF7 with 513.pit worked for me)
Now enter the unlock code you generated in Step 2.
PLEASE give credit to
rhcp0112345 for finding the file and giving me (and others) a place to start
rbnet.it and marcopon for the cool utility to extract it
galaxysguy for starting the other thread and confirming that I was looking at the right code
Click to expand...
Click to collapse
Think this is the 3rd post I've seen on this, but this has been CONFIRMED to work!
sweet, just unlocked mine!! thanks guys!
ill make sure this gets stickied
Hi,
I have used this procedure but was unsuccessful since I don't have the SIM from another carrier? Which method did you use? also I am currently running JH3 firmware.
thanks
TZ
tzones said:
Hi,
I have used this procedure but was unsuccessful since I don't have the SIM from another carrier? Which method did you use? also I am currently running JH3 firmware.
thanks
TZ
Click to expand...
Click to collapse
you NEED another sim from another carrier to invoke the message to enter the unlock code.
Error: unable to find file <bml3.bak>. can some1 help? thx
i had sgux.exe and bml3.bak copy to drive c: "windows 7"
Yep, put an old no longer working TMobile sim in, it asked for my code and voila! worked like a champ.
file not found on JH3
_____________________
did a direct copy and paste of string from thread and it copied properly.
Unlocked successfully from JH3!!!!
Yeah *****es!!!!
akachay said:
Error: unable to find file <bml3.bak>. can some1 help? thx
i had sgux.exe and bml3.bak copy to drive c: "windows 7"
Click to expand...
Click to collapse
Krad said:
file not found on JH3
Click to expand...
Click to collapse
Remember after opening adb, type su enter
then
cat /efs/nv_data.bin >> /sdcard/nv_data.bin
mount your card, and transfer nv_data.bin along with sgux.exe to your c :\ drive
then open command prompt, and cd C:\ [ENTER]
C:\sgux.exe nv_data.bin [ENTER] and you should get your code.
Make sure you have su (superuser) working, you can tell if there's a #in the adb prompt
If there's no # in the adb prompt, then open adb, type su [ENTER] look at your phone, and wait for the Super User prompt to pop and enable/give permissions.
The Bishop said:
Yep, put an old no longer working TMobile sim in, it asked for my code and voila! worked like a champ.
Click to expand...
Click to collapse
Thanks for this mail since I was under the impression that it requires a working SIM. Can't believe that my phone is unlocked!!
nice guide... but why are there so many different unlock guides lol
Honestly, I just found a guide that I thought had the best instructions and made a thread about it, hoping that it would be stickied, becasue this does not need to fade away off the first page. If it were stickied, it'd be even better. I contacted the person over this board, but they have yet to reply.
Extracting the unlock code on Ubuntu
Once you get the file off of your phone you can use hexdump and grep to find the unlock code easily:
cat bml3.bak | hexdump -C | grep -A 10 SSN
Ideally we could figure out how to do this directly on the phone using busybox, but I haven't figure that out yet.
Bad ass! worked like a charm on JH3.
i need help, i havent been able to get my phone unlocked.
I've tried all the methods (except Paying for a code) and none have worked !!!
I tried this one and it gave me the code but when i put in the TMO sim and entered "the code" it came back as no good.
Now, sgux.exe states looking for code and then it moves to the next command line (as if it was finished) but it doesnt find the code.
Help me plz !!
PS: I got the files out of the phone, both the bml3.bak and the nv_data.bin !

Desire Z after using XTC Clip (language list)

Hi,
Couple weeks ago I have bough XTC Clip.
I have use it on my wife HTC ChaCha and Wildfire S.
After that, when XTC Clip restore factory settings, on first screen - language selector, a have full WWE language list showed and to choice.
So..
I have downgrade my Desire Z to proper HBOOT version to use on it XTC Clip. And after use, even that I have only 4 languages to choice. XTC Clip should unlock it, but it doesn't.
So...
I'm asking you, Desire Z (no G2) users, who has used XTC Clip - does this clip unlock full language list on your phones?
I'm curious of that, becouse it he does it, I will try to do this again. I'm asking becouse, I don't want to install and config all again if doesn't.
thnx
ps. all my phones have WWE firmware (with all EU languages).
Click to expand...
Click to collapse
When using a sense rom on my DZ, I only had the choice of 4 languages (and Italian locale) and found this had to do with my backup CID and CID files on the phone.
If you look in /system/customize/cid you should there will be a bunch of cid.xml files, which your phone reads to determine which language's to use.
What I did was change my backup CID, and modified the default.xml to offer the languages I wanted.
Hope this helps,
-Nipqer
Nipqer said:
When using a sense rom on my DZ, I only had the choice of 4 languages (and Italian locale) and found this had to do with my backup CID and CID files on the phone.
If you look in /system/customize/cid you should there will be a bunch of cid.xml files, which your phone reads to determine which language's to use.
What I did was change my backup CID, and modified the default.xml to offer the languages I wanted.
Hope this helps,
-Nipqer
Click to expand...
Click to collapse
Ok, but XTC Clip Change phone CID to 1111111 (SuperCID), and on other two phones (ChaCha, Wildfire S) unlock all language list, but not on Desire Z, hmm?
The DZ has 2 CID's (thats why I wrote backup CID)
the main one will be superCID, the backup will be whatever it is (you can check by doing fastboot oem boot).
Or, you can check by doing 'dd if=/dev/block/mmcblk0p17 bs=1 count=8 2>/dev/null; echo'
-Nipqer
Ok, so could you explain me how to change second CID and for what value?
ps. and where you execute dd command?
You can execute the dd command from Terminal Emulator app on the phone (su first to get root access) or run it from adb shell.
To change the backup CID, you can run misc_version 0.2, using the -c switch (CID must be 8 chars). You can change the CID to anything you want (mine is currently ****_OFF)
Or, you could just change the cid.xml file, (although you might need to flash a new rom, then flash the new cid.xml before first boot to make sure it works)
-Nipqer
Nipqer said:
You can execute the dd command from Terminal Emulator app on the phone (su first to get root access) or run it from adb shell.
To change the backup CID, you can run misc_version 0.2, using the -c switch (CID must be 8 chars). You can change the CID to anything you want (mine is currently ****_OFF)
Or, you could just change the cid.xml file, (although you might need to flash a new rom, then flash the new cid.xml before first boot to make sure it works)
-Nipqer
Click to expand...
Click to collapse
This method allow to return S-ON after XTC-CLIP?
No, but gfree can give you S-ON, and remove superCID.
-Nipqer

[GUIDE] |ROOT + Tethering + MORE| Moto X ver. 4.4.4 for XT1060 and XT1058 (VZW/AT&T)

[GUIDE] |ROOT + Tethering + MORE| Moto X ver. 4.4.4 for XT1060 and XT1058 (VZW/AT&T)
Moto X Root for AT&T/VZW [KXA21.12-L1.26]
This is a rewrite of instructions found HERE by CrashXXL. This will get you PERMANENT[meaning it will not disappear after reboot, but will die if you reflash or upgrade, etc] root on your 4.4.4 AT&T/VZW [KXA21.12-L1.26] Moto X. This will NOT disable system write protection or unlock your bootloader, etc.
The following steps were used by me on Ubuntu 15.04 to root my XT1060 from Verizon:
0. Reinstall your stock rom from HERE you will want the firmware that matches your current 4.4.4 KXA21.12-L1.26 firmware. If you are unsure how to do this HERE is a guide. [NOTE: If you skip this step and you are on 4.4.4 from an OTA then you will be stuck on the M Logo and will have to do this step and all the other steps over]
1. Make sure you have the necessary applications:
Code:
sudo apt-get install android-tools-fastboot python python-serial unrar
2. Download your _Root_<Your phone carrier>_KXA21.12-L1.26_Stock.rar from HERE
3.
-- a) Extract the files
-- b) From the terminal cd into the directory of the extracted files.
-- c) Put your phone into fastboot mode [reboot holding the power and volume down button]
4. Type [NOTE/WARNING: This will softbrick your phone. Which is completely fine if the steps are all followed]:
Code:
sudo fastboot flash sbl2 sbl2.mbn
sudo fastboot reboot
Your phone will have a black screen, but will be in QCOM Emergency mode. You can type in lsusb to confirm this.
5. Type:
Code:
python qdloadRoot.py MPRG8960.bin -ptf _root/partitions.txt
This will take a good 5-15mins. Make sure you are plugged into power and this step is not interrupted. Once this is done your phone will reboot and start up and you will see that SuperSu is installed.
Congrats you have root
NOTE: Read on to the next posts for more info and resources.
Xposed Install
The original post can be found HERE by Sabissimo.
Assuming the above steps were followed and you now have root. Do the following:
1. Download THIS for AT&T XT1058 or THIS for VZW XT1060
2. Extract the file as in step 3 above
3. Run the same commands from step 4 above.
5. Type:
Code:
python qdloadXposed.py MPRG8960.bin -ptf _root/partitions.txt
Be patient for a few minutes. Your phone will reboot.
6. Install 2.6.1 or 2.7.1 of Xposed from their SITE and install as normal.
Congrats you now have root and Xposed that will survive reboots
Thanks to @Nicene Nerd he put together a nice set of scripts to make custom packages to add/remove packages from system images. Check it out here!
Make a tutorial how to pack new applications onto the system AdAway etc.
-- Tutorial to bake in new apps. Thanks Sabissimo. I might rewrite this in the future to make it easier. If anyone follows that guide and would like to write please let me know and we can share files here.
Flash the same way you do the above.
This is for the xt1060.
Here are a list of addition flashables after you have root/xposed
Download:
This will change your /system/etc/hosts file to point to /data/data/hosts. Change this setting in AdAway and be ad free
Adaway_hosts_Root_4.4.4_VZW_KXA21.12-L1.26.zip
This has the buildprop edited for entitlement bypass (tether check) and has all stagefright options set to false. This also has the CF.lumen driver installed (look on playstore great app):
CF.lumenPLUS_Root_4.4.4_VZW_KXA21.12-L1.26.zip
jahrule said:
3. Go further and make our own system images.
Click to expand...
Click to collapse
If you are interested in MoFo, I first need someone to help me make the "pre-rooted" image. It must be in ext4 format. I have an XT1060 Dev Ed that is rooted. According to maiko1,
maiko1 said:
Simplest way is to make the system block device readable by everyone (chmod 644), and then adb pull the block device to your computer.
For example on the turbo via adb shell as root:
Code:
# ls -l /dev/block/bootdevice/by-name
lrwxrwxrwx root root 1970-01-09 20:49 system -> /dev/block/mmcblk0p39
# chmod 644 /dev/block/mmcblk0p39
Then pull it with adb:
Code:
$ adb pull /dev/block/mmcblk0p39 system.img
Click to expand...
Click to collapse
I tried that but I get the error
remote object '/dev/block/mmcblk0p39' not a file or directory
Now, I am not your most experienced adb user so I may have been doing something wrong. What I did was start an adb shell while my XT1060 was running in Android. Then I typed:
su # ls -l /dev/block/bootdevice/by-name
lrwxrwxrwx root root 1970-01-09 20:49 system -> /dev/block/mmcblk0p39
then
# chmod 644 /dev/block/mmcblk0p39
But when I went to pull it I got that error above. I just noticed that SuperSu had silently denied root to the adb shell. Not sure how to stop that.
Also, if I can get this to work, then I could put AdAway, Busy Box, etc. on my XT1060 and pull the image and it should be flashable with mofo.
Finally
I will follow this guide and then post results! I wanna root in my XT058 from long time ago!
Alexdream said:
I will follow this guide and then post results! I wanna root in my XT058 from long time ago!
Click to expand...
Click to collapse
If you need help. Just ask, but it is quite simple.
Don't forget to hit thanks!
JulesJam said:
If you are interested in MoFo, I first need someone to help me make the "pre-rooted" image. It must be in ext4 format. I have an XT1060 Dev Ed that is rooted. According to maiko1,
I tried that but I get the error
remote object '/dev/block/mmcblk0p39' not a file or directory
Now, I am not your most experienced adb user so I may have been doing something wrong. What I did was start an adb shell while my XT1060 was running in Android. Then I typed:
su # ls -l /dev/block/bootdevice/by-name
lrwxrwxrwx root root 1970-01-09 20:49 system -> /dev/block/mmcblk0p39
then
# chmod 644 /dev/block/mmcblk0p39
But when I went to pull it I got that error above. I just noticed that SuperSu had silently denied root to the adb shell. Not sure how to stop that.
Also, if I can get this to work, then I could put AdAway, Busy Box, etc. on my XT1060 and pull the image and it should be flashable with mofo.
Click to expand...
Click to collapse
Looks like you are trying to dd from a partition that does not exist. We can take this offline as it is off topic from this thread.
jahrule said:
Looks like you are trying to dd from a partition that does not exist. We can take this offline as it is off topic from this thread.
Click to expand...
Click to collapse
/dev/block/mmcblk0p39 exists - I can see it in ES File Explorer.
Bottom line is this - I have an XT1060 Dev Ed unlocked and rooted and was trying to help those of you who have unlockable XT1060's to be able to use MoFo. I don't need it for my XT1060 and it looks like you all have another option, although I am not sure how good of an option it is.
If someone wants to enlist my help, I would be willing to help but the ball in your court.
Does anyone has succesfully rooted Moto X1060 (VZW) using this tutorial?
JoseLoarca97 said:
Does anyone has succesfully rooted Moto X1060 (VZW) using this tutorial?
Click to expand...
Click to collapse
Other than me? You can check the original thread. Many other people have done it there.
I can root successful my XT1058 following this guide. Thank you so much! Finally I have xposed and GravityBox.
Post 3 updated with guide to bake in new system applications!
Where should I get the files in step 1 of the root process?
abuttino said:
Where should I get the files in step 1 of the root process?
Click to expand...
Click to collapse
The links are all in post 1. The first step are the packages you need. In my case I was running Ubuntu. If you are running Windows. The you can check the linked original thread and try to do it like that.
I tried it the Windows way and everything went very smoothly. Thanks.
I just don't have the experience to run Ubuntu yet. Been running Windows since v3
Sent from my XT1060 using Tapatalk
Thx! @jahrule
Any chance we can modify it so it will work for the XT1052?
dagoban said:
Thx! @jahrule
Any chance we can modify it so it will work for the XT1052?
Click to expand...
Click to collapse
I think the xt1052 is Europe version and can have the bootloader unlocked. It is then trivia to root.
jahrule said:
I think the xt1052 is Europe version and can have the bootloader unlocked. It is then trivia to root.
Click to expand...
Click to collapse
Yep, 1052 is the Europe one. I have 2 lying around here, for one the BL is unlockable, but the other one has an error and the moto page says that device is not unlockable even thou its a xt1052.
So I would really appreciate something for the xt1052
Thx again!
And let me know if you need any files from the xt1052 partitions / sbfs
dagoban said:
Yep, 1052 is the Europe one. I have 2 lying around here, for one the BL is unlockable, but the other one has an error and the moto page says that device is not unlockable even thou its a xt1052.
So I would really appreciate something for the xt1052
Thx again!
And let me know if you need any files from the xt1052 partitions / sbfs
Click to expand...
Click to collapse
If it shows error try the US support site instead of the one in your country.. Worked for me

Tansform "Chinese version" MX4-Pro into "International"

Tansform "Chinese version" MX4-Pro into "International"
By following this guide you can transform your chinese Meizu MX4 Pro device into international.
The goal of this guide is not to result with international firmware installed, but to allow you to install international (I) / global (G) normally, like on international devices.
This is achieved by changing a file that stores the information of your device origin, to one from international device.
1) Download the files - cloud.mail.ru/public/EYpv/u5j5YXek9
2) Download and/or open terminal emulator app of your choice
3) Run these commands in terminal emulator
Code:
su
cd /sdcard/int_mx4_pro
sh install
4) Now you can reboot
PS: To check if you device is now international open terminal emulator and run these commands
Code:
su
cat dev/block/mmcblk0p5
If successful you should get a result - "machine_type:M462_intl_official"
Sources of these instructions: 4pda, meizufans (Dysync)
international version works better with whatsapp, etce notifications?
eheheh said:
international version works better with whatsapp, etce notifications?
Click to expand...
Click to collapse
The difference from the International version of the Chinese version:
- Pre-installed Google Service
- A greater number of languages
- Remove extra trash Chinese
AVod2015 said:
Tansform "Chinese version" MX4-Pro into "International"
By following this guide you can transform your chinese Meizu MX4 Pro device into international.
The goal of this guide is not to result with international firmware installed, but to allow you to install international (I) / global (G) normally, like on international devices.
This is achieved by changing a file that stores the information of your device origin, to one from international device.
1) Download the files - cloud.mail.ru/public/EYpv/u5j5YXek9
2) Download and/or open terminal emulator app of your choice
3) Run these commands in terminal emulator
Code:
su
cd /sdcard/int_mx4_pro
sh install
4) Now you can reboot
PS: To check if you device is now international open terminal emulator and run these commands
Code:
su
cat dev/block/mmcblk0p5
If successful you should get a result - "machine_type:M462_intl_official"
Sources of these instructions: 4pda, meizufans (Dysync)
Click to expand...
Click to collapse
Credits go to Dysync and his team (friends), those guys found and released it. Please give credits.
(4pda copied it, and gave credits)
That's the original topic. https://meizufans.eu/forum/topic/4114/guide-tansform-your-chinese-mx4-pro-into-international
Do you think this will be possible for pro 5?
Fist of all, thanks for this tutorial. I have some questions...
Is reversible this process?
If is reversible can you upload the files?
Thanks
AVod2015 said:
Tansform "Chinese version" MX4-Pro into "International"
1) Download the files - cloud.mail.ru/public/EYpv/u5j5YXek9
2) Download and/or open terminal emulator app of your choice
3) Run these commands in terminal emulator
Code:
su
cd /sdcard/int_mx4_pro
sh install
4) Now you can reboot
PS: To check if you device is now international open terminal emulator and run these commands
Code:
su
cat dev/block/mmcblk0p5
If successful you should get a result - "machine_type:M462_intl_official"
Sources of these instructions: 4pda, meizufans (Dysync)
Click to expand...
Click to collapse
Greate!!!
I have changed successfully from machine_type:M462_unicom_customize !!!!
Thanks your contribution.
~~~~~~~~~~~~~~~~
I have try the native recovery rom to flash international 4.5.7i ROM, but encountered a fail.
There was no partition I can view on my desktop, I checked again and again the connection is normal.
If OS booting successful, I can view the SD card partition on my 2012 R2 desktop, but can not archive the partition under recovery mode.
mine dont change im on flyme 5..any advice? when the termimañ say creating patch get out of aplication alone..
---------- Post added at 08:15 AM ---------- Previous post was at 08:12 AM ----------
i think its blocked cuz i try differnte emulator and just the app close alone
---------- Post added at 08:26 AM ---------- Previous post was at 08:15 AM ----------
with adb shell get permision denied
Creating target socket................... OK
16 + 65000 sockets created
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
-2147483648 bytes allocated
many many times and no luck
i have exactly the same problem with my phone. same sequence. what could we do?
thank you for your help.
juandvila said:
i have exactly the same problem with my phone. same sequence. what could we do?
thank you for your help.
Click to expand...
Click to collapse
i can answer myself. finally i had to downgrade to 4.8.2.A and then activate root. later i instaled busybox and Supersu 2.46 version and updated binary.
after that i have executed by using terminal emulator:
su
cd /sdcard/int_mx4_pro
sh install
then, the device has rebooted and after that i checked it by introducing this secuence
su
cat dev/block/mmcblk0p5
If successful you should get a result - "machine_type:M462_intl_official"
after that, i could install my g version, and all is ok.
help
I tried this version, but I did something wrong, the phone after the restart stuck on the logo, not opened.
Of key combination, in my volume up + power only works where we have two options, and Clear System upgra date.
System update if I tell corrupt firmware.
The problem is that I did not spoil before you, give him USB Debugging, does not see PC..
Is there any solution to fix it?
Thank you,
I have tried and it can't cd to sdcard/int_mx4_pro though I can see the folder in ES explorer. Any ideas would be great!
saimarica said:
I tried this version, but I did something wrong, the phone after the restart stuck on the logo, not opened.
Of key combination, in my volume up + power only works where we have two options, and Clear System upgra date.
System update if I tell corrupt firmware.
The problem is that I did not spoil before you, give him USB Debugging, does not see PC..
Is there any solution to fix it?
Thank you,
Click to expand...
Click to collapse
i think you can repair your action by using a computer. if you restart your telephone with power+home button + volume button, and then conect your device with your computer, a new forder will appear in your computer, called recovery if i am not wrong. you can put your rom there and apply it, to solve your problem. i recomend you to use flyme 4.8.2. this is the best version to convert your device in an international version.
---------- Post added at 11:05 PM ---------- Previous post was at 11:02 PM ----------
triplesilk said:
I have tried and it can't cd to sdcard/int_mx4_pro though I can see the folder in ES explorer. Any ideas would be great!
Click to expand...
Click to collapse
have you tried to use a computer? conecting your device to the computer, a folder will appear automatically, and you need to paste that "int_mx4_pro" folder there, but not the zip version you have downloaded from interned, an unzziped version.
juandvila said:
i think you can repair your action by using a computer. if you restart your telephone with power+home button + volume button, and then conect your device with your computer, a new forder will appear in your computer, called recovery if i am not wrong. you can put your rom there and apply it, to solve your problem. i recomend you to use flyme 4.8.2. this is the best version to convert your device in an international version.
Recovery folder is empty.
Put a new rom and install it on your phone or on the PC?
Thank you,
Click to expand...
Click to collapse
You can delete your phone before and then conect it to your pc, and do what i said before.
juandvila said:
You can delete your phone before and then conect it to your pc, and do what i said before.
Click to expand...
Click to collapse
Not working,
After you put in a new folder recovery rom, I give to install it, this folder appears deleted without content. I tried zipped and unzipped, a block me.
As I said, I had USB debugging enabled and the phone has locked bootloader.
Thank you,
Everything is OK but for new members in this forum these thing means nothing.Please for detail how to root(send link for needed APK files) and make tutorial step by step. I have MX 4 Pro version 5180A .Thanks advance
Hello,
i have update with OTA to 5.1.0.11A i think
so i try to downgrade to 4.8.2 from this side
***//bbs.flyme.cn/thread-1075962-1-1.html
but now, i see only flyme logo, but it dosen't want to start
i can take vol+ and i get to the start menü, i cleaned all, but the same
the phone dosen't want to start.
But how can i transfer to root folder a new Firmware to upgrade again?
Or is that phone brick?
can anyone help me? What can i do?
Edit:
After 3 times of try i get it
like 4.8.2 and busybox+supersu and so on (see botton up)
thx
Problem with flyme account after changin ID
Hello everybody
I want to thank all those people who found and shared this tutorial.
I followed this guide and now I have an MX4 Pro almost perfectly transformed in an international one.
I said almost perfectly because now I have a problem with the flyme account. Initially the phone, sold as new on a internet shop, had flyme os version 4.5.7.1A on it. I created a new flyme account, logged in with it and rooted the phone. Then I changed the ID of the phone with this tutorial and all went well. Next step, I changed the firmware to version 5.1.11.0G successfully, erasing all data in the process. BUT when I tried to login to the flyme account with the credentials that I had just created, the phone said that it was already connected with another flyme account.
So can I suppose that I have a phone with something like a cloned IMEI and that flyme accounts are not linked only to the IMEI or the serial number but also the "machine_type" variable? Or maybe the flyme system somehow sees that I am still logged in (since I didn't log out before changing the ID and upgrading the firmware) and now it sees me as a different user?
What do you think about it?
BTW, I have not tried the restore the original ID and fimware because this phone is now my wife's one and she barely let me touch it...
Ivan

(How I got) XZ premium Fingerprint Volte & WiFi calling WITHOUT bootloader unlock

*This would not be possible without j4nn & his amazing temp root https://forum.xda-developers.com/xperia-xz1-compact/development/devonly-exploits-temp-root-to-backup-t3795510 please thank & donate 2 him!*
This is not really a "how 2 guide" because I am not good at explaining things like this. But I will try & explain how I did it. Because I have seen a lot of other people also searching for working Volte without unlocking their bootloader.
First I used j4nn's temp root guide & flashed old firmware & ran his magic program. Then I backed up my DRM keys (incase I want to unlock my bootloader someday). Then I stopped. And instead of unlocking my bootloader & while still in temp root.. I thought, maybe I can write to the OEM folder? So I typed
'mount -o rw,remount /oem' and that worked!
So.. I used another command window without closing the first one and pushed a new OEM folder to /data/local/temp
(I got the new OEM folder from US XZ1c firmware. you can also get that folder by searching for TMo-VoLTE-fix-v3.zip & unziping it)
Then, I went back to the original temp root command window & used the 'cp' command to copy that new OEM file from data/local/temp over to my /OEM folder. I re-set the owner & file permissions rebooted.
After testing it, I was able 2 flash the latest (non US for working fp) Oreo by flashing like normal with Newflasher except I deleted the OEM.sin file, so it wouldn't write over my new one! Finally I disabled auto update.
Now my XZp is still bootloader locked, running 47.1.A.16.20 with Fingerprint, Volte & wifi calling all working on tmobile in the US.
I can actually receive calls at home now!! Before this, most of my calls went 2 vm, after a long pause.
I did also try it with pie & it didn't work for me. But, ymmv. I am sure it's possible tho. I was not impressed with pie anyways & I really hate that new volume popup window that covered my home & back keys in landscape mode.
One other note is because I have the dual sim XZp I changed my modem name in the modem.conf file from "tmobile_us_ims" to "dsds_tmobile_us_ims". I am not sure this is actually necessary tho because I have since looked in other ds Volte firmwares like Taiwan. And they don't use "dsds" in their modem.conf file
Robin Banks said:
*This would not be possible without j4nn & his amazing temp root https://forum.xda-developers.com/xperia-xz1-compact/development/devonly-exploits-temp-root-to-backup-t3795510 please thank & donate 2 him!*
This is not really a "how 2 guide" because I am not good at explaining things like this. But I will try & explain how I did it. Because I have seen a lot of other people also searching for working Volte without unlocking their bootloader.
First I used j4nn's temp root guide & flashed old firmware & ran his magic program. Then I backed up my DRM keys (incase I want to unlock my bootloader someday). Then I stopped. And instead of unlocking my bootloader & while still in temp root.. I thought, maybe I can write to the OEM folder? So I typed
'mount -o rw,remount /oem' and that worked!
So.. I used another command window without closing the first one and pushed a new OEM folder to /data/local/temp
(I got the new OEM folder from US XZ1c firmware. you can also get that folder by searching for TMo-VoLTE-fix-v3.zip & unziping it)
Then, I went back to the original temp root command window & used the 'cp' command to copy that new OEM file from data/local/temp over to my /OEM folder. I re-set the owner & file permissions rebooted.
After testing it, I was able 2 flash the latest (non US for working fp) Oreo by flashing like normal with Newflasher except I deleted the OEM.sin file, so it wouldn't write over my new one! Finally I disabled auto update.
Now my XZp is still bootloader locked, running 47.1.A.16.20 with Fingerprint, Volte & wifi calling all working on tmobile in the US.
I can actually receive calls at home now!! Before this, most of my calls went 2 vm, after a long pause.
I did also try it with pie & it didn't work for me. But, ymmv. I am sure it's possible tho. I was not impressed with pie anyways & I really hate that new volume popup window that covered my home & back keys in landscape mode.
One other note is because I have the dual sim XZp I changed my modem name in the modem.conf file from "tmobile_us_ims" to "dsds_tmobile_us_ims". I am not sure this is actually necessary tho because I have since looked in other ds Volte firmwares like Taiwan. And they don't use "dsds" in their modem.conf file
Click to expand...
Click to collapse
Do we lose drm key? Can I access the / system or use root explorer?
tronganhha29 said:
Do we lose drm key? Can I access the / system or use root explorer?
Click to expand...
Click to collapse
You won't lose any drm keys if you don't unlock the bootloader. I posted screen shots above that show all security keys intact, with locked bootloader. And if you look at the top, the wifi calling icon is there! The "rooting" part I used was only temporary & I only tried 2 modify files in the /OEM folder because that's all I needed for Volte & WiFi calling on tmobile. I had 2 downgrade firmware & run a temp root exploit from j4nn.
His exploit is explained here https://forum.xda-developers.com/xperia-xz1-compact/development/devonly-exploits-temp-root-to-backup-t3795510 BUT, instead of unlocking the bootloader I just copied US Xz1c /OEM files into my /OEM folder then set file permissions. That would be awesome if someone could make a script 2 automate this process for everyone!
Remember after your done, your gonna want 2 update to a newer more secure firmware. I didn't have luck with Pie, but it's got some minor bugs anyways (I am running Oreo 47.1.A.16.20 now & I love it). The trick is you MUST DELETE the OEM.sin folder from the new firmware folder before you flash it. Otherwise it will write over your progress.
Robin Banks said:
You won't lose any drm keys if you don't unlock the bootloader. I posted screen shots above that show all security keys intact, with locked bootloader. And if you look at the top, the wifi calling icon is there! The "rooting" part I used was only temporary & I only tried 2 modify files in the /OEM folder because that's all I needed for Volte & WiFi calling on tmobile. I had 2 downgrade firmware & run a temp root exploit from j4nn.
His exploit is explained here https://forum.xda-developers.com/xperia-xz1-compact/development/devonly-exploits-temp-root-to-backup-t3795510 BUT, instead of unlocking the bootloader I just copied US Xz1c /OEM files into my /OEM folder then set file permissions. That would be awesome if someone could make a script 2 automate this process for everyone!
Remember after your done, your gonna want 2 update to a newer more secure firmware. I didn't have luck with Pie, but it's got some minor bugs anyways (I am running Oreo 47.1.A.16.20 now & I love it). The trick is you MUST DELETE the OEM.sin folder from the new firmware folder before you flash it. Otherwise it will write over your progress.
Click to expand...
Click to collapse
Can you help me on activating VoLTE? I read in the above tutorial just talking about backup and restore TA partition. Sorry for my English not good. Thank you!
tronganhha29 said:
Can you help me on activating VoLTE? I read in the above tutorial just talking about backup and restore TA partition. Sorry for my English not good. Thank you!
Click to expand...
Click to collapse
Are you in the US, & want Volte on Tmobile?
Robin Banks said:
Are you in the US, & want Volte on Tmobile?
Click to expand...
Click to collapse
No, I'm in Vietnam, i'm using G8141 with custom CH firmware
tronganhha29 said:
No, I'm in Vietnam, i'm using G8141 with custom CH firmware
Click to expand...
Click to collapse
I am sorry, I am not familiar with any phone providers in Vietnam. I don't think there is an easy fix because I haven't seen Vietnamese Volte modem files in any XZp firmware. I could be wrong tho, so maybe someone will correct me & also help you out.
The only reason this works for tmobile is because Sony included built in support files for some providers, like tmobile in the US. But, it's only their XZ1c phone that will actually load the correct modem file & trigger Volte & WiFi calling features out of the box. Only a couple files need to be changed on the XZp.
Problem was, it always required a bootloader unlock to change those files.
This is not a problem anymore... Because it can now be done with temproot thanks to j4nn!
Robin Banks said:
I am sorry, I am not familiar with any phone providers in Vietnam. I don't think there is an easy fix because I haven't seen Vietnamese Volte modem files in any XZp firmware. I could be wrong tho, so maybe someone will correct me & also help you out.
The only reason this works for tmobile is because Sony included built in support files for some providers, like tmobile in the US. But, it's only their XZ1c phone that will actually load the correct modem file & trigger Volte & WiFi calling features out of the box. Only a couple files need to be changed on the XZp.
Problem was, it always required a bootloader unlock to change those files.
This is not a problem anymore... Because it can now be done with temproot thanks to j4nn!
Click to expand...
Click to collapse
I worry about losing drm key. I was on the xzc and I had a camera error.
Thank you !
tronganhha29 said:
I worry about losing drm key. I was on the xzc and I had a camera error.
Thank you !
Click to expand...
Click to collapse
The only way you can lose your DRM keys... Is unlocking your bootloader. I did not want to do that. But, I wanted Volte & WiFi calling. This thread is about how I got those features WITHOUT unlocking my bootloader. And yes, of course I still have my DRM keys.
You said, that you had a camera error on an XZ1c? Assuming, you unlocked the bootloader. Did you get Volte working in Vietnam after you unlocked it? If not, then none of this will help you with your XZp. because they are very similar & they use the same provider modem files.
From what I understand, the Pie update fixes the green picture camera error. Have you tried updating your XZ1c to Pie? That should atleast make your camera work again.
Good idea, i'm using others country rom because my country update speed suck ... (Due to the carrier) , so i lose feature like WIFI calling and VoLTE. Gonna try this.
vyis said:
Good idea, i'm using others country rom because my country update speed suck ... (Due to the carrier) , so i lose feature like WIFI calling and VoLTE. Gonna try this.
Click to expand...
Click to collapse
This is what people in the US with the XZ1c have been doing because they want to enable their Fingerprint sensor AND have the US Volte settings.
So if your provider already supports Volte.. Flash that firmware first so your volte works. Then before you flash the country you want to use. Just delete the new OEM.sin file out of the folder. That will make a perfect mix of the two.
It will only keep your volte provider settings from old firmware. You don't even need temp root.
But I doubt Volte setting would survive an OTA update. It also will work with two different build versions. I don't know if this is possible with oreo/pie mix tho.
Robin Banks said:
*This would not be possible without j4nn & his amazing temp root https://forum.xda-developers.com/xperia-xz1-compact/development/devonly-exploits-temp-root-to-backup-t3795510 please thank & donate 2 him!*
This is not really a "how 2 guide" because I am not good at explaining things like this. But I will try & explain how I did it. Because I have seen a lot of other people also searching for working Volte without unlocking their bootloader.
First I used j4nn's temp root guide & flashed old firmware & ran his magic program. Then I backed up my DRM keys (incase I want to unlock my bootloader someday). Then I stopped. And instead of unlocking my bootloader & while still in temp root.. I thought, maybe I can write to the OEM folder? So I typed
'mount -o rw,remount /oem' and that worked!
So.. I used another command window without closing the first one and pushed a new OEM folder to /data/local/temp
(I got the new OEM folder from US XZ1c firmware. you can also get that folder by searching for TMo-VoLTE-fix-v3.zip & unziping it)
Then, I went back to the original temp root command window & used the 'cp' command to copy that new OEM file from data/local/temp over to my /OEM folder. I re-set the owner & file permissions rebooted.
After testing it, I was able 2 flash the latest (non US for working fp) Oreo by flashing like normal with Newflasher except I deleted the OEM.sin file, so it wouldn't write over my new one! Finally I disabled auto update.
Now my XZp is still bootloader locked, running 47.1.A.16.20 with Fingerprint, Volte & wifi calling all working on tmobile in the US.
I can actually receive calls at home now!! Before this, most of my calls went 2 vm, after a long pause.
I did also try it with pie & it didn't work for me. But, ymmv. I am sure it's possible tho. I was not impressed with pie anyways & I really hate that new volume popup window that covered my home & back keys in landscape mode.
One other note is because I have the dual sim XZp I changed my modem name in the modem.conf file from "tmobile_us_ims" to "dsds_tmobile_us_ims". I am not sure this is actually necessary tho because I have since looked in other ds Volte firmwares like Taiwan. And they don't use "dsds" in their modem.conf file
Click to expand...
Click to collapse
You are awesome! Can you please write specific commands you used to
1) push a new OEM folder to /data/local/temp
2) 'cp' command to copy that new OEM file from data/local/temp over to my /OEM folder.
3) I re-set the owner & file permissions rebooted.
Thanks!
VBBoston said:
You are awesome! Can you please write specific commands you used to
1) push a new OEM folder to /data/local/temp
2) 'cp' command to copy that new OEM file from data/local/temp over to my /OEM folder.
3) I re-set the owner & file permissions rebooted.
Thanks!
Click to expand...
Click to collapse
I will try. But, like I said. I am not that great at step by step instructions. It would be awesome if someone made a better guide or a script 2 run after temp root.
So, AFTER you already have temp root. Open another command window (keep your temp root window open!) assuming you have the new OEM folder in your command line root dir.
Adb push OEM /data/local/tmp
Then using the temp root window from earlier exploit.
mount -o rw,remount /oem
chown root.root /data/local/tmp/OEM
cd /data/local/tmp/OEM
cp - R * /oem
chmod 755 /oem/modem-config
chmod 755 /oem/modem-config/408
chmod 644 /oem/modem-config/408/modem.conf
chmod 755 /oem/overlay-408
chmod 644 /oem/overlay-408/android-res-310-408.apk
chmod 644 /oem/overlay-408/com.android.carrierconfig-res-310-408.apk
chmod 644 /oem/overlay-408/com.android.phone-res-310-408.apk
chmod 644 /oem/overlay-408/com.android.settings-res-310-408.apk
chmod 644 /oem/overlay-408/com.android.systemui-res-310-408.apk
chmod 755 /oem/system-properties/408
chmod 644 /oem/system-properties/408/config.prop
Done. Reboot. You might half to take out your Sim card & reinsert it. Or factory reset. To get volte setting to take. You will know because it will say something like restarting to update carrier configuration.
Then of course you can update, but be shure to delete the OEM.sin file before flashing newer firmware! I tried this with pie once & it did not work for me. But ymmv. Right now I like oreo better anyways
I have included the zip file I found here on XDA & used it. It's meant for bootloader unlocked so just Unzip it & only use the OEM file.
Please let me know how it goes or if I forgot something!
Robin Banks said:
I will try. But, like I said. I am not that great at step by step instructions. It would be awesome if someone made a better guide or a script 2 run after temp root.
So, AFTER you already have temp root. Open another command window (keep your temp root window open!) assuming you have the new OEM folder in your command line root dir.
Adb push OEM /data/local/tmp
Then using the temp root window from earlier exploit.
mount -o rw,remount /oem
chown root.root /data/local/tmp/OEM
cd /data/local/tmp/OEM
cp - R * /oem
chmod 755 /oem/modem-config
chmod 755 /oem/modem-config/408
chmod 644 /oem/modem-config/408/modem.conf
chmod 755 /oem/overlay-408
chmod 644 /oem/overlay-408/android-res-310-408.apk
chmod 644 /oem/overlay-408/com.android.carrierconfig-res-310-408.apk
chmod 644 /oem/overlay-408/com.android.phone-res-310-408.apk
chmod 644 /oem/overlay-408/com.android.settings-res-310-408.apk
chmod 644 /oem/overlay-408/com.android.systemui-res-310-408.apk
chmod 755 /oem/system-properties/408
chmod 644 /oem/system-properties/408/config.prop
Done. Reboot. You might half to take out your Sim card & reinsert it. Or factory reset. To get volte setting to take. You will know because it will say something like restarting to update carrier configuration.
Then of course you can update, but be shure to delete the OEM.sin file before flashing newer firmware! I tried this with pie once & it did not work for me. But ymmv. Right now I like oreo better anyways
I have included the zip file I found here on XDA & used it. It's meant for bootloader unlocked so just Unzip it & only use the OEM file.
Please let me know how it goes or if I forgot something!
Click to expand...
Click to collapse
Thank you!!! just needed to edit command cp - R * /oem to cp -R * /oem
Robin Banks said:
[...] because I have the dual sim XZp I changed my modem name in the modem.conf file from "tmobile_us_ims" to "dsds_tmobile_us_ims".
Click to expand...
Click to collapse
Since my G8342 does not load the correct 'Current Modem Configuration' (see screenshot from G8341) I can force this by editing the 'modem.conf', right?
SGH-i200 said:
Since my G8342 does not load the correct 'Current Modem Configuration' (see screenshot from G8341) I can force this by editing the 'modem.conf', right?
Click to expand...
Click to collapse
I am just gonna guess that your running a single Sim firmware & you want 2 load a dual sim modem? I am pretty shure that won't work. You can use a single Sim firmware & modem file on a dual sim phone. But the other sim slot won't function. But it looks like you already know that. I am using a dual sim firmware (and phone g8142). But there is no official Volte tmobile firmware for the XZp. Even tho the correct tmobile modem is baked into all the XZp firmwares. It needs the OEM.sin to provision volte & WiFi. It sets "IMS" true or something like that. So I used an oem.sin config file from a single Sim Xz1c. But the rest of my firmware is still XZp dual sim. I originally changed the part where it loads the correct modem & added "dsds" to the beginning because that's what the tmobile modem in my firmware is named. That worked. But it turns out, I didnt even half 2 do that. It still loads my "dsds_tmobile_us_ims" modem. Even tho I just have "tmobile_us_ims" in my modem.conf file. If you were gonna try and load a diffent modem it would be under /oem/modem-config/310/modem.conf because 310 is the customization that your running (in your thumbnail). So, yes you can force it 2 load whatever modem you want.. But only try the modems that are included with your current firmware. I wouldnt copy an actual dual sim modem into your single sim firmware. It *might* work. More then likely would brick it. Lemme know if you have any other questions & I will help ya if I can
Robin Banks said:
I am using a dual sim firmware (and phone g8142). But there is no official Volte tmobile firmware for the XZp. Even tho the correct tmobile modem is baked into all the XZp firmwares. It needs the OEM.sin to provision volte & WiFi. It sets "IMS" true or something like that. So I used an oem.sin config file from a single Sim Xz1c. But the rest of my firmware is still XZp dual sim.
Click to expand...
Click to collapse
This is the way I did it, too!
Robin Banks said:
[...]still loads my "dsds_tmobile_us_ims" modem. Even tho I just have "tmobile_us_ims" in my modem.conf file.
Click to expand...
Click to collapse
Flashing the OEM.sin is not enough in my case (G8342) because the modem file is missing!?
Robin Banks said:
But only try the modems that are included with your current firmware.
Click to expand...
Click to collapse
Is it possible to "look" into a SIN file without flashing it, to see which modem files are included, without flashing the firmware?
SGH-i200 said:
This is the way I did it, too!
Flashing the OEM.sin is not enough in my case (G8342) because the modem file is missing!?
Is it possible to "look" into a SIN file without flashing it, to see which modem files are included, without flashing the firmware?
Click to expand...
Click to collapse
The actual modem files are in modem.sin and you could unpack them and take a look. But, if your using a single sim xz1 OEM.sin that supports your carriers volte settings.. I think you should be able 2 just flash the whole firmware. I have flashed a single Sim firmware on my XZp and back to dual sim. You will loose your second sim functionality. But you can always flash a dual sim firmware back & it will be good has new. Do you really use 2 sim cards? Check out the 7th post in this thread (user rafi.mv6) about Xz1 single Sim flashing. https://forum.xda-developers.com/xz-premium/how-to/xzp-volte-firmware-t3631276
I used j4nn bindershell version of the temp root and Your guide to activate VoLTE and VoWiFi for Vodafone CZ not for the temp root supported Oreo, but for the actually last available Pie firmware 47.2.A.10.107 Customized CE1 (1308-5321) for XZ Premium single SIM G8141
I am about to write down the detailed guide soon. It is based on info from j4nn post #9 in his bindershell version temp root thread.
XZ Premium Vodafone CZ Volte & WiFi calling in Pie WITHOUT bootloader unlock​
THE STORY BEHIND
As I have very poor telephone signal inside the building of our veteran garage due to combination of a garage-to-BTS distance and very thick walls of an old building and many calls to me ended up with "The number cannot be reached, try again later" and me receiving the SMS with info about missed call, I wanted to use last issued Android for my Xperia XZ Premium single SIM G8141 and to have available VoLTE and VoWiFi for my provider Vodafone CZ. Then I started to investigate, which version of the phone and which customization I have exactly. I found, that despite being located in Central Europe, my phone customization was to my surpise of South Africa (1308-5324 Customized ZA 47.2.A.10.107). To achieve activation of the VoLTE and VoWiFi I thought, it could be enough to flash the Central Europe customization (1308-5321 Customized CE1 47.2.A.10.107), as special Vodafone CZ customization was not showed by XperiCheck, and it will all work seamlessly then. I could not be wrong more. After quite weak search for the info, I downloaded and flashed that Pie CE1 customization, with skipping userdata, all TA files and persist.sin to keep all data and settings not erased, there was no VoLTE nor VoWiFi available anyway. Then I started to investigate the possibilities more intensively. What I found, there was no direct option to have VoLTE and VoWiFi activated somehow on Pie, as the temp root and modification guides was available just for Oreo. But there were some hints within those threads, that pointed me to the possibility to achieve to have that function on Pie as well. Despite there were infos, that the intended sequences did not worked for some members trying it for Pie, it was not detailed enough to be clear, how they proceed. So I started to think about that all the time and based on number of Xperia XZ1c/XZ1/XZp threads, I considered many ways how to achieve my goal. Finally, the resulted steps were none of my ideas, I just collected all the wisdome from those threads and I just put them into the right sequence, that worked for me. If being on temp root supported Oreo firmware when started, it could be a path without loosing any user data, but as I was on last Pie, I had to backup every possible data and settings and to proceed the downgrade from Pie to Oreo with factory reset. There is no known way to me to downgrade with user data being kept, as despite I was warned, I tried it and I got the "promised" bootloop of course.
THE BASIC INFO
- SONY Xperia XZ1 (G8341), SONY Xperia XZ1 Compact (G8441) and SONY Xperia XZ Premium (G8141) are very similar phones with almost identical hardware. Therefore their firmwares do not differ much, at least in the text config files content manner. Hinted by XDA users, there can be the config files adapted from one of those devices to another easily. Many of them tested that for the Oreo and it worked fine for them.
- There exists Vodafone CZ customized Pie firmware for both XZ Premium friendly phones and they differ to their CE1 customized Pie firmware version just in the config settings part of oem.sin file and all modem definitions present inside in the system.sin are the same, so to change active modem, there is just config files modification needed that can be achieved through the temp root
- Using UnSin and ext4 image mounting SW investigate the files content, location and presence and try to figure out, which files could work for Your phone
- when flashing firmware, all excluded *.sin files/partitions will be not overwritten by new data and kept in the phone in current status and content. This is used in described steps to transfer changes from firmware supported by temp root to target firmware.
THE DESCRIPTION
The VoLTE and VoWiFi config files are in the /oem folder's subfolders. The content of the /oem folder can be kept when upgrading from lower to higher version of the Android by excluding the oem*.sin file when flashing. I disliked the idea to have oem settings from Oreo in the Pie and I tried to modify Pie's /oem folder within the Oreo firmware. Based on the info from this forum and by comparing all the firmwares content, I prepared (copied from CZ customized Pie firmware version of friendly phone G8341 XZ1) few files, that I identified to be important to change the modem file choosing by the system in XZ Premium Pie. So I prepared my own custom Oreo temp root supported CE1 customized firmware, excluded the XZp Oreo oem.sin and included the XZp Pie oem*.sin. I prepared the files to be changed in XZp Pie's /oem folder and the XZp Pie firmware with oem.sin excluded as well. I flashed first the hybrid XZp Oreo-with-Pie-oem-folder firmware to my phone successfully, started the XZp with Android Oreo. I cancelled all automatic updates, activated developer menu item and set the USB debugging ON. With using ADB I ran temp root, injected modified files into the /oem folder and set their rights. Rebooted and with temp root again I checked the injected files presence in /oem folder. Then I flashed CE1 customized XZp Pie firmware with its oem.sin excluded and rebooted XZp to Pie. I cancelled all automatic updates again and checked the modem and VoLTE settings. There was VoLTE option switch inside the service menus in blue color and actitaved with the VoWiFi option greyed out but set to ON. There the Enable VoLTE menu item appeared in the Network settings and it could be switched ON. In the Call settings, the Wi-Fi calling menu item appeared there in Advanced settings and could be activated. The service itself appeared and started to function after activating the service inside the provider Self service web portal.
THE PRINCIPLE
- I wanted VoLTE and VoWiFi for Vodafone CZ on SONY Xperia XZ Premium single SIM G8141
- To let it work, I had to modify Pie's /oem folder
- it is posible to modify it only when rooted or temp rooted
- I do not want to root it
- the only temp root is for Oreo
- I prepared and flashed hybrid firmware, Pie /oem with the Oreo main system - this trick was my only invention to this and it fortunately worked !
- I modified Pie /oem folder inside Oreo firmware temp root to support Pie's VoLTE and VoWiFi for Vodafone CZ
- I flashed latest Pie excluding the oem.sin to keep modified /oem settings then
- I switched the device settings ON and I activated the provider support for Vodafone CZ VoLTE and VoWiFi in Self Service portal
- Now I can enjoy Vodafone CZ VoLTE and VoWiFi on SONY Xperia XZ Premium single SIM G8141
WHAT TO DOWNLOAD
- To investigate Your phone version settings (not needed to follow my steps)
Download UnSin (UnSIN 1.13 (Win x64).zip)
Download SW for mounting and explore ext4 partition (ext2explore-2.2.71.rar)
Download the firmware for the other phones to look for setting files. In my case, it was G8341 Vodafone CZ customized Pie firmware (XZ1 G8341_Vodafone CZ_47.2.A.11.228-R2C)
- To activate VoLTE and VoWiFi for Vodafone CZ on SOMY Xperia XZ Premium single SIM G8141 (enough to follow my steps)
Download ADB (platform-tools_r33.0.2-windows.zip)
Download newflasher (newflasher_v52.zip)
Download the j4nn temp root alternative solution for G8141 (bindershell)
Download the G8141 j4nn temp root supported Oreo firmware in the same customization, as the later Pie to minimize issues (XZ Premium G8141_47.1.A.16.20 Customization CE1)
Download the G8141 CE1 customized Pie firmware (1308-5321 Customized CE1 47.2.A.10.107)
Download the G8141 Vodafone CZ customized Pie /oem fodler files (attached here as G8141_Vodafone_CZ_Modded_Pie_OEM_folder.ZIP)
THE PREPARATION
- if You want to proceed for phone different to G8141 and Vodafone CZ, check with xpericheck all three phone versions firmwares, whether there is any that contains customized version for Your provider, if there is one for Your phone, just flash that customization and You go
- if there is customized version of the firmware for Your provider for any of the other two phones, investigate the content of those firmwares oem*.sin and system*.sin files and try to match the proper files to copy/modify for Your phone (use UnSin and ext4 explorer for this task), the content of modem.conf file in oem.sin file, modem-config folder holds the short name of the modem *.mbn file in system.sin file, etc/customization/modem folder. For example, if modem.conf file contains "vodafone_czech_volte_vowifi" text, it defines using the "amss_fsg_maple_vodafone_czech_volte_vowifi_tar.mbn" modem files, that allows function of VoLTE and VoWiFi for Vodafone CZ. If Your firmware in system.sin contains modem file with the same name, You can modify /oem part of the firmware to select this modem and activate VoLTE and VoWiFi for Your phone/provider combination as well. I was inspired by Robin Banks files copied and I identified and copied several relevant files from G8341 Vodafone CZ firmware's /overlay folder as well. Try to add similar files for Your phone version as well.
- Prepare the XZ Premium single SIM G8141 temp root supported Oreo firmware into folder "01 not full Oreo downgrade with Pie OEM"
- exclude the Oreo oem.sin to allow using Pie oem.sin
- exclude the following Oreo firmware files as well: see content of the folder "01b not used Oreo files" (for the list see attachement file G8141_Vodafone_CZ_mod_FoldersContent.TXT)
- do not exclude userdata.sin when downgrading or else You get the bootloop (tested by myself )
- copy inside the folder the Pie's oem*.sin (oem_X-FLASH-CUST-42E5.sin)
- copy inside the folder the newflasher.exe file (to ease the process)
- extract ADB files into its folder, c:\platform-tools\ in my case
- copy content of the "02 adb push files" folder into c:\platform-tools\, extract it from the attached G8141_Vodafone_CZ_Modded_Pie_OEM_folder.ZIP
- copy bindershell file from j4nn for Oreo temp root into c:\platform-tools\
- Prepare the XZ Premium single SIM G8141 last Pie firmware into folder "03 Pie flash without OEM"
- exclude the Pie oem.sin
- exclude the following Pie firmware files as well: see content of the folder "03b_not_used_Pie_files" (for the list see attachement file G8141_Vodafone_CZ_mod_FoldersContent.TXT)
- copy inside the folder the newflasher.exe file too
- check both firmware folders to have their boot_delivery.xml file in boot folder and partition_delivery.xml file in partition folder for the flash to end correctly
- check the G8141_Vodafone_CZ_mod_FoldersContent.TXT and compare the folders' content to match
THE STEPS (Windows PC)
#01 - have Your phone charged, all data and settings backed up (including trim areas) and all phone drivers installed, this is a good way to start
#02 - go to "01 not full Oreo downgrade with Pie OEM" folder and run newflasher.exe inside, it will open a command line window, stay in this window
#03 - switch off the phone, hold volume down key and connect it to PC, wait for green LED ilumination and release volume down button
#04 - type 'n' + ENTER to skip install of GordonGate flash driver (You have them already installed, see step #01)
#05 - type 'p' + ENTER for poweroff after flash
#06 - type 'n' + ENTER to skip of dump trim area backup and the Oreo with Pie oem.sin flash will start, wait several minutes for process to finish
#07 - when flash finished, disconnect phone, close command line window
#08 - switch ON the phone and start Oreo system fully, disable any automatic updates ASAP, to stay on temp root supported firmware version of the Oreo
#09 - become a Developer and in Developer menu switch USB debugging ON
#10 - connect the phone to PC and allow connection
#11 - go to c:\platform-tools\ in Explorer and using SHIFT+right click open e.g. first PowerShell window from this folder
#12 - in PowerShell window type 'adb push bindershell /data/local/tmp' and press ENTER to copy bindershell file to the phone
#13 - if You do not have ADB fully installed and You just have drivers copied into the c:\platform-tools\ folder, type the command like this './adb push bindershell /data/local/tmp', add the './' before ADB commands in future, if this error repeats
#14 - in PowerShell window type 'adb shell' (or add ./ in the front of the command again) and press ENTER to run shell in the phone, the command prompt will change from PC:/platform-tools> to the name of Your phone, e.g. G8141:/ $
#15 - get a simple temp root shell according j4nn HOWTO
G8141:/ $ cd /data/local/tmp
G8141:/data/local/tmp $ chmod 755 ./bindershell
G8141:/data/local/tmp $ ./bindershell
#16 - You will know to have a temp root, when the prompt character changes from $ to # (like G8441:/data/local/tmp #), keep this first PowerShell window open
#17 - open a second PowerShell window from the same folder as the first one (c:\platform-tools\) using SHIFT+right click
#18 - in the second PowerShell window type 'adb push OEM /data/local/tmp' and ENTER to copy your modified files from c:\platform-tools\OEM folder on the PC to /data/local/tmp/OEM folder in the phone (in case of error add the './' before the command), after finishing, You can close this second PowerShell window
#19 - activate the first PowerShell window with the temp root still active and type following commands (these are the Robin Banks commands he wrote in the post #13 modified for my XZ Premium single SIM Vodafone CZ version)
mount -o rw,remount /oem
chown root.root /data/local/tmp/OEM
cd /data/local/tmp/OEM
cp -R * /oem
chmod 755 /oem/modem-config
chmod 644 /oem/modem-config/modem.conf
chmod 755 /oem/overlay
chmod 644 /oem/overlay/android-res-305.apk
chmod 644 /oem/overlay/com.android.carrierconfig-res-305.apk
chmod 644 /oem/overlay/com.android.settings-res-305.apk
chmod 644 /oem/overlay/com.android.systemui-res-305.apk
chmod 755 /oem/system-properties/
chmod 644 /oem/system-properties/config.prop
#20 - for You own setup, remember to set rights 755 for any folder name and rights 644 for any file name copied from /data/local/tmp/OEM to /oem folder inside the phone
#21 - Done. Reboot the phone into the Oreo with now modified Pie /oem folder. Close PowerShell window.
#22 - You can repeat temp root now to check, If Your files are really present inside the phone /oem folder and You proceeded well.
#23 - do not panic, if You check the Service info/Software info menu item now by dialing *#*#7378423#*#* and there is still recent modem *.mbn file selected, do not care about it as it is prepared for Pie and You are still on Oreo firmware now
#24 - go to "03_Pie_flash_without_OEM" folder and run newflasher.exe inside, it will open a command line window, stay in this window
#25 - switch off the phone, hold volume down key and connect it to PC, wait for green LED ilumination and release volume down button
#26 - type 'n' + ENTER to skip install of GordonGate flash driver
#27 - type 'p' + ENTER for poweroff after flash
#28 - type 'n' + ENTER to skip of dump trim area backup and Pie without oem.sin flash will start, wait several minutes for process to finish
#29 - when flash finished, disconnect phone, close command line window, now there is complete Pie system with VoLTE and VoWiFi modified /oem folder installed on Your device and all should work from now on
#30 - switch ON the phone and start Pie system, disable any automatic updates ASAP to keep Your modification in tact and not overwritten by future possible updates, if You want, regularly check for the firmware updates manualy and if there is a newer firmware You want to run, be prepared to proceed the whole this procedure again with newer firmware and test if it works for it as well
THE CREDITS
- j4nn for the XZp temp root alternative
- Robin Banks for the original How To
- chris_j26 for information in his [GUIDE] Enable VoLTE for your non operator handset thread (this needs Unlocked BL)
- pbarrette for the info to flash the cust-reset.ta file to clear the device current carrier customization information
- and credits for the SW creators (UnSin 1.13 - IgorEisberg, newflasher v52 - munjeni, Ext2Explore - rcrajesh & regmi_manish)
- and all the others forgotten...
THE DOWNLOAD
Here You can find
files list with the folders structure for all steps described above and compressed modified OEM folder to push to G8141 XZp single SIM Vodafone CZ
- all files used by me listed with their folder structure in TXT file
- a zip file with XZ Premium single SIM OEM folder modified for Vodafone CZ VoLTE & VoWiFi
- pictures
01 original ZA customization info
02 target CE1 customization info before MOD
03 final CE1 modded to CZ customization info after MOD
04 *#*#4636#*#* telephone info after MOD
05 WiFi calling menu item after MOD

Categories

Resources