Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Check their target framework, I used to keep a Windows XP VM since all the tools I used needed at least Framework 4.0 don't know now but last time I did that was in 2013 lol
-
Xiaomi. The device doesn't matter. The SOC matters. Qualcomm and MediaTek have their own tools. My device runs on Snapdragon chip.
-
@b3b3 can u please mention which tools u used. I am not talking about root only. I want to install a custom ROM.
-
@shubhadeepb why do you need windows for installing a custom rom? I thought you are cooking one.
To install you need a recovery installed on your phone.
I don't understand what is it that is chip specific you are doing? Even if you are using their open source code to compile kernel modules, you'll need to include them with kernel source code or compile them on Linux then include them either in your kernel ramdisk then copy during boot, or you need to copy/paste then in their folder inside the ROM zip file -
b3b340657y@shubhadeepb I don't really understand what you want to do but to flash a ROM (.zip) you can user fastboot (I think) or just copy it onto your micro SD and use your custom recovery like twrp
-
b3b340657yIf you google you can find tutorials on rooting+flashing. On Ubuntu there should be android adb tools. You can use them I think
-
kosio-t23917y@shubhadeepb
First you need root - maybe you need PC(Kingoroot)
From now the PC is useless.
Install Supersu and override the default Kingoroot root management app.
Install Flashify and flash the custom recovery you want(I am a TWRP fanboy but CWM is good too)
Download the rom you want and gapps and supersu if needed.
Restart to recovery and make a backup of your current rom(don’t forget to backup the boot, this fucked me hard the one time) on external SD or on USB through OTG.
Factory data reset and format everything except internal and external storage.
Flash the rom and if needed gapps and supersu.
Reboot and configure your new device.
If not happy do factory data reset and format everything except internal and external storage and restore from the backup you made earlier. -
Let me explain in details. Qualcomm has a tool called QFIL(Qualcomm flash image loader). If you use that tool then it would be the easiest way to flash a Qualcomm based phone. You just boot your phone in recovery mode, open QFIL and select the ROM (zip file). QFIL will do rest of the job. You don't even need to root the device.
Now this QFIL has only Windows support. I was looking for same kind of tool in Linux. -
@just-basic-user thanks. I will follow exactly these steps. Let's see what happens.
-
b3b340657y@shubhadeepb sounds like a useful tool. But I don't know if it exists on Linux too. I still recommend you to root your phone :) I think it will be easier for future use in case you don't have your PC right now you can just download a ROM to your mobile and flash it there.
-
@shubhadeepb To flash a custom ROM you need an unclocked bootloader
Installing a custom recovery doesn't mean you root your phone.
Use TWRP recovery it asks you if you want to root, just tap no, and use it flash your custom ROM, I never used a tool to flash zip ROMS and never felt the need of having to use one -
Yeah. I will follow the steps mentioned by @just-basic-user. Actually I haven't flashed the ROM using custom recovery yet. I always have used QFIL.
My current ROM is miui 9 beta. And I want to install Android 7.1 stock version.
Related Rants
-
gururaju56*Now that's what I call a Hacker* MOTHER OF ALL AUTOMATIONS This seems a long post. but you will definitely ...
-
linuxxx70This guy at my last internship. A windows fanboy to the fucking max! He was saying how he'd never use anythi...
-
creedasaurus62Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and ...
I use Mac in office for daily dev and tasks, and a Lubuntu laptop for Linux related jobs. My home PC runs Ubuntu. And my personal laptop has a Ubuntu-Windows dual boot. I haven't used the Windows for more than a year. Even I do most of the basic tasks in Terminal, both in Mac and Linux.
Now I need to install a custom ROM in my Android Snapdragon based phone. And all the tools I need runs in Windows only. I don't even want to open that boot partition. 😥
Any help on this? It would be better if I can get something which runs on Linux.
undefined
windows
linux
qualcomm
android
snapdragon