ROM building help - AT&T, Rogers HTC One X, Telstra One XL

I'm on Ubuntu 13.10 and trying to build android. i'm trying to build but it keeps saying
fatal not a git repository
also when i try to change the repo location from home, it keeps telling me about rm* key
some help?

I think you'd be better off asking in a dedicated Android Software Development / Hacking forum. At the moment you're asking in a section dedicated to users of the One XL, so your audience is basically users, asking in the right place will at least give you an audience of people who might be able to help you.
Sent from my Evita

Timmaaa is absolutely correct. Unless you are building specifically for the One X Evita, I have a few good places for you to start.
1. XDA-University. You can find this section by searching under the General page of all forums.
2. Under the all forums section you will also find a section called Android Development/Hacking, as timmaaa mentioned above.
3, I would strongly recommend that you check out the cyanogenmod wiki. There you will find guides for building cyanogenmod on many devices.
4. Google will be your best friend with finding this information.
5. I would highly recommend you read the following post first:
http://forum.xda-developers.com/showthread.php?p=6243873
6. Chef Central under the all forums section will also get you going.
Sent from my One X using XDA Premium 4 mobile app

Related

[Completed] [Q] Learning to build AOSP from source for new devices

Hi guys,
So I've always loved flashing ROMs on my phones and tinkering, but I've never really understood how to do it all. I figured I should learn and try to give back to the community, considering the amount of time I spend on here.
I've followed the steps on source.android.com for initializing my build environment. I'm done syncing with the repo, but I can't find a thorough guide on what to do next. I can't use the breakfast command because my phone is not an official device. In the "Building for devices" section, it states that I need to obtain proprietary drivers for my device, but I'm not sure any manufacturers will give away their proprietary drivers
I'm looking to do all this for my Moto X 2013. So my question is, how does CyanogenMod have (some) proprietary drivers for my phone, and would it be possible for me to pull from CM's repo for those drivers? Is there a better forum for me to ask these questions?
If anyone has an idea of where I should look next to do some more research, I'd really appreciate the help!
Hi,
This section has many guides and tutorials. Please do your research and try your hand at it. After you read read read, if you still need help, ask in the thread of the guide you use, or create your own thread and ask for help...
http://forum.xda-developers.com/chef-central/android
Good luck!

[Completed] [Q] trying to disable signature check in services.jar 4.4.4 kitkat

