Error Compiling Kernel. - Android Q&A, Help & Troubleshooting

I am trying to compile kernel for Xperia Device but i am getting this error
Code:
[email protected]:~/Android/Source/4.0.2.A.0.84/kernel$ make clean && make mrproper
make: execvp: /home/manthanrb/Android/Toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
make[2]: execvp: /home/manthanrb/Android/Toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/home/manthanrb/Android/Source/4.0.2.A.0.84/kernel/scripts/gcc-version.sh: line 25: /home/manthanrb/Android/Toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/home/manthanrb/Android/Source/4.0.2.A.0.84/kernel/scripts/gcc-version.sh: line 26: /home/manthanrb/Android/Toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
make: execvp: /home/manthanrb/Android/Toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
make[2]: execvp: /home/manthanrb/Android/Toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/home/manthanrb/Android/Source/4.0.2.A.0.84/kernel/scripts/gcc-version.sh: line 25: /home/manthanrb/Android/Toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/home/manthanrb/Android/Source/4.0.2.A.0.84/kernel/scripts/gcc-version.sh: line 26: /home/manthanrb/Android/Toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
[email protected]:~/Android/Source/4.0.2.A.0.84/kernel$
I am using Ubuntu 14.04 x64.

Give proper access perms to toolchain so build can access it.
AJ

Abhinav2 said:
Give proper access perms to toolchain so build can access it.
AJ
Click to expand...
Click to collapse
How?
I am new to linux.

Related

[Q] Will Photon AIO root work with US cellular electrify?

