How to deodexed stock lollipop rom? - G 2014 Q&A, Help & Troubleshooting

Can someone share how to deodexed stock rom lollipop v 5.0.2
Sent from my XT1068 using XDA Premium 4 mobile app

Correct me if I'm wrong... but somehow, I think that would be difficult since the entire app is compiled to a ELF executable.
Also does Deodex still apply to ART?

amritmalviya said:
Can someone share how to deodexed stock rom lollipop v 5.0.2
Sent from my XT1068 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
My tool
You need linux
https://github.com/luca020400/deodextool

Don't have linux
Sent from my XT1068 using XDA Premium 4 mobile app

luca020400 said:
My tool
You need linux
https://github.com/luca020400/deodextool
Click to expand...
Click to collapse
Am hving linux system @luca can u tell me the procedure to deodex ??

pradeepmaddy said:
Am hving linux system @luca can u tell me the procedure to deodex ??
Click to expand...
Click to collapse
Hmm
Just read repo readme XD
Deodex Tool
You need the $app_name.apk/jar and $app_name.odex
Commands
mkdir odexed
cp *.apk odexed/.
cp *.jar odexed/.
cp *.odex odexed/.
./deodex.sh

luca020400 said:
Hmm
Just read repo readme XD
Deodex Tool
You need the $app_name.apk/jar and $app_name.odex
Commands
mkdir odexed
cp *.apk odexed/.
cp *.jar odexed/.
cp *.odex odexed/.
./deodex.sh
Click to expand...
Click to collapse
I need to place the odex files in odexed folder and have to do the commands rite ? And luca if possible can u give me the video tutorial for deodexing ?? it may help us thank you

pradeepmaddy said:
I need to place the odex files in odexed folder and have to do the commands rite ? And luca if possible can u give me the video tutorial for deodexing ?? it may help us thank you
Click to expand...
Click to collapse
https://www.youtube.com/watch?v=Vz32PamN69U
Sorry for everything
At least is a 1080p at 60 fps video

luca020400 said:
https://www.youtube.com/watch?v=Vz32PamN69U
Sorry for everything
At least is a 1080p at 60 fps video
Click to expand...
Click to collapse
Luca am getting this error .. could u explain me ??

pradeepmaddy said:
Luca am getting this error .. could u explain me ??
Click to expand...
Click to collapse
You have to install java
sudo apt-get install openjdk-7-jdk

eventhough same error coming...

Related

[Q] Missing config.gz on /proc

I tried to browse the files on /proc on my LG P970 but I can't find the config.gz file on it. I used the adb method and root explorer but I still can't find it there. I'm wondering if where is it located? Can anybody upload their config.gz from a stock rom?
Hello there!!
Even I am looking for the same. Did you got to know, how can we get the config.gz??
Let me know if you found the answer.
Is this what you are looking for??
https://www.box.com/shared/92nrs1f8i7kpeeldo1am
Sent from my LG-P970 using xda app-developers app
vismaiy said:
Is this what you are looking for??
https://www.box.com/shared/92nrs1f8i7kpeeldo1am
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
Thank you for that. But I want to extract config.gz for my phone Micromax A110.
See my signature for detail specs.
viijay4b7 said:
Thank you for that. But I want to extract config.gz for my phone Micromax A110.
See my signature for detail specs.
Click to expand...
Click to collapse
Well sir i am no expert... not a developer but it should be in \proc
Sent from my LG-P970 using xda app-developers app
vismaiy said:
Well sir i am no expert... not a developer but it should be in \proc
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
Nope a lot of companies like LG remove it from the kernel. But e.g. for our phone, you can download the complete kernel sourcecode (without ramdisk) and rebuild it on your own with the defconfig in there.
N00BY0815 said:
Nope a lot of companies like LG remove it from the kernel. But e.g. for our phone, you can download the complete kernel sourcecode (without ramdisk) and rebuild it on your own with the defconfig in there.
Click to expand...
Click to collapse
Thanks for your replies..
Here the problem is Micromax does not release kernel sources.
Is there any alternative?
viijay4b7 said:
Thanks for your replies..
Here the problem is Micromax does not release kernel sources.
Is there any alternative?
Click to expand...
Click to collapse
Write it on your own Search a board with the same hardware and try to apply it to your device... But I think you really need patience and definitly a way to unbrick. Email them for the sources, cause the used opensource and have to provide it. CMIIW.
N00BY0815 said:
Write it on your own Search a board with the same hardware and try to apply it to your device... But I think you really need patience and definitly a way to unbrick. Email them for the sources, cause the used opensource and have to provide it. CMIIW.
Click to expand...
Click to collapse
Hmm..... tried a lot but they dont provide source nd as a110 is mt6577 based so it can not be hard bricked
kumar abhishek said:
Hmm..... tried a lot but they dont provide source nd as a110 is mt6577 based so it can not be hard bricked
Click to expand...
Click to collapse
https://github.com/icevoux/kernel_mediatek
this is kernel source code for mediatek MTK6577 based phone
Click to expand...
Click to collapse
redy2006 said:
https://github.com/icevoux/kernel_mediatek
Click to expand...
Click to collapse
This kernel source is not complete and not specifically of a110 so we need config.gz from device

