[Q] Integrate gapps package in CM12 own build ROM - Android

Hi,
first of all, i know that it is prohibited to do that for public roms, but i want to do it for my own builds.
Until CM11 it was pretty easy to integrate. But how can i do that during build time with CM12?
Any advices, how to integrate the package?
Cheers and Thanks
Saint.

With CM plan to separate its self from Google completely they have made it just about impossible. Not to mention you would have to rewrite the whole built script

zelendel said:
With CM plan to separate its self from Google completely they have made it just about impossible. Not to mention you would have to rewrite the whole built script
Click to expand...
Click to collapse
Hi,
thnx for the answer at first, hmmmm it thing it should not be that hard, the updater script of the tools would need to be attached to the updater-script of the rom and all the stuff would have to be put into the source itself, the question is where to put it to?

Related

REQ -Cornerstone multitasking

The proyect its now opensource, can anyone compile this? like a stand alone app so we can install it in any tablet?
https://github.com/Onskreen/cornerstone
Thx
It is unfortunately not that simple. CornerStone has parts that come as patched system files.
It needs to either be included in a ROM or come as a patch (.zip) for a specific ROM.
cyansmoker said:
It is unfortunately not that simple. CornerStone has parts that come as patched system files.
It needs to either be included in a ROM or come as a patch (.zip) for a specific ROM.
Click to expand...
Click to collapse
I tried patching a few rom-s but with no success...
Anybody got it working?

[ROM, CM9] ICS port PDroid ready build SGS II

