Lineage-15.1 For Lyf Water 8 (LS-5015)mobee01a - Android General

LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.
Disclaimer:
Code:
* Your warranty is void.
* I am 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 me for messing up your device, I will laugh at you.
For LYF Water 8 mobee01a
-INSTALLATION INSTRUCTIONS-
- Download the latest build
- Download OpenGapps ( Arm64 8.1 Pico/Nano/Other)
- Take a nandroid backup
- Recommended - Full wipe and factory reset
- Flash ROM using TWRP
- Flash Gapps
- Reboot.
- Enjoy!
Working:
Camera (Use Footej Camera)
VoLTE
RIL
Sound
Video
Sensors
-
Downloads:
ROM : https://drive.google.com/open?id=1GCo2g_H_xANaYP8mCjsaeCbejWzIWZM0
XDAevDB Information
Lineage-15.1, ROM for the *LYF Water 8*
Contributors
*Mohd Faraz (AndroiableDroid)*
Prashant Thakur for testing this build-Thanks
Ashley David(XDA) for Testing my Build - Thanks
Very Very Special Thanks to Varun Pilankar (XDA) for MM Kernel Sources
Source Code: https://github.com/DotOS
Kernel Source:: https://github.com/LS-5015-G42-Dev-T...el_LYF_LS-5015
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: Must be on Latest Firmware
Based On: AOSP
Version Information
Status: Stable
Stable Release Date: 2018-05-23
Created 2018-05-23
Last Updated 2018-05-23

Thanks for making this device lively. Would flash and come back with reviews.

The update-script didn't work for me.
I had to change the update-script to get it working.
Here is the modified update-script:
ui_print("Target: LYF/LS-5015/LS-5015:6.0.1/MMB29M/434:user/release-keys");
ifelse(is_mounted("/system"), unmount("/system"));
package_extract_dir("install", "/tmp/install");
set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);
set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "backup");
unmount("/system");
show_progress(0.750000, 0);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
show_progress(0.020000, 10);
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "restore");
unmount("/system");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot");
show_progress(0.200000, 10);
set_progress(1.000000);

Problem of flashing
Error 7 shows
failed to mount /dev/block/platform/soc.0/7824900.sdhci/by-name/system at /system

failed to mount /dev/block/platform/soc.0/7824900.sdhci/by-name/system at /system

Sim Card Not Working on PIXEL EXPERIENCE PIE..!
@Inderpreets Hey Inderpreet, Sim Card is not working on your latest pixel experience pie build..!! Is There any solution for that?? I really appreciate your hard work and dedication..! Thanks for providing such a great rom for this device.. !! Please see to that..!!

Related

Creation flashable zip sys-part CM10

Hi the crazy flash,
I open this topic for help creating a fix
CM10 ROM is Divided into 2 parts and some of the applications are installed on the / data partition due to Lack of space for full Jellybean installation.
Hence you will Have to reflash the rom you factory reset or Effective wipe / data partition.
Click to expand...
Click to collapse
After a restart install CM10 patch to system/app did not effect ?§!
Here is the solution I use busybox to inject App
I take this opportunity to fix some permission
If you have time of need flashable zip of this topic and for you!
Kernel or gapps or questions to ask permission
FixSysPartCM10
Code:
assert(getprop("ro.product.device") == "galaxysl" || getprop("ro.build.product") == "galaxysl" ||
getprop("ro.product.device") == "GT-I9003" || getprop("ro.build.product") == "GT-I9003");
ui_print(" ");
ui_print(" ********************************************** ");
ui_print(" * Fix reboot sys-parts/app by LoLaTiOn * ");
ui_print(" ********************************************** ");
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/stl9", "/system");
run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p3", "/data");
package_extract_dir("data", "/data");
symlink("/data/sys-parts/app","/system/app");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/framework");
set_perm_recursive(0, 0, 0755, 0644, "/data/app");
unmount("system");
run_program("/sbin/reboot");
instruction
Open zip with winrar
Add your app in \data\sys-parts\app
Create other folder in the system if time of need
Made you happy to share your patch and help the community
Enjoy...
my rom do not need this fix
Worked perfectly for me! Thanks
This is needed because CM10 with gapps does not fit our NAND aka ROM size.
Hence, the system apps are pushed into /data/sys-apps so that the entire ROM can work properly.. else full /system of jellybean does not fit on our small partition.

[Q] Help with update-script (status 6)

