[ROM][11.0][UNOFFICIAL][A57] LineageOS 18.1 - Miscellaneous Android Development

Important information:
This thread is for LineageOS 18.1 opensource builds for OPPO A57. The following will not be supported in this thread:
Custom Kernels
Mods
Modified system files
Xposed
Magisk
What's not working:
Home button (including Fingerprint)
Empty IMEI
Camera (including Flashlight)
Sensors
WiFi (MAC address and WiFi 5)
probably more
Installation:
If you are on the stock OS, you will first need a custom recovery. You can get the recommended Lineage recovery here.
If you are coming from stock or other ROMs, you need to do a factory reset.
As always, make sure to backup before installing this ROM.
Download link:
SourceForge
Recommended Google Apps package:
MindTheGapps
Bug reports:
How to submit a bug report
Gitlab Issues
Donate to support development:
Donate via PayPal to Ricky
Donate via PayPal to LineageOS
Source Code:
Device tree
Kernel
LineageOS Github
Contributors
@tipzrickycheung, Lineage Team
ROM OS Version: 11.x R
ROM Kernel: Linux 3.18.x
ROM Firmware Required:
Based On: LineageOS

Reserved.

Interesting don't worry these pics belong to tipZ team

Been waiting. Always ready for testing
And just be sure, it doesn't need unlocked bootloader, right?

impawstarlight said:
Been waiting. Always ready for testing
And just be sure, it doesn't need unlocked bootloader, right?
Click to expand...
Click to collapse
Nah, this phone doesn't even support unlocking.

I tried it yesterday but it went black screen right after booting (after playing bootanimation for like 5 minutes). It seemed to be powered on but the screen was totally like off. And adb logcat was crazy with error messages like java exceptions & avc denied read/write etc. Gonna try again today since I forgot to screenshot it.

Attempt 2
# Was using stock firmware
# Installed TWRP 3.6.0_9-2 with MiFlash 2020.3.14.0
# Allowed system modification at TWRP startup
# Wiped data, dalvik/art, cache
# Installed ROM, no error in TWRP
# Rebooting: bootanimation plays, 180 degree rotated
# Black screen. But screen is actually on
# Phone connects to PC only in adb mode, no MTP
# Screen sharing to PC, still black
# Rebooting doesn't help, and the bootanimation takes like 5 mins every time
Here's some logcat.

impawstarlight said:
Attempt 2
# Was using stock firmware
# Installed TWRP 3.6.0_9-2 with MiFlash 2020.3.14.0
# Allowed system modification at TWRP startup
# Wiped data, dalvik/art, cache
# Installed ROM, no error in TWRP
# Rebooting: bootanimation plays, 180 degree rotated
# Black screen. But screen is actually on
# Phone connects to PC only in adb mode, no MTP
# Screen sharing to PC, still black
# Rebooting doesn't help, and the bootanimation takes like 5 mins every time
Here's some logcat.
Click to expand...
Click to collapse
Hey...
You should text it in his telegram group.
Oppo A57 / R9s (2016) Community
You can view and join @OppoA57R9sCommunity right away.
t.me

impawstarlight said:
Attempt 2
# Was using stock firmware
# Installed TWRP 3.6.0_9-2 with MiFlash 2020.3.14.0
# Allowed system modification at TWRP startup
# Wiped data, dalvik/art, cache
# Installed ROM, no error in TWRP
# Rebooting: bootanimation plays, 180 degree rotated
# Black screen. But screen is actually on
# Phone connects to PC only in adb mode, no MTP
# Screen sharing to PC, still black
# Rebooting doesn't help, and the bootanimation takes like 5 mins every time
Here's some logcat.
Click to expand...
Click to collapse
This phone is a bit weird that the screen likes rotating on different variants of the phones, very nicely done, OPPO.
It will take a while to boot after the boot animation stops as it is loading SystemUI, you can try to format userdata as encryption seems to be dead currently.

tipzrickycheung said:
This phone is a bit weird that the screen likes rotating on different variants of the phones, very nicely done, OPPO.
It will take a while to boot after the boot animation stops as it is loading SystemUI, you can try to format userdata as encryption seems to be dead currently.
Click to expand...
Click to collapse
how i can install this kernel?
I have same problem

I see in twrp this rom have 2 system but I'm remove 1 system even make it not work

Bollim said:
how i can install this kernel?
I have same problem
Click to expand...
Click to collapse
You have to FORMAT DATA and type yes. The option is present by the side of advanced wipe. It is going to format your internal storage, so you have to flash it with SD card or otg

Successfully booted LOS 18.1

Cipher07 said:
Successfully booted LOS 18.1
Click to expand...
Click to collapse
Hello,
Please excuse me but does calling and camera work fine? Also does audio, wifi home button work? Please reply!

Sheikhti said:
Hello,
Please excuse me but does calling and camera work fine? Also does audio, wifi home button work? Please reply!
Click to expand...
Click to collapse
"No calling" because no imei, camera is also not working, audio is not implemented so "no audio", "wifi works", home button is also not working. Sed. There is no fix for above and not coming anytime soon. Maybe after two to three years. RIP this phone

New Update
20220522
Fixed Audio (speakers, microphones, earpiece, line out)
Fixed adsprpcd
Fixed SIM card detection and some capabilities
Download

tipzrickycheung said:
New Update
20220522
Fixed Audio (speakers, microphones, earpiece, line out)
Fixed adsprpcd
Fixed SIM card detection and some capability
Click to expand...
Click to collapse

Is simcard working now?

New Update
20220526
Cleaned up init scripts
Enabled ZRAM
Fixed Encryption
Enabled Sound Trigger
Download

tipzrickycheung said:
New Update
20220526
Cleaned up init scripts
Enabled ZRAM
Fixed Encryption
Enabled Sound Trigger
Download
Click to expand...
Click to collapse
SimCard Working?

Related

[ROM] AOSP 7.x for Galaxy S 4G

