Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play Store not working in all Special builds #179

Closed
ghost opened this issue Jul 1, 2018 · 70 comments
Closed

Play Store not working in all Special builds #179

ghost opened this issue Jul 1, 2018 · 70 comments
Assignees

Comments

@ghost
Copy link

ghost commented Jul 1, 2018

Only shows a notification telling to log out and then log back in

@skylar-eng
Copy link

Play Store/Android apps is a known issue..
It's being worked on right now, but the process takes time...

@nabilh2020
Copy link

If you got Acer Chromebook C720 C720P - I posted on XDA forum chromebook section a hack to get the Play Store, by modding your Chromium OS R55 using Acer CB recovery rom of R11 - from USB only.

@arnoldthebat arnoldthebat self-assigned this Sep 10, 2018
@arnoldthebat arnoldthebat changed the title Play Store not working in v.67 Special build Play Store not working in all Special builds Sep 27, 2018
@arnoldthebat
Copy link
Owner

Ref comment
For Android you put in the framework, but all necessary files are missing in
/etc/init
/opt/google/containers/android/
/usr/local/Android_Images/
No wonder Android not working…
I tried to put in the files manually, but it ends up saying no space left.

Missing files & folders in arnoldthebat
/opt/google/containers/android/ – config.json rootfs system.raw.img usr vendor.raw.img
system.raw.img – size: 461983744
vendor.raw.img – size: 48439296
already these two take up all the space left in the rootfs partition…
failed – fix 🤪

@arnoldthebat
Copy link
Owner

@nabilh2020
Copy link

The question is: will Google let you implement Android without hassles?
@cloudready said they didn't allow them to, but then they funded them.
Maybe it will be safer to put in F-Droid as alternative to Play Store to cover your base ;)

@nabilh2020
Copy link

nabilh2020 commented Oct 3, 2018

Missing arc files in /etc/init: -

arc-adbd.conf arc-kmsg-logger.conf arc-network.conf arc-removable-media.conf arc-setfattr.conf arc-start-sysctl.conf arc-ureadahead.conf arc-boot-continue.conf arc-lifetime.conf arc-obb-mounter.conf arc-sdcard.conf arc-setup-env arc-stop-sysctl.conf arc-ureadahead-trace.conf
arc-camera.conf arc-network-bridge.conf arc-oemcrypto.conf arc-sensor.conf arc-stale-directory-remover.conf arc-system-mount.conf

Missing folders / files in /opt/google/containers/
android arc-art arc-obb-mounter arc-removable-media arc-sdcard

Other misc -
/etc/arc - features.json
/etc/selinux - arc config intermediates.raw
/etc/selinux/arc - contexts policy
/etc/selinux/arc/contexts -
/etc/selinux/arc/contexts/files - android_file_contexts file_contexts
/etc/selinux/arc/policy - policy.30

@nabilh2020
Copy link

On a tangent -
RFC - how did you get Linux menus activated in your v69 release?

@arnoldthebat
Copy link
Owner

They just appeared as part of R69. Nothing for me to do other than build

@nabilh2020
Copy link

nabilh2020 commented Oct 5, 2018

I see... so you are not guilty...
It is Google Chrome OS devs who are guilty of crippleware :P

@nabilh2020
Copy link

I am glad to also report something positive - Crostini works well with your r69 Chromium OS Special Build update - tested on Acer Chromebook C720P from USB.

@nabilh2020
Copy link

Another related query - is it possible to increase the sizes of rootfs A & B partitions without breaking the installation? they seem to be protected, signed?
Also how did you get it so it can boot using Ctrl-U? for chromebooks USB?

@nabilh2020
Copy link

with arnoldthebat, none.

@nabilh2020
Copy link

Looking forward to your R70 build - did you get the source code to compile it yet?

@nabilh2020
Copy link

Just to let you know -
Installing official Chrome OS on any device (PC / PC-like tablet)
https://forum.xda-developers.com/showpost.php?p=78253693&postcount=110

For Acer Chromebook C720P - from USB 3.0 -
Using chromefy with fizz / caroline yields fully working Chrome OS with arnoldthebat latest r69 Chromium OS as base -
all works, including Android & crostini, & uses Linux Kernel 4.15
this is the outcome I was looking for!
boots using Control-u

