Building Android from source with Superuser privileges? - Android Software Development

Hi,
I am going to be building Android for the Gumstix plaform and was curious about the root status of doing it this way.
1) Does anyone know if the Gumstix builds are pre-rooted?
2) Is there a way to include root privileges in the source that is then built and imaged onto the device?
You can look at gumstix here: http://gumstix.com

Related

Compile a single apk from source

Hello
i wanted to add this mod to my stock JWR66V systemui.apk https://github.com/rascarlo/android_frameworks_base/commit/3dbccd8f937555b58d5247c15b952e4bc6969b47
after some research found that i need the source from Google...now i got a tick on all requirements except one my internet speed, i have a 512kbps connection and now way in hell will i be able to download 8.5 gb for compiling a single apk..
so is there someone willing to help me by compiling the apk. :fingers-crossed:
Best bet would be to install xposed and see if there's a module that does what you want (I imagine so)
Can't you simply decompile the apk (pulled via adb from your phone), do the changes and compile it again?
There are tools for that like for example apktool
Sent from my Nexus 4 running Android 4.3

guidance needed on compiling an existing android code

Hi,
Sorry for the basic question here. I just want to compile and build an apk from an android open source project; but i don't know how to !!
I'm on ubuntu 13.10. I have downloaded the Android ADT bundle from developer android com /sdk/ index.html
I've run eclipse (from ADT bundle) and have imported a downloaded version of the open source project.
The open source project is Prey github com / prey / prey-android-client
The project is setup in eclipse but i see red flags and doesn't run (because it doesn't know how to run).
Can you guys point me to a guide or tell me how to compile & build an apk out of this.
Unfortunately the README file in the repository is useless (i.e. blank!)
Thanks.
shanehelms said:
Hi,
Sorry for the basic question here. I just want to compile and build an apk from an android open source project; but i don't know how to !!
I'm on ubuntu 13.10. I have downloaded the Android ADT bundle from developer android com /sdk/ index.html
I've run eclipse (from ADT bundle) and have imported a downloaded version of the open source project.
The open source project is Prey github com / prey / prey-android-client
The project is setup in eclipse but i see red flags and doesn't run (because it doesn't know how to run).
Can you guys point me to a guide or tell me how to compile & build an apk out of this.
Unfortunately the README file in the repository is useless (i.e. blank!)
Thanks.
Click to expand...
Click to collapse
I would say you should go though the getting started guides on d.android.com and things will become a little more clear

AOSP Port to Qualcomm Note 4 (trltexx) - N910G

Greeting Developers :angel:,
I am new to this ROM building/porting process.
I want to install Vanilla Android on my note-4, so after questioning Google number of times, I came across official Android development guide on official Android website: https://source.android.com/source/downloading.html
I have downloaded the Android source locally and was following various Guides and tutorials from XDA-University & forums only for the development process. http://xda-university.com/as-a-developer/porting-aosp-roms-using-source-code
I discovered that for downloading/configuring the build for a specific device(trltexx), we need to create a localmanifest file that contains device tree, vendor and kernel configuration links for repo syncing.
Now, I want your expertise to guide me forward from this point. Questions being:
1. Can I use CM or other projects (eg. AICP etc.) device configurations for this AOSP project.
2. Can I use these configurations for cross-version android build, say if I want to compile version 6.x, can 5.x configs can be used. (Manufacturer will take several months to release version update)
or Create new configurations using some guide/tutorial/book or something.
In XDA, I know I'm at the write place posting my questions and asking for expertised help.:good:
Thanks!!

Kali nethunter for yu yunique/plus

Kali nethunter is a penetration testing android mod, that installs a linux (kali) chroot at the data partition of the device. Although the same can be achieved by using simple apps like Linux Deploy, but Nethunter provide you with a UI by using the nethunter app and unified android and linux terminal.NetHunter supports Wireless 802.11 frame injection, one-click MANA Evil Access Point setups, HID keyboard (Teensy like attacks), as well as BadUSB MITM attacks – and is built upon the sturdy shoulders of the Kali Linux distribution and toolsets
For more info :-
https://www.kali.org/kali-linux-nethunter/
STEPS:-
1)Download the files from below
2)Flash Zip1 & Zip2
3)Reboot phone
4)That's it . You are good to go now
NOTE:-
1)You can flash Caesium Kernel if you want full kali nethunter support
2)I have not tested it in miui but it should work
3)You have to flash both zips
4)You will need a compatible WiFi adapter for hid and other type of attacks .
Links :-
nethunter-arm.zip
update-nethunter-arm.zip
Caesium Kernel
Source Code: https://build.nethunter.com
Version Information
Status: Stable
Do I need to do a clean flash or dirty flash it over my current rom?
Andy2290 said:
Do I need to do a clean flash or dirty flash it over my current rom?
Click to expand...
Click to collapse
Just flash it over your rom
Sent from my Redmi 3S using Tapatalk
Sir, I would like to ask your permission to share your amazing work on YU forums where more number of Yunique users will be able to find it. All the credit will be given to you and I will provide a link to this XDA thread. I hope you allow me and give me permission to do so.
If you feel I might be in the wrong here then I would request you to post this project of your by yourself on the YU forums. It will be much appreciated there.
Removing?
I have installed it for testing, Now I want to remove it. is there a way to uninstall it?
I'm having lollipop stock ROM. Shall I install Ceasium Kernal?
blacm said:
I have installed it for testing, Now I want to remove it. is there a way to uninstall it?
I'm having lollipop stock ROM. Shall I install Ceasium Kernal?
Click to expand...
Click to collapse
I don't support lollipop, so no bug reports for Caesium please
reserved
I have yu yuphoria 5010a . Installed twrp and custom rom of android pie . will this penetrating software work on my device?

Aosp build for davinci

Hi, I followed relatively all the steps on android open source project, and I managed to build on an image of rom (predicted as aosp) but I was nowhere told where and how to enter drivers and etc, and I did not do so, in the absence of documentation, we didn't find anywhere else, somewhere at the beginning of the guide we wrote that we would need proprietary files to use, but not how. I read on a thread on xda (but it was strictly about sony devics) that simply, after I had to give flash to the picture.
Will it boot? without any changes ?
I haven't found any guide anywhere, if you have one, please give it to me.
Thanks in advance
you must add davinci kernel source to your sync aosp source (with local manifest).
davinci open source kernel for android r is here:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/phoenix-r-oss
Learning about local manifest and repo tool here:
https://forum.xda-developers.com/t/learn-about-the-repo-tool-manifests-and-local-manifests-and-5-important-tips.2329228

Categories

Resources