HOWTO: Setup a working environment to build CM7, with SVN - Dell Venue

HOWTO: Setup a working environment to build CM7, with SVN
0. Overview
In this thread: http://forum.xda-developers.com/showthread.php?t=1565517, HPA has shown a custom ROM based on CM7, and his development files. I think there's a need to create a guideline of how to create such artifacts yourself by setting up your own development environment, download the source code and build ones for yourself. This post address that need. Hope this helps!
1. Install a version tracking system
1.1 Install SVN, please refer to "Setup a Subversion Server in 4 Minutes" (http://www.tonyspencer.com/2007/03/02/setup-a-subversion-server-in-4-minutes/)
1.1 Install RapidSVN by running "sudo apt-get install rapidsvn" (Ubuntu users may need to use sudo, or by installing it from Synaptic, for more details please refer to http://www.rapidsvn.org/index.php/OnlineHelp:Contents)
What's just happened: you installed Subversion (a software versioning and revision control system) and a GUI tool to track changes to the scripts you are going to create/update. Having a revision control system up and running is recommended since you're going to change many things from the original files, or create ones yourself. When your change is irrelevant, Subversion will save the day by allow you to revert back to a last-known-good version in the past - that's all we need, I think.
2. Get CM7 source code
Assume that we're going to use a folder named "gingerbread" in your home folder for this task:
Code:
$ cd ~/android/gingerbread
$ repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
$ repo sync
3. Initialize the build script folder structure
Ensure that, the folder containing development files will have the same structure as the CM7 source tree, like this:
Code:
$ tree -d ~/android/cm7dev/gingerbread
gingerbread
|-- device
| `-- dell
| `-- venue
| |-- files
| |-- libaudio-qsd8k
| `-- overlay
| |-- frameworks
| | `-- base
| | |-- core
| | | `-- res
| | | `-- res
| | | `-- values
| | `-- packages
| | `-- SettingsProvider
| | `-- res
| | `-- values
| `-- packages
| `-- apps
| |-- CMParts
| | `-- res
| | `-- values
| |-- Mms
| | `-- res
| | `-- values
| |-- Phone
| | `-- res
| | `-- values
| |-- Settings
| | `-- res
| | `-- values
| `-- Torch
| `-- res
| `-- values
|-- frameworks
| `-- base
| |-- include
| | |-- camera
| | `-- media
| |-- libs
| | `-- camera
| |-- media
| | |-- java
| | | `-- android
| | | `-- media
| | |-- jni
| | `-- libstagefright
| | `-- omx
| |-- policy
| | `-- src
| | `-- com
| | `-- android
| | `-- internal
| | `-- policy
| | `-- impl
| |-- services
| | |-- camera
| | | `-- libcameraservice
| | `-- java
| | `-- com
| | `-- android
| | `-- server
| `-- telephony
| `-- java
| |-- android
| | `-- telephony
| `-- com
| `-- android
| `-- internal
| `-- telephony
| `-- gsm
|-- packages
| `-- providers
| `-- MediaProvider
| `-- src
| `-- com
| `-- android
| `-- providers
| `-- media
`-- vendor
`-- cyanogen
`-- products
Here, we have 4 sub-folders called "device", "frameworks", "packages" and "vendor". Later we will merge this folder with the CM7 source tree.
4. Import cm7dev files (the above tree folder structure) to SVN repo
Code:
$ svn import ~/android/cm7dev/gingerbread file:///data/svnrepos/gingerbread
5. Create a new empty working directory
This will be the place we checkout our code, and actually do the development task
Code:
$ cd ~/android
$ mkdir dv-dev
$ mkdir dv-dev/gingerbread
Now, checkout code from URL file:///data/svnrepos/gingerbread to the above working folder. You can use RapidSVN, or if you're familiar with SVN command line interface, issue this:
Code:
$ svn co file:///data/svnrepos/gingerbread ~/android/dv-dev/gingerbread
6. Merge CM7 code folder with our working directory
Now, copy everything from CM7 code folder (~/android/gingerbread) to the your working directory ~/android/dv-dev/gingerbread. Since they have the same name, with the same sub-folders, a confirmation will be shown to ask you whether you want to merge the content. Say Yes, and besure to select to apply to all items found.
This step ensures that, you can now build CM7 right from the working folder, and any changes to build script can be tracked by SVN (checked in). Now you're ready to go with the build progress. You may want to copy files from ~/android/cm7dev/gingerbread to the working folder again to overwrite all conflicts if there are any.
7. Copy proprietary files
Be sure your phone is connected to your PC, and USB access are well-configured so that ADB can do its task to pull the proprietary needed files.
Code:
$ cd ~/android/dv-dev/gingerbread/device/dell/venue
$ ./extract-files.sh
In this step, several changes need to be made for this file (extract-files.sh). You will have to adjust one for yourself since I noticed that HPA - the author - wrote some script to pull files that do not exists (he might have based on a Streak instead).
8. Install new versions of gApps and Rom Manager (of course, if you want)
Code:
$ cd ~/android/dv-dev/gingerbread/vendor/cyanogen/
$ ./get-rommanager
9. Build (the setup-makefiles.sh below will also has to be modified)
Code:
$ cd ~/android/dv-dev/gingerbread/device/dell/venue
$ ./setup-makefiles.sh
$ cd ~/android/dv-dev/gingerbread
$ cp ./vendor/cyanogen/products/cyanogen_venue.mk ./buildspec.mk
# choose device
$ . build/envsetup.sh
$ lunch cyanogen_venue-eng
# actual build
$ mka (or make -j`grep 'processor' /proc/cpuinfo | wc -l`, like what shown in Cyanogen official guidelines)
Now, let's just wait adjust the build scripts base on what you get (errors) during the build progress. For example, here's what I met:
Code:
target Strip: InputChannel_test (out/target/product/venue/obj/EXECUTABLES/InputChannel_test_intermediates/InputChannel_test)
(unknown): error 4: Added public method android.telephony.PhoneNumberUtils.formatKoreanNumber
(unknown): error 5: Added public field android.media.MediaRecorder.AudioEncoder.EVRC
(unknown): error 5: Added public field android.media.MediaRecorder.AudioEncoder.QCELP
(unknown): error 5: Added public field android.telephony.PhoneNumberUtils.FORMAT_KOREA
******************************
You have tried to change the API from what has been previously approved.
To make these errors go away, you have two choices:
1) You can add "@hide" javadoc comments to the methods, etc. listed in the
errors above.
2) You can update current.xml by executing the following command:
make update-api
^^^^^^^^^^^^^^^^^^
NO. NO. STOP BEING LAZY. SERIOUSLY.
DO NOT DO THIS in CM. THIS IS A LIE. IF YOU DO THIS I WILL HATE YOU.
USE OPTION #1.
-Koush
To submit the revised current.xml to the main Android repository,
you will need approval.
******************************
I typed "make update-api" like the author said above, and things were fine.
10. Remove symbolic links in /system/xbin, /system/bin
All symbolic links in the above folders need to be removed, since they will be created during the flashing progress, via instructions in updater-script
Code:
$ cd ~/android/dv-dev/gingerbread/out/target/product/venue/system/bin
$ find . -maxdepth 1 -type l -exec rm -f {} \;
$ cd ~/android/dv-dev/gingerbread/out/target/product/venue/system/xbin
$ find . -maxdepth 1 -type l -exec rm -f {} \;
11. Deploy
Now, copy the following things from ~/android/dv-dev/gingerbread/out/target/product/venue
- ./system
- boot.img
to another directory to create an update.zip file.
12. Other tools you might need/consider
Meld: a visual diff and merge tool
Geany: a text editor using the GTK2 toolkit with basic features of an integrated development environment
RabbitVCS: a graphical front-end for version control systems available on Linux that can be integrated into file managers such as Nautilus, Thunar. You'll find it familiar if you use TortoiseSVN on Windows before.
P.S. My development files: http://www.mediafire.com/?2ozrmxotdsib9nn

