Hello,
All the credits go to the member "avecilla" from the spanish forum "Móviles dualsim", I just bring his method to XDA and translate it. This is the original thread:
TWRP and ROOT for Lenovo A1010a20
Unlock bootloader
First of all is to unlock the bootloader. You must have enabled in Developer options USB Debuging and to let unlock the OEM (I asume you have the MTK drivers installed)
With the phone on and connected to PC, execute the file auto.bat inside Unlock bootloader folder. MAKE A BACKUP OF ALL YOUR DATA, during the proocess the phone will be restored to fabric. I AM NOT RESPONSIBLE OF ANY LOST
The phone will restart in fastboot, unlock the bootloader and restart LOOSING ALL YOUR DATA
Install TWRP
With the phone on and connected to PC, execute the file Flash-TWRP.bat inside Autoinstalador_TWRP. After to install TWRP in fast boot, swith off your phone getting out the batery and waiting for at least 2 min. THE FIRST BOOT MUST BE IN TWRP, in other way the phone Will install the stock recovery again.
To restart in TWRP (VOL+) and Power, in the menu with (VOL+) select Recovery and with (VOL-) select it. In TWRP instal SuperSU.zip (search the forum), clear dalvik/cache and restart.
I got it at the first intent without any problem or brick, but it is your responsibility.
You can get the file in the original thread - "Lenovo.zip" and SuperSU in XDA
I Need Custom ROMs For This Phone
Related
I have a Koodo LG P500H. I am having a very hard time installing TWRP.
Firstly Play store doesn't work. It has this old thing called "Market" that has some apps, but not all. Market eventually gets updated to Playstore, but I can't even find TWRP manager. There was another app in the Playstore that I tried called ROM Manager. It said it installed TWRP for me. I restarted the phone, and nothing happened.
Restarting and Holding power/volume down/home will show a picture that seems to be some sort of recovery mode. But it only run for 1-2 seconds before the phone restarts itself. Nothing happens.
I tried to use ADB. But after rebooting the device it just restarted without ever going into recovery mode. So the flash command just get stuck at "Waiting for Device." Does this phone even have a recovery mode?
This phone doesn't support Odin.
I am used to using TWRP. Without it I cannot flash the phone into new OS.
And every single time I fail, the whole phone seems to have reformatted. So I have to enter in my wifi password and gmail again. All of that typing on a very small keyboard takes a lot of time. I had spent hours on this phone without getting TWRP working.
Please help.
going to twrp web site here
downloading the recovery
reboot to fastboot ( bootloader ) than using terminal whit adb driver :
fastboot flash recover '' recovery.img ''
Gw4nM4n said:
going to twrp web site here
downloading the recovery
reboot to fastboot ( bootloader ) than using terminal whit adb driver :
fastboot flash recover '' recovery.img ''
Click to expand...
Click to collapse
The problem is when I reboot into fastboot (adb reboot bootloader), the phone will go into "phone off battery charging mode". It never actually goes into the bootloader.
Ok I did the following and it seems fastboot and TWRP works now. Be sure to enable USB Debugging on your P500.
1) Fastboot tutorial (I did everything here. I hit "ok" on the LGMDP 1.5 tool as needed. Do not wait till the countdown timer goes to zero.)
http://forum.xda-developers.com/showpost.php?p=15122833&postcount=100)?
FastBoot Tutorial
1. Please download this (or from here) file and unzip it in to any folder.
2. Start LGMDP 1.5 tool with the phone connected (you need to have USB drivers installed) and click on Select Port
3. A separate window should appear like the one below
Just click connect
4. Another window will take shape (LGE Mobile security) with lots of options (links)
Click on the first upper right Browse and select the folder in with you have unzipped the files. You will get some errors that some image, table or headers are missing. Just click OK and in the end everything that should remain selected is Partition Table, APPSBL Image Header and APPSBL Image.
Now just close the window (click on x)
5. Now you are back on the main window and here you'll have to click on Download
6. You are almost done and from now on everything should go on automatically.
NV Backup
Autorestart in Emergency\Download mode and upgrade the files (you selected on step 4)
NV Restore (the last step) Do not disconnect the USB cable until the restore is done
Wait for the phone to restart in normal mode (your current rom).
That should be everything you need to do to get fastboot enabled.
Click to expand...
Click to collapse
2) Install PdaNet+ (This was the only thing I did in this tutorial. It fixed the usb driver and the fastboot can then communicate with my PC.)
http://forum.xda-developers.com/showthread.php?t=1350733
http://pdanet.co/a/
(Note: On top of Partition Table, APPSBL Image Header and APPSBL Image in step 4, I also selected the TWRP image file as my RECOVERY image. Not sure if this make a difference. )
(Note 2: I think you can also get the LG drivers here.)
3) Restart, hold down power + home to boot to the fastboot. Or in ADB type adb reboot bootloader.
4) Open ADB (while phone is still in fastboot mode) and type fastboot flash recovery twrp.img (after downloading the TWRP image, renaming it and moving it to my ADB root folder. I am using TWRP 2.8.0.1 here.)
5) Type fastboot reboot
6) After the phone restarts, type adb reboot recovery. TWRP runs for me. Power+Home+Volume Down (3 button combo) also works now. (Previously this would reset the phone.)
Hey Man, im glad it worked. I could use your help.
I bricked my phone and need the restore file, Do you think you could make a backup from TWRP and upload it?
I would be super grateful.
Thank you.
Here is a zip with CM11, twrp 3.0.2.0 and Gapps for CM11.
Its the best rom I found.
https://www.dropbox.com/s/qt7z1cxq92nhpz5/LgP500CM11V4.4.4.zip?dl=0
Hi. What is your "brick" like? Does your TWRP still run? If yes you can just copy a custom OS into your Microsd card and install it from your Microsd.
You can also use ADB push to move files from your PC to the phone.
http://www.androidauthority.com/android-customization-transfer-files-adb-push-adb-pull-601015/
Sent from my MT2L03 using XDA-Developers mobile app
If you TWRP doesn't run, you need to install that first. Do steps 3 and 4 in the above post to boot into bootloader and install TWRP.
3) Restart, hold down power + home to boot to the fastboot. Or in ADB type adb reboot bootloader.
4) Open ADB (while phone is still in fastboot mode) and type fastboot flash recovery twrp.img (after downloading the TWRP image, renaming it and moving it to my ADB root folder. I am using TWRP 2.8.0.1 here.)
There are a lot of other threads in XDA telling you how to unlock your beloved LG G4 bootloader. But then i felt it was too hard for new people to do it.
So this guide makes it EASIER for you !!!!
WARNING
I WON'T TAKE THE RESPONSIBILITY IF YOU END UP BRICKING YOUR DEVICE.
UNLOCKING BOOTLOADER WILL FACTORY RESET YOUR PHONE. SO BACKUP ALL DATA.
Now in your Stock Lg G4 settings, go to about phone and software and then tap on build number until you become a developer.
Now a new option will appear "DEVELOPER OPTIONS" in settings.
Go inside it and turn on usb debugging and also enable OEM unlock in it.
Now we need a pc for unlocking bootloader.
Also we need a set of adb drivers which you can search google and get the 15 sec adb installer.
After getting them all, you are set to unlock your bootloader.
Connect your phone to your PC and enable USB debugging (WORKS ONLY IN MTP MODE)
Then open CMD or PowerShellWindow and type the follow commands into it
Code:
adb reboot bootloader
When you enter Bootloader, you can see some commands on the top left of your phone.
Run them in your CMD
These commands will unlock your bootloader..
Restart your device and you will see that your bootloader would be unlocked and everything would be erased.
Now for rooting the phone,we need TWRP.
Now again go to CMD and type
Code:
adb reboot bootloader
Get the twrp.img for the lg g4 (H811/H815) from twrp.me
Now in your PC, place the Twrp.img where you have installed the adb fastboot drivers.
Open a cmd in that folder containing adb drivers..
Now type
Code:
fastboot boot twrp.img
Now twrp.img is the name of your file..You can rename it to recovery.img or G4.img
Now this will boot your phone to recovery.
THIS DOES NOT REPLACE YOUR OLD RECOVERY.
Once you are in TWRP,
Allow modifications for the first time and then go to Install... Get the Supersu.zip from the official website (Google Knows)
Put the zip in the root of your sd card where you can find it easily.
Go to install and install the zip.
Congrats... You have rooted your phone
If you want to flash twrp permanently, just keep the g4 into the root of your sd card
Now run the command again that i gave for booting your phone into twrp from bootloader.
It will boot again into twrp and now go to install and select INSTALL IMAGE.
Now select the G4.img or whatever .img file you have for your recovery(FOR LG G4)
Now install it to the recovery partition..
THATS IT
You got your phone rooted... Also you got a custom recovery.
This method has been tested on my LG G4 H811 and it is working awesome till now..
CLICK THE THANKS BUTTON IF I HELPED YOU
10000000000 thanks man
but what 2 do if the mob keep rebooting....and keep on lg logo
I need assistance rooting my F3111, seems like everything is extremely vague on this forum. So I'm trying to follow both this guide https://forum.xda-developers.com/xperia-xa/how-to/f3111-f3113-f3115-root-sony-xperia-xa-t3867870 and the noob guide for nougat, both of these are not really helpful to me since there seems to be some really crucial omissions here.
My problem is that I seem to have installed all the necessary drivers, my device is detected when I do fastboot in blu on Flashtool, but that's about as far as I go because my Xperia XA (F3111) device is not shown in the list of devices. Could anyone please help me out here?
Ok, its not so difficult, if you have a basic understandig and divide the mission clearly in the necessary steps
1. I assume you have your bootloader unlocked and have backuped your data!
if not, do a backup and search the sony site how to unlock the bootloader - they have a very easy tutorial.
2. What you need:
forget flashtool!
download and install platform-tools on your PC, if not already done.
download TWRP recovery for Xperia XA and boot.img and copy the .img-files to the platform-tools folder
download Magisk.zip (or SuperSU.zip) and DRM-fix and copy it on a external SDcard on your phone.
3. Installing recovery
open cmd, navigate to platform-tools, connect phone to USB
enter adb devices, you will see some device number, if not check your drivers!
enter adb reboot bootloader your phone will now boot into bootloader mode
enter fastboot flash recovery twrp-recovery.img (or the corresponding filename)
if successful, don't reboot into system!! enter fastboot reboot recovery
or power off and hold power+vol-down to boot into TWRP recovery
4. Installing Magisk
In TWRP, (cancel any password questions), go to Wipe and format,
then go to install, change to external SD and flash boot.img and magisk.zip (or supersu.zip),
reboot, skip google and myxperia logins!
5. DRM
Power off, hold power + vol-down and install drmrestore.zip (same procedure like 4 but without wipe!)
DRM Keys with Andoid 7
Hello,
I am having difficulties while trying to backup DRM keys - TA backup with the DirtyCow Exploit (backupTA_v2).
As far as I understand the tool could not work win Nougat (7) and the only approach is to roll-back to an older version of Android for example MarshMallow. The only way to do that is to have an unlocked bootloader and if you unlock it there is no way to create such backup to use in future.
Could you please let me know if there is a chance to backup those DRM Keys with Nougat ,so I can safely unlock my bootloader?
Every help is appreciated.Thanks in advance.
i cant seem to make the phone go into flashboot mode the led turn blue but nothing show up on the screen
i enabled adb and oem unlocking
Hello there,
this is my first thread so maybe I can make some mistakes.
I tried to install Lineage in my Mi A1, with their wiki guide. Then the device bootlooped, I tried with a lot of guides, tutorials, I used Cosmic Dan's TWRP for formating partitions, installed vendor images...
But the phone was ****ed up... I tried to install a fastboot ROM but the phone didnt have signal, or it was stucked in the SIM password...
If someone is facing some similar problem, I would like to help you. Like I said before, I tried with a lot of methods, a lot of different recoveries, I tried https://forum.xda-developers.com/mi-a1/development/twrp-stock-8-1-0-t3856328 this one too, all tipes of fastboot or TWRP stock ROMs... but no clue of how solving it.
So THIS is the only way(for me at least) for solving it. It is in Indian, but you can follow his steps if you flashed any ROM before, is quite easy.
1. - You need your phone to be unlocked, if you dont have it, just use the command "fastboot oem unlock" while you are in fastboot mode. There are plenty of guides for this.
2- You have to run MiFlash. If you dont have it HERE you have the version that I used.
3. Download and extract THIS Rom. Then copy the link to MiFlash like he does in the video, or browse for the folder.
4. Plug your phone in Fastboot mode, and click reflresh, till you see a device in the MiFlash tool. Check that you have the "clean all" option in the bottom of the app. DONT CHOOSE THE LOCK ONE.
After this your phone still wont work, dont worry, just press Vol Down+Power again till' the phone enters fastboot again.
5. Download TWRP and boot the phone with the recovery using the command "bootloader boot twrp-3.2.3-1-tissot.img.html" in the adb folder(same steps that the other TWRP versions with temporal boot)
6. Download this Backup and copy the folder inside the 7z to the device(not to the sd) and replace the TWRP folder.
7. Use the restore option in TWRP for restoring the backup, and the go to Reboot -> Bootloader and you will be in Fastbood mode again.
8. REPEAT the "4" step, but THIS TIME use the FLASH ALL AND LOCK option.
I hope it works!
Ps. Im from Spain, so it could be some grammatical mistakes xd
Hi all! Now we can root our Sunny 2 phones!
I'd make a TWRP port for this device (adb enabled) so we can just sideload the Magisk installer.
History:
After some time having a Wiko Sunny 2 phone, I'd search a lot and didn't find any method for rooting this little thing.
Then I had the idea to mod the stock recovery to allow test keys and then flash anything, tried to do that and didn't work.
Another idea came to my mind: port TWRP from another phone with same chipset. Started my search for a SPD7731c device with working TWRP and after some time found some guy who made a TWRP port for his "Selecline S6S4IN3G" device and as it had the same chipset it worked. Just gathered the recovery.img from the stock rom (thanks Wiko for giving it on they web page) and unpacked it with carliv image kitchen, replaced the stock ramdisk with TWRP's one and just modded some things inside it (default.prop and the init.rc files). As the vold.fstab is the same, didn't need to modify it.
After some testing, the only problem remaining is that the touch doesn't work well (it receives touch input all the time, even if not touched) but it's enough to get our Sunny2's rooted via ADB and magisk's zip.
REQUIREMENTS:
A PC (or another phone with OTG support, if you use a phone then you'll also need an adb binary compiled for ARM)
ADB, Fastboot and drivers: https://drive.google.com/open?id=1N38jqQqX87dEKsBIgDb_9MC-k43YUi85
TWRP image: https://drive.google.com/open?id=1DZhL6RckvzQyxGCq2Yy64Cqnpnnm1Ofp
Stock recovery image (in case something goes wrong you can revert to this): https://drive.google.com/open?id=1spaFc1sqqjFdwzt9cYDfSO_KVh1aYuh5
Magisk ZIP (can be latest or this zip): https://drive.google.com/open?id=1-OPU1JycSr8nVyAGfdkhdajn8Uap_0dl
ROOT PROCESS:
1. While on Android, go to Settings>About this device and toch 7 times Build number (this will enable Developer Options)
2. Now go back to Settings and then Developer options>Enable OEM unlock and USB debugging.
3. Connect the device to the PC and install the correct driver (for doing this just open Device Manager and force the install of Android Composite ADB Interface on your unrecognized device (should be called SUNNY2)).
4. Open a CMD/Terminal and type this:
Code:
adb reboot-bootloader
5. Now type
Code:
fastboot flash recovery path/to/twrp-suny2.img
and after that just
Code:
fastboot reboot
.
6. Now the phone will start, just type in CMD/Terminal
Code:
adb reboot recovery
and you will boot into TWRP.
7. Okay, this TWRP has a buggy touch so just use ADB to install the magisk zip:
Code:
adb shell twrp sideload
, then
Code:
adb sideload path/to/magisk.zip
and finally
Code:
adb reboot
.
8. Nice, now Magisk should be installed. Now with root access, happy modding!
Some things to note:
1) In this guide I did everything via ADB, never booted to recovery or fastboot using button combinations. Why? Simple, on my device I didn't find the correct combinations.
2) You can use TWRP also for factory resetting or installing anything, but via ADB only (as the touch doesn't work properly).
3) If you need any help with this device just PM me!
I hope this guide will be useful for anyone.
CREDITS:
This guy for his work on porting TWRP to his device
Magisk team for his work on making root as simple as flashing a ZIP!
AndroidMTK website for hosting the ADB installer which
I just mirrored!
Stuck in boot loop
Hi ! Thanks for the HowTo !
But...
I followed the exact same procedure (except I had to fastboot oem unlock before flashing the twrp image, in addition to unlocking it in dev mode).
After flashing, the device was stuck in a boot loop : "orange state your device has been unlocked and can't be trusted / your device will boot in 5 seconds". Tried all manners of key combos to reboot in recovery (Vol Up + power is supposed to be the right combo) but to no avail.
Fortunately Wiko provides an "upgrade" tool that allows you to factory reset the device (support dot wikomobile dot com /maj/Sunny2Plus_V24.zip, window$ only) but no luck installing twrp.
Any idea why ? Thanks in advance
tofleplof said:
Hi ! Thanks for the HowTo !
But...
I followed the exact same procedure (except I had to fastboot oem unlock before flashing the twrp image, in addition to unlocking it in dev mode).
After flashing, the device was stuck in a boot loop : "orange state your device has been unlocked and can't be trusted / your device will boot in 5 seconds". Tried all manners of key combos to reboot in recovery (Vol Up + power is supposed to be the right combo) but to no avail.
Fortunately Wiko provides an "upgrade" tool that allows you to factory reset the device (support dot wikomobile dot com /maj/Sunny2Plus_V24.zip, window$ only) but no luck installing twrp.
Any idea why ? Thanks in advance
Click to expand...
Click to collapse
Hmm this device is pretty strange, his key combinations never worked for me (because of that I'd need to reboot into system a few times, instead of booting to fastboot with keys).
You can try this:
After flashing stock rom and allowing oem unlock on settings, reboot directly to fastboot. Then use "fastboot boot recovery.img" and tell me what it says. If it says something about bad boot image, it's normal (that happens in my device even if try to load stock boot.img).
Also there's a tool called SPD Research Download Tool, which let's you flash the phone partitions one by one (manually selectable) from the path you want, while phone is in download mode (volume down and connect USB to PC). However, I don't know if that tool's license allows it's free redistribution, so I recommend research for it before downloading anything.
You can get the stock files by running the wiko upgrade tool, going to the folder it extracted his files and then looking for a file called rom.pac (then unpack it, there are guides here on XDA for doing so). You can even edit the boot splash image lol
Sorry for wasting your time
I'm so stupid ! It turns out my device is a different model, the Sunny 2 Plus.
Sorry, and thanks again
Does anyone know if a custom rom exists for the Wiko Sunny 2?
Klab98 said:
Does anyone know if a custom rom exists for the Wiko Sunny 2?
Click to expand...
Click to collapse
Nope, sold the device some days after writing this post so didn't even bother to port anything.
BTW it's a 4-core phone with 512MB RAM, so what would you expect to run there? I thing nothing higher than MM (KK would be nice if it was not so outdated nowadays)
Hi, i have got a problem with my wiko sunny 2 plus.
i flashed twrp via fastboot, it succeed. but after reboot the phone didnt start,
only shows orange state, didn´t connect to pc anymore with same cable. i mean i can hear the win7 sound of connecting device and right after connect sound appear then disconnect sound follows right after. so i cant detect the device with adb anymore. what to do, any idea? P.S. sp flashtool also cant detect device. greets
merci beaucoup j espere sa marche