[snap] CyanogenMod Snapdragon Camera

homer667

Member
Jul 23, 2010
35
14
0
/dev/random
This is the new fork of cyanogenmod 13/Snapdragon Camera.
I pulled it from the Nexus 7 2013 build an made a flashable zip for the Nexus 6.
It has to run as a system app and is still under heavy development but it is pretty fast while starting and focusing.
So give it a try.

No magic, just a simple script, all credits go to the original developers from CM!

Code:
#!/sbin/sh
ZIP=$3

ui_print "mounting system ..."
mount /system
mount -o rw,remount /system
mount -o rw,remount /system /system

cd /tmp
unzip -o "$ZIP"

rm -rf /system/app/Snap/
mkdir /system/app/Snap/
cp Snap.apk /system/app/Snap/Snap.apk
chown 0.0 /system/app/Snap/ /system/app/Snap/Snap.apk
chmod 755 /system/app/Snap/
chmod 644 /system/app/Snap/Snap.apk
chcon u:object_r:system_file:s0 /system/app/Snap/Snap.apk

ui_print "... done"
umount /system
sync
exit 0
 

Attachments

madsurgeon

Senior Member
Jan 30, 2013
397
258
93
@OP: Did you try this before posting? It doesnt work on my Aosp rom. I tried out Snap on Neobuddy's unofficial CM build a few days back. Many iterations of Snap(as a .zip or .apk) for AOSP roms have surfaced and so far none of them work as intended. Not surprised that this did not either. If you're gonna post a flashable .zip at least make sure it works, not worried that anything will happen to my phone. if nothing else, it's annoying trying a harmless removal of a system app without leaving residual clutter. Cheers!
 

mas_beck

New member
Oct 12, 2017
4
1
0
where can i write the script tersebeut ..

please explain, and more details to avoid errors and impact on the bootloop,

sorry i'm a beginner

thx mastah