Here is my working result:
http://www.mediafire.com/?8a8ntad2t7tv4mb
and its screenshot:
{
"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"
}
Still, there is not many differences with the original update-cm-7.2.0-RC1-DV-KANG-HPA-BETA2-signed yet, but at least we know how to build it! Right?
Update: ROM with my custom kernel (4.06)

hey, chacona .!! Can u add my yahoo ID!
Trainhque_dideple_dayemphe_7593
i have something to ask you ! ?

chacona said:
Here is my working result:
http://www.mediafire.com/?zqqkne7qb4bqplf
and its screenshot:
Still, there is not many differences with the original update-cm-7.2.0-RC1-DV-KANG-HPA-BETA2-signed yet, but at least we know how to build it! Right?
Update: ROM with my custom kernel (4.06)
Click to expand...
Click to collapse
Is there anyway to get more free RAM?
How did you get so much RAM?
As I have only 184 MB of free RAM.

prasad12ka4: sorry, I don't know how to get more RAM so far. What I've done is just establishing a development environment, and successfully built a working copy of CM7 myself, proving that what I did is correct. Surely, I have a lot of things to do after that.

Guys.!!! Dell venue n dell streak 5got same rom n environment hardware too just diffrence is venue is Hdpi n dell streak is Mdpi .so why do nt we join hands n make ics work for dell or on other hand u can take advantage of our dell streak 5 formus there r few good roms like longhorn 2.8 with Hdpi support for dell Venue and Dcs 1.1.which supports both hdpi n mdpi just need to edit build.prop n may be kernel....whish u all safe cooking ...n Friends in need friend indeed ..
Max
Sent from my Dell Streak using xda premium

