As per my experience, There should not be any problem for OmniJB installation. Try Following:
Reboot Phone (as usual)
In recover, Wipe cache partition. And then reboot to system.
Even if this does not solve your problem, there are couple of methods to install OmniJB on F120b:
(1) Use Long method that is explained in following thread by ivan: (https://groups.google.com/forum/m/#!msg/bananahackers/pvhHR8pzQAA/oliE0bnUHQAJ)
Insted of using localhost, use following commands:
mount -t ext4 -o rw /dev/block/bootdevice/by-name/userdata /data
mount -t vfat -o rw /dev/block/mmcblk1p1 /sdcard
cp /data/local/webapps/webapps.json /sdcard
Now you can see the webapps.json file on your sd card.
Edit the file manually adding this (just copy/paste all on a "},"):.......follow rest of the tutorial as directed.
(2) Use short method posted by Jashan: (https://groups.google.com/forum/m/#!topic/bananahackers/Q9-0HmTUZKs)
As per my experience, his userdata.img file is suitable for Jio Phone F120b than other available userdata.img qualcomm files.
All the best for installing OmniJB using above method. And post error messages from recovery log for future reference.
The method can be used for all KaiOS mobiles as long as file-system integrity (boot-chain) verification is disabled. If not, you will experience boot-loop after flashing modified boot.img and recovery.img.
This tutorial is for Windows users. (suitably applicable for other OS).
Requirements:
- Stock Rom of your model from internet. From it: recovery.img
- GerdaOS recovery.img from GerdaOS website. https://gerda.tech
- AIK.v3.4-Win32.zip Android Image Kitchen for boot.img and recovery.img extraction.
(For Linux users, use abootimg utility.)
- Notepad++ (get from Internet)
- MELD - visual diff and merge tool (not mandatory) (http://meldmerge.org/)
- QFIL_v1.0.0.3.zip ( to flash *.img into phone)
Procedure:[A] For recovery.img
**For Beginner (Noobs?) ;-)**
- Create following folders in suitable location (say Desktop): Base-Rom_Jio, Port-Rom-Gerda and Custom-Rom_Jio. Extract AIK.v3.4-Win32.zip on same location for simplicity.
- Place GerdaOS recovery.img in AIK folder and execue unpackimg.bat.
Move ramdisk and split_img folders into Port-Rom-Gerda folder.
- Place Stock ROM recovery.img in AIK folder and execute unpackimg.bat.
Move ramdisk and split_img folders into Base-Rom_Jio folder.
- copy all files from Port-Rom_Jio/split_img to Custom-Rom_Jio/split_img
- copy all files from Port-Rom_Jio/ramdisk to Custom-Rom_Jio/ramdisk
- see and compare files from Base-Rom-Gerda/split_img and Custom-Rom_Jio/split_img
Following two files are important from Base-Rom: recovery.img-ramdisk.cpio.gz and recovery.img-zImage (and recovery.img-dtb if exists).
(few tutorials on internet advices to edit the content of recovery.img-ramdisk.cpio.gz; some says editing it is not so important but I have not touched it during mod).
so, copy recovery.img-ramdisk.cpio.gz and recovery.img-zImage from Base-Rom to Custom-Rom_Jio/split_img.
If there are any extra files in Port-Rom-Gerda/split_img, open it in Notepad++, see it's content, similarities and base on your knowledge; include that file in Custom-Rom_Jio/split_img; if necessary. (here in our case, let's include: recovery.img-avbtype and recovery.img-sigtype)
- copy and replace Base-Rom Default.prop to Custom-Rom Default.prop and Compare it with Port-Rom-Gerda (add values from Port-Rom to Custom-Rom appropriately).
Now edit Custom-Rom_Jio/ramdisk/default.prop (replaced one) using Notepad++: to add-replace-edit following lines:
ro.secure=0
security.perf_harden=0
ro.allow.mock.location=1
ro.debuggable=1
ro.adb.secure=0
persist.sys.usb.config=adb
#Set composition for USB
persist.sys.usb.config=diag,serial_smd,rmnet_qti_bam,adb
#Set read only default composition for USB
ro.sys.usb.default.config=diag,serial_smd,rmnet_qti_bam,adb
service.adb.root=1
(You can edit required parts of build.prop to reflect the brand, model no. etc. according to your preference.)
- copy and replace Base-Rom_Jio/ramdisk/fstab.qcom to Custom-Rom_Jio/ramdisk/fstab.qcom
(Try to find similarities and extra entries between Port-Rom-Gerda and Base-Rom_Jio. I find those are same. Use MELD or Notepad++ for comparing. I have personally used MELD)
- copy and replace Base-Rom_Jio/ramdisk/init.qcom.rc to Custom-Rom_Jio/ramdisk/init.qcom.rc
This file is generally used to ensure the detection of External SDCard.
(Again, try to find similarities and extra entries between Port-Rom-Gerda and Base-Rom_Jio. and use them in port. You may also need to add some lines if missing in the port init.qcom.rc for better results.)
- Similar approach has to be done for following files as well: (compare --> Add extra but suitable lines from Port-Rom --> Replace in Custom-Rom folder)
ramdisk --> init.rc
ramdisk --> init.target.rc (fixing camera, led, sensors)
ramdisk --> ueventd.qcom.rc (will fix sensor issue)
ramdisk --> ueventd.rc
ramdisk --> file_context
- Special care has to be taken for ramdisk --> verity_key. Make sure that you are replacing Custom-Rom varity_key with
Base-Rom varity_key.
- Now look the folder structure inside ramdisk folder.
Copy and replace following file from Base-Rom to Custom-Rom:
ramdisk --> etc --> recovery.fstab
- Copy and replace following files from Port-Rom to Custom-Rom in appropriate folder:
ramdisk --> res --> keys (This must be generic Test Key. It is included in gerdaOS recovery)
ramdisk --> res --> images --> Replace with Caution. See the names of .png images of Base-Rom and Port-Rom. First replace similar name image files then add extra images.
ramdisk --> sbin --> adbd (This must be insecure adbd file. It is included in gerdaOS recovery)
ramdisk --> sbin --> busybox (This is extra and included in gerdaOS recovery)
- If all these steps are followed with caution then:
copy Custom-Rom_Jio/ramdisk folder and Custom-Rom_Jio/split_img folder into AIK directory.
- In AIK folder execute repackimg.bat to repack recovery.img. In AIK folder you will find image-new.img.
- Rename it to recovery.img and flash to your phone using suitable method.
For JioPhone, use QFIL_v1.0.0.3 or QFIL_v2.0.0.1 software (windows) with nulled patch0.xml file and recovery entry only rawprogram_unsparse.xml. (Reference is given in QFIL_v1.0.0.3.zip)
- To fix other issues use your common sense. (Don't take this sentence in Hard way. This is standard stuff written in almost all porting threads... ;-) ...)
[B] For boot.img
Follow the same procedure mentioned above. Just instead of recovery.img, use boot.img.
It is to be noted that: boot.img and recovery.img shares same file structure but of-course their functions are different.
boot.img contains few files more than recovery.img in /ramdisk folder:
and these are required to replace in port rom from base rom:(Use these files from original Base-Rom, compare them with Port-Rom and then use them in final Custom-Rom):
init.qcom.rc (fixing external sd-card)
init.target.rc (fixing camera, led, sensors)
init.trace.rc
init.usb.configfs.rc
init.usb.rc
init.zygote32.rc
ueventd.qcom.rc (will fix sensor issue)
ueventd.rc
file_context
.
.
Regards....
Apologies for Lazy-ness.
My future plan is to port Non-Touch version of CWM recovery and TWRP recovery to Jio Phone. Once upon a time, Nayam and AdvancedHacker was working on it but No progress about it has shown in this forum. Well, it is possible that someone might release these ports even before me. Very All-The-Best for it....
Please
Please