[Q] Android L custom ROM symlinks & permissions - Android Q&A, Help & Troubleshooting

Hey!
I have some questions. With Android L arrived the custom ROMs with files packed into image files (like system.img). And I saw that cm12(just an example) doesn't need anymore to set permissions and create symlinks because they are already stored inside the image file.
And my question is: how can I store the system files into a image file with all symlinks created and permissions set? And also which files require symlinks and what permission should be set for folders/files ?..and into a image files, where are stored the symlinks?
I'm using Windows 7 and I want to make a custom ROM based on stock LG G2 firmware.
I have other ROM's as reference(with system packed into an image file, and with system unpacked) and I can look inside them to see which files needs symlinks..but my main question is, why these files need symlinks?
Thanks!

My two cents :
Cmd to find symlinks (in term emulator, you can remove the end of the cmd if you just want to see the result in the terminal instead of creating a file fic.txt)
ls -lR /system | grep ^l | grep " -> " > fic.txt
Note : in cloudyfa's rom you can see symlinks in updater script (same as stock + busybox)

6ril1 said:
My two cents :
Cmd to find symlinks (in term emulator, you can remove the end of the cmd if you just want to see the result in the terminal instead of creating a file fic.txt)
ls -lR /system | grep ^l | grep " -> " > fic.txt
Note : in cloudyfa's rom you can see symlinks in updater script (same as stock + busybox)
Click to expand...
Click to collapse
Thanks for help ..I understand better now..I searched more and the system.img is the stock image from kdz(I think).. and it contains the necessary symlinks and permissions.

raulx222 said:
Thanks for help ..I understand better now..I searched more and the system.img is the stock image from kdz(I think).. and it contains the necessary symlinks and permissions.
Click to expand...
Click to collapse
Can you help me,how do you get the symlinks and permissions from the system.img;
Thank you very much,I searched this issue long time

austinycl said:
Can you help me,how do you get the symlinks and permissions from the system.img;
Thank you very much,I searched this issue long time
Click to expand...
Click to collapse
Try running that command and see the output. It's been a long time, I don't quite remember right now. Try looking into cloudyfa's ROM zip, it might help

raulx222 said:
Try running that command and see the output. It's been a long time, I don't quite remember right now. Try looking into cloudyfa's ROM zip, it might help
Click to expand...
Click to collapse
Thank you very much,I will try it!

U can use SuperR kitchen

Related

edit system.img

