[Android Q&A, Help & Troubleshooting] ivelischt:
About TWRP and other stuff...

PART 3 OF THE GUIDE, START WITH PART 1!!!

3. Flashing the new Image to the Device

AT THIS POINT YOU SHOULD HAVE ALL YOUR DATA BACKUPED AND MAKE REALLY SURE FOR A LAST TIME, THAT YOU ACCEPT TO VOID YOUR WARRANTY AND TAKE ABSOLUTELY EVERY RISK TO YOURSELF FOR ANY CONSEQUENCES THAT COULD ARISE OF WHAT HAPPENS WITH YOUR DEVICE AT ANY TIME AFTER FOLLOWING THIS GUIDE.

The flashing process is simple. Enable Debug mode in your Phones Settings (Enable Developer Mode by taping the Build-Number several times Google: "Android Enable Developer Mode" - i really hope you know that after coming so far through this guide!!!.

When Developer Mode is activated, Go to Settings->Development Menu and activate the USB Debug Slider.

You must unlock the bootloader, at this point you must have generic adb or wiko specific adb installed, you can download it from here or get more information in section 0. "Before starting". The installation process is straightforward, possibly a restart of your

host

machine is required to get it running.

After installing ADB, you open the command line of your

host

machine and switch to your

host

machine workfolder by entering

cd <yourworkfolderpath>

and executing with ENTER.

use

dir

to make sure, that you are indeed in your workfolder.

when your phone is in usb debug mode, you can then reboot it into bootloader by entering

adb reboot bootloader

into your

host

machine command line.

NOW THE DANGEROUS PART BEGINS, SO BE AWARE!!! WHEN UNLOCKING THE BOOTLOADER, YOUR LENNY5 WILL COMPLETELY WIPE ALL OF YOUR DATA AND RESET TO FACTORY SETUP!!!

by using the following commands in your command line you will unlock your bootloader, wipe your data and cache partitions including ALL PERSONAL DATA and flash your newly created ROM to the device.

fastboot flashing unlock
fastboot oem unlock

unlocks the boot loader.

reenabling the debug mode (because of the factory reset) and/or rebooting the device may be required to reconnect to adb.

after that and making sure that you want to take the risk of flashing your new image, enter

fastboot flash system <yourhostworkfolderpath>\system_new.img
fastboot -w
fastboot reboot

the first command flashes your new image file, the second wipes your data and cache additionally, to make sure theres no residues there, which could mess with the first startup. after that we reboot the phone with the third command. after some loading, and a warning about the bootloader beeing unlocked, you should be greeted by AOSP's standard launcher with superuser, fdroid and busybox preinstalled.

4. Final words

After all it prove to be a quite long process, if you don't have any kitchen presetup. If the kitchen is ready, it's a thing of downloading, modifying and reflashing the device. but be careful. there's always a risk of bricking your device.

I will try to keep this guide up and running but memorize my Thread starting words.

If you think my

RED BLOCKS

are excessive - i'm sorry, but i care for your LENNY, too. :)

If you read this and are able to comply with all the steps in the guide, you are ready to flash your phone!

It's a wall of text, and i don't know if it's straight forward for all users, but it's the only way i could come up with, to root the LENNY5 phone, so it's worth it all the while, right?

I hope it helps some of you to get their Phones Unlocked and Unleashed.

Best regards

ivelischt

---------- Post added at 09:39 PM ---------- Previous post was at 09:37 PM ----------

if you find errors and mistakes in the guide, you are welcome to notice me and all the others by leaving a post in this thread.