Custom kernel for Lineage OS 14.1 - Verizon Samsung Galaxy S 4

Is there any different kernels out there that I can use with Lineage OS 14.1 on a Verizon Samsung Galaxy S4 MDK? I was trying to flash Magisk and kept getting an Error1 message (see attached recovery log). I was told the following in the Magisk forum:
"Your device isn't compatible with Magisk, simple as that. Or rather, the boot image isn't (unknown ramdisk format). Try v14.3 beta, something might have updated. If that doesn't work, upload your boot image file and maybe @topjohnwu can take a look at it. It's also possible that a custom kernel that replaces the ramdisk could fix it. But that would be a question for your device's forum"
If there are any kernels other than the one that comes with the ROM which I can use (can I use those for the i9500?), please let me know where I can find them. Thanks much!

Joe_6pak said:
Is there any different kernels out there that I can use with Lineage OS 14.1 on a Verizon Samsung Galaxy S4 MDK? I was trying to flash Magisk and kept getting an Error1 message (see attached recovery log)...
Click to expand...
Click to collapse
Your best bet is to take a look at and, if needed, post this question within the following thread.
https://forum.xda-developers.com/showthread.php?t=2297370
Good Luck!
EDIT: Here's a few more threads that may also be of help to you:
https://forum.xda-developers.com/showthread.php?t=3395833
https://forum.xda-developers.com/showthread.php?t=3436993
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Related

Any working recovery for X?

