Update translate without gerrit - Omni Q&A

Hi, i want to download some translate update to Omnirom project, but i cant do this, coz gerrit say me this @! [remote rejected] HEAD -> refs/for/android-4.4 (missing Change-Id in commit message footer)@

Macbet said:
Hi, i want to download some translate update to Omnirom project, but i cant do this, coz gerrit say me this @! [remote rejected] HEAD -> refs/for/android-4.4 (missing Change-Id in commit message footer)@
Click to expand...
Click to collapse
The full error message is pretty self-explanatory in regards to how to fix it...
Eventually we hope to have an easier to use translation tool, but Gerrit is the way for now.

Entropy512 said:
The full error message is pretty self-explanatory in regards to how to fix it...
Eventually we hope to have an easier to use translation tool, but Gerrit is the way for now.
Click to expand...
Click to collapse
maybe u can use transifex.com to translate app, for opensouce project transifex free to use

Macbet said:
maybe u can use transifex.com to translate app, for opensouce project transifex free to use
Click to expand...
Click to collapse
I think CM looked at that a long time ago, and it was unsuitable... Can't remember why...

Related

[Q] How to compile github java source?

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 Paranoid Android

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.

Add Multilanguage Support to a Stock Rom?

Hello Folkz,
i'm already reading in this community for months. Now i want to contribute.
I address my concern mainly to @STEVE_MARS and his Mates from TeamSpain!
How do you add Multilanguage Support to your Custom Roms. Is it via a App Like Morelocale2 or is there any other tool which helps easily translate the strings?
Please reply soon i want to contribute something
Thx in advance.
Anti
Hi,
You must insert strings in framework wih Jbart or similar tool, better under Linux. Decompile apk, insert and compile again. And same with systemUI and settings. And after that, check every menu if works properly.
Regards
STEVE_MARS said:
Hi,
You must insert strings in framework wih Jbart or similar tool, better under Linux. Decompile apk, insert and compile again. And same with systemUI and settings. And after that, check every menu if works properly.
Regards
Click to expand...
Click to collapse
Thanks man. I work with ARCH Linux. So that shouldn't be the Prob
So jBart ist the prefered tool?
Antisound said:
Thanks man. I work with ARCH Linux. So that shouldn't be the Prob
So jBart ist the prefered tool?
Click to expand...
Click to collapse
There is several tools, jBart it´s good but there is others. Try them and choose
STEVE_MARS said:
There is several tools, jBart it´s good but there is others. Try them and choose
Click to expand...
Click to collapse
Are there any "finished" translations ready. Because you Support german for your Custom Rom. Do don't think you are nativ german?
Antisound said:
Are there any "finished" translations ready. Because you Support german for your Custom Rom. Do don't think you are nativ german?
Click to expand...
Click to collapse
There is multilanguage "packages", but in Setting options you must translate manually every menu. This is the reason that we have a OTA for spanish advanced translation.
STEVE_MARS said:
There is multilanguage "packages", but in Setting options you must translate manually every menu. This is the reason that we have a OTA for spanish advanced translation.
Click to expand...
Click to collapse
Thanks dude for your answers. Just one more
You mentioned that i have to decompile the apks. Where i are the apks stored? i assume in the System.img and boot.img or?
Antisound said:
Thanks dude for your answers. Just one more
You mentioned that i have to decompile the apks. Where i are the apks stored? i assume in the System.img and boot.img or?
Click to expand...
Click to collapse
Sure, you must decompiled first system.new.dat and after system.img.
Boot.img it isn´t neccesary.
flash convart rom
Antisound said:
Hello Folkz,
i'm already reading in this community for months. Now i want to contribute.
I address my concern mainly to @STEVE_MARS and his Mates from TeamSpain!
How do you add Multilanguage Support to your Custom Roms. Is it via a App Like Morelocale2 or is there any other tool which helps easily translate the strings?
Please reply soon i want to contribute something
Thx in advance.
Anti
Click to expand...
Click to collapse
Falsah convart Rom done multi add language

J700P CyanogenMod Dev Thread (NEW!)

