Android Samsung ROM development - General Questions and Answers

Hi guys,
This is probably a question for those who have some experience in building ROMs for Samsung devices. I have a Samsung Galaxy Core Prime LTE (SM-G360F) an tried to build a cm12.1 ROM. I was kinda successful - flashed without trouble with the build CM recovery, but it didn't want to boot. I got an error saying "Kernel is not SEAndroid: enforcing" (I was using the open source kernel form Samsung), so I looked through the stock ROM to look if there are some files that may be helpful, but didn't really find anything. Those of you who have worked with Samsung ROMs: is there anything additional that has to be done to the ROM so it can boot? Some kernel files or does it have to be signed somehow?

wasowski02 said:
Hi guys,
This is probably a question for those who have some experience in building ROMs for Samsung devices. I have a Samsung Galaxy Core Prime LTE (SM-G360F) an tried to build a cm12.1 ROM. I was kinda successful - flashed without trouble with the build CM recovery, but it didn't want to boot. I got an error saying "Kernel is not SEAndroid: enforcing" (I was using the open source kernel form Samsung), so I looked through the stock ROM to look if there are some files that may be helpful, but didn't really find anything. Those of you who have worked with Samsung ROMs: is there anything additional that has to be done to the ROM so it can boot? Some kernel files or does it have to be signed somehow?
Click to expand...
Click to collapse
No answer from no one.. very sad , and very brave of you to start building ..

Related

Are There Any Secure/Hardened Roms or Kernels For I337M

Hi,
Im looking for a secure/hardened rom or kernel for the galaxy s4, specifically the i337m. I scoured google and found tons of roms/kernels that were hardened or had security enhancements for the nexus devices but nothing for the s4. Im a complete noob when it comes to compiling a rom, or all that advanced material. I tried Guardian Rom for my device but after flashing with cwm i booted and the blue circle with cyanogenmod in the center spun untill my battery died. It did have to edit the update script because i was getting the "assert failed getprop( ro.product.device )" error so i assumed the rom was not compatible for my version of the s4.
I know there is Anidroid kernel for nexus devices, Guardian Rom with the alpha builds for the Nexus devices, and a few others. In paticular Im looking for a rom/kernel hardened with grsecurity patches, but anything would be fine. My main goal that i kinda given up on is to get Guardian Rom beta build to work for the i337m if anybody has any insctuction on how to get it working then it would be greatly appreciated. I will probably have to settle with a hardened kernel or rom, if there even is any for the i337m.
Thanks

[Q] i cant seem to find a Rom for p6200

