[Q] Rooting through kernel source? - General Questions and Answers

I have a ZTE Z933 (not Z993), and there seems to be no available root for it yet. I've tried towelroot and many different modstrings, but no luck.
The company did recently release the kernel source for this device, and my question is:
Could the kernel source be used to root the device?
Source located at: opensource.ztedevice.com
Thanks!
Edit: by "using the kernel source" I mean could I modify it for root and compile it and use it?

http://www.xda-developers.com/users-beware-zte-root-backdoor-found
I just picked up this phone too.
Seems like root acess is simply password controled..
Maybe ztex1609523?
Anyone wanna jam that into an installer?
Sent from my ghost using XDA Free mobile app

Related

Is it possible? Compiling kernel module with no kernel source

Hi guys, I've been hiding out over on slate droid for a bit - I picked up a pandigital novel for free and I've been working on getting it to run things other than eclair. I have a working honeycomb port for it - woot - butttt pandigital refuses to release kernel source code for the device. velocity micro released a cookie cutter version of the same device and won't give up the kernel source either so heres the trouble - without a new kernel module honeycomb and gingerbread have no wifi.
Is it possible to compile a generic kernel module or a signed one for this kernel with no kernel source? Help please.
Maybe the full might of xda could get pandigital to fork over the source code but seeing as how we don't have a pandigital section demand for this is low here. I'm disgusted by the way these companies have been stealing open source software.
http://www.slatedroid.com/topic/23492-honeycomb-it-doesnt-run-very-well-on-my-novel-yet/
There's a link to the issue - I'm not sure if it's polite to link to another forum here - mods remove it if you like. That entire thread would be here on xda if we had a novel device forum
See u back at SLatedroid.
Sent from my X10i using XDA App

[Q] Linking eclipse with source code and virtual device

This question is more directed towards developers, but anyone who knows feel free to contribute.
Recently i have downloaded the android source code on ubuntu and the SDK, got virtual device running and adb for my g2x. My question is now that i have the source code in my "WORKING_DIRECTORY" how can i link eclipse to the source code, and run my source in virtual device.
To sum up the question im looking for guide on creating own custom rom, it would be nice to be pointed in the right direction
Do u want to build the from from stock or CM sources
Sent from my LG-P999 using XDA App
Thanks for responding, i also have a nexus s, id assume its easier to work with nexus stock code then translate some of my work to the cyanogenmod for my
g2x, whatever is easier the get me going and understanding the concepts, So to answer the question working from stock

Enable SWAP from kernel Source

T-mobile Prism II released the kernel source
https://github.com/Prism2/HUAWEI-U8686-Open-Source-U8686-JellyBean-kernel-3.4.0-
That is the link for the source kernel i found with a simple search.
This phone is so close to having a custom rom. Rooted, bootloader unlocked and CWM_recovery has already been made possible on this forum.
So my question is... Where would add the line CONFIG_SWAP=y in that open source kernel.
Is that all that needs to be done to this kernel to enable swap?
I'm sure it simple anyone know?
Diehardshorty said:
I'm sure it simple anyone know?
Click to expand...
Click to collapse
Its a little more complex
Guide for Jellybean can be found HERE
Thanks a lot for that link.
I'm very inexperienced with android and that doesnt look easy. Anyone interested in helping me with this?

[Completed] Partially building a custom rom