@Red5d
Copy link

Red5d commented Nov 27, 2018

So you installed arnoldthebat r69 Chromium OS first, then upgraded it to ChromeOS with Chromefy? I'm looking at using Chromefy too.

@nabilh2020
Copy link

nabilh2020 commented Nov 27, 2018

Look at post 111 - only for Acer Chromebook C720P - for others you need to identify correct recovery roms to use, for C720P cyan/caroline.

@erenoglu
Copy link

Another related query - is it possible to increase the sizes of rootfs A & B partitions without breaking the installation? they seem to be protected, signed?
Also how did you get it so it can boot using Ctrl-U? for chromebooks USB?

Yes, but you need to remove rootfs protection. Then you can do whatever you want with the rootfs partition (ROOT-A and ROOT-B if you like). I made mine 4GB.

On Android Apps, is the related container stored in rootfs or somehow extracted at first use to State partition from a heavily compressed image, if the rootfs does not have enough space in normal Chromebooks, I mean, how does Google deal with it?

@nabilh2020
Copy link

This problem is not an issue for me anymore thanks to the chromefy script - forum.xda-developers.com/showpost.php?p=78253693&postcount=110

@nabilh2020
Copy link

chromeos_11151.33.0_nocturne_recovery_stable-channel_mp.bin was released, it's for the Google Chromebook Slide & is Chrome OS 71 -

RFC -
When do you think you will be able to compile Chromium OS r70 or r71?

@nabilh2020
Copy link

Testing chromeos_11151.33.0_nocturne_recovery_stable-channel_mp.bin
on Acer Chromebook C720P -
https://forum.xda-developers.com/showpost.php?p=78338599&postcount=118

@nabilh2020
Copy link

nabilh2020 commented Dec 8, 2018

New Chromebook recovery releases in recovery.conf - chromeos_11021.81.0

Might be r70 ? - will @arnoldthebat builds get compiled soon?

https://forum.xda-developers.com/showpost.php?p=78370123&postcount=121

@arnoldthebat
Copy link
Owner

For ref, Ive started building rootfs with 4GB for all builds. Hopefully this will stop you having to resize stuff

@arnoldthebat
Copy link
Owner

arnoldthebat commented Feb 10, 2019

@imperador Try this build for the 4GB rootfs partitions. I will look to maintain it separately from the main builds if it helps you out.

https://chromium.arnoldthebat.co.uk/.testing//chromiumos_image.bin.7z

@imperador
Copy link

@arnoldthebat Thanks a lot! I'll try it tomorrow

@nabilh2020
Copy link

nabilh2020 commented Feb 13, 2019

Managed to build Chrome OS Kernel with extra modules & installed it manually -
Linux localhost 4.14.96-09859-ga5c3f2f0428a-dirty #1 SMP PREEMPT Wed Feb 13 08:04:55 GMT 2019 x86_64 Intel(R) Core(TM) i3-2365M CPU @ 1.40GHz GenuineIntel GNU/Linux
details upstream of here -
https://forum.xda-developers.com/showpost.php?p=78895755&postcount=7
it did not solve the booting issue for Acer Chromebook C720P
Google sucks as they do not provide documentation - only documentation that helped was from the crouton dude.

@nabilh2020
Copy link

