Hi friends.
I want to modify the stock Launcher 4.2.2 APK to make the search bar look like it was in 4.0.4.
I need to download a file that was between Android versions. It is in Android Git in binary file, but I don't know how to get it.
The link is: https://android.googlesource.com/pl...d6/res/drawable-land-xhdpi/workspace_bg.9.png
Can anyone help me to get it?
Thank you.
To download a git repository put the command on Linux Terminal:
git clone url_to_repository
Or try to use a SVN software on Windows (Like TortoiseSVN)
Thank you friend for your response!
Unfortunately, I get this:
$ git clone https://android.googlesource.com/platform/packages/apps/Launcher2/+
/cc216bf678b05dbe25fd4e5d5c87359ae12658d6/res/drawable-land-xhdpi/workspace_bg.
9.png
Cloning into 'workspace_bg.9.png'...
fatal: remote error: Git repository not found
Click to expand...
Click to collapse
Raikkon35 said:
Thank you friend for your response!
Unfortunately, I get this:
Click to expand...
Click to collapse
That's because there is nothing @ https://android.googlesource.com/platform/packages/apps/Launcher2/+ .... Just put it in a browser and see, you'll get a 404 Not Found Error ... Check the URL and then try again ...
This means the file I want doesn't exists? It's strange, because in the URL that I put in the first post, appears it's size and all.
Thank you!
Related
fatal: Couldn't find remote ref refs/heads/cm-10.2 Dose any dev know why im getting this error when i start "repo sync"
gavster26 said:
fatal: Couldn't find remote ref refs/heads/cm-10.2 Dose any dev know why im getting this error when i start "repo sync"
Click to expand...
Click to collapse
Did you try to sync cm-10.2 sources? Could you show us your manifest.xml and your local_manifest.xml?
If I were you I would try to do the repo init again and try syncing, maybe there was an error at the first repo init
mihahn said:
Did you try to sync cm-10.2 sources? Could you show us your manifest.xml and your local_manifest.xml?
If I were you I would try to do the repo init again and try syncing, maybe there was an error at the first repo init
Click to expand...
Click to collapse
i have tried repo init a few times still the same. i can't seam to open the repo folder to get the .xml files. im new to all this. I have just been modifying stock roms and now going to this next stage lol. harder than it looks
gavster26 said:
i have tried repo init a few times still the same. i can't seam to open the repo folder to get the .xml files. im new to all this. I have just been modifying stock roms and now going to this next stage lol. harder than it looks
Click to expand...
Click to collapse
plz give a bit detalied info.. and have u did each and every step correct cause it never happend to me
gavster26 said:
i have tried repo init a few times still the same. i can't seam to open the repo folder to get the .xml files. im new to all this. I have just been modifying stock roms and now going to this next stage lol. harder than it looks
Click to expand...
Click to collapse
That's no problem of course, we all had to start from a little knowledge and we've been learning much
You should check this tutorial for a full guide, but maybe you won't get a 100% working compilation because when cyanogenmod implements new functions in cm, there can be some errors while compiling you have to fix
mihahn said:
That's no problem of course, we all had to start from a little knowledge and we've been learning much
You should check this tutorial for a full guide, but maybe you won't get a 100% working compilation because when cyanogenmod implements new functions in cm, there can be some errors while compiling you have to fix
Click to expand...
Click to collapse
Ok my friend i will check it out thank you for your time
@mihahn will following that tutorial be ok for xperia j. I should have said which device i was trying to build for.
@mihahn will following that tutorial be ok for xperia j. I should have said which device i was trying to build for.
Is there any way to download the android source code with torrent?
I am trying to download the jb 4.3 source code with repo tool but the speed is too slow and I got an error while saving the source code...!
so the source code folder is still empty...!
nothing is shown there...!
please update the torrent links of android sources of different versions...!
thanks in advance
You could use a download manager like DAM. this will speed up the download and rescue it if it fails.
Sent from my GT-I9505G using Tapatalk
Need a Tutorial about this ...!
or any guideline with pictures ...!
do not understand how to use it ...!
Waiting for your reply ...!
AMoosa said:
You could use a download manager like DAM. this will speed up the download and rescue it if it fails.
Sent from my GT-I9505G using Tapatalk
Click to expand...
Click to collapse
R u serious?! Suppose u r talking about Download accelearate manager and that is a windows app while we stream the android source in ubuntu/linux distro/MacOSX lmao
and obviously even if ubuntu had it, we wouldn't be able to use such a 3rd party like that w terminal.
Muhammad_Ali said:
Need a Tutorial about this ...!
or any guideline with pictures ...!
do not understand how to use it ...!
Waiting for your reply ...!
Click to expand...
Click to collapse
To OP: u cant speed up tho, it depends on ur connection and my speed is slow, too. All u should do is use -f flag to force the sync to continue over broken things: for example u can use "repo sync -f -j16" or so. It will be slow and long at ur first sync and first rom source. For second source (that u may work w multiple roms later) you can use the flag --reference=~/path/to/your/first/source if they r the same android version like slimkat and beanstalk 4.4 and carbon 4.4 or so in order to save u tons of space and time.
And one more thing, u r posting in wrong section, should go to Android general question and answer tho. Will report this later that Mods can move it to the right section.
Sent from my GT-N7000 using Tapatalk
can I use this "-f" flag with the command
Code:
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.3_r2.2-cts
Is there any way to force this download without any error?
If yes then please help me...! also tell is it necessary to run these commands as root user?
Muhammad_Ali said:
can I use this "-f" flag with the command
Code:
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.3_r2.2-cts
Is there any way to force this download without any error?
If yes then please help me...! also tell is it necessary to run these commands as root user?
Click to expand...
Click to collapse
You just need it to initialize the repo. If you are going to sync it, you can stop it in every moment without breaking anything. You will just lost the progress of your currently synced project.
Hi everyone,
i've downloaded keyguard source from AOSB Github (https://github.com/AOSB/android_frameworks_base/tree/kitkat/packages/Keyguard), and after made all changes i need, i would like to compile/build it as an .apk, but i don't know how to do that
Someone can help me please ?
I'm using Windows.
I will be grateful to people who give me answers
Android Studio ☺
worf_1977 said:
Android Studio ☺
Click to expand...
Click to collapse
Thank you for your help.
But i when i try to build it, i've git an error and it says:
Error:FAILURE: Build failed with an exception.
* What went wrong:
Task 'assemble' not found in root project 'Keyguard'.
* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Click to expand...
Click to collapse
Any idea ? :/
EDIT: I solved it; but after make project, i don't know where is my apk :X
EDIT²: When i try to build it with eclipse, i've got 1271 errors
Bump, any other ideas ? :/
It should be placed into your $OUT folder, whatever would it be...
Hey. I am following modpunk tread on CM 12.1 build for Samsung Galaxy Alpha.
I have done almost all the steps in the README.
Now I wonder how I copy proprietary vendor files.
The README only tell me to run "./extract-files.sh", cant find where this hidden file is located.
Here is the steps in the README;
git.cryptomilk.org/projects/android/android_device_samsung_slte.git/tree/README?h=cm-12.1
Thanks in advance.
protruckker said:
Hey. I am following modpunk tread on CM 12.1 build for Samsung Galaxy Alpha.
I have done almost all the steps in the README.
Now I wonder how I copy proprietary vendor files.
The README only tell me to run "./extract-files.sh", cant find where this hidden file is located.
Here is the steps in the README;
git.cryptomilk.org/projects/android/android_device_samsung_slte.git/tree/README?h=cm-12.1
Thanks in advance.
Click to expand...
Click to collapse
http://wiki.cyanogenmod.org/w/Build_for_klte Just one as an example, I'm using klte.
The guide states you can find it under
SOURCECODEFOLDER/device/Samsung/CODENAME
Where SOURCECODEFOLDER is the folder where you downloaded the cyanogenmod source code (repo sync) and CODENAME is the code name for your device.
For Samsung devices, if you are getting any errors related to the building of some system applications like "TimeService.apk", I'd suggest you to use the files hoted at " TheMuppets" github repository.
I have done the "repo sync". After this big download I am going to directory:
"cyanogenmod/system/device/"
In this directory I only have these folders:
Common, Generic, Google, Qcom and Sample
protruckker said:
I have done the "repo sync". After this big download I am going to directory:
"cyanogenmod/system/device/"
In this directory I only have these folders:
Common, Generic, Google, Qcom and Sample
Click to expand...
Click to collapse
Can you put the link of the guide you are trying to follow? It seems like you are missing the step "breakfast", probably because there's no official build for your device. You are trying to port cyanogenmod, right?
Inviato dal mio SM-G900F utilizzando Tapatalk
Ciuffy said:
Can you put the link of the guide you are trying to follow? It seems like you are missing the step "breakfast", probably because there's no official build for your device. You are trying to port cyanogenmod, right?
Inviato dal mio SM-G900F utilizzando Tapatalk
Click to expand...
Click to collapse
yep, I am trying to port it.
Here is the "guide" I am following. Its just a readme with the build steps.
URL:
git.cryptomilk.org/projects/android/android_device_samsung_slte.git/tree/README?h=cm-12.1
protruckker said:
yep, I am trying to port it.
Here is the "guide" I am following. Its just a readme with the build steps.
URL:
git.cryptomilk.org/projects/android/android_device_samsung_slte.git/tree/README?h=cm-12.1
Click to expand...
Click to collapse
Not a definitive answer, but it looks like something has gone wrong with your syncing. As you can see from the readme, the manifest should include "projects/android/android_device_samsung_slte.git" and
"projects/android/android_kernel_samsung_slte.git". By looking at the file tree of the _device_ one, there is actually a file called "extract-files.sh". Use an utility like "locate" or a search bar in your desktop manager to see if you actually have this file, as the repo sync should have cloned the git repository!
Ciuffy said:
Not a definitive answer, but it looks like something has gone wrong with your syncing. As you can see from the readme, the manifest should include "projects/android/android_device_samsung_slte.git" and
"projects/android/android_kernel_samsung_slte.git". By looking at the file tree of the _device_ one, there is actually a file called "extract-files.sh". Use an utility like "locate" or a search bar in your desktop manager to see if you actually have this file, as the repo sync should have cloned the git repository!
Click to expand...
Click to collapse
I think I have found the problem. I did spell a folder name wrong. Think thats it.
protruckker said:
The repo is about 50 Gb so should I try to sync it again?
Click to expand...
Click to collapse
50? You sure? Have you tried using the -c option while syncing? My CM 12.1 source code is working and it's "merely" 25 GBs or less.
Anyway, if you are missing *every* file from that git repo, you definetely should. Make also sure the manifest file that the readme tells you to create includes everything as shown! Check first if you are missing only some files... At the very least, you might just download the missing extract-files from that git repo.
Ciuffy said:
50? You sure? Have you tried using the -c option while syncing? My CM 12.1 source code is working and it's "merely" 25 GBs or less.
Anyway, if you are missing *every* file from that git repo, you definetely should. Make also sure the manifest file that the readme tells you to create includes everything as shown! Check first if you are missing only some files... At the very least, you might just download the missing extract-files from that git repo.
Click to expand...
Click to collapse
The problem was that I spelled the "local_manifests" folder wrong.
Now I have a "Samsung" folder in there.
Thanks
protruckker said:
The problem was that I spelled the "local_manifests" folder wrong.
Now I have a "Samsung" folder in there.
Thanks
Click to expand...
Click to collapse
Great! Have fun with your ported Cyanogenmod. Glad I could help.
We have a button dedicated just to thanks!
HI,
I tryt today to build an CM 13 Rom. But i get Only errors after downloading Sourcecode ETC
Code:
pastebin com/v16aCViD
Just add an . to domain
Can Anyone Help me? If u dont Understand of words cuz These are german.
Thanks.
MemplerTV said:
HI,
I tryt today to build an CM 13 Rom. But i get Only errors after downloading Sourcecode ETC
Code:
pastebin com/v16aCViD
Just add an . to domain
Can Anyone Help me? If u dont Understand of words cuz These are german.
Thanks.
Click to expand...
Click to collapse
run sudo apt-get install maven and try again
rpdroky said:
Just add an . to domain
Can Anyone Help me? If u dont Understand of words cuz These are german.
Thanks.
run sudo apt-get install maven and try again
Click to expand...
Click to collapse
I do alredy and its up do date ...