XXLB1 deodexed rom

hello everybody,
I want to get stock deodexed rom for my galaxy ace 5830i..
I know there is deodexed rom for other version, but I want deodexed rom for XXLB1 plz..
If anyone can make it for me this is a link for stock XXLB1 rom>>
http://www.mediafire.com/?4dy3fn4i4nt0arl
I'm wating for your help
plz guys, give me a hand !
I try to deodex my rom manually by using Xultimate, but I got problem with step 3
>>>>>>
^_^
now stuck on step 4 !!! why?
SadHeroXIII said:
plz guys, give me a hand !
I try to deodex my rom manually by using Xultimate, but I got problem with step 3
>>>>>>
^_^
now stuck on step 4 !!! why?
Click to expand...
Click to collapse
Use dsixda kitchen. Xultimate sucks at deodexing.
Sent from my GT-S5830i using xda premium
domnic79 said:
Use dsixda kitchen. Xultimate sucks at deodexing.
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
thanks, I will try ^_^
IF U wish
SadHeroXIII said:
thanks, I will try ^_^
Click to expand...
Click to collapse
Plz Bro when you succeed in deodexing this ROM , Upload your work & Thanks in advance:good:
hello, I finished deodexing the rom by using dsixda, but I can't install it !!
the installation abort everytime, any suggestion ?
SadHeroXIII said:
hello, I finished deodexing the rom by using dsixda, but I can't install it !!
the installation abort everytime, any suggestion ?
Click to expand...
Click to collapse
U added updater script?
Sent from my GT-S5830i using xda premium
domnic79 said:
U added updater script?
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
In fact, No
I used deodex file, and the script-updater is inside it !
can it works by this, or I need to add it by my self ?
SadHeroXIII said:
In fact, No
I used deodex file, and the script-updater is inside it !
can it works by this, or I need to add it by my self ?
Click to expand...
Click to collapse
Ur .zip file must contain META-INF folder with updater-script inside. Deodexed system/app & /framework folders & xbin folder with su & busybox files. U wil even need to add superuser .apk in /app if u wnt su.
Sent from my GT-S5830i using xda premium
domnic79 said:
Ur .zip file must contain META-INF folder with updater-script inside. Deodexed system/app & /framework folders & xbin folder with su & busybox files. U wil even need to add superuser .apk in /app if u wnt su.
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
I know, everything was correct !
>>>
I think I have another problem, boot.img couldn't be found !
I made a back up with cwm and take the system.rfs.tar as what it should.
what is the problem ?
how can I extract the boot.img ?
SadHeroXIII said:
I know, everything was correct !
>>>
I think I have another problem, boot.img couldn't be found !
I made a back up with cwm and take the system.rfs.tar as what it should.
what is the problem ?
how can I extract the boot.img ?
Click to expand...
Click to collapse
U wil find boot.img in kernel. Extract it. Even bmlunlock file .
Sent from my GT-S5830i using xda premium
just a question
I've fineshed deodex apps and frameworks, then is it possible to replace manually?
because I replaced TW by deodex one and it's work ^_^
so can I get deodex rom by replacing files?
​
SadHeroXIII said:
just a question
I've fineshed deodex apps and frameworks, then is it possible to replace manually?
because I replaced TW by deodex one and it's work ^_^
so can I get deodex rom by replacing files?
​
Click to expand...
Click to collapse
If u try to manually replace system files like systemui, ur fone wil go in endless bootloops. Its safer to flash making a flashable .zip
If ur having trouble making a .zip file den i can help u.
Sent from my GT-S5830i using xda premium
domnic79 said:
If u try to manually replace system files like systemui, ur fone wil go in endless bootloops. Its safer to flash making a flashable .zip
If ur having trouble making a .zip file den i can help u.
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Thanks very much
I'm waiting for your help :good:
SadHeroXIII said:
Thanks very much
I'm waiting for your help :good:
Click to expand...
Click to collapse
I need ur build.prop file. Can u upload it?
domnic79 said:
I need ur build.prop file. Can u upload it?
Click to expand...
Click to collapse
hello,
I've upload these files(system.rfs.tar + deodexed app + deodexed framework )
here ^_^ http://www.mediafire.com/?jsx3n1fxw745uw1
>>
>>
Is this what u need ??
SadHeroXIII said:
hello,
I've upload these files(system.rfs.tar + deodexed app + deodexed framework )
here ^_^ http://www.mediafire.com/?jsx3n1fxw745uw1
>>
>>
Is this what u need ??
Click to expand...
Click to collapse
Lol.... No. I need the build.prop file which is there in system folder. Use root explorer to copy it on sd card.
domnic79 said:
Lol.... No. I need the build.prop file which is there in system folder. Use root explorer to copy it on sd card.
Click to expand...
Click to collapse
Looooool, hhh I can't stop laughing at my self
sorry for this mistake, here is build.prop
http://www.mediafire.com/?ch03nz7v6k52wzk
SadHeroXIII said:
Looooool, hhh I can't stop laughing at my self
sorry for this mistake, here is build.prop
http://www.mediafire.com/?ch03nz7v6k52wzk
Click to expand...
Click to collapse
Download Deodex Files.rar from attachment. Extract it. Make a folder named system. Add ur deodexed /app & /framework folder inside. Copy xbin folder & build.prop file from d extracted file & paste in system(Pic 2). Copy meta-inf folder outside system.(Pic no 1)
Use winrar to .zip it & flash.
domnic79 said:
Download Deodex Files.rar from attachment. Extract it. Make a folder named system. Add ur deodexed /app & /framework folder inside. Copy xbin folder & build.prop file from d extracted file & paste in system(Pic 2). Copy meta-inf folder outside system.(Pic no 1)
Use winrar to .zip it & flash.
Click to expand...
Click to collapse
Thank u very much, finally we get deodex rom for XXLB1 and we can get features of deodex roms :good:
islamhozifa said:
Plz Bro when you succeed in deodexing this ROM , Upload your work & Thanks in advance:good:
Click to expand...
Click to collapse
of course I'll did I will uplode it as soon as possible

