[rom] aosp 5.1.1 ale-l21 - P8lite Original Android Development

Alright, I don't really want to do this, since the rom is not finished yet but I need help and I thought that releasing it would attract developers, so here it is, the first rom for our P8 Lite (ALE-L21)
Current Status: Developer Preview
The rom is at an early development stage, since I don't have enough time to figure out how to make RIL work.
Just flash the rom if you know what you are doing, it isn't stable or functional, it's just a preview, and a waste of time if you don't know how to do things properly.
What works:
Audio
Camera
Wifi
Most apps
Some other things
What DOESN'T work:
NFC
Bluetooth (It used to work, however it's not my priority)
RIL (3G , 2G, GPRS...)
GPS (I haven't tested it but I guess it isn't working)
Playing some kind of media files
How to install it:
Wipe data/cache (factory reset) after installation
Flash boot and system.img via fastboot.
Download
Remember to backup everything before flashing, I am not responsible of Data loss, phone bricking, or whatever.
Device Source: https://github.com/XePeleato/android_device_huawei_p8lite_alel21
Kernel source: https://github.com/XePeleato/android_ALE-L21_kernel
We need some help over there, so if you want to help and are skilled in Java, drop a message.
I also want to thank everyone who helped me on Github.
I guess that's it, if anyone could move this to the development section it would be really nice.
Have a nice day!

info
any screenshots maybe? im happy that someone is working on rom for this phone

Hello...
This ROM is also compatible with model ALE-L02 and L23?
Thank y!

Hello @XePeleato that compilation must be to install?
Enviado desde mi hi6210sft mediante Tapatalk

Awesome, I've been following your development on GitHub. Very happy with your progress!
Keep it going, as soon as you get RIL working, I'll get it on my phone. Can't stand this EMUI thing.
Either way, thank you for your great work and best of luck!

I do not know exactly how I installed . Can you explain in detail ?

Did you see this HiKey board? (Google for it I still can't post links to external pages :\ ) There is full documentation about Kirin 620 and even a Android port with USB OTG support (of course source is open). May be you try to enable USB OTG?

Install ROM
Xpredator 20 said:
I do not know exactly how I installed . Can you explain in detail ?
Click to expand...
Click to collapse
For install:
1. You must be unlocked bootloader
2. Enable ADB debugging in advanced options (tapping serveral times on about phone > compilation and you'll get that option in settings) and connect the phone to the PC
3. Download android studio SDK and then go to C:\Users\Yourusersname\AppData\Local\Android\sdk\platform-tools
4. Open a cmd terminal (shift + right click)
5. Download the TWRP recovery 3.0 that XePeleato made from his github (sorry I can't post links yet)
6. Now in cmd write: adb reboot bootloader and the adb drivers will be installed in your PC (if not, download ADB Driver Install)
7. Place the recovery.img from the recovery zip to the folder where you opened the terminal (platform-tools)
8. Now write in cmd: fastboot flash recovery recovery.img
9. Write in cmd: fastboot reboot recovery
10. DO A COMPLETE BACKUP (that's important)
11. Now download the ROM and place the system.img and the boot.img of the .zip in the same folder as before.
12. Write in cmd: fastboot flash boot boot.img
13. Write in cmd: fastboot flash system system.img
14. Write in cmd: fastboot reboot recovery
15. Now in recovery select wipe > advanced wipe and select data and cache
16. Install Gapps for 5.1.1 if you want.
That's it, hope it works.

If you share screenshots to see the pre-appearance, I'm totally interested in this project.
Enviado desde mi ALE-L21 mediante Tapatalk

Screenshots
C'mon guys, haven't you already seen AOSP? Well... Here you got the screenshots:
{
"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"
}
Last screenshot is from the 5.0.1 release, but anyway.

I love AOSP, I just needed to see that it was not disguised EMUI
Enviado desde mi ALE-L21 mediante Tapatalk

wilburyh said:
For install:
1. You must be unlocked bootloader
2. Enable ADB debugging in advanced options (tapping serveral times on about phone > compilation and you'll get that option in settings) and connect the phone to the PC
3. Download android studio SDK and then go to C:\Users\Yourusersname\AppData\Local\Android\sdk\platform-tools
4. Open a cmd terminal (shift + right click)
5. Download the TWRP recovery 3.0 that XePeleato made from his github (sorry I can't post links yet)
6. Now in cmd write: adb reboot bootloader and the adb drivers will be installed in your PC (if not, download ADB Driver Install)
7. Place the recovery.img from the recovery zip to the folder where you opened the terminal (platform-tools)
8. Now write in cmd: fastboot flash recovery recovery.img
9. Write in cmd: fastboot reboot recovery
10. DO A COMPLETE BACKUP (that's important)
11. Now download the ROM and place the system.img and the boot.img of the .zip in the same folder as before.
12. Write in cmd: fastboot flash boot boot.img
13. Write in cmd: fastboot flash system system.img
14. Write in cmd: fastboot reboot recovery
15. Now in recovery select wipe > advanced wipe and select data and cache
16. Install Gapps for 5.1.1 if you want.
That's it, hope it works.
Click to expand...
Click to collapse
I installed mine. I wonder if the problem is corrected when the sim card?

This ROM is also compatible with model ALE-L02 and L23?

SkopiX said:
perfect work man but this rom belongs to DEVELOPMENT section, not general
and this is not 1st custom rom, there is already 1 custom rom and 1 flashable via TWRP
still perfect work
Click to expand...
Click to collapse
Since I needed 10 posts to post it there.
Is there any other rom ? I'd love to know what rom is that, maybe RIL is fixed there.

but these 2 roms are modified emui. They aren't based on pure AOSP

Your work it's on facebook, without your name...
Enviado desde mi ALE-L21 mediante Tapatalk

dominj97 said:
but these 2 roms are modified emui. They aren't based on pure AOSP
Click to expand...
Click to collapse
thats true didnt realize diferences, I just saw "rom" not aosp

@XePeleato I guess RIL can be fixed by some dirty hacks on binaries.
I worked before on Xperia devices (CMs, AOSPs, ports) but maybe I can help a bit.

Hi all,
I have this device since saturday and i noticed that there is a sririous lack of aosp roms.
Since i'm not very far with my Java skills i wanted to know if there are peoople willing to join up and develope a custom ROM flashable tru twrp.
Those are my ideas, anybody in ?
Greetings,
Justin.

Its kernel can oc ?

Related

[ToolKit] OnePlus One Easy Toolkit By Scumpi : flash recovery & CM 11s Build & more

[ToolKit] OnePlus One Easy Toolkit By Scumpi : flash recovery & CM 11s Build & more
How to use OnePlus One Easy ToolKit By Scumpi ?
Warning: Note: No one but yourself is responsible for what you do to your device.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Introduction ​
Hello everybody ! I don't have the OnePlus One, so if something goes wrong, please, tell me, I'll try to resolve the potentials issues ! Any suggestion to make this toolkit better or any ideas are welcome !
With this Toolkit, you will be able to unlock your bootloader, install a firmware, or a custom recovery or simply boot in the custom recovery of your choice.​
Requirements ​
A OnePlus One & ADB / fastboot drivers installed on your computer --> see HERE
Enabled USB debugging (On your phone go to Settings > About phone > Tap on Build number 7 times. This will enable Developer options. Now go back to Settings > Developer options > Enable USB debugging)
Download the following file
--> For assigns users a 64 GB OnePlusOne Easy Toolkit By Scumpi - 64 GB Users.zip
MD5 : 3716E77800F0B17365B7A6AF272E91E9
--> For assigns users a 16 GB OnePlusOneEasy Toolkit By Scumpi - 16 GB Users.zip
MD5 : 01091F52C51E2DAD64ACB9C0EF27C1B6​
How to Use / first step ​
Download and extract this folder OnePlusOne Easy Toolkit By Scumpi - xxGB Users.zip (Feel free to rename it as you like if it makes you happy)
{
"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"
}
The first step consist to unlock the bootloader of your OnePlus One
Connect your phone to your PC via the USB cable (must be on)
Open the folder where you extracted the files and double click "Unlock Bootloader"
Confirm with the enter key to start the process and wait until the end of the unlocking process.
Before to flash the firmware, install or boot into a custom recovery (Philz recommended), and make a backup of your actually rom !!
How to Use / others possibilities ​
To perform another operation, do the same by choosing the desired action. Here is the list of others operations you can perform using the Easy OnePlus One ToolKit :
Double click on the desired file in the folder to launch the operation
Unlock Bootloader - Unlock the bootloader of your OnePlus One
Install CM 11s Build XNPH22R - Install the Official firmware CyanogenMod 11S
Install-TWRP 2.7.1.0 - Installs TWRP custom recovery v2.7.1.0
Install-TWRP-2.7.0.0 - Installs TWRP custom recovery v2.7.1.0
Install-Philz-recovery - Install the custom recovery Philz-recovery (Recommended)
Install-CWM - Install the custom recovery CWM
Install-Original-Recovery - Install the recovery Stock
Boot-TWRP 2.7.1.0 - Boot into TWRP custom recovery v2.7.1.0
Boot-TWRP-2.7.0.0 - Boot into TWRP custom recovery v2.7.1.0
Boot-Philz-recovery - Boot into the recovery Philz custom-recovery
Boot-Original-Recovery - Boot into the recovery Stock
Boot-CWM - Boot into the custom recovery CWM
Important before installing a recovery custom :
Go into "Settings" > "Developer options" and disable the "Update recovery with system updates" option.
After that, try the steps for installing a custom recovery again.
You will be able to boot your phone into you new custom recovery using the Vol down and Power buttons.
If you don't do that, when tou will turn off the phone and press Volume down and Power buttons you will enter in recovery stock.
Tips:
To find files faster in the folder, right click with the mouse, then 'Sort by' and select "Type"
Notes
For anyone having device not found problems follow this post. HERE
(Specifically the part under the picture)
You may have to manually install the driver twice like I did, once with the phone in regular mode and once in fastboot mode. It will show a little ! in device manager.
Thanks to @genardas for the tips.
Credits & Thanks
nexgen999
acer73
Dees_Troy
Chromium
French OPO users can go HERE​
Reserved for me
why do you recommend to install philz recovery?
stop leak release and rename it !!
i have build this look that>
http://chinandroidphone.com/oneplus-one-review/
and tutorial here
http://chinandroidphone.com/cyanogenmod11s-install-oneplus-one/
copie paste are so easy
nexgen999 said:
stop leak release and rename it !!
i have build this look that>
http://chinandroidphone.com/oneplus-one-review/
and tutorial here
http://chinandroidphone.com/cyanogenmod11s-install-oneplus-one/
copie paste are so easy
Click to expand...
Click to collapse
It's not copy/paste because It's other and more different possibilities and not the same build into this toolkit...
I give you credit in first post to make you happy but don't say its copy/paste, because it's not true... And please don't quote the first post, its not good for visibility...
Tks
salespalace said:
why do you recommend to install philz recovery?
Click to expand...
Click to collapse
he recommande beaucause i his a leecher he inly look my post and my work !!
cwm and twrp have some backup and restore bug
nexgen999 said:
he recommande beaucause i his a leecher he inly look my post and my work !!
cwm and twrp have some backup and restore bug
Click to expand...
Click to collapse
Tks,
For your pleasure i've added you on credits & thanks :good:
your the best
Sorry I'm not so smart. Where is the phone rooted in the process? Thanks so much for your work!
Nice thanks for developing!
I hope i get my opo fast
stu5797 said:
Sorry I'm not so smart. Where is the phone rooted in the process? Thanks so much for your work!
Click to expand...
Click to collapse
There is not... Too root must install a recovery custom & flash this file http://download.chainfire.eu/420/SuperSU/UPDATE-SuperSU-v1.99.zip
Maybe I will add it at the toolkit if ive time
scumpicule said:
Reserved for me
Click to expand...
Click to collapse
trait-ar familia
ce baiat destept avem aici
Followed all your steps. keep getting device not found in the command prompt window. then it says waiting for device.
shaker2k said:
Followed all your steps. keep getting device not found in the command prompt window. then it says waiting for device.
Click to expand...
Click to collapse
Open a command promp and type adb kill-server & Try again. Or close the adb process
Are you properly install adb & fastboot driver?
Edit :
Hello
Someone to test a batch file for the root ? PM me if you want
Thanks @scumpicule ! Je testerai ca pour changer sur philz peut etre Tu arrive tard j'ai galèré une semaine a rooter mon One etc.. Mdr
@shaker2k
Still the "device not found" ?
@pro castinato
Better late than never Can you try the batch file for the root d'or me please?
Envoyé de mon GT-I9305 en utilisant Tapatalk
scumpicule said:
@shaker2k
Still the "device not found" ?
@pro castinato
Better late than never Can you try the batch file for the root d'or me please?
Envoyé de mon GT-I9305 en utilisant Tapatalk
Click to expand...
Click to collapse
I got it figured out I didn't know I had to manually put it in fast boot mode. Other toolkits I have used do that automatically. You might want to put that in the op.
shaker2k said:
I got it figured out I didn't know I had to manually put it in fast boot mode. Other toolkits I have used do that automatically. You might want to put that in the op.
Click to expand...
Click to collapse
Thanks
I"ll wait for other feedbacks because it works on my computer...
Edit :
And the comands via batch files works properly once you was in fastboot mod ?
scumpicule said:
Thanks
I"ll wait for other feedbacks because it works on my computer...
Edit :
And the comands via batch files works properly once you was in fastboot mod ?
Click to expand...
Click to collapse
Yes. once I manually put the phone in fast boot it worked like a charm.
For anyone having device not found problems follow this post. http://forum.xda-developers.com/showpost.php?p=53420414&postcount=2
(Specifically the part under the picture)
You may have to manually install the driver twice like I did, once with the phone in regular mode and once in fastboot mode. It will show a little ! in device manager.

[Developing] Android N Developer Preview / Images, OTA's & Flashables

The day of the N is upon us!
In typical developer preview tradition since lollipop - I will try and keep this thread up to date with the latest and greatest
Factory Images:
NPC56P
Factory Image Mirror:
https://www.androidfilehost.com/?w=files&flid=51765
To do a dirty flash official factory image files on marshmallow:
- Open flash-all.sh or flash-all.bat in a text editor (depending on which you use)
- Change fastboot -w update image-angler-npc56p.zip to fastboot update image-angler-npc56p.zip
- Run flash-all script
Click to expand...
Click to collapse
Flashables:
Preview 3: http://forum.xda-developers.com/showpost.php?p=66949607&postcount=1423
OTAs:
To sideload OTA via ADB:
On Windows: adb sideload android.zip
On Mac/Linux: ./adb sideload android.zip
Click to expand...
Click to collapse
Google's Preview page: https://developer.android.com/preview/download.html
Google IMG files (manual installation):
Instructions:
A clean install is highly recommended when coming from 5.x.x to "M"
DOES NOT wipe your SD card.
via flashable file:
- Boot into recovery (TWRP/CWM)
- Un-mount /system in TWRP/CWM
- Wipe: system, data, dalvik and cache
- Flash bootloader (optional - only needed if new)
- Flash ROM (be patient - takes a while)
- Flash SuperSU (optional)
- Flash radio (optional - only needed if new)
- Reboot (first boot takes a while)
Click to expand...
Click to collapse
via fastboot (manual installation):
SYSTEM PREP (skip if you already have fastboot/adb setup):
Let's setup ADB and fastboot
Windows:
- Automated: http://forum.xda-developers.com/showthread.php?t=2588979 (follow the steps in the software)
- Manual Method:
Download this file and extract the folder called "adb" to your C: drive. Your path should look like this:
Code:
C:\adb\
You will need to open a command prompt window using this method:
Code:
- Go to the C:\adb\ folder
- hold down SHIFT key and RIGHT-CLICK
- select "Open command window here".
In order to use ADB & Fastboot from anywhere - use the following steps to setup windows environment variables:
Navigate to & click on Start > Right-Click on Computer > click on Advance System Settings >
Click on Environment Variables (under the advanced tab) > Click on New (User Variables) >
Variables Name: ADB (Or anything you want) Variables Value: ;C:\adb (this is the Path of my adb.exe file)
{
"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"
}
Mac & Linux:
Install ADB & fastboot using: this file
1. Extract the downloaded zip to your desktop
2. Open Terminal and type in:
Code:
su
cd Desktop/Android/ (note: Android is the directory extracted from zip file)
3. Now type
Code:
./ADB-Install-Mac.sh
Note: By using the method above, your adb and fastboot files are stored at this location on your Mac: /usr/bin/
----
Now that you're setup, let's do the flashing:
Boot into TWRP to wipe cache, dalvik, data (not internal storage/SD) and system.
Reboot to bootloader and flash the following:
fastboot flash bootloader <insert bootloader img name>
fastboot reboot-bootloader
fastboot flash radio <insert radio img name>
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash boot boot.img // OR // fastboot flash boot <insert name of unecrypt boot.img>
fastboot flash cache cache.img
fastboot reboot
After you finish the above - reboot in to recovery (TWRP/CWM) and factory reset - then reboot
Click to expand...
Click to collapse
-------
FAQ
Disclaimer & Copyrights:
I test everything before I share - thus I know they work as intended. However, please proceed at your own risk as I do not take any liability for your devices.
Please do not copy contents of this guide without explicit permission from me. I like to maintain a set standard and quality of the information I share.
Please refrain from posting mirrors as I like to track downloads - I primarily use AndroidFileHost and they mirror files on multiple servers automatically.
Stay tuned!
that was quick. FIRST
abbz123 said:
that was quick. FIRST
Click to expand...
Click to collapse
as is tradition
Waiting for flashable zip, thanks!
Th3PorTuGa said:
Waiting for flashable zip, thanks!
Click to expand...
Click to collapse
lots of investigation needed first
looks like I'll be flashing this weekend.
btw the first link says "shamu" ?
hmillos said:
looks like I'll be flashing this weekend.
btw the first link says "shamu" ?
Click to expand...
Click to collapse
fixed, it was a typo
@vomer Your link in the OP is for Shamu. It should be Angler.
El Daddy said:
@vomer Your link in the OP is for Shamu. It should be Angler.
Click to expand...
Click to collapse
has been fixed already
If I follow this method, and make a TWRP backup before fastboot flashing everything, is it possible to restore the backup? Also do I loose my photos on the device etc with this method?
Some preview shots showing quick reply & split screen view: http://imgur.com/a/b4O6L
andresantos said:
If I follow this method, and make a TWRP backup before fastboot flashing everything, is it possible to restore the backup? Also do I loose my photos on the device etc with this method?
Click to expand...
Click to collapse
you should be able to restore the full twrp backup - however, do not use the flash all script in this case. Flash the images manually
Wait, is this a preview of N, as in Android 7?
so cool ! Thanks for this
floepie said:
Wait, is this a preview of N, as in Android 7?
Click to expand...
Click to collapse
yes
Btw before anybody ask
New Radio and Bootloader work also with M
vomer said:
you should be able to restore the full twrp backup - however, do not use the flash all script in this case. Flash the images manually
Click to expand...
Click to collapse
Thanks for the info. Which partitions should I backup thenm? Also bootloader and vendor etc? I will prepare for losing everything but most likely I won't be sticking with the version and would save much time if TWRP restore would work accordingly.
Btw, how stable does the preview seem? Does it look like you could possibly use it as a daily driver?
I dirty flashed and it worked so... But hey I know what I'm getting into.
Sent from my Nexus 6P using Tapatalk
Tylog said:
yes
Btw before anybody ask
New Radio and Bootloader work also with M
Click to expand...
Click to collapse
I'd be curious to see if this radio fixes any of the weird LTE/Signal hang issues the 6P has had the past few months..
N Beta Program OTA link: https://android.googleapis.com/pack...aeae3556.signed-signed-angler-ota-2659757.zip
I'm just going to wait for the flashable zip

[GUIDE] Guide to Installing Official Cyanogenmod 13 on your Mi5

Disclaimer
I haven't made or contributed to any of the tools/ROMs/Kernels here. All the respective authors have been linked in the credits section at the bottom of the post. Also, the version of Cyanogenmod used in this thread is a nightly build and can be unstable. User bgcngm has done some really excellent work to make this ROM near perfect. I won't make unnecessary guides. If I find a guide anywhere that's good enough, I'll simply post a link to it rather than make another one. I've tried to make this guide as noob friendly as I can. If you have any questions, just post them and I'll be happy to answer them.
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
Each step of the guide REQUIRES you to have completed the step prior to that one for it to work. For example, you can't go installing TWRP on your device without unlocking the bootloader first.
Prerequisites:
Xiaomi Mi5
TWRP for Mi5 by Cofface
Latest Cyanogenmod 13 Nightly Build
You can follow this guide to see how to install ADB on your system.
OpenGApps. I suggest you download the micro package.
Let's get started:
Unlocking the Bootloader:
The first thing any Mi5 owner NEEDS to do is to unlock their bootloader.Here is a great guide for unlocking the bootloader of the Mi5 (or any Xiaomi device for that matter) by TheUltrametricSpace. It's much better than anything I can make. So before you do anything go here and unlock the bootloader.
Installing TWRP:
When I use the Official TWRP from here, my touchscreen doesn't work. I haven't a found a solution yet. If any of you know how to fix this then please post it down below. If it works out I'll put it up in this guide. For now, we'll use TWRP by Cofface for Mi5. So far this is the only TWRP that seems to work for me.
You're most likely coming from MIUI 8 and thus, running Marshmallow. I'm not sure but there is some sort of encryption that Google has put in so you cannot use TWRP to flash your .zips from Internal Storage. So before you go any further, backup your files/apps or anything you might need.
Go to the platform-tools folder and extract the .rar file that you downloaded earlier containing TWRP there.
Rename the .img file extarcted from the TWRP .rar to twrp.img
Run the CMD shortcut you pasted in the ADB folder from the guide above as an administrator.
Connect you Mi5 to your computer. Hold both the Power and Volume Down button to boot into the bootloader. You should see this image.
[At this point, you MUST have fastboot.exe and twrp.img inside the platform-tools folder.
Now go back to the CMD window you opened. Type in the follwoing:
Code:
adb devices
Press enter. You should see your device in the window after typing this.
Code:
fastboot flash recovery twrp.img
Press enter. On the command window you should see a few lines popup and at the end it will show time taken to complete operation. So far so good.
Code:
adb reboot recovery
Press enter. You should now see the TWRP flash screen.​
If TWRP is in Chinese, worry not.
{
"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"
}
Tap on the second box to select language. Scroll down and select English.​
Swipe to allow modifications.
You should be in TWRP now.
DO NOT BOOT OUT OF TWRP RIGHT NOW.
Installing Cyanogenmod 13:
Of all the ROMs that I have used, I find that CM13 is far better. It's mostly personal preference. If you want to install any other ROM, the process is more or less exactly the same. Follow the instructions below:
Tap on Wipe.
Tap on Advanced Wipe.
Select everything except USB-OTG.
Swipe to Wipe.
Go back to the main TWRP screen.
Tap on Mount.
Tap on Enable MTP.
Connect your phone to your computer via USB.
Copy cm-13.0-20161022-NIGHTLY-gemini.zip and open_gapps-arm64-6.0-micro-20161025.zip from your computer to the Internal Storage folder inside Mi5 in My Computer.
Come back to TWRP.
Tap on Install.
Scroll down and find the cm-13.0-20161022-NIGHTLY-gemini.zip file and tap on it. Installation will start and will take about a minute and a half.
Now come back and flash the open_gapps-arm64-6.0-micro-20161025.zip file. This should be much faster.
Now go back to the Wipe section and select only the Dalvik & cache.
Now press Reboot System.
And that's it. The first boot will take quite some time. You're running Cyanogenmod 13 now!
Optional:
You can also install Falcon Kernel by Harrynowl to get a few more extra features. Install it like you would Cyanogenmod by flashing the .zip.
Credits:
Cyanogenmod 13
bgcngm
Mi5 Developers
Cyanogenmod Developers
TWRP by Cofface
User TheUltrametricSpace for his excellent Bootloader Unlocking Guide.
User iamareebjamal for the awesome ADB Guide.
User Harrynowl for the Falcon Kernel.
you forgot --> Wipe the Dalvik & cache
after installing OpenGApps,...
chiragkrishna said:
you forgot --> Wipe the Dalvik & cache
after installing OpenGApps,...
Click to expand...
Click to collapse
Whoops. My bad. Fixed it. Thanks!
Cant copy zip files from PC in TWRP
So I've wiped the data except USB-OTG but now the zip files for rom and gapps wont copy from my pc. The progress bar is not showing any movement.
]
vgdoc said:
So I've wiped the data except USB-OTG but now the zip files for rom and gapps wont copy from my pc. The progress bar is not showing any movement.
Click to expand...
Click to collapse
Reboot again to recovery!!
chiragkrishna said:
]
Reboot again to recovery!!
Click to expand...
Click to collapse
Yeah managed to push the zip files through adb commands. Thanks anyway.
How to turn back to miui8?
giardux91 said:
How to turn back to miui8?
Click to expand...
Click to collapse
Get the fastboot files from Xiaomi then flash them using MiFlash. However, EVERYTHING will be reverted to as if it was new. Even any custom recoveries or Kernels.
Will flashing the MIUI8 fastboot ROM (Global Dev) relock the bootloader?
voldy001 said:
Will flashing the MIUI8 fastboot ROM (Global Dev) relock the bootloader?
Click to expand...
Click to collapse
No it won't :')
Can you please continue to make a guide on how to install NEW NIGHTLY rom?
What should be flashed for each nightly update? And the proper order? The Rom > GApps > customization > Custom Kernel ???
I am confusing.
nguyendatan said:
Can you please continue to make a guide on how to install NEW NIGHTLY rom?
What should be flashed for each nightly update? And the proper order? The Rom > GApps > customization > Custom Kernel ???
I am confusing.
Click to expand...
Click to collapse
This is the Official Cyogenmod ROM. So to upate, all you have to do is to go to Settings > About > Cyanogenmod Updates and download the update. After it has finished, you'll see a small button which you can press to install it. The Phone will then handle the flashing!
Aslo, The Rom > GApps > customization > Custom Kernel should be good!

[CLOSED][UNOFFICIAL] TWRP 3.4.0-0 | Team Win Recovery Project | Nokia 6.1 | Plate2 |

{
"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"
}
Note - Iam Not Responsible for bricked devices
About Team win recovery project
TWRP is an open source, community project. TWRP development is done by roughly 4 people at this point. We also have a large support community with many people who are willing to answer questions and help people with their devices either through our IRC channel or on forums like xda-developers.
Team Win was originally formed to work on porting WiMAX to CM7 for the HTC EVO 4G. After our work on the EVO 4G we wanted to work on a project that would work on more devices than just the EVO 4G and we settled on working on a recovery. Today TWRP is the leading custom recovery for Android phones.
Installation procedure
1 . Download twrp-3.4.0-0-PL2_sprout.img & twrp-installer-3.4.0-0-PL2_sprout.zip copy in one folder
2. connect phone to pc boot your phone to download mode
3. open cmd in that folder
4. type fastboot devices
5. type fastboot boot twrp-3.4.0-0-PL2_sprout.img
6. now your phone will boot in to twrp
7. now copy twrp installer.zip in to your phone from pc using type c usb cable
8. now flash twrp installer zip ( this will make your twrp permanent )
10. now flash magisk or what ever your wish and press reboot system
11. now if you people want to boot in to twrp? power off your phone connect to pc or charger
& wait for battery logo and press volume up and power button for 8 seconds now you will boot in to twrp
Download Android 11 Twrp-3.4.0-0 From Here
Download Android 10 Twrp-3.4.0-0 From Here
​
XDA:DevDB Information
TWRP 3.4.0-0 , for the Nokia 6.1
Contributors
Raghu varma
Source Code: https://github.com/Nokia-SDM660/android_device_nokia_PL2_sprout-TWRP
My build script https://github.com/RaghuVarma331/scripts
Version Information
Status: Stable
Current Stable Version: 3.x
Stable Release Date 2020-06-25
Created 2020-06-25
Last Updated 2020-06-25
Changelog - Thu Jun 25 12:41:03 UTC 2020
================================
* https://twrp.me/site/update/2020/06/24/twrp-3.4.0-0-released.html
Great work bro
This can work with locked bootloader ?
Is it compatible with android 9?
When you first start TWRP can you allow changes in the system ?
ativi said:
Is it compatible with android 9?
Click to expand...
Click to collapse
i think yes, cause it booted right away! and installation was successful. I am curently using aosp extended 9.0 official and it works
---------- Post added at 03:53 PM ---------- Previous post was at 03:52 PM ----------
hizaoui said:
Great work bro
This can work with locked bootloader ?
Click to expand...
Click to collapse
No! You need to unlock your bootloader before using this.
Hi,
First thanks for your great work.
But I have a problem.
After doing a full backup and doing some testing, I restored my whole backup. The process succeeded. But I am stuck in a bootloop,my phone boots to the point, where I can see the LOS 17.1 Logo, But does not continue. Have waited for 30 minutes a few times now.
I tried the built in bootloop fix, But it does not fix my problem.
Thanks in advance
Good day every one
Well, yesterday Google released android 11 for pixel handsets.
Soon you people can expect custom roms from my hand mean while i released android 11 twrp builds and with the help of my builds we will go forward accordingly on time for future releases towards custom roms and ports.
Soon I will release road map towards beta program make sure to keep an eye on my xda profile , threads and project updates & don't forget to donate if you love my work and also make sure to hit thanks button.
TWRP Changelog
* initial android 11.0 twrp builds released
Thank you
Thanks, finally a permanent TWRP for the device. (sticking to 10, as a game I play can't handle 11 correctly)
After fastboot boot twrp-3.4.0-0-PL2_sprout.img
Sending 'boot.img' (42412 KB) OKAY [ 1.206s]
Booting OKAY [ 5.049s]
Finished. Total time: 6.466s
Im stuck on android one screen any idea why ?
Hi! I'd like to install TWRP on my Nokia6.1 2018 however whenever I reboot to download mode for whatever reason the device isn't found anymore through ADB and because of that I can't do fastboot devices as it yields nothing and when I skipped it, it just waited for a device forever. What's weird is that it is connected, even windows says that.
KappaTheCapper said:
Hi! I'd like to install TWRP on my Nokia6.1 2018 however whenever I reboot to download mode for whatever reason the device isn't found anymore through ADB and because of that I can't do fastboot devices as it yields nothing and when I skipped it, it just waited for a device forever. What's weird is that it is connected, even windows says that.
Click to expand...
Click to collapse
While phone is in fastboot mode, open device manager. Locate the unknown device and update its driver. Choose fastboot driver from existing drivers. It will install the driver and will work
KappaTheCapper said:
Hi! I'd like to install TWRP on my Nokia6.1 2018 however whenever I reboot to download mode for whatever reason the device isn't found anymore through ADB and because of that I can't do fastboot devices as it yields nothing and when I skipped it, it just waited for a device forever. What's weird is that it is connected, even windows says that.
Click to expand...
Click to collapse
While phone is in fastboot mode, open device manager. Locate the unknown device and update its driver. Choose fastboot driver from existing drivers. It will install the driver and will work
Follow this,
fastboot flash recovery (drag recovery here or insert path)
press enter, it will fail saying something about a-b slots
Then finallay do,
fastboot boot (drag recovery here or insert path)
press enter
should boot your TWRP now
dmilz said:
fastboot flash recovery (drag recovery here or insert path)
press enter, it will fail saying something about a-b slots
Then finallay do,
fastboot boot (drag recovery here or insert path)
press enter
should boot your TWRP now
Click to expand...
Click to collapse
Thanks, I had same problem and this is working. Anyway the problem is, I have to do this every time I want to TWRP. Is there any way how to fix this and be able to avoid `flash recovery` part?
edit: removed
Looks like can't decrypt with Android 11. I'm 100 % sure that password is correct. With Android 10 it worked fine.
Are there any plans for updates? Thanks.
Hello people,
I accidently flashed the twrp-3.4.0-0-PL2_sprout.img file and now I am stuck in the androidone loading screen anytime I try to boot to that file in order to flash the twrp-installer-3.4.0-0-PL2_sprout.zip file.
Also when I try to boot the recocery I am stuck in the loading screen of TWRP.
any suggestion to fix that ?
maxischr said:
Hello people,
I accidently flashed the twrp-3.4.0-0-PL2_sprout.img file and now I am stuck in the androidone loading screen anytime I try to boot to that file in order to flash the twrp-installer-3.4.0-0-PL2_sprout.zip file.
Also when I try to boot the recocery I am stuck in the loading screen of TWRP.
any suggestion to fix that ?
Click to expand...
Click to collapse
The device has 2 boot slots. Try switching with fastboot --set-active: https://www.techmesto.com/possible-fix-nokia-smartphone-stuck-on-download-mode-after-ota-update/
I cannot file the download link for the twrp installer.zip file. I have the image file but cannot find the zip file on the github download site.

Unofficial TWRP 3.4.2b Recovery for Redmi 9 (lancelot/Indian Prime) - Miui 11.

Source: https://unofficialtwrp.com/xiaomi-redmi-9-root-twrp-3-4-1/ The author wrote this: all issues fixed!
Thanks to the developer for the energy and time. Developer: wzsx150.
This is a working unofficial TWRP recovery for Redmi 9 for Miui 11. Tested on android 10, Miui Global 11.0.6 rom.
Miui 12 is work? I do not know. Everyone doesn't know. It probably won't work.
Original file: https://www.mediafire.com/file/auj2wh2lh8lzp47/3.4.2+Redmi+9+CN+EN.rar/file I modified this a bit.
What is required for installation:
Twrp img (blue) (recovery.img): Download
vbmeta_redmi9.img Download
1: Unlock bootloader
2: installed adb & fastboot drivers Download
3: Optional: Mtk usb driver Download
3a: Let the phone battery be charged to more than 50% !!!
(4: Everyone is at their own risk)
(5: Backup all data, recommended. Save idea 1, Save idea 2
6: Turn off the phone
7: Then press the volume down button + power on button to enter fastboot succes fastboot screen
8: Now connect your phone to your computer (windows emits a connection sound)
9: Open one a cmd/command line, where you downloaded the files cmd
10: Issue the two commands one after the other
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta_redmi9.img
11: You ready. Restart the phone in recovery mode
fastboot reboot recovery
12: If you did everything right, this picture will welcome you
12.a: If recovery asks you for a security pattern, enter what you use on your phone.
{
"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"
}
12: If you messed up something, don't worry. Someone here will help. (It can usually be restored with Adb or fastboot, which is broken)
13: A few pictures of the program
14: Four colors are available: blue, red, brown, purple.
Blue TWRP Recovery: Download
Red TWRP Recovery: Download
Braun TWRP Recovery: Download
Purple TWRP Recovery: Download
For now, only Chinese and English language are available! The other languages are being prepared. Soon. As there will be time for it.
It doesn't hurt to have these:
Qualcomm HS-USB QDLoader 9008 Driver 64-bit [Windows] Qualcomm driver
MediaTek MT65xx Preloader VCOM USB Driver [32-bit & 64-bit] Mediatek Vcom driver
[OFFICIAL][TOOL][WINDOWS] ADB, Fastboot and Drivers - 15 seconds ADB Installer v1.4.3 Adb & fastboot drivers
MTK usb driver Download
SDK Platform tools Download
Google usb driver Download
Thanks for watching. If you liked my job, you can invite me for a beer.
Paypal: [email protected]
Crypto: 3FJuZGaw98oefj45AiypytaJzyATuRn7dE
Reserved
I saw this at telegram yesterday
Is this updated version?
SunuWijaya said:
I saw this at telegram yesterday
Is this updated version?
Click to expand...
Click to collapse
Where did you see that? (I don't understand) Two versions of this have been made. This is the second.
short question,what have you modified and how did you testet which things,we have no custom rom,what about backup and restore,did you testet,what about flashing zips in general and are all partitions rw?Thanx!!!!
-CALIBAN666- said:
short question,what have you modified and how did you testet which things,we have no custom rom,what about backup and restore,did you testet,what about flashing zips in general and are all partitions rw?Thanx!!!!
Click to expand...
Click to collapse
Hello. Well ... there weren't many tests available yet.
What I modified:
1: Skins / colors
2: Spelling mistakes
3: Syntax errors 2-3 pieces
What I was able to test in recovery:
1: Install zip / img: works
2: Backup and restore partition / data: works
3: Mount partitions: works
4: Wipe / advanced wipe: works
5: Reboot "all: works
6: Terminal: works
7: ADB Sideload: works
8: File manager: works
9: Settings "all works, except multilanguage.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------​
Other. For everyone. It also became a fifth skin. Orange / black. Download
------------------------------------------------------------------------------------------------------------------------------------------------------------------------​It's different again. For everyone. I noticed a mistake yet. I haven’t used recovery in a long time, so I didn’t notice the error. After a while, twrp recovery disappears. And the original recovery will be again. I don't understand why .... If you twrp recovery in flash fastboot mode again, you have twrp again. For a while.
Can dis twrp flash kernel?
Meggyi said:
Hello. Well ... there weren't many tests available yet.
What I modified:
1: Skins / colors
2: Spelling mistakes
3: Syntax errors 2-3 pieces
What I was able to test in recovery:
1: Install zip / img: works
2: Backup and restore partition / data: works
3: Mount partitions: works
4: Wipe / advanced wipe: works
5: Reboot "all: works
6: Terminal: works
7: ADB Sideload: works
8: File manager: works
9: Settings "all works, except multilanguage.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------​
Other. For everyone. It also became a fifth skin. Orange / black. Download
View attachment 5164259
------------------------------------------------------------------------------------------------------------------------------------------------------------------------​It's different again. For everyone. I noticed a mistake yet. I haven’t used recovery in a long time, so I didn’t notice the error. After a while, twrp recovery disappears. And the original recovery will be again. I don't understand why .... If you twrp recovery in flash fastboot mode again, you have twrp again. For a while.
Click to expand...
Click to collapse
Ok,big thanx for info.Cheers!!!
SunuWijaya said:
Can dis twrp flash kernel?
Click to expand...
Click to collapse
Does it have a custom kernel? Modified kernel? Has anyone tried kernel flash? I don't think so. (Zip and img flash, it knows) Do you know of a modified kernel?
Meggyi said:
Does it have a custom kernel? Modified kernel? Has anyone tried kernel flash? I don't think so. (Zip and img flash, it knows) Do you know of a modified kernel?
Click to expand...
Click to collapse
Just try to flash stock kernel
Afaik the issue with the missing twrp recovery is normal and only on miui based rom,on custom roms there is no issue like that.Most Xiaomi/Redmi devices do that.
Meggyi said:
Does it have a custom kernel? Modified kernel? Has anyone tried kernel flash? I don't think so. (Zip and img flash, it knows) Do you know of a modified kernel?
Click to expand...
Click to collapse
Yes it is have custom kernel named Minati-Xenodrome
How to use twrp to flash GSI ?
-CALIBAN666- said:
Afaik the issue with the missing twrp recovery is normal and only on miui based rom,on custom roms there is no issue like that.Most Xiaomi/Redmi devices do that.
Click to expand...
Click to collapse
Yeah, I get it. I didn’t have many phones that miui had. That makes sense. Stupid miui
Good job....I flash custom kernal...and it successful...but can this twrp able to go fastbootd as you mentioned and flash gsi like stock recovery?
Have you flashed a rom?
The solution for the issue that twrp is gone after some times is to flash the no-verity-opt-encrypt file for the device directly after flash of recovery,after this twrp is permanent,for the file check source link in first post.Cheers!!!!
Thank you very much, but my Redmi 9 China version cannot boot after flashing into twrp.
On Redmi 9 China version, I sorted out this version to be available.It seems that it can only be used for MIUI11
zhihuiyuze channel
论坛附件,Redmi9 twrp且可以在中国版使用
t.me
Google Drive Education Edition cannot share files (so use Telegram
There is another problem. It seems that if I use your modified version, /cust fails.
What we can do with this TWRP on lancelot?
I have the Redmi 9 (lancelot) with MIUI 11 installed. My bootloader is unlocked, I've the adb & fastboot drivers installed. I would really like to install that TWRP. While I'm flashing both files, cmd gives no errors, everything is fine. But at the end, I can not boot into recovery with "fastboot reboot recovery" from the cmd, it gives me an error. If I leave fastboot mode and try to enter TWRP manually by holding the volume and power key, it doesn't work. My device will get stuck inside a bootloop.
I'm able to fix the bootloop with disabling DAA & SLA protection in the MTK mode and flashing back the stock firmware with SP Flashtool. I tried it 3 times, every time the same issue and having to flash back the stock firmware. Do you have any tips to fix that? Or is there another or updated version I could try?
Edit: Nvm, got it working

Categories

Resources