Hey guys, after the recent collapse of the dev thread by messi, I've decided to try to build CM13 for myself. I've created a thread to post progress and such. My vendor and device trees will be updated periodically on Github until the first working build. In a comment below my post, I will post the current error I get when I try to build it.
CURRENT BUG:
Will not boot.
minz1 said:
CURRENT ERROR:
Code:
target SharedLib: libm (/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so)
Invalid context file found in /home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts
Install: /home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/system/lib64/libc.so
external/sepolicy/Android.mk:157: recipe for target '/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts' failed
make: *** [/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts] Error 5
make: *** Deleting file '/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts'
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/minz1/Desktop/CyanogenMod'
#### make failed to build some targets (04:54 (mm:ss)) ####
Click to expand...
Click to collapse
There are previous error , make clean and post the full error on pastebin
Then that means you and @Starchild2k will probably work down the middle to reach the goal.
SykkNyzz said:
Then that means you and @Starchild2k will probably work down the middle to reach the goal.
Click to expand...
Click to collapse
If he wishes to do so, then Starchild can contact me and I'll be 100% happy to work with him on that. Until then, I'm going solo.
messi2050 said:
There are previous error , make clean and post the full error on pastebin
Click to expand...
Click to collapse
http://pastebin.com/EQriaZXi
I don't know what I should do short of removing monkey from the vendor tree; I'm going to try that, though.
minz1 said:
If he wishes to do so, then Starchild can contact me and I'll be 100% happy to work with him on that. Until then, I'm going solo.
Click to expand...
Click to collapse
I am also willing to collaborate with anyone willing to reach the same goals as I am trying to do!
Starchild2k said:
I am also willing to collaborate with anyone willing to reach the same goals as I am trying to do!
Click to expand...
Click to collapse
Okay, that's good, then. You can post any errors you have in this thread. Currently, I'm stuck on this error. http://pastebin.com/mWikijrN
It'd be helpful if you gave me a link to your current vendor tree so I can compare.
I have been still working on that and i have been comparing with the other j7 vendor trees as well to get a successful build
My builds as if late seem to be getting more and more successful. I'm thinking I'm getting close to a complete build.
minz1 said:
My builds as if late seem to be getting more and more successful. I'm thinking I'm getting close to a complete build.
Click to expand...
Click to collapse
good luck bro
agriculture said:
good luck bro
Click to expand...
Click to collapse
He is building for j700p (usa model) not j700h ?
minz1 said:
Okay, that's good, then. You can post any errors you have in this thread. Currently, I'm stuck on this error. http://pastebin.com/mWikijrN
It'd be helpful if you gave me a link to your current vendor tree so I can compare.
Click to expand...
Click to collapse
your source seems to be corrupt , where is the tree u are using to build ? , i lost connection to hte pc that stores that vendor folder.
messi2050 said:
your source seems to be corrupt , where is the tree u are using to build ? , i lost connection to hte pc that stores that vendor folder.
Click to expand...
Click to collapse
GitHub under minz1
Did u ever get through ur errors yet i almost got a build done just need to add install-recovery.sh to my build that was the last error i delt with i had to do some tweaking on the kernel to get the errors to go bye bye im using the original kernel and vendor files and the brunch cm_j7ltespr-userdebug -j4 instead of just make -j4 i got the kernel and dtb built so very close indeed!
Starchild2k said:
Did u ever get through ur errors yet i almost got a build done just need to add install-recovery.sh to my build that was the last error i delt with i had to do some tweaking on the kernel to get the errors to go bye bye im using the original kernel and vendor files and the brunch cm_j7ltespr-userdebug -j4 instead of just make -j4 i got the kernel and dtb built so very close indeed!
Click to expand...
Click to collapse
yeah i'm working on cleaning up vendor right now. what did you have to do to kernel?
There was broken files and a suggestion you dont need the frameworks folder in the vendor folder it has the touchwiz framework and when ur building u must use the default framework folder or you will have errors
Starchild2k said:
There was broken files and a suggestion you dont need the frameworks folder in the vendor folder it has the touchwiz framework and when ur building u must use the default framework folder or you will have errors
Click to expand...
Click to collapse
ok i will make clean and build without these frameworks.
thanks for the suggestion. i will come back if i find anything that i think you should know about. i'm going to update the vendor files on github and start building on a remote server
Lol I wonder how u are able to build using this tree
https://github.com/minz1/android_device_samsung_j7ltespr/blob/master/BoardConfig.mk#L27
It looks for msm8939 config while the kernel source only have msm8929 config
https://github.com/minz1/android_ke...arch/arm/configs/msm8929_sec_j7_spr_defconfig
Also no lines for the used architecture or target cpu , it's better to use my tree to save your time and get past many errors.
messi2050 said:
Lol I wonder how u are able to build using this tree
https://github.com/minz1/android_device_samsung_j7ltespr/blob/master/BoardConfig.mk#L27
It looks for msm8939 config while the kernel source only have msm8929 config
https://github.com/minz1/android_ke...arch/arm/configs/msm8929_sec_j7_spr_defconfig
Also no lines for the used architecture or target cpu , it's better to use my tree to save your time and get past many errors.
Click to expand...
Click to collapse
ugh, okay. i'm curious about samsung's marketing of this device- they claim it's a 615 but it's more likely a 415. i will use your tree instead.