Hi guys, I have this error on my own update.zip, so I need help
- Edited with notepad++
- I checked, end of line, it's correct
- I checked, unix system, not windows.
So, I think is a bad mount command, my file system it's rfs (i think, just flashed with odin) , not ext4.
Paste my script:
show_progress(0.500000, 0);
ui_print("========================");
ui_print("== Value.and.Fast 2.5 ==");
ui_print("========================");
run_program("/sbin/busybox", "mount", "/system");
assert(is_mounted("/system"));
package_extract_dir("system", "/system");
ui_print("Asignando permisos...");
set_perm(0, 0, 0644, "/system/build.prop");
set_perm(0, 0, 0644, "/system/app/AxT9IME.apk");
set_perm(0, 0, 0644, "/system/app/ClockWidgets.apk");
set_perm(0, 0, 0644, "/system/app/Home_MultiResolution.apk");
set_perm(0, 0, 0644, "/system/app/WidgetPicker.apk");
ui_print("Eliminando aplicaciones...");
delete("/system/app/BuddiesNow.apk");
delete("/system/app/BuddiesNow.odex");
delete("/system/app/Dlna.apk");
delete("/system/app/Dlna.odex");
delete("/system/app/Signin.apk");
delete("/system/app/Signin.odex");
delete("/system/app/Days.apk");
delete("/system/app/Days.odex");
delete("/system/app/DualClock.apk");
delete("/system/app/DualClock.odex");
delete("/system/app/Gallery3D.apk");
delete("/system/app/Gallery3D.odex");
delete("/system/app/Email.apk");
delete("/system/app/Layar-samsung.apk");
delete("/system/app/Maps.apk");
delete("/system/app/MiniDiary.apk");
delete("/system/app/MiniDiary.odex");
delete("/system/app/MinimalHome.apk");
delete("/system/app/MinimalHome.odex");
delete("/system/app/MobileTrackerEngineTwo.apk");
delete("/system/app/MobileTrackerEngineTwo.odex");
delete("/system/app/MobileTrackerUI.apk");
delete("/system/app/MobileTrackerUI.odex");
delete("/system/app/Protips.apk");
delete("/system/app/Protips.odex");
delete("/system/app/RoseEUKor.apk");
delete("/system/app/SamsungApps.apk");
delete("/system/app/SamsungAppsUNA3.apk");
delete("/system/app/SamsungWidget_FeedAndUpdate.apk");
delete("/system/app/SamsungWidget_FeedAndUpdate.odex");
delete("/system/app/SamsungWidget_StockClock.apk");
delete("/system/app/SamsungWidget_StockClock.odex");
delete("/system/app/ShareApp.apk");
delete("/system/app/ShareApp.odex");
delete("/system/app/Street.apk");
delete("/system/app/Swype.apk");
delete("/system/app/syncmldm.apk");
delete("/system/app/syncmldm.odex");
delete("/system/app/thinkdroid.apk");
delete("/system/app/UnifiedInbox.apk");
delete("/system/app/UnifiedInbox.odex");
delete("/system/app/WriteandGo.apk");
delete("/system/app/WriteandGo.odex");
delete("/system/app/MagicSmokeWallpapers.apk");
delete("/system/app/MagicSmokeWallpapers.odex");
run_program("/sbin/busybox", "umount", "/system");
ui_print(" === FIN === ");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
show_progress(0.100000, 0);
Click to expand...
Click to collapse
Thank!!
check on CMW - advance - show log
it will show what wrong after you flash the zip
Nevermind, i fix the problem
deleting line:
ui_print("=================");
how can it fix your problem? I got a staus 6 too
You mean if I remov this lines
set_progress(0.95);
ui_print("**************************************** ******");
ui_print("* Creating system links *");
ui_print("**************************************** ******");
and this...
set_progress(0.99);
ui_print("**************************************** ******");
ui_print("* Install kernel *");
ui_print("**************************************** ******");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p8"),
delete("/tmp/boot.img"));
unmount("/data");
unmount("/system");
unmount("/custpack");
set_progress(1.00);
ui_print("**************************************** ******");
ui_print(" DONE !!! ");
ui_print("**************************************** ******");
will fix it

How to port same mediatek roms!!!!!