hy everybody.
i try mod the system.img on ubuntu linux with unyaffs and mkfs.yaffs2, i "hacked" the symlinks(because the armv6 unyaffs doen't like) so now everything is ok, unyaffs works well. BUT:
when i flash the other sin files with flashtool, my x8 is restart after a green sony ball. i gave to all file in bin folder: rwx-rx-rx and the all other files got rw-r-r permissions.
so, i don't know what is the problem with this method.
//my system.img was flashed with a method in "clean and pre-rooted 2.1 rom" thread.//
in attachment the filesunyaffs and mkfs.yaffs2.x86)
unfortunately unyaffs-x86 does NOT preserve all file permissions if image is extracted and reassembled in Linux x86.
You have to extract/assemble on the phone to keep permissions.
Or, alternatively, you can fix permissions by using xRecovery tool, there's a menu "fix permissions".
To see why exactly your phone reboots, use adb logcat from PC.
racht said:
unfortunately unyaffs-x86 does NOT preserve all file permissions if image is extracted and reassembled in Linux x86.
You have to extract/assemble on the phone to keep permissions.
Or, alternatively, you can fix permissions by using xRecovery tool, there's a menu "fix permissions".
To see why exactly your phone reboots, use adb logcat from PC.
Click to expand...
Click to collapse
yess, thank you! now i found a mkfs.yaffs2 for arm processors for android. it's verry slow.
so i made my sdcard to ext2, and now i try to "extract" my img.
so ... It's used to ?
trapacska said:
hy everybody.
i try mod the system.img on ubuntu linux with unyaffs and mkfs.yaffs2, i "hacked" the symlinks(because the armv6 unyaffs doen't like) so now everything is ok, unyaffs works well. BUT:
when i flash the other sin files with flashtool, my x8 is restart after a green sony ball. i gave to all file in bin folder: rwx-rx-rx and the all other files got rw-r-r permissions.
so, i don't know what is the problem with this method.
//my system.img was flashed with a method in "clean and pre-rooted 2.1 rom" thread.//
in attachment the filesunyaffs and mkfs.yaffs2.x86)
Click to expand...
Click to collapse
i've created sh script to view your current permissions.
it could be useful to re-set the permission manually to create the ROM
how:
upload to root of sdcard
run
Code:
su
cd /sdcard
sh plist.sh
it will create folder "permissions" on your sdcard.
all files permission listed there
open with notepad++
propc said:
i've created sh script to view your current permissions.
it could be useful to re-set the permission manually to create the ROM
how:
upload to root of sdcard
run
Code:
su
cd /sdcard
sh plist.sh
it will create folder "permissions" on your sdcard.
all files permission listed there
open with notepad++
Click to expand...
Click to collapse
it's cool! thank you. now i try to debrand the oroginal x8 rom.
trapacska said:
it's cool! thank you. now i try to debrand the oroginal x8 rom.
Click to expand...
Click to collapse
you know what. i've found a better method to change permissions
1-mount original system.img
Code:
mkdir tmp/1
sudo mount -o loop /your/system.img/path /tmp/1
2-clone permissions from original system.img to your system folder
Code:
chmod -R --reference /tmp/1 /your/new/system/path
and the permission fix done!
EDIT: tested. and worked. I've finally created my own modified ROM (running on sdcard)
EDIT2: some problem with root permissions, will work on it
thank you i found a way to fix permissions too:
1. unyaffs original system.img
2. in busybox shell mount it to r/w
3. copy xrecovery and su and superuser to fresh rom.
(for me it works well without xrecovery fix permissions)
if there is some error, you can fix it with xrecovery
Hello,
Can you try to change the /system image with one from froyo ? You can find such image in the X10 forum. I thing that if we change the contents of the /system with such from froyo it should work. With the standard kernel from eclair.
Please try this and let me know.
bnight said:
Hello,
Can you try to change the /system image with one from froyo ? You can find such image in the X10 forum. I thing that if we change the contents of the /system with such from froyo it should work. With the standard kernel from eclair.
Please try this and let me know.
Click to expand...
Click to collapse
i tried it. no luck. too many files. where are the files that need to be edited?
/system/lib?
propc said:
i tried it. no luck. too many files. where are the files that need to be edited?
/system/lib?
Click to expand...
Click to collapse
/system/framework (for a skin)((but the all folder))
trapacska said:
/system/framework (for a skin)((but the all folder))
Click to expand...
Click to collapse
thanks. will try porting from htc legend 2.2 rom later.

editing an update script to flash a rom