[Q] Integrate SU in rom

Hy people, i need someone help with superuser.
I want to integrate last version in my next rom but i fail to do that.
I know that kitchen is what i need to use, but i need help with that, i tryed and after i finish, rom failed to flash.
Dont use kitchen.
Which rom are you using and which kernel?
Take super user.apk and put it in /system/app
Then,take su bin file
Set perms for them in updater script..
Just refer the root package..
I am a potato, problem?
tj_droid said:
Dont use kitchen.
Which rom are you using and which kernel?
Click to expand...
Click to collapse
Vo-1 cm7 based rom.
It has outdated su app and binary.
Link to rom -> http://forum.xda-developers.com/showthread.php?t=1837056
Kernel it will be 22.07 firekernel, because it's the best in battery life (people want that, and me to)
I will try what Prawesome sayd, then will see.
Why do you need update su binary?
New su binaries are buggy.
Instead try Supersu. Download package from chainfire's original post. And place the files as mentioned by prawesome.
well as explained above u need to place superuser.apk in /system/app & su in /system/xbin and need to set permissions in updater-script as:
set_perm(0, 0, 04755, "/system/app/Superuser.apk");
set_perm(0, 0, 04755, "/system/xbin/su");
BUT
if older superuser.apk & its su binary is present in a kernel and it replaces it on /system at each boot, ramdisk in boot.img needs to be modified and newer files needed to be replaced !
psndna88 said:
well as explained above u need to place superuser.apk in /system/app & su in /system/xbin and need to set permissions in updater-script as:
set_perm(0, 0, 04755, "/system/app/Superuser.apk");
set_perm(0, 0, 04755, "/system/xbin/su");
BUT
if older superuser.apk & its su binary is present in a kernel and it replaces it on /system at each boot, ramdisk in boot.img needs to be modified and newer files needed to be replaced !
Click to expand...
Click to collapse
I will try that.
First i will try the simple one, with updater-script, if doesn't work, i will ask for help in ramdisk replacement !
Big thanx folks !
Try goo.im for the APK.
Sent from my GT-S5830 using Tapatalk 2
Prawesome said:
Take super user.apk and put it in /system/app
Then,take su bin file
Set perms for them in updater script..
Just refer the root package..
I am a potato, problem?
Click to expand...
Click to collapse
The kernel will flash another version at installation ... Só it has to be changed on the kernel mate
Sent from my GT-S5830 using xda premium
Yes, i need help in that ...
Kernel is prerooted (firekernel 22.07)
Can someone please help me with integration ?
Cryss said:
Yes, i need help in that ...
Kernel is prerooted (firekernel 22.07)
Can someone please help me with integration ?
Click to expand...
Click to collapse
Download ketut's tools
Decompile kernel
Decompile ramdisk also if needed
Replace binaries and apk
Controversies,controversies everywhere :what:
Cryss said:
Yes, i need help in that ...
Kernel is prerooted (firekernel 22.07)
Can someone please help me with integration ?
Click to expand...
Click to collapse
I can do that.. v simple .. just attach boot.img
Sent from my GT-S5830 using xda premium
psndna88 said:
I can do that.. v simple .. just attach boot.img
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Here is it, big thanx man
Cryss said:
Here is it, big thanx man
Click to expand...
Click to collapse
there is no superuser.apk & su in ramdisk of boot.img.........
it might be in fire kernel aroma package somewhere... but definately not there in attached boot.img
psndna88 said:
there is no superuser.apk & su in ramdisk of boot.img.........
it might be in fire kernel aroma package somewhere... but definately not there in attached boot.img
Click to expand...
Click to collapse
Is not in the aroma package ...
What should i do ?
Cryss said:
Is not in the aroma package ...
What should i do ?
Click to expand...
Click to collapse
well it must be in initramfs file (kernel ramdisk )
Sent from my GT-S5830 using xda premium
psndna88 said:
well it must be in initramfs file (kernel ramdisk )
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Can u help me with that ?
Cryss said:
Can u help me with that ?
Click to expand...
Click to collapse
well just an hr back I was looking into its aroma installer and yes I have some ideas... looking into it
Sent from my GT-S5830 using xda premium
psndna88 said:
well just an hr back I was looking into its aroma installer and yes I have some ideas... looking into it
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
I allready move kernel + files into rom and su hold me to release it ... that's nasty.
But i'll wait for you, no rush
i hope its solved..

[TOOLS] dsixda Kitchen edify file for Nexus 4 (mako) and JB 4.2

Here is the dsixda kitchen edify file I have been using for Nexus 4 (mako).
If using cygwin copy mako file to your cygwin\home\username\tools\edify_defs folder.
Thanks to mskip for mount points
UPDATE:
As promised download the dsixda_JB42.zip and copy the files to the appropriate folder. This will help with Deodexing and by help I mean it will allow all files to be deodexed.
Hi goldfingerfif, first of all thanks a lot for the file, then I would like to use this to build a rom with latest dsixda kitchen release (0.214) but when I’m trying to deodex core.odex I’m getting an error, only with this file, the others works fine. Did you have the same problem? How do you solve it? I tried to do it with api level 16 and 15 but I have the same error. Maybe you did it manually? Or using the kitchen?
Thanks in advance
I'll upload the other changes...I forgot I changed api to 17 and updated smali and baksmali and the version to use file.
Sent from my Nexus 4 using xda app-developers app
Was about to say about updating the smali/baksmali files - I did all that but it was this file I was missing so thanks a lot!
EddyOS said:
Was about to say about updating the smali/baksmali files - I did all that but it was this file I was missing so thanks a lot!
Click to expand...
Click to collapse
Updated OP
goldfingerfif said:
Updated OP
Click to expand...
Click to collapse
Thanks so much!!
Edit: I'm Having troubles with wifi like you with my dsixda's rom, can you tell me how you solved it please?
nitsuajd said:
Thanks so much!!
Edit: I'm Having troubles with wifi like you with my dsixda's rom, can you tell me how you solved it please?
Click to expand...
Click to collapse
I haven't found the script file to add some things that it misses. You can compare the updater-script against mine or I'll post the lines you have to add.
Sent from my Nexus 4 using xda app-developers app
goldfingerfif said:
I haven't found the script file to add some things that it misses. You can compare the updater-script against mine or I'll post the lines you have to add.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thanks dude, you're right!
Exactly these two lines:
Code:
symlink("/data/misc/wifi/WCNSS_qcom_cfg.ini", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_cfg.ini");
symlink("/data/misc/wifi/WCNSS_qcom_wlan_nv.bin", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin");
nitsuajd said:
Thanks dude, you're right!
Exactly these two lines:
Code:
symlink("/data/misc/wifi/WCNSS_qcom_cfg.ini", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_cfg.ini");
symlink("/data/misc/wifi/WCNSS_qcom_wlan_nv.bin", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin");
Click to expand...
Click to collapse
Were you guys using Cygwin when you saw this issue? I know that Cygwin sometimes messes up the symlinks that are not under /system/bin; whereas Linux / OS X are sometimes nicer. In other words, I try not to recommend Cygwin due to these kinds of issues.
@goldfingerfif - thanks for the edify_defs file. I've updated the kitchen to add Nexus 4 support in version 0.216.
I've just added this to the Nexus 4 Complete Index
Sent from my GT-I9100 using xda premium
dsixda said:
Were you guys using Cygwin when you saw this issue? I know that Cygwin sometimes messes up the symlinks that are not under /system/bin; whereas Linux / OS X are sometimes nicer. In other words, I try not to recommend Cygwin due to these kinds of issues.
Click to expand...
Click to collapse
I was using Cygwin
goldfingerfif said:
I was using Cygwin
Click to expand...
Click to collapse
The Windows application that is used to extract the files from the rom has an issue because it removes the symlinks. You will not see this happen in Linux or OS X. However, I have fixed your problem for those specific files in Cygwin.
dsixda said:
The Windows application that is used to extract the files from the rom has an issue because it removes the symlinks. You will not see this happen in Linux or OS X. However, I have fixed your problem for those specific files in Cygwin.
Click to expand...
Click to collapse
Yes I just picked up a 120gb ssd and going to dual boot with Linux as it will make life with android so much easier.
Sent from my Nexus 4 using xda app-developers app

Extract boot.img

Hello to all.
Can someone say to me how to extract a kernel to modify it? I'm on windows and I've tried all the method I've found on the web..but nothin to do..
I have tried to extract cm 10.2 boot.img and i've always had ANDROID MAGIC NOT FOUND..please help me..i really wanna to learn something :angel:
hastalafiesta said:
Hello to all.
Can someone say to me how to extract a kernel to modify it? I'm on windows and I've tried all the method I've found on the web..but nothin to do..
I have tried to extract cm 10.2 boot.img and i've always had ANDROID MAGIC NOT FOUND..please help me..i really wanna to learn something :angel:
Click to expand...
Click to collapse
Use sources from Team Janice (ask them first), and learn how to use GIT HUB.
hastalafiesta said:
Hello to all.
Can someone say to me how to extract a kernel to modify it? I'm on windows and I've tried all the method I've found on the web..but nothin to do..
I have tried to extract cm 10.2 boot.img and i've always had ANDROID MAGIC NOT FOUND..please help me..i really wanna to learn something :angel:
Click to expand...
Click to collapse
Those methods only work when the compression used is gzip (boot.img should be at least 7mb) and not lzma (about 5mb)
Sent from my GT-S5367 using xda app-developers app
frapeti said:
Those methods only work when the compression used is gzip (boot.img should be at least 7mb) and not lzma (about 5mb)
Sent from my GT-S5367 using xda app-developers app
Click to expand...
Click to collapse
If it's possible, how to compress with gzip instead of lzma when compiling kernel from sources? It's just a curiosity
Tesla-MADAL93 said:
If it's possible, how to compress with gzip instead of lzma when compiling kernel from sources? It's just a curiosity
Click to expand...
Click to collapse
Search for gzip in the defconfig you arr using and put # before the string. Then copy the line of gzip and replace gzip with lzma obviously without #
Inviato dal mio GT-I9070 utilizzando Tapatalk

Categories

Resources