Tried the AIO root for the electrify on us celluar. got this:
* daemon not running. starting it now *
* daemon started successfully *
Getting temp root
RE-boot-en
Hackin Things
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
deleting all yo ****
remount failed: Operation not permitted
77 KB/s (4292 bytes in 0.054s)
Copying files onto phone...
failed to copy 'su' to '/system/xbin/su': Read-only file system
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
failed to copy 'busybox' to '/system/xbin/busybox': Read-only file system
failed to copy 'remount' to '/system/xbin/remount': Read-only file system
Setting permissions...
Unable to chmod /system/xbin/busybox: No such file or directory
Unable to chmod /system/xbin/remount: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
link failed Read-only file system
Installing busybox...
/system/xbin/busybox: not found
Cleaning up files...
"You should have root!"
Press any key to continue . . .
Any suggestions?
Thanks in advance
There are problems with the AIO for Electrify running 2.3.5. The "Photon Torpedo" method should work, though. (If you're comfortable with ADB shell, I would recommend using that instead of a terminal emulator on your phone.)
Wow just a newb. that looks pretty complex. May need to wait it out unless someone else can suggest something more my cup of tea.
thank you for you response. I may end up trying it.
Regards,
CTB

[Q] SGPT112US/S Root Help Please!

I have an unrooted Sony Tablet S 32GB Wifi model #SGPT112US/S Android Version 4.0.3 (release 5) Kernel 2.6.39.4 [email protected] #1.
Desktop trying to root from is Windows 7 64 bit (never had any issues rooting when it was on HC and or other devices in the past)
I have attempted the automated way from http://forum.xda-developers.com/showthread.php?t=1886460 , & http://forum.xda-developers.com/showthread.php?t=1828107 all 15 scripts, one at a time, all failed, all factory reset after including erasing USB storage so it is clean.
I have tried to re-sign step by step, copy/paste line by line from http://forum.xda-developers.com/showpost.php?p=31582941&postcount=42 and then follow instructions from http://forum.xda-developers.com/showthread.php?t=1828107 and tried the auto scripts again and still no luck.
I already have latest drivers from the afore mentioned http://forum.xda-developers.com/showthread.php?t=1828107 & and tested ADB as well. After each reset I enable Unknown Sources from Settings, Security, and Settngs, Developer Options, USB Debugging.
Wifi enabled, I also run Google Play and download Zinsigner2. (obviously for re-signing), tablet is plugged into wall outlet in case any issue with power and the update.
Files Extracted to root of C:\ using 7-zip using latest version of 7-zip in case of any directory length limitations.
I have tried running ADB from both the directory itself and enviornment path from afore mentioned link, and same adb version as from link.
I have also attempted the manual mode from http://forum.xda-developers.com/showthread.php?t=1886310 with both re-signed vpnfaker and not and no go.
I have also tried multiple people's other vpnfaker files just to eliminate I am somehow a total [email protected] and cant copy/paste but no go either (didnt really expect that to work but figured worth a shot).
Below is what I receive from Automated script 1st, and 2nd manual typing it out from manual link. If you have any suggestions/personal experience with this model and have success, please let me know what else I may be missing. I have way to many hours into this so far.
Thanks in advance.
Manual
C:\Root>adb restore settings.ab
C:\Root>cd /data/data/com.android.settings
The system cannot find the path specified.
C:\Root>adb shell
[email protected]:/ $ cd /data/data/com.android.settings
cd /data/data/com.android.settings
[email protected]:/data/data/com.android.settings $ rm -r a
rm -r a
rm failed for a, Permission denied
255|[email protected]:/data/data/com.android.settings $
I then run the while : ; do ln -s /data a/file99; done and it starts the loop.
I continue with the following
C:\Root>adb shell ls -ld /data
drwxrwxrwx system system 2012-10-15 18:42 data
C:\Root>adb push busybox /data/local/tmp
1313 KB/s (1867568 bytes in 1.388s)
C:\Root>adb push rootkit.tar.gz /data/local/tmp
1337 KB/s (469979 bytes in 0.343s)
C:\Root>adb push Superuser.apk /data/local/tmp
1259 KB/s (1468798 bytes in 1.138s)
C:\Root>adb push su /data/local/tmp
1323 KB/s (380532 bytes in 0.280s)
C:\Root>adb shell
[email protected]:/ $ cd /data/local/tmp
cd /data/local/tmp
[email protected]:/data/local/tmp $ chmod 755 busybox
chmod 755 busybox
[email protected]:/data/local/tmp $ ./busybox tar zxf rootkit.tar.gz
./busybox tar zxf rootkit.tar.gz
[email protected]:/data/local/tmp $ exit
exit
C:\Root>adb push VpnFaker.apk /data/local/tmp
1254 KB/s (200436 bytes in 0.156s)
C:\Root>adb shell
[email protected]:/ $ touch -t 1346025600 /data/local/tmp/VpnFaker.apk
touch -t 1346025600 /data/local/tmp/VpnFaker.apk
[email protected]:/ $ exit
exit
C:\Root>adb shell
[email protected]:/ $ cd /data
cd /data
[email protected]:/data $ /data/local/tmp/busybox cp -r system system2
/data/local/tmp/busybox cp -r system system2
cp: can't open 'system/entropy.dat': Permission denied
cp: can't open 'system/batterystats.bin': Permission denied
cp: can't open 'system/users/userlist.xml': Permission denied
cp: can't open 'system/users/0.xml': Permission denied
cp: can't open 'system/accounts.db': Permission denied
cp: can't open 'system/accounts.db-journal': Permission denied
cp: can't open 'system/called_pre_boots.dat': Permission denied
cp: can't open 'system/wallpaper_info.xml': Permission denied
cp: can't open 'system/appwidgets.xml': Permission denied
cp: can't open 'system/netpolicy.xml': Permission denied
cp: can't open 'system/netstats.bin': Permission denied
cp: can't open 'system/netstats_xt.bin': Permission denied
cp: can't open 'system/netstats_uid.bin': Permission denied
1|[email protected]:/data $ /data/local/tmp/busybox find system2 -type f -exec chmod
666 {} \;
d system2 -type f -exec chmod 666 {} \; <
[email protected]:/data $ /data/local/tmp/busybox find system2 -type d -exec chmod 7
77 {} \;
system2 -type d -exec chmod 777 {} \; <
[email protected]:/data $ mv system system-
mv system system-
[email protected]:/data $ mv system2 system
mv system2 system
failed on 'system2' - Permission denied
255|[email protected]oid:/data $ mv app app-
mv app app-
[email protected]:/data $ mkdir app
mkdir app
[email protected]:/data $ mv /data/local/tmp/VpnFaker.apk /data/app
mv /data/local/tmp/VpnFaker.apk /data/app
[email protected]:/data $ TZ=0 ls -l /data/app
TZ=0 ls -l /data/app
-rw-rw-rw- shell shell 200436 2012-08-27 00:00 VpnFaker.apk
[email protected]:/data $ /data/local/tmp/busybox sed -f /data/local/tmp/packages.xm
l.sed system-/packages.xml > system/packages.xml
tem-/packages.xml > system/packages.xml <
/system/bin/sh: cannot create system/packages.xml: Permission denied
1|[email protected]:/data $ /data/local/tmp/busybox grep vpndialogs system/packages.
xml
p vpndialogs system/packages.xml <
grep: system/packages.xml: No such file or directory
2|[email protected]:/data $
Device reboots on its own after putting in /data/local/tmp/busybox grep vpndialogs system/packages.xml
Although it seems silly, still following directions I type in and perform the following.
exit
adb reboot
Auto script (version 15 in this example)
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Mike>cd\
C:\>dir r*
Volume in drive C has no label.
Volume Serial Number is B637-CD90
Directory of C:\
10/15/2012 05:37 PM <DIR> Root
10/13/2012 05:11 AM 10,236 RunMe.bat
10/13/2012 05:12 AM 11,695 RunMe.sh
2 File(s) 21,931 bytes
1 Dir(s) 285,418,246,144 bytes free
C:\>runme
======================================================================
= This script will root your Android phone with adb restore function =
= Script by Bin4ry (thanks to Goroh_kun and tkymgr for the idea) =
= Idea for Tablet S from Fi01_IS01 =
= (13.10.2012) v15 =
======================================================================
Device type:
1) Normal
2) Special (for example: Sony Tablet S, Medion Lifetab)
x) Unroot
Make a choice: 2
Special mode:
1) Root
2) Rollback
Make a choice: 1
Tablet S mode enabled!
1093 KB/s (314540 bytes in 0.280s)
pkg: /sdcard/tmp/Term.apk
Success
1281 KB/s (1085140 bytes in 0.826s)
1151 KB/s (91980 bytes in 0.078s)
1273 KB/s (996704 bytes in 0.764s)
1337 KB/s (469982 bytes in 0.343s)
mkdevsh
onload.sh
onload2.sh
packages.xml.sed
remount.sh
VpnFaker.apk
_su
rm failed for /data/data/com.android.settings/a/*, No such file or directory
Please look at your device and click "Restore my data"
1st RESTORE OK, hit ENTER to continue.
Press any key to continue . . .
rm failed for /data/data/com.android.settings/a, Permission denied
Please look at your device and click "Restore my data"
Achieved! hit ENTER to continue.
Press any key to continue . . .
cp: can't open '/data/system/entropy.dat': Permission denied
cp: can't open '/data/system/batterystats.bin': Permission denied
cp: can't open '/data/system/users/userlist.xml': Permission denied
cp: can't open '/data/system/users/0.xml': Permission denied
cp: can't open '/data/system/accounts.db': Permission denied
cp: can't open '/data/system/accounts.db-journal': Permission denied
cp: can't open '/data/system/called_pre_boots.dat': Permission denied
cp: can't open '/data/system/wallpaper_info.xml': Permission denied
cp: can't open '/data/system/appwidgets.xml': Permission denied
cp: can't open '/data/system/netpolicy.xml': Permission denied
cp: can't open '/data/system/netstats.bin': Permission denied
cp: can't open '/data/system/netstats_xt.bin': Permission denied
cp: can't open '/data/system/netstats_uid.bin': Permission denied
Need to reboot now!
Waiting for device to come up again....
Unlock your device, a Terminal will show now, type this 2 lines, after each line
press ENTER
/data/local/tmp/onload.sh
/data/local/tmp/onload2.sh
after this is done press a key here in this shell to continue!
If the shell on your device does not show please re-start the process!
Starting: Intent { cmp=com.android.vpndialogs/.Term }
Error type 3
Error: Activity class {com.android.vpndialogs/com.android.vpndialogs.Term} does
not exist.
Press any key to continue . . .
201 KB/s (1241 bytes in 0.006s)
/data/local/tmp/script1.sh[1]: /dev/sh: not found
/data/local/tmp/script1.sh[2]: /dev/sh: not found
/data/local/tmp/script1.sh[3]: /dev/sh: not found
/data/local/tmp/script1.sh[4]: /dev/sh: not found
/data/local/tmp/script1.sh[5]: /dev/sh: not found
/data/local/tmp/script1.sh[6]: /dev/sh: not found
/data/local/tmp/script1.sh[7]: /dev/sh: not found
/data/local/tmp/script1.sh[8]: /dev/sh: not found
/data/local/tmp/script1.sh[9]: /dev/sh: not found
/data/local/tmp/script1.sh[10]: /dev/sh: not found
/data/local/tmp/script1.sh[11]: /dev/sh: not found
/data/local/tmp/script1.sh[12]: /dev/sh: not found
/data/local/tmp/script1.sh[13]: /dev/sh: not found
/data/local/tmp/script1.sh[14]: /dev/sh: not found
/data/local/tmp/script1.sh[15]: /dev/sh: not found
/data/local/tmp/script1.sh[16]: /dev/sh: not found
/data/local/tmp/script1.sh[17]: /dev/sh: not found
/data/local/tmp/script1.sh[18]: /dev/sh: not found
/data/local/tmp/script1.sh[19]: /dev/sh: not found
Almost complete! Reboot and cleanup.
Waiting for device to come up again....
/system/bin/sh: su: not found
/system/bin/sh: su: not found
/system/bin/sh: su: not found
You can close all open command-prompts now!
After reboot all is done! Have fun!
Bin4ry
Press any key to continue . . .
I am having the exact same issue. Only main difference is I am running Windows XP not 7.
Same here.
I don't get "Android is updated" after the reboot. Terminal emulator doesn't start, when I start it manually and enter "id", the UID is 10076, and not 1000 (as it should be as a system app). I think the problem is that we don't get a write permission that others get.
Edit:
in the instructions of the manual rooting method there is a line that reads"Start the injected Terminal Emulator". I know almost nothing about adb, but before this line the emulator "Term.apk" has been mentioned NOWHERE, so it hasn't been injected, or am I getting something wrong.
daClaus said:
Same here.
I don't get "Android is updated" after the reboot. Terminal emulator doesn't start, when I start it manually and enter "id", the UID is 10076, and not 1000 (as it should be as a system app). I think the problem is that we don't get a write permission that others get.
Edit:
in the instructions of the manual rooting method there is a line that reads"Start the injected Terminal Emulator". I know almost nothing about adb, but before this line the emulator "Term.apk" has been mentioned NOWHERE, so it hasn't been injected, or am I getting something wrong.
Click to expand...
Click to collapse
I also don't get android upgated as well (my line of same exact issue might need to be tweaked a bit, I was half asleep when I compared the OP situation to my own) As far as your edit above when I go through manual rooting I get nothing but permissions errors. My understand, forgive me if I am wrong, is that much of it will cause permissions errors and that is okay. I also think the guys here are light years ahead of the game for me as well as many others, so it may just be that everyone else picked up and understood what they were saying to do and I completly missed it.
I did run a AIO script yesterday and it came back as unrootable, which bothers me to say the least, exspecially since I've seen everyone get the thing rooted here.
Good luck, I'm subscribed to this and if I find anything I'll be sure to share here with you
Rob
I have posted to other threads to see if anyone has gotten the root to work with our model SGPT112US/S. I tried to skim through and see (although there are dozens and dozens of pages) but dont think I saw one that did as of yet. Wondering if there is some sort of bug/something different that has to be done for SGPT112US/S.
Time will tell I guess.
Well, I solved the problem. The whole thing worked the first time when I copied everything to C: on my hard disk. I have to admit that I have the SGPT111AT/S, but I think that doesn't make a difference. RunMe.bat and RunMe.sh are in root, the rest is in the "stuff" folder. Rooting rel. 1a worked instantly, and rooting Rel. 5 after the upgrade worked also at the first attempt. Before that I had the files on my desktop and always got the errors mentioned in the first post.
daClaus said:
Well, I solved the problem. The whole thing worked the first time when I copied everything to C: on my hard disk. I have to admit that I have the SGPT111AT/S, but I think that doesn't make a difference. RunMe.bat and RunMe.sh are in root, the rest is in the "stuff" folder. Rooting rel. 1a worked instantly, and rooting Rel. 5 after the upgrade worked also at the first attempt. Before that I had the files on my desktop and always got the errors mentioned in the first post.
Click to expand...
Click to collapse
I have the same problem but moving the file to c:\ didn't work for me- same result
Did you re-sign the VpnFaker.apk?
daClaus said:
Did you re-sign the VpnFaker.apk?
Click to expand...
Click to collapse
I didn't will give that a try. Thanks.
I tried resigning the VpnFaker.apk but still didn't work. Just for the hell of it I tried running the script in Normal mode rather than Tablet S mode with the results shown below. Based on the results of this i.e. no backup and restore on the system I installed back up and restore apk from the forum and tried the script again with the results shown below. During this I noticed that there was a message on the tablet saying that backup and restore had stopped working and in fact neither of the two backup and restore apk's from the forum will actually run on my tablet s so at the moment I'm assuming that this is the problem and looking for ways to resolve this.
Output in Normal Mode:
======================================================================
= This script will root your Android phone with adb restore function =
= Script by Bin4ry (thanks to Goroh_kun and tkymgr for the idea) =
= Idea for Tablet S from Fi01_IS01 =
= (13.10.2012) v15 =
======================================================================
Device type:
1) Normal
2) Special (for example: Sony Tablet S, Medion Lifetab)
x) Unroot
Make a choice: 1
Checking if i should run in Normal Mode or special Sony Mode
Please connect your device with USB-Debugging enabled now
remote object '/system/app/Backup-Restore.apk' does not exist
remote object '/system/bin/ric' does not exist
.
.
Normal Mode enabled!
.
Pushing busybox....
1057 KB/s (1085140 bytes in 1.002s)
Pushing su binary ....
1087 KB/s (91980 bytes in 0.082s)
Pushing Superuser app
1122 KB/s (996704 bytes in 0.867s)
Making busybox runable ...
.
Please look at your device and click RESTORE!
If all is successful i will tell you, if not this shell will run forever.
Running ...
Successful, going to reboot your device!
Waiting for device to show up again....
Going to copy files to it's place
mount: permission denied (are you root?)
You can close all open command-prompts now!
After reboot all is done! Have fun!
Bin4ry
Press any key to continue . . .
Output in Tablet S Mode:
======================================================================
= This script will root your Android phone with adb restore function =
= Script by Bin4ry (thanks to Goroh_kun and tkymgr for the idea) =
= Idea for Tablet S from Fi01_IS01 =
= (13.10.2012) v15 =
======================================================================
Device type:
1) Normal
2) Special (for example: Sony Tablet S, Medion Lifetab)
x) Unroot
Make a choice: 2
Special mode:
1) Root
2) Rollback
Make a choice: 1
Tablet S mode enabled!
929 KB/s (314540 bytes in 0.330s)
pkg: /sdcard/tmp/Term.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
1255 KB/s (1085140 bytes in 0.843s)
1299 KB/s (91980 bytes in 0.069s)
1180 KB/s (996704 bytes in 0.824s)
1229 KB/s (469987 bytes in 0.373s)
mkdevsh
onload.sh
onload2.sh
packages.xml.sed
remount.sh
VpnFaker.apk
_su
Please look at your device and click "Restore my data"
1st RESTORE OK, hit ENTER to continue.
Press any key to continue . . .
rm failed for /data/data/com.android.settings/a, Permission denied
Please look at your device and click "Restore my data"
Achieved! hit ENTER to continue.
Press any key to continue . . .
cp: can't open '/data/system/users/userlist.xml': Permission denied
cp: can't open '/data/system/users/0.xml': Permission denied
cp: can't open '/data/system/usagestats/usage-20121018': Permission denied
cp: can't open '/data/system/usagestats/usage-20121019': Permission denied
cp: can't open '/data/system/usagestats/usage-history.xml': Permission denied
cp: can't open '/data/system/registered_services/android.accounts.AccountAuthent
icator.xml': Permission denied
cp: can't open '/data/system/registered_services/android.content.SyncAdapter.xml
': Permission denied
cp: can't open '/data/system/sync/status.bin': Permission denied
cp: can't open '/data/system/sync/accounts.xml': Permission denied
cp: can't open '/data/system/sync/pending.bin': Permission denied
cp: can't open '/data/system/sync/stats.bin': Permission denied
cp: can't open '/data/system/dropbox/[email protected]': Permis
sion denied
cp: can't open '/data/system/dropbox/[email protected]': Permis
sion denied
cp: can't open '/data/system/dropbox/[email protected]': Permis
sion denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permissi
on denied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permi
ssion denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/even[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/throttle/temp': Permission denied
cp: can't open '/data/system/inputmethod/subtypes.xml': Permission denied
cp: can't open '/data/system/shared_prefs/log_files.xml': Permission denied
cp: can't open '/data/system/entropy.dat': Permission denied
cp: can't open '/data/system/batterystats.bin': Permission denied
cp: can't open '/data/system/accounts.db': Permission denied
cp: can't open '/data/system/accounts.db-journal': Permission denied
cp: can't open '/data/system/called_pre_boots.dat': Permission denied
cp: can't open '/data/system/wallpaper_info.xml': Permission denied
cp: can't open '/data/system/netpolicy.xml': Permission denied
cp: can't open '/data/system/appwidgets.xml': Permission denied
cp: can't open '/data/system/netstats.bin': Permission denied
cp: can't open '/data/system/netstats_xt.bin': Permission denied
cp: can't open '/data/system/netstats_uid.bin': Permission denied
failed on '/data/system' - Permission denied
failed on '/data/system2' - Directory not empty
failed on '/data/app' - Permission denied
mkdir failed for /data/app, File exists
failed on '/data/local/tmp/VpnFaker.apk' - Permission denied
/system/bin/sh: cannot create /data/system/packages.xml: Permission denied
Need to reboot now!
Waiting for device to come up again....
Unlock your device, a Terminal will show now, type this 2 lines, after each line
press ENTER
/data/local/tmp/onload.sh
/data/local/tmp/onload2.sh
after this is done press a key here in this shell to continue!
If the shell on your device does not show please re-start the process!
Starting: Intent { cmp=com.android.vpndialogs/.Term }
Error type 3
Error: Activity class {com.android.vpndialogs/com.android.vpndialogs.Term} does
not exist.
Press any key to continue . . .
148 KB/s (1241 bytes in 0.008s)
/data/local/tmp/script1.sh[1]: /dev/sh: not found
/data/local/tmp/script1.sh[2]: /dev/sh: not found
/data/local/tmp/script1.sh[3]: /dev/sh: not found
/data/local/tmp/script1.sh[4]: /dev/sh: not found
/data/local/tmp/script1.sh[5]: /dev/sh: not found
/data/local/tmp/script1.sh[6]: /dev/sh: not found
/data/local/tmp/script1.sh[7]: /dev/sh: not found
/data/local/tmp/script1.sh[8]: /dev/sh: not found
/data/local/tmp/script1.sh[9]: /dev/sh: not found
/data/local/tmp/script1.sh[10]: /dev/sh: not found
/data/local/tmp/script1.sh[11]: /dev/sh: not found
/data/local/tmp/script1.sh[12]: /dev/sh: not found
/data/local/tmp/script1.sh[13]: /dev/sh: not found
/data/local/tmp/script1.sh[14]: /dev/sh: not found
/data/local/tmp/script1.sh[15]: /dev/sh: not found
/data/local/tmp/script1.sh[16]: /dev/sh: not found
/data/local/tmp/script1.sh[17]: /dev/sh: not found
/data/local/tmp/script1.sh[18]: /dev/sh: not found
/data/local/tmp/script1.sh[19]: /dev/sh: not found
Almost complete! Reboot and cleanup.
Waiting for device to come up again....
/system/bin/sh: su: not found
/system/bin/sh: su: not found
/system/bin/sh: su: not found
You can close all open command-prompts now!
After reboot all is done! Have fun!
Bin4ry
Press any key to continue . . .
I have still had no luck either manual or automatic as of yet. I did find someone with a US model and they provided there VpnFaker.apk file. If someone wants to give it a shot, here is the link.
http://forum.xda-developers.com/showthread.php?t=1886460&page=83
I had no luck with it, but, beginning to wonder if mine is cursed lol.
Note - I did find one odd thing, if I use Internet Explorer, it saves the file as Vpnfaker.zip , Firefox/Chrome saves it correct as Vpnfaker.apk . Just a heads up there because it doesnt "look" any different via Explorer. (didnt notice it until I did a DIR from DOS prompt.
I tried to the root of C:\ as well and no luck, I really think it is something with this specific model. Just a matter of what.....
Thanks for the post though.
daClaus said:
Well, I solved the problem. The whole thing worked the first time when I copied everything to C: on my hard disk. I have to admit that I have the SGPT111AT/S, but I think that doesn't make a difference. RunMe.bat and RunMe.sh are in root, the rest is in the "stuff" folder. Rooting rel. 1a worked instantly, and rooting Rel. 5 after the upgrade worked also at the first attempt. Before that I had the files on my desktop and always got the errors mentioned in the first post.
Click to expand...
Click to collapse
FINALLY!
Here is what I did.
Factory reset including wipe USB
Setup wireless & google account
Settings, Security, check Unknown Sources
Settings, Developer, USB Debugging checked, Stay Awake checked, and Allow mock locations checked.
Download attachmetn from post by k4syx from http://forum.xda-developers.com/showthread.php?t=1886310&page=31
From there, resign the vpnfaker.apk from the extracted folder from instructions http://forum.xda-developers.com/showpost.php?p=31582941&postcount=42
Then replace the vpnfaker.apk file in rootkittablet.tar and inside that rootkit.tar .
run the runme.bat, choose Tablet S,
Follow along until the point the terminal emulator loads.
From there open a new dos box , type adb shell and start from "Still in the Terminal Emulator, ignore the script error" from http://forum.xda-developers.com/showthread.php?t=1886310
Note - I attempted the backup of Backup /system (you may just skip it) but then all I got was a blank screen, and had to start over in new dos box and start over.
One thing I have learned from attempting various scripts, various methods I wanted to pass on.
1. Always factory reset after failed attempts
2. Re-extract original zip file to different location on additional attempt (I think there is something goofy with the backup files after trying to run a 2nd time)
3. Re-sign vpnfaker file after each attempt.
Hope it helps!
mikeblahblah said:
FINALLY!
Here is what I did.
Factory reset including wipe USB
Setup wireless & google account
Settings, Security, check Unknown Sources
Settings, Developer, USB Debugging checked, Stay Awake checked, and Allow mock locations checked.
Download attachmetn from post by k4syx from http://forum.xda-developers.com/showthread.php?t=1886310&page=31
From there, resign the vpnfaker.apk from the extracted folder from instructions http://forum.xda-developers.com/showpost.php?p=31582941&postcount=42
Then replace the vpnfaker.apk file in rootkittablet.tar and inside that rootkit.tar .
run the runme.bat, choose Tablet S,
Follow along until the point the terminal emulator loads.
From there open a new dos box , type adb shell and start from "Still in the Terminal Emulator, ignore the script error" from http://forum.xda-developers.com/showthread.php?t=1886310
Note - I attempted the backup of Backup /system (you may just skip it) but then all I got was a blank screen, and had to start over in new dos box and start over.
One thing I have learned from attempting various scripts, various methods I wanted to pass on.
1. Always factory reset after failed attempts
2. Re-extract original zip file to different location on additional attempt (I think there is something goofy with the backup files after trying to run a 2nd time)
3. Re-sign vpnfaker file after each attempt.
Hope it helps!
Click to expand...
Click to collapse
Thanks for the perseverance will give it a go. One question does your tablet have the sony backup and restore program on it? Mine doesn't and I cant get any of the posted apk's to run.
I did not install any seperate app, just what was built in with 4.0.3. release 5. It does prompt after a reset if I wish to restore my settings, I am assuming it is using the new options with release 5 (I dont remember this with release 1a)
Hope it helps.
tippo88 said:
Thanks for the perseverance will give it a go. One question does your tablet have the sony backup and restore program on it? Mine doesn't and I cant get any of the posted apk's to run.
Click to expand...
Click to collapse
mikeblahblah said:
I did not install any seperate app, just what was built in with 4.0.3. release 5. It does prompt after a reset if I wish to restore my settings, I am assuming it is using the new options with release 5 (I dont remember this with release 1a)
Hope it helps.
Click to expand...
Click to collapse
Ok thanks. I'm still on 1a. Notsure if can get to release 5 guess you are in the US?
I solved my problem too! Apparently it just was a matter of selecting unknown sources.
Sent from my Sony Tablet S using XDA Premium HD app
Correct, US model
tippo88 said:
Ok thanks. I'm still on 1a. Notsure if can get to release 5 guess you are in the US?
Click to expand...
Click to collapse
Good deal, enjoy the root!
kandemirb said:
I solved my problem too! Apparently it just was a matter of selecting unknown sources.
Sent from my Sony Tablet S using XDA Premium HD app
Click to expand...
Click to collapse

Unpacking and repacking .cpio

I can unpack the ramdisk-recovery.cpio with the ubuntu's archive manager.
But how to repack them ??
Plz help me guys
Sent from my Xperia Mini using xda app-developers app
Try this:
Code:
find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz
I don't want to pack it as cpio.gz
Only .cpio
Sent from my Xperia Mini using xda app-developers app
Got it
Make the .cpio.gz using above command
And then gzip -d ramdisk.cpio.gz
Mods place close the thread
Sent from my Xperia Mini using xda app-developers app
What can I do if I'm getting this error? :crying:
Code:
cpio: /data: Cannot mkdir: Permission denied
cpio: /default.prop: Cannot open: Permission denied
cpio: /dev: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /init: Cannot open: Permission denied
cpio: /init.cm.rc: Cannot open: Permission denied
cpio: /init.goldfish.rc: Cannot open: Permission denied
cpio: /init.huawei.rc: Cannot open: Permission denied
cpio: /init.huawei.usb.rc: Cannot open: Permission denied
cpio: /init.qcom.sh: Cannot open: Permission denied
cpio: /init.rc: Cannot open: Permission denied
cpio: /init.trace.rc: Cannot open: Permission denied
cpio: /init.usb.rc: Cannot open: Permission denied
cpio: /proc: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /sbin: Cannot change mode to rwxr-x---: Operation not permitted
cpio: /sbin/adbd: Cannot open: Permission denied
cpio: ../init: Cannot symlink to `/sbin/ueventd': Permission denied
cpio: ../init: Cannot symlink to `/sbin/watchdogd': Permission denied
cpio: /sys: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /system: Cannot mkdir: Permission denied
cpio: /ueventd.goldfish.rc: Cannot open: Permission denied
cpio: /ueventd.huawei.rc: Cannot open: Permission denied
cpio: /ueventd.rc: Cannot open: Permission denied
Mlopik said:
What can I do if I'm getting this error? :crying:
Code:
cpio: /data: Cannot mkdir: Permission denied
cpio: /default.prop: Cannot open: Permission denied
cpio: /dev: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /init: Cannot open: Permission denied
cpio: /init.cm.rc: Cannot open: Permission denied
cpio: /init.goldfish.rc: Cannot open: Permission denied
cpio: /init.huawei.rc: Cannot open: Permission denied
cpio: /init.huawei.usb.rc: Cannot open: Permission denied
cpio: /init.qcom.sh: Cannot open: Permission denied
cpio: /init.rc: Cannot open: Permission denied
cpio: /init.trace.rc: Cannot open: Permission denied
cpio: /init.usb.rc: Cannot open: Permission denied
cpio: /proc: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /sbin: Cannot change mode to rwxr-x---: Operation not permitted
cpio: /sbin/adbd: Cannot open: Permission denied
cpio: ../init: Cannot symlink to `/sbin/ueventd': Permission denied
cpio: ../init: Cannot symlink to `/sbin/watchdogd': Permission denied
cpio: /sys: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /system: Cannot mkdir: Permission denied
cpio: /ueventd.goldfish.rc: Cannot open: Permission denied
cpio: /ueventd.huawei.rc: Cannot open: Permission denied
cpio: /ueventd.rc: Cannot open: Permission denied
Click to expand...
Click to collapse
You need to do this on a filesystem that supports symlinks (eg: FAT32 won't work, but NTFS and ext2/3/4 are okay)
---------- Post added at 11:04 AM ---------- Previous post was at 11:01 AM ----------
singh_dd93 said:
I don't want to pack it as cpio.gz
Only .cpio
Sent from my Xperia Mini using xda app-developers app
Click to expand...
Click to collapse
Just do
Code:
find . | cpio -o > ramdisk.cpio
You need to do this on a filesystem that supports symlinks (eg: FAT32 won't work, but NTFS and ext2/3/4 are okay)
Click to expand...
Click to collapse
A really good point! I was stuck for a day and you let me go, man!

[Q] permission problem on 6 files in extract-files.sh

Running extract-files.sh to get proprietary files. All is good apart from the following files
failed to copy '/system/etc/firmware/wcnss.b00' to '../../../vendor/Samsung/express/proprietary/wcnss.b00': Permission denied
failed to copy '/system/etc/firmware/wcnss.b01' to '../../../vendor/Samsung/express/proprietary/wcnss.b01': Permission denied
failed to copy '/system/etc/firmware/wcnss.b02' to '../../../vendor/Samsung/express/proprietary/wcnss.b02': Permission denied
failed to copy '/system/etc/firmware/wcnss.b04' to '../../../vendor/Samsung/express/proprietary/wcnss.b04': Permission denied
failed to copy '/system/etc/firmware/wcnss.b05' to '../../../vendor/Samsung/express/proprietary/wcnss.b05': Permission denied
failed to copy '/system/etc/firmware/wcnss.mdt' to '../../../vendor/Samsung/express/proprietary/wcnss.mdt': Permission denied
Tried running the script as root - no difference. Using Rom Lite Toolbox and the Root Browser they are listed as rwxrwxrwx 0777
Tried running CHMOD -R 777 across the directory and an individual file. Get told it is a read only.
Any ideas?
Bazzan

[Q] How do I troubleshoot my first image deployment issues?

Greetings-
I just built my first image of AOSP for a Samsung Note 3. I have, in the past deployed a Cyanogenmod nightly release on my phone. Now I am trying to deploy my image. I used this link to build my environment http://forums.androidcentral.com/verizon-galaxy-nexus-rooting-roms-hacks/189699-guide-ubuntu-compiling-android-source-12.html . But the install does not go well. I am moving the zip file to the external sd card, and using TWRP to install it. I get the following messages: E: Unable to mount '/usbstorage' Full SELinux is present In istalling '/external_sd/full_toroplus-ota-eng.root.zip checking for MD5 file Skipping MD5 check: no MD5 file found. assert failed: getprop ('ro.product.device") == "toroplus" || getprop ("ro.bild.product") ==toroplus" e:error executing updater binary in zip 'external_sd/full_toroplus-ta-eng.root.zip' error flashing zip '/external_sd/full_toroplus-ota-eng.root.zip Updating partition details.. E:unable to mount 'usbstorage'
What am I doing wrong? Is there some other way I can do this?
Sean
sansari123 said:
Greetings-
I just built my first image of AOSP for a Samsung Note 3. I have, in the past deployed a Cyanogenmod nightly release on my phone. Now I am trying to deploy my image. I used this link to build my environment http://forums.androidcentral.com/ve...guide-ubuntu-compiling-android-source-12.html . But the install does not go well. I am moving the zip file to the external sd card, and using TWRP to install it. I get the following messages: E: Unable to mount '/usbstorage' Full SELinux is present In istalling '/external_sd/full_toroplus-ota-eng.root.zip checking for MD5 file Skipping MD5 check: no MD5 file found. assert failed: getprop ('ro.product.device") == "toroplus" || getprop ("ro.bild.product") ==toroplus" e:error executing updater binary in zip 'external_sd/full_toroplus-ta-eng.root.zip' error flashing zip '/external_sd/full_toroplus-ota-eng.root.zip Updating partition details.. E:unable to mount 'usbstorage'
What am I doing wrong? Is there some other way I can do this?
Sean
Click to expand...
Click to collapse
What phone do you have? Toroplus is galaxy nexus of course that won't ever flash on a note 3 you should be building hlte for note 3
Sent from my SM-G900P using Xparent BlueTapatalk 2
Epix4G said:
What phone do you have? Toroplus is galaxy nexus of course that won't ever flash on a note 3 you should be building hlte for note 3
Sent from my SM-G900P using Xparent BlueTapatalk 2
Click to expand...
Click to collapse
Thanks. Are you saying hlte is an option for the lunch command? Here is how I got toroplus; I saw it in the android source site. https://source.android.com/#q=sprint samsungese
Basically, these are my options:
[email protected]:~/WORKING_DIRECTORY# lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_x86-eng
3. aosp_mips-eng
4. vbox_x86-eng
5. aosp_deb-userdebug
6. aosp_flo-userdebug
7. full_grouper-userdebug
8. full_tilapia-userdebug
9. mini_armv7a_neon-userdebug
10. mini_mips-userdebug
11. mini_x86-userdebug
12. full_mako-userdebug
13. full_maguro-userdebug
14. full_manta-userdebug
15. full_arndale-userdebug
16. full_toroplus-userdebug
17. full_toro-userdebug
18. full_panda-userdebug
Which would you like? [aosp_arm-eng]
sansari123 said:
Thanks. Are you saying hlte is an option for the lunch command? Here is how I got toroplus; I saw it in the android source site. https://source.android.com/#q=sprint samsungese
Basically, these are my options:
[email protected]:~/WORKING_DIRECTORY# lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_x86-eng
3. aosp_mips-eng
4. vbox_x86-eng
5. aosp_deb-userdebug
6. aosp_flo-userdebug
7. full_grouper-userdebug
8. full_tilapia-userdebug
9. mini_armv7a_neon-userdebug
10. mini_mips-userdebug
11. mini_x86-userdebug
12. full_mako-userdebug
13. full_maguro-userdebug
14. full_manta-userdebug
15. full_arndale-userdebug
16. full_toroplus-userdebug
17. full_toro-userdebug
18. full_panda-userdebug
Which would you like? [aosp_arm-eng]
Click to expand...
Click to collapse
This is not a nexus device so Google would not have it in there. .... if you want to build aosp and not cyanogen or some other flavor that had already supported hlte then you will have to add support yourself
Sent from my SM-G900P using Xparent BlueTapatalk 2
Epix4G said:
This is not a nexus device so Google would not have it in there. .... if you want to build aosp and not cyanogen or some other flavor that had already supported hlte then you will have to add support yourself
Sent from my SM-G900P using Xparent BlueTapatalk 2
Click to expand...
Click to collapse
Thanks. I started to use Cyanogenmod, and went through this link: How To Build CyanogenMod Android for Samsung Galaxy Note 3 LTE ("hlte")
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
When I issue breakfast to get the device specific modules, I get the following message:
#:~/android/system# breakfast hlte
including vendor/cm/vendorsetup.sh
ls: cannot access device/*/hlte/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_hlte". Stop.
Device hlte not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_hlte
Default revision: cm-10.2
Checking branch info
Default revision cm-10.2 not found in android_device_samsung_hlte. Bailing.
Branches found:
cm-11.0
stable/cm-11.0 Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
ls: cannot access device/*/hlte/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_hlte". Stop.
** Don't have a product spec for: 'cm_hlte'
** Do you have the right repo manifest?
--------------------------------------------------------------------------------------------------------------------------------------------------------------
I am now downloading version 11.0 instead of 10.2. Do you think that would fix my issue? I do not know what it is complaining about.
sansari123 said:
Thanks. I started to use Cyanogenmod, and went through this link: How To Build CyanogenMod Android for Samsung Galaxy Note 3 LTE ("hlte")
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
When I issue breakfast to get the device specific modules, I get the following message:
#:~/android/system# breakfast hlte
including vendor/cm/vendorsetup.sh
ls: cannot access device/*/hlte/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_hlte". Stop.
Device hlte not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_hlte
Default revision: cm-10.2
Checking branch info
Default revision cm-10.2 not found in android_device_samsung_hlte. Bailing.
Branches found:
cm-11.0
stable/cm-11.0 Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
ls: cannot access device/*/hlte/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_hlte". Stop.
** Don't have a product spec for: 'cm_hlte'
** Do you have the right repo manifest?
--------------------------------------------------------------------------------------------------------------------------------------------------------------
I am now downloading version 11.0 instead of 10.2. Do you think that would fix my issue? I do not know what it is complaining about.
Click to expand...
Click to collapse
I don't remember if their was ever a 10.2 that worked so yes I think it best to use 11.0 ... cyanogen should build with no problem. .. what os are you using that may be a problem I think most use 12.04 Ubuntu ... but I use 14.04 and the difference is a few different things ....
Sent from my SM-G900P using Xparent BlueTapatalk 2
Epix4G said:
I don't remember if their was ever a 10.2 that worked so yes I think it best to use 11.0 ... cyanogen should build with no problem. .. what os are you using that may be a problem I think most use 12.04 Ubuntu ... but I use 14.04 and the difference is a few different things ....
Sent from my SM-G900P using Xparent BlueTapatalk 2
Click to expand...
Click to collapse
I am using 12.04. Do you think I should upgrade?
I just noticed a comment about fastboot. Will I need it for this task? I just can not get fastboot working on my laptop. I think it is because I only have usb 2.0.
I have tried 11.0 twice now, and I get this error:
* [new branch] cm-11.0 -> github/cm-11.0
Fetching projects: 100% (447/447), done.
Traceback (most recent call last):
File "/root/android/system/.repo/repo/main.py", line 408, in <module>
_Main(sys.argv[1:])
File "/root/android/system/.repo/repo/main.py", line 384, in _Main
result = repo._Run(argv) or 0
File "/root/android/system/.repo/repo/main.py", line 143, in _Run
result = cmd.Execute(copts, cargs)
File "/root/android/system/.repo/repo/subcmds/sync.py", line 690, in Execute
project.Sync_LocalHalf(syncbuf)
File "/root/android/system/.repo/repo/project.py", line 1158, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/root/android/system/.repo/repo/project.py", line 2178, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/root/android/system/.repo/repo/project.py", line 2335, in rev_list
p.stderr))
error.GitError: CyanogenMod/android rev-list ('^bf81824cd948e185fdc86626f237a8c3e85a4687', 'HEAD', '--'): fatal: bad object HEAD
What should I do?
Epix4G said:
I don't remember if their was ever a 10.2 that worked so yes I think it best to use 11.0 ... cyanogen should build with no problem. .. what os are you using that may be a problem I think most use 12.04 Ubuntu ... but I use 14.04 and the difference is a few different things ....
Sent from my SM-G900P using Xparent BlueTapatalk 2
Click to expand...
Click to collapse
Hey Epix, thank you so much for your help so far. I was able to download cd-11.0. I had to delete the .repo directory a number of times ( about ten ), and it still did not work. I then deleted other git related files. I used this linke http://stackoverflow.com/questions/1213430/how-to-fully-delete-a-git-repository-created-with-init I hope this helps others.
I would really appreciate it if you can help me with fastboot issue. I posted a comment earlier. I am also now running into some other potential issues when I issue "./extract-files.sh" command. Below you see the result of grep for the words permission, and failed. Would this cause me issues? The permission issue is related to my device.
[email protected]:~/android/system/device/samsung/hlte# more typescript | grep -i permission
failed to copy '/system/bin/mpdecision' to '../../../vendor/samsung/hlte/proprietary/bin/mpdecision': Permission denied
failed to copy '/system/bin/rfs_access' to '../../../vendor/samsung/hlte/proprietary/bin/rfs_access': Permission denied
failed to copy '/system/bin/thermald' to '../../../vendor/samsung/hlte/proprietary/bin/thermald': Permission denied
failed to copy '/system/bin/thermal-engine' to '../../../vendor/samsung/hlte/proprietary/bin/thermal-engine': Permission denied
failed to copy '/system/bin/gsiff_daemon' to '../../../vendor/samsung/hlte/proprietary/bin/gsiff_daemon': Permission denied
Extracting /system/etc/permissions/com.qualcomm.location.xml ...
failed to copy '/system/bin/efsks' to '../../../vendor/samsung/hlte/proprietary/bin/efsks': Permission denied
failed to copy '/system/bin/ks' to '../../../vendor/samsung/hlte/proprietary/bin/ks': Permission denied
failed to copy '/system/bin/qcks' to '../../../vendor/samsung/hlte/proprietary/bin/qcks': Permission denied
failed to copy '/system/bin/qmuxd' to '../../../vendor/samsung/hlte/proprietary/bin/qmuxd': Permission denied
failed to copy '/system/bin/rild' to '../../../vendor/samsung/hlte/proprietary/bin/rild': Permission denied
failed to copy '/system/bin/rmt_storage' to '../../../vendor/samsung/hlte/proprietary/bin/rmt_storage': Permission denied
failed to copy '/system/bin/time_daemon' to '../../../vendor/samsung/hlte/proprietary/bin/time_daemon': Permission denied
failed to copy '/system/bin/mm-qcamera-daemon' to '../../../vendor/samsung/hlte/proprietary/bin/mm-qcamera-daemon': Permission denied
failed to copy '/system/bin/qseecomd' to '../../../vendor/samsung/hlte/proprietary/bin/qseecomd': Permission denied
failed to copy '/system/bin/mm-pp-daemon' to '../../../vendor/samsung/hlte/proprietary/bin/mm-pp-daemon': Permission denied
[email protected]:~/android/system/device/samsung/hlte# more typescript | grep -i failed
failed to copy '/system/bin/mpdecision' to '../../../vendor/samsung/hlte/proprietary/bin/mpdecision': Permission denied
failed to copy '/system/bin/rfs_access' to '../../../vendor/samsung/hlte/proprietary/bin/rfs_access': Permission denied
failed to copy '/system/bin/thermald' to '../../../vendor/samsung/hlte/proprietary/bin/thermald': Permission denied
failed to copy '/system/bin/thermal-engine' to '../../../vendor/samsung/hlte/proprietary/bin/thermal-engine': Permission denied
failed to copy '/system/bin/gsiff_daemon' to '../../../vendor/samsung/hlte/proprietary/bin/gsiff_daemon': Permission denied
failed to copy '/system/bin/efsks' to '../../../vendor/samsung/hlte/proprietary/bin/efsks': Permission denied
failed to copy '/system/bin/ks' to '../../../vendor/samsung/hlte/proprietary/bin/ks': Permission denied
failed to copy '/system/bin/qcks' to '../../../vendor/samsung/hlte/proprietary/bin/qcks': Permission denied
failed to copy '/system/bin/qmuxd' to '../../../vendor/samsung/hlte/proprietary/bin/qmuxd': Permission denied
failed to copy '/system/bin/rild' to '../../../vendor/samsung/hlte/proprietary/bin/rild': Permission denied
failed to copy '/system/bin/rmt_storage' to '../../../vendor/samsung/hlte/proprietary/bin/rmt_storage': Permission denied
failed to copy '/system/bin/time_daemon' to '../../../vendor/samsung/hlte/proprietary/bin/time_daemon': Permission denied
failed to copy '/system/bin/mm-qcamera-daemon' to '../../../vendor/samsung/hlte/proprietary/bin/mm-qcamera-daemon': Permission denied
failed to copy '/system/bin/qseecomd' to '../../../vendor/samsung/hlte/proprietary/bin/qseecomd': Permission denied
failed to copy '/system/bin/mm-pp-daemon' to '../../../vendor/samsung/hlte/proprietary/bin/mm-pp-daemon': Permission denied
[email protected]:~/android/system/device/samsung/hlte#
I tried to fix the permission issue by issuing the command mount, which according to the Cyanogenmod wiki here, http://wiki.cyanogenmod.org/w/Doc:_Building_Basics mounts the directories as read/write. But I ended up with the same amount of permission denied'sssssssssss so I used adb shell and issued mount -o remount,rw /system, and then issued the Cyanogenmod script command "./extract-files.sh'. But I still get the same number of permission denied messages. Any ideas?
sansari123 said:
Hey Epix, thank you so much for your help so far. I was able to download cd-11.0. I had to delete the .repo directory a number of times ( about ten ), and it still did not work. I then deleted other git related files. I used this linke http://stackoverflow.com/questions/1213430/how-to-fully-delete-a-git-repository-created-with-init I hope this helps others.
I would really appreciate it if you can help me with fastboot issue. I posted a comment earlier. I am also now running into some other potential issues when I issue "./extract-files.sh" command. Below you see the result of grep for the words permission, and failed. Would this cause me issues? The permission issue is related to my device.
[email protected]:~/android/system/device/samsung/hlte# more typescript | grep -i permission
failed to copy '/system/bin/mpdecision' to '../../../vendor/samsung/hlte/proprietary/bin/mpdecision': Permission denied
failed to copy '/system/bin/rfs_access' to '../../../vendor/samsung/hlte/proprietary/bin/rfs_access': Permission denied
failed to copy '/system/bin/thermald' to '../../../vendor/samsung/hlte/proprietary/bin/thermald': Permission denied
failed to copy '/system/bin/thermal-engine' to '../../../vendor/samsung/hlte/proprietary/bin/thermal-engine': Permission denied
failed to copy '/system/bin/gsiff_daemon' to '../../../vendor/samsung/hlte/proprietary/bin/gsiff_daemon': Permission denied
Extracting /system/etc/permissions/com.qualcomm.location.xml ...
failed to copy '/system/bin/efsks' to '../../../vendor/samsung/hlte/proprietary/bin/efsks': Permission denied
failed to copy '/system/bin/ks' to '../../../vendor/samsung/hlte/proprietary/bin/ks': Permission denied
failed to copy '/system/bin/qcks' to '../../../vendor/samsung/hlte/proprietary/bin/qcks': Permission denied
failed to copy '/system/bin/qmuxd' to '../../../vendor/samsung/hlte/proprietary/bin/qmuxd': Permission denied
failed to copy '/system/bin/rild' to '../../../vendor/samsung/hlte/proprietary/bin/rild': Permission denied
failed to copy '/system/bin/rmt_storage' to '../../../vendor/samsung/hlte/proprietary/bin/rmt_storage': Permission denied
failed to copy '/system/bin/time_daemon' to '../../../vendor/samsung/hlte/proprietary/bin/time_daemon': Permission denied
failed to copy '/system/bin/mm-qcamera-daemon' to '../../../vendor/samsung/hlte/proprietary/bin/mm-qcamera-daemon': Permission denied
failed to copy '/system/bin/qseecomd' to '../../../vendor/samsung/hlte/proprietary/bin/qseecomd': Permission denied
failed to copy '/system/bin/mm-pp-daemon' to '../../../vendor/samsung/hlte/proprietary/bin/mm-pp-daemon': Permission denied
[email protected]:~/android/system/device/samsung/hlte# more typescript | grep -i failed
failed to copy '/system/bin/mpdecision' to '../../../vendor/samsung/hlte/proprietary/bin/mpdecision': Permission denied
failed to copy '/system/bin/rfs_access' to '../../../vendor/samsung/hlte/proprietary/bin/rfs_access': Permission denied
failed to copy '/system/bin/thermald' to '../../../vendor/samsung/hlte/proprietary/bin/thermald': Permission denied
failed to copy '/system/bin/thermal-engine' to '../../../vendor/samsung/hlte/proprietary/bin/thermal-engine': Permission denied
failed to copy '/system/bin/gsiff_daemon' to '../../../vendor/samsung/hlte/proprietary/bin/gsiff_daemon': Permission denied
failed to copy '/system/bin/efsks' to '../../../vendor/samsung/hlte/proprietary/bin/efsks': Permission denied
failed to copy '/system/bin/ks' to '../../../vendor/samsung/hlte/proprietary/bin/ks': Permission denied
failed to copy '/system/bin/qcks' to '../../../vendor/samsung/hlte/proprietary/bin/qcks': Permission denied
failed to copy '/system/bin/qmuxd' to '../../../vendor/samsung/hlte/proprietary/bin/qmuxd': Permission denied
failed to copy '/system/bin/rild' to '../../../vendor/samsung/hlte/proprietary/bin/rild': Permission denied
failed to copy '/system/bin/rmt_storage' to '../../../vendor/samsung/hlte/proprietary/bin/rmt_storage': Permission denied
failed to copy '/system/bin/time_daemon' to '../../../vendor/samsung/hlte/proprietary/bin/time_daemon': Permission denied
failed to copy '/system/bin/mm-qcamera-daemon' to '../../../vendor/samsung/hlte/proprietary/bin/mm-qcamera-daemon': Permission denied
failed to copy '/system/bin/qseecomd' to '../../../vendor/samsung/hlte/proprietary/bin/qseecomd': Permission denied
failed to copy '/system/bin/mm-pp-daemon' to '../../../vendor/samsung/hlte/proprietary/bin/mm-pp-daemon': Permission denied
[email protected]:~/android/system/device/samsung/hlte#
Click to expand...
Click to collapse
You have to setup android sdk ..and add it to bash and path so that in any terminal you can type android and it opens sdk ... Until then you can't extract files
Sent from my SM-N900P using Xparent BlueTapatalk 2

Categories

Resources