djmax81 said:
Guys.!!! Dell venue n dell streak 5got same rom n environment hardware too just diffrence is venue is Hdpi n dell streak is Mdpi .so why do nt we join hands n make ics work for dell or on other hand u can take advantage of our dell streak 5 formus there r few good roms like longhorn 2.8 with Hdpi support for dell Venue and Dcs 1.1.which supports both hdpi n mdpi just need to edit build.prop n may be kernel....whish u all safe cooking ...n Friends in need friend indeed ..
Max
Sent from my Dell Streak using xda premium
Click to expand...
Click to collapse
this is indeed exciting
Sent from my Dell Venue using xda premium

yah if some dev help us then surely we will get ics on dell venue

I am still working on CM7, with some kernel related tasks such as overclocking, checking the memory (I wonder why with 2.3.3 the total memory is only about 383, and on 2.2.2 is about 400+). Maybe it's a ROM problem, but I will try to find the root cause in the kernel first.
Because of the reason above, I still have no chance to look at the ICS ROM yet. However, there might be a lot of things to be learnt (as stated in CM forum). But, for stability, I think we should wait until ICS becomes RTM to begin our development work since changes are still can be many.

Related

[Technical discussion] Stack overflow on hermes SPL

stepw discovered a stack overflow vulnerability that affects ALL Trinity SPL versions up to now, I implemented an exploit for it, see details here.
The same bug is present in Hermes SPL versions >= 1.11, and all SPLs using HTC common base 1.51, so probably newer Breeze SPLs are vulnerable too.
Sadly for hermes users this bug can't be exploited the same way it's done on Trinity, this is the memory layout on Trinity:
Code:
0x80b00000 | xxxxxxxxxxx | \
.... | xxxxxxxxxxx | > wdata buffer
0x80b10000 | xxxxxxxxxxx | /
+-------------+
| . |
| . |
+-------------+
0x8c000000 | SPL-begins | \
.... | SPL SPL SPL | ME
.... | SPL SPL SPL | MO <--- how_far
.... | SPL SPL SPL | RY
.... | SPL SPL SPL | /
0x8c040000 | SPL-ends |
+-------------+
| . |
| . |
+-------------+
| . | \
0x8c08cb90 | . | s
.... | | t /\
.... | | a ||
.... | | c ||
.... | | k ||
0x8c08db90 | | /
| |
By doing recusrive 'ruustart' calls we can overflow the stack and set arbitrary bytes in 0x64 bytes buffer (size of command buffer in ruu mode).
We first try to detect how far the overflow should go, this varies on each SPL version. Then we put a known pattern on the stack and use the 'checksum' command to determine offsets of current stack top and size of stack frame of ruustart and normal command mode.
Then we load our unsigned code using wdata, of course we get an "invalid cert error" from bootloader, but the data we send is stored at 0x80b00000 (wdata buffer). We place here a modified IPL to skip loading SPL from NAND, and the custom SPL we want to load.
Then we calulate how many recursions we need to reach the spl end at 0x8c040000, the first recursions are padded with 0's as they are useless, only need them to overflow the stack, we put our shellcode here, the shellcode is a handler which executes the loader that resides in ram (0x80b00000) which copies patched IPL, SPL to RAM, disables ARM instruction caching and virtual addressing and branches to 0 offset to start IPL.
After placing the shellcode, we send the next ruustart calls with padding that contains branch instructions (relative jumps to the handler), we calculate how many calls we need based on target offset, initial stack offset and stack frame size.
Finally we need to jump to our patched code, to do this we call a function which has its entry point properly aligned with the overflown stack frame (we only control 0x64 bytes out of the frame size for ruustart which is tipically 0xe0), this also varies in each SPL version.
Now let's see the problem we're facing in hermes, this is the Hermes memory layout:
Code:
| . | \
| . | s /\
| | t ||
.... | | a ||
| | c ||
.... | | k
0x8c033b90 | | /
+-------------+
| . |
| . |
+-------------+
0x8c080000 | SPL-begins | \
.... | SPL SPL SPL | ME
.... | SPL SPL SPL | MO <--- how_far; we never reach here :(
.... | SPL SPL SPL | RY
.... | SPL SPL SPL | /
0x8c0c0000 | SPL-ends |
+-------------+
| . |
As you can see here, the stack grows up in the same direction as trinity, but the SPL code is placed below the stack so we can't overwrite it, thus we can't call a function that branches to our code.
So this is a call for developers & researchers, we need to find what else is between the stack and the ram top in hermes and see if there's something there that could be exploited, or if there's a pointer in ram that code branches to, we can exploit it by replacing the pointer.
You can use the Trinity exploit code with '-m hermes' hidden flag to test things on Hermes, feel free to modify / adapt the source for your tests on hermes.
Any ideas are welcome, have fun!
Damn pof your a real wacko and a genious, nice job man congrats!!
Re: spl overflow
Cool!
Congratz to stepw for this amazing research and exploit!
pof! GOOD work and nice code! Hope caffeine let you sleep some day!
Tonight we have to celebrate this with some beers!
heheh
thanks, keep up the good works, hope this software be develope as soon as posible so that our bricked phone be alive again.
I don't Understand
i'm using dopod 838 pro....where the memory layout mus edit?

[Q] Migrating scores between different versions of Angry Birds Seasons

Firstly - I was not sure which forum this should sit in so I chose General.
If it should be elsewhere, please accept my apologies and move it, thank you.
Now for the problem.
I have 2 phones, each with a version of Angry Birds Seasons (herein AB:S) on them.
On my Galaxy S3 GT-I9300 (JB 4.1.2 stock) I have AB:S 3.1.1 - the latest version and most complete score wise. This version was downloaded and updated through the play store.
On my Nexus S I9020 (JB 4.1.2 stock) I have AB:S 1.1.0 - and older version which had a high score glitch on one of its levels. This version was downloaded and manually installed - it is unknown if the Play Store will update this version - but that is not desirable right now.
What I want to do is copy my scores from the S3 to the Nexus S, complete the glitched levels to obtain the high scores, then transfer the scores back.
If I upgrade the older version, the glitch gets fixed and the high scores become unobtainable.
The levels in question are from the 2010 Seasons Greedings episode that had exploding Santa Hats (levels 1-7, 1-15, 1-17, 1-18, 1-20, 1-21, 1-24 & GE2)
I already have scores for these levels, but they are in a separate file, as the .lua's are encrypted I cannot simply edit in the correct score into the newer file so I resigned myself to having to complete these levels again.
Having used adb to successfully backup and restore all my other versions of AB, imagine my surprise when it failed on AB:S.
I did a little digging and found out their directory structures are completely different.
Using [GUIDE]How to extract, create or edit android adb backups, I managed to extract and list the contents of each back up, this is what I found
For AB:S 1.1.0 I get the following structure:
Code:
apps/
|
|- com.rovio.angrybirdsseasons/
|
|- _manifest
|
|- f/
|
|- 2010-12-15.lua
|- 2010-12-14.lua
|- 2010-12-13.lua
|- 2010-12-12.lua
|- 2010-12-11.lua
|- 2010-12-10.lua
|- 2010-12-09.lua
|- 2010-12-08.lua
|- 2010-12-20.lua
|- 2010-12-21.lua
|- 2010-12-22.lua
|- 2010-12-23.lua
|- 2010-12-24.lua
|- 2010-12-25.lua
|- 2010-12-05.lua
|- 2010-12-04.lua
|- 2010-12-03.lua
|- 2010-12-02.lua
|- 2010-12-06.lua
|- 2010-12-01.lua
|- 2010-12-18.lua
|- highscores.lua
|- 2010-12-07.lua
|- settings.lua
|- .flurryagent.-5c1eacbe
I believe the files named 2010-12-xx.lua refer to the individual days of the advent calendar, probably to prevent premature opening - you will notice that there are not 25 of them - this may be because some levels were still uncompleted at the time of backup.
Interestingly the structure for AB:S 3.1.1 is:
Code:
apps/
|
|- com.rovio.angrybirdsseasons/
|
|- _manifest
|
|- db/
| |
| |- webviewCookiesChromiumPrivate.db
| |- webviewCookiesChromium.db
| |- webview.db-shm
| |- webview.db-wal
| |- webview.db
| |- cookiedb-journal
| |- cookiedb
| |- gsdb-journal
| |- gsdb
|
|- f/
| |
| |- bi_data.lua
| |- last_response_for_Burstly_Banner_Ad
| |- last_response_for_Burstly_Interstitial_Ad
| |- settings.lua
| |- highscores.lua
| |- server_cfg_RF2kIoQX2UO9EJfVfDkspA
| |- 6177c0ce3649cabdd4b552211ff3781b948ecc5a
| |- .flurryagent.-5c1eacbe
|
|- sp/
|
|- 0757179069079294439.xml.bak
|- inmobisdkaid.xml
|- MillennialMediaSettings.xml
|- 0857179069079294439.xml
|- 0057179169079294439.xml
|- 0757179069079294439.xml
|- Burstly_Banner_Ad.xml.bak
|- com.rovio.angrybirdsseasons_preferences.xml
|- Burstly_Expandable_Ad.xml
|- Burstly_Banner_Ad.xml
|- Burstly_Interstitial_Ad.xml
I have copied highscores.lua and settings.lua, but they either do nothing r reset all back to 0.
The tarballs are available here:
i9020_Seasons.tar
i9300_Seasons.tar
Any ideas as to how I can do this?
Shameless bump because I posted this in the small hours and it is now on page 3.
escribblings said:
Shameless bump because I posted this in the small hours and it is now on page 3.
Click to expand...
Click to collapse
Can no one offer any insight on this?
My best bet I think is to try another version of AB:S (below 1.5.1 - when the glitch was fixed) otherwise I don't know what to do.
OK - I think after trial and error I have sussed this.
It is because the 1.1.0 Seasons files are not encrypted and the 3.1.1 are.

[ROM][KITCHEN][UBUNTU][NOOB][V1.0][05/07/15] ROM KitchenScript

Code:
[COLOR="blue"][b]
" __________ ________ _____ "
" ______ \_____ / "
" | _/ / | / / "
" | | / | / Y "
" |____|_ /_______ /____|__ / "
" / / / "
" ____ __.__ __ .__ "
" | |/ _|__|/ |_ ____ | |__ ____ ____ "
" | < | __/ ___| | _/ __ / "
" | | | || | ___| Y ___/| | "
" |____|__ __||__| ___ >___| /___ >___| / "
" / / / / / "
" _________ .__ __ "
" / _____/ ___________|__|______/ |_ "
" _____ _/ ____ __ ____ __ "
" / ___| | / | |_> > | "
" /_______ /___ >__| |__| __/|__| "
" / / |__| "
[/b]
[/COLOR]
Introduction
The idea first was to create an automated script in order to initialize automatically ROMs sources for the user, but apart that i thought it could be even cooler to create a menu and add different functions to be runned during the build. The script is open source, so everyone can contribute.
The script is very simple to use, actually is destinated more to the new comers users, but everyone can use it
The script currently initialize and work only for 4 ROMs which are the following...
Supported ROMs
CyanogenMod
CarbonROM
SlimROM
BlissPop
Of course, if you want a ROM to be added just access here my repo and make a request and i will add it
Features
Fully automated
Cherry-pick script feature
Make Dirty function
Make Clean function
Make App function
Make Instappclean function
Choose two target devices for the build
InScript complete menu
PreRepo part (For new comers)
Autorecognize ROM source dir (If the ROM was initialized by the Script will be automatically recognized)
Many flags added in order to leave to the user the possibility to choose more parameters
More features planned for the next versions
Bug reports and new features entries
As for the ROMs part, if you got any feature you want to include just write it here on the thread or create an entry on my repo sources
The same also for the Bugs report
Downloads and notes
When you finished downloading the script make sure to put it for the first time in your home folder (It is mandatory to do it)
ROMKS V1.0
Here
reserved
reserved one more
1
Sent from my X9006 using Tapatalk
Does this script for porting? or creating ROM from Source?
rocky_09 said:
Does this script for porting? or creating ROM from Source?
Click to expand...
Click to collapse
Is a script which help the users to setup
Different ROMs source environment , basically the script will do automatically the steps that user should always do before initialize a new ROM source for build .
nilac8991 said:
Is a script which help the users to setup
Different ROMs source environment , basically the script will do automatically the steps that user should always do before initialize a new ROM source for build .
Click to expand...
Click to collapse
Thank you for your quick reply.
Sorry for being a Noob.
So, If I want to Build a CM 12 ROM for my Mobile. Can I use this script?
rocky_09 said:
Thank you for your quick reply.
Sorry for being a Noob.
So, If I want to Build a CM 12 ROM for my Mobile. Can I use this script?
Click to expand...
Click to collapse
Yep, and the script will assist you . If the device is not an official one the script will autimatically redirect you to local manifest to add the repos and done
This is just the first release , but I have planned more in the coming ones

Installing gapps pico in CM12.1 fails in twrp.

After CM12.1 install I'm unable to install the gapps pico. Here's the log from gapps install.
Notice the Total System Size is only 12mb... Using tk_gapps-modular-pico-5.1.1-20150920-signed.zip
Is there any way to increase the partition size or a quick fix? The smallest pico is about 50mb and it's still going to fail with only 12mb size.
# Begin TK GApps Install Log
--------------------------------------------------------------------------------
ROM Android Version |
ROM ID |
ROM Version | non-standard build.prop
Device Recovery | TWRP 2.8.6.0
Device Name | meliuslte
Device Model |
Device Type | phone
Device CPU |
getprop Density | 240
default.prop Density | 240
build.prop Density |
Display Density Used | 240dpi [default]
Install Type | Clean[Data Wiped]
Google Camera Installedπ | Clean
Google Keyboard Installedπ | Clean
FaceUnlock Compatible | false
Google Camera Compatible | true
Google Webview Compatible | true
Current GApps Version | NO GApps Installed
Curent TK GApps Package | NO GApps Installed
Installing GApps Version | 20150920
Installing GApps Type | pico
Config Type | exclude
Using gapps-config | /external_sd/Download/gapps-config.txt
Remove Stock/AOSP Browser | false[NO_Chrome]
Remove Stock/AOSP Email | false[NO_Gmail]
Remove Stock/AOSP Gallery | false[NO_Photos]
Remove Stock/AOSP Launcher | false[NO_GoogleNow]
Remove Stock/AOSP MMS App | false[NO_Hangouts]
Remove Stock/AOSP Pico TTS | false[NO_GoogleTTS]
Total System Size (KB) | 12052
Used System Space (KB) | 4108
Current Free Space (KB) | 7944
Additional Space Required (KB) | 74904 << See Calculations Below
--------------------------------------------------------------------------------
π Previously installed with TK GApps
# End TK GApps Install Log
INSTALLATION FAILURE: Your device does not have sufficient space available in
the system partition to install this GApps package as currently configured.
You will need to switch to a smaller GApps package or use gapps-config to
reduce the installed size.
# Begin GApps Size Calculations
---------------------------------------------------------
TYPE | DESCRIPTION | SIZE | TOTAL
| Current Free Space | 7944 | 7944
Remove | Existing GApps | + 0 | 7944
Remove | Obsolete Files | + 0 | 7944
Install | Core≤ | - 28744 | -20800
Install | GMSCore≤ | - 43656 | -64456
Install | calsync≥ | - 1232 | -65688
| Buffer Space≤ | - 9216 | -74904
---------------------------------------------------------
Additional Space Required | 74904
---------------------------------------------------------
≤ Required (ALWAYS Installed)
≥ Optional (may be removed)
# End GApps Size Calculations
# Begin User's gapps-config
Books
Chrome
ClooudPrint
Docs
Earth
ExchangeGoogle
Slides
Sheets
# End User's gapps-config

Gapps and dialer framework.

Hi, If this is a stupid noob question, then sorry.
I've got an xt1941-3 Motorola One. Figured out how to put LineageOS 17.1 on, and was looking at opengapps for the play store and google maps only. Since I literally only want the play store app and google play services for the location services, I wrote an exclude file for gapps that looks like this
Code:
# .gapps-config-deen
# Exclude all extras from pico package
# Pico+
CalSync # Install Google Calendar Sync (if Google Calendar is being installed)
DialerFramework # Install Dialer Framework (Android 6.0+)
GoogleTTS # Install Google Text-to-Speech Engine (Micro+ on 5.0-, Pico+ on 6.0+)
PackageInstallerGoogle # Install Package Installer (Android 6.0 only & Android 8.0+)
This results in all the packages except for the Google DialerFramework to be excluded. Looking at the gapps logs, I see That gapps is claiming that the AOSP DialerFramework "is not available on your ROM (anymore)"
The device was factory reset prior to having lineage flashed to ensure a clean install of gapps.
dalvik, system, data was all wiped before the lineage install, so not understanding how the aosp version is not there (anymore).
Code:
# Begin Open GApps Install Log
------------------------------------------------------------------
ROM Android version | 10
ROM Build ID | lineage_deen-eng 10 QQ3A.200605.001 eng.root.20200710.200251 test-keys
ROM Version increment | eng.root.20200710.200251
ROM SDK version | 29
ROM/Recovery modversion | 17.1-20200711-UNOFFICIAL-deen
Device Recovery | TWRP 3.2.3-0-08ee1e2f
Device Name | deen
Device Model | motorola one
Device Type | phone
Device CPU | arm64-v8a,armeabi-v7a,armeabi
Device A/B-partitions | true
Installer Platform | arm
ROM Platform | arm64
Display Density Used | unknown
Install Type | Clean[Data Wiped]
Google Camera already installed | Clean
VRMode Compatible | false
Google Camera Compatible | true
New Camera API Compatible | false
Google Pixel Features | false
Current GApps Version | No GApps Installed
Google Camera version | Legacy
Installing GApps Zipfile | /external_sd/Packages/open_gapps-arm64-10.0-pico-20201110.zip
Installing GApps Version | 20201110
Installing GApps Type | pico
Config Type | exclude
Using gapps-config | /external_sd/Packages/.gapps-config-deen
Remove Stock/AOSP Browser | false[NO_Chrome]
Remove Stock/AOSP Camera | false[NO_CameraGoogle]
[B] Remove Stock/AOSP Dialer | false[NO_DialerGoogle][/B]
Remove Stock/AOSP Email | false[NO_Gmail]
Remove Stock/AOSP Gallery | false[NO_Photos]
Remove Stock/AOSP Launcher | false[NO_GoogleNow/PixelLauncher]
Remove Stock/AOSP MMS App | false[NO_Messenger]
Remove Stock/AOSP Pico TTS | false[NO_GoogleTTS]
Ignore Google Contacts | false
[B] Ignore Google Dialer | true[NoRemove][/B]
Ignore Google Keyboard | false
Ignore Google Package Installer | false
Ignore Google NFC Tag | false
Ignore Google WebView | false
Total System Size (KB) | 2580272
Used System Space (KB) | 1338072
Current Free Space (KB) | 1225816
Post Install Free Space (KB) | 1064544 << See Calculations Below
------------------------------------------------------------------
# End Open GApps Install Log
[B]NOTE: The Stock/AOSP Dialer is not available on your
ROM (anymore), the Google equivalent will not be removed.[/B]
# Begin GApps Size Calculations
------------------------------------------------------------------
TYPE | DESCRIPTION | SIZE | TOTAL
| Current Free Space | 1225816 | 1225816
Remove | Existing GApps | + 0 | 1225816
Remove | Obsolete Files | + 0 | 1225816
Remove | cmsetupwizard | + 0 | 1225816
Remove | extservicesstock | + 96 | 1225912
Remove | extsharedstock | + 24 | 1225936
Remove | provision | + 0 | 1225936
Install | Core | - 152176 | 1073760
| Buffer Space | - 9216 | 1064544
------------------------------------------------------------------
Post Install Free Space | 1064544
------------------------------------------------------------------
# End GApps Size Calculations
# Begin User's gapps-config
CalSync
DialerFramework
GoogleTTS
PackageInstallerGoogle
# End User's gapps-config
What am I missing? Please help understand!
Edit: this may be related to this other problem encountered that I wrote about here: https://forum.xda-developers.com/motorola-one/how-to/problems-google-apps-infecting-fresh-t4191039

Categories

Resources