Coder Social home page Coder Social logo

cranberry's People

Contributors

ceriswhite avatar ethanaobrien avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cranberry's Issues

Script succeeds but still no root shell in Android subsystem

Script output:

mke2fs 1.45.6 (20-Mar-2020)
Discarding device blocks: done                            
Creating filesystem with 384000 4k blocks and 96000 inodes
Filesystem UUID: 9aaf63c8-d481-467f-a825-48b8a6faf1df
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done 

SELinux set to Permissive.
 
Copying files into new android image
Errors about acct, dev, or oem are normal
 
mkdir: cannot create directory '/usr/local/cranberry/new/acct': File exists
mkdir: cannot create directory '/usr/local/cranberry/new/dev': File exists
stat: cannot statx '/usr/local/bin/busybox': No such file or directory

stat: cannot statx '/usr/local/cranberry/supersu/supersu.zip': No such file or directory

File did not download correctly! Retrying.
 

Unzipping SuperSU...
 
Installing SU.
Do NOT edit /usr/share/arc-setup/config.json. Making changes to this file will permanently trash your new image.
If you want to make changes to your system, remove the symlink, reboot, and mount it as a loop device using
"mount -o loop,rw,sync /usr/local/cranberry/system.rooted.img /usr/local/cranberry/new"
 
Patching SELinux. Android apps will stop working until reboot.
 
supolicy v2.82 (ndk:x86) - Copyright (C) 2014-2017 - Chainfire & CCMT

Patching policy [/var/run/arc/sdcard/default/emulated/0/Download/policy.30] --> [/var/run/arc/sdcard/default/emulated/0/Download/policy.30_new] ...
libsepol.policydb_index_others: security:  1 users, 4 roles, 1903 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security:  99 classes, 29564 rules, 0 cond rules
- Success
Reboot and enjoy!

And Android apps are not closed after completed.
Android version is still 9 (Pie).

Please help asap.

Welcome to crosh, the Chrome OS developer shell.

If you got here by mistake, don't panic!  Just close this tab and carry on.

Type 'help' for a list of commands.

If you want to customize the look/behavior, you can use the options page.
Load it by using the Ctrl-Shift-P keyboard shortcut.

crosh> shell
chronos@localhost / $ curl https://raw.githubusercontent.com/RennBurris/CrAnberry/main/cranberry.sh | sudo sh

System Image already replaced with symlink?

There's a symlink in place for the android image, but no original image to work with?
Get a copy of your device's system.raw.img and put it in "/opt/google/containers/android/"

rm: cannot remove '/opt/google/containers/android/system.raw.img': No such file or directory

Help reduce disk space

Hi, sorry my english, after doing root in my dell 11 3180, chromeos 103, is working well (thanks!!!) but i lost more than 1GB disk space

I see a file system.rooted.img is almost 1GB, maybe i can erase a backup or something to recover the lost space? sadly i needed to uninstall cranberry because this, but i really want a rooted android, but with limited space 1GB+ is too much

I was thinking in create a ext2 partition in a SD card and move this file there, then symlink or something... i see the file is in

/mnt/stateful_partition/dev_image/cranberry

/usr/local/cranberry

thanks!

Error: No space left on device

Using Lenovo Chromebook duet installation halts with the several error message:
"Error: No space left on device"
Expanding disk image size (dd seek=1G > 2G) in the script made it work in my case.

i need help(:

chronos@localhost / $ curl https://raw.githubusercontent.com/CerisWhite/CrAnberry/main/cranberry.sh | sudo bash

0+0 records in
0+0 records out
0 bytes copied, 2.1442e-05 s, 0.0 kB/s
mke2fs 1.46.5 (30-Dec-2021)
Discarding device blocks: done
Creating filesystem with 384000 4k blocks and 96000 inodes
Filesystem UUID: a389f001-9ef7-4489-b2e9-bd3285382d7b
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

SELinux set to Permissive.

Copying files into new android image
Errors about acct, dev, or oem are normal

*i used it on FydeOS

Why CANT WE USE MAGISK?

Magisk can work on systems that can only be mounted as read only. It's fairly cool too! (Magisk modules, edxposed or Lsposed) so that should be your goal instead of the trashy old superSU

Patch kernel using kernel su

Is this is possible to patch android subsidiary container kernel patch using kernel su it is best and easy way if you can compile kernel for it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.