Hi guys,
This is my first post in xda...
I recently updated my p6200 to android 4.1.2 using odin and then rooted it. Now i want a custom rom (preferably cm10 or 10.1) so i have been searching for threads like this http://forum.xda-developers.com/showthread.php?t=1842090
But, the doenload link doesnt see to work..!!!
I know this is kinda stupid but after 3 days of searching for a single link this is my only option so a sincere request to the mods to please not delete this thread..
Also i have noval launcher as my stock and i deleted touchwiz launcher. Now i dont think that matters but just in case ( im a noob to android hacking )
theXerminator said:
Hi guys,
This is my first post in xda...
I recently updated my p6200 to android 4.1.2 using odin and then rooted it. Now i want a custom rom (preferably cm10 or 10.1) so i have been searching for threads like this http://forum.xda-developers.com/showthread.php?t=1842090
But, the doenload link doesnt see to work..!!!
I know this is kinda stupid but after 3 days of searching for a single link this is my only option so a sincere request to the mods to please not delete this thread..
Also i have noval launcher as my stock and i deleted touchwiz launcher. Now i dont think that matters but just in case ( im a noob to android hacking )
Click to expand...
Click to collapse
What are you trying to achieve? The stock based ROMs are much more stable than the CM ROMs. There's no need or use to delete things and if you delete too much you will start to cause problems.
DigitalMD said:
What are you trying to achieve? The stock based ROMs are much more stable than the CM ROMs. There's no need or use to delete things and if you delete too much you will start to cause problems.
Click to expand...
Click to collapse
I'm not trying to ACHIEVE anything.!!!! :angel:
I just want a custom ROM coz I don't like touchwiz and that is exactly the reason for me deleting touchwizhome.apk
Anyways I just added that info coz I thought that would affect the process of flashing custom Roms....
Can u pls find me a working link for cm10 or 10.1 or aokp which has been ported to p6200. I really want a custom ROM
Pls help
theXerminator said:
I'm not trying to ACHIEVE anything.!!!! :angel:
I just want a custom ROM coz I don't like touchwiz and that is exactly the reason for me deleting touchwizhome.apk
Anyways I just added that info coz I thought that would affect the process of flashing custom Roms....
Can u pls find me a working link for cm10 or 10.1 or aokp which has been ported to p6200. I really want a custom ROM
Pls help
Click to expand...
Click to collapse
I am not aware of any fully functional CM based or other custom ROMs for the P62xx series. The is a CM11 ROM that is a work in progress on the forum. I would install the latest stock 4.1.2 , root and then install a third party launcher , lock screen and other items to make it look the way I want. That will get you a stable, basically custom ROM. I think its unlikely that a stable CM11 will ever appear unless Samsung releases a stock 4.4 from which to build on and CM 10 is now outdated with no developers to support it.
Have you tried the development section.. There are alot of custom roms there.. PAC, Omni to name a few..
Try the Omni4.4.2 it is still in development but it works great and having KitKat on this Tablets is awesome
Guys pardon for my ignorance(im new to this upgrading/flashing thing) but how do you install custom roms?
I'm considering it an option because after i flashed my p6200 with the new jellybean rom via odin, my tablet works until it got battery drained and now stuck on "boot-loop", I've done the CWM wipe/reset data thing but still stuck in that loading screen, I also did try reflashing it with the same jelly bean firmware but still stuck.. I'm thinking installing a custom rom might make it work again..
or if you do have the old honeycomb stock rom for P6200 DXKL2 firmware that i could use via odin.
Try this
[GT-P6200] Official ICS 4.0.4 firmware (Nov 2012) [STOCK/UNROOTED]
or
[Official FIRMWARES] Galaxy Tab Plus P6200/P6210/SGH-T869]
or
[ROM][Stock] P6200XXLB1 [16.02.2012][Android 3.2]
or
Samsung Updates Latest Firmware - LIVE!
flash via Odin
kwakman said:
Try this
[GT-P6200] Official ICS 4.0.4 firmware (Nov 2012) [STOCK/UNROOTED]
or
[Official FIRMWARES] Galaxy Tab Plus P6200/P6210/SGH-T869]
or
[ROM][Stock] P6200XXLB1 [16.02.2012][Android 3.2]
or
Samsung Updates Latest Firmware - LIVE!
flash via Odin
Click to expand...
Click to collapse
Thanks man! but all links provided here are from "hotfile" which is now closed.. also for some weird reason I cant seem to download from Samobile.. any other suggestions guys?
try this man
http://forum.xda-developers.com/showthread.php?t=2410800
it looks like a fantastic rom based on its features . i also saw good feedbacks from other user's using it
i am currently downloading it right now so i cant give a feedback for now
give it a try
EzreaL. said:
try this man
http://forum.xda-developers.com/showthread.php?t=2410800
it looks like a fantastic rom based on its features . i also saw good feedbacks from other user's using it
i am currently downloading it right now so i cant give a feedback for now
give it a try
Click to expand...
Click to collapse
does it work for you?
I've downloaded this man.. copied it to my sdcard and then installed it through CWM recovery, now I get to the part where I had to choose stuff, like pre-installment settings like whether to choose "wipe user data" and such, and then install "samsung exclusive?" or "default install" or "remove bloatware", so there after choosing my options it then goes to this page with texts and the android robot at the background, it was so fast that I didn't even get to read what is written, i remember only "wipe?" or sort of, it goes for like a second and then restart back to the
"samsung galaxy tab 7.0 plus" loading screen, it's already been a while and it's still stuck in there, I wonder if that is normal, or again like any other stock rom i've flashed with using (odin method) this is stuck and going nowhere?
help! i wanted to post this at the development thread of this certain rom, but Im not allowed due to having few posts i guess?
and by the way, could someone share a ".pit" file for the p6200, i think it might be helpful for making this tab work again, thanks!
Aeolian1916 said:
does it work for you?
I've downloaded this man.. copied it to my sdcard and then installed it through CWM recovery, now I get to the part where I had to choose stuff, like pre-installment settings like whether to choose "wipe user data" and such, and then install "samsung exclusive?" or "default install" or "remove bloatware", so there after choosing my options it then goes to this page with texts and the android robot at the background, it was so fast that I didn't even get to read what is written, i remember only "wipe?" or sort of, it goes for like a second and then restart back to the
"samsung galaxy tab 7.0 plus" loading screen, it's already been a while and it's still stuck in there, I wonder if that is normal, or again like any other stock rom i've flashed with using (odin method) this is stuck and going nowhere?
help! i wanted to post this at the development thread of this certain rom, but Im not allowed due to having few posts i guess?
and by the way, could someone share a ".pit" file for the p6200, i think it might be helpful for making this tab work again, thanks!
Click to expand...
Click to collapse
sadly man we have same experienced on it. i am also stucked on the samsung logo.
finding a new rom again
EzreaL. said:
sadly man we have same experienced on it. i am also stucked on the samsung logo.
finding a new rom again
Click to expand...
Click to collapse
oh I see, let me know man if you could find something that might work, it's already been 2 weeks since I soft bricked this device..
Aeolian1916 said:
Thanks man! but all links provided here are from "hotfile" which is now closed.. also for some weird reason I cant seem to download from Samobile.. any other suggestions guys?
Click to expand...
Click to collapse
I can send to my dropbox any file If u want.

