34

[OFFICIAL] AOSP R Mod //CAOS11

 1 year ago
source link: https://forum.xda-developers.com/t/official-aosp-r-mod-caos11.4265059/page-11#post-88225723
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

[OFFICIAL] AOSP R Mod //CAOS11

zenowaren

Senior Member
May 3, 2011
Thanks 👍 can you explain further the process of installing custom ROM via fastboot? I am used to installing custom ROMs by copy them to an SD card
I followed the guide below. It is for ZA5G0100TR. I am not sure if it will work for your device too.

First of all Have platform-tools installed for adb / fastboot

Here it is important to select the rom file which is suitable for your device.

I am not responsible for bricked devices.

- I presume you unlocked bootloader. Otherwise -> Unlocking Bootloader
- If you want root -> Steps 2-3 (You must get boot.img and vbmeta.img from your stock rom version which is already runnig your device) you might find your stock rom from here

Warning, all user data, apps etc. will be deleted.

If you want root just use pached_boot.img;
Code:
adb reboot bootloader
fastboot flash boot magisk_patched_boot.img
fastboot --disable-verification flash vbmeta vbmeta.img
fastboot erase system
fastboot flash boot magisk_patched_boot.img
fastboot flash system rom_img_you_want_to_install(extract from zip file)
fastboot -w
fastboot format cache
fastboot reboot bootloader
fastboot erase userdata
fastboot reboot
If you dont want root just use stock boot.img and vbmeta.img from your device stock rom;
Code:
adb reboot bootloader
fastboot flash boot boot.img
fastboot --disable-verification flash vbmeta vbmeta.img
fastboot erase system
fastboot flash boot boot.img
fastboot flash system rom_img_you_want_to_install(extract from zip file)
fastboot -w
fastboot format cache
fastboot reboot bootloader
fastboot erase userdata
fastboot reboot
Last edited: Oct 25, 2022

vassiliszacharis

Senior Member
Oct 6, 2020
I followed the guide below. It is for ZA5G0100TR. I am not sure if it will work for your device too.

First of all Have platform-tools installed for adb / fastboot

Here it is important to select the rom file which is suitable for your device.

I am not responsible for bricked devices.

- I presume you unlocked bootloader. Otherwise -> Unlocking Bootloader
- If you want root -> Steps 2-3 (You must get boot.img and vbmeta.img from your stock rom version which is already runnig your device) you might find your stock rom from here

Warning, all user data, apps etc. will be deleted.

If you want root just use pached_boot.img;
Code:
adb reboot bootloader
fastboot flash boot magisk_patched_boot.img
fastboot --disable-verification flash vbmeta vbmeta.img
fastboot erase system
fastboot flash boot magisk_patched_boot.img
fastboot flash system rom_img_you_want_to_install(extract from zip file)
fastboot -w
fastboot format cache
fastboot reboot bootloader
fastboot erase userdata
fastboot reboot
If you dont want root just use stock boot.img and vbmeta.img from your device stock rom;
Code:
adb reboot bootloader
fastboot flash boot boot.img
fastboot --disable-verification flash vbmeta vbmeta.img
fastboot erase system
fastboot flash boot boot.img
fastboot flash system rom_img_you_want_to_install(extract from zip file)
fastboot -w
fastboot format cache
fastboot reboot bootloader
fastboot erase userdata
fastboot reboot

Cheers mate I tried all the same again. I think I will go to stock ROM, tough luck

Reactions: zenowaren

rw_on_xda

Senior Member
Jun 24, 2013 Berlin
I think I will go to stock ROM,

AFAIK, I need to do in any case when a custom rom flash was unsuccessful

BTW:
is your device in this list ?

github.com

Lenovo and Motorola

Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com

vassiliszacharis

Senior Member
Oct 6, 2020
AFAIK, I need to do in any case when a custom rom flash was unsuccessful

BTW:
is your device in this list ?
github.com

Lenovo and Motorola

Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com