Hey guys,
this is a port of PDroid v1.32 based on pastime1971 patch. All credits goes to CM9 Team, Svyat and also pastime1971 for his port, because I had no time to do it on my own.
I modified source code to get full working for ICS without any issues. Features:
No java.lang.IllegalMonitorStateException
No android.database.sqlite.SQLiteMisuseException
No FC's of PDroid
No java.util.ConcurrentModificationException
No *** FATAL EXCEPTION IN SYSTEM PROCESS
No NullPointerException
No random SOFTREBOOTS anymore!
I want to share it because privacy for android is needed and very helpful, so please feel free to download and leave comment if it works for you.
Install Instructions:
Go to recovery menu
wipe cache and partition / you also can only flash this zip without a wipe, like update to new nightly
install this zip
reboot
have fun!
Download link: http://www.MegaShare.com/4382332
Just to let everyone know that this build runs perfectly.
Pdroid is a welcome addition.
Cheers to the OP.
CollegeDev said:
Hey guys,
this is a port of PDroid v1.32 based on pastime1971 patch. All credits goes to CM9 Team, Svyat and also pastime1971 for his port, because I had no time to do it on my own.
I only modified source code to get full working for ICS without any issues. Features:
No java.lang.IllegalMonitorStateException
No android.database.sqlite.SQLiteMisuseException
No FC's of PDroid
No java.util.ConcurrentModificationException
No *** FATAL EXCEPTION IN SYSTEM PROCESS
No NullPointerException
No random SOFTREBOOTS anymore!
I want to share it because privacy for android is needed and very helpful, so please feel free to download and leave comment if it works for you.
Install Instructions:
Go to recovery menu
wipe cache and partition / you also can only flash this zip without a wipe, like update to new nightly
install this zip
reboot
have fun!
Download link: http://www.MegaShare.com/4382332
Click to expand...
Click to collapse
Nice one
By any chance do you have the ability to share the patches you used to do this? Keen to see if I can merge this against CM... They might not accept it on gerrit, but it would be nice to be able to apply it on top
Perhaps a little explanation pdroid is just an app.
malavan said:
Perhaps a little explanation pdroid is just an app.
Click to expand...
Click to collapse
Nvm I did a bit of research.... It's an app that needs ROM support (I knew that)
The patches are at http://forum.xda-developers.com/showthread.php?t=1554960, with an auto patcher at http://forum.xda-developers.com/showthread.php?t=1719408 for anyone who prefers a one-click method
Just another thankful user here! This thread deserves a little more attention, especially for those looking to patch PDroid on ICS for the SGS II. I have had a hard time trying to find one, and trying to use the auto-patcher without any technical know-how. The ROM in this thread has helped me set up a beautiful CM9 ROM with a working PDroid. Thank you!
For those who are not aware, PDroid is a privacy application that allows you to control the permissions given to specific apps. In other words, with this application, it is possible to hide your Device ID.. your GPS location.. Network location.. And this is the only application that can do that. Sure, there is LBE Privacy Guard as well, but it does not cover other aspects like... say, the SIM card.. your Accounts.. Your contacts...
Even better, this application allows you to create fake values to put in, or if you're feeling a little lazy, you could even randomize the values to put in! A really handy application to have, and something cool to have as a security feature.
Does it work on AOKP roms?
pulser_g2 said:
Nvm I did a bit of research.... It's an app that needs ROM support (I knew that)
The patches are at http://forum.xda-developers.com/showthread.php?t=1554960, with an auto patcher at http://forum.xda-developers.com/showthread.php?t=1719408 for anyone who prefers a one-click method
Click to expand...
Click to collapse
This build is not the same as the patcher from pastime. I've got tons of exceptions while booting and a lot of data leaks! After using it a while I got random softreboots due to nullpointerexception in system thread. I posted in thread that the patch causes random softreebots and they said that it is normal if you revoke permissions of system apps, but that's fail (sorry)! So, I wanted to have CM9 -> build it on my own was the only way to get a working smooth CM9 with PDroid!
I wrote a testing environment on emulator and was able to reproduce the exceptions. First I hav very complex solution, but then I went the "dirty" way, but it works exactly as it should! After that i fixed it and build my own rom, so that it is able to use CM9 and PDroid.
Does it work on AOKP roms?
Click to expand...
Click to collapse
It is a ready CM9 build for galaxy S2 based on nightly from 11.07.2012, not a patch! If you installed this rom before, just update with this zip. If you want to use CM9 on your Device (SGS2), follow the install instruction in main post.
hey,
thx but can you make a fresh build for CM9 RC2 ? I think this version would reach much more users than a build for a nightly.
bonanza123 said:
hey,
thx but can you make a fresh build for CM9 RC2 ? I think this version would reach much more users than a build for a nightly.
Click to expand...
Click to collapse
Will update in next few days. For galaxys2 users hopefully with addon application for microphone and camera access.
Thank you, so the problem with the missing code for the pdroid app is solved?
Hey Collegedev,
I had a fair bit of trouble downloading from your file server. So when I finally got the whole file without failures, I extracted the core.jar, framework.jar & services.jar (as that is what is in other working patches), zipped, signed, then flashed it on cm9 builds 18, 19, 21, 22, 23. I'm no pro and I'm new to pdroid, but it all seems to be working to me.
Thank you very much.
I will share this, if you want or you might like to supply the same yourself. (I don't have a great ISP.)
(Please excuse me if I have overstepped my bounds, I'm just trying to help. :angel: )
Can I flash this on ParanoidAndroid(cm9 based)?
Wanna make sure first since I'm not sure if it'll break anything.
curodot said:
Can I flash this on ParanoidAndroid(cm9 based)?
Wanna make sure first since I'm not sure if it'll break anything.
Click to expand...
Click to collapse
I tried this, gave me boot loops. So NO is your answer. :crying:
bonanza123 said:
Thank you, so the problem with the missing code for the pdroid app is solved?
Click to expand...
Click to collapse
Yes, of course
Hey Collegedev,
I had a fair bit of trouble downloading from your file server. So when I finally got the whole file without failures, I extracted the core.jar, framework.jar & services.jar (as that is what is in other working patches), zipped, signed, then flashed it on cm9 builds 18, 19, 21, 22, 23. I'm no pro and I'm new to pdroid, but it all seems to be working to me.
Thank you very much.
I will share this, if you want or you might like to supply the same yourself. (I don't have a great ISP.)
(Please excuse me if I have overstepped my bounds, I'm just trying to help. )
Click to expand...
Click to collapse
Please be fair! That are changings by me and I will bringout an addon app, just have to make patches and then hopefully will release it. If you want it to share, do it in this thread or write me pm. Thanks
New Build and PDroidAddon is available under my new Application Thread:
ClickMe
Click to expand...
Click to collapse
HotrodHarry said:
I extracted the core.jar, framework.jar & services.jar (as that is what is in other working patches), zipped, signed, then flashed it on cm9 builds 18, 19, 21, 22, 23. I'm no pro and I'm new to pdroid, but it all seems to be working to me.
Click to expand...
Click to collapse
Confirmed to work here.
And, indeed, this is the best way to proceed.
Especially because it lets you keep upgrading to the latest CM9 nightlies.
Thank you for the trick.
And thanks to CollegeDev for providing PDroid to us.
Regards,
aldweb
Slim ICS 4.2 support
deleted

Noob question about source compiling.

I just got done initializing the AOSP JB_SOURCE for the Nexus 7, and am getting ready to attempt a first build, I'd also like to be able to compile CM10 and who knows maybe others but CM10 for sure. My question (although I'm pretty sure the answer is yes) is do I now have to make a new SOURCE directory for CM10 and repeat the process of downloading the whole thing locally for each build I'd like to attempt i.e. CM10, AOKP,MIUI
ect. If so the 150gb I used to create my virtual hard drive isn't going to be enough. I apologize in advance if this question is posted in the wrong place
and I did search first. Thank you.
Vektor67 said:
I just got done initializing the AOSP JB_SOURCE for the Nexus 7, and am getting ready to attempt a first build, I'd also like to be able to compile CM10 and who knows maybe others but CM10 for sure. My question (although I'm pretty sure the answer is yes) is do I now have to make a new SOURCE directory for CM10 and repeat the process of downloading the whole thing locally for each build I'd like to attempt i.e. CM10, AOKP,MIUI
ect. If so the 150gb I used to create my virtual hard drive isn't going to be enough. I apologize in advance if this question is posted in the wrong place
and I did search first. Thank you.
Click to expand...
Click to collapse
For each different ROM type (aosp cm etc.) you need different source code as they are different ROM
Sent from my LG-P350 using xda premium
Sorry it took so long, Thanks for the response. So it seems that for each particular flavor of Android I need the whole source repo synced to my machine.
That doesn't apply to different devices does it? I have an SGS 3 d2spr, and a Nexus 7 it would be fun to run a self built os for each.
Vektor67 said:
Sorry it took so long, Thanks for the response. So it seems that for each particular flavor of Android I need the whole source repo synced to my machine.
That doesn't apply to different devices does it? I have an SGS 3 d2spr, and a Nexus 7 it would be fun to run a self built os for each.
Click to expand...
Click to collapse
No it doesn't apply you just need different device folders and when you compile you use the folder you want.
Sent from my LG-P350 using xda premium

ROM Development Environment

REDACTED
mryanfrost said:
Hey all, sorry if this has been posted somewhere that I'm oblivious to but...
I was just curious what all is needed to spin a custom 3VO rom from scratch. Such as, where do I get the JB 4.2 AOSP? (SDK?) What do you need to assemble it? Any custom libs etc?
I just need a finger to point the way to some resources so I can discover key terms to Google, etc. Thanks!
Click to expand...
Click to collapse
A lot more stuff than I can put in this post... you need the source from Google, tools to compile it and custom device repos (for 3vo agrabren's github is probably your best shot)
The exact instructions put together by dastin1015 can be found here:
http://forum.xda-developers.com/showthread.php?t=1762641
Mostly you're gonna need patience it took me 3 days to get mine to boot without the proper repos.

[Q] If no roms support my phone, what can I do?

I have the ZTE Avail 2 (aka Z992) (and it sucks, considering it's a $70 phone, buying a new one isn't an option because I just built a computer). It hasn't had an update since 4.1.1 and it's very slow, (usually have only ~50mb of ram free when just sitting at launcher) even with all of the tricks to speed it up (greenfiy, cleaner, etc) and on top of that, it's loaded with features that ZTE put in that suck. So after searching and searching for a custom ROM with support for my phone, I can confirm there is zero. I looked at the rom dev tutorial - http://forum.xda-developers.com/showthread.php?t=1272270 and the kitchen program doesn't support my phone either. Does that mean I'm screwed? If there's a way to make a rom compatible other than the android kitchen or straight up learning to program, please tell me. I'm willing to learn anything that isn't hugely time consuming. Thanks for any replies.
FourZer0 said:
Does that mean I'm screwed? If there's a way to make a rom compatible other than the android kitchen or straight up learning to program, please tell me. I'm willing to learn anything that isn't hugely time consuming. Thanks for any replies.
Click to expand...
Click to collapse
No, you are not. You can try many other porting tutorials around the web. I found a list of phones similar to yours, might come in handy.
In fact, since your are trying to "port" ROMs, just think about the fact that "where did those ROMs come from?" Those ROMs were built from source code. The Android project is open source and if you are feeling adventurous, you can just grab the source code and compile it yourself for your device. It might be very easy or very tough, depending on your device. I would advise you to try to build Cyanogenmod 10.1 from source code. Check here and here.
And make sure to check this (must).
Cheers man! Trust me, trying to build Cyanogenmod from source will be a lot of fun!
Thank you! So I found CM for the xperia tipo, which was on the list of similar devices. I should use that one and change whatever needs to be changed, right?
Also, is it possible to do that for 4.4 stock? That may be a better idea if CM consumes too much ram
tuxboy said:
No, you are not. You can try many other porting tutorials around the web. I found a list of phones similar to yours, might come in handy.
In fact, since your are trying to "port" ROMs, just think about the fact that "where did those ROMs come from?" Those ROMs were built from source code. The Android project is open source and if you are feeling adventurous, you can just grab the source code and compile it yourself for your device. It might be very easy or very tough, depending on your device. I would advise you to try to build Cyanogenmod 10.1 from source code. Check here and here.
And make sure to check this (must).
Cheers man! Trust me, trying to build Cyanogenmod from source will be a lot of fun!
Click to expand...
Click to collapse
Okay, ignore my last replies, I've been reading a lot and kind of know what I'm doing now.
Only problem is, I can't find a stock rom of my phone! The closest thing I found was a custom ROM for a phone similar to mine, which is confirmed working to the one I actually have. So would that do okay? androidforums . com/prelude-all-things-root/795640-azazel-rom-z993-aio.html is the one. Thanks again for any help.
FourZer0 said:
Okay, ignore my last replies, I've been reading a lot and kind of know what I'm doing now.
Only problem is, I can't find a stock rom of my phone! The closest thing I found was a custom ROM for a phone similar to mine, which is confirmed working to the one I actually have. So would that do okay? androidforums . com/prelude-all-things-root/795640-azazel-rom-z993-aio.html is the one. Thanks again for any help.
Click to expand...
Click to collapse
You can easily take a backup of your current ROM. Try booting into recovery and making your own custom recovery (ClockWordMod).
tuxboy said:
You can easily take a backup of your current ROM. Try booting into recovery and making your own custom recovery (ClockWordMod).
Click to expand...
Click to collapse
Oh, I didn't know that would work, thanks again! I have my rom modded like crazy though, tons of xposed modules and build.prop edits, also I uninstalled a lot of stock apps - I'm sure I could get the build.prop somewhere, but what about the other things? Do they matter at all?
Edit: after the backup I now have a ton of tars, a recovery.img, and a boot.img. I extracted all of the tars, now do I just put all of the folders from the tars in a folder with the imgs and that's my base rom?
tuxboy said:
You can easily take a backup of your current ROM. Try booting into recovery and making your own custom recovery (ClockWordMod).
Click to expand...
Click to collapse
Okay, I've come pretty far and I've made several flashable zips and fixed many errors, but there's one thing I can't figure out - the updater script doesn't work, and I realized it's because I was using the one from the original port, and I need the one for my phone, which I can't get from the cwm recovery. I really need the whole META-INF folder. Where can I get that?
I tried for 1 week and i didnt find any official and stable rom for my samsung galaxy note 4 Sm 910h. I used resurrection remix unofficial and camara didnt worked there . Please any solution there help me

Categories

Resources