Related
So I just confirmed with Phhusson Treble ROMs working on our Taimen.
Taimen was long time the only device that supported Treble but could not benefit from Treble based ROMs becuase of verified boot, but a way around it has just been confirmed working.
See https://android.googlesource.com/platform/build/+/master/target/board/treble_common.mk#52 for the code behind it
And this vbmeta.img from Phhusson allows bypassing verified boot https://androidfilehost.com/?fid=890129502657591211 this image is to be flashed to vbimage partition right after flashing treble system image
Credits to Phhusson for the code and work on Treble
Credits to me for all the testing and debugging
Credits to MishaalRahman for the idea
So what does any of this mean? Pixels run stock android as stock rom anyway?
True, currently it doesn't make much sense to use Phh rom over stock, but Treble might make things much easier for custom ROM devs and future ROMs once support from Google ends.
Cheers
Cool! Does this potentially mean that possibly custom ROMs would be able to be flashed on locked bootloaders
slogar25 said:
Cool! Does this potentially mean that possibly custom ROMs would be able to be flashed on locked bootloaders
Click to expand...
Click to collapse
No
I mean yea this is all well and good but until we have an img we can flash with fastboot to give us access to all (samsung, htc, lge, MIUI) custom spins of android this really won't attract much attention. I'm looking forward to it as much as you, since we can poke and prod at these vendor images to find a way to simplify ROM creation. However I have yet to encounter such images. I guess I'm pretty new to this stuff so maybe there's someone out there with access to the latest samsung vendor images.
The concept of flashing a single vendor.img to the bootloader to switch android 'spins' is in itself an extrEMELY attrActive one. I hope the android gods bless us with such a revalation.
i tried it with rr treble but does not work for me.
i clean flashed all , do a factory reset . After that i flash system image to system . And now? vbmeta flash in twrp to boot or vendor?
I have the same question.
Punraz_ said:
i tried it with rr treble but does not work for me.
i clean flashed all , do a factory reset . After that i flash system image to system . And now? vbmeta flash in twrp to boot or vendor?
Click to expand...
Click to collapse
DISCLAIMER
Not taking responsibility if it goes wrong
Do not use this procedure if you have a higher bootloader version than Cx182, it will brick your device.
I made this because I didn't want to flash oreo -02 firmware only -03, and I know that both have the same bootloader and modem. I advice against this if you have -02, you should do it the proper way.
This guide works for both XT1635-02 and XT1635-03.
This was tested using XT1635-03 on a custom ROM.
Make sure you have adb enabled on your device.
You should not loose any data, and you will be able to boot back to the system without any problem.
This will update to the following:
Bootloader Version: Cx182
Modem Version: M8953_10238.63.04.83R
FSG Version: FSG-8953-04.118
Download Oreo stock signed image:
NOTE: This image is for XT1635-02, but for 2 times (from Marshmallow to Nougat, and from Nougat to Oreo I've used a XT1635-02 image on my XT1635-03 and it still works)
Link in this thread
[url]https://drive.google.com/file/d/1J3A1tXgYBt16-DLzbn1YnwboVHKq37D4/view[/URL]
[url]https://mega.nz/#!K8NznAYY!5iwmWn8_BmoQrQF8-LPPykffrpglp5VZWxS6_We-njk[/URL]
Unzip the downloaded zip into your adb folder.
Boot device into Bootloader/Fastboot Mode.
If you are not sure what are you doing, ask here or read fastboot documentation before flashing anything
Commands: Credits to @allrightlite
Code:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
EDIT: OP says only use on -03. cool.
You are telling folks they can turn a 7 ROM into an 8 ROM.
1.82 bl is Oreo.
Ill advised if you flash to N ROM (?).
Ill advised to flash bl separate from ROM (?).
(EDIT - I really don't know to what extent you can mix them but may well be more than I know.)
KrisM22 said:
1.82 bl is Oreo. Ill advised if you flash to N ROM. Ill advised to flash bl separate from ROM.
Click to expand...
Click to collapse
You mean N stock right?
My suggestion is - don't mix bl and rom unless you really know what you are doing and are ready to deal with a brick situation. These are not legos. a different bl provides a different environment . A ROM expects/needs a certain environment to run correctly. The only okay mix I know of is Alberto97's 8.1AOSP which runs on a 7.x bl 0 but it was especially built to do so.
EDIT: I really don't know to what extent you can mix the contents of a 7 and 8 ROM.(stock and/or custom)
KrisM22 said:
My suggestion is - don't mix bl and rom unless you really know what you are doing and are ready to deal with a brick situation. These are not legos. a different bl provides a different environment . A ROM expects/needs a certain environment to run correctly. The only okay mix I know of is Alberto97's 8.1AOSP which runs on a 7.x bl 0 but it was especially built to do so.
Click to expand...
Click to collapse
You mean not to mix bl with stock ROMs, custom ones is fine right?
Fábio Ferreira said:
You mean not to mix bl with stock ROMs, custom ones is fine right?
Click to expand...
Click to collapse
nope. - you're mixing 7 and 8 ROM guts.
This will update to the following:
Bootloader Version: Cx182
Modem Version: M8953_10238.63.04.83R
FSG Version: FSG-8953-04.118
Click to expand...
Click to collapse
Okay! So if you look at the above posts you will see that twice I have taken the time to warn you against doing what you want to do. That's all I can do. The responsibility for what you do is yours alone. ANY ROM relies heavily on its support system/bl/environment. Change that and you will have an unknown situation. Stock ROMs, custom ROMs , soaktests, all need something to stand on that is designed for them.
Think physical building architecture for a minute. if I take a 100 story building off its foundation and drop it on another foundation, How likely do you think it would be to remain as strong as before? or just fall over?
going through re-editing this stuff and just saying again:
EDIT: I really don't know to what extent you can mix the contents of a 7 and 8 ROM.
Keep cool, that's working. Special thanks goes to Alberto97, who has tell us in his thread what we need. But thanks to TeamMax, too. He has confirmed, that we don't need OEM.img for custom ROMs (it's unused, so for treble/vendor). So, the 5 commands are working fine. Have tested here and no problems. Now on Android 9.0 thanks Treble
KrisM22 said:
Okay! So if you look at the above posts you will see that twice I have taken the time to warn you against doing what you want to do. That's all I can do. The responsibility for what you do is yours alone. ANY ROM relies heavily on its support system/bl/environment. Change that and you will have an unknown situation. Stock ROMs, custom ROMs , soaktests, all need something to stand on that is designed for them.
Think physical building architecture for a minute. if I take a 100 story building off its foundation and drop it on another foundation, How likely do you think it would be to remain as strong as before? or just fall over?
Click to expand...
Click to collapse
But I don't understand, the only thing I'm not flashing is system, which custom ROMs replace.
We already take a building and change foundations.
Fábio Ferreira said:
But I don't understand, the only thing I'm not flashing is system, which custom ROMs replace.
We already take a building and change foundations.
Click to expand...
Click to collapse
You are mixing the guts of N and O ROMs.
Fábio Ferreira said:
You mean not to mix bl with stock ROMs, custom ones is fine right?
Click to expand...
Click to collapse
No
stock or custom use the same bl etc. The difference is between 7 and 8. You are taking stuff from 8 and putting it into a ROM built around 7.
again, just:
EDIT: I really don't know to what extent you can mix the contents of a 7 and 8 ROM.
OP edited OP to say only use on -03 , so, cool. You can sum up my comments in this thread to say "if you're on -02, know what you're doing and be able to unbrick yourself" - ignore the rest.
I think OP knows what te is doing for -03 (and maybe for -02 as well...! )
Apparently you are able to mix 7 and 8 - I just don't want to go on record for having said it and have someone brick their phone. But that is the direction of treble. Enjoy.
Mi Max 3 MIUI ROMs without firmware
We all know that Xiaomi added Anti roll-back to latest Stable/Beta ROMs (8.8.17 China Beta | 9.6.12.0 China stable) for (Mi Max 3). Which means if you flashed an older fw/rom with a different (lower) anti version of your current one your device will be bricked!
Here I'll provide MIUI ROMs fully stock but without "firmware-update", to prevent any potential bricking while switching between Miui Based ROMs
This process is automated and provided as a part of Xiaomi Firmware Updater Project.
Firmware-less ROMsAndroidfilehost:
Stable/Developer Firmware-less ROMs
Notes:
After flashing any of the builds above you can't go and flash FULL Miui ROMs to downgrade, just stick to my modded versions if you want to use older MIUI builds
No matter which Anti you have, you can flash any of those ROMs with TWRP
These ROMs doesn't affect your phone bootloader in any way, so you can roll back to your old ROM after Flashing any of the above builds
One more time, those ROMs won't remove or change your anti.
Again, if your phone is anti 4, you can't just simply go and flash FULL older ROM, even after flashing Modded builds, so stick with my builds
Anti 4 users can flash any of those builds just fine
[*]All the notes Above applies for My Modded builds only, do NOT go and share it as facts for all Miui ROMs
Credits:
@AL_IRAQI for the idea and thread template
me for the script and automating :laugh:
XDA:DevDB Information
Mi Max 3 MIUI ROMs without firmware [fw-less], ROM for the Xiaomi Mi Max 3
Contributors
yshalsager
Source Code: https://github.com/XiaomiFirmwareUpdater/mi-firmware-less-updater/tree/nitrogen_weekly
ROM OS Version: 8.x Oreo
Version Information
Status: Stable
Created 2018-08-25
Last Updated 2018-09-23
Telegram:
- XiaomiFirmwareUpdater
- MIUIUpdatesTracker
- XiaomiGeeks Group
Thank you for your work. I am currently on 9.6.4.0
Is the firmware-less version based from the global version from xiaomi.eu?
xiaomi.eu_multi_MIMAX3_8.8.23_v10-8.1.zip
2bdf5f2c8cd0ff1d6382dccd31a874a277c4f222
wooldogsinc said:
Thank you for your work. I am currently on 9.6.4.0
Is the firmware-less version based from the global version from xiaomi.eu?
xiaomi.eu_multi_MIMAX3_8.8.23_v10-8.1.zip
2bdf5f2c8cd0ff1d6382dccd31a874a277c4f222
Click to expand...
Click to collapse
I provide global and China only.
MIUI 10 8.8.30 China Beta Firmware-less ROM
Telegram Channel: https://t.me/XiaomiFirmwareUpdater | https://t.me/MIUIUpdatesTracker
Androidfilehost: (Mirror)
Developer Firmware-less ROMs
have those rom request unlock bootloader before flash ? can i testpoint to flash ?
same question with redmi note 5
thank bro
empty.cad said:
have those rom request unlock bootloader before flash ? can i testpoint to flash ?
same question with redmi note 5
thank bro
Click to expand...
Click to collapse
You must flash from twrp.
should I unlock bootloader first?
shaifullah.ahad said:
should I unlock bootloader first?
Click to expand...
Click to collapse
Of course
yshalsager said:
Of course
Click to expand...
Click to collapse
but when trying to unlock bootloader Mi Unlock says:
could not unlock After 714 hours of trying to unlock the devices
shaifullah.ahad said:
but when trying to unlock bootloader Mi Unlock says:
could not unlock After 714 hours of trying to unlock the devices
Click to expand...
Click to collapse
You have to wait that 714 hours and then you can unlock it.
Can these be flashed to repair partitions.
Where can I get China original before anti roll back
yshalsager said:
Mi Max 3 MIUI ROMs without firmware
We all know that Xiaomi added Anti roll-back to latest Stable/Beta ROMs (8.8.17 China Beta | 9.6.12.0 China stable) for (Mi Max 3). Which means if you flashed an older fw/rom with a different (lower) anti version of your current one your device will be bricked!
Here I'll provide MIUI ROMs fully stock but without "firmware-update", to prevent any potential bricking while switching between Miui Based ROMs
This process is automated and provided as a part of Xiaomi Firmware Updater Project.
Firmware-less ROMsAndroidfilehost:
Stable/Developer Firmware-less ROMs
Notes:
After flashing any of the builds above you can't go and flash FULL Miui ROMs to downgrade, just stick to my modded versions if you want to use older MIUI builds
No matter which Anti you have, you can flash any of those ROMs with TWRP
Those ROMs doesn't affect your phone bootloader in any way, so you can roll back to your old ROM after Flashing any of the above builds
One more time, those ROMs won't remove or change your anti.
Again, if your phone is anti 4, you can't just simply go and flash FULL older ROM, even after flashing Modded builds, so stick with my builds
Anti 4 users can flash any of those builds just fine
[*]All the notes Above applies for My Modded builds only, do go and share it as facts for all Miui ROMs
Credits:
@AL_IRAQI for the idea and thread template
me for the script and automating :laugh:
XDA:DevDB Information
Mi Max 3 MIUI ROMs without firmware [fw-less], ROM for the Xiaomi Mi Max 3
Contributors
yshalsager
Source Code: https://github.com/XiaomiFirmwareUpdater/mi-firmware-less-updater/tree/nitrogen_weekly
ROM OS Version: 8.x Oreo
Version Information
Status: Stable
Created 2018-08-25
Last Updated 2018-08-25
Click to expand...
Click to collapse
Hello I wanna ask,
Now that V9.6.6.0.OEDMIFD Global was released, I checked and it doesnt have anti-rollback (anti-1)
The problem is that some people are on anti rollback enabled (anti 4) roms and they want to get the global rom.
Is it possible for you to remove the firmware files from 9.6.6.0 and then make a version that allows anti-rollback people to downgrade / change their china rom to it?
Thanks and have a great day!
omer919 said:
Hello I wanna ask,
Now that V9.6.6.0.OEDMIFD Global was released, I checked and it doesnt have anti-rollback (anti-1)
The problem is that some people are on anti rollback enabled (anti 4) roms and they want to get the global rom.
Is it possible for you to remove the firmware files from 9.6.6.0 and then make a version that allows anti-rollback people to downgrade / change their china rom to it?
Thanks and have a great day!
Click to expand...
Click to collapse
yes they can
yshalsager said:
yes they can
Click to expand...
Click to collapse
Can you guide us to how to install global 9.6.6.0 no-fw (anti-1)from china beta 8.8.30 (anti-4) ?
many people are on that version and might wanna switch to an official global version.
I hope you release the version and guide us
omer919 said:
Can you guide us to how to install global 9.6.6.0 no-fw (anti-1)from china beta 8.8.30 (anti-4) ?
many people are on that version and might wanna switch to an official global version.
I hope you release the version and guide us
Click to expand...
Click to collapse
as soon as my scripts detect it, it'll be uploaded to my AFH, to install flash from twrp.
yshalsager said:
as soon as my scripts detect it, it'll be uploaded to my AFH, to install flash from twrp.
Click to expand...
Click to collapse
1. do we need to wipe something? (clean installation)
2. wont there be a high firmware mismatch?
3. what if there are updates? wont it detect it and break our devices?
4. how can you install this over 8.8.30, its miui 10... ?
5. Do you suggest installing stable 9.6.12.0 first?
6. cant you just use the link on the other thread? its available for download
omer919 said:
1. do we need to wipe something? (clean installation)
2. wont there be a high firmware mismatch?
3. what if there are updates? wont it detect it and break our devices?
4. how can you install this over 8.8.30, its miui 10... ?
5. Do you suggest installing stable 9.6.12.0 first?
6. cant you just use the link on the other thread? its available for download
Click to expand...
Click to collapse
1- wipe system data cache vendor
2- No
3- don't update and stick to my fw-less till global become the same anti.
4- Do as point 1 and flash the rom
5- No
6- http://bigota.d.miui.com/V9.6.6.0.OEDMIFD/miui_MIMAX3Global_V9.6.6.0.OEDMIFD_091e94a919_8.1.zip
yshalsager said:
1- wipe system data cache vendor
2- No
3- don't update and stick to my fw-less till global become the same anti.
4- Do as point 1 and flash the rom
5- No
6- http://bigota.d.miui.com/V9.6.6.0.OEDMIFD/miui_MIMAX3Global_V9.6.6.0.OEDMIFD_091e94a919_8.1.zip
Click to expand...
Click to collapse
Thank you for your answer,
1. wont wiping vendor and system brick the phone (MIUI isnt capable of wiping system partition from twrp)?
2. does that mean that when using your modified rom, xiaomi will still send us ota breaking our phones? if so what can we do to prevent this?
3. yes this is the link! I really hope you create a modified version fo this allowing people to finally use a global rom even on anti-rollback
4. when 9.6.8.0 (Anti-rollback) global is released, do we need to update to it using your modified version or can we fastboot clean flash it as it has anti-4 ? I wanna make sue I dont break my device as its not fixable...
omer919 said:
Thank you for your answer,
1. wont wiping vendor and system brick the phone (MIUI isnt capable of wiping system partition from twrp)?
2. does that mean that when using your modified rom, xiaomi will still send us ota breaking our phones? if so what can we do to prevent this?
3. yes this is the link! I really hope you create a modified version fo this allowing people to finally use a global rom even on anti-rollback
4. when 9.6.8.0 (Anti-rollback) global is released, do we need to update to it using your modified version or can we fastboot clean flash it as it has anti-4 ? I wanna make sue I dont break my device as its not fixable...
5. Someone said this rom is faulty can you check that out?
Click to expand...
Click to collapse
1- no, miui will replace it anyway.
2- ota is part of stock rom, my modded rom is stock one without firmware, nothing less, nothing more.
3- I'll leave this to my auto scripts.
4- fastboot or flash from twrp.
5- this rom is legit, official from mi. http://ru.miui.com/thread-14549-1-1.html
Because many users are repeatedly asking this and everyone needs to answer again and again, I write it up here:
This is only true for Oreo and later Custom ROMs! For nougat refer to post #3 by @TheFixItMan (thanks for the tip that users still use nougat )
You can choose between this ways (doing both is wasted time!)
- Have stock Oreo installed before flashing your ROM (for most users not an option because they already have the issue)
- Flash https://github.com/nift4/nift4.github.io/releases/tag/cedric-fp-fix over your existing custom ROM
Yes, it's so easy
do you have the fix for Lineage os 14.1, i tried this ine didn't work for me. :s
Pedro_r said:
do you have the fix for Lineage os 14.1, i tried this ine didn't work for me. :s
Click to expand...
Click to collapse
Download stock nougat firmware and flash just the following two parts
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
For fingerprint to work you need to have a base stock firmware that matches the base of the rom you are using - so in the case of lineage 14.1 that is nougat
The zip file in the op contains oero files so is for people who never bothered flashing oero firmware when they flashed an oero based custom rom
OP should explain what the zip file does (flashes the two files I've mentioned but from oero firmware) to help people understand the issue
TheFixItMan said:
Download stock nougat firmware and flash just the following two parts
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
For fingerprint to work you need to have a base stock firmware that matches the base of the rom you are using - so in the case of lineage 14.1 that is nougat
The zip file in the op contains oero files so is for people who never bothered flashing oero firmware when they flashed an oero based custom rom
OP should explain what the zip file does (flashes the two files I've mentioned but from oero firmware) to help people understand the issue
Click to expand...
Click to collapse
I explain, thanks for the tip
Hi,
I have a motog5 xt1676.
I was on Nougat and I updated to Carbon Rom (after trying with lineage 17, same issue) and i have to choices:
-Doing nothing and people can hear me when i am in speakerphone but the fingerprint doesn't work.
-I patch with the first link for orea then the fingerprint work but people can't hear me when i'm in speakerphone.
Patching with nougat files does nothing...
Is there a way to edit the fix or to make a fix myself avoiding the speaker issue ?
I though to change build.prop or a way to change the way sound is mixed during call but i did'nt test changing all lines.
Do you have an other idea ?
A fix for pie ? ( Carbon is Pie when Pie is cooked too much time =D )
Thank you,
Pierre Archer
The ROM: CARBON-CR-7.0-OPAL-RELEASE-cedric-20200920-0426
piecraxe said:
Hi,
I have a motog5 xt1676.
I was on Nougat and I updated to Carbon Rom (after trying with lineage 17, same issue) and i have to choices:
-Doing nothing and people can hear me when i am in speakerphone but the fingerprint doesn't work.
-I patch with the first link for orea then the fingerprint work but people can't hear me when i'm in speakerphone.
Patching with nougat files does nothing...
Is there a way to edit the fix or to make a fix myself avoiding the speaker issue ?
I though to change build.prop or a way to change the way sound is mixed during call but i did'nt test changing all lines.
Do you have an other idea ?
A fix for pie ? ( Carbon is Pie when Pie is cooked too much time =D )
Thank you,
Pierre Archer
The ROM: CARBON-CR-7.0-OPAL-RELEASE-cedric-20200920-0426
Click to expand...
Click to collapse
As explained
If your stock rom firmware is nougat I suggest updating it to oreo to use pie custom rom
Read my post above (post number three) for full explaination
Any other issues is probably a rom issue - I don't even think carbon rom is actively supported for this device. Use lineageos/Mint os from dev section
TheFixItMan said:
As explained
If your stock rom firmware is nougat I suggest updating it to oreo to use pie custom rom
Read my post above (post number three) for full explaination
Any other issues is probably a rom issue - I don't even think carbon rom is actively supported for this device. Use lineageos/Mint os from dev section
Click to expand...
Click to collapse
Thank you !
Sorry, I midunderstood, I understand better now.
Then installing oreo stock ROM add more "compatibility files" to link with a pie ROM from nougat.
Lineage os is not officially supported on motog5 device, thats why i looked for carbon. But the unofficial lineage os for motog5 look like as frequently updated as "official" carbon rom. I dont know if Carbon updates are caring of hardware details and if they are released without real adaptation. Lineage os pay probably more attention to hardware because motog5 is not officially supported by lineage... Idk...
Thank you,
Pierre Archer
piecraxe said:
Thank you !
Sorry, I midunderstood, I understand better now.
Then installing oreo stock ROM add more "compatibility files" to link with a pie ROM from nougat.
Lineage os is not officially supported on motog5 device, thats why i looked for carbon. But the unofficial lineage os for motog5 look like as frequently updated as "official" carbon rom. I dont know if Carbon updates are caring of hardware details and if they are released without real adaptation. Lineage os pay probably more attention to hardware because motog5 is not officially supported by lineage... Idk...
Thank you,
Pierre Archer
Click to expand...
Click to collapse
Don't be concerned too much about the terms official and unofficial
Nearly all lineageos roms will start off as unofficial - it's users who build it. It's only when they are submitted to lineageos and they add it to their build server it becomes official but its the same device tree.
The only reason the lineage os rom has not been made official is because the camera is not fully working like it is in stock rom so it doesn't meet the criteria to be submitted
Hello,
I desperatly want to downgrade my M30s (SM-M307FN) back to android 9.
It seems that i have no chances with the official firmwares because my current bootloader is now ver 3 and there is no ver 3 android 9 firmware.
My current Software is :
PDA = M307FNXXU2BTD1
CSC = M307FNOJM2BTG1
What are my available options ?
If I unlocked my bootloader and installed TWRP, would that allow me to use the official android 9 firmware and downgrade ?
IF not?
Is there Any know stable Custom Roms that would bring me Android 9 and known to work smoothly on M30s ?
I have no experince with custom roms, so i need directd roms recommendations if possible.
Please
If your device supports Treble, then you can flash GSI using TWRP. You can learn if your device support Treble by installing this app: Treble Check. You'll see all of the information you will need. By the way, please be careful about the partitioning of your phone. If it is A/B partitioned, then you will need an A/B GSI.
You can also check the GSI list here : GSI list.