My device is Lenovo tablet X606-F. Some have already managed to install it. Some other like me, unfortunately not. It might be TWRP fault. My device is not on that particular list mate.

rw_on_xda

Senior Member
Jun 24, 2013 Berlin
My device is Lenovo tablet X606-F. Some have already managed to install it. Some other like me, unfortunately not. It might be TWRP fault. My device is not on that particular list mate.

Then you should search for an HowTo-flash for your device.

I'm currently unsure if you got what I said before, so again:
On my SM-T510 I need to *first* flash stock with bootloader unlock, etc if a custom rom flash failed.

over and over again flashing a custom rom under TWRP (no idea if so too via fastboot) when one flash failed won't lead to an successful custom rom flash

Last edited: Oct 31, 2022
My device is Lenovo tablet X606-F. Some have already managed to install it. Some other like me, unfortunately not. It might be TWRP fault. My device is not on that particular list mate.

Sorry I logged into xda after 2 months. Try Telegram for your device group or contact Developer named Eternityson on Telegram, he is very helpful and he is Developer for CAOS11 and Other GSI ROMS like A11 CrDroidv316 R-Mod. He can definitely tell you how to boot his GSI on Lenovo Tab or further directions. I flashed for Shamshung device SM-M215G using TWRP after unlocking bootloader, you have to check in Developer Optons if the Unlock Bootloader option is greyed out, if not greyed out you cannot flash any TWRP or ROM or GSI as it will reboot to Stock Recovery or maybe bootloader. To make Unlock Bootloader option greyed out, after you have unlocked bootloader connect to internet for 10 seconds and the Unlock Bootloader option will be greyed out automatically, after that flashing anything is possible, this is for Shamshung but check for Lenovo, the steps could be a bit different to unlock bootloader properly.

Reactions: vassiliszacharis

vassiliszacharis

Senior Member
Oct 6, 2020
Thank you ☺️ mates 🙂 I installed again stock ROM then installed lineage android 12, no luck with CAOS though...

rw_on_xda

Senior Member
Jun 24, 2013 Berlin
Thank you ☺️ mates 🙂 I installed again stock ROM then installed lineage android 12, no luck with CAOS though...
have you checked the correct caos rom variant with this app ?
play.google.com

Treble Info - Apps on Google Play

Helps you check Project Treble, A/B and Architecture for GSI installation
play.google.com
- you need to unzip the caos*.xz, e.g. "xz -dkv caos-*.xz" (on a linux box)
- copy the unzipped file to an sdcard on your device
- reboot into TWRP
- format DATA (and /or System ???)
- flash the caos rom to System

that's what I did on my SM-T510.

I guess if you could flash lineage you should be able to flash caos too
and currently you don't need to install stock with your TWRP installed.
just go though the above steps.

sure if the caos flash fails you need to flash stock again to get the device in a clean state

P.S.
currently I'm unsure what the differences between lineage and caos are, but I guess they aren't much ...
Last edited: Nov 15, 2022

Reactions: vassiliszacharis

have you checked the correct caos rom variant with this app ?
play.google.com

Treble Info - Apps on Google Play

Helps you check Project Treble, A/B and Architecture for GSI installation
play.google.com
- you need to unzip the caos*.xz, e.g. "xz -dkv caos-*.xz" (on a linux box)
- copy the unzipped file to an sdcard on your device
- reboot into TWRP
- format DATA (and /or System ???)
- flash the caos rom to System

that's what I did on my SM-T510.

I guess if you could flash lineage you should be able to flash caos too
and currently you don't need to install stock with your TWRP installed.
just go though the above steps.

sure if the caos flash fails you need to flash stock again to get the device in a clean state

P.S.
currently I'm unsure what the differences between lineage and caos are, but I guess they aren't much ...

I have tested both CAOS 11 & CrDroid11 R-Mod , both are made by same dev Eternityson, I found CrDroid11 better than CAOS11, but thats just my opinion. User can try both for a week and compare.