Code:
Code:
/*
* Your probably long expired warranty is now 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
* and point my finger right back at you.
*/
Installation Instructions
It will wipe your entire SD card! In order to make things work better, I've set it up to use the entire SD card as /data as opposed to having two partitions. The advantage is that you don't have to pick a size of /data.
If on a BML rom (stock-based GB)...
Untested, but is setup to hopefully work. If it doesn't flash my 6.0 Omni first
1. Reboot to recovery
2. Make sure your version of CWM is at least 5.x
3. Install zip. First time will fail and let you know its repartionning. Second time it will reboot a couple of times, don't be worried.
4. If you want gapps, reboot to recovery, wipe data+cache and install gapps.
5. If you want root, flash according to instructions in Post #3
If on an MTD rom (CM7 and all ICS+)
1. Reboot to recovery
2. Wipe data, dalvik/art cache, system, and cache partitions
3. Install zip. First time will fail and let you know its repartionning. Second time it will reboot a couple of times, don't be worried.
4. If you want root or Gapps, install them now.
The first boot can take several minutes. Be patient. If it takes 20+ minutes, pull the battery and reboot to recovery.
Things to Take Note Of
I actually have a T959P, not a T959V... It was released by Telus in Canada. It is a very similar device (I can run ROMs for the T959V with limited problems - ie sometimes I get wakelocks and the gps never works), it has a different GPS chipset and also uses different cell bands (but I can still use your guys modems but I lose access to the 850Mhz band). I have created a build specifically for the T959V as best as I can guess.
If you're coming from either the last Lollipop build or the initial pre-release Marshmallow build, there is a bug in TWRP that will prevent flashing anything but the ROM. To get around this, please flash the Marshmallow zip, then reboot to recovery, and then follow the typical instructions.
If you decide to install gapps at a later date (ie after you've installed the ROM), you must do a factory reset first - otherwise you will get force-closes upon bootup
If you come across a bug, feel free to let me know by posting in this thread. I will not be working non-stop on this project, but will try to fix bugs that affect me as this is still my main phone (out of choice, not necessity).
This build is very close to the official AOSP source code. Recovery is TWRP but otherwise there aren't any added "features"
Gapps eat up about an extra 30MB of RAM so they slow down the device - tread carefully. Opengapps pico works on the latest 7.0 build, untested on 7.1 but should work just fine
Backup Backup Backup! I'm not responsible for you losing any data.
Working
Camera (built-in app needs workaround, see below)
RIL
SMS
Recovery
Bluetooth - first time it won't enable if enabling through settings, back out and then second time it will. Works just fine from status bar pulldown
Wifi
Vibration
Automatic Brightness
Compass
GPS on T959P, untested on T959V
Headset Buttons
SElinux in enforcing mode - this may have broken the T959V's gps...
Partially working
Camera and Browser apps need to have all their permissions manually enabled through settings for full functionality. This is because I've used the older Camera app (which hasn't been updated for dynamic permissions) and the older Browser app as the new one is simply a test shell with no features (thanks Google!)
What's been removed
TV-Out - It was removed upstream plus I think binary blobs would need a ton of shimming in Lollipop+
Everything else is not tested!!!
XDA:DevDB Information
AOSP 7.x for Galaxy S 4G, ROM for the Samsung Galaxy S 4G
Contributors
xc-racer99
Source Code: https://github.com/xc-racer99/
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.0.x
Based On: AOSP
Version Information
Status: Beta
Created 2016-10-22
Last Updated 2016-10-21
Thanks Time!
Thanks Time!
This would not have been possible without the following people:
Thanks to humberos for bringing Lollipop to the first-gen Galaxy S series. This would not have been possible without his work.
Thanks to FB and Dao for their work on the CM-11 device tree. I used several of their fixes.
Thanks to noiphonehere for his device trees and kernel, most of my work was based off of his.
Thanks to the OMAP4 AOSP team for their work on porting CMA to a 3.0 kernel.
Thanks to bhundven and the other members of teamacid for their work on the aries kernel.
Thanks to all others that have helped get this phone to where it is today!
Thanks to vcmerritt. A name you're probably not familiar with, but he was the only one to create something for the T959P and without him I'd still be on stock...
Build your own!
Follow https://source.android.com/source/initializing.html. The branch you want when you run repo init is the latest tag from https://source.android.com/source/build-numbers.html#source-code-tags-and-builds for your desired android version (7.0 or 7.1). Before you run repo sync, from the WORKING_DIRECTORY/.repo folder, run "git clone https://github.com/xc-racer99/local_manifests -b BRANCH" where BRANCH is either aosp-7.0 or aosp-7.1. Continue on with the build guide, the device codename you want is "galaxys4gmtd".
If you want to build the kernel, follow the instructions in WORKING_DIRECTORY/kernel/samsung/aries/AOSP_README. Put the resulting arch/arm/boot/zImage in device/samsung/galaxys4gmtd-kernel
Other aries devices (captivate, i9000, i9000B, vibrant) should be fairly easy to do (ie the galaxysmtd on my github as well as the captivate trees work). The fascinate and p1 would need a fair bit of work.
Changelogs
Changelog for 2016-12-19
December security patches
goes back to the older graphics drivers so hardware recording works but has a kernel patch to prevent crashes
Tweaked the graphics drivers options so it seems a little bit faster
Tweaked the RIL a little bit for better stability
Other things I've forgotten about, see github for details
Changelog for 2016-12-19-V2
Kernel without slowdowns....
Changelog for 2017-1-19
selinux to enforcing - this may break the T959V's GPS - if it does, let me know and send me a dmesg and I'll fix it
Update to the interactive governor - should have less slowdowns if using the default governor
Slightly better RIL reliability (I think)
Better low memory killing - we now don't run out of memory as often
Hardware decoding re-enabled
Slightly less intensive background services
Based on 7.1.1_r13
Source Code, Downloads, Root Options
Main Source
https://android.googlesource.com/
Device Specific Source Code
http://github.com/xc-racer99/android_device_samsung_telusgalaxys4gmtd for the device tree (see aosp-7.x branch)
http://github.com/xc-racer99/android_device_samsung_aries-common for the common device tree (see aosp-7.x branch).
http://github.com/xc-racer99/android_kernel_samsung_aries for the kernel (see aosp-7.x branch)
http://github.com/xc-racer99/proprietary_vendor_samsung for the prop blobs (see aosp-7.x branch)
http://github.com/xc-racer99/android_patches for all the patches necessary for the device to work properly (see aosp-7.x branch)
Downloads!
All builds can be downloaded from AndroidFileHost at https://www.androidfilehost.com/?w=files&flid=58191
Gapps
The smallest http://opengapps.org/ package for 7.0 is known to work, but any small 7.0 gapps package should work. However, they will cause the device to slowdown significantly as they use a fair bit of RAM. Gapps are untested on 7.1
This ROM is compatible with MicroG (https://microg.org/ and http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616) gapps. This is an open-source reimplementation of Google Play Services that doesn't track you and uses way less battery than the original.
Root
Root is achieved via Magisk or SuperSU.
MagiskDue to our odd partition layout, you need to use my custom Magisk install zip (source code here) attached to this post and not the official install or the Magisk Manager install. Then follow the instructions on how to root/install other modules from http://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 Also, don't try to use the official Magisk uninstall tool as it won't work.
SuperSU
Please note: I've been told this doesn't work any more, YMMV
Again, we need a custom SuperSU install zip for it to work due to our partition scheme. It should be an all-in-one zip so it's simplier than Magisk (but not open source). This is based off of the latest (at time of writing) 2.79SR1 release, the diff is below
Code:
diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary
index d437f6f..3a312bf 100644
--- a/META-INF/com/google/android/update-binary
+++ b/META-INF/com/google/android/update-binary
@@ -642,16 +642,23 @@ detect_systemless_required() {
find_boot_image
CONTINUE=true
+if false ; then
if [ -z "$BOOTIMAGE" ]; then
# no boot image partition detected, abort
return
fi
+fi
# extract ramdisk from boot image
rm -rf /sutmp
mkdir /sutmp
+if false ; then
check_zero "" "" "" "LD_LIBRARY_PATH=$RAMDISKLIB $BIN/sukernel --bootimg-extract-ramdisk $BOOTIMAGE /sutmp/ramdisk.packed"
+else
+ mount /ramdisk
+ cp /ramdisk/ramdisk.img /sutmp/ramdisk.packed
+fi
check_zero "" "" "" "LD_LIBRARY_PATH=$RAMDISKLIB $BIN/sukernel --ungzip /sutmp/ramdisk.packed /sutmp/ramdisk"
if (! $CONTINUE); then return; fi
@@ -1331,6 +1338,8 @@ else
ui_print_always "Boot image patcher"
ui_print "******************"
+if false ; then
+ # SGS Modification - we don't have a "real" boot image
ui_print "- Finding boot image"
find_boot_image
@@ -1357,6 +1366,10 @@ else
fi
check_zero_def "- Extracting ramdisk" "LD_LIBRARY_PATH=$SYSTEMLIB /su/bin/sukernel --bootimg-extract-ramdisk $BOOTIMAGE /sutmp/ramdisk.packed"
+else
+ mount /ramdisk
+ cp /ramdisk/ramdisk.img /sutmp/ramdisk.packed
+fi
check_zero_def "- Decompressing ramdisk" "LD_LIBRARY_PATH=$SYSTEMLIB /su/bin/sukernel --ungzip /sutmp/ramdisk.packed /sutmp/ramdisk"
if ($CONTINUE); then
@@ -1545,6 +1558,7 @@ else
check_zero_def "- Calling user boot image patch script" "sh /data/custom_boot_image_patch.sh /sutmp/boot.img"
fi
+if false ; then
if ($CONTINUE); then
DEV=$(echo `resolve_link $BOOTIMAGE` | grep /dev/block/)
if [ $? -eq 0 ]; then
@@ -1564,6 +1578,10 @@ else
dd if=/sutmp/boot.img of=$BOOTIMAGE bs=4096
fi
+else
+ cp /sutmp/ramdisk.packed /ramdisk/ramdisk.img
+ umount /ramdisk
+fi
rm -rf /sutmp
fi
Link for the download ROM is not working... it is private... ?!?
Here is the link to the rom that is not private https://www.androidfilehost.com/?w=files&flid=58191
pickandrew said:
Link for the download ROM is not working... it is private... ?!?
Click to expand...
Click to collapse
Shaggy_thecat said:
Here is the link to the rom that is not private https://www.androidfilehost.com/?w=files&flid=58191
Click to expand...
Click to collapse
Thanks, I used the link that I would use if I was already logged in, my bad. OP is now updated.
It's been a while, no home internet and very busy life lately but the time I did get The 7.0 zip to flash (0930) it was running very well, no random reboots and limited freezes (just 1 really)
BUT. I always reinstall a new ROM to get the process down and- I haven't been able to get it running again. Let alone with root which I haven't managed to do. When I install the ROM now it gives me a quick first boot however it says encryption unsuccessful and asks me to reset. Resetting and factory resetting as well as formatting won't help it.
Excellent work ^_^ you're becoming the new SGS4G guru around here
As for a new setting in the dev options, labeled Consistent Logging-- if I turn this on is it A: Safe in terms of information vulnerability and B: Will it fill up my SD card quickly with a mass amount of logging data?
graycow9 said:
It's been a while, no home internet and very busy life lately but the time I did get The 7.0 zip to flash (0930) it was running very well, no random reboots and limited freezes (just 1 really)
BUT. I always reinstall a new ROM to get the process down and- I haven't been able to get it running again. Let alone with root which I haven't managed to do. When I install the ROM now it gives me a quick first boot however it says encryption unsuccessful and asks me to reset. Resetting and factory resetting as well as formatting won't help it.
Excellent work ^_^ you're becoming the new SGS4G guru around here
As for a new setting in the dev options, labeled Consistent Logging-- if I turn this on is it A: Safe in terms of information vulnerability and B: Will it fill up my SD card quickly with a mass amount of logging data?
Click to expand...
Click to collapse
Hmm, flash the ROM, go into recovery, change the filesystem of /data to ext4 or f2fs. The error sounds as if the sdcard is formatted as fat while it shouldn't be. If that doesn't work, please send me the contents of /sdcard/aries_mtd.log after you've installed it.
Hadn't noticed the new "persistent logging" section. I suspect that what it does it keep the logcat contents over a reboot. Since the logcat does have a max size, it is probably safe to enable it. I highly doubt it contains any more info than a regular logcat.
Thanks for keeping this device alive in this community! My kids wanted to use it for simple games so I dusted it off and came here to see if anything was still in development and sure enough there was!
I tested going from BML stock and it worked! I had to restart the install 5 times, but it ultimately took. The first two times installed TWRP, then it rebooted into TWRP. Then it took 3 additional times before it went through the whole install. It booted up fine, but I had messed up and forgot to do a full reset before install gapps. So it would boot the encryption screen telling me it was interrupted and I had to reset the phone. Unfortunately at that point no matter what I did it would always boot to that encryption error screen. So I wiped completed and started over but mistakenly flashed the 7.1 build. It went through but was stuck on a boot loop. So now i can't install 7.0 because it keeps telling me it can't install over newer builds. Is there anything I can do to fix this or do i have to start from stock all over again?
Edited* Update
I went ahead and started from scratch but still ran in to the same problem with the encryption. Didn't install gapps this time.
Domunus said:
Thanks for keeping this device alive in this community! My kids wanted to use it for simple games so I dusted it off and came here to see if anything was still in development and sure enough there was!
I tested going from BML stock and it worked! I had to restart the install 5 times, but it ultimately took. The first two times installed TWRP, then it rebooted into TWRP. Then it took 3 additional times before it went through the whole install. It booted up fine, but I had messed up and forgot to do a full reset before install gapps. So it would boot the encryption screen telling me it was interrupted and I had to reset the phone. Unfortunately at that point no matter what I did it would always boot to that encryption error screen. So I wiped completed and started over but mistakenly flashed the 7.1 build. It went through but was stuck on a boot loop. So now i can't install 7.0 because it keeps telling me it can't install over newer builds. Is there anything I can do to fix this or do i have to start from stock all over again?
Edited* Update
I went ahead and started from scratch but still ran in to the same problem with the encryption. Didn't install gapps this time.
Click to expand...
Click to collapse
Ok, sounds like a messed up somewhere. I'll do some testing and try to release an updated build. Could you please post the output of /sdcard/aries_bml.log and /sdcard/aries_mtd.log? The "Encryption Unsuccessful" message sounds as if the SD wasn't properly formatted to ext4/f2fs.
Hi xc-racerr99, I found what the issue was. Apparently I had an extra partition on the sdcard. After removing it and running the install script again everything booted up and i'm now using the ROM! It's awesome I have Nougat on this old Galaxy S. Without Gapps it's been running really stable and very responsive..
However, at this point, I've tried opengapps pico and TKgapps pico and neither work. The script runs and says update completed, but it's too fast. When I boot to the ROM no gapps were installed. Is there another gapps you would recommend trying?
Domunus said:
Hi xc-racerr99, I found what the issue was. Apparently I had an extra partition on the sdcard. After removing it and running the install script again everything booted up and i'm now using the ROM! It's awesome I have Nougat on this old Galaxy S. Without Gapps it's been running really stable and very responsive..
However, at this point, I've tried opengapps pico and TKgapps pico and neither work. The script runs and says update completed, but it's too fast. When I boot to the ROM no gapps were installed. Is there another gapps you would recommend trying?
Click to expand...
Click to collapse
Odd, I thought my install script removed the extra partition.
Anyways, it sounds as if there's some issue with recovery. You could try replacing the ramdisk-recovery.img in the ROM zip you downloaded with the one from https://www.androidfilehost.com/?fid=457095661767105384. Then reboot to recovery and flash your gapps package again.
Doesn't work....
I'll try to do some more testing with gapps and from stock with 1 or 2 partitions when I get a chance.
I figured out a sure fire way to boot 7.0, I'm running it as I respond with XDA app right now. But to keep it short if possible, I just fix permissions then factory wipe before I run the zip- do this while on CWM right after you heimdall to BML.
So to recap:
1- Flash to stock via heimdall
2- Fix permissions + factory wipe
3- Flash 7.0 zip
4- TWRP should boot- so flash ROM once more - wipe caches
5- Reboot and chew some nougat
Will follow up with a log next time I try to get the 7.1 rolling. ?
Oh! And when I add my email (hotmail) I get a bad handshake everytime. Do I need gapps to sync my contacts?
Sent from my SGH-T959V using XDA-Developers mobile app
graycow9 said:
I figured out a sure fire way to boot 7.0, I'm running it as I respond with XDA app right now. But to keep it short if possible, I just fix permissions then factory wipe before I run the zip- do this while on CWM right after you heimdall to BML.
So to recap:
1- Flash to stock via heimdall
2- Fix permissions + factory wipe
3- Flash 7.0 zip
4- TWRP should boot- so flash ROM once more - wipe caches
5- Reboot and chew some nougat
Will follow up with a log next time I try to get the 7.1 rolling.
Oh! And when I add my email (hotmail) I get a bad handshake everytime. Do I need gapps to sync my contacts?
Sent from my SGH-T959V using XDA-Developers mobile app
Click to expand...
Click to collapse
Yeah, I get a bad handshake as well. Only happens with hotmail/oulook accounts, my gmail and my other email work just fine.
I figured out what was causing the issues with install from BML - on TWRP boot, it wasn't setting up the sdcard properly. I've now fixed it so that it should work regardless (in the next build, obviously).
Anyways, it sounds as if there's some issue with recovery. You could try replacing the ramdisk-recovery.img in the ROM zip you downloaded with the one from https://www.androidfilehost.com/?fid=457095661767105384. Then reboot to recovery and flash your gapps package again.
Click to expand...
Click to collapse
Gave this a try and still no luck.
Update **
It actually killed the recovery. Recovery just keeps crashing and rebooting when trying to get in to it. Tried it from the a clean install and same results. Will wait for your next build. Thanks for putting time in to this!
Odd, it lets me add my gmail but only syncs my emails- no option for contacts still. I ought to keep a vcf from my other device jic.
The performance is even better than M and it doesn't have the weird battery glitch anymore ?? (I think the new partition layout helped a lot.)
Another thing I noticed, sometimes my SIM won't register or gives me a no signal indicator. I can't get root still either[emoji14]still poking around. Looking forward to the next build ?
Edit: Another bug I noticed is the inability to save files through the browser or Tumblr app for example.
(By the way, just wanted to add, I hope I'm still being more help than a nag or something. I aim to be helpful. So I look for things that seem astray. Heh)
Sent from my SGH-T959V using XDA-Developers mobile app
graycow9 said:
Odd, it lets me add my gmail but only syncs my emails- no option for contacts still. I ought to keep a vcf from my other device jic.
The performance is even better than M and it doesn't have the weird battery glitch anymore (I think the new partition layout helped a lot.)
Another thing I noticed, sometimes my SIM won't register or gives me a no signal indicator. I can't get root still either[emoji14]still poking around. Looking forward to the next build
Edit: Another bug I noticed is the inability to save files through the browser or Tumblr app for example.
(By the way, just wanted to add, I hope I'm still being more help than a nag or something. I aim to be helpful. So I look for things that seem astray. Heh)
Sent from my SGH-T959V using XDA-Developers mobile app
Click to expand...
Click to collapse
I've never used the contact sync.
With SIM not registering, it's because Google introduced a bug and the workaround the bug causes the SIM to occasionally not work. One of the problems with legacy devices I guess.
With the files not saving, manually grant the storage permission in Settings->Apps - it doesn't seem to automatically update for most apps.
With root, sounds like I should modify the SuperSU install zip as it's easier to use (but not open-source). For the PHH Superuser, you need
1) The Magisk-7-SGS.zip from my thread.
2) The phh-superuser-r259.zip from the Magisk root thread (link in OP)
3) The PHH Superuser app from the Play Store or FDroid
Even then, it only works for certain apps as it doesn't mount anything to /system/xbin/su which is what some apps look for
Edit: And I have no issues if you keep posting here with the problems you find, it's good to know.
bootloop
just tried to flash this 7.1 rom from your omnirom 6.0. Seemed to flash ok as described. couldn't get pico opengapps to flash but ignored it. Now it's stuck in a bootloop and I can't get into recovery using hardware buttons. Any guidance as to how I should proceed? As a relative novice, can I push a new recovery through ADB and try again?
asmalldharma said:
just tried to flash this 7.1 rom from your omnirom 6.0. Seemed to flash ok as described. couldn't get pico opengapps to flash but ignored it. Now it's stuck in a bootloop and I can't get into recovery using hardware buttons. Any guidance as to how I should proceed? As a relative novice, can I push a new recovery through ADB and try again?
Click to expand...
Click to collapse
Well, it depends on where you are bootlooping. If you're stuck at either of the first two splash screens, then you're out of luck with ADB as it isn't available yet. If you're bootlooping but getting to the bootanimation, then you can. To do so, run
Code:
$ adb root
$ adb shell mkdir /data/ramdisk
$ adb shell mount /dev/block/mtdblock5 /data/ramdisk
$ adb push ramdisk-recovery.img /data/ramdisk
$ adb reboot recovery
where ramdisk-recovery.img is from the AOSP 7.0 zip.
If you're stuck at the first or second splash screens, then you need Odin or Heimdall. With heimdall, you can do
Code:
$ heimdall flash --KERNEL boot.img
where the boot.img is the one from Omni 6.0, the one from 7.x won't work on its own as the recovery is not stored in it. You can use Odin to go back to stock.
I haven't tried gapps so I guess I should sometime and see what the issue with them is.
Gets to the second splash screen. I'll give that a shot when i have some free time. I'm really looking forward to getting this working as I'm amused by the idea of my oldest android phone running the newest OS before my other two.
Update: couldn't get it to work with my cheap laptop. Kept throwing up the libusb 12 error. Then when i finally gave up and pulled the battery, I noticed it was starting to bulge a little. I think I'm out for a while. I'm hoping i can come back to this soon.
Sent from my A0001 using XDA-Developers mobile app

[13/06/2020] Haky86's LineageOS 14.1 Huawei P8 Lite 2017 PRA-LX1

LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. Lineage OS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Code:
* Your warranty is now void.
* We are 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.
Compatible device?:
Code:
[LIST]
[*]P8 Lite 2017.
[*]P10 Lite.
[/LIST]
Mandatory:
* hit thank buttons, it's free.
* want more roms for P8 Lite 2017/P9 Lite 2017, simply bring me up beers by the following button.
Requirements:
Unlocked bootloader.
Unlocked FRP.
vendor.img: you must be on stock one, so don't wipe it because with other custom vendor.img will never ever boot.
Emui 5.x B115 (Single Sim) or B170(Dual Sim)
How to Install the ROM?
* reboot to TWRP.
* go to Wipe -> Advanced Wipe.
* check Data -> Change file system -> select EXT4.
* swipe the screen to wipe it .
How can I fix Sim?
* go to Settings -> Extras -> disable "Sim Card Slot2 " and reboot.
How can I enable Google Codecs
* go to Settings -> Extras -> enable "Use Google H264" (it's a bit laggy but better than nothing).
How to enable Double Touch To Wake?
* go to Settings -> Extras -> enable "Double Touch to Wake"
Should I reflash the vendor partition if come from other roms?
* if you coming from Emui 5.x, the answer is no because the custom rom are based on Emui 5.0 source code, so all you
have to is flashing your favorite custom rom
Audio and camera are not working?
* bring up a logcat to help us, instead of writing useless comments.
Gapps:
http://opengapps.org
Working Hardware:
Audio.
Bluetooth.
Browser.
Display.
GPS.
Graphics: only gralloc.
Lights.
RIL.
Sensors.
Storage: both internal & external storage.
Wifi.
Bugs:
Tell me
LineageOS 14.1:
Downloads:
Checkout this
LineageOS 14.1 Downloads
Changelogs:
30/07/2017:
Initial build.
03/08/2017:
Testing hwcomposer, report us if the build boot and run games fine.
Camera will be fixed soon.
21/08/2017:
fix random reboot.
fix some tethering issues.
wifi should be fixed (send me a logcat if not work) it was working on my own pra-lx1..
25/08/2017:
fix sim.
fix hwcomposer (in theory, you should test games for that).
fix wifi..
01/09/2017:
ril has beeb fixed by disable flags for dual sim, my device is single sim.
fix wifi (will try to fix saving password issue).
01/09/2017:
Android 7.1.2 R29.
fix bootloop.
fix random reboot.
to fix lags: disable Ambient Display from Display settings.
15/11/2017:
update HwComposer according to this patch.
Update permissions for Google Play.
Build is smooth and fast even with enabled ambient display
21/12/2017:
fix minor bugs
31/12/2017:
fix camera
06/01/2018:
fix USB & memories.
21/01/2018:
Fix error 7 by adding support for prague devices, so you must flash my latest twrp, the v2.5.
Fix ril on prague devices.
Fix ril crashes, I test the automated voice of ussd code for more than 30 seconds and didn't crash like before.
Note: this rom is only for the Huawei P8 Lite 2017 if you didn't get worked audio or camera on your hi6250 device isn't my fault, just flash my own vendor.img from unbrick guide, that's why I get everything works on my pra-lx1 like the following attached screenshot.
25/01/2018:
Fix audio for P10 Lite
Add support for Vulkan libraries for all hi6250.
Fix camera on some prague devices.
31/01/2018:
Fix Magisk 15.3
Security patches: January 2018
19/02/2018:
security patches: Feb 2018
02/05/2018:
fix call's sensor issue.
latest android 7.1.2 build.
28/12/2019:
Fix Magisk
Fix RIL crash.
Security Patches: 5 Dec 2019
11/06/2020:
New "Extra" thanks to dady8889 for the base (I'll clean up tomorrow)
Fix Mute in Call.
SPL: May 2020
13/06/2020:
Fix Mute in Call.
Fix USSD. (thanks to flex1911 for his emui8 fixes)
Fix RIL Crash again.
[/HIDE]
Source Code:
Device Tree:
https://github.com/hak86/android_device_huawei_hi6250
Kernel GPL:
https://github.com/hak86/android_kernel_huawei_prague
Vendors:
https://github.com/hak86/android_vendor_huawei_hi6250
Credits
@haky 86
@Meticulus special thanks for immense work done in just few days for the hi6250 platform.
Contributors
@haky 86
Source Code: https://github.com/hak86
ROM Kernel: Linux 4.1.x
ROM Firmware Required: EMUI 5.0 or newer
Version Information
Status: Beta
Beta Release Date: 2017-07-30
Created 2017-07-30
Last Updated 2017-12-21
Reserved
ROM stuck at animation boot?
this because you must change the file system from F2FS to EXT4 to done boot process
* reboot to TWRP.
* go to Wipe -> Advanced Wipe.
* check Data -> Change file system -> select EXT4.
* swipe the screen to wipe it .
How can I fix Sim?
* go to Settings -> Extras -> disable "Sim Card Slot2 " and reboot.
How can I enable Google Codecs
* go to Settings -> Extras -> enable "Use Google H264" (it's a bit laggy but better than nothing).
How to enable Double Touch To Wake?
* go to Settings -> Extras -> enable "Double Touch to Wake"
Should I reflash the vendor partition if come from other roms?
* if you coming from Emui 5.x, the answer is no because the custom rom are based on Emui 5.0 source code, so all you
have to is flashing your favorite custom rom
Audio and camera are not working?
* bring up a logcat to help us, instead of writing useless comments.
I got error 7, how can I fix that?
* use my own TWRP recovery. or you can simply remove the whole assert line in the updater-script file inside the META-INF folder save and re-flash.
How can I fix RIL Crashes
flash root.
Copy the phone.prop into /system/vendor and /vendor.
reboot, now you should able to do calls for more than 2 minuts
Calls still crash even with fix SIM
Run adb shell and type the following command xxd /sys/firmware/devicetree/base/hisi,modem_id .
the result will be something like the following out ( for single sim devices):
1|hi6250:/ $ xxd /sys/firmware/devicetree/base/hisi,modem_id
00000000: xxxx x000 ;xx.
Click to expand...
Click to collapse
Search for your xxxxx000, and setup the following flags .
ro.config.client_number=1
ro.config.modem_number=1
persist.dsds.enabled=false
persist.radio.multisim.config=dsds (remove it properly)
for dual sim devices just edit these 2 flags:
ro.config.client_number=1
ro.config.modem_number=1
Save and reboot.
Oh, finally you did it
You can easy fix deep-sleep issue if you'll apply @XePeleato' patch for surfaceflinger , please take a look here , credit goes to @XePeleato !
Second, you can also easly fix the "reboot to erecovery" issue, by applaying my patch for kernel, you should take a look here as well !
I assume Hotspot isn't working, because you need more patches to kernel ... so you can cherry-pick almost all my commits, but as always you should keep authorship, as much as possible
About camera ?? - you can't enable camera so easy ... I'll let you to try , and if you do not succeed in a week, please let me to know and I'll help you
Good luck !
surdu_petru said:
Oh, finally you did it
You can easy fix deep-sleep issue if you'll apply @XePeleato' patch for surfaceflinger , please take a look here , credit goes to @XePeleato !
Second, you can also easly fix the "reboot to erecovery" issue, by applaying my patch for kernel, you should take a look here as well !
I assume Hotspot isn't working, because you need more patches to kernel ... so you can cherry-pick almost all my commits, but as always you should keep authorship, as much as possible
About camera ?? - you can't enable camera so easy ... I'll let you to try , and if you do not succeed in a week, please let me to know and I'll help you
Good luck !
Click to expand...
Click to collapse
Sure bro
I'm make a build right now with that patch, for camera I don't see USE_CAMERA_STUB := true in BoardConfig.mk and also my kernel source has 34 repos for external, are they useful? will do a test with them and report you..the rest are perfect
Installed, testing. No reboots so far.
Dejan Kruljac said:
Installed, testing. No reboots so far.
Click to expand...
Click to collapse
just wait and see..fixing are in progress..will be in nex builds. btw
This works on the P9 Lite 2017 too. The devices have the same hardware, I think even the same Model No. Just wanted to point that out.
Hi,
We have a P8 Lite 2017 and i have install LineageOS...
I have different problem.
The first problem is no sim accept. ( i have two sim in the phone but the Software marked "No sim"...
The second problem is when i shutdown P8 and stard after few minutes, the P8 doesnt start ( P8 blocked on the Logo Lineage OS).
You can help me ??
Thanks
maxilib said:
Hi,
We have a P8 Lite 2017 and i have install LineageOS...
I have different problem.
The first problem is no sim accept. ( i have two sim in the phone but the Software marked "No sim"...
The second problem is when i shutdown P8 and stard after few minutes, the P8 doesnt start ( P8 blocked on the Logo Lineage OS).
You can help me ??
Thanks
Click to expand...
Click to collapse
For sim I can't help you because my device is single sim.
for shutdown/random reboot, I already fix that problem, will be available in the second builld once fix nfc
haky 86 said:
For sim I can't help you because my device is single sim.
for shutdown/random reboot, I already fix that problem, will be available in the second builld once fix nfc
Click to expand...
Click to collapse
Thanks for your reply
I'v tested you version later. But for the SIM, any SIM is recognize in the system ! ( French SIM operator Orange)
I flashed the vendor, did a factory reset in twrp and wiped system, flashed rom zip and opengapps arm64 7.1 pico. it looped on a Lineage logo for 10 minutes. Do i need to format data partition? or factory reset is enough
aciupapa said:
I flashed the vendor, did a factory reset in twrp and wiped system, flashed rom zip and opengapps arm64 7.1 pico. it looped on a Lineage logo for 10 minutes. Do i need to format data partition? or factory reset is enough
Click to expand...
Click to collapse
Data needs to be wiped too everytime you flash a completely new ROM
Vinnipinni said:
Data needs to be wiped too everytime you flash a completely new ROM
Click to expand...
Click to collapse
so, factory reset from twrp is not enough and i need to choose "format data", the option above twrp slider yep?
aciupapa said:
so, factory reset from twrp is not enough and i need to choose "format data", the option above twrp slider yep?
Click to expand...
Click to collapse
Yes.
Vinnipinni said:
Yes.
Click to expand...
Click to collapse
OK, thanks. I'll back everything up and wait for next build
aciupapa said:
OK, thanks. I'll back everything up and wait for next build
Click to expand...
Click to collapse
Yeah. Just keep in mind that you cannot backup data at all. Only the Internal space with your PC. But always make backups of other stuff and keep at least one on your PC, so if something breaks, you can always go back. Data isn't that important to safe, if you wiped data, it's like a factory reset.
Please read the OP, of course you'll need to wipe data, cache, system.
haky 86 said:
Please read the OP, of course you'll need to wipe data, cache, system.
Click to expand...
Click to collapse
did that. still hangs on lineage bootanimation, waited for 10 mins or so
I don't quite understand how to patch the surfaceflinger. Can someone tell me what am I supposed to do?
First my respect. I also tried it. But I failed. Is not bad, there are experts like @haky 86. Great work, thank you.
When I tested the version for the 6x in the morning, I had to format between the data partition and re-install the EMUI. Since then your TWRP works perfectly. Complete backups include Data Partition. Restoring is also perfect. Tomorrow I want to try your Lineage OS. Hope the Revovery works there perfectly synonymous.

[GUIDE] Havoc P and other P GSI with anykernel2 8.1 to P boot patch [temp]

First things first
1. Remove all pattern, fp, face data and BACKUP all Partition in TWRP ( I lost baseband trying GSI images, those backup saved me).
2. TWRP should be installed and also Force disabled Encryption should be flashed.
Now follow the steps
1. Go to TWRP, wipe dalvik/cache, cache, system, data
2. Go back and Flash HavocP system image as System or you can try other P GSIs..
HavocP-arm64_aonly_vanilla_nosu-0830.zip
( You can check the source here for updates).
Optionally you can flash arm64 Gapps 9.0 (nano or micro is recommended) opengapps.org
3. Next without exiting TWRP flash this zip, this one patches boot for Android P GSI image compatibility..
POST-sGSI_3_v0.5.zip
4. Now go to wipe menu and wipe Dalvik/cache, cache, data and reboot.
For audio distortion fix:
[Temp] How-To Fix Audio distorted on P GSIs
For Volte: not found any fix yet, but may be fixed by tweaking build.prop like some other devices.. Will add if found.
May this line be added in Vendor/bin/init.qcom.sh like One plus 3.
Code:
# Hack to get IMS up and running on GSI
if [ -f /data/system/users/0/settings_global.xml ]; then
sed -i 's/"multi_sim_data_call" value="1"/"multi_sim_data_call" value="-1"/g' /data/system/users/0/settings_global.xml
restorecon /data/system/users/0/settings_global.xml
fi
This thread is temporary.. Will close it if stable Havoc is released by the Devs
Credits- skulshady, zenixxx, erfanoabdi, EnesSastim, phhusson, SH1M4BD
Hi,
Thanks a lot...
Will try that and report if it worked for me
Hope the back up won't fail on me !!!
EDIT : tried to do exactly as you said...
It may be worth mentioning a thing or two...
1°) that you should install GApps also...
2°) that it takes some time for the device to get out of the "Pocophone" splash screen
3°) that it may take some time until the SIM card is recognized
Regards.
Please test multitouch issue, if it exists in this rom.
NexusPenguin said:
Hi,
Thanks a lot...
Will try that and report if it worked for me
Hope the back up won't fail on me !!!
EDIT : tried to do exactly as you said...
It may be worth mentioning a thing or two...
1°) that you should install GApps also...
2°) that it takes some time for the device to get out of the "Pocophone" splash screen
3°) that it may take some time until the SIM card is recognized
Regards.
Click to expand...
Click to collapse
1. Oh sorry opengapps is released officially , updating op..
2. If pocophone splash screen is stuck, force reboot. Booting is fast for me just like stock rom. That stucking happened once in Havoc, rebooting solved.
3. For me sim detection and registration was fast with Jio 4G and Airtel.. BTW I am sure there is conflicts in Modem and OS (this caused baseband 'unknown').. So sometimes it may some time for sims to get recognized or even not be recognized after booting.
In short, these GSIs are not stable.
shailendra1993 said:
Please test multitouch issue, if it exists in this rom.
Click to expand...
Click to collapse
Are you telling about that Ghost touch??? I am now back to stock.. Will test that when I will flash again..
May be software glitch..
palbadi said:
1. Oh sorry opengapps is released officially , updating op..
2. If pocophone splash screen is stuck, force reboot. Booting is fast for me just like stock rom. That stucking happened once in Havoc, rebooting solved.
3. For me sim detection and registration was fast with Jio 4G and Airtel.. BTW I am sure there is conflicts in Modem and OS (this caused baseband 'unknown').. So sometimes it may some time for sims to get recognized or even not be recognized after booting.
In short, these GSIs are not stable.
Are you telling about that Ghost touch??? I am now back to stock.. Will test that when I will flash again..
May be software glitch..
Click to expand...
Click to collapse
No, the multitouch bug, ghost touch is different.
Check this out: en.miui.com/forum.php?mod=viewthread&tid=3746297
palbadi said:
1.
In short, these GSIs are not stable.
Click to expand...
Click to collapse
Hi,
Same impression here : Treble needs a lot more work to deliver what Google is aiming at !
I now understand why some ROM devs do not want to release GSI ROM images
Regards.
If I wipe system before flashing Havoc image, I cannot flash gapps P (as it seems to be "seeing" the other slot even on oreo).
If I do not wipe system, I can follow the steps and boot Havoc. But an error message appears: "Android System: There is an internal problem with your device. Get in contact with your manufacturer to know the details". Each boot, same message.
Technical said:
If I wipe system before flashing Havoc image, I cannot flash gapps P (as it seems to be "seeing" the other slot even on oreo).
If I do not wipe system, I can follow the steps and boot Havoc. But an error message appears: "Android System: There is an internal problem with your device. Get in contact with your manufacturer to know the details". Each boot, same message.
Click to expand...
Click to collapse
It is due to mismatch of ro.vendor.build.fingerprint value in build.prop in System and Vendor..
FIX:
1. Connect data cable to PC and boot into twrp
2. Go to Advanced/file manager
3. Copy build.prop from both Vendor and System to Sdcard, so that you copy them to your PC and edit.
4. In PC, Copy those build.prop files from sdcard and change the value of ro.vendor.build.fingerprint from build.prop (system) to build.prop (vendor).
5. Now overwrite the edited build.prop (vendor) to Vendor in the same process and you may give permission 644 (rw-r--r--) that vendor/build.prop
6. Reboot and check
What's the point of flashing the postGSI fixes, when it, at least for me and for my guide, works well without them.
I don't see the point.
SmallTarzan said:
What's the point of flashing the postGSI fixes, when it, at least for me and for my guide, works well without them.
I don't see the point.
Click to expand...
Click to collapse
Havoc did not boot without that zip

[ROM] Unofficial LineageOS 15.1 [OPM7.181205.001] for ZTE Blade S6 (P839F30)

Code:
[I]DISCLAIMER[/I]
[COLOR="red"]Do not mirror my builds![/COLOR] Please post a link to this thread instead.
All information and files — both in source and compiled form — are provided on an as is basis.
No guarantees or warranties are given or implied. The user assumes all risks of any damages
that may occur, including but not limited to loss of data, damages to hardware, or loss of
business profits. Please use at your own risk. Note that unless explicitly allowed by the
warranty covering your device, it should be assumed that any warranty accompanying your
device will be voided if you tamper with either the system software or the hardware.
Introduction
This is my unofficial build of LineageOS 15.1 for the ZTE Blade S6 aka P839f30.
This is the first beta release, so be aware that issues could arise.
I have tested this version with my AS variant device. Other variants have to be tested.
Click to expand...
Click to collapse
Features
working:
phone: calls, sms, data.
wifi
bluetooth
sensors
gps: mostly I have used the energy saving mode
sound
camera: rear with flash and front.
torch
headphone detection
swap back and menu button
light: button backlight, brightness control and adaptive brightness, breath light (notification and/or battery)
not working:
SELinux is permissive.
We have to test to find out.
Click to expand...
Click to collapse
Installation instructions
It is best to have installed the latest stock rom beforehand, so modem and all other vendor stuff is up to date.
If you like you can use this mod to have a unified data partition, please proceed with caution.
You will need TWRP or any other custom recovery.
Reboot into recovery and do a nand backup.
Do a factory format.
Download Rom and put it on your phone or use adb sideload.
Install the rom and then clear cache and dalvik cache.
optional: install su and/or gapps (preferable nano).
Please check this prop!
Click to expand...
Click to collapse
Changelog:
16.10.2019 - 2nd stable release:
los security patch level 05.10.
merge upstream kernel from oppo devices
kernel version 3.10.108
30.08.2019 - 1st stable release:
los security patch level 05.08.
use sdcard fs now
updated fs drivers
updated wifi driver
fix line-out, you can use it now
use deep-buffer for audio playback
23.12.2018 - 2nd beta release:
los security patch level 05.12.
cpu min freq. 200MHz, min cpu 0
correct modem and wcnss symlinks.
11.12.2018 - first beta release:
los security patch level 05.11.
standard features working.
Click to expand...
Click to collapse
Downloads
second stable release - 16.10.2019:
Google Drive or here.
first stable release - 30.08.2019:
Google Drive or here.
second beta release - 23.12.2018:
Google Drive or here.
first beta release - 11.12.2018:
Google Drive or here.
If you want root use the lineage addon package found here - download arm version.
Install it after flashing the rom or download your favourite root package and install it.
Sources
device
msm8916-common
vendor
kernel
Click to expand...
Click to collapse
FAQ
Here you will find some answers to common question which could arise.
Q: How to give root access to an app or adb?
A: First install the su extra package from Lineage OS or any other su tool you like. Then go into settings and about device, click there multiple times on the build number until you unlocked the developer options. Go to developer options and look for root access.
Q: There is no weather provider available to download for los-15.1 - what to do now?
A: Search for it here on xda or see this post or use this download link.
Q: I thing I found an issue, what to do now?
A: Do a logcat or grab a dmesg while having the issue, otherwise we can't say what is happening. Report as much info as possible. Quote your stock rom your device shipped with or which device variant you possess.
Click to expand...
Click to collapse
Thanks To/Credits
Code:
*aquaris-dev team
*aymende7
XDA:DevDB Information
Unofficial LineageOS 15.1 [OPM7.181205.001] P839F30, ROM for the ZTE Blade S6
Contributors
lightwars
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
Based On: LineageOS 15.1
Version Information
Status: Stable
Current Stable Version: OPM7.181205.001
Stable Release Date: 2019-08-30
Current Beta Version: OPM7.181205.001
Beta Release Date: 2018-12-23
Created 2018-12-11
Last Updated 2019-10-16
The end of the year is coming and some will have a christmas feast before. So this is a small christmas gift for you - LineageOS 15.1 aka Oreo for our phone. Have fun with it.
In my opinion it is better than nougat.
Thanks!!!
Tested and no issues found
Great Rom:good:
Files error
There is an issue with files or smth. Some apps can't get the files (all permissions are given)
d.alvick said:
There is an issue with files or smth. Some apps can't get the files (all permissions are given)
Click to expand...
Click to collapse
Check if your build.prop has "ro.sys.sdcardfs=false" or check with terminal or adb shell:
Code:
getprop ro.sys.sdcardfs
it has to be false.
I have read about some problems with that and found it not to be working at the moment, so I disabled it.
d.alvick said:
There is an issue with files or smth. Some apps can't get the files (all permissions are given)
Click to expand...
Click to collapse
It´s true, with other file manager different from the stock (Root explorer / ES Explorer) I cann't see the files in storage.
lightwars said:
Check if your build.prop has "ro.sys.sdcardfs=false"
Click to expand...
Click to collapse
I've added this key, everything is fine with that now, sdcard is visible for all apps. Also there is a well-known (?) bug with audio/video streaming from web. Playback can't be resumed if I pause it (HD YouTube videos or SoundCloud, for example)
d.alvick said:
I've added this key, everything is fine with that now, sdcard is visible for all apps. Also there is a well-known (?) bug with audio/video streaming from web. Playback can't be resumed if I pause it (HD YouTube videos or SoundCloud, for example)
Click to expand...
Click to collapse
Great that it could be resolved so fast. I will check, why the prop got not in or overwritten. For the second thing: I didn't know that, this is an android oreo thing?
lightwars said:
this is an android oreo thing?
Click to expand...
Click to collapse
Very similar error was in old LineageOS or miui builds for our device or in both of them, I don't quite remember. Tried it again just now, playback is fine... Maybe it depends on device's mood or smth with charging, but I can't repeat it
There are a few more bugs in build.prop. Our SoC is Snapdragon 615 (MSM8939), but you wrote MSM8916 (actually, this is Sd 410). This may not be very good due to the different architecture of these SoCs. Apps, such as the Xposed Framework, identify the phone as armeabi-v7 (32-bit), and in fact it is armeabi-v8 (64-bit). This can affect performance, so I will try to change these keys if there are no reasons why I should leave everything as it is
d.alvick said:
There are a few more bugs in build.prop. Our SoC is Snapdragon 615 (MSM8939), but you wrote MSM8916 (actually, this is Sd 410). This may not be very good due to the different architecture of these SoCs. Apps, such as the Xposed Framework, identify the phone as armeabi-v7 (32-bit), and in fact it is armeabi-v8 (64-bit). This can affect performance, so I will try to change these keys if there are no reasons why I should leave everything as it is
Click to expand...
Click to collapse
These are no bugs! There wont be an impact in performance. Go and look for a device tree which defines msm8939... The platforms msm8ôô916 and msm8939 aren't that different. Even qualcomm defines the values like this, have a look at the CAF. Some vendors habe a common device tree for both platforms, for example asus.
And the last thing the Hardware is 64bit, but the Software is 32bit,changing to armeabi-v8 will not make the Software be 64bit.
Works great so far. Thank you
PS: could unbrick my phone
Update in the OP. new beta release.
2nd beta is fine.
I've been using your LOS ROM's for a while, and there is a question I want to ask. Why do Gapps consume waaay too much battery? 15.1 with Gapps has really the least working time I've ever seen (about 3-4 hours screen-on), 14.1 is better a little (4-6 hours), so I have to charge phone twice a day. On MIUI9 and stock everything wasn't that bad. Now I'm trying 15.1 with no Gapps, and it seems a lot better, 2 hours screen-on and I still have about 60%. Internet is always on. I think Gapps do the thing, but why does working time vary from MIUI9 to 14.1 to 15.1? Or is my battery becoming dead?
d.alvick said:
2nd beta is fine.
I've been using your LOS ROM's for a while, and there is a question I want to ask. Why do Gapps consume waaay too much battery? 15.1 with Gapps has really the least working time I've ever seen (about 3-4 hours screen-on), 14.1 is better a little (4-6 hours), so I have to charge phone twice a day. On MIUI9 and stock everything wasn't that bad. Now I'm trying 15.1 with no Gapps, and it seems a lot better, 2 hours screen-on and I still have about 60%. Internet is always on. I think Gapps do the thing, but why does working time vary from MIUI9 to 14.1 to 15.1? Or is my battery becoming dead?
Click to expand...
Click to collapse
I try to answer your question, but I haven't any insight views or infos, should I could be barely wrong... Over time GApps have gotten more permissions ands task and also more GApps have been published. I think at first there was the syncing of contacts, calendar and sorts of thinks, than the geolocation services. Now we have backups or storage expansion through GApps and also tracking of your fitness, reading out sensor data of your phone. And maybe other sorts of thing, which should make your experience with a smartphone better, but also consums energy.
To emphasizes your feelings about GApps I attach a screenshot of my phone, you can see how often the google service triggers and alarm or wakeup in a span of some hours, roughly speaken every minute.
I stumbled across LKT, which should give you more screen on time. I have used it, but found mixed results. I also think that the battery optimization of 15.1 needs some time, but I could be also wrong.
At the moment I use the naptime app to get more usage, I'm afraid to say this will only help your device last longer, when not used in my opinion.
Hello, I need Help for my Blade S6 (AS version).
LineageOS 15.1 from this thread I do not work, i had a Boot-Loop by the Logo of Lineage ...
The Device will not start again, its only Start in TWRP!
I have tried to go back to CM12 who works before. No chance to get out of this problem ....
I have try to flash the stock-rom with is modifide for TWRP but the result is the same
Coud some one help me to save my phone to get out of the TWRP mode, please?
MouZ124 said:
Hello, I need Help for my Blade S6 (AS version).
LineageOS 15.1 from this thread I do not work, i had a Boot-Loop by the Logo of Lineage ...
The Device will not start again, its only Start in TWRP!
I have tried to go back to CM12 who works before. No chance to get out of this problem ....
I have try to flash the stock-rom with is modifide for TWRP but the result is the same
Coud some one help me to save my phone to get out of the TWRP mode, please?
Click to expand...
Click to collapse
Hi,
have you run the factory reset command from within the android settings menu?
So the device only boots the recovery, even if you select to start the system within TWRP, right?
In the TWRP terminal or from the adb shell with su permission you can try to reset all flags in the misc partition like so:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc
You can also back the partition beforehand to be sure, nothing breaks.
Hello lightwars,
thank you for your answer
lightwars said:
have you run the factory reset command from within the android settings menu?
Click to expand...
Click to collapse
No, the Device starts automatically into TWRP after Lineage OS 15.1 has the Boot-Loop
lightwars said:
So the device only boots the recovery, even if you select to start the system within TWRP, right?
Click to expand...
Click to collapse
Yes, i can select Reboot - System, then i see the ZTE-Logo with vibration and then start the TWRP short after this Logo...
If i tipped this Command in the TWRP terminal it shows an Error:
Code:
dd: can't open '/sys/block/bootdevice/by-name/misc' : No such file or directory
I try to go back to the old Partition-Layout and try to flash CM12.1, stock-rom B15 (modifide for TWRP), LineageOS 15... nothing works
I try TWRP 3.0.2 and TWRP 3.2.3
I try to flash CM12.1 with other Kernels with is Modified for CM12.1 from the other thread but it fails too...
What else could I do?
Screen if i install a zip
Wenn ich sys/block im File Manager öffne und mir ansehe sind nur loop0 - loop7, ram0 - ram15, zram0, mmcblk0, mmcblk0pmb, mmcblk1 dateien vorhanden
MouZ124 said:
Wenn ich sys/block im File Manager öffne und mir ansehe sind nur loop0 - loop7, ram0 - ram15, zram0, mmcblk0, mmcblk0pmb, mmcblk1 dateien vorhanden
Click to expand...
Click to collapse
Sorry, my bad. It is not in sys, it is dev so this is the correct command:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc

[ROM][Huawei][11][UNOFFICIAL] CAOS - Android 11 for Huawei device

C A O S [UNOFFICIAL]
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 (Custom AOSP OS) is a project which based on phhuson's Treble GSI AOSP 11. CAOS is a modified AOSP by eretemin which I modified to be compatible with Huawei hi6250 phones. I also provided several patches
Changelog :
CAOS 316 March 2022 version
March 2022 SPL
CAOS 315+ Febrary 2022 version
Febrary 2022 SPL
CAOS 315 January 2022 version
January 2022 SPL
Fix all storage/permission in social apps like instagram, messenger.
implemented Huawei IMS patches
added Seedvault app and option in Treble app for activating it
full fixes access for media files from some apps like WhatsApp or Telegram
backported changes from v400h device_phh_treble: All devices support unprocessed audio source
patch for gsicharger removed, should fix offline charger animation for some devices (need test)
volume dialog UI now follows rounded corners
added CAOS logo image
CAOS 314 December 2021 version
Initial build
Decembre 2021 SPL
Integrate NFC, Miracast/cast , Live Display patches
Add media patch (Fix "Error loading media" in social apps like instagram, messenger..)
Pre-requisite :
You must have TWRP installed, use this one (make sure to have the unofficial Android 11 one ! ).
Installation :
Download this file caos-v316-220321-arm64-iceows-huawei.7z:
go to TWRP
flash this file Huawei-Decrypt-Emui_8.zip to change mount data partition (disable FBE : FileBaseEncryption)
format data
reboot to TWRP again
do a full wipe (system, data, cache, dalvik/art cache) !
reboot to bootloader
extract the img from caos-v316-220321-arm64-iceows-huawei.7z
run: fastboot flash system <drag system.img here>
reboot to TWRP
resize system
(optional) flash patches :
1 - Google Apps lite : [RECOVERY]LiteGapps_arm64_11.0_v2.6_official.zip
2 - Enable AGPS : 7-AGPS-FIX-AltairVendor-v3.6-signed.zip
3 - If you are on EMUI 8.0.0.408 or sup : 8-Huawei-PRA-FixPreav-A-v1.1-signed.zip
reboot to System and set up the phone with Lineage first start assistant. You can also add most
reboot to System
(optional) install GCamGo (GoogleCamera_2.12.413042791.apk)
Enjoy !!!
Not Working :
Nothing
ROM OS Version: Android 11
ROM Kernel: Linux 4.4.x (stock 4.4.26 or Siberia_4.4.302-1.1.zip)
ROM Firmware Required: EMUI 8.0.0.360 ---> 8.0.0.402
Based On: Caos (eremitein)
Credits:
eremitein
And all the others who tested my patches and helped me improve this ROM
CAOS11 Project
GSI Treble patches. Included Phh, Andy Yan and my personal Treble works. You can using patches/solutions from here and from linked manifests (all or few my own) in none-commercial usage only and yo...
github.com
Support Group
reserved
Is there any specificity to this ROM ? I mean, compared to Lir and LeaOS you posted recently, or DotOS which is more about performance ?
Hykosit said:
Is there any specificity to this ROM ? I mean, compared to Lir and LeaOS you posted recently, or DotOS which is more about performance ?
Click to expand...
Click to collapse
CAOS , LiR, DotOS, crDRom etc. are AOSP GSI ROMs based on 'phhusson' sources, so the difference in performance, battery life, etc. is minimal. And all have some common bugs- VoLTE, native call recording, offline charging etc. If you like to take pictures, you will be disappointed with the camera...(btw, Footej camera 2-premium is a good enough replacement for gcam).
The main differences between these ROMs are in the customization options.
In my experience CAOS is faster, crDRom is customization monster, LiR is a perfect balance between battery efficiency, performance and the customization. As for DotOS, the previous version 5.1.3 was better.
hi Alf.
Indeed it is a good comparison of the different ROMs. For charging go to PHH trebble option and enable fastcharging to 4000ma. For the Volte it is in progress..., and for the camera I provide GCAM in addition
AltairFR said:
For charging go to PHH trebble option and enable fastcharging to 4000ma.
Click to expand...
Click to collapse
-Alf- said:
offline charging
Click to expand...
Click to collapse
AltairFR said:
I provide GCAM
Click to expand...
Click to collapse
try Footej 2-premium and you'll see what I'm talking about...
Thanks you two ! That's good stuff to know
AltairFR said:
For charging go to PHH trebble option and enable fastcharging to 4000ma
Click to expand...
Click to collapse
But won't this one harm the battery ?
-Alf- said:
try Footej 2-premium and you'll see what I'm talking about...
Click to expand...
Click to collapse
So I looked for this one, unfortunately the app was sell to an other company (ZipoApp), and seeing the recent opinions on google play the app was just monetized and the premium is now 10€ by damn week, and people fear for user privacy ... Smell like a bad story to me
Do you have any old apk, from before the acquisition ?
moriel5 said:
Disclaimer: I am a simple user, and am not affiliated with Semaphore or ZipoApps.
Recently, Footej Camera (or officially, Footej Camera 2) was bought by ZipoApps.
After seeing things like the buyouts of software like QuickPic or certain (legacy) parts of Nano Defender and the resulting consequences, naturally I was concerned with this, especially when ZipoApps's line of business is buying existing apps and monetizing them.
After some sleuthing, I managed to get the personal cellular number of ZipoApps's CEO, Alik Hochner (I am not going to divulge any more information about how and what was needed for this, to preserve his and other involved people's privacy), and I just spoke with him a few minutes ago.
While I am not completely reassured, due to not having experience with ZipoApps's history, he did strike me as someone who does want to be able to monetize apps while protecting user's privacy to the best of his abilities, though understandably limited by the tools the current market offers without being independent of the mass market.
Make of that what you will, I will continue to keep an eye on the matter, to see whether this turns out to be a turning point for such buyouts for the better or not.
Click to expand...
Click to collapse
from :
[Android 5.0+] Footej Camera 2 2021.5.6
Get it on Google Play A brand new, fascinating, user-friendly and robust camera app is here, ready to capture, orchestrate and give a new life to your best moments… *** If you have any problem or if you can't find manual controls, before give...
forum.xda-developers.com
Hykosit said:
Do you have any old apk, from before the acquisition ?
Click to expand...
Click to collapse
Yes, look here
-Alf- said:
try Footej 2-premium and you'll see what I'm talking about...
Click to expand...
Click to collapse
For my part I have no problem with offline charging. Can you describe the problem?
AltairFR said:
For my part I have no problem with offline charging. Can you describe the problem?
Click to expand...
Click to collapse
I suppose it was a question for me.
I was wondering if changing initial charging values could be harmful to the longevity of the battery as those are (i think) calibrated for specific values
AltairFR said:
For my part I have no problem with offline charging. Can you describe the problem?
Click to expand...
Click to collapse
On A/B GSI doesn't work at all (Kirin-devices).
-Alf- said:
On A/B GSI doesn't work at all (Kirin-devices).
Click to expand...
Click to collapse
Ok
Hykosit said:
So I looked for this one, unfortunately the app was sell to an other company (ZipoApp), and seeing the recent opinions on google play the app was just monetized and the premium is now 10€ by damn week, and people fear for user privacy ... Smell like a bad story to me
Do you have any old apk, from before the acquisition ?
Click to expand...
Click to collapse
Here is install this apk, it is modified:
- cleaned resources,
- disable wakelock,
- disable loging and analitics,
- enable premium version
AltairFR​GOOD work !!!
AltairFR​Hi Master. Please make ROM with all patches for a variety...
Nusantara_v3.2-11-arm64_avN-29082021-OFFICIAL-0849.img.xz
NusantaraROM - GSI
NusantaraProject ROM GSI (Generic system image ROM) For all devices with supported project treble.
www.pling.com
I have flashed this to Honor 8 frd-l19 (emui 8 device). Some problems have been tackled down now with help of dev, thanks to that. Apparently only things to do for now would be able to create misc folder at /data/misc and also credstore at /data/misc/credstore to be able to boot now.*1
Any ideas how to get those folders done? atm. I can access to phone via adb while phone stays at CAOS logo screen, maybe between 10-15mins.
I've tried to:
sudo adb root
adb remount rw, /data
which succees
then
sudo adb shell
cd data
mkdir misc
but get error
mkdir: '/data/misc': Read-only file system
I've also tried to install busybox at twrp*2, but using it via twrp terminal doesn't give su or sudo. When trying without su and just busybox mkdir /data/misc/ it seems to create one and I can even cd to it and create subfolder. After changing right permissions and using chown to those folders everytjing seems to be good. Sure twr doesn't show misc_ce and misc_de etc under data which were tegere when using adb.
Well no surprise that reboot habgs to CAOS logo and when xhecking via adb shell thete's no misc folder under data.
Can anyone give some tips how to be able to create those folders since I can't use adb via twrp or stock recovery. Also strange that when remounting /system as rw I can push & echo changes to there, but not able to create directories to /data after doing the same.
If someone can help, I will shere needed steps to get this running at Honor 8 frd, unless that will just revel next layer of problems.
*1 Device will boot to OS at first boot, won't boot after restart. So after logs there could b found reasons and now tried to fix those with help of dev and might be at the stage that to create folders just once again will be fix.
*2 I have found only 2 different twrp images, both at version 3.2.1-0 which are suitable for this device, others haven't work at all.
I don't have a solution but LiR build doesn't seem to have that problem. I could reboot many times on a hi3650 P9
huuhaa_tm said:
I have flashed this to Honor 8 frd-l19 (emui 8 device). Some problems have been tackled down now with help of dev, thanks to that. Apparently only things to do for now would be able to create misc folder at /data/misc and also credstore at /data/misc/credstore to be able to boot now.*1
Any ideas how to get those folders done? atm. I can access to phone via adb while phone stays at CAOS logo screen, maybe between 10-15mins.
I've tried to:
sudo adb root
adb remount rw, /data
which succees
then
sudo adb shell
cd data
mkdir misc
but get error
mkdir: '/data/misc': Read-only file system
I've also tried to install busybox at twrp*2, but using it via twrp terminal doesn't give su or sudo. When trying without su and just busybox mkdir /data/misc/ it seems to create one and I can even cd to it and create subfolder. After changing right permissions and using chown to those folders everytjing seems to be good. Sure twr doesn't show misc_ce and misc_de etc under data which were tegere when using adb.
Well no surprise that reboot habgs to CAOS logo and when xhecking via adb shell thete's no misc folder under data.
Can anyone give some tips how to be able to create those folders since I can't use adb via twrp or stock recovery. Also strange that when remounting /system as rw I can push & echo changes to there, but not able to create directories to /data after doing the same.
If someone can help, I will shere needed steps to get this running at Honor 8 frd, unless that will just revel next layer of problems.
*1 Device will boot to OS at first boot, won't boot after restart. So after logs there could b found reasons and now tried to fix those with help of dev and might be at the stage that to create folders just once again will be fix.
*2 I have found only 2 different twrp images, both at version 3.2.1-0 which are suitable for this device, others haven't work at all.
Click to expand...
Click to collapse
I have tried several roms on my honor 8 but It gets stuck with the logo ( Waiting for solutions

Categories

Resources