UNOFFICIAL Ubuntu Touch for Redmi 4X (santoni) - Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other

Ported by Danct12 his Discord: https://discord.gg/SXcJqK and Asriel
This is not my work I only compiled it​
IMPORTANT: THIS BUILD IS OUTDATED Developer of this rom officially released it: https://forums.ubports.com/topic/3682/xiaomi-redmi-4x-santoni
Instalation
Just flash zip file in TWRP
You don't have to wipe anything
Note: installation won't format /data , /system , /vendor partition. So you won't lose data but make backup anyway.
What's not working
Bluetooth
Screen rotation
Sound
USB MTP
Probably USB HDMI desktop mode (not tested)
etc
Password and username
Default username is: phablet
Default password is: toor
(password can be chanched with sudo passwd phablet command)
Dual boot (this is not officially supported method, I found it myself)
(Sometimes this doesn't work reinstalling Android should fix it)
Make a backup of boot partition in recovery before installing Ubuntu Touch
Then flash Ubuntu Touch zip file
To boot Android restore boot partition backup from recovery
To get back to Ubuntu Touch flash boot.img as boot partition (scroll down for download)
APT-GET fix
To get apt package manager working you need to make root of Ubuntu Touch writable
Type these commands to terminal:
sudo mount -o remount,rw /
sudo touch /userdata/.writable_image
SSH
To SSH into Ubuntu Touch connect phone to PC.
IP of the device is 10.15.19.82
Type ssh [email protected] in terminal default password is toor
Sound and Bluetooth fix
Follow APT-GET instructions upper in this post.
Open terminal app and type sudo apt upgrade
Screenshots
In attachments
Downloads
Ubuntu Touch installation zip: https://drive.google.com/open?id=10rv4bDNWOPmjYB9NZvigI8Kn-jZOoPWX
Boot.img: https://drive.google.com/open?id=1clKuTcp28DMoZENsUkTUH4O3Pd7DupuX
This build is unstable can't be used as a daily driver
Source
https://github.com/ubports-santoni

Hi
great news to see ub ports for santoni.
The dev makes an excellent work !
Hope we could have soon a good build for daily use.

hi
successfully installed dual boot with PixelExperience rom in my Santoni
thank you, this is very cool

Hi
what are your first impressions with UB Ports ?
Even if it's not stable for moment...
Well, stuck on boot logo...
Flashed above Miui 10 stable.
edit 2 working for me, only after full wipe and clean flash.
Looks nice, I didn't try a lot of time, but I like interface. I'll wait anbox working good to flash rom again.
edit 3 : dual boot works with lineage OS ! Great !
Do you plan to update compilations ?

Some screenshots please

hi...how to uninstall the rom?

ibal97 said:
hi...how to uninstall the rom?
Click to expand...
Click to collapse
Install the ROM you want… The one you were using before replacing it with this one, I presume.

Is it still being developed?

isapp said:
Is it still being developed?
Click to expand...
Click to collapse
Danct12 (developer of this port) is no longer developing this project so rip

stevenlopes92 said:
Some screenshots please
Click to expand...
Click to collapse
Done

Bluetooth and Sound Working after a apt upgrade here

isapp said:
Bluetooth and Sound Working after a apt upgrade here
Click to expand...
Click to collapse
Nice so almost everything works

Hi
There's still a sad bug : I can't make phone call, no hear sound.
But yes, sound works with apps like Youtube. Good news !

newbie_or_not_newbie said:
Hi
There's still a sad bug : I can't make phone call, no hear sound.
But yes, sound works with apps like Youtube. Good news !
Click to expand...
Click to collapse
Microphone not working?

If i install ubuntu and flash the Boot.IMG to Boot my 4x dies only show mi Logo nothing else happen. This phone does not Boot into trwp if i hold volume + and turn the phone on. Has anybody an idea what to do?

PierceB said:
If i install ubuntu and flash the Boot.IMG to Boot my 4x dies only show mi Logo nothing else happen. This phone does not Boot into trwp if i hold volume + and turn the phone on. Has anybody an idea what to do?
Click to expand...
Click to collapse
Recovery is volume up and down at some time. Are you sure you choosed boot partition when flashing boot.img . You can try flash recovery and the boot.img with fastboot. If nothing helps try flashing stock room with miflash.

Hi,
It is not written specifically in the installation instructions, do I have to install also boot.img after flashing the ununtu touch zip? (I thought I have seen something about boot.img during flash of the zip)
I had RevengeOS 10.0 custom ROM installed, then in TWRP I have just flashed UnuntuTouch zip, then rebooted and was also stuck at the Mi screen without anything happening.
The phone does not boot into recovery just by pressing power+volume up, I used "fastboot boot recovery.img" and I reflashed RevengeOS - but power+volume up+volume down boots into TWRP.
Thank you
---------- Post added at 01:53 ---------- Previous post was at 01:48 ----------
PierceB said:
If i install ubuntu and flash the Boot.IMG to Boot my 4x dies only show mi Logo nothing else happen. This phone does not Boot into trwp if i hold volume + and turn the phone on. Has anybody an idea what to do?
Click to expand...
Click to collapse
So you flashed both zip and img and still no luck? Have you resolved the problem, does at least your previous ROM work?
Maybe this is not compatible with all of the custom ROMs... in previos posts it seems clean flash helps - I will try official Lineage OS, with flashing both Ununtu zip and boot.img.
Thank you

Hi, look first message :
Dual boot
Make a backup of boot partition in recovery before installing Ubuntu Touch
Then flash Ubuntu Touch zip file
To boot Android restore boot partition backup from recovery
To get back to Ubuntu Touch flash boot.img as boot partition (scroll down for download)

newbie_or_not_newbie said:
Hi, look first message :
Dual boot
Make a backup of boot partition in recovery before installing Ubuntu Touch
Then flash Ubuntu Touch zip file
To boot Android restore boot partition backup from recovery
To get back to Ubuntu Touch flash boot.img as boot partition (scroll down for download)
Click to expand...
Click to collapse
Hi, I did exactly that:
1) I have TWRP 3.3.1-0 and latest Lineage OS 16 installed
2) I flash Ubuntu zip without wiping anything - I am stuch at the initial MI logo
3) I tried to flash boot.img on top of that - still no luch, stuck at the initial MI logo
I have backup of Lineage OS, so no problem (just need to carefully press volume up+volume down+power to get to recovery)
but I would like to find out what is the proble and try Ubuntu...
Thank you

Maybe you could try another recovery ? Like Orangefox ?

Related

Android 7.1.1 Doogee X5PRO

I have searched, found and tested this rom.
It is a beta but it works very well, I leave the links of the original web where all the information of download and installation is.
I hope this humble contribution helps you.
web : http://getbest.ru/doogee_x5pro_nougat_beta.htm
TWRP : https://drive.google.com/file/d/0B3nYb3vN0P9VakpJWVU1Unh1NGc/view?usp=sharing
Flash Tool Firmware x32 : https://drive.google.com/file/d/0B3nYb3vN0P9VVGZvZlVIeEdQcG8/view?usp=sharing
Flash Tool Firmware x64 : https://drive.google.com/file/d/0B3nYb3vN0P9VVGZvZlVIeEdQcG8/view?usp=sharing
Super SU : https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.79-201612051815.zip
Hi, and thank you, I already had downloaded the BETA3 version from needROM.com but it seems this is updgraded
---------- Post added at 06:35 PM ---------- Previous post was at 06:33 PM ----------
Just a question, I have to use the Flashtool to flash the firmware and after that the TWRP and Supersu options?
I've been using beta4 (and beta3 previously) for months and quite like them. Also, since the original factory rom is filled with adaware, isn't as up-to-date with Android's security patches and doesn't pass SafetyNet, you're gaining a lot and not losing anything switching or rooting for that matter.
Though I still prefer magisk over rooting since it's more secure and more than enough for adaway.
juancarloscuba said:
Just a question, I have to use the Flashtool to flash the firmware and after that the TWRP and Supersu options?
Click to expand...
Click to collapse
You can but you don't have to. I had a problem flashing beta4 and twrp at one go but booting the phone once with just beta4 and then powering off and flashing twrp and\or rooting afterwards solved that.
Btw, the dev is developing gesture modules for the kernel (built-in beta4) and an app to go with them: http://getbest.ru/kernel_gesture.htm I didn't find the feature useful enough to keep around but it works as advertised and, once again, magisk was enough.
Overall, the rom is an absolute must as far as I'm concerned and I wouldn't be using this phone if it wasn't available. It would have been nice if the dev could keepup with android's patches better but seeing how he's doing a better job than doogee and for free I can't really complain.
Do the camera and fingerprint work?
Hi. I wish to give my really thanks to the developer of this rom.
It solve my problems:
Stock rom R16:
sim card WIND (IT) poor 4G/LTE reception
sim card VODAFONE (IT) no 4G/LTE reception
(tested switching 1-2, various city zones)
This Rom:
both full 4G/LTE reception!!
M.A.
Hello Maria and thanks for your experience.
What can you say to me about the fingerprint and camera functionality?
Do they work fine on this rom?
****_ve said:
I have searched, found and tested this rom.
It is a beta but it works very well, I leave the links of the original web where all the information of download and installation is.
I hope this humble contribution helps you.
web : http://getbest.ru/doogee_x5pro_nougat_beta.htm
TWRP : https://drive.google.com/file/d/0B3nYb3vN0P9VakpJWVU1Unh1NGc/view?usp=sharing
Flash Tool Firmware x32 : https://drive.google.com/file/d/0B3nYb3vN0P9VVGZvZlVIeEdQcG8/view?usp=sharing
Flash Tool Firmware x64 : https://drive.google.com/file/d/0B3nYb3vN0P9VVGZvZlVIeEdQcG8/view?usp=sharing
Super SU : https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.79-201612051815.zip
Click to expand...
Click to collapse
Can you please assist me with flashing this ROM? (either 32bit or 64bit) - I've tried using the Flash Tool guide, but with 32bit the clean install scatter file does nothing, and with 64bit the clean install scatter file comes up with error: "chip type not match!! target efuse value: 0xa4020000"
I've tried with and without battery, I have installed Android USB driver, and I've followed this guide: https://androidmtk.com/flash-stock-rom-using-smart-phone-flash-tool
Please help!
The Seeker said:
Hello Maria and thanks for your experience.
What can you say to me about the fingerprint and camera functionality?
Do they work fine on this rom?
Click to expand...
Click to collapse
Hi.
My phone (X5pro) hasn't fingerprint reader.
The camera seems to work in normal way.
M.A.
P.S.: May be it depends by my phone, but sometimes touch is not reponsive; I have to push the power button ("stand-by") and push it again to have normal touch response.
---------- Post added at 07:24 PM ---------- Previous post was at 07:19 PM ----------
Racxie said:
Can you please assist me with flashing this ROM? (either 32bit or 64bit) - I've tried using the Flash Tool guide, but with 32bit the clean install scatter file does nothing, and with 64bit the clean install scatter file comes up with error: "chip type not match!! target efuse value: 0xa4020000"
I've tried with and without battery, I have installed Android USB driver, and I've followed this guide: https://androidmtk.com/flash-stock-rom-using-smart-phone-flash-tool
Please help!
Click to expand...
Click to collapse
The flash guide you linked is the right guide.
What exact model of phone you have?
Does the scatter and other files are in the same folder? (unzipped, you know).
Does the flashtool give any error message with the 32bit version?
Regards
M.A.
I tried both the 32bit and 64 bit versions of this rom, it's pretty good for a beta. However I had a problem with the screen going dark while using it and once the screen inverted colours randomly. Has anyone else had this problem with this rom? I'm currently using the android 6 stock rom but would love to get 7.1.1 working perfectly.
installed with SP flash tools x5pro-7.1-x32-BETA4 from a stock kernel 6.0 (R16)
with no luck. At booting snowcatPDA logo shows for a while and continuously reboots.
Flashed from ubuntu linux 16.04:
Download Only option (should I have choosen Firmware Upgrade?)
Scatter-loading File MT6735M_Android_scatter-WIPE-CLEAN_INSTALL.txt (should I have choosen MT6735M_Android_scatter.txt?)
I had the bootloader locked in development options (had it to be open?)
I also had USB debugging ON
Any tips?
xe7um said:
installed with SP flash tools x5pro-7.1-x32-BETA4 from a stock kernel 6.0 (R16)
with no luck. At booting snowcatPDA logo shows for a while and continuously reboots.
.....
Any tips?
Click to expand...
Click to collapse
Hi.
Now I'm at home.
Tomorrow morning, when I'll be at office I'll write down steps by steps I did.
(home... office..., reverse of natural manner, because I do all my mobile hobbies at lunch pause; at home PC is used by others )
Hello, here I am.
The follows are the steps, more or less, that I did.
(maybe you already did some of these)
1-Start from official R16 ROM
2- Developer option
#a. Enable USB debug​#b. Enable OEM unlock​
3- Security: allow unknown origin installation
4- Unlock bootloader
#a. Connect in fastboot, from ADB command mode:​type: adb reboot-bootloader ___ (Wait 1-3 second)​type: fastboot devices ___ (verify device is detected)​#b. verify bootloader unlock status​type: fastboot getvar all ___ and you get​= warranty: yes​= unlocked: no​#c. unlock bootloader​type: fastboot oem unlock ___ and you get​-> start unlock flow​---> on screen appear:​vol UP=Yes; void warranty, clear ALL data​vol DWN=no; no unlock​Press Vol UP​#d. verify bootloader unlock status​type: fastboot getvar all ___ and you get​= warranty: no​= unlocked: yes​#e. May be phone restart​
5- shut down phone ___ AND ___ get out battery
6- Flash phone with
MT6735M_Android_scatter-WIPE-CLEAN_INSTALL.txt​as per normal way (You know this , after some trying...)​
7- WITHOUT starting phone, ___ Flash TWRP with
MT6735M_TWRPx32_scatter.txt (or the 64, according to the ROM you flashed)​
9- Put battery in ___ AND___ start in TWRP recovery
#a. hold Vol Up, press ON button until appear a micro menu, release buttons​#b. choose recovery with Vol Up and confirm with Vol Down​
10- in recovery, choose wipe, and on bottom of the screen slide for factory reset
11- on TWRP main, choose reboot, power off
12- get out battery for some seconds
13- get in battery and start up (It can take a lot, may be leave the phone connected to main)
This is what I did (if I remember all the single steps...)
Try and report to us.
M.A.
Nope!, in step 9 when trying to start in TWRP recovery I get a continuous bootloop showing SnowcatPDA logo
xe7um said:
Nope!, in step 9 when trying to start in TWRP recovery I get a continuous bootloop showing SnowcatPDA logo
Click to expand...
Click to collapse
Hummmm....
It seems won't go in recovery mode, I think.
Try this:
1- flash entire stock ROM
(may be take this ===http://www.doogee.cc/bbs/viewtopic.php?t=29=== just in case)
2- start phone normal, up to home screen (so the phone is as just brougt)
3- power off and try to enter stock Recovery
If it works (and your bootloader is unloked) then try this
Connect phone to PC in fastboot
and enter
fastboot devices (I do this each time, just in case PC don't detect phone)
fastboot boot recovery.img
where recovery.img is your TWRP
The phone should start in TWRP recovery
The fastboot boot recovery.img command
send recovery (kernel?) image to temp phone folder/ram
and boot from that.
It unaffect normal rom/recovery.
By this step, we check If your phone accept this TWRP and sort out some possible troubles.
M.A.
when doing 'fastboot boot TWRP-3.1.1-X5PROx32.img' I get:
USB transferring...
USB transmission OK
and doesn't reboot into recovery but it boots normally
since I'm doing this from stock kernel R16 I wonder whether it's 32 or 64 bits
However I've found recovery-twrp-3.2.0-git-20171204.img that boots!. But I don't have scatter file, only .img! This recovery is from Lineage 14.1, but since this custom ROM installs from TWRP there is no need of scatter file
I've found another TWRP that boots with fastboot boot img: the TWRP recovery for 6.0 in needrom. This one has a scatter file
xe7um said:
I've found another TWRP that boots with fastboot boot img: https://www.needrom.com/wp-content/uploads/2016/12/TWRP_DG_X5Pro.rar
Click to expand...
Click to collapse
I get this error:
Needrom do not authorizing, the links referred by another website for download the ROMs.
The link must obligatory be clicked from of Needrom.com
Click to expand...
Click to collapse
Can you please link it correctly so we can download it?
The Seeker said:
I get this error:
Can you please link it correctly so we can download it?
Click to expand...
Click to collapse
Hi.
You have to select the file direct from the Needrom site.
www.needrom.com
(up)categories-doogee
on the right, click: Serial X
again, on the right, click: X5pro
and select the TWRP you desire.
(second line, second from left)
(click on "TWRP DG X5Pro (977 dls)")
Regards
M.A.
P.S.: even the link is
https://www.needrom.com/server/download.php?name=/2016/12/TWRP_DG_X5Pro.rar
you have to download from the site.
I'll try all this at the weekend, but my two cents are that it won't work. At first attempt I flashed BETA4 with MT6735M_Android_scatter-WIPE-CLEAN_INSTALL.txt (so no need to enter recovery and wipe cache/Dalvik) with a bootloop result.
My guess is that there are different ROM versions of X5 pro, and newest are incompatible with SnowcatPDA 7.1.1 firmware. Will see in a few days...
As I was suspecting I get a bootloop after logo. Now the question is: Is there a stable custom ROM (7.1 or newer) that I could use daily instead of MM 6.0 (R16) stock ROM?

Lenovo K6 without OS

Hi, I already had my phone rooted and with TWRP installed, but I needed to restore my phone. First I did this trough the system, but I noted that a lot of old files still were there, and I went to TWRP and did a wipe, but selected /system and /cache, now I don't have a OS on my phone.
The phone doesn't turn off, everytime I try to power off, he turn on again, and stay on Lenovo logo. The only thing I can acess is Fastboot mode (via Power down + power), I cant acess TWRP trough the phone, but I found a .bat file, that when I'm in fastboot mode, it flashes twrp on my phone and I can acess it . The other problem is that I always get an error when trying to flash any rom. Things like Error:255 or ".zip file not valid". Tried 2 roms and nothing.
Can someone please help me? I would prefer a stock rom for Brazil, but now I just want any rom, dont even mind if it's not stock.
Crolys said:
Hi, I already had my phone rooted and with TWRP installed, but I needed to restore my phone. First I did this trough the system, but I noted that a lot of old files still were there, and I went to TWRP and did a wipe, but selected /system and /cache, now I don't have a OS on my phone.
The phone doesn't turn off, everytime I try to power off, he turn on again, and stay on Lenovo logo. The only thing I can acess is Fastboot mode (via Power down + power), I cant acess TWRP trough the phone, but I found a .bat file, that when I'm in fastboot mode, it flashes twrp on my phone and I can acess it . The other problem is that I always get an error when trying to flash any rom. Things like Error:255 or ".zip file not valid". Tried 2 roms and nothing.
Can someone please help me? I would prefer a stock rom for Brazil, but now I just want any rom, dont even mind if it's not stock.
Click to expand...
Click to collapse
Error 255 is caused because you are trying to install a 64bit ROM over TWRP (32bits), you need to upgrade TWRP to 64bit, just so you will be able to install a ROM. Remember that you should use Gapps in 64bit [ARM64]
TWRP: https://dl.twrp.me/karate/twrp-3.1.1-1-karate.img
Gapps: http://opengapps.org/ (ARM64)
J.D.M said:
Error 255 is caused because you are trying to install a 64bit ROM over TWRP (32bits), you need to upgrade TWRP to 64bit, just so you will be able to install a ROM. Remember that you should use Gapps in 64bit [ARM64]
Click to expand...
Click to collapse
I already had this version of twrp, but downloaded anyway and got the same error when tring to sideload a ROM "Updater process ended with ERROR: 255" . I don't know what to do anymore, I tried with 4 different ROMs, also I searched for a method to erase the lines with asserts on "update-scripts" in META-INF, but then I got a "Invalid ZIP file" error.
Crolys said:
I already had this version of twrp, but downloaded anyway and got the same error when tring to sideload a ROM "Updater process ended with ERROR: 255" . I don't know what to do anymore, I tried with 4 different ROMs, also I searched for a method to erase the lines with asserts on "update-scripts" in META-INF, but then I got a "Invalid ZIP file" error.
Click to expand...
Click to collapse
Try to go back to the 32bits version and erase everything and format the data and return to the 64bit version because here I had this problem it was because of the TWRP that I was using, it was the 32bits version, after that I upgraded to the 64bits version I did not have this problem. Remembering that in the site https://dl.twrp.me/karate/ has two versions of TWRP, the version twrp-3.1.1-0-karate.img is 32bits and the version twrp-3.1.1-1-karate. img is 64bit.
J.D.M said:
Try to go back to the 32bits version and erase everything and format the data and return to the 64bit version because here I had this problem it was because of the TWRP that I was using, it was the 32bits version, after that I upgraded to the 64bits version I did not have this problem.
Click to expand...
Click to collapse
Well, that kinda worked(?), now I have another error it says that my firmware is incompatible with the ROM version, and I need to update it (I dont know how to do this), and give me ERROR: 7 now
Crolys said:
Well, that kinda worked(?), now I have another error it says that my firmware is incompatible with the ROM version, and I need to update it (I dont know how to do this), and give me ERROR: 7 now
Click to expand...
Click to collapse
MAN, the ERROR: 7 now could be solved by deleting the lines with ASSERT in "\META-INF\com\google\android\updater-script".
So, thanks for helping me, the problem with 64/32bits worked. I'm really glad that this worked, had stuck for 3 days without OS, now i'm never messing with this stuff again haha.
Crolys said:
MAN, the ERROR: 7 now could be solved by deleting the lines with ASSERT in "\META-INF\com\google\android\updater-script".
So, thanks for helping me, the problem with 64/32bits worked. I'm really glad that this worked, had stuck for 3 days without OS, now i'm never messing with this stuff again haha.
Click to expand...
Click to collapse
I've been researching and was going to tell you to delete the above lines mentioned, I am glad you have succeeded.
got same 255 error,just now i reflashed stock rom and issue resolved
vasu009 said:
got same 255 error,just now i reflashed stock rom and issue resolved
Click to expand...
Click to collapse
how did you reflashed the stock rom, please reply cause im stuck with the twrp and unable to do it. my phone doesn't have an os now
what s the password of the trwp
J.D.M said:
I've been researching and was going to tell you to delete the above lines mentioned, I am glad you have succeeded.
Click to expand...
Click to collapse
Can install this ROM on any Lenovo K6 Power device ??
dushd95 said:
Can install this ROM on any Lenovo K6 Power device ??
Click to expand...
Click to collapse
Yeah
J.D.M said:
Yeah
Click to expand...
Click to collapse
It says device not supported why??
Dont forget to reboot again into twrp - after flashing 64bit twrp . This is a step that is very important if you will not reboot your phone into twrp after flashing 64 bit twrp then , it will keep showin you the error 255.
So check that .
wacccim said:
what s the password of the trwp
Click to expand...
Click to collapse
Go for 3.2.1.0 it is better then 3.1.1.1 in 64 bits it ain't ask password i use it to flash all roms
Tere 3.1.1-1 asking for password to encrypt data
I flashed my Lenovo k6 power with twrp 3.1.1-1 after I was not able to flash crdroid,lineage is,pixelized stock ROM to my phone. Now the twrp is asking for password to encrypt data and I am surprised because I hadn't set a password. I tried to unlock it with my phone password but I it is saying to enter correct password.
Please someone help me. I am not able to flash other things too please somebody help me.:
Erase the data
Shrestha Kumar said:
I flashed my Lenovo k6 power with twrp 3.1.1-1 after I was not able to flash crdroid,lineage is,pixelized stock ROM to my phone. Now the twrp is asking for password to encrypt data and I am surprised because I hadn't set a password. I tried to unlock it with my phone password but I it is saying to enter correct password.
Please someone help me. I am not able to flash other things too please somebody help me.:
Click to expand...
Click to collapse
Use erase the data from wipe option then you will be able to install rom and g-apps.
Every time you will need password, I don't know why but after erasing data you install all files otherwise you need to erase data again and again
Crolys said:
Hi, I already had my phone rooted and with TWRP installed, but I needed to restore my phone. First I did this trough the system, but I noted that a lot of old files still were there, and I went to TWRP and did a wipe, but selected /system and /cache, now I don't have a OS on my phone.
The phone doesn't turn off, everytime I try to power off, he turn on again, and stay on Lenovo logo. The only thing I can acess is Fastboot mode (via Power down + power), I cant acess TWRP trough the phone, but I found a .bat file, that when I'm in fastboot mode, it flashes twrp on my phone and I can acess it . The other problem is that I always get an error when trying to flash any rom. Things like Error:255 or ".zip file not valid". Tried 2 roms and nothing.
Can someone please help me? I would prefer a stock rom for Brazil, but now I just want any rom, dont even mind if it's not stock.
Click to expand...
Click to collapse
I Faced same problem. It's ok that your phone is in weird state for time now. And also possible to recover.
Hopefully you have adb-tool, custom-rom & gapp, twrp.img on your PC.
1) Boot your mobile in fastmode using Power ON with Volume down key for 5 sec (Lenovo log with left hand side sayinh fastboot mode)
2) Connect the mobile to PC using USB & Go to adb tool folder. Open command prompt in this folder & Execute the follow step by step execution
fastboot oem reboot-recovery
3)Wait for mobile to boot in to recovery mode with TWRP
Now need to flash custom-rom followed by gapps installion.
I) You can use pendrive with otg to flash custom-rom followed by gapps
OR
II)You can use phone storage/SD card to flash the custom-rom followed by gapps
OR
III)adb sideload command as fallow
a)In TWRP recovery on mobile, goto Adavanced->ADB Sideload & Swipe to start the sideload
Now on PC execute . Specify custom rom path inside ""
adb sideload "C:\adb\images\MyCustomROM.zip"
Have a patience to complete the operation.
Click back for Adavanced Menu again.
b) Select ADB Sideload & Swipe to start the sideload
Now on PC execute . Specify Gapp path inside ""
adb sideload "C:\adb\images\open_gapps-arm-7.1-pico-20180611.zip"
c)Have a patience to complete the operation.
Once complete go to TWRP Screen.
d)Now go back TWRP main menu & select wipe->format Data.
Go to Reboot->system.
How to install TWRP if no OS there
1) Boot your mobile in fastmode using Power ON with Volume down key for 5 sec (Lenovo log with left hand side sayinh fastboot mode)
2) Connect the mobile to PC using USB & Go to adb tool folder. Open command prompt in this folder & Execute the follow step by step execution
a) To check the device is connected to PC or not
fastboot oem device-info
b) To flash the recovery. Give twrp path inside the ""
fastboot flash recovery "C:\adb\images\twrp.img"
c) To boot into recovery mode
fastboot oem reboot-recovery
---------- Post added at 10:03 PM ---------- Previous post was at 09:57 PM ----------
[/COLOR]
Shrestha Kumar said:
I flashed my Lenovo k6 power with twrp 3.1.1-1 after I was not able to flash crdroid,lineage is,pixelized stock ROM to my phone. Now the twrp is asking for password to encrypt data and I am surprised because I hadn't set a password. I tried to unlock it with my phone password but I it is saying to enter correct password.
Please someone help me. I am not able to flash other things too please somebody help me.:
Click to expand...
Click to collapse
In my case, It worked with PIN.

[Recovery][8.0][Unofficial] TWRP 3.2.1-0 for EMUI 8.0 (06/05/2018)

AWARE! THIS IS NOT MY WORK! ONLY SHARE HERE FOR TEST PURPOSE!!​
Hello guys! Our p10 doesn't have received so much love from developers around here, anyway, there's some small works to make things easier for p10 users, like @OldDroid TWRP version for EMUI 5.x and some advances from @Blackball on the ROM department.
Right now, for p10 users who had updated their devices to EMUI 8.0, we didn't have any "official" twrp working to our systems, so we have to use Blackball's TWRP version for P10 plus (8.0) with some drawbacks like ADB not working over USB or decrypting /data partition.
I was looking for a solution around this and checking ROM systems across Huawei/Honor platform and i have found something interesting on Honor View 10 forums: a working TWRP which works very well with our p10 8.0 system. I have installed and tested some functions and seems to works very well, so i'm bring it to you to give some more extended testing about TWRP functionality under our system.
Disclaimer
This software comes with no warranty,XDA staff ,myself or TeamWin stuff can't be hold responsible for any damage it may cause to your device.​
Download and Installation
Download twrp recovery
Start your device in fastboot mode
Install the recovery using the following command:
Code:
fastboot flash recovery_ramdisk [name of the file].img --> ex: fastboot flash recovery_ramdisk twrp_blanc_0.1.img
Restart with this command:
Code:
fastboot reboot
Enter to the recovery and try it: Vol + (at device boot up)
IMPORTANT: /data decryption is only necessary if you have set up fingerprint and pin code. If you have it, you only have to introduce your password ONCE (at first TWRP boot up) and in other reboots only cancel this action and you're ready to go.
WHAT I HAVE TESTED:
Decrypting data partition: works
Mounting /system partition: works
Installing ZIP over /system: works
ADB over USB (including ADB sideload): works
MTP function: works
Backup&Restore: works
THINGS THAT NEED TO BE TESTED:
IMG writing
OTG function
CREDITS:
**** @zxz0O0 - This wouldn't be possible without this guy,so big big thank to him. *** i know him from my SONY devices time, a superb and talented developer ***
**** @Pretoriano80 - This guy have made all the adaptation of this TWRP for Mate 10/Honor View 10 from zxz0O0 work... All my respect for him!
**** TeamWin project ,obviously.
DOWNLOAD LINK:
PLEASE TRY IT AND REPORT BACK!
(06/05)NEW VERSION, THANKS TO @Pretoriano80 for the new build GO GIVE HIM SOME LOVE THERE
CHANGELOG:
mounting/unmounting issues shound be fixed , added a new option to exclude OEM path from wiping with Factory Reset and can be enabled/disabled in settings (thx Team OpenKirin for this), this version will work even with newer updates that bump security patch version.
wipe cache is now fixed
fixed decryption on EMUI 8.1 (now you can use the same password/pin/pattern to decrypt in TWRP), /recovery_ramdisk no longer available for backup./vendor no longer available for backup (use /vendor_image instead),/system and /data can be unmounting issue with 8.1 devices is now fixed.
ORIGINAL SOURCE:
GO THERE AND SHOW SOME LOVE TO DEVS
TROUBLESHOOTING
Some of you have been reporting that mounting /system or another partitions doesn't work. I have discover that you need to decrypt data *before* to mount any other partitions.
espaciosalter20 said:
AWARE! THIS IS NOT MY WORK! ONLY SHARE HERE FOR TEST PURPOSE!!​
Hello guys! Our p10 doesn't have received so much love from developers around here, anyway, there's some small works to make things easier for p10 users, like @OldDroid TWRP version for EMUI 5.x and some advances from @Blackball on the ROM department.
Right now, for p10 users who had updated their devices to EMUI 8.0, we didn't have any "official" twrp working to our systems, so we have to use Blackball's TWRP version for P10 plus (8.0) with some drawbacks like ADB not working over USB or decrypting /data partition.
Click to expand...
Click to collapse
after flashing it loops after twrp start screen
funiewski said:
after flashing it lopps after twrp start screen
Click to expand...
Click to collapse
Same, twrp not loading menu screen, restart.
funiewski said:
after flashing it loops after twrp start screen
Click to expand...
Click to collapse
ok, checked. /data decryption is only necessary if you have set up fingerprint and pin code. If you have it, you only have to introduce your password ONCE (at first TWRP boot up) and in other reboots only cancel this action and you're ready to go.
espaciosalter20 said:
ok, checked. /data decryption is only necessary if you have set up fingerprint and pin code. If you have it, you only have to introduce your password ONCE (at first TWRP boot up) and in other reboots only cancel this action and you're ready to go.
Click to expand...
Click to collapse
Maybe it's misunderstanding but twrp never goes further than start screen for me
funiewski said:
Maybe it's misunderstanding but twrp never goes further than start screen for me
Click to expand...
Click to collapse
weird... can you tell me about your device? which p10 version (vtr-l09 or vtr-l29) and which EMUI version? thanks!
espaciosalter20 said:
weird... can you tell me about your device? which p10 version (vtr-l09 or vtr-l29) and which EMUI version? thanks!
Click to expand...
Click to collapse
VTR-L29, Android 8.1, RR rom, Gatorade kernel
funiewski said:
VTR-L29, Android 8.1, RR rom, Gatorade kernel
Click to expand...
Click to collapse
Ok, thank you. On Original Thread this bug is also tracked. Right now, this version doesn't work on 8.1 roms... You have to wait for debugging...
Hi...successfully flashed it without any errors (not using pincode or fingerprint)...
while backing up,it says it doesnt backup imgs and files in download in /data
(isnt it the main reason why we do backups? )
virusdunil said:
Hi...successfully flashed it without any errors (not using pincode or fingerprint)...
while backing up,it says it doesnt backup imgs and files in download in /data
(isnt it the main reason why we do backups? )
Click to expand...
Click to collapse
TWRP never did internal storage backups, you can do thst with your PC, OTG, etc... you don't need a custom recovery for that.
Confirm working for me on L09C432 using stock oreo firmware. '/data' seems to be decrypted and also 'adb shell' was successful.
I had to use
Code:
adb reboot recovery
though, Vol+ on bootup always takes me to eRecovery (which I assume is a good thing).
Edit: One thing I noticed is that this recovery does not mount the same partitions as the stock firmware does. For instance when using adb shell, /system showed different contents when started using recovery. I was able to do mount the correct /system partition manually though.
tadeussenf said:
Confirm working for me on L09C432 using stock oreo firmware. '/data' seems to be decrypted and also 'adb shell' was successful.
I had to use though, Vol+ on bootup always takes me to eRecovery (which I assume is a good thing).
Edit: One thing I noticed is that this recovery does not mount the same partitions as the stock firmware does. For instance when using adb shell, /system showed different contents when started using recovery. I was able to do mount the correct /system partition manually though.
Click to expand...
Click to collapse
Vol+ takes you to erecovery if you don't press it right after you power ON. Or if it's connected to PC, i think.
why I cannot flash this kernel zip? I can flash it only from blackball TWRP for P10+?
DallasCZ said:
why I cannot flash this kernel zip? I can flash it only from blackball TWRP for P10+?
Click to expand...
Click to collapse
Could you share your what's your error message?
It was something like error 1: wrong partition name. Some other P10 users have same problem, the only solution is to use Blackball P10+ TWRP recvoery, but that recovery doesnt support decryption and USB storage.
TWRP automatically shuts down for somehow after few seconds.
espaciosalter20 said:
AWARE! THIS IS NOT MY WORK! ONLY SHARE HERE FOR TEST PURPOSE!!​
Hello guys! Our p10 doesn't have received so much love from developers around here, anyway, there's some small works to make things easier for p10 users, like @OldDroid TWRP version for EMUI 5.x and some advances from @Blackball on the ROM department.
Right now, for p10 users who had updated their devices to EMUI 8.0, we didn't have any "official" twrp working to our systems, so we have to use Blackball's TWRP version for P10 plus (8.0) with some drawbacks like ADB not working over USB or decrypting /data partition.
I was looking for a solution around this and checking ROM systems across Huawei/Honor platform and i have found something interesting on Honor View 10 forums: a working TWRP which works very well with our p10 8.0 system. I have installed and tested some functions and seems to works very well, so i'm bring it to you to give some more extended testing about TWRP functionality under our system.
Disclaimer
This software comes with no warranty,XDA staff ,myself or TeamWin stuff can't be hold responsible for any damage it may cause to your device.​
Download and Installation
Download twrp recovery
Start your device in fastboot mode
Install the recovery using the following command:
Code:
fastboot flash recovery_ramdisk [name of the file].img --> ex: fastboot flash recovery_ramdisk twrp_blanc_0.1.img
Restart with this command:
Code:
fastboot reboot
Enter to the recovery and try it: Vol + (at device boot up)
IMPORTANT: /data decryption is only necessary if you have set up fingerprint and pin code. If you have it, you only have to introduce your password ONCE (at first TWRP boot up) and in other reboots only cancel this action and you're ready to go.
WHAT I HAVE TESTED:
Decrypting data partition: works
Mounting /system partition: works
Installing ZIP over /system: works
ADB over USB (including ADB sideload): works
MTP function: works
THINGS THAT NEED TO BE TESTED:
Backup&Restore
IMG writing
OTG function
CREDITS:
**** @zxz0O0 - This wouldn't be possible without this guy,so big big thank to him. *** i know him from my SONY devices time, a superb and talented developer ***
**** @Pretoriano80 - This guy have made all the adaptation of this TWRP for Mate 10/Honor View 10 from zxz0O0 work... All my respect for him!
**** TeamWin project ,obviously.
DOWNLOAD LINK:
PLEASE TRY IT AND REPORT BACK!
ORIGINAL SOURCE:
GO THERE AND SHOW SOME LOVE TO DEVS
Click to expand...
Click to collapse
Man Whay you do not take old TWRP Kirin edition, and just 3110 and just ad emui8 to work, i have it, but I can now beacose, I have 37 models program repairs for what I am paid of.
what?
f0rb1d said:
TWRP automatically shuts down for somehow after few seconds.
Click to expand...
Click to collapse
i have the same problem
This is the error that occurs in TWRP when flashing the HYPER Kernel. The only way to flash the Kernel is using BlackBall TWRP (but his TWRP doesnt support data decryption and usb connection to PC).