hi i followed this guide posted here http://forum.xda-developers.com/showthread.php?t=1064074
but i dont understand the script part i downloaded the cm7 rom and opened the script in that with note pad and changed it to the one from the guide but when i install the rom i get
"E:Syntac error in update-script"
Installation aborted.
so can someone tell me what im doing wrong
sorry if its in the wrong forum but i thought since its x10 development then i should ask here mods feel free to delete
and i know im going to get people saying i shouldn't try this unless i know what im doing but i have a spare x10 so just wanna give it a try
thanks for any help
rls190687 said:
hi i followed this guide posted here http://forum.xda-developers.com/showthread.php?t=1064074
but i dont understand the script part i downloaded the cm7 rom and opened the script in that with note pad and changed it to the one from the guide but when i install the rom i get
"E:Syntac error in update-script"
Installation aborted.
so can someone tell me what im doing wrong
sorry if its in the wrong forum but i thought since its x10 development then i should ask here mods feel free to delete
and i know im going to get people saying i shouldn't try this unless i know what im doing but i have a spare x10 so just wanna give it a try
thanks for any help
Click to expand...
Click to collapse
How come you didn't post it there instead of creating an entirely new thread
Sent from my X10project using XDA App
can u post the contents of the update-script here?
also are u using amend or edify syntax?
rls190687 said:
hi i followed this guide posted here http://forum.xda-developers.com/showthread.php?t=1064074
but i dont understand the script part i downloaded the cm7 rom and opened the script in that with note pad and changed it to the one from the guide but when i install the rom i get
"E:Syntac error in update-script"
Installation aborted.
so can someone tell me what im doing wrong
sorry if its in the wrong forum but i thought since its x10 development then i should ask here mods feel free to delete
and i know im going to get people saying i shouldn't try this unless i know what im doing but i have a spare x10 so just wanna give it a try
thanks for any help
Click to expand...
Click to collapse
The Tutorial is for MIUI 2.2 so why you use it on CM 7 (2.3)?
DooMLoRD said:
can u post the contents of the update-script here?
also are u using amend or edify syntax?
Click to expand...
Click to collapse
update-script (7.17 KB) http://www.multiupload.com/KF64P2PXIR
updater-script (15.91 KB) http://www.multiupload.com/PSIF0CNN6I
update-binary (254.04 KB) http://www.multiupload.com/C4UNKXBW32
these are the files from the 2 roms
the 1st on is js script
Delete updater-script and update-binary
rdannar said:
make sure you delet updater and update binary from folder and replace with update-script
Click to expand...
Click to collapse
realunited123 said:
Delete updater-script and update-binary
Click to expand...
Click to collapse
tryed that followed the guide
the 2 roms im trying to mix are
cm7 js rom
and
RCMixS_v1.1_++_CM7Hboot
http://forum.xda-developers.com/showthread.php?t=988570
its probly not ganna work but 4t id give it a try
rls190687 said:
tryed that followed the guide
the 2 roms im trying to mix are
cm7 js rom
and
RCMixS_v1.1_++_CM7Hboot
http://forum.xda-developers.com/showthread.php?t=988570
its probly not ganna work but 4t id give it a try
Click to expand...
Click to collapse
Sense! Its probably not going to boot with that tutorial. Better to try with an AOSP build.
rls190687 said:
update-script (7.17 KB) http://www.multiupload.com/KF64P2PXIR
updater-script (15.91 KB) http://www.multiupload.com/PSIF0CNN6I
update-binary (254.04 KB) http://www.multiupload.com/C4UNKXBW32
these are the files from the 2 roms
the 1st on is js script
Click to expand...
Click to collapse
u need only amend script (update-script)
here is the modified one:
http://dl.dropbox.com/u/8691868/test/update-script
please test it...
also u are certain of the following things:
1) toolbox binary is copied to /system/bin
2) busybox binary is copied to to /system/bin or /system/xbin
3) iwmulticall binary is copied to to /system/xbin
DooMLoRD said:
u need only amend script (update-script)
here is the modified one:
http://dl.dropbox.com/u/8691868/test/update-script
please test it...
also u are certain of the following things:
1) toolbox binary is copied to /system/bin
2) busybox binary is copied to to /system/bin or /system/xbin
3) iwmulticall2 binary is copied to to /system/xbin
Click to expand...
Click to collapse
thanks ill test it now
the files are there in the right folders
iwmulticall2 is just called iwmulticall
tho
DooMLoRD said:
u need only amend script (update-script)
here is the modified one:
http://dl.dropbox.com/u/8691868/test/update-script
please test it...
also u are certain of the following things:
1) toolbox binary is copied to /system/bin
2) busybox binary is copied to to /system/bin or /system/xbin
3) iwmulticall2 binary is copied to to /system/xbin
Click to expand...
Click to collapse
thanks i tested it
i get
e:cant symlink /system/bin/reboot
e:failure at line 29:
symlink toolbox system:bin/reboot
i checked the files and the reboot file is in the bin folder
rls190687 said:
thanks i tested it
i get
e:cant symlink /system/bin/reboot
e:failure at line 29:
symlink toolbox system:bin/reboot
i checked the files and the reboot file is in the bin folder
Click to expand...
Click to collapse
well then u have to manually check every file of the update.zip in /system/bin & /system/xbin to verify that there are no files with same name as the new symbolic links that are being created...
View attachment META-INF.rar
here is one to compare and remember to use notepad++ to edit, not regular notepad
if you get a can't symlink error
that means the file is still in the folder
when that happens you can do one of two things.. on delete the line from update script
or two... the one I prefer... delete the file from the actuall rom folder
ex.. cannot symlink ifconfig
I would go to bin and delete ifconfig
another tip is once the rom starts installing you will want to install another rom that is working... the farther you get in the installation the better the chances are you messed up it going into recovery... then you can be sure that after the error you reboot into recovery.. this has saved me many times of having to reflash the whole bb with flashtool wich takes a lot longer than a recovery restore

