Installing Arch Linux - Xiaomi Mi 6 Questions & Answers

hi guys i red that arch can be installed on pinephone so i just wondering. can we install it on also mi6? do you have any guide?

depends if some developer has made a port

yeah someone should make

It's not like that. PinePhone is like an empty box and you can put anything on it as it haven't a bootloader or anything else (as it uses U-Boot) while phones with Android uses a bootloader made by OEMs and it's protected. You could put a layer (like halium) and boot an OS on top of it but it isn't at all like PinePhone

so how can we put a layer(like halium)?

hajking said:
so how can we put a layer(like halium)?
Click to expand...
Click to collapse
You can follow work make by @erfanoabdi

Related

[DEV] Port Maemo / MeeGo

http://repo.meego.com/MeeGo/releases/1.0/core/images/meego-n900-open-armv7l/
My idea is to use the current effort to run Ubuntu/Debian on the phone as a method to get MeeGo running on the phone as well (Maemo should be similar). What we'd need to achieve is to get an .img of MeeGo/Maemo as we do Debian/Ubuntu. Driver issues (If present) should be rectifiable by porting over some of the Debian/Ubuntu ARM drivers.
abc27 said:
http://repo.meego.com/MeeGo/releases/1.0/core/images/meego-n900-open-armv7l/
My idea is to use the current effort to run Ubuntu/Debian on the phone as a method to get MeeGo running on the phone as well (Maemo should be similar). What we'd need to achieve is to get an .img of MeeGo/Maemo as we do Debian/Ubuntu. Driver issues (If present) should be rectifiable by porting over some of the Debian/Ubuntu ARM drivers.
Click to expand...
Click to collapse
Great idea! I hope devs will start working on it!
abc27 said:
http://repo.meego.com/MeeGo/releases/1.0/core/images/meego-n900-open-armv7l/
My idea is to use the current effort to run Ubuntu/Debian on the phone as a method to get MeeGo running on the phone as well (Maemo should be similar). What we'd need to achieve is to get an .img of MeeGo/Maemo as we do Debian/Ubuntu. Driver issues (If present) should be rectifiable by porting over some of the Debian/Ubuntu ARM drivers.
Click to expand...
Click to collapse
Great! Tell us when you're finished!
Looks like they made some progress, as the N1 Version is already avaible
http://wiki.meego.com/ARM/MSMQSD
Anyone working on this ?
d3sm0nd said:
Anyone working on this ?
Click to expand...
Click to collapse
Even if someone is working on it, I don't think it'll be as simple as "Install Meego through update.zip in recovery". However I hope so

Some help in Dev a Rom

Hi, guys,I want to port a Pac-man rom to our glides, but, my internet is only 512, my pc is very good for the work, but my internet no. 1 Night and only 800 mb. (and i think that there was a error and cut the connection)
My question is. Can I download all the repo (Pac-man gith andour device tree) in another pc using windows, and use that file in my linux OS? I can go to download in another place, but only with windows. If the answer is Yes, where can I learn how to do that?
lorddavid said:
Hi, guys,I want to port a Pac-man rom to our glides, but, my internet is only 512, my pc is very good for the work, but my internet no. 1 Night and only 800 mb. (and i think that there was a error and cut the connection)
My question is. Can I download all the repo (Pac-man gith andour device tree) in another pc using windows, and use that file in my linux OS? I can go to download in another place, but only with windows. If the answer is Yes, where can I learn how to do that?
Click to expand...
Click to collapse
I don't see why not, unless your repo is OS specific...
I would set up a virtual linux machine and use that to do everything, as it will cause less hiccups. Easier to build on there, or so I'm told...
EDIT: Do you want to work together? I'm trying to port as well. Just a basic port, using this guide:
http://forum.xda-developers.com/showthread.php?t=1908008
PM me
gtmaster303 said:
I don't see why not, unless your repo is OS specific...
I would set up a virtual linux machine and use that to do everything, as it will cause less hiccups. Easier to build on there, or so I'm told...
EDIT: Do you want to work together? I'm trying to port as well. Just a basic port, using this guide:
http://forum.xda-developers.com/showthread.php?t=1908008
PM me
Click to expand...
Click to collapse
Wow, your guide seems very easy, and there is an app to do it too.
I will try to see if i can install linux in one of these machines to download all.
I dont know any about porting, or fixing things in android, I want to learn and I am using Dman's Tutorial, so, not sure if I can help doing a real rom
lorddavid said:
Wow, your guide seems very easy, and there is an app to do it too.
I will try to see if i can install linux in one of these machines to download all.
I dont know any about porting, or fixing things in android, I want to learn and I am using Dman's Tutorial, so, not sure if I can help doing a real rom
Click to expand...
Click to collapse
i want to do a pacrom as well.. ive been really busy the last 2 weeks though so havent had a chance to fix my ubuntu install... my build environment is almost done, just gave me errors.. well need to setup a repo on github... for now though its not a bad idea to be patient and allow everyone to focus on fixing the cm that spyke is working on.. thats one thing i wonder about the greatergood .. if he focused on one fully working vs many broken if we'd have a bluetooth fix...
Yes, but in that time, I will learn, I see minor errors when sync the repo, but continue (sometimes the conection broke it but can restart) I first want to learn
Sent from my SGH-I927 using xda app-developers app
ya cool I'm with you ... When I have some free time next I will fix my devel. Let's work on this together im sure we can help eachother out quite a bit and put together an updated how-to compile from source for 4.2.2.
I don't see any reason why you can't download all of the items you need under windows. The only thing you'd need to be concerned when copying it back is file permissions ... shouldn't be an issue, though.
Question, though, what makes you believe it would be faster downloading in windows vs linux ? is your windows computer a laptop that you'll be taking somewhere else to download? ...
Yes, I will go to another place to download all. If I dont do that, I never going to finish