HOW to Port ROMs...
For Begineers
Almost Any Device to Any Device!
ONLY FOR MEDIATEK SoCs
In This Guide You'll Learn..
How to Port ROMs of the Same CPU
Works for-
MT6589 to MT6577
MT6582 to MT6572
MT6577 to MT6575
Only ICS to ICS & JB to JB
May also work with 4.1 to 4.2
No Need of Source Code
No Need of Kernel Source
No Need of """ANDROID KITCHEN""
No Need of LINUX...
Requirements:
* A USEFUL Brain
* Patience
* Windows XP/7/8
* 7-Zip
* Notepad++
* Stock ROM
* And a Little thanks!!
So now Lets Begin...
PORTING For Same SoCs ( Ex: MT6577 to MT6577)
* Replace these from your Stock ROM to the ROM u want to PORT!! Lets Call it "PORT"
FILE LIST FOR REPLACING:
Code:
*system/vendor
*system/usr
*system/lib/modules
*system/lib/hw
*system/lib/libncurses.so
*system/etc/firmware
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
*system/etc/bluetooth
* Now Replace the Stock Boot.img to Port ROM!
* Now Open The Port ROM folder and go to META-INF/google/android and open updater-script in Notepad++
* Do the same for the Stock ROM
* Now In the Port ROM's Updater Script, find a line that starts with this...
format(".......
and only replace the mmcblk0p.. with the stock one!
* Do the same for this line...
mount("...
Example:
This is the PORT one!!!
Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system");
This is the Stock one!!
Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");
Now just Replace the "mmcblk0p3" from STOCK to PORT!!
It should look like this:
Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p3", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");
DO NOT REPLACE THE WHOLE LINE!
* Now go back to the Folder of Port ROM and You'll see 2 folders & 1 file named
-META-INF
-system
-boot.img
-data(if included by rom producer)
* Now Select these three and Click Right Mouse Button and Click on 7-Zip ->> Add to Archive
* Now a dialouge box should appear!
* Configure the Format like This:
Archive format: ZIP
Compression Level : Normal
Compression Method: Deflate
Dictoioany Size: 32k
Word Size 32
* Now Start Zipping and Push the ZIP to your Memory Card
* Go to Recovery >> Wipe Data
then wipe cache partition
and then dalvik cache
Finished!!
NOW YOUR ROM IS READY TO BE FLASHED!!!!!!!!!! :laugh:

[ROM] Unoffical CM12.1 for Huawei Y6 - DISCONTINUED

Code:
/*
* 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.
*
*/
Devices Confirmed working.
SCL-L01
SCL-L02
SCL-L03
Features
Based on CyanogenMod 12.1 - Android 5.1.1 Lollipop
First? custom ROM developed for Qualcomm Snapdragon 210 (msm8909) processor.
First Android Lollipop ROM released for Huawei Y6.
Rom Download: CM12.1 for Huawei Y6
Stock Kernel and Modules to fix can't connect to camera issue: Camera Fix
Installation:
Ensure you have unlocked bootloader (there are many guides on how to check this) if you need a code go here, Emui Download Page click unlock bootloader and login with either facebook or phone account to obtain your code.
Install working TWRP recovery from: unofficial TWRP for Huawei Y6
Download ROM from above link,
Download Open Gapps from http://opengapps.org/, select arm, 5.1 and then your preferred package (I use the aroma installer because it includes needed webview, see issues)
Boot into TWRP, perform backup (always backup!!!), wipe data/factory reset, flash ROM zip and reboot.
First boot may take quite a while.
If you want camera to work download and flash the camera fix zip then reboot.
Known issues
Device-related issues:
Double tap to wake does not work.
ROM included webview does not work, install GAPPS webview to fix.
No camera on built kernel (see links for kernel swap fix).
Reported mobile data disconnection from time to time (possibly local to Romania).
Sources available on GitHub:
Device Files
Kernel
Wifi Driver
Credits to Cyanogenmod for making this possible.
XDA:DevDB Information
Cyanogenmod 12.1 for Huawei Y6, ROM for the Android General
Contributors
DestructoSphere, Runner85sx
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: Cyanogenmod
Version Information
Status: Stable
Current Stable Version: Initial 2016514
Stable Release Date: 2016-05-14
Created 2016-06-24
Last Updated 2017-09-26
Device tree supported devices are as follows. If your device is not on the list you can request for me to see if I can build support for it. When reporting errors or problems please include your exact model.
huawei_scl_al
huawei_scl_al00
huawei_scl_cl
huawei_scl_l01
huawei_scl_l02
huawei_scl_l03
huawei_scl_l21
huawei_scl_tl
huawei_scl_tl00h
huawei_scl_u03
huawei_scl_u21
huawei_scl_u23
huawei_y538_a1
Edit: the new dtb should also now support
huawei_scl_u31
Reserved
Download lasted update from here:
http://forum.xda-developers.com/devdb/project/?id=15925#downloads
I have this error with flash
Checking for md5 file
Skipping md5 check : no md5 file found
This package for device y6 ;this device is .
Process end with error: 7
Error installing zip file..............
My device is y6scl-u31 and installed twrp 3.0.2-0.IMG recovery with unlocked bootloader
According to the kernel device tree these are all theoretically supported.
huawei_scl_al
huawei_scl_al00
huawei_scl_cl
huawei_scl_l01
huawei_scl_l02
huawei_scl_l03
huawei_scl_l21
huawei_scl_tl
huawei_scl_tl00h
huawei_scl_u03
huawei_scl_u21
huawei_scl_u23
huawei_y538_a1
Saber5311 said:
I have this error with flash
Checking for md5 file
Skipping md5 check : no md5 file found
This package for device y6 ;this device is .
Process end with error: 7
Error installing zip file..............
My device is y6scl-u31 and installed twrp 3.0.2-0.IMG recovery with unlocked bootloader
Click to expand...
Click to collapse
That is due to the assert in the updater script.
As your twrp does not set the ro.product.device you can get around it by tapping advanced then terminal command then select any location and type setprop ro.product.device y6 then try flashing it.
Set the property as soon as you boot into twrp before you try to flash or it won't work.
DestructoSphere said:
That is due to the assert in the updater script.
As your twrp does not set the ro.product.device you can get around it by tapping advanced then terminal command then select any location and type setprop ro.product.device y6 then try flashing it.
Set the property as soon as you boot into twrp before you try to flash or it won't work.
Click to expand...
Click to collapse
Please type anything
that I should type on terminal Emulator
Saber5311 said:
Please type anything
that I should type on terminal Emulator
Click to expand...
Click to collapse
You need to type setprop ro.product.device y6 either in twrp terminal or via adb shell.
I can't do it. Do you have another way ?
I type that
And show it : could not set property
Thanks.
It is working like a charm.
You made my day!
DestructoSphere said:
You need to type setprop ro.product.device y6 either in twrp terminal or via adb shell.
Click to expand...
Click to collapse
i do it and flash the rom but when i reboot system gonig to fastboot
please help
Saber5311 said:
i do it and flash the rom but when i reboot system gonig to fastboot
please help
Click to expand...
Click to collapse
What exactly is your devices?
Instalation Failed
i tried to install but when flash the zip, its say this package is for device: y6; this device is Honor4a
"E:Error executing updater binary in zip ' /sdcard/cm-12.1-2016514-UNOFFICIAL-Y6.ZIP' Error flashingzip'
how can i do to install?
j3cnfa said:
i tried to install but when flash the zip, its say this package is for device: y6; this device is Honor4a
"E:Error executing updater binary in zip ' /sdcard/cm-12.1-2016514-UNOFFICIAL-Y6.ZIP' Error flashingzip'
how can i do to install?
Click to expand...
Click to collapse
There is a lazy hack to disable the devicescheck.
I recoment to NOT do this. So do it on your own risk!
Open the Zip with Winrar and navigate to: "cm-12.1-20160514-UNOFFICIAL-y6.zip\META-INF\com\google\android "
change updater-script to:
"ifelse(is_mounted("/system"), unmount("/system"));
package_extract_dir("install", "/tmp/install");
set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);
set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "backup");
unmount("/system");
if is_mounted("/data") then
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
else
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/userdata", "/data", "");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
unmount("/data");
endif;
show_progress(0.750000, 0);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
show_progress(0.020000, 10);
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "restore");
unmount("/system");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot");
show_progress(0.200000, 10);
"
Save the file and dragn/drop it back to:
cm-12.1-20160514-UNOFFICIAL-y6.zip\META-INF\com\google\android/updater-script
BACKUP your device before you do this!
NOTICE: flash the stock boot.img and Gapps to get this rom fully working.
You may find the needed files in post 1.
Runner85sx said:
There is a lazy hack to disable the devicescheck.
I recoment to NOT do this. So do it on your own risk!
Open the Zip with Winrar and navigate to: "cm-12.1-20160514-UNOFFICIAL-y6.zip\META-INF\com\google\android "
change updater-script to:
"ifelse(is_mounted("/system"), unmount("/system"));
package_extract_dir("install", "/tmp/install");
set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);
set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "backup");
unmount("/system");
if is_mounted("/data") then
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
else
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/userdata", "/data", "");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
unmount("/data");
endif;
show_progress(0.750000, 0);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
show_progress(0.020000, 10);
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "restore");
unmount("/system");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot");
show_progress(0.200000, 10);
"
Save the file and dragn/drop it back to:
cm-12.1-20160514-UNOFFICIAL-y6.zip\META-INF\com\google\android/updater-script
BACKUP your device before you do this!
NOTICE: flash the stock boot.img and Gapps to get this rom fully working.
You may find the needed files in post 1.
Click to expand...
Click to collapse
i really do, copy and paste the text of the script on the file in the .zip file but when flash its show the same erro my device is a L-03
j3cnfa said:
what happen if somethig go wrong?
Click to expand...
Click to collapse
Your device won't boot anymore. You can restore your device while holding vol+ and vol- while do fastboot boot recovery-stock.img
You need to have dload/UPDATE.APP on your sdcard. This is a stock firmware package. You should have it ready for your device. Important. You need to have extracted your Stock recovery from UPDATE.APP.
So your device will switch to completely stock. But the Bootloader will be remains unlocked.
Runner85sx said:
What exactly is your devices?
Click to expand...
Click to collapse
Huawei y6
Scl-u31
The log is:
Installing zip file/external SD/cm.12
Checking for md5
Skipping md5
Detected filesystem ext4 for /dev/block/bootdevice/by-name/system
Patching system image unconditionally....
Detected filesystem ext4 for /dev/block/bootdevice/by-name/system
Script succeeded result was [0.200000 ]
Updating partition details...
Done....
Saber5311 said:
i do it and flash the rom but when i reboot system gonig to fastboot
please help
Click to expand...
Click to collapse
I think this is because your model is not referenced in the device tree blobs.
Can you upload your stock recovery or boot image so I can have a look?
As a possible temporary fix I can repack the boot image with your stock kernel and DT blobs however there is no guarantee this will work.
DestructoSphere said:
I think this is because your model is not referenced in the device tree blobs.
Can you upload your stock recovery or boot image so I can have a look?
As a possible temporary fix I can repack the boot image with your stock kernel and DT blobs however there is no guarantee this will work.
Click to expand...
Click to collapse
I use TWRP 3.0.2-0.img recovery
---------- Post added at 08:10 PM ---------- Previous post was at 08:06 PM ----------
DestructoSphere said:
I think this is because your model is not referenced in the device tree blobs.
Can you upload your stock recovery or boot image so I can have a look?
As a possible temporary fix I can repack the boot image with your stock kernel and DT blobs however there is no guarantee this will work.
Click to expand...
Click to collapse
I tired I think not working for me

[GUIDE] [TUT] Enable Bootanimation Sound On/Off Device For CyanogenMod - ‏LineageOS

Today Present way to enable sounds at bootanimations turn on/off device
if you open that file named bootanimation in system/bin, will find the way and follow, i have prepared the guide for cyanogenmod lollipop & marshmallow & nougat​​
Let's Start​Marshmallow & Lollipop :​​just i explain to you how to find it go to system/bin and open bootanimation
will conclude the following :
1 - codec for audio file must be [only 16 bit WAV files are supported]
2 - file will put in system/media [boot.wav & shutdown.wav]
3 - file zip will be named [shutdownanimation.zip & bootanimation.zip]
4 - open your build prob and add this lines
PHP:
ro.config.power_on=boot.wav
ro.config.power_off=shutdown.wav
​
Nougat :​​just i explain to you how to find it go to system/bin and open bootanimation
will conclude the following :
1 - codec for audio file must be .wav
2 - file will put in system/media [audio.wav]
3 - file zip will be named [bootanimation.zip]
4 - open your build prob and add this lines
PHP:
ro.config.power_on=boot.wav
ro.config.power_off=shutdown.wav
persist.sys.bootanim.play_sound=true
marshmallow & lollipop guide may work with some of nougat's roms
app help you to get and set audio file 16 bit WAV
Guide not confusing, it's very easy just put audio files and lines in build prob, guide long because i explaining with details
​Updater Script for Patching​
PHP:
ui_print("Installing Patch Boot Audio...");
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 15);
delete("/system/media/shutanimation.zip");
delete("/system/media/boot.wav");
delete("/system/media/bootanimation.zip");
delete("/system/media/shutdown.wav");
delete("/system/media/shutdownanimation.zip");
package_extract_dir("system", "/system");
show_progress(1, 15);
ui_print("Setting metadata...");
set_metadata_recursive("/system/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/bin/bootanimation", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:bootanim_exec:s0");
set_metadata_recursive("/system/media", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Done!");
Download files audio and bootanimation for testing​
​
Support me, don't forget to hit thanks button​
well-done
Nice

Categories

Resources