[Recovery] Chuwi Hi8 Air TWRP

Hello Everybody:
finally i was able to build TWRP 3.0.2.0 recovery for Chuwi Hi8 Air (Intel X5 Cherry Trail Z8350 processor)(64-bit)
i didnt test fully but i was able to mount all partition successfully and installed Magisk 17.1 and gained root
OTG is working also and MTP
Maybe after that somebody can port some ROM with higher android version than lollipop
Thanks to @Augustoandro for the guide here:
https://forum.xda-developers.com/android/general/guide-porting-twrp-source-t3843473
also for the Hi8 Pro TWRP from here:
https://techtablets.com/forum/topic/twrp-3-0-2-0recovery-for-chuwi-hi8-pro-64bit/
and also for stock recovery
Download Link:
https://mega.nz/#!8i4C2SgK!Qvx-fw_1JdwO4u66klgfwgOItwNZ2oJX6cdCKJSTP1o
Download and flash it with fastboot:
1- in developer settings check Allow OEM unlocking
2- turn off the tablet
3- power on and when selecting os appears select android and directly press volume down and keep holding until you see the fastboot menu
4- connect to pc
5- unlock thebootloader (WARNING USER DATA LOSE):
Code:
fastboot oem unlock
6- flash recovery using this command
Code:
fastboot flash recovery Chuwi_Hi8_Air_TWRP.img
7- when flash finish select reboot recovery from the menu on the tablet
8- done successful boot of TWRP
Can it work for hi9 plus
amitporedi007 said:
Can it work for hi9 plus
Click to expand...
Click to collapse
i dont think so
excuse me am not a professional developer i just followed the guid
try to follow it or ask in the guid post maybe he can port it for you
and also check this post:
https://forum.xda-developers.com/ge...tion/chuwi-hi9-plus-unlock-root-twrp-t3863722
I reflashed the Hi8-air using the Intel Phone flashing tool: I flashed the vendor provided Android system with a modified partition file, so that the Android occupies the whole emmc. The Android was working nicely.
I then followed your description and flashed your recovery image. Since then, I was unable to boot into the Android. I was quite scared that I bricked the device, but finally I managed to flash the Android again, losing your recovery image.
Am I doing something wrong? Do you have an idea why my device does not boot into Android after flashing your recovery image? Is there any other way to root the Hi8-Air without your recovery image? I did not find any other option. I suppose I was not quite lucky when I bought this device, as Chuwi did not sell as many of these as of the others, so there is not much support for this particular model.
bubnikv said:
I reflashed the Hi8-air using the Intel Phone flashing tool: I flashed the vendor provided Android system with a modified partition file, so that the Android occupies the whole emmc. The Android was working nicely.
I then followed your description and flashed your recovery image. Since then, I was unable to boot into the Android. I was quite scared that I bricked the device, but finally I managed to flash the Android again, losing your recovery image.
Am I doing something wrong? Do you have an idea why my device does not boot into Android after flashing your recovery image? Is there any other way to root the Hi8-Air without your recovery image? I did not find any other option. I suppose I was not quite lucky when I bought this device, as Chuwi did not sell as many of these as of the others, so there is not much support for this particular model.
Click to expand...
Click to collapse
After flashing the recovery it is necessary to flash Magisk so it batches the boot.img to be able to boot (it disable secure booting)
another way to root is to batch the boot.img using another android device (copy hi8 boot.img to the other device and batch it with magisk then flash from fastboot)
would pls link me to that android system file?
jaerose said:
would pls link me to that android system file?
Click to expand...
Click to collapse
what system file exactly ?
if you need the stock firmware files here it is
https://forum.chuwi.com/t/topic/924
but if you want the modified partition table its in this file attached (i made it myself) , you need to replace the gpt.bin file when using flash tool
sorry i dont have a detailed guide but i think you can find it on google
Use the file at your own risk , and only on Chuwi Hi8 Air, and again at your own risk

Dual Boot Ubuntu Touch and Android Redmi7A Codename Pine

I wanted a Linux and Android in the same Cellphone. About Android, it's a Linux but with difference and it has all the features. Let's know 'how can we boot Ubuntu Touch and Android in the same Cellphone'.
1. First of all we need to unlock the bootloader of our device.
2. ADB and Fastboot drivers must be installed. Or you can download Android SDK Platform tools .
3. USB-Debugging must be enabled.
4. Connect phone with PC via USB. Reboot phone to fastboot mode (Volume-down + Power).
5. Drop the recovery image into the adb folder and open command prompt.
6. Enter the following commands:
Code:
fastboot devices
fastboot flash recovery recovery.img
fastboot reboot
TWRP 3.3.1-1
[If you already have custom recovery then just skip.]
7. Reboot to recovery (Volume-Up + Power; release Power when phone turns on, keep holding Volume-Up until you see screen of TWRP). If TWRP asks for PIN, enter the PIN of your unlock screen.
8. Wipe > Cache and System from Advanced Wipe. Format Data > Yes. Now reboot to recovery.
9. Flash firmware and vendor arm64.
10. Flash any Android GSI ARM64-AB. (I flashed AOSP ARM64-AB GO)
11. Flash Ubuntu Touch GSI. It works in arm64 a/ab.
12. Now which one you want to boot. If you want to boot Ubuntu Touch then flash Halium_Boot, if you want Android then Android_Patched_Boot, it's your choice.
Credits :
erfanoabdi (ubport gsi)
nikp123 & YaAlex (arm64 kernel)
Phhusson (AospGo GSI)
TheGame455 (firmware and vendor)
Khushraj Rathod (VoLTE Fix)
VoLTE-Fix for Android
VoLTE is not working in Ubuntu Touch GSI
Ubuntu Touch Passphrase : phablet
Special thanks to Canonical Ltd, ubport and Xiaomi.
Thanks
Is it possible to install only UBuntu Touch in this phone, without Android?
Jazzda said:
Thanks
Is it possible to install only UBuntu Touch in this phone, without Android?
Click to expand...
Click to collapse
What you want, GSI isn't good! It takes data partition.
Some people can not understand dual boot means you can keep both, and if you don't want another then just skip that part and only flash one.
First having a Custom Recovery
1. Unlocked Bootloader of Phone.
2. ADB and Fastboot drivers must be installed on PC/Laptop.
3. USB Debugging Enabled in Phone.
4. Connect phone with PC via USB.
5. Reboot phone to fastboot mode (Volume-down +Power).
Or Open command prompt in adb folder and type :
adb devices
adb reboot bootloader
6. Place the recovery image into the adb folder. Enter the following commands:
fastboot devices
fastboot flash recovery recovery.img
fastboot reboot
[Note: If you already have custom recovery then skip above.]
Installation Guide:
1. Reboot to recovery (Volume-Up + Power).
2. Wipe > Cache and System from Advanced Wipe. Format Data > Yes. Now reboot to recovery.
3. Flash firmware and vendor arm64.
Ubuntu Touch
4. Flash Ubuntu Touch GSI.
Android
5. Flash any GSI of ARM64-AB of Android.
6. Flash Boot Image.
Switching OS between Ubuntu and Android : Just keep both the Boot Zip file in storage and flash whichever you wanna boot.
Downloads :
TWRP Recovery
fw-vendor-arm64_pine_11.0.11_GLOBAL
For Ubuntu
Halium_Boot_Pine
Ubuntu Touch GSI
For Android
Redmi7A_patched_boot_11.0.11global_64bit
AOSP ARM64-AB GO
[AOSP GO GSI of Phhusson is working smoothly and takes less space, because it's go-edition.]
I think it's clear now, thanks
fw-vendor 11.0.11 vs 10.2.5, what's the difference and/or whats best?
i followed the steps after reboot the screen is stuck in fastboot mode.where to download hallium boot the link is broken
redmikos said:
i followed the steps after reboot the screen is stuck in fastboot mode.where to download hallium boot the link is broken
Click to expand...
Click to collapse
It's illegal to share kernel without copyright, so there is no sharing buddy, search it somewhere else. These days gpl, gnu has changed their definition. In past you could share without any restriction but not now. So why should I share them and get caught in legal proceedings.
You got it now!
at first thank you very much,are you still working on it? i have problem while record video, actually when i try to open the file, it looks corrupt and i can't run it, can i try to change some setting?sometime it work sometime no, i don t know why

Categories

Resources