HOWTO: flash custom GB and JB roms for 9070P (NFC)

Search This thread

adamuadamu

Senior Member
Dec 9, 2011
401
121
Poznan
I'm pretty sure JB ROMs will have the same issues that GB non-P ROMs had....and we don't have the JB /system/tee files and kernel to deal with it

My life has more downs than ups, but I try to keep it a balance.

well, if anyone dares to risk installing custom JB rom, then he/she could try to borrow these files from s3 mini NFC - they already have JB
 

LaizyJumper

Senior Member
Jul 13, 2010
99
29
well, if anyone dares to risk installing custom JB rom, then he/she could try to borrow these files from s3 mini NFC - they already have JB
Why do you think those work? S3 mini and SGSA are completely different devices.
I would rather look at Sony XPERIA Sola. This device is much more similar to SGSA, same chipset and NFC.
Sola has Android 4.0.4. Not sure how much differences to 4.1.2.
 

adamuadamu

Senior Member
Dec 9, 2011
401
121
Poznan
I'm pretty sure JB ROMs will have the same issues that GB non-P ROMs had....and we don't have the JB /system/tee files and kernel to deal with it

My life has more downs than ups, but I try to keep it a balance.

Why do you think those work? S3 mini and SGSA are completely different devices.
I would rather look at Sony XPERIA Sola. This device is much more similar to SGSA, same chipset and NFC.
Sola has Android 4.0.4. Not sure how much differences to 4.1.2.
http://en.wikipedia.org/wiki/NovaThor seems that s3 mini, s adv, ace2 and some sonys share the same chipset.
whatever - it's just a theoretical guess; even if it's the same device, the modules can be not compatible due to dozens of reasons, so it _might_ work, but it doesn't have to
 

LaizyJumper

Senior Member
Jul 13, 2010
99
29
http://en.wikipedia.org/wiki/NovaThor seems that s3 mini, s adv, ace2 and some sonys share the same chipset.
whatever - it's just a theoretical guess; even if it's the same device, the modules can be not compatible due to dozens of reasons, so it _might_ work, but it doesn't have to

Difficult to say which one is correct. GsmArena says it is NovaThor U8420:
http://www.gsmarena.com/samsung_i8190_galaxy_s_iii_mini-5033.php
SGSA has NovaThor U8500. Not sure how big is the difference.
But... it should not brick anything if those libs are wrong :cool:
 
I think the lib/tee files are the main concern at the moment to get JB ported.

I have downloaded official kernel sources for i9070. And it includes config for 9070P as well. I managed to build the 4.1.2 kernel image for 9070P. But I don't really want to test it myself. I am not confident that it won't brick my device :p

So far, most of brave ones who have tried 9070 JB image on P-device have got a brick. If anyone could explain the reason, would be nice.
Does anyone know, if the reason is wrong kernel? Or is there something else in the JB installer that causes that. Some hboot partition or something?
Modem partition?

The bootloader is what kills our phone , as told by Shaaan

My life has more downs than ups, but I try to keep it a balance.
 

LaizyJumper

Senior Member
Jul 13, 2010
99
29
The bootloader is what kills our phone , as told by Shaaan

My life has more downs than ups, but I try to keep it a balance.

There are several images in JB update file. Technically, removing "critical" one(s) should avoid bricking. I would assume kernel and system are definitely needed. Modem is device-specific (9070 and 9070P may have different ones). All the rest is a big questionmark. :confused: Cache(19.6 MB - shouldn't it be empty by default?) Hidden (235 MB! - what's in there?), normal(378 kB - Is that boot?), param(738 kB, I would rather skip that), power-management(32,5 kB ?).

It would help if we knew which parts are actually needed :D
 
There are several images in JB update file. Technically, removing "critical" one(s) should avoid bricking. I would assume kernel and system are definitely needed. Modem is device-specific (9070 and 9070P may have different ones). All the rest is a big questionmark. :confused: Cache(19.6 MB - shouldn't it be empty by default?) Hidden (235 MB! - what's in there?), normal(378 kB - Is that boot?), param(738 kB, I would rather skip that), power-management(32,5 kB ?).

It would help if we knew which parts are actually needed :D

