Oreo Port Need Help - Samsung Galaxy J5 Questions & Answers

So, I found a rom build by Source Code for Moto G4 Play and I want to port it to SM-J510FN. The thing is I must edit the Boot.img in order to make it boot so I learn about "Porting Boot.img" and I saw that you need to replace some files, one of them is "kernel" so I think that a kernel which work with this device and with this version of android is needed and the question is : "How can I make it possible? Should I port a kernel from another device or build it?".
I Think that if we can make it, it will be a big step in this device's development! :good:

Related

REQ rooted kernel 5.1.1 for Sm-t235 (source was published a month or two back)

sometime back this was posted
http://forum.xda-developers.com/showpost.php?p=63556533&postcount=135
unfortunately moonbutt closed his thread just when I and another member posted boot image etc on the board..understand he may have moved on to better things
not knowledgeable here but appreciate if someone can take this up or redirect this to some dev who can make a rooted kernel since the source has been published
thanks
SM-T237P
Would love to root my 5.1.1 tab , so I too would be begging for another developer to step in to fill this need. I need a kernel with UVC video support.
OKAY so now I know my posts were getting deleted when I asked for T235 kernel root
zitomd said:
Would love to root my 5.1.1 tab , so I too would be begging for another developer to step in to fill this need. I need a kernel with UVC video support.
Click to expand...
Click to collapse
yesterday or may have been on Sat night, on the T533 thread I tried to catch moonbutt's attention by pointing to the T235 source (when apparently he was saying the T533 had no source but was addressing that kernel) and now that post has gone like on his closed thread (just when it seemed he was taking an interest thanking me for providing boot.img and other files)
anyway...need some dev who can volunteer to work on this and at least someone who would respond yes or no (deleting posts maybe to avoid a side conversation)
I pulled the source started to look it up and looked up on how to modify kernel..looked doable to a point but this is from a total novice (all i know is to mod some apk, compile/re-compile but no building stuff)
mac231us said:
yesterday or may have been on Sat night, on the T533 thread I tried to catch moonbutt's attention by pointing to the T235 source (when apparently he was saying the T533 had no source but was addressing that kernel) and now that post has gone like on his closed thread (just when it seemed he was taking an interest thanking me for providing boot.img and other files)
anyway...need some dev who can volunteer to work on this and at least someone who would respond yes or no (deleting posts maybe to avoid a side conversation)
I pulled the source started to look it up and looked up on how to modify kernel..looked doable to a point but this is from a total novice (all i know is to mod some apk, compile/re-compile but no building stuff)
Click to expand...
Click to collapse
mac,
i had your post removed because it was interfering in H's thread. I tried with this device a little while ago but testers seem to think they are at liberty to not follow instruction, or just change their minds mid-stream like they haven't just wasted my time and resources. . The upside would be if you have the source and the setup to compile it and thereby test your own work then, i can absolutely run you through what you need to do, The tricky part is knowing which tools you need for the packing/unpacking of the ramdisk.
If this is a qcom/msm device you will need AIK which is the best solution.
If this is a marvell variant you will need ketut's degas bootimg toolkit which is the best solution.
You need [likely] to apply the patch mentioned in my thread to security/selinux/selinuxfs.c
Be aware that samsung's source releases are usually incredibly sloppy and the defconfigs for devices are usually somewhat off, missing config settings.
Check for sdcardfs xattrs, virtual xattrs, etc . you need to make sure those are selected in order for your internal and external storage to mount.
Find the correct defconfig for your device and post it as a zipped attachment. or check my thread and look at my sources on git, specifically the commit history [msm devices mostly] to get an idea of what you need. You can get a linux os running in a virtual machine and compile just fine as long as you have all the pre-requisites installed. The getting started link in my signature is a rough/general guide to help get you up and running.
m
ps, my thread is just locked, not closed, i was getting too many OT/non-dev postings. I open it when/if i have something new and then close it again.
thanks moonbutt74...totally understand...appreciate the links in your signature and other resources...will start looking into it (long long journey but gotta try)
mac231us said:
thanks moonbutt74...totally understand...appreciate the links in your signature and other resources...will start looking into it (long long journey but gotta try)
Click to expand...
Click to collapse
mac,
no prob, recommended step 1, get your linux distro set up, stongly recoommend kali/debian 2.0, either in vm or better as 2nd os in a dual boot scenario.
m