I guess am on my own & will have to figure out the hard way how to build up a Chromium OS for myself, sad to see coders hoarding knowledge :(

@Red5d
Copy link

Red5d commented Feb 14, 2019

Nobody's "hoarding" knowledge. The full developer guide for building Chromium OS images, installing it, developing it, etc is publicly available from Google here: https://chromium.googlesource.com/chromiumos/docs/+/master/developer_guide.md

@nabilh2020
Copy link

Nobody's "hoarding" knowledge. The full developer guide for building Chromium OS images, installing it, developing it, etc is publicly available from Google here: chromium.googlesource.com/chromiumos/docs/+/master/developer_guide.md

Well I am not a great coder, I managed to figure out how to build the kernel, & manually force it in, but it's far from perfect - asking for advice is not a sin.

I have no problem with Ubuntu or Arch Linux kernel building, but Google is not making clear instructions for obvious reasons - corporate greed.

@nabilh2020
Copy link

OK - I finally got the chromefied ATB v72 with eve 73 / swtpm kernel upgraded from 4.14.83 to 4.14.96 - it works great on Acer iconia W700 including Android, camera & camera migration - the oddity - it removed crostini - it I put back kernel 4.14.83 crostini comes back - is there a setting I am missing? appreciate an answer if any -
details here -
https://forum.xda-developers.com/showpost.php?p=78915157&postcount=8

@arnoldthebat
Copy link
Owner

OK - I finally got the chromefied ATB v72 with eve 73 / swtpm kernel upgraded from 4.14.83 to 4.14.96 - it works great on Acer iconia W700 including Android, camera & camera migration - the oddity - it removed crostini - it I put back kernel 4.14.83 crostini comes back - is there a setting I am missing? appreciate an answer if any -
details here -
https://forum.xda-developers.com/showpost.php?p=78915157&postcount=8

If you share the .config Ill build it into my next release...

@nabilh2020
Copy link

If you share the .config Ill build it into my next release...

sure - I need to recheck it as when I run make it tends to remove some settings like the one for backlight for apple macbook air

I will put it in dropbox & post the link

@nabilh2020
Copy link

nabilh2020 commented Feb 17, 2019

Here is the dropbox link
https://www.dropbox.com/s/esr407ybr5tev1u/configs.zip?dl=0
it has the FydeOS 5.3.1 base config I extracted & your ATB v72 which I merged Fydeos 5.3.1 entries into - it updates to 4.14.96 from your 4.14.83 (replace z.config by .config)
It does compile a kernel OK - I did this manually, still learning how to do it signed. As I said details in my XDA thread.
I added all LCD panels modules, maybe it will finally allow to boot Chromebook C720P to GUI.
Oddly, I lose crostini, maybe unsigned kernels do that.
Linux localhost 4.14.96-09859-ga5c3f2f0428a #4 SMP PREEMPT Sun Feb 17 11:02:41 GMT 2019 x86_64 Intel(R) Core(TM) i3-2365M CPU @ 1.40GHz GenuineIntel GNU/Linux

@nabilh2020
Copy link

nabilh2020 commented Feb 18, 2019

Still no luck with Acer Chromebook C720P - tried several changes to .config with make menuconfig & manually - boots to a blank screen still :(
Fydeos 5.3.1 does not have this problem.
Also tried just the .config of FydeOS on its own, & strangely no luck - there must be something else.
I would have thought that this would solve it:

Display Panels

CONFIG_DRM_PANEL_LVDS=y

@nabilh2020
Copy link

I need help -

after building / updating kernel from 4.14.83 to 4.14.96 -

Just building the kernel & forcing in vmlinuz.A in /dev/sdx12 syslinux using bzImage (& modules in /lib/modules)
is apparently not enough...

It seems I also need to generate a new blob for the kernel which is /dev/sdx2

https://forum.xda-developers.com/showpost.php?p=78945492&postcount=13

this might be the cause for losing crostini...

@nabilh2020
Copy link

RFC - how to produce a Chromium OS blob for loading an updated newer kernel? @GoogleDevs @arnoldthebat @itsfoss2 @croissantDev @meNabster
https://forum.xda-developers.com/showpost.php?p=78959880&postcount=18

@nabilh2020
Copy link

Can you provide your kernel.bin to flash to /dev/sdb2?

@nabilh2020
Copy link

Anyways, I am following up on a thorough analysis of blobs in that thread, will welcome any suggestions on how to generate data for config.txt to build a successful blob using:
vbutil_kernel --pack new_kern67.bin
--keyblock /usr/share/vboot/devkeys/kernel.keyblock
--signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk
--version 1
--config config.txt
--bootloader /lib64/bootstub/bootstub.efi
--vmlinuz vmlinuz-4.14.67

@nabilh2020
Copy link

Your latest 0Day 10/03 R72 release still does not boot to GUI Acer Chromebook C720P - what changed from R69 to R72 (or for that matter from R55 to R58) ?
In R55 I have to use Ctrl-L
In R69 I have to use Ctrl-U
./.

@nabilh2020
Copy link

nabilh2020 commented Mar 14, 2019

RFC - why did you change the size of the blob partitions KERN-A/KERN-B from 16MB in R69 to 64MB in R72? - FydeOS 6.0 kept them at 16MB...

@arnoldthebat
Copy link
Owner

arnoldthebat commented Mar 14, 2019 via email

@nabilh2020
Copy link

Looks like chromium devs cripple software not to interfere with Google profits -
I am soon going to upgrade my Chromebook firmware to make it like a normal PC - so I won't have to look for hacks which are harder to get by with Google closing loopholes...
It will be interesting to find out how ctrl-u vs ctrl-l get activated. as I said
R55 works with ctrl-l only
R69 works with ctrl-u only

I didn't consciously. The default build scripts made the change...

On Thu, 14 Mar 2019, 19:14 nabilh2020, @.***> wrote: RFC - why did you change the size of the blob partitions KERN-A/KERN-B from 16MB ib R69 to 64MB in R72? - FydeOS 6.0 kept them at16MB... — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#179 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ADKVGRSID8saLZCB5wYiFgudrQvzzUZPks5vWp-CgaJpZM4U-KTI .

@nabilh2020
Copy link

I can confirm that it is Google Devs who increased Chromium/Chrome OS KERN-A/KERN-B P2/P4 from 16MB to 64MB.

@skylar-eng
Copy link

I can confirm that it is Google Devs who increased Chromium/Chrome OS KERN-A/KERN-B P2/P4 from 16MB to 64MB.

I am going to take a wild guess here and say that Google probably increased KERN-A/KERN-B to 64MB in order to future-proof the OS.
16MB is getting kinda small for a Linux kernel image.
Linux kernel is getting bigger each release, and Google adds their own patches to it for Android, and ChromeOS.
Having a larger kernel partition allows Google to add more modules in, which they need in order to support all of the Chromeboooks on the market.

@nabilh2020
Copy link

@rsdkz
Copy link

rsdkz commented Apr 4, 2019

Latest special build for 64-bit systems has Play Store in it, does not work though, it says that "a problem happened". After Chromefy-ing ChromiumOS it works.

@nabilh2020
Copy link

Latest special build for 64-bit systems has Play Store in it, does not work though, it says that "a problem happened". After Chromefy-ing ChromiumOS it works.

After flashing firmware I can boot ATB v72 -
I am using cyan v72 on ATB v72 with my hack method using original ROOT-A partition & original 3.18 cyan kernel, it works for Acer CB C720P with crostini, camera, & Android 7.1.1

@naimoe902
Copy link

@nabilh2020 just because these builds aren't useful for you does not mean they aren't useful to somebody elsewhere. Also, it could be he hasn't figured out the 4GB thing yet and is working on it..
Finally, you could build your own kernel from the source for that Acer if you want to try. Otherwise, just be patient. Don't post something that screams entitlement

Actually I am more interested in getting it to work with Acer Chromebook C720P than any other Laptop, that was the purpose of my last threads in XDA Developers Forum.
Greets & ACK's ;)

On Acer Chromebook C720P I am pleased to report that using FydeOS 5.3 (r70) as base image, I now have a fully functioning Google Chrome OS using chromefy with Nocturne, powerwashing, then overwriting it using chromefy1 with eve/caroline, it seems everything works, Android, camera, camera migration, crostini - so to answer my XDA C720P threads, this is solved - of course there will soon be cyan R71 which could yield same results with chromefy1 cyan r71 / caroline r71...
Instructions here - https://forum.xda-developers.com/showpost.php?p=78737282&postcount=143

you still have the fyde os 5.3 image? If possibile can you send it to me thks.

@nabilh2020
Copy link

naimoe902
FydeOS 5.3.1 image - where to upload it? - I have not enough space in my accounts...

@naimoe902
Copy link

naimoe902 commented Apr 11, 2019 via email

@naimoe902
Copy link

naimoe902
FydeOS 5.3.1 image - where to upload it? - I have not enough space in my accounts...

Thanks for your reply. Can you upload it to Drive or Mega? And I want to
ask you. I just found v5.2 dev image. Have you tried that version? Any
issues so far? I am using that image and everything looks good .

@arnoldthebat
Copy link
Owner

Im closing this since its not relevant now. I cannot fix the Play Store until Google open source the blobs. There are well documented ways around this using Google searches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests