Procedure to get only adb-root in recovery and during boot for JioPhone.

2,757 views
Skip to first unread message

saveNgo

unread,
Mar 20, 2019, 5:31:18 AM3/20/19
to comp.mobile.nokia.8110
The method acan be used for all KaiOS mobiles as long as file-system integrity (boot-chain) verification is disabled. If not, you will experiance boot-loop after flashing modified boot.img and recovery.img.

This method will enable adb with root previlage in recovery mode and during boot. It will not help to install update.zip packages signed by ASOP keys. The method is helpful for those who are seeking to have adb-root access for executing tweeks/mods/hacks but do not want to break OTA official updates.

Before proceeding, usual but highly important warning/reminder for user/tester:
......I'm not responsible for any data lost or device brick. Back up before proceeding!
......If your confident about modifying Stock boot and recovery for your Phone, you can proceed.
......Anything wrong while unpacking/modifying/re-packing boot.img and recovery.img will cause boot-loop or worse......
....**Apply your tweak, hack, mod that involves /system partition modification - on your own risk! Because.....
....**Even a small change on the /system partition will prevent you to get future official updates (can't download / can't apply).

Features:
- *** Flashing his recovery and boot does not break Update.
- adb in recovery with root access (adb shell).
- adb push and adb pull with raed & write access.
- Mounting and dumping partitions, add/delete/modifying files is now possible due to adb in recovery with root access.
- Possible to use 'almost' every tweak/hack that Nokia 8110 users can apply... :), apart from flashing custom update.zip packages.

This tutorial is for Windows users. (suitably applicable for other OS).
Requirements:
- Stock Rom of your model from internet. From it: boot.img and recovery.img
- AIK.v3.4-Win32.zip Android Image Kitchen for boot.img and recovery.img extraction.
(For Linux users, use abootimg utility.)
- adbd (insecure) taken from adbd-Insecure-v2.00.apk.zip --> assets folder --> rename adbd.21.png to adbd or extract it from gradaOS-recovery.img --> ramdisk folder --> sbin --> adbd
- busybox (optional and only for recovery.img)
- Notepad++ (get from Internet)

Procedure: [A] For recovery.img
**For Beginner (Noobs?) ;-)**
- Extract AIK.v3.4-Win32.zip on suitable location (say Desktop) for simplicity.
- Place Stock ROM recovery.img in AIK folder and execute unpackimg.bat. ramdisk and split_img folders will be created. Just to avoid confusion, move/delete stock recovery.img file to other location after extraction.
- Edit AIK/ramdisk/default.prop 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

- Copy busybox provided above and move it to AIK/ramdisk/sbin/
- Copy adbd provided above and move/replace it to AIK/ramdisk/sbin/
- 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 provided in QFIL_v1.0.0.3.zip.)

[B] For boot.img
Follow the same procedure mentioned above. Just insted of recovery.img, use boot.img.

- Power off the phone. Go into recovery mode by pressing key-combinations of your mobile. Connect phone to PC.
  PC will detect phone as adb compatible device in device manager.
- Open cmd (Command-Prompt).
Type: adb devices
If adb drivers are already insalled in your PC then you can see something like below on cmd screen:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
43808560        recovery or device
Type: adb boot
'adbd is already running as root'
Type: adb shell
It should show: / # or root@msm8009/# 

Bingo!!

Now, you can start with This tutorial to manually install OmniSD first....
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.

The rest is user's choice....firmware dumping, modifying /system partition by using tweeks given on site bananahackers --> customizations.........
(If files are not downloadable, Please notify.)

saveNgo

unread,
Mar 20, 2019, 5:34:07 AM3/20/19
to comp.mobile.nokia.8110
Procedure to get adb-root and custom update.zip flishing in recovery for JioPhone.

Keys (From gerdaOS recovery.img)

Achieving this is really simple. as shown above, adb-root is already possible. Now along with that, custom update.zip flashing can be enabled by following procedure.
But before you do so, once again be aware about consequences:

Although *** Flashing this recovery does not break Update,
*** Well, according to my testing, It is possible to download updates .... means update does not break.... but...
 /res/keys in boot and recovery is change by '"Test" version, hence stock 'update.zip' while flashing through recovery (even automatically) shows "Signature Invalid" error.
 Solution: Re-Flash stock recovery.img and boot.img when update is available. This will not alter your existing system and data partition. Your userdata and settings will be preserved. Better to flash stock-recovery than entire stock-system or data to acquire updates.

Procedure:
- after copying adbd to AIK/ramdisk/sbin/ ,
- - Copy 'keys' file provided  and move/replace it to AIK/ramdisk/res/
- 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 rawprogram0.xml.(reference is provided in QFIL_v1.0.0.3.zip.)

[B] For boot.img
Follow the same procedure mentioned above. Just insted of recovery.img, use boot.img.

- Power off the phone. Go into recovery mode by pressing key-combinations of your mobile. Connect phone to PC. PC will detect phone as adb compatible device in device manager. OK. adb-root is achieved.
- use any test-key signed zip file from forum to test the tweek by using "Apply update from SDCard". It will pass the signature verification and expected results should be achieved......

speeduploop

unread,
Mar 20, 2019, 5:43:00 AM3/20/19
to comp.mobile.nokia.8110
Two things to add...

1) modifying boot-partition can prevent ota-updates...
2) at least the stock Nokia 8110 system will try to replace a modded recovery at every boot with it's stock version...

saveNgo

unread,
Mar 20, 2019, 12:37:24 PM3/20/19
to comp.mobile.nokia.8110
Hi speeduploop, I wold like to share my experience with the points you have mentioned:
1) modifying boot-partition can prevent ota-updates...: I have used this procedure of adb-root and test keys for custom update.zip for Jio Phone F30c and Jio Phone F120b. Both are Qualcomm variants. For Start, I have flashed these phones to their least update level by using Stock Rom files available on Internet. (Technically, I had downgraded them first) Then I had flashed only adb-root modified boot.img and recovery.img. After that I have successfully installed not one but two OTA updates back to back. Now both phones are having their latest update of year 2019.
So personally, I have not faced any issue you have described regarding modified boot.img.

2) And stock Jio Phone doesn't replace a modded recovery at every boot with it's stock version... Because I usually reboot phone every night...

This is quite amusing to notice that both are KaiOS enabled devices, both share almost same chipset i.e. Qualcomm but still they are showing different working methodology....

speeduploop

unread,
Mar 20, 2019, 12:52:57 PM3/20/19
to comp.mobile.nokia.8110
I can only speak for the Nokia 8110 4G...

-- on every ota-update, all checksums of the to be updated partitions are checked. (because the 8110 use some kind of 'sparsed' update)
--> so if the ota-update wants to update (parts of) the boot-partition it will fail if it's modified. (Ivan had this problem for a long time...)

-- the Nokia uses android's recovery-fallback... on every boot a script on the ystem-partition is started which checks the checksum of the recovery-partition and reflashes the stock-version if the checksum doesn't match the expected. It's a security-feature - if you kill your recovery by accident it's no problem.
(if you want to replace the recovery on a Nokia 8110 you have to 'disable' this script - then it's fine)

But yes: it's quite possible that other devices do things different. (that's the thing I wanted to point out...)

Ivan

unread,
Mar 21, 2019, 2:02:41 AM3/21/19
to comp.mobile.nokia.8110
@saveNgo in the first post you mention the "manual omnisd installation" that for me was only a theory...i haven't tested it, it was only a my supposition.

is it working for you?

Ivan

unread,
Mar 21, 2019, 9:15:30 AM3/21/19
to comp.mobile.nokia.8110
please, tell me if it works!
it could be useful for jailbreaking without made a factory reset!

saveNgo

unread,
Mar 22, 2019, 12:18:18 AM3/22/19
to comp.mobile.nokia.8110
@ Ivan
Hey, I think instead of posting my answer as reply in this forum, I have mistakenly "Reply privately to author" that is you.
If you have received my answer, can you post it in this forum? I am unable to find that reply to re-post.... :(

Ivan

unread,
Mar 22, 2019, 3:51:01 AM3/22/19
to comp.mobile.nokia.8110
no, i've seen no answer...so i have uploaded both your guides on the website in the "root" section.

thank you for all!

saveNgo

unread,
Mar 22, 2019, 7:37:03 AM3/22/19
to comp.mobile.nokia.8110
@ Ivan Thank you very much for uploading my tutorial on Bananahackers site. No changes are needed in tutorial at the moment.
Now Answer to manual OmniSD installation: Whether it is working or not?
Well, answer is complicated. I cannot say yes or no..... Why?..... Let me describe my findings.....
I have personally tested manual installation method on two Jio Phones: F30c and F120b (both Qualcomm) 

[A] Jio Phone F30c:
Initially, I have tied to install OmniSD using adb-root recovery.img method. OmniSD app was successfully installed but when app was opened, it starts giving malfunctions: Scanning, Installation form /sdcard/downloads and Help was not functional. List of apps were not shown by app. When pressed # key for privileged Factory reset, It was giving error: 'Error: factory reset capabilities not available'. I had tried reboot, format cache partition, Factory Reset..... But problem persisted. I didnot test why this problem was occurring deeply: like changing OmniSD package...... I had moved on to "An alternative method of installing OmniSD on Jio Phones" by BhawnaInTech when even Advancedhacker's method failed for me.

[B]Jio Phone F120b:
Here I have faced exactly opposite situation. Where  "An alternative method of installing OmniSD on Jio Phones" by BhawnaInTech failed to work on Jio Phone F120b,
Manual method of OmniSD installation worked flawlessly. Even after that I have used OmniSD mehod "jio phone omnisd installer windows" suggested by Jashan Grover and it worked on F120b too.

So for 2 test devices, Success was 50% for OmniSD manual installation method.

This is the reason I have included manual installation method in adb-root by boot.img and recovery.img technique so that many users can try it and provide feedback.....

Ivan

unread,
Mar 22, 2019, 9:10:22 AM3/22/19
to comp.mobile.nokia.8110
hoping that them will be positive feedbacks.

thank you

Jolly

unread,
Oct 16, 2019, 11:49:26 PM10/16/19
to comp.mobile.nokia.8110
this link is for jiophone F90M
just flash the recovery and boot and get root access

Jolly

unread,
Oct 16, 2019, 11:52:53 PM10/16/19
to comp.mobile.nokia.8110
this link is for jiophone lf2403n
just flash the recovery and boot and enjoy

Jolly

unread,
Oct 17, 2019, 12:18:34 AM10/17/19
to comp.mobile.nokia.8110
use this link for jiophone f220b model
use only you have old firmware

Samshad Alam

unread,
Oct 17, 2019, 12:20:51 AM10/17/19
to comp.mobile.nokia.8110
Make a Video
Message has been deleted

Rohit Kumar

unread,
Oct 17, 2019, 1:16:26 AM10/17/19
to comp.mobile.nokia.8110
Give link is for jiophone f120b and f220b
How to flash the recovery and boot and get root access and share full proccess video my whatsapp no.9749503366

Rohit Kumar

unread,
Oct 17, 2019, 1:20:14 AM10/17/19
to comp.mobile.nokia.8110
Please give link for f120b

Soham Joshi

unread,
Oct 17, 2019, 4:19:32 AM10/17/19
to comp.mobile.nokia.8110
@Jolly Sir, thank you very very much!! 


On Thursday, October 17, 2019 at 9:19:26 AM UTC+5:30, Jolly wrote:

I'm Haryanavi

unread,
Oct 19, 2019, 2:59:00 AM10/19/19
to comp.mobile.nokia.8110
check first post of thread .it is about f120b .

On Thursday, October 17, 2019 at 10:50:14 AM UTC+5:30, Rohit Kumar wrote:
Please give link for f120b

I'm Haryanavi

unread,
Oct 19, 2019, 3:01:29 AM10/19/19
to comp.mobile.nokia.8110
plase read first post of thread . Jolly is given links of patched boot and recovery files so you just have to flash them.

On Thursday, October 17, 2019 at 9:50:51 AM UTC+5:30, Samshad Alam wrote:
Make a Video

Red Themer

unread,
Dec 8, 2019, 2:27:15 AM12/8/19
to comp.mobile.nokia.8110
Link for mod boot & recovery for jio-phone F50Y - adb-root-f50Y

(BABY step)
  • unzip the file
  • open QFIL in the folder, select prog_emmc_firehose_8909_ddr.mbn by selecting browse, load xml rawprogram_unsparse, patch0 
  • switch off jiophone, connect to your pc while holding d-pad up & down key, the screen will blink that means its connected in download mode
  • click download on QFIL
driver - https://androiddatahost.com/nbyn6 


Inclined Illuminati

unread,
Dec 10, 2019, 5:13:25 AM12/10/19
to comp.mobile.nokia.8110
can you please share the files for F81E?

ajay kumar

unread,
Dec 21, 2019, 7:54:41 PM12/21/19
to comp.mobile.nokia.8110
If jio wouldn't give the new files then we couldn't do anything ?

Ritik Patel

unread,
Feb 22, 2020, 11:24:10 PM2/22/20
to comp.mobile.nokia.8110
Adb root recovery and boot

Ritik Patel

unread,
Feb 22, 2020, 11:27:59 PM2/22/20
to comp.mobile.nokia.8110
F90m adb root recovery and boot
Message has been deleted

Ivan Alex HC

unread,
Jul 8, 2020, 10:02:07 PM7/8/20
to comp.mobile.nokia.8110
this guide is just for qualcomm models, you need SPD Flash Tool and firmware files for your model. Here an example https://repairmymobile.in/flash/lyf-f61f-flash-file/ you can start this search from the page dedicated to Jio Phone, on the website https://sites.google.com/view/bananahackers/devices/jio-phone

Il giorno giovedì 9 luglio 2020 02:48:41 UTC+2, Bananahackers member ha scritto:
Does above method works for jio phone spreadtrum models?
Message has been deleted

Ivan Alex HC

unread,
Jul 8, 2020, 10:29:31 PM7/8/20
to comp.mobile.nokia.8110
you have just to test it, but first of all you must understand how is done your boot partition. Unpack, read, study, do and repack.

Il giorno giovedì 9 luglio 2020 04:17:37 UTC+2, Bananahackers member ha scritto:
i already have enabled developer menu but if i wanted to get root access then maybe if i change default.prop as mentioned above then maybe it works for my spd model?
Message has been deleted

Vishnu R K

unread,
Oct 6, 2020, 10:36:55 PM10/6/20
to comp.mobile.nokia.8110
can i patch boot and recovery by this method.
f81e spreadtrum


HARSHRAJ USHIRE

unread,
Oct 7, 2020, 2:51:45 AM10/7/20
to comp.mobile.nokia.8110
Just for qualcom devices nt for spect 
Reply all
Reply to author
Forward
0 new messages