[DEV][WIP] CyanogenMod 13 for LG-P490L/V490 [no boot][need help]

Cyanogenmod for P490L/V490 Thread
hello i'm working on Cyanogenmod for P490L/V490, and i have LG-P490L (V490's LTE model for korea)
i ported cyanogenmod 13 from v410's offical source
and i got many soft brick and hard brick
and here is first build, but this rom will make your device brick!
so please help to make this rom bootable
I think we can modify ramdisk via Android Image Kitchen and this fix will make bootable (or need for change device/vendor source)
this rom will work only for LG-P490L,
and i will build for V490 soon
so please don't flash P490L's rom on V490,
and here is device/vendor/kernel source for devs
Device source for p490l https://github.com/nazunamoe/android_device_lge_p490l
Device source for v490 https://github.com/nazunamoe/android_device_lge_v490
Device source for v4xx https://github.com/nazunamoe/android_device_lge_v4xx-common
Kernel source https://github.com/nazunamoe/android_device_lge_v490 <- this source needs dtb from your device
Vendor source https://github.com/nazunamoe/vendor_gpad8.0
sorry for dirty(?) git
and here is alpha build for P490L
THIS ROM WILL MAKE YOUR DEVICE BRICK! AND YOU NEED FLASH KDZ AFTER FLASHING THIS ROM FOR UNBRICK AND YOUR DATA WILL ALL LOSS!
https://mega.nz/#!fs8VBAYT!VMINRZ1QsJe1JYXGvmfaHfsmpINba_XXIvk6UogboVY
please help me great devs from xda!
​
2015/12/14 build
ok i built 2015/12/14
i modified some ramdisk, but it doesn't boot
but i can see partitions at ubuntu! (in 12/13 build i can't see that)
rom for v490 users
all same but just for v490
i don't know it works (i think same as for p490l)
you will meet fastboot screen after flashing this rom
but you can flash kdz via download mode to unbrick tablet
and here is download link
https://mega.nz/#!jg1DRYwB!Qgp3FM3imVO3n7w-QXPckPLBHlRgb-Ojw9EkHEIiGrQ
please help me
jpg3927 said:
all same but just for v490
i don't know it works (i think same as for p490l)
you will meet fastboot screen after flashing this rom
but you can flash kdz via download mode to unbrick tablet
and here is download link
https://mega.nz/#!jg1DRYwB!Qgp3FM3imVO3n7w-QXPckPLBHlRgb-Ojw9EkHEIiGrQ
please help me
Click to expand...
Click to collapse
downloading
will give logcat after flashing. i don't know to resolve it but it can help a bit
---------------------------
done flashing, yes it isn't working. screen flashing continuosly, can't get logcat...
medkintos said:
downloading
will give logcat after flashing. i don't know to resolve it but it can help a bit
---------------------------
done flashing, yes it isn't working. screen flashing continuosly, can't get logcat...
Click to expand...
Click to collapse
thanks for your testing
One boob question? You want to build Cyanogen 13 for LG g pad v490? Because our tablet have Android version 5.0.2 and cm13 is Android 6.0. Not booting because of kernel which is build for 5.0.2. You will need the proper kernel. I think! Or, you must modify boot.img. Here is a link how to do that.
http://www.osbusters.net/2015/11/how-to-port-miui-7-rom-to-qualcomm-smartphones.html?m=1
Try port this first.
How can i help you? I have lg g pad v490 I want cyanmogenmod in this tablet
He need help in making cyanogen work on v490. Till now the rom is built but not booting. Need some changes in boot.img or kernel. Can you help him? I ported only for mtk devices. I dont know is the same way.
I'm new in this,but is difficult to make this, i try to port but nothing got
V490 has approximatly same specs like v410 lg g pad 7 withvsome minor differences. Porting cm is not to easy but for noobs is easier than build from source. I've yried to port flyme, miui, colorOS for this device but no boot only black screen.
jpg3927 said:
all same but just for v490
i don't know it works (i think same as for p490l)
you will meet fastboot screen after flashing this rom
but you can flash kdz via download mode to unbrick tablet
and here is download link
https://mega.nz/#!jg1DRYwB!Qgp3FM3imVO3n7w-QXPckPLBHlRgb-Ojw9EkHEIiGrQ
please help me
Click to expand...
Click to collapse
the approach should be:
1. what version is on the device?
2. port same version aosp
3. upgrade version
so if your device is already running android 5
try porting cm12.1 and then upgrade to cm13
http://opensource.lge.com/osSch/list?types=ALL&search=v490
this is the kernel for v490
Really hoping you geniuses get something other than stock running on this tab. It has tons of potential. Anyone reach out to the CM team for help?
Any breakthroughs on this?
CM for v490: http://just.pro.br/blog/2016/12/21/v490-joined-party/

Thinking to port a rom from Op3, have some questions!

Before i download a rom of op3 with my 90kb/s net. I need some instructions.
I'm thinking to port a rom from oneplus 3, since OP2 and OP3 have same screen res and both are arm64 so it shouldn't be that complicated, right?.
1: is it okay to port a rom from OP3 to OP2?
2 How many of you have ported any rom? Does it really works?
3: Do i have to ask permission from the owner to port or i can give credits to him and link to his Original thread?
I've some more questions but not coming in my mind, hope that my above questions get answered so i may think to port a rom from op3 to op2.
Thanks.
chetan_1215 said:
Before i download a rom of op3 with my 90kb/s net. I need some instructions.
I'm thinking to port a rom from oneplus 3, since OP2 and OP3 have same screen res and both are arm64 so it shouldn't be that complicated, right?.
1: is it okay to port a rom from OP3 to OP2?
2 How many of you have ported any rom? Does it really works?
3: Do i have to ask permission from the owner to port or i can give credits to him and link to his Original thread?
I've some more questions but not coming in my mind, hope that my above questions get answered so i may think to port a rom from op3 to op2.
Thanks.
Click to expand...
Click to collapse
As i know if port rom,, device need same cpu,,
Why not building rom from source?
Droidcore said:
As i know if port rom,, device need same cpu,,
Why not building rom from source?
Click to expand...
Click to collapse
Oh! That's why it didn't boot when I tried to mix op2 RR and op3 Pac man. They both have different cpu.
Google nexus 6p won't work maybe, since it have different resolution.
Droidcore said:
As i know if port rom,, device need same cpu,,
Why not building rom from source?
Click to expand...
Click to collapse
And as per building from source, I don't have that much knowledge about these stuffs. So it's pretty impossible for a noob (newbie) to make from source.
Resolution d' not affect porting.. Btw if u want to port some stuff check out yu forum "annabathina " is the dev who port different ui for yu phone..."
Edit: i also know porting but only in mediaktek phones snapdragn never tried cz lake of linux
---------- Post added at 03:55 AM ---------- Previous post was at 03:29 AM ----------
N if u want to port cm base rom u can try this btw..
Take cm oneplus2 as a base rom
Take any cm rom u want to port(port)
Now delet app,framework,priv app,media,font from base rom
Copy all this folder from port to ur base rom folder
2. Copy lib and bin from port to stock but remember dont replace it .(means only copy xtraa files from port or keep base rom libs as it is)
3.replace storagelist.xml from base rom to port rom framework which u copied in base( framework res apk)
4.zipp ur base again and try to flash
neelsolanki said:
Resolution d' not affect porting.. Btw if u want to port some stuff check out yu forum "annabathina " is the dev who port different ui for yu phone..."
Edit: i also know porting but only in mediaktek phones snapdragn never tried cz lake of linux
---------- Post added at 03:55 AM ---------- Previous post was at 03:29 AM ----------
N if u want to port cm base rom u can try this btw..
Take cm oneplus2 as a base rom
Take any cm rom u want to port(port)
Now delet app,framework,priv app,media,font from base rom
Copy all this folder from port to ur base rom folder
2. Copy lib and bin from port to stock but remember dont replace it .(means only copy xtraa files from port or keep base rom libs as it is)
3.replace storagelist.xml from base rom to port rom framework which u copied in base( framework res apk)
4.zipp ur base again and try to flash
Click to expand...
Click to collapse
I tried this method.
I took RR as base for op2 and Pac man of op3 as port.
I tried all the following methods. Everything is well and good till flashing, but when I try to go in system it just stuck in Oneplus boot image and then force me into recovery.
build from source dude.. Dont flash anything you find or make do you want a hard bricked device?
suraj.das said:
build from source dude.. Dont flash anything you find or make do you want a hard bricked device?
Click to expand...
Click to collapse
I'm not quite sure about these stuffs. I don't know how these stuffs work so I thought to start with porting roms. And hard brick is still okay for me, gone through many times, easy to recover.
Watched number of videos on YouTube, I also tried to make Virtual Linux on my pc. But didn't work.
Best way to start is dualbooting linux on your PC and following a guide on how to compile rom.
this here should be just fine https://raw.githubusercontent.com/nathanchance/Android-Tools/master/Guides/Building_AOSP.txt
just download the source of the ROM you want to compile. [The source is around ~20GB so be patient]
PM me if you hit a deadend
suraj.das said:
Best way to start is dualbooting linux on your PC and following a guide on how to compile rom.
this here should be just fine https://raw.githubusercontent.com/nathanchance/Android-Tools/master/Guides/Building_AOSP.txt
just download the source of the ROM you want to compile. [The source is around ~20GB so be patient]
PM me if you hit a deadend
Click to expand...
Click to collapse
Thanks buddy, but i can't do this unless I get a new stable high speed net. 20gb with my current speed will take me around 4 days and if sometime the net went down then again ill have to download the whole file. I will try to make request to my dad about this.

[Newbie Friendly] Guide to Port Mediatek Roms With boot.img Porting From Beginning

Hey Guys ,
I am making this thread to share you guys the method to Port MTK roms to your device .I have tested this on mt65xx series and it works FINE .
Many of my friends stopped mtk development and i think its time for new guys to start their work to keep the community growing on XDA apart from fb groups. :highfive:
IMPORTANT :TRY THIS ONLY IF YOU KNOW HOW TO RECOVER FROM BOOTLOOP AND BRICKS.And Ofcourse Try these at Your Own risks beacuse No one will Take Any Responsibility if Anything Happens to You Or Your Device or If you fail your Exams or If you Lost your Job or whatever
FOR PORTING BOOT.IMG YOU NEED ANDROID KITCHEN SOFTWARE , I WILL ALSO GUIDE YOU HOW TO INSTALL IT So Lets Begin.
1.Install android kitchen On windows PC :angel:
(For porting boot.img ,skip this if you are porting same kind of rom so you can copy the orginal boot without modifying!, read bottom for more info)
Youtube LInk In case if you need : https://www.youtube.com/watch?v=4SZpOluF7lg&t=9s
2.PORTING BOOT.IMG
(For porting boot.img ,skip this if you are porting same kind of rom so you can copy the orginal boot without modifying!, read bottom for more info)
Youtube Link Incase if you need : https://www.youtube.com/watch?v=o8W6QI6GbNw&t=20s
3. How to port SYSTEM FOLDER /THE ROM (FINAL STEP IN BOOTING)
LINK TO VIDEO INCASE YOU NEEDED :https://youtu.be/_omTFoh1Y3c
Hit the Thanks button if i helped you in any way ! that makes me a lot happy
Also if you have any issues Comment Below i will try my maximium to help you resolving
IF YOU LIKE PLEASE DO SUBSCRIBE THE CHANNEL BECAUSE IT WILL ENCOURAGE ME TO MAKE MORE VIDEOS FOR YOU!
reserved

Development of Android 8 ROM

Hey all you Sharp 306sh users!
I love this phone and decided to start a ROM port to Oreo 8.0.0!
To date here's what i got
1. Device tree built
2. ASOP stock rom built successfully
Here's what I need to get done next
1. Access bootloader to flash images
2. Test for vendor blobs needed so I can make the vendor tree (if required)
Your help on this would be greatly appreciated as I am just getting my feet we in this process, this is a great phone and I would love to see it updated.
Please let me know if you are interested in helping with this project!
Edit 8/6/2018: Device tree is on Github,
https://github.com/RobertCC18/sharp-306sh-rom
More to come once kernel is built!
Edit 10/12/2018:
I am uploading the first test build so I can get some help with the debug. THIS ROM IS GETS STUCK AT THE SHARP BOOT LOGO AND IS NOT READY FOR PRODUCTION DEVICES!!!!
That being said, any help and logs that you can send are greatly appreciated.
This zip can be flashed through TWRP, check the downloads section
XDA:DevDB Information
Android 8 Rom [stock], ROM for the Sharp Aquos Crystal
Contributors
RobbotCC
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
Based On: AOSP
Version Information
Status: Testing
Created 2018-07-15
Last Updated 2018-10-12
Great! I´ve got a 306SH model, i can be a tester... waiting for your first zip :highfive:
Awesome.
I tried this exact same thing before, but gave up soon after I couldn't diagnose what stopped my device from booting with my custom ROMs, as I could never find the logs.
It looks like you're making more headway than me, so I'd love to test it, or even just help out.
Keep on going! A GitHub would be great progress.
Update 7-4-18
Update - 7/24/2018
Recompiling Kernel with debug drivers included - current compiled kernel missing RAM Console support
Github repo coming soon!
Great! Always wanted a custom room on this phone. I can test it and try it out too
Good progress.
Make sure to keep us updated, once you have a GitHub repo, development should speed up.
I'm sure there are a few techies with this phone that would love to contribute to your ROM, myself included.
By the way, you said ASOP instead of AOSP in the original post.
Rhioun said:
Make sure to keep us updated, once you have a GitHub repo, development should speed up.
I'm sure there are a few techies with this phone that would love to contribute to your ROM, myself included.
By the way, you said ASOP instead of AOSP in the original post.
Click to expand...
Click to collapse
Thanks, whoops on the typo!
Been busy with work but hoping to upload device tree, kernel base and current build, waiting for kernel to finish building with RAM console drivers.
Update 8/6/2018
Github Created
https://github.com/RobertCC18/sharp-306sh-rom
Device tree is added, kernel coming soon!
About accessing the bootloader to flash images, I believe we've done this before.
Tewilove, the man behind rooting the 306SH managed to access it, and made a custom one to flash, if I do remember correctly.
https://forum.xda-developers.com/aquos-crystal/general/temp-root-306sh-t3129456
Worth a look.
No development in a while. We all hope you're still there.
I visited the Github and just found it to be text files and folders. Could you possibly post the WIP kernel or other vendor blobs on there,
so we have at least a basis to begin work on?
Thanks,
This is an amazing idea. My 306SH is rooted and ready for action.
Rhioun said:
No development in a while. We all hope you're still there.
I visited the Github and just found it to be text files and folders. Could you possibly post the WIP kernel or other vendor blobs on there,
so we have at least a basis to begin work on?
Thanks,
Click to expand...
Click to collapse
Yes I am still here and working on this, just haven't had much time lately. I will try to get the kernel and vendor blobs up within the next few days
Been waiting for a custom ROM for this phone. I'm ready to test it
Any update on the development of the ROM??????
Any progress?
Status Update
dzvxo said:
Any progress?
Click to expand...
Click to collapse
Hey everyone,
Sorry for the delay in development but I hit a major snag with the kernel build and am still working on overcoming it. The needed defconfig is missing so I found one that should get us close, at the very least it should allow us to see the RAM debug messages on boot failure.
Also, my internet has been to slow to upload the kernel to github but I have an upgrade and should be able to get it uploaded within the next couple days.
Please share any information that you find regarding this phone here on XDA and beyond, any info you can provide will help me get this up and running faster!
Hey, how's everything going? Any luck?
What's up with it?
Hey All,
Sorry for the delayed responses, this phone seems to be a lost cause. But I am not a quitter lol!
I am hopeing to get back into the swing if things here in the next few weeks and will post more updates and files here shortly
Current problems:
No debugging enabled
Kernel needs patched to support Android 6+
We wish you the best of luck!

Categories

Resources