as the title stats i been trying to disable the sig check in services.jar stock android 4.4.4 i have followed several guides and have compiled this mod on 4.1.2 touchwiz rom.
now before you ask. i tried to take logcat it didnt work in this state the device couldn't be detected. ive notice that while using file-manger to repair the file /system is completely empty not sure if that is on my part or what but flashing a stock rom back over my current build makes it boot up again no data loss or anything. just point me in the right place or pm me any help is appreciated
im trying to do this for the nexus 7 "flo" 2013 stock 4.4.4 rom based. below is the quick thing of what is happening
decompile services.jar
navigate to pm/packagemangerservice.smali
look for method
.method static comparesignatures([landroid/content/pm/signature;[landroid/content/pm/signaturel
change the follow to what ever
compile and reput the classes.dex back into services.jar push to the device
reboot & wait for android is upgrading to finshe.
and after its done it starts force closing on every app
Sir,
The mission of XDA Assist is to provide basic help to those who have tried searching but can't find what they are looking for and need assistance. This is not a "helpdesk" providing technical assistance but more to point you in the correct direction with your problem. Perhaps you can't find posts on how to root your phone, install custom recovery or maybe you have questions about how to navigate and use features on the site.
Our XDA Assist team will give you links to threads/forums that are relevant to your problem. You may be pointed towards guides and instructions that can be quite complex, so you will still need to read carefully and be cautious before attempting to make software changes to your device. It is essential you are in the correct forum for your device model; what works for one can ruin another.
Thanks for understanding
You can start asking in the device forum related from here: > Nexus 7 > Nexus 7 Q&A, Help & Troubleshooting or directly in this thread: Nexus 7 Help Thread
Good luck
Edited
Well sir can you point me in the right direction.
And for you information. I have already posted in my sub device forum. Nexus 2013 q&a Labeled the same title and yet no replies.
Sent from my Nexus 7 2013 using XDA Free mobile app
Sir,
I pointed you in your device forum and if you already asked there you must wait an answer from the experts. If you don't receive anything you can try asking in this forum :
> Android Development and Hacking > Android Software and Hacking General [Developers Only]
Have a nice day
Good luck

New to Rooting

Hi guys
i am new to rooting devices i have jailbroke my ipad etc but i have always had android mobiles in particular nexus 4/5/6
i am looking to root my device the sole reason being so i can use Hound on my phone. can someone point me in the right direction on where to start with this currently running *nexus 6 with latest firm update*
thanks for the help in advance
Hi,
Before asking this basic question on a very popular development friendly device, I would suggest you visit the N6 section, here...
http://forum.xda-developers.com/nexus-6
The General section has a Roll up Index thread which likely has the help you need, and there are other great guides and tutorials in the General and Q&A sections.
If you get stuck after doing your homework....you can ask for help in the Nexus 6 Q&A section. This hobby takes a LOT o reading. You will find it tough to get help if you don't read read read first. Especially with a Nexus device, where there is lots of info here for those. Also, the more you know, the less likely you will run into troubles with your device.
Good luck!! And I will close this thread.
Darth
Forum Moderator

Good Alternative OPO ROMs?

Hey OnePlus users! I wish I could put this in the development category, but I can't yet. I just have one thing I want to have: all working alternative ROMs. I'm talking no Cm, Slim or AOSP based, things like MIUI, SailfishOS, FlymeOS, or even obscure things like Ubuntu-Touch. Thank you, I appreciate all your help!
stupidiot said:
Hey OnePlus users! I wish I could put this in the development category, but I can't yet. I just have one thing I want to have: all working alternative ROMs. I'm talking no Cm, Slim or AOSP based, things like MIUI, SailfishOS, FlymeOS, or even obscure things like Ubuntu-Touch. Thank you, I appreciate all your help!
Click to expand...
Click to collapse
1. This wouldn't belong in 'Development' even if you could post there.
2. First rule of XDA - Search. It's not difficult to search the ROMs and find what you're after.
stupidiot said:
Hey OnePlus users! I wish I could put this in the development category, but I can't yet. I just have one thing I want to have: all working alternative ROMs. I'm talking no Cm, Slim or AOSP based, things like MIUI, SailfishOS, FlymeOS, or even obscure things like Ubuntu-Touch. Thank you, I appreciate all your help!
Click to expand...
Click to collapse
As the previous member already stated, this wouldn't go in the development section anyway. Only actual development (ROMs, kernels, hacks, exploits) should ever be posted in the development section. So please never post a question there.
You'll find all ROMs for this device in our development sections, and some in our general section. I also have an index thread here:
http://forum.xda-developers.com/showthread.php?t=2843675
So it's up to you to go and find them for yourself, it isn't up to anyone else to list them here for you.
Heisenberg said:
As the previous member already stated, this wouldn't go in the development section anyway. Only actual development (ROMs, kernels, hacks, exploits) should ever be posted in the development section. So please never post a question there.
You'll find all ROMs for this device in our development sections, and some in our general section. I also have an index thread here:
http://forum.xda-developers.com/showthread.php?t=2843675
So it's up to you to go and find them for yourself, it isn't up to anyone else to list them here for you.
Click to expand...
Click to collapse
And on that note, this thread is closed.

[Completed] Easiest ways to examine and recompile android sepolicy

I'm using Android 6.0.0 on a bunch of Nexus 6 and Nexus 5x phones, but I think this question likely applies to other recent devices and versions of android (including Lollipop). I'm relatively experienced when it comes to selinux in the server world, and am looking for ways to examine and customize my Android selinux policy. Mind you I have no trouble creating and booting custom boot.img files, where I can alter /init.rc and /sepolicy. Hence, my question is what is the best way to decompile /sepolicy (to see what it is doing), and what is the best way to rebuild it.
Some things I've tried that don't work: Existing tools (sedispol, sesearch) on linux distributions that support selinux do not work, because android uses some weird forked v30 policy file format. The standard tools only go up to version 29, and worse there seems to be a competing candidate for v30 that is incompatible. I've also compiled the AOSP selinux tools on regular linux (https://android.googlesource.com/platform/external/selinux), and those seem to work on standard v29 policy files (such as those from stock fedora), but dispol still cannot seem to examine an android sepolicy file. I get errors like "libsepol.avtab_read_item: more than one specifier".
The final thing I could do is take it on faith that if, say, for my nexus 5x I clone https://android.googlesource.com/device/lge/bullhead, that the contents of the sepolicy directory actually corresponds to what is on my phone. I guess I can live with that since I'll just be replacing the sepolicy file with my own customized version. However, I also can't figure out how to build sepolicy, given again this weird v30 output format required.
So I would appreciate either a pointer to a "howto," or some sort of reference on how to build sepolicy for android, especially those geared towards people who are already use selinux, just don't know how to get the android variants of the tools up and running.
Hello,
Welcome to XDA.
Normally I would just give a link to a better place to ask your question but in your case I will give you the link and a tip for finding what you are going to want to know about this since you are asking about this for the purposes of applying it to many devices.
Ok, to make your search simpler. If you are on your PC or on mobile device using a mobile browser(not an android app that lets you view these forums) look in the top right corner of the page and in the "search all forums" search box, in that box type "SELinux (your model number)" or just "SELinux" this will give you threads that pertain to your devices specifically and SELinux, in them you can find most of what you want.
For more help with questions you can post your questions in the forum linked below.
http://forum.xda-developers.com/android/help
The experts there may be able to help.
Remember to register an XDA account so you can post and reply in the forums. Good luck.
Droidriven said:
Hello,
Welcome to XDA.
Normally I would just give a link to a better place to ask your question but in your case I will give you the link and a tip for finding what you are going to want to know about this since you are asking about this for the purposes of applying it to many devices.
Ok, to make your search simpler. If you are on your PC or on mobile device using a mobile browser(not an android app that lets you view these forums) look in the top right corner of the page and in the "search all forums" search box, in that box type "SELinux (your model number)" or just "SELinux" this will give you threads that pertain to your devices specifically and SELinux, in them you can find most of what you want.
For more help with questions you can post your questions in the forum linked below.
http://forum.xda-developers.com/android/help
The experts there may be able to help.
Remember to register an XDA account so you can post and reply in the forums. Good luck.
Click to expand...
Click to collapse
Thanks for the response. I did search for selinux before posting, and couldn't find anything. This is really a general question about building AOSP, so not that appropriate for any specific device forum. I also browsed the forums, and I think more appropriate than the one you suggested is the software hacking forum (http://forum.xda-developers.com/android/software-hacking), but since I don't have 10 posts I can't post there.
15xda said:
Thanks for the response. I did search for selinux before posting, and couldn't find anything. This is really a general question about building AOSP, so not that appropriate for any specific device forum. I also browsed the forums, and I think more appropriate than the one you suggested is the software hacking forum (http://forum.xda-developers.com/android/software-hacking), but since I don't have 10 posts I can't post there.
Click to expand...
Click to collapse
The forum linked below has some off topic threads that you can post in until you get 10
http://forum.xda-developers.com/general/off-topic
Then you can do a search for XDA University and it will give you everything you want to know about android hacking compiling, porting and building.

Categories

Resources