Android&Linux dual boot?

So ... I'd like to dual boot a normal linux on that tab.
My first problem is something like a boot loader that let me select wether to boot android or any other system (with touch capability and timeout ideally).
Some googling around didn't bring anything useful besides "it's highly dependent on the device".
Is there something like that out there? The alternative I thought of is to build something like the Ubuntu Phone boot app, but I have no idea how it works.
The next problem would be hardware support, but I will look at that issue later.
The chroot solution would be a fallback (I have to look deeper into, especially in terms of performance), but I'd prefer to have a real system.
hofmann.christian said:
So ... I'd like to dual boot a normal linux on that tab.
My first problem is something like a boot loader that let me select wether to boot android or any other system (with touch capability and timeout ideally).
Some googling around didn't bring anything useful besides "it's highly dependent on the device".
Is there something like that out there? The alternative I thought of is to build something like the Ubuntu Phone boot app, but I have no idea how it works.
The next problem would be hardware support, but I will look at that issue later.
The chroot solution would be a fallback (I have to look deeper into, especially in terms of performance), but I'd prefer to have a real system.
Click to expand...
Click to collapse
Just to clarify which exact tab s fo you have, you say also you will look into the issue of hardware support later....this is the wrong order im sorry to say and many people will agree its the first thing u shud look at.....for example it has to be taken into account that your using an arm processor and u cant just use any linux distro on any arm processor e.g arm v5 is different architecture to armv7...meaning a new kernal needed that runs your linux and android...you really are going into waters way above even my head...start with porting cynogenmod completely from scratch...look st compiling your first real rom and you will learn A LOT and MAY begin to comprehend what your asking here....not meaning to sound god almighty but honestly this involves a lot of factors.
Well, I am aiming at arch and afaik there should be ARM versions for any relevant CPUs, so this is not that a big deal. GPU and the likes could be way worse.
Also: 8.4", not sure if there are different versions of these besides the storage capacity
hofmann.christian said:
Well, I am aiming at arch and afaik there should be ARM versions for any relevant CPUs, so this is not that a big deal. GPU and the likes could be way worse.
Also: 8.4", not sure if there are different versions of these besides the storage capacity
Click to expand...
Click to collapse
Ok pal all you need to do then is create a kernal that will support both the android 4.4.2 and linux that youve custom built and taylored to your phones specs.
Heres a link to expanded info on linux and arm: http://www.reddit.com/r/linux/comments/2n21i2/can_arm_chip_linux_servers_run_all_software_or/
Heres a link to building kernals : https://source.android.com/source/building-kernels.html
And heres a link to your specs something you WILL need : http://m.gsmarena.com/samsung_galaxy_tab_s_8_4_lte-6435.php
Please keep me updated on this as if you put all the effort in needed then it would a nice self achievement...good luck m8.
pdolton2000 said:
Ok pal all you need to do then is create a kernal that will support both the android 4.4.2 and linux that youve custom built and taylored to your phones specs.
Click to expand...
Click to collapse
I thought about that, too. But that may be especially hard on arch due to regular updates. It still may be possible and I will have a look at it, but I'd prefer multiple kernels to choose from.
Also: Does having one single kernel in any way help with the boot choice problem?
hofmann.christian said:
I thought about that, too. But that may be especially hard on arch due to regular updates. It still may be possible and I will have a look at it, but I'd prefer multiple kernels to choose from.
Also: Does having one single kernel in any way help with the boot choice problem?
Click to expand...
Click to collapse
Well without one single kernal you cant boot anything...why go though making a bootloader to something when youve got nothing to boot yet? The bootloader is the easiest part its the rest thats the harder. Heres an example of bootloaders that shows its more than possible.
https://play.google.com/store/apps/...droid&pcampaignid=APPU_3DrCVJj1A8vW7AaIu4HQDQ
And the designer is a member of XDA so i say again you first need to build kernal and linux that are compatible with your hardware....then contact this bloke who made MultiBoot and when he sees all the hard work you put in he will be more than happy to help you i should imagine.
---------- Post added at 12:26 PM ---------- Previous post was at 12:18 PM ----------
pdolton2000 said:
Well without one single kernal you cant boot anything...why go though making a bootloader to something when youve got nothing to boot yet? The bootloader is the easiest part its the rest thats the harder. Heres an example of bootloaders that shows its more than possible.
https://play.google.com/store/apps/...droid&pcampaignid=APPU_3DrCVJj1A8vW7AaIu4HQDQ
And the designer is a member of XDA so i say again you first need to build kernal and linux that are compatible with your hardware....then contact this bloke who made MultiBoot and when he sees all the hard work you put in he will be more than happy to help you i should imagine.
Click to expand...
Click to collapse
EDIT
If you wanted a quick way out of all that i can only suggest emulating linux on android...find an example here:
https://play.google.com/store/apps/...droid&pcampaignid=APPU_FT3CVObxNIOa7gbxwYDACg
Good luck anyway pal hope it goes to plan
It looks exactly like what I need. The screenshots are suggesting that regular linux distributions are running as well.
If this would be compatible with this device I'd stuff ALARM with an sshd on it and work my way from there.
hofmann.christian said:
It looks exactly like what I need. The screenshots are suggesting that regular linux distributions are running as well.
If this would be compatible with this device I'd stuff ALARM with an sshd on it and work my way from there.
Click to expand...
Click to collapse
Haaa whats the chances, i only thought of that last minute, hope it works out man
pdolton2000 said:
Haaa whats the chances, i only thought of that last minute, hope it works out man
Click to expand...
Click to collapse
Well, so I am back at the "I need a boot manager" square just with the information that there is something like this which just doesn't work for now.
hofmann.christian said:
Well, so I am back at the "I need a boot manager" square just with the information that there is something like this which just doesn't work for now.
Click to expand...
Click to collapse
Sorry pal you want a boot manager to run this emulated version of linux? This works by emulating it inside android os? Or have i misunderstood?
pdolton2000 said:
Sorry pal you want a boot manager to run this emulated version of linux? This works by emulating it inside android os? Or have i misunderstood?
Click to expand...
Click to collapse
Who said something about an emulated Version? I want a real full fledged Linux to dual boot on a tablet.
hofmann.christian said:
It looks exactly like what I need. The screenshots are suggesting that regular linux distributions are running as well.
If this would be compatible with this device I'd stuff ALARM with an sshd on it and work my way from there.
Click to expand...
Click to collapse
Misunderstanding thought you were refuring to the edit i made just above this post im quoting in its original place.
Ok so you now no the idea of bootloaders exist and for them to work you need linux and a kernal ie an os otherwise theres nothing for it to boot, you need to compile a compatible kernal and lixux distro together thats going to work with your spec so then someone else can help you with the bootloader that will dual bot both it and android...otherwise your asking somebody to draw a design of a building and predict the levels of the foundations before the land itself exists which cannot be done.
Ive provided you research material in kernal design, the specs of your phone, about how linux and arm work together, ive provided you with a link to a bootloader exactly like what your after made by a member on xda whom u can see links to in the download of it to show that you have a place and a person to ask who specializes in the field once youve created what you want to dual boot with android.
Theres nothing more that can be done pal its all been made very clear.

[Q] Sailfish OS for Motorola Moto G5S (montana)

Is there person who wants Sailfish OS for montana?
Comment if u want this beutiful system for this device
I make a pool for buying device to testing, porting, and polishing Sailfish. If u want to speed it up a little, you can consider supporting me there
paypal.me/pools/c/86YERyPO1I
Good evening, all the rom are welcome.
wiktorek140 said:
Is there person who wants Sailfish OS for montana?
Comment if u want this beutiful system for this device
Click to expand...
Click to collapse
Yes I want to test it if the battery backup is good then I would used it as daily driver
First i need to build it. For it i need listed partitions and input event device
wiktorek140 said:
First i need to build it. For it i need listed partitions and input event device
Click to expand...
Click to collapse
Yes we can provide and test it
Can we discuss about this in telegram group
https://t.me/g5susers
Sounds very interesting.. What are the advantages/possible downsides of this OS?
The main advantages it isn't Android. Only use base libs and hal from android part.
Its purely based on Linux. Apps are native, or u can write it using QML.
U dont send statiscic if u dont want and u can control it.
U control whole system via swipe gestures (it was there earlier than in Iphone)
Different UI and feels conected with using it.
The main disadvantage for someone can be impossibility to launch android app (rom need to be stable and get permision to access Store, from where u can install aliendalvik - app for launching android apk)
wiktorek140 said:
The main advantages it isn't Android. Only use base libs and hal from android part.
Its purely based on Linux. Apps are native, or u can write it using QML.
U dont send statiscic if u dont want and u can control it.
U control whole system via swipe gestures (it was there earlier than in Iphone)
Different UI and feels conected with using it.
The main disadvantage for someone can be impossibility to launch android app (rom need to be stable and get permision to access Store, from where u can install aliendalvik - app for launching android apk)
Click to expand...
Click to collapse
as far as i know, sailfish os could run android apps natively. anyway, good initiative, fingers crossed
We want it
I'll be happy to help porting it blind (can't find mine atm lol, but it is around somewhere) until I either find my phone, or until it gets to hard to do blind. I'll need your help though, can someone who is running lineage 14.1 on their Montana get me a list of partitions and their names? That's an important step to get the boot image going, almost all the other work has already been done by kayesk.
Code:
ls -l /dev/block/platform/*/by-name/
ls -l /dev/block/platform/*/*/by-name/
ls -l /dev/block/bootdevice/by-name/
One of those three commands should return a list, which is all I need to get the HAL build going. Oh, yeah, just in case, send me the output of all three commands. I think it should work both via adb and a terminal emulator on the phone, not too sure.
Oh yeah and as a disclaimer this is my first sailfish port, and first xda post in general, so good preconditions!
Is there anyway we can dual boot it. If so I would love to test it out!!