(I'm doing my best to keep the colorful language at bay but I've spent the last 3 hours trying to work around the reflashing... I messed up one file.... which gave me bootloops. So I thought I could replace the file in fastboot. But little did I know about that.
Xperia X Performance has what we need. A working official recovery. Is it that hard to implement that for our X? Imagine if I had only ADB available. I would've pushed the file I messed up within minutes.)
Apparently there are unofficial builds.... Sorry for the commotion. 've gotten used to official builds and lots of XDA posts on my previous devices that I forgot to check for unofficial builds. I should try them... At least for ADB
Can someone tell me which is working for MM - stock sony? I don't want to loose the DRM fix, etc. I don't need it to be fully functional - just the basics - flashing zips, ADB commands, etc.
Thank you!
maybe your question should have been "we need an official custom recovery".
because if you looked into development section, you would have found:
https://forum.xda-developers.com/xperia-x/development/rom-aosp-sabermod-t3546742 (link for TWRP, follow)
https://forum.xda-developers.com/xperia-x/development/romubxperia-poison-v1-0-xx-f5121-5122-t3525884 (link for TWRP, follow)
i never tried them, they're not "official" builds but they'll likely work.
carlo93 said:
maybe your question should have been "we need an official custom recovery".
because if you looked into development section, you would have found:
https://forum.xda-developers.com/xperia-x/development/rom-aosp-sabermod-t3546742 (link for TWRP, follow)
https://forum.xda-developers.com/xperia-x/development/romubxperia-poison-v1-0-xx-f5121-5122-t3525884 (link for TWRP, follow)
i never tried them, they're not "official" builds but they'll likely work.
Click to expand...
Click to collapse
S***.... I've gotten used to official builds and lots of XDA posts on my previous devices that I forgot to check for unofficial builds. I should try them... At least for ADB
Thanks a lot anyway although Are these recoveries for MM as well?

how to edit a custom rom zip file ?

hi,
I have a Redmi note 4. I wanted to customize the lineage 15.1 rom . how do I replace the system apps with the ones I want, like the camera app, Gallery app, launcher and phone app. I tried to delete the apks and then add the new apks but after flashing it did not work. Is there a way to replace the system apps, change the icon layout on the home screen and changing a few settings in the base rom zip file ? Other similar threads suggested using Android kitchen tools, but I'm not familiar with the program
linux-mint said:
hi, I have a Redmi note 4. I wanted to customize the lineage 15.1 rom...
Click to expand...
Click to collapse
I've never done this before but, I believe that one or more of the following threads are for performing this type of modification. Don't be afraid to ask for some member guidance/clarification within one of them too.
https://forum.xda-developers.com/showthread.php?t=3125907
https://forum.xda-developers.com/showthread.php?t=3067153
https://forum.xda-developers.com/showthread.php?t=3554854
https://forum.xda-developers.com/showthread.php?t=3779833
https://forum.xda-developers.com/showthread.php?t=3616040
There's others on the forum but, these should help give you a good start.
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Bear in mind that if you want to change things like the camera, you will have to change .so files, some binaries and maybe make framework adjustments

Cedric TWRP Flashable Oreo

Hi folks, I'm here from the potter (G5 Plus) forums. For potter, I create the TWRP flashable builds of the stock rom. Whilst I'm waiting for the official Oreo for potter, I decided I'd have a go at creating a TWRP flashable build of Oreo for cedric. So here it is....
A few things to note about this:
Bear in mind that I don't have this device, so can't test it. The usual disclaimer applies a.k.a. try at your own risk.
Think of this as a custom rom that happens to be just like stock
It will install the updates to most partitions, except bootloader-related partitions and the partition table. The full list of updated partitions is:
modem
fsg
dsp
boot
system
oem
It does not include the commands to erase modemst1 or modemst2. Experience from the potter forums tells me that it is safest to leave those out, for the few that never backed up their EFS and / or Persist.
Normally I would disable dm-verity and forced encryption of the data partition, but I didn't this time - 1) I wanted to make sure it was bit-perfect with what you'd get with the normal OTA (aside from bootloader updates), and 2) I don't actually believe dm-verity is enforced in this build (although I could be wrong). I was wrong!
The second soak test uses the aroma installer. Much of the above is selectable, and I have managed to work out how to disable dm-verity and force encryption.
Refer to my Potter Oreo thread in the references below for further information. There is a good description and FAQ, much of which will apply to Cedric as well.
So how did I do it?
I used the key files from the OP of this thread:
[STOCK][OREO] Upgrade to Official Stock Oreo 8.1.0
I used the fastboot flashable of 137-93-2 to create an initial TWRP flashable zip, then applied the OTA over the top of the previously created zip (it's complex, but I have a guide on how to do it, one needs to be pretty adaptable on this one).
What you should do
Back up your phone - especially your data, EFS and Persist.
Clean flash vs dirty flash? Not sure, I don't have this device so don't really know. If you were on stock, a dirty flash may work, try clean if it doesn't. If you've come from a custom rom, clean flash is mandatory.
Going back to Nougat or Custom Roms / Problems with fingerprint
The stock Oreo roms update many of the files that are used for functionality such as fingerprint, connectivity, etc. These files are, in many cases, incompatible with stock Nougat and custom Oreo roms. Furthermore, a normal flash (of a custom rom) does not update these files. In order to safely downgrade, it is best to fully downgrade to stock Nougat. If you then wish to install a custom rom, do so after.
A TWRP flashable build of stock Nougat is available in these folders:
https://www.androidfilehost.com/?w=files&flid=280563
https://www.dropbox.com/sh/jwhbwo4kgim67hk/AAAREEIvVxTNq4VJtsL1BWLEa?dl=0
Problems with lost IMEI, missing VoLTE functionality, or no 4G?
As I state above, I haven't got this device, but I have found the underlying cause in potter. If you suffer from any of those issues, please send me a private message if you are willing to try something to restore. One word in advance - if you don't have your own persist partition, you're probably screwed
Links
All files for cedric will be placed here:
Android File Host
Dropbox
Developer help
If any developer out there is interested in maintaining this project, feel free to message me.
References
Here are the relevant threads of mine from the potter world, as I only own a potter (G5 Plus). Much of the information in these threads is applicable to cedric as well. To state the obvious, don't flash any of the linked files on your cedric device.
Creating TWRP Flashable Stock Roms
[Oreo]TWRP Flashable Stock Roms
[Nougat]TWRP Flashable Stock Roms
Fix Persist, resolve IMEI=0, Explanation, Requirements
XDA:DevDB Information
TWRP Flashable Oreo, ROM for the Moto G5
Contributors
NZedPred
ROM OS Version: 8.x Oreo
Based On: Stock ROM
Version Information
Status: Stable
Created 2018-08-11
Last Updated 2019-06-04
Reverting back to stock Nougat
Just a note about reverting back to stock nougat. As Oreo changes permissions on some key files and folders, you may get an issue of your IMEI becoming 0. In order to resolve this, you can do one of the following:
Download and install this zip through TWRP:
cedric-stock-nougat-persist-fix.zip
Execute the following commands within stock Nougat:
Code:
su
chown -R rfs:rfs /persist/rfs
chown -R rfs:rfs_shared /persist/hlos_rfs
Then reboot.
The TWRP zip does the same thing as the code.
Reserved
For potter or cedric?
Kdemwa said:
For potter or cedric?
Click to expand...
Click to collapse
This is for cedric. I'm just stating that I'm a potter user, don't have a cedric device, but they're similar, and I can contribute
Everything works very well, battery life will be tested, it would be great if someone debloated it, thanks by the way!
---------- Post added at 02:18 PM ---------- Previous post was at 01:55 PM ----------
I made a short youtube video to show how the rom works, but cause i'm new here, it won't let me post links, so the title is "Moto G5 (2017) Flashable Oreo Stock Rom".
Sorry if I can not ask you this, you can do this for the G5s plus (sanders)
in my cedric worked perfectly thanks
topkee said:
Everything works very well, battery life will be tested, it would be great if someone debloated it, thanks by the way!
---------- Post added at 02:18 PM ---------- Previous post was at 01:55 PM ----------
I made a short youtube video to show how the rom works, but cause i'm new here, it won't let me post links, so the title is "Moto G5 (2017) Flashable Oreo Stock Rom".
Click to expand...
Click to collapse
Great, thanks for letting me know it all works. I'll check out your video.
jakson7474 said:
Sorry if I can not ask you this, you can do this for the G5s plus (sanders)
in my cedric worked perfectly thanks
Click to expand...
Click to collapse
I could do it if I had the right files. I'd need either the fastboot image for Oreo if available. Or, the fastboot image of the version prior to the Oreo OTA, and the Oreo OTA. If there's a thread that has those, pass it on to me and I'll have a look.
Sorry for asking but which twrp version i should use to flash this ROM 64-bit or 32-bit
Is the speaker bad like the other Oreo updates ? It seems to be the only problem about those updates if you read the other threads.
Working great, thank you
basem bebarse said:
Sorry for asking but which twrp version i should use to flash this ROM 64-bit or 32-bit
Click to expand...
Click to collapse
If one of the other successful users doesn't reply, I'd be looking at a 32 bit TWRP. I'm pretty sure that the rom is 32-bit (again my disclaimer, I don't actually own the device).
I had 64bit twrp installed, idk if 32bit works
Just flashed and working like a charm! Very good job @NZedPred. The only problem is the bad quality of the loudspeaker. Is there something you can do to make it better?
merlinolillo said:
Just flashed and working like a charm! Very good job @NZedPred. The only problem is the bad quality of the loudspeaker. Is there something you can do to make it better?
Click to expand...
Click to collapse
This is a completely stock rom, with no modifications at all (apart from the bootloader files being left untouched, and it's highly unlikely that has any impact on the operational side of your device). So this is what it is like for the Oreo soak testers as well. If there was another update to the soak test that happened to fix it, I'd need the OTA for that, but that would rely upon people on the soak test to capture the OTA(s).
i installed this ROM, but the "moto display" don’t show me messages (messenger, WhatsApp, etc). Does anyone have the same problem?. how can I solve that?
For me it works normal.
I went back to linage os 14.1 and i have a huge problem, fingerprint scanner doesn't show in settings or anywhere, therefor i can't accses it, anybody know the solution, or did someone have this issue?
topkee said:
I went back to linage os 14.1 and i have a huge problem, fingerprint scanner doesn't show in settings or anywhere, therefor i can't accses it, anybody know the solution, or did someone have this issue?
Click to expand...
Click to collapse
You will go back to Lineage 14.1, remove your firgerprints registers and unblock screen block, and go to Oreo. I had this problem. (sorry my english)
---------- Post added at 12:25 PM ---------- Previous post was at 11:55 AM ----------
It works normal for me. Good work, Thank you!
jonatas.matsunaga said:
You will go back to Lineage 14.1, remove your firgerprints registers and unblock screen block, and go to Oreo. I had this problem. (sorry my english)
---------- Post added at 12:25 PM ---------- Previous post was at 11:55 AM ----------
It works normal for me. Good work, Thank you!
Click to expand...
Click to collapse
I didn't understand that.. Sorry, can you write step by step instr. or something?

Need help to start Android Engineering

I am completely new to Android Engineering and want to learn it. Till now, I have tried building aosp oreo from repo. It is built successfully but I don't know about the use of all the folders that are downloaded by the repo. What is the use or importance of each folder in repo? Where can I learn more about this?
I have also modified my stock firmware (only removed some bloatware apps) and rebuilt the firmware. I haven't installed it yet. I used android kitchen which helped me with signing the zip but I am afraid the signature might be for testing and not the official vendor signature. I have phone with unlcoked bootloader but it's still on stock recovery. According to my knowledge, unlocking bootloader helps us to flash unofficial files but people at XDA say that we should also have custom recovery to flash custom ROMs. Should I flash the modified ROM built by me in device with stock ROM and unlocked bootloader?
My device doesn't have official TWRP support. How can I port recovery or build it from scratch for my phone?
Also, I have only modified stock ROM and need to learn porting ROMs like porting MIUI for my device. How can we port ROMs?
Sorry for asking all these at once but I tried getting answer one after another which confused me a lot. I am a noob in this field.
I read XDA thread of TWRP developer which included a guide on how to build TWRP for any device. But as the author said, that post wasn't for noobs. Maybe I need to learn a lot before I reach that level of understanding. But I don't know what to learn and from where. Please help..
And one last thing - What is a device tree? Or vendor tree? I saw these words many times when I was trying to understand the above things. But I still don't know what these are and Google doesn't help. Thank you everyone..
Hi
there is this section here https://forum.xda-developers.com/android/software
you`ll find some sticky threads of the top with plenty of info , have a look !
you may also use search and type XDA University , it will reveal also some useful links
Good luck !

Lineage & Lightrom Rom's on Samsung Galaxy Note 8

Hey guys, I hope all are doing fine.
I'm wondering guys if there is any way to get an official Lineage OS rom for Samsung Galaxy note 8!!
All that I found are the unofficial one's and I don't know if it is safe to use or not!
Another thing is the Lightrom OS that I found in our site here, but I found those two things, which are Rom and Kernels!
Should I install both of them or only the Rom enough to do the whole thing, I mean it will also install the Kernel too!
Those were my thoughts and questions, appreciating your helps in this, and thanks in advance
Ziezo said:
Hey guys, I hope all are doing fine.
I'm wondering guys if there is any way to get an official Lineage OS rom for Samsung Galaxy note 8!!
All that I found are the unofficial one's and I don't know if it is safe to use or not!
Another thing is the Lightrom OS that I found in our site here, but I found those two things, which are Rom and Kernels!
Should I install both of them or only the Rom enough to do the whole thing, I mean it will also install the Kernel too!
Those were my thoughts and questions, appreciating your helps in this, and thanks in advance
Click to expand...
Click to collapse
I doubt we will see Official Lineage OS as it requires too much work and the developer does not have the free time. The source code is posted on the thread so if there was anything dodgy in there someone would pick up on it, especially by now. Lineage 17.1 does get monthly builds for the security patches via OTA. If you're interested in flashing it you can get the latest builds here - https://images.stricted.net/lineageos/greatlte/
I can't comment on Lightrom as I believe there are a number of Lightrom's and I'm not sure to which one you refer to.
Thank you so much, I really appreciate your kindness reply, I will see about the lineage, it is the one I trust in more in terms of open source Roms.
As for the Lightrom and my question about it, it could come on any other Rom, I mean in general if there's a Rom and a Kernel should I install them both or only will do the whole work (I mean by that it will install both Rom and a Kernel in a single installation process), in which I doubt, but just want to make sure, because it's my first time thinking of installing custom kernel.
Ziezo said:
Thank you so much, I really appreciate your kindness reply, I will see about the lineage, it is the one I trust in more in terms of open source Roms.
As for the Lightrom and my question about it, it could come on any other Rom, I mean in general if there's a Rom and a Kernel should I install them both or only will do the whole work (I mean by that it will install both Rom and a Kernel in a single installation process), in which I doubt, but just want to make sure, because it's my first time thinking of installing custom kernel.
Click to expand...
Click to collapse
Happy to help.
When you flash a rom it will flash the kernel too at the same time.

Categories

Resources