does anyone know how to build apk from github, what is needed?
First Git hub is just code, so you must have development environment :
1- Download android SDK
2- open Eclipse and from File menu chose import and select existing code
3- you have the project now
note : you must have downloaded the project from Github first
mohamedrashad said:
First Git hub is just code, so you must have development environment :
1- Download android SDK
2- open Eclipse and from File menu chose import and select existing code
3- you have the project now
note : you must have downloaded the project from Github first
Click to expand...
Click to collapse
oke, thanks :victory:
do you know where I can get all
zay4rief said:
oke, thanks :victory:
do you know where I can get all
Click to expand...
Click to collapse
The Github code from github project you will see "download zip" after download extract
SDK from http://developer.android.com/sdk/index.html?utm_source=weibolife
mohamedrashad said:
The Github code from github project you will see "download zip" after download extract
SDK from http://developer.android.com/sdk/index.html?utm_source=weibolife
Click to expand...
Click to collapse
thanks bro:good:
Just press the thanks button
mohamedrashad said:
Just press the thanks button
Click to expand...
Click to collapse
oke... thanks press:laugh:
Related
MIUI ROM Porter
About the tool:
This tool is based on rishab.raj37's great guide. And makes porting MIUI ROMs in few simple clicks. This is made only for linux.
Click to expand...
Click to collapse
How to use it:
1. Download the tool zip from here.
2. Extract the zip and place the script.sh, build and up file and your ROM zips in the home directory (~/) (home/username).
3. Now open the terminal and type the following:
Code:
./port.sh
In some cases this might not work so try this:
Code:
bash ~/port.sh
4. Now follow the on-screen instructions and done. :good:
5. You can find your ported ROM in ~/PORT/ directory.
6. Enjoy and press THANKS.
Click to expand...
Click to collapse
Note:
If you get stuck on bootloop, try this tool, here.
Click to expand...
Click to collapse
Credits:
rishab.raj37- For such a great guide
ME
Click to expand...
Click to collapse
hey what it exactly do?
I tried to have fun with patchrom but have too old laptop ( has not enough ram ).
So it just copying all the files or also patching frameworks?
You know what I mean. That we need the same manufacturer rom with the same base not?
For example rom is based on cm10 and I want to port to base AOSP. So will this work or not?
lsander said:
hey what it exactly do?
I tried to have fun with patchrom but have too old laptop ( has not enough ram ).
So it just copying all the files or also patching frameworks?
You know what I mean. That we need the same manufacturer rom with the same base not?
For example rom is based on cm10 and I want to port to base AOSP. So will this work or not?
Click to expand...
Click to collapse
Nopes that's the main prob for now...framework editing is not possible through this script thus u will have to urself patch the framework
Press THANKS if I helped,
Best Regards,
AJ
alokbina is now Abhinav2
Abhinav2 said:
Nopes that's the main prob for now...framework editing is not possible through this script thus u will have to urself patch the framework
Press THANKS if I helped,
Best Regards,
AJ
alokbina is now Abhinav2
Click to expand...
Click to collapse
I have the same Q,but THX~
Sent from my EVO using xda premium
Can i use a base rom that works on my i9505 and a i9500 newer miui version to port ?
Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
elesbb said:
Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
Click to expand...
Click to collapse
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Maybe you will need to add some external libraries like the supportv4 library.
dcsms said:
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Click to expand...
Click to collapse
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
elesbb said:
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
dcsms said:
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
Click to expand...
Click to collapse
Thanks man!
I was able to use smali to do what I wanted and theo0so was able to help me sign it with CM keys to allow it to run
But there were a lot more things I wanted to mess around with, so when I get a day off I will follow all steps Thanks again!
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
Contributing to the project
All submissions must be made via gerrit
Prerequisites:
Sign up at gerrit.paranoidandroid.co
Create a username on gerrit (Account Settings -> HTTP Password)
Register your public ssh key (Account Settings -> SSH Keys)
Set your gerrit username on your local machine using:
git config --global review.gerrit.paranoidandroid.co.username “username” (no quotes)
Click to expand...
Click to collapse
There are two options available for uploading your changes to gerrit (Repo Upload or Git Push).
Note: Linux is case sensitive, the items below are written as they should be in terminal
Repo Upload
repo start <branch> <path to repo> | example repo start haloStuff frameworks/base
cd to your working folder | example cd frameworks/base
Make your changes¹ (manual edits or cherry-picked commit)
Stage your changes using: git add <path to files changed> | example
git add packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
Alternately, you could stage all changed files using: git add .
Commit your changes² using: git commit -a
repo upload <repo name>
Click to expand...
Click to collapse
Git Push
The same steps as above apply up to and including performing your local commit.
Replace the repo upload (final step) with the following:
git push ssh://(gerrit username)@gerrit.paranoidandroid.co:29418/AOSPA/(repo name) HEAD:refs/for/(branch)
git push ssh://[email protected]:29418/AOSPA/android_frameworks_base HEAD:refs/for/jb43
Click to expand...
Click to collapse
How to update commits in gerrit:
Ensure your previous commit submission or the commit you wish to update is at the head of the given repo tree
Make your updates/changes
git add -A
git commit --amend
Append your changes to the description (Do not remove the change-Id from the previous commit)
Use: git push ssh://(gerrit username)@gerrit.paranoidandroid.co:29418/AOSPA/(repo name) HEAD:refs/for/(branch)
Click to expand...
Click to collapse
** Before uploading anything, please build and test your changes.
1* - If you're cherry-picking a commit that has not gone through a change-Id process, you will not be able to upload it. Simply attempt to upload and when it errors, a change-id will be suggested. Add this Id to the bottom of your commit by amending your original commit statement and then proceed to upload.
git commit --amend
2* - The following format should be used when making your commit statement.
Single project commit example
Short descriptive summary (50 characters or less)
<blank line>
Followed by a more detailed explanation of what you changed and why it was changed.
Bullet points should be used where necessary.
* Denoted either by an asterisk (*)
- Or by hyphens (-)
Click to expand...
Click to collapse
Optional: Include a link to a screenshot, if your change has some visible impact.
Multi-project commit example - Each commit should be numbered [x/y]
[x/y] <Component> : Short descriptive summary (50 characters or less)
<blank line>
Followed by a more detailed explanation of what you changed and why it was changed.
Bullet points should be used where necessary.
* Denoted either by an asterisk (*)
- Or by hyphens (-)
Click to expand...
Click to collapse
Optional: Include a link to a screenshot, if your change has some visible impact.
Best Practice
It is good practice to retain original committer's credentials, such as making sure the commit author is directed to their github username. Also, documentation of where coding came from if cherry picked would be greatly appreciated (provide direct links where possible).
If your are aware of who the original author is but your cherry-pick does not contain this information, you can fill in the original author name by using
git commit --amend --author "FirstName LastName <[email protected]>"
Click to expand...
Click to collapse
Commit Examples
Single component:
https://gerrit.paranoidandroid.co/#/c/158/
Multiple components:
https://gerrit.paranoidandroid.co/#/c/233/
https://gerrit.paranoidandroid.co/#/c/232/
PA-Gerrit How To by @ayysir
*Reserved*
It should be noted that not all repos in AOSPA's Github are under Gerrit Code Review at the moment. If you do not see the repo in the project list please continue to submit as a pull request for the time being to AOSPA.
Whom should i contact if i want to change my username on gerrit?
As that particular option is disabled in profile.
Sent from my GT-P3100 using Tapatalk
Chirag_Galani said:
Whom should i contact if i want to change my username on gerrit?
As that particular option is disabled in profile.
Sent from my GT-P3100 using Tapatalk
Click to expand...
Click to collapse
I'm not quite sure if it can be changed
Anu6is said:
I'm not quite sure if it can be changed
Click to expand...
Click to collapse
Have a look here:-
https://groups.google.com/forum/#!topic/repo-discuss/DijhrjUnJyU
Chirag_Galani said:
Have a look here:-
https://groups.google.com/forum/#!topic/repo-discuss/DijhrjUnJyU
Click to expand...
Click to collapse
Requires an Admin with database access.
May be easier to update your local username...i'll try to contact Aaron
Anu6is said:
Requires an Admin with database access.
May be easier to update your local username...i'll try to contact Aaron
Click to expand...
Click to collapse
Thanks a lot @Anu6is Hoping for a positive reply
Sent from my GT-P3100 using Tapatalk
Anu6is said:
Requires an Admin with database access.
May be easier to update your local username...i'll try to contact Aaron
Click to expand...
Click to collapse
I'll look into it as soon as I can.
Sent from my LG-LS980 using Tapatalk
garwynn said:
I'll look into it as soon as I can.
Sent from my LG-LS980 using Tapatalk
Click to expand...
Click to collapse
Thanks
garwynn said:
I'll look into it as soon as I can.
Sent from my LG-LS980 using Tapatalk
Click to expand...
Click to collapse
Anu6is said:
Thanks
Click to expand...
Click to collapse
Any progress in the name change process???
Is there LG L7 paranoid android
Chirag_Galani said:
Any progress in the name change process???
Click to expand...
Click to collapse
Sorry, was digging around for an answer and the best explanation I can find as to why it cannot be changed was here:
https://code.google.com/p/gerrit/issues/detail?id=1217
Put bluntly, even if we do change it could break other things in Gerrit. Something I'm not a particular fan of doing.
garwynn said:
Sorry, was digging around for an answer and the best explanation I can find as to why it cannot be changed was here:
https://code.google.com/p/gerrit/issues/detail?id=1217
Put bluntly, even if we do change it could break other things in Gerrit. Something I'm not a particular fan of doing.
Click to expand...
Click to collapse
Ok no issues. thanks anyway.
@Anu6is I cherry-picked from the gerrit and made some changes in the files. I now want to upload the changes. When I give the command git commit --amend I make the necessary changes and when I push the change through git push it creates a new open commit. What should I do.
The changes are mere clean up according to the comments in the initial commit.
rksomayaji said:
@Anu6is I cherry-picked from the gerrit and made some changes in the files. I now want to upload the changes. When I give the command git commit --amend I make the necessary changes and when I push the change through git push it creates a new open commit. What should I do.
The changes are mere clean up according to the comments in the initial commit.
Click to expand...
Click to collapse
You need to place the Change ID of the commit on gerrit as the last line of your commit message in terminal.
You can simply copy the change id from gerrit. It's on the right side of the commit message
thanks
Chirag_Galani said:
Whom should i contact if i want to change my username on gerrit?
As that particular option is disabled in profile.
Sent from my GT-P3100 using Tapatalk
Click to expand...
Click to collapse
I am dying to try out your aosp rom thumbs up man nice work:good: :fingers-crossed:
Is there any guide how to build and test my changes?
rackajuh said:
Is there any guide how to build and test my changes?
Click to expand...
Click to collapse
make your changes locally and build it....you are supposed to build and test before submitting
Pirateghost said:
make your changes locally and build it....you are supposed to build and test before submitting
Click to expand...
Click to collapse
That was not my question. I asked how to build and test.
How to remove these? : Hyperion Dev team, Community support and Hyperion version tab. Please guide me to delete it or just replace the text. Thanks
GalKill said:
How to remove these? : Hyperion Dev team, Community support and Hyperion version tab. Please guide me to delete it or just replace the text. Thanks
Click to expand...
Click to collapse
First check ,in the android manifest for the tab activity.Then open the smali for it and remove the last tab option.
nightwalker said:
First check ,in the android manifest for the tab activity.Then open the smali for it and remove the last tab option.
Click to expand...
Click to collapse
But which smali? Can u give me the ss?
GalKill said:
But which smali? Can u give me the ss?
Click to expand...
Click to collapse
I don't have the device now.As I hard bricked it.You can check in android manifest for the activity of the tabs.there you will find and I can help you better then.
Hello everyone.
I'm trying to start to make some mods in some applications but I'm not sure where to start, mainly because i'm in Linux.
For Windows I know about dnSpy which allow us to decompile, edit, compile etc etc apk files!
Is there any applications for Linux to do the same job?
HorusEyE said:
Hello everyone.
I'm trying to start to make some mods in some applications but I'm not sure where to start, mainly because i'm in Linux.
For Windows I know about dnSpy which allow us to decompile, edit, compile etc etc apk files!
Is there any applications for Linux to do the same job?
Click to expand...
Click to collapse
APK Studio :good:
guitardedhero said:
APK Studio :good:
Click to expand...
Click to collapse
Ok, I have already that application installed, but it keeps telling me that I should have some 3rd party applications in my "vendor" folder. What applications are those? I already tried to copy into that folde "adb" and also the applications that comes with APK Tool, but it still shows the same warning. And I cannot edit dll modules with APK Studio as I can with dnSpy!
HorusEyE said:
Ok, I have already that application installed, but it keeps telling me that I should have some 3rd party applications in my "vendor" folder. What applications are those? I already tried to copy into that folde "adb" and also the applications that comes with APK Tool, but it still shows the same warning. And I cannot edit dll modules with APK Studio as I can with dnSpy!
Click to expand...
Click to collapse
I use apktool and smali/baksmali...no studio needed. It is also a good idea to have old and new versions of smali/baksmali (I use 1.3.3 and 2.1.3) because some mods you download the smali files will be in old code format. So I smali them into classes.dex with the 1.3.3 and then baksmali with 2.1.3 to convert old code to new before merging with your apk.
Sent from my SM-T210 using Tapatalk
RealWelder said:
I use apktool and smali/baksmali...no studio needed. It is also a good idea to have old and new versions of smali/baksmali (I use 1.3.3 and 2.1.3) because some mods you download the smali files will be in old code format. So I smali them into classes.dex with the 1.3.3 and then baksmali with 2.1.3 to convert old code to new before merging with your apk.
Sent from my SM-T210 using Tapatalk
Click to expand...
Click to collapse
Ok, thanks
I have downloaded version 2.2.0 of smali and baksmali and also a zip containing (i hope, smali and balsmali) version 1.3.3 of the same application! Is there any basic tutorials to teach how to start with these applications?
apktool
https://youtu.be/1t5n8rR5hTE
Smali/baksmali
https://forum.xda-developers.com/showthread.php?t=1296802
Sent from my KYOCERA-C6745 using Tapatalk
RealWelder said:
apktool
https://youtu.be/1t5n8rR5hTE
Smali/baksmali
https://forum.xda-developers.com/showthread.php?t=1296802
Sent from my KYOCERA-C6745 using Tapatalk
Click to expand...
Click to collapse
Ok, after I have decompressed/decompiled/whatever the apk file I need to edit a file that is a dll module! It has some like c# or so code. How can I edit these files, change them and compile the file again???? Some use dnSpy and when the dll file is opened, we can see a lot of code, functions and stuff. How can I do that without dnSpy because looks like there is no linux version of dnSpy.
HorusEyE said:
Ok, after I have decompressed/decompiled/whatever the apk file I need to edit a file that is a dll module! It has some like c# or so code. How can I edit these files, change them and compile the file again???? Some use dnSpy and when the dll file is opened, we can see a lot of code, functions and stuff. How can I do that without dnSpy because looks like there is no linux version of dnSpy.
Click to expand...
Click to collapse
I've never had to edit dlls. Are you trying to hack a game? Anyways, on windows I use Notepad++, but on Ubuntu I use Notepadqq.
Sent from my KYOCERA-C6745 using Tapatalk
RealWelder said:
I've never had to edit dlls. Are you trying to hack a game? Anyways, on windows I use Notepad++, but on Ubuntu I use Notepadqq.
Sent from my KYOCERA-C6745 using Tapatalk
Click to expand...
Click to collapse
Yes, I was trying to create my own modded version of a game! I usually use Atom, but I already tried to open DLL files with Atom and it doesn't work!
Do I have that Notepadqq for Debian?
HorusEyE said:
Yes, I was trying to create my own modded version of a game! I usually use Atom, but I already tried to open DLL files with Atom and it doesn't work!
Do I have that Notepadqq for Debian?
Click to expand...
Click to collapse
I`ve been trying to figure out why do you want to "create a modded apk" and according to your last post , you`re trying to bypass functionalities of an original game
This kind of thread / discussion isn`t allowed on XDA according to rule 6
6. Do not post or request warez.
If a piece of software requires you to pay to use it, then pay for it. We do not accept warez nor do we permit members to request, post, promote or describe ways in which warez, cracks, serial codes or other means of avoiding payment, can be obtained or used. This is a site of developers, i.e. the sort of people who create such software. When you cheat a software developer, you cheat us as a community.
Thanks for understanding
Thread closed