P770 Flashing and rooting guide:
NOTE: Dropbox has temporarily suspended my public links for "generating too much trafic". Please use a mega alternative.
NOTE1: understand that I cannot keep no warranty or responsibility on a result of your effort. Please consider your abilities as following operations can easily brick your device. Also, for some dealers of mobile phones, modification like those bellow results in loss of your warranty.
NOTE2: this guide, all the modifications are created by community, to community. Please be noted that non of those shall be used for commercial purposes. Also I will not provide any support to those who wants to use stuff bellow anyhow for commercial purposes.
NOTE3: please note that I am not a pro-programmer, developer, geek. I am a bit advanced user who shares its result to community. All the stuff is provided as-is.. I am able to help but in time limits of my demandative work and personal life that is not on web .
NOTE4: if you have phone from Etotalk with their ROM, it already includes CWM. But the CWM has been modified by Etotalk to prevent a ROM Backup. Some features common in “normal” CWM might not work in Etotalk version.
Lets go!
This guide contains:
1) Short explanation of P770 firmware versions and its differences
2) Preparation for phone memory flashing
3) Guide for Winflash recovery flashing, including english CWM (Clockwork Mod Recovery)
4) Guide for rooting your phone (using CWM) and Google Apps (optionally)
5) Flashing your ROM - general
6) Guide for ROM flashing using Winflash utility
7) Guide for ROM flashing using CWM
8) Guide for ROM flashing using CWM - Recovery
9) Recommended ROMs and links
1) Short explanation of P770 firmware
P770 has two branches of fimware – “World” and “Asian” versions.
First and very crucial difference is, that they use different memory partitioning, resulting in fact that it is not possible to combine those two versions freely. Trying to do so may result in bricking your phone. Details will described in point 5 bellow:
Main differences for users are:
Asian version, marked S118-S124: usually more actual as Lenovo is focused on Asian market. Typically does not include Google Apps, and very often packed with strange Chinese applications of questionable use. Usually supports only Chinese and English
World version, marked S106-S113
Version for world customers, usually shrinked from useless apps and containing Google Apps. Released with a bit delay compared to Asian version. Better support of European languages, sometimes contains more languages than English. I suppose that version is prepared mainly for Russian Market
2) Preparation for memory flashing:
a) Download this package and upack it as a whole somewhere in your computer:
https://dl.dropbox.com/u/25344416/P770/P770_update_utility.zip
alternative link: https://mega.co.nz/#!tFcFyAhJ!OInJjjvLV8VYtJUIvN0EKEJo7vI8ul9kDzv9y_3ukNg
b) Turn off your phone, unplug cable, remove battery. Insert the battery but DO NOT plug your cable or power on the phone.
c) Open your device manager in “windows/system”
d) Connect your phone by cable. A new device named “MT65xx Preloader” shall appear for about 3 seconds in a section “Unknown devices”.
e) Catch it with mouse and manually change the drivers to the ones located in “SP_Drivers_v1.5” folder of downloaded (unpacked) file.
f) After updating, turn off phone, unplug and remove battery, reinsert battery and plug a phone. You should see a device “MediaTek Preloader USB VCOM (Android) (ComX)" in a “COM and LPT” section. If you see it, you are ready to go!
- If you don’t see it, you did something wrong, most probably you were not fast enough in point e), retry from b)
NOTE: if you are unable to pass step 2, please reconsider your decision to play with your phone. If something goes wrong during next phases, you will probably end up lost and sad with bricked phone :crying:
3) Guide for Winflash recovery flashing, including CWM (Clockwork Mod Recovery)
a) Turn off your phone, unplug cable, remove battery. Insert the battery but DO NOT plug your cable or power on the phone.
b) Run flash_tool.exe from directory downloaded in 2a
c) Hit “Scatter loading” button and choose a file “MT6577_Android_scatter_emmc” from a directory according to a FW version you have (described in Point 1):
110_recovery for a “world” version
121_recovery for a “Asian” version
Don’t mix it up otherwise a flashing will fail.
d) Hit “download” button and confirm any warning message.
e) Connect the phone by cable (phone has to be off and in state described in 3a)
f) Red bars on bottom side of the screen will show you a progress. When finished, green circle will appear.
g) Close flashtool.exe, unplug your phone, remove a battery, reinsert it.
h) To boot to CWM do this:
Press and Hold a power button for about 2 seconds, then release it and simultaneously press and hold volume buttons (both + and -) until phone boots to CWM
4) Guide for rooting your phone (using CWM) and Google Apps (optionally)
a) Download this zip file and place it to the root of your SDCard
https://dl.dropbox.com/u/25344416/P770/Root_by_javum.zip
alternative link: https://mega.co.nz/#!MYd1UQyL!DwroiHcoML_iEHD2r1pwvSReM2MZgXJlhjeWMaeHlkM
b) Reboot to CWM (point 3h), choose “install zip from sdcard” “choose zip from sdcard” and choose the Root_by_javum.zip file. As the update proceeds, your phone is rooted. Reboot
Optional: Install google apps if necessary
c) Download this zip file and place it to the root of your SDCard
https://dl.dropbox.com/u/25344416/P770/gapps-jb-20120726-signed.zip
https://mega.co.nz/#!ERUzQAYa!RNAKJAxLj38cLKi_ezNIpClrHoYIiIaPGHmKqwzcieQ
d) Reboot to CWM (point 3h), choose “install zip from sdcard” “choose zip from sdcard” and choose the “gapps-jb-20120726-signed .zip” file. As the update proceeds, your phone has GAAPS included. Reboot
Note: this Google apps will work with a roms using Android 4.1.1, for other versions, different gaaps might be needed.
5) Flashing your ROM – general
Generally you have 3 options how to flash your ROM – full wipe by FLASHtool, via CWM zip install or via CWM recovery. The choice is usually up to the creator of the ROM as he chooses a way how backup is created.
Flashtool way is a most basic one, it erases not only a rom, but also repartitions a memory and erases internal data. SD card remain untouched. Flashtool way is very useful for switching from “World” to “Asian” version”
If you want to switch from “World” to “Asian” you have as a first step flash an Asian version by flashtool (e.g. you can use a P770_S121_winflash linked in point 9), then flash whatever Asian version you want. To switch back to European you have to use flashtool again (e.g flash P770_S110_winflash). Maybe there are a different ways, but this is only safe process I would recommend.
LAST WARNING: as mentioned above – for CWM flashes, NEVER mix up an “world” and “asian” version of ROM. The reason is that both types are having different partitioning, so if you will be lucky, the flash will fail. If you are unlucky, the flash will proceed, and you have just successfully bricked your phone
NOTE1: first boot of the phone can easily take about 5 minutes. If the phone stuck on boot logo for 10 minutes or more you have 2 options:
a) Boot to CWM and wipe everything (see point 7) and reboot
b) Reflash ROM again, or reflash another ROM.
NOTE2: some ROMs are rooted, some are not. Some includes Gaaps, some not. For guide how to solve it, return to point 4.
NOTE3: As there is mistake in Android 4.1.1, commercial widgets disappears after reboot. Its a mistake of Android, not ROM and can be easily solved by Titanium Backup. (App with widget you want to use has to be backuped by TB, then uninstalled and recovered from backup (all by TB). Problem shall be solved in next release of Android:
6) Guide for ROM flashing using Winflash utility
a) Turn off your phone, unplug cable, remove battery. Insert the battery but DO NOT plug your cable or power on the phone.
b) Run flash_tool.exe from directory downloaded in 2a
c) Dowload a ROM you need (you might look at point 9)
d) Hit “Scatter loading” button and choose a file “MT6577_Android_scatter_emmc” from a directory with a ROM
e) Hit “Firmware update”, the program will check the images (purple bars running in bottom part) and then awaits a connection of a phone:
f) Connect the phone by plug (phone has to be off and in state described in 6a)
g) Red bars on bottom side of the screen will show you a progres. When finished, green circle will appear.
h) Reboot.
7) Guide for ROM flashing using CWM
a) Download a ROM you want to flash (you may see Point9) and copy a zip file to a root of your SD card.
b) Reboot to CWM (see 3h) and do “wipe factory data” and “wipe cache”. Go to “advanced” and do “wipe Dalwik cache”.
c) choose “install zip from sdcard” “choose zip from sdcard” and choose the file you have placed on SD card.
d) When update is finished, perform one more time “wipe factory data”. Reboot.
8) Guide for ROM flashing using CWM - Recovery
a) Download and unpack a ROM you want (you may see Point9), to a directory on your card /clockworkmod/backup, that means that final route shall be /clockworkmod/backup/Romdirectory
b) Reboot to CWM (see 3h) and do “wipe factory data” and “wipe cache”. Go to “advanced” and do “wipe Dalvik cache”.
c) Choose “backup and restore”, “restore” ad “Romdirectoryname”. Restoration might end by error message, but its no reason to be scared.
d) Reboot
9) Recommended ROMs and links
Updated ROMs for P770 can be found here:
http://www.needrom.com/phone-roms/lenovo/p770/
Most actual versions appears usually on this Russian and Chinese forum, Google can translate:
http://bbs.ydss.cn/forum-Lenovo_p770-1.html
http://lenovo-forums.ru/forum/119-lenovo-ideaphone-p770/
So far, best roms I reccomend are:
1) S121 flashable via flashtool, I use it as a starting point for all the „asian“ mods:
https://dl.dropbox.com/u/25344416/P770/P770_S121_winflash.zip
alternative link: https://mega.co.nz/#!UY9GRCyb!S1C-Tz8Foc47atKPkD20HSsBROBZfZbOKEt36-5iNGY
2) S110 flashable via flashtool, I use it as a starting point for all the „european“ mods:
https://dl.dropbox.com/u/25344416/P770/P770_S110_winflash.zip
alternative link: https://mega.co.nz/#!YYE03byB!I-iSvBu4pzi6PrZ9N3zn3TkRv24oQIHbmdau1FIEXXs
3) S124_maomi_Pu_mod, CWM zip flashable, my modification of latest Asian ROM, shrinked, removed Asian Apps, added More Locale and Xperia Launcher
https://dl.dropbox.com/u/25344416/P770/P770_S124_cwm_maomi_MOD_pu.zip
alternative link: https://mega.co.nz/#!FBN3SIwD!NK0jqVnxaYzlUPjGWvJf7iWb2YFp6sGo7zXMsltv76E
4) S113_Pu_mod, CWM Recovery flashable via Restore, not rooted, my modification of newest world ROM, shrinked, added More Locale, Calendar Pad and Xperia Launcher, FV5 Camera is installed along original one, battery percentage ability in settings, reboot option while holding a power keyboard
https://mega.co.nz/#!1A1BmTjZ!WAjB8kLmeddS2ZqnfeerZF9yvjRduCPGepBBcUFK6n8
Last link (4) is my actual version I do personaly use.
Hope it helps!
Fast guides for "typical scenarios", all the links in guides points to the steps described in first post.
1) I want to backup my Etotalk ROM:
Note: Etotalk uses its own, modifyed CWM version. It does not allow to perform a ROM backup, so a backup starts but never ends until phones memory is full. To backup your ROM you have to:
1.1. prepare your computer for winflash acc point 2
1.2. Flash "S121_recovery" according point 3 you will have CWM 5.5.0.4
1.3. Reboot to CWM, and perform a flash backup (advanced-backup and restore-backup)
Note: "Etotalk" rom is based on asean S_121 firmware, for going back to Etotalk, follow steps according scenario 5.
2) I have Etotalk ROM and I want to switch to "European" ROM (S106-113)
2.1. prepare your computer for winflash acc point 2
2.2. perform a winfflash of S110 rom (link 9.2) acc point 6
2.3. flash "S110_recovery" according point 3, you will have CWM 5.5.0.4
2.4. Now you can flash any rom or mod of "European family" you want. Be noted that flashing can overwrite your CWM again, so if it happens, repeat step 3.
2.5. (optionaly) root your ROM according point 4
3) I have Etotalk ROM and I want to switch to other "Asian" ROM (S118-124)
3.1. prepare your computer for winflash acc point 2
3.2. perform a winfflash of S121 rom (link 9.1) acc point 6
3.3. flash "S121_recovery" according point 3, you will have CWM 5.5.0.4
3.4. Now you can flash any rom or mod of "Asian family" you want. Be noted that flashing can overwrite your CWM again, so if it happens, repeat step 3.
3.5. (optionaly) root your ROM according point 4
4) I have Asian version (118-124) and I want to switch to "European" ROM (S106-113)
4.1. prepare your computer for winflash acc point 2
4.2. perform a winfflash of S110 rom (link 9.2) acc point 6
4.3. flash "S110_recovery" according point 3, you will have CWM 5.5.0.4
4.4. Now you can flash any rom or mod of "European family" you want. Be noted that flashing can overwrite your CWM again, so if it happens, repeat step 3.
4.5. (optionaly) root your ROM according point 4
5) I have "European" ROM (S106-113) and I want to switch to Asian version (118-124)
5.1. prepare your computer for winflash acc point 2
5.2. perform a winfflash of S121 rom (link 9.1) acc point 6
5.3. flash "S121_recovery" according point 3, you will have CWM 5.5.0.4
5.4. Now you can flash any rom of "Asian version" you want. Be noted that flashing can overwrite your CWM again, so if it happens, repeat step 3.
5.5. (optionaly) root your ROM according point 4
Guys, please think twice before you ask by PM. Last days I am overloaded by the tons of questions, and about half of them are motivated by your tendency to save your time by wasting mine. Especialy questions like"please can you compare batery life to SXXX" drives me crazy....
If you want to know - flash and try.
If you are too scared of bricking you phone - keep your stock ROM
I dont want to be unpolite, but please do not be offended if your PM remains unanswered, especially when its obvious that you did not even read whole guide.
ROM Archive: links to older versions of my mods, if handy for anyone:
S110_Pu_mod, CWM Recovery flashable via Restore, my modification of world ROM, shrinked, added More Locale and Xperia Launcher
https://dl.dropbox.com/u/25344416/P770/P770_S110_cwm_mod_pu.zip
alternative link: https://mega.co.nz/#!QNFjRb6Y!aqYy325w-WKS38QkcemhqnltLls_DpoTzntjOiA1JBY
S111_Pu_mod, CWM Recovery flashable via Restore, my modification of world ROM, shrinked, added More Locale, Calendar Pad and Xperia Launcher
https://mega.co.nz/#!pMsy1LKS!aWqukSNdPadQsEuyFAhKV1YvaqZiL2-EYjSAxSrEFLI
S112_Pu_mod, CWM Recovery flashable via Restore, my modification of world ROM, shrinked, added More Locale, Calendar Pad and Xperia Launcher
https://mega.co.nz/#!YZshkLyZ!LJi_HR6NRa6jJKoORSckEkj8SeJ3-D4pgVPvekvbtpA
Very nice, thanks for your sharing!
Nice work! :good:
I flashed your S124 ROM while my phone was S110... Before you created this thread... I didnt brick my phone.
S124 is a nice ROM but i missed the business theme and magic launcher and lotus widget so i flash back original ROM.
About partitioning, does anyone know how to make internal storage bigger and usb storage smaller? Cause unfortunately stock ROM takes lot of internal memory space...
vietchecz said:
I flashed your S124 ROM while my phone was S110... Before you created this thread... I didnt brick my phone.
S124 is a nice ROM but i missed the business theme and magic launcher and lotus widget so i flash back original ROM.
About partitioning, does anyone know how to make internal storage bigger and usb storage smaller? Cause unfortunately stock ROM takes lot of internal memory space...
Click to expand...
Click to collapse
Lucky you. I found several threads reporting a problems during S110xS124 and vice versa, so I recomend full flash as safe way.
As my primary goal is to shrink a size of a ROM, live wallpapers, etc are intentionaly deleted in my mods.
Non of above links is work
regards
s124 -> s110
hello,
i have a friend who have this phone with s124 version. (asia version)
but he need the phone in european version (s110) french if it's possible.
i think i just need to flash with flashtool all the rom but everytime i want use your dropbox link it's an error 509.
can you upload the files and maybe explain what i must take care to change the rom?
thank you
hallo, seems that a Dropbox has suspended my public links. I have added Mega alternatives.
sekptar: I hope that a to-do writen above is complete, all the informations are there. First flash the full S110 ROM according points 2 to 6. Then if you want, flash my S110 mod according point 7.
I dont know about any ROM with full french support. Install More Locale 2 to get at least partial French support.
many thanks
finally it works now.
regards
The instructions provided in the guides are quite clear however i dont understand the rooting procedure
Yes that's work.
He took english, easier than chinese..
Thank for all
Sent from my GT-N7100 using xda app-developers app
abs0lut3z33r0 said:
The instructions provided in the guides are quite clear however i dont understand the rooting procedure
Click to expand...
Click to collapse
Rooting is quite easy. Just download a "root_by_javum.zip" file, and flash it via CMW. Nothing more, nothing less.
I got it rooted , I will post some revisions in the instructions soon
Sent from my Lenovo P770 using Tapatalk 2
f) After updating, turn off phone, unplug and remove battery, reinsert battery and plug a phone. You should see a device “MediaTek Preloader USB VCOM (Android) (ComX)" in a “COM and LPT” section. If you see it, you are ready to go!
Click to expand...
Click to collapse
Hi, I've installed the driver (SP_Drivers_v1.5) in Step 2.. but couldnt find the 'Mediatek...' under 'COM and LPT'.. When I plug in the phone (turned off), it didnt show anything in the device manager..
what should I do next?
This is entirely on my own experience on win7 x64
2) Preparation for memory flashing:
a) Download this package and upack it as a whole somewhere in your computer:
https://dl.dropbox.com/u/25344416/P7...te_utility.zip
alternative link: https://mega.co.nz/#!tFcFyAhJ!OInJjj...l9kDzv9y_3ukNg
b) Turn off your phone, unplug cable, remove battery. Insert the battery but DO NOT plug your cable or power on the phone.
c) Open your device manager in “windows/system”
d) Connect your phone by cable. A new device named “MT65xx Preloader” shall appear for about 3 seconds in a section “Unknown devices”.
e) Catch it with mouse and manually change the drivers to the ones located in “SP_Drivers_v1.5” folder of downloaded (unpacked) file.
f) After updating, turn off phone [the phone is already off], unplug and remove battery, reinsert battery and plug a phone. You should see a device “MediaTek Preloader USB VCOM (Android) (ComX)" in a “COM and LPT” section. If you see it, you are ready to go! The device display is also displayed for about 3seconds similar to the the previous one
- If you don’t see it, you did something wrong, most probably you were not fast enough in point e), retry from b)
4) S110_Pu_mod, CWM Recovery flashable, my modification of latest world ROM, shrinked, added More Locale and Xperia Launcher
Click to expand...
Click to collapse
After all, i can use this rom using cwm mod recovery, but i think there s a bug since i cannot back up application using setting menu. Is it right ?
solved, have to install backup n restore apk
abs0lut3z33r0 said:
This is entirely on my own experience on win7 x64
2) Preparation for memory flashing:
a) Download this package and upack it as a whole somewhere in your computer:
https://dl.dropbox.com/u/25344416/P7...te_utility.zip
alternative link: https://mega.co.nz/#!tFcFyAhJ!OInJjj...l9kDzv9y_3ukNg
b) Turn off your phone, unplug cable, remove battery. Insert the battery but DO NOT plug your cable or power on the phone.
c) Open your device manager in “windows/system”
d) Connect your phone by cable. A new device named “MT65xx Preloader” shall appear for about 3 seconds in a section “Unknown devices”.
e) Catch it with mouse and manually change the drivers to the ones located in “SP_Drivers_v1.5” folder of downloaded (unpacked) file.
f) After updating, turn off phone [the phone is already off], unplug and remove battery, reinsert battery and plug a phone. You should see a device “MediaTek Preloader USB VCOM (Android) (ComX)" in a “COM and LPT” section. If you see it, you are ready to go! The device display is also displayed for about 3seconds similar to the the previous one
- If you don’t see it, you did something wrong, most probably you were not fast enough in point e), retry from b)
Click to expand...
Click to collapse
yes, I am using windows 7 x64 too.. it did show up under COM and LPT but only for a few sec.. then it disappears.. this means that I can proceed?
EDIT: I use windowx xp too, and its the same. only appears for a few sec. Rooted!
Confirmation & Questions
Hi,
i can confirm the same behaviour. I also managed to load the new driver but when I connect the device again the "MediaTek Preloader USB VCOM (Android) (ComX)" in a “COM and LPT” section" only shows a second or so and then it dissapears again. Just like furredd describes it.Not sure if this is ok.
Note: I can see the driver using USBDeview.
Another thing: I tried twice to download the "4) S110_Pu_mod, CWM Recovery flashable, my modification of latest world ROM, shrinked, added More Locale and Xperia Launcher" from Mega but the download stopped at ~65% both times.
I use windowx xp prof.
Any ideas?
Edit: One more thing: I have a phone from Etotalk with their Rooted ROM. Does this mean I can not pull this update through or how am i supposed to understand it?
Thanks
First of all, sorry for publishing an uncomplete guide, im traslating my own full spanish guide and at the same time making it more complete and better, and i decided to do it this way, publishing progressively
/////////////////////////////////////////
SECTION 1: Android argot summary
I put this link here so any new user in the Android rooting/flashing world can learn the classic words used
http://www.talkandroid.com/guides/beginner/android-rom-and-rooting-dictionary-for-beginners/
Note: in bootloader it says that the phone comes locked, which in our case usually is not the case, but anyway you can know if your phone is locked just by trying to get into the fastboot mode, if you can't get into it, its locked.
An Android phone's disk is virtually splitted in several partitions, like a computer, but not exactly the same because even when your phone has a lot of partitions, you will only see one if you didn't rooted your phone, or two if you did, and the partition where you have your photos and the rest of your personal downloaded things is named sdcard (yes, is a legacy of Android, even when we don't have sdcard), or even in some ROMs is called userdata or something like that; another partition is system, where the ROM itself is, is like the installation of Windows; another is data, where the config files of the apps are stored when you start using them; another is cache, where the cache of the apps are (you can think of it like the apps are compressed always, and to run faster they descompress themselves in that partition), and there are two of those partitions: dalvik cache and cache; also bootloader, which is like the BIOS of the computer, is the most basic program that makes possible the phone to boot, and also it is not possible to edit it, it is not writable, it is this way so that you wont never be able to hardbrick your phone (which means that you can literally drop your beautiful phone into the trash, no way of fixing it), like it was in older phones, and also in this partition you also have the fastboot mode, which i'll explain later; and the last one im explaining (there are more but you probably wont never know about them) is recovery, where there is installed the recovery, and what is recovery? is a tool which is by itself an entire operating system, but made specifically for "developing" purposes, mainly for flashing ROMs and making backups of the entire partitions. We have two recoverys for Mi4C, the Mi Recovery, which comes by default with your phone, and is very limited, mainly you can only flash Xiaomi's official ROMs, and the TWRP recovery, which is the absolutely most popular recovery, and strongly suggested to use, no disadvantages at all. Also know that, like in Windows you can't format the very own Windows partition and you must use and external tool, which would be the Windows installation CD program or something like that, here we have the recovery, you can't flash or wipe using Android, you must be in the recovery mode.
So as I said, the bootloader is readable only by security, and it includes the fastboot tool, so you must know to lost the fear of this world, that YOU WON'T BE ABLE TO HARDBRICK YOUR PHONE, you will always have fastboot to reflash a complete Android ROM (which requires a computer and a fastboot ROM, which is different than a flashable ROM. You will use a fastboot ROM in the first flashing tutorial, more bellow)
What is Fastboot? Basically is a tool which acts like a server in the phone, and as a client in the computer, and is made mainly to make basic things to the phone, like flashing partition images (included in the fastboot ROMs, extension of each one is .img) or read the locking status of the bootloader.
What is a locked bootloader? In our phone, is a bootloader that only allows you to flash official xiaomi roms, but as xiaomi don't offer a global version of miui for our phone, the only official rom is the chinese one, which appart than having only english and chinese languages, is very bloated of chinese apps, so is very recommended to unlock the bootloader and flash any other rom of your desire.
How to access fastboot? First, shut down the phone; second, press at the same time the Power and the Vol - buttons for a few seconds, there should appear in the screen a Fastboot logo. Note that the phone may automatically shutdown if no connection is made with a fastboot client in a computer in about 10 seconds after entering fastboot mode
How to access recovery? First, shutdown the phone, then press at the same time power and vol+ for a few seconds
What is ADB? Is a tool that works the same way as fastboot (phone and computer connected), but instead of being in bootloader, it is inside of android, and instead of doing essential work for the phone, it does more practical things like transfer of files, but you will probably not use ADB at any time. Also, for transfering files you wont use ADB, which like Fastboot is a command line tool only, but you will use MTP, which is the media transfer protocol, the graphical way of transfering files, in your computer it will appear like a classical external drive, but in Windows the icon will be like an iPod.
Note before starting the flashing tutorial: go to Settings > (bottom) About phone and look at the MIUI version, MIUI version numeration is supposed to follow a date (the date of release) except the first number which could not be the year, it could be 5, 6 or 7, so a correct numeration would be for example 7.2.1.0 (there is always a 4º number which is always 0 if do remember well). The thing is that when you buy the phone to a reseller, is very usual that they flash their custom MIUI rom which comes with international language, its fine, but it also comes with spyware and adware everywhere. Those roms usually comes with a version numeration of strange repeated numbers, like 77. 87. 55. 99., remember that the first number always must be 5, 6 or 7. In case that you have preinstalled this rom, i suggest you strongly to follow the guide fully, including the clean flashing with fastboot rom
Note 2: you need to have the bootloader unlocked in order to continue, please read the unlock tutorial below
Note 3: this guide supposes you have Windows. If you have Linux or Mac, or you have any problem, please ask here
Note 4: for this guide we are going to use a Drive folder shared with a spanish mi4c community, so file names may contain spanish words but shouldn't be a problem. Sorry for the inconvenience, but it's for ease purposes. Drive link: https://drive.google.com/folderview?id=0B3N1d6szT1RYWkNET0pEbWhud3c#list
SECTION 2: Flashing guide (part 1/2: cleaning)
We are going to flash the 7.1.4.0 fastboot ROM in order to update as much as we can all the firmware (drivers of usb, modem, camera...), clean all from the weird ROM of the reseller and all of that without locking the bootloader.
Please, charge your phone first to at least 50%. Also, this process will erase all your personal data in the phone, backup all you need before.
1. Download the Fastboot 7.1.4.0 ROM (for example, here https://drive.google.com/folderview...RUR3WkE&tid=0B3N1d6szT1RYWkNET0pEbWhud3c#list ) Also download the 2 other files from that link.
2. Go to the root directory of your computer drive, usually C:\ and create a new folder with a simple name without special characters, neither spaces (for example, flash) to avoid problems in the process (at the end of the guide you will be able to delete that folder).
3. Go into that folder and extract the ROM, you must be able to see a folder named images and files together (Note: maybe you could need 7-Zip to extract it)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4. Now Install the other 2 files you downloaded. Then, reboot the computer and poweroff the phone
5. Exec the MiFlash tool, copy the path of the folder (for example, C:\flash) and paste it in the MiFlash tool
6. Now go to advanced
7. Click on Browse for Fastboot Script and choose flash_all.bat (if you are not able to see the file extensions, you should enable the viewing of file extensions (google for it))
8. Now put the phone in Fastboot mode (being it powered off, press power and vol- at the same time for a few seconds until the Fastboot logo appears) Note: to exit this mode, just press power for a few seconds
9. Now connect the phone to the computer with the usb cable (adaptors may give problems) and press on Refresh in the MiFlash tool in order for the phone to appear in it
10. Press on Flash, wait for the green bar to finish (could last minutes, just wait, if error is shown, post it here, if more than 1 hour and nothing changes, maybe is the computer, maybe is the cable, maybe is your bad luck). Done this part of the guide
Credits for this section of the guide
SECTION 3: Flashing guide (part 2/2: Flashing at last!)
1. (Downloading) Enter the Drive folder posted above and download the TWRP zip, the ROM of your desire (see below for reading more of every ROM), the google apps (MIUI already comes with preinstalled google apps, not needed in that case; also, you can download the google apps at opengapps.org and picking ARM64 and 6.0 android (or the version that the ROM you are choosing is, probably 6.0), and picking pico or nano is enough, comparison table here https://github.com/opengapps/opengapps/wiki/Package-Comparison ) and the supersu (only if you want root, anyway you can flash supersu at anytime without needing to wipe or anything, is easy). If you didn't do the part 1/2 and you need the Windows drivers, you can download it from the Drivers Windows folder, install it and reboot the computer.
1.1 (Uncompressing) Unzip the TWRP file in a sort path from the root folder, like for example in C:\TWRP (at the end of the guide you can delete this). You should see a file called recovery.bat (if you can't see extensions, google for enable it), it is for the step 3.
1.2 (Testing MTP) We will need to use MTP while we are in the recovery mode, so first let's test it in Android. While the phone is fully booted in Android and in the launcher screen (if starting for the first time, skip all the tutorial with whatever info), plug the phone to the computer, and in the phone swipe down the notifications bar, you should see a notification saying something of MTP or wired connection, activate MTP. Now in the computer, open My Computer and you should see Mi4C there, open it and try to navigate and create a folder, if all is ok, it works. If you are not able to create a folder o transfer any file from your computer, do not continue until this is fixed.
2. (Fastboot) First, keep the TWRP folder open and the recovery.bat file visible. Unplug the phone and put it in Fastboot mode (power it off, then Power and Vol- for a few seconds)
3. (Recovery flashing) Just execute the recovery.bat file (double click) and press a key if it asks for it (there should appear a green window with text). Done, recovery flashed (read text to see if everything is done). Now with TWRP installed, you won't need anymore (you shouldn't) the computer for using fastboot, now only for transfering the ROM files to the phone to use it from the TWRP.
4. (Wiping) Now let's boot into Recovery mode (TWRP in this case), two ways for it: you can Power and Vol+ while it is powered off, or you can boot Android, go into Settings, About phone, updates and in the 3 dot menu, there is a button for booting into recovery.
Note about the first TWRP start, it should appear this screenshot
Just press on never show again and swipe. Now, in TWRP, enter Wipe, select all partitions and wipe them all, it should appear an error about usb otg, doesn't matter, wipe is done correctly. Now you need to reboot into Recovery mode again, needed when wiping partitions another than cache or dalvik cache (if you don't reboot now, it won't let you flash), so press the mid button in the navigation bar to go to the main menu, and enter in Reboot > reboot recovery. If a message of "no OS installed" or "install supersu" appears, say no or ignore
5. (Flash!) Now, with the phone plugged, MTP should be working, so now you have to transfer the ROM, gapps and supersu files (gapps=google apps; gapps and supersu if needed as i explained in step 1). Now in the phone, press install, select the ROM, then add zip, select the gapps, add zip, supersu, and then swipe, a minute later there should appear a reboot system (android) button and the wipe cache button, first press wipe cache button, do it, and then reboot system.
Congratulations, now you can consider yourself a h4k3r, next step hacking into NSA maybe or something? Wait for the guide
From now on, flashing will usually consist in downloading the rom file from the phone (or from the computer and then transfer to the phone) and with the same gapps and supersu files downloaded above, you can flash, and then wipe cache. This is a dirty flash, only do it if updating a ROM, if going o another type of rom you must clean flash, which is done by first wiping all partitions as done in step 4 (note: all personal data would be lost, backup with titanium backup for example, and transfer all files to computer)
SECTION 4: Summary of ROMs available to our phone
MIUI: the ROM that comes with the phone, made by Xiaomi, full of features, loved by ones, hated by others
-MIUI chinese: the original official Xiaomi one, only in english and chinese languages, and comes with preinstalled chinese apps. Two variations: stable (released like once per month) and weekly
-MIUI .eu: modified version of the chinese, removed preinstalled chinese apps, a lot of languages included. Also comes in stable and weekly versions.
CyanogenMod: is a proyect which purpose is to make the full ROM open sourcered, and include more features than the official Google Android ROM doesn't include.
-CM from Kumajaya: most popular edition for our phone, this guy is doing a very good job with the kernel, making the ROM very stable and battery efficient.
-CM from Team Superluminal (TSL): they were the first to bring us CM, is not open sourcered (or at least is not their main job, as opposed to kuma) but is pretty stable, more recommended for noobies, kuma is more for staying up to date frequently
Resurrection Remix: a ROM that brings together a lot of different ROMs, unifying a lot of features. In Mi4C is a bit unstable for now, but is a matter of time.
Moke
SLIM
And I add here a link for a nice unlocking bootloader guide http://forum.xda-developers.com/mi-4c/general/guide-unlocking-mi4c-bl-verification-t3336779
Recovery + Official ROM
THREAD REMINDER
akrai said:
First of all, sorry for publishing an uncomplete guide, im traslating my own full spanish guide and at the same time making it more complete and better, and i decided to do it this way, publishing progressively
/////////////////////////////////////////
SECTION 1: Android argot summary
I put this link here so any new user in the Android rooting/flashing world can learn the classic words used
http://www.talkandroid.com/guides/beginner/android-rom-and-rooting-dictionary-for-beginners/
Note: in bootloader it says that the phone comes locked, which in our case usually is not the case, but anyway you can know if your phone is locked just by trying to get into the fastboot mode, if you can't get into it, its locked.
An Android phone's disk is virtually splitted in several partitions, like a computer, but not exactly the same because even when your phone has a lot of partitions, you will only see one if you didn't rooted your phone, or two if you did, and the partition where you have your photos and the rest of your personal downloaded things is named sdcard (yes, is a legacy of Android, even when we don't have sdcard), or even in some ROMs is called userdata or something like that; another partition is system, where the ROM itself is, is like the installation of Windows; another is data, where the config files of the apps are stored when you start using them; another is cache, where the cache of the apps are (you can think of it like the apps are compressed always, and to run faster they descompress themselves in that partition), and there are two of those partitions: dalvik cache and cache; also bootloader, which is like the BIOS of the computer, is the most basic program that makes possible the phone to boot, and also it is not possible to edit it, it is not writable, it is this way so that you wont never be able to hardbrick your phone (which means that you can literally drop your beautiful phone into the trash, no way of fixing it), like it was in older phones, and also in this partition you also have the fastboot mode, which i'll explain later; and the last one im explaining (there are more but you probably wont never know about them) is recovery, where there is installed the recovery, and what is recovery? is a tool which is by itself an entire operating system, but made specifically for "developing" purposes, mainly for flashing ROMs and making backups of the entire partitions. We have two recoverys for Mi4C, the Mi Recovery, which comes by default with your phone, and is very limited, mainly you can only flash Xiaomi's official ROMs, and the TWRP recovery, which is the absolutely most popular recovery, and strongly suggested to use, no disadvantages at all. Also know that, like in Windows you can't format the very own Windows partition and you must use and external tool, which would be the Windows installation CD program or something like that, here we have the recovery, you can't flash or wipe using Android, you must be in the recovery mode.
So as I said, the bootloader is readable only by security, and it includes the fastboot tool, so you must know to lost the fear of this world, that YOU WON'T BE ABLE TO HARDBRICK YOUR PHONE, you will always have fastboot to reflash a complete Android ROM (which requires a computer and a fastboot ROM, which is different than a flashable ROM. You will use a fastboot ROM in the first flashing tutorial, more bellow)
What is Fastboot? Basically is a tool which acts like a server in the phone, and as a client in the computer, and is made mainly to make basic things to the phone, like flashing partition images (included in the fastboot ROMs, extension of each one is .img) or read the locking status of the bootloader.
What is a locked bootloader? In our phone, is a bootloader that only allows you to flash official xiaomi roms, but as xiaomi don't offer a global version of miui for our phone, the only official rom is the chinese one, which appart than having only english and chinese languages, is very bloated of chinese apps, so is very recommended to unlock the bootloader and flash any other rom of your desire.
How to access fastboot? First, shut down the phone; second, press at the same time the Power and the Vol - buttons for a few seconds, there should appear in the screen a Fastboot logo. Note that the phone may automatically shutdown if no connection is made with a fastboot client in a computer in about 10 seconds after entering fastboot mode
How to access recovery? First, shutdown the phone, then press at the same time power and vol+ for a few seconds
What is ADB? Is a tool that works the same way as fastboot (phone and computer connected), but instead of being in bootloader, it is inside of android, and instead of doing essential work for the phone, it does more practical things like transfer of files, but you will probably not use ADB at any time. Also, for transfering files you wont use ADB, which like Fastboot is a command line tool only, but you will use MTP, which is the media transfer protocol, the graphical way of transfering files, in your computer it will appear like a classical external drive, but in Windows the icon will be like an iPod.
Note before starting the flashing tutorial: go to Settings > (bottom) About phone and look at the MIUI version, MIUI version numeration is supposed to follow a date (the date of release) except the first number which could not be the year, it could be 5, 6 or 7, so a correct numeration would be for example 7.2.1.0 (there is always a 4º number which is always 0 if do remember well). The thing is that when you buy the phone to a reseller, is very usual that they flash their custom MIUI rom which comes with international language, its fine, but it also comes with spyware and adware everywhere. Those roms usually comes with a version numeration of strange repeated numbers, like 77. 87. 55. 99., remember that the first number always must be 5, 6 or 7. In case that you have preinstalled this rom, i suggest you strongly to follow the guide fully, including the clean flashing with fastboot rom
Note 2: you need to have the bootloader unlocked in order to continue, please read the unlock tutorial below
Note 3: this guide supposes you have Windows. If you have Linux or Mac, or you have any problem, please ask here
Note 4: for this guide we are going to use a Drive folder shared with a spanish mi4c community, so file names may contain spanish words but shouldn't be a problem. Sorry for the inconvenience, but it's for ease purposes. Drive link: https://drive.google.com/folderview?id=0B3N1d6szT1RYWkNET0pEbWhud3c#list
SECTION 2: Flashing guide (part 1/2: cleaning)
We are going to flash the 7.1.4.0 fastboot ROM in order to update as much as we can all the firmware (drivers of usb, modem, camera...), clean all from the weird ROM of the reseller and all of that without locking the bootloader.
Please, charge your phone first to at least 50%. Also, this process will erase all your personal data in the phone, backup all you need before.
1. Download the Fastboot 7.1.4.0 ROM (for example, here https://drive.google.com/folderview...RUR3WkE&tid=0B3N1d6szT1RYWkNET0pEbWhud3c#list ) Also download the 2 other files from that link.
2. Go to the root directory of your computer drive, usually C:\ and create a new folder with a simple name without special characters, neither spaces (for example, flash) to avoid problems in the process (at the end of the guide you will be able to delete that folder).
3. Go into that folder and extract the ROM, you must be able to see a folder named images and files together (Note: maybe you could need 7-Zip to extract it)
4. Now Install the other 2 files you downloaded. Then, reboot the computer and poweroff the phone
5. Exec the MiFlash tool, copy the path of the folder (for example, C:\flash) and paste it in the MiFlash tool
6. Now go to advanced
7. Click on Browse for Fastboot Script and choose flash_all.bat (if you are not able to see the file extensions, you should enable the viewing of file extensions (google for it))
8. Now put the phone in Fastboot mode (being it powered off, press power and vol- at the same time for a few seconds until the Fastboot logo appears) Note: to exit this mode, just press power for a few seconds
9. Now connect the phone to the computer with the usb cable (adaptors may give problems) and press on Refresh in the MiFlash tool in order for the phone to appear in it
10. Press on Flash, wait for the green bar to finish (could last minutes, just wait, if error is shown, post it here, if more than 1 hour and nothing changes, maybe is the computer, maybe is the cable, maybe is your bad luck). Done this part of the guide
Credits for this section of the guide
SECTION 3: Flashing guide (part 2/2: Flashing at last!)
1. (Downloading) Enter the Drive folder posted above and download the TWRP zip, the ROM of your desire (see below for reading more of every ROM), the google apps (MIUI already comes with preinstalled google apps, not needed in that case; also, you can download the google apps at opengapps.org and picking ARM64 and 6.0 android (or the version that the ROM you are choosing is, probably 6.0), and picking pico or nano is enough, comparison table here https://github.com/opengapps/opengapps/wiki/Package-Comparison ) and the supersu (only if you want root, anyway you can flash supersu at anytime without needing to wipe or anything, is easy). If you didn't do the part 1/2 and you need the Windows drivers, you can download it from the Drivers Windows folder, install it and reboot the computer.
1.1 (Uncompressing) Unzip the TWRP file in a sort path from the root folder, like for example in C:\TWRP (at the end of the guide you can delete this). You should see a file called recovery.bat (if you can't see extensions, google for enable it), it is for the step 3.
1.2 (Testing MTP) We will need to use MTP while we are in the recovery mode, so first let's test it in Android. While the phone is fully booted in Android and in the launcher screen (if starting for the first time, skip all the tutorial with whatever info), plug the phone to the computer, and in the phone swipe down the notifications bar, you should see a notification saying something of MTP or wired connection, activate MTP. Now in the computer, open My Computer and you should see Mi4C there, open it and try to navigate and create a folder, if all is ok, it works. If you are not able to create a folder o transfer any file from your computer, do not continue until this is fixed.
2. (Fastboot) First, keep the TWRP folder open and the recovery.bat file visible. Unplug the phone and put it in Fastboot mode (power it off, then Power and Vol- for a few seconds)
3. (Recovery flashing) Just execute the recovery.bat file (double click) and press a key if it asks for it (there should appear a green window with text). Done, recovery flashed (read text to see if everything is done). Now with TWRP installed, you won't need anymore (you shouldn't) the computer for using fastboot, now only for transfering the ROM files to the phone to use it from the TWRP.
4. (Wiping) Now let's boot into Recovery mode (TWRP in this case), two ways for it: you can Power and Vol+ while it is powered off, or you can boot Android, go into Settings, About phone, updates and in the 3 dot menu, there is a button for booting into recovery.
Note about the first TWRP start, it should appear this screenshot
Just press on never show again and swipe. Now, in TWRP, enter Wipe, select all partitions and wipe them all, it should appear an error about usb otg, doesn't matter, wipe is done correctly. Now you need to reboot into Recovery mode again, needed when wiping partitions another than cache or dalvik cache (if you don't reboot now, it won't let you flash), so press the mid button in the navigation bar to go to the main menu, and enter in Reboot > reboot recovery. If a message of "no OS installed" or "install supersu" appears, say no or ignore
5. (Flash!) Now, with the phone plugged, MTP should be working, so now you have to transfer the ROM, gapps and supersu files (gapps=google apps; gapps and supersu if needed as i explained in step 1). Now in the phone, press install, select the ROM, then add zip, select the gapps, add zip, supersu, and then swipe, a minute later there should appear a reboot system (android) button and the wipe cache button, first press wipe cache button, do it, and then reboot system.
Congratulations, now you can consider yourself a h4k3r, next step hacking into NSA maybe or something? Wait for the guide
From now on, flashing will usually consist in downloading the rom file from the phone (or from the computer and then transfer to the phone) and with the same gapps and supersu files downloaded above, you can flash, and then wipe cache. This is a dirty flash, only do it if updating a ROM, if going o another type of rom you must clean flash, which is done by first wiping all partitions as done in step 4 (note: all personal data would be lost, backup with titanium backup for example, and transfer all files to computer)
SECTION 4: Summary of ROMs available to our phone
MIUI: the ROM that comes with the phone, made by Xiaomi, full of features, loved by ones, hated by others
-MIUI chinese: the original official Xiaomi one, only in english and chinese languages, and comes with preinstalled chinese apps. Two variations: stable (released like once per month) and weekly
-MIUI .eu: modified version of the chinese, removed preinstalled chinese apps, a lot of languages included. Also comes in stable and weekly versions.
CyanogenMod: is a proyect which purpose is to make the full ROM open sourcered, and include more features than the official Google Android ROM doesn't include.
-CM from Kumajaya: most popular edition for our phone, this guy is doing a very good job with the kernel, making the ROM very stable and battery efficient.
-CM from Team Superluminal (TSL): they were the first to bring us CM, is not open sourcered (or at least is not their main job, as opposed to kuma) but is pretty stable, more recommended for noobies, kuma is more for staying up to date frequently
Resurrection Remix: a ROM that brings together a lot of different ROMs, unifying a lot of features. In Mi4C is a bit unstable for now, but is a matter of time.
Moke
SLIM
And I add here a link for a nice unlocking bootloader guide http://forum.xda-developers.com/mi-4c/general/guide-unlocking-mi4c-bl-verification-t3336779
Click to expand...
Click to collapse
Hello Akrai,
First of all, I wanna thank you all your effort and dedication in helping us to fiddle with our smartphones. Thanks to people like you, the rest of us can enjoy greater funcionality and custome options.
On the other hand, I've got a doubt that I'd love you could shed light on. You'll see: not long ago I acquire a Xiaomi Mi4c device & my intention is being able to have added features of development in case I'd feel like trying things. However, I currently just want to have available tools as the recovery flashed and root access without getting to change to an EU version ROM, I mean, keeping the official developer ROM that it's already installed.
So, here my question: can I install the recovery without needing to change at ROM.eu and, therefore, avoiding to reinstall the Oficial developer one again? If I want to keep the aforementioned ROM, is that one which I've got to insert on the root folder of the phone?
Lastly, in the official ROM you can be root through the Security App/permissions. So, ¿Do I need equally to get SuperSU? Because It's not necessary to obtain root by other way running the official developer, right? I unlocked the bootloader and enabled root access already, certainly.
Thank you so much beforehand. I hope that I expressed myself clearly enough and so you can help me.
Greetings!
Lucas ^^.
Thanks a lot!!
Thanks a lot!! This is the first time I am using your post to clean-up a Xiaomi Mi4C of chinese bloatware, unlock and install a custom ROM from your particular google drive links... Am going to bookmark this for further use!!
Thanks a lot, very informative and descriptive...:good:
Can this method still relevant today on MIUI 9.2.2.0?
Hey, I have my Mi4C on MIUI 9.2.2.0 stable china. Can this method work for my phone now?
I have problem with mi flash unlock.
Long ago when I purchased this phone, it used a “reseller” ROM and this method worked just fine.
Anyone?
Sorry wrong thread. I should post in unlocking guide
What's currently included in this thread :-
TWRP (With/without magisk)
Installing EdXposed
Root with magisk (not recommended due to bootloops, use twrp with magisk)
RMM state Prenormal solution
Stock and combination firmware and Kernal source Gdrive links
Tools for flashing and downloading latest firmware
Post 2
Hide bootloader unlocked warning message
DeGoogle & debloat M30s and install MicroG
Enable Haptic feedback on m30s (or any other samsung phone)
BACKUP YOUR EFS PARTITION BEFORE DOING ANYTHINGIf EFSpartition is corrupted or lost, you would not be able to get calls and wifi and your IMEI will be permanently lost.
There is currently no way of restoring corrupted EFS partition since it is device specific, so flashing stock firmware will also be useless
Here is one guide. follow this or any other that works for you.
Here is another (droid view.com/restore-efs-imei-galaxy-s7/)
OR You can Backup all partitions using twrp (nandroid backup) and store in someplace safe (make sure to tick all partitions including EFS)
This is an excellent guide regarding EFS (thanks to @PlayingPoise). I HIGHLY RECOMMEND READING IT BEFORE PROCEEDING.
TWRP (With/without magisk) (huge thanks to @santhoosh)
Thread
there are two .tar files, flash the one you need
Pro Tip: I would recommend Smalipatcher module to reboot directly into magisk system.
Installing EdXposed
See This for installation video OR This Or This for installation guide.
This, for official website
And This for github!
NOTE: v0.4.6.0_beta from github requires custom magisk otherwise the system wont boot since github hosts alpha versions, so i advice to follow the video tutorial since it has installed the most stable EdXposed
Rooting with Magisk (Currently causing random bootloops since custom Kernal is req., i recommend flashing twrp with magisk)
From magisk official repo and This Link, Both are same, but i just wanted to make AIO thread)
thanks to @santhoosh and @topjohnwu
Unlocking Bootloader
Normally I wouldn’t provide instructions for this, but since things had changed drastically from previous Samsung devices, and there are some caveats, I figure this would be helpful.
* Allow bootloader unlocking in Developer options → OEM unlocking
* Reboot your device to download mode. Either use adb reboot download, or use turn off m30s, press vol+ and vol- simultaneously (while powered off) and connect to pc.
* Long press volume up to unlock the bootloader. This will wipe your data and automatically reboot.
Just when you think the bootloader is unlocked, it is actually not! Samsung introduced VaultKeeper, meaning the bootloader will reject any unofficial partitions before VaultKeeper explicitly allows it.
* Go through the initial setup. Skip through all the steps since data will be wiped again later when we are installing Magisk. Connect the device to internet in the setup!
* Enable developer options, and confirm that the OEM unlocking option exists and grayed out! The VaultKeeper service will unleash the bootloader after it confirms that the user has the OEM unlocking option enabled.
* if there is no OEM unlock option, set phone's date to 7+ days and back and now see.
* Your bootloader now accepts unofficial images in download mode.
Instructions
* Download the firmware for your device.
* Unzip the firmware and copy the AP tar file to your device. It is normally named as AP_[device_model_sw_ver].tar.md5
* Install the latest Magisk Manager
* In Magisk Manager: Install → Install → Select and Patch a File and select the AP tar file.
* Magisk Manager will patch the whole firmware file and store the output to [Internal Storage]/Download/magisk_patched.tar
* Copy the patched file to your PC with adb pull /sdcard/Download/magisk_patched.tar. Do not use MTP as it is reported to corrupt files.
* Reboot to download mode, and flash magisk_patched.tar as AP in Odin, together with the BL, CP and HOME_CSC files. Never flash only an AP file, as Odin can shrink your /data file-system if you do.
Important: Uncheck “Auto Reboot” in Options!
* Magisk is now successfully flashed to your device! But there are still several steps before you can properly use the device.
* We now want to boot into the stock recovery to factory reset our device.
* Full data wipe is mandatory! Do not skip this step.
* Press Power + Volume Down to exit download mode. As soon as the screen turns off, immediately press the Vol up and power to boot to recovery . Since we want to boot into stock recovery, continue pressing the volume up button until you see the stock recovery screen.
* Use volume buttons to navigate through the stock recovery menu, and the power button to select an option. Choose Wipe data/factory reset to wipe the data of the device.
* This time, we can finally boot to the system with Magisk. Select Reboot system now, and immediately press the combo key to recovery. After seeing the bootloader warning screen, release all buttons so it can boot to the system.
* The device will automatically reboot for the first time it boots. This is completely normal and done by design.
* After the device is booted up, do the usual initial setup. The following steps will need an internet connection.
* You shall see Magisk Manager in your app drawer; if not, manually install the APK you downloaded in step 3 and continue to the next step. The app would be a stub and it shall automatically upgrade to the full Magisk Manager when you open it.
* Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
Voila! Enjoy Magisk
Additional Info
* Magisk actually patches 3 partitions on your device:
vbmeta: replace with empty vbmeta image to disable partition verification
boot: remove the signature of the image to prevent soft bricks
recovery: this is where Magisk is actually installed
* Never, ever try to restore either of the 3 images mentioned back to stock! You can easily brick your device by doing so, and the only way out is to do full Odin restore following with factory reset. Just don’t do it.
* If you want to upgrade your device, never flash the stock AP tar file with the reasons mentioned above. Always pre-patch the firmware before flashing in Odin.
* If you don’t need to patch the full firmware, you can manually create a tar file with at least vbmeta.img, boot.img, and recovery.img to let Magisk Manager patch your images in the proper way.
Due to the fact that some devices no longer uses ramdisk in boot images, Magisk has no choice but to be installed in the recovery partition. For these devices, you will have to boot to recovery every time if you want Magisk. Since both Magisk and recovery lives in the same partition, what you actually end up getting when you choose to boot to recovery will be determined by how long you press volume up.
1. Powering up normally → System without Magisk
2. Power + Volume Up → Bootloader warning → Release all buttons → System with Magisk
3. Power + Volume Up → Bootloader warning → Keep holding volume up → Actual recovery
I would recommend Smalipatcher module to reboot directly into magisk system.
Updates: For each and every updates, either magisk or system update always patch the firmware with magisk and flash using odin(data will not be wiped if HOME_CSC
used instead of CSC)
RMM state Prenormal solution
Flash stock firmware
Boot up WITH sim inserted, CONNECT to internet during setup (or you can connect after setting up, but perform below operations only when connected to internet).
Enable developer options and go to them.
Now connect to internet and go to dev options, now set date 8 days back and check dev options for OEM unlocking
if it's still not there set date to today and again 8 days back and again check.
This worked for me and OEM unlocking was there and RMM state was changed to checking.
(what we are doing is fooling phone to believe that sim was inserted for more than 7 days)
Stock and combination firmware and Kernal source
Below are Gdrive links for Combination firmware for (M307FXXU1ASH9) and (M307FXXU2ASK2) and ROM M307FXXU1ASHI, M307FXXU2ASL2, M307FXXS2ATB3 (FOR INS ONLY, for other regions, use frija or samfirm).
I have also uploaded Kernal source for M307FXXU2ASL2 on gdrive for faster download.
Tools included
The following tools are also included in the shared folder, they are up to date as of FEB 2020, but i have attached links to original threads of xda to give credits and in case they are updated, you can download them from there. (As i said, this is AIO thread to find tools, none of them are my creation)
Frija, Samfirm continued and Samfirm are Tools for downloading Official firmware from samsung servers with high speed (so no to sammobile and other ****ty premium websites)
Frija thanks to @invmini, Github
SamFirm thanks to @zxz0O0, Github
SamFirm_continued, Github
Odin
Patched Odin by @realbbb
Frija not working ? install both vcredist_x00 for your device !
(check your windows settings to know which version to install)
(Microsoft Visual C++ 2010 Redistributable Package) and (Microsoft Visual C++ 2008 Redistributable Package)
https://www.microsoft.com/en-US/download/details.aspx?id=29 (x86) 2008
https://www.microsoft.com/en-US/download/details.aspx?id=5555 (x86) 2010
https://www.microsoft.com/en-US/download/details.aspx?id=15336 (64bit) 2008
https://www.microsoft.com/en-US/download/details.aspx?id=14632 (64bit) 2010
-Open Frija and type in your model (mine is SM-m307f) and your CSC : (mine is INS).
(All models on samfrew: https://samfrew.com/model/SM-M307F/).
Thanks to @BK
Other Tools
PIT Magic v1.3.10 - Samsung PIT Creator, Editor, Analyzer
Samsung firmware naming convention and explanation (Outdated)
SM-M307F - Galaxy M30s Samfrew
Extract Samsung PIT File from Samsung Firmware -> www.droid views.com/extract-samsung-pit-file-from-firmware (remove space b/w "droid" and "views")
NAND Erase Samsung Devices in Odin -> www.droid views.com/nand-erase-odin-samsung-firmware (remove space b/w "droid" and "views")
Latest Odin Downloader: https://odindownloader.com/category/download
Samsung USB Driver: https://samsungusbdriver.com/category/download
Samsung Firmware: https://firmwarefile.com/category/samsung
LinksLINK (Pm me if link is dead. If there is error like "try after some time", make a copy of file to your drive and then download)
Hide bootloader unlocked warning message
See Here
DeGoogle & debloat M30s and install MicroG
Here
Enable Haptic feedback on m30s (or any other samsung phone) (thanks to ak****)
1- download "Settings database Editor" from playstore.
2- scroll to bottom and find "haptic_feedback_enabled" and change it to 1
Just in case
great, im planning to buy this device and sell my a70, wouldn't have though a little bit of my thread would have been used there also combination files cannot be flashed anymore until a fix is found (nope Z3X Samsung tool don't work )
BK said:
great, im planning to buy this device and sell my a70, wouldn't have though a little bit of my thread would have been used there also combination files cannot be flashed anymore until a fix is found (nope Z3X Samsung tool don't work )
Click to expand...
Click to collapse
Are you talking about the frija and samfirm part?
I think i took it from some other thread which i cant find now. (maybe s10 or note10 ones)
Edit: Gave credits to you
How to flash Combination firmware?
I am trying to flash combination firmware [COMBINATION_FAC_FA90_M307FXXU1ASH9_FAC_CL16672589_QB25543275_REV00] with Odin v3.13.3B Patched but it doesn't work, giving this error on the phone
"Please get the approval to use factory binaries (PIT)"
Anyone know any way to make it work? It would be really nice to be able to downgrade to U1 binaries.
nobody_nowhere said:
I am trying to flash combination firmware [COMBINATION_FAC_FA90_M307FXXU1ASH9_FAC_CL16672589_QB25543275_REV00] with Odin v3.13.3B Patched but it doesn't work, giving this error on the phone
"Please get the approval to use factory binaries (PIT)"
Anyone know any way to make it work? It would be really nice to be able to downgrade to U1 binaries.
Click to expand...
Click to collapse
it's currently impossible to install a test/debugging firmware without a samsung dev account that work as an authorization to flash combination files.
Sm-m307f/ds
Hi i got OTG update and my phone didnt restart after that, i have been trying to find the right Stock firmware for my Samsung M30S SM-m307F/DS but i couldnt find the right one, can you please help me out with the link of the right firmware for my phone.
Thanks
Watch this video broo...you will get to know how to download all latest updated frimware