Problem installing CWM

Hello
I keep getting the same problem when i try to instal CWM with CWM installer v5
this is the error:
i48.tinypic.com/a9kzgy.png
Can someone please help me?
Thx in advance
nicknol said:
Hello
I keep getting the same problem when i try to instal CWM with CWM installer v5
this is the error:
i48.tinypic.com/a9kzgy.png
Can someone please help me?
Thx in advance
Click to expand...
Click to collapse
There is an error in the script-file pointing to the folders where the various tools and files should be found. Find the directory-structure where you unpacked the files and check if the paths in the script match the directory-structure
First it can't find the exploit 'rageagainstthecage' in the files folder (cannot stat /files/rageagainstthecage, which means it cannot get proper permissions to do the other steps (Mount system R/W, mount: Operation not permitted)
And on top of that it can't find the files that are needed for CWM (files/recovery.tar, chargemon and busybox)
so put those four files in a 'files' folder in the directory where you run the command from, or edit the script file to point to the directory where those tools actually are.
If you provide the link to where you downloaded the tool from, i will inform them of the error too so they can fix it
thanks for your answer but i have found the problem,
the script was alright but I opened it as administrator, but when I open it as normal user it works
thx anyway

[Q] How to Extract data from .Backup file ? - Created with android system recovery

I Backup-ed my Acer tab b1-A71 using android system recovery - Just like CWM.
The file name ends with .Backup, and i wanted to extract some files from it..
How to Extract data from .Backup file ? - Created with android system recovery
looking for the same
reena0307 said:
I Backup-ed my Acer tab b1-A71 using android system recovery - Just like CWM.
The file name ends with .Backup, and i wanted to extract some files from it..
How to Extract data from .Backup file ? - Created with android system recovery
Click to expand...
Click to collapse
me too looking for the same thing ..how to extract from or decompile .backup file which we get thru recovery.
hi loverboyritesh :: i and you are in same position.. but some advaaanced users are here that we are telling rumors and lies.. dont worry bro.. even i'm trying to get solution.. will tel you after geeing one.. Still no one can tell me hoe to extract .BACKUP file..
same
i am looking for how to reinstall .backup myself so i can have my original rom install.
but i have notice my .backup is 700+mb while custom rom is 200+mb
do you know how to?
reena0307 said:
I Backup-ed my Acer tab b1-A71 using android system recovery - Just like CWM.
The file name ends with .Backup, and i wanted to extract some files from it..
How to Extract data from .Backup file ? - Created with android system recovery
Click to expand...
Click to collapse
same here. dunno how to open and extract the files from a .backup file. hoping you know already
siiingkeeet said:
same here. dunno how to open and extract the files from a .backup file. hoping you know already
Click to expand...
Click to collapse
Nope.. Still i'm having that file but no one knew
reena0307 said:
Nope.. Still i'm having that file but no one knew
Click to expand...
Click to collapse
been searching for 5 days now :<
not a single answer found on google and forums
cant even post a new thread yet. just joined
hope someone will drop by this thread
still no solution?
got same problem here
Got a bootloop issue with an ASUS MeMo Pad 7 HD and I've booted in recovery <3e> to make a backup.
I've got a userdata_YYYYMMDD_HHMMSS.backup. I tried opening it with a bunch of tools like unyaffs, abe (Android backup extractor), going live on the file using linux tools (open as 7zip, zip, rar, tar, tar.gz, gz, bz2 , mount as iso, ext4 and so on....)
Still no luck :-/
Only clue is that the file seems compressed. During the backup under recovery, it told me 3600MB to backup and the file userdata_xxxxxxxx_xxxxxx.backup show only 2.61GB
I did this backup 3 time to ensure there were no corruption during the write process from the pad and did again the same "tests" to open the file...Not better.
If any dev' have any clue of the file format, I'd be glad to help
It doesn't seem to be a valid unix img file. Tried mounting it to no avail. When it's restored by the recovery it also extracts the individual files because i fails on one in my case and stops the entire restore... I tried unzipping it, changed extension to ,jar, .tar, .zip, etc., none of them are recognised...amazing for a standard android feature to find so little info about it
Any solution?
I called Alcatel's technical service today and they told me that you can use the backup file only from the phone. Mine gives me the following error when I try to restore it: Error Magic header
If anyone knows how to unpack the backup file I would be more than grateful.
It's a 512 byte header in front of a "tar.gz"
hexdump -C userdata_xxxxxxxx_yyyyyy.backup | less​showed the magical zip header "1f8b0800 00000000" at offset 0x200
So, skipping 512 bytes, the rest can be gunzip | tar
dd if=userdata_xxxxxxxx_yyyyyy.backup bs=512 skip=1 | gunzip -c | tar xv​
Sir ektoric what d u mean on ur post?
Sorry cant understand it..
Can u please d a step by step procedure? Please...pls...plss
Thanks in advance...
Steps?
@ektoric sir im a noob in this... Can u show a step by step procedure?
@killen00 sorry, I assume you have a linux machine (or have access to one). The command is actually all there is to it.
Code:
dd if=userdata_xxxxxxxx_yyyyyy.backup bs=512 skip=1 | gunzip -c | tar xv
If you don't have a linux machine available, might I suggest one of the many distros of your choice, most of which have LiveCDs which you can run without installing.
script for gunzip method
maybe on xda it is common sense, but for me it was necessary to know, that these stock android recovery extracted files can be restored with nandroid custom recovery, if you simply repack them into tar archive.
i put this two command lines in a dirty shell script (extract + repack as tar).
thanks to ektoric figuring out his gunzip method!
edit: notamamasboy's mount method added (but not tested yet). if script not works come back few days later, download again and check version, maybe it has changed meanwhile.
with this you're able to transfer data of non-rooted phone to (rooted) similar one.
this is useful in case touchscreen is broken, you haven't custom recovery installed, usb-debugging is disabled and connecting usb-otg-mouse doesn't work.
tested on my Archos 50 b Oxygen (Mediatek MT6582).
it works for me, feel free to improve, port to busybox and publish. no support. use at own risk.
edit: bckp2cwm.sh is deprecated it is FOR JELLY BEAN ONLY (no selinux support)
a newer (selinux) version bckp2win.sh for TWRP you can find here:
http://forum.xda-developers.com/showthread.php?t=3775129
How did you go about determining the magic number found at 0x200? My hexdump output does not have that magic number (1f 8b) in any instance. Leads me to believe my backup is not a tar file. Any suggestions then?
@notamamasboy, you are unfortunately correct.
Someone else also mentioned that their
Code:
userdata_xxxxxxxx_yyyyyy.backup
file was not of the same format I tried some "known magic headers", and could not find anything tell-tale. In which case, without some clues, you are back at square one.
ektoric said:
@notamamasboy, you are unfortunately correct.
Someone else also mentioned that their
Code:
userdata_xxxxxxxx_yyyyyy.backup
file was not of the same format I tried some "known magic headers", and could not find anything tell-tale. In which case, without some clues, you are back at square one.
Click to expand...
Click to collapse
Even more peculiarly, two backups were created a .backup and a .backup2, I wonder if combining with cat I can get somewhere...

