DJI Phantom 2 Vision+ Review – XDA TV

The holidays will be here in no time, so why not start thinking about gifts now? Youll be ahead … more

Mozilla Ditches Google, Makes Yahoo Default Search Engine

Mozilla and Google have had a long-standing relationship of about 10 years. Google … more

Learn More About Linux with Linux Man Pages

Linux is quite a powerful and very configurable operating system. Thanks to some user-friendly … more

Detect, Avoid IMSI-Catcher Attacks with Android IMSI-Catcher Detector

Privacy is always an important topic, as well as a delicate one to … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Gapps with own apk

OP mitsucats

20th October 2013, 03:27 PM   |  #1  
OP Senior Member
Thanks Meter: 37
 
267 posts
Join Date:Joined: Dec 2009
Hallo

I have for the last days read and read and try to learn all about this custom rom. but i dont get any smartere at the moment.

I have download a custom rom 4.3 and Gapps for 4.3

1 wipe all
2 flash custom rom
3 Flash gapps
4 boot rom and wait long before all aps from market is install

Now i thouht you can download all the .apk you need and put them into the gapps or custom rom.

first i try this unzip the custom rom put all .apk into system\app but when rom is flash and boot i come to where
i must put my pincode in then break hell lose all program stop working system ui and so on.

Then i thought we try the same with the Gapps instead but same result.....

I Search more on google and found this tool "APK Swapper" where you can add .apk to the rom
and it then can i pack all as .zip and flash it

Now i hought i work fine but no way i get same error.

I try to search more on google but get more confuse because few says that works for me other say no and try to search more but now i am so confuse that i need little help here.

How do i make a Zip or put them into Gapps these .apk i like to have on my rom ?. and then falsh it and all is there....

P.S i have just try this

Unpack the Gapps signed 4.3 and then change in the update-script

Quote:

ui_print("**************************************** *******");
ui_print(" Google Apps for Android 4.3.0");
ui_print("**************************************** *******");

ui_print("Installing files...");
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 15);
delete("/system/app/Provision.apk","/system/app/textinput-tng.apk","/system/app/DBA.apk","/system/app/DBA.apk","/system/app/Ebay.apk","/system/app/Ebay-Kleinanzeigen.apk","/system/app/Ebay-Widget.apk","/system/app/Entertain-Remote-Control.apk","/system/app/Facebook.apk","/system/app/Firefox.apk","/system/app/Google-Maps.apk","/system/app/GPS-Status.apk","/system/app/HandcentSMS.apk","/system/app/HandcentSMS-Danish-Language.apk","/system/app/HandcentSMS-ink.apk","/system/app/Ingdiba.apk","/system/app/lieferando.apk","/system/app/MailListWidget-K-9.apk","/system/app/NovaLauncher.apk","/system/app/ROM-Manager.apk","/system/app/Paypal.apk","/system/app/Sense-V2.apk","/system/app/Solitar.apk","/system/app/Skype.apk","/system/app/Sparkasse.apk","/system/app/SpeechSynthesis-Data-Installer.apk","/system/app/TeamViewer.apk","/system/app/YouTube.apk","/system/app/XDA-Developers.apk","/system/app/QuickSearchBox.apk","/system/app/SetupWizard.apk","/system/app/Velvet.apk","/system/app/Vending.apk","/system/app/BrowserProviderProxy.apk","/system/app/PartnerBookmarksProvider.apk","/system/app/Gmail2.apk");
package_extract_dir("system", "/system");
set_perm(0, 0, 0755, "/system/addon.d/70-gapps.sh");
package_extract_dir("optional", "/tmp");
package_extract_file("install-optional.sh", "/tmp/install-optional.sh");
set_perm(0, 0, 0777, "/tmp/install-optional.sh");
run_program("/tmp/install-optional.sh", "");
show_progress(1, 15);
ui_print("Cleaning up...");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Installation complete!");

But all goes fine to flash the rom and gapps but then when it has boot and come to first time to Chose the lanuage
all program start to stop unfornataly has stop ....and i cant come to next step or chose the langugage because it
it just popup with stops and stops. and so on,
Last edited by mitsucats; 20th October 2013 at 04:18 PM.
20th October 2013, 05:14 PM   |  #2  
pascuals's Avatar
Member
Thanks Meter: 30
 
71 posts
Join Date:Joined: Feb 2013
More
Quote:
Originally Posted by mitsucats

Hallo

I have for the last days read and read and try to learn all about this custom rom. but i dont get any smartere at the moment.

I have download a custom rom 4.3 and Gapps for 4.3

1 wipe all
2 flash custom rom
3 Flash gapps
4 boot rom and wait long before all aps from market is install

Now i thouht you can download all the .apk you need and put them into the gapps or custom rom.