Can someone confirm that AdHell works on Android Pie?

Hi guys,
I just received the Android Pie update notification. Before I accept it I want to be sure that AdHell works with it.
Thanks
Yeah
Adhell3 working perfect
Yes, just make sure you have the latest version of it and you should be fine.
Using latest adhell3 from github, working perfect on pie.
Can anyone help me get adhell back working? I had to renew my key now its asking for elm key, how do I generate a new one?
NvWatts said:
Can anyone help me get adhell back working? I had to renew my key now its asking for elm key, how do I generate a new one?
Click to expand...
Click to collapse
Check the first post in this thread at reddit -
https://www.reddit.com/r/Adhell/comments/av97nk/ah3_v311_lives_on/
liamR said:
Check the first post in this thread at reddit -
https://www.reddit.com/r/Adhell/comments/av97nk/ah3_v311_lives_on/
Click to expand...
Click to collapse
I get error code 102
Check the license type and that Reddit post.
rhadoo_ds said:
Check the license type and that Reddit post.
Click to expand...
Click to collapse
Where can I get the XML file edit to change name bc apK editor didnt work for me?
NvWatts said:
Where can I get the XML file edit to change name bc apK editor didnt work for me?
Click to expand...
Click to collapse
You need APK Editor Pro. Use it to edit the package name (3,8,9 letters) line 6 in AndroidManifest.xml (XML File Edit). Don't forget to save the edited file and then generate new apk.
I have tried to update the adhell code from github ... and it messed up the entire build process ... the dev swithched to knox 3.3, and i guess that might cause my issue ..
having same issues either it gives me a 201 error even after multiple code recreations anddifferent versions. or it just closes and reasks for klm and we repeat tried creating own...still no go......any help....i had and forgot to just renew, so i accidently got rid of to recreate new...ooopps on my end and now i am here.......helllppp lol
I use apk easy tool for pc to decompile citizen v apk and modify the app name then compile and works great. I was having issues with apk editor pro on phone.
Just installed using this guide: https://is.gd/note9adhell
Pay attention that for Note 9, you need to edit the package name by editing AndroidManifest.xml, and not by using Basic Edit.
I used Basic Edit and it caused parse error.
So why do you guys all go through the process of compiling the app and all that other stuff when you can simply download the APK and install it.l, then enter your license key? I've been doing it that way for over 6 months, always worked perfectly. But today I downloaded the latest 3.1.1.290 and for some reason it won't accept my license key, it's always worked fine, I did start a thread about it and then found this so thought I'd post here too, see if anyone can help.
beta546 said:
So why do you guys all go through the process of compiling the app and all that other stuff when you can simply download the APK and install it.l, then enter your license key? I've been doing it that way for over 6 months, always worked perfectly. But today I downloaded the latest 3.1.1.290 and for some reason it won't accept my license key, it's always worked fine, I did start a thread about it and then found this so thought I'd post here too, see if anyone can help.
Click to expand...
Click to collapse
Probably because the dev doesn't recommend it and that's how other adblockers got black listed from Knox access. You don't even have to compile it.
You can use the app editor pro and edit the manifest.
Yours isn't working because you didn't modify probably....
I see quite a bit of misinformation in this and similar threads. Please keep in mind that AdHell3 is NOT supported on XDA. For official and up-to-date information about the AdHell3 project, please visit:
Main repo: https://gitlab.com/fusionjack/adhell3
Scripts for compiling: https://gitlab.com/fusionjack/adhell3-scripts
Get your EDU ELM key from: https://seap.samsung.com/license-keys/generate/edu
Official Support Discord Channel: https://discord.gg/hfreZum
Dependable(?) precompiled APKs: https://www.mediafire.com/folder/sb37c6gmhqgbn

Categories

Resources