[G850F][How to]Deodexing stock ROM 5.0.2

Remember: Backup first! Be rooted! Have busybox installed! (We will create a recovery flashable zip which updater-script uses busybox commands)
To deodex your current device state follow the steps below:
Make sure you have adb and your device drivers installed on your computer (how to: installing and using adb).
Open command line and pull /system/app, /system/priv-app and /system/framework from phone via adb to your computer.
Code:
adb pull /system/app app
adb pull /system/priv-app priv-app
adb pull /system/framework framework
This will generate the folders "app", "priv-app" and "framework" containing the pulled files in the current directory.
Generate a list containing the folders with "arm"-folders which have to be deleted later in the phone (not the "lib/arm"-folders!!). Do this by opening terminal and navigate to the folder containing your previously pulled folders "app", "priv-app" and "framework" and type
Code:
dir /s /a:d /b arm | find /v "\lib\arm" > loglist.txt
There now should be a textfile containing all paths to the "arm"-folders. We'll need it later...but the textfile should look like:
Code:
<Directory you pulled your files to>\priv-app\3DTourViewer_HD_M2\arm
<Directory you pulled your files to>\priv-app\BackupRestoreConfirmation\arm
<Directory you pulled your files to>\priv-app\CloudAgent\arm
<Directory you pulled your files to>\priv-app\CSC\arm
....
Install Java (if you don't already have) and de-odex the pulled files with this tool.
Put the deodexed files into the folders /system/app, /system/priv-app and /system/framework in the attached zip.
Edit the zips' updater-script (META-INF\com\google\android\updater-script) according to the previously generated folder list. Take the textfile generated in 3. and replace
all \ with /
the path <Directory you pulled your files to> (see above example) in the textfile with "/system
It then should look like:
Code:
"/system/priv-app/3DTourViewer_HD_M2/arm
"/system/priv-app/BackupRestoreConfirmation/arm
"/system/priv-app/CloudAgent/arm
"/system/priv-app/CSC/arm
....
Then replace line end characters with ", (remember to remove the very last comma in the line or to insert a very last " in the line in case the last line doesn't contain line end character(s)) to get a comma-separated list of your folders:
Code:
"/system/priv-app/3DTourViewer_HD_M2/arm","...","/system/priv-app/BackupRestoreConfirmation/arm"
Modify the 'delete-recursive' entries in the updater-script according to your list and save it (do neither modify the encoding of the file nor the line end characters! Has to be "LF"! )
Boot into recovery.
Clear cache and dalvik-cache.
Flash zip.
Reboot (in my case it took some minutes).
I recommend using Notepad++ as editor because it's easy to use and much more powerful than standard windows editor.
reserved
SHA_NDY said:
Ok, I finally managed to do it.
If anyone is interested in how it worked I can try to provide my way to success ...
Remember: Backup first! Be rooted! Have busybox installed!
Make sure you have adb and device drivers installed on your computer.
Pull /system/app, /system/priv-app and /system/framework from phone via adb to your computer.
Code:
adb pull /system/app app
adb pull /system/priv-app priv-app
adb pull /system/framework framework
This will generate the folders "app", "priv-app" and "framework" containing the pulled files in the current directory.
Generate a list containing the folders with "arm"-folders which have to be deleted later in the phone. Do this by opening terminal and navigate to the folder containing your previously pulled folders "app", "priv-app" and "framework" and type
Code:
dir /s /a:d /b arm | find /v "\lib\arm" > loglist.txt
There now should be a textfile containing all paths to the "arm"-folders. We'll need it later...but the textfile should look like:
Code:
<Directory you pulled your files to>\priv-app\3DTourViewer_HD_M2\arm
<Directory you pulled your files to>\priv-app\BackupRestoreConfirmation\arm
<Directory you pulled your files to>\priv-app\CloudAgent\arm
<Directory you pulled your files to>\priv-app\CSC\arm
....
Install Java (if you don't already have) and de-odex the pulled files with this tool.
Put the deodexed files into the folders /system/app, /system/priv-app and /system/framework in the attached zip.
Edit the zips' updater-script (META-INF\com\google\android\updater-script) according to the previously generated folder list. Take the textfile generated in 3. and replace
all '\' with '/'
the path '<Directory you pulled your files to>' (see above example) in the textfile with '/system'
'/arm' with '/arm"'
Line end characters with ','
to get a comma-separated list of your folders. Modify the 'delete-recursive' entries according to your list and save the updater-script (do not modify the encoding of the file)
Boot into recovery.
Clear cache and dalvik-cache.
Flash zip.
Reboot.
Attached: the zip-file body which has to be edited as you need it...do not touch the permission settings in the updater-script...
Click to expand...
Click to collapse
One question , have you use twrp 2.8.1.1 ?
Inviato dal mio SM-G850F utilizzando Tapatalk
belthazor86 said:
One question , have you use twrp 2.8.1.1 ?
Click to expand...
Click to collapse
Yes, I used TWRP 2.8.1.1
I'm not sure but perhaps it will also work flashing with Flashify app.
Ok,now I can do it again. In this time i have modified the file updater-script with information of my textfile
Inviato dal mio SM-G850F utilizzando Tapatalk
Nothing,bootloop again..I give up. Nothing Xposed for me
Inviato dal mio SM-G850F utilizzando Tapatalk
The bootloop problem was a LF replaced by CRLF in the edited updater-script...
I followed your guide and everything went well. No bootloop.
But I got some popup notifications that google services and some google related stuff has stopped so I can not finish the initial setup.
Any clue what went wrong?
I assume your downloadable deodexed france 5.0.2 is for galaxy G850F ... Flashed it ... Bootloop ...
zalood said:
I followed your guide and everything went well. No bootloop.
But I got some popup notifications that google services and some google related stuff has stopped so I can not finish the initial setup.
Any clue what went wrong?
Click to expand...
Click to collapse
Hey zalood,
I only moved through all the steps described in the guide after initial setup was done. I'm not sure if there are files/libs/preferences missing before setup is complete.
zalood said:
I assume your downloadable deodexed france 5.0.2 is for galaxy G850F ... Flashed it ... Bootloop ...
Click to expand...
Click to collapse
This zip is for deodexing a stock state france 5.0.2 ROM, not the ROM itself. Same for russian zip...
I hope this was helpful.
SHA_NDY said:
Hey zalood,
I only moved through all the steps described in the guide after initial setup was done. I'm not sure if there are files/libs/preferences missing before setup is complete.
This zip is for deodexing a stock state france 5.0.2 ROM, not the ROM itself. Same for russian zip...
I hope this was helpful.
Click to expand...
Click to collapse
Thanks SHA_NDY.
Perhaps I was also wiping the data instead cache and dalvik only.
Will try again in the morning and revert back ...
Deodexing and flashing successful . . .
Thanks a lot for this Guide . .
first of all thank you, for this guide :good:
when I try to install it TWRP says "E: Error executing updater binary in zip ' /sdcard....", but i don´t touched the updater-binary file.
can someone give me an advice ?
albert-319 said:
first of all thank you, for this guide :good:
when I try to install it TWRP says "E: Error executing updater binary in zip ' /sdcard....", but i don´t touched the updater-binary file.
can someone give me an advice ?
Click to expand...
Click to collapse
Which TWRP version do you use? I use 2.8.1.1 and everything works perfect.
If you don't succeed in flashing with e.g. other TWRP version you can take a zip (something you already flashed) that you know to work with your TWRP version. Delete everything in the zip EXCEPT the updater-binary and place the files you deodexed into the zip (keep the folder structure according to the attached zip in this thread) and place your updater script.
Do you have busybox installed?
Hi, just flashed stock russian firmware, set up google account and etc, flashed twrp 2.8.1.1. then russian zip to deodex but stuck on android logo, do I have to update gapps after setting account and then flash deodex zip?
diego1810 said:
Hi, just flashed stock russian firmware, set up google account and etc, flashed twrp 2.8.1.1. then russian zip to deodex but stuck on android logo, do I have to update gapps after setting account and then flash deodex zip?
Click to expand...
Click to collapse
I'm not sure if I did so to get it working. I think I remove the zip files, everyone should do like described in the tuto, don't know what side-effects do occur...sorry
Dear SHA_NDY,
So I followed all the steps in your tutorial.
So what I did was unzipped the zip file that you had attached, and then updated the directories with the deodexed files and updated the updater script as well. I then zipped the file back up and tried to flash it but it wouldnt flash for me.
What am I doing wrong?
Thank you
harper86 said:
Dear SHA_NDY,
So I followed all the steps in your tutorial.
So what I did was unzipped the zip file that you had attached, and then updated the directories with the deodexed files and updated the updater script as well. I then zipped the file back up and tried to flash it but it wouldnt flash for me.
What am I doing wrong?
Thank you
Click to expand...
Click to collapse
Can you provide your zip for download? Thanks
SHA_NDY said:
Can you provide your zip for download? Thanks
Click to expand...
Click to collapse
Hi Shandy. Fixed it. What I did was just flashed arter97 deodex system image file via ODIN and works pretty well now. Just had to re root after that.
Thank you
Then replace line end characters with ", (remember to remove the very last comma in the line) to get a comma-separated list of your folders:
Code:
"/system/priv-app/3DTourViewer_HD_M2/arm","...","/system/priv-app/BackupRestoreConfirmation/arm"
Modify the 'delete-recursive' entries in the updater-script according to your list and save it (do neither modify the encoding of the file nor the line end characters! Has to be "LF"! )
Click to expand...
Click to collapse
Im trying so much but dont get this part.
At the monent i am here now
"/system/priv-app/3DTourViewer_HD_M2/arm
"/system/priv-app/BackupRestoreConfirmation/arm
"/system/priv-app/CloudAgent/arm
"/system/priv-app/CSC/arm
....
Click to expand...
Click to collapse
@SHA_NDY maybe you can explain it a little more?
maybe in german?
ManuFisch said:
Im trying so much but dont get this part.
At the monent i am here now
@SHA_NDY maybe you can explain it a little more?
maybe in german?
Click to expand...
Click to collapse
I'll give it a try but don't recall any German from childhood .
If you're using notepad++ or notetab pro, then you can do a replace using regular expressions, so put your cursor at the top of the doc and for the "find" field, use this [\r\n]+ and click on 'use regular expressions' if it's there, (which is carriage return line feed, which is at the end (invisible) of each line). In the replace field, put ", (exactly), and then replace-all. If the entire document is now a single line, then it's good. Probably you have to remove the last comma manually.
So now you've edited your .txt file that you created in the OP steps, so now open the updater-script file in the .zip. There are 3 "delete-recursive" sections like delete-recursive("... "), one for apps, one for priv-apps and one for framework, so copy the first batch of modified text from the .txt file that are "apps" (up till the framework one), and paste them over the entire innards of the ("...") clause of the delete-recursive. Same for framework (only one entry), and same for priv-apps.
I'm just writing from memory so maybe I mispelled something. ANyway, when you're completed, make sure to overwrite updater-script in the .zip and you should be ready to either mess up your phone (back it up!) or make it xposed compat.
cheers.

Categories

Resources