first i try this unzip the custom rom put all .apk into system\app but when rom is flash and boot i come to where
i must put my pincode in then break hell lose all program stop working system ui and so on.

Then i thought we try the same with the Gapps instead but same result.....

I Search more on google and found this tool "APK Swapper" where you can add .apk to the rom
and it then can i pack all as .zip and flash it

Now i hought i work fine but no way i get same error.

I try to search more on google but get more confuse because few says that works for me other say no and try to search more but now i am so confuse that i need little help here.

How do i make a Zip or put them into Gapps these .apk i like to have on my rom ?. and then falsh it and all is there....

P.S i have just try this

Unpack the Gapps signed 4.3 and then change in the update-script



But all goes fine to flash the rom and gapps but then when it has boot and come to first time to Chose the lanuage
all program start to stop unfornataly has stop ....and i cant come to next step or chose the langugage because it
it just popup with stops and stops. and so on,

Try in data/app instead system/app
Add this to the script
run_program("/sbin/busybox", "mount", "/data");
package_extract_dir("data","/data")
run_program("/sbin/busybox", "umount", "/data");
The Following User Says Thank You to pascuals For This Useful Post: [ View ]
20th October 2013, 05:21 PM   |  #3  
OP Senior Member
Thanks Meter: 37
 
267 posts
Join Date:Joined: Dec 2009
Quote:
Originally Posted by pascuals

Try in data/app instead system/app
Add this to the script
run_program("/sbin/busybox", "mount", "/data");
package_extract_dir("data","/data")
run_program("/sbin/busybox", "umount", "/data");



So something like this

Quote:

ui_print("**************************************** *******");
ui_print(" Google Apps for Android 4.3.0");
ui_print("**************************************** *******");

ui_print("Installing files...");
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 51);
package_extract_dir("data","/data")
run_program("/sbin/busybox", "umount", "/data");
delete("/system/app/Provision.apk","/system/app/textinput-tng.apk","/system/app/DBA.apk","/system/app/DBA.apk","/system/app/Ebay.apk","/system/app/Ebay-Kleinanzeigen.apk","/system/app/Ebay-Widget.apk","/system/app/Entertain-Remote-Control.apk","/system/app/Facebook.apk","/system/app/Firefox.apk","/system/app/Google-Maps.apk","/system/app/GPS-Status.apk","/system/app/HandcentSMS.apk","/system/app/HandcentSMS-Danish-Language.apk","/system/app/HandcentSMS-ink.apk","/system/app/Ingdiba.apk","/system/app/lieferando.apk","/system/app/MailListWidget-K-9.apk","/system/app/NovaLauncher.apk","/system/app/ROM-Manager.apk","/system/app/Paypal.apk","/system/app/Sense-V2.apk","/system/app/Solitar.apk","/system/app/Skype.apk","/system/app/Sparkasse.apk","/system/app/SpeechSynthesis-Data-Installer.apk","/system/app/TeamViewer.apk","/system/app/YouTube.apk","/system/app/XDA-Developers.apk","/system/app/QuickSearchBox.apk","/system/app/SetupWizard.apk","/system/app/Velvet.apk","/system/app/Vending.apk","/system/app/BrowserProviderProxy.apk","/system/app/PartnerBookmarksProvider.apk","/system/app/Gmail2.apk");
package_extract_dir("system", "/system");
set_perm(0, 0, 0755, "/system/addon.d/70-gapps.sh");
package_extract_dir("optional", "/tmp");
package_extract_file("install-optional.sh", "/tmp/install-optional.sh");
set_perm(0, 0, 0777, "/tmp/install-optional.sh");
run_program("/tmp/install-optional.sh", "");
show_progress(1, 15);
ui_print("Cleaning up...");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Installation complete!")

And then put all the app in forlder data\app
21st October 2013, 01:46 PM   |  #4  
pascuals's Avatar
Member
Thanks Meter: 30
 
71 posts
Join Date:Joined: Feb 2013
More
Noo
Add the 3 lines at the end before run_program("/sbin/busybox","unmount","/system") ;

Enviado desde mi Nexus 7 usando Tapatalk now Free
The Following User Says Thank You to pascuals For This Useful Post: [ View ]
22nd October 2013, 04:01 PM   |  #5  
OP Senior Member
Thanks Meter: 37
 
267 posts
Join Date:Joined: Dec 2009
Quote:
Originally Posted by pascuals

Noo
Add the 3 lines at the end before run_program("/sbin/busybox","unmount","/system") ;

Enviado desde mi Nexus 7 usando Tapatalk now Free

I have yesterday try that and the rom goes fine and the Gapps goes also fine
but when i comes into the phone and login by Google store then start to download all
the programs so they where not install.

what is wrong now ?

The root folder looks like this

