How does android porting work? - Android Q&A, Help & Troubleshooting

Hello, I'm an enthusiastic dev wondering, after endless porting attempts, and a few source-code-build attempts, how exactly does android porting work ?
I know that's a vague question but here's what I don't understand:
How all the files and libs work together in a ported ROM compared to a ROM built from source?
Why can't you port ROMs with different kernels?
If you can't then how did Cyanogen Mod phones with closed source mtk chipsets?
(I know this is off the main topic) How is a kernel updated?
I've never seen anybody ask these questions before, so please, help me and all those people on bootloop understand how to fix all those bugs.
Thanks in advance. :fingers-crossed:

Trying to figure out the same thing... especially how to know what blobs i need and what exactly each does. finally got my first build of CWM recovery working, after many tries.

fs1995 said:
Trying to figure out the same thing... especially how to know what blobs i need and what exactly each does. finally got my first build of CWM recovery working, after many tries.
Click to expand...
Click to collapse
Well me too, but it gives me a status 7 error then bricks the /system (v.6.0.3.0), but honestly, nobody has ever explained how they know what to copy or anything, and I have never seen any android dev course or smth.

Related

Any ROM's Yet?

are there any developers out there creating roms for this? It would nice to have a kernel at least, i know there is one out but its only for the european version. We need developers!!
I got the time for it but not the brain for it im best at testing roms
Doesn't seem that anyone's developing ROMs at the moment, although some are trying. I think first we need to get a recovery working such as Clockworkmod so we can flash the ROMs to the device.
I just got my player a few days ago, but I've been doing some research on how to port CWM to new devices and hopefully something will come to fruition. I'm not a programmer by any means, but I know linux pretty well so hopefully I'll be able to put something together.
Does someone know where there is documentation on how to install new ROMs using Linux? I don't have windows or Mac.
I'm trying to install 2.3.5:
http://forum.xda-developers.com/showthread.php?t=1389809
I believe the instructions are in the android developers kit, so I'll go there next unless someone has a quick pointer.
Thanks,
Daniel
I think the only way currently is with the software samsung gives you, but I might be wrong. Mine came with 2.3.5 on it - I'm using linux mint but haven't had a need to figure it out.
Some people over in the Android Development thread are working on it from what I hear. CM9 here I come!
goudeyman95 said:
Some people over in the Android Development thread are working on it from what I hear. CM9 here I come!
Click to expand...
Click to collapse
Can you show us the link from where you read it please?

[CM10.2]Compiling and testing on i9505 (the good and the bad)

Out of curiosity i have been compiling CM10.2 for the last 2 days, and it now compiles successfully 100% (after many repo sync), but the thing is, when it's installed it doesn't even go past the S4 Bootlogo.. that's just sad, it's like the init file (ramdisk) is wrong so I tried the one from the aosp 4.3 ge builds, but that also didn't work, but it's probably not that. I don't know what it is, but of course without any logcat it's hard to find.
even my AOSP 4.3 compiled build went further than that.. it just showed me a black screen cause of the wrong egl libs but it showed a logcat at least. with the major errors of libc being faulty etc. (but it went further than CM.. in the early stage when there were almost no cm patches for cm10.2 yet)
Oh and yes I did include the proprietary files, and found that some of them don't even exist on the original 4.3 rom, so that's kinda lame..
here are the missing ones:
lib/libqmi.so
lib/libqmiservices.so
lib/libqmi_cci.so
lib/libqmi_common_so.so
lib/libqmi_csi.so
lib/libqmi_encdec.so
lib/libqcci_legacy.so
lib/libqmi_client_qmux.so
lib/libreference-ril.so
lib/libril-qcril-hook-oem.so
lib/libsecril-client.so
lib/libtime_genoff.so
lib/libWVStreamControlAPI_L1.so
lib/libidl.so
lib/libivxdrm.so (was spelled wrong by cm, it includes capitals)
that's a lot of libs, does someone know if one of them could be responsible for not going past the boot logo?
I can upload my build if anyone wants it but it does nothing so it's kinda useless
Any useful is appreciated very much! :silly:
just wait awhile..
xZain69 said:
just wait awhile..
Click to expand...
Click to collapse
Yes I will of course, and I have no problem with that. I'm just curious what the reason is for it not to boot at all. I want to learn as much as possible about the android system so that includes this
kernel problem ?
show this
http://forum.xda-developers.com/showthread.php?t=2348733
Syncing CM10.2 Sources now
Most of the low end devices have got 4.3 booting like HTC Pico and Optimus L5 etc.
PS: In HTC Pico CM10.2 Rom only BT and Camera is broken so I am sure we can get a fully stable one in a few tries. Obviously, we have to fix bugs
This thread over here at m919 has got cm10.2 working, well sort of. Check this out. http://forum.xda-developers.com/showthread.php?t=2348733
~~~~~~~~~~~~~~~~~~~~~
I am always on the mobile app and am always 'trying' to help others and moderators on the forum and learning something new everyday. I make stupid posts sometimes, but I never repeat a mistake more than once. I may not be a developer, but I know alot of stuff, so feel free to messsge me any questions and I'll be happy to answer them to the best of my ability.
~~~~~~~~~~~~~~~~~~~~~
I'm starting a video game company with my friend where we will be making Android games. message me for more info or go here: http://forum.xda-developers.com/showthread.php?t=2290843
got it working

Porting htc one roms to the max?

hey guys, just wondering how difficult it would be to do this and keep the finger print scanner. i (with no android developing experience) tried following a few tuts to try and port a 4.3 rom with little success, i managed to get it to start installing in cwm then to give a permission failure or something similar so yeah just a quick question
+1
Sent from my SM-N900V using Tapatalk
hectorz321 said:
hey guys, just wondering how difficult it would be to do this and keep the finger print scanner. i (with no android developing experience) tried following a few tuts to try and port a 4.3 rom with little success, i managed to get it to start installing in cwm then to give a permission failure or something similar so yeah just a quick question
Click to expand...
Click to collapse
Permission failure? Noob here too
I am guessing the ROM you tried to port checks for the Model number of the phone before flashing. What ROM did you try to port to and if you could post the instructions here we will make this the porting thread
Given that HTC One has all the custom ROM's and kernels we need devs or someone like us who can follow instructions to start doing it. I am sure we will get help from one another and end up with custom ROM's for the MAX.
I was also thinking of doing this but just to start with i don't want to look at the fingerprint scanner and may be later we could get it working.
I am certain most people would be willing to not have a working fingerprint scanner, as a trade off for a few custom roms/kernels...
Well to start you need to make sure your Meta-Inf directory is one from the Max, you should be porting from something with the same board as well which would give you less headaches in the long run. The One would be a good starting port since they use the same boards (msm8960 Snapdragon 600) The updater script in Meta-Inf needs to be pointing to the correct device. For example and this is just an example in the beginning of the updater script which is really the instructions for flashing the rom in recovery shouldn't say something like "get prop blah blah m7vzw" the m7 being the model # should be t6vzw if you were using a Verizon device etc etc.. All mount points need to be exactly what the Max's mount points are otherwise it will never flash.. The original One mount points aren't the same as the One Max. Also the kernel from the Max is a must, plus in system/lib you need the modules as well as hardware. In system/bin you need vold, vold is device specific. In system/etc you need vold.fstab again device specific stuff. The you need the hardware directory, which is touch capacitive buttons and LED's and what not. Those may be the same as the One since they are laid out the same.. The audio should most likely be the same but you would need to remove all the Beats Audio crap from system/etc since the One Max isn't a beats device.. GSM to GSM may be an easy port, CDMA to CDMA may be a little more difficult. Although they use libril-qc-qmi-1.so I think it is, that may be a typo but that's something like what the lib path will point to, the code may be slightly different in telephony for CDMA LTE devices. That would be found in framework.jar if applicable framework2.jar..
I could most likely easily get a port done, I'm just very limited to time.. Some of the tutorials out there are very generic and would kind of work well if you have 2 very identical devices with minor changes and manufactured around the same time small example would be like the HTC Desire and the HTC Thunderbolt.. That's a pretty straight forward port with some minor audio tweaks since sound image in system/etc is different and that as well are devices that would require a RIL hack as stated above with framework.jar... That right there would be strictly smali/baksmali hacking which I have some knowledge with but by no means a master of it lol... That is unless we had source for certain things but that isn't likely by no means... If anyone is interested in getting to work I'm more then willing I just sometimes have a hectic schedule... There is more to porting then just a few quick changes if you want a clean solid daily driver port... I started to port MIUI V5 just haven't really had much of a chance to test it. I have 3 MIUI ports built all slightly altered to eventually test different hacks..
The reason I chose MIUI V5 to port is because a good deal of HTC MIUI ROMs are based heavily on Sense.. Not many of them are AOSP based anymore which to me is kind of a shame.... The Chinese must have gotten tired of so many ports popping up with a lot of broken stuff because they all use to be AOSP based and to get them ported required a ton smali hacks and now when you decompile an actual source built official chinese MIUI rom and you diff out lets say services.jar from CM and services.jar from MIUI for every line of code like cdmareceiver.smali in CM in MIUI it's i.smali then cdmareceiver$1.smali in CM in MIUI it's 23.smali.... Those aren't actual lines those are just examples but they made it damn near impossible to properly diff stuff out.. You'd literally have to go through thousands and thousands upon thousands of lines to figure out which matches what and then make the changes you feel like need to be made and then hope you didn't break something in the process.... It sucks lol...
So yeah most of the HTC devices are now MIUI converted Sense based builds and I'm hoping are a little easier to port with less changes!! But I guess we'll see?!?!
Like I said, anyone wanting to work with me I will be more then glad to lend my knowledge of Android! I need someone to get me motivated again. I really miss working on Android and building stuff porting stuff whatever.. It's just fun! Plus we desperately need some form of a custom Android really really bad.... All of us do... I mean I'm Verizon, but Sprint, the International crew, all of us....
Lets pool all of our knowledge together and do some work!!! To all reading this if you are down contact me in this thread or PM me and lets get busy!
Murrda said:
Well to start you need to make sure your Meta-Inf directory is one from the Max, you should be porting from something with the same board as well which would give you less headaches in the long run. The One would be a good starting port since they use the same boards (msm8960 Snapdragon 600) The updater script in Meta-Inf needs to be pointing to the correct device. For example and this is just an example in the beginning of the updater script which is really the instructions for flashing the rom in recovery shouldn't say something like "get prop blah blah m7vzw" the m7 being the model # should be t6vzw if you were using a Verizon device etc etc.. All mount points need to be exactly what the Max's mount points are otherwise it will never flash.. The original One mount points aren't the same as the One Max. Also the kernel from the Max is a must, plus in system/lib you need the modules as well as hardware. In system/bin you need vold, vold is device specific. In system/etc you need vold.fstab again device specific stuff. The you need the hardware directory, which is touch capacitive buttons and LED's and what not. Those may be the same as the One since they are laid out the same.. The audio should most likely be the same but you would need to remove all the Beats Audio crap from system/etc since the One Max isn't a beats device.. GSM to GSM may be an easy port, CDMA to CDMA may be a little more difficult. Although they use libril-qc-qmi-1.so I think it is, that may be a typo but that's something like what the lib path will point to, the code may be slightly different in telephony for CDMA LTE devices. That would be found in framework.jar if applicable framework2.jar..
I could most likely easily get a port done, I'm just very limited to time.. Some of the tutorials out there are very generic and would kind of work well if you have 2 very identical devices with minor changes and manufactured around the same time small example would be like the HTC Desire and the HTC Thunderbolt.. That's a pretty straight forward port with some minor audio tweaks since sound image in system/etc is different and that as well are devices that would require a RIL hack as stated above with framework.jar... That right there would be strictly smali/baksmali hacking which I have some knowledge with but by no means a master of it lol... That is unless we had source for certain things but that isn't likely by no means... If anyone is interested in getting to work I'm more then willing I just sometimes have a hectic schedule... There is more to porting then just a few quick changes if you want a clean solid daily driver port... I started to port MIUI V5 just haven't really had much of a chance to test it. I have 3 MIUI ports built all slightly altered to eventually test different hacks..
The reason I chose MIUI V5 to port is because a good deal of HTC MIUI ROMs are based heavily on Sense.. Not many of them are AOSP based anymore which to me is kind of a shame.... The Chinese must have gotten tired of so many ports popping up with a lot of broken stuff because they all use to be AOSP based and to get them ported required a ton smali hacks and now when you decompile an actual source built official chinese MIUI rom and you diff out lets say services.jar from CM and services.jar from MIUI for every line of code like cdmareceiver.smali in CM in MIUI it's i.smali then cdmareceiver$1.smali in CM in MIUI it's 23.smali.... Those aren't actual lines those are just examples but they made it damn near impossible to properly diff stuff out.. You'd literally have to go through thousands and thousands upon thousands of lines to figure out which matches what and then make the changes you feel like need to be made and then hope you didn't break something in the process.... It sucks lol...
So yeah most of the HTC devices are now MIUI converted Sense based builds and I'm hoping are a little easier to port with less changes!! But I guess we'll see?!?!
Like I said, anyone wanting to work with me I will be more then glad to lend my knowledge of Android! I need someone to get me motivated again. I really miss working on Android and building stuff porting stuff whatever.. It's just fun! Plus we desperately need some form of a custom Android really really bad.... All of us do... I mean I'm Verizon, but Sprint, the International crew, all of us....
Lets pool all of our knowledge together and do some work!!! To all reading this if you are down contact me in this thread or PM me and lets get busy!
Click to expand...
Click to collapse
this was exciting to read, best of luck
I am going to get Ubuntu installed today and then Android Kitchen here i come!
pradeepvizz said:
I am going to get Ubuntu installed today and then Android Kitchen here i come!
Click to expand...
Click to collapse
You can always use Cygwin on windows. there is a how to cook a rom tutorial in the General Android Dev forum.
DeadPhoenix said:
You can always use Cygwin on windows. there is a how to cook a rom tutorial in the General Android Dev forum.
Click to expand...
Click to collapse
Thanks, i just installed it via virtual box without disturbing my system.
Just got android kitchen up and running, on prting sides of things got further this time, into aroma installes but error 7 which suggested earlyer is to do with mount points, if anyone could happen to help with theese it would be fab ))
Ok this is good start, i am proud of us here
I have got Android Kitchen running on my Ubuntu via virtual box.
I tried to set my working folder and tried tried to import my TWRP stock ROM backup. It seems like Android kitchen will require a CWM backup and TWRP does not seems to work.
With the TWRP backup i got this error
NON-YAFFS/NON-TAR FILE FORMAT DETECTED IN ROM
Click to expand...
Click to collapse
So i have just restored stock ROM on my phone, flashed CWM and now backing up my Stock ROM to COOK ANDROID
@[email protected] did you miss this thread just kidding, I know you have got a hectic schedule.
Again i am extremely happy to see ppl starting to develop ROM's!
Thanks for your encouragement @Murrda
No problem.. I'm home from work already and I'm off for the next 3 days so I'm actually going to get back to working on some ports. Anyone need a hand with anything as far as questions or setting up Linux or a dev environment please feel free to hit me up!
pradeepvizz said:
Ok this is good start, i am proud of us here
I have got Android Kitchen running on my Ubuntu via virtual box.
I tried to set my working folder and tried tried to import my TWRP stock ROM backup. It seems like Android kitchen will require a CWM backup and TWRP does not seems to work.
With the TWRP backup i got this error
So i have just restored stock ROM on my phone, flashed CWM and now backing up my Stock ROM to COOK ANDROID
@[email protected] did you miss this thread just kidding, I know you have got a hectic schedule.
Again i am extremely happy to see ppl starting to develop ROM's!
Thanks for your encouragement @Murrda
Click to expand...
Click to collapse
Murrda said:
No problem.. I'm home from work already and I'm off for the next 3 days so I'm actually going to get back to working on some ports. Anyone need a hand with anything as far as questions or setting up Linux or a dev environment please feel free to hit me up!
Click to expand...
Click to collapse
heyy i could use some help doing this part in android kitchen. straight from android kitchens page but i can't seem to get the recovery.fstab out anyway! im on t6ul verson of the max by the way thanks
/HIDE (sorry dont know how to get this to work (forum noob here too)
Create a file under the kitchen's /tools/edify_defs folder, with the name being the same as the value of ro.product.device (found in your device's /system/build.prop file).
If the stock ROM images for your device contain the recovery.img file, extract its files from the kitchen menu: Advanced --> Tools for boot image --> Extract from boot.img/recovery.img in any folder. Then, open up its ramdisk folder, and look for /system/etc/recovery.fstab or /etc/recovery.fstab or similar FSTAB file location. Open this file to find the mount points.
See the template file in the edify_defs folder to see how to set the mount points inside the file you created. Look at the other files in that folder for examples on how to do it.
managed to flash something and get mounting things sorted ))), getting an interesting navy green screen when booting now, will let you know on further developments. its a vanilla android rom i tried insertcoin-m7-google-edition_5.0-1 to be exact
hectorz321 said:
managed to flash something and get mounting things sorted ))), getting an interesting navy green screen when booting now, will let you know on further developments. its a vanilla android rom i tried insertcoin-m7-google-edition_5.0-1 to be exact
Click to expand...
Click to collapse
Good start mate! awesome!
update, getting a boot logo now which is great but im in a bootloop and have no idea where to start, iv been looking on trying to get logcat and such running but no success yet. Any advise anyone?
hectorz321 said:
update, getting a boot logo now which is great but im in a bootloop and have no idea where to start, iv been looking on trying to get logcat and such running but no success yet. Any advise anyone?
Click to expand...
Click to collapse
Which guide are you following? i just cooked a ROM today first time. I made the stock ROM for the T6UL.
---------- Post added at 08:34 PM ---------- Previous post was at 08:34 PM ----------
ooo, Merry Christmas everyone
Yeah I've been trying to port gpe over to the max but I think I need the gpe kernel ported too.. I used the Max Sense kernel for it and I get a bootloop or frozen boot logo after install with no hope of getting a logcat. I didn't move the Max sense update-binary but don't think that would be an issue, both since Its gpe and I'm using aroma..
Sent from my HTC One using XDA Premium 4 mobile app
HolyAngel said:
Yeah I've been trying to port gpe over to the max but I think I need the gpe kernel ported too.. I used the Max Sense kernel for it and I get a bootloop or frozen boot logo after install with no hope of getting a logcat. I didn't move the Max sense update-binary but don't think that would be an issue, both since Its gpe and I'm using aroma..
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Got to exactly the same point as you, reading several tutorials online i came across this interesting line "To port Sense you have to unpack the boot.img of your base rom and edit the init.rc to change the bootclasspath and match it with the port one" which is what iv done but also got stuck in a bootloop, looking at the two kernels are are a few differences in them. I think that might be they key.
hectorz321 said:
Got to exactly the same point as you, reading several tutorials online i came across this interesting line "To port Sense you have to unpack the boot.img of your base rom and edit the init.rc to change the bootclasspath and match it with the port one" which is what iv done but also got stuck in a bootloop, looking at the two kernels are are a few differences in them. I think that might be they key.
Click to expand...
Click to collapse
Yeah, i know for the kernel, without being able to mess with the zimage, the sense max kernel lacks the init.environ.rc from gpe, the fstab file is different(at least file extension), and there's a few things that point to sense files or folders that don't exist on gpe. Currently there is no released source for the max yet :'( so unless someone knows how to do it manually and hasn't shared HOW to do so, I just have to wait.. Hopefully it won't be too long.
Sent from my HTC One using XDA Premium 4 mobile app