Reactions: vassiliszacharis

vassiliszacharis

Senior Member
Oct 6, 2020
Is CAOS ROM still on Android 11 or have already been updated to let's say android 12 or Android 13?
Is CAOS ROM still on Android 11 or have already been updated to let's say android 12 or Android 13?

yes its on A11 till now.

Reactions: vassiliszacharis

Hi Eternityson, Can you post Caos11 OR CrDroid 11 - R-Mod with latest Security Patch? Its great Gsi-Rom you have made . Waiting for your reply.

rw_on_xda

Senior Member
Jun 24, 2013 Berlin
Hi Eternityson, Can you post Caos11 OR CrDroid 11 - R-Mod with latest Security Patch? Its great Gsi-Rom you have made . Waiting for your reply.

I guess you'll need to wait somewhat longer, cause (see first page) cit.:
"CAOS 11 (Custom AOSP OS) is a project which based on @phhusson's Treble GSI AOSP 11..."

and the last looks like this:

github.com

Releases · phhusson/treble_experimentations

Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
=> "Still July security patch" (but AOSP 12.1)

in case: If I'm not completely blind or looked at the wrong place ...

Terrorigel97

Senior Member
Jul 27, 2016
this rom is asking for an passwort to boot why?

rw_on_xda

Senior Member
Jun 24, 2013 Berlin
this rom is asking for an passwort to boot why?

