[MOD] [BOOTLOGO] Customize OPPO Find 7 Boot logo - Oppo Find 7 and 7a

From an idea of @chillstep1998 I've made an OPPO Find 7 variant (with help in testing of @KOJANHQ)
How to:
Unlock your bootloader
Download and install driver for fastboot
Download the archive (or compile from source) the tool
Make or mod and image of 1440x750 (width x height) and save it as bootlogo.png in executable directory
Open terminal and do the following
"Find7Bootlogo -b" to create the logo-modified.bin file
"Find7BootlogoTools -b -s" to create the logo-modified.bin and save the raw image
Wait for the end of the program
Flash the logo-modified.bin with "fastboot flash LOGO /path/to/logo-modified.bin"
Reboot with "fastboot reboot"
Download
In the attachment there is the 64 bit version for Mac OS X. For other (linux or archs) download the source and compile it
Source
GitHub
Credits
@chillstep1998 for the works for OnePlus One
Last but not least: I don't own an OPPO Find 7 and I can't do anything without your help. If you have a suggestion please let me know, thanks

Not working on OS X 10.10 Beta.

My modified version (fixed commandline parsing):

KOJANHQ said:
My modified version (fixed commandline parsing):
Click to expand...
Click to collapse
Changes merged Thanks!
The logo-modified.bin works?

MarchriusDennis said:
Changes merged Thanks!
The logo-modified.bin works?
Click to expand...
Click to collapse
Yes. Compiled, tested and workinking)

Great work, Bro!

After following the steps, it seems that my phone is now stuck in a bootloop, unfortunately. It doesn't matter if I try to boot it up normally, or get into fastboot, or get into recovery. When I try to turn on the phone in any way, it just vibrates, stays on a black screen, doesn't show the boot logo, and then restarts. So it's just vibrating and restarting every few seconds. Any ideas?

Hi, may I ask if there is some way to actually make the size suitable for my OPPO F1f?
Just asking
EDIT: Additional Details:
I have SOME knowledge of C++
My OPPO F1f has a screen resolution of 1280*720
I already flashed the Find 7 logo.bin and it works fine ( for the fact that the picture is slightly off screen ( a.k.a too BIG ) )
Most of our custom ROMs were ported from the Find 7 so compatibility should not be a problem.

Related

[MOD/HACK][Flashable zip]Modify splash screen

Hello everyone!
I made a thread a while back showing you how to manually create and modify the splash screen of your phone. I found this a little bit too hard for the average user, so I created an automatic system that does it for you and the ONLY thing you need to do is create a .png image!
Let's go.
Temporary download(getting upload error 500 for downloads section): Download
Included in the downloadable zip file, you will find 2 things:
1: The application to convert your .png image to a kernel .rle image, this is a simple tool, click to select file and press convert.
2: A flashable zip that 'hacks' your kernel to replace the current logo, similar to the way multirom injects itself into your kernel
Click to expand...
Click to collapse
Requirements:
1: A compatible .png file: WARNING! This is important: your image needs to be exactly 1080x1920! I do not know if your phone will still boot without the correct image!!
2: A computer
3: Your phone
Click to expand...
Click to collapse
Know issues:
Only works with kernels that have used LZMA compression!
This means that it will work with most kernels but a few.
examples:
DOOMKernel
More? Report any non-working kernels and I will add them to the list.
Click to expand...
Click to collapse
How to:
1: Extract the contents of the zip to a directory of your choice.
2: Open the 'XZ1RLECreator' folder and launch the application: 'XZ1RLECreator'.
3: Press the select file button and choose the correct .png image (name does not matter).
4: Press Convert.
5: The tool will convert it to RAW and will then convert it to a rle image.
6: Once done you will find the converted image in the 'Output folder' it is named: 'logo.rle' (do not change the name).
7: Copy the 'XZ1RLEModifier' zip to your phone.
8: Copy the 'logo.rle' file to the root of your internal storage (/sdcard).
9: Reboot your phone into recovery and flash the 'XZ1RLEModifier' zip.
10: If no errors occur reboot your device and you should now have a new splash screen.
Click to expand...
Click to collapse
If the zip fails to install it most likely has something to do with the kernel. If it fails to install please reply to this thread with the following information:
Kernel name
ROM name
Android version
Recovery used
Click to expand...
Click to collapse
This tools is in alpha stage and was tested using only TWRP! I am not responsible for any damage that was done to your phone, but this will only touch your kernel so flashing a new kernel should fix any issues.
Enjoy your new splash screen,
Noahvt
XDA:DevDB Information
XZ1RLECreatorAndModifier, Tool/Utility for the Sony Xperia Z1
Contributors
noahvt
Version Information
Status: Alpha
Created 2015-04-06
Last Updated 2015-04-06
Nothing in "Output" folder. Tried it several times.
Black kernel (Tried with LP SlimKernel and Trinity, no splash img)
BlackSoulxxx said:
Black kernel (Tried with LP SlimKernel and Trinity, no splash img)
Click to expand...
Click to collapse
Can you send me the image you used?
I took random pics(1080x1920) on Google Image to test
BlackSoulxxx said:
I took random pics(1080x1920) on Google Image to test
Click to expand...
Click to collapse
The image you chose might not be working maybe the phone cannot load it or something, IDK you might want to choose a very simple image to try it out with
Sure, I'm still looking for new image to test with LP SlimKernel, using TWRP 2.8.6.0....
bro i need help on my samsung

[GUIDE] How to Create Custom Splash Screen (Boot Logo) for Wileyfox Swift

Creating custom splash.img for Wileyfox Swift:
Note:
This is not bootanimation, this is the splash screen (the 'Wileyfox' logo which is displayed when device is switched ON)
This is for Wileyfox Swift only..
For other devices, please send me your splash.img so that I can create a tool for you too.
Before proceeding, make sure fastboot is setup properly in your computer (just incase something goes wrong)..
STEPS:
1. Make sure you have a picture for your custom splash with:
i. Resolution: 720x1280
ii. PNG or JPG format
iii. picture size less than 200kB
iv. less colorful
(Tip: Try compressPNG.com to reduce no. of colors in PNG picture.
Upload your picture, click Settings, reduce number of colors to 16 or below & download it)
2. Download this tool to your computer: CM_Splash_Maker.zip
And extract it.
3. Drag & drop your splash picture on the file "CREATE_Logo.bat" & select your device.
4. After the custom splash image (filename.img) is created, the output directory will be opened..
5. Transfer the filename.img to the device's internal storage & flash it using Terminal Emulator like:
Code:
dd if=/sdcard/filename.img of=/dev/block/bootdevice/by-name/splash
(Or you can flash it from fastboot as given below)
Note:
Incase you flashed & your device doesn't bootup, don't worry
Just flash the original splash.img from fastboot like:
Code:
fastboot flash splash splash.img
Credits:
1. Based on my original tool for Yu devices here..
2. @GokulNC (myself ) who created this tool..
3. @beroid (who provided the stock splash.img & tested this).
Hit the Thanks :good: button if it worked for you
Don't forget to share the custom splash screens that you made, since others may find it useful
Hello, thank you very much for these useful guide.
To create my splash screen I had to run your scripts inside a virtualbox running windows as I'm a linux user.
But it was'nt a good solution to run only two .bat files.
So I decided to write bash scripts that should be compatible with almost every *NIX systems.
You should have ffmpeg installed on your computer. If this is not the case, install it with your favourite package manager.
Download my archive at the end of this post and extract it
If you are in trouble running CM_SPLASH_RGB24_converter, just go to bin/ directory, then
Code:
gcc CM_SPLASH_RGB24_converter.c -o CM_SPLASH_RGB24_converter
Then to create your splash screen just run
Code:
./CREATE_Logo.sh filename.png
where filename.png is the logo you want to add to your splash screen
The splash.img created is located in the output/ directory
Similarly to extract your splash screen into a png picture
Code:
EXTRACT_Logo.sh splash.img
The picture extracted is located in output/extracted_logo/
Are there any custom Splashscreens around ?
perfectly functioning on wileyfox swift bro.. thanks a lot
good day bro GokuINC.
can you also make a splash maker for android one seed which have the same/similar functions of this cm splash maker tool? so fastboot logo can be also changed? thank you very much for this.. i've been using it since it was posted.
dont work on lineage os
Thank you for this tool and the adjustments for the Wileyfox Swift.:good:
In my case, the dump of the "splash" partition was about 10 MB large, while the actually used part is about 210 KB, so I guess the image is already large enough for more complex images, too. At least in my case it was no problem.
RusWF said:
dont work on lineage os
Click to expand...
Click to collapse
For me it works, with the recent LineageOS 16.0 and using the more recent version on GitHub.
fred0r said:
Are there any custom Splashscreens around ?
Click to expand...
Click to collapse
Keeping the stock fastboot/battery images (which are slightly different to the versions in the ZIP/on GitHub!), I modified the logo and moved the Wileyfox logo to the top and added the NSA monitored device logo in the center.
It just seems that it is not possible to add attachments being a new user...
Wow, glad something like this exists!
Does this work with newer variants of the WileyFox Swift line of phones?
I am specifically interested in changing the splash screen on my Swift 2X.
I'll be happy to provide a dump of my current splash if need be, when I figure that out.

LG V30 kernel build tools & other stuff [snapdragon devices kernel build procedure]

LG V30 kernel build tools & other stuff [snapdragon devices kernel build procedure]
LG V30 kernel build tools & other stuff [snapdragon devices kernel build procedure]
Hi guys,
attaching here tools to manage boot.img, extract ramdisks and other tasks as I move along getting to know this device better
split_boot - used to extract/split ramdisk from kernel
.
split_boot.zip
is a perl script included in that zip-file. So extract it and run it like e.g.
perl ./split_boot boot_v30_debloated_stock-oreo.img
other references:
https://forum.xda-developers.com/showthread.php?t=2670512 [DEV][TEMPLATE] AnyKernel2 - Easily Mod ROM Ramdisk + Pack zImage [Flashable Zip]
kudos:
CNexus https://forum.xda-developers.com/showthread.php?t=2319018
.
Default command line & arguments for (custom selinux=permissive) Stock ROM related LG kernel is:
perl ../split_boot boot_v30_debloated_stock-oreo.img
Page size: 4096 (0x00001000)
Kernel size: 17903786 (0x011130aa)
Ramdisk size: 5353096 (0x0051ae88)
Second size: 0 (0x00000000)
Board name:
Command line: 'console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 androidboot.hardware=joan buildvariant=user androidboot.selinux=permissive'
Base address: (0x00000000)
Writing boot_v30_debloated_stock-oreo/boot_v30_debloated_stock-oreo.img-kernel ... complete.
Writing boot_v30_debloated_stock-oreo/boot_v30_debloated_stock-oreo.img-ramdisk.cpio.gz ... complete.
Unpacking ramdisk... complete.
Click to expand...
Click to collapse
so:
base 0x00000000
kernel offset 00008000 (0x00008000)
tags offset 00000100 (0x00000100)
second offset 00f00000 (0x00f00000)
ramdisk offset 01000000 (0x01000000)
the kernel still doesn't boot for me - must be the specific mkbootimg binary that is needed (ran into a similar issue on Sony, Z5 where only a very specific mkbootimg would lead to a booting kernel & the limitation of specific ramdisk makeup on Stock ROM allowing boot)
another reference post (2nd)
another reference post (3rd, in case it's needed)
Any idea if color controls can be built into kernel?
suzook said:
Any idea if color controls can be built into kernel?
Click to expand...
Click to collapse
KCAL ?
most likely yes
zacharias.maladroit said:
KCAL ?
most likely yes
Click to expand...
Click to collapse
Yes. That's good news.
Yes you could..but are you realy interesst in this?
LG but a lot of own code inside the kernel.
I complete removed a lot of it, but the downside is, batterie life is not as good as with stock kernel from lg
djsven said:
Yes you could..but are you realy interesst in this?
LG but a lot of own code inside the kernel.
I complete removed a lot of it, but the downside is, batterie life is not as good as with stock kernel from lg
Click to expand...
Click to collapse
Sure, I got the device and now I have to deal with it, it seems the best in functionality out there (microSD, headphone jack, etc.)
Why remove lots of stuff in the first place (too much or diverge too much from Stock behavior) ?
Battery in the debloated ROM + custom Kernel (from SGCMarkus or you ?) runs way better than Stock kernel right now (almost horizontal battery line in Airplane Mode, Standby drain)
and I'll carefully add modifications to improve upon that
Thanks for the warning though
Glad to see someone who knows their way around the Linux kernel doing this. I am out of work for another month or two so I decided to download the kernel source and various tools/tutorials and start learning how to create a custom kernel. I believe I've got my environment setup and will be following this closely in hopes of learning more along the way!
djsven said:
Yes you could..but are you realy interesst in this?
LG but a lot of own code inside the kernel.
I complete removed a lot of it, but the downside is, batterie life is not as good as with stock kernel from lg
Click to expand...
Click to collapse
Apologies if the immediate reply to your post came off as arrogant or standoffish - that wasn't my intention,
I'm just starting to see and realize what a big mess and if-def hell this whole source is
Sure, I am still interested in it - there are surefire ways to improve battery significantly and I'll be tackling several of those one by one - it'll take time but I'll get there.
I've had similar experience with Sony source where it was significantly less bad but some vendor changes are still weird and break with upstream & make updates hard
so I was already kind of pissed somewhat - this isn't supposed to get directed at you or others in the community.
Where it's possible I'll leave the if-defs and add the changes,
it might not be the cleanest way but sometimes it's necessary.
e.g. I realize we might actually need download mode or at least easy access to get to the bootloader since the phone doesn't appear to shut down properly even with the 8 second power + vol down combo
so we want to have a guarantee to recover the device if it's stuck in a bootloop.
[correct me if I'm wrong, that's at least my first impression to see how the device works and behaves]
Thanks
Have you tried initiating the factory reset via hardware buttons? It boots to recovery. If you have twrp that's it. At least the one time I boot looped. On stock recovery I imagine it issues commands. But twrp must not understand them
Edit. Just tried. Confirmed working
zacharias.maladroit said:
Apologies if the immediate reply to your post came off as arrogant or standoffish - that wasn't my intention,
I'm just starting to see and realize what a big mess and if-def hell this whole source is
Sure, I am still interested in it - there are surefire ways to improve battery significantly and I'll be tackling several of those one by one - it'll take time but I'll get there.
I've had similar experience with Sony source where it was significantly less bad but some vendor changes are still weird and break with upstream & make updates hard
so I was already kind of pissed somewhat - this isn't supposed to get directed at you or others in the community.
Where it's possible I'll leave the if-defs and add the changes,
it might not be the cleanest way but sometimes it's necessary.
e.g. I realize we might actually need download mode or at least easy access to get to the bootloader since the phone doesn't appear to shut down properly even with the 8 second power + vol down combo
so we want to have a guarantee to recover the device if it's stuck in a bootloop.
[correct me if I'm wrong, that's at least my first impression to see how the device works and behaves]
Thanks
Click to expand...
Click to collapse
8 sec Power + Vol-, and when it shuts off, release both, immediatly press both again (at the same time), and as soon as the LG V30 logo appears, release power and press/hold it again.
Should get you to the factory reset menu, confirm twice with "yes" (navigate via vol/power buttons), and TWRP should boot fine.
Might take a few tries to get the right timing for that ^^
TotallyAnxious said:
Have you tried initiating the factory reset via hardware buttons? It boots to recovery. If you have twrp that's it. At least the one time I boot looped. On stock recovery I imagine it issues commands. But twrp must not understand them
Edit. Just tried. Confirmed working
Click to expand...
Click to collapse
TWRP would understand them, but they are disabled, because via button dance you initiate a factory reset on stock recovery. TWRP just ignores that wipe command entirely, and just boots normally
TotallyAnxious said:
Have you tried initiating the factory reset via hardware buttons? It boots to recovery. If you have twrp that's it. At least the one time I boot looped. On stock recovery I imagine it issues commands. But twrp must not understand them
Edit. Just tried. Confirmed working
Click to expand...
Click to collapse
SGCMarkus said:
8 sec Power + Vol-, and when it shuts off, release both, immediatly press both again (at the same time), and as soon as the LG V30 logo appears, release power and press/hold it again.
Should get you to the factory reset menu, confirm twice with "yes" (navigate via vol/power buttons), and TWRP should boot fine.
Might take a few tries to get the right timing for that ^^
TWRP would understand them, but they are disabled, because via button dance you initiate a factory reset on stock recovery. TWRP just ignores that wipe command entirely, and just boots normally
Click to expand...
Click to collapse
@TotallyAnxious @SGCMarkus
thanks !
So that button combo and timed press dance seems to lead it now (re)booting to bootloader/fastboot mode where I'm able to shut it off and flash or boot something else after a failed bootup of the kernel.
This was clearly solved in a more easier & convenient way on Sony (at least Z5).
It's still weird that the kernel wouldn't boot, even with the mentioned superr kitchen and re-used ramdisk + google's 4.9 toolchain and unmodified kernel config from the lge-oreo branch.
references:
https://github.com/SGCMarkus/android_kernel_lge_msm8998/commits/lge-oreo
https://forum.xda-developers.com/ap...chen-superr-s-kitchen-v1-1-50-v2-1-6-t3597434
zacharias.maladroit said:
@TotallyAnxious @SGCMarkus
It's still weird that the kernel wouldn't boot, even with the mentioned superr kitchen and re-used ramdisk + google's 4.9 toolchain and unmodified kernel config from the lge-oreo branch.
Click to expand...
Click to collapse
Hello.
I've tried to build kernel from official H930DS sources, version v22j. And I've got the same issue. What have I tried and what tools I have used:
1. Linaro 4.5.4 toolchain
2. Google official toolchain 4.9 from Android NDK 17c package.
3. mkbootimg for unpacking/repacking boot.img
4. abootimg for unpacking/repacking boot.img
I have used joan_global_com-perf_defconfig and followed the instructions in README.txt in sources package. The config was not changed. Kernel has compiled without any errors. Than I repack boot.img from my current firmware v22j with new kernel. And tried to boot in fastboot. An have no luck. Then I just took unchanged boot.img, unpacked it and packed again, boot from fastboot. And it has booted. I did it just to ensure, that unpack utility works fine.
I have tried different sources, different toolchains, different configs with no luck. I'm not newbie in this, I compiled kernels for linux, for lenovo A850, for LG G2 and always it worked fine. Now I don't know what to do, I try to compile it and handle for a week without any success. I didn't have any logs or LLCON, or any other debug info.
Could you please tell me how did you compile your kernels and what am I doing wrong?

[TOOL] [LINUX] Tissot Splash Maker (mod all 5 PNG's in splash.img)

Hey,
Here is a simple to use program to build splash.img from 5 PNG's. The 5 PNG's are:
1. Mi logo screen on locked bootloader
2. Fastboot image
3. Mi logo screen on unlocked bootloader
4. 'System destroyed' image
5. 'Please lock the bootloader' early splash.
I have ported the AutoIt3 source code to C, so it could work on Linux.
This project is a Linux fork of the tool: https://forum.xda-developers.com/mi-a1/themes/tool-tissot-splash-maker-mod-5-pngs-t3799701
Like the old script, there is still a size limit per splash. (THE HACK ALLOWED BY THE WINDOWS IS NOT PRESENT IN THIS LINUX COUNTERPART)
Usage is simple - create an "input" folder, with the 5 PNGs (00.png, 01.png .... 05.png) and run the tool (after compiling it and installing python2 and python2-pil). If there are any errors it will say so, otherwise you will get a splash.img that you can flash in fastboot:
Code:
Code:
fastboot flash splash splash.img
The original input folder has all the stock images included.
FOR DOWNLOAD SEE GITLAB: https://gitlab.com/ioanm/tissot_splashimg_maker
If this tool has helped you please consider donating on LiberaPay: https://liberapay.com/iodev/donate
Enjoy!
iodev said:
Hey,
Here is a simple to use program to build splash.img from 5 PNG's. The 5 PNG's are:
1. Mi logo screen on locked bootloader
2. Fastboot image
3. Mi logo screen on unlocked bootloader
4. 'System destroyed' image
5. 'Please lock the bootloader' early splash.
I have ported the AutoIt3 source code to C, so it could work on Linux.
This project is a Linux fork of the tool: https://forum.xda-developers.com/mi-a1/themes/tool-tissot-splash-maker-mod-5-pngs-t3799701
Like the old script, there is still a size limit per splash. (THE HACK ALLOWED BY THE WINDOWS IS NOT PRESENT IN THIS LINUX COUNTERPART)
Usage is simple - create an "input" folder, with the 5 PNGs (00.png, 01.png .... 05.png) and run the tool (after compiling it and installing python2 and python2-pil). If there are any errors it will say so, otherwise you will get a splash.img that you can flash in fastboot:
Code:
Code:
fastboot flash splash splash.img
The original input folder has all the stock images included.
FOR DOWNLOAD SEE GITLAB: https://gitlab.com/ioanm/tissot_splashimg_maker
If this tool has helped you please consider donating on LiberaPay: https://liberapay.com/iodev/donate
Enjoy!
Click to expand...
Click to collapse
Thank you very much for your work. I ported your C program to Linux bash. Everybody, who is interested, could find it on Github
https://github.com/dwi336/Tissot-Splash-Maker

[ROM][OFFICIAL][Pie][Dipper][PORT]Ubuntu Touch port for Xiaomi Mi 8

View attachment 5376913
What is it? What is Ubuntu Touch?
Ubuntu Touch, as comes from naming, is Ubuntu managed to run on phone.
Well, Canonical abandoned it, so community organization, UBports, now develops, maintains, and ports UT to new devices.
And this is what the thread is about. The amount of devices able to run UT was 63(as written on website at the time of writing this post). But now it is 64 devices.
The 64th port to Xiaomi Mi 8.​So, lets talk now what works, and what is not(you will also be able to see that on website, as soon as merge request will be accepted).
​What works:
Actors​
Manual brightness(auto seems not supported by UT, idk)​
Notification LED​
Vibration​
Torchlight​
Camera​
Flashlight​
Photo​
Video​
Switch between front and rear cameras​
Cellular​
Carrier info​
Calls​
SMS​
Audio routings (switching between main speaker, and phone speakers)​
Volume control​
Misc
Battery percentage
Online charging(while phone is on, or in sleep/standby state)
UBports recovery
Network
WiFi(2.4GHz, 5GHz)
Bluetooth
Hotspot(partially, seems that 5G is not supported)
Flight Mode
Sensors
Fingerpring
GPS
Rotation
Touchscreen(ofc, otherwise I would write this post)
Sound
Microphone
Earphones
Loudspeaker
Volume Control
USB
ADB
MTP
Several things, are not tested, such as Wireless Display, NFC, SIM PIN Unlock, MMS, Dual SIM.
Non working features are Offline Charging, Auto-brightness, Proximity Sensor(you need to click the Power Button, that won't stop the call).
Big thanks to TheKit who helped me with the port.
TheKit's Gitlab and UBports forum profile.
Right now, config for UBports Installer is waiting approval of pull request, and merge request for devices.ubuntu-touch.io is still not approved, you will have to do everything manually. UBports Installer config PR finally merged, but only Global versions are supported, since firmware files that are flashed by Installer are for Global. If you do install, be sure to flash vendor and firmware packages for your variant after.
WARNING! YOU MUST HAVE UNLOCKED BOOTLOADER! EVERY THING YOU DO, YOU DO ON YOUR RISK, IF YOU BRICKED DEVICE, THATS YOUR FAULT, NOT MY! I DO NOT TAKE ANY RESPONSIBILITY FOR YOUR BRICKED DEVICE!
Preparations before installation.
Flash TWRP recovery
You need to download and flash stock firmware and vendor from Android 9, MIUI V11.0.6.0.PEAMIXM(be aware that this Vendor+Fw is for Global, if your Device is Chinese or Russian variant, or any other, flash vendor package according your phone variant). It is compressed into ZIP file, so you will have to flash it though TWRP. Do not use adb sideload, push file to any directory you want, and install it from phone.
Download boot.img, system.img, recovery.img from here.
In TWRP go to "Wipe" ==> "Format Data" ==> Type "yes" ==> Enter. Then go to Reboot ==> Recovery. After restarted. Again go to Wipe ==> Advanced Wipe, and select all partition except USB-OTG
Now we have two ways of installation, from TWRP, and from Fastboot.
TWRP
On PC:
Code:
$ adb push system.img /tmp
$ adb push boot.img /tmp/
Now go to "Install"
Get to /tmp/ directory
"Install Image"
Flash boot.img to Boot partition, system.img to System.
Then reboot to system.
If system works, reboot to TWRP again and push recovery.img to /tmp/, then flash it to Recovery partition.
Fastboot method:
Code:
#Simple as that
$ fastboot flash boot boot.img
$ fastboot flash system system.img
$ fastboot flash recovery recovery.img
#Flash recovery only after you are sure system works.
Or you can just install a installable zip archive I've recently made. All my builds will be hosted on GitHub Releases on my repo. New builds will come by every new official OTA release. UBports recovery is not included, installation goes proceeds from TWRP, install just as simple as custom ROM installation. Btw, do you want me to add notch patches to system image, so it doesn't look awkward?
Note: this zip is not signed, so disable signature verification before installing, or installation will fail.
Optionally you can adjust your panel so it doesn't look weird. Rn idk how to move panel below the notch(display cutout, I hate Apple for that). It moves buttons in Panel below, and adjusts height of the panel. This repo will do everything for you. Just download it to device. And run apply-notch-hax.sh. It will automatically find device name, apply patches, and restart Unity.
Note: run the script as standard user, not root.
Note2: if you get bootloop, wipe system, format data, restart bootloader, flash everything again, but before rebooting to system try flashing SELinux permissiver. And don't flash Magisk, it's useless, and may destroy your system.
Device source: Gitlab
Kernel source: Gitlab
Gitlab CI build artifacts: Gitlab
Join Telegram support group if you need any help.
See all supported devices at official website.
P.S. Since you have to use fastboot, and UBports Installer uses fastboot, there may be some difficulties for Ryzen CPU users. I attached zip file with executable (.bat file). It will allow you use fastboot with USB 3.x + Ryzen. Unpack it. And run .bat file as admin. Reboot. Voila, fastboot works as should.
Linux users should either use another laptop with Intel CPU, or flash from Windows, or use USB 2.0 hub.
P.S.S. Ok, I managed to get GitHub CI to work, so now if any of you want to test fixes and new features, head to this GitHub repo, and download artifacts from "Make OTA images"(in Actions tab), and flash them using fastboot.
Amazing work! I've always wanted to port UBTouch to Mi 8 but I couldn't get WiFi and mobile data to work on my attempts. As my primary phone, I needed it to be online as much as possible. Really happy to be able to use it on our devices
I've noticed an issue (I haven't managed to recreate this however):
- The OS can't switch between audio outputs, for example I need to restart my phone to hear sounds from loudspeaker after making a phone call. Please let me know if there's a workaround for this issue.
I'll be looking out for more issues to report. Once again, thanks for this port it's amazing
someone plz port Ubuntu to poco f1 too
gamerlucky said:
someone plz port Ubuntu to poco f1 too
Click to expand...
Click to collapse
It is already ported, a long before Mi 8
@itagizade have you tried waydroid on this?
nSKN3i said:
@itagizade have you tried waydroid on this?
Click to expand...
Click to collapse
No still not.
this amazing work. i have ran some x11 app on my phone,jt works. now i can say hava a pc in my pocket . one problem i found is system partion size too small (only 3g), this not enough if i want install more linux package lije chrome firefox
I updated download link, so if you have already flashed everything, I suggest you to flash a new recovery, as previous one, identified device as Mi MIX 3.
it is still complex for my level of knowledge to install this rom on my Mi 8 and it is with great joy that we have a port like this from Ubuntu Touch and that in the future it will be easier to install and maybe other ports as well as SailfishOS in the menu. Mi 8 great job Dev.
itagizade said:
It is already ported, a long before Mi 8
Click to expand...
Click to collapse
link please
gamerlucky said:
link please
Click to expand...
Click to collapse
See on devices.ubuntu-touch.io.
tried it out and worked great, glad to see something different, keep up the excellent work bro!
hey i was wondering about file system can we use f2fs ?
I tried installing apk files but getting error
Also notch fix gives me this error in terminal
EDIT: nevermind the apk i forgot to run anbox-tool install
EDIT2: nevermind notch fix i just pushed the file to downloads and run sh command
Amazing work! It is the fastest rom I have ever installed! The SIM PIN unlock works well and the offline charging partially (approximately, five minutes after connecting the charger). I hope NFC works, too. In the future, it would be nice if apply-notch-hax.sh was fixed (error, line 57). Anyway, thank you for porting and providing this rom!
For Waydroid support, there are some instructions here. To start the container service, use the following command:
Code:
sudo waydroid container start
Advanced Gears said:
Amazing work! It is the fastest rom I have ever installed! The SIM PIN unlock works well and the offline charging partially (approximately, five minutes after connecting the charger). I hope NFC works, too. In the future, it would be nice if apply-notch-hax.sh was fixed (error, line 57). Anyway, thank you for porting and providing this rom!
For Waydroid support, there are some instructions here. To start the container service, use the following command:
Code:
sudo waydroid container start
Click to expand...
Click to collapse
Glad you enjoy it. Right now I'm a little busy, but asap I will continue the work on this. Gotta make it daily-driver ready.
About error with `apply-notch-hax.sh`, other people have successfully used that script. Could you please specify the error?
The touch has been dead since I flash This rom
MilkywayOpenSource said:
The touch has been dead since I flash This rom
Click to expand...
Click to collapse
You mean Touchscreen is not working? Did you change you stock panel?
No,
MilkywayOpenSource said:
No,
Click to expand...
Click to collapse
Is your device Chinese version, or any other that Global?
It is global and after I install Ubuntu touch the screen never response to touch even in twrp

Categories

Resources