Question For those who have flashed International ROM but NFC not working

Search This thread

a723356

New member
Aug 25, 2013
3
3
PS: I know some of the linux thing, but I have no experience in building an Android ROM. Any suggestion and discussion are welcomed

1. Make sure you are on the CN ROM. If not, revert to it.

2. On your CN ROM with magisk/root access, run
Code:
dd if=/dev/block/mapper/vendor_a of=/sdcard/vendor.img
this is to dump the vendor partition where the NFC drivers locate. use vendor_b instead if you are in the b_slot

3. Copy your dumped vendor.img from your phone to your computer with fastboot env.

4. Now flash your internation ROM: AP only

5. run
Code:
fastboot reboot fastboot
get your phone into fastbootd

6.
Code:
fastboot erase vendor_a
fastboot flash vendor_a <path of your vendor.img dumped from CN ROM>

7. reboot to fastboot, run fastboot erase userdata in case the userdata is encrypted

8. restart your phone
 

StuDentBR

Member
Oct 28, 2018
10
0
PS: I know some of the linux thing, but I have no experience in building an Android ROM. Any suggestion and discussion are welcomed

1. Make sure you are on the CN ROM. If not, revert to it.

2. On your CN ROM with magisk/root access, run
Code:
dd if=/dev/block/mapper/vendor_a of=/sdcard/vendor.img
this is to dump the vendor partition where the NFC drivers locate. use vendor_b instead if you are in the b_slot

3. Copy your dumped vendor.img from your phone to your computer with fastboot env.

4. Now flash your internation ROM: AP only

5. run
Code:
fastboot reboot fastboot
get your phone into fastbootd

6.
Code:
fastboot erase vendor_a
fastboot flash vendor_a <path of your vendor.img dumped from CN ROM>

7. reboot to fastboot, run fastboot erase userdata in case the userdata is encrypted

8. restart your phone
What Rom are you using?
Do you have any bugs on it?
Android auto works?
 

StuDentBR

Member
Oct 28, 2018
10
0
PS: I know some of the linux thing, but I have no experience in building an Android ROM. Any suggestion and discussion are welcomed

1. Make sure you are on the CN ROM. If not, revert to it.

2. On your CN ROM with magisk/root access, run
Code:
dd if=/dev/block/mapper/vendor_a of=/sdcard/vendor.img
this is to dump the vendor partition where the NFC drivers locate. use vendor_b instead if you are in the b_slot

3. Copy your dumped vendor.img from your phone to your computer with fastboot env.

4. Now flash your internation ROM: AP only

5. run
Code:
fastboot reboot fastboot
get your phone into fastbootd

6.
Code:
fastboot erase vendor_a
fastboot flash vendor_a <path of your vendor.img dumped from CN ROM>

7. reboot to fastboot, run fastboot erase userdata in case the userdata is encrypted

8. restart your phone
Is it possible to use this method to change touchscreen drivers? Do you know where it is stored at?
I was having a weird touch screen problem with virtual buttons with an international modified Rom and this touchscreen problem was not present on Chinese stock Rom...
 

zlebors

Senior Member
Jan 2, 2012
412
38
Jakarta
PS: I know some of the linux thing, but I have no experience in building an Android ROM. Any suggestion and discussion are welcomed

1. Make sure you are on the CN ROM. If not, revert to it.

2. On your CN ROM with magisk/root access, run
Code:
dd if=/dev/block/mapper/vendor_a of=/sdcard/vendor.img
this is to dump the vendor partition where the NFC drivers locate. use vendor_b instead if you are in the b_slot

3. Copy your dumped vendor.img from your phone to your computer with fastboot env.

4. Now flash your internation ROM: AP only

5. run
Code:
fastboot reboot fastboot
get your phone into fastbootd

6.
Code:
fastboot erase vendor_a
fastboot flash vendor_a <path of your vendor.img dumped from CN ROM>

7. reboot to fastboot, run fastboot erase userdata in case the userdata is encrypted

8. restart your phone
what img files are excluded in AP flashing process?
 

SnegovikRZN

Senior Member
Feb 9, 2011
147
182
Ryazan
How big should the file be "vendor.img"? My has 1,13GB
I try flash it, but get error.

Code:
C:\Users\snego\Downloads\tools_r33.0.2-windows>fastboot erase vendor_a
Erasing 'vendor_a'                                 (bootloader) Permission denied
FAILED (remote: '')
fastboot: error: Command failed


C:\Users\snego\Downloads\tools_r33.0.2-windows>fastboot flash vendor_a vendor.img
Invalid sparse file format at header magic
Resizing 'vendor_a'                                FAILED (remote: '')
fastboot: error: Command failed

1. Go in fastboot mode
2. fastboot reboot fastboot
3. flash vendor in fastbootD mode.

but still it didn't help. phone won't boot after vendor.img flash
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    PS: I know some of the linux thing, but I have no experience in building an Android ROM. Any suggestion and discussion are welcomed

    1. Make sure you are on the CN ROM. If not, revert to it.

    2. On your CN ROM with magisk/root access, run
    Code:
    dd if=/dev/block/mapper/vendor_a of=/sdcard/vendor.img
    this is to dump the vendor partition where the NFC drivers locate. use vendor_b instead if you are in the b_slot

    3. Copy your dumped vendor.img from your phone to your computer with fastboot env.

    4. Now flash your internation ROM: AP only

    5. run
    Code:
    fastboot reboot fastboot
    get your phone into fastbootd

    6.
    Code:
    fastboot erase vendor_a
    fastboot flash vendor_a <path of your vendor.img dumped from CN ROM>

    7. reboot to fastboot, run fastboot erase userdata in case the userdata is encrypted

    8. restart your phone