my wild guess (cause your lack of enough info's):
- cause bootloader is unlocked (but it boots after some seconds or after pressing power button)
OR
- cause you didn't wipe data (see 1st page)

Last edited: Jan 26, 2023

Gueron

Member
Aug 12, 2015 Bayeux
Hi Eremitein,

I am quite frustrated at the moment, and I dont know how to solve this..
I really like your GSI rom developments, and appreciate the work you have done, thanks.
But only on "paper" since I cant seem to flash any of them.

I have a Samsung A10e with unlocked bootloader and dm-verity canceled.
I use heimdall to flash.
I have successfully flashed AndyYans Lineage (17 and 18) and Of2pks Aosp (Android 10 and 11).
In all cases I extract the download file using xz on linux.

But whichever of your ROM builds (Caos, Crdroid, LiR), Android 10 or 11, various dates, Heimdall
gives me an error after 3% flash...
ERROR: Failed to confirm end of file transfer sequence
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...

I have tried with magisk patched stock boot, recovery, and also flashing with twrp. Twrp will
flash but wont boot, goes to bootloader instead.

Searching for Heimdall answers on internet have not helped. I wonder whether there is some
difference in the xz compression you use or Rom signature.

I would appreciate any insight you could give me.. thanks !!

Gueron

Member
Aug 12, 2015 Bayeux
Hi Eremitein,

I am quite frustrated at the moment, and I dont know how to solve this..
I really like your GSI rom developments, and appreciate the work you have done, thanks.
But only on "paper" since I cant seem to flash any of them.

I have a Samsung A10e with unlocked bootloader and dm-verity canceled.
I use heimdall to flash.
I have successfully flashed AndyYans Lineage (17 and 18) and Of2pks Aosp (Android 10 and 11).
In all cases I extract the download file using xz on linux.

But whichever of your ROM builds (Caos, Crdroid, LiR), Android 10 or 11, various dates, Heimdall
gives me an error after 3% flash...
ERROR: Failed to confirm end of file transfer sequence
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...

I have tried with magisk patched stock boot, recovery, and also flashing with twrp. Twrp will
flash but wont boot, goes to bootloader instead.

Searching for Heimdall answers on internet have not helped. I wonder whether there is some
difference in the xz compression you use or Rom signature.

I would appreciate any insight you could give me.. thanks !!

Today I tried decompressing xz file using peazip on windows. Same result. Also tried flashing with Pbrp, same result as twrp...

Gueron

Member
Aug 12, 2015 Bayeux
Today I tried decompressing xz file using peazip on windows. Same result. Also tried flashing with Pbrp, same result as twrp...

Finally success... So still no luck with Heimdall flash, but twrp completed. I had tried dirty flashing crdroid and lir with the expectation to keep my lineage data. So in the end I could boot once I had wiped data. Now I am trying to recover my seedvault saved data with Caos... Is the data storage compatible with other aosp roms ? I was hoping to try this - https://forum.xda-developers.com/t/...al-cve-august-2021-arm32-64-vndklite.4281231/

Finally success... So still no luck with Heimdall flash, but twrp completed. I had tried dirty flashing crdroid and lir with the expectation to keep my lineage data. So in the end I could boot once I had wiped data. Now I am trying to recover my seedvault saved data with Caos... Is the data storage compatible with other aosp roms ? I was hoping to try this - https://forum.xda-developers.com/t/...al-cve-august-2021-arm32-64-vndklite.4281231/

Hi Gueron, This A11 GSI ROM is the BEST till date (as far as my device Galaxy M21 2021 Edition is concerned).
For the last 1.5 Years I have been trying out almost each and every GSI ROM on github-phh-gsi-list right from A11 upto A13, nothing beats This CrDroid R-Mod A11 by Eremitein a.k.a Eternityson. 32 Hours of Battery Backup...smooth & stable. Best So far. I didn't like the Andoid Versions above A11. Eremitein is from Ukraine so its a war zone right now, I wish him good luck and thanks for his GSI-ROM.

Top Liked Posts

  • C A O S 11


    < Your warranty is now void! >
    We're not responsible for bricked devices, dead SD cards,
    thermonuclear war, or you getting fired because the alarm app failed. Please
    do some research if you have any concerns about features included in this ROM
    before flashing it! YOU are choosing to make these modifications, and if
    you point the finger at us for messing up your device, we will laugh at you
    CAOS 11 (Custom AOSP OS) is a project which based on @phhusson's Treble GSI AOSP 11. I began it because original project have not only pros (stability, speed, support) but also some issues and limitations - pure AOSP code have some bugs / haven't much useful things and it's a hard way pulling it. So i did this fork. System can run with SELinux enforced state, as an original Phh AOSP GSI. Fully compatible with PHH-Treble patches. Has dynamic root which can be activated/deactivated without reboot - 'su' binary and SuperUser app (can works on all devices even with system read-only). Also has dynamic SafetyNet helper (but it compatible not with all devices), users have four ways to pass SafetyNet: a. just enable SafetyNet option (recommended) b. disable SafetyNet and enable "Spoof Pixel 5" then reboot c. enable both options and reboot d. mount system as RW and create empty file /system/phh/secure (legacy method), and in the Recovery do Wipe Data or Factory reset

    UPDATE VERSION
    latest build:
    2022.03.21
    treble patches: v316
    SPL: 5 Mar 2022

    FEATURES/CHANGES
    see Project page changelog

    DOWNLOAD (CL1CK HERE)
    vanilla, gapps, go-gapps: all possible architectures

    NAMING

    CONTACTS
    > telegram group
    > project page

    KN0WN BUGS
    • excluding fixes, the same as on AOSP Roar (in some cases doesn't work: broadcasting on TV, calls via BT; offline charging does not work normally etc etc)
    NOTE: always test ROM first without Magisk (with clean boot ramdisk). and don't send me bug reports if you have:
    a) Magisk installed
    b) modified/custom vendor or kernel
    c) dirty flashing rom without wiping data
    d) modified props values (another device fingerprint and so on)


    CREDITS
    persons: @phhusson
    projects: TrebleGSI • BlissROMs • crDroid • PixelExperience • ION • neon-OS • Havoc-OS • LineageOS • Evolution-X • LiquidRemix • ExtendedUI • GrapheneOS • ABC Rom • SyberiaOS • RevengeOS • ProtonAOSP

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK