{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Project abandoned, please do not submit pull requests.
Disclaimer: The wordings in the thread are meant to be noob-friendly and for newer developers that have just dipped their feet into Android platform development. Hence, they won't be accurate in many places for the 'geek'. Also, we had started distributing shallow cloned sources with a depth of '1' instead of non-repo sources (as they are more or less of the same size). So this should not be a problem for the ROM developers in our opinion as they can be fetched by syncing.
Hello!
We, Android Developers, have many problems. One such of them is "SLOW INTERNET" or even "LOW BANDWIDTH".
Due to these problems, we are unable to sync the BIG chunk of Android source codes from the respective repositories.
Hence, most of the new and learning developers just fail at the first step: Downloading The Source Code!
So, here I present you with a thread, which contains links to download "HIGHLY COMPRESSED", untouched (unmodified) and full Android source codes of many different ROMs!
The links to the highly compressed source codes you will find here are not uploaded by me alone. There are many other people that have contributed.
Some of them are: @DigiGoon @MSF Jarvis and @regalstreak (me)
So, Let's begin!
First things first.
You should know what a repo is.
I quote XDA:
What is Repo?
Repo is a repository management tool built on top of Git.
It’s first purpose is to downloads files from multiple git repositories into your local working directory (aka the source tree). That means that you won’t have to manually download or fetch the latest changes from about 300+ projects (depending on if you are downloading AOSP, CM or AOKP for example), repo will do it for you.
The second purpose of repo is to made it easy to submit your code contributions for review to a Gerrit server.
Click to expand...
Click to collapse
When you download a source code with repo, you get a folder named .repo in your working directory. It contains all the compressed .git format files that need to be in the source code.
After the source has been downloaded, the repo tool decompresses the files from the ".repo" folder and you get the source code in the working directory itself!
This project will give you a highly compressed shallow cloned and full tarball of the sources (for those who can't download it via repo or have limited speeds on github/aosp servers). More information is given in the FAQ section. It is must-read. Without it, you won't understand how to use these.
Note: You cannot go from CM12 source to CM12.1 or going CM12 to CM13 as these are different branches on the CyanogenMod repo. No way doing that. You will have to manually download the new source.
So, We are done with the information!
Now, The interesting part. The sources!
Note: All links on this thread are tap friendly! They open in new tabs
I have divided this into several sections for ease of reading and getting the sources. They are:
Links Of All Source Currently Uploaded
How To Request For A Source
FAQ
Announcements and General Stuff
Reserved 2
As you know that we have been using the Skadoosh script recently, which is made by me (@regalstreak), @MSF Jarvis and @DigiGoon, all our sources are being uploaded to one common folder on AndroidFileHost.
This is an automated process in which you submit a Pull Request on the Skadoosh's git and the required source will be available to you soon after it.
More information regarding the process is on Post 3 by @MSF Jarvis
The link to the folder where all the sources are uploaded is Here.
The old upload afh folder can be found Here
If you have any other issues regarding the sources, please mention us here. We will be happy to help you. Please read the FAQ before doing stuff.
Originally, we have had a "Ask on the thread, we'll try" approach to how things work. This is changing now.
While this worked good enough for those asking for the sources, the people who did the actual work were overburdened. Frankly, the process was pretty sketchy. I personally faced the burden part when there were about 6 or 7 ROMs to do! I actually forgot about one guy who made the request earliest, which kinda sucked.
Going forward, this won't happen now. We have a script up on @regalstreak's Github. Updates to it are synced to my server and executed.
The process for requesting sources is now something like this :
Go to the Github repo and edit the compress.bash script
Start a Pull Request
Wait for it to be merged
Wait for even more time to let it upload and one of us to send the confirmation here.
Do whatever the heck you want with those sources!
NOTE: The compress.bash looks like this in a classic example of how to do it WRONG.
Code:
name=AOSP
manifest=[url]https://android.googlesource.com/platform/manifest[/url] -b android-4.0.1_r1
branch=android-6.0.1_r55
./skadoo.sh $name $manifest $branch
This was after This PR was merged and is being shown as the perfect way to mess it up. You are ALREADY passing the branch parameter separately, so adding '-b android-4.0.1_r1' looks like a shining example of blind copy paste. Don't do that. Change the name, manifest and branch with some general application of the faculty of common sense.
Interested users are also suggested to read this strongly worded post.
FAQ
Q1> How should I extract the source?
Ans:
First you will have to join the archive parts into one big archive. Download all the parts. Then put all parts in one folder. Verify md5sum by
Code:
md5sum -c *.md5sum
Then do
Code:
cat *.tar.* > yourbigarchivename.tar.xz
Just quote me if you don't understand this. I'll help you out.
If your archive is in .tar.xz format, do this:
Open Terminal
Now cd to the drive where you have downloaded the sources
Extract it
Code:
tar -xvJf (file name here).tar.xz
If your archive is in .tar.gz format, so do this:
Open Terminal
Now cd to the drive where you have downloaded the sources
Extract it
Code:
tar -xvzf (file name here).tar.gz
Now you have extracted the source.
Q2> I am not able to extract the source. What should I do?
Ans: You cannot extract source with GUI on the Archive Extractor. So, try the method I mentioned.
Q3> Is the size of all files 2GB? I saw the size 2GB on AndroidFileHost!
Ans: The mentioned size on AFH is incorrect. AndroidFileHost has some problems while showing file sizes for files above 2GB. You need to click on Download once to view the correct size!
Q4> How do you compress them? I mean, I need the command so that I can help you out!
Ans: Our script is open source. You can view it here: https://github.com/regalstreak/skadoosh
Q5> What are shallow and full sources?
Ans: Shallow sources are the ones that just have the latest or the HEAD commits in each subproject. You can read more about it from here. Full are the ones that have all the bits from the starting of the subprojects and hence the archives have a large file size.
Q6> How do I use these sources?
Ans: First, you will have to extract them as mentioned above. You should get a .repo folder. In the same folder itself (not inside .repo but the folder that contains .repo), you will have to update the local work tree. You can update it by using
Code:
repo sync -c -f --force-sync --no-clone-bundle --no-tags -j8
This command will help you to use minimum data/internet as it does not download extra tags or clone bundles.
If you do not want to use data at all, you can use this:
Code:
repo sync -c -f --force-sync --no-clone-bundle --no-tags -j8 --local-only
This will not fetch anything from the internet. Happy compiling!
Please press the "Thanks Button" if we helped you and quote us if you have a problem!
Announcements and General Stuff
Automation also has been made opensource now. You can view the source of the automation stuff at https://github.com/regalstreak/skadhook.git
All status of the sources is here: https://github.com/regalstreak/skadoosh/pulls?q=is:pr+is:closed
Reserved
Reserved for stuff.
Lovely
Thanks mate..... :laugh:
What if it's in tar.xz @regalstreak, most people including @DigiGoon use it for its extreme compression.
Sent from a Cool Phone stuck with crappy KingUser
Replies.. Replies only!
FireLord said:
Thanks mate..... :laugh:
Click to expand...
Click to collapse
No problemo bruh!
MSF Jarvis said:
What if it's in tar.xz @regalstreak, most people including @DigiGoon use it for its extreme compression.
Sent from a Cool Phone stuck with crappy KingUser
Click to expand...
Click to collapse
I have mentioned the steps in the FAQ! Please see it
Wow amazing work!
AsadP2013 said:
Wow amazing work!
Click to expand...
Click to collapse
Thanks!
Hope it helps!
MSF Jarvis said:
What if it's in tar.xz @regalstreak, most people including @DigiGoon use it for its extreme compression.
Sent from a Cool Phone stuck with crappy KingUser
Click to expand...
Click to collapse
Use tar -xJf file_name.tar.xz to extract *tar.xz....:good:
---------- Post added at 11:48 PM ---------- Previous post was at 11:44 PM ----------
regalstreak said:
FAQ
Q1> How should I extract the source?
Ans: If your archive is in .7z format, do this:
Open Terminal
Download 7zip if not done before (sudo apt-get install p7zip-full)
Now cd to the drive where you have downloaded the sources
7z x (file name here).7z
If your archive is in .tar.gz format, do this:
Open Terminal
Now cd to the drive where you have downloaded the sources
tar -xvzf (file name here).tar.gz
Now you have extracted the source.
Q2> I am not able to extract the source. What should I do?
Ans: You cannot extract source with GUI on the Archive Extractor. So, try the method I mentioned.
Q3> Is the size of all files 2GB? I saw the size 2GB on Androidfilehost!
Ans: The mentioned size on the thread is correct. AndroidFileHost has some problems while showing file sizes for files above 2GB.
Please press the "Thanks Button" if I helped you and quote me if you have a problem!
Click to expand...
Click to collapse
Hey, first of all....A BIG Thanks to you guys, you guys are awesome and keeping the spirit of xda to help your friends......
A request, Add the method to extract *.tar.xz as "tar -xJf file_name.tar.xz"
sumit yadav said:
Use tar -xJf file_name.tar.xz to extract *tar.xz....:good:
---------- Post added at 11:48 PM ---------- Previous post was at 11:44 PM ----------
Hey, first of all....A BIG Thanks to you guys, you guys are awesome and keeping the spirit of xda to help your friends......
A request, Add the method to extract *.tar.xz as "tar -xJf file_name.tar.xz"
Click to expand...
Click to collapse
Im glad that this index is helping youll alot! Yea sure.. Ill add that now!
Wow thanks man I'm really eager to get started but my internet speed had always let me down. But thanks to you guys I can finally start to build my own ROM. Thanks again guys much appreciated.
adil089 said:
Wow thanks man I'm really eager to get started but my internet speed had always let me down. But thanks to you guys I can finally start to build my own ROM. Thanks again guys much appreciated.
Click to expand...
Click to collapse
Me faced the same problems! But now i have managed to get a better isp [emoji14] happy this helped you!
(One req: Please spread this thread so people may know that highly compressed sources exist and they can even start with a bad internet connection!) [emoji1]
regalstreak said:
Me faced the same problems! But now i have managed to get a better isp [emoji14] happy this helped you!
(One req: Please spread this thread so people may know that highly compressed sources exist and they can even start with a bad internet connection!) [emoji1]
Click to expand...
Click to collapse
I will definitely spread this thread because I know a few people who may need it. It's the least that I can do. Thanks.
@Perseus should this thread be moved to Misc android development? So more people can see it? Or is it fine here...
The thread will be updated from nov6th.. Got exams [emoji14] Please hold on!
regalstreak said:
The thread will be updated from nov6th.. Got exams [emoji14] Please hold on!
Click to expand...
Click to collapse
Thanks man. Good look on your exams.
Thank you very much!
I always wanted to build a ROM but 18GB downloads always stopped me to do so. This is amazing!
However it could have been a little better if the archives were broken into parts so that they could be downloaded on two or more systems and on FAT32 SDcards (4GB max file limit).
Well done!
Related
I don't have enough money to import a GS2 so I'm stuck making kernels without the phone. Could someone please extract the config file from their phone? Also, if you are interested in testing my kernel, please add me on Gtalk at [email protected]
you r from LA, & u rtelling us that u dont have money ??? you want us to believe that ???
come on buddy....
manuvaidya said:
you r from LA, & u rtelling us that u dont have money ??? you want us to believe that ???
come on buddy....
Click to expand...
Click to collapse
I'm from L.A.? Even if I was I'd have even less thanks to Cali's taxes
I'd like to see the config file too just so I can go browse thru the kernel source code myself.
Its nice to see the support for developers for this device. Takes 30 seconds to pull a config and the only response is someone with a sarcastic post based on a stereotype of Americans.
Sent from my HTC Vision
I hear you. I was sincere though in my interest. I really wanna see the config file.
If the lack of a config is from a lack of knowledge you pull the config file by typing this into terminal:
Su
Cp /proc/config.gz /sdcard/config.gz
Then upload the file here
Sent from my HTC Vision
Flippy125 said:
If the lack of a config is from a lack of knowledge you pull the config file by typing this into terminal:
Su
Cp /proc/config.gz /sdcard/config.gz
Then upload the file here
Click to expand...
Click to collapse
I can't find config.gz in /proc
Samsung don't include the config on the device, but...
Attached is a copy of my .config from building the KDD kernel from Samsung's sources. AFAIK that is identical to what Samsung used to build the stock kernel on device.
RyanZA said:
Samsung don't include the config on the device, but...
Attached is a copy of my .config from building the KDD kernel from Samsung's sources. AFAIK that is identical to what Samsung used to build the stock kernel on device.
Click to expand...
Click to collapse
kind of a noob question, but how exactly would one know which of each file of the source code to include to compile your own ROM/kernel? guess my question really is, looking thru kernel source, how can i know if any random file is or is not part of the kernel? example looking thru battery drivers, i can see the max17042 and fuelgauge_sec is used, while other batt drivers are not used but still present. how does one able to figure this out for each folder etc?
manuvaidya said:
you r from LA, & u rtelling us that u dont have money ??? you want us to believe that ???
come on buddy....
Click to expand...
Click to collapse
you are from Pakistan so we forgive you your bad knowledge of US geography
(people this is a joke)
Oh thanks, I haven't used a Samsung device (yet) so I thought it was like HTC
Sent from my HTC Vision
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.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Requirements :
1. Knowledge about decompile/compile *.jar files
2. Deodex
How-to:
1. Download dolby framework HERE then extract it
2. Decompile your framework.jar
3. Copy dolby folder from extraced file above (step 1) to your decompiled framework.jar *smali/android/pastehere
nb: if you have already installed dolby-framework inside your framework.jar, please delete it first before paste from my dolby-framework
4. Compile your framework.jar
5. Move to services.jar, we need to disable signature on this step (this is maybe make it stuck on dolby logo when opening the dolby app)
nb: if you already patch your services.jar, skip step 5-9
6. Decompile your services.jar and look for /com/android/server/pm/PackageManagerService.smali
7. Find this method:
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
-
-
-
-
.end method
8. Replace with
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.locals 7
const/4 v0, 0x0
return v0
.end method
9. Save your services.jar and recompile your services.jar
10. Download dolby_flashable.zip HERE
11. Open dolby_flashable.zip with WinRAR or anything. now, drag and drop services.jar+framework.jar modded to dolby_flashable/system/framework/pastehere
12. Goto your custom recovery
13. Wipe cache and dalvik-cache
14. Flash dolby_flashable.zip
15. Done
NB:
1. Another mirror/s is not allowed!
2. If you have another audio tweaks installed like viper/dsp/etc, please uninstall first (it may cause conflict/FC)
3. If you have any issues about compiling *.jar files, try this one -> Baksmali manager i am use it for compile/decompile *.jar files
nb: i'm forget who share that tool, so i just can say thankyou!
4. Free space /system (±) 10MB
5. May will be work on all device running on KITKAT, so let me know it works or not
6. Backup first before doing anything to prevent bootloop
7. If you find any bugs/issues happened, please tell me
Thanks to:
Google
Dolby Mobile Audio
PopKat ROM Devs from Cherry Mobile Philippines
Nouvrizal Malta for share PopKat ROM
Ghifari for tester
Ifal for tester
Riyono for guide port Dolby to JB
one_love_420 for guide how to disable signature
Q&A
Q: I've stuck/FC when opening dolby. how to solve?
A: uninstall another soundmod/sound tweaks or follow @aki_007 http://forum.xda-developers.com/showpost.php?p=57795816&postcount=15
Q: Still stuck on dolby logo when opening app, how?
A: Try to disable signature using Lucky Patcher
Confirmed working on:
1. Mediatek devices
2. Xperia Z1s T-Mobile KitKat 4.4.4
ocoot said:
Confirmed working on:
1. Mediatek devices .
Click to expand...
Click to collapse
Stuck at dolby logo when opening apk on Gionee M2 /MT6582/KK 4.4.2 AOSP based
Thanks mate! I am trying now to port this on my Mediatek device. I will let you know if there will be any issues.
---------- Post added at 06:12 PM ---------- Previous post was at 05:39 PM ----------
ocoot said:
How-To:
1. Decompile your framework.jar
2 Download the DolbyDigital-KK.rar and extract. You'll find 2 folders inside, copy the dolby folder (inside folder framework.jar from downloaded file) to your decompiling file
3. And then recompile your framework.jar
4. Copy your framework.jar after finished compiling to flashable folder/system/framework
5. Repack flashable folder to the ZIP
6. Go to your custom recovery
7. Wipe cache and dalvik-cache
8. Flash the file
9. Done
Click to expand...
Click to collapse
Hi Mate,
I've tried 2 ways since it was not clear in your steps where the framework.jar/android/dolby will go, is it:
1. inside the main framework.jar
or
2. inside framework.jar/smali - since there's an android folder there.
OUTPUT:
1. When I tried to recompile the first one, there's no error but the Dolby app is not opening - FC
2. When I tried to recompile the second, I got an error from the APKtool (tried 2 different APKtools)
Code:
Projects\framework.jar\smali\android\dolby\DsClient$1.smali[207,15] mismatched input '"className"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: android/dolby/DsClient$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
at brut.androlib.Androlib.buildSources(Androlib.java:299)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Hope you can clear this up. Thanks'
aki_007 said:
Stuck at dolby logo when opening apk on Gionee M2 /MT6582/KK 4.4.2 AOSP based
Click to expand...
Click to collapse
try again bro, i've already update my guide for make it easy to understanding so, goodluck.
eyesfortech said:
Thanks mate! I am trying now to port this on my Mediatek device. I will let you know if there will be any issues.
---------- Post added at 06:12 PM ---------- Previous post was at 05:39 PM ----------
Hi Mate,
I've tried 2 ways since it was not clear in your steps where the framework.jar/android/dolby will go, is it:
1. inside the main framework.jar
or
2. inside framework.jar/smali - since there's an android folder there.
OUTPUT:
1. When I tried to recompile the first one, there's no error but the Dolby app is not opening - FC
2. When I tried to recompile the second, I got an error from the APKtool (tried 2 different APKtools)
Code:
Projects\framework.jar\smali\android\dolby\DsClient$1.smali[207,15] mismatched input '"className"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: android/dolby/DsClient$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
at brut.androlib.Androlib.buildSources(Androlib.java:299)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Hope you can clear this up. Thanks'
Click to expand...
Click to collapse
try this tool bro -> http://www.mediafire.com/download/32uhl3c07jkoqob/baksmali_manager.rar
i didn't have any issues about compiling jar files when use that tool and also check again my guide, i'm already update my post
thanks
ocoot said:
..
Click to expand...
Click to collapse
Can you please mod it for me as I have tried so much but failed to make it work correctly (Including Riyono's guide ) , I am uploading my framework and services .
thanks for your support.
aki_007 said:
have you uploaded different smali files and the flashable zip from the previous one .
Can I use lucky patcher to disable signature
Click to expand...
Click to collapse
it's a same files, i'm just make it to be 2 file to make it easy understanding. i didn't know, i never try lucky patcher. why you not try my guide? hehehe
ocoot said:
it's a same files, i'm just make it to be 2 file to make it easy understanding. i didn't know, i never try lucky patcher. why you not try my guide? hehehe
Click to expand...
Click to collapse
Please read my previous comment
aki_007 said:
Please read my previous comment
Click to expand...
Click to collapse
try this one https://www.dropbox.com/s/jerhpq1v1yocyi7/flashable.zip?dl=0
Thanks mate.. will give a shot your baksmali manager.. hope it ends my misery
ocoot said:
try this one https://www.dropbox.com/s/jerhpq1v1yocyi7/flashable.zip?dl=0
Click to expand...
Click to collapse
You needn't upload whole dolby zip , only modded framework and services were enough , But still thanks for giving your precious time .
Will reply soon when I'll install it .
Thanks again
Very easy method for disabled signature check ->> http://repo.xposed.info/module/com.pyler.disablesignaturecheck
I'm lost signal after flashing dolby, I'm use apktool android for compile-recompile,
It doesn't help
ocoot said:
try again bro, i've already update my guide for make it easy to understanding so, goodluck.
try this tool bro -> http://www.mediafire.com/download/32uhl3c07jkoqob/baksmali_manager.rar
i didn't have any issues about compiling jar files when use that tool and also check again my guide, i'm already update my post
thanks
Click to expand...
Click to collapse
Ryo Kun(Momo) said:
Very easy method for disabled signature check ->> http://repo.xposed.info/module/com.pyler.disablesignaturecheck
I'm lost signal after flashing dolby, I'm use apktool android for compile-recompile,
Click to expand...
Click to collapse
I have tried that one and it does not work
No success .. Don't bother..I just wanted to try Dolby but seems it's not gonna be possible...
I do have EBS EOF-EX and Dolby for nexus (don't think that I installed your Dolby on them rather I did dirty flash )
@ocoot Why haven't you deleted the system/framework/dolby.jar from the flashable.zip when you have already included it in the famework.jar .
I followed you tutorial but the content was from another source(Initially that didn't work too) and when I deleted that additinal dolby_ds.jar(of that other package) and flashed the mod , everything is in place and working awesome.
@eyesfortech you should try this method too .
aki_007 said:
@ocoot Why haven't you deleted the system/framework/dolby.jar from the flashable.zip when you have already included it in the famework.jar .
I followed you tutorial but the content was from another source(Initially that didn't work too) and when I deleted that additinal dolby_ds.jar(of that other package) and flashed the mod , everything is in place and working awesome.
@eyesfortech you should try this method too .
Click to expand...
Click to collapse
thankyou for report. i'll add your information into first page
ocoot said:
thankyou for report. i'll add your information into first page
Click to expand...
Click to collapse
one more thing : I am using it alongside viper4android , EBS , EOF EX and its running smoothly
@ocoot your version works too brother and is very good better than my version with same method .
and BTW why has someone given 1 rating to this thread , don't they realize that it takes so much effort to do something like that .
Anyways Thanks very much.
The dolby gives vitualization , volume boost , bass/treble/vocal boost (whatever you prefer can be tweaked in equalizer ).
aki_007 said:
@ocoot Why haven't you deleted the system/framework/dolby.jar from the flashable.zip when you have already included it in the famework.jar .
I followed you tutorial but the content was from another source(Initially that didn't work too) and when I deleted that additinal dolby_ds.jar(of that other package) and flashed the mod , everything is in place and working awesome.
@eyesfortech you should try this method too .
Click to expand...
Click to collapse
hey... thanks mate.. I will try your suggestion.
---------- Post added at 01:22 PM ---------- Previous post was at 01:16 PM ----------
aki_007 said:
.
and BTW why has someone given 1 rating to this thread , don't they realize that it takes so much effort to do something like that .
Anyways Thanks very much.
Click to expand...
Click to collapse
Yeah, I agree with you.. it's not easy to mod or port something which was not meant for a certain device so I guess they forgot to realize that.
eyesfortech said:
hey... thanks mate.. I will try your suggestion.
---------- Post added at 01:22 PM ---------- Previous post was at 01:16 PM ----------
Yeah, I agree with you.. it's not easy to mod or port something which was not meant for a certain device so I guess they forgot to realize that.
Click to expand...
Click to collapse
DID it worked ?
@ocoot My method alongside your tutorial has been confirmed on some other mediatek mt6582 KK users.
aki_007 said:
DID it worked ?
@ocoot My method alongside your tutorial has been confirmed on some other mediatek mt6582 KK users.
Click to expand...
Click to collapse
Unfortunately, I am unable to recompile the framework..
Log Recorded At : Tue 30-12-2014 0:16:24.64
Log Recorded By : Advanced ApkTool v4.0.0 By BDFreak
------------------------------------------------------
..\3-Out\framework.jar\smali\android\dolby\DsClient$1.smali[27,4] Error for input '.parameter': Invalid directive
..\3-Out\framework.jar\smali\android\dolby\DsClient$1.smali[42,4] Error for input '.parameter': Invalid directive
..\3-Out\framework.jar\smali\android\dolby\DsClient$1.smali[43,4] Error for input '.parameter': Invalid directive
..\3-Out\framework.jar\smali\android\dolby\DsClient$1.smali[42,15] mismatched input '"className"' expecting END_METHOD_DIRECTIVE
..\3-Out\framework.jar\smali\android\dolby\DsClient$1.smali[207,4] Error for input '.parameter': Invalid directive
..\3-Out\framework.jar\smali\android\dolby\DsClient$1.smali[207,15] mismatched input '"className"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: android/dolby/DsClient$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:358)
at brut.androlib.Androlib.buildSources(Androlib.java:298)
at brut.androlib.Androlib.build(Androlib.java:284)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:240)
at brut.apktool.Main.main(Main.java:89)
Click to expand...
Click to collapse
---------- Post added at 12:55 AM ---------- Previous post was at 12:53 AM ----------
I will try the Baksmali Manager and see if it works.
I have set up a mirror/repo for commonly used G4 items. This includes rooted images, stock images, software, etc. I am not responsible for creating any of the content in the repo. I am just mirroring it for redundancy.
Let me know if there is anything else you'd like mirrored.
If the owners of the content in the repo have an issue with it being mirrored, please PM me and I will remove it promptly.
Mirror (Dallas, TX):
Code:
[URL="https://qui.click/g4"]https://qui.click/g4[/URL]
Pretty handy, thank you:good:
bender_007 said:
Pretty handy, thank you:good:
Click to expand...
Click to collapse
Any time!
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.