About deodex Rom - Samsung Galaxy J7 Questions & Answers

Hi I know there are lot of professional Rom mod-er here.
May I know which tool is use for deodex rom?
I'm working on J7108 firmware, I tried Assayed Kitchen, problem is when I flash the standalone file, the wifi is not working anymore. I'm not sure is due to deodexed error or what, I reflashed modem.bin but it's still the same.
Second question, which tool is use for edit service.jar and framework.jar? I have no idea it need dependency or what, I use batchApk but the recompiled file is causing the device stuck on boot screen. 3. What is the right step to do it?

Related

[HOWTO] porting a ROM for old radio to work with new radio

I would love to help the community by using your kernel for the newer radios to port any roms for the older radio... is there any help you can give me? should i use your boot.img from the test-donut.img/test-eclair.img?
Click to expand...
Click to collapse
first, a thing we must know for porting job is what boot.img included.
here: http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
the ramdisk do some initializing jobs, so if we port a ROM, we should ensure that the content in ramdisk and files which are included in ramdisk (like init.rc), have necessary things the ROM needed.
for the first step, we can just extract the boot.img from the ROM, and extract the ramdisk from the boot.img which extracted just now, then repack it with my kernel (you can extract the kernel from my boot.img with same tools).
(to execute the perl script in link above, you need linux or just cygwin. )
but if we are sure that the ROM we want to port have nothing special with ramdisk, just like common ROMs, we can use my boot.img files directly. for eclair ROM, I suggest you extract the boot.img from my ROM, and don't use the first boot.img (test-NOCDB.img) I had posted.
after this, make our update.zip (use other's ROM as an example, especially the update-script in META-INF directory). sign our zip with testkey and apply it, then we can make our phone booting into desktop.
(you can find information about sign and download tools here: http://forum.xda-developers.com/showthread.php?t=471586, though the thread is not talk about how to sign things)
the main troubles we may meet probably are symlinks and setperm* in the update-script. if there is already a file/link has a name we want to symlink to, or if there isn't a file we want to symlink from or setperm, we will fail. so check the files carefully.
the next step is make everything work properly. we can use file from a ROM which made for new radio (and work well of course) to replace the one in the ROM we are porting. we can find these files in my 2.x ROM for eclair, or other's 1.6 ROM for donut (and for new radio, since the maker of them tested them already).
the most important files are (to my knowledge):
system/lib/libhtc_acoustic.so
system/lib/libhtc_ril.so (if something wrong with mobile network)
system/lib/libcamera.so
system/lib/libcameraservice.so
system/lib/liboemcamera.so (for 2.x) or system/lib/libqcamera.so (for 1.6)
system/lib/libgps.so
system/bin/akmd
(are there something I missed?)
(if we want to use NCommander's work on CameraHardwareInterface with a 2.x ROM, we should use my kernel for DONUT instead. I didn't try it, and I don't recommend it.)
these files are some thing work with hardware partially, so different radio may need different files. but if something just work fine, don't hurry to replace the file for it.
and now...., I don't have more thing to talk about, since we have most things work well. but for further tweaks, there are lots of things to do.
everyone can post your question here. if I know the answer I will post it. if I don't or I am not online, I think others will response you. and if there are things I missed or made some mistake, plz point it out
I will update this post when we collection more info or correct something. I find that I don't organized everything in order . I will update it later.
Thanks for the post... what's the difference between your eclair/donut kernel? (This is based on your original post about your kernel... is there an updated kernel somewhere i should know about?)
Edit
Nevermind i figured it out by reading your post more. carefully thanks for the detailed instructions
Thank you very much for this sanpei. This is the type of posts that really should be on this forum
Appreciated so much. waiting for your next updates.
Phil_McRevis said:
Nevermind i figured it out by reading your post more. carefully thanks for the detailed instructions
Click to expand...
Click to collapse
sorry for my poor ability of expression
asero said:
This is the type of posts that really should be on this forum
Click to expand...
Click to collapse
I expect more people can share their knowledge, and we can make a wiki for all
Hello!
I have to edit some lines of init.rc of your kernel. I've thus extracted the ramdisk, edited the file, repacked and tried booting with fastboot boot kernel-img ramdisk-img, but the phone hangs on the operator logo. I've tried even just extracting kernel+ramdisk and boot them - same result (the boot.img works well).
how can I fix it? Thanks
Wrong post

[Q] GT-P5113 modify stock firmware and flash question

I have spent several weeks working on this (reading thread after thread) on modifying stock firmware and im running into a problem. I more or less want to know if what i want to do is actually possible. I have downloaded the original .tar.md5 firmware image, opened with 7zip and "extracted" the .tar file (more or less just removed the hash) and then extracted the .img files from the .tar file. I have unpacked/mounted/modified/repacked using several methods (dsixda kitchen -which havent been able to work around adding the java path since after i add the path cygwin thinks im missing clean app until i remove the path in which case i get an error saying it cant find java/ i have tried mounting using ext4_utils in ubuntu) my issue arises when i take my modified and repacked system.img file i cant get it to work either by 1. zipping it in a .tar with the other .img files and flashing with odin, 2. zipping system.img alone into a .tar and flashing with odin, 3. installing cwm/root and flashing the system.img)
More or less my question is
1. is it possible to modify the stock firmware and load it onto the tablet without rooting
2. can system.img be flashed by itself or does it need the other .img files in the same .tar
3. does the tar file require being signed before flashing even with CWM recovery and root already on the tablet?
I have used these forums for a while to find answers, but i am new to posting, i havent needed to post a question until now since i spend as much time researching as i can before bothering people with a question (i like to figure stuff out and hate to admit defeat) Thanks in advance for the help despite my noobishness

[Q] How to make rom from official firmware

Hello First sorry for my bad English. I have this file I8262XXBNC1_I8262ODDNC1_I8262DDNB1_HOME.tar a official firmware. can i use this to make a custom rom. I know that i can use a rom from this forum to change but i want to this project for fun, I opened it with winrar those files(photo below) and i saw that i need more files to do that. What you suggest to do?
Don't know well!!! But I think you can... just extract the firmware and found the "system" folder from there!!!
Press the Thanks button!!!
From my research i saw how to extract the files from the system but no way how to make one file again. I did that and i bricked my phone so i install again original firmware with odin.
If you have a pc... then use apktool to make and edit your rom!!!!
Or,
If you don't have a pc.. then install apktool in your device!!!
Install sygwin if you're on windows, then download dsixda kitchen or archi kitchen. Make it compatible for your phone and there you go...making flashable zips from official firmware with root, deodex, init.d etc.
tys0n said:
Install sygwin if you're on windows, then download dsixda kitchen or archi kitchen. Make it compatible for your phone and there you go...making flashable zips from official firmware with root, deodex, init.d etc.
Click to expand...
Click to collapse
Ok i will try it tomorrow

How to unpack OGD/OI6/OK3 system.img?

Hi,
I'm trying to install a STOCK ROM OGD/OI6 or OK3 in my N920P Note 5, but I don't want root and I want my original rom (to avoid kernel messages while booting), so, I'm trying to unpack system.img to delete some files like handsfree activation, sprint apps, voicemail and other.
I tried sgs2toext4, ext4unpacker and nothing, no working (ext4unpacker shows unknown file format), so, maybe someone can help me to unpack system.img files (I'm using Windows but I can try with Ubuntu or Linux if is possible).
Any guide? tutorial? software? to unpack system.img
Thank you so much
enrique_b06 said:
Hi,
I'm trying to install a STOCK ROM OGD/OI6 or OK3 in my N920P Note 5, but I don't want root and I want my original rom (to avoid kernel messages while booting), so, I'm trying to unpack system.img to delete some files like handsfree activation, sprint apps, voicemail and other.
I tried sgs2toext4, ext4unpacker and nothing, no working (ext4unpacker shows unknown file format), so, maybe someone can help me to unpack system.img files (I'm using Windows but I can try with Ubuntu or Linux if is possible).
Any guide? tutorial? software? to unpack system.img
Thank you so much
Click to expand...
Click to collapse
If you don't want root just take the Ota and you will update to the latest firmware.
Chaz187 said:
If you don't want root just take the Ota and you will update to the latest firmware.
Click to expand...
Click to collapse
I've the OTA and Sprint Unlocked Note 5, but to delete handsfree activation (every time I'm connected to WiFi it start to attemp activation), boot animation, sprint zone and other apps I need to be root or unpack the system.img
I've tested with other roms like LG G3 and it works, but Samsung (lollipop) is different, so I'm looking for something to do it
P.S. I'm asking about this because my phone is for international use

is possible tar.md5 to custom tar.md5?

Hi guys, i have a question...
Is possible create a custom rom (remove vendor apps) from XXXXXXXX.tar.md5 file downloaded from sammobile and make your own tar.md5 flasheable Odin file?
For example:
Original firmware:
XXXXXX.tar.md5
1.5 Gb
Removing vendor apps:
XXXXXX_my_firm.tar.md5
800 mb
I am interested in doing this without custom recovery, not zip flashable file, and not root.
xTxMIGUELxTx said:
Hi guys, i have a question...
Is possible create a custom rom (remove vendor apps) from XXXXXXXX.tar.md5 file downloaded from sammobile and make your own tar.md5 flasheable Odin file?
For example:
Original firmware:
XXXXXX.tar.md5
1.5 Gb
Removing vendor apps:
XXXXXX_my_firm.tar.md5
800 mb
I am interested in doing this without custom recovery, not zip flashable file, and not root.
Click to expand...
Click to collapse
Yes, you can do this, but things have changed a bit since this guide was written, you'll have to do some research to see what things have changed in this process from kit kat up to the current available android version. There have been some stock security changes that this guide doesn't cover and won't work with these new securities, but you should be able to figure out how to make this work with those securities if you learn to look in the right places.
https://www.rwilco12.com/forum/showthread.php?tid=92
This will help you create the .tar, you'll just have to figure out how to make the changes you want to make. You'll mostly be working with your system.img once you get it extracted.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Categories

Resources