Hello there,
I am currently having a One Plus One. I have multi-rom utlity which allows me to have multiple android OS installed.
Currently the cyanogenmod based custom Marshmallow Rom I use (http://forum.xda-developers.com/one...m-kernel-unofficial-cyanogenmod-13-0-t3242700) has switched over to using stable CM branch as their rom base. So this requires using Super SU for root access. Unfortunately Super Su is not compatible with Multirom implementation for OPO.
One suggestion provided was to try building the custom rom from source with user-debug flag. Meanwhile I came across two build.prop values (ro.build.type=userdebug ; persist.sys.root_access=1) which I hoped would enable inbuilt superuser without rebuilding the rom from source but they did not work.
So for now, there seems to be no other way around building from source ( I wanted to avoid this as much as possible because I have a very slow Internet access downloading 30 GB or so for the ROM alone will take a month for me).
So here are my 2 questions:
1> The rom developer in the thread mentioned in 2nd para, talks about 2 source (Kernel and the rest). When I looked at the manifest, they talk about replacing something. So does this mean I need to download the cyanogenmod sources as well or does repo sync take care of that automatically ?
2> I assume the kernel and rom need to be built separately. Can the "userdebug" mode be enabled only by rebuilding the kernel and then placing it with rest of the rom build zip provided by the developer to avoid rebuilding the whole rom ? or better yet flash the my userdebug kernel again after the normal rom installation ?
Thanks In Advance
crazydude10 said:
Hello there,
I am currently having a One Plus One. I have multi-rom utlity which allows me to have multiple android OS installed.
Currently the cyanogenmod based custom Marshmallow Rom I use (http://forum.xda-developers.com/one...m-kernel-unofficial-cyanogenmod-13-0-t3242700) has switched over to using stable CM branch as their rom base. So this requires using Super SU for root access. Unfortunately Super Su is not compatible with Multirom implementation for OPO.
One suggestion provided was to try building the custom rom from source with user-debug flag. Meanwhile I came across two build.prop values (ro.build.type=userdebug ; persist.sys.root_access=1) which I hoped would enable inbuilt superuser without rebuilding the rom from source but they did not work.
So for now, there seems to be no other way around building from source ( I wanted to avoid this as much as possible because I have a very slow Internet access downloading 30 GB or so for the ROM alone will take a month for me).
So here are my 2 questions:
1> The rom developer in the thread mentioned in 2nd para, talks about 2 source (Kernel and the rest). When I looked at the manifest, they talk about replacing something. So does this mean I need to download the cyanogenmod sources as well or does repo sync take care of that automatically ?
2> I assume the kernel and rom need to be built separately. Can the "userdebug" mode be enabled only by rebuilding the kernel and then placing it with rest of the rom build zip provided by the developer to avoid rebuilding the whole rom ? or better yet flash the my userdebug kernel again after the normal rom installation ?
Thanks In Advance
Click to expand...
Click to collapse
Greetings,
Please read the Sticky threads for XDA Assist. This is not a help desk. XDA Assist is for helping new members or visitors navigate this site. You are a Senior Member and therefore you should know how to use the search feature and find the correct thread to ask your questions.
Thanks for understanding.
Thread closed.

Vendor doesn't give Kernel source code.

Hello,
I'm trying to create a CM port for my Getnord Onyx device.
As far as I know, to do this I need kernel source code with all of it's patches. So I contacted manufacturer and nicely asked them to give me the source code, but they didn't reply.
What should I do? And I don't think that GNU General Public Licence is going to help me here (or can it, if so: how do I use it?)
Thank you!
The Linux kernel is licensed under GNU and they are required to release the kernel but alot of Chinese manufacturers don't do it. You can use a prebuilt kernel for cyanogenmod but don't expect new Android versions.
Sent from my Lenovo A7010a48 using XDA Labs
Is it possible to somehow decompile Kernel from my phone?
Getnord said:
Is it possible to somehow decompile Kernel from my phone?
Click to expand...
Click to collapse
No, but you can use the prebuilt kernel for cyanogenmod but you won't be able to upgrade Android versions
Having the same issue with Blu. using the prebuilt kernel, is there any chance a newer Android version than what it came with would work?
fs1995 said:
Having the same issue with Blu. using the prebuilt kernel, is there any chance a newer Android version than what it came with would work?
Click to expand...
Click to collapse
There is a chance but don't count on that
Sent from my K4 Note using XDA Labs
Getnord said:
Hello,
I'm trying to create a CM port for my Getnord Onyx device.
As far as I know, to do this I need kernel source code with all of it's patches. So I contacted manufacturer and nicely asked them to give me the source code, but they didn't reply.
What should I do? And I don't think that GNU General Public Licence is going to help me here (or can it, if so: how do I use it?)
Thank you!
Click to expand...
Click to collapse
Had any luck with this?

Categories

Resources