Data
App
META-INF
com
optional
face
addon.d
app
lib
vendor
system
addon.d
app
etc
framework
lib
tts
usr

The updater-script looks like this

Quote:

ui_print("**************************************** *******");
ui_print(" Google Apps for Android 4.3.0");
ui_print("**************************************** *******");

ui_print("Installing files...");
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 15);
delete("/system/app/Provision.apk","/system/app/QuickSearchBox.apk","/system/app/SetupWizard.apk","/system/app/Velvet.apk","/system/app/Vending.apk","/system/app/BrowserProviderProxy.apk","/system/app/PartnerBookmarksProvider.apk","/system/app/Gmail2.apk");
package_extract_dir("system", "/system");
set_perm(0, 0, 0755, "/system/addon.d/70-gapps.sh");
package_extract_dir("optional", "/tmp");
package_extract_file("install-optional.sh", "/tmp/install-optional.sh");
set_perm(0, 0, 0777, "/tmp/install-optional.sh");
run_program("/tmp/install-optional.sh", "");
show_progress(1, 15);
ui_print("Cleaning up...");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
run_program("/sbin/busybox","mount","/data");
package_extract_dir("data/", "/data/local");
set_perm(0, 0, 0755, 0644, "/system/app/textinput-chn.apk");
set_perm(0, 0, 0755, 0644, "/system/app/textinput-tng.apk");
set_perm(0, 0, 0755, 0644, "/system/lib/libXT9Engine.so");
set_perm(0, 0, 0755, 0644, "/data/app/CameraMX.apk");
set_perm(0, 0, 0755, 0644, "/data/app/DBA.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Ebay.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Ebay-Kleinanzeigen.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Ebay-Widget.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Entertain-Remote-Control.apk");
set_perm(0, 0, 0755, 0644, "/data/app/ES-Datei-Explorer.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Facebook.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Firefox.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Google-Maps.apk");
set_perm(0, 0, 0755, 0644, "/data/app/GPS-Status.apk");
set_perm(0, 0, 0755, 0644, "/data/app/HandcentSMS.apk");
set_perm(0, 0, 0755, 0644, "/data/app/HandcentSMS-DL.apk");
set_perm(0, 0, 0755, 0644, "/data/app/HandcentSMS-ink.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Ingdiba.apk");
set_perm(0, 0, 0755, 0644, "/data/app/lieferando.apk");
set_perm(0, 0, 0755, 0644, "/data/app/MailListWidget-K-9.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Paypal.apk");
set_perm(0, 0, 0755, 0644, "/data/app/ROM-Manager.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Sense-V2.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Skype.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Solitar.apk");
set_perm(0, 0, 0755, 0644, "/data/app/Sparkasse.apk");
set_perm(0, 0, 0755, 0644, "/data/app/SpSynthesis-Data.apk");
set_perm(0, 0, 0755, 0644, "/data/app/TeamViewer.apk");
set_perm(0, 0, 0755, 0644, "/data/app/XDA-Developers.apk");
set_perm(0, 0, 0755, 0644, "/data/app/YouTube.apk");
run_program("/sbin/umount", "/data");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Installation complete!");

22nd October 2013, 07:58 PM   |  #6  
OP Senior Member
Thanks Meter: 37
 
267 posts
Join Date:Joined: Dec 2009
Hallo

i have plaz the whole day and now get all to work. so cool

Thank you very much for all the help......

The code looks like this

Quote:

ui_print("**************************************** *******");
ui_print(" Google Apps for Android 4.3.0");
ui_print("**************************************** *******");

ui_print("Installing files...");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/data");
show_progress(1, 51);
delete("/system/app/Provision.apk","/system/app/QuickSearchBox.apk","/system/app/SetupWizard.apk","/system/app/Velvet.apk","/system/app/Vending.apk","/system/app/BrowserProviderProxy.apk","/system/app/PartnerBookmarksProvider.apk","/system/app/Gmail2.apk");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
package_extract_dir("data", "/data/local");
set_perm(0, 0, 0755, 0644, "/system/app/textinput-chn.apk");
set_perm(0, 0, 0755, 0644, "/system/app/textinput-tng.apk");
set_perm(0, 0, 0755, 0644, "/system/lib/libXT9Engine.so");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(0, 0, 0755, 0644, "/data/app");
set_perm(0, 0, 0755, "/system/addon.d/70-gapps.sh");
package_extract_dir("optional", "/tmp");
package_extract_file("install-optional.sh", "/tmp/install-optional.sh");
set_perm(0, 0, 0777, "/tmp/install-optional.sh");
run_program("/tmp/install-optional.sh", "");
show_progress(1, 15);
ui_print("Cleaning up...");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
ui_print("Cleaning up...");
run_program("/sbin/busybox", "umount", "/data");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Installation complete!");

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes