I had the Samsung galaxy nexus for a while and I loved vanilla android. Then I cracked the screen and washed it in the washing machine. So I bought a galaxy note II. I would like to recreate that on my device, if possible. I have been reading through the forums here, and while I don't doubt that all of the information is some where, I can't sort out what is what.
So, is there
1. A beginner guide to rooting and loading roms (and whatever else is needed like radios??? etc), preferably from a linux machine
2. A list of up to date roms that offer an experience like the galaxy nexus.
Cyanogenmod and AOSP seem to be fairly close to the plain google experience, but there must be dozens of roms listed on the forums.
Edit 1:
teamhacksung . org /wiki/index.php/CyanogenMod10.1:t0lte:How_to_install
This page seems to have quite a bit of information, although some specific to Windows, for installing cyanogenmod 10.1 including links to all of these misc things you need like ClockworkMod Recovery and Google apps.
Edit 2:
galaxynote2root . com /galaxy-note-2-root/how-to-root-galaxy-note-2-on-linuxubuntu/
This page gaves good directions on rooting. That same website has links to several roms for the galaxy note 2 as well as a beginner's/dummy's guide to loading a custom rom.
Step 1 - Root your device
Step 2 - Transfer chosen rom in its original zip format to either the internal or external storage
Step 3 - Reboot to CWM or TWRP (two likely "recovery" softwares you could load during root process... twrp - team win recovery project, cwm - clockwork mod)
To boot into recovery turn the device off, hold down the power, center home and volume up buttons until recovery screen shows.
Step 4 - Choose wipe data/factory reset
Step 5 - Choose install zip from sdcard
Step 6 - Choose zip from sdcard (or external sdcard if that's where you put it)
Step 7 - Browse and select the rom zip (not the gapps yet), and confirm to install it. This should take around 5 minutes.
Step 8 - Repeat steps 5 - 7, replacing the rom zip with gapps.
Step 9 - Choose wipe cache partition
Step 10 - Reboot!
My recommended method of rooting would be the root toolkit.
Sent from my SGH-T889 using xda premium
OK, the root toolkit from here: http://forum.xda-developers.com/showthread.php?t=1957720
Is there something similar available for Linux users? I haven't had access to a Windows machine since my last job. Surely all of that is can be done with things like "adb shell". I have that running from having installed ubuntu images onto my Nexus 7.
senorsmile said:
OK, the root toolkit from here: http://forum.xda-developers.com/showthread.php?t=1957720
Is there something similar available for Linux users? I haven't had access to a Windows machine since my last job. Surely all of that is can be done with things like "adb shell". I have that running from having installed ubuntu images onto my Nexus 7.
Click to expand...
Click to collapse
It looks like some guys reverse engineered Samsung's ODIN protocol and made a cross-platform flashing tool called "Heimdall", here: http://www.glassechidna.com.au/products/heimdall/
I guess I'll download "the rootkit" (wtf) and then see if I can get it to work with Heimdall instead of the pirated Samsung tools it contains.
There seems to be little to no respect for or interest in Open Source as a concept or ideal in this community, and there's no attempt to explain anything anywhere. It's all just "ROMs", binary-only "Root Tookits", proprietary third party "root apps", and "For Dummies"-type step by step instructions that may or may not actually work
I don't know what happened, maybe there was no hacker community to start with or maybe it got blasted away by an endless stream of script kiddies, but I don't like what's left on this site
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
I using my Poco F3 since a few month with lineageOS and I'm quite happy. The only problem: Wify and mobile data. Most of the time there is an exclamation mark in the topline on the icons for wify and mobile data.
I tried all the normal stuff:
– reboot the mobile phone (which sometimes really works)
– reboot thr router
– check the settings
– swap the sim cards (because sometimes I was only able to call somebody with one of the sim cards
With the last update of lineageOS it seems that the sim cards work again properly for calls, but not for mobile data.
Despite the exclamation marks surfing und emails works fine. I just can't synchronise my calendar via DAVdroid.
Any hint is appreciated.
are you using the recommended firmware version?
i had some issues with sounds with newer firmware versions
Good question.
I didn't change the firmware. How can I check, which version is runing on my device?
Idk how you'd check the firmware version but you could install the latest firmware for your region regardless.
Or if LineageOS recommends a specific FW version, install that instead.
Xiaomifirmware.com is one place where you can find official MIUI ROM versions and Firmware (/vendor).
You can just install it in Recovery, install itself takes a couple of seconds since Firmware is around 100 MB.
Isn't there an official site to download the firmware?
RunnersHai said:
Isn't there an official site to download the firmware?
Click to expand...
Click to collapse
xiaomifirmwareupdater.com is a reputable source for official Xiaomi FW and ROMs.
Xiaomi do have a website where you can DL ROMs but it's bad.
Perfect, thx a lot. I will try,if it works. Keep fingers crossed ;-D
Sorry, I don't get any further. I only find complete Roms with 3.1 GB and more. But not a vendor with the code POCO F3 Global - V13.0.3.0.SKHMIXM as mentioned on the website of Lineageos.org (https://wiki.lineageos.org/devices/alioth/fw_update). Even the direct link downloads a complete Rom.
And can I install the vendor with my linux computer or should I switch windows and the mi-tool as mentioned on some websites?
Thanks for your help.
Okay, I'm a little bit further. As far as I understood it. I download the whole Rom but install just a few parts via adb. Following the instructions here: https://wiki.lineageos.org/devices/alioth/fw_update
I should install the payload-dumper-go to unpack the zip-file of the ROM. But I don't know how to start the programm
I downloaded it from github for Linux, but I don't know how to get any further.
RunnersHai said:
Okay, I'm a little bit further. As far as I understood it. I download the whole Rom but install just a few parts via adb. Following the instructions here: https://wiki.lineageos.org/devices/alioth/fw_update
I should install the payload-dumper-go to unpack the zip-file of the ROM. But I don't know how to start the programm
I downloaded it from github for Linux, but I don't know how to get any further.
Click to expand...
Click to collapse
You're right. I checked out that website and those links are indeed full Recovery MIUI ROMs, not just firmware.
Those instructions show you how to manually flash just the firmware from a ROM.zip
However, you don't need to do that. Here is a link to just the firmware for that exact ROM:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
v13.0.3 seems rather old to me, but if it's their recommendation, then I guess go ahead. After all you simply want these problems to go away.
How to flash:
Simply boot into Recovery and do ADB Sideload
"adb sideload firmware.zip"
If you want to use the Payload Dumper anyway:
In your Linux Machine, open the Payload Dumper folder,
right-click an empty space in the folder, click "Open in Terminal",
type "payload-dumper-go -o . " and drag & drop the MIUI_ROM.zip into the Terminal (this will autofill the path to that ROM),
Hit Enter.
Then, open the created folder where all the extracted partition-images are. Open that folder in Terminal, and do the fastboot commands listed on the LineageOS-website that you linked to me.
Great thanks a lot for your help. New stuff to learn – that's great.
Unfortunately I figured out that the reason for the problems could be a wrong setting in my AFWall+. I will double check that and if it's not the reason, I will follow your instructions. Thanks a lot for your work – awesome.
heres the firmware archive,no need for full rom and fastboot commands
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
So, I saw a lot of people with oppo a5s phones whining about rooting. Because oppo phones doesn't have a fastboot mode, most of the developers told them it was impossible. But I found a solution with the help of @Khalyl22.
First of all, Download the appropriate drivers such as the MTK VCOM drivers.Then do the typical OEM unlock and the USB debugging and such.
Then download the Mediatek universal toolkit v5. Select the "Bootloader unlock" option. turn off your phone, press the volume up and down button then plug in the USB cable. And the app will do it's thing and while your phone is rebooting you will see some type of text in your screen which should say "orange state" that means you have accomplished it!
Now in order to root your device you should downgrade your phone to firmware a.25 (via sp flash tool) which is before than the march 2020 update which blocked MTK easy su app. If you want to be fancy and want TWRP, it unofficially exists. So you can use custom ROMs but most of the hardware won't work (face id, fingerprint, brightness) and it will crash a lot.
**DOWNLOAD LINKS**
MTK TOOLKIT V5:
Mediatek Universal Tools
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
MTK VCOM DRIVERS
Windows 10_MTK VCOM USB Preloader Drivers.zip | by skeleton1911 for Generic Device/Other
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
OPPO A5S (A.25) FIRMWARE
https://assorted.downloads.oppo.com/firmware/CPH1909/CPH1909EX_11_OTA_0250_all_OlN85g28bEq0.ozip
Hope it works for you all
in addition to this
the unofficial twrp for this phone can't decrypt and MTP does not work so the only use of twrp is by wiping changing data from ext4 to vfat to ext4 again so u can flash (u will delete ur data so u need to use sd card)
adb sideload works after doing this or u can just flash by booting the phone to fastboot by twrp after using mtk easy su method
feel free to ask any question relating to this matter
@faijen made an unofficial port of pitchblack recovery. I think you all need to check it out.
download link:
PBRP_CPH1909.img
drive.google.com
guys this fixes the headphone jack and the brightness slider in gsi roms
Fix brightness slider and headphone bug for any gsi rom
yes.... Now you can use brightness slider and headphone jack without any overly file..... What is needed? #Root with magisk. #Termux Open termux and type.... su Then give termux root access.... Then Type Two lines... setprop...
forum.xda-developers.com
Work on oppo a5 2020? How to use Linux? Python can be used
Naxil said:
Work on oppo a5 2020?
Click to expand...
Click to collapse
no, it's a snapdragon chipset; so MTK Universal toolkit wouldn't work on it. there might be other toolkits though.
Given that the bootloader is unlockable, has anyone tried a GSI Rom on the OnePlus 11? I know generic images are missing device specific drivers but could provide a better experience for those not running this as a daily driver. Also, there are quite a few GSI's to chose from, are there any recommendations?
Guyinlaca said:
Given that the bootloader is unlockable, has anyone tried a GSI Rom on the OnePlus 11? I know generic images are missing device specific drivers but could provide a better experience for those not running this as a daily driver. Also, there are quite a few GSI's to chose from, are there any recommendations?
Click to expand...
Click to collapse
Not too sure anyone would be willing to try until OP decides to release an MSM tool
kevp75 said:
Not too sure anyone would be willing to try until OP decides to release an MSM tool
Click to expand...
Click to collapse
For flash a gsi (when you make any worng no problem you can it repare with fastboot/fastbootd)
I am currently on GSI.
Things which are not working.
Finger print.
Only Main camera working i think ( single Lense no ultrawide) ( I dont use camera exepect for barcode scanner anyway)
Rest is good.
Installation steps I took.
Unlock bootloader.
Install Dsu sideloader https://github.com/VegaBobo/DSU-Sideloader ( version 1.3 ) non root.
Setup dsu with 60 GB storage and use the image from
Andy Yan's personal builds // GSI - Browse /lineage-20-light at SourceForge.net
sourceforge.net
reboot
It boot into GSI without any issues. enable 5G, set refresh rate to 120.
reboot but it reboot into default Oxygen OS as expected.
click on restart in DSU from the notification.
Booted into GSI again.
5G working ( Volte)
Refresh Rate working.
Restore google apps and settings.
Connect phone to ADB
use this command on adb: adb shell gsi_tool enable ( this is to reboot in GSI by default on every reboot)
This is all like a dual boot ( safe method to try GSI without any fastboot and MSM tool worries.
Note : Whenever i want to reboot into Oxygen OS connect phone to adb and only give command - adb shell gsi_tool disable. It will reboot into default OS.