• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Development [ROM][11][Mojito][Sunny] Project Sakura [OFFICIAL][AOSP]

Search This thread

dsashwin

Member
Dec 23, 2020
24
22
Muscat
Redmi Note 8
Xiaomi Poco X2
Can you please what steps for that. And somehow I prevent for that. Because when you say flashing I know flashing the rom. But flash the persist partition I don't get it. I'm sorry. Can you explain more how can I prevent that. I'm thinking to use Los recovery rather than twrp . For safety

You might end up in problems with persist if you try to wipe persist or try to flash a .img file to the persist partition.

Yes, you can be a little bit safer by using LineageOS recovery.

If you wish, you can backup persist by running this on your computer while the phone is connected to a PC, ADB is enabled on the phone and the phone is in recovery (Command may not work on LineageOS recovery, if doesn't, try it out at system with Magisk or try a different recovery)
Bash:
adb shell
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
like this
1632669077717.png


but don't flash the persist.img just yet, try out other fixes before actually touching your persist.
 
Last edited:

akoaypinoy

Senior Member
Aug 1, 2021
236
50
You might end up in problems with persist if you try to wipe persist or try to flash a .img file to the persist partition.

Yes, you can be a little bit safer by using LineageOS recovery.

If you wish, you can backup persist by running this on your computer while the phone is connected to a PC, ADB is enabled on the phone and the phone is in recovery (Command may not work on LineageOS recovery, if doesn't, try it out at system with Magisk or try a different recovery)
Bash:
adb shell
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
like this View attachment 5419311

but don't flash the persist.img just yet, try out other fixes before actually touching your persist.
Ah okay thank you..I'm looking on twrp recovery and going to MOUNT. there are check box (DATA , METADATA and SD CARD) ...this is safe? That three is only to be mounted. The rest (SYSTEM, SYSTEM_EXT,CUST,VENDOR,FIRMWARE) are uncheck. That's five is unmounted so one if them locate for persist.img right?
 

akoaypinoy

Senior Member
Aug 1, 2021
236
50
I knew it's only wipe persist img. If your phone is rooted. Because once you're rooted your all system will open meaning you can add/replaced/ or worse accidentally delete. Unlike using custom rom I know it safe because you're not access the system .
 

dsashwin

Member
Dec 23, 2020
24
22
Muscat
Redmi Note 8
Xiaomi Poco X2
Ah okay thank you..I'm looking on twrp recovery and going to MOUNT. there are check box (DATA , METADATA and SD CARD) ...this is safe? That three is only to be mounted. The rest (SYSTEM, SYSTEM_EXT,CUST,VENDOR,FIRMWARE) are uncheck. That's five is unmounted so one if them locate for persist.img right?
You need not mount persist, leave it as it is
 

dsashwin

Member
Dec 23, 2020
24
22
Muscat
Redmi Note 8
Xiaomi Poco X2
I knew it's only wipe persist img. If your phone is rooted. Because once you're rooted your all system will open meaning you can add/replaced/ or worse accidentally delete. Unlike using custom rom I know it safe because you're not access the system .
There is an obvious risk to everything in general, you need to assess the risks and make sure you're doing stuff the proper way and do not do stuff that you are not sure of. After all, rooting is an important part of an Android Custom ROM Experience. Just be sure to follow proper instructions, not presume stuff that you don't know and you will be good to go. There are many root users who know what they are doing and many who is willing to help you on our support groups and forums.

Happy Flashing!!​
 

akoaypinoy

Senior Member
Aug 1, 2021
236
50
There is an obvious risk to everything in general, you need to assess the risks and make sure you're doing stuff the proper way and do not do stuff that you are not sure of. After all, rooting is an important part of an Android Custom ROM Experience. Just be sure to follow proper instructions, not presume stuff that you don't know and you will be good to go. There are many root users who know what they are doing and many who is willing to help you on our support groups and forums.

Happy Flashing!!​
I'm happy to hear that....thank you
 

[email protected]!

New member
Sep 28, 2021
1
0
View attachment 5395417

Project Sakura is a custom ROM based on Lineage OS, It tries to remain true to it while also providing some more functionality and UI changes. Its sole purpose is to provide a platform that is powered by Lineage and is more customisable than Lineage.

View attachment 5395419
Code:
* Your warranty is now void.
* We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.
* You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.

"This is a user-friendly thread, all your suggestions are important to us and will be taken into consideration."

View attachment 5395421

CLEAN/FIRST TIME FLASH :
- Download the Build (GApps Included)
- Reboot to recovery (Almost any recovery would work)
- Take backup (optional)
- Flash your firmware(If required)
- Factory Reset
- Format Data
- Reboot To Recovery
- Flash the ROM (Using TWRP/OFox recommended)
- Reboot to Recovery (Lineage OS Recovery should appear)
- Reboot to system
- Enjoy


UPDATE/DIRTY FLASH :
- Download the Build [to PC/SDCARD if using Lineage OS Recovery]
- Take backup (optional)
- Reboot to recovery
- Flash your firmware(If required)
- Flash the ROM.zip [ADB Sideload if using Lineage OS Recovery]
- Reboot to system
- In case this results in bootloops, clean flash again (that's why I asked to take a backup prior to updating)
- Enjoy


OVER-THE-AIR (OTA) UPDATE :

Make sure you're using Lineage OS Recovery, it may not work with other recoveries. If even after following proper steps here, it says "Update Failed" or something, report to me [READ MORE]. Check if OTA is mentioned as a bug in the post below.

- Take backup (optional)
- Go to Settings > Sakura Configs > Sakura Updates > System Updates
- You can check for updates by clicking the update icon on the top-right
- If there are no updates found, check you are asked to clean flash in our Official Project Sakura Updates Channel, if yes, follow the first guide to clean flash, if not, after making sure that you have a proper internet connection, try rebooting the system. If still says not found, follow the Update guide on top.
- After the updater finds the update, click on Download, and hold the update if you want to switch mirrors.
- Let the update download and once it is done, it should inform you thru notification
- Once it is done, click on install and it should start installing, this does take longer than flashing it manually, but here we can go back and continue doing what you want to do, while it is updating. Maybe go continue the movie you were watching.
- Once that is done, select Reboot and... Tada, you're in the latest version of Project Sakura.
- In case this results in bootloops, clean flash again (that's why I asked to take a backup prior to updating)


View attachment 5395429

Download

View attachment 5395431

-Lineage OS
-AOSP
-Superior OS
-AOSiP
-DerpFest
-Pixel Experience
-Extended UI
-Havoc OS
-CrDroid ROM


View attachment 5395433

Buy the founder of Project Sakura a coffee
(it's going directly to him and not to me)

ko-fi link


View attachment 5395687
View attachment 5395697
Project Sakura Source
Project Sakura Device Related Trees

View attachment 5395707


Telegram Support Group
Device-Specific Telegram Support Group

REPORTING BUGS!
As soon as the problem occurs, take a logcat

Read this for more

View attachment 5395713

Project Sakura, ROM for codename
Device:
mojito / sunny
Maintainer: Ashwin DS
Build Type: Official

Contributors
Zidan44
@wholetthedogout (ANX Camera)
Kernel Source:
https://github.com/PixelExperience-Devices/kernel_xiaomi_mojito/

ROM OS Version: 11.0
ROM Kernel: Linux 4.14.x
ROM Firmware Required: Must be on Latest Firmware
Based On: LineageOS 18.1
Changelogs: Click Me
Bugs: Click Me

Version Information
Status:
Stable
Current Stable Version: 5.2
SELinux Status: Enforced
Initial Release Date: 24/08/2021
i changes the recovery to twrp now iam not able to boot into my rom what should i do ? can i install lineage recovery to fix it ?
 

dsashwin

Member
Dec 23, 2020
24
22
Muscat
Redmi Note 8
Xiaomi Poco X2
i changes the recovery to twrp now iam not able to boot into my rom what should i do ? can i install lineage recovery to fix it ?
Make sure you have followed steps like this

========================

Project Sakura > Reboot to Bootloader > Connect Phone to PC

Then on PC (assuming you have fastboot and ADB tools)
fastboot boot path/to/twrp.img

The phone must boot to TWRP, go to the advanced section and choose to flash current TWRP

========================

If you want OFox,

Project Sakura > Reboot to Recovery > Install Update > Using ADB > Connect to PC

Then on PC (assuming you have fastboot and ADB tools)
adb sideload path/to/ofox.zip

The phone must boot to OFox Recovery and OFox should automatically be persistent

========================

Note: OTA may not work as it should using OFox/TWRP or any other recovery
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    cool thanks for the heads up. Btw is PE+ stable enough for everyday use?
    now i flashed Project Sakura because of new update right now.
    Yes ... PE+ is stable , i used it for a month...
    I recommend you PE+ and Sakura for daily usage ;)
  • 8
    1630148905289.png


    Project Sakura is a custom ROM based on Lineage OS, It tries to remain true to it while also providing some more functionality and UI changes. Its sole purpose is to provide a platform that is powered by Lineage and is more customisable than Lineage.

    1630148958156.png
    Code:
    * Your warranty is now void.
    * We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.
    * You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.

    "This is a user-friendly thread, all your suggestions are important to us and will be taken into consideration."

    1630149080203.png


    CLEAN/FIRST TIME FLASH :
    - Download the Build (GApps Included)
    - Reboot to recovery (Almost any recovery would work)
    - Take backup (optional)
    - Flash your firmware(If required)
    - Factory Reset
    - Reboot To Recovery
    - Flash the ROM (Using TWRP/OFox recommended)
    - Reboot to Recovery (Lineage OS Recovery should appear)
    - Reboot to system
    - Enjoy


    UPDATE/DIRTY FLASH :
    - Download the Build [to PC/SDCARD if using Lineage OS Recovery]
    - Take backup (optional)
    - Reboot to recovery
    - Flash your firmware(If required)
    - Flash the ROM.zip [ADB Sideload if using Lineage OS Recovery]
    - Reboot to system
    - In case this results in bootloops, clean flash again (that's why I asked to take a backup prior to updating)
    - Enjoy


    OVER-THE-AIR (OTA) UPDATE :

    Make sure you're using Lineage OS Recovery, it may not work with other recoveries. If even after following proper steps here, it says "Update Failed" or something, report to me [READ MORE]. Check if OTA is mentioned as a bug in the post below.

    - Take backup (optional)
    - Go to Settings > Sakura Configs > Sakura Updates > System Updates
    - You can check for updates by clicking the update icon on the top-right
    - If there are no updates found, check you are asked to clean flash in our Official Project Sakura Updates Channel, if yes, follow the first guide to clean flash, if not, after making sure that you have a proper internet connection, try rebooting the system. If still says not found, follow the Update guide on top.
    - After the updater finds the update, click on Download, and hold the update if you want to switch mirrors.
    - Let the update download and once it is done, it should inform you thru notification
    - Once it is done, click on install and it should start installing, this does take longer than flashing it manually, but here we can go back and continue doing what you want to do, while it is updating. Maybe go continue the movie you were watching.
    - Once that is done, select Reboot and... Tada, you're in the latest version of Project Sakura.
    - In case this results in bootloops, clean flash again (that's why I asked to take a backup prior to updating)


    NOTE: While ADB Sideloading, if the installation process reports the message (~47%) adb: failed to read the command: No error, do not worry, the process was completed successfully and you can restart the device. )
    1630149479824.png


    Download

    1630149644100.png


    -Lineage OS
    -AOSP
    -Superior OS
    -AOSiP
    -DerpFest
    -Pixel Experience
    -Extended UI
    -Havoc OS
    -CrDroid ROM


    1630149698115.png


    Buy the founder of Project Sakura a coffee
    (it's going directly to him and not to me)

    ko-fi link


    1630165621957.png

    1630165668266.png
    Project Sakura Source
    Project Sakura Device Related Trees

    1630165843978.png



    Telegram Support Group
    Device-Specific Telegram Support Group

    REPORTING BUGS!
    As soon as the problem occurs, take a logcat

    Read this for more

    1630166036910.png

    Project Sakura, ROM for codename
    Device:
    mojito / sunny
    Maintainer: Ashwin DS
    Build Type: Official

    Contributors
    Zidan44
    @wholetthedogout (ANX Camera)
    Kernel Source:
    https://github.com/PixelExperience-Devices/kernel_xiaomi_mojito/

    ROM OS Version: 11.0
    ROM Kernel: Linux 4.14.x
    ROM Firmware Required: Must be on Latest Firmware
    Based On: LineageOS 18.1
    Changelogs: Click Me
    Bugs: Click Me

    Version Information
    Status:
    Stable
    Current Stable Version: 5.2
    SELinux Status: Enforced
    Initial Release Date: 24/08/2021
    3
    Changelogs here:
    Find Changelogs on our OTA repo and in the downloads page too

    ====== 12 October 2021 ======
    - Added stock HVDCP props
    - Fixed camera video recoding issue
    - Fixed screen recoding lags
    - Removed ANX camera
    - Added Snap Camera
    - Include Neternels Kernel
    - Enabled Smart Charging

    ====== 26 September 2021 ======
    - Fixed libperfmgr nodes crash
    - Added power stats moke service hals
    - Fixed FPS Meter
    - Smarter decisions on whether to use 2/5Ghz AP
    - Disabled wifi firmware logging
    - Disabled NUD failure occurs logging
    - Added stock permission for hwcomposer service
    - Fixed ueventd permissions crash
    - Switched to multihal sensor service hal to 2.1
    - Enabled Wi-Fi hals power saving
    - Switched to Codec2 by default
    - Enabled Codec2 input surface
    - Enabled dalvik dex2oat64
    - Fixed props crashes in logs
    - Added minimal xiaomi parts
    - Fixed SDM and ultrasound_extn crashes
    - Fixed whatsapp mic delay or crashes
    - Improved overall system performance
    - Mic issue is fixed other variant

    ====== 22 September 2021 ======
    - Update blobs from V12.5.3.0.RKGMIXM
    - Added main display cutout overlays
    - Fixed dimens values for display cutout
    - Updated brightness overlay configs
    - Added camera cutout ring like MIUI
    - Removed virtual framebuffer cmdline
    - Labeled some more wakeup nodes
    - Mic issue is fixed for some people

    ====== 20 September 2021 ======
    - [OTA] Now use "Seamless Updates" to update to the latest version with just a restart

    ====== 16 September 2021 ======
    - Fixed touch issue
    - Decommonized display color modes
    - Drop soundtrigger hal
    - Update blobs from CAF
    - import Xiaomi mlipay service blobs
    - Added Alipay and WeChat fingerprint payment support
    - More misc changes

    ====== 15 September 2021 ======
    - Sync latest source changes
    - Fix SafetyNet failing

    ====== 03 September 2021 ======
    - Sync latest source changes

    ====== 24 August 2021 ======
    - Initial official build
    3
    Existing Device Side Bugs (On build released on 12/10/2021)
    [Updated on 13th October 2021]

    - You tell me

    If you think the bug is source side and NOT device side, skip the rest of the post and read the official Project Sakura Wiki and also report in Project Sakura Official Telegram Chat

    How to [properly] report bugs?
    What do I do when I encounter a bug?
    Support Group
    1. Check if you are getting the issue, every time you do something, or if it is a one time issue
    2. Report it on our Telegram Group with all the information you think is important and look if its a known issue or is there a fix already
    3. Get to know if others are reporting it too, refer to XDA and/or Telegram Group
    4. If you are rooted/using a custom kernel, try unrooting and switching between kernels or switch back to the stock kernel. If using a different kernel fixed your issue, report it to me in my Telegram Group or leave a reply here.
    5. If the issue persists, take a back up then format data via recovery [clean flash]
    6. If the issue still persists, take logs when the issue occurs [Click me for guide] and report with all the information you think is important (like, did you face this in the previous version, is this a bug in many other ROMs too, what have you tried till now, how do I replicate your issue on my device)
    7. If you have not faced the issue in the previous build, then feel free to go back to that if you want to.
    If you report saying "Youtube crash" without properly following the procedure above, your bug report shall be ignored, instead say "Youtube app crashes on my phone when I am trying to watch a video at 4k 60fps, I have dirty flashed this build from the exactly previous build thru OTA here are logs for the same" and give proper logs, you might as well get your bug fixed, it's not too hard to report bugs properly.
    2
    Believe me, You will return to AOSP 😀 Then just back to MIUI then you will return to AOSP ... and so on.

    just enjoy flashing ❤️
    it's true 😂 Miui is really unbearable for me, I only installed it because I needed the Screen Cast function
    Now i'm back on Superior OS ... beautiful ROM ❤️😁
    2
    so many roms that now is hard to pick one... i'm back to MIUI 12.5 wich fixed all issues for me ... bye bye 😂

    Believe me, You will return to AOSP 😀 Then just back to MIUI then you will return to AOSP ... and so on.

    just enjoy flashing ❤️