[HELP] Installing custom rom on Xperia X using Linux - Sony Xperia X Questions & Answers

Is there a guide explaining the whole process of installing a custom rom using linux?
Background:
PC windows 10 experience..
I got this Xperia X that I used with Sailfish X and now flashed stock rom with ema, lost my DRM keys and thought that it would be a great moment in life to install Omnirom or a custom rom that has the latest version, stable and so on.
But i simply cannot install recovery TWRP, the first command "adb reboot bootloader" works, the second or "fastboot flash recovery xxx.img" gives me waiting for device, same if I write down instead of the second command "fastboot devices".
In my mind it makes no sense to blame the drivers as the drivers were ok for sailfish x and stock rom, I wasted too much time on this.
Present:
As such, I gave given up on installing a custom rom using my PC, and want to try to install a custom rom using my other device "pc device"which is a laptop - a couple of years old Zenbook machine running Linux Ubuntu Budgie latest stable.
Is there any guide on how to do such on linux? More precisely, how to INSTALL RECOVERY and then install custom ROM.
Thanks a lot guys,
Andrei,
Guide used:
https://forum.xda-developers.com/xperia-x/how-to/guide-one-noob-friendly-guide-xperia-x-t3590476

I think all your Windows 10 problems were because you've lacked for proper drivers. We don't have this problem on Linux, so there it should work just fine!
However, try to change your cable and USB port. Just in case

Gonna try tonight,
Going to run the following steps on my Linux laptop:
1. Terminal:
sudo apt-get install android-tools-adb android-tools-fastboot
2. Connect Xperia X to the laptop using 2.0 usb port with usb debugging on from the phone's options;
3. Terminal (from wherever/home folder):
adb reboot bootloader
fastboot flash recovery XXX.img (XXX = twrp file)
fastboot reboot
4. Now, download the ODM image (using Omnirom as an example here) from the thread in question and extract it in a nice cozy folder and then download the weekly zip (Omnirom thread) and copy it in the device in another nice cozy folder on the Xperia device;
5. Now.. we need to get into fastboot mode so reconnect the device to the laptop and within a terminal write down:
adb reboot bootloader
6. Next would be to flash the ODM image with:
fastboot flash oem <ODM image>
7. Reboot the device to TWRP and flash the weekly zip (I do not know how to reboot the device to TWRP).. Will figure it out somehow;
8. Flash gapps package (dunno how to do this either..)
9. Reboot and good to go.
There is a step before installing TWRP so between 2 and 3 where I would need to flash a Custom-ROM Kernel (eg Oreo) but I have no idea how to do that.
I'm a complete newbie regarding this so please jump in if I overlooked something or If i am not doing things correctly.
Source used:
https://forum.xda-developers.com/xperia-x/development/rom-omnirom-t3734793
https://forum.xda-developers.com/xperia-x/how-to/guide-one-noob-friendly-guide-xperia-x-t3590476

Related

[Q] What's up with dual booting Ubuntu/Android?

ph84 said that dual boot is possible and he will write how to.
When???(don't hurry, I only ask)
Maybe your question can be answered if you look for the Topogigi's post in this thread [HOW TO] Linux on Folio.
I've not try this, because i don't understand some things... if someone makes a how to step by step, would be amazing !!
Here is how to get it without steps:
Topogigi said:
[ONLY FOR DEVELOPERS AND SKILLED PEOPLE: NOT FOR NEWBIES!!!]
My 2 cents:
I installed ubuntu and it works quite well. I'd like to point out that it you can boot android or ubuntu flashing the boot.img containing the linux kernel in place of recovery kernel (fastboot flash recovery boot.img). You can even try a kernel before flashing it to the device (fastboot boot boot.img). To enter fastboot mode in your device, simply press the power button three times when the Toshiba logo appears on the screen at powerup, then press volume up one time. Voila, you are in fastboot mode...
To boot linux, you have to press "power+volume up", then follow the instruction on screen to wipe the device (don't worry, it will boot linux and it will not wipe anything). You'll miss the recovery partition that way, but you'll gain a dual-boot tablet with android and ubuntu in change. Not a bad trade.
If you really need recovery, you can always reflash it with fastboot, so the process is perfectly reversible.
Now, back to business:
1) Touchscreen works (sort of). If you apt-get evtest, you'll notice that /dev/input/event3 is bound to the touchscreen and it reports to be alive and kicking. The test reports the coordinate changing and the pressure on the screen (multitouch works too). But......in Xorg, the device only reports the pressure and coordinates are not changing. You can test with xinput as I did. It seems a software-related issue: the drivers does not report correctly what the hardware is telling him. I'll investigate and report back if news will come out.
2) Wifi could eventually work. The card is bound via SDIO bus, and a ar6000 driver supporting SDIO is available. I'll try to compile the driver ASAP.
3) Suspend, cpufreq do not work and I doubt they will work without driver sources
4) Battery is working, framebuffer is working good and the system seems quite snappy also with an EXT4 partition on a MMC. Openoffice works great, quicker than expected.
5) If you compile the kernel with nilfs2 support, you can easily mount all the android partitions within ubuntu with ease. Not bad...
That's all for the moment: I hope that someone will help me to make this little devil fly.
Click to expand...
Click to collapse
sergi711 said:
Maybe your question can be answered if you look for the Topogigi's post in this thread [HOW TO] Linux on Folio.
I've not try this, because i don't understand some things... if someone makes a how to step by step, would be amazing !!
Here is how to get it without steps:
Click to expand...
Click to collapse
That's quite easy in fact :
In fastboot, just flash the boot.img instead of recovery :
fastboot flash recovery boot.img
That's it... you will loose "auto" recovery, but you will gain Linux Ubuntu
Akta
Akta77 said:
That's quite easy in fact :
In fastboot, just flash the boot.img instead of recovery :
fastboot flash recovery boot.img
That's it... you will loose "auto" recovery, but you will gain Linux Ubuntu
Akta
Click to expand...
Click to collapse
It sounds easy... but i have never enter in fastboot mode... I don't know what commands use...
Another question, I have flashed the update.zip from ph84 to boot only ubuntu, when i flash this boot.img on fastboot mode how I flash the foliomod ???
fastboot, SDK, UPDATE.ZIP, DRIVERS etc.
Sergi711
1.I know for that(try), but I can't use fastboot. I installed all drivers, but I can't send commands to Folio 100. I made thread for help, but no one help me. If you can help, please, help me!!!!!!
Can we make update.zip with that kernel and don't use fastboot?
2.a)First, download and install SDK.
http://developer.android.com/sdk/index.html
Second, go here http://www.addictivetips.com/mobile/enable-adb-usb-drivers-for-nvidia-tegra-based-android-tablets and install drivers.
Third, enter fastboot mode(3X Power UP+Volume UP) IF YOU PRESS POWER UP 4X, YOU'LL BRICK TABLET AND FOR THAT YOU CAN'T FIND HELP!!!!!
Moreover, connect Folio with PC,Laptop, NetBook, Tablet PC or NoteBook via USB and open terminal(Start>Run>cmd) and go to C:/android-sdk/platform-tools (in my
case)
Terminal: cd C:/android-sdk/platform-tools
Fifth, now run fastboot.exe and type anything you want
Terminal: fastboot _______________( fastboot flash recovery boot.img)
b) If you flash boot.img from ph84 to boot Ubuntu ARM on Folio 100, in future, you'll can only boot from SD Card or USB(sdmmc-update.zip or usb-update.zip). You'll not use Folio's internal storage and you'll can't boot to FolioMod, but from recovery you can easily reflash FolioMod or another rom or custom kernel(you need to reflash kernel and you can made your own update.zip with your custom kernel and don't touch FolioMod )
Akta77
Can we we copy recovery to /date or /date/date folder and boot it like MCLP said for installing FolioMod or another rom?
Step 1. Install Root Explorer on Folio 100(can't post app, because rules, but with googling find it easily or download it from android market)
Step 2. Copy the recovery image from FolioMod(if you want original recovery) or from CyanogenMod7.0.0(if you want unofficial ClockworkMod recovery) to SD Card or Internal storage
Step 3.With Root Explorer copy recovery.img to /date or if you find another date directory inside copy there(copy recovery.img to both directory just in case)
Step 4. Exit from Root Explorer, got to Settings>Applications>Development and enable USB Debugging
Step 5. Connect Folio 100 to PC or etc. via USB and open Terminal(cmd) and go to SDK directory C:/android-sdk/platform-tools(in my case)
Terminal: cd C:/android-sdk/platform-tools
adb shell (use this if you have installed SDK drivers for Tegra devices)
cat /data/recovery.img >/dev/block/mmcblk0p7
or
Install any Terminal app on Folio 100 and type
Android Terminal: cat /data/recovery.img >/dev/block/mmcblk0p7
After this, you should have recovery
Jon2555 said:
Sergi711
1.I know for that(try), but I can't use fastboot. I installed all drivers, but I can't send commands to Folio 100. I made thread for help, but no one help me. If you can help, please, help me!!!!!!
Click to expand...
Click to collapse
Maybe this helps: http://forum.xda-developers.com/showthread.php?t=1055754
Most other fastboot binaries out there don't recognize tegra devices.
I just use the SDK's Fastboot under Linux (built from Cyanogen's 7 repo) without any problem.
If you are using Windows, have you modified the inf has stated by google?
Entering fastboot is simple : just press x3 power and then volume up at boot screen.
You will be in fastboot mode.
I am not sure we can boot the kernel from somewhere else than boot partition or recovery partition. But we could maybe build a relocable kernel and load Linux or Android using kexec from boot partition like "petiboot" on PS3
Akta
Thank's guys!!! I'm going to try it whan I back from France.
Sent from my folio 100 using Tapatalk
could someone that have a dual boot ubutntu/android make a how to for us... ??? because i read the lastest post that you reply i don't know how to have a dual boot yet.. i can't understand... please a how to is needed, step by step...
thanks in advance !!!
Hi,
Just wrote you how to do it
Boot the tab in fastboot (3xPower + 1 Vol Up)
Then connect your tablet on your PC and do :
fastboot flash recovery boot.img (boot.img is extracted from update.zip according to your wish (SDCARD or USB PENDRIVE)).
Akta
ok i flash the boot.img on fastboot, and then ??? i only have now ubuntu, how i install android after fastboot flash boot boot.img ????
I know, i must enter fastboot mode, and flash boot.img instead of recovery.
After that, i will only be able to boot from sdcard... isn't it ?
Ok, i must have 2 sdcards to boot android, and the other sdcard to boot ubuntu ???
if this is right... how the sdcard must be ??? update.zip on the root ???, the update zip extracted on the root of sdcard ??
i have lot of doubts after the fastboot flash recovery boot.img step, sorry.... can anyone help me ??
I think when you flash boot.img(sd or usb) for dualboot, when sd card with Ubuntu is in Folio you'll boot ubuntu(sd or usb) and if you haven't got Ubuntu sdcard or you have it (but not Ubuntu sd) or if you haven't any you will boot to android.
What's up with my question?
Sent from my folio 100 using Tapatalk
Ok i understand that after flash boot.img instead of recovery on fastboot mode... folio will boot from sdcard, in that case, if you push a sdcard with an ubuntu filesystem, folio will boot ubuntu, and if you remove sd after boot moment, folio will recognise internal sd and boot android ??? thats it ???
edit: but what boot.img must i flash ???
When i will have some time, i will rebuild a boot.img able too boot linux from a second partition on the sdcard. You will have fat32 on first partition and ext3 or ext4 on second. For now, you can live your sdcard in the folio but android is not able to access it (lack of ext3 / ext4 support, but easy to install ).
Akta
Thank's Akta for your help!!! Can you sometime post your progress? I want to help, but I don't have dev skills. Can you post some good link(searched, but no luck) or your howto about making kernels? I found for themes and I'll try to make some in my free time.
Sent from my folio 100 using Tapatalk
Quite interested by the dual boot on Folio 100.
I will keep an eye on this thread.
Akta77 said:
That's quite easy in fact :
In fastboot, just flash the boot.img instead of recovery :
fastboot flash recovery boot.img
That's it... you will loose "auto" recovery, but you will gain Linux Ubuntu
Akta
Click to expand...
Click to collapse
I there, I have few questions:
First, why are you flashing boot into recovery? Is not supposed that boot is the image that cares about booting procedure?
Second, once first question is solved, which boot image are we supposed to flash? I mean, we will need one that searches into sd for a boot/grub, isnt it?
Third, what about the procedure, I explain myself, the logical order of doing all this is: flash an android rom, CM for example, then do the procedure to install ubuntu into the sd and finally flash the boot img so system looks for sd-ubuntu and if it's not found, then boot internal android rom, am i right?
Thanks!
1. Yes.
2. Yes.
3. Yes.
Sent from my GT-I5700 using Tapatalk
Well, then:
Which image should we flash? Where can I can get it?
And finally, this image where must be flashed to dualboot?
Thanks!
Look in the second post on first page. You will see someone talking about dual boot. Find that post in first threde of Ubuntu for Folio 100 that wrote DerArtem(I think)
I don't have time to post link, but if you don't find it tell me and I'll post link.

fastboot for mac and linux

Hi all, I did a fastboot-mac that recognize our folio when in fastboot mode.
Just to recall what fastboot mode is: fastboot is an android state useful to flash and/or wipe images/partitions.
All version I tried didn't worked and then I compiled my own starting from the latest android sources.
This version works! Maybe some mac user like me could find it useful.
fastboot-mac.gz
And this is the linux version:
fastboot-linux.gz
Now why would we want to use Mac.... anything
Thanks
sacrilege!!!!
Lappz said:
Now why would we want to use Mac.... anything
Thanks
Click to expand...
Click to collapse
Btw, there is also the linux version...
roglio said:
Hi all, I did a fastboot-mac that recognize our folio when in fastboot mode.
Just to recall what fastboot mode is: fastboot is an android state useful to flash and/or wipe images/partitions.
All version I tried didn't worked and then I compiled my own starting from the latest android sources.
This version works! Maybe some mac user like me could find it useful.
fastboot-mac.gz
And this is the linux version:
fastboot-linux.gz
Click to expand...
Click to collapse
i have a question. i did not quite understand how fastboot will work on linux. or what would the function be?. can you help me explain a little?
gingerboy92 said:
i have a question. i did not quite understand how fastboot will work on linux. or what would the function be?. can you help me explain a little?
Click to expand...
Click to collapse
for me the same... here what I found :
3) Get the latest version of fastboot from the android sdk
4) Boot folio into fastboot (switch on, after toshiba press 3x power and then volume up) and connect to pc via usb
5) go to the directory where the fastboot executable lives and type your command
I have a lot of problems to access my folio under windows. Because I use both mac and linux, for me is more handy to access the fastboot mode via those OSes.
In my understanding the fastboot ditributed with the android sdk does not include the latest code to handle the tegra2 platform; then this is the reason why I recompiled it for both mac and linux starting from the latest git sources.
There is another reason why is worth to use mac or linux : no drivers are needed to access the fastboot mode!
Btw, if your windows setup works, of course you don't need to use neither mac nor linux version.
Just to recap: the fastboot mode give you the ability to erase and write any partition on an android device. Is really easy to do it:
"fastboot devices" will list all android devices attached via usb in fasboot mode
"fastboot erase recovery" will erase the recovery partition
"fastboot flash recovery recovery.img" will flash a new recovery.img in few seconds
I like fastboot mode because is more effective flashing a new distro and for my setup is useful because I do dual boot with ubuntu, replacing the recovery partition with the linux boot image.
I forgot to mention "fastboot -w" to wipe data partition and restore factory default
Moved to proper forum
I Have a folio which is working on the normal android system, but when I tread to install foliomod a few months ago my folio got ****ed.!
i cannot enter recovery mode. This is the reason why i have to use fastboot right?
I'm on a mac and what are the precise instructions on making fastboot work? and what should i do to get my recovery working again?!
This is a part i do not get
'' go to the directory where the fastboot executable lives and type your command'' Directory??
When i run the mac file you provided i simple says : command not found, (while my folio is connected in fastbood mode!)
Please help me out! Thanks alot!
hi, first of all, you must install the android sdk.
go to: sdk and download android-sdk_r15-macosx.zip
then, decompress the zip file and move the created folder to the root of your boot harddisk.
well, now you have to download the basic tools: navigate to /android-sdk-mac_x86/tools and double click android. this will open the android manager
install at least Android SDK tools and Android SDK platform-tools (remove any other predefined download)
now decompress the fastboot-mac executable (from my first post) and move it to /android-sdk-mac_x86/platform-tools
ok; now open a terminal and type: "cd /android-sdk-mac_x86/platform-tools"
then try to type: "./fastboot-mac devices" it should show the list of currently attached devices in fastboot mode. often the device is displayed as "????????" it is ok.
if the last command doesn't work, maybe you need to give it execution permission with this command: "chmod +x fastboot-mac" and retry
try and let me know
once you get your device in fastboot mode, look for a recovery.img and do as follow:
./fastboot-mac erase recovery
./fastboot-mac flash recovery recovery.img
then reboot in recovery mode and install what you want.
I suggest you to download the cwm betelgeuse recovery (cwm=clockworkmod).
Roglio! Thanks in advance,
I'm going to try it out tonight after I finish work!
A quick question:
I haven't got my folio with me but when i try to do this:
ok; now open a terminal and type: "cd /android-sdk-mac_x86/platform-tools"
I get:
MacBook-Pro-van-Willem-Jan-van-Dun:~ willem-janvandun$ /android-sdk-macosx
-bash: /android-sdk-macosx: is a directory
MacBook-Pro-van-Willem-Jan-van-Dun:~ willem-janvandun$ cd/android-sdk-macosx
-bash: cd/android-sdk-macosx: No such file or directory
MacBook-Pro-van-Willem-Jan-van-Dun:~ willem-janvandun$ cd /android-sdk-macosx
Al different commands as you can see. Which is the good one?
Thanks!
Roglio you are an hero!
You made my day!
Great job and keep up the good work! my little nephew will be so glad his tablet is working again!
Thanks!
You're welcome
Glad of being been helpful!
One more question!
I installed foliomod and everything is working great! But how can i backup this complete rom? do i use Rom Manager? and whch clockworkmod should i install then?
THanks!!
Via fastboot you should already installed cwm. If not i suggest v0.3 based on cw 3028.
This recovery already has a backup functionality to save the whole system (data included) to an sd card.
taxandria said:
One more question!
I installed foliomod and everything is working great! But how can i backup this complete rom? do i use Rom Manager? and whch clockworkmod should i install then?
THanks!!
Click to expand...
Click to collapse
links broken !
roglio said:
Hi all, I did a fastboot-mac that recognize our folio when in fastboot mode.
Just to recall what fastboot mode is: fastboot is an android state useful to flash and/or wipe images/partitions.
All version I tried didn't worked and then I compiled my own starting from the latest android sources.
This version works! Maybe some mac user like me could find it useful.
multiupload-com/5EFKZ8IMT0"]fastboot-mac.gz
And this is the linux version:
multiupload-com/91QOOXZHPY"]fastboot-linux.gz
Click to expand...
Click to collapse
I have the 2 operative systems, and the binaries are very useful on both cases, but the links are broken, can you upload them again ?
thank you

flash stock ROM without using fastboot

Device: Asus Zenfone 6 with LineageOS 16 and LineageOS recovery
long story short, fastboot doesn't seem to working on my device anymore. I tried using a different cable, different computer, different operating system etc. I'm able to get output when I do "sudo adb reboot bootloader" but not always and only intermittently even the charging happens always. But whenever I reboot into the bootloader and do "sudo fastboot devices", I don't get any output
I need to flash the stock ROM on this device to be able to sell it.
Is it possible to flash the stock ROM on it without using fastboot? I tried using the LineageOS recovery to install the stock ROM but I get the following error
failed to verify package compatibility (result 1): runtime info and framework compatibility matrix are incompatible: Vbmeta version 0.0 does not match framework matrix 1.0. Installation aborted.
bezelfree said:
Device: Asus Zenfone 6 with LineageOS 16 and LineageOS recovery
...
failed to verify package compatibility (result 1): runtime info and framework compatibility matrix are incompatible: Vbmeta version 0.0 does not match framework matrix 1.0. Installation aborted.
Click to expand...
Click to collapse
You can't use LOS recovery to flash the stock rom, it's only to update LineageOs itself. If TWRP, Clockwork mod recovery, pitch black recovery or any other custom recovery is available, you'll surely be able to flash the stock ROM.
And most of the time fastboot isn't working because the drivers aren't installed.
Make sure you download adb and fastboot from here : https://developer.android.com/studio/releases/platform-tools
You can check out this : https://www.asus.com/Phone/ZenFone-6-ZS630KL/HelpDesk_Download/
@bezelfree
A device's Stock ROM can get flashed via ADB
Code:
adb devices
adb reboot sideload
adb sideload <FULL_PATH_TO_STOCK_ROM_ZIP_FILE_ON_PC>
adb reboot
Raiz said:
You can't use LOS recovery to flash the stock rom, it's only to update LineageOs itself. If TWRP, Clockwork mod recovery, pitch black recovery or any other custom recovery is available, you'll surely be able to flash the stock ROM.
And most of the time fastboot isn't working because the drivers aren't installed.
Make sure you download adb and fastboot from here : https://developer.android.com/studio/releases/platform-tools
You can check out this : https://www.asus.com/Phone/ZenFone-6-ZS630KL/HelpDesk_Download/
Click to expand...
Click to collapse
Thanks for the reply.
Installing TWRP would also require fastboot I guess which I don't have right now. Can I flash TWRP without using fastboot?
I'm using adb and fastboot from the packages provided by my Linux distribution. They are also on the latest version.
Code:
$ adb --version
Android Debug Bridge version 1.0.41
Version 30.0.4
$ fastboot --version
fastboot version 30.0.4
I did, however, try doing this on Windows using the same link you mentioned and fastboot still didn't work. ADB works but not reliably.
bezelfree said:
Thanks for the reply.
Installing TWRP would also require fastboot I guess which I don't have right now. Can I flash TWRP without using fastboot?
I'm using adb and fastboot from the packages provided by my Linux distribution. They are also on the latest version.
I did, however, try doing this on Windows using the same link you mentioned and fastboot still didn't work. ADB works but not reliably.
Click to expand...
Click to collapse
Weird, you can install TWRP from the mobile app if your LOS is rooted. If it's not tho you're blocked. How did you install LOS in the first place ?
Raiz said:
Weird, you can install TWRP from the mobile app if your LOS is rooted. If it's not tho you're blocked. How did you install LOS in the first place ?
Click to expand...
Click to collapse
After an entire day of messing around, I finally got it.
First of all, I still can't get fastboot to work. I had the LineageOS recovery on my phone. I flashed the TWRP installer ZIP file from the LineageOS recovery and booted into TWRP. I installed the stock ROM from my SD Card in TWRP and rebooted. The device was stuck on the boot animation. Rebooted and did a factory reset and got the stock ROM back.
But yeah, fastboot still doesn't work for some reason. Don't know why. But hey, I got what I wanted.
Thanks for the help.
bezelfree said:
After an entire day of messing around, I finally got it.
....
Thanks for the help.
Click to expand...
Click to collapse
Nice to see it worked
And, I don't want to tell you what you have to do but make sure to tell the next owner about that fastboot problem. He won't be able to recover anything if the phone is bricked, so make sure he understood what he bought (at an interesting price I imagine)

How To Guide [TUTORIAL] ULTIMATE How to flash GSI Trebble AND ROM and root on Xiaomi device on Windows (files needed included)

Hi, first of all, I'm not a dev or else just user who had difficulties to flash GSI on my phone... Was 7 years with a samsung galaxy Note 3, with twrp....So easy to flash....
with the help of @gr0ndpa, thanks to him.....
FLASH GSI​
Now I will explain how to flash easily with files attached
1/ first of all you need a phone and drivers installed, use xiaomi pc suite, unzip and install it
2/ you need to activate USB debug in dev options.
3/ dl adb folder unzip it and put in C
4/ run command and type
Code:
cd /adb
5/ then
Code:
adb devices
to check if phone recognised
6/
Code:
adb reboot bootloader
once in fast boot
7/
Code:
fastboot flash vbmeta vbmeta.img
wait finished type to enter in fastbootD
8/
Code:
fastboot reboot fastboot
9/
Code:
fastboot flash system
LiR 313.XXX.img
you will have a system error, but wait the flash begin in few seconds
at the end wait ok then
10/
Code:
fastboot reboot recovery
on stock recover
11/ wipe data and reboot with +/- and PWR
and you're done...
In case you want to flash custom kernel or patched boot image to root with magisk, you have to
12/
Code:
adb reboot bootloader
Copy kernel boot image to C drive and rename kernel boot image to boot.img.
13/
Code:
fastboot flash boot c:\boot.img
14/
Code:
fastboot reboot
In case you want to flash twrp put the file to adb folder and type in fastboot
15/
Code:
fastboot boot twrp.img
Downloads for : Xiaomi Mi 11 Lite 5G | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
You can check what I ve done on tuto ss...
if you have some comments, don't hesitate...
I flashed LiR 18.1 rom and very happy with it.....
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==================================================================================================================================================================================================================++
Flash ROM​
This now how to flash ROM on your device, it's convenient for all roms like LOS, corvus, awaken...
First you need all the proper drivers installed and unlocked bootloader, USB debugging all of that stuff.
Now open up a cmd/terminal , and put the files i sent and the ROM file in the folder from where you're opening the cmd/terminal and connect the phone (you may need to put ./ as an suffix for all the commands if you're on linux)
Type
Code:
adb reboot bootloader
Then type
Code:
fastboot devices
to see if everything is ok
Then type
Code:
fastboot flash boot_ab boot.img
(you can drag and drop the file instead of typing it)
After that's done type
Code:
fastboot flash vendor_boot_ab vendor_boot.img
(you can drag and drop this too if you want)
Code:
fastboot flash dtbo dtbo.img
(you can drag and drop this too if you want)
After that's done type
Code:
fastboot reboot recovery
This will boot you into a recovery and now you need to go to wipe and format data
After that go to apply update then adb sideload then
In the cmd type
Code:
adb sideload rom.zip
for example (you put the ROM zip here you can drag and drop it)
Wait for that to finish it will go to 47% and on the phone it will show step 1/2 then step 2/2
and when it's done it's gonna show an error
adb: failed to read command: No error
Then you can reboot to system
Hello thank your for the short HowTo. Unfortunately im stuck on invalid sparse error. Could you pls post a fix to solve this? Would appreciate your help.
hardshell said:
Hello thank your for the short HowTo. Unfortunately im stuck on invalid sparse error. Could you pls post a fix to solve this? Would appreciate your help.
Click to expand...
Click to collapse
You have to wait at least 30 sec after the error appear...
Are you sure you are on fastbootD???
tuto modified and completed to also root device with magisk and patch boot.img
when i restart into fastboot, it is frozen.
dy2592 said:
when i restart into fastboot, it is frozen.
Click to expand...
Click to collapse
normal, nothing happens on fastboot....when you flash, only thing is on your computer, not on screen..
cant seem to get this installed =(
rayman95 said:
8/
Code:
fastboot reboot fastboot
Click to expand...
Click to collapse
After I enter this, it just stays on waiting for any device.
Update: I was able to figure it out. My device had no drivers so I went search through updates on windows and installed a LeMobile Android driver os it shows up properly in device manager.
How does one install gapps?
dy2592 said:
After I enter this, it just stays on waiting for any device.
View attachment 5419437
Update: I was able to figure it out. My device had no drivers so I went search through updates on windows and installed a LeMobile Android driver os it shows up properly in device manager.
Click to expand...
Click to collapse
because you don't have xiaomi drivers installed...install xiaomi pc suite and you will have drivers installed...
duplicate
rayman95 said:
In step 14, I encountered the error "fastboot: error: ANDROID_PRODUCT_OUT not set" after executing the fastboot flash system command. what do I need to do?
Click to expand...
Click to collapse
Did you insert the img at the end?
Fastboot flash system LIRxxxxxxxxxxxx.img
you have to put your rom to adb folder and dont forget to add .img at the end
rayman95 said:
you have to put your rom to adb folder and dont forget to add .img at the end
Click to expand...
Click to collapse
1.img is your rom Is there anything else missing?
dy2592 said:
Did you insert the img at the end?
Fastboot flash system LIRxxxxxxxxxxxx.img
Click to expand...
Click to collapse
yaha your right thank you so much
rayman95 said:
you have to put your rom to adb folder and dont forget to add .img at the end
Click to expand...
Click to collapse
thank I solved my problem. Now I have another problem, how to install GAPPs
Patrick Star_ said:
thank I solved my problem. Now I have another problem, how to install GAPPs
Click to expand...
Click to collapse
run twrp, it's explain in 1st post or maybe try with magisk...I can install minimicroG nogoolag with it..
rayman95 said:
run twrp, it's explain in 1st post or maybe try with magisk...I can install minimicroG nogoolag with it..
Click to expand...
Click to collapse
I tried to use twrp to brush into GAPP, but the error is 70. How can I solve it? I don't know if there is a problem with my twrp. Can you send a tutorial on xiaomi11 Lite 5g installing twrp? Thank you very much
Patrick Star_ said:
I tried to use twrp to brush into GAPP, but the error is 70. How can I solve it? I don't know if there is a problem with my twrp. Can you send a tutorial on xiaomi11 Lite 5g installing twrp? Thank you very much
Click to expand...
Click to collapse
In case you want to flash twrp put the file to adb folder and type in fastboot
15/
Code:
fastboot boot twrp.img
And twrp link is in post 1..maybe you choose bad gapps variant

Fastboot Flash or Boot .img file error

Hi there ,
I am currently having an issue and would appreciate some help .
What I want:
A new OS on my Android device. I actually dont care which OS, so i just chose LineageOS (In order to get rid of a Stock-ROM-Error)
[Rooting would also solve the Problem, but I cant get to either solution, see below]
What I have:
Lenovo Yoga Tab 3 Pro 10 (YT3-x90f)
Android 6.0.1
OEM unlocked
Bootloader unlocked
adb and fastboot connection to Win10 PC works
What I did:
Before I can install another OS, I need another Recoverysystem.
To achieve that I tried:
1.
start cmd with admin
"cd <PathFile to fastboot.exe and .img-file>
adb reboot bootloader
fastboot flashing unlock
fastboot flash recovery twrp.img"
reboot to recovery
2.
start cmd with admin
"cd <PathFile to fastboot.exe and .img-file>
adb reboot bootloader
fastboot flashing unlock
fastboot boot twrp.img"
In the pictures I used Powershell instead of CMD (But that was due to an fastboot Error, that I could solve with existing posts in the forum )
And here comes the current Main-Problem:
In CMD I can flash or boot any .img file to the android device without error messages.
But on my tablet I ALWAYS get the following Error:
"bzimage kernel corrupt
couldnt load boot image: invalid parameter"
I tried the following .img files:
TWRP
- 3.6.2
- 3.6.1
- 3.1.1
- 3.0.2
- 2.8.7
- 2.5.0
OrangeFox
To Outrule an Error or an Incompatibility in the img file from TWRP I tried OrangeFox and got the same message.
Thanks a lot in advance for your time
Sven_Wolf said:
Hi there ,
I am currently having an issue and would appreciate some help .
What I want:
A new OS on my Android device. I actually dont care which OS, so i just chose LineageOS (In order to get rid of a Stock-ROM-Error)
[Rooting would also solve the Problem, but I cant get to either solution, see below]
What I have:
Lenovo Yoga Tab 3 Pro 10 (YT3-x90f)
Android 6.0.1
OEM unlocked
Bootloader unlocked
adb and fastboot connection to Win10 PC works
What I did:
Before I can install another OS, I need another Recoverysystem.
To achieve that I tried:
1.
start cmd with admin
"cd <PathFile to fastboot.exe and .img-file>
adb reboot bootloader
fastboot flashing unlock
fastboot flash recovery twrp.img"
reboot to recovery
2.
start cmd with admin
"cd <PathFile to fastboot.exe and .img-file>
adb reboot bootloader
fastboot flashing unlock
fastboot boot twrp.img"
In the pictures I used Powershell instead of CMD (But that was due to an fastboot Error, that I could solve with existing posts in the forum )
And here comes the current Main-Problem:
In CMD I can flash or boot any .img file to the android device without error messages.
But on my tablet I ALWAYS get the following Error:
"bzimage kernel corrupt
couldnt load boot image: invalid parameter"
I tried the following .img files:
TWRP
- 3.6.2
- 3.6.1
- 3.1.1
- 3.0.2
- 2.8.7
- 2.5.0
OrangeFox
To Outrule an Error or an Incompatibility in the img file from TWRP I tried OrangeFox and got the same message.
Thanks a lot in advance for your time
Click to expand...
Click to collapse
There is only one working TWRP recovery available for this tablet here (the data enabled one in post #2). If you have any questions about it, go to this thread.

Categories

Resources