ZTE Obsidian Z820 stock ROM needed

Hi guys, does anyone know where I can get stock ROM for ZTE Obsidian?
plectr said:
Hi guys, does anyone know where I can get stock ROM for ZTE Obsidian?
Click to expand...
Click to collapse
Or any custom ROM? Just any ROM?
The source code was published on http://opensource.ztedevice.com/. Is it "too hard" to make ROM out of this? Can I do it without special skills, just following a tutorial?
+1 ...
plectr said:
Hi guys, does anyone know where I can get stock ROM for ZTE Obsidian?
Click to expand...
Click to collapse
+1 any provider T-mobile or metroPcs...
Any luck? I'm in need of this myself.
Me, too! (+1)
Please, will someone with a proper kit dump the ROM? I, uh... over-rooted mine. But all is not lost! I still can get to recovery mode and it has flashing options! (With device in OFF state, hold VOL. UP + POWER + HOME. Navigate to RECOVERY MODE with VOL. UP, then VOL. DN to select. The green "sick Android" logo with a "!" appears. Press VOL. UP + POWER for approx. 5 seconds, then release both simultaneously. This should display all the recovery options.) We would be eternally grateful, and I promise lots of :good:'s! Because really, let's be honest: we're all here because we want one of those nifty "SENIOR MEMBER" badges. When I get one, I'm gonna have it tatooed on my arm. (Everyone knows chicks dig rooting skills.) In the meantime, I'll be trying to learn how to compile the source code from the link another member posted above...
Hey you guys... Really need this too... any progress?
Any news???
i have it but? how do y get it out of the phone
help do that and there y will have it
thanks mark
I'm a little concerned with the compile effort after carefully reading ZTE's Open-Source policies... It seems the "ROM" download for the Z820 found on their website contains only the open-source portions of the firmware. Not only am I having difficulty getting a "good" download with my backwoods Internet connection (3 attempts-all bad,) I'm afraid after compiling that I'll only have a partial OS ROM. Does anyone skilled (read: not a junior member like me) know if there's proprietary first or third party code in most OEM stock ROM's? If so, would those portions be available online to download and place in the proper partitions? ZTE's very specific wording spooked me... I mean, I ain't scared to give 'er a go as-is, but I'm curious. The thing's just collecting dust now...
Sent from my C6740 using XDA-Developers mobile app
Now I'm curious. I might have the ability to grab this little device. Let me have a look at the source code first, get my bearings, and I'll see what I can find. I've got a lot going on, so I might need a reminder or two... Hope you guys like android forums though, that's where I tend to linger
---------- Post added at 06:10 AM ---------- Previous post was at 06:05 AM ----------
Right, so I just found the sources. Downloading both the TMO and MPCS sources and will diff them tomorrow. That being said; they have only released the kernel source. Which is AMAZING considering, but not everything for a ROM. With this, I could make a custom ROM, figure out root (bootloader is covered luckily), and more! What I'm saying is; I'll give it a shot. I'll update this thread with developments as they come
I need this also!!!! PLEASE HELP ME!!! LOL THANK YOU!
​
crutchcorn said:
Now I'm curious. I might have the ability to grab this little device. Let me have a look at the source code first, get my bearings, and I'll see what I can find. I've got a lot going on, so I might need a reminder or two... Hope you guys like android forums though, that's where I tend to linger
---------- Post added at 06:10 AM ---------- Previous post was at 06:05 AM ----------
Right, so I just found the sources. Downloading both the TMO and MPCS sources and will diff them tomorrow. That being said; they have only released the kernel source. Which is AMAZING considering, but not everything for a ROM. With this, I could make a custom ROM, figure out root (bootloader is covered luckily), and more! What I'm saying is; I'll give it a shot. I'll update this thread with developments as they come
Click to expand...
Click to collapse
Just to keep you guys informed; I tried downloading both of the sources and couldn't get their tar.gz to extract completely in Linux - meaning we're totally stuck and that's it.
Kidding.
E-mailed the guys over there and after a few days they finally got back to me letting me know the site was down for maintenance and to try again in a few days. Doesn't sound too promising, sure, but at least we know that we don't have to post a formal legal request like the guys over at the Fire Phone threads had to do. I'll get that source for ya.
crutchcorn said:
Just to keep you guys informed; I tried downloading both of the sources and couldn't get their tar.gz to extract completely in Linux - meaning we're totally stuck and that's it.
Kidding.
E-mailed the guys over there and after a few days they finally got back to me letting me know the site was down for maintenance and to try again in a few days. Doesn't sound too promising, sure, but at least we know that we don't have to post a formal legal request like the guys over at the Fire Phone threads had to do. I'll get that source for ya.
Click to expand...
Click to collapse
FYI I already have a CWM Recovery compiled and ready to go for this device however thanks to Securelock and the 101 error any attempts at flashing via dd and no access to fastboot (tried zero'ing out the recovery partition to try to force bootloader) there is no way currently to flash to the device... I've already got a CM 12.1 build ported over also... Gonna work on a custom kernel next but only if we can get past this Securelock issue
I may be a junior member but trust I am a seasoned developer and have worked on roms such as the CM 10 port for the LG Optimus and F3 / F6.
BBQ Linux all the way!
xerolath said:
FYI I already have a CWM Recovery compiled and ready to go for this device however thanks to Securelock and the 101 error any attempts at flashing via dd and no access to fastboot (tried zero'ing out the recovery partition to try to force bootloader) there is no way currently to flash to the device... I've already got a CM 12.1 build ported over also... Gonna work on a custom kernel next but only if we can get past this Securelock issue
I may be a junior member but trust I am a seasoned developer and have worked on roms such as the CM 10 port for the LG Optimus and F3 / F6.
BBQ Linux all the way!
Click to expand...
Click to collapse
I'm out! Xero got y'all covered
xerolath said:
FYI I already have a CWM Recovery compiled and ready to go for this device however thanks to Securelock and the 101 error any attempts at flashing via dd and no access to fastboot (tried zero'ing out the recovery partition to try to force bootloader) there is no way currently to flash to the device... I've already got a CM 12.1 build ported over also... Gonna work on a custom kernel next but only if we can get past this Securelock issue
I may be a junior member but trust I am a seasoned developer and have worked on roms such as the CM 10 port for the LG Optimus and F3 / F6.
BBQ Linux all the way!
Click to expand...
Click to collapse
I can't wait for you to fix the z820 .thanks bro
xerolath said:
FYI I already have a CWM Recovery compiled and ready to go for this device however thanks to Securelock and the 101 error any attempts at flashing via dd and no access to fastboot (tried zero'ing out the recovery partition to try to force bootloader) there is no way currently to flash to the device... I've already got a CM 12.1 build ported over also... Gonna work on a custom kernel next but only if we can get past this Securelock issue
I may be a junior member but trust I am a seasoned developer and have worked on roms such as the CM 10 port for the LG Optimus and F3 / F6.
BBQ Linux all the way!
Click to expand...
Click to collapse
We're fortunate to have your expertise, zerolath! That's why I love XDA! This thing's driving me nuts! It's the only 64-bit device I have until my Raspberry Pi 3 arrives, and I hate that I was careless and didn't back it up first! Rookie error. But I have learned: my LG Leon is backed up and well rooted! I had the same issue as crutchcorn did with the kernel source code DL. Got a unexpected zero bit at #### error with multiple DL's. I'm not experienced enough to attempt flashing just the kernel anyway. I hope there's a way around the SecureLock protection!
Back-up EVERYTHING. Compulsively! ?
Cruise Elroy said:
We're fortunate to have your expertise, zerolath! That's why I love XDA! This thing's driving me nuts! It's the only 64-bit device I have until my Raspberry Pi 3 arrives, and I hate that I was careless and didn't back it up first! Rookie error. But I have learned: my LG Leon is backed up and well rooted! I had the same issue as crutchcorn did with the kernel source code DL. Got a unexpected zero bit at #### error with multiple DL's. I'm not experienced enough to attempt flashing just the kernel anyway. I hope there's a way around the SecureLock protection!
Back-up EVERYTHING. Compulsively! ?
Click to expand...
Click to collapse
Aye mate. XDA and programmer centric forums and such are pretty snazzy. Great place for people of all walks of life to learn, laugh, and grow.
I hope you can solve this... I too have this phone bricked at home, after flashing official update from ZTE...
Thank you so much for helping us!

Need help porting any Cyanogenmod to my device

So i've been looking on the internet for some ways to port any CM to my device J100FN, i found quite a few but some of them are outdated or badly explained etc etc...
I'm gonna put it plain and simple.
I have linux, i have my stock rom J100FNXXU0AOD1, and i can surely get any CM somewhere in the internet (note that i have CM12 for Samsung S3 neo already so tell me if that's gonna do it)
Here are the tutorials that i found so far:
https://www.youtube.com/watch?v=GAyxypK7_K8 (says that i need a CM already built for my phone, which is no available)
https://forum.xda-developers.com/showthread.php?t=2545618 (same with this one)
https://forum.xda-developers.com/showthread.php?t=2245786 (and this one is kinda poorly explained at the begining)
Note that i have a rooted device and TWRP recovery up and running on it, also i read about this "Cyanogenmod compiler" thingy thing, but i couldn't manage to download it, i think the repos are down now or idk. (https://forum.xda-developers.com/showthread.php?t=1415661) (https://korben.info/cyanogenmod-compiler.html)
IDK MAN I REALLY NEED CYANOGENMOD ON MY GALAXY J1 LTE, i'm kind of a rookie when it comes to complicated roms maneuvering but i still do have basic knowledge (flashing, rooting, few terminal cmd's etc etc...)
Please help, and thank.
Putshi said:
So i've been looking on the internet for some ways to port any CM to my device J100FN, i found quite a few but some of them are outdated or badly explained etc etc...
I'm gonna put it plain and simple.
I have linux, i have my stock rom J100FNXXU0AOD1, and i can surely get any CM somewhere in the internet (note that i have CM12 for Samsung S3 neo already so tell me if that's gonna do it)
Here are the tutorials that i found so far:
https://www.youtube.com/watch?v=GAyxypK7_K8 (says that i need a CM already built for my phone, which is no available)
https://forum.xda-developers.com/showthread.php?t=2545618 (same with this one)
https://forum.xda-developers.com/showthread.php?t=2245786 (and this one is kinda poorly explained at the begining)
Note that i have a rooted device and TWRP recovery up and running on it, also i read about this "Cyanogenmod compiler" thingy thing, but i couldn't manage to download it, i think the repos are down now or idk. (https://forum.xda-developers.com/showthread.php?t=1415661) (https://korben.info/cyanogenmod-compiler.html)
IDK MAN I REALLY NEED CYANOGENMOD ON MY GALAXY J1 LTE, i'm kind of a rookie when it comes to complicated roms maneuvering but i still do have basic knowledge (flashing, rooting, few terminal cmd's etc etc...)
Please help, and thank.
Click to expand...
Click to collapse
Don't let this thread die please :/
Like come on 34 views but no replies...
How did you get the TWRP for your phone? Is there one for the J100? I haven't managed to root my J727 One thing you could do is use the google android tree with all its garbage and then copy and paste the CM tree into it. But quite frankly I hesitate to suggest this because it's a huge pain in the ass, and like I said, I haven't managed to get TWRP working for my phone doing this. I can get it compiled but... I have no idea what makes it specific to the phone. I thought it was enough just to have the kernel for the specific phone...
peterius said:
How did you get the TWRP for your phone? Is there one for the J100? I haven't managed to root my J727 One thing you could do is use the google android tree with all its garbage and then copy and paste the CM tree into it. But quite frankly I hesitate to suggest this because it's a huge pain in the ass, and like I said, I haven't managed to get TWRP working for my phone doing this. I can get it compiled but... I have no idea what makes it specific to the phone. I thought it was enough just to have the kernel for the specific phone...
Click to expand...
Click to collapse
Idk man, I just looked up a tutorial on how to root it, I had to look quite deeply but I found it and it's working just fine, it requiers you to flash the boot.img too and then root it with Kingoroot, this is the tutorial I followed www .halabtech. com/root-for-j100fn/ (I know it looks shady but it worked, also I can't post links because my account is new...)
Also I asked a dev and he asked me about the source code of the cpu or some stuff, tbh I have no idea why you would need that to make a rom out of a stock rom...
As I've been informed by twrp, the recovery image typically has it's own kernel which means its specific to the device. I'm not totally sure of the reasons for this. I ended up returning the galaxy j727u which has a locked bootloader for a xiaomi, I'll see how it goes.
I see, but that doesn't really advance in my case
Is any devs out there willing to help out a stupid newbie :^)
Come on now don't let this thread die

Categories

Resources