Shaaan says it's normal....but I'm super afraid to try

My life has more downs than ups, but I try to keep it a balance.
 

adamuadamu

Senior Member
Dec 9, 2011
401
121
Poznan
ok guys I think you should put a topic in dev section concerning all the questions about i9070P - it's already far away from the topic which gave a simple solution. nevertheless I'm very happy there's something going on about development for NFC version

btw. there are two versions of a s3 mini rom: for non-NFC and for NFC version. maybe a person having enough knowledge and skills can compare what's different and profit for 9070P owners :) here they are:
benz rom for i8190 non-NFC: http://xdaforums.com/showthread.php?t=2119219
benz rom for NFC version: http://xdaforums.com/showthread.php?t=2152291
in case you have too slow connection and need any particular part or file - just let me know, with my ISP, I can extract smaller parts and upload it quite quickly
-----------
BTW: look at this subject: http://xdaforums.com/showthread.php?t=2229644 maybe there's something the owner can check for us? I've already given him a hint on replacing /tee folder from s3 mini.
 
Last edited:

yashuperia

Senior Member
Jan 2, 2012
283
24
hey guys can this process be done reverce ? can NFC version rom work on non-NFC phone buy doing this process?

Sent from my GT-I9105 using Tapatalk 2
 

adamuadamu

Senior Member
Dec 9, 2011
401
121
Poznan
No they are trying to get it..

Sent from my GT-I9070 using xda app-developers app
I tried with suppressed ROM, but still no luck. copied nfc apks to /system/app, nfc libraries to /system/lib and nfc permission to /etc/permissions but the process nfc keeps fcing. I think one should modify i9070P's framework-res (and some other files, too - most probably) instead of using framework-res from non-NFC version
 

FollonSaxBass

Senior Member
Apr 6, 2013
70
17
Reggio Emilia
New firmware JB for 9070P

Hey guys... I flashed the last rom for jelly bean but fornow it can't recognize the sim...
BTW if you want now you can see what's the difference between the 2 firmware for 9070 and 9070P! :D
Install a custom rom for 9070 would be fantastic :)

edit: Now Sim recognized :D
 
Last edited:

LazzL

Member
Jun 21, 2009
6
1
I9070P Official JellyBean ROM

The Jelly bean ROM camed out for I9070P!!! Lets try it guys!:cowboy:

codename: I9070PXXLPD
 

adamuadamu