[Q] Kernel is not seandroid enforcing

First of all, Ive searched regarding this error a lot and am hoping someone can clarify.
I "mistakenly" updated to the stock kitkat 4.4.2 that was released for the Galaxy s4 recently and after realising how crap it was, i installed a recovery manager and loaded on the Google play edition rom by Danvdh
http://forum.xda-developers.com/showthread.php?t=2539361
The rom works great and for the most part my phone works. But every now and then randomly it reboots and then will show Kernel is not seeandroid enforcing. Im assuming the error is due to the fact that I installed stock kitkat.
Am I able to circumvent this error by installing a different kernel? and Is the error related to the random bootloops?
Any help would be much appreciated.
Daikonran said:
First of all, Ive searched regarding this error a lot and am hoping someone can clarify.
I "mistakenly" updated to the stock kitkat 4.4.2 that was released for the Galaxy s4 recently and after realising how crap it was, i installed a recovery manager and loaded on the Google play edition rom by Danvdh
http://forum.xda-developers.com/showthread.php?t=2539361
The rom works great and for the most part my phone works. But every now and then randomly it reboots and then will show Kernel is not seeandroid enforcing. Im assuming the error is due to the fact that I installed stock kitkat.
Am I able to circumvent this error by installing a different kernel? and Is the error related to the random bootloops?
Any help would be much appreciated.
Click to expand...
Click to collapse
Hi,
Generally you must flash the same kernal which has come with the installation ZIP, Please check if you are using a different kernal and the ROM.
This happened with me , as i was using a CWM nightly Kernal with a PAC ROM, which didnt worked for me.
It worked when i got a Kernal build by the PAC itself.
Hope this might answer your query
atuldarne said:
Hi,
Generally you must flash the same kernal which has come with the installation ZIP, Please check if you are using a different kernal and the ROM.
This happened with me , as i was using a CWM nightly Kernal with a PAC ROM, which didnt worked for me.
It worked when i got a Kernal build by the PAC itself.
Hope this might answer your query
Click to expand...
Click to collapse
Well I havent changed anything yet. I am using the same kernel that came with the Google play rom that I installed.

Questions about ROMs and Porting

So, Since the Cyanogenmod source is so big (I heard that it has 19GB), people like us who have gay as slow internet have no chance of even trying to cook a ROM for our unsupported devices.
Since I can't download the whole CM source and I see awesome ROM's out there, I Ported one ROM called Cyanfox (which was made for Samsung S2 i9100) to Samsung Infuse 4G using Beanstalk ROM as a base. I followed a guide which asks me to replace some folders and edit some files. It was walking fine. Then came an update to both the ROMs, Thinking that cince it is a update, it will have the updated apps and source, I tried porting them again but this time Beanstalk updated ROM as a base cause a bootloop while the Beanstalk old ROM works fine as a Base ROM.
Now what I don't get is, why is Beanstalk new ROM not working as a base? (Since the new Beanstalk ROM will have updated Source, I want to use that ROM as my base.)
And the second question is, what files does actually matter when you are Porting or cooking an Android ROM? (I mean like windows works on all kind of PC's all it needs is the drivers right? The drivers actually matter on windows)
And the 3rd question is can I update the source files somehow without downloading the whole 19GB CM source and if possible how?
The 4rth is, I heard from somewhere that boot.img is the file which separates the phones? Then why can't we just port ROM's by replacing boot.img since these two phone's are from the same vendor and it has likely specs. (Which is not possible I think)
I am really really a newbie to this thingies, I just wanted to clear out these things. Sorry for my noobness.
Thanks!

ROMs for G920W8 (zerofltecan)

Hi there,
I just got my hand on a Galaxy S6 canadian model G920W8 and I want to flash a custom ROM. I am trying to find rom built for its "zerofltecan", but I unable to. Most of links found are dead links, or unanswered questions on forum. I only found one image of crDroid which is successfully flashed but I really don't like it.
I tried to flash lineageos for zerofltexx but I got an error saying that it was the wrong build for my device.
Here is am, kinda stuck. Even if I want to revert to stock image, I do not find it for zerofltecan.
What can I do? Thanks
I am using unofficial RR v5.8.5 from this thread: https://forum.xda-developers.com/ga...ressurection-remix-unofficial-nougat-t3548327
5.8.5 is based on Nougat, 6.0.0 is based on Oreo but certain things don't work (primarily Bluetooth call audio, the cincher for me)

Categories

Resources