Question Building AOSP for Red Magic 8 Pro

I'm looking to build AOSP for the Red Magic 8 Pro. Has anyone managed to get the proprietary binaries from Nubia or extract it from the stock firmware?
I have tried searching around for these binaries to no avail. If someone has a download link to share I would really appreciate it. I just want a completely stock android experience and don't mind if not everything isn't working.
Do you really want AOSP or Paranoid Android will do as well? In any case, download OTA here, extract payload.bin and use payload-dumper-go. You can use LineageOS instructions for getting binaries from unpacked .omg files.
aaa.bbb111222 said:
Do you really want AOSP or Paranoid Android will do as well? In any case, download OTA here, extract payload.bin and use payload-dumper-go. You can use LineageOS instructions for getting binaries from unpacked .omg files.
Click to expand...
Click to collapse
Have they already released a ROM for this phone? If not, AOSP builds without most Google trash and I block many of their domains in the hosts file just in case. I did finally find a dump here: https://github.com/RandomPush/nubia_nx729j_dump
Appreciate your help though. I'll post my progress here in case anyone is interested. The android developer documentation says proprietary binaries are usually located in a /vendor partition. Going through the dump now and trying to figure out the bare minimum to get a custom ROM booted.
My guesses are anything Qualcomm related for the SoC. I'm unsure of what baseband/radio chips the phone uses, actually it's been pretty tough to find a good spec sheet on it. Most resources that come up on Google only refer to surface level specs and don't go into much detail on the chips themselves.
No, they haven't, but I've seen people working on it. It would be a bit easier to bring up because PA is CLO-based (not AOSP), so the probability of most stuff working is higher. CLO has some Qualcomm-specific patches. Actually, you can probably build QSSI (like GSI but from CLO) without much difficulties, so this might be the way to go.
I'd recommend that you extract those binaries from OTA anyway as they might be updated in the future. Out of the box you probably won't get working vibration.
With the kernel source released, what's so difficult with building LineageOS and stuff?
SevastianXDA said:
With the kernel source released, what's so difficult with building LineageOS and stuff?
Click to expand...
Click to collapse
We need a good unbricking method just to be on the safe side (personally, I'm not very keen on even trying someone else's build, let alone making my own, simply too much risk). Other than that, a lot of time is needed and there are basically zero good instructions. Once again, LOS isn't the best option for 8g2, would be better to go for Paranoid Android. One can theoretically build QSSI image (basically GSI, but for Snapdragons), might be a good idea for now. Still risky tho
aaa.bbb111222 said:
We need a good unbricking method just to be on the safe side (personally, I'm not very keen on even trying someone else's build, let alone making my own, simply too much risk). Other than that, a lot of time is needed and there are basically zero good instructions. Once again, LOS isn't the best option for 8g2, would be better to go for Paranoid Android. One can theoretically build QSSI image (basically GSI, but for Snapdragons), might be a good idea for now. Still risky tho
Click to expand...
Click to collapse
What are the bricking issues here? Usually even if the ROM is f*cked or just something doesn't work you can always flash back to stock through TWRP.
SevastianXDA said:
What are the bricking issues here? Usually even if the ROM is f*cked or just something doesn't work you can always flash back to stock through TWRP.
Click to expand...
Click to collapse
If only there was a fully working TWRP... Unfortunately, there isn't. Well, kind of. It boots but that's it. And no, sideload simply doesn't work. When I went back to stock on my previous device (1+7 Pro), I had to use MSM Tool. Nothing like that is available for RM8P, ZTE doesn't want to give the tools to us because of bs reasons.
aaa.bbb111222 said:
If only there was a fully working TWRP... Unfortunately, there isn't. Well, kind of. It boots but that's it. And no, sideload simply doesn't work. When I went back to stock on my previous device (1+7 Pro), I had to use MSM Tool. Nothing like that is available for RM8P, ZTE doesn't want to give the tools to us because of bs reasons.
Click to expand...
Click to collapse
Bruuuuhhh, that's stupidd, someone shall reverse engineer the MSM tool to work for the RM8P (sarcasm)
Hmm, as I can see from this post, it seems peeps have managed to actually restore the phone from a full brick..: Post
Edl or its countparts is not a necessity for buiding a custom rom. 1st, a custom rom usually just overwrite the application parts, so in the worst case the user can still restore to factory rom via fastboot commands. 2nd, many manufacturers never release their factory rescue tools (Google, ?) but there are numerous custom roms, even official builds.
Cyanide_zh said:
Edl or its countparts is not a necessity for buiding a custom rom.
Click to expand...
Click to collapse
True, it's more a convenience factor.
Cyanide_zh said:
1st, a custom rom usually just overwrite the application parts, so in the worst case the user can still restore to factory rom via fastboot commands.
Click to expand...
Click to collapse
Or not. In fact, happened to me (Qualcomm crashdump mode or something like that). And if something could go wrong, it will.
Cyanide_zh said:
2nd, many manufacturers never release their factory rescue tools (Google, ?) but there are numerous custom roms, even official builds.
Click to expand...
Click to collapse
Usually those devices have much less ROMs available if any. Just compare 1+9 Pro and 10 Pro.
aaa.bbb111222 said:
less ROMs available if any. Just compare 1+9 Pro
Click to expand...
Click to collapse
Any ROM than the stock would do, just LineageOS would be superb.
SevastianXDA said:
Hmm, as I can see from this post, it seems peeps have managed to actually restore the phone from a full brick..: Post
Click to expand...
Click to collapse
Interesting.. https://romprovider.com/nubia-red-magic-8-pro-plus-firmware-stock-rom/
SevastianXDA said:
Interesting.. https://romprovider.com/nubia-red-magic-8-pro-plus-firmware-stock-rom/
Click to expand...
Click to collapse
sadly, 9008 firmware need pay about 50 USD, But nobody said the package can be used still now.
CrazyMoney said:
sadly, 9008 firmware need pay about 50 USD, But nobody said the package can be used still now.
Click to expand...
Click to collapse
Bruh the custom ROM and modding community is so mid and goofy for the RM8P Literally one of the main things making me go for a Poco F5 instead
Chinese dev made MIUI rom but its only payed with alipay for like 3 dollars. I im waiting when we can pay with paypal to try it looks good.
ibestmoder said:
Chinese dev made MIUI rom but its only payed with alipay for like 3 dollars. I im waiting when we can pay with paypal to try it looks good.
Click to expand...
Click to collapse
Well yeah, but as explained/talked about here, AOSP/LineageOS has to be technically possible
I got the rom maybe extract and check it? Take out alipay security then we can try it
ibestmoder said:
I got the rom maybe extract and check it? Take out alipay security then we can try it
Click to expand...
Click to collapse
Maybe share the ROM file, then we can try finding some way to remove forced payment/crack it (No paid ROMs allowed in XDA forums) and maybe possibly clean it somewhat (Does it even have english as an option?) and we'll finally get ourselves a finally working alternative custom ROM.

Categories

Resources