Senior Member
Dec 9, 2011
401
121
Poznan
Oh yeah adamu thank you it's fantastic! Tomorrow i will try it but i have a little question: If i flash PureVanilla rom if i want to turn back i can only restor all with CWM and all will return like now? :)
do a cwm backup and in case you don't like your new rom you do a cwm restore and you'll have all the system settings restored. (really all, including widgets, app preferences and so on)
as a clever person said "people can be divided into two groups: the one that's creating backups and another one that will be creating backups" ;)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    HOW TO PREPARE i9070 CUSTOM ROMS TO WORK ON 9070P

    disclaimer as usual - everything on your own responsibility still, seems to be quite safe, the worst ever happened is no gsm signal if using not appropriate /lib/tee folder files. no soft/hardbricks reported (yet :p )
    technical details - scroll a bit down

    ----


    part 1: /system/lib/tee folder to replace
    Jelly Bean Stock ROMS and ones based on Samsung Stock ROMs (Harshjelly, PureVanilla, LightJB..)
    the most important information: in order to get i9070P Jelly Bean modded stock ROMs working, you have to:
    1. download this file: http://d-h.st/vUw
    2. save the file on your sd card (preferably external sd, not the internal memory)
    3. flash your desired rom, do all neccessary wipes and so on, but DON'T REBOOT YET!
    4. you have to install the zip downloaded in step 1 (don't confuse the order of steps 3 and 4, otherwise your rom won't work for 9070P, ie. you won't have any radio modules working - gsm, wifi, bt)
    5. reboot and enjoy

    tested by users on various modded stock roms (read all the pages); the one above works on stock-based ROMs only,
    ----
    CyanogenMod ROMs
    for CM10, CM10.1 and CM10.2 file here
    : http://d-h.st/E9e
    proceed exactly as steps described above
    thx Mr.xD97 - files for /system/lib/tee extracted from his rom here http://xdaforums.com/showthread.php?t=2278169
    according to hannez_r
    Tee folder from JB 4.1.2 TW works on CM11.
    - thx for the info
    -------------------------​


    part 2: the build.prop incompatibility:​
    this happens if you attempt to flash custom roms straight from your 9070P stock ROM. once you successfully flash any i9070 ROM, you won't be bothered with the issue (until you reflash your stock ROM with odin again)
    in case flashing of your target rom ends immediately with an error ("assert failed: getprop....") then you have to do something with your build.prop. The explanation for that happening is: there are build.prop entries stating that the phone is "9070P" and the updater-script prevents your target ROM from being flashed to an uncompatible device (not an "9070")

    possible solutions:​
    either: 1. grab some build.prop editors prior to flashing anything and change all occurences of "9070P" to "9070" and "janicep" to "janice". like this one: https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor or just edit your build.prop manually.
    or: 2. unzip the target ROM .zip file, go to \META-INF\com\google\android and erase the lines starting with "getprop" (do NOT use windows notepad - it breaks the file, use notepad++ instead), save the edited updater-script and push it to the sd card. you're ready to flash the ROM
    3. [automatically, to be tested] - waiting for your reports. ; use the build.prop.to.9070.zip to spoof your build.prop to i9070 model; it's a CWM flashable that should change the contents of your build.prop automatically. all credits for the script go to the author of this post: http://xdaforums.com/showpost.php?p=19093919&postcount=20 - remember, not tested yet, in case you still get an assert:getprop error after flashing this .zip, try rebooting recovery and install the ROM .zip then method 3 most probably not working, so don't test unless you have lots of spare time to play with your phone
    --------

    source and inspiration:
    I found that in galaxy ace 2 i8160/L/P forum - you have to replace /system/lib/tee folder (or 3 files inside) in order to flash custom roms made for i9070: there it is: http://xdaforums.com/showthread.php?t=2159250
    1
    Oh thank you very very much! I have one question... Now it is not possible try to flash a Jelly Bean rom for 9070 ok.. But in future owners of 9070P will get Jelly Bean probably this method will work also for Jelly bean custom roms for 9070?

    most probably - yes.

    ------
    btw. I tried to run NFC on suppressed, but no go - deodexed NFC.apk, NFCTestmode.apk and Tag.apk, pushed to /system/app and set permissions, but still no way to run NFC. in case You people have any ideas, let me know :) fortunately not a dealbreaker to me.
    1
    Are you sure you included all the libs ?
    thanks for the suggestion. forgot to compare the differences in libs between 9070 and 9070P roms. will look into it
    1
    I must admit I tried Jetmod without success. Does not boot. Just startup screen being displayed.
    I tried with default kernel and with cocore-P 1.0 kernel. Nothing worked. Might be something wrong with the installation (using TWRP in cocore-P 1.0). Installing system files seems to take just a fraction of second. And I suspect nothing was actually copied. I also tried replacing Aroma updater with the "regular one". Still the same...
    Suppressed 2.2+2.5 worked. But it is not really my taste ;) Should have tried 3.0 instead. But I would really like to try Jetmod. Any hints about the recovery?
    Does CWM recovery for i9070 (non-P) http://xdaforums.com/showthread.php?t=1987313 work for P devices? Anyone tried?
    well, probably someone that's using jetmod on 9070P will tell you how to do it. but to be sure: did you start with 3.0, run the android wizard->rebooted to recovery->installed->3.1->rebooted to system->rebooted to recovery->installed 3.2 ? AFAIR when I was using i9070(non-P) I had to proceed these steps as flashing 3.0 + upgrades without reboots in the meantime caused bootloop or similar

    as far as CWM is concerned - 1. it's temporary 2. it's meant for JB roms 3. never tried it on 9070P due to the fact TWRP always worked for me
    1
    BUMP

    just flashed AOSP purevanilla by ikaster: http://xdaforums.com/showthread.php?p=40547514#post40547514
    and it works the same way as GB roms. OP updated.